:root{--ui-fg: #1f2a37;--ui-muted: #66727f;--ui-line: #e2e7ed;--accent: #2f7cf6;--accent-soft: #e8f0fe}*{box-sizing:border-box}html,body{height:100%;margin:0}body{display:flex;flex-direction:column;overflow:hidden;font-family:Nunito,system-ui,-apple-system,Segoe UI,sans-serif;color:var(--ui-fg);background:linear-gradient(180deg,#c7e1f2,#e4f2fb) center / cover no-repeat}.btn{appearance:none;display:inline-flex;align-items:center;gap:6px;padding:6px 11px;font:inherit;font-weight:800;color:var(--ui-fg);background:#fff;border:1px solid var(--ui-line);border-radius:8px;cursor:pointer}.btn:hover{background:#f6f8fa;border-color:#cdd6e0}.btn.primary{color:#fff;background:var(--accent);border-color:var(--accent)}.btn.primary:hover{background:#2569d8}input[type=range]{accent-color:var(--accent)}output{min-width:34px;font-variant-numeric:tabular-nums;color:var(--ui-muted)}.stage{position:relative;flex:1;min-height:0;overflow:hidden}.help{position:absolute;left:16px;top:65px;z-index:4;max-width:min(400px,calc(100% - 32px));margin:0;padding:8px 12px;font-size:12px;font-weight:700;line-height:1.5;color:var(--ui-muted);background:#ffffffd9;border-radius:10px}.space{cursor:pointer}.space-surface:after{content:"";position:absolute;inset:0;z-index:3;pointer-events:none;transition:background-color .12s,box-shadow .12s}.space:hover>.space-surface:after{box-shadow:inset 0 0 0 .3em var(--accent);background-color:#2f7cf624}.toast{position:fixed;left:50%;bottom:22px;z-index:30;padding:8px 14px;font-weight:800;color:#fff;background:#1f2a37;border-radius:8px;opacity:0;transform:translate(-50%,16px);transition:opacity .2s,transform .2s;pointer-events:none}.toast.show{opacity:1;transform:translate(-50%)}.dice-controls{position:absolute;bottom:20px;left:50%;transform:translate(-50%);z-index:5;display:flex;align-items:center;gap:14px;padding:10px 14px;background:#fffffff2;border:1px solid rgba(255,255,255,.8);border-radius:14px;box-shadow:0 5px 22px #1e374b26}.dice-controls .btn{padding:10px 16px;white-space:nowrap}.dice-controls .btn:disabled{cursor:wait;opacity:.65}.dice-controls output{min-width:125px;font-weight:800;white-space:nowrap}.dice-controls output[data-state=invalid]{color:#a34d0d}.player-controls{position:absolute;top:16px;right:16px;z-index:5;padding:10px 12px;width:228px;background:#fffffff2;border-radius:12px;box-shadow:0 4px 18px #1e374b1f}.player-controls>span,.player-controls>label{display:block;margin-bottom:6px;color:#425166;font-size:12px;font-weight:800}.player-character-choice{display:flex;align-items:center;gap:8px;margin:0 0 9px}#player-portrait{flex:none;object-fit:contain}#player-character{min-width:0;flex:1;width:100%;padding:8px 5px;font:800 12px Nunito,sans-serif;color:var(--ui-fg);background:#f6f8fb;border:1px solid var(--ui-line);border-radius:8px;cursor:pointer}#player-character:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.player-colors{display:flex;justify-content:space-between;gap:7px}.player-color{width:20px;height:20px;padding:0;border:2px solid #fff;border-radius:50%;background:var(--color);cursor:pointer}.player-color[aria-pressed=true]{outline:2px solid var(--color);outline-offset:2px}.player-color:focus-visible{outline:2px solid #253141;outline-offset:2px}.dice-controls .dice-sound{padding:9px;display:flex;align-items:center;justify-content:center}.dice-sound svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.dice-sound .sound-off,.dice-sound[aria-pressed=false] .sound-waves{display:none}.dice-sound[aria-pressed=false] .sound-off{display:initial}.toast{bottom:100px}@media(max-width:720px){.help{display:none}.dice-controls{gap:10px;padding:8px 10px;bottom:16px;width:calc(100% - 32px);max-width:480px}.dice-controls .btn{flex-shrink:0}.dice-controls output{min-width:0;flex:1;white-space:normal;font-size:13px}}.board{position:absolute;left:50%;top:50%;width:var(--board);height:var(--board);margin-left:calc(var(--board) / -2);margin-top:calc(var(--board) / -2);transform-style:preserve-3d;pointer-events:none}.board-top{position:absolute;inset:0;display:grid;grid-template-columns:var(--td) repeat(var(--edge-count),var(--tw)) var(--td);grid-template-rows:var(--td) repeat(var(--edge-count),var(--tw)) var(--td);transform-style:preserve-3d;pointer-events:none}.board-top>*{pointer-events:auto}.board-base{position:absolute;inset:0;background:#7c707a center / cover no-repeat;transform:translateZ(calc(var(--thick) * -1 - .1px));pointer-events:none!important;clip-path:polygon(evenodd,0 0,100% 0,100% 100%,0 100%,0 0,var(--td) var(--td),var(--td) calc(100% - var(--td)),calc(100% - var(--td)) calc(100% - var(--td)),calc(100% - var(--td)) var(--td),var(--td) var(--td))}.center{transform:translateZ(calc(var(--recess, 0px) * -1))}.center:before{content:"";position:absolute;inset:0;z-index:3;pointer-events:none;box-shadow:inset 1em 1em 1.6em -.4em #0f190f8c}.block-wall{position:absolute;left:0;top:100%;width:var(--cell-w);height:var(--thick);transform-origin:0 0;backface-visibility:hidden;--wall-hi: #b9adb5;--wall-lo: #9a8e97;--wall-foot: #7c707a;--lip: rgba(255, 255, 255, .45);--seam: rgba(55, 42, 52, .55);background:linear-gradient(var(--wall-hi),var(--wall-lo) 85%,var(--wall-foot));background-repeat:repeat-x;background-size:auto 100%}.block-wall:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,var(--seam) 0 .1em,transparent .1em calc(100% - .1em),var(--seam) calc(100% - .1em)),linear-gradient(var(--lip) 0 .12em,transparent .12em)}.wall-front{transform:rotateX(-90deg)}.wall-right{left:100%;width:var(--cell-h);transform:rotate(-90deg) rotateX(-90deg)}.wall-back{left:100%;top:0;transform:rotate(180deg) rotateX(-90deg)}.wall-left{top:0;width:var(--cell-h);transform:rotate(90deg) rotateX(-90deg)}.wall-right,.wall-left{--wall-hi: #9f939b;--wall-lo: #81757e;--wall-foot: #665b63;--lip: rgba(255, 255, 255, .3);--seam: rgba(45, 34, 42, .6)}.board-shadow{position:absolute;inset:0;background:#193c5f52;filter:blur(calc(var(--thick) * .9));transform:translateZ(calc(var(--thick) * -1)) translate(3%,3%);pointer-events:none}.objects{position:absolute;inset:0;z-index:2;pointer-events:none}.iso-art{position:absolute;left:0;top:0;max-width:none;transform-origin:0 0;user-select:none;-webkit-user-drag:none}.iso-art[hidden]{display:none}.iso-floor{position:absolute;left:0;top:0;max-width:none;z-index:4;transform-origin:0 0;pointer-events:none;user-select:none}.has-floor .iso-floor{display:none}.corner-label{position:absolute;transform:translate(-50%,-50%);pointer-events:none;margin:0;text-align:center;text-transform:uppercase;font-weight:900;line-height:1.08;letter-spacing:.025em;color:#fff;-webkit-text-stroke:.12em #283122;paint-order:stroke fill;text-shadow:0 .1em .12em rgba(17,25,14,.65)}.house-stack,.board-marker{position:absolute;pointer-events:none}.dice-object{position:absolute;pointer-events:none;transform:translate(-50%,-50%);user-select:none}.dice-shadow{position:absolute;left:15%;top:43%;width:70%;height:14%;border-radius:50%;background:#273e20;filter:blur(.07em);transform-origin:center}.dice-face{position:absolute;inset:0;width:100%;height:100%;transform-origin:center;will-change:transform}.dice-summary[hidden]{display:none}.dice-summary{--roll-color: #30a8c2;position:absolute;transform:translate(-50%,-50%);display:grid;place-items:center;box-sizing:border-box;width:2.65em;height:2.65em;padding:.28em;border:.13em solid #f5f0d8;border-radius:.28em;color:#263948;background:linear-gradient(135deg,#fffef6 0 72%,#e4dec9 73%);box-shadow:0 0 0 .15em #315866,0 .25em 0 .15em #254550,0 .4em .55em #18353635;pointer-events:none;white-space:nowrap;font-weight:900;animation:dice-result-pop .22s ease-out}.dice-summary:before{content:"";position:absolute;inset:-.28em .34em auto;height:.27em;background:var(--roll-color);border:.08em solid #e5f4f1;clip-path:polygon(8% 0,92% 0,100% 100%,0 100%)}.dice-summary:after{content:"";position:absolute;inset:.14em;border:.065em solid #bbbba0;border-radius:.12em;background:radial-gradient(circle at .2em .2em,#76999b .06em,transparent .075em),radial-gradient(circle at calc(100% - .2em) calc(100% - .2em),#76999b .06em,transparent .075em)}.dice-summary strong{font-size:1.62em;line-height:1;text-shadow:0 .04em 0 #fff}.dice-summary span{position:absolute;top:calc(100% + .45em);padding:.15em .6em;font-size:.58em;line-height:1.2;color:#fff8e6;background:var(--roll-color);border-radius:.2em;box-shadow:0 .13em #254550}.dice-summary span:empty{display:none}.dice-summary[data-doubles=true]{color:#a63864}@keyframes dice-result-pop{0%{opacity:0;transform:translate(-50%,-40%) scale(.8)}to{opacity:1;transform:translate(-50%,-50%) scale(1)}}@media(prefers-reduced-motion:reduce){.dice-summary{animation:none}}.space[data-roll-destination] .space-surface:after{content:"";position:absolute;inset:.15em;z-index:8;pointer-events:none;border:.34em solid var(--destination-color, #30a8c2);box-shadow:inset 0 0 0 .16em #fff6df,0 0 0 .08em #fff6df;background:color-mix(in srgb,var(--destination-color, #30a8c2) 13%,transparent)}.roll-destination-anchor{position:absolute;width:0;height:0;pointer-events:none}.roll-destination{position:absolute;display:grid;place-items:center;width:1.65em;height:1.65em;transform:translate(-50%,-50%);box-sizing:border-box;border-radius:50%;color:#34424a;background:#fffbed;border:.16em solid var(--destination-color, #30a8c2);box-shadow:0 .13em #31545d,inset 0 0 0 .06em #fff;font-weight:900;line-height:1;pointer-events:none;user-select:none;animation:dice-result-pop .18s ease-out}@media(prefers-reduced-motion:reduce){.roll-destination{animation:none}}.player-pin{position:absolute;width:0;height:0;pointer-events:none}.player-pin[hidden]{display:none}.player-image{position:absolute;width:0;height:0;max-width:none;user-select:none;-webkit-user-drag:none;animation:character-breathe 3.2s ease-in-out infinite}@keyframes character-breathe{0%,to{transform:scale(1)}50%{transform:scale(1.018,1.035)}}.player-pin[data-moving] .player-image,.player-pin[data-movement=wheelchair] .player-image{animation:none}@media(prefers-reduced-motion:reduce){.player-image{animation:none}}.player-badge{position:absolute;left:0;transform:translate(-50%);display:flex;align-items:center;gap:3px;padding:1px 4px;font:800 9px/1.3 Nunito,sans-serif;white-space:nowrap;background:#fff;color:#253141;border:1px solid var(--pin-color);border-radius:6px}.player-badge:before{content:"";width:5px;height:5px;border-radius:50%;background:var(--pin-color)}.player-pin[data-turn=true] .player-badge{background:#fff8cf;box-shadow:0 0 0 2px #efbd38}.player-gem{position:absolute;left:0;transform:translate(-50%);color:var(--pin-color)}.player-gem svg{display:block;width:100%;height:100%;overflow:visible;filter:drop-shadow(0 2px 1px #14283b30);animation:player-gem-float 2.6s ease-in-out infinite}@keyframes player-gem-float{0%,to{transform:translateY(0)}50%{transform:translateY(-3px)}}@media(prefers-reduced-motion:reduce){.player-gem svg{animation:none}}.model-anchor{position:absolute;width:0;height:0;pointer-events:none}.corner-face.textured{background-size:100% 100%;background-repeat:no-repeat}.c-inicio.textured:before{display:none}.hs-anchor{position:absolute;left:50%;top:50%;width:0;height:0}.tile .hs-anchor{left:86%;top:9%}.vtx{position:absolute;width:0;height:0}.vtx[data-v=top]{left:0;top:0}.vtx[data-v=right]{right:0;top:0}.vtx[data-v=front]{right:0;bottom:0}.vtx[data-v=left]{left:0;bottom:0}.space,.center{position:relative}.center{overflow:hidden}.space{overflow:visible;transform-style:preserve-3d;--cell-w: var(--tw);--cell-h: var(--td)}.space.s-left,.space.s-right{--cell-w: var(--td);--cell-h: var(--tw)}.space.corner{--cell-w: var(--td);--cell-h: var(--td)}.space-surface{position:absolute;inset:0;overflow:hidden;background-color:var(--surface-fill, transparent);background-image:var(--board-image, none);background-size:var(--board) var(--board);background-position:var(--board-x, 0px) var(--board-y, 0px);background-repeat:no-repeat}.space-surface:before{content:"";position:absolute;inset:0;z-index:3;pointer-events:none;box-shadow:inset 0 0 0 .1em #32262e80,inset 0 0 0 .2em #ffffff29}.center{grid-row:2 / var(--center-end);grid-column:2 / var(--center-end)}.floor{position:absolute;z-index:1;background:center / cover no-repeat}.base-art{position:absolute;inset:0;background-repeat:no-repeat}.has-floor .base-art{display:none}.face{position:absolute;z-index:2}.s-bottom,.s-top{--cam-rot: 0deg}.s-left,.s-right{--cam-rot: -90deg}.s-bottom{--face-rot: 0deg}.s-left{--face-rot: 90deg}.s-top{--face-rot: 180deg}.s-right{--face-rot: 270deg}.space{--floor-rot: 0deg}.mode-outer .space{--floor-rot: var(--face-rot, 0deg)}.mode-outer .corner{--floor-rot: var(--corner-rot, 0deg)}.mode-camera .s-left,.mode-camera .s-right{--floor-rot: -90deg}.edge .floor,.edge .face{left:50%;top:50%;width:var(--tw);height:var(--td)}.edge .face{transform:translate(-50%,-50%) rotate(var(--cam-rot))}.edge .floor{transform:translate(-50%,-50%) rotate(var(--floor-rot))}.corner .floor,.corner .face,.center .floor,.center .face{inset:0}.corner .floor{transform:rotate(var(--floor-rot))}.face.tile{display:flex;flex-direction:column;background:var(--g, #e6e1d6)}.face.tile.textured{background-size:100% 100%;background-repeat:no-repeat}.tile .build{flex:1;display:grid;place-items:center}.tile.has-symbol .build{position:relative;min-height:0}.tile-symbol{position:absolute;inset:4% 2%;width:96%;height:92%;object-fit:contain;pointer-events:none}.tile .name{margin:0 .25em .4em;font-size:.92em;text-shadow:0 0 .18em #fff,0 0 .35em #fff,0 0 .5em rgba(255,255,255,.9)}.tile .price{position:relative;flex:0 0 var(--strip, 25.5%);display:grid;place-items:center;background:#ebe2e8;box-shadow:inset 0 .08em #3c322d33}.textured .price{background:none;box-shadow:none}.textured .price .lbl{text-shadow:0 0 .18em #fff,0 0 .35em rgba(255,255,255,.8)}.face.ink-light .name,.face.ink-light .price .lbl{color:#fff;text-shadow:0 .06em 0 rgba(0,0,0,.45),0 0 .2em rgba(0,0,0,.75),0 0 .45em rgba(0,0,0,.5)}.tile.chance .price .lbl{font-size:1.2em;letter-spacing:.08em;text-transform:uppercase}.tile .price .lbl{font-size:1.45em;font-weight:900;letter-spacing:-.02em;color:#2a2f38;white-space:nowrap}.face .name{position:relative;font-weight:800;line-height:1.05;letter-spacing:.03em;text-align:center;text-transform:uppercase;color:#191e28e0}.city:not(.textured) .build{background:repeating-linear-gradient(135deg,rgba(255,255,255,.2) 0 .5em,transparent .5em 1em)}.resort:not(.textured) .build{background:linear-gradient(#8fd6ea 0 34%,#f1dfb2 34%)}.tax:not(.textured) .build{background:repeating-linear-gradient(45deg,#dfe3e9 0 .6em,#d4d9e0 .6em 1.2em)}.tax:not(.textured) .price .lbl{color:#c0392b}.chance{--g: #fbfaf6}.wheel{width:4.6em;height:4.6em;border-radius:50%;background:radial-gradient(circle,#fff 0 14%,transparent 15%),conic-gradient(#ff6b6b 0 45deg,#ffd93d 0 90deg,#6bcb77 0 135deg,#4d96ff 0 180deg,#ff6b6b 0 225deg,#ffd93d 0 270deg,#6bcb77 0 315deg,#4d96ff 0);box-shadow:0 0 0 .3em #fff,0 0 0 .42em #0000001f}.face.corner-face{display:flex;flex-direction:column;align-items:center;justify-content:space-between;padding:1.1em .8em 1em;text-align:center}.corner-face .icon{position:relative;font-size:3em;line-height:1}.corner-face .name{font-size:1.15em;font-weight:900;line-height:1.1}.corner-text{display:flex;flex-direction:column;align-items:center;gap:.15em}.corner-face .sub{position:relative;font-size:.9em;font-weight:700;color:#191e2899}.c-inicio{background:#f6f5ef}.c-inicio:before{content:"";position:absolute;inset:.8em;border:.35em solid #3b82f6;border-radius:.6em}.c-ilha{background:radial-gradient(circle,#f4e3b5 0 38%,#e7cf92 38% 42%,#8fd8ec 42%)}.c-campeonato{background:linear-gradient(135deg,#d6c8f5,#b9a5ec)}.c-volta{background:linear-gradient(135deg,#c9ecfc,#9ed2f2)}.center-face{background:#9aa0a8}.center-face .road-line{position:absolute;inset:1.6em;border:.25em dashed rgba(255,255,255,.8);border-radius:.4em}.center-face .field{position:absolute;inset:3.4em;display:grid;place-items:center;border-radius:.6em;background:repeating-linear-gradient(90deg,#92cf5f 0 6em,#88c656 6em 12em);box-shadow:0 0 0 .5em #ebe5d3}.center-face .logo{font-size:5.4em;font-weight:900;line-height:.95;letter-spacing:.02em;text-align:center;color:#ffffffeb;text-shadow:0 .06em 0 rgba(40,90,30,.35)}.bare .face,.bare .face *{background:none!important;box-shadow:none!important;border-color:transparent!important}.bare .face:before,.bare .face:after,.bare .face *:before,.bare .face *:after,.bare .deco{display:none!important}.bare .lbl{visibility:hidden}.show-labels .bare .lbl{visibility:visible;padding:.1em .45em;border-radius:.3em;background:#ffffffe0!important}.multiplayer-panel,.multiplayer-toggle{position:fixed;left:16px;top:16px;z-index:25;background:#fffffff7;border:1px solid var(--ui-line);border-radius:16px;box-shadow:0 8px 28px #1e374b2e}.multiplayer-panel{width:310px;padding:18px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);overflow-y:auto}.multiplayer-panel h1{margin:0 0 5px;font-size:20px;font-weight:900}.multiplayer-panel p{margin:6px 0 14px;font-size:13px;line-height:1.5}.multiplayer-panel .btn{justify-content:center;font:800 13px Nunito,sans-serif;padding:10px 14px}.multiplayer-panel .btn:disabled{opacity:.55;cursor:wait}.multiplayer-panel label{display:block;margin:16px 0 7px;font-size:13px;font-weight:800}.multiplayer-panel input{width:100%;min-width:0;border:1px solid #c9d4e2;border-radius:8px;padding:10px;text-transform:uppercase;font:900 17px Nunito,sans-serif;letter-spacing:.2em;color:var(--ui-fg)}.multiplayer-panel input:focus-visible,.multiplayer-panel button:focus-visible,.multiplayer-toggle:focus-visible{outline:3px solid var(--accent);outline-offset:3px}.multiplayer-actions{display:flex;gap:8px;align-items:center}.multiplayer-actions input{flex:1}#multiplayer-create,#multiplayer-start{width:100%}.multiplayer-create-controls{display:grid;grid-template-columns:100px minmax(0,1fr);gap:10px;align-items:end}.multiplayer-panel .multiplayer-create-controls label{margin:0}.multiplayer-panel #match-duration-minutes{display:block;margin-top:4px;letter-spacing:0;text-transform:none}.multiplayer-panel .multiplayer-create-controls #multiplayer-create{margin:0}#waiting-duration{white-space:nowrap}.multiplayer-room-code{display:flex;align-items:center;gap:12px;margin:10px 0}#multiplayer-code{font:900 27px Nunito,sans-serif;letter-spacing:.15em}.multiplayer-room-label{color:var(--ui-muted);font-size:12px;font-weight:800;text-transform:uppercase}#multiplayer-status{color:#425166;margin:12px 0}#multiplayer-status.multiplayer-error{color:#a32f27}#multiplayer-network{color:#986221;font-size:12px}.multiplayer-request{padding:12px;margin:12px 0;border:1px solid #bdd4f6;border-radius:10px;background:var(--accent-soft)}.multiplayer-request strong{font-size:13px}.multiplayer-request .multiplayer-actions{justify-content:flex-end}.multiplayer-panel .multiplayer-secondary{width:100%;margin-top:8px;color:var(--ui-muted)}.multiplayer-toggle{padding:10px 15px;color:var(--ui-fg);font:900 13px Nunito,sans-serif;cursor:pointer}.multiplayer-expanded .help,.multiplayer-online .help{display:none}.multiplayer-turn{position:absolute;left:16px;top:65px;z-index:5;width:275px;max-width:calc(100vw - 32px);padding:12px;background:#fffffff5;border:1px solid var(--ui-line);border-radius:12px;box-shadow:0 4px 18px #1e374b1f;pointer-events:auto}.multiplayer-turn[hidden],.multiplayer-expanded .multiplayer-turn{display:none}.multiplayer-turn p{margin:0 0 8px;font-weight:900;font-size:13px}.multiplayer-turn[data-own-turn=true]{border-color:var(--accent)}.multiplayer-turn .multiplayer-first-player{font-size:11px;font-weight:700;color:var(--ui-muted)}.multiplayer-turn ol{display:grid;gap:6px;margin:0;padding:0;list-style:none}.multiplayer-turn li{display:grid;grid-template-columns:9px 1fr auto;align-items:center;gap:7px;padding:5px;border-radius:6px;font-size:11px;font-weight:800}.multiplayer-turn li[data-current=true]{background:var(--accent-soft)}.multiplayer-turn small{color:var(--ui-muted)}.multiplayer-player-dot{width:9px;height:9px;border-radius:50%}.multiplayer-panel[hidden],.multiplayer-toggle[hidden],.multiplayer-panel [hidden]{display:none}@media(max-width:620px){.multiplayer-toggle{max-width:132px;font-size:12px;line-height:1.3;text-align:left}.multiplayer-turn{top:168px;width:calc(100% - 32px);padding:9px}.multiplayer-turn p{margin-bottom:5px;font-size:12px}.multiplayer-turn .multiplayer-first-player{font-size:10px}.multiplayer-turn ol{gap:4px}.multiplayer-turn li{padding:3px;font-size:10px}.multiplayer-panel{left:50%;transform:translate(-50%)}.multiplayer-expanded .player-controls{visibility:hidden}.multiplayer-panel{max-height:calc(100dvh - 105px)}}.rules-panel{position:fixed;right:24px;top:50%;transform:translateY(-50%);z-index:50;width:370px;max-height:calc(100vh - 48px);overflow-y:auto;box-sizing:border-box;padding:24px;background:#fffffffa;border:1px solid var(--ui-line);border-radius:18px;box-shadow:0 16px 60px #1727383d;color:var(--ui-fg);font:800 14px Nunito,sans-serif}.rules-panel[hidden],.game-notice[hidden]{display:none}.rules-panel h2{margin:0 0 12px;font-size:27px;line-height:1.15}.rules-panel p{line-height:1.5}.rules-panel .rules-eyebrow{margin:0 0 6px;color:var(--accent);font-size:11px;letter-spacing:.12em}.rules-category{color:var(--ui-muted)}.rules-stat{display:flex;justify-content:space-between;gap:12px}.rules-stat span{color:var(--ui-muted)}.rules-stat strong{white-space:nowrap;font-variant-numeric:tabular-nums}.rules-panel .btn{width:100%;margin-top:8px;padding:12px;white-space:normal}.rules-panel .btn:disabled{opacity:.45;cursor:default}.rules-levels{display:flex;gap:4px;list-style:none;padding:0;margin:16px 0}.rules-levels li{flex:1;padding:10px 2px;text-align:center;border-radius:5px;background:#f1f3f5;color:#7b8692;font-size:10px}.rules-levels li[data-reached=true]{background:var(--accent-soft);color:var(--accent)}.rules-timer{padding:8px;text-align:center;border-radius:8px;background:var(--accent-soft);color:var(--accent)}.rules-observer{color:var(--ui-muted);font-size:12px}.rules-confirm{background:#fff2db;border-radius:8px;padding:12px}.rules-panel .rules-danger{color:#c0392b}.game-notice{position:fixed;top:16px;left:50%;transform:translate(-50%);margin:0;max-width:calc(100vw - 650px);text-align:center;z-index:15;padding:8px 14px;border-radius:8px;background:#ffffffeb;color:var(--ui-fg);font:800 12px Nunito,sans-serif;pointer-events:none}.space[data-owned=true] .price .lbl{display:flex;flex-direction:column;align-items:center;line-height:1;font-size:1.15em}.space[data-owned=true] .price .lbl small{font-size:.55em;margin-bottom:.1em}.festival-tag{position:absolute;top:2%;left:3%;right:3%;text-align:center;color:#713b07;font-size:.55em;font-weight:900;background:#ffe08b;border-radius:.2em;pointer-events:none}.multiplayer-turn li[data-eliminated=true]{opacity:.6}.multiplayer-turn .player-funds{grid-column:2 / 4;font-size:11px;font-variant-numeric:tabular-nums}.multiplayer-request select{width:100%;padding:8px;margin-bottom:8px;font:inherit}:root{--ui-fg: #203f3d;--ui-muted: #6c7c76;--ui-line: #dce3d8;--accent: #24766b;--accent-soft: #e3eee5;--paper: #fffdf5;--gold: #dbab4e}body{background:radial-gradient(ellipse at 51% 42%,#f0f3e5,#dcece5 52%,#c5dcd7);cursor:default}body,body *{-webkit-user-select:none;user-select:none}body :is(input,textarea,[contenteditable=true],[contenteditable=""]){-webkit-user-select:text;user-select:text}body:before{content:"";position:fixed;inset:0;pointer-events:none;opacity:.17;background-image:linear-gradient(30deg,transparent 49.6%,#9bb9ac 50%,transparent 50.4%),linear-gradient(150deg,transparent 49.6%,#9bb9ac 50%,transparent 50.4%);background-size:120px 70px}[hidden],.player-controls[hidden],.ui-card[hidden],.game-sidebar[hidden]{display:none!important}button,a,select,input,.space{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,.space:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid #d69d36;outline-offset:4px}.ui-symbols{position:absolute;width:0;height:0;overflow:hidden}.ui-icon,.ui-icon-button svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}.ui-icon-button{display:inline-flex;align-items:center;justify-content:center;width:43px;height:43px;padding:9px;color:#315651;background:var(--paper);border:1px solid #d0ddd1;border-radius:11px;box-shadow:0 3px #bfd0c1;cursor:pointer;transition:background .15s,transform .15s,box-shadow .15s}.ui-icon-button:hover{background:#f3eddd;transform:translateY(-1px)}.ui-icon-button:active{transform:translateY(2px);box-shadow:0 1px #bfd0c1}.ui-eyebrow{display:block;font-size:10px;font-weight:900;letter-spacing:.14em;color:#718078;line-height:1.5}.game-header{position:fixed;inset:0 0 auto;height:94px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 28px;z-index:70;background:linear-gradient(#e4ece2f5,#e4ece2b3 80%,transparent)}.game-brand{display:flex;align-items:center;gap:12px;color:#224f46;text-decoration:none}.game-brand>svg{color:#dca54c;width:38px;height:44px;filter:drop-shadow(0 3px 0 #ba8534)}.game-brand>span{font-size:11px;letter-spacing:.25em;font-weight:900;line-height:1.25}.game-brand strong{display:block;font-size:21px;letter-spacing:-.025em}.table-label{text-align:center;position:absolute;left:50%;transform:translate(-50%);font-size:10px;letter-spacing:.12em;font-weight:900}.table-label small{display:block;margin-top:5px;font-size:11px;color:#6f8276;font-weight:700;letter-spacing:0}.live-dot{display:inline-block;width:6px;height:6px;margin:0 6px 1px 0;background:var(--accent);border-radius:50%}.header-actions{display:flex;gap:9px}.btn{justify-content:center;border-radius:10px;min-height:40px;background:var(--paper);color:var(--ui-fg);border:1px solid #cdd8ca;box-shadow:0 3px #d4decf;transition:background .15s,transform .15s,box-shadow .15s}.btn:hover{background:#f3efdf;border-color:#a9c0ad}.btn:active:not(:disabled){transform:translateY(2px);box-shadow:0 1px #c4d1bf}.btn.primary{background:linear-gradient(135deg,#358878,#246d63);border:1px solid #1c6256;box-shadow:0 4px #164d43,inset 0 1px #ffffff28}.btn.primary:hover{background:linear-gradient(135deg,#439585,#28796b)}.btn.primary:active:not(:disabled){box-shadow:0 1px #164d43}.btn:disabled{cursor:default;opacity:.5;box-shadow:none}.ui-card{background:var(--paper);border:1px solid #d8dfd0;border-radius:16px;padding:20px;box-shadow:0 5px #bacbbe66,0 12px 35px #1e4a3810}.ui-card h2{font-size:20px;line-height:1.22;letter-spacing:-.025em;margin:9px 0;font-weight:900}.ui-card p{font-size:12px;line-height:1.6}.help{left:50%;top:auto;bottom:156px;transform:translate(-50%);max-width:none;white-space:nowrap;color:#466c5f;background:transparent;font-size:13px;letter-spacing:.015em}.match-active .help{display:none}.player-controls{position:fixed;top:116px;right:28px;width:264px;padding:18px 20px;background:var(--paper);border:1px solid #d8dfd0;box-shadow:0 5px #bacbbe66,0 12px 35px #1e4a3810;border-radius:16px;z-index:80;visibility:visible!important}.profile-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.profile-heading .ui-icon-button{width:25px;height:25px;padding:4px;border:0;box-shadow:none;background:transparent}.player-controls>span,.player-controls>label{font-size:11px;color:#718078}.player-character-choice{margin-bottom:16px;gap:12px}#player-portrait{width:42px;height:64px}#player-character{font-size:11px;border-color:#dbe0d2;background:#f4f3e9;padding:12px 5px;border-radius:8px}.player-color{width:23px;height:23px;border:3px solid var(--paper);box-shadow:0 2px #bbc8bc;border-radius:7px;transform:rotate(-8deg)}.player-color[aria-pressed=true]{outline-offset:2px}.multiplayer-turn,.multiplayer-expanded .multiplayer-turn{position:fixed;display:block;left:28px;top:116px;width:214px;padding:0;background:transparent;border:0;box-shadow:none;z-index:20}.multiplayer-turn[data-own-turn=true]{border:0}.multiplayer-turn #multiplayer-turn-status{font-size:11px;line-height:1.4;font-weight:800;color:#5b796b;margin:0 0 17px}.multiplayer-turn .players-caption{display:flex;justify-content:space-between;align-items:center;font-size:10px;color:#718078;letter-spacing:.1em;margin-bottom:10px}.players-caption span{font-size:10px;letter-spacing:0;font-weight:700}.multiplayer-first-player{display:none!important}.multiplayer-turn ol{gap:12px}.multiplayer-turn li{position:relative;grid-template-columns:48px 1fr;column-gap:12px;row-gap:0;padding:16px 14px 13px;background:var(--paper);border:1px solid #d8dfd0;border-radius:13px;box-shadow:0 4px #becdbe80;overflow:hidden}.multiplayer-turn li:before{content:"";position:absolute;top:0;bottom:0;left:0;width:4px;background:var(--player-color)}.multiplayer-turn li[data-current=true]{background:#fffdf5;border-color:var(--player-color);box-shadow:0 4px color-mix(in srgb,var(--player-color) 35%,#bccaba)}.multiplayer-turn li[data-current=true] .player-card-turn{color:var(--player-color)}.player-card-portrait{width:46px;height:75px;object-fit:contain;grid-column:1;grid-row:1 / 5;align-self:start;filter:drop-shadow(0 3px 1px #203f3d12)}.multiplayer-player-dot{position:absolute;width:7px;height:7px;top:17px;right:14px;border-radius:2px;transform:rotate(45deg)}.player-card-name{grid-column:2;grid-row:1;font-size:16px;font-weight:900;line-height:1.2;padding-right:6px}.multiplayer-turn .player-card-character{grid-column:2;grid-row:2;font-size:9px;line-height:1.35;margin-top:4px;font-weight:700;color:#758479}.multiplayer-turn .player-card-place{grid-column:2;grid-row:3;font-size:10px;color:#45675a;margin-top:5px}.player-card-turn{grid-column:2;grid-row:4;margin-top:6px;font-size:7px;letter-spacing:.05em;color:#899286}.multiplayer-turn .player-funds{grid-column:1 / 3;margin-top:12px;padding-top:10px;border-top:1px solid #e4e8dc;display:flex;flex-direction:column;gap:3px}.player-funds>small:first-child{font-size:7px;letter-spacing:.12em;color:#819082}.player-funds strong{font-size:22px;line-height:1.15;letter-spacing:-.035em;font-weight:900;color:#234f44}.multiplayer-turn .player-card-assets{font-size:10px;color:#78847a}.player-money-change{position:absolute;right:12px;top:86px;padding:3px 6px;border-radius:5px;background:#f7e6dd;color:#af5e43;font-size:9px;font-weight:900;box-shadow:0 2px #dbc4b6}.player-money-change[data-positive=true]{background:#e3efcf;color:#4d8045;box-shadow:0 2px #c6d7b8}.portfolio-toggle{width:100%;margin-top:16px;font-size:11px;gap:8px}.portfolio-toggle>span{margin-left:auto;min-width:22px;padding:2px 4px;background:#e6ecdd;border-radius:5px;font-size:11px}.game-sidebar{position:fixed;right:28px;top:116px;width:264px;z-index:20;display:flex;flex-direction:column;gap:18px;max-height:calc(100dvh - 280px);overflow-y:auto;scrollbar-width:thin;padding-bottom:6px}.board-guide{padding:20px}.board-guide h2{font-size:21px}.board-guide>p{color:#7b8579;font-size:11px;line-height:1.7;margin:10px 0 16px}.city-illustration{width:100%;height:110px;display:block;margin:13px auto 8px}.board-legend{display:flex;flex-direction:column;gap:7px;border-top:1px solid #e5e7da;padding-top:12px;color:#708173;font-size:10px;font-weight:700}.legend-dot{display:inline-block;width:7px;height:7px;transform:rotate(45deg);margin-right:7px}.legend-dot.available{background:#cad7c0}.legend-dot.owned{background:#337d70}.legend-dot.festival{background:#d8a449}.card-heading{display:flex;align-items:center;justify-content:space-between;gap:5px}.card-heading .ui-eyebrow{font-size:8px;letter-spacing:.1em}.activity-live{font-size:7px;color:#719574;letter-spacing:.08em;white-space:nowrap}.activity-card{padding:17px}#activity-feed{margin:13px 0 0;padding:0;list-style:none}#activity-feed li{display:flex;align-items:flex-start;gap:9px;font-size:10px;font-weight:700;line-height:1.55;color:#718173;padding:9px 0;border-bottom:1px solid #ececdd}#activity-feed li:first-child{color:#315b4d;padding-top:0}#activity-feed li:last-child{border-bottom:0;padding-bottom:0}.activity-icon{display:flex;justify-content:center;align-items:center;width:21px;height:21px;flex:none;color:#7e986f;background:#edf0df;border-radius:5px;font-size:13px}.activity-cash .activity-icon{color:#b9913c;background:#f8f0d8}.property-inspector{position:fixed;right:28px;top:116px;width:264px;z-index:35}.property-inspector:not([hidden])~*{--inspecting: 1}body:has(.property-inspector:not([hidden])) .activity-card{margin-top:330px}.inspector-close{position:absolute;top:10px;right:10px;border:0;width:26px;height:26px;background:transparent;box-shadow:none;font-size:23px;color:#8b9386}.property-inspector .ui-eyebrow,.portfolio-panel .ui-eyebrow{font-size:8px;padding-right:14px}.inspector-stat{display:flex;justify-content:space-between;gap:10px;border-bottom:1px solid #e8e9dc;padding:8px 0;margin:0}.inspector-stat>span{color:#778476;font-size:10px}.inspector-stat strong{font-size:12px;font-variant-numeric:tabular-nums;white-space:nowrap}.property-owner{color:var(--owner-color, #6b8f63);padding:7px 9px;background:#edf0e3;border-radius:6px;font-weight:900;font-size:10px!important}.inspector-description{color:#798276;font-size:10px!important;margin-bottom:0}.portfolio-panel{position:fixed;left:256px;top:166px;width:300px;max-height:calc(100dvh - 340px);overflow-y:auto;z-index:60;box-shadow:0 8px #afc2ae66,0 20px 55px #163e3526}.portfolio-property{width:100%;display:flex;flex-direction:column;gap:5px;text-align:left;padding:12px;margin-top:8px;color:var(--ui-fg);background:#f1f3e8;border:1px solid #dce1d0;border-radius:8px;font:inherit;cursor:pointer}.portfolio-property:hover{background:#e3ebd9}.portfolio-property strong{font-size:12px}.portfolio-property span{font-size:10px;color:#788276}.dice-controls{position:fixed;bottom:26px;left:50%;transform:translate(-50%);width:calc(100% - 80px);max-width:1040px;min-height:104px;padding:20px 24px;gap:20px;background:var(--paper);border:1px solid #d5ded0;border-radius:17px;box-shadow:0 6px #b4c6b6,0 16px 45px #31583d14;z-index:40}.dice-controls:before{content:"";position:absolute;left:0;top:23px;bottom:23px;width:4px;background:#cdd7c0;border-radius:0 4px 4px 0}.dice-controls[data-own-turn=true]:before{background:var(--accent)}.turn-copy{flex:1;min-width:0}.turn-copy .ui-eyebrow{color:#9b8d60;font-size:8px}.turn-copy h2{font-size:17px;font-weight:900;line-height:1.2;letter-spacing:-.02em;margin:4px 0 5px}.turn-copy p{font-size:10px;color:#7c8778;line-height:1.35;margin:0}.turn-steps{display:flex;align-items:center;gap:12px;list-style:none;margin:0 5px;padding:0}.turn-steps li{display:flex;align-items:center;gap:5px;color:#a4ad9d;font-size:9px;font-weight:800}.turn-steps li>span{display:flex;align-items:center;justify-content:center;width:20px;height:20px;border:1px solid #dce2d1;border-radius:6px;font-size:9px}.turn-steps li[data-current=true]{color:#2b7565}.turn-steps li[data-current=true]>span{color:#fff;background:#2b7565;border-color:#2b7565}.roll-action{flex:none;min-width:166px;display:flex;flex-direction:column;align-items:stretch;gap:8px}.dice-controls #roll-dice{min-height:46px;padding:11px 16px;font-size:13px;font-weight:900}.dice-controls #roll-dice:before{content:"";width:18px;height:18px;border:2px solid currentColor;border-radius:4px;background:radial-gradient(circle at 27% 27%,currentColor 0 1px,transparent 1.5px),radial-gradient(circle at 73% 73%,currentColor 0 1px,transparent 1.5px),radial-gradient(circle at 50% 50%,currentColor 0 1px,transparent 1.5px);transform:rotate(-12deg);margin-right:3px}.roll-detail{display:flex;align-items:center;justify-content:center;gap:8px}.dice-controls output{min-width:0;font-size:9px;font-weight:800;color:#6d8272}kbd{padding:2px 4px;color:#8d9688;border:1px solid #dce2d4;border-radius:3px;font:800 7px Nunito,sans-serif}.dice-controls .dice-sound{width:36px;height:36px;min-height:36px;padding:8px;color:#8b9b8b;background:transparent;border-color:transparent;box-shadow:none}.dice-controls .dice-sound svg{width:18px;height:18px}.header-actions .multiplayer-toggle{position:static;display:inline-flex;border-radius:11px;padding:9px;max-width:none;font-size:inherit}.multiplayer-panel{left:50%;top:50%;transform:translate(-50%,-50%);width:420px;max-height:calc(100dvh - 130px);padding:34px;color:#244c40;background:var(--paper);border:1px solid #d7ddcc;border-radius:20px;box-shadow:0 7px #b7c7b3,0 28px 80px #18453633;z-index:85}.multiplayer-panel .lobby-eyebrow{color:#a48b51;font-size:9px}.multiplayer-panel h1{font-size:35px;line-height:1.08;margin:12px 0 14px;letter-spacing:-.055em}.multiplayer-panel p{font-size:12px;color:#7d8677;line-height:1.65;margin:10px 0 20px}.multiplayer-panel .lobby-play{min-height:66px;width:100%;margin:8px 0 0;gap:14px;padding:13px 18px;font-size:15px}.lobby-play>span{flex:1;text-align:left}.lobby-play small{display:block;color:#cde2ca;font-size:10px;font-weight:700;margin-top:3px}.lobby-play>.ui-icon:first-child{width:28px;height:28px}.lobby-divider{display:flex;align-items:center;gap:10px;margin:27px 0 12px;color:#99a08d;font-size:8px;font-weight:900;letter-spacing:.1em}.lobby-divider:before,.lobby-divider:after{content:"";flex:1;height:1px;background:#e4e6d7}.multiplayer-panel .multiplayer-secondary{color:#3c6351;background:#f2f4e7;font-size:12px;min-height:42px}.multiplayer-panel label{font-size:10px;color:#899481;margin:18px 0 6px}.multiplayer-panel input{background:#f5f4ea;border-color:#dbe0d0;font-size:14px}.multiplayer-panel .multiplayer-actions .btn{font-size:11px;white-space:nowrap;padding:10px 12px}.multiplayer-panel #multiplayer-status{font-size:10px;margin:18px 0 0;color:#8a9480}.multiplayer-expanded .stage:after{content:"";position:absolute;inset:94px 0 0;z-index:24;background:#dbe7d248;pointer-events:none}.multiplayer-expanded:not(.match-active) .dice-controls{visibility:hidden}.rules-panel{right:28px;top:116px;transform:none;width:264px;max-height:calc(100dvh - 280px);padding:21px;color:var(--ui-fg);background:var(--paper);border:1px solid #d8dfd0;border-radius:16px;box-shadow:0 5px #bacbbe99,0 12px 35px #1e4a3810;z-index:45;font-size:11px}.rules-panel .rules-eyebrow{font-size:8px;letter-spacing:.12em;color:#a58a48}.rules-panel h2{font-size:25px;font-weight:900;letter-spacing:-.04em;margin:6px 0}.rules-panel p{font-size:11px;line-height:1.55}.rules-category{color:#819079;font-size:10px!important;margin:5px 0 12px}.rules-stat{padding:7px 0;border-bottom:1px solid #e8e9dc;margin:0;font-size:11px}.rules-stat strong{font-size:12px}.rules-stat span{font-size:10px;color:#7d8a78}.rules-panel .btn{font-size:11px;padding:10px;min-height:42px;margin-top:11px;line-height:1.3}.rules-panel .btn.primary{min-height:45px}.rules-panel .btn[data-action=decline]{background:transparent;box-shadow:none;min-height:32px;border:0;color:#80907c;margin-top:8px;padding:6px}.rules-levels{gap:3px;margin:16px 0}.rules-levels li{padding:8px 1px;background:#edf0e2;color:#9aa58d;font-size:8px;border-radius:4px}.rules-levels li[data-reached=true]{background:#d7e4ce;color:#4b7954}.rules-levels li[data-next=true]{outline:1px solid #749b68;background:#f1f5e5;color:#567e53}.rules-levels li{display:flex;flex-direction:column;align-items:center;justify-content:end;gap:8px;min-height:55px}.level-building{position:relative;display:block;width:10px;height:calc(4px + var(--level) * 3px);margin:0 4px;background:#bfd0ad;transform:skewY(25deg)}.level-building:before{content:"";position:absolute;top:0;left:100%;width:7px;height:100%;background:#95af8d;transform:skewY(-42deg);transform-origin:left top}.level-building:after{content:"";position:absolute;width:10px;height:7px;left:0;bottom:100%;background:#e5c478;transform:skew(-47deg);transform-origin:left bottom}.rules-levels li[data-reached=true] .level-building{background:#4b8a68}.rules-levels li[data-reached=true] .level-building:before{background:#306247}.rules-timer{background:#f1ebd9;color:#a1833c;margin-bottom:12px;font-size:10px!important;position:relative;overflow:hidden}.rules-timer:after{content:"";position:absolute;left:0;bottom:0;height:3px;width:var(--remaining, 100%);background:#d5ad50;transition:width .1s linear}.rules-timer[data-urgent=true]{color:#ae4c39;background:#f8e9dd}.rules-timer[data-urgent=true]:after{background:#cc7051}.rules-impact{padding:12px;background:#edf2e1;border-radius:8px;margin:12px 0 5px!important;font-size:10px!important;color:#76866d}.rules-impact strong{display:block;color:#365f46;font-size:19px;font-weight:900;margin-top:3px;letter-spacing:-.025em}.rules-impact[data-affordable=false]{background:#f7e8df;color:#a66846}.rules-impact[data-affordable=false] strong{color:#aa6245;font-size:12px}.rules-panel .rules-observer{background:#eeeede;padding:9px;border-radius:7px;font-size:10px}.has-decision .activity-card{display:none}.game-notice{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.space[data-selected=true]>.space-surface:after,.space:focus-visible>.space-surface:after{box-shadow:inset 0 0 0 .3em #efbf54;background:#e9ba531c}.space:hover>.space-surface:after{box-shadow:inset 0 0 0 .22em #2b7969;background:#24776f14}.space[data-owned=false] .price .lbl{font-size:.95em;color:#647365;font-weight:800}.space[data-owned=true] .price .lbl{color:#344837}.festival-tag{background:#eac261;color:#755322}.toast{bottom:153px;border-radius:10px;font-size:12px;background:#214c41;box-shadow:0 4px #123f34;z-index:90}.how-to-dialog{width:510px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 72px);padding:34px;color:var(--ui-fg);border:1px solid #cbd8c6;border-radius:18px;background:var(--paper);box-shadow:0 7px #b7c7b3,0 25px 100px #143b3555}.how-to-dialog::backdrop{background:#183e3555;backdrop-filter:blur(4px)}.dialog-close{position:absolute;right:17px;top:17px;width:30px;height:30px;box-shadow:none;border:0}.how-to-dialog h2{font-size:30px;line-height:1.15;letter-spacing:-.045em;font-weight:900;margin:10px 0}.how-to-dialog>p{font-size:12px;color:#788570}.how-to-steps{list-style:none;padding:0;margin:25px 0;display:flex;flex-direction:column;gap:18px}.how-to-steps li{display:flex;gap:14px}.how-to-steps li>span{color:#bc9852;font-size:20px;font-weight:900}.how-to-steps h3{margin:0 0 5px;font-size:13px}.how-to-steps p{margin:0;color:#7b8674;font-size:11px;line-height:1.6}.how-to-dialog>.btn{width:100%;font-size:12px;padding:12px}@media(min-width:760px)and (max-width:1099px){.game-header{padding:20px}.multiplayer-turn{left:20px;width:186px}.game-sidebar,.rules-panel,.property-inspector,.player-controls{right:20px;width:228px}.multiplayer-turn li{padding:13px 11px;gap:8px;grid-template-columns:39px 1fr}.player-card-portrait{width:38px}.player-funds strong{font-size:20px}.dice-controls{width:calc(100% - 40px);padding:17px;gap:13px}.turn-steps{gap:7px;margin:0}.turn-copy h2{font-size:14px}.roll-action{min-width:150px}.ui-card,.rules-panel{padding:17px}.portfolio-panel{left:220px}.table-label small{font-size:9px}.table-label{font-size:8px}}@media(max-width:759px){.game-header{height:82px;padding:14px 16px;gap:10px}.game-brand{gap:9px}.game-brand>svg{width:29px;height:35px}.game-brand>span{font-size:9px}.game-brand strong{font-size:17px}.table-label{display:none}.header-actions{gap:6px}.header-actions .ui-icon-button{width:35px;height:35px;padding:8px}.multiplayer-turn,.multiplayer-expanded .multiplayer-turn{left:16px;right:16px;top:88px;width:auto;max-width:none;padding:0}.multiplayer-turn #multiplayer-turn-status{font-size:9px;margin-bottom:7px}.multiplayer-turn .players-caption{display:none}.multiplayer-turn ol{display:flex;gap:8px;overflow-x:auto;padding-bottom:5px}.multiplayer-turn li{flex:1;min-width:143px;padding:10px 9px;grid-template-columns:31px 1fr;column-gap:7px;border-radius:10px}.player-card-portrait{width:30px;height:48px;grid-row:1 / 4}.player-card-name{font-size:12px}.multiplayer-turn .player-card-character{font-size:7px}.multiplayer-turn .player-card-place{font-size:8px;margin-top:3px}.player-card-turn{display:none}.multiplayer-player-dot{top:10px;right:8px;width:5px;height:5px}.multiplayer-turn .player-funds{margin-top:6px;padding-top:6px;gap:2px}.player-funds>small:first-child{font-size:6px}.player-funds strong{font-size:16px}.multiplayer-turn .player-card-assets{font-size:7px}.player-money-change{top:53px;right:7px;font-size:7px;padding:2px 4px}.portfolio-toggle{position:fixed;bottom:170px;left:16px;width:auto;padding:7px 10px;margin:0;min-height:32px;font-size:9px}.portfolio-toggle .ui-icon{width:15px;height:15px}.portfolio-toggle>span{min-width:17px;font-size:9px}.game-sidebar{display:none}.player-controls{top:83px;right:16px;width:264px}.help{display:none}.property-inspector,.portfolio-panel,.rules-panel{inset:auto 16px 170px;width:auto;max-height:calc(100dvh - 265px);transform:none;padding:18px;z-index:55;box-shadow:0 5px #aebfab,0 0 0 100vmax #24483426}.property-inspector h2,.rules-panel h2{font-size:23px}.rules-levels{margin:10px 0}.rules-levels li{font-size:9px;padding:7px 2px}.rules-panel .btn{min-height:37px;padding:8px;margin-top:8px}.rules-impact{margin-top:10px!important;padding:9px}.rules-impact strong{font-size:17px}.rules-stat{padding:5px 0}.rules-timer{margin:8px 0;padding:6px}.dice-controls{bottom:17px;width:calc(100% - 32px);min-height:134px;padding:14px 16px;display:grid;grid-template-columns:1fr 35px;gap:8px 7px;border-radius:13px}.turn-copy{grid-column:1 / 3}.turn-copy h2{font-size:14px;margin:3px 0}.turn-copy p{font-size:9px}.turn-copy .ui-eyebrow{font-size:7px}.turn-steps{display:none}.roll-action{min-width:0;display:grid;grid-template-columns:minmax(130px,1fr) auto;align-items:center;gap:10px}.dice-controls #roll-dice{min-height:39px;padding:10px;font-size:11px}.roll-detail{flex-direction:column;gap:4px}.dice-controls output{font-size:8px;max-width:74px;white-space:normal}.dice-controls .dice-sound{width:30px;height:30px;min-height:30px}.multiplayer-panel{width:min(420px,calc(100vw - 32px));max-height:calc(100dvh - 112px);padding:27px}.multiplayer-panel h1{font-size:31px}.multiplayer-panel p{font-size:11px}.multiplayer-panel .lobby-play{min-height:57px}.multiplayer-expanded:not(.match-active) .player-controls:not([hidden]){z-index:90}.how-to-dialog{padding:26px}.how-to-dialog h2{font-size:26px}.toast{bottom:169px;max-width:calc(100vw - 40px);font-size:10px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition-duration:0s!important}}:root{--accent: #078ee9;--accent-soft: #e4f4ff;--ui-fg: #263e52;--ui-muted: #778894}.menu-backdrop{position:fixed;inset:0;background:#bde7fb url(../assets/hud/main-menu-world-v1.1d54c48f9c3f.webp) center / cover no-repeat;z-index:0}body[data-scene=game] .menu-backdrop{display:none}body:not([data-scene=game]) .stage{visibility:hidden;pointer-events:none}body:not([data-scene=game]) .stage *{visibility:hidden!important}body:not([data-scene=game]) .stage:after{display:none}body[data-scene=menu] .multiplayer-panel{left:76%;width:420px}body[data-scene=menu] .table-label,body[data-scene=waiting] .table-label{display:none}body[data-scene=waiting] .menu-backdrop{opacity:.32}body[data-scene=waiting] .multiplayer-panel{width:900px;padding:10px 26px 17px;max-height:calc(100dvh - 100px)}body[data-scene=waiting] .multiplayer-panel h1{position:absolute;top:-42px;left:0;right:0;margin:0;font-size:24px;text-align:center;color:#fff;text-shadow:0 2px 1px #bb8100}body[data-scene=waiting] .lobby-eyebrow{display:none}.waiting-intro{text-align:center;margin:5px 0 17px!important;font-size:12px!important}.waiting-grid{display:grid;grid-template-columns:300px 1fr;gap:32px;max-height:calc(100dvh - 370px);overflow-y:auto;scrollbar-width:thin}.waiting-character{display:flex;flex-direction:column;align-items:center}.waiting-portrait{width:150px;height:215px;object-fit:contain;filter:drop-shadow(0 7px 3px #3a739933)}body[data-scene=waiting] .player-controls{position:static;width:285px;border:0;border-image:none;padding:12px 15px 5px;background:transparent;box-shadow:none}body[data-scene=waiting] .profile-heading{display:none}body[data-scene=waiting] .player-character-choice{margin-bottom:16px}body[data-scene=waiting] #player-portrait{display:none}body[data-scene=waiting] #player-character{font-size:12px;padding:12px}body[data-scene=waiting] .player-controls>label,body[data-scene=waiting] .player-controls>span{font-size:11px}body[data-scene=waiting] .player-colors{justify-content:center;gap:13px;margin-top:12px}.waiting-table{min-width:0;padding-top:8px}.waiting-table .ui-eyebrow{font-size:10px;color:#789bad;margin:12px 0}.waiting-players{padding:0;margin:0;list-style:none;display:flex;flex-direction:column;gap:7px}.waiting-player{position:relative;isolation:isolate;width:100%;height:95px}.waiting-player>img{position:absolute;left:5%;top:9px;width:18%;height:70px;object-fit:contain}.waiting-player>div{position:absolute;left:29%;right:8%;top:17px;display:flex;flex-direction:column;gap:11px}.waiting-player strong{color:#fff;font-size:13px;text-shadow:0 2px 1px #125083}.waiting-player>div>span{color:#4c7190;font-size:10px}.waiting-player>small{position:absolute;left:29%;top:67px;color:#67a57a;font-size:8px;font-weight:900}.waiting-empty{padding:12px 18px;text-align:center;color:#93acbc;font-size:10px;border:1px dashed #bcd3e1;border-radius:8px}.waiting-hint{font-size:10px!important;line-height:1.4!important;margin:13px 0 0!important}body[data-scene=waiting] #multiplayer-start{width:240px;margin:10px 0 0 auto;display:flex;min-height:53px}body[data-scene=waiting] #waiting-back{width:160px;position:absolute;bottom:0;left:27px;margin:0;min-height:46px}body[data-scene=waiting] #multiplayer-status{font-size:10px;margin-top:16px;max-width:100%}.waiting-table .multiplayer-room-code{margin:6px 0 15px;gap:10px}.waiting-table #multiplayer-code{font-size:21px;color:#46769c}.waiting-table .btn{min-height:39px;font-size:10px;padding:8px 13px 12px}body[data-scene=waiting] #multiplayer-requests{max-height:180px;overflow-y:auto}.multiplayer-request{background:#eaf5fd;border-color:#b8dcf2}body[data-scene=menu] #player-profile{display:none}body{background:radial-gradient(ellipse at 50% 43%,#e2f5ff,#c6e5f8 58%,#a9d3ee)}body:before{opacity:0}.game-header{background:transparent;height:92px}.game-brand{color:#254966;gap:10px;text-shadow:0 2px 0 #fff}.game-brand strong{font-size:24px}.game-brand>span:not(.hud-icon){font-size:10px;letter-spacing:.17em}.game-brand .hud-icon{width:44px;height:44px;filter:hue-rotate(200deg)}.table-label{color:#3b6480}.table-label small{color:#6890a8}.live-dot{background:#1598e1}.hud-icon{display:inline-block;flex:none;width:42px;height:42px;background:url(../assets/hud/controls-atlas-v1.3f037d6ee8e2.webp) no-repeat;background-size:300% 300%}.icon-dice{background-position:0 20.5%}.icon-house{background-position:50% 20.5%}.icon-book{background-position:100% 20.5%}.icon-menu{background-position:0 77.5%}.icon-gem{background-position:50% 77.5%}.icon-close{background-position:100% 77.5%}.icon-sound{background-image:url(../assets/hud/sound-button-v1.11121a1ea4c1.webp);background-size:100% 100%;background-position:center}.ui-icon-button,.header-actions .multiplayer-toggle{padding:0;width:48px;height:48px;min-height:0;border:0;background:transparent;box-shadow:none;border-radius:50%}.ui-icon-button .hud-icon{width:100%;height:100%}.ui-icon-button:hover{background:transparent;filter:brightness(1.1);transform:translateY(-2px)}.ui-icon-button:active{box-shadow:none;transform:translateY(2px)}.header-actions{gap:8px}.btn,.btn.primary,.multiplayer-panel .multiplayer-secondary,.multiplayer-panel .lobby-play{color:#fff;background:url(../assets/hud/action-button-v1.05d9cc7975d4.webp) center / 100% 100% no-repeat;border:0;border-radius:8px;box-shadow:none;min-height:48px;padding:12px 18px 16px;font-weight:900;text-shadow:0 1px 2px #075d9a}.btn:hover,.btn.primary:hover,.multiplayer-panel .multiplayer-secondary:hover{background:url(../assets/hud/action-button-v1.05d9cc7975d4.webp) center / 100% 100% no-repeat;filter:brightness(1.12)}.btn:active:not(:disabled),.btn.primary:active:not(:disabled){box-shadow:none;transform:translateY(2px)}.btn:disabled{filter:grayscale(.8);opacity:.65}.btn .hud-icon{width:24px;height:24px}.button-arrow{font-size:26px}.ui-card,.player-controls,.multiplayer-panel,.rules-panel,.how-to-dialog,.dice-controls{border-style:solid;border-color:transparent;border-width:58px 24px 29px;border-image:url(../assets/hud/panel-frame-v1.a78984921061.webp) 250 145 170 fill / 58px 24px 29px / 0 stretch;background:#fffdf2;background-clip:padding-box;border-radius:0;box-shadow:none;padding:11px 18px 18px;overflow:visible}.ui-eyebrow{color:#708493}.multiplayer-panel{width:440px;padding:22px 27px 30px;max-height:calc(100dvh - 110px)}.multiplayer-panel .lobby-eyebrow{position:absolute;left:0;right:0;top:-40px;font-size:11px;color:#fff;text-align:center;text-shadow:0 2px 1px #c78800}.multiplayer-panel h1{font-size:33px;color:#2f5066;margin-top:4px;text-shadow:0 2px 0 white}body[data-scene=menu] .multiplayer-panel h1{position:absolute;left:0;right:0;top:-40px;margin:0;font-size:16px;line-height:1.2;letter-spacing:.08em;text-align:center;text-transform:uppercase;color:#fff;text-shadow:0 2px 1px #c78800}.multiplayer-panel p{color:#798b97}.multiplayer-panel .lobby-play{min-height:78px;padding:15px 20px 23px;margin-top:7px}.lobby-play>.hud-icon:first-child{width:40px;height:40px}.lobby-play small{color:#c9efff}.lobby-play>span:not(.hud-icon):not(.button-arrow){flex:1;text-align:left}.lobby-play>.hud-icon,.lobby-play>.button-arrow{flex:none}.lobby-play>.button-arrow{width:14px;text-align:center}.lobby-divider{color:#7994a2;margin:23px 0 8px}.lobby-divider:before,.lobby-divider:after{background:#d4e1e5}.multiplayer-panel .multiplayer-secondary{margin-top:4px;min-height:48px;font-size:12px}.multiplayer-panel input{background:#f8fcff;color:#547386;border-color:#c5d8e5}.multiplayer-panel label{color:#8195a1}.multiplayer-panel .multiplayer-actions .btn{min-height:43px;padding:10px 14px 14px}.multiplayer-panel #multiplayer-status{color:#718895;font-size:10px}.multiplayer-panel .multiplayer-room-label{color:#6294b2}.multiplayer-expanded .stage:after{background:#afd7eb40}.player-controls{width:292px;top:110px;right:22px;padding:14px 15px 17px}.profile-heading{margin:0 0 11px}.profile-heading .ui-eyebrow{position:absolute;top:-40px;left:0;right:0;color:#fff;text-align:center;font-size:11px;text-shadow:0 2px 1px #c78800}.profile-heading .ui-icon-button{position:absolute;top:-58px;right:-20px;width:36px;height:36px;padding:0}#player-character{background:#f9faf5;font-size:11px;border-color:#d1dcd8}.player-controls>span,.player-controls>label{color:#7990a0}.player-color{width:23px;height:23px;border-radius:50%;transform:none;box-shadow:none;border-width:3px}.player-color[data-occupied=true]{position:relative;opacity:.4;cursor:not-allowed}.player-color[data-occupied=true]:after{content:"";position:absolute;left:45%;top:-12%;width:2px;height:124%;background:#233c4f;transform:rotate(45deg);box-shadow:0 0 0 1px #fff9}.multiplayer-turn,.multiplayer-expanded .multiplayer-turn{position:fixed;inset:0;width:auto;max-width:none;pointer-events:none;z-index:21}.multiplayer-turn #multiplayer-turn-status{position:absolute;top:78px;left:50%;transform:translate(-50%);width:max-content;max-width:calc(100vw - 640px);text-align:center;font-size:12px;color:#446d88;padding:9px 20px}.players-caption,.multiplayer-turn .players-caption{display:none}.multiplayer-turn ol{display:contents}.multiplayer-turn li{position:fixed;display:block;width:292px;height:110px;padding:0;border:0!important;border-radius:0;background:transparent!important;box-shadow:none!important;overflow:visible;pointer-events:auto}.multiplayer-turn li:before{display:none}.multiplayer-turn li:nth-child(1){left:18px;bottom:154px}.multiplayer-turn li:nth-child(2){right:18px;top:114px}.multiplayer-turn li:nth-child(3){left:18px;top:114px}.multiplayer-turn li:nth-child(4){right:18px;bottom:154px}.player-card-frame{position:absolute;inset:0;background:url(../assets/hud/player-card-v1.71a2097e2d21.webp) center / 100% 100% no-repeat;z-index:-1;pointer-events:none}.player-card-frame:before,.player-card-frame:after{content:"";position:absolute;inset:0;background:inherit;filter:hue-rotate(var(--hud-hue, 0deg))}.player-card-frame:before{clip-path:polygon(27% 11%,93% 11%,93% 40%,27% 40%)}.player-card-frame:after{clip-path:polygon(0 17%,5% 17%,5% 50%,0 50%,0 17%,93% 17%,100% 17%,100% 50%,93% 50%,93% 17%)}.player-card-portrait{position:absolute;left:19px;top:9px;width:53px;height:80px;filter:drop-shadow(0 2px 1px #1b416626)}.player-card-name{position:absolute;top:20px;left:90px;right:20px;font-size:14px;color:#fff;font-weight:900;text-shadow:0 2px 1px #155987;line-height:1.2}.multiplayer-player-dot{display:none}.multiplayer-turn .player-card-character{position:absolute;left:15px;width:61px;bottom:15px;margin:0;font-size:6px;text-align:center;color:#6e8090;line-height:1.1}.multiplayer-turn .player-card-place{position:absolute;left:92px;top:84px;font-size:8px;color:#718791;margin:0}.player-card-turn{display:none}.multiplayer-turn li[data-current=true] .player-card-turn{display:block;position:absolute;top:-12px;right:18px;margin:0;font-size:8px;letter-spacing:.07em;color:#fff;padding:7px 12px 10px;background:url(../assets/hud/action-button-v1.05d9cc7975d4.webp) center / 100% 100% no-repeat}.multiplayer-turn .player-funds{position:absolute;left:90px;top:48px;right:16px;margin:0;padding:0;border:0;display:flex;flex-direction:column;gap:2px}.player-funds>small:first-child{display:none}.player-funds strong{color:#304a61;font-size:22px;line-height:1.12;letter-spacing:-.045em;font-weight:900}.multiplayer-turn .player-card-assets{color:#83969b;font-size:8px}.player-money-change{top:37px;right:16px;transform:translateY(-100%);padding:5px 10px 8px;background:url(../assets/hud/action-button-v1.05d9cc7975d4.webp) center / 100% 100% no-repeat;color:#fff;box-shadow:none;font-size:11px}.player-money-change[data-positive=true]{color:#fff;background:url(../assets/hud/action-button-v1.05d9cc7975d4.webp) center / 100% 100% no-repeat;box-shadow:none}.table-tools{position:fixed;top:50%;right:22px;transform:translateY(-50%);z-index:35;display:flex;flex-direction:column;gap:10px}.table-tools>button{position:relative;inset:auto;display:flex;flex-direction:column;align-items:center;width:64px;height:77px;padding:0;margin:0;color:#356c93;background:transparent;border:0;box-shadow:none;cursor:pointer;font:900 10px Nunito,sans-serif}.table-tools .hud-icon{width:58px;height:58px;margin:0;padding:0;border-radius:0;background-color:transparent;background-image:url(../assets/hud/controls-atlas-v1.3f037d6ee8e2.webp);background-size:300% 300%;background-repeat:no-repeat}.table-tools>button:hover .hud-icon{filter:brightness(1.12)}.tool-label{margin-top:2px;background:transparent}.table-tools #portfolio-count{position:absolute;top:43px;right:1px;color:#fff;background:#008ad3;border:2px solid white;min-width:19px;height:19px;padding:1px;border-radius:50%;font-size:9px}.table-tools .icon-house{background-position:50% 20.5%}.table-tools .icon-book{background-position:100% 20.5%}.table-tools .tool-label{margin:2px 0 0;padding:0;min-width:0;background:transparent;border-radius:0;font-size:inherit}.board-guide{display:none!important}.game-sidebar{top:auto;bottom:300px;right:98px;width:276px;z-index:55;max-height:50vh;overflow:visible}.activity-card{position:relative;padding:6px 7px 12px}.card-heading{position:absolute;top:-39px;left:0;right:0;justify-content:center}.card-heading .ui-eyebrow{color:#fff;font-size:10px;text-shadow:0 2px 1px #bf8500}.activity-live{display:none}#activity-feed{max-height:250px;overflow-y:auto;margin-top:0}.activity-icon{color:#5995bb;background:#e4f2fb}.activity-cash .activity-icon{background:#fff0b5;color:#b79132}body:has(.property-inspector:not([hidden])) .activity-card{margin-top:0}.property-inspector,.portfolio-panel{position:fixed;inset:50% auto auto 50%;transform:translate(-50%,-50%);width:380px;max-height:calc(100dvh - 160px);z-index:58;padding:12px 14px 15px;overflow:visible}.property-inspector h2,.portfolio-panel h2{position:absolute;top:-48px;left:0;right:0;text-align:center;font-size:22px;color:#fff;text-shadow:0 2px 1px #b98200;margin:0;padding-right:10px}.inspector-close{top:-62px;right:-22px;padding:0;width:37px;height:37px;font-size:0;background:url(../assets/hud/controls-atlas-v1.3f037d6ee8e2.webp) 100% 77.5% / 300% 300% no-repeat}.property-owner{color:var(--owner-color, #3d8bad);background:#eaf3f7}.inspector-stat strong{color:#43637c}.inspector-stat span{color:#7b94a3}.inspector-description{color:#7d93a0}.portfolio-panel .portfolio-property{background:#eff6fa;border-color:#d4e3eb;max-width:100%}.portfolio-panel .portfolio-property:hover{background:#e1f0fa}.portfolio-body{max-height:calc(100dvh - 270px);overflow-y:auto;scrollbar-width:thin;padding-right:3px}.rules-panel{left:50%;right:auto;top:50%;transform:translate(-50%,-50%);width:430px;max-height:calc(100dvh - 140px);border-width:65px 24px 29px;border-image-width:65px 24px 29px;padding:13px 18px 20px;z-index:60;overflow:visible}.rules-panel h2{position:absolute;top:-48px;left:0;right:0;margin:0;font-size:27px;text-align:center;color:#fff;font-weight:900;text-shadow:0 2px 1px #bd8700;letter-spacing:-.025em}.rules-body{max-height:calc(100dvh - 290px);overflow-y:auto;scrollbar-width:thin;padding-right:3px}.rules-panel .rules-eyebrow{color:#8496a1;font-size:9px;text-align:center;margin-bottom:10px}.rules-panel .rules-category{text-align:center;color:#7c99a8}.rules-panel .btn{min-height:48px;font-size:12px;padding:13px 16px 18px}.rules-panel .btn.primary{min-height:52px}.rules-panel .btn[data-action=decline]{background:transparent;color:#778e9d;text-shadow:none;min-height:28px;padding:4px}.rules-panel .rules-danger{color:#fff;filter:hue-rotate(155deg)}.rules-levels{margin:16px 0;gap:6px}.rules-levels li{padding:7px 2px;min-height:65px;background:#edf4f4;border:1px solid #d8e6e9;border-radius:7px;gap:5px;color:#879faa;font-size:9px}.rules-levels li[data-reached=true]{background:#d8effc;color:#3785b8}.rules-levels li[data-next=true]{outline-color:#54a6d5;background:#ecf8ff;color:#479ac6}.rules-levels .hud-icon{width:36px;height:36px}.level-building,.level-building:before,.level-building:after{display:none}.rules-impact{background:#e9f4f9;color:#7f9aa8;padding:12px 15px}.rules-impact strong{color:#337ea9;font-size:22px}.rules-timer{background:#fff1c7;color:#b18b2a}.rules-timer:after{background:#e0b52f}.rules-stat{border-color:#dce9ec}.rules-stat strong{color:#436078;font-size:13px}.rules-stat span{color:#7f97a3}.has-decision .stage:before{content:"";position:fixed;inset:0;z-index:48;pointer-events:none;background:#12365255}.dice-controls{width:740px;max-width:calc(100vw - 64px);bottom:21px;min-height:118px;border-width:29px 18px 20px;border-image-width:29px 18px 20px;padding:8px 12px 7px;gap:15px}.dice-controls:before{display:none}.turn-copy{flex:1}.turn-copy .ui-eyebrow{position:absolute;top:-21px;left:0;right:0;text-align:center;font-size:10px;color:#fff;text-shadow:0 2px 1px #c48c00}.turn-copy h2{font-size:15px;color:#436985}.turn-copy p{font-size:9px;color:#849faa}.turn-steps{display:none}.roll-action{min-width:176px;gap:4px}.dice-controls #roll-dice{min-height:51px;font-size:12px;padding:12px 14px 17px}.dice-controls #roll-dice:before{width:22px;height:22px;background:url(../assets/hud/controls-atlas-v1.3f037d6ee8e2.webp) 0 20.5% / 300% 300% no-repeat;border:0;border-radius:0;transform:none;margin-right:2px}.dice-controls output{font-size:8px;color:#7b98aa}.dice-controls .dice-sound{padding:0;width:36px;height:36px;min-height:36px;background:transparent;border:0;box-shadow:none}.dice-sound .hud-icon{width:36px;height:36px}.dice-sound[aria-pressed=false]{filter:grayscale(.9);opacity:.7}.dice-sound[aria-pressed=false]:after{content:"×";position:absolute;color:#fff;font-size:21px;text-shadow:0 1px 3px #143c6b}kbd{color:#8aa2af;border-color:#d7e6ee}.toast{background:#25618d;box-shadow:none;bottom:151px}.how-to-dialog{width:530px;padding:14px 24px 23px;max-height:calc(100dvh - 90px);overflow-y:auto}.how-to-dialog .ui-eyebrow{color:#7e9aa9}.how-to-dialog h2{color:#3e6582;font-size:29px}.dialog-close{top:-61px;right:-17px;width:36px;height:36px}.how-to-dialog::backdrop{background:#123b5b55;backdrop-filter:none}.how-to-dialog .how-to-steps li>span{color:#c29c36}.how-to-steps p,.how-to-dialog>p{color:#7e94a0}@media(min-width:760px){.waiting-grid{overflow:visible}.waiting-table{max-height:calc(100dvh - 370px);overflow-y:auto;scrollbar-width:thin;padding-right:4px}}@media(min-width:760px)and (max-height:800px){.waiting-portrait{height:clamp(65px,calc(100dvh - 570px),150px);width:100px}}@media(min-width:760px)and (max-width:1099px){body[data-scene=menu] .multiplayer-panel{left:73%;width:390px}body[data-scene=waiting] .multiplayer-panel{width:calc(100% - 70px)}.waiting-grid{grid-template-columns:260px 1fr;gap:22px}.waiting-portrait{height:170px}.multiplayer-turn li{width:249px;height:101px}.multiplayer-turn li:nth-child(1),.multiplayer-turn li:nth-child(3){left:12px}.multiplayer-turn li:nth-child(2),.multiplayer-turn li:nth-child(4){right:12px}.player-card-portrait{left:14px;width:47px;height:71px}.player-card-name{left:78px;top:18px;font-size:12px}.multiplayer-turn .player-card-character{left:10px;width:53px;bottom:14px}.multiplayer-turn .player-funds{left:78px;top:43px}.player-funds strong{font-size:19px}.multiplayer-turn .player-card-place{left:80px;top:79px}.multiplayer-turn #multiplayer-turn-status{max-width:calc(100vw - 520px);font-size:10px}.dice-controls{width:650px}.turn-copy h2{font-size:13px}}@media(max-width:759px){body[data-scene=menu] .multiplayer-panel{left:50%;width:calc(100vw - 28px)}.menu-backdrop{background-position:26% center}body[data-scene=menu] .menu-backdrop{opacity:.5}body[data-scene=waiting] .multiplayer-panel{width:calc(100% - 28px);padding:8px 9px 16px;max-height:calc(100dvh - 110px)}body[data-scene=waiting] .multiplayer-panel h1{font-size:19px;top:-41px}.waiting-intro{font-size:10px!important;margin:4px 0 11px!important}.waiting-grid{display:flex;flex-direction:column;gap:10px;max-height:calc(100dvh - 340px);overflow-y:auto;padding:0 2px 4px}.waiting-character{flex-direction:row;align-items:center;gap:6px}.waiting-portrait{width:74px;height:132px}body[data-scene=waiting] .player-controls{width:auto;min-width:0;padding:7px}body[data-scene=waiting] #profile-mount{min-width:0;flex:1}body[data-scene=waiting] #player-character{font-size:9px;padding:9px 2px}.player-controls>label,.player-controls>span{font-size:9px!important}body[data-scene=waiting] .player-colors{gap:8px;justify-content:space-between}.player-color{width:19px;height:19px}.waiting-table{padding:0 4px}.waiting-table .ui-eyebrow{margin:6px 0;font-size:8px}.waiting-player{height:82px}.waiting-player>img{height:61px;top:8px}.waiting-player>div{top:16px;gap:10px}.waiting-player strong{font-size:11px}.waiting-player>div>span{font-size:9px}.waiting-player>small{top:62px;font-size:7px}.waiting-empty{padding:8px;font-size:8px}.waiting-hint{font-size:8px!important;margin-top:8px!important}body[data-scene=waiting] #multiplayer-start{width:155px;font-size:10px;min-height:47px}body[data-scene=waiting] #waiting-back{left:12px;width:113px;font-size:9px;min-height:42px;bottom:0}body[data-scene=waiting] #multiplayer-status{font-size:8px;margin-top:9px}body[data-scene=waiting] #multiplayer-requests{max-height:130px}.game-header{height:82px;padding:12px 16px}.game-brand strong{font-size:19px}.game-brand .hud-icon{width:33px;height:33px}.header-actions .ui-icon-button{width:37px;height:37px;padding:0}.multiplayer-turn,.multiplayer-expanded .multiplayer-turn{inset:87px 10px auto;width:auto}.multiplayer-turn #multiplayer-turn-status{position:static;transform:none;max-width:none;font-size:9px;width:100%;padding:0;margin-bottom:6px}.multiplayer-turn ol{display:flex;overflow-x:auto;gap:5px;pointer-events:auto;padding:0}.multiplayer-turn li{position:relative!important;inset:auto!important;width:174px;min-width:174px;flex:1;height:95px}.player-card-portrait{width:35px;height:63px;top:9px;left:8px}.player-card-name{top:17px;left:51px;right:10px;font-size:11px}.multiplayer-turn .player-card-character{left:5px;width:42px;bottom:17px;font-size:5px}.multiplayer-turn .player-funds{left:52px;top:39px;right:8px;gap:3px}.player-funds strong{font-size:15px}.multiplayer-turn .player-card-assets{font-size:6px}.multiplayer-turn .player-card-place{left:53px;top:74px;font-size:7px}.multiplayer-turn li[data-current=true] .player-card-turn{top:-4px;right:8px;font-size:5px;padding:3px 7px 5px}.player-money-change{top:32px;right:8px;font-size:8px;padding:3px 6px 5px}.table-tools{right:10px;top:auto;bottom:162px;transform:none;flex-direction:row;gap:4px}.table-tools>button{width:44px;height:56px;font-size:7px}.table-tools .hud-icon{width:42px;height:42px}.table-tools #portfolio-count{top:30px;right:0;width:15px;height:15px;min-width:15px;font-size:7px;border-width:1px}.player-controls{right:18px;top:85px;width:280px}.multiplayer-panel{width:calc(100vw - 28px);padding:15px 15px 22px;max-height:calc(100dvh - 115px)}.multiplayer-panel h1{font-size:28px}.multiplayer-panel p{font-size:11px}.multiplayer-panel .lobby-play{min-height:71px;font-size:13px;padding:12px 17px 20px}.multiplayer-panel .lobby-eyebrow,.multiplayer-panel .multiplayer-actions .btn{font-size:9px}.lobby-divider{font-size:7px}.dice-controls{display:grid;grid-template-columns:1fr 30px;width:calc(100% - 28px);max-width:none;bottom:14px;min-height:134px;padding:7px 7px 6px;gap:6px}.turn-copy{grid-column:1 / 3}.turn-copy h2{font-size:12px}.turn-copy p,.turn-copy .ui-eyebrow{font-size:8px}.roll-action{min-width:0;grid-template-columns:minmax(110px,1fr) auto;gap:5px}.dice-controls #roll-dice{font-size:10px;min-height:44px;padding:10px 7px 14px}.dice-controls #roll-dice:before{width:20px;height:20px}.dice-controls .dice-sound,.dice-sound .hud-icon{width:30px;height:30px}.rules-panel,.property-inspector,.portfolio-panel{inset:47% auto auto 50%;width:calc(100% - 30px);max-height:calc(100dvh - 160px);transform:translate(-50%,-50%);padding:10px 9px 12px;box-shadow:none}.rules-panel h2{font-size:24px}.rules-panel p{font-size:10px}.rules-panel .rules-category{margin-bottom:7px}.rules-panel .btn{min-height:44px;font-size:11px;margin-top:8px}.rules-panel .btn.primary{min-height:46px}.rules-levels{margin:10px 0;gap:4px}.rules-levels li{font-size:7px;min-height:60px}.rules-levels .hud-icon{width:30px;height:30px}.rules-impact{padding:9px}.rules-impact strong{font-size:19px}.rules-stat strong{font-size:12px}.game-sidebar{display:block;inset:auto 22px 225px auto;width:min(290px,calc(100vw - 44px));max-height:48vh;padding:0}.activity-card{padding:5px 4px 9px}#activity-feed{max-height:230px}.how-to-dialog{width:calc(100% - 26px);padding:8px 12px 16px;border-image-width:45px 20px 25px;border-width:45px 20px 25px}.how-to-dialog h2{font-size:25px}.how-to-steps{gap:14px;margin:18px 0}.how-to-steps p{font-size:10px}}body[data-scene=game]{--player-card-width: clamp(224px, 22vw, 302px)}body[data-scene=game] .game-header{height:65px;pointer-events:none}body[data-scene=game] .game-brand{position:absolute;left:50%;top:12px;transform:translate(-50%);gap:5px}body[data-scene=game] .game-brand strong{font-size:18px}body[data-scene=game] .game-brand>span:not(.hud-icon){font-size:7px}body[data-scene=game] .game-brand .hud-icon{width:29px;height:29px}body[data-scene=game] .table-label{display:none}body[data-scene=game] .header-actions{position:fixed;top:calc(var(--player-card-width) / 3 + 23px);right:17px;pointer-events:auto;gap:5px}body[data-scene=game] .header-actions .ui-icon-button{width:39px;height:39px}body[data-scene=game] .multiplayer-turn #multiplayer-turn-status{top:48px;margin:0;padding:0;font-size:11px;max-width:calc(100vw - 620px)}body[data-scene=game] .multiplayer-turn li{width:var(--player-card-width);height:calc(var(--player-card-width) / 3)}body[data-scene=game] .multiplayer-turn li:nth-child(1){inset:auto auto 10px 10px}body[data-scene=game] .multiplayer-turn li:nth-child(2){inset:10px 10px auto auto}body[data-scene=game] .multiplayer-turn li:nth-child(3){inset:10px auto auto 10px}body[data-scene=game] .multiplayer-turn li:nth-child(4){inset:auto 10px 10px auto}.player-card-portrait,.waiting-player-portrait{display:flex;align-items:center;justify-content:center;overflow:hidden;filter:none}body[data-scene=game] .player-card-portrait{left:7%;top:12%;width:18.5%;height:66%}.player-card-portrait img,.waiting-player-portrait img{display:block;width:100%;height:100%;object-fit:contain}body[data-scene=game] .player-card-name{left:29%;right:8%;top:15%;height:25%;display:flex;align-items:center;justify-content:center;font-size:clamp(11px,1vw,14px);text-align:center;padding:0;white-space:nowrap;overflow:hidden}body[data-scene=game] .multiplayer-turn .player-funds{left:29%;right:8%;top:45%;height:33%;align-items:center;justify-content:center;text-align:center;gap:3px}body[data-scene=game] .player-funds strong{font-size:clamp(17px,1.5vw,22px);line-height:1.05}body[data-scene=game] .multiplayer-turn .player-card-assets{font-size:8px;text-align:center}body[data-scene=game] .multiplayer-turn .player-card-character,body[data-scene=game] .multiplayer-turn .player-card-place,body[data-scene=game] .multiplayer-turn .player-card-turn{display:none!important}body[data-scene=game] .multiplayer-turn li[data-current=true] .player-card-frame{filter:drop-shadow(0 0 5px #ffffff) drop-shadow(0 0 3px var(--player-color))}body[data-scene=game] .player-money-change{top:100%;left:29%;right:auto;transform:none;z-index:2;font-size:10px}body[data-scene=game] .multiplayer-turn li:nth-child(1) .player-money-change,body[data-scene=game] .multiplayer-turn li:nth-child(4) .player-money-change{top:-19px}.player-badge{display:none!important}.player-status-bubble{position:absolute;left:0;transform:translate(-50%);display:flex;align-items:center;justify-content:center;width:146px;height:42px;padding:0 10px 8px;color:#39576b;background:url(../assets/hud/speech-bubble-v2.e320c197a363.webp) center / 100% 100% no-repeat;text-align:center;font:800 10px Nunito,sans-serif;white-space:nowrap;pointer-events:none}.dice-controls{position:absolute;top:var(--roll-y, 65%);bottom:auto;left:50%;transform:translate(-50%,-50%);width:210px;max-width:none;min-height:0;border:0;border-image:none;background:none;padding:0;display:block;box-shadow:none}.dice-controls .turn-copy,.dice-controls .turn-steps{display:none}.dice-controls .roll-action{min-width:0;width:100%;gap:3px}.dice-controls #roll-dice{display:flex;align-items:center;justify-content:center;width:100%;height:68px;min-height:0;padding:0 12px 7px;font-size:18px;line-height:1;text-align:center}.dice-controls #roll-dice:before{display:none}.dice-controls .roll-detail{margin:0}.dice-controls output{display:none}.dice-controls .roll-timer{width:128px;height:31px;color:#fff;background:url(../assets/hud/action-button-v1.05d9cc7975d4.webp) center / 100% 100% no-repeat;font:900 12px Nunito,sans-serif;line-height:24px;text-align:center;text-shadow:0 1px 1px #15527c}.dice-controls .roll-timer[data-urgent=true]{filter:hue-rotate(155deg)}.table-tools{right:18px;top:50%}.table-tools>button{width:51px;height:65px;font-size:9px}.table-tools .hud-icon{width:49px;height:49px}.table-tools #portfolio-count{top:34px}.game-sidebar{bottom:125px}.rules-panel{display:flex;flex-direction:column;width:660px;padding:12px 12px 18px;z-index:75}.rules-panel .rules-body{min-height:0;flex:0 1 auto;max-height:calc(100dvh - 250px);padding-right:0}.rules-action-footer{flex:none}.rules-panel .rules-action-footer .btn[data-action=decline]{height:32px;min-height:0;margin-top:4px}.rules-panel .rules-action-footer .rules-timer{margin-bottom:0}.rules-panel h2{font-size:27px}.rules-panel p{text-align:center}.rules-panel .rules-stat{max-width:440px;margin-left:auto;margin-right:auto}.rules-levels{gap:7px;margin:13px 0}.rules-levels{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.rules-levels[data-single=true]{grid-template-columns:minmax(0,180px);justify-content:center}.rules-panel[data-kind=hotel]{width:520px}.rules-hotel-preview{display:flex;justify-content:center;margin:12px auto}.rules-hotel-preview .building-preview{width:170px;height:130px}.rules-levels li,.rules-levels li[data-reached=true],.rules-levels li[data-next=true]{padding:0;outline:none;border:0;background:none}.rules-level-choice{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;min-height:141px;padding:8px 4px;border:2px solid #dbe9ed;background:#edf7fa;border-radius:8px;color:#446b83;font:900 11px Nunito,sans-serif;text-align:center;gap:4px}button.rules-level-choice{cursor:pointer}.rules-level-choice[aria-pressed=true]{border-color:#008eec;background:#e5f5ff;box-shadow:inset 0 0 0 1px #008eec}.rules-level-choice:disabled{cursor:default;color:#7d8b94;background:#eef0ee;opacity:.65}.rules-level-choice:disabled .building-preview{filter:grayscale(.8)}.rules-level-choice small{min-height:22px;font-size:8px;line-height:1.25;text-align:center}.building-preview{display:block;width:100%;height:76px;object-fit:contain}.rules-impact{max-width:440px;margin:12px auto;text-align:center;padding:9px}.rules-impact strong{display:block}.rules-panel .btn{max-width:380px;margin-left:auto;margin-right:auto;display:flex;align-items:center;justify-content:center;padding-top:0;padding-bottom:7px;height:58px;text-align:center}.rules-panel .rules-timer{max-width:440px;margin:9px auto}.rules-panel .rules-unlock-hint{max-width:390px;margin:10px auto;color:#647f92}.multiplayer-panel input,.multiplayer-request select{border:0;border-radius:0;box-shadow:none;background:url(../assets/hud/input-field-v2.f2cd9f88f503.webp) center / 100% 150% no-repeat;height:55px;padding:9px 23px 13px;color:#426984;text-align:center;font:900 15px Nunito,sans-serif}.multiplayer-panel input::placeholder{color:#7893a4;opacity:.65}.multiplayer-panel input:focus-visible{outline:2px solid #1d92d3;outline-offset:3px}.multiplayer-panel .btn{display:flex;align-items:center;justify-content:center;position:relative;padding:0 16px 8px;min-height:52px;line-height:1.15;text-align:center;overflow:hidden}.multiplayer-panel #multiplayer-solo{height:78px;padding:0 50px 8px;gap:0}.multiplayer-panel #multiplayer-solo .lobby-button-copy{flex:none;width:100%;text-align:center;font-size:14px;line-height:1.2}.multiplayer-panel #multiplayer-solo .lobby-button-copy small{font-size:9px;margin-top:4px;line-height:1.2;text-align:center}.multiplayer-panel #multiplayer-solo>.hud-icon{position:absolute;left:17px;top:calc(50% - 4px);transform:translateY(-50%);width:34px;height:34px}.multiplayer-panel #multiplayer-solo>.button-arrow{position:absolute;right:17px;top:calc(50% - 4px);transform:translateY(-50%)}.multiplayer-panel .multiplayer-actions .btn{display:flex;align-items:center;justify-content:center;height:54px;padding:0 12px 6px;text-align:center}.waiting-table .multiplayer-room-code{justify-content:center}.waiting-table .multiplayer-room-label,.waiting-table .ui-eyebrow,.waiting-hint{text-align:center}body[data-scene=waiting] .player-controls{width:100%;padding:0;text-align:center}body[data-scene=waiting] #profile-mount,.character-roulette{width:100%}.roulette-stage{display:grid;grid-template-columns:42px 1fr 42px;align-items:center;gap:5px;height:231px}.roulette-stage .roulette-arrow{width:42px;min-height:0;height:54px;padding:0 0 8px;font-size:29px;display:flex;align-items:center;justify-content:center}.roulette-portrait{height:220px;display:flex;align-items:center;justify-content:center;overflow:hidden}.roulette-portrait img{width:100%;height:100%;object-fit:contain}body[data-scene=waiting] #player-character{display:block;border:0;background:none;border-radius:0;padding:4px 0 12px;font-size:16px;line-height:1.2;color:#355870;text-align:center}.character-options{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-bottom:15px}.character-option{display:flex;flex-direction:column;align-items:center;justify-content:center;width:83px;height:80px;padding:7px 9px 10px;gap:3px;border:0;background:url(../assets/hud/input-field-v2.f2cd9f88f503.webp) center / 100% 165% no-repeat;color:#7290a4;font:900 9px Nunito,sans-serif;cursor:pointer}.character-option img{width:32px;height:43px;object-fit:contain}.character-option span{text-align:center;line-height:1.15}@media(min-width:760px){.character-options[data-count="8"]{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.character-options[data-count="8"] .character-option{width:100%;min-width:0;padding-left:4px;padding-right:4px}}.character-option[aria-pressed=true]{color:#1178bd;filter:drop-shadow(0 0 2px #078ee9)}.player-color:disabled{cursor:default}.waiting-player-portrait{position:absolute;left:7%;top:12%;width:18.5%;height:66%}.waiting-player>div{display:contents}.waiting-player strong{position:absolute;left:29%;right:8%;top:15%;height:25%;display:flex;align-items:center;justify-content:center;text-align:center}.waiting-player>div>span{position:absolute;left:29%;right:8%;top:47%;text-align:center;font-size:10px}.waiting-player>small{left:29%;right:8%;top:69%;text-align:center}@media(min-width:760px)and (max-height:800px){.roulette-stage{height:139px}.roulette-portrait{height:133px}.character-option{height:63px}.character-option img{height:30px}}.space[data-owned=false] .price .lbl{display:none}.space[data-owned=true] .price .lbl{font-size:1.6em;line-height:.95;gap:.05em}.space[data-owned=true] .price .lbl strong{font-size:1em;line-height:1}.property-inspector{width:430px}.property-construction{margin:10px 0;display:flex;flex-direction:column;align-items:center;gap:5px}.property-construction .building-preview{width:125px;height:95px}.property-construction figcaption{font-size:16px;font-weight:900;color:#3e647e}.property-inspector .rules-category,.property-inspector .property-owner{font-size:13px!important;text-align:center}.property-inspector .inspector-stat>span,.portfolio-panel .inspector-stat>span{font-size:13px}.property-inspector .inspector-stat strong,.portfolio-panel .inspector-stat strong{font-size:16px}.property-inspector .inspector-description{font-size:12px!important;line-height:1.45}.portfolio-panel{width:460px}.portfolio-panel .portfolio-property{flex-direction:row;align-items:center;gap:12px}.portfolio-property .building-preview{width:62px;height:55px;flex:none}.portfolio-property-copy{display:flex;flex-direction:column;gap:6px;min-width:0}.portfolio-panel .portfolio-property strong{font-size:15px}.portfolio-panel .portfolio-property span{font-size:13px}.rules-panel .rules-category{font-size:14px}.rules-panel .rules-stat>span{font-size:13px}.rules-panel .rules-stat strong{font-size:17px}.rules-level-choice{min-height:177px;font-size:14px;padding:8px 4px;gap:4px}.rules-level-choice small{font-size:11px;min-height:0;line-height:1.25}.rules-level-choice .construction-lock{font-size:10px}.rules-level-choice:disabled{opacity:.85}.rules-level-choice .construction-rent{color:#316f90}.rules-panel .rules-impact{font-size:13px!important}.space .tile.city .name,.space .tile.resort .name,.space .tile.city .price .lbl,.space .tile.resort .price .lbl,.space .property-board-rent{color:#000;font-weight:900}@media(max-width:759px){.property-inspector,.portfolio-panel{width:calc(100vw - 26px)}.property-construction .building-preview{height:78px}.property-inspector .inspector-stat>span,.portfolio-panel .inspector-stat>span{font-size:12px}.property-inspector .inspector-stat strong,.portfolio-panel .inspector-stat strong{font-size:14px}.portfolio-panel .portfolio-property strong{font-size:13px}.portfolio-panel .portfolio-property span{font-size:11px}.portfolio-property .building-preview{width:48px;height:47px}.rules-level-choice .construction-lock{font-size:8px}.rules-panel .rules-stat>span{font-size:12px}.rules-panel .rules-stat strong{font-size:15px}}@media(max-width:1099px){.rules-panel{width:min(660px,calc(100vw - 54px))}}@media(max-width:759px){body[data-scene=game]{--player-card-width: min(174px, calc(50vw - 12px) )}body[data-scene=game] .game-header{height:90px}body[data-scene=game] .game-brand{top:72px}body[data-scene=game] .game-brand strong{font-size:14px}body[data-scene=game] .game-brand .hud-icon{display:none}body[data-scene=game] .header-actions{top:113px;right:10px}body[data-scene=game] .header-actions .ui-icon-button{width:31px;height:31px}body[data-scene=game] .multiplayer-turn,body[data-scene=game] .multiplayer-expanded .multiplayer-turn{inset:0}body[data-scene=game] .multiplayer-turn ol{display:contents}body[data-scene=game] .multiplayer-turn li{position:fixed!important;height:calc(var(--player-card-width) / 3);width:var(--player-card-width);min-width:0}body[data-scene=game] .multiplayer-turn li:nth-child(1){inset:auto auto 8px 5px!important}body[data-scene=game] .multiplayer-turn li:nth-child(2){inset:8px 5px auto auto!important}body[data-scene=game] .multiplayer-turn li:nth-child(3){inset:8px auto auto 5px!important}body[data-scene=game] .multiplayer-turn li:nth-child(4){inset:auto 5px 8px auto!important}body[data-scene=game] .multiplayer-turn #multiplayer-turn-status{position:fixed;top:151px;left:50%;transform:translate(-50%);max-width:calc(100vw - 25px);font-size:8px}body[data-scene=game] .player-card-name{font-size:8px}body[data-scene=game] .player-funds strong{font-size:12px}body[data-scene=game] .multiplayer-turn .player-card-assets{font-size:5px}body[data-scene=game] .player-money-change{font-size:7px}.dice-controls{width:145px;display:block;min-height:0;bottom:auto;padding:0}.dice-controls #roll-dice{height:48px;font-size:12px;min-height:0;padding:0 8px 6px}.dice-controls .roll-action{display:flex;gap:0}.dice-controls .roll-timer{width:106px;height:25px;line-height:19px;font-size:10px}.table-tools{top:auto;bottom:81px;right:8px;transform:none;flex-direction:row}.table-tools>button{width:39px;height:50px;font-size:7px}.table-tools .hud-icon{width:37px;height:37px}.table-tools #portfolio-count{top:28px}.player-status-bubble{width:120px;height:35px;font-size:8px;padding-bottom:6px}.rules-panel{width:calc(100vw - 24px);top:50%;padding:8px;border-width:50px 15px 25px;border-image-width:50px 15px 25px}.rules-panel[data-kind=hotel]{width:calc(100vw - 24px)}.rules-hotel-preview .building-preview{width:140px;height:100px}.rules-panel h2{top:-40px;font-size:22px}.rules-levels{gap:4px}.rules-level-choice{min-height:146px;padding:6px 3px;font-size:11px;border-width:1px;gap:3px}.building-preview{height:46px}.rules-level-choice small{font-size:9px;min-height:0}.rules-panel .btn{height:52px;min-height:0;font-size:11px}.rules-panel .rules-body{max-height:calc(100dvh - 220px)}.waiting-character{width:100%}.roulette-stage{height:157px;grid-template-columns:39px 1fr 39px}.roulette-portrait{height:150px}.character-option{height:68px}.character-option img{height:33px}.character-options{margin-bottom:9px}.multiplayer-panel #multiplayer-solo .lobby-button-copy{font-size:12px}.multiplayer-panel #multiplayer-solo .lobby-button-copy small{font-size:8px}body[data-scene=waiting] #player-character{font-size:13px;padding-bottom:7px}body[data-scene=waiting] .player-controls{padding:0 4px}body[data-scene=waiting] .player-colors{justify-content:center;gap:13px;margin:7px 0 12px}.waiting-player strong{top:15%;font-size:11px}.waiting-player>div>span{top:47%;font-size:9px}.waiting-player>small{top:69%}.game-sidebar{bottom:145px}}.debt-board-anchor,.debt-sale-anchor{position:absolute;width:0;height:0;pointer-events:none}.debt-board{position:absolute;z-index:22000;transform:translate(-50%,-50%);padding:0;border:0;background:none;box-shadow:none;color:#263d22;text-align:center;font-family:Nunito,sans-serif;pointer-events:auto;text-shadow:0 1px #efffc77a}.debt-board[hidden],.debt-city-price[hidden],.debt-copy-short{display:none}.debt-board-title{position:static;margin:0 0 var(--debt-gap);color:#263d22;font-size:var(--debt-title);line-height:1.08;font-weight:1000;text-shadow:0 1px #ecf5d690}.debt-board-stats{font-size:var(--debt-text);line-height:1.25}.debt-board-stats p{margin:0}.debt-board-stats strong{font-weight:1000;white-space:nowrap}.debt-board-hint{margin:var(--debt-gap) 0;font-size:calc(var(--debt-text) * .76);line-height:1.2;font-weight:800}.debt-board-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:var(--debt-gap)}.debt-action{display:flex;justify-content:center;align-items:center;flex:1 1 42%;height:var(--debt-button-height);padding:0 8px 2px;border:2px solid #e8faff;border-radius:999px;background:linear-gradient(#56d4fa,#169adb,#087bb9);color:#fff;font:1000 var(--debt-button)/1.1 Nunito,sans-serif;box-shadow:inset 0 2px #a5eaff,0 3px #377a6780;text-shadow:0 1px 1px #12638c;cursor:pointer}.debt-action:disabled{opacity:.55;cursor:default}.debt-action:not(:disabled):hover{filter:brightness(1.1)}.debt-action:focus-visible,.debt-city-price:focus-visible{outline:3px solid #ffdb61;outline-offset:3px}.debt-action-sell{flex:0 1 48%}.debt-action-building{flex:1 1 48%;font-size:calc(var(--debt-button) * .85)}.debt-city-price{position:absolute;z-index:23000;transform:translate(-50%,-115%);display:inline-flex;align-items:center;justify-content:center;gap:3px;min-width:49px;min-height:26px;padding:2px 5px;border:2px solid var(--sale-color, #2b9be4);border-radius:3px;background:#fffef2;color:#304333;font:1000 18px/1.05 Nunito,sans-serif;cursor:pointer;pointer-events:auto;box-shadow:0 1px 2px #21482465;white-space:nowrap}.debt-city-price:after{content:"";position:absolute;top:100%;left:50%;transform:translate(-50%);border:5px solid transparent;border-top-color:var(--sale-color, #2b9be4)}.debt-sale-check{display:inline-flex;align-items:center;justify-content:center;flex:none;width:1em;height:1em;border:1px solid #98b277;border-radius:2px;color:#4d702b;font-weight:1000}.debt-city-price[aria-pressed=true]{background:#eafa9a;border-color:#6d9635}.debt-city-price[aria-pressed=true]:after{border-top-color:#6d9635}.debt-city-price:disabled{cursor:default}.debt-sale-link{position:absolute;height:1px;transform-origin:left center;z-index:21000;opacity:.8;pointer-events:none}.debt-sale-link[hidden]{display:none}body.has-debt-board .stage:before{display:none}body.has-debt-board .center:after{content:"";position:absolute;inset:0;z-index:4;background:#d9e5928c;pointer-events:none}body.has-debt-board .dice-object,body.has-debt-board .dice-summary,body.has-debt-board .marker-timer{visibility:hidden}body.has-debt-board .space[data-sale-available=false] .face,body.has-debt-board .space[data-sale-available=false] .floor,body.has-debt-board .space[data-sale-available=false] .block-wall,body.has-debt-board .iso-art,body.has-debt-board .corner-label,body.has-debt-board .house-stack[data-sale-available=false]{filter:brightness(.6)}body.has-debt-board .space[data-sale-available=true] .face{box-shadow:inset 0 0 0 .2em #f5ffffbd}body.has-debt-board .space[data-sale-selected=true] .face{box-shadow:inset 0 0 0 .4em #dfff69,inset 0 0 2em #ccef4299}@media(max-width:759px){.debt-copy-long{display:none}.debt-copy-short{display:inline}.debt-board-hint{display:none}.debt-board-stats{line-height:1.2}.debt-board-actions{flex-wrap:wrap;margin-top:3px}.debt-action,.debt-action-sell{flex:1 1 0;min-width:0;height:28px;padding:0 2px 1px;border-width:1px}.debt-action[data-action=auto-sale]{font-size:8px}.debt-action-building{flex-basis:100%}.debt-board:has([data-action=bankrupt]) .debt-board-hint{display:block;font-size:8px}.debt-board:has([data-action=bankrupt]) .debt-board-stats{display:none}.debt-city-price{padding:1px 3px;min-width:43px;min-height:26px}}.cash-world{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:1}.cash-world[hidden],.cash-transaction[hidden]{display:none}.cash-transaction{position:absolute;z-index:1600;transform:translate(-50%,calc(-100% - var(--cash-rise, 0px))) scale(var(--cash-panel-scale, 1));transform-origin:bottom center;padding:0;border:0;background:none;box-shadow:none;color:#fffef2;font:900 26px/1.2 Nunito,sans-serif;text-shadow:0 1px 2px #38522970;pointer-events:none;white-space:nowrap}.cash-announcement{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;white-space:nowrap}body:not([data-scene=game]) .cash-world,body:not([data-scene=game]) .cash-transaction{display:none}:root{--safe-top: env(safe-area-inset-top, 0px);--safe-right: env(safe-area-inset-right, 0px);--safe-bottom: env(safe-area-inset-bottom, 0px);--safe-left: env(safe-area-inset-left, 0px)}html,body{overscroll-behavior:none;overflow:hidden}@media(min-width:760px)and (min-height:540px){.multiplayer-panel[data-scene=waiting]:has(#multiplayer-start[hidden]) #waiting-room{margin-bottom:52px}}button,.space,input,select{touch-action:manipulation;-webkit-tap-highlight-color:transparent}[hidden]{display:none!important}.multiplayer-panel,.waiting-grid,.waiting-table,#multiplayer-requests,.rules-body,.rules-panel .rules-body,.portfolio-panel,.portfolio-body,.game-sidebar,#activity-feed,.how-to-dialog,.multiplayer-turn ol,body[data-scene=waiting] #multiplayer-requests{overflow:visible;max-height:none}.ui-pagination{display:flex;justify-content:center;align-items:center;gap:12px;margin-top:8px;flex:none}.ui-page-button{display:inline-flex;align-items:center;justify-content:center;min-width:44px;height:44px;padding:0;border:1px solid #a8c7d9;border-radius:10px;background:#e9f5fc;color:#286b96;font:900 27px/1 Nunito,sans-serif;cursor:pointer}.ui-page-button:disabled{opacity:.4;cursor:default}.ui-pagination output{min-width:52px;font-size:12px;font-weight:900;color:#50738b;text-align:center}.portfolio-list{display:grid;grid-template-columns:1fr;gap:8px}.portfolio-panel .portfolio-property{margin-top:0}.inspector-close,.dialog-close{z-index:3}.game-sidebar,.property-inspector,.portfolio-panel{z-index:82}.property-inspector h2,.portfolio-panel h2,.how-to-dialog h2{pointer-events:none}.portfolio-body{padding:0}.portfolio-list{margin-top:8px}.rules-choice-layout{display:grid;grid-template-columns:1fr;min-width:0}.rules-choice-visual,.rules-choice-summary{min-width:0}.rules-island-actions{display:flex;flex-direction:column;gap:5px}.how-to-dialog .ui-pagination{margin-bottom:10px}.activity-card .inspector-close{right:-20px}.debt-property-list{display:flex;flex-direction:column;gap:5px}.debt-property-choice{min-height:44px;display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;padding:6px 10px;border:1px solid #bdd3bb;border-radius:8px;background:#f4f9ef;color:#314c39;font:800 11px/1.15 Nunito,sans-serif;cursor:pointer}.debt-property-choice[aria-pressed=true]{border-color:#799a35;background:#e5f5a7}.debt-property-choice strong{text-align:left}.debt-property-choice span{white-space:nowrap}.debt-board.debt-compact{position:fixed;inset:50% auto auto;right:calc(var(--safe-right) + 8px);transform:translateY(-50%);width:min(320px,45vw);padding:12px;border:2px solid #bdd0ae;border-radius:14px;background:#fffef0;z-index:80;text-shadow:none;--debt-title: 16px;--debt-text: 12px;--debt-gap: 5px;--debt-button: 11px;--debt-button-height: 44px}.debt-board.debt-compact .debt-board-actions{margin-top:8px;flex-wrap:wrap}.debt-board.debt-compact .debt-action{height:44px;min-height:44px;padding:4px;font-size:11px;flex:1 1 40%}.debt-board.debt-compact .debt-action-sell{flex-basis:100%}.debt-board.debt-compact[data-kind=debt] .debt-board-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.debt-board.debt-compact[data-kind=debt] .debt-action{min-width:0}.debt-board.debt-compact .debt-board-hint{display:block;font-size:10px}.debt-board.debt-compact .debt-copy-long{display:none}.debt-board.debt-compact .debt-copy-short{display:inline}.debt-board.debt-compact .ui-pagination{margin-top:5px;gap:8px}.multiplayer-panel .keyboard-dismiss{display:none}.multiplayer-request select{font-size:16px;min-height:44px;width:100%}body[data-keyboard-open=true][data-scene=menu] #multiplayer-home{display:block}body[data-keyboard-open=true][data-scene=menu] #multiplayer-home>:not(#multiplayer-join){display:none}body[data-keyboard-open=true][data-scene=menu] #multiplayer-home:has(#match-duration-minutes:focus) #multiplayer-create-controls{display:grid}body[data-keyboard-open=true][data-scene=menu] #multiplayer-home:has(#match-duration-minutes:focus) #multiplayer-join{display:none}body[data-keyboard-open=true] #multiplayer-join label{display:none}body[data-keyboard-open=true] .multiplayer-panel .keyboard-dismiss{display:flex;width:70px;flex:none}body[data-keyboard-open=true] #multiplayer-join .multiplayer-actions{gap:4px}body[data-keyboard-open=true] .multiplayer-panel{top:50%}@media(orientation:landscape)and (max-width:1199px),(max-height:800px){.game-header{height:56px;padding:5px calc(var(--safe-right) + 12px) 5px calc(var(--safe-left) + 12px)}.game-brand{gap:6px}.game-brand .hud-icon{width:35px;height:35px}.game-brand strong{font-size:18px}.game-brand>span:not(.hud-icon){font-size:8px}.header-actions .ui-icon-button{width:44px;height:44px}.table-label{display:none}.menu-backdrop{background-position:center}.ui-card,.multiplayer-panel,.rules-panel,.how-to-dialog{border-width:40px 16px 16px;border-image-width:40px 16px 16px;padding:8px 12px 10px}.multiplayer-panel,body[data-scene=menu] .multiplayer-panel,body[data-scene=waiting] .multiplayer-panel{left:50%;top:calc(50% + 20px);bottom:auto;transform:translate(-50%,-50%);width:min(850px,calc(100vw - var(--safe-left) - var(--safe-right) - 28px));max-width:none;max-height:calc(var(--app-height, 100dvh) - var(--safe-top) - var(--safe-bottom) - 65px);padding:6px 12px 8px}.multiplayer-panel .lobby-eyebrow{display:none}.multiplayer-panel h1,body[data-scene=waiting] .multiplayer-panel h1{position:absolute;left:0;right:0;top:-32px;margin:0;color:#fff;font-size:21px;line-height:1.15;text-align:center;text-shadow:0 2px 1px #bb8100}.multiplayer-panel h1 br{display:none}body[data-scene=menu] .multiplayer-panel h1{top:-32px}#multiplayer-home{display:grid;grid-template-columns:1fr 1fr;gap:5px 20px;align-items:center}.multiplayer-panel #multiplayer-solo{grid-column:1;grid-row:1 / 5;height:64px;min-height:44px;margin:0}#multiplayer-home .lobby-divider{grid-column:2;grid-row:1;margin:0;font-size:8px}#multiplayer-create-controls{grid-column:2;grid-row:2;margin:0;grid-template-columns:90px minmax(0,1fr);gap:8px}#multiplayer-join{grid-column:2;grid-row:3 / 5;margin:0}.multiplayer-panel .btn{min-height:44px;height:46px;font-size:12px;padding:0 12px 6px}.multiplayer-panel label{margin:2px 0;font-size:10px}.multiplayer-panel input,.multiplayer-panel .multiplayer-actions .btn{height:46px;min-height:44px}.multiplayer-panel input{padding:6px 10px 10px;font-size:16px}.multiplayer-panel #multiplayer-status{margin:4px 0 0;font-size:10px;line-height:1.2}.multiplayer-panel #multiplayer-network{margin:4px 0;font-size:10px;line-height:1.2}.waiting-intro{display:none}.waiting-grid{display:grid;grid-template-columns:minmax(192px,.9fr) minmax(0,1.1fr);align-items:start;gap:12px;padding:0}.waiting-character{display:block;width:100%}body[data-scene=waiting] .player-controls{position:static;width:100%;padding:0;border:0;background:transparent}.roulette-stage{height:110px;grid-template-columns:44px 1fr 44px}.roulette-portrait{height:108px}.roulette-stage .roulette-arrow{width:44px;height:48px;min-height:44px}body[data-scene=waiting] #player-character{font-size:12px;padding:0 0 3px}.character-options{margin:0 0 2px;gap:6px}.character-options[data-count="8"]{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px}.character-options[data-count="8"] .character-option{width:100%;min-width:0;flex-direction:column;height:48px;padding:2px 2px 6px;gap:0;font-size:8px}.character-options[data-count="8"] .character-option img{width:22px;height:20px}.character-options[data-count="8"] .character-option span{line-height:1.05}.character-option{flex-direction:row;width:105px;height:44px;padding:4px 8px 7px;gap:4px;font-size:9px}.character-option img{width:22px;height:29px}body[data-scene=waiting] .player-controls>span{margin:2px 0 0;font-size:9px!important}body[data-scene=waiting] .player-colors{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:0;justify-items:center;margin:0}.player-color{width:100%;max-width:44px;min-width:0;height:44px;border:8px solid #fffdf2;box-shadow:inset 0 0 0 2px #ffffffa3}.player-color[aria-pressed=true]{outline-offset:-9px;outline-width:2px}.waiting-table{padding:0}.waiting-table .ui-eyebrow{margin:3px 0;font-size:9px}.waiting-table .multiplayer-room-label{font-size:9px}.waiting-table .multiplayer-room-code{margin:0 0 3px;gap:6px}.waiting-table #multiplayer-code{font-size:18px}.waiting-table .multiplayer-room-code .btn{height:44px}.waiting-players{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 6px}.waiting-player{width:100%;height:64px}.waiting-player strong{font-size:10px}.waiting-player>div>span{font-size:8px;line-height:1.1}.waiting-player>small{font-size:6px}.waiting-empty{display:flex;justify-content:center;align-items:center;min-height:44px;font-size:9px;padding:5px}.waiting-hint{margin:3px 0 0!important;font-size:9px!important;line-height:1.2!important}.multiplayer-panel[data-scene=waiting] #waiting-room{margin-bottom:0}body[data-scene=waiting] #multiplayer-start{position:absolute;right:12px;bottom:8px;width:calc(25% - 15px);margin:0;min-height:44px;height:46px}body[data-scene=waiting] #waiting-back{left:50%;bottom:8px;width:calc(25% - 7px);height:46px;min-height:44px;font-size:11px}body[data-scene=waiting] #multiplayer-status{position:absolute;right:12px;bottom:60px;max-width:calc(50% - 14px);font-size:9px}#multiplayer-requests:not([hidden]){position:absolute;inset:2px 6px 6px;padding:10px;background:#fffef2;border:1px solid #bdd9e8;border-radius:10px;z-index:3}.multiplayer-request{margin:0;padding:8px}.multiplayer-request p{margin:5px 0;font-size:11px;line-height:1.3}#multiplayer-requests+.ui-pagination{position:absolute;bottom:12px;left:20px;z-index:4}body[data-scene=game]{--player-card-width: clamp(160px, 23vw, 242px)}body[data-scene=game] .game-header{height:0}body[data-scene=game] .game-brand{top:calc(var(--safe-top) + 4px)}body[data-scene=game] .game-brand .hud-icon{display:inline-block;width:24px;height:24px}body[data-scene=game] .game-brand strong{font-size:14px}body[data-scene=game] .game-brand>span:not(.hud-icon){font-size:6px}body[data-scene=game] .header-actions{top:calc(var(--safe-top) + var(--player-card-width) / 3 + 9px);right:calc(var(--safe-right) + 6px);gap:0}body[data-scene=game] .header-actions .ui-icon-button{width:44px;height:44px}body[data-scene=game] .multiplayer-turn,body[data-scene=game] .multiplayer-expanded .multiplayer-turn{inset:0}body[data-scene=game] .multiplayer-turn ol{display:contents}body[data-scene=game] .multiplayer-turn li{position:fixed!important;width:var(--player-card-width);min-width:0;height:calc(var(--player-card-width) / 3)}body[data-scene=game] .multiplayer-turn li:nth-child(1){inset:auto auto calc(var(--safe-bottom) + 5px) calc(var(--safe-left) + 5px)!important}body[data-scene=game] .multiplayer-turn li:nth-child(2){inset:calc(var(--safe-top) + 5px) calc(var(--safe-right) + 5px) auto auto!important}body[data-scene=game] .multiplayer-turn li:nth-child(3){inset:calc(var(--safe-top) + 5px) auto auto calc(var(--safe-left) + 5px)!important}body[data-scene=game] .multiplayer-turn li:nth-child(4){inset:auto calc(var(--safe-right) + 5px) calc(var(--safe-bottom) + 5px) auto!important}body[data-scene=game] .player-card-name{font-size:10px}body[data-scene=game] .player-funds strong{font-size:clamp(13px,1.65vw,18px)}body[data-scene=game] .multiplayer-turn .player-card-assets{font-size:7px}body[data-scene=game] .multiplayer-turn #multiplayer-turn-status{position:fixed;top:calc(var(--safe-top) + 33px);left:50%;transform:translate(-50%);max-width:calc(100vw - var(--player-card-width) * 2 - 20px);padding:0;font-size:10px;line-height:1.2}body[data-scene=game] .multiplayer-first-player{display:none}.table-tools{right:calc(var(--safe-right) + 6px);top:50%;bottom:auto;transform:translateY(-20%);flex-direction:column;gap:3px}.table-tools>button{width:52px;height:56px;font-size:8px}.table-tools .hud-icon{width:44px;height:44px}.table-tools #portfolio-count{top:30px;right:3px}.dice-controls{width:154px;max-width:none;padding:0}.dice-controls #roll-dice{height:52px;min-height:44px;font-size:14px}.dice-controls .roll-timer{height:26px;width:110px;line-height:21px;font-size:11px}.rules-panel,.rules-panel[data-kind=hotel]{left:50%;top:50%;transform:translate(-50%,-50%);width:min(770px,calc(100vw - var(--safe-left) - var(--safe-right) - 24px));max-height:calc(var(--app-height, 100dvh) - var(--safe-top) - var(--safe-bottom) - 18px);padding:6px 10px 8px}.rules-panel h2{top:-32px;font-size:22px;line-height:1.15}.rules-panel p{margin:4px 0;font-size:11px;line-height:1.3}.rules-panel .rules-eyebrow{margin:0 0 3px;font-size:8px}.rules-panel .rules-category{margin:0 0 4px;font-size:11px}.rules-choice-layout{grid-template-columns:minmax(0,1.35fr) minmax(190px,1fr);gap:12px;align-items:center}.rules-levels{gap:4px;margin:0}.rules-level-choice{min-height:134px;padding:5px 3px;gap:3px;font-size:11px}.rules-level-choice .building-preview{height:45px}.rules-level-choice small{font-size:9px;line-height:1.15}.rules-level-choice .construction-lock{font-size:8px}.rules-panel .rules-stat{padding:5px 0;margin:0}.rules-panel .rules-stat>span{font-size:11px}.rules-panel .rules-stat strong{font-size:14px}.rules-panel .rules-impact{margin:5px 0!important;padding:6px;font-size:10px!important}.rules-impact strong{font-size:17px;margin-top:2px}.rules-panel .rules-action-footer{display:grid;grid-template-columns:1.5fr 1fr;align-items:center;gap:0 8px;margin-top:5px}.rules-panel .btn,.rules-panel .btn.primary,.rules-panel .rules-action-footer .btn[data-action=decline]{max-width:none;width:100%;min-height:44px;height:46px;padding:0 9px 6px;margin:0;font-size:12px}.rules-panel .rules-action-footer .btn[data-action=decline]{border:1px solid #c7dce8;border-radius:8px;height:44px;padding:3px}.rules-panel .rules-timer{margin:3px auto 0;font-size:11px!important;padding:5px}.rules-action-footer .rules-timer{grid-column:1 / -1;width:100%}.rules-island-actions{flex-direction:row;margin-top:8px}.rules-island-actions .btn{flex:1;font-size:11px}.rules-panel .rules-unlock-hint{margin:3px;font-size:10px}.rules-hotel-preview{margin:0}.rules-hotel-preview .building-preview{width:120px;height:100px}.property-inspector,.portfolio-panel{left:50%;top:50%;transform:translate(-50%,-50%);width:min(700px,calc(100vw - var(--safe-left) - var(--safe-right) - 28px));max-height:calc(var(--app-height, 100dvh) - var(--safe-top) - var(--safe-bottom) - 20px);padding:7px 12px 10px}.property-inspector h2,.portfolio-panel h2{top:-32px;font-size:20px}.inspector-close,.activity-card .inspector-close{width:44px;height:44px;top:-43px;right:-14px}.property-inspector .ui-eyebrow,.portfolio-panel .ui-eyebrow{font-size:9px}.property-inspector .rules-category,.property-inspector .property-owner{margin:3px 0;padding:4px;font-size:11px!important}.property-construction{float:left;width:27%;margin:5px 18px 0 0}.property-construction .building-preview{width:100px;height:85px}.property-construction figcaption{font-size:12px}.property-inspector .inspector-stat,.portfolio-panel .inspector-stat{padding:5px 0;gap:6px}.property-inspector .inspector-stat>span,.portfolio-panel .inspector-stat>span{font-size:11px}.property-inspector .inspector-stat strong,.portfolio-panel .inspector-stat strong{font-size:14px}.property-inspector .inspector-description{margin:5px 0 0;font-size:10px!important;line-height:1.3}.portfolio-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.portfolio-panel .portfolio-property{min-height:56px;padding:5px;gap:6px}.portfolio-property .building-preview{width:40px;height:42px}.portfolio-panel .portfolio-property strong{font-size:12px}.portfolio-panel .portfolio-property span{font-size:10px;line-height:1.15}.game-sidebar{left:auto;top:50%;right:calc(var(--safe-right) + 68px);bottom:auto;transform:translateY(-50%);width:min(420px,calc(100vw - 104px));padding:0;max-height:none}.activity-card{padding:5px 10px 8px}.card-heading{top:-29px}#activity-feed li{font-size:11px;padding:7px 0;line-height:1.35}.how-to-dialog{width:min(680px,calc(100vw - var(--safe-left) - var(--safe-right) - 28px));max-width:none;max-height:calc(var(--app-height, 100dvh) - var(--safe-top) - var(--safe-bottom) - 20px);padding:7px 16px 10px}.how-to-dialog>.ui-eyebrow{display:none}.how-to-dialog h2{position:absolute;left:0;right:0;top:-32px;margin:0;color:#fff;text-align:center;text-shadow:0 2px 1px #bb8100;font-size:21px;line-height:1.15}.how-to-dialog h2 br{display:none}.how-to-dialog .dialog-close{top:-44px;right:-14px;width:44px;height:44px}.how-to-dialog>p{margin:3px 0 7px;font-size:12px}.how-to-steps{margin:4px 0;gap:8px;min-height:70px}.how-to-steps li{gap:12px;align-items:center}.how-to-steps p{font-size:12px;line-height:1.35}.how-to-steps h3{font-size:14px}.how-to-dialog>.btn{height:46px;min-height:44px;padding:0 12px 6px}.toast{bottom:calc(var(--safe-bottom) + 8px);max-width:calc(100vw - 32px);font-size:11px;padding:6px 10px}}@media(orientation:landscape)and (max-height:399px){.game-header{height:46px;padding-top:0;padding-bottom:0}.game-header .game-brand .hud-icon{width:29px;height:29px}.multiplayer-panel,body[data-scene=menu] .multiplayer-panel,body[data-scene=waiting] .multiplayer-panel{top:calc(50% + 18px);padding:4px 9px 5px;border-width:34px 12px 12px;border-image-width:34px 12px 12px;max-height:calc(var(--app-height, 100dvh) - 54px)}.multiplayer-panel h1,body[data-scene=waiting] .multiplayer-panel h1{top:-28px;font-size:19px}.waiting-grid{grid-template-columns:minmax(192px,.9fr) minmax(0,1.1fr);gap:8px}.roulette-stage,.roulette-portrait{height:44px}.character-option{width:95px}.waiting-player{height:58px}body[data-scene=waiting] #multiplayer-room{display:flex;align-items:center;justify-content:center;gap:4px}.waiting-table .multiplayer-room-label{width:46px;font-size:8px;line-height:1.1}.waiting-table .multiplayer-room-code{margin:0;gap:4px}.waiting-table #multiplayer-code{font-size:15px;letter-spacing:.1em}.waiting-table .multiplayer-room-code .btn{padding-left:7px;padding-right:7px}.waiting-table .ui-eyebrow{font-size:8px;line-height:1.2}.waiting-player{height:50px}.waiting-table .ui-pagination{margin-top:2px}.waiting-hint{font-size:8px!important;line-height:1.1!important}body[data-scene=waiting] #multiplayer-status{font-size:8px;margin-top:3px}body[data-scene=waiting] #waiting-back{left:50%;bottom:5px}body[data-scene=waiting] #multiplayer-start{right:9px;bottom:5px}.rules-panel,.rules-panel[data-kind=hotel]{border-width:34px 12px 12px;border-image-width:34px 12px 12px;padding:4px 8px 5px}.rules-panel h2{top:-28px;font-size:20px}.rules-panel .rules-eyebrow{display:none}.rules-choice-layout{gap:8px;grid-template-columns:minmax(0,1.4fr) minmax(180px,1fr)}.rules-level-choice{min-height:122px;font-size:10px}.rules-level-choice .building-preview{height:32px}.rules-level-choice small{font-size:8px}.rules-panel .rules-stat{padding:3px 0}.rules-panel .rules-stat>span{font-size:10px}.rules-panel .rules-stat strong{font-size:12px}.rules-panel .rules-impact{padding:4px;margin:3px 0!important}.rules-impact strong{font-size:14px}.debt-board.debt-compact{width:min(305px,48vw);padding:7px;--debt-title: 13px;--debt-text: 11px;--debt-gap: 3px}.debt-board.debt-compact .debt-board-hint{font-size:9px;margin:3px 0}.debt-board.debt-compact .debt-board-actions{margin-top:4px}.debt-board.debt-compact .debt-board-actions{flex-wrap:nowrap}.debt-board.debt-compact .debt-action,.debt-board.debt-compact .debt-action-sell{height:44px;font-size:10px;flex:1 1 0;min-width:0}.debt-property-choice{padding:4px 6px;font-size:10px}}@media(min-width:1200px)and (min-height:801px)and (max-height:900px){.waiting-players{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.waiting-player{height:76px}.waiting-player strong{font-size:11px}.waiting-player>div>span{font-size:9px}.waiting-empty{display:flex;align-items:center;justify-content:center;min-height:54px}}body[data-keyboard-open=true][data-scene=menu] .multiplayer-panel{top:calc(var(--app-height, 100dvh) / 2);padding:4px 8px 5px;border-width:30px 12px 10px;border-image-width:30px 12px 10px;max-height:calc(var(--app-height, 100dvh) - 16px)}body[data-keyboard-open=true][data-scene=menu] .multiplayer-panel h1{top:-25px;font-size:17px}.dice-controls{left:var(--roll-x, 50%);width:var(--roll-width, 210px)}.dice-controls #roll-dice{height:var(--roll-height, 68px);min-height:0;font-size:var(--roll-font, 18px);padding:0 6px 5px}.dice-controls .roll-action{display:flex;flex-direction:column;gap:3px}.dice-controls .roll-detail{flex-direction:row}.dice-controls .roll-timer{width:var(--roll-timer-width, 128px);height:var(--roll-timer-height, 31px);font-size:var(--roll-timer-font, 12px);line-height:calc(var(--roll-timer-height, 31px) * .78)}@media(orientation:landscape)and (max-height:500px){.roulette-stage,.roulette-portrait,.character-options[data-count="8"] .character-option{height:44px}body[data-scene=waiting] .player-colors{gap:0}.waiting-player>div>span{font-size:7px}}@media(orientation:landscape)and (max-height:359px){.dice-controls #roll-dice{position:relative}.dice-controls #roll-dice:after{content:"";position:absolute;inset:-6px 0}}:root{--app-width: 100vw;--app-height: 100dvh;--safe-top: env(safe-area-inset-top, 0px);--safe-right: env(safe-area-inset-right, 0px);--safe-bottom: env(safe-area-inset-bottom, 0px);--safe-left: env(safe-area-inset-left, 0px)}html,body{width:100%;height:var(--app-height);overflow:hidden;overscroll-behavior:none}body{position:fixed;inset:0;width:var(--app-width);touch-action:manipulation}.viewport-gate{position:fixed;inset:0;z-index:500;display:grid;place-items:center;padding:max(16px,var(--safe-top)) max(20px,var(--safe-right)) max(16px,var(--safe-bottom)) max(20px,var(--safe-left));color:#fffdf5;background:radial-gradient(ellipse at center,#315f55,#163c36)}.viewport-card{width:min(560px,100%);text-align:center}.viewport-device{display:inline-block;font:700 56px system-ui;line-height:1;color:#efc46a}.viewport-card h1{margin:12px 0 8px;font-size:clamp(22px,4vw,32px);line-height:1.2}.viewport-card p{margin:8px 0 16px;font-size:clamp(13px,2vw,16px);line-height:1.4}.viewport-card .btn{min-height:48px;padding:10px 22px;font-size:16px}#viewport-install{margin-bottom:0;color:#e4eedd}.viewport-install-guide{margin-top:16px;padding-top:14px;border-top:1px solid #e4eedd38;text-align:left}.viewport-install-guide h2{margin:0 0 10px;color:#efc46a;font-size:17px;line-height:1.2}.viewport-install-guide ol{display:grid;gap:8px;margin:0;padding-left:22px;color:#e4eedd;font-size:14px;line-height:1.4}.viewport-install-guide li{padding-left:3px}.viewport-install-guide strong{color:#fffdf5}#fullscreen-toggle{font:900 28px system-ui;line-height:1}body[data-viewport-blocked=portrait]>:not(#viewport-gate):not(#asset-loading),body[data-viewport-blocked=fullscreen]>:not(#viewport-gate):not(#asset-loading){visibility:hidden!important}body:not([data-viewport-blocked=none]) .how-to-dialog[open]{visibility:hidden}body:not([data-viewport-blocked=none]) .how-to-dialog::backdrop{background:transparent}@media(orientation:landscape)and (max-height:500px){.viewport-card:has(#viewport-ios-install:not([hidden])){display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:0 20px;align-items:center;width:min(680px,100%);text-align:left}.viewport-card:has(#viewport-ios-install:not([hidden]))>.viewport-device{display:none}.viewport-card:has(#viewport-ios-install:not([hidden]))>:not(#viewport-ios-install){grid-column:1}.viewport-card:has(#viewport-ios-install:not([hidden])) h1{margin:0 0 8px;font-size:23px}.viewport-card:has(#viewport-ios-install:not([hidden]))>p{font-size:13px}#viewport-ios-install{grid-column:2;grid-row:1 / 5;margin:0;padding:0 0 0 16px;border-top:0;border-left:1px solid #e4eedd38}.viewport-install-guide h2{font-size:15px}.viewport-install-guide ol{gap:6px;font-size:12px;line-height:1.35}}@media(max-height:360px)and (orientation:landscape){.viewport-device{font-size:32px}.viewport-card h1{margin-top:4px;font-size:22px}.viewport-card p{margin:6px 0 10px;font-size:13px}}.rules-panel[data-kind=chance]{inset:50% auto auto 50%;transform:translate(-50%,-50%);width:min(740px,calc(100vw - var(--safe-left, 0px) - var(--safe-right, 0px) - 24px));max-height:calc(var(--app-height, 100dvh) - var(--safe-top, 0px) - var(--safe-bottom, 0px) - 24px);box-shadow:0 0 0 100vmax #193a4a60}.rules-panel[data-kind=chance] .rules-body{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:20px;max-height:none;overflow:visible}.chance-card-art{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain;border-radius:8px}.chance-card-copy{min-width:0}.chance-card-title{color:#29465a;font-size:26px;line-height:1.15;margin:10px 0;text-align:center}.rules-panel[data-kind=chance] .rules-eyebrow{display:block;font-size:12px;margin:0;color:#438161}.rules-panel[data-kind=chance][data-fortune=misfortune] .rules-eyebrow{color:#a34b57}.rules-panel[data-kind=chance] .chance-card-description{font-size:15px;line-height:1.5;margin:16px 0}.rules-panel[data-kind=chance] .rules-timer{font-size:12px;margin:8px 0 0}.world-cup-badge{position:absolute;width:var(--cup-size, 65px);height:var(--cup-height, 39px);display:block;pointer-events:none;filter:drop-shadow(0 1px 1px #34291355)}.world-cup-badge img{display:block;width:100%;height:100%;object-fit:fill}.world-cup-badge[data-mirrored=true] img{transform:scaleX(-1)}.world-cup-badge strong{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.board-fireworks{position:absolute;pointer-events:none;transform:translate(-50%,-90%)}.space[data-outage=true] .face,.space[data-outage=true] .wall,.house-stack[data-outage=true],.building-preview[data-outage=true]{filter:brightness(.38) saturate(.45)}.chance-effect-tag{position:absolute;bottom:8%;left:3%;right:3%;text-align:center;font-size:.5em;font-weight:900;color:#fff;background:#254b60;border-radius:.2em;pointer-events:none}@media(max-height:500px){.rules-panel[data-kind=chance]{width:min(640px,calc(100vw - var(--safe-left, 0px) - var(--safe-right, 0px) - 24px))}.rules-panel[data-kind=chance] .rules-body{grid-template-columns:minmax(0,.85fr) minmax(0,1fr);gap:14px}.chance-card-art{max-height:calc(var(--app-height, 100dvh) - 100px)}.chance-card-title{font-size:22px;margin:6px 0}.rules-panel[data-kind=chance] .rules-eyebrow{font-size:10px}.rules-panel[data-kind=chance] .chance-card-description{font-size:12px;line-height:1.35;margin:9px 0}.rules-panel[data-kind=chance] .rules-timer{font-size:10px!important;padding:5px;margin:3px 0 0}}@media(max-width:480px)and (min-height:501px){.rules-panel[data-kind=chance]{width:calc(100vw - 24px)}.rules-panel[data-kind=chance] .rules-body{grid-template-columns:1fr;gap:8px}.chance-card-art{width:min(100%,210px);margin:auto}.chance-card-title{font-size:22px}.rules-panel[data-kind=chance] .chance-card-description{font-size:13px;margin:8px 0}}.support-link{text-decoration:none;font-family:Nunito,sans-serif;touch-action:manipulation;-webkit-tap-highlight-color:transparent}.support-link:focus-visible{outline:3px solid #087fc4;outline-offset:3px;border-radius:10px}.support-coffee-icon{display:inline-block;flex:none;width:36px;height:36px;background:url(../assets/hud/support-coffee-v1.5ba3f2dac0bf.webp) center / contain no-repeat}.support-external{flex:none;font-size:19px;line-height:1}.support-menu{display:flex;align-items:center;justify-content:center;gap:9px;min-height:44px;margin-top:17px;padding:8px 0 0;border-top:1px solid #e6dfc9;color:#725320;font-size:13px;font-weight:900}.support-menu small{display:block;margin-top:2px;color:#7a725f;font-size:10px;font-weight:700}.support-menu:hover{color:#9b6512}.header-actions .support-game{display:none;align-items:center;justify-content:center;flex:none}body[data-scene=game] .header-actions .support-game{display:inline-flex}.support-game .support-coffee-icon{width:100%;height:100%;animation:support-coffee-pulse 8s ease-in-out 3s infinite}.support-game:hover .support-coffee-icon,.support-game:focus-visible .support-coffee-icon{animation-play-state:paused}@keyframes support-coffee-pulse{0%,12%,to{transform:scale(1)}6%{transform:scale(1.065)}}.support-result{margin-top:18px;padding-top:15px;border-top:1px solid #e6dfc9;text-align:center}.support-result h3{margin:0;color:#725320;font-size:18px;line-height:1.2}.rules-panel .support-result p{max-width:390px;margin:6px auto 10px;color:#79705e;font-size:12px;line-height:1.5}.support-button{display:flex;align-items:center;justify-content:center;gap:10px;width:min(100%,310px);min-height:58px;margin:0 auto;padding:5px 20px 11px;box-sizing:border-box;color:#543906;background:url(../assets/hud/support-button-v1.f0ce741e1cf7.webp) center / 100% 100% no-repeat;font-size:15px;font-weight:900;text-shadow:0 1px 0 #fff5;transition:filter .15s,transform .15s}.support-button .support-coffee-icon{width:30px;height:30px}.support-button>span:nth-child(2){flex:1 1 auto;min-width:0;text-align:center;white-space:nowrap}.btn{min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere;line-height:1.2}.rules-result-actions .btn{padding-left:8px;padding-right:8px}.support-button{line-height:1.2}.support-button .support-external{font-size:17px}.support-button:hover{filter:brightness(1.08);transform:translateY(-1px)}.support-button:active{transform:translateY(1px)}.rules-result-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.rules-panel[data-phase=finished]{max-height:calc(var(--app-height, 100dvh) - var(--safe-top) - var(--safe-bottom) - 40px)}.rules-panel[data-phase=finished] .rules-body{overflow:visible;min-height:0;max-height:none}@media(max-width:759px),(max-height:539px){#multiplayer-home>.support-menu{grid-column:1 / -1;grid-row:5;margin-top:1px;padding-top:1px;min-height:44px;font-size:12px}.support-menu .support-coffee-icon{width:30px;height:30px}.support-menu small{font-size:9px}.rules-result-actions{gap:7px}.support-result{margin-top:9px;padding-top:8px}.support-result h3{font-size:15px}.rules-panel .support-result p{margin:4px auto 6px;font-size:11px;line-height:1.35}.support-button{min-height:48px;font-size:12px;gap:4px;padding-left:12px;padding-right:12px;padding-bottom:8px}.support-button .support-coffee-icon{width:24px;height:24px}.rules-panel[data-phase=finished] .rules-body{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:12px;align-items:center}.rules-panel[data-phase=finished] .rules-eyebrow{display:none}.rules-result-summary,.rules-result-player{min-width:0}.rules-result-players{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 10px}.rules-result-players:has(>:only-child){grid-template-columns:1fr}.rules-result-player .rules-stat{flex-direction:column;align-items:flex-start;gap:1px;border:0}.rules-result-player .rules-stat>span{font-size:9px}.rules-result-player .rules-stat strong{font-size:12px}.support-result{border-top:0;margin:0;padding:0}}@media(prefers-reduced-motion:reduce){.support-game .support-coffee-icon{animation:none}.support-button{transition:none}.support-button:hover,.support-button:active{transform:none}}.game-brand{flex:none;gap:0;pointer-events:auto}.game-brand-logo{display:block;width:clamp(230px,23vw,320px);height:auto;object-fit:contain}body:not([data-scene=game]) .game-header{height:120px;padding-top:10px;padding-bottom:10px}body[data-scene=game] .game-brand{display:none}.dice-controls .roll-timer{white-space:nowrap}.game-brand:focus-visible{outline:3px solid #d5a137;outline-offset:4px;border-radius:5px}@media(max-width:759px),(max-height:539px){body:not([data-scene=game]) .game-header{height:66px;padding-top:4px;padding-bottom:4px}.game-brand-logo{width:168px}}.language-anchor{flex:none;align-self:center;width:70px;height:43px}body[data-scene=game] .language-anchor{height:39px}.language-control{position:fixed;z-index:200}.language-control[data-compact=true]{left:50%!important;top:calc(var(--safe-top, 0px) + 4px)!important;transform:translate(-50%)}.language-control .ui-icon-button.language-toggle{display:inline-flex;gap:4px;width:70px;height:var(--language-height, 43px);padding:3px 6px;background:#fff9e9;border:1px solid #d9b257;border-radius:10px;box-shadow:0 3px #a57b31;color:#244e49}.language-toggle img{width:32px;height:32px;display:block}.language-toggle>span{font:900 11px Nunito,sans-serif;letter-spacing:.03em}.language-toggle[aria-expanded=true]{background:#f9ecc5}.language-menu{position:absolute;right:0;top:calc(100% + 12px);width:216px;padding:14px;border:1px solid #d7c89b;border-radius:12px;background:#fffdf5;box-shadow:0 4px #c9b77b,0 12px 30px #153e3b30;color:#244e49}.language-menu p{margin:0 0 9px;font:900 12px Nunito,sans-serif}.language-menu [role=group]{display:grid;gap:7px}.language-option{display:flex;align-items:center;justify-content:space-between;min-height:44px;width:100%;padding:9px 12px;border:1px solid #dce3d8;border-radius:7px;background:#f5f4e9;color:#244e49;cursor:pointer;font:800 14px Nunito,sans-serif}.language-option small{font-size:10px;opacity:.8}.language-option[aria-pressed=true]{border-color:#38856b;background:#e0f0df;box-shadow:inset 3px 0 #38856b}.language-option:hover{background:#e9efd9}#language-announcement{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}@media(max-width:759px),(max-height:539px){body[data-scene=game] .language-anchor{display:none}.language-anchor,body[data-scene=game] .language-anchor{width:59px;height:36px}.language-control .ui-icon-button.language-toggle{width:59px;min-height:36px;height:36px;padding:2px 4px}.language-toggle img{width:28px;height:28px}.language-toggle>span{font-size:10px}.language-menu{top:calc(100% + 8px);width:196px;padding:10px}}
