/* Brokeprint v10: boards for Plinko, Keno, Wheel, Roulette, Crash, HiLo, Blackjack, Dragon Tower, Pump, Flip, Chicken. */
.v10-btn small { display: block; margin-top: 5px; font-size: 11px; font-weight: 600; color: var(--v10-muted); }
.v10-btn-go { background: var(--v10-win); color: var(--v10-win-ink); }
.v10-btn-go:hover:not(:disabled) { background: #4cf07a; }
.v10-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.v10-hint { color: var(--v10-muted); font-weight: 600; margin: 0; text-align: center; width: 100%; }
.v10-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: var(--v10-field); padding: 4px; border-radius: 8px; }
.v10-seg button { display: flex; align-items: center; justify-content: center; gap: 6px; border: 0; border-radius: 6px; background: transparent; color: var(--v10-text); font: 700 14px/1 inherit; font-family: inherit; padding: 8px; cursor: pointer; }
.v10-seg button img { width: 22px; height: 22px; }
.v10-seg button.is-on { background: var(--v10-raise); }
.v10-pill.is-red { background: var(--v10-loss); color: #fff; }
.v10-pill.is-black { background: #22394a; color: #fff; }
.v10-pill.is-green { background: #1fb35a; color: #fff; }
.v10-pill.is-hot:not(.is-win) { color: var(--v10-win); }

/* Plinko */
.v10-plinko { position: relative; width: min(100%, 680px, calc((100vh - 300px) * 1.1)); min-width: min(100%, 280px); }
.v10-peg { position: absolute; width: 1.15%; aspect-ratio: 1; min-width: 5px; border-radius: 50%; background: #fff; transform: translate(-50%, -50%); box-shadow: 0 0 6px rgba(255,255,255,.25); }
.v10-peg.is-hit { animation: v10-peg .35s ease-out; }
@keyframes v10-peg { 0% { transform: translate(-50%, -50%) scale(1.9); background: #ffd27a; box-shadow: 0 0 14px #ff8a1f; } }
.v10-bin { position: absolute; transform: translate(-50%, 0); padding: 6px 0; border-radius: 5px; background: var(--c); color: #1c0a00; font-weight: 800; font-size: clamp(8px, 1.15vw, 12px); text-align: center; box-shadow: 0 4px 0 color-mix(in srgb, var(--c) 60%, #000); white-space: nowrap; overflow: hidden; }
.v10-bin.is-hit { animation: v10-bin .32s ease-out; }
@keyframes v10-bin { 40% { transform: translate(-50%, 6px); box-shadow: 0 0 0 transparent; } }
.v10-ball { position: absolute; left: 0; top: 0; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffe1ea, #ff4f7b 55%, #d61a4a); box-shadow: 0 0 10px rgba(255,79,123,.75), 0 0 2px #fff inset; z-index: 3; will-change: transform; }
.v10-ball.is-ghost { opacity: .35; filter: blur(2px); z-index: 2; box-shadow: none; }
.v10-plinko-wrap { position: relative; width: 100%; display: grid; place-items: center; align-self: start; margin-top: 10px; }
.v10-plinko-glow { position: absolute; inset: -10% -6%; background: radial-gradient(ellipse at 50% 100%, rgba(255,210,63,.35), transparent 60%); opacity: 0; pointer-events: none; }
.v10-plinko-hist { position: absolute; right: 0; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 5px; width: 64px; border-radius: 8px; overflow: hidden; }
.v10-plinko-hist span { display: grid; place-items: center; height: 40px; border-radius: 6px; background: var(--c); color: #1c0a00; font-weight: 800; font-size: 13px; box-shadow: inset 0 -3px 0 rgba(0,0,0,.2); }
.v10-plinko-hist span:first-child { animation: v10-hist-in .3s cubic-bezier(.2,1.4,.4,1); }
.v10-plinko-hist span:nth-child(n+4) { opacity: .55; }
@keyframes v10-hist-in { from { transform: translateY(-100%) scale(.6); opacity: 0; } }
.v10-peg { transition: background .3s; }

/* Keno */
.v10-keno { width: min(100%, 720px); display: flex; flex-direction: column; gap: 16px; }
.v10-keno-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; }
.v10-ktile { position: relative; aspect-ratio: 1.15; border: 0; border-radius: 8px; background: var(--v10-raise); box-shadow: 0 4px 0 #14293a; color: var(--v10-text); font: 800 clamp(13px, 1.6vw, 18px)/1 inherit; font-family: inherit; cursor: pointer; transition: transform .08s, background .12s; display: grid; place-items: center; }
.v10-ktile:hover { background: var(--v10-raise-hi); transform: translateY(-2px); }
.v10-ktile.is-pick { background: #8b4dff; box-shadow: 0 4px 0 #5a2bb5; }
.v10-ktile.is-miss { background: #071520; box-shadow: none; color: var(--v10-loss); }
.v10-ktile.is-hit { background: #071520; box-shadow: inset 0 0 0 3px var(--v10-win); }
.v10-ktile.is-hit img { position: absolute; inset: 16%; width: 68%; height: 68%; object-fit: contain; opacity: .9; animation: v10-reveal .22s cubic-bezier(.2,1.5,.4,1); }
.v10-ktile.is-hit span { position: relative; z-index: 1; color: #04210f; font-size: .85em; text-shadow: 0 0 4px #b9ffcf; }
.v10-keno-pay { display: flex; gap: 6px; min-height: 52px; align-items: stretch; overflow-x: auto; scrollbar-width: thin; }
.v10-kpay { flex: 1 0 54px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; background: var(--v10-panel); border-radius: 6px; padding: 6px 2px; font-size: 12px; color: var(--v10-muted); }
.v10-kpay b { color: var(--v10-text); font-size: 13px; }
.v10-kpay.is-hit { background: var(--v10-win); color: var(--v10-win-ink); }
.v10-kpay.is-hit b { color: var(--v10-win-ink); }

/* Wheel */
.v10-wheel { display: flex; flex-direction: column; align-items: center; gap: 22px; width: 100%; }
.v10-wheel-dial { position: relative; width: min(100%, 460px, calc(100vh - 360px)); min-width: 240px; aspect-ratio: 1; }
.v10-wheel-svg { width: 100%; height: 100%; display: block; }
.v10-wheel-pin { position: absolute; left: 50%; top: -6px; transform: translateX(-50%); width: 0; height: 0; border: 14px solid transparent; border-top: 26px solid #ff3d5f; filter: drop-shadow(0 3px 2px rgba(0,0,0,.4)); }
.v10-wheel-mid { position: absolute; inset: 0; display: grid; place-items: center; font-size: clamp(26px, 4vw, 42px); font-weight: 800; pointer-events: none; }
.v10-wheel-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.v10-wleg { min-width: 84px; text-align: center; padding: 10px 12px 8px; border-radius: 6px; background: var(--v10-panel); font-weight: 800; border-bottom: 4px solid var(--c); }
.v10-wleg.is-hit { background: var(--c); color: #071520; }

/* Roulette */
.v10-roulette { width: min(100%, 900px); display: flex; flex-direction: column; gap: 14px; }
.v10-rtop { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.v10-rlast { justify-self: end; width: 70px; height: 70px; display: grid; place-items: center; border-radius: 10px; background: var(--v10-panel); font-size: 28px; font-weight: 800; }
.v10-rlast.is-red { background: var(--v10-loss); } .v10-rlast.is-black { background: #22394a; } .v10-rlast.is-green { background: #1fb35a; }
.v10-rwheel { position: relative; width: min(42vw, 300px, calc(100vh - 480px)); min-width: 180px; aspect-ratio: 1; filter: drop-shadow(0 14px 24px rgba(0,0,0,.45)); }
.v10-rwheel-svg { width: 100%; height: 100%; display: block; }
.v10-rwheel-svg text { fill: #fff; font: 700 11px "DM Sans", sans-serif; }
.v10-rball { position: absolute; left: 50%; top: 9.5%; width: 4.5%; aspect-ratio: 1; transform: translate(-50%, -50%); transform-origin: 50% 950%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #cfd8df 70%, #9aa8b3); box-shadow: 0 2px 4px rgba(0,0,0,.5), 0 0 8px rgba(255,255,255,.6); z-index: 2; }
.v10-rhist { justify-self: start; display: flex; flex-direction: column; gap: 6px; }
.v10-rhist span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; font-weight: 800; font-size: 13px; }
.v10-rhist span:not(:first-child) { opacity: .6; }
.v10-rhist .is-red { background: var(--v10-loss); } .v10-rhist .is-black { background: #22394a; } .v10-rhist .is-green { background: #1fb35a; }
.v10-rtable { display: flex; flex-direction: column; gap: 6px; }
.v10-rnums { display: grid; grid-template-columns: 1.1fr repeat(12, 1fr); grid-template-rows: repeat(3, auto); gap: 5px; }
.v10-rzero { grid-column: 1; grid-row: 1 / 4; }
.v10-rnums > .v10-rcell:not(.v10-rzero) { grid-column: calc(var(--c) + 2); grid-row: calc(var(--r) + 1); }
.v10-rdoz, .v10-routs { display: grid; gap: 5px; margin-left: calc((100% - 5px * 12) / 13.1 * 1.1 + 5px); }
.v10-rdoz { grid-template-columns: repeat(3, 1fr); }
.v10-routs { grid-template-columns: repeat(4, 1fr); }
.v10-rcell { position: relative; min-height: 40px; border: 2px solid var(--v10-raise); border-radius: 5px; background: transparent; color: #fff; font: 800 14px/1 inherit; font-family: inherit; cursor: pointer; display: grid; place-items: center; transition: filter .1s; }
.v10-rcell:hover { filter: brightness(1.25); }
.v10-rcell.is-red { background: var(--v10-loss); border-color: var(--v10-loss); }
.v10-rcell.is-black { background: #22394a; border-color: #22394a; }
.v10-rcell.is-green { background: #1fb35a; border-color: #1fb35a; }
.v10-rcell.is-win { box-shadow: 0 0 0 3px #fff; z-index: 1; }
.v10-rcell em { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-style: normal; font-size: 10px; font-weight: 800; min-width: 26px; height: 26px; padding: 0 3px; display: none; place-items: center; border-radius: 50%; background: #ffd23f; color: #3a2700; border: 3px dashed #fff3; box-shadow: 0 2px 0 #b38b00; }
.v10-rcell.has-chip em { display: grid; }
.v10-rtools { display: flex; justify-content: space-between; }
.v10-rtools button { background: none; border: 0; color: var(--v10-muted); font: 700 13px inherit; font-family: inherit; cursor: pointer; padding: 6px; }
.v10-rtools button:hover { color: var(--v10-text); }

/* Crash */
.v10-crash { position: relative; width: 100%; height: min(520px, calc(100vh - 290px)); min-height: 320px; border-radius: 10px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255,255,255,.04); }
.v10-crash-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.v10-rocket { position: absolute; left: 0; top: 0; width: 48px; height: 48px; will-change: transform; z-index: 2; }
.v10-rocket-body { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 0 10px rgba(255,178,30,.45)); }
.v10-flame { position: absolute; left: 50%; top: 82%; width: 30px; height: 38px; margin-left: -15px; object-fit: contain; transform: rotate(180deg); transform-origin: 50% 0; animation: v10-flame .09s steps(2) infinite alternate; filter: drop-shadow(0 0 10px #ff8a1f); }
@keyframes v10-flame { to { transform: rotate(180deg) scale(1.15, 1.35); opacity: .85; } }
.v10-rocket.is-parked .v10-flame { opacity: 0; animation: none; }
.v10-rocket.is-parked { animation: v10-idle-bob 2.4s ease-in-out infinite; }
@keyframes v10-idle-bob { 50% { margin-top: -4px; } }
.v10-crash.is-flying .v10-crash-value { text-shadow: 0 0 30px rgba(255,178,30,.25); }
.v10-boom { position: absolute; width: 150px; height: 150px; object-fit: contain; transform: translate(-50%, -50%); z-index: 3; pointer-events: none; }
.v10-crash-value { position: absolute; left: 50%; top: 38%; transform: translate(-50%, -50%); font-size: clamp(54px, 9vw, 104px); font-weight: 800; letter-spacing: -.02em; }
.v10-crash-note { position: absolute; left: 50%; top: calc(38% + clamp(44px, 6vw, 70px)); transform: translateX(-50%); font-weight: 800; font-size: 16px; color: var(--v10-muted); white-space: nowrap; }
.v10-crash.is-crashed .v10-crash-value { color: var(--v10-loss); }
.v10-crash.is-cashed .v10-crash-note { color: var(--v10-win-ink); background: var(--v10-win); padding: 8px 14px; border-radius: 999px; box-shadow: 0 0 24px rgba(0,231,1,.35); animation: v10-win-in2 .3s cubic-bezier(.2,1.5,.4,1); }
.v10-crash.is-flying.is-cashed .v10-crash-value { color: #fff; }

/* Cards (HiLo, Blackjack): corner indexes, big centre suit, Brokeprint backs. */
.v10-cardface { position: relative; width: clamp(70px, 8.4vw, 104px); aspect-ratio: 5 / 7; border-radius: 9px; background: linear-gradient(160deg, #ffffff, #eef3f7); color: #1b2a35; box-shadow: 0 5px 0 #b9c6d0, 0 12px 22px rgba(0,0,0,.4); display: flex; flex-direction: column; align-items: flex-start; padding: 7% 9%; flex: none; overflow: hidden; container-type: inline-size; }
.v10-cardface > b { font-size: clamp(18px, 26cqw, 34px); line-height: 1; font-weight: 900; letter-spacing: -.02em; }
.v10-cardface > i { font-style: normal; font-size: clamp(14px, 20cqw, 26px); line-height: 1; }
.v10-cardface > em { position: absolute; inset: 0; display: grid; place-items: center; font-style: normal; font-size: 52cqw; line-height: 1; pointer-events: none; }
.v10-cardface.is-court > em { inset: 27% 25%; border-radius: 6px; border: 2px solid currentColor; background: color-mix(in srgb, currentColor 8%, transparent); font-size: 30cqw; }
.v10-cardface.is-court > em span { display: block; font-size: 1.5em; font-weight: 900; line-height: .9; }
.v10-cardface.is-court > em { place-content: center; gap: 2px; }
.v10-cardface > u { position: absolute; right: 9%; bottom: 7%; display: flex; flex-direction: column; align-items: flex-start; text-decoration: none; transform: rotate(180deg); }
.v10-cardface > u b { font-size: clamp(12px, 16cqw, 20px); line-height: 1; font-weight: 900; } .v10-cardface > u i { font-style: normal; font-size: clamp(10px, 13cqw, 16px); line-height: 1; }
.v10-cardface.is-red { color: #e3243f; }
.v10-cardface.is-back { background: radial-gradient(circle at 50% 50%, rgba(255,255,255,.18), transparent 60%), repeating-linear-gradient(45deg, #1475e1 0 6px, #1068c9 6px 12px); box-shadow: inset 0 0 0 4px #0e5bb0, inset 0 0 0 6px rgba(255,255,255,.55), 0 5px 0 #0b4d94, 0 12px 22px rgba(0,0,0,.4); }
.v10-cardface.is-back::after { content: ""; position: absolute; inset: 0; background: url("brokeprint-assets/brand-20261103/monogram.webp") center / 44% no-repeat; }
.v10-cardface.is-small { width: 46px; box-shadow: 0 3px 0 #b9c6d0; border-radius: 5px; padding: 6% 8%; }
.v10-cardface.is-small > b { font-size: 15px; } .v10-cardface.is-small > i { font-size: 13px; }
.v10-cardface.is-small > em { font-size: 26px; inset: auto 4px 3px auto; place-items: end; opacity: .9; }
.v10-cardface.is-small.is-court > em { inset: auto 4px 3px auto; border: 0; background: none; font-size: 22px; } .v10-cardface.is-small.is-court > em span, .v10-cardface.is-small > u { display: none; }
.v10-cardface.is-lost { box-shadow: 0 0 0 4px var(--v10-loss), 0 0 30px rgba(255,59,92,.45), 0 12px 22px rgba(0,0,0,.4); }
.v10-cardface.is-flip { animation: v10-flipin .4s cubic-bezier(.2,.8,.2,1); }
.v10-cardface.is-deal { animation: v10-deal .42s cubic-bezier(.2,.8,.2,1) both; }
@keyframes v10-flipin { from { transform: rotateY(90deg) scale(1.08); filter: brightness(.6); } }
@keyframes v10-deal { from { transform: translate(var(--deal-x, 46vw), var(--deal-y, -38vh)) rotate(-30deg) scale(.7); opacity: 0; } 70% { opacity: 1; } }

.v10-hilo { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 30px; }
.v10-hilo-main { display: flex; align-items: center; gap: clamp(20px, 5vw, 60px); }
.v10-hilo-deck { position: relative; }
.v10-hilo-deck > i { position: absolute; inset: 0; border-radius: 9px; background: repeating-linear-gradient(45deg, #1475e1 0 6px, #1068c9 6px 12px); box-shadow: inset 0 0 0 4px #0e5bb0, 0 6px 14px rgba(0,0,0,.35); }
.v10-hilo-deck > i:nth-child(1) { transform: translate(-14px, -12px) rotate(-6deg); } .v10-hilo-deck > i:nth-child(2) { transform: translate(-8px, -7px) rotate(-3deg); } .v10-hilo-deck > i:nth-child(3) { transform: translate(-3px, -3px) rotate(-1deg); }
.v10-hilo-card { position: relative; }
.v10-hilo-card .v10-cardface { width: clamp(120px, 15vw, 168px); }
.v10-hilo-card .v10-cardface.is-flip { animation: v10-hiflip .45s cubic-bezier(.2,.8,.2,1); }
@keyframes v10-hiflip { from { transform: translate(-14px, -12px) rotateY(100deg) rotate(-6deg); filter: brightness(.6); } }
.v10-hilo-side { text-align: center; font-size: 28px; font-weight: 800; color: var(--v10-text); }
.v10-hilo-side small { font-size: 12px; font-weight: 600; color: var(--v10-muted); }
.v10-hilo-trail { display: flex; gap: 8px; max-width: 100%; overflow-x: auto; padding: 8px 8px 10px; background: var(--v10-panel); border-radius: 10px; min-height: 96px; min-width: min(100%, 360px); }
.v10-trailcard { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; color: var(--v10-muted); animation: v10-pill-in .3s cubic-bezier(.2,1.4,.4,1) both; }

/* Blackjack: felt table, shoe, labels */
.v10-bj { width: min(100%, 760px); display: flex; flex-direction: column; align-items: center; gap: 10px; position: relative; padding: 18px 16px 22px; border-radius: 22px 22px 200px 200px / 22px 22px 90px 90px; background: radial-gradient(ellipse at 50% 35%, #1f5a7e, #123a54 60%, #0d2c40); box-shadow: inset 0 0 0 6px #0b2232, inset 0 0 0 8px rgba(255,210,63,.25), 0 22px 50px rgba(0,0,0,.4); }
.v10-bj-label { font-size: 11px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.v10-bj-hand { position: relative; display: flex; align-items: flex-start; justify-content: center; min-height: clamp(110px, 13vw, 160px); }
.v10-bj-hand[data-v10-hand="player"] .v10-cardface { --deal-y: -18vh; }
.v10-bj-hand .v10-cardface:not(:first-of-type) { margin-left: clamp(-60px, -5.4vw, -40px); margin-top: 14px; }
.v10-bj-hand .v10-cardface:nth-of-type(3) { margin-top: 28px; } .v10-bj-hand .v10-cardface:nth-of-type(4) { margin-top: 42px; } .v10-bj-hand .v10-cardface:nth-of-type(n+5) { margin-top: 56px; }
.v10-bj-total { position: absolute; left: calc(100% + 12px); top: 50%; transform: translateY(-50%); background: #0b2232; padding: 6px 12px; border-radius: 999px; font-weight: 900; box-shadow: inset 0 0 0 2px rgba(255,255,255,.15); transition: background .2s, color .2s; }
.v10-bj-total.is-21 { background: var(--v10-win); color: var(--v10-win-ink); box-shadow: 0 0 18px rgba(0,231,1,.5); }
.v10-bj-total.is-bust { background: var(--v10-loss); color: #fff; box-shadow: 0 0 18px rgba(255,59,92,.5); }
.v10-bj-mid { position: relative; display: grid; place-items: center; width: 100%; min-height: 88px; }
.v10-bj-mid:has(.v10-bj-result:not([hidden])) .v10-bj-arc { opacity: 0; }
.v10-bj-arc { transition: opacity .2s; position: absolute; top: -4px; width: min(100%, 420px); height: auto; pointer-events: none; }
.v10-bj-arc text { fill: rgba(255,210,63,.55); font-size: 15px; font-weight: 900; letter-spacing: .18em; }
.v10-bj-note { margin-top: 64px; text-align: center; font-weight: 800; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .1em; font-size: 11px; }
.v10-bj-result { position: relative; z-index: 3; margin-top: 8px; background: #0b2232; border: 3px solid var(--v10-raise); border-radius: 12px; padding: 8px 22px; text-align: center; display: flex; align-items: center; gap: 14px; animation: v10-pop3 .35s cubic-bezier(.2,1.5,.4,1); box-shadow: 0 12px 30px rgba(0,0,0,.4); }
.v10-bj-result b { font-size: 16px; } .v10-bj-result span { font-size: 24px; font-weight: 900; }
.v10-bj-result.is-win { border-color: var(--v10-win); box-shadow: 0 0 30px rgba(0,231,1,.35); } .v10-bj-result.is-win span { color: var(--v10-win); }
.v10-bj-result.is-loss { border-color: var(--v10-loss); } .v10-bj-result.is-loss span { color: var(--v10-loss); }
@keyframes v10-pop3 { from { transform: scale(.6); opacity: 0; } }
.v10-bj-shoe { position: absolute; right: 18px; top: 16px; width: 54px; height: 70px; }
.v10-bj-shoe i { position: absolute; inset: 0; border-radius: 6px; background: repeating-linear-gradient(45deg, #1475e1 0 5px, #1068c9 5px 10px); box-shadow: inset 0 0 0 3px #0e5bb0, 0 4px 8px rgba(0,0,0,.35); transform: rotate(14deg); }
.v10-bj-shoe i:nth-child(2) { transform: rotate(14deg) translate(3px, 3px); } .v10-bj-shoe i:nth-child(3) { transform: rotate(14deg) translate(6px, 6px); }

/* Dragon Tower: cave backdrop, stone tower, dragon on top */
.v10-dt { position: relative; width: 100%; height: 100%; min-height: 580px; display: grid; place-items: end center; padding: 150px 0 14px; background: url("brokeprint-assets/originals-v8/dragon-world.webp") center / cover no-repeat, #04131c; border-radius: 8px; overflow: hidden; }
.v10-dt::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 60%, transparent 40%, rgba(2,10,16,.55)); pointer-events: none; }
.v10-dt-tower { position: relative; z-index: 1; width: min(94%, 520px); padding: 14px 14px 18px; background: linear-gradient(#3b5466, #2c4352); border-radius: 14px 14px 4px 4px; box-shadow: inset 0 0 0 4px #4c6a7e, inset 0 -6px 0 #1e3240, 0 20px 40px rgba(0,0,0,.5); }
.v10-dt-tower::before { content: ""; position: absolute; inset: 10px; border-radius: 8px; background: #0b1a24; box-shadow: inset 0 4px 12px rgba(0,0,0,.6); }
.v10-dt-dragon { position: absolute; left: 50%; bottom: calc(100% - 30px); width: min(118%, 560px); transform: translateX(-50%); aspect-ratio: 2.1; pointer-events: none; z-index: 2; filter: drop-shadow(0 8px 10px rgba(0,0,0,.45)); }
.v10-dt-dragon img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: bottom; opacity: 0; }
.v10-dt-dragon .f0 { animation: v10-flap-a 1.6s steps(1) infinite; }
.v10-dt-dragon .f1 { animation: v10-flap-b 1.6s steps(1) infinite; }
@keyframes v10-flap-a { 0%, 60% { opacity: 1; } 61%, 100% { opacity: 0; } }
@keyframes v10-flap-b { 0%, 60% { opacity: 0; } 61%, 100% { opacity: 1; } }
.v10-dt-dragon.is-roar .f0, .v10-dt-dragon.is-roar .f1 { animation: none; opacity: 0; }
.v10-dt-dragon.is-roar .r0 { opacity: 1; animation: v10-roar .9s ease-out; }
@keyframes v10-roar { 20% { transform: translateY(-6px) scale(1.05); } 60% { transform: translateY(2px); } }
.v10-tower { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 8px; }
.v10-trow { display: grid; grid-template-columns: repeat(var(--n), 1fr); gap: 6px; }
.v10-ttile { position: relative; overflow: hidden; height: clamp(30px, calc((100vh - 520px) / 9), 44px); border: 0; border-radius: 5px; color: #fff; font: 800 14px/1 inherit; font-family: inherit; display: grid; place-items: center; padding: 3px; cursor: default; opacity: 1 !important;
  background: repeating-linear-gradient(135deg, transparent 0 14px, rgba(255,255,255,.035) 14px 16px), linear-gradient(#24394a, #1d3040); box-shadow: inset 0 0 0 1px rgba(255,255,255,.04), 0 3px 0 #0a1620; transition: transform .14s, filter .14s, background .2s; }
.v10-trow.is-current .v10-ttile { cursor: pointer; background: repeating-linear-gradient(135deg, transparent 0 14px, rgba(255,255,255,.08) 14px 16px), linear-gradient(#3f6278, #31506a); box-shadow: inset 0 0 0 2px rgba(120,190,255,.25), 0 3px 0 #0a1620; animation: v10-row-glow 1.4s ease-in-out infinite alternate; }
@keyframes v10-row-glow { to { box-shadow: inset 0 0 0 2px rgba(120,190,255,.55), 0 0 14px rgba(80,160,255,.25), 0 3px 0 #0a1620; } }
.v10-trow.is-current .v10-ttile:hover { filter: brightness(1.25); transform: translateY(-2px); }
.v10-trow.is-current .v10-ttile:active { transform: translateY(2px); }
.v10-ttile img { position: absolute; inset: 7%; width: 86%; height: 86%; object-fit: contain; animation: v10-reveal .3s cubic-bezier(.2,1.6,.4,1) both; }
.v10-ttile.is-dim img { opacity: .35; }
.v10-ttile.is-picked { background: linear-gradient(#1c7a3e, #13582c); box-shadow: 0 0 16px rgba(0,231,1,.3); }
.v10-ttile.is-hit { background: linear-gradient(#7a1a2c, #4a0f1d); box-shadow: inset 0 0 0 2px var(--v10-loss), 0 0 20px rgba(255,59,92,.4); }
.v10-trow.is-new .v10-ttile.is-picked, .v10-trow.is-new .v10-ttile.is-hit { animation: v10-flip .3s cubic-bezier(.2,.8,.2,1); }

/* Pump */
.v10-pump { position: relative; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding-top: 10px; }
.v10-pump-body { flex: none; }
.v10-balloon { --k: 0; position: relative; width: calc(110px + var(--k) * min(220px, 22vh)); flex: none; aspect-ratio: .86; border-radius: 50% 50% 48% 48%; background: radial-gradient(circle at 32% 28%, #ff9aa8, #ff3d5f 45%, #c4183a); display: grid; place-items: center; transition: width .35s cubic-bezier(.3,1.4,.5,1); box-shadow: inset -10px -14px 0 rgba(0,0,0,.12); margin-bottom: 4px; }
.v10-balloon::after { content: ""; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); border: 8px solid transparent; border-bottom: 12px solid #c4183a; }
.v10-balloon b { font-size: clamp(18px, 3vw, 30px); font-weight: 800; color: #fff; text-shadow: 0 2px 0 rgba(0,0,0,.2); }
.v10-balloon.is-popped { background: none; box-shadow: none; animation: v10-popped .3s ease-out; }
.v10-balloon.is-popped::before { content: "POP!"; position: absolute; font-size: 42px; font-weight: 900; color: var(--v10-loss); }
.v10-balloon.is-popped b { display: none; }
@keyframes v10-popped { from { transform: scale(1.3); } }
.v10-pump-string { width: 4px; height: 26px; background: #8aa0b2; margin-top: 8px; border-radius: 2px; }
.v10-shine { position: absolute; left: 22%; top: 16%; width: 18%; height: 24%; border-radius: 50%; background: rgba(255,255,255,.35); transform: rotate(-25deg); }
.v10-pump-body { position: relative; width: 90px; height: 92px; }
.v10-pump-handle { position: absolute; left: 50%; top: 0; width: 70px; height: 12px; margin-left: -35px; border-radius: 6px; background: #ff3b5c; box-shadow: 0 3px 0 #b81d3a; }
.v10-pump-handle::after { content: ""; position: absolute; left: 50%; top: 12px; width: 8px; height: 26px; margin-left: -4px; background: #8aa0b2; }
.v10-pump-barrel { position: absolute; left: 50%; top: 30px; width: 34px; height: 50px; margin-left: -17px; border-radius: 6px 6px 2px 2px; background: linear-gradient(90deg, #4f6d82, #6d8ea6 45%, #3f5a6c); }
.v10-pump-base { position: absolute; left: 50%; bottom: 0; width: 86px; height: 14px; margin-left: -43px; border-radius: 6px; background: #2f4553; box-shadow: 0 3px 0 #1a2c38; }
.v10-pump-steps { display: flex; gap: 6px; margin-top: 14px; flex-wrap: wrap; justify-content: center; }
.v10-pump-steps span { padding: 8px 12px; border-radius: 6px; background: var(--v10-panel); font-weight: 800; font-size: 13px; color: var(--v10-muted); }
.v10-pump-steps span.is-next { background: var(--v10-raise); color: var(--v10-text); }

/* Flip */
.v10-flip { display: flex; flex-direction: column; align-items: center; gap: 40px; perspective: 900px; }
.v10-coin { position: relative; width: clamp(150px, 20vw, 220px); aspect-ratio: 1; transform-style: preserve-3d; }
.v10-coin img { position: absolute; inset: 0; width: 100%; height: 100%; backface-visibility: hidden; }
.v10-coin .is-back { transform: rotateY(180deg); }
.v10-flip-trail { display: flex; gap: 6px; min-height: 44px; flex-wrap: wrap; justify-content: center; padding: 6px; background: var(--v10-panel); border-radius: 10px; min-width: min(100%, 320px); }
.v10-flip-trail span { width: 34px; height: 34px; border-radius: 50%; padding: 2px; }
.v10-flip-trail span.is-win { box-shadow: 0 0 0 2px var(--v10-win); }
.v10-flip-trail span.is-loss { box-shadow: 0 0 0 2px var(--v10-loss); }
.v10-flip-trail img { width: 100%; height: 100%; }

/* Chicken */
.v10-chicken { width: 100%; overflow: hidden; }
.v10-road { display: flex; gap: 0; overflow-x: auto; scrollbar-width: thin; padding: 20px 0; border-radius: 12px; background: linear-gradient(#2c3a44, #26333c); box-shadow: inset 0 10px 0 #3b4a55, inset 0 -10px 0 #3b4a55; scroll-snap-type: x proximity; scroll-behavior: smooth; }
.v10-lane.is-next { background: rgba(20,117,225,.08); }
.v10-lane.is-next::after { content: ""; position: absolute; inset: 10px 8px; border: 2px dashed rgba(20,117,225,.45); border-radius: 10px; animation: v10-row-glow 1s ease-in-out infinite alternate; }
.v10-lane { position: relative; flex: none; width: clamp(92px, 11vw, 124px); height: min(340px, calc(100vh - 360px)); min-height: 220px; border-right: 4px dashed rgba(255,255,255,.35); display: flex; flex-direction: column; align-items: center; justify-content: center; scroll-snap-align: center; }
.v10-lane.is-curb { background: #5b6b78; border-right: 6px solid #d6dde3; }
.v10-lane.is-passed { background: rgba(31,227,90,.08); }
.v10-lane.is-next .v10-lane-m { background: var(--v10-blue); color: #fff; }
.v10-lane.is-crash { background: rgba(255,61,95,.22); }
.v10-lane-m { position: absolute; bottom: 14px; padding: 6px 10px; border-radius: 999px; background: rgba(12,27,38,.85); font-weight: 800; font-size: 13px; }
.v10-bird { width: 80%; max-width: 92px; z-index: 1; }
.v10-bird.is-jump { animation: v10-hop .28s ease-out; }
@keyframes v10-hop { from { transform: translate(-90%, 0); } 50% { transform: translate(-45%, -18px); } }
.v10-car { position: absolute; top: 18%; left: 12%; width: 76%; height: 26%; border-radius: 10px; background: #ffd23f; box-shadow: inset 0 -8px 0 rgba(0,0,0,.18); animation: v10-car .35s ease-in; }
@keyframes v10-car { from { transform: translateY(-160%); } }


/* Rock Paper Scissors */
.v10-seg3 { grid-template-columns: repeat(3, 1fr); }
.v10-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.v10-rps { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.v10-rps-duel { display: flex; align-items: center; justify-content: center; gap: clamp(20px, 6vw, 70px); }
.v10-rps-side { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 22px; background: var(--v10-panel); border-radius: 14px; min-width: clamp(130px, 18vw, 200px); }
.v10-rps-side small { font-weight: 800; color: var(--v10-muted); text-transform: uppercase; letter-spacing: .08em; }
.v10-rps-side img { width: clamp(90px, 13vw, 150px); height: clamp(90px, 13vw, 150px); object-fit: contain; }
.v10-rps-house { transform: scaleX(-1); }
.v10-rps-vs { font-size: 26px; font-weight: 900; color: var(--v10-muted); }
.v10-rps-result { min-height: 36px; font-size: 22px; font-weight: 800; }
.v10-rps-result.is-win { color: var(--v10-win); animation: v10-thump .35s ease-out; } .v10-rps-result.is-loss { color: var(--v10-loss); } .v10-rps-result.is-tie { color: var(--v10-muted); }
.v10-rps-trail span:not(.is-win):not(.is-loss) { box-shadow: 0 0 0 2px var(--v10-raise-hi); }

/* Moles */
.v10-moles { border-radius: 26px; padding-top: 26px; background: radial-gradient(ellipse at 50% 40%, #3d8a3f, #2a6a2f 65%, #1f5225); box-shadow: inset 0 0 0 6px #1a4620, inset 0 -30px 60px rgba(0,0,0,.25), 0 20px 44px rgba(0,0,0,.4); position: relative; display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(3, auto); gap: 10px 0; width: min(100%, 560px); padding-bottom: 60px; }
.v10-hole { position: relative; grid-column: span 2; aspect-ratio: 1.25; border: 0; background: none; padding: 0; cursor: default; }
.v10-hole:nth-child(1) { grid-column: 2 / span 2; } .v10-hole:nth-child(2) { grid-column: 4 / span 2; }
.v10-hole:nth-child(6) { grid-column: 2 / span 2; } .v10-hole:nth-child(7) { grid-column: 4 / span 2; }
.v10 .v10-hole:disabled { opacity: 1; }
.v10-hole-pit { position: absolute; left: 6%; right: 6%; bottom: 0; width: 88%; height: 70%; object-fit: contain; transition: filter .15s, transform .15s; }
.v10-hole-mole { position: absolute; left: 10%; right: 10%; bottom: 12%; width: 80%; height: 92%; object-fit: contain; object-position: bottom; animation: v10-mole-up .3s cubic-bezier(.2,1.5,.4,1) both; }
@keyframes v10-mole-up { from { transform: translateY(40%) scaleY(.4); opacity: 0; } }
.v10-hole.is-live { cursor: pointer; }
.v10-hole.is-live:hover .v10-hole-pit { filter: brightness(1.5) drop-shadow(0 0 10px rgba(80,160,255,.45)); transform: scale(1.05); }
.v10-hole.is-live .v10-hole-pit { animation: v10-hole-pulse 1.4s ease-in-out infinite alternate; }
@keyframes v10-hole-pulse { to { filter: brightness(1.25); } }
.v10-hole.is-miss .v10-hole-pit { filter: drop-shadow(0 0 14px rgba(255,59,92,.7)); }
.v10-hole.is-hit .v10-hole-pit { filter: drop-shadow(0 0 14px rgba(0,231,1,.6)); }
.v10-hole.is-reveal .v10-hole-mole { opacity: .55; }
.v10-hammer { position: absolute; width: 90px; height: 90px; object-fit: contain; transform-origin: 85% 85%; pointer-events: none; z-index: 3; }
.v10-moles-chip { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); }

@keyframes v10-landed { 30% { transform: scale(1.12); box-shadow: 0 0 30px rgba(0,231,1,.5); } }
.v10-dice-pair { display: flex; gap: 14px; }
.v10-die { width: clamp(46px, 6vw, 64px); aspect-ratio: 1; display: grid; grid-template-columns: repeat(3, 1fr); padding: 12%; gap: 6%; background: #fff; border-radius: 12px; box-shadow: inset 0 -5px 0 #c9d4dc, 0 6px 14px rgba(0,0,0,.4); }
.v10-die i { border-radius: 50%; }
.v10-die i.on { background: #0f212e; }
.v10-die.is-rolling { transform: rotate(calc(var(--r, 1) * 18deg)); animation: v10-tumble .07s linear; }
@keyframes v10-tumble { from { transform: rotate(-20deg) scale(.9); } }

/* Bars */
.v10-bars { width: min(100%, 720px, calc((100vh - 400px) * 1.5)); min-width: min(100%, 300px); display: flex; flex-direction: column; gap: 14px; }
.v10-bars-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.v10-drawer { position: relative; aspect-ratio: 1.25; min-width: 0; border: 0; padding: 4px; border-radius: 10px; background: #13283a; cursor: pointer; display: grid; place-items: center; transition: transform .15s, background .2s, box-shadow .2s; }
.v10-drawer img { width: 100%; height: 100%; object-fit: contain; }
.v10-drawer:hover:not(.is-gold):not(.is-empty) { transform: translateY(-3px); background: #1b3448; }
.v10-drawer.is-pick { background: #12334d; box-shadow: inset 0 0 0 3px #1475e1, 0 0 16px rgba(20,117,225,.35); }
.v10-drawer.is-gold img, .v10-drawer.is-empty img { animation: v10-drawer-open .3s cubic-bezier(.2,1.4,.4,1); }
@keyframes v10-drawer-open { from { transform: translateY(-14%) scale(.9); } }
.v10-drawer.is-gold.is-pick { box-shadow: inset 0 0 0 3px var(--c), 0 0 22px color-mix(in srgb, var(--c) 60%, transparent); }
.v10-drawer.is-dim { opacity: .5; }
.v10-drawer b { position: absolute; left: 50%; bottom: 4px; transform: translateX(-50%); padding: 2px 8px; border-radius: 999px; background: var(--c); color: #071520; font-size: 12px; font-weight: 800; white-space: nowrap; }
.v10-drawer b:empty { display: none; }
.v10-bars-pays { display: flex; gap: 8px; align-items: stretch; flex-wrap: wrap; }
.v10-bars-pays span { flex: 1; min-width: 64px; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 4px; border-radius: 8px; background: var(--v10-panel); border-bottom: 4px solid var(--c); }
.v10-bars-pays b { font-size: 14px; } .v10-bars-pays small { color: var(--v10-muted); font-weight: 700; font-size: 11px; }
.v10-bars-pays em { align-self: center; font-style: normal; font-weight: 800; color: var(--v10-muted); padding: 0 6px; }

/* Drill */
.v10-drill { position: relative; width: min(100%, 720px); height: min(500px, calc(100vh - 290px)); min-height: 330px; display: grid; grid-template-columns: 54px 1fr; gap: 10px; }
.v10-drill-scale { position: relative; }
.v10-drill-scale span { position: absolute; right: 4px; transform: translateY(-50%); font-size: 12px; font-weight: 700; color: var(--v10-muted); }
.v10-drill-ground { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 0 10px; border-radius: 12px; overflow: hidden;
  background: linear-gradient(#5b4632 0 4%, #3d2f24 4% 30%, #33281f 30% 55%, #2a2119 55% 80%, #211a14 80%); box-shadow: inset 0 0 0 2px rgba(255,255,255,.04); }
.v10-drill-ground::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 20% 30%, rgba(255,255,255,.05) 2px, transparent 3px), radial-gradient(circle at 70% 60%, rgba(0,0,0,.25) 3px, transparent 4px); background-size: 46px 46px, 62px 62px; pointer-events: none; }
.v10-shaft { position: relative; }
.v10-shaft-dug { position: absolute; left: 22%; right: 22%; top: 0; height: 0; background: linear-gradient(#0d1a23, #0a141b); border-radius: 0 0 10px 10px; box-shadow: inset 0 0 0 2px rgba(0,0,0,.4); }
.v10-bit { position: absolute; left: 50%; top: 0; width: 64%; max-width: 92px; transform: translate(-50%, -62%); filter: drop-shadow(0 6px 8px rgba(0,0,0,.5)); z-index: 2; }
.v10-shaft.is-digging .v10-bit { animation: v10-drill-jitter .08s linear infinite alternate; }
@keyframes v10-drill-jitter { to { transform: translate(calc(-50% + 1.5px), calc(-62% + 1px)) rotate(2deg); } }
.v10-shaft-val { position: absolute; left: 50%; top: 10px; transform: translateX(-50%); padding: 5px 10px; border-radius: 999px; background: rgba(10,20,27,.85); font-weight: 800; font-size: 13px; color: #fff; z-index: 3; white-space: nowrap; }
.v10-shaft.is-mine .v10-shaft-val { box-shadow: 0 0 0 2px var(--c); }
.v10-shaft.is-mine::after { content: "YOU"; position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%); font-size: 11px; font-weight: 900; letter-spacing: .1em; color: var(--c); }
.v10-shaft.is-win .v10-shaft-val { background: var(--v10-win); color: var(--v10-win-ink); }
.v10-shaft.is-loss .v10-shaft-val { background: var(--v10-loss); }
.v10-drill-target { position: absolute; left: 0; right: 0; height: 0; border-top: 2px dashed rgba(255,255,255,.75); z-index: 1; transition: top .3s; }
.v10-drill-target span { position: absolute; left: 8px; top: -26px; padding: 3px 8px; border-radius: 6px; background: rgba(255,255,255,.9); color: #0f212e; font-size: 12px; font-weight: 800; }

@keyframes v10-smoke { from { transform: translateY(20px) scale(.6); opacity: .9; } to { transform: translateY(-30px) scale(1.2); opacity: 0; } }

@media (max-width: 1100px) { .v10-plinko-hist { display: none; } }
@media (max-width: 760px) { .v10-bars-grid { grid-template-columns: repeat(5, 1fr); gap: 6px; } .v10-drill { grid-template-columns: 38px 1fr; } }
@media (max-width: 860px) {
  .v10-keno-grid { gap: 5px; }
  .v10-rtop { grid-template-columns: auto 1fr auto; }
  /* Phone: the table stands upright, three columns by twelve rows. */
  .v10-rnums { grid-template-columns: repeat(3, 1fr); grid-template-rows: none; }
  .v10-rcell { min-height: 34px; font-size: 13px; }
  .v10-rzero { grid-column: 1 / -1; grid-row: 1; }
  .v10-rnums > .v10-rcell:not(.v10-rzero) { grid-column: calc(3 - var(--r)); grid-row: calc(var(--c) + 2); }
  .v10-rdoz, .v10-routs { margin-left: 0; }
  .v10-bj-total { left: auto; right: calc(100% + 6px); }
  .v10-hilo-side { display: none; }
}

/* Shared multiplier ladder (Penalty) */
.v10-ladder { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; }
.v10-ladder span { padding: 7px 11px; border-radius: 6px; background: var(--v10-panel); font-weight: 800; font-size: 13px; color: var(--v10-muted); transition: background .25s, color .25s, transform .25s; }
.v10-ladder span.is-next { background: var(--v10-raise); color: var(--v10-text); box-shadow: inset 0 0 0 2px var(--v10-blue); }
.v10-ladder span.is-done { background: var(--v10-win); color: var(--v10-win-ink); }

/* Penalty Kicks — original stadium, keeper and ball art. */
.v10-pk { display: flex; flex-direction: column; align-items: center; gap: 14px; width: 100%; }
.v10-pk-world { position: relative; width: min(100%, 760px, calc((100vh - 330px) * 1.3333)); min-width: min(100%, 300px); aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: #082143; isolation: isolate; box-shadow: 0 18px 40px rgba(0,0,0,.35); }
.v10-pk-stadium { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; user-select: none; }
.v10-pk-flash { position: absolute; inset: 0; background: radial-gradient(circle at 50% 45%, #fff 0, rgba(255,255,255,0) 60%); opacity: 0; pointer-events: none; z-index: 1; }
.v10-pk-zones { position: absolute; left: 17.6%; top: 25.4%; width: 64.8%; height: 41.9%; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); z-index: 7; }
.v10-pk-zones button { position: relative; border: 0; background: transparent; padding: 0; cursor: pointer; opacity: 1 !important; }
.v10-pk-zones button:disabled { cursor: default; }
.v10-pk-zones i { position: absolute; left: 50%; top: 50%; width: 34%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%) scale(.6); border: 3px solid rgba(255,255,255,.9); box-shadow: 0 0 0 4px rgba(255,255,255,.12), 0 0 18px rgba(255,255,255,.35); opacity: 0; transition: opacity .2s, transform .25s var(--v10-ease), border-color .2s; }
.v10-pk-world.is-aiming .v10-pk-zones i { opacity: .55; transform: translate(-50%, -50%) scale(.85); animation: v10-pk-aim 1.6s ease-in-out infinite; }
.v10-pk-world.is-aiming .v10-pk-zones button:hover i { opacity: 1; transform: translate(-50%, -50%) scale(1.1); border-color: #ffd23f; animation: none; }
.v10-pk-zones button.is-goal i { opacity: 1; border-color: var(--v10-win); transform: translate(-50%, -50%) scale(1.25); animation: none; }
.v10-pk-zones button.is-save i { opacity: 1; border-color: var(--v10-loss); transform: translate(-50%, -50%) scale(1.25); animation: none; }
@keyframes v10-pk-aim { 50% { transform: translate(-50%, -50%) scale(.95); opacity: .8; } }
.v10-pk-ready { position: absolute; left: 50%; top: 53%; width: 36%; aspect-ratio: 1; transform: translate(-50%, -50%); z-index: 3; pointer-events: none; background: url("brokeprint-assets/penalty-sprites-v2.png") 0 50% / 300% 100% no-repeat; filter: url(#v10-pk-alpha); }
.v10-pk-pose { position: absolute; transform: translate(-50%, -50%); z-index: 4; pointer-events: none; overflow: hidden; opacity: 0; }
.v10-pk-ball { position: absolute; left: 50%; top: 87.6%; width: 13%; aspect-ratio: 1; transform: translate(-50%, -50%); z-index: 6; pointer-events: none; background: url("brokeprint-assets/penalty-sprites-v2.png") 100% 50% / 300% 100% no-repeat; clip-path: circle(35% at 50% 50%); }
.v10-pk-shadow { position: absolute; top: 89.5%; width: 7%; height: 1.5%; border-radius: 50%; background: #001629; pointer-events: none; z-index: 1; }
.v10-pk-trail { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 5; pointer-events: none; }
.v10-pk-trail path { fill: none; stroke: rgba(255,255,255,.55); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 2 14; }
.v10-pk-impact { position: absolute; width: 12%; aspect-ratio: 1; border-radius: 50%; border: 4px solid #fff; opacity: 0; z-index: 6; pointer-events: none; }
.v10-pk-call { position: absolute; left: 50%; top: 9%; transform: translate(-50%, -10px) scale(.6); padding: 8px 26px; border-radius: 999px; font-size: clamp(22px, 4vw, 40px); font-weight: 900; letter-spacing: .06em; opacity: 0; z-index: 8; pointer-events: none; transition: opacity .2s, transform .35s cubic-bezier(.2,1.6,.4,1); }
.v10-pk-call.is-goal { opacity: 1; transform: translate(-50%, 0) scale(1); background: var(--v10-win); color: var(--v10-win-ink); box-shadow: 0 0 40px rgba(0,231,1,.55); }
.v10-pk-call.is-save { opacity: 1; transform: translate(-50%, 0) scale(1); background: var(--v10-loss); color: #fff; box-shadow: 0 0 40px rgba(255,59,92,.5); }
.v10-pk-hint { position: absolute; left: 50%; top: 3%; transform: translate(-50%, -8px); padding: 6px 14px; border-radius: 999px; background: rgba(8,20,30,.8); font-size: 13px; font-weight: 800; color: #fff; opacity: 0; transition: opacity .25s, transform .25s; z-index: 8; pointer-events: none; backdrop-filter: blur(4px); }
.v10-pk-hint.is-on { opacity: 1; transform: translate(-50%, 0); }

/* Horse Racing */
.v10-runners { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.v10-runners button { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 8px; align-items: center; text-align: left; padding: 8px 10px; border-radius: 6px; border: 0; background: var(--v10-field); color: var(--v10-text); cursor: pointer; box-shadow: inset 0 0 0 2px transparent; transition: background .15s, box-shadow .15s, transform .15s; }
.v10-runners button:hover:not(:disabled) { background: var(--v10-raise); transform: translateY(-1px); }
.v10-runners button.is-on { box-shadow: inset 0 0 0 2px var(--silk); background: var(--v10-raise); }
.v10-runners i { grid-row: 1 / 3; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--silk); color: #0f212e; font-style: normal; font-weight: 900; font-size: 13px; }
.v10-runners span { font-size: 12px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v10-runners b { font-size: 12px; color: var(--v10-win); }
.v10-race { position: relative; width: min(100%, 860px); display: flex; flex-direction: column; border-radius: 12px; overflow: hidden; background: #0b6b3a; box-shadow: 0 18px 40px rgba(0,0,0,.35); }
.v10-race-crowd { height: 34px; background: repeating-linear-gradient(90deg, #17384c 0 10px, #1d4660 10px 20px), #17384c; box-shadow: inset 0 -6px 0 #f4f4f4, inset 0 -10px 0 #c62a3a; }
.v10-race.is-running .v10-race-crowd { animation: v10-crowd .5s steps(2) infinite; }
@keyframes v10-crowd { to { background-position: 10px 0; } }
.v10-race-track { position: relative; display: flex; flex-direction: column; background: repeating-linear-gradient(90deg, #2b8a4a 0 60px, #2f9550 60px 120px); }
.v10-race.is-running .v10-race-track { animation: v10-turf .35s linear infinite; }
@keyframes v10-turf { to { background-position: -120px 0; } }
.v10-hlane { position: relative; display: grid; grid-template-columns: 92px 1fr; align-items: center; height: clamp(46px, calc((100vh - 360px) / 6.6), 76px); border-bottom: 2px solid rgba(255,255,255,.55); }
.v10-hlane:last-child { border-bottom: 0; }
.v10-hlane.is-pick { background: linear-gradient(90deg, rgba(255,255,255,.18), rgba(255,255,255,.04)); }
.v10-hlane-gate { display: flex; align-items: center; gap: 6px; height: 100%; padding: 0 8px; background: rgba(8,30,20,.55); box-shadow: inset -4px 0 0 var(--silk); z-index: 2; }
.v10-hlane-gate i { flex: none; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--silk); color: #0f212e; font-style: normal; font-weight: 900; font-size: 12px; }
.v10-hlane-gate small { font-size: 11px; font-weight: 800; color: #fff; line-height: 1.1; }
.v10-hlane.is-pick .v10-hlane-gate small::after { content: "YOUR PICK"; display: block; font-size: 9px; letter-spacing: .08em; color: #ffd23f; }
.v10-hlane-run { position: relative; height: 100%; margin-right: 18px; }
.v10-horse { position: absolute; left: 0; top: 50%; height: 125%; aspect-ratio: 1.47; object-fit: contain; will-change: transform; filter: drop-shadow(0 6px 4px rgba(0,0,0,.3)); z-index: 3; transform: translateY(-54%); }
.v10-hlane-place { position: absolute; right: 4px; top: 50%; translate: 0 -50%; padding: 3px 8px; border-radius: 999px; font-style: normal; font-weight: 900; font-size: 12px; opacity: 0; transform: scale(.5); transition: opacity .25s, transform .35s cubic-bezier(.2,1.6,.4,1); z-index: 4; }
.v10-hlane-place.is-p1, .v10-hlane-place.is-p2, .v10-hlane-place.is-p3 { opacity: 1; transform: scale(1); }
.v10-hlane-place.is-p1 { background: #ffd23f; color: #3a2a00; } .v10-hlane-place.is-p2 { background: #dfe7ee; color: #1b2a35; } .v10-hlane-place.is-p3 { background: #d68a4a; color: #2c1503; }
.v10-race-finish { position: absolute; right: 18px; top: 0; bottom: 0; width: 10px; background: repeating-conic-gradient(#fff 0 25%, #111 0 50%) 0 0 / 10px 10px; z-index: 1; }
.v10-race-banner { color: #fff; position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%) scale(.6); display: flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 12px; background: rgba(10,22,30,.92); font-size: clamp(16px, 2.4vw, 24px); font-weight: 900; opacity: 0; pointer-events: none; z-index: 6; transition: opacity .25s, transform .4s cubic-bezier(.2,1.5,.4,1); backdrop-filter: blur(6px); }
.v10-race-banner.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.v10-race-banner b { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--silk); color: #0f212e; }
.v10-race-banner em { font-style: normal; padding: 3px 10px; border-radius: 999px; background: var(--v10-win); color: var(--v10-win-ink); }
.v10-race .v10-race-banner.is-loss, .v10-race .v10-race-banner.is-win { color: #fff; }
.v10-race-banner.is-win { box-shadow: 0 0 0 3px var(--v10-win), 0 0 50px rgba(0,231,1,.4); }

/* Slots */
.v10-slots { display: flex; gap: 22px; align-items: center; justify-content: center; width: 100%; flex-wrap: wrap; }
.v10-slots-cab { position: relative; padding: 26px 22px 22px; border-radius: 22px; background: linear-gradient(180deg, #2a4a63, #16303f); box-shadow: inset 0 2px 0 rgba(255,255,255,.12), 0 20px 50px rgba(0,0,0,.4), 0 0 0 4px #0b1a24; }
.v10-slots-lights { position: absolute; inset: 7px; display: grid; grid-template-columns: repeat(9, 1fr); align-content: space-between; pointer-events: none; }
.v10-slots-lights i { justify-self: center; width: 8px; height: 8px; border-radius: 50%; background: #ffd23f; opacity: .35; box-shadow: 0 0 8px #ffd23f; }
.v10-slots-cab.is-spinning .v10-slots-lights i { animation: v10-bulb .45s steps(2) infinite; }
.v10-slots-cab.is-spinning .v10-slots-lights i:nth-child(odd) { animation-delay: .22s; }
.v10-slots-cab.is-jackpot .v10-slots-lights i { animation: v10-bulb .18s steps(2) infinite; background: #00e701; box-shadow: 0 0 10px #00e701; }
@keyframes v10-bulb { 50% { opacity: 1; } }
.v10-slots-window { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; --cell: clamp(70px, calc((100vh - 380px) / 3), 118px); }
.v10-reel { position: relative; width: calc(var(--cell) * 1.08); height: calc(var(--cell) * 3); overflow: hidden; border-radius: 12px; background: linear-gradient(180deg, #c9d3db, #ffffff 30%, #ffffff 70%, #c9d3db); box-shadow: inset 0 10px 18px rgba(0,0,0,.35), inset 0 -10px 18px rgba(0,0,0,.35); }
.v10-reel-strip { display: flex; flex-direction: column; will-change: transform; }
.v10-sym { display: grid; place-items: center; height: var(--cell); flex: none; }
.v10-sym svg { width: 70%; height: 70%; filter: drop-shadow(0 3px 2px rgba(0,0,0,.25)); }
.v10-sym.is-lit { animation: v10-symlit .6s ease-in-out 3; }
.v10-sym.is-lit svg { filter: drop-shadow(0 0 10px rgba(255,210,63,.95)); }
@keyframes v10-symlit { 50% { transform: scale(1.18); } }
.v10-slots-line { position: absolute; left: -10px; right: -10px; top: 50%; height: 4px; margin-top: -2px; border-radius: 4px; background: rgba(255,59,92,.75); box-shadow: 0 0 10px rgba(255,59,92,.6); pointer-events: none; }
.v10-slots-win { position: absolute; left: 50%; bottom: -18px; transform: translate(-50%, 0) scale(.6); padding: 6px 18px; border-radius: 999px; background: var(--v10-raise); font-weight: 900; font-size: 18px; opacity: 0; transition: opacity .2s, transform .35s cubic-bezier(.2,1.6,.4,1); }
.v10-slots-win.is-on { opacity: 1; transform: translate(-50%, 0) scale(1); }
.v10-slots-win.is-win { background: var(--v10-win); color: var(--v10-win-ink); box-shadow: 0 0 30px rgba(0,231,1,.5); }
.v10-slots-pays { display: flex; flex-direction: column; gap: 4px; min-width: 190px; }
.v10-pay { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 10px; border-radius: 6px; background: var(--v10-panel); transition: background .2s, transform .2s; }
.v10-pay > span { display: flex; gap: 2px; --cell: 26px; }
.v10-pay .v10-sym { width: 26px; height: 26px; }
.v10-pay .v10-sym svg { width: 100%; height: 100%; filter: none; }
.v10-pay .v10-sym.is-any { font-size: 9px; font-weight: 800; color: var(--v10-muted); text-transform: uppercase; }
.v10-pay b { font-size: 13px; }
.v10-pay.is-hit { background: var(--v10-win); color: var(--v10-win-ink); transform: translateX(4px); }

/* Packs */
.v10-packs { display: flex; flex-direction: column; align-items: center; gap: 18px; width: 100%; }
.v10-pack-stage { position: relative; display: grid; place-items: center; height: clamp(120px, calc(100vh - 640px), 220px); }
.v10-pack { height: clamp(120px, calc(100vh - 640px), 220px); width: auto; max-width: 100%; object-fit: contain; filter: drop-shadow(0 16px 24px rgba(0,0,0,.45)); transition: transform .3s; }
.v10-pack.is-shake { animation: v10-pshake .35s ease-in-out; }
.v10-pack.is-tear { animation: v10-ptear .5s ease-out; }
.v10-pack.is-done { transform: translateY(8px) scale(.94); opacity: .85; }
@keyframes v10-pshake { 25% { transform: rotate(-5deg); } 75% { transform: rotate(5deg); } }
@keyframes v10-ptear { 40% { transform: scale(1.1) rotate(-3deg); } }
.v10-pack-total { position: absolute; left: calc(100% + 18px); top: 50%; transform: translateY(-50%) scale(.6); display: flex; flex-direction: column; align-items: flex-start; padding: 10px 16px; border-radius: 10px; background: var(--v10-panel); opacity: 0; transition: opacity .25s, transform .35s cubic-bezier(.2,1.5,.4,1); white-space: nowrap; }
.v10-pack-total.is-on { opacity: 1; transform: translateY(-50%) scale(1); }
.v10-pack-total small { font-size: 11px; color: var(--v10-muted); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.v10-pack-total b { font-size: 24px; }
.v10-pack-total.is-win b { color: var(--v10-win); }
.v10-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; width: min(100%, 640px); perspective: 900px; }
.v10-pcard { aspect-ratio: .7; }
.v10-pcard-in { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .55s cubic-bezier(.3,1.3,.5,1); }
.v10-pcard.is-up .v10-pcard-in { transform: rotateY(180deg); }
.v10-pcard-back, .v10-pcard-face { position: absolute; inset: 0; border-radius: 10px; backface-visibility: hidden; }
.v10-pcard-back { display: grid; place-items: center; background: repeating-linear-gradient(45deg, #24435a 0 8px, #1c374b 8px 16px); box-shadow: inset 0 0 0 3px #3b6584, 0 8px 16px rgba(0,0,0,.35); }
.v10-pcard-back img { width: 46%; opacity: .85; }
.v10-pcard-face { transform: rotateY(180deg); display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 10% 6%; background: linear-gradient(160deg, color-mix(in srgb, var(--c) 35%, #10222e), #0f212e 70%); box-shadow: inset 0 0 0 3px var(--c), 0 8px 18px rgba(0,0,0,.4); overflow: hidden; }
.v10-pcard-tier { font-size: clamp(9px, 1.2vw, 12px); font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--c); }
.v10-pcard-motif { font-size: clamp(26px, 4vw, 44px); line-height: 1; color: var(--c); text-shadow: 0 0 18px var(--c); }
.v10-pcard-mult { font-size: clamp(14px, 2vw, 20px); font-weight: 900; }
.v10-pcard-face small { font-size: 10px; color: var(--v10-muted); }
.v10-pcard:is([data-tier="epic"], [data-tier="legendary"], [data-tier="mythic"]).is-up .v10-pcard-face::after { content: ""; position: absolute; inset: -40%; background: conic-gradient(from 0deg, transparent 0 20%, rgba(255,255,255,.35) 25%, transparent 30% 70%, rgba(255,255,255,.35) 75%, transparent 80%); animation: v10-holo 2.4s linear infinite; mix-blend-mode: overlay; pointer-events: none; }
.v10-pcard:is([data-tier="legendary"], [data-tier="mythic"]).is-up { filter: drop-shadow(0 0 16px var(--c)); }
@keyframes v10-holo { to { transform: rotate(360deg); } }
.v10-pack-odds { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.v10-pack-odds span { display: flex; flex-direction: column; padding: 5px 10px; border-radius: 6px; background: var(--v10-panel); box-shadow: inset 3px 0 0 var(--c); }
.v10-pack-odds b { font-size: 12px; color: var(--c); } .v10-pack-odds small { font-size: 11px; color: var(--v10-muted); font-weight: 700; }

@media (max-width: 760px) {
  .v10-hlane { grid-template-columns: 64px 1fr; height: 46px; }
  .v10-hlane-gate small { font-size: 9px; }
  .v10-slots-window { --cell: 74px; }
  .v10-slots-pays { min-width: 0; width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
  .v10-pay { padding: 4px 6px; gap: 4px; min-width: 0; }
  .v10-pay > span { --cell: 18px; }
  .v10-pay .v10-sym { width: 18px; height: 18px; }
  .v10-pay .v10-sym.is-any { font-size: 7px; }
  .v10-pay b { font-size: 11px; }
  .v10-pack-stage { display: flex; flex-direction: column; height: auto; gap: 8px; }
  .v10-pack { height: 150px; }
  .v10-pack-total { position: static; transform: scale(.6); flex-direction: row; align-items: baseline; gap: 8px; padding: 6px 12px; }
  .v10-pack-total.is-on { transform: none; }
  .v10-pack-total b { font-size: 18px; }
  .v10-pcard-tier { font-size: 7px; letter-spacing: 0; }
  .v10-pcard-face small { font-size: 8px; }
  .v10-cards { gap: 6px; }
  .v10-pk-world { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .v10-race.is-running .v10-race-track, .v10-race.is-running .v10-race-crowd, .v10-slots-cab .v10-slots-lights i, .v10-pcard-face::after { animation: none !important; } }
