/* Inter is served locally so layout does not depend on Google Fonts. */
@font-face {
  font-family: 'Inter';
  src: url('/fonts/InterVariable.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

/* Vector Icons Font Faces for Web */
@font-face {
  font-family: 'Ionicons';
  src: url('/fonts/Ionicons.ttf') format('truetype');
  font-display: swap;
}
@font-face {
  font-family: 'MaterialCommunityIcons';
  src: url('/fonts/MaterialCommunityIcons.ttf') format('truetype');
  font-display: swap;
}
@font-face {
  font-family: 'MaterialIcons';
  src: url('/fonts/MaterialIcons.ttf') format('truetype');
  font-display: swap;
}
@font-face {
  font-family: 'FontAwesome';
  src: url('/fonts/FontAwesome.ttf') format('truetype');
  font-display: swap;
}
@font-face {
  font-family: 'Feather';
  src: url('/fonts/Feather.ttf') format('truetype');
  font-display: swap;
}

:root {
  --font-main: 'Inter', -apple-system, sans-serif;
  --font-text: 'Inter', -apple-system, sans-serif;

  /* OFFICIAL BRAND GRADIENT: VIBRANT ORANGE -> SOFT SAND */
  --color-fire-start: #FF7020;
  --color-fire-end: #FFD1A0;
  --color-fire-gradient: linear-gradient(135deg, var(--color-fire-start) 0%, var(--color-fire-end) 100%);

  /* OFFICIAL BRAND COLORS */
  --color-fire: #FF7020;
  --color-obsidian: #181411;
  --color-charcoal: #181411;
  --color-white: #FFFFFF;
  --color-paper: #FFFFFF;

  --shadow-subtle: 0 2px 10px rgba(0, 0, 0, 0.02);
  --shadow-elite: 0 20px 50px rgba(0, 0, 0, 0.04);
}

* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  outline: none !important;
}

*:focus {
  outline: none !important;
}

html,
body {
  /* Match the app's canvas (#FFFFFF) so the body and screen backgrounds
     are identical — no visible side "borders" on wide viewports. */
  background-color: #FFFFFF;
  color: var(--color-charcoal);
  margin: 0;
  padding: 0;
  min-height: 100vh;
  font-family: var(--font-text);
  overflow-x: hidden;
}

html[data-theme="dark"],
html[data-theme="dark"] body {
  background-color: #0F1A22;
}

/* --- THE VIGNETTE NUKE --- */
/* This removes the persistent blue glow identified as #preact-border-shadow-host */
#preact-border-shadow-host,
[id*="preact-border-shadow"],
.animate-breathing {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  z-index: -9999 !important;
}

/* --- TYPOGRAPHY: BOLD & GROUNDED --- */

h1,
.h1-supreme {
  font-family: var(--font-main);
  font-weight: 900;
  font-size: clamp(48px, 8vw, 84px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--color-charcoal);
  margin: 0;
}

.subtitle-elite {
  font-family: var(--font-main);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
  font-size: 12px;
  color: var(--color-fire-start);
  margin-bottom: 32px;
  display: block;
}

.body-large {
  font-family: var(--font-text);
  font-size: 18px;
  line-height: 1.7;
  color: #5C5652;
  font-weight: 400;
  max-width: 520px;
}

/* --- THE CRYSTAL HEADER --- */

.header-noble {
  background: rgba(255, 255, 255, 0) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: none !important;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.header-blur {
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04) !important;
}

/* --- COMPONENTS: THE FIRE ACCENT --- */

.convex-fire {
  background: var(--color-fire) !important;
  color: #FFFFFF !important;
  border-radius: 100px !important;
  box-shadow: 0 10px 30px rgba(255, 112, 32, 0.25) !important;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
  font-weight: 700 !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase;
  border: none !important;
}

.convex-fire:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
  box-shadow: 0 15px 40px rgba(255, 112, 32, 0.35) !important;
}

/* --- MINIMALIST RIBBON ACTION --- */

.ribbon-link {
  color: var(--color-fire) !important;
  font-weight: 500 !important;
  letter-spacing: 0.3px !important;
  text-transform: none;
  font-size: 14px;
  cursor: pointer;
  display: flex !important;
  align-items: center !important;
  gap: 12px;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.ribbon-link:hover {
  letter-spacing: 0.5px !important;
  transform: translateX(4px);
}

.convex-light {
  background: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(30px) !important;
  -webkit-backdrop-filter: blur(30px) !important;
  border-radius: 100px !important;
  border: 1px solid rgba(255, 255, 255, 0.9) !important;
  box-shadow: var(--shadow-gentle) !important;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.convex-light:hover {
  background: var(--color-white) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.04) !important;
  transform: translateY(-2px) !important;
}

/* --- THE CRYSTAL GLASS SYSTEM --- */

.convex-glass-fire {
  background: rgba(255, 112, 32, 0.1) !important;
  backdrop-filter: blur(25px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(25px) saturate(180%) !important;
  border: 1px solid rgba(255, 112, 32, 0.3) !important;
  box-shadow: 0 20px 80px rgba(255, 112, 32, 0.1) !important;
}

.convex-glass-light {
  background: #FFFFFF !important;
  backdrop-filter: blur(30px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(30px) saturate(150%) !important;
  border: 1px solid rgba(255, 255, 255, 0.8) !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.02) !important;
}

/* --- TICKERS ENGINE --- */

.ticker-container {
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
}

.ticker-col {
  overflow: hidden;
  height: 100%;
  flex: 1;
  position: relative;
  padding-bottom: 0;
  mask-image: linear-gradient(to bottom, transparent 0, black 6px, black calc(100% - 6px), transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, black 6px, black calc(100% - 6px), transparent 100%);
}

.ticker-container-v {
  overflow: hidden;
  height: 800px;
  width: 100%;
  position: relative;
  /* Minimalist, sharp fade 'zasvet' - only at extreme edges */
  mask-image: linear-gradient(to bottom, transparent 0, black 6px, black calc(100% - 6px), transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, black 6px, black calc(100% - 6px), transparent 100%);
}

.ticker-track {
  display: inline-flex;
  animation: ticker-h 50s linear infinite;
  gap: 16px;
}

.ticker-track-v {
  display: flex;
  flex-direction: column;
  animation: ticker-v 40s linear infinite;
  /* FASTER ANIMATION */
  will-change: transform;
}

@keyframes ticker-h {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@keyframes ticker-v {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-50%);
    /* Corrected for [...masterGrid, ...masterGrid] loop */
  }
}

.ribbon-separator {
  width: 100%;
  height: 48px;
  /* REDUCED SPACE BETWEEN MASTERS */
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.ribbon-separator::before {
  content: '';
  width: 1px;
  height: 40px;
  background: rgba(24, 20, 17, 0.08);
}

.ribbon-separator::after {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 3px;
  background: var(--color-fire-start);
  box-shadow: 0 0 10px rgba(255, 112, 32, 0.4);
}

/* --- CARDS & PLATES --- */

.master-elite-card {
  background: #FFFFFF;
  border-radius: 40px;
  border: 1px solid rgba(0, 0, 0, 0.03);
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.04);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.master-elite-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.08);
}

/* --- PROGRESSIVE ONBOARDING --- */
.onboarding-step-enter {
  animation: slide-up-fade 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slide-up-fade {
  0% {
    transform: translateY(20px);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.onboarding-pill {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.onboarding-pill:hover {
  border-color: var(--color-fire);
  background: rgba(255, 112, 32, 0.03);
}

.glass-inset {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 100px;
}

.category-tag {
  padding: 14px 32px;
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 99px;
  color: var(--color-charcoal);
  font-family: var(--font-main);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

/* --- ANIMATIONS --- */

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }

  50% {
    transform: scale(2.2);
    opacity: 0;
  }

  100% {
    transform: scale(1);
    opacity: 0.6;
  }
}

.pulse-animation {
  animation: pulse 3s ease-in-out infinite;
}

/* --- HIGHLIGHT MODERN --- */
.highlight-modern {
  color: #E85D04;
  position: relative;
}

.highlight-modern::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(232, 93, 4, 0.15);
  border-radius: 2px;
}

/* ============================================ */
/* DARK MODE — "THE OBSIDIAN SANCTUARY"         */
/* ============================================ */

/* System auto-detect (flash prevention before JS loads) */
@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) {
    --color-fire: #FF7020;
    --color-fire-start: #FF7020;
    --color-fire-end: #CC8040;
    --color-obsidian: #E8E4E0;
    --color-charcoal: #E8E4E0;
    --color-white: #121212;
    --color-paper: #121212;
    --shadow-subtle: 0 2px 10px rgba(0, 0, 0, 0.3);
    --shadow-elite: 0 20px 50px rgba(0, 0, 0, 0.4);
    color-scheme: dark;
  }

  html:not([data-theme="light"]),
  html:not([data-theme="light"]) body {
    background-color: #0F1A22 !important;
    color: #E8E4E0 !important;
  }
}

/* Explicit dark mode (JS-controlled via data-theme attribute) */
[data-theme="dark"] {
  --color-fire: #FF7020;
  --color-fire-start: #FF7020;
  --color-fire-end: #CC8040;
  --color-obsidian: #E8E4E0;
  --color-charcoal: #E8E4E0;
  --color-white: #121212;
  --color-paper: #121212;
  --shadow-subtle: 0 2px 10px rgba(0, 0, 0, 0.3);
  --shadow-elite: 0 20px 50px rgba(0, 0, 0, 0.4);
  color-scheme: dark;
}

[data-theme="dark"],
[data-theme="dark"] body {
  background-color: #17181C !important;
  color: #E8E4E0 !important;
}

/* --- DARK: Header --- */
[data-theme="dark"] .header-blur {
  background: rgba(23, 24, 28, 0.92) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3) !important;
}

[data-theme="dark"] .header-noble {
  background: rgba(23, 24, 28, 0) !important;
}

/* --- DARK: Glass System --- */
[data-theme="dark"] .convex-glass-light {
  background: rgba(30, 30, 30, 0.7) !important;
  backdrop-filter: blur(30px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(30px) saturate(150%) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2) !important;
}

[data-theme="dark"] .convex-glass-fire {
  background: rgba(255, 112, 32, 0.12) !important;
  backdrop-filter: blur(25px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(25px) saturate(180%) !important;
  border: 1px solid rgba(255, 112, 32, 0.2) !important;
  box-shadow: 0 20px 80px rgba(255, 112, 32, 0.06) !important;
}

[data-theme="dark"] .convex-light {
  background: rgba(30, 30, 30, 0.9) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

[data-theme="dark"] .convex-light:hover {
  background: rgba(40, 40, 40, 1) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3) !important;
}

[data-theme="dark"] .convex-fire {
  box-shadow: 0 10px 30px rgba(255, 112, 32, 0.2) !important;
}

[data-theme="dark"] .convex-fire:hover {
  box-shadow: 0 15px 40px rgba(255, 112, 32, 0.3) !important;
}

/* --- DARK: Cards --- */
[data-theme="dark"] .master-elite-card {
  background: #1A1A1A !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.3) !important;
}

[data-theme="dark"] .master-elite-card:hover {
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5) !important;
}

/* --- DARK: Typography --- */
[data-theme="dark"] h1,
[data-theme="dark"] .h1-supreme {
  color: #E8E4E0 !important;
}

[data-theme="dark"] .subtitle-elite {
  color: #FF7020 !important;
}

[data-theme="dark"] .body-large {
  color: #A09C98 !important;
}

[data-theme="dark"] .highlight-modern {
  color: #FF7020;
}

[data-theme="dark"] .highlight-modern::after {
  background: rgba(255, 112, 32, 0.2);
}

/* --- DARK: Components --- */
[data-theme="dark"] .category-tag {
  background: #1A1A1A !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #E8E4E0 !important;
}

[data-theme="dark"] .ribbon-separator::before {
  background: rgba(255, 255, 255, 0.08) !important;
}

[data-theme="dark"] .ribbon-separator::after {
  background: #FF7020 !important;
  box-shadow: 0 0 10px rgba(255, 112, 32, 0.4) !important;
}

[data-theme="dark"] .onboarding-pill:hover {
  border-color: #FF7020;
  background: rgba(255, 112, 32, 0.06);
}

[data-theme="dark"] .glass-inset {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

[data-theme="dark"] ::selection {
  background-color: rgba(255, 112, 32, 0.3) !important;
  color: #FF7020 !important;
}

/* Favorite star on cards — hidden by default, shown on hover or when active */
.favorite-star {
  opacity: 0;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.favorite-star.favorite-star-active {
  opacity: 1;
}

.convex-glass-light:hover .favorite-star {
  opacity: 1;
}

/* ─── Practice Feed Card — Premium Hover ─── */
.practice-feed-card {
  transition: transform 0.32s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    box-shadow 0.32s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    border-color 0.32s ease !important;
  cursor: pointer;
}

.practice-feed-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06),
    0 4px 12px rgba(0, 0, 0, 0.03) !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
}

[data-theme="dark"] .practice-feed-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3),
    0 4px 12px rgba(0, 0, 0, 0.15) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

/* ─── Live Room Card — Cinematic Hover ─── */
.live-room-card {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.35s ease !important;
  cursor: pointer;
}

.live-room-card:hover {
  transform: translateY(-4px) scale(1.02) !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15) !important;
}

[data-theme="dark"] .live-room-card:hover {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4) !important;
}

/* ─── Interest Pill — Subtle Hover ─── */
.interest-pill {
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1) !important;
  cursor: pointer;
}

.interest-pill:hover {
  border-color: rgba(0, 0, 0, 0.15) !important;
  background-color: #F3F4F6 !important;
}

[data-theme="dark"] .interest-pill:hover {
  border-color: rgba(255, 255, 255, 0.12) !important;
  background-color: rgba(255, 255, 255, 0.06) !important;
}

/* ─── Live Pulse Animation ─── */
@keyframes live-pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(1.4);
  }
}

/* ─── Speaking Pulse Animation (practice room tiles) ─── */
@keyframes speakingPulse {
  0%, 100% { box-shadow: 0 0 12px rgba(34, 197, 94, 0.4), 0 0 4px rgba(34, 197, 94, 0.2); }
  50% { box-shadow: 0 0 20px rgba(34, 197, 94, 0.6), 0 0 8px rgba(34, 197, 94, 0.3); }
}

/* Video subtitle (closed captions) styling */
video::cue {
  background: rgba(0, 0, 0, 0.7);
  color: white;
  font-size: 16px;
  font-family: 'Inter', sans-serif;
  line-height: 1.4;
  padding: 4px 8px;
  border-radius: 4px;
}

/* ═══ HERO COLUMN ALIGNMENT — Single Source of Truth ═══ */

/* LEFT COLUMN: The authority. Sets the height for the entire hero row. */
.hero-left-col {
  min-height: calc(100vh - 140px);
  height: auto;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  overflow: visible;
}

/* RIGHT COLUMN: Stretches to match left col via parent alignItems:stretch */
.hero-right-col {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 !important;
  position: relative !important;
  border-radius: 20px;
  overflow: hidden !important;
  margin-top: 24px;
  align-self: stretch !important;
  height: auto !important;
}

/* Nested containers: bypass flex-height bugs on web */
.hero-visual-stack {
  position: absolute !important;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex !important;
  flex-direction: row !important;
  overflow: hidden !important;
  gap: 6px;
}

.hero-ticker-layout {
  display: flex !important;
  flex-direction: row !important;
  flex: 1 !important;
  height: 100% !important;
  overflow: hidden !important;
  gap: 16px;
}

.ticker-track-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: ticker-v 40s linear infinite;
  will-change: transform;
}

.ticker-track-col--reverse {
  animation: ticker-v-reverse 55s linear infinite;
  transform: translateY(-50%);
}

@keyframes ticker-v-reverse {
  0% { transform: translateY(-50%); }
  100% { transform: translateY(0); }
}

/* ═══ HERO RESPONSIVE ═══ */
@media (max-width: 1099px) {
  .hero-left-col {
    min-height: auto;
    height: auto;
    margin-top: 0;
  }
  .hero-right-col {
    height: 500px !important;
    min-height: 500px !important;
    position: relative !important;
    margin-top: 24px;
  }
}

/* ═══ INVITE BUTTON GLOW ═══ */
.invite-btn-glow {
  transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease !important;
}

.invite-btn-glow:hover {
  box-shadow: 0 0 20px rgba(255, 112, 32, 0.4), 0 0 40px rgba(255, 112, 32, 0.15) !important;
  transform: translateY(-2px) !important;
  border-color: #FF8844 !important;
}

.invite-btn-glow:active {
  transform: translateY(0) !important;
  box-shadow: 0 0 12px rgba(255, 112, 32, 0.3) !important;
}

/* ═══ DRAG SCROLL (no scrollbar, grab to drag) ═══ */
.drag-scroll {
  overflow-x: auto !important;
  scrollbar-width: none;
  cursor: grab;
  -webkit-user-select: none;
  user-select: none;
}

.drag-scroll::-webkit-scrollbar {
  display: none;
}

.drag-scroll:active {
  cursor: grabbing;
}

/* ═══ EVENTS CAROUSEL SCROLLBAR ═══ */
.events-carousel-scroll {
  overflow-x: auto !important;
  scrollbar-width: auto;
  scrollbar-color: rgba(0, 0, 0, 0.2) rgba(0, 0, 0, 0.06);
  padding-bottom: 16px !important;
}

.events-carousel-scroll:hover {
  scrollbar-color: #FF7020 rgba(0, 0, 0, 0.06);
}

.events-carousel-scroll::-webkit-scrollbar {
  height: 8px;
}

.events-carousel-scroll::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.06);
  border-radius: 4px;
  margin: 0 20px;
}

.events-carousel-scroll::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}

.events-carousel-scroll:hover::-webkit-scrollbar-thumb {
  background: #FF7020;
}

[data-theme="dark"] .events-carousel-scroll {
  scrollbar-color: rgba(255, 255, 255, 0.3) rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .events-carousel-scroll:hover {
  scrollbar-color: #FF7020 rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .events-carousel-scroll::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .events-carousel-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
}

[data-theme="dark"] .events-carousel-scroll:hover::-webkit-scrollbar-thumb {
  background: #FF7020;
}

/* ═══ CIRCLES PREMIUM ANIMATION ═══ */
.circle-card-premium {
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
  position: relative;
  z-index: 1;
}

.circle-card-premium:hover {
  transform: scale(1.15) translateY(-8px);
  z-index: 50 !important;
}

.circle-card-premium .circle-image-container {
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.circle-card-premium:hover .circle-image-container {
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25), 0 0 40px rgba(255, 92, 22, 0.4);
  filter: brightness(1.05);
  border-width: 4px !important;
}

.circle-card-premium .circle-image-img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.circle-card-premium:hover .circle-image-img {
  transform: scale(1.08);
}

/* ═══ SNAP CAROUSEL — Unified Horizontal Scroll ═══ */
.snap-carousel {
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.snap-carousel::-webkit-scrollbar {
  display: none;
}

.snap-carousel > * {
  scroll-snap-align: start;
}
/* Pause portraits while a person is being selected with pointer or keyboard. */
.ticker-col:hover > .ticker-track-col,
.ticker-col:focus-within > .ticker-track-col { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .ticker-track-col { animation: none; }
}

/* Keyboard navigation remains visible without adding rings to touch interactions. */
button:focus-visible,
a:focus-visible,
[role="button"]:focus-visible,
[role="tab"]:focus-visible,
[role="checkbox"]:focus-visible,
[role="radio"]:focus-visible,
select:focus-visible {
  outline: 2px solid #D94D0B !important;
  outline-offset: 3px;
}

/* Seamless circular mobile host ribbon */
[data-testid="hero-portrait-train"]::-webkit-scrollbar {
  display: none;
}
[data-testid="hero-portrait-train"] {
  scrollbar-width: none;
  -ms-overflow-style: none;
}


