/* 59 Gaming site styles. Loaded after bootstrap.min.css, which supplies the reset and .container. */

:root,
:root[data-bs-theme="dark"] {
  --bg: #05070c;
  --panel: #0b101c;
  --panel-2: #111829;
  --line: rgba(150, 180, 255, .11);
  --line-2: rgba(150, 180, 255, .24);
  --text: #edf2ff;
  --muted: #97a3c1;
  --dim: #6f7a98;

  /* Brand blue from the logo ring; --blue-btn is the same hue dark enough for white text. */
  --blue: #1f8fff;
  --blue-hi: #74c0ff;
  --blue-btn: #1470dc;
  --spark: #ff7a1a;
  --twitch: #9146ff;
  --kick: #53fc18;
  --accent: var(--blue);

  --font-display: "Saira", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --font-jp: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;

  --radius: 14px;
  --nav-h: 72px;
  --ease: cubic-bezier(.2, .8, .2, 1);

  --bs-body-bg: var(--bg);
  --bs-body-color: var(--text);
  --bs-body-font-family: var(--font-body);
  --bs-heading-color: var(--text);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}

body {
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

/* Page backdrop: a blue glow off the top-right and a grid that fades out down the page. */
body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  z-index: -2;
  background:
    radial-gradient(1100px 620px at 82% -8%, rgba(31, 143, 255, .22), transparent 62%),
    radial-gradient(800px 520px at -12% 38%, rgba(31, 143, 255, .08), transparent 60%),
    var(--bg);
}

body::after {
  z-index: -1;
  background-image:
    linear-gradient(rgba(150, 180, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(150, 180, 255, .05) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 0, #000, transparent 78%);
  mask-image: radial-gradient(ellipse 90% 80% at 50% 0, #000, transparent 78%);
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--blue-hi);
  outline-offset: 3px;
}

::selection {
  background: var(--blue);
  color: #fff;
}

.skip-link {
  position: fixed;
  top: .75rem;
  left: .75rem;
  z-index: 100;
  padding: .6rem 1rem;
  border-radius: 6px;
  background: var(--blue-btn);
  color: #fff;
  font-weight: 600;
  translate: 0 -200%;
}

.skip-link:focus {
  translate: 0;
  color: #fff;
}

/* ---------- Icons ---------- */

.ico {
  display: inline-block;
  flex: none;
  width: 1em;
  height: 1em;
}

.ico-brand {
  background: currentColor;
  -webkit-mask: var(--ico) center / contain no-repeat;
  mask: var(--ico) center / contain no-repeat;
}

/* ---------- Shared type ---------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: .75em;
  margin: 0 0 1.1rem;
  font: 500 .8rem/1 var(--font-mono);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--blue-hi);
}

.eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 2px;
  background: var(--accent);
  transform: skewX(-30deg);
}

.eyebrow::before,
.eyebrow [lang="ja"] {
  flex: none;
}

.eyebrow [lang="ja"] {
  font-family: var(--font-jp);
  letter-spacing: .1em;
  white-space: nowrap;
  color: var(--text);
}

.sec-title,
.hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-style: italic;
  font-stretch: 110%;
  line-height: .95;
  text-transform: uppercase;
  text-wrap: balance;
}

.sec-title {
  font-size: clamp(2rem, 4.6vw, 3.5rem);
}

.sec-head {
  max-width: 46rem;
  margin-bottom: clamp(1.75rem, 4vw, 3rem);
}

.sec-sub {
  max-width: 38rem;
  margin: 1rem 0 0;
  color: var(--muted);
}

.sec-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  margin-bottom: clamp(1.75rem, 4vw, 3rem);
}

.sec-row .sec-head {
  margin-bottom: 0;
}

.section {
  position: relative;
  padding-block: clamp(4rem, 9vw, 7.5rem);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  padding-bottom: .45em;
  border-bottom: 1px solid currentColor;
  font: 600 .8rem/1 var(--font-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue-hi);
}

.link-arrow:hover {
  color: #fff;
}

/* ---------- Buttons ---------- */

.cta {
  --cta-bg: var(--blue-btn);
  --cta-fg: #fff;
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  padding: 1em 1.6em;
  border: 0;
  background: none;
  font: italic 800 .92rem/1 var(--font-display);
  letter-spacing: .09em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--cta-fg);
  cursor: pointer;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 5px;
  background: var(--cta-bg);
  transform: skewX(-14deg);
  transition: scale .25s var(--ease), box-shadow .25s, filter .25s;
}

.cta:hover {
  color: var(--cta-fg);
}

.cta:hover::before,
a:hover > .cta::before {
  scale: 1.04;
  filter: brightness(1.12);
  box-shadow: 0 12px 30px -10px var(--cta-bg);
}

.cta--ghost {
  --cta-fg: var(--text);
}

.cta--ghost::before {
  background: rgba(255, 255, 255, .03);
  box-shadow: inset 0 0 0 1.5px var(--line-2);
}

.cta--ghost:hover::before {
  filter: none;
  box-shadow: inset 0 0 0 1.5px var(--blue-hi);
}

.cta--sm {
  padding: .8em 1.25em;
  font-size: .8rem;
}

.chip-btn {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: .6em .95em;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: none;
  font: 600 .78rem/1 var(--font-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  transition: color .2s, border-color .2s, background-color .2s;
}

.chip-btn:hover,
.chip-btn[aria-pressed="true"] {
  border-color: color-mix(in srgb, var(--accent) 70%, transparent);
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  color: var(--text);
}

/* ---------- Navigation ---------- */

.site-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color .3s, border-color .3s;
}

.site-nav.is-stuck,
.site-nav.is-open {
  border-bottom-color: var(--line);
  background: rgba(5, 7, 12, .8);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--nav-h);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: .6rem;
  color: #fff;
}

.brand:hover {
  color: #fff;
}

.brand-mark {
  position: relative;
  font: italic 900 1.9rem/1 var(--font-display);
  font-stretch: 125%;
  letter-spacing: -.04em;
}

.brand-mark::after {
  content: "";
  position: absolute;
  right: -.1em;
  bottom: -.26em;
  left: .05em;
  height: 3px;
  background: var(--blue);
  transform: skewX(-30deg);
}

.brand-word {
  font: 600 .78rem/1 var(--font-mono);
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 2rem);
}

.nav-menu > a:not(.cta) {
  position: relative;
  padding: .5rem 0;
  font: 700 .88rem/1 var(--font-display);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .2s;
}

.nav-menu > a:not(.cta)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--blue);
  transform: skewX(-30deg) scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}

.nav-menu > a:not(.cta):hover,
.nav-menu > a[aria-current] {
  color: #fff;
}

.nav-menu > a:not(.cta):hover::after,
.nav-menu > a[aria-current]::after {
  transform: skewX(-30deg) scaleX(1);
}

.nav-toggle {
  display: none;
  place-content: center;
  gap: 7px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background: none;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  transition: transform .3s var(--ease);
}

.is-open .nav-toggle span:first-child {
  transform: translateY(4.5px) rotate(45deg);
}

.is-open .nav-toggle span:last-child {
  transform: translateY(-4.5px) rotate(-45deg);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(100svh, 940px);
  padding: calc(var(--nav-h) + clamp(2rem, 6vw, 4.5rem)) 0 clamp(3rem, 6vw, 5rem);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}

.hero-title {
  font-size: clamp(2.75rem, 7vw, 6rem);
}

.hero-title .line {
  display: block;
  overflow: hidden;
  margin-block: -.06em;
  padding: .08em .16em .06em 0;
}

.hero-title .word {
  display: inline-block;
}

.hero-title .line--accent .word {
  background: linear-gradient(100deg, var(--blue-hi), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lede {
  max-width: 34rem;
  margin: 1.75rem 0 0;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--muted);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem 1.4rem;
  margin-top: 2.25rem;
  padding-left: .35rem;
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.75rem;
  margin: 2.5rem 0 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.hero-links a {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  font: 500 .8rem/1 var(--font-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .2s;
}

.hero-links a:hover {
  color: #fff;
}

.hero-links .ico {
  font-size: 1.15rem;
}

/* Diagonal light streaks behind the hero. site.js sends them across; at rest they sit off-screen. */
.hero-streaks {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-streaks span {
  position: absolute;
  left: 0;
  width: 24vw;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue-hi), transparent);
  opacity: .55;
  rotate: -16deg;
  transform: translateX(-60vw);
}

.hero-streaks span:nth-child(1) { top: 22%; }
.hero-streaks span:nth-child(2) { top: 38%; width: 14vw; }
.hero-streaks span:nth-child(3) { top: 51%; }
.hero-streaks span:nth-child(4) { top: 64%; width: 32vw; }
.hero-streaks span:nth-child(5) { top: 77%; width: 16vw; }
.hero-streaks span:nth-child(6) { top: 90%; }
.hero-streaks span:nth-child(7) { top: 108%; width: 20vw; }

/* The emblem. Everything inside is sized in cqw so it scales with the art's own width. */
.hero-art {
  container-type: inline-size;
  position: relative;
  width: min(100%, 540px);
  aspect-ratio: 1;
  margin-inline: auto;
}

.disc {
  position: absolute;
  inset: 4%;
  overflow: hidden;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 22%, #15408f 0%, #0a2152 42%, #050f26 100%);
  box-shadow: 0 0 110px -18px rgba(31, 143, 255, .6), inset 0 0 70px rgba(0, 0, 0, .45);
}

.disc-fx,
.disc-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.disc-fx {
  stroke: rgba(116, 192, 255, .2);
  stroke-width: 2;
}

.disc-svg {
  overflow: visible;
}

.disc-svg g {
  transform-box: view-box;
  transform-origin: 50% 50%;
}

.disc-ring {
  stroke: var(--blue);
  stroke-width: 12;
}

.disc-orbit circle {
  stroke: rgba(116, 192, 255, .4);
  stroke-width: 1.5;
  stroke-dasharray: 2 14;
}

.disc-sat circle {
  fill: var(--spark);
}

.emblem {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.emblem-nums {
  display: flex;
  margin-left: -3cqw;
  font: italic 900 52cqw/.82 var(--font-display);
  font-stretch: 125%;
  letter-spacing: -.045em;
  filter: drop-shadow(0 1.2cqw 0 rgba(3, 10, 28, .55));
}

.emblem-num {
  display: block;
}

.emblem-chips {
  display: flex;
  gap: 9cqw;
  margin-top: 2.2cqw;
}

.chip {
  display: flex;
  align-items: center;
  gap: 1.8cqw;
  font: 700 3.1cqw/1 var(--font-mono);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--blue-hi);
}

.kanji {
  box-sizing: content-box;
  width: 9.5cqw;
  height: 9.5cqw;
  padding: 1.7cqw;
  border: .45cqw solid #fff;
  background: #050f26;
  stroke: #fff;
  stroke-width: 11;
}

.emblem-kana {
  margin-top: 3cqw;
  padding-left: .55em;
  font: 900 4.2cqw/1 var(--font-jp);
  letter-spacing: .55em;
}

/* ---------- Ticker ---------- */

.ticker {
  overflow: hidden;
  padding: 1.1rem 0;
  border-block: 1px solid var(--line);
  background: rgba(11, 16, 28, .6);
}

.ticker-track {
  display: flex;
  width: max-content;
}

.ticker-item {
  display: flex;
  align-items: center;
  font: italic 900 clamp(1.1rem, 2.2vw, 1.6rem)/1 var(--font-display);
  font-stretch: 112%;
  letter-spacing: .02em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ticker-item::after {
  content: "";
  width: .5em;
  height: .5em;
  margin-inline: 1.6em;
  background: var(--blue);
  transform: skewX(-20deg);
}

.ticker-item--line {
  color: transparent;
  -webkit-text-stroke: 1px var(--muted);
}

/* ---------- Live stage ---------- */

.live {
  --accent: var(--twitch);
}

.live[data-platform="kick"] {
  --accent: var(--kick);
}

.stage {
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--accent) 50%, transparent);
  border-radius: 18px;
  background: var(--panel);
  box-shadow: 0 40px 90px -50px var(--accent);
  transition: border-color .4s, box-shadow .4s;
}

.stage-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem 1rem;
  padding: .7rem .8rem;
  border-bottom: 1px solid var(--line);
}

.switch {
  position: relative;
  display: flex;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .05);
}

.switch-pill {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 0;
  width: 0;
  border-radius: 999px;
  background: var(--accent);
  transition: background-color .3s;
}

.switch-btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: .6em 1.15em;
  border: 0;
  border-radius: 999px;
  background: none;
  font: 700 .9rem/1 var(--font-display);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  transition: color .2s;
}

.switch-btn:hover,
.switch-btn[aria-selected="true"] {
  color: #fff;
}

.live[data-platform="kick"] .switch-btn[aria-selected="true"],
.live[data-platform="kick"] .cta {
  color: #041006;
}

.stage-handle {
  margin-right: auto;
  font: 500 .8rem/1 var(--font-mono);
  color: var(--muted);
}

.stage-handle:hover {
  color: #fff;
}

.stage-actions {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding-right: .4rem;
}

.live .cta {
  --cta-bg: var(--accent);
}

.stage-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
}

.live[data-chat="off"] .stage-body {
  grid-template-columns: minmax(0, 1fr);
}

.live[data-chat="off"] .stage-side {
  display: none;
}

.stage-screen {
  position: relative;
  aspect-ratio: 16 / 9;
  max-height: 80vh;
  background: #000;
}

.stage-side {
  position: relative;
  border-left: 1px solid var(--line);
  background: #0e0e10;
}

.stage-frame {
  position: absolute;
  inset: 0;
}

.stage-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.stage-note {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: .75rem;
  height: 100%;
  padding: 1.75rem;
}

.stage-note[hidden] {
  display: none;
}

.stage-note-logo {
  font-size: 2.5rem;
  color: var(--kick);
}

.stage-note .cta {
  margin: .5rem 0 0 .3rem;
}

.stage-standby {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  margin: 0;
  font: 500 .8rem/1.6 var(--font-mono);
  letter-spacing: .2em;
  text-align: center;
  text-transform: uppercase;
  color: var(--dim);
}

.stage-standby a {
  color: var(--blue-hi);
  text-decoration: underline;
}

.stage-flash {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, var(--accent), transparent 75%);
  opacity: 0;
  pointer-events: none;
}

/* ---------- Tiles (shared card) ---------- */

.tile {
  --mx: 50%;
  --my: 0%;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  overflow: hidden;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  color: var(--text);
  transition: border-color .25s, translate .3s var(--ease), box-shadow .3s;
}

/* Soft highlight that follows the pointer; site.js keeps --mx/--my current. */
.tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(260px circle at var(--mx) var(--my), rgba(31, 143, 255, .2), transparent 70%);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}

.tile > * {
  position: relative;
}

.tile:hover::before {
  opacity: 1;
}

a.tile:hover,
a.tile:focus-visible {
  border-color: rgba(31, 143, 255, .65);
  box-shadow: 0 22px 44px -28px var(--blue);
  color: var(--text);
  translate: 0 -4px;
}

.tile-tag {
  display: flex;
  align-items: center;
  gap: .6em;
  margin: 0;
  font: 500 .72rem/1 var(--font-mono);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue-hi);
}

.tile-tag .ico {
  font-size: 1rem;
}

.tile-title {
  margin: 0;
  font: italic 800 1.35rem/1.1 var(--font-display);
  letter-spacing: .01em;
  text-transform: uppercase;
}

.tile-desc {
  margin: 0;
  font-size: .97rem;
  color: var(--muted);
}

.tile-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(31, 143, 255, .12);
  font-size: 1.35rem;
  color: var(--blue-hi);
}

.tile-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1rem;
  font: 500 .8rem/1 var(--font-mono);
  color: var(--muted);
}

.tile-handle {
  display: inline-flex;
  align-items: center;
  gap: .55em;
}

.tile-handle small {
  margin-left: .4em;
  font-size: .7rem;
  color: var(--dim);
}

.tile-arrow {
  font-size: 1.3rem;
  color: var(--blue-hi);
  transition: translate .25s var(--ease);
}

a.tile:hover .tile-arrow {
  translate: 3px -3px;
}

/* ---------- Latest videos ---------- */

.vid {
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr);
  gap: 1.25rem;
}

.vid-player {
  position: relative;
  align-self: start;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #000;
}

.vid-player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.vid-facade {
  position: absolute;
  inset: 0;
  display: block;
  color: #fff;
}

.vid-facade:hover {
  color: #fff;
}

.vid-facade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale .6s var(--ease);
}

.vid-facade:hover img {
  scale: 1.03;
}

.vid-facade::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 7, 12, 0) 40%, rgba(5, 7, 12, .94));
}

.vid-play {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  margin: auto;
  border-radius: 50%;
  background: var(--blue-btn);
  box-shadow: 0 0 0 10px rgba(31, 143, 255, .22);
  font-size: 2.2rem;
  transition: scale .25s var(--ease);
}

.vid-facade:hover .vid-play {
  scale: 1.08;
}

.vid-meta {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  display: grid;
  gap: .6rem;
  padding: clamp(1rem, 2.5vw, 1.75rem);
}

.vid-flag {
  font: 500 .72rem/1 var(--font-mono);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--blue-hi);
}

.vid-name {
  max-width: 40rem;
  font: 700 clamp(1.05rem, 1.9vw, 1.5rem)/1.2 var(--font-display);
  text-wrap: balance;
}

/* The list takes the player's height and scrolls inside it rather than stretching the row. */
.vid-side {
  position: relative;
  min-height: 0;
}

.vid-list {
  position: absolute;
  inset: 0;
  display: grid;
  grid-auto-rows: minmax(84px, 1fr);
  gap: .4rem;
  overflow-y: auto;
  margin: 0;
  padding: 0;
  list-style: none;
  scrollbar-width: thin;
  scrollbar-color: var(--line-2) transparent;
}

.vid-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: .9rem;
  height: 100%;
  padding: .45rem;
  border: 1px solid transparent;
  border-radius: 10px;
  color: var(--text);
  transition: background-color .2s, border-color .2s;
}

.vid-item:hover {
  background: rgba(255, 255, 255, .04);
  color: var(--text);
}

.vid-item[aria-current] {
  border-color: rgba(31, 143, 255, .5);
  background: rgba(31, 143, 255, .1);
}

.vid-item img {
  width: clamp(104px, 9.5vw, 136px);
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  object-fit: cover;
}

.vid-item-text {
  display: grid;
  gap: .4rem;
  min-width: 0;
}

.vid-item-title {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.3;
}

.vid-item-date {
  font: 400 .72rem/1 var(--font-mono);
  color: var(--dim);
}

.vid-aside {
  justify-content: center;
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.vid-aside .tile-title {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
}

.vid-aside .cta {
  align-self: flex-start;
  margin: .75rem 0 0 .35rem;
}

/* ---------- About ---------- */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.why-eq {
  display: flex;
  gap: 2.25rem;
  margin: 1.75rem 0 1.5rem;
}

.why-pair {
  display: flex;
  align-items: baseline;
  gap: .7rem;
}

.why-kanji {
  font: 900 clamp(3.5rem, 7vw, 5.5rem)/1 var(--font-jp);
  color: transparent;
  -webkit-text-stroke: 1.5px var(--blue-hi);
}

.why-read {
  font: 500 .9rem/1 var(--font-mono);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--spark);
}

.why-copy {
  max-width: 30rem;
  margin: 0;
  font-size: 1.1rem;
  color: var(--muted);
}

.why-copy em {
  font-weight: 600;
  color: var(--text);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ---------- Channel network ---------- */

.net {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.net-card {
  min-height: 215px;
}

.net-card--lead {
  grid-column: span 2;
  grid-row: span 2;
  justify-content: flex-end;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: linear-gradient(150deg, #10347a 0%, #0a1a3c 48%, var(--panel) 100%);
}

.net-card--lead .tile-tag {
  margin-bottom: auto;
}

.net-card--lead .tile-title {
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  font-weight: 900;
  line-height: .95;
}

.net-card--lead .tile-desc {
  max-width: 28rem;
  font-size: 1.05rem;
}

.net-card--lead .tile-foot {
  margin-top: 0;
}

.net-ghost {
  position: absolute;
  top: -.16em;
  right: -.04em;
  font: italic 900 clamp(9rem, 17vw, 15rem)/1 var(--font-display);
  font-stretch: 125%;
  letter-spacing: -.045em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(116, 192, 255, .2);
  pointer-events: none;
}

/* ---------- Podcasts + support ---------- */

.pods {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.eq {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 56px;
  margin-bottom: .5rem;
}

.eq i {
  --h: .3;
  flex: 1;
  max-width: 8px;
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--blue-hi), var(--blue));
  transform: scaleY(var(--h));
  transform-origin: bottom;
}

.eq i:nth-child(3n + 1) { --h: .55; }
.eq i:nth-child(4n)     { --h: .85; }
.eq i:nth-child(5n)     { --h: .42; }
.eq i:nth-child(7n)     { --h: .7; }

/* ---------- Community ---------- */

.comm {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr);
  gap: 1rem;
}

.comm-discord {
  justify-content: flex-end;
  min-height: 320px;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: linear-gradient(160deg, #2a34a0 0%, #141a4a 52%, var(--panel) 100%);
}

.comm-discord-logo {
  margin-bottom: auto;
  font-size: 3.5rem;
}

.comm-discord .tile-title {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
}

.comm-discord .cta {
  align-self: flex-start;
  margin: .75rem 0 0 .35rem;
}

.socials {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.social {
  flex-direction: row;
  align-items: center;
  gap: .9rem;
  height: 100%;
  padding: 1.1rem 1.2rem;
}

.social > .ico {
  font-size: 1.5rem;
}

.social-text {
  display: grid;
  gap: .25rem;
  min-width: 0;
}

.social-name {
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.2;
}

.social-handle {
  overflow: hidden;
  font: 400 .78rem/1.2 var(--font-mono);
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--muted);
}

/* ---------- Footer ---------- */

.site-footer {
  padding: clamp(3rem, 6vw, 5rem) 0 2rem;
  border-top: 1px solid var(--line);
  background: rgba(7, 10, 18, .85);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 2.5rem;
}

.footer-brand p {
  max-width: 24rem;
  margin: 1.1rem 0;
  font-size: .97rem;
  color: var(--muted);
}

.footer-mail {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  font: 500 .85rem/1 var(--font-mono);
  color: var(--blue-hi);
}

.footer-mail:hover {
  color: #fff;
}

.footer-head {
  margin: 0 0 1.1rem;
  font: 500 .75rem/1 var(--font-mono);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--dim);
}

.site-footer ul {
  display: grid;
  gap: .65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li a {
  font-size: .95rem;
  color: var(--muted);
  transition: color .2s;
}

.site-footer li a:hover {
  color: #fff;
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem 1rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font: 400 .78rem/1.4 var(--font-mono);
  color: var(--dim);
}

.footer-base p {
  margin: 0;
}

.footer-kana [lang="ja"] {
  margin-right: .5em;
  font-family: var(--font-jp);
  color: var(--blue-hi);
}

/* ---------- Animation start states (html.anim is set in <head>, cleared if site.js can't run) ---------- */

html.anim [data-reveal]:not([data-reveal="group"]),
html.anim [data-reveal="group"] > *,
html.anim .site-nav,
html.anim .hero .eyebrow,
html.anim .hero-title .word,
html.anim .hero-lede,
html.anim .hero-cta,
html.anim .hero-links,
html.anim .disc,
html.anim .disc-ring,
html.anim .disc-orbit,
html.anim .disc-sat,
html.anim .emblem-num,
html.anim .chip,
html.anim .emblem-kana {
  opacity: 0;
}

/* ---------- Responsive ---------- */

@media (max-width: 991.98px) {
  .nav-toggle {
    display: grid;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .25rem 1.25rem 1.5rem;
    border-bottom: 1px solid var(--line);
    background: rgba(5, 7, 12, .97);
  }

  .is-open .nav-menu {
    display: flex;
  }

  .nav-menu > a:not(.cta) {
    padding: 1.05rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
  }

  .nav-menu > a:not(.cta)::after {
    display: none;
  }

  .nav-menu .cta {
    align-self: flex-start;
    margin: 1.25rem 0 0 .35rem;
  }

  .hero {
    min-height: 0;
  }

  .hero-grid,
  .about-grid,
  .comm,
  .vid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-art {
    width: min(100%, 380px);
  }

  .stage-body {
    grid-template-columns: minmax(0, 1fr);
  }

  .stage-side {
    height: 460px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .live[data-side="note"] .stage-side {
    height: auto;
  }

  .vid-list {
    position: static;
    overflow: visible;
  }

  .net {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .net-card--lead {
    grid-row: auto;
    min-height: 300px;
  }

  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767.98px) {
  .pods,
  .socials {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pods > :first-child {
    grid-column: 1 / -1;
  }

  .stage-handle {
    display: none;
  }

  .stage-actions {
    margin-left: auto;
  }
}

@media (max-width: 575.98px) {
  .eyebrow {
    font-size: .7rem;
    letter-spacing: .14em;
    line-height: 1.5;
  }

  .pods,
  .pillars,
  .net,
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .net-card--lead {
    grid-column: auto;
  }

  .net-card {
    min-height: 0;
  }

  .vid-play {
    width: 60px;
    height: 60px;
    font-size: 1.6rem;
  }

  .vid-flag {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
  }
}
