/* GoalGrid Smart Ticket of the Day — separate from Official Bets / AI Signals */
.gg-smart-ticket-panel {
  margin: 0;
  position: relative;
}

.gg-smart-ticket-panel--spaced {
  margin: 0.85rem 0 1.15rem;
  padding-top: 0.15rem;
}

.gg-smart-ticket-panel--spaced::after {
  content: '';
  display: block;
  height: 1px;
  margin-top: 1.15rem;
  background: linear-gradient(90deg, transparent, rgba(45, 212, 191, 0.22) 18%, rgba(148, 163, 184, 0.14) 82%, transparent);
}

.gg-smart-ticket-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(45, 212, 191, 0.2);
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(20, 184, 166, 0.12) 0%, transparent 55%),
    linear-gradient(165deg, rgba(8, 20, 28, 0.98) 0%, rgba(6, 16, 25, 0.99) 52%, rgba(5, 12, 20, 1) 100%);
  box-shadow:
    0 14px 36px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(45, 212, 191, 0.1);
}

.gg-smart-ticket-card::before {
  content: '';
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #14b8a6, #22d3ee 42%, #34d399);
  opacity: 0.9;
}

.gg-smart-ticket-card.is-published {
  padding: 1.15rem 1.15rem 1rem;
}

.gg-smart-ticket-card.is-empty {
  padding: 0.95rem 1rem 0.85rem;
  border-style: dashed;
  border-color: rgba(148, 163, 184, 0.22);
  background: linear-gradient(165deg, rgba(8, 18, 26, 0.92) 0%, rgba(6, 14, 22, 0.96) 100%);
  box-shadow: inset 0 1px 0 rgba(148, 163, 184, 0.06);
}

.gg-smart-ticket-card.is-empty::before {
  opacity: 0.35;
  height: 2px;
}

.gg-smart-ticket-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem;
  margin-bottom: 0.95rem;
}

.gg-smart-ticket-head--compact {
  margin-bottom: 0.55rem;
}

.gg-smart-ticket-eyebrow {
  margin: 0 0 0.2rem;
  color: #5eead4;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gg-smart-ticket-title {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 700;
  color: #ecfeff;
  letter-spacing: 0.01em;
  line-height: 1.25;
}

.gg-smart-ticket-title--compact {
  font-size: 0.98rem;
}

.gg-smart-ticket-subtitle {
  margin: 0.28rem 0 0;
  color: #99f6e4;
  font-size: 0.84rem;
  font-weight: 600;
}

.gg-smart-ticket-status-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.62rem;
  border-radius: 999px;
  background: rgba(20, 184, 166, 0.16);
  border: 1px solid rgba(45, 212, 191, 0.34);
  color: #5eead4;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}

.gg-smart-ticket-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
  margin: 0 0 1rem;
}

.gg-smart-ticket-stat {
  padding: 0.62rem 0.7rem;
  border-radius: 13px;
  background: rgba(15, 23, 42, 0.58);
  border: 1px solid rgba(148, 163, 184, 0.14);
}

.gg-smart-ticket-stat--risk .gg-smart-ticket-stat-value {
  color: #a7f3d0;
}

.gg-smart-ticket-stat-label {
  display: block;
  font-size: 0.67rem;
  color: #94a3b8;
  margin-bottom: 0.18rem;
  line-height: 1.3;
}

.gg-smart-ticket-stat-value {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: #f8fafc;
}

.gg-smart-ticket-legs {
  display: grid;
  gap: 0.7rem;
}

.gg-smart-ticket-leg {
  padding: 0.85rem 0.9rem;
  border-radius: 14px;
  background: rgba(2, 6, 23, 0.5);
  border: 1px solid rgba(148, 163, 184, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.gg-smart-ticket-leg-head {
  margin-bottom: 0.45rem;
}

.gg-smart-ticket-leg-index {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.gg-smart-ticket-leg-number {
  font-size: 0.76rem;
  font-weight: 700;
  color: #5eead4;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.gg-smart-ticket-leg-sep {
  color: rgba(148, 163, 184, 0.45);
  font-size: 0.72rem;
}

.gg-smart-ticket-leg-badge {
  font-size: 0.68rem;
  font-weight: 700;
  color: #042f2e;
  background: linear-gradient(180deg, #5eead4, #2dd4bf);
  border-radius: 999px;
  padding: 0.14rem 0.5rem;
}

.gg-smart-ticket-leg-match {
  margin: 0 0 0.3rem;
  font-size: 0.98rem;
  font-weight: 700;
  color: #f8fafc;
  line-height: 1.35;
}

.gg-smart-ticket-leg-context {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.65rem;
  margin: 0 0 0.65rem;
  font-size: 0.74rem;
  color: #94a3b8;
}

.gg-smart-ticket-leg-league {
  color: #cbd5e1;
}

.gg-smart-ticket-leg-kickoff::before {
  content: '·';
  margin-right: 0.35rem;
  color: rgba(148, 163, 184, 0.55);
}

.gg-smart-ticket-leg-metrics {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 0.7fr));
  gap: 0.45rem 0.65rem;
  margin: 0;
}

.gg-smart-ticket-leg-metric {
  min-width: 0;
}

.gg-smart-ticket-leg-metric dt {
  margin: 0 0 0.12rem;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
}

.gg-smart-ticket-leg-metric dd {
  margin: 0;
  font-size: 0.84rem;
  font-weight: 700;
  color: #e2e8f0;
  line-height: 1.35;
}

.gg-smart-ticket-leg-reason {
  margin: 0.7rem 0 0;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  font-size: 0.78rem;
  line-height: 1.5;
  color: #cbd5e1;
}

.gg-smart-ticket-reasoning {
  margin: 0.85rem 0 0;
  padding: 0.7rem 0.75rem;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.42);
  border: 1px solid rgba(148, 163, 184, 0.1);
  font-size: 0.78rem;
  line-height: 1.5;
  color: #94a3b8;
}

.gg-smart-ticket-empty-body {
  padding: 0.15rem 0 0.1rem;
}

.gg-smart-ticket-empty-line {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.45;
  color: #e2e8f0;
}

.gg-smart-ticket-empty-line + .gg-smart-ticket-empty-line {
  margin-top: 0.25rem;
}

.gg-smart-ticket-empty-line--muted {
  color: #94a3b8;
  font-size: 0.8rem;
}

.gg-smart-ticket-loading,
.gg-smart-ticket-empty {
  margin: 0;
  padding: 0.75rem 0.85rem;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.45);
  border: 1px dashed rgba(148, 163, 184, 0.22);
  color: #cbd5e1;
  font-size: 0.84rem;
}

.gg-smart-ticket-disclaimer {
  margin: 0.85rem 0 0;
  font-size: 0.72rem;
  line-height: 1.4;
  color: #64748b;
}

@media (min-width: 820px) {
  .gg-smart-ticket-legs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }
}

@media (max-width: 760px) {
  .gg-smart-ticket-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gg-smart-ticket-leg-metrics {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .gg-smart-ticket-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .gg-smart-ticket-card.is-published {
    padding: 1rem 0.95rem 0.9rem;
  }
}

/* Predictions teaser */
.gg-smart-ticket-teaser {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(45, 212, 191, 0.2);
  background: linear-gradient(165deg, rgba(8, 20, 28, 0.96) 0%, rgba(6, 16, 25, 0.98) 100%);
  box-shadow: inset 0 1px 0 rgba(45, 212, 191, 0.08);
}

.gg-smart-ticket-teaser.is-published {
  border-color: rgba(45, 212, 191, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(45, 212, 191, 0.12),
    0 10px 28px rgba(20, 184, 166, 0.08);
}

.gg-smart-ticket-teaser.is-empty {
  border-style: dashed;
  border-color: rgba(148, 163, 184, 0.22);
}

.gg-smart-ticket-teaser-copy {
  min-width: 0;
}

.gg-smart-ticket-teaser-title {
  margin: 0.15rem 0 0.35rem;
  font-size: 1rem;
  font-weight: 700;
  color: #ecfeff;
}

.gg-smart-ticket-teaser-meta {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: #94a3b8;
}

.gg-smart-ticket-teaser-meta strong {
  color: #e2e8f0;
}

.gg-smart-ticket-teaser-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-shrink: 0;
  min-height: 42px;
  padding: 0.72rem 1.2rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #5eead4 0%, #2dd4bf 42%, #14b8a6 100%);
  color: #022c22;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid rgba(153, 246, 228, 0.55);
  box-shadow:
    0 10px 24px rgba(20, 184, 166, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease;
}

.gg-smart-ticket-teaser-btn-icon {
  width: 0.95rem;
  height: 0.95rem;
  flex-shrink: 0;
  transition: transform 0.18s ease;
}

.gg-smart-ticket-teaser-btn:hover {
  color: #022c22;
  transform: translateY(-1px);
  border-color: rgba(204, 251, 241, 0.75);
  background: linear-gradient(135deg, #99f6e4 0%, #2dd4bf 45%, #0d9488 100%);
  box-shadow:
    0 14px 30px rgba(20, 184, 166, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.gg-smart-ticket-teaser-btn:hover .gg-smart-ticket-teaser-btn-icon {
  transform: translateX(2px);
}

.gg-smart-ticket-teaser-btn:active {
  transform: translateY(0);
  box-shadow:
    0 6px 16px rgba(20, 184, 166, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.gg-smart-ticket-teaser-btn:focus-visible {
  outline: 2px solid rgba(45, 212, 191, 0.85);
  outline-offset: 3px;
}

.gg-smart-ticket-teaser-btn.is-ghost {
  color: #ccfbf1;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.82) 0%, rgba(8, 18, 28, 0.92) 100%);
  border-color: rgba(45, 212, 191, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 8px 20px rgba(0, 0, 0, 0.18);
}

.gg-smart-ticket-teaser-btn.is-ghost:hover {
  color: #ecfeff;
  background: linear-gradient(180deg, rgba(20, 184, 166, 0.16) 0%, rgba(8, 18, 28, 0.95) 100%);
  border-color: rgba(45, 212, 191, 0.48);
  box-shadow:
    0 12px 24px rgba(20, 184, 166, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* Dedicated Smart Ticket page */
body.gg-smart-ticket-page {
  background:
    radial-gradient(1200px 520px at 50% -120px, rgba(20, 184, 166, 0.09), transparent 62%),
    radial-gradient(900px 420px at 100% 0%, rgba(34, 211, 238, 0.05), transparent 55%);
  overflow-x: clip;
  max-width: 100%;
}

body.gg-smart-ticket-page .site-shell.football-shell {
  padding-top: 0.55rem;
}

body.gg-smart-ticket-page .gg-smart-ticket-page-wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 0 3rem;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

/* Intro card — hero + date picker unified */
.gg-st-intro {
  margin: 0 0 0.85rem;
}

.gg-st-intro-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(45, 212, 191, 0.22);
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(20, 184, 166, 0.14) 0%, transparent 52%),
    radial-gradient(80% 60% at 0% 100%, rgba(34, 211, 238, 0.06) 0%, transparent 55%),
    linear-gradient(165deg, rgba(8, 20, 28, 0.98) 0%, rgba(6, 16, 25, 0.99) 100%);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(45, 212, 191, 0.1);
}

.gg-st-intro-card::before {
  content: '';
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #14b8a6, #22d3ee 42%, #34d399);
  opacity: 0.92;
}

.gg-st-intro-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem 1.25rem;
  align-items: start;
  padding: 1.05rem 1.1rem 0.85rem;
}

.gg-st-intro-brand {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  min-width: 0;
}

.gg-st-intro-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 14px;
  background: rgba(20, 184, 166, 0.14);
  border: 1px solid rgba(45, 212, 191, 0.32);
  color: #5eead4;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.gg-st-intro-copy {
  min-width: 0;
}

.gg-st-intro-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.55rem;
  flex-shrink: 0;
}

.gg-st-intro-glance {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.38rem;
  max-width: 22rem;
}

.gg-st-intro-glance-pill {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.08rem;
  padding: 0.38rem 0.62rem;
  border-radius: 11px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(15, 23, 42, 0.55);
  min-width: 4.5rem;
}

.gg-st-intro-glance-pill em {
  font-style: normal;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
  line-height: 1.2;
}

.gg-st-intro-glance-pill strong {
  font-size: 0.88rem;
  font-weight: 800;
  color: #f8fafc;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.gg-st-intro-glance-pill.is-accent {
  border-color: rgba(45, 212, 191, 0.34);
  background: rgba(20, 184, 166, 0.12);
}

.gg-st-intro-glance-pill.is-accent strong {
  color: #5eead4;
}

.gg-st-intro-glance-pill.is-profit strong {
  color: #86efac;
}

.gg-st-intro-glance-pill.is-status-won strong {
  color: #86efac;
}

.gg-st-intro-glance-pill.is-status-lost strong {
  color: #fca5a5;
}

.gg-st-intro-glance-pill.is-status-pending strong {
  color: #fde68a;
}

.gg-st-intro-glance-pill.is-muted strong {
  color: #94a3b8;
  font-weight: 600;
  font-size: 0.78rem;
}

.gg-st-intro-toolbar {
  padding: 0.55rem 0.75rem 0.72rem;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
  background: rgba(2, 6, 23, 0.22);
  position: sticky;
  top: calc(var(--gg-topbar-height, 56px) + 0.35rem);
  z-index: 20;
  border-radius: 0 0 18px 18px;
}

.gg-st-page-layout,
.gg-st-main-grid,
.gg-st-ticket-stage,
#smart-ticket-page-ticket,
#smart-ticket-page-summary,
#smart-ticket-page-history {
  min-width: 0;
  max-width: 100%;
}

.gg-st-page-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 0.85rem;
  padding: 0.15rem 0.1rem 0.65rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.gg-st-page-hero-main {
  min-width: 0;
}

.gg-st-page-badge {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.35rem;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  background: rgba(20, 184, 166, 0.12);
  border: 1px solid rgba(45, 212, 191, 0.28);
  color: #5eead4;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gg-st-page-hero h1,
.gg-st-intro-copy h1 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.55rem, 4vw, 2rem);
  font-weight: 800;
  color: #ecfeff;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.gg-st-page-lead {
  margin: 0;
  max-width: 52ch;
  color: #94a3b8;
  line-height: 1.55;
  font-size: 0.86rem;
}

.gg-st-page-hero-actions {
  flex-shrink: 0;
}

.gg-st-page-back {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0.48rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(15, 23, 42, 0.45);
  color: #cbd5e1;
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.gg-st-page-back:hover {
  color: #ecfeff;
  border-color: rgba(45, 212, 191, 0.42);
  background: rgba(20, 184, 166, 0.1);
}

.gg-st-page-layout {
  display: grid;
  gap: 0.85rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: clip;
}

.gg-st-page-layout > * {
  min-width: 0;
  max-width: 100%;
}

.gg-st-toolbar-card {
  padding: 0.65rem 0.75rem 0.72rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 18, 26, 0.82);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.gg-st-intro-card .gg-st-toolbar-card,
.gg-st-intro-card .gg-st-intro-toolbar {
  position: sticky;
  top: calc(var(--gg-topbar-height, 56px) + 0.35rem);
  z-index: 20;
}

.gg-st-intro-card .gg-st-intro-toolbar {
  border-radius: 0 0 18px 18px;
}

.gg-st-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 320px);
  gap: 0.85rem;
  align-items: start;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.gg-st-main-grid > * {
  min-width: 0;
  max-width: 100%;
}

.gg-st-side-stack {
  min-width: 0;
}

.gg-st-date-strip {
  display: flex;
  align-items: stretch;
  gap: 0.45rem;
  min-width: 0;
}

.gg-st-date-strip-main {
  display: flex;
  align-items: stretch;
  gap: 0;
  min-width: 0;
  flex: 1 1 auto;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.gg-st-date-strip-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 2rem;
  width: 2rem;
  min-height: 3rem;
  appearance: none;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.42);
  cursor: pointer;
  transition: background 0.14s ease, color 0.14s ease;
}

.gg-st-date-strip-arrow:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.78);
}

.gg-st-date-strip-arrow:disabled {
  opacity: 0.28;
  cursor: default;
}

.gg-st-date-strip-track {
  display: flex;
  align-items: stretch;
  gap: 0.32rem;
  min-width: 0;
  flex: 1 1 auto;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 0.38rem 0.28rem;
}

.gg-st-date-strip-track::-webkit-scrollbar {
  display: none;
}

.gg-st-date-pill {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.22rem;
  flex: 0 0 auto;
  flex-shrink: 0;
  min-height: 2.55rem;
  min-width: 4.1rem;
  padding: 0.38rem 0.62rem 0.34rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.78);
  cursor: pointer;
  position: relative;
  font: inherit;
  transition: border-color 0.14s ease, background 0.14s ease, color 0.14s ease, transform 0.14s ease;
}

.gg-st-date-pill:hover:not(.is-active) {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

.gg-st-date-pill.is-today:not(.is-active) {
  border-color: rgba(53, 224, 194, 0.28);
}

.gg-st-date-pill.is-active {
  border-color: rgba(53, 224, 194, 0.55);
  background: linear-gradient(180deg, rgba(53, 224, 194, 0.16) 0%, rgba(53, 224, 194, 0.06) 100%);
  color: #fff;
  box-shadow: 0 8px 18px rgba(20, 184, 166, 0.14);
}

.gg-st-date-pill.has-ticket:not(.is-active) {
  border-color: rgba(45, 212, 191, 0.24);
}

.gg-st-date-pill-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.06rem;
  line-height: 1.1;
  white-space: nowrap;
}

.gg-st-date-pill-em,
.gg-st-date-pill-day {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-style: normal;
}

.gg-st-date-pill-prefix-short {
  display: none;
}

.gg-st-date-pill-date {
  display: inline-flex;
  align-items: baseline;
  gap: 0.22rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.72);
}

.gg-st-date-pill-daynum {
  font-size: 0.82rem;
  font-weight: 800;
  color: #f8fafc;
}

.gg-st-date-pill-month {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #5eead4;
}

.gg-st-date-pill.is-active .gg-st-date-pill-daynum {
  color: #ecfeff;
}

.gg-st-date-pill.is-active .gg-st-date-pill-month {
  color: #99f6e4;
}

.gg-st-date-pill.has-ticket:not(.is-active) {
  border-color: rgba(45, 212, 191, 0.34);
  background: rgba(20, 184, 166, 0.08);
}

.gg-st-date-pill.has-ticket .gg-st-date-pill-month {
  color: #5eead4;
}

.gg-st-date-pill.is-new-month {
  margin-left: 0.18rem;
  padding-left: 0.72rem;
  border-left: 1px solid rgba(148, 163, 184, 0.16);
}

.gg-st-date-pill-odds {
  font-size: 0.62rem;
  font-weight: 800;
  color: #5eead4;
  padding: 0.08rem 0.38rem;
  border-radius: 999px;
  background: rgba(20, 184, 166, 0.16);
}

.gg-st-date-pill-dot {
  position: absolute;
  left: 50%;
  bottom: 0.16rem;
  width: 0.28rem;
  height: 0.28rem;
  margin-left: -0.14rem;
  border-radius: 50%;
  background: #35e0c2;
  box-shadow: 0 0 8px rgba(53, 224, 194, 0.65);
}

.gg-st-date-calendar-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  flex: 0 0 auto;
  min-height: 3rem;
  padding: 0.4rem 0.8rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.82);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
  position: relative;
  transition: border-color 0.14s ease, background 0.14s ease, color 0.14s ease;
}

.gg-st-date-calendar-btn:hover {
  border-color: rgba(53, 224, 194, 0.35);
  background: rgba(53, 224, 194, 0.08);
  color: #ccfbf1;
}

.gg-st-date-calendar-icon {
  flex: 0 0 auto;
  opacity: 0.9;
}

.gg-st-date-calendar-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  color-scheme: dark;
}

.gg-st-date-hint {
  margin: 0.5rem 0 0;
  font-size: 0.72rem;
  color: #64748b;
  line-height: 1.4;
}

.gg-st-ticket-stage {
  min-width: 0;
}

/* Betting slip */
.gg-st-slip {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  border-radius: 22px;
  border: 1px solid rgba(45, 212, 191, 0.24);
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(20, 184, 166, 0.14) 0%, transparent 55%),
    linear-gradient(165deg, rgba(8, 20, 28, 0.98) 0%, rgba(5, 12, 20, 1) 100%);
  box-shadow:
    0 22px 48px rgba(0, 0, 0, 0.36),
    inset 0 1px 0 rgba(45, 212, 191, 0.12);
}

.gg-st-slip::before {
  content: '';
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #14b8a6, #22d3ee 42%, #34d399);
}

.gg-st-slip-notch {
  position: absolute;
  top: 50%;
  width: 0.85rem;
  height: 1.35rem;
  margin-top: -0.675rem;
  border-radius: 999px;
  background: rgba(4, 10, 16, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.12);
  z-index: 2;
}

.gg-st-slip-notch--left {
  left: -0.42rem;
}

.gg-st-slip-notch--right {
  right: -0.42rem;
}

.gg-st-slip.is-won {
  border-color: rgba(34, 197, 94, 0.28);
}

.gg-st-slip.is-won::before {
  background: linear-gradient(90deg, #16a34a, #22c55e, #4ade80);
}

.gg-st-slip.is-lost {
  border-color: rgba(239, 68, 68, 0.28);
}

.gg-st-slip.is-lost::before {
  background: linear-gradient(90deg, #dc2626, #ef4444, #f87171);
}

.gg-st-slip.is-empty {
  border-style: dashed;
  border-color: rgba(148, 163, 184, 0.22);
  background: linear-gradient(165deg, rgba(8, 18, 26, 0.92) 0%, rgba(6, 14, 22, 0.96) 100%);
  box-shadow: inset 0 1px 0 rgba(148, 163, 184, 0.06);
}

.gg-st-slip.is-empty::before {
  opacity: 0.35;
  height: 2px;
}

.gg-st-slip-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 1.2rem 1.2rem 0.9rem;
}

.gg-st-slip-brand {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  min-width: 0;
}

.gg-st-slip-brand-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 14px;
  background: rgba(20, 184, 166, 0.12);
  border: 1px solid rgba(45, 212, 191, 0.22);
  font-size: 1.25rem;
  line-height: 1;
}

.gg-st-slip-kicker {
  margin: 0 0 0.18rem;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5eead4;
}

.gg-st-slip-title {
  margin: 0;
  font-size: clamp(1.08rem, 2.8vw, 1.32rem);
  font-weight: 800;
  color: #ecfeff;
  line-height: 1.25;
}

.gg-st-slip-sub {
  margin: 0.28rem 0 0;
  font-size: 0.78rem;
  color: #94a3b8;
}

.gg-st-slip-status {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding: 0.34rem 0.68rem;
  border-radius: 999px;
  background: rgba(20, 184, 166, 0.16);
  border: 1px solid rgba(45, 212, 191, 0.34);
  color: #5eead4;
  font-size: 0.72rem;
  font-weight: 800;
}

.gg-st-slip-status.is-won {
  background: rgba(34, 197, 94, 0.14);
  border-color: rgba(34, 197, 94, 0.32);
  color: #86efac;
}

.gg-st-slip-status.is-lost {
  background: rgba(239, 68, 68, 0.14);
  border-color: rgba(239, 68, 68, 0.32);
  color: #fca5a5;
}

.gg-st-slip-body {
  padding: 0 1.2rem;
}

.gg-st-slip-leg {
  padding: 0.55rem 0;
}

.gg-st-slip-leg-card {
  padding: 0.85rem 0.9rem;
  border-radius: 16px;
  background: rgba(2, 6, 23, 0.48);
  border: 1px solid rgba(148, 163, 184, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.gg-st-slip-leg--won .gg-st-slip-leg-card {
  border-color: rgba(34, 197, 94, 0.22);
}

.gg-st-slip-leg--lost .gg-st-slip-leg-card {
  border-color: rgba(239, 68, 68, 0.22);
}

.gg-st-slip-leg-top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.45rem;
}

.gg-st-slip-leg-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  background: rgba(20, 184, 166, 0.18);
  border: 1px solid rgba(45, 212, 191, 0.35);
  color: #99f6e4;
  font-size: 0.72rem;
  font-weight: 800;
}

.gg-st-slip-leg-market {
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
}

.gg-st-slip-leg-conf {
  margin-left: auto;
  font-size: 0.68rem;
  font-weight: 700;
  color: #94a3b8;
}

.gg-st-slip-leg-conf-bar {
  height: 0.22rem;
  margin: 0 0 0.65rem;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.12);
  overflow: hidden;
}

.gg-st-slip-leg-conf-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #14b8a6, #5eead4);
}

.gg-st-slip-leg-teams {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem;
  margin: 0 0 0.35rem;
  font-size: 0.92rem;
  font-weight: 800;
  color: #f8fafc;
  line-height: 1.25;
}

.gg-st-slip-team-side {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
  flex: 1 1 0;
}

.gg-st-slip-team-side.is-away {
  flex-direction: row-reverse;
  justify-content: flex-start;
  text-align: right;
}

.gg-st-slip-team-side .team-avatar.md {
  width: 1.85rem;
  height: 1.85rem;
  flex-shrink: 0;
}

.gg-st-slip-team-side .team-avatar.is-flag {
  width: 1.95rem;
  height: 1.35rem;
  border-radius: 4px;
}

.gg-st-slip-team-side .team-avatar {
  position: relative;
}

.gg-st-slip-team-side .team-avatar img {
  z-index: 2;
}

.gg-st-slip-team-side .team-avatar img[src] {
  opacity: 1;
}

.gg-st-slip-team-side .team-avatar:has(> img[src]) .team-avatar-fallback {
  opacity: 0;
  visibility: hidden;
}

.gg-st-slip-team-side .team-avatar.is-flag img {
  object-fit: cover;
  padding: 0;
}

.gg-st-slip-team-side .team-avatar img.is-loaded ~ .team-avatar-fallback,
.gg-st-slip-team-side .team-avatar:has(> img.is-loaded) .team-avatar-fallback {
  opacity: 0;
  visibility: hidden;
}

.gg-st-slip-team-side .team-avatar-fallback {
  z-index: 1;
}

.gg-st-slip-team {
  min-width: 0;
  overflow-wrap: anywhere;
  line-height: 1.25;
}

.gg-st-slip-vs {
  flex: 0 0 auto;
  font-size: 0.62rem;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.gg-st-slip-score {
  flex: 0 0 auto;
  min-width: 3.1rem;
  padding: 0.2rem 0.5rem;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.2);
  font-size: 0.95rem;
  font-weight: 800;
  color: #f8fafc;
  text-align: center;
  letter-spacing: 0.03em;
}

.gg-st-slip-leg-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.65rem;
  margin: 0 0 0.65rem;
  font-size: 0.74rem;
  color: #94a3b8;
}

.gg-st-slip-leg-meta span + span::before {
  content: '·';
  margin-right: 0.35rem;
  color: rgba(148, 163, 184, 0.55);
}

.gg-st-slip-leg-pick {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.72rem 0.85rem;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.62);
  border: 1px solid rgba(148, 163, 184, 0.14);
}

.gg-st-slip-leg-pick-copy {
  min-width: 0;
}

.gg-st-slip-leg-pick-label {
  display: block;
  margin-bottom: 0.12rem;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
}

.gg-st-slip-leg-tip {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  color: #e2e8f0;
  line-height: 1.35;
}

.gg-st-slip-leg-odds {
  flex-shrink: 0;
  min-width: 3rem;
  padding: 0.35rem 0.55rem;
  border-radius: 10px;
  background: rgba(20, 184, 166, 0.12);
  border: 1px solid rgba(45, 212, 191, 0.24);
  font-size: 1rem;
  font-weight: 800;
  color: #5eead4;
  text-align: center;
}

.gg-st-slip-leg-status {
  display: inline-flex;
  margin-top: 0.55rem;
  padding: 0.18rem 0.48rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
}

.gg-st-slip-leg-status.is-won {
  background: rgba(34, 197, 94, 0.14);
  color: #86efac;
}

.gg-st-slip-leg-status.is-lost {
  background: rgba(239, 68, 68, 0.14);
  color: #fca5a5;
}

.gg-st-slip-leg-status.is-finished {
  background: rgba(148, 163, 184, 0.12);
  color: #cbd5e1;
}

.gg-st-slip-divider {
  height: 1px;
  margin: 0.15rem 0;
  background: repeating-linear-gradient(
    90deg,
    rgba(148, 163, 184, 0.18) 0,
    rgba(148, 163, 184, 0.18) 6px,
    transparent 6px,
    transparent 12px
  );
}

.gg-st-slip-footer {
  margin-top: 0.35rem;
  padding: 1rem 1.2rem 1.1rem;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(2, 6, 23, 0.35);
}

.gg-st-slip-total {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 0.85rem;
}

.gg-st-slip-total-label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}

.gg-st-slip-total-value {
  margin: 0.12rem 0;
  font-size: clamp(1.85rem, 5vw, 2.35rem);
  font-weight: 800;
  color: #ecfeff;
  line-height: 1;
}

.gg-st-slip-total-note {
  font-size: 0.74rem;
  color: #94a3b8;
}

.gg-st-slip-footer-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.gg-st-slip-footer-stat {
  padding: 0.58rem 0.62rem;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.1);
  text-align: center;
  min-width: 0;
  box-sizing: border-box;
}

.gg-st-slip-footer-stat span {
  display: block;
  margin-bottom: 0.12rem;
  font-size: 0.64rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  overflow-wrap: anywhere;
}

.gg-st-slip-footer-stat strong {
  display: block;
  font-size: 0.9rem;
  color: #f8fafc;
  overflow-wrap: anywhere;
}

.gg-st-slip-note {
  margin: 0;
  padding: 0 1.2rem 0.85rem;
  font-size: 0.76rem;
  line-height: 1.5;
  color: #94a3b8;
}

.gg-st-slip .gg-smart-ticket-disclaimer {
  padding: 0 1.2rem 1rem;
  margin: 0;
}

.gg-st-empty-links {
  padding: 0 1.2rem 1rem;
}

.gg-st-empty-links-label {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  color: #94a3b8;
}

.gg-st-empty-links-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.gg-st-empty-link {
  display: inline-flex;
  flex-direction: column;
  gap: 0.12rem;
  padding: 0.55rem 0.75rem;
  border-radius: 12px;
  border: 1px solid rgba(45, 212, 191, 0.28);
  background: rgba(20, 184, 166, 0.08);
  color: #ecfeff;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.14s ease, background 0.14s ease;
}

.gg-st-empty-link span {
  font-size: 0.88rem;
  font-weight: 800;
  color: #5eead4;
}

.gg-st-empty-link:hover {
  border-color: rgba(45, 212, 191, 0.48);
  background: rgba(20, 184, 166, 0.14);
}

.gg-st-ticket-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 220px;
  padding: 1.5rem 1rem;
  border-radius: 22px;
  border: 1px dashed rgba(148, 163, 184, 0.2);
  background: rgba(8, 18, 26, 0.55);
  color: #94a3b8;
  font-size: 0.86rem;
  text-align: center;
}

.gg-st-ticket-placeholder-icon {
  font-size: 1.75rem;
  line-height: 1;
  opacity: 0.85;
}

/* Empty day panel */
.gg-st-empty-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.35rem 1.1rem 1.1rem;
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background:
    radial-gradient(100% 80% at 50% 0%, rgba(20, 184, 166, 0.06) 0%, transparent 60%),
    rgba(8, 18, 26, 0.72);
}

.gg-st-empty-panel-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: 0.75rem;
  border-radius: 16px;
  background: rgba(148, 163, 184, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.14);
  color: #64748b;
}

.gg-st-empty-panel-copy h2 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: #ecfeff;
}

.gg-st-empty-panel-copy p {
  margin: 0;
  max-width: 36ch;
  font-size: 0.82rem;
  line-height: 1.5;
  color: #94a3b8;
}

.gg-st-empty-tickets {
  width: 100%;
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
}

.gg-st-empty-tickets-label {
  margin: 0 0 0.6rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #64748b;
}

.gg-st-empty-tickets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.5rem;
}

.gg-st-empty-ticket-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.28rem;
  padding: 0.65rem 0.75rem;
  border-radius: 14px;
  border: 1px solid rgba(45, 212, 191, 0.22);
  background: rgba(20, 184, 166, 0.06);
  color: #ecfeff;
  text-decoration: none;
  text-align: left;
  transition: border-color 0.14s ease, background 0.14s ease, transform 0.14s ease;
}

.gg-st-empty-ticket-card:hover {
  border-color: rgba(45, 212, 191, 0.45);
  background: rgba(20, 184, 166, 0.12);
  transform: translateY(-2px);
}

.gg-st-empty-ticket-card.is-won {
  border-color: rgba(34, 197, 94, 0.28);
  background: rgba(34, 197, 94, 0.06);
}

.gg-st-empty-ticket-date {
  font-size: 0.76rem;
  font-weight: 700;
  color: #cbd5e1;
}

.gg-st-empty-ticket-odds {
  font-size: 1.15rem;
  font-weight: 800;
  color: #5eead4;
  line-height: 1;
}

.gg-st-empty-ticket-conf {
  font-size: 0.68rem;
  color: #94a3b8;
}

.gg-st-empty-disclaimer {
  margin: 0.85rem 0 0;
  font-size: 0.68rem;
  color: #64748b;
}

.gg-st-empty-suggest {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  margin-top: 1rem;
  padding: 0.85rem 0.95rem;
  border-radius: 14px;
  border: 1px solid rgba(45, 212, 191, 0.34);
  background: rgba(20, 184, 166, 0.1);
  color: #ecfeff;
  text-decoration: none;
  text-align: left;
  transition: border-color 0.14s ease, background 0.14s ease, transform 0.14s ease;
}

.gg-st-empty-suggest:hover {
  border-color: rgba(45, 212, 191, 0.52);
  background: rgba(20, 184, 166, 0.16);
  transform: translateY(-1px);
}

.gg-st-empty-suggest-copy {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
}

.gg-st-empty-suggest-copy em {
  font-style: normal;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5eead4;
}

.gg-st-empty-suggest-copy strong {
  font-size: 0.92rem;
  color: #ecfeff;
}

.gg-st-empty-suggest-copy span {
  font-size: 0.72rem;
  color: #94a3b8;
}

.gg-st-empty-suggest-action {
  flex-shrink: 0;
  font-size: 0.78rem;
  font-weight: 800;
  color: #5eead4;
}

/* Track record dashboard */
.gg-st-dash {
  padding: 0.9rem 0.95rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 18, 26, 0.88);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
}

.gg-st-dash-head h2 {
  margin: 0 0 0.12rem;
  font-size: 0.9rem;
  color: #ecfeff;
}

.gg-st-dash-head p {
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  color: #64748b;
}

.gg-st-dash-sample-notice {
  margin: 0 0 0.75rem;
  padding: 0.62rem 0.72rem;
  border-radius: 12px;
  border: 1px solid rgba(251, 191, 36, 0.28);
  background: rgba(251, 191, 36, 0.08);
  color: #fde68a;
  font-size: 0.74rem;
  line-height: 1.45;
}

.gg-st-dash.has-early-sample .gg-st-dash-item.is-early-sample strong {
  color: #fde68a;
}

.gg-st-dash-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
  margin-bottom: 0.55rem;
}

.gg-st-dash-hero-stat {
  padding: 0.72rem 0.75rem;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(15, 23, 42, 0.55);
}

.gg-st-dash-hero-stat span {
  display: block;
  margin-bottom: 0.15rem;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
}

.gg-st-dash-hero-stat strong {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
  color: #f8fafc;
}

.gg-st-dash-hero-stat.is-primary {
  border-color: rgba(45, 212, 191, 0.24);
  background: rgba(20, 184, 166, 0.08);
}

.gg-st-dash-hero-stat.is-primary strong {
  color: #99f6e4;
}

.gg-st-dash-hero-stat.is-accent strong {
  color: #86efac;
}

.gg-st-dash-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.4rem;
}

.gg-st-dash-item {
  padding: 0.55rem 0.6rem;
  border-radius: 10px;
  background: rgba(2, 6, 23, 0.42);
  border: 1px solid rgba(148, 163, 184, 0.08);
  text-align: center;
}

.gg-st-dash-item span {
  display: block;
  margin-bottom: 0.1rem;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #64748b;
}

.gg-st-dash-item strong {
  font-size: 0.92rem;
  color: #e2e8f0;
}

/* History list — full width rows */
.gg-st-history-section {
  padding: 0.9rem 0.95rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 18, 26, 0.88);
}

.gg-st-history-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.gg-st-history-section-head h2 {
  margin: 0;
  font-size: 0.92rem;
  color: #ecfeff;
}

.gg-st-history-section-head p {
  margin: 0;
  font-size: 0.72rem;
  color: #64748b;
}

.gg-st-history-list {
  display: grid;
  gap: 0.45rem;
}

.gg-st-history-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.72rem 0.85rem;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(15, 23, 42, 0.45);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.14s ease, background 0.14s ease;
}

.gg-st-history-row:hover {
  border-color: rgba(45, 212, 191, 0.28);
  background: rgba(15, 23, 42, 0.62);
}

.gg-st-history-row.is-won {
  border-color: rgba(34, 197, 94, 0.18);
}

.gg-st-history-row.is-lost {
  border-color: rgba(239, 68, 68, 0.18);
}

.gg-st-history-row-main {
  min-width: 0;
}

.gg-st-history-row-date {
  display: block;
  margin-bottom: 0.12rem;
  font-size: 0.82rem;
  font-weight: 800;
  color: #99f6e4;
}

.gg-st-history-row-legs {
  display: block;
  font-size: 0.72rem;
  line-height: 1.4;
  color: #94a3b8;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gg-st-history-row-stats {
  display: flex;
  gap: 0.65rem;
  flex-shrink: 0;
}

.gg-st-history-row-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 2.8rem;
}

.gg-st-history-row-stat em {
  font-style: normal;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #64748b;
}

.gg-st-history-row-stat strong {
  font-size: 0.82rem;
  color: #f8fafc;
}

.gg-st-history-row .gg-smart-ticket-history-status {
  flex-shrink: 0;
}

.gg-smart-ticket-history-status {
  display: inline-flex;
  padding: 0.18rem 0.48rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
}

.gg-smart-ticket-history-status.is-won {
  background: rgba(34, 197, 94, 0.14);
  color: #86efac;
}

.gg-smart-ticket-history-status.is-lost {
  background: rgba(239, 68, 68, 0.14);
  color: #fca5a5;
}

.gg-smart-ticket-history-status.is-pending {
  background: rgba(148, 163, 184, 0.12);
  color: #cbd5e1;
}

.gg-smart-ticket-history-status.is-void {
  background: rgba(251, 191, 36, 0.12);
  color: #fcd34d;
}

.gg-smart-ticket-history-status.is-postponed {
  background: rgba(251, 146, 60, 0.14);
  color: #fdba74;
}

.gg-st-slip.is-postponed {
  border-color: rgba(251, 146, 60, 0.35);
}

.gg-st-slip-status.is-postponed {
  background: rgba(251, 146, 60, 0.16);
  color: #fdba74;
}

.gg-st-slip-leg-status.is-postponed {
  background: rgba(251, 146, 60, 0.14);
  color: #fdba74;
}

.gg-st-intro-glance-pill.is-status-postponed {
  border-color: rgba(251, 146, 60, 0.35);
  color: #fdba74;
}

@media (max-width: 960px) {
  .gg-st-main-grid {
    grid-template-columns: minmax(0, 1fr);
    overflow-x: clip;
  }

  .gg-st-ticket-stage {
    order: 1;
  }

  .gg-st-side-stack {
    order: 2;
  }
}

@media (max-width: 900px) {
  .gg-st-page-hero,
  .gg-st-intro-head {
    grid-template-columns: 1fr;
  }

  .gg-st-intro-side {
    align-items: stretch;
  }

  .gg-st-intro-glance {
    justify-content: flex-start;
    max-width: none;
  }

  .gg-st-toolbar-card,
  .gg-st-intro-toolbar {
    position: static;
  }

  .gg-st-date-strip {
    flex-wrap: wrap;
  }

  .gg-st-date-calendar-btn {
    width: 100%;
  }

  .gg-st-dash-hero {
    grid-template-columns: 1fr 1fr;
  }

  .gg-smart-ticket-teaser {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  body.gg-smart-ticket-page .gg-smart-ticket-page-wrap {
    padding: 0.15rem 0 calc(4.75rem + env(safe-area-inset-bottom, 0));
  }

  body.gg-smart-ticket-page .site-shell.football-shell {
    padding-top: 0.35rem;
  }

  .gg-st-intro {
    margin-bottom: 0.65rem;
  }

  .gg-st-intro-head {
    padding: 0.72rem 0.8rem 0.62rem;
    gap: 0.55rem;
    grid-template-columns: 1fr;
  }

  .gg-st-intro-brand {
    gap: 0.65rem;
  }

  .gg-st-intro-icon {
    display: none;
  }

  .gg-st-intro-copy h1 {
    font-size: 1.35rem;
    margin-bottom: 0.15rem;
  }

  .gg-st-page-badge {
    margin-bottom: 0.25rem;
    font-size: 0.58rem;
  }

  .gg-st-page-lead {
    display: none;
  }

  .gg-st-intro-side {
    align-items: stretch;
    gap: 0.42rem;
  }

  .gg-st-intro-glance.is-compact {
    justify-content: flex-start;
    gap: 0.32rem;
  }

  .gg-st-intro-glance.is-compact .gg-st-intro-glance-pill {
    min-width: 0;
    flex: 1 1 auto;
    padding: 0.32rem 0.5rem;
    border-radius: 9px;
  }

  .gg-st-intro-glance.is-compact .gg-st-intro-glance-pill strong {
    font-size: 0.82rem;
  }

  .gg-st-page-back {
    display: none;
  }

  .gg-st-intro-toolbar {
    padding: 0.45rem 0.55rem 0.58rem;
  }

  .gg-st-date-hint {
    font-size: 0.68rem;
    margin-top: 0.35rem;
    line-height: 1.35;
  }

  .gg-st-page-hero {
    margin-bottom: 0.6rem;
    padding: 0.1rem 0.05rem 0.55rem;
    gap: 0.65rem;
  }

  .gg-st-page-lead {
    font-size: 0.8rem;
    line-height: 1.45;
  }

  .gg-st-page-back {
    width: 100%;
    justify-content: center;
    min-height: 40px;
  }

  .gg-st-page-layout {
    gap: 0.65rem;
  }

  .gg-st-toolbar-card {
    padding: 0.5rem 0.55rem 0.58rem;
    border-radius: 14px;
  }

  .gg-st-date-strip {
    flex-direction: column;
    gap: 0.38rem;
  }

  .gg-st-date-strip-main {
    border-radius: 10px;
    width: 100%;
    max-width: 100%;
    overflow: visible;
  }

  .gg-st-date-strip-arrow {
    flex: 0 0 1.65rem;
    width: 1.65rem;
    min-height: 2.65rem;
  }

  .gg-st-date-strip-track {
    padding: 0.42rem 0.35rem;
    gap: 0.28rem;
    scroll-padding-inline: 0.35rem;
  }

  .gg-st-date-pill {
    min-width: 4.55rem;
    min-height: 2.75rem;
    padding: 0.38rem 0.55rem 0.34rem;
  }

  .gg-st-date-pill-prefix-long {
    display: none;
  }

  .gg-st-date-pill-prefix-short {
    display: inline;
  }

  .gg-st-date-pill-em,
  .gg-st-date-pill-day {
    font-size: 0.58rem;
    letter-spacing: 0.03em;
  }

  .gg-st-date-pill-date {
    gap: 0.18rem;
  }

  .gg-st-date-pill-daynum {
    font-size: 0.88rem;
  }

  .gg-st-date-pill-month {
    font-size: 0.72rem;
  }

  .gg-st-empty-suggest {
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
  }

  .gg-st-empty-suggest-action {
    align-self: flex-start;
  }

  .gg-st-slip-leg-teams {
    font-size: 0.82rem;
    gap: 0.35rem;
  }

  .gg-st-slip-team-side .team-avatar.md {
    width: 1.5rem;
    height: 1.5rem;
  }

  .gg-st-date-calendar-btn {
    min-height: 2.45rem;
    padding: 0.35rem 0.65rem;
  }

  .gg-st-date-hint {
    margin-top: 0.45rem;
    font-size: 0.68rem;
    line-height: 1.4;
  }

  /* Betting slip — compact phone layout */
  .gg-st-slip {
    border-radius: 18px;
    overflow-x: clip;
  }

  .gg-st-slip-notch {
    display: none;
  }

  .gg-st-slip-header {
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
    padding: 0.85rem 0.65rem 0.6rem;
  }

  .gg-st-slip-brand {
    gap: 0.6rem;
  }

  .gg-st-slip-brand-icon {
    width: 2.15rem;
    height: 2.15rem;
    font-size: 1.05rem;
    border-radius: 12px;
  }

  .gg-st-slip-kicker {
    font-size: 0.6rem;
  }

  .gg-st-slip-title {
    font-size: 1rem;
  }

  .gg-st-slip-sub {
    font-size: 0.72rem;
  }

  .gg-st-slip-status {
    align-self: flex-start;
  }

  .gg-st-slip-body {
    padding: 0 0.65rem;
  }

  .gg-st-slip-leg {
    padding: 0.42rem 0;
  }

  .gg-st-slip-leg-card {
    padding: 0.68rem 0.62rem;
    border-radius: 14px;
  }

  .gg-st-slip-leg-top {
    gap: 0.32rem;
  }

  .gg-st-slip-leg-conf {
    margin-left: auto;
    font-size: 0.64rem;
  }

  .gg-st-slip-leg-teams {
    font-size: 0.92rem;
  }

  .gg-st-slip-leg-pick {
    padding: 0.55rem 0.58rem;
    gap: 0.45rem;
    align-items: flex-start;
  }

  .gg-st-slip-leg-tip {
    font-size: 0.8rem;
    overflow-wrap: anywhere;
  }

  .gg-st-slip-leg-odds {
    min-width: 2.35rem;
    padding: 0.28rem 0.4rem;
    font-size: 0.88rem;
    flex-shrink: 0;
  }

  .gg-st-slip-footer {
    padding: 0.72rem 0.65rem 0.82rem;
  }

  .gg-st-slip-total {
    margin-bottom: 0.65rem;
  }

  .gg-st-slip-total-value {
    font-size: 1.6rem;
  }

  .gg-st-slip-total-note {
    font-size: 0.68rem;
  }

  .gg-st-slip-footer-stats {
    display: flex;
    gap: 0.28rem;
    width: 100%;
    max-width: 100%;
  }

  .gg-st-slip-footer-stat {
    flex: 1 1 0;
    min-width: 0;
    padding: 0.38rem 0.18rem;
    border-radius: 9px;
  }

  .gg-st-slip-footer-stat span {
    margin-bottom: 0.04rem;
    font-size: 0.54rem;
    letter-spacing: 0.02em;
    line-height: 1.2;
  }

  .gg-st-slip-footer-stat strong {
    font-size: 0.74rem;
    line-height: 1.2;
  }

  .gg-st-slip-note,
  .gg-st-slip .gg-smart-ticket-disclaimer {
    padding-left: 0.65rem;
    padding-right: 0.65rem;
    font-size: 0.7rem;
  }

  /* Track record dashboard */
  .gg-st-dash {
    padding: 0.72rem 0.78rem;
    border-radius: 16px;
  }

  .gg-st-dash-head h2 {
    font-size: 0.84rem;
  }

  .gg-st-dash-head p {
    margin-bottom: 0.55rem;
    font-size: 0.68rem;
  }

  .gg-st-dash-hero {
    gap: 0.32rem;
    margin-bottom: 0.45rem;
  }

  .gg-st-dash-hero-stat {
    padding: 0.55rem 0.58rem;
    border-radius: 12px;
  }

  .gg-st-dash-hero-stat strong {
    font-size: 1.1rem;
  }

  .gg-st-dash-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.32rem;
  }

  .gg-st-dash-item {
    padding: 0.42rem 0.35rem;
    border-radius: 8px;
  }

  .gg-st-dash-item span {
    font-size: 0.54rem;
  }

  .gg-st-dash-item strong {
    font-size: 0.8rem;
  }

  /* Empty state */
  .gg-st-empty-panel {
    padding: 1rem 0.85rem 0.85rem;
    border-radius: 16px;
  }

  .gg-st-empty-panel-icon {
    width: 2.75rem;
    height: 2.75rem;
    margin-bottom: 0.6rem;
  }

  .gg-st-empty-panel-copy h2 {
    font-size: 0.98rem;
  }

  .gg-st-empty-panel-copy p {
    font-size: 0.78rem;
  }

  .gg-st-empty-tickets-grid {
    grid-template-columns: 1fr;
  }

  .gg-st-empty-ticket-card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  /* History rows */
  .gg-st-history-section {
    padding: 0.72rem 0.78rem 0.82rem;
    border-radius: 16px;
  }

  .gg-st-history-section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
    margin-bottom: 0.55rem;
  }

  .gg-st-history-section-head h2 {
    font-size: 0.86rem;
  }

  .gg-st-history-section-head p {
    font-size: 0.68rem;
  }

  .gg-st-history-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "main status"
      "stats stats";
    gap: 0.35rem 0.55rem;
    padding: 0.62rem 0.68rem;
    align-items: start;
  }

  .gg-st-history-row-main {
    grid-area: main;
    min-width: 0;
  }

  .gg-st-history-row .gg-smart-ticket-history-status {
    grid-area: status;
    align-self: start;
    margin-top: 0.05rem;
  }

  .gg-st-history-row-stats {
    grid-area: stats;
    width: 100%;
    justify-content: space-between;
    gap: 0.35rem;
    padding-top: 0.4rem;
    margin-top: 0.1rem;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
  }

  .gg-st-history-row-stat {
    min-width: 0;
    flex: 1 1 0;
  }

  .gg-st-history-row-stat em {
    font-size: 0.54rem;
  }

  .gg-st-history-row-stat strong {
    font-size: 0.78rem;
  }

  .gg-st-history-row-legs {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .gg-st-history-row-date {
    font-size: 0.78rem;
  }
}

/* Mobile scroll — lighter paint work, horizontal date strip won't fight vertical swipe */
@media (max-width: 640px) {
  body.gg-smart-ticket-page.gg-layout-shell {
    min-height: auto;
    overscroll-behavior-y: none;
    -webkit-overflow-scrolling: touch;
    background: #050c14;
  }

  body.gg-smart-ticket-page .gg-st-date-strip-track {
    touch-action: pan-x;
    overscroll-behavior-x: contain;
  }

  .gg-st-toolbar-card {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .gg-st-intro-card,
  .gg-st-slip,
  .gg-st-dash,
  .gg-st-history-section,
  .gg-smart-ticket-card {
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
    contain: layout paint;
  }

  .gg-st-slip::before,
  .gg-st-intro-card::before,
  .gg-smart-ticket-card::before {
    transform: translateZ(0);
  }
}

