/* ================================================================
   Matrix57 MULTIVIEW — YouTube TV–style multi-screen wall.
   Up to 4 game tiles, one "active" (focus ring + sound), each an
   independent auto-advancing matrix. Self-contained module.
   ================================================================ */

#view-multiview { padding-top: 4px; }

/* control bar */
.mv-bar {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  margin-bottom: 12px;
}
.mv-bar .mv-controlling {
  font-size: 12px; color: var(--gold, #e8b341); font-weight: 700;
  letter-spacing: .04em; margin-left: auto; text-transform: uppercase;
}
.mv-bar select,
.mv-bar button {
  background: #ffffff;
  border: 1px solid #cfd8e6;
  border-radius: 6px;
  color: var(--ink, #172033);
  font-family: var(--display, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  font-size: 13px;
  font-weight: 700;
  min-height: 40px;
  padding: 8px 12px;
  cursor: pointer;
}
.mv-bar select {
  min-width: 170px;
  -webkit-text-fill-color: var(--ink, #172033);
}
.mv-bar select option {
  background: #ffffff;
  color: var(--ink, #172033);
}
.mv-bar select:hover,
.mv-bar button:hover {
  background: #f8fafc;
  border-color: #94a3b8;
}
.mv-bar select:disabled,
.mv-bar button:disabled {
  background: #f8fafc;
  border-color: #d8e1ec;
  color: #64748b;
  cursor: not-allowed;
  opacity: 1;
  -webkit-text-fill-color: #64748b;
}
.mv-bar button.mv-on {
  background: #ffd34d;
  border-color: #e4b938;
  color: #1a1206;
}
.mv-bar button.mv-on:hover { background: #f6c83f; }

/* the wall grid */
.mv-wall {
  display: grid; gap: 10px;
  grid-template-columns: 1fr; /* default 1 tile */
}
.mv-wall.cols-2 { grid-template-columns: 1fr 1fr; }
.mv-wall.cols-2x2 { grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; }

/* a single game tile */
.mv-tile {
  position: relative; border-radius: 16px; overflow: hidden;
  background: linear-gradient(180deg, #0d1220 0%, #0a0e18 100%);
  border: 1px solid rgba(255,255,255,.08);
  min-height: 260px; cursor: pointer;
  transition: filter .25s ease, box-shadow .25s ease, transform .15s ease;
  filter: brightness(.82) saturate(.9);
}
.mv-tile.is-active {
  filter: none;
  box-shadow: 0 0 0 3px rgba(255,211,77,.95), 0 0 32px rgba(255,200,60,.45);
  border-color: transparent;
}
.mv-tile:hover { filter: brightness(.95); }
.mv-tile.is-active:hover { filter: none; }

/* corner game badge (original mark, not official logo) */
.mv-bug {
  position: absolute; top: 10px; left: 10px; z-index: 6;
  display: flex; align-items: center; gap: 7px;
  background: rgba(10,14,24,.55); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.12); border-radius: 999px;
  padding: 4px 10px 4px 4px; pointer-events: none;
}
.mv-chip {
  width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 800; color: #0a0e18; letter-spacing: .02em;
}
.mv-bug .mv-name { font-size: 11px; font-weight: 700; color: #e9edf4; letter-spacing: .03em; }

/* per-tile column progress, bottom-right */
.mv-progress {
  position: absolute; bottom: 8px; right: 12px; z-index: 6;
  font-size: 10px; color: #8893a6; font-variant-numeric: tabular-nums;
  pointer-events: none; letter-spacing: .04em;
}

/* per-tile expand button, top-right */
.mv-expand {
  position: absolute; top: 10px; right: 10px; z-index: 7;
  width: 30px; height: 30px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(10,14,24,.55); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.14); color: #cdd5e2; cursor: pointer;
}
.mv-expand:hover { background: rgba(255,255,255,.15); color: #fff; }
.mv-expand svg { width: 15px; height: 15px; }

/* the tile board (matrix dots) */
.mv-board { position: absolute; inset: 0; padding: 44px 12px 26px; display: flex; flex-direction: column; gap: 3px; overflow: hidden; }
.mv-row { display: flex; gap: 3px; align-items: center; justify-content: center; }
.mv-dot {
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.14); color: #e9edf4; font-weight: 700;
  border: 1px solid rgba(255,255,255,.18); overflow: hidden; flex: 0 0 auto;
}
.mv-dot.blank { background: rgba(255,255,255,.05); border-color: transparent; }
.mv-dot.is-match { background: #ffd34d; color: #1a1206; border-color: #ffdf73; box-shadow: 0 0 12px rgba(255,200,60,.5); }
.mv-dot.is-current {
  background: rgba(255,255,255,.92); color: #11151f; font-weight: 800;
  border-color: #fff;
  box-shadow: 0 0 10px rgba(255,255,255,.35), 0 2px 6px rgba(0,0,0,.4);
}
/* gold match still wins on the current row */
.mv-dot.is-match.is-current {
  background: #ffd34d; color: #1a1206; border-color: #ffdf73;
  box-shadow: 0 0 14px rgba(255,200,60,.7), 0 2px 6px rgba(0,0,0,.4);
}

/* winner ring on a tile when 3+ ticket numbers match a lit line */
.mv-tile.is-winner {
  box-shadow: 0 0 0 4px rgba(110,224,154,1), 0 0 40px rgba(110,224,154,.6) !important;
}
.mv-winner-tag {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  z-index: 8; background: rgba(16,30,22,.9); color: #6fe09a;
  border: 2px solid #6fe09a; border-radius: 14px; padding: 10px 18px;
  font-size: 15px; font-weight: 800; letter-spacing: .05em;
  box-shadow: 0 0 30px rgba(110,224,154,.5);
  animation: mv-pop .4s cubic-bezier(.34,1.56,.64,1);
  pointer-events: none;
}
@keyframes mv-pop { from { transform: translate(-50%,-50%) scale(.6); opacity: 0; } to { transform: translate(-50%,-50%) scale(1); opacity: 1; } }

/* expanded (fullscreen) tile */
body.mv-expanded .masthead,
body.mv-expanded .tabs,
body.mv-expanded .foot,
body.mv-expanded .mv-bar { display: none !important; }
body.mv-expanded main { padding: 0 !important; }
.mv-tile.is-expanded {
  position: fixed; inset: 0; z-index: 3000; border-radius: 0; min-height: 100vh;
}

/* mobile: stack tiles vertically */
@media (max-width: 768px) {
  .mv-wall.cols-2, .mv-wall.cols-2x2 { grid-template-columns: 1fr; }
  .mv-tile { min-height: 200px; }
  .mv-bar { gap: 6px; }
  .mv-bar select, .mv-bar button { padding: 7px 9px; font-size: 12px; }
}

/* column header row — the lottery ball numbers, lowest→highest */
.mv-headrow { margin-bottom: 1px; }
.mv-head {
  display: flex; align-items: center; justify-content: center;
  color: #8893a6; font-weight: 700; font-variant-numeric: tabular-nums;
  flex: 0 0 auto; letter-spacing: .02em;
}
/* thermal dots: heat fill, number optional */
.mv-dot.is-thermal { border: 1px solid transparent; font-weight: 800; }
.mv-dot.is-thermal.is-current { box-shadow: inset 0 0 0 2px rgba(255,255,255,.9), 0 0 8px rgba(255,255,255,.4); }
/* match still wins visually over thermal */
.mv-dot.is-match { background: #ffd34d !important; color: #1a1206 !important; border-color: #ffdf73 !important; }

/* thermal legend chip in the bar */
.mv-legend {
  display: inline-flex; align-items: center; gap: 6px; font-size: 10px; color: #475569; font-weight: 700;
}
.mv-legend .bar { width: 60px; height: 8px; border-radius: 4px;
  background: linear-gradient(90deg, hsl(0,78%,52%), hsl(52,78%,52%), hsl(120,78%,52%), hsl(210,78%,52%)); }

/* thermal mode: selected value keeps its heat color, marked by a bright ring
   (so e.g. every 7 stays 7's color and is just outlined when selected) */
.mv-dot.is-thermal-sel {
  /* dark separation halo + thick bright-white ring + outer glow so the whole
     family of matching dots pops unmistakably against any heat color */
  box-shadow:
    0 0 0 1px rgba(0,0,0,.9),
    0 0 0 4px rgba(255,255,255,1),
    0 0 12px 2px rgba(255,255,255,.85),
    0 0 22px 6px rgba(255,230,120,.55);
  outline: 1px solid rgba(0,0,0,.5);
  transform: scale(1.18);
  z-index: 6;
  animation: mv-sel-pulse 1.4s ease-in-out infinite;
}
@keyframes mv-sel-pulse {
  0%, 100% { box-shadow:
    0 0 0 1px rgba(0,0,0,.9),
    0 0 0 4px rgba(255,255,255,1),
    0 0 12px 2px rgba(255,255,255,.85),
    0 0 22px 6px rgba(255,230,120,.55); }
  50% { box-shadow:
    0 0 0 1px rgba(0,0,0,.9),
    0 0 0 5px rgba(255,255,255,1),
    0 0 18px 4px rgba(255,255,255,.95),
    0 0 30px 9px rgba(255,230,120,.75); }
}

/* thermal current (top) row: keep heat color, mark with a subtle white ring */
.mv-dot.is-thermal-current { box-shadow: inset 0 0 0 2px rgba(255,255,255,.85); }

/* SELECTED VALUE: every matching ball enlarges together, keeps its heat color,
   and shows its COLUMN's lotto number in large white text. */
.mv-dot.mv-sel-ball {
  transform: scale(1.7);
  z-index: 9;
  font-weight: 900 !important;
  box-shadow: 0 0 0 2px rgba(255,255,255,.9), 0 0 16px rgba(255,255,255,.55), 0 3px 10px rgba(0,0,0,.5);
}
/* the active-column ball among them gets the draw-in bounce animation */
.mv-dot.mv-active-ball {
  transform: scale(1.7);
  z-index: 10;
  box-shadow: 0 0 0 3px rgba(255,255,255,.95), 0 0 22px rgba(255,255,255,.7), 0 4px 12px rgba(0,0,0,.5);
  animation: mv-draw .45s cubic-bezier(.34,1.56,.64,1);
}
@keyframes mv-draw {
  0%   { transform: scale(1.0); }
  55%  { transform: scale(2.0); }
  100% { transform: scale(1.7); }
}
/* keep the popped ball's number crisp when it's a thermal dot */
.mv-dot.mv-active-ball.is-thermal,
.mv-dot.mv-sel-ball.is-thermal { font-weight: 900; }

/* active tile with deep history: let its board scroll through up to 400 rows */
.mv-board.mv-scroll { overflow-y: auto; overflow-x: hidden; }
.mv-board.mv-scroll::-webkit-scrollbar { width: 6px; }
.mv-board.mv-scroll::-webkit-scrollbar-thumb { background: rgba(255,255,255,.25); border-radius: 6px; }
.mv-board.mv-scroll { scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.25) transparent; }

/* ---- per-tile floating toolbox (only on the active tile) ---- */
/* per-tile toolbox: hidden on the 2x2 wall (clean tiles). Only appears when a
   tile is expanded to fullscreen, where there's room for it. */
.mv-tilebox { display: none; }
.mv-tile.is-expanded .mv-tilebox {
  display: flex; align-items: center; gap: 4px;
  position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%);
  padding: 6px 8px; border-radius: 999px; z-index: 3100;
  background: rgba(20,26,38,.78); backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 8px 28px rgba(0,0,0,.5);
}
.mv-tb-grip { display: flex; align-items: center; color: #7b8499; cursor: grab; }
.mv-tb-grip:active { cursor: grabbing; }
.mv-tb-grip svg { width: 14px; height: 14px; }
.mv-tb-btn {
  min-width: 30px; height: 30px; border-radius: 8px; border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06); color: #e9edf4; font-size: 13px; font-weight: 700;
  cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0 6px;
}
.mv-tb-btn:hover { background: rgba(255,255,255,.14); }
.mv-tb-btn.is-on { background: rgba(255,211,77,.92); color: #1a1206; border-color: transparent; }
.mv-tb-sep { width: 1px; height: 18px; background: rgba(255,255,255,.16); margin: 0 3px; }
.mv-tb-zoom { font-size: 11px; color: #aeb6c6; min-width: 34px; text-align: center; font-variant-numeric: tabular-nums; }

/* ---- per-tile NEXT DRAW date chip (in the corner game bug) ---- */
.mv-nextdraw {
  display: inline-flex; align-items: baseline; gap: 5px;
  margin-left: 8px; padding-left: 9px;
  border-left: 1px solid rgba(255,255,255,.18);
  color: #cfd6e4;
}
.mv-nd-lbl {
  font-size: 9px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .06em; color: rgba(255,255,255,.45);
}
.mv-nd-val { font-size: 11px; font-weight: 800; color: #ffd34d; white-space: nowrap; }
.mv-tile.is-expanded .mv-nd-lbl { font-size: 11px; }
.mv-tile.is-expanded .mv-nd-val { font-size: 14px; }

/* ===== 3D BALL BADGES (matches TV app; original marks, NOT official logos) =====
   Every game badge is a glossy 3D sphere. Paired games share the same family. */
.mv-chip.is-ball {
  position: relative; border-radius: 50%; overflow: visible;
  color: #fff; font-weight: 800; text-shadow: 0 1px 2px rgba(0,0,0,.6);
  box-shadow:
    inset 0 -4px 7px rgba(0,0,0,.45),
    inset 0 3px 6px rgba(255,255,255,.18),
    0 2px 5px rgba(0,0,0,.5),
    0 0 0 1px rgba(0,0,0,.25);
}
.mv-chip.is-ball::after {
  content: ""; position: absolute; left: 20%; top: 12%;
  width: 44%; height: 36%; border-radius: 50%;
  background: radial-gradient(ellipse at center,
    rgba(255,255,255,.85), rgba(255,255,255,.15) 55%, rgba(255,255,255,0) 75%);
  pointer-events: none; filter: blur(.3px);
}
.mv-chip.is-ball::before {
  content: ""; position: absolute; inset: 15%; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.30); pointer-events: none;
}
.mv-chip.ball-red    { background: radial-gradient(circle at 38% 30%, #ff6b78 0%, #e0303f 48%, #a8121f 100%); }
.mv-chip.ball-green  { background: radial-gradient(circle at 38% 30%, #7fe3a0 0%, #36b366 48%, #14823f 100%); }
.mv-chip.ball-amber  { background: radial-gradient(circle at 38% 30%, #ffd98a 0%, #e8a72e 48%, #b9781a 100%);
                       color: #3a2606; text-shadow: 0 1px 1px rgba(255,255,255,.35); }
.mv-chip.ball-amber::before { border-color: rgba(90,60,10,.35); }
.mv-chip.ball-teal   { background: radial-gradient(circle at 38% 30%, #8fe9df 0%, #34c2b4 48%, #1a8378 100%); }
.mv-chip.ball-blue   { background: radial-gradient(circle at 38% 30%, #8fc3f0 0%, #3a8fd6 48%, #1a5d9e 100%); }
.mv-chip.ball-purple { background: radial-gradient(circle at 38% 30%, #c6a6f0 0%, #8a5fd6 48%, #5a2f9e 100%); }

/* ===== GAME: ticket builder panel + picked-ball highlight ===== */
.mv-tb-game { font-size: 15px; }
.mv-tb-game:hover { background: rgba(255,211,77,.25); border-color: rgba(255,211,77,.5); }

.mv-ticket {
  position: absolute; right: 14px; bottom: 64px; z-index: 60; width: 250px;
  display: none; flex-direction: column; gap: 0;
  background: #141a26; border: 1px solid rgba(255,211,77,.4); border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,.55); overflow: hidden;
}
.mv-ticket.show { display: flex; }
.mv-ticket-head { display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px; background: rgba(255,211,77,.1); font-size: 13px; font-weight: 700; }
.mv-ticket-head b { color: #ffd34d; }
.mv-ticket-x { background: none; border: none; color: rgba(255,255,255,.6);
  font-size: 18px; line-height: 1; cursor: pointer; }
.mv-ticket-x:hover { color: #fff; }
.mv-ticket-need { padding: 9px 12px; font-size: 12px; color: rgba(255,255,255,.6); }
.mv-ticket-need b { color: #ffd34d; }
.mv-ticket-small { color: rgba(255,255,255,.45); font-size: 11px; }
.mv-ticket-picks { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 12px 10px; min-height: 34px; }
.mv-ticket-chip { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-weight: 900; font-size: 13px;
  background: radial-gradient(circle at 38% 30%, #ffe488, #e0a52e); color: #1a1206;
  border: 1px solid #ffd34d; box-shadow: 0 2px 5px rgba(0,0,0,.4); }
.mv-ticket-empty { color: rgba(255,255,255,.35); font-size: 12px; }
.mv-ticket-foot { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid rgba(255,255,255,.08); }
.mv-ticket-btn { flex: 1; padding: 8px 0; border-radius: 8px; font-weight: 800; font-size: 13px;
  cursor: pointer; border: 1px solid rgba(255,255,255,.16); background: #1b2130; color: #e8ecf4; }
.mv-ticket-btn.primary { background: #ffd34d; color: #1a1206; border-color: #ffd34d; }
.mv-ticket-btn:disabled { opacity: .4; cursor: not-allowed; }
.mv-ticket-note { padding: 8px 12px; font-size: 10px; color: rgba(255,255,255,.4);
  border-top: 1px solid rgba(255,255,255,.06); line-height: 1.4; }

/* a ball currently on the ticket: gold pill on the column header */
.mv-head.mv-game-head {
  background: radial-gradient(circle at 38% 30%, #ffe488, #e0a52e) !important;
  color: #1a1206 !important; font-weight: 900 !important; border-radius: 999px;
  box-shadow: 0 0 0 2px #ffd34d, 0 0 10px rgba(255,211,77,.7); transform: scale(1.12);
}
/* in game mode, header balls are the tappable picker */
.mv-tile .mv-board .mv-head[data-ball] { cursor: pointer; transition: transform .1s; }
.mv-tile .mv-board .mv-head[data-ball]:hover { transform: scale(1.15); color: #ffd34d; }

/* ===== dashboard JACKPOT celebration (coins only, no cash value) ===== */
.mv-jackpot { position: fixed; inset: 0; z-index: 300; display: none;
  align-items: center; justify-content: center; overflow: hidden;
  background: rgba(0,0,0,.72); backdrop-filter: blur(4px); }
.mv-jackpot.show { display: flex; }
.mv-jk-inner { position: relative; text-align: center;
  background: linear-gradient(160deg,#1a2236,#0c1220); border: 2px solid #ffd34d;
  border-radius: 20px; padding: 36px 48px; box-shadow: 0 0 60px rgba(255,211,77,.4);
  animation: mvjkpop .4s cubic-bezier(.2,1.4,.4,1); }
@keyframes mvjkpop { from{transform:scale(.6);opacity:0;} to{transform:scale(1);opacity:1;} }
.mv-jk-burst { font-size: 52px; }
.mv-jk-title { font-size: 34px; font-weight: 900; color: #ffd34d; letter-spacing: .04em;
  margin: 6px 0; text-shadow: 0 2px 12px rgba(255,211,77,.6); }
.mv-jk-coins { font-size: 26px; font-weight: 900; color: #ffb84d; }
.mv-jk-sub { color: rgba(255,255,255,.7); margin: 6px 0 2px; font-weight: 700; }
.mv-jk-note { font-size: 11px; color: rgba(255,255,255,.4); margin-bottom: 16px; }
.mv-jk-close { min-width: 140px; }
.mv-confetti { position: absolute; top: -10px; width: 9px; height: 14px; border-radius: 2px;
  opacity: .9; animation: mvfall linear forwards; }
@keyframes mvfall { to { transform: translateY(105vh) rotate(720deg); opacity: .4; } }

/* ===== My Picks history + Achievements (dashboard ticket) ===== */
.mv-ticket-tools { display: flex; align-items: center; gap: 4px; }
.mv-ticket-tool { background: none; border: none; cursor: pointer; font-size: 15px;
  opacity: .75; padding: 2px 4px; }
.mv-ticket-tool:hover { opacity: 1; }
.mv-stats { padding: 4px 0; max-height: 320px; overflow-y: auto; }
.mv-stats-tabs { display: flex; gap: 6px; margin-bottom: 8px; }
.mv-stab { flex: 1; padding: 5px 0; font-size: 11px; font-weight: 800; cursor: pointer;
  border-radius: 7px; border: 1px solid rgba(255,255,255,.14); background: #1b2130; color: #cfd6e6; }
.mv-stab.on { background: #ffd34d; color: #1a1206; border-color: #ffd34d; }
.mv-stats-title { font-size: 12px; font-weight: 800; color: #ffd34d; margin-bottom: 8px; }
.mv-hist-row, .mv-badge-row { display: flex; align-items: center; gap: 9px; padding: 7px 4px;
  border-bottom: 1px solid rgba(255,255,255,.06); font-size: 12px; }
.mv-hist-tag, .mv-badge-e { width: 22px; text-align: center; font-size: 15px; }
.mv-hist-mid { flex: 1; line-height: 1.3; }
.mv-hist-mid small, .mv-badge-row small { color: rgba(255,255,255,.45); font-size: 10px; }
.mv-hist-pts { font-weight: 900; color: #ffb84d; }
.mv-badge-row.locked { opacity: .4; }
.mv-badge-row.earned b { color: #ffd34d; }

/* ===== 5-line lotto slip (dashboard ticket) ===== */
.mv-ticket-player { padding: 8px 12px 0; }
.mv-ticket-name { width: 100%; background: #1b2130; border: 1px solid rgba(255,255,255,.16);
  color: #fff; border-radius: 8px; padding: 7px 10px; font-size: 13px; }
.mv-ticket-name::placeholder { color: rgba(255,255,255,.4); }
.mv-slip { display: flex; flex-direction: column; gap: 5px; padding: 2px 0; }
.mv-slip-line { display: flex; align-items: center; gap: 8px; padding: 5px 6px;
  border: 1px solid rgba(255,255,255,.1); border-radius: 9px; background: #11161f; cursor: pointer; }
.mv-slip-line.active { border-color: #ffd34d; box-shadow: 0 0 0 1px rgba(255,211,77,.4); }
.mv-slip-line.ready { background: rgba(54,179,102,.12); }
.mv-slip-no { width: 18px; text-align: center; font-weight: 900; color: rgba(255,255,255,.5); font-size: 12px; }
.mv-slip-balls { flex: 1; display: flex; flex-wrap: wrap; gap: 4px; align-items: center; min-height: 26px; }
.mv-slip-empty { color: rgba(255,255,255,.3); font-size: 11px; }
.mv-slip-ai { background: #232c3d; border: 1px solid rgba(255,211,77,.4); color: #ffd34d;
  border-radius: 7px; padding: 4px 7px; font-size: 11px; font-weight: 800; cursor: pointer; }
.mv-slip-ai:hover { background: rgba(255,211,77,.2); }
.mv-slip-hint { padding: 6px 4px 2px; font-size: 11px; color: rgba(255,255,255,.45); }
.mv-ticket-chip { width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-weight: 900; font-size: 12px;
  background: radial-gradient(circle at 38% 30%, #ffe488, #e0a52e); color: #1a1206; border: 1px solid #ffd34d; }

/* wheel coverage guarantee box */
.mv-wheel-guarantee { margin-top: 8px; padding: 8px 10px; border-radius: 8px;
  background: rgba(255,211,77,.1); border: 1px solid rgba(255,211,77,.3);
  font-size: 12px; color: #ffe08a; line-height: 1.4; }
.mv-wheel-guarantee b { color: #ffd34d; font-size: 14px; }

/* AI featured line in the wheel (focus marker, not a higher-odds claim) */
.mv-slip-line.ai-best { border-color: #ffd34d; background: rgba(255,211,77,.14);
  box-shadow: 0 0 0 1px rgba(255,211,77,.5), 0 0 14px rgba(255,211,77,.25); }
.mv-slip-line.ai-best .mv-slip-no { font-size: 15px; }

/* ---- click-to-select halos (ball / skip-value / match-date) ---- */
.mv-dot.mv-pick-col{ box-shadow:0 0 0 2px #ffffff, 0 0 11px rgba(255,255,255,.6); z-index:3; }
.mv-dot.mv-pick-hit{ box-shadow:0 0 0 2px #ffffff, 0 0 10px rgba(255,255,255,.55); z-index:3; }
.mv-row.mv-pick-row .mv-dot:not(.blank){ box-shadow:0 0 0 2px #ffd34d, 0 0 12px rgba(255,211,77,.55); z-index:2; }
.mv-head[data-ball]{ cursor:pointer; }
.mv-dot[data-ball]{ cursor:pointer; }
.mv-datesel{ background:#121829; color:#ffd34d; border:1px solid #2a3550; border-radius:6px;
  font-size:11px; padding:2px 5px; margin-left:8px; cursor:pointer; max-width:130px; }
.mv-datesel:hover{ border-color:#ffd34d; }
.mv-head.mv-head-on{ color:#fff; background:rgba(255,255,255,.16); border-radius:4px; box-shadow:0 0 0 1px rgba(255,255,255,.5); }
.mv-head.mv-diverge{ box-shadow:0 0 0 1px #e8a72e, 0 0 8px rgba(232,167,46,.55); color:#ffd9a0; border-radius:4px; }
.mv-head.mv-diverge.big{ box-shadow:0 0 0 1px #e0303f, 0 0 9px rgba(224,48,63,.6); color:#ffb3ba; }
.mv-dot.mv-diverge{ box-shadow:0 0 0 2px #e8a72e, 0 0 10px rgba(232,167,46,.5); z-index:2; }
.mv-dot.mv-diverge.big{ box-shadow:0 0 0 2px #e0303f, 0 0 12px rgba(224,48,63,.6); z-index:2; }
.mv-status{ font-size:11px; color:#9fb0c8; padding:2px 8px 4px; display:flex; gap:8px; align-items:center; flex-wrap:wrap; }
.mv-clear{ background:transparent; border:1px solid #2a3550; color:#ffd34d; border-radius:5px; font-size:10px; padding:1px 7px; cursor:pointer; }
.mv-clear:hover{ border-color:#ffd34d; }

.mv-head.mv-head-win{ box-shadow:0 0 0 2px #34d399, 0 0 8px rgba(52,211,153,.55); border-radius:999px; color:#eafff5; }
.mv-skipval{ color:#ffd34d; font-weight:800; letter-spacing:.03em; }

/* Time machine (date scrub) is available only inside an expanded tile, never on the grid wall. */
/* datesel stays visible in grid view so the skip filter's matches are pickable */
.mv-tile:not(.is-expanded) .mv-datesel{ display:inline-block; max-width:150px; }

/* The .mv-bug header is pointer-events:none so the board shows through; the date dropdown must opt back in or it can never be clicked (the click falls through to the board). */
.mv-datesel{ pointer-events:auto; position:relative; z-index:4; }

/* Wall button only matters in the expanded view (you are already on the wall in the grid). */
.mv-tile:not(.is-expanded) .mv-tb-wall{ display:none; }
.mv-tb-wall svg{ vertical-align:middle; }

/* ---- per-tile change-game (⇄) / remove (×) controls + swap popover ---- */
.mv-bug-btn{
  font: 700 14px/1 system-ui, sans-serif; color:#cfd6e4;
  background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.16);
  border-radius:6px; width:24px; height:24px; margin-left:5px; cursor:pointer;
  display:inline-flex; align-items:center; justify-content:center; flex:0 0 auto;
}
.mv-bug-btn:hover{ background:rgba(255,255,255,.18); color:#fff; }
.mv-bug-remove:hover{ background:#c0392b; border-color:#c0392b; color:#fff; }
.mv-swap{
  position:absolute; top:52px; left:14px; z-index:60; display:none;
  flex-wrap:wrap; gap:6px; max-width:calc(100% - 28px);
  background:rgba(12,14,20,.97); border:1px solid rgba(255,255,255,.16);
  border-radius:11px; padding:9px; box-shadow:0 10px 30px rgba(0,0,0,.55);
}
.mv-swap.show{ display:flex; }
.mv-swap-opt{
  font:600 12px/1 ui-sans-serif, system-ui, sans-serif; color:#e2e7f0;
  background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.13);
  border-radius:7px; padding:8px 10px; cursor:pointer; white-space:nowrap;
}
.mv-swap-opt:hover{ background:rgba(255,255,255,.16); color:#fff; }
.mv-swap-opt.is-cur{ outline:2px solid #f3c969; outline-offset:-1px; color:#f3c969; }

/* .mv-bug header is pointer-events:none so the board behind stays interactive;
   re-enable clicks on the per-tile change-game / remove controls + swap popover. */
.mv-bug-btn, .mv-swap, .mv-swap-opt { pointer-events: auto; }
