/* v7 "ink" layer: printed-paper and pen look. Loads last. No glows, no glossy gradients, square-ish printed edges. */
:root{--ink:#231a12;--ink2:#4a3824;--paper:url(img/chart/paper.webp);--pp:#e6d7b1;--pp2:#d8c69a;--ox:#8b2a1c;--rule:#a88a4e;--dark:#17100a;--teal:#3f5f63}
/* the pen: every glyph gets a main line and a faint second pass */
html .ic{stroke-width:1.55}
html .ic .ip2{stroke-width:.8;opacity:.55}
html .card .vig .ic,html .node .nb .ic,html .intent .ii .ic,html .ord .ic{filter:url(#rough)}
html .ic [fill="currentColor"]{stroke:none}
/* --- type: IM Fell everywhere; the blackletter "pirate font" is retired --- */
html h1,html h2,html h3,html .detail.empty .tn,html .ename,html .maphead h2{font-family:'IM Fell English SC',Georgia,serif;text-shadow:0 1px 0 rgba(0,0,0,.85)}
html h1{color:#ead9ad;letter-spacing:2px;font-weight:normal}
html h2{color:#ead9ad;letter-spacing:1.5px;font-weight:normal;text-shadow:0 1px 0 #000}
html h2::after{height:9px;width:62%;background:linear-gradient(var(--rule),var(--rule)) left 50%/calc(50% - 9px) 1px no-repeat,linear-gradient(var(--rule),var(--rule)) right 50%/calc(50% - 9px) 1px no-repeat;
 -webkit-mask:none;position:relative}
html h2::before{content:'';display:none}
/* --- buttons: printed labels, not candy --- */
html #app button,html #modal button{border-radius:3px;text-shadow:none;background:var(--dark);border:1px solid #000;color:#e4d3a6;
 box-shadow:inset 0 0 0 2px var(--dark),inset 0 0 0 3px rgba(168,138,78,.55);filter:none}
html #app button:not(:disabled):active,html #modal button:not(:disabled):active{box-shadow:inset 0 0 0 2px var(--dark),inset 0 0 0 3px var(--rule);transform:translateY(1px)}
html #app button.gold,html #app button.endturn,html #modal button.gold,html #app .actions>button.lead{background:var(--paper) center/170px,var(--pp);color:var(--ink);border:1px solid #120b05;
 box-shadow:inset 0 0 0 2px var(--pp),inset 0 0 0 3px var(--ink2),0 2px 0 rgba(0,0,0,.5);text-shadow:none;animation:none}
html #app button.endturn{font-family:'IM Fell English SC',Georgia,serif;letter-spacing:3px}
html #app #endturn.ready{background:var(--paper) center/170px,#efe0b6;color:var(--ox);box-shadow:inset 0 0 0 2px var(--pp),inset 0 0 0 4px var(--ox),0 2px 0 rgba(0,0,0,.5);animation:none}
html #app #endturn.counting{animation:none}
html #app button:disabled{opacity:.45;filter:none}
/* --- HUD: one quiet leather strip, flat ruled bars --- */
html #candle,html .tprops,html #light{display:none!important}
html .hud{margin-left:0;border-radius:3px;box-shadow:0 2px 0 rgba(0,0,0,.5);border:1px solid #000;outline:1px solid rgba(168,138,78,.35);outline-offset:-4px}
html .hud .medal{background:none;border-radius:2px;padding:0;box-shadow:none;border:1px solid var(--rule);outline:1px solid #000}
html .hud .medal img,html .hud .portrait{border-radius:1px;filter:sepia(.25) contrast(1.05)}
html .gb{border-radius:1px;background:#0c0805;border:1px solid #6b5631;box-shadow:none;height:15px}
html .gb i{background:var(--ox);background-image:repeating-linear-gradient(115deg,rgba(0,0,0,.22) 0 1px,transparent 1px 4px);box-shadow:none;border-right:1px solid rgba(0,0,0,.5)}
html .g-hull .gb i{background-color:#7a5a32}
html .g-crew .gb i{background-color:var(--teal)}
html .gb span{text-shadow:0 1px 0 #000;font-family:Georgia,serif}
html .gauge .gi{color:#cdb88a}
html .g-hp .gi{color:#c4513d}
html .coin{background:none;border:0;padding:0 2px}
html .strip .ic{color:#cdb88a}
html .hud .ofc{border-radius:2px;border:1px solid var(--rule);box-shadow:none}
html .hud.inc .strip .coin,html .hud.inc .strip .cg-rations,html .hud.inc .strip .cg-kits,html .hud.inc .strip .cg-repairkits,html .hud.inc .strip .cg-surgeonskits{display:none}
html .menubtn{filter:none}
/* --- chips and tags: plain ink type, no pills --- */
html .wx,html .tag,html .trc{background:rgba(232,214,170,.9);color:var(--ink);border:1px solid var(--ink2);border-radius:2px;box-shadow:none;text-shadow:none}
html .wx .ic,html .tag .ic,html .trc .ic{color:var(--ink2)}
html .mine .tag.big{background:var(--pp);color:var(--ink)}
html .phases{border-radius:2px;background:rgba(23,16,10,.75);border:1px solid #000;box-shadow:none}
html .phases span{border-radius:1px}
html .phases span.on{background:var(--pp);color:var(--ink);box-shadow:none}
/* --- enemy plate and intent --- */
html .eplate{border-radius:1px;box-shadow:0 3px 6px rgba(0,0,0,.45);outline:1px solid rgba(35,26,18,.55);outline-offset:-4px}
html .painted,html .eart .painted{border-radius:1px}
html .painted::after{box-shadow:inset 0 0 0 1px rgba(0,0,0,.6),inset 0 0 22px rgba(60,35,10,.45)}
html .intent{border-radius:2px;background:var(--paper) center/120px,var(--pp)!important;border:1px solid var(--ink);box-shadow:inset 0 0 0 2px var(--pp),inset 0 0 0 3px var(--ink2),0 3px 5px rgba(0,0,0,.45);
 transform:rotate(-2.5deg);animation:none!important;width:60px;padding:5px 2px 5px}
html .intent b{color:var(--ox);text-shadow:none;font-family:'IM Fell English',Georgia,serif;font-size:28px}
html .intent .ii .ic{color:var(--ink)}
html .intent.t0 b{color:var(--teal)}
html .intent.t3,html .intent.t4{border-color:var(--ox);box-shadow:inset 0 0 0 2px var(--pp),inset 0 0 0 4px var(--ox),0 3px 5px rgba(0,0,0,.45)}
html .intent .net{border-radius:1px;background:var(--ink);color:var(--pp);border:0;transform:rotate(2.5deg)}
html .intent .net.ok{background:var(--teal)}
html .rail .rc{border-radius:1px;background:rgba(232,214,170,.85);color:var(--ink);border:1px solid var(--ink2);box-shadow:none}
/* --- energy, orders --- */
html .pips{background:none;border:0;padding:2px 2px;gap:6px}
html .pips i{width:18px;height:18px;background:transparent;border:1.5px solid #c9b78c;box-shadow:none;border-radius:50% 46% 52% 48%}
html .pips i.on{background:#e6d7b1;border-color:#e6d7b1;box-shadow:inset 0 0 0 3px var(--dark),inset 0 0 0 9px var(--ox)}
html .ord{border-radius:2px;background:var(--dark);color:#cdb88a;border:1px solid #000;box-shadow:inset 0 0 0 1px rgba(168,138,78,.45);animation:none}
html .ord.ready{background:var(--paper) center/120px,var(--pp);color:var(--ink);border-color:#000;box-shadow:inset 0 0 0 2px var(--pp),inset 0 0 0 3px var(--ox);animation:none}
html .ord.cd,html .ord.used{opacity:.5;filter:none}
html .ord i{border-radius:1px;background:var(--ox);color:#f3e6c4;border:0}
/* --- cards: printed broadsides --- */
html .card{border-radius:3px;box-shadow:0 2px 3px rgba(0,0,0,.45)}
html .card::after{border-radius:1px;inset:3px;border:1px solid rgba(35,26,18,.45)}
html .card .cost{border-radius:50% 47% 52% 48%;background:var(--pp);color:var(--ink);border:1.5px solid var(--ink);box-shadow:0 1px 2px rgba(0,0,0,.55);top:-8px;left:-8px;font-family:'IM Fell English',Georgia,serif;text-shadow:none}
html .card.dim .cost{background:var(--pp);color:var(--ox);border-color:var(--ox);text-shadow:none}
html .card .rule{background:linear-gradient(var(--ink2),var(--ink2)) center/80% 1px no-repeat;height:3px;opacity:.6}
html .card .vig{background:none;filter:none;border:0;box-shadow:none;display:flex;align-items:center;justify-content:center}
html .card .vig .ic.vg{width:32px;height:32px;color:var(--ink);stroke-width:1.6;position:relative;z-index:1}
html .card .vig{position:relative}
html .card .vig::before{content:'';position:absolute;left:18%;right:18%;bottom:6%;height:7px;background:repeating-linear-gradient(0deg,rgba(35,26,18,.45) 0 1px,transparent 1px 3px);-webkit-mask:radial-gradient(closest-side,#000 55%,transparent);mask:radial-gradient(closest-side,#000 55%,transparent)}
html #app .hand.grid .card .vig .ic.vg{width:26px;height:26px}
html .card.sel{box-shadow:0 0 0 2px var(--ox),0 0 0 4px rgba(230,215,177,.9),0 10px 14px rgba(0,0,0,.55)}
html .card.off{filter:grayscale(.6) brightness(.82)}
html .card .ctag .ic{color:var(--ink2)}
html .tray{border-radius:3px;box-shadow:inset 0 2px 8px rgba(0,0,0,.7);border:1px solid #000}
/* --- detail note: compact turn note, the log line lives inside it --- */
html .detail{border-radius:2px;box-shadow:0 2px 4px rgba(0,0,0,.45)}
html .detail::before{content:'';position:absolute;inset:3px;border:1px solid rgba(35,26,18,.35);pointer-events:none}
html .detail.empty .tn{font-size:20px;color:var(--ox)}
html .detail.empty .tp{font-style:italic;font-family:'IM Fell English',Georgia,serif;color:var(--ink2);font-size:14px}
html .detail.empty .tl{border-bottom:1px solid rgba(35,26,18,.3);padding-bottom:2px;margin-bottom:4px}
html .detail.empty .lg1{font-size:14px;color:var(--ink);margin:0 0 2px;line-height:1.25;max-height:2.5em;overflow:hidden}
html .detail.empty .hint{font-size:12.5px;font-style:italic;color:#6a5233;margin:0}
html #app[data-screen=combat] .log:not(.open){display:none}
html .log.open{border-radius:2px;background:var(--paper) center/170px,var(--pp);color:var(--ink);border:1px solid #000}
html .detail .dgo.off{border-radius:2px}
/* --- the chart: ink marks on paper, not gold coins --- */
html .routes path{stroke:#3a2a18;stroke-width:1.6;stroke-dasharray:1.5 5;opacity:.6}
html .routes path.walked{stroke:var(--ox);stroke-width:2;stroke-dasharray:6 3;opacity:.7}
html .routes path.hot{stroke:var(--ox);stroke-width:2.6;stroke-dasharray:4 4;filter:none;opacity:1}
html .node{background:rgba(230,215,177,.55);border:1.5px solid rgba(35,26,18,.75);color:var(--ink);box-shadow:none;width:44px;height:44px;border-radius:50% 47% 52% 48%}
html .node .nb .ic{width:23px;height:23px}
html .node.avail{background:var(--pp);border:2px solid var(--ox);color:var(--ink);box-shadow:0 0 0 3px rgba(230,215,177,.85),0 0 0 4.5px var(--ox),0 3px 6px rgba(0,0,0,.35);animation:none;width:48px;height:48px}
html .node.done{opacity:.55;background:transparent;border-color:rgba(35,26,18,.45);color:#5a4630}

html .node.cur{border-color:var(--ox);opacity:1}
html .node.n-elite,html .node.n-boss{background:rgba(230,215,177,.6)}
html .node.n-elite:not(.done){color:var(--ox);border-color:var(--ox)}
html .node.n-boss{width:56px;height:56px;border:2px solid var(--ink);box-shadow:0 0 0 3px rgba(230,215,177,.7),0 0 0 4px var(--ink)}
html .node.n-boss:not(.done){color:var(--ink)}
html .node em{background:var(--pp);color:var(--ink);border-radius:1px;border:1px solid var(--ink2);box-shadow:none;font-style:italic}
html .plate{border-radius:2px;box-shadow:none}
/* --- panels, choices, menus --- */
html .panel,html .choices button,html .evopt,html .tile,html .shiprow{border-radius:2px}
html .banner,html .scr .banner{border-radius:1px;box-shadow:0 0 0 1px #000,0 0 0 4px rgba(230,215,177,.12),0 4px 10px rgba(0,0,0,.5)}
html .med .mr,html .med.sel .mr{box-shadow:none}
html .rbar{border-radius:1px}html .rbar i{background:var(--ox)}
html .book,html .bk-page{border-radius:3px}
html .bk-tabs button{border-radius:2px 2px 0 0}
html .toast,html .coach{border-radius:2px}
/* --- table: keep the walnut, lose the vignette glow --- */
html .cine .ct b{font-family:'IM Fell English SC',Georgia,serif;text-shadow:0 1px 0 #000}
html #app .hand.grid .card .cost{top:-12px;left:-5px;width:22px;height:22px;font-size:14px}
html #app .hand.grid .card .nm{margin-top:12px}
html #app .hand.grid .card .vig{height:26px;margin-top:1px}
html .topline .wx{flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis}
html .topline .side,html .topline .phases,html .topline .deckchip{flex:none}
/* --- captain select, title, events --- */
html #app[data-screen=title] #new{background:var(--paper) center/170px,var(--pp);color:var(--ink);text-shadow:none;border:1px solid #120b05;box-shadow:inset 0 0 0 2px var(--pp),inset 0 0 0 3px var(--ink2),0 2px 0 rgba(0,0,0,.5);font-family:'IM Fell English SC',Georgia,serif;letter-spacing:2px}
html .med .mr{border-radius:50%/46%;padding:3px;background:#120b05;box-shadow:0 0 0 1px var(--rule),0 3px 6px rgba(0,0,0,.6)}
html .med .mr img{filter:sepia(.3) contrast(1.05)}
html .med.sel .mr{transform:scale(1.06);box-shadow:0 0 0 2px var(--pp),0 0 0 4px var(--ox),0 3px 6px rgba(0,0,0,.6)}
html .med .mr::before,html .med .mr::after{display:none}
html .dossier{border-radius:2px;box-shadow:0 0 0 1px #000,0 6px 14px rgba(0,0,0,.6);outline:1px solid rgba(35,26,18,.45);outline-offset:-5px}
html .evopt .eb{border-radius:50% 47% 52% 48%;background:var(--pp);color:var(--ink);border:1.5px solid var(--ink);box-shadow:none;font-family:'IM Fell English',Georgia,serif}
html .choices .rico,html .choices .mini-face{background:#120b05;border:1px solid var(--rule);box-shadow:none;color:#d9c79b}
html .seal{filter:drop-shadow(0 1px 1px rgba(0,0,0,.6))}
html .chip{border-radius:2px;background:rgba(255,248,225,.35)}
html .chip i{background:none;border:1px solid var(--ink);border-radius:50% 47% 52% 48%;font-family:'IM Fell English',Georgia,serif}
html .node.far{opacity:.55;background:transparent;border-style:dashed}
html #app[data-screen] .actions>button.gold{background:var(--paper) center/170px,var(--pp);color:var(--ink);text-shadow:none;border:1px solid #120b05;box-shadow:inset 0 0 0 2px var(--pp),inset 0 0 0 3px var(--ink2),0 2px 0 rgba(0,0,0,.5)}
html .turnbn b,html .bigtxt{font-family:'IM Fell English SC',Georgia,serif!important;letter-spacing:2px;text-shadow:0 2px 0 #000!important}
html .coach b,html .modal dt{font-family:'IM Fell English SC',Georgia,serif}
html #app[data-screen=title] .banner.plate{filter:none;object-fit:cover;object-position:40% 50%;box-shadow:0 0 0 1px #000,0 0 0 5px #e6d7b1,0 0 0 6px #3a2a18,0 6px 14px rgba(0,0,0,.6);margin-top:8px}
html .platecap{margin:9px 0 0!important;text-align:center;font:italic 12px 'IM Fell English',Georgia,serif!important;color:#b9a77d!important;letter-spacing:.3px}
html #app[data-screen=title] .banner.plate{width:calc(100% - 12px);margin:10px auto 0;display:block;max-height:30vh;object-fit:cover;background:#e6d7b1}
html #app[data-screen=title] p.platecap,html #app[data-screen=title] p.tagl{background:none;border:0;box-shadow:none;padding:0;color:#cdb88a}
html #app[data-screen=title] p.tagl{font-size:15px;margin:10px 8px 4px;color:#e4d3a6}
html #app[data-screen=title] h3.center{justify-content:center;text-align:center;font-size:15px;letter-spacing:1px}
html #app[data-screen=title] h3.center::after,html #app[data-screen=title] h3.center::before{content:'';flex:0 0 28px;height:1px;background:var(--rule)}
html #app[data-screen=title] p.small{background:none;border:0;box-shadow:none;color:#b9a77d;font-style:italic}
html .tray{background:var(--leather) center/260px,#2a1b10;background-blend-mode:multiply;outline:1px solid rgba(168,138,78,.3);outline-offset:-5px}
/* legibility floor: nothing under 11px */
html button.doc small,html #app .undo small,html .pile small{font-size:11px!important}
html .eplate .gb span,html .eplate .gb small{font-size:11.5px!important}
html #app[data-screen=combat]>.scr>.sea{flex:1 1 0;min-height:0}
html .rail{top:145px;left:8px}
html .eplate .tag,html .estats .tag{background:transparent!important;color:var(--ink)!important;border:1px solid rgba(35,26,18,.45)!important}
html .eplate .tag .ic{color:var(--ink2)}
/* captain select: fit phones without scrolling (one row of medallions, compact doctrine + notoriety) */
html .capscr .caps{grid-template-columns:repeat(5,1fr);flex:none;max-height:none;padding:8px 4px 6px;gap:0 2px}
html .capscr .caps>.med{grid-column:auto!important;min-width:0}
html .capscr .caps .med .mr{width:min(64px,15.5vw);height:min(64px,15.5vw)}html .capscr .caps .med .mr img{width:100%;height:100%}
html .capscr .caps .med span,html .capscr .caps .med .nm,html .capscr .caps .med b{font-size:11px;white-space:nowrap;letter-spacing:0}
html .capscr .docts{margin:6px 0 4px;padding:5px 8px}
html .capscr .docts>div{gap:4px;margin:4px 0}
html .capscr .docts .doc{min-height:42px;padding:2px 6px;font-size:12px;flex:1 1 30%;line-height:1.1}
html .capscr .docts p.small{margin:2px 0 0;font-size:12px}
html .capscr .notp{display:grid;grid-template-columns:1fr auto;align-items:center;column-gap:8px;margin:auto 0 4px;padding:4px 8px}
html .capscr .notp>b{grid-column:1}html .capscr .notp>.small{grid-column:1;grid-row:2}
html .capscr .notp .choices{grid-column:2;grid-row:1/3;display:flex;gap:4px;margin:0}
html .capscr .notp .choices button{min-height:42px;flex:none;padding:0 10px;font-size:13px}
@media (max-height:780px){html .capscr>h2{font-size:22px;margin:4px 0}html .capscr .dossier{padding:8px 12px}}
html .nolike{display:block;font-style:italic;font-size:11.5px;color:var(--ink2);opacity:.85;margin:1px 0 0;letter-spacing:0;font-family:'IM Fell English',Georgia,serif}
html #foe .eplate .nolike{display:block;text-align:center;margin:1px 0 0;font-size:11px;line-height:1.1;color:var(--ink2)}
html .ct .nolike{margin-top:6px;font-size:12px;color:inherit;opacity:.75}
/* captain select: spread spare height evenly (no empty block above Back on a new save) */
html #app>.scr.capscr{justify-content:space-between!important}html .capscr>*{flex-shrink:0}html .capscr .notp{margin-top:0}
/* ---------- Hall of Captains ---------- */
html .lbsign{margin:10px auto 4px;max-width:520px;width:100%;box-sizing:border-box;padding:10px 14px;background:var(--paper) center/220px,#e6d7b1;color:var(--ink);border:1px solid #2a180a;outline:1px solid rgba(35,26,18,.45);outline-offset:-5px;text-align:center;box-shadow:0 0 0 1px #000,0 6px 14px rgba(0,0,0,.5)}
html .lbsign .lbh{display:block;font-family:'IM Fell English SC',serif;font-weight:normal;font-size:19px;color:var(--ox);margin-bottom:2px}
html .lbsign p{margin:3px 0;color:var(--ink)}html .lbsign p b{color:var(--ox)}
html .lbrow{display:flex;gap:6px;margin:6px 0 2px}
html .lbrow input,html .lbtabs select{flex:1;min-width:0;height:42px;font:17px 'IM Fell English',Georgia,serif;color:var(--ink);background:#f4ead0;border:1px solid #2a180a;border-radius:2px;padding:0 10px;box-shadow:inset 0 1px 3px rgba(0,0,0,.25)}
html .lbrow input:focus,html .lbtabs select:focus{outline:2px solid var(--ox);outline-offset:1px}
html .lbrow button{flex:none;min-width:88px;margin:0}
html .lbsign .lbmsg{min-height:1.2em;margin:2px 0 0}html .lbsign .lbmsg.err{color:var(--ox);font-weight:bold}
html .lbsign.done button{margin:6px auto 2px}
html .hallscr{display:flex;flex-direction:column}
html .lbtabs{display:flex;gap:6px;margin:4px 0 8px;flex-wrap:wrap}html .lbtabs button{flex:1 1 0;min-height:42px;margin:0}html .lbtabs button.on{background:#e8c76a;color:#231a12;border-color:#231a12}
html .lbtabs select{flex:1 1 100%;height:40px}
html .lbwrap{flex:1 1 auto;min-height:0;overflow-y:auto;background:var(--paper) center/220px,#e6d7b1;color:var(--ink);border:1px solid #2a180a;outline:1px solid rgba(35,26,18,.45);outline-offset:-5px;padding:6px 8px}
html .lbt{width:100%;border-collapse:collapse;font-size:14.5px;color:var(--ink)}
html .lbt th{font-family:'IM Fell English SC',serif;font-weight:normal;color:var(--ox);text-align:left;border-bottom:1px solid var(--ink);padding:4px 4px;font-size:14px}
html .lbt td{padding:5px 4px;border-bottom:1px dotted rgba(35,26,18,.35);vertical-align:top;line-height:1.2}
html .lbt td.nm{font-weight:bold;overflow-wrap:anywhere}html .lbt .n{text-align:right}html .lbt td b{color:var(--ox)}
html .lbt small{font-size:11.5px;opacity:.8}html .lbt .lbx{display:block}
html .lbt tr:nth-child(-n+3) td:first-child{color:var(--ox);font-weight:bold}
html .lbnote{color:var(--ink);font-style:italic;margin:24px 8px}
html .lbform{margin:8px 2px 0;opacity:.85}
body.desk .hallscr{width:100%;max-width:900px;margin:0 auto}body.desk .lbtabs select{flex:0 1 240px}body.desk .lbt{font-size:16px}body.desk .lbt .lbx{display:inline;margin-left:8px}
body.desk #app>.scr.dsplit>.dcol .lbsign{margin:8px 0 0;max-width:none}
html .endscr .stats small{display:block;color:#e8d8b0;opacity:.85;font-size:11.5px;margin-top:1px}
html .lbtabs button.on,html #app .lbtabs button.on{background:var(--paper) center/170px,#e8c76a!important;color:#231a12!important;border-color:#231a12!important;box-shadow:inset 0 0 0 2px #8b2a1c}
html #app>p.kofi{text-align:center;margin:2px 0 0;font-size:13px;width:100%}html #app>p.kofi a{color:#e8d8b0;opacity:.85}
/* --- v33: card stats as ink icons (sword = hit, shield = Block) --- */
html .card .ds .cst .ic{stroke-width:1.6}
html .card .ds .cst{display:inline-flex;align-items:center;gap:1px;white-space:nowrap;vertical-align:-2px}
html .card .ds .cst .ic{width:1.3em;height:1.3em;filter:url(#rough);color:var(--ink)}
html .card .ds .cst b{font-size:1.2em;line-height:1}
html .card .ds .cst.atk b{color:var(--ox)}
html .card .ds .cst.def b{color:var(--ink)}
html .card .ds .cst i{font-style:normal;font-size:.85em;margin-left:2px;color:var(--ink2)}
html .card .ds.statonly{display:flex;justify-content:center;align-items:center;gap:10px}
html .card .ds.statonly .cst .ic{width:24px;height:24px}
html .card .ds.statonly .cst b{font-size:23px;font-family:'IM Fell English',Georgia,serif}
html .card .ds.statonly .cst i{font-size:15px}
/* --- v33: battle log is a closed drawer --- */
html .log.open{padding:0;overflow:hidden;display:flex;flex-direction:column}
html .log .loghd{display:flex;align-items:center;justify-content:space-between;padding:6px 10px 4px;border-bottom:1px solid rgba(35,26,18,.35)}
html .log .loghd b{font-family:'IM Fell English SC',Georgia,serif;font-weight:normal;color:var(--ox);font-size:16px}
html .log .logx{background:none;border:0;padding:4px;color:var(--ink);min-height:0}
html .log .logx .ic{width:16px;height:16px}
html .log .logbody{overflow-y:auto;overscroll-behavior:contain;padding:4px 10px 8px}
html .log .logbody>div{padding:3px 0;border-top:1px dotted rgba(35,26,18,.3);opacity:1}
html .log .logbody>div:first-child{border:0;font-weight:bold}
html .log:not(.open) .loghd{display:none}
.rwwhy{font-family:'IM Fell English',Georgia,serif;font-style:italic;font-size:.75em;opacity:.8;margin-left:6px}
body.desk .dlogt{display:flex;width:100%;align-items:baseline;justify-content:space-between;background:none;border:0;padding:0;margin:0 0 2px;color:var(--ox);font-family:'IM Fell English SC',serif;font-size:16px;cursor:pointer;min-height:0;text-align:left}
body.desk .dlogt small{font-family:'IM Fell English',serif;font-style:italic;font-size:12px;color:#6a5233}
body.desk .dlogt::after{content:'Show';font-family:'IM Fell English',serif;font-style:italic;font-size:12px;color:#6a5233;margin-left:auto;padding-left:10px}
body.desk .dlog:not(.shut) .dlogt::after{content:'Hide'}
body.desk #app[data-screen=combat]>.scr>.dlog.shut{align-self:start;min-height:0;overflow:hidden}
body.desk .dlog.shut p{display:none}
html body.phone #hand.fan .card .ds.statonly{justify-content:flex-start;padding-left:6px}
html body.phone #hand.fan .card .ds.stated{text-align:left}
html body.desk #app .dlog .dlogt{background:none!important;border:0!important;box-shadow:none!important;color:var(--ox);min-height:0;height:auto;padding:0;width:100%;text-transform:none;letter-spacing:0}
body.desk .dlogt small{margin-left:8px}
