/* ViBET365 1:1 Replica — Crisp White & Emerald Green (白绿配色) Theme */
:root {
  --vb-bg: #f2f7f4;
  --vb-surface: #ffffff;
  --vb-surface-alt: #eaf4ee;
  --vb-green-dark: #0a5434;
  --vb-green-main: #0f6e45;
  --vb-green-bright: #148f59;
  --vb-green-accent: #00a859;
  --vb-green-soft: #dff0e6;
  --vb-border: #cde0d4;
  --vb-text: #12291f;
  --vb-muted: #526b5e;
  --vb-gold: #d99b00;
  --vb-up: #00a859;
  --vb-down: #d93829;
  --vb-font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "SF Pro Text", "Hiragino Sans GB", "Noto Sans CJK SC", "Microsoft YaHei", system-ui, sans-serif;
  --vb-font-num: "DIN Alternate", "SF Pro Display", -apple-system, "PingFang SC", system-ui, sans-serif;
}

.vibet-shell {
  background: var(--vb-bg);
  color: var(--vb-text);
  min-height: 100vh;
  padding-bottom: 112px;
  font-family: var(--vb-font-sans);
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
.vibet-shell.vb-dark {
  --vb-bg: #0f151e;
  --vb-surface: #18212e;
  --vb-surface-alt: #1e2938;
  --vb-border: #2a374b;
  --vb-text: #eef3fa;
  --vb-muted: #93a3b8;
  --vb-green-soft: rgba(20, 143, 89, 0.22);
  background: #0f151e !important;
  color: #eef3fa !important;
  color-scheme: dark;
}
.vibet-shell.vb-dark .vb-search-input,
.vibet-shell.vb-dark .vb-lang-switch,
.vibet-shell.vb-dark .vb-card,
.vibet-shell.vb-dark .vb-featured-box,
.vibet-shell.vb-dark .vb-featured-item,
.vibet-shell.vb-dark .vb-sport-quick-btn,
.vibet-shell.vb-dark .vb-sport-row,
.vibet-shell.vb-dark .vb-tourn-btn,
.vibet-shell.vb-dark .vb-date-strip,
.vibet-shell.vb-dark .vb-match-card,
.vibet-shell.vb-dark .vb-live-row,
.vibet-shell.vb-dark .vb-mkt-pill,
.vibet-shell.vb-dark .vb-detail-header,
.vibet-shell.vb-dark .vb-detail-market,
.vibet-shell.vb-dark .vb-schedina-drawer,
.vibet-shell.vb-dark .vb-slip-item,
.vibet-shell.vb-dark .vb-modal,
.vibet-shell.vb-dark footer,
.vibet-shell.vb-dark select,
.vibet-shell.vb-dark input {
  background: #18212e !important;
  color: #eef3fa !important;
  border-color: #2a374b !important;
}
.vibet-shell.vb-dark .vb-lang-switch button.active,
.vibet-shell.vb-dark .vb-mkt-pill.active,
.vibet-shell.vb-dark .vb-odd-btn.selected {
  background: var(--vb-green-main) !important;
  color: #ffffff !important;
  border-color: var(--vb-green-bright) !important;
}
.vibet-shell.vb-dark .vb-odd-btn {
  background: #1e2938 !important;
  border-color: #2a374b !important;
  color: #eef3fa !important;
}
.vibet-shell.vb-dark .vb-odd-sign {
  background: #141c27 !important;
  color: #b4c3d6 !important;
  border-bottom-color: #2a374b !important;
}
.vibet-shell.vb-dark .vb-live-team-line,
.vibet-shell.vb-dark .vb-live-teams-btn,
.vibet-shell.vb-dark .vb-pre-left,
.vibet-shell.vb-dark .vb-compact-select,
.vibet-shell.vb-dark .vb-featured-item span {
  color: #eef3fa !important;
}
.vibet-shell.vb-dark .vb-compact-select {
  background: #18212e !important;
  border-color: #2a374b !important;
}
.vibet-shell.vb-dark .vb-featured-item b {
  background: #0f6e45 !important;
  color: #ffffff !important;
}

.vibet-shell button,
.vibet-shell select,
.vibet-shell input {
  min-height: 44px;
  font: inherit;
}

/* Topbar (#topbar replica in White & Emerald Green) */
.vb-topbar {
  background: linear-gradient(135deg, var(--vb-green-dark) 0%, var(--vb-green-main) 100%);
  color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 40;
  box-shadow: 0 2px 8px rgba(10, 84, 52, 0.18);
}

.vb-topbar-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.vb-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  padding: 0 8px 0 0;
  border-radius: 8px;
}
.vb-brand:hover {
  background: rgba(255, 255, 255, 0.1);
}

.vb-ball-logo {
  width: 38px;
  height: 32px;
  border-radius: 10px;
  background: radial-gradient(circle at 30% 25%, #ffe066, #19a964 68%, #09472b 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.92);
  display: inline-grid;
  place-items: center;
  font-family: var(--vb-font-num);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: -0.02em;
  color: #06351f;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.22);
}

.vb-brand-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.15;
}
.vb-brand-text strong {
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: #ffffff;
}
.vb-brand-text strong em {
  font-style: normal;
  color: #a3f7bf;
}
.vb-brand-text small {
  font-size: 0.72rem;
  color: #d4f2e0;
}

.vb-top-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.vb-top-btn {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  padding: 0 12px;
  font-size: 0.82rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.vb-top-btn:hover {
  background: rgba(255, 255, 255, 0.24);
}
.vb-top-btn.active {
  background: #ffffff;
  color: var(--vb-green-dark);
  border-color: #ffffff;
}
.vb-top-btn.back-btn {
  background: #ffffff;
  color: var(--vb-green-dark);
  font-weight: 800;
}

.vb-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 10px 24px;
}

/* Section Title Bars (IN EVIDENZA / PREMATCH / League Header) */
.vb-section-bar {
  background: var(--vb-green-main);
  color: #ffffff;
  padding: 0 14px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.01em;
  border-radius: 8px 8px 0 0;
  margin-top: 10px;
  width: 100%;
  text-align: left;
}
.vb-section-bar:hover {
  background: var(--vb-green-dark);
}
.vb-section-main-btn {
  flex: 1 1 auto;
  min-width: 0;
  text-align: left;
  color: inherit;
  font: inherit;
  min-height: 36px !important;
  padding: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.vb-section-main-btn:hover {
  background: transparent;
}

/* IN EVIDENZA 2-Column Grid (ul.group-shortcuts replica) */
.vb-shortcuts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: var(--vb-surface);
  border: 1px solid var(--vb-border);
  border-top: 0;
  border-radius: 0 0 8px 8px;
  overflow: hidden;
}

.vb-shortcut-cell {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-right: 1px solid var(--vb-border);
  border-bottom: 1px solid var(--vb-border);
  background: var(--vb-surface);
  color: var(--vb-text);
  text-align: left;
  font-weight: 600;
  font-size: 0.82rem;
  width: 100%;
  min-width: 0;
}
.vb-shortcut-cell:nth-child(2n) {
  border-right: 0;
}
.vb-shortcut-cell:hover {
  background: var(--vb-surface-alt);
  color: var(--vb-green-dark);
}

.vb-flag-badge {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--vb-green-dark);
  border: 1px solid var(--vb-border);
  font-size: 1.05rem;
  line-height: 1;
  display: inline-grid;
  place-items: center;
  flex: none;
}

.vb-shortcut-title {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.2;
}
.vb-shortcut-title b {
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.vb-shortcut-title small {
  font-size: 0.72rem;
  color: var(--vb-muted);
  font-weight: 400;
}
.vb-shortcut-count {
  margin-left: auto;
  background: var(--vb-green-soft);
  color: var(--vb-green-dark);
  font-family: var(--vb-font-num);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 10px;
}

/* 5-Column Time Filter Bar (#selectTimeMenu / #day_labels: Oggi, +1gg, Domani, Settimana, Tutti) */
.vb-time-bar {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  background: var(--vb-surface);
  border: 1px solid var(--vb-border);
  border-top: 0;
}

.vb-time-btn {
  background: var(--vb-surface-alt);
  color: var(--vb-text);
  border-right: 1px solid var(--vb-border);
  font-weight: 500;
  font-size: 0.82rem;
  padding: 4px 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.15;
}
.vb-time-btn.active {
  background: var(--vb-green-main);
  color: #ffffff;
  font-weight: 600;
  box-shadow: inset 0 3px 0 #80edaa;
}
.vb-time-btn:last-child {
  border-right: 0;
}
.vb-time-btn small {
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--vb-muted);
}
.vb-time-btn.active {
  background: var(--vb-green-main);
  color: #ffffff;
  box-shadow: inset 0 3px 0 #80edaa;
}
.vb-time-btn.active small {
  color: #d7f7e3;
}

.vb-sport-quick-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--vb-surface);
  border: 1px solid var(--vb-border);
  border-top: 0;
}
.vb-sport-quick-btn {
  background: #ffffff;
  color: var(--vb-text);
  border-right: 1px solid var(--vb-border);
  font-weight: 500;
  font-size: 0.82rem;
  padding: 4px 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 44px;
}
.vb-sport-quick-btn:last-child {
  border-right: 0;
}
.vb-sport-quick-btn:hover {
  background: var(--vb-surface-alt);
}
.vb-sport-quick-btn.active {
  background: var(--vb-green-dark);
  color: #ffffff;
  font-weight: 600;
}
@media (max-width: 420px) {
  .vb-sport-quick-btn {
    font-size: 0.74rem;
    padding: 4px 2px;
    gap: 3px;
  }
}

/* Sport Palimpsest List (#sportPalimpsest) */
.vb-sport-list {
  background: var(--vb-surface);
  border: 1px solid var(--vb-border);
  border-top: 0;
  border-radius: 0 0 8px 8px;
  overflow: hidden;
}

.vb-sport-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border-bottom: 1px solid var(--vb-border);
  background: var(--vb-surface);
  text-align: left;
  font-weight: 700;
  font-size: 0.88rem;
}
.vb-sport-row:nth-child(even) {
  background: #f9fcfa;
}
.vb-sport-row:hover {
  background: var(--vb-surface-alt);
}

.vb-sport-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--vb-green-soft);
  color: var(--vb-green-dark);
  display: inline-grid;
  place-items: center;
  font-size: 0.82rem;
  flex: none;
}

.vb-sport-count {
  margin-left: auto;
  font-weight: 800;
  color: var(--vb-green-main);
  font-variant-numeric: tabular-nums;
}

.vb-caret {
  color: var(--vb-green-bright);
  font-size: 0.78rem;
  margin-left: 6px;
}

.vb-cat-box {
  background: #f3f9f5;
  border-bottom: 1px solid var(--vb-border);
  padding: 6px 10px;
}

.vb-cat-group {
  margin-bottom: 6px;
}
.vb-cat-title {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--vb-green-dark);
  padding: 4px 6px;
  text-transform: uppercase;
}
.vb-tourn-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 2px 4px;
}
.vb-tourn-btn {
  background: #ffffff;
  border: 1px solid var(--vb-border);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--vb-text);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.vb-tourn-btn:hover {
  border-color: var(--vb-green-main);
  background: var(--vb-green-soft);
}
.vb-tourn-btn b {
  color: var(--vb-green-main);
}

/* Two-Row Market Pills Bar (Row 1: Market Groups, Row 2: Specific Markets) */
.vb-market-bars {
  background: var(--vb-surface);
  border: 1px solid var(--vb-border);
  border-radius: 8px;
  padding: 8px;
  margin-top: 10px;
  display: grid;
  gap: 8px;
}

.vb-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.vb-mkt-pill {
  background: var(--vb-surface-alt);
  color: var(--vb-text);
  border: 1px solid var(--vb-border);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 0.78rem;
  font-weight: 500;
}
.vb-mkt-pill:hover {
  background: var(--vb-green-soft);
}
.vb-mkt-pill.active {
  background: var(--vb-green-main);
  color: #ffffff;
  border-color: var(--vb-green-dark);
  font-weight: 600;
}
.vb-mkt-pill.sub.active {
  background: var(--vb-green-dark);
  color: #ffffff;
}

/* Date Divider Strip (Sabato 21 Novembre replica) */
.vb-date-strip {
  background: var(--vb-surface-alt);
  color: var(--vb-green-dark);
  border-left: 4px solid var(--vb-green-main);
  padding: 8px 12px;
  font-size: 0.82rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--vb-border);
}

/* Match Card — 1-Row Table Layout (Left Teams/Time/Sentiment + Right Odds Grid & '+N' Pill) */
.vb-match-card {
  display: grid;
  grid-template-columns: minmax(180px, 1.35fr) minmax(240px, 1.65fr);
  gap: 12px;
  align-items: center;
  background: var(--vb-surface);
  border: 1px solid var(--vb-border);
  border-top: 0;
  padding: 8px 12px;
  content-visibility: auto;
  contain-intrinsic-size: auto 72px;
  contain: layout style;
}
.vb-match-card:hover {
  background: #fafdfb;
}
.vb-pre-left {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  min-width: 0;
}
.vb-pre-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 1px;
}
.vb-pre-meta .vb-sentiment {
  margin: 0;
  width: 58px;
}
.vb-match-time {
  color: var(--vb-green-main);
  font-weight: 700;
  font-size: 0.73rem;
  font-variant-numeric: tabular-nums;
  flex: none;
}
.vb-prematch-foot {
  background: #f8fbf9;
  border: 1px solid var(--vb-border);
  border-top: 0;
  border-radius: 0 0 8px 8px;
  padding: 6px 10px;
}
.vb-prematch-foot .vb-mkt-pill.sub {
  min-height: 36px !important;
  height: 36px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
@media (max-width: 640px) {
  .vb-match-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }
}

.vb-match-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.vb-odds-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(76px, 1fr));
  gap: 6px;
}

/* 2-Tier Odds Button (Green Header Sign + White/Green Decimal Value) */
.vb-odd-btn {
  display: flex;
  flex-direction: column;
  padding: 0;
  border: 1px solid var(--vb-border);
  border-radius: 6px;
  overflow: hidden;
  background: var(--vb-surface);
  min-height: 46px;
}
.vb-odd-btn:hover {
  border-color: var(--vb-green-main);
}

.vb-odd-sign {
  background: #edf5f0;
  color: var(--vb-green-dark);
  border-bottom: 1px solid #d9eae0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 3px 4px;
  width: 100%;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vb-odd-val {
  color: var(--vb-green-dark);
  font-family: var(--vb-font-num);
  font-weight: 700;
  font-size: 0.96rem;
  letter-spacing: -0.01em;
  padding: 5px 4px;
  width: 100%;
  text-align: center;
  font-variant-numeric: tabular-nums;
  position: relative;
}

.vb-odd-btn.selected {
  border-color: var(--vb-green-dark);
  box-shadow: 0 0 0 2px rgba(15, 110, 69, 0.25);
}
.vb-odd-btn.selected .vb-odd-sign {
  background: var(--vb-green-dark);
  color: #ffffff;
  border-bottom-color: transparent;
}
.vb-odd-btn.selected .vb-odd-val {
  background: var(--vb-green-bright);
  color: #ffffff;
}

/* Up/Down Live Odds Triangles */
.vb-odd-up::after {
  content: '';
  position: absolute;
  top: 2px;
  right: 2px;
  border-left: 6px solid transparent;
  border-top: 6px solid var(--vb-up);
}
.vb-odd-down::after {
  content: '';
  position: absolute;
  bottom: 2px;
  right: 2px;
  border-left: 6px solid transparent;
  border-bottom: 6px solid var(--vb-down);
}

/* Pill '+' & Market Count Button on right of Match Row */
.vb-plus-btn {
  min-width: 46px;
  height: 44px;
  padding: 0 9px;
  border-radius: 22px;
  background: var(--vb-green-main);
  color: #ffffff;
  font-family: var(--vb-font-num);
  font-weight: 700;
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  display: inline-grid;
  place-items: center;
  box-shadow: 0 2px 4px rgba(15, 110, 69, 0.2);
}
.vb-plus-btn:hover {
  background: var(--vb-green-dark);
}

/* LIVE (/live/) Specific Styles (step_16.png & step_20.png replica in White & Green) */
.vb-live-subnav {
  background: var(--vb-green-dark);
  padding: 6px 10px;
  display: flex;
  gap: 8px;
  border-radius: 8px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.vb-live-subbtn {
  color: #ffffff;
  padding: 0 14px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.84rem;
}
.vb-live-subbtn:not(.active):hover {
  background: rgba(255, 255, 255, 0.16);
}
.vb-live-subbtn.active {
  background: #ffffff;
  color: var(--vb-green-dark);
}

.vb-live-sports-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  background: var(--vb-surface);
  border: 1px solid var(--vb-border);
  border-radius: 8px;
  padding: 8px;
  margin-top: 8px;
}

.vb-live-sport-pill {
  background: var(--vb-surface-alt);
  border: 1px solid var(--vb-border);
  border-radius: 22px;
  padding: 4px 14px;
  font-weight: 700;
  font-size: 0.82rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.vb-live-sport-pill.active {
  background: var(--vb-green-main);
  color: #ffffff;
  border-color: var(--vb-green-dark);
}
.vb-live-badge {
  background: var(--vb-green-dark);
  color: #ffffff;
  border-radius: 10px;
  padding: 1px 6px;
  font-size: 0.72rem;
}
.vb-live-sport-pill.active .vb-live-badge {
  background: #ffffff;
  color: var(--vb-green-dark);
}

.vb-live-row {
  display: grid;
  grid-template-columns: minmax(140px, 1.35fr) 38px minmax(150px, 1.65fr);
  gap: 10px;
  align-items: start;
  background: var(--vb-surface);
  border: 1px solid var(--vb-border);
  border-top: 0;
  padding: 8px 12px;
  content-visibility: auto;
  contain-intrinsic-size: auto 76px;
  contain: layout style;
}
.vb-live-row .vb-odds-row {
  align-self: center;
}

.vb-live-teams-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 3px;
  padding: 2px 4px;
  border-radius: 6px;
  width: 100%;
  min-width: 0;
}
.vb-live-teams-stack {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
}
.vb-live-team-line {
  font-size: 0.88rem;
  font-weight: 600;
  color: #0f2419;
  letter-spacing: -0.005em;
  line-height: 21px;
  height: 21px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.vb-live-clock {
  font-size: 0.74rem;
  color: var(--vb-green-main);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
}
.vb-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--vb-green-accent);
  display: inline-block;
  flex: none;
}

.vb-live-score-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--vb-surface-alt);
  border: 1px solid var(--vb-border);
  border-radius: 6px;
  padding: 2px 4px;
  font-family: var(--vb-font-num);
  font-weight: 700;
  color: var(--vb-green-dark);
  font-size: 0.94rem;
  font-variant-numeric: tabular-nums;
}
.vb-live-score-box span {
  line-height: 21px;
  height: 21px;
}
.vb-live-toolbar {
  margin-top: 8px;
  padding: 9px 10px;
  gap: 8px;
}
.vb-live-toolbar-divider {
  border-top: 1px solid #e6f0ea;
  margin: 0;
}

/* Isometric Green Pitch Tracker (step_20.png Evento replica) */
.vb-pitch-tracker {
  background: linear-gradient(180deg, #0b4f30 0%, #146e44 100%);
  color: #ffffff;
  border-radius: 10px;
  padding: 14px;
  margin: 10px 0;
  box-shadow: 0 4px 12px rgba(10, 84, 52, 0.16);
}
.vb-scoreboard-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  background: rgba(0, 0, 0, 0.25);
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 800;
}
.vb-scoreboard-bar .away-side {
  text-align: right;
}
.vb-big-score {
  background: #ffffff;
  color: var(--vb-green-dark);
  padding: 4px 14px;
  border-radius: 6px;
  font-family: var(--vb-font-num);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}
.vb-pitch-field {
  margin-top: 12px;
  height: 135px;
  border-radius: 8px;
  background: repeating-linear-gradient(90deg, #1d8a52 0 28px, #22995c 28px 56px);
  border: 2px solid rgba(255, 255, 255, 0.85);
  position: relative;
  display: grid;
  place-items: center;
  text-align: center;
}
.vb-pitch-field::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: rgba(255, 255, 255, 0.65);
}
.vb-pitch-field::after {
  content: '';
  position: absolute;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.65);
}
.vb-pitch-overlay {
  z-index: 2;
  background: rgba(7, 48, 29, 0.82);
  padding: 8px 18px;
  border-radius: 20px;
  border: 1px solid #9ef5be;
}
.vb-pitch-overlay strong {
  display: block;
  font-size: 1.1rem;
  color: #a3f7bf;
}

/* Single Match All-Markets Detail (step_12.png replica in White & Green) */
.vb-quick-mkt-bar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 12px;
}
.vb-quick-cat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.vb-quick-cat-row .vb-mkt-pill {
  min-height: 36px !important;
  padding: 4px 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.vb-quick-cat-row .vb-cnt {
  opacity: 0.78;
  font-weight: 700;
}
.vb-quick-jump-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  padding: 4px 0 2px;
}
.vb-jump-label {
  flex: none;
  font-size: 0.76rem;
  color: var(--vb-green-dark);
}
.vb-quick-jump-row .vb-mkt-pill.sub {
  min-height: 30px !important;
  padding: 3px 8px;
  font-size: 0.73rem;
}
.vb-title-right {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  white-space: nowrap;
}
@media (max-width: 520px) {
  .vb-live-mkt-tag {
    display: none;
  }
}
.vb-back-top-btn {
  min-height: 26px !important;
  padding: 2px 8px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.32);
  font-size: 0.72rem;
  font-weight: 700;
}
.vb-back-top-btn:hover {
  background: rgba(255, 255, 255, 0.28);
}
.vb-detail-market-title.clickable {
  cursor: pointer;
}
.vb-line-group {
  border-top: 1px solid var(--vb-border);
}
.vb-line-group:first-of-type {
  border-top: 0;
}
.vb-line-badge {
  background: var(--vb-surface-alt);
  color: var(--vb-green-dark);
  font-size: 0.74rem;
  font-weight: 800;
  padding: 5px 10px;
  border-bottom: 1px solid var(--vb-border);
}
.vb-float-top {
  position: fixed;
  right: 14px;
  bottom: 66px;
  z-index: 42;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(4px);
  color: var(--vb-green-dark);
  border: 1.5px solid var(--vb-green-main);
  border-radius: 999px;
  padding: 0 12px;
  min-height: 34px !important;
  font-size: 0.74rem;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(7, 48, 29, 0.14);
}
.vb-slip-match-btn {
  text-align: left;
  font-weight: 800;
  color: var(--vb-green-dark);
  padding: 0;
  min-height: 24px !important;
  font-size: 0.8rem;
  text-decoration: underline;
  text-decoration-color: rgba(15, 110, 69, 0.35);
}
.vb-soon-tag {
  display: inline-block;
  background: #e6f7ed;
  color: #0b5d36;
  border: 1px solid #a8dfc0;
  border-radius: 4px;
  padding: 1px 5px;
  font-size: 0.68rem;
  font-weight: 800;
  margin-right: 5px;
}
.vb-odd-btn.vb-band-hit {
  border-color: var(--vb-green-accent);
  box-shadow: 0 0 0 1px rgba(0, 168, 89, 0.35);
}
.vb-odd-btn.vb-band-dim {
  opacity: 0.52;
}
.vb-sec-link {
  background: transparent;
  color: #dff5e6;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 2px 6px;
  min-height: 30px !important;
  border-radius: 5px;
}
.vb-sec-link:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}
.vb-sport-strip-wrap {
  background: var(--vb-surface);
  border: 1px solid var(--vb-border);
  border-top: 0;
}
.vb-sport-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 10px;
}
.vb-sport-chip {
  width: auto !important;
  min-height: 36px !important;
  padding: 4px 10px !important;
  border: 1px solid var(--vb-border) !important;
  border-radius: 8px;
  background: var(--vb-surface-alt) !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem !important;
}
.vb-sport-chip.active {
  background: var(--vb-green-main) !important;
  color: #ffffff !important;
  border-color: var(--vb-green-main) !important;
}
.vb-sport-chip small {
  font-weight: 800;
  opacity: 0.78;
}
.vb-toolbar-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 6px 8px 4px;
  border-top: 1px solid var(--vb-border);
}
.vb-compact-select {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 36px;
  height: 36px;
  background: #ffffff;
  border: 1px solid var(--vb-border);
  border-radius: 6px;
  padding: 0 8px 0 10px;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--vb-green-dark);
}
.vb-compact-select select {
  border: 0;
  background: transparent;
  min-height: 34px !important;
  height: 34px;
  line-height: 34px;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--vb-green-dark);
  padding: 0 2px;
  cursor: pointer;
}
.vb-odd-btn.locked,
.vb-odd-btn:disabled {
  background: repeating-linear-gradient(-45deg, #f6f8f7, #f6f8f7 5px, #edf1ef 5px, #edf1ef 10px);
  border: 1px dashed #c8d4cd;
  cursor: not-allowed;
  opacity: 0.74;
}
.vb-odd-btn.locked .vb-odd-sign,
.vb-odd-btn:disabled .vb-odd-sign {
  background: #e8eeea;
  color: #708077;
  border-bottom: 1px dashed #d3ddd7;
}
.vb-odd-btn.locked .vb-odd-val,
.vb-odd-btn:disabled .vb-odd-val {
  color: #708077;
  font-size: 0.75rem;
  font-weight: 600;
}
.vb-live-row.vb-row-locked {
  background: #fafbfb;
}
.vb-lock-pill {
  display: inline-block;
  background: #fde8e8;
  color: #b42318;
  border: 1px solid #f5bcbc;
  border-radius: 4px;
  padding: 1px 5px;
  font-size: 0.68rem;
  font-weight: 800;
  margin-right: 4px;
}
.vb-detail-lock-banner {
  margin-top: 8px;
  background: rgba(180, 35, 24, 0.92);
  color: #ffffff;
  border: 1px solid rgba(255, 210, 210, 0.6);
  border-radius: 6px;
  padding: 6px 10px;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 800;
}
.vb-slip-locked {
  display: inline-block;
  background: #fde8e8;
  color: #b42318;
  border: 1px solid #f5bcbc;
  border-radius: 4px;
  padding: 1px 5px;
  font-size: 0.68rem;
  font-weight: 800;
  margin-left: 4px;
}
.vb-hot-tag {
  display: inline-block;
  background: #fff3e0;
  color: #a84b00;
  border: 1px solid #f4c78a;
  border-radius: 4px;
  padding: 1px 5px;
  font-size: 0.66rem;
  font-weight: 800;
  margin-right: 4px;
}
.vb-share-box,
.vb-import-box {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #f4faf6;
  border: 1px solid var(--vb-border);
  border-radius: 6px;
  padding: 6px 8px;
  font-size: 0.72rem;
}
.vb-share-box input,
.vb-import-box input {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 30px !important;
  padding: 2px 6px;
  border: 1px solid var(--vb-border);
  border-radius: 4px;
  background: #ffffff;
  font-size: 0.72rem;
}
@media (max-width: 520px) {
  .vb-time-bar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .vb-time-btn {
    border-bottom: 1px solid var(--vb-border);
  }
}
.vb-mkt-search-row {
  display: flex;
  gap: 6px;
  align-items: center;
}
.vb-mkt-search-row input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0 12px;
  border: 1px solid var(--vb-border);
  border-radius: 6px;
  background: #f9fcfa;
  font-size: 0.84rem;
}
.vb-detail-market {
  background: var(--vb-surface);
  border: 1px solid var(--vb-border);
  border-radius: 8px;
  margin-top: 10px;
  overflow: hidden;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
  content-visibility: auto;
  contain-intrinsic-size: auto 120px;
}
.vb-detail-market.vb-mkt-highlight {
  border-color: var(--vb-green-accent);
  box-shadow: 0 0 0 3px rgba(0, 168, 89, 0.28);
}
.vb-detail-market-title {
  background: var(--vb-green-main);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.86rem;
  padding: 8px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.vb-detail-odds-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 6px;
  padding: 10px;
}

/* Floating SCHEDINA Pill & Drawer */
.vb-schedina-bar {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 45;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}
.vb-schedina-pill {
  background: var(--vb-green-dark);
  color: #ffffff;
  border: 2px solid #ffffff;
  border-radius: 22px;
  padding: 0 16px;
  font-weight: 800;
  font-size: 0.82rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
}
.vb-schedina-drawer {
  background: var(--vb-surface);
  border: 2px solid var(--vb-green-main);
  border-radius: 12px;
  padding: 12px;
  width: min(360px, calc(100vw - 24px));
  box-shadow: 0 8px 24px rgba(10, 84, 52, 0.25);
}

.vb-slip-item {
  padding: 6px 8px;
  background: var(--vb-surface-alt);
  border: 1px solid var(--vb-border);
  border-radius: 6px;
  font-size: 0.78rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.vb-slip-del {
  min-height: 28px !important;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--vb-border);
  color: var(--vb-muted);
  font-weight: 800;
  display: inline-grid;
  place-items: center;
}

.vb-slip-calc {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--vb-border);
  display: grid;
  gap: 8px;
}

.vb-slip-input-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--vb-green-dark);
}

.vb-slip-input-row input {
  width: 128px;
  padding: 0 10px;
  border: 1.5px solid var(--vb-green-main);
  border-radius: 6px;
  font-weight: 800;
  text-align: right;
  color: var(--vb-green-dark);
  background: #ffffff;
}

.vb-slip-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.vb-slip-presets button {
  flex: 1;
  min-height: 34px !important;
  padding: 2px 6px;
  font-size: 0.76rem;
}

.vb-slip-summary {
  background: var(--vb-surface-alt);
  border-radius: 8px;
  padding: 8px 10px;
  display: grid;
  gap: 4px;
  font-size: 0.8rem;
}
.vb-slip-summary > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.vb-slip-summary strong {
  color: var(--vb-green-main);
  font-size: 0.96rem;
}
.vb-slip-note {
  font-size: 0.72rem;
  color: var(--vb-muted);
  margin: 0;
}

/* Fixed Bottom Navigation Bar (Mobile only; desktop uses topbar) */
.vb-bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--vb-surface);
  border-top: 2px solid var(--vb-green-main);
  display: none;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 4px;
  padding: 4px 6px calc(4px + env(safe-area-inset-bottom));
  z-index: 40;
}
@media (max-width: 768px) {
  .vibet-shell {
    padding-bottom: 84px;
  }
  .vb-bottom-nav {
    display: grid;
  }
  .vb-top-actions .vb-top-btn:not(.back-btn) {
    display: none;
  }
  .vb-schedina-bar {
    right: 12px;
    bottom: 62px;
  }
  .vb-float-top {
    right: 12px;
    bottom: 112px;
  }
}
.vb-bottom-btn {
  background: var(--vb-surface-alt);
  color: var(--vb-green-dark);
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.74rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2px;
}
.vb-bottom-btn.active {
  background: var(--vb-green-main);
  color: #ffffff;
}

@keyframes vbFlashUp {
  0% { background: #9ef5be; color: #05381d; box-shadow: 0 0 0 2px #00a859; }
  100% { background: inherit; }
}
@keyframes vbFlashDown {
  0% { background: #ffd6d2; color: #7a120a; box-shadow: 0 0 0 2px #d93829; }
  100% { background: inherit; }
}
@keyframes vbFlashScore {
  0% { background: #148f59; color: #ffffff; transform: scale(1.08); }
  100% { background: var(--vb-surface-alt); color: var(--vb-green-dark); transform: scale(1); }
}

.vb-flash-up { animation: vbFlashUp 1.5s ease-out; }
.vb-flash-down { animation: vbFlashDown 1.5s ease-out; }
.vb-flash-score { animation: vbFlashScore 1.5s ease-out; }

.vb-search-strip {
  background: var(--vb-surface);
  border: 1px solid var(--vb-border);
  border-radius: 8px;
  padding: 6px 8px;
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.vb-search-input {
  flex: 1 1 210px;
  min-width: 0;
  min-height: 40px !important;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--vb-border);
  border-radius: 7px;
  background: #f9fcfa;
  font-size: 0.84rem;
}
.vb-lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  background: #edf4ef;
  border: 1px solid var(--vb-border);
  border-radius: 8px;
}
.vb-lang-switch button {
  min-height: 34px !important;
  height: 34px;
  padding: 0 10px;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 6px;
  background: transparent;
  color: var(--vb-muted);
  transition: background-color 0.14s ease, color 0.14s ease, box-shadow 0.14s ease;
}
.vb-lang-switch button.active {
  background: var(--vb-green-main);
  color: #ffffff;
  box-shadow: 0 1px 3px rgba(10, 84, 52, 0.25);
}

.vb-star-btn {
  min-height: 34px !important;
  min-width: 34px;
  padding: 0 6px;
  border-radius: 6px;
  font-size: 1rem;
  color: #8ca396;
  flex: none;
}
.vb-star-btn.on {
  color: #e09f00;
  background: #fff8df;
}

.vb-slip-mode-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
}
.vb-slip-mode-row.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.vb-slip-mode-row button {
  min-height: 34px !important;
  font-size: 0.74rem;
  padding: 2px 4px;
}

/* 1. Market Sentiment Bar (stats1 / stats2 / stats3 — crisp & minimal) */
.vb-sentiment {
  margin: 0 0 8px;
}
.vb-sentiment-bar {
  height: 4px;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  background: #e6efe9;
  gap: 1px;
}
.vb-sentiment-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--vb-muted);
  margin-top: 3px;
  font-variant-numeric: tabular-nums;
}

/* 2. Live Set / Quarter Subscore Strip */
.vb-setscores {
  font-size: 0.72rem;
  color: var(--vb-green-dark);
  background: var(--vb-surface-alt);
  border: 1px solid var(--vb-border);
  border-radius: 4px;
  padding: 1px 6px;
  display: inline-block;
  margin-top: 2px;
  font-variant-numeric: tabular-nums;
}

/* 3. Top-Center GOOOL! Toast Alert (clean, non-blocking) */
.vb-goal-toast {
  position: fixed;
  top: 62px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 60;
  background: #ffffff;
  border: 2px solid var(--vb-green-accent);
  color: var(--vb-green-dark);
  border-radius: 28px;
  padding: 6px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 6px 20px rgba(10, 84, 52, 0.25);
  font-size: 0.84rem;
  font-weight: 800;
  max-width: calc(100vw - 24px);
}
.vb-goal-toast .vb-goal-pill {
  background: var(--vb-green-accent);
  color: #ffffff;
  border-radius: 14px;
  padding: 2px 8px;
  font-size: 0.74rem;
}

/* 4. Antepost Outrights Clean 2-Column Ranking Grid */
.vb-ante-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 10px;
  background: var(--vb-surface);
  border: 1px solid var(--vb-border);
  border-top: 0;
  border-radius: 0 0 8px 8px;
}
.vb-ante-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid var(--vb-border);
  border-radius: 8px;
  background: #fafdfb;
  text-align: left;
  min-width: 0;
}
.vb-ante-card:hover {
  border-color: var(--vb-green-main);
  background: var(--vb-surface-alt);
}
.vb-ante-card.selected {
  border-color: var(--vb-green-dark);
  background: var(--vb-green-main);
  color: #ffffff;
}
.vb-ante-card.selected small {
  color: #d7f7e3;
}
.vb-ante-rank {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--vb-green-soft);
  color: var(--vb-green-dark);
  font-size: 0.72rem;
  font-weight: 800;
  display: inline-grid;
  place-items: center;
  flex: none;
}
.vb-ante-odds {
  font-family: var(--vb-font-num);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--vb-green-main);
  font-variant-numeric: tabular-nums;
  flex: none;
}
.vb-ante-card.selected .vb-ante-odds {
  color: #ffffff;
}

@media (max-width: 640px) {
  .vb-ante-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
.vb-slip-changed {
  display: inline-block;
  background: #fff4d2;
  color: #8a5a00;
  border: 1px solid #e1cf8a;
  border-radius: 4px;
  padding: 1px 5px;
  font-size: 0.68rem;
  margin-left: 4px;
}
.vb-saved-list {
  display: grid;
  gap: 6px;
  max-height: 240px;
  overflow-y: auto;
}
.vb-saved-card {
  border: 1px solid var(--vb-border);
  background: #f9fcfa;
  border-radius: 8px;
  padding: 8px;
  font-size: 0.76rem;
}

@media (max-width: 640px) {
  .vb-live-row {
    grid-template-columns: minmax(0, 1fr) 38px;
  }
  .vb-live-row .vb-odds-row {
    grid-column: 1 / -1;
  }
  .vb-time-btn {
    font-size: 0.74rem;
  }
}
@media (max-width: 520px) {
  .vb-bottom-nav {
    gap: 2px;
    padding: 4px 4px calc(4px + env(safe-area-inset-bottom));
  }
  .vb-bottom-btn {
    font-size: 0.64rem;
    letter-spacing: -0.02em;
    padding: 3px 2px;
    min-width: 0;
  }
  .vb-bottom-btn span,
  .vb-bottom-btn small {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}
@media (max-width: 380px) {
  .vb-shortcuts-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .vb-shortcut-cell {
    border-right: 0;
  }
}

/* Generated Betting Slip Receipt Modal (模拟投注单) */
.vb-ticket-backdrop {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: rgba(6, 36, 22, 0.58);
  backdrop-filter: blur(2px);
  display: grid;
  place-items: center;
  padding: 14px;
  overflow-y: auto;
}
.vb-ticket-card {
  width: min(440px, 100%);
  background: #ffffff;
  border: 1px solid var(--vb-border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 16px 42px rgba(6, 40, 24, 0.34);
  animation: vbTicketIn 0.18s ease-out;
}
@keyframes vbTicketIn {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.vb-ticket-head {
  background: linear-gradient(135deg, var(--vb-green-dark) 0%, var(--vb-green-bright) 100%);
  color: #ffffff;
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.vb-ticket-head strong {
  display: block;
  font-size: 1rem;
  letter-spacing: 0.01em;
}
.vb-ticket-head small {
  display: block;
  font-size: 0.72rem;
  color: #d4f2e0;
  margin-top: 2px;
}
.vb-ticket-close {
  width: 36px;
  min-height: 36px !important;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
}
.vb-ticket-close:hover {
  background: rgba(255, 255, 255, 0.28);
}
.vb-ticket-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 14px;
  background: var(--vb-surface-alt);
  border-bottom: 1px solid var(--vb-border);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--vb-green-dark);
}
.vb-ticket-items {
  padding: 8px 14px;
  max-height: 240px;
  overflow-y: auto;
  display: grid;
  gap: 8px;
}
.vb-ticket-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e7f0eb;
}
.vb-ticket-row:last-child {
  border-bottom: 0;
  padding-bottom: 2px;
}
.vb-ticket-row-main {
  min-width: 0;
}
.vb-ticket-match {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--vb-text);
  word-break: break-word;
}
.vb-ticket-mkt {
  font-size: 0.75rem;
  color: var(--vb-muted);
  margin-top: 2px;
}
.vb-ticket-mkt b {
  color: var(--vb-green-dark);
  font-weight: 600;
}
.vb-ticket-odd {
  font-family: var(--vb-font-num);
  font-size: 1rem;
  font-weight: 700;
  color: var(--vb-green-main);
  font-variant-numeric: tabular-nums;
  flex: none;
  background: var(--vb-green-soft);
  padding: 4px 8px;
  border-radius: 6px;
}
.vb-ticket-divider {
  border-top: 2px dashed #b9d5c5;
  margin: 4px 14px;
}
.vb-ticket-totals {
  padding: 8px 14px 6px;
  display: grid;
  gap: 5px;
  font-size: 0.8rem;
}
.vb-ticket-totals > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--vb-muted);
  font-variant-numeric: tabular-nums;
}
.vb-ticket-totals > div b {
  color: var(--vb-text);
}
.vb-ticket-payout {
  margin-top: 2px;
  padding: 7px 10px;
  background: var(--vb-green-soft);
  border: 1px solid #b8dec8;
  border-radius: 8px;
  color: var(--vb-green-dark) !important;
  font-weight: 800;
}
.vb-ticket-payout strong {
  font-size: 1.05rem;
  color: var(--vb-green-dark);
}
.vb-ticket-actions {
  padding: 8px 14px 6px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}
.vb-ticket-actions .vb-mkt-pill {
  min-height: 38px !important;
  font-size: 0.75rem;
  justify-content: center;
}
.vb-ticket-foot {
  margin: 0;
  padding: 4px 14px 10px;
  text-align: center;
  font-size: 0.7rem;
  color: var(--vb-muted);
}
.vb-snap-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--vb-green-dark);
  background: var(--vb-surface-alt);
  border: 1px solid var(--vb-border);
  border-radius: 4px;
  padding: 0 5px;
  vertical-align: middle;
}
.vb-hist-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  background: var(--vb-surface-alt);
  border: 1px solid var(--vb-border);
  border-radius: 6px;
  font-size: 0.74rem;
  color: var(--vb-text);
  font-variant-numeric: tabular-nums;
}
.vb-hist-status {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 4px;
}
.vb-hist-status.pending { background: #fff6dc; color: #8a5a00; }
.vb-hist-status.won { background: #dff5e7; color: #0a5434; }
.vb-hist-status.lost { background: #fde8e8; color: #b42318; }
.vb-ticket-barcode {
  margin: 4px 14px 2px;
  padding: 6px 8px 4px;
  background: #fafdfb;
  border: 1px solid #e1ede6;
  border-radius: 6px;
  text-align: center;
}
.vb-barcode-bars {
  display: flex;
  justify-content: center;
  align-items: stretch;
  height: 24px;
  margin-bottom: 3px;
}
.vb-barcode-bars i {
  display: block;
  flex: none;
}
.vb-ticket-barcode small {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--vb-muted);
}
.vb-empty-box {
  background: var(--vb-surface);
  border: 1px solid var(--vb-border);
  border-radius: 8px;
  margin-top: 8px;
  padding: 20px 16px;
  text-align: center;
  color: var(--vb-muted);
  font-size: 0.86rem;
}
.vb-empty-box p {
  margin: 0;
}
.vb-empty-actions {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.vb-acct-slip-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  background: #edf6f0;
  border: 1px solid #cce3d5;
  border-radius: 6px;
  padding: 5px 8px;
  font-size: 0.74rem;
  color: var(--vb-green-dark);
}
.vb-slip-warn {
  background: #fde8e8;
  border: 1px solid #f5bcbc;
  color: #b42318;
  border-radius: 6px;
  padding: 5px 8px;
  font-size: 0.74rem;
  font-weight: 700;
}
.vb-mkt-pill:disabled {
  background: #eff3f0 !important;
  color: #82948a !important;
  border-color: #d6e1da !important;
  cursor: not-allowed;
  opacity: 0.72;
}
