/* Gxth G!rls design language (tokens from gxthgirls.tech). */
@font-face { font-family: "Inter"; src: url("/fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/fonts/jetbrains-mono.woff2") format("woff2"); font-weight: 100 800; font-display: swap; }
:root {
  --bg: #080b12; --bg-2: #0b1020; --surface: rgba(255, 255, 255, 0.04); --surface-2: rgba(255, 255, 255, 0.07);
  --line: rgba(255, 255, 255, 0.09); --line-strong: rgba(255, 255, 255, 0.16);
  --text: #eef2ff; --muted: #98a3c0; --blue: #008cff; --blue-2: #4db5ff; --blue-rgb: 0, 140, 255;
  --grad-text: linear-gradient(100deg, #cfeaff 0%, #4db5ff 40%, #008cff 100%);
  --sans: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --radius-sm: 12px; --gutter: 16px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100svh; display: flex; flex-direction: column; color: var(--text); background: var(--bg);
  font: 400 1.0625rem/1.6 var(--sans); font-feature-settings: "cv11", "ss01", "ss03";
  -webkit-font-smoothing: antialiased;
}
::selection { background: rgba(var(--blue-rgb), 0.45); color: #fff; }
a { color: inherit; }
/* Ambient background and floating bar, as on gxthgirls.tech. No drifting orbs: the panels are the show. */
.aurora { position: fixed; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(120% 80% at 50% -10%, #0d1a36 0%, var(--bg) 60%); }
.aurora::before { content: ""; position: absolute; inset: 0; opacity: 0.35;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask: radial-gradient(70% 50% at 50% 0%, #000 0%, transparent 100%); mask: radial-gradient(70% 50% at 50% 0%, #000 0%, transparent 100%); }
main { flex: 1; width: 100%; max-width: 64rem; margin: 0 auto; }
.nav { position: sticky; top: 0; z-index: 50; padding: 12px clamp(16px, 4vw, 48px); } /* same bar as every house site */
.nav-inner {
  max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 12px; height: 60px; padding: 0 8px 0 16px;
  border-radius: 999px; border: 1px solid var(--line); background: rgba(8, 11, 18, 0.6);
  backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 10px 40px -20px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; min-height: 44px; font-weight: 740; font-size: 1.05rem; letter-spacing: 0.04em; text-decoration: none; white-space: nowrap; }
.brand span { overflow: hidden; text-overflow: ellipsis; }
.next { display: grid; gap: 1px; margin: 0 0 0 auto; padding-right: 4px; text-align: right; line-height: 1.15; flex: none; }
.next-label { font: 600 0.6875rem var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.next-time { font: 700 0.95rem var(--mono); font-variant-numeric: tabular-nums; color: #9ed8ff; white-space: nowrap; }
.home-pill { margin-left: auto; }
.next + .home-pill { margin-left: 4px; }
/* Phones: the logo carries the brand so the countdown and Home fit. */
@media (max-width: 520px) {
  .brand span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
}
.brand img { flex: none; border-radius: 8px; }
.foot { padding: 24px var(--gutter) 28px; border-top: 1px solid var(--line); background: rgba(4, 6, 11, 0.6); }
.foot p { max-width: 64rem; margin: 0 auto; color: var(--muted); font-size: 0.84rem; }
h1 { font-size: clamp(1.75rem, 5vw, 2.6rem); font-weight: 780; letter-spacing: -0.03em; line-height: 1.1; margin: 1.25rem var(--gutter) 1.5rem; text-wrap: balance; }
h1 span, .archive span { font: 600 0.5em var(--mono); letter-spacing: 0.08em; color: var(--blue-2); margin-right: 0.5em; vertical-align: 0.3em; }
.archive span { font-size: 0.8em; vertical-align: 0; }
.panels { display: flex; flex-direction: column; gap: 0.5rem; }
.panels img { display: block; width: 100%; height: auto; background: var(--bg-2); }
@media (min-width: 66rem) {
  .panels { gap: 0.75rem; }
  .panels img { border-radius: var(--radius-sm); border: 1px solid var(--line); }
}
.pager { display: flex; justify-content: center; gap: 0.5rem; padding: 2rem var(--gutter) 3.5rem; }
.pager a {
  display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line-strong); color: var(--text);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.pager a:hover, .pager a:focus-visible { border-color: var(--blue); color: var(--blue-2); background: rgba(var(--blue-rgb), 0.1); }
.pager a[aria-disabled] { opacity: 0.3; pointer-events: none; }
.pager svg { width: 1.375rem; height: 1.375rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.archive { list-style: none; margin: 0; padding: 0 0 3rem; }
.archive a { display: block; padding: 0.9rem var(--gutter); text-decoration: none; border-top: 1px solid var(--line); }
.archive a:hover { background: var(--surface); color: var(--blue-2); }
main > p { margin: 0 var(--gutter); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
@media (prefers-reduced-transparency: reduce) { .nav-inner { background: var(--bg-2); backdrop-filter: none; -webkit-backdrop-filter: none; } }
@media (prefers-contrast: more) { :root { --line: rgba(255, 255, 255, 0.24); --line-strong: rgba(255, 255, 255, 0.4); } .pager a[aria-disabled] { opacity: 0.5; } }

/* Home: back to gxthgirls.tech, same pill on every site */
.home-pill { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 12px; border-radius: 999px; text-decoration: none; white-space: nowrap;
  font: 560 0.95rem var(--sans); color: var(--text); background: var(--surface-2); border: 1px solid var(--line-strong); transition: background-color 0.2s, border-color 0.2s; }
.home-pill:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(0, 140, 255, 0.5); text-decoration: none; }
.home-pill svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
