/* Fuse's website, drawn like the app: the room, the top line, the stage and shelves of tiles. Quiet
   surfaces, crisp edges and one accent; light comes from the art, never from glows. */

@font-face { font-family: "Sora"; src: url("fonts/sora_bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Sora"; src: url("fonts/sora_semibold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Sora"; src: url("fonts/sora_medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("fonts/manrope_regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("fonts/manrope_medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("fonts/manrope_semibold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("fonts/manrope_bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  /* The Fuse theme's tokens (ui/designsystem, ThemePresets.Fuse). */
  --ink: #07080B;
  --surface: #111319;
  --raised: #1A1D25;
  --accent: #FF6A3D;
  --text: #F3F4F6;
  --muted: #A6ACB8;
  --faint: rgba(166, 172, 184, .62);
  --hairline: rgba(243, 244, 246, .09);
  --hairline-strong: rgba(243, 244, 246, .16);
  --dim: #0C0E12;
  --success: #3DD68C;
  --warning: #FFB547;
  --r-s: 8px;
  --r-m: 12px;
  --r-l: 18px;
  --r-xl: 26px;
  --ease: cubic-bezier(.2, 0, 0, 1);
  --enter: cubic-bezier(.05, .7, .1, 1);
  --exit: cubic-bezier(.3, 0, .8, .15);
  --sweep: cubic-bezier(.45, 0, .25, 1);
  --glide: cubic-bezier(.22, 1, .36, 1);
  --trail: cubic-bezier(.33, .9, .4, 1);
  --spring: cubic-bezier(.34, 1.36, .5, 1);
  --rise: 10px;
  --stagger: 25ms;
  --gutter: clamp(16px, 4.2vw, 64px);
  --tile: clamp(136px, 15vw, 196px);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--ink);
  color: var(--text);
  font: 400 16px/1.5 "Manrope", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
img { display: block; }
i { font-style: normal; color: var(--faint); margin: 0 .5em; }
[hidden] { display: none !important; }

/* The room: a screen of Fuse blurred behind everything, with a faint warm light low and a cool one high. */
.room { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.room-art {
  position: absolute; inset: -8%;
  background: url("screenshots/library.webp") center 30% / cover no-repeat;
  filter: blur(48px) saturate(1.1) brightness(.42);
  transform: scale(1.08);
  opacity: .9;
}
.room-glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 70% at 18% 104%, rgba(255, 106, 61, .14), rgba(255, 106, 61, .04) 45%, transparent 70%),
    radial-gradient(45% 50% at 92% -8%, rgba(61, 123, 255, .07), transparent 70%);
  animation: breathe 14s var(--ease) infinite alternate;
}
.room-vignette {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 8, 11, .55) 0%, rgba(7, 8, 11, .2) 30%, rgba(7, 8, 11, .65) 78%, var(--ink) 100%),
    radial-gradient(120% 90% at 50% 40%, transparent 50%, rgba(7, 8, 11, .7) 100%);
}
@keyframes breathe { from { opacity: .82; } to { opacity: 1; } }

/* The top line, as in the app. */
.hud {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: clamp(12px, 3vw, 40px);
  padding: 18px var(--gutter);
  background: linear-gradient(180deg, rgba(7, 8, 11, .82), rgba(7, 8, 11, .35) 70%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font: 700 22px/1 "Sora", sans-serif; letter-spacing: -.01em; }
.brand img { border-radius: 9px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08); }
.tabs { position: relative; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; flex: 1; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  position: relative; display: flex; align-items: center; gap: 9px;
  padding: 10px 16px; border-radius: 999px;
  text-decoration: none; white-space: nowrap;
  color: rgba(243, 244, 246, .55); font: 600 16px/1 "Manrope", sans-serif;
  transition: color .18s var(--ease), background .18s var(--ease);
}
.tab svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tab:hover, .tab:focus-visible { color: var(--text); background: rgba(243, 244, 246, .1); outline: none; }
.tab:focus-visible { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .8); }
.tab.is-active { color: var(--text); }
/* A short bar under the section you're in, as in the app: one bar that glides from tab to tab,
   its leading edge first and the trailing one catching up. */
.tab-glide {
  position: absolute; bottom: 2px; left: var(--gl, 0px); right: var(--gr, 100%); height: 3px; border-radius: 2px;
  background: var(--accent); opacity: 0; pointer-events: none;
  transition: opacity .2s var(--ease);
}
.tab-glide.is-on { opacity: 1; }
.tab-glide.to-right { transition: right .26s var(--glide), left .38s var(--trail), opacity .2s var(--ease); }
.tab-glide.to-left { transition: left .26s var(--glide), right .38s var(--trail), opacity .2s var(--ease); }
.status { display: flex; align-items: center; gap: 14px; }
.chip {
  padding: 5px 10px; border-radius: 999px; font: 600 13px/1 "Manrope", sans-serif; color: var(--muted);
  background: rgba(243, 244, 246, .07); border: 1px solid var(--hairline);
}
.clock { font: 700 22px/1 "Sora", sans-serif; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }

main { padding: 0 0 120px; }

/* The stage: the selected thing, told big. */
.stage { padding: clamp(48px, 12vh, 140px) var(--gutter) clamp(28px, 6vh, 56px); max-width: 1100px; }
.release-pill {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 clamp(22px, 3.4vh, 34px); padding: 5px 12px 5px 5px;
  border-radius: 999px; border: 1px solid var(--hairline); background: rgba(243, 244, 246, .05);
  font: 600 14px/1 "Manrope", sans-serif; color: var(--muted); text-decoration: none;
  transition: background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}
.release-pill .tag {
  padding: 5px 9px; border-radius: 999px; background: var(--text); color: var(--ink);
  font: 700 12px/1 "Sora", sans-serif; letter-spacing: .01em;
}
.release-pill svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .18s var(--ease); }
.release-pill:hover, .release-pill:focus-visible { color: var(--text); background: rgba(243, 244, 246, .09); border-color: rgba(243, 244, 246, .16); outline: none; }
.release-pill:hover svg, .release-pill:focus-visible svg { transform: translateX(2px); }
.title { margin: 0; line-height: 0; }
.title img { height: clamp(58px, 9.6vw, 118px); width: auto; }
.tagline { margin: clamp(22px, 3vh, 30px) 0 0; max-width: 34ch; font: 500 clamp(19px, 2.2vw, 26px)/1.35 "Manrope", sans-serif; color: rgba(243, 244, 246, .92); }
.meta { margin: 14px 0 0; color: var(--muted); font-size: 16px; }

/* Shelves: a small title, then a row of tiles. */
.shelf { padding: 26px 0 8px; }
.label {
  margin: 0 var(--gutter) 16px;
  font: 600 13px/1 "Sora", sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.lede { margin: -4px var(--gutter) 18px; max-width: 70ch; color: var(--muted); }
.lede a, .also a, .release-line a, .foot a { color: var(--text); text-decoration-color: rgba(243, 244, 246, .3); text-underline-offset: 3px; transition: text-decoration-color .18s var(--ease); }
.lede a:hover, .also a:hover, .release-line a:hover, .foot a:hover { text-decoration-color: currentColor; }
.row {
  display: flex; gap: clamp(14px, 1.6vw, 24px);
  padding: 14px var(--gutter) 34px;
  overflow-x: auto; scroll-snap-type: x proximity; scroll-padding: 0 var(--gutter);
  scrollbar-width: none;
}
.row::-webkit-scrollbar { display: none; }

/* A tile: an object you can pick up. A light top edge and a soft shadow; chosen, it lifts over the
   accent bar, as in the app. */
.tile {
  position: relative; flex: none; display: flex; flex-direction: column;
  border-radius: 22%;
  background: linear-gradient(180deg, #191C23, #0F1116);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), inset 0 0 0 1px rgba(255, 255, 255, .05), 0 8px 24px rgba(0, 0, 0, .35);
  text-decoration: none; color: var(--text);
  scroll-snap-align: start;
  transition: transform .34s var(--spring), box-shadow .34s var(--ease);
  outline: none;
  -webkit-tap-highlight-color: transparent;
}
.tile::before {
  /* The sweep of light when a tile is chosen: one band, once. */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 2;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .13) 50%, transparent 70%) no-repeat;
  background-size: 250% 100%; background-position: 160% 0; opacity: 0;
}
.tile::after {
  /* The focus bar: 28 by 3, a short gap below the tile. */
  content: ""; position: absolute; left: 50%; bottom: -12px; width: 28px; height: 3px; margin-left: -14px; border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0); opacity: 0;
  transition: transform .34s var(--spring), opacity .2s var(--ease);
}
.tile.is-focused, .tile:focus-visible {
  transform: translateY(-5px) scale(1.05);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .22), inset 0 0 0 1px rgba(255, 255, 255, .1),
    0 22px 48px rgba(0, 0, 0, .55), 0 6px 14px rgba(0, 0, 0, .3);
  z-index: 1;
}
.tile.is-focused::after, .tile:focus-visible::after { transform: scaleX(1); opacity: 1; }
.tile.is-focused::before, .tile:focus-visible::before { animation: sweep .52s var(--sweep) 1; }
.tile:active { transform: translateY(-3px) scale(1.03); }
@keyframes sweep { 0% { opacity: 1; background-position: 160% 0; } 100% { opacity: 1; background-position: -60% 0; } }

/* Platforms. */
.platform {
  width: var(--tile); height: var(--tile); padding: 18px 18px 16px;
  align-items: flex-start; justify-content: space-between;
}
.glyph { width: 34%; height: 34%; margin: 2px 0 auto; color: var(--text); }
.glyph svg { width: 100%; height: 100%; display: block; }
.platform .name { margin-top: 10px; font: 700 clamp(18px, 1.8vw, 23px)/1.1 "Sora", sans-serif; letter-spacing: -.01em; }
.platform .detail { margin-top: 5px; font: 500 13px/1.3 "Manrope", sans-serif; color: var(--muted); }
.platform .detail.is-waiting { color: var(--warning); }
.here {
  position: absolute; top: 16px; right: 16px; padding: 5px 9px; border-radius: 999px;
  font: 700 11px/1 "Manrope", sans-serif; letter-spacing: .02em; color: var(--text);
  background: rgba(243, 244, 246, .1); box-shadow: inset 0 0 0 1px rgba(243, 244, 246, .12);
  opacity: 0; transform: translateY(-2px);
}
.platform.is-here .here { opacity: 1; transform: none; }
.also, .release-line { margin: 0 var(--gutter); color: var(--muted); font-size: 15px; }
.release-line { margin-top: 8px; color: var(--faint); }

/* The product, big: Home as it looks on a handheld. */
.showcase {
  margin: clamp(28px, 5vh, 52px) var(--gutter) clamp(20px, 4vh, 40px); max-width: 1280px;
  border-radius: clamp(12px, 1.6vw, 22px); overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 2px 0 rgba(255, 255, 255, .06) inset, 0 40px 100px rgba(0, 0, 0, .6), 0 12px 30px rgba(0, 0, 0, .35);
  background: var(--surface);
}
.showcase img { width: 100%; height: auto; }

/* What's new: wide cards with the release's headlines. */
.highlight {
  width: clamp(250px, 27vw, 340px); min-height: 150px; padding: 22px 22px 20px; border-radius: var(--r-xl);
  justify-content: flex-start; gap: 10px;
}
.highlight b { font: 600 clamp(17px, 1.6vw, 20px)/1.25 "Sora", sans-serif; letter-spacing: -.01em; }
.highlight span {
  color: var(--muted); font-size: 14px; line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

/* Features. */
.feature { width: clamp(200px, 19vw, 248px); padding: 20px; border-radius: var(--r-xl); gap: 8px; }
.feature img { width: 56px; height: 56px; margin-bottom: 6px; border-radius: 14px; }
.feature b { font: 600 18px/1.25 "Sora", sans-serif; letter-spacing: -.01em; }
.feature span { color: var(--muted); font-size: 14px; line-height: 1.45; }

/* Screenshots. */
.screen { width: clamp(280px, 34vw, 480px); aspect-ratio: 16 / 9; border-radius: var(--r-l); overflow: hidden; }
.screen img { width: 100%; height: 100%; object-fit: cover; }
.screen span {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 14px;
  font: 600 16px/1 "Sora", sans-serif;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .72));
}
.screen::after { bottom: -16px; }

/* Themes: every one at once, each card drawn in the theme's own colours, with a switch for the
   dark and the bright ones. */
.lede + .seg { margin-top: 2px; }
.seg {
  position: relative; display: inline-flex; margin: 0 var(--gutter) 6px; padding: 3px;
  border-radius: 12px; background: rgba(12, 14, 18, .72); box-shadow: inset 0 0 0 1px var(--hairline);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.seg-glide {
  position: absolute; top: 3px; bottom: 3px; left: 0; width: var(--gw, 0px); border-radius: 9px;
  background: var(--raised); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 0 0 1px var(--hairline), 0 2px 8px rgba(0, 0, 0, .3);
  transform: translateX(var(--gx, 0px)); pointer-events: none;
}
.seg-glide.is-moving { transition: transform .26s var(--glide), width .26s var(--glide); }
.seg-btn {
  position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 16px;
  border: 0; border-radius: 9px; background: none; cursor: pointer;
  color: var(--muted); font: 600 14px/1 "Manrope", sans-serif; transition: color .15s var(--ease);
}
.seg-btn b { font: 600 12px/1 "Sora", sans-serif; font-variant-numeric: tabular-nums; color: var(--faint); }
.seg-btn[aria-pressed="true"] { color: var(--text); }
.seg-btn[aria-pressed="true"] b { color: var(--accent); }
.seg-btn:hover { color: var(--text); }
.seg-btn:focus-visible { outline: 2px solid var(--text); outline-offset: -2px; }
.label .count { margin-left: .6em; color: var(--faint); letter-spacing: .04em; font-variant-numeric: tabular-nums; }

.grid.themes {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 248px), 1fr)); gap: 36px clamp(16px, 1.8vw, 24px);
  padding: 22px var(--gutter) 34px; max-width: 1680px;
}
.theme { border-radius: var(--r-l); background: none; box-shadow: none; gap: 12px; container-type: inline-size; min-width: 0; }
.theme.is-focused, .theme:focus-visible { box-shadow: none; transform: translateY(-4px) scale(1.03); }
.theme:active { transform: translateY(-2px) scale(1.015); }
.theme::before, .theme::after { display: none; }
.theme[hidden] { display: none; }
.frame { position: relative; }
.frame .spark {
  position: absolute; left: 50%; bottom: -12px; width: 28px; height: 3px; margin-left: -14px; border-radius: 2px;
  background: var(--accent); transform: scaleX(0); opacity: 0;
  transition: transform .34s var(--spring), opacity .2s var(--ease);
}
.theme.is-focused .spark, .theme:focus-visible .spark { transform: scaleX(1); opacity: 1; }
.preview {
  position: relative; aspect-ratio: 16 / 10; border-radius: var(--r-l); overflow: hidden;
  background: var(--t-bg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), inset 0 0 0 1px rgba(255, 255, 255, .06), 0 8px 24px rgba(0, 0, 0, .35);
  transition: box-shadow .34s var(--ease);
}
.preview::after {
  /* The sweep, over the picture. */
  content: ""; position: absolute; inset: 0; z-index: 5; pointer-events: none;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .13) 50%, transparent 70%) no-repeat;
  background-size: 250% 100%; background-position: 160% 0; opacity: 0;
}
.theme.is-focused .preview::after, .theme:focus-visible .preview::after { animation: sweep .52s var(--sweep) 1; }
.theme.is-focused .preview, .theme:focus-visible .preview {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .24), inset 0 0 0 1px rgba(255, 255, 255, .08), 0 22px 48px rgba(0, 0, 0, .55), 0 6px 14px rgba(0, 0, 0, .3);
}
.preview .bg { position: absolute; inset: 0; }
.bg-solid { background: none; }
.bg-hero { background: radial-gradient(70% 80% at 15% 110%, color-mix(in srgb, var(--t-accent) 26%, transparent), transparent 65%), radial-gradient(50% 60% at 95% -10%, color-mix(in srgb, var(--t-second) 18%, transparent), transparent 70%); }
.bg-aurora { background: radial-gradient(45% 60% at 30% 40%, color-mix(in srgb, var(--t-accent) 34%, transparent), transparent 70%), radial-gradient(45% 60% at 70% 30%, color-mix(in srgb, var(--t-second) 30%, transparent), transparent 70%); filter: blur(4px); }
.bg-stars { background: radial-gradient(1px 1px at 12% 22%, #fff, transparent), radial-gradient(1px 1px at 34% 64%, #fff, transparent), radial-gradient(1.5px 1.5px at 58% 18%, #fff, transparent), radial-gradient(1px 1px at 72% 46%, #fff, transparent), radial-gradient(1px 1px at 86% 78%, #fff, transparent), radial-gradient(1px 1px at 22% 84%, #fff, transparent), radial-gradient(1.5px 1.5px at 46% 38%, #fff, transparent), radial-gradient(1px 1px at 92% 14%, #fff, transparent), radial-gradient(60% 60% at 80% 25%, color-mix(in srgb, var(--t-accent) 24%, transparent), transparent 70%), radial-gradient(60% 60% at 15% 85%, color-mix(in srgb, var(--t-second) 18%, transparent), transparent 70%); }
.bg-orbital { background: repeating-radial-gradient(ellipse 48% 20% at 72% 52%, transparent 0 14px, color-mix(in srgb, var(--t-accent) 30%, transparent) 14px 15px), radial-gradient(25% 25% at 72% 52%, color-mix(in srgb, var(--t-accent) 30%, transparent), transparent 70%); }
.bg-grid { background: linear-gradient(transparent 49%, color-mix(in srgb, var(--t-accent) 25%, transparent) 52%, transparent 58%), repeating-linear-gradient(90deg, color-mix(in srgb, var(--t-accent) 22%, transparent) 0 1px, transparent 1px 22px); mask: linear-gradient(transparent 45%, #000 60%); -webkit-mask: linear-gradient(transparent 45%, #000 60%); }
.bg-stripes { background: linear-gradient(180deg, rgba(255, 255, 255, .55), transparent 60%), repeating-linear-gradient(135deg, color-mix(in srgb, var(--t-text) 5%, transparent) 0 1px, transparent 1px 14px); }
.bg-wave svg { position: absolute; left: 0; right: 0; top: 40%; width: 100%; height: 45%; }
.preview .bg svg.scene { position: absolute; inset: 0; width: 100%; height: 100%; }
.preview .bg svg.fade-tl { mask: radial-gradient(95% 110% at 80% 92%, #000 35%, transparent 90%); -webkit-mask: radial-gradient(95% 110% at 80% 92%, #000 35%, transparent 90%); }
.bg-petals { background: radial-gradient(60% 34% at 72% 106%, color-mix(in srgb, var(--t-second) 60%, transparent), transparent 70%), radial-gradient(45% 30% at 10% 110%, color-mix(in srgb, var(--t-accent) 28%, transparent), transparent 70%), linear-gradient(180deg, transparent 40%, color-mix(in srgb, var(--t-accent) 10%, transparent)); }
.bg-horizon { background: linear-gradient(180deg, transparent 12%, color-mix(in srgb, var(--t-accent) 12%, transparent) 46%, color-mix(in srgb, var(--t-accent) 42%, transparent) 64%, transparent 64.2%), linear-gradient(180deg, transparent 64%, color-mix(in srgb, var(--t-accent) 16%, transparent) 66%, transparent 85%); }
.bg-fireflies { background: radial-gradient(75% 40% at 62% 86%, color-mix(in srgb, var(--t-second) 30%, transparent), transparent 72%), radial-gradient(40% 40% at 92% -8%, color-mix(in srgb, var(--t-second) 16%, transparent), transparent 70%); }
.bg-caustics { background: radial-gradient(70% 70% at 86% -12%, color-mix(in srgb, var(--t-second) 30%, transparent), transparent 70%), linear-gradient(112deg, transparent 50%, color-mix(in srgb, var(--t-second) 10%, transparent) 56%, transparent 62%, color-mix(in srgb, var(--t-second) 8%, transparent) 70%, transparent 76%), linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, .3)); }
.bg-lcd { background: linear-gradient(225deg, rgba(255, 255, 255, .2), transparent 45%); }
.bg-mesh { background: radial-gradient(50% 60% at 86% 88%, color-mix(in srgb, var(--t-accent) 45%, #fff), transparent 72%), radial-gradient(45% 55% at 36% 104%, color-mix(in srgb, var(--t-second) 60%, #fff), transparent 72%), radial-gradient(40% 50% at 100% 32%, #ffc4df, transparent 72%), radial-gradient(40% 48% at 62% 60%, #c2deff, transparent 72%), radial-gradient(38% 46% at 10% 86%, #ffdcbc, transparent 72%); }
.bg-contours { background: radial-gradient(40% 40% at 74% 64%, rgba(255, 255, 255, .35), transparent 70%); }
.bg-dunes { background: radial-gradient(14% 22% at 83% 20%, #fff, transparent 70%), radial-gradient(40% 55% at 83% 20%, color-mix(in srgb, var(--t-second) 35%, transparent), transparent 72%), linear-gradient(180deg, color-mix(in srgb, var(--t-bg) 30%, #fff), transparent 60%); }
.preview .hudline { position: absolute; top: 10px; left: 12px; right: 12px; display: flex; gap: 6px; align-items: center; }
.preview .hudline i { display: block; margin: 0; width: 16px; height: 4px; border-radius: 2px; background: var(--t-text); opacity: .35; }
.preview .hudline i:first-child { width: 8px; height: 8px; border-radius: 2px; opacity: .9; margin-right: 4px; }
.preview .hudline i:nth-child(2) { opacity: 1; width: 20px; }
.preview .hudline i:last-child { margin-left: auto; width: 14px; opacity: .6; }
.preview .pname { position: absolute; left: 12px; bottom: 44px; font: 700 15px/1 "Sora", sans-serif; color: var(--t-text); }
.preview .minis { position: absolute; left: 12px; bottom: 12px; display: flex; gap: 6px; align-items: flex-end; }
.preview .minis i { display: block; margin: 0; width: 24px; height: 24px; border-radius: var(--t-corner); background: linear-gradient(135deg, var(--t-raised), var(--t-surface)); }
.preview .minis i:nth-child(2) { width: 28px; height: 28px; background: linear-gradient(135deg, color-mix(in srgb, var(--t-accent) 60%, transparent), var(--t-raised)); position: relative; }
.preview .minis i:nth-child(2)::after { content: ""; position: absolute; left: 30%; right: 30%; bottom: -6px; height: 2px; border-radius: 1px; background: var(--t-accent); }
.theme .meta-line { display: flex; align-items: flex-start; gap: 10px; padding: 4px 2px 0; }
.theme .meta-text { flex: 1; min-width: 0; }
.theme b { display: block; font: 600 16px/1.25 "Sora", sans-serif; letter-spacing: -.005em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.theme small {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  margin-top: 3px; color: var(--muted); font: 500 13px/1.4 "Manrope", sans-serif;
}
.copy {
  flex: none; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px 0 10px; border-radius: 999px;
  border: 1px solid var(--hairline-strong); background: rgba(243, 244, 246, .05); color: var(--text);
  font: 600 13px/1 "Manrope", sans-serif; cursor: pointer; white-space: nowrap;
  transition: background .15s var(--ease), border-color .15s var(--ease), transform .15s var(--spring);
}
.copy svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.copy:hover, .copy:focus-visible { background: rgba(243, 244, 246, .12); border-color: rgba(243, 244, 246, .24); outline: none; }
.copy:active { transform: scale(.95); }
.copy.is-done { color: var(--success); border-color: rgba(61, 214, 140, .35); }
@container (max-width: 230px) {
  .copy { width: 32px; padding: 0; justify-content: center; }
  .copy span { display: none; }
}

/* Updates: every release in a rail beside the chosen one's notes, its sections filtered by a switch. */
.viewer {
  display: grid; grid-template-columns: minmax(230px, 290px) minmax(0, 1fr); gap: clamp(18px, 2.2vw, 32px); align-items: start;
  margin: 8px var(--gutter) 0; max-width: 1440px;
}
.rail {
  position: sticky; top: 92px; flex-direction: column; gap: 4px; margin: 0; padding: 6px;
  max-height: min(74vh, 780px); overflow-x: hidden; overflow-y: auto; scroll-snap-type: none; scrollbar-width: thin;
  border-radius: var(--r-l); background: rgba(12, 14, 18, .66); box-shadow: inset 0 0 0 1px var(--hairline);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.release {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 3px 10px;
  width: 100%; padding: 11px 14px 11px 18px; border: 0; border-radius: var(--r-m);
  background: transparent; box-shadow: none; color: var(--muted); font: inherit; text-align: left; cursor: pointer;
  scroll-snap-align: none; transition: background .16s var(--ease), color .16s var(--ease), box-shadow .16s var(--ease);
}
.release::before { display: none; }
.release::after {
  /* The accent mark on the chosen one, at its left edge. */
  left: 6px; top: 50%; bottom: auto; width: 3px; height: 18px; margin: -9px 0 0; transform: scaleY(0); opacity: 0;
}
.release:hover { background: rgba(243, 244, 246, .05); color: var(--text); }
.release[aria-selected="true"] {
  color: var(--text); background: var(--raised);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), inset 0 0 0 1px var(--hairline);
}
.release[aria-selected="true"]::after { transform: scaleY(1); opacity: 1; }
.release.is-focused, .release:focus-visible { transform: none; z-index: 1; box-shadow: inset 0 0 0 2px rgba(243, 244, 246, .85); }
.release.is-focused::after, .release:focus-visible::after { transform: scaleY(0); opacity: 0; }
.release[aria-selected="true"].is-focused::after, .release[aria-selected="true"]:focus-visible::after { transform: scaleY(1); opacity: 1; }
.release:active { transform: scale(.985); }
.r-ver { font: 700 16px/1.2 "Sora", sans-serif; letter-spacing: -.01em; color: var(--text); font-variant-numeric: tabular-nums; }
.r-date { font: 500 12px/1 "Manrope", sans-serif; color: var(--faint); white-space: nowrap; }
.r-tag {
  padding: 4px 8px; border-radius: 999px; font: 700 11px/1 "Sora", sans-serif; letter-spacing: .02em;
  color: var(--accent); background: rgba(255, 106, 61, .14); box-shadow: inset 0 0 0 1px rgba(255, 106, 61, .28);
}
.r-name { grid-column: 1 / -1; font: 500 14px/1.3 "Manrope", sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.notes {
  min-width: 0; padding: clamp(20px, 2.6vw, 36px);
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, rgba(26, 29, 37, .9), rgba(15, 17, 22, .9));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), inset 0 0 0 1px var(--hairline), 0 24px 60px rgba(0, 0, 0, .4);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.notes-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.notes-title { min-width: 0; }
.notes-eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 10px; color: var(--muted); font: 600 14px/1 "Manrope", sans-serif; }
.ver { padding: 5px 10px; border-radius: 999px; background: var(--text); color: var(--ink); font: 700 12px/1 "Sora", sans-serif; letter-spacing: .01em; }
.notes h3 { margin: 0; font: 700 clamp(24px, 2.6vw, 34px)/1.15 "Sora", sans-serif; letter-spacing: -.015em; }
.notes-link {
  flex: none; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px 0 16px; border-radius: 999px;
  border: 1px solid var(--hairline-strong); background: rgba(243, 244, 246, .05); color: var(--text); text-decoration: none;
  font: 600 14px/1 "Manrope", sans-serif; transition: background .15s var(--ease), border-color .15s var(--ease);
}
.notes-link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.notes-link:hover, .notes-link:focus-visible { background: rgba(243, 244, 246, .12); border-color: rgba(243, 244, 246, .26); outline: none; }
.notes-intro p { max-width: 74ch; margin: 16px 0 0; color: rgba(243, 244, 246, .86); font-size: 16.5px; line-height: 1.6; }
.notes .notes-filter { margin: 24px 0 4px; }
.seg-btn:disabled { opacity: .38; cursor: default; }
.seg-btn:disabled:hover { color: var(--muted); }
.kind { --k: var(--accent); margin-top: 30px; }
.kind-changed { --k: #7AA7FF; }
.kind-fixed { --k: var(--success); }
.kind h4 {
  display: flex; align-items: center; gap: 12px; margin: 0 0 14px;
  font: 600 13px/1 "Sora", sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--text);
}
.kind h4 b { color: var(--faint); letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.k-icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: color-mix(in srgb, var(--k) 15%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--k) 26%, transparent); }
.k-icon svg { width: 16px; height: 16px; fill: none; stroke: var(--k); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.k-lead { max-width: 74ch; margin: 0 0 14px; color: rgba(243, 244, 246, .82); line-height: 1.6; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 12px; }
.note {
  position: relative; padding: 16px 18px 17px 20px; border-radius: var(--r-l);
  background: rgba(243, 244, 246, .035); box-shadow: inset 0 0 0 1px var(--hairline);
}
.note::before { content: ""; position: absolute; left: 0; top: 18px; width: 3px; height: 18px; border-radius: 0 2px 2px 0; background: var(--k); opacity: .9; }
.note b { display: block; margin-bottom: 6px; font: 600 16px/1.3 "Sora", sans-serif; letter-spacing: -.005em; }
.note p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.note ul, .plain ul { margin: 8px 0 0; padding-left: 18px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.note li + li, .plain ul li + li { margin-top: 4px; }
.plain { margin: 6px 0 0; padding: 0; list-style: none; }
.plain > li { position: relative; padding: 11px 0 11px 22px; border-top: 1px solid var(--hairline); color: rgba(243, 244, 246, .84); font-size: 15px; line-height: 1.55; }
.plain > li:first-child { border-top: 0; }
.plain > li::before { content: ""; position: absolute; left: 5px; top: 20px; width: 6px; height: 6px; border-radius: 50%; background: var(--k); opacity: .8; }
.notes strong { color: var(--text); font-weight: 600; }
.notes code { padding: 1px 6px; border-radius: 6px; background: rgba(243, 244, 246, .08); color: var(--text); font: 500 .88em/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; }
.notes a:not(.notes-link) { color: var(--text); text-decoration-color: rgba(243, 244, 246, .35); text-underline-offset: 3px; }
.notes a:not(.notes-link):hover { text-decoration-color: currentColor; }

@media (max-width: 960px) {
  .viewer { grid-template-columns: minmax(0, 1fr); }
  /* The rail becomes a strip of versions to swipe along, above the notes. */
  .rail {
    position: static; flex-direction: row; gap: 8px; max-height: none; overflow-x: auto; overflow-y: hidden;
    margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 10px; border-radius: 0;
    background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; scrollbar-width: none;
  }
  .release { width: auto; min-width: 156px; max-width: 200px; flex: none; background: rgba(26, 29, 37, .72); box-shadow: inset 0 0 0 1px var(--hairline); }
  .release::after { left: 50%; top: auto; bottom: -8px; width: 22px; height: 3px; margin: 0 0 0 -11px; transform: scaleX(0); }
  .release[aria-selected="true"]::after, .release[aria-selected="true"].is-focused::after, .release[aria-selected="true"]:focus-visible::after { transform: scaleX(1); }
}

/* Entry reveal: shelves rise and fade in as they come into view, their tiles a beat apart. */
.rv { animation: reveal .22s var(--enter) both; animation-delay: calc(var(--i, 0) * var(--stagger)); }
@keyframes reveal { from { opacity: 0; transform: translateY(var(--rise)); } }

/* The footer and the hint line, as in the app. */
.foot { padding: 32px var(--gutter) 110px; color: var(--muted); border-top: 1px solid var(--hairline); }
.foot p { margin: 0 0 8px; }
.foot .small { font-size: 13px; color: var(--faint); max-width: 90ch; }
.hints {
  position: fixed; right: var(--gutter); bottom: 22px; z-index: 20; display: flex; gap: 22px;
  padding: 10px 16px; border-radius: 999px; background: rgba(7, 8, 11, .7); border: 1px solid var(--hairline);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  opacity: 0; transform: translateY(10px); pointer-events: none;
  transition: opacity .24s var(--ease), transform .24s var(--ease);
}
body.uses-pad .hints { opacity: 1; transform: none; }
.hint { display: flex; align-items: center; gap: 9px; font: 600 15px/1 "Manrope", sans-serif; color: var(--text); }
.btn { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--text); color: var(--ink); font: 700 13px/1 "Sora", sans-serif; }
.btn.dpad { background: rgba(243, 244, 246, .14); }
.btn.dpad svg { width: 16px; height: 16px; fill: var(--text); }
.toast {
  position: fixed; left: 50%; bottom: 84px; z-index: 30; padding: 12px 18px; border-radius: 999px;
  transform: translate(-50%, 12px); opacity: 0; pointer-events: none;
  background: var(--raised); border: 1px solid var(--hairline); box-shadow: 0 12px 34px rgba(0, 0, 0, .45);
  font: 600 15px/1 "Manrope", sans-serif; transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.toast.is-shown { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 720px) {
  .hud { padding: 12px var(--gutter); gap: 10px; }
  .eyebrow { font-size: 11px; letter-spacing: .1em; }
  /* On a phone the downloads sit two by two, no sideways scrolling. */
  .row.platforms { display: grid; grid-template-columns: 1fr 1fr; row-gap: 34px; overflow: visible; }
  .platform { width: auto; height: auto; aspect-ratio: 1; }
  /* No room beside the glyph: the chip sits just above the name instead. */
  .platform .here { position: static; order: 1; align-self: flex-start; margin: 0 0 8px; transform: none; }
  .platform:not(.is-here) .here { display: none; }
  .platform .name { order: 2; margin-top: 0; }
  .platform .detail { order: 3; }
  .brand span, .tab span, .chip { display: none; }
  .tab { padding: 10px 12px; }
  .clock { font-size: 18px; }
  .stage { padding-top: 40px; }
  .grid.themes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 14px; }
  .theme b { font-size: 15px; }
  .seg { display: flex; }
  .seg-btn { flex: 1 1 auto; justify-content: center; padding: 0 10px; }
  .notes { padding: 20px 18px 22px; border-radius: var(--r-l); }
  .notes-head { flex-direction: column; gap: 14px; }
  .notes .notes-filter { margin-top: 20px; }
  .notes-filter .seg-btn b { display: none; }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .release-pill { font-size: 13px; }
  .showcase { margin-top: 8px; }
  .hints { display: none; }
}

@media (max-width: 430px) {
  /* Every tab keeps its place on a phone; the clock steps aside for them. */
  .clock { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  :root { --rise: 0px; --stagger: 0ms; }
  html { scroll-behavior: auto; }
  .room-glow { animation: none; }
  .tile, .tile::after, .preview, .toast, .hints, .frame .spark, .seg-glide, .tab-glide { transition: none !important; }
  .tile.is-focused, .tile:focus-visible, .tile:active { transform: none; }
  .tile.is-focused::before, .tile:focus-visible::before, .theme .preview::after { animation: none !important; }
  .rv { animation-duration: .07s; }
}

/* 404 */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; color: var(--muted); font: 600 13px/1 "Sora", sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
