/* ============================================================================
   HUSS — "In This Town, Everybody Goes Out Partying Except Me"
   Palette directly sampled from @larpniverse Roblox clip:
     Midnight Sky: #0c1630 / #132344 / #1b325e
     Full Moon:    #ffffff
     Hoodie Blue:  #0e3fa3 / #1652cc
     Mustard Gold: #eab308 / #f2c94c
     Basketball:   #c97b1e / #9e7324
     Hoop Rim Red: #8f1d1d
     Party Glow:   #d99bff / #fde047 / #7dd3fc
   ============================================================================ */

:root {
  --sky-deep: #0b142c;
  --sky-mid: #132344;
  --sky-horizon: #1b325e;
  --cobalt: #0e3fa3;
  --cobalt-bright: #1b5ce0;
  --gold: #eab308;
  --gold-soft: #fde047;
  --ball: #d97706;
  --ball-deep: #9a4a08;
  --rim-red: #b91c1c;
  --party-pink: #f472b6;
  --party-violet: #d99bff;
  --party-cyan: #7dd3fc;
  --lawn: #1a2e1a;
  --surface: rgba(15, 25, 50, 0.84);
  --surface-strong: rgba(12, 20, 42, 0.94);
  --border: rgba(234, 179, 8, 0.22);
  --border-subtle: rgba(148, 163, 184, 0.18);
  --text: #f8fafc;
  --text-muted: #94a3b8;
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-serif: "Fraunces", Georgia, serif;
  --font-body: "Space Grotesk", system-ui, sans-serif;
  --radius-block: 14px;
  --shadow-block: 0 10px 30px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background: var(--sky-deep);
  color: var(--text);
  font-family: var(--font-body);
  overflow-x: hidden;
  transition: filter 0.14s ease;
}

/* Monochrome "HUSS!" Flash Mode — signature viral edit beat-drop aesthetic */
body.monochrome-mode {
  filter: grayscale(1) contrast(1.32);
}

body.monochrome-pulse {
  filter: grayscale(1) contrast(1.6) brightness(1.12);
}

/* ============================================================================
   NIGHT SKY & ROBLOX SUBURBAN BACKDROP
   ============================================================================ */

.night-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(180deg, #091126 0%, #132344 55%, #1c3563 100%);
  overflow: hidden;
}

.stars-layer {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 14%, rgba(255, 255, 255, 0.85), transparent),
    radial-gradient(1.5px 1.5px at 26% 8%, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(2px 2px at 42% 18%, rgba(255, 255, 255, 0.9), transparent),
    radial-gradient(1px 1px at 65% 11%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1.5px 1.5px at 78% 22%, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(1.5px 1.5px at 88% 9%, rgba(255, 255, 255, 0.65), transparent),
    radial-gradient(1px 1px at 19% 33%, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(1.5px 1.5px at 54% 29%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 92% 35%, rgba(255, 255, 255, 0.55), transparent),
    radial-gradient(1.5px 1.5px at 33% 42%, rgba(255, 255, 255, 0.45), transparent);
  opacity: 0.9;
}

.full-moon {
  position: absolute;
  top: 76px;
  right: max(18px, calc(50% - 250px));
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #ffffff;
  opacity: 0.85;
  box-shadow:
    0 0 22px rgba(255, 255, 255, 0.8),
    0 0 60px rgba(191, 219, 254, 0.35);
}

.horizon-hills {
  position: absolute;
  bottom: 0;
  left: -10%;
  right: -10%;
  height: 150px;
  background:
    radial-gradient(ellipse 45% 95% at 25% 100%, #172b17 65%, transparent 66%),
    radial-gradient(ellipse 50% 110% at 72% 100%, #1d351d 65%, transparent 66%);
  opacity: 0.7;
}

.suburban-skyline {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(760px, 100%);
  height: 120px;
  opacity: 0.55;
}

.party-house {
  position: absolute;
  left: 18px;
  bottom: 10px;
  width: 78px;
}

.house-roof {
  width: 0;
  height: 0;
  border-left: 44px solid transparent;
  border-right: 44px solid transparent;
  border-bottom: 26px solid #1e1b2e;
  margin-left: -5px;
}

.house-body {
  position: relative;
  height: 46px;
  background: #27223a;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 6px;
}

.party-window {
  width: 18px;
  height: 20px;
  background: var(--gold-soft);
  box-shadow: 0 0 14px rgba(253, 224, 71, 0.8);
}

.balloons {
  position: absolute;
  right: -16px;
  top: -12px;
  display: flex;
  gap: 2px;
}

.balloon {
  width: 9px;
  height: 11px;
  border-radius: 50%;
}
.b1 { background: var(--party-pink); }
.b2 { background: var(--party-cyan); margin-top: -5px; }
.b3 { background: var(--gold-soft); }

.hoop-silhouette {
  position: absolute;
  right: 26px;
  bottom: 8px;
  width: 48px;
  height: 92px;
}

.hoop-backboard {
  width: 44px;
  height: 30px;
  background: rgba(226, 232, 240, 0.85);
  border: 2px solid #cbd5e1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 4px;
}

.hoop-shooter-box {
  width: 16px;
  height: 12px;
  border: 2px solid var(--rim-red);
}

.hoop-rim {
  width: 18px;
  height: 3px;
  background: var(--rim-red);
  margin: -2px auto 0;
}

.hoop-pole {
  width: 5px;
  height: 62px;
  background: #0f172a;
  margin: 0 auto;
}

/* ============================================================================
   MONOCHROME CAPCUT "HUSS!" FLASH OVERLAY
   ============================================================================ */

.huss-flash-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.huss-flash-caption {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.4rem, 15vw, 6.2rem);
  letter-spacing: -0.03em;
  color: #ffffff;
  text-transform: uppercase;
  -webkit-text-stroke: 4px #000000;
  text-shadow: 0 8px 0 #000000, 0 14px 36px rgba(0, 0, 0, 0.85);
  animation: captionPunch 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes captionPunch {
  0% { transform: scale(0.6) rotate(-4deg); opacity: 0.2; }
  65% { transform: scale(1.14) rotate(2deg); opacity: 1; }
  100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

/* ============================================================================
   LAYOUT & HEADER
   ============================================================================ */

.app-shell {
  position: relative;
  z-index: 2;
  max-width: 540px;
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 14px 14px 28px;
}

.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 2px 14px;
}

.brand-logo {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  text-decoration: none;
  color: var(--text);
  white-space: nowrap;
  flex-shrink: 0;
}

.brand-star {
  color: var(--gold);
  font-size: 1.25rem;
  text-shadow: 0 0 12px rgba(234, 179, 8, 0.7);
}

.brand-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.06rem, 4.4vw, 1.36rem);
  letter-spacing: -0.02em;
}

.brand-sub {
  font-family: var(--font-serif);
  font-size: 0.78rem;
  color: var(--gold);
  font-weight: 700;
}

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

.profile-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(14, 63, 163, 0.42);
  border: 1.5px solid rgba(234, 179, 8, 0.45);
  color: var(--text);
  padding: 6px 10px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}

.profile-dot {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  display: inline-block;
  border: 1px solid var(--gold);
}

.ghost-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 6px 10px;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}

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

.app-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ============================================================================
   CARDS & BLOCKY ROBLOX-INSPIRED UI COMPONENTS
   ============================================================================ */

.card {
  background: var(--surface);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-block);
  padding: 18px;
  box-shadow: var(--shadow-block);
  backdrop-filter: blur(10px);
}

.card-hero {
  background: linear-gradient(165deg, rgba(14, 63, 163, 0.34), rgba(11, 20, 44, 0.92));
  border: 2px solid rgba(234, 179, 8, 0.38);
  padding: 15px 18px;
  position: relative;
  overflow: hidden;
}

.multiplayer-cta {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-block);
  background: linear-gradient(135deg, rgba(14, 63, 163, 0.55), rgba(19, 35, 68, 0.92));
  border: 1.5px solid rgba(234, 179, 8, 0.52);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  font-family: var(--font-body);
  transition: transform 0.12s ease, border-color 0.15s ease, background 0.15s ease;
}

.multiplayer-cta:hover {
  transform: translateY(-1px);
  border-color: var(--gold-soft);
  background: linear-gradient(135deg, rgba(21, 79, 201, 0.68), rgba(19, 35, 68, 0.96));
}

.multiplayer-cta:active {
  transform: translateY(1px);
}

.multiplayer-cta-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.multiplayer-cta-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: rgba(234, 179, 8, 0.16);
  border: 1px solid rgba(234, 179, 8, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.multiplayer-cta-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.02rem;
  line-height: 1.2;
}

.multiplayer-cta-sub {
  font-size: 0.78rem;
  color: #cbd5e1;
  margin-top: 2px;
}

.multiplayer-cta-pill {
  background: var(--gold);
  color: #0b142c;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.82rem;
  padding: 7px 12px;
  border-radius: 10px;
  white-space: nowrap;
  flex-shrink: 0;
}

.page-back-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.inapp-mic-banner,
.mic-help-box {
  width: 100%;
  background: rgba(234, 179, 8, 0.12);
  border: 1.5px solid rgba(234, 179, 8, 0.55);
  border-radius: 12px;
  padding: 10px 12px;
  text-align: left;
  font-size: 0.8rem;
  line-height: 1.4;
  color: #fef3c7;
}

.inapp-mic-banner {
  margin-bottom: 10px;
}

.mic-help-box {
  margin-top: 8px;
  background: rgba(220, 38, 38, 0.14);
  border-color: rgba(248, 113, 113, 0.6);
  color: #fee2e2;
}

.mic-help-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-weight: 800;
  font-family: var(--font-display);
  margin-bottom: 4px;
}

.mic-help-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 122px;
  gap: 12px;
  align-items: center;
}

.meme-quote {
  font-family: var(--font-serif);
  font-size: 0.92rem;
  color: var(--gold);
  margin: 0 0 6px;
  font-weight: 700;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.65rem, 6vw, 2.15rem);
  line-height: 1.05;
  margin: 0 0 8px;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  margin: 0;
  color: #cbd5e1;
  font-size: 0.9rem;
  line-height: 1.4;
}

.capcut-pill {
  display: inline-block;
  margin-top: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: #ffffff;
  background: #000000;
  border: 1.5px solid #ffffff;
  padding: 4px 10px;
  border-radius: 8px;
}

.avatar-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.roblox-svg {
  width: 118px;
  height: 132px;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.55));
}

.roblox-svg.dribbling {
  animation: dribbleBounce 0.28s infinite alternate ease-in-out;
}

@keyframes dribbleBounce {
  from { transform: translateY(0) scaleY(1); }
  to { transform: translateY(-7px) scaleY(1.03); }
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.12rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  white-space: nowrap;
  flex-shrink: 0;
}

.badge-gold {
  background: rgba(234, 179, 8, 0.18);
  color: var(--gold-soft);
  border-color: rgba(234, 179, 8, 0.45);
}

.badge-party {
  background: rgba(244, 114, 182, 0.16);
  color: #fbcfe8;
  border-color: rgba(244, 114, 182, 0.42);
}

/* ============================================================================
   FORMS & BUTTONS
   ============================================================================ */

.form-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.field-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #cbd5e1;
  margin-bottom: 6px;
}

.text-input {
  width: 100%;
  background: rgba(7, 13, 28, 0.85);
  border: 1.5px solid rgba(148, 163, 184, 0.3);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 600;
  outline: none;
}

.text-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(234, 179, 8, 0.18);
}

.beanie-picker {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}

.beanie-swatch {
  height: 38px;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: transform 0.12s ease;
}

.beanie-swatch.selected {
  border-color: #ffffff;
  transform: scale(1.07);
  box-shadow: 0 0 0 3px rgba(234, 179, 8, 0.45);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.1s ease, filter 0.15s ease;
  text-decoration: none;
}

.btn:active {
  transform: translateY(2px) scale(0.99);
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.btn-primary {
  background: linear-gradient(180deg, #1d5ee6 0%, #0e3fa3 100%);
  color: #ffffff;
  border: 2px solid var(--gold);
  box-shadow: 0 5px 0 #08245e;
}

.btn-gold {
  background: linear-gradient(180deg, #facc15 0%, #d97706 100%);
  color: #0b142c;
  box-shadow: 0 5px 0 #78350f;
}

.btn-record {
  background: linear-gradient(180deg, #ef4444 0%, #b91c1c 100%);
  color: #ffffff;
  border: 2px solid #ffffff;
  box-shadow: 0 5px 0 #5f0f0f;
  font-size: 1.08rem;
  padding: 16px;
}

.btn-record.recording {
  background: #ffffff;
  color: #000000;
  border-color: #000000;
  box-shadow: 0 5px 0 #000000;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
}

.btn-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* ============================================================================
   RECORDER & LIVE WAVEFORM
   ============================================================================ */

.recorder-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
}

.waveform-canvas {
  width: 100%;
  height: 74px;
  background: rgba(5, 10, 22, 0.85);
  border: 1.5px solid rgba(234, 179, 8, 0.3);
  border-radius: 12px;
}

.timer-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 700;
  color: #cbd5e1;
}

.timer-progress-track {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.timer-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), #ef4444);
  transition: width 0.06s linear;
}

.recording-tip {
  margin: 0;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.mic-bar {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mic-label {
  flex: 1;
  min-width: 0;
  color: #94a3b8;
  font-size: 0.76rem;
  font-weight: 600;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.level-meter {
  width: 58px;
  height: 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  overflow: hidden;
  flex-shrink: 0;
}

.level-meter-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #22c55e, #eab308, #ef4444);
  transition: width 0.05s linear;
}

/* ============================================================================
   SCORE REVEAL & DSP BREAKDOWN
   ============================================================================ */

.score-card {
  background: linear-gradient(160deg, rgba(14, 63, 163, 0.45), rgba(8, 13, 28, 0.96));
  border: 2px solid var(--gold);
  border-radius: 14px;
  padding: 16px;
  text-align: center;
}

.score-big {
  font-family: var(--font-display);
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1;
  color: var(--gold-soft);
  text-shadow: 0 4px 0 rgba(0, 0, 0, 0.7);
}

.score-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  margin: 6px 0 4px;
}

.score-roast {
  margin: 0 0 14px;
  font-size: 0.88rem;
  color: #cbd5e1;
}

.breakdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  text-align: left;
  margin-bottom: 12px;
}

.metric-box {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 8px 10px;
}

.metric-top {
  display: flex;
  justify-content: space-between;
  font-size: 0.74rem;
  font-weight: 700;
  color: #cbd5e1;
  margin-bottom: 5px;
}

.metric-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  overflow: hidden;
}

.metric-bar > div {
  height: 100%;
  background: var(--gold);
  border-radius: 999px;
}

/* ============================================================================
   TOWN HEADER & LEADERBOARD
   ============================================================================ */

.town-banner {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.town-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.town-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.1;
}

.invite-bar {
  display: flex;
  gap: 8px;
  align-items: center;
  background: rgba(7, 13, 28, 0.72);
  border: 1.5px dashed rgba(234, 179, 8, 0.5);
  border-radius: 10px;
  padding: 8px 10px;
}

.invite-url {
  flex: 1;
  font-size: 0.82rem;
  color: var(--gold-soft);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
}

.mini-btn {
  background: var(--cobalt-bright);
  color: #ffffff;
  border: 1px solid var(--gold);
  border-radius: 8px;
  padding: 6px 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  cursor: pointer;
  white-space: nowrap;
}

.leaderboard-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lb-row {
  background: rgba(8, 14, 32, 0.84);
  border: 1.5px solid rgba(148, 163, 184, 0.2);
  border-radius: 13px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lb-row.rank-1 {
  border-color: var(--gold);
  background: linear-gradient(150deg, rgba(234, 179, 8, 0.16), rgba(8, 14, 32, 0.92));
}

.lb-row.is-me {
  box-shadow: 0 0 0 2px rgba(27, 92, 224, 0.6);
}

.lb-row.locked {
  position: relative;
}

.lb-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rank-medal {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.rank-1 .rank-medal { background: var(--gold); color: #0b142c; }
.rank-2 .rank-medal { background: #cbd5e1; color: #0b142c; }
.rank-3 .rank-medal { background: #d97706; color: #ffffff; }

.lb-avatar-mini {
  width: 38px;
  height: 42px;
  flex-shrink: 0;
}

.lb-identity {
  flex: 1;
  min-width: 0;
}

.lb-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.lb-title {
  font-size: 0.78rem;
  color: var(--gold-soft);
  font-weight: 600;
}

.lb-score-col {
  text-align: right;
  flex-shrink: 0;
}

.lb-score {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.45rem;
  color: #ffffff;
  line-height: 1;
}

.lb-score.blurred {
  filter: blur(7px);
  user-select: none;
}

.lb-cos {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* Inline Audio Player with 48-bar Waveform */
.audio-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 8px 10px;
}

.play-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1.5px solid var(--gold);
  background: var(--cobalt);
  color: #ffffff;
  font-size: 0.95rem;
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-btn.playing {
  background: #ffffff;
  color: #000000;
  border-color: #000000;
}

.wave-bars {
  flex: 1;
  height: 30px;
  display: flex;
  align-items: center;
  gap: 2px;
}

.wave-bar {
  flex: 1;
  background: rgba(148, 163, 184, 0.45);
  border-radius: 2px;
  min-height: 4px;
  transition: background 0.1s ease;
}

.wave-bar.active {
  background: var(--gold);
}

.lb-roast {
  margin: 0;
  font-size: 0.8rem;
  color: #cbd5e1;
}

.reaction-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  flex-wrap: wrap;
}

.reaction-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.react-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text);
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.react-btn.reacted {
  background: rgba(234, 179, 8, 0.22);
  border-color: var(--gold);
  color: var(--gold-soft);
}

/* ============================================================================
   "OUT PARTYING" SHAME BOARD & MY TOWNS
   ============================================================================ */

.party-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.party-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: rgba(244, 114, 182, 0.08);
  border: 1px solid rgba(244, 114, 182, 0.25);
  border-radius: 10px;
  padding: 9px 12px;
}

.party-name {
  font-weight: 700;
  font-size: 0.92rem;
}

.party-excuse {
  font-size: 0.76rem;
  color: #fbcfe8;
}

.town-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.town-link-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: rgba(8, 14, 32, 0.75);
  border: 1.5px solid rgba(148, 163, 184, 0.2);
  border-radius: 12px;
  padding: 12px 14px;
  text-decoration: none;
  color: var(--text);
}

.town-link-row:hover {
  border-color: var(--gold);
}

/* ============================================================================
   AD SLOTS (FEATURE-FLAGGED)
   ============================================================================ */

.ad-slot {
  margin-top: 16px;
}

.ad-slot-inner {
  background: rgba(7, 13, 28, 0.82);
  border: 1px dashed rgba(148, 163, 184, 0.35);
  border-radius: 12px;
  padding: 10px;
  text-align: center;
  position: relative;
}

.ad-badge {
  position: absolute;
  top: 4px;
  right: 6px;
  z-index: 2;
  pointer-events: none;
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--text-muted);
  background: rgba(7, 13, 28, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 4px;
  padding: 1px 4px;
}

.ad-mount {
  min-height: 54px;
  max-width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.82rem;
}

/* ============================================================================
   MODAL, TOAST & FOOTER
   ============================================================================ */

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(4, 8, 20, 0.78);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-card {
  width: 100%;
  max-width: 420px;
  background: var(--surface-strong);
  border: 2px solid var(--gold);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65);
}

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

.modal-header h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
}

.icon-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.15rem;
  cursor: pointer;
}

.recovery-box {
  background: rgba(0, 0, 0, 0.5);
  border: 1.5px solid var(--gold);
  border-radius: 10px;
  padding: 10px;
  text-align: center;
  font-family: monospace;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold-soft);
  letter-spacing: 0.08em;
}

.toast {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 120;
  background: #000000;
  color: #ffffff;
  border: 2px solid var(--gold);
  padding: 10px 16px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  white-space: nowrap;
}

.app-footer {
  margin-top: 22px;
  padding-bottom: 72px;
  text-align: center;
  color: var(--text-muted);
}

.footer-lore {
  margin: 0 0 4px;
  font-family: var(--font-serif);
  color: rgba(234, 179, 8, 0.78);
  font-size: 0.84rem;
}

.footer-meta {
  margin: 0;
  font-size: 0.74rem;
}

.footer-links {
  margin: 8px 0 0;
  font-size: 0.76rem;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.footer-links a {
  color: #93c5fd;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.loading-state {
  text-align: center;
  padding: 46px 16px;
  color: var(--text-muted);
}

.bounce-ball {
  font-size: 2.5rem;
  animation: dribbleBounce 0.35s infinite alternate;
}

.hidden {
  display: none !important;
}

@media (max-width: 460px) {
  .brand-sub {
    display: none;
  }
}

@media (max-width: 420px) {
  .hero-grid {
    grid-template-columns: 1fr 98px;
  }
  .roblox-svg {
    width: 96px;
    height: 110px;
  }
}

/* ============================================================================
   SCORE CARD IMAGE PREVIEW MODAL
   ============================================================================ */

.share-preview {
  display: flex;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 12px;
  padding: 10px;
}

.share-preview-img {
  display: block;
  height: min(58vh, 520px);
  width: auto;
  max-width: 100%;
  border-radius: 10px;
  border: 1.5px solid rgba(234, 179, 8, 0.45);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.modal-card {
  max-height: calc(100vh - 32px);
  overflow-y: auto;
}

/* ============================================================================
   5-TIER SCORE CARD THEMES (<50, 50-75, 75-90, 90-95, 95-100)
   ============================================================================ */

.score-card {
  position: relative;
  overflow: hidden;
}

.score-tier-banner {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

/* < 50: Caught Partying — muted ash charcoal + dashed border */
.score-card.tier-party {
  background: linear-gradient(160deg, #292524 0%, #1c1917 100%);
  border: 2px dashed #78716c;
}
.score-card.tier-party .score-tier-banner {
  background: rgba(120, 113, 108, 0.28);
  color: #d6d3d1;
}
.score-card.tier-party .score-big {
  font-family: var(--font-serif);
  color: #d6d3d1;
}
.score-card.tier-party .metric-bar > div {
  background: #a8a29e;
}

/* 50 - 74.9: Street Court — classic cobalt & gold */
.score-card.tier-court {
  background: linear-gradient(160deg, rgba(14, 63, 163, 0.65), rgba(8, 13, 28, 0.96));
  border: 2px solid var(--gold);
}
.score-card.tier-court .score-tier-banner {
  background: rgba(234, 179, 8, 0.2);
  color: var(--gold-soft);
}

/* 75 - 89.9: All-Star Grind — metallic gold + radial glow + serif punch */
.score-card.tier-gold {
  background:
    radial-gradient(circle at 50% 25%, rgba(250, 204, 21, 0.32), transparent 62%),
    linear-gradient(160deg, #713f12 0%, #1e1b4b 58%, #0c1026 100%);
  border: 2.5px solid #fde047;
  box-shadow: 0 0 28px rgba(250, 204, 21, 0.3), inset 0 0 18px rgba(253, 224, 71, 0.12);
}
.score-card.tier-gold .score-tier-banner {
  background: linear-gradient(90deg, #facc15, #f59e0b);
  color: #1c1917;
}
.score-card.tier-gold .score-big {
  font-family: var(--font-serif);
  color: #fef08a;
  text-shadow: 0 0 24px rgba(250, 204, 21, 0.75), 0 4px 0 #451a03;
}
.score-card.tier-gold .metric-bar > div {
  background: linear-gradient(90deg, #facc15, #fef08a);
}

/* 90 - 94.9: Lone Wolf Elite — blazing violet-crimson foil + italic heavy impact */
.score-card.tier-mythic {
  background:
    repeating-conic-gradient(from 0deg at 50% 28%, rgba(244, 114, 182, 0.09) 0deg 10deg, transparent 10deg 20deg),
    linear-gradient(155deg, #581c87 0%, #9d174d 48%, #0f172a 100%);
  border: 2.5px solid #f472b6;
  box-shadow: 0 0 34px rgba(244, 114, 182, 0.42), 0 0 12px rgba(250, 204, 21, 0.3);
}
.score-card.tier-mythic .score-tier-banner {
  background: linear-gradient(90deg, #ec4899, #facc15);
  color: #18041c;
}
.score-card.tier-mythic .score-big {
  font-style: italic;
  font-size: 3.7rem;
  color: #ffffff;
  text-shadow: 0 0 26px rgba(244, 114, 182, 0.9), 0 5px 0 #4c0519;
}
.score-card.tier-mythic .metric-bar > div {
  background: linear-gradient(90deg, #f472b6, #fde047);
}

/* 95 - 100: GOD-TIER HUSS — high-contrast noir + phonk speed lines + prismatic gold foil */
@keyframes godGlow {
  0%, 100% { box-shadow: 0 0 32px rgba(253, 224, 71, 0.65), 0 0 14px rgba(255, 255, 255, 0.55); }
  50% { box-shadow: 0 0 46px rgba(244, 114, 182, 0.65), 0 0 24px rgba(56, 189, 248, 0.6); }
}

.score-card.tier-god {
  background:
    repeating-conic-gradient(from 0deg at 50% 28%, rgba(255, 255, 255, 0.11) 0deg 6deg, transparent 6deg 14deg),
    radial-gradient(circle at 50% 28%, rgba(253, 224, 71, 0.28), transparent 58%),
    linear-gradient(160deg, #18181b 0%, #000000 55%, #111111 100%);
  border: 3px solid #ffffff;
  animation: godGlow 2.4s ease-in-out infinite;
}
.score-card.tier-god .score-tier-banner {
  background: linear-gradient(90deg, #ffffff, #fde047, #38bdf8, #f472b6, #ffffff);
  color: #000000;
}
.score-card.tier-god .score-big {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 3.9rem;
  color: #ffffff;
  -webkit-text-stroke: 1.5px #eab308;
  text-shadow: 0 0 32px rgba(253, 224, 71, 0.95), 0 5px 0 #000000;
}
.score-card.tier-god .metric-bar > div {
  background: linear-gradient(90deg, #ffffff, #fde047);
}

/* ============================================================================
   DAILY GLOBAL TOP 10 LEADERBOARD
   ============================================================================ */

.daily-lb-tabs {
  display: flex;
  gap: 6px;
}

.tab-chip {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--text-muted);
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
}

.tab-chip.active {
  background: rgba(234, 179, 8, 0.22);
  border-color: var(--gold);
  color: var(--gold-soft);
}

.daily-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(8, 14, 32, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 11px;
  padding: 8px 11px;
}

.daily-row.rank-1 {
  border-color: var(--gold);
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.18), rgba(8, 14, 32, 0.9));
}

.daily-row.is-me {
  box-shadow: 0 0 0 1.5px rgba(27, 92, 224, 0.75);
}

.daily-rank {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.82rem;
  flex-shrink: 0;
}

.daily-row.rank-1 .daily-rank { background: var(--gold); color: #0b142c; }
.daily-row.rank-2 .daily-rank { background: #cbd5e1; color: #0b142c; }
.daily-row.rank-3 .daily-rank { background: #d97706; color: #ffffff; }

.daily-info {
  flex: 1;
  min-width: 0;
}

.daily-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.daily-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.daily-score {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--gold-soft);
  flex-shrink: 0;
}

.claim-banner {
  background: rgba(234, 179, 8, 0.14);
  border: 1.5px solid var(--gold);
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 12px;
  text-align: left;
}

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

.claim-row .text-input {
  padding: 8px 10px;
  font-size: 0.9rem;
}

/* ============================================================================
   LIVE HUSS BATTLE (1v1 – 4P SIMULTANEOUS FACE-OFF)
   ============================================================================ */

.battle-code-input {
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.45rem;
  text-align: center;
}

.battle-code-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: rgba(6, 11, 24, 0.82);
  border: 2px solid rgba(234, 179, 8, 0.55);
  border-radius: 14px;
  padding: 12px 14px;
  margin-top: 10px;
}

.battle-code-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  font-weight: 700;
}

.battle-code-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.9rem;
  letter-spacing: 0.22em;
  color: var(--gold-soft);
  line-height: 1.1;
}

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

.battle-slot {
  background: rgba(8, 15, 34, 0.85);
  border: 1.5px solid rgba(148, 163, 184, 0.25);
  border-radius: 14px;
  padding: 12px 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.battle-slot.ready {
  border-color: #22c55e;
  box-shadow: 0 0 18px rgba(34, 197, 94, 0.2);
}

.battle-slot.is-me {
  background: linear-gradient(160deg, rgba(14, 63, 163, 0.35), rgba(8, 15, 34, 0.92));
}

.battle-slot.empty {
  border-style: dashed;
  border-color: rgba(148, 163, 184, 0.24);
  background: rgba(8, 15, 34, 0.42);
  justify-content: center;
  min-height: 158px;
  color: var(--text-muted);
}

.battle-slot .roblox-svg {
  width: 78px;
  height: 88px;
}

.battle-slot-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.92rem;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.battle-slot-status {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
}

.battle-slot.ready .battle-slot-status {
  background: rgba(34, 197, 94, 0.2);
  color: #86efac;
  border: 1px solid rgba(34, 197, 94, 0.45);
}

.battle-host-tag {
  position: absolute;
  top: 7px;
  left: 7px;
  font-size: 0.64rem;
  font-weight: 800;
  background: rgba(234, 179, 8, 0.2);
  color: var(--gold-soft);
  border: 1px solid rgba(234, 179, 8, 0.45);
  border-radius: 6px;
  padding: 2px 5px;
}

.battle-wins-tag {
  position: absolute;
  top: 7px;
  right: 7px;
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--gold-soft);
}

.battle-countdown-overlay {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: radial-gradient(circle at center, rgba(14, 63, 163, 0.92), rgba(4, 8, 20, 0.97));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}

.battle-countdown-overlay.go-flash {
  background: #000000;
}

.battle-countdown-sub {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 8px;
}

.battle-countdown-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(5rem, 24vw, 9.5rem);
  line-height: 0.95;
  color: #ffffff;
  paint-order: stroke fill;
  -webkit-text-stroke: 8px #000000;
  text-shadow: 0 10px 0 #000000, 0 0 42px rgba(234, 179, 8, 0.6);
  animation: captionPunch 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.battle-countdown-word {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 8vw, 3rem);
  letter-spacing: 0.08em;
  color: var(--gold-soft);
  margin-top: 6px;
  text-transform: uppercase;
}

.battle-live-avatars {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.battle-live-avatars .roblox-svg {
  width: 68px;
  height: 76px;
}

.battle-verdict {
  border-radius: var(--radius-block);
  padding: 22px 18px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-block);
}

.battle-verdict.win {
  background: linear-gradient(145deg, #18181b, #0c1630, #422006);
  border: 2.5px solid #fde047;
  box-shadow: 0 0 36px rgba(250, 204, 21, 0.28), var(--shadow-block);
}

.battle-verdict.lose {
  background: linear-gradient(155deg, #27151a, #171219);
  border: 2px solid rgba(248, 113, 113, 0.55);
}

.battle-verdict-icon {
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 8px;
}

.battle-verdict-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 6.2vw, 2.05rem);
  letter-spacing: -0.02em;
  margin: 0 0 6px;
  line-height: 1.08;
}

.battle-verdict.win .battle-verdict-title {
  color: #fef08a;
  text-shadow: 0 0 22px rgba(250, 204, 21, 0.45);
}

.battle-verdict.lose .battle-verdict-title {
  color: #fca5a5;
}

.battle-verdict-sub {
  margin: 0;
  font-size: 0.92rem;
  color: #e2e8f0;
}

.btn-ready-on {
  background: linear-gradient(180deg, #16a34a, #15803d);
  color: #ffffff;
  border-color: #86efac;
  box-shadow: 0 4px 0 #14532d;
}

/* ============================================================================
   PUBLISHER EDITORIAL CONTENT & DEDICATED GUIDE / LORE / INFO PAGES
   ============================================================================ */

.home-editorial {
  margin-top: 16px;
}

.editorial-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.editorial-eyebrow {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--gold-soft);
  text-transform: uppercase;
}

.editorial-heading {
  margin: 4px 0 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.25;
  color: #ffffff;
}

.editorial-card p,
.editorial-list li {
  margin: 0;
  color: #cbd5e1;
  font-size: 0.9rem;
  line-height: 1.6;
}

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

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

.editorial-mini {
  background: rgba(8, 14, 32, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 12px;
  padding: 12px 13px;
}

.editorial-mini h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 0.92rem;
  color: var(--gold-soft);
}

.editorial-mini p {
  font-size: 0.85rem;
  line-height: 1.5;
}

.editorial-list {
  margin: 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.editorial-links-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px solid rgba(148, 163, 184, 0.16);
}

.editorial-pill-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(234, 179, 8, 0.14);
  border: 1px solid rgba(234, 179, 8, 0.38);
  color: #fef08a;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  transition: background 0.15s ease, transform 0.12s ease;
}

.editorial-pill-link:hover {
  background: rgba(234, 179, 8, 0.25);
  transform: translateY(-1px);
}

.info-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 12px;
}

.info-nav-chip {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.24);
  color: #dbeafe;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
}

.info-nav-chip.active,
.info-nav-chip:hover {
  background: rgba(234, 179, 8, 0.2);
  border-color: var(--gold);
  color: #fef08a;
}

.info-card h1 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(1.38rem, 5vw, 1.75rem);
  line-height: 1.18;
  color: #ffffff;
}

.info-lead {
  margin: 0 0 18px;
  color: #93c5fd;
  font-size: 0.96rem;
  line-height: 1.55;
}

.info-card h2 {
  margin: 22px 0 8px;
  font-family: var(--font-display);
  font-size: 1.12rem;
  color: var(--gold-soft);
}

.info-card h3 {
  margin: 16px 0 6px;
  font-family: var(--font-display);
  font-size: 0.98rem;
  color: #ffffff;
}

.info-card p,
.info-card li {
  color: #dbeafe;
  line-height: 1.65;
  font-size: 0.93rem;
}

.info-card ul,
.info-card ol {
  padding-left: 20px;
  margin: 8px 0 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.info-card a {
  color: #fde047;
}

.info-cta-box {
  margin-top: 24px;
  padding: 14px 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(27, 92, 224, 0.28), rgba(234, 179, 8, 0.14));
  border: 1px solid rgba(234, 179, 8, 0.4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 8px;
}
