.attack-arrows{position:fixed;top:0;right:0;bottom:0;left:0;width:100vw;height:100dvh;z-index:42;overflow:visible;pointer-events:none}.attack-arrow-glow{fill:none;stroke:#ff604059;stroke-width:14;stroke-linecap:round;filter:blur(4px)}.attack-arrow-line{fill:none;stroke:#ff7a5c;stroke-width:5;stroke-linecap:round;stroke-dasharray:16 10;animation:arrow-flow .9s linear infinite}.attack-arrow--blocked .attack-arrow-glow{stroke:#e8c86a59}.attack-arrow--blocked .attack-arrow-line{stroke:#e8c86a}@keyframes arrow-flow{to{stroke-dashoffset:-26}}@media (prefers-reduced-motion: reduce){.attack-arrow-line{animation:none;stroke-dasharray:none}}.card-flights{position:fixed;top:0;right:0;bottom:0;left:0;z-index:44;overflow:hidden;pointer-events:none}.flight-card{position:absolute;border-radius:6%/4.3%;overflow:hidden;box-shadow:0 14px 32px #0000008c,0 0 18px #c8a84b59;will-change:transform,opacity}.flight-card img{display:block;width:100%;height:100%;object-fit:cover}.flight-card--back{border:2px solid var(--accent);background:linear-gradient(to bottom,transparent 42%,rgba(200,168,75,.85) 42% 58%,transparent 58%),repeating-linear-gradient(135deg,#24242c 0,#24242c 8px,#1a1a20 8px,#1a1a20 16px)}.cmd-entrance{position:fixed;top:0;right:0;bottom:0;left:0;z-index:43;overflow:hidden;pointer-events:none}.cmd-entrance-panel{--turn: 0deg;position:absolute;left:50%;top:50%;width:100vw;height:100dvh;display:grid;place-items:center;transform:translate(-50%,-50%) rotate(calc(var(--turn) + var(--flip, 0deg)));container-type:size}.cmd-entrance-panel--top{--turn: 180deg}.cmd-entrance-panel--left,.cmd-entrance-panel--right{width:100dvh;height:100vw}.cmd-entrance-panel--left{--turn: 90deg}.cmd-entrance-panel--right{--turn: -90deg}.cmd-entrance-dim{position:absolute;top:0;right:0;bottom:0;left:0;background:radial-gradient(circle at 50% 46%,#ffe8a047,#06060999 50%,#060609c7);opacity:0;animation:cmd-dim 2.6s ease-in-out forwards}.cmd-entrance-rays{position:absolute;width:170cqmax;aspect-ratio:1;background:repeating-conic-gradient(rgba(255,226,140,.2) 0deg 4deg,transparent 4deg 14deg);-webkit-mask:radial-gradient(circle,#000 8%,transparent 52%);mask:radial-gradient(circle,#000 8%,transparent 52%);opacity:0;animation:cmd-rays 2.6s linear forwards}.cmd-entrance-ring{position:absolute;width:24cqmin;aspect-ratio:1;border:3px solid rgba(255,226,140,.85);border-radius:50%;box-shadow:0 0 30px #ffe28c99;opacity:0;animation:cmd-ring 1.2s ease-out .3s forwards}.cmd-entrance-card{position:relative;height:min(60cqh,76cqw * 680 / 488);aspect-ratio:488 / 680;margin-bottom:8cqh;border-radius:4.75%/3.5%;box-shadow:0 0 0 2px #e8c86ed9,0 30px 80px #000c,0 0 120px #e8c86e73;opacity:0;animation:cmd-card 2.6s cubic-bezier(.2,.8,.2,1) forwards}.cmd-entrance-name{position:absolute;left:0;right:0;bottom:9cqh;display:flex;flex-direction:column;align-items:center;gap:4px;text-align:center;opacity:0;animation:cmd-name 2.6s ease-out forwards}.cmd-entrance-kicker{padding-left:.5em;font-size:clamp(12px,1.6cqmin,18px);letter-spacing:.5em;text-transform:uppercase;color:var(--accent)}.cmd-entrance-title{padding:0 16px;font-size:clamp(22px,4.2cqmin,46px);font-weight:800;letter-spacing:.05em;text-transform:uppercase;color:#f6e7b0;text-shadow:0 2px 14px rgba(0,0,0,.9),0 0 30px rgba(200,168,75,.5)}@keyframes cmd-dim{0%{opacity:0}14%,78%{opacity:1}to{opacity:0}}@keyframes cmd-rays{0%{opacity:0;transform:rotate(0) scale(.6)}18%{opacity:1}78%{opacity:.8}to{opacity:0;transform:rotate(40deg) scale(1.1)}}@keyframes cmd-ring{0%{opacity:.95;transform:scale(.3)}to{opacity:0;transform:scale(6)}}@keyframes cmd-card{0%{opacity:0;transform:translateY(30cqh) scale(.4) rotate(-8deg)}22%{opacity:1;transform:translateY(0) scale(1.06) rotate(1deg)}32%,76%{opacity:1;transform:translateY(0) scale(1) rotate(0)}to{opacity:0;transform:translateY(22cqh) scale(.3)}}@keyframes cmd-name{0%,18%{opacity:0;transform:translateY(12px)}30%,76%{opacity:1;transform:none}to{opacity:0}}@media (prefers-reduced-motion: reduce){.cmd-entrance-rays,.cmd-entrance-ring{display:none}.cmd-entrance-card,.cmd-entrance-name{animation:cmd-dim 2.6s linear forwards}}.victory{position:fixed;top:0;right:0;bottom:0;left:0;z-index:45;background:#07070a;overflow:hidden;animation:victory-in .7s ease-out both}.victory-panel{--turn: 0deg;position:absolute;left:50%;top:50%;width:100vw;height:100dvh;transform:translate(-50%,-50%) rotate(calc(var(--turn) + var(--flip, 0deg)));display:grid;grid-template-rows:minmax(0,1fr) auto;overflow:hidden;container-type:size}.victory-panel--top{--turn: 180deg}.victory-panel--left,.victory-panel--right{width:100dvh;height:100vw}.victory-panel--left{--turn: 90deg}.victory-panel--right{--turn: -90deg}.victory-art{position:absolute;top:-4%;right:-4%;bottom:-4%;left:-4%;background-size:cover;background-position:center 30%;filter:saturate(1.15);animation:victory-drift 30s ease-in-out infinite alternate}.victory-art--soft{filter:blur(18px) saturate(1.2);opacity:.7}.victory-shade{position:absolute;top:0;right:0;bottom:0;left:0;background:radial-gradient(ellipse at 28% 40%,#1010141a,#101014b8 58%,#0a0a0df0),linear-gradient(to bottom,#0a0a0d26,#0a0a0dd9 80%)}.victory-sparks{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;overflow:hidden}.victory-sparks i{position:absolute;top:102%;left:calc(var(--i) * 7% + 2%);width:6px;height:6px;border-radius:50%;background:radial-gradient(circle,#fff6d0,#c8a84b 55%,transparent 70%);opacity:0;animation:victory-spark 6s ease-in infinite;animation-delay:calc(var(--i) * -.43s)}.victory-sparks i:nth-child(3n){width:4px;height:4px;animation-duration:7.5s}.victory-body{position:relative;display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(16px,3cqw,44px);align-items:center;padding:clamp(16px,4cqh,48px) clamp(16px,4cqw,56px) 8px;min-height:0;overflow-y:auto;scrollbar-width:none}.victory-hero{display:flex;flex-direction:column;align-items:center;gap:clamp(10px,2.4cqh,22px);text-align:center}.victory-card-wrap{position:relative;width:clamp(140px,min(22cqw,36cqh),270px);aspect-ratio:488 / 680;display:grid;place-items:center}.victory-rays{position:absolute;left:50%;top:50%;width:280%;aspect-ratio:1;transform:translate(-50%,-50%);background:repeating-conic-gradient(from 0deg,rgba(232,200,110,.2) 0deg 5deg,transparent 5deg 15deg);-webkit-mask:radial-gradient(circle,#000 14%,transparent 60%);mask:radial-gradient(circle,#000 14%,transparent 60%);animation:victory-spin 50s linear infinite;pointer-events:none}.victory-card{position:relative;width:100%;height:100%;object-fit:cover;border-radius:4.75%/3.5%;box-shadow:0 0 0 2px #c8a84ba6,0 18px 60px #000000b3,0 0 80px #c8a84b59;animation:victory-card-in .9s cubic-bezier(.2,.9,.25,1.15) .15s both,victory-glow 3.2s ease-in-out 1.2s infinite}.victory-avatar{position:relative;width:100%;aspect-ratio:1;border-radius:50%;object-fit:cover;box-shadow:0 0 0 3px #c8a84bb3,0 0 80px #c8a84b59;animation:victory-card-in .9s cubic-bezier(.2,.9,.25,1.15) .15s both}.victory-title{display:flex;flex-direction:column;align-items:center;gap:4px}.victory-kicker{padding-left:.6em;font-size:clamp(14px,1.7cqw,21px);letter-spacing:.6em;text-transform:uppercase;color:var(--accent);text-shadow:0 0 18px rgba(200,168,75,.6);animation:victory-kicker 1.1s ease-out .3s both}.victory-name{margin:0;max-width:100%;overflow-wrap:anywhere;font-size:clamp(38px,min(6.4cqw,10cqh),88px);font-weight:800;letter-spacing:.06em;line-height:1.05;text-transform:uppercase;background:linear-gradient(100deg,#f6e7b0,#c8a84b 35%,#fff4cf,#c8a84b 65%,#8a6d22);background-size:250% 100%;-webkit-background-clip:text;background-clip:text;color:transparent;filter:drop-shadow(0 4px 18px rgba(0,0,0,.65));animation:victory-name-in .9s ease-out .45s both,victory-sheen 5s ease-in-out 1.6s infinite}.victory-sub{margin:6px 0 0;font-size:clamp(15px,1.6cqw,20px);color:var(--fg);opacity:.88}.victory-with{margin:0;font-family:var(--font-body);font-size:15px;color:#c3c2b7}.victory-deck{color:#898781}.victory-recap{--recap-surface: #15151b;align-self:center;max-height:100%;overflow-y:auto;scrollbar-width:none;padding:14px 16px 12px;border:1px solid rgba(200,168,75,.28);border-radius:16px;background:var(--recap-surface);box-shadow:0 20px 60px #0000008c;animation:victory-recap-in .8s ease-out .7s both}.victory-actions{position:relative;display:flex;flex-wrap:wrap;justify-content:center;gap:12px;padding:12px 16px calc(18px + env(safe-area-inset-bottom));opacity:0;transition:opacity .45s ease-out}.victory-actions--ready{opacity:1}.victory-actions button{min-width:150px;padding:14px 22px;font-size:17px}.victory-actions button.ghost{background:#1010148c}.victory-undo{min-width:0!important}@container (max-aspect-ratio: 1 / 1){.victory-body{grid-template-columns:minmax(0,1fr);align-content:start}.victory-card-wrap{width:clamp(120px,min(34cqw,26cqh),240px)}}.victory-pill{position:fixed;top:12px;left:50%;z-index:44;transform:translate(-50%);padding:10px 20px;border:none;border-radius:999px;background:linear-gradient(100deg,#e9d48f,#c8a84b 60%,#a8862f);color:#141410;font-weight:700;box-shadow:0 6px 24px #0000008c,0 0 30px #c8a84b59}.end-winner{margin-top:14px}.end-winner-ask{display:flex;flex-direction:column;gap:2px;margin:0 0 8px}.end-winner-ask small{color:#8c8c99}.end-winner-chips{display:flex;flex-wrap:wrap;gap:8px}.concede-row .badge-btn{white-space:nowrap}.concede-row .badge-btn.armed{border-color:var(--danger);color:#ff8a7a}.recap{display:flex;flex-direction:column;gap:10px;text-align:left}.recap-rows{display:flex;flex-direction:column;gap:6px;margin:0;padding:0;list-style:none}.recap-row{display:grid;grid-template-columns:2.6em 14px auto minmax(0,1fr);column-gap:10px;align-items:baseline;padding:7px 10px;border-radius:10px;background:#ffffff09}.recap-row--winner{background:#c8a84b1f;box-shadow:inset 0 0 0 1px #c8a84b61}.recap-place{grid-row:span 2;align-self:center;font-size:13px;text-align:center;color:#c3c2b7}.recap-row--winner .recap-place{font-size:20px}.recap-key{grid-row:span 2;align-self:center;width:14px;height:3px;border-radius:2px}.recap-name{font-size:17px;color:#fff}.recap-what{justify-self:end;text-align:right;font-family:var(--font-body);font-size:14px;color:var(--fg)}.recap-when{grid-column:3 / -1;font-family:var(--font-body);font-size:12px;color:#898781}.recap-hit{margin:2px 0 0;font-family:var(--font-body);font-size:14px;color:var(--fg)}.recap-hit-label{margin-right:6px;font-family:var(--font-display);font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:var(--accent)}.screen.history{justify-content:flex-start;align-items:stretch;width:100%;max-width:980px;margin:0 auto;text-align:left}.history-count{margin-left:auto;font-size:.9rem;color:#9a9aa5}.history-empty{margin:40px auto;max-width:460px;text-align:center;font-family:var(--font-body);line-height:1.5;color:#9a9aa5}.history-boards{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:16px}.history-card,.history-games{padding:14px 16px;border:1px solid #2a2a33;border-radius:16px;background:#16161c}.history-games{display:flex;flex-direction:column;gap:8px}.history-card-title{margin:0 0 10px;font-size:.85rem;letter-spacing:.14em;text-transform:uppercase;color:var(--accent)}.standings{display:flex;flex-direction:column;gap:8px;margin:0;padding:0;list-style:none}.standing{display:grid;grid-template-columns:1.4em 34px minmax(0,1fr) auto;grid-template-areas:"rank avatar name score" "rank avatar bar bar";column-gap:10px;row-gap:4px;align-items:center}.standing--commander{grid-template-columns:34px minmax(0,1fr) auto;grid-template-areas:"avatar name score"}.standing-rank{grid-area:rank;text-align:center;color:#9a9aa5}.standing:first-child .standing-rank{color:var(--accent)}.standing-avatar,.standing-card{grid-area:avatar;width:34px;height:34px;border-radius:50%;object-fit:cover;background:#26262e}.standing-card{height:47px;border-radius:3px}.standing-name{grid-area:name;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:#fff}.standing-score{grid-area:score;font-family:var(--font-body);font-size:.85rem;color:#c3c2b7;white-space:nowrap}.standing-score strong{color:#fff;font-size:1rem}.standing-bar{grid-area:bar;height:4px;border-radius:2px;background:#24242b;overflow:hidden}.standing-bar i{display:block;height:100%;border-radius:2px;background:var(--accent)}.history-game{display:flex;align-items:center;gap:14px;padding:10px 12px;text-align:left;background:#ffffff08;border-color:#2a2a33}.history-game-card{flex:0 0 auto;width:48px;height:67px;border-radius:4px;object-fit:cover;box-shadow:0 2px 8px #00000080}.history-game-card--empty{display:grid;place-items:center;font-size:24px;background:#26262e}.history-game-text{display:flex;flex-direction:column;gap:3px;min-width:0}.history-game-title{font-size:1.05rem;color:#fff}.history-game-meta,.history-game-players{font-family:var(--font-body);font-size:.8rem;color:#9a9aa5}.history-removed{margin-top:8px;opacity:.85}.profile-wins{font-size:.75rem;color:var(--accent)}.deck-tile-record{font-family:var(--font-body);font-size:.78rem;font-weight:700;color:var(--accent)}.life-chart{margin:2px 0 0}.life-chart-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:4px;font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:#c3c2b7}.life-chart-toggle{padding:4px 10px;border-color:#2c2c2a;border-radius:8px;background:transparent;font-size:12px}.life-chart-plot{position:relative}.life-chart svg{display:block;width:100%;height:auto;font-family:var(--font-body);touch-action:pan-y}.life-chart-grid line{stroke:#2c2c2a;stroke-width:1}.life-chart-zero line{stroke:#46463f;stroke-width:1}.life-chart-grid text,.life-chart-zero text,.life-chart-x{fill:#898781;font-size:11px;font-variant-numeric:tabular-nums}.life-chart-line{fill:none;stroke-width:2;stroke-linejoin:round;stroke-linecap:round}.life-chart-dot{stroke:#15151b;stroke-width:2}.life-chart-label{fill:#c3c2b7;font-size:12px}.life-chart-cross{stroke:#898781;stroke-width:1;stroke-dasharray:2 3}.life-chart-readout{position:absolute;top:4px;transform:translate(10px);padding:6px 8px;border:1px solid rgba(255,255,255,.1);border-radius:8px;background:#0d0d10;font-family:var(--font-body);font-size:12px;color:#c3c2b7;white-space:nowrap;pointer-events:none}.life-chart-readout[data-side=left]{transform:translate(calc(-100% - 10px))}.life-chart-readout-head{margin-bottom:2px;color:#898781}.life-chart-readout-row{display:flex;align-items:center;gap:6px}.life-chart-readout-row strong{min-width:2.2em;text-align:right;color:#fff;font-variant-numeric:tabular-nums}.life-chart-readout-row i,.life-chart-legend i{display:inline-block;width:12px;height:3px;border-radius:2px}.life-chart-legend{display:flex;flex-wrap:wrap;gap:4px 14px;margin-top:4px;font-family:var(--font-body);font-size:12px;color:#c3c2b7}.life-chart-legend span{display:inline-flex;align-items:center;gap:6px}.life-table-wrap{max-height:190px;overflow:auto;scrollbar-width:thin}.life-table{width:100%;border-collapse:collapse;font-family:var(--font-body);font-size:12px;color:#c3c2b7;font-variant-numeric:tabular-nums}.life-table th,.life-table td{padding:3px 6px;border-bottom:1px solid #2c2c2a;text-align:right}.life-table th:first-child,.life-table td:first-child{text-align:left}@keyframes victory-in{0%{opacity:0}}@keyframes victory-drift{0%{transform:scale(1.04) translate(-1%)}to{transform:scale(1.1) translate(1%,-1%)}}@keyframes victory-spin{to{transform:translate(-50%,-50%) rotate(360deg)}}@keyframes victory-card-in{0%{opacity:0;transform:translateY(40px) rotate(-6deg) scale(.85)}}@keyframes victory-glow{50%{box-shadow:0 0 0 2px #e8c86ee6,0 18px 60px #000000b3,0 0 110px #e8c86e80}}@keyframes victory-kicker{0%{opacity:0;letter-spacing:.1em}}@keyframes victory-name-in{0%{opacity:0;transform:scale(.8)}}@keyframes victory-sheen{0%,to{background-position:100% 0}50%{background-position:0% 0}}@keyframes victory-recap-in{0%{opacity:0;transform:translateY(24px)}}@keyframes victory-spark{0%{top:102%;opacity:0;transform:translate(0) scale(.6)}12%{opacity:.95}to{top:-4%;opacity:0;transform:translate(30px) scale(1.1)}}@media (prefers-reduced-motion: reduce){.victory,.victory *,.victory-pill{animation:none!important;transition:none!important}.victory-sparks{display:none}}.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(calc(180deg + var(--flip, 0deg)))}.zone--flipped{--flip: 180deg;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--blocking{box-shadow:inset 0 0 0 3px #6fb1e0e6,inset 0 0 28px #6fb1e038}.zone--dead{filter:grayscale(.9) brightness(.55)}.zone--dead.zone--combat{filter:none}.zone--dead.zone--combat>:not(.combat-bar):not(.dead-overlay){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-total--stake{display:inline-flex;align-items:baseline;gap:.2em;white-space:nowrap}.life-was{font-size:.6em;font-weight:600;opacity:.6}.life-arrow{font-size:.6em;opacity:.6}.life-after--down{color:#ff6b5e}.life-after--up{color:#5fcf8b}.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}.land-bg:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:radial-gradient(ellipse at 50% 20%,#283c8c40,#080c288c);opacity:0;transition:opacity 2s ease-in-out;pointer-events:none}.is-night .land-bg:after{opacity:1}.hub-time--day{color:#f2c94c}.hub-time--night{color:#9db4ff}.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}.players-2 .zone--flipped,.players-3 .zone--flipped,.players-4 .zone--flipped{transform:rotate(180deg)}.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:conic-gradient(#e8e3d0,#5a9bd4,#9a8fa8,#d4705a,#6aa877,#e8e3d0)}.mana-pick{display:flex;align-items:center;gap:6px}.mana-pick-pip{width:26px;height:26px;min-width:26px;padding:0;border-radius:50%;border:2px solid transparent;opacity:.35}.mana-pick-pip--on{opacity:1;border-color:var(--accent);box-shadow:0 0 6px #ffffff40}.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-face{position:absolute;top:0;right:0;bottom:0;left:0;display:block;width:100%;height:100%;padding:0;border:none;border-radius:inherit;background:none;overflow:hidden}.land-stack img{display:block;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}.chip-attack{min-width:4em;border-color:#d4705a;background:#3a1612;color:#f4c7bd;font-weight:700;text-align:center}.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)}.flip-row .stepper{flex:0 0 auto}.flip-row .badge-btn{white-space:nowrap}.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}.tapped-badge--undo{top:0;left:0;min-width:30px;min-height:26px;padding:2px 5px;border:1px solid rgba(200,168,75,.7);border-radius:5px 0 6px;background:#000000db;font-size:.74rem;font-weight:700;line-height:1}.mana-badge{position:absolute;bottom:2px;left:2px;display:inline-flex;gap:2px;align-items:center;background:#000000c7;border-radius:999px;padding:2px 3px}.mana-dot{width:8px;height:8px;border-radius:50%;display:inline-block}.sick-badge{position:absolute;top:2px;right:2px;background:#000c;border-radius:4px;padding:0 3px;font-size:.65rem;font-weight:700;line-height:1.5;white-space:nowrap}.board-strip--md .sick-badge{font-size:.8rem}.board-strip--lg .sick-badge{font-size:.95rem;padding:1px 5px}.zone--cards.zone--focused .vcard .sick-badge,.hs-board .vcard .sick-badge{top:4px;right:4px;font-size:1rem;padding:1px 6px}.zone--cards.zone--focused .vcard--tapped .sick-badge,.hs-board .vcard--tapped .sick-badge{right:12%}.zone--cards.zone--focused .board-strip .sick-badge{font-size:.72rem;padding:0 3px}.focus-mode .zone:not(.zone--focused) .sick-badge{display:none}.thumb,.land-stack{transition:transform .18s ease,opacity .18s ease}.thumb img,.land-stack img,.thumb-placeholder,.land-stack-name{transition:opacity .18s ease,filter .18s ease}.thumb--partial img,.thumb--partial .thumb-placeholder{opacity:.75}.thumb--tapped{transform:rotate(12deg)}.thumb--tapped img,.thumb--tapped .thumb-placeholder{opacity:.45;filter:grayscale(.6)}.focus-mode .zone:not(.zone--focused) .thumb{pointer-events:none}.focus-mode .zone:not(.zone--focused) .tapped-badge{font-size:.5rem;padding:0 2px}.thumb-count{display:none;position:absolute;top:2px;right:2px;background:#000c;border:1px solid rgba(200,168,75,.5);border-radius:999px;padding:0 4px;font-size:.6rem;font-weight:700}.focus-mode .zone:not(.zone--focused) .thumb-count{display:block}.focus-mode .zone:not(.zone--focused) .count-controls{display:none}.board-item{animation:spawn-pop .28s cubic-bezier(.34,1.56,.64,1)}@keyframes spawn-pop{0%{transform:scale(.5);opacity:0}}.count-badge{animation:badge-pulse .25s ease}@keyframes badge-pulse{50%{transform:scale(1.35)}}.board-item--dying{pointer-events:none}.thumb--ghost{display:block}.board-item--dying .thumb--ghost{animation:death-fall .7s ease-in forwards}@keyframes death-fall{0%,35%{opacity:1;transform:none;filter:none}to{opacity:0;transform:translateY(14px) rotate(-7deg) scale(.92);filter:grayscale(1)}}.death-slash{position:absolute;top:50%;left:50%;width:190%;height:3px;border-radius:2px;background:linear-gradient(90deg,transparent,#fff 35%,#dfe8ff 50%,#fff 65%,transparent);box-shadow:0 0 8px #ffffffe6;transform:translate(-50%,-50%) rotate(-55deg) scaleX(0);animation:slash-sweep .22s ease-out .05s forwards}@keyframes slash-sweep{0%{transform:translate(-50%,-50%) rotate(-55deg) scaleX(0);opacity:0}30%{opacity:1}to{transform:translate(-50%,-50%) rotate(-55deg) scaleX(1);opacity:.9}}.death-x{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;font-size:2.2rem;font-weight:900;color:#ff3b30;text-shadow:0 0 10px rgba(0,0,0,.8);opacity:0;animation:x-stamp .3s cubic-bezier(.34,1.56,.64,1) .18s forwards}@keyframes x-stamp{0%{opacity:0;transform:scale(2.4) rotate(-20deg)}to{opacity:1;transform:scale(1) rotate(-8deg)}}.reveal-banner{animation:reveal-in .18s ease-out}@keyframes reveal-in{0%{opacity:0;transform:scale(.94)}}.reveal-banner--cast{animation:reveal-in .18s ease-out,cast-flare .9s ease-out}@keyframes cast-flare{0%{box-shadow:0 12px 48px #000000b3,0 0 0 0 var(--spell)}30%{box-shadow:0 12px 48px #000000b3,0 0 110px 34px color-mix(in srgb,var(--spell) 75%,transparent)}}.reveal-banner--cast .reveal-card{animation:cast-land .42s cubic-bezier(.2,.9,.3,1.25)}@keyframes cast-land{0%{opacity:0;transform:translateY(30px) scale(.84) rotate(-5deg)}}.spell-W:before{animation:spell-rays 6s linear infinite}.spell-U:before{animation:spell-ripple 2.6s ease-out infinite}.spell-B:before{animation:spell-dark 2.8s ease-in-out infinite}.spell-R:before{animation:spell-fire .9s ease-in-out infinite alternate}.spell-G:before{animation:spell-grow 1.6s cubic-bezier(.2,.8,.3,1) both}.spell-M:before,.spell-C:before{animation:spell-sheen 2.4s ease-in-out infinite}@keyframes spell-rays{0%,to{opacity:.35;transform:rotate(-3deg) scale(1.2)}50%{opacity:.7;transform:rotate(3deg) scale(1.2)}}@keyframes spell-ripple{0%{opacity:.75;transform:scale(.82)}to{opacity:.15;transform:scale(1.18)}}@keyframes spell-dark{0%,to{opacity:.55}50%{opacity:.95}}@keyframes spell-fire{0%{opacity:.45;transform:translateY(6px) scaleY(.94)}to{opacity:.85;transform:translateY(0) scaleY(1.06)}}@keyframes spell-grow{0%{opacity:0;transform:scaleY(.1)}to{opacity:.7;transform:scaleY(1)}}@keyframes spell-sheen{0%{background-position:120% 0}to{background-position:-20% 0}}@media (prefers-reduced-motion: reduce){.reveal-banner--cast,.reveal-banner--cast .reveal-card,.reveal-banner--cast:before{animation:none}}.attack-btn--go{animation:attack-ready 1.2s ease-in-out infinite}@keyframes attack-ready{0%,to{box-shadow:0 0 #d4705a80}50%{box-shadow:0 0 16px 4px #d4705abf}}@media (prefers-reduced-motion: reduce){.attack-btn--go{animation:none;box-shadow:0 0 10px 2px #d4705a99}}.life-counter{position:relative}.life-float{position:absolute;left:50%;bottom:62%;z-index:6;display:inline-flex;align-items:center;gap:4px;font-size:1.35rem;font-weight:800;line-height:1;white-space:nowrap;text-shadow:0 2px 6px rgba(0,0,0,.9),0 0 14px rgba(0,0,0,.6);pointer-events:none;animation:life-float 1.6s ease-out forwards}.life-float--down{color:#ff6b5b}.life-float--up{color:#62e38e}.life-float img{width:24px;height:24px;border-radius:50%;object-fit:cover;box-shadow:0 0 0 2px #ff6b5b,0 2px 8px #000000b3}@keyframes life-float{0%{opacity:0;transform:translate(-50%,10px) scale(.6)}12%{opacity:1;transform:translate(-50%) scale(1.25)}24%{transform:translate(-50%,-2px) scale(1)}75%{opacity:1}to{opacity:0;transform:translate(-50%,-22px) scale(1)}}@media (prefers-reduced-motion: reduce){.life-float{animation:life-float-still 1.6s linear forwards}@keyframes life-float-still{0%,80%{opacity:1;transform:translate(-50%)}to{opacity:0;transform:translate(-50%)}}}.dock-library--draw{border-color:var(--accent);animation:draw-call 1.3s ease-in-out infinite}@keyframes draw-call{0%,to{box-shadow:0 0 #c8a84b8c,0 0 12px 2px #c8a84b80;transform:none}50%{box-shadow:0 0 0 7px #c8a84b38,0 0 30px 10px #c8a84bcc;transform:translateY(-4px) scale(1.03)}}@media (prefers-reduced-motion: reduce){.dock-library--draw{animation:none;box-shadow:0 0 0 4px #c8a84b59,0 0 22px 6px #c8a84bb3}.thumb,.land-stack,.thumb img,.land-stack img,.thumb-placeholder,.land-stack-name{transition:none}.board-item,.count-badge,.death-slash,.reveal-banner,.board-item--dying .thumb--ghost{animation:none}.death-x{animation:none;opacity:1;transform:rotate(-8deg)}}.untap-btn{padding:2px 10px;border-radius:999px;font-size:.72rem}.attack-btn{flex:0 0 auto;min-width:9em;min-height:34px;padding:4px 10px;border-radius:999px;border-color:#d4705a;background:#3a1612;color:#f4c7bd;font-size:.78rem;font-weight:700;white-space:nowrap}.attack-btn:disabled{opacity:.8;background:transparent}.attack-btn--go{min-width:12em;border-color:var(--accent);background:#6a2416;color:#fff3ea}.attack-hint{flex:0 1 auto;min-width:0;overflow:hidden;font-family:var(--font-body);font-size:.72rem;color:#b7a48e;text-overflow:ellipsis;white-space:nowrap}.zone--focused:not(.zone--cards) .mana-summary{flex-wrap:wrap;row-gap:4px}.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)}.combat-bar{position:relative;z-index:1;container-type:inline-size;display:flex;flex-direction:column;gap:5px;width:100%;min-width:0;flex:0 0 auto;padding:6px 10px;border-radius:10px;border:1px solid rgba(212,112,90,.6);background:#2c100de0}.combat-bar--blockers{border-color:#6fb1e0a6;background:#0e1b2ae6}.combat-line{display:flex;align-items:center;gap:8px;min-width:0}.combat-say{flex:1 1 0;min-width:0;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.combat-actions{display:flex;align-items:center;gap:6px;flex:0 0 auto;margin-left:auto}.combat-actions button{min-height:40px;padding:6px 12px;white-space:nowrap}.combat-go{min-width:8.2em}.combat-paper--on{border-color:var(--accent);background:#332b14;color:var(--accent)}@container (max-width: 760px){.combat-line{flex-wrap:wrap;row-gap:5px}.combat-say{flex:1 1 100%}}@container (max-width: 430px){.combat-actions{gap:4px}.combat-actions button{height:40px;padding:6px 8px;font-size:.84rem}.combat-go{min-width:6.2em}.combat-actions .combat-cancel.danger{max-width:6.6em;padding:0 6px;font-size:.7rem;line-height:1.1;white-space:normal}}.combat-chips{display:flex;flex-wrap:nowrap;gap:6px;overflow-x:auto;overflow-y:hidden}.combat-chip{flex:0 0 auto;display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:4px 14px;border:2px solid var(--tint, var(--accent));border-radius:999px;background:#00000059;color:var(--tint, var(--accent));font-weight:700}.combat-chip--lit{background:var(--tint, var(--accent));color:#141410}.combat-chip--walker{border-style:dashed;border-radius:6px 6px 18px 18px}.combat-chip-name{max-width:9em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.combat-chip-n{flex:0 0 auto;width:3.2em;overflow:hidden;text-align:left;white-space:nowrap}.combat-strip{display:flex;flex-wrap:nowrap;gap:6px;height:64px;flex:0 0 64px;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain}.strip-tile{flex:0 0 auto;display:grid;grid-template-columns:auto 40px minmax(0,1fr);align-items:center;gap:6px;width:196px;height:100%;padding:3px 8px 3px 5px;border:2px solid #3a3a44;border-radius:8px;background:#1d1d24;text-align:left}.strip-tile--lit{border-color:var(--accent);background:#332b14}.strip-no{min-width:1.3em;font-size:1.05rem;font-weight:800;text-align:center;color:var(--accent)}.strip-art{width:40px;height:54px;border-radius:4px;overflow:hidden;background:#2b2b33}.strip-art img{display:block;width:100%;height:100%;object-fit:cover}.strip-text{display:flex;flex-direction:column;gap:1px;min-width:0;font-family:var(--font-body)}.strip-name,.strip-way{font-size:.72rem;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.strip-name{font-weight:700}.strip-way{color:#a8a8b4}.strip-size{display:flex;align-items:center;gap:3px;font-size:.8rem;line-height:1.25;white-space:nowrap;overflow:hidden}.strip-mark{flex:0 0 auto;padding:0 4px;border:1px solid #4a4a5e;border-radius:999px;background:#2c2c35;font-size:.62rem;font-style:normal}.combat-result{display:flex;flex-direction:column;gap:1px;margin:0;padding:0;max-height:7em;overflow-y:auto;list-style:none;font-family:var(--font-body);font-size:.88rem;line-height:1.4}.combat-flag{color:#f0c36a}.combat-flag--defeat{color:#ff8a80;font-weight:700}.combat-reading{opacity:.75;font-style:italic}.combat-hint{margin:0;font-family:var(--font-body);font-size:.78rem;line-height:1.3;color:#9fb6cf}.vcard--attacking,.thumb--attacking{outline:3px solid #e0714f;outline-offset:-3px}.vcard--blocking,.thumb--blocking{outline:3px solid #6fb1e0;outline-offset:-3px}.vcard--dying,.thumb--dying{outline:3px solid #ff3b30;outline-offset:-3px}.vcard.vcard--cant img,.vcard.vcard--cant .vcard-placeholder,.thumb.thumb--cant img,.thumb.thumb--cant .thumb-placeholder{opacity:.3;filter:grayscale(.85)}.combat-marks{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;gap:2px;max-width:100%;pointer-events:none}.combat-mark{padding:1px 7px;border:1px solid var(--tint, #e0714f);border-radius:999px;background:#000000d6;color:var(--tint, #f4c7bd);font-size:.82rem;font-weight:800;line-height:1.35;white-space:nowrap}.combat-mark--block{--tint: #9ccdf2}.combat-mark--dies{position:absolute;top:50%;left:-2px;right:-2px;transform:translateY(-50%) rotate(-9deg);padding:3px 0;background:#8f2a20;box-shadow:0 1px 6px #0009;color:#fff;font-family:var(--font-display);font-size:.8rem;font-weight:700;letter-spacing:.12em;line-height:1.25;text-align:center;text-transform:uppercase;white-space:nowrap;pointer-events:none}.vcard--dying img,.vcard--dying .vcard-placeholder,.thumb--dying img,.thumb--dying .thumb-placeholder{opacity:.45;filter:grayscale(.6)}.combat-marks+.combat-mark--dies{top:72%}.zone--cards.zone--focused .vcard .combat-mark{padding:2px 10px;font-size:1.1rem}.zone--cards.zone--focused .vcard .combat-mark--dies{padding:5px 0;font-size:1.25rem}.focus-mode .zone:not(.zone--focused) .combat-mark{padding:0 3px;font-size:.55rem;line-height:1.25}.focus-mode .zone:not(.zone--focused) .combat-mark--dies{padding:1px 0;font-size:.5rem;letter-spacing:.04em}.focus-mode .zone:not(.zone--focused) .vcard--attacking,.focus-mode .zone:not(.zone--focused) .vcard--blocking,.focus-mode .zone:not(.zone--focused) .vcard--dying,.focus-mode .zone:not(.zone--focused) .thumb--attacking,.focus-mode .zone:not(.zone--focused) .thumb--blocking,.focus-mode .zone:not(.zone--focused) .thumb--dying{outline-width:2px;outline-offset:-2px}.pick-stepper{gap:3px}.pick-stepper button{min-width:30px}.pick-count{flex:0 0 auto;width:7.2em;overflow:hidden;font-size:.78rem;font-weight:700;text-align:center;white-space:nowrap}.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}.stack-list button.stack-label--card{background:transparent;border:none;padding:0;text-align:left;flex:1;text-decoration:underline dotted #8c8c99;text-underline-offset:3px}.stack-categories{justify-content:flex-start}.stack-categories .chip{padding:4px 10px;font-size:.75rem}.stack-suggestions{max-height:220px;overflow-y:auto}.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-2 .zone.edge-top{grid-area:seat1;transform:rotate(calc(180deg + var(--flip, 0deg)))}.players-2 .zone.edge-bottom{grid-area:seat0;transform:none}.players-2 .zone.edge-bottom.zone--flipped{transform:rotate(180deg)}.players-2.focus-mode .zone.edge-top{order:1}.players-2.focus-mode .zone.edge-bottom{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}.hub-tray--sheet{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;border-top:none;padding-top:0}.hub-tray--sheet button{min-width:0;min-height:68px;gap:6px;padding:10px 4px;background:#1d1d24;border:1px solid #33333d}.hub-tray--sheet .hub-icon{font-size:1.5rem}.hub-tray--sheet .hub-label{font-size:.78rem;opacity:.9}.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{margin-left:auto;width:38px;height:38px;min-width:38px;border-radius:50%;font-size:1rem;padding:0;background:#17171ce0}.fab-dice{display:none}.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}.focus-mode .zone:not(.zone--focused) .attack-btn{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}}@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,.chip--deck{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:row;flex-wrap:wrap;justify-content:center;gap:4px}.cmd-gauge{display:grid;grid-template-columns:auto auto;align-items:center;gap:2px 4px;background:transparent;border:none;padding:2px 5px;font-size:.55rem;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{grid-column:1 / -1;width:100%;min-width:30px;height:3px;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{padding:1px 4px;font-size:.5rem}.focus-mode .zone:not(.zone--focused) .cmd-gauge-bar{min-width:22px;height:2px}@media (min-width: 700px){.zone--focused .cmd-gauge{font-size:.62rem;padding:2px 6px}.zone--focused .cmd-gauge-bar{min-width:40px;height:4px}.zone--focused .cmd-gauge-value{font-size:.78rem}}.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;--bar: 54px;--bar-open: 180px;--bar-t: var(--bar);--bar-b: var(--bar);--bar-l: var(--bar);--bar-r: var(--bar)}.players-3.table-360{--bar-t: -4px}.table-360:has(>.zone--focused.edge-top){--bar-t: -4px}.table-360:has(>.zone--focused.edge-bottom){--bar-b: -4px}.table-360:has(>.zone--focused.edge-left){--bar-l: -4px}.table-360:has(>.zone--focused.edge-right){--bar-r: -4px}.table-360:has(>.edge-top:not(.zone--focused)>.hand-tray>.hand-fan){--bar-t: var(--bar-open)}.table-360:has(>.edge-bottom:not(.zone--focused)>.hand-tray>.hand-fan){--bar-b: var(--bar-open)}.table-360:has(>.edge-left:not(.zone--focused)>.hand-tray>.hand-fan){--bar-l: var(--bar-open)}.table-360:has(>.edge-right:not(.zone--focused)>.hand-tray>.hand-fan){--bar-r: var(--bar-open)}.table-360 .zone{position:absolute;margin:0}.table-360 .edge-bottom:not(.zone--focused){left:4px;right:4px;bottom:4px;height:var(--bar-b);transform:none}.table-360 .edge-bottom.zone--flipped:not(.zone--focused){transform:rotate(180deg)}.table-360 .edge-top:not(.zone--focused){left:4px;right:4px;top:4px;height:var(--bar-t);transform:rotate(calc(180deg + var(--flip, 0deg)))}.table-360 .edge-left:not(.zone--focused){top:calc(50% + (var(--bar-t) - var(--bar-b)) / 2);left:calc(2px + var(--bar-l) / 2);width:calc(100dvh - var(--bar-t) - var(--bar-b) - 16px);height:var(--bar-l);transform:translate(-50%,-50%) rotate(calc(90deg + var(--flip, 0deg)))}.table-360 .edge-right:not(.zone--focused){top:calc(50% + (var(--bar-t) - var(--bar-b)) / 2);left:calc(100% - 2px - var(--bar-r) / 2);width:calc(100dvh - var(--bar-t) - var(--bar-b) - 16px);height:var(--bar-r);transform:translate(-50%,-50%) rotate(calc(-90deg + var(--flip, 0deg)))}.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,.table-360 .zone--focused.edge-top{inset:calc(var(--bar-t) + 8px) calc(var(--bar-r) + 8px) calc(var(--bar-b) + 8px) calc(var(--bar-l) + 8px)}.table-360 .zone--focused.edge-bottom{transform:none}.table-360 .zone--focused.edge-bottom.zone--flipped{transform:rotate(180deg)}.table-360 .zone--focused.edge-top{transform:rotate(calc(180deg + var(--flip, 0deg)))}.table-360 .zone--focused.edge-left,.table-360 .zone--focused.edge-right{inset:auto;top:calc(50% + (var(--bar-t) - var(--bar-b)) / 2);left:calc(50% + (var(--bar-l) - var(--bar-r)) / 2);width:calc(100dvh - var(--bar-t) - var(--bar-b) - 16px);height:calc(100dvw - var(--bar-l) - var(--bar-r) - 16px)}.table-360 .zone--focused.edge-left{transform:translate(-50%,-50%) rotate(calc(90deg + var(--flip, 0deg)))}.table-360 .zone--focused.edge-right{transform:translate(-50%,-50%) rotate(calc(-90deg + var(--flip, 0deg)))}.focus-mode .zone:not(.zone--focused) .cmd-gauges{flex-direction:row;gap:6px}.focus-mode .zone:not(.zone--focused) .cmd-gauge{grid-template-columns:11px 24px 12px;gap:3px;padding:0 2px}.focus-mode .zone:not(.zone--focused) .cmd-gauge-name{max-width:11px}.focus-mode .zone:not(.zone--focused) .thumb-placeholder{font-size:0}.table-360 .zone:not(.zone--focused){overflow:hidden;flex-wrap:nowrap}.table-360 .zone:not(.zone--focused) .board-strip{min-width:60px;flex:1 1 auto}.table-360 .zone:not(.zone--focused) .lands-row{flex:0 0 auto;max-width:45%}.table-360 .zone:not(.zone--focused) .mana-summary{flex-wrap:nowrap;overflow:hidden}.table-360 .zone--focused.edge-left .zone-header,.table-360 .zone--focused.edge-right .zone-header{flex-wrap:wrap;row-gap:4px}.table-360 .zone--focused.edge-left .header-hub,.table-360 .zone--focused.edge-right .header-hub{order:10;flex-basis:100%;justify-content:center}.zone--cards.zone--focused.zone--narrow .zone-header{flex-wrap:wrap;row-gap:0}.zone--cards.zone--focused.zone--narrow .header-hub{order:10;flex-basis:100%;justify-content:center;margin-bottom:4px}.focus-mode .zone:not(.zone--focused) .cmd-gauges{display:none}.bf-row{display:flex;align-items:flex-start;gap:10px;padding:4px 0}.bf-cards{display:flex;flex-wrap:wrap;gap:8px;flex:1;min-width:0}.vcard{position:relative;padding:0;border:none;border-radius:6px;overflow:hidden;background:#22222a;box-shadow:0 2px 8px #00000073}.bf-row--lg .vcard{width:96px;height:134px}.bf-row--md .vcard{width:72px;height:100px}.bf-row--sm .vcard{width:54px;height:75px}.vcard img{width:100%;height:100%;object-fit:cover;display:block}.vcard--tapped{transform:rotate(8deg)}.vcard--tapped img{opacity:.5;filter:grayscale(.5)}.vcard-placeholder{display:flex;align-items:center;justify-content:center;width:100%;height:100%;font-size:.62rem;padding:3px;word-break:break-word;background:#2b2b33}.vcard-counter{position:absolute;bottom:3px;right:3px;background:#000c;border-radius:4px;padding:0 4px;font-size:.65rem;font-weight:700;color:var(--accent)}.vcard-host{position:relative;display:inline-flex;flex:0 0 auto}.vcard-attached{position:absolute;left:5%;right:30%;bottom:4%;display:flex;gap:4%;pointer-events:none}.attached-mini{pointer-events:auto;flex:0 1 34%;min-width:0;aspect-ratio:63 / 88;padding:0;border:1px solid var(--accent);border-radius:4px;overflow:hidden;background:#22222a;box-shadow:0 2px 8px #000000b3}.attached-mini img{display:block;width:100%;height:100%;object-fit:cover}.attached-name{display:block;padding:2px;font-size:.5rem;line-height:1.1;overflow-wrap:anywhere}.attached-badge{position:absolute;left:2px;bottom:2px;padding:0 4px;border-radius:999px;background:#000000d1;border:1px solid rgba(200,168,75,.6);font-size:.62rem;font-weight:700;line-height:1.4}.use-band{position:absolute;left:0;right:0;bottom:0;padding:1px 0;background:#000c;color:var(--accent);font-size:.5rem;font-weight:800;line-height:1.35;letter-spacing:.05em;text-align:center;text-transform:uppercase;pointer-events:none}.focus-mode .zone--cards:not(.zone--focused) .vcard-attached,.focus-mode .zone--cards:not(.zone--focused) .attached-badge,.focus-mode .zone--cards:not(.zone--focused) .use-band{display:none}.bf-side{display:flex;flex-wrap:wrap;gap:8px;flex:0 0 auto}.zone-dock{display:flex;gap:6px;align-items:flex-start;flex:0 0 auto}.dock-minis,.zone-lead,.zone-shelf,.token-shelf{display:contents}.dock-pile{position:relative;width:46px;height:64px;padding:0;border-radius:5px;overflow:hidden;background:#1d1d24;border:1px solid #3a3a44}.dock-pile img{width:100%;height:100%;object-fit:cover}.dock-library{background:repeating-linear-gradient(135deg,#23232c,#23232c 5px,#1b1b22 5px,#1b1b22 10px);border-color:var(--accent)}.dock-count{position:absolute;bottom:2px;right:2px;background:#000000d1;border-radius:999px;padding:0 5px;font-size:.68rem;font-weight:700}.dock-arm{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;background:#c8a84bd9;color:#141410;font-size:.62rem;font-weight:700}.dock-draw{position:absolute;left:0;right:0;top:50%;transform:translateY(-50%);padding:2px 0;background:var(--accent);color:#141410;font-size:.6rem;font-weight:800;letter-spacing:.08em;text-indent:.08em;text-align:center;text-transform:uppercase}.dock-empty{display:flex;align-items:center;justify-content:center;width:100%;height:100%;color:#8c8c99;font-size:1.1rem}.dock-command--out{opacity:.55}.dock-library--empty{opacity:.45}.dock-hand{font-size:.9rem}.hand-tray{padding:2px 0}.hand-pill{border-radius:999px;padding:6px 16px;font-weight:700}.hand-anchor{position:sticky;left:0;z-index:2;flex:0 0 0;align-self:flex-end;width:0;height:0}.hand-fold{position:absolute;left:5px;bottom:6px;border-radius:999px;padding:6px 12px;border-color:#ffffff59;background:#0a0a0edb;box-shadow:0 1px 6px #000000b3;font-weight:700;line-height:1.2;white-space:nowrap}.hand-anchor:only-child{position:static;flex:0 0 auto;width:auto;height:auto}.hand-anchor:only-child .hand-fold{position:static}.hand-fan{display:flex;flex-direction:column;gap:6px}.hand-cards{display:flex;gap:6px;overflow-x:auto;padding-bottom:2px}.hand-card{flex:0 0 auto;width:78px;height:109px;padding:0;border:none;border-radius:6px;overflow:hidden;background:#22222a}.hand-card img{width:100%;height:100%;object-fit:cover}.hand-slot{display:contents}.hand-card--selected{outline:3px solid var(--accent);outline-offset:-3px}.hand-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.zone--cards .zone-header{padding:0 6px;gap:6px;min-height:0}.zone--cards .zone-header .life-total{font-size:clamp(1.1rem,2.6vw,1.6rem)}.zone--cards .zone-header .avatar--small{width:22px;height:22px}.zone--cards .lifewrap{flex-direction:row;align-items:center;gap:6px}.zone--cards .zone-header .cmd-gauge{padding:1px 4px;font-size:.55rem}.zone--cards .zone-header .life-btn{width:34px;height:34px}.zone--cards .header-hub .hub-actions button{flex-direction:row;gap:5px;padding:4px 8px;min-width:0}.zone--cards.zone--focused{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto minmax(0,1fr) auto auto auto;grid-template-areas:"header header" "combat combat" "field  field" "status dock" "shelf  dock" "hand   hand";gap:4px 8px;align-items:stretch;justify-items:stretch}.zone--cards.zone--focused:has(>.hand-tray>.hand-fan){grid-template-areas:"header header" "combat combat" "field  field" "status minis" "shelf  minis" "hand   library"}.zone--cards.zone--focused.zone--narrow{grid-template-areas:"header header" "combat combat" "field  field" "status status" "shelf  dock" "hand   hand"}.zone--cards.zone--focused.zone--narrow:has(>.hand-tray>.hand-fan){grid-template-areas:"header header" "combat combat" "field  field" "status status" "shelf  minis" "hand   library"}.zone--cards.zone--focused>.zone-header{grid-area:header}.zone--cards.zone--focused>.combat-bar{grid-area:combat}.zone--cards.zone--focused>.bf-row{display:contents}.zone--cards.zone--focused .bf-cards{grid-area:field}.zone--cards.zone--focused>.lands-row{grid-area:status}.zone--cards.zone--focused>.zone-shelf{grid-area:shelf}.zone--cards.zone--focused>.hand-tray{grid-area:hand}.zone--cards.zone--focused:before{content:"";grid-row:status-start / shelf-end;grid-column:1 / -1;border-radius:10px;background:#08080c94;pointer-events:none}.zone--cards.zone--focused .bf-cards{min-width:0;min-height:0;padding:10px 14px;justify-content:center;align-content:safe center;overflow-x:hidden;overflow-y:auto;scrollbar-width:none}.zone--cards.zone--focused .bf-cards::-webkit-scrollbar,.zone--cards.zone--focused .zone-shelf::-webkit-scrollbar,.zone--cards.zone--focused .board-strip::-webkit-scrollbar,.zone--cards.zone--focused .hand-cards::-webkit-scrollbar,.zone--cards.zone--focused .mana-summary::-webkit-scrollbar{display:none}.zone--cards.zone--focused .bf-cards .vcard{flex:0 0 auto;height:var(--card-h, 134px);width:auto;aspect-ratio:63 / 88}.zone--cards.zone--focused>.lands-row{position:relative;width:auto;min-width:0;padding:0;border:none;border-radius:0;background:none;backdrop-filter:none;-webkit-backdrop-filter:none}.zone--cards.zone--focused .mana-summary{display:flex;flex-wrap:nowrap;align-items:center;gap:8px;min-width:0;min-height:34px;padding:2px 10px 0;overflow-x:auto;overflow-y:hidden;scrollbar-width:none}.zone--cards.zone--focused .mana-summary>*{flex:0 0 auto;white-space:nowrap}.zone--cards.zone--focused .turn-readouts{flex-direction:row;align-items:center;gap:10px}.zone--cards.zone--focused .attack-btn{min-height:30px;padding:2px 10px}.zone--cards.zone--focused .zone-dice{width:30px;height:30px;min-width:30px;font-size:.9rem}.zone--cards.zone--focused .zone-shelf{position:relative;display:flex;flex-wrap:wrap;align-items:center;gap:4px 12px;min-width:0;min-height:72px;padding:4px 8px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none}.zone--cards.zone--focused .lands-stacks,.zone--cards.zone--focused .bf-side{display:flex;flex-wrap:nowrap;align-items:center;gap:6px;flex:var(--n, 0) 1 calc(var(--n, 0) * 38px - 6px);width:auto;min-width:0;max-width:calc(var(--n, 0) * 52px - 6px);min-height:0;padding:0;border:none;overflow:visible}.zone--cards.zone--focused .lands-stacks{display:grid;grid-template-columns:repeat(auto-fit,minmax(32px,1fr));gap:4px 6px}.zone--cards.zone--focused .lands-stacks:empty,.zone--cards.zone--focused .board-strip:empty{display:none}.zone--cards.zone--focused .zone-shelf>.lands-stacks:not(:empty)+.bf-side{box-shadow:-7px 0 0 -6px #ffffff24}.zone--cards.zone--focused>.token-shelf{grid-area:field;align-self:end;justify-self:start;position:relative;z-index:1;display:flex;flex-wrap:nowrap;align-items:center;gap:8px;min-width:0;max-width:calc(100% - 16px);margin:0 8px 6px}.zone--cards.zone--focused .board-strip{display:flex;flex-wrap:nowrap;align-items:center;gap:6px;flex:0 1 auto;width:auto;min-width:0;min-height:0;padding:0;border:none;overflow-x:auto;overflow-y:hidden;scrollbar-width:none}.zone--cards.zone--focused .land-stack,.zone--cards.zone--focused .bf-side .vcard,.zone--cards.zone--focused .board-strip .thumb{flex:1 1 0;width:auto;min-width:32px;max-width:46px;height:auto;aspect-ratio:63 / 88}.zone--cards.zone--focused .board-strip .board-item{flex:0 0 79px;flex-direction:row;align-items:center;gap:3px}.zone--cards.zone--focused .board-strip .count-controls .count-badge,.zone--cards.zone--focused .board-strip .count-controls .pick-count{border-radius:4px;background:#08080cb3}.zone--cards.zone--focused .board-strip .thumb-name,.zone--cards.zone--focused .board-strip .stack-remove,.zone--cards.zone--focused .board-strip .pick-job{display:none}.zone--cards.zone--focused .board-strip .count-controls{flex:0 0 30px;flex-direction:column-reverse;align-items:stretch;gap:1px}.zone--cards.zone--focused .board-strip .count-controls button{width:30px;height:24px;padding:0;line-height:1}.zone--cards.zone--focused .board-strip .count-controls .count-badge,.zone--cards.zone--focused .board-strip .count-controls .pick-count{width:auto;min-width:0;font-size:.72rem;line-height:14px;text-align:center}.zone--cards.zone--focused .board-strip .count-controls .pick-count:before{content:"⚔";margin-right:1px;font-size:.7rem;opacity:.85}.zone--cards.zone--focused .board-strip .pick-stepper--dying .pick-count:before{content:"☠"}.board-strip--shelf .combat-mark--dies{padding:1px 0;font-size:.55rem;letter-spacing:.02em}.board-strip--shelf .combat-mark--dies .dies-word{display:none}.token-add{flex:0 0 auto;display:inline-flex;align-items:center;gap:5px;height:30px;padding:0 11px 0 8px;border:1px solid #4a4a58;border-radius:999px;background:#101016d1;font-size:.62rem;font-weight:700;letter-spacing:.07em;line-height:1;text-transform:uppercase;white-space:nowrap}.token-add-plus{font-size:1.05rem;font-weight:800;line-height:1;color:var(--accent)}.zone--cards.zone--focused .zone-dock{grid-area:dock;position:relative;align-self:end;justify-self:end;justify-content:flex-end;gap:6px;padding:4px 8px 4px 0}.zone--cards.zone--focused .dock-pile{flex:0 0 auto;width:46px;height:64px}.zone--cards.zone--focused:has(>.hand-tray>.hand-fan) .zone-dock{display:contents}.zone--cards.zone--focused:has(>.hand-tray>.hand-fan) .dock-minis{grid-area:minis;position:relative;align-self:end;justify-self:end;display:flex;justify-content:flex-end;gap:6px;width:156px;padding:0 0 4px}.zone--cards.zone--focused:has(>.hand-tray>.hand-fan) .dock-minis .dock-pile{flex:1 1 0;min-width:34px;max-width:46px;width:auto;height:auto;aspect-ratio:63 / 88}.zone--cards.zone--focused:has(>.hand-tray>.hand-fan) .dock-library{grid-area:library;align-self:end;justify-self:end;width:156px;height:218px;border-width:2px;border-radius:9px}.zone--cards.zone--focused:has(>.hand-tray>.hand-fan) .dock-library .dock-count{bottom:6px;right:6px;padding:1px 9px;font-size:1rem}.zone--cards.zone--focused:has(>.hand-tray>.hand-fan) .dock-library .dock-draw{padding:5px 0;font-size:1.05rem;letter-spacing:.22em;text-indent:.22em}.zone--cards.zone--focused .hand-tray{display:flex;justify-content:center;min-width:0}.zone--cards.zone--focused .hand-fan{flex:1 1 0;min-width:0;flex-direction:row;align-items:flex-end;gap:8px}.zone--cards.zone--focused .hand-tools{order:-1;flex:0 0 auto;flex-direction:column;align-items:stretch;flex-wrap:nowrap;max-width:150px}.zone--cards .hand-cards{--hand-w: 156px;--hand-h: 218px;--hand-strip: 34px;flex:1 1 0;min-width:0;gap:0;justify-content:safe center;scrollbar-width:none}.zone--cards .hand-slot{display:block;position:relative;flex:1 1 0;min-width:var(--hand-strip);max-width:calc(var(--hand-w) + 8px);height:var(--hand-h);transition:flex-grow .14s ease,flex-basis .14s ease}.zone--cards .hand-slot--front{flex:0 1 var(--hand-w);z-index:1}.zone--cards .hand-slot:last-child{flex:0 0 var(--hand-w)}.zone--cards .hand-card{position:absolute;top:0;left:0;width:var(--hand-w);height:var(--hand-h);box-shadow:-4px 0 10px #0000008c}.zone--cards .hand-slot--front .hand-card{outline:2px solid var(--accent);outline-offset:-2px;box-shadow:0 0 14px 3px #000000d9}.zone--cards.zone--focused.zone--narrow .hand-fan{flex-direction:column;align-items:stretch;justify-content:flex-end;gap:6px}.zone--cards.zone--focused.zone--narrow .hand-tools{flex-direction:row;flex-wrap:wrap;align-items:center;max-width:none}.zone--cards.zone--focused.zone--narrow .hand-cards{flex:0 0 auto}.zone--cards .hand-card--poor{opacity:1;filter:none}.zone--cards .hand-card--poor img,.zone--cards .hand-card--poor .vcard-placeholder{opacity:.45;filter:saturate(.4)}.zone--cards .hand-slot--front .hand-card--poor{outline-color:#fff6}.zone--cards .hand-slot--front .hand-card--poor img,.zone--cards .hand-slot--front .hand-card--poor .vcard-placeholder{opacity:.9;filter:saturate(.7)}.zone--cards.zone--focused .header-hub .hub-main{display:grid;grid-template-columns:1fr auto 1fr;align-items:center}.zone--cards.zone--focused .header-hub .hub-turn{justify-self:end}.zone--cards.zone--focused .header-hub .hub-actions{justify-self:start}.zone--cards.zone--focused:not(.zone--narrow) .zone-header{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center}.zone--cards.zone--focused:not(.zone--narrow) .zone-lead{grid-column:1;display:flex;align-items:center;gap:8px;min-width:0;overflow:hidden}.zone--cards.zone--focused:not(.zone--narrow) .zone-lead>.zone-id{flex:0 0 auto}.zone--cards.zone--focused:not(.zone--narrow) .zone-lead>.zone-chips{flex:0 1 auto;min-width:0;overflow:hidden}.zone--cards.zone--focused:not(.zone--narrow) .header-hub{grid-column:2}.zone--cards.zone--focused:not(.zone--narrow) .lifewrap{grid-column:3;justify-self:end}.focus-mode .zone--cards:not(.zone--focused) .bf-row{flex:1 1 0;min-width:64px;padding:0;align-items:center}.focus-mode .zone--cards:not(.zone--focused) .lands-row{flex:0 1 auto;min-width:0;overflow:hidden}.focus-mode .zone--cards:not(.zone--focused) .board-strip{flex:0 1 auto;min-width:0}.focus-mode .zone--cards:not(.zone--focused) .hand-tray{flex:0 0 auto}.table-360 .zone--cards.edge-left:not(.zone--focused) .zone-dock,.table-360 .zone--cards.edge-right:not(.zone--focused) .zone-dock,.table-360 .zone--cards.edge-left:not(.zone--focused) .mana-ready,.table-360 .zone--cards.edge-right:not(.zone--focused) .mana-ready,.table-360 .zone--cards.edge-left:not(.zone--focused) .avatar,.table-360 .zone--cards.edge-right:not(.zone--focused) .avatar,.table-360 .zone--cards.edge-left:not(.zone--focused) .zone-id .mana-pip--mini,.table-360 .zone--cards.edge-right:not(.zone--focused) .zone-id .mana-pip--mini,.table-360 .zone--cards.edge-left:not(.zone--focused) .chip-cards,.table-360 .zone--cards.edge-right:not(.zone--focused) .chip-cards{display:none}@media (max-width: 1100px){.focus-mode .zone--cards:not(.zone--focused) .zone-dock,.focus-mode .zone--cards:not(.zone--focused) .mana-ready,.focus-mode .zone--cards:not(.zone--focused) .chip-cards{display:none}}.focus-mode .zone--cards:not(.zone--focused) .bf-cards{flex-wrap:nowrap;overflow-x:auto;gap:4px}.focus-mode .zone--cards:not(.zone--focused) .vcard,.focus-mode .zone--cards:not(.zone--focused) .dock-pile{flex:0 0 auto;width:30px;height:42px}.focus-mode .zone--cards:not(.zone--focused) .dock-count{font-size:.55rem;padding:0 3px}.focus-mode .zone--cards:not(.zone--focused) .bf-side{flex:0 1 auto;flex-wrap:nowrap;gap:4px;min-width:0;overflow:hidden}.focus-mode .zone--cards:not(.zone--focused) .dock-draw,.focus-mode .zone--cards:not(.zone--focused) .token-add{display:none}.focus-mode .zone--cards:not(.zone--focused)>.lands-row{order:2}.focus-mode .zone--cards:not(.zone--focused)>.hand-tray{order:3}.focus-mode .zone--cards:not(.zone--focused) .hand-pill{padding:2px 10px;font-size:.8rem}.focus-mode .zone--cards:not(.zone--focused):has(>.hand-tray>.hand-fan){flex-wrap:wrap;align-content:flex-start}.focus-mode .zone--cards:not(.zone--focused)>.hand-tray:has(>.hand-fan){flex:1 1 100%;min-width:0;padding:0}.focus-mode .zone--cards:not(.zone--focused) .hand-fan{flex-direction:row;align-items:flex-end;gap:8px}.focus-mode .zone--cards:not(.zone--focused) .hand-tools{order:-1;flex:0 0 auto;flex-direction:column;align-items:stretch;flex-wrap:nowrap;gap:4px;max-width:150px}.focus-mode .zone--cards:not(.zone--focused) .hand-tools button{padding:3px 10px;font-size:.8rem}.focus-mode .zone--cards:not(.zone--focused) .hand-fold{left:3px;bottom:3px;padding:4px 9px;font-size:.8rem}.focus-mode .zone--cards:not(.zone--focused) .hand-cards{--hand-w: 86px;--hand-h: 120px;--hand-strip: 24px}.focus-mode .zone--cards:not(.zone--focused) .hand-cards::-webkit-scrollbar{display:none}.hand-card--poor,.dock-command--poor img{opacity:.45;filter:saturate(.4)}.mana-ready,.land-plays{font-size:.74rem;font-weight:700;color:var(--accent);white-space:nowrap}.turn-readouts{display:inline-flex;flex-direction:column;align-items:flex-start;gap:3px;line-height:1.1}.hand-pill--held{display:inline-block;border-radius:999px;padding:6px 16px;font-weight:700;opacity:.65;background:#22222a}.hub-whose-name{color:var(--accent);font-weight:700}.center-hub--compact .hub-main{width:auto;gap:8px;justify-content:flex-start}.center-hub--compact .hub-turn-number{display:grid;grid-template-columns:repeat(3,auto);justify-content:start;align-items:baseline;column-gap:.35em;font-size:.7rem;letter-spacing:.06em;line-height:1.25;opacity:1;color:#a3a19c}.center-hub--compact .hub-whose{order:1;grid-column:1 / -1;min-width:0}.center-hub--compact .hub-sep{display:none}.center-hub--compact .hub-whose-name{display:block;max-width:112px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.8rem}.center-hub--compact .hub-pass{flex:0 0 auto;min-height:36px;padding:6px 12px;white-space:nowrap}.center-hub .hub-pass{width:7.25rem;min-height:34px;padding-left:0;padding-right:0}.center-hub--compact .hub-pass{width:6.75rem;min-height:36px}.center-hub .hub-pass--asking{padding-top:2px;padding-bottom:2px;border:1px solid var(--danger);background:#3a1612;color:var(--fg);font-size:.74rem;line-height:1.15;white-space:normal}.zone--hub .center-hub--compact .hub-actions button{flex-direction:row;justify-content:center;gap:5px;min-width:36px;min-height:36px;padding:4px 8px}.focus-mode .zone--cards.zone--hub:not(.zone--focused) .zone-dock,.focus-mode .zone--cards.zone--hub:not(.zone--focused) .mana-ready,.focus-mode .zone--cards.zone--hub:not(.zone--focused) .chip-cards{display:none}.zone--hub .header-hub{flex:0 0 auto;order:0}.zone--hub .header-hub .center-hub--row{padding:0}.zone--hub .zone-id{min-width:122px;overflow:hidden}.zone--hub .zone-id>*{flex:0 0 auto}.zone--hub .zone-id>.zone-name{flex:0 1 auto;min-width:3em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.zone--hub .zone-chips{flex:0 1 auto;flex-wrap:wrap;row-gap:24px;min-width:0;max-height:24px;overflow:hidden}.zone--hub .zone-chips:before{content:"";flex:0 0 0px;margin-right:-4px}.focus-mode .zone--hub:not(.zone--focused) .zone-header{min-width:0;max-width:100%}.table-360 .zone--hub:not(.zone--focused) .zone-header{max-width:calc(100% - 96px)}.table-360 .zone--cards.zone--hub:not(.zone--focused) .zone-header{max-width:calc(100% - 172px)}@media (orientation: landscape){.focus-mode .zone--hub:not(.zone--focused) .zone-header{max-width:calc(100% - 96px)}.focus-mode .zone--cards.zone--hub:not(.zone--focused) .zone-header{max-width:calc(100% - 172px)}.focus-mode .zone--hub:not(.zone--cards):not(.zone--focused) .board-strip{min-width:60px}}@media (orientation: portrait){.focus-mode:not(.table-360) .zone--hub:not(.zone--focused) .zone-header{flex-wrap:wrap;row-gap:4px}}@media (orientation: portrait) and (max-width: 700px){.focus-mode:not(.table-360) .zone--hub .header-hub{order:10;flex-basis:100%}.focus-mode:not(.table-360) .zone--hub:not(.zone--focused) .zone-id .mana-pip--mini{display:none}}.focus-mode .zone--hub:not(.zone--focused) .board-strip{flex-shrink:1000}.focus-mode .zone--hub:not(.zone--focused) .lands-row{flex:0 1 auto;min-width:0;max-width:none;overflow:hidden}.focus-mode .zone--hub:not(.zone--focused) .mana-summary{flex-wrap:wrap;height:26px;overflow:hidden}.focus-mode .zone--hub:not(.zone--focused) .mana-summary:before{content:"";flex:0 0 0px;height:26px;margin-right:-8px}@media (max-width: 1100px){.zone--hub .center-hub--compact .hub-label{display:none}.zone--hub .center-hub--compact .hub-actions button{padding:4px}.focus-mode .zone--hub:not(.zone--focused){column-gap:10px}.table-360 .zone--hub:not(.zone--focused) .avatar,.table-360 .zone--hub:not(.zone--focused) .zone-id .mana-pip--mini,.table-360 .zone--hub:not(.zone--focused) .lands-row .mana-pip{display:none}.table-360 .zone--hub:not(.zone--focused) .zone-id{min-width:88px}.table-360 .zone--hub:not(.zone--focused) .lands-total{font-size:.82rem;letter-spacing:.04em}.table-360 .zone--cards.zone--hub:not(.zone--focused) .bf-row{min-width:44px}.table-360 .zone--hub:not(.zone--focused) .zone-header{max-width:calc(100% - 84px)}.table-360 .zone--cards.zone--hub:not(.zone--focused) .zone-header{max-width:calc(100% - 140px)}}@media (max-width: 790px){.table-360 .zone--hub:not(.zone--focused) .lands-row{display:none}}@media (max-width: 720px){.table-360 .zone--hub:not(.zone--focused) .bf-row,.table-360 .zone--hub:not(.zone--focused) .board-strip{display:none}.table-360 .zone--hub:not(.zone--focused) .zone-header{max-width:100%}.table-360 .zone--cards.zone--hub:not(.zone--focused) .zone-header{max-width:calc(100% - 76px)}}.focus-mode .zone--dead.zone--hub:not(.zone--focused){filter:none}.focus-mode .zone--dead.zone--hub:not(.zone--focused) .dead-overlay{display:none}.focus-mode .zone--dead.zone--hub:not(.zone--focused) .zone-id,.focus-mode .zone--dead.zone--hub:not(.zone--focused) .zone-chips,.focus-mode .zone--dead.zone--hub:not(.zone--focused) .lifewrap,.focus-mode .zone--dead.zone--hub:not(.zone--focused)>:not(.zone-header){filter:grayscale(.9) brightness(.55)}.focus-mode .zone--dead.zone--hub:not(.zone--focused) .zone-name{text-decoration:line-through}.game-screen.hand-mode{display:block;overflow-y:auto}.hand-screen{display:flex;flex-direction:column;gap:10px;padding:52px 12px calc(16px + env(safe-area-inset-bottom));min-height:100%}.hs-glance{display:flex;gap:6px;overflow-x:auto;padding-bottom:2px;scrollbar-width:none}.hs-glance::-webkit-scrollbar{display:none}.hs-player{flex:0 0 auto;display:inline-flex;align-items:center;gap:6px;padding:5px 10px;border-radius:999px;background:#1c1c24;border:1px solid #2e2e3a;font-size:.78rem;white-space:nowrap}.hs-player--me{border-color:var(--accent)}.hs-player--active{background:#2a2a38;box-shadow:inset 0 0 0 1px #4a4a5e}.hs-player--dead{opacity:.45;text-decoration:line-through}.hs-name{font-weight:700}.hs-life{font-weight:800;font-variant-numeric:tabular-nums}.hs-counts{color:#a8a8b4;font-size:.72rem}.hs-board .bf-row{align-items:flex-start}.hs-board .bf-cards{flex-wrap:nowrap;overflow-x:auto}.hs-board .vcard{flex:0 0 auto;width:92px;height:128px}.hs-board .bf-row{flex-direction:column;align-items:stretch;gap:6px}.hs-board .zone-dock{align-self:flex-end}.hs-board .bf-side{flex-wrap:nowrap;gap:6px;padding:4px 0;overflow-x:auto}.hs-board .bf-side .vcard{width:56px;height:78px}.hs-combat{width:100%;padding:10px 12px;border-color:#d4705a;border-radius:10px;background:#3a1612;color:#f4c7bd;font-family:var(--font-body);font-size:.92rem;font-weight:700;line-height:1.3;text-align:left}.hs-life-row{display:flex;align-items:center;gap:12px}.hs-life-row .life-counter{flex:0 0 auto}.hs-table-btn{margin-left:auto}.hand-screen .hand-cards{flex-wrap:wrap;overflow-x:visible}.hand-screen .hand-card{width:calc((100% - 12px) / 3);height:auto;aspect-ratio:63 / 88}.hand-jump{position:fixed;right:12px;bottom:calc(12px + env(safe-area-inset-bottom));z-index:40;border-radius:999px;width:44px;height:44px;padding:0;font-size:1.1rem;background:#2a2a38;border:1px solid #4a4a5e}.reveal-banner{position:fixed;top:0;right:0;bottom:0;left:0;margin:auto;width:fit-content;height:fit-content;max-width:94vw;max-height:88vh;overflow-y:auto;z-index:45;display:flex;flex-direction:column;align-items:center;gap:4px;padding:12px 18px 18px;border-radius:16px;border:1px solid var(--accent);background:#17171cf5;box-shadow:0 12px 48px #000000b3;text-align:center;cursor:pointer}.reveal-title{margin:0;font-size:1.15rem}.reveal-title strong{color:var(--accent)}.reveal-from{margin:0;font-size:.78rem;color:#a8a8b4}.reveal-cards{list-style:none;margin:8px 0 0;padding:0;display:grid;--reveal-w: max( 56px, min( var(--reveal-max, 170px), (94vw - 38px - (var(--reveal-cols, 1) - 1) * 10px) / var(--reveal-cols, 1), ((88vh - 100px - (var(--reveal-rows, 1) - 1) * 10px) / var(--reveal-rows, 1)) * 63 / 88 ) );grid-template-columns:repeat(var(--reveal-cols, 1),var(--reveal-w));justify-content:center;gap:10px}.reveal-card{position:relative;aspect-ratio:63 / 88;border-radius:4.75%/3.5%;overflow:hidden;background:#2b2b33;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 10px #00000080}.reveal-name{max-height:100%;overflow:hidden;padding:6%;font-size:clamp(.5rem,var(--reveal-w) / 9,.95rem);line-height:1.2;opacity:.8;overflow-wrap:anywhere}.reveal-card img{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:cover}.reveal-banner--cast{--spell: #a8a8b2;overflow:hidden;border-color:var(--spell);background:radial-gradient(120% 80% at 50% 0%,color-mix(in srgb,var(--spell) 24%,transparent),transparent 72%),#17171cf7;box-shadow:0 12px 48px #000000b3,0 0 46px 6px color-mix(in srgb,var(--spell) 50%,transparent)}.spell-W{--spell: #e8e3d0}.spell-U{--spell: #5a9bd4}.spell-B{--spell: #9a8fa8}.spell-R{--spell: #d4705a}.spell-G{--spell: #6aa877}.spell-C{--spell: #a8a8b2}.spell-M{--spell: #c8a84b}.reveal-banner--cast>*{position:relative}.reveal-banner--cast .reveal-title strong{color:var(--spell)}.reveal-banner--cast .reveal-from{font-size:1rem;font-weight:700;color:var(--fg)}.reveal-banner--cast .reveal-card{box-shadow:0 2px 10px #00000080,0 0 22px 2px color-mix(in srgb,var(--spell) 55%,transparent)}.reveal-banner--cast:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border-radius:inherit;pointer-events:none;opacity:.55}.spell-W:before{background:repeating-conic-gradient(from -40deg at 50% -10%,rgba(255,250,225,.22) 0deg 5deg,transparent 5deg 13deg)}.spell-U:before{background:repeating-radial-gradient(circle at 50% 62%,transparent 0 20px,rgba(120,185,240,.2) 20px 23px)}.spell-B:before{background:radial-gradient(circle at 50% 55%,transparent 30%,rgba(48,26,70,.75) 100%);opacity:.8}.spell-R:before{background:linear-gradient(to top,rgba(232,96,48,.5),rgba(244,176,72,.2) 38%,transparent 68%)}.spell-G:before{background:radial-gradient(42% 60% at 22% 100%,rgba(96,190,120,.4),transparent 72%),radial-gradient(48% 72% at 55% 100%,rgba(70,160,96,.42),transparent 72%),radial-gradient(40% 56% at 84% 100%,rgba(120,200,130,.36),transparent 72%);transform-origin:50% 100%}.spell-M:before,.spell-C:before{background:linear-gradient(115deg,transparent 32%,color-mix(in srgb,var(--spell) 42%,transparent) 50%,transparent 68%);background-size:250% 100%;background-position:50% 0}.pile-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}.pile-row{display:flex;align-items:center;gap:10px}.pile-art{width:40px;height:56px;object-fit:cover;border-radius:4px;flex:0 0 auto}.pile-art--empty{background:#22222a;display:inline-block}.pile-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pile-note{font-size:.72rem;opacity:.72}.pile-actions{display:flex;gap:4px}.pile-row--abilities{flex-wrap:wrap}.pile-row--abilities .ability-row{flex:1 0 100%;padding-left:50px}.pile-actions button{padding:4px 8px;font-size:.72rem}.pile-cast{flex:1 0 100%;padding-left:50px}.pile-flashback{display:inline-flex;align-items:center;gap:4px;padding:4px 10px;font-size:.78rem;white-space:nowrap}.pile-flashback .mana-sym{width:16px;height:16px}.library-actions{flex-wrap:wrap}.look-hint{margin:0}@media (min-width: 601px){.sheet--wide:has(.look-list){height:auto;max-height:90vh}}.look-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(var(--look-cols, 3),minmax(0,210px));justify-content:center;gap:14px}.look-card{min-width:0;display:flex;flex-direction:column;gap:6px}.look-face{position:relative;aspect-ratio:63 / 88;width:100%;padding:0;border:none;border-radius:10px;overflow:hidden;background:#2b2b33;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 10px #00000080}.look-face:before{content:attr(data-name);padding:10px;text-align:center;font-size:.85rem;opacity:.8;overflow-wrap:anywhere}.look-face img{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:cover;transition:filter .15s}.look-card:not(.look-card--top) .look-face img{filter:brightness(.4) saturate(.6)}.look-card:not(.look-card--top) .look-face:before{opacity:.4}.look-tag{position:absolute;top:6px;left:6px;max-width:calc(100% - 12px);padding:2px 8px;border-radius:11px;background:#000000d1;font-size:.72rem;font-weight:700;color:var(--accent)}.look-card:not(.look-card--top) .look-tag{color:#e8e8ee}.look-order{display:flex;align-items:center;gap:4px}.look-move{flex:0 0 auto;min-width:40px;min-height:36px;padding:4px 8px}.look-move--up:before{content:"◀︎"}.look-move--down:before{content:"▶︎"}.look-name{flex:1;min-width:0;text-align:center;font-size:.78rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.look-acts{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:4px}.look-dests{display:contents}.look-dest,.look-reveal{min-height:36px;padding:4px 2px;font-size:.7rem;white-space:nowrap;overflow:hidden}.look-dest--on{border-color:var(--accent);color:var(--accent);font-weight:700}.look-rest--on{border-color:var(--accent);color:var(--accent)}.look-dest--rest{border-style:dashed;border-color:var(--accent)}.look-reveal{color:#a8a8b4}.look-reveal--done{color:var(--accent)}.zoom-card{gap:10px}.zoom-card p{margin:0}.zoom-face{position:relative;flex:0 0 auto;width:min(100%,58vh * 63 / 88);aspect-ratio:63 / 88;border-radius:4.75%/3.5%;overflow:hidden;background:#2b2b33;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 10px #00000080}.zoom-face:before{content:attr(data-name);padding:14px;text-align:center;font-size:1.1rem;opacity:.8;overflow-wrap:anywhere}.zoom-face img{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:cover}.zoom-cost{opacity:.7;white-space:nowrap}@media (max-width: 700px){.look-list{grid-template-columns:minmax(0,1fr);gap:12px}.look-card{display:grid;grid-template-columns:112px minmax(0,1fr);grid-template-rows:auto 1fr;gap:8px 12px}.look-face{grid-row:1 / span 2}.look-acts{align-self:end}.look-dest,.look-reveal{font-size:.76rem}.look-rest{padding:8px 6px;font-size:.82rem}.look-move--up:before{content:"▲"}.look-move--down:before{content:"▼"}}.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}.tap-shield{position:fixed;top:0;right:0;bottom:0;left:0;z-index:49}.tap-shield--over{z-index:51}.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}.sheet-footer button.snug{padding-left:8px;padding-right:8px}.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}.screen.decks,.screen.deck-editor{justify-content:flex-start;text-align:left;align-items:stretch;max-width:760px;margin:0 auto;width:100%}.screen-header{display:flex;align-items:center;gap:12px;width:100%}.screen-header h1{font-size:1.3rem;margin:0}.screen-header>button{flex:0 0 auto;white-space:nowrap}@media (max-width: 480px){.curation .screen-header{flex-wrap:wrap;row-gap:4px}.curation .screen-header .deck-size{flex-basis:100%;font-size:.85rem}}.deck-tile-count{font-size:.72rem;color:#9a9aa5}.deck-name-input{flex:1;min-width:0;font:inherit;font-size:1.15rem;color:var(--accent);background:transparent;border:none;border-bottom:1px dashed #3a3a44;padding:4px 2px}.deck-size{font-weight:700;color:#9a9aa5;white-space:nowrap}.deck-size--full{color:var(--accent)}.deck-hero{display:flex;gap:14px;align-items:center}.deck-commander-img{width:110px;border-radius:7px;box-shadow:0 3px 12px #00000080}.deck-hero-info{display:flex;flex-direction:column;align-items:flex-start;gap:8px;flex:1;min-width:0}.deck-commander-name{font-weight:700}.deck-curve{display:flex;gap:5px;align-items:flex-end;height:72px;width:100%;max-width:300px}.deck-curve-track{flex:1;width:100%;min-height:0;display:flex;align-items:flex-end}.deck-curve-count{font-size:.64rem;font-weight:700;line-height:1}.deck-curve-col{flex:1;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:2px;height:100%}.deck-curve-bar{width:100%;background:var(--accent);opacity:.75;border-radius:3px 3px 0 0;min-height:1px;display:flex;flex-direction:column-reverse;gap:2px;overflow:hidden}.deck-curve-bar:has(>i){background:transparent;opacity:.9}.deck-curve-bar>i{flex-basis:0;min-height:2px}.deck-curve-label{font-size:.6rem;color:#8c8c99}.deck-add-btn{align-self:stretch}.deck-add-row{display:flex;gap:8px;align-self:stretch}.deck-add-row .deck-add-btn{flex:1}.deck-sample-btn{white-space:nowrap}.sample-line{margin:0 0 12px;font-family:var(--font-body);color:#c3c2b7}.sample-line strong{color:#fff}.sample-left{color:#898781}.sample-hand{display:flex;flex-wrap:wrap;justify-content:center;gap:10px}.sample-card{width:calc((100% - 60px) / 7);min-width:88px;max-width:170px;aspect-ratio:488 / 680;border-radius:4.75%/3.5%;box-shadow:0 4px 14px #00000080;animation:spawn-pop .26s ease-out}.sample-card--drawn{box-shadow:0 0 0 2px var(--accent),0 4px 14px #00000080}.sample-card--text{display:flex;flex-direction:column;justify-content:center;gap:6px;padding:10px;text-align:center;background:#26262e}.sample-card--text small{color:#9a9aa5}@media (prefers-reduced-motion: reduce){.sample-card{animation:none}}.deck-group{width:100%}.deck-group-title{display:flex;align-items:baseline;gap:8px;font-size:.8rem;text-transform:uppercase;letter-spacing:.08em;color:#8c8c99;border-bottom:1px solid #2c2c34;padding-bottom:4px;margin:4px 0 6px}.deck-group-count{color:var(--accent)}.deck-row{display:flex;align-items:center;gap:10px;padding:2px 0}.deck-row-name{flex:1;min-width:0;display:flex;align-items:center;gap:8px;text-align:left;background:transparent;border:none;padding:6px 2px;overflow:hidden}.deck-row-art{flex:0 0 auto;width:30px;height:42px;object-fit:cover;object-position:top;border-radius:3px;background:#22222a;display:inline-block}.deck-row-title{min-width:0;display:flex;flex-direction:column;overflow:hidden}.deck-row-cardname{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.deck-row-type{font-size:.66rem;color:#8c8c99;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.deck-group--legends .deck-row-type{white-space:normal}.deck-tools{display:flex;gap:8px;align-items:center;margin-top:10px}.deck-tools input[type=search]{flex:1;min-width:0}.deck-art-toggle{white-space:nowrap}.deck-find-line{margin:4px 2px 0}.curation-value{margin:8px 2px 0;font-size:.82rem;color:var(--accent)}.curation-value-note{color:#8c8c99}.curation-build-btn{align-self:flex-start;margin-top:6px}.build-owned{color:var(--accent);font-size:.72rem;font-weight:600;white-space:nowrap}.build-coverage{font-size:.74rem;color:#a8a8b4}.deck-row-cost{font-size:.7rem;color:#8c8c99;white-space:nowrap}.stepper--tight button{padding:4px 10px}.deck-footer{margin-top:12px;display:flex;justify-content:center}.decks-removed{margin-top:8px}.decks-removed .deck-row{padding:4px 0}.decks-removed .deck-row-title{flex:1}.decks-removed .deck-row button{flex:0 0 auto;padding:8px 14px}.entry-status{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.entry-last{color:var(--accent);font-size:.85rem}.deck-health{display:flex;flex-wrap:wrap;gap:8px}.deck-health-chip{font-size:.75rem;padding:3px 10px;border-radius:999px;background:#1d2a1f;border:1px solid #2f4a35}.deck-health-chip--short{background:#2a2316;border-color:#5a4a1e;color:#d4b96a}.deck-synergy-btn{padding:4px 10px;font-size:.8rem}.deck-row-warn{color:#d4b96a;font-size:.8rem}.deck-picks{display:flex;flex-direction:column;gap:8px;width:100%;max-width:640px}.deck-pick{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:.85rem;flex-direction:row;text-align:left}.deck-pick select{font:inherit;color:var(--fg);background:#26262e;border:1px solid #3a3a44;border-radius:8px;padding:6px 10px;min-height:44px;min-width:0;flex:0 1 400px;font-family:var(--font-body)}.deck-hero-actions{display:flex;gap:8px;flex-wrap:wrap}.deck-commander-name--none{color:#8c8c99;font-style:italic}.deck-tile-arts{display:flex;justify-content:center}.deck-tile-arts--pair .profile-commander-card{width:72px}.deck-tile-arts--pair .profile-commander-card+.profile-commander-card{margin-left:-14px;transform:translateY(6px)}.deck-commander-img--partner{margin-left:-34px;transform:translateY(8px)}@media (max-width: 480px){.deck-commander-img{width:84px}.deck-commander-img--partner{margin-left:-50px}}.deck-partner-line{display:flex;align-items:center;gap:6px;margin-top:-4px}.deck-partner-line:before{content:"+";color:var(--accent);font-weight:700}.deck-partner-remove{padding:0 7px;line-height:1.5;font-size:.75rem}.align-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}.align-row{display:flex;gap:12px;width:100%;text-align:left;align-items:center;padding:8px}.align-thumb{width:58px;border-radius:5px;flex:0 0 auto}.align-thumb--empty{width:58px;height:81px;background:#22222a;border-radius:5px;flex:0 0 auto}.align-main{display:flex;flex-direction:column;gap:4px;flex:1;min-width:0}.align-name{font-weight:700}.align-pips{display:flex;gap:3px}.align-bar{height:8px;border-radius:999px;background:#22222a;overflow:hidden}.align-bar-fill{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#8a6d1f,var(--accent))}.align-shared{display:flex;flex-wrap:wrap;gap:4px}.align-theme{font-size:.68rem;padding:1px 7px;border-radius:999px;background:#26262e;border:1px solid #3a3a44;color:#b9b9c4}.chip--owned{opacity:.45}.entry-result{display:flex;justify-content:space-between;gap:10px;align-items:baseline}.entry-result-type{font-size:.72rem;color:#8c8c99;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.entry-staple-cats,.entry-staples{justify-content:flex-start}.deck-basics{display:flex;gap:8px;flex-wrap:wrap}.deck-basics .deck-basic{position:relative;display:flex;flex-direction:column;align-items:center;gap:2px;min-width:72px;padding:10px 8px 8px;border-radius:10px;color:#141410;font-weight:700;touch-action:none;-webkit-user-select:none;user-select:none}.deck-basic .deck-basic-name{font-size:.78rem}.deck-basic .count-badge{background:#000000bf;color:#fff;border-radius:999px;padding:0 7px;font-size:.75rem}.swatch-W.deck-basic{background:#e8e3d0}.swatch-U.deck-basic{background:#5a9bd4}.swatch-B.deck-basic{background:#9a8fa8}.swatch-R.deck-basic{background:#d4705a}.swatch-G.deck-basic{background:#6aa877}.entry-tools{margin-left:auto;display:flex;gap:6px}.entry-tool{padding:4px 10px;font-size:.8rem}.owned-switch{display:flex;flex-direction:row;align-items:center;gap:8px;font-family:var(--font-body);font-size:.85rem;opacity:.85;cursor:pointer}.owned-switch input{width:18px;height:18px;flex:0 0 auto;accent-color:var(--accent)}.paste-box{width:100%;font:inherit;font-size:.9rem;color:var(--fg);background:#1a1a20;border:1px solid #3a3a44;border-radius:10px;padding:10px;resize:vertical}.import-done{font-weight:700;color:var(--accent)}.import-misses{margin:0;padding-left:20px;color:#d4b96a;font-size:.85rem}.scan-stage{position:relative;border-radius:12px;overflow:hidden;background:#000}.scan-video{width:100%;display:block;max-height:62vh;object-fit:cover}.scan-guide{position:absolute;left:3%;right:3%;top:30%;height:36%;border:2px solid var(--accent);border-radius:10px;box-shadow:0 0 0 9999px #0006;pointer-events:none}.chip--skip{color:#8c8c99;border-style:dashed}.settings-section-label{margin-top:10px;font-size:.8rem;text-transform:uppercase;letter-spacing:.08em;color:#8c8c99;border-bottom:1px solid #2c2c34;padding-bottom:4px}.cloud-field{flex:1;min-width:0;font:inherit;font-size:.85rem;color:var(--fg);background:#1a1a20;border:1px solid #3a3a44;border-radius:8px;padding:8px 10px}.home-settings{position:absolute;top:14px;right:14px;font-size:.85rem;color:#9a9aa5;background:#14141a99}.screen.home{position:relative;isolation:isolate;justify-content:flex-start;padding-top:clamp(28px,6vh,64px);gap:18px}.home-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:-1;pointer-events:none}.home-backdrop .land-bg{border-radius:0}.home-vignette{position:absolute;top:0;right:0;bottom:0;left:0;background:radial-gradient(ellipse at 50% 28%,#10101426,#101014c7 72%),linear-gradient(to bottom,#10101440,#101014e0 85%)}.home-crest{width:clamp(76px,11vh,108px);height:clamp(76px,11vh,108px);border-radius:24%;box-shadow:0 0 0 2px #c8a84bbf,0 10px 40px #000000a6,0 0 60px #c8a84b40;animation:crest-in .9s cubic-bezier(.2,.9,.25,1.15) both}.home-title{margin:0}.home .action-card,.home .profile-card{background-color:#1c1c24b8;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);box-shadow:0 8px 26px #00000059}.action-card--hero{min-width:min(320px,86vw);padding:22px 40px}.action-card--hero .action-card-title{font-size:1.6rem}.action-card--new:not(:disabled){background-image:linear-gradient(135deg,#c8a84b38,#c8a84b0a)}.action-card-lives{display:flex;flex-wrap:wrap;justify-content:center;gap:4px 12px;margin-top:2px;font-family:var(--font-body);font-size:.8rem;color:#c3c2b7}.resume-life strong{color:#fff}.resume-life--out{opacity:.45;text-decoration:line-through}.home-actions--tiles{gap:12px}.action-card--tile{min-width:170px;padding:14px 20px;align-items:center}.action-card--tile .action-card-title{font-size:1.15rem}.action-icon{font-size:1.7rem;line-height:1;filter:drop-shadow(0 2px 6px rgba(0,0,0,.6))}.home-section{margin:10px 0 -4px;font-size:.85rem;letter-spacing:.3em;text-transform:uppercase;color:#9a9aa5}.profile-card--art{position:relative;isolation:isolate;overflow:hidden;padding-top:22px;background-image:linear-gradient(to bottom,#10101400,#10101459 45%,#101014eb 85%)}.profile-card--art:before{content:"";position:absolute;top:-12px;right:-12px;bottom:-12px;left:-12px;z-index:-1;background:var(--art) center 20% / cover;filter:blur(5px) brightness(.6) saturate(1.2)}.profile-card--art .avatar--big{display:none}.profile-card--art .profile-name{text-shadow:0 2px 8px rgba(0,0,0,.9)}@keyframes crest-in{0%{opacity:0;transform:translateY(-12px) scale(.85)}}@media (prefers-reduced-motion: reduce){.home-crest{animation:none}}.paste-box--sql{font-family:Consolas,Menlo,monospace;font-size:1rem;line-height:1.45}.cloud-status button{flex:0 0 auto;white-space:nowrap}.cloud-setup{display:flex;flex-direction:column;gap:8px;text-align:left}.cloud-setup .hint{margin:0}.cloud-setup .paste-box--sql{font-size:.74rem;resize:none}.cloud-setup button{align-self:flex-end;min-height:44px}.curation-controls{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px}.curation-groups{justify-content:flex-start}.curation-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(128px,1fr));gap:14px 10px}.curation-item{display:flex;flex-direction:column;align-items:center;gap:4px}.curation-card{position:relative;width:100%;aspect-ratio:63 / 88;padding:0;border:none;border-radius:8px;overflow:hidden;background:#22222a;box-shadow:0 3px 10px #00000073;transition:transform .15s ease,box-shadow .15s ease}.curation-card:hover{transform:translateY(-3px);box-shadow:0 8px 18px #0000008c,0 0 0 1px var(--accent)}.curation-card img{width:100%;height:100%;object-fit:cover;display:block}.curation-card .count-badge{position:absolute;bottom:5px;right:5px;background:#000000d1;border-radius:999px;padding:1px 8px;font-weight:700}.curation-placeholder{display:flex;align-items:center;justify-content:center;width:100%;height:100%;font-size:.75rem;padding:6px}.curation .count-controls button{padding:2px 10px}.deck-curation-msg{text-align:center}.join-code-input{font-size:1.6rem;letter-spacing:.35em;text-align:center;text-transform:uppercase;font-family:Consolas,Menlo,monospace;width:100%}.join-error{color:#d4705a}.join-warn{color:#d4b96a}.table-pill{position:fixed;top:10px;left:50%;transform:translate(-50%);z-index:30;display:flex;align-items:center;gap:7px;padding:5px 14px;border-radius:999px;font-weight:700;letter-spacing:.08em;background:#17171ceb;border:1px solid #3a3a44;box-shadow:0 4px 14px #00000080}.pill-dot{width:9px;height:9px;border-radius:50%}.pill-dot--green{background:#6aa877;box-shadow:0 0 6px #6aa877}.pill-dot--amber{background:#d4b96a}.pill-dot--red{background:#d4705a}.pill-dot--grey{background:#8c8c99}.pill-peers{color:#9a9aa5;font-weight:400}.table-banner{position:fixed;top:0;left:0;right:0;z-index:40;text-align:center;padding:8px;background:#2a2316;border-bottom:1px solid #5a4a1e;color:#d4b96a}.table-code-big{font-size:2.4rem;letter-spacing:.3em;text-align:center;font-family:Consolas,Menlo,monospace;color:var(--accent);margin:4px 0}.deck-made-of{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.made-of-label{font-size:.8rem;text-transform:uppercase;letter-spacing:.08em;color:#8c8c99}.deck-made-of .deck-health-chip{background:#26262e;border-color:#3a3a44;color:var(--fg)}.made-of-colors{display:flex;gap:5px;margin-left:auto}.deck-row-stars{color:var(--accent);font-size:.78rem;letter-spacing:.08em;white-space:nowrap}.play-choice{display:grid;grid-template-columns:1fr 1fr;gap:12px;width:100%;max-width:640px}.new-game p{margin:0}.play-card{display:grid;grid-template-columns:auto 1fr;column-gap:12px;row-gap:4px;align-content:start;min-height:88px;padding:14px 16px;text-align:left;border-width:2px}.play-card:before{content:"";grid-row:1;align-self:center;width:18px;height:18px;border-radius:50%;border:2px solid #6a6a78}.play-card.selected{border-color:var(--accent);background:#332b14}.play-card.selected:before{border-color:var(--accent);background:radial-gradient(circle,var(--accent) 0 45%,transparent 50%)}.play-card-title{font-size:1.1rem;font-weight:700}.play-card.selected .play-card-title{color:var(--accent)}.play-card-line,.play-card-hint{grid-column:2;font-family:var(--font-body);font-size:.85rem;line-height:1.35;opacity:.8}.play-card-hint{color:#d4b96a;opacity:1}@media (max-width: 520px){.play-choice{grid-template-columns:1fr}}.ng-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px 14px;width:100%;max-width:640px}.ng-label{min-width:7.5em;font-size:.85rem;letter-spacing:.12em;text-transform:uppercase;text-align:right;color:#9a9aa5}.threshold.ng-row .ng-label{min-width:0;text-align:center}.ng-segments{display:flex;flex:1;min-width:260px;padding:4px;gap:4px;border:1px solid #3a3a44;border-radius:14px;background:#18181e}.ng-segment{display:flex;flex:1;flex-direction:column;align-items:center;gap:2px;padding:10px 12px;border:1px solid transparent;border-radius:10px;background:transparent;font-size:1rem}.ng-segment small{font-family:var(--font-body);font-size:.75rem;color:#9a9aa5}.ng-segment.selected{border-color:var(--accent);background:linear-gradient(135deg,#c8a84b47,#c8a84b14);color:var(--accent);box-shadow:0 0 18px #c8a84b26}.ng-segment.selected small{color:#d9c58a}.ng-note{margin:-6px 0 0!important;font-size:.8rem}.ng-heading{margin:8px 0 0;font-size:1.05rem;letter-spacing:.08em}.ng-player{position:relative;display:inline-flex;align-items:center;gap:10px;padding:8px 18px 8px 8px;border-radius:999px}.ng-player-face{width:36px;height:36px;border-radius:50%;object-fit:cover;background:#2c2c35}.ng-player-face--empty{border:1px dashed #4a4a55}.ng-player-seat{position:absolute;top:-6px;right:-6px;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--accent);color:#141410;font-family:var(--font-body);font-size:.75rem;font-weight:800;box-shadow:0 2px 6px #00000080}.seat-map{position:relative;width:min(340px,80vw);height:150px;margin:2px 0 4px}.seat-map-table{position:absolute;top:26px;right:70px;bottom:26px;left:70px;display:grid;place-items:center;border:2px solid #4a4a55;border-radius:12px;background:linear-gradient(135deg,#1d1d24,#141419);box-shadow:inset 0 0 20px #0009}.seat-map-tablet{font-size:.7rem;letter-spacing:.2em;text-transform:uppercase;color:#6f6f7a}.seat-map-seat{position:absolute;padding:3px 10px;border:1px solid rgba(200,168,75,.6);border-radius:999px;background:#241f12;font-size:.8rem;white-space:nowrap;color:var(--fg)}.seat-map-seat b{color:var(--accent)}.seat-map-seat--bottom{bottom:0;left:50%;transform:translate(-50%)}.seat-map-seat--top{top:0;left:50%;transform:translate(-50%)}.seat-map-seat--right{top:50%;right:0;transform:translateY(-50%)}.seat-map-seat--left{top:50%;left:0;transform:translateY(-50%)}.profile-deck{flex-direction:row}.profile-deck select{min-width:0;max-width:55%;min-height:44px}.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--roomy{width:min(720px,94vw)}.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;min-width:0;overflow-wrap:anywhere}.sheet-close{background:transparent;border:none;font-size:1rem;padding:8px 12px;color:#9a9aa5;flex:0 0 auto}.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}.review-hint{margin:0;text-align:left}.review-steppers .stepper button{min-width:44px;min-height:40px}.review-value{min-width:2.4ch;font-weight:800;text-align:center;font-variant-numeric:tabular-nums}.review-unit{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:2px 12px;padding-bottom:6px;border-bottom:1px solid rgba(255,255,255,.06)}.review-unit--blocker{padding-left:16px}.review-unit-name{flex:1 1 11em;min-width:0;overflow-wrap:anywhere}.review-ticks{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:2px 16px;margin-left:auto}.review-tick{flex-direction:row;align-items:center;gap:6px;min-height:40px;white-space:nowrap}.review-dies .review-value{min-width:3.6em}.fight{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1.15fr);align-items:center;gap:6px 10px;padding-bottom:8px;border-bottom:1px solid rgba(255,255,255,.06)}.fight-arrow{color:#6f6f7c;font-size:1.3rem}.fight-way{display:flex;flex-direction:column;gap:8px;min-width:0}.fight-unit{display:flex;align-items:center;gap:10px;min-width:0}.fight-art{flex:0 0 auto;width:46px;height:64px;border-radius:5px;overflow:hidden;background:#2b2b33}.fight-art img{display:block;width:100%;height:100%;object-fit:cover}.fight-unit--dying .fight-art{outline:2px solid #ff3b30}.fight-unit--dying .fight-art img{opacity:.5;filter:grayscale(.6)}.fight-text{display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-width:0}.fight-name{overflow-wrap:anywhere}.fight-again{color:#a8a8b4;font-size:.85rem}.fight-end{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:2px 12px}.fight-through strong{color:#ff8a80;font-size:1.15rem}.fight-through--none{color:#a8a8b4;font-size:.85rem}.dies-switch{position:relative;gap:0;border:1px solid #3a3a44;border-radius:999px;overflow:hidden;cursor:pointer}.dies-switch input{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}.dies-side{min-width:3.4em;padding:0 12px;line-height:38px;text-align:center;color:#8c8c99}.dies-switch:not(.dies-switch--on) .dies-side--lives{background:#2c2c36;color:var(--fg);font-weight:700}.dies-switch--on .dies-side--dies{background:#8f2a20;color:#fff;font-weight:700}.dies-switch:focus-within{outline:2px solid var(--accent);outline-offset:1px}@media (max-width: 560px){.fight{grid-template-columns:minmax(0,1fr)}.fight-arrow{display:none}.fight-way{padding-left:16px}}.review-warning{margin:0;padding:8px 12px;border:1px solid var(--danger);border-radius:10px;background:#3a1612;font-weight:700;text-align:center}.x-hero .card-image{width:min(200px,48vw)}.x-row{display:flex;align-items:center;justify-content:center;gap:14px}.x-label{font-size:1.5rem;font-weight:700;color:var(--accent)}.x-stepper button,.x-max{min-width:52px;min-height:48px;padding:4px 14px;font-size:1.3rem;line-height:1}.x-max{font-size:.9rem}.x-value{min-width:2.4ch;text-align:center;font-size:1.9rem;font-weight:800;line-height:1;font-variant-numeric:tabular-nums}.attach-tabs{flex-wrap:wrap;justify-content:center;border-radius:22px}.attach-tabs .segment{padding:8px 18px}.attach-boost{margin:0;font-family:var(--font-body);font-size:.92rem}.attach-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}.attach-row{display:flex;align-items:center;gap:12px;width:100%;min-height:64px;padding:4px 12px 4px 4px;text-align:left;font-family:var(--font-body);font-size:1rem}.attach-row--on{border-color:var(--accent)}.attach-size{flex:0 0 auto;font-weight:700;color:#b9b7b1}.attach-here{flex:0 0 auto;padding:2px 8px;border-radius:999px;background:var(--accent);color:#141410;font-size:.72rem;font-weight:700}.ability-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;padding:4px 0;font-family:var(--font-body)}.ability-cost{display:inline-flex;align-items:center;gap:3px}.ability-label{flex:1 1 10ch;font-weight:700}.ability-use{min-height:44px}.ability-use--free{border-style:dashed}.ability-row--used .ability-cost,.ability-row--used .ability-label{opacity:.5}.ability-loyalty{min-width:2.4em;padding:2px 6px;border:1px solid currentColor;border-radius:4px 4px 12px 12px;font-weight:700;text-align:center}.ability-label--text{font-weight:400;line-height:1.35}.ability-also{font-size:.8rem;opacity:.8}.equip-cost{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;padding:8px 8px 8px 14px;border:1px solid rgba(255,255,255,.14);border-radius:14px;font-family:var(--font-body)}.equip-ways{display:flex;flex-wrap:wrap;gap:4px 16px;font-weight:700}.equip-way{display:inline-flex;align-items:center;gap:5px}.equip-state{flex:1 1 14ch;color:#b9b7b1;font-size:.92rem}.equip-state--short{color:#e9a79f;font-weight:700}.equip-switch{flex:0 0 auto;min-height:44px}.attach-row--short{cursor:default}.attach-row--short .pile-art,.attach-row--short .pile-name,.attach-row--short .attach-size{opacity:.45;filter:saturate(.4)}.attach-cost{display:inline-flex;flex:0 0 auto;gap:3px}.attach-where{margin:0;text-align:center;font-family:var(--font-body);font-weight:700}.extra-row{justify-content:space-between;padding:0 6px}.extra-label{font-family:var(--font-body);font-size:1.05rem;font-weight:700}.extra-switch{min-width:124px;min-height:48px;padding:4px 16px;border-radius:999px;font-weight:700;color:#b9b7b1}.extra-switch--on{border-color:var(--accent);background:var(--accent);color:#141410}.x-cost{margin:0;text-align:center;font-family:var(--font-body)}.x-cost--short{color:#ff8a80}.refusal-hint{margin:0;text-align:center;opacity:.85}.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}}.sheet--wide:has(>.sheet-body>.find-hint){height:90vh}.sheet-footer button.find-done{max-width:340px;white-space:nowrap}.find-hint{margin:0 0 8px}.find-taken{list-style:none;margin:0 0 10px;padding:8px;display:flex;flex-direction:column;gap:8px;border:1px solid var(--accent);border-radius:10px;background:#ffffff0a}.find-taken--over{border-style:dashed}.find-over{margin:-4px 0 8px}.find-pick{display:grid;grid-template-columns:40px minmax(0,1fr) auto;grid-template-areas:"face name  back" "face dests dests";gap:4px 8px;align-items:center}.find-pick-face{grid-area:face;width:40px;aspect-ratio:63 / 88;border-radius:4px;overflow:hidden;background:#22222a}.find-pick-face img{display:block;width:100%;height:100%;object-fit:cover}.find-pick-name{grid-area:name;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.find-pick-note{margin-left:8px;font-size:.72rem;font-weight:400;opacity:.72}.find-dests{grid-area:dests;display:flex;flex-wrap:wrap;gap:4px}.find-dests .look-dest{flex:1 1 auto;min-height:34px;padding:4px 8px}.find-back{grid-area:back;width:34px;height:34px;padding:0}.find-filters{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:10px}.find-chips{flex:1 1 auto;justify-content:flex-start}.find-filters input{flex:0 1 160px;min-width:110px}.find-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(104px,1fr));gap:8px}.find-card{position:relative;padding:0;border:none;border-radius:7px;overflow:hidden;aspect-ratio:63 / 88;background:#22222a}.find-card img{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:cover}.find-name{display:block;padding:6px;font-size:.75rem}.find-count{position:absolute;right:4px;bottom:4px;padding:1px 7px;border-radius:999px;background:#000c;font-size:.8rem;font-weight:700}.find-card--gone{opacity:.3}.discover-hint{margin:0 0 10px}.discover-cards{display:flex;flex-wrap:wrap;align-items:flex-start;gap:14px}.discover-found{margin:0;width:min(220px,58vw);flex:0 0 auto}.discover-found img{display:block;width:100%;aspect-ratio:63 / 88;object-fit:cover;border-radius:10px}.discover-found figcaption{margin-top:6px;font-weight:700;text-align:center}.discover-rest{flex:1 1 160px;min-width:0}.discover-label{margin:0 0 6px;font-size:.8rem;opacity:.75}.discover-misses{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(70px,1fr));gap:6px}.discover-misses .find-card{opacity:.6}.discover-picks{grid-template-columns:repeat(auto-fill,minmax(104px,1fr));gap:8px}.discover-picks .find-card{opacity:1}.discover-picks button{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;padding:0;border:none;background:none;color:inherit}.discover-picks .find-name{position:absolute;left:0;right:0;bottom:0;background:#000000c7;color:#fff;text-align:left}.discover-xs{display:grid;grid-template-columns:repeat(auto-fill,minmax(54px,1fr));gap:8px}.discover-xs .chip{min-height:48px;font-size:1.1rem;font-weight:700}.reveal-banner--asks .reveal-cards{--reveal-w: max(56px, min(var(--reveal-max, 170px), 94vw - 38px, (88vh - 190px) * 63 / 88))}.spell-prompts{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;max-width:min(94vw - 38px,620px);margin-top:12px;cursor:default}.spell-prompt{min-height:48px;padding:8px 18px;border-radius:12px;border:1px solid var(--accent);background:#0c0c10db;color:var(--fg);font-family:var(--font-display);font-size:1rem;font-weight:700;letter-spacing:.02em;white-space:nowrap;cursor:pointer}.spell-prompt:active{background:var(--accent);color:#141410}.spell-prompt--done,.spell-prompt--done:active{border-color:#4a4a54;background:#0c0c1080;color:#8d8d98;cursor:default}.spell-prompt--off,.spell-prompt--off:active{border-color:#3a3a42;background:#0c0c1066;color:#5f5f6a;cursor:default}.spell-row--player .pile-name{font-family:var(--font-display);font-weight:700}.spell-fate{flex:0 0 auto;padding:2px 8px;border-radius:999px;font-size:.72rem;font-weight:700}.spell-fate--dies{background:#b3402e;color:#fff}.spell-fate--survives{border:1px solid #55555f;color:#b9b7b1}.trigger-banner{position:fixed;top:0;right:0;bottom:0;left:0;margin:auto;width:min(94vw,560px);height:fit-content;max-height:70vh;overflow-y:auto;scrollbar-width:none;z-index:45;display:flex;flex-direction:column;gap:10px;padding:10px 12px;border-radius:16px;border:1px solid var(--accent);background:#17171cf7;box-shadow:0 12px 40px #000000b3;cursor:pointer}.trigger-row{display:flex;align-items:flex-start;gap:12px}.trigger-row+.trigger-row{padding-top:10px;border-top:1px solid rgba(255,255,255,.1)}.trigger-art{flex:0 0 auto;width:64px;aspect-ratio:63 / 88;object-fit:cover;border-radius:4px}.trigger-art--empty{background:#2b2b33}.trigger-body{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:2px;text-align:left}.trigger-title{margin:0;display:flex;align-items:baseline;justify-content:space-between;gap:10px;font-size:1.02rem}.trigger-title strong{color:var(--accent)}.trigger-who{flex:0 0 auto;font-family:var(--font-body);font-size:.78rem;color:#a8a8b4}.trigger-because{margin:0;font-family:var(--font-body);font-size:.9rem;font-weight:700}.trigger-text{margin:0;font-family:var(--font-body);font-size:.8rem;line-height:1.3;color:#a8a8b4}.trigger-acts{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px;cursor:default}.trigger-acts .spell-prompt{min-height:44px;padding:6px 14px;font-size:.92rem}@media (prefers-reduced-motion: no-preference){.trigger-banner{animation:trigger-in .16s ease-out}}@keyframes trigger-in{0%{opacity:0;translate:0 -8px}}.ward-tag{flex:0 0 auto;padding:1px 7px;border:1px solid rgba(150,170,210,.6);border-radius:999px;color:#c9d3ea;font-family:var(--font-body);font-size:.74rem;white-space:nowrap}.ward-ask{margin:4px 0 8px;font-family:var(--font-body);font-size:1rem}.counter-whose{color:#9a9aa5;font-family:var(--font-body);font-size:.8rem}.counter-unless .section-label{display:flex;align-items:center;gap:6px}.chip--primary{border-color:var(--accent);background:#c8a84b2e;color:var(--accent);font-weight:700}.mana-sym{width:22px;height:22px;min-width:22px;padding:0;flex:0 0 auto;border-radius:50%}img.mana-sym{display:block}.printed-cost,.printed-cost-face{display:inline-flex;align-items:center;gap:2px;vertical-align:middle}.printed-cost{gap:6px}.printed-cost .mana-sym{width:17px;height:17px;min-width:17px;font-size:10px}.printed-cost-sep{margin:0 2px;color:#6f6f7a;font-size:.8em}.zoom-cost .printed-cost .mana-sym{width:19px;height:19px;min-width:19px}.mana-pick-pip--sym{display:grid;place-items:center;background:transparent;opacity:.45}.mana-pick-pip--sym .mana-sym{width:22px;height:22px;min-width:22px}.mana-pick-pip--sym.mana-pick-pip--on{opacity:1}.pay-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 12px}.pay-cost{display:flex;align-items:center;gap:6px;color:#9a9aa5;font-family:var(--font-body);font-size:.9rem}.pay-hint{margin:0;color:#9a9aa5;font-family:var(--font-body);font-size:.85rem}.pay-tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:10px}.pay-tile{min-width:0;min-height:104px;border-radius:12px;border:2px solid #33333d;background:#1f1f27;padding:8px 10px;display:flex;flex-direction:column;justify-content:space-between;gap:8px;color:var(--fg);font:inherit;text-align:left}.pay-tile--lit{border-color:var(--accent);background:#22201a}.pay-tile--spent{min-height:0;border-style:dashed;background:transparent;color:#8a877f}.pay-top{display:flex;align-items:center;gap:8px;min-width:0}.pay-art{width:58px;height:43px;flex:0 0 auto;border-radius:6px;object-fit:cover;background:#101014}.pay-tile--spent .pay-art{opacity:.45}.pay-tile--kept:not(.pay-tile--lit){border-style:dashed;color:#8a877f}.pay-tile--kept:not(.pay-tile--lit) .pay-art,.pay-tile--kept:not(.pay-tile--lit) .pay-makes{opacity:.45}.pay-name{flex:1;min-width:0;font-size:.9rem;line-height:1.15;overflow-wrap:anywhere}.pay-top:has(.pay-makes>.pay-makes:nth-child(3)){flex-wrap:wrap}.pay-top:has(.pay-makes>.pay-makes:nth-child(3)) .pay-name{min-width:7em}.pay-name small{color:#9a9aa5}.pay-name .pay-note{display:block;font-size:.72rem}.pay-makes{display:flex;align-items:center;gap:3px;flex:0 0 auto}.pay-or{color:#9a9aa5;font-family:var(--font-body);font-size:.72rem}.pay-say{color:#9a9aa5;font-family:var(--font-body);font-size:.82rem}.pay-tile--lit .pay-say{color:var(--accent);font-weight:700}.pay-step{display:flex;align-items:center;justify-content:space-between;gap:6px}.pay-step button{width:44px;height:44px;padding:0;border-radius:50%;background:transparent;font-size:1.3rem;line-height:1}.pay-step button:disabled{opacity:.3}.pay-foot{display:flex;flex:1;align-items:center;gap:10px;min-width:0}.pay-tally{display:flex;flex:1;flex-direction:column;gap:1px;min-width:0;text-align:left}.pay-paid{color:#5fcf8b;font-size:1.05rem;font-weight:700;font-variant-numeric:tabular-nums}.pay-paid--short{color:#e0a44a}.pay-sub{color:#9a9aa5;font-family:var(--font-body);font-size:.8rem}.sheet-footer .pay-foot button{flex:0 1 auto;min-width:96px;padding-inline:18px}@media (max-width: 480px){.pay-tiles{grid-template-columns:1fr}.pay-foot{flex-wrap:wrap}.pay-tally{flex-basis:100%}.sheet-footer .pay-foot button{flex:1}}.face-badge{position:absolute;top:2px;left:2px;width:1.5em;height:1.5em;display:grid;place-items:center;border-radius:50%;background:#000000d1;border:1px solid rgba(200,168,75,.7);color:var(--accent);font-size:.65rem;font-weight:700;line-height:1;pointer-events:none}.zone--cards.zone--focused .vcard .face-badge,.hs-board .vcard .face-badge{top:4px;left:4px;font-size:1rem}.zone--cards.zone--focused .vcard--tapped .face-badge,.hs-board .vcard--tapped .face-badge{left:12%}.zone--cards.zone--focused .board-strip .face-badge{font-size:.72rem}.land-face .face-badge{left:auto;right:2px}.focus-mode .zone:not(.zone--focused) .face-badge{display:none}.tally-badge{position:absolute;top:2px;left:2px;min-width:1.5em;height:1.5em;padding:0 4px;display:grid;place-items:center;border-radius:999px;background:#000000d1;border:1px solid rgba(200,168,75,.7);color:var(--accent);font-family:Georgia,Times New Roman,serif;font-size:.65rem;font-weight:700;line-height:1;white-space:nowrap;pointer-events:none}.face-badge~.tally-badge{left:calc(2px + 1.8em)}.land-face .tally-badge,.land-face .face-badge~.tally-badge{top:auto;bottom:2px;left:2px}.stolen-badge{position:absolute;top:18%;left:0;right:0;padding:2px 4px;overflow:hidden;background:#1e3c78d9;color:#dfe8ff;font-family:var(--font-body);font-size:.62rem;font-weight:700;text-align:center;white-space:nowrap;text-overflow:ellipsis;pointer-events:none}.stolen-badge--turn{background:#96321ee0;color:#ffe2d8}.zone--cards.zone--focused .vcard .tally-badge,.hs-board .vcard .tally-badge{top:4px;left:4px;font-size:1rem}.zone--cards.zone--focused .vcard .face-badge~.tally-badge,.hs-board .vcard .face-badge~.tally-badge{left:calc(4px + 1.8em)}.zone--cards.zone--focused .vcard--tapped .tally-badge,.hs-board .vcard--tapped .tally-badge{left:12%}.zone--cards.zone--focused .board-strip .tally-badge{font-size:.72rem}.focus-mode .zone:not(.zone--focused) .tally-badge{display:none}.loyalty-badge{position:absolute;right:3px;bottom:3px;min-width:1.8em;height:1.6em;padding:0 4px;display:grid;place-items:center;background:#000000db;border:1px solid rgba(200,168,75,.85);border-radius:3px 3px 50% 50%/3px 3px 45% 45%;color:#fff;font-family:Georgia,Times New Roman,serif;font-size:.7rem;font-weight:700;line-height:1;white-space:nowrap;pointer-events:none;animation:badge-pulse .25s ease}.zone--cards.zone--focused .vcard .loyalty-badge,.hs-board .vcard .loyalty-badge{right:4px;bottom:4px;font-size:1.05rem}.zone--cards.zone--focused .board-strip .loyalty-badge{font-size:.78rem}.devotion-badge{position:absolute;right:3px;bottom:3px;height:1.6em;padding:0 4px 0 2px;display:flex;align-items:center;gap:2px;border-radius:999px;background:#0a0e1ce0;border:1px solid rgba(150,170,210,.55);color:#c9d3ea;font-family:Georgia,Times New Roman,serif;font-size:.66rem;font-weight:700;line-height:1;white-space:nowrap;pointer-events:none;animation:badge-pulse .25s ease}.devotion-badge .mana-sym{width:1.15em;height:1.15em;min-width:1.15em}.crew-badge{padding:0 6px;font-family:var(--font-body);letter-spacing:.02em}.devotion-badge--awake{background:#281c04e6;border-color:#e6c05af2;color:#ffe7a3;box-shadow:0 0 8px #f0c85abf;animation:god-wakes .9s ease}@keyframes god-wakes{0%{transform:scale(1);box-shadow:0 0 #f0c85a00}35%{transform:scale(1.45);box-shadow:0 0 22px #ffd76e}to{transform:scale(1);box-shadow:0 0 8px #f0c85abf}}.vcard--dormant img{filter:grayscale(.65) brightness(.82);transition:filter .6s ease}.vcard img{transition:filter .6s ease}.zone--cards.zone--focused .vcard .devotion-badge,.hs-board .vcard .devotion-badge{right:4px;bottom:4px;font-size:.95rem}.zone--cards.zone--focused .board-strip .devotion-badge{font-size:.74rem}.focus-mode .zone:not(.zone--focused) .devotion-badge{display:none}@media (prefers-reduced-motion: reduce){.devotion-badge,.devotion-badge--awake{animation:none}}.god-line{margin:4px 0 0;font-size:.9rem;color:#c9d3ea}.god-line--awake{color:var(--accent)}.vcard-counter--beside{right:calc(3px + 2.6em)}.focus-mode .zone:not(.zone--focused) .loyalty-badge{display:none}.face-now{margin:0 0 8px;opacity:.8;font-size:.9rem}@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)}.action-card-sub,.profile-commander,.deck-tile-count,.deck-row-type,.curation-value{font-family:var(--font-body);letter-spacing:.01em}*{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}
