/* Hero odds card — rounded white.
   One card holding the match block and the market list. Compact spacing, soft
   elevation off the purple panel. Markup is unchanged from the dark version. */

.odds-visual {
  justify-content: center;
  align-items: center;
  gap: 0;
  padding: 2.4vw;
}

/* Ring pulled into the corner so it reads behind the card, not through it. */
.odds-visual:after {
  border-width: 46px;
  border-color: #e8fd8814;
  width: 250px;
  height: 250px;
  inset: -6% -12% auto auto;
}

/* ------------------------------------------------------------- the card --- */

.odds-card {
  z-index: 1;
  position: relative;
  width: 100%;
  max-width: 450px;
  border: 0;
  border-radius: 22px;
  background: #fff;
  color: var(--ink);
  /* Two shadows: a wide soft one for lift, a tight one to seat the edge. */
  box-shadow:
    0 30px 64px -26px #150b33a6,
    0 2px 8px -3px #150b3340;
  overflow: hidden;
}

/* ---------------------------------------------------------- status row --- */

.odds-status {
  display: flex;
  justify-content: flex-start;
  background: #f7f5fc;
  border-bottom: 1px solid #12121212;
  color: var(--magenta);
  padding: 17px 20px;
  font: 700 10px/1.2 monospace;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* --------------------------------------------------------- match block --- */

.match-block {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 16px;
  padding: 34px 18px 36px;
}

.match-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 11px;
  min-width: 0;
  text-align: center;
}

.match-side img {
  width: 46px;
  height: 31px;
  object-fit: cover;
  border-radius: 5px;
  box-shadow: 0 0 0 1px #1212121f;
}

.match-side b {
  font-size: 17px;
  letter-spacing: -.02em;
}

.match-side span {
  color: #6f6880;
  font: 700 11px/1.3 monospace;
}

.match-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding-top: 4px;
  text-align: center;
}

.match-state strong {
  font: 800 19px/1 monospace;
  letter-spacing: -.02em;
}

.match-state span {
  color: #6b647d;
  font: 700 9px/1 monospace;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* --------------------------------------------------------- market list --- */

.market-group {
  border-top: 1px solid #1212120f;
}

.market-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 17px 20px 0;
  color: #6b647d;
  font: 700 12px/1.2 monospace;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.market-rows {
  display: grid;
  gap: 10px;
  padding: 15px 16px 19px;
}

.market-rows-3 { grid-template-columns: repeat(3, 1fr); }
.market-rows-2 { grid-template-columns: repeat(2, 1fr); }

.market-group:last-child .market-rows {
  padding-bottom: 24px;
}

.bet {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
  cursor: pointer;
  border: 1px solid #4e369824;
  border-radius: 13px;
  background: #f5f3fc;
  padding: 16px 13px;
  transition: background-color .22s ease, border-color .22s ease;
}

.bet:hover {
  border-color: var(--magenta);
  background: #ebe6f8;
}

.bet-pick {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.bet-flag,
.bet-badge {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 6px;
}

.bet-flag {
  object-fit: cover;
  box-shadow: 0 0 0 1px #1212121f;
}

.bet-badge {
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 1px #12121233;
  font: 700 11px/1 monospace;
}

.bet-pick small {
  color: #6f6880;
  font: 700 10px/1 monospace;
  letter-spacing: .06em;
}

.bet strong {
  color: var(--magenta);
  font: 800 17px/1 monospace;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* The live dot and its ring were lime for the dark card; deepened so both
   read on white. Two classes to outweigh motion.css's `.live-pill i`. */
.odds-card .live-pill i {
  background: #6f9000;
  animation-name: live-pulse-light;
}

@keyframes live-pulse-light {
  0%, 100% { box-shadow: 0 0 0 4px #6f90002e; }
  50%      { box-shadow: 0 0 0 8px #6f900014; }
}

/* -------------------------------------------------------------- narrow --- */

@media (max-width: 620px) {
  .odds-visual { padding: 6vw; }
  .match-side img { width: 34px; height: 23px; }
  .match-side b { font-size: 14px; }

  /* Three cells cannot hold badge, code and price on one line at phone width. */
  .bet {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 12px 12px;
  }
  .market-rows { gap: 7px; padding: 11px 12px 14px; }
  .bet-flag, .bet-badge { width: 20px; height: 20px; border-radius: 5px; }
  .bet strong { font-size: 15px; }
}
