@font-face {
  font-family: "NightCart IM Fell";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/im-fell-english.ttf") format("truetype");
}

@font-face {
  font-family: "NightCart IM Fell";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/im-fell-english-italic.ttf") format("truetype");
}

@font-face {
  font-family: "NightCart IM Fell SC";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/im-fell-english-sc.ttf") format("truetype");
}

:root {
  color-scheme: dark;
  --nc-bg: #020305;
  --nc-bg-blue: #050914;
  --nc-ink: #cfc2a3;
  --nc-ink-dim: #908773;
  --nc-white: #e3d9bf;
  --nc-gold: #c89a35;
  --nc-gold-bright: #e2bd65;
  --nc-rust: #6f4322;
  --nc-blood: #7c2526;
  --nc-metal: #13100d;
  --nc-metal-soft: #211a13;
  --nc-line: rgba(201, 154, 53, 0.42);
  --nc-screen: #070b12;
  --nc-font-display: "NightCart IM Fell SC", "NightCart IM Fell", Georgia, serif;
  --nc-font-body: "NightCart IM Fell", Georgia, serif;
  --nc-font-ui: "NightCart IM Fell SC", "NightCart IM Fell", Georgia, serif;
}

html {
  min-height: 100%;
}

body {
  background: var(--nc-bg);
  margin: 0;
}

.night-cart-page-frame {
  background:
    radial-gradient(ellipse at center, rgba(12, 18, 28, 0.82) 0, rgba(3, 4, 7, 0.98) 58%, #000 100%),
    linear-gradient(180deg, #05070c 0, #010102 100%);
  min-height: 100dvh;
  overflow: hidden;
  position: relative;
}

.night-cart-page-frame::before,
.night-cart-page-frame::after {
  content: "";
  inset: 0;
  pointer-events: auto;
  position: absolute;
}

.night-cart-page-frame::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px) 0 0 / 5px 5px,
    linear-gradient(0deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px) 0 0 / 7px 7px;
  opacity: 0.44;
}

.night-cart-page-frame::after {
  background: radial-gradient(ellipse at center, transparent 42%, rgba(0, 0, 0, 0.86) 100%);
}

.night-cart-site {
  box-sizing: border-box;
  color: var(--nc-ink);
  container: nightcart / inline-size;
  display: grid;
  font-family: var(--nc-font-body);
  line-height: 1.28;
  min-height: 100dvh;
  overflow: hidden;
  padding: 1.1rem 1.75rem 3.25rem;
  place-items: center;
  position: relative;
  text-transform: uppercase;
  z-index: 1;
}

.night-cart-site *,
.night-cart-site *::before,
.night-cart-site *::after {
  box-sizing: border-box;
}

.night-cart-site a {
  color: inherit;
}

.external-links {
  align-items: center;
  bottom: 1rem;
  color: var(--nc-gold-bright);
  display: flex;
  font-family: var(--nc-font-ui);
  font-size: 0.92rem;
  gap: 1.8rem;
  left: 50%;
  max-width: 1320px;
  position: absolute;
  transform: translateX(-50%);
  width: min(92vw, 1320px);
  z-index: 6;
}

.external-links a {
  opacity: 0.82;
  text-decoration: none;
  text-shadow: 0 0 0.8rem rgba(226, 189, 101, 0.22);
  transition: color 160ms ease, opacity 160ms ease;
}

.external-links a:nth-child(4) {
  margin-left: auto;
}

.external-links a:hover,
.external-links a:focus-visible {
  color: var(--nc-white);
  opacity: 1;
  outline: none;
}

.crt-stage {
  display: grid;
  place-items: center;
  width: 100%;
}

.crt-frame {
  --knob-angle: -32deg;
  aspect-ratio: 1234 / 901;
  filter: drop-shadow(0 1.2rem 4rem rgba(0, 0, 0, 0.86));
  max-width: 1234px;
  min-width: 0;
  position: relative;
  width: min(94vw, 1234px, calc((100dvh - 5rem) * 1.369));
}

.crt-frame::before,
.crt-frame::after {
  display: none;
}

.crt-frame-art {
  display: block;
  height: 100%;
  inset: 0;
  pointer-events: none;
  position: absolute;
  user-select: none;
  width: 100%;
  z-index: 20;
}

.crt-lantern-glow {
  background:
    radial-gradient(ellipse at 50% 58%, rgba(255, 224, 146, 0.42) 0 8%, rgba(226, 146, 43, 0.26) 10% 24%, rgba(226, 146, 43, 0.09) 34%, transparent 64%),
    radial-gradient(ellipse at 50% 52%, rgba(255, 174, 61, 0.2), transparent 62%);
  border-radius: 45% 45% 38% 38%;
  filter: blur(0.08rem) brightness(0.94);
  height: 30%;
  left: 86.58%;
  mix-blend-mode: screen;
  opacity: 0.52;
  pointer-events: none;
  position: absolute;
  top: 6.06%;
  width: 8.8%;
  z-index: 31;
  animation: lanternIdle 2.8s ease-in-out infinite;
}

.crt-lantern-glow::before {
  background: radial-gradient(circle, rgba(255, 236, 170, 0.74), rgba(238, 156, 52, 0.42) 38%, transparent 70%);
  border-radius: 50%;
  content: "";
  height: 27%;
  left: 33%;
  position: absolute;
  top: 42%;
  width: 34%;
}

.crt-screen-bezel {
  height: 64.93%;
  left: 6.65%;
  max-width: 100%;
  min-width: 0;
  padding: 0;
  position: absolute;
  top: 10.1%;
  width: 73.26%;
  z-index: 3;
}

.crt-screen {
  background: var(--nc-screen);
  border-radius: 1.9rem / 2.4rem;
  box-shadow:
    inset 0 0 3.5rem rgba(0, 0, 0, 0.78),
    inset 0 0 0 0.1rem rgba(255, 255, 255, 0.025);
  height: 100%;
  isolation: isolate;
  min-height: 0;
  overflow: hidden;
  position: relative;
  touch-action: pan-y;
}

.crt-screen:focus-visible {
  outline: 2px solid rgba(226, 189, 101, 0.72);
  outline-offset: 4px;
}

.crt-backgrounds,
.crt-background,
.crt-vignette,
.channel-layer,
.crt-static,
.crt-scanlines,
.crt-glass-reflection,
.crt-screen-flash,
.channel-transition {
  inset: 0;
  position: absolute;
}

.crt-backgrounds,
.crt-background,
.crt-vignette,
.crt-static,
.crt-scanlines,
.crt-glass-reflection,
.crt-screen-flash,
.channel-transition {
  pointer-events: none;
}

.crt-background {
  background: #020305;
  opacity: 0;
  transform: scale(1.025);
  transition: opacity 180ms ease, transform 520ms ease;
  z-index: 0;
}

.crt-background::before {
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.95) 0 0.04rem, transparent 0.052rem),
    radial-gradient(circle at 72% 34%, rgba(255, 255, 255, 0.78) 0 0.035rem, transparent 0.05rem),
    radial-gradient(circle at 38% 68%, rgba(255, 255, 255, 0.48) 0 0.03rem, transparent 0.048rem),
    radial-gradient(circle at 86% 76%, rgba(255, 255, 255, 0.7) 0 0.04rem, transparent 0.056rem),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.1) 0 1px, rgba(0, 0, 0, 0.26) 1px 2px, transparent 2px 4px);
  background-color: #050607;
  background-size: 0.36rem 0.36rem, 0.52rem 0.52rem, 0.74rem 0.74rem, 1rem 1rem, 100% 4px;
  content: "";
  filter: contrast(2.6) brightness(1.45);
  inset: 0;
  mix-blend-mode: screen;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transition: opacity 160ms ease;
  z-index: 1;
}

.crt-background::after {
  background: linear-gradient(90deg, rgba(4, 5, 8, 0.78) 0, rgba(4, 5, 8, 0.18) 42%, rgba(4, 5, 8, 0.36) 100%);
  content: "";
  inset: 0;
  position: absolute;
  z-index: 2;
}

.crt-background.is-video-loading::before {
  opacity: 0.92;
  animation: crtNoiseShift 0.18s steps(2, end) infinite;
}

.crt-background--video.is-video-loading {
  background: #030405;
}

.crt-background--video.is-video-loading .crt-background__video {
  opacity: 0;
}

.crt-background__video-chain {
  inset: 0;
  overflow: hidden;
  position: absolute;
  z-index: 0;
}

.crt-background__media {
  display: block;
  filter: brightness(0.96) contrast(1.08) saturate(0.92);
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: center center;
  position: absolute;
  width: 100%;
  z-index: 0;
}

.crt-background__preload,
.crt-background__preload-video {
  display: none;
}

.crt-video-loader {
  align-items: center;
  bottom: 8%;
  color: rgba(239, 214, 154, 0.88);
  display: grid;
  font-family: var(--nc-font-ui);
  gap: 0.38rem;
  justify-items: center;
  left: 50%;
  opacity: 0;
  position: absolute;
  text-shadow: 0 0 0.65rem rgba(226, 189, 101, 0.45);
  transform: translateX(-50%);
  transition: opacity 120ms ease;
  width: min(16rem, 52%);
  z-index: 3;
}

.crt-background.is-video-loading .crt-video-loader {
  opacity: 1;
}

.crt-video-loader__label {
  font-size: 0.72rem;
  letter-spacing: 0;
  line-height: 1;
  animation: amberTextFlicker 1.8s steps(7, end) infinite;
}

.crt-video-loader__track {
  background:
    linear-gradient(90deg, rgba(226, 189, 101, 0.26), rgba(226, 189, 101, 0.08)),
    rgba(2, 3, 5, 0.62);
  border: 1px solid rgba(226, 189, 101, 0.42);
  box-shadow:
    inset 0 0 0.55rem rgba(0, 0, 0, 0.72),
    0 0 0.7rem rgba(226, 189, 101, 0.12);
  display: block;
  height: 0.44rem;
  overflow: hidden;
  width: 100%;
}

.crt-video-loader__track span {
  background:
    linear-gradient(90deg, rgba(226, 189, 101, 0.15), rgba(255, 230, 169, 0.9), rgba(226, 189, 101, 0.24));
  box-shadow: 0 0 0.9rem rgba(226, 189, 101, 0.52);
  display: block;
  height: 100%;
  transform-origin: left center;
  width: 100%;
  animation: crtLoadBar 1.3s steps(12, end) infinite;
}

.crt-background--placeholder {
  background:
    linear-gradient(90deg, rgba(4, 5, 8, 0.92) 0, rgba(4, 5, 8, 0.48) 48%, rgba(4, 5, 8, 0.84) 100%),
    linear-gradient(140deg, #090d16 0 30%, #17211f 30% 44%, #10101b 44% 66%, #4c2f1a 66% 72%, #080a10 72% 100%);
}

.crt-background.is-active {
  opacity: 1;
  transform: scale(1);
}

.crt-vignette {
  background:
    radial-gradient(ellipse at 52% 50%, transparent 0, rgba(0, 0, 0, 0.14) 55%, rgba(0, 0, 0, 0.68) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.48), transparent 34%, rgba(0, 0, 0, 0.34));
  z-index: 2;
}

.channel-layer {
  z-index: 3;
}

.channel-content {
  align-items: center;
  display: grid;
  height: 100%;
  opacity: 0;
  overflow: auto;
  padding: 3.25rem 4rem;
  pointer-events: none;
  position: absolute;
  transform: translateX(1.2rem);
  transition: opacity 220ms ease, transform 280ms ease;
  visibility: hidden;
  width: 100%;
}

.channel-content.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
  visibility: visible;
}

.night-cart-site.is-switching .channel-content.is-active {
  animation: contentArrive 360ms steps(3, end);
}

.channel-copy {
  max-width: 38rem;
  min-width: 0;
  position: relative;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.65), 0 0 1rem rgba(0, 0, 0, 0.72);
  z-index: 1;
}

.channel-content--home .channel-copy {
  max-width: 32rem;
}

.channel-content--nera {
  align-items: end;
  justify-items: end;
  text-align: center;
}

.channel-content--nera .channel-copy {
  background: linear-gradient(90deg, rgba(2, 3, 5, 0), rgba(2, 3, 5, 0.7) 28%, rgba(2, 3, 5, 0.88));
  max-width: 31rem;
  padding: 1.6rem 0 1.6rem 2rem;
}

.channel-content--gameplay,
.channel-content--locations,
.channel-content--wishlist {
  justify-items: center;
  text-align: center;
}

.channel-content--gameplay .channel-copy,
.channel-content--locations .channel-copy {
  max-width: 52rem;
  width: 100%;
}

.channel-content--wishlist .channel-copy {
  max-width: 43rem;
}

.channel-content[data-channel-id="trailer" i] {
  align-items: end;
  justify-items: start;
  text-align: left;
}

.channel-content[data-channel-id="trailer" i] .channel-copy {
  max-width: min(24rem, 44%);
  width: auto;
}

.channel-content[data-channel-id="trailer" i] .channel-actions {
  justify-items: start;
}

.channel-badge,
.channel-eyebrow {
  color: var(--nc-gold-bright);
  font-family: var(--nc-font-ui);
  font-size: 1rem;
  letter-spacing: 0;
  margin: 0 0 0.75rem;
  text-shadow: 0 0 0.65rem rgba(226, 189, 101, 0.22);
  animation: amberTextFlicker 4.8s steps(8, end) infinite;
}

.channel-title {
  color: var(--nc-white);
  display: grid;
  font-family: var(--nc-font-display);
  font-size: 4.8rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.9;
  margin: 0 0 1.2rem;
  overflow-wrap: anywhere;
  text-shadow:
    0.16rem 0.16rem 0 rgba(57, 37, 20, 0.82),
    0 0 1.4rem rgba(226, 189, 101, 0.14);
}

.channel-title--home {
  font-size: 6rem;
  margin-bottom: 1.25rem;
}

.channel-title--compact {
  font-size: 3.2rem;
  line-height: 0.98;
}

.channel-subtitle {
  color: var(--nc-gold-bright);
  font-family: var(--nc-font-display);
  font-size: 1.25rem;
  letter-spacing: 0;
  margin: 0 0 1.35rem;
  text-shadow: 0 0 0.7rem rgba(226, 189, 101, 0.2);
  animation: amberTextFlicker 4.6s steps(8, end) infinite;
}

.channel-body {
  color: var(--nc-ink);
  font-size: 1.2rem;
  margin: 0 0 1.4rem;
  max-width: 32rem;
  text-transform: none;
}

.channel-actions {
  display: grid;
  gap: 0.85rem;
  justify-items: start;
  margin-top: 1.7rem;
}

.channel-content--wishlist .channel-actions,
.channel-content--gameplay .channel-actions,
.channel-content--locations .channel-actions {
  justify-items: center;
}

.cta-button {
  align-items: center;
  border: 1px solid transparent;
  color: var(--nc-ink);
  display: inline-flex;
  font-family: var(--nc-font-ui);
  font-size: 1.08rem;
  gap: 0.85rem;
  min-height: 2.8rem;
  padding: 0.55rem 0.9rem;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
  width: fit-content;
}

.cta-button span {
  color: var(--nc-gold-bright);
}

.cta-button--primary {
  background: rgba(201, 154, 53, 0.13);
  border-color: rgba(226, 189, 101, 0.48);
  box-shadow:
    inset 0 0 1rem rgba(226, 189, 101, 0.06),
    0 0 0.9rem rgba(226, 189, 101, 0.08);
  color: var(--nc-white);
  animation: amberPanelFlicker 3.9s steps(9, end) infinite;
}

.cta-button--secondary {
  color: var(--nc-ink);
}

.cta-button:hover,
.cta-button:focus-visible {
  background: rgba(226, 189, 101, 0.18);
  border-color: rgba(226, 189, 101, 0.78);
  color: var(--nc-white);
  outline: none;
  transform: translateX(0.16rem);
}

.road-thumbs {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 1.5rem;
}

.channel-card-grid,
.gameplay-grid,
.location-grid {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.4rem;
}

.gameplay-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.2rem;
}

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

.channel-card {
  background: rgba(4, 5, 8, 0.72);
  border: 1px solid rgba(201, 154, 53, 0.34);
  box-shadow:
    inset 0 0 0.9rem rgba(226, 189, 101, 0.04),
    0 0 0.65rem rgba(226, 189, 101, 0.04);
  min-width: 0;
  overflow: hidden;
  padding: 0.8rem;
  position: relative;
  animation: amberBorderFlicker 5.4s steps(10, end) infinite;
}

.channel-card::after {
  background: linear-gradient(90deg, transparent, rgba(226, 189, 101, 0.14), transparent);
  content: "";
  height: 1px;
  left: 0.5rem;
  pointer-events: none;
  position: absolute;
  right: 0.5rem;
  top: 0.4rem;
  animation: amberLineFlicker 4.4s steps(7, end) infinite;
}

.road-thumbs .channel-card,
.location-grid .channel-card {
  padding: 0.45rem 0.45rem 0.75rem;
}

.channel-card--with-image .channel-card__copy {
  padding-top: 0.55rem;
}

.gameplay-grid .channel-card {
  min-height: 6.25rem;
  overflow: visible;
  padding: 1.15rem 0.75rem 0.85rem;
}

.channel-card__step-number {
  color: rgba(226, 189, 101, 0.74);
  font-family: var(--nc-font-ui);
  font-size: 0.72rem;
  line-height: 1;
  position: absolute;
  right: 0.55rem;
  top: 0.5rem;
  animation: amberTextFlicker 4.2s steps(8, end) infinite;
}

.channel-card__connector {
  background: rgba(226, 189, 101, 0.46);
  height: 1px;
  pointer-events: none;
  position: absolute;
  right: -1.25rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.2rem;
  z-index: 3;
  animation: amberLineFlicker 3.6s steps(7, end) infinite;
}

.channel-card__connector::after {
  border-right: 1px solid rgba(226, 189, 101, 0.72);
  border-top: 1px solid rgba(226, 189, 101, 0.72);
  content: "";
  height: 0.42rem;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 0.42rem;
}

.image-open {
  appearance: none;
  background: transparent;
  border: 0;
  color: inherit;
  cursor: zoom-in;
  display: block;
  margin: 0;
  padding: 0;
  width: 100%;
}

.image-open--link {
  cursor: pointer;
  text-decoration: none;
}

.image-open:hover .channel-card__image,
.image-open:focus-visible .channel-card__image {
  border-color: rgba(226, 189, 101, 0.72);
  filter: brightness(1) contrast(1.1);
}

.image-open:focus-visible {
  outline: 2px solid rgba(226, 189, 101, 0.74);
  outline-offset: 3px;
}

.channel-card__image {
  aspect-ratio: 1.45 / 1;
  background: #05070c;
  border: 1px solid rgba(226, 189, 101, 0.24);
  display: block;
  filter: brightness(0.82) contrast(1.08);
  object-fit: cover;
  width: 100%;
}

.channel-card__copy h3 {
  color: var(--nc-gold-bright);
  font-family: var(--nc-font-ui);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.05;
  margin: 0;
  overflow-wrap: anywhere;
  text-shadow: 0 0 0.65rem rgba(226, 189, 101, 0.2);
  animation: amberTextFlicker 4.1s steps(8, end) infinite;
}

.gameplay-grid .channel-card__copy h3 {
  color: var(--nc-white);
  min-height: 2.1rem;
}

.channel-card__copy h3 a {
  color: inherit;
  text-decoration: none;
}

.gameplay-grid .channel-card--linked {
  background: rgba(201, 154, 53, 0.13);
  border-color: rgba(226, 189, 101, 0.56);
  box-shadow:
    inset 0 0 1rem rgba(226, 189, 101, 0.08),
    0 0 0.95rem rgba(226, 189, 101, 0.1);
  animation: amberPanelFlicker 3.2s steps(8, end) infinite;
}

.gameplay-grid .channel-card--linked .channel-card__copy h3,
.gameplay-grid .channel-card--linked .channel-card__copy h3 a {
  color: var(--nc-gold-bright);
  text-shadow: 0 0 0.95rem rgba(226, 189, 101, 0.34);
  animation: amberTextFlicker 2.8s steps(8, end) infinite;
}

.gameplay-grid .channel-card--linked:hover,
.gameplay-grid .channel-card--linked:focus-within {
  border-color: rgba(255, 222, 142, 0.84);
  box-shadow:
    inset 0 0 1.25rem rgba(226, 189, 101, 0.12),
    0 0 1.1rem rgba(226, 189, 101, 0.16);
}

.channel-card__copy p {
  color: var(--nc-ink);
  font-size: 0.92rem;
  margin: 0.35rem 0 0;
  text-transform: none;
}

.nera-quotes {
  display: grid;
  gap: 0.8rem;
  justify-items: center;
  margin-top: 1rem;
}

.nera-quotes blockquote {
  color: var(--nc-ink);
  font-size: 1.32rem;
  font-style: italic;
  line-height: 1.12;
  margin: 0;
  text-transform: none;
}

.nera-quotes blockquote::before,
.nera-quotes blockquote::after {
  color: var(--nc-gold-bright);
  content: "\"";
}

.nera-quotes blockquote:nth-child(2)::before,
.nera-quotes blockquote:nth-child(2)::after {
  content: "";
}

.crt-static {
  background:
    radial-gradient(circle at 18% 24%, rgba(255, 255, 255, 0.16) 0 0.035rem, transparent 0.052rem),
    radial-gradient(circle at 61% 41%, rgba(255, 255, 255, 0.1) 0 0.03rem, transparent 0.05rem),
    radial-gradient(circle at 42% 78%, rgba(255, 255, 255, 0.13) 0 0.04rem, transparent 0.058rem),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.026) 0 1px, transparent 1px 4px);
  background-size: 0.32rem 0.32rem, 0.54rem 0.54rem, 0.78rem 0.78rem, 100% 4px;
  mix-blend-mode: screen;
  opacity: 0.12;
  z-index: 5;
  animation: staticDrift 1.7s steps(2, end) infinite;
}

.crt-scanlines {
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.24) 0 1px, rgba(255, 255, 255, 0.035) 1px 2px, transparent 2px 4px);
  opacity: 0.56;
  z-index: 7;
}

.crt-glass-reflection {
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.12) 0 12%, transparent 13% 52%, rgba(255, 255, 255, 0.04) 53%, transparent 65%),
    radial-gradient(ellipse at 50% 16%, rgba(255, 255, 255, 0.1), transparent 38%);
  mix-blend-mode: screen;
  opacity: 0.42;
  z-index: 8;
}

.crt-screen-flash,
.channel-transition {
  background:
    linear-gradient(0deg, transparent 0 42%, rgba(255, 255, 255, 0.82) 43% 48%, transparent 49% 100%),
    rgba(226, 189, 101, 0.18);
  opacity: 0;
  z-index: 6;
}

.night-cart-site.is-switching .crt-screen {
  animation: screenTwitch 520ms steps(4, end);
}

.night-cart-site.is-switching .crt-screen-flash,
.night-cart-site.is-switching .channel-transition {
  animation: channelFlash 520ms steps(5, end);
}

.night-cart-site.is-switching .crt-static {
  animation: staticBurst 520ms steps(5, end);
  opacity: 0.88;
}

.night-cart-site.is-switching .crt-background.is-active {
  animation: horizontalFlicker 520ms steps(4, end);
}

.night-cart-site.is-switching .channel-osd {
  animation: osdChannelPop 520ms steps(3, end);
}

.night-cart-site.is-switching .crt-lantern-glow {
  animation: lanternSwitchFlicker 520ms steps(6, end);
}

.crt-side-panel {
  display: none;
}

.crt-lantern {
  align-items: center;
  border: 1px solid rgba(201, 154, 53, 0.24);
  border-radius: 0.8rem;
  display: grid;
  justify-items: center;
  min-height: 6rem;
  position: relative;
}

.crt-lantern::before,
.crt-lantern::after {
  background: rgba(226, 189, 101, 0.38);
  content: "";
  position: absolute;
}

.crt-lantern::before {
  height: 4.2rem;
  width: 1px;
}

.crt-lantern::after {
  height: 1px;
  width: 4.2rem;
}

.crt-lantern span {
  background: radial-gradient(circle, #ffe6a2 0, #d99a2d 32%, rgba(217, 154, 45, 0.1) 68%, transparent 72%);
  border-radius: 50%;
  box-shadow: 0 0 1.4rem rgba(226, 148, 43, 0.72);
  display: block;
  height: 2.6rem;
  width: 2.6rem;
}

.crt-speaker {
  align-content: center;
  border: 1px solid rgba(201, 154, 53, 0.16);
  border-radius: 0.75rem;
  display: grid;
  gap: 0.45rem;
  padding: 0.8rem;
}

.crt-speaker span {
  background: rgba(0, 0, 0, 0.82);
  border-top: 1px solid rgba(226, 189, 101, 0.12);
  display: block;
  height: 0.45rem;
}

.crt-knob {
  background:
    radial-gradient(circle at 38% 32%, rgba(255, 255, 255, 0.16), transparent 18%),
    radial-gradient(circle, #2d251d 0 28%, #100d0b 29% 60%, #050404 61% 100%);
  border: 1px solid rgba(226, 189, 101, 0.32);
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 0.35rem rgba(0, 0, 0, 0.35),
    0 0.5rem 1rem rgba(0, 0, 0, 0.48);
  cursor: pointer;
  display: grid;
  height: 4.3rem;
  margin: 0 auto;
  padding: 0;
  place-items: center;
  transition: filter 160ms ease, transform 160ms ease;
  width: 4.3rem;
}

.crt-knob span {
  background: rgba(226, 189, 101, 0.54);
  display: block;
  height: 1px;
  transform: rotate(var(--knob-angle)) translateX(0.8rem);
  transform-origin: left center;
  transition: transform 220ms ease;
  width: 1.6rem;
}

.crt-knob--power {
  height: 3.2rem;
  width: 3.2rem;
}

.crt-knob:hover,
.crt-knob:focus-visible {
  filter: brightness(1.18);
  outline: none;
  transform: translateY(-1px);
}

.crt-bottom-panel {
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 35;
}

.crt-brand-plate,
.crt-status {
  display: none;
}

.brand-mark {
  align-items: center;
  border: 1px solid rgba(226, 189, 101, 0.42);
  color: var(--nc-gold-bright);
  display: inline-flex;
  font-family: var(--nc-font-ui);
  height: 2.1rem;
  justify-content: center;
  width: 2.1rem;
}

.crt-brand-plate strong,
.crt-status span:last-child {
  color: var(--nc-ink-dim);
  font-family: var(--nc-font-ui);
  font-size: 0.86rem;
  font-weight: 400;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  text-align: center;
}

.crt-controls {
  height: 13.5%;
  left: 27.4%;
  pointer-events: none;
  position: absolute;
  top: 80.2%;
  width: 37.4%;
}

.channel-arrow {
  align-items: center;
  aspect-ratio: 1 / 1;
  background: radial-gradient(circle, rgba(255, 244, 221, 0.92), rgba(224, 184, 121, 0.72) 48%, rgba(26, 19, 13, 0.78) 74%);
  border: 0;
  color: rgba(13, 10, 8, 0.82);
  cursor: pointer;
  display: grid;
  filter:
    brightness(1.18)
    saturate(1.06)
    drop-shadow(0 0 0.52rem rgba(255, 225, 174, 0.48))
    drop-shadow(0 0.22rem 0.16rem rgba(0, 0, 0, 0.72));
  font-family: Georgia, serif;
  font-size: clamp(0.78rem, 1.35vw, 1.45rem);
  height: 56%;
  justify-items: center;
  line-height: 1;
  opacity: 0.92;
  overflow: hidden;
  padding: 0;
  place-items: center;
  pointer-events: auto;
  position: absolute;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.42);
  top: 35%;
  transition: filter 170ms ease, opacity 170ms ease, transform 170ms ease;
  width: auto;
}

.channel-arrow__image,
.channel-arrow__light {
  display: block;
  height: 100%;
  inset: 0;
  object-fit: contain;
  pointer-events: none;
  position: absolute;
  width: 100%;
}

.channel-arrow__image {
  opacity: 0.98;
  z-index: 0;
}

.channel-arrow__light {
  filter:
    sepia(0.18)
    saturate(1.2)
    brightness(1.26)
    drop-shadow(0 0 0.36rem rgba(255, 223, 164, 0.52));
  mix-blend-mode: screen;
  opacity: 0.72;
  transition: filter 170ms ease, opacity 170ms ease;
  z-index: 1;
}

.channel-arrow span {
  display: block;
  transform: translateY(-0.02em) scaleX(1.18);
  z-index: 2;
}

.channel-arrow--prev {
  left: 7.8%;
}

.channel-audio-button--vol-down {
  left: 25.8%;
}

.channel-audio-button--mute {
  left: 43.8%;
}

.channel-audio-button--vol-up {
  left: 61.8%;
}

.channel-arrow--next {
  right: 5.4%;
}

.channel-audio-button span {
  color: rgba(14, 10, 7, 0.86);
  font-family: var(--nc-font-ui);
  font-size: clamp(0.34rem, 0.62vw, 0.66rem);
  line-height: 0.9;
  max-width: 72%;
  overflow-wrap: anywhere;
  transform: none;
}

.channel-audio-button--mute span {
  font-size: clamp(0.31rem, 0.56vw, 0.6rem);
}

.channel-audio-button.is-muted .channel-arrow__light {
  filter:
    sepia(0.42)
    saturate(0.5)
    brightness(0.2)
    drop-shadow(0 0 0.04rem rgba(255, 225, 174, 0.08));
  opacity: 0.08;
}

.channel-audio-button--mute.is-muted {
  filter:
    brightness(0.58)
    saturate(0.65)
    drop-shadow(0 0 0.05rem rgba(255, 225, 174, 0.08))
    drop-shadow(0 0.12rem 0.12rem rgba(0, 0, 0, 0.82));
  opacity: 0.84;
  transform: translateY(1px) scale(0.94);
}

.channel-audio-button--mute.is-muted:hover,
.channel-audio-button--mute.is-muted:focus-visible {
  filter:
    brightness(0.68)
    saturate(0.72)
    drop-shadow(0 0 0.08rem rgba(255, 225, 174, 0.12))
    drop-shadow(0 0.12rem 0.12rem rgba(0, 0, 0, 0.82));
}

.channel-arrow:hover,
.channel-arrow:focus-visible {
  filter:
    brightness(1.34)
    saturate(1.14)
    drop-shadow(0 0 0.7rem rgba(255, 225, 174, 0.58))
    drop-shadow(0 0.22rem 0.16rem rgba(0, 0, 0, 0.72));
  opacity: 1;
  outline: none;
}

.channel-arrow:hover .channel-arrow__light,
.channel-arrow:focus-visible .channel-arrow__light {
  filter:
    sepia(0.14)
    saturate(1.3)
    brightness(1.46)
    drop-shadow(0 0 0.5rem rgba(255, 226, 174, 0.66));
  opacity: 0.86;
}

.channel-arrow:active,
.channel-arrow.is-pressed {
  filter:
    brightness(0.72)
    saturate(0.78)
    drop-shadow(0 0 0.08rem rgba(255, 225, 174, 0.1))
    drop-shadow(0 0.12rem 0.12rem rgba(0, 0, 0, 0.82));
  opacity: 0.86;
  transform: translateY(1px) scale(0.96);
}

.channel-arrow:active .channel-arrow__light,
.channel-arrow.is-pressed .channel-arrow__light {
  filter:
    sepia(0.4)
    saturate(0.55)
    brightness(0.22)
    drop-shadow(0 0 0.04rem rgba(255, 225, 174, 0.08));
  opacity: 0.08;
}

.channel-readout {
  left: 34%;
  pointer-events: none;
  position: absolute;
  text-align: center;
  top: 6%;
  width: 32%;
}

.channel-readout span {
  color: var(--nc-ink-dim);
  font-family: var(--nc-font-ui);
  font-size: clamp(0.42rem, 0.7vw, 0.78rem);
  overflow-wrap: anywhere;
}

.channel-readout strong {
  color: var(--nc-gold-bright);
  font-family: var(--nc-font-ui);
  font-size: clamp(0.48rem, 0.78vw, 0.86rem);
  font-weight: 400;
  letter-spacing: 0;
}

.channel-osd {
  align-items: end;
  color: rgba(215, 242, 228, 0.92);
  display: grid;
  gap: 0.04rem;
  justify-items: end;
  opacity: 0.78;
  pointer-events: none;
  position: absolute;
  right: 2.1rem;
  text-align: right;
  text-shadow:
    0 0 0.28rem rgba(210, 255, 230, 0.34),
    0.08rem 0 rgba(255, 36, 36, 0.16),
    -0.08rem 0 rgba(60, 140, 255, 0.18);
  top: 1.25rem;
  z-index: 10;
}

.channel-osd span {
  color: rgba(215, 242, 228, 0.58);
  font-family: "Courier New", monospace;
  font-size: clamp(0.52rem, 0.75vw, 0.78rem);
  letter-spacing: 0.08em;
  line-height: 1;
}

.channel-osd strong {
  color: rgba(238, 255, 246, 0.96);
  font-family: "Courier New", monospace;
  font-size: clamp(1.6rem, 3.4vw, 3.05rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.84;
  position: relative;
}

.channel-osd strong::after {
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.26) 0 1px, transparent 1px 3px);
  content: "";
  inset: 0;
  mix-blend-mode: multiply;
  position: absolute;
}

.mute-osd,
.audio-osd {
  color: rgba(238, 255, 246, 0.96);
  left: 2.1rem;
  pointer-events: none;
  position: absolute;
  text-shadow:
    0 0 0.28rem rgba(210, 255, 230, 0.34),
    0.08rem 0 rgba(255, 36, 36, 0.16),
    -0.08rem 0 rgba(60, 140, 255, 0.18);
  top: 1.25rem;
  z-index: 10;
}

.mute-osd {
  height: 3.15rem;
  opacity: 0;
  transition: opacity 120ms steps(2, end);
  width: 3.4rem;
}

.mute-osd.is-muted {
  opacity: 0.88;
  animation: osdFlicker 1.8s steps(6, end) infinite;
}

.mute-icon {
  display: block;
  height: 100%;
  position: relative;
  width: 100%;
}

.mute-icon::before {
  background: currentColor;
  box-shadow: 0 0 0.26rem rgba(238, 255, 246, 0.22);
  clip-path: polygon(0 36%, 29% 36%, 68% 8%, 68% 92%, 29% 64%, 0 64%);
  content: "";
  height: 100%;
  left: 0.12rem;
  position: absolute;
  top: 0;
  width: 2.42rem;
}

.mute-icon span {
  background: currentColor;
  box-shadow: 0 0 0.24rem rgba(238, 255, 246, 0.26);
  height: 0.3rem;
  left: 0.04rem;
  position: absolute;
  top: 50%;
  transform: rotate(-42deg);
  transform-origin: center;
  width: 3.1rem;
}

.audio-osd {
  display: grid;
  font-family: "Courier New", monospace;
  gap: 0.1rem;
  opacity: 0;
  text-align: left;
  transform: translateY(-0.15rem);
  transition: opacity 110ms steps(2, end), transform 110ms steps(2, end);
  width: min(18rem, 42%);
}

.audio-osd.is-visible {
  opacity: 0.96;
  transform: translateY(0);
}

.audio-osd__label {
  font-size: clamp(1.15rem, 2.8vw, 2.35rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.82;
}

.audio-osd__ticks {
  align-items: center;
  display: grid;
  gap: 0.16rem;
  grid-template-columns: repeat(16, minmax(0, 1fr));
  max-width: 16.5rem;
  width: 100%;
}

.audio-osd__ticks span {
  background: rgba(238, 255, 246, 0.26);
  display: block;
  height: clamp(0.38rem, 0.9vw, 0.72rem);
  min-width: 0;
  opacity: 0.64;
  position: relative;
}

.audio-osd__ticks span:not(.is-on) {
  background: transparent;
}

.audio-osd__ticks span:not(.is-on)::after {
  background: rgba(238, 255, 246, 0.88);
  content: "";
  height: 0.18rem;
  left: 12%;
  position: absolute;
  right: 12%;
  top: 50%;
  transform: translateY(-50%);
}

.audio-osd__ticks span.is-on {
  background: rgba(238, 255, 246, 0.98);
  box-shadow: 0 0 0.2rem rgba(238, 255, 246, 0.18);
  opacity: 0.98;
}

.mobile-swipe-hint {
  display: none;
}

.channel-selector-row {
  display: flex;
  gap: 0.35rem;
  justify-content: center;
  left: 37%;
  min-width: 0;
  opacity: 0;
  pointer-events: auto;
  position: absolute;
  top: 48%;
  width: 26%;
}

.channel-selector {
  background: rgba(0, 0, 0, 0.42);
  border: 1px solid rgba(226, 189, 101, 0.22);
  color: var(--nc-ink-dim);
  cursor: pointer;
  font-family: var(--nc-font-ui);
  font-size: 0.78rem;
  height: 1.35rem;
  padding: 0;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
  width: 2.3rem;
}

.channel-selector.is-active,
.channel-selector:hover,
.channel-selector:focus-visible {
  background: rgba(226, 189, 101, 0.14);
  border-color: rgba(226, 189, 101, 0.66);
  color: var(--nc-white);
  outline: none;
}

.power-light {
  background: #ec5f22;
  border-radius: 50%;
  box-shadow: 0 0 0.8rem rgba(236, 95, 34, 0.85);
  display: block;
  flex: 0 0 auto;
  height: 0.8rem;
  width: 0.8rem;
}

.image-lightbox {
  display: block;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transition: opacity 180ms ease, visibility 180ms ease;
  visibility: hidden;
  z-index: 6;
}

.image-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.image-lightbox__backdrop {
  background:
    radial-gradient(ellipse at center, rgba(7, 10, 16, 0.18), rgba(0, 0, 0, 0.76)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 4px);
  border: 0;
  cursor: zoom-out;
  inset: 0;
  padding: 0;
  position: absolute;
}

.image-lightbox__frame {
  background: rgba(3, 4, 7, 0.72);
  border: 1px solid rgba(226, 189, 101, 0.32);
  box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.46);
  display: grid;
  height: calc(100% - 1.4rem);
  left: 0.7rem;
  margin: 0;
  padding: 0.7rem;
  pointer-events: auto;
  position: absolute;
  top: 0.7rem;
  width: calc(100% - 1.4rem);
  z-index: 1;
}

.image-lightbox__image {
  background: #05070c;
  display: block;
  height: 100%;
  min-height: 0;
  min-width: 0;
  object-fit: contain;
  pointer-events: none;
  width: 100%;
}

.image-lightbox__caption {
  background: linear-gradient(90deg, transparent, rgba(3, 4, 7, 0.88), transparent);
  bottom: 0.65rem;
  color: var(--nc-gold-bright);
  font-family: var(--nc-font-ui);
  font-size: clamp(0.72rem, 1vw, 1rem);
  left: 50%;
  letter-spacing: 0;
  margin: 0;
  max-width: 82%;
  padding: 0.2rem 1rem;
  position: absolute;
  text-align: center;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.image-lightbox__close {
  align-items: center;
  background: rgba(3, 4, 7, 0.9);
  border: 1px solid rgba(226, 189, 101, 0.5);
  color: var(--nc-gold-bright);
  cursor: pointer;
  display: grid;
  font-family: Georgia, serif;
  font-size: 1.6rem;
  height: 2.25rem;
  line-height: 1;
  padding: 0;
  place-items: center;
  pointer-events: auto;
  position: absolute;
  right: 0.7rem;
  top: 0.7rem;
  width: 2.25rem;
  z-index: 2;
}

.image-lightbox__close:hover,
.image-lightbox__close:focus-visible {
  background: rgba(226, 189, 101, 0.18);
  color: var(--nc-white);
  outline: none;
}

@keyframes staticDrift {
  0% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-1%, 1%);
  }
  100% {
    transform: translate(1%, -1%);
  }
}

@keyframes crtNoiseShift {
  0% {
    background-position: 0 0, 0 0, 0 0, 0 0, 0 0;
    transform: translate(0, 0) scale(1.01);
  }
  25% {
    background-position: 3px -2px, -4px 2px, 5px -3px, -6px 4px, 0 4px;
    transform: translate(-1%, 0.5%) scale(1.012);
  }
  50% {
    background-position: -2px 4px, 5px -3px, -4px 6px, 7px -5px, 0 -4px;
    transform: translate(0.8%, -0.6%) scale(1.01);
  }
  75% {
    background-position: 4px 1px, -2px -4px, 6px 2px, -7px -3px, 0 8px;
    transform: translate(-0.4%, -0.8%) scale(1.013);
  }
  100% {
    background-position: -3px -3px, 4px 3px, -5px -2px, 8px 4px, 0 -8px;
    transform: translate(0.5%, 0.7%) scale(1.01);
  }
}

@keyframes crtLoadBar {
  0% {
    transform: scaleX(0.06);
    opacity: 0.6;
  }
  55% {
    transform: scaleX(0.76);
    opacity: 1;
  }
  100% {
    transform: scaleX(1);
    opacity: 0.72;
  }
}

@keyframes staticBurst {
  0% {
    opacity: 0.9;
    transform: translate(0, 0);
  }
  24% {
    opacity: 0.42;
    transform: translate(2%, -1%);
  }
  48% {
    opacity: 0.96;
    transform: translate(-2%, 1%);
  }
  100% {
    opacity: 0.12;
    transform: translate(0, 0);
  }
}

@keyframes channelFlash {
  0% {
    opacity: 0;
    transform: translateY(-24%);
  }
  20% {
    opacity: 0.78;
    transform: translateY(4%);
  }
  44% {
    opacity: 0.18;
    transform: translateY(36%);
  }
  100% {
    opacity: 0;
    transform: translateY(0);
  }
}

@keyframes horizontalFlicker {
  0% {
    transform: translateX(0) scale(1.015);
  }
  26% {
    transform: translateX(-1.8%) scale(1.02);
  }
  52% {
    transform: translateX(1.2%) scale(1.01);
  }
  100% {
    transform: translateX(0) scale(1);
  }
}

@keyframes screenTwitch {
  0% {
    filter: brightness(1);
  }
  30% {
    filter: brightness(1.5) contrast(1.25);
  }
  68% {
    filter: brightness(0.72) contrast(1.38);
  }
  100% {
    filter: brightness(1);
  }
}

@keyframes osdChannelPop {
  0% {
    opacity: 0;
    transform: translateY(-0.18rem) skewX(-8deg);
  }
  18% {
    opacity: 0.96;
    transform: translateY(0.12rem) skewX(5deg);
  }
  46% {
    opacity: 0.34;
    transform: translateY(-0.04rem) skewX(-3deg);
  }
  100% {
    opacity: 0.78;
    transform: translateY(0) skewX(0);
  }
}

@keyframes osdFlicker {
  0%,
  100% {
    filter: brightness(1);
    transform: translate(0, 0);
  }
  18% {
    filter: brightness(1.34);
    transform: translate(0.04rem, -0.02rem);
  }
  36% {
    filter: brightness(0.74);
    transform: translate(-0.03rem, 0.02rem);
  }
  58% {
    filter: brightness(1.12);
    transform: translate(0.02rem, 0);
  }
}

@keyframes amberTextFlicker {
  0%,
  100% {
    opacity: 0.96;
    text-shadow: 0 0 0.5rem rgba(226, 189, 101, 0.22);
  }
  18% {
    opacity: 0.72;
    text-shadow: 0 0 0.22rem rgba(226, 189, 101, 0.12);
  }
  20% {
    opacity: 1;
    text-shadow: 0 0 0.85rem rgba(255, 223, 146, 0.36);
  }
  48% {
    opacity: 0.84;
  }
  52% {
    opacity: 1;
    text-shadow: 0 0 1.05rem rgba(226, 189, 101, 0.42);
  }
  74% {
    opacity: 0.78;
  }
  78% {
    opacity: 0.98;
  }
}

@keyframes amberPanelFlicker {
  0%,
  100% {
    background: rgba(201, 154, 53, 0.13);
    border-color: rgba(226, 189, 101, 0.48);
    box-shadow:
      inset 0 0 1rem rgba(226, 189, 101, 0.06),
      0 0 0.9rem rgba(226, 189, 101, 0.08);
  }
  17% {
    background: rgba(201, 154, 53, 0.08);
    border-color: rgba(226, 189, 101, 0.28);
    box-shadow:
      inset 0 0 0.6rem rgba(226, 189, 101, 0.03),
      0 0 0.4rem rgba(226, 189, 101, 0.04);
  }
  20%,
  54% {
    background: rgba(226, 189, 101, 0.18);
    border-color: rgba(255, 222, 142, 0.76);
    box-shadow:
      inset 0 0 1.35rem rgba(226, 189, 101, 0.1),
      0 0 1.1rem rgba(226, 189, 101, 0.16);
  }
  73% {
    border-color: rgba(226, 189, 101, 0.36);
  }
  76% {
    border-color: rgba(255, 222, 142, 0.72);
  }
}

@keyframes amberBorderFlicker {
  0%,
  100% {
    border-color: rgba(201, 154, 53, 0.34);
    box-shadow:
      inset 0 0 0.9rem rgba(226, 189, 101, 0.04),
      0 0 0.65rem rgba(226, 189, 101, 0.04);
  }
  22% {
    border-color: rgba(201, 154, 53, 0.22);
  }
  25%,
  57% {
    border-color: rgba(226, 189, 101, 0.56);
    box-shadow:
      inset 0 0 1rem rgba(226, 189, 101, 0.08),
      0 0 0.9rem rgba(226, 189, 101, 0.09);
  }
  79% {
    border-color: rgba(201, 154, 53, 0.26);
  }
  82% {
    border-color: rgba(226, 189, 101, 0.5);
  }
}

@keyframes amberLineFlicker {
  0%,
  100% {
    opacity: 0.7;
    filter: brightness(0.95);
  }
  30% {
    opacity: 0.38;
    filter: brightness(0.72);
  }
  34%,
  62% {
    opacity: 1;
    filter: brightness(1.35);
  }
  86% {
    opacity: 0.52;
  }
  90% {
    opacity: 0.94;
  }
}

@keyframes contentArrive {
  0% {
    opacity: 0;
    transform: translateX(-0.8rem);
  }
  46% {
    opacity: 0.3;
    transform: translateX(0.6rem);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes lanternIdle {
  0%,
  100% {
    opacity: 0.44;
    filter: blur(0.08rem) brightness(0.9);
  }
  45% {
    opacity: 0.62;
    filter: blur(0.1rem) brightness(1.18);
  }
  70% {
    opacity: 0.5;
    filter: blur(0.08rem) brightness(0.98);
  }
}

@keyframes lanternSwitchFlicker {
  0% {
    opacity: 0.22;
    filter: blur(0.08rem) brightness(0.65);
    transform: scale(0.96);
  }
  18% {
    opacity: 0.9;
    filter: blur(0.12rem) brightness(1.75);
    transform: scale(1.03);
  }
  34% {
    opacity: 0.34;
    filter: blur(0.07rem) brightness(0.8);
    transform: scale(0.98);
  }
  52% {
    opacity: 0.82;
    filter: blur(0.11rem) brightness(1.5);
    transform: scale(1.02);
  }
  74% {
    opacity: 0.42;
    filter: blur(0.08rem) brightness(0.92);
    transform: scale(0.99);
  }
  100% {
    opacity: 0.56;
    filter: blur(0.09rem) brightness(1.1);
    transform: scale(1);
  }
}

@media (max-width: 1120px) {
  .crt-frame {
    grid-template-columns: minmax(0, 1fr) 8.6rem;
    grid-template-rows: minmax(0, 1fr) 6.4rem;
    padding: 1.1rem;
  }

  .crt-screen-bezel {
    padding: 0.85rem;
  }

  .channel-content {
    padding: 2.4rem 2.8rem;
  }

  .channel-title {
    font-size: 3.7rem;
  }

  .channel-title--home {
    font-size: 4.7rem;
  }

  .channel-title--compact {
    font-size: 2.65rem;
  }

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

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

  .crt-bottom-panel {
    grid-template-columns: 12rem minmax(0, 1fr) 13rem;
  }
}

@media (max-width: 760px) {
  .night-cart-page-frame {
    overflow: auto;
  }

  .night-cart-site {
    min-height: 100dvh;
    overflow: visible;
    padding: 0.65rem 0.65rem 3.4rem;
  }

  .crt-stage {
    justify-items: center;
  }

  .external-links {
    bottom: 0.65rem;
    display: block;
    font-size: 0.78rem;
    left: 0;
    position: fixed;
    right: 0;
    transform: none;
    width: auto;
    z-index: 50;
  }

  .external-links a {
    position: fixed;
    text-align: center;
  }

  .external-links a:nth-child(1) {
    bottom: 0.65rem;
    left: 0.75rem;
  }

  .external-links a:nth-child(2) {
    bottom: 0.65rem;
    left: 35%;
    transform: translateX(-50%);
  }

  .external-links a:nth-child(3) {
    bottom: 0.65rem;
    left: 64%;
    transform: translateX(-50%);
  }

  .external-links a:nth-child(4) {
    bottom: 0.65rem;
    left: 78vw;
    margin-left: 0;
    right: auto;
  }

  .external-links a:nth-child(5) {
    bottom: 0.65rem;
    right: 0.75rem;
  }

  .crt-frame {
    aspect-ratio: 1234 / 901;
    max-width: 1234px;
    overflow: visible;
    padding: 0;
    width: min(94vw, 1234px, calc((100dvh - 5rem) * 1.369));
  }

  .crt-screen-bezel {
    height: 64.93%;
    left: 6.65%;
    padding: 0;
    position: absolute;
    top: 10.1%;
    width: 73.26%;
  }

  .crt-screen {
    border-radius: 1.1rem / 1.45rem;
  }

  .channel-content {
    padding: 1.25rem;
  }

  .channel-content--nera,
  .channel-content--gameplay,
  .channel-content--locations,
  .channel-content--wishlist {
    align-items: center;
    justify-items: start;
    text-align: left;
  }

  .channel-content--nera .channel-copy {
    background: rgba(2, 3, 5, 0.7);
    max-width: none;
    padding: 1rem;
    width: 100%;
  }

  .channel-title {
    font-size: 2.35rem;
    line-height: 0.96;
    margin-bottom: 0.65rem;
  }

  .channel-title--home {
    font-size: 3.2rem;
  }

  .channel-title--compact {
    font-size: 2rem;
  }

  .channel-badge,
  .channel-eyebrow {
    font-size: 0.82rem;
    margin-bottom: 0.45rem;
  }

  .channel-subtitle {
    font-size: 1rem;
    margin-bottom: 0.75rem;
  }

  .channel-body,
  .nera-quotes blockquote {
    font-size: 0.98rem;
  }

  .channel-actions {
    gap: 0.45rem;
    margin-top: 0.8rem;
  }

  .cta-button {
    font-size: 0.9rem;
    min-height: 2.35rem;
    padding: 0.4rem 0.62rem;
  }

  .road-thumbs,
  .gameplay-grid,
  .location-grid {
    gap: 0.45rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 0.7rem;
  }

  .gameplay-grid {
    gap: 0.7rem;
    grid-template-columns: 1fr;
  }

  .gameplay-grid .channel-card {
    min-height: 3.8rem;
    padding: 0.82rem 2rem 0.65rem 0.65rem;
  }

  .channel-card__connector {
    bottom: -0.7rem;
    height: 0.7rem;
    left: 50%;
    right: auto;
    top: auto;
    transform: translateX(-50%);
    width: 1px;
  }

  .channel-card__connector::after {
    bottom: 0;
    left: 50%;
    right: auto;
    top: auto;
    transform: translateX(-50%) rotate(135deg);
  }

  .channel-card {
    padding: 0.5rem;
  }

  .road-thumbs .channel-card,
  .location-grid .channel-card {
    padding: 0.32rem 0.32rem 0.5rem;
  }

  .channel-card__copy h3 {
    font-size: 0.78rem;
  }

  .channel-card__copy p,
  .crt-brand-plate strong,
  .crt-status span:last-child,
  .channel-readout span {
    font-size: 0.72rem;
  }

  .crt-side-panel {
    display: none;
  }

  .crt-lantern {
    min-height: 3.6rem;
  }

  .crt-lantern span {
    height: 1.8rem;
    width: 1.8rem;
  }

  .crt-speaker {
    gap: 0.25rem;
    padding: 0.5rem;
  }

  .crt-speaker span {
    height: 0.28rem;
  }

  .crt-knob {
    height: 3rem;
    width: 3rem;
  }

  .crt-knob--power {
    height: 2.55rem;
    width: 2.55rem;
  }

  .crt-bottom-panel {
    inset: 0;
    overflow: visible;
    padding: 0;
    position: absolute;
    width: auto;
  }

  .crt-brand-plate,
  .crt-status {
    min-height: 2.7rem;
    padding: 0.45rem;
  }

  .brand-mark {
    height: 1.7rem;
    width: 1.7rem;
  }

  .channel-arrow {
    height: 54%;
    width: auto;
  }

  .channel-osd {
    right: 0.8rem;
    top: 0.58rem;
  }

  .mute-osd,
  .audio-osd {
    left: 0.8rem;
    top: 0.58rem;
  }

  .audio-osd {
    width: 42%;
  }

  .channel-selector {
    width: 2rem;
  }

  .image-lightbox__frame {
    height: calc(100% - 0.7rem);
    left: 0.35rem;
    padding: 0.35rem;
    top: 0.35rem;
    width: calc(100% - 0.7rem);
  }

  .image-lightbox__caption {
    bottom: 0.35rem;
    font-size: 0.72rem;
  }
}

@media (max-width: 420px) {
  .crt-frame {
    width: 94vw;
  }

  .channel-content {
    padding: 0.8rem;
  }

  .channel-title--home {
    font-size: 2.25rem;
  }

  .channel-title {
    font-size: 1.8rem;
  }

  .channel-title--compact {
    font-size: 1.65rem;
  }

  .channel-subtitle {
    font-size: 0.84rem;
    margin-bottom: 0.45rem;
  }

  .cta-button {
    font-size: 0.72rem;
    min-height: 1.8rem;
    padding: 0.28rem 0.42rem;
  }

  .road-thumbs,
  .gameplay-grid,
  .location-grid {
    grid-template-columns: 1fr;
  }

  .gameplay-grid .channel-card:nth-child(5) {
    grid-column: auto;
  }

  .road-thumbs .channel-card,
  .location-grid .channel-card {
    align-items: center;
    display: grid;
    gap: 0.42rem;
    grid-template-columns: minmax(4.2rem, 38%) minmax(0, 1fr);
  }

  .road-thumbs .channel-card--with-image .channel-card__copy,
  .location-grid .channel-card--with-image .channel-card__copy {
    padding-top: 0;
  }

  .road-thumbs .channel-card__image,
  .location-grid .channel-card__image {
    aspect-ratio: 1.32 / 1;
    display: block;
    min-height: 3.1rem;
  }

  .road-thumbs .channel-card__copy h3,
  .location-grid .channel-card__copy h3 {
    font-size: 0.66rem;
  }

  .road-thumbs .channel-card__copy p,
  .location-grid .channel-card__copy p {
    font-size: 0.64rem;
    line-height: 1.05;
    margin-top: 0.18rem;
  }
}

@media (max-width: 600px), (max-height: 520px) and (pointer: coarse) {
  .night-cart-page-frame {
    min-height: 100dvh;
    overflow: hidden;
  }

  .night-cart-page-frame::after {
    background: radial-gradient(ellipse at center, transparent 36%, rgba(0, 0, 0, 0.78) 100%);
  }

  .night-cart-site {
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: hidden;
    padding: 0;
    place-items: stretch;
  }

  .crt-stage {
    height: 100%;
    place-items: stretch;
  }

  .crt-frame {
    aspect-ratio: auto;
    filter: none;
    height: 100vh;
    height: 100dvh;
    max-width: none;
    overflow: hidden;
    width: 100vw;
    width: 100dvw;
  }

  .crt-frame-art,
  .crt-lantern-glow,
  .crt-side-panel,
  .crt-bottom-panel {
    display: none;
  }

  .crt-screen-bezel {
    height: 100%;
    inset: 0;
    left: 0;
    max-width: none;
    padding: 0;
    top: 0;
    width: 100%;
  }

  .crt-screen {
    border-radius: 0;
    box-shadow:
      inset 0 0 5rem rgba(0, 0, 0, 0.8),
      inset 0 0 0 1px rgba(226, 189, 101, 0.08);
    height: 100%;
    width: 100%;
  }

  .channel-content {
    padding:
      max(1rem, env(safe-area-inset-top))
      max(1rem, env(safe-area-inset-right))
      calc(max(1rem, env(safe-area-inset-bottom)) + 4.25rem)
      max(1rem, env(safe-area-inset-left));
  }

  .channel-content--home .channel-copy,
  .channel-content--wishlist .channel-copy,
  .channel-content--gameplay .channel-copy,
  .channel-content--locations .channel-copy {
    max-width: none;
    width: 100%;
  }

  .channel-content[data-channel-id="trailer" i] .channel-copy {
    max-width: min(22rem, 74vw);
    width: auto;
  }

  .channel-content[data-channel-id="trailer" i] {
    padding-bottom: calc(max(0.8rem, env(safe-area-inset-bottom)) + 2.75rem);
  }

  .channel-title {
    font-size: clamp(2.35rem, 11vw, 4.2rem);
  }

  .channel-title--home {
    font-size: clamp(3.4rem, 17vw, 5.2rem);
  }

  .channel-title--compact {
    font-size: clamp(2.25rem, 10vw, 3.7rem);
  }

  .channel-content[data-channel-id="trailer" i] .channel-title--compact {
    font-size: clamp(1.9rem, 8.6vw, 2.5rem);
  }

  .channel-subtitle {
    font-size: clamp(1rem, 4.2vw, 1.35rem);
  }

  .channel-body,
  .nera-quotes blockquote {
    font-size: clamp(1rem, 4vw, 1.22rem);
  }

  .cta-button {
    font-size: clamp(0.9rem, 3.8vw, 1.08rem);
    min-height: 2.45rem;
    padding: 0.48rem 0.72rem;
  }

  .road-thumbs,
  .gameplay-grid,
  .location-grid {
    gap: 0.55rem;
    grid-template-columns: 1fr;
    margin-top: 0.9rem;
  }

  .road-thumbs .channel-card,
  .location-grid .channel-card {
    gap: 0.55rem;
    grid-template-columns: minmax(5.7rem, 34%) minmax(0, 1fr);
    padding: 0.42rem;
  }

  .road-thumbs .channel-card__image,
  .location-grid .channel-card__image {
    min-height: 4.25rem;
  }

  .road-thumbs .channel-card__copy h3,
  .location-grid .channel-card__copy h3 {
    font-size: clamp(0.78rem, 3.4vw, 1rem);
  }

  .road-thumbs .channel-card__copy p,
  .location-grid .channel-card__copy p {
    font-size: clamp(0.74rem, 3.1vw, 0.92rem);
    line-height: 1.08;
  }

  .channel-osd {
    right: max(0.8rem, env(safe-area-inset-right));
    top: max(0.7rem, env(safe-area-inset-top));
  }

  .mute-osd,
  .audio-osd {
    left: max(0.8rem, env(safe-area-inset-left));
    top: max(0.7rem, env(safe-area-inset-top));
  }

  .audio-osd {
    width: min(15rem, 54vw);
  }

  .mobile-swipe-hint {
    animation: mobileHintPulse 2.8s ease-in-out infinite;
    bottom: calc(max(1rem, env(safe-area-inset-bottom)) + 2.4rem);
    color: rgba(226, 189, 101, 0.92);
    display: block;
    font-family: var(--nc-font-ui);
    font-size: clamp(0.76rem, 3.2vw, 0.92rem);
    left: max(1rem, env(safe-area-inset-left));
    letter-spacing: 0;
    pointer-events: none;
    position: absolute;
    right: max(1rem, env(safe-area-inset-right));
    text-align: center;
    text-shadow:
      0 0 0.8rem rgba(226, 189, 101, 0.28),
      0 2px 0 rgba(0, 0, 0, 0.62);
    z-index: 12;
  }

  .night-cart-site.has-changed-channel .mobile-swipe-hint {
    display: none;
  }

  .external-links {
    align-items: end;
    bottom: max(0.75rem, env(safe-area-inset-bottom));
    display: grid;
    font-size: clamp(0.78rem, 3.4vw, 0.96rem);
    gap: 0.25rem;
    grid-template-columns: repeat(auto-fit, minmax(3.5rem, 1fr));
    left: max(0.55rem, env(safe-area-inset-left));
    right: max(0.55rem, env(safe-area-inset-right));
    transform: none;
    width: auto;
    z-index: 12;
  }

  .external-links a {
    display: block;
    font-size: clamp(0.68rem, 3vw, 0.82rem);
    left: auto !important;
    margin-left: 0;
    min-width: 0;
    position: static;
    right: auto !important;
    text-align: center;
    transform: none !important;
    white-space: normal;
    width: auto;
  }
}

@keyframes mobileHintPulse {
  0%,
  100% {
    opacity: 0.38;
  }
  45% {
    opacity: 0.92;
  }
  70% {
    opacity: 0.58;
  }
}

@media (prefers-reduced-motion: reduce) {
  .night-cart-site *,
  .night-cart-site *::before,
  .night-cart-site *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}
