/* =========================================================================
   LINEAGE 2.0 PORTAL TEMPLATE — OBSIDIAN & MOLTEN AMBER DESIGN SYSTEM
   Themeable via --accent & --secondary injected from data/site.json
   ========================================================================= */
:root {
  --accent: #f59e0b;
  --accent-soft: rgba(245, 158, 11, 0.14);
  --accent-border: rgba(245, 158, 11, 0.38);
  --secondary: #38bdf8;
  --secondary-soft: rgba(56, 189, 248, 0.14);
  --crimson: #dc2626;

  --bg: #0c0705;
  --bg-elevated: #140b08;
  --surface: #1b0f0a;
  --surface-2: #24150e;
  --surface-glass: rgba(18, 10, 7, 0.88);

  --border: rgba(148, 163, 184, 0.14);
  --border-strong: rgba(148, 163, 184, 0.26);

  --text: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #7c8ea6;

  --success: #22c55e;
  --danger: #ef4444;
  --warning: #f59e0b;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.55);
  --container: 1240px;
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg);
  color: var(--text);
}

body {
  margin: 0;
  font-family: 'Pretendard Variable', 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(1200px 540px at 14% -8%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 65%),
    radial-gradient(960px 480px at 88% -6%, color-mix(in srgb, var(--secondary) 14%, transparent), transparent 60%),
    linear-gradient(color-mix(in srgb, var(--accent) 4%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--accent) 4%, transparent) 1px, transparent 1px),
    var(--bg);
  background-size: auto, auto, 48px 48px, 48px 48px, auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

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

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

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.font-display {
  font-family: 'Cinzel', 'Pretendard Variable', serif;
  letter-spacing: 0.04em;
}

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

/* =========================================================================
   HEADER / NAVIGATION
   ========================================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(8, 10, 15, 0.84);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-emblem {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: radial-gradient(circle, #0f172a, #050914);
  border: 2px solid color-mix(in srgb, var(--secondary) 55%, var(--accent));
  box-shadow: 0 0 18px color-mix(in srgb, var(--accent) 32%, transparent);
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 2px;
}

.brand-emblem img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.brand-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-title {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.brand-sub {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent);
  text-transform: uppercase;
}

.brand-wordmark-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  line-height: 1;
  isolation: isolate;
}

.brand-wordmark-wrap::before {
  content: '';
  position: absolute;
  inset: -4px -12px;
  border-radius: 999px;
  background: radial-gradient(
    ellipse 76% 70% at 50% 52%,
    rgba(255, 250, 230, 0.52) 0%,
    rgba(253, 224, 71, 0.26) 44%,
    rgba(56, 189, 248, 0.14) 70%,
    transparent 86%
  );
  filter: blur(8px);
  pointer-events: none;
  z-index: -1;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.brand-wordmark-img {
  position: relative;
  z-index: 1;
  display: block;
  height: 40px;
  width: auto;
  max-width: 175px;
  object-fit: contain;
  filter:
    brightness(1.18)
    contrast(1.08)
    drop-shadow(0 0 1.5px rgba(255, 252, 235, 0.92))
    drop-shadow(0 0 8px rgba(254, 240, 138, 0.75))
    drop-shadow(0 2px 10px rgba(0, 0, 0, 0.82));
  transition: transform 0.2s ease, height 0.2s ease, filter 0.2s ease;
}

.brand-link:hover .brand-wordmark-img {
  transform: scale(1.02);
  filter:
    brightness(1.24)
    contrast(1.08)
    drop-shadow(0 0 2px rgba(255, 252, 235, 0.96))
    drop-shadow(0 0 12px rgba(254, 240, 138, 0.85))
    drop-shadow(0 2px 12px rgba(0, 0, 0, 0.85));
}

.site-header.is-scrolled .brand-wordmark-img {
  height: 34px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 13px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.nav-link.is-active {
  color: var(--accent);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 240px;
  padding: 8px;
  border-radius: 14px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.18s ease;
  z-index: 120;
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 9px;
  transition: background 0.15s ease;
}

.nav-dropdown a:hover,
.nav-dropdown a.is-current {
  background: rgba(255, 255, 255, 0.06);
}

.nav-dropdown strong {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text);
}

.nav-dropdown a.is-current strong {
  color: var(--accent);
}

.nav-dropdown small {
  font-size: 11.5px;
  color: var(--text-muted);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Avengers tactical HUD buttons: steel panel + cyan/red corner brackets */
.btn {
  --btn-fill: linear-gradient(180deg, rgba(44, 22, 14, 0.92), rgba(18, 10, 7, 0.95));
  --btn-c1: var(--accent);
  --btn-c2: var(--secondary);
  --btn-tick: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: 3px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  background:
    linear-gradient(var(--btn-c1), var(--btn-c1)) top left / var(--btn-tick) 2px no-repeat,
    linear-gradient(var(--btn-c1), var(--btn-c1)) top left / 2px var(--btn-tick) no-repeat,
    linear-gradient(var(--btn-c2), var(--btn-c2)) bottom right / var(--btn-tick) 2px no-repeat,
    linear-gradient(var(--btn-c2), var(--btn-c2)) bottom right / 2px var(--btn-tick) no-repeat,
    var(--btn-fill);
  box-shadow: inset 0 1px 0 rgba(254, 243, 199, 0.08), 0 6px 16px rgba(0, 0, 0, 0.35);
  color: var(--text);
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.btn:hover {
  --btn-fill: linear-gradient(180deg, rgba(58, 28, 16, 0.95), rgba(22, 12, 8, 0.96));
  border-color: color-mix(in srgb, var(--accent) 70%, transparent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 0 18px color-mix(in srgb, var(--accent) 30%, transparent);
  transform: translateY(-1px);
}

.btn-accent {
  --btn-fill: linear-gradient(180deg, color-mix(in srgb, var(--accent) 40%, #2a1408), #180b05 92%);
  --btn-c1: #fef3c7;
  border-color: color-mix(in srgb, var(--accent) 75%, transparent);
  color: #fef3c7;
  text-shadow: 0 0 10px color-mix(in srgb, var(--accent) 70%, transparent);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 0 18px color-mix(in srgb, var(--accent) 28%, transparent),
    0 0 20px color-mix(in srgb, var(--accent) 30%, transparent);
}

.btn-accent:hover {
  --btn-fill: linear-gradient(180deg, color-mix(in srgb, var(--accent) 54%, #2a1408), #210e06 92%);
  filter: brightness(1.08);
}

.btn-secondary {
  --btn-fill: linear-gradient(180deg, color-mix(in srgb, var(--secondary) 32%, #0b1929), #07111d 92%);
  --btn-c1: #bae6fd;
  --btn-c2: var(--accent);
  border-color: color-mix(in srgb, var(--secondary) 60%, transparent);
  color: #e0f2fe;
  text-shadow: 0 0 10px color-mix(in srgb, var(--secondary) 60%, transparent);
}

.btn-secondary:hover {
  --btn-fill: linear-gradient(180deg, color-mix(in srgb, var(--secondary) 46%, #0b1929), #091728 92%);
  border-color: var(--secondary);
  box-shadow: 0 0 18px color-mix(in srgb, var(--secondary) 35%, transparent);
}

.btn-sm {
  --btn-tick: 7px;
  padding: 7px 12px;
  font-size: 12.5px;
}

.btn-lg {
  --btn-tick: 12px;
  padding: 13px 24px;
  font-size: 15px;
}

.btn-ghost {
  --btn-fill: rgba(7, 12, 24, 0.35);
  border-color: var(--border);
  color: var(--text-secondary);
}

.btn-danger {
  --btn-fill: linear-gradient(180deg, rgba(127, 29, 29, 0.55), rgba(40, 8, 12, 0.85));
  --btn-c1: #ef4444;
  --btn-c2: #ef4444;
  border-color: rgba(239, 68, 68, 0.45);
  color: #fca5a5;
}

.pill-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #86efac;
}

.pill-live .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px var(--success);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.85); }
}

.user-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-strong);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
}

.user-chip:hover {
  border-color: var(--accent-border);
}

.role-tag {
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 5px;
  background: var(--accent-soft);
  color: var(--accent);
}

.hamburger-btn {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger-btn span {
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

.mobile-drawer {
  display: none;
  position: fixed;
  inset: 70px 0 0 0;
  background: rgba(8, 10, 15, 0.96);
  backdrop-filter: blur(18px);
  z-index: 89;
  padding: 20px 24px 36px;
  overflow-y: auto;
}

.mobile-drawer.is-open {
  display: block;
}

.mobile-nav-group {
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.mobile-nav-group h4 {
  margin: 0 0 8px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.mobile-nav-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.mobile-nav-links a {
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 13.5px;
  font-weight: 600;
}

/* =========================================================================
   CINEMATIC HERO STAGE & ANIMATIONS (HOME)
   ========================================================================= */
.page-main {
  flex: 1;
}

.hero-stage {
  position: relative;
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: center;
  padding: 48px 0 56px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

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

.hero-bg-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 78% center;
  opacity: 0.78;
  filter: saturate(1.12) contrast(1.08);
  animation: heroSlowPan 24s ease-in-out infinite alternate;
}

@keyframes heroSlowPan {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to { transform: scale(1.1) translate3d(-1.2%, -0.8%, 0); }
}

.hero-bg-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 6, 4, 0.88) 0%, rgba(10, 6, 4, 0.72) 40%, rgba(10, 6, 4, 0.22) 68%, rgba(10, 6, 4, 0.36) 100%),
    radial-gradient(circle at 76% 46%, color-mix(in srgb, var(--secondary) 16%, transparent), transparent 44%),
    radial-gradient(circle at 22% 34%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 44%),
    linear-gradient(180deg, rgba(12, 7, 5, 0.26) 0%, rgba(12, 7, 5, 0.44) 68%, var(--bg) 100%);
}

.hero-scanline {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.018) 0px,
    rgba(255, 255, 255, 0.018) 1px,
    transparent 1px,
    transparent 4px
  );
  opacity: 0.55;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-stage-inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
}

.hero-left-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-stagger-1 { animation: heroFadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.05s both; }
.hero-stagger-2 { animation: heroFadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.16s both; }
.hero-stagger-3 { animation: heroFadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.28s both; }
.hero-stagger-4 { animation: heroFadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.4s both; }
.hero-stagger-5 { animation: heroFadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.22s both; }

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-display-title {
  position: relative;
  display: inline-block;
  margin: 18px 0 12px;
  font-size: clamp(44px, 5.6vw, 74px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-shadow: 0 12px 38px rgba(0, 0, 0, 0.65);
  isolation: isolate;
}

.hero-display-title::before {
  content: '';
  position: absolute;
  inset: -16px -34px;
  border-radius: 999px;
  background: radial-gradient(
    ellipse 70% 58% at 50% 54%,
    rgba(255, 249, 224, 0.46) 0%,
    rgba(253, 224, 71, 0.26) 38%,
    rgba(56, 189, 248, 0.16) 64%,
    transparent 82%
  );
  filter: blur(18px);
  pointer-events: none;
  z-index: -1;
}

.hero-display-title .sub-eng {
  display: block;
  margin-top: 8px;
  font-size: clamp(16px, 1.9vw, 22px);
  letter-spacing: 0.24em;
  color: var(--accent);
  text-shadow: 0 0 24px color-mix(in srgb, var(--accent) 45%, transparent);
}

.hero-wordmark-img {
  position: relative;
  z-index: 1;
  display: block;
  width: min(440px, 86vw);
  height: auto;
  max-height: 185px;
  object-fit: contain;
  object-position: left center;
  filter:
    brightness(1.16)
    contrast(1.06)
    drop-shadow(0 0 2px rgba(255, 251, 235, 0.88))
    drop-shadow(0 0 12px rgba(254, 240, 138, 0.72))
    drop-shadow(0 0 28px rgba(245, 158, 11, 0.55))
    drop-shadow(0 10px 26px rgba(0, 0, 0, 0.85));
}

.hero-tagline {
  margin: 0 0 26px;
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--text-secondary);
  max-width: 48ch;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.7);
}

/* Orbital Captain Shield Visual */
.hero-right-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.shield-orbital-stage {
  position: relative;
  width: min(300px, 68vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  perspective: 900px;
}

.shield-orbit-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px dashed color-mix(in srgb, var(--accent) 48%, transparent);
  animation: orbitSpin 26s linear infinite;
  pointer-events: none;
}

.shield-orbit-ring.is-inner {
  inset: 18px;
  border-style: solid;
  border-color: color-mix(in srgb, var(--secondary) 42%, transparent) transparent color-mix(in srgb, var(--accent) 55%, transparent) transparent;
  border-width: 2px;
  animation: orbitSpinReverse 16s linear infinite;
}

@keyframes orbitSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes orbitSpinReverse {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

.shield-emblem-disc {
  width: 72%;
  height: 72%;
  border-radius: 50%;
  padding: 6px;
  background: radial-gradient(circle, color-mix(in srgb, var(--secondary) 24%, transparent), rgba(18, 10, 7, 0.94));
  border: 2px solid color-mix(in srgb, var(--accent) 55%, rgba(255, 255, 255, 0.25));
  box-shadow:
    0 0 58px color-mix(in srgb, var(--accent) 34%, transparent),
    0 0 30px color-mix(in srgb, var(--secondary) 28%, transparent),
    0 24px 48px rgba(0, 0, 0, 0.7);
  animation: shieldFloat 4.8s ease-in-out infinite;
  transition: transform 0.25s ease-out;
  will-change: transform;
}

.shield-emblem-disc img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

@keyframes shieldFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.hero-hud-card {
  width: 100%;
  max-width: 440px;
}

/* Shimmer Accent CTA */
.btn-shimmer {
  position: relative;
  overflow: hidden;
}

.btn-shimmer::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -75%;
  width: 48%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  transform: rotate(22deg);
  animation: btnSweep 4.2s ease-in-out infinite;
}

@keyframes btnSweep {
  0%, 55% { left: -75%; }
  85%, 100% { left: 135%; }
}

/* Scroll Reveal Animations */
.reveal-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pillar-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  padding: 18px;
}

.pillar-card h3 {
  margin: 8px 0 6px;
  font-size: 19px;
  font-weight: 800;
}

.pillar-card p {
  margin: 0;
  font-size: 14px;
  color: var(--text-secondary);
}

.scroll-cue {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  text-transform: uppercase;
  animation: cueBounce 2.2s ease-in-out infinite;
}

@keyframes cueBounce {
  0%, 100% { transform: translate(-50%, 0); opacity: 0.7; }
  50% { transform: translate(-50%, 5px); opacity: 1; }
}

.hero-copy-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px;
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, rgba(18, 23, 34, 0.88), rgba(10, 13, 20, 0.92));
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-title {
  margin: 18px 0 10px;
  font-size: clamp(30px, 3.8vw, 46px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.hero-title .accent {
  color: var(--accent);
}

.hero-desc {
  margin: 0 0 20px;
  color: var(--text-secondary);
  font-size: 16px;
  max-width: 60ch;
}

.rate-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.rate-pill {
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text);
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.hero-side-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.glass-card {
  padding: 22px;
  border-radius: var(--radius-lg);
  background: var(--surface-glass);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-strong);
}

.countdown-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.countdown-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.countdown-date-badge {
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.countdown-grid.is-live-running {
  display: flex;
  align-items: center;
  justify-content: center;
  grid-template-columns: none;
}

.schedule-band .countdown-grid.is-live-running {
  min-width: 290px;
  margin-bottom: 0;
}

.slot-live-banner {
  width: 100%;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 20px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(6, 16, 28, 0.96), rgba(10, 26, 38, 0.92));
  border: 1px solid color-mix(in srgb, var(--accent) 55%, #22c55e 45%);
  box-shadow:
    inset 0 2px 12px rgba(0, 0, 0, 0.65),
    0 0 24px color-mix(in srgb, var(--accent) 22%, rgba(34, 197, 94, 0.22));
}

.slot-live-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7), 0 0 12px #22c55e;
  animation: slotLivePulse 1.8s ease-out infinite;
  flex-shrink: 0;
}

.slot-live-text {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: #f8fafc;
  text-shadow: 0 0 16px color-mix(in srgb, var(--accent) 55%, rgba(34, 197, 94, 0.45));
  white-space: nowrap;
}

@keyframes slotLivePulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7), 0 0 12px #22c55e; }
  70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0), 0 0 14px #22c55e; }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0), 0 0 12px #22c55e; }
}

.cd-cell,
.slot-cd-cell {
  text-align: center;
  padding: 10px 6px 8px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(16, 9, 6, 0.96), rgba(28, 15, 10, 0.92));
  border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.7), 0 4px 14px rgba(0, 0, 0, 0.35);
}

.slot-cd-reels {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
}

.slot-reel-window {
  position: relative;
  width: 24px;
  height: 38px;
  overflow: hidden;
  border-radius: 6px;
  background: #040812;
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: inset 0 4px 8px rgba(0, 0, 0, 0.85), inset 0 -4px 8px rgba(0, 0, 0, 0.85);
}

.slot-reel-window::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(4, 8, 18, 0.72) 0%,
    transparent 28%,
    transparent 72%,
    rgba(4, 8, 18, 0.72) 100%
  );
}

.slot-reel-track {
  display: flex;
  flex-direction: column;
  will-change: transform;
}

.slot-digit {
  height: 38px;
  line-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  color: #f8fafc;
  text-shadow: 0 0 12px color-mix(in srgb, var(--accent) 45%, transparent);
}

.cd-val {
  display: block;
  font-size: 26px;
  font-weight: 900;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}

.cd-lbl {
  display: block;
  margin-top: 5px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.open-schedule-note {
  margin: 0;
  font-size: 13px;
  color: var(--text-secondary);
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
}

.quick-account-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quick-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.quick-channel-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 8px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  font-size: 12.5px;
  font-weight: 700;
  transition: all 0.16s ease;
}

.quick-channel-btn:hover {
  border-color: var(--accent-border);
  color: var(--accent);
}

/* =========================================================================
   SECTIONS / CARDS / BENTO
   ========================================================================= */
.section-block {
  padding: 44px 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.section-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 4px 0 0;
  font-size: 14px;
  color: var(--text-muted);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.metric-card {
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
}

.metric-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.metric-value {
  margin-top: 6px;
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
}

.metric-sub {
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--text-secondary);
}

.bento-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.panel-card {
  padding: 22px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
}

.panel-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.panel-card-head h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
}

.board-mini-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.board-mini-item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
  transition: all 0.15s ease;
}

.board-mini-item a:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border);
}

.board-mini-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.cat-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
}

.cat-badge.is-notice { background: var(--accent-soft); color: var(--accent); }
.cat-badge.is-update { background: var(--secondary-soft); color: var(--secondary); }
.cat-badge.is-event { background: rgba(168, 85, 247, 0.16); color: #d8b4fe; }
.cat-badge.is-tip { background: rgba(34, 197, 94, 0.14); color: #86efac; }
.cat-badge.is-qna { background: rgba(244, 63, 94, 0.16); color: #fda4af; }

.board-mini-title {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.board-mini-date {
  font-size: 12px;
  color: var(--text-muted);
  flex-shrink: 0;
}

/* =========================================================================
   CLASS & WEAPON EVOLUTION SHOWCASE
   ========================================================================= */
.tab-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tab-pill {
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.15s ease;
}

.tab-pill:hover {
  border-color: var(--border-strong);
  color: var(--text);
}

.tab-pill.is-active {
  background: var(--accent-soft);
  border-color: var(--accent-border);
  color: var(--accent);
}

.class-showcase-panel {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 24px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
}

.class-portrait-box {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  min-height: 300px;
  background: var(--bg);
  border: 1px solid var(--border);
}

.class-portrait-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.class-portrait-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 18px;
  background: linear-gradient(180deg, transparent, rgba(8, 10, 15, 0.94));
}

.evo-pipeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.evo-step-card {
  padding: 14px;
  border-radius: 12px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
}

.evo-step-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.evo-step-head img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--border);
  background: #0b0e14;
}

.evo-step-tag {
  font-size: 10.5px;
  font-weight: 800;
  color: var(--accent);
  text-transform: uppercase;
}

/* =========================================================================
   VIDEO THEATER & BOSS RAID
   ========================================================================= */
.theater-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.85fr;
  gap: 20px;
}

.video-player-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #05070b;
  border: 1px solid var(--border-strong);
}

.video-player-wrap video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
}

.video-caption-bar {
  padding: 16px 20px;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.video-playlist {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.video-playlist-item {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 12px;
  padding: 10px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  text-align: left;
  cursor: pointer;
  transition: all 0.16s ease;
}

.video-playlist-item:hover,
.video-playlist-item.is-active {
  border-color: var(--accent-border);
  background: var(--surface-2);
}

.video-playlist-item img {
  width: 108px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
}

/* =========================================================================
   SUBPAGE HERO & CONTENT TABLES / BOARD
   ========================================================================= */
.subpage-banner {
  padding: 34px 0 28px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(18, 23, 34, 0.72), transparent);
}

.subpage-banner h1 {
  margin: 6px 0 6px;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.subpage-banner p {
  margin: 0;
  color: var(--text-secondary);
}

.data-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.data-table th,
.data-table td {
  padding: 13px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.data-table th {
  font-size: 12px;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(255, 255, 255, 0.02);
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table tr:hover td {
  background: rgba(255, 255, 255, 0.025);
}

.data-table tr.is-sticky td {
  background: color-mix(in srgb, var(--accent) 6%, transparent);
}

.board-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.search-form {
  display: flex;
  gap: 8px;
}

.input,
.select,
.textarea {
  width: 100%;
  padding: 10px 13px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: var(--bg-elevated);
  color: var(--text);
  font-size: 14px;
  outline: none;
  transition: border-color 0.16s ease;
}

.input:focus,
.select:focus,
.textarea:focus {
  border-color: var(--accent);
}

.post-detail-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border-strong);
}

.post-detail-head {
  padding-bottom: 18px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--border);
}

.post-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 10px;
}

.post-detail-body {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-secondary);
  overflow-x: auto;
}

.post-detail-body h3,
.post-detail-body h4 {
  color: var(--text);
  margin-top: 20px;
}

.post-data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  border: 1px solid var(--border-strong);
}

.post-data-table th,
.post-data-table td {
  padding: 10px 14px;
  border: 1px solid var(--border);
}

.post-data-table th {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.post-reply-box {
  margin-top: 24px;
  padding: 18px;
  border-radius: 12px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
}

.post-reply-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 13.5px;
}

.comment-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.comment-item {
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
}

/* =========================================================================
   CARDS GRID (ITEMS, HUNTS, BOSSES, DOWNLOADS)
   ========================================================================= */
.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.cards-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.item-card {
  padding: 18px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.item-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--border-strong);
  background: #0a0c12;
  flex-shrink: 0;
}

/* =========================================================================
   MODALS & DUAL POPUP SYSTEM
   ========================================================================= */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(4, 6, 10, 0.78);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.is-open {
  display: flex;
}

.modal-box {
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: var(--radius-xl);
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg);
  padding: 26px;
}

.modal-box.is-wide {
  max-width: 780px;
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.modal-head h3 {
  margin: 0;
  font-size: 19px;
  font-weight: 800;
}

.icon-close-btn {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.form-field {
  margin-bottom: 14px;
}

.form-field label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.form-msg {
  font-size: 12.5px;
  margin-top: 6px;
  min-height: 18px;
}

.form-msg.is-error { color: #fca5a5; }
.form-msg.is-ok { color: #86efac; }

/* Dual Popup Overlay */
.dual-popup-wrap {
  position: fixed;
  inset: 0;
  z-index: 220;
  background: rgba(4, 6, 10, 0.76);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.dual-popup-wrap.is-open {
  display: flex;
}

.dual-popup-stage {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 1020px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
}

.popup-card {
  width: min(460px, 100%);
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  border: 1px solid var(--accent-border);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.popup-card.is-hidden-card {
  display: none;
}

.popup-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border);
}

.popup-card-body {
  position: relative;
  display: block;
  background: #05070b;
}

.popup-card-body img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.popup-caption-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 22px 18px 16px;
  background: linear-gradient(180deg, transparent, rgba(5, 7, 11, 0.94) 45%);
}

.popup-caption-overlay h4 {
  margin: 6px 0 4px;
  font-size: 17px;
  font-weight: 800;
  color: #fff;
}

.popup-caption-overlay p {
  margin: 0;
  font-size: 13px;
  color: var(--text-secondary);
}

.popup-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.popup-hide-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  color: var(--text-secondary);
  cursor: pointer;
}

/* =========================================================================
   TOAST & FOOTER
   ========================================================================= */
.toast-container {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast-item {
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--bg-elevated);
  border: 1px solid var(--accent-border);
  box-shadow: var(--shadow-lg);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text);
  animation: toastIn 0.2s ease;
}

.toast-item.is-error {
  border-color: rgba(239, 68, 68, 0.55);
  color: #fecaca;
}

@keyframes toastIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.site-footer {
  margin-top: auto;
  padding: 34px 0 42px;
  border-top: 1px solid var(--border);
  background: rgba(6, 8, 12, 0.92);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--accent);
}

/* =========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================= */
@media (max-width: 1024px) {
  .main-nav { display: none; }
  .hamburger-btn { display: inline-flex; }
  .hero-stage { min-height: auto; padding: 36px 0 48px; }
  .hero-stage-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-left-col { align-items: center; }
  .hero-wordmark-img { object-position: center; margin: 0 auto; }
  .hero-cta-row, .rate-pills { justify-content: center; }
  .pillars-grid { grid-template-columns: 1fr; }
  .scroll-cue { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-2col { grid-template-columns: 1fr; }
  .class-showcase-panel { grid-template-columns: 1fr; }
  .theater-grid { grid-template-columns: 1fr; }
  .cards-grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .header-inner { padding: 0 16px; }
  .brand-wordmark-img { height: 32px; max-width: 135px; }
  .container { padding: 0 16px; }
  .hero-copy-card { padding: 22px; }
  .metrics-grid,
  .cards-grid-3,
  .cards-grid-2,
  .evo-pipeline { grid-template-columns: 1fr; }
  .desktop-only { display: none !important; }
  .countdown-grid { gap: 6px; }
  .schedule-band .countdown-grid.is-live-running { min-width: 0; width: 100%; }
  .slot-live-banner { min-height: 64px; padding: 12px 14px; }
  .slot-live-text { font-size: 17px; }
  .cd-val { font-size: 21px; }
}
