:root {
  color-scheme: dark;
  --bg: #030403;
  --bg-soft: #080b09;
  --panel: rgba(11, 14, 12, 0.76);
  --panel-solid: #0a0d0b;
  --ink: #f5f8f4;
  --muted: #9da8a0;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.23);
  --acid: #b6ff3d;
  --acid-soft: #80d824;
  --red: #ff173d;
  --red-hot: #ff3152;
  --page: min(1280px, calc(100% - 48px));
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  background: var(--bg);
  scroll-padding-top: 92px;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: clip;
  background:
    radial-gradient(circle at 12% 13%, rgba(182, 255, 61, 0.055), transparent 26rem),
    radial-gradient(circle at 90% 54%, rgba(255, 23, 61, 0.05), transparent 28rem),
    linear-gradient(180deg, #030403 0%, #050705 100%);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: linear-gradient(#000, transparent 78%);
}

body.has-open-dialog {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
select {
  font: inherit;
}

button,
a,
select {
  -webkit-tap-highlight-color: transparent;
}

::selection {
  background: rgba(182, 255, 61, 0.28);
  color: #fff;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 10000;
  padding: 10px 14px;
  border-radius: 999px;
  background: #fff;
  color: #050605;
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: max(12px, env(safe-area-inset-top));
  left: 50%;
  z-index: 100;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: min(1320px, calc(100% - 32px));
  min-height: 68px;
  padding: 8px 10px 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 22px;
  background: rgba(6, 8, 7, 0.63);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(22px) saturate(135%);
  -webkit-backdrop-filter: blur(22px) saturate(135%);
  transform: translateX(-50%);
  transition: background 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}

.site-header.is-scrolled {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(4, 6, 5, 0.89);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.5);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  border-radius: 14px;
}

.brand:focus-visible,
.main-nav a:focus-visible,
.language-control select:focus-visible,
.button:focus-visible,
.channel-ribbon:focus-visible,
.text-link:focus-visible,
.media-poster:focus-visible,
.media-youtube-link:focus-visible,
.site-footer a:focus-visible,
.dialog-close:focus-visible,
.dialog-youtube-link:focus-visible {
  outline: 2px solid var(--acid);
  outline-offset: 4px;
}

.brand-mark-shell {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  overflow: hidden;
  border: 1px solid rgba(182, 255, 61, 0.24);
  border-radius: 14px;
  background: rgba(182, 255, 61, 0.065);
  box-shadow: inset 0 0 22px rgba(182, 255, 61, 0.06);
}

.brand-mark-shell img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.brand-wordmark {
  display: grid;
  line-height: 0.88;
  letter-spacing: 0.08em;
}

.brand-wordmark strong {
  font-size: 1rem;
  font-weight: 900;
}

.brand-wordmark small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.57rem;
  font-weight: 800;
  letter-spacing: 0.28em;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(4px, 1.4vw, 18px);
}

.main-nav a {
  padding: 10px 12px;
  border-radius: 12px;
  color: #c5ccc7;
  font-size: 0.76rem;
  font-weight: 780;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  transition: color 180ms ease, background 180ms ease;
}

.main-nav a:hover {
  background: rgba(255, 255, 255, 0.055);
  color: #fff;
}

.main-nav .nav-channel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 49, 82, 0.26);
  background: rgba(255, 23, 61, 0.08);
  color: #fff;
}

.main-nav .nav-channel:hover {
  background: rgba(255, 23, 61, 0.16);
}

.language-control {
  position: relative;
}

.language-control select {
  width: 60px;
  height: 42px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 13px;
  outline: 0;
  background: rgba(255, 255, 255, 0.055);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-align: center;
  cursor: pointer;
}

.language-control option {
  background: #090b09;
  color: #fff;
}

.broadcast-hero {
  position: relative;
  min-height: clamp(760px, 100svh, 980px);
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at 77% 45%, rgba(182, 255, 61, 0.105), transparent 29rem),
    radial-gradient(circle at 58% 34%, rgba(255, 23, 61, 0.11), transparent 25rem),
    #030403;
}

.hero-backdrop,
.hero-noise,
.hero-scanlines,
.hero-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-backdrop {
  z-index: -5;
}

.hero-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.54;
  filter: saturate(0.82) contrast(1.08);
  transform: scale(1.015);
}

.hero-noise {
  z-index: -4;
  opacity: 0.11;
  background-image:
    radial-gradient(circle at 20% 40%, rgba(255, 255, 255, 0.32) 0 0.5px, transparent 0.8px),
    radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.24) 0 0.45px, transparent 0.75px);
  background-size: 5px 5px, 7px 7px;
  mix-blend-mode: soft-light;
}

.hero-scanlines {
  z-index: -3;
  opacity: 0.13;
  background: repeating-linear-gradient(180deg, transparent 0 4px, rgba(255, 255, 255, 0.055) 5px, transparent 6px);
  mask-image: linear-gradient(90deg, transparent, #000 16%, #000 88%, transparent);
}

.hero-vignette {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(3, 4, 3, 0.96) 0%, rgba(3, 4, 3, 0.6) 36%, rgba(3, 4, 3, 0.05) 66%, rgba(3, 4, 3, 0.48) 100%),
    linear-gradient(180deg, rgba(3, 4, 3, 0.68) 0%, transparent 18%, transparent 72%, #030403 100%);
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(480px, 1.08fr);
  align-items: center;
  width: var(--page);
  min-width: 0;
  min-height: clamp(670px, calc(100svh - 90px), 860px);
  margin: 0 auto;
  padding: 136px 0 154px;
}

.hero-copy {
  position: relative;
  z-index: 5;
  min-width: 0;
  max-width: 680px;
}

.signal-kicker,
.section-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: #abb4ad;
  font-size: 0.68rem;
  font-weight: 820;
  letter-spacing: 0.19em;
  line-height: 1.4;
  text-transform: uppercase;
}

.signal-dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 18px rgba(182, 255, 61, 0.86);
}

.signal-dot::after {
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(182, 255, 61, 0.32);
  border-radius: inherit;
  content: "";
}

.live-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 43px;
  padding: 7px 15px 7px 8px;
  border: 1px solid rgba(255, 49, 82, 0.38);
  border-radius: 999px;
  background: rgba(255, 23, 61, 0.1);
  box-shadow: inset 0 0 25px rgba(255, 23, 61, 0.05), 0 0 32px rgba(255, 23, 61, 0.06);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 880;
  letter-spacing: 0.16em;
}

.youtube-play {
  position: relative;
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border-radius: 9px;
  background: var(--red);
  box-shadow: 0 0 20px rgba(255, 23, 61, 0.28);
}

.youtube-play i {
  width: 0;
  height: 0;
  margin-left: 2px;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 7px solid #fff;
}

.glitch-title {
  position: relative;
  width: min(760px, 100%);
  margin: 22px 0 21px;
  font-size: clamp(3.35rem, 6.25vw, 6.8rem);
  font-weight: 920;
  letter-spacing: -0.072em;
  line-height: 0.88;
  text-wrap: balance;
}

.glitch-title::before,
.glitch-title::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: attr(data-glitch-text);
  pointer-events: none;
  opacity: 0.52;
}

.glitch-title::before {
  color: var(--red);
  clip-path: polygon(0 17%, 100% 17%, 100% 29%, 0 29%);
  animation: title-glitch-red 9s steps(1, end) infinite;
}

.glitch-title::after {
  color: var(--acid);
  clip-path: polygon(0 64%, 100% 64%, 100% 75%, 0 75%);
  animation: title-glitch-green 9s steps(1, end) infinite;
}

@keyframes title-glitch-red {
  0%, 85%, 91%, 100% { transform: translate(0); }
  86% { transform: translate(5px, -1px); }
  88% { transform: translate(-3px, 1px); }
  90% { transform: translate(2px, 0); }
}

@keyframes title-glitch-green {
  0%, 84%, 92%, 100% { transform: translate(0); }
  85% { transform: translate(-4px, 1px); }
  88% { transform: translate(3px, -1px); }
  91% { transform: translate(-2px, 0); }
}

.hero-lead {
  max-width: 620px;
  margin: 0;
  color: #bec6c0;
  font-size: clamp(1rem, 1.55vw, 1.24rem);
  line-height: 1.65;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: 16px;
  font-size: 0.81rem;
  font-weight: 820;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: transform 220ms var(--ease-out), border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button-primary {
  border-color: rgba(255, 255, 255, 0.16);
  background: #f7f8f7;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
  color: #080a08;
}

.button-primary:hover {
  background: #fff;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.34), 0 0 30px rgba(182, 255, 61, 0.08);
}

.button-secondary {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(14px);
  color: #fff;
}

.button-secondary:hover {
  border-color: rgba(182, 255, 61, 0.34);
  background: rgba(182, 255, 61, 0.075);
}

.button-led {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 12px rgba(255, 23, 61, 0.75);
}

.button-play {
  color: var(--red-hot);
  font-size: 0.72rem;
}

.broadcast-metrics {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 35px;
}

.broadcast-metrics > span {
  display: grid;
  gap: 1px;
}

.broadcast-metrics b {
  font-size: 1.12rem;
  line-height: 1;
}

.broadcast-metrics small {
  color: #7f8a82;
  font-size: 0.59rem;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.broadcast-metrics > i {
  width: 1px;
  height: 23px;
  background: var(--line);
}

.x777-stage {
  position: relative;
  align-self: stretch;
  min-height: 590px;
  margin: -25px -8vw -50px -5vw;
  isolation: isolate;
  pointer-events: none;
}

.x777-stage::before {
  position: absolute;
  top: 19%;
  right: 4%;
  bottom: 9%;
  left: 8%;
  z-index: -1;
  border: 1px solid rgba(182, 255, 61, 0.1);
  border-radius: 50%;
  content: "";
  transform: perspective(900px) rotateY(-15deg);
  box-shadow: inset 0 0 100px rgba(182, 255, 61, 0.035), 0 0 90px rgba(182, 255, 61, 0.035);
}

.x777-halo {
  position: absolute;
  top: 22%;
  left: 50%;
  z-index: -2;
  width: min(48vw, 640px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(182, 255, 61, 0.2) 0 1%, transparent 2% 30%, rgba(182, 255, 61, 0.06) 31%, transparent 32% 48%, rgba(255, 23, 61, 0.06) 49%, transparent 50%),
    radial-gradient(circle, rgba(182, 255, 61, 0.12), transparent 63%);
  filter: blur(1px);
  transform: translate(-42%, -15%);
}

.x777-poster,
.x777-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.x777-poster {
  z-index: 1;
  object-fit: contain;
  object-position: 53% 50%;
  opacity: 0.9;
  filter: drop-shadow(0 30px 45px rgba(0, 0, 0, 0.72)) drop-shadow(0 0 30px rgba(182, 255, 61, 0.1));
  transition: opacity 900ms ease, filter 900ms ease;
}

.x777-canvas {
  z-index: 2;
  opacity: 0;
  transition: opacity 900ms ease;
}

.x777-stage.is-ready .x777-canvas {
  opacity: 1;
}

.x777-stage.is-ready .x777-poster {
  opacity: 0;
  filter: none;
}

.x777-stage.is-static .x777-poster,
.x777-stage.is-failed .x777-poster {
  opacity: 0.94;
}

.target-frame {
  position: absolute;
  z-index: 4;
  width: 46px;
  height: 46px;
  border-color: rgba(182, 255, 61, 0.56);
  pointer-events: none;
}

.target-frame-a {
  top: 19%;
  right: 17%;
  border-top: 1px solid;
  border-right: 1px solid;
}

.target-frame-b {
  bottom: 19%;
  left: 22%;
  border-bottom: 1px solid;
  border-left: 1px solid;
}

.character-status {
  position: absolute;
  right: 14%;
  bottom: 13%;
  z-index: 4;
  display: grid;
  gap: 5px;
  min-width: 190px;
  padding: 12px 14px;
  border: 1px solid rgba(182, 255, 61, 0.22);
  border-radius: 13px;
  background: rgba(4, 7, 4, 0.65);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(12px);
}

.character-status__line {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #efffe2;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
}

.character-status__line i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 14px rgba(182, 255, 61, 0.75);
}

.x777-stage.is-failed .character-status__line i {
  background: var(--red);
  box-shadow: 0 0 14px rgba(255, 23, 61, 0.68);
}

.character-status__sub {
  color: #77837a;
  font-size: 0.57rem;
  font-weight: 760;
  letter-spacing: 0.16em;
}

.channel-ribbon {
  position: absolute;
  right: 24px;
  bottom: 22px;
  left: 24px;
  z-index: 12;
  display: grid;
  grid-template-columns: minmax(160px, 0.75fr) auto minmax(190px, 1fr) auto;
  align-items: center;
  min-height: 98px;
  max-width: 1280px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background: rgba(7, 9, 8, 0.78);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(18px) saturate(130%);
  transition: transform 260ms var(--ease-out), border-color 260ms ease;
}

.channel-ribbon:hover {
  border-color: rgba(255, 49, 82, 0.38);
  transform: translateY(-3px);
}

.channel-banner {
  position: relative;
  align-self: stretch;
  min-height: 96px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, #000 0%, #000 66%, transparent 100%);
}

.channel-banner::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(7, 9, 8, 0.9));
}

.channel-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
}

.channel-avatar {
  position: relative;
  z-index: 2;
  width: 68px;
  height: 68px;
  margin-left: -28px;
  overflow: hidden;
  border: 3px solid #0b0d0b;
  border-radius: 50%;
  background: #0b0d0b;
  box-shadow: 0 0 0 1px rgba(182, 255, 61, 0.28), 0 0 25px rgba(182, 255, 61, 0.08);
}

.channel-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.channel-copy {
  display: grid;
  min-width: 0;
  padding: 0 22px;
  font-style: normal;
}

.channel-copy small {
  color: var(--red-hot);
  font-size: 0.56rem;
  font-weight: 850;
  letter-spacing: 0.2em;
}

.channel-copy strong {
  margin: 2px 0 0;
  font-size: 1rem;
}

.channel-copy em {
  color: #8f9a92;
  font-size: 0.71rem;
  font-style: normal;
}

.channel-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-right: 14px;
  padding: 13px 16px;
  border: 1px solid rgba(255, 49, 82, 0.25);
  border-radius: 14px;
  background: rgba(255, 23, 61, 0.08);
  color: #fff;
  font-size: 0.68rem;
  letter-spacing: 0.09em;
}

.channel-cta i {
  color: var(--red-hot);
  font-style: normal;
}

.media-section {
  position: relative;
  width: var(--page);
  margin: 0 auto;
  padding: clamp(90px, 10vw, 150px) 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 38px;
}

.section-heading > div {
  max-width: 700px;
}

.section-kicker span:first-child:not(:last-child) {
  color: var(--acid);
}

.section-heading h2,
.subscribe-panel h2 {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 5.1rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 0.96;
}

.section-heading p:not(.section-kicker),
.subscribe-panel p:not(.section-kicker) {
  max-width: 630px;
  margin: 17px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-strong);
  color: #dfe4e0;
  font-size: 0.75rem;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: border-color 180ms ease, color 180ms ease;
}

.text-link:hover {
  border-color: var(--red-hot);
  color: #fff;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.media-card {
  position: relative;
  min-width: 0;
}

.media-poster {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  outline: 0;
  background: #0a0c0a;
  color: #fff;
  cursor: pointer;
  transition: transform 340ms var(--ease-out), border-color 260ms ease, box-shadow 340ms ease;
}

.video-card .media-poster {
  aspect-ratio: 16 / 9;
}

.media-poster::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(180deg, transparent 48%, rgba(0, 0, 0, 0.46));
}

.media-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.06);
  transition: transform 650ms var(--ease-out), filter 400ms ease;
}

.media-card:hover .media-poster {
  border-color: rgba(255, 49, 82, 0.32);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.34);
  transform: translateY(-5px);
}

.media-card:hover .media-poster img {
  filter: saturate(1) contrast(1.07);
  transform: scale(1.035);
}

.play-control {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 19px;
  background: rgba(255, 23, 61, 0.92);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.32), 0 0 30px rgba(255, 23, 61, 0.18);
  font-size: 0.85rem;
  transform: translate(-50%, -50%);
  transition: transform 240ms var(--ease-out), background 180ms ease;
}

.media-card:hover .play-control {
  background: var(--red-hot);
  transform: translate(-50%, -50%) scale(1.08);
}

.media-kind {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 9px;
  background: rgba(5, 7, 5, 0.72);
  backdrop-filter: blur(10px);
  color: #e8ece9;
  font-size: 0.57rem;
  font-weight: 830;
  letter-spacing: 0.13em;
}

.media-kind::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 10px rgba(255, 23, 61, 0.64);
  content: "";
}

.media-body {
  padding: 19px 4px 0;
}

.media-meta {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 8px;
  color: #7f8982;
  font-size: 0.66rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.media-meta i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #566058;
}

.media-title-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
}

.media-title {
  margin: 0;
  font-size: clamp(1rem, 1.45vw, 1.3rem);
  font-weight: 800;
  letter-spacing: -0.022em;
  line-height: 1.35;
}

.media-youtube-link {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 37px;
  height: 37px;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: #aeb7b0;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.media-youtube-link:hover {
  border-color: rgba(255, 49, 82, 0.34);
  background: rgba(255, 23, 61, 0.08);
  color: #fff;
}

.shorts-section {
  width: 100%;
  padding-right: max(24px, calc((100% - 1280px) / 2));
  padding-left: max(24px, calc((100% - 1280px) / 2));
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 23, 61, 0.018), rgba(182, 255, 61, 0.014));
  overflow: hidden;
}

.shorts-glow {
  position: absolute;
  top: 18%;
  left: 85%;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  background: rgba(255, 23, 61, 0.055);
  filter: blur(90px);
  pointer-events: none;
}

.shorts-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(215px, 310px));
  gap: 22px;
}

.short-card .media-poster {
  aspect-ratio: 9 / 16;
  border-radius: 28px;
}

.short-card .media-body {
  padding-right: 2px;
  padding-left: 2px;
}

.short-card .media-title {
  font-size: 1rem;
}

.empty-state {
  margin: 0;
  padding: 32px;
  border: 1px dashed var(--line);
  border-radius: 20px;
  color: var(--muted);
  text-align: center;
}

.subscribe-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 42px;
  width: var(--page);
  margin: clamp(80px, 10vw, 145px) auto;
  padding: clamp(34px, 5vw, 68px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: clamp(26px, 4vw, 42px);
  background:
    radial-gradient(circle at 90% 30%, rgba(255, 23, 61, 0.14), transparent 24rem),
    radial-gradient(circle at 5% 100%, rgba(182, 255, 61, 0.09), transparent 27rem),
    rgba(10, 13, 10, 0.82);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.3), inset 0 1px rgba(255, 255, 255, 0.04);
}

.subscribe-panel > div:not(.subscribe-signal) {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.subscribe-signal {
  position: absolute;
  right: 6%;
  bottom: -42%;
  width: 340px;
  height: 340px;
  pointer-events: none;
  opacity: 0.42;
}

.subscribe-signal span {
  position: absolute;
  inset: calc(var(--i, 0) * 22px);
  border: 1px solid rgba(255, 23, 61, 0.35);
  border-radius: 50%;
}

.subscribe-signal span:nth-child(1) { --i: 0; }
.subscribe-signal span:nth-child(2) { --i: 1; }
.subscribe-signal span:nth-child(3) { --i: 2; }
.subscribe-signal span:nth-child(4) { --i: 3; }
.subscribe-signal span:nth-child(5) { --i: 4; }

.subscribe-panel .button {
  position: relative;
  z-index: 2;
  min-width: 220px;
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 30px;
  width: var(--page);
  min-height: 112px;
  margin: 0 auto;
  padding: 24px 0 max(24px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  color: #7f8982;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.footer-brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.footer-brand span {
  display: grid;
}

.footer-brand strong {
  color: #fff;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

.footer-brand small {
  font-size: 0.51rem;
  letter-spacing: 0.13em;
}

.site-footer p {
  margin: 0;
  font-size: 0.7rem;
  text-align: center;
}

.site-footer > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

.site-footer > div a {
  font-size: 0.66rem;
  font-weight: 740;
  letter-spacing: 0.06em;
  transition: color 180ms ease;
}

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

.video-dialog {
  width: min(1080px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100svh - 32px);
  padding: 0;
  overflow: visible;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 26px;
  background: #070907;
  box-shadow: 0 30px 120px rgba(0, 0, 0, 0.72);
  color: #fff;
}

.video-dialog::backdrop {
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(12px);
}

.video-dialog:not([open]) {
  display: none;
}

.dialog-shell {
  display: grid;
  gap: 14px;
  padding: 16px;
}

.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 2px;
}

.dialog-head > div {
  display: grid;
  min-width: 0;
}

.dialog-head small {
  color: var(--red-hot);
  font-size: 0.56rem;
  font-weight: 820;
  letter-spacing: 0.16em;
}

.dialog-head strong {
  overflow: hidden;
  font-size: 0.93rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dialog-close {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

.dialog-frame {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 16px;
  background: #000;
}

.video-dialog.is-short {
  width: min(530px, calc(100% - 32px));
}

.video-dialog.is-short .dialog-frame {
  width: auto;
  height: min(72svh, 780px);
  max-width: 100%;
  aspect-ratio: 9 / 16;
  justify-self: center;
}

.dialog-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.dialog-youtube-link {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 8px;
  padding: 6px 2px;
  color: #aeb6b0;
  font-size: 0.68rem;
  font-weight: 760;
  letter-spacing: 0.06em;
}

.noscript-note {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 200;
  max-width: 480px;
  margin: 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #0a0d0a;
  color: #d6dbd7;
  font-size: 0.8rem;
}

@media (max-width: 1120px) {
  .hero-layout {
    grid-template-columns: minmax(0, 1fr) minmax(390px, 0.8fr);
  }

  .glitch-title {
    font-size: clamp(3.45rem, 7vw, 5.65rem);
  }

  .x777-stage {
    min-height: 560px;
    margin-right: -13vw;
    margin-left: -9vw;
  }

  .channel-ribbon {
    grid-template-columns: minmax(125px, 0.55fr) auto minmax(170px, 1fr) auto;
  }
}

@media (max-width: 900px) {
  :root {
    --page: min(100% - 32px, 760px);
  }

  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .main-nav a:not(.nav-channel) {
    display: none;
  }

  .main-nav {
    justify-content: end;
    padding-right: 8px;
  }

  .hero-backdrop img {
    opacity: 0.36;
    object-position: 42% center;
  }

  .hero-vignette {
    background:
      linear-gradient(180deg, rgba(3, 4, 3, 0.76) 0%, rgba(3, 4, 3, 0.18) 20%, rgba(3, 4, 3, 0.58) 60%, #030403 100%),
      linear-gradient(90deg, rgba(3, 4, 3, 0.88), transparent 74%);
  }

  .broadcast-hero {
    min-height: 1140px;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    min-height: 1040px;
    padding: 132px 0 160px;
  }

  .hero-copy {
    max-width: 690px;
  }

  .glitch-title {
    max-width: 720px;
    font-size: clamp(3.45rem, 10.8vw, 5.5rem);
  }

  .x777-stage {
    width: min(740px, 112vw);
    min-height: 530px;
    margin: -30px -12vw -108px auto;
  }

  .x777-halo {
    width: 560px;
  }

  .character-status {
    right: 12%;
    bottom: 16%;
  }

  .channel-ribbon {
    grid-template-columns: auto 1fr auto;
  }

  .channel-banner {
    display: none;
  }

  .channel-avatar {
    margin-left: 14px;
  }

  .video-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

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

  .subscribe-panel {
    grid-template-columns: 1fr;
  }

  .subscribe-panel .button {
    justify-self: start;
  }
}

@media (max-width: 640px) {
  :root {
    --page: calc(100% - 28px);
  }

  html {
    scroll-padding-top: 80px;
  }

  .site-header {
    top: max(8px, env(safe-area-inset-top));
    width: calc(100% - 16px);
    min-height: 60px;
    padding: 6px 7px 6px 8px;
    border-radius: 18px;
  }

  .brand {
    gap: 7px;
  }

  .brand-mark-shell {
    width: 44px;
    height: 44px;
    border-radius: 13px;
  }

  .brand-mark-shell img {
    width: 36px;
    height: 36px;
  }

  .brand-wordmark strong {
    font-size: 0.84rem;
  }

  .brand-wordmark small {
    font-size: 0.47rem;
  }

  .main-nav {
    padding-right: 5px;
  }

  .main-nav .nav-channel {
    width: 42px;
    height: 42px;
    padding: 0;
    justify-content: center;
  }

  .main-nav .nav-channel span:first-child {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .language-control select {
    width: 51px;
    height: 42px;
    border-radius: 12px;
  }

  .broadcast-hero {
    min-height: 1050px;
  }

  .hero-layout {
    min-height: 960px;
    padding: 112px 0 154px;
  }

  .signal-kicker {
    margin-bottom: 14px;
    font-size: 0.58rem;
    letter-spacing: 0.13em;
  }

  .live-lockup {
    min-height: 39px;
    font-size: 0.64rem;
  }

  .youtube-play {
    width: 26px;
    height: 26px;
  }

  .glitch-title {
    margin-top: 18px;
    font-size: clamp(2.75rem, 15vw, 4rem);
    letter-spacing: -0.066em;
    line-height: 0.91;
  }

  .hero-lead {
    font-size: 0.98rem;
    line-height: 1.58;
  }

  .hero-actions {
    display: grid;
    gap: 9px;
    margin-top: 25px;
  }

  .button {
    width: 100%;
    max-width: 100%;
    min-height: 50px;
  }

  .broadcast-metrics {
    gap: 12px;
    margin-top: 26px;
  }

  .broadcast-metrics b {
    font-size: 1rem;
  }

  .broadcast-metrics small {
    font-size: 0.52rem;
  }

  .x777-stage {
    width: 124vw;
    min-height: 430px;
    margin: -10px -22vw -72px -3vw;
  }

  .x777-stage::before {
    top: 17%;
    right: 7%;
    bottom: 7%;
    left: 7%;
  }

  .x777-poster {
    object-position: 52% 50%;
  }

  .x777-halo {
    width: 400px;
  }

  .target-frame {
    width: 34px;
    height: 34px;
  }

  .character-status {
    right: 12%;
    bottom: 12%;
    min-width: 168px;
    padding: 10px 12px;
  }

  .channel-ribbon {
    right: 14px;
    bottom: 15px;
    left: 14px;
    grid-template-columns: auto 1fr auto;
    min-height: 80px;
    border-radius: 18px;
  }

  .channel-avatar {
    width: 54px;
    height: 54px;
    margin-left: 11px;
  }

  .channel-copy {
    padding: 0 10px;
  }

  .channel-copy small {
    font-size: 0.47rem;
  }

  .channel-copy strong {
    font-size: 0.86rem;
  }

  .channel-copy em {
    font-size: 0.58rem;
  }

  .channel-cta {
    width: 40px;
    height: 40px;
    margin-right: 9px;
    padding: 0;
    justify-content: center;
  }

  .channel-cta b {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .media-section {
    padding-top: 82px;
    padding-bottom: 82px;
  }

  .section-heading {
    display: grid;
    gap: 20px;
    margin-bottom: 29px;
  }

  .section-heading h2,
  .subscribe-panel h2 {
    font-size: clamp(2.45rem, 13vw, 3.6rem);
  }

  .section-heading p:not(.section-kicker),
  .subscribe-panel p:not(.section-kicker) {
    font-size: 0.94rem;
  }

  .section-kicker {
    font-size: 0.57rem;
    letter-spacing: 0.13em;
  }

  .text-link {
    justify-self: start;
  }

  .video-grid {
    gap: 38px;
  }

  .media-poster,
  .short-card .media-poster {
    border-radius: 20px;
  }

  .play-control {
    width: 52px;
    height: 52px;
    border-radius: 16px;
  }

  .media-body {
    padding-top: 15px;
  }

  .shorts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .short-card .media-kind {
    top: 9px;
    left: 9px;
    padding: 6px 7px;
    font-size: 0.5rem;
  }

  .short-card .play-control {
    width: 46px;
    height: 46px;
    border-radius: 15px;
  }

  .short-card .media-meta {
    gap: 6px;
    font-size: 0.55rem;
  }

  .short-card .media-title-row {
    gap: 6px;
  }

  .short-card .media-title {
    display: -webkit-box;
    overflow: hidden;
    font-size: 0.83rem;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .short-card .media-youtube-link {
    width: 32px;
    height: 32px;
    border-radius: 10px;
  }

  .subscribe-panel {
    gap: 28px;
    margin-top: 70px;
    margin-bottom: 70px;
    padding: 30px 22px;
    border-radius: 25px;
  }

  .subscribe-panel .button {
    min-width: 0;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
    gap: 20px;
    padding-top: 26px;
  }

  .site-footer p {
    display: none;
  }

  .site-footer > div {
    gap: 11px;
  }

  .site-footer > div a:not(:last-child) {
    display: none;
  }

  .video-dialog {
    width: calc(100% - 16px);
    max-height: calc(100svh - 16px);
    border-radius: 20px;
  }

  .dialog-shell {
    padding: 10px;
  }

  .dialog-frame {
    border-radius: 13px;
  }

  .video-dialog.is-short {
    width: min(420px, calc(100% - 16px));
  }

  .video-dialog.is-short .dialog-frame {
    height: min(70svh, 660px);
  }
}

@media (max-width: 380px) {
  .brand-wordmark {
    display: none;
  }

  .glitch-title {
    font-size: 2.62rem;
  }

  .shorts-grid {
    grid-template-columns: 1fr;
  }

  .short-card {
    max-width: 280px;
  }
}

@media (hover: none) and (pointer: coarse) {
  .button:hover,
  .channel-ribbon:hover,
  .media-card:hover .media-poster {
    transform: none;
  }

  .media-card:hover .media-poster img {
    transform: none;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .glitch-title::before,
  .glitch-title::after {
    display: none;
  }
}

@media (forced-colors: active) {
  .site-header,
  .channel-ribbon,
  .media-poster,
  .subscribe-panel {
    border: 1px solid CanvasText;
  }

  .signal-dot,
  .button-led,
  .character-status__line i,
  .media-kind::before {
    background: Highlight;
  }
}
