:root{--uscale:var(--scale);--ch:#e60000;--ch-soft:#fdeeee;--ch-ink:#b80000;--on-ch:#fff}
:root[data-mode="dark"]{--ch-soft:#2e1518;--ch-ink:#ff8a8a}





.xcards .xc{perspective:1600px;--fit:1;--scale:calc(var(--uscale)*var(--fit))}
.xcards .xc-in{position:relative;transition:transform .6s cubic-bezier(.3,.7,.3,1),height .45s ease;transform-style:preserve-3d;cursor:pointer;border-radius:22px;outline:none}
.xcards .xc-in:focus-visible{box-shadow:0 0 0 4px var(--bg),0 0 0 7px var(--btn)}
.xcards .xc.is-back .xc-in{transform:rotateY(180deg)}
.xcards .face{position:absolute;top:0;right:0;left:0;backface-visibility:hidden;-webkit-backface-visibility:hidden;border-radius:22px;overflow:hidden}
.xcards .back{transform:rotateY(180deg)}
.xcards .xc.is-back .front{visibility:hidden;transition:visibility 0s .3s}.xcards .xc:not(.is-back) .back{visibility:hidden;transition:visibility 0s .3s}


.xcards .front{background:var(--ch);color:var(--on-ch);padding:calc(20px*var(--fit)) 26px 64px;display:flex;flex-direction:column;justify-content:space-evenly;gap:16px;min-height:0}
.xcards .xc-badge{display:block;height:calc(80px*var(--fit));width:auto;margin:0 auto}
.xcards .strip{display:flex;align-items:center;justify-content:center;text-align:center;background:#fff;color:#3b5998;border-radius:10px;padding:8px 18px;min-height:62px}
.xcards .strip b .lt{display:inline;font-weight:500;font-size:inherit;direction:rtl}
.xcards .strip b{display:block;font-size:calc(17px*var(--scale));font-weight:900;line-height:1.4}
.xcards .strip span{display:block;font-size:calc(14px*var(--scale));direction:ltr}
.xcards .xc-axis{margin:0 auto;border:2px solid rgba(255,255,255,.9);border-radius:12px;padding:12px 28px;text-align:center;position:relative}
.xcards .xc-axis::after{content:"";position:absolute;bottom:-11px;left:50%;width:18px;height:18px;margin-left:-9px;background:var(--ch);border-right:2px solid rgba(255,255,255,.9);border-bottom:2px solid rgba(255,255,255,.9);transform:rotate(45deg)}
.xcards .xc-axis .k{display:block;font-size:calc(19px*var(--scale));font-weight:900}
.xcards .xc-axis .xc-t{display:block;font-size:calc(19px*var(--scale))}
.xcards .xc-axis .xc-e{display:block;font-size:calc(16px*var(--scale));direction:ltr}
.xcards .ttl{text-align:center;padding-top:8px}
.xcards .ttl h2{margin:0;font-size:calc(clamp(26px,5.4vw,38px)*var(--scale));font-weight:900;line-height:1.35}
.xcards .ttl h2 .n{direction:ltr;unicode-bidi:isolate}
.xcards .ttl .xc-e{display:block;font-size:calc(clamp(17px,3.4vw,24px)*var(--scale));direction:ltr;margin-top:2px}
.xcards .cno{position:absolute;bottom:0;inset-inline-start:22px;width:96px;height:56px;background:#fff;color:#3b5998;clip-path:polygon(50% 0,100% 100%,0 100%);display:flex;align-items:flex-end;justify-content:center;padding-bottom:4px;font-weight:900;font-size:calc(24px*var(--scale));line-height:1}


.xcards .back{background:var(--bg);border:3px solid var(--ch);padding:22px 26px 24px}
.xcards .back h3{margin:0;font-size:calc(clamp(20px,4vw,25px)*var(--scale));font-weight:900;line-height:1.5;color:var(--ink)}
.xcards .back h3 .n{color:var(--ch-ink);direction:ltr;unicode-bidi:isolate}
.xcards .back h3 .xc-e{white-space:nowrap;font-size:.68em;font-weight:700;color:var(--ink-soft);direction:ltr;unicode-bidi:isolate}
.xcards .sub{margin:4px 0 14px;font-size:calc(17px*var(--scale));font-weight:800;color:var(--ink)}
.xcards .back p{margin:0 0 10px;font-size:calc(16.5px*var(--scale))}
.xcards .stations{list-style:none;margin:14px 0 16px;padding:0;display:grid;gap:8px}
.xcards .stations li{display:flex;gap:12px;align-items:baseline;padding:8px 12px;border-radius:10px;background:var(--surface)}
.xcards .stations .xc-d{flex:none;width:28px;height:28px;border-radius:50%;background:var(--ch);color:#fff;font-weight:900;display:grid;place-items:center;font-size:calc(15px*var(--scale));transform:translateY(5px)}
.xcards .stations b{font-weight:800}
.xcards .stations .xc-e{direction:ltr;unicode-bidi:isolate;white-space:nowrap;color:var(--ink-soft);font-size:calc(14.5px*var(--scale))}
.xcards .rule{margin:0;padding:14px 16px;border-radius:12px;background:var(--ch-soft);border-inline-start:5px solid var(--ch);font-size:calc(16.5px*var(--scale))}
.xcards .rule b{color:var(--ch-ink);font-weight:900}


.xcards .acts{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.xcards .acts button,.xcards .acts a{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:8px 16px;border-radius:12px;border:1.5px solid var(--line);background:var(--bg);color:var(--ink);font:inherit;font-size:calc(15px*var(--scale));font-weight:700;text-decoration:none;cursor:pointer}
.xcards .acts svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.xcards .acts .primary{background:var(--btn);color:var(--on-btn);border-color:var(--btn)}
.xcards .xc-note{margin-top:22px;font-size:calc(13.5px*var(--scale));color:var(--ink-soft)}
.xcards .sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
@media (max-width:560px){.xcards .front{padding:18px 16px 62px}.xcards .xc-badge{height:78px}.xcards .back{padding:18px 16px 20px}.xcards .strip b{font-size:calc(15px*var(--scale))}.xcards .strip span{font-size:calc(12px*var(--scale))}.xcards .xc-axis{padding:10px 18px}.xcards .xc-axis .k,.xcards .xc-axis .xc-t{font-size:calc(17px*var(--scale))}.xcards .back p,.xcards .rule{font-size:calc(16px*var(--scale))}}
@media (prefers-reduced-motion:reduce){.xcards .xc-in{transition:none}}


.xcards .cue{position:absolute;top:14px;inset-inline-end:14px;width:36px;height:36px;border-radius:50%;display:grid;place-items:center;pointer-events:none;transition:transform .3s}
.xcards .cue svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.xcards .front .cue{background:rgba(255,255,255,.18);color:#fff;border:1.5px solid rgba(255,255,255,.55)}
.xcards .back .cue{background:var(--ch-soft);color:var(--ch-ink);top:12px;inset-inline-end:12px}
.xcards .back h3{padding-inline-end:44px}
@media (hover:hover) and (prefers-reduced-motion:no-preference){.xcards .xc:not(.is-back) .xc-in:hover{transform:rotateY(-5deg)}.xcards .xc-in:hover .cue{transform:rotate(180deg)}}
.xcards .xc{scroll-margin-top:12px}

.xcards .xc-nav{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:16px}
.xcards .xc-nav button{display:inline-flex;align-items:center;gap:6px;min-height:44px;min-width:44px;padding:8px 14px;border-radius:12px;border:1.5px solid var(--line);background:var(--bg);color:var(--ink);font:inherit;font-size:calc(15px*var(--scale));font-weight:700;cursor:pointer}
.xcards .xc-nav button:disabled{opacity:.4;cursor:default}
.xcards .xc-nav svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.xcards .count{text-align:center;font-size:calc(15px*var(--scale));font-weight:700}

.xcards .back .xc-lead{margin:0 0 6px}
.xcards .grp{margin:14px 0 6px;font-weight:900;font-size:calc(17px*var(--scale))}
.xcards .grp .q{font-weight:500}
.xcards .ticks{list-style:none;margin:0 0 6px;padding:0}
.xcards .ticks li{position:relative;padding-inline-start:20px;margin:3px 0;font-size:calc(16px*var(--scale))}
.xcards .ticks li::before{content:"";position:absolute;inset-inline-start:4px;top:.75em;width:7px;height:7px;border-radius:50%;background:var(--ch)}
.xcards .ticks b{font-weight:800}
.xcards .chips{list-style:none;margin:6px 0 14px;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:8px}
.xcards .chips li{padding:8px 12px;border-radius:10px;background:var(--surface);font-size:calc(15.5px*var(--scale))}
.xcards .chips b{font-weight:800}
.xcards .xc-e,.xcards .en{direction:ltr;unicode-bidi:isolate}
.xcards .stations .xc-e.long{white-space:normal}
.xcards .ttl .xc-e b{font-weight:900}
@media (max-width:560px){.xcards .xc-nav button .lbl{display:none}.xcards .ticks li{font-size:calc(15.5px*var(--scale))}}


.xcards .ol{list-style:none;margin:14px 0 16px;padding:0;display:grid;gap:8px}
.xcards .ol>li{padding:10px 14px;border-radius:10px;background:var(--surface);border-inline-start:4px solid var(--ch)}
.xcards .ol .h{font-weight:800;font-size:calc(16.5px*var(--scale))}
.xcards .ol .p{color:var(--ink-soft);font-size:calc(14.5px*var(--scale))}
.xcards .ol .hs{display:block;color:var(--ink-soft);font-size:calc(14.5px*var(--scale))}
.xcards .subs{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.xcards .subs .c{background:var(--bg);border:1px solid var(--line);border-radius:8px;padding:3px 10px;font-size:calc(14px*var(--scale));line-height:1.6}
.xcards .subs .c b{font-weight:700}.xcards .subs .c i{font-style:normal;color:var(--ink-soft);font-size:calc(13px*var(--scale))}
.xcards .xc-mind{margin:0;padding:14px 16px;border-radius:12px;background:var(--ch-soft);border-inline-start:5px solid var(--ch);font-size:calc(16.5px*var(--scale))}
.xcards .xc-mind b{color:var(--ch-ink);font-weight:900}
@media (max-width:560px){.xcards .ol .h{font-size:calc(16px*var(--scale))}.xcards .xc-mind{font-size:calc(16px*var(--scale))}.xcards .ol .p,.xcards .subs .c i{display:block}}


.xcards .chips-ch{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 12px}
.xcards .chips-ch button{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:6px 14px;border-radius:99px;border:1px solid var(--line);background:var(--bg);color:var(--ink);font:inherit;font-weight:800;font-size:calc(15px*var(--scale));cursor:pointer}
.xcards .chips-ch small{font-weight:600;font-size:calc(13px*var(--scale));color:var(--ink-soft)}
.xcards .chips-ch .xc-on{border-color:var(--btn);box-shadow:inset 0 0 0 1px var(--btn)}
.xcards .chips-ch button:disabled{opacity:.55;cursor:default}
.xcards .chips-ch i{width:13px;height:13px;border-radius:50%;display:inline-block}

.xcards .bar{height:5px;border-radius:99px;background:var(--accent);margin:12px 0 0;overflow:hidden}
.xcards .bar span{display:block;height:100%;width:0;background:var(--ch);transition:width .3s ease}

.xcards .side{display:none}
@media (min-width:600px) and (hover:hover){.xcards .side{display:grid;place-items:center;position:absolute;top:50%;transform:translateY(-50%);width:46px;height:64px;border:0;border-radius:12px;background:rgba(14,20,36,.55);color:#fff;cursor:pointer;z-index:2}
  .xcards .side:hover{background:rgba(14,20,36,.78)}.xcards .side:disabled{opacity:.25;cursor:default}
  .xcards .side svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
  .xcards .side-prev{inset-inline-start:-60px}.xcards .side-next{inset-inline-end:-60px}}

.xcards .xc-deck-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin:26px 0 0;padding-top:22px;border-top:1px solid var(--line)}
.xcards .xc-deck-actions button,.xcards .xc-deck-actions a{display:inline-flex;align-items:center;gap:8px;min-height:52px;padding:8px 26px;border-radius:12px;border:1.5px solid var(--btn);font:inherit;font-weight:800;font-size:calc(16px*var(--scale));text-decoration:none;cursor:pointer}
.xcards .xc-deck-actions .dl{background:var(--btn);color:var(--on-btn)}.xcards .xc-deck-actions .xc-all{background:var(--bg);color:var(--ink);border-color:var(--line)}
.xcards .xc-deck-actions svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.xcards .dl-note{margin:14px auto 0;max-width:30rem;background:var(--accent);border-radius:10px;padding:10px 14px;font-size:calc(14.5px*var(--scale));line-height:1.8;text-align:center}
@media (max-width:600px){.xcards .xc-deck-actions a,.xcards .xc-deck-actions button{width:100%;justify-content:center}}


@media (min-width:900px){
  
}


.xcards .face{--fit:1;--scale:calc(var(--uscale)*var(--fit));bottom:0}
.xcards .xc{margin:0 auto}
.xcards .xc-in{aspect-ratio:148/105}
@media (max-width:599px){.xcards .xc-in{aspect-ratio:105/170}}
.xcards .front{min-height:0;height:100%;overflow:hidden;padding:calc(16px*var(--fit)) calc(26px*var(--fit)) calc(58px*var(--fit));gap:max(11px,calc(12px*var(--fit)))}
.xcards .strip{min-height:calc(58px*var(--fit));padding:calc(7px*var(--fit)) calc(18px*var(--fit))}
.xcards .xc-axis{padding:calc(10px*var(--fit)) calc(26px*var(--fit))}
.xcards .cno{width:calc(96px*var(--fit));height:calc(56px*var(--fit));font-size:calc(24px*var(--fit))}
.xcards .back{overflow:hidden;padding:calc(18px*var(--fit)) calc(24px*var(--fit)) calc(18px*var(--fit))}
.xcards .back .sub{margin:calc(2px*var(--fit)) 0 calc(10px*var(--fit))}
.xcards .back .ol{gap:calc(8px*var(--fit));margin:calc(10px*var(--fit)) 0 calc(12px*var(--fit))}
.xcards .back .ol>li{padding:calc(9px*var(--fit)) calc(13px*var(--fit))}
.xcards .back .xc-mind{padding:calc(12px*var(--fit)) calc(15px*var(--fit))}

.xcards .back.scroll{overflow-y:auto;overscroll-behavior:contain;-webkit-mask-image:linear-gradient(#000 82%,transparent);mask-image:linear-gradient(#000 82%,transparent)}
.xcards .back.scroll.end{-webkit-mask-image:none;mask-image:none}

@media (max-width:599px){.xcards .back .ol .p,.xcards .back .subs .c i,.xcards .back h3 .xc-e{display:none}.xcards .back .subs .c{padding:2px 9px}}

.xcards .xc.wide .ol{display:block;columns:2;column-gap:10px}
.xcards .xc.wide .ol>li{break-inside:avoid;margin:0 0 calc(8px*var(--fit))}



.xcards .back{display:flex;flex-direction:column;overflow:hidden!important;-webkit-mask-image:none!important;mask-image:none!important}
.xcards .bk{display:flex;flex-direction:column;flex:1;min-height:0}
.xcards .bk h3{margin:0 0 calc(12px*var(--fit));padding-inline-end:44px;font-size:calc(23px*var(--scale));font-weight:900;line-height:1.4;color:var(--ink)}
.xcards .bk h3 .n{color:var(--ch-ink);direction:ltr;unicode-bidi:isolate}
.xcards .bk .sub{margin:calc(2px*var(--fit)) 0 calc(12px*var(--fit));font-size:calc(15px*var(--scale));font-weight:700;color:var(--ink-soft);line-height:1.6}
.xcards .pts{list-style:none;margin:0;padding:0}
.xcards .pts li{display:flex;align-items:center;gap:calc(12px*var(--fit));padding:calc(8px*var(--fit)) 0;border-bottom:1px solid var(--line);font-size:calc(17px*var(--scale));font-weight:700;line-height:1.5}
.xcards .pts li:last-child{border-bottom:0}
.xcards .pn{flex:none;width:calc(28px*var(--fit));height:calc(28px*var(--fit));border-radius:50%;background:var(--ch);color:#fff;display:grid;place-items:center;font-size:calc(15px*var(--fit));font-weight:900;line-height:1}
.xcards .bk .xc-mind{margin:auto 0 0;padding:calc(12px*var(--fit)) calc(16px*var(--fit));border-radius:12px;background:var(--ch-soft);border-inline-start:5px solid var(--ch);font-size:calc(16px*var(--scale));line-height:1.75}
.xcards .bk .xc-mind b{color:var(--ch-ink);font-weight:900}
.xcards .bk .pts{margin-bottom:calc(14px*var(--fit))}

@media (min-width:600px){.xcards .ttl h2{font-size:calc(clamp(24px,4.6vw,32px)*var(--scale))}}

@media (max-width:599px){
  .xcards .front{padding:calc(14px*var(--fit)) 16px calc(50px*var(--fit))}
  .xcards .xc-badge{height:calc(66px*var(--fit));margin-top:0}
  .xcards .strip{min-height:0;padding:6px 10px}
  .xcards .strip b{font-size:calc(14.5px*var(--scale))}
  .xcards .strip span{font-size:calc(10.5px*var(--scale));white-space:nowrap}
  .xcards .xc-axis{padding:calc(8px*var(--fit)) 18px;line-height:1.55}
  .xcards .xc-axis .k,.xcards .xc-axis .xc-t{font-size:calc(15px*var(--scale))}
  .xcards .xc-axis .xc-e{font-size:calc(12.5px*var(--scale));white-space:nowrap}
  .xcards .ttl{padding-top:0}
  .xcards .ttl h2{font-size:calc(23px*var(--scale));text-wrap:balance;line-height:1.4}
  .xcards .ttl .xc-e{font-size:calc(12.5px*var(--scale));white-space:nowrap;margin-top:4px}
  .xcards .cno{width:calc(74px*var(--fit));height:calc(44px*var(--fit));font-size:calc(19px*var(--fit))}
  .xcards .bk h3{font-size:calc(20px*var(--scale))}
  .xcards .bk .sub{font-size:calc(13.5px*var(--scale))}
  .xcards .pts li{font-size:calc(15.5px*var(--scale))}
  .xcards .bk .xc-mind{font-size:calc(15px*var(--scale));line-height:1.7}
}


.xcards .back{background:var(--ch)!important;border:0!important;color:#fff}
.xcards .bk h3,.xcards .bk h3 .n{color:#fff}
.xcards .bk .sub{color:rgba(255,255,255,.92)}
.xcards .pts li{border-bottom-color:rgba(255,255,255,.35)}
.xcards .pn{background:#fff;color:var(--ch)}
.xcards .bk .xc-mind{background:rgba(70,0,0,.28);border-inline-start-color:#fff;color:#fff}
.xcards .bk .xc-mind b{color:#fff}
.xcards .back .cue{background:rgba(255,255,255,.18);color:#fff;border:1.5px solid rgba(255,255,255,.55)}



body.reading .xcards .xc-deck{position:fixed;inset:0;z-index:15;background:var(--bg);display:flex;align-items:center;justify-content:center;padding:56px 12px 12px}
body.reading .xcards .xc-deck .xc-nav,body.reading .xcards .xc-deck .bar{display:none}
body.reading .xcards .acts,body.reading .xcards .xc-deck-actions,body.reading .xcards .dl-note,body.reading .xcards .xc-note{display:none}
body.reading .xcards .xc{margin:0}
body.reading .xcards .xc-deck.flat{padding:12px}


.xcards .front>*{flex-shrink:0}


.xcards .pts li{align-items:flex-start}
.xcards .pts .pn{margin-top:calc(2px*var(--fit))}
.xcards .pn{padding-top:calc(var(--pnk,0)*2em)}
.xcards .pb{display:flex;flex-direction:column;gap:calc(2px*var(--fit));min-width:0}
.xcards .ph{font-weight:800}
.xcards .pg,.xcards .ps{font-size:.85em;font-weight:500;line-height:1.55;color:#fff}
.xcards .ps{color:#fff;font-weight:600}
.xcards .pst{display:flex;flex-direction:column;gap:calc(2px*var(--fit));font-size:.85em;font-weight:600;line-height:1.5}
.xcards .pst .lab{font-weight:800}
.xcards .pst .lb{font-weight:500}

.xcards .ps>span{white-space:nowrap}
.xcards .pst .code{display:inline-block;min-width:2.1em;padding:0 .3em;margin-inline-end:.35em;border-radius:4px;background:rgba(255,255,255,.2);font-weight:800;text-align:center}


.xcards .strip b{white-space:nowrap}


.xcards .dl-top{display:none!important}
.xcards .all-top{display:none!important}
@media (min-width:600px) and (hover:hover){.xcards .dl-top,.xcards .all-top{display:inline-flex!important}.xcards .xc-deck-actions{display:none!important}}


@media (min-width:600px) and (hover:hover){
  .xcards .acts{flex-wrap:wrap;justify-content:center;gap:8px;margin-top:14px}
  .xcards .acts button,.xcards .acts a{min-height:38px;padding:6px 12px;gap:6px;border-radius:10px;font-size:calc(13.5px*var(--scale));white-space:nowrap}
  .xcards .acts svg{width:16px;height:16px}
}
@media (min-width:600px) and (max-width:780px) and (hover:hover){.xcards .acts svg{display:none}.xcards .acts button,.xcards .acts a{padding:6px 10px}}


.xcards .face{--px:var(--pad-x,24px);--py:var(--pad-y,22px)}
.xcards .back{padding:var(--py) var(--px)!important}
.xcards .bk{gap:calc(var(--py)*.55)}
.xcards .bk h3{margin:0!important}
.xcards .bk .pts{margin:0!important}
.xcards .bk .xc-mind{margin-top:auto!important}
.xcards .back .cue,.xcards .front .cue{top:calc(var(--py)*.5)!important;inset-inline-end:calc(var(--px)*.5)!important}
.xcards .bk h3{padding-inline-end:calc(var(--px)*.5 + 40px)}
.xcards .front{padding:var(--py) var(--px) calc(var(--py) + 40px*var(--fit))!important}


.xcards .cno{flex-direction:column;align-items:center;justify-content:flex-end;line-height:1;width:calc(140px*var(--fit));height:calc(64px*var(--fit));padding-bottom:calc(6px*var(--fit))}

.xcards .front{padding-bottom:max(calc(var(--py) + 40px*var(--fit)),calc(64px*var(--fit) + 10px))!important}
.xcards .cno b{font-weight:900;font-size:1em}
.xcards .cno small{font-weight:800;font-size:max(11px,.5em);margin-top:calc(2px*var(--fit))}

@media (max-width:599px){.xcards .cno{width:110px;height:64px;font-size:22px;padding-bottom:6px}.xcards .cno small{font-size:12px;margin-top:2px}
  .xcards .front{padding-bottom:max(calc(var(--py) + 40px*var(--fit)),76px)!important}}
@media (min-width:600px) and (max-height:499px) and (hover:none){.xcards .cno{width:110px;height:64px;font-size:22px;padding-bottom:6px}.xcards .cno small{font-size:12px;margin-top:2px}
  .xcards .front{padding-bottom:max(calc(var(--py) + 40px*var(--fit)),76px)!important}}


.xcards .xc-in.trifix .front .cno{width:var(--tw)!important;height:var(--th)!important;padding-bottom:var(--tpb)!important}
.xcards .xc-in.trifix .front{padding-bottom:max(calc(var(--py) + 40px*var(--fit)),calc(var(--th) + 12px))!important}


.xcards .t-ch3{--ch:#6bbe45;--on-ch:#1f2f57;--ch-ink:#1f2f57;--ch-soft:#eef7e9}
.xcards .t-ch3 .front,.xcards .t-ch3 .back{color:#1f2f57}
.xcards .t-ch3 .xc-axis,.xcards .t-ch3 .xc-axis::after{border-color:rgba(31,47,87,.85)}
.xcards .t-ch3 .front .cue,.xcards .t-ch3 .back .cue{background:rgba(255,255,255,.3);color:#1f2f57;border-color:rgba(31,47,87,.5)}
.xcards .t-ch3 .bk h3,.xcards .t-ch3 .bk h3 .n,.xcards .t-ch3 .bk .sub,.xcards .t-ch3 .pg,.xcards .t-ch3 .ps{color:#1f2f57}
.xcards .t-ch3 .pts li{border-bottom-color:rgba(31,47,87,.25)}
.xcards .t-ch3 .pn{background:#1f2f57;color:#fff}
.xcards .t-ch3 .bk .xc-mind{background:rgba(255,255,255,.5);border-inline-start-color:#1f2f57;color:#1f2f57}
.xcards .t-ch3 .bk .xc-mind b{color:#1f2f57}
.xcards .t-ch3 .pst .code{background:rgba(31,47,87,.12)}
.xcards .t-ch3 .bk h3{--h3-lines:1;font-size:calc(23px*var(--scale)*var(--h3k,1))}
@media (max-width:599px){.xcards .t-ch3 .bk h3{--h3-lines:2;font-size:calc(20px*var(--scale)*var(--h3k,1))}
  
  .xcards .t-ch3 .strip span{font-size:calc(11.5px*var(--scale))}}


.xcards .t-ch2{--ch:#fff200;--on-ch:#1f2f57;--ch-ink:#1f2f57;--ch-soft:#fffbd1}
.xcards .t-ch2 .front,.xcards .t-ch2 .back{color:#1f2f57}
.xcards .t-ch2 .xc-axis,.xcards .t-ch2 .xc-axis::after{border-color:rgba(31,47,87,.85)}
.xcards .t-ch2 .front .cue,.xcards .t-ch2 .back .cue{background:rgba(255,255,255,.45);color:#1f2f57;border-color:rgba(31,47,87,.5)}
.xcards .t-ch2 .bk h3,.xcards .t-ch2 .bk h3 .n,.xcards .t-ch2 .bk .sub,.xcards .t-ch2 .pg,.xcards .t-ch2 .ps{color:#1f2f57}
.xcards .t-ch2 .pts li{border-bottom-color:rgba(31,47,87,.25)}
.xcards .t-ch2 .pn{background:#1f2f57;color:#fff}
.xcards .t-ch2 .bk .xc-mind{background:rgba(255,255,255,.6);border-inline-start-color:#1f2f57;color:#1f2f57}
.xcards .t-ch2 .bk .xc-mind b{color:#1f2f57}
.xcards .t-ch2 .pst .code{background:rgba(31,47,87,.12)}
.xcards .t-ch2 .bk h3{--h3-lines:1;font-size:calc(23px*var(--scale)*var(--h3k,1))}
@media (max-width:599px){.xcards .t-ch2 .bk h3{--h3-lines:2;font-size:calc(20px*var(--scale)*var(--h3k,1))}
  .xcards .t-ch2 .strip span{font-size:calc(11.5px*var(--scale))}}

.xcards .xc{scroll-margin-top:calc(var(--head-h,62px) + 8px)}
body.reading .xcards .xc{scroll-margin-top:62px}
.xcards .front .ttl h2{color:inherit}


.xcards{line-height:1.8}
.page.xc-page{max-width:728px}
@media (min-width:900px){.page.xc-page{max-width:868px}}
.xc-chap{margin:28px 0 10px;font-size:calc(20px*var(--scale))}
