/* Quiet controls and static composition during mobile recovery. */
:root{--header-height:88px}.site-header{height:var(--header-height);grid-template-columns:auto minmax(0,1fr);padding:10px 5vw}.site-header .brand{flex-direction:row;gap:8px;width:250px}.site-header .brand>img.brand-emblem{width:35px;height:35px}.site-header .brand .wordmark-window{width:204px}.site-header .motion-toggle{display:none}.site-header nav{gap:28px;justify-self:end}.site-header nav a{background:none;box-shadow:none;border:0;min-height:44px;padding:10px 0;color:#a8c2d3}.site-header nav a.active{color:#eefaff}.site-header nav a:before{display:none}.site-header nav a:after{height:1px;background:#8ac8de}.cosmos{background:radial-gradient(ellipse at 80% 15%,#163047 0,transparent 55%),#040b18}.cosmos>.orbit,.frame-corner{display:none}.performance-lite .crew-orbit-art *,.performance-lite .atlas-feature-marker,.performance-lite .mission-orbital-grid,.performance-lite .book-object,.performance-lite .book-object *,.performance-lite .shelf-guide,.performance-lite .scroll-track{animation:none!important}.performance-lite .book-object{transition:opacity .15s,transform .15s}.primary-button,.quiet-button,.round-button,.close-button,.reader-page-button,.story-selector button,.crew-world-label button,.discovery-button,.atlas-viewer-toolbar button,.collection-favorite,.page-image-error button,.reader-status button,.game-loading button,.signal-rescue .sr-button,.signal-rescue button:not(.sr-pilot):not(.sr-route):not(.sr-companion){background:#0c1c29;color:#d5e8f1;border:1px solid #395769;border-radius:4px;box-shadow:inset 0 1px 0 #ffffff09;min-height:44px;min-width:44px;text-shadow:none;filter:none;clip-path:none;transition:background-color .12s,border-color .12s}.primary-button:before,.primary-button:after{display:none}.primary-button:hover,.quiet-button:hover,.round-button:hover,.reader-page-button:hover{background:#142b3a;border-color:#77a8bb}.primary-button:active,.quiet-button:active,.round-button:active,.reader-page-button:active{background:#1b384a;border-color:#acd9ea}.primary-button:disabled,.quiet-button:disabled,.reader-page-button:disabled{opacity:.4;cursor:default}.primary-button{font-weight:500}.primary-button span{color:inherit}.atlas-planets button,.atlas-modes button{box-shadow:none;border-color:#2c4759;background:#091925}.atlas-planets button.selected,.atlas-modes button.selected{border-color:#78acc1;background:#102737}.atlas-planets button:before,.atlas-modes button:before{display:none}button:focus-visible,a:focus-visible{outline:2px solid #8ac8de;outline-offset:3px}footer{padding:36px 20px 30px;gap:13px}.footer-wordmark{width:230px;gap:4px}.footer-wordmark>img.brand-emblem{width:78px;height:78px}.crew-card>.portrait img,.character-info-avatar>#characterImage{filter:none}.mission-crew-art>img{filter:none}.book-volume{will-change:auto!important}.performance-lite .image-failure{font-size:12px;box-shadow:none}.performance-lite .reader-tools .close-button{flex-shrink:0}.library-section{min-height:calc(100svh - var(--header-height))}
@media(max-width:980px){:root{--header-height:110px}.site-header{grid-template-columns:minmax(0,1fr);grid-template-rows:52px 48px;gap:0;padding:5px 5vw}.site-header .brand{grid-column:1;grid-row:1;width:218px;justify-self:start;gap:7px}.site-header .brand>img.brand-emblem{width:29px;height:29px}.site-header .brand .wordmark-window{width:180px}.site-header nav{grid-row:2;grid-column:1;justify-self:stretch;justify-content:space-between;height:48px;width:100%;gap:12px}.site-header nav a{font-size:14px;padding:10px 0}.footer-wordmark{width:220px}.footer-wordmark>img.brand-emblem{width:70px;height:70px}}
@media(max-width:360px){.site-header nav a{font-size:13px}}
@media(orientation:landscape) and (max-height:600px){.reader-toolbar{height:46px}.reader-bottom{height:48px}.reader-tools .quiet-button{padding:3px 8px}}
/* Only on-screen original planet layers drift; no WebGL or continuous JS frame loop. */
.performance-lite .crew-card.in-view .planet-original{animation:atlas-disc-drift 28s ease-in-out infinite!important}.performance-lite .crew-card.in-view .planet-orbit-line{animation:instrument-orbit 45s linear infinite!important}.performance-lite .character-info-avatar .planet-original{animation:atlas-disc-drift 28s ease-in-out infinite!important}.performance-lite .cosmos:after{content:'';position:absolute;inset:0;background-image:radial-gradient(circle,#b2d7ec77 1px,transparent 1px),radial-gradient(circle,#a8d5f04d 1px,transparent 1px);background-size:157px 193px,281px 331px;background-position:20px 34px,120px 60px;opacity:.45;animation:quiet-starlight 16s ease-in-out infinite alternate}.performance-lite.dialog-visible .cosmos:after{animation-play-state:paused}.performance-lite.reduced-motion .cosmos:after,.performance-lite.reduced-motion .crew-orbit-art *{animation:none!important}.site-header .motion-toggle{display:flex;position:fixed;right:16px;bottom:16px;width:44px;height:44px;padding:0;align-items:center;justify-content:center;z-index:12;background:#071521;border:1px solid #3a5b6d;border-radius:50%}.site-header .motion-toggle span:last-child{display:none}.primary-button,.quiet-button,.round-button,.close-button,.reader-page-button{box-shadow:none!important;clip-path:none!important}.signal-rescue .sr-button{background:#102331;color:#d5e8f1;border:1px solid #45677a;box-shadow:none;clip-path:none}.signal-rescue .sr-button:before,.signal-rescue .sr-button:after{display:none}@keyframes quiet-starlight{to{opacity:.7}}
@media(prefers-reduced-motion:reduce){.performance-lite .cosmos:after,.performance-lite .crew-orbit-art *{animation:none!important}}
.performance-lite.reduced-motion .crew-card.in-view .planet-original,.performance-lite.reduced-motion .crew-card.in-view .planet-orbit-line,.performance-lite.reduced-motion .character-info-avatar .planet-original,.performance-lite.dialog-visible .crew-card.in-view .planet-original,.performance-lite.dialog-visible .crew-card.in-view .planet-orbit-line{animation:none!important}
@media(prefers-reduced-motion:reduce){body.performance-lite .crew-card.in-view .planet-original,body.performance-lite .crew-card.in-view .planet-orbit-line,body.performance-lite .character-info-avatar .planet-original{animation:none!important}}
.performance-lite.paused-tab .cosmos:after,.performance-lite.paused-tab .crew-card.in-view .planet-original,.performance-lite.paused-tab .crew-card.in-view .planet-orbit-line,.performance-lite.paused-tab .character-info-avatar .planet-original{animation-play-state:paused!important}
