:root {
  --bg: #eef2f7;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --header: #101522;
  --header-line: #2a3246;
  --ink: #111827;
  --ink-soft: #4b5563;
  --border: #d6dde8;
  --brand: #b71c1c;
  --brand-deep: #8e1515;
  --accent: #0f4c81;
  --chip: #edf2ff;
  --gold: #d29b24;
  --good: #0d8b58;
  --shadow: 0 10px 24px rgba(13, 23, 45, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  width: 100%;
  overflow-x: clip;
}

body {
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background: var(--bg);
}

.hidden {
  display: none !important;
}

.shell {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-inline: clamp(0.75rem, 2vw, 1.5rem);
}

.site-header,
.site-main,
.hero-grid,
.content-grid,
.content-grid > *,
.hero-grid > *,
.panel,
.rail,
.news-reel,
.reel-viewport {
  min-width: 0;
}

.site-header {
  background: var(--header);
  color: #e8edf8;
  border-bottom: 1px solid var(--header-line);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-main {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.brand-block {
  display: grid;
  gap: 0.1rem;
}

.brand-kicker,
.brand-title {
  margin: 0;
}

.brand-kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.67rem;
  color: #9ca7bf;
  font-weight: 800;
}

.brand-title {
  font-family: "Baloo 2", cursive;
  font-size: 1.35rem;
  line-height: 1;
  color: #fff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.provider-badge {
  margin: 0;
  border: 1px solid #39435a;
  background: #1d2537;
  color: #dce5f8;
  border-radius: 999px;
  padding: 0.28rem 0.62rem;
  font-size: 0.73rem;
  font-weight: 700;
}

.admin-btn {
  border: 0;
  border-radius: 9px;
  background: linear-gradient(180deg, var(--brand) 0%, var(--brand-deep) 100%);
  color: #fff;
  font-weight: 800;
  font-family: inherit;
  padding: 0.45rem 0.78rem;
  cursor: pointer;
}

.header-nav {
  min-height: 42px;
  border-top: 1px solid var(--header-line);
  display: flex;
  align-items: center;
  gap: 1.2rem;
  overflow-x: auto;
}

.header-nav a {
  color: #b9c4dc;
  text-decoration: none;
  white-space: nowrap;
  font-size: 0.82rem;
  font-weight: 700;
}

.header-nav a:hover {
  color: #ffffff;
}

.header-nav a.active {
  color: #ffffff;
  border-bottom: 2px solid #ffffff;
  padding-bottom: 0.2rem;
}

.site-main {
  padding: 1rem 0 2rem;
  width: 100%;
}

.hero-band {
  margin-bottom: 1rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  gap: 1rem;
  align-items: stretch;
}

.hero-copy {
  background: linear-gradient(135deg, #12233d 0%, #19345a 100%);
  border: 1px solid #294770;
  border-radius: 14px;
  padding: 1.05rem;
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.68rem;
  font-weight: 800;
  color: #b6d3ff;
}

.eyebrow.dark {
  color: #744212;
}

.logo-title {
  margin: 0.42rem 0 0;
  font-family: "Baloo 2", cursive;
  font-size: clamp(2rem, 5vw, 3.3rem);
  line-height: 0.95;
  color: #fff;
}

.subheading {
  margin: 0.65rem 0 0;
  max-width: 52ch;
  color: #dce6ff;
  line-height: 1.45;
}

.meta-row {
  margin-top: 0.9rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.date,
.meta-pill {
  margin: 0;
  border-radius: 999px;
  padding: 0.28rem 0.56rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.date {
  background: #e7eefc;
  color: #0f2c55;
}

.meta-pill {
  background: #1e4f8f;
  color: #d7e8ff;
}

.hero-poster {
  margin: 0;
  min-height: 250px;
  border-radius: 14px;
  border: 1px solid var(--border);
  overflow: hidden;
  background: #d4dbe7;
  box-shadow: var(--shadow);
}

.hero-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-poster figcaption {
  position: absolute;
  left: -9999px;
}

.hero-poster.is-fallback {
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1rem;
}

.hero-poster.is-fallback::before {
  content: "Add your image at /public/conors-tips.png";
  color: #3f4d68;
  font-weight: 700;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: start;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.95rem;
  box-shadow: var(--shadow);
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.8rem;
  border-bottom: 1px solid #e4eaf3;
  padding-bottom: 0.65rem;
}

.panel-header.compact {
  border-bottom-style: dashed;
}

h2 {
  margin: 0;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.muted {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.87rem;
  font-weight: 600;
}

.tips-list,
.upcoming-list,
.results-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.race-card {
  border: 1px solid #dde4ee;
  border-radius: 12px;
  padding: 0;
  background: var(--surface-soft);
  transition: all 0.2s ease;
  animation: fadeInUp 0.4s ease-out backwards;
  overflow: hidden;
}

.race-header {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  padding: 1rem 1.25rem;
  border-bottom: 2px solid #e2e8f0;
}

.race-header-main {
  margin-bottom: 0.75rem;
}

.race-title {
  font-size: 1rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.race-meta {
  margin: 0;
  color: #64748b;
  font-size: 0.8rem;
  font-weight: 600;
}

.race-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.75rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid #e2e8f0;
}

@media (max-width: 768px) {
  .race-info-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
  
  .race-info-item {
    font-size: 0.75rem;
  }
  
  .info-label {
    font-size: 0.7rem;
  }
  
  .info-value {
    font-size: 0.75rem;
  }
}

.race-info-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
}

.info-label {
  color: #64748b;
  font-weight: 600;
}

.info-value {
  color: #0f172a;
  font-weight: 700;
}

.picks-container {
  display: grid;
  gap: 1px;
  background: #e2e8f0;
}

.pick-item {
  padding: 1.25rem;
  background: var(--surface);
}

.banker-pick {
  border-left: 4px solid var(--good);
}

.roughie-pick {
  border-left: 4px solid #f59e0b;
}

.pick-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.tip,
.upcoming-item,
.result-item {
  border: 1px solid #dde4ee;
  border-radius: 10px;
  padding: 1rem;
  background: var(--surface-soft);
  transition: all 0.2s ease;
  animation: fadeInUp 0.4s ease-out backwards;
}

.race-card:nth-child(1) { animation-delay: 0.05s; }
.race-card:nth-child(2) { animation-delay: 0.1s; }
.race-card:nth-child(3) { animation-delay: 0.15s; }
.race-card:nth-child(4) { animation-delay: 0.2s; }
.race-card:nth-child(5) { animation-delay: 0.25s; }
.race-card:nth-child(6) { animation-delay: 0.3s; }
.race-card:nth-child(7) { animation-delay: 0.35s; }

.tip:nth-child(1) { animation-delay: 0.05s; }
.tip:nth-child(2) { animation-delay: 0.1s; }
.tip:nth-child(3) { animation-delay: 0.15s; }
.tip:nth-child(4) { animation-delay: 0.2s; }
.tip:nth-child(5) { animation-delay: 0.25s; }
.tip:nth-child(6) { animation-delay: 0.3s; }
.tip:nth-child(7) { animation-delay: 0.35s; }
.tip:nth-child(8) { animation-delay: 0.4s; }
.tip:nth-child(9) { animation-delay: 0.45s; }
.tip:nth-child(10) { animation-delay: 0.5s; }
.tip:nth-child(11) { animation-delay: 0.55s; }
.tip:nth-child(12) { animation-delay: 0.6s; }
.tip:nth-child(13) { animation-delay: 0.65s; }
.tip:nth-child(14) { animation-delay: 0.7s; }

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

.tip:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(13, 23, 45, 0.1);
}

.tip-head {
  display: grid;
  gap: 0.6rem;
}

.upcoming-head,
.result-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.race,
.pick,
.tip-meta,
.notes,
.odds,
.upcoming-race,
.upcoming-date,
.upcoming-meta,
.upcoming-note,
.result-race,
.result-date,
.result-meta,
.result-winner,
.result-odds {
  margin: 0;
}

.race,
.pick,
.upcoming-race,
.result-race {
  font-weight: 800;
}

.race {
  font-size: 0.85rem;
  color: #4b5563;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.pick {
  color: #1f365a;
  font-size: 1.1rem;
}

.tip-meta {
  margin-top: 0.35rem;
  color: #55657d;
  font-size: 0.82rem;
  font-weight: 700;
}

.tip-stats {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.6rem;
  flex-wrap: wrap;
}

.odds {
  display: inline-block;
  color: #0f172a;
  font-size: 0.85rem;
  font-weight: 700;
}

.form-badge {
  display: inline-block;
  color: #0f172a;
  font-size: 0.85rem;
  font-weight: 700;
  font-family: monospace;
}

.last-run {
  display: inline-block;
  color: #64748b;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  background: #f1f5f9;
  border-radius: 6px;
}

.notes,
.upcoming-note {
  margin-top: 0.7rem;
  color: #374151;
  line-height: 1.6;
  font-size: 0.95rem;
}

.expand-btn {
  margin-top: 0.75rem;
  background: transparent;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 0.5rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
  width: 100%;
  justify-content: center;
}

.expand-btn:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
}

.expand-icon {
  font-size: 0.7rem;
  transition: transform 0.2s ease;
}

.tip-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  margin-top: 0.75rem;
  padding: 0;
}

.tip-details.expanded {
  max-height: 500px;
  padding: 1rem;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.tip-details p {
  margin: 0.5rem 0;
  font-size: 0.875rem;
  color: #334155;
}

.tip-details strong {
  color: #1e293b;
  font-weight: 800;
}

.detailed-analysis {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid #e2e8f0;
  font-style: italic;
  line-height: 1.6;
}


.upcoming-date,
.upcoming-meta {
  color: #5d6c82;
  font-size: 0.82rem;
  font-weight: 700;
}

.result-date,
.result-meta {
  color: #5d6c82;
  font-size: 0.82rem;
  font-weight: 700;
}

.result-winner {
  margin-top: 0.45rem;
  color: #334155;
  font-weight: 700;
}

.result-odds {
  margin-top: 0.25rem;
  color: #0f4c81;
  font-weight: 800;
}

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

.upcoming-status {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid #cad6ea;
  background: #edf3ff;
  color: #0f4c81;
  padding: 0.1rem 0.44rem;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.rail {
  display: grid;
  gap: 1rem;
}

.rail-panel {
  position: static;
}

.news-reel {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.7rem;
  background: #ffffff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.reel-label {
  margin: 0;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  font-weight: 800;
}

.reel-viewport {
  margin-top: 0.5rem;
  overflow: hidden;
  position: relative;
  border: 1px solid #dde4ee;
  border-radius: 9px;
  background: #f7f9fc;
}

.reel-track {
  display: grid;
  gap: 0.45rem;
  width: 100%;
  min-height: 0;
  padding: 0.45rem 0.6rem;
}

.reel-item {
  white-space: normal;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.84rem;
  color: #30435f;
  border: 1px solid #dde4ee;
  border-radius: 8px;
  background: #ffffff;
  padding: 0.42rem 0.52rem;
}

.reel-item strong {
  text-transform: uppercase;
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  color: #0f4c81;
}

.reel-item::after {
  content: none;
}

.footer {
  margin-top: 1rem;
  border-top: 1px solid #d8e0eb;
  padding-top: 0.75rem;
}

.footer p {
  margin: 0;
  color: #64748b;
  font-size: 0.84rem;
}

.festival-modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
}

.festival-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 17, 29, 0.6);
}

.festival-panel {
  width: min(640px, calc(100% - 2rem));
  z-index: 1;
  position: relative;
  border-radius: 14px;
  border: 1px solid #d8c28b;
  background: linear-gradient(180deg, #fff7e0 0%, #ffefc6 100%);
  padding: 1rem;
  box-shadow: 0 20px 40px rgba(10, 12, 24, 0.35);
}

.festival-close,
.drawer-close {
  border: 0;
  border-radius: 8px;
  width: 1.9rem;
  height: 1.9rem;
  background: #f1e0b1;
  color: #6d4b1c;
  font-weight: 800;
  cursor: pointer;
}

.festival-close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
}

.festival-panel h2 {
  margin: 0.25rem 0 0;
  font-size: clamp(1.45rem, 4vw, 2rem);
  color: #57340d;
}

.festival-headline {
  margin: 0.4rem 0 0;
  color: #6b4216;
  font-weight: 800;
}

.festival-summary {
  margin: 0.45rem 0 0;
  color: #704f2a;
}

.countdown-row {
  margin-top: 0.8rem;
  border: 1px dashed #d7b06b;
  border-radius: 10px;
  padding: 0.65rem;
  background: rgba(255, 255, 255, 0.52);
}

.countdown-label,
.countdown {
  margin: 0;
}

.countdown-label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  font-weight: 800;
  color: #795226;
}

.countdown {
  margin-top: 0.3rem;
  font-weight: 800;
  color: #50300f;
}

.cta-btn {
  margin-top: 0.85rem;
  display: inline-block;
  text-decoration: none;
  border-radius: 8px;
  background: linear-gradient(180deg, var(--brand) 0%, var(--brand-deep) 100%);
  color: #fff;
  font-weight: 800;
  padding: 0.52rem 0.86rem;
}

.admin-panel {
  position: fixed;
  inset: 0;
  z-index: 25;
}

.admin-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 18, 31, 0.42);
}

.admin-drawer {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: min(510px, 100%);
  background: #f8fafd;
  border-left: 1px solid #ccd5e3;
  padding: 1rem;
  overflow-y: auto;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-header h3,
.admin-form h4 {
  margin: 0;
}

.admin-form {
  margin-top: 0.85rem;
  display: grid;
  gap: 0.45rem;
}

.admin-form label {
  color: #334155;
  font-size: 0.84rem;
  font-weight: 700;
}

.admin-form input,
.admin-form textarea {
  width: 100%;
  border: 1px solid #cfd8e6;
  border-radius: 8px;
  padding: 0.54rem;
  font-family: inherit;
  background: #fff;
}

.input-row {
  display: flex;
  gap: 0.45rem;
}

.input-row input {
  flex: 1;
}

.input-row button,
.secondary-btn,
.save-btn,
.remove-tip-btn {
  border: 0;
  border-radius: 8px;
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
}

.input-row button,
.secondary-btn {
  background: #1f3352;
  color: #fff;
  padding: 0.48rem 0.7rem;
}

.save-btn {
  margin-top: 0.3rem;
  background: linear-gradient(180deg, #0f9c61 0%, var(--good) 100%);
  color: #ecfff6;
  padding: 0.58rem 0.82rem;
}

.small-note {
  margin: 0.1rem 0 0;
  color: #64748b;
  font-size: 0.78rem;
}

.tips-editor {
  display: grid;
  gap: 0.55rem;
}

.tip-editor-row {
  border: 1px solid #d6e0ee;
  border-radius: 9px;
  background: #fff;
  padding: 0.65rem;
}

.tip-editor-row-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.42rem;
}

.remove-tip-btn {
  background: #7c1d1d;
  color: #fff;
  padding: 0.26rem 0.48rem;
}

.reveal {
  opacity: 0;
  transform: translateY(8px);
  animation: rise 420ms ease forwards;
}

.delay-1 {
  animation-delay: 60ms;
}

.delay-2 {
  animation-delay: 120ms;
}

.delay-3 {
  animation-delay: 180ms;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 1180px) {
  .content-grid {
    grid-template-columns: minmax(0, 1fr) 320px;
  }

  .rail-panel {
    position: sticky;
    top: 120px;
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .rail-panel {
    position: static;
  }

  .hero-poster {
    min-height: 290px;
  }
}

@media (max-width: 640px) {
  .header-main {
    min-height: 60px;
    padding: 0.2rem 0;
  }

  .brand-title {
    font-size: 1.18rem;
  }

  .header-nav {
    min-height: 36px;
    gap: 0.8rem;
  }

  .hero-copy,
  .panel,
  .festival-panel {
    padding: 0.8rem;
  }

  .hero-poster {
    min-height: 220px;
  }

  .subheading {
    font-size: 0.95rem;
  }

  .header-actions {
    width: 100%;
    justify-content: space-between;
  }

  .provider-badge {
    font-size: 0.69rem;
  }
}

/* Cheltenham Festival Enhancements */
.cheltenham-main {
  background: #ffffff;
  min-height: 100vh;
  padding: 2rem 0 3rem;
}

.cheltenham-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.cheltenham-banner {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  margin-bottom: 2rem;
  overflow: hidden;
}

.banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  gap: 1rem;
}

.banner-text h1 {
  font-family: "Baloo 2", cursive;
  font-size: 1.5rem;
  line-height: 1.2;
  margin: 0 0 0.25rem;
  color: #fff;
}

.banner-text p {
  margin: 0;
  color: #94a3b8;
  font-size: 0.875rem;
  font-weight: 600;
}

.banner-logo {
  flex-shrink: 0;
  width: 140px;
  height: 140px;
  border-radius: 12px;
  overflow: visible;
  background: transparent;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-logo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.tips-section {
  background: var(--surface);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  margin-bottom: 2rem;
}

.section-title {
  margin: 0 0 1.25rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ink);
}

.sidebar {
  display: grid;
  gap: 1.5rem;
}

.recent-results,
.live-data-mini {
  background: var(--surface);
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.recent-results h3,
.live-data-mini h3 {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 800;
  color: var(--ink);
}

.results-mini-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.result-mini {
  padding: 0.75rem;
  background: var(--surface-soft);
  border-radius: 8px;
  border-left: 3px solid var(--good);
}

.result-mini-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.25rem;
}

.result-mini-horse {
  font-weight: 800;
  font-size: 0.875rem;
  color: var(--ink);
}

.result-mini-odds {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--good);
}

.result-mini-race {
  font-size: 0.75rem;
  color: var(--ink-soft);
  margin: 0;
}

.live-data-mini {
  background: var(--surface);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  text-align: center;
  margin-bottom: 2rem;
}

.mini-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  animation: pulse 2s ease-in-out infinite;
}

.live-data-mini p {
  margin: 0;
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1.4;
}

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

.cheltenham-footer {
  text-align: center;
  padding: 2rem 1rem;
  color: #94a3b8;
  font-size: 0.875rem;
}

.cheltenham-footer p {
  margin: 0.25rem 0;
}

.cheltenham-footer .disclaimer {
  font-size: 0.75rem;
  color: #64748b;
}

@media (max-width: 980px) {
  .cheltenham-main {
    padding: 1rem 0 2rem;
  }
  
  .banner-content {
    padding: 1rem;
  }
  
  .banner-text h1 {
    font-size: 1.25rem;
  }
  
  .banner-logo {
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 640px) {
  .banner-text h1 {
    font-size: 1.1rem;
  }
  
  .banner-text p {
    font-size: 0.75rem;
  }
  
  .banner-logo {
    width: 80px;
    height: 80px;
  }
  
  .tips-section {
    padding: 1rem;
  }
  
  .tip {
    padding: 0.875rem;
  }
}

.pick-item {
  padding: 1rem 1.25rem;
  background: var(--surface);
}

.banker-pick {
  border-left: 3px solid #059669;
}

.roughie-pick {
  border-left: 3px solid #d97706;
}

.pick-main {
  margin-bottom: 0.75rem;
}

.pick-title-row {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.jockey-silk {
  width: 36px;
  height: 40px;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  position: relative;
  border-radius: 4px 4px 0 0;
}

.jockey-silk::before {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 8px;
  background: inherit;
  border-radius: 0 0 6px 6px;
}

.jockey-silk::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: rgba(0,0,0,0.1);
  border-radius: 4px 4px 0 0;
}

/* Sleeves using data attribute */
.jockey-silk[data-sleeves]:not([data-sleeves=""])::before {
  content: '';
  position: absolute;
  top: 8px;
  left: -3px;
  right: -3px;
  bottom: 4px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-radius: 0;
  z-index: -1;
}

.jockey-silk[data-sleeves*="background: #065f46"]::before {
  border-left-color: #065f46;
  border-right-color: #065f46;
}

.jockey-silk[data-sleeves*="background: #fff"]::before {
  border-left-color: #fff;
  border-right-color: #fff;
}

.jockey-silk[data-sleeves*="background: #6b7280"]::before {
  border-left-color: #6b7280;
  border-right-color: #6b7280;
}

.jockey-silk[data-sleeves*="background: #1e3a8a"]::before {
  border-left-color: #1e3a8a;
  border-right-color: #1e3a8a;
}

.jockey-silk[data-sleeves*="background: #dc2626"]::before {
  border-left-color: #dc2626;
  border-right-color: #dc2626;
}

.jockey-silk[data-sleeves*="background: #fbbf24"]::before {
  border-left-color: #fbbf24;
  border-right-color: #fbbf24;
}

.jockey-silk[data-sleeves*="background: #059669"]::before {
  border-left-color: #059669;
  border-right-color: #059669;
}

.jockey-silk[data-sleeves*="background: #881337"]::before {
  border-left-color: #881337;
  border-right-color: #881337;
}

.jockey-silk[data-sleeves*="background: #000"]::before {
  border-left-color: #000;
  border-right-color: #000;
}

.jockey-silk[data-sleeves*="background: #ea580c"]::before {
  border-left-color: #ea580c;
  border-right-color: #ea580c;
}

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

.pick-name-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
  flex-wrap: wrap;
}

.pick-name {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.pick-meta-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.5rem;
  font-size: 0.8rem;
  color: #64748b;
  flex-wrap: wrap;
}

.jockey-name::before {
  content: "👤 ";
}

.trainer-name::before {
  content: "🏇 ";
}

.tip-stats {
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
  flex-wrap: wrap;
  align-items: center;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  white-space: nowrap;
}

.stat-label {
  color: #64748b;
  font-weight: 600;
  font-size: 0.8rem;
}

.stat-item {
  color: #0f172a;
  font-weight: 600;
}

.odds-stat {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.odds-value {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-weight: 700;
  color: #0f172a;
}

.odds-movement {
  display: inline-flex;
  align-items: center;
  font-size: 1rem;
  margin-left: 0.25rem;
}

.odds-drift {
  color: #ef4444;
  font-weight: 700;
  animation: pulse 1s ease-in-out;
}

.odds-shorten {
  color: #10b981;
  font-weight: 700;
  animation: pulse 1s ease-in-out;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.2); }
}

.form-figures {
  font-family: 'Courier New', monospace;
  letter-spacing: 1px;
  font-weight: 700;
}

.stat-last-run {
  color: #64748b;
  font-weight: 500;
  flex: 1;
  min-width: 200px;
}

@media (max-width: 640px) {
  .pick-title-row {
    gap: 0.5rem;
  }
  
  .jockey-silk {
    width: 32px;
    height: 36px;
  }
  
  .pick-name {
    font-size: 0.95rem;
  }
  
  .tip-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .stat-last-run {
    min-width: 0;
  }
}

.roughie-badge {
  background: transparent;
  color: #0f172a;
  border: none;
  box-shadow: none;
}

.tip-banker {
  border-left: 3px solid #0d8b58;
  background: linear-gradient(to right, rgba(13, 139, 88, 0.03) 0%, transparent 100%);
}

.tip-roughie {
  border-left: 3px solid #d29b24;
  background: linear-gradient(to right, rgba(210, 155, 36, 0.03) 0%, transparent 100%);
}

.tip-banker:hover {
  border-left-color: #0a6b44;
  background: linear-gradient(to right, rgba(13, 139, 88, 0.06) 0%, transparent 100%);
}

.tip-roughie:hover {
  border-left-color: #b8841f;
  background: linear-gradient(to right, rgba(210, 155, 36, 0.06) 0%, transparent 100%);
}
