/* Approved PSD visual layer. Shared controls retain their own internal styling. */
.home--psd{--lobby-ink:#fff5ed;--lobby-line:rgba(238,240,255,.62);color:var(--lobby-ink)}
.home--psd .home__grid,.home--psd .home__stage-frame,.home--psd .home__edition,.home--psd::before{display:none}
.home--psd .home__shade{background:linear-gradient(90deg,rgba(9,12,23,.40),transparent 28%,transparent 70%,rgba(9,12,23,.35)),linear-gradient(180deg,rgba(9,10,18,.36),transparent 22%,transparent 76%,rgba(9,10,18,.58))}
.lobby-edge-stars{position:absolute;inset:0;z-index:1;pointer-events:none;background:url('assets/lobby-psd/edge-stars.png?V=20261022-lobby-utility-V5') center/100% 100% no-repeat}
.home--psd .topbar{display:flex;align-items:flex-start;justify-content:space-between;padding:0;border:0;background:none}
.home--psd .profile-entry{position:relative;display:flex;align-items:center;width:280px;height:90px;min-height:44px;padding:0;gap:8px;background:none;border:0;border-radius:0;box-shadow:none;backdrop-filter:none}
.home--psd .profile-avatar{display:grid;place-items:center;flex:none;width:84px;height:84px;border:1px solid #f7f1e8;border-radius:50%;background:radial-gradient(ellipse at 50% 30%,#807282,#292630 70%);box-shadow:0 0 0 3px #15131b88;font-size:30px;color:#fff1df}
.home--psd .profile-copy{display:flex;flex-direction:column-reverse;align-items:stretch;gap:5px;text-align:left;min-width:0}
.home--psd .profile-copy strong,.home--psd .profile-copy small{padding:2px 8px;background:linear-gradient(90deg,#0a0b1077,transparent);color:#fff5ed;white-space:nowrap;letter-spacing:0}
.home--psd .profile-copy strong{font:400 18px/1.4 'PingFang SC',sans-serif}
.home--psd .profile-copy small{font:400 16px/1.4 ui-monospace,monospace}
.home--psd .topbar-right{position:static;display:flex;align-items:center;gap:24px;margin:8px 0 0;transform:none;width:auto}
.home--psd wqxt-resource-bar{position:static}
.home--psd .topbar-actions{position:static;display:flex;align-items:center;gap:12px;padding:0;border:0;background:none}
.home--psd .utility-entry{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;width:56px;height:68px;min-width:44px;min-height:44px;padding:0;color:#fff5ed;background:none;border:0;border-radius:0}
.home--psd .utility-art{width:28px;height:28px;object-fit:contain;filter:drop-shadow(0 0 6px #d8deff55)}
.home--psd .utility-entry__label{position:static;clip:auto;width:auto;height:auto;overflow:visible;font:400 14px/1.4 'Noto Serif SC','Songti SC',serif;letter-spacing:0}
.home--psd .lobby-event{position:relative;display:flex;align-items:center;justify-content:flex-start;padding:0 12px;overflow:visible;border:0;background:url('assets/lobby-psd/event.png?V=20261022-lobby-utility-V5') center/contain no-repeat;pointer-events:none}
.home--psd .lobby-event>span{display:grid;gap:4px;margin-top:24px;text-shadow:0 2px 5px #090b14}
.home--psd .lobby-event strong{font:500 24px/1.4 'Noto Serif SC','Songti SC',serif;color:#fff1e7}
.home--psd .lobby-event em{font:400 11px/1.4 'PingFang SC',sans-serif;font-style:normal;color:#f3d2c6}
.home--psd .service-entries{display:flex;flex-direction:column;gap:16px;padding:0;border:0;background:none}
.home--psd .service-entry{position:relative;display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:12px;width:160px;height:90px;min-height:44px;padding:0;border:0;border-radius:0;box-shadow:none;background:none;color:#fff5ed;text-decoration:none;transform:none}
.home--psd .service-entry:before,.home--psd .service-entry:after{display:none}
.home--psd .service-entry__icon{display:grid;place-items:center;width:64px;height:64px;flex:none;padding:0;background:none;border:0;box-shadow:none}
.home--psd .service-entry__icon img{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 0 6px #cdd9ff33)}
.home--psd .service-entry__copy strong{font:500 20px/1.4 'Noto Serif SC','Songti SC',serif;color:#fff5ed;letter-spacing:0;text-shadow:0 2px 4px #121320}
.home--psd .lobby-more{display:block}
.home--psd .more-menu{position:absolute;left:160px;top:0;width:144px;padding:8px;border:1px solid #d8d6e44d;border-radius:4px;background:#171622f2;box-shadow:0 8px 30px #0006;z-index:25}
.home--psd .more-menu[hidden]{display:none}
.home--psd .more-menu a{display:flex;align-items:center;min-height:44px;padding:0 12px;color:#fff5ed;text-decoration:none;font-size:14px}
.home--psd .right-feature-stack{display:block;background:url('assets/lobby-psd/right-flow.png?V=20261022-lobby-utility-V5') center/100% 100% no-repeat;border:0;padding:0}
.home--psd .lobby-ticket{position:absolute;left:0;top:0;display:flex;align-items:center;justify-content:center;width:100%;height:38%;padding:0;border:0;outline:0;border-radius:0;box-shadow:none;clip-path:none;background:url('assets/lobby-psd/continue-orbit.png?V=20261022-lobby-utility-V5') center/contain no-repeat;color:#fff2e8;overflow:visible}
.home--psd .lobby-ticket:before,.home--psd .lobby-ticket:after{display:none}
.home--psd .ticket-copy{display:grid;gap:0;position:relative;margin-left:54px;text-align:left}
.home--psd .ticket-copy>small,.home--psd #ticketDetail,.home--psd .ticket-action{display:none}
.home--psd .ticket-copy>strong{display:flex;flex-direction:column;gap:0;font:500 58px/.95 'Noto Serif SC','Songti SC',serif;letter-spacing:0;white-space:nowrap;text-shadow:0 2px 10px #111827;transform:rotate(-3deg)}
.home--psd .ticket-copy>strong>span:last-child{margin-left:48px}
.home--psd .ticket-copy .accent{font-size:.77em;color:#f4a59e;margin-left:4px}
.home--psd .lobby-feature-pair{position:absolute;left:0;top:39%;width:100%;height:23%;display:block}
.home--psd .lobby-feature-pair a,.home--psd .lobby-resonance{position:absolute;display:flex;align-items:center;justify-content:center;height:48px;min-height:44px;border:0;border-radius:0;padding:0;background:linear-gradient(90deg,transparent,#f2efff0c,transparent);box-shadow:none;color:#fff6ef;text-decoration:none}
.home--psd .lobby-feature-pair a{width:50%}
.home--psd .lobby-feature-pair a:first-child{top:0;left:0}
.home--psd .lobby-feature-pair a:last-child{bottom:0;right:0}
.home--psd .lobby-feature-pair a:after,.home--psd .lobby-resonance:after{content:'';position:absolute;left:12px;right:12px;bottom:4px;height:16px;border:1px solid #fff5ed44;border-top:0;pointer-events:none}
.home--psd .lobby-feature-pair wqxt-icon,.home--psd .lobby-resonance wqxt-icon{display:none}
.home--psd .lobby-feature-pair strong,.home--psd .lobby-resonance strong{font:500 24px/1.4 'Noto Serif SC','Songti SC',serif;letter-spacing:0;text-shadow:0 2px 5px #111}
.home--psd .lobby-resonance{left:16%;top:65%;width:64%}
.home--psd .lobby-draw{position:absolute;top:79%;right:0;width:76%;height:22%;display:flex;align-items:center;justify-content:center;border:0;border-radius:0;padding:0;background:url('assets/lobby-psd/draw-orbit.png?V=20261022-lobby-utility-V5') right center/auto 100% no-repeat;box-shadow:none;pointer-events:none}
.home--psd .lobby-draw .lobby-locked-icon{display:none}
.home--psd .lobby-draw>span{display:grid;gap:4px;margin-right:28px;text-align:left;text-shadow:0 2px 5px #111}
.home--psd .lobby-draw strong{font:500 26px/1.4 'Noto Serif SC','Songti SC',serif;color:#fff5ed}
.home--psd .lobby-draw em{font:400 11px/1.4 'PingFang SC',sans-serif;font-style:normal;color:#f3d2c6}
.home--psd .companion-group{display:block;padding:0}
.home--psd .companion-group .companion-line{position:relative;inset:auto;display:flex;align-items:center;justify-content:flex-start;width:100%;height:44px;min-height:44px;gap:12px;padding:0;border:0;border-radius:0;background:none;box-shadow:none;font-size:18px;line-height:1.5;color:#fff5ed}
.home--psd .companion-name{font:400 18px/1.5 'Noto Serif SC','Songti SC',serif;color:#efd4b3;border-right:1px solid #fff5ed77;padding-right:12px;white-space:nowrap}
.home--psd .companion-quote{font:400 18px/1.5 'Noto Serif SC','Songti SC',serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#fff5ed}
.home--psd .quote-next{display:none}
.home--psd .entry-button:hover,.home--psd .lobby-ticket:hover,.home--psd .lobby-feature-pair a:hover,.home--psd .lobby-resonance:hover{transform:none;filter:none;outline:0;box-shadow:none;background-color:transparent}
.home--psd a:focus-visible,.home--psd button:focus-visible{outline:0;filter:drop-shadow(0 0 5px #f4e4ce);text-decoration:underline;text-underline-offset:5px}
.home--psd a:active,.home--psd button:active{opacity:.8}
#pageLayoutFailure{position:fixed;inset:0;z-index:100000;display:grid;place-items:center;background:#090a0f;color:#f5ede4;padding:24px}
#pageLayoutFailure[hidden]{display:none}
@media(max-width:1000px),(max-height:560px){
.home--psd .profile-entry{width:160px;min-width:0;height:48px;gap:6px}
.home--psd .profile-avatar{width:44px;height:44px;font-size:18px}
.home--psd .profile-copy{gap:0}
.home--psd .profile-copy strong{font-size:13px;padding:1px 4px}
.home--psd .profile-copy small{font-size:10px;padding:1px 4px}
.home--psd .topbar-right{gap:8px;margin:0}
.home--psd .topbar-actions{gap:8px}
.home--psd .utility-entry{width:44px;height:48px;gap:0}
.home--psd .utility-art{width:20px;height:20px}
.home--psd .utility-entry__label{font-size:10px}
.home--psd .lobby-event{padding:0 4px}
.home--psd .lobby-event>span{margin-top:12px;gap:0}
.home--psd .lobby-event strong{font-size:15px}
.home--psd .lobby-event em{font-size:10px}
.home--psd .service-entries{gap:8px}
.home--psd .service-entry{width:124px;height:44px;gap:8px}
.home--psd .service-entry__icon{width:36px;height:36px}
.home--psd .service-entry__copy strong{font-size:13px;line-height:1.4}
.home--psd .more-menu{left:124px;top:auto;bottom:0}
.home--psd .ticket-copy{margin-left:24px}
.home--psd .ticket-copy>strong{font-size:32px;line-height:1}
.home--psd .ticket-copy>strong>span:last-child{margin-left:24px}
.home--psd .lobby-ticket{height:30%}
.home--psd .lobby-feature-pair{top:31%;height:32%}
.home--psd .lobby-feature-pair a{height:44px}
.home--psd .lobby-feature-pair strong,.home--psd .lobby-resonance strong{font-size:15px}
.home--psd .lobby-resonance{top:64%;height:44px}
.home--psd .lobby-draw{top:81%;height:19%;width:90%}
.home--psd .lobby-draw strong{font-size:17px}
.home--psd .lobby-draw em{font-size:10px}
.home--psd .lobby-draw>span{gap:0;margin-right:12px}
.home--psd .companion-group .companion-line{gap:8px}
.home--psd .companion-name{font-size:13px;padding-right:8px}
.home--psd .companion-quote{font-size:13px}
}
.home--psd .entry-button,.home--psd .companion-line{backdrop-filter:none}
.home--psd .profile-entry:after,.home--psd .companion-line:before{display:none}
.home--psd .right-feature-stack{mix-blend-mode:normal}
.home--psd .utility-entry__label,.home--psd .profile-copy small{display:block}
.home--psd .topbar-actions .utility-entry:not([href='bag.html']) .utility-entry__label{position:static;width:auto;height:auto;overflow:visible;clip-path:none}
/* The outer home owns modal/orientation inertness; the inner root owns layout capacity. */
.home--psd>.lobby-layout{position:relative;width:100%;height:100%;overflow:hidden}
.home--psd .lobby-ticket{background:none}
.home--psd .lobby-ticket:before{display:block;position:absolute;inset:0;content:'';background:url('assets/lobby-psd/continue-orbit.png?V=20261022-lobby-utility-V5') center/contain no-repeat;filter:grayscale(1);pointer-events:none}
@media(max-width:1000px),(max-height:560px){.home--psd .topbar-actions{gap:16px}}
.home--psd>.lobby-layout:not([data-layout-ready="true"]){visibility:hidden}
/* V2: reference lettering and original profile strips; trim optical icon padding. */
.home--psd .profile-entry{gap:0}
.home--psd .profile-avatar{position:relative;z-index:2;padding:2px;background:#363548;box-shadow:0 0 0 3px #10121a77}
.home--psd .profile-avatar>img{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%}
.home--psd .profile-copy{position:relative;z-index:1;width:190px;margin-left:-16px;gap:5px}
.home--psd .profile-copy strong,.home--psd .profile-copy small{display:block;width:100%;min-height:24px;padding:2px 8px 2px 24px;text-shadow:0 1px 3px #17192355;background-position:left center;background-size:100% 100%;background-repeat:no-repeat}
.home--psd .profile-copy strong{background-image:url('assets/lobby-psd/profile-name-strip.png?V=20261022-lobby-utility-V5')}
.home--psd .profile-copy small{background-image:url('assets/lobby-psd/profile-id-strip.png?V=20261022-lobby-utility-V5')}
.modal.profile-mode .profile-mark{padding:0;overflow:hidden;background:#363548}
.modal.profile-mode .profile-mark img{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%}
.home--psd .utility-art{width:28px;height:28px;object-fit:contain;filter:none}
.home--psd .service-entry,.home--psd .service-entry__icon{overflow:visible}
.home--psd .service-entry__icon{border-radius:0}
.home--psd .service-entry__icon img{max-width:none;max-height:none}
.home--psd .service-entry__icon .task-art{width:60px;height:84px;object-fit:contain}
.home--psd .lobby-event>span{margin-top:0;gap:0}
.home--psd .lobby-event strong{line-height:0}
.home--psd .event-lettering{display:block;width:116px;height:auto;object-fit:contain}
.home--psd .lobby-event em{margin-top:3px}
.home--psd .lobby-draw>span{margin-right:40px;gap:2px}
.home--psd .lobby-draw strong{line-height:0}
.home--psd .draw-lettering{display:block;width:132px;height:auto;object-fit:contain}
@media(max-width:1000px),(max-height:560px){
 .home--psd .profile-entry{width:180px;gap:0}
 .home--psd .profile-avatar{padding:1px}
 .home--psd .profile-copy{width:116px;margin-left:-8px;gap:3px}
 .home--psd .profile-copy strong,.home--psd .profile-copy small{min-height:0;padding:1px 6px 1px 14px}
 .home--psd .utility-art{width:20px;height:20px}
 .home--psd .service-entry__icon .task-art{width:34px;height:48px}
 .home--psd .event-lettering{width:80px}
 .home--psd .lobby-event em{margin-top:0}
 .home--psd .lobby-draw>span{margin-right:24px;gap:0}
 .home--psd .draw-lettering{width:96px}
}
.home--psd .profile-copy strong,.home--psd .profile-copy small{background-image:linear-gradient(90deg,rgba(210,209,217,.30),rgba(196,196,207,.22) 72%,rgba(196,196,207,0));border:0}
.home--psd .service-entry__icon{position:relative}
.home--psd .service-entry__icon .task-art{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)}
/* V3: only decorative artwork uses screen blending. Labels keep their dark shadow. */
.home--psd{--lobby-label-shadow:0 2px 4px #121320}
.home--psd .lobby-feature-art{position:absolute;pointer-events:none;mix-blend-mode:screen;background:url('assets/lobby-psd/right-flow.png?V=20261022-lobby-utility-V5') center/100% 100% no-repeat}
.home--psd .lobby-ticket-art{position:absolute;left:0;top:0;width:100%;height:38%;background:url('assets/lobby-psd/continue-orbit.png?V=20261022-lobby-utility-V5') center/contain no-repeat;filter:grayscale(1)}
.home--psd .lobby-draw-art{position:absolute;top:79%;right:0;width:76%;height:22%;background:url('assets/lobby-psd/draw-orbit.png?V=20261022-lobby-utility-V5') right center/auto 100% no-repeat}
.home--psd .right-feature-stack,.home--psd .lobby-draw{background:none}
.home--psd .lobby-ticket:before{display:none}
.home--psd .service-entry__copy strong,
.home--psd .ticket-copy>strong,
.home--psd .lobby-feature-pair strong,
.home--psd .lobby-resonance strong,
.home--psd .lobby-draw em{text-shadow:var(--lobby-label-shadow)}
.home--psd .draw-lettering{filter:drop-shadow(0 2px 4px #121320)}
@media(max-width:1000px),(max-height:560px){
 .home--psd .lobby-ticket-art{height:30%}
 .home--psd .lobby-draw-art{top:81%;width:90%;height:19%}
}

/* Hide the character-specific quote while unrelated character clips are active. */
.home--psd .companion-line[hidden]{display:none!important}
