/* Casino - Stake-style theme. Everything is scoped under .sk so the rest of the site is untouched. */
.sk {
  /* Wondera palette (kc-theme.css): near-black + crimson, with the site's own win green */
  --sk-bg: #0d0507; --sk-side: #13070a; --sk-deep: #070304; --sk-line: #2a0f17; --sk-hover: #4a1a26; --sk-shadow: #170709;
  --sk-text: #f6eef0; --sk-muted: #b3969d; --sk-green: #22e08c; --sk-green-ink: #04140c; --sk-red: #ff2d4d; --sk-blue: #e11d48;
  --sk-accent: #e11d48; --sk-accent-hi: #ff2d5f;
  font-family: "Proxima Nova", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--sk-text); font-size: 14px; font-weight: 600;
}
.sk *, .sk *::before, .sk *::after { box-sizing: border-box; }
.sk button { font: inherit; cursor: pointer; }
.sk button:disabled { cursor: not-allowed; }
.sk .ico { width: 16px; height: 16px; flex: none; }
.sk-dim { color: var(--sk-muted); font-weight: 500; }

/* game picker */
.sk-lobby { display: flex; gap: 12px; overflow-x: auto; padding: 4px 2px 14px; scrollbar-width: thin; }
.sk-tile {
  flex: 0 0 112px; height: 150px; border: 0; border-radius: 10px; padding: 0; position: relative; overflow: hidden;
  background: linear-gradient(160deg, color-mix(in srgb, var(--tile) 92%, #fff) 0%, var(--tile) 45%, color-mix(in srgb, var(--tile) 55%, #000) 100%);
  color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,.35); transition: transform .15s ease, box-shadow .15s ease, filter .15s;
}
.sk-tile::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 70% at 50% 0%, rgba(255,255,255,.28), transparent 60%); pointer-events: none; }
.sk-tile:hover { transform: translateY(-4px); box-shadow: 0 10px 18px rgba(0,0,0,.45); }
.sk-tile.on { outline: 3px solid #fff; outline-offset: -3px; }
.sk-tile:not(.on) { filter: saturate(.85) brightness(.92); }
.sk-tile-art .ico { width: 46px; height: 46px; stroke-width: 1.6; filter: drop-shadow(0 3px 4px rgba(0,0,0,.35)); }
.sk-tile-name { font-weight: 800; font-size: 13px; letter-spacing: .02em; text-transform: uppercase; text-shadow: 0 2px 4px rgba(0,0,0,.4); }

/* frame: side panel + stage */
.sk-frame { display: grid; grid-template-columns: 320px 1fr; background: rgba(7,3,4,.88); border: 1px solid rgba(225,29,72,.16); border-bottom: 0; border-radius: 10px 10px 0 0; overflow: hidden; min-height: 560px; }
.sk-side { background: rgba(19,7,10,.92); border-right: 1px solid rgba(225,29,72,.12); padding: 12px; display: flex; flex-direction: column; gap: 12px; }
.sk-stage { position: relative; display: flex; align-items: center; justify-content: center; padding: 56px 24px 24px; min-width: 0; }
.sk-board { width: 100%; display: flex; justify-content: center; }
.sk-bar { display: flex; align-items: center; gap: 16px; background: rgba(7,3,4,.88); border: 1px solid rgba(225,29,72,.16); border-radius: 0 0 10px 10px; padding: 12px 16px; }
.sk-bar-title { font-weight: 800; font-size: 15px; }
.sk-bar-meta { color: var(--sk-muted); font-weight: 500; font-size: 13px; flex: 1; }
.sk-link { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; color: var(--sk-muted); font-weight: 600; padding: 6px 8px; border-radius: 4px; }
.sk-link:hover { color: #fff; background: var(--sk-side); }

/* tabs (Manual / Auto) */
.sk-tabs { display: flex; background: var(--sk-deep); border-radius: 999px; padding: 5px; gap: 4px; }
.sk-tabs button { flex: 1; border: 0; background: none; color: #fff; padding: 11px 0; border-radius: 999px; font-weight: 600; transition: background .15s; }
.sk-tabs button:hover:not(.on) { background: var(--sk-side); }
.sk-tabs button.on { background: var(--sk-accent); }

/* fields */
.sk-field { display: flex; flex-direction: column; gap: 4px; }
.sk-lab { display: flex; justify-content: space-between; color: var(--sk-muted); font-size: 13px; font-weight: 600; }
.sk-group { display: flex; align-items: stretch; background: var(--sk-line); border-radius: 4px; padding: 2px; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.sk-group input, .sk-group select {
  flex: 1; min-width: 0; background: var(--sk-deep); color: #fff; border: 2px solid var(--sk-line); border-radius: 4px;
  padding: 9px 10px; font: inherit; font-weight: 600; outline: none; transition: border-color .15s;
}
.sk-group select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #b3969d 50%), linear-gradient(135deg, #b3969d 50%, transparent 50%); background-position: calc(100% - 16px) 52%, calc(100% - 11px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 30px; }
.sk-group input:hover, .sk-group select:hover { border-color: var(--sk-hover); }
.sk-group input:focus, .sk-group select:focus { border-color: var(--sk-hover); }
.sk-group input[readonly] { color: #fff; }
.sk-group input::-webkit-outer-spin-button, .sk-group input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.sk-group input[type=number] { -moz-appearance: textfield; }
.sk-group > button { border: 0; background: none; color: #fff; padding: 0 14px; font-weight: 700; border-radius: 4px; }
.sk-group > button:hover:not(:disabled) { background: var(--sk-hover); }
.sk-group > button + button { position: relative; }
.sk-group > button + button::before { content: ""; position: absolute; left: 0; top: 25%; height: 50%; width: 2px; background: var(--sk-deep); }
.sk-group em { font-style: normal; color: var(--sk-muted); display: flex; align-items: center; padding: 0 10px; }
.sk-onx > button { font-size: 12px; padding: 0 10px; white-space: nowrap; }
.sk-onx > button.on { background: var(--sk-deep); }
.sk-onx input { max-width: 80px; }
.sk-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
#skCtl > .sk-btn, #skCtlAfter > .sk-btn { width: 100%; }
#skCtl, #skCtlAfter { display: flex; flex-direction: column; gap: 12px; }
#skCtl:empty, #skCtlAfter:empty { display: none; }
.sk-side :disabled { opacity: .5; }

/* buttons */
.sk-btn {
  border: 0; border-radius: 4px; padding: 14px; font-weight: 700; font-size: 14px; background: linear-gradient(180deg, var(--sk-accent-hi), var(--sk-accent)); color: #fff;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,.2), 0 2px 4px -1px rgba(0,0,0,.12); transition: background .15s, transform .05s;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.sk-btn:hover:not(:disabled) { background: var(--sk-accent-hi); box-shadow: 0 0 18px rgba(225,29,72,.45); }
.sk-btn:active:not(:disabled) { transform: scale(.98); }
.sk-btn.cash { background: var(--sk-green); color: var(--sk-green-ink); }
.sk-btn.stop { background: #2a0f17; color: #fff; box-shadow: inset 0 0 0 2px var(--sk-red); }
.sk-btn.ghost { background: var(--sk-line); color: #fff; }
.sk-btn.ghost:hover:not(:disabled) { background: var(--sk-hover); }
.sk-btn.ghost.on { background: var(--sk-hover); box-shadow: inset 0 0 0 2px #fff3; }
.sk-btn:disabled { opacity: .5; }

/* recent results + win popup */
.sk-recent { position: absolute; top: 14px; right: 16px; display: flex; gap: 6px; flex-direction: row-reverse; max-width: 70%; overflow: hidden; }
.sk-recent span { background: var(--sk-line); color: #fff; border-radius: 999px; padding: 7px 12px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.sk-recent span.win { background: var(--sk-green); color: var(--sk-green-ink); }
.sk-recent span.new { animation: sk-in .25s ease; }
@keyframes sk-in { from { transform: translateX(-12px) scale(.8); opacity: 0; } }
.sk-pop {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 5; min-width: 160px; text-align: center;
  background: var(--sk-side); border: 3px solid var(--sk-green); border-radius: 8px; padding: 18px 26px; pointer-events: none;
  box-shadow: 0 0 0 1px rgba(0,0,0,.2), 0 12px 30px rgba(0,0,0,.45);
}
.sk-pop.show { animation: sk-pop .3s cubic-bezier(.2,1.4,.4,1); }
@keyframes sk-pop { from { transform: translate(-50%, -50%) scale(.6); opacity: 0; } }
.sk-pop b { display: block; color: var(--sk-green); font-size: 30px; font-weight: 800; }
.sk-pop i { display: block; height: 2px; background: var(--sk-line); margin: 10px 0; }
.sk-pop span { color: var(--sk-green); font-weight: 700; }

/* fairness modal */
.sk-modal { position: fixed; inset: 0; z-index: 1000; background: rgba(5,10,14,.7); display: grid; place-items: center; padding: 16px; }
.sk-modal-box { font-family: "Proxima Nova", "Inter", system-ui, sans-serif; width: min(460px, 100%); background: #13070a; color: #f6eef0; border: 1px solid rgba(225,29,72,.3); border-radius: 10px; padding: 18px; display: grid; gap: 10px; font-weight: 600; }
.sk-modal-box .sk-dim { color: #b3969d; font-weight: 500; font-size: 13px; }
.sk-modal-box .sk-group { display: flex; background: #2a0f17; border-radius: 4px; padding: 2px; }
.sk-modal-box .sk-group input { flex: 1; background: #070304; color: #fff; border: 2px solid #2a0f17; border-radius: 4px; padding: 9px; font: inherit; }
.sk-modal-head { display: flex; justify-content: space-between; align-items: center; font-size: 16px; }
.sk-modal-head button { background: none; border: 0; color: #b3969d; font-size: 16px; cursor: pointer; }

/* ---------- dice ---------- */
.sk-dice { width: 100%; max-width: 760px; display: flex; flex-direction: column; gap: 56px; }
.sk-dice-slider { background: var(--sk-line); border-radius: 999px; padding: 24px 28px 26px; position: relative; }
.sk-dice-scale { position: absolute; left: 28px; right: 28px; top: -34px; display: flex; justify-content: space-between; font-weight: 700; }
.sk-dice-scale span { width: 0; display: flex; justify-content: center; position: relative; }
.sk-dice-scale span::after { content: ""; position: absolute; top: 24px; width: 0; height: 0; border: 6px solid transparent; border-bottom-color: var(--sk-line); }
.sk-dice-track { --t: 50%; position: relative; height: 8px; border-radius: 999px; background: linear-gradient(90deg, var(--sk-red) var(--t), var(--sk-green) var(--t)); }
.sk-dice-track.under { background: linear-gradient(90deg, var(--sk-green) var(--t), var(--sk-red) var(--t)); }
.sk-dice-track input[type=range] { position: absolute; left: 0; right: 0; top: 50%; width: 100%; height: 8px; margin: 0; transform: translateY(-50%); -webkit-appearance: none; appearance: none; background: transparent; cursor: pointer; }
.sk-dice-track input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 40px; height: 40px; border-radius: 4px; background: var(--sk-blue) linear-gradient(90deg, transparent 13px, #fff4 13px 15px, transparent 15px 19px, #fff4 19px 21px, transparent 21px 25px, #fff4 25px 27px, transparent 27px); box-shadow: 0 2px 6px rgba(0,0,0,.4); }
.sk-dice-track input[type=range]::-moz-range-thumb { width: 40px; height: 40px; border: 0; border-radius: 4px; background: var(--sk-blue); box-shadow: 0 2px 6px rgba(0,0,0,.4); }
.sk-dice-res { position: absolute; bottom: 30px; transform: translateX(-50%); transition: left .35s cubic-bezier(.2,.8,.2,1); pointer-events: none; z-index: 2; }
.sk-dice-res span { display: grid; place-items: center; width: 64px; height: 56px; color: var(--sk-red); font-weight: 800; font-size: 15px; background: #fff; clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); }
.sk-dice-res.win span { color: #12b56e; }
.sk-dice-res.bump span { animation: sk-bump .35s ease; }
@keyframes sk-bump { 50% { transform: scale(1.12) translateY(-4px); } }
.sk-dice-fields { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; background: var(--sk-side); border-radius: 6px; padding: 14px; }
.sk-flipdir { flex: 1; display: flex !important; align-items: center; justify-content: space-between; background: var(--sk-deep) !important; border: 2px solid var(--sk-line) !important; padding: 9px 10px !important; color: #fff; }
.sk-flipdir:hover { border-color: var(--sk-hover) !important; }

/* ---------- plinko ---------- */
/* sized by the window height too, so the buckets never end up below the fold */
.sk-plinko { width: 100%; max-width: min(620px, calc((100vh - 300px) * 1.15)); min-width: 280px; }
.sk-plinko-field { position: relative; width: 100%; aspect-ratio: 1 / .78; }
.sk-peg { position: absolute; width: calc(var(--sp, 10) * .22%); aspect-ratio: 1; min-width: 5px; transform: translate(-50%, -50%); border-radius: 50%; background: #fff; box-shadow: 0 0 6px rgba(255,255,255,.35); }
/* one ball size for every row count (the 16-row size, 0.62 of an 18-column spacing) */
.sk-ball { position: absolute; width: 3.45%; aspect-ratio: 1; min-width: 10px; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ff8aa8, #ff003f 60%, #b0002c); box-shadow: 0 2px 6px rgba(0,0,0,.4); z-index: 3; }
.sk-plinko-buckets { display: grid; grid-template-columns: repeat(9, 1fr); gap: 3px; padding: 0 5%; margin-top: 6px; }
.sk-plinko-buckets span { background: var(--b); color: #000; border-radius: 4px; text-align: center; font-size: var(--fz, 12px); letter-spacing: -.02em; overflow: hidden; white-space: nowrap; font-weight: 800; padding: 9px 0; box-shadow: 0 4px 0 var(--bs); transition: transform .1s; }
.sk-plinko-buckets span.hit { animation: sk-bucket .35s ease; }
@keyframes sk-bucket { 40% { transform: translateY(6px); box-shadow: 0 0 0 var(--bs); } }

/* ---------- mines ---------- */
.sk-mines { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; width: 100%; max-width: 560px; }
.sk-tile-m {
  aspect-ratio: 1; border: 0; border-radius: 8px; background: var(--sk-line); box-shadow: 0 5px 0 var(--sk-shadow); padding: 18%;
  display: grid; place-items: center; transition: transform .12s, background .12s, box-shadow .12s;
}
.sk-tile-m:not(:disabled):not(.open):hover { background: var(--sk-hover); transform: translateY(-3px); box-shadow: 0 8px 0 var(--sk-shadow); }
.sk-tile-m:disabled:not(.open) { opacity: 1; cursor: default; }
.sk-tile-m.wait { animation: sk-wait .5s ease infinite alternate; }
@keyframes sk-wait { to { background: var(--sk-hover); } }
.sk-tile-m.open { background: var(--sk-deep); box-shadow: inset 0 0 0 2px var(--sk-shadow); transform: none; animation: sk-open .25s ease; }
.sk-tile-m.open.dim svg { opacity: .35; transform: scale(.8); }
.sk-tile-m.boom { background: #3a0d16; box-shadow: inset 0 0 0 2px var(--sk-red); }
@keyframes sk-open { from { transform: scale(.85); } }
.sk-gem, .sk-bomb { width: 100%; height: 100%; }
.sk-tile-m.open:not(.dim) .sk-gem { filter: drop-shadow(0 0 10px rgba(0,231,1,.55)); }

/* ---------- keno ---------- */
.sk-keno { width: 100%; max-width: 680px; display: flex; flex-direction: column; gap: 18px; }
.sk-keno-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; }
.sk-keno-grid button {
  aspect-ratio: 1; border: 0; border-radius: 8px; background: var(--sk-line); color: #fff; font-weight: 800; font-size: 16px;
  box-shadow: 0 4px 0 var(--sk-shadow); position: relative; display: grid; place-items: center; transition: transform .1s, background .1s;
}
.sk-keno-grid button:hover { background: var(--sk-hover); transform: translateY(-2px); }
.sk-keno-grid button.pick { background: var(--sk-accent); box-shadow: 0 4px 0 #881337; }
.sk-keno-grid button.hit { background: var(--sk-green); box-shadow: 0 4px 0 #12a865; color: var(--sk-green-ink); animation: sk-open .25s ease; }
.sk-keno-grid button.hit .sk-gem { position: absolute; inset: 14%; width: 72%; height: 72%; opacity: .35; filter: brightness(0); }
.sk-keno-grid button.hit span { position: relative; }
.sk-keno-grid button.miss { background: var(--sk-deep); box-shadow: inset 0 0 0 2px var(--sk-shadow); color: var(--sk-red); animation: sk-open .25s ease; }
.sk-keno-pay { display: grid; gap: 8px; }
.sk-keno-mults, .sk-keno-hits { display: flex; gap: 6px; }
.sk-keno-mults span, .sk-keno-hits span { flex: 1; text-align: center; border-radius: 4px; padding: 8px 2px; font-size: 12px; font-weight: 700; }
.sk-keno-mults span { background: var(--sk-side); }
.sk-keno-hits span { background: var(--sk-line); color: var(--sk-muted); display: flex; align-items: center; justify-content: center; gap: 3px; }
.sk-keno-hits .sk-gem { width: 14px; height: 14px; }
.sk-keno-mults span.on, .sk-keno-hits span.on { background: var(--sk-green); color: var(--sk-green-ink); }
.sk-keno-empty { background: var(--sk-side); border-radius: 4px; padding: 12px; text-align: center; color: var(--sk-muted); }

/* ---------- blackjack (Stake Originals look) ---------- */
.sk-bj-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sk-bj-actions .sk-btn { padding: 12px 8px; }
.sk-bj-ic { display: inline-flex; font-size: 14px; }
.sk-bj { position: relative; width: 100%; max-width: 760px; min-height: 520px; display: grid; grid-template-rows: 1fr auto 1fr; align-items: center; justify-items: center; gap: 20px; }
.sk-shoe { position: absolute; top: 28px; right: 8px; width: 84px; height: 54px; }
.sk-shoe i { position: absolute; inset: 0; border-radius: 6px; background: var(--sk-blue); border: 3px solid #fff; box-shadow: 0 2px 4px rgba(0,0,0,.4); }
.sk-shoe i:nth-child(2) { transform: translate(-3px, 3px); }
.sk-shoe i:nth-child(3) { transform: translate(-6px, 6px); }
.sk-hand { position: relative; min-height: 150px; min-width: 120px; }
.sk-cards { --cw: 104px; --ch: 150px; --dx: 50px; --dy: 18px; position: relative; width: calc(var(--cw) + (var(--n, 1) - 1) * var(--dx)); height: calc(var(--ch) + (var(--n, 1) - 1) * var(--dy)); }
.sk-card {
  position: absolute; left: calc(var(--i) * var(--dx)); top: calc(var(--i) * var(--dy)); width: var(--cw); height: var(--ch);
  background: #fff; border-radius: 6px; box-shadow: 0 2px 6px rgba(0,0,0,.4); color: #1a0a0e;
  display: flex; flex-direction: column; align-items: flex-start; padding: 8px 12px; backface-visibility: hidden;
}
.sk-card b { font-size: 40px; line-height: 1; font-weight: 700; letter-spacing: -.06em; }
.sk-card i { font-style: normal; font-size: 40px; line-height: 1.1; }
.sk-card.red { color: #e9113c; }
.sk-card.back { background: var(--sk-blue); border: 4px solid #fff; padding: 0; }
.sk-card.back::after { content: ""; position: absolute; inset: 22% 26%; border: 2px solid #fff; transform: skewY(-28deg); border-radius: 2px; opacity: .9; }
.sk-hand .sk-total { position: absolute; top: -14px; right: -46px; background: var(--sk-line); color: #fff; font-size: 12px; font-weight: 800; padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
.sk-hand .sk-total:empty { display: none; }
.sk-hand .sk-total.win { background: var(--sk-green); color: var(--sk-green-ink); }
.sk-hand .sk-total.lose { background: var(--sk-red); }
.sk-hand .sk-total.push { background: #ffb400; color: #1a0a0e; }
#bjP:has(.sk-total.win) .sk-card { box-shadow: 0 0 0 3px var(--sk-green), 0 2px 6px rgba(0,0,0,.4); }
#bjP:has(.sk-total.lose) .sk-card { box-shadow: 0 0 0 3px var(--sk-red), 0 2px 6px rgba(0,0,0,.4); }
#bjP:has(.sk-total.push) .sk-card { box-shadow: 0 0 0 3px #ffb400, 0 2px 6px rgba(0,0,0,.4); }
.sk-bj-mid { position: relative; display: grid; place-items: center; min-height: 92px; width: 100%; }
.sk-ins { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%); z-index: 4; width: min(380px, 92%); display: grid; gap: 10px; text-align: center; background: var(--sk-side); border: 1px solid rgba(225,29,72,.45); border-radius: 10px; padding: 16px; box-shadow: 0 14px 34px rgba(0,0,0,.6); }
.sk-ins b { font-size: 18px; }
.sk-ins > span { color: var(--sk-muted); font-weight: 500; font-size: 13px; line-height: 1.4; }
.sk-ins .sk-btn { width: 100%; padding: 12px 8px; }
.sk-bj-rules { position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: center; gap: 10px; color: #6b3a45; font-weight: 800; letter-spacing: .04em; font-size: 15px; }
.sk-ribbon { position: relative; background: var(--sk-shadow); color: #8a5a66; padding: 10px 40px; border-radius: 2px; }
.sk-ribbon::before, .sk-ribbon::after { content: ""; position: absolute; top: 8px; width: 34px; height: 100%; background: #1f0a10; z-index: -1; }
.sk-ribbon::before { left: -26px; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 30% 50%); }
.sk-ribbon::after { right: -26px; clip-path: polygon(0 0, 100% 0, 70% 50%, 100% 100%, 0 100%); }
.sk-bj-rules > span { color: #8a5a66; }

/* ---------- pump ---------- */
.sk-pump { width: 100%; max-width: 680px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.sk-pump-mult { font-size: 42px; font-weight: 800; }
.sk-pump-mult.up { color: var(--sk-green); }
.sk-pump-mult.lose { color: var(--sk-red); }
.sk-balloon-wrap { height: 290px; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; }
.sk-balloon { --s: 1; width: 120px; height: 140px; border-radius: 50% 50% 48% 48% / 56% 56% 44% 44%; background: radial-gradient(circle at 34% 28%, #ffc4a3, #ff6b00 45%, #c74400); transform: scale(var(--s)); transform-origin: 50% 100%; transition: transform .25s cubic-bezier(.2,1.4,.4,1); position: relative; margin-bottom: 6px; box-shadow: inset -8px -10px 20px rgba(0,0,0,.18); }
.sk-balloon::after { content: ""; position: absolute; left: 50%; bottom: -8px; border: 8px solid transparent; border-top-color: #c74400; transform: translateX(-50%); }
.sk-balloon.puff { animation: sk-puff .25s ease; }
@keyframes sk-puff { 50% { filter: brightness(1.15); } }
.sk-balloon.popped { animation: sk-burst .35s ease forwards; }
@keyframes sk-burst { 60% { transform: scale(calc(var(--s) * 1.3)); opacity: .8; } to { transform: scale(0); opacity: 0; } }
.sk-pumper { width: 70px; height: 70px; background: linear-gradient(#2a0f17, var(--sk-shadow)); border-radius: 8px 8px 4px 4px; box-shadow: 0 4px 0 #0d0406; }
.sk-ladder { display: flex; gap: 6px; overflow-x: auto; max-width: 100%; padding-bottom: 4px; scrollbar-width: thin; }
.sk-ladder span { flex: none; background: var(--sk-line); border-radius: 4px; padding: 8px 10px; font-size: 12px; font-weight: 700; color: var(--sk-muted); }
.sk-ladder span.done { background: var(--sk-green); color: var(--sk-green-ink); }
.sk-ladder span.next { background: var(--sk-hover); color: #fff; }

/* ---------- darts ---------- */
.sk-dart { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.sk-dart-board { position: relative; width: min(360px, 80vw); aspect-ratio: 1; filter: drop-shadow(0 8px 18px rgba(0,0,0,.45)); }
.sk-dart-board svg { width: 100%; height: 100%; }
.sk-dart-hit { position: absolute; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; background: #fff; border: 4px solid var(--sk-deep); opacity: 0; }
.sk-dart-hit.show { opacity: 1; animation: sk-dart .35s cubic-bezier(.2,1.5,.4,1); }
@keyframes sk-dart { from { transform: scale(3); opacity: 0; } }
.sk-dart-legend { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.sk-dart-legend span { display: flex; flex-direction: column; align-items: center; min-width: 74px; background: var(--sk-side); border-bottom: 4px solid var(--c); border-radius: 4px; padding: 8px 10px; }
.sk-dart-legend i { font-style: normal; color: var(--sk-muted); font-size: 12px; }

/* ---------- flip ---------- */
.sk-flip { perspective: 900px; padding: 30px; }
.sk-coin { width: 200px; height: 200px; position: relative; transform-style: preserve-3d; }
.sk-coin i { position: absolute; inset: 0; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 900; font-size: 72px; backface-visibility: hidden; box-shadow: inset 0 0 0 12px rgba(0,0,0,.12), 0 10px 24px rgba(0,0,0,.45); }
.sk-coin .h { background: radial-gradient(circle at 35% 30%, #ffe08a, #f5a524 60%, #c27800); color: #8a5200; }
.sk-coin .t { background: radial-gradient(circle at 35% 30%, #c9d6e3, #8ea3b8 60%, #5d7389); color: #3b4f63; transform: rotateY(180deg); }

/* ---------- slots ---------- */
.sk-slots { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.sk-reels { display: flex; gap: 10px; background: var(--sk-side); padding: 14px; border-radius: 10px; box-shadow: inset 0 0 0 2px var(--sk-line); }
.sk-reel { width: 120px; height: 130px; overflow: hidden; background: var(--sk-deep); border-radius: 6px; box-shadow: inset 0 10px 14px -8px #000, inset 0 -10px 14px -8px #000; }
.sk-strip { display: flex; flex-direction: column; }
.sk-strip span { height: 130px; flex: none; display: grid; place-items: center; font-size: 64px; }
.sk-paytable { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; max-width: 560px; }
.sk-paytable span { background: var(--sk-side); border-radius: 4px; padding: 6px 10px; font-size: 14px; display: flex; gap: 8px; align-items: center; }
.sk-paytable b { color: var(--sk-green); font-size: 12px; }

/* ---------- mobile: stage on top, controls below (like Stake) ---------- */
@media (max-width: 900px) {
  .sk-frame { grid-template-columns: 1fr; }
  .sk-stage { order: -1; padding: 52px 12px 16px; min-height: 360px; }
  .sk-bar-meta { display: none; }
  .sk-dice { gap: 40px; }
  .sk-dice-fields { grid-template-columns: 1fr; }
  .sk-mines { gap: 8px; }
  .sk-keno-grid { gap: 6px; }
  .sk-keno-grid button { font-size: 13px; }
  .sk-cards { --cw: 74px; --ch: 106px; --dx: 36px; --dy: 12px; }
  .sk-card { padding: 6px 8px; }
  .sk-card b, .sk-card i { font-size: 28px; }
  .sk-bj { min-height: 330px; gap: 12px; }
  .sk-bj-rules { font-size: 12px; }
  .sk-reel { width: 84px; height: 96px; }
  .sk-strip span { height: 96px; font-size: 44px; }
  .sk-coin { width: 150px; height: 150px; }
  .sk-tile { flex-basis: 92px; height: 120px; }
}
