.app-shell{isolation:isolate}.space-background{z-index:-2;pointer-events:none;background:#080c17;position:fixed;inset:0;overflow:hidden}.space-nebula{will-change:transform;background:url(/assets/source-nebula-approved.png) 50%/cover;animation:38s ease-in-out infinite alternate nebula-drift;position:absolute;inset:-6%}.space-gas{mix-blend-mode:screen;opacity:.16;animation:19s ease-in-out infinite alternate gas-drift;position:absolute;inset:-10%}.space-gas-blue{background:radial-gradient(at 75% 35%,#4f90c765,#0000 50%),radial-gradient(at 25% 75%,#547eb84d,#0000 42%)}.space-gas-violet{background:radial-gradient(at 25% 10%,#9864a965,#0000 48%),radial-gradient(at 85% 85%,#867fc65c,#0000 36%);animation-duration:27s;animation-direction:alternate-reverse}.space-stars{fill:#e3f2ff;width:110%;height:110%;animation:54s linear infinite alternate stars-drift;position:absolute;inset:-5%}.near-stars{opacity:.75;animation-duration:30s;animation-direction:alternate-reverse}.space-twinkle{animation:6s ease-in-out infinite alternate star-light}.space-shade{background:linear-gradient(90deg,#05091465,#05091418 60%,#05091415);position:absolute;inset:0}.app-shell:is([data-background=table],[data-background=surround],[data-background=black]) :is(.match-table,.table-topbar){background:0 0}.app-shell:is([data-background=table],[data-background=surround],[data-background=black]) .table-surface{background:#000;box-shadow:0 0 0 6px #10192588,0 0 0 7px #d7c19820,0 16px 45px #0009}.app-shell[data-background=table] .table-surface{overflow:hidden}.table-surface>.space-background{z-index:0;position:absolute}.app-shell:is([data-background=table],[data-background=surround],[data-background=black]) :is(.table-setup,.table-result){box-shadow:0 0 0 100vmax #0006,0 30px 100px #000a}.app-shell:is([data-background=table],[data-background=surround],[data-background=black]) .table-dialog::backdrop{background:#000c}@keyframes nebula-drift{0%{transform:translate(-1.1%,-.7%)scale(1)}to{transform:translate(1.3%,1%)scale(1.035)}}@keyframes gas-drift{0%{opacity:.12;transform:translate(-2%,-1%)rotate(-2deg)}to{opacity:.3;transform:translate(2%,2%)rotate(3deg)}}@keyframes stars-drift{0%{transform:translate(-1.3%,.7%)}to{transform:translate(1.5%,-1.2%)}}@keyframes star-light{0%{opacity:.2}to{opacity:.95}}.space-background[data-paused=true] *{animation-play-state:paused!important}.space-background[data-motion=off] *{will-change:auto;animation:none!important}@media (prefers-reduced-motion:reduce){.space-background *{will-change:auto;animation:none!important}}.dice-results{z-index:24;pointer-events:none;gap:7px;width:min(430px,44vw);display:grid;position:absolute;top:35%;left:50%;transform:translate(-50%,-50%)}.dice-result{background:linear-gradient(130deg,#102233ef,#080d19f5);border:1px solid #b9d3df8a;border-radius:14px;padding:12px 18px 10px;animation:.3s ease-out both roll-arrive;box-shadow:0 12px 40px #0009,0 0 30px #94c3eb18}.roll-heading{justify-content:space-between;align-items:center;gap:15px;font-size:13px;display:flex}.roll-heading>span{letter-spacing:.14em;color:#afc8d7;white-space:nowrap;font-size:9px}.rolled-dice{perspective:450px;flex-wrap:wrap;justify-content:center;align-items:center;gap:3px;margin:6px 0;display:flex}.source-die{filter:drop-shadow(0 4px 3px #0008);flex-shrink:0;width:48px;height:50px}.rolled-dice .source-die{animation:.78s cubic-bezier(.18,.6,.3,1) both d4-tumble;animation-delay:calc(min(var(--die-index),5)*35ms)}.roll-total{color:#fff0c9;border-left:1px solid #bdd4e245;margin-left:9px;padding-left:16px;font:32px Georgia,serif}.match-table .dice-result p{text-align:center;color:#d5e2eb;margin:7px 0 0;font-size:12px;line-height:1.45}.match-table .dice-result .critical-result{color:#ffc2a0;font-weight:650}.result-stored .source-die{animation:none}.retained-dice{pointer-events:none;background:#091522e8;border:1px solid #bddde272;border-radius:6px;gap:4px;padding:2px 4px;display:flex;position:absolute;top:24%;left:50%;transform:translate(-50%)}.retained-dice>span{align-items:center;gap:2px;display:flex}.retained-faces{align-items:center;display:flex}.retained-dice .source-die{width:20px;height:23px}.retained-dice b{color:#ffe7b5;padding:1px 3px;font-size:12px}.retained-dice small{color:#d7e7ec;font-size:9px}.roll-history{gap:12px;padding:0;list-style:none;display:grid}.roll-history li{border-bottom:1px solid #cad9de33;gap:5px;padding-bottom:12px;display:grid}.roll-history li>span{color:#c5dceb}.roll-history p{margin:0;font-size:13px}.spell-trail{z-index:23;pointer-events:none;width:100%;height:100%;position:absolute;inset:0;overflow:visible}.spell-trail path{fill:none;stroke:var(--spell-color,#f2c686);stroke-width:4px;stroke-linecap:round;stroke-dasharray:1;filter:drop-shadow(0 0 5px var(--spell-color,#f2c686))}.spell-fire{--spell-color:#ff934c}.spell-lightning{--spell-color:#c1eaff}.spell-shadow{--spell-color:#c49bea}.spell-healing{--spell-color:#a2f0c6}.spell-ward{--spell-color:#a0d3f4}.spell-lightning path{stroke-width:3px}.spell-fire path{stroke-width:8px}.spell-shadow path{stroke-width:6px}.ct-impact{z-index:36;pointer-events:none;width:0;height:0;color:var(--spell-color,#f8c699);position:absolute}.ct-impact>strong{color:#fff0d8;text-shadow:0 0 5px #882c20,0 3px 5px #000,0 0 16px #f46e4a;white-space:nowrap;font:700 42px Georgia,serif;position:absolute;transform:translate(-50%,-55%)}.ct-impact>small{color:#ffe9c9;letter-spacing:.13em;background:#501f22ef;border:1px solid #ffc78f9c;border-radius:4px;padding:3px 7px;font-size:10px;position:absolute;top:27px;left:0;transform:translate(-50%)}.critical-ring,.effect-ring{border:2px solid #ffe2b2;border-radius:50%;width:78px;height:78px;position:absolute;top:-39px;left:-39px;box-shadow:0 0 20px #ff654b,inset 0 0 18px #ff8a6544}.effect-ring{border-color:var(--spell-color);box-shadow:0 0 24px var(--spell-color);width:94px;height:94px;top:-47px;left:-47px}.ct-impact i{opacity:0;background:linear-gradient(#fff4c8,#ed6c43);border-radius:40%;width:4px;height:17px;position:absolute;top:-8px}.ct-impact>small{white-space:nowrap;width:max-content}.retained-dice{width:max-content}.retained-dice b,.retained-dice small{white-space:nowrap;flex-shrink:0}.ct-medallion[data-critical-flash] b{visibility:hidden}.creature-stats span[data-critical-flash]{color:#0000}.match-table:has(.dice-results) .table-result{animation:2.8s step-end both result-after-roll}@keyframes result-after-roll{0%{visibility:hidden}to{visibility:visible}}.ct-impact.animated .critical-ring{animation:.8s ease-out both critical-wave}.ct-impact.animated i{animation:.8s ease-out both critical-shard}.ct-impact.animated>strong,.ct-impact.animated>small{animation:1.9s ease-out both critical-number}.ct-impact.animated .effect-ring{animation:1.2s ease-out both effect-wave}@keyframes d4-tumble{0%{opacity:0;transform:translateY(-35px)rotateX(160deg)rotate(-90deg)scale(.65)}55%{opacity:1;transform:translateY(4px)rotateX(-20deg)rotate(12deg)}80%{transform:translateY(-5px)rotate(-5deg)}to{opacity:1;transform:none}}@keyframes roll-arrive{0%{opacity:0;translate:0 -9px}to{opacity:1;translate:0}}@keyframes critical-wave{0%{opacity:0;scale:.45}25%{opacity:1}to{opacity:0;scale:1.85}}@keyframes critical-shard{0%{transform:rotate(var(--angle)) translateY(-22px) scale(.4);opacity:0}25%{opacity:1}to{transform:rotate(var(--angle)) translateY(-78px) scale(.3);opacity:0}}@keyframes critical-number{0%{opacity:0;scale:1.55}18%{opacity:1;scale:1}80%{opacity:1;translate:0 -8px}to{opacity:0;translate:0 -15px}}@keyframes effect-wave{0%{opacity:0;scale:.5}30%{opacity:.9}to{opacity:0;scale:1.5}}.dice-results[data-motion=off] *{animation:none!important}@media (prefers-reduced-motion:reduce){.dice-results *{animation:none!important}}@media (width<=760px){.dice-results{width:min(330px,76vw);top:38%}.dice-result{padding:9px 12px}.source-die{width:36px;height:39px}.roll-heading{font-size:11px}.roll-total{padding-left:10px;font-size:26px}.match-table .dice-result p{font-size:10px}.retained-dice .source-die{width:16px;height:19px}.retained-dice{top:28%}.ct-impact>strong{font-size:34px}.ct-impact>small{font-size:8px;top:23px}}@media (height<=500px) and (orientation:landscape){.dice-results{width:280px;top:40%}.dice-result{padding:6px 10px}.source-die{width:28px;height:30px}.rolled-dice,.match-table .dice-result p{margin:3px 0}}.tutorial-setup{max-width:720px;margin:6vh auto;padding:clamp(20px,4vw,42px)}.tutorial-setup p,.tutorial-setup li{line-height:1.6}.tutorial-setup li{margin-block:10px}.learning-pointer{z-index:42;pointer-events:none;position:fixed;inset:0;overflow:visible}.match-table .learning-coach{z-index:44;color:#f2f4ef;background:#0b1821;border:1px solid #a5e5de;border-radius:12px;width:min(360px,100vw - 24px);max-height:calc(100dvh - 66px);padding:14px 18px;font-size:14px;line-height:1.5;position:fixed;overflow:auto;box-shadow:0 10px 40px #000b}.learning-coach header{justify-content:space-between;align-items:center;gap:8px;display:flex}.learning-coach header>span{letter-spacing:.12em;color:#a5e5de;font-size:10px}.learning-coach header>div{flex-shrink:0;gap:10px;display:flex}.match-table .learning-coach header button{background:0 0;border:0;width:44px;height:44px;margin:-8px -10px -5px 0;padding:0;font-size:22px}.learning-coach h2{color:#fff4d9;margin:8px 0;font:600 19px/1.25 system-ui,sans-serif}.learning-coach p{margin:0 0 12px}.learning-coach small{color:#adbfc9;margin-top:10px;font-size:11px;display:block}.learning-actions{flex-wrap:wrap;gap:6px;display:flex}.match-table .learning-actions button,.match-table .learning-topics button,.match-table .learning-coach>.primary{min-height:44px;padding:8px 12px;font-size:12px}.learning-progress{gap:8px;margin-bottom:12px;font-size:11px;display:flex}.learning-progress span{color:#bdc5c9;border-bottom:2px solid #526372;padding:0 5px 4px}.learning-progress [data-done=true]{color:#a5e5de;border-color:#a5e5de}.learning-topics{gap:6px;margin:12px 0;display:grid}.learning-settings{border:1px solid #5d7184;margin:14px 0;padding:12px}.learning-settings label{align-items:center;gap:10px;min-height:44px;display:flex}.learning-settings input{width:20px;height:20px}.learning-settings p{color:#bbc7cf;margin:5px 0;font-size:13px}@media (width<=400px){.match-table .table-topbar{gap:8px}.match-table .table-wordmark{white-space:nowrap;letter-spacing:.18em}}@media (height<=500px){.match-table .learning-coach{width:min(300px,100vw - 24px);padding:10px 14px;font-size:12px}.learning-coach h2{font-size:16px}.learning-progress{margin-bottom:6px}.learning-coach small{margin-top:6px}}.app-shell.match-shell{width:100%;max-width:none;padding:0}.match-shell>.app-header,.match-shell>.app-footer,.match-shell>.development-banner{display:none}body:has(.match-table){overflow:hidden}.app-shell .match-table{--hand-height:clamp(150px,22vh,215px);--edge:clamp(90px,14vw,210px);isolation:isolate;grid-template-columns:minmax(0,1fr);grid-template-rows:44px 86px minmax(70px,1fr) 54px minmax(70px,1fr) 76px var(--hand-height);background:radial-gradient(at 50% 44%,#1f29400d 0%,#0a11221a 61%,#05080f57 100%);gap:0;height:100dvh;min-height:500px;padding:0;font-size:14px;display:grid;position:relative;overflow:hidden}.table-surface{z-index:-1;background:radial-gradient(#1e2c380c,#060d1738);border:1px solid #d8bd8445;border-radius:42%/12%;position:absolute;inset:9% 5% 19%;box-shadow:inset 0 0 60px #98bed00a,0 0 0 6px #10192588,0 0 0 7px #d7c19820,0 16px 45px #0009}.table-surface:after{content:"";top:50%;background:linear-gradient(90deg,#0000,#d8c19a42,#0000);height:1px;position:absolute;inset-inline:3%}.match-table .table-topbar{z-index:30;background:linear-gradient(#050a13b0,#0000);grid-row:1;justify-content:start;gap:15px;padding:0 18px}.table-wordmark{letter-spacing:.27em;color:#e7d4b0;font:16px Georgia,serif}.match-mode{color:#a3aabd;font-size:11px}.table-connection{color:#f1c77d;margin-left:auto;font-size:12px}.table-connection.open{color:#98c6ad}.match-table .table-topbar button{background:#080d18b8;border-color:#b6b9c331;padding:4px 12px;font-size:21px}.opponent-hand{pointer-events:none;justify-content:center;width:290px;height:110px;display:flex;position:absolute;top:-45px;left:50%;transform:translate(-50%)}.opponent-hand img{width:69px;max-width:none;height:97px;transform:rotate(calc((var(--index) - (var(--count) - 1)/2)*4deg));border:1px solid #aaa6;border-radius:5px;margin:0 -22px;box-shadow:0 5px 15px #000b}.opponent-hand>span{color:#b4bbcc;font-size:10px;position:absolute;top:97px;left:-10px}.opponent-hero{z-index:3;grid-row:2;place-self:center}.match-table .nexus-emblem{text-align:left;background:linear-gradient(120deg,#172033,#0b101bf5);border:1px solid #b3a18573;border-radius:40px 10px 35px;grid-template-columns:62px 1fr 55px;align-items:center;gap:10px;width:260px;min-height:66px;padding:6px 10px 6px 7px;display:grid;position:relative;box-shadow:0 9px 30px #0008,inset 0 0 0 3px #090e1890}.emblem-portrait{background:#020305;border:1px solid #ddc09098;border-radius:50%;width:58px;height:58px;overflow:hidden}.emblem-portrait img{object-fit:cover;object-position:50% 32%;width:100%;height:100%;transform:scale(1.15)}.emblem-name{gap:4px;min-width:0;display:grid}.emblem-name strong{white-space:nowrap;text-overflow:ellipsis;font:16px Georgia,serif;overflow:hidden}.emblem-name small{text-transform:uppercase;letter-spacing:.09em;color:#b6bdd0;font-size:10px}.ct-medallion{text-align:center;background:radial-gradient(at 45% 20%,#933f48,#331e2e 85%);border:1px solid #d98b7080;border-radius:40% 40% 48% 48%;place-content:center;width:49px;height:52px;display:grid;box-shadow:0 3px 8px #0009}.ct-medallion b{color:#fff5e6;font:27px/1 Georgia,serif}.ct-medallion small{letter-spacing:.08em;color:#edc7b9;font-size:8px}.damage-track{background:#0a1020;border-radius:8px;gap:4px;padding:3px 8px;display:flex;position:absolute;bottom:-7px;left:50%;transform:translate(-50%)}.damage-track i{border:1px solid #997678;border-radius:50%;width:6px;height:6px}.damage-track i.filled{background:#f28975;box-shadow:0 0 5px #f28975}.nexus-emblem.active-turn{border-color:#ead1a1;box-shadow:0 0 15px #d7c29b40,0 9px 30px #0008}.table-nexus-row{z-index:2;min-width:0;margin:0 calc(var(--edge) + 22px);scrollbar-width:thin;scrollbar-color:#a98d5755 transparent;justify-content:center;align-items:center;gap:14px;padding:12px;display:flex;position:relative;overflow:auto hidden}.enemy-nexus{grid-row:3}.own-nexus{grid-row:5}.empty-nexus{pointer-events:none;letter-spacing:.25em;color:#b7bfc343;white-space:nowrap;font-size:10px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.table-nexus-row:has(.table-card) .empty-nexus{display:none}.match-table .table-card{text-align:left;touch-action:pan-x;background:0 0;border:0;border-radius:7px;flex-shrink:0;min-width:0;min-height:0;padding:0;display:block;position:relative;overflow:visible}.card-motion{border-radius:7px;width:100%;height:100%;transition:filter .15s;display:block;position:relative;box-shadow:0 6px 12px #000a}.card-motion>img{object-fit:cover;pointer-events:none;border-radius:6px;width:100%;height:100%;display:block}.match-table .permanent-card{width:clamp(66px,6.5vw,106px);height:clamp(91px,9vw,148px);max-height:100%}.match-table .table-card:hover{background:0 0}.creature-stats{justify-content:space-between;font-size:10px;font-weight:650;display:flex;position:absolute;bottom:-9px;left:-5px;right:-5px}.creature-stats span{background:#151b28;border:1px solid #b8a584;border-radius:8px;padding:3px 5px}.creature-stats span:last-child{background:#502633}.card-damage{color:#fff;background:#742c2c;border-radius:6px;padding:3px;font-size:10px;position:absolute;top:2px;right:-4px}.card-state{color:#e5d2ba;text-align:center;background:#100f17d9;padding:4px 0;font-size:10px;position:absolute;top:40%;left:0;right:0}.card-state.maintaining{color:#f9d994;background:#3c3023ed;line-height:1.3}.source-maintenance{color:#f3d59b;flex-wrap:wrap;justify-content:center;align-items:center;gap:6px;padding-top:6px;font-size:12px;display:flex}.spent .card-motion>img{filter:brightness(.5)saturate(.55)}.nullified .card-motion>img{filter:grayscale()brightness(.65)}.match-table .eligible,.match-table .table-card.playable .card-motion{outline-offset:2px;outline:2px solid #8ec7ad;box-shadow:0 0 14px #8ee6b644}.match-table .selected,.match-table .table-card.selected .card-motion{outline-offset:3px;background:0 0;outline:2px solid #f7d18c;box-shadow:0 0 20px #f7ce8b77}.selection-mark{color:#172231;background:#e5c68e;border:2px solid #172231;border-radius:50%;place-content:center;width:25px;height:25px;font-size:16px;font-weight:800;display:grid;position:absolute;top:-8px;right:-8px}.table-gate{z-index:5;pointer-events:none;grid-row:4;place-self:center;width:230px;height:230px;position:relative}.table-gate .gate-view{width:100%;height:100%}.table-gate .gate-card-layer{width:39%}.table-gate:has(.gate-view[data-phase=hidden]):not(.drop-ready){z-index:1}.gate-targets{justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.match-table .gate-focus{pointer-events:auto;background:0 0;border:0;border-radius:5px;width:94px;height:133px;padding:0;position:absolute}.gate-focus>span{background:#0c1323e8;border:1px solid #ffffff25;border-radius:6px;width:150px;padding:6px 8px;font-size:11px;position:absolute;top:100%;left:50%;transform:translate(-50%)}.match-table .gate-stacked{pointer-events:auto;background:#111828;width:50px;padding:0;font-size:9px;position:absolute;left:calc(100% + 5px)}.gate-stacked:nth-child(3){left:calc(100% + 60px)}.gate-stacked img{width:100%}.gate-stacked span{display:block}.gate-drop-label{text-align:center;color:#e4cfaa;font-size:13px;position:absolute;inset:40% 0 auto}.table-gate.drop-ready{pointer-events:auto;background:#9bbda01a;border:2px dashed #ddcba078;border-radius:50%}.enemy-sources{width:calc(var(--edge) - 25px);color:#b4bccd;font-size:10px;position:absolute;top:12%;left:6%}.enemy-sources>span{letter-spacing:.09em;text-transform:uppercase;justify-content:space-between;display:flex}.enemy-sources>div{justify-content:center;margin-top:8px;display:flex}.enemy-sources img{border:1px solid #bdc3ce50;border-radius:3px;width:37px;height:52px;margin-left:-22px;box-shadow:0 2px 8px #0009}.enemy-sources img:first-child{margin-left:0}.opponent-piles,.own-piles{z-index:3;grid-template-columns:54px 50px;gap:7px;display:grid;position:absolute;left:6%}.opponent-piles{top:26%}.match-table .zone-pile{color:#bfc5d3;background:#101927ce;border-color:#909fbd40;border-radius:8px;flex-direction:column;justify-content:center;align-items:center;gap:2px;min-width:44px;padding:5px 4px;font-size:9px;display:flex;position:relative}.zone-pile b{color:#eee5d3;font-size:17px;font-weight:500}.zone-pile img{border-radius:5px;width:45px;height:64px}.match-table .codex-pile{background:0 0;border:0;grid-row:span 2;margin:0 3px 4px 0;padding:0;box-shadow:3px 3px #6d7680,5px 5px #131923}.codex-pile>span{text-align:center;background:#080e1ced;width:100%;padding:4px;font-size:10px;position:absolute;bottom:0}.codex-pile b{background:#101a2c;border:1px solid #a18a6870;border-radius:50%;min-width:26px;padding:3px;font-size:13px;position:absolute;top:-8px;right:-7px}.match-table .own-piles .codex-pile.can-draw{outline:2px solid #8ec7ad;box-shadow:0 0 18px #8ec7ad60}.own-sources{width:calc(var(--edge) + 65px);left:5.5%;bottom:calc(var(--hand-height) + 13px);z-index:6;background:#0b142196;border:1px solid #a4b4c427;border-radius:8px;padding:8px 12px;position:absolute}.source-heading{letter-spacing:.07em;color:#acb6c5;justify-content:space-between;align-items:center;gap:6px;font-size:9px;display:flex}.source-heading strong{color:#d8d5ea;letter-spacing:0;font-size:20px;font-weight:500}.source-heading small{color:#adb7c8;font-size:9px}.source-fan{justify-content:center;gap:4px;height:51px;margin-top:7px;display:flex}.match-table .source-card{width:36px;height:50px;margin-left:clamp(-20px,-1.5vw,-8px)}.match-table .source-card:first-child{margin-left:0}.match-table .source-card .card-state{padding:2px 0;font-size:7px;top:45%}.source-empty{color:#a1abba;text-align:center;align-self:center;font-size:10px;line-height:1.5}.own-sources.drop-ready{background:#6a624250;outline:2px dashed #d7c29b}.floating-providers{flex-wrap:wrap;gap:4px;display:flex}.match-table .floating-providers button{padding:3px;font-size:10px}.own-hero{z-index:3;grid-row:6;place-self:center}.table-turn{z-index:12;text-align:center;gap:7px;width:clamp(116px,13vw,172px);display:grid;position:absolute;top:33%;right:3%}.turn-number{color:#b6a990;letter-spacing:.16em;font-size:10px}.table-turn>strong{color:#bfbbce;font-size:11px;font-weight:500}.match-table .turn-button{background:#263345;border-radius:10px 3px;justify-content:center;min-height:54px;padding:9px 10px;font-size:13px;font-weight:650;box-shadow:0 5px 15px #0006}.match-table .turn-button.primary{color:#1e2027;background:linear-gradient(#e9d0a1,#b79b6d);border-color:#f1d9a9}.table-counter-buttons{gap:5px;display:flex}.match-table .table-counter-buttons button{background:#0c1423d9;border:1px solid #697185;flex:1;min-width:0;padding:7px 4px;font-size:11px}.match-table .counter-button.available{background:#605033;border-color:#ecd094;box-shadow:0 0 12px #ecd0944a}.match-table .counter-button[aria-disabled=true]{opacity:.55}.match-table .replenish-button,.match-table .history-button{color:#c1bcc8;background:#0b122091;border-color:#a2a7b631;padding:5px 10px;font-size:11px}.match-table .history-button{border-color:#0000;justify-self:center}.table-hand{z-index:10;margin:0 max(10px,env(safe-area-inset-right)) 0 max(10px,env(safe-area-inset-left));grid-row:7;align-self:stretch;min-width:0;position:relative}.hand-label{z-index:1;letter-spacing:.13em;color:#9099ad;font-size:9px;position:absolute;bottom:10px;left:16px}.hand-label b{color:#cfc6b5;margin-left:8px}.table-hand-rail{justify-content:center;align-items:end;height:100%;padding:28px 25px 14px;display:flex;overflow:visible}.match-table .hand-card{aspect-ratio:5/7;width:clamp(92px,8.5vw,139px);height:auto;transform:translateY(var(--lift)) rotate(var(--angle));transform-origin:50% 100%;margin-left:-16px;transition:transform .18s,filter .18s}.match-table .hand-card:first-child{margin-left:0}.match-table .hand-card:hover,.match-table .hand-card:focus-visible,.match-table .hand-card.selected{z-index:4;transform:translateY(-20px)rotate(0)}.table-action-tray{z-index:19;bottom:calc(var(--hand-height) + 3px);max-width:calc(100% - var(--edge)*2 - 50px);text-align:center;background:#0b1322e8;border:1px solid #afb2c62e;border-radius:10px;width:max-content;min-width:260px;padding:7px 14px;position:absolute;left:50%;transform:translate(-50%);box-shadow:0 8px 30px #0007}.table-action-tray:not(.expanded){bottom:calc(var(--hand-height) - 11px);box-shadow:none;pointer-events:none;background:#0b1322a1;border:0;padding:4px 12px}.match-table .table-hint{color:#dacdb6;margin:0;padding:2px 10px;font-size:11px;line-height:1.45}.table-action-tray.expanded{bottom:calc(var(--hand-height) - 12px);max-width:min(820px,100% - 40px);padding:9px 20px 9px 12px}.match-table .cancel-selection{background:#1c2436;border-radius:50%;width:32px;min-width:32px;height:32px;min-height:32px;padding:0;font-size:22px;position:absolute;top:-14px;right:-9px}.selected-card-actions,.cast-actions,.counter-table-payment,.choice-actions{flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;display:flex}.table-action-tray .selected-card-actions,.table-action-tray .cast-actions,.table-action-tray .choice-actions,.counter-table-payment{margin-top:7px}.match-table .table-action-tray button{justify-content:center;gap:6px;min-height:40px;padding:7px 10px;font-size:12px}.table-action-tray strong{color:#fff0d3;max-width:170px;font-size:12px}.table-action-tray label{align-items:center;gap:5px;font-size:10px;display:flex}.match-table .table-action-tray select{max-width:140px;min-height:40px;padding:5px 8px;font-size:11px}.table-action-tray input[type=number]{width:50px;min-height:40px;font:inherit;padding:5px}.shuffle-choice{font-size:11px}.shuffle-choice input{width:18px;height:18px}.table-card-preview{z-index:25;pointer-events:none;filter:drop-shadow(0 10px 20px #000c);width:clamp(155px,17vw,240px);position:absolute;bottom:20px;left:22px}.table-card-preview>img{border-radius:8px;width:100%;display:block}.table-card-preview>div{background:#101827f8;border:1px solid #d2c3a369;border-radius:0 0 8px 8px;padding:10px}.table-card-preview strong{font:17px Georgia,serif}.match-table .table-card-preview p{margin:7px 0 0;font-size:11px;line-height:1.45}.table-card-preview small{color:#d8c397;font-size:10px}.gated-card-details{z-index:18;width:330px;max-height:calc(100% - var(--hand-height) - 270px);background:#0c1525f5;border:1px solid #ddc59099;border-radius:10px;padding:12px;position:absolute;top:142px;left:24px;overflow:auto;box-shadow:0 12px 36px #0009}.match-table .gated-card-status{color:#ebd4a7;margin:0 0 10px;font-size:12px}.gated-card-content{grid-template-columns:120px minmax(0,1fr);align-items:start;gap:12px;display:grid}.match-table .gated-card-art{background:#1c293b;border:1px solid #aaa48260;border-radius:6px;width:100%;min-width:0;padding:0;display:block;overflow:hidden}.gated-card-art img{width:100%;display:block}.gated-card-art span{color:#f5e1ba;place-content:center;min-height:44px;font-size:12px;display:grid}.match-table .gated-card-rules h2{color:#fff3d8;margin:0 0 8px;font:20px Georgia,serif}.match-table .gated-card-rules p{color:#e5e8ef;margin:0 0 10px;font-size:14px;line-height:1.45}.match-table .gated-card-rules .gated-card-cost{color:#c1c9db;font-size:12px}.match-table .gated-card-rules .gated-card-target{color:#f5d591}@media (width<=900px){.gated-card-details{width:270px;top:145px;left:10px}.gated-card-content{grid-template-columns:90px minmax(0,1fr);gap:10px}}@media (width<=600px) and (height>=501px){.gated-card-details{width:calc(100% - 168px);max-height:min(196px,calc(100% - var(--hand-height) - var(--tray-height) - 300px));padding:9px;top:48px;left:10px}.gated-card-content{display:block}.match-table .gated-card-art{float:left;width:65px;margin:0 10px 6px 0}.gated-card-art span{font-size:10px}.match-table .gated-card-status{margin-bottom:8px;font-size:11px}.match-table .gated-card-rules h2{font-size:17px}.match-table .gated-card-rules p{font-size:13px}.match-table .gated-card-rules .gated-card-cost{font-size:11px}}@media (height<=600px) and (width>=601px){.gated-card-details{width:230px;max-height:calc(100% - 180px);padding:8px;top:60px;left:10px}.gated-card-content{grid-template-columns:64px minmax(0,1fr);gap:8px}.match-table .gated-card-status{margin-bottom:6px;font-size:11px}.match-table .gated-card-rules h2{font-size:16px}.match-table .gated-card-rules p{font-size:12px}}.target-arrow{pointer-events:none;z-index:15;opacity:.85;filter:drop-shadow(0 0 5px #000a);width:100%;height:100%;position:absolute;inset:0}.table-setup,.table-result{z-index:35;text-align:center;background:radial-gradient(at top,#283248f5,#0c1422fc 70%);border:1px solid #c6b48c7a;border-radius:14px;width:min(690px,100% - 32px);max-height:calc(100dvh - 110px);padding:25px;position:absolute;top:45%;left:50%;overflow:auto;transform:translate(-50%,-50%);box-shadow:0 0 0 100vmax #0308105c,0 30px 100px #000a}.match-table .table-setup h1,.match-table .table-result h1{margin:6px 0 22px;font-size:32px}.augmentation-choices{grid-template-columns:repeat(3,1fr);gap:10px;display:grid}.match-table .augmentation-choices button{background:#080f1cb8;border-color:#b9b5aa41;flex-direction:column;align-items:center;gap:8px;padding:10px;display:flex}.augmentation-choices img{aspect-ratio:5/7;object-fit:contain;border-radius:5px;width:75px}.augmentation-choices strong{color:#e9d8b9;font:17px Georgia,serif}.augmentation-choices small{color:#afb8cd;margin-top:6px;font-size:10px;line-height:1.5;display:block}.match-table .table-result h1{color:#e5cca0;font-size:64px}.table-dialog{color:#efeee8;background:#0e1727;border:1px solid #c5b29478;border-radius:12px;width:min(580px,100% - 24px);max-height:88dvh;padding:22px;overflow:auto;box-shadow:0 30px 100px #000a}.table-dialog::backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#02060dcc}.table-dialog header{padding-bottom:16px}.table-dialog h2{margin:0}.table-dialog .match-support{background:0 0;border:0;padding:10px 0}.table-dialog .choice-actions{margin-top:20px}.table-dialog .display-settings{margin-bottom:12px}.table-dialog .display-settings>.panel{width:100%;position:static}.table-history{color:#d4c9b8;padding-left:20px;line-height:2}.table-error{z-index:45;background:#431d26f5;border:1px solid #e9a09b;border-radius:8px;align-items:center;gap:10px;width:min(640px,95%);padding:8px 12px;font-size:12px;display:flex;position:absolute;top:48px;left:50%;transform:translate(-50%)}.table-error button{margin-left:auto}.table-announcement{z-index:16;pointer-events:none;color:#f3dfb6;white-space:nowrap;opacity:0;background:linear-gradient(90deg,#0000,#161e30ef,#0000);padding:15px 65px;font:30px Georgia,serif;animation:1.7s both turn-announce;position:absolute;top:47%;left:50%;transform:translate(-50%,-50%)}.table-flying-card{z-index:27;aspect-ratio:5/7;pointer-events:none;border-radius:6px;height:auto;position:absolute;box-shadow:0 10px 30px #000c}.table-delta{z-index:28;pointer-events:none;color:#ffa290;text-shadow:0 2px 10px #000;font-size:28px;font-weight:800;position:absolute}.table-delta.healing{color:#a6e8c0}.table-loading{text-align:center;place-content:center;min-height:100dvh;padding:24px;display:grid}@keyframes turn-announce{0%,to{opacity:0}15%,70%{opacity:1}}.match-table[data-motion=off] .table-announcement{animation:none}.match-table[data-motion=off] .hand-card{transition:none}@media (prefers-reduced-motion:reduce){.match-table *,.match-table :before,.match-table :after{transition:none!important;animation:none!important}}@media (width>=1700px){.app-shell .match-table{grid-template-rows:44px 100px minmax(110px,1fr) 80px minmax(110px,1fr) 100px var(--hand-height)}.table-gate{width:300px;height:300px}.match-table .gate-focus{width:117px;height:164px}.match-table .nexus-emblem{width:290px}.table-nexus-row{gap:22px}}@media (width<=900px){.app-shell .match-table{--edge:95px;--hand-height:156px}.table-turn{width:112px;right:10px}.enemy-sources{width:95px;left:20px}.opponent-piles,.own-piles{left:15px}.own-sources{width:165px;left:15px}.table-nexus-row{gap:10px;margin-inline:115px 135px}.table-gate{width:190px;height:190px}.match-table .gate-focus{width:76px;height:106px}.table-card-preview{width:180px;bottom:10px;left:10px}.match-table .hand-card{width:94px;margin-left:-16px}.table-action-tray.expanded{max-width:calc(100% - 20px)}}@media (width<=600px) and (height>=501px){.app-shell .match-table{--hand-height:147px;--edge:45px;grid-template-rows:44px 85px minmax(70px,1fr) 42px minmax(70px,1fr) 75px var(--hand-height);min-height:560px}.table-topbar{padding-inline:10px!important}.match-mode{font-size:10px}.table-wordmark{font-size:13px}.table-surface{border-radius:35%/6%;inset:14% 8px 27%}.opponent-hand{width:160px;top:-55px;left:48%}.opponent-hand img{width:62px;height:86px;margin-inline:-23px}.opponent-hand>span{font-size:8px;top:83px;left:0}.match-table .nexus-emblem{grid-template-columns:47px 1fr 42px;gap:8px;width:208px;min-height:60px;padding:5px 8px}.emblem-portrait{width:44px;height:44px}.emblem-name strong{font-size:13px}.emblem-name small{font-size:8px}.ct-medallion{width:39px;height:46px}.ct-medallion b{font-size:24px}.opponent-hero{justify-self:center;margin-left:22px}.own-hero{justify-self:end;margin-right:12px}.enemy-sources{width:46px;top:68px;left:13px}.enemy-sources>span{text-align:center;flex-direction:column;gap:3px;font-size:8px}.enemy-sources>div{display:none}.opponent-piles,.own-piles{align-items:center;gap:4px;display:flex;left:auto;right:8px}.opponent-piles{top:137px}.own-piles{bottom:calc(var(--hand-height) + 100px)}.match-table .zone-pile{border-radius:5px;width:36px;min-width:36px;min-height:44px;padding:2px;font-size:8px}.zone-pile b{font-size:14px}.match-table .codex-pile{width:29px;min-width:29px;height:40px;margin:0 6px 0 0;box-shadow:2px 2px #637080}.zone-pile img{width:29px;height:40px}.codex-pile>span{padding:2px 0;font-size:7px}.codex-pile b{min-width:22px;font-size:11px;top:-10px;right:-5px}.table-nexus-row{justify-content:start;gap:14px;margin:0 12px;padding:18px 10px}.enemy-nexus{padding-top:52px}.own-nexus{padding-bottom:36px}.match-table .permanent-card{width:65px;height:91px}.creature-stats{font-size:9px}.table-gate{width:154px;height:154px;margin-left:-75px}.match-table .gate-focus{width:62px;height:87px}.gate-focus>span{width:125px;padding:4px;font-size:9px}.match-table .gate-stacked{width:36px;left:85%}.gate-stacked:nth-child(3){left:110%}.table-turn{right:9px;top:calc(44px + 85px + (100% - 44px - 85px - 42px - 75px - var(--hand-height))/2 - 9px);gap:4px;width:135px}.turn-number{display:none}.table-turn>strong{font-size:9px}.match-table .turn-button{min-height:44px;padding:5px 6px;font-size:11px}.match-table .table-counter-buttons button{min-height:44px;font-size:10px}.match-table .replenish-button{min-height:36px;padding:3px 7px;font-size:10px}.match-table .history-button{display:none}.own-sources{bottom:calc(var(--hand-height) + 12px);width:135px;min-height:68px;padding:6px;left:9px}.source-heading{gap:3px;font-size:7px}.source-heading strong{font-size:16px}.source-heading small{display:none}.source-fan{gap:0;height:33px;margin-top:5px}.match-table .source-card{width:25px;height:35px;margin-left:-14px}.source-empty{font-size:8px}.match-table .source-card .card-state{font-size:5px}.floating-providers{background:#0c1423;position:absolute;bottom:100%;left:0}.match-table .floating-providers button{min-width:44px;min-height:44px}.table-hand{margin-inline:0}.table-hand-rail{scrollbar-width:thin;scrollbar-color:#d7c29b50 transparent;justify-content:start;padding:28px 16px 10px;overflow:auto hidden}.match-table .hand-card{flex:0 0 83px;width:83px;margin-left:7px;transform:none}.match-table .hand-card:first-child{margin-left:0}.match-table .hand-card:hover,.match-table .hand-card:focus-visible,.match-table .hand-card.selected{transform:translateY(-12px)}.hand-label{display:none}.table-action-tray:not(.expanded){width:100%;min-width:0;bottom:calc(var(--hand-height) - 17px);background:0 0;max-width:100%;padding:0 6px}.match-table .table-hint{padding:1px 8px;font-size:10px}.table-action-tray.expanded{width:calc(100% - 16px);min-width:0;max-width:calc(100% - 16px);bottom:calc(var(--hand-height) - 10px);max-height:210px;padding:7px 10px;overflow-y:auto}.table-action-tray strong{max-width:155px;font-size:11px}.table-action-tray .selected-card-actions,.table-action-tray .cast-actions,.table-action-tray .choice-actions{gap:5px;margin-top:4px}.match-table .table-action-tray button{min-height:44px;padding:6px 8px;font-size:11px}.table-action-tray label{font-size:9px}.match-table .table-action-tray select,.table-action-tray input[type=number]{min-height:44px}.match-table .cancel-selection{float:right;width:32px;min-width:32px;height:32px;min-height:32px;margin-top:-21px;padding:0;font-size:21px;position:static}.table-card-preview{z-index:17;width:115px;top:175px;bottom:auto;left:10px}.table-card-preview>div{padding:6px}.table-card-preview strong{font-size:12px}.match-table .table-card-preview p,.table-card-preview small{font-size:8px}.table-card-preview>img{object-fit:contain;max-height:158px}.table-setup,.table-result{width:calc(100% - 22px);padding:18px 14px;top:45%}.match-table .table-setup h1{font-size:26px}.augmentation-choices{grid-template-columns:repeat(2,1fr);gap:7px}.match-table .augmentation-choices button{text-align:left;flex-direction:row;gap:6px;padding:7px}.augmentation-choices img{width:38px}.augmentation-choices strong{font-size:14px}.augmentation-choices small{max-height:70px;font-size:8px;overflow:auto}.table-announcement{padding-inline:25px;font-size:22px}}@media (height<=600px) and (width>=601px){.app-shell .match-table{--hand-height:105px;--edge:100px;grid-template-rows:36px 48px minmax(30px,1fr) 20px minmax(30px,1fr) 48px var(--hand-height);min-height:320px}.match-table .table-topbar button{height:32px;min-height:32px}.table-topbar{font-size:10px}.table-wordmark{font-size:13px}.opponent-hand{top:-64px}.opponent-hand>span{display:none}.match-table .nexus-emblem{grid-template-columns:36px 1fr 34px;gap:7px;width:208px;min-height:42px;padding:3px 8px}.emblem-portrait{width:34px;height:34px}.emblem-name strong{font-size:12px}.emblem-name small{font-size:8px}.ct-medallion{width:32px;height:35px}.ct-medallion b{font-size:21px}.damage-track{padding:2px 6px;bottom:-4px}.damage-track i{width:4px;height:4px}.table-nexus-row{gap:10px;margin-left:145px;margin-right:150px;padding:4px 8px}.match-table .permanent-card{width:42px;height:59px}.creature-stats{font-size:7px;bottom:-5px}.creature-stats span{padding:1px 3px}.table-gate{width:115px;height:115px}.match-table .gate-focus{width:47px;height:66px}.gate-focus>span{padding:2px 5px;font-size:8px}.table-turn{gap:3px;width:128px;top:20%;right:12px}.turn-number{display:none}.table-turn>strong{font-size:10px}.match-table .turn-button{min-height:44px;padding:5px;font-size:11px}.match-table .table-counter-buttons button{min-height:44px}.match-table .replenish-button{min-height:32px}.match-table .history-button{display:none}.enemy-sources{width:95px;top:50px;left:20px}.enemy-sources>div{display:none}.opponent-piles{top:85px;left:20px}.own-piles{display:none}.zone-pile img{width:35px;height:49px}.opponent-piles{grid-template-columns:36px 44px;gap:4px}.match-table .zone-pile:not(.codex-pile){min-height:32px}.own-sources{width:160px;padding:4px 8px;bottom:110px;left:12px}.source-fan{height:36px;margin-top:2px}.match-table .source-card{width:26px;height:36px;margin-left:-14px}.source-heading strong{font-size:17px}.source-empty{font-size:8px}.table-hand-rail{padding:10px 160px 3px}.match-table .hand-card{width:63px;margin-left:-9px}.match-table .hand-card:hover,.match-table .hand-card:focus-visible,.match-table .hand-card.selected{transform:translateY(-10px)}.hand-label{display:none}.table-action-tray:not(.expanded){min-width:0;bottom:93px}.table-action-tray.expanded{width:max-content;max-width:calc(100% - 320px);max-height:160px;padding:4px 10px;bottom:90px;overflow:auto}.match-table .table-hint{font-size:9px}.table-action-tray strong{font-size:10px}.match-table .table-action-tray button{min-height:36px;padding:4px 7px;font-size:10px}.table-action-tray .cast-actions{gap:4px}.table-action-tray input[type=number]{width:40px;min-height:34px}.match-table .table-action-tray select{max-width:105px;min-height:34px}.table-card-preview{width:125px;bottom:5px;left:5px}.table-card-preview>div{padding:5px}.table-card-preview strong{font-size:12px}.match-table .table-card-preview p{font-size:8px}.table-setup{max-height:calc(100dvh - 48px);padding:14px;top:51%}.match-table .table-setup h1{margin:0 0 12px;font-size:22px}.augmentation-choices{grid-template-columns:repeat(3,1fr)}.match-table .augmentation-choices button{text-align:left;flex-direction:row;padding:6px}.augmentation-choices img{width:36px}.augmentation-choices strong{font-size:14px}.augmentation-choices small{font-size:8px}.table-setup .eyebrow{display:none}}.match-table .source-card{flex:0 0 44px;width:44px;height:58px;margin-left:0}.match-table .source-card .card-state{overflow-wrap:anywhere;padding:2px;font-size:8px;line-height:1.15}.source-fan{scrollbar-width:thin;scrollbar-color:#b1a78b55 transparent;justify-content:start;height:64px;padding:4px;overflow:auto hidden}.match-table .cancel-selection{width:44px;min-width:44px;height:44px;min-height:44px}@media (width<=600px) and (height>=501px){.source-fan{gap:5px;height:48px;padding:2px}.match-table .source-card{flex:0 0 44px;width:44px;height:44px;margin-left:0}.source-card .card-motion>img{object-fit:contain;background:#060a10}.own-sources{width:135px}.match-table .zone-pile{width:44px;min-width:44px;min-height:44px}.match-table .codex-pile{width:44px;min-width:44px;height:44px}.zone-pile img{width:31px;height:44px}.opponent-piles{top:132px}.match-table .replenish-button{min-height:44px}.match-table .cancel-selection{width:44px;min-width:44px;height:44px;min-height:44px;margin-top:-16px}}@media (height<=600px) and (width>=601px){.match-table .table-topbar button,.match-table .zone-pile,.match-table .zone-pile:not(.codex-pile),.match-table .replenish-button,.match-table .table-action-tray button{min-width:44px;min-height:44px}.match-table .permanent-card{width:44px;height:62px}.match-table .source-card{width:44px;height:44px}.source-fan{height:48px}.own-sources{bottom:110px}.opponent-piles{grid-template-columns:44px 44px}.table-action-tray.expanded{max-height:165px}}.match-table .nexus-emblem{width:280px}.emblem-portrait img{object-fit:cover;object-position:center;transform:scale(1.25)}@media (width<=600px) and (height>=501px){.match-table .nexus-emblem{width:208px}}@media (height<=600px) and (width>=601px){.match-table .nexus-emblem{width:208px}}.app-shell .match-table{--tray-height:28px;grid-template-rows:44px 86px minmax(70px,1fr) 54px minmax(70px,1fr) var(--tray-height) 112px var(--hand-height)}.match-table:has(.table-action-tray.expanded){--tray-height:100px}.own-hero{grid-row:7}.table-hand{grid-row:8}.match-table .table-action-tray,.match-table .table-action-tray:not(.expanded),.match-table .table-action-tray.expanded{grid-row:6;place-self:center;max-height:100%;position:relative;top:auto;bottom:auto;left:auto;transform:none}.own-piles{bottom:calc(var(--hand-height) + var(--tray-height) + 90px)}@media (width<=600px) and (height>=501px){.app-shell .match-table{grid-template-rows:44px 85px minmax(90px,1fr) 42px minmax(100px,1fr) var(--tray-height) 104px var(--hand-height)}.match-table:has(.table-action-tray.expanded){--tray-height:118px}.own-piles{bottom:calc(var(--hand-height) + var(--tray-height) + 83px)}.own-hero{width:calc(100vw - 162px)}.match-table .own-emblem{grid-template-columns:minmax(0,1fr) 42px;width:100%}.own-emblem .emblem-portrait{display:none}.own-emblem .emblem-name{padding-left:8px}.table-turn{top:calc(44px + 85px + (100% - 44px - 85px - 42px - 75px - var(--hand-height) - var(--tray-height))/2 - 9px)}}@media (height<=600px) and (width>=601px){.app-shell .match-table{--tray-height:18px;grid-template-rows:36px 48px minmax(20px,1fr) 20px minmax(20px,1fr) var(--tray-height) 48px var(--hand-height)}.match-table:has(.table-action-tray.expanded){--tray-height:80px}.table-action-tray.expanded{overflow:auto}}.match-table .nexus-emblem{min-height:44px}.table-attack-trail{z-index:24;transform-origin:0;pointer-events:none;background:linear-gradient(90deg,#d4b98011,#edcf93);border-radius:50%;height:4px;position:absolute;box-shadow:0 0 12px #edb283}.table-nexus-row{justify-content:flex-start;display:flex}.table-nexus-row>.table-card:first-of-type{margin-left:auto}.table-nexus-row>.table-card:last-of-type{margin-right:auto}@media (width>=601px) and (height>=601px){.match-table .hand-card{width:auto;height:calc(var(--hand-height) - 34px);flex:none}.table-hand-rail{padding-bottom:24px}}@media (width<=600px) and (height>=501px){.own-nexus{margin-right:145px}}.match-table .generated-source .card-motion>img{opacity:.46}.match-table .generated-source{background:#92cddd0b;border:1px dashed #9fd5e566}.match-table .generated-source.spent .card-motion>img{opacity:.22}.saved-moves{margin:0;padding:0;list-style:none}.saved-moves li{border-bottom:1px solid #c5b29433;padding:16px 0}.saved-moves small,.latest-move small{color:#b4b6c5;font-size:11px}.move-heading{align-items:center;gap:12px;margin:6px 0;display:flex}.match-table .move-card{border:0;width:62px;min-width:62px;padding:0}.move-card img{border-radius:4px;width:100%;display:block}.saved-moves p{margin:5px 0;font-size:13px;line-height:1.5}.match-table .latest-move{z-index:7;text-align:left;background:#091321db;border:1px solid #b8a68145;border-radius:8px;width:220px;padding:10px 12px;font-size:12px;line-height:1.4;position:absolute;top:100px;right:4.5%}.latest-move>span{align-items:center;gap:8px;margin-top:5px;display:flex}.latest-move img{border-radius:3px;width:34px}@media (width<=900px){.match-table .latest-move{width:145px;padding:7px;font-size:10px;top:70px;right:10px}.latest-move img{width:26px}}@media (height<=550px){.match-table .latest-move{width:140px;font-size:9px;top:54px;right:10px}.latest-move>span:nth-of-type(n+2){display:none}}@media (width>=901px){.own-sources:has(.generated-source){width:clamp(330px,24vw,410px)}}@media (width<=900px){.source-fan .generated-source{order:-1}}@media (width<=600px) and (height>=551px){.match-table .latest-move{width:calc(100% - 176px);max-height:70px;top:128px;left:12px;right:auto;overflow:hidden}.latest-move>span:nth-of-type(n+2){display:none}.latest-move img{width:22px}}@media (width<=600px) and (height>=501px){:is(.cast-actions>strong,.cast-actions label:has(select[aria-label=Cast\ target])){display:none}.match-table:has(.cast-actions input){--tray-height:132px;grid-template-rows:44px 85px minmax(83px,1fr) 42px minmax(93px,1fr) var(--tray-height) 104px var(--hand-height)}}.app-shell .match-table{--hand-height:clamp(140px,20vh,190px);--source-height:132px;--pile-width:116px;--table-left:5.5vw;--table-right:max(190px,16vw);grid-template-rows:44px minmax(0,1fr) 28px minmax(0,1fr) var(--hand-height);min-height:500px}.table-surface{inset:54px 5% calc(var(--hand-height) - 18px)}.table-surface:after{display:none}.table-divider{pointer-events:none;background:linear-gradient(90deg,#0000,#d8c19a42,#0000);grid-area:3/1;align-self:center;height:1px;margin:0 7%}.table-side{grid-column:1;grid-template-columns:var(--pile-width) minmax(0,1fr);z-index:2;min-width:0;min-height:0;margin:0 var(--table-right) 0 var(--table-left);gap:6px 20px;display:grid;position:relative}.opponent-side{grid-row:2;grid-template-rows:auto minmax(0,1fr);padding-top:32px}.own-side{grid-row:4;grid-template-rows:minmax(54px,1fr) auto auto;padding-top:4px}.table-side .player-reserve{width:var(--pile-width);z-index:8;flex-direction:column;grid-area:1/1/-1;place-self:center;align-items:center;gap:20px;padding-bottom:16px;display:flex;position:relative;inset:auto}.pile-pair{align-items:end;gap:14px;display:flex}.match-table .player-reserve .nexus-emblem{width:64px;min-width:64px;height:74px;min-height:74px;box-shadow:none;background:0 0;border:0;border-radius:50%;justify-content:center;align-items:center;padding:0 5px 10px;display:flex}.player-reserve .ct-medallion{width:54px;height:60px}.player-reserve .ct-medallion b{font-size:30px}.player-reserve .damage-track{padding:3px 5px;bottom:0}.player-reserve .nexus-emblem.active-turn .ct-medallion{border-color:#ead1a1;box-shadow:0 0 18px #d7c29b60}.match-table .player-reserve .nexus-emblem.eligible{outline:2px solid #8ec7ad}.match-table .player-reserve .nexus-emblem.selected{outline:2px solid #f7d18c}.table-side .table-nexus-row{grid-column:2;align-items:center;gap:9px;min-height:0;margin:0;padding:6px;overflow:auto hidden}.table-side .enemy-nexus{grid-row:2}.table-side .own-nexus{grid-row:1}.match-table .table-side .permanent-card{aspect-ratio:5/7;width:auto;min-width:44px;height:100%;min-height:62px;max-height:148px}.permanent-card .card-motion>img{object-fit:contain}.table-side .enemy-sources{grid-area:1/2;width:100%;padding:4px;position:relative;inset:auto}.enemy-sources>div{flex-wrap:wrap;justify-content:center;gap:6px;max-height:80px;margin:0;display:flex;overflow:auto}.enemy-sources img{width:44px;height:62px;margin:0}.match-table .table-side .own-sources{background:0 0;border:0;border-radius:0;grid-area:3/2;width:100%;min-height:0;padding:0;position:relative;inset:auto;transform:translateY(10px)}.source-fan{width:100%;height:auto;max-height:var(--source-height);overscroll-behavior:contain;touch-action:pan-y;scrollbar-gutter:stable;flex-wrap:wrap;place-content:start center;align-items:start;gap:6px;min-height:58px;margin:0;padding:4px 5px 14px;display:flex;overflow:hidden auto}.match-table .own-sources .source-card{touch-action:pan-y;flex:0 0 54px;width:54px;height:72px;margin:0}.match-table .own-sources .source-card .card-state{font-size:8px;line-height:1.15;top:38%}.source-fan .generated-source{order:0}.source-empty{width:100%;padding:8px}.match-table .own-sources.drop-ready{background:#6a624250;border-radius:8px;outline:2px dashed #d7c29b}.match-table .table-side .table-action-tray{grid-area:2/2;width:max-content;min-width:0;max-width:100%;max-height:150px;margin:0;overflow:auto}.match-table .table-side .table-action-tray:not(.expanded){background:0 0;width:100%;padding:0}.match-table>.table-action-tray.expanded{z-index:30;background:#0b1423;grid-area:auto;width:max-content;min-width:0;max-width:calc(100% - 24px);max-height:calc(100dvh - 100px);margin:0;padding:12px 56px 12px 18px;position:absolute;top:50%;bottom:auto;left:50%;overflow:auto;transform:translate(-50%,-50%)}.match-table>.table-action-tray.sever-selection{grid-area:3/1/4/2;top:auto;bottom:0;transform:translate(-50%)}.match-table .sever-selection .counter-table-payment select{max-width:min(280px,65vw)}.match-table>.table-action-tray .cancel-selection{float:none;margin:0;position:absolute;top:4px;right:4px}.match-table>.table-action-tray .table-hint{padding-right:10px}.match-table>.table-card-preview,.match-table>.gated-card-details{z-index:50}.table-gate{grid-area:3/1}.table-hand{pointer-events:none;grid-area:5/1}.table-hand .hand-card{pointer-events:auto}.table-turn{top:50%;transform:translateY(-35%)}.match-table .latest-move{width:clamp(145px,13vw,220px);right:3%}.match-table .codex-pile{grid-row:auto;margin:0}.void-stack{position:relative}.match-table .void-pile{border:0;border-radius:5px;width:45px;min-width:45px;height:64px;margin:0;padding:0;box-shadow:2px 2px #6d7680,4px 4px #131923,6px 6px #4f5764}.void-pile img{object-fit:cover;width:100%;height:100%;display:block}.void-pile>span{color:#c4c9d4;padding-top:7px;font-size:9px;position:absolute;top:100%}.void-pile b{background:#101a2c;border:1px solid #a18a6870;border-radius:50%;min-width:24px;padding:3px;font-size:12px;position:absolute;top:-10px;right:-8px}.match-table .void-pile.empty{box-shadow:none;background:0 0;border:1px dashed #adb5c74d}.void-stack.open{z-index:45}.match-table .table-side:has(.void-stack.open){z-index:51}.void-browser{z-index:45;background:#0b1423f5;border:1px solid #d2ba88aa;border-radius:12px;flex-direction:column;width:min(900px,100vw - 24px);max-height:min(70dvh,620px);padding:10px 14px 14px;display:flex;position:fixed;box-shadow:0 12px 50px #000b}.void-browser header{flex-shrink:0;justify-content:space-between;align-items:center;display:flex}.void-browser header strong{color:#e2d0ad;font-size:14px}.void-browser header small{font-weight:400}.match-table .void-browser header button{background:0 0;border:0;min-width:44px;min-height:44px;padding:0;font-size:24px}.void-contents{align-items:start;gap:18px;min-height:0;display:flex}.void-preview{flex:0 0 190px}.void-preview img{border-radius:6px;width:100%;display:block}.void-fans{overscroll-behavior:contain;scrollbar-width:thin;flex:1;min-width:0;max-height:calc(min(70dvh,620px) - 80px);padding:0 7px;overflow:hidden auto}.void-fan{--card-width:88px;--step:min(60px,(100% - var(--card-width)) / max(1,var(--count) - 1));height:156px;margin-top:8px;position:relative}.match-table .void-card{left:calc(var(--index) * var(--step));width:var(--card-width);min-width:0;height:124px;min-height:0;transform:rotate(var(--angle));transform-origin:50% 100%;touch-action:pan-y;background:0 0;border:0;padding:0;transition:transform .16s;position:absolute;top:18px;box-shadow:0 4px 12px #0009}.void-card img{border-radius:5px;width:100%;height:100%;display:block}.match-table .void-card:hover,.match-table .void-card:focus-visible{z-index:2;outline-offset:2px;outline:2px solid #ebcc90;transform:translateY(-12px)rotate(0)}@media (width<=900px){.app-shell .match-table{--table-left:15px;--table-right:145px;--pile-width:104px}.table-side{column-gap:10px}.void-preview{flex-basis:155px}}@media (width<=600px) and (height>=501px){:is(.app-shell .match-table,.app-shell .match-table:has(.cast-actions input)){--hand-height:124px;--table-left:8px;--table-right:8px;--pile-width:96px;--source-height:96px;grid-template-rows:44px minmax(0,1fr) 68px minmax(0,1fr) var(--hand-height);min-height:500px}.table-side{gap:4px 10px}.opponent-side{padding-top:32px}.table-surface{inset:54px 8px calc(var(--hand-height) - 10px)}.table-side .player-reserve{gap:14px;padding-bottom:12px}.pile-pair{gap:8px}.match-table .player-reserve .nexus-emblem{width:58px;min-width:58px;height:66px;min-height:66px;padding-bottom:10px}.player-reserve .ct-medallion{width:44px;height:50px}.player-reserve .ct-medallion b{font-size:26px}.match-table .table-side .permanent-card{max-height:104px}.table-side .table-nexus-row{gap:8px;padding:5px}.enemy-sources>div{gap:4px;max-height:52px}.enemy-sources img{width:32px;height:44px}.source-fan{scrollbar-gutter:auto;gap:4px;min-height:48px;padding:3px 3px 10px}.match-table .own-sources .source-card{flex-basis:44px;width:44px;height:44px}.match-table .table-side .own-sources{transform:translateY(8px)}.table-action-tray .cast-actions,.table-action-tray .choice-actions{gap:4px}.match-table .table-side .table-action-tray button{min-height:44px}.table-turn{grid-area:3/1;grid-template-columns:1fr 1.5fr 1fr;place-self:center;gap:5px;width:calc(100% - 20px);display:grid;position:relative;top:auto;left:auto;right:auto;transform:none}.table-turn>strong{width:100%;padding-bottom:4px;position:absolute;bottom:100%}.table-counter-buttons{gap:4px}.match-table .turn-button,.match-table .replenish-button{min-height:44px}.table-gate{margin-left:0;transform:translateY(-88px)}.match-table .latest-move{width:calc(100% - 126px);max-height:46px;padding:5px 7px;font-size:9px;top:48px;left:auto;right:10px}.latest-move>span:nth-of-type(n+2){display:none}.match-table .void-pile{width:44px;min-width:44px;height:44px}.void-preview{display:none}.void-contents{display:block}.void-browser{padding:6px 8px 10px}.void-fan{height:150px}}@media (width<=600px) and (height<=750px) and (height>=501px){.app-shell .match-table{--hand-height:100px;--source-height:50px}.match-table .table-side .permanent-card{min-height:44px}}@media (width<=375px) and (height<=750px) and (height>=501px){.table-action-tray .cast-actions{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.match-table .cast-actions button{width:100%;min-width:0;padding:4px}.match-table .cancel-selection{margin:0;position:absolute;top:0;right:0}.match-table .table-hint{padding-right:40px;font-size:9px}}@media (height<=600px) and (width>=601px){.app-shell .match-table{--hand-height:66px;--source-height:48px;--table-left:12px;--table-right:148px;--pile-width:100px;grid-template-rows:36px minmax(0,1fr) 16px minmax(0,1fr) var(--hand-height);min-height:320px}.table-side{gap:3px 8px}.opponent-side{padding-top:8px}.own-side{padding-top:0}.table-side .player-reserve{align-self:start;gap:4px;padding:0}.pile-pair{gap:8px}.match-table .player-reserve .nexus-emblem{width:50px;min-width:50px;height:50px;min-height:50px;padding-bottom:6px}.player-reserve .ct-medallion{width:36px;height:40px}.player-reserve .ct-medallion b{font-size:23px}.damage-track i{width:4px;height:4px}.table-side .table-nexus-row{padding:3px}.match-table .table-side .permanent-card{min-height:44px;max-height:72px}.enemy-sources>div{gap:4px;max-height:36px}.enemy-sources img{width:25px;height:35px}.match-table .own-sources .source-card{flex-basis:44px;width:44px;height:44px}.source-fan{gap:4px;min-height:44px;padding:2px 3px}.match-table .table-side .own-sources{transform:translateY(4px)}.match-table .player-reserve .void-pile,.match-table .player-reserve .codex-pile{width:44px;min-width:44px;height:44px}.zone-pile img{height:44px}.table-turn{top:48%;transform:translateY(-30%)}.table-hand-rail{padding-top:4px}.void-preview{flex-basis:110px}.void-browser{max-height:calc(100dvh - 24px)}.void-fans{max-height:calc(100dvh - 95px)}}:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;color:#e9e7e4;font-synthesis:none;background:#000;font-family:ui-sans-serif,system-ui,sans-serif}*{box-sizing:border-box}body{background:#000;min-width:280px;min-height:100svh;margin:0}main{max-width:1440px;min-height:100svh;padding:max(24px, env(safe-area-inset-top)) clamp(20px, 6vw, 88px) max(24px, env(safe-area-inset-bottom));flex-direction:column;margin:auto;display:flex}header,footer{justify-content:space-between;align-items:center;gap:20px;display:flex}.wordmark{letter-spacing:.22em;font-family:Georgia,serif;font-size:22px}.version,.eyebrow{text-transform:uppercase;letter-spacing:.2em;color:#c9bca5;font-size:11px}.intro{flex:1;max-width:710px;padding:clamp(64px,12vh,140px) 0}h1{letter-spacing:-.045em;margin:24px 0;font-family:Georgia,serif;font-size:clamp(48px,7.5vw,100px);font-weight:400;line-height:1.06}h1 em{color:#cdbca3;font-weight:400}.description{color:#bfc1c8;max-width:390px;font-size:clamp(15px,2vw,18px);line-height:1.7}.development{background:#11141dcc;border:1px solid #f0dbb227;border-radius:3px;gap:15px;max-width:470px;margin-top:54px;padding:22px;display:flex}.development strong{font-size:13px;font-weight:500}.development p{color:#999da8;margin:9px 0 0;font-size:12px;line-height:1.65}.status-dot{background:#c7ae84;border-radius:50%;flex:0 0 6px;height:6px;margin-top:7px}footer{color:#7f8493;border-top:1px solid #ffffff14;flex-wrap:wrap;padding-top:23px;font-size:11px;line-height:1.7}.visual-study{width:clamp(260px,38vw,540px);position:absolute;top:50%;right:clamp(10px,4vw,60px);transform:translateY(-50%)}.gate-view{aspect-ratio:1;isolation:isolate;pointer-events:none;width:100%;position:relative}.gate-art{width:100%;height:100%;display:block;position:absolute;inset:0;overflow:visible}.gate-band{fill:#fff}.gate-edge{transform-box:view-box;transform-origin:300px 300px}.gate-edge-outer{animation:13s linear infinite gate-outer-spin}.gate-edge-inner{animation:9s linear infinite gate-inner-spin}.gate-card-layer{z-index:2;aspect-ratio:5/7;width:27%;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.gate-card-layer img{object-fit:contain;border-radius:4.5%;width:100%;height:100%;display:block;box-shadow:0 18px 46px #000b}.gate-view[data-phase=hidden]{opacity:0;visibility:hidden}.gate-view[data-phase=opening]{animation:.7s ease-out both gate-appear}.gate-view[data-phase=opening] .gate-card-layer{animation:.7s ease-out both card-manifest}.gate-view[data-phase=resolving],.gate-view[data-phase=negated]{animation:.52s ease-in both gate-close}.gate-view[data-phase=resolving] .gate-card-layer,.gate-view[data-phase=negated] .gate-card-layer{animation:.52s ease-in both card-resolve}.motion-toggle{z-index:3;color:#e9e7e4;cursor:pointer;background:#080b13dd;border:1px solid #ffffff36;border-radius:999px;min-width:44px;min-height:44px;margin:-42px auto 0;padding:10px 16px;display:block;position:relative}.motion-toggle:focus-visible{outline-offset:3px;outline:3px solid #fff}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@keyframes gate-outer-spin{to{transform:rotate(360deg)}}@keyframes gate-inner-spin{to{transform:rotate(-360deg)}}@keyframes gate-appear{0%{opacity:0;transform:scale(.88)}to{opacity:1;transform:scale(1)}}@keyframes gate-close{0%{opacity:1}to{opacity:0}}@keyframes card-manifest{0%,28%{opacity:0;transform:translateY(5%)scale(.94)}to{opacity:1;transform:none}}@keyframes card-resolve{to{opacity:0;transform:translateY(-6%)scale(1.03)}}.gate-view[data-motion=off] *,.gate-view[data-motion=off]{transition:none!important;animation:none!important}.gate-view[data-paused=true],.gate-view[data-paused=true] *{animation-play-state:paused!important}@media (prefers-reduced-motion:reduce){.gate-view *,.gate-view{transition:none!important;animation:none!important}}@media (width<=760px){.intro{padding-top:54px;padding-bottom:360px}.visual-study{width:min(92vw,390px);top:auto;bottom:58px;right:50%;transform:translate(50%)}}@media (width<=400px){.version{font-size:9px}.wordmark{font-size:18px}.development{padding:16px}}.app-shell{width:min(100%,1440px);padding:max(16px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));overflow-wrap:anywhere;margin:auto}.app-shell main{max-width:none;min-height:0;padding:0;display:block}.app-shell h1{letter-spacing:-.03em;margin:0 0 20px;font-family:Georgia,serif;font-size:clamp(2rem,4vw,3.7rem);font-weight:400;line-height:1.13}.app-shell h2{margin:0 0 14px;font-size:1.18rem;font-weight:550}.app-shell h3{margin:22px 0 10px;font-size:1.05rem}.app-shell h4{margin:0 0 6px;font-size:1rem}.app-shell p{margin:10px 0 16px;line-height:1.6}.app-shell button,.app-shell select,.app-shell summary{font:inherit;-webkit-tap-highlight-color:transparent;min-width:44px;min-height:44px}.app-shell button,.app-shell select{color:#f0eeeb;cursor:pointer;background:#202631;border:1px solid #626773;border-radius:6px;padding:11px 16px}.app-shell button{line-height:1.35}.app-shell button:hover{background:#2b3240}.app-shell button:disabled{opacity:.55;cursor:not-allowed}.app-shell button[aria-pressed=true]{background:#d8c5a31c;border-color:#d8c5a3}.app-shell .primary{color:#15151a;background:#dac4a0;border-color:#dac4a0;justify-content:space-between;align-items:center;gap:26px;font-weight:650;display:inline-flex}.app-shell .primary:hover{background:#eedcbd}.app-shell .quiet{background:#0d111aca}.app-shell .text-action{color:#e3ccaa;text-align:left;text-underline-offset:4px;background:0 0;border-color:#0000;padding:9px 0;text-decoration:underline}.app-shell :is(button,select,summary,a):focus-visible{outline-offset:3px;outline:3px solid #f1d59f}.app-shell :is(h1,main)[tabindex]:focus{outline:none}.app-shell summary{cursor:pointer;padding:12px 6px;line-height:1.4}.app-shell .muted,.zone-note,.format-label{color:#bdc0ca;font-size:.875rem}.app-shell .eyebrow{color:#dcc7a5;letter-spacing:.13em;margin:0 0 12px;font-size:.6875rem}.app-shell img{max-width:100%}.app-header{gap:12px;padding:0 0 16px}.app-shell .wordmark{color:#f1ebe1;letter-spacing:.22em;background:0 0;border:0;padding:4px 0;font-family:Georgia,serif;font-size:22px}.header-tools{align-items:center;gap:20px;display:flex}.app-shell .motion-control{font-size:.8125rem}.development-banner{color:#c2c2cc;border-block:1px solid #d9c39e38;align-items:start;gap:12px;padding:12px 0;font-size:.8125rem;line-height:1.5;display:flex}.development-banner strong{color:#ead9bb;font-weight:550}.development-banner .status-dot{margin-top:6px}.home-grid{grid-template-columns:1.1fr 1fr;align-items:center;gap:16px;min-height:calc(100svh - 225px);display:grid}.home-copy{padding:50px 0}.home-copy h1{margin-bottom:24px;font-size:clamp(3.3rem,7vw,6.6rem)}.home-copy .lede{color:#d0cdd0;margin:22px 0 30px;font-size:1.125rem}.home-copy .muted{max-width:370px;margin-top:20px}.home-copy .later{color:#d0c5b5;margin-top:30px;font-size:.875rem}.later span{color:#b5b7c1;font-size:.8125rem}.home-gate{text-align:center;width:100%;margin:0}.home-gate figcaption{color:#b8bac6;font-size:.75rem}.page-heading,.board-heading{justify-content:space-between;align-items:center;gap:18px;margin:30px 0 24px;display:flex}.page-heading h1,.board-heading h1{margin:0}.format-label{text-align:right;flex:0 0 230px;line-height:1.6}.panel{background:#10151fe8;border:1px solid #c6ccd329;border-radius:10px;min-width:0;padding:22px}.setup-grid{grid-template-columns:minmax(0,1fr) minmax(0,.9fr);align-items:start;gap:24px;display:grid}.starter-options{gap:16px;display:grid}.starter-option.selected{border-color:#c5ab7f}.starter-option h3{margin:0 0 14px;font-family:Georgia,serif;font-size:1.45rem;font-weight:400}.starter-option p,.starter-guide p,.augmentation-choice p{color:#cbd0d9;font-size:.9375rem}.button-row{flex-wrap:wrap;gap:8px;display:flex}.button-row button{font-size:.875rem}.augmentation-choice{margin-top:24px}.augmentation-choice label{margin:20px 0 8px;font-size:.875rem;display:block}.augmentation-choice select{width:100%;max-width:100%}.augmentation-help{border-top:1px solid #ffffff24;margin-top:20px}.starter-guide h2{font-family:Georgia,serif;font-size:1.8rem;font-weight:400}.key-card{border-bottom:1px solid #ffffff20;grid-template-columns:86px minmax(0,1fr);gap:18px;padding:18px 0;display:grid}.key-card p{margin:0}.app-shell .mini-art{background:0 0;border:0;border-radius:6px;align-self:start;padding:0;overflow:hidden}.mini-art img{width:86px;display:block}.deck-list{border-top:1px solid #ffffff24;margin-top:20px}.deck-list ul{margin:0;padding:0;list-style:none}.deck-list button{text-align:left;background:0 0;border:0;border-bottom:1px solid #ffffff24;border-radius:0;justify-content:space-between;align-items:center;gap:8px;width:100%;padding:12px 6px;font-size:.875rem;display:flex}.deck-list .muted{text-align:right;font-size:.75rem}.setup-summary{justify-content:space-between;align-items:center;gap:20px;margin-top:24px;display:flex}.setup-summary p{margin:6px 0;font-size:.875rem}.setup-summary .primary{flex-shrink:0}.board-heading h1{font-size:clamp(1.7rem,3vw,2.3rem)}.board-layout{grid-template-columns:minmax(0,1fr) 255px;align-items:start;gap:20px;display:grid}.battlefield{gap:14px;min-width:0;display:grid}.board-status{background:#111722;border:1px solid #cbb88f80;border-radius:10px;padding:18px;position:sticky;top:12px}.status-strip{gap:14px;display:grid}.status-strip div{min-width:0}.status-strip span{color:#b6c2d1;margin-bottom:5px;font-size:.75rem;display:block}.status-strip strong{font-size:.9375rem;font-weight:600;line-height:1.5;display:block}.status-strip small{color:#e0caaa;font-size:.8125rem;line-height:1.5;display:block}.status-strip .current-decision{color:#e0caaa;border-top:1px solid #ffffff25;margin:0;padding-top:10px;font-size:.8125rem;line-height:1.5}.app-shell .status-explanation{color:#b6c2d1;margin:16px 0 0;font-size:.8125rem}.zone-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.zone-heading h2{margin:0}.zone-heading button{font-size:.8125rem}.ct-label{color:#e1c593;font-size:1.125rem}.app-shell .zone-note{margin:10px 0;line-height:1.5}.nexus-row{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:18px;display:grid}.card-rail,.source-rail,.hand-rail{overscroll-behavior-x:contain;scrollbar-color:#9d8a70 #161d28;scrollbar-width:thin;gap:10px;min-width:0;padding:4px 4px 12px;scroll-padding:6px;display:flex;overflow-x:auto}.app-shell .board-card{text-align:left;background:#19212cf0;border-color:#566171;flex-direction:column;flex:0 0 116px;gap:5px;width:116px;padding:7px;display:flex}.board-card img{aspect-ratio:5/7;object-fit:contain;border-radius:4px;width:100%;display:block}.board-card strong{font-size:.8125rem;font-weight:600}.board-card :is(strong,span,small){overflow-wrap:anywhere}.board-card span,.board-card small{color:#cbd3dd;font-size:.6875rem;line-height:1.5}.app-shell .face-down{flex-basis:85px;width:85px}.face-down strong{font-size:.6875rem}.sources-group{border-left:1px solid #ffffff24;min-width:0;padding-left:16px}.sources-group summary{color:#ddd1bd;font-size:.875rem}.zone-counts{flex-wrap:wrap;gap:8px;margin-top:8px;display:flex}.zone-counts button{padding-inline:12px;font-size:.8125rem}.zone-counts strong{color:#e1c593;padding-left:5px}.board-gate{grid-template-columns:minmax(180px,.85fr) minmax(0,1.15fr);align-items:center;gap:18px;display:grid}.gate-visual{width:100%;min-width:0;max-width:310px;margin:auto}.gate-info p{color:#c3cad4;font-size:.875rem}.badge{color:#e0cfaf;vertical-align:middle;background:#d7c7a51c;border:1px solid #d7c7a535;border-radius:5px;margin-left:6px;padding:3px 8px;font:500 .75rem ui-sans-serif,system-ui,sans-serif;display:inline-block}.pending-entries{gap:8px;margin:14px 0;padding:0;list-style:none;display:grid}.pending-entries button{text-align:left;flex-direction:column;gap:3px;width:100%;font-size:.875rem;display:flex}.pending-entries small{color:#c6c9d1;font-size:.75rem}.gate-info>button{font-size:.875rem}.counter-controls{margin-top:12px}.counter-buttons{gap:8px;display:flex}.counter-buttons>button{flex:1;min-width:44px;min-height:44px}.counter-button[aria-disabled=true]{opacity:.55;cursor:default}.app-shell .counter-button.available{color:#fff6df;background:#493c27;border-color:#edd7a5;box-shadow:0 0 0 1px #edd7a577}.counter-payment{border-top:1px solid #fff3;margin-top:12px;padding-top:12px}.counter-payment select{width:100%;min-height:44px;margin-top:5px;display:block}.counter-payment fieldset{border:1px solid #fff3;margin:12px 0;padding:8px}.counter-payment fieldset label{align-items:center;gap:8px;min-height:44px;display:flex}.counter-payment input{flex:0 0 20px;width:20px;height:20px}.history{padding-block:6px}.history p{color:#bec6d4;font-size:.875rem}.app-shell .hand-rail .board-card{flex-basis:136px;width:136px}.app-footer{color:#b1b5c1;border-top:1px solid #ffffff24;flex-wrap:wrap;justify-content:space-between;margin-top:32px;padding-top:20px;font-size:.75rem;line-height:1.6;display:flex}.empty{margin:40px 0}.lobby{max-width:760px;margin:34px auto}.lobby>label,.invite-box label{color:#d6c7ae;margin:18px 0 7px;display:block}.lobby input{color:#f0eeeb;width:100%;min-height:44px;font:inherit;background:#090e16;border:1px solid #626773;border-radius:6px;padding:10px 12px}.lobby .button-row{margin-top:22px}.seat-list{gap:10px;padding:0;list-style:none;display:grid}.seat-list li{border:1px solid #ffffff25;border-radius:7px;grid-template-columns:90px minmax(0,1fr) auto;gap:12px;padding:15px;display:grid}.seat-list span:last-child{color:#d9c39e}.invite-box{background:#090e16;border-radius:7px;padding:14px}.invite-box button{margin-top:8px}.boundary{background:#d4bc8b0b;border-left:3px solid #c5ab7f;padding:12px 15px}@media (width<=580px){.seat-list li{grid-template-columns:1fr;gap:4px}.lobby .button-row button{width:100%}}.skip-link{z-index:100;color:#111;background:#eee;min-height:44px;padding:12px;position:fixed;top:-100px;left:20px}.skip-link:focus{top:10px}.inspector{color:#eeeef1;background:#101722;border:1px solid #c7b99c99;border-radius:12px;width:min(960px,100% - 24px);max-width:none;max-height:calc(100dvh - 24px);margin:auto;padding:0}.inspector[open]{flex-direction:column;display:flex}.inspector::backdrop{background:#02050bce}body:has(.inspector[open]){overflow:hidden}.inspector-heading{border-bottom:1px solid #ffffff25;flex-shrink:0;justify-content:space-between;align-items:center;gap:16px;padding:18px 24px;display:flex}.inspector-heading h2{margin:0;font:400 1.8rem Georgia,serif}.inspector-heading .eyebrow{margin-bottom:6px}.inspector-heading button{flex-shrink:0}.inspector-heading>div{overflow-wrap:anywhere;min-width:0}.inspector-body{overscroll-behavior:contain;min-height:0;padding:24px;overflow-y:auto}.inspection-grid{grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);align-items:start;gap:28px;display:grid}.inspection-art{margin:0}.inspection-art img{border-radius:7px;width:100%;display:block}.inspection-art figcaption{color:#b7becc;margin-top:12px;font-size:.75rem;line-height:1.6}.effective-rules h3:first-of-type{margin-top:0}.effective-rules p{font-size:1rem}.availability{color:#e6cba3;background:#d4bc8b0b;border-left:2px solid #c4a16d;padding:10px 14px}.provenance{overflow-wrap:anywhere;border-top:1px solid #ffffff25}.provenance p,.provenance small{color:#b8c1cf;font-size:.875rem}.instance-status{border-block:1px solid #ffffff20}.hidden-inspection{grid-template-columns:180px minmax(0,1fr);align-items:start;gap:28px;display:grid}.hidden-inspection img{width:180px}.status-strip.compact{background:#172130;border-bottom:1px solid #cbb88f55;flex-shrink:0;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px 16px;max-height:40dvh;padding:12px 24px;overflow-y:auto}.compact.status-strip strong{font-size:.8125rem}.compact.status-strip .current-decision{grid-column:1/-1;padding-top:6px;font-size:.75rem}@media (width<=1000px),(height<=500px){.board-layout{display:block}.board-status{inset:auto max(8px,env(safe-area-inset-right)) max(4px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));z-index:10;border-radius:10px;max-height:45dvh;padding:10px 14px;position:fixed;overflow-y:auto;box-shadow:0 -6px 30px #0008}.board-status .status-strip{grid-template-columns:1fr 1fr;gap:6px 14px}.board-status .status-strip strong{font-size:.8125rem}.board-status .status-strip span{margin-bottom:2px;font-size:.6875rem}.board-status .current-decision{grid-column:1/-1;padding-top:6px;font-size:.6875rem}.board-status .status-explanation{display:none}.app-shell:has(.board-layout){padding-bottom:210px}}@media (width<=760px){.app-shell{padding-inline:max(16px, env(safe-area-inset-left))}.home-grid{grid-template-columns:minmax(0,1fr);gap:0}.home-copy{padding:40px 0 10px}.home-copy h1{font-size:clamp(3rem,11vw,4.5rem)}.home-gate{max-width:420px;margin:auto}.setup-grid{grid-template-columns:minmax(0,1fr);gap:20px}.page-heading{display:block}.format-label{text-align:left;margin-top:16px;display:block}.setup-summary{flex-direction:column;align-items:stretch}.setup-summary .primary{gap:8px;width:100%}.header-tools{gap:8px}.version{display:none}.board-heading{flex-direction:column;align-items:start}}@media (width<=580px){.app-shell{padding-inline:max(12px, env(safe-area-inset-left))}.panel{padding:16px}.nexus-row{grid-template-columns:minmax(0,1fr);gap:8px}.sources-group{border-top:1px solid #ffffff20;border-left:0;padding-left:0}.board-gate{grid-template-columns:minmax(0,1fr);gap:0}.gate-visual{max-width:235px}.key-card{grid-template-columns:64px minmax(0,1fr);gap:12px}.inspector{width:calc(100% - 12px);max-height:calc(100dvh - 12px)}.inspector-heading{gap:8px;padding:12px}.inspector-heading h2{font-size:1.45rem}.inspector-body{padding:16px}.inspection-grid,.hidden-inspection{grid-template-columns:minmax(0,1fr);gap:20px}.hidden-inspection img{width:130px;margin:auto}.status-strip.compact{grid-template-columns:1fr 1fr;gap:5px 10px;padding:10px 12px}.compact.status-strip span{margin-bottom:2px;font-size:.6875rem}.compact.status-strip strong,.compact.status-strip small{font-size:.75rem}.compact.status-strip .current-decision{font-size:.6875rem}}@media (width>=701px) and (height<=500px){.board-status .status-strip{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px 16px}.board-gate{grid-template-columns:minmax(140px,.8fr) minmax(0,1.2fr)}.nexus-row{grid-template-columns:minmax(0,1fr)}.sources-group{border-left:0;padding-left:0}.inspector-heading{padding-block:10px}.status-strip.compact{padding-block:6px}}@media (prefers-reduced-motion:reduce){.app-shell *{scroll-behavior:auto!important}}.deck-entry,.deck-builder{max-width:1500px;margin:auto;padding:clamp(1rem,3vw,2rem)}.entry-actions{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1rem;display:grid}.draft-choice{justify-content:space-between;width:100%;margin:.5rem 0;display:flex}.deck-toolbar{z-index:4;background:#10121def;border:1px solid #fff2;flex-wrap:wrap;align-items:end;gap:.75rem;padding:.75rem;display:flex;position:sticky;top:0}.deck-toolbar label{flex:1;gap:.25rem;min-width:180px;display:grid}.validation-summary{font-weight:700}.validation-valid{color:#9ee6b0}.deck-columns{grid-template-columns:minmax(0,3fr) minmax(300px,2fr);gap:1rem;margin-top:1rem;display:grid}.card-browser,.deck-panel{background:#10121dcc;border:1px solid #fff2;min-width:0;padding:1rem}.filters{flex-wrap:wrap;gap:.5rem;display:flex}.filters input{flex:1;min-width:180px}.catalog-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:.75rem;margin-top:1rem;display:grid}.catalog-card{background:#090b14;flex-direction:column;gap:.5rem;padding:.5rem;display:flex}.card-inspect{text-align:left;height:auto;padding:0}.card-inspect img{width:100%;display:block}.card-inspect span{padding:.4rem;display:grid}.catalog-list .catalog-card{grid-template-columns:1fr auto;margin:.35rem 0;display:grid}.deck-row{border-bottom:1px solid #ffffff18;justify-content:space-between;gap:.5rem;display:flex}.deck-row button:first-child{text-align:left;flex:1}.preview-hand{grid-template-columns:repeat(3,1fr);gap:.3rem;margin-top:.5rem;display:grid}.preview-hand img{width:100%}.deck-panel textarea{width:100%;min-height:120px}.deck-tabs{display:none}.save-failed,.save-conflict,.validation-note{color:#ffb4a8}.save-saving{color:#ffe18a}.save-saved{color:#9ee6b0}.danger-row{justify-content:space-between;margin-top:1rem;display:flex}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-offset:2px;outline:3px solid #fff}@media (width<=700px){.deck-tabs{z-index:3;display:flex;position:sticky;top:76px}.deck-tabs button{flex:1}.deck-columns{display:block}.phone-hidden{display:none}.deck-toolbar{top:0}.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.deck-builder button,.deck-builder input,.deck-builder select{min-height:44px}.deck-entry{padding:.75rem}}.live-board{padding-bottom:190px}.live-match-heading{justify-content:space-between;align-items:start;gap:1rem;display:flex}.connection-state{border:1px solid #fff3;border-radius:999px;padding:.4rem .7rem}.connection-state.open{color:#9ee6b0}.connection-state.closed,.live-error{color:#ffb4a8}.live-board-grid{gap:1rem;display:grid}.live-player,.live-hand{min-width:0}.live-card-row{gap:.55rem;padding:.4rem 0 1rem;list-style:none;display:flex;overflow-x:auto}.live-card{flex:0 0 116px;gap:.25rem;display:grid}.live-card img{aspect-ratio:63/88;object-fit:cover;border-radius:6px;width:116px}.live-card small{color:#bdc0ca}.live-gate{grid-template-columns:minmax(220px,420px) 1fr;align-items:center;display:grid}.live-gate .gate-view{min-height:260px}.live-actions{z-index:8;left:max(12px,env(safe-area-inset-left));right:max(12px,env(safe-area-inset-right));bottom:max(8px,env(safe-area-inset-bottom));background:#090b14f5;border:1px solid #fff3;border-radius:10px;max-width:1380px;margin:auto;padding:.7rem;position:fixed;box-shadow:0 -8px 32px #0009}.live-actions>p{margin:.2rem 1rem .4rem 0;display:inline-block}.live-primary-actions,.counter-buttons{flex-wrap:wrap;gap:.5rem;display:flex}.counter-controls{gap:.5rem;display:grid}.counter-payment{grid-template-columns:minmax(160px,1fr) minmax(220px,2fr) auto;align-items:end;gap:.6rem;display:grid}.counter-payment label,.counter-payment fieldset{gap:.3rem;display:grid}.counter-payment fieldset{max-height:130px;overflow:auto}.counter-button.available{border-color:#f1d59f;box-shadow:0 0 0 2px #f1d59f44}.pending-choice{color:#ffe18a}.danger{border-color:#a85656!important}@media (width<=700px){.app-shell{padding-left:12px;padding-right:12px}.live-board{padding-bottom:290px}.live-gate{grid-template-columns:1fr}.live-gate .gate-view{min-height:210px}.live-actions{max-height:275px;overflow:auto}.counter-payment{grid-template-columns:1fr}.live-card{flex-basis:96px}.live-card img{width:96px}.live-match-heading h1{font-size:2rem}}.gameplay-controls{gap:.8rem;min-width:0;display:grid}.gameplay-controls fieldset,.gameplay-controls details{border:1px solid #ffffff30;border-radius:.6rem;min-width:0;padding:.8rem}.gameplay-controls label{align-items:center;gap:.5rem;min-height:44px;display:flex}.gameplay-controls button{min-height:44px;margin:.2rem}.gameplay-buttons{flex-wrap:wrap;gap:.4rem;display:flex}.gameplay-controls summary{cursor:pointer;align-items:center;min-height:44px;display:flex}.connection-state{white-space:nowrap;flex-shrink:0}.live-actions{max-height:45vh;overflow-y:auto}.gameplay-controls select{min-width:0;max-width:100%}@media (width<=700px){.live-match-heading{flex-wrap:wrap}.live-actions{max-height:38vh}}.account{max-width:46rem;margin-inline:auto}.account form{gap:1rem;margin-block:1.5rem;display:grid}.account label{gap:.5rem;display:grid}.account .account-check{align-items:center;gap:.75rem;margin-block:1.25rem;display:flex}.account-check input{width:1.4rem;min-width:1.4rem;height:1.4rem}.account .button-row{margin-block:1rem}.account li{margin-block:.75rem}.owner-link{min-height:44px;color:var(--gold,#dfcba4);border:1px solid #777b86;border-radius:6px;justify-content:center;align-items:center;padding:.65rem 1rem;text-decoration:none;display:inline-flex}.account-unavailable,.admin-notice{border-left:3px solid #dfcba4;padding:1rem}.project-admin{max-width:78rem;margin-inline:auto}.project-admin>.panel{margin-block:1rem}.admin-tabs{flex-wrap:wrap;margin-block:1rem}.admin-tabs [aria-pressed=true]{color:#dfcba4;border-color:#dfcba4}.admin-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;display:grid}.admin-stats strong{font-size:2rem;display:block}.admin-stats span{display:block}.admin-row{overflow-wrap:anywhere;border-top:1px solid #404753;padding-block:1rem}.admin-row p{margin-block:.4rem}.admin-account-summary{justify-content:space-between;align-items:center;gap:1rem;display:flex}.admin-search{flex-wrap:wrap;align-items:end;gap:1rem;display:flex}.project-admin label{gap:.4rem;display:grid}.project-admin input,.project-admin select,.project-admin textarea{max-width:100%;min-height:44px;padding:.6rem}.admin-account-form{gap:1rem;max-width:36rem;margin-top:1.2rem;display:grid}.admin-compose{grid-template-columns:1fr 1fr;gap:1.5rem;display:grid}.admin-compose form{gap:1rem;display:grid}.admin-compose textarea{resize:vertical;width:100%;font:inherit}.admin-email-preview{color:#161b23;overflow-wrap:anywhere;background:#fff;border-radius:.4rem;padding:1.2rem}.admin-email-preview p{white-space:pre-wrap}.admin-send{margin-top:1.5rem}.project-admin .admin-check{align-items:center;gap:.7rem;margin-block:1rem;display:flex}.admin-check input{width:1.4rem;min-width:1.4rem}@media (width<=700px){.admin-stats{grid-template-columns:1fr 1fr;gap:.5rem}.admin-compose{grid-template-columns:1fr}.project-admin>.board-heading{flex-wrap:wrap;align-items:start}.admin-search{display:grid}.admin-account-summary{align-items:start}}.saved-deck-choice{margin-block:1rem}.saved-deck-choice select{max-width:100%}.match-support{grid-column:1/-1;min-width:0;margin-top:1rem}.match-support summary{cursor:pointer;min-height:44px;padding-block:.6rem}.match-support form,.match-support label{gap:.7rem;display:grid}.match-support form{margin-block:1rem}.match-support textarea,.match-support select{width:100%;max-width:100%}.match-support textarea{font:inherit;color:inherit;background:#090b14;border:1px solid #fff5;border-radius:.4rem;padding:.7rem}.match-support li,.match-support dd{margin-bottom:.75rem}.match-support dt{font-weight:700}.learning-backdrop{z-index:50;padding:max(1rem, env(safe-area-inset-top)) 1rem max(1rem, env(safe-area-inset-bottom));background:#02040bd9;place-items:center;display:grid;position:fixed;inset:0}.learning-dialog{background:#0b0e18;border:1px solid #d9c39e55;border-radius:.75rem;width:min(46rem,100%);max-height:100%;padding:clamp(1rem,4vw,2rem);position:relative;overflow:auto;box-shadow:0 1.5rem 5rem #000}.learning-close{float:right;z-index:1;min-width:44px;min-height:44px;font-size:1.5rem;position:sticky;top:0}.learning-guide ol{padding-left:1.4rem}.learning-guide li,.learning-guide dd{margin-bottom:.7rem;line-height:1.5}.learning-guide dt{color:#ead9bb;font-weight:700}.learning-guide.compact>ol{margin-top:.5rem}.button-link{color:#ead9bb;align-items:center;min-height:44px;display:inline-flex}.app-header{flex-wrap:wrap}.development-banner[hidden]{display:none}.live-board .live-match-heading h1{margin-bottom:.8rem;font-size:clamp(1.65rem,2.6vw,2.4rem)}.live-board .panel{padding:1rem}.live-board .panel h2{margin-bottom:.4rem}.live-board .panel p{margin:.3rem 0 .65rem;font-size:.85rem}.live-card-row{align-items:start;margin:.5rem 0 0}.live-card{flex-basis:100px;font-size:.8rem}.live-card img{width:100px}.live-card.face-down{flex-basis:60px;width:60px}.live-card.face-down img{width:60px}.live-card .quiet{padding:.5rem .25rem}.live-gate{grid-template-columns:minmax(100px,190px) minmax(0,1fr)}.live-gate .gate-view{max-width:190px;min-height:0}.live-gate:has(.gate-view[data-phase=hidden]){grid-template-columns:1fr}.live-gate .gate-view[data-phase=hidden]{display:none}.live-gate ol{margin:.3rem 0;padding-left:1rem}.live-board[data-complete=true]{padding-bottom:0}@media (width>=1050px){.live-board{grid-template-columns:minmax(0,1fr) 330px;align-items:start;gap:1rem;padding-bottom:0;display:grid}.live-match-heading,.live-error,.match-result{grid-column:1/-1}.live-board-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}.live-player.opponent{grid-area:1/1}.live-player:not(.opponent){grid-area:1/2}.live-gate{grid-area:2/1/auto/-1}.live-hand{grid-area:3/1/auto/-1}.live-actions{width:100%;max-height:calc(100dvh - 2rem);margin:0;position:sticky;inset:1rem auto auto}.live-actions .counter-payment,.live-board[data-complete=true]{grid-template-columns:1fr}}@media (width<=700px){.live-gate{grid-template-columns:minmax(90px,140px) minmax(0,1fr)}.live-gate .gate-view{min-height:0}.live-actions{max-height:38dvh}.live-board:not([data-complete=true]){padding-bottom:40dvh}}.lobby .deck-picker{color:#dbc8a7;gap:10px;margin:24px 0 12px;display:grid}.deck-picker select{color:#f3f2ef;width:100%;max-width:100%}.room-actions{margin-top:24px}.display-settings{position:relative}.display-settings summary{cursor:pointer;padding:12px}.display-settings>.panel{z-index:30;color:#f3f2ef;width:min(320px,85vw);position:absolute;right:0}.display-settings label{align-items:center;gap:10px;display:flex}.display-settings input{width:auto}.display-settings p{color:#bdc4d0;font-size:.85rem}.display-settings .background-choice{flex-direction:column;align-items:stretch;margin-bottom:20px}.display-settings .background-choice select{width:100%}.table-dialog .display-settings>.panel{background:#10151f;width:100%;position:static}.waiting-board .live-player{min-height:150px}.waiting-board .invite-box{margin-bottom:0}.waiting-board .invite-box input{width:100%;font:inherit;color:#e4e8ef;background:#0a0e16;border:1px solid #ffffff35;border-radius:5px;margin:10px 0;padding:12px;display:block}
