/* Brokeprint v10 game shell + site chrome.
 * Palette follows the familiar crypto-casino slate look; Brokeprint keeps its own name, logo and art. */
:root {
  --v10-page: #1a2c38;
  --v10-side: #0f212e;
  --v10-card: #0f212e;
  --v10-panel: #213743;
  --v10-field: #0f212e;
  --v10-raise: #2f4553;
  --v10-raise-hi: #557086;
  --v10-line: #2f4553;
  --v10-text: #ffffff;
  --v10-muted: #b1bad3;
  --v10-blue: #1475e1;
  --v10-blue-hi: #1a83ff;
  --v10-win: #00e701;
  --v10-win-ink: #05250a;
  --v10-loss: #ff3b5c;
  --v10-radius: 8px;
  --v10-ease: cubic-bezier(.2,.8,.2,1);
}

/* ---------- site chrome: page, top bar, sidebar ---------- */
body { background: var(--v10-page) !important; }
.game-shell, .main-column, #pageContent { background: transparent !important; }
header.topbar { background: var(--v10-page) !important; box-shadow: 0 4px 10px rgba(0, 0, 0, .25); border-bottom: 0 !important; }
#walletButton.wallet-button { background: var(--v10-side) !important; border: 0 !important; border-radius: 6px 0 0 6px; min-height: 44px; box-shadow: none !important; transition: box-shadow .3s; }
#walletButton.v10-bal-up { animation: v10-bal-up .7s ease-out; }
#walletButton.v10-bal-down { animation: v10-bal-down .5s ease-out; }
@keyframes v10-bal-up { 30% { box-shadow: 0 0 0 2px var(--v10-win), 0 0 18px rgba(0,231,1,.35) !important; color: var(--v10-win); } }
@keyframes v10-bal-down { 30% { box-shadow: 0 0 0 2px rgba(255,59,92,.6) !important; } }
#topBalance { font-weight: 700 !important; }
#brokeprintSidebar { background: var(--v10-side) !important; border-right: 0 !important; box-shadow: 2px 0 10px rgba(0, 0, 0, .25); }
#brokeprintSidebar .side-nav, #brokeprintSidebar .sidebar-library { background: var(--v10-page); border-radius: 8px; padding: 6px; margin: 0 8px 10px; }
#brokeprintSidebar .nav-item, #brokeprintSidebar #quickGameNav button { border-radius: 6px !important; color: var(--v10-text) !important; font-weight: 600 !important; transition: background .15s, transform .15s; }
#brokeprintSidebar .nav-item:hover, #brokeprintSidebar #quickGameNav button:hover { background: var(--v10-raise) !important; }
#brokeprintSidebar .nav-item:active { transform: scale(.98); }
#brokeprintSidebar .nav-item.is-active { background: var(--v10-raise) !important; box-shadow: inset 3px 0 0 var(--v10-blue) !important; }
#brokeprintSidebar .nav-icon, #brokeprintSidebar svg { color: var(--v10-muted); }
#brokeprintSidebar .nav-item.is-active .nav-icon, #brokeprintSidebar .nav-item:hover .nav-icon { color: var(--v10-text); }
#brokeprintSidebar .nav-caption { color: var(--v10-muted) !important; }
.cinema-nav-track { display: none !important; }

/* ---------- v10 shell ---------- */
html[data-v10] #pageContent { display: none !important; }
.v10 { color: var(--v10-text); font-family: "DM Sans", system-ui, sans-serif; padding: 18px 24px 32px; width: 100%; max-width: 1240px; margin: 0 auto; box-sizing: border-box; font-variant-numeric: tabular-nums; animation: v10-enter .35s var(--v10-ease); }
@keyframes v10-enter { from { opacity: 0; transform: translateY(10px); } }
.v10 *, .v10 *::before, .v10 *::after { box-sizing: border-box; }
.v10 button { -webkit-tap-highlight-color: transparent; }
.v10-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.v10-head h1 { font-size: 20px; font-weight: 700; margin: 0; letter-spacing: 0; }
.v10-back { background: none; border: 0; color: var(--v10-muted); font: 600 14px/1 inherit; font-family: inherit; cursor: pointer; padding: 6px 4px; transition: color .15s, transform .15s; }
.v10-back:hover { color: var(--v10-text); transform: translateX(-2px); }

.v10-card { display: grid; grid-template-columns: 330px minmax(0, 1fr); grid-template-rows: minmax(560px, auto) auto; gap: 0; border-radius: 10px; }
.v10-panel { background: var(--v10-panel); padding: 12px; display: flex; flex-direction: column; gap: 12px; border-radius: 10px 0 0 0; }
.v10-stage { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 14px 18px 16px; background: var(--v10-card); border-radius: 0 10px 0 0; overflow: hidden; }
.v10-board { flex: 1; display: grid; place-items: center; min-height: 0; position: relative; }
.v10-foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 12px; margin-top: 3px; background: var(--v10-panel); border-radius: 0 0 10px 10px; }
.v10-foot-tools { display: flex; gap: 4px; }
.v10-mark { height: 22px; width: auto; opacity: .9; }

/* Controls */
.v10-tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--v10-field); border-radius: 999px; padding: 5px; position: relative; }
.v10-tabs button { position: relative; border: 0; border-radius: 999px; padding: 11px; background: transparent; color: var(--v10-text); font: 700 14px/1 inherit; font-family: inherit; cursor: pointer; transition: background .2s, color .2s; }
.v10-tabs button[aria-selected="true"] { background: var(--v10-raise); }
.v10-tabs button:not([aria-selected="true"]):hover:not(:disabled) { color: var(--v10-muted); }
.v10-tabs button:disabled { opacity: .5; cursor: not-allowed; }
.v10-field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--v10-muted); font-weight: 600; min-width: 0; }
.v10-field-row { display: flex; justify-content: space-between; }
.v10-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.v10-board > * { max-width: 100%; min-width: 0; }
.v10-input { display: flex; align-items: stretch; background: var(--v10-field); border: 2px solid var(--v10-raise); border-radius: 6px; min-height: 42px; overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.v10-input:hover { border-color: var(--v10-raise-hi); }
.v10-input:focus-within { border-color: var(--v10-raise-hi); box-shadow: 0 0 0 3px rgba(85,112,134,.25); }
.v10-input input, .v10-input select { flex: 1; min-width: 0; width: 100%; background: transparent; border: 0; outline: 0; color: var(--v10-text); font: 600 15px/1 inherit; font-family: inherit; padding: 0 10px; }
.v10-input select { appearance: none; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--v10-muted) 50%), linear-gradient(135deg, var(--v10-muted) 50%, transparent 50%); background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.v10-input select option { background: var(--v10-panel); }
.v10-input b, .v10-input i { display: grid; place-items: center; padding: 0 10px; color: var(--v10-muted); font-style: normal; font-weight: 700; }
.v10-input b { padding-right: 0; }
.v10-amount { border-color: var(--v10-raise); }
.v10-amount button { border: 0; background: var(--v10-raise); color: var(--v10-text); font: 700 14px/1 inherit; font-family: inherit; min-width: 48px; cursor: pointer; position: relative; transition: background .15s; }
.v10-amount button + button::before { content: ""; position: absolute; left: 0; top: 25%; height: 50%; width: 2px; background: var(--v10-field); }
.v10-amount button:hover:not(:disabled) { background: var(--v10-raise-hi); }
.v10-amount button:active:not(:disabled) { transform: scale(.94); }
.v10-split select { flex: 1.3; border-right: 1px solid var(--v10-line); }
.v10-input input:disabled, .v10-input select:disabled, .v10-amount button:disabled { opacity: .5; cursor: not-allowed; }
.v10-icon-btn { border: 0; background: transparent; color: var(--v10-muted); font-size: 18px; padding: 0 12px; cursor: pointer; transition: color .15s, transform .25s; }
.v10-icon-btn:hover { color: var(--v10-text); transform: rotate(180deg); }

/* Range slider (Mines count and similar) */
.v10-slider { display: flex; align-items: center; gap: 12px; background: var(--v10-field); border: 2px solid var(--v10-raise); border-radius: 6px; padding: 0 12px; min-height: 46px; }
.v10-slider b { min-width: 18px; text-align: center; color: var(--v10-text); font-size: 15px; }
.v10-slider input { --p: 10%; flex: 1; appearance: none; -webkit-appearance: none; height: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--v10-blue) var(--p), #0a1922 var(--p)); outline: 0; cursor: pointer; }
.v10-slider input::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 4px solid var(--v10-blue); box-shadow: 0 2px 6px rgba(0,0,0,.4); transition: transform .12s; }
.v10-slider input::-webkit-slider-thumb:hover { transform: scale(1.2); }
.v10-slider input::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 4px solid var(--v10-blue); }
.v10-slider input:disabled { opacity: .5; cursor: not-allowed; }

.v10-btn { position: relative; overflow: hidden; border: 0; border-radius: 6px; font: 700 15px/1 inherit; font-family: inherit; padding: 16px; cursor: pointer; color: #fff; transition: background .15s, transform .08s, box-shadow .15s, opacity .15s; }
.v10-btn:active:not(:disabled) { transform: scale(.97); }
.v10-btn-primary { background: var(--v10-blue); box-shadow: 0 4px 0 rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.12); }
.v10-btn-primary:hover:not(:disabled) { background: var(--v10-blue-hi); box-shadow: 0 6px 18px rgba(20,117,225,.35), inset 0 1px 0 rgba(255,255,255,.15); }
.v10-btn-primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.18) 50%, transparent 70%); transform: translateX(-120%); }
.v10-btn-primary:hover:not(:disabled)::after { transition: transform .6s; transform: translateX(120%); }
.v10-btn-quiet { background: var(--v10-raise); }
.v10-btn-quiet:hover:not(:disabled) { background: var(--v10-raise-hi); }
.v10-btn:disabled { opacity: .5; cursor: not-allowed; }

.v10-tool { display: inline-grid; place-items: center; width: 40px; height: 36px; border: 0; background: transparent; color: var(--v10-muted); border-radius: 6px; cursor: pointer; transition: color .15s, background .15s, transform .1s; }
.v10-tool svg { width: 20px; height: 20px; }
.v10-tool:hover { color: var(--v10-text); background: var(--v10-raise); }
.v10-tool:active { transform: scale(.9); }
.v10-tool.is-on { color: var(--v10-text); }
.v10-fair { display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 6px; background: var(--v10-raise); color: var(--v10-text); font: 700 14px/1 inherit; font-family: inherit; padding: 11px 16px; cursor: pointer; transition: background .15s; }
.v10-fair:hover { background: var(--v10-raise-hi); }
.v10-fair svg { width: 18px; height: 18px; }

/* Results strip */
.v10-pills { display: flex; justify-content: flex-end; gap: 6px; min-height: 32px; overflow: hidden; margin-bottom: 6px; position: relative; z-index: 2; }
.v10-pill { flex: none; padding: 8px 12px; border-radius: 999px; background: var(--v10-raise); color: var(--v10-text); font-size: 12px; font-weight: 700; }
.v10-pill.is-win { background: var(--v10-win); color: var(--v10-win-ink); }
.v10-pill.is-new { animation: v10-pill-in .3s var(--v10-ease); }
@keyframes v10-pill-in { from { transform: translateX(30px) scale(.7); opacity: 0; } }

/* Board footer bar (Repeat · multiplier · Clear) */
.v10-boardbar { width: 100%; align-self: end; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; margin-top: 14px; }
.v10-barbtn { justify-self: start; display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; color: var(--v10-muted); font: 600 14px/1 inherit; font-family: inherit; cursor: pointer; padding: 6px; transition: color .15s; }
.v10-barbtn:last-child { justify-self: end; }
.v10-barbtn:hover { color: var(--v10-text); }
.v10-barbtn svg { width: 18px; height: 18px; }
.v10-barbtn:hover svg { animation: v10-spin .5s var(--v10-ease); }
@keyframes v10-spin { to { transform: rotate(-360deg); } }
.v10-mines-chip { background: var(--v10-panel); border-radius: 999px; padding: 11px 18px; font-weight: 700; color: var(--v10-text); white-space: nowrap; transition: background .2s; }
.v10-mines-chip b { color: var(--v10-text); }
.v10-mines-chip em { font-style: normal; color: var(--v10-muted); margin-left: 6px; }

/* Effects */
.v10-spark { position: absolute; width: 7px; height: 7px; border-radius: 2px; pointer-events: none; z-index: 20; box-shadow: 0 0 6px currentColor; }
.v10-win { position: absolute; left: 50%; top: 50%; z-index: 15; transform: translate(-50%, -50%); min-width: 170px; padding: 18px 26px; background: rgba(26,44,56,.96); border: 3px solid var(--v10-win); border-radius: 10px; text-align: center; box-shadow: 0 0 0 1px rgba(0,0,0,.3), 0 18px 40px rgba(0,0,0,.45), 0 0 40px rgba(0,231,1,.25); animation: v10-win-in .38s cubic-bezier(.2,1.6,.4,1); pointer-events: none; }
.v10-win b { display: block; font-size: 32px; font-weight: 800; color: var(--v10-win); }
.v10-win i { display: block; height: 3px; width: 44px; margin: 10px auto; background: var(--v10-raise); border-radius: 3px; }
.v10-win span { font-size: 18px; font-weight: 700; color: var(--v10-text); }
@keyframes v10-win-in { from { transform: translate(-50%, -50%) scale(.5); opacity: 0; } }

/* Dice */
.v10-dice { width: min(100%, 760px); display: flex; flex-direction: column; gap: 22px; padding-top: 80px; }
.v10-dice-scale { position: relative; height: 18px; margin: 0 26px; font-size: 14px; font-weight: 700; }
.v10-dice-scale span { position: absolute; transform: translateX(-50%); }
.v10-dice-rail { position: relative; padding: 18px 26px; background: var(--v10-raise); border-radius: 999px; box-shadow: 0 0 0 10px rgba(47,69,83,.35); transition: box-shadow .3s; }
.v10-dice-rail.is-win { animation: v10-rail-win .6s ease-out; }
.v10-dice-rail.is-loss { animation: v10-rail-loss .5s ease-out; }
@keyframes v10-rail-win { 30% { box-shadow: 0 0 0 10px rgba(0,231,1,.25), 0 0 30px rgba(0,231,1,.25); } }
@keyframes v10-rail-loss { 30% { box-shadow: 0 0 0 10px rgba(255,59,92,.22); } }
.v10-dice-track { --t: 50%; height: 10px; border-radius: 999px; background: linear-gradient(90deg, var(--v10-loss) var(--t), var(--v10-win) var(--t)); }
.v10-dice-track[data-mode="under"] { background: linear-gradient(90deg, var(--v10-win) var(--t), var(--v10-loss) var(--t)); }
.v10-dice-range { position: absolute; inset: 0 26px; width: calc(100% - 52px); height: 100%; margin: 0; background: transparent; appearance: none; -webkit-appearance: none; cursor: grab; }
.v10-dice-range:active { cursor: grabbing; }
.v10-dice-range::-webkit-slider-runnable-track { height: 100%; background: transparent; }
.v10-dice-range::-webkit-slider-thumb { -webkit-appearance: none; width: 36px; height: 36px; margin-top: 9px; border-radius: 6px; background: var(--v10-blue) linear-gradient(90deg, transparent 38%, rgba(255,255,255,.6) 38% 44%, transparent 44% 56%, rgba(255,255,255,.6) 56% 62%, transparent 62%) center / 60% 46% no-repeat; box-shadow: 0 3px 0 #0b4f9c; transition: transform .12s; }
.v10-dice-range::-webkit-slider-thumb:hover { transform: scale(1.08); }
.v10-dice-range::-moz-range-thumb { width: 36px; height: 36px; border: 0; border-radius: 6px; background: var(--v10-blue); }
.v10-dice-range::-moz-range-track { background: transparent; }
.v10-dice-marker { position: absolute; left: 50%; bottom: calc(100% + 46px); width: 0; transition: left .26s cubic-bezier(.2,.8,.2,1); pointer-events: none; }
.v10-dice-marker span { position: absolute; bottom: 0; transform: translateX(-50%); display: block; min-width: 70px; padding: 9px 10px; text-align: center; border-radius: 8px; background: #fff; color: var(--v10-side); font-weight: 800; font-size: 16px; transition: background .15s, color .15s; }
.v10-dice-marker span::after { content: ""; position: absolute; left: 50%; top: 100%; transform: translateX(-50%); border: 7px solid transparent; border-top-color: #fff; }
.v10-dice-marker.is-win span { background: var(--v10-win); color: var(--v10-win-ink); animation: v10-pop .25s ease-out; }
.v10-dice-marker.is-win span::after { border-top-color: var(--v10-win); }
.v10-dice-marker.is-loss span { background: var(--v10-loss); color: #fff; animation: v10-pop .25s ease-out; }
.v10-dice-marker.is-loss span::after { border-top-color: var(--v10-loss); }
@keyframes v10-pop { 50% { transform: translateX(-50%) scale(1.15); } }
.v10-dice-fields, .v10-limbo-fields { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 14px; background: var(--v10-panel); border-radius: var(--v10-radius); }
.v10-limbo-fields { grid-template-columns: 1fr 1fr; }

/* Limbo */
.v10-limbo { width: min(100%, 760px); display: flex; flex-direction: column; gap: 28px; align-items: stretch; }
.v10-limbo-value { text-align: center; font-size: clamp(64px, 11vw, 140px); font-weight: 800; letter-spacing: -.02em; line-height: 1; padding: 70px 0 50px; transition: color .12s, text-shadow .3s; }
.v10-limbo-value.is-win { color: var(--v10-win); text-shadow: 0 0 40px rgba(0,231,1,.35); animation: v10-thump .35s ease-out; }
.v10-limbo-value.is-loss { color: var(--v10-loss); }
@keyframes v10-thump { 40% { transform: scale(1.06); } }

/* Mines */
.v10-mines { display: flex; flex-direction: column; align-items: center; width: 100%; }
.v10-mines-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; width: min(100%, 600px, calc(100vh - 330px)); min-width: min(100%, 300px); perspective: 900px; }
.v10-tile { position: relative; aspect-ratio: 1; border: 0; border-radius: 8px; background: url("brokeprint-assets/originals-v8/mines-4.webp") center / 106% 106% no-repeat, var(--v10-raise); box-shadow: 0 6px 0 #1b2f3c; cursor: default; padding: 14%; display: grid; place-items: center; transition: transform .14s var(--v10-ease), filter .14s, box-shadow .14s; }
.v10 .v10-tile:disabled { opacity: 1; }
.v10-tile.is-live { cursor: pointer; }
.v10-tile.is-live:hover { filter: brightness(1.35); transform: translateY(-4px); box-shadow: 0 10px 0 #1b2f3c; }
.v10-tile.is-live:active { transform: translateY(3px); box-shadow: 0 2px 0 #1b2f3c; }
.v10-tile.is-pending { animation: v10-tile-wait .5s ease-in-out infinite alternate; transform: translateY(3px) rotateY(18deg); box-shadow: 0 2px 0 #1b2f3c; }
@keyframes v10-tile-wait { to { filter: brightness(1.5); transform: translateY(3px) rotateY(-18deg); } }
.v10-tile.is-gem, .v10-tile.is-mine { background: #0a1820; box-shadow: inset 0 0 0 2px #17303e; transform: none; filter: none; animation: v10-flip .3s var(--v10-ease); }
@keyframes v10-flip { from { transform: rotateY(90deg) scale(.9); } }
.v10-tile img { width: 100%; height: 100%; object-fit: contain; pointer-events: none; user-select: none; animation: v10-reveal .32s cubic-bezier(.2,1.6,.4,1) both; }
.v10-tile.is-gem:not(.is-dim) img { filter: drop-shadow(0 0 12px rgba(0, 231, 1, .55)); }
.v10-tile.is-hit { background: #5a1022; box-shadow: inset 0 0 0 3px var(--v10-loss), 0 0 30px rgba(255,59,92,.45); animation: v10-hit .45s ease-out; z-index: 2; }
@keyframes v10-hit { 0% { transform: scale(1.25); } 100% { transform: scale(1); } }
.v10-tile.is-dim { animation: none; }
.v10-tile.is-dim img { opacity: .32; filter: none; animation: v10-reveal-dim .3s ease-out both; }
@keyframes v10-reveal { from { transform: scale(.2) rotate(-25deg); opacity: 0; } }
@keyframes v10-reveal-dim { from { transform: scale(.4); opacity: 0; } }

/* Dialog */
.v10-dialog { border: 0; border-radius: 12px; background: var(--v10-panel); color: var(--v10-text); padding: 22px; max-width: 440px; width: calc(100% - 32px); animation: v10-win-in2 .25s var(--v10-ease); }
@keyframes v10-win-in2 { from { transform: scale(.94); opacity: 0; } }
.v10-dialog::backdrop { background: rgba(5, 12, 18, .7); }
.v10-dialog h2 { margin: 0 0 10px; font-size: 18px; }
.v10-dialog p { line-height: 1.5; color: var(--v10-text); }
.v10-muted { color: var(--v10-muted) !important; font-size: 13px; }
.v10-keys { width: 100%; border-collapse: collapse; margin-bottom: 6px; }
.v10-keys td { padding: 6px 0; border-bottom: 1px solid var(--v10-line); }
.v10-keys kbd { background: var(--v10-field); border-radius: 4px; padding: 3px 8px; font-family: inherit; font-weight: 700; }

/* Phone: playfield first, controls below, mode tabs at the bottom. */
@media (max-width: 860px) {
  .v10 { padding: 12px 10px 24px; }
  .v10-card { grid-template-columns: 1fr; grid-template-rows: auto; }
  .v10-stage { order: 1; padding: 10px 10px 14px; min-height: 340px; border-radius: 10px 10px 0 0; }
  .v10-panel { order: 2; border-radius: 0; }
  .v10-foot { order: 3; }
  .v10-tabs { order: 99; }
  .v10-btn-primary { order: -1; }
  .v10-dice { padding-top: 70px; }
  .v10-dice-fields { grid-template-columns: 1fr 1fr 1fr; gap: 8px; padding: 10px; }
  .v10-dice-fields .v10-field span { font-size: 11px; }
  .v10-dice-fields .v10-input input { padding: 0 6px; font-size: 13px; }
  .v10-dice-fields .v10-input i, .v10-dice-fields .v10-icon-btn { padding: 0 6px; }
  .v10-limbo-value { padding: 40px 0 26px; }
  .v10-mines-grid { gap: 7px; }
  .v10-mark { height: 18px; }
  .v10-fair span { display: none; }
  .v10-boardbar { font-size: 12px; }
  .v10-barbtn span { display: none; }
  .v10-mines-chip { padding: 9px 12px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .v10 *, .v10 *::before, .v10 *::after { animation: none !important; transition: none !important; }
}

/* Hot streak badge (3+ wins in a row) */
.v10-streak { flex: none; display: inline-flex; align-items: center; gap: 4px; margin-right: auto; padding: 6px 12px 6px 9px; border-radius: 999px; background: linear-gradient(90deg, #ff6a00, #ffb21e); color: #2b1100; font-size: 12px; font-weight: 900; box-shadow: 0 0 16px rgba(255,138,31,.45); }
.v10-streak svg { width: 15px; height: 15px; fill: #fff3c4; animation: v10-flame .5s ease-in-out infinite alternate; transform-origin: 50% 90%; }
.v10-streak.is-new { animation: v10-streak-in .45s cubic-bezier(.2,1.6,.4,1); }
.v10-streak.is-blazing { background: linear-gradient(90deg, #ff2e55, #ff8a1f, #ffd23f); background-size: 200% 100%; animation: v10-blaze 1.2s linear infinite; box-shadow: 0 0 24px rgba(255,59,92,.6); }
@keyframes v10-flame { to { transform: scale(1.12, .92) rotate(4deg); } }
@keyframes v10-streak-in { from { transform: scale(.4); opacity: 0; } }
@keyframes v10-blaze { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .v10-streak, .v10-streak svg { animation: none !important; } }
/* Limbo stage: glow + log meter with target tick */
.v10-limbo-stage { position: relative; display: flex; flex-direction: column; align-items: center; padding-bottom: 30px; }
.v10-limbo-glow { position: absolute; inset: 0 10%; border-radius: 50%; background: radial-gradient(circle, rgba(20,117,225,.18), transparent 65%); pointer-events: none; transition: background .35s; }
.v10-limbo-stage.is-win .v10-limbo-glow { background: radial-gradient(circle, rgba(0,231,1,.28), transparent 65%); animation: v10-limbo-pulse .8s ease-out; }
.v10-limbo-stage.is-loss .v10-limbo-glow { background: radial-gradient(circle, rgba(255,59,92,.16), transparent 65%); }
@keyframes v10-limbo-pulse { from { transform: scale(.6); opacity: 0; } }
.v10-limbo-value { position: relative; }
.v10-limbo-meter { position: relative; width: min(100%, 560px); height: 12px; border-radius: 8px; background: #0b1a24; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.v10-limbo-meter em { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 8px; background: linear-gradient(90deg, #1475e1, #6aa8ff); box-shadow: 0 0 12px rgba(20,117,225,.5); }
.v10-limbo-meter.is-over em { background: linear-gradient(90deg, #00b301, #00e701); box-shadow: 0 0 14px rgba(0,231,1,.55); }
.v10-limbo-tick { position: absolute; top: -8px; bottom: -8px; width: 3px; margin-left: -1.5px; border-radius: 2px; background: #fff; box-shadow: 0 0 8px rgba(255,255,255,.7); transition: left .25s var(--v10-ease); z-index: 1; }
.v10-limbo-tick b { position: absolute; left: 50%; bottom: calc(100% + 4px); transform: translateX(-50%); padding: 2px 7px; border-radius: 6px; background: #fff; color: #0f212e; font-size: 11px; font-weight: 900; white-space: nowrap; }
.v10-limbo-meter span { position: absolute; top: calc(100% + 6px); font-size: 11px; font-weight: 700; color: var(--v10-muted); transform: translateX(-50%); }
.v10-limbo-meter span:nth-of-type(1) { left: 0; transform: none; } .v10-limbo-meter span:nth-of-type(2) { left: 50%; } .v10-limbo-meter span:nth-of-type(3) { left: auto; right: 0; transform: none; }
/* Amount snapped to balance */
.v10-input.is-capped { position: relative; animation: v10-capped .6s ease-out; }
.v10-input.is-capped::after { content: attr(data-v10-note); position: absolute; right: 6px; top: -22px; padding: 2px 8px; border-radius: 6px; background: #ffb21e; color: #2b1a00; font-size: 11px; font-weight: 800; white-space: nowrap; animation: v10-capnote 2.2s ease-out forwards; pointer-events: none; }
@keyframes v10-capped { 25% { box-shadow: 0 0 0 2px #ffb21e, 0 0 16px rgba(255,178,30,.4); } }
@keyframes v10-capnote { 0% { opacity: 0; transform: translateY(4px); } 12%, 75% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* Auto mode helpers */
.v10-autotip { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 6px; background: var(--v10-field); font-weight: 700; }
.v10-autotip b { color: var(--v10-win); font-size: 15px; } .v10-autotip small { color: var(--v10-muted); font-weight: 600; }
.v10-autotip.is-empty b { color: #ffb21e; }
.v10-autonote { margin: -4px 0 4px; font-size: 12px; color: var(--v10-muted); line-height: 1.4; }
.v10 .v10-tile.is-plan { cursor: pointer; }
.v10 .v10-tile.is-plan:hover:not(:disabled) { filter: brightness(1.25); transform: translateY(-2px); }
.v10 .v10-tile.is-chosen { box-shadow: inset 0 0 0 3px #9b5cff, 0 0 18px rgba(155,92,255,.5) !important; background: #3b2a6b !important; }
.v10 .v10-tile.is-chosen::after { content: ""; position: absolute; inset: 32%; border-radius: 50%; background: #b98cff; box-shadow: 0 0 12px #b98cff; animation: v10-chosen 1.2s ease-in-out infinite alternate; }
@keyframes v10-chosen { to { transform: scale(.7); opacity: .6; } }
/* Phone "More" menu: one consistent left-aligned list. */
#moreMenu .more-dialog nav button { display: flex !important; flex-direction: row !important; align-items: center !important; justify-content: flex-start !important; text-align: left !important; gap: 10px !important; }
#moreMenu .more-dialog .more-icon { display: none !important; }