.game-screen{position:relative;height:100vh;height:100dvh;display:grid;gap:6px;padding:6px}.players-2{grid-template-rows:1fr 1fr;grid-template-areas:"seat1" "seat0"}.players-3{grid-template-rows:1fr 1fr;grid-template-columns:1fr 1fr;grid-template-areas:"seat2 seat1" "seat0 seat0"}.players-4{grid-template-rows:1fr 1fr;grid-template-columns:1fr 1fr;grid-template-areas:"seat3 seat2" "seat0 seat1"}.seat-0{grid-area:seat0}.seat-1{grid-area:seat1}.seat-2{grid-area:seat2}.seat-3{grid-area:seat3}.players-2 .seat-1,.players-3 .seat-1,.players-3 .seat-2,.players-4 .seat-2,.players-4 .seat-3{transform:rotate(180deg)}.zone{position:relative;display:flex;flex-direction:column;align-items:center;gap:4px;border:2px solid #33333d;border-radius:14px;padding:8px;background:#101014b8;overflow:hidden;min-height:0}.zone--active{border-color:var(--accent);animation:zone-pulse 2.4s ease-in-out infinite}@keyframes zone-pulse{0%,to{box-shadow:0 0 #c8a84b59}50%{box-shadow:0 0 18px 2px #c8a84b8c}}.zone--dead{filter:grayscale(.9) brightness(.55)}.dead-overlay{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;font-size:1.4rem;letter-spacing:.3em;color:#c0392b;background:#00000073;pointer-events:none}.zone-header{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;padding:2px 6px;flex:0 0 auto;cursor:pointer}.zone-id{display:flex;align-items:center;gap:8px;min-width:0}.zone-name{font-weight:600}.avatar--small{width:34px;height:34px}.life-counter{display:flex;align-items:center;gap:6px;border-radius:999px;padding:2px 6px;transition:background .3s;flex:0 0 auto}.life-counter.flash-up{background:#27ae6059}.life-counter.flash-down{background:#c0392b66}.life-total{font-size:clamp(1.6rem,4vw,2.4rem);font-weight:800;line-height:1;min-width:2.2ch;text-align:center}.life-btn{width:44px;height:44px;border-radius:50%;font-size:1.3rem;line-height:1;padding:0;flex:0 0 auto}.cmd-strip{display:flex;gap:6px}.cmd-bubble{display:flex;flex-direction:column;align-items:center;padding:4px 10px;border-radius:10px;background:#1d1d24;font-size:.8rem}.cmd-value{font-weight:700;font-size:1rem}.board-strip-slot{width:100%}.board-strip{display:flex;flex-wrap:wrap;gap:8px;width:100%;overflow-y:auto;padding:4px 6px;align-items:flex-start;align-content:flex-start;flex:1;min-height:0}.board-item{display:flex;flex-direction:column;align-items:center;gap:2px;flex:0 0 auto}.thumb{position:relative;width:58px;height:80px;padding:0;border-radius:6px;overflow:hidden;background:#22222a}.thumb img{width:100%;height:100%;object-fit:cover}.thumb-placeholder{display:flex;align-items:center;justify-content:center;width:100%;height:100%;font-size:.6rem;padding:2px;word-break:break-word}.color-W{background:#e8e3d0;color:#222}.color-U{background:#1f4e79}.color-B{background:#2b2b2b}.color-R{background:#7c2a1e}.color-G{background:#2a5c3a}.color-C{background:#4a4a55}.pt-badge{position:absolute;bottom:2px;right:2px;background:#000000c7;border-radius:4px;padding:1px 4px;font-size:.7rem;font-weight:700}.count-controls{display:flex;align-items:center;gap:4px}.count-controls button{padding:2px 8px;border-radius:6px;line-height:1.2}.count-badge{font-weight:700;font-size:.85rem;min-width:26px;text-align:center}.add-tile{flex:0 0 auto;width:58px;height:80px;font-size:1.8rem;border-style:dashed;border-radius:6px}.card-image{width:min(240px,60vw);border-radius:10px;align-self:center}.type-line{opacity:.85}.oracle-text{text-align:left;white-space:pre-wrap;line-height:1.5}button.term{display:inline;padding:0 2px;border:none;background:none;color:var(--accent);text-decoration:underline;font:inherit}.term-popover{border:1px solid var(--accent);border-radius:10px;padding:10px;background:#141418;text-align:left}.detail-row{display:flex;align-items:center;justify-content:space-between;gap:10px}.stepper{display:flex;align-items:center;gap:8px}.stepper button{padding:4px 12px}.chip-row{display:flex;flex-wrap:wrap;gap:6px;justify-content:center}.chip{padding:6px 10px;font-size:.8rem;border-radius:999px}.chip--recent{border-color:var(--accent)}.split-label{flex-direction:row;align-items:center;gap:8px}.split-label input{width:64px;text-align:center}.pt-inputs{display:flex;gap:10px;justify-content:center}.pt-inputs input{width:80px;text-align:center}.color-swatches{display:flex;gap:8px;justify-content:center}.swatch{width:34px;height:34px;border-radius:50%;padding:0}.swatch.selected{outline:3px solid var(--accent)}.swatch-W{background:#e8e3d0}.swatch-U{background:#1f4e79}.swatch-B{background:#2b2b2b}.swatch-R{background:#7c2a1e}.swatch-G{background:#2a5c3a}.swatch-C{background:#8c8c99}.custom-token-form{display:flex;flex-direction:column;gap:12px}.center-hub{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:20;display:flex;flex-direction:column;align-items:center;gap:6px;background:#101014eb;border:1px solid #3a3a44;border-radius:999px;padding:14px 18px;box-shadow:0 4px 24px #0009}.hub-turn{display:flex;flex-direction:column;align-items:center;line-height:1.2}.hub-turn-number{font-size:.75rem;opacity:.7;text-transform:uppercase;letter-spacing:.1em}.hub-active{font-weight:700;color:var(--accent)}.hub-pass{background:var(--accent);color:#141410;font-weight:700;border:none;padding:8px 18px}.rule-results{list-style:none;margin:0;padding:0;text-align:left;display:flex;flex-direction:column;gap:10px;overflow-y:auto}.rule-results p{margin:2px 0 0;white-space:pre-wrap}.dice-result{font-size:2rem;font-weight:800;color:var(--accent)}.land-bg{position:absolute;top:0;right:0;bottom:0;left:0;z-index:0;overflow:hidden;border-radius:12px}.land-layer{position:absolute;top:0;right:0;bottom:0;left:0;background-size:cover;background-position:center;filter:brightness(.35) saturate(.9);opacity:0;transition:opacity 2s ease-in-out}.land-layer--current{opacity:1}.zone,.center-hub{position:relative}.center-hub{position:absolute}@media (max-width: 520px){.players-2,.players-3,.players-4{grid-template-columns:1fr;grid-template-rows:none;grid-auto-rows:minmax(180px,auto);grid-template-areas:none}.players-2 .zone,.players-3 .zone,.players-4 .zone{grid-area:auto;transform:none}.game-screen{height:auto;min-height:100dvh}.center-hub{position:sticky;bottom:8px;top:auto;left:auto;transform:none;align-self:center;order:99}}.lands-row{width:100%;flex:0 0 auto;display:flex;flex-direction:column;gap:4px;border-top:1px solid rgba(255,255,255,.08);padding:4px 6px 2px}.mana-summary{display:flex;align-items:center;gap:6px;font-size:.72rem}.lands-total{color:#8c8c99;text-transform:uppercase;letter-spacing:.08em}.mana-pip{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;border-radius:50%;font-weight:700;font-size:.72rem;color:#141410;padding:0 4px}.mana-W{background:#e8e3d0}.mana-U{background:#5a9bd4}.mana-B{background:#9a8fa8}.mana-R{background:#d4705a}.mana-G{background:#6aa877}.mana-C{background:#a8a8b2}.mana-any{background:linear-gradient(135deg,#e8e3d0,#5a9bd4,#6aa877)}.lands-stacks{display:flex;align-items:center;gap:6px;overflow-x:auto}.land-stack{position:relative;width:40px;height:56px;padding:0;border-radius:5px;overflow:hidden;background:#22222a;flex:0 0 auto}.land-stack img{width:100%;height:100%;object-fit:cover}.land-stack .count-badge{position:absolute;bottom:2px;right:2px;background:#000c;border-radius:4px;padding:0 3px;font-size:.7rem}.land-stack-name{font-size:.55rem;padding:2px;word-break:break-word}.basic-adds{display:flex;gap:4px;margin-left:auto;flex:0 0 auto}.basic-add{width:34px;height:34px;border-radius:50%;padding:0;font-weight:700;color:#141410;border:none}.basic-add.land-search{background:#26262e;color:var(--fg);font-size:.8rem}.focus-mode{display:flex;flex-direction:column}.focus-mode .zone{grid-area:unset}.focus-mode .zone--focused{flex:1;min-height:0}.focus-mode .zone:not(.zone--focused){flex:0 0 auto}.focus-mode .zone:not(.zone--focused) .lands-stacks{display:none}.focus-mode .zone:not(.zone--focused) .board-strip{flex:0 0 auto;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;min-height:0;padding:2px 6px;gap:6px}.focus-mode .zone:not(.zone--focused) .thumb{width:30px;height:42px}.focus-mode .zone:not(.zone--focused) .pt-badge{font-size:.55rem;padding:0 2px}.focus-mode .zone:not(.zone--focused) .count-badge{font-size:.65rem;min-width:auto}.focus-mode .zone:not(.zone--focused) .count-controls button,.focus-mode .zone:not(.zone--focused) .stack-remove,.focus-mode .zone:not(.zone--focused) .add-tile{display:none}.focus-mode .zone:not(.zone--focused) .lands-row{border-top:none;padding-top:0}.stack-remove{position:relative;padding:2px 7px;border-radius:6px;color:#b06a60;border-color:#4a2d28;line-height:1.2}.stack-remove.show-hint:after{content:"Hold to remove";position:absolute;bottom:calc(100% + 4px);left:50%;transform:translate(-50%);background:#000000e6;padding:3px 8px;border-radius:6px;font-size:.65rem;white-space:nowrap;z-index:5}.preview-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px;overflow-y:auto}.preview-card{display:flex;flex-direction:column;gap:6px;padding:8px;align-items:stretch}.preview-card img{width:100%;aspect-ratio:4 / 3;object-fit:cover;border-radius:8px}.preview-placeholder{width:100%;aspect-ratio:4 / 3;border-radius:8px;background:#26262e}.preview-name{font-size:.8rem;line-height:1.25}input[type=range]{width:150px;accent-color:var(--accent)}.zone-chips{display:flex;align-items:center;gap:4px}.player-chip{background:#1d1d24;border:1px solid #33333d;border-radius:999px;padding:2px 8px;font-size:.72rem;white-space:nowrap}.chip-poison{border-color:#6aa877;color:#8fd4a0}.player-more{padding:4px 10px;border-radius:999px;font-size:.8rem;line-height:1.2}.badge-monarch,.badge-initiative{font-size:.95rem}.mana-pip--mini{min-width:10px;width:10px;height:10px;padding:0;display:inline-block}.hint-inline{opacity:.55;font-weight:400}.badge-btn.active{border-color:var(--accent);color:var(--accent)}.land-stack--partial img,.land-stack--partial .land-stack-name{opacity:.75}.land-stack--tapped{transform:rotate(8deg)}.land-stack--tapped img,.land-stack--tapped .land-stack-name{opacity:.4;filter:grayscale(.6)}.land-stack--oneshot{outline:1px dashed var(--accent);outline-offset:1px}.tapped-badge{position:absolute;top:2px;left:2px;background:#000c;color:var(--accent);border-radius:4px;padding:0 3px;font-size:.65rem}.untap-btn{padding:2px 10px;border-radius:999px;font-size:.72rem;margin-left:auto}.turn-clock{color:var(--accent);font-variant-numeric:tabular-nums}.hub-actions button:disabled{opacity:.35}.log-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px;overflow-y:auto;text-align:left;flex:1}.log-list li{display:flex;gap:10px;border-bottom:1px solid rgba(255,255,255,.05);padding-bottom:4px}.log-time{color:#8c8c99;font-size:.75rem;flex:0 0 auto;font-variant-numeric:tabular-nums}.combat-parties{display:flex;align-items:center;gap:12px;justify-content:center}.combat-arrow{font-size:1.3rem;color:var(--accent)}.combat-list{display:flex;flex-direction:column;gap:8px;overflow-y:auto}.combat-total{font-size:1.05rem}.blocked-toggle{flex-direction:row;align-items:center;gap:4px;font-size:.78rem}.chip--selected{border-color:var(--accent);color:var(--accent);background:#332b14}input[type=checkbox]{width:22px;height:22px;accent-color:var(--accent)}.stack-add{display:flex;gap:8px}.stack-add input{flex:1}.stack-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}.stack-list li{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#1d1d24;border:1px solid #33333d;border-radius:10px;padding:10px 14px;text-align:left}.stack-list li.stack-top{border-color:var(--accent);box-shadow:0 2px 10px #c8a84b33}.stack-note{color:var(--accent);font-size:.78rem}.stack-list button{padding:4px 10px}.card-links{display:flex;align-items:center;gap:12px;justify-content:center}.card-links a{color:var(--accent)}.card-links .ghost{padding:6px 14px}.shared-chips{display:flex;flex-wrap:wrap;gap:4px;justify-content:center}.hub-tray{display:grid;grid-template-columns:repeat(4,auto);gap:2px;padding-top:2px;border-top:1px solid rgba(255,255,255,.08)}.hub-tray button{display:flex;flex-direction:column;align-items:center;gap:2px;background:transparent;border:none;padding:6px 10px;border-radius:10px;min-width:52px}.hub-tray button:active{background:#ffffff14}.center-hub{padding:10px 16px}.players-2.focus-mode .seat-1{order:1}.players-2.focus-mode .seat-0{order:2}.players-3.focus-mode .seat-2{order:1}.players-3.focus-mode .seat-1{order:2}.players-3.focus-mode .seat-0{order:3}.players-4.focus-mode .seat-3{order:1}.players-4.focus-mode .seat-2{order:2}.players-4.focus-mode .seat-0{order:3}.players-4.focus-mode .seat-1{order:4}.focus-mode .land-bg{order:0}.cmd-caption{font-size:.6rem;text-transform:uppercase;letter-spacing:.08em;color:#8c8c99;align-self:center}.center-hub{flex-direction:column;gap:4px;border-radius:16px;padding:6px 14px;max-width:96vw}.hub-main{display:flex;align-items:center;gap:14px}.center-hub .hub-turn{flex-direction:row;align-items:baseline;gap:8px;white-space:nowrap}.center-hub .hub-pass{padding:6px 16px}.center-hub--row{position:static;transform:none;width:100%;max-width:none;border-radius:12px;flex:0 0 auto}.center-hub--row .hub-main{justify-content:space-between;width:100%}.hub-tray{display:flex;flex-wrap:wrap;justify-content:center;border-top:1px solid rgba(255,255,255,.08);padding-top:2px;gap:2px}.header-hub{flex:1;display:flex;justify-content:center;min-width:0}.header-hub .center-hub--row{background:transparent;border:none;box-shadow:none;padding:0 8px;width:auto}.header-hub .hub-main{width:auto;gap:10px}.fab-dice{position:fixed;right:14px;top:118px;width:52px;height:52px;border-radius:50%;font-size:1.4rem;padding:0;z-index:25;background:#17171ceb;border:1px solid #3a3a44;box-shadow:0 4px 14px #00000080}.cmd-name{display:flex;align-items:center;gap:3px;font-size:.62rem;letter-spacing:.06em}.cmd-mini-avatar{width:14px;height:14px;border-radius:50%;object-fit:cover}.cmd-initial{font-weight:700;color:var(--accent)}.zone-dice{position:absolute;top:58px;right:10px;width:42px;height:42px;border-radius:50%;font-size:1.1rem;padding:0;z-index:5;background:#17171ce0}.fab-dice{display:none}.zone-dice{top:100px;right:12px}.board-strip{position:relative}.add-tile--centered{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:74px;height:100px;font-size:2.4rem}.board-strip--lg .thumb{width:116px;height:162px;border-radius:9px}.board-strip--lg .pt-badge{font-size:.95rem;padding:2px 6px}.board-strip--lg .count-badge{font-size:1rem}.board-strip--lg .count-controls button{padding:4px 12px}.board-strip--lg .add-tile:not(.add-tile--centered){width:116px;height:162px;font-size:2.6rem;border-radius:9px}.board-strip--md .thumb{width:84px;height:117px;border-radius:7px}.board-strip--md .pt-badge{font-size:.8rem}.board-strip--md .count-badge{font-size:.9rem}.board-strip--md .add-tile:not(.add-tile--centered){width:84px;height:117px;font-size:2.2rem}.board-strip--lg .thumb-placeholder,.board-strip--md .thumb-placeholder{font-size:.8rem}.focus-mode .zone:not(.zone--focused){flex-direction:row;align-items:center;flex-wrap:wrap;gap:4px 14px;padding:4px 10px}.focus-mode .zone:not(.zone--focused) .zone-header{width:auto;flex:0 0 auto;padding:0;gap:8px}.focus-mode .zone:not(.zone--focused) .board-strip{flex:1 1 auto;width:auto;min-width:110px;padding:0}.focus-mode .zone:not(.zone--focused) .lands-row{width:auto;flex:0 0 auto;padding:0}.focus-mode .zone:not(.zone--focused) .avatar--small{width:26px;height:26px}.focus-mode .zone:not(.zone--focused) .life-btn{width:36px;height:36px;font-size:1.05rem}.focus-mode .zone:not(.zone--focused) .life-total{font-size:1.45rem}.focus-mode .zone:not(.zone--focused) .cmd-bubble{padding:2px 8px}.focus-mode .zone:not(.zone--focused) .zone-dice{display:none}@media (orientation: landscape){.focus-mode .zone:not(.zone--focused){flex-wrap:nowrap}.focus-mode .zone:not(.zone--focused) .board-strip{min-width:38vw}.focus-mode .zone:not(.zone--focused) .thumb{width:38px;height:53px}.focus-mode .zone:not(.zone--focused) .zone-name{max-width:16vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}@media (orientation: portrait){.zone--focused .zone-header{flex-wrap:wrap;row-gap:4px}.header-hub{order:10;flex-basis:100%;justify-content:center}.header-hub .hub-main{gap:14px}.focus-mode .zone:not(.zone--focused) .board-strip{min-width:58vw}.focus-mode .zone:not(.zone--focused) .thumb{width:36px;height:50px}.zone{padding:6px}.zone-chips .player-chip{padding:2px 6px}}.header-hub .hub-active{display:none}@media (orientation: portrait){.header-hub .hub-main{width:100%;justify-content:space-between}.zone-dice{top:auto;bottom:70px;right:10px}}@media (min-width: 700px){.zone--focused .board-strip--sm .thumb,.zone--focused .board-strip--sm .add-tile:not(.add-tile--centered){width:70px;height:98px}.zone--focused .board-strip--md .thumb,.zone--focused .board-strip--md .add-tile:not(.add-tile--centered){width:102px;height:142px}.zone--focused .board-strip--lg .thumb,.zone--focused .board-strip--lg .add-tile:not(.add-tile--centered){width:140px;height:196px;border-radius:10px}.zone--focused .add-tile--centered{width:90px;height:124px}.zone--focused .board-strip--lg .pt-badge{font-size:1.05rem}}@media (min-width: 700px){.zone--focused .lands-row{padding:8px 8px 4px;gap:6px}.zone--focused .land-stack{width:46px;height:64px}.zone--focused .land-stack .count-badge{font-size:.8rem}.zone--focused .basic-add{width:40px;height:40px;font-size:1.05rem}.zone--focused .mana-summary{font-size:.82rem}.zone--focused .mana-pip{min-width:23px;height:23px;font-size:.8rem}}@media (min-width: 700px){.zone--focused .board-strip--sm .thumb,.zone--focused .board-strip--sm .add-tile:not(.add-tile--centered){width:80px;height:112px}.zone--focused .board-strip--md .thumb,.zone--focused .board-strip--md .add-tile:not(.add-tile--centered){width:116px;height:162px}.zone--focused .board-strip--lg .thumb,.zone--focused .board-strip--lg .add-tile:not(.add-tile--centered){width:160px;height:224px;border-radius:11px}.zone--focused .add-tile--centered{width:104px;height:144px}.zone--focused .board-strip--lg .pt-badge{font-size:1.15rem}.zone--focused .land-stack{width:53px;height:74px}.zone--focused .land-stack .count-badge{font-size:.9rem}.zone--focused .basic-add{width:46px;height:46px;font-size:1.2rem}.zone--focused .mana-summary{font-size:.9rem}.zone--focused .mana-pip{min-width:26px;height:26px;font-size:.88rem}}.thumb-name{font-size:.72rem;line-height:1.15;max-width:80px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.board-strip--sm .thumb-name{display:none}.focus-mode .zone:not(.zone--focused) .thumb-name{display:none}@media (min-width: 700px){.board-strip--md .thumb-name{max-width:116px;font-size:.8rem}.board-strip--lg .thumb-name{max-width:160px;font-size:.92rem}.board-strip--sm .thumb-name{display:block;max-width:80px}.zone--focused .lands-total{font-size:1.1rem;font-weight:700;color:var(--accent);letter-spacing:.06em}}.zone--focused .zone-header{background:#08080cb8;backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);border-radius:10px;padding:8px 12px;border:1px solid rgba(255,255,255,.06);box-shadow:0 3px 14px #00000059}.zone--focused .lands-row{background:#08080c99;backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px);border-radius:10px;border-top:none;padding-left:10px;padding-right:10px}.chip--art{display:flex;flex-direction:column;align-items:stretch;padding:0;width:96px;overflow:hidden;border-radius:10px}.chip-art{width:100%;height:56px;object-fit:cover}.chip-name{font-size:.72rem;padding:3px 4px 4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chip--pinned{border-color:var(--accent)}.search-result-row{display:flex;gap:6px;align-items:stretch}.search-result-main{flex:1;text-align:left;padding:8px 12px}.pin-btn{padding:8px 12px;color:var(--accent)}.lifewrap{display:flex;flex-direction:column;align-items:center;gap:2px;flex:0 0 auto}.cmd-gauges{display:flex;flex-direction:column;gap:2px}.cmd-gauge{display:grid;grid-template-columns:34px 44px 18px;align-items:center;gap:5px;background:transparent;border:none;padding:1px 4px;font-size:.6rem;color:#9a9aa5;border-radius:6px}.cmd-gauge:active{background:#ffffff12}.cmd-gauge-name{text-transform:uppercase;letter-spacing:.06em;text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cmd-gauge-bar{height:5px;border-radius:3px;background:#2c2c35;overflow:hidden}.cmd-gauge-bar i{display:block;height:100%;background:#d4705a;transition:width .25s}.cmd-gauge-value{font-weight:700;color:var(--fg);font-size:.7rem;text-align:left}.cmd-gauge--lethal .cmd-gauge-bar i{background:var(--danger)}.cmd-gauge--lethal .cmd-gauge-value{color:var(--danger)}.player-more{padding:3px 9px}.focus-mode .zone:not(.zone--focused) .lifewrap{flex-direction:row;align-items:center;gap:8px}.focus-mode .zone:not(.zone--focused) .cmd-gauge{grid-template-columns:26px 32px 14px;font-size:.55rem}@media (min-width: 700px){.zone--focused .cmd-gauge{grid-template-columns:42px 58px 22px;font-size:.7rem}.zone--focused .cmd-gauge-bar{height:7px}.zone--focused .cmd-gauge-value{font-size:.85rem}}.focus-mode .zone:not(.zone--focused) .mana-summary{font-size:.9rem;gap:8px}.focus-mode .zone:not(.zone--focused) .mana-pip{min-width:26px;height:26px;font-size:.9rem}.focus-mode .zone:not(.zone--focused) .lands-total{font-size:.95rem;font-weight:700;color:var(--accent)}@media (orientation: landscape){.zone--focused .board-strip--sm .thumb,.zone--focused .board-strip--sm .add-tile:not(.add-tile--centered){width:58px;height:80px}.zone--focused .board-strip--md .thumb,.zone--focused .board-strip--md .add-tile:not(.add-tile--centered){width:84px;height:117px}.zone--focused .board-strip--lg .thumb,.zone--focused .board-strip--lg .add-tile:not(.add-tile--centered){width:116px;height:162px}.zone--focused .add-tile--centered{width:74px;height:100px}.zone--focused .board-strip--lg .pt-badge{font-size:.95rem}}.table-360{display:block;position:relative}.table-360 .zone{position:absolute;margin:0}.table-360 .edge-bottom:not(.zone--focused){left:62px;right:62px;bottom:4px;height:54px;transform:none}.table-360 .edge-top:not(.zone--focused){left:62px;right:62px;top:4px;height:54px;transform:rotate(180deg)}.table-360 .edge-left:not(.zone--focused){top:50%;left:29px;width:calc(100dvh - 128px);height:54px;transform:translate(-50%,-50%) rotate(90deg)}.table-360 .edge-right:not(.zone--focused){top:50%;left:calc(100% - 29px);width:calc(100dvh - 128px);height:54px;transform:translate(-50%,-50%) rotate(-90deg)}.table-360 .zone:not(.zone--focused){flex-wrap:nowrap;overflow:hidden}.table-360 .zone:not(.zone--focused) .board-strip{min-width:80px}.table-360 .zone--focused.edge-bottom{top:62px;right:62px;bottom:62px;left:62px;transform:none}.table-360 .zone--focused.edge-top{top:62px;right:62px;bottom:62px;left:62px;transform:rotate(180deg)}.table-360 .zone--focused.edge-left{top:50%;left:50%;width:calc(100dvh - 124px);height:calc(100dvw - 124px);transform:translate(-50%,-50%) rotate(90deg)}.table-360 .zone--focused.edge-right{top:50%;left:50%;width:calc(100dvh - 124px);height:calc(100dvw - 124px);transform:translate(-50%,-50%) rotate(-90deg)}.screen{min-height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;padding:24px;text-align:center}.screen h1{font-size:2rem;letter-spacing:.08em;text-transform:uppercase;color:var(--accent)}button{font:inherit;color:var(--fg);background:#26262e;border:1px solid #3a3a44;border-radius:10px;padding:12px 20px;cursor:pointer}button:disabled{opacity:.4;cursor:default}button.ghost{background:transparent}button.danger{background:#3a1612;border-color:var(--danger)}.big-button{font-size:1.3rem;padding:16px 48px;background:var(--accent);color:#141410;font-weight:700}.hint{opacity:.6}.progress{width:min(420px,90vw)}.progress progress{width:100%}.error{color:#ff8a80}input,select{font:inherit;color:var(--fg);background:#1b1b21;border:1px solid #3a3a44;border-radius:8px;padding:10px 12px}label{display:flex;flex-direction:column;gap:6px;align-items:stretch}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0009;display:flex;align-items:center;justify-content:center;z-index:50}.modal-actions{display:flex;gap:10px;justify-content:center}.search-results{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px;text-align:left}.search-results button{width:100%;text-align:left;padding:8px 12px}.profile-grid{display:flex;flex-wrap:wrap;gap:12px;justify-content:center}.profile-card{display:flex;flex-direction:column;align-items:center;gap:8px;width:120px;padding:14px}.profile-chip.selected{border-color:var(--accent);background:#332b14}.avatar{width:64px;height:64px;border-radius:50%;object-fit:cover;background:#2c2c35}.avatar--empty{border:1px dashed #4a4a55}.avatar-row,.commander-row{display:flex;align-items:center;gap:12px;justify-content:center}.format-toggle{border:1px solid #3a3a44;border-radius:10px;display:flex;gap:16px;padding:12px 16px}.format-toggle label{flex-direction:row;align-items:center;gap:8px}.threshold input{width:80px;text-align:center}.home-title{display:flex;flex-direction:column;gap:2px;line-height:1.1}.home-title-main{font-size:clamp(2rem,6vw,3.2rem);letter-spacing:.1em;color:var(--accent);text-shadow:0 2px 18px rgba(200,168,75,.35)}.home-title-sub{font-size:clamp(.9rem,2.4vw,1.3rem);letter-spacing:.42em;text-transform:uppercase;color:#9a9aa5}.home-actions{display:flex;gap:16px;flex-wrap:wrap;justify-content:center}.action-card{display:flex;flex-direction:column;gap:6px;padding:20px 36px;border-radius:14px;border-width:2px;min-width:230px}.action-card-title{font-family:var(--font-display);font-size:1.35rem;letter-spacing:.06em}.action-card-sub{font-size:.8rem;color:#9a9aa5}.action-card--new{border-color:var(--accent)}.action-card--new .action-card-title{color:var(--accent)}.action-card--resume{border-color:#6aa877}.action-card--resume .action-card-title{color:#8fd4a0}.profile-card{width:150px;border-width:2px;border-radius:14px;padding:16px 10px}.avatar--big{width:84px;height:84px}.profile-name{font-family:var(--font-display);font-size:1.02rem;letter-spacing:.04em}.profile-commander{font-size:.72rem;color:#9a9aa5;line-height:1.2}.profile-pips{display:flex;gap:3px;justify-content:center}.profile-card--add .profile-add-plus{font-size:2.2rem;color:#8c8c99;line-height:1}.profile-commander-card{width:110px;border-radius:7px;box-shadow:0 3px 12px #00000080}.sheet{background:#17171c;border:1px solid #33333d;border-radius:16px;width:min(480px,94vw);max-height:88vh;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 12px 48px #000000b3}.sheet--wide{width:min(900px,96vw);height:min(640px,90vh)}.sheet-header{display:flex;align-items:center;justify-content:space-between;padding:12px 18px;border-bottom:1px solid #26262e;flex:0 0 auto}.sheet-header h2{margin:0;font-size:1.1rem}.sheet-close{background:transparent;border:none;font-size:1rem;padding:8px 12px;color:#9a9aa5}.sheet-body{padding:16px 18px;display:flex;flex-direction:column;gap:14px;overflow-y:auto;flex:1;min-height:0}.sheet-footer{display:flex;gap:10px;justify-content:center;padding:12px 18px;border-top:1px solid #26262e;flex:0 0 auto}.sheet-footer button{min-height:44px;flex:1;max-width:220px}button.primary{background:var(--accent);color:#141410;font-weight:700;border:none}.segmented{display:flex;background:#101014;border:1px solid #33333d;border-radius:999px;padding:4px;align-self:center;flex:0 0 auto}.segment{border:none;background:transparent;border-radius:999px;padding:8px 26px;color:#9a9aa5}.segment.active{background:#2c2c35;color:var(--fg)}.glossary-layout{display:grid;grid-template-columns:250px 1fr;gap:16px;flex:1;min-height:0}.glossary-list{display:flex;flex-direction:column;gap:10px;min-height:0}.term-list{list-style:none;margin:0;padding:0;overflow-y:auto;flex:1;display:flex;flex-direction:column;gap:2px}.term-item{width:100%;text-align:left;background:transparent;border:none;padding:10px 12px;border-radius:8px;color:var(--fg)}.term-item.active{background:#2c2c35;color:var(--accent);font-weight:600}.glossary-detail{overflow-y:auto;border-left:1px solid #26262e;padding-left:18px;text-align:left;min-height:0}.glossary-detail h3{margin-top:0;color:var(--accent)}.definition-text{line-height:1.65;white-space:pre-wrap}.rule-ref{display:inline;border:none;background:none;padding:0;color:var(--accent);text-decoration:underline;font:inherit}.rules-layout{display:flex;flex-direction:column;gap:12px;flex:1;min-height:0;text-align:left}.rules-layout .rule-results{flex:1;overflow-y:auto}.hub-actions{display:flex;gap:2px}.hub-actions button{display:flex;flex-direction:column;align-items:center;gap:2px;background:transparent;border:none;padding:6px 10px;border-radius:10px;min-width:52px}.hub-actions button:active{background:#ffffff14}.hub-icon{font-size:1.05rem;line-height:1}.hub-label{font-size:.65rem;opacity:.75;letter-spacing:.04em}.center-hub{border-radius:28px}.chip-group{display:flex;flex-direction:column;gap:6px}.chip-group-label,.section-label{font-size:.7rem;text-transform:uppercase;letter-spacing:.12em;color:#8c8c99;text-align:left}.detail-section{display:flex;flex-direction:column;gap:10px;border-top:1px solid #26262e;padding-top:12px;text-align:left}.card-hero{display:flex;flex-direction:column;gap:8px;align-items:center}.settings-row{display:flex;align-items:center;justify-content:space-between;gap:14px;text-align:left}.settings-row-text{display:flex;flex-direction:column;gap:2px}.settings-row-text small{color:#8c8c99}.settings-value{font-weight:700;color:var(--accent);font-size:1.1rem}.dice-result-slot{min-height:64px;display:flex;align-items:center;justify-content:center}.dice-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.dice-grid button{min-height:52px;font-size:1.05rem}@media (max-width: 600px){.glossary-layout{grid-template-columns:1fr;grid-template-rows:auto 1fr}.glossary-detail{border-left:none;padding-left:0;border-top:1px solid #26262e;padding-top:12px}.sheet--wide{height:92vh}}@font-face{font-family:Cinzel;src:url(/fonts/cinzel-latin.woff2) format("woff2");font-weight:400 900;font-display:swap}:root{--bg: #101014;--fg: #e8e6e0;--accent: #c8a84b;--danger: #c0392b;--gain: #27ae60;--font-display: "Cinzel", Georgia, "Times New Roman", serif;--font-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;font-family:var(--font-display)}.oracle-text,.definition-text,.rule-results,.log-list,.search-results,.hint,small,input,select,textarea{font-family:var(--font-body)}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body,#root{margin:0;height:100%;background:var(--bg);color:var(--fg);overscroll-behavior:none;-webkit-user-select:none;user-select:none}
