﻿:root {
  --emerald: #22ff77;
  --emerald-soft: rgba(34, 255, 119, 0.42);
  --emerald-dim: rgba(34, 255, 119, 0.2);
  --bg: #050505;
  --ink: #f4f4f4;
  --muted: #c4c4c4;
  --line: #1b1b1b;
  --panel-a: #0d0d0d;
  --panel-b: #060606;
  --nav-h: 62px;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
}

body {
  color: var(--ink);
  font-family: "Trebuchet MS", "Lucida Sans Unicode", "Tahoma", sans-serif;
  letter-spacing: 0.2px;
  background-color: var(--bg);
  background-image:
    radial-gradient(1px 1px at 12% 20%, rgba(255, 255, 255, 0.55) 49%, transparent 51%),
    radial-gradient(1px 1px at 80% 12%, rgba(255, 255, 255, 0.35) 49%, transparent 51%),
    radial-gradient(2px 2px at 32% 68%, rgba(255, 255, 255, 0.25) 49%, transparent 51%),
    radial-gradient(1px 1px at 62% 46%, rgba(255, 255, 255, 0.4) 49%, transparent 51%),
    radial-gradient(1px 1px at 91% 76%, rgba(255, 255, 255, 0.6) 49%, transparent 51%),
    linear-gradient(180deg, #070707 0%, #040404 40%, #010101 100%);
  background-attachment: fixed;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='2' seed='9'/></filter><rect width='180' height='180' filter='url(%23n)' opacity='.45'/></svg>");
  mix-blend-mode: screen;
  opacity: 0.14;
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(130% 100% at 50% 12%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.64) 68%, rgba(0, 0, 0, 0.92) 100%);
  pointer-events: none;
  z-index: 0;
}

a {
  color: var(--emerald);
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 1px solid var(--emerald);
  outline-offset: 2px;
}

.app-topnav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 5;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(8, 8, 8, 0.96), rgba(5, 5, 5, 0.94));
  backdrop-filter: blur(4px);
}

.topnav-inner {
  height: 100%;
  width: min(1400px, 96vw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
}

.brand {
  font-family: "Lucida Console", "Courier New", monospace;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-size: 12px;
  color: var(--ink);
  text-shadow: 0 0 4px var(--emerald-dim);
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 36px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.4);
  color: var(--emerald);
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  padding: 0;
}

.nav-toggle-line {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--emerald);
  box-shadow: 0 0 5px var(--emerald-dim);
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  border-color: var(--emerald);
  box-shadow: 0 0 10px var(--emerald-dim);
}

.topnav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
}

.topnav-menu,
.topnav-inner nav {
  max-width: 72%;
  overflow-x: auto;
}

.topnav-links a {
  display: inline-block;
  padding: 6px 9px;
  border: 1px solid transparent;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: "Lucida Console", "Courier New", monospace;
  font-size: 11px;
  color: var(--emerald);
}

.topnav-links a[aria-current="page"],
.topnav-links a:hover,
.topnav-links a:focus-visible {
  border-color: var(--emerald);
  box-shadow: 0 0 10px var(--emerald-dim);
}

.app-shell {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.app-scroll {
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
  padding: 14px 0 22px;
}

.app-scroll::-webkit-scrollbar {
  width: 10px;
}

.app-scroll::-webkit-scrollbar-track {
  background: #0a0a0a;
}

.app-scroll::-webkit-scrollbar-thumb {
  background: #1c1c1c;
  border: 1px solid #111;
}

.app-scroll::-webkit-scrollbar-thumb:hover {
  background: #262626;
}

.stage {
  position: relative;
  width: min(1320px, 97vw);
  margin: 0 auto;
  display: flex;
  gap: 18px;
  align-items: stretch;
}

.left-panel {
  width: 332px;
  flex: 0 0 332px;
  padding: 14px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #0b0b0b 0%, #060606 50%, #050505 100%);
  box-shadow: 0 0 26px rgba(0, 0, 0, 0.82);
}

.poster {
  display: block;
  width: 100%;
  border: 1px solid #202020;
  background: #000;
  padding: 6px;
  box-shadow:
    inset 0 0 0 1px #0b0b0b,
    0 0 0 1px #2a2a2a,
    0 0 18px rgba(0, 0, 0, 0.75),
    0 0 18px rgba(34, 255, 119, 0.08);
  object-fit: cover;
}

.marks {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.mark {
  width: 40px;
  height: 40px;
}

.left-meta {
  margin-top: 10px;
  border-top: 1px solid var(--line);
  padding-top: 8px;
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  line-height: 1.45;
}

.frame-strip {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.right-panel {
  flex: 1;
  position: relative;
  overflow: hidden;
  border: 1px solid #1f1f1f;
  background: linear-gradient(180deg, var(--panel-a) 0%, var(--panel-b) 40%, #070707 100%);
  box-shadow: 0 0 34px rgba(0, 0, 0, 0.84), inset 0 0 56px rgba(0, 0, 0, 0.75);
  padding: 16px 16px 18px;
  min-height: calc(100dvh - 92px);
}

.right-panel::before {
  content: "";
  position: absolute;
  inset: -30px;
  background: repeating-linear-gradient(122deg, rgba(255, 255, 255, 0.045) 0, rgba(255, 255, 255, 0.015) 2px, rgba(0, 0, 0, 0) 6px);
  animation: rain-sheen 10s linear infinite;
  opacity: 0.13;
  pointer-events: none;
}

.right-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.03) 0, rgba(0, 0, 0, 0) 2px, rgba(0, 0, 0, 0) 4px);
  opacity: 0.16;
  pointer-events: none;
}

.right-panel > * {
  position: relative;
  z-index: 1;
}

.header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-end;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
  margin-bottom: 12px;
}

.home-page .header {
  justify-content: center;
  text-align: center;
}

.home-page .title-wrap {
  width: 100%;
}

.site-title {
  margin: 0;
  font-family: "Lucida Console", "Courier New", monospace;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 29px;
  color: #f5f5f5;
  text-shadow: 0 0 5px var(--emerald), 0 0 14px var(--emerald-soft);
  filter: blur(0.15px);
}

.home-page .site-title {
  font-size: clamp(32px, 5vw, 42px);
  letter-spacing: 2.4px;
}

.site-subtitle {
  margin: 4px 0 0;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
}

.producer-credit {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.release-countdown {
  margin: 9px 0 0;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
}

#release-countdown {
  color: var(--emerald);
  text-shadow: 0 0 8px var(--emerald-dim);
}

.release-date {
  color: var(--muted);
}

.content {
  font-size: 15px;
  line-height: 1.68;
}

.content p {
  margin: 0 0 10px;
  color: #e8e8e8;
}

.block {
  margin-top: 10px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.56), rgba(0, 0, 0, 0.2));
  padding: 13px;
}

.intro-block {
  margin-top: 0;
}

h2 {
  margin: 0 0 8px;
  font-family: "Lucida Console", "Courier New", monospace;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #f2f2f2;
}

h3 {
  margin: 0;
}

.spaced {
  margin-top: 12px;
}

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

.linklist,
.transmission-list,
.spec-list,
.chip-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.linklist li,
.transmission-list li,
.spec-list li {
  margin: 6px 0;
}

.linklist.small a {
  word-break: break-all;
}

.spec-list span {
  color: var(--ink);
  font-weight: 700;
}

.spec-list li {
  line-height: 1.65;
}

.quick-nav-grid {
  margin-top: 8px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.quick-link {
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.44);
  padding: 10px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 82px;
}

.quick-link:hover,
.quick-link:focus-visible {
  border-color: var(--emerald);
  box-shadow: 0 0 12px rgba(34, 255, 119, 0.16);
}

.ql-title {
  color: var(--emerald);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: "Lucida Console", "Courier New", monospace;
  font-size: 12px;
}

.ql-meta {
  color: var(--muted);
  font-size: 12px;
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip-list a {
  display: inline-block;
  padding: 4px 8px;
  border: 1px solid var(--emerald);
  background: rgba(0, 0, 0, 0.34);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 11px;
}

.chip-list a:hover,
.chip-list a:focus-visible {
  box-shadow: 0 0 10px var(--emerald-dim);
}

.banner-ad {
  border-color: var(--emerald-dim);
}

.promo-grid {
  margin-top: 8px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.promo-card {
  display: block;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.42);
  padding: 10px;
  text-decoration: none;
  color: var(--ink);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.promo-card:hover,
.promo-card:focus-visible {
  border-color: var(--emerald);
  box-shadow: 0 0 12px rgba(34, 255, 119, 0.16);
}

.promo-card h3 {
  margin: 4px 0 6px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 13px;
  color: var(--ink);
}

.promo-card p {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}

.rss-grid {
  margin-top: 8px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.rss-card {
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.42);
  overflow: hidden;
  display: flex;
}

.rss-card a {
  display: flex;
  flex-direction: column;
  width: 100%;
  text-decoration: none;
}

.rss-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #050505;
  padding: 6px;
  filter: grayscale(100%) contrast(1.05);
  border-bottom: 1px solid var(--line);
}

.rss-card h3 {
  margin: 0;
  padding: 10px;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--ink);
}

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

.social-panel {
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.34);
  padding: 10px;
}

.social-grid {
  display: grid;
  gap: 8px;
}

.social-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid #2a2a2a;
  background: rgba(0, 0, 0, 0.42);
  padding: 8px 10px;
  text-decoration: none;
}

.social-chip:hover,
.social-chip:focus-visible {
  border-color: var(--emerald);
  box-shadow: 0 0 10px var(--emerald-dim);
}

.social-name {
  color: var(--ink);
  text-transform: uppercase;
  font-family: "Lucida Console", "Courier New", monospace;
  font-size: 11px;
  letter-spacing: 0.9px;
}

.social-url {
  color: var(--muted);
  font-size: 12px;
  text-align: right;
}

.trailer {
  margin-top: 10px;
  height: 190px;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 34% 30%, rgba(255, 255, 255, 0.09), rgba(0, 0, 0, 0) 58%),
    linear-gradient(135deg, #101010, #050505 70%);
}

.play {
  width: 70px;
  height: 70px;
  border: 2px solid var(--emerald);
  border-radius: 999px;
  position: relative;
  box-shadow: 0 0 12px var(--emerald-dim);
}

.play::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 29px;
  border-left: 18px solid var(--emerald);
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
}

.stills-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

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

.preview-feed-frame {
  height: 96px;
}

.feed-empty {
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.35);
  color: var(--muted);
  font-size: 13px;
}

.stills-grid svg {
  width: 100%;
  height: 74px;
  border: 1px solid var(--line);
  background: #050505;
}

.frame-rail {
  border-color: var(--emerald-dim);
}

.frame-grid {
  margin-top: 8px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.congo-frame {
  position: relative;
  margin: 0;
  height: 88px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #060606;
  box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.7);
}

.congo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.08);
  opacity: 0.92;
  transition: opacity 0.35s ease;
}

.congo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(110% 80% at 50% 0%, rgba(34, 255, 119, 0.16), rgba(0, 0, 0, 0) 45%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.02) 0, rgba(0, 0, 0, 0) 2px, rgba(0, 0, 0, 0) 4px);
  pointer-events: none;
}

.congo-frame.is-switching img {
  opacity: 0.15;
}

.download-link {
  display: inline-block;
  margin-top: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.download-link::before {
  content: "[DL] ";
}

.screener-form {
  display: grid;
  gap: 7px;
}

.screener-form label {
  font-family: "Lucida Console", "Courier New", monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.screener-form input {
  width: 100%;
  border: 1px solid var(--line);
  background: #070707;
  color: var(--ink);
  padding: 8px;
}

.merch-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.merch-item {
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.42);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.featured-square {
  grid-column: 1 / -1;
  border-color: var(--emerald);
  box-shadow: inset 0 0 20px rgba(34, 255, 119, 0.08), 0 0 18px rgba(34, 255, 119, 0.09);
}

.merch-item h3 {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
}

.price {
  margin: 0;
  color: var(--muted);
}

.flag {
  margin: 0;
  width: fit-content;
  border: 1px solid var(--emerald);
  padding: 2px 7px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 10px;
  color: var(--emerald);
}

.square-note {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.thumb {
  border: 1px solid var(--line);
  background: #060606;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.thumb svg {
  width: 56px;
  height: 56px;
}

.thumb-photo {
  height: 260px;
  align-items: stretch;
  justify-content: stretch;
  padding: 6px;
  background: #050505;
}

.featured-square .thumb-photo {
  height: min(420px, 64vw);
}

.product-photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(100%) contrast(1.06);
}

.sold-out {
  opacity: 0.78;
}

.sold-out .btn[disabled] {
  border-color: #2a2a2a;
  color: #8a8a8a;
  background: rgba(0, 0, 0, 0.45);
  cursor: not-allowed;
  box-shadow: none;
}

.video-frame {
  margin-top: 10px;
  border: 1px solid var(--line);
  background: #070707;
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: hidden;
}

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

.hidden {
  display: none;
}

.gate-message {
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--muted);
}

.gate-message.error {
  color: #d0d0d0;
}

.gate-message.success {
  color: var(--emerald);
}

.btn {
  display: inline-block;
  width: fit-content;
  border: 1px solid var(--emerald);
  background: rgba(0, 0, 0, 0.28);
  color: var(--emerald);
  padding: 7px 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: "Lucida Console", "Courier New", monospace;
  font-size: 11px;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover,
.btn:focus-visible {
  box-shadow: 0 0 10px var(--emerald-dim);
}

.footer {
  margin-top: 14px;
  font-size: 12px;
  color: var(--muted);
}

.footer-line {
  height: 1px;
  background: var(--emerald);
  box-shadow: 0 0 8px var(--emerald-soft);
  margin: 10px 0;
}

.revised {
  margin: 0;
}

.badge-row {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.badge {
  width: 88px;
  height: 31px;
  position: relative;
}

.badge img {
  width: 100%;
  height: 100%;
  display: block;
}

.badge span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2px;
  color: var(--emerald);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  font-size: 7px;
  text-shadow: 0 0 6px var(--emerald-dim);
}

.visitor {
  margin: 8px 0 0;
}

.return-social {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.home-page .return-social {
  justify-content: flex-start;
}

.btn-top {
  margin: 0;
}

.symbol-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.symbol-socials a {
  display: inline-block;
  padding: 4px 7px;
  border: 1px solid var(--line);
  text-decoration: none;
  font-family: "Lucida Console", "Courier New", monospace;
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--emerald);
}

.symbol-socials a:hover,
.symbol-socials a:focus-visible {
  border-color: var(--emerald);
  box-shadow: 0 0 8px var(--emerald-dim);
}

.footer-social-tables {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.social-table-wrap {
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.32);
  padding: 10px;
}

.social-table-title {
  margin: 0 0 8px;
  font-family: "Lucida Console", "Courier New", monospace;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ink);
}

.social-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.social-table th,
.social-table td {
  border-top: 1px solid #242424;
  padding: 6px 7px;
  font-size: 12px;
  text-align: left;
  vertical-align: top;
}

.social-table tr:first-child th {
  border-top: 0;
}

.social-table th {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-size: 10px;
}

.social-table td:first-child {
  width: 108px;
  color: var(--ink);
  font-weight: 600;
}

.social-table td a {
  word-break: break-all;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  border: 1px solid var(--emerald);
  background: #090909;
  color: var(--emerald);
  padding: 8px 12px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
  z-index: 8;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

@keyframes rain-sheen {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 130px 260px;
  }
}

@media (max-width: 1180px) {
  .left-panel {
    width: 286px;
    flex-basis: 286px;
  }

  .site-title {
    font-size: 25px;
  }
}

@media (max-width: 980px) {
  .topnav-menu,
  .topnav-inner nav {
    max-width: 62%;
  }

  .stage {
    flex-direction: column;
    width: min(900px, 96vw);
  }

  .left-panel {
    width: 100%;
    flex-basis: auto;
  }

  .right-panel {
    min-height: auto;
  }

  .split-wide,
  .promo-grid,
  .rss-grid,
  .merch-grid,
  .frame-grid,
  .quick-nav-grid,
  .social-modern {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 900px) {
  :root {
    --nav-h: 58px;
  }

  .topnav-inner {
    width: min(100%, 96vw);
    gap: 10px;
  }

  .brand {
    font-size: 11px;
    letter-spacing: 1px;
    max-width: calc(100% - 56px);
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
  }

  body.nav-ready .topnav-menu {
    position: absolute;
    top: calc(var(--nav-h) - 1px);
    left: 0;
    right: 0;
    max-width: none;
    max-height: 0;
    opacity: 0;
    transform: translateY(-8px);
    overflow: hidden;
    border: 1px solid var(--line);
    border-top: 0;
    background: linear-gradient(180deg, rgba(8, 8, 8, 0.98), rgba(5, 5, 5, 0.98));
    transition: max-height 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
  }

  body.nav-ready .topnav-menu.is-open {
    max-height: min(72vh, 460px);
    opacity: 1;
    transform: translateY(0);
    overflow-y: auto;
    pointer-events: auto;
  }

  body.nav-ready .topnav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 10px 12px 12px;
  }

  body.nav-ready .topnav-links a {
    display: block;
    width: 100%;
    padding: 10px 12px;
    font-size: 12px;
  }

  .stage {
    width: min(100%, 96vw);
    gap: 12px;
  }

  .left-panel {
    padding: 12px;
  }

  .poster {
    max-height: 62vh;
  }

  .right-panel {
    padding: 14px;
    min-height: auto;
  }

  .content {
    font-size: 16px;
    line-height: 1.72;
  }

  .btn {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
  }

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

@media (max-width: 620px) {
  .topnav-menu,
  .topnav-inner nav {
    max-width: 54%;
  }

  .site-title {
    font-size: 22px;
  }

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

  .return-social {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .right-panel::before {
    animation: none;
  }

  .app-scroll {
    scroll-behavior: auto;
  }
}
