/* ============================================================
   SC_LEMON STATION — visual system
   Industrial / archive / endfield-inspired, original artwork
   ============================================================ */

:root {
  --bg: #070907;
  --bg-soft: #0b0e09;
  --panel: #10140d;
  --panel-2: #151a10;
  --paper: #e9e7d7;
  --paper-dim: #c9c7b8;
  --muted: #858c78;
  --muted-2: #5d6353;
  --line: rgba(233, 231, 215, 0.16);
  --line-strong: rgba(233, 231, 215, 0.34);
  --signal: #d9f24a;
  --signal-soft: rgba(217, 242, 74, 0.12);
  --orange: #ff6a3d;
  --cyan: #7bd8c4;
  --danger: #ff5f4a;
  --font-display: "Bahnschrift", "DIN Alternate", "Arial Narrow", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
  --font-mono: "Cascadia Mono", "Consolas", "SFMono-Regular", "Microsoft YaHei", monospace;
  --rail: 58px;
  --gut: clamp(18px, 4vw, 64px);
  --max: 1500px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; color-scheme: dark; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(ellipse 80% 50% at 70% -10%, rgba(217, 242, 74, 0.07), transparent 60%),
    radial-gradient(ellipse 50% 40% at 0% 70%, rgba(123, 216, 196, 0.035), transparent 65%),
    var(--bg);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(233, 231, 215, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(233, 231, 215, 0.028) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.55) 55%, transparent 100%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.22;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 3px,
    rgba(0, 0, 0, 0.28) 3px,
    rgba(0, 0, 0, 0.28) 4px
  );
  mix-blend-mode: multiply;
}

::selection { background: var(--signal); color: #080a07; }

a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
img, video, canvas { display: block; max-width: 100%; }

[hidden] { display: none !important; }

.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;
}

/* ---------- fixed side rail ---------- */
.rail {
  position: fixed;
  z-index: 60;
  inset: 0 auto 0 0;
  width: var(--rail);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  border-right: 1px solid var(--line);
  background: rgba(7, 9, 7, 0.72);
  backdrop-filter: blur(10px);
}
.rail__brand {
  writing-mode: vertical-rl;
  font-size: 10px;
  letter-spacing: 0.38em;
  color: var(--muted);
  text-transform: uppercase;
}
.rail__brand b { color: var(--signal); font-weight: 500; }
.rail__line { width: 1px; flex: 1; margin: 22px 0; background: var(--line); }
.rail__code {
  writing-mode: vertical-rl;
  font-size: 9px;
  letter-spacing: 0.22em;
  color: var(--muted-2);
}
.rail__dot {
  width: 7px; height: 7px;
  background: var(--signal);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--signal);
  animation: pulse 2.4s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.8); }
}

/* ---------- top bar ---------- */
.site-main { position: relative; z-index: 2; margin-left: var(--rail); }

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
  padding: 0 var(--gut);
  border-bottom: 1px solid var(--line);
  background: rgba(7, 9, 7, 0.78);
  backdrop-filter: blur(16px);
}
.topbar::after {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  width: 88px; height: 1px;
  background: var(--signal);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: max-content;
}
.brand__mark {
  position: relative;
  width: 34px; height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  background: var(--signal);
  color: #080a07;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  line-height: 1;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%);
}
.brand__mark::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(7, 9, 7, 0.34);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.brand__name span { color: var(--signal); font-weight: 400; }
.brand__sub {
  margin-top: 4px;
  font-size: 8px;
  letter-spacing: 0.3em;
  color: var(--muted);
  text-transform: uppercase;
}

.nav { display: flex; align-items: center; gap: 32px; }
.nav a {
  position: relative;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--paper-dim);
  text-transform: uppercase;
}
.nav a span { margin-right: 7px; color: var(--muted-2); font-size: 9px; }
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -8px;
  width: 0; height: 1px;
  background: var(--signal);
  transition: width 0.35s var(--ease);
}
.nav a:hover { color: var(--paper); }
.nav a:hover::after { width: 100%; }

.topbar__actions { display: flex; align-items: center; gap: 12px; }
.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--muted);
  text-transform: uppercase;
}
.status-chip i {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 8px var(--signal);
}

/* ---------- generic UI ---------- */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--paper);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid var(--line-strong);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}
.btn:hover { border-color: var(--signal); color: var(--signal); transform: translateY(-1px); }
.btn--signal {
  --btn-bg: var(--signal);
  --btn-fg: #080a07;
  border-color: var(--signal);
  font-weight: 700;
}
.btn--signal:hover { --btn-bg: var(--paper); --btn-fg: #080a07; border-color: var(--paper); }
.btn--ghost { --btn-bg: rgba(233, 231, 215, 0.03); }
.btn--sm { min-height: 36px; padding: 0 13px; font-size: 10px; }
.btn--danger:hover { color: var(--danger); border-color: var(--danger); }
.btn[disabled] { opacity: 0.45; pointer-events: none; }
.btn svg { width: 14px; height: 14px; flex: none; }

.icon-btn {
  width: 36px; height: 36px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  transition: 0.2s;
}
.icon-btn:hover { color: var(--signal); border-color: var(--signal); }
.icon-btn svg { width: 15px; height: 15px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 9px;
  letter-spacing: 0.28em;
  color: var(--muted);
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--signal); }
.eyebrow--plain::before { display: none; }

.frame { position: relative; }
.frame::before,
.frame::after {
  content: "";
  position: absolute;
  z-index: 3;
  width: 13px; height: 13px;
  pointer-events: none;
  border-color: var(--signal);
  border-style: solid;
}
.frame::before { left: -1px; top: -1px; border-width: 1px 0 0 1px; }
.frame::after { right: -1px; bottom: -1px; border-width: 0 1px 1px 0; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 76px));
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  gap: clamp(30px, 6vw, 90px);
  align-items: center;
  padding: clamp(52px, 8vw, 110px) var(--gut) clamp(42px, 6vw, 80px);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero__bg-word {
  position: absolute;
  right: -0.05em;
  bottom: -0.18em;
  z-index: 0;
  font-family: var(--font-display);
  font-size: clamp(150px, 27vw, 440px);
  font-weight: 800;
  line-height: 0.74;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(233, 231, 215, 0.075);
  pointer-events: none;
  user-select: none;
}
.hero__slash {
  position: absolute;
  z-index: 0;
  top: -20%;
  right: 23%;
  width: 1px;
  height: 140%;
  background: linear-gradient(to bottom, transparent, var(--line-strong) 30%, var(--line-strong) 70%, transparent);
  transform: rotate(24deg);
}
.hero__slash::after {
  content: "";
  position: absolute;
  top: 30%; left: 0;
  width: 5px; height: 90px;
  background: var(--signal);
  transform: translateX(-2px);
}
.hero__inner { position: relative; z-index: 2; max-width: 900px; }
.hero__kicker { display: flex; align-items: center; gap: 14px; margin-bottom: 30px; }
.hero__kicker .line { width: clamp(28px, 5vw, 70px); height: 1px; background: var(--signal); }
.hero__kicker small {
  font-size: 9px;
  letter-spacing: 0.26em;
  color: var(--muted);
  text-transform: uppercase;
}
.hero__title {
  position: relative;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(62px, 10.2vw, 164px);
  line-height: 0.78;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}
.hero__title .line-1 { display: block; }
.hero__title .line-2 {
  display: flex;
  align-items: baseline;
  gap: 0.16em;
  margin-left: 0.04em;
  color: var(--signal);
}
.hero__title .jp {
  font-size: 0.37em;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--paper);
  writing-mode: horizontal-tb;
}
.hero__title .slash { color: var(--muted-2); font-size: 0.32em; transform: translateY(-0.3em); }
.hero__desc {
  max-width: 520px;
  margin: 34px 0 0;
  padding-left: 17px;
  border-left: 1px solid var(--line-strong);
  color: var(--paper-dim);
  font-size: 12px;
  line-height: 1.9;
  letter-spacing: 0.02em;
}
.hero__desc b { color: var(--paper); font-weight: 500; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 3vw, 44px);
  margin-top: 46px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  max-width: 540px;
}
.hero__stat .num {
  display: block;
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--paper);
}
.hero__stat .num em { font-style: normal; color: var(--signal); }
.hero__stat .lbl {
  display: block;
  margin-top: 7px;
  font-size: 8px;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
}

/* HUD column */
.hero__hud {
  position: relative;
  z-index: 2;
  align-self: end;
  width: 100%;
  max-width: 330px;
  justify-self: end;
  padding-bottom: 8px;
}
.hud-panel {
  position: relative;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(21, 26, 16, 0.9), rgba(10, 13, 9, 0.86));
  padding: 18px;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
}
.hud-panel::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 52px; height: 2px;
  background: var(--signal);
}
.hud-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
}
.hud-head b { color: var(--signal); font-weight: 400; }
.radar {
  position: relative;
  width: min(220px, 76%);
  aspect-ratio: 1;
  margin: 24px auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle, transparent 0 18%, var(--line) 18.4% 18.8%, transparent 19.2% 38%, var(--line) 38.4% 38.8%, transparent 39.2% 58%, var(--line) 58.4% 58.8%, transparent 59.2% 78%, var(--line) 78.4% 78.8%, transparent 79.2%),
    conic-gradient(from 0deg, transparent 0 300deg, rgba(217, 242, 74, 0.24) 350deg, var(--signal) 359deg, transparent 360deg);
  animation: radar-spin 9s linear infinite;
}
.radar::before {
  content: "";
  position: absolute;
  inset: 50% 50% auto auto;
  width: 50%; height: 1px;
  background: linear-gradient(90deg, var(--signal), transparent);
  transform-origin: left center;
}
.radar::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 65% 35%, var(--signal) 0 2px, transparent 3px),
              radial-gradient(circle at 38% 68%, var(--paper) 0 1px, transparent 2px);
  opacity: 0.9;
}
@keyframes radar-spin { to { transform: rotate(360deg); } }
.hud-readout {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 14px;
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
}
.hud-readout span:nth-child(even) { color: var(--paper-dim); text-align: right; }
.hud-bars { display: flex; align-items: flex-end; gap: 3px; height: 22px; margin-top: 16px; }
.hud-bars i { flex: 1; background: var(--signal); opacity: 0.7; animation: bar 1.4s ease-in-out infinite alternate; }
.hud-bars i:nth-child(1) { height: 30%; animation-delay: -0.2s; }
.hud-bars i:nth-child(2) { height: 55%; animation-delay: -0.5s; }
.hud-bars i:nth-child(3) { height: 78%; animation-delay: -0.8s; }
.hud-bars i:nth-child(4) { height: 42%; animation-delay: -0.3s; }
.hud-bars i:nth-child(5) { height: 90%; animation-delay: -0.7s; }
.hud-bars i:nth-child(6) { height: 62%; animation-delay: -0.1s; }
.hud-bars i:nth-child(7) { height: 100%; animation-delay: -0.6s; }
.hud-bars i:nth-child(8) { height: 48%; animation-delay: -0.4s; }
@keyframes bar { to { opacity: 0.25; transform: scaleY(0.55); transform-origin: bottom; } }

.hero__meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  font-size: 8px;
  letter-spacing: 0.16em;
  color: var(--muted-2);
  text-transform: uppercase;
}

/* ticker */
.ticker {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0;
  overflow: hidden;
  height: 38px;
  border-bottom: 1px solid var(--line);
  background: var(--signal);
  color: #080a07;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ticker__track { display: flex; flex: none; animation: ticker 38s linear infinite; }
.ticker__track span { padding: 0 28px; }
.ticker__track span::after { content: "◆"; margin-left: 28px; font-size: 6px; vertical-align: 2px; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- section / archive ---------- */
.section {
  position: relative;
  z-index: 2;
  padding: clamp(64px, 9vw, 120px) var(--gut);
  border-bottom: 1px solid var(--line);
}
.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: clamp(32px, 4vw, 54px);
}
.section__title-wrap { display: flex; align-items: flex-start; gap: clamp(14px, 2vw, 28px); }
.section__num {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--signal);
  padding-top: 10px;
}
.section__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(38px, 5.6vw, 84px);
  line-height: 0.86;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}
.section__title em {
  display: block;
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.32em;
  color: var(--muted);
  margin-top: 14px;
  text-transform: uppercase;
}
.section__aside { max-width: 300px; text-align: right; }
.section__aside p { margin: 0 0 14px; font-size: 10px; line-height: 1.8; color: var(--muted); }
.section__aside .count { color: var(--signal); font-family: var(--font-display); font-size: 30px; line-height: 1; }

.archive-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 26px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 240px;
  flex: 1;
  max-width: 380px;
}
.search-box svg { width: 13px; height: 13px; color: var(--muted); flex: none; }
.search-box input {
  width: 100%;
  border: 0;
  border-bottom: 1px solid transparent;
  outline: 0;
  background: transparent;
  color: var(--paper);
  font-size: 10px;
  letter-spacing: 0.1em;
  padding: 7px 0;
  text-transform: uppercase;
}
.search-box input::placeholder { color: var(--muted-2); }
.search-box input:focus { border-bottom-color: var(--signal); }
.toolbar-meta { font-size: 9px; letter-spacing: 0.14em; color: var(--muted); text-transform: uppercase; }
.toolbar-meta b { color: var(--signal); font-weight: 400; }

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: clamp(16px, 2vw, 26px);
}

/* skeleton */
.skeleton-card { border: 1px solid var(--line); background: var(--panel); min-height: 350px; overflow: hidden; }
.skeleton-card .sk-media { aspect-ratio: 16/10; background: linear-gradient(100deg, var(--panel) 20%, var(--panel-2) 45%, var(--panel) 70%); background-size: 220% 100%; animation: shimmer 1.4s infinite; }
.skeleton-card .sk-body { padding: 18px; }
.skeleton-card .sk-line { height: 9px; margin-bottom: 12px; background: var(--panel-2); }
.skeleton-card .sk-line:nth-child(1) { width: 34%; }
.skeleton-card .sk-line:nth-child(2) { width: 76%; height: 20px; }
.skeleton-card .sk-line:nth-child(3) { width: 92%; }
@keyframes shimmer { to { background-position: -220% 0; } }

/* ---------- video card ---------- */
.video-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(160deg, rgba(21, 26, 16, 0.92), rgba(10, 13, 9, 0.96));
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease);
  clip-path: polygon(0 0, calc(100% - 17px) 0, 100% 17px, 100% 100%, 0 100%);
}
.video-card::before {
  content: "";
  position: absolute;
  z-index: 4;
  top: 0; left: 0;
  width: 0; height: 2px;
  background: var(--signal);
  transition: width 0.4s var(--ease);
}
.video-card:hover { border-color: rgba(217, 242, 74, 0.5); transform: translateY(-4px); }
.video-card:hover::before { width: 100%; }
.card-media {
  position: relative;
  display: block;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #0b0e09;
}
.card-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.78;
  filter: saturate(0.75) contrast(1.05);
  transition: transform 0.7s var(--ease), opacity 0.35s, filter 0.35s;
}
.video-card:hover .card-media img { transform: scale(1.045); opacity: 0.95; filter: saturate(1) contrast(1.05); }
.card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(7, 9, 7, 0.9), transparent 55%),
    repeating-linear-gradient(90deg, transparent 0 39px, rgba(233, 231, 215, 0.04) 39px 40px);
}
.thumb-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: rgba(233, 231, 215, 0.3);
  background:
    linear-gradient(135deg, rgba(217, 242, 74, 0.07), transparent 45%),
    repeating-linear-gradient(135deg, transparent 0 18px, rgba(233, 231, 215, 0.035) 18px 19px),
    #0b0e09;
}
.thumb-fallback svg { width: 30px; height: 30px; color: var(--signal); opacity: 0.6; }
.thumb-fallback span { font-size: 7px; letter-spacing: 0.18em; text-transform: uppercase; }
.card-media.no-thumb::after { opacity: 0.6; }
.card-index {
  position: absolute;
  z-index: 2;
  top: 0; left: 0;
  padding: 7px 9px;
  background: var(--signal);
  color: #080a07;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.14em;
}
.card-duration {
  position: absolute;
  z-index: 3;
  right: 10px; bottom: 10px;
  padding: 4px 7px;
  background: rgba(7, 9, 7, 0.82);
  border: 1px solid var(--line-strong);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--paper);
  backdrop-filter: blur(4px);
}
.card-play {
  position: absolute;
  z-index: 3;
  left: 50%; top: 50%;
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(233, 231, 215, 0.6);
  border-radius: 50%;
  background: rgba(7, 9, 7, 0.25);
  backdrop-filter: blur(4px);
  transform: translate(-50%, -50%) scale(0.86);
  opacity: 0;
  transition: 0.35s var(--ease);
}
.card-play svg { width: 16px; height: 16px; margin-left: 2px; fill: var(--signal); }
.video-card:hover .card-play { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.card-body { position: relative; display: flex; flex-direction: column; flex: 1; padding: 17px 18px 15px; }
.card-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 8px;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
}
.card-meta span:first-child { color: var(--signal); }
.card-title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(19px, 1.8vw, 25px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: 0.01em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-title a { transition: color 0.2s; }
.card-title a:hover { color: var(--signal); }
.card-desc {
  margin: 0 0 16px;
  font-size: 10px;
  line-height: 1.7;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.card-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 8px;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
}
.card-status i { width: 4px; height: 4px; border-radius: 50%; background: var(--signal); }
.card-actions { display: flex; align-items: center; gap: 5px; }
.card-actions .icon-btn { width: 30px; height: 30px; border-color: transparent; }
.card-actions .icon-btn:hover { border-color: var(--line-strong); background: rgba(217, 242, 74, 0.05); }

/* empty / error */
.empty-state {
  position: relative;
  grid-column: 1 / -1;
  padding: clamp(50px, 9vw, 110px) 24px;
  border: 1px dashed var(--line-strong);
  text-align: center;
  overflow: hidden;
}
.empty-state::before {
  content: "NO SIGNAL";
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(50px, 10vw, 130px);
  font-weight: 800;
  letter-spacing: 0.03em;
  color: rgba(233, 231, 215, 0.035);
  white-space: nowrap;
}
.empty-state__icon {
  position: relative;
  width: 58px; height: 58px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  color: var(--signal);
}
.empty-state h3 { position: relative; margin: 0 0 8px; font-family: var(--font-display); font-size: 26px; letter-spacing: 0.02em; }
.empty-state p { position: relative; margin: 0 auto 22px; max-width: 420px; color: var(--muted); font-size: 11px; }
.empty-state .btn { position: relative; }

/* ---------- about strip ---------- */
.about {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(30px, 7vw, 100px);
  align-items: start;
}
.about__title {
  margin: 18px 0 0;
  font-family: var(--font-display);
  font-size: clamp(34px, 4.6vw, 68px);
  line-height: 0.9;
  letter-spacing: -0.02em;
}
.about__title span { color: var(--signal); }
.about__body { display: grid; gap: 24px; }
.about__body p { margin: 0; max-width: 620px; color: var(--paper-dim); font-size: 12px; line-height: 2; }
.about__body p b { color: var(--paper); font-weight: 500; }
.about__specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.about__spec { padding: 17px 14px 17px 0; border-right: 1px solid var(--line); }
.about__spec:last-child { border-right: 0; padding-left: 14px; }
.about__spec strong {
  display: block;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
  color: var(--signal);
}
.about__spec span { display: block; margin-top: 7px; font-size: 8px; letter-spacing: 0.16em; color: var(--muted); text-transform: uppercase; }

/* ---------- footer ---------- */
.footer {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 30px var(--gut);
  background: #060806;
}
.footer__brand { font-family: var(--font-display); font-size: 13px; letter-spacing: 0.08em; }
.footer__brand span { color: var(--signal); }
.footer__meta { font-size: 8px; letter-spacing: 0.2em; color: var(--muted-2); text-transform: uppercase; }
.footer__links { display: flex; gap: 18px; font-size: 9px; letter-spacing: 0.12em; color: var(--muted); text-transform: uppercase; }
.footer__links a:hover { color: var(--signal); }

/* ---------- modal / QR ---------- */
.modal {
  position: fixed;
  z-index: 120;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s, visibility 0.3s;
}
.modal.is-open { visibility: visible; opacity: 1; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 4, 3, 0.84);
  backdrop-filter: blur(9px);
}
.qr-sheet {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  background: linear-gradient(150deg, #151a10, #0a0d09 70%);
  border: 1px solid var(--line-strong);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.65);
  transform: translateY(16px) scale(0.985);
  transition: transform 0.35s var(--ease);
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}
.modal.is-open .qr-sheet { transform: none; }
.qr-sheet__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 20px;
  border-bottom: 1px solid var(--line);
}
.qr-sheet__head span { font-size: 9px; letter-spacing: 0.24em; color: var(--muted); text-transform: uppercase; }
.qr-sheet__head span b { color: var(--signal); font-weight: 400; }
.qr-sheet__body {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(22px, 4vw, 40px);
  padding: clamp(22px, 4vw, 40px);
}
.qr-visual {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  padding: 16px;
  background: var(--paper);
  border: 1px solid var(--paper);
}
.qr-visual::before,
.qr-visual::after {
  content: "";
  position: absolute;
  width: 20px; height: 20px;
  border: 2px solid var(--signal);
}
.qr-visual::before { left: -6px; top: -6px; border-width: 2px 0 0 2px; }
.qr-visual::after { right: -6px; bottom: -6px; border-width: 0 2px 2px 0; }
#qr-canvas { width: 100%; display: grid; place-items: center; }
#qr-canvas canvas, #qr-canvas img { width: 100% !important; height: auto !important; image-rendering: pixelated; }
.qr-info { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.qr-info h3 {
  margin: 12px 0 10px;
  font-family: var(--font-display);
  font-size: clamp(25px, 3.4vw, 38px);
  line-height: 1.02;
  font-weight: 600;
  letter-spacing: 0.01em;
  word-break: break-word;
}
.qr-url {
  margin: 0 0 20px;
  font-size: 10px;
  line-height: 1.6;
  color: var(--muted);
  word-break: break-all;
}
.qr-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.qr-note {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 8px;
  letter-spacing: 0.1em;
  line-height: 1.8;
  color: var(--muted-2);
  text-transform: uppercase;
}

/* ---------- toast ---------- */
.toast-stack {
  position: fixed;
  z-index: 200;
  right: 18px;
  bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}
.toast {
  position: relative;
  min-width: 220px;
  max-width: min(360px, calc(100vw - 36px));
  padding: 12px 16px 12px 38px;
  background: #12170f;
  border: 1px solid var(--line-strong);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5);
  font-size: 10px;
  letter-spacing: 0.05em;
  color: var(--paper-dim);
  animation: toast-in 0.3s var(--ease);
}
.toast::before {
  content: "";
  position: absolute;
  left: 15px; top: 50%;
  width: 7px; height: 7px;
  transform: translateY(-50%);
  background: var(--signal);
}
.toast.is-error::before { background: var(--danger); }
.toast.is-out { animation: toast-out 0.25s forwards; }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(6px); } }

/* ============================================================
   WATCH PAGE
   ============================================================ */
.watch-wrap {
  position: relative;
  z-index: 2;
  min-height: calc(100vh - 76px);
  padding: clamp(26px, 4vw, 54px) var(--gut) 80px;
}
.watch-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--muted);
  text-transform: uppercase;
}
.watch-breadcrumb a:hover { color: var(--signal); }
.watch-breadcrumb i { width: 18px; height: 1px; background: var(--line-strong); }
.watch-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 330px);
  gap: clamp(20px, 3vw, 38px);
  align-items: start;
}
.player-shell {
  position: relative;
  padding: 9px;
  border: 1px solid var(--line-strong);
  background: #0a0c09;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
}
.player-shell::before {
  content: "PLAYBACK / SOURCE_01";
  position: absolute;
  z-index: 2;
  left: 20px; top: 16px;
  padding: 4px 7px;
  background: rgba(7, 9, 7, 0.7);
  border-left: 2px solid var(--signal);
  font-size: 8px;
  letter-spacing: 0.16em;
  color: var(--paper-dim);
  pointer-events: none;
  white-space: nowrap;
}
.player-shell video {
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  outline: 0;
}
.player-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.player-meta__left { display: flex; align-items: center; gap: 12px; font-size: 9px; letter-spacing: 0.12em; color: var(--muted); text-transform: uppercase; }
.player-meta__left i { width: 5px; height: 5px; border-radius: 50%; background: var(--signal); }
.watch-title {
  margin: 22px 0 12px;
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 66px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.02em;
  word-break: break-word;
}
.watch-desc {
  max-width: 780px;
  margin: 0;
  color: var(--paper-dim);
  font-size: 12px;
  line-height: 1.95;
  white-space: pre-wrap;
}
.watch-desc:empty { display: none; }
.watch-specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 30px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.watch-spec { padding: 15px 12px 15px 0; border-right: 1px solid var(--line); }
.watch-spec:last-child { border-right: 0; }
.watch-spec span { display: block; font-size: 8px; letter-spacing: 0.16em; color: var(--muted); text-transform: uppercase; }
.watch-spec strong { display: block; margin-top: 6px; font-family: var(--font-display); font-size: 16px; font-weight: 500; color: var(--paper); letter-spacing: 0.04em; }

.watch-side { position: sticky; top: 100px; display: grid; gap: 14px; }
.side-card {
  position: relative;
  padding: 20px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(21, 26, 16, 0.9), rgba(10, 13, 9, 0.9));
}
.side-card::before { content: ""; position: absolute; left: 0; top: 0; width: 38px; height: 2px; background: var(--signal); }
.side-card h3 {
  margin: 12px 0 6px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.1;
}
.side-card p { margin: 0 0 16px; font-size: 9px; line-height: 1.8; color: var(--muted); }
.side-qr {
  display: grid;
  place-items: center;
  padding: 12px;
  background: var(--paper);
  margin-bottom: 14px;
  min-height: 150px;
}
.side-qr canvas, .side-qr img { width: 100% !important; height: auto !important; image-rendering: pixelated; }
.side-card .btn { width: 100%; }
.side-links { display: grid; gap: 1px; border: 1px solid var(--line); background: var(--line); }
.side-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 15px;
  background: #0b0e09;
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
  transition: 0.2s;
}
.side-links a:hover { background: #12170f; color: var(--signal); }

.watch-error {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
}
.watch-error h1 { font-family: var(--font-display); font-size: clamp(50px, 10vw, 120px); margin: 0; color: var(--signal); line-height: 0.9; }
.watch-error p { color: var(--muted); font-size: 11px; letter-spacing: 0.1em; }

/* ============================================================
   ADMIN
   ============================================================ */
.admin-body { background: #080a07; }
.admin-shell { position: relative; z-index: 2; margin-left: var(--rail); min-height: 100vh; }
.admin-topbar { border-bottom: 1px solid var(--line); }
.admin-topbar .topbar { position: relative; }

.login-screen {
  min-height: calc(100vh - 76px);
  display: grid;
  place-items: center;
  padding: 40px var(--gut);
  position: relative;
  overflow: hidden;
}
.login-screen::before {
  content: "AUTHORIZED PERSONNEL ONLY";
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%) rotate(-8deg);
  font-family: var(--font-display);
  font-size: clamp(40px, 8vw, 120px);
  font-weight: 800;
  letter-spacing: 0.02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(233, 231, 215, 0.05);
  white-space: nowrap;
  pointer-events: none;
}
.login-card {
  position: relative;
  width: min(460px, 100%);
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line-strong);
  background: linear-gradient(155deg, #151a10, #0a0d09);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
}
.login-card::before { content: ""; position: absolute; left: 0; top: 0; width: 64px; height: 2px; background: var(--signal); }
.login-card__status { display: flex; align-items: center; justify-content: space-between; margin-bottom: 34px; font-size: 8px; letter-spacing: 0.2em; color: var(--muted); text-transform: uppercase; }
.login-card__status b { color: var(--signal); font-weight: 400; }
.login-card h1 { margin: 0; font-family: var(--font-display); font-size: clamp(38px, 7vw, 58px); line-height: 0.92; letter-spacing: -0.02em; }
.login-card h1 span { color: var(--signal); }
.login-card > p { margin: 15px 0 26px; font-size: 10px; line-height: 1.8; color: var(--muted); }
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field label { font-size: 8px; letter-spacing: 0.2em; color: var(--muted); text-transform: uppercase; }
.field label b { color: var(--signal); font-weight: 400; }
.input, .textarea, .select {
  width: 100%;
  border: 1px solid var(--line-strong);
  background: rgba(7, 9, 7, 0.66);
  color: var(--paper);
  padding: 12px 13px;
  font-size: 12px;
  outline: 0;
  transition: border-color 0.2s, background 0.2s;
  border-radius: 0;
}
.input:focus, .textarea:focus, .select:focus { border-color: var(--signal); background: rgba(7, 9, 7, 0.95); }
.input::placeholder, .textarea::placeholder { color: var(--muted-2); }
.textarea { resize: vertical; min-height: 76px; line-height: 1.6; }
.login-card .btn { width: 100%; margin-top: 4px; }
.login-hint { margin-top: 18px; font-size: 8px; line-height: 1.7; letter-spacing: 0.08em; color: var(--muted-2); text-transform: uppercase; }
.login-error {
  display: none;
  margin-bottom: 16px;
  padding: 10px 12px;
  border-left: 2px solid var(--danger);
  background: rgba(255, 95, 74, 0.07);
  color: #ff9a8c;
  font-size: 10px;
}
.login-error.is-visible { display: block; }

.admin-main { padding: clamp(28px, 4vw, 48px) var(--gut) 80px; }
.admin-heading { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.admin-heading h1 { margin: 11px 0 0; font-family: var(--font-display); font-size: clamp(36px, 5vw, 62px); line-height: 0.9; letter-spacing: -0.02em; }
.admin-heading h1 span { color: var(--signal); }
.admin-heading__actions { display: flex; flex-wrap: wrap; gap: 8px; }

.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
  margin-bottom: 26px;
}
.admin-stat { padding: 17px 18px; background: #0d110b; }
.admin-stat span { display: block; font-size: 8px; letter-spacing: 0.16em; color: var(--muted); text-transform: uppercase; }
.admin-stat strong { display: block; margin-top: 8px; font-family: var(--font-display); font-size: clamp(24px, 3vw, 34px); line-height: 1; font-weight: 500; color: var(--paper); }
.admin-stat strong em { color: var(--signal); font-style: normal; font-size: 0.55em; margin-left: 2px; }
.admin-stat:first-child strong { color: var(--signal); }

.admin-layout { display: grid; grid-template-columns: minmax(300px, 380px) minmax(0, 1fr); gap: 22px; align-items: start; }
.panel {
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(21, 26, 16, 0.8), rgba(10, 13, 9, 0.9));
}
.panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--muted);
  text-transform: uppercase;
}
.panel__head b { color: var(--signal); font-weight: 400; }
.panel__body { padding: 16px; }

.dropzone {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 170px;
  padding: 22px;
  border: 1px dashed var(--line-strong);
  background: rgba(217, 242, 74, 0.018);
  text-align: center;
  transition: 0.25s;
  cursor: pointer;
}
.dropzone:hover, .dropzone.is-over { border-color: var(--signal); background: rgba(217, 242, 74, 0.06); }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone__icon {
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 10px;
  border: 1px solid var(--line-strong);
  color: var(--signal);
  transition: 0.25s;
}
.dropzone.is-over .dropzone__icon { background: var(--signal); color: #080a07; transform: translateY(-3px); }
.dropzone__icon svg { width: 18px; height: 18px; }
.dropzone h3 { margin: 0 0 5px; font-family: var(--font-display); font-size: 19px; font-weight: 500; letter-spacing: 0.02em; }
.dropzone p { margin: 0; font-size: 8px; letter-spacing: 0.1em; line-height: 1.7; color: var(--muted); text-transform: uppercase; }
.dropzone p b { color: var(--paper-dim); font-weight: 400; }

.file-preview {
  display: none;
  margin-top: 14px;
  border: 1px solid var(--line);
  background: #0a0d09;
}
.file-preview.is-visible { display: block; }
.file-preview__top { display: flex; align-items: center; gap: 12px; padding: 11px; }
.file-preview__thumb { width: 74px; height: 48px; flex: none; object-fit: cover; background: #000; border: 1px solid var(--line); }
.file-preview__info { min-width: 0; }
.file-preview__info strong { display: block; font-size: 10px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.file-preview__info span { display: block; margin-top: 3px; font-size: 8px; letter-spacing: 0.06em; color: var(--muted); }
.upload-progress { display: none; padding: 0 11px 12px; }
.upload-progress.is-visible { display: block; }
.progress-track { height: 4px; background: var(--panel-2); overflow: hidden; }
.progress-fill { height: 100%; width: 0; background: var(--signal); transition: width 0.18s linear; }
.progress-label { display: flex; justify-content: space-between; margin-top: 6px; font-size: 8px; letter-spacing: 0.08em; color: var(--muted); }
.upload-form { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.upload-actions { display: flex; gap: 8px; margin-top: 12px; }
.upload-actions .btn { flex: 1; }

.video-list { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.admin-video {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 11px;
  background: #0c100a;
  transition: background 0.2s;
}
.admin-video:hover { background: #11160d; }
.admin-video__thumb { position: relative; aspect-ratio: 16/10; overflow: hidden; background: #000; border: 1px solid var(--line); }
.admin-video__thumb img { width: 100%; height: 100%; object-fit: cover; opacity: 0.75; }
.admin-video__thumb span { position: absolute; right: 3px; bottom: 3px; padding: 2px 4px; background: rgba(0, 0, 0, 0.75); font-size: 7px; color: var(--paper); }
.admin-video__info { min-width: 0; }
.admin-video__info h3 { margin: 0 0 4px; font-family: var(--font-display); font-size: 17px; font-weight: 500; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-video__info p { margin: 0; font-size: 8px; letter-spacing: 0.06em; color: var(--muted); text-transform: uppercase; }
.admin-video__badges { display: flex; gap: 5px; margin-top: 7px; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 6px;
  border: 1px solid var(--line);
  font-size: 7px;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
}
.badge--live { border-color: rgba(217, 242, 74, 0.4); color: var(--signal); }
.badge--hidden { color: var(--muted-2); }
.admin-video__actions { display: flex; align-items: center; gap: 4px; }
.admin-video__actions .icon-btn { width: 30px; height: 30px; }

.admin-empty { padding: 50px 20px; text-align: center; color: var(--muted); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; }
.admin-empty b { display: block; font-family: var(--font-display); font-size: 24px; color: var(--paper); letter-spacing: 0.02em; margin-bottom: 6px; }

/* settings panel */
.settings-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.settings-row:last-child { border-bottom: 0; }
.settings-row span { font-size: 9px; letter-spacing: 0.08em; color: var(--muted); text-transform: uppercase; }
.settings-row b { font-size: 10px; font-weight: 400; color: var(--paper-dim); text-align: right; }
.settings-note { margin: 12px 0 0; font-size: 8px; line-height: 1.7; color: var(--muted-2); }
.settings-note code { color: var(--signal); font-family: var(--font-mono); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  :root { --rail: 0px; }
  .rail { display: none; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__hud { display: none; }
  .hero__bg-word { font-size: 38vw; }
  .watch-grid { grid-template-columns: 1fr; }
  .watch-side { position: static; grid-template-columns: 1fr 1fr; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  :root { --gut: 18px; }
  .topbar { height: 64px; }
  .brand__sub { display: none; }
  .brand__name { font-size: 15px; }
  .nav { display: none; }
  .status-chip { display: none; }
  .hero { padding-top: 52px; }
  .hero__title { font-size: clamp(52px, 15.5vw, 90px); }
  .hero__kicker small { font-size: 8px; letter-spacing: 0.14em; white-space: nowrap; }
  .hero__kicker .line { width: 22px; flex: none; }
  .hero__desc { font-size: 11px; }
  .hero__bg-word { font-size: 46vw; bottom: -0.05em; }
  .section__head { display: block; }
  .section__aside { margin-top: 20px; text-align: left; }
  .section__aside .count { display: inline; }
  .video-grid { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
  .about__specs { grid-template-columns: 1fr; }
  .about__spec { border-right: 0; border-bottom: 1px solid var(--line); padding: 13px 0; }
  .about__spec:last-child { border-bottom: 0; padding-left: 0; }
  .qr-sheet__body { grid-template-columns: 1fr; }
  .qr-visual { max-width: 300px; margin: 0 auto; }
  .watch-specs { grid-template-columns: 1fr 1fr; }
  .watch-spec:nth-child(2) { border-right: 0; }
  .watch-spec:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .watch-side { grid-template-columns: 1fr; }
  .player-shell { padding: 6px; }
  .player-shell::before { display: none; }
  .admin-video { grid-template-columns: 76px minmax(0, 1fr); }
  .admin-video__actions { grid-column: 1 / -1; justify-content: flex-end; border-top: 1px solid var(--line); padding-top: 8px; margin-top: -3px; }
  .admin-stats { grid-template-columns: 1fr 1fr; }
  .admin-heading__actions .btn { flex: 1; }
  .footer { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}
