/* chat/site.css */
*{box-sizing:border-box} :root{color-scheme:dark;--gold:#e7c68b;--muted:#91a5c1;--line:#b4cce025;--ink:#eaf0f8;--panel:#07101ddd}html,body{margin:0;width:100%;height:100%;font-family:"Microsoft YaHei","PingFang SC",sans-serif;background:#050e1c;color:var(--ink);font-size:14px}body{background:#050e1c url('/assets/chat/space-lounge.png') center/cover fixed no-repeat}button,input,textarea,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.45}a{color:inherit;text-decoration:none}button,a,input,textarea,select{outline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--gold)}[hidden]{display:none!important}h1,h2,h3,p{margin:0}button{color:inherit;border:0;background:none}.sitebar{height:72px;border-bottom:1px solid var(--line);background:#040c18c9;display:flex;align-items:center;justify-content:space-between;padding:0 32px;gap:25px;backdrop-filter:blur(18px)}.sitebrand{display:flex;align-items:center;gap:10px;flex-shrink:0}.sitebrand img{height:45px;width:45px;object-fit:contain}.sitebrand span{font-size:19px;font-weight:700;font-style:italic;letter-spacing:2px;color:var(--gold)}.site-nav{display:flex;align-items:stretch;height:100%;gap:12px}.site-nav a{position:relative;display:flex;align-items:center;justify-content:center;min-width:88px;padding:0 10px;color:#b7c4d8;transition:color .2s}.site-nav a:hover,.site-nav a.active{color:#ffe6b3}.site-nav a.active:after{content:"";position:absolute;bottom:0;left:20%;right:20%;height:2px;background:var(--gold);box-shadow:0 0 10px #ffdd9180}.site-account{display:flex;gap:14px;align-items:center;max-width:230px;font-size:12px;color:var(--muted)}.site-account strong{max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:500;color:#dddfed}.quiet{color:var(--muted);padding:8px 3px}.quiet:hover{color:var(--gold)}.gold-button{border:1px solid #ffe1a3;border-radius:12px;background:linear-gradient(145deg,#ffe3aa,#dca859);color:#25180b;padding:12px 25px;font-weight:700;box-shadow:inset 0 1px #fff7;transition:filter .2s,translate .15s}.gold-button:hover:not(:disabled){filter:brightness(1.08)}.gold-button:active:not(:disabled){translate:0 1px}.outline-button{border:1px solid #b6c8dd35;border-radius:10px;padding:10px 18px;background:#13223980}.outline-button:hover{border-color:#d3b47a88}.muted{color:var(--muted)}.eyebrow{font-size:10px;letter-spacing:3px;color:var(--gold)}.status-message{font-size:13px;line-height:1.8;color:#ffd4ae}.boot-message{position:fixed;inset:72px 0 0;display:grid;place-content:center;text-align:center;gap:20px;background:#07101dd9;z-index:5}.boot-message a{color:var(--gold)}.error-box{padding:12px 14px;border:1px solid #e5aa7855;background:#35231e99;border-radius:10px;color:#ffcfac;font-size:13px;line-height:1.6}.account-page{min-height:100%;overflow:auto}.account-layout{min-height:calc(100vh - 72px);display:grid;grid-template-columns:1fr minmax(380px,460px);align-items:center;gap:7vw;padding:48px max(6vw,35px);background:linear-gradient(90deg,#030c1920,#030c1977 45%,#030c19ba)}.account-intro{align-self:center;max-width:530px}.account-intro h1{font-weight:500;font-size:clamp(32px,3.5vw,52px);line-height:1.45;letter-spacing:3px;margin:18px 0;color:#fff1d4}.account-intro>p:last-child{font-size:15px;line-height:2;color:#b2c1d7;max-width:360px}.account-card{background:linear-gradient(145deg,#152435ee,#060e1bef);padding:34px;border:1px solid #d8b97855;border-radius:22px;box-shadow:0 25px 90px #0005,inset 0 1px #e9f5ff12;backdrop-filter:blur(22px)}.account-tabs{display:flex;border-bottom:1px solid var(--line);gap:25px;margin-bottom:25px}.account-tabs button{padding:0 2px 13px;color:var(--muted);font-size:19px}.account-tabs button[aria-selected=true]{color:var(--gold);border-bottom:2px solid var(--gold)}.account-card label{display:flex;flex-direction:column;gap:8px;margin:16px 0;color:#c5d1e0;font-size:13px}.account-card input{width:100%;border:1px solid #809abb45;border-radius:10px;background:#06101dc9;padding:13px 14px;color:white}.account-card input:focus{border-color:#ddbd7b}.account-card .gold-button{width:100%;margin-top:10px}.account-note{font-size:11px;line-height:1.9;color:#8b9db6;margin-top:18px}.account-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}.account-state-mark{font-size:36px;color:var(--gold);margin-bottom:18px}.account-card h2{font-size:25px;color:#f9e5bf;margin-bottom:14px}.account-status-copy{font-size:14px;line-height:1.9;color:#b6c5d9}.review-note{border-left:2px solid #cda66766;padding:10px 14px;margin-top:20px;background:#ffffff04;overflow-wrap:anywhere}.small-status{font-size:11px;color:#91a5c1;margin-top:18px}@media(max-width:1100px){.sitebar{padding:0 20px;gap:10px}.site-nav{gap:0}.site-nav a{min-width:76px;font-size:13px}.sitebrand span{font-size:16px}.site-account{max-width:160px;gap:7px}}@media(max-width:760px){.site-nav a{min-width:auto;padding:0 8px}.site-nav a:nth-child(2),.site-nav a:nth-child(4),.site-nav a:nth-child(5){display:none}.sitebrand span{display:none}.account-layout{display:block;padding:30px 20px}.account-intro{margin-bottom:25px}.account-intro h1{font-size:28px}.account-card{padding:25px}.account-intro .eyebrow{display:none}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

#street-view[data-region="theatre"]:not([data-theatre-phase="ended"]) [data-landmark="photo"]{display:none!important}

@media(max-height:850px){body.city535-compact #street-view .is-far-sign:not(:focus-visible):not(:hover):not(.is-destination){opacity:.38}body.city535-compact #street-view .is-current-entrance{opacity:1}body.city535-compact .room-announcement{display:none}}

[data-coming-soon][hidden]{display:none!important}
/* account/account.css */

.account-location{font-size:13px;color:#e7c68b;border-bottom:1px solid #d9ba7d80;padding:10px 2px}
.account-intro h1{white-space:pre-line}.chat-access-actions{display:grid;gap:12px;margin-top:28px}.chat-access-actions>a{text-align:center;margin:0}.account-location:not([aria-current]){color:#97abc3;border-color:transparent}
.account-intro>p:not(.eyebrow){max-width:420px;color:#bacbdf;line-height:2}.account-home-link{display:inline-block;margin-top:28px;font-size:13px;color:#e6c98f}
.account-benefits{display:flex;gap:24px;margin-top:36px;color:#9eb1ca;font-size:12px}.account-benefits span+span{border-left:1px solid #b4c5da35;padding-left:24px}
.account-card-kicker{margin-bottom:22px}.account-card #member-greeting{letter-spacing:1px;line-height:1.8;margin-bottom:12px}
.account-card h2{font-size:24px}.account-card .account-actions>.gold-button{margin:0;text-align:center}
.account-permission{border:1px solid #b5c6d323;border-radius:12px;background:#07101d77;padding:19px;margin-top:26px}
.permission-label{font-size:10px;letter-spacing:2px;color:#91a4bf;margin-bottom:12px}.account-permission h3{font-size:16px;font-weight:500;color:#d8c9aa;margin:0 0 10px}
.account-permission .account-status-copy{font-size:12px;color:#99acc4}.permission-actions{margin-top:13px}.account-permission .small-status{margin-top:10px;font-size:10px}
.account-footer{display:flex;justify-content:space-between;align-items:center;margin-top:23px}.account-footer>span{font-size:10px;color:#788ea9;letter-spacing:1px}
@media(max-height:800px){.account-layout{padding-top:26px;padding-bottom:26px}.account-card{padding:26px}.account-permission{padding:15px;margin-top:20px}}


.rights-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:0}.rights-summary dt{color:#adc0d1;font-size:12px}.rights-summary dd{color:#f3d9a9;font-size:16px;margin:5px 0;overflow-wrap:anywhere}#rights-badges{margin-top:7px;font-size:13px}#rights-badges summary{cursor:pointer}#rights-badges ul{margin:8px 0;padding-inline-start:20px;line-height:1.7}
#identity-editor{margin:18px 0;padding:12px 16px;border:1px solid #a68d5260;border-radius:12px;background:#0b1727;color:#e8d7b3}#identity-editor summary{cursor:pointer;font-weight:600}#identity-form{display:grid;gap:9px;margin-top:14px}#display-name{min-width:0;width:100%;box-sizing:border-box;background:#07101d;color:#fff;border:1px solid #71839b;border-radius:7px;padding:10px 12px;font:inherit}#identity-form small{color:#b8c5d5}.identity-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}#identity-form .gold-button,#identity-form .outline-button{margin:0;padding:8px 15px;min-height:38px}#identity-result:empty{display:none}#identity-result{margin:0;font-size:14px}

#douyin-binding summary { cursor:pointer; color:#f0d6a3; font-weight:600 }
#douyin-binding p { margin:.75em 0; line-height:1.65 }
#douyin-levels { color:#f0d6a3 }
#douyin-form label { margin-bottom:.4em }
#douyin-form .outline-button { margin-top:.6em }
#douyin-code { display:inline-block; max-width:100%; overflow-wrap:anywhere; font-family:monospace; color:#ffe4a8; user-select:all }
/* account/session-menu.css */

.header-actions{gap:12px}
#site-auth-guest{display:flex;align-items:center;gap:5px}#site-auth-guest[hidden],#site-account-menu[hidden]{display:none!important}
.site-auth-link{display:grid;place-items:center;font-size:13px;padding:8px 13px;color:#e6d3a8;white-space:nowrap;text-decoration:none;border-radius:20px;transition:background .2s}
.site-auth-link:hover{background:#d6b6751c}.site-auth-register{border:1px solid #d7b57080;background:linear-gradient(135deg,#9c77363b,#51402040);color:#ffe5b3}
#site-account-menu{position:relative;font-size:13px;color:#f4dfb5}.site-account-trigger{cursor:pointer;display:flex;align-items:center;gap:9px;list-style:none;padding:4px 10px 4px 4px;border:1px solid #cfb17c60;border-radius:28px;background:#101823c9}
.site-account-trigger::-webkit-details-marker{display:none}.site-account-trigger::after{content:"⌄";font-size:12px;color:#b6a278}
#site-member-avatar{position:relative;width:32px;height:32px;flex-shrink:0;display:grid;place-items:center;border-radius:50%;overflow:hidden;background:radial-gradient(circle at 30% 20%,#705635,#16283b 75%);border:1px solid #d1b47780;font-size:13px}
#site-member-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}#site-member-name{max-width:82px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.site-account-dropdown{position:absolute;right:0;top:calc(100% + 13px);width:190px;border:1px solid #c0a56f66;background:linear-gradient(145deg,#172435f7,#08101bf9);box-shadow:0 18px 45px #0009;border-radius:13px;padding:10px;backdrop-filter:blur(18px)}
.site-account-dropdown>a,.site-account-dropdown>button{display:block;width:100%;text-align:left;font:inherit;font-size:13px;color:#dcd8cd;text-decoration:none;padding:11px 12px;border-radius:7px;background:none;border:0;cursor:pointer}
.site-account-dropdown>a:hover,.site-account-dropdown>button:hover{background:#c2a46b1e;color:#ffdfa7}.site-account-dropdown>button{border-top:1px solid #afbdcb25;border-radius:0;margin-top:5px;color:#8fa4bd}.site-account-dropdown button:disabled{opacity:.5}
#site-auth-status{position:absolute;right:12px;top:calc(100% + 14px);font-size:11px;background:#111b28;color:#edca91;white-space:nowrap;z-index:1;border-radius:6px}#site-auth-status:not(:empty){padding:10px;border:1px solid #c4a46b60}
@media(max-width:1300px){.topbar .topnav{left:47%;gap:0}.topbar .nav-item{width:88px;font-size:15px}.topbar .header-actions{gap:9px}.topbar .brand-word{width:100px}.site-auth-link{padding:8px 10px}.topbar #site-member-name{max-width:68px}}
@media(max-width:1100px){.topbar .topnav{left:46%}.topbar .nav-item{width:78px;font-size:14px}.topbar .brand-word{width:85px}.topbar .brand-mark{width:42px}.topbar .header-actions{gap:7px}.topbar .settings-button img{width:27px}.site-account-trigger{gap:5px}.topbar #site-member-name{max-width:52px}}


.site-auth-register[hidden],#register-tab[hidden]{display:none!important}
/* shared/site-shell.css */
/* Shared visual language for the universe, community and personal pages. */
:root{--site-gold:#e7c68b;--site-text:#e6dfd0;--site-muted:#9baec4;--site-border:#d7b77d38;--site-surface:linear-gradient(135deg,#142334eb,#080f1aef);--site-header-space:94px}
.wardrobe-page,.account-page{display:flow-root}
.sitebar,.interactive .topbar{border:1px solid var(--site-border);border-radius:18px;background:linear-gradient(100deg,#122131e8,#080f1bf0 45%,#0c1724e6);box-shadow:0 12px 38px #0004,inset 0 1px #ecf5ff13;backdrop-filter:blur(18px)}
.sitebar{height:60px;margin:18px 26px 16px;padding:0 18px;position:relative;z-index:130;gap:16px;flex-shrink:0}
.sitebrand{gap:7px}.sitebrand .brand-mark{width:45px;height:49px;object-fit:contain}.sitebrand .brand-word{width:112px;height:auto;object-fit:contain}
.site-nav{gap:8px;justify-content:center;margin:auto}.site-nav a{font-size:14px;letter-spacing:1px;font-weight:500;min-width:82px;padding:0 10px;color:#c7cdd7;white-space:nowrap}
.site-nav a.active,.site-nav a:hover{color:#f1d8a7;background:linear-gradient(0deg,#d5b77d17,transparent 90%)}
.site-nav a.active:after{height:1px;left:28%;right:28%;background:linear-gradient(90deg,transparent,#e7c68b,transparent);box-shadow:none}
.sitebar .site-account{position:relative;max-width:none;gap:0;flex-shrink:0}.sitebar #site-auth-status{right:0}
.sitebar .site-account-dropdown a[aria-current=page]{color:#f7dba3;background:#c2a46b16}
.sitebar .account-location{font-size:13px;border-bottom:0;padding:11px 12px}
.sitebar .site-account-trigger{min-height:40px}.sitebar #site-member-name{max-width:110px}
.gold-button,.interactive .gold-button,.interactive .enter-planet:not(.disabled){border:1px solid #f5d79c;border-radius:12px;background:linear-gradient(120deg,#f6db9e,#d9af69);color:#251c10;box-shadow:inset 0 1px #fff7,0 4px 18px #c8962e12;font-weight:600;transition:filter .2s,translate .15s,box-shadow .2s}
.gold-button:hover:not(:disabled),.interactive .enter-planet:hover:not(.disabled){filter:brightness(1.06);translate:0 -1px;box-shadow:inset 0 1px #fff7,0 6px 20px #c8962e22}
.gold-button:active:not(:disabled),.interactive .enter-planet:active:not(.disabled){translate:0 1px}
.interactive .gold-button,.interactive .enter-planet:not(.disabled){background:linear-gradient(120deg,color-mix(in srgb,var(--accent) 55%,white),var(--accent));border-color:color-mix(in srgb,var(--accent) 80%,white);color:#102035}
.outline-button{border-color:#aebfd338;border-radius:10px;background:linear-gradient(125deg,#1a2a3d85,#101c2c70);color:#ccdae9;transition:background .2s,border-color .2s}
.outline-button:hover{border-color:#d3b47a88;background:#b49a5618}
.wardrobe-preview,.wardrobe-collection,.account-card{background:var(--site-surface);border-color:var(--site-border);box-shadow:inset 0 1px #fff08,0 16px 55px #0004}
.boot-message{top:var(--site-header-space)}.account-layout{min-height:calc(100dvh - var(--site-header-space))}
@media(max-width:1200px){.sitebar{padding:0 14px;gap:10px}.site-nav{gap:0}.site-nav a{min-width:74px;padding:0 8px;font-size:13px}.sitebrand .brand-word{width:95px}.sitebar #site-member-name{max-width:76px}}
@media(max-width:1000px){.sitebar{margin-left:18px;margin-right:18px}.sitebrand .brand-word{width:78px}.site-nav a{min-width:67px;padding:0 6px}.sitebar #site-member-name{max-width:55px}}
@media(max-width:760px){.sitebrand .brand-word{display:none}.site-nav a:nth-child(2),.site-nav a:nth-child(4),.site-nav a:nth-child(5){display:none}.sitebar{margin:12px 12px 14px}:root{--site-header-space:86px}}
@media(prefers-reduced-motion:reduce){.gold-button,.outline-button,.site-nav a{transition:none}}

.section-nav-more{position:relative;align-self:center;color:inherit}.section-nav-more summary{cursor:pointer;white-space:nowrap;font:inherit}.section-nav-more>div{position:absolute;right:0;top:110%;z-index:20;display:grid;min-width:8em;background:#101a2b;border:1px solid #756242;border-radius:.6rem;padding:.4rem}.site-nav .section-nav-more a{padding:.45em .8em;display:block;white-space:nowrap}
@media(max-width:760px) {
  :is(.gifts-page,.wardrobe-page)>.sitebar {margin-inline:8px; padding-inline:8px; gap:4px}
  :is(.gifts-page,.wardrobe-page) .sitebar .site-nav {flex:1; min-width:0; gap:0; justify-content:space-evenly}
  :is(.gifts-page,.wardrobe-page) .sitebar .site-nav>a {min-width:0; padding-inline:3px; font-size:12px}
  :is(.gifts-page,.wardrobe-page) .sitebar .sitebrand {min-width:0; flex:none}
  :is(.gifts-page,.wardrobe-page) .sitebar #site-member-name {display:none}
  :is(.gifts-page,.wardrobe-page) .sitebar .site-account-trigger {padding-inline:5px}
}
/* account/auth-presentation.css */
/* Guest authentication only. The existing signed-in center and chat gate retain their styles. */
.auth-scene,.auth-brand-link,.auth-return{display:none}
.auth-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
body:is(.account-auth,.account-pending){background:#100c08;color:#f2dfb3;--gold:#edcd79;--auth-width:min(38vw,76dvh,720px);--auth-floor:max(12px,calc((100dvh - 56.28vw)/2 + 12px));min-height:100dvh}
:is(.account-auth,.account-pending)>.sitebar,:is(.account-auth,.account-pending) .account-intro{display:none}
:is(.account-auth,.account-pending) .auth-scene{display:block;position:fixed;inset:0;pointer-events:none;overflow:hidden;background:#100c08}
.auth-scene:before{content:"";position:absolute;inset:-35px;background:url('/assets/account-gold/cast-background.webp') center/cover no-repeat;filter:blur(25px) brightness(.36)}
@media(max-width:1366px) and (max-resolution:1.25dppx){.auth-scene:before{background-image:url('/assets/account-gold/cast-background-1366.webp')}}
@media(max-width:700px){.auth-scene:before{background-image:url('/assets/account-gold/cast-900-v1.webp')}}
.auth-scene picture{display:block;height:100%}
.auth-scene picture img{position:relative;width:100%;height:100%;object-fit:contain;display:block}
.account-auth .auth-brand-link{display:block;position:fixed;z-index:2;left:max(1.5vw,calc((100vw - 177.68dvh)/2 + 1.5vw));top:max(1vh,calc((100dvh - 56.28vw)/2 + 1vh));width:18vw;max-width:335px;height:9vh;max-height:95px}
.account-auth .auth-return{display:flex;align-items:center;gap:9px;position:fixed;top:22px;right:26px;z-index:3;font-size:12px;letter-spacing:1px;color:#e8d9b4;background:#110e0bbb;border:1px solid #d2ad5e38;border-radius:6px;padding:10px 13px;transition:background .2s,border-color .2s}
.account-auth .auth-return:hover{background:#302311e6;border-color:#d2ad5e88}
:is(.account-auth,.account-pending) .account-layout{position:relative;display:flex;align-items:flex-end;justify-content:center;min-height:100dvh;padding:0 0 var(--auth-floor);gap:0;background:none}
.account-auth .account-card{position:relative;width:var(--auth-width);padding:0;border:0;border-radius:0;background:none;box-shadow:none;backdrop-filter:none;color:#ead7ab}
.account-pending .account-card{padding:16px 25px;margin-bottom:6vh;background:#17110ae8;border:1px solid #99702a66;backdrop-filter:none;border-radius:8px;font-size:13px}
.account-auth #auth-view{position:relative;width:100%;aspect-ratio:657/449;isolation:isolate}
.account-auth[data-auth-mode=register] #auth-view{aspect-ratio:690/561}
.auth-panel-art{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:-1;object-fit:fill}
.account-auth .auth-methods{position:absolute;top:34%;left:27%;width:47%;height:9.8%;display:flex;background:url('/assets/account-gold/method-track.png') center/100% 100% no-repeat}
.auth-methods button{width:50%;height:100%;padding:0;font-size:clamp(12px,1.13vw,20px);font-weight:600;color:#e9cf8a;white-space:nowrap}
.auth-methods button[aria-pressed=true]{color:#251806;background:url('/assets/account-gold/method-selected.png') center/100% 100% no-repeat}
.auth-methods button:not([aria-pressed=true]):hover{color:#fff0c1}
.account-auth #account-form{position:absolute;inset:0;pointer-events:none}
.account-auth #account-form>*{pointer-events:auto}
.account-auth .auth-field{position:absolute;display:flex;flex-direction:row;align-items:center;left:27%;width:47%;height:9.8%;margin:0;padding:0;background:url('/assets/account-gold/field.png') center/100% 100% no-repeat;border:0;border-radius:6px;gap:0;transition:box-shadow .2s}
.account-auth .auth-field:focus-within{box-shadow:0 0 0 1px #d8b254a8,0 0 14px #e4b64b18}
.account-auth .auth-field>img{position:absolute;left:3%;width:8.5%;height:74%;object-fit:contain;pointer-events:none;opacity:.95}
.account-auth .auth-field input{width:100%;height:100%;border:0;background:transparent;color:#fff1d3;padding:0 6% 0 15%;border-radius:6px;font-size:clamp(12px,1.02vw,18px);line-height:normal;box-shadow:none;outline-offset:2px}
.account-auth .auth-field input::placeholder{color:#bbab8b;opacity:1;font-size:clamp(11px,.88vw,15px)}
.account-auth .auth-field input:focus{outline:none}
.account-auth .auth-field input:-webkit-autofill{-webkit-text-fill-color:#fff1d3;box-shadow:0 0 0 100px #221e17 inset;border-radius:6px}
.account-auth .auth-phone{top:46.5%}.account-auth .auth-password{top:58.7%}
.account-auth .auth-submit{position:absolute;left:18.2%;bottom:13.2%;width:64.6%;height:11.7%;padding:0;margin:0;border:0;border-radius:30px;background:transparent url('/assets/account-gold/login-button.png') center/100% 260% no-repeat;box-shadow:none;color:transparent;font-size:0;transition:filter .2s,transform .15s}
.account-auth .auth-submit:hover:not(:disabled){filter:brightness(1.18)}
.account-auth .auth-submit:active:not(:disabled){transform:translateY(1px);translate:none}
.account-auth .auth-submit:disabled{opacity:.6;cursor:wait}
.account-auth #account-form[aria-busy="true"] .auth-submit{background:linear-gradient(#392914,#1c140d);border:1px solid #b9954a;color:#f4daa1;font-size:clamp(14px,1.2vw,19px);opacity:1}
.account-auth .auth-footer{position:absolute;left:23.8%;right:23%;bottom:7.7%;display:flex;justify-content:space-between;align-items:center;gap:8px}
.account-auth .account-tabs{display:flex;margin:0;padding:0;border:0;gap:0}
.account-auth .auth-footer button{font-size:clamp(11px,.95vw,16px);line-height:1.3;color:#cfbb94;font-weight:400;padding:0;border:0;white-space:nowrap;background:none}
.account-auth .auth-footer button:hover{color:#ffe6a1;text-decoration:underline;text-underline-offset:4px}
.account-auth #account-error{position:absolute;bottom:calc(100% + 8px);left:12%;width:76%;margin:0;padding:10px 13px;border-radius:7px;border-color:#d4ad675c;background:#21180ff5;color:#ffe1b2;box-shadow:0 5px 18px #0006;font-size:13px;line-height:1.6;text-align:center;overflow-wrap:anywhere}
.account-auth[data-auth-mode=register] .auth-field{left:29.6%;width:44.4%;height:7.6%}
.account-auth[data-auth-mode=register] .auth-nickname{top:26%}
.account-auth[data-auth-mode=register] .auth-phone{top:36%}
.account-auth[data-auth-mode=register] .auth-password{top:56%}
.account-auth[data-auth-mode=register] .auth-confirmation{top:66%}
.account-auth .auth-code-row{position:absolute;top:46%;left:29.6%;width:44.4%;height:7.6%;display:grid;grid-template-columns:minmax(0,59.5fr) minmax(0,39.8fr);gap:2%;align-items:stretch}
.account-auth[data-auth-mode=register] .auth-code-row .auth-field{position:relative;top:auto;left:auto;width:100%;height:100%;min-width:0;background-image:url('/assets/account-gold/code-field.png')}
.account-auth .auth-code-row .auth-field>img{left:5%;width:14.3%}
.account-auth .auth-code-row input{min-width:0;padding-left:25%;padding-right:5%}
.account-auth #registration-get-code{width:100%;padding:0;border:0;border-radius:6px;background:url('/assets/account-gold/get-code-button.png') center/100% 100% no-repeat;color:transparent;font-size:0;transition:filter .2s,transform .15s}
.account-auth #registration-get-code:hover{filter:brightness(1.2)}
.account-auth #registration-get-code:active{transform:translateY(1px)}
.account-auth .auth-code-note{position:absolute;top:22.3%;left:25%;width:54%;margin:0;text-align:center;font-size:clamp(9px,.76vw,12px);line-height:1.2;white-space:nowrap;color:#bba783}
.account-auth[data-auth-mode=register] .auth-submit{background-image:url('/assets/account-gold/register-button.png');left:22.6%;width:59.6%;height:10%;bottom:14.8%;background-size:100% 252%}
.account-auth[data-auth-mode=register] .auth-footer{left:25.6%;bottom:8.7%}
.auth-help{width:min(400px,calc(100vw - 36px));border:1px solid #b6934c80;border-radius:14px;background:linear-gradient(150deg,#2a2117,#100e0b);color:#d8c5a6;padding:30px;box-shadow:0 24px 100px #000b}
.auth-help::backdrop{background:#08060499;backdrop-filter:blur(5px)}
.auth-help-close{position:absolute;right:12px;top:8px;color:#ddc696;font-size:25px;padding:3px 8px}
.auth-help-eyebrow{font-size:10px;letter-spacing:3px;color:#b59a69;margin-bottom:14px}
.auth-help h2{font-size:20px;font-weight:500;color:#f4da9a;margin:0 0 14px}
.auth-help #auth-help-copy{font-size:13px;line-height:1.9;margin:0}
.auth-help-confirm{display:block;width:100%;margin-top:24px;border:1px solid #caab6499;border-radius:7px;color:#f4d58e;padding:11px;background:#93702822}
.auth-help-confirm:hover{background:#93702844}
@media(max-width:1100px){body:is(.account-auth,.account-pending){--auth-width:min(48vw,90dvh,570px)}.account-auth .auth-return{top:14px;right:14px}.auth-methods button{font-size:14px}}
@media(max-width:700px){body:is(.account-auth,.account-pending){--auth-width:min(570px,100vw);--auth-floor:28px}.account-auth .auth-scene>img{object-fit:cover;object-position:50% 22%}.account-auth .auth-brand-link{left:16px;top:15px;width:150px;height:55px}.account-auth .auth-return{font-size:11px;padding:8px}.account-auth .account-layout{min-height:max(100dvh,580px)}.account-auth .auth-field input{font-size:16px}.account-auth .auth-field input::placeholder{font-size:11px}.auth-methods button{font-size:12px}}
@media(max-height:620px) and (min-width:701px){body:is(.account-auth,.account-pending){--auth-width:min(48vw,500px);--auth-floor:8px}.account-auth .auth-methods button{font-size:12px}.account-auth .auth-return{top:10px;right:10px;padding:7px 10px}}
@media(prefers-reduced-motion:reduce){.account-auth *{transition:none!important}}

.account-film-bridge{position:fixed;inset:0;z-index:1000;width:100%;height:100%;object-fit:contain;background:#020207;pointer-events:none}


.account-auth[data-auth-mode=register] .auth-code-row .auth-field{grid-column:1/-1}.account-auth .auth-code-row .auth-field>img{width:9%}.account-auth .auth-code-row input:disabled{padding-left:18%;opacity:1;-webkit-text-fill-color:#bdae96}.account-auth .auth-code-note a,.auth-help a{color:#f5d495;text-underline-offset:.15em}.account-auth #registration-get-code[hidden]{display:none}
@media (max-width:700px) {
  .account-auth[data-auth-mode=login] .account-layout {
    min-height:100svh; align-items:flex-start; padding:clamp(70px,36svh,330px) 0 28px; box-sizing:border-box;
  }
  .account-auth[data-auth-mode=login] .auth-scene picture img {
    height:clamp(160px,42svh,380px); object-fit:cover; object-position:50% 36%; mask-image:linear-gradient(#000 76%,transparent);
  }
  .account-auth[data-auth-mode=login] #account-error {top:100%; bottom:auto; margin-top:6px}
}
@media (max-width:700px) and (max-height:540px) {
  .account-auth[data-auth-mode=login] .account-layout {padding-top:58px}
}
@media(max-width:700px) {
  .account-auth[data-auth-mode=login] #auth-view {aspect-ratio:auto; height:clamp(320px,75vw,380px)}
  .account-auth[data-auth-mode=login] :is(.auth-phone,.auth-password,.auth-methods) {left:21%; width:58%; height:11%}
  .account-auth[data-auth-mode=login] .auth-methods {top:30%}
  .account-auth[data-auth-mode=login] .auth-phone {top:43%}
  .account-auth[data-auth-mode=login] .auth-password {top:56%}
  .account-auth[data-auth-mode=login] .auth-submit {height:13%; bottom:15%}
  .account-auth[data-auth-mode=login] .auth-footer {bottom:8%}
}
body.account-pending .auth-scene{display:none}
body.account-page:not(.account-pending):not(.account-auth){background-image:url('/assets/chat/space-lounge-wide.webp')}
@media(max-width:700px){
 body.account-page:not(.account-pending):not(.account-auth){background-image:url('/assets/chat/space-lounge-portrait.webp');background-attachment:scroll}
 .account-page:not(.account-auth):not(.account-pending) .account-intro{display:none}
 .account-page:not(.account-auth):not(.account-pending) .account-layout{min-width:0;grid-template-columns:minmax(0,1fr);align-content:start}
 .account-page:not(.account-auth):not(.account-pending) .account-card{min-width:0}
 .account-page:not(.account-auth):not(.account-pending) #status-view>.account-status-copy{display:none}
}
@media(max-width:700px){
 .account-page>.sitebar{margin-inline:8px;padding-inline:8px;gap:4px}
 .account-page .sitebar .site-nav{flex:1;min-width:0;gap:0;justify-content:space-evenly}
 .account-page .sitebar .site-nav>a{min-width:0;padding-inline:3px}
 .account-page .sitebar .sitebrand{min-width:0;flex:none}
 .account-page .sitebar .site-account-trigger{padding-inline:5px}
 .account-page .sitebar #site-member-name{max-width:4em}
}
@media(max-width:360px){.account-page .sitebar #site-member-name{display:none}}
/* shared/community-controls.css */
.ui-icon{width:19px;height:19px;flex-shrink:0;display:inline-block;vertical-align:middle}
.motion-settings{display:inline-flex;align-items:center;justify-content:center;gap:7px}
.community-dialog{width:min(460px,calc(100vw - 32px));max-height:calc(100dvh - 40px);overflow:auto;padding:30px;border:1px solid #c8ad7266;border-radius:20px;background:radial-gradient(ellipse at 50% 0,#42526c36,transparent 60%),linear-gradient(145deg,#14263b,#081423 80%);color:#dde6f2;box-shadow:0 24px 100px #0009;scrollbar-width:thin;scrollbar-color:#bca17050 transparent}
.community-dialog::backdrop{background:#020915b3;backdrop-filter:blur(7px)}
.community-dialog h2{font-size:21px;color:#f0d8a8;font-weight:500;line-height:1.6;margin:0 28px 10px 0}
.dialog-close{position:absolute;top:15px;right:15px;width:32px;height:32px;display:grid;place-items:center;color:#a5b6cb;border-radius:8px}.dialog-close:hover{color:#f3dba9;background:#f4d39912}
.dialog-description{font-size:13px;line-height:1.9;color:#acbfd6}
.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px;flex-wrap:wrap}.dialog-actions button{font-size:13px;padding:10px 18px}
.chat-page .emoji-toggle{display:grid;place-items:center;width:34px;height:34px;border:1px solid transparent;border-radius:8px;padding:0;font-size:14px;color:#bed0e5}
.chat-page .emoji-toggle:hover:not(:disabled),.chat-page .emoji-toggle[aria-expanded=true]{border-color:#d6b87945;background:#d8b97c14;color:#efd49f}
.chat-page #send-message .ui-icon{width:17px;height:17px;margin:0 0 0 10px}.chat-page .notice-toggle .ui-icon{width:16px;height:16px;margin-right:4px}
.chat-page #send-message>span{margin-left:0}.chat-page .chat-symbol .ui-icon,.chat-page .wardrobe-entry>span:first-child .ui-icon{width:23px;height:23px}
.chat-page .notice-toggle.motion-settings .ui-icon{margin:0}
.chat-page .compose-input:focus-within{box-shadow:inset 0 1px #ffedbc18,0 0 0 3px #d6b5730a}
.chat-page .emoji-picker{display:block;width:290px;padding:12px;bottom:44px;border-color:#cdb47b55;background:linear-gradient(140deg,#1a2d43f7,#0a182afc);backdrop-filter:blur(14px)}
.emoji-tabs{display:flex;gap:4px;border-bottom:1px solid #c4b58026;padding-bottom:8px;margin-bottom:8px}
.emoji-picker .emoji-tabs button{height:auto;flex:1;font-size:11px;padding:6px 4px;color:#a9bdd4}
.emoji-picker .emoji-tabs button[aria-selected=true]{color:#efd39a;background:#d3af6524}
.emoji-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:4px;min-height:76px;max-height:190px;overflow:auto}
.emoji-picker .emoji-grid button{font-size:23px;height:36px;padding:0}.emoji-empty{grid-column:1/-1;align-self:center;text-align:center;font-size:12px;color:#91a9c2;line-height:1.8}
.emoji-limit{font-size:11px;color:#f0c798;line-height:1.7;margin:7px 2px 0}
button.cosmetic-avatar{padding:0;cursor:pointer;display:block;outline-offset:3px;border-radius:50%}
button.cosmetic-avatar:hover .avatar-face{filter:brightness(1.12)}
.profile-card{text-align:center;width:min(430px,calc(100vw - 32px))}.profile-card h2{margin:12px 0 5px;overflow-wrap:anywhere}.profile-card>.eyebrow{margin:2px 20px 15px;font-size:9px;letter-spacing:2px}
.profile-card-portrait{display:flex;justify-content:center;padding:8px;background:radial-gradient(ellipse,#b28c392b,transparent 65%)}
.profile-card-portrait .cosmetic-avatar{width:124px;height:124px;flex-basis:124px;margin:0}.profile-card-portrait .avatar-face{font-size:35px}
.profile-card-label{font-size:11px;color:#9eb1c9;margin:12px 0}.profile-card-preview{padding:18px 10px;border:1px solid #aebed428;border-radius:12px;background:#06122299;overflow-wrap:anywhere}
.profile-card-preview .message-body{margin:0;max-width:100%;text-align:left}.profile-card-outfit{font-size:12px;line-height:1.9;color:#c3b491;margin:16px 0;overflow-wrap:anywhere}.profile-card .outline-button{display:inline-block;font-size:12px}
.crop-dialog{width:min(450px,calc(100vw - 32px))}.crop-stage{position:relative;width:240px;height:240px;margin:20px auto;border-radius:14px;overflow:hidden;touch-action:none;background:#081424;cursor:grab}.crop-stage:active{cursor:grabbing}.crop-stage canvas{display:block;width:100%;height:100%}.crop-stage:after{content:'';position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at center,transparent 69%,#030912b8 70%);border:1px solid #d1b88048;border-radius:inherit}
.crop-controls{display:grid;gap:10px}.crop-control{display:grid;grid-template-columns:64px 1fr 42px;gap:10px;align-items:center;font-size:12px;color:#adc0d7}.crop-control input{width:100%;accent-color:#d6b77a}.crop-control output{text-align:right;color:#e0c690;font-size:11px}.crop-help{font-size:11px;line-height:1.8;color:#96abc6;text-align:center}
@media(max-width:1100px){.conversation-tools{gap:8px!important}.chat-page .conversation-heading{padding-left:15px;padding-right:15px}.chat-page .retention-label{display:none}}
@media(max-height:740px){.crop-dialog{padding:23px}.crop-stage{width:200px;height:200px;margin:13px auto}.crop-dialog .dialog-actions{margin-top:18px}}
@media(max-width:1350px){.chat-page .wardrobe-entry>span:last-child{display:none}.chat-page .wardrobe-entry small{white-space:nowrap}.chat-page .wardrobe-entry{gap:7px}}
/* shared/play-profile.css */
.play-profile{text-align:left;padding:15px;margin:16px 0;border:1px solid #c6b58b33;border-radius:12px;background:linear-gradient(140deg,#15273aaf,#09131fcc);font-size:12px;color:#c6d1df;line-height:1.65}
.play-profile-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.play-profile-heading strong{color:#f0dfb9;font-size:13px;font-weight:500}.play-status{font-size:10px;padding:3px 8px;border-radius:20px;background:#bed0ee12;border:1px solid #b3c4d530;white-space:nowrap;color:#c2cce1}.play-status[data-status=seeking]{color:#aff2d8;background:#338b6c24;border-color:#75caa755}.play-status[data-status=away]{color:#a1adc1}.play-games{display:flex;gap:6px;flex-wrap:wrap;margin-top:12px}.play-games span{border:1px solid #ddb77038;background:#d2ad6014;color:#ecd6ab;padding:3px 9px;border-radius:5px;overflow-wrap:anywhere}.play-profile-details{display:grid;grid-template-columns:82px 1fr;gap:8px;margin:13px 0 0}.play-profile-details dt{color:#91a5bf}.play-profile-details dd{margin:0;overflow-wrap:anywhere;white-space:pre-wrap}.play-profile-empty,.play-profile-private{margin:10px 0 0;color:#94a6ba;font-size:11px}
.play-profile-editor{width:min(540px,calc(100vw - 30px));background:linear-gradient(145deg,#13243b,#07111f);border:1px solid #d5b47755;border-radius:18px;color:#e6ddcd;padding:26px;max-height:90dvh;overflow-y:auto}.play-profile-editor .dialog-description{font-size:12px;line-height:1.8;color:#a5b6cb;max-width:440px}.play-profile-form{display:grid;gap:13px;margin-top:20px}.play-field{display:grid;gap:6px;font-size:12px;color:#d2d9e3}.play-field input,.play-field textarea,.play-field select{width:100%;padding:10px 12px;border:1px solid #a9bdd13a;border-radius:8px;background:#06121ee6;color:#edf2f5;font:inherit;line-height:1.5;box-sizing:border-box;outline:none}.play-field input:focus,.play-field textarea:focus,.play-field select:focus{border-color:#dfc381;box-shadow:0 0 0 2px #d9b76718}.play-field input::placeholder,.play-field textarea::placeholder{color:#74879d;font-size:11px}.play-published{display:flex;align-items:center;gap:8px;font-size:12px;color:#b9c7d8}.play-published input{accent-color:#d9b975;width:15px;height:15px}.play-profile-feedback{min-height:20px;font-size:12px;color:#d5bf91;line-height:1.7;margin:0}.play-profile-actions{display:flex;justify-content:flex-end;gap:10px}.play-profile-actions button{font-size:12px;padding:9px 16px}.profile-card .play-profile{margin-bottom:12px}.profile-card:has(.play-profile){width:min(460px,calc(100vw - 30px));max-height:92dvh;overflow-y:auto}.profile-card:has(.play-profile)>.eyebrow{height:38px}.profile-card:has(.play-profile) .profile-card-portrait>.cosmetic-avatar{width:78px;height:78px;flex-basis:78px}.profile-card:has(.play-profile) .profile-card-preview{padding:9px}.profile-card:has(.play-profile) .profile-card-outfit{margin:7px 0;font-size:11px}.profile-card:has(.play-profile) .profile-card-label{margin:6px}.profile-card:has(.play-profile)>.outline-button{margin:4px}
#account-play-profile{margin:18px 0 0}#account-play-profile>.outline-button{font-size:12px;padding:9px 13px}.account-page .account-card:has(#account-play-profile:not([hidden])){max-height:calc(100dvh - var(--site-header-space,94px) - 60px);overflow:auto;scrollbar-width:thin;scrollbar-color:#b9a77b66 transparent}.account-page:has(#account-play-profile:not([hidden])) .account-layout{padding-block:30px}@media(max-width:760px){.account-page .account-card:has(#account-play-profile:not([hidden])){max-height:none}}
.online-member .online-play-dot{width:6px;height:6px;flex-shrink:0;border-radius:50%;background:#9ce6c4;box-shadow:0 0 6px #69cfa255}.member-filters{flex-wrap:wrap}.member-filters [data-member-filter=seeking]{color:#b2dfcb}
/* shared/atelier.css */
/* Artwork is decorative; existing controls own focus, labels and state. */
html[data-atlas] {
  --atlas-rest:url("/assets/celestial-ui/atelier/ink-key.webp");
  --atlas-selected:url("/assets/celestial-ui/atelier/jeweled-key.webp");
  --atlas-primary:url("/assets/celestial-ui/atelier/brass-key.webp");
  --atlas-field:url("/assets/celestial-ui/atelier/inset.webp");
  --atlas-ribbon:url("/assets/celestial-ui/atelier/ribbon.webp");
  --atlas-tag:url("/assets/celestial-ui/atelier/slate-tag.webp");
  --atlas-panel:url("/assets/celestial-ui/atelier/journal.webp");
}
html[data-atlas][data-chat-tier="1"] {--atlas-selected:url("/assets/celestial-ui/atelier/tier-1.webp")}
html[data-atlas][data-chat-tier="2"] {--atlas-selected:url("/assets/celestial-ui/atelier/tier-2.webp")}
html[data-atlas][data-chat-tier="3"] {--atlas-selected:url("/assets/celestial-ui/atelier/tier-3.webp")}
html[data-atlas][data-chat-tier="4"] {--atlas-selected:url("/assets/celestial-ui/atelier/tier-4.webp")}

/* Metal endcaps keep their proportions on short tabs and long user labels. */
html[data-atlas] :is(
  .site-auth-link,.site-account-trigger,#site-account-menu .account-location,#site-member-logout,
  .modal .gold-button,.settings-modal select,.login-transition-footer button,#scene-mode-toggle,#intro-skip,#immersive-exit,#immersive-cruise,
  #load-enter,#diagnostic-open,.departure-copy nav a,.auth-help-confirm,#status-view :is(.gold-button,.outline-button,.quiet),
  #chat-mode,#street-mode,.member-filters button,.reading-dialog label:has(input[type=radio]),.motion-options label,.background-auto,
  .harbor-guide-toggle,.harbor-guide-stops button,.city531-route button,.city-map-node,
  #theatre-program-drawer button,.theatre-program-drawer button,.street-album-tabs button,.street-album-filters button,
  .street-album-browse button,.street-album-card-actions button,.street-album-menu-items button,.street-group-picker .outline-button,
  .community-dialog:not(.city-map-dialog,.city-companions-dialog) :is(.outline-button,.gold-button):not([data-icon-only]),.city-event-chip,
  .home-actions button:not([data-ui-art]),#home-settings,#home-share,#home-immerse,.manor-navigation button,.home-social-tools button,.editor-bar button:not([data-ui-art]),
  .camera-controls button,.scene-dock button:not([data-ui-art]),#drawer-toggle,.manor-door>span,#home-atmosphere,#home-viewpoints,
  #home-layout-presets,#garden-guide,#garden-recommend,#home-align,.drawer-tabs button,.drawer-filters button,
  #shelf-gallery,#shelf-compact,#shelf-filter-toggle,#collection-quick-filters button,.card-quick,
  .home-modal :is(.gold,.outline-button,.modal-actions button,.social-tabs button,.social-paging button),
  .preview-mode-tabs button,.collection-tabs button,button[data-detail-focus],.preview-presets button,
  .wardrobe-heading-actions .outline-button,.avatar-settings>summary,.collection-heading-actions .quiet,.set-actions button,.apply-row button,
  .museum-tabs button,.period-tabs button,.quantity-presets button,.gallery-tab,.record-pagination button,#gift-motion,
  #gallery-activity-tab,#gallery-thanks-tab,#open-confirm,#confirm-send,#cancel-send,#open-gift-drawer,
  .record-filters button,#drawer-preview,#records-refresh,
  [data-atlas-admin] :is(.button,.primary,.rail nav button,button[role=tab])
) {
  border-image:var(--atlas-key,var(--atlas-rest)) 13 49 fill / 3px 9px / 0 stretch;
  background-color:transparent;background-image:none;border-color:transparent;border-radius:4px;
  color:#f0e7d4;box-shadow:none;text-shadow:0 1px 2px #06121a;
}
html[data-atlas] :is(
  .city-map-node,.preview-mode-tabs button,.collection-tabs button,[data-detail-focus],.preview-presets button,
  #chat-mode,#street-mode,.member-filters button,.street-album-tabs button,.street-album-filters button,
  .drawer-tabs button,.drawer-filters button,#shelf-gallery,#shelf-compact,#shelf-filter-toggle,#collection-quick-filters button,
  .museum-tabs button,.period-tabs button,.quantity-presets button,#gallery-activity-tab,#gallery-thanks-tab,
  .social-tabs button,.manor-navigation button,.background-auto,[data-atlas-admin] button
):is([aria-selected=true],[aria-pressed=true],[aria-current=page],.active,.is-active,.selected),
html[data-atlas] :is(.reading-dialog,.motion-options) label:has(input:checked) {
  --atlas-key:var(--atlas-selected);color:#ffeed2;
}
html[data-atlas] :is(.auth-help-confirm,#load-enter,.modal .gold-button,#status-view .gold-button,
  .home-modal .gold,.community-dialog:not(.city-map-dialog,.city-companions-dialog) .gold-button,.apply-row .gold-button,#open-confirm,#confirm-send,#open-gift-drawer,
  [data-atlas-admin] .primary) {
  --atlas-key:var(--atlas-primary);color:#2e1c0c;text-shadow:none;
}
html[data-atlas] :is(.gift-dialog,.gallery-dialog,.reading-dialog,.motion-dialog,.background-dialog,
  .city-map-dialog,.city-companions-dialog,.street-album-dialog,.street-group-picker,.street-photo-dialog,.city-community-dialog,
  .city543-npc-dialog,.city548-mood-dialog,.home-modal,.crop-dialog,.outfit-presets-dialog,.discard-dialog,
  #settings-dialog,#feature-dialog,#diagnostics-dialog,#auth-help,.site-account-dropdown,
  .community-dialog:not(.background-panorama):not(:has(.hall-atmosphere)),
  [data-atlas-admin] :is(.auth-panel,.confirm-dialog,.asset-dialog)) {
  border-image:var(--atlas-panel) 74 fill / 17px / 0 stretch;
  background-color:#0d1828;background-image:none;border-radius:7px;border-color:transparent;
}
html[data-atlas] :is(.view-controls,.harbor-guide-body,.theatre-program-drawer,.street-album-menu-items) {
  border-image:var(--atlas-panel) 70 fill / 8px / 0 stretch;background-color:transparent;border-color:transparent;
}
html[data-atlas] :is(.host-search,.collection-search,#collection-sort,#collection-filter,
  #gift-search,#gift-quantity,#home-search,.record-filters select,.drawer-filters select,
  [data-atlas-admin] :is(input:not([type]),input[type=text],input[type=password],input[type=search],select)) {
  border-image:var(--atlas-field) 16 40 fill / 3px 7px / 0 stretch;
  background-color:#101927;border-color:transparent;color:#f3eee2;border-radius:4px;
}
html[data-atlas] :is(.label-status,.message-date>span,.card-badge,.collection-count,.home-card-count,.collection-new,
  .street-album-badge,.city-location,.city-population) { /* status backings */
  border-image:var(--atlas-tag) 13 40 fill / 3px 6px / 0 stretch;
  background-color:transparent;border-color:transparent;color:#e6ddce;padding-inline:7px;
}
html[data-atlas] :is(.card-badge.equipped,.card-badge.owned,.collection-new,.level-insignia) {
  border-image:var(--atlas-ribbon) 13 48 fill / 3px 8px / 0 stretch;
  background-color:transparent;color:#fff1d4;padding-inline:8px;
}
html[data-atlas] :is(.city-map-node[data-open=false],.card-badge.locked) {--atlas-key:var(--atlas-tag)}
html[data-atlas] .city-map-node[data-open=false]::after {
  content:"";position:absolute;right:calc(100% - 7px);top:50%;translate:0 -50%;width:17px;height:21px;
  background:url("/assets/celestial-ui/atelier/lock.webp") center/contain no-repeat;pointer-events:none;
}
html[data-atlas] .city-map-node.is-current::before {
  border-image:var(--atlas-primary) 12 45 fill / 3px 5px / 0 stretch;background:transparent;color:#291b10;
}
html[data-atlas] .level-insignia .level-crest {
  display:inline-block;width:1.3em;height:1.05em;background:url("/assets/celestial-ui/atelier/level.webp") center/contain no-repeat;
  font-size:inherit;color:transparent;line-height:1;clip-path:none;border:0;box-shadow:none;
}
html[data-atlas] .site-account-trigger::after {content:"";width:11px;height:11px;background:url("/assets/celestial-ui/next.webp") center/contain no-repeat;rotate:90deg}
html[data-atlas] details[open]>.site-account-trigger::after {rotate:-90deg}
html[data-atlas] :is(#site-member-avatar,.manor-avatar):not(:has(img)) {
  background:#13243b url("/assets/celestial-ui/atelier/traveler.webp") center/cover no-repeat;
  color:white;text-shadow:0 1px 2px #000,0 0 3px #051324;
}
html[data-atlas] .avatar-face:not(:has(img)) {
  background:#13243b url("/assets/celestial-ui/atelier/inset.webp") center/auto 160% no-repeat;
  color:#fff3d8;text-shadow:0 1px 2px #000;
}
html[data-atlas] #open-confirm:disabled {
  --atlas-key:var(--atlas-tag);opacity:1;color:#b5b8bf;text-shadow:none;cursor:not-allowed;
}
html[data-atlas] #gift-success::before {
  content:"";display:inline-block;width:1.1em;height:1.1em;margin-inline-end:.35em;vertical-align:-.15em;
  background:url("/assets/celestial-ui/atelier/heart.webp") center/contain no-repeat;
}
html[data-atlas] #status-view .account-state-mark {
  font-size:0;background:transparent url("/assets/celestial-ui/atelier/gateway.webp") center/contain no-repeat;border:0;box-shadow:none;
}
html[data-atlas] :is(.modal-close,.auth-help-close,.home-modal .dialog-close:not(:has(img)),[data-atlas-admin] button.close) {
  font-size:0;background:transparent url("/assets/celestial-ui/close.webp") center/20px 20px no-repeat;
}
html[data-atlas] .collection-search>span[aria-hidden=true] {font-size:0;display:inline-block;width:17px;height:17px;background:url("/assets/celestial-ui/signage/search.webp") center/contain no-repeat}
html[data-atlas] #hot-filter span[aria-hidden=true] {display:inline-block;font-size:0;width:15px;height:15px;vertical-align:middle;background:url("/assets/celestial-ui/collection/compass-star.webp") center/contain no-repeat}
html[data-atlas] .hot-filter:focus-visible,html[data-atlas] :is(button,a,summary,input,select):focus-visible {
  outline:2px solid #9fd6ed;outline-offset:2px;
}
html[data-atlas] select option {background:#122130;color:#f4e9d4}

/* The camera buttons keep their original hit areas and accessible names. */
html[data-atlas] #camera-in,html[data-atlas] #camera-out {font-size:0}
html[data-atlas] :is(#camera-in,#camera-out,#camera-pan,#camera-reset,#home-atmosphere,#garden-guide,#home-guestbook,#home-viewpoints,.manor-door>span,.home-like,.neighbor-foot small)::before {
  content:"";display:inline-block;width:15px;height:15px;vertical-align:-3px;
  margin-inline-end:4px;background:var(--atlas-glyph) center/contain no-repeat;pointer-events:none;
}
#camera-in {--atlas-glyph:url("/assets/celestial-ui/plus.webp")}
#camera-out {--atlas-glyph:url("/assets/celestial-ui/minus.webp")}
html[data-atlas] :is(#camera-in,#camera-out)::before {margin:0;vertical-align:middle}
#camera-pan,#home-viewpoints {--atlas-glyph:url("/assets/celestial-ui/atelier/pin.webp")}
#camera-reset {--atlas-glyph:url("/assets/celestial-ui/compass.webp")}
#home-atmosphere {--atlas-glyph:url("/assets/celestial-ui/atelier/atmosphere.webp")}
#garden-guide {--atlas-glyph:url("/assets/celestial-ui/blueprint.webp")}
#home-guestbook,.neighbor-foot small,.home-like {--atlas-glyph:url("/assets/celestial-ui/atelier/heart.webp")}
.manor-door>span {--atlas-glyph:url("/assets/celestial-ui/atelier/gateway.webp")}
html[data-atlas] .home-scene .falling-leaf {background:transparent url("/assets/celestial-ui/atelier/leaf.webp") center/contain no-repeat;border:0;box-shadow:none;width:6px;height:8px}
html[data-atlas] .home-scene .lantern-aura {background:transparent url("/assets/celestial-ui/atelier/lantern.webp") center/100% 100% no-repeat}
html[data-atlas] .home-scene .water-ripple {background:transparent url("/assets/celestial-ui/atelier/ripple.webp") center/contain no-repeat;border:0;border-radius:0}
html[data-atlas] .home-scene .water-jets {inset:auto;left:24%;top:38%;width:52%;height:24%;background:url("/assets/celestial-ui/atelier/fountain.webp") center bottom/100% 100% no-repeat;opacity:.78}
html[data-atlas] .city531-map-legend img {width:13px;height:14px;object-fit:contain;vertical-align:-3px}
html[data-atlas] .harbor-guide-toggle span {display:inline-block;color:transparent;width:11px;height:11px;background:url("/assets/celestial-ui/next.webp") center/contain no-repeat;rotate:90deg}
html[data-atlas] .harbor-guide-toggle[aria-expanded=true] span {rotate:-90deg}
html[data-atlas=cat] :is(.mmq-task-claim,.mmq-save,.mmq-chat-reconnect) {
  border-image:url("/assets/celestial-ui/atelier/honey-key.webp") 12 54 fill / 3px 12px / 0 stretch;
  background:transparent;border-color:transparent;box-shadow:none;color:#482b19;text-shadow:none;
}
html[data-atlas=cat] :is(.mmq-task-claim:disabled,.mmq-empty-progress) {
  border-image:url("/assets/celestial-ui/atelier/rose-key.webp") 12 54 fill / 3px 9px / 0 stretch;
  background-color:transparent;border-color:transparent;color:#593b30;
}
html[data-atlas=cat] .mmq-unlit-badge {background:transparent url("/assets/celestial-ui/atelier/lock.webp") center/72% auto no-repeat;color:transparent;border:0;box-shadow:none}
html[data-atlas=admin] .rail button[data-section] span {
  display:inline-block;vertical-align:middle;width:18px;height:18px;font-size:0;background:var(--atlas-glyph) center/contain no-repeat;
}
.rail [data-section=news] {--atlas-glyph:url("/assets/celestial-ui/signage/dispatch.webp")}
.rail [data-section=features] {--atlas-glyph:url("/assets/celestial-ui/logbook.webp")}
.rail [data-section=appearance] {--atlas-glyph:url("/assets/celestial-ui/atelier/settings.webp")}
.rail [data-section=assets] {--atlas-glyph:url("/assets/celestial-ui/chest.webp")}
.rail [data-section=account] {--atlas-glyph:url("/assets/celestial-ui/atelier/traveler.webp")}
.rail [data-section=planets] {--atlas-glyph:url("/assets/celestial-ui/atelier/missing-planet.webp")}

html[data-atlas] .account-card:has(#status-view:not([hidden])) {
  border-image:var(--atlas-panel) 74 fill / 17px / 0 stretch;border-color:transparent;
}
html[data-atlas] :is(.chat-page,.wardrobe-page) .message-body:not(.decorated-bubble):not(.removed) {
  border-image:var(--atlas-field) 15 40 fill / 3px 7px / 0 stretch;
  background:transparent;color:#f1eee8;border-radius:4px;
}
html[data-atlas] :is(.chat-page,.wardrobe-page) .own .message-body:not(.decorated-bubble):not(.removed) {
  border-image-source:var(--atlas-selected);
}
html[data-atlas] .message-date time {
  border-image:var(--atlas-tag) 12 40 fill / 3px 7px / 0 stretch;
  background-color:transparent;border-color:transparent;color:#e7e2d8;
}
@media (prefers-reduced-motion:no-preference) {
  html:not([data-motion=static]) .home-scene .water-jets {
    animation:manor-water-flow 3.4s ease-in-out var(--phase,0s) infinite alternate;
  }
}
@keyframes manor-water-flow {from{opacity:.53}to{opacity:.85}}
@media (forced-colors:active) {
  html[data-atlas] :is(button,summary,[role=tab],label:has(input:checked),select,input,dialog,.city-map-node) {
    border-image:none!important;border:1px solid ButtonText;color:ButtonText;text-shadow:none;
  }
  html[data-atlas] :is(#camera-in,#camera-out,.modal-close,.auth-help-close,.home-modal .dialog-close) {font-size:inherit}
}
