/* SeasonForge CSS v2 Bundle — AUTO-GENERATED BY scripts/build-v2.js */
/* Generated on: 2026-08-25T01:56:01.225Z */

/* --- Module: tokens.css (styles/v2/tokens.css) --- */
/* SeasonForge CSS v2 — Design Tokens */
:root {
  color-scheme: dark;

  /* Color Palette */
  --bg: #0c0915;
  --bg-deep: #08060f;
  --panel: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(10, 14, 24, 0.22) 100%);
  --panel-solid: rgba(10, 14, 24, 0.25);
  --panel-strong: rgba(10, 14, 24, 0.40);
  --panel-subtle: rgba(255, 255, 255, 0.03);
  --text: #f8fafc;
  --text-accent: #a5b4fc;
  --muted: #94a3b8;
  --muted-strong: #64748b;
  --border: rgba(255, 255, 255, 0.10);
  --border-soft: rgba(255, 255, 255, 0.05);
  --border-subtle: rgba(255, 255, 255, 0.07);
  --accent: #6366f1;
  --accent-soft: rgba(99, 102, 241, 0.08);
  --accent-glow: rgba(99, 102, 241, 0.3);
  --gold: #f59e0b;
  --gold-soft: rgba(245, 158, 11, 0.12);
  --gold-glow: rgba(245, 158, 11, 0.25);
  --green-soft: rgba(16, 185, 129, 0.1);
  --green-text: #a7f3d0;
  --amber-soft: rgba(245, 158, 11, 0.1);
  --amber-text: #fef08a;
  --purple: #9d70ff;
  --purple-glow: rgba(157, 112, 255, 0.6);
  --purple-gradient: linear-gradient(90deg, #8b5cf6, #a855f7);
  --purple-gradient-glow: rgba(168, 85, 247, 0.8);

  /* Border Radii */
  --radius-xs: 8px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 24px;

  /* Typography — Strict Single Font Family */
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Shadows & Glows */
  --shadow-card: 0 30px 70px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.04);

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
  --transition-slow: 0.4s ease;
  --transition-bounce: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);

  /* Z-Index Hierarchy */
  --z-base: 1;
  --z-header: 100;
  --z-modal-backdrop: 900;
  --z-modal: 1000;
  --z-tooltip: 1100;
}


/* --- Module: base.css (styles/v2/base.css) --- */
/* SeasonForge CSS v2 — Global Base Styles */

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

html,
body {
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  margin: 0;
  font-family: var(--font);
  background-color: var(--bg-deep);
  color: var(--text);
  min-height: 100vh;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Screen reader accessibility utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Background image layer with darkening overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  z-index: 0;
  transition: opacity var(--transition-normal);
}

/* Subtle ambient color accents */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 50% 40%, rgba(12, 9, 21, 0.0) 0%, rgba(8, 6, 15, 0.25) 100%);
  pointer-events: none;
  z-index: 0;
}

/* Common Typography & Focus Reset */
a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
  color: inherit;
}

input,
select,
textarea {
  font-family: inherit;
}


/* --- Module: layout.css (styles/v2/layout.css) --- */
/* SeasonForge CSS v2 — Layout Module */

/* Dual-UI View Visibility Helpers */
.sf-desktop-only {
  display: contents;
}
.sf-mobile-only {
  display: none !important;
}

@media (max-width: 900px) {
  .sf-desktop-only {
    display: none !important;
  }
  .sf-mobile-only {
    display: contents !important;
  }
}

.app-layout {
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  gap: 1.25rem;
  padding: 1.5rem 1.5rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

/* Layout container hooks (Preserved as migration technical debt for DOM compatibility) */
#navbar,
#content {
  position: relative;
  z-index: var(--z-base);
}

#navbar {
  padding: 0;
}

#content {
  padding: 0;
  min-width: 0;
}

@media (max-width: 1100px) {
  .app-layout {
    grid-template-columns: 340px minmax(0, 1fr);
    gap: 1rem;
  }
}

@media (max-width: 900px) {
  .app-layout {
    grid-template-columns: 1fr;
    padding: 1rem 0.75rem 2rem;
    gap: 1rem;
  }
}

/* OBS Overlay Mode (Pure Cascade - No !important) */
body.app-layout--overlay {
  background: transparent;
  background-image: none;
  overflow: hidden;
}

body.app-layout--overlay .hero-parallax-bg,
body.app-layout--overlay .hero-parallax-container,
body.app-layout--overlay .app-header,
body.app-layout--overlay .app-footer,
body.app-layout--overlay #navbar,
body.app-layout--overlay .mobile-nav,
body.app-layout--overlay #mobile-nav,
body.app-layout--overlay #feedback-trigger-btn,
body.app-layout--overlay #streamer-trigger-btn,
body.app-layout--overlay .lang-switcher,
body.app-layout--overlay .more-menu-overlay,
body.app-layout--overlay .feedback-modal-overlay {
  display: none;
}

body.app-layout--overlay .app-layout {
  display: block;
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  max-width: none;
  width: 100%;
  height: 100%;
}

body.app-layout--overlay #content {
  margin: 0;
  padding: 0;
  background: transparent;
}

/* App Footer */
.app-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 1.5rem 1rem 2.5rem;
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 0.78rem;
  text-align: center;
  position: relative;
  z-index: var(--z-base);
}

.app-footer__copy {
  color: var(--muted-strong);
  font-size: 0.78rem;
}

.app-footer__links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.app-footer__link {
  color: var(--text-accent);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.78rem;
  transition: color var(--transition-fast);
}

.app-footer__link:hover {
  color: #ffffff;
  text-decoration: underline;
}


/* --- Module: hero-parallax.css (styles/v2/hero-parallax.css) --- */
/* SeasonForge CSS v2 — Hero Parallax Component */

.hero-parallax-bg {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.95;
  transition: opacity 0.6s ease;
}

.hero-parallax__layer {
  position: absolute;
  top: 3.5vh;
  left: 3vw;
  width: 106vw;
  height: 106vh;
  object-fit: cover;
  object-position: center center;
  will-change: transform;
  backface-visibility: hidden;
}

.hero-parallax__bg {
  z-index: 0;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  opacity: 0.85;
  filter: brightness(1.15) contrast(1.1);
}

.hero-parallax__body {
  z-index: 1;
  mix-blend-mode: screen;
  opacity: 0.95;
}

.hero-parallax__head {
  z-index: 2;
  transform-origin: 50% 35%;
}

.hero-parallax__eyes {
  z-index: 3;
  transform-origin: 50% 30%;
}

.hero-parallax__overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  background: linear-gradient(180deg, rgba(8, 6, 15, 0.15) 0%, rgba(8, 6, 15, 0.45) 100%);
  pointer-events: none;
}


/* --- Module: header.css (styles/v2/header.css) --- */
/* SeasonForge CSS v2 — Header Module */

.app-header {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-soft);
  position: relative;
  z-index: var(--z-base);
}

.app-header__logo-block {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.app-header__icon {
  font-size: 1.6rem;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.25), rgba(168, 85, 247, 0.2));
  border: 1px solid rgba(99, 102, 241, 0.35);
  border-radius: var(--radius-sm);
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.15);
}

.app-header__title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #f8fafc, #cbd5e1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.app-header__subtitle {
  margin: 0.15rem 0 0;
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 500;
}

.app-header__right-block {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.app-header__tools {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Header Status Meta Pill */
.app-header__meta,
.app-header__meta-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.7rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.42rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: background var(--transition-normal), border-color var(--transition-normal);
  overflow: visible;
}

.app-header__meta[data-tooltip]::after,
.app-header__meta-link[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  white-space: nowrap;
  background: rgba(15, 23, 42, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--text);
  font-family: var(--font);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.45rem 0.8rem;
  border-radius: var(--radius-xs);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast);
  z-index: var(--z-tooltip);
}

.app-header__meta[data-tooltip]:hover::after,
.app-header__meta-link[data-tooltip]:hover::after {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.app-header__meta::before,
.app-header__meta-link::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 75%;
  height: 2px;
  background: linear-gradient(to right, transparent, #38bdf8, transparent);
  opacity: 0;
  transition: opacity var(--transition-slow);
}

.app-header__meta:hover::before,
.app-header__meta-link:hover::before {
  opacity: 0.7;
}

.app-header__meta:hover,
.app-header__meta-link:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
}

.app-header__meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.app-header__meta-label {
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
}

.app-header__meta strong {
  color: #e2e8f0;
  font-weight: 600;
  font-size: 0.75rem;
}

/* Status Pulse Dot */
.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #22c55e;
  margin-right: 4px;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: pulse-dot 2s infinite;
  vertical-align: middle;
}

@keyframes pulse-dot {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

/* Header Neon Buttons & Language Switcher */
.header-neon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  color: #c4cde0;
  font-size: 0.775rem;
  font-weight: 500;
  cursor: pointer;
  transition: color var(--transition-normal), background var(--transition-normal), border-color var(--transition-normal);
  user-select: none;
  overflow: hidden;
  letter-spacing: 0.01em;
  white-space: nowrap;
  flex-shrink: 0;
}

.header-neon-btn span {
  white-space: nowrap;
}

.header-neon-btn::before,
.header-neon-btn::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 75%;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--btn-neon, #6366f1), transparent);
  opacity: 0;
  transition: opacity var(--transition-slow);
}

.header-neon-btn::before {
  top: -1px;
}

.header-neon-btn::after {
  bottom: -1px;
}

.header-neon-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.header-neon-btn:hover::before {
  opacity: 1;
}

.header-neon-btn:hover::after {
  opacity: 0.3;
}

.header-neon-btn:active {
  transform: scale(0.97);
}

.header-neon-btn svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.75;
  transition: opacity var(--transition-normal), transform var(--transition-normal);
  flex-shrink: 0;
}

.header-neon-btn:hover svg {
  opacity: 1;
  transform: scale(1.1);
}

/* Specific Neon Colors */
.feedback-trigger-btn {
  --btn-neon: #6366f1;
}

.mobile-app-trigger-btn {
  --btn-neon: #10b981;
}

.streamer-trigger-btn {
  --btn-neon: #a855f7;
}

.lang-switcher__btn {
  --btn-neon: #f59e0b;
}

/* Mobile Header Responsive Styles */
@media (max-width: 640px) {
  .app-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    gap: 0.75rem;
  }

  .app-header__logo-block {
    flex-shrink: 0;
  }

  .app-header__subtitle {
    display: none;
  }

  .app-header__right-block {
    display: flex;
    flex-direction: row;
    align-items: center;
    min-width: 0;
    flex: 1;
    justify-content: flex-end;
    overflow: hidden;
  }

  .app-header__meta {
    display: none;
  }

  .app-header__tools {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.45rem;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding: 0.2rem 0.25rem 0.2rem 0.5rem;
    mask-image: linear-gradient(to right, transparent 0%, black 12px, black 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 12px, black 100%);
  }

  .app-header__tools::-webkit-scrollbar {
    display: none;
  }

  .header-neon-btn,
  .lang-switcher__btn {
    flex-shrink: 0;
    white-space: nowrap;
  }
}


/* --- Module: navbar.css (styles/v2/navbar.css) --- */
/* SeasonForge CSS v2 — Desktop Navbar Module */

/* Navbar Panel Container */
.navbar-panel {
  background: var(--panel);
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: var(--radius-md);
  padding: 0.75rem 0.75rem;
  position: sticky;
  top: 2.5rem;
  box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px) saturate(130%) brightness(1.05);
  -webkit-backdrop-filter: blur(18px) saturate(130%) brightness(1.05);
}

.navbar-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.4rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--border-soft);
}

.navbar-panel__icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(99, 102, 241, 0.08));
  border: 1px solid rgba(99, 102, 241, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--text-accent);
}

.navbar-panel__eyebrow {
  margin: 0 0 0.15rem;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-accent);
  font-weight: 600;
}

.navbar-panel__title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #f8fafc, var(--text-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar-panel__caption {
  margin: 0 0 0.5rem;
  font-size: 0.65rem;
  color: var(--muted-strong);
  letter-spacing: 0.02em;
}

/* Navbar Navigation List */
.navbar__list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.navbar__tab {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.55rem;
  border-radius: var(--radius-xs);
  background: var(--panel-subtle);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: transform var(--transition-bounce), 
              border-color var(--transition-normal), 
              box-shadow var(--transition-normal), 
              background var(--transition-normal);
  min-height: 42px;
  position: relative;
}

.navbar__tab:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--tab-color, var(--gold)) 40%, rgba(255, 255, 255, 0.15));
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), color-mix(in srgb, var(--tab-color, var(--gold)) 8%, transparent));
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

.navbar__tab:hover .navbar__tab-icon,
.navbar__tab:hover .navbar__tab-logo,
.navbar__tab:hover .navbar__tab-emoji {
  filter: drop-shadow(0 0 5px color-mix(in srgb, var(--tab-color, var(--gold)) 40%, transparent));
  transform: scale(1.04);
}

.navbar__tab.navbar__link--active {
  border-color: color-mix(in srgb, var(--tab-color, var(--gold)) 40%, transparent);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4),
              0 0 14px color-mix(in srgb, var(--tab-color, var(--gold)) 12%, transparent);
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.04),
    color-mix(in srgb, var(--tab-color, var(--gold)) 10%, transparent)
  );
  border-left: 3px solid var(--tab-color, var(--gold));
  border-radius: var(--radius-xs);
}

.navbar__tab-main {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex: 1;
  min-width: 0;
}

.navbar__tab-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: filter var(--transition-normal), transform var(--transition-bounce), background var(--transition-fast), border-color var(--transition-fast);
}

.navbar__link--active .navbar__tab-icon {
  background: rgba(15, 23, 42, 0.85);
  border-color: color-mix(in srgb, var(--tab-color, var(--accent)) 65%, transparent);
  box-shadow: 0 0 12px color-mix(in srgb, var(--tab-color, var(--accent)) 30%, transparent);
}

.navbar__tab-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: inherit;
  padding: 3px;
  box-sizing: border-box;
  display: block;
  transition: filter var(--transition-normal), transform var(--transition-bounce);
}

.navbar__tab-copy {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  min-width: 0;
}

.navbar__name {
  margin: 0;
  font-weight: 700;
  color: var(--text);
  font-size: 0.88rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.navbar__link--active .navbar__name {
  color: #fff;
}

.navbar__season {
  margin: 0;
  font-size: 0.72rem;
  color: #9aa8c3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.navbar__status-stack {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

/* Status Badges */
.navbar__status {
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  font-size: 0.55rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(255, 255, 255, 0.03);
  white-space: nowrap;
  flex-shrink: 0;
  border: 1px solid var(--border-subtle);
  font-weight: 600;
  transition: all var(--transition-fast);
}

.navbar__status--newest {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.25);
  font-weight: 700;
}

.navbar__status--just-started {
  background: rgba(34, 197, 94, 0.12);
  color: #4ade80;
  border-color: rgba(34, 197, 94, 0.35);
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.15);
}

.navbar__status--in-progress {
  background: rgba(139, 92, 246, 0.12);
  color: #a78bfa;
  border-color: rgba(139, 92, 246, 0.35);
}

.navbar__status--late-season {
  background: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
  border-color: rgba(245, 158, 11, 0.35);
}

.navbar__status--final-days,
.navbar__status--ending {
  background: rgba(239, 68, 68, 0.12);
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.35);
}

.navbar__status--early-access {
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.35);
}

.navbar__status--ptr,
.navbar__status--beta {
  background: rgba(59, 130, 246, 0.12);
  color: #60a5fa;
  border-color: rgba(59, 130, 246, 0.35);
}

.navbar__status--active {
  background: rgba(99, 102, 241, 0.12);
  color: #818cf8;
  border-color: rgba(99, 102, 241, 0.35);
}

.navbar__status--upcoming {
  background: rgba(20, 184, 166, 0.12);
  color: #2dd4bf;
  border-color: rgba(20, 184, 166, 0.35);
}

.navbar__status--ended {
  background: rgba(100, 116, 139, 0.12);
  color: #94a3b8;
  border-color: rgba(100, 116, 139, 0.35);
}

.navbar__status--in-development {
  background: rgba(168, 85, 247, 0.12);
  color: #c084fc;
  border-color: rgba(168, 85, 247, 0.35);
}

.navbar__status--maintenance {
  background: rgba(249, 115, 22, 0.12);
  color: #fb923c;
  border-color: rgba(249, 115, 22, 0.35);
}

.navbar-panel__footer {
  display: flex;
  gap: 0.35rem;
  margin-top: 0.6rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border-soft);
}

.navbar-panel__action {
  flex: 1;
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: var(--radius-xs);
  background: rgba(15, 23, 42, 0.7);
  color: #c7d2fe;
  padding: 0.4rem 0.5rem;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.7rem;
  font-family: var(--font);
  transition: all var(--transition-fast);
  letter-spacing: 0.02em;
}

.navbar-panel__action:hover {
  background: rgba(99, 102, 241, 0.12);
  border-color: rgba(99, 102, 241, 0.25);
  color: var(--text);
}

.navbar-panel__action--secondary {
  background: rgba(15, 23, 42, 0.6);
  color: var(--muted);
}

.navbar-panel__action--secondary:hover {
  background: rgba(99, 102, 241, 0.08);
  color: #c7d2fe;
}

.navbar-panel__action.navbar-panel__action--active,
.navbar-panel__action--active {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
  font-weight: 700;
}

.navbar-panel__action.navbar-panel__action--active:hover,
.navbar-panel__action--active:hover {
  background: color-mix(in srgb, var(--accent) 85%, #ffffff);
  border-color: color-mix(in srgb, var(--accent) 85%, #ffffff);
}


/* --- Module: cards.css (styles/v2/cards.css) --- */
/* SeasonForge CSS v2 — Cards Module */

/* Hide OBS Watermark by Default */
.game-card__watermark,
.timeline-card__watermark {
  display: none;
}

/* ===== MAIN GAME CARD (.game-card) ===== */
.game-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  min-height: 340px;
  background: var(--panel);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px) saturate(130%) brightness(1.05);
  -webkit-backdrop-filter: blur(18px) saturate(130%) brightness(1.05);
  transition: transform var(--transition-normal), 
              border-color var(--transition-normal), 
              box-shadow var(--transition-normal);
}

.game-card:hover {
  transform: none;
  border-color: color-mix(in srgb, var(--game-color, var(--gold)) 40%, rgba(255, 255, 255, 0.15));
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 15px color-mix(in srgb, var(--game-color, var(--gold)) 12%, transparent);
}

.game-card:hover .game-card__watermark-logo,
.game-card:hover .game-card__cta-icon-box img,
.game-card:hover .game-card__cta-icon {
  filter: drop-shadow(0 0 6px color-mix(in srgb, var(--game-color, var(--gold)) 50%, transparent));
  transform: scale(1.03);
}

.game-card__glow {
  position: absolute;
  inset: auto -60px -60px auto;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--game-color, var(--accent)) 15%, transparent);
  filter: blur(70px);
  pointer-events: none;
}

.game-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.game-card__title-block {
  position: relative;
  z-index: var(--z-base);
}

.game-card__pill {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.55rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid color-mix(in srgb, var(--game-color, var(--accent)) 20%, transparent);
  background: rgba(15, 23, 42, 0.4);
  color: color-mix(in srgb, var(--game-color, var(--accent)) 85%, #94a3b8);
}

.game-card__pill--just-started {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border-color: rgba(34, 197, 94, 0.4);
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.2);
}

.game-card__pill--in-progress {
  background: rgba(139, 92, 246, 0.15);
  color: #a78bfa;
  border-color: rgba(139, 92, 246, 0.4);
}

.game-card__pill--late-season {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border-color: rgba(245, 158, 11, 0.4);
}

.game-card__pill--final-days {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.4);
}

.game-card__pill--ended {
  background: rgba(100, 116, 139, 0.15);
  color: #94a3b8;
  border-color: rgba(100, 116, 139, 0.4);
}

.game-card__pill--ptr,
.game-card__pill--beta {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  border-color: rgba(59, 130, 246, 0.4);
}

.game-card__pill--early-access {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.4);
}

.game-card__pill--upcoming {
  background: rgba(20, 184, 166, 0.15);
  color: #2dd4bf;
  border-color: rgba(20, 184, 166, 0.4);
}

.game-card__pill--in-development {
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
  border-color: rgba(168, 85, 247, 0.4);
}

.game-card__pill--maintenance {
  background: rgba(249, 115, 22, 0.15);
  color: #fb923c;
  border-color: rgba(249, 115, 22, 0.4);
}

.game-card__pill--announcement {
  background: rgba(236, 72, 153, 0.15);
  color: #f472b6;
  border-color: rgba(236, 72, 153, 0.4);
}

/* ===== VERIFICATION BADGES & TOOLTIPS ===== */
.verification-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-family: var(--font);
  font-size: 0.58rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.18rem 0.45rem;
  border-radius: 999px;
  border: 1px solid transparent;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1;
  transition: all var(--transition-fast);
}

.verification-badge__link {
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
}

.verification-badge__link:hover .verification-badge {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.verification-badge--official {
  background: var(--green-soft);
  color: var(--green-text);
  border-color: rgba(16, 185, 129, 0.3);
}

.verification-badge--ai {
  background: var(--accent-soft);
  color: var(--text-accent);
  border-color: rgba(99, 102, 241, 0.3);
}

.verification-badge--estimated {
  background: rgba(245, 158, 11, 0.08);
  color: #fbbf24;
  border-color: rgba(245, 158, 11, 0.35);
  font-size: 0.58rem;
  padding: 0.12rem 0.45rem;
  border-radius: 4px;
  font-weight: 700;
}

.verification-badge--announcement {
  background: var(--accent-soft);
  color: var(--text-accent);
  border-color: rgba(99, 102, 241, 0.35);
  font-size: 0.58rem;
  padding: 0.12rem 0.45rem;
  border-radius: 4px;
  font-weight: 700;
}

/* Glassmorphic custom tooltips for verification badges and UI elements */
.verification-badge[data-tooltip],
.game-card__side-header [data-tooltip],
[data-tooltip].verification-badge {
  position: relative;
}

.verification-badge[data-tooltip]::before,
.verification-badge[data-tooltip]::after,
.game-card__side-header [data-tooltip]::before,
.game-card__side-header [data-tooltip]::after {
  position: absolute;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 9999;
}

.verification-badge[data-tooltip]::after,
.game-card__side-header [data-tooltip]::after {
  content: attr(data-tooltip);
  top: calc(100% + 8px);
  right: 0;
  transform: translateY(-4px);
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #e2e8f0;
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.45;
  text-transform: none;
  letter-spacing: normal;
  padding: 0.55rem 0.8rem;
  border-radius: var(--radius-xs);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 12px 30px -4px rgba(0, 0, 0, 0.6), 0 0 15px rgba(245, 158, 11, 0.12);
  white-space: normal;
  width: max-content;
  max-width: 260px;
  word-wrap: break-word;
  text-align: left;
}

.verification-badge[data-tooltip]::before,
.game-card__side-header [data-tooltip]::before {
  content: '';
  top: calc(100% + 2px);
  right: 14px;
  transform: translateY(-4px);
  border-width: 0 6px 6px 6px;
  border-style: solid;
  border-color: transparent transparent rgba(255, 255, 255, 0.14) transparent;
}

.verification-badge[data-tooltip]:hover::after,
.verification-badge[data-tooltip]:hover::before,
.game-card__side-header [data-tooltip]:hover::after,
.game-card__side-header [data-tooltip]:hover::before {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ===== STANDALONE STATUS BADGE (.status-badge) ===== */
.status-badge {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid var(--border-soft);
  background: rgba(15, 23, 42, 0.4);
  color: var(--muted);
}

.status-badge--active {
  background: var(--green-soft);
  color: var(--green-text);
  border-color: rgba(16, 185, 129, 0.3);
}

.status-badge--upcoming {
  background: var(--accent-soft);
  color: var(--text-accent);
  border-color: rgba(99, 102, 241, 0.25);
}

.status-badge--ended {
  background: rgba(100, 116, 139, 0.15);
  color: var(--muted);
  border-color: rgba(100, 116, 139, 0.3);
}

.status-badge--in-development {
  background: var(--amber-soft);
  color: var(--amber-text);
  border-color: rgba(245, 158, 11, 0.3);
}

.status-badge--default {
  background: var(--accent-soft);
  color: var(--text-accent);
  border-color: rgba(99, 102, 241, 0.25);
}

.game-card__title {
  margin: 0.4rem 0 0;
  font-family: var(--font);
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.15;
}

.game-card__subtitle {
  margin: 0.25rem 0 0;
  color: var(--muted-strong);
  font-size: 0.78rem;
}

.game-card__label {
  display: block;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted-strong);
  margin-bottom: 0.35rem;
  font-weight: 600;
}

/* Card Inner Grid Layout */
.game-card__body {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 1.25rem;
}

.game-card__panel {
  position: relative;
  z-index: var(--z-base);
  padding: 1.25rem 1.5rem;
  border-radius: 14px;
  background: var(--panel);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
}

.game-card .game-card__panel {
  background: rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

.game-card__panel--main {
  min-height: 150px;
}

.game-card__panel--side {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.85rem;
}

.game-card__panel--features {
  grid-column: 1 / -1;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  background: rgba(0, 0, 0, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.game-card__season {
  margin: 0 0 0.6rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}

.game-card__meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 0.75rem;
  margin-bottom: 0.65rem;
  padding: 0.2rem 0;
}

.game-card__meta-row span:last-child {
  color: #e2e8f0;
  font-weight: 600;
}

.game-card__progress-block {
  position: relative;
  margin-top: 0.85rem;
}

.game-card__progress-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.game-card__progress-block .progress-bar {
  display: flex;
  flex-direction: column;
}

.game-card__progress-block .progress-bar__label {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 0.78rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
}

.game-card__progress-block .progress-bar__track,
.progress-bar__track {
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  position: relative;
  margin-top: 0.2rem;
  width: 100%;
}

.progress-bar__fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--game-color, var(--gold, #f59e0b)), #f7d96a);
  box-shadow: 0 0 10px color-mix(in srgb, var(--game-color, var(--gold, #f59e0b)) 40%, transparent);
  transition: width 0.4s ease;
  position: relative;
  overflow: hidden;
}

.progress-bar__fill::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  animation: progressBarShimmer 2s ease-in-out infinite;
}

@keyframes progressBarShimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Card Source Info Line */
.game-card__badge-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.game-card__source-info {
  margin: 0.45rem 0 0;
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.game-card__source-badge {
  color: #a5b4fc;
  font-weight: 600;
  background: rgba(165, 180, 252, 0.08);
  padding: 0.1rem 0.4rem;
  border-radius: var(--radius-xs, 4px);
  border: 1px solid rgba(165, 180, 252, 0.12);
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
}

.game-card__source-title {
  color: var(--text, #cbd5e1);
  font-weight: 600;
  max-width: 280px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.game-card__source-link {
  color: var(--gold, #f59e0b);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.game-card__source-link:hover {
  color: #fbbf24;
  text-decoration: underline;
}

/* Card Side Header & Date Row */
.game-card__side-header {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1.1rem;
}

.game-card__side-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
}

.game-card__badge-wrapper {
  display: inline-flex;
  align-items: center;
}

.game-card__side-label {
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94a3b8;
  margin: 0;
}

.game-card__side-season-name {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin: 0;
}

.game-card__side-date-row {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #94a3b8;
  margin-top: 0.25rem;
}

.game-card__side-date-icon {
  flex-shrink: 0;
  color: #94a3b8;
  opacity: 0.85;
}

.game-card__side-date {
  color: #94a3b8;
  font-size: 0.88rem;
  font-weight: 500;
  white-space: nowrap;
}

/* Equal 4-Column Countdown Grid in Detail Card */
.game-card__countdown {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.75rem;
  width: 100%;
}

.game-card__countdown-item {
  flex: 1;
  min-width: 0;
  background: rgba(18, 16, 32, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 0.55rem 0.2rem;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.game-card__countdown-item:not(:last-child)::after {
  content: ':';
  position: absolute;
  right: -6px;
  top: 25%;
  color: rgba(255, 255, 255, 0.3);
  font-weight: 700;
  font-size: 1rem;
  z-index: 2;
}

.game-card__countdown-item strong {
  display: block;
  font-family: var(--font);
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

.game-card__countdown-item span {
  display: block;
  font-family: var(--font);
  font-size: 0.55rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.2rem;
}

/* Developer Block */
.game-card__developer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1rem;
  margin-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.game-card__developer-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  flex-shrink: 0;
}

.game-card__developer-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.game-card__developer-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
  font-weight: 700;
}

.game-card__developer-name {
  font-size: 0.88rem;
  color: #f8fafc;
  font-weight: 700;
}

/* Features Block & 2-Column Grid */
.game-card__features-block {
  margin-top: 0.3rem;
}

.game-card__features-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.game-card__features-title {
  margin: 0;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  font-weight: 600;
}

.game-card__features-toggle-btn {
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: #a5b4fc;
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.game-card__features-toggle-btn:hover {
  background: rgba(99, 102, 241, 0.22);
  border-color: rgba(99, 102, 241, 0.5);
  color: #ffffff;
  transform: translateY(-1px);
}

.game-card__features-toggle-btn--open {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}

.game-card__features-toggle-btn--open:hover {
  background: rgba(239, 68, 68, 0.22);
  border-color: rgba(239, 68, 68, 0.5);
  color: #ffffff;
}

.game-card__features-body {
  display: none;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
  animation: fadeInFeatures 0.3s ease-out forwards;
}

.game-card__features-body.game-card__features-body--open {
  display: block;
}

@keyframes fadeInFeatures {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.game-card__feature-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem;
}

.game-card__feature-item {
  font-size: 0.75rem;
  color: #e6eefb;
  padding: 0.3rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.game-card__feature-check {
  color: var(--gold, #f59e0b);
  font-weight: bold;
  flex-shrink: 0;
}

/* Events Preview & PTR Chip */
.game-card__events-preview {
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
  display: block;
}

.game-card__events-preview-header {
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #94a3b8;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
}

.game-card__events-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.game-card__event-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.45rem 0.7rem;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  font-size: 0.82rem;
  transition: all 0.2s ease;
}

.game-card__event-item:hover {
  background: rgba(30, 41, 59, 0.7);
  border-color: rgba(255, 255, 255, 0.18);
}

.game-card__event-item--ptr {
  border-left: 3px solid #10b981;
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.08) 0%, rgba(15, 23, 42, 0.6) 100%);
}

.game-card__event-item--convention {
  border-left: 3px solid #f59e0b;
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.08) 0%, rgba(15, 23, 42, 0.6) 100%);
}

.game-card__event-item--launch {
  border-left: 3px solid #6366f1;
  background: linear-gradient(90deg, rgba(99, 102, 241, 0.08) 0%, rgba(15, 23, 42, 0.6) 100%);
}

.game-card__event-title-group {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.game-card__event-name {
  color: #f3f4f6;
  font-weight: 600;
  font-family: var(--font);
}

.game-card__event-tag {
  font-family: var(--font);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  text-transform: uppercase;
}

.game-card__event-tag--ptr {
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
}

.game-card__event-tag--convention {
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fbbf24;
}

.game-card__event-tag--launch {
  background: rgba(99, 102, 241, 0.2);
  border: 1px solid rgba(99, 102, 241, 0.4);
  color: #818cf8;
}

.game-card__ptr-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
}

.game-card__ptr-chip-badge {
  background: #10b981;
  color: #022c22;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  letter-spacing: 0.05em;
  font-family: var(--font);
}

.game-card__ptr-chip-text {
  font-size: 0.72rem;
  color: #6ee7b7;
  font-weight: 600;
}

/* Game Card CTA Block (Archive Link Banner) */
.game-card__cta-block {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid rgba(139, 92, 246, 0.15);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  margin: 1.25rem 0 0 0;
  width: 100%;
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.game-card__cta-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  background: rgba(139, 92, 246, 0.08);
  border-radius: 50%;
  font-size: 1.1rem;
  border: 1px solid rgba(139, 92, 246, 0.2);
  flex-shrink: 0;
}

.game-card__cta-game-logo {
  width: 1.6rem;
  height: 1.6rem;
  object-fit: contain;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.game-card__cta-block:hover .game-card__cta-game-logo {
  transform: scale(1.1);
  box-shadow: 0 0 14px rgba(168, 85, 247, 0.55);
}

.game-card__cta-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  text-align: left;
}

.game-card__cta-title {
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.game-card__cta-subtitle {
  color: var(--muted);
  font-size: 0.7rem;
  opacity: 0.7;
  margin-top: 0.15rem;
}

.game-card__cta-arrow-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.game-card__cta-arrow-icon {
  display: block;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.game-card__cta-block:hover {
  background-color: rgba(139, 92, 246, 0.08);
  border-color: rgba(139, 92, 246, 0.5);
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.2);
}

.game-card__cta-block:hover .game-card__cta-arrow-box {
  background: rgba(168, 85, 247, 0.18);
  border-color: rgba(168, 85, 247, 0.45);
  color: #c084fc;
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.35);
}

.game-card__cta-block:hover .game-card__cta-arrow-icon {
  transform: translateX(3px);
}

/* Feed Container */
.game-feed {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 100%;
}

/* ===== UPCOMING LAUNCHES CARD GRID (5 COLUMNS BENCHMARK) ===== */
.upcoming-launches {
  margin-top: 1.5rem;
}

.upcoming-launches__header {
  margin-bottom: 1rem;
}

.upcoming-launches__title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
  color: #e6eefb;
  letter-spacing: 0.02em;
}

.upcoming-launches__caption {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.75rem;
}

.upcoming-launches__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
}

.upcoming-card {
  position: relative;
  background: rgba(18, 14, 28, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 180px;
  overflow: hidden;
  box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px) saturate(130%) brightness(1.05);
  -webkit-backdrop-filter: blur(18px) saturate(130%) brightness(1.05);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
              border-color 0.3s ease, 
              box-shadow 0.3s ease, 
              background-color 0.3s ease;
}

/* Benchmark Rule 1: No Top Bar! */
.upcoming-card::before {
  display: none !important;
}

/* Benchmark Rule 2 & 3: Frame Container & Neon Breathing */
.upcoming-card__frame {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-sm);
  border: 1px solid color-mix(in srgb, var(--game-color, var(--gold)) 30%, rgba(255, 255, 255, 0.08));
  pointer-events: none;
  z-index: 2;
  transition: border-color var(--transition-normal);
}

.upcoming-card:hover .upcoming-card__frame {
  border-color: color-mix(in srgb, var(--game-color, var(--gold)) 60%, rgba(255, 255, 255, 0.2));
}

.upcoming-card__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  opacity: 0.32;
  filter: brightness(1.05) contrast(1.15);
  z-index: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.4s ease, filter 0.3s ease;
}

.upcoming-card:hover {
  transform: none;
  background: rgba(26, 20, 42, 0.75);
  border-color: color-mix(in srgb, var(--game-color, var(--gold)) 60%, #f59e0b);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5), 0 0 20px color-mix(in srgb, var(--game-color, var(--gold)) 25%, transparent);
}

.upcoming-card:hover .upcoming-card__bg {
  opacity: 0.38;
  filter: brightness(0.95) contrast(1.15);
  transform: scale(1.06);
}

.upcoming-card__content {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.upcoming-card__date-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.25rem;
  width: 100%;
  position: relative;
  z-index: 1;
}

.upcoming-card__date {
  font-size: 0.62rem;
  font-weight: 800;
  color: var(--game-color);
  letter-spacing: 0.05em;
}

.upcoming-card__badges-group {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.upcoming-card__event-badge {
  font-family: inherit;
  font-size: 0.54rem;
  font-weight: 800;
  padding: 0.1rem 0.38rem;
  border-radius: 4px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  line-height: 1;
  user-select: none;
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
}

.upcoming-card__event-badge:hover {
  transform: translateY(-1px) scale(1.06);
  box-shadow: 0 0 10px currentColor;
  filter: brightness(1.2);
}

.upcoming-card__event-badge--event {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
  border-color: rgba(245, 158, 11, 0.45);
}

.upcoming-card__event-badge--stream {
  background: rgba(147, 51, 234, 0.2);
  color: #c084fc;
  border-color: rgba(147, 51, 234, 0.45);
}

.upcoming-card__event-badge--race {
  background: rgba(236, 72, 153, 0.2);
  color: #f472b6;
  border-color: rgba(236, 72, 153, 0.45);
}

.upcoming-card__event-badge--drops {
  background: rgba(168, 85, 247, 0.2);
  color: #a855f7;
  border-color: rgba(168, 85, 247, 0.45);
}

.upcoming-card__event-badge--ptr {
  background: rgba(52, 211, 153, 0.2);
  color: #34d399;
  border-color: rgba(52, 211, 153, 0.45);
}

.upcoming-card__event-badge--collab {
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
  border-color: rgba(59, 130, 246, 0.45);
}

.upcoming-card__event-badge--exp {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.45);
}

.upcoming-card__event-badge--server {
  background: rgba(20, 184, 166, 0.2);
  color: #2dd4bf;
  border-color: rgba(20, 184, 166, 0.45);
}

.upcoming-card__hype-badge {
  background: #ea580c;
  color: #ffffff;
  font-size: 0.52rem;
  font-weight: 900;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  letter-spacing: 0.03em;
  box-shadow: 0 0 8px rgba(234, 88, 12, 0.4);
}

.upcoming-card__game-name {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
  white-space: nowrap;
  position: relative;
  z-index: 1;
}

.upcoming-card__game-link,
.unified-card__game-link {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.upcoming-card__game-link:hover,
.unified-card__game-link:hover {
  opacity: 0.85;
}

.upcoming-card__season-name {
  font-size: 0.68rem;
  color: rgba(226, 232, 240, 0.75);
  margin-top: 0.2rem;
  margin-bottom: 0.2rem;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  position: relative;
  z-index: 1;
}

.upcoming-card__season-subtext {
  font-size: 0.72rem;
  font-weight: 600;
  color: #f1f5f9;
  line-height: 1.35;
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

/* Equal-width 4-column countdown timer */
.upcoming-card__countdown {
  display: flex;
  gap: 0.25rem;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 0.5rem;
  width: 100%;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}

.upcoming-card__countdown-item {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(0, 0, 0, 0.15);
  border-radius: var(--radius-xs);
  padding: 0.2rem 0;
}

.upcoming-card__countdown-item strong {
  font-size: 0.78rem;
  font-weight: 800;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

.upcoming-card__countdown-item span {
  font-size: 0.48rem;
  color: var(--muted);
  text-transform: uppercase;
  font-weight: 700;
  margin-top: 0.02rem;
}

/* Layer 3: Character Art with Gradient Mask */
.upcoming-card__art {
  position: absolute;
  right: -10px;
  bottom: -10px;
  width: 140px;
  height: 160px;
  pointer-events: none;
  z-index: 3;
  mask-image: linear-gradient(to top, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%),
              linear-gradient(to left, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%),
                      linear-gradient(to left, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
  mask-composite: intersect;
  -webkit-mask-composite: source-in;
}

.upcoming-card__art-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom right;
}

/* ===== UNIFIED COMBINED GAME CARD (.unified-card) ===== */
.unified-card {
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius-md);
  background: var(--panel-strong);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
  cursor: pointer;
}

.unified-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--game-color, var(--gold)) 70%, #ffffff);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 20px color-mix(in srgb, var(--game-color, var(--gold)) 25%, transparent);
}

.unified-card__top {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.unified-card__header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.unified-card__game-title-group {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.unified-card__icon-box {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-xs);
  overflow: hidden;
}

.unified-card__logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.unified-card__emoji {
  font-size: 1.2rem;
}

.unified-card__game-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text);
  margin: 0;
  font-family: var(--font);
}

.unified-card__season-info {
  font-size: 0.82rem;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.unified-card__season-label {
  color: var(--muted);
  font-size: 0.78rem;
}

.unified-card__season-title {
  color: #ffffff;
  font-weight: 600;
}

.unified-card__progress-block {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.15rem;
}

.unified-card__progress-bar-bg {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.unified-card__progress-bar-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.4s ease;
}

.unified-card__progress-val {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--text);
  min-width: 32px;
  text-align: right;
  font-family: var(--font);
}

.unified-card__divider {
  height: 1px;
  background: var(--border-soft);
  width: 100%;
}

.unified-card__bottom {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.unified-card__next-header {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.unified-card__next-eyebrow {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.unified-card__countdown {
  display: flex;
  width: 100%;
  gap: 0.5rem;
  justify-content: space-between;
}

.unified-card__countdown .upcoming-card__countdown-item {
  flex: 1;
  min-width: 0;
  text-align: center;
  padding: 0.45rem 0.35rem;
  background: rgba(10, 10, 18, 0.85);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xs);
}

.unified-card__countdown .upcoming-card__countdown-item strong {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  display: block;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

[data-countdown],
[data-countdown-display] {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

.unified-card__countdown .upcoming-card__countdown-item span {
  font-size: 0.55rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: block;
  margin-top: 0.1rem;
}

.unified-card__event-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.15rem;
}

.unified-card__next-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
  flex: 1;
}

.unified-card__footer-row {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: 0.15rem;
}

.unified-card__arrow-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-xs);
  background: color-mix(in srgb, var(--game-color, var(--accent)) 20%, rgba(255, 255, 255, 0.05));
  border: 1px solid color-mix(in srgb, var(--game-color, var(--accent)) 40%, rgba(255, 255, 255, 0.15));
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-normal);
  z-index: 2;
  position: relative;
}

.unified-card__arrow-btn:hover {
  background: var(--game-color, var(--accent));
  color: #ffffff;
  border-color: var(--game-color, var(--accent));
  box-shadow: 0 4px 14px color-mix(in srgb, var(--game-color, var(--accent)) 45%, transparent);
}

.unified-card__arrow-btn:hover .unified-card__arrow-icon {
  transform: translateX(3px);
}

.unified-card__arrow-icon {
  transition: transform var(--transition-fast);
}

/* ===== GAME DETAIL PAGE SECTIONS (SEASON TIMELINE & USEFUL LINKS) ===== */

/* Season Timeline Table & Official Source Button */
.history-table {
  width: 100%;
  border-collapse: collapse;
}

.history-table th,
.history-table td {
  padding: 0.75rem 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.history-table tbody tr:hover {
  background-color: rgba(255, 255, 255, 0.03);
}

.history-table__link,
.official-source-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  border-radius: var(--radius-xs);
  color: var(--text-accent);
  text-decoration: none;
  font-size: 0.825rem;
  font-weight: 600;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.history-table__link:hover,
.official-source-btn:hover {
  background: var(--accent-glow);
  border-color: var(--text-accent);
  color: #ffffff;
}

/* Useful Links Grid & Cards */
.game-card__links-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  padding: 0.5rem 0;
}

.game-card__link-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.03);
  transition: background 0.2s, border-color 0.2s;
}

.game-card__link-item:hover {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(99, 102, 241, 0.18);
}

.game-card__link-category {
  font-size: 0.6rem;
  text-transform: uppercase;
  color: var(--muted-strong);
  letter-spacing: 0.08em;
}

.game-card__link-anchor {
  font-size: 0.85rem;
  font-weight: 700;
  color: #f8fafc;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.15s;
}

.game-card__link-anchor:hover {
  color: var(--color-primary, #a5b4fc);
}

.game-card__link-anchor::after {
  content: '↗';
  font-size: 0.8em;
  opacity: 0.7;
}



/* --- Module: cards-desktop.css (desktop/styles/cards-desktop.css) --- */
/* ==========================================================================
   SeasonForge Desktop Styles — Cards & Presentation Layer
   Viewport Target: Desktop (min-width: 901px)
   Features: 3D parallax, 5-col benchmark grid, rich hover states, character art
   ========================================================================== */

@media (min-width: 901px) {
  /* Desktop Feed: Show only active game card, fallback to first */
  .game-feed .sf-desktop-card {
    display: none;
  }
  .game-feed .sf-desktop-card.game-card--active,
  .game-feed:not(:has(.game-card--active)) .sf-desktop-card:first-child {
    display: block;
  }

  /* 3D Depth & Container */
  .sf-desktop-card {
    position: relative;
    perspective: 1000px;
    transform-style: preserve-3d;
  }

  /* Two-column body layout */
  .sf-desktop-card .game-card__body {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
  }

  /* 5-Column Benchmark Grid for Upcoming Launches */
  .upcoming-launches__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.75rem;
  }

  /* Character Art with Dual Gradient Mask */
  .upcoming-card__art {
    display: block !important;
    position: absolute;
    right: -10px;
    bottom: -15px;
    height: 140px;
    width: auto;
    object-fit: contain;
    pointer-events: none;
    z-index: 1;
    mask-image: linear-gradient(to top, transparent 0%, black 35%, black 75%, transparent 100%),
                linear-gradient(to left, black 60%, transparent 100%);
    -webkit-mask-image: linear-gradient(to top, transparent 0%, black 35%, black 75%, transparent 100%),
                        linear-gradient(to left, black 60%, transparent 100%);
    mask-composite: intersect;
    -webkit-mask-composite: source-in;
    opacity: 0.45;
    transform: translateZ(0);
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .upcoming-card:hover .upcoming-card__art {
    opacity: 0.85;
    transform: translateY(-4px) scale(1.04);
  }

  /* 4-Column Useful Links Grid on Desktop */
  .game-card__links-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    padding: 0.5rem 0;
  }

  /* Desktop Events Tray & Badges */
  .sf-desktop-card .game-card__events-tray {
    margin-top: 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
  }

  .sf-desktop-card .game-card__events-header {
    margin-bottom: 0.15rem;
  }

  .sf-desktop-card .game-card__events-label {
    font-size: 0.68rem;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-family: var(--font);
  }

  .sf-desktop-card .game-card__events-list {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
  }

  .sf-desktop-card .game-card__event-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0;
    font-size: 0.82rem;
    line-height: 1.3;
    width: 100%;
  }

  .sf-desktop-card .game-card__event-tag {
    font-size: 0.62rem;
    font-weight: 700;
    padding: 0.12rem 0.45rem;
    border-radius: 4px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    flex-shrink: 0;
  }

  .sf-desktop-card .game-card__event-tag--event {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.35);
  }

  .sf-desktop-card .game-card__event-tag--launch {
    background: rgba(99, 102, 241, 0.15);
    color: #818cf8;
    border: 1px solid rgba(99, 102, 241, 0.35);
  }

  .sf-desktop-card .game-card__event-tag--ptr {
    background: rgba(52, 211, 153, 0.15);
    color: #34d399;
    border: 1px solid rgba(52, 211, 153, 0.35);
  }

  .sf-desktop-card .game-card__event-tag--exp {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.35);
  }

  .sf-desktop-card .game-card__event-tag--race {
    background: rgba(168, 85, 247, 0.15);
    color: #c084fc;
    border: 1px solid rgba(168, 85, 247, 0.35);
  }

  .sf-desktop-card .game-card__event-row-title {
    color: #cbd5e1;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .sf-desktop-card .game-card__event-row-date {
    margin-left: auto;
    color: #94a3b8;
    font-size: 0.76rem;
    white-space: nowrap;
    flex-shrink: 0;
  }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .upcoming-launches__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}


/* --- Module: cards-mobile.css (mobile/styles/cards-mobile.css) --- */
/* ==========================================================================
   SeasonForge Mobile Styles — Cards & Presentation Layer
   Viewport Target: Mobile & Tablets (max-width: 900px)
   Features: Compact vertical stack, 48px touch targets, zero heavy 3D art
   ========================================================================== */

@media (max-width: 900px) {
  /* Mobile Feed: Vertical stream of mobile cards */
  .game-feed {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    width: 100%;
  }

  .game-feed .sf-mobile-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(18, 14, 28, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    position: relative;
    overflow: hidden;
  }

  .game-feed .sf-mobile-card .game-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0 0.85rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 0.75rem;
    background: transparent;
  }

  .sf-mobile-card .game-card__title-block {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 0.5rem;
  }

  .sf-mobile-card .game-card__badge-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    order: 2;
    margin: 0;
  }

  .sf-mobile-card .game-card__title {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #ffffff;
    margin: 0;
    order: 1;
  }

  .sf-mobile-card .game-card__subtitle,
  .sf-mobile-card .game-card__source-info,
  .sf-mobile-card .game-card__watermark {
    display: none;
  }

  /* Single Column Body for Mobile */
  .sf-mobile-card .game-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    grid-template-columns: 1fr;
  }

  /* Panels (Current Season & Next Season) */
  .sf-mobile-card .game-card__panel--main,
  .sf-mobile-card .game-card__panel--side {
    background: rgba(12, 10, 22, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 1rem 1.15rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
  }

  .sf-mobile-card .game-card__label,
  .sf-mobile-card .game-card__side-label {
    font-size: 0.64rem;
    font-weight: 600;
    color: #64748b;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .sf-mobile-card .game-card__season {
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -0.01em;
    color: #f8fafc;
    margin: 0;
    font-family: var(--font);
  }

  .sf-mobile-card .game-card__side-season-name {
    font-size: 1.02rem;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -0.01em;
    color: #e2e8f0;
    margin: 0;
    font-family: var(--font);
  }

  .sf-mobile-card .game-card__side-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  .sf-mobile-card .game-card__meta-row,
  .sf-mobile-card .game-card__side-date-row {
    font-size: 0.82rem;
    color: #94a3b8;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 0.4rem;
  }

  .sf-mobile-card .game-card__meta-row span:last-child,
  .sf-mobile-card .game-card__side-date {
    color: #cbd5e1;
    font-weight: 500;
  }

  /* Progress Bar Layout */
  .sf-mobile-card .game-card__progress-block {
    margin-top: 0.4rem;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
  }

  .sf-mobile-card .game-card__progress-meta {
    margin: 0;
    font-size: 0.82rem;
    color: #94a3b8;
    font-weight: 400;
    line-height: 1.2;
  }

  .sf-mobile-card .game-card__progress-meta span {
    color: #94a3b8;
  }

  .sf-mobile-card .progress-bar {
    display: flex;
    flex-direction: column;
    position: relative;
  }

  .sf-mobile-card .progress-bar__label {
    position: absolute;
    top: -1.35rem;
    right: 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    text-shadow: none;
    font-family: var(--font);
    display: block;
  }

  .sf-mobile-card .progress-bar__label::after {
    display: none !important;
    content: none !important;
  }

  .sf-mobile-card .progress-bar__track {
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    margin-top: 0.15rem;
  }

  /* Events Tray & Pills on Mobile */
  .sf-mobile-card .game-card__events-tray {
    margin-top: 0.35rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
  }

  .sf-mobile-card .game-card__events-label {
    font-size: 0.62rem;
    font-weight: 600;
    color: #64748b;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }

  .sf-mobile-card .game-card__events-list {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
  }

  .sf-mobile-card .game-card__event-pill {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 0.55rem 0.75rem;
  }

  .sf-mobile-card .game-card__event-pill-header {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    width: 100%;
  }

  .sf-mobile-card .game-card__event-icon {
    font-size: 0.85rem;
    line-height: 1.35;
    flex-shrink: 0;
  }

  .sf-mobile-card .game-card__event-title {
    font-size: 0.84rem;
    font-weight: 500;
    color: #e2e8f0;
    line-height: 1.35;
    flex: 1;
  }

  .sf-mobile-card .game-card__event-date {
    font-size: 0.72rem;
    font-weight: 400;
    color: #64748b;
    padding-left: 1.3rem;
    display: block;
  }

  /* 4 Countdown Boxes in 1 Row with Colons */
  .sf-mobile-card .game-card__countdown {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 0.3rem;
    margin-top: 0.5rem;
    width: 100%;
  }

  .sf-mobile-card .game-card__countdown-item {
    flex: 1;
    min-width: 0;
    background: rgba(18, 16, 32, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 0.5rem 0.2rem;
    text-align: center;
    position: relative;
  }

  .sf-mobile-card .game-card__countdown-item:not(:last-child)::after {
    content: ':';
    position: absolute;
    right: -6px;
    top: 25%;
    color: rgba(255, 255, 255, 0.2);
    font-weight: 400;
    font-size: 0.95rem;
    z-index: 2;
  }

  .sf-mobile-card .game-card__countdown-item strong {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    display: block;
    line-height: 1;
    font-family: var(--font);
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
  }

  .sf-mobile-card .game-card__countdown-item span {
    font-size: 0.52rem;
    font-weight: 500;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    display: block;
    margin-top: 0.25rem;
  }

  /* Developer Block Link */
  .sf-mobile-card .game-card__developer {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    background: rgba(12, 10, 22, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 0.75rem 1rem;
    margin-top: 0.4rem;
    position: relative;
    text-decoration: none;
    cursor: pointer;
    transition: background var(--transition-normal), border-color var(--transition-normal), transform var(--transition-fast);
  }

  .sf-mobile-card .game-card__developer:hover,
  .sf-mobile-card .game-card__developer:active {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.18);
    transform: translateY(-1px);
  }

  .sf-mobile-card .game-card__developer::after {
    content: '›';
    position: absolute;
    right: 1.1rem;
    font-size: 1.3rem;
    color: #64748b;
    font-weight: 400;
    transition: color var(--transition-fast), transform var(--transition-fast);
  }

  .sf-mobile-card .game-card__developer:hover::after {
    color: #f8fafc;
    transform: translateX(2px);
  }

  .sf-mobile-card .game-card__developer-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    flex-shrink: 0;
    transition: color var(--transition-fast), background var(--transition-fast);
  }

  .sf-mobile-card .game-card__developer:hover .game-card__developer-icon {
    color: #cbd5e1;
    background: rgba(255, 255, 255, 0.1);
  }

  .sf-mobile-card .game-card__developer-info {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
  }

  .sf-mobile-card .game-card__developer-label {
    font-size: 0.6rem;
    font-weight: 600;
    color: #64748b;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .sf-mobile-card .game-card__developer-name {
    font-size: 0.92rem;
    font-weight: 500;
    color: #cbd5e1;
    transition: color var(--transition-fast);
  }

  .sf-mobile-card .game-card__developer:hover .game-card__developer-name {
    color: #ffffff;
  }

  .sf-mobile-card .game-card__link {
    display: none;
  }

  /* Compact Upcoming Grid (2 columns on tablet, 1 on small mobile) */
  .upcoming-launches__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  /* Mobile Benchmark Rule: Completely hide heavy 3D character art */
  .upcoming-card__art {
    display: none !important;
  }

  .upcoming-card__bg {
    object-position: right center !important;
    opacity: 0.36 !important;
    filter: brightness(1.1) contrast(1.15) !important;
  }

  /* Responsive History Table to Mobile Cards */
  .history-table {
    display: block;
    width: 100%;
  }

  .history-table thead {
    display: none;
  }

  .history-table tbody {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }

  .history-table tr {
    display: flex;
    flex-direction: column;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0.85rem 1rem;
    gap: 0.35rem;
  }

  .history-table td {
    padding: 0;
    border-bottom: none;
  }

  .history-table td:first-child {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
  }

  .history-table td:nth-child(2),
  .history-table td:nth-child(3),
  .history-table td:nth-child(4) {
    font-size: 0.82rem;
    color: #cbd5e1;
  }

  .history-table td[data-label]::before {
    content: attr(data-label) ': ';
    color: var(--muted);
    font-weight: 600;
  }

  .history-table td:not([data-label]):nth-child(2)::before {
    content: 'Старт: ';
    color: var(--muted);
    font-weight: 600;
  }

  .history-table td:not([data-label]):nth-child(3)::before {
    content: 'Конец: ';
    color: var(--muted);
    font-weight: 600;
  }

  .history-table td:not([data-label]):nth-child(4)::before {
    content: 'Длительность: ';
    color: var(--muted);
    font-weight: 600;
  }

  html[data-active-lang="en"] .history-table td:not([data-label]):nth-child(2)::before { content: 'Start: '; }
  html[data-active-lang="en"] .history-table td:not([data-label]):nth-child(3)::before { content: 'End: '; }
  html[data-active-lang="en"] .history-table td:not([data-label]):nth-child(4)::before { content: 'Duration: '; }

  .history-table td:nth-child(5) {
    margin-top: 0.25rem;
  }

  /* Useful Links Grid */
  .game-card__links-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .upcoming-launches__grid {
    grid-template-columns: 1fr !important;
  }

  .game-card__links-grid {
    grid-template-columns: 1fr;
  }
}


/* --- Module: timeline.css (styles/v2/timeline.css) --- */
/* SeasonForge CSS v2 — Timeline Module */

.timeline-view-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.timeline-card {
  position: relative;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-top: 0;
  background: var(--panel);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px) saturate(130%) brightness(1.05);
  -webkit-backdrop-filter: blur(18px) saturate(130%) brightness(1.05);
}

.timeline-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border-soft);
  gap: 1rem;
  flex-wrap: wrap;
}

.timeline-card__header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

/* --- Seamless Integrated Switcher embedded right inside Card Header --- */
.timeline-integrated-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 24px;
  padding: 3px;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.45);
}

.timeline-switcher-tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.32rem 0.85rem;
  font-family: inherit;
  font-size: 0.725rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-muted, #94a3b8);
  border-radius: 20px;
  z-index: 2;
  cursor: pointer;
  user-select: none;
  transition: color 0.25s ease;
  -webkit-tap-highlight-color: transparent;
}

.timeline-switcher-tab .switcher-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), color 0.25s ease, filter 0.25s ease;
}

.timeline-switcher-tab:hover:not(.active) {
  color: #f1f5f9;
}

.timeline-switcher-tab:hover:not(.active) .switcher-icon {
  transform: scale(1.06);
}

/* Active State */
.timeline-switcher-tab.active {
  color: #ffffff;
}

.timeline-switcher-tab.active[data-mode="seasons"],
.timeline-switcher-tab.active#tab-mode-seasons {
  color: #fef08a;
}

.timeline-switcher-tab.active[data-mode="seasons"] .switcher-icon,
.timeline-switcher-tab.active#tab-mode-seasons .switcher-icon {
  color: #f59e0b;
  filter: drop-shadow(0 0 5px rgba(245, 158, 11, 0.5));
  transform: scale(1.08);
}

.timeline-switcher-tab.active[data-mode="events"],
.timeline-switcher-tab.active#tab-mode-events {
  color: #ffffff;
}

.timeline-switcher-tab.active[data-mode="events"] .switcher-icon,
.timeline-switcher-tab.active#tab-mode-events .switcher-icon {
  color: #c084fc;
  filter: drop-shadow(0 0 5px rgba(168, 85, 247, 0.5));
  transform: scale(1.08);
}

/* Sliding Glowing Pill Slider */
.timeline-switcher-slider {
  position: absolute;
  top: 3px;
  left: 3px;
  height: calc(100% - 6px);
  border-radius: 20px;
  pointer-events: none;
  z-index: 1;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), width 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.16), rgba(245, 158, 11, 0.06));
  border: 1px solid rgba(245, 158, 11, 0.38);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.2);
}

.timeline-switcher-slider.is-events {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.16), rgba(168, 85, 247, 0.06));
  border: 1px solid rgba(168, 85, 247, 0.38);
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.2);
}

.timeline-card__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: #e6eefb;
  letter-spacing: 0.02em;
}

.timeline-card__caption {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.timeline-card__year-badge {
  background: rgba(139, 92, 246, 0.15);
  color: var(--accent);
  border: 1px solid rgba(139, 92, 246, 0.3);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-xs);
  font-size: 0.75rem;
  font-weight: 700;
}

/* Horizontal Map Grid */
.timeline-map__scroll-container {
  width: 100%;
  overflow-x: auto;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-sm);
}

.timeline-map__grid {
  --timeline-offset: 180px;
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 2.25rem 1.25rem 1.25rem 1.25rem;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 0 30px rgba(139, 92, 246, 0.06);
  min-width: 760px;
}

.timeline-map__months {
  display: flex;
  margin-left: var(--timeline-offset, 180px);
  padding-left: 12px;
  padding-right: 20px;
  border-bottom: 1px solid var(--border-soft);
  padding-bottom: 0.75rem;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.timeline-map__month {
  flex: 1;
  text-align: center;
  font-size: 0.66rem;
  font-weight: 600;
  color: var(--muted-strong);
  letter-spacing: 0.05em;
  opacity: 0.5;
  transition: all var(--transition-normal);
}

.timeline-map__month--adjacent {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  opacity: 0.85;
}

.timeline-map__month--current {
  font-size: 0.82rem;
  font-weight: 800;
  color: #a78bfa;
  opacity: 1;
  text-shadow: 0 0 10px rgba(167, 139, 250, 0.35);
}

.timeline-map__grid-lines {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--timeline-offset, 180px) + 12px);
  right: 20px;
  display: flex;
  pointer-events: none;
  z-index: 1;
}

.timeline-map__grid-line {
  flex: 1;
  border-right: 1px dashed rgba(255, 255, 255, 0.03);
}

.timeline-map__rows {
  position: relative;
  z-index: 2;
}

.timeline-map__row {
  display: flex;
  align-items: center;
  margin-bottom: 1.75rem;
  position: relative;
  padding: 0.4rem 0.5rem;
  margin-left: -0.5rem;
  margin-right: -0.5rem;
  border-radius: var(--radius-xs);
  transition: background-color var(--transition-normal), box-shadow var(--transition-normal);
}

.timeline-map__row:last-child {
  margin-bottom: 0.5rem;
}

.timeline-map__row:hover {
  background: color-mix(in srgb, var(--game-color) 7%, rgba(255, 255, 255, 0.02));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--game-color) 20%, transparent);
}

.timeline-map__row-label {
  width: 180px;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  cursor: pointer;
}

.timeline-map__row-logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
  transition: transform var(--transition-fast);
}

.timeline-map__row-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
}

.timeline-map__row-track {
  flex: 1;
  position: relative;
  height: 24px;
  margin-left: 12px;
  margin-right: 20px;
  display: flex;
  align-items: center;
}

/* Season Lines & Color Bars */
.timeline-bar {
  position: absolute;
  border-radius: 999px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}

.timeline-bar--past {
  height: 4px;
  background: var(--game-color);
  opacity: 0.35;
}

.timeline-bar--current-elapsed {
  height: 4px;
  background: var(--game-color);
  opacity: 0.55;
}

.timeline-bar--current-remaining {
  height: 4px;
  background: var(--game-color);
  opacity: 1;
  box-shadow: 0 0 10px color-mix(in srgb, var(--game-color) 65%, transparent);
}

.timeline-bar--future {
  height: 2px;
  border-radius: 0;
  border: none;
  background-image: linear-gradient(to right, color-mix(in srgb, var(--game-color) 60%, transparent) 55%, transparent 55%);
  background-size: 8px 2px;
  background-repeat: repeat-x;
  opacity: 0.85;
}

.timeline-bar__title {
  position: absolute;
  bottom: 12px;
  left: 0;
  font-size: 0.65rem;
  font-weight: 700;
  white-space: nowrap;
  color: color-mix(in srgb, var(--game-color) 90%, #ffffff);
  background: rgba(11, 15, 25, 0.82);
  border: 1px solid color-mix(in srgb, var(--game-color) 30%, rgba(255, 255, 255, 0.1));
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  pointer-events: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  line-height: 1;
}

/* Season Circle Nodes */
.timeline-circle {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #090d16;
  border: 3px solid var(--game-color);
  transform: translate(-50%, -50%);
  top: 50%;
  z-index: 5;
  box-shadow: 0 0 8px var(--game-color);
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.timeline-circle:hover {
  transform: translate(-50%, -50%) scale(1.35);
  background-color: var(--game-color);
}

.timeline-circle__label {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.65rem;
  font-weight: 700;
  color: color-mix(in srgb, var(--game-color) 90%, #ffffff);
  background: rgba(11, 15, 25, 0.85);
  border: 1px solid color-mix(in srgb, var(--game-color) 35%, rgba(255, 255, 255, 0.1));
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  white-space: nowrap;
  pointer-events: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  line-height: 1;
}

.timeline-circle__date {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.6rem;
  font-weight: 600;
  color: #94a3b8;
  background: rgba(11, 15, 25, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 0.08rem 0.35rem;
  border-radius: 4px;
  white-space: nowrap;
  pointer-events: none;
  line-height: 1;
}

/* NOW indicator line */
.timeline-map__now-line {
  position: absolute;
  top: 1.8rem;
  bottom: 0.5rem;
  width: 1px;
  background: linear-gradient(180deg, rgba(167, 139, 250, 0.9) 0%, rgba(139, 92, 246, 0.5) 30%, rgba(139, 92, 246, 0.18) 75%, transparent 100%);
  box-shadow: 0 0 4px rgba(167, 139, 250, 0.4);
  z-index: 12;
  pointer-events: none;
  transform: translateX(-50%);
}

.timeline-map__now-badge {
  position: absolute;
  top: -1.35rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(99, 102, 241, 0.85);
  border: 1px solid rgba(199, 210, 254, 0.35);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 0.52rem;
  font-weight: 800;
  padding: 0.08rem 0.38rem;
  border-radius: 999px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 0 8px rgba(99, 102, 241, 0.4);
  white-space: nowrap;
}

/* Floating Timeline Tooltip Popup */
.timeline-tooltip,
#timeline-tooltip {
  position: fixed !important;
  z-index: 9999 !important;
  background: rgba(10, 15, 30, 0.95);
  border: 1px solid rgba(139, 92, 246, 0.35);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.75), 0 0 20px rgba(139, 92, 246, 0.15);
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-sm);
  pointer-events: none;
  font-family: var(--font);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  max-width: 290px;
  width: auto;
  box-sizing: border-box;
}

.timeline-tooltip__title {
  font-size: 0.85rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.25rem;
  letter-spacing: 0.02em;
}

.timeline-tooltip__season {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 0.35rem;
}

.timeline-tooltip__detail {
  font-size: 0.68rem;
  color: #cbd5e1;
  margin-bottom: 0.2rem;
  line-height: 1.4;
}

.timeline-tooltip__detail strong {
  color: var(--muted);
  font-weight: 600;
}

/* Mobile responsive fixes for Timeline */
@media (max-width: 768px) {
  .timeline-map__grid {
    --timeline-offset: 48px;
    min-width: 680px;
  }
  .timeline-map__row-label {
    width: 48px;
  }
  .timeline-map__row-name {
    display: none;
  }
  .timeline-map__months {
    margin-left: 48px;
  }
}


/* --- Module: modals.css (styles/v2/modals.css) --- */
/* SeasonForge CSS v2 — Modals Module */

/* Base Modal Container & Hidden Utility */
.modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: var(--z-modal);
}

.modal--hidden,
.modal[hidden] {
  display: none !important;
}

/* Modal Overlay Base styling */
.modal-overlay,
.modal-backdrop,
.modal__backdrop,
.feedback-modal-overlay,
.streamer-modal-overlay,
.more-menu-overlay,
.mobile-app-modal-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 6, 14, 0.82);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  z-index: var(--z-modal-backdrop);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

/* Visible Modal Overlays */
.modal-overlay--visible,
.feedback-modal-overlay--visible,
.streamer-modal-overlay--visible,
.more-menu-overlay--visible,
.mobile-app-modal-overlay--visible {
  opacity: 1;
  pointer-events: auto;
  display: flex;
}

/* Modal Container Box */
.modal-container,
.modal__content,
.feedback-modal-container,
.streamer-modal-container,
.more-menu-panel,
.mobile-app-modal {
  position: relative;
  z-index: var(--z-modal);
  background: var(--panel-strong);
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-top: 1px solid rgba(167, 139, 250, 0.35);
  border-radius: var(--radius-xl);
  padding: 1.75rem 1.5rem;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-card), 0 0 50px rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  transform: scale(0.95);
  transition: transform var(--transition-normal);
  box-sizing: border-box;
}

.modal-overlay--visible .modal-container,
.feedback-modal-overlay--visible .feedback-modal-container,
.streamer-modal-overlay--visible .streamer-modal-container,
.more-menu-overlay--visible .more-menu-panel,
.mobile-app-modal-overlay--visible .mobile-app-modal,
.feedback-modal-overlay--visible .mobile-app-modal {
  transform: scale(1);
}

.modal__close,
.modal-close,
.modal-close-btn,
.mobile-app-modal__close,
.feedback-modal__close,
.streamer-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  border: none;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-size: 1.1rem;
  cursor: pointer;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  transition: all var(--transition-fast);
}

.modal__close:hover,
.modal-close:hover,
.modal-close-btn:hover,
.mobile-app-modal__close:hover,
.feedback-modal__close:hover,
.streamer-modal__close:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text);
}

.modal__title,
.modal-header h3,
.mobile-app-modal__title,
.feedback-modal__title {
  margin: 0 0 0.6rem;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text);
}

/* ===== MORE MENU MODAL STYLES ===== */
.more-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.more-menu-title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text);
  font-family: var(--font);
}

.more-menu-grid {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.more-menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.1rem;
  background: rgba(18, 15, 34, 0.8);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  font-family: var(--font);
  cursor: pointer;
  width: 100%;
  text-align: left;
  transition: all var(--transition-fast);
  box-sizing: border-box;
}

.more-menu-item:hover {
  background: var(--accent-soft);
  border-color: color-mix(in srgb, var(--accent) 40%, transparent);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px var(--accent-glow);
}

.more-menu-item__left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.more-menu-item__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-xs);
  background: var(--accent-soft);
  color: var(--text-accent);
  flex-shrink: 0;
}

.more-menu-item__label {
  font-family: var(--font);
  font-weight: 600;
}

.more-menu-item__arrow {
  display: inline-flex;
  align-items: center;
  color: var(--muted-strong);
  transition: color var(--transition-fast), transform var(--transition-fast);
  flex-shrink: 0;
}

.more-menu-item:hover .more-menu-item__arrow {
  color: var(--text-accent);
  transform: translateX(3px);
}

.modal__body,
.modal-body,
.mobile-app-modal__body {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* Mobile App Promo Modal Elements */
.mobile-app-modal__header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.mobile-app-modal__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.mobile-app-modal__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
}

.mobile-app-modal__footer {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.mobile-app-modal__btn {
  flex: 1;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-xs);
  font-weight: 700;
  font-size: 0.82rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.mobile-app-modal__btn--primary {
  background: linear-gradient(135deg, var(--accent), #4f46e5);
  color: #fff;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
}

.mobile-app-modal__btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(99, 102, 241, 0.5);
}

.mobile-app-modal__btn--secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--muted);
}

.mobile-app-modal__btn--secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

/* --- OBS WIDGET CONFIGURATOR MODAL & CUSTOM DROPDOWNS --- */

.streamer-modal-container,
.obs-modal-card {
  max-width: 780px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  background: linear-gradient(145deg, var(--bg-deep) 0%, var(--bg) 100%);
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-top: 1px solid rgba(167, 139, 250, 0.4);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card), 0 0 50px rgba(139, 92, 246, 0.15);
  padding: 1.75rem 2rem;
}

.obs-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.obs-modal-title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

/* Controls 2-column Grid */
.obs-controls-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.25rem;
}

@media (max-width: 640px) {
  .obs-controls-grid {
    grid-template-columns: 1fr;
  }
}

.obs-form-group {
  display: flex;
  flex-direction: column;
}

.obs-form-label {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #94a3b8;
  letter-spacing: 0.08em;
  margin-bottom: 0.45rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.obs-select-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.obs-select-icon {
  position: absolute;
  left: 0.75rem;
  color: #a78bfa;
  pointer-events: none;
  display: flex;
  align-items: center;
}

.obs-select {
  width: 100%;
  background: rgba(15, 20, 36, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  color: #f1f5f9;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.65rem 0.75rem 0.65rem 2.35rem;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  transition: all 0.2s ease;
  cursor: pointer;
  box-sizing: border-box;
}

.obs-select option {
  background: #150f28;
  color: #f1f5f9;
  padding: 0.5rem;
}

.obs-select:focus {
  outline: none;
  border-color: #8b5cf6;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.25);
}

/* Glassmorphic Custom Dropdown */
.custom-dropdown {
  position: relative;
  width: 100%;
}

.custom-dropdown__trigger {
  width: 100%;
  background: rgba(18, 15, 34, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  color: #f1f5f9;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.65rem 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-sizing: border-box;
}

.custom-dropdown__trigger:hover {
  background: rgba(28, 23, 52, 0.95);
  border-color: rgba(139, 92, 246, 0.5);
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.15);
}

.custom-dropdown.is-open .custom-dropdown__trigger {
  border-color: #8b5cf6;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.25), 0 4px 20px rgba(0, 0, 0, 0.4);
}

.custom-dropdown__icon {
  color: #a78bfa;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.custom-dropdown__label {
  flex: 1;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.custom-dropdown__arrow {
  color: #94a3b8;
  display: flex;
  align-items: center;
  transition: transform 0.2s ease;
}

.custom-dropdown.is-open .custom-dropdown__arrow {
  transform: rotate(180deg);
  color: #c4b5fd;
}

.custom-dropdown__menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #141026;
  border: 1px solid rgba(139, 92, 246, 0.35);
  border-radius: 12px;
  padding: 0.4rem;
  z-index: 100;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(139, 92, 246, 0.15);
  backdrop-filter: blur(16px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.98);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.custom-dropdown.is-open .custom-dropdown__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.custom-dropdown__item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
  color: #cbd5e1;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
}

.custom-dropdown__item:hover {
  background: rgba(139, 92, 246, 0.18);
  color: #ffffff;
}

.custom-dropdown__item.is-selected {
  background: rgba(139, 92, 246, 0.28);
  color: #c4b5fd;
  font-weight: 600;
}

.custom-dropdown__item-icon {
  color: #a78bfa;
  display: flex;
  align-items: center;
}

/* OBS Modal Footer & Range Input */
.obs-modal-footer {
  margin-top: 1.25rem;
  display: flex;
  justify-content: flex-end;
}

.obs-btn {
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.55rem 1.25rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
}

.obs-btn--secondary {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
}

.obs-btn--secondary:hover {
  background: rgba(139, 92, 246, 0.2);
  border-color: rgba(139, 92, 246, 0.4);
  color: #ffffff;
}

.obs-range-input {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.14);
  outline: none;
  cursor: pointer;
  transition: background 0.15s ease;
}

.obs-range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #8b5cf6;
  border: 2px solid #ffffff;
  box-shadow: 0 0 8px rgba(139, 92, 246, 0.6);
  cursor: pointer;
  transition: all 0.15s ease;
}

.obs-range-input::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  background: #a78bfa;
}

.obs-preview-col {
  display: flex;
  flex-direction: column;
}

.obs-canvas-mockup {
  position: relative;
  width: 100%;
  height: 240px;
  background: #080914 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Crect width='8' height='8' fill='%23111428'/%3E%3Crect x='8' width='8' height='8' fill='%23090b17'/%3E%3Crect y='8' width='8' height='8' fill='%23090b17'/%3E%3Crect x='8' y='8' width='8' height='8' fill='%23111428'/%3E%3C/svg%3E") repeat;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.7);
}

.obs-canvas-mockup--auto {
  height: auto;
  min-height: 170px;
  max-height: 520px;
  padding: 16px;
}

.obs-canvas-watermark {
  position: absolute;
  top: 0.5rem;
  right: 0.65rem;
  font-size: 0.65rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.25);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  pointer-events: none;
  z-index: 10;
}

.obs-iframe-frame {
  position: relative;
  width: 92%;
  height: 88%;
  border: 1.5px solid #8b5cf6;
  border-radius: 10px;
  box-shadow: 0 0 0 1px rgba(139, 92, 246, 0.4), 0 8px 24px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  background-color: #0e1220;
  background-image: 
    linear-gradient(45deg, #1b2238 25%, transparent 25%), 
    linear-gradient(-45deg, #1b2238 25%, transparent 25%), 
    linear-gradient(45deg, transparent 75%, #1b2238 75%), 
    linear-gradient(-45deg, transparent 75%, #1b2238 75%);
  background-size: 16px 16px;
  background-position: 0 0, 0 8px, 8px -8px, -8px 0px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.obs-iframe-frame .obs-standalone-widget {
  transform-origin: center center;
  margin: 0 auto;
}

.obs-iframe-frame--card .obs-standalone-widget {
  width: 420px;
  min-width: 420px;
  transform: scale(0.58);
}

.obs-iframe-frame--countdown .obs-standalone-widget {
  width: 400px;
  min-width: 400px;
  transform: scale(0.7);
}

.obs-iframe-frame--status .obs-standalone-widget {
  width: 400px;
  min-width: 400px;
  transform: scale(0.78);
}

.obs-iframe-frame--timeline .obs-standalone-widget {
  width: 800px;
  min-width: 800px;
  transform: scale(0.38);
}

/* URL Row & Copy Button */
.obs-url-group {
  margin-bottom: 1.25rem;
}

.obs-url-input-wrapper {
  display: flex;
  gap: 0.5rem;
  width: 100%;
}

.obs-url-input {
  flex: 1;
  background: rgba(10, 14, 26, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: #c4b5fd;
  font-family: ui-monospace, monospace;
  font-size: 0.825rem;
  padding: 0.7rem 0.9rem;
  box-sizing: border-box;
}

.obs-copy-btn {
  background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
  border: 1px solid rgba(167, 139, 250, 0.3);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.6rem 1.2rem;
  border-radius: 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.35);
  white-space: nowrap;
  flex-shrink: 0;
}

.obs-copy-btn:hover {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  box-shadow: 0 6px 18px rgba(139, 92, 246, 0.5);
  transform: translateY(-1px);
}

.obs-url-subtext {
  font-size: 0.75rem;
  color: #64748b;
  margin: 0.4rem 0 0 0;
}

/* Guide Card 2-Column Grid & Steps List */
.obs-guide-card {
  background: rgba(18, 14, 38, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 1.25rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  align-items: center;
  margin-bottom: 1.25rem;
}

@media (max-width: 640px) {
  .obs-guide-card {
    grid-template-columns: 1fr;
  }
}

.obs-steps-col__header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.85rem;
}

.obs-steps-col__icon {
  color: #a78bfa;
  display: flex;
  align-items: center;
}

.obs-steps-col__title {
  font-size: 0.725rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #94a3b8;
  letter-spacing: 0.08em;
}

.obs-steps-list {
  list-style: none;
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.obs-steps-list li::marker {
  content: "";
}

.obs-step-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.825rem;
  color: #e2e8f0;
}

.obs-preview-col__header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
}

.obs-preview-col__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
}

.obs-preview-col__title {
  font-size: 0.725rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #94a3b8;
  letter-spacing: 0.08em;
}

.obs-preview-col__size {
  margin-left: auto;
  font-family: ui-monospace, monospace;
  font-size: 0.75rem;
  font-weight: 700;
  color: #a78bfa;
  background: rgba(167, 139, 250, 0.12);
  border: 1px solid rgba(167, 139, 250, 0.25);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
}

/* ===== FEEDBACK MODAL FORM STYLES ===== */
.feedback-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.35rem;
}

.feedback-modal__title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  color: #f8fafc;
  font-family: var(--font, 'Plus Jakarta Sans', sans-serif);
}

.feedback-modal__subtitle {
  margin: 0 0 1.25rem 0;
  font-size: 0.85rem;
  color: #94a3b8;
  line-height: 1.5;
  font-family: var(--font, 'Plus Jakarta Sans', sans-serif);
}

.feedback-form {
  display: flex;
  flex-direction: column;
}

.feedback-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.feedback-form__label {
  font-size: 0.725rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
}

/* Radio Segmented Group */
.feedback-form__radio-group {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 3px;
  box-sizing: border-box;
  width: 100%;
}

.feedback-form__radio-label {
  flex: 1;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  font-size: 0.825rem;
  font-weight: 700;
  color: #94a3b8;
  cursor: pointer;
  user-select: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
  border: 1px solid transparent;
}

.feedback-form__radio-label input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.feedback-form__radio-label:hover {
  color: #f1f5f9;
  background: rgba(255, 255, 255, 0.04);
}

.feedback-form__radio-label:has(input[type="radio"]:checked) {
  background: rgba(99, 102, 241, 0.18);
  color: #ffffff;
  border-color: rgba(139, 92, 246, 0.45);
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.2);
}

/* Textarea & Input */
.feedback-form__textarea,
.feedback-form__input {
  width: 100%;
  box-sizing: border-box;
  background: rgba(10, 14, 24, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-family: var(--font, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.875rem;
  color: #f8fafc;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.feedback-form__textarea::placeholder,
.feedback-form__input::placeholder {
  color: #64748b;
  font-size: 0.85rem;
}

.feedback-form__textarea:focus,
.feedback-form__input:focus {
  border-color: rgba(139, 92, 246, 0.55);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
  background: rgba(12, 16, 28, 0.85);
}

.feedback-form__textarea {
  min-height: 110px;
  resize: vertical;
  line-height: 1.55;
}

.feedback-form__input {
  height: 42px;
}

/* Error Alert */
.feedback-form__error-alert {
  padding: 0.65rem 0.95rem;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: 8px;
  color: #fca5a5;
  font-size: 0.825rem;
  font-weight: 500;
  margin-bottom: 1rem;
  line-height: 1.4;
}

/* Form Buttons */
.feedback-form__buttons {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.feedback-form__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.55rem 1.25rem;
  border-radius: 8px;
  font-family: var(--font, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s ease;
  border: 1px solid transparent;
  outline: none;
}

.feedback-form__btn--cancel {
  background: rgba(255, 255, 255, 0.05);
  color: #94a3b8;
  border-color: rgba(255, 255, 255, 0.08);
}

.feedback-form__btn--cancel:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #f1f5f9;
}

.feedback-form__btn--submit {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(99, 102, 241, 0.35);
}

.feedback-form__btn--submit:hover {
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.5);
}

.feedback-form__btn--submit:active {
  transform: translateY(0);
}

.feedback-form__btn--submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.feedback-form__spinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #ffffff;
  animation: feedbackSpin 0.7s linear infinite;
  display: inline-block;
}

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

/* Success Screen */
.feedback-success-screen {
  text-align: center;
  padding: 2.5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.feedback-success-screen__icon {
  color: #34d399;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.25rem;
}

.feedback-success-screen__title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #f8fafc;
  margin: 0;
  font-family: var(--font, 'Plus Jakarta Sans', sans-serif);
}

.feedback-success-screen__text {
  font-size: 0.875rem;
  color: #94a3b8;
  line-height: 1.5;
  margin: 0;
  max-width: 320px;
  font-family: var(--font, 'Plus Jakarta Sans', sans-serif);
}


/* --- Module: mobile-nav.css (styles/v2/mobile-nav.css) --- */
/* SeasonForge CSS v2 — Mobile Navigation Module */

/* Hidden on Desktop */
.mobile-nav {
  display: none;
}

/* Floating Glassmorphism Mobile Bottom Navigation Dock */
@media (max-width: 900px) {
  body {
    padding-bottom: max(90px, calc(75px + env(safe-area-inset-bottom)));
  }

  #navbar {
    display: none;
  }

  .mobile-nav {
    display: flex;
    position: fixed;
    bottom: max(10px, env(safe-area-inset-bottom));
    left: 12px;
    right: 12px;
    max-width: 480px;
    margin: 0 auto;
    height: 56px;
    background: rgba(18, 20, 32, 0.94);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    z-index: var(--z-modal);
    justify-content: space-around;
    align-items: center;
    padding: 0 0.25rem;
    overflow: hidden;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  }

  .mobile-nav::-webkit-scrollbar {
    display: none;
  }

  .mobile-nav__btn {
    background: transparent;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    color: var(--muted);
    font-family: var(--font);
    cursor: pointer;
    flex: 1;
    height: 100%;
    padding: 4px 0 2px;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast) cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    text-decoration: none;
  }

  .mobile-nav__btn:active {
    transform: scale(0.94);
  }

  .mobile-nav__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    color: var(--muted);
    transition: color var(--transition-fast), transform var(--transition-fast), filter var(--transition-fast);
  }

  .mobile-nav__icon svg {
    width: 22px;
    height: 22px;
    display: block;
    stroke: currentColor;
  }

  .mobile-nav__label {
    font-size: 0.67rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: var(--muted);
    white-space: nowrap;
    transition: color var(--transition-fast), font-weight var(--transition-fast);
  }

  .mobile-nav__indicator {
    width: 22px;
    height: 3px;
    border-radius: 2px;
    background: transparent;
    margin-top: 1px;
    transition: background var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
  }

  .mobile-nav__btn--active {
    background: transparent;
    border: none;
  }

  .mobile-nav__btn--active .mobile-nav__icon {
    color: var(--purple);
    transform: translateY(-0.5px);
    filter: drop-shadow(0 0 8px var(--purple-glow));
  }

  .mobile-nav__btn--active .mobile-nav__label {
    color: var(--text);
    font-weight: 700;
  }

  .mobile-nav__btn--active .mobile-nav__indicator {
    background: var(--purple-gradient);
    box-shadow: 0 0 8px var(--purple-gradient-glow);
  }
}


/* --- Module: event-feed.css (styles/v2/event-feed.css) --- */
/* SeasonForge CSS v2 — ARPG Event Feed (/changelog/) Module */

.changelog-container {
  max-width: 1240px;
  margin: 1.5rem auto 3rem;
  padding: 0 1.25rem;
  position: relative;
  z-index: var(--z-base);
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

.feed-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 1.5rem;
  align-items: start;
  margin-top: 1.5rem;
  width: 100%;
}

@media (max-width: 900px) {
  .changelog-container {
    padding: 0 1rem;
    margin: 1rem auto 2rem;
  }

  .feed-layout {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .feed-sidebar {
    order: 2;
  }

  .feed-search-box {
    max-width: 100% !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  .feed-filter-bar {
    padding: 0.85rem !important;
    gap: 0.75rem !important;
  }

  .feed-pill {
    padding: 0.35rem 0.6rem !important;
    font-size: 0.75rem !important;
  }

  .event-feed-card {
    padding: 1rem 1.15rem !important;
  }
}

/* Filter Bar */
.feed-filter-bar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--panel);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.feed-filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.feed-filter-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.feed-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--muted);
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: all var(--transition-fast);
  user-select: none;
}

.feed-pill:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.2);
}

.feed-pill--active {
  background: var(--accent-soft);
  border-color: color-mix(in srgb, var(--accent) 50%, transparent);
  color: #ffffff;
  box-shadow: 0 0 12px var(--accent-glow);
}

.feed-search-box {
  position: relative;
  min-width: 200px;
  flex-grow: 1;
  max-width: 320px;
}

.feed-search-input {
  width: 100%;
  background: var(--panel-strong);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  padding: 0.45rem 0.75rem 0.45rem 2.2rem;
  color: var(--text);
  font-size: 0.82rem;
  outline: none;
  transition: all var(--transition-fast);
}

.feed-search-input:focus {
  border-color: var(--text-accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.feed-search-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted-strong);
  pointer-events: none;
}

/* Event Feed Card */
.event-feed-card {
  position: relative;
  background: var(--panel);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid var(--border);
  border-left: 4px solid var(--game-accent-color, var(--accent));
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
  scroll-margin-top: 2rem;
}

.event-feed-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 15px rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.15);
}

.event-feed-card__header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.event-feed-card__game-tag {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.event-feed-card__game-icon {
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
}

.event-feed-card__game-name {
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
}

.event-feed-card__meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.event-feed-card__time {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
}

.event-feed-card__body {
  font-size: 0.92rem;
  line-height: 1.55;
  color: #e2e8f0;
}

.event-feed-card__footer {
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-soft);
  display: flex;
  justify-content: flex-end;
}

.event-feed-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-accent);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.event-feed-card__link:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Event Type Badges */
.feed-badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--font);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  border: 1px solid transparent;
}

.feed-badge--launch {
  background: var(--green-soft);
  color: var(--green-text);
  border-color: rgba(16, 185, 129, 0.3);
}

.feed-badge--announcement {
  background: var(--accent-soft);
  color: var(--text-accent);
  border-color: rgba(99, 102, 241, 0.35);
}

.feed-badge--article {
  background: rgba(148, 163, 184, 0.12);
  color: #cbd5e1;
  border-color: rgba(148, 163, 184, 0.25);
}

/* Empty State */
.feed-empty-state {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--panel);
  border: 1px dashed var(--border);
  border-radius: var(--radius-md);
  padding: 3rem 1.5rem;
  text-align: center;
  margin: 2rem 0;
}

.feed-empty-state__icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  opacity: 0.6;
}

.feed-empty-state__title {
  font-family: var(--font);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.feed-empty-state__subtitle {
  font-size: 0.85rem;
  color: var(--muted);
  max-width: 400px;
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.feed-empty-state__reset-btn {
  background: var(--accent-soft);
  border: 1px solid rgba(99, 102, 241, 0.4);
  color: #ffffff;
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.feed-empty-state__reset-btn:hover {
  background: var(--accent-glow);
  border-color: rgba(99, 102, 241, 0.6);
}

/* Load More Container */
.feed-load-more-container {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
}

.feed-load-more-btn {
  background: var(--panel-strong);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.65rem 1.75rem;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.feed-load-more-btn:hover {
  background: rgba(51, 65, 85, 0.8);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  transform: translateY(-1px);
}

.changelog-item:target,
.changelog-item--highlight {
  border-color: rgba(129, 140, 248, 0.6) !important;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.3) !important;
  animation: pulseHighlight 2.5s ease forwards;
}

@keyframes pulseHighlight {
  0% { background: rgba(99, 102, 241, 0.2); }
  100% { background: rgba(255, 255, 255, 0.03); }
}


/* --- Module: events.css (styles/v2/events.css) --- */
/* SeasonForge CSS v2 — ARPG Events & Timeline Module */

/* Segmented Mode Switcher (SEASONS | EVENTS) */
.timeline-mode-switcher-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.timeline-mode-switcher {
  display: inline-flex;
  align-items: center;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm, 10px);
  padding: 4px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.timeline-mode-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.15rem;
  border-radius: 8px;
  font-size: 0.825rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-muted, #94a3b8);
  text-decoration: none;
  border: 1px solid transparent;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  cursor: pointer;
}

.timeline-mode-tab:hover {
  color: #f1f5f9;
  background: rgba(255, 255, 255, 0.05);
}

.timeline-mode-tab.active {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.16), rgba(168, 85, 247, 0.1));
  color: #ffffff;
  border-color: rgba(139, 92, 246, 0.3);
  box-shadow: 0 2px 8px rgba(139, 92, 246, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

/* Events Timeline Grid Base */
.events-timeline-card {
  margin-bottom: 2rem;
  position: relative;
  overflow: visible;
}

.events-timeline-card .timeline-map__scroll-container {
  overflow: visible;
  padding: 4px 2px;
}

.events-timeline__grid {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  background: var(--panel);
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: var(--radius-md, 16px);
  padding: 0.85rem 0 1rem 0;
  box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px) saturate(130%) brightness(1.05);
  -webkit-backdrop-filter: blur(18px) saturate(130%) brightness(1.05);
  overflow: visible;
}

/* Offset for Game Labels column */
.events-timeline__offset-blank {
  width: 185px;
  flex-shrink: 0;
}

/* Months Bar */
.events-timeline__months-bar {
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 0.4rem;
  margin-bottom: 0.3rem;
}

.events-timeline__months-track {
  display: flex;
  flex: 1;
  font-size: 0.725rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--text-muted, #94a3b8);
}

.events-timeline__month-label {
  padding-left: 0.5rem;
  box-sizing: border-box;
  white-space: nowrap;
  overflow: visible;
}

/* Days Bar */
.events-timeline__days-bar {
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 0.5rem;
  margin-bottom: 0.75rem;
}

.events-timeline__days-track {
  display: flex;
  flex: 1;
}

.events-timeline__day-cell {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  font-size: 0.65rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  position: relative;
  min-height: 20px;
}

.events-timeline__day-cell.is-major .events-timeline__day-num {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-secondary, #cbd5e1);
  line-height: 1;
}

.events-timeline__day-cell.is-minor .events-timeline__day-tick {
  width: 1px;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  margin-bottom: 2px;
  border-radius: 1px;
}

.events-timeline__day-cell.is-today .events-timeline__day-num {
  color: #a78bfa;
  font-weight: 800;
  background: rgba(139, 92, 246, 0.22);
  padding: 1px 4px;
  border-radius: 4px;
  border: 1px solid rgba(139, 92, 246, 0.4);
  transform: translateY(-1px);
}

.events-timeline__today-chip {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  background: #6366f1;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 800;
  padding: 1px 4px;
  border-radius: 4px;
  white-space: nowrap;
}

/* Rows & Tracks */
.events-timeline__rows {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.events-timeline__row {
  display: flex;
  align-items: center;
  min-height: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  padding: 0.2rem 0;
  transition: min-height 0.2s ease;
}

.events-timeline__game-label {
  width: 185px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-right: 0.75rem;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.15s ease;
}

.events-timeline__game-label:hover {
  opacity: 0.85;
}

.events-timeline__game-icon {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--game-accent, #6366f1);
}

.events-timeline__game-name {
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--text-primary, #f1f5f9);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.events-timeline__track {
  position: relative;
  flex: 1;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 6px;
  transition: height 0.2s ease;
}

.events-timeline__track-empty {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.2);
  font-style: italic;
  padding-left: 1rem;
  line-height: 44px;
}

/* Event Bars: Soft Rounded Pill with Glowing Gradient */
.events-timeline__bar {
  position: absolute;
  height: 25px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  padding: 0 10px 0 8px;
  gap: 6px;
  box-sizing: border-box;
  background: linear-gradient(90deg, color-mix(in srgb, var(--event-color, #6366f1) 25%, rgba(255,255,255,0.03)), color-mix(in srgb, var(--event-color, #6366f1) 12%, transparent));
  border: 1px solid color-mix(in srgb, var(--event-color, #6366f1) 40%, rgba(255,255,255,0.12));
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
  cursor: pointer;
  z-index: 2;
  overflow: visible;
}

.events-timeline__bar:hover,
.events-timeline__bar:focus,
.events-timeline__bar:focus-within {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5), 0 0 14px color-mix(in srgb, var(--event-color, #6366f1) 50%, transparent);
  border-color: color-mix(in srgb, var(--event-color, #6366f1) 70%, rgba(255,255,255,0.3));
  z-index: 100;
}

.events-timeline__bar.is-live {
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.28), rgba(16, 185, 129, 0.12));
  border-color: rgba(16, 185, 129, 0.45);
}

.events-timeline__bar.type-twitch_drops,
.events-timeline__bar.type-drops {
  background: linear-gradient(90deg, rgba(168, 85, 247, 0.28), rgba(168, 85, 247, 0.12));
  border-color: rgba(168, 85, 247, 0.45);
}

.events-timeline__bar.type-ptr {
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.28), rgba(59, 130, 246, 0.12));
  border-color: rgba(59, 130, 246, 0.45);
}

.events-timeline__bar.type-race {
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.28), rgba(245, 158, 11, 0.12));
  border-color: rgba(245, 158, 11, 0.45);
}

.events-timeline__bar.type-collab {
  background: linear-gradient(90deg, rgba(239, 68, 68, 0.28), rgba(239, 68, 68, 0.12));
  border-color: rgba(239, 68, 68, 0.45);
}

.events-timeline__bar.type-convention {
  background: linear-gradient(90deg, rgba(168, 85, 247, 0.28), rgba(168, 85, 247, 0.12));
  border-color: rgba(168, 85, 247, 0.45);
}

.events-timeline__bar.type-login,
.events-timeline__bar.type-login-event {
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.28), rgba(16, 185, 129, 0.12));
  border-color: rgba(16, 185, 129, 0.45);
}

.events-timeline__bar.type-announcement {
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.28), rgba(245, 158, 11, 0.12));
  border-color: rgba(245, 158, 11, 0.45);
}

.events-timeline__bar-icon {
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.events-timeline__bar-title {
  font-size: 0.72rem;
  font-weight: 600;
  color: #f8fafc;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1;
  min-width: 0;
}

/* Adaptive: Only icon when too narrow */
.events-timeline__bar.is-icon-only {
  padding: 0;
  justify-content: center;
}

.events-timeline__bar.is-icon-only .events-timeline__bar-title {
  display: none;
}

.events-timeline__dotted-trail {
  position: absolute;
  right: -45px;
  top: 50%;
  width: 45px;
  height: 1px;
  border-top: 2px dotted rgba(255, 255, 255, 0.3);
  pointer-events: none;
}

/* Rich Interactive Tooltip: Auto-flip & Boundary Aware */
.events-timeline__tooltip {
  position: absolute;
  width: 285px;
  background: rgba(13, 19, 33, 0.97);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7), 0 0 24px rgba(99, 102, 241, 0.25);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 100;
  text-align: left;
  cursor: default;
}

/* Vertical Placement */
.events-timeline__tooltip.tooltip--bottom {
  top: calc(100% + 6px);
  bottom: auto;
  transform: translateY(6px);
}

.events-timeline__tooltip.tooltip--bottom::after {
  content: '';
  position: absolute;
  bottom: 100%;
  border-width: 6px;
  border-style: solid;
  border-color: transparent transparent rgba(13, 19, 33, 0.97) transparent;
}

.events-timeline__tooltip.tooltip--top {
  bottom: calc(100% + 6px);
  top: auto;
  transform: translateY(-6px);
}

.events-timeline__tooltip.tooltip--top::after {
  content: '';
  position: absolute;
  top: 100%;
  border-width: 6px;
  border-style: solid;
  border-color: rgba(13, 19, 33, 0.97) transparent transparent transparent;
}

/* Horizontal Alignment */
.events-timeline__tooltip.tooltip--align-center {
  left: 50%;
  transform: translateX(-50%) translateY(6px);
}
.events-timeline__tooltip.tooltip--top.tooltip--align-center {
  transform: translateX(-50%) translateY(-6px);
}

.events-timeline__tooltip.tooltip--align-center::after {
  left: 50%;
  transform: translateX(-50%);
}

.events-timeline__tooltip.tooltip--align-left {
  left: 0;
  right: auto;
  transform: translateY(6px);
}
.events-timeline__tooltip.tooltip--top.tooltip--align-left {
  transform: translateY(-6px);
}
.events-timeline__tooltip.tooltip--align-left::after {
  left: 18px;
  transform: none;
}

.events-timeline__tooltip.tooltip--align-right {
  right: 0;
  left: auto;
  transform: translateY(6px);
}
.events-timeline__tooltip.tooltip--top.tooltip--align-right {
  transform: translateY(-6px);
}
.events-timeline__tooltip.tooltip--align-right::after {
  right: 18px;
  left: auto;
  transform: none;
}

/* Hover & Focus States */
.events-timeline__bar:hover .events-timeline__tooltip.tooltip--align-center,
.events-timeline__bar:focus .events-timeline__tooltip.tooltip--align-center,
.events-timeline__bar:focus-within .events-timeline__tooltip.tooltip--align-center {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.events-timeline__bar:hover .events-timeline__tooltip.tooltip--align-left,
.events-timeline__bar:focus .events-timeline__tooltip.tooltip--align-left,
.events-timeline__bar:focus-within .events-timeline__tooltip.tooltip--align-left,
.events-timeline__bar:hover .events-timeline__tooltip.tooltip--align-right,
.events-timeline__bar:focus .events-timeline__tooltip.tooltip--align-right,
.events-timeline__bar:focus-within .events-timeline__tooltip.tooltip--align-right {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.events-tooltip__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.events-tooltip__type-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--badge-accent, #6366f1);
  background: color-mix(in srgb, var(--badge-accent, #6366f1) 15%, transparent);
  border: 1px solid color-mix(in srgb, var(--badge-accent, #6366f1) 35%, transparent);
  padding: 2px 7px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.events-tooltip__status-badge {
  font-size: 0.6rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

.events-tooltip__status-badge.status--live {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.events-tooltip__status-badge.status--upcoming {
  background: rgba(99, 102, 241, 0.2);
  color: #a5b4fc;
  border: 1px solid rgba(99, 102, 241, 0.4);
}

.events-tooltip__title {
  margin: 0 0 0.15rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #f8fafc;
  line-height: 1.35;
  white-space: normal;
}

.events-tooltip__game {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  color: #94a3b8;
  font-weight: 600;
}

.events-tooltip__desc {
  margin: 0 0 0.6rem;
  font-size: 0.75rem;
  line-height: 1.4;
  color: #cbd5e1;
  white-space: normal;
}

.events-tooltip__meta {
  margin-bottom: 0.6rem;
  padding: 0.4rem 0.55rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.events-tooltip__meta-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.7rem;
  color: #e2e8f0;
  font-weight: 500;
}

.events-tooltip__rewards {
  margin-bottom: 0.65rem;
}

.events-tooltip__rewards-title {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
  margin-bottom: 0.3rem;
}

.events-tooltip__rewards-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.events-tooltip__reward-chip {
  display: inline-block;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.68rem;
  color: #f1f5f9;
}

.events-tooltip__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: #818cf8;
  text-decoration: none;
  padding-top: 0.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
  box-sizing: border-box;
  transition: color 0.15s;
}

.events-tooltip__link:hover {
  color: #c7d2fe;
  text-decoration: underline;
}

/* Vertical Today Line Marker */
.events-timeline__today-line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #6366f1;
  box-shadow: 0 0 10px #6366f1;
  z-index: 3;
  pointer-events: none;
}

.events-timeline__today-badge {
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  background: #6366f1;
  color: #ffffff;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 4px;
  box-shadow: 0 0 8px rgba(99, 102, 241, 0.6);
}

/* Bottom "UPCOMING & ENDING SOON" Cards (Web3 Glassmorphism) */
.urgent-events-grid {
  display: grid;
  gap: 0.85rem;
}

.urgent-event-card {
  background: var(--panel);
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: var(--radius-md, 14px);
  padding: 0.95rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.7rem;
  backdrop-filter: blur(18px) saturate(130%) brightness(1.05);
  -webkit-backdrop-filter: blur(18px) saturate(130%) brightness(1.05);
  box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform var(--transition-bounce), border-color var(--transition-normal), box-shadow var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.urgent-event-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
}

.urgent-event-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.urgent-event-card__badge {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
  display: inline-block;
  text-transform: uppercase;
  width: fit-content;
  white-space: nowrap;
}

.urgent-event-card__badge.badge--ending {
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.4);
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.2);
}

.urgent-event-card__badge.badge--active {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.2);
}

.urgent-event-card__badge.badge--starting {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.4);
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.2);
}

.urgent-event-card__title {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 700;
  color: #f1f5f9;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.2em;
}

.urgent-event-card__game {
  font-size: 0.75rem;
  color: var(--card-game-color, var(--text-muted, #94a3b8));
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-top: -0.3rem;
}

.urgent-event-card__countdown {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.urgent-countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.urgent-countdown-item strong {
  font-size: 1.1rem;
  font-weight: 800;
  color: #f8fafc;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

.urgent-countdown-item span {
  font-size: 0.55rem;
  color: var(--text-muted, #94a3b8);
  letter-spacing: 0.05em;
  margin-top: 0.2rem;
}


/* --- Module: events-desktop.css (desktop/styles/events-desktop.css) --- */
.events-dashboard-desktop {
  width: 100%;
  position: relative;
}

.events-dashboard-desktop .events-timeline-card {
  overflow: visible !important;
}

.events-dashboard-desktop .timeline-map__scroll-container {
  overflow: visible !important;
  overflow-x: visible !important;
  overflow-y: visible !important;
  padding: 0;
}

.events-dashboard-desktop .events-timeline__grid {
  min-width: unset;
  width: 100%;
  position: relative;
  overflow: visible !important;
}

.events-dashboard-desktop .events-timeline__offset-blank {
  width: 175px;
  flex-shrink: 0;
}

.events-dashboard-desktop .events-timeline__game-label {
  width: 175px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0 0.85rem;
  font-size: 0.775rem;
  font-weight: 700;
  color: #f1f5f9;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  box-sizing: border-box;
}

.events-dashboard-desktop .events-timeline__row {
  display: flex;
  align-items: center;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: background 0.15s ease;
  overflow: visible !important;
}

.events-dashboard-desktop .events-timeline__row:hover {
  background: rgba(255, 255, 255, 0.02);
}

.events-dashboard-desktop .events-timeline__track {
  overflow: visible !important;
  position: relative;
}

.events-dashboard-desktop .events-timeline__bar {
  z-index: 10;
  cursor: pointer;
  user-select: none;
}

.events-dashboard-desktop .events-timeline__bar:hover,
.events-dashboard-desktop .events-timeline__bar:focus,
.events-dashboard-desktop .events-timeline__bar:focus-within {
  z-index: 200 !important;
}

/* Selected Bar State: Soft Glowing Pill */
.events-dashboard-desktop .events-timeline__bar.is-selected {
  border-radius: 9999px !important;
  border-color: #ffffff !important;
  box-shadow: 0 0 16px color-mix(in srgb, var(--event-color, #6366f1) 90%, transparent), 0 4px 14px rgba(0, 0, 0, 0.7), inset 0 0 8px color-mix(in srgb, var(--event-color, #6366f1) 40%, transparent) !important;
  z-index: 250 !important;
}

.events-dashboard-desktop .events-timeline__bar.is-selected .events-timeline__tooltip {
  display: none !important;
  pointer-events: none !important;
  opacity: 0 !important;
}

.events-dashboard-desktop .urgent-events-grid-desktop {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

@media (max-width: 1100px) {
  .events-dashboard-desktop .urgent-events-grid-desktop {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Events Timeline Vertical NOW Line (Exact Match to Seasons) */
.events-timeline__today-line {
  position: absolute;
  top: 1.8rem;
  bottom: 0.5rem;
  width: 1px;
  background: linear-gradient(180deg, rgba(167, 139, 250, 0.9) 0%, rgba(139, 92, 246, 0.5) 30%, rgba(139, 92, 246, 0.18) 75%, transparent 100%);
  box-shadow: 0 0 4px rgba(167, 139, 250, 0.4);
  z-index: 15;
  pointer-events: none;
  transform: translateX(-50%);
}

.events-timeline__today-badge {
  position: absolute;
  top: -1.35rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(99, 102, 241, 0.85);
  border: 1px solid rgba(199, 210, 254, 0.35);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 0.52rem;
  font-weight: 800;
  padding: 0.08rem 0.38rem;
  border-radius: 999px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 0 8px rgba(99, 102, 241, 0.4);
  white-space: nowrap;
}

/* Desktop Events Detail Drawer (Exact Match to Center Glass Panel) */
.events-detail-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 440px;
  max-width: min(440px, 92vw);
  height: 100vh;
  z-index: 1000;
  background: var(--panel, linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(10, 14, 24, 0.22) 100%));
  backdrop-filter: blur(18px) saturate(130%) brightness(1.05);
  -webkit-backdrop-filter: blur(18px) saturate(130%) brightness(1.05);
  border-left: 1px solid rgba(148, 163, 184, 0.15);
  box-shadow: -20px 0 50px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  transform: translateX(105%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
  overflow: hidden;
}

.events-detail-drawer.is-open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

/* Inner Layout with Scrollable Content */
.events-detail-drawer__inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  max-height: 100%;
  min-height: 0;
  position: relative;
  z-index: 1;
}

.events-detail-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 1.5rem 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}

.events-detail-drawer__title {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted, #94a3b8);
}

.events-detail-drawer__title svg {
  color: var(--event-accent, #6366f1);
}

.events-detail-drawer__close {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  transition: all 0.18s ease;
  cursor: pointer;
}

.events-detail-drawer__close:hover {
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
  border-color: rgba(239, 68, 68, 0.35);
  transform: scale(1.08) rotate(90deg);
}

.events-detail-drawer__content {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 1.5rem 1.5rem 2.5rem 1.5rem;
}

.events-detail-drawer__content::-webkit-scrollbar {
  width: 5px;
}

.events-detail-drawer__content::-webkit-scrollbar-track {
  background: transparent;
}

.events-detail-drawer__content::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 4px;
}

.events-detail-drawer__content::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.28);
}

/* Detail Drawer Body */
.events-detail-body {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  position: relative;
}

.events-detail-hero,
.events-detail-section {
  position: relative;
  z-index: 1;
}

/* Hero Section */
.events-detail-hero {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.events-detail-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.events-detail-type-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.18rem 0.6rem;
  border-radius: 9999px;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: color-mix(in srgb, var(--badge-accent, #6366f1) 22%, transparent);
  color: #ffffff;
  border: 1px solid color-mix(in srgb, var(--badge-accent, #6366f1) 45%, transparent);
  box-shadow: 0 0 10px color-mix(in srgb, var(--badge-accent, #6366f1) 25%, transparent);
}

.events-detail-type-icon {
  display: inline-flex;
  align-items: center;
  color: var(--badge-accent, #6366f1);
}

.events-detail-game-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.18rem 0.6rem;
  border-radius: 9999px;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.events-detail-game-icon {
  display: inline-flex;
  align-items: center;
}

.events-detail-title {
  margin: 0.2rem 0 0.15rem 0;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: #ffffff;
  font-family: var(--font, 'Plus Jakarta Sans', sans-serif);
}

/* Status & Countdown Row (Concept Screen 2) */
.events-detail-status-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.25rem;
}

.events-detail-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.42rem 0.95rem;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.events-detail-status-badge.status--upcoming {
  color: #34d399;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.4);
  box-shadow: 0 0 10px rgba(52, 211, 153, 0.15);
}

.events-detail-status-badge.status--live {
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(245, 158, 11, 0.45);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.18);
}

.events-detail-status-badge.status--ended {
  color: #94a3b8;
  background: rgba(148, 163, 184, 0.1);
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.events-detail-countdown-box {
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 0.95rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.785rem;
  font-weight: 600;
  color: #e2e8f0;
}

.events-detail-countdown-text {
  font-family: inherit;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

/* Detail Sections */
.events-detail-section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 0.25rem;
}

.events-detail-section__heading {
  margin: 0;
  font-size: 0.675rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}

/* Date & Time Card (Concept Screen 2) */
.events-detail-dates-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
}

.events-detail-date-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.825rem;
  color: #f1f5f9;
}

.events-detail-date-icon {
  display: inline-flex;
  align-items: center;
  color: #64748b;
  flex-shrink: 0;
}

.events-detail-date-text {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-weight: 600;
}

.events-detail-date-val {
  color: #f8fafc;
}

.events-detail-date-suffix {
  color: #64748b;
  font-weight: 500;
  font-size: 0.8rem;
}

/* Description Clean Text */
.events-detail-description {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.6;
  color: #cbd5e1;
}

/* Lists (Conditions & Rewards) */
.events-detail-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.events-detail-list--rewards li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.85rem;
  line-height: 1.45;
  color: #f1f5f9;
}

.events-detail-bullet {
  color: #94a3b8;
  font-size: 1rem;
  line-height: 1.3;
  flex-shrink: 0;
}

.events-detail-reward-text {
  color: #f8fafc;
  font-weight: 500;
}

.events-detail-list--conditions li {
  font-size: 0.825rem;
  line-height: 1.45;
  color: #94a3b8;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.events-detail-list--conditions li::before {
  content: '•';
  color: #64748b;
  font-weight: bold;
  font-size: 0.9rem;
  line-height: 1;
  flex-shrink: 0;
}

/* Secondary / Ghost Action Button */
.events-detail-section--action {
  margin-top: 0.5rem;
}

.events-detail-btn-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  height: 38px;
  border-radius: var(--radius-xs, 8px);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-fast, 0.15s ease);
  box-sizing: border-box;
}

.events-detail-btn-action:hover {
  background: rgba(139, 92, 246, 0.15);
  border-color: rgba(139, 92, 246, 0.4);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(139, 92, 246, 0.25);
}



/* --- Module: events-mobile.css (mobile/styles/events-mobile.css) --- */
/* SeasonForge CSS v2 — Mobile Events Timeline Module (<= 900px) */

.events-dashboard-mobile {
  width: 100%;
}

.events-dashboard-mobile .events-timeline-scroll-mobile {
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  padding: 4px 1px;
  scrollbar-width: thin;
}

.events-dashboard-mobile .events-timeline-grid-mobile {
  min-width: 720px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-sm, 10px);
  padding: 0.65rem 0 0.85rem 0;
  position: relative;
}

.events-dashboard-mobile .events-timeline__offset-blank {
  width: 130px;
  flex-shrink: 0;
}

.events-dashboard-mobile .events-timeline__game-label {
  width: 130px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0 0.55rem;
  font-size: 0.725rem;
  font-weight: 700;
  color: #f1f5f9;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  box-sizing: border-box;
}

.events-dashboard-mobile .events-timeline__game-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.events-dashboard-mobile .events-timeline__row {
  display: flex;
  align-items: center;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.events-dashboard-mobile .urgent-events-grid-mobile {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.events-dashboard-mobile .urgent-event-card-mobile {
  padding: 0.85rem 1rem;
}

.events-dashboard-mobile .timeline-wave-tab#tab-mode-seasons {
  left: 20px;
  font-size: 0.75rem;
  padding: 0 0.5rem;
}

.events-dashboard-mobile .timeline-wave-tab#tab-mode-events {
  left: 165px;
  font-size: 0.75rem;
  padding: 0 0.5rem;
}




/* --- Module: donate.css (styles/v2/donate.css) --- */
/* SeasonForge CSS v2 — Donate Page Module */

.donate-page-wrapper {
  max-width: 860px;
  margin: 0 auto;
  padding: 1.5rem 1rem 3.5rem;
  position: relative;
  z-index: var(--z-base);
}

.donate-panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px) saturate(130%) brightness(1.05);
  -webkit-backdrop-filter: blur(18px) saturate(130%) brightness(1.05);
  padding: 2.25rem 2rem;
}

.donate-header {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-soft);
}

.donate-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 0.5rem;
  letter-spacing: -0.01em;
}

.donate-subtitle {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 580px;
  margin: 0 auto;
}

.donate-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.donate-card {
  background: rgba(10, 14, 24, 0.40);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
  position: relative;
}

.donate-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
}

.donate-card__header {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.donate-card__icon-box {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-accent);
  flex-shrink: 0;
}

.donate-card__info {
  flex: 1;
}

.donate-card__name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.25rem;
}

.donate-card__desc {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.45;
}

.donate-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.donate-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.725rem;
  font-weight: 600;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 0.25rem 0.55rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.donate-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem 1.15rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
  cursor: pointer;
  box-sizing: border-box;
}

.donate-card__btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  transform: translateY(-1px);
}

.donate-card__btn-icon {
  display: inline-flex;
  align-items: center;
  font-size: 0.95rem;
  line-height: 1;
}

@media (max-width: 768px) {
  .donate-page-wrapper {
    padding: 1rem 0.85rem 2.5rem;
  }

  .donate-panel {
    padding: 1.5rem 1.15rem;
  }

  .donate-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
  }

  .donate-title {
    font-size: 1.5rem;
  }

  .donate-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .donate-card {
    padding: 1.25rem;
  }
}


