/* Ancient dashboard: bronze light, quiet depth, bounded existing particles. No Cyber by default. */
#library-main>.hub-intro{margin-bottom:24px}
#library-main>.hub-toolbar{margin:0 0 28px!important;padding:20px 0!important;border-top:1px solid #b6a48538!important;border-bottom:1px solid #b6a48538!important;border-left:0;border-right:0;border-radius:0}
#library-main>.sanctuary-card{margin:0 0 30px!important}
#library-main>.hub-section{scroll-margin-top:90px}
body[data-library-theme=full]{--hub-ink:#e0e0e0;--hub-muted:#b1b1b1;--hub-bright:#e6e6e6;--hub-line:#7b7b7b45}
body[data-library-theme=full] .hub-world{background:radial-gradient(ellipse 76% 35% at 75% 12%,#66666618,transparent 76%),radial-gradient(ellipse 90% 50% at 12% 55%,#38383823,transparent 80%),linear-gradient(165deg,#111111,#0a0a0a 62%,#101010)}
/* Default has zero film-grain plate; smooth gradients live on .hub-world. */
body[data-library-theme=full] .hub-world-scenery::after{display:none!important;background-image:none!important}
body[data-library-theme=full] .hub-scene-light{top:7%;left:8%;width:min(900px,83vw);height:580px;background:radial-gradient(ellipse,#c8c8c812,transparent 74%)}
body[data-library-theme=full] :is(.hub-feature,.hub-app-card,.sanctuary-card){border-color:#a5a5a538;background:linear-gradient(135deg,#252525ee,#161616f5);box-shadow:0 20px 60px #00000055,inset 0 1px #dedede12;transition:transform .24s ease,border-color .24s ease,box-shadow .24s ease}
body[data-library-theme=full] :is(.hub-feature,.hub-app-card):is(:hover,:focus-within){transform:translateY(-3px);border-color:#a8a8a880;box-shadow:0 22px 60px #00000066,0 0 0 1px #a3a3a31a}
body[data-library-theme=full] .hub-feature-art::after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,transparent 70%,#1d1d1d33)}
body[data-library-theme=full] .hub-filter[aria-pressed=true]{background:linear-gradient(145deg,#464646,#2b2b2b);border-color:#9d9d9d6b;box-shadow:inset 0 1px #cbcbcb2b}
body[data-library-theme=full] .hub-dust i{width:2px;height:2px;box-shadow:0 0 7px #959595}
body[data-library-theme=cyber]{--hub-ink:#e8e8ea;--hub-muted:#bfc0c6;--hub-line:color-mix(in srgb,var(--games-cyber-accent) 42%,#666);--hub-bright:#fff}
body[data-library-theme=cyber] .hub-world{background:radial-gradient(ellipse at 75% 15%,color-mix(in srgb,var(--games-cyber-accent) 13%,transparent),transparent 65%),var(--games-cyber-panel,#080808)}
body[data-library-theme=cyber] .hub-world-scenery::before{background:repeating-linear-gradient(118deg,transparent 0 90px,color-mix(in srgb,var(--games-cyber-accent) 60%,transparent) 91px,transparent 92px 160px);opacity:var(--games-cyber-art-opacity,.13);filter:none}
body[data-library-theme=cyber] .hub-world-scenery::after,body[data-library-theme=cyber] .hub-dust{display:none}
body[data-library-theme=cyber][data-games-cyber-art=off] .hub-world-scenery::before{display:none}
body[data-library-theme=cyber] :is(.hub-feature,.hub-app-card,.sanctuary-card){background:var(--games-cyber-panel,#080808);border-color:color-mix(in srgb,var(--games-cyber-accent) 50%,#555);box-shadow:0 16px 42px #0007,inset 0 1px color-mix(in srgb,var(--games-cyber-accent) 25%,transparent)}
body[data-library-theme=cyber]:not([data-games-cyber-multicolor=true]) :is(.hub-feature-art>img,.hub-app-art>img){filter:grayscale(.85)}
body[data-library-theme=cyber] :is(.hub-play,.hub-filter[aria-pressed=true]){border-color:var(--games-cyber-accent);background:var(--games-cyber-panel);color:#fff;box-shadow:inset 0 -2px var(--games-cyber-accent)}
body[data-library-theme=cyber] .hub-scene-light{display:block;inset:0;width:100%;height:100%;background:repeating-linear-gradient(104deg,transparent 0 126px,color-mix(in srgb,var(--games-cyber-accent) 13%,transparent) 127px,transparent 128px 220px);animation:games-cyber-drift 32s linear infinite;animation-play-state:paused;opacity:.4}
body[data-library-theme=cyber][data-games-cyber-rain=false] .hub-scene-light{display:none}
@keyframes games-cyber-drift{to{transform:translateY(80px)}}
body[data-reading-sprites=off] :is(.hub-dust,.hub-scene-atmosphere){display:none!important}
body[data-reading-contrast=high] :is(.hub-intro,.hub-toolbar,.hub-feature-copy,.hub-card-body,.sanctuary-card-copy){color:#fff!important;background:#080808!important}
body[data-reading-contrast=high] :is(p,h1,h2,h3,button,a){text-shadow:none}
body[data-reading-spacing=relaxed] .hub-shell p{line-height:1.9}
body[data-reading-size=large] .hub-shell p{font-size:1.05rem}body[data-reading-size=larger] .hub-shell p{font-size:1.15rem}body[data-reading-size=extra-large] .hub-shell p{font-size:1.3rem}
#ar-companion-menu .ar-companion-section{margin:12px 10px 7px;color:#bfb19a;font:700 10px/1.4 Arial,sans-serif;letter-spacing:.15em;text-transform:uppercase}
#ar-companion-menu .ar-companion-section-pets{border-top:1px solid #b9a68038;padding-top:14px}
#ar-companion-dismiss-all{display:block;width:calc(100% - 16px);margin:12px 8px 4px;padding:11px;border:1px solid #b9a68055;border-radius:8px;background:transparent;color:inherit;font:600 12px Arial,sans-serif;cursor:pointer}
#ar-companion-dismiss-all:focus-visible{outline:2px solid #e5d6b8;outline-offset:2px}
@media(max-width:620px){#library-main>.hub-toolbar{padding:15px 0!important;gap:12px}#library-main>.sanctuary-card{margin-bottom:24px!important}.hub-dust i:nth-child(n+7){display:none}body[data-library-theme=full] :is(.hub-feature,.hub-app-card){box-shadow:0 12px 28px #0005}}
@media(prefers-reduced-motion:reduce),(forced-colors:active){body[data-library-theme] :is(.hub-feature,.hub-app-card){transition:none;transform:none!important}.hub-scene-light{animation:none!important}.hub-dust{display:none!important}}
@media(forced-colors:active){body[data-library-theme] .hub-world{background:Canvas}.hub-world-scenery{display:none}#ar-companion-dismiss-all{border:1px solid ButtonText;color:ButtonText}}

#hub-call-sheep canvas{display:block;width:40px;height:40px}
body[data-library-theme=cyber] .hub-scene-atmosphere[data-moving=true] .hub-scene-light{animation-play-state:running}
@media(prefers-reduced-transparency:reduce),(prefers-contrast:more){body[data-library-theme=full] .hub-world{background:#10100e}.hub-dust,.hub-scene-atmosphere{display:none!important}}
