/* ============================================================
   V4 design system — Studboards site redesign (phase 1 preview)
   Dark-first "night league" language proven on the STUD token page.
   Everything is scoped to body.v4 so existing pages are untouched
   until a page opts in. Shell overrides must beat style-v3-reframe's
   !important rules, hence body.stud-v3.v4 specificity + !important.
   ============================================================ */

:root {
  --v4-bg: #05070a;
  --v4-bg-raise: #0a0e13;
  --v4-card: #0c1117;
  --v4-card-2: #10161e;
  --v4-ink: #f7f8f4;
  --v4-muted: #9aa5b1;
  --v4-faint: #9aa5b1;
  --v4-line: rgba(255, 255, 255, 0.09);
  --v4-line-strong: rgba(255, 255, 255, 0.18);
  --v4-lime: #c8f53f;
  --v4-lime-ink: #101503;
  --v4-lime-soft: rgba(200, 245, 63, 0.14);
  --v4-gold: #f4bf46;
  --v4-gold-soft: rgba(244, 191, 70, 0.13);
  --v4-purple: #a06bff;
  --v4-purple-soft: rgba(160, 107, 255, 0.16);
  --v4-mint: #5ee1b0;
  --v4-mint-soft: rgba(94, 225, 176, 0.14);
  --v4-cyan: #45dbf7;
  --v4-red: #ff766b;
  --v4-max: 1240px;
  --v4-radius: 20px;
  --v4-radius-lg: 28px;
  --v4-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --v4-font:
    "Avenir Next", Avenir, "Segoe UI", system-ui, -apple-system, sans-serif;
}

/* Flip the reframe token map so every variable-driven shell rule follows. */
body.stud-v3.v4 {
  --sb-page: var(--v4-bg);
  --sb-paper: var(--v4-card);
  --sb-ink: var(--v4-ink);
  --sb-text: var(--v4-ink);
  --sb-text-muted: var(--v4-muted);
  --sb-muted: var(--v4-muted);
  --sb-line: var(--v4-line);
  --sb-line-strong: var(--v4-line-strong);
  --sb-play: var(--v4-lime);
  --sb-play-dark: var(--v4-lime);
  --sb-play-ink: var(--v4-lime-ink);
  --sb-action: var(--v4-lime);
  --sb-action-dark: var(--v4-lime);
  --sb-blue: var(--v4-cyan);
  --sb-yellow: var(--v4-gold);
  --sb-yellow-ink: #101503;
  --sb-night: var(--v4-bg-raise);
  --v3-play: var(--v4-lime);
  --v3-play-ink: var(--v4-lime-ink);
  --v3-featured: var(--v4-gold);

  margin: 0;
  color: var(--v4-ink);
  background: var(--v4-bg);
  font-family: var(--v4-font);
}

body.stud-v3.v4 ::selection {
  color: var(--v4-lime-ink);
  background: rgba(200, 245, 63, 0.78);
}

.v4-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   SHELL RESKIN — header, nav, commands, menu, mobile nav,
   tabbar, footer. All overrides opt-in via body.stud-v3.v4.
   ============================================================ */

/* --- header bar --- */

body.stud-v3.v4 .site-header {
  background: rgba(5, 7, 10, 0.78) !important;
  border-bottom: 1px solid var(--v4-line) !important;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.42) !important;
  backdrop-filter: blur(22px) saturate(1.3) !important;
}

body.stud-v3.v4 .site-header::after {
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(200, 245, 63, 0.4) 30%,
    rgba(160, 107, 255, 0.32) 70%,
    transparent 100%
  ) !important;
}

/* --- brand --- */

body.stud-v3.v4 .brandmark .brand-copy strong {
  color: var(--v4-ink) !important;
}

body.stud-v3.v4 .brandmark .brand-copy > .brand-tagline {
  color: var(--v4-faint) !important;
}

body.stud-v3.v4 .brandmark .brand-name-stud {
  display: inline !important;
  color: var(--v4-lime) !important;
  font: inherit !important;
}

/* --- primary nav --- */

body.stud-v3.v4 .shell-nav-link {
  color: var(--v4-muted) !important;
}

body.stud-v3.v4 .shell-nav-link small {
  color: var(--v4-faint) !important;
}

body.stud-v3.v4 .shell-nav-link:hover {
  color: var(--v4-ink) !important;
  background: rgba(255, 255, 255, 0.06) !important;
}

body.stud-v3.v4 .shell-nav-link.active {
  color: var(--v4-ink) !important;
  background: var(--v4-lime-soft) !important;
}

body.stud-v3.v4 .shell-nav-link.active::after {
  background: var(--v4-lime) !important;
}

/* --- Find command (primary shell CTA) --- */

body.stud-v3.v4 .shell-find-command {
  color: var(--v4-ink) !important;
  background: linear-gradient(135deg, rgba(17, 29, 30, 0.98), rgba(19, 15, 32, 0.98)) !important;
  border-color: rgba(94, 225, 176, 0.52) !important;
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(160, 107, 255, 0.1) inset !important;
}

body.stud-v3.v4 .shell-find-command:hover {
  background: linear-gradient(135deg, rgba(24, 46, 42, 0.98), rgba(35, 22, 53, 0.98)) !important;
  border-color: rgba(160, 107, 255, 0.68) !important;
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(94, 225, 176, 0.18) inset !important;
}

body.stud-v3.v4 .shell-find-command:focus-visible {
  outline: 3px solid rgba(160, 107, 255, 0.72) !important;
  outline-offset: 3px !important;
}

body.stud-v3.v4 .shell-find-command .shell-ask-mark {
  color: var(--v4-mint) !important;
  background: var(--v4-mint-soft) !important;
  border: 1px solid rgba(94, 225, 176, 0.28) !important;
  box-shadow: 0 0 0 1px rgba(160, 107, 255, 0.1) inset !important;
}

body.stud-v3.v4 .shell-find-command .shell-ask-copy strong {
  color: var(--v4-ink) !important;
}

body.stud-v3.v4 .shell-find-command .shell-ask-copy small {
  color: rgba(219, 255, 242, 0.72) !important;
  opacity: 1;
}

/* --- Buy $STUD command (gold chip) --- */

body.stud-v3.v4:not(.s3-body) .shell-buy-stud {
  color: var(--v4-ink) !important;
  background: rgba(244, 191, 70, 0.12) !important;
  border-color: rgba(244, 191, 70, 0.45) !important;
  box-shadow: none !important;
}

body.stud-v3.v4:not(.s3-body) .shell-buy-stud:hover {
  color: var(--v4-ink) !important;
  background: rgba(244, 191, 70, 0.2) !important;
  transform: translateY(-1px) !important;
}

body.stud-v3.v4:not(.s3-body) .shell-buy-stud .shell-ask-copy :is(strong, small) {
  color: var(--v4-ink) !important;
}

body.stud-v3.v4:not(.s3-body) .shell-buy-stud .shell-ask-copy small {
  color: var(--v4-gold) !important;
}

/* --- hamburger --- */

body.stud-v3.v4 .shell-menu {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: var(--v4-line-strong) !important;
}

body.stud-v3.v4 .shell-menu span {
  background: var(--v4-ink) !important;
}

/* --- mobile nav panel --- */

@media (max-width: 900px) {
  body.stud-v3.v4 .shell-mobile-nav {
    background: rgba(5, 7, 10, 0.97) !important;
    border-color: var(--v4-line-strong) !important;
    backdrop-filter: blur(24px) !important;
  }

  body.stud-v3.v4 .shell-mobile-nav .shell-nav-link,
  body.stud-v3.v4 .shell-mobile-nav .shell-mobile-ask {
    color: var(--v4-ink) !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: var(--v4-line) !important;
  }

  body.stud-v3.v4 .shell-mobile-nav .shell-nav-link.active {
    background: var(--v4-lime-soft) !important;
    border-color: rgba(200, 245, 63, 0.4) !important;
  }

  body.stud-v3.v4 .shell-mobile-nav .shell-mobile-secondary a {
    color: var(--v4-muted) !important;
  }
}

/* --- bottom app dock / tabbar --- */

@media (max-width: 900px) {
  body.stud-v3.v4 .site-tabbar {
    background: rgba(8, 11, 16, 0.92) !important;
    border-color: var(--v4-line-strong) !important;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5) !important;
    backdrop-filter: blur(22px) saturate(1.3) !important;
  }

  body.stud-v3.v4 .site-tabbar .site-tab {
    color: var(--v4-faint) !important;
  }

  body.stud-v3.v4 .site-tabbar .site-tab.active {
    color: var(--v4-ink) !important;
    background: var(--v4-lime-soft) !important;
  }

  body.stud-v3.v4 .site-tabbar .site-tab.active .site-tab-icon {
    color: var(--v4-lime) !important;
    background: rgba(200, 245, 63, 0.16) !important;
  }

}

/* --- footer --- */

body.stud-v3.v4 .site-footer {
  color: var(--v4-muted) !important;
  background: #04060a !important;
  border-top: 1px solid var(--v4-line) !important;
}

body.stud-v3.v4 .site-footer .site-disclaimer {
  background: rgba(255, 255, 255, 0.04) !important;
  border-color: var(--v4-line) !important;
}

body.stud-v3.v4 .site-footer .site-disclaimer p {
  color: var(--v4-faint) !important;
}

/* ============================================================
   V4 SHARED COMPONENTS
   ============================================================ */

.v4-wrap {
  width: min(calc(100% - 48px), var(--v4-max));
  margin: 0 auto;
}

.v4-kicker {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 0 0 20px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--v4-lime);
}

.v4-kicker::before {
  width: 9px;
  height: 9px;
  content: "";
  background: var(--v4-lime);
  border-radius: 50%;
  box-shadow: 0 0 14px var(--v4-lime);
}

.v4-kicker--gold {
  color: var(--v4-gold);
}

.v4-kicker--gold::before {
  background: var(--v4-gold);
  box-shadow: 0 0 14px var(--v4-gold);
}

.v4-section-head {
  max-width: 760px;
  margin-bottom: 52px;
}

.v4-section-head h2 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  font-weight: 850;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--v4-ink);
}

.v4-section-head p {
  margin: 0;
  font-size: 17px;
  line-height: 1.65;
  color: var(--v4-muted);
}

.v4-section-head--split {
  display: flex;
  gap: 24px;
  align-items: flex-end;
  justify-content: space-between;
  max-width: none;
}

.v4-section-head--split > p {
  max-width: 34ch;
  margin: 0;
  font-size: 16px;
  color: var(--v4-muted);
}

.v4-button {
  position: relative;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  padding: 16px 28px;
  overflow: hidden;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition:
    transform 0.3s var(--v4-ease),
    box-shadow 0.3s var(--v4-ease),
    background 0.3s var(--v4-ease),
    border-color 0.3s var(--v4-ease);
}

.v4-button--primary {
  color: var(--v4-lime-ink);
  background: var(--v4-lime);
  box-shadow: 0 10px 34px rgba(200, 245, 63, 0.28);
}

.v4-button--primary:hover {
  box-shadow: 0 14px 44px rgba(200, 245, 63, 0.42);
  transform: translateY(-2px);
}

.v4-button--ghost {
  color: var(--v4-ink);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--v4-line-strong);
}

.v4-button--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.v4-text-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-size: 15px;
  font-weight: 750;
  color: var(--v4-muted);
  transition: color 0.25s var(--v4-ease);
}

.v4-text-link:hover {
  color: var(--v4-lime);
}

/* ============================================================
   V4 HOME CONCEPT — "What are we playing?"
   ============================================================ */

.v4-page {
  overflow: clip;
  background: var(--v4-bg);
}

/* --- finder hero --- */

.v4-hero--finder {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: calc(100svh - 110px);
  overflow: clip;
  background:
    radial-gradient(58% 46% at 82% 22%, rgba(160, 107, 255, 0.14), transparent 68%),
    radial-gradient(52% 44% at 10% 78%, rgba(200, 245, 63, 0.09), transparent 70%),
    var(--v4-bg);
}

.v4-hero__glow {
  position: absolute;
  top: -22%;
  right: -10%;
  width: 56vw;
  height: 56vw;
  pointer-events: none;
  background: radial-gradient(
    circle,
    rgba(244, 191, 70, 0.11) 0%,
    rgba(160, 107, 255, 0.09) 38%,
    transparent 68%
  );
  filter: blur(10px);
}

.v4-hero__inner--finder {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
  flex: 1;
  padding: clamp(48px, 7vh, 88px) 0 clamp(44px, 6vh, 72px);
}

.v4-hero--finder .v4-hero__eyebrow {
  margin: 0 0 22px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--v4-lime);
}

.v4-hero--finder h1 {
  max-width: 12ch;
  margin: 0 0 24px;
  font-size: clamp(2.9rem, 7.6vw, 6.6rem);
  font-weight: 900;
  line-height: 0.94;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  color: var(--v4-ink);
}

.v4-hero--finder h1 em {
  font-style: normal;
  color: var(--v4-lime);
  background: none;
}

.v4-hero--finder .v4-hero__lead {
  max-width: 52ch;
  margin: 0 0 36px;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.62;
  color: var(--v4-muted);
}

/* --- homepage product doors --- */

.v4-doors {
  position: relative;
  z-index: 1;
  padding: 20px 0 4px;
  background: var(--v4-bg);
}

.v4-doors__inner {
  display: grid;
  gap: 14px;
}

.v4-doors__intro {
  display: grid;
  gap: 6px;
}

.v4-doors__eyebrow {
  margin: 0;
  color: var(--v4-lime);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.v4-doors__intro h2 {
  margin: 0;
  color: var(--v4-ink);
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.v4-doors__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.v4-door {
  position: relative;
  display: block;
  min-height: 280px;
  overflow: hidden;
  color: var(--v4-ink);
  text-decoration: none;
  border: 1px solid var(--v4-line-strong);
  border-radius: var(--v4-radius-lg);
  background: #0a0e13;
  transition:
    transform 0.4s var(--v4-ease),
    border-color 0.4s var(--v4-ease),
    box-shadow 0.4s var(--v4-ease);
}

.v4-door img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--v4-ease);
}

.v4-door__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 7, 10, 0.08) 20%, rgba(5, 7, 10, 0.88) 86%);
}

@media (min-width: 761px) and (max-width: 1100px) {
  .v4-doors__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .v4-door,
  .v4-door--play {
    min-height: clamp(168px, 22vw, 240px) !important;
  }

  .v4-door__copy {
    padding: 16px 14px !important;
  }

  .v4-door__name {
    font-size: clamp(1.2rem, 2.4vw, 1.85rem) !important;
  }

  .v4-door__copy em {
    font-size: 13px !important;
  }
}

.v4-door__copy {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  gap: 6px;
  padding: 22px 20px;
}

.v4-door__name {
  font-size: clamp(1.3rem, 1.72vw, 1.7rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 0.92;
}

.v4-door--play .v4-door__name {
  font-size: clamp(1.55rem, 2.15vw, 2rem);
}

.v4-door__name .brand-stud {
  letter-spacing: 0.03em;
  font-weight: 900;
  color: var(--v4-lime);
  text-shadow: 0 0 18px rgba(200, 245, 63, 0.28);
}

.v4-door__copy em {
  color: rgba(247, 248, 244, 0.86);
  font-size: 15px;
  font-style: normal;
  font-weight: 650;
  line-height: 1.3;
}

.v4-door:hover,
.v4-door:focus-visible {
  border-color: rgba(200, 245, 63, 0.5);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.5);
  transform: translateY(-4px);
}

.v4-door:hover img,
.v4-door:focus-visible img {
  transform: scale(1.045);
}

.v4-door--play {
  min-height: 320px;
  border-color: rgba(200, 245, 63, 0.3);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.38), 0 0 34px rgba(200, 245, 63, 0.07);
}

.v4-door--quiet {
  border-color: rgba(255, 255, 255, 0.11);
}

.v4-door--quiet img {
  filter: saturate(0.72) brightness(0.8);
}

.v4-door--quiet:hover img,
.v4-door--quiet:focus-visible img {
  filter: saturate(0.9) brightness(0.9);
}

#studplay {
  scroll-margin-top: 72px;
}

@media (max-width: 760px) {
  .v4-doors {
    position: relative;
    padding: 18px 0 0;
  }

  .v4-doors__intro {
    position: static;
    display: grid;
    gap: 5px;
    margin-bottom: 12px;
  }

  .v4-doors__intro h2 {
    font-size: clamp(1.35rem, 6vw, 1.65rem);
  }

  .v4-doors__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .v4-door,
  .v4-door--play {
    min-height: 104px;
    border-radius: 16px;
  }

  .v4-door__copy {
    gap: 4px;
    padding: 10px 8px 8px;
  }

  .v4-doors .v4-door__name {
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    font-size: clamp(.7rem, 3.1vw, .9rem);
    line-height: 1;
    letter-spacing: -.045em;
    text-overflow: clip;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.72);
    white-space: nowrap;
  }

  .v4-doors .v4-door__name .brand-stud {
    font-size: inherit;
    letter-spacing: .015em;
    text-shadow: 0 0 12px rgba(200, 245, 63, 0.28);
  }

  .v4-door__shade {
    background: linear-gradient(180deg, rgba(5, 7, 10, 0.03) 20%, rgba(5, 7, 10, 0.94) 94%);
  }

  .v4-doors .v4-door__copy em {
    display: -webkit-box;
    overflow: hidden;
    color: rgba(247, 248, 244, 0.88);
    font-size: clamp(.68rem, 2.7vw, .76rem);
    line-height: 1.15;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .v4-hero--finder {
    min-height: 0;
  }

  .v4-hero__inner--finder {
    padding: 16px 0 28px;
  }

  .v4-hero--finder .v4-hero__eyebrow {
    margin-bottom: 8px;
    font-size: 11px;
    letter-spacing: 0.18em;
  }

  .v4-hero--finder h1 {
    max-width: 14ch;
    margin-bottom: 10px;
    font-size: clamp(1.7rem, 7.6vw, 2.15rem);
    line-height: 1.02;
    text-transform: none;
    letter-spacing: -0.035em;
  }

  .v4-hero--finder .v4-hero__lead {
    margin-bottom: 14px;
    font-size: 15px;
    line-height: 1.4;
  }
}

/* Partial desktop already has the full product navigation. Keep the Play dock
   phone-only so 761–900px windows do not present the same destinations twice. */
@media (min-width: 761px) and (max-width: 900px) {
  body.stud-v3.has-app-dock.v4 .site-tabbar.site-tabbar--open-wall {
    display: none !important;
  }
}

/* --- hero search centerpiece --- */

.v4-find {
  max-width: 720px;
  padding: 14px;
  background: rgba(8, 11, 16, 0.72);
  border: 1px solid var(--v4-line-strong);
  border-radius: 26px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(18px) saturate(1.2);
}

.v4-find__label {
  display: block;
  padding: 4px 12px 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--v4-faint);
}

.v4-find__row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.v4-find__icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--v4-lime);
}

.v4-find__row input {
  flex: 1;
  min-width: 0;
  padding: 14px 6px;
  font-size: 17px;
  font-weight: 650;
  color: var(--v4-ink);
  background: transparent;
  border: 0;
  outline: none;
}

.v4-find__row input::placeholder {
  color: var(--v4-faint);
}

.v4-find__row button {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 10px;
  align-items: center;
  padding: 15px 26px;
  font-size: 15px;
  font-weight: 850;
  color: var(--v4-lime-ink);
  cursor: pointer;
  background: var(--v4-lime);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 8px 26px rgba(200, 245, 63, 0.3);
  transition:
    transform 0.3s var(--v4-ease),
    box-shadow 0.3s var(--v4-ease);
}

.v4-find__row button:hover {
  box-shadow: 0 12px 34px rgba(200, 245, 63, 0.46);
  transform: translateY(-1px);
}

.v4-find__note {
  margin: 10px 12px 2px;
  font-size: 12.5px;
  color: var(--v4-faint);
}

/* --- popular start chips --- */

.v4-starts {
  margin-top: 26px;
}

.v4-starts__label {
  display: block;
  margin-bottom: 10px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--v4-faint);
}

.v4-starts__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.v4-starts__chips a {
  padding: 9px 16px;
  font-size: 13.5px;
  font-weight: 750;
  color: var(--v4-muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--v4-line);
  border-radius: 999px;
  transition:
    color 0.25s var(--v4-ease),
    border-color 0.25s var(--v4-ease),
    background 0.25s var(--v4-ease),
    transform 0.25s var(--v4-ease);
}

.v4-starts__chips a:hover {
  color: var(--v4-lime);
  background: var(--v4-lime-soft);
  border-color: rgba(200, 245, 63, 0.45);
  transform: translateY(-2px);
}

/* --- Play Kit demo card --- */

.v4-hero__stage {
  display: grid;
  place-items: center;
}

.v4-kit {
  position: relative;
  width: min(100%, 460px);
}

.v4-kit__halo {
  position: absolute;
  inset: -18%;
  background:
    radial-gradient(circle, rgba(244, 191, 70, 0.2) 0%, transparent 58%),
    conic-gradient(
      from 140deg,
      rgba(200, 245, 63, 0.14),
      rgba(160, 107, 255, 0.18),
      rgba(244, 191, 70, 0.14),
      rgba(200, 245, 63, 0.14)
    );
  border-radius: 50%;
  filter: blur(30px);
  animation: v4-halo 9s linear infinite;
}

@keyframes v4-halo {
  to {
    transform: rotate(1turn);
  }
}

.v4-kit__card {
  position: relative;
  padding: clamp(22px, 2.6vw, 30px);
  background: linear-gradient(160deg, var(--v4-card-2), var(--v4-card));
  border: 1px solid var(--v4-line-strong);
  border-radius: var(--v4-radius-lg);
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.55);
}

.v4-kit__topline {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--v4-faint);
}

.v4-kit__topline span:first-child {
  color: var(--v4-lime);
}

.v4-kit__title {
  margin: 0 0 4px;
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
  font-weight: 880;
  letter-spacing: -0.02em;
  color: var(--v4-ink);
}

.v4-kit__rule {
  margin: 0 0 20px;
  font-size: 14px;
  color: var(--v4-muted);
}

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

.v4-kit__team {
  padding: 16px 14px;
  text-align: center;
  background: rgba(5, 7, 10, 0.6);
  border: 1px solid var(--v4-line);
  border-radius: 16px;
}

.v4-kit__team-name {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.v4-kit__team-name--lime {
  color: var(--v4-lime);
}

.v4-kit__team-name--violet {
  color: var(--v4-purple);
}

.v4-kit__team strong {
  display: block;
  font-size: 44px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  color: var(--v4-ink);
}

.v4-kit__steppers {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 12px;
}

.v4-kit__steppers button {
  width: 44px;
  height: 44px;
  font-size: 19px;
  font-weight: 800;
  color: var(--v4-ink);
  cursor: pointer;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--v4-line-strong);
  border-radius: 12px;
  transition:
    background 0.2s var(--v4-ease),
    border-color 0.2s var(--v4-ease),
    transform 0.2s var(--v4-ease);
}

.v4-kit__steppers button:hover {
  background: var(--v4-lime-soft);
  border-color: rgba(200, 245, 63, 0.5);
}

.v4-kit__steppers button:active {
  transform: scale(0.92);
}

.v4-kit__status {
  min-height: 22px;
  margin: 16px 2px 14px;
  font-size: 13.5px;
  font-weight: 700;
  text-align: center;
  color: var(--v4-gold);
}

.v4-kit__footer {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--v4-line);
}

.v4-kit__twist {
  font-size: 12.5px;
  font-weight: 750;
  color: var(--v4-cyan);
}

.v4-kit__footer button {
  min-height: 44px;
  padding: 7px 14px;
  font-size: 12.5px;
  font-weight: 750;
  color: var(--v4-muted);
  cursor: pointer;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--v4-line);
  border-radius: 999px;
}

.v4-kit__footer button:hover {
  color: var(--v4-ink);
  border-color: var(--v4-line-strong);
}

.v4-kit__open {
  position: relative;
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  font-size: 14.5px;
  font-weight: 800;
  color: var(--v4-lime);
}

.v4-kit__open:hover {
  text-decoration: underline;
}

/* --- hero Play Kit anatomy (owner wave 2026-07-30: explain the product) --- */

.v4-anatomy__list {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.v4-anatomy__list li {
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
}

.v4-anatomy__list b {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--v4-ink);
}

.v4-anatomy__list span {
  font-size: 12px;
  line-height: 1.45;
  color: var(--v4-muted);
}

/* --- flow --- */

.v4-flow {
  padding: clamp(56px, 8vh, 96px) 0;
  background: var(--v4-bg-raise);
  border-top: 1px solid var(--v4-line);
  border-bottom: 1px solid var(--v4-line);
}

.v4-flow__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.v4-flow__list li {
  position: relative;
  padding: 30px 26px 28px;
  overflow: hidden;
  background: var(--v4-card);
  border: 1px solid var(--v4-line);
  border-radius: var(--v4-radius);
  transition:
    transform 0.4s var(--v4-ease),
    border-color 0.4s var(--v4-ease);
}

.v4-flow__list li::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, var(--v4-lime), var(--v4-gold));
  opacity: 0;
  transition: opacity 0.4s var(--v4-ease);
}

.v4-flow__list li:hover {
  border-color: var(--v4-line-strong);
  transform: translateY(-5px);
}

.v4-flow__list li:hover::after {
  opacity: 1;
}

.v4-flow__num {
  display: block;
  margin-bottom: 34px;
  font-size: 50px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(247, 248, 244, 0.3);
}

.v4-flow__list li:hover .v4-flow__num {
  -webkit-text-stroke-color: var(--v4-lime);
}

.v4-flow__list h3 {
  margin: 0 0 10px;
  font-size: 21px;
  font-weight: 850;
  letter-spacing: -0.02em;
  color: var(--v4-ink);
}

.v4-flow__list p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--v4-muted);
}

.v4-flow__purpose {
  margin-top: 18px;
  border-color: rgba(200, 245, 63, 0.28);
}

.v4-standard {
  scroll-margin-top: 88px;
  padding: clamp(28px, 5vh, 64px) 0;
  background: var(--v4-bg-raise);
  border-top: 1px solid var(--v4-line);
}

#stud-sportsmanship {
  scroll-margin-top: 96px;
}

.v4-standard .v4-section-head h2 {
  max-width: 18ch;
}

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

.v4-standard__grid article {
  padding: 12px 12px 10px;
  border: 1px solid var(--v4-line);
  border-radius: 14px;
  background: var(--v4-card);
}

.v4-standard__grid span {
  color: var(--v4-lime);
  font-size: 1.15rem;
  font-weight: 850;
  letter-spacing: -0.04em;
}

.v4-standard__grid h3 {
  margin: 4px 0 4px;
  font-size: 0.98rem;
}

.v4-standard__grid p {
  margin: 0;
  color: var(--v4-muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.v4-standard__sport {
  border: 1px solid var(--v4-line);
  border-radius: 14px;
  background: var(--v4-card);
  padding: 12px 14px 12px;
}

.v4-standard__sport h3 {
  margin: 4px 0 8px;
  font-size: 1rem;
}

.v4-standard__sport blockquote {
  margin: 0;
  color: var(--v4-muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

@media (min-width: 860px) {
  .v4-standard__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 8px 0 16px;
  }

  .v4-standard__grid article {
    padding: 16px 16px 14px;
  }

  .v4-standard__grid span {
    font-size: 1.35rem;
  }

  .v4-standard__grid h3 {
    font-size: 1.1rem;
  }

  .v4-standard__grid p {
    font-size: 0.9rem;
    line-height: 1.45;
  }
}

.v4-wall {
  padding: clamp(56px, 8vh, 96px) 0;
  background: var(--v4-bg);
}

.v4-wall__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.v4-wall__feature {
  min-height: 380px;
}

@media (min-width: 761px) and (max-width: 1080px) {
  .v4-hero--finder {
    min-height: 0;
  }

  .v4-hero__inner--finder {
    grid-template-columns: 1fr;
    padding: 18px 0 110px;
  }

  .v4-hero--finder .v4-hero__eyebrow {
    display: none;
  }

  .v4-hero--finder h1,
  body.stud-v3.v4 .v4-hero--finder h1 {
    max-width: 16ch;
    margin-bottom: 10px;
    font-size: clamp(1.85rem, 3.4vw, 2.4rem);
    line-height: 1.05;
    text-transform: none;
  }

  .v4-hero--finder .v4-hero__lead {
    margin-bottom: 14px;
    font-size: 15px;
  }
}

@media (max-width: 1080px) {
  .v4-hero__inner--finder {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .v4-kit {
    width: min(100%, 420px);
  }

  .v4-flow__list {
    grid-template-columns: 1fr;
  }

}

/* Desktop finder hero: keep the search box above the fold at ~900px
   viewports. The hero previously forced a full-viewport min-height with
   display type sized for it, pushing the form (and on some laptops the
   Find button) below the fold. */
@media (min-width: 1081px) {
  .v4-hero--finder {
    min-height: 0;
  }

  .v4-hero__inner--finder {
    grid-template-columns: minmax(0, 1fr);
    max-width: 880px;
    padding: clamp(28px, 4.5vh, 48px) 0 clamp(28px, 4vh, 44px);
  }

  .v4-hero--finder h1 {
    max-width: 16ch;
    font-size: clamp(2.2rem, 3.6vw, 3.4rem);
    line-height: 1.02;
    margin-bottom: 14px;
    text-transform: none;
    letter-spacing: -0.04em;
  }

  .v4-hero--finder .v4-hero__eyebrow {
    display: none;
  }

  .v4-hero--finder .v4-hero__lead {
    margin-bottom: 20px;
  }
}

@media (max-width: 900px) {
  .v4-find__row {
    flex-wrap: wrap;
  }

  .v4-find__row input {
    flex-basis: calc(100% - 60px);
  }

  .v4-find__row button {
    width: 100%;
    justify-content: center;
  }

  .v4-wall__grid {
    grid-template-columns: 1fr;
  }

  .v4-wall__feature {
    min-height: 300px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .v4-kit__halo {
    animation: none;
  }
}


.v4-skip-link {
  position: fixed;
  z-index: 200;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  font-weight: 700;
  color: var(--v4-lime-ink);
  background: var(--v4-lime);
  border-radius: 999px;
  transform: translateY(-260%);
  transition: none;
  pointer-events: none;
}

.v4-skip-link:focus-visible {
  transform: translateY(0);
  pointer-events: auto;
}

/* --- preview bar --- */

.v4-preview-bar {
  font-size: 13px;
  color: var(--v4-muted);
  background: linear-gradient(90deg, rgba(200, 245, 63, 0.1), rgba(160, 107, 255, 0.1));
  border-bottom: 1px solid var(--v4-line);
}

.v4-preview-bar__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
  justify-content: space-between;
  padding: 9px 0;
}

.v4-preview-bar i {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  vertical-align: 1px;
  background: var(--v4-gold);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--v4-gold);
}

.v4-preview-bar a {
  font-weight: 700;
  color: var(--v4-lime);
}

.v4-preview-bar a:hover {
  text-decoration: underline;
}

/* --- marquee --- */

.v4-marquee {
  position: relative;
  padding: 16px 0;
  overflow: hidden;
  border-top: 1px solid var(--v4-line);
  border-bottom: 1px solid var(--v4-line);
  background: rgba(5, 7, 10, 0.72);
  backdrop-filter: blur(8px);
}

.v4-marquee__track {
  display: flex;
  width: max-content;
  animation: v4-marquee 30s linear infinite;
}

.v4-marquee__track span {
  padding-right: 12px;
  font-size: clamp(14px, 1.8vw, 20px);
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgba(247, 248, 244, 0.6);
}

.v4-marquee__track b {
  padding: 0 12px;
  color: var(--v4-lime);
}

@keyframes v4-marquee {
  to {
    transform: translateX(-50%);
  }
}

/* --- lanes --- */

.v4-lanes {
  padding: clamp(56px, 8vh, 96px) 0;
  background: var(--v4-bg);
}

.v4-lane-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.v4-lane-card {
  position: relative;
  display: block;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid var(--v4-line-strong);
  border-radius: var(--v4-radius-lg);
  transition:
    transform 0.45s var(--v4-ease),
    border-color 0.45s var(--v4-ease),
    box-shadow 0.45s var(--v4-ease);
}

.v4-lane-card:hover {
  border-color: rgba(200, 245, 63, 0.5);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.55);
  transform: translateY(-6px);
}

.v4-lane-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--v4-ease);
}

.v4-lane-card:hover img {
  transform: scale(1.045);
}

.v4-lane-card__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(185deg, rgba(5, 7, 10, 0.08) 30%, rgba(5, 7, 10, 0.9) 82%);
}

.v4-lane-card__copy {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 26px 28px;
}

.v4-lane-card__copy small {
  display: block;
  margin-bottom: 8px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--v4-lime);
}

.v4-lane-card__copy strong {
  display: block;
  margin-bottom: 10px;
  font-size: clamp(1.7rem, 2.8vw, 2.3rem);
  font-weight: 880;
  letter-spacing: -0.02em;
  color: var(--v4-ink);
}

.v4-lane-card__copy span {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-size: 14.5px;
  font-weight: 750;
  color: rgba(247, 248, 244, 0.78);
}

.v4-lane-card:hover .v4-lane-card__copy span {
  color: var(--v4-lime);
}

/* --- events rail --- */

.v4-events {
  padding: clamp(56px, 8vh, 96px) 0;
  background:
    radial-gradient(52% 40% at 88% 10%, rgba(160, 107, 255, 0.09), transparent 70%),
    var(--v4-bg-raise);
  border-top: 1px solid var(--v4-line);
  border-bottom: 1px solid var(--v4-line);
}

.v4-event-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.v4-events__plan-ahead {
  margin: 16px 0 0;
}

.v4-events__plan-ahead .v4-text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

/* Later-season events on /events/: collapsed by default so the current window stays short. */
.v4-run--later-events {
  padding-top: 10px;
}

.v4-events-later {
  margin-top: 4px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--v4-line);
  border-radius: 16px;
  overflow: hidden;
}

.v4-events-later__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding: 12px 18px;
  font-size: 15px;
  font-weight: 800;
  color: var(--v4-ink);
  cursor: pointer;
  list-style: none;
}

.v4-events-later__summary::-webkit-details-marker {
  display: none;
}

.v4-events-later__summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid var(--v4-line-strong);
  display: inline-grid;
  place-items: center;
  font-size: 18px;
  line-height: 1;
  color: var(--v4-lime);
}

.v4-events-later[open] > .v4-events-later__summary {
  border-bottom: 1px solid var(--v4-line);
}

.v4-events-later[open] > .v4-events-later__summary::after {
  content: "−";
}

.v4-events-later__label {
  min-width: 0;
}

.v4-events-later__count {
  flex: 0 0 auto;
  color: var(--v4-muted);
  font-size: 13px;
  font-weight: 700;
}

.v4-events-later .v4-event-grid {
  padding: 16px;
}

.v4-event-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--v4-card);
  border: 1px solid var(--v4-line);
  border-radius: var(--v4-radius);
  transition:
    transform 0.4s var(--v4-ease),
    border-color 0.4s var(--v4-ease);
}

.v4-event-card:hover {
  border-color: rgba(244, 191, 70, 0.5);
  transform: translateY(-5px);
}

.v4-event-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(200, 245, 63, 0.06), rgba(130, 91, 255, 0.07) 55%, rgba(34, 199, 255, 0.05)), var(--v4-card);
}

.v4-event-card__media picture {
  display: contents;
}

.v4-event-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--v4-ease);
}

.v4-event-card:hover .v4-event-card__media img {
  transform: scale(1.05);
}

.v4-event-card__media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 55%, rgba(12, 17, 23, 0.9) 100%);
}

.v4-event-card__copy {
  display: block;
  padding: 18px 20px 20px;
}

/* Catalog-wide contract: events pages own display:block via style-events-v4-static.css. */
body.stud-v3.v4 .v4-event-card__copy {
  padding: 18px 20px 20px;
}

.v4-event-card__copy small {
  display: block;
  margin-bottom: 7px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--v4-gold);
}

.v4-event-card__copy strong {
  display: block;
  margin-bottom: 8px;
  font-size: 19px;
  font-weight: 850;
  letter-spacing: -0.01em;
  color: var(--v4-ink);
}

.v4-event-card__summary {
  display: block;
  margin-bottom: 14px;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--v4-muted);
}

.v4-event-card__action {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--v4-gold);
}

.v4-event-card:hover .v4-event-card__action {
  color: var(--v4-gold);
}

/* --- moments --- */

.v4-moments {
  padding: clamp(56px, 8vh, 96px) 0;
  background: var(--v4-bg);
}

.v4-moment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.v4-moment-card {
  position: relative;
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 14px;
  background: var(--v4-card);
  border: 1px solid var(--v4-line);
  border-radius: var(--v4-radius);
  transition:
    transform 0.35s var(--v4-ease),
    border-color 0.35s var(--v4-ease),
    background 0.35s var(--v4-ease);
}

.v4-moment-card:hover {
  background: var(--v4-card-2);
  border-color: rgba(200, 245, 63, 0.42);
  transform: translateY(-3px);
}

.v4-moment-card__media {
  flex: 0 0 auto;
  width: 96px;
  height: 96px;
  overflow: hidden;
  border-radius: 14px;
}

.v4-moment-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.v4-moment-card__copy small {
  display: block;
  margin-bottom: 4px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--v4-faint);
}

.v4-moment-card__copy strong {
  display: block;
  font-size: 17.5px;
  font-weight: 820;
  color: var(--v4-ink);
}

.v4-moment-card__copy svg {
  margin-top: 8px;
  color: var(--v4-lime);
}

/* --- STUD band --- */

.v4-stud {
  padding: 0 0 clamp(80px, 11vh, 140px);
  background: var(--v4-bg);
}

.v4-stud__card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
  padding: clamp(26px, 3.4vw, 42px);
  overflow: hidden;
  background:
    radial-gradient(70% 120% at 8% 50%, rgba(244, 191, 70, 0.12), transparent 60%),
    linear-gradient(140deg, var(--v4-card-2), var(--v4-card));
  border: 1px solid rgba(244, 191, 70, 0.3);
  border-radius: var(--v4-radius-lg);
}

.v4-stud__coin {
  width: clamp(84px, 10vw, 128px);
  height: auto;
  filter: drop-shadow(0 14px 30px rgba(0, 0, 0, 0.55));
}

.v4-stud__copy h2 {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  font-weight: 880;
  letter-spacing: -0.02em;
  color: var(--v4-ink);
}

.v4-stud__copy p {
  max-width: 58ch;
  margin: 0;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--v4-muted);
}

.v4-close {
  position: relative;
  padding: clamp(56px, 9vh, 110px) 0;
  overflow: clip;
  text-align: center;
  background: var(--v4-bg-raise);
  border-top: 1px solid var(--v4-line);
}

.v4-close__glow {
  position: absolute;
  top: -30%;
  left: 50%;
  width: 70vw;
  height: 70vw;
  pointer-events: none;
  background: radial-gradient(circle, rgba(200, 245, 63, 0.12) 0%, transparent 62%);
  transform: translateX(-50%);
}

.v4-close__inner {
  position: relative;
}

.v4-close__eyebrow {
  margin: 0 0 20px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--v4-lime);
}

.v4-close h2 {
  margin: 0 auto 36px;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  color: var(--v4-ink);
}

.v4-close h2 em {
  font-style: italic;
  color: transparent;
  background: linear-gradient(96deg, var(--v4-lime) 20%, var(--v4-gold) 85%);
  background-clip: text;
}

.v4-close__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.v4-close__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: center;
  margin-top: 32px;
}

.v4-close__links a {
  font-size: 14.5px;
  font-weight: 750;
  color: var(--v4-muted);
}

.v4-close__links a:hover {
  color: var(--v4-lime);
}

/* --- reveals (JS-gated) --- */

.v4-js [data-v4-reveal] {
  opacity: 1;
  transform: none;
  transition: none;
}

.v4-js [data-v4-reveal].v4-in {
  opacity: 1;
  transform: none;
}

@media (max-width: 1080px) {
  .v4-event-grid,
  .v4-moment-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .v4-stud__card {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .v4-stud__card .v4-button {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

@media (max-width: 760px) {
  .v4-hero__inner {
    padding-top: 48px;
  }

  .v4-find__row {
    flex-wrap: wrap;
  }

  .v4-find__row input {
    flex-basis: calc(100% - 60px);
  }

  .v4-find__row button {
    width: 100%;
    justify-content: center;
  }

  .v4-lane-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .v4-lane-card {
    min-height: 320px;
  }

  .v4-event-grid {
    display: flex;
    gap: 12px;
    margin-right: -24px;
    margin-left: -24px;
    padding: 0 24px 8px;
    overflow-x: auto;
    scroll-padding-left: 24px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .v4-event-grid::-webkit-scrollbar {
    display: none;
  }

  .v4-event-card {
    flex: 0 0 78%;
    scroll-snap-align: start;
  }

  .v4-moment-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .v4-stud__card {
    grid-template-columns: minmax(0, 1fr);
  }

  .v4-section-head--split {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
}

/* --- reduced motion --- */

@media (prefers-reduced-motion: reduce) {
  .v4-marquee__track {
    animation: none;
  }

  .v4-js [data-v4-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .v4-lane-card img,
  .v4-event-card__media img {
    transition: none;
  }
}

/* ============================================================
   V4 EXPLORE CONCEPT — "Describe the crew. Get the game."
   ============================================================ */

.v4-hero--explore .v4-hero__inner--explore {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 860px;
  padding: clamp(36px, 6vh, 64px) 0 clamp(30px, 5vh, 56px);
}

.v4-hero--explore h1 {
  max-width: 14ch;
  margin: 0 0 22px;
  font-size: clamp(2.8rem, 6.8vw, 5.6rem);
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  color: var(--v4-ink);
}

.v4-hero--explore h1 em {
  font-style: italic;
  color: transparent;
  background: linear-gradient(96deg, var(--v4-lime) 20%, var(--v4-gold) 85%);
  background-clip: text;
}

.v4-hero--explore .v4-hero__lead {
  max-width: 56ch;
  margin: 0 0 34px;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.62;
  color: var(--v4-muted);
}

.v4-find--explore {
  max-width: 760px;
}

.v4-starts__chips button {
  padding: 9px 16px;
  font-size: 13.5px;
  font-weight: 750;
  color: var(--v4-muted);
  cursor: pointer;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--v4-line);
  border-radius: 999px;
  transition:
    color 0.25s var(--v4-ease),
    border-color 0.25s var(--v4-ease),
    background 0.25s var(--v4-ease),
    transform 0.25s var(--v4-ease);
}

.v4-starts__chips button:hover {
  color: var(--v4-lime);
  background: var(--v4-lime-soft);
  border-color: rgba(200, 245, 63, 0.45);
  transform: translateY(-2px);
}

.v4-starts__chips :is(a, button),
.v4-board-chips a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

/* --- results --- */

.v4-results {
  padding: clamp(72px, 10vh, 130px) 0;
  background:
    radial-gradient(52% 40% at 90% 6%, rgba(200, 245, 63, 0.07), transparent 70%),
    var(--v4-bg-raise);
  border-top: 1px solid var(--v4-line);
  border-bottom: 1px solid var(--v4-line);
}

.v4-results__head h2 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  font-weight: 880;
  letter-spacing: -0.03em;
  color: var(--v4-ink);
}

.v4-results__status {
  margin: 0 0 34px;
  font-size: 14.5px;
  color: var(--v4-faint);
}

.v4-results__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 16px;
  align-items: start;
}

.v4-winner,
.v4-result-card {
  background: linear-gradient(160deg, var(--v4-card-2), var(--v4-card));
  border: 1px solid var(--v4-line-strong);
  border-radius: var(--v4-radius-lg);
}

.v4-winner {
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.v4-winner .v4-result-card__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.v4-winner .v4-result-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.v4-winner > :not(.v4-result-card__media),
.v4-result-card > * {
  margin-right: 22px;
  margin-left: 22px;
}

.v4-winner > .v4-result-card__identity,
.v4-result-card > .v4-result-card__identity {
  margin-top: 20px;
}

.v4-result-card__identity {
  display: flex;
  gap: 10px;
  align-items: center;
}

.v4-result-card__entity {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--v4-lime);
}

.v4-result-card__status {
  font-size: 11px;
  font-weight: 750;
  color: var(--v4-gold);
}

.v4-result-card h3 {
  margin: 10px 0 4px;
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  font-weight: 860;
  letter-spacing: -0.02em;
  color: var(--v4-ink);
}

.v4-result-card__board {
  margin: 0 0 10px;
  font-size: 12.5px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--v4-faint);
}

.v4-result-card__desc {
  margin: 0 0 14px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--v4-muted);
}

.v4-result-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 12px;
}

.v4-fact,
.v4-reason {
  padding: 6px 11px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
}

.v4-fact {
  color: var(--v4-muted);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--v4-line);
}

.v4-reason {
  color: var(--v4-lime);
  background: var(--v4-lime-soft);
  border: 1px solid rgba(200, 245, 63, 0.3);
}

.v4-result-card__cta {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-top: 6px;
  margin-bottom: 22px;
  padding: 13px 22px;
  font-size: 14px;
  font-weight: 800;
  color: var(--v4-lime-ink);
  background: var(--v4-lime);
  border-radius: 999px;
  transition:
    transform 0.25s var(--v4-ease),
    box-shadow 0.25s var(--v4-ease);
}

.v4-result-card__cta:hover {
  box-shadow: 0 10px 28px rgba(200, 245, 63, 0.36);
  transform: translateY(-2px);
}

.v4-alts {
  display: grid;
  gap: 14px;
}

.v4-result-card {
  padding-bottom: 2px;
}

.v4-result-card--alt h3,
.v4-result-card--depth h3 {
  font-size: 18px;
}

.v4-result-card--alt .v4-result-card__cta,
.v4-result-card--depth .v4-result-card__cta {
  padding: 10px 18px;
  font-size: 13px;
  color: var(--v4-lime);
  background: rgba(200, 245, 63, 0.12);
  border: 1px solid rgba(200, 245, 63, 0.35);
}

/* --- depth disclosure --- */

.v4-depth {
  margin-top: 34px;
  text-align: center;
}

.v4-depth summary {
  list-style: none;
}

.v4-depth summary::-webkit-details-marker {
  display: none;
}

.v4-depth__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
  text-align: left;
}

/* --- no match --- */

.v4-nomatch {
  padding: 34px;
  text-align: center;
  background: var(--v4-card);
  border: 1px dashed var(--v4-line-strong);
  border-radius: var(--v4-radius-lg);
}

.v4-nomatch h3 {
  margin: 0 0 10px;
  font-size: 22px;
  color: var(--v4-ink);
}

.v4-nomatch p {
  max-width: 46ch;
  margin: 0 auto 22px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--v4-muted);
}

.v4-nomatch__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* --- popular starts --- */

.v4-popular {
  padding: clamp(72px, 10vh, 130px) 0;
  background: var(--v4-bg);
}

.v4-popular__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.v4-popular-card {
  position: relative;
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 12px;
  overflow: hidden;
  background: var(--v4-card);
  border: 1px solid var(--v4-line);
  border-radius: var(--v4-radius);
  transition:
    transform 0.3s var(--v4-ease),
    border-color 0.3s var(--v4-ease),
    background 0.3s var(--v4-ease);
}

.v4-popular-card:hover {
  background: var(--v4-card-2);
  border-color: rgba(200, 245, 63, 0.42);
  transform: translateY(-3px);
}

.v4-popular-card__media {
  flex: 0 0 auto;
  width: 76px;
  height: 76px;
  overflow: hidden;
  background: var(--v4-bg-raise);
  border-radius: 12px;
}

.v4-popular-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.v4-popular-card__copy small {
  display: block;
  margin-bottom: 3px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--v4-faint);
}

.v4-popular-card__copy strong {
  display: block;
  font-size: 15px;
  font-weight: 780;
  line-height: 1.3;
  color: var(--v4-ink);
}

.v4-loading {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 14px;
  color: var(--v4-faint);
}

/* --- board chips --- */

.v4-board-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 26px;
}

.v4-board-chips a {
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 750;
  color: var(--v4-muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--v4-line);
  border-radius: 999px;
  transition:
    color 0.25s var(--v4-ease),
    border-color 0.25s var(--v4-ease),
    transform 0.25s var(--v4-ease);
}

.v4-board-chips a:hover {
  color: var(--v4-lime);
  border-color: rgba(200, 245, 63, 0.45);
  transform: translateY(-2px);
}

@media (max-width: 1080px) {
  .v4-results__layout,
  .v4-depth__grid,
  .v4-popular__grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   V4 PLAY KIT CONCEPT — "One page, everything you need."
   ============================================================ */

.v4-kit-hero {
  position: relative;
  overflow: clip;
  padding: clamp(48px, 7vh, 88px) 0 clamp(56px, 7vh, 88px);
  background:
    radial-gradient(56% 44% at 84% 18%, rgba(160, 107, 255, 0.13), transparent 68%),
    radial-gradient(50% 42% at 8% 82%, rgba(200, 245, 63, 0.08), transparent 70%),
    var(--v4-bg);
}

.v4-kit-hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}

.v4-kit-hero__copy h1 {
  margin: 0 0 16px;
  font-size: clamp(2.8rem, 5.8vw, 5.2rem);
  font-weight: 900;
  line-height: 0.94;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  color: var(--v4-ink);
}

.v4-kit-hero__copy h1 em {
  font-style: italic;
  color: transparent;
  background: linear-gradient(96deg, var(--v4-lime) 20%, var(--v4-gold) 85%);
  background-clip: text;
}

.v4-kit-hero__hook {
  margin: 0 0 12px;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 750;
  color: var(--v4-gold);
}

.v4-kit-hero__lead {
  max-width: 52ch;
  margin: 0 0 28px;
  font-size: 16.5px;
  line-height: 1.62;
  color: var(--v4-muted);
}

.v4-kit-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 0;
  margin: 0 0 30px;
  overflow: hidden;
  list-style: none;
  background: var(--v4-line);
  border: 1px solid var(--v4-line);
  border-radius: 16px;
}

.v4-kit-facts li {
  padding: 14px 16px;
  background: rgba(10, 14, 19, 0.86);
}

.v4-kit-facts span {
  display: block;
  margin-bottom: 4px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--v4-faint);
}

.v4-kit-facts strong {
  font-size: 15.5px;
  font-weight: 820;
  color: var(--v4-ink);
}

.v4-kit-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.v4-kit-hero__media {
  position: relative;
  margin: 0;
}

.v4-kit-hero__media::before {
  position: absolute;
  inset: 18px -18px -18px 18px;
  content: "";
  border: 1px solid rgba(200, 245, 63, 0.3);
  border-radius: var(--v4-radius-lg);
}

.v4-kit-hero__media img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  border: 1px solid var(--v4-line-strong);
  border-radius: var(--v4-radius-lg);
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.55);
}

.v4-kit-hero__media figcaption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 750;
  color: var(--v4-ink);
  background: rgba(5, 7, 10, 0.78);
  border: 1px solid var(--v4-line-strong);
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

/* --- quick start --- */

.v4-quickstart {
  padding: clamp(64px, 9vh, 110px) 0 0;
  background: var(--v4-bg);
}

.v4-quickstart__card {
  padding: clamp(30px, 4vw, 52px);
  text-align: center;
  background: linear-gradient(140deg, rgba(200, 245, 63, 0.09), rgba(244, 191, 70, 0.07));
  border: 1px solid rgba(200, 245, 63, 0.32);
  border-radius: var(--v4-radius-lg);
}

.v4-quickstart__label {
  display: block;
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--v4-lime);
}

.v4-quickstart__card h2 {
  margin: 0 0 18px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 880;
  color: var(--v4-ink);
}

.v4-quickstart__card blockquote {
  margin: 0;
}

.v4-quickstart__card blockquote p {
  max-width: 40ch;
  margin: 0 auto;
  font-size: clamp(19px, 2.4vw, 26px);
  font-weight: 700;
  line-height: 1.45;
  color: var(--v4-ink);
}

/* --- run grid + timer --- */

.v4-run {
  padding: clamp(72px, 10vh, 130px) 0;
  background: var(--v4-bg);
}

.v4-run__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 18px;
  align-items: start;
}

.v4-run__steps {
  display: grid;
  gap: 12px;
}

.v4-run-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 18px 20px;
  background: var(--v4-card);
  border: 1px solid var(--v4-line);
  border-radius: 16px;
}

.v4-run-card__label {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  min-width: 52px;
  height: 34px;
  padding: 0 10px;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--v4-lime);
  background: var(--v4-lime-soft);
  border-radius: 999px;
}

.v4-run-card--win .v4-run-card__label {
  color: var(--v4-lime-ink);
  background: var(--v4-lime);
}

.v4-run-card p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--v4-ink);
}

.v4-timer {
  position: sticky;
  top: 96px;
  padding: clamp(24px, 3vw, 34px);
  text-align: center;
  background: linear-gradient(160deg, var(--v4-card-2), var(--v4-card));
  border: 1px solid var(--v4-line-strong);
  border-radius: var(--v4-radius-lg);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
}

.v4-timer__label {
  display: block;
  margin-bottom: 12px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--v4-faint);
}

.v4-timer__display {
  display: block;
  font-size: clamp(56px, 6vw, 76px);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  color: var(--v4-lime);
  text-shadow: 0 0 40px rgba(200, 245, 63, 0.35);
}

.v4-timer__status {
  margin: 10px 0 20px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--v4-gold);
}

.v4-timer__presets {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 18px;
}

.v4-timer__presets button {
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 750;
  color: var(--v4-muted);
  cursor: pointer;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--v4-line);
  border-radius: 999px;
}

.v4-timer__presets button.is-active {
  color: var(--v4-lime-ink);
  background: var(--v4-lime);
  border-color: transparent;
}

.v4-timer__controls {
  display: flex;
  gap: 10px;
  justify-content: center;
}

/* --- twists --- */

.v4-twists {
  padding: clamp(72px, 10vh, 130px) 0;
  background: var(--v4-bg-raise);
  border-top: 1px solid var(--v4-line);
  border-bottom: 1px solid var(--v4-line);
}

.v4-twists__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.v4-twist-card {
  padding: 22px 22px 20px;
  background: var(--v4-card);
  border: 1px solid var(--v4-line);
  border-radius: var(--v4-radius);
  transition:
    border-color 0.3s var(--v4-ease),
    transform 0.3s var(--v4-ease),
    box-shadow 0.3s var(--v4-ease);
}

.v4-twist-card.is-selected {
  border-color: rgba(244, 191, 70, 0.65);
  box-shadow: 0 18px 50px rgba(244, 191, 70, 0.12);
  transform: translateY(-4px);
}

.v4-twist-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.v4-twist-card__head span {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--v4-gold);
}

.v4-twist-card__head button {
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 750;
  color: var(--v4-gold);
  cursor: pointer;
  background: rgba(244, 191, 70, 0.1);
  border: 1px solid rgba(244, 191, 70, 0.35);
  border-radius: 999px;
}

.v4-twist-card.is-selected .v4-twist-card__head button {
  color: var(--v4-lime-ink);
  background: var(--v4-gold);
  border-color: transparent;
}

.v4-twist-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 850;
  color: var(--v4-ink);
}

.v4-twist-card p {
  margin: 0 0 12px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--v4-muted);
}

.v4-twist-card small {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--v4-cyan);
}

.v4-twists__status {
  margin: 22px 4px 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--v4-gold);
}

/* --- detail cards + lineup --- */

.v4-details {
  padding: clamp(72px, 10vh, 130px) 0;
  background: var(--v4-bg);
}

.v4-details__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.v4-detail-cards {
  display: grid;
  gap: 12px;
}

.v4-detail-cards article {
  padding: 18px 20px;
  background: var(--v4-card);
  border: 1px solid var(--v4-line);
  border-radius: 14px;
}

.v4-detail-cards span {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--v4-lime);
}

.v4-detail-cards p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--v4-muted);
}

.v4-lineup {
  padding: clamp(24px, 3vw, 32px);
  background: linear-gradient(160deg, var(--v4-card-2), var(--v4-card));
  border: 1px solid rgba(69, 219, 247, 0.35);
  border-radius: var(--v4-radius-lg);
}

.v4-lineup__tag {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 12px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #06232b;
  background: var(--v4-cyan);
  border-radius: 999px;
}

.v4-lineup h3 {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 850;
  color: var(--v4-ink);
}

.v4-lineup p {
  margin: 0 0 14px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--v4-muted);
}

.v4-lineup ul {
  display: grid;
  gap: 10px;
  padding-left: 18px;
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--v4-muted);
}

/* ============================================================
   V4 DIRECTORY WALL — situation-led hero + game wall.
   ============================================================ */

.v4-hero--boards .v4-hero__inner--explore {
  padding-bottom: clamp(40px, 5vh, 64px);
}

.v4-hero--boards h1 em {
  font-style: italic;
  color: transparent;
  background: linear-gradient(96deg, var(--v4-lime) 20%, var(--v4-gold) 85%);
  background-clip: text;
}

.v4-wall-section {
  padding: clamp(56px, 7vh, 96px) 0 clamp(80px, 11vh, 140px);
  background: var(--v4-bg);
}

.v4-rails {
  display: grid;
  gap: 18px;
  margin-bottom: 22px;
}

.v4-rail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.v4-rail__label {
  flex: 0 0 auto;
  padding-top: 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--v4-faint);
}

.v4-rail__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.v4-rail__chips--scroll {
  flex-wrap: nowrap;
  max-width: 100%;
  padding-bottom: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.v4-rail__chips--scroll::-webkit-scrollbar {
  display: none;
}

.v4-rail__chips button {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 9px 16px;
  font-size: 13.5px;
  font-weight: 750;
  color: var(--v4-muted);
  cursor: pointer;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--v4-line);
  border-radius: 999px;
  transition:
    color 0.25s var(--v4-ease),
    border-color 0.25s var(--v4-ease),
    background 0.25s var(--v4-ease);
}

.v4-rail__chips button:hover {
  color: var(--v4-lime);
  border-color: rgba(200, 245, 63, 0.4);
}

.v4-rail__chips button.is-active {
  color: var(--v4-lime-ink);
  background: var(--v4-lime);
  border-color: transparent;
}

.v4-wall__count {
  margin: 0 0 22px;
  font-size: 14px;
  color: var(--v4-faint);
  scroll-margin-top: 96px;
}

.v4-wall__count:focus,
.v4-wall__empty:focus {
  outline: 3px solid rgba(200, 245, 63, 0.72);
  outline-offset: 6px;
  border-radius: 4px;
}

.v4-wall__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.v4-game-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  background: var(--v4-card);
  border: 1px solid var(--v4-line);
  border-radius: var(--v4-radius);
  transition:
    transform 0.35s var(--v4-ease),
    border-color 0.35s var(--v4-ease);
}

.v4-game-card:hover {
  border-color: rgba(200, 245, 63, 0.42);
  transform: translateY(-4px);
}

.v4-game-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--v4-bg-raise);
}

.v4-game-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--v4-ease);
}

.v4-game-card:hover .v4-game-card__media img {
  transform: scale(1.05);
}

.v4-game-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 12px;
  font-size: 10.5px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.v4-game-card__badge--idea {
  color: var(--v4-lime-ink);
  background: rgba(200, 245, 63, 0.92);
}

.v4-game-card__badge--twist {
  color: #06232b;
  background: rgba(69, 219, 247, 0.92);
}

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

.v4-game-card__body small {
  margin-bottom: 6px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--v4-faint);
}

.v4-game-card__body h3 {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 850;
  letter-spacing: -0.01em;
  color: var(--v4-ink);
}

.v4-game-card__body p {
  display: -webkit-box;
  margin: 0 0 14px;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.55;
  color: var(--v4-muted);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.v4-game-card__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 16px;
}

.v4-game-card__facts span {
  padding: 5px 10px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--v4-muted);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--v4-line);
  border-radius: 999px;
}

.v4-game-card__cta-row {
  margin-top: auto;
}

.v4-game-card__cta {
  display: inline-flex;
  min-height: 44px;
  gap: 8px;
  align-items: center;
  padding: 11px 18px;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--v4-lime);
  background: rgba(200, 245, 63, 0.1);
  border: 1px solid rgba(200, 245, 63, 0.35);
  border-radius: 999px;
  transition:
    background 0.25s var(--v4-ease),
    color 0.25s var(--v4-ease);
}

.v4-game-card:is(:hover, :focus-visible) .v4-game-card__cta {
  color: var(--v4-lime-ink);
  background: var(--v4-lime);
}

.v4-wall__more {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

/* --- wall density toggle + Twist Library list view --- */

/* Standalone "View" rail between the filter rails and the wall count; chips
   inherit the shared .v4-rail__chips button styles (44px targets). */
.v4-rail--view {
  margin-bottom: 18px;
}

/* First-class view switch (owner goal wave 2026-07-30): segmented control so
   Tiles/List reads as a primary view choice, not another filter chip. */
.v4-rail--view .v4-rail__chips {
  gap: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--v4-line);
  border-radius: 999px;
}

.v4-rail--view .v4-rail__chips button {
  min-width: 86px;
  background: transparent;
  border: none;
  border-radius: 0;
}

.v4-rail--view .v4-rail__chips button + button {
  border-left: 1px solid var(--v4-line);
}

.v4-rail--view .v4-rail__chips button:hover {
  color: var(--v4-lime);
}

.v4-rail--view .v4-rail__chips button.is-active {
  color: var(--v4-lime-ink);
  background: var(--v4-lime);
}

.v4-wall__cards.v4-list {
  grid-template-columns: 1fr;
  gap: 0;
}

.v4-list__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 14px;
  align-items: start;
  min-height: 58px;
  padding: 10px 12px;
  color: inherit;
  text-decoration: none;
  border: 1px solid transparent;
  border-bottom-color: var(--v4-line);
  border-radius: 10px;
  transition:
    background 0.25s var(--v4-ease),
    border-color 0.25s var(--v4-ease);
}

/* Home .v4-fresh rows carry badge | main | date as direct children. */
.v4-fresh .v4-list__row {
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
}

.v4-list__row:is(:hover, :focus-visible) {
  background: var(--v4-card);
  border-color: rgba(200, 245, 63, 0.35);
}

/* Cyan spine keeps Twist rows scannable in the density list. */
.v4-list__row--twist {
  box-shadow: inset 2px 0 0 rgba(69, 219, 247, 0.55);
}

.v4-list__badge {
  display: inline-block;
  justify-self: start;
  margin: 0 8px 2px 0;
  padding: 3px 9px;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
  vertical-align: 1px;
  white-space: nowrap;
  border-radius: 999px;
}

.v4-list__badge--idea {
  color: var(--v4-lime-ink);
  background: rgba(200, 245, 63, 0.92);
}

.v4-list__badge--twist {
  color: #06232b;
  background: rgba(69, 219, 247, 0.92);
}

.v4-list__main {
  display: block;
  min-width: 0;
}

.v4-list__title {
  display: inline;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--v4-ink);
}

.v4-list__summary {
  display: -webkit-box;
  overflow: hidden;
  font-size: 13px;
  line-height: 1.45;
  color: var(--v4-muted);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.v4-list__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.v4-list__facts span {
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  color: var(--v4-muted);
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--v4-line);
  border-radius: 999px;
}

@media (max-width: 640px) {
  .v4-list__row {
    grid-template-columns: auto minmax(0, 1fr);
    min-height: 56px;
    padding: 10px;
  }

  /* Chips stay on the Play Kit page; mobile rows stay dense. */
  .v4-list__facts {
    display: none;
  }

  /* Chips hide here, so rows have room for a third description line. */
  .v4-list__summary {
    -webkit-line-clamp: 3;
  }
}

/* --- shared responsive for phase 3 --- */

@media (max-width: 1080px) {
  .v4-kit-hero__grid,
  .v4-run__grid,
  .v4-details__grid {
    grid-template-columns: 1fr;
  }

  .v4-timer {
    position: static;
  }

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

@media (max-width: 640px) {
  .v4-kit-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Keep the primary action above the fold on phones: lead → actions → facts. */
  .v4-kit-hero__copy {
    display: flex;
    flex-direction: column;
  }

  .v4-kit-hero__copy .v4-kit-hero__actions {
    order: 4;
  }

  .v4-kit-hero__copy .v4-kit-facts {
    order: 5;
  }

  .v4-twists__grid,
  .v4-wall__cards {
    grid-template-columns: 1fr;
  }

  .v4-rail {
    flex-direction: column;
    gap: 10px;
  }
}

.v4-view .v4-kit-hero {
  padding-top: clamp(36px, 5vh, 64px);
}

.v4-view.is-runner .v4-kit-hero,
.v4-view.is-runner .v4-quickstart,
.v4-view.is-runner .v4-twists,
.v4-view.is-runner .v4-details {
  display: none;
}

.v4-view.is-runner .v4-run {
  min-height: calc(100dvh - 76px);
  padding: clamp(24px, 5vh, 60px) 0 max(32px, env(safe-area-inset-bottom));
}

.v4-view.is-runner .v4-run > .v4-wrap > .v4-section-head {
  display: none;
}

.v4-view.is-runner .v4-run-card:not(.is-active) {
  display: none;
}

.v4-view.is-runner .v4-run-card.is-active {
  border-color: rgba(200, 245, 63, 0.48);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
}

.v4-view.is-runner .v4-timer {
  top: 86px;
}

/* --- wall page bleed fixes --- */

.v4-hero--explore {
  position: relative;
  overflow: clip;
}

.v4-rails > * {
  min-width: 0;
}

.v4-rail__chips--scroll {
  flex: 1;
  min-width: 0;
}


/* ============================================================
   ASK STUD overlay — V4 dark theme (app pages)
   Overrides the dynamically loaded ask-studboards-static.css
   so the lime Find button opens a dark, on-brand panel.
   ============================================================ */

body.stud-v3.v4 .ask-studboards {
  --ask-bg: #05070a;
  --ask-card: #0c1117;
  --ask-ink: #f7f8f4;
  --ask-muted: #9aa5b1;
  --ask-navy: #0a0e13;
  --ask-mint: #c8f53f;
  --ask-blue: #45dbf7;
  --ask-purple: #a06bff;
  --ask-orange: #f4bf46;
  --ask-border: rgba(255, 255, 255, 0.12);
  --ask-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
}

body.stud-v3.v4 .ask-studboards-launch {
  background: var(--v4-lime) !important;
  color: var(--v4-lime-ink) !important;
  border-color: transparent !important;
  box-shadow: 0 14px 36px rgba(200, 245, 63, 0.36) !important;
}

body.stud-v3.v4 .ask-studboards-launch::before {
  background: rgba(200, 245, 63, 0.5) !important;
}

body.stud-v3.v4 .ask-studboards-launch-mark {
  background: rgba(255, 255, 255, 0.16) !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
}

body.stud-v3.v4 .ask-studboards-launch-mark::after {
  background: var(--v4-lime) !important;
  color: var(--v4-lime-ink) !important;
}

body.stud-v3.v4 .ask-studboards-launch-copy span,
body.stud-v3.v4 .ask-studboards-launch-copy strong {
  color: var(--v4-lime-ink) !important;
}

body.stud-v3.v4 .ask-studboards-sheet {
  background:
    radial-gradient(circle at 12% 0%, rgba(200, 245, 63, 0.12), transparent 28%),
    radial-gradient(circle at 94% 10%, rgba(160, 107, 255, 0.22), transparent 34%),
    radial-gradient(circle at 86% 86%, rgba(244, 191, 70, 0.14), transparent 34%),
    linear-gradient(180deg, #05070a 0%, #0a0e13 100%) !important;
  border-color: var(--v4-line-strong) !important;
  color: var(--v4-ink) !important;
}

body.stud-v3.v4 .ask-studboards-backdrop {
  background: rgba(5, 7, 10, 0.72) !important;
}

body.stud-v3.v4 .ask-studboards-head {
  background: linear-gradient(135deg, #05070a 0%, #0a0e13 58%, #10161e 100%) !important;
  border-bottom-color: var(--v4-line) !important;
}

body.stud-v3.v4 .ask-studboards-head h2,
body.stud-v3.v4 .ask-studboards-head span {
  color: var(--v4-lime) !important;
}

body.stud-v3.v4 .ask-studboards-head p {
  color: var(--v4-muted) !important;
}

body.stud-v3.v4 .ask-studboards-head button {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: var(--v4-line-strong) !important;
  color: var(--v4-ink) !important;
}

body.stud-v3.v4 .ask-studboards-form,
body.stud-v3.v4 .ask-studboards--has-results .ask-studboards-form {
  background: rgba(8, 11, 16, 0.92) !important;
  border-color: var(--v4-line) !important;
}

body.stud-v3.v4 .ask-studboards-form label {
  color: var(--v4-lime) !important;
}

body.stud-v3.v4 .ask-studboards-form textarea,
body.stud-v3.v4 .ask-studboards--has-results .ask-studboards-form textarea {
  background: rgba(255, 255, 255, 0.07) !important;
  border-color: var(--v4-line-strong) !important;
  color: var(--v4-ink) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
}

body.stud-v3.v4 .ask-studboards-form textarea::placeholder {
  color: var(--v4-faint) !important;
}

body.stud-v3.v4 .ask-studboards-form button,
body.stud-v3.v4 .ask-studboards--has-results .ask-studboards-form button {
  background: var(--v4-lime) !important;
  color: var(--v4-lime-ink) !important;
  box-shadow: 0 12px 28px rgba(200, 245, 63, 0.28) !important;
}

body.stud-v3.v4 .ask-studboards-output,
body.stud-v3.v4 .ask-studboards--has-results .ask-studboards-output {
  background: var(--v4-bg) !important;
}

body.stud-v3.v4 .ask-studboards-message--user {
  background: linear-gradient(135deg, #10161e, #1a2332) !important;
  color: var(--v4-ink) !important;
}

body.stud-v3.v4 .ask-studboards-message--assistant {
  background: rgba(255, 255, 255, 0.07) !important;
  border-color: var(--v4-line) !important;
  color: var(--v4-ink) !important;
}

body.stud-v3.v4 .ask-studboards-card,
body.stud-v3.v4 .ask-studboards-board-card,
body.stud-v3.v4 .ask-studboards-plan-card,
body.stud-v3.v4 .ask-studboards-producer-pick,
body.stud-v3.v4 .ask-studboards-expanded-card {
  background: var(--v4-card) !important;
  border-color: var(--v4-line) !important;
  color: var(--v4-ink) !important;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22) !important;
}

body.stud-v3.v4 .ask-studboards-card::before,
body.stud-v3.v4 .ask-studboards-board-card::before,
body.stud-v3.v4 .ask-studboards-plan-card::before,
body.stud-v3.v4 .ask-studboards-producer-pick::before,
body.stud-v3.v4 .ask-studboards-expanded-card::before {
  background: linear-gradient(90deg, var(--v4-lime), var(--v4-cyan) 38%, var(--v4-purple) 72%, var(--v4-gold)) !important;
}

body.stud-v3.v4 .ask-studboards-card span,
body.stud-v3.v4 .ask-studboards-board-card > span,
body.stud-v3.v4 .ask-studboards-plan-card > span,
body.stud-v3.v4 .ask-studboards-producer-pick > span,
body.stud-v3.v4 .ask-studboards-expanded-card > span,
body.stud-v3.v4 .ask-studboards-expanded-eyebrow {
  background: var(--v4-gold-soft) !important;
  color: var(--v4-gold) !important;
  border-color: rgba(244, 191, 70, 0.22) !important;
}

body.stud-v3.v4 .ask-studboards-card--single span,
body.stud-v3.v4 .ask-studboards-card--single > span {
  background: var(--v4-lime-soft) !important;
  color: var(--v4-lime) !important;
}

body.stud-v3.v4 .ask-studboards-card strong,
body.stud-v3.v4 .ask-studboards-board-card > strong,
body.stud-v3.v4 .ask-studboards-plan-card > strong,
body.stud-v3.v4 .ask-studboards-producer-pick > strong,
body.stud-v3.v4 .ask-studboards-result-title,
body.stud-v3.v4 .ask-studboards-expanded-card > strong,
body.stud-v3.v4 .ask-studboards-expanded-body strong,
body.stud-v3.v4 .ask-studboards-plan-card b {
  color: var(--v4-ink) !important;
}

body.stud-v3.v4 .ask-studboards-card p,
body.stud-v3.v4 .ask-studboards-board-card > p,
body.stud-v3.v4 .ask-studboards-plan-card > p,
body.stud-v3.v4 .ask-studboards-producer-pick > p,
body.stud-v3.v4 .ask-studboards-producer-body > p,
body.stud-v3.v4 .ask-studboards-expanded-card > p,
body.stud-v3.v4 .ask-studboards-card small,
body.stud-v3.v4 .ask-studboards-expanded-body small,
body.stud-v3.v4 .ask-studboards-expanded-body p,
body.stud-v3.v4 .ask-studboards-plan-card li,
body.stud-v3.v4 .ask-studboards-start-modes button small,
body.stud-v3.v4 .ask-studboards-form p {
  color: var(--v4-muted) !important;
}

body.stud-v3.v4 .ask-studboards-actions a:first-child,
body.stud-v3.v4 .ask-studboards-actions button:first-child,
body.stud-v3.v4 .ask-studboards-board-actions a:first-child,
body.stud-v3.v4 .ask-studboards-board-actions button:first-child,
body.stud-v3.v4 .ask-studboards-expanded-actions a:first-child,
body.stud-v3.v4 .ask-studboards-expanded-actions button:first-child,
body.stud-v3.v4 .ask-studboards-form button {
  background: var(--v4-lime) !important;
  color: var(--v4-lime-ink) !important;
  border-color: transparent !important;
}

body.stud-v3.v4 .ask-studboards-actions a,
body.stud-v3.v4 .ask-studboards-actions button,
body.stud-v3.v4 .ask-studboards-board-actions a,
body.stud-v3.v4 .ask-studboards-board-actions button,
body.stud-v3.v4 .ask-studboards-expanded-actions a,
body.stud-v3.v4 .ask-studboards-expanded-actions button,
body.stud-v3.v4 .ask-studboards-safe-links a,
body.stud-v3.v4 .ask-studboards-suggestions button {
  background: rgba(255, 255, 255, 0.07) !important;
  border-color: var(--v4-line) !important;
  color: var(--v4-ink) !important;
}

body.stud-v3.v4 .ask-studboards-actions a:hover,
body.stud-v3.v4 .ask-studboards-actions button:hover,
body.stud-v3.v4 .ask-studboards-expanded-actions a:hover,
body.stud-v3.v4 .ask-studboards-expanded-actions button:hover {
  background: rgba(255, 255, 255, 0.12) !important;
}

body.stud-v3.v4 .ask-studboards-setup,
body.stud-v3.v4 .ask-studboards-start-modes,
body.stud-v3.v4 .ask-studboards-prompts {
  background: var(--v4-card) !important;
  border-color: var(--v4-line) !important;
}

body.stud-v3.v4 .ask-studboards-setup-disclosure > summary {
  color: var(--v4-ink) !important;
}

body.stud-v3.v4 .ask-studboards-setup-group b {
  color: var(--v4-lime) !important;
}

body.stud-v3.v4 .ask-studboards-setup-options button,
body.stud-v3.v4 .ask-studboards-prompts button,
body.stud-v3.v4 .ask-studboards-start-modes button {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: var(--v4-line) !important;
  color: var(--v4-ink) !important;
}

body.stud-v3.v4 .ask-studboards-setup-options button.is-selected,
body.stud-v3.v4 .ask-studboards-setup-options button[aria-pressed="true"] {
  background: var(--v4-lime) !important;
  color: var(--v4-lime-ink) !important;
  border-color: transparent !important;
}

body.stud-v3.v4 .ask-studboards-prompts::before {
  color: var(--v4-lime) !important;
}

body.stud-v3.v4 .ask-studboards-start-modes button span {
  color: var(--v4-ink) !important;
}

body.stud-v3.v4 .ask-studboards-start-modes button i {
  background: linear-gradient(135deg, var(--v4-lime), var(--v4-cyan)) !important;
  color: var(--v4-lime-ink) !important;
}

body.stud-v3.v4 .ask-studboards-context span,
body.stud-v3.v4 .ask-studboards-facts em,
body.stud-v3.v4 .ask-studboards-match-context em {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: var(--v4-line) !important;
  color: var(--v4-muted) !important;
}

body.stud-v3.v4 .ask-studboards-board-preview a {
  background: var(--v4-card-2) !important;
  border-color: var(--v4-line) !important;
  color: var(--v4-ink) !important;
}

body.stud-v3.v4 .ask-studboards-expanded-row {
  background: var(--v4-card) !important;
  border-color: var(--v4-line) !important;
}

body.stud-v3.v4 .ask-studboards-expanded-row--compact {
  background: var(--v4-card-2) !important;
}

body.stud-v3.v4 .ask-studboards-expanded-media {
  background: linear-gradient(135deg, rgba(200, 245, 63, 0.14), rgba(160, 107, 255, 0.14)) !important;
}

body.stud-v3.v4 .ask-studboards-expanded-media span {
  background: var(--v4-lime) !important;
  color: var(--v4-lime-ink) !important;
}

body.stud-v3.v4 .ask-studboards-producer-media {
  background: linear-gradient(145deg, #0a0e13, #10161e) !important;
}

body.stud-v3.v4 .ask-studboards-producer-media span {
  background: rgba(5, 7, 10, 0.78) !important;
  color: var(--v4-lime) !important;
}

body.stud-v3.v4 .ask-studboards-producer-flow span,
body.stud-v3.v4 .ask-studboards-producer-run span {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: var(--v4-line) !important;
  color: var(--v4-lime) !important;
}

body.stud-v3.v4 .ask-studboards-producer-facts em {
  background: var(--v4-lime-soft) !important;
  color: var(--v4-lime) !important;
  border-color: rgba(200, 245, 63, 0.22) !important;
}

body.stud-v3.v4 .ask-studboards-result-depth-summary {
  background: var(--v4-card) !important;
  color: var(--v4-ink) !important;
  border-color: var(--v4-line) !important;
}

body.stud-v3.v4 .ask-studboards-result-depth-summary:focus-visible,
body.stud-v3.v4 .ask-studboards *:focus-visible {
  outline-color: var(--v4-gold) !important;
}

/* ============================================================
   V4.1 VISUAL POLISH — K3 pass
   Deeper cinematic depth, tighter type, stronger interaction cues.
   Overrides are additive and scoped to body.stud-v3.v4.
   ============================================================ */

body.stud-v3.v4 {
  background:
    radial-gradient(1200px 640px at 16% -12%, rgba(200, 245, 63, 0.08), transparent 60%),
    radial-gradient(1000px 760px at 88% 4%, rgba(160, 107, 255, 0.08), transparent 60%),
    var(--v4-bg) !important;
}

body.stud-v3.v4 .v4-hero--finder {
  background:
    radial-gradient(70% 52% at 86% 16%, rgba(160, 107, 255, 0.18), transparent 66%),
    radial-gradient(64% 50% at 6% 86%, rgba(200, 245, 63, 0.12), transparent 70%),
    linear-gradient(180deg, #06090d 0%, #05070a 100%) !important;
}

body.stud-v3.v4 .v4-hero__glow {
  width: 68vw;
  height: 68vw;
  filter: blur(18px);
  opacity: 0.9;
}

body.stud-v3.v4 .v4-hero--finder h1 {
  font-size: clamp(2.15rem, 4vw, 3.35rem);
  letter-spacing: -0.04em;
  line-height: 1.02;
  text-transform: none;
}

body.stud-v3.v4 .v4-hero--finder .v4-hero__lead {
  font-size: clamp(17px, 1.65vw, 21px);
  line-height: 1.6;
  color: #b9c4cf;
}

body.stud-v3.v4 .v4-find {
  position: relative;
  padding: 16px;
  background: rgba(8, 11, 16, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 32px 88px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(200, 245, 63, 0.06) inset;
}

body.stud-v3.v4 .v4-find::before {
  position: absolute;
  inset: -1px;
  content: "";
  pointer-events: none;
  background: linear-gradient(135deg, rgba(200, 245, 63, 0.24), transparent 38%, transparent 62%, rgba(160, 107, 255, 0.2));
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.35s var(--v4-ease);
  z-index: -1;
}

body.stud-v3.v4 .v4-find:hover::before,
body.stud-v3.v4 .v4-find:focus-within::before {
  opacity: 1;
}

body.stud-v3.v4 .v4-find__row button {
  padding: 16px 30px;
  font-size: 15.5px;
  background: linear-gradient(180deg, #d8ff5a 0%, #c8f53f 100%);
  box-shadow:
    0 10px 30px rgba(200, 245, 63, 0.38),
    0 0 0 1px rgba(255, 255, 255, 0.18) inset;
}

body.stud-v3.v4 .v4-find__row button:hover {
  box-shadow:
    0 14px 40px rgba(200, 245, 63, 0.52),
    0 0 0 1px rgba(255, 255, 255, 0.22) inset;
  transform: translateY(-2px);
}

body.stud-v3.v4 .v4-starts__chips a {
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

body.stud-v3.v4 .v4-starts__chips a:hover {
  background: rgba(200, 245, 63, 0.16);
  border-color: rgba(200, 245, 63, 0.6);
  box-shadow: 0 8px 22px rgba(200, 245, 63, 0.18);
}

body.stud-v3.v4 .v4-kit__card {
  background: linear-gradient(160deg, rgba(16, 22, 30, 0.96), rgba(10, 14, 19, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    0 36px 100px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(200, 245, 63, 0.05) inset;
}

body.stud-v3.v4 .v4-kit__team strong {
  font-size: clamp(2.6rem, 6vw, 3.6rem);
  text-shadow: 0 4px 24px rgba(200, 245, 63, 0.22);
}

body.stud-v3.v4 .v4-kit__steppers button {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

body.stud-v3.v4 .v4-kit__steppers button:hover {
  background: var(--v4-lime);
  color: var(--v4-lime-ink);
  box-shadow: 0 8px 20px rgba(200, 245, 63, 0.3);
}

body.stud-v3.v4 .v4-marquee__track span {
  color: rgba(247, 248, 244, 0.72);
  text-shadow: 0 0 18px rgba(200, 245, 63, 0.12);
}

body.stud-v3.v4 .v4-flow__list li {
  background: linear-gradient(150deg, var(--v4-card-2), var(--v4-card));
  border-color: rgba(255, 255, 255, 0.1);
}

body.stud-v3.v4 .v4-flow__list li:hover {
  border-color: rgba(200, 245, 63, 0.4);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
}

body.stud-v3.v4 .v4-lane-card {
  border-color: rgba(255, 255, 255, 0.14);
}

body.stud-v3.v4 .v4-lane-card:hover {
  border-color: rgba(200, 245, 63, 0.6);
  box-shadow: 0 40px 110px rgba(0, 0, 0, 0.62);
}

body.stud-v3.v4 .v4-lane-card__shade {
  background: linear-gradient(185deg, rgba(5, 7, 10, 0.04) 28%, rgba(5, 7, 10, 0.94) 84%);
}

body.stud-v3.v4 .v4-moment-card,
body.stud-v3.v4 .v4-event-card {
  background: linear-gradient(150deg, var(--v4-card-2), var(--v4-card));
  border-color: rgba(255, 255, 255, 0.1);
}

body.stud-v3.v4 .v4-moment-card:hover,
body.stud-v3.v4 .v4-event-card:hover {
  border-color: rgba(200, 245, 63, 0.48);
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.46);
}

body.stud-v3.v4 .v4-event-card__media::after {
  background: linear-gradient(180deg, transparent 48%, rgba(5, 7, 10, 0.94) 100%);
}

body.stud-v3.v4 .v4-stud__card {
  background:
    radial-gradient(80% 140% at 6% 50%, rgba(244, 191, 70, 0.16), transparent 62%),
    linear-gradient(140deg, #121821, #0c1117);
  border-color: rgba(244, 191, 70, 0.4);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

body.stud-v3.v4 .v4-close {
  background:
    radial-gradient(70% 60% at 50% 100%, rgba(200, 245, 63, 0.1), transparent 70%),
    var(--v4-bg-raise) !important;
}

body.stud-v3.v4 .v4-close h2 {
  font-size: clamp(2.4rem, 6vw, 5.2rem);
  letter-spacing: -0.05em;
  line-height: 0.96;
}

body.stud-v3.v4 .v4-button--primary {
  background: linear-gradient(180deg, #d8ff5a 0%, #c8f53f 100%);
  box-shadow:
    0 12px 34px rgba(200, 245, 63, 0.38),
    0 0 0 1px rgba(255, 255, 255, 0.16) inset;
}

body.stud-v3.v4 .v4-button--primary:hover {
  box-shadow:
    0 16px 44px rgba(200, 245, 63, 0.52),
    0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}

body.stud-v3.v4 .v4-button--ghost {
  border-color: rgba(255, 255, 255, 0.16);
}

body.stud-v3.v4 .v4-button--ghost:hover {
  border-color: rgba(200, 245, 63, 0.5);
  background: rgba(200, 245, 63, 0.08);
}

/* Directory wall cards */
body.stud-v3.v4 .v4-game-card {
  background: linear-gradient(150deg, var(--v4-card-2), var(--v4-card));
  border-color: rgba(255, 255, 255, 0.1);
}

body.stud-v3.v4 .v4-game-card:hover {
  border-color: rgba(200, 245, 63, 0.48);
  box-shadow: 0 26px 64px rgba(0, 0, 0, 0.5);
  transform: translateY(-5px);
}

body.stud-v3.v4 .v4-game-card__media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 55%, rgba(5, 7, 10, 0.72) 100%);
}

body.stud-v3.v4 .v4-game-card__body {
  position: relative;
  z-index: 1;
}

body.stud-v3.v4 .v4-popular-card {
  background: linear-gradient(150deg, var(--v4-card-2), var(--v4-card));
  border-color: rgba(255, 255, 255, 0.1);
}

body.stud-v3.v4 .v4-popular-card:hover {
  border-color: rgba(200, 245, 63, 0.48);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.42);
}

body.stud-v3.v4 .v4-kicker {
  color: var(--v4-lime);
  letter-spacing: 0.22em;
}

body.stud-v3.v4 .v4-section-head h2 {
  font-size: clamp(2rem, 4.8vw, 3.8rem);
  letter-spacing: -0.045em;
  line-height: 0.98;
}

body.stud-v3.v4 .v4-section-head p {
  color: #b9c4cf;
}

@media (max-width: 760px) {
  body.stud-v3.v4 .v4-hero--finder h1 {
    font-size: clamp(1.7rem, 7.6vw, 2.15rem);
    text-transform: none;
  }

  body.stud-v3.v4 .v4-close h2 {
    font-size: clamp(2.1rem, 11vw, 3.4rem);
  }
}

/* ============================================================
   V4.2 NAV CHROME — top bar, floating dock, hamburger menu
   ============================================================ */

body.stud-v3.v4 .site-tabbar {
  background: rgba(8, 11, 16, 0.92) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55) !important;
  backdrop-filter: blur(22px) saturate(1.3) !important;
}

body.stud-v3.v4 .site-tab {
  color: var(--v4-faint) !important;
}

body.stud-v3.v4 .site-tab.active {
  color: var(--v4-lime-ink) !important;
  background: var(--v4-lime) !important;
}

body.stud-v3.v4 .site-tab.active .site-tab-icon {
  color: var(--v4-lime-ink) !important;
  background: rgba(255, 255, 255, 0.16) !important;
}

body.stud-v3.v4 .shell-mobile-nav {
  background: rgba(8, 11, 16, 0.97) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.58) !important;
  backdrop-filter: blur(20px) saturate(1.3) !important;
}

body.stud-v3.v4 .shell-mobile-nav a {
  color: var(--v4-ink) !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

body.stud-v3.v4 .shell-mobile-nav a:hover {
  background: rgba(200, 245, 63, 0.12) !important;
  border-color: rgba(200, 245, 63, 0.4) !important;
}

body.stud-v3.v4 .shell-menu,
body.stud-v3.v4 .shell-menu-static {
  background: rgba(8, 11, 16, 0.9) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.48) !important;
}

body.stud-v3.v4 .shell-menu span,
body.stud-v3.v4 .shell-menu-static span {
  background: var(--v4-ink) !important;
}

/* ============================================================
   V4.4 NAV MODERNIZATION — top bar, floating dock, hamburger
   ============================================================ */

body.stud-v3.v4 .site-header {
  background: rgba(5, 7, 10, 0.78) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45) !important;
  backdrop-filter: blur(24px) saturate(1.4) !important;
}

body.stud-v3.v4 .site-header::after {
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(200, 245, 63, 0.5) 30%,
    rgba(160, 107, 255, 0.4) 70%,
    transparent 100%
  ) !important;
  height: 2px !important;
}

body.stud-v3.v4 .shell-nav-icon:not(.shell-nav-thumb) {
  display: none !important;
}

body.stud-v3.v4 .shell-nav .shell-nav-thumb {
  display: none !important;
}

body.stud-v3.v4 .shell-nav-label {
  font-size: 15px !important;
  font-weight: 850 !important;
  letter-spacing: -0.03em !important;
}

body.stud-v3.v4 .shell-nav-label .brand-stud {
  color: var(--v4-lime) !important;
  font-weight: 900 !important;
}

body.stud-v3.v4 .shell-nav-link {
  padding: 10px 14px !important;
  border-radius: 999px !important;
  transition:
    color 0.25s var(--v4-ease),
    background 0.25s var(--v4-ease),
    box-shadow 0.25s var(--v4-ease) !important;
}

body.stud-v3.v4 .shell-nav-link:hover {
  color: var(--v4-ink) !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

body.stud-v3.v4 .shell-nav-link.active {
  color: var(--v4-ink) !important;
  background: var(--v4-lime-soft) !important;
  box-shadow: inset 0 0 0 1px rgba(200, 245, 63, 0.35) !important;
}

body.stud-v3.v4 .shell-find-command {
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(160, 107, 255, 0.1) inset !important;
}

body.stud-v3.v4 .shell-buy-stud {
  box-shadow:
    0 10px 30px rgba(244, 191, 70, 0.28),
    0 0 0 1px rgba(244, 191, 70, 0.3) inset !important;
}

body.stud-v3.v4 .site-tabbar {
  background: rgba(8, 11, 16, 0.92) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55) !important;
  backdrop-filter: blur(22px) saturate(1.3) !important;
}

body.stud-v3.v4 .site-tab {
  border-radius: 14px !important;
  transition:
    color 0.25s var(--v4-ease),
    background 0.25s var(--v4-ease) !important;
}

body.stud-v3.v4 .site-tab.active {
  color: var(--v4-lime-ink) !important;
  background: var(--v4-lime) !important;
  border-radius: 14px !important;
  box-shadow: 0 10px 24px rgba(200, 245, 63, 0.3) !important;
}

body.stud-v3.v4 .site-tab.active .site-tab-icon {
  color: var(--v4-lime-ink) !important;
  background: rgba(255, 255, 255, 0.16) !important;
}

body.stud-v3.v4 .shell-mobile-nav {
  background: rgba(8, 11, 16, 0.97) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 20px !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.58) !important;
  backdrop-filter: blur(20px) saturate(1.3) !important;
}

body.stud-v3.v4 .shell-mobile-nav a {
  color: var(--v4-ink) !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 14px !important;
}

body.stud-v3.v4 .shell-mobile-nav a:hover {
  background: rgba(200, 245, 63, 0.12) !important;
  border-color: rgba(200, 245, 63, 0.4) !important;
}

/* ============================================================
   V4.3 INTERACTION POLISH — reveals, hover physics, focus
   ============================================================ */

html {
  scroll-behavior: smooth;
}

body.stud-v3.v4 :focus-visible {
  outline: 3px solid rgba(200, 245, 63, 0.72);
  outline-offset: 3px;
}

body.stud-v3.v4 .v4-button:active {
  transform: translateY(0) scale(0.98);
}

body.stud-v3.v4 .v4-lane-card,
body.stud-v3.v4 .v4-moment-card,
body.stud-v3.v4 .v4-event-card,
body.stud-v3.v4 .v4-game-card,
body.stud-v3.v4 .v4-popular-card,
body.stud-v3.v4 .v4-guide-card,
body.stud-v3.v4 .v4-run-card {
  transition:
    transform 0.35s var(--v4-ease),
    border-color 0.35s var(--v4-ease),
    box-shadow 0.35s var(--v4-ease),
    background 0.35s var(--v4-ease);
}

body.stud-v3.v4 .v4-find__row input:focus {
  caret-color: var(--v4-lime);
}

body.stud-v3.v4 .v4-find__row input:focus::placeholder {
  color: rgba(132, 145, 161, 0.6);
}

/* Quick preview drawer */
body.stud-v3.v4 .quick-preview-drawer {
  background: rgba(5, 7, 10, 0.78) !important;
  backdrop-filter: blur(18px) saturate(1.2);
}

body.stud-v3.v4 .quick-preview-panel {
  background: linear-gradient(160deg, #0d131b 0%, #090d12 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.65) !important;
}

body.stud-v3.v4 .quick-preview-head .eyebrow {
  color: var(--v4-lime) !important;
}

body.stud-v3.v4 .quick-preview-head h2 {
  color: var(--v4-ink) !important;
}

body.stud-v3.v4 .quick-preview-close {
  color: var(--v4-ink) !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
}

body.stud-v3.v4 .quick-preview-close:hover {
  background: rgba(200, 245, 63, 0.16) !important;
  border-color: rgba(200, 245, 63, 0.4) !important;
}

body.stud-v3.v4 .quick-preview-thumb {
  border-color: rgba(255, 255, 255, 0.12) !important;
}

body.stud-v3.v4 .quick-preview-facts span,
body.stud-v3.v4 .activity-preview-facts span {
  background: rgba(255, 255, 255, 0.06) !important;
  color: var(--v4-muted) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

body.stud-v3.v4 .quick-preview-kit {
  background: rgba(255, 255, 255, 0.04) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

body.stud-v3.v4 .quick-preview-kit-head h3 {
  color: var(--v4-ink) !important;
}

body.stud-v3.v4 .quick-preview-kit-poster {
  border-color: rgba(255, 255, 255, 0.12) !important;
}

body.stud-v3.v4 .quick-playkit-tabs button {
  color: var(--v4-muted) !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

body.stud-v3.v4 .quick-playkit-tabs button[aria-selected="true"] {
  color: var(--v4-lime-ink) !important;
  background: var(--v4-lime) !important;
  border-color: transparent !important;
}

body.stud-v3.v4 .quick-playkit-pane {
  color: var(--v4-ink) !important;
}

body.stud-v3.v4 .quick-playkit-pane p,
body.stud-v3.v4 .quick-playkit-pane li {
  color: var(--v4-muted) !important;
}

body.stud-v3.v4 .quick-preview-actions a,
body.stud-v3.v4 .quick-preview-actions button {
  border-radius: 999px !important;
}

/* Search suggestions */
body.stud-v3.v4 .site-search-suggestions {
  background: rgba(8, 11, 16, 0.96) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55) !important;
  backdrop-filter: blur(18px) saturate(1.2);
}

body.stud-v3.v4 .site-search-suggestions a,
body.stud-v3.v4 .site-search-suggestions button,
body.stud-v3.v4 .site-search-suggestions strong {
  color: var(--v4-ink) !important;
}

body.stud-v3.v4 .site-search-suggestions a:hover,
body.stud-v3.v4 .site-search-suggestions button:hover {
  background: rgba(200, 245, 63, 0.12) !important;
}

body.stud-v3.v4 .site-search-suggestions small,
body.stud-v3.v4 .site-search-suggestions span {
  color: var(--v4-muted) !important;
}

/* Richer section depth */
body.stud-v3.v4 .v4-flow,
body.stud-v3.v4 .v4-wall,
body.stud-v3.v4 .v4-events,
body.stud-v3.v4 .v4-stud,
body.stud-v3.v4 .v4-close {
  position: relative;
}

body.stud-v3.v4 .v4-flow::before,
body.stud-v3.v4 .v4-wall::before,
body.stud-v3.v4 .v4-events::before,
body.stud-v3.v4 .v4-stud::before,
body.stud-v3.v4 .v4-close::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(600px 300px at 20% 0%, rgba(200, 245, 63, 0.04), transparent 70%),
    radial-gradient(700px 400px at 80% 100%, rgba(160, 107, 255, 0.04), transparent 70%);
}

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

  body.stud-v3.v4 .v4-js [data-v4-reveal] {
    transition: none;
    filter: none;
  }

  body.stud-v3.v4 .v4-lane-card,
  body.stud-v3.v4 .v4-moment-card,
  body.stud-v3.v4 .v4-event-card,
  body.stud-v3.v4 .v4-game-card,
  body.stud-v3.v4 .v4-list__row,
  body.stud-v3.v4 .v4-popular-card,
  body.stud-v3.v4 .v4-guide-card,
  body.stud-v3.v4 .v4-run-card,
  body.stud-v3.v4 .v4-twist-card,
  body.stud-v3.v4 .v4-view__close,
  body.stud-v3.v4 .v4-button {
    transition: none;
  }

  body.stud-v3.v4 .v4-twist-card.is-selected,
  body.stud-v3.v4 .v4-view__close:hover {
    transform: none;
  }
}

/* === WAVE V1 surfaces (W2) === */
/* Journey surfaces for wave SITE-MAJOR-TRANSFORMATION-WAVE-V1: home resume
   strip, Find winner-card structure, wall empty/error states, ready-now
   flagship layer, hero grid texture, and shared mount animation. New classes
   only — no existing rules edited. */

/* --- shared mount animation (JS-gated via .v4-wave-mount; fill backwards so
   post-animation hover transforms keep working) --- */

@keyframes v4-wave-mount {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.v4-wave-mount {
  animation: v4-wave-mount 0.22s var(--v4-ease) backwards;
}

/* --- home resume strip (U7): JS-inserted above the hero demo card --- */

.v4-hero__inner--finder,
.v4-hero__copy,
.v4-hero__stage {
  min-width: 0;
}

.v4-hero__stage {
  width: 100%;
}

.v4-hero__stage > * {
  min-width: 0;
  max-width: 100%;
}

.v4-resume-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(100%, 460px);
  margin-bottom: 14px;
  padding: 10px 16px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--v4-muted);
  background: rgba(200, 245, 63, 0.07);
  border: 1px solid rgba(200, 245, 63, 0.3);
  border-radius: 999px;
}

.v4-resume-strip__dot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  background: var(--v4-lime);
  border-radius: 50%;
}

.v4-resume-strip__copy {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.v4-resume-strip__copy b,
.v4-resume-strip__copy strong {
  font-weight: 800;
  color: var(--v4-ink);
}

.v4-resume-strip__link {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 6px;
  align-items: center;
  font-weight: 800;
  color: var(--v4-lime);
}

.v4-resume-strip__link:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .v4-resume-strip {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    padding: 6px 12px;
    margin-bottom: 8px;
  }

  .v4-resume-strip__link {
    min-height: 44px;
  }
}

/* --- Owner wave 2026-07-29: event banner on walls, saved strip, kit save note --- */

.v4-event-banner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0 0 12px;
  padding: 10px 16px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--v4-muted);
  background: rgba(200, 245, 63, 0.07);
  border: 1px solid rgba(200, 245, 63, 0.3);
  border-radius: 999px;
}

.v4-event-banner__tag {
  font-weight: 800;
  color: var(--v4-lime);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 11px;
}

.v4-event-banner a {
  font-weight: 800;
  color: var(--v4-ink);
}

.v4-event-banner a:hover {
  text-decoration: underline;
}

.v4-saved {
  width: min(100%, 460px);
  margin: 0 0 14px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
}

.v4-saved__title {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 800;
  color: var(--v4-ink);
}

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

.v4-saved__hosted strong {
  color: var(--v4-lime);
}

.v4-saved__note {
  margin: 0 0 10px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--v4-muted);
}

.v4-saved__list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.v4-saved__row {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.v4-saved__link {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  font-size: 13px;
  font-weight: 700;
  color: var(--v4-ink);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.v4-saved__link:hover {
  color: var(--v4-lime);
}

.v4-saved__remove {
  flex: 0 0 auto;
  min-width: 44px;
  min-height: 44px;
  padding: 0 8px;
  font-size: 16px;
  line-height: 1;
  color: var(--v4-muted);
  cursor: pointer;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
}

.v4-saved__remove:hover {
  color: var(--v4-ink);
  border-color: rgba(255, 255, 255, 0.34);
}

.v4-saved__more {
  margin-top: 8px;
}

.v4-kit-hero__save-note {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--v4-muted);
}

/* Night pack run-of-show (owner goal wave 2026-07-30): warm-up → main → closer. */

.v4-runshow {
  padding: 34px 0 10px;
}

.v4-runshow__eyebrow {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--v4-faint);
}

.v4-runshow__heading {
  margin: 0 0 6px;
  font-size: 24px;
  color: var(--v4-ink);
}

.v4-runshow__summary {
  max-width: 640px;
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--v4-muted);
}

.v4-runshow__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.v4-runshow__step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
}

.v4-runshow__step:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 14px;
  right: -13px;
  z-index: 1;
  font-weight: 800;
  color: var(--v4-lime);
}

.v4-runshow__phase {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--v4-faint);
}

.v4-runshow__phase b {
  color: var(--v4-lime);
}

.v4-runshow__time {
  font-size: 12px;
  font-weight: 700;
  color: var(--v4-muted);
}

.v4-runshow__title {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--v4-ink);
}

.v4-runshow__title:hover {
  color: var(--v4-lime);
}

.v4-runshow__note {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--v4-muted);
}

@media (max-width: 768px) {
  .v4-runshow__steps {
    grid-template-columns: 1fr;
  }

  .v4-runshow__step:not(:last-child)::after {
    content: "↓";
    top: auto;
    right: 16px;
    bottom: -13px;
  }
}

@media (max-width: 768px) {
  .v4-event-banner {
    padding: 8px 12px;
    border-radius: 14px;
  }

  .v4-saved {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
  }
}

/* --- Find result cards (U6/V5): why-it-fits label + quick start --- */

.v4-result-card__why {
  margin-bottom: 14px;
}

.v4-result-card__why-label {
  display: block;
  margin-bottom: 8px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--v4-faint);
}

.v4-result-card__why .v4-result-card__chips {
  margin-bottom: 0;
}

.v4-result-card__quickstart {
  margin: -4px 0 14px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--v4-muted);
}

.v4-result-card__quickstart[hidden] {
  display: none;
}

.v4-result-card__quickstart-label {
  margin-right: 8px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--v4-gold);
}

/* --- walls (V2): real empty + error blocks --- */

.v4-wall__empty {
  grid-column: 1 / -1;
  padding: 46px 24px;
  text-align: center;
  background: var(--v4-card);
  border: 1px dashed var(--v4-line-strong);
  border-radius: var(--v4-radius-lg);
}

.v4-wall__empty h3 {
  margin: 0 0 10px;
  font-size: 21px;
  font-weight: 850;
  color: var(--v4-ink);
}

.v4-wall__empty p {
  max-width: 46ch;
  margin: 0 auto 22px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--v4-muted);
}

.v4-wall__load-error {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin: 16px 0;
  padding: 14px 16px;
  color: var(--v4-muted);
  background: rgba(244, 191, 70, 0.08);
  border: 1px solid rgba(244, 191, 70, 0.28);
  border-radius: 16px;
}

.v4-wall__load-error p {
  margin: 0;
}

@media (max-width: 600px) {
  .v4-wall__load-error {
    align-items: stretch;
    flex-direction: column;
  }
}

/* --- hero grid texture (V6): faint lines, radial mask fade --- */

.v4-hero__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.06;
  background-image:
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.8) 0,
      rgba(255, 255, 255, 0.8) 1px,
      transparent 1px,
      transparent 64px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.8) 0,
      rgba(255, 255, 255, 0.8) 1px,
      transparent 1px,
      transparent 64px
    );
  -webkit-mask-image: radial-gradient(
    ellipse 92% 82% at 50% 38%,
    #000 28%,
    transparent 78%
  );
  mask-image: radial-gradient(
    ellipse 92% 82% at 50% 38%,
    #000 28%,
    transparent 78%
  );
}

/* --- Explore "Ready to run now" flagship layer (review-stamped) --- */

.v4-ready {
  padding: 0 0 clamp(64px, 9vh, 110px);
  background: var(--v4-bg);
}

.v4-ready__panel {
  padding: clamp(18px, 3vw, 28px);
  background: linear-gradient(160deg, var(--v4-card-2), var(--v4-card));
  border: 1px solid var(--v4-line);
  border-radius: var(--v4-radius-lg);
}

.v4-ready__panel summary {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  list-style: none;
}

.v4-ready__panel summary::-webkit-details-marker {
  display: none;
}

.v4-ready__head {
  display: grid;
  gap: 4px;
}

.v4-ready__title {
  display: block;
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 850;
  letter-spacing: -0.02em;
  color: var(--v4-ink);
}

.v4-ready__toggle {
  flex: 0 0 auto;
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  color: var(--v4-lime);
  transition: transform 0.25s var(--v4-ease);
}

.v4-ready__panel[open] .v4-ready__toggle {
  transform: rotate(45deg);
}

.v4-ready__sub {
  margin: 12px 0 20px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--v4-muted);
}

.v4-ready__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.v4-ready-card {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px;
  color: inherit;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--v4-line);
  border-radius: 16px;
  transition:
    transform 0.3s var(--v4-ease),
    border-color 0.3s var(--v4-ease),
    background 0.3s var(--v4-ease);
}

.v4-ready-card:hover {
  background: var(--v4-card-2);
  border-color: rgba(200, 245, 63, 0.42);
  transform: translateY(-2px);
}

.v4-ready-card__media {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  overflow: hidden;
  background: var(--v4-bg-raise);
  border-radius: 12px;
}

.v4-ready-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.v4-ready-card__copy {
  min-width: 0;
}

.v4-ready-card__copy small {
  display: block;
  margin-bottom: 2px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--v4-faint);
}

.v4-ready-card__copy strong {
  display: block;
  margin-bottom: 5px;
  overflow: hidden;
  font-size: 14px;
  font-weight: 780;
  line-height: 1.25;
  color: var(--v4-ink);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.v4-ready-card__stamp {
  display: inline-flex;
  padding: 3px 9px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--v4-lime);
  background: var(--v4-lime-soft);
  border: 1px solid rgba(200, 245, 63, 0.3);
  border-radius: 999px;
}

@media (max-width: 1080px) {
  .v4-ready__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .v4-ready__grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .v4-wave-mount {
    animation: none;
  }

  .v4-ready-card,
  .v4-ready__toggle {
    transition: none;
  }

  .v4-ready-card:hover {
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   Per-surface hero signatures (2026-08) — same brand, three moods.
   CSS-only accents; no markup or copy changes.
   -------------------------------------------------------------------------- */

/* Sports directory: kinetic field-line motif. */
.v4-hero--sports::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(200, 245, 63, 0.05) 0 2px,
      transparent 2px 96px
    ),
    linear-gradient(115deg, transparent 55%, rgba(69, 219, 247, 0.08) 55.2%, transparent 78%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 72%);
}

/* Group Games directory: playful confetti scatter. */
.v4-hero--boards:not(.v4-hero--sports)::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(6px 6px at 12% 30%, rgba(200, 245, 63, 0.3), transparent 70%),
    radial-gradient(5px 5px at 82% 18%, rgba(244, 191, 70, 0.32), transparent 70%),
    radial-gradient(4px 4px at 68% 62%, rgba(69, 219, 247, 0.3), transparent 70%),
    radial-gradient(5px 5px at 30% 74%, rgba(160, 107, 255, 0.3), transparent 70%),
    radial-gradient(4px 4px at 46% 22%, rgba(200, 245, 63, 0.22), transparent 70%),
    radial-gradient(6px 6px at 92% 52%, rgba(244, 191, 70, 0.24), transparent 70%),
    radial-gradient(4px 4px at 22% 56%, rgba(69, 219, 247, 0.22), transparent 70%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.95), transparent 78%);
}

.v4-hero--sports::after,
.v4-hero--boards::after {
  z-index: 0;
}

.v4-hero--sports .v4-hero__inner--explore,
.v4-hero--boards .v4-hero__inner--explore {
  position: relative;
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  .v4-hero--sports::after,
  .v4-hero--boards::after {
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.6), transparent 70%);
  }
}

/* --------------------------------------------------------------------------
   Guided picker (find-a-game) — three tap rows composing one engine query.
   -------------------------------------------------------------------------- */
.v4-guide-pick {
  display: grid;
  gap: 12px;
  max-width: 640px;
  margin-top: 26px;
}

.v4-guide-pick__row {
  display: grid;
  grid-template-columns: 108px 1fr;
  align-items: center;
  gap: 10px;
}

.v4-guide-pick__q {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--v4-faint);
}

.v4-guide-pick__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.v4-guide-pick__chips button {
  min-height: 42px;
  padding: 8px 16px;
  font: inherit;
  font-size: 13.5px;
  font-weight: 750;
  color: var(--v4-muted);
  cursor: pointer;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--v4-line);
  border-radius: 999px;
  transition:
    color 0.2s var(--v4-ease),
    border-color 0.2s var(--v4-ease),
    background 0.2s var(--v4-ease);
}

.v4-guide-pick__chips button.is-active {
  color: var(--v4-lime-ink);
  background: var(--v4-lime);
  border-color: transparent;
}

.v4-guide-pick__go {
  justify-self: start;
  min-height: 50px;
  padding: 12px 26px;
  font: inherit;
  font-size: 15px;
  font-weight: 850;
  color: var(--v4-lime-ink);
  cursor: pointer;
  background: var(--v4-lime);
  border: 0;
  border-radius: 999px;
}

.v4-guide-pick__go:disabled {
  cursor: not-allowed;
  opacity: 0.4;
}

@media (max-width: 640px) {
  .v4-guide-pick__row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

/* --------------------------------------------------------------------------
   "Use your own AI" standout link under the finder search bars, plus the
   sitewide motion pack (all motion gated behind prefers-reduced-motion).
   -------------------------------------------------------------------------- */
.v4-find__ai {
  margin: 12px 0 0;
}

.v4-find__ai-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  min-height: 46px;
  padding: 9px 16px;
  font-size: 13.5px;
  line-height: 1.35;
  color: var(--v4-muted);
  text-decoration: none;
  background: rgba(10, 13, 18, 0.72);
  border-radius: 999px;
  isolation: isolate;
}

.v4-find__ai-link::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  border-radius: inherit;
  background: conic-gradient(
    from var(--v4-ai-angle, 0deg),
    rgba(200, 245, 63, 0.9),
    rgba(69, 219, 247, 0.55),
    rgba(244, 191, 70, 0.85),
    rgba(200, 245, 63, 0.9)
  );
}

.v4-find__ai-link::after {
  content: "";
  position: absolute;
  inset: 1.5px;
  z-index: -1;
  border-radius: inherit;
  background: rgba(8, 11, 15, 0.94);
}

.v4-find__ai-link strong {
  color: var(--v4-lime);
  font-weight: 850;
}

.v4-find__ai-spark {
  flex: 0 0 auto;
  font-size: 15px;
  color: var(--v4-gold);
}

.v4-find__ai-arrow {
  flex: 0 0 auto;
  font-weight: 900;
  color: var(--v4-lime);
}

.v4-find__ai-link:hover strong,
.v4-find__ai-link:focus-visible strong {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@property --v4-ai-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

@keyframes v4-ai-angle-spin {
  to {
    --v4-ai-angle: 360deg;
  }
}

@keyframes v4-hero-glow-drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(-4%, 3%, 0) scale(1.08);
  }
}

@keyframes v4-cta-sheen {
  0%,
  55% {
    transform: translateX(-140%) skewX(-18deg);
  }
  100% {
    transform: translateX(260%) skewX(-18deg);
  }
}

.v4-hero .v4-button--primary,
.v4-find__row button[type="submit"] {
  position: relative;
  overflow: hidden;
}

.v4-hero .v4-button--primary::after,
.v4-find__row button[type="submit"]::after {
  content: "";
  position: absolute;
  top: -20%;
  bottom: -20%;
  width: 34%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: translateX(-140%) skewX(-18deg);
}

@media (prefers-reduced-motion: no-preference) {
  .v4-find__ai-link::before {
    animation: v4-ai-angle-spin 7s linear infinite;
  }

  .v4-hero__glow {
    animation: v4-hero-glow-drift 18s ease-in-out infinite;
  }

  .v4-hero .v4-button--primary::after,
  .v4-find__row button[type="submit"]::after {
    animation: v4-cta-sheen 4.6s ease-in-out infinite;
  }
}

/* --------------------------------------------------------------------------
   Cross-document view transitions (AHEAD-OF-CURVE-WAVE-V1): a quick, subtle
   fade/rise between pages on supporting browsers; instant cut under
   prefers-reduced-motion.
   -------------------------------------------------------------------------- */
@view-transition {
  navigation: auto;
}

@keyframes v4-vt-out {
  to {
    opacity: 0;
    transform: translateY(-6px);
  }
}

@keyframes v4-vt-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

::view-transition-old(root) {
  animation: v4-vt-out 0.2s ease both;
}

::view-transition-new(root) {
  animation: v4-vt-in 0.26s ease both;
}

@media (prefers-reduced-motion: reduce) {
  @view-transition {
    navigation: none;
  }
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation: none;
  }
}

/* --------------------------------------------------------------------------
   Swipe deck on find-a-game (AHEAD-OF-CURVE-WAVE-V1): flickable card stack
   for bored browsing. Pointer-driven; reduced-motion swaps instantly.
   -------------------------------------------------------------------------- */
.v4-deck {
  padding: clamp(28px, 5vh, 56px) 0;
}

.v4-deck__stage {
  max-width: 420px;
  margin: 0 auto;
}

.v4-deck__stack {
  position: relative;
  height: 460px;
}

.v4-deck__card {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: linear-gradient(150deg, var(--v4-card-2), var(--v4-card));
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
  transform: translateY(calc(var(--deck-depth) * 10px)) scale(calc(1 - var(--deck-depth) * 0.045));
  transform-origin: center bottom;
  touch-action: pan-y;
  user-select: none;
  cursor: grab;
}

.v4-deck__card:nth-child(n + 4) {
  visibility: hidden;
}

.v4-deck__card.is-dragging {
  cursor: grabbing;
  transition: none;
  z-index: 5;
}

.v4-deck__card:not(.is-dragging) {
  transition: transform 0.28s var(--v4-ease), opacity 0.24s ease;
}

.v4-deck__card.is-pass {
  transform: translateX(-130%) rotate(-14deg) !important;
  opacity: 0;
}

.v4-deck__card.is-keep {
  transform: translateX(130%) rotate(14deg) !important;
  opacity: 0;
}

.v4-deck__media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
}

.v4-deck__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.v4-deck__body {
  display: grid;
  gap: 6px;
  padding: 16px 18px 18px;
}

.v4-deck__body small {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--v4-lime);
}

.v4-deck__body strong {
  font-size: 19px;
  font-weight: 880;
  line-height: 1.2;
  color: var(--v4-ink);
}

.v4-deck__summary {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--v4-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.v4-deck__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  max-width: 420px;
  margin: 14px auto 0;
}

.v4-deck__actions .v4-button {
  min-height: 54px;
}

.v4-deck__empty {
  padding: 28px 20px;
  text-align: center;
  color: var(--v4-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: 18px;
}

.v4-deck__empty button {
  margin-left: 6px;
  font: inherit;
  font-weight: 800;
  color: var(--v4-lime);
  background: none;
  border: 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .v4-deck__card {
    transition: none;
  }
}

/* Empty-state mark (no-match results) — AHEAD-OF-CURVE-WAVE-V1. */
.v4-nomatch {
  text-align: center;
  padding: clamp(26px, 5vw, 44px) clamp(18px, 4vw, 32px);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018));
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 22px;
}

.v4-nomatch h3 {
  margin: 0 0 8px;
}

.v4-nomatch__links {
  justify-content: center;
}

/* Catalog/static contract: active timer presets stay lime; inactive stay unstyled. */
body.stud-v3.v4 .quick-playkit-controls button,
body.stud-v3.v4 .quick-playkit-presets button[aria-pressed=true],
body.stud-v3.v4 .quick-playkit-console-actions button,
body.stud-v3.v4 .quick-playkit-twist-control button {
  color: var(--v4-lime-ink) !important;
  background: var(--v4-lime) !important;
  border: 0 !important;
}
