#surface-transit-dialog{--route-accent:#d6ef49;--route-ink:#181918;--route-paper:#f2f2e9;box-sizing:border-box;inset:0;margin:0;width:100vw;height:100dvh;max-width:none;max-height:none;border:0;border-radius:0;padding:0;background:var(--route-ink)!important;color:var(--route-paper)!important;overflow:hidden;font:500 15px/1.5 'UDG Display','Microsoft JhengHei',sans-serif;backdrop-filter:none!important;color-scheme:dark}
#surface-transit-dialog[open]{display:flex;flex-direction:column}#surface-transit-dialog::backdrop{background:#181918}
#surface-transit-dialog *{box-sizing:border-box}#surface-transit-dialog header{height:80px;min-height:80px;display:flex;align-items:center;gap:20px;padding:12px 26px;border-bottom:2px solid #393b36}
#surface-transit-dialog header>div{display:flex;align-items:center;gap:22px}#surface-transit-dialog h2{margin:0;font-size:48px;font-weight:900;font-style:italic;letter-spacing:-.04em;line-height:1}
#surface-transit-dialog .transit-eyebrow{font:900 16px/1.05 Arial,sans-serif;width:86px;margin:0;color:var(--route-paper)}#surface-transit-dialog .transit-origin{margin-left:auto;font-size:12px;color:#b4b7a9}
#surface-transit-dialog button{font-family:inherit;cursor:pointer;box-shadow:none;text-shadow:none;touch-action:manipulation}#surface-transit-dialog .transit-back{width:52px;height:52px;border:0;border-radius:50%;background:var(--route-accent);color:#151613;font:bold 40px/1 Arial,sans-serif;flex:none}
#surface-transit-dialog .transit-close{font-size:18px;font-weight:900;background:transparent;border:0;color:var(--route-paper);padding:10px 12px;min-height:44px}
#surface-transit-dialog .transit-body{display:grid;grid-template-columns:minmax(0,2.1fr) minmax(330px,1fr);flex:1;min-height:0;gap:0}
#surface-transit-dialog .transit-map{position:relative;min-width:0;overflow:hidden;background:#20221f}
#surface-transit-dialog .transit-chart,#surface-transit-dialog .transit-destinations{position:absolute;inset:0 0 43px}#surface-transit-dialog .transit-chart>svg{width:100%;height:100%}
#surface-transit-dialog .route-district{fill:#54564c;stroke:#20221f;stroke-width:7}#surface-transit-dialog g:nth-child(3n+1) .route-district{fill:#62664a}#surface-transit-dialog g:nth-child(3n) .route-district{fill:#696a60}
#surface-transit-dialog .route-skyline{fill:#262a23;opacity:.85}#surface-transit-dialog g.selected .route-district{fill:#929f49}#surface-transit-dialog g.current .route-district{fill:#707b49}
#surface-transit-dialog .route-outline,#surface-transit-dialog .route-line,#surface-transit-dialog .route-active{fill:none;stroke-linecap:round;stroke-linejoin:round}#surface-transit-dialog .route-outline{stroke:#141712;stroke-width:14}#surface-transit-dialog .route-line{stroke:#d9dccd;stroke-width:7}#surface-transit-dialog .route-active{stroke:var(--route-accent);stroke-width:6;stroke-dasharray:13 9}
#surface-transit-dialog .transit-node{position:absolute;transform:translate(-50%,-45%);width:122px;min-height:76px;padding:0;border:0;background:transparent;color:#141712;display:grid;grid-template-columns:45px 1fr;align-items:end;gap:0;isolation:isolate}
#surface-transit-dialog .transit-emblem{position:relative;grid-row:1/3;display:block;width:45px;height:58px;z-index:1;filter:drop-shadow(0 2px 0 #151712)}
#surface-transit-dialog .transit-emblem .waypoint-pin{position:absolute;inset:0;width:100%;height:100%;fill:var(--route-paper);stroke:#171915;stroke-width:3}
#surface-transit-dialog .transit-emblem>svg:not(.waypoint-pin){position:absolute;width:29px;height:29px;left:8px;top:9px}#surface-transit-dialog .transit-emblem>svg:not(.waypoint-pin) path{stroke-width:3}
#surface-transit-dialog .transit-node strong{white-space:nowrap;padding:3px 7px 4px 5px;min-width:77px;background:var(--route-paper);color:#171915;font-size:17px;font-weight:900;line-height:1.25;border:2px solid #171915;border-left:0;transform:skew(-7deg);margin:0 0 8px -5px}
#surface-transit-dialog .transit-node small{position:absolute;bottom:-12px;left:45px;font-size:10px;font-weight:700;color:#f2f2e9;white-space:nowrap}
#surface-transit-dialog .transit-node[aria-pressed=true]{z-index:3}#surface-transit-dialog .transit-node[aria-pressed=true] .waypoint-pin,#surface-transit-dialog .transit-node[data-current=true] .waypoint-pin{fill:var(--route-accent)}#surface-transit-dialog .transit-node[aria-pressed=true] strong{background:var(--route-accent)}
#surface-transit-dialog .transit-node[data-current=true]{cursor:default;opacity:1}#surface-transit-dialog .transit-node:focus-visible{outline:3px solid var(--route-accent);outline-offset:6px}
#surface-transit-dialog .transit-ticket{margin:0;background:var(--route-paper);color:#151613;min-height:0;padding:24px;display:flex;align-items:stretch;flex-direction:column;gap:0;overflow:auto;clip-path:polygon(24px 0,calc(100% - 20px) 0,100% 20px,100% 100%,20px 100%,0 calc(100% - 20px),0 24px);color-scheme:light}
#surface-transit-dialog .ticket-label{display:none}#surface-transit-dialog .transit-ticket h3{margin:0;font-size:clamp(38px,5.2vw,72px);font-weight:900;line-height:1.1;font-style:italic;color:#11130f;letter-spacing:-.03em}
#surface-transit-dialog .ticket-arrival{margin:12px 0 16px;padding:7px 12px;background:#171915;border-right:12px solid var(--route-accent);color:var(--route-paper);font-size:clamp(14px,1.6vw,23px);font-weight:900;transform:skew(-7deg);line-height:1.3}
#surface-transit-dialog .ticket-seal{position:relative;min-height:115px;height:clamp(115px,21vh,240px);flex:none;background:#65685e;clip-path:polygon(22px 0,calc(100% - 22px) 0,100% 22px,100% calc(100% - 22px),calc(100% - 22px) 100%,22px 100%,0 calc(100% - 22px),0 22px);overflow:hidden;color:#353b2e}
#surface-transit-dialog .ticket-seal>svg{position:absolute;width:110%;height:140%;left:-5%;bottom:-35%}#surface-transit-dialog .route-seal-icon{position:absolute;inset:10px 0;display:grid;place-items:center;color:var(--route-paper)}#surface-transit-dialog .route-seal-icon svg{height:90%;max-width:70%}
#surface-transit-dialog .ticket-description{margin:14px 0;font-size:16px;font-weight:900;line-height:1.6;color:#262a22}
#surface-transit-dialog .ticket-route{margin-top:auto;border-top:3px solid #20231b;padding:12px 0;font-size:15px;font-weight:900}#surface-transit-dialog .ticket-route p{margin:5px 0;color:#262a22;font:inherit}
#surface-transit-dialog .transit-depart{flex:none;width:100%;min-height:58px;font-size:26px;font-weight:900;font-style:italic;padding:10px 12px;border:3px solid #181a13;border-radius:0;background:var(--route-accent);color:#151613;clip-path:polygon(12px 0,calc(100% - 12px) 0,100% 12px,100% calc(100% - 12px),calc(100% - 12px) 100%,12px 100%,0 calc(100% - 12px),0 12px)}
#surface-transit-dialog footer{position:absolute;bottom:0;left:0;width:67.7%;height:43px;display:flex;align-items:center;justify-content:space-between;padding:0 26px;color:#f2f2e9;font-size:14px;font-weight:900;background:#20221f}#surface-transit-dialog footer span:first-child:before{content:'';display:inline-block;width:9px;height:18px;transform:skew(-20deg);background:var(--route-accent);margin-right:12px;vertical-align:middle}
#surface-transit-dialog .transit-depart:focus-visible,#surface-transit-dialog .transit-close:focus-visible,#surface-transit-dialog .transit-back:focus-visible{outline:3px solid #acbf36;outline-offset:3px}#surface-transit-dialog button:active{filter:brightness(.88)}
@media(hover:hover){#surface-transit-dialog .transit-node:hover strong{background:var(--route-accent)}#surface-transit-dialog .transit-depart:hover{background:#e4ff67}}
@media(max-width:1050px) and (min-width:721px){#surface-transit-dialog .transit-body{grid-template-columns:minmax(0,1.8fr) 310px}#surface-transit-dialog .transit-node{width:97px;grid-template-columns:37px 1fr}#surface-transit-dialog .transit-emblem{width:37px;height:48px}#surface-transit-dialog .transit-emblem>svg:not(.waypoint-pin){width:24px;height:24px;left:6px;top:8px}#surface-transit-dialog .transit-node strong{font-size:14px;min-width:65px;padding:3px 4px}#surface-transit-dialog footer{width:calc(100% - 310px)}#surface-transit-dialog .transit-ticket{padding:20px}}
@media(max-width:720px){#surface-transit-dialog header{height:70px;min-height:70px;padding:10px 14px;gap:12px}#surface-transit-dialog header>div{gap:12px}#surface-transit-dialog h2{font-size:34px}#surface-transit-dialog .transit-back{width:42px;height:42px;font-size:32px}#surface-transit-dialog .transit-eyebrow{font-size:11px;width:58px}#surface-transit-dialog .transit-origin{display:none}#surface-transit-dialog .transit-close{margin-left:auto;font-size:14px;padding:8px 0}#surface-transit-dialog .transit-body{display:flex;flex-direction:column;overflow:hidden}#surface-transit-dialog .transit-map{flex:1;min-height:130px;overflow:auto;padding:9px 12px 13px}#surface-transit-dialog .transit-chart{display:none}#surface-transit-dialog .transit-destinations{position:static;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 4px}#surface-transit-dialog .transit-node{position:relative!important;top:auto!important;left:auto!important;transform:none;width:100%;min-height:62px;grid-template-columns:31px minmax(0,1fr)}#surface-transit-dialog .transit-emblem{width:31px;height:41px}#surface-transit-dialog .transit-emblem>svg:not(.waypoint-pin){width:20px;height:20px;left:5px;top:7px}#surface-transit-dialog .transit-node strong{font-size:13px;min-width:0;padding:5px 4px;margin-bottom:5px}#surface-transit-dialog .transit-node small{bottom:-5px;left:32px;font-size:9px}#surface-transit-dialog .transit-ticket{flex:none;min-height:0;padding:17px 18px 18px;display:grid;grid-template-columns:1fr 72px;column-gap:12px;clip-path:polygon(16px 0,100% 0,100% 100%,0 100%,0 16px)}#surface-transit-dialog .transit-ticket h3{font-size:35px;grid-column:1}#surface-transit-dialog .ticket-arrival{font-size:14px;grid-column:1;margin:6px 0 8px;padding:5px 8px}#surface-transit-dialog .ticket-seal{grid-column:2;grid-row:1/4;height:88px;min-height:88px;clip-path:none}#surface-transit-dialog .ticket-description{grid-column:1;font-size:11px;line-height:1.4;margin:0 0 8px}#surface-transit-dialog .ticket-route{grid-column:1/-1;padding:5px 0;border-top:2px solid #20231b;font-size:12px}#surface-transit-dialog .ticket-route p{display:inline-block;margin:3px 12px 3px 0}#surface-transit-dialog .transit-depart{grid-column:1/-1;min-height:48px;font-size:22px;margin-top:5px}#surface-transit-dialog footer{display:none}}
@media(max-height:520px) and (min-width:721px){#surface-transit-dialog header{height:62px;min-height:62px}#surface-transit-dialog h2{font-size:34px}#surface-transit-dialog .transit-ticket h3{font-size:34px}#surface-transit-dialog .ticket-seal{display:none}#surface-transit-dialog .transit-node strong{font-size:12px}#surface-transit-dialog .transit-node{min-height:48px}#surface-transit-dialog .transit-emblem{width:31px;height:42px}#surface-transit-dialog .transit-emblem>svg:not(.waypoint-pin){width:22px;height:22px;left:4px;top:6px}}
@media(prefers-reduced-motion:no-preference){#surface-transit-dialog[open]{animation:route-enter .16s ease-out}@keyframes route-enter{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}}

/* Wide-screen proportions follow the saved route-map design target. */
@media(min-width:1400px){
 #surface-transit-dialog header{height:94px;min-height:94px}
 #surface-transit-dialog h2{font-size:66px}
 #surface-transit-dialog .transit-eyebrow{font-size:22px;width:110px}
 #surface-transit-dialog .transit-back{width:66px;height:66px;font-size:48px}
 #surface-transit-dialog .transit-close{font-size:24px}
 #surface-transit-dialog .transit-node{width:160px;min-height:96px;grid-template-columns:59px 1fr}
 #surface-transit-dialog .transit-emblem{width:59px;height:76px}
 #surface-transit-dialog .transit-emblem>svg:not(.waypoint-pin){width:37px;height:37px;left:11px;top:12px}
 #surface-transit-dialog .transit-node strong{font-size:23px;min-width:102px}
 #surface-transit-dialog .transit-node small{left:59px;font-size:12px}
 #surface-transit-dialog .ticket-seal{height:29vh}
 #surface-transit-dialog .ticket-description{font-size:20px}
 #surface-transit-dialog .ticket-route{font-size:20px;padding:14px 0}
 #surface-transit-dialog .transit-depart{min-height:76px;font-size:32px}
}

html body .scene-tools #render-quality{width:auto;min-width:72px;white-space:nowrap;font-size:11px;padding:0 10px}
@media(max-width:700px){html body .scene-tools #render-quality{grid-column:auto!important;width:100%!important;min-width:0!important;height:44px!important;min-height:44px!important;padding:3px!important;font-size:10px!important;line-height:1.2!important;white-space:normal}}

#player-account-button{min-height:40px;padding:8px 12px;border:1px solid #d6ef49;border-radius:4px;background:#1b2015;color:#f2f2e9;font-weight:800;cursor:pointer}
#player-account-dialog{box-sizing:border-box;inset:0;margin:0;width:100vw;height:100dvh;max-width:none;max-height:none;padding:0;background:#20231c!important;color:#f2f2e9!important;border:0!important;border-radius:0;overflow:hidden;font:500 14px/1.6 'UDG Display','Microsoft JhengHei',sans-serif;backdrop-filter:none!important;color-scheme:dark}
#player-account-dialog[open]{display:flex;flex-direction:column}#player-account-dialog::backdrop{background:#181918}#player-account-dialog *{box-sizing:border-box}
#player-account-dialog header{height:80px;min-height:80px;display:flex;align-items:center;justify-content:space-between;padding:12px 32px;background:#181918;border-bottom:2px solid #414536}
#player-account-dialog header>div{display:flex;align-items:center;gap:22px;flex-direction:row-reverse}#player-account-dialog .passport-eyebrow{font:900 12px/1.1 Arial,sans-serif;width:60px;margin:0;color:#b8bea6}#player-account-dialog h2{font-size:36px;font-weight:900;font-style:italic;margin:0;line-height:1}
#player-account-dialog button{font-family:inherit;cursor:pointer;touch-action:manipulation;box-shadow:none;text-shadow:none}#player-account-dialog button:disabled{cursor:wait;opacity:.6}#player-account-dialog .passport-close{min-height:44px;background:#343c28;color:#f2f2e9;border:2px solid #7b8862;border-radius:5px;padding:8px 16px;font-size:14px;font-weight:900;white-space:nowrap}
#player-account-dialog .passport-content{display:grid;grid-template-columns:minmax(280px,1fr) minmax(0,1.6fr);flex:1;min-height:0}
#player-account-dialog .passport-identity{position:relative;overflow:hidden;background:#525b42;display:flex;flex-direction:column;justify-content:flex-end;align-items:flex-start;padding:30px 34px}
#player-account-dialog .passport-seal{position:absolute;inset:0;z-index:0;overflow:hidden;background:radial-gradient(ellipse at 60% 65%,#77805c,#333d2a)}#player-account-dialog .passport-seal img{position:absolute;right:-2%;bottom:0;width:100%;height:100%;object-fit:contain;object-position:center 10%;filter:drop-shadow(12px 5px 0 #18220c66)}
#player-account-dialog .passport-identity h3{position:relative;font-size:38px;font-weight:900;font-style:italic;line-height:1.2;margin:0 0 8px;overflow-wrap:anywhere;max-width:100%;color:#f2f2e9;text-shadow:2px 3px #151f0c;background:#181e15ba;padding:5px 10px}
#player-account-dialog .passport-outfit{position:relative;font-size:10px;letter-spacing:.08em;margin:0 0 12px;color:#f2f2e9;background:#181e15cf;padding:4px 10px}
#player-account-dialog .passport-count{position:relative;font-size:13px;line-height:1.6;margin:0;background:#d6ef49;color:#1a2212;padding:7px 11px;font-weight:900}
#player-account-dialog .passport-sheet{overflow:auto;min-width:0;background:#f2f2e9;color:#1d2117;padding:28px clamp(24px,5vw,70px);color-scheme:light}#player-account-dialog .passport-sheet h3{font-size:28px;font-weight:900;margin:0 0 16px;color:#1d2117}
#player-account-dialog .passport-form{display:flex;flex-direction:column;gap:13px}#player-account-dialog .passport-form label{display:flex;flex-direction:column;gap:5px;margin:0;color:#333c28;font-weight:800;font-size:12px}
#player-account-dialog .passport-form :is(input,textarea){width:100%;min-height:44px;padding:9px 12px;margin:0;background:#fff!important;color:#1c2115!important;border:2px solid #9da58b;border-color:#9da58b!important;border-radius:4px;font:500 16px/1.5 'UDG Display','Microsoft JhengHei',sans-serif;box-shadow:none;text-shadow:none}
#player-account-dialog .passport-form input[readonly]{background:#dfe3d2!important;color:#545d46!important;cursor:default}#player-account-dialog .passport-form textarea{resize:vertical;max-height:180px;min-height:85px}
#player-account-dialog .passport-primary{align-self:flex-end;min-height:48px;min-width:160px;padding:8px 20px;border:2px solid #1d2314;border-radius:4px;background:#d6ef49;color:#18200e;font-size:18px;font-weight:900}
#player-account-dialog .passport-tabs{display:flex;gap:0;border-bottom:3px solid #20271a;margin-bottom:22px}#player-account-dialog .passport-tabs button{min-height:44px;flex:1;border:0;border-radius:0;background:#e1e5d6;color:#5b654c;padding:9px 14px;font-size:15px;font-weight:800}#player-account-dialog .passport-tabs button[aria-pressed=true]{background:#20271a;color:#d6ef49}
#player-account-dialog .passport-copy{font-size:13px;color:#58624b;margin:0 0 18px}#player-account-dialog .passport-guide,#player-account-dialog .passport-local{font-size:11px;line-height:1.7;color:#657056;margin:0}#player-account-dialog .passport-local{margin-top:22px;border-top:1px solid #a8b199;padding-top:14px}
#player-account-dialog .passport-message{margin:0;color:#a03428;font-size:13px;font-weight:700;min-height:20px}
#player-account-dialog .passport-journey{border-top:3px solid #20271a;margin:24px 0 18px;padding-top:18px}#player-account-dialog .passport-journey h3{font-size:22px}
#player-account-dialog .passport-stamps{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}#player-account-dialog .passport-stamp{position:relative;aspect-ratio:1;border:1px solid #a9b09d;background:#e2e6d9;display:flex;align-items:center;justify-content:center;flex-direction:column;color:#788368;font-size:10px;border-radius:3px;opacity:.68}
#player-account-dialog .passport-stamp span{display:block;width:42%;line-height:0}#player-account-dialog .passport-stamp svg{width:100%}#player-account-dialog .passport-stamp strong{font-size:10px;font-weight:800;white-space:nowrap}#player-account-dialog .passport-stamp.is-visited{border:2px solid #323b21;color:#253017;background:#dce7b7;opacity:1}#player-account-dialog .passport-stamp.is-visited:after{content:'✓';position:absolute;right:3px;top:0;font:900 12px/1.3 Arial,sans-serif}
#player-account-dialog .passport-logout{display:block;min-height:42px;margin:20px 0 0 auto;padding:8px 30px;background:#252c1e;border:0;border-radius:4px;color:#f2f2e9;font-size:14px;font-weight:800}
#player-account-dialog :is(button,input,textarea):focus-visible{outline:3px solid #869b29;outline-offset:3px}#player-account-dialog input:invalid:not(:placeholder-shown):focus{border-color:#8d973f}
@media(max-width:720px){#player-account-dialog header{height:70px;min-height:70px;padding:10px 16px}#player-account-dialog header>div{gap:12px}#player-account-dialog h2{font-size:28px}#player-account-dialog .passport-eyebrow{font-size:10px;width:50px}#player-account-dialog .passport-close{font-size:12px;padding:8px 10px;border-width:1px}#player-account-dialog .passport-content{display:flex;flex-direction:column;overflow:auto}#player-account-dialog .passport-identity{min-height:160px;height:160px;flex:none;padding:19px 20px;justify-content:center;align-items:flex-start}#player-account-dialog .passport-seal img{width:170px;height:280px;right:0;top:-13px;object-fit:contain;object-position:top}#player-account-dialog .passport-identity h3{font-size:24px;max-width:62%;padding:2px 6px;margin:0 0 5px}#player-account-dialog .passport-outfit{font-size:8px;margin:0 0 8px;padding:2px 6px}#player-account-dialog .passport-count{font-size:11px;max-width:64%;padding:5px 7px}#player-account-dialog .passport-sheet{flex:none;overflow:visible;padding:23px 20px}#player-account-dialog .passport-sheet h3{font-size:24px}#player-account-dialog .passport-stamps{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}#player-account-dialog .passport-primary{min-width:150px;font-size:17px}#player-account-dialog .passport-stamp strong{font-size:10px}}
@media(prefers-reduced-motion:no-preference){#player-account-dialog[open]{animation:passport-enter .16s ease-out}@keyframes passport-enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}}

#player-account-dialog .passport-form [aria-invalid=true]{border-color:#a03428!important}

#player-account-dialog .passport-gender{border:0;padding:0;margin:2px 0;display:flex;gap:10px;min-width:0}
#player-account-dialog .passport-gender legend{font-size:12px;font-weight:800;margin-bottom:6px;color:#333c28}
#player-account-dialog .passport-form .passport-gender label{flex:1;flex-direction:row;align-items:center;gap:8px;min-height:48px;border:2px solid #9da58b;border-radius:4px;padding:8px 12px;cursor:pointer;background:#f3f5e9}
#player-account-dialog .passport-form .passport-gender label:has(input:checked){background:#d4f24d;border-color:#29351c;color:#18200f}
#player-account-dialog .passport-form .passport-gender input{width:18px;height:18px;min-height:18px;padding:0;accent-color:#334219;flex:none}
#player-account-dialog .passport-gender-title{font-size:14px;font-weight:800;color:#e4f7a3;margin:12px 0 0}
#player-account-dialog :is(.passport-copy,.passport-count):empty{display:none}
/* Compact, optional scenery download alongside account entry. */
#player-account-dialog .passport-prefetch{flex:none;display:flex;align-items:center;gap:12px;padding:6px 20px;border-top:1px solid #c4cba52b;font-size:12px;color:#e6ebd6;background:#20251c}
#player-account-dialog .passport-prefetch[hidden]{display:none}
.passport-prefetch span{flex:1;min-width:0}
.passport-prefetch progress{width:85px;height:5px;accent-color:#d6ef49}
#player-account-dialog .passport-prefetch button{min-height:44px;padding:6px 12px;white-space:nowrap;background:transparent;border:1px solid #c4cba55c;border-radius:5px;color:inherit;cursor:pointer}
@media(max-width:480px){#player-account-dialog .passport-prefetch{gap:8px;padding:4px 12px}.passport-prefetch progress{width:40px}}

.passport-recovery-code{margin:14px 0;padding:16px;border:1px dashed #d6ef49;border-radius:10px;background:#0c1a2c;color:#f2f7d2;font:700 clamp(18px,4.6vw,26px)/1.3 ui-monospace,Consolas,monospace;letter-spacing:.08em;text-align:center;user-select:all;word-break:break-all}.passport-security{margin-top:22px;padding-top:16px;border-top:1px solid #ffffff22}
.wardrobe-option.is-locked{cursor:default;filter:saturate(.35) brightness(.8)}.wardrobe-option.is-locked .wardrobe-selected{color:#f3d58f}.wardrobe-option.is-locked .wardrobe-selected::before{content:'🔒 '}

:root{--g-accent:#d6ef49;--g-ink:#181918;--g-paper:#f2f2e9;--g-muted:#acb0a2}
html body.game-interface{font-family:'UDG Display','Microsoft JhengHei',sans-serif;background:#181918}
html body.game-interface .mixtape-home,html body.game-interface .mixtape-comments,html body.game-interface .broadcast,html body.game-interface #realm-atlas-toggle{display:none!important}
html body.game-interface .world{position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;min-height:0!important;max-height:none!important;border:0!important}
html body.game-interface #space-canvas{inset:0!important;top:0!important;height:100%!important}
html body.game-interface #game-hud{position:fixed;inset:0 0 auto;height:100px;display:flex;align-items:flex-start;justify-content:space-between;padding:20px 26px;z-index:70;pointer-events:none;background:linear-gradient(#11150dcc,transparent)}
html body.game-interface #game-hud button{pointer-events:auto}
#game-hud button,#game-actions button,#game-menu button{font:800 14px/1.25 'UDG Display','Microsoft JhengHei',sans-serif;cursor:pointer;touch-action:manipulation}
#game-hud .game-command,#game-actions .game-command{position:relative;display:flex;align-items:center;gap:8px;color:#f2f2e9;border:2px solid #f2f2e973;background:#191c18cc;border-radius:8px;min-height:46px;padding:9px 12px;box-shadow:2px 3px 0 #10120e66;text-shadow:none;backdrop-filter:none}
#game-hud svg,#game-actions svg,#game-menu svg{width:25px;height:25px;flex:none}
#game-hud kbd,#game-actions kbd{font:800 10px/1.1 Arial,sans-serif;border-radius:3px;padding:3px 4px;background:#f2f2e9;color:#1c2017;box-shadow:0 2px 0 #8c9380}
#game-hud .game-shortcuts{display:flex;gap:10px}#game-hud #game-identity{padding:4px 12px 4px 4px;border-radius:30px 8px 8px 30px;min-width:167px;max-width:270px}
#game-hud .game-avatar{display:block;flex:none;width:46px;height:46px;border-radius:50%;border:2px solid #f2f2e9;background:#414637 url('/world2/characters/mutsumi-dropdead-portrait.webp') center 8%/180% auto no-repeat}
#game-hud .game-identity-copy{text-align:left;min-width:0}#game-hud .game-identity-copy strong{display:block;font-size:16px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:150px}#game-hud .game-identity-copy small{display:block;font-size:9px;letter-spacing:.05em;color:#c7cbbd}
#game-hud #game-identity kbd{margin-left:5px}
html body.game-interface .world-heading{top:96px!important;left:28px!important;max-width:330px!important;padding:0!important;background:none!important;pointer-events:none;border-radius:0!important;border:0!important;box-shadow:none!important}
html body.game-interface .world-heading h1,html body.game-interface #world-title{font:900 24px/1.35 'UDG Display','Microsoft JhengHei',sans-serif!important;color:#fff!important;text-shadow:0 2px 4px #111a!important;letter-spacing:.02em!important;margin:0!important}
html body.game-interface #world-subtitle{font:700 10px/1.3 'UDG Display','Microsoft JhengHei',sans-serif!important;letter-spacing:.04em!important;color:#e4e7d8!important;text-shadow:0 2px 3px #111!important;margin:0 0 4px!important}
html body.game-interface #galaxy-back{pointer-events:auto;position:relative;background:#191c18cc!important;border:1px solid #d2d8c09c!important;border-radius:6px!important;color:#eef0e4!important;font-size:11px!important;min-height:30px;padding:6px 10px!important;margin:0 0 10px!important;box-shadow:none!important}
html body.game-interface #game-actions{position:fixed;right:28px;bottom:28px;display:flex;align-items:flex-end;gap:12px;z-index:65}html body.game-interface #game-actions[hidden]{display:none!important}
#game-actions .game-command{min-width:70px;height:62px;flex-direction:column;gap:3px;padding:8px 13px;font-size:11px}#game-actions .game-command kbd{position:absolute;right:-3px;top:-5px}
html body.game-interface #game-actions #run-toggle{min-width:64px;height:52px;border:2px solid #c7cfb4;border-radius:8px;background:#1a201bd9;color:#f2f2e9;font-size:12px;font-weight:900;padding:10px;box-shadow:2px 3px 0 #10120e66}html body.game-interface #game-actions #run-toggle[aria-pressed=true]{background:var(--g-accent);color:#161b10;border-color:#161b10}
html body.game-interface .world-status{left:28px!important;bottom:86px!important;right:auto!important;background:none!important;padding:0!important;pointer-events:none}
html body.game-interface #presence{font-size:10px!important;font-weight:600!important;opacity:.85!important;color:#f2f2e9!important;text-shadow:0 1px 3px #111!important}html body.game-interface #navigation-help{display:none!important}
html body.game-interface #world-chat:not(.is-open){bottom:24px!important;left:26px!important;min-width:0!important;width:auto!important;background:#1a201bd9!important;border:2px solid #c7cfb466!important;border-radius:8px!important;box-shadow:none!important;backdrop-filter:none!important}
html body.game-interface #world-chat .chat-bar{min-height:43px}html body.game-interface #world-chat .chat-toggle{color:#f2f2e9!important;background:none!important;font-size:11px!important}html body.game-interface #world-chat .chat-rename{background:#343c2d!important;border:0!important;color:#f2f2e9!important;border-radius:5px!important}
html body.game-interface #world-chat.is-open{z-index:75;bottom:24px!important;left:24px!important;background:#20241ef5!important;border:2px solid #8f9c73!important;backdrop-filter:none!important}
/* The pet controller owns translation and scale so pointer dragging works. */
html body.game-interface #realm-atlas{top:83px!important;right:26px!important;width:340px;max-height:calc(100dvh - 120px);background:#20231bf5!important;border:2px solid #d6ef49!important;border-radius:4px!important;box-shadow:none!important;backdrop-filter:none!important;z-index:76}
html body.game-interface #realm-atlas button{background:none!important;color:#f2f2e9!important;border:0!important;border-bottom:1px solid #646c4c!important;border-radius:0!important;padding:12px!important;box-shadow:none!important}html body.game-interface #realm-atlas button span{color:#b8bea8!important}
html body.game-interface #space-labels .space-marker,html body.game-interface #space-labels .space-marker[data-scope=galaxy]{background:#1d2419df!important;border-color:#d7e0c37a!important;color:#f2f2e9!important;box-shadow:none!important;backdrop-filter:none!important;border-radius:5px!important}
html body.game-interface #space-labels .space-marker :is(span,strong){color:#f2f2e9!important;box-shadow:none!important}
html body.game-interface :is(.expedition-interaction,.lift-interaction){bottom:107px!important;background:#1d2419e6!important;border:2px solid #c9d9a763!important;border-radius:7px!important;box-shadow:none!important;backdrop-filter:none!important}
html body.game-interface :is(.expedition-interaction,.lift-interaction)>button{background:#f2f2e9!important;color:#1b2114!important;border:0!important;border-radius:4px!important;box-shadow:none!important;text-shadow:none!important;font-weight:900!important}
#game-menu{inset:0!important;margin:0!important;width:100vw!important;height:100dvh!important;max-width:none!important;max-height:none!important;padding:0!important;border:0!important;border-radius:0!important;background:#24271f!important;color:#f2f2e9!important;backdrop-filter:none!important;overflow:hidden;font:500 14px/1.5 'UDG Display','Microsoft JhengHei',sans-serif}
#game-menu[open]{display:flex!important;flex-direction:column}#game-menu::backdrop{background:#181918}#game-menu *{box-sizing:border-box}
#game-menu .game-menu-header{height:78px;min-height:78px;padding:14px 28px;display:flex;align-items:center;gap:22px;background:#181918;border-bottom:2px solid #414536}
#game-menu .game-menu-header h2{font-size:28px;font-weight:900;margin:0;color:#f2f2e9}#game-menu .game-menu-header p{font:800 11px/1.2 Arial,sans-serif;margin-left:auto;color:#a9b294}
#game-menu .game-menu-header .game-command{display:grid;place-items:center;width:48px;height:48px;border:0;border-radius:50%;background:#d6ef49;color:#171c11;padding:0}#game-menu .game-menu-header .game-command span{display:none}
#game-menu .game-menu-middle{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(350px,1fr);flex:1;min-height:0}
#game-menu .game-menu-hero{position:relative;overflow:hidden;background:radial-gradient(ellipse at 65% 70%,#676d53,#353b2d 70%)}#game-menu .game-menu-hero>img{position:absolute;right:3%;bottom:-3%;height:99%;width:75%;object-fit:contain;filter:drop-shadow(12px 8px 0 #131a1380)}
#game-menu .game-hero-type{position:absolute;left:-8px;top:20px;font:900 italic clamp(100px,19vw,300px)/1 Arial,sans-serif;letter-spacing:-.08em;color:#777e5c45;user-select:none}
#game-menu .game-hero-title{position:absolute;bottom:28px;left:32px;color:#f2f2e9;text-shadow:2px 3px 0 #17200f}#game-menu .game-hero-title h3{font-size:64px;line-height:1;margin:5px 0 12px;font-weight:900;font-style:italic}#game-menu .game-hero-title small{font:900 16px/1 Arial,sans-serif;letter-spacing:.08em;color:#d6ef49}#game-menu .game-hero-title p{font-size:10px;letter-spacing:.04em;margin:0}
#game-menu .game-menu-side{padding:25px 28px;overflow:auto;background:#24271f}#game-menu .game-place{border-bottom:2px solid #656e51;padding-bottom:22px;margin-bottom:10px}#game-menu .game-place small{font-size:11px;color:#b2b99e}#game-menu .game-location{font-size:27px;line-height:1.3;margin:6px 0 18px;font-weight:900;color:#f2f2e9}
#game-menu .game-place button{background:#d6ef49;color:#1b2114;min-height:46px;border:2px solid #12180b;border-radius:4px;padding:8px 16px;display:flex;align-items:center;gap:12px;font-weight:900}
#game-menu details{border-bottom:1px solid #565f47;padding:0}#game-menu summary{font-weight:900;font-size:17px;cursor:pointer;padding:16px 2px;min-height:52px}#game-menu details[open]>summary{color:#d6ef49}
html body.game-interface #game-menu .scene-tools{position:static!important;inset:auto!important;transform:none!important;width:100%!important;max-width:none!important;background:none!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;padding:0 0 12px!important;border-radius:0!important}
html body.game-interface #game-menu .scene-tools button{min-width:0!important;min-height:42px!important;height:auto!important;grid-column:auto!important;width:100%!important;font:800 12px/1.3 'UDG Display','Microsoft JhengHei',sans-serif!important;border:1px solid #77825e!important;border-radius:4px!important;background:#363e2b!important;color:#f2f2e9!important;box-shadow:none!important;padding:8px!important;white-space:normal!important;text-shadow:none!important}
html body.game-interface #game-menu .scene-tools button[hidden]{display:none!important}html body.game-interface #game-menu .scene-tools #surface-transit-button{display:none!important}
#game-menu .game-key-help{white-space:pre-line;font-size:10px;line-height:2;color:#aeb79c;margin:0 0 14px}
html body.game-interface #game-menu .region-menu{position:static!important;inset:auto!important;width:100%!important;height:auto!important;max-width:none!important;display:flex!important;flex-direction:column!important;transform:none!important;gap:8px!important;opacity:1!important;margin:0 0 14px!important}
html body.game-interface #game-menu .region-menu button{background:#343b2c!important;color:#f2f2e9!important;min-height:44px!important;border:1px solid #77825e!important;border-radius:4px!important;box-shadow:none!important;display:flex!important;align-items:center!important;gap:10px!important;padding:8px 12px!important;font-size:12px!important}
html body.game-interface #game-menu .region-menu .region-emblem{width:26px!important;height:26px!important;background:none!important;border:0!important;box-shadow:none!important;padding:0!important}
#game-menu .official-channels{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}#game-menu .official-channels a{display:flex;align-items:center;gap:5px;padding:8px 11px;background:#343b2c;color:#f2f2e9;text-decoration:none;border-radius:4px;font-size:11px}#game-menu .official-channels svg{width:18px;height:18px}
#game-menu .game-menu-nav{display:flex;align-items:stretch;justify-content:center;gap:0;min-height:96px;background:#151713;border-top:2px solid #414536}
#game-menu .game-menu-nav button{min-width:100px;flex:1;max-width:170px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;border:0;border-radius:0;background:transparent;color:#f2f2e9;font-size:13px;min-height:92px;box-shadow:none}
#game-menu .game-menu-nav svg{width:34px;height:34px;stroke-width:2.4}#game-menu .game-menu-nav button:focus-visible{background:#d6ef49;color:#151713;outline:0}
html body.game-interface :is(#game-hud,#game-menu,#game-actions) button:focus-visible{outline:3px solid #d6ef49;outline-offset:4px}html body.game-interface :is(#game-hud,#game-menu,#game-actions) .ui-click{animation:none!important}
@media(hover:hover){#game-hud button:hover,#game-actions button:hover{border-color:#d6ef49;color:#d6ef49}#game-menu .game-menu-nav button:hover{background:#d6ef49;color:#161b11}#game-menu .scene-tools button:hover{outline:2px solid #d6ef49;outline-offset:1px}}
@media(max-width:720px){html body.game-interface #game-hud{height:82px;padding:12px 14px}#game-hud #game-identity{min-width:0;max-width:164px;padding:3px 9px 3px 3px}#game-hud .game-avatar{width:37px;height:37px}#game-hud .game-identity-copy strong{font-size:13px;max-width:96px}#game-hud .game-identity-copy small{font-size:8px}#game-hud kbd,#game-actions kbd{display:none}#game-hud .game-shortcuts{gap:7px}#game-hud .game-shortcuts button{min-height:42px;padding:8px;gap:3px;border-width:1px;font-size:10px;flex-direction:column}#game-hud .game-shortcuts svg{width:20px;height:20px}html body.game-interface .world-heading{left:16px!important;top:85px!important;max-width:230px!important}html body.game-interface #world-title{font-size:18px!important}html body.game-interface #world-subtitle{font-size:9px!important}html body.game-interface #galaxy-back{font-size:10px!important;min-height:27px!important;margin-bottom:6px!important}html body.game-interface #game-actions{right:15px;bottom:24px;gap:7px}#game-actions .game-command{min-width:48px;width:48px;height:54px;font-size:9px;padding:7px}#game-actions svg{width:22px;height:22px}html body.game-interface #game-actions #run-toggle{min-width:45px;width:45px;height:45px;font-size:10px;padding:6px}html body.game-interface .world-status{left:16px!important;bottom:214px!important}html body.game-interface #world-chat:not(.is-open){left:15px!important;bottom:160px!important}html body.game-interface #world-chat .chat-rename{display:none}html body.game-interface #world-chat.is-open{left:12px!important;bottom:155px!important;width:calc(100vw - 24px)!important;max-width:350px}html body.game-interface .touch-move{left:16px!important;bottom:24px!important;z-index:67!important;gap:5px!important}html body.game-interface .touch-move button{width:44px!important;height:44px!important;background:#192016c9!important;border:2px solid #b7c5a380!important;color:#f2f2e9!important;box-shadow:none!important;border-radius:7px!important}html body.game-interface :is(.expedition-interaction,.lift-interaction){bottom:100px!important;max-width:calc(100% - 28px)!important;font-size:11px!important;padding:8px!important}html body.game-interface :is(.expedition-interaction,.lift-interaction)>button{font-size:11px!important;padding:9px!important}html body.game-interface .mutsumi-launch{width:96px!important}html body.game-interface .mutsumi-figure{width:96px!important;height:144px!important}html body.game-interface #realm-atlas{top:78px!important;right:12px!important;width:calc(100vw - 24px);max-height:calc(100dvh - 110px)}#game-menu .game-menu-header{height:66px;min-height:66px;padding:10px 15px;gap:14px}#game-menu .game-menu-header h2{font-size:22px}#game-menu .game-menu-header p{display:none}#game-menu .game-menu-header .game-command{width:42px;height:42px}#game-menu .game-menu-middle{grid-template-columns:38% minmax(0,1fr)}#game-menu .game-menu-side{padding:18px 14px}#game-menu .game-menu-hero>img{width:170%;max-width:none;height:83%;right:-31%;bottom:15%}#game-menu .game-hero-type{font-size:130px;left:-22px;top:30px;writing-mode:vertical-rl}#game-menu .game-hero-title{left:14px;bottom:28px}#game-menu .game-hero-title h3{font-size:42px}#game-menu .game-hero-title small{font-size:11px}#game-menu .game-hero-title p{font-size:7px}#game-menu .game-location{font-size:20px}#game-menu .game-place button{font-size:12px;width:100%;padding:8px;gap:5px}#game-menu .game-place button svg{width:21px}#game-menu summary{font-size:14px}#game-menu .game-menu-nav{min-height:76px}#game-menu .game-menu-nav button{min-width:0;min-height:76px;font-size:10px;gap:6px}#game-menu .game-menu-nav svg{width:26px;height:26px}html body.game-interface #game-menu .scene-tools{grid-template-columns:1fr!important}html body.game-interface #game-menu .scene-tools button{font-size:11px!important}#game-menu .game-key-help{font-size:9px}#game-menu .official-channels a{font-size:10px;padding:7px}}
@media(prefers-reduced-motion:no-preference){#game-menu[open]{animation:game-menu-open .16s ease-out}@keyframes game-menu-open{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}}

html body.game-interface :is(.expedition-interaction,.lift-interaction){max-width:calc(100vw - 32px)!important;color:#f2f2e9!important;min-height:0!important;padding:8px 12px!important}

@media(max-width:720px){html body.game-interface .lift-interaction{left:auto!important;right:15px!important;transform:none!important;width:200px!important;max-width:200px!important;bottom:100px!important;padding:6px!important}html body.game-interface .lift-interaction>span{display:none!important}}

/* Main-screen band promotion and content shortcuts, restored by user request. */
html body.game-interface .masthead{position:fixed!important;inset:0 0 auto!important;height:72px!important;display:flex!important;align-items:center;justify-content:space-between;gap:12px!important;padding:10px 24px!important;z-index:74!important;background:#171b16ed!important;border-bottom:1px solid #6f795c88!important;box-shadow:none!important;backdrop-filter:none!important}
html body.game-interface .masthead .brand{font-size:18px!important;letter-spacing:.06em!important;line-height:1.1;color:#f2f2e9!important;flex:none}
html body.game-interface .masthead .brand small{display:block;font-size:10px!important;margin-top:5px!important;letter-spacing:.12em;color:#c7d398}
html body.game-interface .masthead .official-channels{position:static!important;display:flex!important;align-items:center;justify-content:center;gap:4px!important;margin:0!important;overflow:visible!important;max-width:none!important}
html body.game-interface .masthead .official-channels a{display:flex!important;align-items:center;justify-content:center;min-height:44px;gap:6px!important;padding:8px 9px!important;border:1px solid #707b5866!important;border-radius:6px!important;color:#f2f2e9!important;background:#242c1d!important;font:700 11px/1.1 'Microsoft JhengHei',sans-serif!important;white-space:nowrap;text-decoration:none}
html body.game-interface .masthead .official-channels svg{display:block!important;width:21px!important;height:21px!important;flex:none}
html body.game-interface .masthead .official-channels .link-arrow{display:none!important}
html body.game-interface .masthead .official-channels a:hover{border-color:#d6ef49!important;background:#344025!important}
html body.game-interface .masthead>.cut.small{display:flex!important;align-items:center;min-height:44px;padding:8px 12px!important;gap:8px!important;font-size:12px!important;border:1px solid #b7c89a!important;border-radius:6px!important;background:#e7efd2!important;color:#222b18!important;box-shadow:none!important}
html body.game-interface #game-hud{top:82px;height:78px;padding:10px 26px;background:linear-gradient(#11150d88,transparent)}
html body.game-interface .world-heading{top:164px!important}
html body.game-interface .planet-dock{position:fixed!important;display:flex!important;left:50%!important;right:auto!important;bottom:max(12px,env(safe-area-inset-bottom))!important;transform:translateX(-50%)!important;width:auto!important;max-width:calc(100vw - 32px)!important;gap:4px!important;padding:6px!important;border:1px solid #9caa7d99!important;border-radius:10px!important;background:#1b2118f5!important;box-shadow:0 4px 18px #0005!important;backdrop-filter:none!important;z-index:74!important;overflow-x:auto;scrollbar-width:thin;justify-content:flex-start!important}
html body.game-interface .planet-dock a{min-width:72px;min-height:48px;display:flex;align-items:center;justify-content:center;gap:7px;padding:9px 12px;border-radius:6px;color:#f2f2e9;text-decoration:none;font-size:12px;font-weight:800;white-space:nowrap;touch-action:manipulation}
html body.game-interface .planet-dock a svg{width:21px;height:21px;flex:none}
html body.game-interface .planet-dock a.active{color:#18200f;background:#d6ef49}
html body.game-interface .planet-dock a:hover{outline:1px solid #c1d58e}
html body.game-interface #game-actions{bottom:96px}
html body.game-interface #world-chat:not(.is-open),html body.game-interface #world-chat.is-open{bottom:96px!important}
html body.game-interface .world-status{bottom:157px!important}
html body.game-interface :is(.expedition-interaction,.lift-interaction){bottom:178px!important}
html body.game-interface #district{top:162px!important;bottom:86px!important;z-index:72!important}
html body.game-interface #realm-atlas{top:154px!important}
@media(max-width:900px) and (min-width:721px){html body.game-interface .masthead{padding-inline:16px!important}html body.game-interface .masthead .brand{font-size:15px!important}html body.game-interface .masthead .official-channels a{font-size:10px!important;padding:7px 5px!important;gap:4px!important}}
@media(max-width:720px){
 html body.game-interface .masthead{height:104px!important;padding:9px 12px 7px!important;display:grid!important;grid-template-columns:1fr auto!important;grid-template-rows:39px 44px!important;gap:4px 10px!important}
 html body.game-interface .masthead .brand{font-size:16px!important;grid-column:1;grid-row:1}
 html body.game-interface .masthead .brand small{font-size:8px!important;margin-top:3px!important}
 html body.game-interface .masthead>.cut.small{grid-column:2;grid-row:1;min-height:36px;padding:5px 10px!important;font-size:11px!important}
 html body.game-interface .masthead .official-channels{grid-column:1/-1;grid-row:2;width:100%!important;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px!important}
 html body.game-interface .masthead .official-channels a{min-width:0;min-height:44px;flex-direction:column;gap:3px!important;font-size:9px!important;padding:3px 1px!important}
 html body.game-interface .masthead .official-channels svg{width:18px!important;height:18px!important}
 html body.game-interface #game-hud{top:110px;height:60px;padding:6px 14px}
 html body.game-interface .world-heading{top:178px!important}
 html body.game-interface .planet-dock{bottom:max(6px,env(safe-area-inset-bottom))!important;max-width:calc(100vw - 16px)!important;gap:2px!important;padding:4px!important}
 html body.game-interface .planet-dock a{min-width:48px;min-height:48px;flex-direction:column;gap:3px;font-size:10px;padding:5px 6px}
 html body.game-interface .planet-dock a svg{width:19px;height:19px}
 html body.game-interface #game-actions{bottom:86px;right:14px}
 html body.game-interface .touch-move{bottom:86px!important}
 html body.game-interface #world-chat:not(.is-open),html body.game-interface #world-chat.is-open{bottom:225px!important}
 html body.game-interface .world-status{bottom:279px!important}
 html body.game-interface :is(.expedition-interaction,.lift-interaction){bottom:158px!important}
 html body.game-interface #district{top:176px!important;bottom:74px!important;max-height:calc(100dvh - 250px)!important}
 html body.game-interface #realm-atlas{top:172px!important;max-height:calc(100dvh - 250px)}
}

html body.game-interface #player-account-button{display:none!important}

html body.game-interface #district{background:#142033fc!important;backdrop-filter:none!important}
html body.game-interface #district .content-tabs,html body.game-interface #district #zone-code{display:none!important}
html body.game-interface #district .section-heading{margin-bottom:18px!important}
html body.game-interface #district .creative-empty{min-height:0!important;padding:24px!important;margin:16px 0!important}
html body.game-interface #district .project-archive{padding-top:20px!important;margin-top:24px!important}
html body.game-interface #district .project-note{padding:18px!important;min-height:0!important;display:flex;flex-direction:column;align-items:flex-start;gap:10px}
html body.game-interface #district .project-note h4{margin:0!important}
html body.game-interface #district .project-note small{margin:0!important}

html body.game-interface #district .project-note .project-description{margin:0!important;color:#d4dde9!important;font-size:14px!important;line-height:1.65!important;font-weight:400!important}
html body.game-interface #district .creative-empty .empty-title{margin:0 0 8px!important;font-weight:700}
html body.game-interface #district .creative-empty .empty-description{margin:0 0 16px!important;color:#c4cede!important;font-size:14px!important;line-height:1.65!important;font-weight:400!important}

/* Keep the established Mixtape artwork and lime/navy identity. The web entry
   uses document flow, system fonts and no continuous visual animation. */
html:has(body.web-light){overflow:auto;scroll-behavior:auto}
body.web-light{height:auto;min-height:100dvh;overflow:auto;background:#20231c!important;color:#eff3e6!important;--display:'Microsoft JhengHei',sans-serif;--body:'Microsoft JhengHei',sans-serif;--u-display:'Microsoft JhengHei',sans-serif;--u-body:'Microsoft JhengHei',sans-serif;font-family:var(--body)!important}
body.web-light *,body.web-light *::before,body.web-light *::after{animation:none!important;backdrop-filter:none!important;font-family:"Microsoft JhengHei",sans-serif!important}
body.web-light .world,body.web-light .mixtape-home,body.web-light .mixtape-comments,body.web-light .broadcast,body.web-light #world-preload{display:none!important}
body.web-light .masthead{position:relative!important;height:auto!important;min-height:88px;background:#181918!important;padding:20px max(24px,4vw)!important;gap:20px;flex-wrap:wrap;z-index:30}
body.web-light .masthead .brand{font-family:var(--display)!important;color:#eef2db!important}
body.web-light .masthead .official-channels{gap:7px!important;flex-wrap:wrap;height:auto!important;min-height:0!important}
body.web-light .official-channels a{min-height:40px!important}
body.web-light #web-entry{position:relative;max-width:1260px;min-height:calc(100dvh - 185px);margin:0 auto;padding:64px 44px 115px;display:grid;grid-template-columns:minmax(0,1.25fr) minmax(240px,.8fr);align-items:center;gap:48px;color:#eff3e6}
body.web-light .web-copy{position:relative;z-index:1}
body.web-light .web-copy .web-kicker{font:700 12px/1.5 Arial,sans-serif;letter-spacing:.14em;color:#cddd9c;margin:0 0 20px}
body.web-light .web-copy h1{font-family:var(--display)!important;font-size:clamp(32px,4vw,54px);line-height:1.28;margin:0 0 20px;letter-spacing:.015em;color:#f1f5e9}
body.web-light .web-intro{font-size:16px;line-height:1.9;color:#d3d8c7;margin:0 0 26px;max-width:32em}
body.web-light .web-primary{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 24px;border-radius:5px;background:#d6ef49;color:#172310;font-weight:700;font-size:16px}
body.web-light .web-downloads{margin-top:32px;padding-top:24px;border-top:1px solid #656f50}
body.web-light .web-downloads h2{font-size:19px;margin:0 0 8px;color:#f0f3df}
body.web-light .web-downloads p{font-size:13px;line-height:1.8;color:#b8bea6;margin:0 0 14px}
body.web-light .web-download-links{display:flex;flex-wrap:wrap;gap:12px}
body.web-light .web-download-links a{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:52px;padding:12px 16px;border:1px solid #9cb7ad;border-radius:5px;background:#343c28;color:#eef4e5;flex:1;min-width:190px;font-size:15px;font-weight:700}
body.web-light .web-download-links small{font-size:12px;font-weight:400;white-space:nowrap;color:#c3d4d9}
body.web-light .web-download-note{margin-top:12px;font-size:12px;line-height:1.8;color:#b8bea6}
body.web-light .web-download-note a{text-decoration:underline;text-underline-offset:3px}
body.web-light .web-cover{margin:0;max-width:430px;align-self:center}
body.web-light .web-cover img{display:block;aspect-ratio:1;width:100%;height:auto;border-radius:3px}
body.web-light .web-cover figcaption{display:flex;justify-content:space-between;gap:18px;padding-top:14px;font:14px/1.6 var(--body);color:#c9d9da}
body.web-light .web-cover figcaption a{text-decoration:underline;text-underline-offset:4px}
body.web-light .web-optional{margin-top:22px;font-size:13px;line-height:1.8;color:#b8bea6}
body.web-light .web-optional summary{cursor:pointer;min-height:38px}
body.web-light .web-optional a{display:inline-block;text-decoration:underline;text-underline-offset:3px;min-height:38px}
body.web-light .planet-dock{position:fixed!important;inset:auto 16px 18px!important;transform:none!important;width:max-content!important;max-width:calc(100% - 32px)!important;margin:auto!important;display:flex!important;gap:4px!important;padding:6px!important;border:1px solid #7b8d6e!important;border-radius:8px!important;background:#20271a!important;overflow-x:auto;box-shadow:none!important}
body.web-light .planet-dock a{display:inline-flex;justify-content:center;align-items:center;min-height:44px;min-width:64px;padding:10px 16px;border-radius:4px;font-size:14px;color:#dce6d9;white-space:nowrap}
body.web-light .planet-dock a[aria-current=page]{background:#d6ef49;color:#172310;font-weight:700}
body.web-light .district{position:relative!important;inset:auto!important;transform:none!important;max-height:none!important;height:auto!important;min-height:calc(100dvh - 190px);width:100%!important;max-width:1260px!important;margin:0 auto!important;padding:32px 40px 110px!important;overflow:visible!important;background:#20231c!important;border:0!important;box-shadow:none!important}
body.web-light.panel-open #web-entry{display:none}
body.web-light .preview-badge{display:none}
body.web-light :focus-visible{outline:3px solid #d6ef49!important;outline-offset:4px!important}
@media(max-width:760px){
 body.web-light .masthead{padding:16px!important;gap:13px!important;min-height:110px}
 body.web-light .official-channels{order:3;width:100%;justify-content:flex-start!important}
 body.web-light #web-entry{padding:32px 22px 110px;grid-template-columns:1fr;gap:30px;min-height:0}
 body.web-light .web-copy h1{font-size:34px}
 body.web-light .web-intro{font-size:15px;margin-bottom:20px}
 body.web-light .web-cover{max-width:360px;width:100%;margin:auto}
 body.web-light .web-downloads{margin-top:25px;padding-top:20px}
 body.web-light .web-download-links{flex-direction:column;gap:10px}
 body.web-light .planet-dock{inset:auto 8px max(8px,env(safe-area-inset-bottom))!important;max-width:calc(100% - 16px)!important}
 body.web-light .planet-dock a{min-width:48px;padding:9px 10px;font-size:13px}
 body.web-light .district{padding:24px 20px 100px!important}
}

/* Carry the world's charcoal, paper and acid-yellow menu language to its entrance. */
body.web-light .web-copy h1{font-family:'UDG Display','Microsoft JhengHei',sans-serif!important;font-weight:900;font-style:italic;font-size:clamp(38px,4.8vw,64px);letter-spacing:-.025em;line-height:1.15;max-width:9em}
body.web-light .web-enter{display:flex;justify-content:space-between;gap:30px;width:min(100%,440px);min-height:72px;border:2px solid #eff4c0;border-radius:5px;font-size:24px;font-weight:900;padding:16px 24px;box-sizing:border-box}
body.web-light .web-enter:hover{background:#e6ff61}
body.web-light .web-enter>span:last-child{font-size:32px;line-height:1}
body.web-light .web-entry-note{font-size:12px;color:#b8bea6;margin:10px 0 18px}
body.web-light .web-listen{font-size:14px;color:#eff3e6;text-decoration:underline;text-underline-offset:5px}
body.web-light .web-cover{padding:12px;background:#f2f2e9;transform:rotate(2deg);border-radius:3px}
body.web-light .web-cover figcaption,body.web-light .web-cover figcaption a{color:#20271a}
body.web-light .web-downloads h2{font-size:17px}
body.web-light .planet-dock a{gap:7px;font-weight:800}
body.web-light .planet-dock svg{width:20px;height:20px;flex:none}
body.account-entry #web-entry{visibility:hidden}
body.account-entry #player-account-dialog *{font-family:'UDG Display','Microsoft JhengHei',sans-serif!important}
@media(max-width:720px){body.web-light .web-copy h1{font-size:40px}body.web-light .web-enter{font-size:22px;min-height:66px}body.web-light .planet-dock a{flex-direction:column;gap:3px;padding:6px 9px;font-size:11px;min-width:40px}body.web-light .web-cover{transform:none}}
body.web-light .official-channels a,body.web-light .masthead>.cut{background:#303725!important;border:1px solid #68734e!important;color:#f2f2e9!important;border-radius:5px!important;box-shadow:none!important}

#load-status{position:fixed!important;z-index:100!important;top:auto!important;bottom:145px!important;left:50%!important;transform:translateX(-50%)!important;width:min(520px,calc(100% - 32px));padding:22px!important;grid-template-columns:56px 1fr auto;gap:14px;align-items:center;border:1px solid #d9b46c99!important;border-radius:6px!important;background:rgba(16,17,23,.94)!important;color:#f3f0e9!important;box-shadow:0 12px 32px #0004;backdrop-filter:none!important;text-align:left;white-space:normal;font:500 14px/1.5 'UDG Display','Microsoft JhengHei',sans-serif;opacity:1!important}
.world-loading #load-status{display:grid!important}
#load-status:disabled{cursor:wait}
#load-status .loading-copy{display:flex;flex-direction:column;min-width:0}
#load-status .loading-kicker{font:800 10px/1.5 Arial,sans-serif;letter-spacing:.18em;color:#9d99a8}
#load-status .loading-title{font-size:22px;font-weight:900;line-height:1.4;overflow-wrap:anywhere}
#load-status .loading-step{font-size:13px;color:#eaffb0;margin-top:4px}
#load-status .loading-counter{font:800 13px/1.5 Arial,sans-serif;color:#eaffb0;white-space:nowrap}
#load-status .loading-hint{grid-column:1/-1;border-top:1px solid rgba(255,255,255,.13);padding-top:12px;font-size:12px;line-height:1.6;color:#c9c5d2}
.loading-beat{display:flex;align-items:center;justify-content:center;gap:4px;height:50px}
.loading-beat>span{display:block;width:4px;height:32px;background:#eaffb0;transform:scaleY(.25);animation:world-beat .9s ease-in-out infinite alternate}
.loading-beat>span:nth-child(2n){animation-delay:-.6s}.loading-beat>span:nth-child(3n){animation-delay:-.3s}.loading-beat>span:nth-child(4n){animation-delay:-.8s}
#load-status[data-state=error] .loading-beat>span{animation:none;background:#f0ba87}
@keyframes world-beat{to{transform:scaleY(1)}}
@media(prefers-reduced-motion:reduce){.loading-beat>span{animation:none;transform:scaleY(.6)}}
@media(max-width:600px){#load-status{bottom:120px!important;padding:16px!important;grid-template-columns:42px 1fr auto;gap:10px}#load-status .loading-title{font-size:18px}.loading-beat{gap:3px}}

/* v1.0.33 member guide on the loading card */
#load-status{overflow:visible!important}
#load-status .loading-guide{position:absolute;right:14px;bottom:calc(100% - 16px);display:flex;align-items:flex-end;gap:2px;pointer-events:none;filter:drop-shadow(0 8px 14px rgba(0,0,0,.5))}
#load-status .loading-guide img{opacity:0;transform:translateY(14px);transition:opacity .45s ease,transform .6s cubic-bezier(.2,.9,.25,1.2)}
#load-status .loading-guide img.is-in{opacity:1;transform:none}
#load-status .loading-guide .lg-chibi{height:150px;width:auto}
#load-status .loading-guide .lg-chibi.is-in{animation:lg-bob 1.6s ease-in-out .6s infinite alternate}
#load-status .loading-guide .lg-prop{height:54px;width:auto;margin-bottom:12px;transition-delay:.18s}
#load-status .loading-guide .lg-prop.is-in{animation:lg-spin 5s ease-in-out .8s infinite alternate}
#load-status:not([data-state=loading]) .loading-guide{display:none}
@keyframes lg-bob{to{transform:translateY(-5px)}}@keyframes lg-spin{to{transform:rotate(10deg) translateY(-4px)}}
@media (max-width:700px){#load-status .loading-guide .lg-chibi{height:110px}#load-status .loading-guide .lg-prop{height:40px}}
@media (prefers-reduced-motion:reduce){#load-status .loading-guide img.is-in{animation:none}}

#player-account-dialog .passport-entry-actions{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 8px}
#player-account-dialog .passport-entry-actions .passport-logout{margin:0;background:transparent;color:#5d674e;padding:10px 0;text-decoration:underline;text-underline-offset:4px}
#player-account-dialog .passport-wardrobe{margin-top:24px;padding-top:22px;border-top:2px solid #28331e}
#player-account-dialog .wardrobe-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:16px}
#player-account-dialog .wardrobe-heading h3{margin:0;font-size:25px}
#player-account-dialog .wardrobe-heading>span{color:#677157;font-size:12px}
#player-account-dialog .wardrobe-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
#player-account-dialog .wardrobe-option{display:flex;flex-direction:column;text-align:left;position:relative;min-width:0;border:2px solid #bcc3af;border-radius:5px;background:#e6e9dc;padding:0 0 11px;color:#20271a;overflow:hidden}
#player-account-dialog .wardrobe-option[aria-pressed=true]{border-color:#344119;background:#d9ebac}
#player-account-dialog .wardrobe-art{height:156px;width:100%;position:relative;background:radial-gradient(ellipse at 50% 70%,#88926c,var(--outfit-tone));overflow:hidden}
#player-account-dialog .wardrobe-art img{display:block;width:100%;height:100%;object-fit:contain}
#player-account-dialog .wardrobe-art img[hidden]{display:none}
#player-account-dialog .wardrobe-option strong{font-size:17px;font-weight:900;margin:10px 12px 0;line-height:1.3}
#player-account-dialog .wardrobe-subtitle{color:#626c54;font-size:10px;margin:3px 12px 0}
#player-account-dialog .wardrobe-selected{font-size:11px;font-weight:800;margin:8px 12px 0;color:#6f7862}
#player-account-dialog .wardrobe-option[aria-pressed=true] .wardrobe-selected{color:#26340b}
#player-account-dialog .wardrobe-option[aria-pressed=true] .wardrobe-selected:before{content:'✓ ';font-weight:900}
#player-account-dialog .wardrobe-status{font-size:12px;min-height:20px;color:#505d38;margin:12px 0 0}
#player-account-dialog .passport-seal:has(.avatar-stage){bottom:134px}
#player-account-dialog .avatar-stage{position:absolute;inset:0 0 54px;overflow:hidden}
#player-account-dialog .avatar-stage canvas{display:block;width:100%;height:100%;cursor:grab;touch-action:pan-y;outline-offset:-4px}
#player-account-dialog .avatar-stage canvas.is-dragging{cursor:grabbing}
#player-account-dialog .passport-seal.avatar-ready>img{display:none}
#player-account-dialog .avatar-controls{position:absolute;left:10px;right:10px;bottom:4px;display:flex;gap:8px;align-items:center;justify-content:center}
#player-account-dialog .avatar-controls button{height:44px;min-width:44px;padding:6px 12px;border:1px solid #9aa67e;border-radius:4px;background:#252e20;color:#e7eddb;font-weight:800;font-size:17px}
#player-account-dialog .avatar-controls button:nth-child(2){font-size:12px}
#player-account-dialog .avatar-controls>span{color:#d5dec1;font-size:11px;margin-left:3px}
#player-account-dialog .avatar-status{position:absolute;z-index:1;top:10px;left:12px;right:12px;margin:0;padding:6px 10px;text-align:center;color:#e6eed8;background:#293421e8;font-size:12px;pointer-events:none}
#player-account-dialog .avatar-status[hidden]{display:none}
@media(max-width:720px){
 #player-account-dialog h2{font-size:clamp(20px,6vw,27px)}
 #player-account-dialog .passport-identity:has(.avatar-stage){height:390px;min-height:390px;justify-content:flex-end;padding:18px 20px}
 #player-account-dialog .passport-seal:has(.avatar-stage){bottom:94px}
 #player-account-dialog .passport-identity:has(.avatar-stage) h3{font-size:22px;margin-bottom:5px}
 #player-account-dialog .passport-identity:has(.avatar-stage) .passport-outfit{margin:0}
 #player-account-dialog .passport-gender-title{position:absolute;right:20px;bottom:24px;font-size:12px}
 #player-account-dialog .wardrobe-heading{align-items:center}
 #player-account-dialog .wardrobe-heading h3{font-size:23px}
 #player-account-dialog .wardrobe-options{gap:10px}
 #player-account-dialog .wardrobe-art{height:145px}
 #player-account-dialog .wardrobe-option strong{font-size:15px;margin-left:10px}
 #player-account-dialog .wardrobe-subtitle,#player-account-dialog .wardrobe-selected{margin-left:10px}
}

#player-account-dialog .passport-identity-details{position:absolute;left:32px;right:26px;bottom:26px;z-index:2;display:flex;flex-direction:column;align-items:flex-start;pointer-events:none}
#player-account-dialog .passport-seal:has(.avatar-stage){bottom:178px}
#player-account-dialog .passport-identity-details h3{font-size:30px;margin:0 0 7px}
#player-account-dialog .passport-identity-details .passport-gender-title{margin:8px 0 0}
@media(max-width:720px){#player-account-dialog .passport-identity-details{left:20px;right:20px;bottom:16px}#player-account-dialog .passport-identity-details h3{max-width:100%}#player-account-dialog .passport-seal:has(.avatar-stage){bottom:110px}#player-account-dialog .passport-identity-details .passport-gender-title{position:static;margin-top:5px}}

/* Let long account names size the footer instead of overlapping the rotation
   controls. The preview takes the remaining height on desktop and mobile. */
#player-account-dialog .passport-identity:has(.avatar-stage){padding:0;justify-content:flex-start}
#player-account-dialog .passport-seal:has(.avatar-stage){position:relative;inset:auto;width:100%;flex:1;min-height:0}
#player-account-dialog .passport-identity:has(.avatar-stage) .passport-identity-details{position:relative;inset:auto;flex:none;width:100%;padding:24px 32px 26px}
@media(max-width:720px){#player-account-dialog .passport-identity:has(.avatar-stage) .passport-identity-details{padding:14px 20px 16px}}

/* Phones held sideways (the Android app is locked to landscape): give the 3D view the
   whole screen like the big console-style mobile games — slim top bar, social links
   moved out of the way, compact bottom dock. Loaded last; overrides the older layers. */
@media (orientation: landscape) and (max-height: 520px) {
  html body:not(.l71) header.masthead { height: 40px !important; min-height: 0 !important; padding-block: 0 !important; align-items: center; }
  html body:not(.l71) header.masthead .official-channels { display: none !important; }
  html body:not(.l71) header.masthead a.brand span { font-size: 17px !important; }
  html body:not(.l71) header.masthead a.brand small { display: none !important; }
  html body:not(.l71) nav.planet-dock { bottom: 6px !important; padding: 3px 6px !important; }
  html body:not(.l71) nav.planet-dock a, html body:not(.l71) nav.planet-dock button { min-height: 34px !important; padding: 3px 10px !important; font-size: 12px !important; }
  /* In a world: area name shows briefly then fades (like an area banner), chat card folds away,
     action buttons shrink so the scene stays visible. */
  html body:not(.l71) .world-heading { animation: l71-banner 5s ease forwards !important; }
  html body:not(.l71) .world-heading h1#world-title { font-size: 20px !important; line-height: 1.1 !important; }
  html body:not(.l71) section#world-chat { display: none !important; }
  html body:not(.l71) #game-actions button.game-command { min-height: 44px !important; min-width: 44px !important; padding: 2px 8px !important; font-size: 11px !important; }
  html body:not(.l71) nav#game-hud #game-identity { transform: scale(.82); transform-origin: top left; }
  /* Passport / wardrobe: slim header and download strip, the 3D character fills the left column. */
  html body:not(.l71) #player-account-dialog > header { min-height: 0 !important; height: 44px !important; padding-block: 2px !important; }
  html body:not(.l71) #player-account-dialog > aside.passport-prefetch { min-height: 0 !important; padding-block: 2px !important; }
  html body:not(.l71) #player-account-dialog .passport-identity { position: relative !important; min-height: 0 !important; }
  html body:not(.l71) #player-account-dialog .passport-identity .passport-seal { position: absolute !important; inset: 0 !important; height: auto !important; }
  html body:not(.l71) #player-account-dialog .passport-identity .avatar-stage { position: absolute !important; inset: 0 0 40px 0 !important; height: auto !important; min-height: 0 !important; }
}
@keyframes l71-banner { 0%, 70% { opacity: 1; } 100% { opacity: 0; visibility: hidden; } }

/* v73 phone landscape HUD (console-style layout): move pad bottom-left, actions bottom-right,
   combat ring above the actions (it used to sit above the top of short screens), compact icon dock
   at the top, and no keyboard hints on touch screens. */
@media (orientation: landscape) and (max-height: 520px) {
  html body .touch-move { position: fixed !important; top: auto !important; left: max(12px, env(safe-area-inset-left)) !important; bottom: 12px !important; z-index: 67 !important; }
  html body nav.planet-dock { top: 3px !important; bottom: auto !important; left: 50% !important; right: auto !important; transform: translateX(-50%) !important; padding: 2px 4px !important; z-index: 70 !important; height: auto !important; max-height: 38px !important; width: auto !important; flex-direction: row !important; align-items: center !important; }
  html body nav.planet-dock a, html body nav.planet-dock button { min-height: 32px !important; min-width: 36px !important; padding: 2px 8px !important; }
  html body nav.planet-dock a span, html body nav.planet-dock button span { display: none !important; }
  html body nav#game-hud { top: 44px !important; transform: scale(.78); transform-origin: top center; }
  html body #game-actions { top: auto !important; bottom: 10px !important; right: max(10px, env(safe-area-inset-right)) !important; left: auto !important; }
  html body #gx-skills { bottom: 76px !important; right: max(8px, env(safe-area-inset-right)) !important; transform: scale(.62) !important; transform-origin: bottom right !important; }
  html body .lift-interaction { top: auto !important; bottom: 64px !important; transform: translateX(-50%) scale(.85) !important; left: 50% !important; }
}
@media (pointer: coarse) {
  html body :is(#game-hud, #game-actions, #gx-skills, .lift-interaction, .scene-tools) kbd { display: none !important; }
}
@media (orientation: landscape) and (max-height: 520px) {
  html body aside.music-mini { top: 96px !important; bottom: auto !important; right: max(10px, env(safe-area-inset-right)) !important; left: auto !important; width: 230px !important; min-height: 0 !important; height: 40px !important; padding: 3px 6px !important; transform: none !important; }
  html body aside.music-mini button { min-height: 32px !important; min-width: 32px !important; height: 32px !important; padding: 0 6px !important; font-size: 12px !important; }
  html body .music-lyric { bottom: 70px !important; font-size: 13px !important; max-width: 50vw !important; }
}

/* Out of combat the attack/skill/ultimate buttons are disabled and showed as dark see-through
   circles. Show only the combat toggle and character panel until a fight starts. */
html body #gx-skills:not(.in-combat) :is(.gx-atk, .gx-s1, .gx-s2, .gx-ult, .gx-sig) { display: none !important; }

/* The HUD row started its dark fade 10px below the header, leaving a lighter see-through band
   between them. The identity and menu buttons have their own backgrounds, so drop the fade. */
html body nav#game-hud { background: none !important; }
