/* Production adaptation of pixel-panels-v2.0.0; immutable source and image
   hashes are indexed in outputs/world-look-panels-v2/adopted-assets.json. */
.world-home{--hud-surface:#22392f;--hud-text:#eee8cd;--hud-muted:#b4c4a1;--hud-border:#bb8c61;--hud-line:#536c46;--hud-hover:#3b5538;--hud-pressed:#456244;--hud-selected:#456244;--hud-accent:#d9ce85;--hud-focus:#eee1a1}
.native-frame{position:absolute!important;inset:0;display:grid;grid-template-columns:9px minmax(0,1fr) 9px;grid-template-rows:9px minmax(0,1fr) 9px;z-index:0;pointer-events:none;overflow:hidden}
.native-frame img{display:block;width:100%;height:100%;min-width:0;min-height:0;image-rendering:pixelated}
.pixel-panel-backdrop{position:fixed;inset:0;z-index:4;background:#10251e88;pointer-events:auto}
.hud-root .hud-window,.world-home .world-detail{position:fixed;left:var(--world-panel-center-x,50vw);top:var(--world-panel-center-y,45vh);right:auto;bottom:auto;translate:-50% -50%;transform:none;width:min(960px,var(--world-panel-width,calc(100vw - 48px)));height:min(676px,var(--world-panel-height,676px));max-width:none;max-height:none;padding:9px;border:0;border-radius:0;background:#704737;isolation:isolate;box-shadow:0 5px #13241b,0 12px #1b291b55,0 24px 65px #07170fbf;overflow:hidden;display:flex;flex-direction:column;min-width:0;min-height:0}
.hud-root .hud-window>*:not(.native-frame),.world-detail>*:not(.native-frame){position:relative;z-index:1;min-width:0}
.hud-root .hud-window.is-account.is-manager,.hud-root .hud-window:is([data-feature=mail],[data-feature=inventory]){width:min(960px,var(--world-panel-width,calc(100vw - 48px)));height:min(676px,var(--world-panel-height,676px));max-height:none}
.hud-window>.hud-window-header,.hud-window.is-manager>.hud-window-header,.world-detail .world-detail-top{height:56px;min-height:56px;padding:0 6px 0 16px;display:flex;align-items:center;border:0;border-bottom:3px solid #142b20;background:#39462f;gap:10px}
.hud-window .hud-window-header h2,.world-detail .world-detail-top h2{font-size:20px;line-height:25px;color:#f1e4b6;text-shadow:1px 2px #172d20}
.hud-root .hud-window .hud-window-header button,.world-detail .world-detail-top button{width:44px;height:44px;min-height:44px;padding:10px;flex:0 0 44px;border:2px solid #947a51;background:#4f5033;border-radius:0;color:#f3e7b9;box-shadow:inset 0 -3px #283721}
.hud-window>.hud-window-body{flex:1;min-height:0;padding:14px;background:#22392f;overscroll-behavior:contain;scrollbar-gutter:stable}
.hud-window:is([data-feature=inventory],[data-feature=mail])>.hud-window-body{padding:0;overflow:hidden;display:flex}
.hud-root .hud-window button,.hud-root .hud-window input,.hud-root .hud-window textarea,.hud-root .hud-window select{border-radius:0;color:var(--hud-text)}
.hud-root .hud-window button{background:#304a38;border-color:#7b8c56;box-shadow:inset 0 -2px #142b20}
.hud-root .hud-window button:hover:not(:disabled){background:#456244;border-color:#c3c586}
.hud-root .hud-window button.primary{background:#a9bd70;color:#243923;border:2px solid #d3cf8c;box-shadow:inset 0 -3px #657c43}
.hud-root .hud-window input,.hud-root .hud-window textarea,.hud-root .hud-window select{background:#192f23;border:2px solid #6c8151;box-shadow:inset 0 2px #0d2217}
.hud-root .hud-icon{color:currentColor}.hud-root .hud-window p{line-height:1.7}.hud-root .hud-window .hud-muted{color:#b4c4a1}
.hud-window [inert]{filter:brightness(.7)}.hud-window:has(~.hud-detail-window:not([hidden])){filter:brightness(.7)}
/* Preserve the original four HUD controls and hit areas. */
.hud-dock,.hud-agent,.hud-account,.hud-entry,.hud-map-tools,.hud-account-menu{border-radius:0!important;background:#314830!important;border-color:#ad8c5f!important;color:#eee8cd!important;box-shadow:inset 0 0 0 2px #5e6640,0 3px #15281d!important}
.hud-dock:before{border-radius:0;border:3px solid #b18a5f}.hud-dock .hud-dock-plate{border-radius:0}.hud-agent-identity select{color:#eee8cd}.hud-tooltip{background:#283d2b;color:#efe6bd;border-radius:0}
.account-root[data-layout=manager] #manage-view{min-height:0}.account-root[data-layout=manager] .manager-main{background:#22392f}
.account-root[data-layout=manager] .manager-sidebar{background:#1d3029;border-color:#536c46}.account-root .manager-nav-button{border-radius:0}.account-root .manager-nav-button[aria-current=page]{background:#456244;color:#eee8cd;box-shadow:inset 3px 0 #d6ca83}.account-root .manager-nav-button:hover:not(:disabled){background:#304a38}
.account-root .manager-object{height:44px;min-height:44px;padding:3px 14px;border-bottom:1px solid #536c46;background:#263e2e;color:#b4c4a1}.manager-object strong{color:#eee8cd}.manager-object .avatar{width:32px;height:32px;object-fit:contain;image-rendering:pixelated}.manager-object .manager-object-picture{width:32px;height:32px;flex:none}.hud-root .manager-object button{font-size:12px;min-height:32px;padding:3px 10px;background:transparent}
.panel-tabs{height:38px;min-height:38px;padding:0 14px;display:flex;align-items:stretch;gap:6px;border-bottom:2px solid #5f7549;background:#1d3327}.hud-root .panel-tabs button{min-height:36px;padding:5px 18px;border:0;border-bottom:3px solid transparent;background:transparent;color:#aebe98}.hud-root .panel-tabs button[aria-pressed=true]{background:#41583a;border-color:#d9cc82;color:#f4e8b6}
.account-root .manager-actions{min-height:58px;padding:7px 16px;background:#2a3d2b;border-top:3px solid #142a1e;color:#c7d0a7}.account-root .manager-action-note{color:#b4c4a1;max-width:none;font-size:12px}.account-root .manager-actions button{min-height:40px;font-size:14px}.account-root .manager-soft,.account-root .manager-confirm-target,.account-root .notice,.account-root #proposal-review,.account-root #legacy-world-state{background:#304a38;color:#eee8cd;border-color:#7b8c56;border-radius:0}.account-root .manager-soft p,.account-root .manager-hero p,.account-root .manager-page-heading p,.manager-eyebrow{color:#b4c4a1}.manager-portrait{background:#304a38;border-radius:0}.manager-portrait:after{display:none}.account-root #agent-list button{background:#304a38;border-radius:0;border-color:#6c8151}.account-root #agent-list button[aria-pressed=true]{background:#456244;border-color:#d9ce85}
/* Owner-only field locks retain native checkbox semantics in the dark theme. */
.account-root #policy-form .lock-list label.check{background:#2b432e;color:#eee8cd;border:2px solid #95aa77;border-radius:0;cursor:pointer}
.account-root #policy-form .lock-list label.check:has(input:checked){background:#3e5936;border-color:#d9ce85}
.account-root #policy-form .lock-list label.check:has(input:focus-visible){outline:2px solid #eee1a1;outline-offset:2px}
.account-root #policy-form .lock-list input[type=checkbox]{appearance:none;display:inline-grid;place-content:center;flex:0 0 18px;width:18px;height:18px;min-height:18px;margin:0;padding:0;border:2px solid #b8c7a5;border-radius:0;background:#182e22;color:#203728;box-shadow:none;opacity:1;cursor:inherit}
.account-root #policy-form .lock-list input[type=checkbox]::after{content:"";width:9px;height:5px;border-left:2px solid currentColor;border-bottom:2px solid currentColor;transform:translateY(-1px) rotate(-45deg);opacity:0}
.account-root #policy-form .lock-list input[type=checkbox]:checked{background:#d9ce85;border-color:#eee8cd}
.account-root #policy-form .lock-list input[type=checkbox]:checked::after{opacity:1}
.account-root #policy-form .lock-list input[type=checkbox]:focus-visible{outline:0}
.account-root #policy-form .lock-list label.check:has(input:disabled){background:#263a2a;color:#c7d2b8;border-color:#728667;cursor:not-allowed}
.account-root #policy-form .lock-list input[type=checkbox]:disabled{background:#243629;border-color:#b8c7a5;color:#eee8cd}
.account-root #policy-form .lock-list input[type=checkbox]:checked:disabled{background:#4b6245}
/* Current-Agent location is a readable HUD action, including unavailable maps. */
.hud-root .hud-locate-agent{background:#314830;color:#eee8cd;border-color:#ad8c5f;border-radius:0;box-shadow:inset 0 0 0 2px #5e6640,0 3px #15281d}
.hud-root .hud-locate-agent:hover:not(:disabled){background:#456244;border-color:#d9ce85}
.hud-root .hud-locate-agent:focus-visible{outline:2px solid #eee1a1;outline-offset:3px}
.hud-root .hud-locate-agent:disabled{background:#263a2a;color:#c7d2b8;border-color:#728667;opacity:1;cursor:not-allowed}
.account-root[data-layout=manager] #manage-view:is([data-manager-page=appearance],[data-manager-page=profile]){grid-template-columns:minmax(0,1fr)}
#manage-view:is([data-manager-page=appearance],[data-manager-page=profile]) .manager-sidebar{display:none}
#manage-view:is([data-manager-page=appearance],[data-manager-page=profile]) .manager-scroll{padding:0;overflow:hidden;display:flex;flex-direction:column}
#manage-view:is([data-manager-page=appearance],[data-manager-page=profile]) .manager-feedback{max-height:38%;overflow:auto;flex:none;padding:0 14px;background:#263e2e}
#manage-view:is([data-manager-page=appearance],[data-manager-page=profile]) .manager-pages{min-height:0;flex:1;display:flex}
#manage-view:is([data-manager-page=appearance],[data-manager-page=profile]) .account-page{width:100%;height:100%;min-height:0;margin:0;display:flex;flex-direction:column}
#manage-view:is([data-manager-page=appearance],[data-manager-page=profile]) .manager-page-heading{display:none}
#appearance-form{height:100%;min-height:0;margin:0;display:flex;flex-direction:column;gap:0}
.character-layout{display:grid;min-width:0;min-height:0;flex:1}.character-layout>*{min-width:0;min-height:0}.stage-title{display:flex;align-items:center;justify-content:space-between;gap:8px}.stage-caption>div:first-child{min-width:0;flex:1}.stage-caption strong{display:block;overflow-wrap:anywhere}.stage-caption p{margin:0!important}.profile-layout{height:100%}.profile-layout .character-editor{overflow:auto;overscroll-behavior:contain}.hud-window .selection-heading h3{margin:0;font-size:19px;line-height:28px;color:#e7dfb8}.look-catalogue-message:empty{display:none}.look-catalogue-message p{font-size:12px;margin:0 0 6px}.look-catalogue-message button{min-height:32px;font-size:12px}.stage-asset-retry{position:absolute!important;z-index:3!important;bottom:85px;left:25px;right:25px;min-height:40px}.hud-root .look-option{padding:9px;border:0}.look-option:before{display:none!important}.hud-root .stage-action-controls button{min-height:26px}.hud-root .stage-action-controls button:last-child{min-height:22px}.hud-root .look-option .native-selection-corners{box-shadow:none}.character-stage canvas,.look-portrait canvas,.avatar{image-rendering:pixelated}.hud-root .look-option:disabled{opacity:.65}.character-editor #profile-form{margin:0}.character-editor #profile-form .form-grid{display:block}.character-editor label{margin-bottom:12px}.character-editor #profile-form textarea{resize:none;min-height:76px}.profile-layout .field-help{color:#a7be94}
/* The actual inventory owns a recessed tray and connected inspection area. */
.hud-data-feature .hud-content-switch{padding:5px 14px;margin:0;border-top:2px solid #142b20;background:#2a3d2b;min-height:50px;flex:none}.hud-content-switch button{min-height:36px;font-size:12px;padding:4px 10px}.hud-data-feature .hud-content-switch p{font-size:12px;margin:0}
.hud-platform-agent{display:flex;align-items:center;gap:8px;min-height:44px;height:44px;padding:3px 14px;background:#263e2e;border-bottom:1px solid #536c46;flex:none}.hud-platform-agent .avatar{width:32px;height:32px}.hud-platform-agent-picture{width:32px;height:32px;flex:none}.hud-platform-agent>strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hud-platform-agent>p{margin:0!important}.hud-platform-agent button{flex-shrink:0;min-height:32px;padding:3px 10px;font-size:12px;margin-left:auto}.hud-inventory-context{margin:0;flex-wrap:nowrap;gap:10px}.hud-wallet-status{margin-left:auto;white-space:nowrap;flex-wrap:nowrap;font-size:13px;color:#e9d297}.hud-root .hud-wallet-retry{min-height:32px;padding:3px 8px;font-size:12px}
.hud-inventory-layout{grid-template-columns:minmax(0,1.7fr) minmax(250px,1fr);gap:0;padding:14px;min-height:0;overflow:hidden;background:#243d2e}.hud-inventory-browser{padding:12px 14px;background:#263f2d;border:3px solid #776c46;border-right:0;box-shadow:inset 0 0 0 3px #152b1e}.hud-inventory .hud-filters{margin:0 0 10px;gap:4px}.hud-inventory .hud-filters button{min-width:0;min-height:36px;padding:5px 12px;font-size:13px}.hud-inventory .hud-search{font-size:12px;margin-bottom:12px}.hud-inventory .hud-search input{min-height:36px;padding:5px 9px}.hud-inventory .hud-items{grid-template-columns:repeat(5,minmax(72px,1fr));gap:12px 10px}.hud-inventory .hud-items>button{box-shadow:none;padding:0;background:transparent;border:0;gap:5px}.hud-inventory .hud-item-slot{width:72px;height:72px;flex:0 0 72px;background:#213a2a;border:2px solid #8a8054;border-radius:0;box-shadow:inset 0 0 0 3px #142c1e,0 3px #12271b}.hud-inventory .hud-item-slot>.hud-icon{width:36px;height:36px}.hud-inventory .hud-items>button[aria-pressed=true] .hud-item-slot{background:#47633c;border-color:#e0c97d;box-shadow:inset 0 0 0 3px #627b49,0 3px #12271b}.hud-inventory .hud-item-name{font-size:12px;line-height:18px;height:36px;min-height:36px}.hud-inventory .hud-data-badge{font-size:12px}.hud-item-full-name{top:76px;border-radius:0;color:#eee8cd;background:#283d2b}.hud-inventory .hud-item-detail{padding:16px;border:3px solid #776c46;border-left:2px solid #556c43;box-shadow:inset 0 0 0 3px #152b1e;background:#2b432e;overflow:auto}.hud-item-detail>.hud-icon{width:72px;height:72px;margin:14px auto;color:#c3cf9b}.hud-item-detail>h3:first-child{font-size:12px;color:#adbf92}.hud-item-detail h3{font-size:18px;color:#f0e2b7;overflow-wrap:anywhere}.hud-item-detail p{font-size:14px;line-height:1.75}.hud-inventory-layout.is-single-state{grid-template-columns:minmax(0,1fr)}.is-single-state .hud-inventory-browser{border-right:3px solid #776c46}.hud-inventory-layout.is-single-state .hud-item-detail{display:none}
/* Continuous mail ledger, with a single top-level reader. */
.hud-mail>.hud-filters{height:42px;min-height:42px;gap:6px;padding:4px 14px 0;margin:0;background:#1d3327}.hud-mail>.hud-filters button{min-width:0;flex:1;min-height:36px;border:0;border-bottom:3px solid transparent;background:transparent}.hud-mail>.hud-filters button[aria-pressed=true]{background:#41583a;border-color:#d9cc82;box-shadow:none}.hud-mail>p.hud-muted{padding:4px 17px;margin:0;font-size:12px;background:#243d2e}.hud-mail>.hud-list-heading{font-size:12px;margin:0;padding:0 17px 7px;background:#243d2e;color:#c3cf9b}.hud-mail-list{margin:0 14px 14px;padding:0 12px;border:3px solid #776c46;background:#2b4633;box-shadow:inset 0 0 0 3px #152b1e}.hud-message-row.hud-platform-message-row{display:block;min-height:96px;padding:0;border:0;border-bottom:1px solid #61764e;background:transparent}.hud-root .hud-platform-message-row .hud-message-open{display:grid;grid-template-columns:24px minmax(0,1fr) 140px;width:100%;min-height:96px;padding:10px 8px!important;gap:12px;box-shadow:none!important;border:0!important;border-radius:0;text-align:left}.hud-platform-message-row .hud-message-open[aria-pressed=true]{background:#3e5b3b!important;box-shadow:inset 4px 0 #d6ca83!important}.hud-platform-message-row .hud-message-summary strong{font-size:14px;line-height:1.55;color:#ebe5c7;font-weight:600}.hud-message-byline{display:flex;gap:4px 8px;align-items:center;flex-wrap:wrap;font-size:12px}.hud-message-byline>.hud-muted{color:#b1c596}.hud-platform-message-row time{width:140px;white-space:normal;text-align:right;overflow-wrap:anywhere;font-size:12px;line-height:20px;font-variant-numeric:tabular-nums;color:#b1c596}.hud-root .hud-detail-window{z-index:7;width:min(680px,var(--world-panel-width,calc(100vw - 48px)));height:min(620px,var(--world-panel-height,620px));max-height:none}.hud-detail-window .hud-window-header{height:auto;min-height:56px;align-items:center}.hud-detail-window .hud-window-header h2{font-size:18px;line-height:24px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.hud-detail-window>.hud-window-body{background:rgb(43,67,46);padding:20px 24px;scrollbar-gutter:stable;opacity:1}.hud-detail-window .hud-reader-full-title{margin:0 0 12px;font-size:16px;line-height:1.7;overflow:visible;overflow-wrap:anywhere;white-space:normal}.hud-detail-window .hud-message-body{font-size:14px;line-height:1.85;overflow-wrap:anywhere;white-space:pre-wrap}.hud-mail-reader>h3:first-child{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;white-space:nowrap}.hud-reader-footer{height:50px;min-height:50px;padding:5px 16px;display:flex;align-items:center;justify-content:flex-end;border-top:2px solid #142a1e;background:#2a3d2b}.hud-reader-footer button{min-height:38px}.world-detail .world-detail-body{background:#22392f;color:#eee8cd}.world-detail .world-detail-body p{color:#c1d0a8}.world-detail .world-detail-top{background:#39462f}.world-detail .world-detail-top span{color:#b4c4a1}
@media(max-height:820px){.hud-inventory-layout{padding:12px}.hud-inventory-browser{padding:10px 11px}.hud-inventory .hud-item-detail{padding:14px}.hud-message-row.hud-platform-message-row,.hud-root .hud-platform-message-row .hud-message-open{min-height:90px}.hud-detail-window>.hud-window-body{padding:16px 20px}}
/* Keep ordinary management navigation inside short desktop window bounds. */
@media(max-height:820px){
 .account-root[data-layout=manager] .manager-sidebar{padding:6px 12px}
 .account-root .manager-sidebar .manager-switch{min-height:52px;padding-bottom:4px}
 .manager-sidebar .manager-nav-group+.manager-nav-group{margin-top:4px}
 .manager-sidebar .manager-nav-caption{line-height:14px;padding-bottom:2px}
 .account-root .manager-sidebar .manager-nav-button{margin:0}
}
@media(prefers-reduced-motion:reduce){.hud-root *,.world-detail *{transition:none!important;animation:none!important;scroll-behavior:auto!important}}

/* Character geometry from the frozen v2 source. */
.character-layout{grid-template-columns:380px minmax(0,1fr);gap:20px;padding:16px;height:100%;background:repeating-linear-gradient(0deg,#1e372a 0,#1e372a 2px,#20392c 2px,#20392c 4px)}.character-stage-column{height:100%;min-height:0;min-width:0}.character-stage{position:relative;border:0;box-shadow:none;background:#1b3025;padding:9px;height:100%;display:flex;flex-direction:column;isolation:isolate}.character-stage>.native-frame{z-index:0}.character-stage>*:not(.native-frame){position:relative;z-index:1}.stage-title{height:31px;min-height:31px;padding:5px 10px;background:#4c4d31;border:0;color:#e3d5a8;font-size:12px}.stage-status{font-size:12px;color:#bdd39b}.stage-status.previewing{color:#ffdb93}.stage-status:before{content:"";width:5px;height:5px;display:inline-block;background:currentColor;margin-right:6px;box-shadow:2px 2px #26371e}.stage-scene{height:auto!important;flex:1;min-height:165px;overflow:hidden;background:#294332;box-shadow:inset 0 0 40px #13291c99;border:0;isolation:isolate}.stage-scene:before,.stage-scene:after{content:"";position:absolute;z-index:0;bottom:31px;width:46px;height:107px;background:#172f25aa;box-shadow:inset 4px 0 #4e684055}.stage-scene:before{left:16px}.stage-scene:after{right:16px;height:83px}.stage-location{position:absolute;top:14px;left:0;right:0;text-align:center;font-size:12px;letter-spacing:.08em;color:#c7d9ada6}.stage-scene canvas{width:768px;height:512px;position:absolute;left:50%;top:50%!important;transform:translate(-50%,-50%);z-index:2;image-rendering:pixelated}.stage-ground{position:absolute;z-index:1;width:232px;height:28px;left:50%;top:calc(50% + 58px);transform:translateX(-50%);background:#607549;box-shadow:0 -5px #89985a,8px 5px #263e2b,-8px 5px #263e2b,0 10px #1c3425;border:2px solid #344b2c}.stage-caption{min-height:72px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 11px;background:#3a492e;border:0;border-top:3px solid #203123}.stage-caption strong{font-size:18px;line-height:24px;color:#f0e5b9;max-width:180px;text-shadow:1px 2px #223822}.stage-caption p{font-size:12px;color:#bfcea1;margin-top:4px}.stage-caption p span{color:#84986b}.stage-action-controls{display:grid;grid-template-columns:1fr 1fr;gap:3px;flex:none;min-width:84px}.stage-action-controls button{font-size:12px;min-height:26px;padding:2px 7px;color:#a9bd94;background:#263e2b;border:1px solid #62774c;box-shadow:inset 0 -2px #152b1d}.stage-action-controls button[aria-pressed=true]{background:#789157;color:#f4f0c8;border-color:#c2c987}.stage-action-controls button:last-child{grid-column:1/-1;min-height:22px}.character-editor{padding:0 2px 2px;min-height:0;overflow:auto}.selection-heading{display:flex;align-items:flex-end;justify-content:space-between;margin:2px 0 13px;gap:8px}.selection-heading p{font-size:10px;letter-spacing:.15em;color:#91ad7d;margin-bottom:3px}.selection-heading h2{font-size:19px;font-weight:600;letter-spacing:.08em;color:#e7dfb8}.selection-heading>span{font-size:12px;white-space:nowrap;color:#a3ba90}.look-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.look-option{position:relative;isolation:isolate;min-width:0;height:142px;padding:9px;background:#263e2e;color:#d6deb8;box-shadow:0 3px #102519;overflow:visible}.look-option>.native-frame{opacity:.74}.look-option>*:not(.native-frame){position:relative;z-index:1}.look-number{position:absolute!important;top:12px;left:13px;font-size:10px;color:#bca880;z-index:3!important}.look-portrait{height:100px;display:block;position:relative!important;overflow:hidden;background:radial-gradient(ellipse at center 88%,#6b8250 0,#45613e 30%,#294631 66%,#233c2c 100%);box-shadow:inset 0 0 0 1px #546d46}.look-portrait canvas{position:absolute;width:288px;height:192px;left:50%;top:-34px;transform:translateX(-50%);image-rendering:pixelated}.look-label{display:block;text-align:center;line-height:24px;height:24px;font-size:12px;color:#e3dfb8;background:#4a4830;letter-spacing:.1em}.look-option:hover .look-portrait{background:#486744}.look-option[aria-pressed=true]{outline:2px solid #e5cc83;outline-offset:2px;box-shadow:0 0 0 5px #8b9d5f55,0 4px #13261a}.look-option[aria-pressed=true]>.native-frame{opacity:1}.look-option[aria-pressed=true] .look-label{background:#7d8148;color:#fff4bd}.look-option[aria-pressed=true]:before{content:"";position:absolute;inset:-7px;pointer-events:none;border:6px solid transparent;border-image-source:url('panel-assets/selectbox_tl.png');z-index:4}.look-selected-marker{display:none;position:absolute!important;right:13px;top:12px;width:15px;height:15px;background:#a9bd70;place-items:center;color:#294129;z-index:4!important}.look-selected-marker .px-icon{width:11px;height:11px}.look-option[aria-pressed=true] .look-selected-marker{display:grid}.look-saved-label{position:absolute!important;bottom:32px;left:50%;transform:translateX(-50%);background:#213a2bdc;padding:1px 4px;font-size:10px;color:#dce9b3;white-space:nowrap}.choice-summary{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:14px;border-top:1px solid #536b45;padding:11px 2px 0;font-size:12px;color:#a6bc91}.choice-summary strong{color:#e4d7a5;font-weight:500}.choice-summary i{height:10px;width:1px;background:#6a7d52;margin:0 4px}.profile-layout .character-stage{height:100%}.profile-layout .character-editor{padding:4px 10px 8px 0}
@media(max-height:820px){.character-layout{grid-template-columns:348px minmax(0,1fr);gap:18px;padding:12px}.selection-heading{margin-bottom:8px}.selection-heading p{display:none}.selection-heading h2{font-size:17px}.look-grid{gap:10px}.look-option{height:115px;padding:8px}.look-portrait{height:77px}.look-portrait canvas{top:-52px}.look-label{height:22px;line-height:22px}.look-number{top:10px;left:11px}.look-saved-label{bottom:29px;font-size:10px}.choice-summary{padding-top:8px;margin-top:10px}.stage-caption{min-height:65px;padding:8px}.stage-caption strong{font-size:16px;line-height:22px;max-width:155px}.stage-title{min-height:28px;height:28px}.stage-location{top:10px}.look-skeleton-grid span{height:115px}.character-stage-column{min-height:0}.stage-ground{width:212px}.profile-layout .text-area{height:94px}}
@media(max-width:850px){.character-layout{grid-template-columns:300px minmax(0,1fr)}.look-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.selection-heading>span{display:none}}
.stage-scene{background:#294332;background-image:linear-gradient(180deg,#233e32 0%,#233e32 54%,#2c4834 54%,#2c4834 78%,#355137 78%,#355137 100%);background-size:auto;box-shadow:inset 0 0 0 2px #182f24}.stage-scene:before,.stage-scene:after{background:#1d382aaa;box-shadow:inset 3px 0 #4c684155}
.native-selection-corners{position:absolute!important;inset:-7px;z-index:5!important;pointer-events:none}.native-selection-corners img{position:absolute;width:24px;height:27px;image-rendering:pixelated}.native-selection-corners img:nth-child(1){top:0;left:0}.native-selection-corners img:nth-child(2){top:0;right:0}.native-selection-corners img:nth-child(3){bottom:0;left:0}.native-selection-corners img:nth-child(4){bottom:0;right:0}.look-option[aria-pressed=true]:before{display:none}.asset-warning{display:flex;gap:10px;align-items:center;justify-content:space-between;padding:8px 10px;background:#513f2d;border:1px solid #a08759;color:#e0cca1;font-size:12px;margin-bottom:12px}.asset-warning>span{display:flex;align-items:center;gap:8px}.asset-warning .px-button{flex:none}.stage-action-controls .px-icon{width:11px;height:11px}.stage-action-controls button:last-child{display:flex;justify-content:center;gap:13px}.context-public{display:flex;gap:9px;align-items:center;color:#d4dfb6;font-size:12px}.context-public .px-icon{color:#adc48e}
.look-saved-label{bottom:10px;left:auto;right:11px;transform:none;background:transparent;padding:0;font-size:12px;color:#dce9b3}.look-option:has(.look-saved-label) .look-label{padding-right:42px}@media(max-height:820px){.look-grid{gap:8px}.look-option{height:106px}.look-portrait{height:68px}.look-portrait canvas{top:-61px}.look-saved-label{bottom:9px;font-size:12px}.choice-summary{margin-top:8px;padding-top:7px}}

/* Four direct destinations, with compact character editing in the same frame. */
.hud-dock-label{display:none;font-size:12px;line-height:18px;white-space:nowrap}
.world-home .world-detail.is-character-card{left:var(--character-card-left,50vw);top:var(--character-card-top,160px);translate:0 0;width:min(320px,calc(100vw - 24px));height:auto;min-height:0;max-height:var(--character-card-max-height,360px);box-shadow:0 4px #13241b,4px 8px #07170f77}
.world-detail.is-character-card .world-detail-top{flex:none;min-height:40px;height:40px;padding-left:10px}.world-detail.is-character-card .world-detail-top h2{font-size:12px;line-height:18px;color:#c3d0a1}.world-detail.is-character-card .world-detail-top span:empty{display:none}.world-detail.is-character-card .world-detail-top button{width:32px;height:32px;min-height:32px;flex-basis:32px;padding:4px}
.world-detail.is-character-card .world-detail-body{padding:16px;min-height:0;overflow:auto;overscroll-behavior:contain;flex:1}
.world-detail.is-character-card #world-detail-icon,.world-detail.is-character-card #world-detail-description,.world-detail.is-character-card #world-detail-note,.world-detail.is-character-card #world-detail-links{display:none}
.character-card-hero{display:flex;align-items:center;gap:12px;margin-bottom:12px}.character-card-portrait{position:relative;isolation:isolate;width:72px;height:80px;flex:none;background:#1b3025;display:grid;place-items:center}.character-card-portrait>.native-frame{z-index:1}.character-card-sprite{position:relative;z-index:2}.character-card-sprite .avatar{width:64px;height:64px;object-fit:contain;image-rendering:pixelated}
.character-card-identity{min-width:0;flex:1}.world-detail .character-card-name{font-size:18px;line-height:25px;color:#eee8cd;margin:0 0 8px;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.character-card-place{display:inline-block;padding:2px 6px;border:1px solid #8a9b69;background:#304a38;color:#c3d0a1;font-size:12px;line-height:18px}
.world-detail .character-card-bio{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.6;color:#eee8cd;margin:0 0 12px}.character-card-interests{border-top:1px solid #536c46;padding-top:12px}.world-detail .character-card-interests h3{font-size:12px;line-height:18px;color:#b4c4a1;margin:0 0 8px}.character-card-tags{display:flex;gap:6px;flex-wrap:wrap}.character-card-tag{display:inline-block;max-width:100%;padding:3px 7px;border:1px solid #718653;background:#304a38;color:#eee8cd;font-size:12px;line-height:18px;overflow-wrap:anywhere}
.world-detail .character-card-empty,.world-detail .character-card-status{font-size:14px;line-height:1.6;color:#c3d0a1;margin:0 0 12px}.world-detail.is-character-card #world-back{margin-top:12px;min-height:32px;font-size:12px;background:#304a38;border:1px solid #7b8c56;color:#eee8cd;box-shadow:inset 0 -2px #142b20}
.hud-root .hud-window[data-feature=friends]{width:min(620px,var(--world-panel-width,calc(100vw - 48px)));height:min(500px,var(--world-panel-height,500px))}
.hud-friends-heading,.hud-friends-heading>div{display:flex;align-items:center;gap:10px;min-width:0}.hud-friends-heading{justify-content:space-between;gap:16px}.hud-friends-heading strong{font-size:18px;overflow-wrap:anywhere}.hud-friends-heading .avatar{width:44px;height:44px}.hud-friends-heading button{flex:none;font-size:12px}
.hud-friends-list{padding:0;margin:16px 0;list-style:none;border-top:1px solid #536c46}.hud-friend{min-height:64px;display:flex;align-items:center;gap:12px;padding:8px 0;border-bottom:1px solid #536c46}.hud-friend-picture,.hud-friend-picture .avatar{width:48px;height:48px;flex:none}.hud-friend>div{min-width:0;flex:1}.hud-friend strong,.hud-friend>div>span{display:block;overflow-wrap:anywhere}.hud-friend strong{font-size:14px}.hud-friend>div>span{font-size:12px}.hud-friend .hud-link{flex:none;font-size:12px}.hud-friends-refresh{font-size:12px}
@media(min-width:760px){
 .hud-dock{width:320px;height:80px;grid-template-columns:repeat(4,68px);grid-template-rows:56px}.hud-dock .hud-dock-button{width:68px;height:56px;min-height:56px;grid-template-rows:32px 18px;gap:0}.hud-dock .hud-dock-plate{width:36px;height:32px}.hud-dock-label{display:block}
 .hud-root .hud-window.is-account.is-manager{width:min(840px,var(--world-panel-width,calc(100vw - 48px)));height:min(620px,var(--world-panel-height,620px))}
 .account-root[data-layout=manager] #manage-view,.account-root[data-layout=manager] #manage-view:is([data-manager-page=appearance],[data-manager-page=profile]){grid-template-columns:144px minmax(0,1fr)}
 #manage-view:is([data-manager-page=appearance],[data-manager-page=profile]) .manager-sidebar{display:flex}
 #manage-view:is([data-manager-page=appearance],[data-manager-page=profile]) .manager-object,#manage-view:is([data-manager-page=appearance],[data-manager-page=profile]) .role-tabs{display:none}
 .account-root .manager-sidebar{padding:12px 8px}.account-root .manager-nav-button{padding:6px;font-size:12px;gap:6px}.manager-switch strong{font-size:14px}.manager-switch-picture,.manager-switch-picture .avatar{width:30px}.manager-switch-picture .avatar{height:38px}.account-root .manager-switch{gap:6px}
 .character-layout{grid-template-columns:120px minmax(0,1fr);gap:16px;padding:16px;align-items:start}
 .profile-character-preview{display:flex;flex-direction:column;gap:12px}.profile-character-preview>button{font-size:12px;padding:6px}
 .character-layout .character-stage{width:120px;height:136px;padding:8px;flex:none}.character-layout .stage-caption,.character-layout .stage-ground{display:none}
 .character-layout .stage-title{position:absolute!important;bottom:8px;left:8px;right:8px;min-height:18px;height:18px;padding:0 2px;justify-content:center;z-index:3;background:#263e2ee8}.character-layout .stage-title>span:first-child{display:none}.character-layout .stage-status{font-size:10px}
 .character-layout .stage-scene{min-height:0;height:100%!important}.character-layout .stage-scene:before,.character-layout .stage-scene:after{display:none}.character-layout .stage-scene canvas{width:384px;height:256px}.character-layout .stage-asset-retry{left:8px;right:8px;bottom:24px;font-size:10px;padding:2px;min-height:28px}
 .profile-layout .character-editor{padding:0 4px 8px 0}.character-editor label{margin-bottom:12px}.character-editor #display-name{font-size:18px}.character-editor #profile-form textarea{min-height:72px}.character-editor .preview-card{display:none}
 .selection-layout .look-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.selection-layout .look-option{height:88px;padding:6px}.selection-layout .look-portrait{height:54px}.selection-layout .look-portrait canvas{width:192px;height:128px;top:-37px}.selection-layout .look-label{height:20px;line-height:20px;font-size:12px}.selection-layout .look-number{top:7px;left:8px;font-size:8px}.selection-layout .look-selected-marker{top:7px;right:8px;width:12px;height:12px}.selection-layout .look-saved-label{font-size:10px;bottom:7px;right:8px}.selection-layout .look-option:has(.look-saved-label) .look-label{padding-right:28px}.selection-layout .native-selection-corners img{width:16px;height:18px}
}

/* Fixed positioning and transform animation have separate responsibilities. */
.hud-root .hud-window.is-account:not(.is-manager){width:min(440px,var(--world-panel-width,calc(100vw - 48px)));height:auto;max-height:min(676px,var(--world-panel-height,676px));margin:0;top:var(--world-panel-center-y,45vh)}
.hud-root .hud-window>.hud-window-header{height:56px;min-height:56px}

/* Owner source text uses the existing inventory columns and mail reader. */
.hud-owner-content-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:8px 0}.hud-owner-content-heading h3{margin:0;font-size:14px}.hud-owner-content-heading button{min-height:32px;font-size:12px}.hud-owner-artifacts{min-height:0;display:flex;flex-direction:column;flex:1;padding:0 14px 14px;overflow:hidden}.hud-owner-artifacts>p{margin:0 0 10px;font-size:12px}.hud-owner-artifacts>.hud-inventory-layout{padding:0;flex:1;min-height:0;grid-template-columns:minmax(220px,.85fr) minmax(0,1.15fr)}.hud-owner-artifact-list,.hud-owner-artifact-body{min-height:0;overflow:auto;padding:12px;background:#243d2e;border:2px solid #67784e;overscroll-behavior:contain}.hud-root .hud-owner-artifact-row{display:grid;grid-template-columns:24px minmax(0,1fr);gap:8px;width:100%;text-align:left;min-height:72px;padding:10px;border:0;border-bottom:1px solid #61764e;background:transparent;box-shadow:none}.hud-owner-artifact-row strong{font-size:14px;overflow-wrap:anywhere}.hud-owner-artifact-row time{grid-column:2;font-size:12px;color:#b1c596}.hud-root .hud-owner-artifact-row[aria-pressed=true]{background:#3e5b3b;box-shadow:inset 3px 0 #d6ca83}.hud-owner-artifact-body h3,.hud-interaction-reader h3{font-size:14px;line-height:1.6;margin:16px 0 10px}.hud-owner-artifact-body h3:first-child{margin-top:0}.hud-owner-artifact-body .hud-message-body{font-size:14px;line-height:1.85;white-space:pre-wrap;overflow-wrap:anywhere}.hud-owner-artifact-body>[data-owner-artifact-exchange]{width:100%;margin:0 0 8px;text-align:left;font-size:12px}.hud-owner-exchanges{padding:0 14px;flex:1;min-height:0;overflow:auto;overscroll-behavior:contain}.hud-owner-exchanges .hud-exchange-directions{padding:6px 0;margin:0;min-height:42px}.hud-owner-exchange-list{border:2px solid #67784e;background:#2b4633;padding:0 12px}.hud-owner-exchange-list .hud-message-open{grid-template-columns:24px minmax(0,1fr) 136px!important}.hud-owner-exchange-list .hud-message-summary>.hud-muted{display:block;line-height:1.7;font-size:12px}.hud-interaction-state{padding:4px 0}.hud-interaction-state>p{font-size:12px;line-height:1.7}.hud-platform-content>.hud-owner-exchanges~.hud-list-heading{margin-top:18px}
@media(max-width:759px){.hud-owner-artifacts>.hud-inventory-layout{display:flex;flex-direction:column;overflow:auto}.hud-owner-artifact-list{flex:none;max-height:190px}.hud-owner-artifact-body{flex:none;overflow:visible}.hud-owner-exchange-list .hud-message-open{grid-template-columns:24px minmax(0,1fr)!important}.hud-owner-exchange-list time{grid-column:2;width:auto;text-align:left}}

/* Real relationship actions stay inside the character card and existing mail. */
.character-card-friendship{margin-top:12px;padding-top:12px;border-top:1px solid #536c46}.character-card-friendship p{font-size:12px!important;line-height:1.6!important;margin-bottom:8px!important}.character-card-friendship button{min-height:32px;font-size:12px;max-width:100%;white-space:normal}.character-card-friendship form{display:flex;flex-direction:column;gap:6px}.character-card-friendship form[hidden]{display:none}.character-card-friendship label,.character-card-friendship small{font-size:12px;line-height:1.5;color:#c3d0a1}.character-card-friendship textarea{width:100%;min-height:64px;max-height:140px;resize:vertical;box-sizing:border-box;border:2px solid #8a9b69;border-radius:0;background:#182c23;color:#eee8cd;padding:6px;font:inherit;font-size:14px}.character-card-friendship small{text-align:right}.character-card-friendship>div:last-child{display:flex;flex-wrap:wrap;gap:6px}.character-card-friendship>div:last-child>p{flex-basis:100%}.hud-friendship-inbox{margin-bottom:16px}.hud-friendship-invitation-list{background:#2b4633;border:2px solid #67784e;padding:0 12px}.hud-root .hud-friendship-request{display:grid;grid-template-columns:minmax(0,1fr) 140px;gap:4px 12px;width:100%;min-height:72px;text-align:left;background:transparent;border:0;border-bottom:1px solid #61764e;border-radius:0;box-shadow:none;padding:12px 8px}.hud-friendship-request strong{font-size:14px}.hud-friendship-request .hud-muted{font-size:12px;grid-column:1}.hud-friendship-request time{font-size:12px;line-height:1.7;grid-column:2;grid-row:1/3;text-align:right;color:#b1c596}.hud-friendship-invitation-list>p{font-size:12px;padding-top:10px}.hud-friendship-person{display:flex;align-items:center;gap:12px;margin-bottom:16px}.hud-friendship-person .avatar{width:64px;height:64px;image-rendering:pixelated}.hud-friendship-reader .button-row{margin-top:16px}.hud-friendship-reader .button-row button{font-size:12px;white-space:normal}.hud-friendship-reader .hud-message-body{white-space:pre-wrap;overflow-wrap:anywhere}

.hud-friends-tabs{display:flex;gap:6px;margin:14px 0}.hud-friends-tabs button{flex:1;min-width:0;font-size:12px;padding:7px 4px;white-space:nowrap}.hud-friends-tabs button[aria-pressed=true]{background:#41583a;border-color:#d9cc82}.hud-friends .hud-friendship-inbox{margin:0}.hud-friendship-request-card{padding:12px 0;border-bottom:1px solid #61764e}.hud-friendship-request-card:last-child{border-bottom:0}.hud-friendship-request-card .hud-friendship-person{gap:10px;margin-bottom:8px}.hud-friendship-request-card .hud-friendship-person .avatar{width:40px;height:40px}.hud-root .hud-friendship-request-card .hud-friendship-request{display:block;flex:1;min-width:0;min-height:36px;padding:4px;text-align:left;font-size:14px;border:0;background:transparent;box-shadow:none;overflow-wrap:anywhere}.hud-friendship-request-card .hud-link{font-size:12px;white-space:nowrap}.hud-friendship-request-card .hud-message-body{font-size:14px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7}.hud-friendship-request-card time{font-size:12px}.hud-friendship-request-card .button-row{margin-top:10px;gap:8px}.hud-friendship-request-card .button-row button{font-size:12px;min-height:36px;white-space:normal}

.world-autonomy-settings{margin-bottom:16px}.world-autonomy-settings>h3{margin-top:0}.world-autonomy-settings fieldset{margin:12px 0;padding:0;border:0}.world-autonomy-settings legend{font-size:12px;color:#c3d0a1;margin-bottom:8px}.account-root .world-autonomy-settings .world-autonomy-option{display:flex;flex-direction:row;align-items:flex-start;gap:10px;padding:8px 10px;margin:0 0 8px;border:2px solid #66794e;background:#233b2c;text-align:left}.account-root .world-autonomy-settings .world-autonomy-option>input[type=radio]{flex:0 0 18px;width:18px;height:18px;min-width:18px;min-height:18px;margin:2px 0 0;padding:0;appearance:auto;box-shadow:none;accent-color:#d9cc82}.world-autonomy-option>span{display:flex;flex:1;flex-direction:column;gap:4px;min-width:0}.world-autonomy-option strong{font-size:14px;color:#eee8cd}.world-autonomy-option small{font-size:12px;line-height:1.7;color:#c3d0a1}.world-autonomy-option:has(input:checked){border-color:#d9cc82;background:#334d32}.world-autonomy-option:has(input:focus-visible){outline:2px solid #eee8cd;outline-offset:2px}

/* Desktop dialogs use the viewport; only their content panes scroll. */
@media(min-width:760px){
 .world-home .world-layout:has(.hud-root.is-open),.world-home .world-layout.has-detail{isolation:auto}.hud-root.is-open{z-index:8}.world-home .world-detail{z-index:8}
 .hud-root .hud-window.is-account.is-manager{width:min(1120px,var(--world-panel-width,calc(100vw - 48px)));height:min(880px,var(--world-panel-height,calc(100vh - 48px)))}
 .account-root[data-layout=manager] #manage-view,.account-root[data-layout=manager] #manage-view:is([data-manager-page=appearance],[data-manager-page=profile]){grid-template-columns:200px minmax(0,1fr)}
 .account-root .manager-sidebar{padding:12px 10px;overflow:visible}.account-root .manager-nav-button{min-height:32px;padding:6px 10px;line-height:20px}.account-root .manager-nav-group+.manager-nav-group{margin-top:8px}
 #manage-view:is([data-manager-page=appearance],[data-manager-page=profile]) .manager-scroll{display:block;overflow:auto}
 #manage-view:is([data-manager-page=appearance],[data-manager-page=profile]) .manager-pages{display:block;min-height:100%}
 #manage-view:is([data-manager-page=appearance],[data-manager-page=profile]) .account-page{display:block;height:auto;min-height:100%}
 .profile-layout,.selection-layout,#appearance-form{height:auto;min-height:100%}.profile-layout .character-editor,.selection-layout .character-editor{overflow:visible}
 .hud-root .hud-window[data-feature=inventory]{width:min(1120px,var(--world-panel-width))}.hud-root .hud-window[data-feature=mail]{width:min(1040px,var(--world-panel-width))}.hud-root .hud-window[data-feature=friends]{width:min(840px,var(--world-panel-width))}
 .hud-root .hud-window:is([data-feature=inventory],[data-feature=mail],[data-feature=friends]){height:min(820px,var(--world-panel-height,calc(100vh - 48px)))}
 .hud-root .hud-detail-window{width:min(840px,var(--world-panel-width));height:min(820px,var(--world-panel-height,calc(100vh - 48px)))}
 .hud-detail-window .hud-message-body,.hud-owner-artifact-body .hud-message-body{line-height:1.65}.hud-detail-window p{margin:0 0 14px}.hud-detail-window h3{margin:14px 0 12px}.hud-window-body p,.hud-window-body h3,.hud-window-body a,.hud-window-body strong{overflow-wrap:anywhere}
 .world-home .world-detail.is-character-card{width:min(440px,calc(100vw - 48px));max-height:var(--character-card-max-height,min(600px,calc(100vh - 48px)))}
 .world-detail .character-card-name{display:block;-webkit-line-clamp:unset;overflow:visible}
 .world-detail.is-character-card .world-detail-body{display:flex;flex-direction:column;overflow:hidden}.public-character-card{display:flex;flex-direction:column;min-height:0;flex:1}.character-card-content{min-height:0;overflow:auto;overscroll-behavior:contain}.character-card-friendship{flex:none;margin-top:12px}.world-detail.is-character-card #world-back{flex:none;align-self:flex-end;margin-top:8px}.character-card-friendship p{margin-bottom:6px!important}
 .hud-root .hud-window.is-account.is-manager:has(.account-confirm:not([hidden])){width:min(640px,var(--world-panel-width));height:auto;max-height:var(--world-panel-height)}
 .account-root:has(.account-confirm:not([hidden])) #manage-view{grid-template-columns:minmax(0,1fr)}.account-root:has(.account-confirm:not([hidden])) .manager-sidebar{display:none}.account-root:has(.account-confirm:not([hidden])) .manager-scroll{flex:0 1 auto;overflow:auto}
}
