@font-face{font-family:DM Sans;font-style:normal;font-display:swap;font-weight:400;src:url(./dm-sans-latin-400-normal-CW0RaeGs.woff2)format("woff2"),url(./dm-sans-latin-400-normal-BwCSEQnW.woff)format("woff")}@font-face{font-family:DM Sans;font-style:normal;font-display:swap;font-weight:500;src:url(./dm-sans-latin-500-normal-B9HHJjqV.woff2)format("woff2"),url(./dm-sans-latin-500-normal-Dr3UlScf.woff)format("woff")}@font-face{font-family:DM Sans;font-style:normal;font-display:swap;font-weight:600;src:url(./dm-sans-latin-600-normal-Aqo67rzb.woff2)format("woff2"),url(./dm-sans-latin-600-normal-BmdmIIQ2.woff)format("woff")}@font-face{font-family:Barlow Condensed;font-style:normal;font-display:swap;font-weight:500;src:url(./barlow-condensed-latin-500-normal-BgYH2mbd.woff2)format("woff2"),url(./barlow-condensed-latin-500-normal-HIEiP5Ov.woff)format("woff")}@font-face{font-family:Barlow Condensed;font-style:normal;font-display:swap;font-weight:600;src:url(./barlow-condensed-latin-600-normal-DepVgxBB.woff2)format("woff2"),url(./barlow-condensed-latin-600-normal-BFJEwTuo.woff)format("woff")}:root{color:#e7e8df;font-synthesis:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#101413;--panel:#1a201c;--line:#30382f;--text:#e7e8df;--muted:#929b8e;--gold:#d5b777;--red:#e99b91;--green:#9bb795;background:#101413;font-family:DM Sans,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:14px;font-weight:400}*{box-sizing:border-box}body{min-width:320px;margin:0}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit;touch-action:manipulation}button:disabled{cursor:default;opacity:.35}button:focus-visible,a:focus-visible{outline:2px solid var(--gold);outline-offset:3px}input:focus-visible,select:focus-visible{outline:2px solid var(--gold);outline-offset:1px}button{border:0}a{color:inherit}svg{flex-shrink:0}button{transition:background .15s,border-color .15s,color .15s,transform .1s}button:not(:disabled):active{transform:translateY(1px)}.app-shell{flex-direction:column;max-width:1200px;min-height:100svh;margin:0 auto;padding:0 36px;display:flex;position:relative}body:before{content:"";pointer-events:none;z-index:-1;background:radial-gradient(at 50% 15%,#31432c18,#0000 65%);position:fixed;inset:0}.app-header{border-bottom:1px solid #293027;justify-content:space-between;align-items:center;gap:16px;height:86px;display:flex}.brand{flex-shrink:0;align-items:center;gap:12px;text-decoration:none;display:flex}.brand-mark{color:var(--gold);font-family:Georgia,serif;font-size:43px;line-height:1;transform:rotate(-6deg)}.brand strong{letter-spacing:2.5px;font-family:Barlow Condensed,sans-serif;font-size:24px;font-weight:600;line-height:1.1;display:block}.brand-divider{color:#59604f;margin:0 10px;font-family:DM Sans,sans-serif;font-weight:400}.brand-companion{letter-spacing:2px;color:#c5c8b9;font-size:15px;font-weight:500}.brand small{letter-spacing:3.4px;color:var(--muted);margin-top:6px;font-size:8px;display:block}.header-actions{align-items:center;gap:6px;display:flex}.icon-button{color:#abb2a3;background:0 0;border:1px solid #0000;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:40px;height:40px;display:inline-flex}.icon-button:hover{color:var(--text);background:#252c24}.saved-state{color:var(--muted);align-items:center;gap:7px;margin-right:18px;font-size:11px;display:flex}.saved-state>span{background:#9bbb85;border-radius:50%;width:5px;height:5px}.save-error{color:var(--red)}.save-error>span{background:var(--red)}.desktop-intro{justify-content:space-between;align-items:flex-end;padding:35px 0 30px;display:flex}.eyebrow{letter-spacing:1.6px;color:var(--muted);font-size:9px;font-weight:600;line-height:1.5;display:block}h1{letter-spacing:-1.3px;margin:8px 0 0;font-size:36px;font-weight:450}.desktop-intro p{color:var(--muted);margin:0 0 5px;font-size:12px}.table-toolbar{border-bottom:1px solid #2a3128;justify-content:space-between;align-items:center;gap:12px;min-height:61px;display:flex}.step-control{flex-shrink:0;align-items:center;gap:10px;display:flex}.step-control>span{letter-spacing:1.6px;color:var(--muted);font-size:8px}.step-control>div{background:#171c17;border:1px solid #343c31;border-radius:6px;gap:3px;padding:3px;display:flex}.step-control button{color:var(--muted);font-variant-numeric:tabular-nums;background:0 0;border-radius:3px;min-width:34px;min-height:30px;padding:8px 11px;font-size:11px}.step-control button.selected{color:#e0d1a8;background:#343b2e}.battlefield{flex:1;min-height:0;padding:23px 0;display:flex}.hero-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;width:100%;display:grid}.hero-card{background:linear-gradient(150deg,#20271f 0%,#1a201c 65%);border:1px solid #353e31;border-radius:12px;flex-direction:column;min-width:0;padding:20px 22px 0;display:flex;position:relative;overflow:hidden;box-shadow:0 12px 25px #00000014}.hero-card:before{content:"";background:linear-gradient(90deg,#0000,#d3bc7b55,#0000);height:1px;position:absolute;top:0;left:22px;right:22px}.hero-header{justify-content:space-between;align-items:center;gap:8px;min-height:45px;display:flex}.hero-identity{text-align:left;background:0 0;flex:1;align-items:center;gap:11px;min-width:0;min-height:44px;padding:0;display:flex}.hero-sigil{color:#b8ae8d;background:#d5b7770b;border:1px solid #60604777;border-radius:6px;flex-shrink:0;justify-content:center;align-items:center;width:35px;height:40px;font-family:Georgia,serif;font-size:25px;display:flex}.hero-identity>span:nth-child(2){min-width:0}.hero-identity strong{text-overflow:ellipsis;white-space:nowrap;letter-spacing:-.4px;max-width:210px;font-size:17px;font-weight:550;display:block;overflow:hidden}.hero-identity .eyebrow{letter-spacing:1.6px;margin-bottom:2px;font-size:8px}.edit-hint{color:#78816e;opacity:0}.hero-identity:hover .edit-hint{opacity:1}.hero-life{font-variant-numeric:tabular-nums;white-space:nowrap;align-items:center;gap:5px;font-size:12px;display:flex}.hero-life svg{color:#9dad90;margin-right:2px}.hero-life strong{color:#c3d0b6;font-weight:500}.hero-life>span{color:#828d7b;font-size:10px}.life-track{background:#333a2e;border-radius:3px;height:3px;margin-top:15px;overflow:hidden}.life-track>div{background:linear-gradient(90deg,#77895d,#adbb8c);border-radius:3px;height:100%;transition:width .25s}.damage-section{flex-direction:column;flex:1;justify-content:center;align-items:center;min-height:190px;padding:25px 0 23px;display:flex}.damage-reading{text-align:center}.damage-reading .eyebrow{letter-spacing:2.4px;font-size:9px}.damage-reading output{letter-spacing:-2px;color:#b8c0ad;font-variant-numeric:tabular-nums;font-family:Barlow Condensed,sans-serif;font-size:100px;font-weight:500;line-height:1.05;transition:color .2s;display:block}.damage-reading output.has-damage{color:#e3a097}.damage-control{gap:10px;width:100%;max-width:280px;margin-top:20px;display:flex}.damage-button{color:#c0c9b5;font-variant-numeric:tabular-nums;background:#2a3326;border:1px solid #3e4938;border-radius:7px;flex:1;justify-content:center;align-items:center;gap:15px;min-height:52px;display:flex}.damage-button svg{width:19px;height:19px}.damage-button span{font-size:14px}.damage-button.add{color:#f0b3a6;background:#49342e;border-color:#69433a}.damage-button.add:hover{background:#5d4036;border-color:#956152}.damage-button.subtract:hover{background:#39442f}.status-row{border-top:1px solid #34402f;align-items:center;gap:8px;min-height:61px;padding:8px 0;display:flex}.status-list{scrollbar-width:thin;flex:1;align-items:center;gap:6px;min-width:0;padding:3px 0;display:flex;overflow-x:auto}.status-chip{--marker:#a8b998;border:1px solid color-mix(in srgb,var(--marker) 25%,transparent);background:color-mix(in srgb,var(--marker) 7%,transparent);min-height:34px;color:var(--marker);white-space:nowrap;border-radius:5px;flex-shrink:0;align-items:center;gap:6px;padding:0 9px;font-size:10px;display:flex}.status-chip strong{font-variant-numeric:tabular-nums;margin-left:2px;font-size:12px}.empty-status{color:#76806f;white-space:nowrap;align-items:center;gap:8px;font-size:11px;display:flex}.add-status{color:#adb99b;background:#293225;border:1px solid #3b4633;border-radius:5px;width:34px;height:34px}.hero-footer{border-top:1px solid #30392d;justify-content:space-between;align-items:center;gap:8px;min-height:57px;display:flex}.hero-stats,.hero-actions{align-items:center;gap:5px;display:flex}.hero-stats button{color:#94a08a;font-variant-numeric:tabular-nums;background:0 0;border-radius:4px;align-items:center;gap:4px;min-height:40px;padding:5px;font-size:11px;display:flex}.hero-stats button:hover{color:#d1dbc4;background:#303b29}.hero-stats button:nth-child(2){color:#bfa771}.hero-actions button{color:#a3ad99;background:0 0;border-radius:5px;align-items:center;gap:5px;min-height:40px;padding:6px 9px;font-size:10px;display:flex}.hero-actions button:hover{background:#303a2a}.hero-actions button.used,.hero-actions button.ability-used{color:#acc58e}.hero-at-limit{border-color:#84534b}.hero-at-limit .life-track>div{background:var(--red)}.limit-notice{color:#e5b6aa;background:#5c37312b;border-radius:4px;justify-content:center;align-items:center;gap:6px;padding:5px;font-size:9px;display:flex;position:absolute;top:85px;left:22px;right:22px}.turn-bar{background:#1b211b;border:1px solid #363e30;border-radius:9px;justify-content:space-between;align-items:center;gap:12px;min-height:84px;padding:0 20px;display:flex}.turn-meta{align-items:center;gap:12px;min-width:0;display:flex}.live-dot{background:var(--gold);border-radius:50%;flex-shrink:0;width:7px;height:7px;box-shadow:0 0 0 5px #d5b7770b}.turn-meta .eyebrow{letter-spacing:1.6px;font-size:8px}.turn-meta strong{white-space:nowrap;text-overflow:ellipsis;max-width:320px;margin-top:4px;font-size:14px;font-weight:500;display:block;overflow:hidden}.turn-count{color:#757f6d}.turn-actions{align-items:center;gap:25px;display:flex}.undo-button{color:#a1ac95;background:0 0;align-items:center;gap:8px;min-height:44px;font-size:11px;display:flex}.next-turn-button{background:var(--gold);color:#292a1e;border-radius:6px;justify-content:center;align-items:center;gap:20px;min-width:175px;min-height:44px;padding:0 18px;font-size:12px;font-weight:650;display:flex}.next-turn-button:hover{background:#e4c78c}.bottom-note{color:#6f7967;justify-content:space-between;align-items:center;gap:10px;height:58px;font-size:9px;display:flex}.bottom-note>span{align-items:center;gap:6px;display:flex}.note-dot{padding:0 4px}.portrait-hint{display:none}.dialog{width:min(440px,100vw - 30px);max-height:calc(100dvh - 28px);color:var(--text);scrollbar-width:thin;overscroll-behavior:contain;background:#1b211c;border:1px solid #4a503e;border-radius:12px;margin:auto;padding:0;overflow:auto;box-shadow:0 24px 100px #0008}.dialog::backdrop{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#060a07cc}.dialog-wide{width:min(700px,100vw - 30px)}.dialog-header{z-index:2;background:#1b211cf5;border-bottom:1px solid #343c2f;justify-content:space-between;align-items:center;gap:20px;padding:20px 23px 15px;display:flex;position:sticky;top:0}.dialog-header h2{letter-spacing:-.6px;margin:3px 0 0;font-size:21px;font-weight:500}.dialog-header .eyebrow{color:#baa475;font-size:8px}.dialog-body{padding:19px 23px 23px}.dialog-body>p:first-child{margin-top:0}.field-label{color:#c0c7b6;flex-direction:column;gap:8px;margin-bottom:18px;font-size:11px;display:flex}.field-label input,.field-label select{width:100%;color:var(--text);background:#131a14;border:1px solid #404a37;border-radius:6px;min-height:44px;padding:12px 13px}.field-label input[type=number]{font-variant-numeric:tabular-nums}.muted{color:var(--muted);font-size:12px;line-height:1.7}.small{font-size:10px}.button{color:#d0d9c3;background:#2c3928;border:1px solid #45523a;border-radius:6px;justify-content:center;align-items:center;gap:8px;min-height:44px;padding:10px 15px;font-size:11px;font-weight:550;text-decoration:none;display:inline-flex}.button:hover{background:#39492f}.button.primary{background:var(--gold);border-color:var(--gold);color:#2b2c20}.button.primary:hover{background:#e3c68b}.button.subtle{color:#a9b39e;background:0 0;border-color:#394332}.button.danger{color:#f1c4b7;background:#703f36;border-color:#835047}.button.compact{min-height:37px;padding:6px 12px;font-size:10px}.full-width{width:100%}.dialog-actions{justify-content:space-between;align-items:center;gap:10px;margin-top:22px;display:flex}.marker-grid{grid-template-columns:1fr 1fr;gap:8px;display:grid}.marker-option{text-align:left;background:#222b21;border:1px solid #394132;border-radius:7px;align-items:center;gap:12px;min-height:70px;padding:13px;display:flex}.marker-option:hover{border-color:var(--marker);background:#2d3729}.marker-option-icon{color:var(--marker);flex-shrink:0;justify-content:center;align-items:center;width:34px;display:flex}.marker-option strong{font-size:12px;font-weight:550;display:block}.marker-option small{color:var(--muted);margin-top:4px;font-size:9px;display:block}.marker-option-value{color:var(--marker);margin-left:auto;font-size:16px}.back-link{color:var(--muted);background:0 0;align-items:center;gap:2px;min-height:30px;margin:-7px 0 2px;padding:0;font-size:10px;display:flex}.marker-editor{color:var(--marker);flex-direction:column;align-items:center;padding:12px 0;display:flex}.marker-large-icon{background:color-mix(in srgb,var(--marker) 8%,transparent);border:1px solid color-mix(in srgb,var(--marker) 20%,transparent);border-radius:13px;justify-content:center;align-items:center;width:56px;height:56px;display:flex}.marker-stepper{align-items:center;gap:28px;margin:15px 0 7px;display:flex}.marker-stepper button{width:48px;height:48px;color:var(--marker);background:#2b3528;border:1px solid #49503f;border-radius:8px;justify-content:center;align-items:center;display:flex}.marker-stepper output{text-align:center;font-variant-numeric:tabular-nums;min-width:80px;font-family:Barlow Condensed,sans-serif;font-size:48px}.rule-description{color:#aab59f;margin:12px 0 20px;font-size:12px;line-height:1.75}.notice{color:#cbbd98;background:#d5b7770b;border:1px solid #78684255;border-radius:6px;padding:12px;font-size:11px;line-height:1.7}.check-label{align-items:center;gap:10px;min-height:44px;margin-top:16px;font-size:11px;line-height:1.5;display:flex}.check-label input{width:18px;height:18px;accent-color:var(--gold)}.phase-steps{color:#697760;letter-spacing:1px;align-items:center;gap:15px;margin:0 0 20px;font-family:Barlow Condensed,sans-serif;font-size:11px;display:flex}.phase-steps>div{background:#424a38;flex:1;height:1px}.phase-steps>span{align-items:center;gap:8px;display:flex}.phase-steps span span{letter-spacing:0;font-family:DM Sans,sans-serif;font-size:10px}.phase-steps .current{color:var(--gold)}.phase-steps .complete{color:var(--green)}.upkeep-list{flex-direction:column;gap:10px;display:flex}.upkeep-item{background:#222b21;border:1px solid #3b4633;border-radius:7px;padding:14px}.upkeep-item.resolved{opacity:.6}.upkeep-item-title{align-items:center;gap:10px;display:flex}.upkeep-item-title>div{flex:1}.upkeep-item-title strong{font-size:12px;font-weight:550;display:block}.upkeep-item-title span{color:var(--muted);margin-top:4px;font-size:10px;display:block}.upkeep-item-title .damage-amount{color:var(--red);font-family:Barlow Condensed,sans-serif;font-size:22px}.upkeep-item-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;margin-top:12px;display:flex}.discard-control{color:var(--muted);align-items:center;gap:8px;margin-right:auto;font-size:10px;display:flex}.discard-control button{background:#343d2e;border:1px solid #47523c;border-radius:4px;justify-content:center;align-items:center;width:30px;height:34px;display:flex}.discard-control output{text-align:center;min-width:15px;color:var(--text)}.text-button{color:#a9b49c;background:0 0;align-items:center;gap:7px;min-height:34px;padding:4px;font-size:10px;display:inline-flex}.text-button:hover{text-decoration:underline}.empty-phase{color:#8fa47e;text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:10px;min-height:150px;padding:30px 12px;display:flex}.empty-phase strong{color:#c6d2ba;font-size:13px;font-weight:500}.empty-phase span{color:var(--muted);font-size:11px}.setup-grid{grid-template-columns:1fr 1fr;gap:15px;margin:15px 0 20px;display:grid}.setup-check{align-items:flex-start;gap:10px;display:flex}.setup-check>span{color:#b9c3a6;background:#303c27;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:24px;height:24px;font-size:10px;display:flex}.setup-check strong{font-size:11px;font-weight:550}.setup-check p{color:var(--muted);margin:4px 0;font-size:10px;line-height:1.6}.timer-summary{background:#252f22;border:1px solid #445137;border-radius:7px;padding:15px}.timer-summary>div{color:#bdcca8;align-items:center;gap:8px;font-size:12px;display:flex}.timer-summary p{color:#a5b497;font-size:11px;line-height:1.7}.timer-summary .button{min-height:36px}.success{color:var(--green)}.rules-columns{grid-template-columns:1fr 1fr;gap:26px;display:grid}.rules-columns h3{color:#d2c5a2;margin:0 0 8px;font-size:12px;font-weight:550}.rules-columns p{color:#a9b39f;margin:0 0 20px;font-size:11px;line-height:1.8}.rule-source{width:fit-content;color:var(--gold);align-items:center;gap:8px;min-height:40px;font-size:11px;text-decoration:none;display:flex}.reset-section{border-top:1px solid #38432e;margin-top:24px;padding-top:15px}.reset-section p{color:#b6bcab;font-size:11px;line-height:1.6}.danger-text{color:#d29d8f}.history-list{flex-direction:column;display:flex}.history-item{border-bottom:1px solid #323b2b;align-items:center;gap:14px;padding:12px 0;display:flex}.history-item>span{color:#7e8d71;font-family:Barlow Condensed,sans-serif;font-size:13px}.history-item p{color:#c4cbb9;margin:0;font-size:11px;line-height:1.6}.toast{z-index:10;white-space:nowrap;background:#2c3828;border:1px solid #66754f;border-radius:8px;align-items:center;gap:9px;max-width:calc(100vw - 30px);padding:13px 18px;font-size:11px;display:flex;position:fixed;bottom:24px;left:50%;transform:translate(-50%);box-shadow:0 5px 30px #0006}@media (width>=1000px) and (height>=700px){.app-shell{max-height:1000px}.hero-card{min-height:380px}.damage-section{padding-top:30px;padding-bottom:30px}.damage-reading output{font-size:112px}}@media (width<=1000px){.app-shell{padding:0 22px}.hero-card{padding:15px 17px 0}.hero-identity strong{max-width:165px}.hero-footer{gap:2px}.hero-actions button{padding:5px 6px}.turn-bar{min-height:74px}.hero-grid{gap:14px}}@media (orientation:landscape) and (height<=600px){:root{font-size:12px}.app-shell{height:100dvh;min-height:320px;padding-left:max(18px,env(safe-area-inset-left));padding-right:max(18px,env(safe-area-inset-right));padding-top:env(safe-area-inset-top);padding-bottom:max(6px,env(safe-area-inset-bottom));max-width:1200px}.app-header{gap:12px;height:49px;min-height:49px}.brand{gap:8px}.brand-mark{font-size:30px}.brand strong{letter-spacing:2px;font-size:19px}.brand-companion{letter-spacing:1.5px;font-size:11px}.brand-divider{margin:0 7px}.brand small{letter-spacing:2.8px;margin-top:3px;font-size:6px}.header-actions{gap:1px}.icon-button{width:36px;height:36px}.header-actions .icon-button svg{width:16px;height:16px}.saved-state{gap:5px;margin-right:9px;font-size:8px}.desktop-intro{display:none}.table-toolbar{flex-shrink:0;height:42px;min-height:42px}.step-control{gap:7px}.step-control>span{letter-spacing:1.4px;font-size:7px}.step-control>div{gap:2px;padding:2px}.step-control button{min-width:30px;min-height:26px;padding:5px 9px;font-size:9px}.battlefield{min-height:0;padding:10px 0}.hero-grid{gap:12px}.hero-card{border-radius:8px;min-height:0;padding:9px 13px 0}.hero-card:before{left:13px;right:13px}.hero-header{min-height:34px}.hero-identity{gap:8px;min-height:34px}.hero-sigil{border-radius:4px;width:27px;height:30px;font-size:22px}.hero-identity .eyebrow{letter-spacing:1.4px;margin-bottom:0;font-size:6px}.hero-identity strong{letter-spacing:-.25px;max-width:200px;font-size:14px}.hero-life{gap:3px;font-size:11px}.hero-life>span{font-size:9px}.hero-life svg{width:12px;height:12px}.life-track{height:2px;margin-top:7px}.damage-section{flex-direction:row;justify-content:space-between;gap:12px;min-height:0;padding:5px 0 7px}.damage-reading{flex:1;min-width:82px}.damage-reading .eyebrow{letter-spacing:2px;font-size:7px}.damage-reading output{letter-spacing:-1px;font-size:65px;line-height:.98}.damage-control{flex:1.35;gap:8px;width:auto;max-width:205px;margin:0}.damage-button{border-radius:6px;gap:9px;min-height:48px}.damage-button svg{width:17px;height:17px}.damage-button span{font-size:12px}.status-row{gap:6px;height:43px;min-height:43px;padding:4px 0}.status-list{gap:5px;padding:1px 0}.status-chip{gap:5px;min-height:30px;padding:0 7px;font-size:9px}.status-chip svg{width:13px;height:13px}.status-chip strong{font-size:10px}.empty-status{gap:6px;font-size:9px}.empty-status svg{width:13px;height:13px}.add-status{width:32px;height:32px}.hero-footer{gap:2px;min-height:37px}.hero-stats{gap:4px}.hero-stats button{gap:4px;min-height:34px;padding:4px;font-size:10px}.hero-stats svg{width:12px;height:12px}.hero-actions{gap:2px}.hero-actions button{gap:4px;min-height:34px;padding:4px 6px;font-size:9px}.hero-actions svg{width:12px;height:12px}.turn-bar{border-radius:7px;flex-shrink:0;height:53px;min-height:53px;padding:0 14px}.turn-meta{gap:10px}.turn-meta .eyebrow{letter-spacing:1.3px;font-size:7px}.turn-meta strong{max-width:260px;margin-top:1px;font-size:11px}.live-dot{width:5px;height:5px}.turn-actions{gap:20px}.undo-button{gap:6px;min-height:40px;font-size:9px}.undo-button svg{width:14px;height:14px}.next-turn-button{gap:15px;min-width:151px;min-height:36px;padding:0 13px;font-size:10px}.next-turn-button svg{width:15px;height:15px}.bottom-note{display:none}.limit-notice{z-index:1;padding:3px;font-size:7px;top:49px;left:13px;right:13px}.hero-at-limit .damage-reading .eyebrow{visibility:hidden}.dialog{width:min(460px,100vw - 32px);max-height:calc(100dvh - 20px)}.dialog-wide{width:min(690px,100vw - 32px)}.dialog-header{padding:12px 20px 10px}.dialog-header h2{font-size:18px}.dialog-header .icon-button{width:32px;height:32px}.dialog-body{padding:13px 20px 17px}.marker-grid{grid-template-columns:repeat(3,1fr);gap:6px}.marker-option{gap:7px;min-height:55px;padding:8px}.marker-option-icon{width:25px}.marker-option-icon svg{width:18px;height:18px}.marker-option strong{font-size:10px}.marker-option small{margin-top:3px;font-size:8px}.marker-option-value{font-size:13px}.marker-editor{flex-direction:row;justify-content:center;gap:20px;padding:3px 0}.marker-large-icon{border-radius:9px;width:45px;height:45px}.marker-large-icon svg{width:24px;height:24px}.marker-stepper{gap:12px;margin:3px 0}.marker-stepper output{min-width:60px;font-size:40px}.marker-stepper button{width:42px;height:42px}.rule-description{margin:9px 0 12px;font-size:11px;line-height:1.6}.field-label{gap:5px;margin-bottom:11px;font-size:10px}.field-label input,.field-label select{min-height:38px;padding:8px 10px}.dialog-actions{margin-top:14px}.button{min-height:38px;padding:8px 12px;font-size:10px}.phase-steps{margin-bottom:12px}.muted{font-size:11px}.small{font-size:9px}.upkeep-list{gap:7px}.upkeep-item{padding:10px 12px}.upkeep-item-actions{margin-top:7px}.empty-phase{min-height:100px;padding:15px 12px}.setup-grid{gap:8px;margin:10px 0 13px}.timer-summary{padding:11px}.rules-columns p{margin-bottom:12px;font-size:10px}.check-label{min-height:32px;margin-top:9px;font-size:10px}.notice{padding:9px;font-size:10px}.toast{bottom:13px}.reset-section{margin-top:15px;padding-top:10px}}@media (orientation:landscape) and (height<=360px){.app-header{height:42px;min-height:42px}.table-toolbar{height:37px;min-height:37px}.battlefield{padding:7px 0}.hero-card{padding-top:6px}.hero-header,.hero-identity{min-height:29px}.hero-sigil{width:24px;height:26px;font-size:19px}.hero-identity strong{font-size:12px}.hero-identity .eyebrow{font-size:5px}.life-track{margin-top:5px}.damage-reading output{font-size:52px}.damage-button{min-height:44px}.status-row{height:38px;min-height:38px}.hero-footer{min-height:33px}.hero-actions button,.hero-stats button{min-height:31px}.turn-bar{height:46px;min-height:46px}.next-turn-button{min-height:34px}.limit-notice{top:43px}}@media (width<=740px) and (orientation:landscape){.saved-state,.hero-actions button span{display:none}.hero-actions button{justify-content:center;width:31px}.hero-stats{gap:2px}.hero-identity strong{max-width:140px}.brand-companion{font-size:10px}.hero-card{padding-left:11px;padding-right:11px}.hero-life{font-size:10px}}@media (orientation:portrait) and (width<=700px){.app-shell{padding:0 max(16px,env(safe-area-inset-left)) 16px;min-height:100svh}.app-header{gap:8px;height:65px}.brand{gap:7px}.brand-mark{font-size:31px}.brand strong{font-size:21px}.brand-companion,.brand-divider{display:none}.brand small{letter-spacing:2.5px;font-size:6px}.header-actions{gap:0}.header-actions .icon-button{width:34px;height:40px}.saved-state{display:none}.desktop-intro{padding:22px 0 17px}.desktop-intro h1{font-size:29px}.desktop-intro p{display:none}.desktop-intro .eyebrow{font-size:7px}.table-toolbar{gap:5px;min-height:55px}.step-control{gap:5px}.step-control>span{display:none}.step-control button{min-width:29px;padding:6px 8px;font-size:10px}.hero-grid{grid-template-columns:1fr;gap:13px}.battlefield{padding:16px 0}.hero-card{min-height:272px;padding:13px 16px 0}.hero-identity strong{max-width:200px}.damage-section{flex-direction:row;gap:15px;min-height:110px;padding:12px 0}.damage-reading{flex:1}.damage-reading output{font-size:76px}.damage-reading .eyebrow{font-size:8px}.damage-control{flex:1.5;gap:8px;margin:0}.damage-button{gap:8px;min-height:54px}.life-track{margin-top:9px}.hero-footer{min-height:45px}.status-row{min-height:49px}.hero-actions button{padding:4px 7px}.turn-bar{z-index:3;min-height:67px;padding:0 13px;position:sticky;bottom:10px;box-shadow:0 8px 25px #0007}.turn-meta{gap:9px}.turn-meta strong{max-width:125px;font-size:12px}.turn-meta .eyebrow{letter-spacing:1px;font-size:6px}.turn-actions{gap:10px}.undo-button{justify-content:center;width:32px}.undo-button span{display:none}.next-turn-button{gap:9px;min-width:0;padding:0 12px;font-size:10px}.next-turn-button svg{width:15px;height:15px}.bottom-note{justify-content:center;height:38px;font-size:8px}.bottom-note>span:nth-child(2){display:none}.portrait-hint{color:#78856d;justify-content:center;align-items:center;gap:7px;padding-bottom:5px;font-size:9px;display:flex}.rules-columns{grid-template-columns:1fr;gap:0}.dialog-header{padding:16px 18px 12px}.dialog-body{padding:16px 18px 20px}.marker-option{gap:6px;min-height:64px;padding:10px}.marker-option-icon{width:27px}.marker-option strong{font-size:11px}.marker-option small{font-size:8px}.upkeep-item-actions{gap:7px}.discard-control{width:100%;margin-bottom:4px}.setup-grid{grid-template-columns:1fr;gap:12px}.dialog-actions .button{padding:9px 11px;font-size:10px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}.marker-fine-step{justify-content:center;align-items:center;gap:5px;margin:7px 0 12px;display:flex}.marker-fine-step>span{color:var(--muted);margin-right:7px;font-size:9px}.marker-fine-step button{min-height:34px;color:var(--muted);background:0 0;border:1px solid #404b36;border-radius:4px;padding:7px 10px;font-size:10px}.marker-fine-step button.selected{color:var(--gold);background:#39452d}.fullscreen-toggle{position:relative}.fullscreen-toggle.screen-awake{color:var(--gold)}.wake-lock-dot{background:var(--green);width:5px;height:5px;box-shadow:0 0 0 2px var(--bg);border-radius:50%;position:absolute;bottom:6px;right:5px}.table-heading{color:var(--gold);align-items:center;gap:9px;min-width:0;font-size:13px;font-weight:550;display:flex}.table-heading svg{opacity:.7}.ability-reset-section{border-top:1px solid var(--line);margin-top:20px;padding-top:15px}.ability-reset-section h3{color:#d2c5a2;margin:0 0 8px;font-size:12px;font-weight:550}@media (orientation:landscape) and (height<=600px){.table-heading{gap:7px;font-size:11px}.table-heading svg{width:14px;height:14px}}.removal-note{color:#aebaa0;background:#28312080;border-left:2px solid #66714e;margin:0 0 16px;padding:9px 12px;font-size:10px;line-height:1.7}.removal-note strong{color:#d0d6c2;margin-bottom:4px;font-size:10px;font-weight:550;display:block}.bleeding-options{border:0;grid-template-columns:1fr 1fr;gap:8px;min-width:0;margin:13px 0 8px;padding:0;display:grid}.bleeding-options legend{color:#e6c2b9;margin-bottom:9px;padding:0;font-size:12px;font-weight:550}.bleeding-options label{cursor:pointer;background:#283025;border:1px solid #53503d;border-radius:6px;align-items:center;gap:9px;min-height:53px;padding:9px 11px;display:flex}.bleeding-options label.selected{border-color:var(--gold);background:#d5b77710}.bleeding-options input{width:17px;height:17px;accent-color:var(--gold);flex-shrink:0;margin:0}.bleeding-options strong{font-size:11px;font-weight:550;display:block}.bleeding-options small{color:var(--muted);margin-top:4px;font-size:9px;display:block}.bleeding-preview{background:#12191266;border:1px solid #3e4934;border-radius:5px;margin:10px 0 0;padding:9px 12px;font-size:10px;line-height:1.7}.bleeding-preview span{color:#b8c5a8;display:block}.bleeding-preview strong{color:#e3b4a7;font-weight:500;display:block}.decision-required{white-space:nowrap;color:var(--gold)!important;font-size:10px!important}.bleeding-decision .discard-control{margin:9px 0}.bleeding-decision .discard-control button{width:38px;height:38px}@media (orientation:landscape) and (height<=600px){.removal-note{margin-bottom:12px;padding:7px 10px;font-size:9px}.bleeding-options{margin-top:10px}.bleeding-options label{min-height:48px;padding:8px}.bleeding-options strong{font-size:10px}.bleeding-options small{font-size:8px}.bleeding-options legend{font-size:11px}.bleeding-preview{padding:7px 10px}}@media (width<=390px) and (orientation:portrait){.bleeding-options{grid-template-columns:1fr}}
