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

:root {
  --bg: #07090b;
  --bg-elev: #0e1114;
  --bg-elev-2: #161a1f;
  --card: #11151a;
  --border: rgba(255, 255, 255, 0.07);
  --text: #ffffff;
  --text-dim: #8b9299;
  --text-muted: #555c64;
  --accent: #00e07a;
  --accent-2: #00b85f;
  --accent-soft: rgba(0, 224, 122, 0.12);
  --success: #00e07a;
  --warning: #f5b000;
  --danger: #ef4444;
  --gradient: linear-gradient(135deg, #00e07a 0%, #00a84e 100%);
  --gradient-success: linear-gradient(135deg, #00e07a 0%, #00a84e 100%);
  --tabbar-h: 72px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.45;
  overflow: hidden;
  height: 100vh;
  height: 100dvh;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior: none;
}

body {
  background:
    radial-gradient(ellipse at top left, rgba(0, 224, 122, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse at top right, rgba(0, 224, 122, 0.08) 0%, transparent 55%),
    var(--bg);
}


.app {
  position: relative;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  padding-top: var(--safe-top);
}

.screen {
  position: absolute;
  inset: 0;
  top: var(--safe-top);
  bottom: calc(var(--tabbar-h) + var(--safe-bottom));
  overflow-y: auto;
  overflow-x: hidden;
  padding: 16px 16px 24px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  -webkit-overflow-scrolling: touch;
}

.screen.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* HERO */
.hero {
  position: relative;
  padding: 28px 20px 24px;
  background: var(--gradient);
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 16px;
  box-shadow: 0 12px 40px rgba(0, 224, 122, 0.28);
  color: #ffffff;
}

.hero * {
  color: inherit;
}

.hero::before {
  content: "";
  position: absolute;
  top: -60%;
  right: -40%;
  width: 80%;
  height: 160%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.22) 0%, transparent 60%);
  pointer-events: none;
}

.hero-logo {
  position: absolute;
  top: 14px;
  right: 14px;
  height: 26px;
  width: auto;
  opacity: 1;
  pointer-events: none;
  user-select: none;
  z-index: 2;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.3);
  padding: 4px 8px;
  backdrop-filter: blur(6px);
}

.hero-badge {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #ffffff;
  margin-bottom: 14px;
  backdrop-filter: blur(10px);
}

.hero-title {
  font-size: 26px;
  font-weight: 800;
  margin: 0 0 6px;
  letter-spacing: -0.02em;
  position: relative;
}

.hero-ai-tagline {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  position: relative;
}

.hero-ai-brand {
  font-size: 12px;
  font-weight: 500;
  opacity: 0.9;
}

.hero-sub {
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  position: relative;
  font-weight: 500;
}

/* STATUS CARD */
.status-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 16px;
  margin-bottom: 16px;
  position: relative;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.28);
  animation: pulse 2s infinite;
}

.status-dot.ok {
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.4);
}

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

.status-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.82);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.status-value {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
}

/* CTA BUTTON */
.cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 15px 20px;
  border: 0;
  border-radius: 14px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
  position: relative;
}

.cta.primary {
  background: #ffffff;
  color: #061a10;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.cta.accent {
  background: var(--gradient);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(0, 224, 122, 0.35);
}

.cta:active {
  transform: scale(0.98);
  opacity: 0.92;
}

.cta-arrow {
  font-size: 18px;
  transition: transform 0.2s ease;
}

.cta:active .cta-arrow {
  transform: translateX(3px);
}

.cta-note {
  text-align: center;
  margin: 10px 0 0;
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
}

.hero .cta-note,
.bonus-card.gradient .cta-note {
  color: rgba(255, 255, 255, 0.82);
}

/* STATS GRID */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 22px;
}

.stat-card {
  padding: 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.15s ease;
}

.stat-card:active {
  transform: scale(0.98);
  border-color: rgba(0, 224, 122, 0.35);
}

.stat-icon {
  font-size: 22px;
  margin-bottom: 8px;
  filter: grayscale(0);
}

.stat-value {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--accent);
}

.stat-label {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 2px;
}

/* SECTION TITLE */
.section-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin: 18px 0 10px;
}

/* LEAGUES SCROLL */
.leagues-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  margin: 0 -16px;
  padding-left: 16px;
  padding-right: 16px;
  scrollbar-width: none;
}

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

.league-chip {
  flex-shrink: 0;
  padding: 10px 14px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

/* SCREEN HEADER */
.screen-header {
  padding: 8px 4px 20px;
}

.screen-header h2 {
  margin: 0 0 4px;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.screen-sub {
  margin: 0;
  color: var(--text-dim);
  font-size: 14px;
}

/* FORECAST CARD */
.forecast-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px;
  margin-bottom: 12px;
  position: relative;
  overflow: hidden;
}

.forecast-card--clickable {
  display: block;
  width: 100%;
  text-align: left;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.forecast-card--clickable:active {
  transform: scale(0.985);
}

.forecast-card--clickable:hover {
  border-color: rgba(0, 224, 122, 0.35);
  box-shadow: 0 8px 24px rgba(0, 224, 122, 0.08);
}

.forecast-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--gradient);
}

.forecast-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 8px;
}

.forecast-league {
  font-weight: 600;
}

.forecast-match {
  margin: 0 0 14px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.forecast-picks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.pick {
  flex: 1 1 auto;
  min-width: 80px;
  padding: 8px 10px;
  background: var(--bg-elev);
  border-radius: 10px;
  border: 1px solid var(--border);
}

.pick-label {
  display: block;
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}

.pick-value {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: var(--accent);
}

.forecast-footer {
  display: flex;
  align-items: center;
  gap: 10px;
}

.confidence-bar {
  flex: 1;
  height: 6px;
  background: var(--bg-elev);
  border-radius: 100px;
  overflow: hidden;
}

.confidence-fill {
  height: 100%;
  background: var(--gradient);
  border-radius: 100px;
  transition: width 0.4s ease;
}

.confidence-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dim);
  min-width: 110px;
  text-align: right;
}

.empty-hint {
  text-align: center;
  padding: 20px 16px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.5;
}

/* STATS SCREEN */
.big-stat {
  background: var(--gradient);
  border-radius: 20px;
  padding: 24px 20px;
  text-align: center;
  margin-bottom: 16px;
  box-shadow: 0 10px 30px rgba(0, 224, 122, 0.28);
  color: #ffffff;
}

.big-stat-value {
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 6px;
}

.big-stat-label {
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  font-weight: 600;
}

.stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  margin-bottom: 6px;
}

.mini-stat {
  padding: 14px 10px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  text-align: center;
}

.mini-stat-value {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--accent);
}

.mini-stat-label {
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 2px;
}

.market-bar {
  display: grid;
  grid-template-columns: 110px 1fr 48px;
  align-items: center;
  gap: 10px;
  padding: 10px 2px;
}

.market-label {
  font-size: 13px;
  color: var(--text-dim);
}

.market-track {
  height: 8px;
  background: var(--bg-elev);
  border-radius: 100px;
  overflow: hidden;
}

.market-fill {
  height: 100%;
  background: var(--gradient-success);
  border-radius: 100px;
}

.market-value {
  text-align: right;
  font-size: 13px;
  font-weight: 800;
  color: var(--accent);
}

.disclaimer-note {
  margin-top: 18px;
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
}

/* HOW IT WORKS */
.step {
  display: flex;
  gap: 14px;
  padding: 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  margin-bottom: 10px;
}

.step-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 224, 122, 0.4);
}

.step-body h3 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
}

.step-body p {
  margin: 0;
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.5;
}

.info-card {
  padding: 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  margin-top: 10px;
}

.info-card h3 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 700;
}

.info-card p {
  margin: 0;
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.5;
}

/* BONUS */
.bonus-card {
  position: relative;
  padding: 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  margin-bottom: 12px;
}

.bonus-card.gradient {
  background: var(--gradient);
  border: none;
  box-shadow: 0 10px 30px rgba(0, 224, 122, 0.3);
  color: #ffffff;
}

.bonus-card.gradient h3,
.bonus-card.gradient p {
  color: #ffffff;
}

.bonus-card h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 700;
}

.bonus-card p {
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.5;
}

.bonus-card.gradient p {
  color: rgba(255, 255, 255, 0.92);
}

.bonus-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 3px 8px;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 100px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #ffffff;
  backdrop-filter: blur(8px);
}

/* TABBAR */
.tabbar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 8px 4px calc(8px + var(--safe-bottom));
  background: rgba(7, 9, 11, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  z-index: 100;
}

.tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: transparent;
  border: 0;
  padding: 6px 2px;
  font-family: inherit;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s ease, transform 0.15s ease;
  border-radius: 10px;
}

.tab-ico {
  font-size: 20px;
  line-height: 1;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: filter 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.tab-txt {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.tab.active {
  color: var(--accent);
}

.tab.active .tab-ico {
  filter: grayscale(0);
  opacity: 1;
  transform: translateY(-2px) scale(1.08);
}

.tab.active::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 3px;
  background: var(--accent);
  border-radius: 0 0 3px 3px;
  box-shadow: 0 0 12px rgba(0, 224, 122, 0.6);
}

.tab {
  position: relative;
}

.tab:active {
  transform: scale(0.94);
}

/* BRAND FOOTER */
.brand-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 24px 0 8px;
  opacity: 0.65;
}

.brand-footer-text {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.brand-footer-logo {
  height: 22px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: screen;
  opacity: 0.9;
}

body.tg-light .brand-footer-logo {
  mix-blend-mode: multiply;
  filter: invert(1);
}

/* BONUS LOGO */
.bonus-logo {
  position: absolute;
  right: 12px;
  bottom: 12px;
  height: 28px;
  width: auto;
  mix-blend-mode: multiply;
  opacity: 0.7;
  pointer-events: none;
}

/* MODAL */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.modal.open {
  pointer-events: auto;
  opacity: 1;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.modal-sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  max-height: 92vh;
  max-height: 92dvh;
  overflow-y: auto;
  padding: 10px 20px calc(24px + var(--safe-bottom));
  background: var(--bg-elev);
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  border-top: 1px solid var(--border);
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.2, 1);
  -webkit-overflow-scrolling: touch;
}

.modal.open .modal-sheet {
  transform: translateY(0);
}

.modal-handle {
  width: 40px;
  height: 4px;
  border-radius: 2px;
  background: var(--text-muted);
  opacity: 0.5;
  margin: 0 auto 12px;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.modal-header h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.modal-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 0;
  background: var(--bg-elev-2);
  color: var(--text-dim);
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:active {
  transform: scale(0.92);
}

.modal-sub {
  margin: 0 0 18px;
  color: var(--text-dim);
  font-size: 13px;
  line-height: 1.5;
}

/* FORM */
.reg-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.field-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding-left: 2px;
}

.field input,
.field select {
  width: 100%;
  padding: 14px 14px;
  background: var(--bg-elev-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.2s ease, background 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
}

.field select {
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%238a92a6' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.field input::placeholder {
  color: var(--text-muted);
}

.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg-elev);
}

.field.invalid input,
.field.invalid select {
  border-color: var(--danger);
}

.field-error {
  font-size: 12px;
  color: var(--danger);
  min-height: 0;
  padding-left: 2px;
  display: none;
}

.field.invalid .field-error {
  display: block;
}

.field-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 4px 2px;
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.45;
  cursor: pointer;
}

.field-checkbox input {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: var(--accent);
  flex-shrink: 0;
}

.reg-submit {
  margin-top: 6px;
}

.reg-note {
  margin: 4px 0 0;
  text-align: center;
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.5;
}

body.modal-open {
  overflow: hidden;
}

/* Light theme via TG */
body.tg-light {
  --bg: #f6f8f7;
  --bg-elev: #ffffff;
  --bg-elev-2: #eef2ef;
  --card: #ffffff;
  --border: rgba(0, 0, 0, 0.07);
  --text: #07090b;
  --text-dim: #5a6570;
  --text-muted: #8a929a;
}

body.tg-light {
  background:
    radial-gradient(ellipse at top left, rgba(0, 224, 122, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse at top right, rgba(0, 168, 78, 0.08) 0%, transparent 55%),
    var(--bg);
}

body.tg-light .tabbar {
  background: rgba(255, 255, 255, 0.9);
}

body.tg-light .pick {
  background: var(--bg-elev-2);
}

body.tg-light .market-track,
body.tg-light .confidence-bar {
  background: var(--bg-elev-2);
}

body.tg-light .cta.primary {
  background: #07090b;
  color: #ffffff;
}

body.tg-light .stat-value,
body.tg-light .mini-stat-value,
body.tg-light .market-value {
  color: #00a84e;
}

body.tg-light .pick-value {
  color: #00a84e;
}

.hero-note {
  margin: 0 0 8px;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
}

.forecasts-updated {
  margin: 0 0 12px;
  padding: 0 4px;
  font-size: 12px;
  color: var(--text-dim);
}

.forecasts-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.forecast-note {
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.45;
}

.forecast-cta {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
}

.tap-hint {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}

.express-build {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.express-ticket {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
}

.express-ticket-header {
  padding: 16px;
  background: linear-gradient(135deg, rgba(0, 224, 122, 0.18), rgba(0, 224, 122, 0.05));
  border-bottom: 1px solid var(--border);
}

.express-ticket-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 4px;
}

.express-ticket-meta {
  font-size: 12px;
  color: var(--text-dim);
}

.express-leg {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
}

.express-leg:last-of-type {
  border-bottom: none;
}

.express-leg-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}

.express-leg-match {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

.express-leg-time {
  margin-top: 2px;
  font-size: 12px;
  color: var(--text-dim);
}

.express-leg-pick {
  text-align: right;
}

.express-leg-market {
  display: block;
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.express-leg-value {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: var(--accent);
}

.express-ticket-footer {
  padding: 12px 16px 16px;
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.45;
}

.leaderboard {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.leaderboard-row {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.leaderboard-rank {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  color: #061a10;
  background: var(--gradient);
}

.leaderboard-name {
  font-size: 14px;
  font-weight: 700;
}

.leaderboard-meta {
  margin-top: 2px;
  font-size: 12px;
  color: var(--text-dim);
}

.leaderboard-rate {
  font-size: 13px;
  font-weight: 800;
  color: var(--accent);
}

.express-card {
  margin-top: 8px;
}
