/* Presentation restored from 4943f41. One grid owns the sidebar/content offset. */
:root{--bg:#0b101b;--surface:#171f30;--raised:#202e46;--text:#e7edf7;--success:#9fe7c1;--danger:#ffacb4;--warning:#edc779;--body:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--display:var(--body)}
.realm:not(.realm-home){--bg:#0b1118;--surface:#151f2c;--raised:#1c2b33;--text:#eaf1f7}
[hidden]{display:none!important}
body.realm{margin:0}
body.realm .masthead,body.realm .world-bar,body.realm .realm-layout{width:calc(100% - 48px);max-width:1480px;margin-inline:auto}
body.realm .masthead{padding-inline:0}
body.realm .realm-layout{display:grid;grid-template-columns:200px minmax(0,1fr);column-gap:32px;row-gap:32px;padding:0;align-items:start}
body.realm .realm-main{grid-column:2;min-width:0;width:100%;max-width:none;margin:0;padding:0}
body.realm .left-column{grid-column:1;grid-row:1 / span 2;position:sticky;top:16px;align-self:start;width:100%;max-height:calc(100dvh - 32px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:0 8px 0 0;margin:0;z-index:30}
body.realm .right-column{grid-column:2;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;width:100%;min-width:0;margin:0}
.navigation-heading,.navigation-close,.navigation-backdrop{display:none}
.realm .left-column .nav-panel summary{letter-spacing:1.1px}
.realm .left-column .nav-panel a{overflow-wrap:anywhere}
.realm .left-column .chat-launcher{width:100%;margin-top:16px}
.realm .left-column a[aria-current=page]{background:#20304b;color:var(--cyan)}
body.realm .page-heading{padding:0 0 24px;margin:0}
body.realm .page-heading h1{margin:0;line-height:1.2}
body.realm .page-heading .heading-ornament{display:none}
body.realm .page-content{min-width:0;width:100%}
body.realm:not(.realm-home) .page-content{padding:0}
.page-content :where(section,article,form,fieldset,div){min-width:0}
.page-content :where(h1,h2,h3,h4,p,dd,td,a){overflow-wrap:anywhere}
.page-content :where(img,video,canvas,iframe){max-width:100%}
.page-content .table-scroll{max-width:100%;overflow-x:auto}
.page-content :where(.filter-form,.filter-bar,.battle-filters,.catalog-toolbar,.desk-search){align-items:end}
.page-content :where(.form-actions,.editorial-actions,.character-actions,.section-head,.desk-results-head){flex-wrap:wrap}
.realm :where(.context-nav,.account-tools){display:flex;flex-wrap:wrap;gap:8px;padding:0 0 16px;margin:0 0 24px;border-bottom:1px solid var(--line)}
.realm .context-nav a{padding:10px 12px;min-height:44px;border-radius:6px;color:var(--muted)}
.realm .context-nav a[aria-current]{color:var(--cyan);background:var(--raised)}
.realm .auth-panel{max-width:560px;margin:0;padding:0}
.realm .auth-panel h2{font:700 24px/1.3 var(--body)}
.realm .auth-panel button[type=submit]{background:var(--cyan);color:#071f2b;border-color:var(--cyan)}
.realm :where(.form-grid,.starting-cities){gap:16px}
.realm :where(.desk-workspace,.profile-grid){min-width:0}
.realm .desk-guide{display:block}
.realm .welcome-account{margin:0 0 24px}
.realm .stage-banner{position:static;text-align:center;padding:8px 16px;background:#322b21;color:#f1d39a;font-size:11px;line-height:1.5}
.realm .realm-footer{width:calc(100% - 48px);max-width:1480px;margin:48px auto 0}
@media(max-width:1180px){body.realm .right-column{grid-template-columns:repeat(2,minmax(0,1fr))}.realm .desk-guide{margin-top:24px}}
@media(max-width:1000px){
 body.realm .realm-layout{display:block}
 body.realm .masthead,body.realm .world-bar,body.realm .realm-layout{width:calc(100% - 32px)}
 body.realm .masthead{gap:16px;height:auto;min-height:76px;flex-wrap:wrap;padding-block:14px}
 .realm .top-nav{display:none}
 .realm .masthead-account{margin-left:auto;gap:12px}
 .realm #navigation-toggle{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px}
 body.realm .left-column{display:none;position:fixed;inset:0 auto 0 0;width:min(300px,calc(100vw - 48px));max-height:none;height:100dvh;padding:20px;background:#0b1118;border-right:1px solid #2d3c4d;z-index:70;margin:0}
 body.realm .left-column.is-open{display:block}
 .navigation-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px;color:var(--muted)}
 .realm .navigation-close{display:inline-flex;font-size:24px;padding:0;width:44px;height:44px}
 .realm .navigation-backdrop:not([hidden]){display:block;position:fixed;inset:0;width:100%;height:100dvh;border:0;border-radius:0;background:#0009;z-index:60}
 body.realm .right-column{margin-top:24px}
 .realm .realm-footer{width:calc(100% - 32px)}
}
@media(max-width:600px){
 body.realm .right-column{grid-template-columns:1fr}
 body.realm .masthead .brand-logo{width:142px}
 .realm .masthead-account .button{font-size:11px;padding:10px}
 .realm .masthead-account>a:first-child{display:none}
 body.realm .page-heading h1{font-size:29px}
 .realm .context-nav{gap:4px}.realm .context-nav a{font-size:12px}
 .realm :where(.desk-tabs,.commerce-tabs,.filter-tabs){max-width:100%;overflow-x:auto}
 .realm .desk-search,.realm .market-filter-grid,.realm .catalog-toolbar{grid-template-columns:1fr}
 .realm .desk-query,.realm .desk-search button{grid-column:auto}
 .realm :where(.profile-grid,.premium-hero,.form-grid,.starting-cities){grid-template-columns:1fr}
 .realm .form-grid .wide{grid-column:auto}
 .realm .desk-guide ol{display:block}
 .realm .catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .realm .offer-grid{grid-template-columns:1fr}
 .realm .profile-outfit{flex-shrink:0}
 .realm :where(.section-head,.desk-results-head,.market-comparison>header){align-items:flex-start;gap:12px}
 .realm .market-comparison{padding:16px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Page-specific structure discovered during the route review. */
.realm .desk-tabs a[aria-current]{background:transparent;box-shadow:none;border-radius:0}
.realm .desk-stats>div{display:block}
.realm .desk-stats strong{display:block;margin-top:8px}
.realm .social-hero>.button{align-self:start;justify-self:start}
.realm .catalog-toolbar input,.realm .catalog-toolbar select{width:100%;max-width:100%}
.realm[data-page=exp-table] .catalog-toolbar{grid-template-columns:minmax(160px,320px) auto;justify-content:start}
.realm .catalog-item .commerce-item{display:flex;align-items:center;text-align:left}
.realm .catalog-item .commerce-item img{width:48px;height:48px;object-fit:contain;flex:none}
.realm .catalog-item .commerce-item strong{font-size:14px}
.realm .notice p:last-child{margin-bottom:0}
@media(max-width:600px){.realm[data-page=exp-table] .catalog-toolbar{grid-template-columns:1fr}.realm .catalog-item .commerce-item{flex-wrap:wrap}.realm .catalog-item .commerce-item strong{flex-basis:100%}}

.house-detail{padding-bottom:24px;margin-bottom:24px;border-bottom:1px solid var(--line)}
.community-gallery .slideshow-container{width:100%;max-width:960px;margin:0}
.community-gallery .numbertext{position:static;color:var(--muted);padding:0 0 12px;font-size:13px}
.community-gallery img{display:block;width:100%;height:auto;border-radius:var(--radius)}
.community-gallery .gallery-controls{display:flex;gap:12px;margin:20px 0}
.community-gallery .prev,.community-gallery .next{position:static;width:auto;margin:0}
.community-gallery .gallery-dots{display:flex;gap:8px;flex-wrap:wrap}
.community-gallery .dot{padding:0;min-height:24px;width:24px;height:24px;border:1px solid var(--line)}

.realm .city-choice{display:flex;align-items:center;gap:10px;margin:0;min-height:64px}
.realm .city-choice input[type=radio]{width:18px;height:18px;flex:none;margin:0}
.realm .city-choice span{font-weight:600;color:var(--text)}
.realm .starting-cities .city-help{grid-column:1/-1;margin:0}
.realm .journey-steps>article>span{flex:0 0 36px;white-space:nowrap}
.realm[data-page=forum] .table-scroll table{min-width:640px}
.realm[data-page=forum] .table-scroll th:first-child{width:45%}
