/* PardonMe.Bet - Foggy Mountain Trail Theme */
/* Theme: Winter Pines / Calm, disciplined, premium analytics */

:root {
  --fog-light: #e8eef2;
  --fog-medium: #c5d3de;
  --fog-dark: #8ba3b5;
  --pine-green: #2d5a47;
  --pine-light: #3d7a5f;
  --pine-accent: #4a9d76;
  --charcoal: #1a1f24;
  --charcoal-light: #2a3138;
  --frost-white: rgba(255, 255, 255, 0.85);
  --frost-card: rgba(255, 255, 255, 0.12);
  --text-primary: #1a1f24;
  --text-secondary: #4a5568;
  --text-muted: #718096;
  --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.12);
  --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --border-radius: 12px;
  --border-radius-lg: 20px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.switchback {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(180deg, var(--fog-light) 0%, var(--fog-medium) 50%, var(--fog-light) 100%);
  background-attachment: fixed;
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

body.switchback::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  z-index: -1;
}

/* Sticky Header */
.switchback-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  transition: background var(--transition-smooth), backdrop-filter var(--transition-smooth), box-shadow var(--transition-smooth);
}

.switchback-header.scrolled {
  background: rgba(26, 31, 36, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.switchback-header .logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--pine-accent);
  text-decoration: none;
  letter-spacing: -0.5px;
}

.switchback-header.scrolled .logo {
  color: #fff;
}

.switchback-header nav {
  display: flex;
  gap: 1.5rem;
}

.switchback-header nav a {
  color: var(--charcoal);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color var(--transition-smooth);
  position: relative;
}

.switchback-header.scrolled nav a {
  color: rgba(255, 255, 255, 0.85);
}

.switchback-header nav a:hover {
  color: var(--pine-accent);
}

.switchback-header nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--pine-accent);
  transition: width var(--transition-smooth);
}

.switchback-header nav a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 6rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse at 30% 20%, rgba(45, 90, 71, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(139, 163, 181, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-headline {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 1.5rem;
  color: var(--charcoal);
  letter-spacing: -1px;
}

.hero-headline span {
  color: var(--pine-green);
}

.hero-subhead {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  color: var(--text-secondary);
  margin: 0 0 2.5rem;
  font-weight: 400;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: var(--pine-green);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--border-radius);
  transition: transform var(--transition-smooth), background var(--transition-smooth), box-shadow var(--transition-smooth);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--pine-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(45, 90, 71, 0.25);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: transparent;
  color: var(--pine-green);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--border-radius);
  border: 2px solid var(--pine-green);
  transition: transform var(--transition-smooth), background var(--transition-smooth), color var(--transition-smooth);
  cursor: pointer;
}

.btn-secondary:hover {
  background: var(--pine-green);
  color: #fff;
  transform: translateY(-2px);
}

/* Trail Divider */
.trail-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 3rem 0;
  color: var(--fog-dark);
}

.trail-divider::before,
.trail-divider::after {
  content: '';
  flex: 1;
  max-width: 100px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--fog-dark), transparent);
}

.trail-divider svg {
  width: 24px;
  height: 24px;
  opacity: 0.6;
}

/* Cards Grid */
.cards-section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2.5rem;
  color: var(--charcoal);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--frost-white);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
  text-decoration: none;
  color: inherit;
  display: block;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}

.feature-card .card-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--pine-green), var(--pine-accent));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: #fff;
  font-size: 1.5rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
  color: var(--charcoal);
}

.feature-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.feature-card .card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  color: var(--pine-green);
  font-weight: 500;
  font-size: 0.9rem;
}

.feature-card:hover .card-arrow {
  gap: 0.75rem;
}

/* Sport Tabs */
.tabs-section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.tabs-nav {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 0.75rem 1.5rem;
  border: none;
  background: rgba(255, 255, 255, 0.5);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 50px;
  cursor: pointer;
  transition: background var(--transition-smooth), color var(--transition-smooth), transform var(--transition-smooth);
}

.tab-btn:hover {
  background: rgba(255, 255, 255, 0.8);
  color: var(--charcoal);
}

.tab-btn.active {
  background: var(--pine-green);
  color: #fff;
  transform: scale(1.05);
}

.tab-content {
  display: none;
  animation: fadeIn 0.3s ease;
}

.tab-content.active {
  display: block;
}

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

/* Accordion */
.accordion-section {
  padding: 4rem 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  background: var(--frost-white);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  overflow: hidden;
}

.accordion-header {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--charcoal);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color var(--transition-smooth);
}

.accordion-header:hover {
  color: var(--pine-green);
}

.accordion-icon {
  width: 24px;
  height: 24px;
  position: relative;
  flex-shrink: 0;
}

.accordion-icon::before,
.accordion-icon::after {
  content: '';
  position: absolute;
  background: currentColor;
  transition: transform var(--transition-smooth);
}

.accordion-icon::before {
  width: 2px;
  height: 14px;
  top: 5px;
  left: 11px;
}

.accordion-icon::after {
  width: 14px;
  height: 2px;
  top: 11px;
  left: 5px;
}

.accordion-item.open .accordion-icon::before {
  transform: rotate(90deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-content-inner {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-secondary);
}

/* Footer */
.switchback-footer {
  padding: 3rem 2rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 4rem;
  background: linear-gradient(180deg, transparent, rgba(139, 163, 181, 0.1));
}

.switchback-footer p {
  margin: 0;
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ========================================
   GLOBAL OVERRIDES FOR ALL PAGES
   ======================================== */

/* Hide original header when switchback is active */
body.switchback > header:first-of-type {
  display: none;
}

/* Main content area - give space for fixed header */
body.switchback main {
  padding: 5rem 2rem 4rem;
  max-width: 1100px;
  margin: 0 auto;
}

/* Override original inline section styles */
body.switchback section {
  background: var(--frost-white);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: var(--shadow-soft);
}

body.switchback section h2,
body.switchback section h3 {
  color: var(--charcoal);
  margin-top: 0;
  font-weight: 700;
}

body.switchback section h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--pine-accent);
}

body.switchback section h3 {
  font-size: 1.2rem;
  color: var(--pine-green);
}

body.switchback section p {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Style all tables globally */
body.switchback table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  margin: 1rem 0;
}

body.switchback table th {
  background: var(--pine-green);
  color: #fff;
  font-weight: 600;
  text-align: left;
  padding: 0.875rem 1rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

body.switchback table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--fog-medium);
  color: var(--text-primary);
}

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

body.switchback table tr:hover td {
  background: rgba(45, 90, 71, 0.05);
}

body.switchback table tr:nth-child(even) td {
  background: rgba(232, 238, 242, 0.5);
}

body.switchback table tr:nth-child(even):hover td {
  background: rgba(45, 90, 71, 0.08);
}

/* Style all forms globally */
body.switchback form {
  margin: 1rem 0;
}

body.switchback input[type="text"],
body.switchback input[type="number"],
body.switchback input[type="email"],
body.switchback input[type="password"],
body.switchback input[type="date"],
body.switchback input[type="url"],
body.switchback select,
body.switchback textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--fog-medium);
  border-radius: var(--border-radius);
  font-size: 0.95rem;
  font-family: inherit;
  background: #fff;
  color: var(--text-primary);
  transition: border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

body.switchback input:focus,
body.switchback select:focus,
body.switchback textarea:focus {
  outline: none;
  border-color: var(--pine-accent);
  box-shadow: 0 0 0 3px rgba(74, 157, 118, 0.15);
}

body.switchback label {
  display: block;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

body.switchback input[type="submit"],
body.switchback button[type="submit"],
body.switchback .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--pine-green);
  color: #fff;
  border: none;
  border-radius: var(--border-radius);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition-smooth), transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

body.switchback input[type="submit"]:hover,
body.switchback button[type="submit"]:hover,
body.switchback .btn:hover {
  background: var(--pine-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(45, 90, 71, 0.25);
}

/* Style links */
body.switchback a {
  color: var(--pine-green);
  text-decoration: none;
  transition: color var(--transition-smooth);
}

body.switchback a:hover {
  color: var(--pine-accent);
}

body.switchback a.btn-primary,
body.switchback a.btn-primary:hover {
  color: #fff;
  text-decoration: none;
}

body.switchback a.btn-secondary {
  text-decoration: none;
}

body.switchback main a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

body.switchback nav a {
  text-decoration: none;
}

/* Subnav styling */
body.switchback .subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1rem 0;
  padding: 1rem;
  background: rgba(232, 238, 242, 0.5);
  border-radius: var(--border-radius);
}

body.switchback .subnav a {
  padding: 0.5rem 1rem;
  background: var(--frost-white);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.5);
  text-decoration: none;
}

body.switchback .subnav a:hover {
  background: var(--pine-green);
  color: #fff;
  border-color: var(--pine-green);
}

/* Tagline styling */
body.switchback .tagline {
  color: var(--text-muted);
  font-style: italic;
  font-size: 0.95rem;
}

/* Code and pre styling */
body.switchback code,
body.switchback pre {
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  background: rgba(26, 31, 36, 0.05);
  border-radius: 4px;
}

body.switchback code {
  padding: 0.2rem 0.4rem;
  font-size: 0.85rem;
}

body.switchback pre {
  padding: 1rem;
  overflow-x: auto;
  border-left: 3px solid var(--pine-accent);
}

/* Alerts and messages */
body.switchback .message,
body.switchback .alert {
  padding: 1rem 1.25rem;
  border-radius: var(--border-radius);
  margin: 1rem 0;
  font-weight: 500;
}

body.switchback .message.success,
body.switchback .alert-success {
  background: rgba(34, 134, 58, 0.1);
  color: #155724;
  border: 1px solid rgba(34, 134, 58, 0.2);
}

body.switchback .message.error,
body.switchback .alert-error,
body.switchback .alert-danger {
  background: rgba(203, 36, 49, 0.1);
  color: #721c24;
  border: 1px solid rgba(203, 36, 49, 0.2);
}

body.switchback .message.warning,
body.switchback .alert-warning {
  background: rgba(255, 193, 7, 0.15);
  color: #856404;
  border: 1px solid rgba(255, 193, 7, 0.3);
}

/* Tracker-specific overrides to maintain functionality */
body.switchback .tracker-container {
  max-width: 100%;
}

body.switchback .tracker-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

body.switchback .stat-card {
  background: #fff;
  padding: 1.25rem;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

body.switchback .stat-card .stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--pine-green);
}

body.switchback .stat-card .stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

body.switchback .stat-card.positive .stat-value {
  color: #22863a;
}

body.switchback .stat-card.negative .stat-value {
  color: #cb2431;
}

body.switchback .tracker-form {
  background: #fff;
  padding: 1.5rem;
  border-radius: var(--border-radius);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-soft);
}

body.switchback .tracker-form h3 {
  margin-top: 0;
  padding-bottom: 0;
  border-bottom: none;
}

body.switchback .form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
}

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

body.switchback .form-group label {
  margin-bottom: 0.35rem;
}

body.switchback .filters {
  background: rgba(232, 238, 242, 0.5);
  padding: 1rem;
  border-radius: var(--border-radius);
  margin-bottom: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-end;
}

body.switchback .bets-table {
  width: 100%;
  background: #fff;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

body.switchback .bets-table th,
body.switchback .bets-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--fog-medium);
}

body.switchback .bets-table th {
  background: var(--pine-green);
  color: #fff;
  font-weight: 600;
}

body.switchback .result-pending { color: var(--text-muted); }
body.switchback .result-win { color: #22863a; font-weight: 600; }
body.switchback .result-loss { color: #cb2431; font-weight: 600; }
body.switchback .result-push,
body.switchback .result-void { color: var(--text-muted); }

body.switchback .btn-sm {
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
}

body.switchback .btn-danger {
  background: #cb2431;
}

body.switchback .btn-danger:hover {
  background: #a71d2a;
}

body.switchback .btn-settle {
  background: #0366d6;
}

body.switchback .btn-settle:hover {
  background: #0256b9;
}

body.switchback .settle-form {
  display: inline-flex;
  gap: 0.35rem;
  align-items: center;
}

body.switchback .settle-form select {
  width: auto;
  padding: 0.25rem 0.5rem;
  font-size: 0.8rem;
}

/* Footer override - hide original fixed footer */
body.switchback > footer {
  display: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .switchback-header {
    padding: 1rem;
  }
  
  .switchback-header nav {
    gap: 1rem;
  }
  
  .switchback-header nav a {
    font-size: 0.85rem;
  }
  
  .hero-section {
    padding: 5rem 1.5rem 3rem;
    min-height: auto;
  }
  
  .cards-grid {
    grid-template-columns: 1fr;
  }
  
  .tabs-nav {
    gap: 0.25rem;
  }
  
  .tab-btn {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }
  
  body.switchback main {
    padding: 4.5rem 1rem 3rem;
  }
  
  body.switchback section {
    padding: 1.5rem;
  }
  
  body.switchback table {
    font-size: 0.85rem;
  }
  
  body.switchback table th,
  body.switchback table td {
    padding: 0.6rem 0.75rem;
  }
  
  body.switchback .form-grid {
    grid-template-columns: 1fr;
  }
  
  body.switchback .tracker-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Glass Card Component */
.glass-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--border-radius);
  padding: 1.5rem 2rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.glass-card h2, .glass-card h3 {
  color: var(--pine-green);
  margin-top: 0;
}

/* Model Performance Panel */
.model-perf-card {
  background: linear-gradient(135deg, rgba(45, 90, 71, 0.08), rgba(45, 90, 71, 0.03));
  padding: 1rem 1.5rem;
  margin-bottom: 1rem;
}

.model-perf-card h3 {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.perf-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.9rem;
}

.perf-stat {
  color: var(--muted);
}

.perf-stat strong {
  color: var(--pine-green);
}

.perf-stats-sportsbook {
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(45, 90, 71, 0.15);
}

.perf-stat-label {
  font-weight: 600;
  color: var(--pine-green);
  margin-right: 0.5rem;
}

/* Data Table */
.data-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  overflow: hidden;
  font-size: 0.9rem;
}

.data-table th,
.data-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.data-table th {
  background: var(--pine-green);
  color: white;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.data-table tbody tr:hover {
  background: rgba(45, 90, 71, 0.05);
}

.data-table a {
  color: var(--pine-green);
  text-decoration: none;
  font-weight: 500;
}

.data-table a:hover {
  text-decoration: underline;
}

/* Button styles */
.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  font-size: 0.95rem;
}

.btn-primary {
  background: var(--pine-green);
  color: white;
}

.btn-primary:hover {
  background: var(--pine-light);
}

.btn-secondary {
  background: rgba(45, 90, 71, 0.1);
  color: var(--pine-green);
  border: 1px solid var(--pine-green);
}

.btn-secondary:hover {
  background: rgba(45, 90, 71, 0.2);
}

/* Result Rows */
.result-rows { margin: 20px 0; }
.result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: rgba(45,90,71,0.03);
  border-radius: 8px;
  margin-bottom: 8px;
  border-left: 3px solid var(--pine-green, #2d5a47);
}
.result-label {
  font-weight: 500;
  color: #555;
}
.result-value {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--pine-green, #2d5a47);
}
.result-error {
  background: #fff3f3;
  border: 1px solid #e5c0c0;
  border-radius: 8px;
  padding: 16px;
  color: #8b0000;
  text-align: center;
}
.how-calculated {
  margin-top: 20px;
  padding: 12px;
  background: rgba(0,0,0,0.02);
  border-radius: 8px;
}
.how-calculated summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--pine-green, #2d5a47);
}
.how-content {
  margin-top: 12px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555;
}
.how-content p { margin: 8px 0; }

/* ============================================
   BET SLIP UI COMPONENTS
   ============================================ */

/* Inline Add to Slip buttons */
.result-actions {
  display: inline-flex;
  gap: 8px;
  margin-left: 12px;
  flex-wrap: wrap;
}

.btn-add-slip {
  background: var(--pine-green);
  color: #fff;
  border: none;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: background var(--transition-smooth);
  white-space: nowrap;
}

.btn-add-slip:hover {
  background: var(--pine-light);
}

.btn-add-slip.added {
  background: #22863a;
}

/* Player Props + Slip button */
.btn-prop-slip {
  background: rgba(45, 90, 71, 0.1);
  color: var(--pine-green);
  border: 1px solid var(--pine-green);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-smooth);
}

.btn-prop-slip:hover {
  background: var(--pine-green);
  color: #fff;
}

/* Player Prop Modal */
.prop-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
}

.prop-modal-content {
  background: #fff;
  border-radius: var(--border-radius);
  max-width: 400px;
  width: 100%;
  box-shadow: var(--shadow-card);
  animation: modalSlideIn 0.2s ease-out;
}

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

.prop-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--fog-medium);
}

.prop-modal-header h3 {
  margin: 0;
  color: var(--text-primary);
  font-size: 1.1rem;
}

.prop-modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.prop-modal-close:hover {
  color: var(--text-primary);
}

.prop-modal-body {
  padding: 20px;
}

.prop-modal-body .form-group {
  margin-bottom: 16px;
}

.prop-modal-body .form-group:last-of-type {
  margin-bottom: 0;
}

.prop-modal-body label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.prop-modal-body input,
.prop-modal-body select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--fog-medium);
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
}

.prop-modal-body input:focus,
.prop-modal-body select:focus {
  outline: none;
  border-color: var(--pine-green);
  box-shadow: 0 0 0 3px rgba(45, 90, 71, 0.1);
}

.prop-modal-footer {
  display: flex;
  gap: 12px;
  padding: 16px 20px;
  border-top: 1px solid var(--fog-medium);
  justify-content: flex-end;
}

/* Toast notification */
.slip-toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--pine-green);
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: var(--shadow-card);
  z-index: 3000;
  animation: toastSlideIn 0.3s ease-out;
}

@keyframes toastSlideIn {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.slip-toast.fade-out {
  animation: toastFadeOut 0.3s ease-in forwards;
}

@keyframes toastFadeOut {
  to {
    opacity: 0;
    transform: translateX(100%);
  }
}

/* Responsive adjustments for result rows with actions */
@media (max-width: 768px) {
  .result-row {
    flex-wrap: wrap;
  }
  
  .result-actions {
    width: 100%;
    margin-left: 0;
    margin-top: 8px;
    justify-content: flex-start;
  }
}

/* ============================================
   PICK BUILDER MODAL
   ============================================ */

.pick-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 20px;
}

.pick-modal-content {
  background: white;
  border-radius: var(--border-radius-lg);
  max-width: 400px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 24px;
  position: relative;
  box-shadow: var(--shadow-card);
}

.pick-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-muted);
  line-height: 1;
  padding: 4px;
}

.pick-modal-close:hover {
  color: var(--text-primary);
}

.pick-modal-content h3 {
  margin: 0 0 20px 0;
  color: var(--pine-green);
  font-size: 1.25rem;
}

.pb-field {
  margin-bottom: 16px;
}

.pb-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.pb-field label .required {
  color: #e53e3e;
}

.pb-readonly {
  background: var(--fog-light);
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.pb-toggle {
  display: flex;
  gap: 8px;
}

.pb-toggle-btn {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid var(--fog-medium);
  background: white;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s;
}

.pb-toggle-btn:hover {
  border-color: var(--pine-green);
}

.pb-toggle-btn.active {
  background: var(--pine-green);
  border-color: var(--pine-green);
  color: white;
}

.pb-field input[type="number"],
.pb-field input[type="text"],
.pb-field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 2px solid var(--fog-medium);
  border-radius: 8px;
  font-size: 0.95rem;
  transition: border-color 0.2s;
}

.pb-field input:focus,
.pb-field textarea:focus {
  outline: none;
  border-color: var(--pine-green);
}

.pb-submit {
  width: 100%;
  margin-top: 8px;
}

.pb-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Slip Toast */
.slip-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--pine-green);
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 500;
  z-index: 10001;
  box-shadow: var(--shadow-card);
  transition: opacity 0.3s;
}

.slip-toast.fade-out {
  opacity: 0;
}

/* Pick Target Chips */
.pick-chip {
  display: inline-block;
  padding: 6px 14px;
  background: var(--fog-light);
  border: 2px solid var(--fog-medium);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  color: var(--text-primary);
}

.pick-chip:hover {
  background: var(--pine-green);
  border-color: var(--pine-green);
  color: white;
}

.pick-chip.over { border-color: #48bb78; }
.pick-chip.under { border-color: #ed8936; }

.pick-chips {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

/* Clickable team name */
.pick-team {
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background 0.2s;
}

.pick-team:hover {
  background: rgba(45, 90, 71, 0.1);
}

/* Clickable stat value */
.pick-stat {
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
  transition: background 0.2s;
}

.pick-stat:hover {
  background: rgba(45, 90, 71, 0.15);
}

/* Bet Slip Page */
.betslip-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-muted);
}

.betslip-leg {
  background: white;
  border-radius: var(--border-radius);
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-soft);
}

.betslip-leg-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}

.betslip-leg-market {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.betslip-leg-selection {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 1rem;
}

.betslip-leg-game {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.betslip-leg-details {
  display: flex;
  gap: 16px;
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.betslip-leg-remove {
  background: none;
  border: none;
  color: #e53e3e;
  cursor: pointer;
  font-size: 0.85rem;
  padding: 4px 8px;
}

.betslip-leg-remove:hover {
  text-decoration: underline;
}

.betslip-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.betslip-actions .btn-primary,
.betslip-actions .btn-secondary {
  flex: 1;
}

.betslip-type {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.betslip-type strong {
  color: var(--pine-green);
}

/* ============================================
   MOBILE-FRIENDLY IMPROVEMENTS
   ============================================ */

@media (max-width: 768px) {
  /* Larger touch targets for pick chips */
  .pick-chip {
    padding: 12px 20px;
    font-size: 1rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  
  .pick-chips {
    flex-wrap: wrap;
    gap: 12px;
  }
  
  /* Larger touch targets for team names */
  .pick-team {
    padding: 10px 14px;
    font-size: 1rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  
  /* Larger touch targets for stat values */
  .pick-stat {
    padding: 10px 14px;
    font-size: 1rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  
  /* Full-width Pick Builder modal on mobile */
  .pick-modal-content {
    width: 95%;
    max-width: none;
    margin: 10px;
    max-height: 90vh;
    overflow-y: auto;
  }
  
  .pick-modal-header {
    padding: 16px;
  }
  
  .pick-modal-header h3 {
    font-size: 1.1rem;
  }
  
  .pick-modal-body {
    padding: 16px;
  }
  
  /* Larger form inputs for touch */
  .pick-modal-body input,
  .pick-modal-body select,
  .pick-modal-body textarea {
    font-size: 16px !important; /* Prevents iOS zoom */
    padding: 14px 12px;
    min-height: 48px;
  }
  
  .pick-modal-body label {
    font-size: 0.95rem;
    margin-bottom: 8px;
  }
  
  /* Larger toggle buttons */
  .pb-toggle-btn {
    padding: 14px 24px;
    font-size: 1rem;
    min-height: 48px;
  }
  
  /* Submit button */
  .pb-submit {
    padding: 16px;
    font-size: 1.1rem;
    min-height: 52px;
  }
  
  /* Toast positioning on mobile */
  .slip-toast {
    bottom: 80px;
    left: 16px;
    right: 16px;
    transform: none;
    text-align: center;
  }
  
  /* Data tables - horizontal scroll */
  .data-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .data-table th,
  .data-table td {
    white-space: nowrap;
    padding: 12px 10px;
  }
  
  /* Result rows stacking */
  .result-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 16px;
  }
  
  .result-value {
    font-size: 1.2rem;
  }
  
  /* Buttons */
  .btn-primary,
  .btn-secondary {
    padding: 14px 24px;
    font-size: 1rem;
    min-height: 48px;
    width: 100%;
    text-align: center;
  }
  
  /* Forms */
  .form-row {
    flex-direction: column;
  }
  
  .form-col {
    width: 100%;
  }
  
  input[type="text"],
  input[type="number"],
  select,
  textarea {
    font-size: 16px !important;
    padding: 12px;
    min-height: 48px;
  }
  
  /* Bet slip improvements */
  .betslip-leg {
    padding: 16px;
  }
  
  .betslip-leg-remove {
    padding: 10px 16px;
    font-size: 1rem;
    min-height: 44px;
  }
  
  .betslip-actions {
    flex-direction: column;
    gap: 12px;
  }
  
  /* Header nav on mobile */
  .switchback-header nav {
    flex-wrap: wrap;
    gap: 8px;
  }
  
  .nav-dropdown-content {
    position: fixed;
    left: 10px;
    right: 10px;
    top: auto;
    width: auto;
  }
  
  /* Glass card padding */
  .glass-card {
    padding: 1.25rem;
  }
}

/* ========================================
   NCAAM Slate - RotoWire-style lineup card
   ======================================== */

/* Slate Header Components */
.cbb-slate-header {
  margin-bottom: 20px;
}

.cbb-slate-header h1 {
  margin-bottom: 5px;
}

.cbb-slate-subtitle {
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 15px;
}

.cbb-slate-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 15px;
}

.cbb-slate-nav-arrow {
  color: var(--pine-green);
  text-decoration: none;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 6px;
  background: rgba(45, 90, 71, 0.08);
  transition: background var(--transition-smooth);
}

.cbb-slate-nav-arrow:hover {
  background: rgba(45, 90, 71, 0.15);
}

.cbb-slate-date-form input[type="date"] {
  padding: 6px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 0.9rem;
}

.cbb-slate-filter {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.cbb-slate-filter-btn {
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  text-decoration: none;
  color: #666;
  background: rgba(0, 0, 0, 0.05);
  transition: all 0.2s;
}

.cbb-slate-filter-btn:hover {
  background: rgba(45, 90, 71, 0.1);
  color: var(--pine-green);
}

.cbb-slate-filter-btn.active {
  background: var(--pine-green);
  color: #fff;
}

/* Slate Summary */
.cbb-slate-summary {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 12px 20px;
  font-size: 0.85rem;
  margin-bottom: 20px;
}

.cbb-slate-summary-count {
  font-weight: 600;
  color: var(--pine-green);
}

.cbb-slate-summary-conferences,
.cbb-slate-summary-model {
  color: #888;
}

/* Conference Sections */
.cbb-slate-conf-section {
  margin-bottom: 25px;
}

.cbb-slate-conf-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  background: linear-gradient(135deg, rgba(45, 90, 71, 0.12), rgba(45, 90, 71, 0.06));
  border-radius: 8px 8px 0 0;
  border-bottom: 2px solid rgba(45, 90, 71, 0.2);
}

.cbb-slate-conf-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--pine-green);
}

.cbb-slate-conf-count {
  font-size: 0.8rem;
  color: #666;
}

/* Matchup Cards Container */
.cbb-slate-matchup-list {
  background: rgba(255, 255, 255, 0.7);
  border-radius: 0 0 8px 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* Matchup Card - Main Container */
.cbb-slate-card {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding: 16px;
  transition: background var(--transition-smooth);
}

.cbb-slate-card:last-child {
  border-bottom: none;
  border-radius: 0 0 8px 8px;
}

.cbb-slate-card:hover {
  background: rgba(45, 90, 71, 0.03);
}

.cbb-slate-card.final {
  opacity: 0.7;
}

/* Card Header */
.cbb-slate-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  margin-bottom: 10px;
}

.cbb-slate-matchup-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #333;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cbb-slate-time-value {
  font-size: 0.8rem;
  font-weight: 600;
  color: #555;
  white-space: nowrap;
}

/* Projection Block */
.cbb-slate-projection {
  margin-bottom: 10px;
}

.cbb-slate-status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-top: 4px;
}

.cbb-slate-status-dot.scheduled {
  background: var(--pine-green);
}

.cbb-slate-status-dot.pregame {
  background: #3498db;
}

.cbb-slate-status-dot.live {
  background: #e74c3c;
  animation: cbb-pulse 1s infinite;
}

.cbb-slate-status-dot.final {
  background: #999;
}

@keyframes cbb-pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.cbb-slate-team-row {
  display: grid;
  grid-template-columns: 1fr 60px 50px;
  gap: 8px;
  align-items: center;
  font-size: 0.85rem;
  padding: 2px 0;
}

.cbb-slate-team-name {
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Model / Market / Edge blocks */
.cbb-slate-model-block,
.cbb-slate-market-block,
.cbb-slate-edge-block {
  padding: 8px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.cbb-slate-market-header {
  font-size: 0.7rem;
  color: #888;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-bottom: 4px;
}

.cbb-slate-edge-pending {
  font-size: 0.75rem;
  color: #aaa;
  font-style: italic;
}

.cbb-slate-line-value.positive {
  color: #27ae60;
}

.cbb-slate-line-value.negative {
  color: #c0392b;
}

.cbb-slate-card-footer {
  padding-top: 8px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.cbb-slate-team-proj {
  text-align: right;
  font-weight: 600;
  color: var(--pine-green);
}

.cbb-slate-team-pct {
  text-align: right;
  font-size: 0.8rem;
  color: #888;
}

/* Lines Section */
.cbb-slate-lines {
  min-width: 200px;
  padding: 12px;
  background: rgba(45, 90, 71, 0.05);
  border-radius: 8px;
}

.cbb-slate-lines-header {
  font-size: 0.75rem;
  font-weight: 600;
  color: #666;
  text-transform: uppercase;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.cbb-slate-lines-grid {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cbb-slate-line-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.cbb-slate-line-label {
  color: #666;
  font-size: 0.8rem;
}

.cbb-slate-line-value {
  font-weight: 600;
  color: var(--pine-green);
  font-size: 0.9rem;
}

.cbb-slate-line-value.na {
  color: #999;
  font-style: italic;
}

/* Spread display: favorite-team format */
.spread-value {
  font-weight: 600;
  color: var(--pine-green);
}

.spread-dog {
  font-size: 0.78rem;
  color: #888;
  font-weight: 400;
}

.calib-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: none;
  vertical-align: middle;
  letter-spacing: 0;
}

.calib-badge.calib-total_mu_adj {
  background: rgba(39, 174, 96, 0.15);
  color: #27ae60;
}

.calib-badge.calib-none {
  background: rgba(180, 180, 180, 0.2);
  color: #888;
}

.cbb-slate-market-ts {
  font-size: 0.7rem;
  color: #aaa;
  margin-top: 6px;
}

.cbb-slate-calib-info {
  font-size: 0.7rem;
  color: #888;
  margin-top: 6px;
  font-style: italic;
}

.cbb-slate-market-odds {
  margin-top: 8px;
  padding-top: 6px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.cbb-slate-market-line {
  font-size: 0.85rem;
  font-weight: 500;
  color: #333;
  padding: 2px 0;
}

.cbb-slate-market-pending {
  font-size: 0.75rem;
  color: #aaa;
  font-style: italic;
  margin-top: 4px;
}

.cbb-slate-market-odds-header {
  font-size: 0.7rem;
  color: #888;
  margin-bottom: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.cbb-slate-debug-block {
  margin-top: 8px;
  padding-top: 6px;
  border-top: 1px dashed rgba(231, 76, 60, 0.3);
  font-size: 0.7rem;
}

.cbb-slate-debug-header {
  font-size: 0.65rem;
  color: #c0392b;
  margin-bottom: 4px;
  font-weight: 600;
  text-transform: uppercase;
}

.calib-label-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  vertical-align: middle;
  margin-left: 8px;
}

.calib-label-badge.active {
  background: rgba(39, 174, 96, 0.15);
  color: #27ae60;
}

.calib-label-badge.inactive {
  background: rgba(180, 180, 180, 0.2);
  color: #888;
}

.calib-source-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  vertical-align: middle;
  margin-left: 4px;
  background: rgba(52, 152, 219, 0.12);
  color: #2980b9;
}

.uncalibrated-badge {
  display: inline-block;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  vertical-align: middle;
  margin-left: 4px;
  background: rgba(231, 76, 60, 0.12);
  color: #c0392b;
  text-transform: uppercase;
}

.market-timestamp {
  font-size: 0.8rem;
  color: #aaa;
  margin-top: 4px;
}

/* Card Bottom Section - Player Data */
.cbb-slate-card-bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding-top: 12px;
  margin-top: 12px;
}

.cbb-slate-players-section {
  margin-bottom: 12px;
}

.cbb-slate-players-header {
  font-size: 0.75rem;
  font-weight: 600;
  color: #666;
  text-transform: uppercase;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.cbb-slate-players-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.cbb-slate-players-col {
  background: rgba(45, 90, 71, 0.03);
  border-radius: 6px;
  padding: 8px;
}

.cbb-slate-players-col-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--pine-green);
  margin-bottom: 6px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(45, 90, 71, 0.15);
}

.cbb-slate-player-table {
  width: 100%;
  border-collapse: collapse;
}

.cbb-slate-player-row {
  display: flex;
  justify-content: space-between;
  padding: 3px 0;
  font-size: 0.8rem;
}

.cbb-slate-player-name {
  color: #333;
  text-decoration: none;
  flex: 1;
}

.cbb-slate-player-name:hover {
  color: var(--pine-green);
  text-decoration: underline;
}

.cbb-slate-player-min {
  color: #888;
  font-weight: 500;
  margin-left: 8px;
}

.cbb-slate-no-players {
  color: #bbb;
  font-size: 0.75rem;
  text-align: center;
  padding: 8px;
}

/* Injuries Section */
.cbb-slate-injuries {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.cbb-slate-injuries-header {
  font-size: 0.7rem;
  font-weight: 600;
  color: #e74c3c;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.cbb-slate-injury-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0;
  font-size: 0.75rem;
}

.cbb-slate-injury-name {
  color: #666;
  flex: 1;
}

.cbb-slate-injury-status {
  color: #e74c3c;
  font-weight: 600;
  font-size: 0.7rem;
  background: rgba(231, 76, 60, 0.1);
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 8px;
}

/* View Action */
.cbb-slate-view-link {
  display: inline-block;
  margin-top: 8px;
  color: var(--pine-green);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
}

.cbb-slate-view-link:hover {
  text-decoration: underline;
}

/* Model Performance Card */
.cbb-slate-perf-card {
  margin-bottom: 20px;
}

.cbb-slate-perf-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.cbb-slate-perf-stats:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.cbb-slate-perf-stat {
  font-size: 0.85rem;
  color: #666;
}

.cbb-slate-perf-stat strong {
  color: var(--pine-green);
  font-weight: 600;
}

.cbb-slate-perf-stat-label {
  font-weight: 600;
  color: #333;
  margin-right: 8px;
}

/* Betting Chips Section */
.cbb-slate-betting-chips {
  margin-top: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(45, 90, 71, 0.1);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cbb-slate-chip-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.cbb-slate-chip-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  min-width: 50px;
}

.cbb-slate-chip {
  display: inline-block;
  padding: 4px 10px;
  font-size: 0.8rem;
  font-weight: 500;
  background: rgba(45, 90, 71, 0.08);
  border: 1px solid rgba(45, 90, 71, 0.2);
  border-radius: 4px;
  color: #2a5a3a;
  white-space: nowrap;
}

.cbb-slate-chip.clickable {
  cursor: pointer;
  transition: all var(--transition-smooth);
}

.cbb-slate-chip.clickable:hover {
  background: var(--pine-green);
  color: white;
  border-color: var(--pine-green);
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Alerts */
.cbb-slate-alert {
  padding: 20px;
  border-radius: 8px;
}

.cbb-slate-alert-warning {
  background: rgba(255, 193, 7, 0.15);
  border: 1px solid rgba(255, 193, 7, 0.3);
}

.cbb-slate-alert-info {
  background: rgba(45, 90, 71, 0.08);
  border: 1px solid rgba(45, 90, 71, 0.15);
}

/* Responsive Design */
@media (max-width: 600px) {
  .cbb-slate-card-header {
    flex-wrap: wrap;
  }

  .cbb-slate-matchup-title {
    font-size: 0.8rem;
  }

  .cbb-slate-team-row {
    grid-template-columns: 1fr 50px 45px;
    font-size: 0.8rem;
  }

  .cbb-slate-nav {
    flex-wrap: wrap;
  }
}

.badge-soon {
  display: inline-block;
  background: #f59e0b;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  vertical-align: middle;
  margin-left: 6px;
}

.nav-disabled {
  display: block;
  padding: 10px 16px;
  color: #9ca3af !important;
  font-size: 0.9rem;
  cursor: default;
  pointer-events: none;
  user-select: none;
}

.footer-disclaimer {
  font-size: 0.75rem;
  color: var(--text-muted, #718096);
  margin-top: 4px;
  opacity: 0.8;
}

.banner-note {
  display: inline-block;
  background: rgba(45, 90, 71, 0.08);
  border: 1px solid rgba(45, 90, 71, 0.2);
  color: var(--pine-green, #2d5a47);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 4px 14px;
  border-radius: 6px;
  margin: 8px 0 4px;
}
