/* Short text over the glass field, in Geist Mono (variable, 100-900). The
   glass title is Space Grotesk Bold (wordmark.svg). */
@font-face { font-family: "Geist Mono"; src: url(fonts/GeistMono.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }

* { box-sizing: border-box; }
html { background: #0a0b0d; color-scheme: dark; overflow-x: clip; }
body {
  margin: 0;
  min-height: 100svh;
  color: #eceff1;
  font: 400 14px/1.75 "Geist Mono", ui-monospace, monospace;
  -webkit-font-smoothing: antialiased;
}

#glass {
  position: fixed; inset: 0;
  width: 100vw; height: 100vh;
  z-index: -1;
  opacity: 0;
  transition: opacity 1.6s ease;
}
.glass-ready #glass { opacity: 0.7; }

/* The logo scrolls up with the page, then STOPS near the top of the screen
   (sticky) and the feed scrolls under it — no underlay: the logo stays
   transparent glass and the feed is seen through it (owner, 2026-11-06). main is sticky with a negative top
   equal to its own top padding minus the gap we want above the logo. It lets
   clicks through (pointer-events) so the feed under it stays usable. */
main {
  --logo-gap: 1.4rem;
  position: sticky; top: calc(var(--logo-gap) - 5rem); z-index: 1;
  width: 100%;
  max-width: 34rem;
  margin: 0 auto;
  padding: 5rem 1.5rem 2.4rem;
  text-shadow: 0 0 10px #0a0b0d, 0 0 3px #0a0b0d;
  pointer-events: none;
}
/* Narrow screens: the word fills the width, so it stops BELOW "about +". */
@media (max-width: 700px) { main { --logo-gap: 3.2rem; } }

/* The title is a 3D glass word (wordmark.js). The text stays in the h1 for
   screen readers, and shows as plain text if WebGL is not available. */
h1 { position: relative; margin: 0 0 1.6rem; font-size: 2.6rem; line-height: 1; aspect-ratio: 4.2; }
/* The canvas is larger than the h1 box on every side (130% x 180%, matched by
   BLEED_X / BLEED_Y in wordmark.js) so the moving word never touches its edge. */
#word {
  position: absolute; left: -15%; top: -40%; width: 130%; height: 180%;
  pointer-events: none; visibility: hidden;
}
.glass-on #word { visibility: visible; }
h1 .txt { position: absolute; left: 0; top: 50%; transform: translateY(-50%); }
.glass-on .txt { clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; white-space: nowrap; }

p { margin: 0 0 1.2em; max-width: 30rem; }

a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 2px; }
a.main { font-weight: 700; }



a.more { color: #7e868f; text-decoration-style: dotted; white-space: nowrap; }
a.more:hover { color: #eceff1; }

/* ── "about +": top right corner; opens a frosted glass panel under it ──── */
#about { position: fixed; top: 1.3rem; right: 1.5rem; z-index: 2; text-align: right; }
#about summary {
  display: inline-block; list-style: none; cursor: pointer; user-select: none;
  color: #7e868f; text-decoration: underline dotted 1px; text-underline-offset: 4px;
  text-shadow: 0 0 10px #0a0b0d, 0 0 3px #0a0b0d;
}
#about summary::-webkit-details-marker { display: none; }
#about summary::after { content: " +"; }
#about[open] summary::after { content: " \2212"; }
#about summary:hover, #about[open] summary { color: #eceff1; }
#about .panel {
  margin-top: 0.7rem; width: min(26rem, calc(100vw - 3rem)); padding: 1.1rem 1.3rem 0.2rem;
  text-align: left; transform-origin: top right;
  border: 1px solid rgba(236, 239, 241, 0.14); border-radius: 14px;
  background: rgba(17, 19, 22, 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}
#about[open] .panel { animation: drop 0.22s ease-out; }
@keyframes drop { from { opacity: 0; transform: translateY(-6px) scale(0.97); } }

/* ── Embed feed: just players, one small description line under each ────── */
#feed { max-width: 34rem; margin: 0 auto; padding: 0 1.5rem 6rem; text-shadow: 0 0 10px #0a0b0d, 0 0 3px #0a0b0d; }
#feed .item { margin: 0 0 2.4rem; }
#feed iframe, #feed .yt { display: block; width: 100%; border: 0; border-radius: 10px; background: rgba(17, 19, 22, 0.6); }
#feed .sc { height: 120px; }
#feed .sc-set { height: 300px; }
#feed iframe:not(.sc) { aspect-ratio: 16 / 9; height: auto; }
#feed .yt { position: relative; aspect-ratio: 16 / 9; padding: 0; cursor: pointer; background-size: cover; background-position: center; }
#feed .yt .play { position: absolute; inset: 0; margin: auto; width: 3.2rem; height: 3.2rem; border-radius: 50%; background: rgba(10, 11, 13, 0.62); border: 1px solid rgba(236, 239, 241, 0.5); }
#feed .yt .play::after { content: ""; position: absolute; left: 1.3rem; top: 0.95rem; border-left: 0.9rem solid #eceff1; border-top: 0.65rem solid transparent; border-bottom: 0.65rem solid transparent; }
#feed .yt:hover .play { background: rgba(10, 11, 13, 0.85); }
#feed .desc { display: flex; align-items: baseline; gap: 0.7rem; margin: 0.55rem 0.2rem 0; max-width: none; font-size: 12px; line-height: 1.5; color: #7e868f; }
#feed .dt { flex: 0 1 auto; min-width: 0; }
#feed .dt.clip { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#feed .more { border: 0; background: none; padding: 0; font: inherit; color: #7e868f; cursor: pointer; }
#feed .more:hover { color: #eceff1; }
#feed .dd { margin-left: auto; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ── All-releases popup: a frosted glass sheet over the field ───────────── */
dialog#releases {
  width: min(40rem, calc(100vw - 2rem)); max-height: min(80vh, 46rem);
  padding: 0; border: 1px solid rgba(236, 239, 241, 0.14); border-radius: 14px;
  background: rgba(17, 19, 22, 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  color: inherit; font: inherit;
}
dialog#releases::backdrop { background: rgba(10, 11, 13, 0.4); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
dialog#releases[open] { animation: rise 0.22s ease-out; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
.sheet { padding: 1.4rem 1.6rem 1.6rem; }
.sheet-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 1rem; }
.sheet h2 { margin: 0; font-size: 0.8rem; font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase; color: #7e868f; }
.close { border: 0; background: none; font-family: inherit; font-size: 1.6rem; font-weight: 300; line-height: 1; color: #7e868f; cursor: pointer; padding: 0 0.2rem; }
.close:hover { color: #eceff1; }
#releases ol { list-style: none; margin: 0; padding: 0; }
#releases li {
  display: grid; grid-template-columns: 3.5rem 1fr auto; gap: 0.2rem 1rem; align-items: baseline;
  padding: 0.7rem 0; border-top: 1px solid rgba(236, 239, 241, 0.1);
}
#releases li .y { color: #7e868f; }
#releases li b { font-weight: 600; }
#releases li i { font-style: normal; color: #7e868f; margin-left: 0.6em; }
#releases li .l { display: flex; flex-wrap: wrap; gap: 0 0.8em; justify-content: flex-end; }
#releases .all { margin: 0; padding-top: 0.9rem; border-top: 1px solid rgba(236, 239, 241, 0.1); color: #7e868f; max-width: none; }
#releases .all a:hover { color: #eceff1; }

@media (max-width: 480px) {
  #releases li { grid-template-columns: 3rem 1fr; }
  #releases li .l { grid-column: 2; justify-content: flex-start; }
  #releases li i { display: block; margin-left: 0; }

  body { font-size: 14px; }
}
