.auction-button{height:36px;border:1px solid #f2d65a;background:#f2d65a;color:#191a19;padding:0 15px;font:700 9px DM Mono;text-transform:uppercase;letter-spacing:.04em;cursor:pointer;box-shadow:0 0 18px rgba(242,214,90,.18)}
.auction-button span{margin-right:7px}
.ad-demo-key{position:absolute;z-index:15;left:50%;top:12px;transform:translateX(-50%);background:rgba(20,24,33,.88);color:#e2e4e9;padding:7px 10px;border:1px solid rgba(255,255,255,.14);font:500 7px DM Mono;letter-spacing:.05em;white-space:nowrap}.ad-demo-key i{display:inline-block;width:6px;height:6px;border-radius:50%;background:#f2d65a;margin-right:6px}
.building .face .sponsored{margin:0 0 6px;color:rgba(19,24,28,.62);letter-spacing:.1em}
.building .face sup{font-size:7px}
.auction-tag{position:absolute;z-index:4;left:5px;bottom:-7px;background:#171a24;color:#d9ff43;border:1px solid rgba(217,255,67,.45);padding:4px 6px;font:500 5px DM Mono;font-style:normal;white-space:nowrap}
.building:hover .auction-tag{background:#d9ff43;color:#171a24}
.king-board{right:25%;top:25%;width:154px;height:107px;border:5px solid #eee9da;background:radial-gradient(circle at 30% 20%,#874fff,#331677 62%,#180c3c);padding:12px;text-align:left;cursor:pointer;box-shadow:8px 11px 0 rgba(27,39,47,.25),0 0 25px rgba(109,67,255,.55);transition:transform .2s,filter .2s}
.king-board:hover{transform:translateY(-5px) rotate(-1deg);filter:brightness(1.1)}
.king-board>span{color:#f6d955;font:6px DM Mono;letter-spacing:.11em}
.king-board>strong{font-size:29px;letter-spacing:-.08em;margin:8px 0 1px}
.king-board>small{font:4px DM Mono;color:#c2b7e8}
.king-board>em{position:absolute;left:8px;right:8px;bottom:7px;padding-top:5px;border-top:1px solid rgba(255,255,255,.2);font:500 5px DM Mono;color:#d9ff43;font-style:normal}
.street-ad{position:absolute;z-index:8;left:26%;top:37%;width:56px;height:74px;background:#e96556;border:4px solid #f1eadc;color:#24181b;padding:6px;transform:rotate(2deg);box-shadow:5px 7px 0 rgba(34,47,52,.2);cursor:pointer;transition:transform .2s}
.street-ad:hover{transform:rotate(2deg) translateY(-5px)}
.street-ad small{font:4px DM Mono}.street-ad strong{display:block;font-size:10px;line-height:.85;margin:7px 0}.street-ad span{font:700 4px DM Mono;background:#171a24;color:#d9ff43;padding:3px;position:absolute;left:-3px;bottom:-7px;white-space:nowrap}
.community-board{position:absolute;z-index:8;right:13%;top:64%;background:#f5f1e8;color:#1b1d24;padding:7px;width:80px;height:44px;box-shadow:5px 6px rgba(42,53,57,.18)}
.community-board>span{display:block;font:5px DM Mono;color:#6b6d73}.community-board>strong{font:700 7px DM Mono}.community-board>button{float:right;border:0;background:#765bea;color:white;font:700 5px DM Mono;padding:4px;cursor:pointer}
.sponsor-flag{position:absolute;bottom:89px;left:4px;width:max-content;background:#171a24;color:#d9ff43;border:1px solid rgba(217,255,67,.5);padding:4px 5px;font:500 5px DM Mono;border-radius:2px;animation:pulseSponsor 2.5s infinite}
.brand-citizen{cursor:pointer}.brand-citizen .person .body{background:#ed6fb4}.brand-citizen>b em{background:#f1d848;color:#3a3100}
.auction-pulse{background:#1e222d;border:1px solid rgba(242,214,90,.26);padding:15px;margin-bottom:10px;box-shadow:inset 0 3px #f2d65a}
.auction-pulse .card-title{color:#f2d65a}.auction-pulse .card-title small{color:#8e92a3}.auction-pulse .card-title .live-dot{width:5px;height:5px}
.market-value{display:flex;align-items:end;justify-content:space-between;padding:16px 0 13px}.market-value>span{display:flex;flex-direction:column}.market-value small{font:6px DM Mono;color:#777b88}.market-value strong{font-size:24px;letter-spacing:-.06em}.market-value em{font:6px DM Mono;color:#63ee88;font-style:normal}
.hot-property{display:flex;justify-content:space-between;align-items:center;background:#171a24;padding:9px}.hot-property>span{display:flex;flex-direction:column}.hot-property b{font-size:8px}.hot-property small{font:6px DM Mono;color:#717583;margin-top:3px}.hot-property>strong{font:9px DM Mono;color:#f2d65a}
.auction-pulse>button{width:100%;display:flex;justify-content:space-between;border:0;background:#f2d65a;color:#1c1d1d;padding:10px;margin-top:8px;font:700 7px DM Mono;cursor:pointer}
.auction-dialog{width:min(880px,calc(100% - 28px));display:none;grid-template-columns:1fr 1fr;max-height:92vh;overflow:auto}
.auction-dialog[open]{display:grid}
.auction-preview{min-height:610px;background:linear-gradient(#94aac4,#c9d5da 48%,#829299);padding:26px;position:relative;overflow:hidden}
.auction-preview:before{content:"";position:absolute;left:-10%;right:-10%;bottom:-25%;height:60%;background:linear-gradient(90deg,transparent 49%,rgba(255,255,255,.23) 50%,transparent 51%),#aab7ba;transform:rotateX(58deg);background-size:35px 35px}
.auction-preview:after{content:"";position:absolute;left:4%;right:4%;bottom:22%;height:31%;background:linear-gradient(90deg,#27303b 9%,transparent 9% 12%,#394655 12% 25%,transparent 25% 30%,#2c3642 30% 43%,transparent 43% 48%,#435160 48% 63%,transparent 63% 68%,#2d3743 68% 82%,transparent 82%);opacity:.42;clip-path:polygon(0 35%,9% 16%,24% 32%,35% 0,49% 30%,62% 8%,80% 31%,93% 17%,100% 41%,100% 100%,0 100%)}
.preview-head{position:relative;z-index:3;display:flex;justify-content:space-between;font:6px DM Mono;color:#44505d;letter-spacing:.12em}.preview-head em{font-style:normal}
.mock-city-ad{position:absolute;z-index:4;width:285px;height:190px;background:radial-gradient(circle at 30% 20%,#925dff,#371779 65%,#1a0e42);border:10px solid #f2ede0;left:50%;top:43%;transform:translate(-50%,-50%) rotate(-1deg);padding:23px;color:#fff;box-shadow:16px 20px 0 rgba(30,45,53,.25),0 0 40px rgba(94,55,224,.4)}
.mock-city-ad small{font:6px DM Mono;color:#f2d65a;letter-spacing:.15em}.mock-city-ad strong{display:block;font-size:43px;line-height:.78;letter-spacing:-.08em;margin:22px 0 13px}.mock-city-ad span{font:6px DM Mono;color:#cac2ef}
.preview-traffic{position:absolute;z-index:5;left:25px;right:25px;bottom:25px;background:#171a24;color:#b6bac6;padding:12px;display:flex;justify-content:space-between;font:6px DM Mono}.preview-traffic .live-dot{width:5px;height:5px}.preview-traffic b{color:#fff}
.auction-controls{padding:32px 34px}.auction-controls h2{font-size:28px;letter-spacing:-.05em;margin:7px 0 3px}.auction-controls>p{font:7px DM Mono;color:#727685;margin:0 0 17px}.owner-row{display:grid;grid-template-columns:1fr 1fr 1fr;border:1px solid #303441;margin-bottom:18px}.owner-row span{display:flex;flex-direction:column;padding:9px;border-right:1px solid #303441}.owner-row span:last-child{border:0}.owner-row small{font:5px DM Mono;color:#6f7381}.owner-row b{font:8px DM Mono;color:#e6e7eb;margin-top:4px}
.auction-controls label{display:block;position:relative;font:6px DM Mono;color:#8a8e9b;letter-spacing:.09em;margin:11px 0 6px}.auction-controls label>span{float:right}.auction-controls label>input,.bid-field{display:block;width:100%;height:38px;border:1px solid #343844;background:#1d202b;color:white;margin-top:6px;padding:0 11px;font:500 10px DM Mono;outline:none}.auction-controls label>input:focus,.bid-field:focus-within{border-color:#d9ff43}.bid-field{display:flex;align-items:center;margin-top:6px}.bid-field b{color:#f2d65a}.bid-field input{min-width:0;flex:1;border:0;background:none;color:white;padding:0 7px;outline:none;font:600 13px DM Mono}
.upload-creative{width:100%;height:58px;border:1px dashed #414552;background:#1d202b;color:#8f93a0;display:grid;grid-template-columns:28px 1fr;grid-template-rows:1fr 1fr;text-align:left;padding:9px;cursor:pointer}.upload-creative>span{grid-row:1/3;align-self:center;font-size:17px;color:#d9ff43}.upload-creative b{font-size:8px;color:#dfe0e5}.upload-creative small{font:5px DM Mono}
.bid-note{display:grid;grid-template-columns:1fr auto;gap:4px;padding:8px 0;font:6px DM Mono;color:#727684}.bid-note strong{color:#dfe0e6}.place-bid{width:100%;height:42px;margin-top:4px;display:flex;justify-content:space-between}.prototype-note{display:block;text-align:center;color:#626675;font:5px DM Mono;margin-top:8px}
.ad-space{position:absolute}.ad-space:focus-visible{outline:3px solid #d9ff43;outline-offset:3px}
@keyframes pulseSponsor{50%{box-shadow:0 0 12px rgba(217,255,67,.55)}}
@media(max-width:760px){.auction-button{font-size:0;width:38px;padding:0}.auction-button span{font-size:13px;margin:0}.king-board{right:10%;top:28%;transform:scale(.8)}.king-board:hover{transform:scale(.8) translateY(-4px)}.street-ad{left:18%;top:39%}.community-board{right:5%;top:61%}.auction-dialog[open]{grid-template-columns:1fr;max-height:92vh}.auction-preview{min-height:390px}.mock-city-ad{transform:translate(-50%,-50%) scale(.75)}.auction-controls{padding:25px}.owner-row{grid-template-columns:1fr 1fr}.owner-row span:last-child{display:none}}

/* Readability pass: the original city intentionally used game-scale labels;
   these overrides keep the look while making every functional label legible. */
.eyebrow{font-size:9px}
.world-status{font-size:11px}
.world-head h1{font-size:25px}
.ghost-button,.primary-button,.auction-button{font-size:10px}
.district-label{font-size:9px;text-shadow:0 1px rgba(255,255,255,.35)}
.ad-demo-key{font-size:8px}
.building .face{padding:17px 10px}
.building .face strong{font-size:16px;line-height:.9}
.building .face small{font-size:6.5px;line-height:1.25;margin-top:9px}
.building .face .sponsored{font-size:6px;margin-bottom:5px}
.hot{font-size:6px}
.auction-tag{font-size:6px;padding:5px 7px}
.king-board>span{font-size:6.5px}.king-board>small{font-size:6px}.king-board>em{font-size:6px}
.street-ad small{font-size:5.5px;line-height:1.1}.street-ad span{font-size:5px}
.community-board>span,.community-board>button{font-size:6px}.community-board>strong{font-size:8px}
.citizen>b{font-size:7px;padding:4px 7px}.sponsor-flag{font-size:6px;padding:5px 6px}
.chat-bubble{font-size:8px}.chat-bar input,.chat-bar button{font-size:9px}
.card-title{font-size:8.5px}.daily-card p{font-size:9px}.progress-copy{font-size:8px}
.panel-heading h3{font-size:14px}.panel-heading button{font-size:8px}
.event-card small{font-size:7px}.event-card b{font-size:10px}.event-card em{font-size:7px}
.pulse-tabs button{font-size:8px}.leaderboard-mini li strong,.your-rank strong{font-size:9px}.leaderboard-mini li span small,.your-rank span small{font-size:7px}.leaderboard-mini li>em,.your-rank>em{font-size:8px}
.auction-pulse .card-title,.market-value small,.market-value em,.hot-property small,.auction-pulse>button{font-size:8px}.hot-property b,.hot-property>strong{font-size:9px}
.preview-head{font-size:8px}.mock-city-ad small,.mock-city-ad span{font-size:8px}.preview-traffic{font-size:8px}
.auction-controls>p{font-size:9px}.owner-row small{font-size:7px}.owner-row b{font-size:9px}.auction-controls label{font-size:8px}.upload-creative small{font-size:7px}.bid-note{font-size:8px}.prototype-note{font-size:7px}
.custom-tabs button,.custom-controls label{font-size:9px}.custom-note p{font-size:8px}.identity span{font-size:8px}
.district-grid i{font-size:10px}.district-grid span{font-size:9px}

.brand-google .face{background:#f5f5f1;color:#303134}.brand-google .side{background:#d5d8dc}.brand-google .hot{background:#4285f4}
.brand-youtube .face{background:#ff3b30;color:white}.brand-youtube .side{background:#a81517}.brand-youtube .roof i{border-color:white}
.brand-adobe .face{background:#faeee9;color:#ed2c34}.brand-adobe .side{background:#d65d58}.brand-adobe .roof{background:#ff6c68}
.brand-spotify .face{background:#1ed760;color:#101812}.brand-spotify .side{background:#11863e}.brand-spotify .roof{background:#a8f0b8}
.brand-tesla{background:linear-gradient(145deg,#f4f3ef,#d8d9dc);color:#17191d;box-shadow:8px 11px 0 rgba(27,39,47,.25),0 0 28px rgba(232,33,39,.4)}
.brand-tesla>span{color:#e82127}.brand-tesla>small{color:#4a4c52}.brand-tesla>em{color:#e82127;border-top-color:rgba(0,0,0,.16)}
.brand-nike{background:#f1f0ea;color:#17191d}.brand-nike span{background:#17191d;color:white}
.mock-city-ad{background:linear-gradient(145deg,var(--preview-upload,#f4f3ef),#d7d9dd);color:#17191d;border-color:#f2ede0}
.mock-city-ad small{color:#e82127}.mock-city-ad span{color:#4d5058}

/* Brand lockups: some placements use recognizable marks, others stay text-only. */
.brand-lockup{display:flex;align-items:center;gap:5px;height:15px;margin-bottom:1px}.brand-lockup img{width:13px;height:13px;object-fit:contain}.brand-lockup b,.brand-lockup strong{font:800 9px Manrope!important;letter-spacing:-.03em;margin:0!important}.youtube-lockup i,.youtube-mini i{width:18px;height:12px;border-radius:3px;background:#fff;position:relative;display:block}.youtube-lockup i:after,.youtube-mini i:after{content:"";position:absolute;left:7px;top:3px;border-left:5px solid #ff2828;border-top:3px solid transparent;border-bottom:3px solid transparent}.spotify-lockup>i{width:15px;height:15px;border-radius:50%;background:#111;position:relative}.spotify-lockup>i b{position:absolute;left:3px;width:9px;height:4px;border-top:1px solid #1ed760;border-radius:50%}.spotify-lockup>i b:nth-child(1){top:3px}.spotify-lockup>i b:nth-child(2){top:6px}.spotify-lockup>i b:nth-child(3){top:9px}
.building{height:140px}.building .face{height:106px;padding:9px 9px}.building .side{height:94px}.building .face strong{font-size:15px;line-height:.88}.building .face small{font-size:7px;line-height:1.2;margin-top:6px;font-weight:600}.building .face .sponsored{font-size:7px;margin:1px 0 3px;font-weight:800;letter-spacing:.03em}.hot{font-size:6.5px}.auction-tag{font-size:6.5px}
.king-board>img{position:absolute;width:17px;height:17px;right:9px;top:9px}.king-board>strong{font-size:27px!important}.king-board>small{font-size:7px}.king-board>em{font-size:6.5px}

.micro-ad{position:absolute;z-index:9;border:4px solid #f4efe5;cursor:pointer;box-shadow:6px 8px 0 rgba(34,47,52,.22);transition:transform .2s}.micro-ad:hover{transform:translateY(-5px)}.micro-ad img{object-fit:contain}.micro-ad small{position:absolute;background:#171a24;color:#d9ff43;font:700 6.5px DM Mono;padding:4px;white-space:nowrap}.apple-ad{left:43%;top:19%;width:65px;height:70px;background:#16181c;color:white;padding:8px}.apple-ad img{width:16px;height:16px}.apple-ad strong{display:block;font-size:12px;line-height:.9;margin-top:6px}.apple-ad small{left:-4px;bottom:-9px}.coke-ad{right:5%;top:24%;width:98px;height:57px;background:#ed1c24;color:white;padding:8px}.coke-ad strong{font:800 14px Manrope;font-style:italic}.coke-ad span{display:block;font:7px DM Mono;margin-top:4px}.coke-ad small{left:8px;bottom:-9px}.amazon-ad{right:7%;top:67%;width:83px;height:46px;background:#ffca3a;color:#17191d;padding:7px}.amazon-ad img{width:14px;height:14px;float:left;margin-right:4px}.amazon-ad strong{font-size:10px}.amazon-ad small{left:-4px;bottom:-9px}

/* The outbid loop stays visible beside the city so ownership feels competitive. */
.brand-battle{background:#171a24;border:1px solid #303441;padding:14px;margin-bottom:10px}.battle-head{display:flex;justify-content:space-between;align-items:center;font:8px DM Mono}.battle-head>span{color:#f4d754;letter-spacing:.08em}.battle-head .live-dot{width:5px;height:5px}.battle-head small{font-size:7px;color:#9498a5}.brand-battle>p{font:9px/1.5 DM Mono;color:#a0a4af;margin:10px 0}.battle-row{display:grid;grid-template-columns:18px 28px 1fr auto 43px;align-items:center;gap:6px;min-height:43px;border-top:1px solid rgba(255,255,255,.07)}.battle-row>b{font:8px DM Mono;color:#858997}.battle-row>span:nth-of-type(2){display:flex;flex-direction:column}.battle-row strong{font-size:10px}.battle-row small{font:7px DM Mono;color:#8f93a0;margin-top:2px}.battle-row em{font:700 8px DM Mono;font-style:normal}.battle-row button{border:1px solid #3b3f4c;background:#20242e;color:#d9ff43;padding:6px 4px;font:700 6.5px DM Mono;cursor:pointer}.battle-row button:hover,.battle-row.first button{background:#d9ff43;color:#171a1c;border-color:#d9ff43}.battle-row.first{background:rgba(242,214,90,.05);box-shadow:inset 2px 0 #f2d65a}.battle-logo{width:24px;height:24px;background:#f4f2eb;display:grid;place-items:center}.battle-logo img{width:14px;height:14px;object-fit:contain}.tesla-mini{background:#f1f1ee}.youtube-mini{background:#ff2828}.youtube-mini i{transform:scale(.72)}.battle-logo.wordmark{background:#1ed760;color:#111;font:800 7px Manrope}.battle-row:last-of-type .wordmark{background:#f1f0ea;font-size:6px}.takeover-feed{display:grid;grid-template-columns:18px 1fr auto;align-items:center;background:#222632;margin-top:8px;padding:9px;font:8px DM Mono;color:#b2b5be}.takeover-feed i{color:#65ee8b}.takeover-feed b{color:#fff}.takeover-feed time{color:#858995}
@media(max-width:760px){.micro-ad{transform:scale(.78)}.micro-ad:hover{transform:scale(.78) translateY(-4px)}.apple-ad{left:39%;top:22%}.coke-ad{right:1%;top:20%}.amazon-ad{right:3%;top:65%}.brand-battle{padding:11px}.battle-row{grid-template-columns:16px 25px 1fr auto 40px}}
.ad-space.takeover-live{animation:takeoverWin .65s 4!important;filter:drop-shadow(0 0 16px #d9ff43)!important}.ad-space.takeover-live:after{content:"NEW OWNER · " attr(data-owner);position:absolute;z-index:50;left:50%;top:-24px;transform:translateX(-50%);background:#d9ff43;color:#171a1c;padding:6px 8px;font:800 7px DM Mono;white-space:nowrap}
@keyframes takeoverWin{50%{filter:drop-shadow(0 0 24px #d9ff43) brightness(1.25)}}
.brand-lockup{height:16px}.brand-lockup img{width:14px;height:14px}.brand-lockup b,.brand-lockup strong{font-size:10px!important}.building .face small{font-size:7.5px;margin-top:5px;font-weight:700}.building .face .sponsored{font-size:7.5px;letter-spacing:.02em}.hot,.auction-tag{font-size:7px}

/* Self-contained brand marks and corrected ad layouts. No network images. */
.google-g,.google-mini{font:900 14px Manrope;font-style:normal;background:conic-gradient(from -45deg,#4285f4 0 25%,#34a853 0 43%,#fbbc05 0 63%,#ea4335 0 78%,#4285f4 0);-webkit-background-clip:text;background-clip:text;color:transparent}.adobe-mark{width:14px;height:14px;background:#ed2224;color:#fff;display:grid;place-items:center;font:900 9px Manrope;font-style:normal}.tesla-lockup{display:flex;align-items:center;gap:6px;margin:8px 0 2px;color:#e82127}.tesla-lockup i,.tesla-mini i{font:900 17px Manrope;font-style:normal;line-height:1}.tesla-lockup b{font-size:13px;letter-spacing:.2em}.apple-word{font:800 8px DM Mono;letter-spacing:.16em}.amazon-word{font-size:13px!important;letter-spacing:-.06em}.amazon-smile{display:block;width:34px;height:7px;border-bottom:2px solid #111;border-radius:50%;transform:rotate(4deg);margin:-2px 0 3px 2px}.amazon-ad>span{font:700 6.5px DM Mono}.tesla-mini i{color:#e82127;font-size:15px}.google-mini{font-size:14px!important}
.building .face{padding:9px 10px}.building .face .sponsored{font-size:8px;margin:2px 0 4px}.building .face>strong{font-size:17px;line-height:.86}.building .face>small:last-child{font-size:8px;line-height:1.15}.brand-lockup{height:17px}.brand-lockup b,.brand-lockup strong{font-size:11px!important}.auction-tag{font-size:8px;padding:5px 7px;bottom:-9px}
.brand-google .face,.brand-youtube .face,.brand-adobe .face,.brand-spotify .face{overflow:hidden}.brand-google .auction-tag,.brand-youtube .auction-tag,.brand-adobe .auction-tag,.brand-spotify .auction-tag{min-width:105px;text-align:center}
.king-board{left:56%;right:auto;top:25%;width:190px;height:138px;transform:translateX(-50%);padding:14px 15px}.king-board:hover{transform:translateX(-50%) translateY(-5px);filter:brightness(1.06)}.king-board>span{display:block;font-size:7.5px;letter-spacing:.08em}.king-board>strong{display:block;font-size:23px!important;line-height:.82;letter-spacing:-.055em;margin:8px 0 6px}.king-board>small{display:block;font-size:7.5px;font-weight:700}.king-board>em{font-size:7.5px;bottom:8px}
.street-ad{width:70px;height:88px;padding:8px}.street-ad small{font-size:7px}.street-ad strong{font-size:15px;line-height:.85;margin:9px 0}.street-ad span{font-size:6.5px;padding:5px}
.apple-ad{left:40%;top:14%;width:72px;height:78px;padding:10px}.apple-ad strong{font-size:14px;margin-top:9px}.apple-ad small{font-size:7px}.coke-ad{width:105px;height:65px;padding:10px}.coke-ad strong{font-size:16px}.coke-ad span{font-size:7.5px}.amazon-ad{left:67%;right:auto;top:76%;width:110px;height:60px;padding:9px}.amazon-ad small{font-size:7px;left:5px}.community-board{right:23%;top:62%}
.battle-logo img{display:none}
@media(max-width:760px){.king-board{left:56%;right:auto;top:27%;transform:translateX(-50%) scale(.78)}.king-board:hover{transform:translateX(-50%) scale(.78) translateY(-4px)}.apple-ad{left:38%;top:16%}.amazon-ad{left:64%;right:auto;top:76%}.building .face .sponsored{font-size:7.5px}.building .face>strong{font-size:16px}}
.building{height:154px}.building .face{height:120px}.building .side{height:108px}.auction-tag{bottom:-10px}
.king-board{top:23%;width:196px;height:158px}.king-board>strong{font-size:20px!important;line-height:.86;margin:6px 0 5px}.tesla-lockup{margin:6px 0 1px}.king-board>small{font-size:7px}.king-board>em{bottom:8px;padding-top:6px}
.amazon-ad{left:82%;top:76%;z-index:12;width:112px;height:66px}.amazon-word{display:block}.amazon-ad>span{display:block}.street-ad{height:96px}
@media(max-width:760px){.building{height:150px}.building .face{height:116px}.building .side{height:104px}.king-board{top:22%;height:154px}.amazon-ad{left:79%;top:76%;width:104px;height:62px}}

/* Account and authentication */
.account-dialog{width:min(860px,calc(100vw - 32px));padding:0;border:0;border-radius:18px;overflow:hidden;background:#f4f1e8;color:#171a22;box-shadow:0 28px 90px rgba(10,15,30,.42);grid-template-columns:.92fr 1.08fr}
.account-dialog[open]{display:grid}
.account-dialog::backdrop{background:rgba(12,17,29,.68);backdrop-filter:blur(7px)}
.account-dialog>.dialog-close{position:absolute;z-index:3;right:14px;top:14px;width:36px;height:36px;border:1px solid rgba(20,24,34,.15);border-radius:50%;background:rgba(255,255,255,.72);font-size:22px;cursor:pointer}
.account-intro{padding:48px 42px;background:#161b2b;color:#f5f3eb;position:relative;overflow:hidden}
.account-intro:after{content:"";position:absolute;width:280px;height:280px;border-radius:50%;right:-135px;bottom:-145px;background:radial-gradient(circle,#d9ff3f 0 2%,rgba(217,255,63,.13) 3% 38%,transparent 39%)}
.account-intro .eyebrow{color:#d9ff3f}.account-intro h2{font:800 39px/1.05 Manrope,sans-serif;margin:13px 0 15px}.account-intro>p{font:500 14px/1.65 Manrope,sans-serif;color:#aeb6c9;margin:0;max-width:340px}
.account-benefits{display:grid;gap:19px;margin-top:38px;position:relative;z-index:1}.account-benefits span{display:grid;grid-template-columns:35px 1fr;column-gap:12px}.account-benefits i{grid-row:1/3;width:30px;height:30px;border:1px solid rgba(217,255,63,.45);border-radius:50%;display:grid;place-items:center;color:#d9ff3f;font:500 9px DM Mono,monospace}.account-benefits b{font:700 13px Manrope,sans-serif}.account-benefits small{margin-top:3px;color:#858fa6;font:500 10px/1.35 DM Mono,monospace}
.account-panel{padding:48px 46px;display:grid;align-items:center;min-height:500px}.auth-tabs{display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid #d9d5cb;margin-bottom:25px}.auth-tabs button{border:0;border-bottom:2px solid transparent;padding:0 0 13px;background:transparent;color:#858583;font:700 12px Manrope,sans-serif;cursor:pointer}.auth-tabs button.active{border-color:#171a22;color:#171a22}
#authGuestView>h3{font:800 24px/1.15 Manrope,sans-serif;margin:0 0 6px}.auth-subtitle{font:500 11px/1.5 Manrope,sans-serif;color:#77766f;margin:0 0 22px}.account-panel [hidden]{display:none!important}
#authForm{display:grid;gap:17px}.account-panel label{display:grid;gap:7px;color:#6b6b67;font:700 9px/1 DM Mono,monospace;letter-spacing:.1em}.account-panel input{width:100%;box-sizing:border-box;border:1px solid #d3d0c7;border-radius:8px;background:#fff;padding:13px 14px;color:#171a22;font:600 14px Manrope,sans-serif;outline:none}.account-panel input:focus{border-color:#7d68ff;box-shadow:0 0 0 3px rgba(125,104,255,.12)}
.password-field{position:relative;display:block}.password-field input{padding-right:48px}.password-field button{position:absolute;right:6px;top:50%;transform:translateY(-50%);width:37px;height:34px;border:0;border-radius:7px;background:transparent;display:grid;place-items:center;cursor:pointer}.password-field button:hover{background:#efede6}.password-field button i{width:17px;height:11px;border:1.8px solid #75746e;border-radius:70% 20%;transform:rotate(45deg);position:relative}.password-field button i:after{content:"";position:absolute;width:4px;height:4px;border-radius:50%;background:#75746e;left:5px;top:2px}.password-field button.visible i:before{content:"";position:absolute;left:7px;top:-4px;width:1.5px;height:19px;background:#75746e;transform:rotate(-45deg);z-index:2}
.auth-submit{justify-content:center;margin-top:5px;width:100%}.auth-submit:disabled{opacity:.58;cursor:wait}.auth-message{min-height:18px;margin:-3px 0;color:#d33e54;font:600 11px/1.45 Manrope,sans-serif}.auth-message.success{color:#178453}.auth-security{display:block;margin-top:18px;color:#99978f;font:500 9px/1.5 DM Mono,monospace;text-align:center}
.resend-confirmation{margin-top:-8px;border:0;background:transparent;color:#6552df;text-decoration:underline;text-underline-offset:3px;font:700 11px Manrope,sans-serif;cursor:pointer;justify-self:start;padding:0}.resend-confirmation:disabled{opacity:.55;cursor:wait}
.custom-name-input{width:100%;height:40px;border:1px solid #363a46;background:#1d202b;color:#f5f3ed;padding:0 12px;font:600 11px Manrope,sans-serif;outline:none}.custom-name-input:focus{border-color:var(--acid);box-shadow:0 0 0 3px rgba(217,255,67,.08)}
.custom-person.hair-wave .custom-hair{height:58px;border-radius:58% 58% 38% 38%}.custom-person.hair-cloud .custom-hair{width:85px;height:53px;border-radius:54% 54% 42% 42%;box-shadow:none}.custom-person.hair-buzz .custom-hair{height:31px;top:27px;border-radius:70% 70% 16% 16%}.custom-person.hair-buzz .custom-hair:after{height:15px;top:17px}
.person.hair-wave .hair{height:16px;border-radius:55% 55% 38% 38%}.person.hair-cloud .hair{border-radius:54% 54% 42% 42%;box-shadow:none}.person.hair-buzz .hair{height:8px;top:5px;border-radius:70% 70% 15% 15%}.person.hair-buzz .hair:after{height:5px;top:3px}

/* Database-driven city market */
.world-stage{position:absolute;inset:0;z-index:1;isolation:isolate;transform:scale(var(--world-zoom,1));transform-origin:50% 58%;transition:transform .28s cubic-bezier(.2,.75,.25,1)}
.world-stage .sky-glow{z-index:-1}.zoom-controls,.chat-bar{z-index:35}
.market-space{--market-ink:#ecfff9;--market-bg:#173741;--market-side:#0f252d}.market-space .face{background:var(--market-bg);color:var(--market-ink)}.market-space .side{background:var(--market-side)}.market-space .roof{background:#58d7ca}.market-space .sponsored{color:#d9ff43}.market-number{display:block;font:700 7px DM Mono;color:#7be7dc;letter-spacing:.08em;margin-bottom:3px}.market-space [data-market-headline]{white-space:pre-line}.market-space.market-owned{--market-bg:#192039;--market-side:#101528}.market-space.has-creative .face,.market-space.has-creative.king-board,.market-space.has-creative.street-ad,.market-space.has-creative.micro-ad{background-image:linear-gradient(rgba(8,12,22,.35),rgba(8,12,22,.72)),var(--creative-image);background-size:cover;background-position:center;color:#fff;text-shadow:0 1px 8px rgba(0,0,0,.8)}
.king-board.market-space{background:linear-gradient(145deg,#15293a,#17202e);color:white;border-color:#d9ff43;box-shadow:8px 11px 0 rgba(27,39,47,.25),0 0 30px rgba(84,223,211,.24)}.king-board.market-space>span{color:#d9ff43}.king-board.market-space>small{color:#9fb2bd}.king-board.market-space>em{color:#d9ff43}.king-owner{display:block;font:800 10px Manrope!important;letter-spacing:.08em;margin-top:8px;color:#f5f3ed!important}
.street-ad.market-space{background:#173741;color:white}.street-ad.market-space span{background:#d9ff43;color:#171a1c}
.kiosk-ad{left:40%;top:14%;width:72px;height:78px;padding:10px;background:#183945;color:#e7fff9}.kiosk-ad strong{display:block;font-size:14px;line-height:.9;margin-top:9px}.kiosk-ad>span{font:800 7px DM Mono;letter-spacing:.08em}.kiosk-ad small{left:-4px;bottom:-9px}
.rooftop-ad{right:5%;top:24%;width:105px;height:65px;padding:10px;background:#5c3ca5;color:white}.rooftop-ad strong{font:800 13px Manrope}.rooftop-ad span{display:block;font:7.5px DM Mono;margin-top:5px}.rooftop-ad small{left:8px;bottom:-9px}
.transit-ad{left:82%;top:76%;width:112px;height:66px;padding:9px;background:#f1ca4c;color:#17191d}.transit-ad strong{display:block;font:800 9px Manrope}.transit-ad span{display:block;font:700 6.5px/1.35 DM Mono;margin-top:5px}.transit-ad small{left:5px;bottom:-9px}
.market-setup{border:1px solid rgba(242,214,90,.38);background:rgba(242,214,90,.09);padding:10px;margin:10px 0;display:grid;gap:4px}.market-setup[hidden]{display:none}.market-setup b{font:700 8px DM Mono;color:#f2d65a}.market-setup span{font:7px/1.45 DM Mono;color:#aaa587}.market-loading{padding:16px 4px;color:#7e8290;font:8px DM Mono}.market-rows:empty:after{content:"No live spaces";display:block;padding:14px;color:#747886;font:8px DM Mono}
.auction-pulse .market-rows{margin-top:10px;max-height:310px;overflow:auto;border:1px solid rgba(255,255,255,.08);background:#171a24;padding:0 8px}.auction-pulse .market-rows[hidden]{display:none}.auction-pulse .battle-row{grid-template-columns:20px 34px minmax(0,1fr) auto 58px}.auction-pulse .battle-row:first-child{border-top:0}
.upload-creative.file-ready{border-color:#65ee8b;background:rgba(101,238,139,.08)}.upload-creative.file-ready b{color:#65ee8b}.mock-city-ad.has-upload{background-size:cover;background-position:center;color:#fff;text-shadow:0 2px 12px rgba(0,0,0,.8)}.place-bid:disabled{opacity:.6;cursor:wait}
.auction-controls label.creative-brand-toggle{display:flex;align-items:center;gap:10px;margin:10px 0 14px;padding:10px 11px;border:1px solid #343b49;background:#1b202a;color:#e7e9ee;letter-spacing:0;cursor:pointer}.auction-controls label.creative-brand-toggle>input{display:block;width:17px;height:17px;margin:0;padding:0;flex:0 0 auto;accent-color:#d9ff43;cursor:pointer}.auction-controls label.creative-brand-toggle>span{float:none;display:grid;gap:3px;min-width:0}.creative-brand-toggle b{font:800 9px Manrope,sans-serif}.creative-brand-toggle small{color:#939aaa;font:600 7px DM Mono,monospace;letter-spacing:.02em}
@media(max-width:760px){.world-stage{transform-origin:50% 55%}.kiosk-ad{left:38%;top:16%}.transit-ad{left:79%;top:76%;width:104px;height:62px}}

/* Larger, more readable desktop marketplace rail */
.app-shell{grid-template-columns:64px minmax(650px,1fr) 430px}
.side-panel{padding:20px}
.auction-pulse{padding:19px;margin-bottom:14px}.auction-pulse .card-title{font-size:10px}.auction-pulse .card-title small{font-size:9px}.market-value{padding:19px 0 16px}.market-value small,.market-value em{font-size:10px}.market-value strong{font-size:30px}.hot-property{padding:13px}.hot-property b{font-size:12px}.hot-property small{font-size:9px;line-height:1.4}.hot-property>strong{font-size:12px}.auction-pulse>button{padding:13px;font-size:10px;margin-top:10px}
.brand-battle{padding:18px;margin-bottom:14px}.battle-head{font-size:10px}.battle-head small{font-size:8.5px}.brand-battle>p{font-size:11px;line-height:1.65;margin:13px 0}.market-setup{padding:13px;margin:12px 0;gap:6px}.market-setup b{font-size:10px}.market-setup span{font-size:9px;line-height:1.55}
.battle-row{grid-template-columns:22px 36px minmax(0,1fr) auto 58px;gap:8px;min-height:56px}.battle-row>b{font-size:9px}.battle-logo{width:32px;height:32px}.battle-logo.wordmark{font-size:8.5px}.battle-row strong{font-size:12px;line-height:1.25}.battle-row small{font-size:9px;line-height:1.35;margin-top:3px}.battle-row em{font-size:10px}.battle-row button{min-height:30px;padding:6px;font-size:8px}.takeover-feed{grid-template-columns:20px 1fr auto;padding:12px;font-size:10px;line-height:1.45;margin-top:10px}
.daily-card{padding:21px}.side-panel .card-title{font-size:10px}.daily-card h2{font-size:24px;margin:24px 0 7px}.daily-card p{font-size:11px;line-height:1.6}.progress-copy{font-size:10px;margin-top:10px}
.panel-section{padding:24px 0}.panel-heading h3{font-size:15px}.panel-heading button{font-size:9px}.event-card{padding:11px;grid-template-columns:56px 1fr 18px;gap:12px}.event-art{height:54px}.event-card small{font-size:9px}.event-card b{font-size:12px}.event-card em{font-size:9px}.pulse-tabs button{font-size:10px}.leaderboard-mini li,.your-rank{grid-template-columns:20px 40px 1fr auto;gap:10px;padding:11px 5px}.portrait{width:36px;height:36px}.leaderboard-mini li strong,.your-rank strong{font-size:11px}.leaderboard-mini li span small,.your-rank span small{font-size:9px}.leaderboard-mini li>em,.your-rank>em{font-size:10px}.leaderboard-mini li>em small,.your-rank>em small{font-size:8px}
@media(max-width:1250px) and (min-width:1151px){.app-shell{grid-template-columns:56px minmax(650px,1fr) 400px}.side-panel{padding:16px}}
.member-view{text-align:center}.member-status{display:inline-flex;align-items:center;gap:7px;color:#178453;font:700 9px DM Mono,monospace;letter-spacing:.1em}.member-avatar{margin:25px auto 15px;width:76px;height:76px;border-radius:50%;display:grid;place-items:center;background:#171b2a;box-shadow:0 0 0 7px #e4e0d6}.member-avatar .tiny-avatar{transform:scale(2.1)}.member-view h3{font:800 27px Manrope,sans-serif;margin:0}.member-view>p{font:500 12px DM Mono,monospace;color:#77766f;margin:6px 0 25px}.member-stats{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid #d7d3c8;border-radius:11px;margin-bottom:26px}.member-stats span{padding:14px 7px;display:grid;gap:3px}.member-stats span+span{border-left:1px solid #d7d3c8}.member-stats b{font:800 18px Manrope,sans-serif}.member-stats small{font:600 8px DM Mono,monospace;color:#8a8982}.member-view>.primary-button{width:100%;justify-content:center}.member-view .sign-out{width:100%;justify-content:center;margin-top:10px;color:#686862;border-color:#cfcbc0}
@media(max-width:720px){.account-dialog[open]{display:block;max-height:calc(100vh - 24px);overflow:auto}.account-intro{padding:35px 28px}.account-intro h2{font-size:31px}.account-benefits{display:none}.account-panel{padding:32px 28px;min-height:0}}

/* Readability pass: navigation, account bar, city labels, citizens, and chat. */
@media (min-width:1151px){
  .topbar{height:84px;grid-template-columns:320px 1fr auto;padding:0 26px}
  .app-shell{height:calc(100vh - 84px);grid-template-columns:78px minmax(650px,1fr) 430px}
  .brand{gap:13px;font-size:11px;line-height:1.15}
  .brand>span:nth-child(2) strong{font-size:17px}
  .brand>b{font-size:10px;padding:5px 8px}
  .brand-mark{width:34px;height:34px;gap:3px}
  .world-status{gap:11px;font-size:12px}
  .world-status>i{height:17px;margin:0 10px}
  .player-bar{gap:14px}
  .icon-button{width:44px;height:44px;font-size:19px}
  .currency{gap:9px;padding:0 12px;font-size:14px}
  .coin{width:21px;height:21px;font-size:11px}
  .xp-mini{gap:12px}
  .xp-mini b{font-size:10px}
  .xp-mini small{font-size:10px;margin-top:4px}
  .xp-mini>div{width:58px;height:4px}
  .profile-chip{height:46px;gap:10px;padding:0 13px}
  .profile-chip b{font-size:11px}
  .tiny-avatar{width:30px;height:30px}
  .tiny-avatar i{width:22px;height:12px;left:4px}

  .dock{padding:18px 0}
  .dock-item{width:52px;height:52px;margin:4px 0;font-size:23px}
  .dock-item.active:before{left:-13px;top:12px;height:28px;width:4px}
  .dock-item i{right:0;top:0;min-width:18px;padding:4px;font-size:9px}

  .world-head{height:92px;padding:0 30px}
  .world-head h1{font-size:30px;margin-top:5px}
  .eyebrow{font-size:10px}
  .ghost-button,.primary-button,.auction-button{min-height:42px;padding-inline:17px;font-size:11px}
}

@media (min-width:761px){
  .district-label{font-size:12px;gap:5px}
  .ad-demo-key{padding:9px 13px;font-size:10px}
  .ad-demo-key i{width:8px;height:8px;margin-right:8px}

  .market-number{font-size:9px;margin-bottom:4px}
  .building .face .sponsored{font-size:9px}
  .building .face>strong{font-size:18px}
  .building .face>small:last-child{font-size:9px;line-height:1.25}
  .auction-tag{font-size:9px;padding:6px 8px}
  .king-board>span{font-size:9px}
  .king-owner{font-size:12px!important}
  .king-board>strong{font-size:22px!important}
  .king-board>small,.king-board>em{font-size:9px}
  .street-ad small{font-size:8px}
  .street-ad span{font-size:8px}
  .kiosk-ad>span{font-size:9px}
  .kiosk-ad strong{font-size:16px}
  .rooftop-ad strong{font-size:15px}
  .rooftop-ad span{font-size:9px}
  .transit-ad strong{font-size:11px}
  .transit-ad span{font-size:8px;line-height:1.4}
  .micro-ad small{font-size:8px}
  .community-board>span,.community-board>button{font-size:8px}
  .community-board>strong{font-size:10px}

  .citizen>b{font-size:10px;padding:5px 8px;border-radius:5px}
  .citizen>b em{padding:2px 4px}
  .chat-bubble{bottom:96px;max-width:190px;padding:10px 12px;font-size:11px;line-height:1.4;border-radius:9px}
  .you-label{left:21px;top:0;padding:3px 6px;font-size:8px}
  .sponsor-flag{bottom:94px;padding:6px 8px;font-size:8px}
  .reaction{font-size:16px}

  .chat-bar{bottom:16px;width:min(590px,78%);height:50px;border-radius:5px}
  .chat-bar input{padding:0 10px;font-size:12px}
  .chat-bar input::placeholder{color:#a3a7b2;opacity:1}
  .chat-bar button{padding:0 16px;font-size:20px}
  .chat-bar button:last-child{height:36px;margin-right:7px;padding:0 18px;font-size:11px}
}

@media (max-width:1250px) and (min-width:1151px){
  .app-shell{grid-template-columns:72px minmax(650px,1fr) 400px}
  .topbar{grid-template-columns:285px 1fr auto;padding-inline:20px}
  .dock-item{width:48px;height:48px}
}

/* Citizen voting controls on every occupied billboard. */
.ad-space[role="button"]:focus-visible{outline:3px solid #d9ff43;outline-offset:5px}
.company-vote-button{position:absolute;z-index:60;right:-10px;top:-12px;min-width:60px;height:29px;border:2px solid #f5f1e8;border-radius:4px;background:#171a24;color:#fff;display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:0 8px;font:800 10px DM Mono,monospace;box-shadow:4px 5px 0 rgba(25,32,39,.25);cursor:pointer;white-space:nowrap;transition:transform .18s,background .18s,color .18s}
.company-vote-button:hover{transform:translateY(-2px);background:#2b3040}.company-vote-button:focus-visible{outline:3px solid #d9ff43;outline-offset:2px}.company-vote-button.is-voted{background:#d9ff43;color:#151a12;border-color:#fff}.company-vote-button.is-loading{opacity:.65;cursor:wait}.company-vote-button .vote-arrow{font-size:12px;color:#d9ff43}.company-vote-button.is-voted .vote-arrow{color:#151a12}
.brand-citizen .company-vote-button{right:-25px;top:-10px}.king-board .company-vote-button{right:-15px;top:-16px}.micro-ad .company-vote-button,.street-ad .company-vote-button{right:-13px;top:-15px}

/* Sidebar top-ten ranking. */
.ranking-card{padding:18px}.ranking-card .battle-head{gap:12px}.ranking-card .battle-head>span{min-width:0}.ranking-card .battle-head b{font-size:10px}.ranking-card .battle-head small{white-space:nowrap}
.ranking-period-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;margin:13px 0 4px;padding:4px;background:#10131b;border:1px solid #2e323e}.ranking-period-tabs button{min-height:32px;border:0;background:transparent;color:#858a97;font:700 9px DM Mono,monospace;cursor:pointer}.ranking-period-tabs button:hover{color:#fff}.ranking-period-tabs button.active{background:#d9ff43;color:#171a1c;box-shadow:0 2px 10px rgba(217,255,67,.12)}
.brand-ranking-list{list-style:none;padding:0;margin:12px 0 0;border-top:1px solid rgba(255,255,255,.08)}.brand-rank-row{display:grid;grid-template-columns:24px 34px minmax(0,1fr) auto;align-items:center;gap:9px;min-height:52px;padding:7px 3px;border-bottom:1px solid rgba(255,255,255,.07)}.brand-rank-row.top-three{background:linear-gradient(90deg,rgba(217,255,67,.07),transparent)}.brand-rank-position{color:#7d8290;font:700 9px DM Mono,monospace;text-align:center}.brand-rank-row.top-three .brand-rank-position{color:#d9ff43}.brand-rank-avatar{width:32px;height:32px;display:grid;place-items:center;background:#292e3d;color:#d9ff43;border:1px solid #3b4152;font:800 10px Manrope,sans-serif}.brand-rank-copy{min-width:0;display:flex;flex-direction:column;gap:3px}.brand-rank-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:800 11px Manrope,sans-serif;color:#f5f3ed}.brand-rank-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#858a98;font:500 8px DM Mono,monospace}.brand-rank-votes{text-align:right;color:#d9ff43;font:800 10px DM Mono,monospace}.brand-rank-votes small{display:block;margin-top:2px;color:#777d89;font-size:7px}.ranking-loading,.ranking-empty{list-style:none;padding:22px 8px!important;color:#8b909d;font:500 9px/1.6 DM Mono,monospace;text-align:center}
.ranking-view-all{width:100%;min-height:38px;margin-top:10px;border:1px solid #3b4050;background:#202431;color:#f5f3ed;padding:0 12px;display:flex;align-items:center;justify-content:space-between;font:800 9px DM Mono,monospace;cursor:pointer}.ranking-view-all:hover{border-color:#d9ff43;color:#d9ff43}.ranking-view-all span{font-size:13px}.voting-setup{margin-top:12px}

/* Complete, paginated rankings dialog. */
.ranking-dialog{width:min(920px,calc(100vw - 32px));height:min(780px,calc(100vh - 32px));padding:0;border:1px solid #3a4050;background:#151821;color:#f5f3ed;overflow:hidden;box-shadow:0 30px 100px rgba(0,0,0,.72)}.ranking-dialog[open]{display:flex;flex-direction:column}.ranking-dialog::backdrop{background:rgba(7,10,17,.82);backdrop-filter:blur(7px)}.ranking-dialog>.dialog-close{position:absolute;right:19px;top:17px;color:#aeb3c0;font-size:27px}.ranking-dialog-head{padding:34px 38px 23px;border-bottom:1px solid #303543;background:linear-gradient(135deg,#1c2030,#151821)}.ranking-dialog-head h2{margin:8px 0 7px;font:800 31px/1.08 Manrope,sans-serif;letter-spacing:-.045em}.ranking-dialog-head p{max-width:650px;margin:0;color:#9da3b0;font:500 11px/1.6 DM Mono,monospace}.ranking-dialog-tabs{width:360px;margin:20px 0 0}.ranking-table-head,.full-rank-row{display:grid;grid-template-columns:62px minmax(250px,1fr) 105px 110px 120px;gap:12px;align-items:center}.ranking-table-head{padding:12px 38px;background:#10131b;color:#747b89;font:700 8px DM Mono,monospace;text-transform:uppercase;letter-spacing:.08em}.full-ranking-list{list-style:none;padding:0 38px;margin:0;overflow-y:auto;flex:1}.full-rank-row{min-height:61px;border-bottom:1px solid rgba(255,255,255,.07)}.full-rank-row .full-position{font:800 12px DM Mono,monospace;color:#7e8492}.full-rank-row.top-three .full-position{color:#d9ff43}.full-brand{display:grid;grid-template-columns:38px minmax(0,1fr);gap:11px;align-items:center}.full-brand .brand-rank-avatar{width:38px;height:38px}.full-brand span{min-width:0;display:flex;flex-direction:column;gap:3px}.full-brand strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.full-brand small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#818795;font:8px DM Mono,monospace}.full-stat{font:800 11px DM Mono,monospace;color:#e7e9ed}.full-stat.votes{color:#d9ff43}.ranking-pagination{min-height:68px;padding:0 38px;border-top:1px solid #303543;display:flex;align-items:center;justify-content:space-between;background:#12151e}.ranking-pagination>span{color:#858b99;font:500 9px DM Mono,monospace}.ranking-pagination div{display:flex;gap:7px}.ranking-pagination button{min-height:34px;border:1px solid #363c4a;background:#1d212d;color:#e7e9ed;padding:0 13px;font:700 9px DM Mono,monospace;cursor:pointer}.ranking-pagination button:hover:not(:disabled){border-color:#d9ff43;color:#d9ff43}.ranking-pagination button:disabled{opacity:.35;cursor:not-allowed}

@media(max-width:760px){.company-vote-button{transform:scale(.9);transform-origin:top right}.company-vote-button:hover{transform:scale(.9) translateY(-2px)}.ranking-dialog{height:calc(100vh - 18px);width:calc(100vw - 18px)}.ranking-dialog-head{padding:28px 20px 18px}.ranking-dialog-head h2{font-size:25px;padding-right:24px}.ranking-dialog-tabs{width:100%}.ranking-table-head{display:none}.full-ranking-list{padding:0 18px}.full-rank-row{grid-template-columns:38px minmax(0,1fr) auto;gap:8px;padding:8px 0}.full-rank-row .full-stat.spaces,.full-rank-row .full-stat.bid{display:none}.full-brand{grid-template-columns:34px minmax(0,1fr)}.full-brand .brand-rank-avatar{width:32px;height:32px}.ranking-pagination{padding:10px 18px;min-height:72px}.ranking-pagination>span{max-width:120px;line-height:1.4}}

/* Keep the new voting experience as readable as the enlarged city UI. */
.company-vote-button{min-width:64px;height:31px;font-size:11px}
.ranking-card .battle-head b{font-size:11px}.ranking-card .battle-head small{font-size:9px}
.ranking-period-tabs button{min-height:34px;font-size:11px}
.brand-rank-row{grid-template-columns:26px 36px minmax(0,1fr) auto;min-height:56px;padding-block:8px}
.brand-rank-position{font-size:10px}.brand-rank-avatar{width:34px;height:34px;font-size:11px}.brand-rank-copy strong{font-size:12px}.brand-rank-copy small{font-size:10px}.brand-rank-votes{font-size:11px}.brand-rank-votes small{font-size:9px}.ranking-loading,.ranking-empty{font-size:11px}
.ranking-dialog-head p{font-size:12px}.ranking-table-head{font-size:9px}.full-rank-row{min-height:64px}.full-brand strong{font-size:13px}.full-brand small{font-size:10px}.full-stat{font-size:12px}.ranking-pagination>span{font-size:10px}.ranking-pagination button{min-height:36px;font-size:10px}

/* Larger, longer-lived city notifications. */
.toast{min-width:280px;max-width:min(560px,calc(100vw - 32px));padding:16px 22px;border:2px solid rgba(255,255,255,.72);font:800 13px/1.45 DM Mono,monospace;text-align:center;box-shadow:0 14px 38px rgba(0,0,0,.35)}

/* The sponsored citizen physically carries the buyer's creative placard. */
.sponsored-citizen-board{position:absolute;z-index:18;left:50%;bottom:94px;transform:translateX(-50%);width:126px;height:72px;padding:9px 10px;border:5px solid #f5f1e8;background:linear-gradient(145deg,#5d3cad,#32256b);color:#fff;display:flex;flex-direction:column;justify-content:center;text-align:center;box-shadow:7px 9px 0 rgba(30,39,44,.28);overflow:hidden}
.sponsored-citizen-board:before,.sponsored-citizen-board:after{content:"";position:absolute;width:4px;height:34px;bottom:-31px;background:#f5f1e8;z-index:-1}.sponsored-citizen-board:before{left:28px;transform:rotate(-8deg)}.sponsored-citizen-board:after{right:28px;transform:rotate(8deg)}
.sponsored-citizen-board small{position:absolute;left:7px;top:6px;color:#d9ff43;font:800 7px DM Mono,monospace}.sponsored-citizen-board strong{display:block;font:800 14px/.92 Manrope,sans-serif;letter-spacing:-.04em}.sponsored-citizen-board>span{margin-top:5px;color:#d8dbea;font:700 8px DM Mono,monospace}.brand-citizen.has-creative .sponsored-citizen-board{background-image:linear-gradient(rgba(9,12,20,.18),rgba(9,12,20,.72)),var(--creative-image);background-size:cover;background-position:center;text-shadow:0 2px 8px rgba(0,0,0,.85)}
.brand-citizen .sponsor-flag{left:50%;bottom:84px;transform:translateX(-50%);z-index:22}.brand-citizen .company-vote-button{right:-47px;top:-82px}

/* Monthly/general ranking with bids and direct voting. */
.ranking-period-tabs{grid-template-columns:repeat(2,1fr)}
.ranking-period-tabs button:disabled{cursor:not-allowed;opacity:.48;color:#7f8490;background:#171a23}.ranking-period-tabs button:disabled:hover{color:#7f8490}.ranking-period-tabs button small{display:inline-block;margin-left:5px;padding:2px 4px;border:1px solid #454a58;color:#a6abb6;font:800 7px DM Mono,monospace;text-transform:uppercase;vertical-align:1px}
.ranking-vote-button{min-width:86px;min-height:42px;border:1px solid #3d4352;background:#202532;color:#d9ff43;padding:5px 7px;display:flex;flex-direction:column;align-items:flex-end;justify-content:center;gap:3px;font:800 11px DM Mono,monospace;cursor:pointer}.ranking-vote-button span{white-space:nowrap}.ranking-vote-button small{color:#a3a9b6;font:700 8px DM Mono,monospace;white-space:nowrap}.ranking-vote-button:hover:not(:disabled){border-color:#d9ff43;background:#292f3d}.ranking-vote-button.is-voted{background:#d9ff43;color:#171a1c;border-color:#f5f1e8}.ranking-vote-button.is-voted small{color:#454b32}.ranking-vote-button.is-own{color:#f4d65a}.ranking-vote-button.is-loading{opacity:.6;cursor:wait}.ranking-vote-button:disabled{opacity:.55;cursor:not-allowed}.ranking-vote-button.full{align-items:flex-start;min-width:98px}.full-rank-row>.ranking-vote-button{justify-self:start}
.ranking-bid-button{min-width:108px;min-height:44px;border:1px solid #414757;background:#202532;color:#f5f3ed;padding:5px 9px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:2px;cursor:pointer}.ranking-bid-button strong{font:800 12px DM Mono,monospace}.ranking-bid-button span{color:#d9ff43;font:800 8px DM Mono,monospace}.ranking-bid-button:hover:not(:disabled){border-color:#d9ff43;background:#292f3d}.ranking-bid-button:disabled{opacity:.45;cursor:not-allowed}.full-rank-row>.ranking-bid-button{justify-self:start}
@media(max-width:760px){.full-rank-row>.ranking-bid-button{grid-column:2/4;width:100%;min-height:36px;flex-direction:row;align-items:center;justify-content:space-between}}

/* Guest-first checkout messaging. */
.checkout-status{min-height:18px;margin:9px 0 0!important;color:#9ea4b1!important;font:700 9px/1.45 DM Mono,monospace!important}.checkout-status.success{color:#65ee8b!important}.checkout-status.error{color:#ff7b87!important}.prototype-note{font-size:8px!important;line-height:1.5!important;max-width:340px;margin-inline:auto}

@media(max-width:760px){.toast{min-width:0;width:calc(100vw - 30px);padding:14px 17px;font-size:12px}.sponsored-citizen-board{transform:translateX(-50%) scale(.88);transform-origin:bottom center}.brand-citizen .company-vote-button{right:-42px;top:-74px}.ranking-vote-button{min-width:78px}.ranking-vote-button.full{min-width:78px}}

/* Bid values must stay legible in the compact ranking column. */
.ranking-vote-button small{font-size:12px;line-height:1.25;color:#f4f5f7;font-weight:800}.ranking-vote-button{min-width:100px;padding:7px 9px}.ranking-vote-button.full{min-width:108px}

/* Auction errors live inside the top-layer dialog, never behind it. */
.checkout-status{display:none}.checkout-status:not(:empty){display:block;min-height:0;margin:12px 0 15px!important;padding:11px 12px;border:1px solid #444b5b;background:#1d222e;color:#d9dce4!important;font-size:10px!important;line-height:1.55!important}.checkout-status.error{border-color:rgba(255,91,109,.58);background:rgba(255,91,109,.09);color:#ff9ba7!important}.checkout-status.success{border-color:rgba(101,238,139,.48);background:rgba(101,238,139,.08);color:#8ff2aa!important}

.city-pulse-empty{border:1px dashed #363c49;background:#191d27;padding:17px;display:flex;flex-direction:column;gap:6px}.city-pulse-empty b{font-size:12px;color:#f5f3ed}.city-pulse-empty span{font:500 10px/1.55 DM Mono,monospace;color:#8d93a0}.panel-heading button:disabled{cursor:default;opacity:.7}
.district-grid .future-district{opacity:.72}.district-grid .future-district span{color:#f0c956}.district-grid .current-district{border-color:#d9ff43}.district-grid .current-district span strong{color:#d9ff43;font:800 10px DM Mono,monospace}

@media(max-width:760px){.ranking-vote-button small{font-size:10px}.checkout-status:not(:empty){font-size:10px!important}}

/* Resident access, honest guest state, and city-chat gate. */
[hidden]{display:none!important}
.resident-button{height:40px;border:1px solid #d9ff43;background:#222738;color:#d9ff43;padding:0 14px;font:800 10px DM Mono,monospace;text-transform:uppercase;letter-spacing:.04em;cursor:pointer}.resident-button span{margin-right:7px}.resident-button:hover{background:#d9ff43;color:#171a1c}.resident-button.has-access{border-color:#65ee8b;color:#65ee8b;background:rgba(101,238,139,.08)}
.chat-bar.locked{border-color:rgba(217,255,67,.55);background:#191d28}.chat-bar.locked input{cursor:pointer;color:#d9ff43}.chat-bar.locked button:last-child{background:#4b5140;color:#cfd6ba}.chat-bar.locked:before{content:"CITY PASS";position:absolute;left:12px;top:-18px;background:#d9ff43;color:#171a1c;padding:3px 6px;font:800 8px DM Mono,monospace}
.resident-access-state{width:100%;margin:14px 0 8px;padding:11px 12px;border:1px solid #d9ff43;background:rgba(217,255,67,.09);display:flex;flex-direction:column;gap:4px;text-align:left}.resident-access-state b{font:800 9px DM Mono,monospace;color:#7d921d}.resident-access-state span{font:600 10px/1.4 Manrope,sans-serif;color:#5d5f58}.resident-access-state.active{border-color:#32bd69;background:rgba(50,189,105,.09)}.resident-access-state.active b{color:#208849}.resident-member-button{width:100%;min-height:40px;margin-bottom:8px;border:1px solid #242a37;background:#171b28;color:#d9ff43;padding:0 14px;display:flex;align-items:center;justify-content:space-between;font:800 10px DM Mono,monospace;cursor:pointer}.admin-panel-link{width:100%;min-height:40px;margin-top:8px;border:1px solid #7060d8;background:#eeeafd;color:#32256b;padding:0 14px;display:flex;align-items:center;justify-content:space-between;text-decoration:none;font:800 10px DM Mono,monospace}

/* Paid resident products. */
.resident-dialog{width:min(900px,calc(100vw - 30px));padding:0;border:1px solid #424958;background:#151821;color:#f5f3ed;grid-template-columns:.85fr 1.15fr;overflow:hidden}.resident-dialog[open]{display:grid}.resident-dialog::backdrop{background:rgba(7,10,17,.84);backdrop-filter:blur(7px)}.resident-hero{min-height:560px;padding:46px 38px;background:radial-gradient(circle at 75% 75%,rgba(217,255,67,.2),transparent 28%),linear-gradient(145deg,#252a3c,#141925);position:relative;overflow:hidden}.resident-hero:after{content:"";position:absolute;width:220px;height:220px;border:1px solid rgba(217,255,67,.24);border-radius:50%;right:-75px;bottom:-70px}.resident-hero h2{margin:12px 0 12px;font:800 42px/.95 Manrope,sans-serif;letter-spacing:-.06em}.resident-hero p{max-width:320px;margin:0;color:#afb4c1;font:500 13px/1.65 Manrope,sans-serif}.resident-silhouette{position:absolute;left:50%;bottom:68px;transform:translateX(-50%);width:150px;height:150px;border:1px solid rgba(255,255,255,.1);background:linear-gradient(145deg,#32384b,#1b2030);display:grid;place-items:center;box-shadow:15px 18px 0 rgba(0,0,0,.2)}.resident-silhouette .tiny-avatar{width:72px;height:72px}.resident-silhouette .tiny-avatar i{width:56px;height:28px;left:8px}.resident-silhouette b{position:absolute;bottom:18px;color:#d9ff43;font:800 10px DM Mono,monospace}.resident-options{padding:36px;display:grid;gap:13px;align-content:center}.resident-plan{border:1px solid #343a49;background:#1c202b;padding:23px}.resident-plan>span{color:#d9ff43;font:800 9px DM Mono,monospace;letter-spacing:.08em}.resident-plan h3{margin:7px 0 7px;font:800 25px Manrope,sans-serif}.resident-plan p{margin:0;color:#9ca2af;font:500 11px/1.55 Manrope,sans-serif}.resident-plan ul{margin:15px 0 18px;padding:0;list-style:none;display:grid;gap:7px}.resident-plan li{color:#e4e6eb;font:600 10px DM Mono,monospace}.resident-plan li:before{content:"✓";color:#65ee8b;margin-right:8px}.resident-plan .primary-button{width:100%;display:flex;align-items:center;justify-content:space-between}.resident-plan>small{display:block;min-height:17px;margin-top:10px;color:#ff8f89;font:700 9px/1.45 DM Mono,monospace}.future-plan{opacity:.72}.future-plan>span{color:#9e91f1}.future-plan button{width:100%;min-height:38px;margin-top:17px;border:1px solid #3d4352;background:#272c39;color:#858b99;font:800 9px DM Mono,monospace}

/* Animated GIF and muted-loop video creatives. */
.market-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0;pointer-events:none}.market-video~*:not(.company-vote-button){position:relative;z-index:1}.market-space.has-video .face,.market-space.has-video.king-board,.market-space.has-video.street-ad,.market-space.has-video.micro-ad,.brand-citizen.has-video .sponsored-citizen-board{background:#111827;color:#fff;text-shadow:0 1px 8px rgba(0,0,0,.95);overflow:hidden}.mock-city-ad>video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}.mock-city-ad>small,.mock-city-ad>strong,.mock-city-ad>span{position:relative;z-index:1}.mock-city-ad.has-video:after{content:"MUTED VIDEO PREVIEW";position:absolute;right:7px;bottom:6px;z-index:2;background:rgba(10,13,20,.78);color:#fff;padding:3px 5px;font:700 7px DM Mono,monospace}

@media(max-width:760px){.resident-button{font-size:0;width:40px;padding:0}.resident-button span{font-size:13px;margin:0}.resident-dialog[open]{grid-template-columns:1fr;max-height:94vh;overflow:auto}.resident-hero{min-height:310px;padding:34px 26px}.resident-hero h2{font-size:34px}.resident-silhouette{width:112px;height:112px;left:auto;right:20px;transform:none;bottom:28px}.resident-options{padding:22px}.world-actions{gap:5px}}

/* Structured city composition: every label, building and citizen has a reserved zone. */
.world-stage{inset:-8%;overflow:hidden;transform-origin:50% 52%}
.ad-demo-key{top:9%;left:50%;z-index:24;padding:8px 12px;background:#171c27;border-color:rgba(255,255,255,.2)}
.district-label{z-index:23;top:9%;padding:7px 9px;background:rgba(232,239,239,.72);border-left:3px solid #394651;color:#26313a;backdrop-filter:blur(3px)}
.district-label span{opacity:.78}.label-arts{left:10%;top:9%}.label-north{left:auto;right:10%;top:9%;text-align:right;border-left:0;border-right:3px solid #394651}
.building-gallery{--x:11%!important;--y:22%!important}.building-stage{--x:73%!important;--y:20%!important}.building-market{--x:22.5%!important;--y:31%!important}.building-club{--x:62%!important;--y:31%!important}
.king-board{left:50%;right:auto;top:29%;transform:translateX(-50%)}.king-board:hover{transform:translateX(-50%) translateY(-5px)}
.kiosk-ad{left:34%;top:21%}.rooftop-ad{right:12%;top:24%}.street-ad{left:10%;top:38%}.transit-ad{left:auto;right:12%;top:38%}.community-board{left:5%;right:auto;top:72%}
.plaza-floor{bottom:-24%;height:69%}.world:after{content:"";position:absolute;z-index:29;left:0;right:0;bottom:0;height:10px;background:linear-gradient(transparent,rgba(42,55,62,.22));pointer-events:none}

/* Five fixed ad citizens hold clean placards above their heads. */
.brand-citizen{z-index:16;width:116px;height:112px;cursor:pointer;transition:none!important}
.brand-citizen .person{left:45px;top:29px}
.brand-citizen .person .body{background:var(--shirt)}
.brand-citizen .person .body:before,.brand-citizen .person .body:after{width:7px;height:36px;top:-25px;transform-origin:50% 100%;z-index:0}
.brand-citizen .person .body:before{left:-1px;transform:rotate(-14deg)}.brand-citizen .person .body:after{right:-1px;transform:rotate(14deg)}
.sponsored-citizen-board{left:50%;bottom:91px;width:114px;height:78px;padding:7px 8px 6px;border-width:4px;display:grid;grid-template-rows:auto 1fr auto auto;align-items:center;gap:2px;overflow:visible}
.sponsored-citizen-board:before,.sponsored-citizen-board:after{height:31px;bottom:-28px;width:4px}.sponsored-citizen-board:before{left:31px;transform:rotate(-7deg)}.sponsored-citizen-board:after{right:31px;transform:rotate(7deg)}
.sponsored-citizen-board small{position:static;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#d9ff43;font:800 6px/1.1 DM Mono,monospace;letter-spacing:.03em}
.sponsored-citizen-board strong{display:block;align-self:center;overflow:hidden;font:800 13px/.9 Manrope,sans-serif;letter-spacing:-.035em}
.sponsored-citizen-board>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:0;color:#e2e5ec;font:700 7px/1.1 DM Mono,monospace}
.brand-citizen .sponsor-flag{position:static!important;display:block;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;transform:none!important;border:0;background:#d9ff43;color:#171a1c;padding:3px 4px;font:800 6px/1 DM Mono,monospace;animation:none}
.brand-citizen.has-video .sponsored-citizen-board{overflow:visible}
.brand-citizen>b{bottom:0;max-width:112px;overflow:hidden;text-overflow:ellipsis;font-size:8px;padding:4px 7px}
.brand-citizen .company-vote-button{right:-1px;top:-84px;z-index:28}
.sponsor-slot-1{--x:20%!important;--y:79%!important}.sponsor-slot-2{--x:35%!important;--y:84%!important}.sponsor-slot-3{--x:50%!important;--y:79%!important}.sponsor-slot-4{--x:65%!important;--y:84%!important}.sponsor-slot-5{--x:80%!important;--y:79%!important}

@media(max-width:1350px) and (min-width:761px){.brand-citizen{transform:translate(-50%,-50%) scale(.8);transform-origin:center bottom}.sponsored-citizen-board strong{font-size:12px}.king-board{transform:translateX(-50%) scale(.92)}.king-board:hover{transform:translateX(-50%) scale(.92) translateY(-4px)}}
@media(max-height:760px) and (min-width:761px){body{overflow-y:auto}.topbar{height:72px}.app-shell{height:680px}.world-head{height:74px}.brand-citizen{transform:translate(-50%,-50%) scale(.76)}.ad-demo-key,.district-label{top:8%}}
@media(max-width:760px){.world-stage{inset:-9%}.district-label{font-size:8px}.label-arts{left:8%}.label-north{right:8%}.ad-demo-key{top:14%;font-size:7px}.brand-citizen{transform:translate(-50%,-50%) scale(.66);transform-origin:center bottom}.sponsor-slot-1{--x:17%!important;--y:76%!important}.sponsor-slot-2{--x:33%!important;--y:85%!important}.sponsor-slot-3{--x:50%!important;--y:76%!important}.sponsor-slot-4{--x:67%!important;--y:85%!important}.sponsor-slot-5{--x:83%!important;--y:76%!important}.community-board{display:none}.transit-ad{right:2%;top:63%}}

/* Scene cleanup: clean sign geometry, readable citizen placements and a protected chat lane. */
.building{z-index:8;width:154px;height:136px;filter:drop-shadow(10px 15px 9px rgba(24,37,47,.28))}
.building .roof{display:none}
.building .face{top:0;z-index:2;width:118px;height:118px;padding:12px 11px;overflow:hidden;clip-path:none;border:2px solid rgba(222,255,249,.68);border-top:5px solid #54dfd3;border-radius:2px 0 0 2px;background:linear-gradient(180deg,rgba(255,255,255,.055),transparent 42%),var(--market-bg);box-shadow:inset 0 0 0 1px rgba(255,255,255,.035)}
.building .side{left:118px;top:8px;z-index:1;width:32px;height:110px;clip-path:polygon(0 0,100% 12%,100% 92%,0 100%);background:linear-gradient(145deg,rgba(255,255,255,.06),transparent 38%),var(--market-side)}
.building .face [data-market-headline]{display:block;max-height:52px;overflow:hidden;overflow-wrap:normal;word-break:normal;white-space:normal}
.building .face>strong{font-size:17px;line-height:.92;letter-spacing:-.045em}
.auction-tag{bottom:-10px;z-index:5}

.king-board{height:168px;padding:13px 14px 11px;display:grid;grid-template-rows:auto auto minmax(38px,1fr) auto auto;align-items:center;gap:3px;overflow:visible}
.king-board>span{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.king-board .king-owner{margin:0;font-size:11px!important}
.king-board>strong{align-self:center;max-height:48px;margin:0!important;overflow:hidden;overflow-wrap:anywhere}
.king-board>small{display:block;margin:0;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.king-board>em{position:static;display:block;min-width:0;padding:5px 0 0;border-top:1px solid rgba(255,255,255,.22);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.kiosk-ad{width:90px;height:96px;padding:10px 9px 13px;overflow:visible}
.kiosk-ad strong{max-height:50px;overflow:hidden;overflow-wrap:normal;word-break:normal;font-size:14px}
.kiosk-ad small{bottom:-11px}
.rooftop-ad,.transit-ad,.street-ad{overflow:visible}
.micro-ad [data-market-headline],.street-ad [data-market-headline]{overflow-wrap:anywhere}
.market-space.has-video.king-board,.market-space.has-video.micro-ad,.market-space.has-video.street-ad{overflow:visible}

/* Keep the placement-specific creative recommendation readable in the checkout. */
.upload-creative{height:86px;grid-template-rows:auto auto;align-content:center}
.upload-creative small{white-space:normal;line-height:1.45;padding-right:8px}

.bench,.community-board{display:none}
.chat-bar{z-index:42}
.profile-chip.signed-out .account-avatar{display:none}
.profile-chevron{width:8px;height:8px;margin:0 2px 4px 4px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);opacity:.8}

.brand-citizen{z-index:4;width:138px;height:130px;translate:none;animation:none;transition:left 13s ease-in-out,top 13s ease-in-out!important}
.brand-citizen .person{left:55px;top:42px}
.sponsored-citizen-board{bottom:96px;width:138px;height:92px;padding:8px 9px 7px;grid-template-rows:auto minmax(28px,1fr) auto auto;gap:3px}
.sponsored-citizen-board:before,.sponsored-citizen-board:after{height:34px;bottom:-31px}
.sponsored-citizen-board:before{left:37px}.sponsored-citizen-board:after{right:37px}
.sponsored-citizen-board small{font-size:8.5px;line-height:1.15}
.sponsored-citizen-board strong{font-size:17px;line-height:.92;max-height:33px;overflow:hidden;overflow-wrap:anywhere}
.sponsored-citizen-board>span{font-size:9.5px;line-height:1.15}
.brand-citizen .sponsor-flag{font-size:8.5px;line-height:1.1;padding:4px 5px}
.brand-citizen>b{bottom:0;max-width:132px;font-size:9px;padding:5px 8px}
.brand-citizen .company-vote-button{right:-2px;top:-94px}
.sponsor-slot-1{--x:14%!important;--y:68%!important}
.sponsor-slot-2{--x:32%!important;--y:72%!important}
.sponsor-slot-3{--x:50%!important;--y:68%!important}
.sponsor-slot-4{--x:68%!important;--y:72%!important}
.sponsor-slot-5{--x:85%!important;--y:68%!important}

@media(max-width:1350px) and (min-width:761px){.brand-citizen{transform:translate(-50%,-50%) scale(.9)}.sponsored-citizen-board strong{font-size:15px}}
@media(max-height:760px) and (min-width:761px){.brand-citizen{transform:translate(-50%,-50%) scale(.88)}.sponsor-slot-1,.sponsor-slot-3,.sponsor-slot-5{--y:68%!important}.sponsor-slot-2,.sponsor-slot-4{--y:73%!important}}
@media(max-width:760px){.brand-citizen{transform:translate(-50%,-50%) scale(.7)}.sponsored-citizen-board{transform:translateX(-50%) scale(1)}.sponsor-slot-1{--x:18%!important;--y:58%!important}.sponsor-slot-2{--x:34%!important;--y:66%!important}.sponsor-slot-3{--x:50%!important;--y:58%!important}.sponsor-slot-4{--x:66%!important;--y:66%!important}.sponsor-slot-5{--x:82%!important;--y:58%!important}}

/* Readable auction checkout typography. */
.auction-controls .eyebrow{font-size:10px}
.auction-controls h2{font-size:31px;line-height:1.02;margin:9px 0 5px}
.auction-controls>p{font-size:11px;line-height:1.45;margin-bottom:20px}
.owner-row{margin-bottom:20px}.owner-row span{padding:12px 11px}.owner-row small{font-size:9px;line-height:1.2}.owner-row b{font-size:11px;line-height:1.25;margin-top:6px}
.auction-controls label{font-size:10px;line-height:1.3;margin:14px 0 7px}
.auction-controls label>input,.bid-field{height:44px;margin-top:7px;padding-inline:13px;font-size:12px}
.bid-field input{font-size:15px}.bid-field b{font-size:14px}
.upload-creative{height:86px;padding:11px;grid-template-columns:32px 1fr}.upload-creative>span{font-size:21px}.upload-creative b{font-size:11px}.upload-creative small{font-size:9px;line-height:1.45}
.bid-note{gap:6px;padding:10px 2px 11px;font-size:10px;line-height:1.25}
.place-bid{height:46px;margin-top:7px;font-size:12px}.prototype-note{display:block;max-width:390px!important;padding:0 8px 4px;font-size:9.5px!important;line-height:1.6!important;margin:12px auto 0;white-space:normal;overflow:visible}
.preview-head,.preview-traffic{font-size:10px}.mock-city-ad small,.mock-city-ad span{font-size:10px}

@media(min-width:761px){.auction-dialog{width:min(1220px,calc(100vw - 32px));grid-template-columns:1.15fr 1fr}.auction-preview{min-height:720px;padding:31px}.auction-controls{min-width:0;padding:37px 40px 48px}.preview-traffic{left:30px;right:30px;bottom:30px;padding:14px}}

/* Expressive faces and a complete avatar silhouette. */
.person .head:before{content:"";position:absolute;z-index:4;left:5px;top:10px;width:3px;height:3px;border-radius:50%;background:#2f2425;box-shadow:8px 0 0 #2f2425}
.person .head:after{content:"";position:absolute;z-index:4;left:7px;top:14px;width:7px;height:3px;border-bottom:1.5px solid #794d45;border-radius:50%}
.tiny-avatar:before{content:"";position:absolute;z-index:3;inset:0;background:radial-gradient(circle at 36% 52%,#2f2425 0 4%,transparent 4.8%),radial-gradient(circle at 64% 52%,#2f2425 0 4%,transparent 4.8%)}
.tiny-avatar:after{content:"";position:absolute;z-index:3;left:41%;top:66%;width:18%;height:8%;border-bottom:1px solid #794d45;border-radius:50%}
.resident-silhouette:before{content:"";position:absolute;z-index:1;left:14%;right:14%;bottom:12%;height:34%;border-radius:50% 50% 7px 7px;background:linear-gradient(145deg,#d9ff43,#86a924);box-shadow:inset 0 0 0 1px rgba(255,255,255,.24)}
.resident-silhouette .tiny-avatar{z-index:2;transform:translateY(-18%);box-shadow:0 5px 0 rgba(0,0,0,.12)}
.resident-silhouette .tiny-avatar:after{border-bottom-width:2px}
.resident-silhouette b{z-index:3;padding:3px 7px;background:#171b28;border-radius:3px}

/* The skyline inventory ends above 50%; the pedestrian/sponsored-citizen zone begins below it. */
.building,.king-board,.street-ad,.kiosk-ad,.rooftop-ad,.transit-ad{--skyline-zone-bottom:50%}
.ranking-card .battle-head>span{display:flex;align-items:center;gap:7px;line-height:1.25}.ranking-card .battle-head .live-dot{flex:0 0 auto;margin:0}

/* Complete customization workspace. */
#customizer{width:min(920px,calc(100vw - 30px));grid-template-columns:.9fr 1.1fr}
.custom-preview{min-height:590px;padding:42px 40px}
.custom-preview>.eyebrow{font-size:10px}.custom-preview h2{font-size:38px;margin-top:12px}
.avatar-stage{height:330px}.identity strong{font-size:19px}.identity span{font-size:9px;margin-top:6px}
.custom-controls{padding:38px 40px;min-width:0}
.custom-tabs{margin-bottom:29px;gap:7px}
.custom-tabs button{flex:1;margin:0;padding:0 8px 12px;font-size:11px;text-align:center}
.custom-tabs button:focus-visible{outline:2px solid var(--acid);outline-offset:3px}
.custom-panel[hidden]{display:none}.custom-panel{min-height:322px}.custom-panel-kicker{display:block;color:var(--acid);font:800 9px/1.2 DM Mono,monospace;letter-spacing:.11em}
.custom-panel h3{margin:7px 0 6px;font:800 24px/1.05 Manrope,sans-serif;letter-spacing:-.04em}.custom-panel>p{margin:0 0 20px;color:#9ca2af;font:500 11px/1.55 Manrope,sans-serif}
.custom-controls label{font-size:10px;line-height:1.25;margin:20px 0 10px;color:#a9adba}
.custom-name-input{height:46px;padding:0 14px;font-size:13px}
.swatches{gap:10px}.swatches button{width:38px;height:38px;border-width:5px}.swatches button:focus-visible,.style-grid button:focus-visible,.outfit-grid button:focus-visible{outline:3px solid var(--acid);outline-offset:2px}
.style-grid{gap:8px}.style-grid button{height:76px;gap:9px;font-size:9px}.hair-shape{width:29px;height:19px}
.outfit-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.outfit-grid button{min-height:86px;border:1px solid #323746;background:#1d202b;color:#dfe2e8;padding:11px;display:grid;grid-template-columns:44px 1fr;grid-template-rows:auto auto;column-gap:11px;align-items:center;text-align:left;cursor:pointer}.outfit-grid button:hover{border-color:#606778}.outfit-grid button.active{border-color:var(--acid);background:rgba(217,255,67,.07);box-shadow:inset 3px 0 var(--acid)}.outfit-grid b{font-size:11px}.outfit-grid small{color:#858b99;font:500 8px/1.3 DM Mono,monospace}.outfit-swatch{grid-row:1/3;width:40px;height:51px;border-radius:12px 12px 5px 5px;background:var(--shirt,#d8ff3e);box-shadow:inset 0 0 0 2px rgba(255,255,255,.16)}.outfit-swatch.jacket{background:linear-gradient(90deg,#202635 0 24%,var(--shirt,#d8ff3e) 24% 76%,#202635 76%)}.outfit-swatch.hoodie{background:linear-gradient(180deg,#202635 0 20%,var(--shirt,#d8ff3e) 20%)}.outfit-swatch.formal{background:linear-gradient(90deg,#202635 0 37%,#f5f1e8 37% 46%,var(--shirt,#d8ff3e) 46% 54%,#f5f1e8 54% 63%,#202635 63%)}
.identity-preview-card{margin-top:22px;border:1px solid #353b49;background:linear-gradient(145deg,#202533,#181c27);padding:20px;display:grid;gap:6px}.identity-preview-card>span{color:var(--acid);font:800 9px DM Mono,monospace;letter-spacing:.1em}.identity-preview-card strong{font:800 23px Manrope,sans-serif;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.identity-preview-card small{color:#9da3b0;font:700 9px DM Mono,monospace}.identity-preview-card p{margin:9px 0 0;padding-top:12px;border-top:1px solid #353b49;color:#878e9b;font:500 9px/1.5 DM Mono,monospace}
.custom-note{margin-top:20px;padding:13px;align-items:flex-start}.custom-note p{font-size:10px;line-height:1.55}.save-look{min-height:46px;margin-top:13px;font-size:12px}

/* Explicit facial features in the large editor avatar. */
.custom-head:before,.custom-head:after{display:none}
.custom-eyes{position:absolute;z-index:4;left:20px;top:34px;width:8px;height:8px;border-radius:50%;background:#241d22;box-shadow:27px 0 0 #241d22}
.custom-eyes:before{content:"";position:absolute;left:2px;top:1px;width:2px;height:2px;border-radius:50%;background:#fff;box-shadow:27px 0 0 #fff;opacity:.85}
.custom-mouth{position:absolute;z-index:4;left:29px;top:52px;width:17px;height:8px;border-bottom:3px solid #78483f;border-radius:0 0 50% 50%}

/* Outfit styles are shared by the editor preview and the user's live city character. */
.custom-person[data-outfit="basic"] .custom-body,.player .person[data-outfit="basic"] .body{background:var(--shirt,#d8ff3e)}
.custom-person[data-outfit="jacket"] .custom-body,.player .person[data-outfit="jacket"] .body{background:linear-gradient(90deg,#202635 0 23%,var(--shirt,#d8ff3e) 23% 77%,#202635 77%)}
.custom-person[data-outfit="hoodie"] .custom-body,.player .person[data-outfit="hoodie"] .body{background:linear-gradient(180deg,#202635 0 19%,var(--shirt,#d8ff3e) 19%)}
.custom-person[data-outfit="formal"] .custom-body,.player .person[data-outfit="formal"] .body{background:linear-gradient(90deg,#202635 0 37%,#f5f1e8 37% 46%,var(--shirt,#d8ff3e) 46% 54%,#f5f1e8 54% 63%,#202635 63%)}

@media(max-width:760px){#customizer{width:calc(100vw - 18px)}.custom-preview{min-height:430px;padding:34px 27px}.custom-preview h2{font-size:33px}.custom-controls{padding:27px 24px}.custom-panel{min-height:0}.outfit-grid{grid-template-columns:1fr}.custom-tabs button{font-size:10px}.custom-note p{font-size:9px}}

/* Keep the auction action in its familiar place without a visible browser scrollbar. */
.auction-dialog{scrollbar-width:none;overscroll-behavior:contain}
.auction-dialog::-webkit-scrollbar{display:none;width:0;height:0}
.auction-field-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}
.place-bid{margin-top:7px;align-items:center}
.prototype-note{margin:10px auto 0;padding:0 8px!important}

/* Saved hair style and colour also appear in compact account portraits. */
.tiny-avatar i{width:84%;height:42%;left:8%;top:0;background:var(--avatar-hair,#18151a);border-radius:55% 60% 30% 16%;box-shadow:none;transform:none;transition:width .18s,height .18s,left .18s,border-radius .18s,transform .18s}
.tiny-avatar i:before,.tiny-avatar i:after{content:"";position:absolute;background:inherit}
.tiny-avatar i:before{display:none}
.tiny-avatar i:after{right:0;top:58%;width:17%;height:58%;border-radius:0 0 45% 45%}
.tiny-avatar.hair-wave i{width:84%;height:50%;left:8%;border-radius:58% 58% 38% 38%;transform:none}
.tiny-avatar.hair-wave i:after{right:2%;top:62%;height:40%}
.tiny-avatar.hair-cloud i{width:74%;height:42%;left:13%;top:2%;border-radius:50%;transform:none}
.tiny-avatar.hair-cloud i:before,.tiny-avatar.hair-cloud i:after{display:block;top:14%;width:46%;height:88%;border-radius:50%}
.tiny-avatar.hair-cloud i:before{left:-12%}.tiny-avatar.hair-cloud i:after{right:-12%}
.tiny-avatar.hair-buzz i{width:84%;height:25%;left:8%;top:3%;border-radius:70% 70% 16% 16%;transform:none}
.tiny-avatar.hair-buzz i:after{right:2%;top:60%;height:42%}

@media(min-width:761px){.auction-preview{min-height:660px}.auction-controls{padding-bottom:32px}}
@media(max-width:760px){.auction-field-grid{grid-template-columns:1fr}.auction-dialog{scrollbar-width:none}}

/* Placement selector opened by the main Buy ad space button. */
.placement-picker-dialog{width:min(850px,calc(100vw - 30px));max-height:min(790px,calc(100vh - 30px));padding:0;background:#151821;color:#f5f3ed;border:1px solid #3a4050;overflow:hidden}.placement-picker-dialog[open]{display:flex;flex-direction:column}.placement-picker-dialog::backdrop{background:rgba(7,10,17,.82);backdrop-filter:blur(7px)}.placement-picker-dialog>.dialog-close{right:18px;top:16px;font-size:27px}.placement-picker-head{padding:36px 38px 25px;border-bottom:1px solid #303543;background:linear-gradient(135deg,#1d2130,#151821)}.placement-picker-head h2{margin:8px 0 7px;font:800 32px/1.05 Manrope,sans-serif;letter-spacing:-.05em}.placement-picker-head p{margin:0;color:#9da3b0;font:500 11px/1.6 DM Mono,monospace}.placement-picker-list{padding:12px 28px;overflow-y:auto;flex:1}.placement-option{display:grid;grid-template-columns:42px minmax(0,1fr) 120px 112px;gap:14px;align-items:center;min-height:76px;padding:10px;border-bottom:1px solid rgba(255,255,255,.08);transition:background .18s,border-color .18s}.placement-option:hover{background:#1b1f2a}.placement-option.is-live{box-shadow:inset 3px 0 #f2d65a}.placement-number{color:#69707e;font:800 11px DM Mono,monospace;text-align:center}.placement-copy{min-width:0;display:flex;flex-direction:column;gap:4px}.placement-copy small{color:#7c8290;font:700 8px DM Mono,monospace;text-transform:uppercase}.placement-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:800 14px Manrope,sans-serif}.placement-copy em{color:#66eb8b;font:700 9px DM Mono,monospace;font-style:normal}.placement-option.is-live .placement-copy em{color:#f2d65a}.placement-price{display:flex;flex-direction:column;gap:3px;text-align:right}.placement-price strong{font:800 14px DM Mono,monospace}.placement-price small{color:#777e8c;font:700 7px DM Mono,monospace}.placement-option>button{min-height:38px;border:1px solid #d9ff43;background:#d9ff43;color:#171a1c;font:800 9px DM Mono,monospace;cursor:pointer}.placement-option>button:hover{background:#efffa8}.placement-picker-note{padding:16px 38px;border-top:1px solid #303543;color:#8e94a1;background:#11141c;font:700 9px DM Mono,monospace}.placement-picker-note .live-dot{margin-right:7px}.placement-picker-empty{padding:40px 12px;text-align:center;color:#9298a5;font:500 11px/1.6 DM Mono,monospace}
@media(max-width:680px){.placement-picker-dialog{max-height:calc(100vh - 18px);width:calc(100vw - 18px)}.placement-picker-head{padding:30px 22px 20px}.placement-picker-head h2{font-size:27px}.placement-picker-list{padding:8px 14px}.placement-option{grid-template-columns:34px minmax(0,1fr) auto;gap:9px}.placement-price{display:none}.placement-option>button{grid-column:2/4;width:100%}.placement-picker-note{padding:14px 22px;line-height:1.5}}

/* Click analytics, compact ranking actions, and repaired market alignment. */
.billboard-board.king-board>.company-vote-button{left:auto;right:-13px;top:-17px;bottom:auto;width:auto;min-width:64px;height:31px;padding:0 8px;border:2px solid #f5f1e8;border-radius:4px;background:#171a24;color:#fff;font:800 11px DM Mono,monospace}.billboard-board.king-board>.company-vote-button.is-voted{background:#171a24;color:#fff;border-color:#d9ff43}.billboard-board.king-board>.company-vote-button.is-voted .vote-arrow{color:#d9ff43}
.ad-click-inline{display:block!important;margin-top:5px!important;color:#c7cbd4!important;font:800 7px/1.2 DM Mono,monospace!important}.ad-click-badge{position:absolute;z-index:54;right:-7px;top:23px;width:max-content;padding:4px 5px;border:1px solid rgba(255,255,255,.72);background:#171a24;color:#f5f3ed;font:800 7px DM Mono,monospace;box-shadow:3px 4px 0 rgba(30,39,44,.22);pointer-events:none}.ad-click-badge[hidden]{display:none}.building>.ad-click-badge{right:5px;top:4px}.micro-ad>.ad-click-badge,.street-ad>.ad-click-badge{right:-8px;top:21px}.brand-citizen>.ad-click-badge{right:-24px;top:-52px}
.auction-pulse .market-rows{padding:0}.auction-pulse .battle-row{grid-template-columns:20px 34px minmax(0,1fr) auto 98px;padding:0 8px}.auction-pulse .battle-row.first{box-shadow:inset 3px 0 #f2d65a}.market-row-actions{display:grid;grid-template-columns:1fr;gap:4px}.market-row-actions button{width:100%;min-height:24px!important;padding:4px 5px!important;font-size:7px!important}.market-row-actions .visit{background:#20242e!important;color:#f5f3ed!important;border-color:#454b5a!important}.market-row-actions .visit:hover{border-color:#d9ff43!important;color:#d9ff43!important}
.brand-rank-row{grid-template-columns:26px 36px minmax(0,1fr) 92px 64px;gap:7px;min-height:72px}.ranking-vote-button.sidebar{min-width:92px}.rank-action-stack{display:grid;gap:5px}.rank-action-stack .rank-visit,.rank-action-stack .rank-outbid{min-height:28px;width:100%;display:grid;place-items:center;border:1px solid #414756;background:#202532;color:#f5f3ed;padding:4px;text-decoration:none;font:800 7px DM Mono,monospace;cursor:pointer}.rank-action-stack .rank-outbid{background:#d9ff43;color:#171a1c;border-color:#d9ff43}.rank-action-stack .rank-visit:hover{border-color:#d9ff43;color:#d9ff43}.rank-action-stack .rank-outbid:hover:not(:disabled){background:#edff9c}.rank-action-stack .rank-outbid:disabled{background:#252936;color:#737987;border-color:#353b49;cursor:not-allowed}.full-rank-visit{width:max-content;color:#d9ff43;text-decoration:none;font:800 8px DM Mono,monospace}.full-rank-visit:hover{text-decoration:underline}.full-brand span{gap:4px}
.placement-actions{display:grid;gap:5px}.placement-actions button{min-height:34px;border:1px solid #d9ff43;background:#d9ff43;color:#171a1c;padding:5px 7px;font:800 8px DM Mono,monospace;cursor:pointer}.placement-actions button:hover{background:#efffa8}.placement-actions .visit{border-color:#444a58;background:#202532;color:#f5f3ed}.placement-actions .visit:hover{border-color:#d9ff43;background:#292f3d;color:#d9ff43}
@media(max-width:680px){.placement-actions{grid-column:2/4;grid-template-columns:1fr 1.4fr}.placement-actions button{width:100%}.brand-citizen>.ad-click-badge{transform:scale(.88);transform-origin:right top}}

/* Direct ranking access and permanent identities for the four compact placements. */
.city-ranking-launch{position:absolute;z-index:26;left:50%;top:14.5%;transform:translateX(-50%);min-width:238px;height:43px;padding:0 13px;border:1px solid rgba(217,255,67,.76);background:rgba(20,24,33,.94);color:#f5f3ed;display:grid;grid-template-columns:18px 1fr 18px;gap:8px;align-items:center;text-align:left;box-shadow:0 8px 22px rgba(20,27,35,.2),inset 0 2px #d9ff43;cursor:pointer;transition:transform .18s,background .18s,color .18s}.city-ranking-launch>span:first-child{color:#d9ff43;font-size:11px}.city-ranking-launch>span:nth-child(2){display:flex;flex-direction:column;gap:1px}.city-ranking-launch b{font:800 9px DM Mono,monospace;letter-spacing:.04em}.city-ranking-launch small{color:#9ea5b1;font:700 6px DM Mono,monospace;letter-spacing:.06em}.city-ranking-launch em{color:#d9ff43;font:800 13px DM Mono,monospace;font-style:normal;text-align:right}.city-ranking-launch:hover,.city-ranking-launch:focus-visible{transform:translateX(-50%) translateY(-2px);background:#d9ff43;color:#171a1c;outline:none}.city-ranking-launch:hover>span:first-child,.city-ranking-launch:hover em,.city-ranking-launch:focus-visible>span:first-child,.city-ranking-launch:focus-visible em{color:#171a1c}.city-ranking-launch:hover small,.city-ranking-launch:focus-visible small{color:#4c531f}
.micro-space-id{position:absolute!important;z-index:18!important;left:-4px!important;top:-27px!important;width:max-content!important;max-width:120px!important;min-height:23px!important;padding:4px 7px!important;background:#171c27!important;color:#f5f3ed!important;border:1px solid rgba(255,255,255,.72)!important;display:flex!important;align-items:center!important;gap:6px!important;box-shadow:3px 4px 0 rgba(30,39,44,.2)!important;transform:none!important;white-space:nowrap!important;pointer-events:none!important}.micro-space-id b{color:#d9ff43!important;font:800 7px DM Mono,monospace!important;letter-spacing:.03em!important}.micro-space-id em{color:#f5f3ed!important;font:700 6px DM Mono,monospace!important;font-style:normal!important;letter-spacing:.04em!important}.market-space.has-video .micro-space-id{background:#171c27!important;text-shadow:none!important}.street-ad>.micro-space-id{left:-4px!important;top:-28px!important}
@media(max-width:760px){.city-ranking-launch{top:20%;min-width:196px;height:39px}.city-ranking-launch small{display:none}.micro-space-id{transform:scale(.88)!important;transform-origin:left bottom!important}}

/* Keep the compact placement headers clear of neighboring bid and vote controls. */
.street-ad{top:43%}
.rooftop-ad{right:10%}

/* Readable compact inventory and complete live-campaign information at 100% city view. */
.micro-space-id{min-height:27px!important;padding:5px 8px!important;gap:7px!important;max-width:145px!important}.micro-space-id b{font-size:9px!important}.micro-space-id em{font-size:7.5px!important}
.street-ad small[data-market-brand]{font-size:9px!important;font-weight:800}.street-ad strong[data-market-headline]{font-size:17px!important;line-height:.9;margin:3px 0 0!important}.street-ad span[data-market-tag]{font-size:8.5px!important}
.kiosk-ad>span[data-market-brand]{font-size:10px!important}.kiosk-ad strong[data-market-headline]{font-size:17px!important;line-height:.9;margin:3px 0 0!important}.kiosk-ad small[data-market-tag]{font-size:8.5px!important}
.building .face>.sponsored[data-market-brand]{display:block!important;position:relative;z-index:4;min-height:12px;margin:2px 0 4px!important;color:#d9ff43!important;font:800 10px/1.15 DM Mono,monospace!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-shadow:0 1px 5px rgba(0,0,0,.72)}
.building .face>.building-clicks[data-market-views]{position:absolute!important;z-index:5;left:10px;right:7px;bottom:5px;display:block!important;margin:0!important;color:#e5e8ee!important;font:800 8px/1 DM Mono,monospace!important;white-space:nowrap;text-shadow:0 1px 5px rgba(0,0,0,.8)}
.king-board>[data-market-views].ad-click-inline{font-size:10px!important;line-height:1.25!important;color:#e5e8ee!important;letter-spacing:.01em}

/* Five deliberate rows prevent the building name and click total from colliding. */
.building .face{display:grid;grid-template-rows:auto auto minmax(38px,1fr) auto auto;row-gap:2px;align-items:center}
.building .face>.market-number{margin:0!important;line-height:1.05}
.building .face>.sponsored[data-market-brand]{min-height:0;margin:0!important;line-height:1.05!important}
.building .face>[data-market-headline]{align-self:center;max-height:45px!important;margin:0!important;line-height:.9!important}
.building .face>.building-zone-name{display:block;margin:0!important;color:#f5f3ed;font:800 8.5px/1.05 DM Mono,monospace!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-shadow:0 1px 5px rgba(0,0,0,.8)}
.building .face>.building-clicks[data-market-views],.building .face>.building-clicks[data-market-views].ad-click-inline{position:static!important;display:block!important;margin:0!important;color:#d5dae3!important;font:800 8px/1.05 DM Mono,monospace!important;white-space:nowrap;text-shadow:0 1px 5px rgba(0,0,0,.8)}
.building-market .face>.building-zone-name{margin-top:4px!important}
.building-gallery .face>.building-zone-name{margin-top:4px!important}
.building-club .face>.building-zone-name{margin-top:4px!important}

/* Keep every skyline auction strip visually and positionally consistent. */
.market-space:not(.king-board):not(.brand-citizen)>[data-market-tag]{left:4px!important;right:auto!important;bottom:-10px!important;min-height:23px!important;display:flex!important;align-items:center!important;justify-content:center!important;margin:0!important;border:1px solid rgba(217,255,67,.45)!important;background:#171a24!important;color:#d9ff43!important;padding:5px 7px!important;font:800 8px/1 DM Mono,monospace!important;font-style:normal!important;white-space:nowrap!important;text-shadow:none!important}

/* Individual compact-board spacing: align their first and second copy rows. */
.street-ad.market-space{padding-top:3px!important}
.kiosk-ad.market-space{padding-top:4px!important}
.rooftop-ad.market-space>[data-market-headline]{margin-top:1px!important;line-height:1.1!important}

/* Ranking avatars use only the advertiser's submitted campaign image, with initials as fallback. */
.brand-rank-avatar.has-logo{overflow:hidden;padding:4px;background:#f4f1e8;border-color:#52596b}.brand-rank-avatar.has-logo img{display:block;width:100%;height:100%;object-fit:contain;border-radius:2px}.brand-rank-row.top-three .brand-rank-avatar.has-logo{border-color:rgba(217,255,67,.72);box-shadow:0 0 0 2px rgba(217,255,67,.08)}

/* User-initiated ambience: visually clear, quiet by default and never autoplayed. */
.sound-toggle{position:relative;transition:border-color .18s,color .18s,background .18s,box-shadow .18s}.sound-toggle.is-playing{border-color:#d9ff43;background:#202719;color:#d9ff43;box-shadow:0 0 16px rgba(217,255,67,.17)}.sound-toggle.is-playing:after{content:"";position:absolute;right:5px;top:5px;width:5px;height:5px;border-radius:50%;background:#65ee8b;box-shadow:0 0 7px #65ee8b}

/* Optional clean city view. Full auction detail remains the default after every load. */

/* The account-linked resident uses a protected pedestrian lane below the ads. */
.citizen.player{z-index:3!important}.world-stage>.building,.world-stage>.king-board,.world-stage>.street-ad,.world-stage>.micro-ad{z-index:8}.world-stage>.brand-citizen .sponsored-citizen-board{z-index:18}

/* Two real residency choices: a recurring entry plan and founding lifetime access. */
.resident-dialog{width:min(1080px,calc(100vw - 30px));grid-template-columns:.72fr 1.28fr}.resident-options{grid-template-columns:1fr 1fr;align-content:center;gap:14px;padding:30px}.resident-plan{min-height:402px;display:flex;flex-direction:column;padding:22px}.resident-plan-title{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin:8px 0 10px}.resident-plan-title h3{margin:0;max-width:170px}.resident-price{flex:0 0 auto!important;display:flex;flex-direction:column;align-items:flex-end!important;color:#f5f3ed!important;line-height:1!important}.resident-price strong{font:800 22px/1 Manrope,sans-serif;letter-spacing:-.05em}.resident-price small{margin-top:4px;color:#d9ff43;font:800 7px/1 DM Mono,monospace;letter-spacing:.06em}.resident-plan ul{margin-top:18px}.resident-plan .primary-button,.resident-checkout-button{margin-top:auto}.resident-checkout-button{width:100%;min-height:43px;border:1px solid #d9ff43;background:transparent;color:#d9ff43;padding:0 13px;display:flex;align-items:center;justify-content:space-between;font:800 10px DM Mono,monospace;cursor:pointer}.resident-checkout-button:hover{background:#d9ff43;color:#171a1c}.resident-checkout-button:disabled,.resident-plan .primary-button:disabled{opacity:.55;cursor:wait}.subscription-plan>span{color:#65ee8b}.resident-options>#residentCheckoutStatus{grid-column:1/-1;display:block;min-height:18px;margin:0;color:#ff9a94;font:700 9px/1.45 DM Mono,monospace;text-align:center}
@media(max-width:900px){.resident-dialog[open]{grid-template-columns:1fr;max-height:94vh;overflow:auto}.resident-hero{min-height:300px}.resident-options{grid-template-columns:1fr}.resident-options>#residentCheckoutStatus{grid-column:1}.resident-plan{min-height:0}.resident-plan .primary-button,.resident-checkout-button{margin-top:18px}}
@media(max-width:760px){.citizen.player{--x:50%!important;--y:84%!important}}

/* Account authority and city configuration. */
.admin-tag{flex:0 0 auto;padding:3px 5px;border:1px solid #d9ff43;background:rgba(217,255,67,.1);color:#d9ff43;font:800 7px/1 DM Mono,monospace;letter-spacing:.06em}.admin-profile-tag{display:block;width:max-content;margin:3px auto 12px;padding:5px 8px;border:1px solid #8066f5;background:#eeeafd;color:#42318a;font:800 8px/1 DM Mono,monospace;letter-spacing:.05em}.profile-chip:has(.admin-tag:not([hidden])){border-color:rgba(217,255,67,.45)}
.settings-dialog{width:min(940px,calc(100vw - 30px));padding:0;overflow:hidden}.settings-head{padding:34px 38px 26px;border-bottom:1px solid #323745;background:radial-gradient(circle at 88% 10%,rgba(128,102,245,.24),transparent 32%),#171b26}.settings-head h2{margin:8px 0 5px;font:800 35px/.95 Manrope,sans-serif;letter-spacing:-.05em}.settings-head p{margin:0;color:#9aa0ad;font:500 12px/1.6 Manrope,sans-serif}.settings-grid{display:grid;grid-template-columns:1fr 1fr}.settings-section{min-height:390px;padding:28px 30px;background:#151821}.settings-section+.settings-section{border-left:1px solid #323745;background:#181c27}.settings-section-title{display:flex;align-items:flex-start;gap:12px;margin-bottom:20px}.settings-section-title>span{display:grid;place-items:center;width:28px;height:28px;border:1px solid #d9ff43;color:#d9ff43;font:800 8px DM Mono,monospace}.settings-section-title>div{min-width:0;flex:1}.settings-section-title h3{margin:0 0 3px;font:800 16px Manrope,sans-serif}.settings-section-title p{margin:0;color:#858b99;font:500 10px/1.5 Manrope,sans-serif}.settings-admin-badge{padding:5px 7px;background:#8066f5;color:white;font:800 7px DM Mono,monospace;font-style:normal}.settings-row{width:100%;min-height:73px;margin-bottom:8px;border:1px solid #303644;background:#1d212d;color:#f4f3ee;padding:13px 14px;display:flex;align-items:center;justify-content:space-between;gap:18px;text-align:left;cursor:pointer}.settings-row:hover{border-color:#5b6272}.settings-row:disabled{cursor:not-allowed;opacity:.48}.settings-row:disabled:hover{border-color:#303644}.settings-row>span{display:flex;flex-direction:column;gap:5px}.settings-row b{font:700 11px Manrope,sans-serif}.settings-row small{color:#8d93a1;font:500 9px/1.45 Manrope,sans-serif}.settings-switch{position:relative;flex:0 0 auto;width:36px;height:19px;border:1px solid #485060;background:#272c39;border-radius:20px;transition:.2s}.settings-switch:after{content:"";position:absolute;width:11px;height:11px;left:3px;top:3px;border-radius:50%;background:#727988;transition:.2s}.settings-row[aria-pressed="true"] .settings-switch{border-color:#d9ff43;background:rgba(217,255,67,.14)}.settings-row[aria-pressed="true"] .settings-switch:after{left:20px;background:#d9ff43;box-shadow:0 0 8px rgba(217,255,67,.5)}.settings-plan-state{min-height:106px;padding:16px;border:1px solid #343a49;background:#202532;display:flex;flex-direction:column}.settings-plan-state small{color:#858c9b;font:800 7px DM Mono,monospace;letter-spacing:.08em}.settings-plan-state strong{margin:7px 0 4px;color:#d9ff43;font:800 19px Manrope,sans-serif}.settings-plan-state p{margin:0;color:#a4aab7;font:500 9px/1.5 Manrope,sans-serif}.settings-billing-actions{display:grid;gap:8px;margin-top:13px}.settings-billing-actions .primary-button,.billing-button{width:100%;min-height:42px;padding:0 13px;display:flex;align-items:center;justify-content:space-between}.billing-button{border:1px solid #434a5a;background:#222735;color:#f1f1ed;font:800 9px DM Mono,monospace;cursor:pointer}.billing-button:hover{border-color:#d9ff43;color:#d9ff43}.lifetime-upgrade{border-color:#8066f5;color:#c4baff}.settings-status{min-height:18px;margin:10px 0 0;color:#ff9a94;font:700 9px/1.45 DM Mono,monospace}.sandbox-note{display:block;margin-top:10px;color:#747b89;font:700 7px/1.45 DM Mono,monospace;letter-spacing:.03em}.city-motion-off .cloud,.city-motion-off .person{animation-play-state:paused!important}.citizen.player{transition:left 7s ease-in-out,top 7s ease-in-out!important}
.emoji-picker{position:absolute;z-index:44;left:50%;bottom:74px;transform:translateX(-50%);width:min(360px,74%);padding:10px;border:1px solid #3c4352;background:#171b26;grid-template-columns:repeat(8,1fr);gap:6px;box-shadow:0 14px 38px rgba(0,0,0,.35)}.emoji-picker[hidden]{display:none}.emoji-picker:not([hidden]){display:grid}.emoji-picker button{min-width:0;height:36px;border:1px solid #323846;background:#222735;font-size:18px;cursor:pointer}.emoji-picker button:hover,.emoji-picker button:focus-visible{border-color:#d9ff43;background:#303642;outline:0}.king-board>strong[data-market-headline]{line-height:1.05!important;max-height:56px!important;padding:2px 0 4px!important;overflow:hidden!important}
@media(max-width:800px){.profile-chip .admin-tag{display:none}.settings-dialog{max-height:94vh;overflow:auto}.settings-grid{grid-template-columns:1fr}.settings-section{min-height:0}.settings-section+.settings-section{border-left:0;border-top:1px solid #323745}.settings-head{padding:29px 25px}.settings-section{padding:24px 22px}}

/* The supplied VibeCity source now renders the central city exactly as provided. */
.world{background:#0a0d16}
.vibecity-embed{position:absolute;inset:0;z-index:2;overflow:hidden;background:#0a0d16}
.vibecity-embed iframe{display:block;width:100%;height:100%;border:0;background:#0a0d16;opacity:0;transition:opacity .45s ease;cursor:grab}
.vibecity-embed iframe:active{cursor:grabbing}
.vibecity-embed.is-ready iframe{opacity:1}
.vibecity-loading{position:absolute;inset:0;z-index:3;display:grid;place-content:center;gap:13px;background:radial-gradient(circle at 50% 40%,#273343,#0a0d16 65%);color:#d9ff43;font:800 9px DM Mono,monospace;letter-spacing:.16em;transition:opacity .35s ease,visibility .35s ease;pointer-events:none}
.vibecity-loading i{justify-self:center;width:26px;height:26px;border:2px solid rgba(217,255,67,.2);border-top-color:#d9ff43;border-radius:50%;animation:spin-city .8s linear infinite}
.vibecity-embed.is-ready .vibecity-loading{opacity:0;visibility:hidden}
@keyframes spin-city{to{transform:rotate(360deg)}}
.city-data-stage{visibility:hidden!important;opacity:0!important;pointer-events:none!important}
.world>.zoom-controls{display:none}
.world>.chat-bar,.world>.emoji-picker{z-index:42}
.chat-toggle-button b{font:inherit}.chat-toggle-button[aria-pressed="true"]{border-color:#d9ff43;color:#d9ff43}.world.city-chat-hidden>.chat-bar,.world.city-chat-hidden>.emoji-picker{display:none!important}
.city-chat-panel{position:absolute;z-index:45;left:16px;top:16px;width:min(390px,calc(100% - 32px));height:min(590px,calc(100% - 32px));border:1px solid #3b4250;background:rgba(17,20,29,.97);box-shadow:0 22px 60px rgba(0,0,0,.38);backdrop-filter:blur(12px);display:grid;grid-template-rows:auto auto minmax(0,1fr);color:#f5f3ec}.city-chat-panel[hidden]{display:none}.city-chat-panel>header{min-height:70px;padding:15px 17px;border-bottom:1px solid #343a48;display:flex;align-items:center;justify-content:space-between}.city-chat-panel>header>span{display:grid;grid-template-columns:8px 1fr;column-gap:8px;align-items:center}.city-chat-panel>header i{width:7px;height:7px;border-radius:50%;background:#65ee8b;box-shadow:0 0 8px #65ee8b;grid-row:1/3}.city-chat-panel>header b{font:800 11px DM Mono,monospace;color:#d9ff43}.city-chat-panel>header small{margin-top:3px;font:600 8px DM Mono,monospace;color:#7e8592}.city-chat-panel>header button{width:34px;height:34px;border:1px solid #343b49;background:#202531;color:#c7ccd6;font-size:20px;cursor:pointer}.city-chat-tabs{display:grid;grid-template-columns:1fr 1fr;padding:8px;border-bottom:1px solid #343a48;background:#141821}.city-chat-tabs button{min-height:36px;border:1px solid transparent;background:transparent;color:#858c9a;font:800 9px DM Mono,monospace;cursor:pointer}.city-chat-tabs button.active{border-color:#d9ff43;background:#d9ff43;color:#171a1c}.city-chat-view{min-height:0;display:grid;grid-template-rows:minmax(0,1fr) auto}.city-chat-view[hidden]{display:none}.city-chat-panel ol{list-style:none;margin:0;padding:13px 14px;overflow:auto;display:flex;flex-direction:column;gap:8px}.city-chat-panel li{padding:10px 11px;border:1px solid #303644;background:#1c212c}.city-chat-panel li.is-you{border-color:rgba(217,255,67,.38);background:rgba(217,255,67,.07)}.city-chat-panel li b{display:block;margin-bottom:4px;color:#d9ff43;font:800 9px DM Mono,monospace}.city-chat-panel li p{margin:0;color:#eef0f3;font:600 11px/1.45 Manrope,sans-serif;overflow-wrap:anywhere}.city-chat-panel li time{display:block;margin-top:6px;color:#727987;font:600 7px DM Mono,monospace}.city-chat-panel .city-chat-welcome{border-style:dashed;background:#171b24}.city-chat-panel form{min-height:66px;padding:10px;border-top:1px solid #343a48;display:grid;grid-template-columns:1fr auto;gap:8px}.city-chat-panel input{min-width:0;border:1px solid #39404d;background:#11151e;color:#fff;padding:0 11px;font:600 10px DM Mono,monospace;outline:0}.city-chat-panel input:focus{border-color:#d9ff43}.city-chat-panel form button{min-width:72px;border:0;background:#d9ff43;color:#171a1c;font:800 9px DM Mono,monospace;cursor:pointer}.city-chat-panel form button:disabled{background:#4a5041;color:#aeb59a}.city-network-view{overflow:hidden;grid-template-rows:1fr}.network-home{min-height:0;overflow:auto;padding:14px;display:grid;align-content:start;gap:15px}.network-intro{margin:0;padding:10px 11px;border-left:3px solid #7060d8;background:#1c202b;color:#aeb4c1;font:600 10px/1.5 Manrope,sans-serif}.network-intro.error{border-left-color:#ff6577;color:#ff9fab}.network-group{display:grid;gap:8px}.network-group h3{margin:0;color:#d9ff43;font:800 9px DM Mono,monospace;text-transform:uppercase;letter-spacing:.04em}.network-list{display:grid;gap:7px}.network-empty{margin:0;padding:12px;border:1px dashed #363d4a;color:#7f8693;font:600 9px/1.5 DM Mono,monospace}.network-card{width:100%;min-height:58px;border:1px solid #343b49;background:#1b202a;color:#f5f3ed;padding:9px 10px;display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:9px;text-align:left;cursor:pointer}.network-card:hover{border-color:#d9ff43}.network-card-avatar{width:34px;height:34px;border:1px solid #444c5d;background:#292f3d;color:#d9ff43;display:grid;place-items:center;font:800 10px DM Mono,monospace;overflow:hidden}.network-card-avatar img{width:100%;height:100%;object-fit:cover}.network-card-copy{min-width:0}.network-card-copy b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#f5f3ed;font:800 11px Manrope,sans-serif}.network-card-copy small{display:block;margin-top:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#818896;font:600 8px DM Mono,monospace}.network-card>em{color:#d9ff43;font:800 11px DM Mono,monospace;font-style:normal}.network-thread{min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr) auto}.network-thread[hidden]{display:none}.network-thread>header{min-height:60px;padding:9px 12px;border-bottom:1px solid #343a48;display:flex;align-items:center;gap:10px}.network-thread>header button{width:34px;height:34px;border:1px solid #3a4250;background:#202531;color:#fff;cursor:pointer}.network-thread>header span{min-width:0;display:grid}.network-thread>header b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#f5f3ed;font:800 11px Manrope,sans-serif}.network-thread>header small{margin-top:3px;color:#777f8e;font:600 7px DM Mono,monospace}.network-thread ol:empty:after{content:"Start the conversation. Only you and the advertiser can see these messages.";padding:14px;border:1px dashed #363d4a;color:#7f8693;font:600 9px/1.5 DM Mono,monospace}.network-thread li.is-mine{margin-left:28px;border-color:rgba(217,255,67,.35);background:rgba(217,255,67,.07)}.camera-view-button b{font:inherit}.camera-view-button[aria-pressed="true"]{border-color:#7060d8;background:#7060d8;color:#fff}@media(max-width:760px){.city-chat-panel{left:10px;top:10px;width:calc(100% - 20px);height:calc(100% - 80px)}}
.world:after{z-index:3;height:48px;background:linear-gradient(transparent,rgba(7,10,15,.35));pointer-events:none}
@media(max-width:760px){.vibecity-embed iframe{min-width:860px;width:156%;margin-left:-28%}.world>.chat-bar{width:calc(100% - 24px)}}

/* VibeCity controls are surfaced in The Internet Square's own top bar. */
.topbar{z-index:80}
.city-metrics{justify-self:center;display:grid;grid-template-columns:repeat(5,minmax(58px,1fr));gap:0;overflow:hidden;border:1px solid #343947;border-radius:22px;background:#171b25;box-shadow:0 7px 24px rgba(0,0,0,.18)}
.city-metrics>span{min-width:66px;padding:7px 10px;display:flex;align-items:baseline;justify-content:center;gap:5px;text-align:center}
.city-metrics>span+span{border-left:1px solid #343947}
.city-metrics strong{color:#f4f3ed;font:800 11px/1 DM Mono,monospace;font-variant-numeric:tabular-nums}
.city-metrics small{color:#737a89;font:800 6.5px/1 DM Mono,monospace;letter-spacing:.06em}
.city-mode-toggle,.city-audio-button{height:40px;border:1px solid #343947;background:#171b25;color:#d9dce4;display:flex;align-items:center;justify-content:center;gap:7px;padding:0 11px;cursor:pointer;white-space:nowrap}
.city-mode-toggle:hover,.city-audio-button:hover,.city-mode-toggle[aria-pressed="true"]{border-color:#d9ff43;color:#d9ff43}
.city-mode-toggle span{font-size:14px}.city-mode-toggle b,.city-audio-button b{font:800 8px DM Mono,monospace;letter-spacing:.05em}.city-audio-button>span{font-size:15px}.city-audio-button>i{width:16px;height:16px;display:grid;place-items:center;font:800 12px/1 Manrope,sans-serif;font-style:normal;color:#777e8c;transform:translateY(-1px)}
.city-audio-control{position:relative;z-index:82}.city-audio-button{min-width:120px;justify-content:flex-start}.city-audio-button>i{margin-left:auto}
.city-music-menu{position:absolute;z-index:90;right:0;top:calc(100% + 9px);width:270px;padding:7px;border:1px solid #3a404f;border-radius:12px;background:rgba(20,23,31,.97);box-shadow:0 20px 55px rgba(0,0,0,.48);backdrop-filter:blur(14px)}
.city-music-menu[hidden]{display:none}.city-music-menu button{width:100%;min-height:52px;border:0;border-radius:8px;background:transparent;color:#e7e7e3;padding:9px 11px;display:flex;flex-direction:column;align-items:flex-start;gap:4px;text-align:left;cursor:pointer}
.city-music-menu button:hover,.city-music-menu button.active{background:#292f3b}.city-music-menu button.active{box-shadow:inset 3px 0 #d9ff43}.city-music-menu b{font:750 11px/1.25 Manrope,sans-serif}.city-music-menu small{color:#808794;font:600 8px/1.25 DM Mono,monospace}
.city-media-host{position:fixed;left:-10000px;top:-10000px;width:320px;height:180px;overflow:hidden;opacity:.001;pointer-events:none}.city-media-host iframe{display:block;width:320px;height:180px;border:0}
@media(min-width:1151px){
  .city-metrics>span{min-width:72px;padding:9px 12px}.city-metrics strong{font-size:12px}.city-metrics small{font-size:7px}
  .city-mode-toggle,.city-audio-button{height:46px}.city-mode-toggle b,.city-audio-button b{font-size:9px}.city-audio-button{min-width:145px}
}
@media(max-width:1300px) and (min-width:1151px){.topbar{grid-template-columns:245px 1fr auto;padding-inline:17px}.brand{gap:9px}.brand-mark{width:30px;height:30px}.city-metrics>span{min-width:60px;padding-inline:8px}.player-bar{gap:7px}.city-audio-button{min-width:118px}.profile-chip{padding-inline:9px}}

/* Live billboard owners can prepare revisions without replacing the approved ad. */
.manage-campaigns-button{margin-top:8px}.campaign-manager-dialog{width:min(900px,calc(100vw - 30px));padding:0;overflow:hidden;border:1px solid #3b4150;background:#151821;color:#f4f3ee}.campaign-manager-dialog::backdrop{background:rgba(5,8,13,.86);backdrop-filter:blur(7px)}.campaign-manager-head{padding:31px 36px 25px;border-bottom:1px solid #343947;background:radial-gradient(circle at 90% 0,rgba(128,102,245,.25),transparent 38%),#181c27}.campaign-manager-head h2{margin:8px 0 5px;font:800 33px/.98 Manrope,sans-serif;letter-spacing:-.05em}.campaign-manager-head p{max-width:680px;margin:0;color:#a1a7b4;font:500 11px/1.6 Manrope,sans-serif}.campaign-manager-body{min-height:390px;max-height:68vh;padding:25px 28px 30px;overflow:auto}.owned-campaign-list{display:grid;gap:10px}.owned-campaign-list>p{margin:0;padding:48px 20px;border:1px dashed #3b4150;color:#9299a7;text-align:center;font:700 10px/1.5 DM Mono,monospace}.owned-campaign-card{min-height:91px;border:1px solid #343a48;background:#1c202b;padding:14px 15px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:14px}.owned-campaign-card small{color:#838a98;font:700 8px DM Mono,monospace;letter-spacing:.05em}.owned-campaign-card h3{margin:5px 0 3px;font:800 17px Manrope,sans-serif}.owned-campaign-card p{margin:0;color:#aeb4bf;font:600 10px Manrope,sans-serif}.owned-campaign-card button{min-width:126px;height:39px;border:1px solid #4a5160;background:#252a37;color:#f4f3ee;font:800 9px DM Mono,monospace;cursor:pointer}.owned-campaign-card button:not(:disabled):hover{border-color:#d9ff43;color:#d9ff43}.owned-campaign-card button:disabled{color:#9185cd;border-color:#4c466c;cursor:not-allowed}.campaign-edit-form{display:grid;grid-template-columns:1fr 1fr;gap:15px}.campaign-edit-back,.campaign-edit-space,.campaign-edit-status,.campaign-edit-submit,.campaign-edit-note{grid-column:1/-1}.campaign-edit-back{width:max-content;border:0;background:none;color:#b8adff;padding:0;font:800 9px DM Mono,monospace;cursor:pointer}.campaign-edit-space{color:#d9ff43;font:800 9px DM Mono,monospace;letter-spacing:.08em}.campaign-edit-form label{display:grid;gap:7px;color:#9ca3b1;font:800 9px DM Mono,monospace}.campaign-edit-form input{width:100%;height:46px;border:1px solid #3d4351;background:#11151e;color:#fff;padding:0 13px;font:600 11px Manrope,sans-serif;outline:none}.campaign-edit-form input:focus{border-color:#d9ff43}.campaign-edit-form label:nth-of-type(3),.campaign-edit-form label:nth-of-type(4){grid-column:1/-1}.campaign-edit-upload{min-height:72px;border:1px dashed #515869;background:#1c202b;color:#fff;padding:12px 14px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:5px;text-align:left;cursor:pointer}.campaign-edit-upload:hover{border-color:#d9ff43}.campaign-edit-upload b{font:800 10px Manrope,sans-serif}.campaign-edit-upload small{color:#858c99;font:600 8px/1.45 DM Mono,monospace}.campaign-edit-status{min-height:17px;margin:0;color:#ff938d;font:700 9px/1.5 DM Mono,monospace}.campaign-edit-status.success{color:#65ee8b}.campaign-edit-submit{min-height:45px}.campaign-edit-note{color:#737a88;text-align:center;font:600 8px/1.5 DM Mono,monospace}.campaign-edit-form.is-busy{opacity:.7;pointer-events:none}@media(max-width:650px){.campaign-manager-head{padding:28px 22px 22px}.campaign-manager-body{padding:21px 18px}.owned-campaign-card{grid-template-columns:1fr}.owned-campaign-card button{width:100%}.campaign-edit-form{grid-template-columns:1fr}.campaign-edit-form>*{grid-column:1!important}}
@media(max-width:1150px) and (min-width:761px){
  .topbar{height:118px;grid-template-columns:1fr auto;grid-template-rows:66px 52px;padding:0 20px}.brand{grid-column:1;grid-row:1}.player-bar{grid-column:2;grid-row:1}.city-metrics{display:grid!important;grid-column:1/-1;grid-row:2;align-self:start}.app-shell{height:calc(100vh - 118px)}
}
@media(max-width:760px){.city-mode-toggle,.city-audio-control{display:none}.city-metrics{display:none!important}}

/* Real-time WebGL preview for the citizen customizer. The original CSS avatar remains as a fallback. */
#customAvatar3d{position:absolute;inset:0;width:100%;height:100%;display:block;z-index:2;cursor:grab;touch-action:none}
#customAvatar3d:active{cursor:grabbing}
.avatar-stage.webgl-avatar-ready .custom-person{display:none}
.avatar-stage.webgl-avatar-ready .stage-shadow{bottom:22px;width:172px;height:36px;background:radial-gradient(ellipse,rgba(25,20,69,.55) 0,rgba(25,20,69,.18) 55%,transparent 75%);filter:blur(2px);z-index:1}

/* Chat moderation, public advertiser directory, and primary ranking access. */
.top-ranking-button{border-color:#d9ff43;color:#d9ff43}.top-ranking-button:hover{background:#d9ff43;color:#15191f}
.city-chat-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:7px}.city-chat-panel li .city-chat-meta time{margin:0}.city-chat-delete{border:0;background:transparent;color:#ff8b96;padding:2px 0;font:800 7px DM Mono,monospace;letter-spacing:.05em;cursor:pointer}.city-chat-delete:hover{color:#fff}.city-chat-delete[hidden]{display:none}
.network-card.ranked{grid-template-columns:28px 34px minmax(0,1fr) auto}.network-card-rank{color:#d9ff43;font:800 9px DM Mono,monospace}.network-card.ranked>em{min-width:49px;max-width:96px;text-align:right;font-size:8px;line-height:1.25}.network-card:disabled{cursor:default;opacity:.7}.network-card:disabled:hover{border-color:#343b49}.network-card:disabled>em{color:#858c99}
.dock-item{position:relative}.city-chat-tabs button{display:flex;align-items:center;justify-content:center;gap:6px}.chat-unread-badge{min-width:17px;height:17px;padding:0 4px;border:2px solid #151924;border-radius:10px;background:#ff5368;color:#fff;display:inline-grid;place-items:center;font:900 8px/1 DM Mono,monospace;box-shadow:0 4px 12px rgba(255,83,104,.35)}.chat-unread-badge[hidden]{display:none}.dock-chat-badge{position:absolute;right:-5px;top:-5px;z-index:2}.city-chat-tabs button.active .chat-unread-badge{border-color:#d9ff43;background:#171a1c;color:#fff}
@media(max-width:1080px){.top-ranking-button{font-size:0;width:42px;padding:0}.top-ranking-button span{font-size:13px;margin:0}}

/* Mobile city shell: keep the live 3D view from collapsing inside its column. */
@media(max-width:760px){
  html,body{min-height:100%;background:#0a0d16}
  .topbar{height:116px;padding-inline:16px;grid-template-columns:1fr auto}
  .city-mode-toggle{position:absolute;left:16px;bottom:8px;display:flex;height:38px;padding-inline:10px}
  .city-audio-control{position:absolute;left:92px;bottom:8px;display:block}
  .city-audio-button{min-width:154px;height:38px;padding-inline:10px}
  .app-shell,.world-panel{min-height:calc(100svh - 116px)}
  .world-head{flex:0 0 72px;padding-inline:16px}
  .world-head>div:first-child{min-width:0}
  .world-actions{gap:3px;flex:0 0 auto}
  .world-actions .top-ranking-button,.world-actions #mapButton{display:flex!important;width:36px;min-width:36px;height:38px;padding:0;font-size:0;align-items:center;justify-content:center}
  .world-actions .top-ranking-button span,.world-actions #mapButton span{margin:0;font-size:12px}
  .world-actions .resident-button,.world-actions .auction-button,.world-actions .primary-button{width:36px;min-width:36px;height:38px;padding:0;font-size:0;display:flex;align-items:center;justify-content:center}
  .world-actions .resident-button span,.world-actions .auction-button span,.world-actions .primary-button span{margin:0;font-size:12px}
  .world{flex:0 0 auto;height:calc(100vh - 188px);min-height:520px;height:max(520px,calc(100svh - 188px))}
  .vibecity-embed,.vibecity-embed iframe{min-height:100%}
  .vibecity-embed iframe{position:absolute;left:50%;width:156%;min-width:860px;margin-left:0;transform:translateX(-50%)}
  .city-chat-panel{bottom:70px;height:auto;min-height:0}
  .city-live-mobile{position:absolute;z-index:43;left:50%;top:10px;transform:translateX(-50%);display:flex;align-items:center;gap:6px;min-height:30px;padding:0 11px;border:1px solid rgba(217,255,67,.68);border-radius:16px;background:rgba(17,21,30,.9);box-shadow:0 7px 20px rgba(0,0,0,.24);color:#aeb6c3;font:800 8px/1 DM Mono,monospace;white-space:nowrap;pointer-events:none}.city-live-mobile strong{color:#f5f3ed;font:900 9px/1 DM Mono,monospace}.city-live-mobile i{color:#d9ff43;font-style:normal}
}
@media(max-width:360px){
  .world-head{padding-inline:12px}
  .world-head h1{font-size:19px}
  .world-actions .primary-button{width:36px;padding:0;font-size:0}
  .world-actions .primary-button span{margin:0;font-size:12px}
}
@media(max-width:420px){.world-head h1{font-size:21px;white-space:nowrap}}
@media(min-width:761px){.city-live-mobile{display:none}}

/* A resident inquiry uses the citizen's saved look, not the advertiser artwork. */
.citizen-network-avatar{position:relative;border-radius:50%;background:#151a25}
.citizen-network-head{position:relative;width:25px;height:25px;border-radius:48% 48% 45% 45%;background:var(--network-skin,#c98e68);box-shadow:inset 0 -2px rgba(0,0,0,.12)}
.citizen-network-hair{position:absolute;z-index:2;left:1px;right:1px;top:-1px;height:9px;border-radius:55% 55% 32% 32%;background:var(--network-hair,#171519)}
.citizen-network-hair.hair-wave:after{content:"";position:absolute;right:1px;top:-2px;width:7px;height:5px;border-radius:50%;background:inherit}
.citizen-network-hair.hair-cloud{height:10px;box-shadow:-3px -1px 0 -1px var(--network-hair),3px -1px 0 -1px var(--network-hair)}
.citizen-network-hair.hair-buzz{height:5px;top:1px}
.citizen-network-eyes:before,.citizen-network-eyes:after{content:"";position:absolute;top:12px;width:2px;height:2px;border-radius:50%;background:#171519}
.citizen-network-eyes:before{left:7px}.citizen-network-eyes:after{right:7px}

/* Readable city communications and explicit campaign/reward states. */
.city-chat-panel>header b{font-size:13px}.city-chat-panel>header small{font-size:10px}.city-chat-tabs button{font-size:11px}.city-chat-panel li b{font-size:10px}.city-chat-panel li p{font-size:12px;line-height:1.5}.city-chat-panel li time{font-size:8px}.city-chat-panel input{font-size:11px}.network-intro{font-size:11px;line-height:1.55}.network-group h3{font-size:10px}.network-empty{font-size:10px}.network-card-copy b{font-size:12px}.network-card-copy small{font-size:9px}.network-thread>header b{font-size:12px}.network-thread>header small{font-size:8px}.network-thread ol:empty:after{font-size:10px;line-height:1.55}
.owned-campaign-card.awaiting-review{border-color:rgba(242,214,90,.52);box-shadow:inset 4px 0 #f2d65a}.owned-campaign-card.payment-processing{border-color:rgba(133,113,239,.55);box-shadow:inset 4px 0 #8571ef}.owned-campaign-card.awaiting-review button{color:#f2d65a;border-color:rgba(242,214,90,.5)}.owned-campaign-card.payment-processing button{color:#b9adff;border-color:rgba(133,113,239,.55)}
.city-pulse-rewards{position:relative;margin-top:11px;padding:16px;border:1px solid rgba(133,113,239,.5);background:radial-gradient(circle at 100% 0,rgba(217,255,67,.1),transparent 36%),linear-gradient(145deg,#24213a,#191d29);box-shadow:inset 3px 0 #8571ef}.city-pulse-rewards small{display:block;color:#b9adff;font:800 8px DM Mono,monospace;letter-spacing:.08em}.city-pulse-rewards b{display:block;margin-top:8px;color:#fff;font:800 15px/1.15 Manrope,sans-serif}.city-pulse-rewards p{margin:7px 0 0;color:#a5acba;font:600 10px/1.55 Manrope,sans-serif}.city-pulse-rewards em{display:inline-block;margin-top:11px;padding:5px 7px;background:#d9ff43;color:#171b12;font:900 7px DM Mono,monospace;font-style:normal;letter-spacing:.06em}

/* City Communications stays readable on a dense desktop scene. */
.city-chat-panel{width:min(430px,calc(100% - 32px));height:min(630px,calc(100% - 32px))}
.city-chat-panel>header b{font-size:15px;line-height:1.2}.city-chat-panel>header small{font-size:11px;line-height:1.35}
.city-chat-tabs button{font-size:12px}.city-chat-panel li{padding:12px 13px}.city-chat-panel li b{font-size:12px}.city-chat-panel li p{font-size:13px;line-height:1.5}.city-chat-panel li time{font-size:9px}
.city-chat-panel input{font-size:12px}.city-chat-panel form button{font-size:11px}.network-intro{font-size:12px;line-height:1.55}.network-group h3{font-size:11px}.network-empty{font-size:11px;line-height:1.55}
.network-card{min-height:64px;grid-template-columns:40px minmax(0,1fr) auto;padding:10px 11px}.network-card.ranked{grid-template-columns:30px 40px minmax(0,1fr) auto}.network-card-avatar{width:40px;height:40px}.network-card-copy b{font-size:13px}.network-card-copy small{font-size:10px;line-height:1.35}.network-thread>header b{font-size:13px}.network-thread>header small{font-size:9px;line-height:1.35}.network-thread ol:empty:after{font-size:11px;line-height:1.55}

/* The phone city keeps the scene clean while every desktop control remains reachable. */
@media(max-width:760px){
  .topbar{height:120px;padding-inline:16px;grid-template-columns:minmax(0,1fr) auto}
  .brand{gap:8px;font-size:8.5px}.brand-mark{width:31px;height:31px}.brand>span:nth-child(2) strong{font-size:15px}.brand>b{display:none}
  .profile-chip{min-width:96px;height:40px;justify-content:flex-start;gap:6px;padding-inline:8px}.profile-chip b{max-width:56px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:8px}.profile-chip .tiny-avatar{flex:0 0 auto}
  .app-shell,.world-panel{min-height:calc(100svh - 120px)}
  .world-head{position:relative;flex:0 0 112px;height:112px;padding:13px 16px 0;align-items:flex-start}
  .world-actions{gap:3px;flex:0 0 auto}
  .world-actions .top-ranking-button{position:absolute;left:16px;bottom:10px;display:flex!important;width:170px;min-width:170px;height:38px;padding:0 11px;font-size:9px;align-items:center;justify-content:space-between;background:#d9ff43;color:#171a1c;border-color:#d9ff43;font-weight:900}
  .world-actions .top-ranking-button span{margin:0;font-size:13px}.world-actions .top-ranking-button:after{content:'→';font-size:13px}
  .world-actions #mapButton,.world-actions #toggleLowCamera,.world-actions #toggleCityChat{position:absolute;bottom:10px;display:flex!important;width:36px;min-width:36px;height:38px;padding:0;font-size:0;align-items:center;justify-content:center}
  .world-actions #mapButton{left:194px}.world-actions #toggleLowCamera{left:234px}.world-actions #toggleCityChat{left:274px}
  .world-actions #mapButton span,.world-actions #toggleLowCamera span,.world-actions #toggleCityChat span{margin:0;font-size:12px}.world-actions #toggleLowCamera b,.world-actions #toggleCityChat b{display:none}
  .world{height:calc(100vh - 232px);min-height:520px;height:max(520px,calc(100svh - 232px))}
  .city-live-mobile{display:grid;grid-template-columns:repeat(5,minmax(50px,1fr));min-height:39px;padding:5px 4px;border-radius:8px;gap:0}
  .city-live-mobile span{min-width:0;padding:0 7px;display:grid;gap:3px;text-align:center}.city-live-mobile span+span{border-left:1px solid rgba(255,255,255,.13)}.city-live-mobile strong{overflow:hidden;text-overflow:ellipsis;font-size:8px}.city-live-mobile small{color:#929aa8;font:800 6px/1 DM Mono,monospace;letter-spacing:.04em}
  .side-panel{display:block!important;height:auto;max-height:none;overflow:visible;border-left:0;border-top:1px solid #303642;background:#151821;padding:18px 16px 88px}.mobile-city-tools{display:grid;gap:10px;padding:0 0 18px;border-bottom:1px solid #303642}.mobile-city-tools>div{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.mobile-city-tools button{min-height:68px;border:1px solid #3a4251;background:#202532;color:#f4f3ed;display:grid;place-items:center;align-content:center;gap:7px;padding:8px 5px;cursor:pointer}.mobile-city-tools button:hover{border-color:#d9ff43;color:#d9ff43}.mobile-city-tools button span{color:#d9ff43;font-size:15px}.mobile-city-tools button b{font:800 8px/1.25 DM Mono,monospace;text-transform:uppercase}.side-panel .auction-pulse{margin-top:18px}.side-panel .panel-section:last-child{padding-bottom:0}.dock-item:last-child{display:block}
}
@media(max-width:360px){.world-actions .top-ranking-button{left:12px;width:150px;min-width:150px}.world-actions #mapButton{left:168px}.world-actions #toggleLowCamera{left:208px}.world-actions #toggleCityChat{left:248px}}
@media(min-width:761px){.mobile-city-tools{display:none}}

/* Mobile header refinement: a short, deliberate control stack instead of
   squeezing controls and live data over the city view. */
@media(max-width:760px){
  .topbar{height:106px;padding:0 14px;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:58px 48px}
  .brand{grid-column:1;grid-row:1;gap:9px;font-size:8px}.brand-mark{width:30px;height:30px}.brand>span:nth-child(2) strong{font-size:14px}
  .player-bar{grid-column:2;grid-row:1;align-self:center;gap:0}.profile-chip{min-width:88px;height:36px;padding-inline:7px}.profile-chip b{max-width:48px;font-size:7.5px}.profile-chip .tiny-avatar{width:22px;height:22px}
  .city-mode-toggle{left:14px;bottom:6px;height:35px;padding-inline:9px}.city-audio-control{left:82px;bottom:6px}.city-audio-button{min-width:142px;height:35px;padding-inline:9px}
  .app-shell,.world-panel{min-height:calc(100svh - 106px)}
  .world-head{flex:0 0 92px;height:92px;padding:9px 14px 0}.world-head>div:first-child{padding-right:124px}.world-head h1{font-size:21px;line-height:1.1;margin-top:4px}.world-head .eyebrow{font-size:7px}
  .world-actions .top-ranking-button{left:14px;bottom:9px;width:calc(100% - 164px);min-width:142px;height:36px;padding-inline:10px;font-size:8.5px}
  .world-actions #mapButton,.world-actions #toggleLowCamera,.world-actions #toggleCityChat{bottom:9px;width:36px;min-width:36px;height:36px}
  .world-actions #mapButton{left:auto;right:94px}.world-actions #toggleLowCamera{left:auto;right:54px}.world-actions #toggleCityChat{left:auto;right:14px}
  .world-actions .resident-button,.world-actions .auction-button,.world-actions .primary-button{width:34px;min-width:34px;height:34px}
  .city-live-mobile{position:relative;z-index:44;left:auto;top:auto;transform:none;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));width:100%;min-height:48px;padding:6px 12px 7px;border:0;border-top:1px solid #2d3441;border-bottom:1px solid #343b49;border-radius:0;background:#141923;box-shadow:0 8px 15px rgba(0,0,0,.16);color:#aeb6c3;white-space:normal}
  .city-live-mobile span{min-width:0;padding:0 5px;display:grid;gap:4px;text-align:center}.city-live-mobile span+span{border-left:1px solid rgba(255,255,255,.14)}.city-live-mobile strong{overflow:visible;text-overflow:clip;color:#f5f3ed;font:900 12px/1 DM Mono,monospace;letter-spacing:-.05em}.city-live-mobile small{color:#a4adbc;font:800 7.5px/1 DM Mono,monospace;letter-spacing:.06em}
  .world{height:calc(100vh - 246px);min-height:520px;height:max(520px,calc(100svh - 246px))}
}
@media(max-width:360px){
  .topbar{padding-inline:12px}.world-head{padding-inline:12px}.world-head>div:first-child{padding-right:116px}.world-actions .top-ranking-button{left:12px;width:calc(100% - 156px);min-width:132px}.world-actions #mapButton{right:88px}.world-actions #toggleLowCamera{right:50px}.world-actions #toggleCityChat{right:12px}.city-live-mobile{padding-inline:7px}.city-live-mobile span{padding-inline:3px}.city-live-mobile strong{font-size:11px}.city-live-mobile small{font-size:7px}
}

/* On a phone, the header is for place and ranking.  The remaining city
   actions live together in the labelled controls section below the scene. */
@media(max-width:760px){
  .world-head{flex:0 0 110px;height:110px;padding:12px 14px 0}.world-head>div:first-child{padding-right:0}.world-head h1{font-size:22px}
  .world-actions .top-ranking-button{left:14px;right:14px;bottom:10px;width:auto;min-width:0;height:38px;font-size:9px}
  .world-actions #mapButton,.world-actions #toggleLowCamera,.world-actions #toggleCityChat,.world-actions .resident-button,.world-actions .auction-button,.world-actions .primary-button{display:none!important}
  .world{height:calc(100vh - 264px);min-height:520px;height:max(520px,calc(100svh - 264px))}
  .city-music-menu{position:fixed;z-index:100;left:12px;right:12px;top:auto;bottom:76px;width:auto;max-height:calc(100svh - 160px);padding:8px;border-radius:12px;overflow:auto;background:rgba(20,23,31,.98);box-shadow:0 22px 60px rgba(0,0,0,.62)}
  .city-music-menu:before{content:'CITY MUSIC';display:block;padding:5px 8px 7px;color:#d9ff43;font:800 8px/1 DM Mono,monospace;letter-spacing:.1em}.city-music-menu button{min-height:48px;padding:8px 10px}.city-music-menu b{font-size:10px}.city-music-menu small{font-size:7.5px}
}
@media(max-width:360px){.world-head{padding-inline:12px}.world-actions .top-ranking-button{left:12px;right:12px}}

/* Keep the lighting label from growing into the Music control on phones. */
@media(max-width:760px){
  .city-mode-toggle{width:74px;justify-content:center;gap:5px;padding-inline:6px}
  .city-audio-control{left:96px}
}

/* Citizen points replaces the temporary Daily Signal with a live, account-backed ranking. */
.citizen-points-card{margin-top:16px;border:1px solid rgba(133,113,239,.72);padding:16px;background:radial-gradient(circle at 100% 0,rgba(217,255,67,.13),transparent 38%),linear-gradient(145deg,#30286d,#1b1e32);box-shadow:inset 3px 0 #8571ef}.citizen-points-card .card-title small{color:#d9ff43;font:800 8px DM Mono,monospace;letter-spacing:.08em}.citizen-points-summary{display:flex;align-items:end;justify-content:space-between;gap:12px;margin:13px 0 8px}.citizen-points-summary span{display:grid;gap:4px}.citizen-points-summary small{color:#b9adff;font:800 8px DM Mono,monospace;letter-spacing:.08em}.citizen-points-summary strong{color:#fff;font:800 30px/.95 Manrope,sans-serif;letter-spacing:-.07em}.citizen-points-summary em{padding:7px 8px;border:1px solid rgba(217,255,67,.65);background:#181c27;color:#d9ff43;font:900 8px DM Mono,monospace;font-style:normal;white-space:nowrap}.citizen-points-card>p{margin:0;color:#c2c6d4;font:600 10px/1.6 Manrope,sans-serif}.citizen-points-ranking{display:grid;gap:6px;margin:14px 0 0;padding:0;list-style:none}.citizen-points-ranking li{display:grid;grid-template-columns:25px minmax(0,1fr) auto;align-items:center;gap:8px;min-height:38px;padding:7px 8px;border:1px solid rgba(255,255,255,.1);background:rgba(9,12,22,.36)}.citizen-points-ranking li>b{color:#d9ff43;font:900 9px DM Mono,monospace}.citizen-points-ranking li>span{display:grid;gap:2px;min-width:0}.citizen-points-ranking li strong{overflow:hidden;color:#fff;font:800 10px Manrope,sans-serif;text-overflow:ellipsis;white-space:nowrap}.citizen-points-ranking li small{color:#9299ad;font:800 7px DM Mono,monospace;letter-spacing:.06em}.citizen-points-ranking li em{color:#d9ff43;font:900 8px DM Mono,monospace;font-style:normal;white-space:nowrap}.citizen-points-ranking li.citizen-points-empty{display:block;color:#c3c7d0;font:700 9px/1.45 DM Mono,monospace}
.citizen-points-view-all{margin-top:12px}.city-rewards-card{margin-top:16px;border:1px solid rgba(133,113,239,.66);padding:16px;background:linear-gradient(135deg,rgba(89,76,189,.95),rgba(35,31,91,.95));box-shadow:inset 3px 0 #a287ff}.city-rewards-card .card-title small{color:#d9ff43;font:800 8px DM Mono,monospace;letter-spacing:.08em}.city-rewards-card h3{margin:16px 0 7px;color:#fff;font:800 18px/1 Manrope,sans-serif;letter-spacing:-.055em}.city-rewards-card p{margin:0;color:#eeeefe;font:600 10px/1.6 Manrope,sans-serif}.city-rewards-tag{display:inline-block;margin-top:13px;padding:6px 8px;background:#d9ff43;color:#10121a;font:900 7px DM Mono,monospace;letter-spacing:.08em}.city-rewards-legal-nav{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px;padding-top:12px;border-top:1px solid rgba(255,255,255,.22)}.city-rewards-legal-nav a{color:#f4f1ff;font:900 8px DM Mono,monospace;letter-spacing:.04em;text-decoration:none}.city-rewards-legal-nav a:hover{color:#d9ff43}.citizen-points-dialog .ranking-dialog-head{border-color:rgba(133,113,239,.48)}.citizen-points-table-head,.citizen-points-full-list>li{display:grid;grid-template-columns:58px minmax(0,1fr) 74px 100px;align-items:center;gap:12px}.citizen-points-table-head{padding:12px 16px;border-bottom:1px solid rgba(255,255,255,.11);color:#8e95a8;font:900 8px DM Mono,monospace;letter-spacing:.09em}.citizen-points-table-head span:last-child{text-align:right}.citizen-points-full-list>li{min-height:62px;padding:10px 16px}.citizen-points-full-list>li>b{color:#d9ff43;font:900 11px DM Mono,monospace}.citizen-points-full-list>li>span{display:grid;gap:3px;min-width:0}.citizen-points-full-list strong{overflow:hidden;color:#fff;font:800 12px Manrope,sans-serif;text-overflow:ellipsis;white-space:nowrap}.citizen-points-full-list small{color:#9ca2b4;font:800 8px DM Mono,monospace;letter-spacing:.07em}.citizen-points-full-list em{color:#d9ff43;font:900 10px DM Mono,monospace;font-style:normal;text-align:right;white-space:nowrap}.citizen-points-full-list .ranking-loading{display:block}
@media(max-width:760px){.citizen-points-card{margin-top:18px;padding:15px}.citizen-points-summary strong{font-size:28px}.citizen-points-card>p{font-size:10px}.citizen-points-ranking li{min-height:42px}}
@media(max-width:760px){.city-rewards-card{padding:15px}.city-rewards-card h3{font-size:17px}.citizen-points-table-head,.citizen-points-full-list>li{grid-template-columns:38px minmax(0,1fr) 47px 70px;gap:7px}.citizen-points-table-head{padding:11px 12px;font-size:7px}.citizen-points-full-list>li{min-height:56px;padding:9px 12px}.citizen-points-full-list strong{font-size:11px}.citizen-points-full-list small{font-size:7px}.citizen-points-full-list em{font-size:8px}}

/* Legal links sit just below the Future City Rewards card, not inside it. */
.city-legal-nav{display:flex;flex-wrap:wrap;gap:12px;margin:12px 2px 0;padding:0 0 3px}.city-legal-nav a{color:#b9bfcd;font:900 10px DM Mono,monospace;letter-spacing:.04em;text-decoration:none}.city-legal-nav a:hover{color:#d9ff43}

/* The buy dialog uses each real placement's creative proportions. */
.auction-preview .mock-city-ad{box-sizing:border-box;width:min(var(--placement-preview-width,340px),calc(100% - 62px));height:auto;min-height:0;aspect-ratio:var(--creative-aspect,1280 / 666);padding:clamp(12px,5%,23px);display:flex;flex-direction:column;justify-content:center}.mock-city-ad[data-preview-space="sky-banner"]{top:35%;border-width:4px;padding:7px 28px;transform:translate(-50%,-50%) rotate(-2deg);box-shadow:12px 14px 0 rgba(30,45,53,.24),0 0 34px rgba(94,55,224,.34)}.mock-city-ad[data-preview-space="sky-banner"]:before{content:"AERIAL BANNER";position:absolute;left:0;right:0;top:-20px;text-align:center;color:#475362;font:700 7px DM Mono,monospace;letter-spacing:.16em}.mock-city-ad[data-preview-space="sky-banner"] strong{font-size:clamp(15px,3.2vw,24px);line-height:.9;margin:5px 0}.mock-city-ad[data-preview-space="sky-banner"] small,.mock-city-ad[data-preview-space="sky-banner"] span{font-size:7px}.mock-city-ad[data-preview-space="street-poster"]{transform:translate(-50%,-50%) rotate(-6deg);border-color:#242b34;box-shadow:10px 13px 0 rgba(30,45,53,.28),0 0 30px rgba(94,55,224,.28)}.mock-city-ad[data-preview-space="plaza-kiosk"],.mock-city-ad[data-preview-space="rooftop-sign"],.mock-city-ad[data-preview-space="transit-pod"]{border-width:7px;box-shadow:9px 12px 0 rgba(30,45,53,.28),0 0 30px rgba(94,55,224,.25)}.mock-city-ad[data-preview-space="gallery-facade"],.mock-city-ad[data-preview-space="live-stage"],.mock-city-ad[data-preview-space="creator-club"],.mock-city-ad[data-preview-space="creator-market"]{border-color:#26303c;box-shadow:13px 17px 0 rgba(30,45,53,.29),0 0 32px rgba(94,55,224,.3)}.auction-preview .mock-city-ad strong{font-size:clamp(24px,4.4vw,43px);line-height:.8;margin:clamp(8px,3vw,22px) 0 clamp(6px,2vw,13px)}
@media(max-width:760px){.auction-preview .mock-city-ad{width:min(var(--placement-preview-width,340px),calc(100% - 44px))}.mock-city-ad[data-preview-space="sky-banner"]{top:33%}}

/* The purchase preview is the same framed city object, not a separate poster. */
.auction-preview{background:linear-gradient(180deg,#b9c9d8 0 58%,#8b9bac 58% 100%)}.city-placement-preview{position:absolute;z-index:4;inset:0 0 62px;overflow:hidden;pointer-events:none}.placement-skyline{position:absolute;bottom:-8px;width:23%;height:46%;background:repeating-linear-gradient(90deg,rgba(220,231,237,.35) 0 2px,transparent 2px 17px),repeating-linear-gradient(0deg,rgba(220,231,237,.24) 0 2px,transparent 2px 14px),linear-gradient(105deg,#7a8896,#45515f);box-shadow:0 0 0 4px rgba(70,81,95,.18)}.placement-skyline-left{left:-5%;transform:skewY(8deg)}.placement-skyline-right{right:-4%;height:39%;transform:skewY(-8deg);background:repeating-linear-gradient(90deg,rgba(220,231,237,.35) 0 2px,transparent 2px 17px),repeating-linear-gradient(0deg,rgba(220,231,237,.24) 0 2px,transparent 2px 14px),linear-gradient(75deg,#758392,#3f4c5c)}.preview-placement-structure{position:absolute;left:50%;top:27%;width:min(var(--placement-preview-width,340px),calc(100% - 44px));transform:translateX(-50%) perspective(900px) rotateY(-2deg) rotateX(1deg);filter:drop-shadow(14px 17px 0 rgba(36,48,60,.28))}.preview-placement-structure>.mock-city-ad{position:relative;z-index:2;left:auto;top:auto;box-sizing:border-box;display:block;width:100%;height:auto;min-height:0;aspect-ratio:var(--creative-aspect,1280 / 666);transform:none!important;padding:clamp(15px,6%,28px);overflow:hidden;border:10px solid #131a22;background:radial-gradient(circle at 73% 15%,rgba(255,255,255,.17) 0 14%,transparent 14.5%),linear-gradient(135deg,#3f99a7,#2d6e79);box-shadow:inset 0 0 0 3px rgba(255,255,255,.06),0 5px 0 #0a0e13}.preview-placement-structure>.mock-city-ad:before{content:"";position:absolute;z-index:1;inset:0;background:linear-gradient(90deg,rgba(255,255,255,.05),transparent 25% 75%,rgba(0,0,0,.13))}.preview-placement-structure>.mock-city-ad>video{z-index:0}.preview-creative-copy{position:relative;z-index:2;display:grid;height:100%;align-content:center;gap:10px}.preview-creative-copy small{color:#eaf7f9!important;font:800 8px DM Mono,monospace;letter-spacing:.17em}.preview-creative-copy strong{display:block;overflow:hidden;color:#fff;font:800 clamp(29px,5.1vw,58px)/.9 Manrope,sans-serif;letter-spacing:-.065em;text-overflow:ellipsis;white-space:nowrap}.mock-city-ad.has-upload .preview-creative-copy,.mock-city-ad.has-video .preview-creative-copy{opacity:0}.preview-placement-footer{position:relative;z-index:3;display:grid;grid-template-columns:minmax(0,1fr) minmax(64px,.86fr) auto;align-items:center;gap:8px;min-height:43px;margin:0 7px;padding:7px 9px 7px 11px;background:linear-gradient(90deg,#20242a,#12161b 80%);border-top:2px solid #51565a;color:#f4f6f3;font-family:Manrope,sans-serif}.preview-placement-footer>span:first-child{display:grid;gap:2px;min-width:0}.preview-placement-footer>span:first-child>b{overflow:hidden;font-size:10px;line-height:1.05;text-overflow:ellipsis;white-space:nowrap}.preview-placement-footer>span:first-child>small{overflow:hidden;color:#c8cdd1;font:700 7px DM Mono,monospace;text-overflow:ellipsis;white-space:nowrap}.preview-placement-footer>em{overflow:hidden;color:rgba(255,255,255,.18);font:800 12px/.9 Manrope,sans-serif;font-style:normal;letter-spacing:-.04em;text-align:center;text-overflow:ellipsis;white-space:nowrap}.preview-placement-stats{display:grid!important;justify-items:end;gap:3px;white-space:nowrap}.preview-placement-stats small{color:#f5f5f0;font:800 6px DM Mono,monospace}.preview-placement-stats strong{color:#d9ff43;font:900 8px DM Mono,monospace}.mock-city-ad.has-video:after{z-index:4}.city-placement-preview[data-preview-space="sky-banner"] .preview-placement-structure{top:35%;width:min(var(--placement-preview-width,430px),calc(100% - 34px));filter:drop-shadow(10px 13px 0 rgba(38,52,66,.23))}.city-placement-preview[data-preview-space="sky-banner"] .preview-placement-structure:before{content:"";position:absolute;z-index:0;left:-64px;top:27%;width:56px;height:20px;border-radius:16px 20px 9px 9px;background:#b92f27;box-shadow:18px -5px 0 -5px #b92f27,48px 3px 0 -7px #b92f27}.city-placement-preview[data-preview-space="sky-banner"] .preview-placement-structure>.mock-city-ad{border-width:3px;padding:7px 22px;background:#e9ded4;color:#17181c;box-shadow:0 2px 0 #b9aea4}.city-placement-preview[data-preview-space="sky-banner"] .preview-creative-copy{gap:3px}.city-placement-preview[data-preview-space="sky-banner"] .preview-creative-copy small{color:#56606b!important;font-size:6px}.city-placement-preview[data-preview-space="sky-banner"] .preview-creative-copy strong{color:#26282d;font-size:clamp(15px,3vw,25px)}.city-placement-preview[data-preview-space="sky-banner"] .preview-placement-footer{display:none}.city-placement-preview[data-preview-space="street-poster"] .preview-placement-structure{transform:translateX(-50%) perspective(900px) rotateY(-6deg) rotateZ(-5deg);width:min(var(--placement-preview-width,325px),calc(100% - 58px))}.city-placement-preview[data-preview-space="plaza-kiosk"] .preview-placement-structure,.city-placement-preview[data-preview-space="rooftop-sign"] .preview-placement-structure,.city-placement-preview[data-preview-space="transit-pod"] .preview-placement-structure{top:31%;width:min(var(--placement-preview-width,320px),calc(100% - 66px));transform:translateX(-50%) perspective(900px) rotateY(5deg)}.city-placement-preview[data-preview-space="gallery-facade"] .preview-placement-structure,.city-placement-preview[data-preview-space="live-stage"] .preview-placement-structure,.city-placement-preview[data-preview-space="creator-club"] .preview-placement-structure,.city-placement-preview[data-preview-space="creator-market"] .preview-placement-structure{top:22%;width:min(var(--placement-preview-width,305px),calc(100% - 74px));transform:translateX(-50%) perspective(900px) rotateY(-5deg)}
@media(max-width:760px){.city-placement-preview{bottom:54px}.preview-placement-structure{top:25%;width:min(var(--placement-preview-width,340px),calc(100% - 34px))}.preview-placement-structure>.mock-city-ad{border-width:7px;padding:13px}.preview-creative-copy strong{font-size:clamp(25px,8vw,43px)}.preview-placement-footer{min-height:37px;margin:0 5px;padding:5px 6px 5px 8px;gap:5px}.preview-placement-footer>span:first-child>b{font-size:8px}.preview-placement-footer>span:first-child>small{font-size:6px}.preview-placement-footer>em{font-size:9px}.preview-placement-stats small{font-size:5px}.preview-placement-stats strong{font-size:7px}.city-placement-preview[data-preview-space="sky-banner"] .preview-placement-structure{top:31%;width:min(var(--placement-preview-width,430px),calc(100% - 22px))}.city-placement-preview[data-preview-space="sky-banner"] .preview-placement-structure:before{left:-40px;transform:scale(.7);transform-origin:right center}.city-placement-preview[data-preview-space="gallery-facade"] .preview-placement-structure,.city-placement-preview[data-preview-space="live-stage"] .preview-placement-structure,.city-placement-preview[data-preview-space="creator-club"] .preview-placement-structure,.city-placement-preview[data-preview-space="creator-market"] .preview-placement-structure{top:17%;width:min(var(--placement-preview-width,305px),calc(100% - 60px))}}

/* Make the checkout preview legible at the same scale as the city billboard. */
.preview-placement-structure{top:18%;width:min(var(--placement-preview-width,520px),calc(100% - 18px));filter:drop-shadow(17px 21px 0 rgba(36,48,60,.32))}.preview-placement-structure>.mock-city-ad{border-width:12px;padding:clamp(18px,6%,36px);box-shadow:inset 0 0 0 3px rgba(255,255,255,.06),0 7px 0 #0a0e13}.preview-creative-copy{gap:0}.auction-preview .preview-placement-structure .mock-city-ad .preview-creative-copy strong{font:800 clamp(40px,4.9vw,56px)/.88 Manrope,sans-serif;letter-spacing:-.07em;margin:0}.mock-city-ad.has-upload .preview-creative-copy,.mock-city-ad.has-video .preview-creative-copy{display:grid;opacity:1}.mock-city-ad.hide-creative-brand .preview-creative-copy{display:none!important}.mock-city-ad.has-upload:before,.mock-city-ad.has-video:before{display:none}.preview-placement-footer{min-height:60px;margin:0 8px;padding:10px 13px 10px 15px;border-top-width:3px;gap:12px;box-shadow:0 5px 0 rgba(10,14,19,.72)}.preview-placement-footer>span:first-child{gap:4px}.preview-placement-footer>span:first-child>b{font-size:14px}.preview-placement-footer>span:first-child>small{font-size:9px}.preview-placement-footer>em{font-size:17px}.preview-placement-stats{gap:5px}.preview-placement-stats small{font-size:8px}.preview-placement-stats strong{font-size:12px}.city-placement-preview[data-preview-space="sky-banner"] .preview-placement-structure{top:31%;width:min(var(--placement-preview-width,640px),calc(100% - 20px))}.city-placement-preview[data-preview-space="street-poster"] .preview-placement-structure{top:17%;width:min(var(--placement-preview-width,480px),calc(100% - 28px))}.city-placement-preview[data-preview-space="plaza-kiosk"] .preview-placement-structure,.city-placement-preview[data-preview-space="rooftop-sign"] .preview-placement-structure,.city-placement-preview[data-preview-space="transit-pod"] .preview-placement-structure{top:24%;width:min(var(--placement-preview-width,470px),calc(100% - 26px))}.city-placement-preview[data-preview-space="gallery-facade"] .preview-placement-structure,.city-placement-preview[data-preview-space="live-stage"] .preview-placement-structure,.city-placement-preview[data-preview-space="creator-club"] .preview-placement-structure,.city-placement-preview[data-preview-space="creator-market"] .preview-placement-structure{top:17%;width:min(var(--placement-preview-width,490px),calc(100% - 28px))}
@media(max-width:760px){.preview-placement-structure{top:18%;width:min(var(--placement-preview-width,520px),calc(100% - 18px))}.preview-placement-structure>.mock-city-ad{border-width:8px;padding:16px}.preview-creative-copy strong{font-size:clamp(29px,9vw,50px)}.preview-placement-footer{min-height:52px;margin:0 5px;padding:8px 9px 8px 11px;gap:7px}.preview-placement-footer>span:first-child>b{font-size:11px}.preview-placement-footer>span:first-child>small{font-size:8px}.preview-placement-footer>em{font-size:12px}.preview-placement-stats small{font-size:7px}.preview-placement-stats strong{font-size:9px}.city-placement-preview[data-preview-space="sky-banner"] .preview-placement-structure{top:31%;width:min(var(--placement-preview-width,640px),calc(100% - 20px))}.city-placement-preview[data-preview-space="gallery-facade"] .preview-placement-structure,.city-placement-preview[data-preview-space="live-stage"] .preview-placement-structure,.city-placement-preview[data-preview-space="creator-club"] .preview-placement-structure,.city-placement-preview[data-preview-space="creator-market"] .preview-placement-structure{top:17%;width:min(var(--placement-preview-width,490px),calc(100% - 24px))}}

/* Personal point history lives beside chat and private network activity. */
.city-chat-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}.city-chat-tabs button{min-width:0;padding:0 4px;line-height:1.25}.city-notifications-view{grid-template-rows:auto minmax(0,1fr);overflow:hidden}.city-notifications-head{min-height:69px;padding:12px 14px;border-bottom:1px solid #343a48;background:linear-gradient(110deg,rgba(133,113,239,.18),transparent 58%),#181c27;display:flex;align-items:center;justify-content:space-between;gap:12px}.city-notifications-head span{min-width:0;display:grid;gap:4px}.city-notifications-head b{color:#d9ff43;font:900 10px DM Mono,monospace;letter-spacing:.06em}.city-notifications-head small{color:#9ca4b3;font:600 9px/1.35 Manrope,sans-serif}.city-notifications-head button{flex:0 0 auto;border:1px solid #586171;background:#222735;color:#d9ff43;padding:7px 8px;font:800 8px DM Mono,monospace;cursor:pointer}.city-notifications-head button:hover{border-color:#d9ff43;background:#d9ff43;color:#171a1c}.city-notifications-head button:disabled{cursor:default;opacity:.55}.city-notifications-view>ol{gap:9px}.city-notifications-view>ol>li{position:relative;padding:12px 13px 12px 16px;border-left:3px solid #7060d8;background:#1c212c}.city-notifications-view>ol>li.unread{border-color:#d9ff43;background:linear-gradient(100deg,rgba(217,255,67,.10),transparent 55%),#1c212c}.city-notifications-view>ol>li.notification-points{border-left-color:#d9ff43}.city-notifications-view>ol>li.notification-residency{border-left-color:#65ee8b}.city-notifications-view>ol>li.notification-system{border-left-color:#8571ef}.city-notifications-view>ol>li>b{padding-right:66px}.city-notification-points{position:absolute;right:12px;top:11px;color:#d9ff43;font:900 9px DM Mono,monospace}.city-notifications-view>ol>li time{margin-top:8px}.city-notifications-empty{border-style:dashed!important;border-left-width:1px!important;color:#aab1bf}.city-notifications-empty b{color:#d9ff43}.city-notifications-empty p{color:#b8beca!important}@media(max-width:760px){.city-chat-tabs button{font-size:9px}.city-chat-tabs .chat-unread-badge{min-width:14px;height:14px;padding:0 3px;font-size:7px}.city-notifications-head{min-height:64px;padding:11px 12px}.city-notifications-head b{font-size:9px}.city-notifications-head small{font-size:8px}.city-notifications-head button{font-size:7px;padding:6px 7px}.city-notifications-view>ol>li{padding:11px 12px 11px 14px}.city-notifications-view>ol>li>b{padding-right:58px}.city-notification-points{right:10px;top:10px;font-size:8px}}
