/* Live Stats panel + Continue playing */
.ls-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 38px; min-width: 38px; padding: 0 12px; border-radius: 10px; border: 0; background: var(--bg-2, #2f4553); color: var(--text, #fff); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; transition: background .15s ease, transform .15s ease; }
.ls-btn:hover { background: var(--bg-3, #3d5565); }
.ls-btn svg { width: 17px; height: 17px; flex: none; }
.ls-btn.ls-bar-btn { height: 34px; min-width: 34px; padding: 0 9px; }
.page-head .ls-head-btn { margin-left: auto; align-self: flex-end; }
html.ls-open .ls-btn { background: var(--ice-bg, rgba(100, 210, 255, .12)); color: var(--ice, #64D2FF); box-shadow: inset 0 0 0 1px var(--ice-border, rgba(100, 210, 255, .35)); }

.ls-panel { position: fixed; right: 20px; bottom: 20px; z-index: 900; width: 300px; max-height: calc(100vh - 40px); display: flex; flex-direction: column; background: var(--bg-1, #1a2c38); border-radius: 14px; box-shadow: 0 18px 50px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .06); overflow: hidden; animation: lsIn .16s ease-out; }
.ls-panel[hidden] { display: none; }
.ls-panel.moving { opacity: .92; user-select: none; }
@keyframes lsIn { from { opacity: 0; transform: translateY(8px) scale(.98); } }
.ls-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; cursor: grab; touch-action: none; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.ls-panel.moving .ls-head { cursor: grabbing; }
.ls-ttl { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 14.5px; }
.ls-ttl svg { width: 18px; height: 18px; color: var(--ice, #64D2FF); }
.ls-x { width: 28px; height: 28px; border: 0; border-radius: 8px; background: transparent; color: var(--text-2, #b1bad3); font-size: 22px; line-height: 1; cursor: pointer; }
.ls-x:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.ls-body { padding: 14px; display: grid; gap: 12px; overflow-y: auto; }
.ls-bar { display: flex; gap: 8px; }
.ls-sel { flex: 1; min-width: 0; }
.ls-sel select { width: 100%; height: 38px; padding: 0 12px; border: 0; border-radius: 10px; background: var(--bg-2, #2f4553); color: var(--text, #fff); font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.ls-ref { width: 38px; height: 38px; border: 0; border-radius: 10px; background: var(--bg-2, #2f4553); color: var(--text-2, #b1bad3); cursor: pointer; display: grid; place-items: center; }
.ls-ref:hover { color: #fff; background: var(--bg-3, #3d5565); }
.ls-ref svg { width: 16px; height: 16px; }
.ls-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255, 255, 255, .06); border-radius: 10px; overflow: hidden; }
.ls-cell { background: var(--bg-0, #0f212e); padding: 10px 12px; display: grid; gap: 3px; min-width: 0; }
.ls-cell span { font-size: 11.5px; color: var(--text-2, #b1bad3); font-weight: 600; }
.ls-cell b { font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ls-cell b.pos, .ls-cell b.pos { color: var(--green, #00E701); }
.ls-cell b.neg { color: var(--red, #ff4d6a); }
.ls-chart { background: var(--bg-0, #0f212e); border-radius: 10px; height: 134px; display: grid; place-items: center; padding: 4px; }
.ls-svg { width: 100%; height: 100%; display: block; }
.ls-zero { stroke: rgba(255, 255, 255, .18); stroke-width: 1; stroke-dasharray: 3 4; vector-effect: non-scaling-stroke; }
.ls-line { fill: none; stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.ls-line.up { stroke: var(--green, #00E701); } .ls-line.dn { stroke: var(--red, #ff4d6a); }
.ls-fill.up { fill: rgba(0, 231, 1, .13); } .ls-fill.dn { fill: rgba(255, 77, 106, .15); }
.ls-none { color: var(--text-2, #b1bad3); font-size: 12.5px; text-align: center; padding: 0 18px; }
.ls-empty { text-align: center; display: grid; gap: 12px; padding: 10px 0; color: var(--text-2, #b1bad3); font-size: 13.5px; }
.ls-empty p { margin: 0; }
@media (max-width: 700px) {
    .ls-panel { left: 8px !important; right: 8px !important; top: auto !important; bottom: 8px !important; width: auto; max-height: 70vh; }
    .page-head .ls-head-btn { align-self: flex-start; margin-left: 0; }
}

/* Continue playing */
.cp-box { margin-bottom: 28px; }
.cp-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); grid-auto-rows: 0; grid-template-rows: auto; gap: 12px; overflow: hidden; padding: 4px 2px 6px; }
.cp-row > .cp-card { min-width: 0; }
.cp-card {  display: grid; gap: 4px; color: inherit; text-decoration: none; scroll-snap-align: start; transition: transform .18s ease; }
.cp-card:hover { transform: translateY(-3px); }
.cp-img { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: 12px; overflow: hidden; background: var(--bg-1, #1a2c38); box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .55); }
.cp-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.cp-ph { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 800; font-size: 22px; letter-spacing: .04em; color: var(--text-2, #b1bad3); background: linear-gradient(160deg, var(--bg-2, #2f4553), var(--bg-1, #1a2c38)); }
.cp-t { font-size: 13px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cp-s { font-size: 11.5px; color: var(--text-2, #b1bad3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 700px) { .cp-row { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); } }

/* Live casino category chips */
.lv-cats { display: flex; flex-wrap: wrap; gap: 8px; margin: -6px 0 20px; }
.lv-chip { appearance: none; border: 1px solid var(--line, rgba(255,255,255,.1)); background: var(--bg-2, #213743); color: var(--text-2, #b1bad3); font: inherit; font-size: 13px; font-weight: 700; padding: 8px 14px; border-radius: 999px; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.lv-chip i { font-style: normal; opacity: .6; font-weight: 600; margin-left: 4px; }
.lv-chip:hover { color: var(--text, #fff); }
.lv-chip.on { background: var(--accent, #64d2ff); border-color: var(--accent, #64d2ff); color: #04141c; }
.lv-chip.on i { opacity: .7; }
