:root{--ink:#514d3e;--muted:#938c73;--gold:#e5b351;--line:#cbbd96;--cream:#fff7df;--green:#64854e}*{box-sizing:border-box}body{margin:0;background:#dfdfbd;color:var(--ink);font:13px 'Segoe UI',Arial,sans-serif;-webkit-font-smoothing:antialiased}button,select{font:inherit}button{border:0;cursor:pointer;transition:filter .15s,transform .15s,box-shadow .15s}button:disabled{opacity:.45;cursor:default}button:not(:disabled):active{transform:translateY(1px)}button:focus-visible,a:focus-visible,select:focus-visible{outline:3px solid #b77e30;outline-offset:3px}a{color:inherit;text-decoration:none}.app{height:100dvh;min-height:760px;overflow:hidden;position:relative;background:radial-gradient(ellipse at 48% 48%,#e8e8c9,#d1d8b0 72%,#c6d0a8)}.app:before{content:'';position:absolute;inset:0;pointer-events:none;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' opacity='.15' filter='url(%23n)'/%3E%3C/svg%3E");opacity:.25}#city-stage{position:absolute;inset:88px 242px 75px 216px;outline:none;touch-action:none;cursor:grab}#city-stage canvas{width:100%;height:100%;display:block;pointer-events:none}#city-stage.dragging{cursor:grabbing}.scene-shade{position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,#e7dfbf55,transparent 25%,transparent 80%,#d5d4b244);z-index:1}header{position:relative;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:18px;height:85px;padding:0 28px;background:linear-gradient(180deg,#fff6dc,#f3e8c8);border-bottom:2px solid #beaf86;box-shadow:0 3px 0 #b2b28a20}.brand{display:flex;align-items:center;gap:12px;font:600 23px Georgia,serif;letter-spacing:-.7px;white-space:nowrap;color:#504b38}.brand small{display:block;font:7px 'Segoe UI',Arial,sans-serif;letter-spacing:1.8px;color:#a09671;margin-top:6px}.brand-mark{width:38px;height:38px;display:flex;align-items:flex-end;justify-content:center;gap:3px;padding:8px;border-radius:8px;background:linear-gradient(145deg,#8a9c5d,#5d7848);border:2px solid #51673d;box-shadow:inset 0 1px 0 #d9dfab,0 2px 0 #c5b897}.brand-mark i{width:5px;background:linear-gradient(180deg,#f6dd8d,#e4b04e);border:1px solid #d3a94f;border-radius:1px}.brand-mark i:nth-child(1){height:11px}.brand-mark i:nth-child(2){height:22px}.brand-mark i:nth-child(3){height:16px}.session{display:flex;gap:9px;align-items:center;font-size:9px;color:#979677}.session>i{width:5px;height:5px;border-radius:50%;background:#829762}.session>span{color:#b8b18f}nav{display:flex;align-items:center;gap:20px}nav button{color:#877c5f;background:none;font-size:10px;padding:9px 0}nav button:hover{color:#604c2c}.new-game{border:1px solid #b79a5e!important;background:linear-gradient(#eed7a4,#e4c58b)!important;padding:9px 13px!important;border-radius:5px;box-shadow:0 2px 0 #c1a575;color:#755a30!important}.new-game span{margin-left:14px;color:#92703a}.district-title{position:absolute;top:107px;left:50%;transform:translateX(-50%);text-align:center;pointer-events:none;z-index:2;white-space:nowrap}.eyebrow{font-size:8px;letter-spacing:2px;font-weight:650;color:#9a8d66}.district-title .eyebrow{color:#8e8c65}.district-title .eyebrow span{font-size:7px;padding:2px 4px;border:1px solid #a39f7155;border-radius:3px;margin-left:4px}.district-title h1{font:normal 28px Georgia,serif;letter-spacing:-.8px;color:#5d6343;margin:10px 0 7px;text-shadow:0 1px 0 #fcf5d3}.district-title p{font-size:9px;color:#939773;letter-spacing:.2px;margin:0}.left-panel{position:absolute;top:137px;left:23px;width:202px;z-index:3;padding:16px;background:linear-gradient(145deg,#fff7dff5,#f4e7c6f5);border:1px solid #b8aa81;border-radius:9px;box-shadow:0 3px 0 #b8ae8b66,0 8px 20px #66794b14,inset 0 1px 0 #fffbe8}.company-title{display:flex;align-items:center;gap:8px;margin-bottom:16px}.avatar{width:30px;height:30px;display:grid;place-items:center;border:1px solid #b7a66e;border-radius:50%;font-size:11px;font-weight:600;flex:none;box-shadow:inset 0 1px 0 #ffffff66}.avatar.gold{background:linear-gradient(#e9cb79,#d1a54d);color:#80602a}.company-title b{font-size:11px;font-weight:650}.company-title small{font-size:7px;display:block;color:#aaa17c;margin-top:4px}.player-online,.autosave i,.chronicle-title i{display:inline-block;width:5px;height:5px;background:#91a16a;border-radius:50%;border:1px solid #738a4f}.player-online{margin-left:auto;width:4px;height:4px}.wallet{background:linear-gradient(140deg,#e9edc9,#e2e5bc);border:1px solid #b8bf87;border-radius:7px;padding:15px 12px;box-shadow:inset 0 1px 0 #fbffe0}.wallet>small{font-size:6px;letter-spacing:1.2px;color:#93966c}.wallet>strong{display:block;font-size:31px;letter-spacing:-1.5px;color:#5a6a3d;font-weight:600;margin:7px 0 14px;white-space:nowrap;text-shadow:0 1px 0 #f8ffdf}.wallet>strong span{font-size:22px;color:#97a268;margin-left:4px}.wallet>div{display:flex;justify-content:space-between;gap:5px;font-size:7px;color:#93976e;border-top:1px solid #bdc698;padding-top:11px}.wallet>div b{font-size:9px;color:#6f8c49;font-weight:650}.mini-stats{display:flex;justify-content:space-between;margin:18px 0 24px}.mini-stats>div+div{padding-left:12px;border-left:1px solid #d6cba5}.mini-stats small{font-size:7px;color:#a39a77;display:block}.mini-stats b{font-size:14px;font-weight:600;display:block;color:#7b7754;margin-top:7px}.portfolio-heading{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #dbceaa;padding-bottom:10px}.portfolio-heading h2{font:normal 17px Georgia,serif;margin:0;color:#837251}.portfolio-heading>span{font-size:8px;border:1px solid #d2c18d;background:#eddfb8;color:#a39266;padding:2px 5px;border-radius:3px}#portfolio{max-height:144px;overflow:auto;scrollbar-width:thin;scrollbar-color:#cdbf8f transparent}.portfolio-empty{font-size:9px;color:#b0a47e;text-align:center;line-height:1.9;padding:17px 5px;border:1px dashed #d1c49e;border-radius:5px;margin-top:12px}.portfolio-empty svg{display:block;margin:0 auto 7px;color:#ac9c6c;opacity:.7}.property-row{display:flex;align-items:center;gap:8px;background:transparent;border-bottom:1px solid #d4c69f66;padding:10px 1px;width:100%;text-align:left;color:#8b7b57}.property-row:hover,.property-row.active{background:#e9d8ac55}.property-icon{width:27px;height:27px;background:#e9d9b5;border:1px solid #d4c294;color:#a28c5a;border-radius:5px;display:grid;place-items:center}.property-row b{font-size:9px;font-weight:600}.property-row small{display:block;font-size:7px;margin-top:3px;color:#b0a17a}.property-row>span:last-child{margin-left:auto;font-size:9px;color:#8b9c59}.opponents-title{font-size:7px;margin:22px 0 14px;color:#a89c75}.opponent{display:flex;align-items:center;gap:7px;margin-bottom:14px}.opponent:last-child{margin-bottom:0}.opponent .avatar{width:26px;height:26px;font-size:9px}.opponent-name{font-size:9px;color:#8a7d5c}.opponent-sub{font-size:7px;color:#b1a481;margin-top:4px}.opponent-cash{margin-left:auto;text-align:right;color:#908665;font-size:10px}.opponent-cash small{display:block;font-size:6px;color:#baae89;margin-top:4px}.autosave{display:flex;align-items:center;gap:5px;font-size:6px;color:#b7ad87;margin-top:22px}.autosave i{width:4px;height:4px;border:0}.time-bar{position:absolute;top:109px;right:26px;width:229px;display:flex;align-items:center;gap:18px;z-index:3}.week-block{display:flex;gap:5px;align-items:baseline}.week-block>span{font-size:6px;letter-spacing:1.5px;color:#a09870;align-self:center;margin-right:4px}.week-block b{font-size:25px;line-height:1;color:#6e7250;font-weight:500;text-shadow:0 1px 0 #ffffd8}.week-block>small{font-size:11px;color:#a4a17d}.demand-block{display:flex;align-items:center;gap:6px;border-left:1px solid #adb48a66;padding-left:14px}.trend{font-size:24px;color:#82945c}.demand-block small{display:block;font-size:5px;letter-spacing:1px;color:#969c73;white-space:nowrap}.demand-block b{font-size:12px;display:block;font-weight:500;color:#738552;margin-top:4px}.right-panel{position:absolute;top:153px;right:24px;width:232px;z-index:3;background:linear-gradient(145deg,#fff6dcf7,#f0e4c2f7);border:1px solid #b8a77d;border-radius:9px;box-shadow:0 3px 0 #b5a67f77,0 8px 22px #63774615,inset 0 1px 0 #fffbe8;overflow:hidden}.detail-eyebrow{display:flex;justify-content:space-between;padding:15px 17px 0;font-size:7px;letter-spacing:1.6px;color:#a1926c}.detail-eyebrow>span:last-child{color:#b0a077;letter-spacing:.5px}.detail-art{height:171px;margin:0 13px;display:flex;align-items:center;justify-content:center;background:radial-gradient(ellipse at 50% 70%,#d7d6a855,transparent 65%)}.building-image{height:180px;width:180px;background-image:url('assets/buildings.png');background-size:200% 200%;background-repeat:no-repeat;filter:drop-shadow(0 5px 3px #9e875219)}.building-0{background-position:0 0}.building-1{background-position:100% 0}.building-2{background-position:0 100%}.building-3{background-position:100% 100%}.detail-art>img{width:100%;height:100%;object-fit:contain}.detail-body{padding:0 17px 17px}.detail-body h2{font:normal 23px Georgia,serif;letter-spacing:-.5px;color:#74603f;margin:2px 0 5px}.detail-location{font-size:8px;color:#b1a27b;margin-bottom:13px}.status-chip{display:inline-flex;align-items:center;gap:5px;border:1px solid #bcc68d;background:#e4e8c055;color:#849957;padding:4px 6px;border-radius:4px;font-size:7px}.status-chip i{width:4px;height:4px;border-radius:50%;background:currentColor}.stat{display:flex;justify-content:space-between;align-items:center;font-size:9px;color:#a69873;margin-top:13px}.stat b{font-size:11px;font-weight:600;color:#8a7c55}.stat b.profit-value{color:#8a9b55}.level-dots{display:flex;gap:4px}.level-dots i{width:18px;height:5px;border:1px solid #d4c8a2;background:#e8dec0;border-radius:2px}.level-dots i.filled{background:#dbb964;border-color:#b99b55}.stat.featured{border-top:1px solid #d5c8a0;padding-top:14px;margin-top:15px}.stat.featured b{font-size:24px;letter-spacing:-.7px;color:#7e6b43;font-weight:600}.primary{background:linear-gradient(#f2d28a,#dfb45f);border:1px solid #ae8845;box-shadow:inset 0 1px 0 #fff0b5,0 2px 0 #b18b4e77;display:flex;align-items:center;justify-content:space-between;gap:15px;border-radius:5px;color:#71522c;font-size:11px;font-weight:650;text-shadow:0 1px 0 #fbe0a0;padding:12px 14px}.primary:hover:not(:disabled){background:linear-gradient(#f7dda0,#eac074);box-shadow:0 3px 8px #a77f3533,inset 0 1px 0 #fff5cf}.primary>span{font-size:18px;font-weight:400}.detail-actions{display:flex;flex-direction:column;gap:7px;margin-top:15px}.detail-actions .primary{font-size:10px;width:100%;padding:11px 12px}.secondary{background:linear-gradient(#efe5c6,#e4d6b2);color:#96815b;border:1px solid #cbbb90;border-radius:4px;padding:8px;font-size:9px;box-shadow:inset 0 1px 0 #fff8dc}.secondary:hover:not(:disabled){filter:brightness(1.04)}.detail-note{font-size:8px;color:#b0a07b;line-height:1.8;margin:11px 0 0}.detail-body>label{display:block;font-size:8px;color:#aa9670;margin-top:13px}.detail-body select{display:block;width:100%;background:#f7edce;color:#93805b;border:1px solid #cfc096;padding:7px;font-size:9px;border-radius:4px;margin-top:6px}.chronicle{padding:14px 17px 15px;border-top:1px solid #d5c6a1;background:#e9ddb522}.chronicle-title{display:flex;justify-content:space-between;align-items:center}.chronicle-title h2{font-size:10px;font-weight:600;color:#9b8b64;margin:0}.chronicle-title>span{display:flex;align-items:center;gap:4px;font-size:5px;letter-spacing:1px;color:#b6a881}.chronicle-title i{width:3px;height:3px;border:0}#log{max-height:90px;overflow:auto;scrollbar-width:thin;scrollbar-color:#d1c296 transparent;margin-top:11px}.log-item{display:flex;gap:6px;font-size:8px;line-height:1.65;color:#b7a882;padding-bottom:10px}.log-item:first-child{color:#a08a58}.news-dot{width:4px;height:4px;border:1px solid #c9b785;border-radius:50%;flex:none;margin-top:4px}.log-item:first-child .news-dot{background:#c8a15b;border-color:#c8a15b}.log-item small{display:block;font-size:6px;color:#c3b58d;margin-top:3px}.turn-bar{position:absolute;bottom:40px;left:250px;right:280px;z-index:4;display:flex;gap:17px;align-items:center;padding:18px 20px;background:linear-gradient(150deg,#fff8def5,#f0e4c4f5);border:1px solid #b9a87b;border-radius:8px;box-shadow:0 3px 0 #b6a57d66,0 8px 18px #6b795314,inset 0 1px 0 #fffce9}.dice{width:42px;height:42px;min-width:42px;display:grid;grid-template-rows:repeat(3,1fr);grid-template-columns:repeat(3,1fr);border-radius:8px;padding:8px;transform:rotate(-9deg);background:linear-gradient(135deg,#fff9dc,#dec28b);border:1px solid #b39a67;box-shadow:inset 0 1px 0 #fffdec,0 3px 0 #baa06e,0 5px 7px #9f865322}.dice i{height:5px;width:5px;border-radius:50%;background:#987a46;box-shadow:inset 0 1px 0 #7f663b;justify-self:center;align-self:center}.dice.rolling{animation:roll .13s infinite alternate}@keyframes roll{to{transform:rotate(16deg) translateY(-5px)}}.turn-text{min-width:0}.turn-text>small{font-size:7px;font-weight:600;letter-spacing:1.7px;color:#bc9d5d}.turn-text>b{display:block;font-size:12px;font-weight:600;color:#8c7951;margin-top:5px}.turn-text>p{font-size:9px;color:#b3a581;margin:6px 0 0}.turn-bar>.primary{min-width:159px;padding:14px 17px;margin-left:auto;white-space:nowrap}.camera-controls{position:absolute;z-index:3;left:50%;bottom:157px;transform:translateX(-50%);display:flex;gap:3px;align-items:center;background:#f5ecd1dd;border:1px solid #b8ad86;border-radius:6px;padding:4px;box-shadow:0 2px 0 #a9a17d55}.camera-controls button{background:transparent;color:#8f8d65;height:27px;width:29px;font-size:18px;border-radius:3px}.camera-controls button:hover{background:#dfd5ae;color:#7a734c}.camera-controls span{height:13px;width:1px;background:#c4bc95;margin:0 4px}.camera-hint{position:absolute;z-index:3;bottom:199px;left:50%;transform:translateX(-50%);font-size:7px;color:#a5a27b;white-space:nowrap}.camera-hint>span{border:1px solid #aeb18a77;padding:2px 4px;font-size:6px;border-radius:3px;color:#929772;margin-right:3px;background:#e8e4c744}.camera-hint>i{margin:0 8px}.bottom-caption{position:absolute;bottom:14px;left:50%;transform:translateX(-50%);font-size:6px;letter-spacing:2px;color:#9da27a;z-index:2}.bottom-caption>span{font-size:5px;padding:1px 3px;letter-spacing:.7px;border:1px solid #a6ad8366;margin-left:7px}.notice{position:absolute;left:250px;right:280px;bottom:139px;text-align:center;font-size:10px;z-index:4;color:#9c7d43}.lot-hotspots{position:absolute;inset:0;overflow:hidden;pointer-events:none}.lot-hotspot{position:absolute;background:transparent;border:0;padding:0;pointer-events:auto;cursor:pointer;z-index:2;border-radius:40% 40% 10% 10%}.lot-hotspot:focus-visible{outline:3px dashed #d59b35;outline-offset:-3px;background:#f3d18b11}.dragging .lot-hotspot{cursor:grabbing}.loading{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:12px;font-size:12px;color:#899266}.loading>span{width:16px;height:16px;border:2px solid #c1c59a;border-top-color:#8c9c60;animation:spin 1s linear infinite;border-radius:50%}@keyframes spin{to{transform:rotate(360deg)}}dialog{max-width:550px;width:calc(100% - 32px);padding:35px;border-radius:10px;border:2px solid #af976a;background:linear-gradient(140deg,#fff6da,#efe1b8);color:#7f6c47;box-shadow:0 4px 0 #a18b62,0 20px 90px #4a4c2d55}dialog::backdrop{background:#454d3590;backdrop-filter:blur(4px)}dialog h2{font:normal 29px Georgia,serif;margin:15px 0 20px;letter-spacing:-.5px}dialog p{font-size:11px;line-height:1.9;color:#a49570}dialog strong{color:#8d7951}.rule{display:flex;gap:20px;margin:18px 0}.rule>b{font-size:22px;line-height:1.7;font-weight:400;color:#c0a163}.rule p{margin:0}.close{background:none;color:#b2a078;font-size:25px;position:absolute;right:15px;top:10px}.dialog-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:24px}.dialog-actions button{padding:12px 16px;font-size:11px}
@media(min-width:1650px){.left-panel{left:32px;top:145px;width:228px;padding:20px}.right-panel{right:32px;width:266px;top:159px}.detail-art{height:211px}.building-image{width:220px;height:220px}.detail-body{padding:0 21px 21px}.detail-body h2{font-size:27px}.detail-location{font-size:10px}.stat{font-size:11px;margin-top:16px}.stat b{font-size:12px}.detail-note{font-size:9px}.detail-actions .primary{font-size:12px;padding:13px}.time-bar{right:33px;width:265px}.wallet>strong{font-size:38px}.wallet>small{font-size:7px}.wallet>div{font-size:9px}.mini-stats small{font-size:8px}.mini-stats b{font-size:17px}.company-title b{font-size:13px}.company-title small{font-size:8px}.district-title h1{font-size:34px}.turn-bar{left:294px;right:326px;padding:22px 25px;bottom:42px}.turn-text>b{font-size:14px}.turn-text>p{font-size:11px}#city-stage{inset:90px 275px 80px 250px}.camera-controls{bottom:175px}.camera-hint{bottom:216px}.portfolio-empty{font-size:11px;padding:22px 5px}#portfolio{max-height:190px}}
@media(max-width:1250px){.session{display:none}.left-panel{left:17px;width:181px;padding:13px}.right-panel{right:17px;width:209px}.wallet{padding:13px 10px}.wallet>strong{font-size:28px}.wallet>div{font-size:6px}.company-title small{font-size:6px}.mini-stats small{font-size:6px}.mini-stats b{font-size:13px}.mini-stats>div+div{padding-left:9px}.detail-art{height:152px}.building-image{height:160px;width:160px}.detail-body{padding:0 14px 14px}.detail-body h2{font-size:22px}.time-bar{right:18px;width:207px;gap:12px}.demand-block{padding-left:9px}.week-block>span{font-size:5px}.district-title h1{font-size:26px}.district-title .eyebrow{font-size:7px}.turn-bar{left:220px;right:246px;padding:16px;gap:12px}.turn-text>b{font-size:10px}.turn-text>p{font-size:8px}.turn-bar>.primary{min-width:137px;font-size:10px;padding:13px}.turn-text small{font-size:6px}#city-stage{inset:88px 183px 70px 160px}.notice{left:220px;right:246px}.opponent-cash small{font-size:5px}.opponent-name{font-size:8px}.opponent-sub{font-size:6px}}
@media(max-width:1000px){.left-panel{left:14px;width:158px;padding:11px}.right-panel{right:14px;width:186px}.company-title{gap:6px}.company-title .avatar{width:25px;height:25px}.company-title b{font-size:10px}.company-title small{font-size:5px}.player-online{display:none}.wallet{padding:12px 8px}.wallet>small{font-size:5px}.wallet>strong{font-size:24px}.wallet>strong span{font-size:18px}.wallet>div{font-size:5px}.wallet>div b{font-size:8px}.mini-stats{margin:15px 0 19px}.mini-stats small{font-size:5px}.mini-stats b{font-size:12px}.portfolio-heading h2{font-size:15px}.portfolio-empty{font-size:8px}.opponent-cash{font-size:8px}.opponent .avatar{width:23px;height:23px}.autosave{font-size:5px}.time-bar{right:14px;width:184px;gap:10px}.week-block>span{display:none}.demand-block small{font-size:5px}.detail-eyebrow{padding:13px 12px 0;font-size:6px}.detail-art{height:133px}.building-image{height:140px;width:140px}.detail-body{padding:0 12px 13px}.detail-body h2{font-size:19px}.detail-location{font-size:7px}.stat{font-size:8px;margin-top:11px}.stat b{font-size:9px}.detail-note{font-size:7px}.detail-actions .primary{font-size:9px;padding:10px}.chronicle{padding:12px}.chronicle-title h2{font-size:9px}#log{max-height:60px}.turn-bar{left:192px;right:219px;padding:13px;gap:10px}.turn-text>p{display:none}.turn-text>b{font-size:9px}.turn-bar>.primary{min-width:120px;font-size:9px;padding:12px 10px}.dice{min-width:33px;width:33px;height:33px;padding:6px}.dice i{width:4px;height:4px}.district-title h1{font-size:22px}.district-title .eyebrow{font-size:6px}.district-title p{font-size:8px}header{padding:0 18px}.brand{font-size:20px}nav{gap:16px}#city-stage{inset:90px 151px 70px 132px}.camera-controls{bottom:141px}.camera-hint{bottom:182px}.notice{left:192px;right:219px}}
@media(max-height:820px) and (min-width:761px){.left-panel{top:116px}.right-panel{top:140px}.time-bar{top:100px}.district-title{top:98px}.district-title h1{font-size:24px}.detail-art{height:116px}.building-image{height:124px;width:124px}.detail-note{display:none}.chronicle{padding-top:11px;padding-bottom:10px}#log{max-height:50px}.detail-actions{margin-top:12px}.stat{margin-top:10px}.stat.featured{margin-top:11px;padding-top:11px}.company-title{margin-bottom:12px}.mini-stats{margin:16px 0 20px}.opponents-title{margin:18px 0 12px}#portfolio{max-height:100px}.portfolio-empty{padding-top:12px;padding-bottom:12px}.wallet{padding-top:12px;padding-bottom:12px}.turn-bar{bottom:32px;padding-top:14px;padding-bottom:14px}.camera-controls{bottom:129px}.camera-hint{bottom:169px}.autosave{margin-top:15px}}
@media(max-width:760px){.app{height:auto;min-height:100dvh;overflow:hidden;padding-bottom:20px}header{height:75px;padding:0 16px}.brand{font-size:18px}.brand-mark{width:31px;height:31px;padding:6px;gap:2px}.brand-mark i{width:4px}.brand-mark i:nth-child(2){height:18px}.brand small{font-size:5px;letter-spacing:1px}.brand{gap:8px}nav{gap:13px}nav button{font-size:9px}nav .new-game{font-size:0;padding:5px!important}nav .new-game span{font-size:17px;margin:0}.session{display:none}.district-title{top:93px}.district-title h1{font-size:25px}.district-title .eyebrow{font-size:7px}.district-title p{font-size:8px}.scene-shade{height:740px;bottom:auto}.time-bar{top:178px;left:20px;right:20px;width:auto;justify-content:space-between;border-top:1px solid #a3ae7d33;padding-top:12px}.week-block>span{display:block;font-size:6px}.week-block b{font-size:23px}.week-block>small{font-size:10px}.demand-block{border:0;padding:0}.demand-block small{font-size:6px}.trend{font-size:19px}#city-stage{position:relative;inset:auto;margin-top:130px;height:425px;width:100%;touch-action:none}.camera-controls{top:604px;bottom:auto;left:50%;transform:translateX(-50%);padding:3px}.camera-controls button{font-size:17px;width:27px;height:26px}.camera-hint{top:587px;bottom:auto;font-size:6px}.turn-bar{position:relative;left:auto;right:auto;bottom:auto;margin:22px 15px 0;padding:15px;gap:13px;z-index:4}.turn-text>b{font-size:10px}.turn-text>p{display:none}.turn-text small{font-size:6px}.turn-bar>.primary{font-size:9px;min-width:124px}.left-panel{position:relative;left:auto;top:auto;right:auto;width:auto;margin:22px 15px 0;display:grid;grid-template-columns:1fr 1fr;gap:15px;border-radius:9px;padding:16px}.company-title{grid-column:1/-1;margin:0}.company-title small{font-size:8px}.company-title b{font-size:12px}.company-title .avatar{height:30px;width:30px}.wallet{padding:14px 12px}.wallet>strong{font-size:30px;margin:7px 0 14px}.wallet>small{font-size:6px}.wallet>div{font-size:7px}.wallet>div b{font-size:10px}.mini-stats{margin:0;flex-direction:column;justify-content:space-around;padding:5px 10px}.mini-stats>div+div{border:0;padding:0}.mini-stats small{font-size:8px}.mini-stats b{font-size:17px;margin-top:5px}.portfolio-heading{grid-column:1/-1}.portfolio-heading h2{font-size:18px}#portfolio{grid-column:1/-1;max-height:150px}.portfolio-empty{font-size:10px;padding:15px;margin:0}.portfolio-empty svg{display:none}.opponents-title{grid-column:1/-1;margin:3px 0 0;font-size:7px}#players{display:flex;grid-column:1/-1;gap:20px}.opponent{margin:0;flex:1;gap:7px}.opponent-name{font-size:10px}.opponent-cash{font-size:10px}.opponent-sub{font-size:7px}.opponent-cash small{display:none}.autosave{grid-column:1/-1;font-size:7px;margin:0}.right-panel{position:relative;top:auto;right:auto;width:auto;margin:20px 15px 0;z-index:3}.detail-eyebrow{padding:17px 19px 0;font-size:8px}.detail-art{height:235px;margin:0 20px}.building-image{height:245px;width:245px}.detail-body{padding:0 20px 20px}.detail-body h2{font-size:28px}.detail-location{font-size:10px}.status-chip{font-size:9px}.stat{font-size:11px;margin-top:16px}.stat b{font-size:12px}.stat.featured b{font-size:26px}.detail-note{display:block;font-size:10px}.detail-actions .primary{font-size:12px;padding:14px}.detail-body>label{font-size:10px}.detail-body select{font-size:12px;padding:10px}.secondary{font-size:11px}.chronicle{padding:20px}.chronicle-title h2{font-size:12px}.log-item{font-size:10px}#log{max-height:120px}.chronicle-title>span{font-size:6px}.notice{position:relative;left:auto;right:auto;bottom:auto;margin:12px 20px;font-size:9px}.bottom-caption{position:relative;left:auto;bottom:auto;transform:none;text-align:center;margin:20px 0 0}.property-row b{font-size:11px}.property-row small{font-size:9px}.property-row>span:last-child{font-size:11px}.lot-hotspot{min-width:0;min-height:0}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
/* Readable labels at normal desktop scale. */
@media(min-width:761px){nav button{font-size:12px}.session{font-size:10px}.left-panel{width:214px}.company-title b{font-size:12px}.company-title small{font-size:8px}.wallet>small{font-size:8px;letter-spacing:1px}.wallet>div{font-size:9px}.wallet>div b{font-size:10px}.mini-stats small{font-size:8px}.mini-stats b{font-size:15px}.portfolio-heading h2{font-size:18px}.portfolio-heading>span{font-size:10px}.portfolio-empty{font-size:10px}.property-row b{font-size:10px}.property-row small{font-size:8px}.property-row>span:last-child{font-size:10px}.opponents-title{font-size:8px}.opponent-name{font-size:11px}.opponent-sub{font-size:8px}.opponent-cash{font-size:11px}.opponent-cash small{font-size:7px}.autosave{font-size:7px}.right-panel{width:250px;max-height:calc(100dvh - 176px);overflow:auto;scrollbar-width:thin;scrollbar-color:#c4b58b transparent}.time-bar{width:249px}.detail-eyebrow{font-size:8px}.detail-location{font-size:10px;color:#9e8e65}.status-chip{font-size:9px}.stat{font-size:11px;color:#9a8a60}.stat b{font-size:12px}.stat.featured b{font-size:26px}.detail-actions .primary{font-size:12px}.detail-note{font-size:10px;line-height:1.6;color:#a4956e}.detail-body>label{font-size:10px}.detail-body select{font-size:11px}.chronicle-title h2{font-size:12px}.chronicle-title>span{font-size:6px}.log-item{font-size:10px}.log-item small{font-size:7px}.turn-text>small{font-size:8px}.turn-text>b{font-size:13px}.turn-text>p{font-size:10px}.turn-bar>.primary{font-size:12px}.camera-hint{font-size:8px}.camera-hint>span{font-size:7px}.week-block>span{font-size:8px}.demand-block small{font-size:7px}.eyebrow{font-size:9px}.district-title .eyebrow{font-size:9px}.district-title p{font-size:11px}.bottom-caption{font-size:7px}.detail-art{height:177px}.building-image{width:186px;height:186px}#city-stage{right:254px;left:228px}.turn-bar{right:294px;left:258px}}
@media(min-width:1650px){.left-panel{width:238px}.right-panel{width:276px}.time-bar{width:275px}.detail-art{height:215px}.building-image{width:225px;height:225px}#city-stage{right:290px;left:262px}.turn-bar{left:300px;right:338px}}
@media(min-width:761px) and (max-width:1250px){.left-panel{width:185px}.right-panel{width:215px}.time-bar{width:213px}.company-title b{font-size:11px}.company-title small{font-size:7px}.wallet>small{font-size:7px}.wallet>div{font-size:8px}.mini-stats small{font-size:7px}.mini-stats b{font-size:13px}.opponent-name{font-size:9px}.opponent-sub{font-size:7px}.opponent-cash{font-size:10px}.opponent-cash small{font-size:6px}.detail-art{height:155px}.building-image{height:164px;width:164px}.detail-location{font-size:9px}.stat{font-size:10px}.stat b{font-size:11px}.detail-actions .primary{font-size:10px}.detail-note{font-size:9px}.turn-text>b{font-size:11px}.turn-text>p{font-size:9px}.turn-bar>.primary{font-size:10px}.turn-bar{left:223px;right:252px}#city-stage{left:172px;right:195px}.week-block>span{font-size:6px}.demand-block small{font-size:6px}}
@media(min-width:761px) and (max-width:1000px){.left-panel{width:162px}.right-panel{width:193px}.time-bar{width:191px}.wallet>small{font-size:6px}.wallet>div{font-size:6px}.mini-stats small{font-size:6px}.mini-stats b{font-size:12px}.company-title b{font-size:10px}.company-title small{font-size:6px}.opponent-name{font-size:8px}.opponent-cash{font-size:9px}.autosave{font-size:6px}.detail-art{height:137px}.building-image{width:146px;height:146px}.stat{font-size:9px}.stat b{font-size:10px}.detail-location{font-size:8px}.detail-eyebrow{font-size:7px}.detail-note{font-size:8px}.chronicle-title h2{font-size:10px}.log-item{font-size:8px}.turn-text>b{font-size:9px}.turn-bar>.primary{font-size:9px}.turn-bar{left:194px;right:224px}#city-stage{left:137px;right:160px}.district-title .eyebrow{font-size:7px}.district-title p{font-size:9px}}
@media(max-height:820px) and (min-width:761px){.detail-art{height:118px}.building-image{height:126px;width:126px}.detail-note{display:none}.right-panel{max-height:calc(100dvh - 159px)}.left-panel{max-height:calc(100dvh - 145px);overflow:auto;scrollbar-width:thin;scrollbar-color:#c4b58b transparent}.turn-text>b{font-size:11px}.turn-text>p{font-size:9px}}
/* The illustration remains bright while interface text has enough contrast. */
.wallet>small,.wallet>div{color:#7c8255}.mini-stats small{color:#90835f}.company-title small{color:#968762}.portfolio-empty{color:#9b8c64}.opponent-sub{color:#998962}.opponent-cash small{color:#a4946c}.autosave{color:#9b8c66}.detail-location{color:#a28e63}.stat{color:#98815b}.log-item{color:#9a8964}.log-item:first-child{color:#907440}.turn-text>p{color:#9c8961}.district-title p{color:#87916a}.camera-hint{color:#8f956c}
@media(max-width:760px){.app{display:flex;flex-direction:column}header{order:0;flex-shrink:0;height:105px;flex-wrap:wrap;align-content:center;gap:11px;padding:12px 16px}.brand{font-size:20px}.brand small{font-size:6px;letter-spacing:1.2px}nav{width:100%;justify-content:space-between;gap:12px}nav button{font-size:10px}nav .new-game{font-size:9px;padding:5px 9px!important}nav .new-game span{font-size:12px;margin-left:7px}.district-title{top:124px}.district-title h1{font-size:24px}.time-bar{top:207px}#city-stage{order:1;flex:none;height:410px;margin-top:135px}.turn-bar{order:2}.left-panel{order:3}.right-panel{order:4}.notice{order:5}.bottom-caption{order:6}.camera-controls{top:627px}.camera-hint{top:610px}}
.focus-lot{display:block;width:100%;margin-top:12px;font-size:10px}.lot-hotspot{border-radius:10%;z-index:2}.lot-hotspot:focus-visible{outline-width:2px;outline-offset:0}@media(max-width:760px){.focus-lot{font-size:11px;padding:10px}}
.property-row>span:nth-child(2){min-width:0;flex:1}.property-row b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.property-row small{line-height:1.5}.detail-body h2{overflow-wrap:break-word}
.map-start-label{position:absolute;transform:translate(-50%,0);display:flex;align-items:center;gap:5px;padding:3px 5px;background:linear-gradient(#fbf0cf,#e6d6a7);border:1px solid #a6a276;border-radius:4px;color:#607b48;box-shadow:0 1px 2px #5f6f3f22;pointer-events:none;white-space:nowrap;font-size:8px;line-height:1.1}.map-start-label b{font-size:8px;letter-spacing:.5px}.map-start-label span{font-size:7px;border-left:1px solid #c8bb8c;padding-left:4px;color:#9b8249}
#city-stage canvas{filter:saturate(1.07) contrast(1.025)}.detail-body{animation:detail-arrive .22s ease-out}.primary:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 4px 10px #a27b3933,inset 0 1px 0 #fff5cf}.property-row{transition:background .18s,transform .18s}.property-row:hover{transform:translateX(2px)}.map-start-label{box-shadow:0 2px 5px #6c7a3930;background:linear-gradient(#fff4d6,#e8d4a2)}@keyframes detail-arrive{from{opacity:.55;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}.dice.rolling{animation:dice-tumble .16s ease-in-out infinite alternate}@keyframes dice-tumble{from{transform:translateY(0) rotate(-14deg) scale(.96)}to{transform:translateY(-5px) rotate(17deg) scale(1.04)}}
.primary:active:not(:disabled){transform:translateY(1px);box-shadow:inset 0 1px 3px #9470392b}

/* Owned enterprise cards and shared city illustrations */
.detail-art .matching-building{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 8px 6px #685a3922)}
.owned-hand[hidden]{display:none}.owned-hand{position:absolute;bottom:28px;left:258px;right:294px;z-index:6}.hand-heading{font-size:10px;letter-spacing:1.5px;color:#766d4c;margin:0 3px 7px;font-weight:700}.hand-heading span{float:right;letter-spacing:0;font-size:10px;font-weight:400}.owned-cards{display:flex;gap:10px;overflow-x:auto;padding:5px 4px 9px;scrollbar-width:thin;scrollbar-color:#baad83 transparent}.owned-card{flex:0 0 202px;display:flex;align-items:center;text-align:left;min-height:94px;border:1px solid #c9ba91;border-radius:10px;background:linear-gradient(145deg,#fff7dd,#e8dcba);box-shadow:0 3px 8px #62513618;padding:5px 8px 5px 0;color:#5c6248;cursor:pointer;transition:transform .2s,border-color .2s}.owned-card:hover{transform:translateY(-4px);border-color:#a68a48}.owned-card.active{border:2px solid #ab873c;background:#fff0c6}.owned-card img{width:83px;height:84px;object-fit:contain;flex-shrink:0}.owned-card>span{min-width:0}.owned-card b{display:block;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:112px}.owned-card small{display:block;font-size:10px;color:#908263;margin:5px 0}.owned-card strong{font-size:11px;color:#668050}.owned-card.is-new{animation:card-purchase .65s cubic-bezier(.18,.8,.25,1)}@keyframes card-purchase{from{opacity:0;transform:translateY(65px) rotate(5deg)}to{opacity:1;transform:none}}
@media(min-width:761px){.has-property-hand .turn-bar{bottom:174px}.has-property-hand .camera-controls{bottom:287px}.has-property-hand .camera-hint{bottom:328px}.has-property-hand #city-stage{bottom:270px}.has-property-hand .notice{bottom:274px}}
@media(min-width:1651px){.owned-hand{left:300px;right:338px}}
@media(min-width:761px) and (max-width:1250px){.owned-hand{left:223px;right:252px}.hand-heading span{display:none}}
@media(min-width:761px) and (max-width:1000px){.owned-hand{left:194px;right:224px}}
@media(max-width:760px){.owned-hand{position:relative;order:3;left:auto;right:auto;bottom:auto;margin:18px 15px 0}.hand-heading span{display:none}.owned-card{flex-basis:202px}.left-panel{order:4!important}.right-panel{order:5!important}.notice{order:6!important}.bottom-caption{order:7!important}}

.turn-figurine{width:54px;height:75px;object-fit:contain;margin:-12px -10px -12px -8px;flex-shrink:0;filter:drop-shadow(0 3px 3px #76613922)}.movement-status{position:absolute;left:50%;top:210px;transform:translateX(-50%);z-index:7;padding:10px 20px;border:1px solid #c7ad6a;border-radius:24px;background:#fff4d8ed;box-shadow:0 5px 18px #675b3420;color:#75633c;font-size:12px;pointer-events:none}.movement-status[hidden]{display:none}@media(max-width:1000px){.turn-figurine{display:none}}@media(max-width:760px){.movement-status{top:265px;white-space:nowrap}}

/* Surprise and notice cards */
.event-dialog{padding:0!important;width:min(440px,calc(100vw - 32px));max-height:calc(100dvh - 36px);overflow:auto;border:1px solid #bcaa80!important;border-radius:19px!important;background:#fcf3d9!important;box-shadow:0 25px 100px #3c493c55!important;color:#525e48}.event-dialog::backdrop{background:#354a3d6b;backdrop-filter:blur(5px)}.event-ticket{padding:23px 30px 25px;position:relative;background:radial-gradient(ellipse at 50% 18%,#eee3f4aa,transparent 55%)}.event-dialog[data-kind="notice"] .event-ticket{background:radial-gradient(ellipse at 50% 18%,#d1e6ddaa,transparent 55%)}.event-ticket-top{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:9px;letter-spacing:1.3px;color:#9b8b67}.event-ticket-top>span:first-child{padding:6px 10px;border:1px solid #bbabc7;color:#7b668e;border-radius:20px;font-size:11px;letter-spacing:.5px;font-weight:700}.event-dialog[data-kind="notice"] .event-ticket-top>span:first-child{border-color:#9fbab0;color:#587e74}.event-ticket>img{display:block;width:170px;height:138px;object-fit:contain;margin:6px auto 0;filter:drop-shadow(0 9px 7px #6b5c3922)}.event-recipient{font-size:11px;text-align:center;color:#958565;margin:0 0 12px}.event-ticket h2{font-family:Georgia,serif;font-size:29px!important;line-height:1.13;text-align:center;margin:0 0 14px!important;color:#5a624d}.event-ticket>p{font-size:14px;line-height:1.65;text-align:center;margin:0 0 20px;color:#7a7c61}.event-resolution{padding:17px 20px;background:#eaf0d5;border:1px solid #c6d1a4;border-radius:10px;text-align:center;margin-bottom:20px}.event-resolved-label{display:block;font-size:9px;letter-spacing:1.5px;color:#7d8e5c}.event-effect{display:block;font-size:31px;font-family:Georgia,serif;line-height:1.1;margin:9px 0 7px}.event-effect.positive{color:#648149}.event-effect.negative{color:#ac7158}.event-resolution p{font-size:12px;line-height:1.5;color:#798163;margin:0}.event-ticket>.primary{width:100%;padding:13px 18px;display:flex;justify-content:space-between}.event-save-note{display:block;text-align:center;color:#a39878;font-size:9px;margin-top:12px}.detail-art .event-preview{width:100%;height:100%;object-fit:contain;max-height:220px}.event-dialog[open]{animation:event-card-arrive .35s cubic-bezier(.2,.8,.25,1)}@keyframes event-card-arrive{from{opacity:0;transform:translateY(24px) rotate(-2deg) scale(.95)}to{opacity:1;transform:none}}@media(max-width:480px){.event-ticket{padding:20px 22px}.event-ticket h2{font-size:26px!important}.event-ticket-top{font-size:8px;letter-spacing:.7px}.event-ticket>p{font-size:13px}.event-ticket>img{height:116px;width:145px}.event-resolution{margin-bottom:16px;padding:14px}.event-effect{font-size:28px}}

.navigation-event .event-effect{font-family:Georgia,serif;font-size:25px;color:#587d73}.navigation-event .event-resolution{background:#e3eee1;border-color:#b6cdbb}

/* Detailed architectural portraits, three visual development stages */
.detail-art.has-hero{height:auto!important;min-height:240px;margin:0 8px 12px!important;overflow:visible}.property-hero{height:260px;position:relative;isolation:isolate;overflow:hidden;border-radius:15px;background:radial-gradient(ellipse at 50% 40%,#f9edd3 0,#e1e6c3 54%,#d7dfbb 100%);border:1px solid #c6c99e}.hero-halo{position:absolute;inset:0;background:radial-gradient(ellipse at 50% 27%,#fff9e8b0,transparent 70%);z-index:-1}.hero-tier{position:absolute;top:12px;left:13px;color:#8b7147;font:21px Georgia;z-index:2;display:flex;align-items:center;gap:7px}.hero-tier span{font:7px Segoe UI;letter-spacing:1px}.hero-illustration{position:absolute;left:2%;top:25px;width:96%;height:204px;overflow:hidden;filter:drop-shadow(0 10px 8px #5d62442b);animation:hero-reveal .5s ease-out}.hero-stage-caption{position:absolute;bottom:0;left:0;right:0;padding:13px 8px 12px;text-align:center;background:linear-gradient(0deg,#f7efd5 50%,#f7efd500);z-index:3}.hero-stage-caption>span{display:block;font:17px Georgia;color:#5d6c4a}.hero-stage-caption>i{display:block;font:7px Segoe UI;font-style:normal;color:#9d8d66;letter-spacing:2.2px;margin-top:4px}.property-hero[data-stage="2"]{background:radial-gradient(ellipse at 50% 40%,#fff4d9,#dde4c5 60%,#d4dfbb)}.property-hero[data-stage="3"]{border-color:#bda36a;background:radial-gradient(ellipse at 50% 40%,#fff2cc,#e7dfb5 60%,#d9d8ae)}.property-hero[data-stage="3"] .hero-tier{color:#a68131}@keyframes hero-reveal{from{opacity:0;transform:translateY(12px) scale(.97)}to{opacity:1;transform:none}}@media(min-width:1651px){.property-hero{height:290px}.hero-illustration{height:232px}}@media(min-width:761px) and (max-width:1250px){.property-hero{height:225px}.hero-illustration{height:174px;top:25px}.detail-art.has-hero{min-height:225px}.hero-stage-caption>span{font-size:15px}}@media(max-width:760px){.detail-art.has-hero{margin:0 12px 15px!important}.property-hero{height:340px}.hero-illustration{height:278px;top:24px}.hero-tier{left:18px;top:15px}.hero-stage-caption>span{font-size:21px}.hero-stage-caption>i{font-size:8px}}
.detail-art.has-hero{display:block!important}.property-hero{width:100%;box-sizing:border-box}.hero-illustration{max-width:none!important}

.property-hero[data-kind="6"] .hero-illustration{mix-blend-mode:multiply}

/* Syndicates */
.syndicates[hidden]{display:none}.syndicates{display:flex;flex-direction:column;gap:6px;margin:10px 0;max-height:136px;overflow:auto;scrollbar-width:thin}.syndicate-chip{border:1px solid #c9ad6d;border-radius:7px;padding:8px 9px;background:linear-gradient(120deg,#f5e6b7,#e5e7c6);color:#7e683b}.syndicate-chip>b{font-size:11px;display:block}.syndicate-chip>span{font-size:9px;display:block;margin:3px 0}.syndicate-chip>small{font-size:8px;display:block;color:#8e805c}.detail-syndicate{border:1px solid #c7ad6e;background:#eee4bc;border-radius:8px;padding:10px 11px;margin:13px 0;color:#8c7138}.detail-syndicate>*{display:block}.detail-syndicate>b{font-size:12px}.detail-syndicate>span{font-size:10px;margin:4px 0}.detail-syndicate>small{font-size:9px;color:#988459}.owned-card{position:relative}.owned-card.syndicate{border-color:#b6984f;box-shadow:inset 0 0 0 2px #e1c77a66,0 3px 8px #62513618}.owned-card.syndicate:after{content:'♜';position:absolute;right:7px;top:4px;color:#a08440;font-size:12px}.property-hero[data-stage="4"],.property-hero[data-stage="5"]{border-color:#a89051;background:radial-gradient(ellipse at 50% 35%,#fff3c8,#dddcac 65%,#d1d6a8)}.property-hero[data-stage="5"] .hero-tier{color:#9e6d29}.property-hero[data-stage="5"] .hero-stage-caption{background:linear-gradient(0deg,#f1e5ba 50%,#f7efd500)}.level-dots{gap:4px}@media(max-width:760px){.syndicates{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-height:180px}}

/* Countdown junction */
.gate-status{position:absolute;left:50%;top:187px;transform:translateX(-50%);padding:7px 13px;border:1px solid #c5b27a;border-radius:20px;background:#f6edd2df;color:#7c704a;font-size:10px;z-index:5;white-space:nowrap;pointer-events:none}.fork-rules{margin:15px 0}.fork-path{padding:10px 12px;border:1px solid #c1c9a0;background:#e8edcf;border-radius:8px;margin-bottom:8px}.fork-path.inner{background:#dbe8dd;border-color:#abc4b5}.fork-path b,.fork-path span{display:block}.fork-path b{font-size:12px;color:#637751}.fork-path span{font-size:10px;color:#88906e;margin-top:4px}.fork-players{display:flex;gap:6px;padding-top:5px}.fork-players>div{flex:1;min-width:0;text-align:center;border:1px solid #d4c69f;border-radius:7px;padding:8px 2px;background:#fbf0d3}.fork-players span,.fork-players b,.fork-players small{display:block}.fork-players span{font-size:10px}.fork-players b{font:24px Georgia;color:#7e7146;margin:4px 0}.fork-players small{font-size:8px;color:#a2926c}@media(max-width:760px){.gate-status{top:243px;font-size:9px;max-width:calc(100% - 32px);white-space:normal;text-align:center}}

/* Ordered cash flow: pawn labels and wallet receipts */
.money-effects{position:absolute;inset:0;pointer-events:none;overflow:hidden;z-index:30}.pawn-money{position:absolute;transform:translate(-50%,-100%);min-width:116px;max-width:172px;text-align:center;border:1px solid #a7bf8e;border-radius:12px;padding:9px 12px 10px;background:linear-gradient(145deg,#ffffeeef,#e6efceef);box-shadow:0 8px 24px #435c3630;animation:money-rise var(--money-duration,1.15s) ease-out both;will-change:transform,opacity}.pawn-money:after{content:'';position:absolute;bottom:-5px;left:calc(50% - 5px);width:8px;height:8px;background:#e6efce;transform:rotate(45deg);border-right:1px solid #a7bf8e;border-bottom:1px solid #a7bf8e}.pawn-money.negative{border-color:#c99b88;background:linear-gradient(145deg,#fff3e7f5,#f0d8c8f5)}.pawn-money.negative:after{background:#f0d8c8;border-color:#c99b88}.pawn-money small{display:block;font-size:9px;color:#8c9273;line-height:1.2}.pawn-money b{display:block;font:700 24px Georgia;color:#5c853e;line-height:1.25;margin:2px 0}.pawn-money.negative b{color:#af614f}.pawn-money span{display:block;font-size:9px;color:#7e8565;line-height:1.25}.pawn-money.negative span{color:#a0806a}.opponent-money-delta{position:absolute;transform:translate(-100%,-100%);font-size:13px;font-weight:700;color:#5b833e;background:#eff3d7ed;padding:4px 8px;border-radius:6px;border:1px solid #b7c99a;box-shadow:0 3px 10px #5d713522}.opponent-money-delta.negative{color:#aa604f;background:#fae6d7ed;border-color:#d1aa95}.wallet>#cash-change{min-height:24px;display:flex;align-items:center;justify-content:flex-start;gap:6px;border:0;padding:0;margin:-4px 0 10px;color:#9aa078;font-size:8px;line-height:1.3}.wallet>#cash-change b{flex-shrink:0;font-size:15px;font-weight:700;color:#638744}.wallet>#cash-change span{font-size:8px}.wallet>#cash-change.negative b{color:#b06451}.wallet>#cash-change.negative span{color:#aa8268}.wallet>#cash-change.positive span{color:#809568}@keyframes money-rise{0%{opacity:0;transform:translate(-50%,-60%) scale(.88)}15%{opacity:1;transform:translate(-50%,-100%) scale(1.03)}40%{opacity:1;transform:translate(-50%,-110%) scale(1)}80%{opacity:1}100%{opacity:0;transform:translate(-50%,-145%) scale(.98)}}@media(max-width:760px){.pawn-money{min-width:105px;max-width:150px;padding:7px 10px}.pawn-money b{font-size:21px}.wallet>#cash-change{min-height:26px}.wallet>#cash-change span{font-size:9px}}

/* Painted miniatures and category signs. Ground colours continue to show owners. */
.business-nameplate{position:absolute;z-index:2;transform:translate(-50%,-100%);display:grid;grid-template-columns:12px minmax(0,1fr);gap:3px;align-items:center;height:18px;min-height:0;padding:2px 5px 2px 3px;border:1px solid color-mix(in srgb,var(--group-color) 68%,#fff7e4);border-left:3px solid var(--group-color);border-radius:4px;background:#fffaebf5;box-shadow:0 2px 4px #4d4a3b22;color:var(--group-color);line-height:1.1;pointer-events:auto;cursor:pointer;transition:box-shadow .18s,background .18s;white-space:nowrap;touch-action:none}
.business-nameplate[hidden]{display:none!important}
.business-nameplate svg{width:12px;height:12px;grid-row:1}
.business-nameplate .nameplate-title{font:600 1em/1.1 Arial,sans-serif;overflow:hidden;text-overflow:ellipsis;text-align:left}
.business-nameplate small{display:none}
.business-nameplate>i{position:absolute;left:50%;top:100%;height:7px;width:1px;background:var(--group-color);opacity:.7}
.business-nameplate.is-selected,.business-nameplate.is-expanded{z-index:4;height:35px;background:#fffaf0;box-shadow:0 2px 0 var(--group-color),0 3px 9px #51462725}
.business-nameplate.is-expanded small{display:block;grid-column:2;font:8px/1.1 Arial,sans-serif;color:var(--group-color);opacity:.8;text-align:left}
.business-nameplate.is-filtered{box-shadow:0 2px 0 var(--group-color),0 3px 7px #51462725}
.camera-controls{z-index:8}
.camera-controls .category-toggle{width:auto;min-width:69px;padding:0 8px;display:flex;align-items:center;justify-content:center;gap:5px;font:600 11px/1 Arial,sans-serif;color:#5e7254;border-left:1px solid #c4bc95;border-radius:0 3px 3px 0}
.camera-controls .category-toggle svg{width:14px;height:14px}
.camera-controls .category-toggle.is-active{background:#e1e6c8;color:#425d3c}
.category-guide{position:absolute;bottom:calc(100% + 10px);left:50%;transform:translateX(-50%);width:320px;border:1px solid #b6b28c;border-radius:12px;background:#fff9eaf8;box-shadow:0 12px 35px #3e4b3433;padding:13px;backdrop-filter:blur(12px);cursor:default;color:#65704f}
.category-guide[hidden]{display:none!important}
.category-guide-heading{display:flex;align-items:center;justify-content:space-between;font-size:15px}
.camera-controls .category-guide-heading button{width:24px;height:24px;font-size:20px}
.category-guide p{font-size:10px;line-height:1.4;color:#929273;margin:3px 0 10px}
.category-guide-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.camera-controls .category-option{width:auto;height:50px;padding:7px;display:grid;grid-template-columns:24px 1fr;grid-template-rows:1fr 1fr;gap:2px 6px;text-align:left;border:1px solid #e3dcc4;border-left:3px solid var(--group-color);border-radius:6px;background:#fffdf4;color:var(--group-color)}
.category-option svg{grid-row:1/3;width:22px;height:22px;align-self:center}
.category-option b{font:600 11px/1.2 Arial,sans-serif;align-self:end}
.category-option small{font:9px/1.3 Arial,sans-serif;opacity:.75}
.camera-controls .category-option:hover,.camera-controls .category-option.is-active{background:color-mix(in srgb,var(--group-color) 13%,#fffbee);border-color:var(--group-color)}
.category-guide-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:11px;padding-top:9px;border-top:1px solid #e5dcc2}
.category-guide-footer small{font:9px/1.5 Arial,sans-serif;color:#959172}
.camera-controls .category-guide-footer button{width:auto;height:27px;padding:0 9px;font:600 10px Arial,sans-serif;background:#e4e7cf;color:#61734d}
.detail-category{margin:6px 0 8px;padding:7px 8px;display:flex;align-items:center;gap:6px;width:100%;border:1px solid color-mix(in srgb,var(--group-color) 40%,#eee4cb);border-left:3px solid var(--group-color);border-radius:5px;background:color-mix(in srgb,var(--group-color) 7%,#fffae9);color:var(--group-color);font-size:11px;text-align:left}
.detail-category svg{width:18px;height:18px;flex:none}
.detail-category span{font-size:9px;margin-left:auto;opacity:.8}
.detail-category:hover,.detail-category.is-active{background:color-mix(in srgb,var(--group-color) 15%,#fffae9)}
.owned-card{border-top:3px solid var(--group-color,#b6a66e)!important}
.owned-card small{display:flex;align-items:center;gap:4px;color:var(--group-color)!important}
.owned-card small svg{width:13px;height:13px;flex:none}
.owned-card[data-kind="6"] img{mix-blend-mode:multiply}
.property-icon{color:var(--group-color)!important;background:color-mix(in srgb,var(--group-color) 10%,transparent)!important;border-color:color-mix(in srgb,var(--group-color) 40%,#e9dfbf)!important}
@media(max-width:760px){.category-guide{width:304px;padding:11px}.camera-controls .category-toggle{min-width:62px;font-size:10px}.business-nameplate{opacity:.96}}

.business-nameplate{height:19px}.business-nameplate.is-compact{height:15px;padding:1px;border:1px solid var(--group-color);border-radius:50%;display:flex;align-items:center;justify-content:center;background:#fff8e9}.business-nameplate.is-compact svg{width:10px;height:10px}.business-nameplate.is-compact b,.business-nameplate.is-compact small{display:none}.business-nameplate.is-compact>i{height:4px}.hero-illustration{overflow:hidden}

.business-nameplate>i{pointer-events:none}.business-nameplate.is-expanded{min-width:95px}.business-nameplate.is-filtered>i{opacity:.5}

/* Native map miniatures: restrained labels leave the architecture visible. */
.business-nameplate{box-shadow:0 1px 3px #4d4a3b19;background:#fff9e9ef}.business-nameplate.is-selected{box-shadow:0 1px 0 var(--group-color),0 2px 5px #51462718}

.syndicate-heading{font-size:8px;letter-spacing:1.1px;margin:2px 0 7px;color:#9d9673}.syndicate-chip.group-progress{display:block;width:100%;text-align:left;background:#f8f1d9;border:1px solid #d9cfad;border-left:3px solid var(--group-color);cursor:pointer}.syndicate-chip.group-progress.is-complete{background:#f0e6bb;border-color:#c6ad67}.group-progress b{display:flex;align-items:center;gap:5px;color:var(--group-color)}.group-progress b svg{width:15px;height:15px;flex:none}.group-progress b em{margin-left:auto;font:600 11px Arial,sans-serif}.group-progress-dots{display:flex;gap:4px;margin:6px 0}.group-progress-dots i{height:4px;flex:1;background:#dfdcc7;border-radius:3px}.group-progress-dots i.filled{background:var(--group-color)}.syndicate-chip.group-progress:hover{box-shadow:0 0 0 1px var(--group-color)}

.category-guide{max-height:min(600px,80vh);overflow:auto}.category-ring-tabs{display:flex;gap:4px;margin:6px 0 10px}.camera-controls .category-ring-tabs button{width:auto;flex:1;height:28px;font-size:10px;background:#e9e8d3;color:#778262}.camera-controls .category-ring-tabs button.is-active{background:#728667;color:#fff6dc}.category-option b{font-size:10px}.category-option small{font-size:9px}.property-hero[data-art-kind="6"] .hero-illustration{mix-blend-mode:multiply}

.category-guide{max-height:max(220px,calc(100vh - 420px))}@media(max-width:760px){.category-guide{max-height:min(430px,calc(100vh - 170px))}}

.hero-illustration.hero-native{object-fit:contain;image-rendering:auto}

.detail-note.card-upgrade-rule{display:block;padding:9px 11px;border-left:3px solid #87a273;border-radius:3px;background:#e0e9c64d;color:#658056}

/* Compact enterprise nameplates */
.business-nameplate{height:16px;grid-template-columns:10px minmax(0,1fr);gap:2px;padding:1px 4px 1px 2px;border-left-width:2px;border-radius:3px}.business-nameplate svg{width:10px;height:10px}.business-nameplate>i{height:5px}.business-nameplate.is-selected,.business-nameplate.is-expanded{height:29px}.business-nameplate.is-expanded{min-width:80px}.business-nameplate.is-expanded small{font-size:7px}.business-nameplate.is-compact{height:13px;padding:1px;grid-template-columns:none}.business-nameplate.is-compact svg{width:8px;height:8px}

.business-nameplate.is-expanded small{overflow:hidden;text-overflow:ellipsis}

/* Larger ruble denomination: keep long balances inside their panels. */
.wallet>strong{font-size:clamp(23px,2.3vw,32px);letter-spacing:-1px}.wallet>strong span{font-size:.6em}.mini-stats b{font-size:13px;overflow-wrap:anywhere}.detail .stat.featured b{font-size:25px}.portfolio-item>strong,.opponent-cash{font-size:10px}.map-start-label{gap:4px}.map-start-label span{font-size:8px}
