/* home-scene.css */
* { box-sizing: border-box; }
:root { color-scheme: dark; --gold: #f1d48d; --muted: #979a9f; --panel: #080d14; }
html, body { width: 100%; height: 100%; margin: 0; overflow: hidden; }
body { font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif; color: #f4f2ec; background: #01040a; }
button, a { -webkit-tap-highlight-color: transparent; }
button { padding: 0; border: 0; color: inherit; font: inherit; cursor: pointer; background: transparent; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, input:focus-visible + .switch { outline: 2px solid #ffe0a0; outline-offset: 5px; }
button:disabled { cursor: default; }
img { display: block; user-select: none; -webkit-user-drag: none; }
[hidden] { display: none !important; }
.universe { position: relative; width: 100%; height: 100%; background: #01040a url("assets/video/galaxy-poster-v44.webp") center / cover no-repeat; }
.universe::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 100px 16px #0007; }
.stage { width: 1335px; height: 759px; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(var(--stage-scale, 1)); isolation: isolate; }
.starfield { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.star { position: absolute; width: var(--size); height: var(--size); background: #dbe8ff; border-radius: 50%; opacity: .2; box-shadow: 0 0 6px #81a9ff; animation: twinkle var(--duration) ease-in-out var(--delay) infinite; }
.star.gold { background: #fff0be; box-shadow: 0 0 7px #ecc36a; }
.star.cross::before, .star.cross::after { content: ""; position: absolute; top: 50%; left: 50%; background: linear-gradient(transparent, #ddecff, transparent); width: 1px; height: 12px; transform: translate(-50%, -50%); }
.star.cross::after { transform: translate(-50%, -50%) rotate(90deg); }
@keyframes twinkle { 0%, 100% { opacity: .12; transform: scale(.65); } 50% { opacity: .9; transform: scale(1.2); } }
.still-stars .star { animation: none; opacity: .45; }
.ambient-paused .star, .ambient-paused .core-aura { animation-play-state: paused; }

.topbar { position: absolute; z-index: 12; left: 26px; right: 25px; top: 14px; height: 51px; background: url("assets/上部导航栏背景.png") center / 100% 100% no-repeat; display: flex; align-items: center; }
.brand { display: flex; align-items: center; position: absolute; left: 18px; gap: 3px; }
.brand-mark { width: 52px; height: 61px; }
.brand-word { width: 117px; height: 35px; }
.topnav { position: absolute; left: 424px; height: 51px; display: flex; gap: 6px; }
.nav-item { position: relative; width: 105px; font-size: 18px; font-weight: 700; white-space: nowrap; transition: color .2s, background-color .2s; }
.nav-item:hover { color: var(--gold); background-color: #eccb7710; }
.nav-item.active { color: #f3dfa5; background: url("assets/上部-导航栏选择效果.png") bottom / 105px 40px no-repeat; }
.nav-item.active::after { content: ""; position: absolute; width: 50px; height: 2px; bottom: 0; left: 28px; background: linear-gradient(90deg, transparent, #ffe9a9, transparent); box-shadow: 0 0 7px #e7cb83; }
.header-actions { position: absolute; right: 10px; display: flex; align-items: center; gap: 20px; }
.icon-button { display: flex; align-items: center; justify-content: center; transition: filter .2s, transform .2s; }
.icon-button:hover { filter: brightness(1.3); }
.settings-button { width: 32px; height: 36px; }
.settings-button img { width: 32px; height: 32px; transition: transform .4s; }
.settings-button:hover img { transform: rotate(45deg); }
.avatar { width: 54px; height: 54px; display: grid; place-items: center; background: url("assets/上部-头像框.png") center / contain no-repeat; }
.avatar-person { position: relative; width: 12px; height: 12px; border: 1px solid #d6be7c66; border-radius: 50%; margin-top: -10px; }
.avatar-person::after { content: ""; position: absolute; top: 14px; left: -6px; width: 22px; height: 11px; border: 1px solid #d6be7c66; border-bottom: 0; border-radius: 12px 12px 0 0; }
.sidebar { position: absolute; z-index: 10; top: 105px; left: 18px; width: 65px; display: flex; flex-direction: column; gap: 17px; }
.side-item { display: flex; width: 65px; flex-direction: column; align-items: center; gap: 6px; font-size: 16px; color: var(--gold); white-space: nowrap; text-shadow: 0 2px 6px black; }
.side-icon { display: grid; place-items: center; width: 65px; height: 66px; background: url("assets/左-组件背景-未选中.png") center / 65px 66px no-repeat; transition: filter .2s; position: relative; }
.side-icon img { max-width: 48px; max-height: 40px; }
.sidebar .recruit-link{text-decoration:none}.sidebar .recruit-link .side-icon{background:none}.sidebar .recruit-link .side-icon img{width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain}
.side-item.active { color: #fff7d8; }
.side-item.active .side-icon::before { content: ""; position: absolute; inset: -14px; background: url("assets/左-组件背景-选中.png") center / 93px 94px; z-index: -1; }
.side-item.active .side-icon { background: none; }
.side-item:hover .side-icon { filter: brightness(1.35) drop-shadow(0 0 5px #bb944744); }
.universe-caption { position: absolute; left: 114px; top: 105px; display: flex; align-items: center; gap: 7px; font: 700 18px "SimSun", serif; text-shadow: 0 0 8px #eed79788; }
.universe-caption span { height: 1px; width: 30px; background: linear-gradient(90deg, transparent, #d8c18c); }
.universe-caption span:last-child { transform: rotate(180deg); }
.orbit-art { position: absolute; left: 165px; top: 103px; width: 1012px; height: 568px; opacity: .82; z-index: 1; pointer-events: none; }
.core-planet { position: absolute; width: 443px; height: 372px; left: 449.5px; top: 196px; z-index: 3; pointer-events: none; }
.core-planet > img { width: 100%; height: 100%; position: relative; }
.core-aura { position: absolute; inset: 35px 55px; border-radius: 50%; background: radial-gradient(ellipse, #e3a23e12 30%, #d68c1f12 55%, transparent 70%); box-shadow: 0 0 75px 5px #b7792214; animation: breathe 7s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
.planet { position: absolute; top: 0; left: 0; width: var(--planet-width); height: var(--planet-height); will-change: transform; text-align: center; }
.planet-image { width: 100%; height: 100%; object-fit: contain; transition: filter .25s, scale .25s; }
.planet:hover .planet-image, .planet:focus-visible .planet-image { filter: brightness(1.18) drop-shadow(0 0 13px #ebd09760); scale: 1.06; }
.planet.selected .planet-image { filter: drop-shadow(0 0 12px #ebd09766); }
.planet-label { position: absolute; top: calc(100% + 2px); left: 50%; transform: translateX(-50%); min-width: 130px; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 16px; line-height: 20px; text-shadow: 0 2px 4px #000, 0 0 8px #000; white-space: nowrap; }
.planet-name { font-weight: 500; }
.planet-lock { display: flex; align-items: center; gap: 4px; color: #ededed; font-size: 16px; }
.lock { display: inline-block; width: 12px; height: 10px; border: 1.3px solid currentColor; border-radius: 1px; position: relative; margin-top: 5px; vertical-align: baseline; }
.lock::before { content: ""; width: 6px; height: 7px; border: 1.3px solid currentColor; border-bottom: none; border-radius: 6px 6px 0 0; position: absolute; left: 1.7px; top: -7px; }
.lock::after { content: ""; width: 1px; height: 3px; background: currentColor; position: absolute; left: 4px; top: 2px; }
.planet.unlocked .planet-label { top: calc(100% + 8px); color: #f4d588; }
.planet.unlocked .planet-name { position: relative; font-size: 21px; font-family: "Microsoft YaHei", sans-serif; text-shadow: 0 0 9px #e5b35455; }
.planet.unlocked .planet-name::before, .planet.unlocked .planet-name::after { content: ""; position: absolute; width: 42px; height: 1px; top: 50%; background: linear-gradient(90deg, transparent, #dbae4b); }
.planet.unlocked .planet-name::before { right: calc(100% + 10px); }
.planet.unlocked .planet-name::after { left: calc(100% + 10px); transform: rotate(180deg); }
.planet.unlocked .planet-label::after { content: "✦"; display: block; width: 80px; height: 4px; line-height: 4px; margin-top: 1px; font-size: 11px; background: linear-gradient(90deg, transparent, #c09b45, transparent) center / 100% 1px no-repeat; }
.checkin { position: absolute; z-index: 10; }

.overview-launcher { position: absolute; z-index: 15; left: 26px; bottom: 56px; width: 274px; height: 92px; background: url("assets/左下-星球总览-未展开.png") center / contain no-repeat; }
.overview-count { position: absolute; top: 52px; left: 83px; font-size: 12px; color: #c4c0b7; }
.overview-enter { position: absolute; left: 185px; top: 35px; width: 61px; height: 29px; border-radius: 20px; transition: filter .2s; }
.overview-enter img { width: 100%; }
.overview-enter:hover { filter: brightness(1.45); }
.overview-panel { position: absolute; z-index: 20; left: 8px; bottom: 9px; width: 508px; height: 204px; background: url("assets/左下星球总览背景-展开.png") center / 100% 100%; animation: panel-in .25s ease-out; }
.overview-panel::before { content: ""; position: absolute; inset: 13px 17px; border-radius: 29px; background: #050a10ed; z-index: -1; }
@keyframes panel-in { from { opacity: 0; translate: 0 12px; } to { opacity: 1; translate: 0 0; } }
.overview-heading { position: absolute; left: 29px; top: 16px; display: flex; align-items: center; gap: 3px; }
.overview-heading > img { width: 112px; height: 38px; }
.overview-heading > span { font-size: 10px; color: #a8a08c; letter-spacing: -.2px; }
.hot-filter { position: absolute; right: 99px; top: 21px; border: 1px solid #d5b67666; border-radius: 18px; padding: 3px 10px; color: #e7cb86; font-size: 13px; line-height: 21px; }
.hot-filter span { color: #eea34e; font-size: 18px; }
.hot-filter:hover, .hot-filter[aria-pressed="true"] { background: linear-gradient(#ffe5a6, #c79b52); color: #34280f; }
.refresh-button { position: absolute; top: 26px; right: 58px; width: 21px; height: 21px; }
.refresh-button img { width: 21px; }
.close-button { position: absolute; z-index: 2; right: 13px; top: 9px; width: 30px; height: 30px; border-radius: 50%; transition: filter .2s; }
.close-button img { width: 100%; height: 100%; }
.close-button:hover { filter: brightness(1.5); }
.planet-cards { position: absolute; left: 48px; right: 48px; top: 65px; height: 112px; display: grid; grid-template-columns: repeat(4, 96px); gap: 9px; }
.planet-card { position: relative; width: 96px; height: 112px; background: url("assets/左下-星球卡片未选择.png") center / 100% 100%; border-radius: 10px; display: flex; flex-direction: column; align-items: center; padding: 5px 3px; gap: 3px; }
.planet-card:hover { background-color: #e7bc5e10; }
.planet-card.selected { background-image: url("assets/左下-星球卡片选择.png"); }
.card-image { width: 70px; height: 49px; object-fit: contain; }
.card-status { display: inline-flex; align-items: center; justify-content: center; gap: 3px; font-size: 10px; padding: 1px 6px; color: #c6c6c6; background: #7a7a7a27; border-radius: 8px; }
.card-status.open { color: #f8d992; background: #8d6b292e; }
.card-name { font-size: 12px; margin-top: 1px; color: #e5decf; }
.card-hint { font-size: 9px; color: #b99a62; }
.page-arrow { position: absolute; top: 100px; width: 30px; height: 37px; transition: opacity .2s; }
.page-arrow img { width: 100%; height: 100%; }
.page-arrow:disabled { opacity: .2; }
.page-prev { left: 16px; }
.page-next { right: 14px; }
.page-dots { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 7px; }
.page-dot { width: 15px; height: 12px; display: grid; place-items: center; }
.page-dot::after { content: ""; width: 4px; height: 4px; border-radius: 50%; background: #c1a56855; }
.page-dot[aria-current="true"]::after { width: 12px; border-radius: 2px; background: #e3c277; box-shadow: 0 0 5px #d8a95566; }
.detail-panel { position: absolute; z-index: 21; left: 510px; bottom: 9px; width: 350px; height: 333px; background: url("assets/左下-详情页背景.png") center / 100% 100%; animation: panel-in .25s ease-out; padding: 23px 22px 20px; }
.detail-panel::before { content: ""; position: absolute; inset: 12px 13px; border-radius: 27px; background: #070c12f5; z-index: -1; }
.detail-panel .close-button { right: 13px; top: 11px; }
.detail-header { height: 82px; display: flex; gap: 10px; align-items: center; }
.detail-planet { width: 100px; height: 79px; object-fit: contain; }
.detail-title-wrap { flex: 1; min-width: 0; }
.detail-title-row { display: flex; align-items: center; gap: 6px; margin-bottom: 13px; }
.detail-title-row h2 { font-size: 17px; margin: 0; white-space: nowrap; font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.detail-badge { font-size: 9px; border: 1px solid #c19e4e55; color: #f1d28b; padding: 2px 4px; border-radius: 4px; white-space: nowrap; }
.detail-facts { display: flex; gap: 22px; color: #e4d3a2; font-size: 11px; }
.detail-facts small { display: block; margin-top: 4px; font-size: 9px; color: #888b8c; }
.detail-fact-line { display: flex; align-items: center; gap: 4px; }
.detail-fact-line img { width: 14px; height: 15px; object-fit: contain; }
.detail-tags { display: flex; gap: 5px; margin: 6px 0 10px; }
.detail-tags span { flex: 1; min-width: 0; text-align: center; line-height: 25px; font-size: 12px; font-weight: 600; background: #15212e; border-radius: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.detail-description { margin: 0 0 9px; color: #b6b7ba; font-size: 11px; line-height: 18px; height: 36px; overflow: hidden; overflow-wrap: anywhere; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.detail-gallery { display: flex; gap: 9px; height: 58px; }
.detail-shot { position: relative; flex: 1; overflow: hidden; border-radius: 3px; border: 1px solid #b18f5230; background: #0c121c; }
.detail-shot img { width: 100%; height: 100%; object-fit: cover; }
.detail-shot:nth-child(2) img { object-position: right; transform: scale(1.17); }
.detail-shot:nth-child(3) img { object-position: left; transform: scale(1.08); }
.detail-shot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 45%, #000a); }
.detail-shot span { position: absolute; z-index: 1; left: 5px; bottom: 3px; font-size: 9px; color: #f2e8d4; }
.detail-gallery.placeholder-gallery .detail-shot img { object-fit: contain; opacity: .8; transform: none; padding: 2px; }
.enter-planet { width: 220px; height: 37px; position: absolute; bottom: 20px; left: 65px; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; color: #302007; border: 1px solid #e9c370; background: linear-gradient(#ffe9b5, #edbf56); box-shadow: inset 0 0 0 3px #fff2c633, 0 0 14px #d59f2828; border-radius: 22px; gap: 7px; }
.enter-planet:hover { filter: brightness(1.12); }
.enter-planet.disabled { color: #b7ac92; border-color: #736443; background: linear-gradient(#2a2b28, #171c20); box-shadow: none; }
.detail-locked { height: 130px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 13px; margin-top: 5px; border-top: 1px solid #a98a4433; background: radial-gradient(ellipse at center, #b2914611, transparent 70%); }
.detail-locked > .lock { color: #bda66b; scale: 1.7; margin: 15px 0 4px; }
.detail-locked strong { color: #e3cd96; font-size: 15px; font-weight: 500; }
.detail-locked p { color: #969a9e; font-size: 11px; margin: 0; }

.news-panel { position: absolute; z-index: 11; right: 36px; bottom: 14px; width: 259px; height: 200px; background: url("assets/右下-背景.png") center / 100% 100%; padding: 0 13px; }
.news-panel::before { content: ""; position: absolute; inset: 1px; border-radius: 10px; background: #040910eb; z-index: -1; }
.news-heading { height: 39px; display: flex; align-items: center; gap: 8px; }
.news-heading > img { width: 116px; height: 47px; }
.news-more { width: 18px; height: 30px; margin-left: 2px; }
.news-more img { width: 12px; height: 19px; }
.news-items { position: relative; }
.news-items::before { content: ""; position: absolute; left: 16px; top: 16px; bottom: 19px; width: 1px; background: linear-gradient(#b83532, #4ba2cb, #d5a84f); opacity: .5; }
.news-item { width: 100%; display: flex; align-items: center; gap: 8px; text-align: left; height: 38px; position: relative; border-radius: 4px; }
.news-item:hover { background: #dec58b0b; }
.news-marker { width: 31px; flex-shrink: 0; text-align: center; font-size: 20px; }
.news-item > img { width: 35px; height: 30px; object-fit: contain; }
.news-item > span:last-child { display: block; min-width: 0; }
.news-item strong { display: block; font-size: 10px; font-weight: 600; line-height: 16px; color: #ddd7c9; }
.news-item small { display: block; font-size: 9px; line-height: 13px; color: #92918f; }
.motion-indicator { position: absolute; z-index: 9; bottom: 18px; left: 41px; display: flex; align-items: center; gap: 6px; color: #a69b83; font-size: 10px; letter-spacing: 1px; opacity: .65; }
.motion-indicator > span:first-child { width: 4px; height: 4px; border-radius: 50%; background: #d6b967; box-shadow: 0 0 6px #dfbb6e; }
.overview-visible .motion-indicator { visibility: hidden; }
.toast { position: absolute; z-index: 40; top: 86px; left: 50%; transform: translateX(-50%); background: #0b111bed; border: 1px solid #bba16a77; border-radius: 8px; padding: 13px 24px; box-shadow: 0 8px 24px #0008; color: #efdaa6; font-size: 13px; white-space: nowrap; animation: panel-in .2s ease-out; }
.modal { position: fixed; width: 390px; max-width: calc(100vw - 32px); max-height: calc(100dvh - 32px); overflow-y: auto; padding: 36px 34px 30px; margin: auto; border: 1px solid #b79b5b99; border-radius: 20px; color: #f4ebd5; background: radial-gradient(ellipse at top, #34302455, transparent 65%), #080d15; box-shadow: 0 0 70px #000a, inset 0 0 40px #b2954710; text-align: center; }
.modal::backdrop { background: #0009; backdrop-filter: blur(6px); }
.modal-close { position: absolute; top: 10px; right: 14px; font-size: 28px; color: #bda369; width: 30px; height: 30px; }
.modal-close:hover { color: #ffe0a0; }
.modal-emblem { width: 52px; height: 61px; margin: 0 auto 14px; }
.eyebrow { color: #9f895d; font-size: 10px; letter-spacing: 3px; margin: 0 0 9px; }
.modal h1 { font-size: 24px; margin: 5px 0 15px; font-weight: 500; letter-spacing: 2px; }
#feature-description { color: #a9aaae; font-size: 13px; line-height: 1.9; margin: 0 0 25px; }
.gold-button { width: 100%; border-radius: 24px; padding: 11px 20px; background: linear-gradient(120deg, #f6dca1, #cda05a); color: #30210d; font-size: 14px; font-weight: 600; border: 1px solid #e4c785; }
.gold-button:hover { filter: brightness(1.1); }
.gold-button span { margin-left: 12px; }
.settings-modal { width: 410px; text-align: left; }
.settings-modal h1 { margin-bottom: 10px; }
.settings-description { color: #989ba2; font-size: 12px; margin: 0 0 24px; }
.setting-row { position: relative; display: flex; align-items: center; justify-content: space-between; padding: 17px 0; border-top: 1px solid #a78d4929; cursor: pointer; }
.setting-row strong { display: block; font-size: 14px; font-weight: 500; }
.setting-row small { display: block; font-size: 11px; color: #96989d; margin-top: 5px; }
.setting-row input { position: absolute; right: 0; width: 43px; height: 26px; margin: 0; opacity: 0; z-index: 1; cursor: pointer; }
.switch { width: 43px; height: 26px; background: #292e36; border: 1px solid #4b4a43; border-radius: 14px; transition: background .2s; }
.switch::after { content: ""; display: block; width: 18px; height: 18px; background: #adada7; border-radius: 50%; margin: 3px; transition: transform .2s; }
.setting-row input:checked + .switch { background: #b99a54; border-color: #d3b773; }
.setting-row input:checked + .switch::after { background: #fff2d5; transform: translateX(17px); }
.setting-row:has(input:disabled) { cursor: default; opacity: .55; }
.setting-row input:disabled { cursor: default; }
.settings-tip { font-size: 11px; line-height: 1.8; color: #98938a; margin: 10px 0 23px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* Desktop HUD is independent of the scene: text no longer shrinks with planets. */
.stage { inset: 0; width: 100%; height: 100%; transform: none; }
.scene { position: absolute; left: 108px; right: 298px; top: 90px; bottom: 40px; max-width: 1600px; max-height: 900px; margin: auto; z-index: 1; }
.topbar { left: 24px; right: 24px; top: 16px; height: 54px; z-index: 130; background: linear-gradient(90deg,#07101cba,#030a13ee 35%,#030a13e8 75%,#07101c91); border-top: 1px solid #e6c57413; border-bottom: 1px solid #e6c57426; border-radius: 30px; }
.topnav { left: 50%; transform: translateX(-50%); height: 54px; gap: 6px; }
.nav-item { font-size: 17px; width: 106px; }
.nav-link { display: flex; align-items: center; justify-content: center; }
.nav-link[aria-disabled="true"] { opacity: .5; cursor: default; }
.brand { left: 18px; }
.sidebar { top: 116px; left: 22px; z-index: 110; gap: 21px; }
.side-item { font-size: 15px; }
.universe-caption { top: 89px; left: 116px; font-size: 13px; letter-spacing: 2px; color: #b7ab8e; opacity: .8; }
.checkin { top: 106px; right: 33px; z-index: 110; }
.starfield { position: fixed; }
.core-planet { z-index: 30; }
.orbit-art { z-index: 1; opacity: .7; }
.orbit-fallback { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: #cba456; stroke-width: .8; opacity: .28; pointer-events: none; z-index: 0; }
.planet { transform-origin: center; }
.planet-image { transition: filter .18s; }
.media-grayscale { filter:grayscale(1); }
.planet:hover .planet-image, .planet:focus-visible .planet-image { scale: 1; filter: brightness(1.18) drop-shadow(0 0 10px #ebd09770); }
.planet.locked:hover .planet-image, .planet.locked:focus-visible .planet-image { filter:grayscale(1) brightness(1.18) drop-shadow(0 0 10px #ebd09770); }
.label-leaders { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 70; overflow: visible; }
.label-leaders line { stroke: #bea268; stroke-width: .65; opacity: .42; }
.scene-label { position: absolute; width: var(--orbit-caption-width, 108px); height: 44px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; z-index: 80; pointer-events: none; border-radius: 8px; background: linear-gradient(180deg,#03081088,#030710db); border: 1px solid #b3b0a31f; box-shadow: 0 3px 14px #0005; text-shadow: 0 1px 3px #000; }
.scene-label .label-name { font-size: 16px; line-height: 20px; font-weight: 500; color: #f1eee5; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.scene-label .label-status { display: flex; gap: 4px; align-items: center; color: #c0beb7; font-size: 11px; line-height: 15px; }
.scene-label.ready { border-color: #f1c56640; background: linear-gradient(#17150eaa,#0b0b0ae8); }
.scene-label.ready .label-name { color: #ffe2a0; font-size: 17px; }
.scene-label.ready .label-status { color: #e4c47d; }
.scene-label.pending .label-name { color: #ead4a1; }
.scene-label.pending .label-status { color: #b7a88a; }
.scene-label.selected { border-color: #e9c879; box-shadow: 0 0 12px #f5c86d33; }
.scene-label .lock { width: 9px; height: 8px; margin-top: 3px; }
.scene-label .lock::before { width: 5px; height: 5px; left: 1px; top: -5px; }
.scene-label .lock::after { left: 3px; height: 2px; }
.overview-launcher { left: 24px; bottom: 32px; width: 240px; height: 74px; z-index: 120; border: 1px solid #b9984b87; border-radius: 38px; background: linear-gradient(130deg,#0e1720eb,#080d13ef); box-shadow: 0 0 24px #b7923520, inset 0 1px #f4d9950c; }
.launcher-title { position: absolute; left: 12px; top: 7px; width: 112px; height: 38px; }
.overview-count { left: 24px; top: 47px; font-size: 11px; color: #b9b3a5; }
.overview-enter { left: auto; right: 16px; top: 22px; }
.entry-guide { position: absolute; bottom: calc(100% + 11px); left: 30px; padding: 8px 12px; white-space: nowrap; font-size: 12px; color: #e5d3a8; border: 1px solid #cbaa6155; border-radius: 7px; background: #0b111beb; box-shadow: 0 4px 18px #0006; }
.entry-guide::after { content: ""; position: absolute; left: 40px; bottom: -5px; width: 8px; height: 8px; background: #0b111b; border-right: 1px solid #cbaa6155; border-bottom: 1px solid #cbaa6155; transform: rotate(45deg); }
.guide-active .overview-enter { animation: guide-pulse 2.3s ease-in-out 4; box-shadow: 0 0 12px #ebc67033; }
@keyframes guide-pulse { 0%,100% { box-shadow: 0 0 0 0 #eac77344; filter: brightness(1); } 50% { box-shadow: 0 0 0 7px #eac77300, 0 0 22px #eac77366; filter: brightness(1.3); } }
.overview-panel { left: 24px; bottom: 24px; width: 500px; height: 228px; z-index: 120; border: 1px solid #b6975680; border-radius: 27px; background: linear-gradient(145deg,#101822ed,#060b12f5); box-shadow: 0 10px 28px #0008, inset 0 1px #f2d8a026; }
.overview-panel::before { inset: -8px; background: url("assets/左下星球总览背景-展开.png") center / 100% 100% no-repeat; opacity: .33; border-radius: inherit; pointer-events: none; }
.overview-heading { left: 16px; top: 11px; }
.overview-heading > span { font-size: 11px; max-width: 150px; line-height: 17px; color: #a59f91; }
.hot-filter { right: 88px; top: 17px; font-size: 12px; padding: 2px 8px; }
.hot-filter span { font-size: 14px; }
.refresh-button { right: 53px; top: 23px; }
.close-button { right: 10px; top: 10px; width: 28px; height: 28px; }
.planet-cards { left: 43px; right: 43px; top: 65px; height: 132px; grid-template-columns: repeat(4,96px); gap: 9px; }
.planet-card { height: 132px; background: #03070cb5; border: 1px solid #c2a46a17; padding: 8px 4px; gap: 5px; border-radius: 11px; }
.planet-card.selected { border-color: #dec078; background: linear-gradient(#171810aa,#0c1016); box-shadow: inset 0 0 14px #d2b16510; }
.planet-card.suggested { border-color: #c4a46888; }
.card-image { width: 75px; height: 50px; }
.card-status { font-size: 10px; padding: 2px 5px; line-height: 13px; }
.card-status.ready { color: #f6d992; background: #af87212b; }
.card-status.pending { color: #c5b58b; background: #71634124; }
.card-name { font-size: 12px; white-space: nowrap; max-width: 86px; overflow: hidden; text-overflow: ellipsis; }
.card-hint { font-size: 10px; color: #ad9c75; }
.page-arrow { top: 110px; }
.page-prev { left: 8px; }
.page-next { right: 8px; }
.page-dots { bottom: 9px; }
.detail-panel { left: 540px; bottom: 24px; width: 360px; height: auto; min-height: 358px; z-index: 121; border: 1px solid #b99b6380; border-radius: 27px; background: linear-gradient(145deg,#111a24f0,#080d14f5); padding: 24px 20px 20px; box-shadow: 0 14px 36px #0008, inset 0 1px #f9daa527; }
.detail-panel::before { inset: -8px; background: url("assets/左下-详情页背景.png") center / 100% 100% no-repeat; border-radius: inherit; opacity: .35; pointer-events: none; }
.detail-header { height: 80px; gap: 8px; }
.detail-title-row { margin-bottom: 10px; flex-wrap: wrap; gap: 5px; }
.detail-title-row h2 { font-size: 17px; }
.detail-badge { font-size: 10px; }
.detail-facts { font-size: 12px; gap: 12px; }
.detail-facts small { font-size: 10px; }
.detail-tags { gap: 5px; margin: 9px 0 10px; }
.detail-tags span { font-size: 12px; background: #182332c7; }
.detail-description { height: 40px; line-height: 20px; font-size: 12px; margin-bottom: 12px; color: #bfc0c1; }
.detail-gallery { height: 76px; gap: 7px; }
.gallery-pending { display: grid; place-items: center; text-align: center; border: 1px dashed #bea16138; border-radius: 8px; color: #b4ad9d; font-size: 13px; line-height: 22px; }
.gallery-pending small { font-size: 11px; color: #838e9c; }
.content-link { display: grid; place-items: center; }
.content-link span { position: static; }
.detail-shot { display: block; min-width: 0; border: 1px solid #ab8d4538; border-radius: 7px; background: linear-gradient(135deg,#142132,#0d141e); }
.detail-shot::after { pointer-events: none; }
.detail-shot img, .detail-shot:nth-child(2) img, .detail-shot:nth-child(3) img { transform: none; object-position: center; }
.detail-shot span { font-size: 10px; }
.detail-shot:hover:not(:disabled) { border-color: #dfbc72; }
.detail-shot.empty { cursor: default; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 8px; }
.detail-shot.empty::after { display: none; }
.detail-shot.empty span { position: static; font-size: 12px; color: #d8cdb8; }
.detail-shot.empty small { font-size: 10px; color: #8b94a0; }
.detail-shot.empty::before { content: "◇"; position: absolute; right: 6px; top: 2px; color: #b79c5b3a; font-size: 24px; }
.enter-planet { position: static; margin: 16px auto 0; height: 37px; width: 232px; font-size: 14px; }
.detail-locked { height: 145px; }
.news-panel { right: 24px; bottom: 24px; width: 264px; height: 228px; z-index: 115; padding: 0 12px; border: 1px solid #ac8e4b80; border-radius: 12px; background: linear-gradient(#07101dea,#050b14f0); box-shadow: 0 8px 28px #0007; }
.news-panel::before { display: none; }
.news-heading { height: 45px; }
.news-items { display: grid; gap: 0; }
.news-item { height: 43px; gap: 7px; }
.news-marker { width: 27px; font-size: 19px; }
.news-item > img { width: 32px; height: 32px; }
.news-item > span:last-child { flex: 1; }
.news-item strong { font-size: 12px; line-height: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.news-item small { font-size: 11px; line-height: 16px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.motion-indicator { left: 32px; bottom: 15px; z-index: 110; font-size: 11px; letter-spacing: .5px; }
.toast { position: fixed; z-index: 180; max-width: min(560px,85vw); white-space: normal; text-align: center; line-height: 1.7; }
.loading-screen { position: fixed; inset: 0; z-index: 500; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; background: radial-gradient(ellipse at center,#102037,#02060d 65%); color: #d7c9ab; }
.loading-screen img { filter: drop-shadow(0 0 18px #e4b44c55); }
.loading-title { font-size: 17px; letter-spacing: 3px; }
.loading-screen progress { width: 200px; height: 3px; border: none; border-radius: 3px; overflow: hidden; background: #26303c; accent-color: #e4c078; }
.loading-screen progress::-webkit-progress-bar { background: #26303c; }
.loading-screen progress::-webkit-progress-value { background: linear-gradient(90deg,#9e793c,#f5daa0); }
#load-message { font-size: 12px; color: #85909e; }
.is-loading .scene { opacity: 0; }
.scene { transition: opacity .3s; }
.diagnostic-button { position: fixed; left: 210px; bottom: 10px; z-index: 140; color: #dfc888; font-size: 11px; padding: 4px 9px; border: 1px solid #b8985144; border-radius: 5px; background: #101723; }
.draft-preview-badge { position:fixed; top:76px; right:26px; z-index:200; padding:7px 12px; border:1px solid #d9b96a; border-radius:6px; background:#152337; color:#f5db9e; font-size:12px; }
.diagnostics-modal { width: 560px; text-align: left; }
.diagnostics-modal > p { font-size: 13px; line-height: 1.8; color: #aeb4bd; }
.diagnostics-modal ul { padding-left: 22px; font-size: 12px; line-height: 1.8; overflow-wrap: anywhere; color: #c3b99f; }
.diagnostics-modal li { margin-bottom: 10px; }
.media-modal { width: min(900px,88vw); }
.media-modal > img { max-width: 100%; max-height: 60vh; margin: 0 auto; border-radius: 8px; }
.media-modal h1 { font-size: 20px; }
.media-modal p { color: #adb5bf; font-size: 13px; line-height: 1.8; }
.media-source { display: inline-block; width: auto; }
.feature-destination { display: block; margin: -10px 0 20px; color: #e7c77f; font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }
.noscript-message { position: fixed; z-index: 600; inset: 35% 10% auto; text-align: center; background: #0d1627; padding: 30px; }
.empty-overview { grid-column: 1 / -1; align-self: center; text-align: center; color: #a9a69d; font-size: 13px; }
@media (max-width: 1300px) { .scene { left: 96px; right: 290px; } .sidebar { left: 18px; } .nav-item { width: 96px; font-size: 16px; } .topnav { gap: 2px; } .news-panel { width: 256px; } .brand-word { width: 107px; height: auto; } }
@media (max-height: 720px) { .scene { top: 82px; bottom: 26px; } .sidebar { top: 96px; gap: 12px; } .side-icon { width: 58px; height: 58px; background-size: contain; } .side-item { font-size: 13px; gap: 3px; } .detail-panel { max-height: calc(100vh - 100px); overflow-y: auto; } }
@media (max-width: 1100px) { .news-panel { width: 228px; } .scene { right: 252px; left: 88px; } .overview-panel { width: 460px; } .planet-cards { left: 40px; grid-template-columns: repeat(4,86px); gap: 9px; } .planet-card { width: 86px; } .detail-panel { left: 498px; width: 340px; } .overview-heading > span { display: none; } .brand-word { width: 90px; } }
@media (prefers-reduced-motion: reduce) { .scene, .guide-active .overview-enter { animation: none !important; transition: none !important; } }

/* A single fixed viewport. Only the scene and its panels move. */
.scene-viewport { display: contents; }
.view-controls,.interaction-hint,.core-pulse { display: none; }
html:has(.interactive),body.interactive { width: 100%; height: 100%; overflow: hidden; overscroll-behavior: none; }
.interactive { --space-x: 0px; --space-y: 0px; --view-zoom: 1; }
.interactive .universe { height: 100dvh; overflow: hidden; }
.interactive .universe::after { z-index: 0; box-shadow: inset 0 0 140px 10px #000b; background: linear-gradient(0deg,#01040a90,transparent 28%,transparent 80%,#01040a88); }
.interactive .stage { z-index: 1; }
.space-haze { position: absolute; inset: -50px; pointer-events: none; background: radial-gradient(ellipse at 48% 48%,#a77b1e10,transparent 34%),radial-gradient(ellipse at 20% 85%,#1855a11c,transparent 40%); transform: translate3d(var(--space-x),var(--space-y),0); }
.space-haze::before { content: ""; position: absolute; inset: 20% 25%; border-radius: 50%; background: #b3802112; filter: blur(70px); animation: haze-drift 20s ease-in-out infinite alternate; }
@keyframes haze-drift { to { transform: translate(6%,8%) scale(1.16); opacity: .35; } }
.space-fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; }
.interactive .starfield { inset: -18px; transform: translate3d(calc(var(--space-x) * .5),calc(var(--space-y) * .5),0); }
.interactive .topbar { top: 18px; left: 26px; right: 26px; height: 60px; border: 1px solid #c9ac6429; border-radius: 14px; background: linear-gradient(100deg,#0b1623c9,#030a13da 45%,#07121cbd); box-shadow: 0 8px 30px #0004,inset 0 1px #e1d2a609; backdrop-filter: blur(16px); }
.interactive .brand { left: 19px; gap: 7px; }
.interactive .brand-mark { width: 45px; height: auto; }
.interactive .brand-word { width: 112px; height: auto; }
.interactive .topnav { height: 60px; gap: 16px; }
.interactive .nav-item { min-width: 88px; width: auto; padding: 0 10px; font-size: 15px; font-weight: 500; letter-spacing: 1px; }
.interactive .nav-item.active { background: linear-gradient(0deg,#bc9d4920,transparent 80%); }
.interactive .nav-item.active::after { width: 34px; left: calc(50% - 17px); height: 1px; }
.interactive .header-actions { gap: 21px; right: 17px; }
.interactive .settings-button,.interactive .settings-button img { width: 28px; height: 28px; }
.interactive .avatar { width: 43px; height: 43px; }
.interactive .sidebar { left: 22px; top: 139px; gap: 25px; }
.interactive .side-icon { width: 55px; height: 55px; background-size: contain; }
.interactive .side-icon img { max-width: 35px; max-height: 33px; }
.interactive .side-item { font-size: 13px; gap: 8px; color: #d3c397; }
.interactive .side-item.active .side-icon::before { inset: -11px; background-size: contain; }
.interactive .side-item:hover .side-icon { transform: translateY(-3px); }
.interactive .side-icon { transition: transform .3s,filter .3s; }
.interactive .universe-caption { top: 100px; left: 126px; font-family: "Microsoft YaHei",sans-serif; font-size: 13px; font-weight: 400; letter-spacing: 4px; color: #c6b584; }
.interactive .universe-caption span { width: 22px; }
.interactive .scene-viewport { display: block; position: absolute; left: 108px; right: 296px; top: 132px; bottom: 112px; max-width: 1600px; max-height: 900px; margin: auto; z-index: 3; overflow: hidden; border-radius: 30px; cursor: grab; touch-action: none; user-select: none; }
.interactive .scene { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; transform: scale(var(--view-zoom)); transform-origin: center; transition: none; }
.interactive.is-dragging .scene-viewport,.interactive.is-dragging .planet { cursor: grabbing; }
.interactive.is-dragging .scene-viewport { box-shadow: inset 0 0 35px #c9a85708; }
.interactive .scene-viewport::after { content: ""; position: absolute; inset: 1px; border: 1px solid #cab07100; border-radius: 30px; pointer-events: none; transition: border-color .3s; }
.interactive.is-dragging .scene-viewport::after { border-color: #cab07132; }
.interactive .core-planet { isolation: isolate; }
.interactive .core-aura { inset: 11%; background: radial-gradient(ellipse,#e9b64e16 40%,#d18f1926 60%,transparent 72%); box-shadow: 0 0 85px #d3a52e16; }
.interactive .core-aura::before { content: ""; position: absolute; inset: -14%; border-radius: 50%; background: conic-gradient(from 0deg,transparent 0deg,#edbc4d27 24deg,transparent 40deg,transparent 160deg,#ffd58424 190deg,transparent 210deg); filter: blur(12px); animation: corona-orbit 28s linear infinite; z-index: -1; }
@keyframes corona-orbit { to { transform: rotate(360deg); } }
.interactive #core-image { filter: drop-shadow(0 0 14px #d5942422); }
.core-planet .core-pulse { display: block; position: absolute; width: 52%; height: 60%; left: 24%; top: 20%; border-radius: 50%; pointer-events: auto; cursor: pointer; z-index: 2; text-decoration: none; }
.core-pulse > span { position: absolute; left: 50%; top: 86%; translate: -50% 0; white-space: nowrap; opacity: 0; color: #f2d79a; font-size: 11px; padding: 7px 12px; border: 1px solid #d3ac5f55; border-radius: 20px; background: #060c16cc; transition: opacity .25s,translate .25s; }
.core-pulse:hover > span,.core-pulse:focus-visible > span { opacity: 1; translate: -50% 5px; }
.core-pulse > span { opacity: .92; top: 95%; }
.core-wave { position: absolute; left: 15%; top: 8%; width: 70%; height: 84%; border: 1px solid #f0c465b0; border-radius: 50%; pointer-events: none; animation: core-wave 1.3s ease-out forwards; box-shadow: 0 0 22px #d3a23744,inset 0 0 20px #d3a23722; }
@keyframes core-wave { from { transform: scale(.6); opacity: .9; } to { transform: scale(2.6); opacity: 0; } }
.interactive .core-planet.pulsing #core-image { animation: core-energy .95s ease-out; }
@keyframes core-energy { 0%,100% { filter: drop-shadow(0 0 14px #d5942422); } 30% { filter: brightness(1.17) drop-shadow(0 0 24px #f3bb4566); } }
.interactive .planet-image { transition: filter .25s,scale .3s; }
.interactive .planet:hover .planet-image { scale: 1.035; }
.interactive .planet.selected .planet-image { scale: 1.05; filter: drop-shadow(0 0 15px #f2c3687a); }
.interactive .planet.locked.selected .planet-image { filter: grayscale(1) drop-shadow(0 0 12px #f2c36860); }
.interactive .scene-label { background: linear-gradient(#050a1475,#050a13d9); border-color: #b8c2d21b; backdrop-filter: blur(6px); }
.interactive .scene-label.selected { background: #1e1a0fe3; border-color: #c8a75eaa; box-shadow: 0 0 18px #deb55326; }
.interactive .interaction-hint { display: block; position: absolute; top: 99px; right: 310px; margin: 0; color: #79838f; font-size: 10px; letter-spacing: 1px; z-index: 5; pointer-events: none; }
.interactive .view-controls { position: absolute; left: calc(50% - 94px); bottom: 29px; transform: translateX(-50%); z-index: 110; display: flex; gap: 5px; align-items: center; padding: 7px 11px; border: 1px solid #bda46a45; border-radius: 30px; background: linear-gradient(120deg,#121b25df,#050b14e8); box-shadow: 0 6px 30px #0006,inset 0 1px #ffeac90b; backdrop-filter: blur(18px); transition: opacity .25s,translate .25s; }
.view-controls button { display: grid; place-items: center; height: 32px; min-width: 30px; border-radius: 50%; font-size: 22px; color: #cfba8c; transition: background .2s,color .2s; }
.view-controls button:hover { background: #cfaf6320; color: #fff0c3; }
.view-controls button:disabled { opacity: .35; }
.view-controls .control-text { display: flex; gap: 6px; border-radius: 18px; padding: 0 10px; font-size: 19px; }
.view-controls .control-text span { font-size: 11px; }
.view-controls .pulse-trigger { background: #b28a311a; color: #e8c779; }
.view-controls output { width: 39px; text-align: center; color: #bdb7a8; font: 10px Arial,sans-serif; }
.control-divider { height: 16px; width: 1px; margin: 0 4px; background: #b499592c; }
.interactive .overview-visible .view-controls { opacity: 0; translate: 0 12px; pointer-events: none; }
.interactive .overview-launcher { left: 28px; bottom: 32px; background: linear-gradient(130deg,#13202bdf,#080d15eb); border-color: #c2a35477; backdrop-filter: blur(18px); }
.interactive .overview-panel,.interactive .detail-panel { background: linear-gradient(135deg,#14202dea,#080e17ee); border-color: #c2a36475; box-shadow: 0 18px 50px #0009,inset 0 1px #fff1c91c; backdrop-filter: blur(20px); }
.interactive .overview-panel { animation: overview-slide .4s cubic-bezier(.16,.7,.2,1); }
.interactive .detail-panel { animation: detail-slide .45s cubic-bezier(.16,.7,.2,1); }
.interactive .detail-panel { overflow-x: hidden; scrollbar-width: thin; scrollbar-color: #a78d59 #080f19; }
.interactive .detail-panel::before { inset: 0; }
@keyframes overview-slide { from { opacity: 0; translate: -32px 15px; } to { opacity: 1; translate: 0 0; } }
@keyframes detail-slide { from { opacity: 0; translate: 40px 0; } to { opacity: 1; translate: 0 0; } }
.interactive .overview-panel::before,.interactive .detail-panel::before { opacity: .25; }
.interactive .planet-cards { overflow: hidden; touch-action: none; user-select: none; cursor: grab; }
.interactive .planet-cards.is-swiping,.interactive .planet-cards.is-swiping button { cursor: grabbing; }
.interactive .planet-card { transform: translateX(var(--cards-drag,0px)); transition: background .2s,border-color .2s; }
.interactive .planet-card:hover { border-color: #d6bb7d88; background: #1b2532bb; }
.interactive .planet-card:hover .card-image { filter: drop-shadow(0 0 9px #d5af5144); }
.interactive .news-panel { background: linear-gradient(140deg,#101b29db,#050b14e8); border-color: #baa16055; border-radius: 14px; backdrop-filter: blur(18px); }
.interactive .news-item { transition: transform .25s,background .25s; }
.interactive .news-item:hover { transform: translateX(3px); background: #dfc0700c; }
.interactive .modal { border-radius: 19px; background: radial-gradient(ellipse at top,#51412144,transparent 70%),#07101bf5; }
.interactive .modal[open] { animation: modal-appear .35s ease-out; }
@keyframes modal-appear { from { opacity: 0; translate: 0 14px; } to { opacity: 1; translate: 0 0; } }
.interactive #feature-dialog { margin: auto 35px auto auto; width: 385px; padding: 48px 32px 36px; text-align: left; }
.interactive #feature-dialog .modal-emblem { margin-left: 0; }
.interactive #feature-dialog[open] { animation: drawer-enter .42s cubic-bezier(.16,.7,.2,1); }
@keyframes drawer-enter { from { opacity: 0; translate: 70px 0; } to { opacity: 1; translate: 0 0; } }
.interactive .modal::backdrop { background: #02050a66; backdrop-filter: blur(3px); }
.interactive .toast { top: 89px; }
.interactive .motion-indicator { left: 37px; bottom: 14px; }
.interactive .diagnostic-button { left: auto; right: 28px; bottom: 8px; }
.interactive .loading-screen { background: radial-gradient(ellipse,#1e1c13,#020710 64%); }
.interactive-ready .scene-viewport { animation: scene-arrive 1s cubic-bezier(.2,.7,.2,1); }
@keyframes scene-arrive { from { opacity: 0; scale: .96; } to { opacity: 1; scale: 1; } }
.interactive .view-controls,.interactive .overview-launcher,.interactive .news-panel { animation: hud-arrive .7s ease-out; }
@keyframes hud-arrive { from { opacity: 0; translate: 0 15px; } to { opacity: 1; translate: 0 0; } }
.interactive.ui-still *, .interactive.ui-still *::before,.interactive.ui-still *::after { transition: none !important; }
.ui-still .scene-viewport,.ui-still .overview-panel,.ui-still .detail-panel,.ui-still .modal,.ui-still .view-controls,.ui-still .overview-launcher,.ui-still .news-panel { animation: none !important; }
.effects-off .space-haze::before,.effects-off .core-aura::before { animation: none; opacity: .25; }
.interactive.ambient-suspended .space-haze::before,.interactive.ambient-suspended .core-aura::before { animation-play-state: paused; }
@media (max-width: 1350px) { .interactive .scene-viewport { left: 94px; right: 286px; top: 126px; bottom: 112px; } .interactive .topnav { gap: 8px; } .interactive .nav-item { min-width: 78px; font-size: 14px; } .interactive .universe-caption { left: 111px; letter-spacing: 2px; } .interactive .sidebar { left: 15px; } .interactive .interaction-hint { right: 298px; font-size: 9px; } .interactive .view-controls { gap: 1px; padding: 6px 8px; } .view-controls .control-text { padding: 0 7px; } }
@media (max-height: 780px) { .interactive .sidebar { top: 128px; gap: 18px; } .interactive .side-icon { width: 48px; height: 48px; } .interactive .side-item { font-size: 12px; gap: 6px; } .interactive .checkin { transform: scale(.85); transform-origin: right top; } .interactive .detail-panel { max-height: calc(100vh - 110px); } }
@media (max-width: 1100px) { .interactive .scene-viewport { left: 88px; right: 250px; } .interactive .nav-item { min-width: 69px; padding: 0 5px; font-size: 13px; } .interactive .brand-word { width: 85px; } .interactive .interaction-hint { right: 260px; } .view-controls .control-text span { display: none; } }
@media (prefers-reduced-motion: reduce) { .interactive *, .interactive *::before,.interactive *::after { animation: none !important; transition: none !important; } }

.scene-mode { position: absolute; top: 100px; left: 124px; display: flex; align-items: center; gap: 9px; z-index: 8; color: #aab8cb; font-size: 10px; letter-spacing: .5px; }
.scene-mode[hidden] { display: none; }
.stage:has(.scene-mode:not([hidden])) .universe-caption { display: none; }
.view-controls [data-3d-control][hidden] { display: none; }
.scene-3d .universe-caption { display: none; }
.scene-mode-dot { width: 5px; height: 5px; background: #dfc788; border-radius: 100%; box-shadow: 0 0 8px #e3bd5977; }
.scene-mode button { font-size: 10px; padding: 3px 9px; border: 1px solid #bca16d44; border-radius: 12px; color: #c6b488; }
.scene-mode button:hover { background: #c6a45d20; color: #ffe2a2; }
.scene-3d .scene-viewport { overflow: hidden; cursor: grab; }
.scene-3d .scene-viewport:active { cursor: grabbing; }
.scene-3d .scene { transform: none !important; pointer-events: none; }
.scene-3d #orbit-art,.scene-3d #orbit-fallback,.scene-3d #core-image,.scene-3d .core-aura,.scene-3d .planet-image { visibility: hidden; }
.scene-3d #core-planet { z-index: 20; }
.scene-3d .core-pulse,.scene-3d .planet { pointer-events: none; }
.scene-3d .planet { border-radius: 50%; opacity: 1 !important; }
.scene-3d .planet:focus-visible { outline: 1px solid #f5d994; outline-offset: 5px; box-shadow: 0 0 22px #e7c26955; }
.scene-3d .scene-label { width: 98px; height: 39px; gap: 0; border-radius: 7px; background: #030913bc; backdrop-filter: blur(4px); will-change: transform; }
.scene-3d .scene-label .label-name { font-size: 14px; line-height: 18px; }
.scene-3d .scene-label .label-status { font-size: 10px; line-height: 13px; }
.scene-3d .scene-label.selected,.scene-3d .scene-label.hovered { border-color: #e0c183a3; color: #ffe2a4; }
.galaxy-canvas { position: absolute; inset: 0; width: 100%; height: 100%; outline: none; touch-action: none; }
.galaxy-canvas[hidden] { display: none; }
.scene-3d .interaction-hint { color: #98a6b9; letter-spacing: .5px; }
.scene-3d .label-leaders line { opacity: .32; stroke-dasharray: 2 3; }
@media (max-width: 1350px) { .scene-mode { left: 108px; top: 98px; } .scene-3d .interaction-hint { right: 295px; font-size: 9px; } }
@media (max-width: 1100px) { .scene-mode { top: 83px; left: 100px; } .scene-3d .interaction-hint { top: 104px; left: 100px; right: auto; } }

/* The scene stays on one screen. Camera moves, atmosphere and UI share a rhythm. */
.stellar-status {position:absolute;z-index:110;bottom:94px;left:45%;translate:-50% 0;pointer-events:none;padding:8px 22px;border:1px solid #e2b45b44;border-radius:24px;background:linear-gradient(110deg,#08101de8,#231b0fce);box-shadow:0 0 28px #e6a74217;color:#f4d99d;font-size:11px;letter-spacing:5px;backdrop-filter:blur(12px);}
.stellar-status[hidden],body:not(.scene-3d) .stellar-status {display:none;}
.stellar-status[data-phase="release"] {color:#fff3d1;border-color:#efd18b99;box-shadow:0 0 30px #eda74044;}
.scene-3d .pulse-trigger {position:relative;min-width:106px;overflow:hidden;}
.scene-3d .pulse-trigger::after {content:"";position:absolute;left:10%;bottom:1px;width:calc(var(--surge-progress,0%) * .8);height:1px;background:#f7d38b;box-shadow:0 0 8px #ffcc75;}
.scene-3d .pulse-trigger[aria-busy="true"] {opacity:1;cursor:progress;color:#f0d69d;background:#b0862924;}
.cinema-readout { position:absolute; z-index:100; left:132px; top:145px; display:flex; flex-direction:column; gap:10px; pointer-events:none; max-width:330px; animation:cinema-copy .75s cubic-bezier(.16,.8,.2,1) both; }
.cinema-readout[hidden],.intro-skip[hidden],.view-controls [data-3d-tour][hidden] { display:none; }
.cinema-eyebrow { color:#a6c2db; letter-spacing:3px; font:9px Arial,sans-serif; }
.cinema-readout strong { font-size:23px; font-weight:400; letter-spacing:3px; color:#f5e9ce; text-shadow:0 2px 20px #02050a; }
#cinema-shot-caption { color:#b6bac3; letter-spacing:1px; font-size:11px; }
.cinema-progress { display:block; width:130px; height:1px; margin-top:5px; background:linear-gradient(90deg,#efce8e var(--shot-progress,0%),#98b5d122 var(--shot-progress,0%)); box-shadow:0 0 10px #efce8e33; }
.intro-skip { position:absolute; z-index:145; right:310px; top:143px; color:#cfbe99; font-size:11px; padding:8px 13px; border:1px solid #a98b4d55; border-radius:20px; background:#030a17a6; backdrop-filter:blur(12px); }
.intro-skip span { padding-left:9px; color:#f6d28b; }
.intro-skip:hover { background:#252014bb; border-color:#e1c28a; }
.scene-3d .universe { background-color:#01030b; }
.scene-3d .space-haze { background:radial-gradient(ellipse at 45% 57%,#b7832410,transparent 33%),radial-gradient(ellipse at 12% 62%,#1c4e8b20,transparent 40%); }
.scene-3d .scene-viewport { border-radius:0; }
.scene-3d .galaxy-canvas { position:absolute;inset:0;width:100%;height:100%;z-index:2;pointer-events:none; }
.scene-3d .planet,.scene-3d .scene-label,.scene-3d .label-leaders { transition:opacity .65s ease; }
.scene-3d.camera-flight .scene-label:not(.selected),.scene-3d.camera-flight .label-leaders { opacity:.16; }
.scene-3d.camera-flight.cinema-intro .scene-label,.scene-3d.camera-flight.cinema-tour .scene-label { opacity:0; }
/* Image mode reveals the whole scene; video mode reveals only 3D subjects. */
.scene-3d.cinema-intro .topbar { animation:hud-land .8s .25s both; }
.scene-3d.cinema-intro .sidebar { animation:hud-land .8s .7s both; }
.scene-3d.cinema-intro .overview-launcher { animation:hud-land .85s 1.1s both; }
.scene-3d.cinema-intro .news-panel { animation:hud-land .85s 1.25s both; }
.scene-3d.cinema-intro .checkin { animation:hud-land .8s .85s both; }
.scene-3d.cinema-intro .view-controls { animation:controls-land .8s 1.35s both; }
.scene-3d .overview-panel { animation:panel-arrive .7s cubic-bezier(.16,.7,.2,1) both; }
.scene-3d .overview-panel .planet-card { animation:card-arrive .65s cubic-bezier(.18,.8,.2,1) both; }
.scene-3d .overview-panel .planet-card:nth-child(2){animation-delay:.07s}
.scene-3d .overview-panel .planet-card:nth-child(3){animation-delay:.14s}
.scene-3d .overview-panel .planet-card:nth-child(4){animation-delay:.21s}
.scene-3d .detail-panel { animation:detail-arrive .85s cubic-bezier(.16,.75,.2,1) both; }
.view-controls .flight-replay { background:linear-gradient(120deg,#4467932c,#8d6e3429); color:#e3d0a1; border:1px solid #bfa56935; }
.scene-3d .core-wave { border-color:#ffdb8dcc; box-shadow:0 0 35px #e8b04177,inset 0 0 30px #e8b04144; }
.scene-3d #feature-dialog[open] { animation:drawer-cinema .6s cubic-bezier(.18,.75,.2,1); }
@keyframes hud-land { from{opacity:0;translate:0 15px;filter:blur(4px)} to{opacity:1;translate:0 0;filter:blur(0)} }
@keyframes controls-land { from{opacity:0;translate:0 12px} to{opacity:1;translate:0 0} }
@keyframes cinema-copy { from{opacity:0;translate:0 16px;filter:blur(4px)} to{opacity:1;translate:0 0;filter:blur(0)} }
@keyframes panel-arrive { from{opacity:0;translate:-35px 28px;filter:blur(5px)} to{opacity:1;translate:0 0;filter:blur(0)} }
@keyframes card-arrive { from{opacity:0;translate:24px 8px} to{opacity:1;translate:0 0} }
@keyframes detail-arrive { from{opacity:0;translate:40px 30px;filter:blur(6px)} to{opacity:1;translate:0 0;filter:blur(0)} }
@keyframes drawer-cinema { from{opacity:0;transform:translateX(45px);filter:blur(4px)} to{opacity:1;transform:translateX(0);filter:blur(0)} }
@media(max-width:1350px){.cinema-readout{left:110px;top:134px;max-width:275px}.cinema-readout strong{font-size:20px}.intro-skip{right:295px;top:135px}.view-controls .control-text{padding:0 8px}.interactive .view-controls{gap:3px;padding-inline:8px}}
@media(max-height:780px){.cinema-readout{top:129px}.cinema-readout strong{font-size:19px}.cinema-eyebrow{font-size:8px}.intro-skip{top:128px}}
.ui-still .cinema-readout,.ui-still .intro-skip{display:none}
.ui-still .stage * { animation-duration:0s!important;animation-delay:0s!important; }
.scene-3d .news-panel,.scene-3d .checkin,.scene-3d .sidebar,.scene-3d .overview-launcher { transition:opacity .6s ease,filter .6s ease; }
.scene-3d.cinema-tour .news-panel,.scene-3d.cinema-tour .checkin,.scene-3d.cinema-tour .sidebar,.scene-3d.cinema-tour .overview-launcher { opacity:.22; }
.scene-3d.cinema-tour .sidebar:hover,.scene-3d.cinema-tour .overview-launcher:hover,.scene-3d.cinema-tour .news-panel:hover,.scene-3d.cinema-tour .checkin:hover { opacity:1; }
.scene-3d.model-focused .news-panel,.scene-3d.model-focused .checkin { opacity:0;pointer-events:none; }
.scene-3d.model-focused .scene-label:not(.selected) { opacity:.2; }
.scene-3d.model-focused .scene-label.hovered { opacity:.8; }
.scene-3d .scene-label { background:#040b14a8;border-color:#9eafc316;transition:opacity .55s ease,border-color .3s ease,background .3s ease; }
.scene-3d .scene-label.hovered { background:#141b24dc;box-shadow:0 0 18px #dcb96d18; }
.scene-3d.model-focused .detail-panel { left:auto;right:36px;top:50%;bottom:auto;transform:translateY(-50%);width:360px;max-height:calc(100vh - 170px);border-radius:23px;background:linear-gradient(130deg,#111d2aee,#050b14ed);animation:none;transition:opacity .3s ease,translate .5s ease; }
.scene-3d.model-focused.focus-arriving .detail-panel { opacity:0;translate:18px 0;pointer-events:none; }
.scene-3d.model-focused.detail-ready .detail-panel { opacity:1;translate:0 0; }
.scene-3d.detail-ready #detail-content > * { animation:detail-content-land .45s ease both; }
.scene-3d.detail-ready #detail-content > :nth-child(2) { animation-delay:.08s; }
.scene-3d.detail-ready #detail-content > :nth-child(3) { animation-delay:.14s; }
.scene-3d.detail-ready #detail-content > :nth-child(4) { animation-delay:.2s; }
.scene-3d.detail-ready #detail-content > :nth-child(5) { animation-delay:.26s; }
.scene-3d.model-focused .cinema-readout { max-width:290px; }
.quality-setting select { appearance:auto;border:1px solid #bca16d66;background:#0a1420;color:#e8d4ab;border-radius:8px;padding:8px 12px;min-width:92px;font:inherit; }
.quality-setting select:focus-visible { outline:2px solid #e0c187;outline-offset:3px; }
.settings-modal { max-height:calc(100vh - 56px);overflow-y:auto; }
@keyframes detail-content-land { from {opacity:0;translate:0 9px} to {opacity:1;translate:0 0} }
@media(max-width:1350px){.scene-3d.model-focused .detail-panel{right:24px;width:330px;padding:20px 17px;}.scene-3d.model-focused .detail-tags span{font-size:11px}}
@media(prefers-reduced-motion:reduce){.scene-3d .stage *{animation:none!important;transition:none!important}.cinema-readout,.intro-skip{display:none!important}}

@property --accent {syntax:"<color>";inherits:true;initial-value:#e1bf7a;}
body {--accent:#e1bf7a;--glass-line:color-mix(in srgb,var(--accent) 28%,transparent);--glass-fill:linear-gradient(135deg,#152333ed,#080f1bef 58%,#080e18f5);transition:--accent .65s ease;}
.interactive .topbar,.interactive .overview-panel,.interactive .detail-panel,.scene-3d.model-focused .detail-panel,.interactive .news-panel,.interactive .modal,.interactive .view-controls,.interactive .overview-launcher {
  border:1px solid var(--glass-line);background:var(--glass-fill);box-shadow:0 18px 48px #0005,inset 0 1px #e6efff13,inset 0 -1px #0004;backdrop-filter:blur(22px) saturate(1.15);
}
.interactive .topbar {border-radius:18px;background:linear-gradient(100deg,#122131d9,#080f1bee 45%,#0c1724d9);box-shadow:0 12px 38px #0004,inset 0 1px #ecf5ff13;}
.interactive .overview-panel,.interactive .detail-panel,.scene-3d.model-focused .detail-panel,.interactive .news-panel,.interactive .modal {border-radius:22px;}
.interactive .overview-panel::before,.interactive .detail-panel::before {content:none;}
.interactive .overview-panel::after,.interactive .detail-panel::after,.interactive .news-panel::after {
  content:"";position:absolute;left:9%;right:9%;height:1px;top:0;background:linear-gradient(90deg,transparent,color-mix(in srgb,var(--accent) 70%,white),transparent);opacity:.6;pointer-events:none;
}
.interactive .topnav {isolation:isolate;}
.interactive .nav-item {color:#c7cdd7;transition:color .25s,background .3s;}
.interactive .nav-item.active,.interactive .nav-item:hover,.interactive .nav-item:focus-visible {color:color-mix(in srgb,var(--accent) 75%,white);background:linear-gradient(0deg,color-mix(in srgb,var(--accent) 11%,transparent),transparent 90%);}
.interactive .nav-item.active::after {display:none;}
.nav-indicator {position:absolute;left:0;bottom:0;height:2px;border-radius:100%;background:linear-gradient(90deg,transparent,var(--accent),transparent);box-shadow:0 0 15px color-mix(in srgb,var(--accent) 55%,transparent);transition:transform .45s cubic-bezier(.16,.75,.2,1),width .45s,background .5s;pointer-events:none;}
.interactive .side-icon,.interactive .side-item.active .side-icon {border:1px solid var(--glass-line);border-radius:18px;background:linear-gradient(145deg,#142232db,#080f19ed);box-shadow:inset 0 1px #ffffff10,0 8px 22px #0004;overflow:hidden;}
.interactive .side-item.active .side-icon::before {content:none;}
.interactive .side-icon::after {content:"";position:absolute;inset:-30%;background:linear-gradient(110deg,transparent 38%,color-mix(in srgb,var(--accent) 22%,transparent) 50%,transparent 62%);translate:-95% 0;pointer-events:none;}
.interactive .side-item:hover .side-icon::after,.interactive .side-item:focus-visible .side-icon::after {animation:metal-reflection .8s ease-out;}
.interactive .side-item.active .side-icon {border-color:color-mix(in srgb,var(--accent) 65%,transparent);box-shadow:0 0 20px color-mix(in srgb,var(--accent) 10%,transparent),inset 0 1px #fff3;}
.interactive .side-item {color:#aebccd;}
.interactive .side-item.active,.interactive .side-item:hover {color:var(--accent);}
@keyframes metal-reflection {to{translate:95% 0;}}
.interactive button:focus-visible,.interactive a:focus-visible {outline:2px solid var(--accent);outline-offset:4px;}
.interactive .view-controls {border-radius:22px;padding-block:8px;}
.interactive .view-controls button {color:var(--accent);}
.interactive .view-controls button:hover {background:color-mix(in srgb,var(--accent) 13%,transparent);}
.interactive .overview-launcher {border-radius:32px;}
.interactive .overview-enter {border-radius:18px;transition:box-shadow .3s,translate .3s;}
.interactive .overview-enter:hover {translate:2px 0;box-shadow:0 0 20px color-mix(in srgb,var(--accent) 20%,transparent);}
.interactive .close-button,.interactive .modal-close,.interactive .refresh-button {transition:rotate .3s,filter .3s,background .3s;}
.interactive .close-button:hover,.interactive .modal-close:hover {rotate:90deg;filter:brightness(1.25);}
.interactive .hot-filter {border:1px solid var(--glass-line);background:#06101c9c;color:var(--accent);border-radius:16px;}
.interactive .hot-filter[aria-pressed="true"] {background:color-mix(in srgb,var(--accent) 15%,#08111c);border-color:var(--accent);}
.interactive .news-item {border-radius:9px;}
.interactive .news-item:hover {background:color-mix(in srgb,var(--accent) 8%,transparent);}
.interactive .news-item:hover strong {color:var(--accent);}

/* A continuous rail: four cards and a glimpse of the next card on desktop. */
.interactive .planet-cards {display:flex;left:32px;right:32px;top:62px;height:145px;gap:10px;overflow-x:auto;overflow-y:hidden;padding:5px 0 6px;scrollbar-width:none;overscroll-behavior-x:contain;touch-action:pan-y;scroll-behavior:auto;mask-image:linear-gradient(90deg,#000 96%,transparent);}
.planet-cards::-webkit-scrollbar {display:none;}
.interactive .planet-card,.scene-3d .overview-panel .planet-card {flex:0 0 96px;width:96px;height:132px;transform:none;animation:none;box-sizing:border-box;border:1px solid #a5c1dc1c;border-radius:14px;background:linear-gradient(145deg,#172435ae,#060d17d9);transition:border-color .35s,background .35s,box-shadow .35s;}
.interactive .planet-card:hover {border-color:color-mix(in srgb,var(--accent) 60%,transparent);background:linear-gradient(145deg,color-mix(in srgb,var(--accent) 10%,#101c2b),#080f1b);box-shadow:inset 0 1px #fff2;}
.interactive .planet-card .card-image {transition:transform .45s cubic-bezier(.2,.8,.2,1),filter .4s;}
.interactive .planet-card:hover .card-image {transform:translateY(-3px) scale(1.07);filter:drop-shadow(0 5px 9px color-mix(in srgb,var(--accent) 25%,transparent));}
.interactive .planet-card.selected {border-color:var(--accent);background:linear-gradient(145deg,color-mix(in srgb,var(--accent) 16%,#111c2a),#080f1b);box-shadow:inset 0 0 20px color-mix(in srgb,var(--accent) 8%,transparent);}
.interactive .planet-card.selected .card-name,.interactive .planet-card.selected .card-hint {color:var(--accent);}
.interactive .planet-card.suggested {border-color:color-mix(in srgb,var(--accent) 65%,transparent);}
.interactive .planet-cards.is-swiping .card-image {transform:none;}
.interactive .page-arrow {top:112px;z-index:2;}
.interactive .page-prev {left:4px;}.interactive .page-next {right:4px;}
.interactive .page-dots {bottom:9px;gap:8px;}
.interactive .page-dot {background:transparent;}
.interactive .page-dot::after {transition:width .3s,background .3s;}
.interactive .page-dot[aria-current="true"]::after {background:var(--accent);box-shadow:0 0 9px color-mix(in srgb,var(--accent) 25%,transparent);}
.interactive .planet-card:focus-visible {outline-offset:-3px;}
.interactive .empty-overview {margin:auto;color:#aebccd;}

.interactive .detail-panel {transition:border-color .65s,box-shadow .65s;}
.interactive .detail-tags span {border:1px solid color-mix(in srgb,var(--accent) 14%,transparent);background:linear-gradient(120deg,color-mix(in srgb,var(--accent) 6%,#132033),#101a28);color:#d9e2ed;border-radius:8px;font-weight:500;}
.interactive .detail-fact-line,.interactive .detail-badge,.interactive .card-status.ready {color:var(--accent);}
.interactive .detail-badge {border-color:color-mix(in srgb,var(--accent) 38%,transparent);background:color-mix(in srgb,var(--accent) 9%,#09111b);}
.interactive .detail-description {color:#b9c6d7;line-height:1.85;}
.interactive .detail-shot {border-color:#9db4d326;border-radius:11px;background:linear-gradient(140deg,#19263685,#080f18b8);}
.interactive .detail-shot:not(:disabled):hover {border-color:var(--accent);box-shadow:0 0 18px color-mix(in srgb,var(--accent) 10%,transparent);}
.interactive .enter-planet,.interactive .gold-button {border:1px solid color-mix(in srgb,var(--accent) 80%,white);border-radius:19px;background:linear-gradient(120deg,color-mix(in srgb,var(--accent) 55%,white),var(--accent));color:#102035;box-shadow:inset 0 1px #fff8,0 5px 22px color-mix(in srgb,var(--accent) 14%,transparent);transition:box-shadow .3s,filter .3s,translate .3s;}
.interactive .enter-planet:hover,.interactive .gold-button:hover {translate:0 -2px;box-shadow:inset 0 1px #fff8,0 7px 27px color-mix(in srgb,var(--accent) 24%,transparent);}
.interactive .enter-planet.disabled {background:linear-gradient(130deg,color-mix(in srgb,var(--accent) 8%,#121c28),#0a131f);color:color-mix(in srgb,var(--accent) 68%,#9caabe);border-color:color-mix(in srgb,var(--accent) 34%,transparent);box-shadow:inset 0 1px #fff1;translate:none;}
.scene-3d .scene-label.selected {border-color:color-mix(in srgb,var(--accent) 26%,transparent);border-radius:12px;background:linear-gradient(145deg,color-mix(in srgb,var(--accent) 8%,#0c1422),#09101ae8);box-shadow:0 7px 20px #0004,inset 0 1px color-mix(in srgb,var(--accent) 14%,transparent);}
.scene-3d .scene-label.selected .label-name,.scene-3d .scene-label.selected .label-status {color:var(--accent);}
body[data-theme="linshu"] .detail-panel .close-button img {filter:hue-rotate(155deg) saturate(.8);}
.interactive .modal {background:var(--glass-fill);}
.interactive dialog::backdrop {background:#020712a6;backdrop-filter:blur(5px);}

/* Keep all scene variants concealed until the chosen renderer is prepared. */
.is-loading .universe {visibility:hidden;opacity:0;pointer-events:none;}
.loading-screen,.interactive .loading-screen {gap:18px;background:radial-gradient(ellipse at 50% 48%,#142338 0%,#070e1c 40%,#030710 75%);overflow:hidden;}
.loading-screen[hidden] {display:none;}
.loading-screen::before {content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(1px 1px at 17% 24%,#b6d9ff9c,transparent),radial-gradient(1px 1px at 77% 19%,#c1d9ff9c,transparent),radial-gradient(2px 2px at 65% 75%,#d8c28c8c,transparent),radial-gradient(1px 1px at 27% 72%,#b6d9ff9c,transparent),radial-gradient(1px 1px at 84% 61%,#b6d9ff9c,transparent);}
.loading-emblem {width:150px;height:150px;display:grid;place-items:center;position:relative;margin-bottom:8px;}
.loading-emblem img {width:61px;height:auto;filter:drop-shadow(0 0 24px #e4b44c44);}
.loading-emblem::before,.loading-emblem::after {content:"";position:absolute;inset:0;border-radius:50%;border:1px solid #d4b36a22;border-top-color:#ecd498a8;animation:loading-orbit 8s linear infinite;transform:rotate(-30deg);}
.loading-emblem::after {inset:13px;border-color:#6e95c524;border-right-color:#87b6f381;animation-direction:reverse;animation-duration:11s;}
.loading-kicker {margin:0;font:10px Arial,sans-serif;color:#7991b0;letter-spacing:5px;}
.loading-title {font-size:22px;font-weight:400;letter-spacing:5px;color:#e6d6b3;}
.loading-meter {display:flex;align-items:center;gap:15px;margin-top:8px;}
.loading-meter progress {width:210px;height:2px;}
#load-percent {font:11px Arial,sans-serif;letter-spacing:1px;color:#c7ac7a;min-width:34px;}
#load-message {font-size:12px;letter-spacing:1px;color:#8699b2;}
.load-enter {border:1px solid #a6bad52e;border-radius:18px;padding:8px 16px;color:#b9c8dc;font-size:12px;}
.load-enter[hidden] {display:none;}
@keyframes loading-orbit {to{transform:rotate(330deg);}}
@media(max-width:1100px){.interactive .planet-cards{left:30px;right:30px}.interactive .planet-card{flex-basis:86px;width:86px}}
@media(prefers-reduced-motion:reduce){body{transition:none}.loading-emblem::before,.loading-emblem::after{animation:none}.nav-indicator{transition:none}}
.ui-still,.ui-still .nav-indicator,.ui-still .card-image,.ui-still .page-dot::after {transition:none!important;}
.ui-still .loading-emblem::before,.ui-still .loading-emblem::after {animation:none;}

/* A stable detail frame keeps spatial context while its content changes. */
.scene-3d.model-focused .scene-label:not(.selected),.scene-3d.model-focused .label-leaders {opacity:0!important;visibility:hidden!important;}
.scene-3d.model-focused .detail-panel {min-height:356px;}
.interactive :is(.enter-planet,.overview-enter,.hot-filter,.nav-item,.view-controls button) {transition:box-shadow .25s,background .25s,color .25s,filter .25s,scale .16s,translate .25s;}
.interactive :is(.enter-planet,.hot-filter,.view-controls button):hover:not(:disabled) {box-shadow:inset 0 1px #ffffff40,0 0 16px color-mix(in srgb,var(--accent) 12%,transparent);}
.interactive :is(.enter-planet,.overview-enter,.hot-filter,.nav-item,.view-controls button):active:not(:disabled) {scale:.97;translate:0 1px;}
.ui-still :is(.enter-planet,.overview-enter,.hot-filter,.nav-item,.view-controls button) {transition:none;}

/* Video and its poster share one layer behind the transparent 3D scene. */
.video-backdrop { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; background: #02040c center / cover no-repeat; filter: brightness(calc(.58 * var(--rhythm-gain,1))) saturate(.86) blur(var(--focus-blur,0px)); transition: filter 1.1s ease; will-change:transform; }
.video-backdrop video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0; transition: opacity .7s ease; }
.video-backdrop.is-playing video { opacity: 1; }
.video-backdrop::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 46%, #02050b26 0%, transparent 46%, #01030b55 100%), linear-gradient(#01030b33,transparent 25%,transparent 75%,#01030b33); }
.video-background.model-focused .video-backdrop { filter: brightness(calc(.54 * var(--rhythm-gain,1))) saturate(.83) blur(var(--focus-blur,0px)); }
.video-background .space-haze,.video-background .starfield { display: none; }
.video-background .universe::after { background: none; box-shadow: none; }
.video-background.ui-still .video-backdrop,.video-background.ui-still .video-backdrop video { transition: none; }
@media (prefers-reduced-motion: reduce) { .video-backdrop,.video-backdrop video { transition: none; } }

.immersive-open {display:grid;place-items:center;width:35px;height:35px;border:1px solid #d3b67555;border-radius:11px;color:#e4c689;font-size:23px;transition:background .25s,border-color .25s;}
.immersive-open:hover {background:#dcc08016;border-color:#e5ca8ca6;}
.immersive-open:disabled {opacity:.35;}
.interactive .header-actions {gap:14px;}
/* Keep primary destinations usable throughout the camera reveal. */
.scene-3d.cinema-intro :is(.sidebar,.checkin,.news-panel,.view-controls,.scene-mode,.interaction-hint,.motion-indicator) {opacity:0!important;visibility:hidden!important;pointer-events:none!important;animation:none!important;}
.scene-3d.cinema-intro #planet-layer button,.scene-3d.cinema-intro #core-pulse {visibility:hidden!important;}
.scene-3d :is(.topbar,.sidebar,.checkin,.news-panel,.overview-launcher,.view-controls,.scene-mode,.interaction-hint) {transition:opacity .65s ease,visibility .65s;}
/* HUD is inert as well as hidden; the full viewport remains a camera surface. */
.immersive :is(.topbar,.sidebar,.checkin,.news-panel,.overview-launcher,.overview-panel,.detail-panel,.view-controls,.scene-mode,.interaction-hint,.motion-indicator,.universe-caption,.cinema-readout,.intro-skip,.stellar-status,.scene-label,.label-leaders,.toast,#diagnostic-open) {opacity:0!important;visibility:hidden!important;pointer-events:none!important;}
.interactive.immersive .scene-viewport {inset:0;max-width:none;max-height:none;border-radius:0;outline:none;}
.immersive #planet-layer button {visibility:hidden!important;}
.immersive-controls {position:fixed;right:28px;top:25px;z-index:300;display:flex;gap:10px;align-items:center;padding:9px 10px 9px 17px;border:1px solid #a8c3d437;border-radius:18px;background:#07111bba;backdrop-filter:blur(18px);color:#d4dbe1;transition:opacity .45s,translate .45s;}
.immersive-controls small {font-size:11px;color:#9babbb;margin-right:10px;}
.immersive-controls button {padding:9px 14px;border:1px solid #d5be8255;border-radius:11px;font-size:12px;color:#e8cf94;transition:background .2s;}
.immersive-controls button:hover {background:#ebd39515;}
.immersive-controls button:disabled {opacity:.4;}
.immersive-controls-idle .immersive-controls:not(:focus-within):not(:hover) {opacity:0;translate:0 -6px;pointer-events:none;}
.ui-still .immersive-controls,.ui-still.scene-3d :is(.topbar,.sidebar,.checkin,.news-panel,.overview-launcher,.view-controls,.scene-mode,.interaction-hint) {transition:none;}
@media(prefers-reduced-motion:reduce){.immersive-controls,.scene-3d :is(.topbar,.sidebar,.checkin,.news-panel,.overview-launcher,.view-controls,.scene-mode,.interaction-hint){transition:none;}}

body.scene-3d.cinema-intro:not(.immersive) :is(.topbar,.overview-launcher){animation:none;visibility:visible;opacity:1;pointer-events:auto}

.stage > #load-enter {position:absolute;right:310px;top:185px;z-index:145;background:#101929}

/* Compact labels remain readable without turning the orbit into a grid of cards. */
.scene-3d .scene-label {
  width:88px;height:34px;padding:2px 6px;gap:0;border-radius:6px;
  background:linear-gradient(180deg,rgb(5 12 22 / var(--label-alpha,.4)),rgb(3 8 16 / calc(var(--label-alpha,.4) + .16)));
  border-color:#bdcddd12;box-shadow:0 2px 8px #0002;backdrop-filter:blur(3px);
  text-shadow:0 1px 3px #000,0 0 6px #0009;
  transition:opacity .3s ease,border-color .25s ease,background .25s ease;
}
.scene-3d .scene-label .label-name {font-size:13px;line-height:16px;font-weight:500;letter-spacing:.2px;}
.scene-3d .scene-label .label-status {font-size:10px;line-height:12px;gap:3px;color:#c4c6ca;}
.scene-3d .scene-label.ready .label-status {color:#e3c888;}
.scene-3d .scene-label.pending .label-status {color:#c5b795;}
.scene-3d .scene-label:is(.selected,.hovered) {
  border-radius:6px;border-color:color-mix(in srgb,var(--accent,#e4c38a) 35%,transparent);
  background:linear-gradient(150deg,#1b202be0,#080e18df);
  box-shadow:0 3px 12px #0003,inset 0 1px #e3d6af0d;
}
.scene-3d .label-leaders line {opacity:.20;stroke-dasharray:1 4;}
.scene-3d.ui-still .scene-label {transition:none;}
@media(prefers-reduced-motion:reduce){.scene-3d .scene-label{transition:none;}}

/* Empty media has one quiet line, leaving room for the live selected model. */
.detail-content-pending {display:flex;align-items:center;gap:8px;min-height:34px;padding:9px 0 3px;color:#9caabe;font-size:11px;line-height:18px;border-top:1px solid #c5d5e512;}
.detail-content-pending > :first-child {color:var(--accent,#e4c38a);opacity:.75;font-size:16px;}
.interactive .detail-panel:has(.detail-content-pending) {min-height:0;}
.scene-3d.model-focused .detail-panel:has(.detail-content-pending) {min-height:0;}
.scene-3d.model-focused .detail-description {height:auto;min-height:24px;max-height:48px;line-height:24px;margin-bottom:12px;}
/* account/session-menu.css */

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


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

.section-nav-more{position:relative;align-self:center;color:inherit}.section-nav-more summary{cursor:pointer;white-space:nowrap;font:inherit}.section-nav-more>div{position:absolute;right:0;top:110%;z-index:20;display:grid;min-width:8em;background:#101a2b;border:1px solid #756242;border-radius:.6rem;padding:.4rem}.site-nav .section-nav-more a{padding:.45em .8em;display:block;white-space:nowrap}
@media(max-width:760px) {
  :is(.gifts-page,.wardrobe-page)>.sitebar {margin-inline:8px; padding-inline:8px; gap:4px}
  :is(.gifts-page,.wardrobe-page) .sitebar .site-nav {flex:1; min-width:0; gap:0; justify-content:space-evenly}
  :is(.gifts-page,.wardrobe-page) .sitebar .site-nav>a {min-width:0; padding-inline:3px; font-size:12px}
  :is(.gifts-page,.wardrobe-page) .sitebar .sitebrand {min-width:0; flex:none}
  :is(.gifts-page,.wardrobe-page) .sitebar #site-member-name {display:none}
  :is(.gifts-page,.wardrobe-page) .sitebar .site-account-trigger {padding-inline:5px}
}
/* home-badge.css */
/* Keep the existing .checkin HUD hook for intro, focus and immersive visibility. */
.checkin.home-badge,
.interactive .checkin.home-badge {
  top: 78px;
  right: 21px;
  width: auto;
  height: clamp(240px, 34vh, 352px);
  aspect-ratio: 3 / 4;
  background: none;
  transform: none;
  pointer-events: none;
  user-select: none;
  contain: layout style;
}
.home-badge-poster,
.home-badge-animation {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.home-badge-level {
  position: absolute;
  left: 38.6%;
  top: 49.5%;
  width: 22.8%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
.home-badge-number {
  position: absolute;
  inset: 0;
  background-size: 500% 200%;
  background-repeat: no-repeat;
}
.home-badge-text {
  color: #f1d2a3;
  font: 600 clamp(10px, 1.25vh, 14px)/1.4 "Microsoft YaHei", sans-serif;
  white-space: nowrap;
  text-shadow: 0 2px 4px #000, 0 0 6px #000;
}
.home-badge[data-large-level] .home-badge-text {
  font: 700 clamp(24px, 3.2vh, 34px)/1 Georgia, "Times New Roman", serif;
  letter-spacing: -1px;
}
.home-badge [hidden] { display: none !important; }

.home-badge:not([data-creator="shuangquan"]) :is(.home-badge-poster,.home-badge-animation,.home-badge-level){display:none}
.home-badge .badge-switch{position:absolute;top:37%;left:0;z-index:1;pointer-events:auto;cursor:pointer;background:transparent;border:0;padding:2px;display:grid;justify-items:center;color:#f6d999;text-shadow:0 1px 4px #000;font:600 12px/1.4 "Microsoft YaHei",sans-serif}
.home-badge .badge-switch img{width:46px;height:46px;object-fit:contain}
.home-badge .badge-switch span{display:none}
.home-badge[data-creator=""] .badge-switch{top:3%;left:auto;right:9%}
.home-badge[data-creator=""] .badge-switch span{display:block}
.home-badge .badge-switch:hover img{filter:brightness(1.18)}
#badge-emblem{position:absolute;inset:7% 4% auto 24%;display:grid;justify-items:center;text-align:center;color:#ffe5ad;text-shadow:0 2px 5px #000,0 0 10px #10101e;font:700 18px/1.3 Georgia,"Microsoft YaHei",serif}
#badge-emblem > :is(img,svg){width:100%;height:clamp(85px,13vh,134px);object-fit:contain;filter:drop-shadow(0 4px 7px #070b18)}
.home-badge:is([data-creator="xiangsu"],[data-creator="qingzhi"],[data-creator="tiehe"]) #badge-emblem > :is(img,svg){height:clamp(105px,17vh,165px)}
#badge-emblem span{font-size:15px}
.badge-picker{position:fixed;inset:auto;margin:0;padding:0;border:0;color:#ffe6b5;width:min(387px,calc(100vw - 16px),calc(100dvh - 16px));aspect-ratio:387/386;max-width:none;max-height:none;background:transparent url('/assets/badge-switch/面板背景.png') center/100% 100% no-repeat;overflow:visible;font:600 13px/1.2 "Microsoft YaHei",sans-serif;user-select:none}
.badge-picker::backdrop{background:rgb(0 4 16 / 16%)}
.badge-picker header{position:absolute;inset:4% 5% auto;height:10%;display:flex;align-items:center;justify-content:space-between}
.badge-picker header img{width:50%;height:100%;object-fit:contain;object-position:left center}
.badge-picker button{padding:0;border:0;cursor:pointer;background-color:transparent;color:inherit;font:inherit}
.badge-picker :is(.badge-close,.badge-prev,.badge-next){background-size:contain;background-repeat:no-repeat;background-position:center}
.badge-picker .badge-close{background-image:url('/assets/badge-switch/取消.png');width:30px;height:30px}
.badge-picker .badge-count{position:absolute;left:13%;top:14.5%;margin:0;color:#f6d69c;font-size:12px}
.badge-shelf{position:absolute;inset:21% 9% 7%;display:grid;grid-template:repeat(2,minmax(0,1fr))/repeat(3,minmax(0,1fr));gap:2px 3px}
.badge-picker .badge-slot{background:url('/assets/badge-switch/未选中框.png') center/100% 100% no-repeat;min-width:0;min-height:0;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:9% 5% 5%;box-sizing:border-box}
.badge-picker .badge-slot[aria-pressed="true"]{background-image:url('/assets/badge-switch/选中框.png')}
.badge-mini{height:49%;width:81%;object-fit:contain;min-height:0}
.badge-slot strong,.badge-slot small{font-size:13px;line-height:1.14}
.badge-slot small{color:#eee4cd;font-family:Georgia,serif}
.badge-card-action{height:21%;width:70%;object-fit:contain}
.badge-picker .badge-prev,.badge-picker .badge-next{position:absolute;top:45%;width:8%;height:11%}
.badge-prev{left:1%;background-image:url('/assets/badge-switch/左翻页.png')}.badge-next{right:1%;background-image:url('/assets/badge-switch/右翻页.png')}
.badge-picker button:disabled{opacity:.24;cursor:default}
.badge-picker button:focus-visible,.badge-switch:focus-visible{outline:2px solid #ffe2a0;outline-offset:1px;border-radius:6px}
.badge-note{position:absolute;bottom:3%;left:7%;right:7%;text-align:center;font-size:11px;color:#f6dda7}
.badge-note a{color:inherit;text-decoration:underline}

.badge-title-art{width:60%;height:100%;overflow:hidden}.badge-picker .badge-title-art img{width:100%;height:auto;display:block;clip-path:inset(0 0 47% 0);transform:translateY(-9%)}

#badge-picker::backdrop{background:rgb(0 4 16 / 8%);backdrop-filter:none}
/* homepage-finish.css */
/* Preserve the painted badge and existing entry order; calm the scene behind UI. */
/* Leave a fixed safe area for the brand and account controls as navigation grows. */
.interactive .topbar .topnav{left:205px;right:235px;transform:none;width:auto;justify-content:center;gap:clamp(0px,1vw,16px)}
.interactive .topbar .nav-item{flex:0 1 auto;min-width:0;width:auto;padding:0 clamp(7px,1vw,14px);white-space:nowrap}
@media(max-width:1100px){.interactive .topbar .topnav{left:170px;right:210px;gap:0}.interactive .topbar .nav-item{font-size:12px;letter-spacing:0;padding:0 7px}}
.video-backdrop::after{background:radial-gradient(ellipse at 45% 48%,#02071065 0%,#02071024 35%,transparent 66%),linear-gradient(#02061140,transparent 24%,transparent 70%,#02061140)}
.video-background.model-focused .video-backdrop::after{background:radial-gradient(ellipse at 47% 45%,#02071050,transparent 65%),linear-gradient(90deg,#02071124,transparent 45%,#02071165)}
.interactive .scene-viewport{top:116px;bottom:104px}
.interactive .universe-caption{opacity:.65;letter-spacing:2px}
.interactive .overview-panel,.interactive .detail-panel{border-color:#c6b17b42;box-shadow:inset 0 1px #f8e8b70b,0 16px 45px #0005;background-color:#08131ce8;backdrop-filter:blur(14px)}
.interactive .news-panel{border-color:#b7c8df28;box-shadow:inset 0 1px #d4e5f10a,0 10px 30px #0003}
.interactive .view-controls{background:#091521d6;border-color:#c5d2e12b;box-shadow:0 5px 18px #0003}
.interactive .view-controls button{color:#b8c7d8}
.interactive .view-controls button:is(:hover,:focus-visible){color:#f4dbab;background:#bca1691a}
.scene-3d.detail-ready #detail-content>*{animation-duration:.32s}
.scene-3d.detail-ready #detail-content>:nth-child(n+3){animation-delay:.12s}
.scene-3d.model-focused .overview-panel{filter:brightness(.86)}
.scene-3d.model-focused .overview-panel:focus-within,.scene-3d.model-focused .overview-panel:hover{filter:none}
@media(max-height:760px){.interactive .scene-viewport{top:110px;bottom:100px}}

.news-panel .news-marker {
  display:grid;place-items:center;width:27px;
}
.news-panel .news-marker img {width:21px;height:22px;object-fit:contain}
.news-panel .news-thumbnail {width:32px;height:32px;object-fit:contain;flex:none}

.detail-gift-link{display:block;text-align:center;color:#e7c684;font-size:13px;padding:.35rem;text-decoration:underline;text-underline-offset:3px}

.news-heading {gap:3px}
.news-heading > img {width:96px;min-width:0;object-fit:contain}
.news-heading .news-more {flex:none}
.news-updates {flex:none;min-height:30px;padding:0 5px;color:#efd29a;font-size:12px;white-space:nowrap}
.news-updates:is(:hover,:focus-visible),#updates-retry:is(:hover,:focus-visible) {text-decoration:underline;text-underline-offset:4px}
#updates-dialog {width:min(530px,92vw);padding:0;text-align:left;overflow:hidden;background:#0b1522;color:#e6e9ed}
#updates-dialog[open] {display:flex;flex-direction:column}
.updates-heading {flex:none;display:flex;align-items:center;gap:10px;padding:18px 22px;border-bottom:1px solid #9e87583d}
.updates-heading h2 {margin:0;font-size:22px;font-weight:600;color:#f1dfb5}
.updates-heading .music-close {position:static;margin-left:auto;width:32px;height:32px}
.updates-body {min-height:0;overflow:auto;overscroll-behavior:contain;padding:0 26px 12px;scrollbar-color:#756445 #0b1522}
#updates-status:not(:empty) {margin:20px 0 12px;font-size:14px}
#updates-status:empty {display:none}
#updates-retry {color:#f0d194;font-size:14px;padding:6px 0}
#updates-list article {padding:18px 0;border-top:1px solid #acbcd422}
#updates-list article:first-child {border-top:0}
#updates-list time {font:13px/1.4 system-ui,sans-serif;letter-spacing:.05em;color:#aebdcd}
.updates-latest {margin-left:10px;font-size:12px;color:#ebc87e}
#updates-list h3 {margin:5px 0 7px;font-size:17px;color:#f0e8da}
#updates-list ul {margin:0;padding-left:1.25em;list-style:disc;font-size:14px;line-height:1.7;color:#d2dce7}
#updates-list li::marker {color:#b89a61}
/* login-transition.css */
dialog.login-transition {position:fixed;inset:0;width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;border-radius:0;background:#020207;color:#f3dfb3;overflow:hidden;opacity:1;transition:opacity var(--exit-time,360ms) cubic-bezier(.42,0,.35,1);box-sizing:border-box;}
#login-transition::backdrop {background:transparent;backdrop-filter:none;}
dialog.login-transition.is-leaving {opacity:0;pointer-events:none;}
dialog.login-transition.is-leaving .login-transition-footer{opacity:0;transition:opacity .18s ease;}
.login-transition video {position:absolute;inset:0;width:100%;height:100%;object-fit:contain;}
.login-transition-footer {position:absolute;left:clamp(24px,4vw,80px);right:clamp(24px,4vw,80px);bottom:clamp(24px,4vh,54px);display:flex;align-items:center;justify-content:space-between;gap:20px;text-shadow:0 2px 12px #000;}
.login-transition-footer span {font-size:11px;letter-spacing:.28em;color:#c5a878;}
.login-transition-footer p {margin:8px 0 0;font-size:13px;color:#d3c8b3;}
.login-transition-footer button {flex-shrink:0;border:1px solid #c7a46666;border-radius:24px;background:#080a12b8;color:#f0dcb3;padding:12px 22px;font:inherit;font-size:13px;cursor:pointer;transition:background .2s,border-color .2s;}
.login-transition-footer button:hover {background:#322a20cc;border-color:#e8c688;}
.login-transition-footer button:focus-visible {outline:2px solid #f6d596;outline-offset:4px;}
.login-transition-active .universe,.login-transition-active #loading-screen {visibility:hidden;}
.login-transition-active .universe *,.login-transition-active .universe::before,.login-transition-active .universe::after {animation-play-state:paused!important;}
@media(prefers-reduced-motion:reduce){dialog.login-transition,dialog.login-transition::backdrop {transition:none;}}
/* home-music.css */
.header-actions .music-launch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  padding: 6px 9px;
  color: #edd9ae;
  border: 1px solid #b597595c;
  border-radius: 99px;
  background: #08111bc9;
  font-size: 13px;
}
.header-actions .music-launch::before { width: 16px; height: 16px; }
.header-actions .music-launch:is(:hover, :focus-visible, [data-playing]) { color: #fff2cc; border-color: #e4bb78; }
#music-dialog {
  inset: min(78px, 10dvh) clamp(12px, 2vw, 30px) auto auto;
  margin: 0;
  width: min(370px, calc(100vw - 24px));
  max-height: calc(90dvh - 16px);
  padding: 0;
  text-align: left;
  border: 1px solid #ac905c9c;
  border-radius: 15px;
  color: #f3ebdb;
  background: #0a1422;
  box-shadow: 0 18px 64px #000a;
  scrollbar-width: thin;
}
#music-dialog::backdrop { background: #02071436; backdrop-filter: none; }
.music-banner {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 18px 24px;
  background: linear-gradient(90deg, #071323f2, #0a142a70), url("assets/video/galaxy-poster-v44.jpg") center 52% / cover;
  border-bottom: 1px solid #d7b97938;
}
.music-banner h2, .music-list-heading h3 { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: .08em; color: #e5c791; }
.music-banner strong { margin-top: 8px; font: 600 26px/1.3 "Microsoft YaHei", sans-serif; color: #fff4dc; }
.music-banner > span { font-size: 13px; color: #d3dae3; }
.music-close { position: absolute; right: 12px; top: 10px; width: 34px; height: 34px; }
.music-body { padding: 14px 18px 12px; }
.music-progress, .music-controls, .music-transport, .music-volume, .music-list-heading { display: flex; align-items: center; }
.music-progress, .music-volume { gap: 8px; font-size: 12px; font-variant-numeric: tabular-nums; color: #c1cbdb; }
.music-progress span { min-width: 29px; }
.music-progress input { flex: 1; }
#music-dialog input[type=range] { accent-color: #edc483; height: 24px; min-width: 0; padding: 0; margin: 0; cursor: pointer; }
.music-controls { justify-content: space-between; gap: 6px; margin: 6px 0 2px; }
.music-transport { gap: 4px; }
.music-transport button { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; }
#music-play { width: 42px; height: 42px; border: 1px solid #d8af698c; background: #332a1e; }
.music-transport button:hover, .music-volume button:hover { background-color: #c7a56924; }
.music-volume { gap: 5px; }
.music-volume button { padding: 5px; font-size: 12px; color: #e8d0a6; border-radius: 6px; }
.music-volume input { width: clamp(36px, 9vw, 68px); }
#music-level { min-width: 32px; text-align: right; }
#music-status { margin: 3px 0 0; color: #e7cb9e; font-size: 12px; }
#music-status:empty { display: none; }
.music-list-heading { justify-content: space-between; border-top: 1px solid #b79c693c; padding-top: 12px; margin-top: 12px; }
.music-list-heading span, .music-credit { color: #b6c3d2; font-size: 12px; }
#music-count { margin-left: 4px; font-weight: 400; letter-spacing: normal; }
#music-mode { padding: 4px 7px; font: inherit; font-size: 12px; color: #f1d8a6; background: #111e30; border: 1px solid #ac905c75; border-radius: 6px; cursor: pointer; }
#music-tracks { list-style: none; padding: 0; margin: 6px 0 0; }
#music-tracks button {
  display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 7px;
  width: 100%; min-height: 33px; padding: 5px 8px; border-radius: 6px;
  text-align: left; color: #e6eaf0; font-size: 14px;
}
#music-tracks button:hover { background: #a8c3e513; }
#music-tracks button[aria-current=true] { background: #d5af6e1c; color: #ffe4af; }
.music-index { font-variant-numeric: tabular-nums; font-size: 11px; color: #b7a478; }
@media (max-width: 1150px) {
  .header-actions .music-launch { padding: 5px 7px; font-size: 12px; }
}
/* shared/community-controls.css */
.ui-icon{width:19px;height:19px;flex-shrink:0;display:inline-block;vertical-align:middle}
.motion-settings{display:inline-flex;align-items:center;justify-content:center;gap:7px}
.community-dialog{width:min(460px,calc(100vw - 32px));max-height:calc(100dvh - 40px);overflow:auto;padding:30px;border:1px solid #c8ad7266;border-radius:20px;background:radial-gradient(ellipse at 50% 0,#42526c36,transparent 60%),linear-gradient(145deg,#14263b,#081423 80%);color:#dde6f2;box-shadow:0 24px 100px #0009;scrollbar-width:thin;scrollbar-color:#bca17050 transparent}
.community-dialog::backdrop{background:#020915b3;backdrop-filter:blur(7px)}
.community-dialog h2{font-size:21px;color:#f0d8a8;font-weight:500;line-height:1.6;margin:0 28px 10px 0}
.dialog-close{position:absolute;top:15px;right:15px;width:32px;height:32px;display:grid;place-items:center;color:#a5b6cb;border-radius:8px}.dialog-close:hover{color:#f3dba9;background:#f4d39912}
.dialog-description{font-size:13px;line-height:1.9;color:#acbfd6}
.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px;flex-wrap:wrap}.dialog-actions button{font-size:13px;padding:10px 18px}
.chat-page .emoji-toggle{display:grid;place-items:center;width:34px;height:34px;border:1px solid transparent;border-radius:8px;padding:0;font-size:14px;color:#bed0e5}
.chat-page .emoji-toggle:hover:not(:disabled),.chat-page .emoji-toggle[aria-expanded=true]{border-color:#d6b87945;background:#d8b97c14;color:#efd49f}
.chat-page #send-message .ui-icon{width:17px;height:17px;margin:0 0 0 10px}.chat-page .notice-toggle .ui-icon{width:16px;height:16px;margin-right:4px}
.chat-page #send-message>span{margin-left:0}.chat-page .chat-symbol .ui-icon,.chat-page .wardrobe-entry>span:first-child .ui-icon{width:23px;height:23px}
.chat-page .notice-toggle.motion-settings .ui-icon{margin:0}
.chat-page .compose-input:focus-within{box-shadow:inset 0 1px #ffedbc18,0 0 0 3px #d6b5730a}
.chat-page .emoji-picker{display:block;width:290px;padding:12px;bottom:44px;border-color:#cdb47b55;background:linear-gradient(140deg,#1a2d43f7,#0a182afc);backdrop-filter:blur(14px)}
.emoji-tabs{display:flex;gap:4px;border-bottom:1px solid #c4b58026;padding-bottom:8px;margin-bottom:8px}
.emoji-picker .emoji-tabs button{height:auto;flex:1;font-size:11px;padding:6px 4px;color:#a9bdd4}
.emoji-picker .emoji-tabs button[aria-selected=true]{color:#efd39a;background:#d3af6524}
.emoji-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:4px;min-height:76px;max-height:190px;overflow:auto}
.emoji-picker .emoji-grid button{font-size:23px;height:36px;padding:0}.emoji-empty{grid-column:1/-1;align-self:center;text-align:center;font-size:12px;color:#91a9c2;line-height:1.8}
.emoji-limit{font-size:11px;color:#f0c798;line-height:1.7;margin:7px 2px 0}
button.cosmetic-avatar{padding:0;cursor:pointer;display:block;outline-offset:3px;border-radius:50%}
button.cosmetic-avatar:hover .avatar-face{filter:brightness(1.12)}
.profile-card{text-align:center;width:min(430px,calc(100vw - 32px))}.profile-card h2{margin:12px 0 5px;overflow-wrap:anywhere}.profile-card>.eyebrow{margin:2px 20px 15px;font-size:9px;letter-spacing:2px}
.profile-card-portrait{display:flex;justify-content:center;padding:8px;background:radial-gradient(ellipse,#b28c392b,transparent 65%)}
.profile-card-portrait .cosmetic-avatar{width:124px;height:124px;flex-basis:124px;margin:0}.profile-card-portrait .avatar-face{font-size:35px}
.profile-card-label{font-size:11px;color:#9eb1c9;margin:12px 0}.profile-card-preview{padding:18px 10px;border:1px solid #aebed428;border-radius:12px;background:#06122299;overflow-wrap:anywhere}
.profile-card-preview .message-body{margin:0;max-width:100%;text-align:left}.profile-card-outfit{font-size:12px;line-height:1.9;color:#c3b491;margin:16px 0;overflow-wrap:anywhere}.profile-card .outline-button{display:inline-block;font-size:12px}
.crop-dialog{width:min(450px,calc(100vw - 32px))}.crop-stage{position:relative;width:240px;height:240px;margin:20px auto;border-radius:14px;overflow:hidden;touch-action:none;background:#081424;cursor:grab}.crop-stage:active{cursor:grabbing}.crop-stage canvas{display:block;width:100%;height:100%}.crop-stage:after{content:'';position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at center,transparent 69%,#030912b8 70%);border:1px solid #d1b88048;border-radius:inherit}
.crop-controls{display:grid;gap:10px}.crop-control{display:grid;grid-template-columns:64px 1fr 42px;gap:10px;align-items:center;font-size:12px;color:#adc0d7}.crop-control input{width:100%;accent-color:#d6b77a}.crop-control output{text-align:right;color:#e0c690;font-size:11px}.crop-help{font-size:11px;line-height:1.8;color:#96abc6;text-align:center}
@media(max-width:1100px){.conversation-tools{gap:8px!important}.chat-page .conversation-heading{padding-left:15px;padding-right:15px}.chat-page .retention-label{display:none}}
@media(max-height:740px){.crop-dialog{padding:23px}.crop-stage{width:200px;height:200px;margin:13px auto}.crop-dialog .dialog-actions{margin-top:18px}}
@media(max-width:1350px){.chat-page .wardrobe-entry>span:last-child{display:none}.chat-page .wardrobe-entry small{white-space:nowrap}.chat-page .wardrobe-entry{gap:7px}}
/* shared/motion-preferences.css */
.motion-options{border:0;margin:18px 0;padding:0;display:grid;gap:10px}.motion-options legend{font-size:12px;color:#a7b9ce;margin-bottom:12px}
.motion-options label{display:flex;align-items:center;gap:12px;padding:15px;border:1px solid #b0bfd42b;background:#06132355;border-radius:12px;cursor:pointer}
.motion-options label:has(input:checked){border-color:#d3b67d95;background:#c1a46615}.motion-options input{accent-color:#e0be7e;width:16px;height:16px;margin:0;flex-shrink:0}
.motion-options strong{display:block;font-size:14px;color:#ecd6af;font-weight:500}.motion-options small{display:block;font-size:12px;color:#a5b8cf;line-height:1.8;margin-top:4px}.motion-system-note{font-size:11px;color:#94abc6;line-height:1.9}
html[data-motion=static] *,html[data-motion=static] *:before,html[data-motion=static] *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
html[data-motion=static] .golden-effects,html[data-motion=static] .save-glint{display:none}
html[data-motion=static] .cosmetic-card:hover,html[data-motion=static] .cosmetic-card:focus-visible,html[data-motion=static] .gold-button:active{translate:none}
html[data-motion=quiet] .chat-sky-art{animation-duration:180s}
html[data-motion=quiet] .chat-sky-cloud{animation-duration:140s;opacity:.18}
html[data-motion=quiet] .chat-sky-star{animation:none!important;opacity:.25}
html[data-motion=quiet] .golden-effects{opacity:.35}
html[data-motion=quiet] .golden-effects>span,html[data-motion=quiet] .orbit-motion:after,html[data-motion=quiet] .shimmer-motion:after{animation-play-state:paused!important}
html[data-motion=quiet]:not(.cosmetics-suspended) .gold-motion-visible:hover>.golden-effects>span,
html[data-motion=quiet]:not(.cosmetics-suspended) .gold-motion-visible:focus-visible>.golden-effects>span,
html[data-motion=quiet]:not(.cosmetics-suspended) .cosmetic-card[aria-pressed=true] .gold-motion-visible>.golden-effects>span,
html[data-motion=quiet]:not(.cosmetics-suspended) .showcase-art .gold-motion-visible>.golden-effects>span{animation-play-state:running!important}
html[data-motion=quiet]:not(.cosmetics-suspended) :is(.orbit-motion,.shimmer-motion):is(:hover,:focus-visible):after,
html[data-motion=quiet]:not(.cosmetics-suspended) .cosmetic-card[aria-pressed=true] :is(.orbit-motion,.shimmer-motion):after,
html[data-motion=quiet]:not(.cosmetics-suspended) .showcase-art :is(.orbit-motion,.shimmer-motion):after{animation-play-state:running!important}
html[data-motion=quiet] .cosmetic-card[aria-pressed=true] .golden-effects,html[data-motion=quiet] .showcase-art .golden-effects,html[data-motion=quiet] .golden-motion:hover>.golden-effects{opacity:.72}
html[data-motion=quiet] .showcase-art:after{animation:none!important;opacity:.3}
/* Hidden tabs stay suspended even when a selected element would normally move. */
html.cosmetics-suspended .golden-effects>span{animation-play-state:paused!important}
@media(prefers-reduced-motion:reduce){.showcase-art:after{animation:none!important}.golden-effects{display:none!important}}
/* shared/experience511.css */
.site-motion-trigger{background:#d6b5750f;border:1px solid #c6ac7155;border-radius:10px;color:#ead6b0;padding:10px 16px;margin:0 0 8px;font-size:13px}
.gift-motion-trigger{position:fixed;right:30px;bottom:18px;z-index:25;background:#0b1729ed!important}
.motion-dialog{box-sizing:border-box;font-family:system-ui,sans-serif}.motion-dialog .dialog-close{border:0;background:transparent;padding:0}.motion-dialog input{appearance:auto}
.effect-paused,.effect-paused *,.effect-paused:before,.effect-paused:after,.effect-paused *:before,.effect-paused *:after,.page-hidden .placed-item *,.page-hidden .ground-shade *{animation-play-state:paused!important}
html[data-motion=quiet] :is(.scene-stars,.object-effect,.life-motes,.garden-motes,.gift-success){opacity:.2;animation-play-state:paused}
html[data-motion=quiet] .world:after{animation:none}
/* shared/celestial-art.css */
/* Art is attached to existing controls so live labels, pressed states and focus remain native. */
[data-ui-art="plus"] { --control-art:url("/assets/celestial-ui/plus.webp"); }
[data-ui-art="minus"] { --control-art:url("/assets/celestial-ui/minus.webp"); }
[data-ui-art="previous"] { --control-art:url("/assets/celestial-ui/previous.webp"); }
[data-ui-art="next"] { --control-art:url("/assets/celestial-ui/next.webp"); }
[data-ui-art="star"] { --control-art:url("/assets/celestial-ui/star.webp"); }
[data-ui-art="orbit"] { --control-art:url("/assets/celestial-ui/orbit.webp"); }
[data-ui-art="immersive"] { --control-art:url("/assets/celestial-ui/immersive.webp"); }
[data-ui-art="magnifier"] { --control-art:url("/assets/celestial-ui/magnifier.webp"); }
[data-ui-art="compass"] { --control-art:url("/assets/celestial-ui/compass.webp"); }
[data-ui-art="pause"] { --control-art:url("/assets/celestial-ui/pause.webp"); }
[data-ui-art="play"] { --control-art:url("/assets/celestial-ui/play.webp"); }
[data-ui-art="blueprint"] { --control-art:url("/assets/celestial-ui/blueprint.webp"); }
[data-ui-art="save"] { --control-art:url("/assets/celestial-ui/save.webp"); }
[data-ui-art="rotate-chair"] { --control-art:url("/assets/celestial-ui/rotate-chair.webp"); }
[data-ui-art="undo"] { --control-art:url("/assets/celestial-ui/undo.webp"); }
[data-ui-art="invite"] { --control-art:url("/assets/celestial-ui/invite.webp"); }
[data-ui-art="read"] { --control-art:url("/assets/celestial-ui/read.webp"); }
[data-ui-art="chest"] { --control-art:url("/assets/celestial-ui/chest.webp"); }
[data-ui-art="mirror"] { --control-art:url("/assets/celestial-ui/mirror.webp"); }
[data-ui-art="hanger"] { --control-art:url("/assets/celestial-ui/hanger.webp"); }
[data-ui-art="outfits"] { --control-art:url("/assets/celestial-ui/outfits.webp"); }
[data-ui-art="refresh"] { --control-art:url("/assets/celestial-ui/refresh.webp"); }
[data-ui-art="send"] { --control-art:url("/assets/celestial-ui/send.webp"); }
[data-ui-art="close"] { --control-art:url("/assets/celestial-ui/close.webp"); }
[data-ui-art="logbook"] { --control-art:url("/assets/celestial-ui/logbook.webp"); }
[data-ui-art="smile"] { --control-art:url("/assets/celestial-ui/smile.webp"); }
[data-ui-art="compare"] { --control-art:url("/assets/celestial-ui/compare.webp"); }
[data-ui-art="find-member"] { --control-art:url("/assets/celestial-ui/find-member.webp"); }
[data-ui-art="background"] { --control-art:url("/assets/celestial-ui/background.webp"); }
[data-ui-art="tilt-up"], [data-ui-art="tilt-down"] { --control-art:url("/assets/celestial-ui/next.webp"); }
#immersive-cruise[aria-pressed="false"] { --control-art:url("/assets/celestial-ui/play.webp"); }
button[data-ui-art]::before {
  content:""; display:inline-block; width:1.3rem; height:1.3rem;
  flex:none; margin-inline-end:.34em; vertical-align:-.31em;
  background:var(--control-art) center / contain no-repeat; pointer-events:none;
}
button[data-icon-only]::before { margin:0;vertical-align:middle; }
.view-controls button[data-icon-only]::before { width:18px;height:18px; }
.view-controls [data-ui-art="tilt-up"]::before { transform:rotate(-90deg); }
.view-controls [data-ui-art="tilt-down"]::before { transform:rotate(90deg); }
.view-controls button.control-text::before { width:19px;height:19px;margin:0; }
#immersive-open[data-ui-art]::before { width:22px;height:22px; }
.home-page button[data-ui-art]::before, .wardrobe-page button[data-ui-art]::before { width:18px;height:18px; }
.wardrobe-page .quiet[data-ui-art]::before { width:15px;height:15px; }
img.ui-icon { object-fit:contain; }
.chat-page.street-active.street-left-collapsed :is(#reading-settings,#background-settings)[data-ui-art]::before {
  content:"";width:20px;height:20px;margin:0;
}
.chat-page.street-active.street-left-collapsed #motion-settings::before {
  content:"";display:inline-block;width:20px;height:20px;background:url("/assets/celestial-ui/motion.webp") center / contain no-repeat;
}
.gifts-page [data-place="1"] {--rank-art:url("/assets/celestial-ui/medal-gold.webp")}
.gifts-page [data-place="2"] {--rank-art:url("/assets/celestial-ui/medal-silver.webp")}
.gifts-page [data-place="3"] {--rank-art:url("/assets/celestial-ui/medal-bronze.webp")}
.gifts-page :is([data-place="1"],[data-place="2"],[data-place="3"]) .rank-number {
  display:inline-grid;place-items:center; box-sizing:border-box;
  width:32px;height:32px;padding-top:3px;background:var(--rank-art) center / contain no-repeat;
  color:#fff1d0;font:600 13px/1 Georgia,serif;font-variant-numeric:tabular-nums;
}
.gifts-page .ranking-list li > button {grid-template-columns:32px 42px minmax(0,1fr) auto}
.rank-podium :is([data-place="1"],[data-place="2"],[data-place="3"]) .podium-copy small::before {
  content:"";display:inline-block;width:27px;height:27px;background:var(--rank-art) center / contain no-repeat;
  vertical-align:middle;margin-right:5px;
}
.city539-program > strong {
  display:flex;align-items:center;min-width:0;min-height:52px;box-sizing:border-box;
  padding:8px 31% 8px 12px;background:url("/assets/celestial-ui/programme-ticket.webp") center / 100% 100% no-repeat;
  color:#f6e6bc;overflow-wrap:anywhere;
}
@media (max-width:1180px) {
  .home-page button[data-ui-art]::before,.wardrobe-page button[data-ui-art]::before {width:15px;height:15px}
}

.crop-dialog h2::before, .wardrobe-page .card-badge.equipped::before {
  content:"";display:inline-block;vertical-align:middle;margin-right:5px;
  width:17px;height:17px;background:url("/assets/celestial-ui/crop.webp") center / contain no-repeat;
}
.wardrobe-page .card-badge.equipped::before {
  width:13px;height:13px;background-image:url("/assets/celestial-ui/check.webp");
}

/* The established engraved frame stretches only across its middle. */
.home-page .home-actions :is(#home-edit,#home-save),
.wardrobe-page #apply-appearance,
.gifts-page :is(#open-gift-drawer,#confirm-send) {
  border:0 solid transparent;
  border-image:url("/assets/chat/street/social-ui/brass.webp") 18 52 fill / 6px 15px / 0 stretch;
  border-radius:0;background:transparent;box-shadow:none;color:#fff2cf;
  text-shadow:0 1px 2px #132032;padding-inline:max(17px,1.1em);
}
.home-page .home-actions #home-edit {
  border-image-source:url("/assets/chat/street/social-ui/lapis.webp");
}
.home-page .wallet-star {flex:none;object-fit:contain}

[data-ui-art="compass-star"] { --control-art:url("/assets/celestial-ui/collection/compass-star.webp"); }
.celestial-star-prefix::before {
  content:""; display:inline-block; width:1.15em; height:1.15em; margin-inline-end:.35em;
  vertical-align:-.18em; background:url("/assets/celestial-ui/collection/compass-star.webp") center/contain no-repeat;
}
/* shared/atelier.css */
/* Artwork is decorative; existing controls own focus, labels and state. */
html[data-atlas] {
  --atlas-rest:url("/assets/celestial-ui/atelier/ink-key.webp");
  --atlas-selected:url("/assets/celestial-ui/atelier/jeweled-key.webp");
  --atlas-primary:url("/assets/celestial-ui/atelier/brass-key.webp");
  --atlas-field:url("/assets/celestial-ui/atelier/inset.webp");
  --atlas-ribbon:url("/assets/celestial-ui/atelier/ribbon.webp");
  --atlas-tag:url("/assets/celestial-ui/atelier/slate-tag.webp");
  --atlas-panel:url("/assets/celestial-ui/atelier/journal.webp");
}
html[data-atlas][data-chat-tier="1"] {--atlas-selected:url("/assets/celestial-ui/atelier/tier-1.webp")}
html[data-atlas][data-chat-tier="2"] {--atlas-selected:url("/assets/celestial-ui/atelier/tier-2.webp")}
html[data-atlas][data-chat-tier="3"] {--atlas-selected:url("/assets/celestial-ui/atelier/tier-3.webp")}
html[data-atlas][data-chat-tier="4"] {--atlas-selected:url("/assets/celestial-ui/atelier/tier-4.webp")}

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

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

html[data-atlas] .account-card:has(#status-view:not([hidden])) {
  border-image:var(--atlas-panel) 74 fill / 17px / 0 stretch;border-color:transparent;
}
html[data-atlas] :is(.chat-page,.wardrobe-page) .message-body:not(.decorated-bubble):not(.removed) {
  border-image:var(--atlas-field) 15 40 fill / 3px 7px / 0 stretch;
  background:transparent;color:#f1eee8;border-radius:4px;
}
html[data-atlas] :is(.chat-page,.wardrobe-page) .own .message-body:not(.decorated-bubble):not(.removed) {
  border-image-source:var(--atlas-selected);
}
html[data-atlas] .message-date time {
  border-image:var(--atlas-tag) 12 40 fill / 3px 7px / 0 stretch;
  background-color:transparent;border-color:transparent;color:#e7e2d8;
}
@media (prefers-reduced-motion:no-preference) {
  html:not([data-motion=static]) .home-scene .water-jets {
    animation:manor-water-flow 3.4s ease-in-out var(--phase,0s) infinite alternate;
  }
}
@keyframes manor-water-flow {from{opacity:.53}to{opacity:.85}}
@media (forced-colors:active) {
  html[data-atlas] :is(button,summary,[role=tab],label:has(input:checked),select,input,dialog,.city-map-node) {
    border-image:none!important;border:1px solid ButtonText;color:ButtonText;text-shadow:none;
  }
  html[data-atlas] :is(#camera-in,#camera-out,.modal-close,.auth-help-close,.home-modal .dialog-close) {font-size:inherit}
}
/* home-chart-art.css */
/* Homepage-only artwork supplied with the expanded flat star map. */
html[data-atlas=home] .stage .topbar {
  inset:0 0 auto;height:72px;border:0;border-radius:0;box-shadow:none;backdrop-filter:none;
  background:rgb(3 11 23 / 51%);
}
html[data-atlas=home] .stage .topbar::before,html[data-atlas=home] .stage .topbar::after {content:none}
.topbar > .nav-light-rail {
  position:absolute;left:0;right:0;bottom:-6px;height:30px;overflow:hidden;pointer-events:none;
}
.nav-light-rail::before {
  content:"";position:absolute;left:0;right:0;top:18px;height:4px;opacity:.7;
  background:url("assets/首页导航/导航栏背景.png") center -68px / 400% 107px no-repeat;
}
.nav-light-rail > .nav-indicator {
  position:absolute;left:0;bottom:-6px;width:clamp(170px,21vw,360px);height:28px;border:0;border-radius:0;
  background:transparent url("assets/首页导航/选中效果下部指示.png") center / 100% 100% no-repeat;
  box-shadow:none;filter:brightness(1.3) drop-shadow(0 0 2px #eab05b);
  transition:transform .22s ease-out;
}
.nav-light-rail[data-tracking] > .nav-indicator {transition:none}
@media (prefers-reduced-motion:reduce) {.nav-light-rail > .nav-indicator {transition:none}}
html[data-atlas=home] .stage .brand {left:clamp(14px,2.4vw,44px);gap:5px}
html[data-atlas=home] .stage .brand-mark {width:44px;height:auto}
html[data-atlas=home] .stage .brand-word {width:100px;height:auto}
html[data-atlas=home] .stage .header-actions {right:clamp(12px,1.6vw,28px);gap:10px}
html[data-atlas=home] .stage #topnav {
  left:clamp(165px,16vw,260px);right:clamp(190px,17vw,275px);width:auto;transform:none;
  display:flex;align-items:center;justify-content:center;gap:clamp(2px,.55vw,12px);height:100%;overflow:visible;
}
#topnav .nav-art-divider {width:8px;height:19px;flex:none;background:url("assets/首页导航/分割杠.png") center/contain no-repeat}
html[data-atlas=home] .stage #topnav > .nav-item {
  width:auto;min-width:0;height:44px;padding:0 clamp(8px,1.15vw,20px);gap:6px;
  display:inline-flex;align-items:center;justify-content:center;color:#f6f3ee;
  background:transparent;border:0;border-radius:0;box-shadow:none;font-size:clamp(13px,1.05vw,17px);letter-spacing:.02em;
}
#topnav [data-header-art]::before {content:"";flex:none;width:19px;height:20px;background:var(--nav-icon) center/contain no-repeat}
#topnav [data-header-art]:is(:hover,:focus-visible,.active)::before {background-image:var(--nav-lit)}
html[data-atlas=home] .stage #topnav > .nav-item:is(:hover,:focus-visible,.active) {color:#fff2c5;background:url("assets/首页导航/选中底框.png") center/100% 100% no-repeat}
html[data-atlas=home] .stage #topnav > .nav-item.active::after {content:none}
#topnav .nav-extra {position:relative;flex:0 0 auto}
#topnav .nav-extra summary {cursor:pointer;list-style:none;padding:9px 5px;color:#d5c3a5;font-size:12px}
#topnav .nav-extra summary::-webkit-details-marker {display:none}
#topnav .nav-extra summary::after {content:"";display:inline-block;margin-left:5px;width:5px;height:5px;border:solid currentColor;border-width:0 1px 1px 0;transform:translateY(-2px) rotate(45deg)}
#topnav .nav-extra-links {position:absolute;right:0;top:100%;min-width:110px;padding:5px;border:1px solid #ac8b54;border-radius:7px;background:#091221;box-shadow:0 7px 18px #0009}
html[data-atlas=home] .stage #topnav .nav-extra-links .nav-item {display:block;width:100%;height:36px;text-align:center;font-size:14px}
html[data-atlas=home] .stage #site-member-avatar::after {content:"";position:absolute;z-index:1;inset:0;background:url("assets/首页导航/个人中心头像框.png") center/100% 100% no-repeat;pointer-events:none;mask-image:radial-gradient(circle,transparent 62%,black 66%)}
html[data-atlas=home] .stage #site-auth-guest .site-auth-link,
html[data-atlas=home] .stage .topbar #site-account-menu .site-account-trigger {
  background:transparent;border:0;border-image:none;box-shadow:none;color:#f1dfb8;text-shadow:0 1px 2px #080b11;
}
html[data-atlas=home] .stage #site-auth-guest .site-auth-link:first-child {
  display:grid;place-items:center;width:41px;height:41px;min-width:0;padding:0;
  background:url("assets/首页导航/个人中心头像框.png") center/contain no-repeat;
}
html[data-atlas=home] .stage #site-auth-guest .site-auth-register {padding:6px 3px;font-size:12px}
html[data-atlas=home] .stage .topbar #site-account-menu .site-account-trigger {padding:2px}
html[data-atlas=home] .stage .topbar #site-member-avatar {width:40px;height:40px;border:0}
body.scene-3d [data-flat-only] {display:none!important}
body:not(.scene-3d) .expanded-flat-chart .scene-label {width:60px;height:30px;gap:0;padding:0;line-height:1;border-radius:5px}
body:not(.scene-3d) .expanded-flat-chart .scene-label .label-name {font-size:13px;line-height:15px}
html[data-atlas=home] body:not(.scene-3d) .expanded-flat-chart .scene-label .label-status {font-size:10px;line-height:12px;border:0;border-image:none;background:transparent;padding:0;color:#d8d5cb}
body:not(.scene-3d) .expanded-flat-chart .scene-label:not(.selected) {border-color:transparent;background:linear-gradient(90deg,transparent,#060a14c7 24% 76%,transparent);box-shadow:none}
body:not(.scene-3d) .expanded-flat-chart .scene-label:is(.ready,.pending) .label-name {color:#ffdf90}

.interactive:not(.scene-3d) .scene-viewport {left:90px;right:clamp(125px,14vw,224px);top:83px;bottom:68px}
.interactive:not(.scene-3d) #scene {
  inset:50% auto auto 50%;width:var(--flat-extent,100%);height:var(--flat-extent,100%);
  transform:translate(-50%,-50%) scale(var(--view-zoom,1));transform-origin:center;
}
.interactive:not(.scene-3d) #scene.expanded-flat-chart {inset:0;width:100%;height:100%;transform:none}
.sidebar .arcade-link {text-decoration:none}
.interactive .stage .sidebar {max-height:calc(100dvh - 210px);overflow-y:auto;scrollbar-width:thin}
.interactive .stage .sidebar .side-item {flex-shrink:0}
@media(min-width:681px) and (max-height:850px) {
  .interactive .stage .sidebar {top:100px;gap:8px;max-height:calc(100dvh - 178px)}
}
@media(max-width:680px) {
  .interactive:not(.scene-3d) .scene-viewport {left:59px;right:5px;top:90px;bottom:94px}
  .interactive .stage .sidebar {left:3px;top:110px;width:53px;gap:10px}
  .interactive .stage .side-item {width:53px;font-size:11px;gap:3px}
  .interactive .stage .side-icon {width:36px;height:36px}
}
@media(max-width:1150px) {
  html[data-atlas=home] .stage .brand-word {width:78px}
  html[data-atlas=home] .stage #topnav {left:150px;right:196px;gap:1px}
  html[data-atlas=home] .stage #topnav > .nav-item {padding:0 7px;gap:4px}
  #topnav [data-header-art]::before {width:16px;height:18px}
  #topnav .nav-art-divider {width:5px;height:14px}
}
#topnav [data-header-art="home"] {--nav-icon:url("assets/首页导航/首页.png");--nav-lit:url("assets/首页导航/首页-选中.png")}
#topnav [data-header-art="chat"] {--nav-icon:url("assets/首页导航/聊天.png");--nav-lit:url("assets/首页导航/聊天-选中.png")}
#topnav [data-header-art="house"] {--nav-icon:url("assets/首页导航/家园.png");--nav-lit:url("assets/首页导航/家园-选中.png")}
#topnav [data-header-art="gift"] {--nav-icon:url("assets/首页导航/星礼.png");--nav-lit:url("assets/首页导航/星礼-选中.png")}
#topnav [data-header-art="about"] {--nav-icon:url("assets/首页导航/关于我们.png");--nav-lit:url("assets/首页导航/关于我们-选中.png")}
/* home-flight.css */
.home-traffic-layer {position:absolute;inset:0;pointer-events:none;overflow:hidden;z-index:1;}
.orbit-fallback:has(.orbit-signal) {opacity:.78;}
.orbit-fallback:has(.orbit-signal) ellipse:not(.orbit-signal) {opacity:.36;}
/* The ornamental sky sits behind both maps. Only the orbit signals follow the flat map's geometry. */
.home-flight-field { position:absolute; inset:0; width:100%; height:100%; overflow:hidden; pointer-events:none; }
.chart-constellations { opacity:.42; }
.home-voyager { visibility:hidden; }
.home-flight-field[data-running] .home-voyager { visibility:visible; }
.home-meteor { position:absolute; width:clamp(55px,7vw,105px); height:1px; pointer-events:none; opacity:0;
  background:linear-gradient(90deg,transparent,#b4adef 58%,#ffdeac 94%,white); transform-origin:right center; }
.home-meteor::after { content:""; position:absolute; right:0; top:-1px; width:3px; height:3px; border-radius:50%; background:#e3ffff; box-shadow:0 0 5px #8fdfff; }
.meteor-north { left:14%; top:13%; --fall-x:24vw; --fall-y:10vw; --fall-angle:22deg; }
.meteor-south { left:71%; top:42%; --fall-x:-13vw; --fall-y:6vw; --fall-angle:155deg; }
.home-flight-field[data-running] ~ .home-meteor { animation:home-meteor-pass 12s linear infinite; }
.home-flight-field[data-running] ~ .meteor-north { animation-delay:-1.5s; }
.home-flight-field[data-running] ~ .meteor-south { animation-delay:-8s; animation-duration:17s; }
@keyframes home-meteor-pass {
  0%,6%,100% {opacity:0;transform:translate3d(0,0,0) rotate(var(--fall-angle)) scaleX(.25);}
  8% {opacity:.8;}
  15% {opacity:0;transform:translate3d(var(--fall-x),var(--fall-y),0) rotate(var(--fall-angle)) scaleX(1);}
}
.orbit-signal {fill:none;stroke:#f7d397;stroke-width:1.6;stroke-linecap:round;stroke-dasharray:.35 1 2.5 96.15;opacity:.95;}
.orbit-signal.signal-outer {stroke:#b6b9ff;stroke-dasharray:1.8 98.2;stroke-dashoffset:46;}
html[data-motion=standard] .stage:not(.still-stars):not(.ambient-paused) .orbit-signal {animation:chart-signal-run 15s linear infinite;}
html[data-motion=standard] .stage:not(.still-stars):not(.ambient-paused) .signal-outer {animation-duration:22s;animation-delay:-11s;animation-direction:reverse;}
@keyframes chart-signal-run {to {stroke-dashoffset:-100;}}

/* The sprite is painted behind the existing cutout. Only the active planet emits light. */
.planet-corona {
  display: none;
  position: absolute;
  inset: -22% -22% -8%;
  pointer-events: none;
  --corona-ink: #f5bd83;
  --corona-gas: #7e75dc;
}
.planet[data-planet="linshu"] .planet-corona,
.planet[data-planet="qingzhi"] .planet-corona { --corona-ink: #a5dcff; --corona-gas: #686ddd; }
.planet[data-planet="xuyinyin"] .planet-corona,
.planet[data-planet="maomaoqing"] .planet-corona { --corona-ink: #ffc2dc; --corona-gas: #b7589d; }
.planet.locked .planet-corona { --corona-ink: #c0c8d4; --corona-gas: #81899d; opacity: .52; }
.planet-corona::before, .planet-corona::after {
  content: "";
  position: absolute;
  pointer-events: none;
}
.planet-corona::before {
  inset: 0;
  background: radial-gradient(ellipse at 66% 42%, var(--corona-ink), transparent 28%),
    radial-gradient(ellipse at 49% 50%, var(--corona-gas) 10%, transparent 61%);
}
.planet-corona::after {
  width: 24%; height: 22%; left: 65%; top: 18%;
  background: radial-gradient(ellipse at center, #fff9ec 0 4%, transparent 16%),
    radial-gradient(ellipse 49% 6% at center, var(--corona-ink), transparent),
    radial-gradient(ellipse 6% 49% at center, var(--corona-ink), transparent);
  transform: rotate(-14deg);
}
.planet > .planet-image { position: relative; }
.planet:focus-visible .planet-corona, .scene-3d .planet.selected .planet-corona { display: block; }
body:not(.scene-3d) .planet.selected .planet-corona { display: none; }
body.interactive:not(.scene-3d) .planet.selected .planet-image { scale: 1; }
@media (hover: hover) and (pointer: fine) {
  .planet:hover .planet-corona { display: block; }
}
.scene-3d .planet.is-pointed .planet-corona { display: block; }
/* The WebGL body is on a separate canvas under the hit area. Keep its face clear. */
.scene-3d .planet-corona {
  mask-image: radial-gradient(ellipse, transparent 0 38%, black 62%);
}
.interactive .planet:not(.locked):is(:hover,.selected) .planet-image {
  filter: brightness(1.06) saturate(1.08);
}
.interactive .planet:focus-visible { border-radius: 50%; outline-offset: 3px; }

@media (prefers-reduced-motion: no-preference) {
  html[data-motion="standard"] .planet:not(.locked) .planet-corona::before {
    background: url("assets/home-chart/nebula-wake-v1.webp") center / 100% 100% no-repeat;
    animation: corona-rise .64s cubic-bezier(.16,.72,.22,1) both;
  }
  html[data-motion="standard"] .planet:not(.locked) .planet-corona::after {
    animation: rim-glint .92s ease-out both;
  }
  html[data-motion="standard"] .planet.selected:not(.locked) .planet-corona::before {
    animation: corona-bloom 1.15s cubic-bezier(.18,.62,.2,1) both;
  }
  html[data-motion="standard"] .planet.selected:not(.locked) .planet-corona::after {
    animation: ejected-spark 1.15s cubic-bezier(.15,.62,.24,1) both;
  }
  html[data-motion="standard"] .interactive:not(.scene-3d,.effects-off) .stage:not(.still-stars) .core-aura::before {
    inset: -36% -43% -23%;
    background: url("assets/home-chart/nebula-wake-v1.webp") center / 100% 100% no-repeat;
    filter: none; border-radius: 0;
    animation: core-nebula-drift 16s ease-in-out infinite alternate;
  }
}
@keyframes corona-rise {
  from { opacity: 0; transform: translate(-3%,4%) scale(.78) rotate(-8deg); }
  to { opacity: .87; transform: scale(1); }
}
@keyframes rim-glint {
  0% { opacity: 0; transform: translate(-75%,70%) rotate(-14deg) scale(.2); }
  42% { opacity: 1; }
  100% { opacity: .68; transform: rotate(-14deg) scale(.78); }
}
@keyframes corona-bloom {
  0% { opacity: .64; transform: scale(.88); }
  40% { opacity: 1; transform: scale(1.10) rotate(3deg); }
  100% { opacity: .86; transform: scale(1.02); }
}
@keyframes ejected-spark {
  0% { opacity: .1; transform: translate(-32%,40%) rotate(-18deg) scale(.6); }
  24% { opacity: 1; transform: rotate(-18deg) scale(1.12); }
  100% { opacity: 0; transform: translate(94%,-71%) rotate(-18deg) scale(.3); }
}
@keyframes core-nebula-drift {
  from { opacity: .48; transform: translate(-1%,1%) rotate(-4deg) scale(.96); }
  to { opacity: .73; transform: translate(1%,-1%) rotate(2deg) scale(1.03); }
}
body:is(.ui-still,.effects-off,.ambient-suspended,.is-dragging) .planet-corona,
.stage:is(.ambient-paused,.still-stars) .planet-corona { display: none; }
body:is(.ambient-suspended,.is-dragging,.ui-still) .stage .core-aura::before,
.stage:is(.ambient-paused,.still-stars) .core-aura::before { animation-play-state: paused !important; }
body.effects-off .stage .core-aura::before { display: none; }
html:not([data-motion="standard"]) .interactive .stage .core-aura::before { content: none; }
body:is(.ui-still,.effects-off,.ambient-suspended) :is(.orbit-signal,.home-meteor),
.stage.ambient-paused :is(.orbit-signal,.home-meteor) { animation-play-state: paused !important; }
body.effects-off :is(.home-flight-field,.home-meteor,.orbit-signal),
.stage.still-stars :is(.home-flight-field,.home-meteor,.orbit-signal) { display: none; }
body:is(.model-focused,.immersive) .home-flight-field { opacity: .4; }

@media (max-width: 700px) {
  .chart-constellations { opacity: .27; }
  .meteor-south { display: none; }
  .planet-corona { inset: -13% -15% -4%; }
}
@media (prefers-reduced-motion: reduce) {
  .orbit-signal, .home-meteor, .interactive .stage .core-aura { animation: none !important; }
  .home-meteor, .home-voyager, .interactive .stage .core-aura::before { display: none; }
}

/* The three gestures run once when a real selection is committed. */
.star-gesture { display:none; pointer-events:none; position:absolute; inset:0; z-index:2; }
@media (max-width:680px) { .convoy-hull { transform:scale(.64); } }
@media (prefers-reduced-motion:no-preference) {
  html[data-motion=standard] body:not(.ui-still,.effects-off,.ambient-suspended) .stage:not(.still-stars,.ambient-paused) .planet.ready.selected .star-gesture { display:block; }
  .planet.selected:has(.star-gesture) .planet-corona { display:none; }
  .star-gesture i { position:absolute; display:block; opacity:0; }
  .gesture-linshu { transform:rotate(-13deg); }
  .gesture-linshu i {
    inset:22% -2% 20%; border-radius:50%; overflow:hidden;
    mask-image:radial-gradient(ellipse closest-side,transparent 79%,black 86% 97%,transparent);
    animation:linshu-ring-reveal 420ms ease-out;
  }
  .gesture-linshu i::before { content:""; position:absolute; inset:-100%;
    background:conic-gradient(from 40deg,transparent 60%,#289bd85c 77%,#7ee9ff 88%,#edffff 92%,transparent 93%);
    animation:linshu-ring-sweep 420ms cubic-bezier(.18,.58,.36,1) both;
  }
  .gesture-xiangsu { transform:rotate(-9deg); }
  .gesture-xiangsu i { width:clamp(3px,8%,8px); aspect-ratio:1; background:#fff6a6;
    box-shadow:2px 2px #914691; animation:xiangsu-pixel-step 225ms steps(3,end) both; }
  .gesture-xiangsu i:nth-child(1) { left:1%; top:55%; }
  .gesture-xiangsu i:nth-child(2) { left:18%; top:72%; animation-delay:45ms; background:#63f0db; }
  .gesture-xiangsu i:nth-child(3) { left:44%; top:74%; animation-delay:90ms; }
  .gesture-xiangsu i:nth-child(4) { left:72%; top:62%; animation-delay:135ms; background:#63f0db; }
  .gesture-xiangsu i:nth-child(5) { left:92%; top:43%; animation-delay:180ms; }
  .gesture-xuyinyin i { width:58%; height:48%; top:25%; left:-34%;
    background:linear-gradient(90deg,#ff87bd,#fff0f6 60%,#ff80b0);
    clip-path:polygon(0 46%,11% 46%,16% 30%,24% 64%,32% 6%,41% 83%,49% 26%,56% 52%,63% 38%,70% 54%,80% 44%,100% 44%,100% 54%,82% 54%,69% 66%,63% 53%,55% 66%,49% 43%,40% 100%,32% 26%,25% 83%,16% 46%,13% 55%,0 55%);
    animation:xuyinyin-stereo 430ms ease-out;
  }
  .gesture-xuyinyin i+i { left:auto; right:-34%; scale:-1 1; }
}
/* On the flat chart the signature stays on the rim and settles with the cover edge. */
@media (prefers-reduced-motion:no-preference) {
  body:not(.scene-3d) .gesture-linshu i { inset: -3% -4%; }
  body:not(.scene-3d) :is(.gesture-linshu i,.gesture-linshu i::before,.gesture-xuyinyin i) { animation-duration: 200ms; }
  body:not(.scene-3d) .gesture-xiangsu i { animation-duration: 120ms; }
  body:not(.scene-3d) .gesture-xiangsu i:nth-child(2) { animation-delay: 20ms; background: #d7aaff; }
  body:not(.scene-3d) .gesture-xiangsu i:nth-child(3) { animation-delay: 40ms; }
  body:not(.scene-3d) .gesture-xiangsu i:nth-child(4) { animation-delay: 60ms; background: #d7aaff; }
  body:not(.scene-3d) .gesture-xiangsu i:nth-child(5) { animation-delay: 80ms; }
  body:not(.scene-3d) .gesture-xuyinyin i { width: 17%; height: 28%; top: 37%; left: -5%; }
  body:not(.scene-3d) .gesture-xuyinyin i+i { left: auto; right: -5%; }
}
@keyframes linshu-ring-reveal { 0%{opacity:0} 18%,64%{opacity:1} 100%{opacity:0} }
@keyframes linshu-ring-sweep { from{transform:rotate(-70deg)} to{transform:rotate(125deg)} }
@keyframes xiangsu-pixel-step { 0%{opacity:0;transform:translateY(2px)} 24%,65%{opacity:1} 100%{opacity:0;transform:translateY(-4px)} }
@keyframes xuyinyin-stereo { 0%{opacity:0;transform:translateX(100%) scaleY(.22)} 27%{opacity:1;transform:translateX(11%) scaleY(1)} 65%{opacity:.95;transform:translateX(-5%) scaleY(.85)} 100%{opacity:0;transform:translateX(-24%) scaleY(.48)} }
/* home-observatory.css */
/* Engraved brass sits at the edges of the chart. The existing rail follows the pointer. */
html[data-atlas=home] .stage .topbar {
  background: linear-gradient(100deg, #061326f5 0%, #0a1422ed 19%, #060e1be0 49%, #111b2be8 82%, #071220f2);
}
.header-starplate {
  position: absolute;
  inset: 0 auto 0 0;
  width: clamp(180px, 18vw, 292px);
  overflow: hidden;
  pointer-events: none;
  mask-image: linear-gradient(90deg, transparent 28%, #0005 54%, #000d 77%, transparent);
}
.header-starplate::before, .news-heading::before {
  content: "";
  position: absolute;
  pointer-events: none;
  width: 164px;
  aspect-ratio: 1;
  background: url("assets/home-chart/brass-astrolabe-v1.webp") center / contain no-repeat;
}
.header-starplate::before { right: 0; top: -108px; opacity: .61; transform: rotate(-24deg); }
.home-traffic-layer::after {
  content: "";
  position: absolute;
  inset: 8% auto 10% 0;
  width: min(11vw, 155px);
  background: linear-gradient(90deg, #02102577, transparent);
  pointer-events: none;
}
.constellation-relay { display: none; }
.nav-light-rail::after {
  content: "";
  position: absolute;
  left: -26%; top: 18px;
  width: 24%; height: 2px;
  background: linear-gradient(90deg, transparent, #8099c77a 35%, #f1c382 82%, #fff7ce 95%, transparent);
  opacity: 0;
  pointer-events: none;
}
.sidebar .side-item { position: relative; }
.sidebar .side-item::before {
  content: "";
  position: absolute;
  top: 12px; left: 0;
  width: 2px; height: 30px;
  background: linear-gradient(transparent, #f5d28e 50%, transparent);
  transform: scaleY(.34);
  opacity: .35;
  pointer-events: none;
}
.sidebar .side-item:is(:hover,:focus-visible,.active)::before { opacity: 1; transform: scaleY(1); }
.interactive .stage .news-panel {
  isolation: isolate;
  background: linear-gradient(138deg, #162737f5 0%, #0c1928f7 56%, #060d18fb 100%);
  border-color: #baa48165;
  box-shadow: inset 0 1px #ffe7ad32, 0 8px 22px #01061070;
}
.stage .news-heading { position: relative; isolation: isolate; overflow: hidden; border-bottom: 1px solid #bd9c613b; }
.news-heading::before { width: 107px; top: -70px; right: 3%; z-index: -1; opacity: .33; transform: rotate(20deg); }
.news-heading::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 46%; height: 1px;
  background: linear-gradient(90deg, transparent, #eacb90 66%, transparent);
  pointer-events: none;
}
.news-heading #news-disclosure { display: none; }
.interactive .stage .overview-launcher {
  border-color: #b79f746e;
  background: linear-gradient(112deg, #172b39f2, #0c1929f5 60%, #0c1521f5);
}
@keyframes brass-transit {
  0%, 13% { opacity: 0; transform: translateX(0); }
  19% { opacity: .88; }
  51%, 100% { opacity: 0; transform: translateX(535%); }
}
@keyframes brass-revolve {
  from { transform: rotate(-24deg); }
  to { transform: rotate(336deg); }
}
@keyframes constellation-transmit {
  0%, 12% { stroke-dashoffset: 5; opacity: 0; }
  18% { opacity: .95; }
  55% { opacity: .85; }
  64%, 100% { stroke-dashoffset: -101; opacity: 0; }
}
@keyframes brass-index {
  from { transform: rotate(20deg); }
  to { transform: rotate(45deg); }
}
@keyframes dispatch-reveal {
  from { opacity: .5; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: no-preference) {
  @media (min-width: 681px) {
    .home-flight-field[data-running] .constellation-relay { display: block; }
    .constellation-relay use {
      stroke: #ffe1a7; stroke-width: 1.8; stroke-dasharray: 1 1.4 3 101;
      animation: constellation-transmit 9s ease-in-out infinite;
    }
    .constellation-relay use + use { stroke: #c1deff; animation-duration: 11s; animation-delay: -4s; }
    body.is-dragging .constellation-relay use { animation-play-state: paused; }
  }
  /* Sky traffic owns visibility, the effects switch and motion preferences for the homepage. */
  .stage:has(#home-flight-field[data-running]) .nav-light-rail::after { animation: brass-transit 12s linear infinite; }
  .stage:has(#home-flight-field[data-running]) .header-starplate::before { animation: brass-revolve 110s linear infinite; }
  .stage:has(#home-flight-field[data-running]) .sidebar .side-item::before { transition: transform .28s ease-out, opacity .2s; }
  .stage:has(#home-flight-field[data-running]) .news-panel:focus-within .news-heading::before,
  .stage:has(#home-flight-field[data-running]) .news-panel:has(#news-disclosure[aria-expanded=true]) .news-heading::before {
    animation: brass-index .8s cubic-bezier(.2,.7,.3,1) both;
  }
  @media (hover: hover) and (pointer: fine) {
    .stage:has(#home-flight-field[data-running]) .news-panel:hover .news-heading::before { animation: brass-index .8s cubic-bezier(.2,.7,.3,1) both; }
  }
}
@media (max-width: 950px) {
  html[data-atlas=home] .stage .topbar { height: 89px; }
  html[data-atlas=home] .stage .brand { top: 5px; left: max(12px, env(safe-area-inset-left)); height: 41px; }
  html[data-atlas=home] .stage .brand-mark { width: 34px; }
  html[data-atlas=home] .stage .brand-word { width: 76px; }
  html[data-atlas=home] .stage .header-actions {
    top: 5px; right: max(10px, env(safe-area-inset-right)); height: 41px; gap: 6px;
  }
  html[data-atlas=home] .stage #topnav {
    inset: auto max(6px, env(safe-area-inset-right)) 2px max(6px, env(safe-area-inset-left));
    height: 37px; gap: 2px;
  }
  html[data-atlas=home] .stage #topnav > .nav-item {
    height: 33px; min-width: 0; flex: 0 1 auto; padding-inline: clamp(4px, 1.2vw, 12px); font-size: 13px; gap: 4px;
  }
  #topnav .nav-art-divider { display: none; }
  #topnav .nav-extra summary { padding: 8px 5px; }
  #topnav .nav-extra-links { z-index: 2; max-height: min(65dvh, 390px); overflow-y: auto; }
  .nav-light-rail { z-index: -1; }
  .interactive .stage .scene-mode { top: 98px; }
  .interactive .stage .scene-viewport { top: 117px; }
  .interactive.immersive .stage .scene-viewport { inset: 0; }
}
@media (max-width: 680px) {
  .header-starplate { display: none; }
  .stage .sidebar .side-item::before { content: none; }
  .interactive .stage .sidebar { top: 122px; max-height: calc(100dvh - 246px); }
  .interactive:not(.immersive) .stage .scene-viewport { top: 124px; bottom: calc(112px + env(safe-area-inset-bottom)); }
  .interactive .stage .interaction-hint { display: none; }
  .interactive .stage .scene-mode { top: 98px; left: 63px; }
  .interactive .stage .home-badge { top: 97px; }
  .interactive .stage .home-badge[data-creator=""] { height: auto; aspect-ratio: auto; right: 10px; }
  .stage .home-badge[data-creator=""] .badge-switch {
    position: static; display: flex; align-items: center; gap: 3px; padding: 2px 6px;
    border-radius: 10px; background: #081322dc;
  }
  .stage .home-badge[data-creator=""] .badge-switch img { width: 21px; height: 21px; }
  .interactive .stage .view-controls {
    left: 50%; bottom: calc(61px + env(safe-area-inset-bottom)); max-width: calc(100% - 12px); gap: 1px; padding: 3px 5px;
  }
  .interactive .stage .view-controls .control-text { padding-inline: 5px; }
  .interactive .stage .overview-launcher {
    bottom: calc(8px + env(safe-area-inset-bottom)); left: max(8px, env(safe-area-inset-left));
    width: 148px; height: 46px; border-radius: 13px;
  }
  .stage .overview-launcher .launcher-title { width: 83px; height: 27px; left: 7px; top: 0; }
  .stage .overview-launcher .overview-count { left: 11px; top: 26px; font-size: 10px; }
  .stage .overview-launcher .overview-enter { width: 46px; height: 36px; right: 5px; top: 4px; }
  .stage .entry-guide { left: 0; }
  .interactive .stage .news-panel {
    right: max(8px, env(safe-area-inset-right)); bottom: calc(8px + env(safe-area-inset-bottom));
    z-index: 125; border-radius: 13px; width: 130px; height: auto !important; padding: 0 7px;
  }
  .stage .news-panel:has(#news-disclosure[aria-expanded=false]) .news-heading::before { content: none; }
  .stage .news-heading { height: 44px; border-bottom-color: transparent; }
  .stage .news-heading > img { width: 94px; }
  .stage .news-heading #news-disclosure {
    display: block; position: absolute; left: 0; top: 0; height: 100%; width: 100%;
    background: transparent; cursor: pointer;
  }
  .stage #news-disclosure::after {
    content: ""; position: absolute; right: 3px; top: 20px; width: 6px; height: 6px;
    border: solid #f1d498; border-width: 1.5px 1.5px 0 0; transform: rotate(-45deg);
  }
  .stage #news-disclosure[aria-expanded=true]::after { transform: rotate(135deg); top: 16px; }
  .stage #news-disclosure:focus-visible { outline-offset: -3px; }
  .stage .news-panel:has(#news-disclosure[aria-expanded=false]) :is(.news-items,.news-updates,.news-more) { display: none; }
  .interactive .stage .news-panel:has(#news-disclosure[aria-expanded=true]) {
    width: min(285px, calc(100% - 16px)); padding-inline: 12px; max-height: calc(100dvh - 153px); overflow-y: auto;
  }
  .stage .news-panel:has(#news-disclosure[aria-expanded=true]) .news-heading { border-bottom-color: #bd9c613b; }
  .stage .news-panel:has(#news-disclosure[aria-expanded=true]) #news-disclosure { width: 120px; }
  .stage .news-heading .news-updates { margin-left: auto; }
  .stage .motion-indicator { display: none; }
  @media (prefers-reduced-motion: no-preference) {
    .stage:has(#home-flight-field[data-running]) .news-panel:has(#news-disclosure[aria-expanded=true]) .news-items {
      animation: dispatch-reveal .24s ease-out;
    }
  }
}
@media (max-width: 380px) {
  html[data-atlas=home] .stage .brand-word { display: none; }
  #topnav [data-header-art]::before { width: 13px; height: 15px; }
}
@media (forced-colors: active) {
  .stage #news-disclosure::after { border-color: ButtonText; }
}

@media (max-width:680px), (pointer:coarse) and (max-width:950px) and (max-height:540px) {
  .interactive .stage #sidebar {
    left:max(8px,env(safe-area-inset-left)); top:122px; width:auto; max-height:none; overflow:visible;
    flex-direction:row; align-items:center; gap:4px; z-index:115;
  }
  .interactive .stage #sidebar .side-item {
    width:auto; min-height:44px; padding:2px 7px; flex-direction:row; gap:4px;
    color:#f0dfbf; font-size:12px; text-decoration:none; text-shadow:none;
    background:linear-gradient(145deg,#152333ef,#091322eb); border:1px solid #ac8e514d; border-radius:10px;
  }
  .interactive .stage #sidebar .side-icon {
    width:22px; height:22px; background:none; box-shadow:none; border:0; border-radius:0; overflow:visible;
  }
  .interactive .stage #sidebar .side-icon img { width:100%; height:100%; max-width:100%; max-height:100%; object-fit:contain; }
  .interactive .stage #sidebar .side-icon::after { content:none; }
  #sidebar .side-more[aria-expanded=true] { outline:1px solid #d5b373; }
  #sidebar #side-more-panel:not([hidden]) {
    position:absolute; top:calc(100% + 5px); left:0; width:min(260px,calc(100vw - 20px));
    display:grid; grid-template-columns:1fr 1fr; gap:5px; padding:6px; max-height:calc(100dvh - 180px);
    overflow:auto; border:1px solid #a98e575e; border-radius:12px; background:#08111ff5; box-shadow:0 12px 26px #0007;
  }
  .interactive:not(.immersive) .stage .scene-viewport { left:max(6px,env(safe-area-inset-left)); right:max(6px,env(safe-area-inset-right)); top:173px; }
  .interactive .stage .scene-mode { left:max(10px,env(safe-area-inset-left)); }
}

@media (orientation:landscape) and (max-width:950px) and (max-height:540px) and (pointer:coarse) {
  .interactive .stage #sidebar { top:99px; left:4px; flex-direction:column; gap:3px; }
  .interactive .stage #sidebar > .side-item { width:52px; padding:3px; flex-direction:column; gap:0; font-size:10px; }
  #sidebar #side-more-panel:not([hidden]) { left:calc(100% + 5px); top:0; max-height:calc(100dvh - 110px); }
  .interactive:not(.immersive) .stage .scene-viewport { left:61px; right:7px; top:115px; bottom:49px; }
  .interactive .stage .scene-mode { top:94px; left:64px; }
}
/* home-planet-detail.css */
/* Chart captions keep the same geometry while secondary information changes. */
#label-layer .scene-label:not(.selected):not(.hovered) .label-status { display: none; }
#label-layer .label-name { display: inline-flex; align-items: center; gap: 3px; }
#label-layer .label-name > .lock { flex: none; width: 8px; height: 7px; }
#label-layer .label-name > .label-star {
  flex: none; width: 9px; height: 10px;
  background: url("assets/celestial-ui/star.webp") center / contain no-repeat;
}
#label-layer .scene-label.locked:not(.selected) .label-name { color: #b7c0ce; }
#label-layer .scene-label:not(.selected):not(.hovered) {
  background: radial-gradient(ellipse closest-side, #06101ede 45%, transparent 100%); border-color: transparent;
}
.guide-short { display: none; }
.stage #detail-panel { min-height: 0; height: auto; padding: 10px 14px 14px; }
#detail-panel #detail-close {
  z-index: 2; top: 12px; right: 15px; width: 34px; height: 34px;
  border-radius: 50%; background: #07101fd9;
}
#detail-panel #detail-close img { width: 24px; height: 24px; }
#detail-panel .creator-cover {
  aspect-ratio: 560 / 146; position: relative; overflow: hidden; border-radius: 13px 13px 6px 6px;
  background: #0c1726; border: 1px solid #adbaca28;
}
#detail-panel .creator-cover::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(0deg, #06101c48, transparent 24%);
}
#detail-panel .detail-cover { display: block; width: 100%; height: 100%; object-fit: cover; }
#detail-panel .orbital-cover {
  display: grid; place-items: center; background: radial-gradient(ellipse at 50% 95%, #28415b 0%, #101e32 45%, #050c17 90%);
}
#detail-panel .orbital-cover .detail-planet { display: block; width: 48%; height: 100%; min-height: 0; object-fit: contain; }
#detail-panel .detail-title-row { display: flex; align-items: center; gap: 9px; margin: 11px 0 6px; }
#detail-panel .detail-title-row h2 { font-size: 18px; margin: 0; line-height: 1.35; }
#detail-panel .detail-tags { flex-wrap: wrap; gap: 5px; margin: 5px 0; }
#detail-panel .detail-tags span { flex: none; max-width: 100%; padding: 1px 8px; font-size: 12px; line-height: 1.65; }
#detail-panel .detail-description {
  display: block; height: auto; margin: 6px 0 0; overflow: visible; color: #d6dfe9; line-height: 1.55; font-size: 13px;
}
#detail-panel .detail-gallery { margin-top: 8px; }
#detail-panel .enter-planet {
  position: static; width: 100%; min-height: 40px; height: auto; margin: 10px 0 0; padding: 5px 10px;
}
@media (max-width: 680px), (pointer: coarse) and (max-height: 540px) {
  .stage #detail-panel {
    position: absolute; z-index: 127; left: max(8px, env(safe-area-inset-left)); right: auto;
    bottom: max(8px, env(safe-area-inset-bottom)); top: auto; transform: none;
    width: min(380px, calc(100% - 16px - env(safe-area-inset-left) - env(safe-area-inset-right)));
    max-height: calc(100dvh - 108px - env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain;
  }
  #detail-panel #detail-close { width: 40px; height: 40px; }
  #detail-panel .enter-planet { min-height: 44px; }
  #label-layer .scene-label .label-name > :is(.label-star,.lock), #label-layer .scene-label .label-status { transition: opacity .14s ease-out; }
  :is(.is-dragging,.orbit-caption-drag) #label-layer .scene-label .label-name > :is(.label-star,.lock),
  :is(.is-dragging,.orbit-caption-drag) #label-layer .scene-label .label-status { opacity: 0; }
}
@media (max-width:680px) {
  .stage #overview-launcher:has(#entry-guide:not([hidden])) .overview-count { visibility: hidden; }
  .stage #entry-guide {
    inset: 26px auto auto 9px; padding: 0; border: 0; box-shadow: none; background: transparent;
    font-size: 10px; line-height: 13px; color: #f1d59b; cursor: default; pointer-events: none;
  }
  #entry-guide::after, #entry-guide .guide-long { display: none; }
  #entry-guide .guide-short { display: inline; }
}
@media (prefers-reduced-motion:reduce) {
  #label-layer .scene-label :is(.label-star,.lock,.label-status) { transition: none; }
}
.ui-still #label-layer .scene-label :is(.label-star,.lock,.label-status) { transition: none; }

/* Use the same creator identity on the map, in the overview and in the detail sheet. */
#overview-panel .planet-card { align-items: stretch; gap: 2px; text-align: left; padding: 5px 4px 7px; overflow: hidden; }
#overview-panel .overview-art {
  display: grid; place-items: center; width: 100%; height: 49px; flex: none; overflow: hidden;
  border-radius: 9px 9px 4px 4px; background: radial-gradient(ellipse at bottom, #243851, #0b1422 84%);
}
#overview-panel .overview-cover { display: block; width: 100%; height: 100%; object-fit: cover; }
#overview-panel .overview-art .card-image { width: 100%; height: 47px; object-fit: contain; }
#overview-panel :is(.card-name,.card-subtitle) {
  display: block; width: 100%; height: auto; padding: 0; overflow: hidden;
  white-space: nowrap; text-overflow: ellipsis; letter-spacing: normal;
}
#overview-panel .card-name { margin-top: 3px; color: #fff0d0; font-size: 15px; line-height: 20px; }
#overview-panel .card-subtitle { color: #c2ceda; font-size: 12px; line-height: 16px; }
#overview-panel .card-status { align-self: start; font-size: 11px; margin-top: auto; }
#overview-panel #planet-cards { mask-image: none; }
#core-planet .core-plaque {
  display: grid; justify-items: center; gap: 1px; top: 95%; padding: 4px 11px;
  border-radius: 6px; border: 1px solid #aa87578c; background: linear-gradient(180deg,#201b17f0,#0c1018f2);
  opacity: 1; color: #ffe2a5; translate: -50% 0; line-height: 1.18; text-align: center;
  box-shadow: 0 2px 8px #06091377; text-shadow: none;
}
.core-plaque strong { font-size: 13px; letter-spacing: .12em; }
.core-plaque small { color: #d3c8b4; font-size: 10px; }
body:not(.scene-3d) #core-planet::before {
  content: ""; position: absolute; inset: -3%; pointer-events: none;
  background: radial-gradient(ellipse closest-side,#080b18ad 24%,#080b1870 64%,transparent);
}
body:is(.immersive,.model-focused,.cinema-intro,.cinema-tour) .core-plaque { visibility: hidden; }
@media (max-width:680px), (pointer:coarse) and (max-width:950px) and (max-height:540px) {
  .stage.overview-visible .news-panel { visibility: hidden; pointer-events: none; }
  .stage #overview-panel {
    box-sizing: border-box; left: max(8px, env(safe-area-inset-left)); right: max(8px, env(safe-area-inset-right));
    bottom: max(8px, env(safe-area-inset-bottom)); width: auto; max-width: 460px; height: 224px; border-radius: 19px;
  }
  #overview-panel .overview-heading { left: 10px; top: 7px; height: 40px; }
  #overview-panel .overview-heading img { width: 95px; height: auto; }
  #overview-panel #hot-filter { right: 87px; top: 8px; padding: 3px 8px; min-height: 36px; }
  #overview-panel :is(#overview-close,#overview-reset) { top: 4px; width: 40px; height: 44px; display: grid; place-items: center; }
  #overview-panel #overview-close { right: 2px; }
  #overview-panel #overview-reset { right: 44px; }
  #overview-panel #overview-close img { width: 24px; height: 24px; }
  #overview-panel #planet-cards { left: 12px; right: 12px; top: 50px; height: 132px; padding: 1px 0 2px; }
  #overview-panel .planet-card { flex: 0 0 calc((100% - 38px) / 2); width: auto; height: 128px; }
  #overview-panel .overview-art { height: 51px; }
  #overview-panel :is(#page-prev,#page-next) { top: auto; bottom: 0; width: 44px; height: 42px; display: grid; place-items: center; }
  #overview-panel #page-prev { left: 7px; }
  #overview-panel #page-next { right: 7px; }
  #overview-panel .page-arrow img { width: 17px; height: 25px; }
  #overview-panel #page-dots { bottom: 3px; gap: 0; }
  #overview-panel .page-dot { width: clamp(18px,5.3vw,25px); height: 36px; }
  #core-planet .core-plaque { padding: 2px 6px; top: 92%; }
  .core-plaque strong { font-size: 11px; }
}

/* A compact observatory toolbar and a single editorial lead leave the chart in view. */
.chart-nebula-shade {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse 41% 23% at 83% 43%, #10182e60, #12193028 67%, transparent);
}
#orbit-fallback ellipse:nth-last-child(2) { stroke: #99a9c4; stroke-width: .6; }
#scene .orbit-art { opacity: .57; }
#overview-panel .overview-cover { object-position: var(--cover-x, 50%) center; }
[data-card=linshu]    { --cover-x:58%; --wide-crop:63%; }
[data-card=qingzhi]   { --cover-x:94%; --wide-crop:95%; }
[data-card=xiangsu]   { --cover-x:23%; --wide-crop:24%; }
[data-card=mad98]     { --cover-x:72%; --wide-crop:57%; }
[data-card=maomaoqing]{ --cover-x:93%; --wide-crop:85%; }
[data-card=shuangquan]{ --cover-x:48%; --wide-crop:45%; }
[data-card=tiehe]     { --cover-x:47%; --wide-crop:46%; }
[data-card=yilin]     { --cover-x:34%; --wide-crop:30%; }
[data-card=xuyinyin]  { --cover-x:73%; --wide-crop:56%; }
[data-card=yolo]      { --cover-x:43%; --wide-crop:41%; }
[data-card=yongyuan]  { --cover-x:98%; --wide-crop:96%; }
[data-card=z9max]     { --cover-x:99%; --wide-crop:98%; }

.interactive .stage .news-panel { height: auto; }
.stage .news-heading { gap: 6px; }
.stage .news-heading .news-updates { margin-left: auto; padding: 2px 8px; border-radius: 7px; border: 1px solid #bca16b50; }
.stage #news-items { padding: 5px 0; }
.stage #news-items::before { content: none; }
#news-items .dispatch-lead {
  display: flex; flex-direction: column; align-items: stretch; height: auto; padding: 0; gap: 0;
  overflow: hidden; border: 1px solid #9b85594a; background: #101d2c; border-radius: 9px;
}
#news-items .dispatch-cover { display: block; width: 100%; height: 51px; object-fit: cover; object-position: center; }
#news-items .dispatch-lead strong { padding: 5px 8px; color: #fff0d0; font-size: 13px; line-height: 1.45; white-space: normal; overflow-wrap: anywhere; }
#news-items .brief { height: auto; min-height: 29px; padding: 3px 5px; gap: 7px; color: #d3dae3; text-decoration: none; }
#news-items .brief::before { content: ""; width: 4px; height: 4px; flex: none; transform: rotate(45deg); background: #b59c73; }
#news-items .brief strong { font-size: 12px; font-weight: 500; }
#news-items .news-item:hover { transform: none; }
#news-items .news-item:is(:hover,:focus-visible) strong { color: #ffe9b2; }
@media (prefers-reduced-motion:no-preference) {
  html[data-motion=standard] body:not(.ui-still) :is(#scene-mode-toggle,#sidebar > .side-item,#news-items button) { transition: scale .14s ease-out, background-color .18s; }
  html[data-motion=standard] body:not(.ui-still) :is(#scene-mode-toggle,#sidebar > .side-item,#news-items button):active { scale: .975; }
}
@media (max-width:680px), (pointer:coarse) and (max-width:950px) and (max-height:540px) {
  .stage #sidebar > [data-home] { display: none; }
  #overview-panel .overview-cover { object-position: var(--wide-crop, 50%) center; }
  .stage #scene-mode-label {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
  }
  #scene-mode .scene-mode-dot { display: none; }
}
@media (max-width:680px) and (orientation:portrait) {
  .interactive .stage #scene-mode {
    left: max(7px,env(safe-area-inset-left)); top: 94px; height: 40px; padding: 0;
    background: none; border: 0; box-shadow: none;
  }
  #scene-mode #scene-mode-toggle {
    display: block; margin: 0; height: 40px; min-width: 53px; padding: 0 6px; font-size: 12px;
    color: #f2dbac; border: 1px solid #ac8e5157; border-radius: 9px; background: #101e2eea;
  }
  .interactive .stage #sidebar { top: 94px; left: calc(max(7px,env(safe-area-inset-left)) + 67px); }
  .interactive .stage #sidebar > .side-item { min-height: 40px; }
  .interactive .stage #home-badge { top: 94px; right: max(7px,env(safe-area-inset-right)); }
  .stage #home-badge .badge-switch { top: 0; right: 0; left: auto; min-height: 40px; }
  .stage #home-badge[data-creator=""] .badge-switch { padding: 0 5px; }
  .stage #home-badge:not([data-creator=""]) { width: 56px; height: 70px; aspect-ratio: auto; }
  .stage #home-badge:not([data-creator=""]) .badge-switch { inset: 0; width: 100%; height: 100%; }
  .stage #home-badge:not([data-creator=""]) .badge-switch img { visibility: hidden; }
  .stage #home-badge #badge-emblem { inset: 0; font-size: 10px; }
  .stage #home-badge #badge-emblem > :is(img,svg) { height: 40px; }
  .stage #home-badge #badge-emblem span { font-size: 10px; }
  .interactive:not(.immersive) .stage .scene-viewport { top: 139px; }
  #news-items .brief { min-height: 36px; }
}

#news-items .lead-description { display: block; padding: 0 8px 6px; color: #c4d0d9; white-space: normal; line-height: 1.4; }
@media (max-width:360px) and (orientation:portrait) {
  .interactive .stage #sidebar > .side-item { padding-inline: 4px; gap: 2px; }
  .interactive .stage #sidebar > .side-more .side-icon { display: none; }
}

#bulletins-dialog { width:min(34rem,calc(100vw - 2rem)); max-height:80dvh; padding:1rem; text-align:left; }
#bulletins-dialog header { display:flex; align-items:center; justify-content:space-between; gap:1rem; }
#bulletins-dialog h2 { margin:0; color:#f2d6a3; }
#bulletins-list { display:grid; gap:.45rem; margin-top:.9rem; max-height:55dvh; overflow-y:auto; overscroll-behavior:contain; }
#bulletins-list button { display:grid; gap:.22rem; padding:.7rem .85rem; text-align:left; color:#eef1f5; background:#121f31; border:1px solid #455164; border-radius:.55rem; }
#bulletins-list button:is(:hover,:focus-visible) { border-color:#e6c58b; }
#bulletins-list span { color:#bac8d8; font-size:.86rem; }

/* Keep the star map and the creator's reading area on separate surfaces. */
.stage {
  --creator-dock-width: clamp(228px, 23vw, 342px);
  --creator-dock-right: max(16px, env(safe-area-inset-right));
  --creator-dock-bottom: max(16px, env(safe-area-inset-bottom));
}
.stage #detail-panel {
  box-sizing: border-box; left: auto; top: auto; right: var(--creator-dock-right); bottom: var(--creator-dock-bottom);
  width: var(--creator-dock-width); height: min(336px, calc(100dvh - 112px)); min-height: 0; max-height: none;
  padding: 9px; transform: none; translate: none; overflow: hidden; animation: none;
  border-radius: 17px; background: linear-gradient(145deg, #172533, #0a1521 68%);
  border-color: color-mix(in srgb, var(--accent) 44%, #293849);
}
.stage #detail-panel::before { background-image: var(--dock-texture, none); }
.stage #detail-panel:not([hidden]) ~ .news-panel { display: none; }
.stage #detail-content {
  display: grid; grid-template-rows: minmax(0, 1fr) fit-content(48%) auto;
  gap: 8px; height: 100%; min-height: 0;
}
.stage #detail-panel .creator-cover {
  aspect-ratio: auto; min-height: 0; border-radius: 10px;
  background: radial-gradient(ellipse at bottom, color-mix(in srgb, var(--accent) 18%, #16202f), #0a111c);
}
#detail-panel .detail-cover { object-position: var(--wide-focus, 50% 50%); }
#detail-panel[data-planet=whys]      { --wide-focus: 38% 30%; --near-focus: 32% 28%; }
#detail-panel[data-planet=linshu]    { --wide-focus: 64% 44%; --near-focus: 67% 42%; }
#detail-panel[data-planet=mad98]     { --wide-focus: 62% 50%; --near-focus: 65% 46%; }
#detail-panel[data-planet=maomaoqing]{ --wide-focus: 78% 46%; --near-focus: 80% 42%; }
#detail-panel[data-planet=qingzhi]   { --wide-focus: 76% 47%; --near-focus: 78% 43%; }
#detail-panel[data-planet=shuangquan]{ --wide-focus: 51% 47%; --near-focus: 52% 40%; }
#detail-panel[data-planet=tiehe]     { --wide-focus: 49% 44%; --near-focus: 50% 43%; }
#detail-panel[data-planet=xiangsu]   { --wide-focus: 76% 45%; --near-focus: 77% 42%; }
#detail-panel[data-planet=xuyinyin]  { --wide-focus: 74% 46%; --near-focus: 72% 42%; }
#detail-panel[data-planet=yilin]     { --wide-focus: 34% 52%; --near-focus: 34% 45%; }
#detail-panel[data-planet=yolo]      { --wide-focus: 48% 47%; --near-focus: 48% 41%; }
#detail-panel[data-planet=yongyuan]  { --wide-focus: 78% 48%; --near-focus: 80% 43%; }
#detail-panel[data-planet=z9max]     { --wide-focus: 70% 47%; --near-focus: 72% 42%; }
@media (min-width:681px) {
  #detail-panel[data-planet=xuyinyin] .creator-cover { background: #110f0e; }
  #detail-panel[data-planet=xuyinyin] .detail-cover {
    width: 72%; margin-left: auto; mask-image: linear-gradient(90deg, transparent, black 18%);
  }
  #detail-panel[data-planet=xuyinyin] .creator-cover::before {
    content: ""; position: absolute; inset: 0 auto 0 0; width: 39%;
    background: var(--xuyinyin-portrait, none) left center / 262% auto no-repeat;
    mask-image: linear-gradient(90deg, black 93%, transparent);
  }
}
#detail-panel .detail-copy {
  min-width: 0; min-height: 0; overflow: auto; overscroll-behavior: contain;
  padding-inline: 3px; scrollbar-width: thin; scrollbar-color: #617282 transparent;
}
#detail-panel .detail-title-row { margin: 0 0 4px; }
#detail-panel .enter-planet { margin: 0; align-self: stretch; }
#detail-panel .detail-copy .detail-description { max-height: none; }
.stage #detail-close { top: 12px; right: 12px; }
body.scene-3d.model-focused .stage #detail-panel {
  opacity: 1; pointer-events: auto; translate: none; transform: none;
}
.stage #detail-panel #detail-content { opacity: 1; pointer-events: auto; }
.stage #detail-panel #detail-content > * { animation: none; }
body:not(.scene-3d) .compact-captions .label-leaders [data-attached] { visibility: hidden; }
html[data-motion=quiet] body:not(.scene-3d) .scene-label { backdrop-filter: none; }
html[data-motion=quiet] .space-haze { display: none; }
html[data-motion=quiet] .interactive-ready :is(.scene-viewport,.view-controls,.overview-launcher,.news-panel) { animation: none; }
body:not(.scene-3d) .compact-captions .scene-label:not(.selected) { height: 18px; }
body:not(.scene-3d) .compact-captions .scene-label.selected { height: 30px; z-index: 85; }
.selection-rim, #detail-panel .cover-rim { pointer-events: none; position: absolute; }
.selection-rim { display: none; }
body:not(.scene-3d) .planet.selected .selection-rim {
  display: block; inset: -3% -4%; border: 1px solid var(--planet-ink); border-bottom-color: var(--rim-tip,var(--planet-ink));
  border-radius: 50%; transform: rotate(-13deg); opacity: .65;
}
#detail-panel .cover-rim {
  z-index: 1; inset: auto 0 0; height: 2px; opacity: .65;
  background: linear-gradient(90deg, transparent, var(--selection-ink) 24% 64%, var(--rim-tip,var(--selection-ink)) 86%, transparent);
}
:is(.planet,#detail-panel)[data-planet=xiangsu] { --rim-tip: #ffe19b; }
@media (prefers-reduced-motion:no-preference) {
  html:is([data-motion=standard],[data-motion=quiet]) body:not(.scene-3d,.ui-still,.effects-off) .stage:not(.still-stars) :is(.planet.selected .selection-rim,#detail-panel .cover-rim) {
    animation: selection-edge 200ms ease-out;
  }
}
@keyframes selection-edge {
  0% { opacity: .95; filter: brightness(1.65); }
  100% { opacity: .65; filter: brightness(1); }
}
@media (min-width:681px) {
  .interactive:not(.scene-3d,.immersive) .stage .scene-viewport { right: calc(var(--creator-dock-width) + var(--creator-dock-right) + 6px); }
  .interactive .stage .news-panel { right: var(--creator-dock-right); bottom: var(--creator-dock-bottom); }
}
@media (max-width:680px) and (orientation:portrait) {
  .stage { --creator-sheet: clamp(108px, 17dvh, 150px); }
  #detail-panel .detail-cover { object-position: var(--near-focus, 50% 50%); }
  .interactive:not(.scene-3d,.immersive) .stage:not(.overview-visible) .view-controls {
    bottom: calc(var(--creator-sheet) - 43px + env(safe-area-inset-bottom));
  }
  .interactive:not(.scene-3d,.immersive) .stage:not(.overview-visible) :is(#overview-launcher,.news-panel:has(#news-disclosure[aria-expanded=false])) {
    bottom: calc(var(--creator-sheet) - 95px + env(safe-area-inset-bottom));
  }
  .interactive:not(.immersive,.scene-3d) .stage .scene-viewport { bottom: calc(var(--creator-sheet) + 14px + env(safe-area-inset-bottom)); }
  .stage #detail-panel {
    left: max(8px,env(safe-area-inset-left)); right: max(8px,env(safe-area-inset-right));
    bottom: max(8px,env(safe-area-inset-bottom)); width: auto; height: var(--creator-sheet); padding: 7px;
  }
  .stage.overview-visible #detail-panel { bottom: calc(236px + env(safe-area-inset-bottom)); }
  .stage:has(#detail-panel:not([hidden])) :is(#overview-launcher,#view-controls) { visibility: hidden; }
  .stage #detail-content {
    grid-template-columns: minmax(80px,34%) minmax(0,1fr); grid-template-rows: minmax(0,1fr) 44px; gap: 5px 8px;
  }
  #detail-content .creator-cover { grid-row: 1 / -1; }
  #detail-panel .detail-title-row { padding-right: 29px; }
  #detail-panel #detail-close { top: 4px; right: 4px; width: 34px; height: 34px; }
}
@media (orientation:landscape) and (max-width:950px) and (max-height:540px) {
  .stage { --creator-dock-width: clamp(167px,26vw,236px); --creator-dock-bottom: max(6px,env(safe-area-inset-bottom)); --creator-dock-right: max(6px,env(safe-area-inset-right)); }
  .interactive:not(.immersive,.scene-3d) .stage .scene-viewport { right: calc(var(--creator-dock-width) + var(--creator-dock-right) + 4px); }
  .stage #detail-panel { height: min(270px,calc(100dvh - 108px)); }
  .interactive .stage #overview-launcher { left: 6px; bottom: 5px; width: 147px; height: 42px; }
  #overview-launcher .launcher-title { left: 5px; top: 0; width: 85px; height: 25px; }
  #overview-launcher .overview-count { left: 9px; top: 24px; font-size: 10px; }
  #overview-launcher .overview-enter { right: 3px; top: 3px; width: 48px; height: 36px; }
  #overview-launcher #entry-guide { display: none; }
  .interactive .stage .view-controls { left: 158px; bottom: 5px; transform: none; padding: 3px 5px; }

}
