:root{
  --bg:#061019;--panel:#0b1822ee;--panel2:#10232fe8;--line:#315261;--text:#edf6f6;--muted:#91a9b2;
  --gold:#e7bf69;--gold2:#9b6c28;--card-w:clamp(68px,7vw,104px);--card-h:calc(var(--card-w)*1.38);
  --white:#ece9dc;--blue:#1c78c8;--green:#2c9c70;--red:#c8444b;--black:#2a2630;--joker:#d5a93d;
  --dock:clamp(114px,22dvh,166px);
}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:Inter,"Microsoft YaHei","Noto Sans SC",system-ui,sans-serif;color:var(--text);background:var(--bg)}
body{min-height:100dvh;background:radial-gradient(circle at 52% -10%,#184452 0,transparent 40%),linear-gradient(160deg,#07141d,#040a0f 72%);overflow-x:hidden}
button,input,select{font:inherit}button{cursor:pointer}.hidden{display:none!important}.ambient{position:fixed;inset:0;pointer-events:none;background-image:linear-gradient(30deg,#ffffff08 1px,transparent 1px),linear-gradient(150deg,#ffffff05 1px,transparent 1px);background-size:28px 28px;mask-image:radial-gradient(circle at 50% 30%,#000,transparent 80%)}
.topbar{position:sticky;top:0;z-index:80;height:48px;display:flex;align-items:center;justify-content:space-between;padding:5px 14px;border-bottom:1px solid #294654;background:#061019e8;backdrop-filter:blur(18px);box-shadow:0 8px 24px #0006}
.brand{display:flex;align-items:center;gap:9px;border:0;background:transparent;color:var(--text);padding:0}.brand-gem{width:33px;height:33px;display:grid;place-items:center;transform:rotate(45deg);border:1px solid #e5c477;border-radius:8px;background:linear-gradient(145deg,#fff1a0,#8d611d);color:#19323e;box-shadow:0 0 20px #e5bf6540}.brand-gem::first-letter{transform:rotate(-45deg)}.brand span:last-child{display:flex;flex-direction:column;align-items:flex-start}.brand b{font:900 18px/1 Georgia,serif;letter-spacing:.12em;color:#f2d68e}.brand small{font-size:8px;color:#78939e;letter-spacing:.08em}.top-actions{display:flex;gap:6px}.ghost,.primary{border:1px solid #3b5f6f;border-radius:9px;padding:8px 12px;color:#dcebed;background:#0d202b;box-shadow:inset 0 1px #ffffff0b}.ghost:hover,.ghost:focus-visible{border-color:#6d9bab;background:#14313f}.ghost.small{padding:6px 9px;font-size:11px}.primary{border-color:#c29542;background:linear-gradient(180deg,#e5bd64,#9c6d24);color:#15100a;font-weight:900;box-shadow:0 5px 14px #0005,inset 0 1px #fff8}.primary:hover{filter:brightness(1.08)}
main{position:relative;z-index:2}.landing{width:min(1180px,calc(100% - 24px));margin:18px auto 50px}.panel{border:1px solid #315262;border-radius:18px;background:linear-gradient(145deg,#10242fe9,#08131bea);box-shadow:0 20px 50px #0005,inset 0 1px #ffffff08;backdrop-filter:blur(12px)}
.hero{min-height:210px;display:grid;grid-template-columns:220px 1fr;align-items:center;gap:34px;padding:28px 44px;overflow:hidden;position:relative}.hero::after{content:"";position:absolute;inset:0;background:radial-gradient(circle at 18% 50%,#e2be6e20,transparent 32%),linear-gradient(105deg,transparent 42%,#ffffff04 42.2%,transparent 42.4%);pointer-events:none}.crest{position:relative;width:170px;height:170px;margin:auto;border-radius:50%;display:grid;place-items:center;border:1px solid #d3b26370;box-shadow:0 0 0 15px #d5ae4d0a,0 0 0 34px #d5ae4d08,inset 0 0 40px #d9b55d16}.crest i{position:absolute;width:48px;height:48px;display:grid;place-items:center;transform:rotate(45deg);border:1px solid #b9934b;border-radius:9px;background:linear-gradient(145deg,#0c2837,#07131b);color:#eacb7b;font-style:normal}.crest i:nth-child(1){transform:translate(-36px,20px) rotate(45deg)}.crest i:nth-child(2){transform:translate(36px,20px) rotate(45deg)}.crest i:nth-child(3){transform:translateY(-40px) rotate(45deg)}.eyebrow{display:block;color:#b68e46;font-size:9px;font-weight:900;letter-spacing:.18em}.hero h2{margin:8px 0 10px;font:900 clamp(30px,4vw,52px)/1.04 Georgia,"Noto Serif SC",serif;color:#f2e7d0}.hero p{max-width:700px;margin:0;color:#a9bdc4;line-height:1.65;font-size:14px}.gem-ribbon{display:flex;gap:8px;margin-top:18px}.gem-ribbon i,.gem-dot{width:22px;height:22px;border-radius:50%;border:2px solid #ffffff35;box-shadow:inset 0 3px 5px #fff5,0 3px 6px #0007}.white{background:radial-gradient(circle at 35% 28%,#fff,#d9d5c8 58%,#8f8c83)}.blue{background:radial-gradient(circle at 35% 28%,#70c7ff,#176fb4 58%,#0b335d)}.green{background:radial-gradient(circle at 35% 28%,#7be9b2,#24865e 58%,#0e4935)}.red{background:radial-gradient(circle at 35% 28%,#ff8588,#b7333e 58%,#641c27)}.black{background:radial-gradient(circle at 35% 28%,#77717e,#292531 58%,#09080c)}.gold{background:radial-gradient(circle at 35% 28%,#fff0a0,#d2a02b 58%,#77500c)}
.entry-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:14px}.entry-card{padding:22px 24px}.entry-card h3,.leaderboard-panel h3{margin:6px 0 15px;font:800 22px Georgia,"Noto Serif SC",serif}.entry-card label{display:flex;flex-direction:column;gap:6px;margin:11px 0;color:#b4c7cd;font-size:11px;font-weight:800}.entry-card input,.entry-card select{width:100%;height:42px;padding:0 12px;border:1px solid #315262;border-radius:9px;background:#07131a;color:#f0f6f6;outline:none}.entry-card input:focus,.entry-card select:focus{border-color:#d2a94f;box-shadow:0 0 0 3px #d2a94f20}.entry-card .primary{width:100%;margin-top:8px;min-height:43px}.leaderboard-panel{margin-top:14px;padding:20px}.section-head{display:flex;align-items:center;justify-content:space-between}.leaderboards{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.lb-card{min-width:0;padding:11px;border:1px solid #294755;border-radius:12px;background:#07151d}.lb-card h4{margin:0 0 8px;color:#ddbf78;font:800 13px Georgia,serif}.lb-row{display:grid;grid-template-columns:20px minmax(0,1fr) auto;gap:6px;align-items:center;padding:5px 3px;border-top:1px solid #ffffff09;font-size:10px}.lb-row:first-of-type{border-top:0}.lb-rank{color:#b9924c;font-weight:900}.lb-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.lb-value{color:#e9d19c;font-weight:900}.lb-empty{padding:15px 5px;color:#6f8790;text-align:center;font-size:10px}.private-note{text-align:center;color:#607b86;font-size:9px;margin:13px 0}
.room{height:calc(100dvh - 48px);padding:5px 7px;overflow:hidden}.lobby{width:min(850px,calc(100% - 20px));max-height:calc(100dvh - 70px);overflow:auto;margin:10px auto;padding:20px}.room-code{display:flex;align-items:center;gap:8px}.room-code b{font:900 30px Georgia,serif;color:#edcc7c;letter-spacing:.14em}.lobby-players{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin:16px 0}.lobby-player{display:flex;align-items:center;gap:10px;padding:10px;border:1px solid #2d4c5a;border-radius:10px;background:#07151d}.avatar{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,#315c6e,#122732);color:#e7c975;font-weight:900}.lobby-player small{display:block;color:#78939d}.lobby-controls{display:flex;flex-wrap:wrap;gap:8px;align-items:end}.lobby-controls label{display:flex;flex-direction:column;gap:5px;color:#9db2b9;font-size:10px}.lobby-controls select{height:36px;border:1px solid #365a69;border-radius:8px;background:#07151d;color:#fff;padding:0 8px}
.game-shell{height:100%;display:flex;flex-direction:column;gap:4px;min-height:0}.hud{flex:0 0 39px;display:grid;grid-template-columns:150px minmax(0,1fr);gap:4px}.hud-box{min-width:0;border:1px solid #294653;border-radius:8px;background:#07151deb;padding:4px 8px}.hud-room{display:flex;align-items:center;justify-content:space-between}.hud-room b{font:900 16px Georgia,serif;color:#e3c475;letter-spacing:.1em}.turn-box{display:flex;align-items:center;justify-content:space-between;gap:10px}.turn-main{min-width:0}.turn-title{font-weight:900;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.turn-sub{color:#78939c;font-size:7px}.ai-timer{min-width:180px}.ai-line{display:flex;align-items:center;justify-content:space-between;color:#c5d4d8;font-size:8px}.ai-bar{height:5px;margin-top:3px;border-radius:99px;background:#071015;overflow:hidden}.ai-bar i{display:block;height:100%;background:linear-gradient(90deg,#2c7691,#e3ba5e);transition:width .2s linear}.final-warning{color:#ffcf76;font-size:9px;font-weight:900}
.table-layout{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) clamp(130px,15vw,220px);gap:4px}.table{min-width:0;min-height:0;display:grid;grid-template-columns:clamp(70px,7vw,104px) minmax(0,1fr);gap:5px;padding:5px;border:1px solid #2d4c59;border-radius:10px;background:radial-gradient(ellipse at 50% 40%,#16303b 0,#0b1a23 62%,#061016);box-shadow:inset 0 0 60px #0009;overflow:hidden}.bank{min-height:0;display:grid;grid-template-rows:repeat(6,minmax(0,1fr));gap:4px}.bank-token{position:relative;min-height:0;display:flex;align-items:center;justify-content:center;gap:5px;border:1px solid #335563;border-radius:999px;background:#07131a;box-shadow:inset 0 0 18px #0009}.bank-token:hover,.bank-token.selected{border-color:#e0bc6a;box-shadow:0 0 14px #ddb75535,inset 0 0 18px #0009}.bank-token .chip{width:clamp(25px,3vw,39px);height:clamp(25px,3vw,39px);border-radius:50%;border:3px double #ffffff50;box-shadow:inset 0 4px 6px #fff5,0 4px 8px #0009}.bank-token b{font:900 15px Georgia,serif}.market-zone{min-width:0;min-height:0;display:grid;grid-template-rows:auto repeat(3,minmax(0,1fr));gap:3px}.noble-row{min-width:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;min-height:58px}.noble{position:relative;min-width:0;display:flex;align-items:center;justify-content:center;gap:4px;padding:5px;border:1px solid #7c683f;border-radius:8px;background:linear-gradient(145deg,#e0d1ae,#8e7651);color:#251b12;box-shadow:0 4px 9px #0008;overflow:hidden}.noble::before{content:"";position:absolute;inset:0;background-image:radial-gradient(circle,#745b3120 1px,transparent 1px);background-size:10px 10px;opacity:.5}.noble>*{position:relative}.noble .vp{font:900 clamp(18px,2vw,28px) Georgia,serif;color:#513813}.noble-req{display:flex;flex-wrap:wrap;gap:2px;justify-content:center}.req-chip{display:flex;align-items:center;gap:1px;padding:1px 3px;border-radius:4px;background:#101010cc;color:#fff;font-size:7px}.req-chip i{width:8px;height:8px;border-radius:50%}.tier-row{min-height:0;display:grid;grid-template-columns:var(--card-w) 34px repeat(4,var(--card-w));gap:clamp(3px,.45vw,7px);align-items:center;justify-content:center}.tier-deck{position:relative;width:var(--card-w);height:var(--card-h);border:1px solid #557180;border-radius:8px;background:repeating-linear-gradient(45deg,#102d3c 0 7px,#0b202b 7px 14px);box-shadow:5px 4px 0 #071018,9px 7px 0 #050b0f}.tier-deck b{position:absolute;right:5px;bottom:4px;padding:2px 5px;border-radius:99px;background:#061018;color:#dbbf79;font-size:8px}.tier-label{display:flex;flex-direction:column;align-items:center;color:#b9cbd0;font:900 12px Georgia,serif}.tier-label small{font-size:6px;color:#607d88}.dev-card{position:relative;width:var(--card-w);height:var(--card-h);min-width:0;border:1px solid #7a6c59;border-radius:8px;background:linear-gradient(160deg,#e6dcc6,#a5957b 72%,#70624f);color:#261e17;box-shadow:0 5px 11px #0008,inset 0 1px #fff8;overflow:hidden;transition:.16s}.dev-card::before{content:"";position:absolute;inset:0;background-image:radial-gradient(circle at 20% 30%,#ffffff18 0 2px,transparent 3px),linear-gradient(135deg,transparent 45%,#6f59320c 45.5%,transparent 46%);background-size:22px 22px,100% 100%}.dev-card:hover:not(.disabled){transform:translateY(-3px);border-color:#e4bd65}.dev-card.disabled{filter:saturate(.65);opacity:.68}.dev-card>*{position:relative;z-index:2}.card-top{height:32%;display:flex;align-items:flex-start;justify-content:space-between;padding:5px}.card-vp{font:900 clamp(17px,2vw,28px) Georgia,serif;text-shadow:0 1px #fff7}.bonus-gem{width:clamp(25px,2.7vw,38px);height:clamp(25px,2.7vw,38px);border-radius:50%;border:3px double #ffffff70;box-shadow:inset 0 4px 6px #fff6,0 3px 5px #0007}.card-pattern{height:28%;display:grid;place-items:center;color:#705e45;font:700 10px Georgia,serif;opacity:.55}.card-cost{position:absolute;left:5px;right:5px;bottom:5px;display:flex;flex-direction:column;gap:2px;align-items:flex-start}.cost-chip{display:flex;align-items:center;gap:2px;min-width:25px;padding:1px 4px;border-radius:999px;background:#0a0a0ad9;color:white;font:900 clamp(7px,.75vw,10px) sans-serif}.cost-chip i{width:clamp(8px,.85vw,12px);height:clamp(8px,.85vw,12px);border-radius:50%}.empty-card{width:var(--card-w);height:var(--card-h);border:1px dashed #31515d;border-radius:8px;display:grid;place-items:center;color:#4c6872;font-size:9px}
.players-rail{min-width:0;display:grid;grid-template-rows:repeat(4,minmax(0,1fr));gap:4px}.player-panel{position:relative;min-height:0;padding:6px;border:1px solid #2c4b58;border-radius:9px;background:#07151dec;overflow:hidden}.player-panel.active{border-color:#dfb85f;box-shadow:inset 0 0 20px #ddb65218,0 0 14px #ddb65224}.player-head{display:flex;align-items:center;gap:6px}.player-head .avatar{width:28px;height:28px;font-size:9px}.player-name{min-width:0;font-weight:900;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.player-meta{color:#708b95;font-size:6px}.player-score{margin-left:auto;color:#ebcc80;font:900 19px Georgia,serif}.bonus-row,.token-mini-row{display:flex;gap:3px;align-items:center;margin-top:4px;flex-wrap:wrap}.bonus-pill,.token-pill{display:flex;align-items:center;gap:2px;padding:2px 4px;border:1px solid #2c4c59;border-radius:99px;background:#061017;color:#e5eff1;font-size:7px}.bonus-pill i,.token-pill i{width:8px;height:8px;border-radius:50%}.player-foot{display:flex;justify-content:space-between;margin-top:4px;color:#8da3ab;font-size:7px}.noble-mini{display:flex;gap:2px}.noble-mini i{width:12px;height:12px;border-radius:3px;background:#bca575;border:1px solid #e2d2ad}
.personal-dock{flex:0 0 var(--dock);min-height:0;display:grid;grid-template-columns:clamp(160px,20vw,270px) minmax(0,1fr) clamp(150px,19vw,280px);gap:4px;padding:5px;border:1px solid #31515e;border-radius:10px;background:linear-gradient(145deg,#0d202a,#061018);overflow:hidden}.my-summary,.my-engine,.my-reserved{min-width:0;border:1px solid #274653;border-radius:8px;background:#07151d;padding:5px;overflow:hidden}.my-head{display:flex;align-items:center;gap:6px}.my-head strong{font-size:10px}.my-head .score{margin-left:auto;color:#edcc7f;font:900 22px Georgia,serif}.my-token-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:3px;margin-top:5px}.my-token{display:flex;align-items:center;justify-content:center;gap:3px;min-height:25px;border:1px solid #274753;border-radius:7px;background:#061018;font-size:8px}.my-token i{width:13px;height:13px;border-radius:50%}.engine-title,.reserved-title{display:flex;justify-content:space-between;color:#b5c6cb;font-size:8px;font-weight:900;margin-bottom:4px}.engine-grid{height:calc(100% - 17px);display:grid;grid-template-columns:repeat(5,1fr);gap:4px}.engine-stack{position:relative;min-width:0;border:1px solid #345561;border-radius:7px;background:#061017;padding:3px;display:flex;flex-direction:column;align-items:center;justify-content:center}.engine-stack .bonus-gem{width:25px;height:25px}.engine-stack b{font:900 17px Georgia,serif}.engine-stack small{color:#748f98;font-size:6px}.engine-stack .stack-points{position:absolute;top:2px;left:3px;color:#edcf84;font:900 9px Georgia,serif}.reserved-grid{height:calc(100% - 17px);display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}.reserved-grid .dev-card{width:100%;height:100%;min-height:0}.reserved-empty{border:1px dashed #31515e;border-radius:7px;display:grid;place-items:center;color:#42606b;font-size:12px}.action-tray{position:fixed;z-index:70;left:50%;bottom:calc(var(--dock) + 12px);transform:translateX(-50%);display:flex;align-items:center;gap:6px;padding:6px 8px;border:1px solid #6f653f;border-radius:12px;background:#07131af2;box-shadow:0 12px 30px #000a}.selection-chips{display:flex;gap:3px}.selection-chips i{width:18px;height:18px;border-radius:50%;border:2px solid #ffffff40}
.action-overlay{position:fixed;z-index:150;inset:48px 0 0;display:grid;place-items:center;background:#020608a8;backdrop-filter:blur(4px)}.action-card{min-width:min(460px,88vw);max-width:680px;padding:22px;border:1px solid #d0aa57;border-radius:18px;background:linear-gradient(145deg,#102731,#07141c);box-shadow:0 35px 100px #000e,0 0 40px #d4ad5630;text-align:center}.action-card .eyebrow{margin-bottom:6px}.action-card h3{margin:5px 0 9px;font:900 28px Georgia,"Noto Serif SC",serif}.action-visual{display:flex;justify-content:center;align-items:center;gap:10px;margin:12px auto}.action-visual .dev-card{--card-w:120px}.action-gems{display:flex;gap:7px;justify-content:center}.action-gems i{width:34px;height:34px;border-radius:50%;border:3px double #ffffff55}.action-note{color:#9db3bb;font-size:11px}.toast{position:fixed;z-index:250;left:50%;bottom:20px;transform:translateX(-50%);padding:9px 15px;border:1px solid #9d7837;border-radius:99px;background:#07131af2;color:#f2ddb0;box-shadow:0 9px 25px #000b;font-size:11px}.modal{position:fixed;z-index:220;inset:0;display:grid;place-items:center;padding:20px}.modal-backdrop{position:absolute;inset:0;background:#010405cf;backdrop-filter:blur(5px)}.modal-card{position:relative;z-index:2;width:min(620px,94vw);max-height:88dvh;overflow:auto;padding:20px;border:1px solid #a5874a;border-radius:17px;background:linear-gradient(145deg,#102833,#07131a);box-shadow:0 30px 100px #000e}.modal-close{position:absolute;top:8px;right:9px;width:30px;height:30px;border:1px solid #3d5e6b;border-radius:50%;background:#07131a;color:white;font-size:18px}.modal-card h3{margin:0 38px 12px 0;font:900 24px Georgia,"Noto Serif SC",serif}.modal-actions{display:flex;justify-content:flex-end;gap:7px;margin-top:14px}.choice-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:7px}.choice{padding:10px;border:1px solid #355866;border-radius:9px;background:#081923;color:#e4eef0}.payment-grid{display:flex;flex-direction:column;gap:6px}.payment-row{display:grid;grid-template-columns:80px 1fr auto;align-items:center;gap:7px;padding:7px;border:1px solid #2c4d59;border-radius:9px;background:#07151d}.payment-row .color-label{display:flex;align-items:center;gap:6px;font-size:9px}.payment-row .color-label i{width:18px;height:18px;border-radius:50%}.gold-adjust{display:flex;align-items:center;gap:5px}.gold-adjust button{width:28px;height:28px;border:1px solid #665b37;border-radius:8px;background:#0c2029;color:#efd183}.discard-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.discard-choice{display:flex;align-items:center;justify-content:space-between;padding:8px;border:1px solid #2f505d;border-radius:9px;background:#07151d}.rules{color:#b4c7cd;line-height:1.65;font-size:12px}.rules h4{color:#e6c879}.scoreboard{display:flex;flex-direction:column;gap:7px}.score-row{display:grid;grid-template-columns:35px minmax(0,1fr) 70px 80px;align-items:center;gap:7px;padding:10px;border:1px solid #2c4c59;border-radius:10px;background:#07151d}.score-row.winner{border-color:#d9b25a;background:#17251f}.score-rank{font:900 20px Georgia,serif;color:#e3c476}.score-points{font:900 24px Georgia,serif;color:#edd18e}.rotate-hint{display:none}
@media(max-width:900px){.leaderboards{grid-template-columns:repeat(2,1fr)}.hero{grid-template-columns:150px 1fr;padding:24px}.crest{width:130px;height:130px}.table-layout{grid-template-columns:minmax(0,1fr) 115px}.players-rail{grid-template-rows:repeat(4,minmax(0,1fr))}.player-panel{padding:4px}.personal-dock{grid-template-columns:145px minmax(0,1fr) 150px}.tier-row{grid-template-columns:var(--card-w) 22px repeat(4,var(--card-w));gap:3px}.noble-row{gap:3px}}
@media(orientation:landscape) and (max-height:650px){:root{--card-w:clamp(56px,6.7vw,78px);--dock:100px}.topbar{height:38px;padding:3px 8px}.brand-gem{width:26px;height:26px}.brand b{font-size:14px}.brand small{display:none}.top-actions .ghost{padding:5px 8px;font-size:8px}.room{height:calc(100dvh - 38px);padding:3px}.hud{flex-basis:31px;height:31px;grid-template-columns:110px minmax(0,1fr)}.hud-box{padding:2px 5px}.hud-room b{font-size:12px}.turn-title{font-size:9px}.turn-sub{display:none}.ai-timer{min-width:145px}.table-layout{grid-template-columns:minmax(0,1fr) 105px;gap:3px}.table{grid-template-columns:48px minmax(0,1fr);padding:3px}.bank{gap:2px}.bank-token{gap:1px}.bank-token .chip{width:24px;height:24px}.bank-token b{font-size:10px}.market-zone{gap:1px}.noble-row{min-height:39px}.noble{padding:2px}.noble .vp{font-size:15px}.req-chip{font-size:5px;padding:1px 2px}.req-chip i{width:6px;height:6px}.tier-row{grid-template-columns:var(--card-w) 18px repeat(4,var(--card-w));gap:2px}.tier-label{font-size:8px}.tier-label small{display:none}.dev-card{border-radius:5px}.card-top{padding:3px}.card-vp{font-size:17px}.bonus-gem{width:22px;height:22px}.card-pattern{font-size:6px}.card-cost{left:3px;right:3px;bottom:3px;gap:1px}.cost-chip{font-size:6px;padding:1px 3px}.cost-chip i{width:7px;height:7px}.player-panel{padding:3px}.player-head .avatar{width:22px;height:22px}.player-name{font-size:7px}.player-meta{display:none}.player-score{font-size:15px}.bonus-row{gap:1px;margin-top:2px}.bonus-pill{padding:1px 2px;font-size:5px}.bonus-pill i{width:6px;height:6px}.token-mini-row{display:none}.player-foot{font-size:5px;margin-top:2px}.personal-dock{grid-template-columns:135px minmax(0,1fr) 142px;padding:3px}.my-summary,.my-engine,.my-reserved{padding:3px}.my-head .avatar{width:22px;height:22px}.my-head strong{font-size:7px}.my-head .score{font-size:17px}.my-token-grid{gap:2px;margin-top:2px}.my-token{min-height:19px;font-size:6px}.my-token i{width:9px;height:9px}.engine-title,.reserved-title{font-size:6px;margin-bottom:2px}.engine-grid{height:calc(100% - 12px);gap:2px}.engine-stack{padding:1px}.engine-stack .bonus-gem{width:18px;height:18px}.engine-stack b{font-size:12px}.engine-stack small{display:none}.engine-stack .stack-points{font-size:6px}.reserved-grid{height:calc(100% - 12px);gap:2px}.reserved-grid .card-vp{font-size:12px}.reserved-grid .bonus-gem{width:17px;height:17px}.reserved-grid .cost-chip{font-size:5px}.action-tray{bottom:calc(var(--dock) + 6px);padding:4px}.action-overlay{inset:38px 0 0}.action-card{padding:14px;min-width:360px}.action-card h3{font-size:20px}.action-visual .dev-card{--card-w:90px}.modal-card{max-height:94dvh;padding:15px}.modal-card h3{font-size:19px}}
@media(orientation:portrait) and (max-width:900px){body>*:not(.rotate-hint){filter:blur(4px);pointer-events:none}.rotate-hint{position:fixed;z-index:999;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#041018f5;color:#edd18b}.rotate-hint div{font-size:55px}.rotate-hint b{font-size:18px}.rotate-hint span{margin-top:5px;color:#8da6af;font-size:11px}}
