:root{--ink:#f4efe1;--muted:#9b9a91;--night:#111512;--panel:#191e19;--line:#353b33;--acid:#d7ff3f;--ember:#ff6f44;--paper:#e9e0c9}*{box-sizing:border-box}.sr-only{clip:rect(0, 0, 0, 0)!important;white-space:nowrap!important;border:0!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;position:absolute!important;overflow:hidden!important}.game-tooltip-anchor{cursor:help;outline:none;align-items:center;display:inline-flex;position:relative}.game-tooltip-anchor:focus-visible{box-shadow:0 0 0 2px var(--acid);border-radius:3px}.game-tooltip-anchor.rule-keyword{color:inherit;line-height:inherit;border-bottom:1px dotted;display:inline}.rule-keyword>span{display:inline}.game-tooltip-panel{z-index:1000;color:#ece8dc;border:1px solid #7d866f;border-left:4px solid var(--acid);pointer-events:none;background:linear-gradient(145deg,#20261f,#121612);width:min(286px,100vw - 24px);padding:14px 15px 13px;animation:.12s ease-out both tooltip-enter;display:block;position:fixed;box-shadow:0 18px 48px #000c,inset 0 0 0 1px #ffffff08}.game-tooltip-panel:after{content:"";background:#171c17;border:solid #7d866f;width:10px;height:10px;position:absolute;left:50%;transform:translate(-50%)rotate(45deg)}.game-tooltip-panel.tooltip-above{transform:translateY(-100%)}.game-tooltip-panel.tooltip-above:after{border-width:0 1px 1px 0;bottom:-6px}.game-tooltip-panel.tooltip-below:after{border-width:1px 0 0 1px;top:-6px}.game-tooltip-panel strong,.game-tooltip-panel>span,.game-tooltip-panel small{display:block}.game-tooltip-panel strong{color:var(--acid);letter-spacing:.08em;margin-bottom:7px;font:800 12px ui-monospace,monospace}.game-tooltip-panel>span{font-size:11px;line-height:1.65}.game-tooltip-panel small{color:#aaa99f;border-top:1px solid #ffffff14;margin-top:8px;padding-top:8px;font-size:9px;line-height:1.6}@keyframes tooltip-enter{0%{opacity:0}to{opacity:1}}html{background:var(--night)}body{color:var(--ink);background:linear-gradient(90deg,#0000 49.8%,#ffffff08 50%,#0000 50.2%),radial-gradient(circle at 72% 35%,#3b4928 0,#0000 34%),#111512;margin:0;font-family:Inter,Noto Sans SC,Microsoft YaHei,sans-serif}.entry-shell{min-height:100vh;padding:34px clamp(22px,5vw,72px) 28px;position:relative;overflow:hidden}.ambient{filter:blur(1px);opacity:.45;border-radius:50%;position:absolute}.ambient-one{border:1px solid #d7ff3f66;width:420px;height:420px;top:-190px;right:-190px}.ambient-two{background:#ff6f4412;border:1px solid #ff6f4444;width:210px;height:210px;bottom:40px;left:-120px}.brand-bar{z-index:2;align-items:center;gap:14px;display:flex;position:relative}.brand-mark{width:48px;height:48px;color:var(--night);background:var(--acid);place-items:center;font:900 15px/1 ui-monospace,monospace;display:grid;transform:rotate(-3deg)}.brand-bar h1{letter-spacing:.12em;margin:2px 0 0;font-size:22px}.eyebrow,.kicker{color:var(--muted);letter-spacing:.18em;margin:0;font:700 10px/1.2 ui-monospace,monospace}.server-pill{border:1px solid var(--line);color:var(--muted);margin-left:auto;padding:8px 12px;font:600 11px ui-monospace,monospace}.server-pill i,.connection-note i{background:var(--acid);border-radius:50%;width:7px;height:7px;margin-right:7px;display:inline-block;box-shadow:0 0 12px #d7ff3f}.entry-grid{z-index:1;grid-template-columns:minmax(0,1.35fr) minmax(360px,.65fr);align-items:center;gap:clamp(30px,6vw,90px);min-height:calc(100vh - 170px);display:grid;position:relative}.hero-panel{align-items:center;min-height:530px;display:flex;position:relative}.hero-copy{z-index:3;max-width:610px;position:relative}.kicker{color:var(--acid);margin-bottom:22px}.hero-copy h2{letter-spacing:-.055em;margin:0;font-family:Georgia,Noto Serif SC,serif;font-size:clamp(46px,6vw,86px);font-weight:500;line-height:1.03}.lead{color:#b9b8af;max-width:480px;margin:28px 0 0;font-size:15px;line-height:1.9}.card-orbit{width:330px;height:390px;position:absolute;bottom:2%;right:-2%}.demo-card{border-radius:9px;width:210px;height:310px;padding:20px;position:absolute;box-shadow:0 28px 55px #0008}.demo-card-back{color:#5d674b;background:repeating-linear-gradient(45deg,#20271e 0 8px,#1a2019 8px 16px);border:1px solid #6d725e;place-items:center;font:500 90px Georgia,serif;display:grid;top:0;right:0;transform:rotate(12deg)}.demo-card-main{color:#1c2019;background:var(--paper);border:5px solid #373f31;bottom:0;left:0;transform:rotate(-7deg)}.demo-card-main:after{content:"";background:radial-gradient(circle at 55% 45%,#d36c48,#0000 4%),linear-gradient(145deg,#68715b,#c4b893);border:1px solid #8f8a78;position:absolute;inset:46px 14px 92px}.demo-cost{z-index:2;background:var(--acid);border:3px solid #1c2019;border-radius:50%;place-items:center;width:42px;height:42px;font:900 20px ui-monospace,monospace;display:grid;position:absolute;top:-13px;right:-13px}.demo-type{z-index:2;letter-spacing:.16em;font:800 9px ui-monospace,monospace;position:relative}.demo-card strong{z-index:2;font:700 20px Georgia,serif;position:absolute;top:185px;left:18px}.demo-card p{z-index:2;margin:0;font-size:11px;line-height:1.55;position:absolute;bottom:28px;left:18px}.demo-card small{z-index:2;font:700 7px ui-monospace,monospace;position:absolute;bottom:10px;right:15px}.connect-panel{border:1px solid var(--line);background:#171c17ee;padding:28px;box-shadow:20px 30px 80px #0005}.panel-heading{justify-content:space-between;align-items:center;margin-bottom:30px;font:700 16px ui-monospace,monospace;display:flex}.panel-heading b{color:#565d51;font-size:12px}.connect-panel label{color:var(--muted);margin-bottom:9px;font-size:11px;display:block}.endpoint-field{background:#101410;border:1px solid #454c42;align-items:center;display:flex}.endpoint-field span{color:var(--acid);padding:0 12px;font:800 10px ui-monospace,monospace}.endpoint-field input{width:100%;color:var(--ink);background:0 0;border:0;outline:0;padding:15px 12px;font:12px ui-monospace,monospace}button{font:inherit}button:disabled{cursor:not-allowed;opacity:.45}.primary-action{cursor:pointer;color:#151912;background:var(--acid);border:0;justify-content:space-between;width:100%;margin-top:12px;padding:15px 18px;font-weight:800;display:flex}.primary-action:hover{background:#e2ff75}.divider{color:#6f756b;align-items:center;gap:12px;margin:25px 0 17px;font-size:10px;display:flex}.divider:before,.divider:after{content:"";background:#353b33;flex:1;height:1px}.mode-row{grid-template-columns:1fr 1fr;gap:10px;display:grid}.mode-card{text-align:left;border:1px solid var(--line);cursor:pointer;min-height:105px;color:var(--ink);background:#1e241e;padding:14px}.mode-card:hover{border-color:var(--acid);transform:translateY(-2px)}.mode-card small,.mode-card strong,.mode-card span{display:block}.mode-card small{color:var(--ember);font:800 9px ui-monospace,monospace}.mode-card strong{margin:8px 0 5px;font-size:14px}.mode-card span{color:var(--muted);font-size:10px}.connection-note{color:#777d73;margin:22px 0 0;font-size:10px}.connection-note i{width:5px;height:5px;box-shadow:none;background:#777d73}.connected-strip{color:#cbd3bd;background:#d7ff3f0c;border:1px solid #d7ff3f26;margin:14px 0;padding:10px 12px;font-size:11px}.connected-strip i{background:var(--acid);border-radius:50%;width:6px;height:6px;margin-right:8px;display:inline-block}.join-card div{margin-top:8px;display:flex}.join-card input{width:100%;min-width:0;color:var(--ink);letter-spacing:.15em;background:#111511;border:1px solid #3b4238;padding:7px;font:700 12px ui-monospace,monospace}.join-card button{width:33px;color:var(--night);background:var(--acid);cursor:pointer;border:0}.entry-footer{z-index:2;color:#5f655c;letter-spacing:.08em;justify-content:center;align-items:center;gap:11px;font:700 9px ui-monospace,monospace;display:flex;position:relative}.entry-footer>span{align-items:center;gap:11px;display:flex}.entry-footer i{background:#343a32;width:22px;height:1px;display:inline-block}.lobby-shell{background:radial-gradient(circle at 20% 10%,#39412b33,#0000 28%),#111512;min-height:100vh;padding:25px clamp(20px,4vw,64px) 105px}.brand-bar.compact .brand-mark{width:40px;height:40px}.brand-bar.compact h1{font-size:17px}.status-connected i{background:var(--acid)}.lobby-header{border-bottom:1px solid var(--line);grid-template-columns:1fr auto 1fr;align-items:end;gap:20px;margin:58px 0 28px;padding-bottom:20px;display:grid}.lobby-title{text-align:center}.lobby-title p{color:var(--acid);letter-spacing:.15em;margin:0 0 4px;font:700 10px ui-monospace,monospace}.lobby-title h2{margin:0;font:500 30px Georgia,Noto Serif SC,serif}.room-code{color:var(--ink);letter-spacing:.12em;cursor:pointer;background:0 0;border:0;align-items:center;gap:10px;margin-top:5px;padding:0;font:700 28px ui-monospace,monospace;display:flex}.room-code span{color:var(--muted);border:1px solid var(--line);letter-spacing:0;padding:4px 6px;font:600 8px sans-serif}.ghost-action{color:var(--muted);border:1px solid var(--line);cursor:pointer;background:0 0;justify-self:end;padding:10px 14px}.ghost-action:hover{color:var(--ink);border-color:#6a7165}.lobby-content{grid-template-columns:minmax(0,1fr) 330px;gap:28px;display:grid}.character-grid{grid-template-columns:repeat(4,minmax(145px,1fr));gap:14px;display:grid}.character-card{text-align:left;min-height:335px;color:var(--ink);border:1px solid var(--line);cursor:pointer;background:linear-gradient(160deg,#252b22,#151914);padding:16px;transition:transform .2s,border-color .2s;position:relative;overflow:hidden}.character-card:hover:not(:disabled){border-color:#858e78;transform:translateY(-5px)}.character-card.selected{border-color:var(--acid);box-shadow:inset 0 -4px var(--acid), 0 15px 40px #0005}.character-card:disabled{filter:grayscale()}.character-number{color:#5a6254;font:700 12px ui-monospace,monospace}.character-glyph{color:#111512aa;text-shadow:1px 1px #d7ff3f33;background:linear-gradient(135deg,#a6b288,#4c5745);place-items:center;height:170px;margin:12px -16px 18px;font:500 86px Georgia,serif;display:grid}.char-4 .character-glyph{background:linear-gradient(135deg,#d4cbb5,#758172)}.character-card small{color:var(--ember);letter-spacing:.12em;font:800 8px ui-monospace,monospace}.character-card strong{margin:7px 0;font:600 23px Georgia,Noto Serif SC,serif;display:block}.character-card p{color:var(--muted);margin:0;font-size:11px}.character-card>b{color:var(--night);background:var(--acid);padding:5px 7px;font-size:9px;position:absolute;top:10px;right:10px}.player-slots{grid-template-columns:1fr 1fr;gap:14px;margin-top:14px;display:grid}.player-slot{border:1px solid var(--line);background:#171c17;padding:15px 18px;position:relative}.player-slot span,.player-slot strong{display:block}.player-slot span{color:var(--muted);font-size:9px}.player-slot strong{margin-top:4px;font-size:13px}.player-slot i{color:#6f756b;font:700 8px ui-monospace,monospace;position:absolute;top:20px;right:14px}.player-slot.ready{border-color:#d7ff3f55}.player-slot.ready i{color:var(--acid)}.lobby-sidebar{flex-direction:column;gap:14px;display:flex}.rules-panel{border:1px solid var(--line);background:#171c17;padding:20px}.rules-panel .panel-heading{margin-bottom:22px}.rules-panel>label:not(.toggle-row),.rules-panel>.rule-label{color:var(--muted);margin:17px 0 7px;font-size:10px;display:block}.segmented{grid-template-columns:repeat(3,1fr);display:grid}.segmented button{color:var(--muted);border:1px solid var(--line);cursor:pointer;background:#101410;padding:10px 4px}.segmented button+button{border-left:0}.segmented button.active{color:var(--night);background:var(--acid)}.rule-input{width:100%;color:var(--ink);border:1px solid var(--line);background:#101410;padding:11px;font:12px ui-monospace,monospace}.toggle-row{justify-content:space-between;align-items:center;margin:20px 0;display:flex}.toggle-row label,.toggle-row strong,.toggle-row small{display:block}.toggle-row strong{font-size:12px}.toggle-row small{color:var(--muted);margin-top:3px;font-size:8px}.toggle-row input{width:36px;height:18px;accent-color:var(--acid)}.secondary-action{width:100%;color:var(--acid);cursor:pointer;background:#d7ff3f0a;border:1px solid #d7ff3f55;padding:11px}.lobby-ready-bar{z-index:10;border-top:1px solid var(--line);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#171c17f5;justify-content:space-between;align-items:center;padding:17px clamp(20px,4vw,64px);display:flex;position:fixed;bottom:0;left:0;right:0}.lobby-ready-bar p{color:var(--muted);margin:0;font-size:11px}.lobby-ready-bar button{min-width:190px;color:var(--night);background:var(--acid);cursor:pointer;border:0;justify-content:space-between;padding:13px 17px;font-weight:800;display:flex}.lobby-ready-bar button.ready-active{color:var(--ink);border:1px solid var(--ember);background:#ff6f4415}.match-shell{background:radial-gradient(#273425 0,#161c16 42%,#0e120f 82%);min-height:100vh;overflow:hidden}.match-topbar{background:#121612e8;border-bottom:1px solid #394036;grid-template-columns:300px 1fr 85px;align-items:center;gap:20px;height:70px;padding:10px 24px;display:grid}.match-topbar .server-pill{display:none}.turn-track{justify-self:center;align-items:center;display:flex}.turn-track div{color:#62695f;align-items:center;gap:7px;padding:0 17px;font-size:9px;display:flex;position:relative}.turn-track div:not(:last-child):after{content:"";background:#3c4339;width:12px;height:1px;position:absolute;right:-1px}.turn-track div>span:first-child{border:1px solid #444b40;border-radius:50%;place-items:center;width:19px;height:19px;font:700 8px ui-monospace,monospace;display:grid}.turn-track .done>span:first-child{color:#192015;border-color:var(--acid);background:var(--acid)}.turn-track .active{color:var(--ink)}.turn-track .active>span:first-child{color:var(--night);border-color:var(--acid);background:var(--acid);box-shadow:0 0 15px #d7ff3f66}.turn-track .phase-name{color:inherit}.round-tooltip{justify-self:end}.round-chip{text-align:right}.round-chip small,.round-chip strong{display:block}.round-chip small{color:var(--muted);font:700 8px ui-monospace,monospace}.round-chip strong{color:var(--acid);font:700 24px ui-monospace,monospace}.opponent-zone,.player-zone{grid-template-columns:350px 1fr 350px;align-items:center;min-height:105px;padding:10px 25px;display:grid}.opponent-zone{border-bottom:1px solid #ffffff0c}.player-zone{background:linear-gradient(#0e120f77,#0d100de8);border-top:1px solid #ffffff0c;min-height:310px}.player-status{background:linear-gradient(135deg,#192019e8,#111611e8);border:1px solid #343b32;grid-template-columns:minmax(90px,1fr) 68px auto;grid-template-areas:"identity energy secondary""health health health""resources resources resources";align-items:center;gap:7px 8px;padding:10px 11px;display:grid;box-shadow:inset 0 0 24px #0003}.player-status.active{box-shadow:inset 3px 0 var(--acid), 0 0 18px #d7ff3f0d;border-color:#d7ff3f88}.player-identity{grid-area:identity;align-items:center;gap:8px;min-width:0;display:flex}.avatar{color:#182014;background:#9da988;flex:none;place-items:center;width:42px;height:42px;font:600 21px Georgia,serif;display:grid}.avatar.char-4{background:#d5cdbb}.identity{min-width:0}.identity>small,.identity>strong{display:block}.identity>small{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;font-size:7px;overflow:hidden}.identity>strong{margin-top:2px;font-size:14px}.game-tooltip-anchor.energy-core{min-height:48px;color:var(--acid);background:radial-gradient(circle at 35% 28%,#48611b,#1b2713 58%,#0e130d);border:1px solid #d7ff3f66;border-radius:50% 42%;grid-area:energy;justify-content:center;gap:5px;padding:5px 7px;display:flex;box-shadow:0 0 16px #d7ff3f28,inset 0 0 12px #d7ff3f18}.energy-glyph{text-shadow:0 0 10px var(--acid);font-size:12px}.energy-copy small,.energy-copy strong{text-align:center;display:block}.energy-copy small{color:#b6c88e;letter-spacing:.08em;font:700 6px ui-monospace,monospace}.energy-copy strong{font:900 22px/1 ui-monospace,monospace}.secondary-stats{grid-area:secondary;justify-content:flex-end;gap:4px;display:flex}.game-tooltip-anchor.stat{background:#0d120ecc;border:1px solid #343c33;justify-content:center;gap:4px;min-width:43px;padding:5px 4px;display:flex}.stat-icon{color:var(--muted);font-size:9px}.stat-copy small,.stat-copy strong{text-align:center;display:block}.stat-copy small{color:#7e877a;font-size:6px}.stat-copy strong{font:800 13px/1.05 ui-monospace,monospace}.stat.defence strong{color:#75b8ff}.stat.strength strong{color:#ffb25f}.stat.poison strong{color:#b781ff}.game-tooltip-anchor.health-vital{grid-area:health;gap:4px;width:100%;display:grid}.health-heading{color:#d6d9d1;letter-spacing:.05em;justify-content:space-between;align-items:baseline;font:800 8px ui-monospace,monospace;display:flex}.health-heading b{color:#ff6f55;font-size:10px}.health-heading strong{color:#fff0eb;letter-spacing:0;font:900 15px ui-monospace,monospace}.health-heading i{color:#a18d89;font:700 9px ui-monospace,monospace}.health-track{background:#210e0c;border:1px solid #663a33;height:13px;display:block;position:relative;overflow:hidden;box-shadow:inset 0 2px 4px #0009}.health-track:after{content:"";pointer-events:none;background:linear-gradient(90deg,#0000,#ffffff16 52%,#0000);position:absolute;inset:1px}.health-fill{background:linear-gradient(90deg,#ad3326,#ff765b);height:100%;transition:width .28s;display:block;box-shadow:0 0 12px #ff5a3f66}.health-vital.wounded .health-fill{background:linear-gradient(90deg,#9d421e,#ff9a3f)}.health-vital.critical .health-track{border-color:#ff5b45;animation:1.2s ease-in-out infinite vital-pulse}.health-vital.critical .health-fill{background:linear-gradient(90deg,#861d18,#ff493b)}@keyframes vital-pulse{50%{box-shadow:0 0 11px #ff4b3877,inset 0 2px 4px #0009}}.status-detail-list{flex-wrap:wrap;grid-area:resources;gap:4px;display:flex;overflow:visible}.status-detail-list .game-tooltip-anchor{color:#aeb6a6;white-space:nowrap;background:#0d120eb8;border:1px solid #374036}.status-detail{align-items:baseline;gap:4px;padding:3px 6px;display:flex}.status-detail small{color:#7f8979;font-size:7px}.status-detail strong{color:#dce2d6;font:800 9px ui-monospace,monospace}.opponent-hand{justify-self:center;align-items:center;width:260px;height:80px;display:flex}.opponent-hand div{background:repeating-linear-gradient(45deg,#222b20 0 6px,#192018 6px 12px);border:2px solid #4f574b;border-radius:4px;flex:0 0 48px;height:70px;box-shadow:-5px 8px 15px #0005}.opponent-piles{justify-self:end;gap:8px;display:flex}.pile{text-align:center;background:#121612cc;border:1px solid #3a4137;min-width:58px;padding:7px 10px;display:block}.pile span,.pile strong{display:block}.pile span{color:var(--muted);font-size:8px}.pile strong{font:700 15px ui-monospace,monospace}.battlefield{grid-template-rows:1fr auto 1fr;min-height:calc(100vh - 485px);padding:10px 25px;display:grid;position:relative}.last-played{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.empty-played{color:#667060;border:1px dashed #566050;border-radius:6px;place-items:center;width:112px;height:155px;display:grid}.empty-played span{letter-spacing:.1em;font:700 7px ui-monospace,monospace}.empty-played b{font-size:10px}.mini-card{color:#1c2019;background:var(--paper);border:5px solid #4c5944;border-radius:6px;width:112px;height:155px;padding:11px;position:relative;box-shadow:0 16px 30px #0007}.mini-card .mini-card-cost{position:absolute;top:-10px;right:-10px}.mini-card .mini-card-cost>b{width:30px;height:30px;color:var(--night);background:var(--acid);border-radius:50%;place-items:center;display:grid}.mini-card>.game-tooltip-anchor:not(.mini-card-cost)>span{font-size:8px}.mini-card>strong{font:600 15px Georgia,serif;position:absolute;bottom:15px;left:10px;right:10px}.creature-lane{justify-content:center;gap:8px;min-height:48px;display:flex}.opponent-creatures{align-self:start}.own-creatures{align-self:end}.own-creatures button{cursor:pointer;background:0 0;border:0;padding:0}.creature-chip{min-width:125px;color:var(--ink);text-align:left;background:#1a1e18e8;border:1px solid #8e793d;align-items:center;gap:8px;padding:6px 9px;display:flex}.creature-chip>span{color:#231f12;background:#caae58;place-items:center;width:30px;height:30px;font-family:Georgia,serif;display:grid}.creature-chip strong,.creature-chip small{display:block}.creature-chip strong{font-size:9px}.creature-chip small{color:#caae58;margin-top:2px;font-size:8px}.turn-banner{color:var(--ink);text-transform:uppercase;justify-content:center;align-self:center;align-items:center;gap:12px;font:700 10px ui-monospace,monospace;display:flex}.turn-banner i{background:linear-gradient(90deg,#0000,#69735f);width:60px;height:1px}.turn-banner i:last-child{transform:rotate(180deg)}.turn-banner small{color:var(--acid)}.hand-stage{align-self:stretch;min-width:0;padding:0 18px}.hand-toolbar{justify-content:space-between;align-items:center;margin-bottom:8px;display:flex}.hand-toolbar>div{gap:6px;display:flex}.hand-toolbar>.hand-limit-tooltip{color:var(--muted);text-align:center;font:700 9px ui-monospace,monospace}.hand-limit-tooltip>span>em{color:var(--ember);margin-top:3px;font-style:normal;display:block}.hand-actions{justify-content:flex-end;gap:6px;display:flex}.hand-actions button{cursor:pointer;padding:9px 11px;font-size:9px;font-weight:800}.hand-actions .discard-toggle{color:var(--muted);border:1px solid var(--line);background:#151a15}.hand-actions .discard-confirm{color:#fff;border:1px solid var(--ember);background:#c54b35}.hand-actions .turn-end{color:var(--night);background:var(--acid);border:0}.hand-actions .turn-end b{margin-left:12px}.hand-actions button:disabled{cursor:not-allowed;opacity:.45}.hand-cards{scrollbar-color:#4b5347 transparent;align-items:flex-end;min-height:215px;padding:10px 30px 0;display:flex;overflow:auto hidden}.hand-card-button{cursor:pointer;background:0 0;border:0;flex:0 0 145px;margin-left:-16px;padding:0;transition:transform .18s}.hand-card-button:first-child{margin-left:0}.hand-card-button:hover:not(:disabled){z-index:4;transform:translateY(-15px)rotate(0)!important}.hand-card-button:disabled{opacity:.75}.hand-cards.selecting-discard .hand-card-button:not(:disabled){opacity:.88}.hand-cards.selecting-discard .hand-card-button.discard-selected{z-index:5;opacity:1;transform:translateY(-15px)rotate(0)!important}.hand-card-button:nth-child(4n+1){transform:rotate(-2deg)}.hand-card-button:nth-child(4n+3){transform:rotate(2deg)}.game-card{text-align:left;color:#1c2019;background:var(--paper);border:5px solid #435241;border-radius:7px;height:205px;padding:8px;position:relative;overflow:hidden;box-shadow:-8px 10px 22px #0005}.game-card.item{border-color:#7d6042}.game-card.creature{border-color:#b4963f}.game-card.discovery{border-color:#718997}.game-card.skill{border-color:#4e6049}.card-top{justify-content:space-between;align-items:center;display:flex}.card-type-tooltip>span{font:800 7px ui-monospace,monospace}.card-flags{align-items:center;gap:4px;display:flex}.exhaust-tooltip>span{color:#8e3c2d;letter-spacing:.06em;border:1px solid #9d4a38;padding:3px 4px;font:900 6px ui-monospace,monospace}.card-cost-tooltip>b{width:26px;height:26px;color:var(--night);background:var(--acid);border:2px solid #1e241b;border-radius:50%;place-items:center;display:grid}.card-art{color:#34402d;background:radial-gradient(circle,#d2ba7f,#657159);place-items:center;height:82px;margin:4px 0 7px;font:500 47px Georgia,serif;display:grid}.card-copy strong{white-space:nowrap;text-overflow:ellipsis;font:700 14px Georgia,Noto Serif SC,serif;display:block;overflow:hidden}.card-copy p{height:39px;margin:4px 0;font-size:8px;line-height:1.55;overflow:hidden}.game-card>small{font:700 6px ui-monospace,monospace}.game-card>em{color:#fff;text-align:center;background:#c54b35;padding:4px;font:700 8px sans-serif;position:absolute;inset:auto 0 0}.game-card.discard-selected{outline:3px solid var(--ember);outline-offset:-3px}.log-panel{border:1px solid var(--line);background:#111511dd;grid-template-rows:auto 1fr auto;height:285px;display:grid}.log-panel.compact{height:260px}.log-heading{border-bottom:1px solid var(--line);justify-content:space-between;padding:10px 12px;font-size:10px;display:flex}.log-heading small{color:var(--acid);font:700 7px ui-monospace,monospace}.log-scroll{padding:8px 12px;overflow-y:auto}.log-scroll p{color:#a9afa5;margin:0 0 7px;font-size:9px;line-height:1.4}.log-scroll p i{background:#626a5f;border-radius:50%;width:4px;height:4px;margin-right:7px;display:inline-block}.log-scroll p.turn,.log-scroll p.system{color:var(--acid)}.log-scroll p.chat{color:#84b9e6}.log-scroll p.damage,.log-scroll p.warn{color:#ff7858}.log-scroll p.private{color:#d2acff}.log-panel form{border-top:1px solid var(--line);display:flex}.log-panel form input{min-width:0;color:var(--ink);background:#0e120e;border:0;outline:0;flex:1;padding:10px;font-size:9px}.log-panel form button{color:var(--night);background:var(--acid);cursor:pointer;border:0;padding:0 12px;font-size:9px}.modal-backdrop{z-index:50;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#080b08d9;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.choice-dialog{background:#181d18;border:1px solid #596151;width:min(580px,100%);max-height:90vh;padding:28px;overflow-y:auto;box-shadow:0 40px 100px #000c}.choice-dialog h2{margin:8px 0;font:500 31px Georgia,Noto Serif SC,serif}.choice-dialog>p:not(.eyebrow){color:var(--muted);font-size:12px}.choice-dialog footer{justify-content:flex-end;gap:10px;margin-top:24px;display:flex}.choice-dialog footer .primary-action{width:auto;min-width:180px;margin:0}.integer-choice{text-align:center;margin:28px 0}.integer-choice>input{width:100%;accent-color:var(--acid)}.integer-choice>div:last-child{color:var(--muted);justify-content:space-between;font-size:9px;display:flex}.integer-stepper{grid-template-columns:46px 1fr 46px;align-items:center;gap:12px;width:min(260px,100%);margin:0 auto 16px;display:grid}.integer-stepper strong{color:var(--acid);font:700 50px ui-monospace,monospace;display:block}.integer-stepper button{height:42px;color:var(--acid);cursor:pointer;background:#101410;border:1px solid #d7ff3f55;font-size:24px}.integer-stepper button:disabled{cursor:not-allowed;opacity:.35}.option-choice{gap:8px;margin-top:20px;display:grid}.option-choice button{text-align:left;color:var(--ink);border:1px solid var(--line);cursor:pointer;background:#101410;padding:14px}.option-choice button.selected{color:var(--night);border-color:var(--acid);background:var(--acid)}.choice-progress{color:var(--acid);justify-content:space-between;align-items:center;margin-top:18px;font-size:10px;display:flex}.choice-progress small{color:var(--muted);font-size:8px}.choice-cards{grid-template-columns:repeat(2,1fr);gap:8px;margin-top:8px;display:grid}.choice-cards button{text-align:left;color:var(--ink);border:1px solid var(--line);cursor:pointer;background:#111511;padding:12px;position:relative}.choice-cards span,.choice-cards small{display:block}.choice-cards small{color:var(--muted);margin-top:4px;font-size:8px}.choice-cards button>b{color:var(--muted);font-size:9px;position:absolute;top:50%;right:10px;transform:translateY(-50%)}.choice-cards button.selected{border-color:var(--acid);box-shadow:inset 4px 0 var(--acid)}.choice-cards button.selected>b{color:var(--acid)}.choice-cards button:disabled:not(.selected){cursor:not-allowed;opacity:.45}.notice{z-index:100;color:#ffd8cf;background:#2a1814f2;border:1px solid #ff6f4455;align-items:center;gap:10px;max-width:390px;padding:12px 14px;display:flex;position:fixed;bottom:20px;right:20px;box-shadow:0 12px 35px #0007}.notice>span{color:#24130f;background:var(--ember);border-radius:50%;place-items:center;width:23px;height:23px;font-weight:900;display:grid}.notice p{margin:0;font-size:11px}.notice button{color:var(--muted);cursor:pointer;background:0 0;border:0;margin-left:auto}@media (max-width:980px){.entry-grid{grid-template-columns:1fr;padding:55px 0}.hero-panel{min-height:430px}.card-orbit{opacity:.45;right:0}.connect-panel{width:min(100%,570px);margin:auto}.lobby-header{grid-template-columns:1fr 1fr}.lobby-title{grid-area:1/1/auto/-1}.lobby-content{grid-template-columns:1fr}.character-grid{grid-template-columns:repeat(2,1fr)}.match-topbar{grid-template-columns:1fr auto}.turn-track{z-index:20;border-top:1px solid var(--line);background:#111511;height:52px;position:fixed;bottom:0;left:0;right:0}.turn-track div{padding:0 8px}.round-tooltip{display:none}.opponent-zone,.player-zone{grid-template-columns:1fr;gap:8px}.opponent-hand,.opponent-piles{display:none}.battlefield{min-height:260px}.player-zone{padding-bottom:65px}.log-panel{height:180px}.hand-stage{padding:0}}@media (max-width:600px){.entry-shell{padding:22px 16px}.server-pill{display:none}.hero-panel{align-items:flex-start;min-height:400px;padding-top:35px}.hero-copy h2{font-size:48px}.lead{max-width:82%}.card-orbit{bottom:-20px;right:-115px;transform:scale(.75)}.connect-panel{padding:20px}.entry-footer{display:none}.character-grid{grid-template-columns:1fr 1fr}.character-card{min-height:260px}.character-glyph{height:110px;font-size:58px}.player-slots{grid-template-columns:1fr}.lobby-header{margin-top:35px}.lobby-ready-bar p{display:none}.lobby-ready-bar button{width:100%}.match-topbar{height:60px;padding:8px 12px}.match-topbar .brand-bar .eyebrow,.turn-track b{display:none}.opponent-zone{min-height:85px;padding:8px 10px}.battlefield{min-height:230px;padding:8px}.player-zone{padding:8px 10px 65px}.hand-cards{padding-left:10px}.hand-card-button{flex-basis:130px}.game-card{height:190px}.player-status{grid-template-columns:minmax(0,1fr) 62px;grid-template-areas:"identity energy""health health""secondary secondary""resources resources";gap:6px}.secondary-stats{justify-content:flex-start}.game-tooltip-anchor.energy-core{min-height:44px}.avatar{width:40px;height:40px}.log-panel{display:none}}
