/* Duel-faithful pass: darker navy, flat surfaces, segmented nav, live bets table */
:root { --bg: #0c1229; --panel: #151e3e; --panel2: #1a254a; --acc: #3d5afe; --tb: #121a35; --tr: #182245; --mute: #7f89bd; }
html, body, #app { background: var(--bg) !important; }
#top { background: var(--bg); border-bottom: 0; padding-bottom: 8px; }
.bal { background: #172043; border-radius: 10px; height: 40px; }
.icon-btn { border-radius: 10px; background: #172043; }
.lb-tools { padding: 14px 16px 2px; gap: 12px; }
.cats { background: #151e3e; padding: 5px; border-radius: 12px; gap: 2px; }
.cats button { background: none !important; color: #8f98cf; border-radius: 9px; padding: 9px 14px; font-size: 13px; font-weight: 700; }
.cats button.on { background: #454958 !important; color: #fff; }
.searchbox { background: #151e3e; border-radius: 12px; height: 46px; }
.rs-h h2 { font-size: 18px; } .rs-h button { background: #172043; color: #aab3e6; border-radius: 8px; }
.poster { width: 142px; border-radius: 10px; background: var(--c1); }
.poster::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,.12), transparent 40%, rgba(0,0,0,.25)); }
.poster .art { top: 8%; } .poster .art svg { width: 88%; filter: none; }
.poster .pl { background: linear-gradient(transparent, rgba(6,9,28,.85)); padding-top: 34px; } .poster .pl b { font-size: 15.5px; }
.rtp { background: rgba(6,9,28,.5); color: #3fe3a0; border-radius: 5px; }
.pgrid { grid-template-columns: repeat(3, 1fr); } .pgrid .poster { width: auto; }
.bonus { background: #151e3e; border-radius: 12px; margin-top: 14px; }
.panel, .stage { background: #131b37; border: 0; border-radius: 12px; }
.stat { background: #0f152d; }
.bet { background: #0f152d; border: 0; } .quick button { background: #172144; }
.seg { background: #0f152d; } .btn.ghost { background: #1a254a; }
#tabs { background: #0c1229; border-top: 1px solid #172043; }
.lb-row { background: #151e3e; } .pod { background: #151e3e; } .pod.p1 { background: #1a2651; }

/* live bets */
.lbslot { padding: 22px 16px 0; }
.lbt-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.lbt-tabs { display: flex; background: #151e3e; border-radius: 10px; padding: 4px; }
.lbt-tabs button { padding: 8px 14px; border-radius: 8px; font-size: 13px; font-weight: 700; color: #7f89bd; } .lbt-tabs button.on { background: #454958; color: #fff; }
.lbt-live { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; cursor: pointer; } .lbt-live i { width: 7px; height: 7px; border-radius: 50%; background: #2fe08f; box-shadow: 0 0 8px #2fe08f; }
.sw { width: 40px; height: 24px; border-radius: 12px; background: #454958; position: relative; transition: .2s; } .sw b { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: .2s; } .sw.on { background: #3d5afe; } .sw.on b { left: 19px; }
.lbt-table { background: var(--tb); border-radius: 12px; padding: 4px 0 6px; }
.lbt-head, .lbt-row { display: grid; grid-template-columns: 1.5fr 1.1fr 1fr .6fr 1fr; align-items: center; padding: 0 14px; gap: 8px; }
.lbt-head { height: 44px; font-size: 12.5px; color: #6f79ad; font-weight: 600; }
.lbt-row { height: 46px; background: var(--tr); margin: 0 0 2px; font-size: 13px; font-weight: 700; color: #fff; }
.lbt-row.new { animation: rowin .35s ease; } @keyframes rowin { from { opacity: 0; transform: translateY(-14px); background: #4c5264; } }
.lbt-row .g { display: flex; align-items: center; gap: 8px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .lbt-row .g i { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; flex: none; overflow: hidden; } .lbt-row .g i svg { width: 18px; height: 18px; }
.lbt-row .p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.r { text-align: right; } .lbt-row .r { display: flex; justify-content: flex-end; align-items: center; gap: 5px; color: #8892c6; }
.lbt-row .r.w, .lbt-row .pay.w { color: #fff; } .lbt-row .m.w { color: #3fe3a0; }
.chipc { width: 13px; height: 13px; border-radius: 50%; background: #ffc83d; display: inline-block; flex: none; }
.lbt-row .id, .lbt-head .id { display: none; }
.lbt-empty { padding: 28px; text-align: center; color: #6f79ad; font-size: 13px; }
@media (min-width: 520px) { .lbt-head, .lbt-row { grid-template-columns: 1.5fr 1.1fr 1fr .6fr 1fr 1fr; } .lbt-row .id, .lbt-head .id { display: flex; } .lbt-head .id { display: block; } }

/* illustrated posters: art fills the card */
.poster .art { inset: 0; top: 0 !important; display: block; }
.poster .art svg { width: 100% !important; height: 100% !important; filter: none !important; }
.poster:hover .art svg { transform: none; }
.poster::before { background: linear-gradient(180deg, rgba(255,255,255,.08), transparent 35%, rgba(0,0,0,.18)); z-index: 1; pointer-events: none; }
.poster .pl, .rtp, .ptag { z-index: 2; }
.poster .pl { padding-top: 40px; background: linear-gradient(transparent, rgba(8,8,32,.92) 80%); }

/* wallet dropdown + coin icons */
.bal-ico { background: none !important; width: auto !important; height: auto !important; border-radius: 0 !important; display: grid; } .bal-ico::after { display: none !important; }
.bal { gap: 8px; padding: 0 10px 0 8px; } .bal .chev { color: #8f98cf; }
.cn { display: block; flex: none; }
.ticker[hidden] { display: none !important; } .ticker { border-bottom: 0; }
.wd { position: fixed; z-index: 95; top: calc(58px + env(safe-area-inset-top, 0px)); right: max(12px, calc(50% - 280px + 12px)); width: 300px; max-width: calc(100vw - 24px); background: #1a2344; border-radius: 12px; box-shadow: 0 18px 50px rgba(0,0,0,.6); overflow: hidden; animation: rowin .2s ease; }
.wd[hidden] { display: none; }
.wd-top { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid #101936; } .wd-top small { display: block; color: #7f89bd; font-size: 12px; font-weight: 600; } .wd-top b { font-size: 17px; font-weight: 800; color: #fff; }
.wd-claim { padding: 10px 22px; border-radius: 8px; background: var(--acc); color: #fff; font-weight: 700; } .wd-claim:disabled { background: #454958; color: #6f79ad; }
.wd-list { max-height: 330px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #3a4390 transparent; }
.wd-row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 16px; text-align: left; font-size: 14px; color: #fff; } .wd-row:hover, .wd-row.on { background: #212d57; } .wd-row .wd-n { flex: 1; color: #98a1d4; } .wd-row .wd-n b { color: #fff; font-weight: 700; margin-right: 4px; } .wd-v { color: #8f98cf; font-weight: 700; }
.wd-foot { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 15px; border-top: 1px solid #101936; background: #172043; color: #aab3e6; font-weight: 700; }
.lbt-row .r .cn { margin-right: 0; }
.bj-bet .cn { flex: none; }

/* wallet settings modal */
.ws-ov { position: fixed; inset: 0; z-index: 120; background: rgba(4,6,22,.7); display: grid; place-items: center; padding: 16px; animation: fin .2s; }
.ws { width: 100%; max-width: 420px; background: #1b2446; border-radius: 14px; padding: 22px 22px 24px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.ws-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; } .ws-h b { font-size: 21px; font-weight: 800; letter-spacing: -.02em; } .ws-x { color: #8f98cf; }
.ws-t { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 14.5px; margin-bottom: 16px; cursor: pointer; }
.ws .sw { width: 44px; height: 26px; border-radius: 13px; background: #101936; position: relative; flex: none; } .ws .sw b { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #8f98cf; transition: .2s; } .ws .sw.on { background: #3d5afe; } .ws .sw.on b { left: 21px; background: #fff; }
.ws-sel { position: relative; margin: 22px 0; }
.ws-cur { display: flex; align-items: center; gap: 10px; width: 100%; height: 52px; padding: 0 16px; border-radius: 10px; background: #101936; font-weight: 800; } .ws-cur .chev { margin-left: auto; color: #8f98cf; }
.ws-list { position: absolute; z-index: 3; left: 0; right: 0; top: 56px; max-height: 240px; overflow-y: auto; background: #525764; border-radius: 10px; box-shadow: 0 16px 40px rgba(0,0,0,.5); } .ws-list[hidden] { display: none; }
.ws-list button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 13px 16px; font-weight: 700; } .ws-list button:hover { background: #3f487f; }
.fi { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 800; color: #fff; flex: none; }
.ws-save { width: 100%; }

/* no screen shake anywhere (except the little hands in RPS) */
.shake:not(.rh):not(.rps-hand) { animation: none !important; }

/* no green RTP labels inside games */
.g-head .sub { display: none; } .bj-pill { display: none; }

/* game toolbar + modals + bet bar (Duel-style) */
.gtools { display: flex; justify-content: flex-end; gap: 6px; margin: 10px 16px 0; }
.gtools button { height: 36px; min-width: 38px; padding: 0 10px; border-radius: 9px; background: #131c3d; border: 1px solid #1b254b; color: #8f98cf; display: inline-flex; align-items: center; justify-content: center; gap: 7px; font-size: 12.5px; font-weight: 800; } .gtools button.wide { padding: 0 12px; } .gtools button.on { color: #ffd23c; border-color: #4a3d12; } .gtools button:active { background: #172144; }
.gm-ov { position: fixed; inset: 0; z-index: 130; background: rgba(4,6,22,.72); display: grid; place-items: center; padding: 16px; animation: fin .2s; overflow-y: auto; }
.gm { position: relative; width: 100%; max-width: 440px; background: #1c274c; border-radius: 14px; padding: 24px 22px 24px; box-shadow: 0 30px 80px rgba(0,0,0,.6); color: #fff; }
.gm h2 { display: flex; align-items: center; gap: 10px; margin: 0 28px 14px 0; font-size: 20px; font-weight: 800; letter-spacing: -.02em; } .gm h2 svg { color: #8f98cf; }
.gm-x { position: absolute; top: 20px; right: 18px; color: #8f98cf; }
.gm-p { margin: 0 0 18px; color: #aab3e6; font-size: 14px; line-height: 1.55; } .gm-p b { color: #fff; }
.gm-box { background: #172043; border-radius: 12px; overflow: hidden; } .gm-row { padding: 14px 16px; border-bottom: 1px solid #1c274c; } .gm-row:last-child { border: 0; } .gm-row b { display: block; font-size: 15px; font-weight: 800; } .gm-row p { margin: 4px 0 0; color: #98a1d4; font-size: 14px; line-height: 1.5; } .gm-row small { display: block; color: #8892c6; font-size: 12px; margin-bottom: 6px; font-weight: 600; }
.gm-row.sp { display: flex; align-items: center; justify-content: space-between; font-size: 14px; color: #cfd6ff; } .gm-row kbd { background: #4b505f; border-radius: 6px; padding: 4px 10px; font-weight: 800; font-family: inherit; color: #fff; font-size: 12px; }
.gm-tabs { display: flex; background: #172043; border-radius: 10px; padding: 4px; margin-bottom: 14px; gap: 4px; } .gm-tabs button { flex: 1; height: 38px; border-radius: 8px; color: #98a1d4; font-weight: 700; } .gm-tabs button.on { background: #343d86; color: #fff; }

.bet2-h { display: flex; justify-content: space-between; font-size: 13px; color: #8892c6; font-weight: 600; margin-bottom: 8px; } .bet2-h .bet-bal { font-variant-numeric: tabular-nums; }
.bet2-in { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 8px 0 12px; border-radius: 10px; background: #0f152d; } .bet2-in.dis { opacity: .5; pointer-events: none; }
.bet2-in input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: #fff; font-weight: 800; font-size: 17px; font-family: var(--sans); user-select: text; -webkit-user-select: text; }
.bet2-q { display: flex; gap: 6px; } .bet2-q button { height: 34px; min-width: 40px; padding: 0 10px; border-radius: 7px; background: #4b505f; color: #fff; font-weight: 800; font-size: 13px; } .bet2-q button:active { background: #3a4590; }
.bet2-in .fi { flex: none; }

/* casino / originals pages */
.cats button { display: inline-flex; align-items: center; gap: 8px; } .cats button svg { width: 16px; height: 16px; flex: none; }
.rs-h h2 { display: flex; align-items: center; gap: 9px; } .rs-h h2 svg { width: 20px; height: 20px; color: #8f98cf; }
.rs-act { display: flex; align-items: center; gap: 6px; } .rs-act button { height: 32px; border-radius: 8px; background: #172043; color: #aab3e6; font-size: 12.5px; font-weight: 700; padding: 0 12px; } .rs-act .rs-arr { width: 32px; padding: 0; font-size: 20px; line-height: 1; } .rs-act button:active { background: #212d57; }
.row-sec { padding-top: 22px; }
.searchbox svg { flex: none; }
#tabs a { font-size: 10.5px; }

/* profile (Duel-style) */
.pf { padding: 8px 16px 0; } .pf-head { display: flex; align-items: center; gap: 14px; padding: 14px 0 18px; } .pf-head h2 { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -.02em; } .pf-head small { color: #8892c6; font-weight: 600; }
.pf-av { width: 64px; height: 64px !important; font-size: 26px; box-shadow: none; }
.pf-tabs { margin-bottom: 14px; } .pf-tabs button { height: 42px; }
.pf-grid { display: grid; grid-template-columns: 1fr 1fr; background: #151e3e; border-radius: 14px; overflow: hidden; }
.pf-cell { padding: 20px 18px; border-right: 1px solid #101936; border-bottom: 1px solid #101936; } .pf-cell:nth-child(2n) { border-right: 0; } .pf-cell:nth-last-child(-n+2) { border-bottom: 0; }
.pf-cell small { display: flex; align-items: center; gap: 8px; color: #8892c6; font-size: 12.5px; font-weight: 600; margin-bottom: 12px; } .pf-cell small i { display: grid; place-items: center; font-style: normal; } .pf-cell b { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.pf-table { margin: 14px 0 0; background: #151e3e; border-radius: 14px; overflow: hidden; }
.pf-row { display: grid; grid-template-columns: 1.6fr 1fr 1fr; align-items: center; gap: 8px; padding: 0 16px; height: 50px; border-bottom: 1px solid #101936; font-size: 14.5px; font-weight: 700; } .pf-row:last-child { border: 0; } .pf-row .r { text-align: right; }
.pf-hd { background: #121a35; color: #7f89bd; font-size: 13px; font-weight: 600; height: 48px; }
.pf-g { display: flex; align-items: center; gap: 10px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .pf-g i { width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; flex: none; overflow: hidden; } .pf-g i svg { width: 18px; height: 18px; }

/* loading screen */
.splash { background: radial-gradient(70% 50% at 50% 45%, #1a2858 0%, #0e152e 70%); overflow: hidden; }
.sp-glow { position: absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(80,100,255,.28), transparent 65%); animation: spglow 3.2s ease-in-out infinite; }
@keyframes spglow { 50% { transform: scale(1.18); opacity: .7; } }
.sp-s { position: absolute; font-style: normal; font-size: 46px; color: rgba(255,255,255,.07); animation: spfloat 7s ease-in-out infinite; } .sp-s.s1 { left: 12%; top: 22%; } .sp-s.s2 { right: 14%; top: 30%; animation-delay: -2s; color: rgba(255,90,110,.1); } .sp-s.s3 { left: 20%; bottom: 20%; animation-delay: -4s; color: rgba(255,90,110,.1); } .sp-s.s4 { right: 18%; bottom: 24%; animation-delay: -1s; }
@keyframes spfloat { 50% { transform: translateY(-22px) rotate(8deg); } }
.splash .sp { position: relative; animation: none; } .splash .wm-a { animation: spin-in .9s cubic-bezier(.2,.9,.3,1) both; display: block; }
@keyframes spin-in { from { opacity: 0; transform: translateY(14px) scale(.94); letter-spacing: .06em; } }
.sp-bar { width: 150px; height: 3px; border-radius: 2px; background: rgba(255,255,255,.12); margin: 26px auto 0; overflow: hidden; } .sp-bar i { display: block; height: 100%; width: 40%; border-radius: 2px; background: linear-gradient(90deg, #5b6cff, #b3bcff); animation: spbar 1.1s ease-in-out infinite; }
@keyframes spbar { from { transform: translateX(-110%); } to { transform: translateX(260%); } }

/* home */
.me-btn { width: 40px; height: 40px; border-radius: 10px; background: #3d5afe center / cover; display: grid; place-items: center; font-weight: 800; color: #fff; font-size: 15px; flex: none; }
.top-r { gap: 8px; }
.hero3 { position: relative; margin: 12px 16px 0; height: 190px; border-radius: 14px; overflow: hidden; }
.h3-s { position: absolute; inset: 0; display: flex; align-items: center; padding: 0 20px; background: linear-gradient(110deg, var(--c1), var(--c2)); opacity: 0; transform: scale(1.02); transition: opacity .6s, transform .8s; pointer-events: none; color: #fff; }
.h3-s.on { opacity: 1; transform: none; pointer-events: auto; }
.h3-t { position: relative; z-index: 2; max-width: 58%; } .h3-t small { font-size: 10.5px; letter-spacing: .2em; font-weight: 800; opacity: .75; } .h3-t h2 { margin: 6px 0 4px; font-size: 32px; line-height: 1; font-weight: 800; letter-spacing: -.035em; } .h3-t p { margin: 0 0 14px; font-size: 13px; opacity: .85; line-height: 1.35; }
.h3-b { display: inline-block; padding: 10px 20px; border-radius: 9px; background: #fff; color: #151e3c; font-weight: 800; font-size: 13.5px; }
.h3-a { position: absolute; right: -6px; top: 8px; bottom: 8px; width: 52%; z-index: 1; } .h3-a svg { width: 100%; height: 100%; filter: drop-shadow(0 10px 14px rgba(0,0,0,.3)); }
.h3-dots { position: absolute; left: 20px; bottom: 12px; display: flex; gap: 6px; z-index: 3; } .h3-dots i { width: 7px; height: 7px; border-radius: 4px; background: rgba(255,255,255,.4); transition: .3s; } .h3-dots i.on { width: 20px; background: #fff; }
.qtiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 14px 16px 0; } .qtiles a { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 4px 12px; border-radius: 12px; background: #151e3e; color: #aab3e6; font-size: 12px; font-weight: 700; } .qtiles a svg { width: 24px; height: 24px; color: #6f82ff; } .qtiles a:active { background: #1a2651; }
.rs-all { height: 32px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: 8px; background: #172043; color: #aab3e6; font-size: 12.5px; font-weight: 700; }

/* loading screen: flat and quiet */
.splash { background: #0c1229; }
.splash .sp-glow, .splash .sp-s, .splash .sp-bar { display: none; }
.splash .wm-a { animation: spfade .7s ease both; }
@keyframes spfade { from { opacity: 0; } }
.sp-line { position: absolute; top: 0; left: 0; right: 0; height: 3px; overflow: hidden; } .sp-line i { display: block; height: 100%; width: 35%; background: #3d5afe; animation: spline 1.2s ease-in-out infinite; }
@keyframes spline { from { transform: translateX(-100%); } to { transform: translateX(300%); } }

/* announcements, unavailable games, suspended overlay, promo */
.anno { display: flex; align-items: center; gap: 10px; padding: 10px 16px; background: #414759; font-size: 13px; font-weight: 600; } .anno.warn { background: #6a4a12; } .anno span { flex: 1; } .anno button { color: rgba(255,255,255,.7); }
.anno[hidden] { display: none; }
.poster.off { filter: grayscale(1); opacity: .45; pointer-events: none; } .poster.off::after { content: 'UNAVAILABLE'; position: absolute; top: 50%; left: 0; right: 0; text-align: center; font-size: 10px; font-weight: 800; letter-spacing: .12em; z-index: 3; }
.ban-ov { position: fixed; inset: 0; z-index: 300; background: #0c1229; display: grid; place-items: center; text-align: center; padding: 30px; } .ban-ov h2 { margin: 0 0 10px; font-size: 26px; } .ban-ov p { color: #aab3e6; margin: 6px 0; } .ban-ov .s { font-size: 12.5px; color: #7f89bd; }
.pf-promo { display: flex; gap: 8px; margin-top: 14px; } .pf-promo input { flex: 1; height: 44px; border-radius: 10px; background: #151e3e; border: 0; outline: 0; padding: 0 14px; color: #fff; font-weight: 700; text-transform: uppercase; user-select: text; -webkit-user-select: text; } .pf-promo .btn { height: 44px; }

.pf-admin { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 14px 16px; border-radius: 12px; background: #414759; font-weight: 800; color: #fff; } .pf-admin svg { width: 20px; height: 20px; color: #ffc83d; }
