/* Real Milky Way photograph: ESO/S. Brunier, CC BY 4.0. See assets/sky/CREDITS.md. */
html { background:#060a14; }
html body { position:relative; isolation:isolate; min-height:100vh; background:#080c16; }
html body::before, html[data-theme="dark"] body::before {
  content:''; position:fixed; inset:0; z-index:-1; pointer-events:none;
  background-image:linear-gradient(110deg,rgba(4,9,20,.67),rgba(6,10,24,.43) 48%,rgba(4,9,20,.64)),url('assets/sky/milky-way-1920.webp');
  background-position:center,center; background-size:cover; background-repeat:no-repeat;
  opacity:1; filter:none;
}
html body::after, html[data-theme="dark"] body::after { content:none; }
html body .ambient { display:none; }
.topbar { background:rgba(9,16,27,.91); }
.library { background:linear-gradient(90deg,rgba(8,15,25,.18),rgba(8,15,25,.06)); border-right-color:rgba(150,170,195,.09); }
.intro { background:radial-gradient(ellipse at 85% 45%,rgba(29,52,60,.25),transparent 60%); }
.directory-intro, .hero, .flashcard-heading { text-shadow:0 2px 20px rgba(0,0,0,.6); }
.sky-credit { font:10px/1.7 'DM Sans',sans-serif; color:#b8c7d5; margin:20px 0 0; letter-spacing:0; }
.sky-credit a { color:inherit; text-decoration:underline; text-underline-offset:3px; }
html[data-theme="light"] body { background:#f7f5ef; }
html[data-theme="light"] body::before {
  background-image:linear-gradient(rgba(247,245,239,.91),rgba(247,245,239,.88)),url('assets/sky/milky-way-1920.webp');
}
html[data-theme="light"] .sky-credit { color:#586575; }
html[data-theme="light"] .hero, html[data-theme="light"] .flashcard-heading { text-shadow:none; }
@media(min-width:2000px) {
  html body::before,html[data-theme="dark"] body::before {
    background-image:linear-gradient(110deg,rgba(4,9,20,.67),rgba(6,10,24,.43) 48%,rgba(4,9,20,.64)),url('assets/sky/milky-way-3840.webp');
  }
}
@media(max-width:600px) {
  html body::before,html[data-theme="dark"] body::before {
    background-image:linear-gradient(rgba(4,9,20,.59),rgba(6,10,24,.58)),url('assets/sky/milky-way-960.webp');
    background-position:center,57% center;
  }
  .sky-credit { font-size:9px; }
}
