/* The shell uses the unmodified reference stylesheet. Only city integration
   and the existing functional forms need these additional rules. */
html,body{min-height:100%;height:auto;overflow:auto}
body.focus-mode{overflow:hidden}
body.focus-mode #exactLayout #cityCanvas{position:fixed;inset:0;z-index:1000;width:100%;height:100dvh;min-height:0!important;border-radius:0}
body.focus-mode #exactLayout .mobile-nav{display:none}
body.focus-mode #exactLayout #cityCanvas.gui-hidden #focus-mode{display:flex!important;visibility:visible!important;opacity:1!important}
@media(max-width:760px){
 #exactLayout #cityCanvas{min-height:0;height:clamp(420px,72svh,760px);flex:none}
 #exactLayout .canvas-top{padding-top:max(12px,env(safe-area-inset-top));padding-right:max(12px,env(safe-area-inset-right))}
}
#legacyRuntime[hidden]{display:none!important}
.citizen-items{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:22px 0}
.citizen-items h3,.citizen-items p{grid-column:1/-1;margin:0}
.citizen-items label{display:flex;flex-direction:column;gap:7px;font-size:12px}
.citizen-items select{width:100%;min-height:42px;background:#232c20;color:#edf1e6;border:1px solid #47553d;border-radius:8px;padding:8px}
.citizen-items input[type=color]{width:100%;height:42px;cursor:pointer;background:#232c20;border:1px solid #47553d}
#customizer .swatches{flex-wrap:wrap;gap:8px}
#customizer .swatch-heading{display:block;margin:24px 0 10px}
#customizer .swatches{margin-top:10px;margin-bottom:24px;row-gap:14px}
#customizer .swatches [data-vip]{position:relative;outline:1px solid #d4ad53}
#customizer .swatches [data-vip]:after{content:'VIP';position:absolute;bottom:-10px;left:2px;font-size:7px;line-height:10px;color:#f5d488;background:#33301e;padding:0 2px;border-radius:2px}
.dialog-feedback{position:absolute;bottom:8px;left:8px;right:8px;z-index:30;background:#dffa91;color:#17201a;padding:12px 16px;border-radius:9px;box-shadow:0 5px 22px #0006;font-size:13px;pointer-events:none}
.saved-wardrobe{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:22px 0}.saved-wardrobe h3,.saved-wardrobe>p{grid-column:1/-1}.wardrobe-slot{border:1px solid #46533c;border-radius:9px;padding:9px;display:flex;flex-direction:column;gap:7px}.wardrobe-slot img{width:52px;height:52px;image-rendering:pixelated}.wardrobe-slot button{background:#303c2a;color:#e5eed8;border:1px solid #536146;border-radius:6px;padding:8px;font-size:11px}
.citizen-reward-guide{margin-top:16px;text-align:left}
.citizen-reward-guide summary{cursor:pointer;color:#ddfa87;padding:12px 0}
.citizen-reward-guide .citizen-points-rules{max-height:340px;overflow:auto;padding-right:10px}
.citizen-reward-guide .citizen-points-rules small{display:block;line-height:1.5}
#exactLayout .city-canvas{isolation:isolate;border:0;border-radius:8px;background:#0b0e10;box-shadow:none}
.city-mount{position:absolute;inset:0;z-index:0}
#world.runtime-surface{position:absolute;inset:0;min-height:0;width:100%;height:100%;border:0;background:#161b19;overflow:hidden}
#world #vibecityEmbed,#world #vibecityFrame{width:100%;height:100%;min-height:0}
#world #vibecityEmbed{position:absolute;inset:0;overflow:hidden}
#world #vibecityFrame{display:block;border:0}
#world .layout-city-map-button,#world .zoom-controls{display:none}
#exactLayout .canvas-top,#exactLayout .canvas-bottom{position:absolute;left:0;right:0;pointer-events:none;z-index:3}
#exactLayout .canvas-top{top:0;background:linear-gradient(#0005,transparent)}
#exactLayout .canvas-bottom{bottom:0;background:none}
#exactLayout .canvas-top button,#exactLayout .canvas-bottom button,#exactLayout .view-switch{pointer-events:auto}
#exactLayout .canvas-location{text-shadow:0 1px 4px #000}
#exactLayout .account-button .avatar{overflow:hidden}
#exactLayout .account-button .avatar img{width:100%;height:100%;object-fit:cover}
#exactLayout .points-total b{font:inherit}
#exactLayout .layout-empty{font-size:13px;line-height:1.6;color:#81917c;padding:20px 0 35px}
.citizen-points-rules{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:14px 0 2px;padding:0;list-style:none}
.citizen-points-rules li{display:flex;align-items:center;gap:8px;padding:8px;border:1px solid #354331;border-radius:8px;background:#202723}
.citizen-points-rules b{min-width:30px;color:#ddfa87;font:700 12px var(--font)}
.citizen-points-rules span{display:grid;gap:1px;color:#dce7d3;font:11px/1.25 var(--font)}
.citizen-points-rules small{color:#94a58a;font:10px/1.25 var(--font)}
.citizen-points-dialog-rule{margin:12px 28px 0;padding:10px 12px;border-left:2px solid #ddfa87;background:#202723;color:#aebba4!important;font:12px/1.45 var(--font)!important}
.citizen-points-dialog-rule b{color:#ddfa87}
@media(max-width:560px){.citizen-points-rules{grid-template-columns:1fr}.citizen-points-dialog-rule{margin:10px 18px 0}}
/* Reserve the prototype's three ranking rows, including an empty live market. */
#exactLayout #layoutRanking{min-height:209px}
#exactLayout .compact-ranking li>div,#exactLayout .featured-ad>span:nth-child(2){min-width:0}
#exactLayout .compact-ranking b,#exactLayout .compact-ranking small,#exactLayout .featured-ad b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:170px}
#exactLayout #cityChatPanel{position:static;width:100%;max-width:none;height:auto;max-height:none;inset:auto;transform:none;border:0;border-radius:0;box-shadow:none;background:transparent;padding:0;color:var(--text);font-family:var(--font)}
#exactLayout #cityChatPanel>header{display:none}
#exactLayout #cityChatPanel .city-chat-tabs{display:flex;gap:5px;padding:0 0 18px;border:0;background:none;flex-wrap:wrap}
#exactLayout #cityChatPanel .city-chat-tabs button{font:12px var(--font);text-transform:none;letter-spacing:0;border:0;border-radius:6px;background:none;color:#929d96;padding:7px 10px;white-space:normal}
#exactLayout #cityChatPanel .city-chat-tabs button.active{background:#2b3524;color:#d5e8b4}
#exactLayout #cityChatPanel ol{padding:0;list-style:none;max-height:48svh;overflow:auto;scrollbar-width:thin}
#exactLayout #cityChatPanel ol li{padding:14px 0;border:0;border-bottom:1px solid #2b332c55;background:none;border-radius:0}
#exactLayout #cityChatPanel li b{font:550 13px var(--font);color:#e1e9de}
#exactLayout #cityChatPanel li p{font:14px/1.6 var(--font);color:#aeb9a9;margin:7px 0}
#exactLayout #cityChatPanel li time{font:10px var(--font);color:#798774}
#exactLayout #cityChatPanel form{display:flex;padding:4px;border:1px solid #3b4636;background:#1a2119;border-radius:9px;margin-top:22px}
#exactLayout #cityChatPanel form input{background:none;border:0;padding:9px;min-width:0;width:100%;color:#e0ead8;font:14px var(--font)}
#exactLayout #cityChatPanel form button{font:500 12px var(--font);color:var(--accent);background:none;border:0;padding:6px}
#exactLayout #layoutNotificationMount .city-chat-tabs{display:none}
#exactLayout #layoutNotificationMount .city-chat-view{padding:0}
#exactLayout #cityChatPanel .city-notifications-head{background:#20271e;border-color:#34412e;border-radius:8px;padding:14px}
#exactLayout #cityChatPanel .city-notifications-head b{font:550 12px var(--font);color:#d5e8b4;letter-spacing:0}
#exactLayout #cityChatPanel .city-notifications-head small{font:11px/1.5 var(--font);color:#93a388}
#exactLayout #cityChatPanel .city-notifications-head button{font:11px var(--font);background:#293222;color:#c7dda9;border:1px solid #43513b;border-radius:6px}
#exactLayout #cityChatPanel .city-notifications-empty{border:0!important;color:#99aa8f}
#exactLayout .network-intro,#exactLayout .network-empty{font:13px/1.6 var(--font);color:#899b80}
#exactLayout .network-group h3{font:600 14px var(--font)}
.toast.show{opacity:1;transform:translate(-50%,0)}
dialog.runtime-surface{--bg:#101213;--panel:#181d1b;--panel2:#202723;--line:#2d3830;--ink:#f1f4ef;--text:#f1f4ef;--muted:#91a08a;--acid:#ddfa87;--violet:#b6cc94;--accent:#ddfa87;color:var(--text);background:#181d1b;border:1px solid #3b483a;border-radius:18px;font-family:var(--font);max-height:calc(100dvh - 40px)}
dialog.runtime-surface :is(p,label,small,span,button,input,select,textarea,em,strong,b,li,div){font-family:var(--font)!important}
dialog.runtime-surface :is(button,input,select,textarea){border-radius:8px;letter-spacing:0;text-transform:none}
dialog.runtime-surface :is(h1,h2,h3){font-family:Manrope,Arial,sans-serif;font-weight:600;letter-spacing:-.8px}
dialog.runtime-surface :is(.account-forms,.settings-content,.custom-controls,.auction-controls,.resident-copy){background:#181d1b;color:#e9eee4}
dialog.runtime-surface :is(.account-art,.custom-preview,.resident-art,.settings-dialog-head,.ranking-dialog-head,.placement-picker-head){background:linear-gradient(135deg,#263022,#18211a);color:#e9f0e2}
dialog.runtime-surface :is(.primary-button,.resident-choose-button,.placement-actions button:not(.visit),#placeAuctionBid){background:#ddfa87;color:#263019;border-color:#ddfa87;font-weight:600}
dialog.runtime-surface :is(.account-form input,.custom-controls input,.auction-controls input,.auction-controls textarea,.settings-dialog input){background:#20281c;color:#eef6e5;border:1px solid #43533c}
dialog.runtime-surface :is(.placement-option,.settings-card,.resident-plan,.full-rank-row,.account-benefits){background:#202723;border-color:#354331;border-radius:10px}
dialog.runtime-surface .dialog-close{color:#aab4a4}
dialog.runtime-surface .custom-preview:before{background:none}
dialog.runtime-surface .custom-preview .eyebrow{color:#b6c89d}
/* Keep the reference's compact, single-panel dialog language for real forms. */
#customizer.runtime-surface[open]{display:block;overflow:auto}
#customizer .custom-preview{padding:26px 28px 20px;min-height:0;background:#20281e;border-bottom:1px solid #34412e}
#customizer .custom-preview h2{font-size:26px;margin:7px 0 0}
#customizer .avatar-stage{height:230px;min-height:230px;flex:none}
#customizer .avatar-preview-tools{margin-top:0}
#customizer .identity{min-height:0;padding:12px 0 0;gap:5px}
#customizer .identity strong{font-size:18px}
#customizer .custom-controls{padding:24px 28px;background:#181d1b}
dialog.runtime-surface .custom-panel h3{font-size:22px}
dialog.runtime-surface .custom-panel>p{font-size:13px;color:#99a48f}
dialog.runtime-surface :is(.style-grid button,.outfit-grid button,.custom-note,.identity-preview-card){background:#202723;border-color:#354331;border-radius:8px;color:#bcc6b4}
dialog.runtime-surface :is(.style-grid button.active,.outfit-grid button.active){border-color:#ddfa87;color:#eef4e7}
dialog.runtime-surface .custom-tabs{border-color:#354331}
dialog.runtime-surface .custom-tabs button{font-size:13px;color:#87967e}
dialog.runtime-surface .custom-tabs button.active{color:#ddfa87;border-color:#ddfa87}
dialog.runtime-surface .custom-note p{font-size:11px;color:#91a08a}
#accountDialog.runtime-surface .account-intro{display:none}
#accountDialog.runtime-surface .account-panel{padding:32px 28px;background:#181d1b;color:#f1f4ef}
dialog.runtime-surface :is(.auth-subtitle,.auth-security,.member-view>p){color:#99a48f}
dialog.runtime-surface :is(.auth-tabs,.auth-tabs button){border-color:#34412e}
dialog.runtime-surface .auth-tabs button.active{color:#ddfa87;border-bottom-color:#ddfa87}
dialog.runtime-surface :is(#authForm,#authRecoveryForm) label{color:#a9b79d;letter-spacing:.5px}
dialog.runtime-surface :is(#authForm,#authRecoveryForm) input:not([type=checkbox]){background:#20281c;color:#eef6e5;border-color:#43533c}
dialog.runtime-surface :is(.auth-secondary-action,.auth-link,.auth-legal-check a){color:#c5df9c}
dialog.runtime-surface #forgotPassword{color:#c5df9c}
dialog.runtime-surface .auth-tabs button{color:#89957f}
dialog.runtime-surface .account-panel h3{color:#f1f4ef;font-size:26px}
dialog.runtime-surface .dialog-close{position:absolute;right:16px;top:14px;background:transparent;border:0;z-index:4;font-size:24px}
#placementPickerDialog.runtime-surface .placement-picker-head{padding:26px 28px 20px;background:#181d1b}
#placementPickerDialog.runtime-surface .placement-picker-head h2{font-size:26px}
dialog.runtime-surface .placement-option{background:transparent;border-radius:0;grid-template-columns:24px minmax(0,1fr) 65px 86px;gap:10px;padding:16px 0}
dialog.runtime-surface .placement-option>button{font-size:11px;font-weight:500;min-height:34px;background:#293222;color:#ddfa87;border:1px solid #43513b}
dialog.runtime-surface .placement-option:hover{background:#20271e}
dialog.runtime-surface :is(.placement-number,.placement-copy small,.placement-price small){color:#8d9d81;font-size:10px}
dialog.runtime-surface .placement-copy h3{font-size:14px;letter-spacing:0}
#auctionDialog.runtime-surface[open]{display:grid;width:min(1120px,calc(100% - 32px));grid-template-columns:1fr 1fr;overflow:auto}
dialog.runtime-surface .auction-form{background:#181d1b;color:#f1f4ef}
dialog.runtime-surface .auction-form :is(input,textarea){background:#20281c;color:#eef6e5;border-color:#43533c}
dialog.runtime-surface .auction-form label{color:#a2b293}
dialog.runtime-surface :is(.upload-creative,.creative-brand-toggle,.bid-field,.resident-member-button,.member-stats,.resident-access-state){background:#202723;border-color:#354331;border-radius:8px;color:#d6e1cb}
dialog.runtime-surface .bid-field input{border:0;background:transparent;color:#eef6e5;border-radius:0}
dialog.runtime-surface .upload-creative small{color:#94a38a;font-size:10px}
dialog.runtime-surface .preview-traffic{background:#18221c;color:#c1d2b3}
dialog.runtime-surface :is(.settings-row,.settings-plan-state,.billing-button,.identity-preview-card,.member-stats>div){background:#202723;border-color:#354331;border-radius:8px;color:#e1e9d8}
dialog.runtime-surface .settings-row small{color:#94a38a}
#settingsDialog.runtime-surface{width:min(760px,calc(100% - 32px))}
dialog.runtime-surface .settings-dialog-head{padding:26px 28px 20px;background:#181d1b}
dialog.runtime-surface .settings-dialog-head h2{font-size:26px}
dialog.runtime-surface .settings-grid{grid-template-columns:1fr}
dialog.runtime-surface .settings-section{padding:24px 28px;border-color:#354331}
dialog.runtime-surface .settings-section-title>span{display:none}
dialog.runtime-surface .settings-section-title h3{font-size:18px;letter-spacing:-.4px}
dialog.runtime-surface .settings-section-title p{color:#95a18c}
#residentDialog.runtime-surface{width:min(760px,calc(100% - 32px))}
dialog.runtime-surface .resident-hero{padding:26px 28px 20px;min-height:0;background:#181d1b;border-bottom:1px solid #34412e}
dialog.runtime-surface .resident-hero:after,dialog.runtime-surface .resident-silhouette{display:none}
dialog.runtime-surface .resident-hero h2{font-size:26px;margin:7px 0 12px}
dialog.runtime-surface .resident-hero p{max-width:none;color:#99a48f}
dialog.runtime-surface .resident-options{padding:24px 28px;background:#181d1b}
dialog.runtime-surface .resident-plan h3{font-size:22px}
dialog.runtime-surface .resident-plan li{font-size:12px;color:#c4d0bb}
dialog.runtime-surface .resident-preview{display:none}
dialog.runtime-surface .resident-info{padding:28px;background:#181d1b;color:#edf3e7}
dialog.runtime-surface .resident-plan{border-radius:10px;border-color:#43513b}
#cityMap.runtime-surface,#publicCitizenDialog.runtime-surface{padding:28px}
dialog.runtime-surface .district-grid button{border-radius:10px;background:#202723;border-color:#354331}
dialog.runtime-surface.ranking-dialog{width:min(760px,calc(100% - 32px))}
dialog.runtime-surface .ranking-dialog-head{padding:26px 28px 20px;background:#181d1b}
dialog.runtime-surface .ranking-dialog-head h2{font-size:26px}
@media(min-width:761px){#exactLayout .workspace{min-height:calc(100svh - 88px)}}
@media(max-width:760px){#exactLayout #cityChatPanel form input{font-size:16px}dialog.runtime-surface{max-height:calc(100dvh - 26px)}#auctionDialog.runtime-surface[open]{grid-template-columns:1fr}#auctionDialog .auction-preview{min-height:360px}dialog.runtime-surface .placement-option{grid-template-columns:24px minmax(0,1fr) auto}dialog.runtime-surface .placement-option>button{grid-column:2/4}}

/* Public profile editor and actual scene photographs. */
#customIdentityPanel :is(input,textarea){width:100%;padding:11px 12px;background:#202723;border:1px solid #43513b;color:#edf2e7;border-radius:8px;font:14px/1.5 var(--font)}
#customIdentityPanel textarea{resize:vertical;min-height:100px}
#customIdentityPanel label{display:block;margin:18px 0 7px;font-size:11px;color:#b7c6ac}
#publicCitizenDescription{white-space:pre-wrap;overflow-wrap:anywhere}
#publicCitizenDialog #publicCitizenMotto{color:#ddfa87;font-weight:600}
#publicCitizenWebsite{display:inline-block;color:#9bd9df;font-size:13px;overflow-wrap:anywhere;margin:6px 0 14px}
#publicCitizenWebsite[hidden]{display:none}
#auctionDialog .auction-preview{display:flex;flex-direction:column;min-height:520px;background:#0d1215}
#auctionDialog .auction-preview:before,#auctionDialog .auction-preview:after{content:none}
#auctionDialog .preview-head{color:#a4b39d;gap:12px}
#auctionDialog .creative-brand-toggle{background:#202723;border-color:#43513b;color:#d7e4cf}
#uploadedArtworkPreview{margin:16px 0;padding:12px;border:1px solid #43513b;border-radius:8px;background:#101714}
#uploadedArtworkPreview figcaption{font-size:11px;color:#adbea0;margin-bottom:10px}
#uploadedArtworkPreview :is(img,video){display:block;width:100%;max-height:220px;object-fit:contain}
#uploadedArtworkPreview[hidden],#uploadedArtworkPreview [hidden]{display:none}
#uploadedArtworkPreview #removeCreative{margin-top:10px;padding:8px 10px;background:#202723;color:#dbe7d2;border:1px solid #536548;border-radius:6px;font:700 10px var(--font);cursor:pointer}
#uploadedArtworkPreview #removeCreative:hover{border-color:#ddfa87;color:#ddfa87}
#auctionDialog #cityPlacementPreview[hidden]{display:none!important}
#auctionDialog .billboard-scene-preview{display:flex;flex:1;min-height:300px;flex-direction:column;align-items:center;justify-content:center;gap:12px;margin:0;padding:54px 22px 16px;overflow:hidden}
#auctionDialog .billboard-scene-preview img{display:block;max-height:62vh;max-width:100%;object-fit:contain;border-radius:3px;box-shadow:0 8px 35px #0005}
#auctionDialog .billboard-scene-preview img[hidden]{display:none}
#billboardSceneStatus{color:#b5c4ad;font-size:11px;text-align:center;line-height:1.5}
#retryBillboardPreview{background:transparent;border:1px solid #465344;color:#c7dbb4;padding:7px 11px;font:11px var(--font);cursor:pointer}
#auctionDialog .billboard-preview-note{color:#91a18c;font-size:11px;line-height:1.5;padding:0 24px 12px;margin:0;text-align:center}
#auctionDialog .preview-traffic{position:static;margin:0 18px 18px;font-size:10px}
@media(max-width:760px){#auctionDialog .auction-preview{min-height:340px;padding:18px}#auctionDialog .billboard-scene-preview{min-height:220px;padding:20px 0 12px}#auctionDialog .billboard-scene-preview img{max-height:42svh}#auctionDialog .preview-traffic{margin:0;font-size:9px}#auctionDialog .billboard-preview-note{padding:0 0 12px}}

/* Non-modal communications window: the city stays usable behind it. */
#exactLayout .city-chat-popup{position:fixed;inset:auto 22px 22px auto;margin:0;width:390px;max-width:calc(100vw - 24px);height:min(570px,calc(100dvh - 100px));max-height:calc(100dvh - 24px);padding:0;background:#14201ef5;border:1px solid #55634e;border-radius:12px;box-shadow:0 15px 60px #0008;z-index:40;overflow:hidden}
#exactLayout .city-chat-popup[open]{display:flex;flex-direction:column}
#cityChatPopupHandle{display:flex;align-items:center;justify-content:space-between;padding:10px 14px;border-bottom:1px solid #354331;cursor:move;touch-action:none;flex-shrink:0}
#cityChatPopupHandle h2{font:600 15px var(--font);margin:0;color:#e4ecdc;letter-spacing:0}
#cityChatPopupHandle .icon-button{width:30px;height:30px}
#exactLayout #layoutChatMount{padding:12px 15px;overflow:hidden;min-height:0;flex:1}
#exactLayout #cityChatPanel{display:flex;flex-direction:column;height:100%;min-height:0}
#exactLayout #cityChatPanel [hidden],#exactLayout #cityChatPanel[hidden]{display:none!important}
#exactLayout #cityChatPanel .city-chat-view{flex:1;min-height:0;overflow:auto}
#exactLayout #cityChatPanel #generalChatView{display:flex;flex-direction:column}
#exactLayout #generalChatMessages{flex:1;min-height:0;max-height:none!important;gap:2px}
#exactLayout #generalChatMessages .city-chat-welcome:not(:only-child){display:none}
#exactLayout #cityChatPanel .city-chat-tabs{padding-bottom:10px;gap:3px}
#exactLayout #cityChatPanel .city-chat-tabs button{padding:6px 7px;font-size:11px}
#exactLayout #cityChatPanel ol{max-height:calc(min(570px,100dvh - 100px) - 190px);padding-right:6px}
#exactLayout #cityChatPanel ol li[data-message-id]{position:relative;padding:6px 0 6px 40px;border:0;line-height:1.4;min-height:44px}
#exactLayout #cityChatPanel .chat-citizen-header{display:inline;max-width:100%;vertical-align:baseline;font-size:13px;line-height:1.4}
#exactLayout #cityChatPanel .chat-citizen-header b{font:700 13px/1.4 var(--font);color:#7bd3e4}
#exactLayout #cityChatPanel .chat-citizen-header b:after{content:': ';white-space:pre}
#exactLayout #cityChatPanel .is-you .chat-citizen-header b{color:#b8ee8b}
#exactLayout #cityChatPanel .chat-citizen-portrait{position:absolute;left:0;top:6px;width:30px;height:32px;border-radius:6px;background:transparent}
#exactLayout #cityChatPanel li[data-message-id]>p{display:inline;font:13px/1.4 var(--font);color:#f0f4ee;margin:0;overflow-wrap:anywhere}
#exactLayout #cityChatPanel .city-chat-meta{display:flex;margin-top:4px;justify-content:space-between}
#exactLayout #cityChatPanel .chat-owned-placements{margin:6px 0 0;font-size:10px;padding:4px 7px}
#exactLayout #cityChatPanel form{margin-top:12px;flex-shrink:0;min-height:44px}
#exactLayout .panel-tabs button[aria-pressed=true]{color:#e7f2db;border-bottom:2px solid #ddfa87}
@media(max-width:760px){#exactLayout .city-chat-popup{left:12px;right:12px;bottom:78px;width:auto;max-width:none;height:min(540px,calc(100dvh - 170px))}#exactLayout #cityChatPanel ol{max-height:calc(min(540px,100dvh - 170px) - 190px)}}

/* The live forms keep their behavior, not the old blue visual theme. */
dialog.runtime-surface .settings-head{padding:26px 28px 20px;background:#181d1b;border-color:#354331}
dialog.runtime-surface .settings-head h2{font-size:28px;line-height:1.2}
dialog.runtime-surface .settings-head p{color:#a0af98}
dialog.runtime-surface .settings-section{min-height:0;background:#181d1b}
dialog.runtime-surface .settings-section+.settings-section{background:#181d1b;border-left:0;border-top:1px solid #354331}
dialog.runtime-surface .settings-row b{font-size:13px}
dialog.runtime-surface .settings-row small{font-size:12px;line-height:1.5}
dialog.runtime-surface .settings-switch{background:#374035;border-color:#53614b}
dialog.runtime-surface .settings-switch:after{background:#a6b49c}
dialog.runtime-surface .settings-row[aria-pressed=true] .settings-switch{background:#cee79f;border-color:#cee79f}
dialog.runtime-surface .settings-row[aria-pressed=true] .settings-switch:after{background:#334721;box-shadow:none}
dialog.runtime-surface :is(.settings-admin-badge,.admin-tag){background:#ddfa87;color:#263019;border-color:#ddfa87;border-radius:4px}
dialog.runtime-surface a.admin-panel-link{background:#263023;color:#ddfa87;border:1px solid #566b3b;border-radius:8px}
dialog.runtime-surface a.admin-panel-link:hover{background:#34452a;color:#f0ffd2;border-color:#bad883}
dialog.runtime-surface .signout-button{background:#1c2420;color:#c4cebb;border-color:#45513e;border-radius:8px}
dialog.runtime-surface :is(.settings-plan-state strong,.full-stat.votes,.full-rank-row.top-three .full-position){color:#ddfa87}
dialog.runtime-surface :is(.sandbox-note,.settings-plan-state small,.settings-plan-state p,.ranking-dialog-head p,.full-brand small,.ranking-pagination>span){color:#9baa93}
dialog.runtime-surface :is(.ranking-table-head,.ranking-pagination,.citizen-points-table-head){background:#1d241f;border-color:#354331;color:#a6b49c}
dialog.runtime-surface.ranking-dialog{width:min(860px,calc(100% - 32px));height:min(720px,calc(100dvh - 40px));overflow:hidden}
dialog.runtime-surface.ranking-dialog[open]{display:flex;flex-direction:column}
dialog.runtime-surface :is(.ranking-dialog-head,.ranking-pagination,.ranking-table-head,.citizen-points-table-head){flex-shrink:0}
dialog.runtime-surface :is(.ranking-table-head,.full-rank-row){grid-template-columns:40px minmax(0,1fr) 98px 76px 116px;gap:10px}
dialog.runtime-surface .ranking-table-head{padding:12px 28px}
dialog.runtime-surface .full-ranking-list{padding:0 28px;min-height:0}
dialog.runtime-surface .full-rank-row{background:transparent;border-radius:0}
dialog.runtime-surface .ranking-pagination{padding:14px 28px}
dialog.runtime-surface :is(.ranking-pagination button,.ranking-vote-button,.ranking-bid-button,.ranking-period-tabs button,.ranking-period-tabs button:disabled){background:#252e25;color:#c8d5bd;border-color:#43513b}
dialog.runtime-surface :is(.ranking-period-tabs button.active,.ranking-vote-button.is-voted){background:#ddfa87;color:#263019;border-color:#ddfa87}
dialog.runtime-surface :is(.ranking-period-tabs button small,.ranking-vote-button small,.ranking-bid-button small){color:#97a78b;border-color:#43513b}
dialog.runtime-surface .ranking-vote-button.is-voted small{color:#334721}
dialog.runtime-surface :is(.ranking-vote-button:hover:not(:disabled),.ranking-bid-button:hover:not(:disabled)){background:#34412e;border-color:#bed48b}
dialog.runtime-surface .ranking-period-tabs{background:#202723;border-color:#354331;border-radius:8px}
dialog.runtime-surface .citizen-points-full-list>li{background:transparent;border-color:#354331}
dialog.runtime-surface :is(.citizen-points-full-list em,.citizen-points-full-list>li>b){color:#ddfa87}
dialog.runtime-surface .citizen-points-full-list small{color:#99a88f}
#publicCitizenDialog.runtime-surface{text-align:center;width:min(440px,calc(100% - 32px))}
#publicCitizenDialog .public-citizen-portrait{background:#202723;border-color:#354331}
#publicCitizenDialog :is(p,dt){color:#9baa93}
#publicCitizenDialog dl{border-color:#354331}
#exactLayout #cityChatPanel :is(.network-card,.network-conversation,.network-thread-head,.network-self-card){background:#202723;border-color:#354331;border-radius:8px;color:#d6e1cb}
#exactLayout #cityChatPanel :is(.network-card small,.network-conversation small,.network-thread-head small){color:#99a88f}
#exactLayout #cityChatPanel .chat-citizen-header{display:inline;text-align:left;background:none;border:0;padding:0;color:#e1e9de;max-width:100%;cursor:pointer}
#exactLayout #cityChatPanel .chat-citizen-header:disabled{cursor:default;opacity:1}
#exactLayout #cityChatPanel .chat-citizen-header b{overflow-wrap:anywhere}
#exactLayout #cityChatPanel .chat-citizen-portrait{width:30px;height:32px;border-radius:6px;background:transparent;overflow:hidden;display:grid;place-items:center;color:#b8c9a8}
#exactLayout #cityChatPanel .chat-citizen-portrait img{width:100%;height:100%;object-fit:contain}
#exactLayout #cityChatPanel .chat-citizen-portrait svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.5}
#exactLayout #cityChatPanel .chat-owned-placements{margin:6px 0 0;border:1px solid #36432f;border-radius:7px;padding:4px 7px;font:10px/1.5 var(--font);color:#bad29c;background:#20291e}
#exactLayout #cityChatPanel .chat-owned-placements summary{cursor:pointer;font-size:11px}
#exactLayout #cityChatPanel .chat-ownership-caption{display:block;font-size:10px;color:#91a580;margin:8px 0 4px}
#exactLayout #cityChatPanel .chat-placement-link{display:flex;width:100%;gap:8px;justify-content:space-between;align-items:center;background:none;border:0;border-top:1px solid #36432f;border-radius:0;padding:8px 0;text-align:left;font:11px var(--font);color:#d8e8c8}
#exactLayout #cityChatPanel .chat-placement-link span{min-width:0;overflow-wrap:anywhere}
#exactLayout #cityChatPanel .chat-placement-link strong{white-space:nowrap;font-size:11px;font-weight:500}

/* Keep controls discoverable outside the scene, even while its GUI is hidden. */
#exactLayout .city-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 14px}
#exactLayout .city-tools .button{font-size:12px;min-height:34px;padding:0 11px;gap:7px}
#exactLayout .city-tools svg{width:15px;height:15px}
#exactLayout .residency-control{border-color:#566444;color:#ddfa87}
#exactLayout .canvas-bottom{justify-content:space-between;padding:18px}

/* Account identity: compact rhythm and a warm status badge that belongs with the
   live-square palette instead of the retired purple interface. */
#accountDialog.runtime-surface .member-view{display:flex;flex-direction:column;align-items:stretch}
#accountDialog.runtime-surface .member-status{align-self:center}
#accountDialog.runtime-surface .member-avatar{margin:20px auto 11px}
#accountDialog.runtime-surface .member-view h3{margin:0;line-height:1.1}
#accountDialog.runtime-surface .admin-profile-tag{align-self:center;margin:7px auto 9px;padding:5px 9px;border:1px solid #d98738;border-radius:4px;background:#f0ae5a;color:#3f2815;font-weight:800;letter-spacing:.06em}
#accountDialog.runtime-surface #memberEmail{margin:7px 0 18px}
#accountDialog.runtime-surface .member-stats{margin:0 0 18px}
#accountDialog.runtime-surface .resident-access-state{margin:0 0 8px}
#accountDialog.runtime-surface .resident-member-button{margin-bottom:8px}
#accountDialog.runtime-surface .member-view>.primary-button{margin-bottom:8px}

/* Phone account tabs use a clear segmented control instead of the inherited
   underline treatment, which looked broken at narrow Safari widths. */
@media(max-width:760px){
  #accountDialog.runtime-surface{width:min(100% - 24px,520px)}
  #accountDialog.runtime-surface .account-panel{padding:27px 24px 25px;min-height:0}
  #accountDialog.runtime-surface .auth-tabs{gap:4px;margin:0 0 24px;padding:4px;border:1px solid #394735;border-radius:10px;background:#202723}
  #accountDialog.runtime-surface .auth-tabs button{min-height:42px;padding:0 9px;border:0!important;border-radius:7px;color:#aebaa4;background:transparent;font-size:14px;font-weight:600}
  #accountDialog.runtime-surface .auth-tabs button.active{border:0!important;background:#ddfa87;color:#263019;box-shadow:none}
  #accountDialog.runtime-surface #authGuestView>h3{font-size:25px;line-height:1.12}
  #accountDialog.runtime-surface .auth-subtitle{margin-bottom:19px;font-size:13px}
  #accountDialog.runtime-surface #authForm{gap:15px}
}

/* Keep a real city-billboard preview useful on a phone without letting a tall
   placement push the actual purchase form far below the fold. */
@media(max-width:760px){
  #auctionDialog.runtime-surface[open]{display:block;width:min(100% - 20px,620px)}
  #auctionDialog .auction-preview{height:clamp(282px,42svh,348px);min-height:0;padding:14px 16px 11px;flex:none}
  #auctionDialog .billboard-scene-preview{min-height:0;max-height:228px;padding:13px 0 7px;gap:7px}
  #auctionDialog .billboard-scene-preview img{max-width:calc(100vw - 62px);max-height:min(26svh,205px)}
  #auctionDialog #billboardSceneStatus{display:-webkit-box;overflow:hidden;font-size:10px;line-height:1.38;-webkit-box-orient:vertical;-webkit-line-clamp:2}
  #auctionDialog .billboard-preview-note{max-height:3em;padding:0 0 8px;overflow:hidden;font-size:10px;line-height:1.45}
  #auctionDialog .preview-traffic{min-height:32px;padding:7px 9px}
}
#exactLayout .canvas-bottom .icon-button,#exactLayout #focus-mode{width:36px;height:36px;border-radius:50%;background:#111716d9;border:1px solid #626b6766;color:#d4ddd2}
#exactLayout .canvas-bottom .icon-button:hover,#exactLayout #focus-mode:hover{background:#303b31;color:#eff7e5}
#exactLayout .city-canvas.gui-hidden :is(.canvas-top,.canvas-bottom){visibility:hidden;pointer-events:none}
#exactLayout .below-canvas{padding:10px 0}
#exactLayout .below-canvas>span{max-width:none}
@media(min-width:1221px){
 #exactLayout .topbar{height:72px}
 #exactLayout .app-layout{grid-template-columns:184px minmax(0,1fr) 300px}
 #exactLayout .navigation{padding:26px 14px}
 #exactLayout .navigation .nav-item{font-size:13px;padding-left:12px;padding-right:12px;gap:10px}
 #exactLayout .workspace{padding:20px 22px 0;min-height:calc(100svh - 72px)}
 #exactLayout .workspace-heading h1{font-size:29px}
 #exactLayout .city-stats{margin:16px 0 14px}
 #exactLayout .city-canvas{min-height:max(540px,calc(100svh - 256px))}
 #exactLayout .community-panel{padding:25px 20px}
 #exactLayout .residency-card{padding:16px}
 #exactLayout .residency-card h3{font-size:23px}
 body.focus-mode #exactLayout .app-layout{grid-template-columns:1fr}
 body.focus-mode #exactLayout .workspace{height:calc(100svh - 72px)}
 body.focus-mode #exactLayout .city-canvas{min-height:0}
}
@media(max-width:760px){
 #exactLayout .city-tools{gap:7px}
 #exactLayout .city-tools .button{min-height:36px;font-size:11px;padding:0 9px}
 #exactLayout .city-canvas{min-height:490px}
 dialog.runtime-surface :is(.ranking-table-head){display:none}
 dialog.runtime-surface .full-rank-row{grid-template-columns:28px minmax(0,1fr) auto;gap:8px}
 dialog.runtime-surface :is(.ranking-pagination,.full-ranking-list){padding-left:18px;padding-right:18px}
 dialog.runtime-surface .settings-head,dialog.runtime-surface .settings-section{padding:22px}
}

/* Wardrobe: choices on the left, an always-visible fitting mirror on the right. */
#customizer.runtime-surface[open]{display:grid;grid-template-columns:minmax(0,1fr) 270px;width:min(900px,calc(100% - 28px));height:min(720px,calc(100dvh - 40px));overflow:hidden}
#customizer .custom-controls{order:0;min-height:0;overflow:auto;padding:24px;display:flex;flex-direction:column}
#customizer .custom-preview{order:1;display:flex;flex-direction:column;justify-content:center;padding:24px 18px;background:radial-gradient(ellipse at 50% 70%,#344331,#1b251e 75%);border:0;border-left:1px solid #3b4935;min-width:0}
#customizer .custom-preview h2{font-size:23px;margin:8px 0 20px}
#customizer .avatar-stage{height:320px;min-height:0;flex:1;max-height:400px}
#customizer .identity{padding-top:20px}
#customizer .custom-tabs{position:sticky;top:-24px;z-index:2;background:#181d1b;padding:15px 0 0;margin:0 0 24px;gap:8px;display:flex}
#customizer .custom-tabs button{flex:1;margin:0;padding:12px 4px;border:1px solid #394631;border-radius:7px;font-weight:700}
#customizer .custom-tabs button.active{background:#ddecaf;color:#23301e;border-color:#ddecaf}
#customizer .custom-panel h3{font-size:22px;margin:7px 0}
#customizer .custom-panel{flex-shrink:0}
/* Music cards credit the source separately from the original descriptions. */
#exactLayout .music-option{border:1px solid #354331;border-radius:10px;overflow:hidden;margin:10px 0;background:#1b241f}
#exactLayout .music-option .detail-row{border:0;background:transparent;gap:14px;width:100%;padding:12px;text-align:left}
#exactLayout .music-option .detail-row>span:first-of-type{flex:1;min-width:0}
#exactLayout .music-cover{width:64px;height:64px;object-fit:cover;border-radius:7px;flex:none}
#exactLayout .music-source{padding:0 14px 12px;font-size:11px;line-height:1.5;color:#b3c4a6}
#exactLayout .music-source p{margin:0 0 4px}
#exactLayout .music-source small{display:block;color:#849780}
#exactLayout .music-source a{display:inline-block;margin-top:6px;color:#ddfa87}
#exactLayout .music-credit{color:#94ab83;font-size:10px;line-height:1.4}
#musicPlayerDock{position:fixed;left:20px;bottom:20px;width:340px;max-width:calc(100vw - 24px);padding:12px;background:#142019;border:1px solid #566b3b;border-radius:12px;z-index:180;color:#edf5df;box-shadow:0 10px 40px #0009}
#musicPlayerDock[hidden],#musicPlayerDock iframe[hidden]{display:none!important}
#musicPlayerDock header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}
#musicPlayerDock header strong{flex:1;min-width:0;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#musicPlayerDock header button{background:#293927;color:#ddfa87;border:1px solid #536748;border-radius:6px;width:44px;height:44px;flex-shrink:0;cursor:pointer}
#musicPlayerDock .music-playback{display:flex;align-items:center;gap:8px;font-size:11px;line-height:1.4;margin-bottom:8px}
#musicPlayerDock #musicPlayerResume{min-height:44px;padding:8px 14px;border-radius:6px;border:1px solid #536748;background:#293927;color:#ddfa87}
#musicPlayerDock [hidden]{display:none!important}
#musicPlayerDock[data-provider="soundcloud"] iframe{height:166px}
#musicPlayerDock.is-minimized[data-provider="soundcloud"] #musicPlayerDetails{display:none}
#musicPlayerDock.is-minimized[data-provider="youtube"] #musicPlayerCredit,#musicPlayerDock.is-minimized[data-provider="youtube"] #musicPlayerSource{display:none}
#musicPlayerDock.is-minimized header{margin-bottom:0}
#musicPlayerDock.is-minimized .music-playback{margin:2px 0 0}
#musicPlayerDock.is-minimized[data-provider="soundcloud"]{width:248px;padding:0 4px 0 10px;border-radius:24px;overflow:hidden}
#musicPlayerDock.is-minimized[data-provider="soundcloud"] header{gap:2px}
#musicPlayerDock.is-minimized[data-provider="soundcloud"] header strong{font-size:11px}
#musicPlayerDock.is-minimized[data-provider="soundcloud"] header button{background:transparent;border:0;border-radius:50%}
#musicPlayerDock.is-minimized[data-provider="soundcloud"] .music-playback{display:none}
#musicPlayerDock{box-sizing:border-box;max-height:calc(100dvh - 110px);overflow-y:auto}
#musicPlayerDock iframe{display:block;position:static;width:100%;height:210px;opacity:1;visibility:visible;pointer-events:auto;border:0}
#musicPlayerDock p,#musicPlayerDock a{font-size:11px;line-height:1.5}
#musicPlayerDock a{color:#ddfa87}
@media(max-width:760px){#musicPlayerDock{left:12px;bottom:calc(78px + env(safe-area-inset-bottom,0px));width:340px}}
#customizer .custom-tabs,#customizer .custom-note{flex-shrink:0}
#customizer .custom-panel>p{line-height:1.55}
#customizer .outfit-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
#customizer .outfit-grid button{position:relative;min-height:136px;height:auto;padding:12px 7px;gap:5px;background:#252e24;display:flex;flex-direction:column;align-items:center}
#customizer .outfit-grid button.active{box-shadow:inset 0 0 0 1px #ddfa87;background:#33412b}
#customizer .outfit-grid b{font-size:11px;line-height:1.3}#customizer .outfit-grid small{font-size:10px;line-height:1.35;color:#9eaf94}
#customizer .wardrobe-item-art{display:block;width:56px;height:56px}#customizer .wardrobe-item-art img{width:100%;height:100%;image-rendering:pixelated}
#customizer .style-grid button .wardrobe-hair-art{display:block;width:40px;height:40px;background:transparent;border-radius:0;transform:none}
#customizer .wardrobe-hair-art:before,#customizer .wardrobe-hair-art:after{display:none}
#customizer .wardrobe-hair-art img{width:100%;height:100%;image-rendering:pixelated}
.vip-lock{font:700 9px var(--font);color:#efcf7c;background:#453d21;border:1px solid #736338;border-radius:4px;padding:3px 6px;font-style:normal;margin-top:auto}
#customizer .wardrobe-vip-note{font-size:11px;line-height:1.5;color:#c4cda5;margin:14px 0}
#customizer .save-look{position:sticky;bottom:-24px;margin-top:auto;min-height:46px;flex-shrink:0;box-shadow:0 -12px 20px #181d1b}
#customizer .custom-note{font-size:11px;margin:18px 0 12px}
#customizer .avatar-stage:not([data-preview-state=fallback]) .custom-person,#customizer .avatar-stage:not([data-preview-state=fallback]) .stage-shadow{display:none!important}
.avatar-loading{position:absolute;inset:0;display:grid;place-items:center;font:12px var(--font);color:#b8caa4;text-align:center}
.avatar-stage[data-preview-state=ready] .avatar-loading,.avatar-stage[data-preview-state=fallback] .avatar-loading{display:none}
#customizer .avatar-stage:not([data-preview-state=ready]) canvas{visibility:hidden}
#exactLayout #cityChatPanel .network-intro{background:#263023;border-left:3px solid #b8cd82;color:#c4d1ba;border-radius:0 7px 7px 0}
#exactLayout #cityChatPanel .network-group h3{color:#ccdea7}
/* Original pixel portraits and speech cards, with the existing timestamps. */
#exactLayout #cityChatPanel #generalChatMessages{padding:6px 6px 6px 40px;gap:8px}
#exactLayout #cityChatPanel ol li[data-message-id]{padding:7px 9px;margin:0;border:1px solid #b3b9a7;border-radius:7px;background:#e8eddd;min-height:40px;color:#243025}
#exactLayout #cityChatPanel ol li[data-message-id].is-you{background:#c6e5a3;border-color:#a7cb7e}
#exactLayout #cityChatPanel .chat-citizen-portrait{left:-39px;top:1px;width:34px;height:38px;border-radius:0;overflow:visible;image-rendering:pixelated}
#exactLayout #cityChatPanel .chat-citizen-header b,#exactLayout #cityChatPanel li[data-message-id]>p,#exactLayout #cityChatPanel .is-you .chat-citizen-header b{color:#243025;font-size:12px;line-height:1.35}
#exactLayout #cityChatPanel li time{color:#5b6a54;font-size:9px;margin-top:0}
#exactLayout #cityChatPanel .city-chat-meta{margin-top:3px}
#exactLayout .account-button .avatar{background:transparent;border-radius:0;image-rendering:pixelated}
@media(max-width:760px){
 #customizer.runtime-surface[open]{grid-template-columns:minmax(0,1fr);width:calc(100% - 16px);height:calc(100dvh - 28px);overflow:auto}
 #customizer .custom-controls{padding:14px;overflow:visible;order:1}#customizer .custom-preview{padding:18px 14px;order:0;border-left:0;border-bottom:1px solid #3b4935}
 #customizer .custom-preview h2{font-size:15px}#customizer .custom-preview .eyebrow{font-size:8px}#customizer .avatar-stage{height:300px;min-height:300px;max-height:300px;flex:none}
 #customizer .identity strong{font-size:12px;overflow-wrap:anywhere}#customizer .identity span{font-size:8px;text-align:center}
 #customizer .avatar-preview-tools{display:flex;flex-wrap:wrap;font-size:9px}#customizer .outfit-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
 #customizer .custom-tabs{top:-14px;gap:4px}#customizer .custom-tabs button{font-size:11px}#customizer .custom-panel h3{font-size:18px}
 #customizer .swatches{flex-wrap:wrap}#customizer .style-grid{grid-template-columns:repeat(2,1fr)}#customizer .save-look{bottom:-14px;font-size:12px}
 #customizer .custom-preview .avatar-loading{font-size:10px;padding:8px}
}

/* Keep marketplace controls, citizen tags and legal links in the new neutral city system. */
#campaignManagerDialog.runtime-surface{background:#151b17;border-color:#3e4c39;color:#e9efe4}
#campaignManagerDialog.runtime-surface .campaign-manager-head{background:linear-gradient(135deg,#243023,#151d18);border-color:#3c4b37}
#campaignManagerDialog.runtime-surface .campaign-manager-body{background:#151b17}
#campaignManagerDialog.runtime-surface .owned-campaign-list>p{background:#121813;border-color:#465644;color:#aebda7}
#campaignManagerDialog.runtime-surface .owned-campaign-card{background:#202723;border-color:#3d4b38}
#campaignManagerDialog.runtime-surface .owned-campaign-card :is(p,small){color:#a8b6a1}
#campaignManagerDialog.runtime-surface .owned-campaign-card button{background:#283324;border-color:#52634b;color:#edf4e7}
#campaignManagerDialog.runtime-surface .campaign-edit-back{color:#ddfa87}
#placementPickerDialog.runtime-surface{width:min(760px,calc(100vw - 30px));background:#151b17;border-color:#3d4b38}
#placementPickerDialog.runtime-surface .placement-picker-list{padding:12px 28px 18px}
#placementPickerDialog.runtime-surface .placement-option{grid-template-columns:32px minmax(180px,1fr) minmax(76px,max-content) max-content;gap:14px;min-height:82px;align-items:center}
#placementPickerDialog.runtime-surface .placement-price{min-width:76px;text-align:right;white-space:nowrap}
#placementPickerDialog.runtime-surface .placement-option>button{min-width:98px;white-space:nowrap}
#placementPickerDialog.runtime-surface .placement-picker-note{background:#121813;border-color:#3d4b38}
#publicCitizenDialog.runtime-surface #publicCitizenStats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin:24px 0 20px;border:1px solid #3d4b38;border-radius:9px;overflow:hidden;text-align:center}
#publicCitizenDialog.runtime-surface #publicCitizenStats>div{display:grid;gap:6px;padding:15px 10px}
#publicCitizenDialog.runtime-surface #publicCitizenStats>div+div{border-left:1px solid #3d4b38}
#publicCitizenDialog.runtime-surface #publicCitizenStats dt{font:700 9px var(--font);letter-spacing:.09em}
#publicCitizenDialog.runtime-surface #publicCitizenStats dd{margin:0;color:#edf5e5;font:700 24px/1 Manrope,Arial,sans-serif;letter-spacing:-.04em}
#exactLayout .site-legal-inline{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:18px 0 26px;padding:17px 0;border-top:1px solid #2c362d;color:#7f8d79;font:600 10px var(--font)}
#exactLayout .site-legal-inline nav{display:flex;flex-wrap:wrap;gap:15px}
#exactLayout .site-legal-inline a{color:#aebda6;text-decoration:none}
#exactLayout .site-legal-inline a:hover{color:#ddfa87}
.citizen-nametag.is-vip{background:#d4f2fb;border-color:#83bdd0;color:#174452}
.citizen-nametag.is-vip em{background:#1b5566;color:#e2fbff}
@media(max-width:760px){
 #placementPickerDialog.runtime-surface .placement-option{grid-template-columns:26px minmax(0,1fr) auto;gap:9px}
 #placementPickerDialog.runtime-surface .placement-price{display:none}
 #placementPickerDialog.runtime-surface .placement-option>button{grid-column:2/4;width:100%}
 #publicCitizenDialog.runtime-surface #publicCitizenStats{margin:20px 0 16px}
 #exactLayout .site-legal-inline{align-items:flex-start;flex-direction:column;gap:10px}
}
#authGender{display:block;width:100%;min-height:44px;margin-top:8px;padding:10px 12px;border:1px solid #536048;border-radius:8px;background:#242c20;color:#edf2de;font:inherit}#characterGenderField small{font-size:11px;line-height:1.5;color:#a5b392}
