/* Ancient bronze: layered, polished surfaces and light; no grain or Cyber motifs. */
body[data-library-theme=full] .hub-world{background:radial-gradient(ellipse 65% 38% at 72% 7%,#53535336,transparent 74%),radial-gradient(ellipse 75% 55% at 5% 55%,#3b3b3b2b,transparent 85%),linear-gradient(150deg,#171717,#0c0c0c 58%,#171717)}
body[data-library-theme=full] :is(.hub-feature,.hub-app-card,.sanctuary-card,.hub-library-note){border:1px solid #9d9d9d60;background:linear-gradient(135deg,#dfdfdf14 0%,#cacaca06 18%,transparent 38%),linear-gradient(165deg,#373737e8,#1d1d1df5 62%,#262626f5);box-shadow:0 2px 1px #060606,0 13px 24px #00000055,0 34px 64px #00000044,inset 0 1px #efefef38,inset 0 -1px #00000099,inset 1px 0 #c2c2c212;isolation:isolate}
body[data-library-theme=full] :is(.hub-feature-copy,.hub-card-body,.sanctuary-card-copy){background:linear-gradient(118deg,#dedede09,transparent 42%),linear-gradient(155deg,#333333,#202020f5);color:#e4e4e4}
body[data-library-theme=full] :is(.hub-feature,.hub-app-card,.sanctuary-card)::before{content:'';position:absolute;inset:0;pointer-events:none;border-radius:inherit;z-index:2;background:linear-gradient(112deg,transparent 7%,#ededed09 20%,transparent 39%);box-shadow:inset 0 1px #f1f1f122,inset 1px 0 #d8d8d80a}
body[data-library-theme=full] :is(.hub-feature,.hub-app-card):is(:hover,:focus-within){box-shadow:0 3px 3px #00000088,0 19px 30px #00000077,0 42px 80px #00000055,inset 0 1px #e9e9e94f;border-color:#a7a7a79c}
body[data-library-theme=full] :is(.hub-play,.hub-mode-control,.hub-filter,.hub-cameo-controls button,.hub-explorer-link){background:linear-gradient(160deg,#666666,#3f3f3f 44%,#2e2e2e);color:#f2f2f2;border:1px solid #9d9d9d80;box-shadow:inset 0 1px #e3e3e34a,inset 0 -2px #0b0b0b70,0 3px 7px #00000055}
body[data-library-theme=full] :is(.hub-play,.hub-filter,.hub-mode-control):is(:hover,:focus-visible){background:linear-gradient(150deg,#7a7a7a,#4b4b4b 54%,#353535);border-color:#c9c9c9}
body[data-library-theme=full] #hub-theme-menu,body[data-library-theme=full] #ar-companion-menu{background:linear-gradient(140deg,#313131,#1d1d1d);border-color:#909090;box-shadow:0 18px 50px #000000bb,inset 0 1px #e7e7e732}
body[data-library-theme=full] .hub-scene-light{position:fixed;top:8vh;left:4vw;width:min(850px,86vw);height:540px;opacity:.75;background:radial-gradient(ellipse,#cacaca28,transparent 70%);animation:games-lamplight-r33 17s ease-in-out infinite alternate;animation-play-state:paused}
@keyframes games-lamplight-r33{to{transform:translate(35px,15px) scale(1.06);opacity:.42}}
/* Twelve existing motes, now above the backdrop and beneath content. Never a GPU canvas. */
body[data-library-theme=full] .hub-dust{display:block;z-index:2}
body[data-library-theme=full] .hub-dust i{width:3px;height:3px;background:#d0d0d0;box-shadow:0 0 5px #b2b2b299;animation-name:games-dust-r33}
body[data-library-theme=full] .hub-dust i:nth-child(3n){width:2px;height:2px;box-shadow:none}
@keyframes games-dust-r33{0%{opacity:0;transform:translate(-14px,0)}10%,78%{opacity:0.61}100%{transform:translate(46px,-118vh);opacity:0}}
/* Cyber uses Explorer's actual illustrated field and real code-rain markup. */
body[data-library-theme=cyber] .hub-world{background:radial-gradient(ellipse at 70% 8%,var(--cyber-faint),transparent 65%),#020304}
body[data-library-theme=cyber] .hub-world-scenery::before,body[data-library-theme=cyber] .hub-world-scenery::after,body[data-library-theme=cyber] .hub-scene-light{display:none!important}
body[data-library-theme=cyber] #ar-cyber-art-field{z-index:0;--ar-explorer-frame-max:1160px;--ar-art-spread:clamp(112px,calc((100vw - 1160px)/2 - 36px),600px)}
body[data-library-theme=cyber] #ar-cyber-rain{z-index:0;mix-blend-mode:normal}
#ar-cyber-art-field[data-active=false]{display:none!important}
#ar-cyber-art-field[data-motion-paused=true] .cy-lang-content{animation-play-state:paused!important}
#games-cyber-language-field{position:fixed;inset:0;z-index:0;pointer-events:none;overflow:hidden;color:var(--cyber-bright)}
#games-cyber-language-field[hidden]{display:none}
#games-cyber-language-field>span{position:absolute;top:var(--word-y);left:var(--word-side);right:var(--word-right);font:24px/1.4 Georgia,serif;opacity:.14}
body[data-library-theme=cyber][data-games-cyber-multicolor=true] #ar-cyber-art-field .cy-art-image{filter:none!important}
/* One complete component language for Cyber and the liked Agandar underwater theme.
   No Agandar backdrop/atmosphere declarations: approved exterior remains untouched. */
body:is([data-library-theme=cyber],[data-library-theme=window][data-window-theme=agandar]){--hub-ink:#e9eaed;--hub-muted:#bfc1c8;--hub-bright:var(--cyber-bright);--hub-line:var(--cyber-line);--games-ui-panel:var(--games-cyber-panel,#080808)}
body[data-library-theme=window][data-window-theme=agandar]{--games-ui-panel:#09090deF}
body:is([data-library-theme=cyber],[data-library-theme=window][data-window-theme=agandar]) :is(.hub-intro,.hub-feature,.hub-app-card,.sanctuary-card,.hub-library-note,.hub-preference-notice,.hub-toolbar,.hub-section-heading,.hub-footer){
 background:linear-gradient(90deg,var(--cyber-bright),transparent 72%) top left/92px 1px no-repeat,linear-gradient(180deg,var(--cyber-accent),transparent 76%) top left/1px 58px no-repeat,linear-gradient(270deg,var(--cyber-accent),transparent 72%) bottom right/76px 1px no-repeat,linear-gradient(0deg,var(--cyber-accent),transparent 76%) bottom right/1px 50px no-repeat,linear-gradient(135deg,var(--cyber-faint),transparent 34%),var(--games-ui-panel)!important;
 border:1px solid var(--cyber-line)!important;border-radius:3px 15px 3px 3px;box-shadow:0 0 0 1px #000,0 14px 36px #0009,inset 0 0 24px #0005,inset 0 0 0 1px var(--cyber-faint);color:var(--hub-ink)}
body:is([data-library-theme=cyber],[data-library-theme=window][data-window-theme=agandar]) .hub-intro{padding:24px}
body:is([data-library-theme=cyber],[data-library-theme=window][data-window-theme=agandar]) .hub-toolbar{padding:18px!important}
body:is([data-library-theme=cyber],[data-library-theme=window][data-window-theme=agandar]) :is(.hub-feature-copy,.hub-card-body,.sanctuary-card-copy){background:linear-gradient(145deg,var(--cyber-faint),transparent 48%),var(--games-ui-panel)!important;color:var(--hub-ink)!important}
body:is([data-library-theme=cyber],[data-library-theme=window][data-window-theme=agandar]) :is(.hub-kicker,.hub-card-eyebrow,.hub-subtitle,.hub-section-heading h2,.hub-intro h1,.hub-feature h3,.hub-app-card h3){color:var(--cyber-bright);text-shadow:none}
body:is([data-library-theme=cyber],[data-library-theme=window][data-window-theme=agandar]) :is(.hub-kicker,.hub-card-eyebrow,.hub-section-heading h2,.hub-filter,.hub-play,.hub-mode-control){font-family:ui-monospace,SFMono-Regular,Consolas,monospace}
body:is([data-library-theme=cyber],[data-library-theme=window][data-window-theme=agandar]) :is(.hub-play,.hub-filter,.hub-mode-control,.hub-cameo-controls button,.hub-explorer-link,#games-window-time,#hub-theme-menu button,#ar-companion-menu button){background:linear-gradient(135deg,var(--cyber-faint),transparent 70%),var(--games-ui-panel)!important;border:1px solid var(--cyber-line)!important;border-radius:2px 9px 2px 2px;color:#f1f2f5!important;box-shadow:inset 2px 0 var(--cyber-accent),inset 0 1px #ffffff12,0 3px 8px #0005;text-shadow:none}
body:is([data-library-theme=cyber],[data-library-theme=window][data-window-theme=agandar]) :is(button,a):focus-visible{outline:2px solid var(--cyber-bright);outline-offset:3px}
body:is([data-library-theme=cyber],[data-library-theme=window][data-window-theme=agandar]) :is(.hub-play,.hub-filter,.hub-mode-control,.hub-cameo-controls button,#hub-theme-menu button,#ar-companion-menu button):is(:hover,[aria-pressed=true],[aria-checked=true]){border-color:var(--cyber-bright)!important;box-shadow:inset 3px 0 var(--cyber-bright),0 0 12px var(--cyber-faint);background:linear-gradient(130deg,var(--cyber-faint),#151519)!important}
body:is([data-library-theme=cyber],[data-library-theme=window][data-window-theme=agandar]) :is(#hub-theme-menu,#ar-companion-menu){background:var(--games-ui-panel)!important;border:1px solid var(--cyber-line)!important;border-radius:3px 13px 3px 3px;box-shadow:0 18px 55px #000c,inset 0 1px var(--cyber-bright);color:#ececf1}
body:is([data-library-theme=cyber],[data-library-theme=window][data-window-theme=agandar]) :is(.hub-theme-menu-title,.ar-companion-menu-title,.ar-companion-section){color:var(--cyber-bright)!important}
body[data-library-theme=cyber][data-games-cyber-multicolor=true] :is(.hub-feature-art>img,.hub-app-art>img){filter:none!important}
body[data-library-theme=cyber][data-games-cyber-multicolor=true] .hub-app-card:has([data-app-open=scripture-quest]){--cyber-bright:#eac573}
body[data-library-theme=cyber][data-games-cyber-multicolor=true] .hub-app-card:has([data-app-open=gifts-of-grace]){--cyber-bright:#d2b78e}
body[data-library-theme=cyber][data-games-cyber-multicolor=true] .hub-app-card:has([data-app-open=a-small-voice]){--cyber-bright:#b9c790}
body[data-library-theme=cyber][data-games-cyber-multicolor=true] .hub-feature{--cyber-bright:#b9d58f}
/* Lifecycle and accessibility win over theme paint. No motion while hidden/blocked. */
body[data-games-fx-moving=false] :is(.hub-dust i,.hub-scene-light){animation-play-state:paused!important}
body[data-games-fx-active=false] :is(.hub-dust,.hub-scene-atmosphere){display:none!important}
body[data-games-fx-low=true] .hub-dust{display:none!important}
@font-face{font-family:GamesOrbitron;src:url('/assets/c7479c6fcecccf10101967fe.woff2') format('woff2');font-weight:400 900;font-display:swap}
@font-face{font-family:GamesCinzel;src:url('/assets/792204f7864482bda61ad4f0.woff') format('woff');font-display:swap}
@font-face{font-family:GamesLancelot;src:url('/assets/119fc2078219f58b3a84d0dd.woff') format('woff');font-display:swap}
body[data-reading-font=agandar] .hub-shell p{font-family:GamesOrbitron,Arial,sans-serif!important}
body[data-reading-font=solomon] .hub-shell p{font-family:GamesCinzel,Georgia,serif!important}
body[data-reading-font=auriela] .hub-shell p{font-family:GamesLancelot,Georgia,serif!important}
body[data-reading-size=large] .hub-shell p{font-size:1.2rem}
body[data-reading-size=larger] .hub-shell p{font-size:1.4rem}
body[data-reading-size=extra-large] .hub-shell p{font-size:2.4rem}
body[data-reading-spacing=relaxed] .hub-shell p{line-height:1.9}
body[data-reading-contrast=high] :is(.hub-intro,.hub-toolbar,.hub-feature-copy,.hub-card-body,.sanctuary-card-copy,.hub-library-note,#hub-theme-menu,#ar-companion-menu){background:#080808!important;color:#fff!important;box-shadow:none!important;border-color:#fff!important}
body[data-reading-contrast=high] :is(.hub-intro,.hub-toolbar,.hub-feature-copy,.hub-card-body,.sanctuary-card-copy,.hub-library-note,#hub-theme-menu,#ar-companion-menu) :is(p,h1,h2,h3,strong,small,button,a){color:#fff!important;text-shadow:none!important}
@media(max-width:700px){#ar-cyber-rain .cy-verse-code,#games-cyber-language-field{display:none!important}#ar-cyber-rain .cy-rain-col:nth-child(3n){display:none}.hub-dust i:nth-child(n+7){display:none}body[data-library-theme=cyber] #ar-cyber-art-field .cy-lang-mark:nth-child(n+7){display:none}}
@media(prefers-reduced-motion:reduce){#ar-cyber-rain,.hub-dust{display:none!important}#ar-cyber-art-field .cy-lang-content,.hub-scene-light{animation:none!important;transform:none!important}}
@media(prefers-reduced-transparency:reduce),(prefers-contrast:more){.hub-dust,.hub-scene-atmosphere,#ar-cyber-art-field,#ar-cyber-rain,#games-cyber-language-field{display:none!important}}
@media(forced-colors:active){.hub-world-scenery{display:none!important}body[data-library-theme] :is(.hub-intro,.hub-toolbar,.hub-feature,.hub-app-card,.sanctuary-card,.hub-card-body,.hub-feature-copy,.sanctuary-card-copy,.hub-library-note,.hub-filter,.hub-play,.hub-mode-control,.hub-cameo-controls button,#hub-theme-menu,#ar-companion-menu,#hub-theme-menu button,#ar-companion-menu button){background:Canvas!important;color:CanvasText!important;border-color:CanvasText!important;box-shadow:none!important}body[data-library-theme] :is(button,a):focus-visible{outline-color:Highlight!important}}
body[data-reading-contrast=high] :is(.hub-play,.hub-filter,.hub-mode-control,.hub-cameo-controls button,.hub-explorer-link,#hub-theme-menu button,#ar-companion-menu button){background:#080808!important;color:#fff!important;border-color:#fff!important;box-shadow:none!important}
