:root {
  --bg: #050506;
  --bg-raised: #090a0c;
  --surface: #0d0f12;
  --white: #f4f4f2;
  --text: #d9dbdf;
  --muted: #8b8f97;
  --faint: #555a63;
  --red: #ff1e2d;
  --red-deep: #c60012;
  --red-warm: #ff513c;
  --line: rgba(255, 255, 255, 0.12);
  --line-soft: rgba(255, 255, 255, 0.065);
  --pad: clamp(22px, 6vw, 92px);
  --header-h: 92px;
  --font-display: "Bahnschrift", "DIN Alternate", "Arial Narrow", "Microsoft YaHei UI",
    "Microsoft YaHei", "PingFang SC", sans-serif;
  --font-body: "Microsoft YaHei UI", "Segoe UI", "PingFang SC", "Noto Sans SC", sans-serif;
  --font-mono: "Cascadia Mono", "Consolas", "SFMono-Regular", "Courier New", monospace;
  color-scheme: dark;
}

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

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

body {
  margin: 0;
  min-width: 320px;
  min-height: 100svh;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: 2px;
  background: linear-gradient(90deg, var(--red), rgba(255, 30, 45, 0.15) 48%, transparent 82%);
  content: "";
  pointer-events: none;
}

body::after {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: radial-gradient(circle at 50% 48%, transparent 45%, rgba(0, 0, 0, 0.34) 100%);
  content: "";
  pointer-events: none;
}

body.nav-open {
  overflow: hidden;
}

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

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

button {
  color: inherit;
  font: inherit;
}

img {
  max-width: 100%;
}

:focus-visible {
  outline: 1px solid var(--red);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 14px;
  transform: translateY(-180%);
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--white);
  font-size: 12px;
  transition: transform 0.2s ease;
}

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

.page {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  isolation: isolate;
}

/* ------------------------------------------------------------------ header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  flex: 0 0 auto;
  height: var(--header-h);
  border-bottom: 1px solid var(--line-soft);
  background: rgba(5, 5, 6, 0.58);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: background 0.35s ease, border-color 0.35s ease;
}

.site-header.is-scrolled {
  background: rgba(5, 5, 6, 0.9);
  border-color: var(--line);
}

body.nav-open .site-header {
  background: var(--bg);
  border-color: transparent;
}

.header-inner {
  display: flex;
  align-items: center;
  height: 100%;
  max-width: 1660px;
  margin: 0 auto;
  padding: 0 var(--pad);
  gap: clamp(16px, 2vw, 30px);
}

.brand {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  line-height: 0;
  animation: logo-in 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.brand picture,
.brand img {
  display: block;
}

.brand img {
  width: clamp(170px, 15.4vw, 220px);
  height: auto;
  filter: drop-shadow(0 0 24px rgba(255, 30, 45, 0.1));
  transition: filter 0.35s ease, opacity 0.35s ease;
}

.brand:hover img {
  filter: drop-shadow(0 0 32px rgba(255, 30, 45, 0.22)) brightness(1.08);
}

.brand-divider {
  width: 1px;
  height: 32px;
  margin-left: 2px;
  background: var(--line);
}

.brand-tag {
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.2em;
  line-height: 1.45;
  text-transform: uppercase;
  white-space: nowrap;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 34px);
  margin-left: auto;
}

.nav-link {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 9px 0 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  white-space: nowrap;
  opacity: 0;
  animation: fade-down 0.7s ease forwards;
}

.nav-link:nth-child(1) { animation-delay: 0.28s; }
.nav-link:nth-child(2) { animation-delay: 0.34s; }
.nav-link:nth-child(3) { animation-delay: 0.4s; }
.nav-link:nth-child(4) { animation-delay: 0.46s; }
.nav-link:nth-child(5) { animation-delay: 0.52s; }

.nav-link small {
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 7.5px;
  font-weight: 400;
  letter-spacing: 0.19em;
  line-height: 1;
  transition: color 0.25s ease;
}

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--red);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--white);
}

.nav-link:hover small,
.nav-link.is-active small {
  color: var(--red);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: clamp(18px, 2.4vw, 38px);
}

.site-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.16em;
  white-space: nowrap;
  animation: fade-in 0.8s ease 0.65s both;
}

.site-status i {
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 10px rgba(255, 30, 45, 0.7);
  animation: status-pulse 2.2s ease-in-out infinite;
}

.menu-toggle {
  position: relative;
  display: none;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.menu-toggle:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.04);
}

.menu-toggle span {
  position: absolute;
  width: 16px;
  height: 1px;
  background: var(--white);
  transition: transform 0.3s ease, background 0.3s ease;
}

.menu-toggle span:first-child { transform: translateY(-3px); }
.menu-toggle span:last-child { transform: translateY(3px); }

body.nav-open .menu-toggle {
  border-color: rgba(255, 30, 45, 0.5);
  background: rgba(255, 30, 45, 0.08);
}

body.nav-open .menu-toggle span:first-child { transform: rotate(45deg); }
body.nav-open .menu-toggle span:last-child { transform: rotate(-45deg); }

/* -------------------------------------------------------------------- hero */
.hero {
  position: relative;
  display: flex;
  flex: 1 0 auto;
  align-items: center;
  min-height: calc(100svh - var(--header-h) - 92px);
  padding: clamp(56px, 7vh, 82px) var(--pad) clamp(86px, 10vh, 118px);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.043) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.043) 1px, transparent 1px);
  background-size: 92px 92px;
  opacity: 0.76;
  -webkit-mask-image: radial-gradient(ellipse 90% 82% at 62% 42%, #000 8%, transparent 78%);
  mask-image: radial-gradient(ellipse 90% 82% at 62% 42%, #000 8%, transparent 78%);
}

.hero-glow {
  position: absolute;
  top: -28%;
  right: -18%;
  width: 66vw;
  height: 66vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 30, 45, 0.15), rgba(255, 30, 45, 0.035) 40%, transparent 68%);
  filter: blur(26px);
  animation: glow-breathe 10s ease-in-out infinite;
}

.hero-beam {
  position: absolute;
  top: -30%;
  right: 9%;
  width: 18vw;
  height: 145%;
  transform: rotate(18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 30, 45, 0.08), transparent);
  filter: blur(26px);
}

.ghost-word {
  position: absolute;
  bottom: -0.18em;
  left: calc(var(--pad) - 0.06em);
  color: transparent;
  font-family: var(--font-display);
  font-size: clamp(120px, 18vw, 300px);
  font-weight: 700;
  letter-spacing: -0.065em;
  line-height: 0.8;
  white-space: nowrap;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.06);
  opacity: 0.9;
  transform: translate3d(var(--ghost-x, 0px), var(--ghost-y, 0px), 0);
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.signal {
  position: absolute;
  top: 49%;
  right: clamp(54px, 8.5vw, 145px);
  width: clamp(280px, 27vw, 408px);
  aspect-ratio: 1;
  transform: translate3d(var(--signal-x, 0px), calc(-50% + var(--signal-y, 0px)), 0) rotate(-10deg);
  opacity: 0.7;
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.signal-ring,
.signal-axis,
.signal-core {
  position: absolute;
  display: block;
}

.signal-ring {
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

.signal-ring--outer::before {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: repeating-conic-gradient(
    from 0deg,
    rgba(255, 255, 255, 0.28) 0deg 0.45deg,
    transparent 0.45deg 9deg
  );
  content: "";
  opacity: 0.3;
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px));
}

.signal-ring--middle {
  inset: 14%;
  border-color: rgba(255, 255, 255, 0.09);
  border-style: dashed;
  animation: spin 75s linear infinite;
}

.signal-ring--inner {
  inset: 33%;
  border-color: rgba(255, 30, 45, 0.28);
  box-shadow: inset 0 0 50px rgba(255, 30, 45, 0.04);
}

.signal-axis {
  top: 50%;
  left: -16%;
  width: 132%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16), transparent);
}

.signal-axis--y {
  transform: rotate(90deg);
}

.signal-core {
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 18px rgba(255, 30, 45, 0.8);
  animation: status-pulse 2.4s ease-in-out infinite;
}

.signal-label,
.signal-code {
  position: absolute;
  left: 50%;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.2em;
  line-height: 1;
  white-space: nowrap;
  transform: translateX(-50%) rotate(10deg);
}

.signal-label { bottom: -26px; }
.signal-code { top: -23px; color: rgba(255, 255, 255, 0.23); }

.scan-line {
  position: absolute;
  top: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 8%, rgba(255, 30, 45, 0.5), transparent 92%);
  opacity: 0.25;
  animation: scan 13s linear infinite;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(960px, 100%);
  min-width: 0;
  padding-bottom: 14px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.23em;
  line-height: 1.4;
  text-transform: uppercase;
  opacity: 0;
  animation: fade-up 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.24s forwards;
}

.eyebrow span {
  display: block;
  width: 30px;
  height: 1px;
  background: var(--red);
}

.hero-title {
  margin: 0;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(54px, 7.35vw, 106px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.98;
  text-wrap: balance;
}

.title-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.05em;
}

.title-line > span {
  display: block;
  transform: translateY(112%);
  animation: line-up 1s cubic-bezier(0.22, 1, 0.36, 1) 0.32s forwards;
}

.title-line--accent {
  color: transparent;
  background: linear-gradient(92deg, var(--red) 4%, var(--red-warm) 58%, #ffc4b8 120%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.title-line--accent > span {
  animation-delay: 0.43s;
}

.hero-copy {
  width: 100%;
  max-width: 620px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(13px, 1.03vw, 15px);
  letter-spacing: 0.02em;
  line-height: 1.9;
  opacity: 0;
  animation: fade-up 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.65s forwards;
}

.hero-status {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 33px;
  opacity: 0;
  animation: fade-up 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.78s forwards;
}

.coming-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.19em;
  line-height: 1;
}

.coming-pill i {
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 10px rgba(255, 30, 45, 0.7);
  animation: status-pulse 2s ease-in-out infinite;
}

.status-note {
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.16em;
  line-height: 1;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 4vw, 50px);
  width: min(560px, 100%);
  margin-top: 49px;
  padding-top: 17px;
  border-top: 1px solid var(--line-soft);
  opacity: 0;
  animation: fade-up 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.9s forwards;
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.meta-item span {
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.18em;
  line-height: 1;
}

.meta-item strong {
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.4;
}

.hero-bottom {
  position: absolute;
  right: var(--pad);
  bottom: 22px;
  left: var(--pad);
  z-index: 4;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

/* ------------------------------------------------------------------ ticker */
.ticker {
  position: relative;
  z-index: 5;
  flex: 0 0 auto;
  height: 34px;
  overflow: hidden;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.012);
}

.ticker-track {
  display: flex;
  width: max-content;
  height: 100%;
  animation: ticker 31s linear infinite;
}

.ticker-group {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-right: 20px;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.17em;
  line-height: 1;
  white-space: nowrap;
}

.ticker-group i {
  display: block;
  width: 4px;
  height: 4px;
  transform: rotate(45deg);
  background: var(--red);
  opacity: 0.8;
}

/* ------------------------------------------------------------------ footer */
.site-footer {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 58px;
  padding: 0 var(--pad);
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
}

.footer-center {
  color: rgba(255, 255, 255, 0.33);
}

.back-top {
  color: var(--faint);
  transition: color 0.25s ease;
}

.back-top span {
  display: inline-block;
  margin-left: 5px;
  color: var(--red);
  transition: transform 0.25s ease;
}

.back-top:hover {
  color: var(--white);
}

.back-top:hover span {
  transform: translateY(-3px);
}

/* -------------------------------------------------------------- mobile nav */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 70;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: calc(var(--header-h) + 20px) var(--pad) 36px;
  background: var(--bg);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-14px);
  transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-menu::before {
  position: absolute;
  top: 0;
  right: -30%;
  width: 72vw;
  height: 72vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 30, 45, 0.12), transparent 68%);
  content: "";
  pointer-events: none;
}

body.nav-open .mobile-menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(620px, 100%);
  min-height: 100%;
  margin: 0 auto;
}

.mobile-kicker {
  margin: 0 0 22px;
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.22em;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.mobile-link {
  display: grid;
  grid-template-columns: 30px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-soft);
  color: var(--muted);
  font-family: var(--font-display);
  font-size: clamp(32px, 8vw, 44px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  opacity: 0;
  transform: translateX(-12px);
  transition: color 0.25s ease, opacity 0.4s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-link > span {
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.08em;
}

.mobile-link small {
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.16em;
}

.mobile-link:hover {
  color: var(--white);
}

.mobile-link:focus-visible {
  outline: none;
  background: rgba(255, 30, 45, 0.055);
  color: var(--white);
}

body.nav-open .mobile-link {
  opacity: 1;
  transform: translateX(0);
}

body.nav-open .mobile-link:nth-child(1) { transition-delay: 0.08s; }
body.nav-open .mobile-link:nth-child(2) { transition-delay: 0.13s; }
body.nav-open .mobile-link:nth-child(3) { transition-delay: 0.18s; }
body.nav-open .mobile-link:nth-child(4) { transition-delay: 0.23s; }
body.nav-open .mobile-link:nth-child(5) { transition-delay: 0.28s; }

.mobile-meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: auto;
  padding-top: 28px;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.12em;
}

/* ------------------------------------------------------------------- toast */
.toast {
  position: fixed;
  right: var(--pad);
  bottom: 24px;
  z-index: 120;
  display: flex;
  align-items: center;
  gap: 11px;
  max-width: calc(100vw - 44px);
  padding: 12px 16px;
  transform: translateY(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 3px;
  background: rgba(13, 15, 18, 0.96);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.25s ease;
}

.toast::before {
  width: 3px;
  align-self: stretch;
  background: var(--red);
  content: "";
}

.toast span {
  width: 5px;
  height: 5px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 9px rgba(255, 30, 45, 0.55);
}

.toast p {
  margin: 0;
  color: var(--text);
  font-size: 11px;
  letter-spacing: 0.03em;
}

.toast.is-visible {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------- responsive */
@media (max-width: 1320px) {
  .brand-tag {
    display: none;
  }

  .brand-divider {
    display: none;
  }

  .primary-nav {
    gap: 22px;
  }
}

@media (max-width: 1080px) {
  .site-status {
    display: none;
  }

  .hero-copy {
    max-width: 100%;
  }

  .signal {
    right: 3vw;
    width: 300px;
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 78px;
  }

  .header-inner {
    padding: 0 22px;
  }

  .brand img {
    width: 174px;
  }

  .primary-nav {
    display: none;
  }

  .header-right {
    margin-left: auto;
  }

  .menu-toggle {
    display: flex;
  }

  .hero {
    min-height: calc(100svh - var(--header-h) - 92px);
    padding: 54px 22px 92px;
  }

  .signal {
    display: none;
  }

  .ghost-word {
    bottom: -0.13em;
    left: 12px;
    font-size: 34vw;
  }

  .hero-bottom {
    right: 22px;
    bottom: 20px;
    left: 22px;
  }

  .hero-bottom span:last-child {
    display: none;
  }

  .hero-title {
    font-size: clamp(50px, 11vw, 86px);
  }

  .hero-copy {
    max-width: 100%;
  }

  .footer-center {
    display: none;
  }

  .site-footer {
    padding: 0 22px;
  }

  .toast {
    right: 22px;
    bottom: 20px;
  }
}

@media (max-width: 620px) {
  :root {
    --header-h: 72px;
  }

  .header-inner {
    padding: 0 18px;
  }

  .brand img {
    width: 156px;
  }

  .hero {
    padding: 46px 18px 84px;
  }

  .eyebrow {
    gap: 9px;
    margin-bottom: 20px;
    font-size: 8px;
    letter-spacing: 0.17em;
  }

  .eyebrow span {
    width: 20px;
  }

  .hero-title {
    font-size: clamp(38px, 12vw, 64px);
    letter-spacing: -0.055em;
  }

  .hero-copy {
    margin-top: 22px;
    font-size: 13px;
    line-height: 1.85;
  }

  .hero-status {
    gap: 12px;
    margin-top: 27px;
  }

  .hero-meta {
    gap: 26px;
    margin-top: 38px;
  }

  .meta-item strong {
    font-size: 9px;
  }

  .hero-bottom {
    display: none;
  }

  .ticker {
    height: 31px;
  }

  .site-footer {
    min-height: 54px;
    gap: 10px;
    padding: 0 18px;
    font-size: 7px;
  }

  .back-top {
    font-size: 0;
  }

  .back-top span {
    margin: 0;
    font-size: 13px;
  }

  .mobile-menu {
    padding: calc(var(--header-h) + 18px) 18px 28px;
  }

  .mobile-link {
    padding: 17px 0;
    font-size: clamp(30px, 10vw, 40px);
  }

  .toast {
    right: 18px;
    bottom: 18px;
    left: 18px;
  }
}

@media (max-width: 390px) {
  .brand img {
    width: 144px;
  }

  .hero-title {
    font-size: 40px;
  }

  .coming-pill {
    padding: 8px 10px;
    font-size: 7.5px;
  }

  .status-note {
    font-size: 7px;
  }
}

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

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

  .title-line > span {
    transform: none;
  }

  .ticker-track {
    animation: none;
  }

  .signal-ring--middle,
  .scan-line,
  .hero-glow,
  .site-status i,
  .coming-pill i,
  .signal-core {
    animation: none;
  }
}

/* ------------------------------------------------------------------ keyframes */
@keyframes logo-in {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fade-down {
  from {
    opacity: 0;
    transform: translateY(-7px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes line-up {
  from { transform: translateY(112%); }
  to { transform: translateY(0); }
}

@keyframes status-pulse {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 8px rgba(255, 30, 45, 0.55);
  }
  50% {
    opacity: 0.45;
    box-shadow: 0 0 18px rgba(255, 30, 45, 0.85);
  }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes glow-breathe {
  0%, 100% { opacity: 0.78; }
  50% { opacity: 1; }
}

@keyframes scan {
  0% { transform: translateY(0); opacity: 0; }
  12% { opacity: 0.25; }
  70% { opacity: 0.18; }
  100% { transform: translateY(100vh); opacity: 0; }
}

@keyframes ticker {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}


/* ------------------------------------------------------- featured posters */
[hidden] {
  display: none !important;
}

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

.home {
  display: flex;
  flex: 1 0 auto;
  flex-direction: column;
}

#main {
  scroll-margin-top: calc(var(--header-h) + 1px);
}

.poster-section {
  position: relative;
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  min-height: max(calc(100svh - var(--header-h)), 730px);
  padding: clamp(28px, 4.2vh, 42px) var(--pad) clamp(22px, 3.4vh, 34px);
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
  background: #050506;
}

.poster-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.poster-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 104px 104px;
  opacity: 0.68;
  -webkit-mask-image: radial-gradient(ellipse 88% 82% at 50% 44%, #000 8%, transparent 78%);
  mask-image: radial-gradient(ellipse 88% 82% at 50% 44%, #000 8%, transparent 78%);
}

.poster-glow {
  position: absolute;
  top: 37%;
  left: 50%;
  width: 68vw;
  height: 68vw;
  max-width: 1100px;
  max-height: 1100px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 30, 45, 0.16), rgba(255, 30, 45, 0.035) 42%, transparent 68%);
  filter: blur(30px);
  animation: glow-breathe 10s ease-in-out infinite;
}

.poster-ghost {
  position: absolute;
  bottom: -0.14em;
  left: 50%;
  transform: translateX(-50%);
  color: transparent;
  font-family: var(--font-display);
  font-size: clamp(120px, 20.5vw, 330px);
  font-weight: 700;
  letter-spacing: -0.065em;
  line-height: 0.8;
  white-space: nowrap;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.055);
}

.poster-scan {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 8%, rgba(255, 30, 45, 0.35), transparent 92%);
  opacity: 0.22;
  animation: scan 15s linear infinite;
}

.poster-topline {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.poster-heading .eyebrow {
  margin: 0;
}

.poster-season {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.2em;
  line-height: 1;
  text-transform: uppercase;
}

.poster-season strong {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.9;
}

.poster-stage {
  position: relative;
  z-index: 3;
  flex: 1 0 auto;
  min-height: clamp(420px, 58vh, 650px);
  margin: 4px 0 8px;
  outline: none;
  perspective: 1600px;
  touch-action: pan-y;
  opacity: 0;
  animation: fade-in 0.9s ease 0.18s forwards;
}

.poster-stage:focus-visible {
  outline: 1px solid rgba(255, 30, 45, 0.55);
  outline-offset: 8px;
}

.poster-track {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}

.poster-stage::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(56vw, 900px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 30, 45, 0.12), transparent 64%);
  content: "";
  filter: blur(28px);
  pointer-events: none;
}

.poster-card {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: var(--z, 1);
  width: clamp(430px, 50vw, 760px);
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  transform: translate(-50%, -50%) translateX(var(--x, 0%)) scale(var(--scale, 1)) rotateY(var(--ry, 0deg));
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #0a0b0d;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.48);
  opacity: var(--opacity, 1);
  filter: var(--filter, none);
  transition:
    transform 0.82s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.55s ease,
    filter 0.65s ease,
    box-shadow 0.55s ease,
    border-color 0.4s ease;
  will-change: transform, opacity;
  pointer-events: none;
}

.poster-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
}

.poster-card::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.06);
  content: "";
  pointer-events: none;
}

.poster-card[data-role="active"] {
  --x: 0%;
  --scale: 1;
  --ry: 0deg;
  --opacity: 1;
  --filter: none;
  --z: 5;
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 38px 100px rgba(0, 0, 0, 0.62), 0 0 80px rgba(255, 30, 45, 0.06);
  pointer-events: auto;
}

.poster-card[data-role="prev"] {
  --x: -68%;
  --scale: 0.80;
  --ry: 3deg;
  --opacity: 0.38;
  --filter: brightness(0.42) saturate(0.72);
  --z: 3;
  pointer-events: auto;
  cursor: pointer;
}

.poster-card[data-role="next"] {
  --x: 68%;
  --scale: 0.80;
  --ry: -3deg;
  --opacity: 0.38;
  --filter: brightness(0.42) saturate(0.72);
  --z: 3;
  pointer-events: auto;
  cursor: pointer;
}

.poster-card[data-role="prev"]:hover,
.poster-card[data-role="next"]:hover {
  --opacity: 0.56;
  --filter: brightness(0.58) saturate(0.85);
}

.poster-card[data-role="hidden-prev"] {
  --x: -120%;
  --scale: 0.65;
  --ry: 6deg;
  --opacity: 0;
  --filter: brightness(0.35) saturate(0.7);
  --z: 1;
}

.poster-card[data-role="hidden-next"] {
  --x: 120%;
  --scale: 0.65;
  --ry: -6deg;
  --opacity: 0;
  --filter: brightness(0.35) saturate(0.7);
  --z: 1;
}

.poster-stage.is-dragging .poster-card {
  transition-duration: 0.28s;
}

.poster-arrow {
  position: absolute;
  top: 50%;
  z-index: 9;
  display: grid;
  width: 46px;
  height: 46px;
  padding: 0;
  transform: translateY(-50%);
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(5, 5, 6, 0.5);
  color: var(--white);
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.poster-arrow:hover {
  border-color: rgba(255, 30, 45, 0.6);
  background: rgba(255, 30, 45, 0.12);
  color: var(--red);
}

.poster-arrow svg {
  width: 17px;
  height: 17px;
}

.poster-arrow--prev {
  left: clamp(0px, 1.8vw, 28px);
}

.poster-arrow--next {
  right: clamp(0px, 1.8vw, 28px);
}

.poster-bottomline {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding-top: 2px;
  opacity: 0;
  animation: fade-up 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.42s forwards;
}

.poster-caption {
  display: flex;
  flex-direction: column;
  gap: 3px;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.17em;
  line-height: 1.5;
  text-transform: uppercase;
}

.poster-caption small {
  color: rgba(255, 255, 255, 0.25);
  font-size: 7px;
  letter-spacing: 0.1em;
  text-transform: none;
}

.poster-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.poster-dot {
  position: relative;
  width: 28px;
  height: 18px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.poster-dot::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 2px;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.18);
  content: "";
  transition: width 0.3s cubic-bezier(0.22, 1, 0.36, 1), background 0.3s ease;
}

.poster-dot:hover::before {
  background: rgba(255, 255, 255, 0.48);
}

.poster-dot[aria-current="true"]::before {
  width: 30px;
  background: var(--red);
  box-shadow: 0 0 10px rgba(255, 30, 45, 0.45);
}

.poster-counter {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 15px;
}

.poster-counter__numbers {
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: var(--white);
  font-family: var(--font-display);
  line-height: 1;
}

.poster-counter__numbers > span {
  font-size: 35px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.poster-counter__numbers small {
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.12em;
}

.poster-autoplay {
  position: relative;
  display: grid;
  width: 32px;
  height: 32px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.poster-autoplay:hover {
  border-color: rgba(255, 30, 45, 0.5);
  background: rgba(255, 30, 45, 0.08);
  color: var(--white);
}

.poster-autoplay::before {
  display: block;
  width: 7px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-left: 2px solid currentColor;
  content: "";
}

.poster-autoplay.is-paused::before {
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-right: 0;
  border-bottom: 5px solid transparent;
  border-left: 7px solid currentColor;
}

/* ------------------------------------------------------------- developer */
body.modal-open {
  overflow: hidden;
}

.dev-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  padding: 24px;
  place-items: center;
}

.dev-scrim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.dev-gate__card,
.dev-sheet {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #0a0b0d;
  box-shadow: 0 34px 120px rgba(0, 0, 0, 0.7);
  animation: dev-in 0.35s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.dev-gate__card {
  width: min(430px, 100%);
  padding: 34px;
}

.dev-x {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 34px;
  height: 34px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line-soft);
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  font-size: 20px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.dev-x:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
}

.dev-kicker {
  margin: 0 0 7px;
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.dev-title {
  margin: 0;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1;
}

.dev-desc {
  max-width: 540px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.dev-label {
  display: block;
  margin: 28px 0 8px;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.18em;
}

.dev-input {
  width: 100%;
  height: 50px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 0;
  outline: none;
  background: #050506;
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.16em;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.dev-input::placeholder {
  color: rgba(255, 255, 255, 0.2);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.dev-input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(255, 30, 45, 0.1);
}

.dev-error {
  min-height: 18px;
  margin: 7px 0 0;
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.04em;
}

.dev-gate__actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 4px;
}

.dev-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 17px;
  border: 1px solid transparent;
  border-radius: 0;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.dev-btn--ghost {
  border-color: var(--line);
  background: transparent;
  color: var(--muted);
}

.dev-btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--white);
}

.dev-btn--add {
  color: var(--white);
}

.dev-btn--add:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.dev-btn--primary {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}

.dev-btn--primary:hover {
  border-color: #ff4a45;
  background: #ff4a45;
}

.dev-gate__meta {
  display: block;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.2);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.14em;
}

.dev-gate__card.is-error {
  animation: dev-shake 0.36s ease;
}

.dev-sheet {
  display: flex;
  flex-direction: column;
  width: min(1080px, 100%);
  max-height: min(88vh, 900px);
}

.dev-sheet__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 30px 20px;
  border-bottom: 1px solid var(--line-soft);
}

.dev-sheet__head .dev-x {
  position: static;
  flex: 0 0 auto;
}

.dev-sheet__head .dev-title {
  font-size: 32px;
}

.dev-sheet__body {
  min-height: 0;
  padding: 18px 30px 28px;
  overflow: auto;
}

.dev-statusline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.dev-statusline span:last-child {
  color: rgba(255, 30, 45, 0.7);
}

.dev-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 14px;
}

.dev-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--line-soft);
  background: #0f1114;
}

.dev-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: #050506;
}

.dev-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dev-num {
  position: absolute;
  top: 7px;
  left: 7px;
  display: grid;
  min-width: 22px;
  height: 18px;
  padding: 0 5px;
  place-items: center;
  background: rgba(5, 5, 6, 0.75);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.dev-card__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.dev-card__info strong {
  overflow: hidden;
  color: var(--text);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dev-card__info span {
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.dev-card__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

.dev-action {
  height: 25px;
  padding: 0 6px;
  border: 1px solid var(--line-soft);
  background: transparent;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.dev-action:hover {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
}

.dev-action--delete {
  color: rgba(255, 30, 45, 0.75);
}

.dev-action--delete:hover {
  border-color: rgba(255, 30, 45, 0.4);
  background: rgba(255, 30, 45, 0.08);
  color: var(--red);
}

.dev-action:disabled {
  opacity: 0.25;
  cursor: not-allowed;
}

.dev-add-card {
  display: flex;
  min-height: 250px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.012);
  color: var(--muted);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.dev-add-card:hover {
  border-color: rgba(255, 30, 45, 0.55);
  background: rgba(255, 30, 45, 0.045);
  color: var(--white);
}

.dev-add-card strong {
  font-size: 11px;
  font-weight: 500;
}

.dev-add-card small {
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.06em;
}

.dev-add-card .dev-plus {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 300;
  line-height: 1;
}

.dev-add-card:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.dev-sheet__foot {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 30px;
  border-top: 1px solid var(--line-soft);
}

.dev-footnote {
  flex: 1;
  color: var(--faint);
  font-size: 9px;
  letter-spacing: 0.01em;
  line-height: 1.6;
}

.dev-footnote code {
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-mono);
  font-size: 7px;
}

.dev-reset.is-armed {
  border-color: rgba(255, 30, 45, 0.5);
  background: rgba(255, 30, 45, 0.08);
  color: var(--red);
}

.dev-file {
  display: none !important;
}

.toast {
  z-index: 500;
}

@keyframes dev-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes dev-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-7px); }
  50% { transform: translateX(6px); }
  75% { transform: translateX(-3px); }
}

@media (max-width: 900px) {
  .poster-section {
    min-height: auto;
  }

  .poster-stage {
    min-height: clamp(300px, 65vw, 520px);
  }

  .poster-card {
    width: min(86vw, 620px);
  }

  .poster-arrow {
    width: 42px;
    height: 42px;
  }

  .poster-caption small {
    display: none;
  }

  .dev-overlay {
    padding: 16px;
  }
}

@media (max-width: 720px) {
  .poster-section {
    padding-top: 24px;
    padding-bottom: 20px;
  }

  .poster-season strong {
    font-size: 22px;
  }

  .poster-stage {
    min-height: clamp(280px, 70vw, 420px);
    margin-top: 2px;
  }

  .poster-card {
    width: min(90vw, 520px);
  }

  .poster-card[data-role="prev"],
  .poster-card[data-role="next"] {
    --opacity: 0;
    pointer-events: none;
  }

  .poster-bottomline {
    grid-template-columns: 1fr auto;
    gap: 10px;
  }

  .poster-caption {
    display: none;
  }

  .poster-dots {
    justify-self: start;
  }

  .poster-counter {
    gap: 9px;
  }

  .poster-counter__numbers > span {
    font-size: 28px;
  }

  .poster-arrow {
    display: none;
  }

  .poster-ghost {
    font-size: 38vw;
  }

  .dev-sheet {
    max-height: 94vh;
  }

  .dev-sheet__head {
    padding: 20px 18px 16px;
    gap: 16px;
  }

  .dev-sheet__head .dev-title {
    font-size: 28px;
  }

  .dev-sheet__head .dev-desc {
    margin-top: 7px;
    font-size: 10px;
  }

  .dev-sheet__head .dev-x {
    width: 30px;
    height: 30px;
  }

  .dev-sheet__body {
    padding: 14px 18px 22px;
  }

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

  .dev-card {
    padding: 6px;
  }

  .dev-sheet__foot {
    flex-wrap: wrap;
    gap: 9px;
    padding: 13px 18px;
  }

  .dev-footnote {
    flex-basis: 100%;
    order: 3;
    font-size: 7px;
  }

  .dev-sheet__foot .dev-btn--primary {
    margin-left: auto;
  }

  .dev-gate__card {
    padding: 28px 20px 22px;
  }

  .dev-title {
    font-size: 32px;
  }
}

@media (max-width: 420px) {
  .poster-section {
    min-height: auto;
    padding-top: 22px;
  }

  .poster-heading .eyebrow {
    font-size: 7.5px;
    letter-spacing: 0.13em;
  }

  .poster-stage {
    min-height: clamp(260px, 72vw, 340px);
  }

  .poster-card {
    width: min(90vw, 420px);
  }

  .poster-dot {
    width: 25px;
  }

  .poster-dot::before {
    width: 20px;
  }

  .poster-dot[aria-current="true"]::before {
    width: 26px;
  }

  .poster-counter__numbers > span {
    font-size: 25px;
  }

  .poster-autoplay {
    width: 30px;
    height: 30px;
  }

  .dev-overlay {
    padding: 8px;
  }

  .dev-gate__card {
    padding: 26px 17px 20px;
  }

  .dev-sheet {
    max-height: 96vh;
  }

  .dev-sheet__head {
    padding: 17px 14px 13px;
  }

  .dev-sheet__body {
    padding: 12px 14px 18px;
  }

  .dev-sheet__foot {
    padding: 11px 14px;
  }

  .dev-statusline {
    font-size: 7px;
  }

  .dev-statusline span:last-child {
    display: none;
  }

  .dev-card__actions {
    gap: 3px;
  }

  .dev-action {
    font-size: 6.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .poster-stage,
  .poster-bottomline {
    opacity: 1;
    animation: none;
  }

  .poster-card {
    transition-duration: 0.01ms;
  }
}


/* ------------------------------------------------------ full developer page */
body.dev-mode {
  overflow-y: auto;
  background: #050506;
}

body.dev-mode .page {
  display: none;
}

.developer-page {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  background: #050506;
  isolation: isolate;
}

.developer-page::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.037) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.037) 1px, transparent 1px);
  background-size: 96px 96px;
  content: "";
  opacity: 0.7;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 86% 82% at 50% 42%, #000, transparent 78%);
  mask-image: radial-gradient(ellipse 86% 82% at 50% 42%, #000, transparent 78%);
}

.developer-page::after {
  position: fixed;
  top: -24%;
  right: -14%;
  z-index: -1;
  width: 66vw;
  height: 66vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 30, 45, 0.1), transparent 65%);
  content: "";
  filter: blur(26px);
  pointer-events: none;
}

.dev-page-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 84px;
  padding: 0 var(--pad);
  border-bottom: 1px solid var(--line-soft);
  background: rgba(5, 5, 6, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.dev-page-brand {
  display: block;
  flex: 0 0 auto;
  line-height: 0;
}

.dev-page-brand img {
  display: block;
  width: 195px;
  height: auto;
}

.dev-page-mark {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.dev-page-mark span {
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.2em;
  line-height: 1.4;
}

.dev-page-mark strong {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.13em;
  line-height: 1.4;
}

.dev-page-head-right {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}

.dev-page-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.14em;
  white-space: nowrap;
}

.dev-page-status i {
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 9px rgba(255, 30, 45, 0.65);
  animation: status-pulse 2.2s ease-in-out infinite;
}

.dev-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.dev-back-btn span {
  color: var(--red);
  font-size: 12px;
}

.dev-back-btn:hover {
  border-color: rgba(255, 30, 45, 0.5);
  background: rgba(255, 30, 45, 0.07);
  color: var(--white);
}

.dev-page-main {
  display: flex;
  flex: 1 0 auto;
  min-height: 0;
}

/* --------------------------------------------------------- developer access */
.dev-access {
  display: grid;
  flex: 1 0 auto;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 430px);
  gap: clamp(42px, 7vw, 118px);
  align-items: center;
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
  padding: clamp(48px, 7vh, 88px) var(--pad);
}

.dev-access-visual {
  position: relative;
  max-width: 760px;
}

.dev-access-visual > .dev-kicker {
  margin-bottom: 26px;
}

.dev-access-display {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(64px, 7.6vw, 118px);
  font-weight: 700;
  letter-spacing: -0.065em;
  line-height: 0.84;
}

.dev-access-display span {
  color: var(--red);
}

.dev-access-copy {
  max-width: 440px;
  margin: 31px 0 0;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.02em;
  line-height: 1.9;
}

.dev-access-stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 3.4vw, 46px);
  max-width: 500px;
  margin-top: 38px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}

.dev-access-stats div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.dev-access-stats span {
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.17em;
  line-height: 1;
}

.dev-access-stats strong {
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.4;
}

.dev-access-watermark {
  position: absolute;
  right: -0.04em;
  bottom: -0.45em;
  z-index: 0;
  color: transparent;
  font-family: var(--font-display);
  font-size: clamp(180px, 22vw, 340px);
  font-weight: 700;
  letter-spacing: -0.09em;
  line-height: 0.7;
  white-space: nowrap;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.065);
  pointer-events: none;
}

.dev-access-panel {
  display: flex;
  justify-content: flex-end;
}

.dev-access-form {
  position: relative;
  width: 100%;
  max-width: 430px;
  padding: 34px;
  border: 1px solid var(--line);
  background: #0a0b0d;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.38);
}

.dev-access-form::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red), transparent 78%);
  content: "";
}

.dev-access-form.is-error {
  animation: dev-shake 0.36s ease;
}

.dev-access-title {
  margin: 0;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 39px;
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1;
}

.dev-access-desc {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.dev-access-form .dev-label {
  margin-top: 30px;
}

.dev-access-form .dev-input {
  height: 52px;
}

.dev-access-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 5px;
}

.dev-access-meta {
  display: block;
  margin-top: 25px;
  color: rgba(255, 255, 255, 0.2);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.14em;
}

/* -------------------------------------------------------- developer console */
.dev-console {
  display: flex;
  flex: 1 0 auto;
  width: 100%;
  max-width: 1600px;
  min-height: 0;
  margin: 0 auto;
  padding: 0 var(--pad) 28px;
  gap: clamp(24px, 3vw, 46px);
}

.dev-rail {
  display: flex;
  flex: 0 0 204px;
  flex-direction: column;
  min-height: 0;
  padding-top: 36px;
  padding-right: 24px;
  border-right: 1px solid var(--line-soft);
}

.dev-rail-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.dev-rail-head span {
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.17em;
  line-height: 1.4;
}

.dev-rail-head strong {
  color: var(--red);
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.9;
}

.dev-rail-nav {
  display: flex;
  flex-direction: column;
  margin-top: 40px;
  border-top: 1px solid var(--line-soft);
}

.dev-rail-nav > span {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line-soft);
  color: var(--faint);
}

.dev-rail-nav > span > i {
  display: block;
  width: 5px;
  height: 5px;
  margin-top: 6px;
  border: 1px solid var(--faint);
  border-radius: 50%;
}

.dev-rail-nav > span > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dev-rail-nav strong {
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
}

.dev-rail-nav small {
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 6.5px;
  letter-spacing: 0.13em;
  line-height: 1.4;
}

.dev-rail-nav .is-active {
  color: var(--white);
}

.dev-rail-nav .is-active > i {
  border-color: var(--red);
  background: var(--red);
  box-shadow: 0 0 9px rgba(255, 30, 45, 0.55);
}

.dev-rail-nav .is-active small {
  color: var(--red);
}

.dev-rail-nav .is-disabled {
  opacity: 0.38;
}

.dev-rail-foot {
  margin-top: auto;
  padding-top: 28px;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.06em;
  line-height: 1.7;
}

.dev-rail-foot span {
  display: block;
  color: rgba(255, 255, 255, 0.25);
  font-size: 6.5px;
  letter-spacing: 0.14em;
}

.dev-rail-foot strong {
  display: block;
  margin-top: 4px;
  color: var(--text);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.dev-rail-foot p {
  margin: 12px 0 0;
  color: var(--faint);
  font-family: var(--font-body);
  font-size: 9px;
  line-height: 1.7;
}

.dev-workspace {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  padding-top: 34px;
}

.dev-workspace-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.dev-workspace-head h1 {
  margin: 0;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(38px, 3.5vw, 52px);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.9;
}

.dev-workspace-head p:not(.dev-kicker) {
  max-width: 610px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.dev-workspace-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding-top: 4px;
}

.dev-count {
  margin-right: 7px;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.dev-workspace-body {
  flex: 1 1 auto;
  min-height: 0;
  margin-top: 27px;
  padding: 0 5px 12px 0;
  overflow: auto;
}

.dev-console .dev-grid {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.dev-console .dev-add-card {
  min-height: 238px;
}

.dev-add-card--wide {
  grid-column: 1 / -1;
  min-height: 96px !important;
  flex-direction: row;
  justify-content: center;
  gap: 14px;
  padding: 18px;
}

.dev-add-card--wide .dev-plus {
  width: 32px;
  height: 32px;
  font-size: 18px;
}

.dev-workspace-foot {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.02em;
  line-height: 1.7;
}

.dev-workspace-foot span:first-child {
  max-width: 760px;
}

.dev-workspace-foot span:last-child {
  color: rgba(255, 30, 45, 0.7);
  white-space: nowrap;
}

.dev-workspace-foot code {
  color: rgba(255, 255, 255, 0.45);
  font-size: 7px;
}

.dev-page-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 48px;
  padding: 0 var(--pad);
  border-top: 1px solid var(--line-soft);
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.12em;
  line-height: 1.5;
}

.dev-page-footer span:nth-child(2) {
  color: rgba(255, 255, 255, 0.25);
}

@media (max-width: 1100px) {
  .dev-access {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 390px);
    gap: 44px;
  }

  .dev-access-display {
    font-size: clamp(58px, 7.5vw, 92px);
  }

  .dev-rail {
    flex-basis: 180px;
    padding-right: 20px;
  }
}

@media (max-width: 820px) {
  .dev-page-header {
    min-height: 72px;
    gap: 16px;
  }

  .dev-page-brand img {
    width: 158px;
  }

  .dev-page-mark {
    display: none;
  }

  .dev-page-status {
    display: none;
  }

  .dev-back-btn {
    height: 36px;
    padding: 0 11px;
    font-size: 7px;
  }

  .dev-access {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 42px;
    padding-bottom: 46px;
  }

  .dev-access-display {
    font-size: clamp(56px, 12vw, 86px);
  }

  .dev-access-copy {
    margin-top: 23px;
    max-width: 520px;
  }

  .dev-access-stats {
    margin-top: 28px;
  }

  .dev-access-watermark {
    right: 0;
    bottom: -0.35em;
    font-size: 200px;
  }

  .dev-access-panel {
    justify-content: stretch;
  }

  .dev-access-form {
    max-width: none;
    padding: 26px 22px;
  }

  .dev-access-title {
    font-size: 34px;
  }

  .dev-console {
    flex-direction: column;
    gap: 0;
    padding-bottom: 22px;
  }

  .dev-rail {
    flex: 0 0 auto;
    width: 100%;
    min-height: auto;
    padding: 22px 0 18px;
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .dev-rail-head {
    align-items: center;
  }

  .dev-rail-nav {
    display: none;
  }

  .dev-rail-foot {
    display: none;
  }

  .dev-workspace {
    padding-top: 23px;
  }

  .dev-workspace-head {
    flex-direction: column;
    gap: 19px;
  }

  .dev-workspace-head h1 {
    font-size: 40px;
  }

  .dev-workspace-actions {
    justify-content: flex-start;
    padding-top: 0;
  }

  .dev-workspace-body {
    overflow: visible;
    padding-right: 0;
  }

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

  .dev-console .dev-add-card {
    min-height: 210px;
  }

  .dev-workspace-foot {
    flex-direction: column;
    gap: 8px;
    margin-top: 18px;
  }

  .dev-page-footer {
    flex-wrap: wrap;
    gap: 8px 20px;
    padding-top: 13px;
    padding-bottom: 13px;
    font-size: 6.5px;
  }

  .dev-page-footer span:nth-child(3) {
    display: none;
  }
}

@media (max-width: 520px) {
  .dev-page-header {
    padding: 0 18px;
  }

  .dev-page-brand img {
    width: 144px;
  }

  .dev-back-btn {
    height: 34px;
    padding: 0 9px;
  }

  .dev-access {
    padding: 34px 18px 38px;
  }

  .dev-access-display {
    font-size: 52px;
  }

  .dev-access-copy {
    font-size: 12px;
  }

  .dev-access-stats {
    gap: 20px;
  }

  .dev-access-form {
    padding: 23px 18px;
  }

  .dev-access-title {
    font-size: 30px;
  }

  .dev-console {
    padding: 0 18px 20px;
  }

  .dev-workspace-actions {
    gap: 6px;
  }

  .dev-workspace-actions .dev-btn {
    height: 36px;
    padding: 0 10px;
    font-size: 8px;
  }

  .dev-count {
    flex-basis: 100%;
    margin: 0 0 2px;
  }

  .dev-workspace-head h1 {
    font-size: 34px;
  }

  .dev-console .dev-card {
    padding: 6px;
  }

  .dev-console .dev-action {
    font-size: 7px;
  }

  .dev-console .dev-add-card {
    min-height: 190px;
  }

  .dev-page-footer {
    padding-right: 18px;
    padding-left: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dev-page-status i {
    animation: none;
  }
}

/* ------------------------------------------------------- drag-drop upload */
.dev-dropzone {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  padding: 24px;
  place-items: center;
  background: rgba(5, 5, 6, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  pointer-events: none;
}

.dev-dropzone__inner {
  display: flex;
  width: min(620px, 100%);
  min-height: 320px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 34px;
  border: 1px dashed rgba(255, 30, 45, 0.6);
  background: rgba(255, 30, 45, 0.045);
  text-align: center;
  animation: drop-in 0.24s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.dev-dropzone__icon {
  display: grid;
  width: 64px;
  height: 64px;
  margin-bottom: 9px;
  place-items: center;
  border: 1px solid rgba(255, 30, 45, 0.65);
  border-radius: 50%;
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 30px;
  font-weight: 300;
  line-height: 1;
  box-shadow: 0 0 34px rgba(255, 30, 45, 0.12);
}

.dev-dropzone__inner .dev-kicker {
  margin: 0;
}

.dev-dropzone__inner strong {
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.dev-dropzone__inner small {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.03em;
  line-height: 1.7;
}

@keyframes drop-in {
  from {
    opacity: 0;
    transform: scale(0.97);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 520px) {
  .dev-dropzone {
    padding: 16px;
  }

  .dev-dropzone__inner {
    min-height: 250px;
    padding: 24px 18px;
  }

  .dev-dropzone__icon {
    width: 54px;
    height: 54px;
    font-size: 25px;
  }

  .dev-dropzone__inner small {
    max-width: 260px;
    font-size: 9px;
  }
}


/* ------------------------------------------------------ NAR about section */
#about,
#posters,
#news,
#sponsors {
  scroll-margin-top: calc(var(--header-h) + 18px);
}

.nar-section {
  position: relative;
  padding: clamp(76px, 9vw, 126px) var(--pad);
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
  background: #050506;
}

.nar-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.nar-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.042) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.042) 1px, transparent 1px);
  background-size: 96px 96px;
  opacity: 0.7;
  -webkit-mask-image: radial-gradient(ellipse 82% 85% at 56% 46%, #000 4%, transparent 78%);
  mask-image: radial-gradient(ellipse 82% 85% at 56% 46%, #000 4%, transparent 78%);
}

.nar-glow {
  position: absolute;
  top: -25%;
  right: -16%;
  width: 60vw;
  height: 60vw;
  max-width: 1000px;
  max-height: 1000px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 30, 45, 0.16), transparent 65%);
  filter: blur(30px);
}

.nar-ghost {
  position: absolute;
  right: -0.08em;
  bottom: -0.17em;
  color: transparent;
  font-family: var(--font-display);
  font-size: clamp(180px, 28vw, 460px);
  font-weight: 700;
  letter-spacing: -0.09em;
  line-height: 0.72;
  white-space: nowrap;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.055);
}

.nar-scan {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 8%, rgba(255, 30, 45, 0.35), transparent 92%);
  opacity: 0.2;
  animation: scan 15s linear infinite;
}

.nar-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
  gap: clamp(50px, 8vw, 130px);
  align-items: center;
  max-width: 1500px;
  margin: 0 auto;
}

.nar-name {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 13px;
  margin: 26px 0 0;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(54px, 7vw, 104px);
  font-weight: 700;
  letter-spacing: -0.065em;
  line-height: 0.82;
}

.nar-name em {
  margin-top: 0.32em;
  color: var(--red);
  font-family: var(--font-mono);
  font-size: clamp(11px, 1.05vw, 15px);
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1;
}

.nar-acronym {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px clamp(26px, 4vw, 58px);
  margin-top: 35px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
}

.nar-acronym span {
  display: flex;
  align-items: baseline;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 0.8;
}

.nar-acronym b {
  margin-right: 4px;
  color: var(--red);
  font-size: clamp(62px, 6vw, 92px);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 0.7;
}

.nar-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 620px;
  margin-top: 33px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.16em;
  line-height: 1.5;
}

.nar-copy {
  padding-left: clamp(24px, 4vw, 52px);
  border-left: 1px solid var(--line-soft);
}

.nar-lead {
  margin: 0;
  color: var(--text);
  font-size: clamp(19px, 1.7vw, 24px);
  letter-spacing: 0.01em;
  line-height: 1.8;
}

.nar-owner {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: clamp(38px, 5vw, 64px);
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
}

.nar-owner span {
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.18em;
  line-height: 1.4;
}

.nar-owner strong {
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(26px, 2.8vw, 38px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.15;
}

.nar-signature {
  margin: 27px 0 0;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.16em;
  line-height: 1.6;
  text-transform: uppercase;
}

/* ---------------------------------------------------------- poster wall */
.wall-section,
.news-section {
  position: relative;
  padding: clamp(66px, 8vw, 110px) var(--pad);
  border-bottom: 1px solid var(--line-soft);
  background: #050506;
}

.news-section {
  background: #08090b;
}

.section-shell {
  max-width: 1500px;
  margin: 0 auto;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: clamp(30px, 4vw, 46px);
}

.section-head .eyebrow {
  margin: 0;
}

.section-head h2 {
  margin: 17px 0 0;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(40px, 4.7vw, 70px);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 0.88;
}

.section-note {
  max-width: 280px;
  margin: 0 0 4px;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.1em;
  line-height: 1.7;
  text-align: right;
  text-transform: uppercase;
}

.poster-wall {
  columns: 4 240px;
  column-gap: 16px;
}

.wall-item {
  position: relative;
  display: block;
  margin: 0 0 16px;
  break-inside: avoid;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: #0b0c0f;
}

.wall-item img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), filter 0.5s ease;
}

.wall-item:hover img {
  transform: scale(1.02);
  filter: brightness(1.08);
}

.wall-empty,
.news-empty {
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-items: flex-start;
  justify-content: center;
  min-height: 190px;
  padding: 28px;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.012);
}

.wall-empty span,
.news-empty span {
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.18em;
}

.wall-empty p,
.news-empty p {
  margin: 0;
  color: var(--faint);
  font-size: 11px;
}

/* ------------------------------------------------------------- newsroom */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 390px));
  justify-content: start;
  gap: 18px;
}

.news-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: #0b0c0f;
}

.news-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #111318;
}

.news-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.news-card:hover .news-card__media img {
  transform: scale(1.025);
}

.news-card__placeholder {
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 5px;
  padding: 20px;
  background:
    linear-gradient(135deg, rgba(255, 30, 45, 0.12), transparent 52%),
    #0e1013;
}

.news-card__placeholder strong {
  color: transparent;
  font-family: var(--font-display);
  font-size: clamp(44px, 5vw, 72px);
  font-weight: 700;
  letter-spacing: -0.07em;
  line-height: 0.8;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.22);
}

.news-card__placeholder span {
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.16em;
}

.news-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 13px;
  padding: 19px 19px 17px;
}

.news-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.news-card h3 {
  margin: 0;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(21px, 1.65vw, 26px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.14;
  text-wrap: balance;
}

.news-card__text {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
  white-space: pre-line;
}

.news-card__author {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.1em;
  line-height: 1.4;
}

.news-card__author b {
  color: var(--red);
  font-weight: 500;
}

/* ------------------------------------------------------------ sponsors bar */
.sponsor-section {
  padding: 28px var(--pad);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: #08090a;
}

.sponsor-shell {
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 62px);
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
}

.sponsor-head {
  flex: 0 0 auto;
  min-width: 165px;
}

.sponsor-head .dev-kicker {
  margin-bottom: 5px;
}

.sponsor-head h2 {
  margin: 0;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1;
}

.sponsor-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.sponsor-item {
  display: inline-flex;
  min-height: 51px;
  align-items: center;
  gap: 9px;
  padding: 0 17px;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.018);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: border-color 0.25s ease, background 0.25s ease, filter 0.25s ease;
}

a.sponsor-item:hover {
  border-color: rgba(255, 30, 45, 0.4);
  background: rgba(255, 30, 45, 0.05);
}

.sponsor-item img {
  display: block;
  max-width: 118px;
  max-height: 30px;
  object-fit: contain;
  filter: grayscale(1) brightness(0.85);
  transition: filter 0.3s ease;
}

.sponsor-item:hover img {
  filter: grayscale(0) brightness(1);
}

.sponsor-empty {
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .nar-inner {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .nar-copy {
    padding-top: 28px;
    padding-left: 0;
    border-top: 1px solid var(--line-soft);
    border-left: 0;
  }

  .nar-name {
    font-size: clamp(50px, 10vw, 82px);
  }

  .nar-acronym b {
    font-size: clamp(56px, 9vw, 82px);
  }

  .nar-owner {
    margin-top: 32px;
  }

  .sponsor-shell {
    flex-wrap: wrap;
    gap: 17px 30px;
  }

  .sponsor-head {
    min-width: 140px;
  }
}

@media (max-width: 720px) {
  .nar-section,
  .wall-section,
  .news-section {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 26px;
  }

  .section-note {
    max-width: 100%;
    text-align: left;
  }

  .section-head h2 {
    font-size: 44px;
  }

  .poster-wall {
    columns: 2 145px;
    column-gap: 10px;
  }

  .wall-item {
    margin-bottom: 10px;
  }

  .nar-name {
    font-size: 52px;
    gap: 8px;
  }

  .nar-name em {
    margin-top: 0.45em;
  }

  .nar-acronym {
    gap: 8px 26px;
    margin-top: 26px;
  }

  .nar-acronym span {
    font-size: 20px;
  }

  .nar-acronym b {
    font-size: 58px;
  }

  .nar-lead {
    font-size: 17px;
  }

  .nar-owner strong {
    font-size: 27px;
  }

  .sponsor-section {
    padding-top: 23px;
    padding-bottom: 23px;
  }

  .sponsor-shell {
    display: block;
  }

  .sponsor-head {
    margin-bottom: 14px;
  }

  .sponsor-head h2 {
    font-size: 21px;
  }

  .sponsor-item {
    min-height: 44px;
    padding: 0 12px;
  }

  .sponsor-item img {
    max-width: 90px;
    max-height: 25px;
  }
}

@media (max-width: 520px) {
  .nar-name {
    font-size: 46px;
  }

  .nar-acronym {
    gap: 7px 20px;
  }

  .nar-acronym span {
    font-size: 18px;
  }

  .nar-acronym b {
    font-size: 52px;
  }

  .nar-meta {
    font-size: 6.5px;
  }

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


/* --------------------------------------------------- developer workspaces */
.dev-rail-nav {
  gap: 0;
}

.dev-rail-link {
  display: flex;
  width: 100%;
  align-items: flex-start;
  gap: 12px;
  padding: 15px 0;
  border: 0;
  border-bottom: 1px solid var(--line-soft);
  background: none;
  color: var(--faint);
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.dev-rail-link > i {
  display: block;
  width: 5px;
  height: 5px;
  flex: 0 0 auto;
  margin-top: 6px;
  border: 1px solid var(--faint);
  border-radius: 50%;
}

.dev-rail-link > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.dev-rail-link strong {
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
}

.dev-rail-link small {
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 6.5px;
  letter-spacing: 0.13em;
  line-height: 1.4;
}

.dev-rail-link:hover {
  color: var(--white);
}

.dev-rail-link.is-active {
  color: var(--white);
}

.dev-rail-link.is-active > i {
  border-color: var(--red);
  background: var(--red);
  box-shadow: 0 0 9px rgba(255, 30, 45, 0.55);
}

.dev-rail-link.is-active small {
  color: var(--red);
}

.dev-view {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
}

/* --------------------------------------------------------- content editor */
.dev-editor-layout {
  display: grid;
  grid-template-columns: minmax(300px, 380px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.dev-form {
  padding: 20px;
  border: 1px solid var(--line-soft);
  background: #0d0f12;
}

.dev-form > .dev-kicker {
  margin: 0 0 18px;
}

.dev-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.dev-field > span {
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.1em;
  line-height: 1.4;
}

.dev-field input,
.dev-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  outline: none;
  background: #050506;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.6;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.dev-field input {
  height: 40px;
  padding: 0 11px;
}

.dev-field textarea {
  min-height: 90px;
  padding: 10px 11px;
  resize: vertical;
}

.dev-field input::placeholder,
.dev-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.2);
}

.dev-field input:focus,
.dev-field textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(255, 30, 45, 0.08);
}

.dev-image-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.dev-image-preview {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 110px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  background: #08090b;
}

.dev-image-preview span {
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 6.5px;
  letter-spacing: 0.12em;
}

.dev-image-preview img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 240px;
  object-fit: cover;
}

.dev-image-preview.has-image span {
  display: none;
}

.dev-image-preview--logo {
  min-height: 82px;
}

.dev-image-preview--logo img {
  width: auto;
  max-width: 80%;
  max-height: 72px;
  object-fit: contain;
}

.dev-form-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 4px;
}

.dev-editor-list {
  min-width: 0;
  padding: 0;
}

.dev-list-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 10px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.1em;
  line-height: 1.4;
}

.dev-list-head span:last-child {
  color: rgba(255, 255, 255, 0.24);
}

.news-admin-list,
.sponsor-admin-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.admin-news {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 9px;
  border: 1px solid var(--line-soft);
  background: #0d0f12;
}

.admin-news__thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #050506;
}

.admin-news__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-news__placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: var(--red);
  font-family: var(--font-display);
  font-size: 18px;
}

.admin-news__info {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.admin-news__info strong {
  overflow: hidden;
  color: var(--text);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-news__info span {
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.06em;
}

.admin-news__info p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.dev-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
  gap: 12px;
}

.dev-gallery-card {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 7px;
  border: 1px solid var(--line-soft);
  background: #0d0f12;
}

.dev-gallery-thumb {
  display: flex;
  aspect-ratio: 4 / 3;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #050506;
}

.dev-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.dev-gallery-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.06em;
}

.dev-gallery-meta strong {
  overflow: hidden;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dev-gallery-actions {
  display: flex;
  justify-content: flex-end;
}

.sponsor-admin-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 9px;
  border: 1px solid var(--line-soft);
  background: #0d0f12;
}

.sponsor-admin-logo {
  display: flex;
  height: 52px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #050506;
}

.sponsor-admin-logo img {
  max-width: 100%;
  max-height: 36px;
  object-fit: contain;
}

.sponsor-admin-logo span {
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.1em;
}

.sponsor-admin-info {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.sponsor-admin-info strong {
  color: var(--text);
  font-size: 11px;
  font-weight: 500;
}

.sponsor-admin-info a,
.sponsor-admin-info span {
  overflow: hidden;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 7px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sponsor-admin-info a:hover {
  color: var(--white);
}

.dev-admin-empty {
  display: flex;
  min-height: 150px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 6px;
  padding: 22px;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  color: var(--faint);
  font-size: 10px;
  line-height: 1.6;
}

.dev-admin-empty span {
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.12em;
}

@media (max-width: 1100px) {
  .dev-editor-layout {
    grid-template-columns: 1fr;
  }

  .dev-form {
    max-width: none;
  }
}

@media (max-width: 820px) {
  .dev-rail-nav {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    margin-top: 16px;
    border-top: 0;
    scrollbar-width: thin;
  }

  .dev-rail-link {
    flex: 0 0 auto;
    gap: 7px;
    width: auto;
    padding: 10px 11px;
    border-right: 1px solid var(--line-soft);
    border-bottom: 2px solid transparent;
  }

  .dev-rail-link > i {
    margin-top: 4px;
  }

  .dev-rail-link strong {
    font-size: 9px;
    white-space: nowrap;
  }

  .dev-rail-link small {
    display: none;
  }

  .dev-rail-link.is-active {
    border-bottom-color: var(--red);
  }

  .dev-workspace {
    padding-top: 20px;
  }

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

  .admin-news {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .admin-news .dev-action {
    grid-column: 1 / -1;
    justify-self: end;
    width: 72px;
  }

  .sponsor-admin-row {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .sponsor-admin-row .dev-action {
    grid-column: 1 / -1;
    justify-self: end;
    width: 72px;
  }

  .dev-form {
    padding: 18px;
  }
}

@media (max-width: 520px) {
  .dev-rail {
    padding-top: 16px;
    padding-bottom: 0;
  }

  .dev-rail-head {
    padding-bottom: 4px;
  }

  .dev-rail-link {
    padding: 9px 9px;
  }

  .dev-rail-link strong {
    font-size: 8px;
  }

  .dev-gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .dev-form {
    padding: 15px;
  }

  .admin-news {
    grid-template-columns: 1fr;
  }

  .admin-news__thumb {
    width: 100%;
  }

  .admin-news .dev-action {
    width: 100%;
  }

  .sponsor-admin-row {
    grid-template-columns: 1fr;
  }

  .sponsor-admin-row .dev-action {
    width: 100%;
  }
}


/* --------------------------------------------------- fixed sponsor bottom bar */
:root {
  --sponsor-h: 78px;
}

.page {
  padding-bottom: var(--sponsor-h);
}

.poster-section {
  min-height: max(calc(100svh - var(--header-h) - var(--sponsor-h)), 730px);
}

.sponsor-section {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 60;
  height: var(--sponsor-h);
  padding: 0 var(--pad);
  border-top: 1px solid var(--line-soft);
  border-bottom: 0;
  background: rgba(8, 9, 10, 0.94);
  box-shadow: 0 -18px 50px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.sponsor-section::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 30, 45, 0.55), transparent);
  content: "";
  pointer-events: none;
}

.sponsor-shell {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: clamp(22px, 3.6vw, 54px);
  height: 100%;
  max-width: 1500px;
  margin: 0 auto;
}

.sponsor-head {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  justify-content: center;
  min-width: 150px;
  margin: 0;
}

.sponsor-head .dev-kicker {
  margin: 0 0 3px;
  font-size: 6.5px;
}

.sponsor-head h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1;
}

.sponsor-list {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 8px 0;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
}

.sponsor-list::-webkit-scrollbar {
  display: none;
}

.sponsor-item {
  flex: 0 0 auto;
  min-height: 48px;
  padding: 0 16px;
}

.sponsor-item img {
  max-width: 105px;
  max-height: 27px;
}

.sponsor-empty {
  grid-column: auto;
  font-size: 7px;
}

@media (max-width: 720px) {
  :root {
    --sponsor-h: 64px;
  }

  .sponsor-section {
    padding-right: 18px;
    padding-left: 18px;
  }

  .sponsor-shell {
    display: flex;
    gap: 13px;
    padding: 0;
  }

  .sponsor-head {
    min-width: 102px;
    margin: 0;
  }

  .sponsor-head .dev-kicker {
    margin-bottom: 2px;
    font-size: 5.8px;
  }

  .sponsor-head h2 {
    font-size: 16px;
  }

  .sponsor-list {
    gap: 6px;
    padding: 5px 0;
  }

  .sponsor-item {
    min-height: 40px;
    gap: 6px;
    padding: 0 10px;
    font-size: 7px;
  }

  .sponsor-item img {
    max-width: 76px;
    max-height: 21px;
  }

  .sponsor-empty {
    font-size: 6.5px;
  }
}


@media (max-width: 900px) {
  .poster-section {
    min-height: auto;
  }
}


/* ---------------------------------------------- fixed sponsor logo-only rail */
:root {
  --sponsor-h: 64px;
}

.page {
  padding-bottom: var(--sponsor-h);
}

.sponsor-section {
  height: var(--sponsor-h);
  padding: 0 var(--pad);
  border-top: 1px solid var(--line-soft);
  border-bottom: 0;
  background: rgba(7, 8, 9, 0.96);
}

.sponsor-list {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(18px, 3vw, 44px);
  width: 100%;
  max-width: 1500px;
  height: 100%;
  margin: 0 auto;
  padding: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
}

.sponsor-list::-webkit-scrollbar {
  display: none;
}

.sponsor-item {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  text-decoration: none;
}

a.sponsor-item:hover {
  border: 0;
  background: transparent;
}

.sponsor-item img {
  display: block;
  width: auto;
  max-width: 160px;
  max-height: 36px;
  object-fit: contain;
  filter: none;
  opacity: 1;
  transition: transform 0.25s ease;
}

.sponsor-item:hover img {
  filter: none;
  transform: scale(1.035);
}

@media (max-width: 720px) {
  :root {
    --sponsor-h: 56px;
  }

  .sponsor-section {
    padding-right: 18px;
    padding-left: 18px;
  }

  .sponsor-list {
    gap: 18px;
    padding: 0;
  }

  .sponsor-item {
    min-height: 0;
    padding: 0;
  }

  .sponsor-item img {
    max-width: 104px;
    max-height: 27px;
  }
}


/* ---------------------------------------------------- inner site pages */
.inner-page {
  flex: 1 0 auto;
  background: #050506;
}

.inner-hero {
  position: relative;
  padding: clamp(66px, 8vw, 112px) var(--pad) clamp(36px, 4.5vw, 58px);
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
  background: #050506;
}

.inner-hero::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 96px 96px;
  content: "";
  opacity: 0.72;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 48% 45%, #000, transparent 76%);
  mask-image: radial-gradient(ellipse 80% 90% at 48% 45%, #000, transparent 76%);
}

.inner-hero::after {
  position: absolute;
  right: -0.04em;
  bottom: -0.2em;
  z-index: 0;
  color: transparent;
  font-family: var(--font-display);
  font-size: clamp(130px, 22vw, 360px);
  font-weight: 700;
  letter-spacing: -0.08em;
  line-height: 0.7;
  white-space: nowrap;
  content: attr(data-ghost);
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.inner-hero > * {
  position: relative;
  z-index: 2;
}

.inner-hero .eyebrow {
  margin: 0 0 23px;
  opacity: 1;
  animation: none;
}

.inner-hero h1 {
  margin: 0;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(54px, 7.2vw, 108px);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 0.84;
}

.inner-hero-copy {
  max-width: 530px;
  margin: 27px 0 0;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.01em;
  line-height: 1.85;
}

.inner-section {
  padding: clamp(38px, 5vw, 62px) var(--pad) clamp(78px, 9vw, 118px);
  background: #050506;
}

.inner-section .section-shell {
  max-width: 1500px;
  margin: 0 auto;
}

.inner-page--about {
  display: flex;
  flex-direction: column;
}

.inner-page--about .nar-section {
  flex: 1 0 auto;
}

.nar-next {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  max-width: 1500px;
  margin: clamp(44px, 5vw, 70px) auto 0;
  padding: 20px var(--pad) 0;
  border-top: 1px solid var(--line-soft);
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.14em;
  line-height: 1.5;
  text-transform: uppercase;
}

.nar-next a {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.03em;
  text-transform: none;
  transition: color 0.25s ease;
}

.nar-next a span {
  color: var(--red);
  font-size: 18px;
  line-height: 0.7;
  transition: transform 0.25s ease;
}

.nar-next a:hover {
  color: var(--white);
}

.nar-next a:hover span {
  transform: translate(2px, -2px);
}

@media (max-width: 720px) {
  .inner-hero {
    padding-top: 58px;
    padding-bottom: 40px;
  }

  .inner-hero h1 {
    font-size: clamp(48px, 14vw, 78px);
  }

  .inner-hero-copy {
    margin-top: 20px;
    font-size: 12px;
  }

  .inner-section {
    padding-top: 32px;
    padding-bottom: 78px;
  }

  .nar-next {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
    margin-top: 34px;
  }
}


.inner-placeholder {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 310px;
  padding: clamp(30px, 5vw, 54px);
  border: 1px dashed var(--line);
  background:
    linear-gradient(135deg, rgba(255, 30, 45, 0.04), transparent 45%),
    rgba(255, 255, 255, 0.012);
  overflow: hidden;
}

.inner-placeholder::after {
  position: absolute;
  right: 22px;
  bottom: -23px;
  color: transparent;
  font-family: var(--font-display);
  font-size: clamp(100px, 14vw, 210px);
  font-weight: 700;
  letter-spacing: -0.07em;
  line-height: 0.75;
  content: "FRL";
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.inner-placeholder > * {
  position: relative;
  z-index: 1;
}

.inner-placeholder > span {
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.14em;
}

.inner-placeholder h2 {
  margin: 16px 0 10px;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.045em;
}

.inner-placeholder p {
  max-width: 480px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.85;
}

.inner-placeholder a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  color: var(--text);
  font-size: 12px;
  transition: color 0.25s ease;
}

.inner-placeholder a span {
  color: var(--red);
  font-size: 17px;
  line-height: 0.7;
}

.inner-placeholder a:hover {
  color: var(--white);
}


.mobile-link.is-active {
  color: var(--white);
  background: linear-gradient(90deg, rgba(255, 30, 45, 0.1), transparent 74%);
}

.mobile-link.is-active > span {
  color: var(--red);
}

.sponsor-item img {
  max-width: 180px;
  max-height: 40px;
}

@media (max-width: 720px) {
  .sponsor-item img {
    max-width: 122px;
    max-height: 30px;
  }
}


/* --------------------------------------------------------------- team cards */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}

.team-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.014);
  overflow: hidden;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}

.team-card:hover {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.028);
  transform: translateY(-3px);
}

.team-card__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 8.5;
  padding: 25px;
  border-bottom: 1px solid var(--line-soft);
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.06), transparent 65%),
    #090a0b;
}

.team-card__logo img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 120px;
  object-fit: contain;
}

.team-card__logo > span {
  color: var(--faint);
  font-family: var(--font-display);
  font-size: 42px;
  letter-spacing: -0.04em;
}

.team-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 20px 20px 18px;
}

.team-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.14em;
}

.team-card h2 {
  margin: 0;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(24px, 2.2vw, 33px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1;
}

.team-card__zh {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.03em;
}

.team-card__intro {
  margin: 17px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.team-card__qq {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
}

.team-card__qq span {
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 6.5px;
  letter-spacing: 0.14em;
}

.team-card__qq strong {
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.05em;
}

.team-empty,
.news-empty,
.wall-empty {
  /* existing empty styles handle the other two; team empty mirrors them */
}

.team-empty {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 180px;
  padding: 26px;
  border: 1px dashed var(--line);
  color: var(--faint);
}

.team-empty > span {
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.14em;
}

.team-empty p {
  margin: 8px 0 0;
  color: var(--faint);
  font-size: 11px;
}

.team-admin-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.team-admin-row {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 86px;
  padding: 12px;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.015);
}

.team-admin-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 86px;
  height: 62px;
  border: 1px solid var(--line-soft);
  background: #090a0b;
  overflow: hidden;
}

.team-admin-logo img {
  display: block;
  max-width: 78px;
  max-height: 54px;
  object-fit: contain;
}

.team-admin-logo span {
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 6px;
  letter-spacing: 0.1em;
}

.team-admin-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.team-admin-info strong {
  color: var(--text);
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: -0.02em;
}

.team-admin-info > span {
  color: var(--muted);
  font-size: 10px;
}

.team-admin-info p {
  margin: 2px 0 0;
  color: var(--faint);
  font-size: 9px;
  line-height: 1.5;
}

.team-admin-info small {
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 6.5px;
  letter-spacing: 0.08em;
}

@media (max-width: 720px) {
  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-card__logo {
    aspect-ratio: 16 / 7.5;
    padding: 18px;
  }

  .team-card__logo img {
    max-height: 90px;
  }

  .team-admin-row {
    grid-template-columns: 64px minmax(0, 1fr) auto;
    gap: 10px;
    padding: 10px;
  }

  .team-admin-logo {
    width: 64px;
    height: 52px;
  }

  .team-admin-logo img {
    max-width: 58px;
    max-height: 46px;
  }

  .team-admin-info strong {
    font-size: 15px;
  }
}


.wall-section {
  scroll-margin-top: calc(var(--header-h) + 18px);
}

.section-note a {
  color: var(--red);
  letter-spacing: 0.08em;
  transition: color 0.25s ease;
}

.section-note a:hover {
  color: var(--white);
}


.dev-write-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(255, 30, 45, 0.55);
  background: rgba(255, 30, 45, 0.08);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.dev-write-btn:hover {
  border-color: var(--red);
  background: rgba(255, 30, 45, 0.16);
  color: var(--white);
}

@media (max-width: 720px) {
  .dev-write-btn {
    height: 34px;
    padding: 0 9px;
    font-size: 7px;
  }
}


/* ------------------------------------------------------------ event cards */
.is-clickable {
  cursor: pointer;
}

.is-clickable:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}

.event-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.014);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.event-card:hover {
  border-color: rgba(255, 30, 45, 0.42);
  background: rgba(255, 255, 255, 0.03);
  transform: translateY(-4px);
}

.event-card__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  padding: 28px;
  background: radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.07), transparent 68%), #08090b;
}

.event-card__logo img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 190px;
  max-height: 190px;
  object-fit: contain;
}

.event-card__logo > span {
  color: var(--faint);
  font-family: var(--font-display);
  font-size: 38px;
  letter-spacing: -0.05em;
}

.event-card h2 {
  margin: 0;
  padding: 17px 18px 19px;
  border-top: 1px solid var(--line-soft);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.event-empty {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 210px;
  padding: 28px;
  border: 1px dashed var(--line);
  color: var(--faint);
}

.event-empty > span {
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.16em;
}

.event-empty p {
  margin: 9px 0 0;
  font-size: 11px;
}

.event-admin-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.event-admin-row {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  align-items: center;
  gap: 15px;
  min-height: 90px;
  padding: 12px;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.015);
}

.event-admin-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 66px;
  border: 1px solid var(--line-soft);
  background: #090a0b;
  overflow: hidden;
}

.event-admin-logo img {
  display: block;
  max-width: 68px;
  max-height: 58px;
  object-fit: contain;
}

.event-admin-logo span {
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 6px;
  letter-spacing: 0.1em;
}

.event-admin-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.event-admin-info strong {
  color: var(--text);
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: -0.02em;
}

.event-admin-info > span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.06em;
}

.event-admin-info p {
  margin: 2px 0 0;
  color: var(--faint);
  font-size: 9px;
  line-height: 1.5;
}

/* --------------------------------------------------------- detail overlay */
body.detail-open {
  overflow: hidden;
}

.detail-backdrop {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.detail-dialog {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(1100px, calc(100vw - 44px));
  max-height: min(90vh, 940px);
  border: 1px solid var(--line);
  background: #090a0c;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.65);
  overflow: hidden;
}

.detail-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 9px;
  border: 1px solid var(--line-soft);
  background: rgba(0, 0, 0, 0.55);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.1em;
  cursor: pointer;
}

.detail-close span {
  color: var(--red);
  font-size: 15px;
  line-height: 0.7;
}

.detail-body {
  overflow-y: auto;
  padding: 32px clamp(20px, 4vw, 42px) 44px;
}

.detail-kicker {
  margin: 0 0 10px;
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.16em;
}

.detail-title {
  margin: 0;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 58px);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.detail-subtitle {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.detail-byline {
  margin: 11px 0 0;
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.14em;
}

.detail-copy {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.95;
  white-space: pre-line;
}

.detail-news-image {
  display: block;
  width: 100%;
  max-height: 420px;
  margin: 24px 0 0;
  object-fit: cover;
  border: 1px solid var(--line-soft);
}

.detail-identity {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-right: 70px;
}

.detail-logo {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 104px;
  height: 104px;
  padding: 12px;
  border: 1px solid var(--line-soft);
  background: radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.07), transparent 70%), #08090b;
}

.detail-logo--event {
  width: 120px;
  height: 120px;
}

.detail-logo img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.detail-logo span {
  color: var(--faint);
  font-family: var(--font-display);
  font-size: 30px;
  letter-spacing: -0.05em;
}

.detail-identity-copy {
  min-width: 0;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.detail-meta span {
  padding: 3px 7px;
  border: 1px solid var(--line-soft);
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 6.5px;
  letter-spacing: 0.08em;
}

.detail-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 26px;
  border: 1px solid var(--line-soft);
  background: var(--line-soft);
}

.detail-stats > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 16px;
  background: #090a0c;
}

.detail-stats strong {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.detail-stats span {
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 6.5px;
  letter-spacing: 0.1em;
}

.detail-heading {
  margin: 38px 0 14px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.detail-note {
  margin: 12px 0;
  color: var(--faint);
  font-size: 11px;
}

.points-chart {
  padding: 14px 12px 12px;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.012);
}

.points-chart svg {
  display: block;
  width: 100%;
  height: auto;
}

.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 9px 4px 2px;
}

.chart-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.05em;
}

.chart-legend-item i {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.detail-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line-soft);
}

.detail-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
}

.detail-table th,
.detail-table td {
  padding: 9px 12px;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
  white-space: nowrap;
}

.detail-table th {
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 6.5px;
  font-weight: 400;
  letter-spacing: 0.1em;
}

.detail-table td {
  color: var(--muted);
  font-size: 10px;
}

.detail-table tbody tr:last-child td {
  border-bottom: 0;
}

.detail-table tbody tr:hover td {
  background: rgba(255, 255, 255, 0.025);
  color: var(--text);
}

.round-detail {
  margin-bottom: 16px;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.012);
}

.round-detail-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line-soft);
}

.round-detail-head span {
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.1em;
}

.round-detail-head strong {
  color: var(--text);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.round-detail-head small {
  margin-left: auto;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 7px;
}

.round-detail .detail-table-wrap {
  border: 0;
}

.detail-qq {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
  padding: 10px 14px;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.015);
}

.detail-qq span {
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 6.5px;
  letter-spacing: 0.12em;
}

.detail-qq strong {
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.06em;
}

@media (max-width: 720px) {
  .detail-backdrop {
    padding: 0;
    align-items: stretch;
  }

  .detail-dialog {
    width: 100%;
    max-height: 100vh;
    border: 0;
  }

  .detail-body {
    padding: 26px 18px 42px;
  }

  .detail-close {
    top: 10px;
    right: 10px;
  }

  .detail-identity {
    align-items: flex-start;
    gap: 14px;
    padding-right: 54px;
  }

  .detail-logo {
    width: 72px;
    height: 72px;
    padding: 8px;
  }

  .detail-logo--event {
    width: 82px;
    height: 82px;
  }

  .detail-title {
    font-size: clamp(28px, 9vw, 42px);
  }

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

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

  .event-card__logo {
    padding: 16px;
  }

  .event-card h2 {
    padding: 12px 12px 14px;
    font-size: 15px;
  }

  .event-admin-row {
    grid-template-columns: 58px minmax(0, 1fr) auto;
    gap: 10px;
  }

  .event-admin-logo {
    width: 58px;
    height: 52px;
  }

  .event-admin-logo img {
    max-width: 52px;
    max-height: 46px;
  }
}


/* ------------------------------------------------------------- donation */
.donate-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(245, 196, 81, 0.52);
  background: rgba(245, 196, 81, 0.07);
  color: #f5c451;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.donate-btn:hover {
  border-color: #f5c451;
  background: rgba(245, 196, 81, 0.15);
  color: #fff1c5;
}

.donate-backdrop {
  position: fixed;
  inset: 0;
  z-index: 360;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.donate-dialog {
  position: relative;
  width: min(470px, calc(100vw - 44px));
  max-height: 92vh;
  padding: 28px 26px 22px;
  border: 1px solid var(--line);
  background: #0b0c0e;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.7);
  overflow-y: auto;
}

.donate-close {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 5px 8px;
  border: 1px solid var(--line-soft);
  background: transparent;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.donate-head {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding-right: 38px;
}

.donate-app-icon {
  display: block;
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.donate-copy {
  min-width: 0;
}

.donate-kicker {
  margin: 0 0 5px;
  color: #f5c451;
  font-family: var(--font-mono);
  font-size: 6.5px;
  letter-spacing: 0.15em;
}

.donate-title {
  margin: 0;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 29px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.donate-intro {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
}

.donate-qr {
  display: flex;
  justify-content: center;
  margin-top: 22px;
  padding: 12px;
  border: 1px solid var(--line-soft);
  background: #fff;
}

.donate-qr img {
  display: block;
  width: 100%;
  max-width: 300px;
  height: auto;
  object-fit: contain;
}

.donate-scan {
  margin: 10px 0 0;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 6.5px;
  letter-spacing: 0.15em;
  text-align: center;
}

.donate-done {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 40px;
  margin-top: 20px;
  border: 1px solid rgba(255, 30, 45, 0.45);
  background: rgba(255, 30, 45, 0.1);
  color: var(--white);
  font-size: 12px;
  cursor: pointer;
}

.donate-done:hover {
  background: rgba(255, 30, 45, 0.2);
  border-color: var(--red);
}

body.donate-open,
body.lightbox-open {
  overflow: hidden;
}

/* -------------------------------------------------------- poster lightbox */
.poster-lightbox {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.lightbox-figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 92vw;
  margin: 0;
}

.lightbox-figure img {
  display: block;
  width: auto;
  max-width: 92vw;
  height: auto;
  max-height: 82vh;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.65);
  object-fit: contain;
}

.lightbox-caption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 22px;
  width: 100%;
  padding-top: 13px;
}

.lightbox-caption span {
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.14em;
}

.lightbox-caption strong {
  color: var(--text);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.lightbox-close {
  position: absolute;
  top: 22px;
  right: 25px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(0, 0, 0, 0.45);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.1em;
  cursor: pointer;
}

.lightbox-close:hover {
  border-color: var(--red);
  color: var(--white);
}

.poster-card {
  cursor: pointer;
}

.poster-card[data-role="active"] {
  cursor: zoom-in;
}

.wall-item.is-zoomable {
  cursor: zoom-in;
}

.wall-item.is-zoomable:focus-visible,
.event-card:focus-visible,
.news-card.is-clickable:focus-visible,
.team-card.is-clickable:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

@media (max-width: 720px) {
  .donate-btn {
    height: 32px;
    padding: 0 10px;
    font-size: 7px;
  }

  .donate-backdrop {
    padding: 0;
    align-items: stretch;
  }

  .donate-dialog {
    width: 100%;
    max-height: 100vh;
    padding: 28px 18px 22px;
    border: 0;
  }

  .donate-qr img {
    max-width: 260px;
  }

  .poster-lightbox {
    padding: 14px;
  }

  .lightbox-figure img {
    max-height: 76vh;
  }

  .lightbox-caption {
    flex-direction: column;
    gap: 5px;
  }

  .lightbox-close {
    top: 12px;
    right: 12px;
  }
}
