:root{color-scheme:dark;--bg:#132b2c;--panel:#1b3636;--cream:#f3ecd9;--gold:#e6c17f;--muted:#a6b8b1;--line:#d8c29336;--green:#8dd1b0;--red:#ed9795;font-family:'Segoe UI',Arial,sans-serif;color:var(--cream);background:var(--bg);font-size:14px}*{box-sizing:border-box}body{margin:0;height:100vh;height:100dvh;overflow:hidden;display:flex;flex-direction:column;background:radial-gradient(ellipse at 60% 0,#274542,transparent 65%),var(--bg)}[hidden]{display:none!important}button,select,input{font:inherit;color:inherit}button,a,select{ -webkit-tap-highlight-color:transparent}button{cursor:pointer;border:1px solid var(--line);border-radius:7px;background:#294442;padding:10px 16px;transition:background .18s,transform .18s}button:hover{background:#365651}button:active{transform:translateY(1px)}button:disabled{opacity:.4;cursor:default}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible{outline:2px solid var(--gold);outline-offset:3px}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:Georgia,'Times New Roman',serif;font-weight:500}small{color:var(--muted)}.primary{color:#25312c;background:var(--gold);border-color:#f5d998;font-weight:700;box-shadow:0 4px 0 #846a41}.primary:hover{background:#f4d398}.primary span{margin-left:25px}.text-button{border:0;background:none;padding:5px 0;color:var(--muted);white-space:nowrap}.text-button:hover{background:none;color:var(--gold)}.eyebrow{display:block;color:var(--gold);font-size:10px;font-weight:600;letter-spacing:2px}.icon-button{padding:5px;min-width:34px;min-height:34px;background:none;font-size:23px;border:0}.app-header{height:78px;flex:none;display:flex;align-items:center;justify-content:space-between;padding:0 3.6%;border-bottom:1px solid var(--line);gap:20px}.brand{display:flex;gap:11px;align-items:center;font-weight:700;letter-spacing:1.4px;font-size:17px;white-space:nowrap}.brand-mark{font-size:42px;line-height:1;color:var(--gold)}.brand small{display:block;font-size:8px;letter-spacing:2.7px;margin-top:5px;color:var(--gold)}.main-nav{display:flex;gap:25px;height:100%;align-items:center}.main-nav button{position:relative;height:100%;padding:0;border:0;background:none;color:var(--muted);font-size:13px;white-space:nowrap}.main-nav button.selected{color:var(--cream)}.main-nav button.selected:after{content:'';position:absolute;height:2px;background:var(--gold);left:0;right:0;bottom:0}.header-profile{display:flex;align-items:center;gap:17px}.coin{color:var(--gold);white-space:nowrap}.coin b{color:var(--cream);font-weight:600;margin-left:4px}.profile-button{padding:0;background:none;border:0;display:flex;align-items:center;gap:9px;max-width:180px;font-size:12px}.profile-button img{width:30px;height:38px;object-fit:contain;image-rendering:pixelated}.profile-button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.app-main{flex:1;min-height:0;overflow:hidden}.page{height:100%;min-height:0;display:flex;flex-direction:column;padding:25px 3.6% 12px;max-width:1800px;margin:auto}.home-page{padding-top:24px}.home-hero{position:relative;flex:1;min-height:230px;overflow:hidden;border:1px solid #c4ad713d;border-radius:12px;background:url('fantasy-v3/home-kingdom.png') center/cover}.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,#0b2428b8 0,#10272b47 39%,transparent 70%)}.hero-copy{position:relative;padding:clamp(24px,3.5vh,48px) 5%;height:100%;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:clamp(10px,1.8vh,20px)}.hero-copy h1{font-size:clamp(34px,4.8vw,70px);line-height:1.08;letter-spacing:-1px;text-shadow:0 3px 16px #001d20}.hero-copy p{font-size:14px;line-height:1.8;color:#d1ddd0}.hero-actions{display:flex;gap:13px;margin-top:7px}.glass{background:#1533339e;border-color:#dbd7b548;backdrop-filter:blur(5px)}.hero-note{position:absolute;right:22px;bottom:20px;font-size:11px;color:#f1efcf;text-shadow:0 2px 5px #000}.live-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#a6deb4;margin-right:6px;box-shadow:0 0 7px #a6deb4}.section-label{display:flex;align-items:center;justify-content:space-between;padding:20px 0 13px}.section-label h2{font-size:22px}.section-label>span{font-size:11px;color:var(--muted)}.mode-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.mode-card{height:112px;position:relative;display:flex;flex-direction:column;text-align:left;align-items:flex-start;background:linear-gradient(120deg,#284340,#1b3435);padding:16px 18px;border-color:#9aa78b38}.mode-card .mode-icon{font-size:25px;color:#d6c798;line-height:1;margin-bottom:10px}.mode-card strong{font-size:15px;font-weight:600}.mode-card small{font-size:11px;margin-top:5px;white-space:nowrap}.card-arrow{position:absolute;right:15px;top:14px;color:var(--gold)}.mode-card.featured{border-color:#c6a367b0;background:linear-gradient(115deg,#35483b,#263e38)}.mode-card.soon{background:#1a3032;color:#9ba9a4}.mode-card.soon .mode-icon{color:#7f9189}.home-footer{min-height:43px;display:flex;align-items:center;gap:20px;color:#8fa59d;font-size:10px}.home-footer>span{flex:1}.home-footer button{font-size:10px}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:1px 0 25px;flex:none}.page-heading h1{font-size:clamp(25px,3vw,39px);margin-top:9px}.page-heading p{font-size:13px;color:var(--muted);margin-top:12px}.setup .page-heading{margin-bottom:18px}.page-heading .text-button{font-size:11px;display:block;margin-bottom:14px}.lobby-options{display:flex;gap:18px;align-items:flex-end;flex-wrap:wrap}.lobby-options label{display:flex;flex-direction:column;gap:6px;color:var(--muted);font-size:11px}.lobby-options select{font-size:12px;background:#1c3635;border:1px solid var(--line);border-radius:6px;padding:9px 12px;min-width:110px}.segmented{display:flex;gap:3px;padding:4px;background:#0f2426;border:1px solid var(--line);border-radius:7px;align-self:flex-start}.segmented button{border:0;background:none;color:var(--muted);padding:8px 17px;font-size:12px}.segmented button.selected{background:#3c5348;color:var(--cream)}.lobby-team-label{text-align:center;font-size:10px;letter-spacing:2px;color:var(--muted);margin:26px 0 14px}.slots{flex:1;min-height:0;max-height:350px;display:flex;gap:14px;align-items:stretch;justify-content:center}.slot{position:relative;width:150px;flex:1;max-width:185px;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;padding:16px 8px 20px;border:1px solid #b3b28a52;border-radius:70px 70px 9px 9px;background:radial-gradient(ellipse at 50% 55%,#49685a70,transparent 70%),linear-gradient(#203e3c,#162f31);overflow:hidden}.slot:before{content:'';position:absolute;inset:10px 10px 9px;border:1px solid #a2966530;border-radius:60px 60px 3px 3px;pointer-events:none}.slot .seat-index{position:absolute;top:18px;font-size:10px;color:var(--gold);letter-spacing:2px}.slot img{width:100%;height:65%;min-height:0;object-fit:contain;image-rendering:pixelated;filter:drop-shadow(0 8px 6px #0005);padding:10px;position:relative}.slot .name{font-size:14px;font-weight:600;text-align:center;margin:6px 0}.slot .status{font-size:10px;color:var(--muted);text-align:center}.slot .hero-name{font-size:11px;color:var(--gold);margin-bottom:8px;text-align:center}.slot.empty{opacity:.55;border-style:dashed;justify-content:center;gap:18px}.slot.empty .empty-icon{font-size:48px;font-weight:100;color:var(--muted)}.slot.ready{border-color:#8db899}.slot.team-1{background:radial-gradient(ellipse at 50% 50%,#78545450,transparent 70%),linear-gradient(#433a38,#283135)}.slot .team-badge{font-size:9px;padding:4px 6px;margin-top:9px;border:1px solid #a1b5994d;border-radius:4px}.vs{font:italic 30px Georgia;color:var(--gold);align-self:center;flex:none;width:35px;text-align:center}.lobby-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:auto;padding-top:20px;padding-bottom:10px}.lobby-footer p{color:var(--muted);font-size:11px;max-width:44%}.lobby-footer>div{display:flex;gap:9px}.lobby-footer .primary{min-width:180px}#room-badge{text-align:right}#room-badge small{font-size:9px;letter-spacing:2px}#room-code{display:block;margin-top:6px;font-size:28px;letter-spacing:6px;color:var(--gold);background:#203c39;padding:6px 15px}.interior-page{padding-top:35px}.balance{font-size:9px;color:var(--muted);letter-spacing:1.5px}.balance strong{display:block;color:var(--gold);font-size:30px;margin-top:8px}.tabs{margin-bottom:23px}.shop-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;min-height:0;flex:1;max-height:360px}.shop-card{display:flex;flex-direction:column;justify-content:flex-end;align-items:center;border:1px solid var(--line);border-radius:10px;padding:23px 15px;background:radial-gradient(circle at 50% 40%,#4b625347,transparent 64%),#1b3535;text-align:center;min-height:0}.shop-art{flex:1;min-height:45px;display:flex;align-items:center;justify-content:center}.shop-art .die{font-size:100px;text-shadow:0 8px 15px #0006;line-height:1}.shop-art .frame-preview{width:90px;height:105px;border:5px double;border-radius:50px 50px 9px 9px;display:flex;justify-content:center;align-items:center}.shop-art img{width:78px;height:98px;object-fit:contain;image-rendering:pixelated}.shop-art .aura-preview{filter:drop-shadow(0 0 18px var(--aura))}.shop-card h3{font-size:21px;margin:15px 0 8px}.shop-card p{color:var(--muted);font-size:11px;margin-bottom:16px}.shop-card button{min-width:115px;font-size:12px}.page-footnote{color:var(--muted);font-size:11px;margin:22px 0}.hero-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:15px;flex:1;min-height:0;max-height:440px}.hero-card{position:relative;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;border:1px solid var(--line);border-radius:70px 70px 9px 9px;padding:25px 10px;background:radial-gradient(ellipse at 50% 50%,#49685a70,transparent 70%),#1b3535}.hero-card.selected{border-color:var(--gold);box-shadow:inset 0 0 25px #e6c17f0a}.hero-card img{flex:1;width:100%;min-height:0;object-fit:contain;image-rendering:pixelated;padding:10px}.hero-card h3{font:600 14px 'Segoe UI',Arial;margin:10px 0}.hero-card small{font-size:10px}.hero-card .equipped{position:absolute;top:15px;color:var(--gold);font-size:9px;letter-spacing:1px}.collection-footer{display:flex;justify-content:space-between;font-size:12px;color:var(--muted);padding:25px 0}.soon-pill{font-size:10px;white-space:nowrap;border:1px solid var(--line);border-radius:30px;padding:9px 13px;color:var(--gold)}.stats-row{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:24px}.stat{padding:18px 22px;border:1px solid var(--line);border-radius:8px;background:#1e3936;color:var(--muted);font-size:11px}.stat strong{display:block;color:var(--cream);font:30px Georgia;margin-top:8px}.ranking-content{min-height:0;flex:1;overflow:visible;border-top:1px solid var(--line)}.rank-row{display:flex;gap:17px;align-items:center;border-bottom:1px solid var(--line);padding:13px}.rank-row img{width:35px;height:44px;object-fit:contain;image-rendering:pixelated}.rank-row .rank-name{flex:1}.rank-row small{font-size:11px}.empty-state{height:100%;min-height:100px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--muted);text-align:center;gap:14px}.empty-state>span{font:40px Georgia;color:var(--gold)}.empty-state h3{font-size:23px;color:var(--cream)}.empty-state p{font-size:12px;line-height:1.7;max-width:360px}
/* Match frame */
.in-match .app-header{height:54px}.in-match .main-nav{display:none}.in-match .brand{font-size:14px}.in-match .brand-mark{font-size:32px}.in-match .brand small{font-size:7px}.in-match #game{height:100%;display:flex;flex-direction:column}.match-toolbar{height:58px;flex:none;display:flex;align-items:center;padding:0 2%;gap:25px;border-bottom:1px solid var(--line)}.match-meta{display:flex;gap:13px;align-items:center;flex:1;font-size:11px;color:var(--muted)}.match-meta strong{font-size:12px;color:var(--cream)}.match-tools{display:flex;gap:7px}.match-tools button{font-size:11px;padding:8px 12px}.boardarea{flex:1;min-height:0;position:relative}.board{height:100%;width:100%;overflow:hidden;background:radial-gradient(ellipse at 50% 50%,#36554a88,transparent 65%);position:relative;isolation:isolate}#iso-board{width:100%;height:100%;display:block;touch-action:none;user-select:none;cursor:grab}#iso-board:active{cursor:grabbing}#camera-world{transition:transform .3s ease}.character-moving #camera-world,#iso-board:active #camera-world{transition:none}.iso-tile{cursor:pointer;outline:none}.iso-tile .selection-edge{opacity:0}.iso-tile:hover .selection-edge,.iso-tile:focus .selection-edge,.iso-tile.selected .selection-edge{opacity:1}.iso-tile image,#actors image{image-rendering:pixelated;pointer-events:none}.active-token ellipse{stroke:var(--gold);stroke-width:2}.center{position:absolute;left:50%;top:49%;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px;width:270px;pointer-events:none}.center button{pointer-events:auto}.center .eyebrow{font-size:9px;letter-spacing:2.5px}#turnLabel{font:21px Georgia;color:#e7d6b4;text-shadow:0 2px 5px #102323}.roll{font-size:14px;min-width:178px;padding:12px 15px}.center #hint{font-size:11px;line-height:1.5;color:var(--muted);max-width:230px;min-height:16px}#endTurn{font-size:12px;padding:8px 14px}.camera-close .center{top:12%;width:240px;background:#142e2de8;border:1px solid var(--line);border-radius:9px;padding:7px;gap:2px}.camera-close .center .eyebrow,.camera-close .center #hint,.camera-close .center .roll{display:none}.camera-close #turnLabel{font-size:15px}.camera-close #endTurn{font-size:11px;padding:5px 12px}.players{position:absolute;inset:15px 18px 55px;display:grid;grid-template-columns:repeat(2,205px);grid-auto-rows:min-content;justify-content:space-between;align-content:space-between;gap:8px;pointer-events:none}.player{position:relative;pointer-events:auto;padding:11px 11px 11px 63px;min-height:86px;border:1px solid var(--line);border-left:3px solid var(--owner);border-radius:9px;background:linear-gradient(110deg,#1e3b37f2,#172e2ef2);font-size:11px;text-align:left}.player .avatar{position:absolute;width:43px;height:61px;left:9px;top:10px;object-fit:contain;image-rendering:pixelated;filter:drop-shadow(0 3px 4px #0006)}.player .top{display:flex;align-items:center;justify-content:space-between;gap:5px;font-size:12px;margin:0 0 6px}.player .top strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:600}.player .money{color:var(--gold);font-size:15px;font-weight:600}.player small{display:block;font-size:10px;margin-top:5px}.player.active{border-color:var(--gold);box-shadow:0 0 0 1px #e6c17f44,0 0 18px #b9a87814}.player.bankrupt{opacity:.4;filter:grayscale(1)}.player .turn-dot{width:5px;height:5px;flex:none;background:var(--gold);border-radius:50%}.camera-controls{position:absolute;bottom:47px;right:15px;display:flex;gap:5px}.camera-controls button{background:#183432ee;border:1px solid var(--line);min-width:36px;min-height:36px;font-size:22px;padding:2px 10px}#tile-caption{position:absolute;bottom:9px;left:50%;transform:translateX(-50%);max-width:calc(100% - 25px);width:max-content;padding:8px 15px;border:1px solid var(--line);border-radius:6px;background:#142d2bee;font-size:11px;text-align:center;pointer-events:none}.connection-note{position:absolute;left:50%;top:10px;transform:translateX(-50%);background:#765137;color:#ffeac1;padding:8px 15px;border-radius:6px;font-size:12px}.just-built{transform-origin:0 8px;animation:construct .5s steps(5,end)}@keyframes construct{from{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}
/* Shared decisions */
.modalbg{position:fixed;inset:0;z-index:100;display:flex;align-items:center;justify-content:center;background:#061a1ac9;backdrop-filter:blur(5px);padding:15px}.modal{position:relative;width:490px;max-width:100%;max-height:calc(100dvh - 30px);overflow:visible;padding:31px;border:1px solid #ceb07899;border-radius:13px;background:radial-gradient(ellipse at top,#2c4840,transparent 70%),#1b3433;box-shadow:0 25px 90px #0007}.modal-close{position:absolute;top:8px;right:9px;font-size:25px;color:var(--muted)}.modal h2{font-size:29px;line-height:1.2;margin:12px 0 19px;padding-right:10px}.modal-text{font-size:13px;line-height:1.7;color:#cfdbce}.modal-text p{margin:8px 0}.modal-text strong{color:var(--cream)}.modal-text .big-price{font:36px Georgia;color:var(--gold);display:block;margin:15px 0}.modal-actions{display:flex;gap:9px;justify-content:flex-end;flex-wrap:wrap;margin-top:23px}.modal-actions button{font-size:13px;padding:10px 17px}.modal-text label{display:block;font-size:11px;color:var(--muted);margin:10px 0}.modal-text input,.modal-text select{display:block;width:100%;padding:10px 12px;margin-top:6px;background:#112b2b;border:1px solid var(--line);border-radius:6px;font-size:14px}.modal-text input[type=checkbox]{display:inline;width:auto;margin:0 8px 0 0;accent-color:var(--gold)}.modal-text input.code-input{font-size:30px;text-align:center;letter-spacing:8px}.modal-text .field-row{display:flex;gap:12px}.field-row>*{flex:1;min-width:0}.decision-timer{margin-top:23px}.decision-timer>div:first-child{display:flex;justify-content:space-between;font-size:11px;color:var(--muted)}.decision-timer b{color:var(--gold);font-variant-numeric:tabular-nums}.timer-track{height:4px;background:#071d1e;border-radius:3px;margin:9px 0}.timer-track i{display:block;height:100%;background:var(--gold);width:100%;border-radius:3px}.decision-timer small{font-size:10px}.asset-list{max-height:39dvh;overflow:visible}.asset-row{border-bottom:1px solid var(--line);padding:10px 0;display:flex;align-items:center;justify-content:space-between;gap:9px}.asset-row small{font-size:10px}.asset-row strong{font-size:12px}.asset-row button{padding:6px 8px;font-size:10px}.asset-row>div:last-child{display:flex;gap:5px}.hero-picker{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.hero-picker button{padding:8px 3px;display:flex;flex-direction:column;align-items:center;font-size:10px}.hero-picker img{width:70px;height:88px;object-fit:contain;image-rendering:pixelated}.auction-value{font:35px Georgia;color:var(--gold);margin:10px 0}.toast{position:fixed;z-index:200;left:50%;bottom:26px;transform:translateX(-50%);max-width:90vw;min-width:220px;text-align:center;background:#e8d6ad;color:#20342f;padding:12px 21px;border-radius:7px;box-shadow:0 5px 35px #0005;font-size:13px}.muted{color:var(--muted)}.gold{color:var(--gold)}
@media(max-width:1000px){.app-header{padding:0 3%;gap:12px}.main-nav{gap:16px}.brand{font-size:14px}.brand-mark{font-size:35px}.brand small{font-size:7px;letter-spacing:2px}.profile-button span{display:none}.header-profile{gap:12px}.page{padding-left:3%;padding-right:3%}.mode-card{padding:13px 12px}.mode-card strong{font-size:13px}.mode-card small{font-size:9px}.lobby-options{gap:12px}.lobby-options select{min-width:90px}.slots{gap:9px}.slot .name{font-size:12px}.hero-grid{gap:9px}.hero-card h3{font-size:12px}}
@media(max-height:730px) and (min-width:701px){.app-header{height:64px}.page{padding-top:15px}.hero-copy{gap:10px;padding-top:22px;padding-bottom:22px}.hero-copy h1{font-size:48px}.hero-copy p{font-size:12px}.hero-copy .eyebrow{font-size:8px}.hero-actions{margin-top:2px}.section-label{padding:14px 0 10px}.mode-card{height:102px}.home-footer{min-height:34px}.page-heading{margin-bottom:18px}.lobby-team-label{margin:17px 0 11px}.setup .page-heading .text-button{margin-bottom:8px}.setup .page-heading h1{font-size:29px}.lobby-footer{padding-top:14px}.hero-card{padding:22px 8px 15px}.shop-card{padding:15px 10px}.shop-card h3{font-size:18px}.shop-art .die{font-size:80px}}
@media(max-width:700px){:root{font-size:12px}.app-header{height:59px;padding:0 15px;gap:8px}.brand{font-size:13px;gap:7px;letter-spacing:1px}.brand-mark{font-size:31px}.brand small{font-size:6px;letter-spacing:1.8px;margin-top:3px}.header-profile{gap:9px}.profile-button img{width:26px;height:33px}.coin{font-size:12px}.icon-button{min-width:28px;font-size:20px}.main-nav{position:fixed;bottom:0;left:0;right:0;height:52px;z-index:50;justify-content:space-around;gap:0;background:#102728fa;border-top:1px solid var(--line);padding-bottom:env(safe-area-inset-bottom)}.main-nav button{font-size:11px;height:100%;padding:0 10px}.main-nav button.selected:after{bottom:8px;left:10px;right:10px;height:1px}.app-main{margin-bottom:52px}.page{padding:14px 15px 5px}.home-hero{min-height:230px;border-radius:9px;background-position:64% center}.hero-shade{background:linear-gradient(90deg,#0d2529d9,#102a2b55 80%)}.hero-copy{padding:21px 20px;gap:13px}.hero-copy .eyebrow{font-size:7px;letter-spacing:1.4px}.hero-copy h1{font-size:clamp(33px,9vw,47px);letter-spacing:-.5px}.hero-copy p{font-size:11px;line-height:1.7}.hero-actions{gap:8px;margin-top:0}.hero-actions button{font-size:10px;padding:10px 11px}.primary span{margin-left:8px}.hero-note{font-size:7px;right:12px;bottom:10px}.section-label{padding:15px 0 10px}.section-label h2{font-size:20px}.section-label>span{font-size:8px}.mode-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:7px}.mode-card{grid-column:span 2;height:90px;padding:12px 9px}.mode-card .mode-icon{font-size:22px;margin-bottom:8px}.mode-card strong{font-size:11px;white-space:nowrap}.mode-card small{font-size:8px;letter-spacing:-.15px}.mode-card.soon{grid-column:span 3;height:55px;padding-left:42px;justify-content:center}.mode-card.soon .mode-icon{position:absolute;left:12px;top:17px;font-size:20px}.mode-card.soon small{margin-top:3px}.card-arrow{top:10px;right:8px;font-size:10px}.home-footer{min-height:33px;gap:12px;font-size:8px}.home-footer>span{font-size:7px;max-width:58%}.home-footer button{font-size:8px}.home-footer #resume-local{margin-left:auto}.page-heading{gap:10px;margin-bottom:20px}.page-heading h1{font-size:26px;margin-top:8px;line-height:1.17}.page-heading p{font-size:10px;line-height:1.6;margin-top:9px}.page-heading .eyebrow{font-size:8px;letter-spacing:1.5px}.page-heading>button{font-size:10px;padding:8px;white-space:nowrap}.page-heading .text-button{font-size:10px;margin-bottom:12px}.setup .page-heading{margin-bottom:17px}.setup .page-heading h1{font-size:25px}.lobby-options{gap:9px;display:grid;grid-template-columns:repeat(3,1fr);align-items:end}.lobby-options label{font-size:9px;gap:4px}.lobby-options select{width:100%;min-width:0;font-size:10px;padding:7px 6px}.lobby-options .segmented{grid-column:span 3;justify-self:center;margin-bottom:4px}.segmented{padding:3px}.segmented button{padding:7px 13px;font-size:10px}.lobby-team-label{margin:19px 0 13px;font-size:8px;letter-spacing:1.5px}.slots{gap:5px;max-height:290px}.slot{border-radius:32px 32px 6px 6px;padding:12px 2px 13px}.slot:before{inset:6px 5px;border-radius:28px 28px 2px 2px}.slot .seat-index{top:13px;font-size:7px;letter-spacing:0}.slot img{height:57%;padding:0 1px}.slot .hero-name{font-size:8px;margin-bottom:4px;line-height:1.35}.slot .name{font-size:9px;line-height:1.3;margin:4px 0;max-width:100%;overflow-wrap:anywhere}.slot .status{font-size:7px}.slot .team-badge{font-size:6px;padding:3px 2px;margin-top:7px}.slot.empty .empty-icon{font-size:30px}.vs{width:15px;font-size:16px}.lobby-footer{flex-direction:column;padding-top:16px;gap:14px}.lobby-footer p{max-width:none;text-align:center;font-size:9px;line-height:1.5}.lobby-footer>div{justify-content:center;width:100%;gap:6px}.lobby-footer button{font-size:10px;padding:9px}.lobby-footer .primary{min-width:150px}#room-badge small{font-size:7px;letter-spacing:1px}#room-code{font-size:20px;letter-spacing:2px;padding:5px 8px}.interior-page{padding-top:24px}.balance{font-size:7px;letter-spacing:.5px;white-space:nowrap}.balance strong{font-size:23px}.tabs{margin-bottom:16px}.shop-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;max-height:none}.shop-card{padding:13px 7px}.shop-art .die{font-size:60px}.shop-art .frame-preview{width:55px;height:65px;border-width:3px}.shop-art img{width:50px;height:62px}.shop-card h3{font-size:16px;margin:10px 0 7px}.shop-card p{font-size:9px;margin-bottom:9px}.shop-card button{font-size:10px;padding:7px;min-width:90px}.page-footnote{font-size:8px;line-height:1.6;margin:15px 0}.hero-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;max-height:none}.hero-card{padding:19px 5px 10px;border-radius:50px 50px 7px 7px}.hero-card img{padding:3px}.hero-card h3{font-size:10px;margin:7px 0}.hero-card small{font-size:8px}.hero-card .equipped{font-size:7px;top:10px}.collection-footer{font-size:9px;padding:17px 0;gap:10px;line-height:1.6}.collection-footer>span{max-width:70%}.collection-footer button{font-size:9px}.soon-pill{font-size:8px;white-space:normal;text-align:center;line-height:1.5;max-width:85px;padding:6px 10px}.stats-row{gap:7px;margin-bottom:18px}.stat{padding:13px 12px;font-size:9px}.stat strong{font-size:25px}.rank-row{gap:10px;padding:10px 3px;font-size:10px}.rank-row img{width:28px;height:36px}.rank-row small{font-size:8px}.empty-state h3{font-size:20px}.empty-state p{font-size:10px}.in-match .app-main{margin-bottom:0}.in-match .app-header{height:43px}.in-match .brand{font-size:11px}.in-match .brand-mark{font-size:26px}.in-match .brand small{font-size:5px}.in-match .header-profile{gap:8px}.in-match .header-profile .profile-button{display:none}.match-toolbar{height:54px;padding:0 10px;gap:10px;flex-wrap:wrap;align-content:center}.match-toolbar #new{font-size:10px}.match-meta{font-size:9px;gap:6px}.match-meta strong{font-size:10px}.match-meta #match-room{display:none}.match-tools{gap:4px}.match-tools button{font-size:9px;padding:7px 6px}.players{inset:12px 9px 48px;grid-template-columns:repeat(2,119px);gap:5px}.player{padding:7px 5px 7px 37px;min-height:61px;border-radius:6px;border-left-width:2px}.player .avatar{width:27px;height:40px;left:5px;top:8px}.player .top{font-size:9px;margin-bottom:4px;gap:2px}.player .money{font-size:12px}.player small{font-size:7px;margin-top:4px}.center{width:53%;top:50%;gap:7px}.center .eyebrow{font-size:6px;letter-spacing:1.4px}#turnLabel{font-size:17px}.roll{font-size:11px;min-width:140px;padding:10px 8px}.center #hint{font-size:8px;line-height:1.5;max-width:160px}#endTurn{font-size:10px;padding:7px 9px}.camera-close .center{top:13%;width:175px;gap:2px;padding:5px}.camera-close #turnLabel{font-size:12px}.camera-close #endTurn{font-size:9px}.camera-controls{right:10px;bottom:43px;gap:4px}.camera-controls button{min-width:30px;min-height:30px;font-size:19px;padding:2px 8px}#tile-caption{font-size:8px;line-height:1.5;padding:6px 8px;max-width:calc(100% - 20px);bottom:6px}.modal{padding:25px 21px}.modal h2{font-size:27px;margin:11px 0 17px}.modal-text{font-size:12px}.modal-actions{margin-top:20px}.modal-actions button{font-size:11px;padding:9px 13px}.decision-timer{margin-top:20px}.connection-note{font-size:10px}.toast{font-size:11px;bottom:65px}.in-match .toast{bottom:22px}}
@media(max-width:700px) and (max-height:730px){.home-page{padding-top:10px}.home-hero{min-height:210px}.hero-copy{padding:18px;gap:10px}.hero-copy h1{font-size:34px}.hero-copy p{font-size:10px}.hero-copy .eyebrow{font-size:6px}.hero-actions button{font-size:9px;padding:9px}.section-label{padding:11px 0 8px}.section-label h2{font-size:18px}.mode-card{height:77px;padding-top:10px}.mode-card .mode-icon{font-size:18px;margin-bottom:7px}.mode-card.soon{height:43px}.mode-card.soon .mode-icon{top:12px}.home-footer{min-height:29px}.setup .page-heading h1{font-size:21px}.lobby-team-label{margin:13px 0 9px}.lobby-footer{gap:10px;padding-top:12px}.slot .name{font-size:8px}.slot .hero-name{font-size:7px}.interior-page{padding-top:16px}.page-heading{margin-bottom:16px}.page-heading h1{font-size:23px}.shop-card{padding:10px 6px}.shop-card h3{font-size:14px}.shop-art .die{font-size:48px}}
@media(max-height:480px){.app-header{height:42px}.page{padding-top:8px}.home-hero{min-height:140px}.hero-copy h1{font-size:30px}.hero-copy{gap:7px;padding:13px 4%}.hero-copy p,.hero-note{display:none}.hero-actions button{padding:7px 10px;font-size:10px}.section-label{padding:9px 0 6px}.section-label h2{font-size:17px}.mode-card{height:75px;padding:10px}.mode-card .mode-icon{font-size:18px;margin-bottom:6px}.mode-card small{font-size:8px}.home-footer{min-height:25px}.page-heading{margin-bottom:10px}.page-heading h1{font-size:23px}.page-heading p{display:none}.lobby-team-label{margin:10px 0 8px}.slot .seat-index{top:8px}.slot{padding:10px 3px}.lobby-footer{padding-top:10px}.in-match .app-header{height:35px}.match-toolbar{height:38px}.players{grid-template-columns:repeat(2,140px);inset:7px 10px 37px}.player{min-height:48px;padding:6px 5px 6px 35px}.player .avatar{width:24px;height:35px;top:6px;left:5px}.player .top{font-size:9px;margin-bottom:3px}.player .money{font-size:11px}.player small{font-size:7px;margin-top:2px}.center{gap:4px}.center .eyebrow,.center #hint{display:none}#turnLabel{font-size:14px}.roll{padding:7px 10px;font-size:11px}.camera-close .center{top:18%}#tile-caption{font-size:8px;padding:5px}.camera-controls{bottom:33px}.camera-controls button{min-width:28px;min-height:28px;font-size:18px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

.reduced-motion #camera-world{transition:none}.reduced-motion .just-built{animation:none}
.players{grid-template-rows:min-content min-content 1fr min-content;align-content:stretch}.player:nth-child(3){grid-column:1;grid-row:4}.player:nth-child(4){grid-column:2;grid-row:4}.player:nth-child(5){grid-column:1;grid-row:2}.player:nth-child(6){grid-column:2;grid-row:2}
@media(max-width:700px){.camera-close .center{top:28%}.center #hint{font-size:10px}#tile-caption{font-size:10px}.player .money{font-size:13px}.home-footer>span{min-width:0;flex:1}.home-footer{gap:8px}}
