@font-face { font-family: 'Outfit'; font-style: normal; font-display: swap; font-weight: 100 900; src: url(/fonts/outfit-latin-ext-wght-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Outfit'; font-style: normal; font-display: swap; font-weight: 100 900; src: url(/fonts/outfit-latin-wght-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

/* ==========================================================================
   tengri.casino — polish layer. Loaded after app.css. Same colours, same
   layout, same font: this only refines depth, states and motion.
   ========================================================================== */
:root {
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --spring: cubic-bezier(.34, 1.45, .5, 1);
  --glow: 0 0 0 1px rgba(47, 212, 119, .45), 0 14px 34px -14px rgba(0, 170, 75, .7);
}
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
::selection { background: rgba(0, 170, 75, .45); color: #fff; }
:focus-visible { outline: 2px solid var(--green-t); outline-offset: 2px; border-radius: 4px; }
.ccy .amt, .tbl .money, .tbl td, .stat b, .tot .big b, .perk .amt, .bal span, .balrow b, .cdown b, .kpis b { font-variant-numeric: tabular-nums; }

/* ---------- sidebar top row: Casino and the fold button (as in the design) ---------- */
.side-top { align-items: center; }
.seg a { transition: background .2s, border-color .2s, box-shadow .25s; }
.seg a.on:hover { box-shadow: 0 6px 18px -10px rgba(0, 170, 75, .9); }
.side-collapse { transition: background .18s, border-color .18s, color .18s, transform .12s; flex: none; }
.side-collapse:hover { background: #1d1f1f; border-color: #2a2d2d; color: #fff; }
.side-collapse:active { transform: scale(.94); }
.side-collapse .i { transition: transform .4s var(--ease-out); }

/* ---------- top bar: translucent once you scroll ---------- */
.top { background: rgba(10, 10, 10, .78); -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; }
body.home .top { background: rgba(0, 0, 0, .72); }
body.scrolled .top { border-bottom-color: #1b1d1d; }
.circ, .btn-out { transition: background .18s, border-color .18s, transform .12s; }
.circ:active, .btn-out:active { transform: scale(.96); }
.ccy { transition: background .18s; }
.ccy:hover { background: #181a1a; }
.ccy .amt { display: inline-block; }
.ccy .amt.bump { animation: none; }
.ccy .amt.up { animation: balUp 1s var(--ease-out); }
.ccy .amt.down { animation: balDown .8s var(--ease-out); }
@keyframes balUp { 0% { color: var(--green-t); text-shadow: 0 0 14px rgba(47, 212, 119, .75); } 100% { color: #fff; text-shadow: none; } }
@keyframes balDown { 0% { color: #ff9a9a; } 100% { color: #fff; } }
.rw-pill .bar i { background: linear-gradient(90deg, #00aa4b, #2fd477); box-shadow: 0 0 8px rgba(47, 212, 119, .6); }

/* route progress */
.route-bar { position: fixed; z-index: 400; left: 0; top: 0; height: 2px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); opacity: 0; pointer-events: none; background: linear-gradient(90deg, #00aa4b, #2fd477); box-shadow: 0 0 10px rgba(47, 212, 119, .8); }
.route-bar.go { opacity: 1; transform: scaleX(.72); transition: transform 1.6s cubic-bezier(.1, .7, .2, 1), opacity .1s; }
.route-bar.done { opacity: 0; transform: scaleX(1); transition: transform .25s ease, opacity .35s .2s; }
.view { animation: none; }
.view.enter { animation: viewIn .26s var(--ease-out); }
@keyframes viewIn { from { opacity: 0; transform: translateY(5px); } }

/* ---------- sidebar ---------- */
.nv { position: relative; }
.nv.on::before { content: ''; position: absolute; left: -7px; top: 11px; bottom: 11px; width: 3px; border-radius: 0 3px 3px 0; background: var(--green); box-shadow: 0 0 10px rgba(0, 170, 75, .9); }
.acct-nav .nv.on::before { left: 0; }
.nv .i { transition: transform .25s var(--spring), color .15s; }
.nv:hover .i { transform: scale(1.12); }
.grp.open .grp-body { animation: grpIn .32s var(--ease-out); }
@keyframes grpIn { from { opacity: 0; transform: translateY(-4px); } }
.pm { transition: background .18s; }
.pm.hot { background: linear-gradient(90deg, #102017, #1a3d20 55%, #2a4d1d); background-size: 200% 100%; animation: hotShift 6s ease-in-out infinite alternate; }
@keyframes hotShift { to { background-position: 100% 0; } }

/* ---------- buttons ---------- */
.btn-green { background: linear-gradient(180deg, #08b956, #00a247); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 6px 18px -8px rgba(0, 170, 75, .9); }
.btn-green:hover:not(:disabled) { background: linear-gradient(180deg, #11cb62, #00b04e); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 10px 24px -8px rgba(0, 194, 87, 1); }
.btn-green:disabled { background: var(--green-d); box-shadow: none; }
.btn-violet { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 6px 18px -8px rgba(93, 61, 242, .9); }
.btn-orange { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 6px 18px -8px rgba(255, 106, 19, .9); }
.btn:active:not(:disabled) { transform: translateY(1px) scale(.985); }
.see, .arr { transition: background .15s, transform .12s; }
.arr:active:not(:disabled) { transform: scale(.92); }
.switch::after { transition: transform .3s var(--spring), background .2s; }

/* ---------- banners ---------- */
.banner { transform: perspective(1000px) translateY(var(--ty, 0)) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.banner:hover { --ty: -4px; box-shadow: 0 26px 44px -22px #000, 0 0 0 1px rgba(255, 255, 255, .08); }
.banner.tilting { transition: transform .14s linear, box-shadow .5s var(--ease-out); }
.banner .bg svg { transition: transform .9s var(--ease-out); }
.banner:hover .bg svg { transform: scale(1.06); }
.banner::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .09) 50%, transparent 65%); transform: translateX(-100%); }
.banner:hover::after { transform: translateX(100%); transition: transform .9s var(--ease-out); }
.banner .btn { transition: transform .25s var(--spring), background .15s; }
.banner:hover .btn { transform: translateY(-1px); }

/* two promotions fill the row instead of leaving a gap */
@media (min-width: 861px) { .banners:has(> .banner:nth-child(2):last-child) { grid-template-columns: 1fr 1fr; } .banners:has(> .banner:only-child) { grid-template-columns: 1fr; } }

/* ---------- category bar & search ---------- */
.cat-tabs a { transition: background .15s, border-color .2s; }
.cat-tabs a .i { transition: transform .25s var(--spring); }
.cat-tabs a:hover .i { transform: scale(1.15); }
.searchbar { transition: border-color .2s, box-shadow .2s, background .2s; }
.searchbar:hover { background: #0f1111; }
.searchbar:focus-within { box-shadow: 0 0 0 3px rgba(0, 170, 75, .15); }
.inp { transition: border-color .2s, box-shadow .2s; }
.inp:focus { box-shadow: 0 0 0 3px rgba(0, 170, 75, .15); }

/* ---------- game tiles: lift, gentle tilt and a light sweep under the cursor ---------- */
.row { padding: 10px 0 14px; margin: -10px 0 -14px; }
.tile { transform: perspective(700px) translateY(var(--ty, 0)) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out); animation: tileIn .55s var(--ease-out) backwards; }
@keyframes tileIn { from { opacity: 0; transform: perspective(700px) translateY(12px); } }
.tile > img { transition: transform .6s var(--ease-out); }
.tile:hover > img { transform: scale(1.05); }
.tile::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 2; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); background: radial-gradient(240px circle at var(--mx, 50%) var(--my, -20%), rgba(255, 255, 255, .2), transparent 42%); opacity: 0; transition: opacity .35s; }
.tile:hover { --ty: -5px; transform: perspective(700px) translateY(var(--ty)) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); box-shadow: 0 20px 34px -16px #000, var(--glow); }
.tile:hover::after { opacity: 1; }
.tile.tilting { transition: transform .12s linear, box-shadow .45s var(--ease-out); }
.tile .hov { z-index: 1; }
.tile:hover .hov { background: linear-gradient(180deg, rgba(0, 0, 0, .15), rgba(0, 0, 0, .55)); }
.tile .hov span { box-shadow: 0 0 0 6px rgba(0, 170, 75, .18), 0 8px 20px -4px rgba(0, 170, 75, .9); transform: scale(.55); transition: transform .4s var(--spring); }
.tile:hover .hov span { transform: scale(1); }
.prov { transition: background .2s, transform .35s var(--ease-out), box-shadow .3s; }
.prov:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px #1d7a43; }
.skel { background: linear-gradient(90deg, #121414 25%, #1b1e1e 50%, #121414 75%); background-size: 200% 100%; }

/* ---------- wins board ---------- */
.tabset button, .tabset a { transition: background .15s, border-color .2s; }
.tbl tbody tr { transition: filter .15s; }
.tbl tbody tr:hover td { background: #161818; }
.tbl tr.fresh td { animation: rowIn 1.4s var(--ease-out); }
.tbl .gm:hover span:last-child { color: var(--green-t); }

/* ---------- surfaces ---------- */
.card, .stat, .acc.box, .fold { transition: border-color .25s; }
.acc-b, .fold > div { transition: grid-template-rows .3s var(--ease-out); }
.nr .bar i, .rrk .bar i, .more .bar i { transition: width .9s var(--ease-out); }
.sq.on .i { animation: heart .5s var(--spring); }
@keyframes heart { 40% { transform: scale(1.35); } }
.stage-cover .th { transition: transform .5s var(--ease-out); }
.stage-cover:hover .th { transform: translateY(-3px) rotate(-1deg); }

/* ---------- popovers, modals, toasts ---------- */
.pop { transform-origin: top right; animation: popIn .26s var(--ease-out); }
@keyframes popIn { from { opacity: 0; transform: translateY(-6px) scale(.97); } }
.funds { animation-name: popInC; transform-origin: top center; }
@keyframes popInC { from { opacity: 0; transform: translateX(-50%) translateY(-6px) scale(.97); } to { transform: translateX(-50%); } }
.overlay { animation: fadeIn .25s ease; }
.modal { animation: modalIn .45s var(--ease-out); }
@keyframes modalIn { from { opacity: 0; transform: translateY(22px) scale(.97); } }
.mx { transition: background .15s, transform .3s var(--ease-out); }
.mx:hover { transform: rotate(90deg); }
.coinb, .quick button, .redeem { transition: background .15s, border-color .2s, transform .12s; }
.coinb:active, .quick button:active { transform: scale(.97); }
.toast { position: relative; overflow: hidden; animation: toastIn .45s var(--ease-out); }
.toast::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--green); opacity: .55; transform-origin: 0 50%; animation: toastTime 4s linear forwards; }
.toast.bad::after { background: var(--red); }
@keyframes toastTime { to { transform: scaleX(0); } }
@keyframes toastIn { from { opacity: 0; transform: translateX(24px) scale(.97); } }

/* ---------- mobile tab bar ---------- */
.tabbar { display: none; }
@media (max-width: 860px) {
  .tabbar { position: fixed; z-index: 46; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(5, 1fr); height: calc(60px + env(safe-area-inset-bottom)); padding: 0 4px env(safe-area-inset-bottom); background: rgba(15, 17, 17, .92); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-top: 1px solid #1b1d1d; transition: transform .35s var(--ease-out); }
  .tabbar a, .tabbar button { display: grid; justify-items: center; align-content: center; gap: 4px; font-size: 10.5px; font-weight: 600; color: #9fa1a1; }
  .tabbar .i { width: 19px; height: 19px; }
  .tabbar .on { color: #fff; }
  .tabbar .on .i { color: var(--green); }
  .tabbar .tb-main .pill { width: 46px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: linear-gradient(180deg, #08b956, #00a247); box-shadow: 0 6px 16px -6px rgba(0, 170, 75, .9); }
  .tabbar .tb-main .pill .i { color: #fff; }
  .tabbar .tb-main .lb { color: #e9e9e9; }
  body.menu-open .tabbar { transform: translateY(110%); }
  .view { padding-bottom: 96px; }
  .foot { padding-bottom: 96px; }
}


/* ==========================================================================
   premium hover layer: light that follows the cursor, glowing edges,
   a sweep across game covers, focus on the tile you point at
   ========================================================================== */
/* surfaces: a soft spotlight and a lit edge where the cursor is (fx.js feeds --sx/--sy) */
.card, .stat, .board, .prov, .gdet, .acc.box, .fold, .wr, .nr, .stage { position: relative; }
:is(.card, .stat, .board, .prov, .plogo, .gdet, .acc.box, .fold, .wr, .nr, .stage, .banner, .cat-tabs, .searchbar)::before {
  content: ''; position: absolute; inset: 0; z-index: 3; border-radius: inherit; padding: 1px; pointer-events: none;
  background: radial-gradient(260px circle at var(--sx, 50%) var(--sy, 50%), rgba(47, 212, 119, .7), rgba(47, 212, 119, .12) 45%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0; transition: opacity .35s;
}
:is(.card, .stat, .board, .prov, .plogo, .gdet, .acc.box, .fold, .wr, .nr, .stage, .banner, .cat-tabs, .searchbar):hover::before { opacity: 1; }
.cat-tabs, .searchbar { position: relative; }
:is(.card, .stat, .board, .acc.box, .fold, .wr, .nr):hover { background-image: radial-gradient(520px circle at var(--sx, 50%) var(--sy, 50%), rgba(255, 255, 255, .035), transparent 45%); }
.banner .bg::after { content: ''; position: absolute; inset: 0; background: radial-gradient(340px circle at var(--sx, 70%) var(--sy, 40%), rgba(255, 255, 255, .14), transparent 55%); opacity: 0; transition: opacity .4s; mix-blend-mode: soft-light; }
.banner:hover .bg::after { opacity: 1; }

/* game covers: a light sweep on hover, and the rest of the row steps back */
.tile::before { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .26) 50%, transparent 62%); transform: translateX(-130%); }
.tile:hover::before { transform: translateX(130%); transition: transform 1s var(--ease-out); }
.row, .grid8 { transition: none; }
.tile { transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), filter .35s ease, opacity .35s ease; }
@media (hover: hover) and (pointer: fine) {
  .row:hover .tile:not(:hover), .grid8:hover .tile:not(:hover) { filter: brightness(.5) saturate(.8); }
  .provs:hover .prov:not(:hover), .plogos:hover .plogo:not(:hover) { opacity: .6; }
}
.tile:active { transform: perspective(700px) translateY(-2px) scale(.97); }

/* calls to action: a glint runs across, primary buttons breathe softly */
.btn-green, .btn-violet, .btn-orange { position: relative; overflow: hidden; isolation: isolate; }
:is(.btn-green, .btn-violet, .btn-orange)::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%); transform: translateX(-120%); }
:is(.btn-green, .btn-violet, .btn-orange):hover:not(:disabled)::after { transform: translateX(120%); transition: transform .75s var(--ease-out); }
.wallet-btn, .top .btn-green.signup { animation: breathe 3.6s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 6px 18px -8px rgba(0, 170, 75, .9); } 50% { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 6px 26px -4px rgba(0, 194, 87, 1), 0 0 0 4px rgba(0, 170, 75, .12); } }
.perk .btn-green:not(:disabled), .refbox .btn-green { animation: breathe 2.6s ease-in-out infinite; }
.btn-dark { transition: background .2s, box-shadow .25s, transform .12s; }
.btn-dark:hover:not(:disabled) { box-shadow: inset 0 0 0 1px #3a3d3d; }

/* top bar: icons answer the cursor */
.circ:hover .i { animation: iconPop .45s var(--spring); }
.circ[data-act="notif"]:hover .i { animation: bellRing .7s ease-in-out; transform-origin: 50% 10%; }
@keyframes iconPop { 40% { transform: scale(1.22) rotate(-8deg); } }
@keyframes bellRing { 15% { transform: rotate(16deg); } 35% { transform: rotate(-14deg); } 55% { transform: rotate(9deg); } 75% { transform: rotate(-5deg); } }
.avatar { transition: box-shadow .3s, transform .3s var(--spring); }
.avatar:hover { box-shadow: 0 0 0 2px #00aa4b, 0 0 18px rgba(0, 170, 75, .6); transform: scale(1.05); }
.ccy .coin { transition: transform .6s var(--ease-out); }
.ccy:hover .coin { transform: rotateY(360deg); }
.rw-pill { transition: background .2s, box-shadow .3s; }
.rw-pill:hover { box-shadow: 0 0 0 1px #1d7a43, 0 6px 18px -8px rgba(0, 170, 75, .6); }
.rw-pill .chest { transition: transform .4s var(--spring); }
.rw-pill:hover .chest { transform: translateY(-3px) rotate(-6deg) scale(1.08); }

/* sidebar: a lit wash slides in under the item you point at */
.nv::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(90deg, rgba(47, 212, 119, .1), transparent 70%); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-out); }
.nv:hover::after { transform: scaleX(1); }
.nv > span { transition: transform .3s var(--ease-out); }
.nv:hover > span { transform: translateX(3px); }
.pm .pmi { transition: transform .4s var(--spring); }
.pm:hover .pmi { transform: scale(1.18) rotate(-10deg); }

/* category bar, sections */
.cat-tabs a.on { box-shadow: 0 6px 18px -10px rgba(0, 170, 75, .9); }
.see { transition: background .2s, color .2s, box-shadow .2s; }
.see:hover { box-shadow: inset 0 0 0 1px #1d7a43; color: var(--green-t); }
.sec-h h2 .i { transition: transform .45s var(--spring); }
.sec:hover .sec-h h2 .i { transform: rotate(-12deg) scale(1.15); }

.tbl tbody tr td { transition: background .2s; }
.tbl tbody tr:hover td:first-child { box-shadow: inset 3px 0 0 var(--green); }
.tbl .gm .th { transition: transform .35s var(--spring); }
.tbl .gm:hover .th { transform: scale(1.25); }

/* providers */
.prov { overflow: hidden; }
.prov:hover { background: linear-gradient(160deg, #1a1d1d, #121414); }

/* rewards, promotions, game page */
.perk .chest { transition: transform .5s var(--spring), filter .4s; }
.perk:hover .chest { transform: translateY(-6px) scale(1.06); filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .6)); }
.ring svg.r circle:last-child { filter: drop-shadow(0 0 6px rgba(0, 170, 75, .7)); }
.sq .i { transition: transform .35s var(--spring); }
.sq:hover .i { transform: scale(1.18); }
.stage-cover .th { animation: coverFloat 5s ease-in-out infinite; }
@keyframes coverFloat { 50% { transform: translateY(-6px); } }
.coinb:hover, .quick button:hover { box-shadow: inset 0 0 0 1px #2a2d2d; }
.redeem:hover { background: #151717; }

/* footer links: an underline draws in */
.foot-cols a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--ease-out), color .2s; padding-bottom: 1px; }
.foot-cols a:hover { background-size: 100% 1px; }
.socials a { display: inline-block; transition: transform .3s var(--spring); }
.socials a:hover { transform: translateY(-3px); }
.socials a:hover svg { fill: var(--green-t); }

/* scrollbars */
::-webkit-scrollbar-thumb:hover { background: #1d7a43; }


/* ==========================================================================
   prototype parts: game page details, unavailable state, provider logo tiles,
   player cards
   ========================================================================== */
/* game bar under the frame */
.stage-bar { gap: 6px; padding: 9px 12px; }
.stage-bar .sq { width: 34px; height: 34px; background: transparent; }
.stage-bar .sq:hover { background: var(--btn); }
.sb-bal { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.sb-bal svg { width: 18px; height: 18px; }
.sb-ccy { height: 26px; padding: 0 10px; border-radius: 6px; background: var(--btn); font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; color: #d8d8d8; margin-left: 6px; }

/* game details card */
.gdet { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); margin: 18px 0 34px; overflow: hidden; }
.gdet-h { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 8px 12px 8px 18px; }
.gdet-h h1 { margin: 0; font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.gchip { height: 22px; padding: 0 9px; border-radius: 6px; background: #1d1f1f; font-size: 11.5px; font-weight: 700; display: inline-flex; align-items: center; color: #e2e2e2; transition: background .2s, color .2s; }
.gchip:hover { background: #12251c; color: var(--green-t); }
.gdet-h .sp { flex: 1; }
.gdet-t { width: 32px; height: 32px; border-radius: var(--r-s); background: var(--btn); display: grid; place-items: center; transition: background .2s; }
.gdet-t:hover { background: var(--btn-h); }
.gdet-t .i { width: 10px; height: 10px; transition: transform .3s var(--ease-out); }
.gdet:not(.open) .gdet-t .i { transform: rotate(180deg); }
.gdet-b { display: none; grid-template-columns: 150px 1fr; gap: 22px; padding: 6px 18px 20px; border-top: 1px solid #161818; background: radial-gradient(600px 220px at 0 0, rgba(0, 170, 75, .05), transparent 70%); }
.gdet.open .gdet-b { display: grid; animation: grpIn .35s var(--ease-out); }
.gdet-l { padding-top: 14px; }
.gdet-l .th { position: relative; width: 150px; aspect-ratio: 97 / 135; border-radius: 9px; overflow: hidden; background: #151717; box-shadow: 0 14px 30px -12px #000; }
.gdet-l .th img { width: 100%; height: 100%; object-fit: cover; }
.gdet-r { min-width: 0; padding-top: 14px; }
.gdet-r .tabset { margin-bottom: 16px; }
.gdet-r h4 { margin: 0 0 10px; font-size: 14px; font-weight: 700; }
.specs { display: flex; flex-wrap: wrap; gap: 8px; }
.specs span { height: 28px; padding: 0 11px; border-radius: 7px; background: #161818; display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 600; color: #a8aaaa; }
.specs b { color: #fff; font-weight: 700; }
.gd-none { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.gdet-r .tbl td { height: 44px; }
@media (max-width: 600px) { .gdet-b { grid-template-columns: 1fr; } .gdet-l { display: none; } .gdet-r .tabset { overflow-x: auto; flex-wrap: nowrap; } }

/* game unavailable */
.g-unav { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; justify-items: center; gap: 8px; text-align: center; padding: 20px; background: radial-gradient(420px 260px at 50% 45%, rgba(255, 74, 74, .07), transparent 70%), #050606; }
.gu-i { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: #1d1f1f; color: #ff7a7a; box-shadow: 0 0 0 6px rgba(255, 74, 74, .08); margin-bottom: 6px; }
.gu-i .i { width: 20px; height: 20px; }
.g-unav b { font-size: 16px; }
.g-unav p { margin: 0 0 10px; color: var(--muted); font-size: 13px; max-width: 360px; }
.g-unav .r { display: flex; gap: 10px; }

/* providers as logo tiles */
.plogos { --gap: 12px; grid-auto-columns: calc((100% - 5 * var(--gap)) / 6.3); }
.plogo { position: relative; height: 66px; border-radius: var(--r); background: #121414; box-shadow: inset 0 0 0 1px #181a1a; display: grid; place-items: center; padding: 0 16px; overflow: hidden; scroll-snap-align: start; transition: background .25s, transform .35s var(--ease-out), box-shadow .3s; }
.plogo img { max-width: 82%; max-height: 32px; object-fit: contain; filter: grayscale(1) brightness(1.6); opacity: .85; transition: filter .3s, opacity .3s, transform .4s var(--spring); }
.pl-w { font-size: 16.5px; font-weight: 800; letter-spacing: -.02em; color: #dcdcdc; text-align: center; line-height: 1.1; transition: color .25s, transform .4s var(--spring); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.plogo:hover { background: #181a1a; transform: translateY(-2px); }
.plogo:hover img { filter: none; opacity: 1; transform: scale(1.06); }
.plogo:hover .pl-w { color: #fff; transform: scale(1.05); }
.plogo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; margin-top: 18px; }
.plogo-grid .plogo { height: 78px; }
.plogo-grid .pl-w { font-size: 18px; }
@media (max-width: 860px) { .plogos { grid-auto-columns: calc((100% - 2 * var(--gap)) / 2.6); } }

/* phones: the tab bar carries Wallet and Search, so the header keeps just the
   logo, balance and avatar and nothing overlaps */
@media (max-width: 860px) { .searchbar .k { display: none; } }
@media (max-width: 600px) {
  .top .wrap { gap: 8px; }
  .top-mid .wallet-btn { display: none; }
  .top-mid { justify-content: flex-end; }
  .ccy { padding: 0 9px 0 7px; }
}
@media (max-width: 360px) { .top .logo .word { display: none; } }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .tile, .tile:hover, .banner, .banner:hover { transform: none; }
  .wallet-btn, .top .btn-green.signup, .perk .btn-green, .refbox .btn-green, .stage-cover .th { animation: none; }
  .pm.hot { animation: none; }
}

/* ---------- legal & policy pages ---------- */
.legal-tabs { margin-bottom: 16px; }
@media (max-width: 760px) {
  .legal-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .legal-tabs::-webkit-scrollbar { display: none; }
  .legal-tabs a { flex: none; white-space: nowrap; }
}
.legal-doc { padding: 26px 28px 22px; }
.legal-doc h2 { margin: 0; font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.legal-upd { margin: 6px 0 0; font-size: 12px; color: #8b8e8e; }
.legal-doc section { margin-top: 20px; padding-top: 18px; border-top: 1px solid #1d1f1f; }
.legal-doc h3 { margin: 0 0 8px; font-size: 15px; color: #fff; }
.legal-doc p, .legal-doc li { font-size: 14px; line-height: 1.65; color: #c5c7c7; }
.legal-doc p { margin: 0 0 10px; }
.legal-doc ul { margin: 0 0 10px; padding-left: 20px; }
.legal-doc li { margin: 5px 0; padding-left: 2px; }
.legal-doc li::marker { color: var(--green-t); }
.legal-doc a, .foot .legal a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,.35); text-underline-offset: 2px; transition: text-decoration-color .2s; }
.legal-doc a:hover, .foot .legal a:hover { text-decoration-color: var(--green-t); }
.legal-doc .legal-op { margin: 22px 0 0; padding-top: 16px; border-top: 1px solid #1d1f1f; font-size: 12.5px; line-height: 1.55; color: #8b8e8e; }
@media (max-width: 600px) { .legal-doc { padding: 20px 18px 16px; } .legal-doc h2 { font-size: 19px; } }

/* admin: provider logos */
.adm-logo { width: 176px; height: 58px; cursor: pointer; }
.adm-logo.empty { box-shadow: inset 0 0 0 1px #2a2c2c; }
.adm-logo.drop { box-shadow: inset 0 0 0 2px var(--green); background: #12251c; }
.adm-logo.busy { opacity: .5; pointer-events: none; }
.adm-logo img { max-height: 30px; }
.adm .ord { width: 76px; height: 32px; }
.lg-act { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.lg-act .btn { cursor: pointer; }
.lg-act .btn .i { width: 13px; height: 13px; }

/* wallet: coins that are not live yet, deposit progress */
.coinb.soon { position: relative; opacity: 1; color: #7d8080; background: #151717; cursor: default; }
.coinb.soon svg { filter: grayscale(1); opacity: .45; }
.coinb.soon em { font-style: normal; font-size: 9.5px; font-weight: 700; letter-spacing: .02em; color: #c9cbcb; background: #262828; border-radius: 4px; padding: 1px 6px; margin-left: -2px; }
.deps { margin-top: 4px; padding-top: 12px; border-top: 1px solid #2a2c2c; }
.deps-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.deps-h .btn .i { width: 13px; height: 13px; }
.deps-none { margin: 2px 0 0; font-size: 11.5px; color: #a8aaaa; line-height: 1.45; }
.drow { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid #262828; }
.drow:first-of-type { border-top: 0; }
.drow .dl { flex: 1; min-width: 0; }
.drow .dl b { display: block; font-size: 13px; }
.drow .dl span { font-size: 11px; color: #a8aaaa; }
.drow .dl a { color: var(--green-t); display: inline-flex; align-items: center; gap: 3px; }
.drow .dl a .i { width: 10px; height: 10px; }
.drow .dr { display: flex; align-items: center; gap: 8px; flex: none; }
.dconf { width: 54px; height: 5px; border-radius: 3px; background: #0d0f0f; overflow: hidden; }
.dconf i { display: block; height: 100%; background: var(--green); border-radius: 3px; transition: width .6s; }
.dc-n { font-size: 11px; color: #c9cbcb; font-weight: 600; min-width: 26px; text-align: right; }
.netsel span { flex: 1; }

/* admin: wallets */
.wal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 14px; }
.wal { display: flex; flex-direction: column; gap: 10px; }
.wal-h { display: flex; align-items: center; gap: 10px; }
.wal-h svg { width: 28px; height: 28px; }
.wal-h b { font-size: 15px; display: block; }
.wal-h span { font-size: 11.5px; color: var(--muted); }
.wal-h .badge { margin-left: auto; }
.wal .kv2 { display: grid; grid-template-columns: 112px 1fr; gap: 6px 10px; font-size: 12px; }
.wal .kv2 span { color: #a8aaaa; }
.wal .kv2 b { font-weight: 600; word-break: break-all; }
.wal-grid > .card { margin-top: 0; }
.wal .chk { display: block; font-size: 11.5px; color: #c9cbcb; background: #0b0d0d; border: 1px solid #222424; border-radius: 6px; padding: 8px 10px; line-height: 1.45; }
.wal .chk code { display: block; color: #fff; font-size: 12px; word-break: break-all; margin-top: 2px; }
.wal .err-box { font-size: 12px; color: #ff8a8a; background: #2a1212; border-radius: 6px; padding: 8px 10px; }
.wal .acts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; }
.adm .addr-cell { max-width: 220px; overflow: hidden; text-overflow: ellipsis; display: inline-block; vertical-align: bottom; }
.adm .alert { color: #ff8a8a; font-size: 11px; }
@media (max-width: 1100px) { .wal-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .overlay:has(.modal.wallet) { padding: 10px; }
  .modal.wallet { max-width: 100%; padding: 16px 14px 18px; }
  .modal.wallet .mx { top: 18px; right: 12px; }
  .wtabs { display: flex; flex-wrap: nowrap; overflow-x: auto; max-width: calc(100% - 40px); scrollbar-width: none; margin-bottom: 14px; }
  .wtabs::-webkit-scrollbar { display: none; }
  .wtabs button { flex: none; padding: 0 12px; }
  .wr { padding: 14px 12px; }
  .addr .qr { width: 104px; height: 104px; }
  .drow .dconf { display: none; }
}

/* ---------- Admin → Wallets: one-time deposit wallet setup ---------- */
.wz, .wz-locked { margin-bottom: 14px; }
.wz-top, .wz-locked { display: flex; gap: 12px; align-items: flex-start; }
.wz-locked .sub { margin: 0; line-height: 1.5; }
.wz-top .sub { margin-bottom: 14px; }
.wz-ico { width: 38px; height: 38px; border-radius: 10px; background: var(--green-tint); border: 1px solid var(--green-line); display: grid; place-items: center; flex: none; color: var(--green-t); }
.wz-ico .i { width: 18px; height: 18px; }
.wz-hd { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.wz-hd h3 { margin: 0; }
.wz-opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 12px; }
.wz-opt { position: relative; text-align: left; font: inherit; color: #fff; background: #0b0d0d; border: 1px solid #222424; border-radius: 9px; padding: 14px; display: flex; flex-direction: column; gap: 6px; cursor: pointer; transition: border-color .15s, background .15s, transform .15s var(--ease-out); }
.wz-opt:hover { border-color: var(--green-line); background: #0d1210; transform: translateY(-1px); }
.wz-opt b { font-size: 14px; padding-right: 90px; }
.wz-opt span { font-size: 12px; line-height: 1.5; color: var(--muted); }
.wz-opt em { position: absolute; top: 13px; right: 12px; font-style: normal; font-size: 10.5px; font-weight: 700; color: var(--green-t); background: var(--green-tint); border: 1px solid var(--green-line); border-radius: 99px; padding: 1px 8px; }
.wz-note { display: flex; gap: 8px; align-items: flex-start; font-size: 12px; line-height: 1.45; color: var(--muted); margin: 6px 0 0; }
.wz-note .i { width: 14px; height: 14px; flex: none; margin-top: 1px; color: var(--green-t); }
.wz-steps { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.wz-steps span { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; color: var(--muted-2); }
.wz-steps span + span::before { content: ''; width: 22px; height: 1px; background: #2a2c2c; margin-right: 1px; }
.wz-steps i { width: 21px; height: 21px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 700; background: #1b1d1d; color: #8c8f8f; }
.wz-steps .on { color: #fff; }
.wz-steps .on i { background: var(--green); color: #fff; }
.wz-steps .done { color: #c5c7c7; }
.wz-steps .done i { background: var(--green-tint); color: var(--green-t); }
.wz-words { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; background: #0b0d0d; border: 1px solid #222424; border-radius: 9px; padding: 12px; margin-bottom: 12px; }
.wz-words span { display: flex; align-items: baseline; gap: 8px; padding: 7px 9px; background: #131515; border-radius: 6px; font: 600 13.5px/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; transition: filter .25s; }
.wz-words i { min-width: 17px; text-align: right; font-style: normal; font-size: 10.5px; color: var(--muted-2); }
.wz-words.blur span { filter: blur(6px); user-select: none; }
.wz-reveal { position: absolute; inset: 0; margin: auto; width: max-content; box-shadow: 0 8px 30px rgba(0, 0, 0, .6); }
.wz-reveal .i { width: 15px; height: 15px; margin-right: 6px; }
.wz-warn { font-size: 12.5px; line-height: 1.55; color: #e9cf96; background: #211b0d; border: 1px solid #45371a; border-radius: 8px; padding: 10px 12px; margin-bottom: 12px; }
.wz-warn b { color: #ffdf9e; }
.wz .chk { line-height: 1.45; align-items: flex-start; }
.wz .chk input { margin-top: 2px; accent-color: var(--green); }
.wz-quiz { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: 620px; }
.wz-quiz .field { margin-bottom: 0; }
.wz-ta { height: auto; min-height: 86px; padding: 10px 12px; resize: vertical; font: 600 13px/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.wz-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12.5px; }
.wz-adv { margin: -4px 0 10px; }
.wz-adv summary { cursor: pointer; font-size: 12.5px; color: var(--muted); margin-bottom: 8px; }
.wz-adv .hint { font-size: 11.5px; color: var(--muted); }
.wz-rev { display: grid; gap: 8px; margin-bottom: 16px; }
.wz-row { display: grid; grid-template-columns: 150px minmax(0, 1fr) minmax(0, 1.25fr); gap: 14px; align-items: center; background: #0b0d0d; border: 1px solid #222424; border-radius: 8px; padding: 10px 12px; }
.wz-row .c { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 13px; }
.wz-row .c svg { width: 24px; height: 24px; flex: none; }
.wz-row small span { text-transform: none; letter-spacing: 0; }
.wz-row small { display: block; margin-bottom: 3px; font-size: 10.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted-2); }
.wz-row code { display: block; font-size: 12px; color: #fff; word-break: break-all; }
.wz-lockbox { max-width: 520px; }
.wz-nav { display: flex; gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.wz-nav [data-wz="back"] { margin-right: auto; }
.wz-nav .btn .i { width: 15px; height: 15px; margin-right: 6px; }
.wz .err:empty { display: none; }
@media (max-width: 900px) {
  .wz-opts { grid-template-columns: 1fr; }
  .wz-words { grid-template-columns: repeat(2, 1fr); }
  .wz-quiz { grid-template-columns: 1fr; }
  .wz-row { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 600px) {
  .wz-steps { gap: 6px 12px; }
  .wz-steps span + span::before { display: none; }
}

/* ---------- Admin → Wallets: auto-sweep ---------- */
.sw { margin-bottom: 14px; }
.sw .sub { line-height: 1.5; }
.sw-bar { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; justify-content: space-between; margin-bottom: 12px; font-size: 12.5px; color: #c9cbcb; }
.sw-keys { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.sw-keys .btn .i { width: 14px; height: 14px; margin-right: 6px; }
.sw-pct { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.sw-pct .inp { width: 74px; height: 32px; }
.sw-rows { display: grid; gap: 8px; }
.sw-row { display: grid; grid-template-columns: 130px minmax(0, 1.1fr) minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, .9fr) minmax(0, 1.3fr) auto; gap: 12px; align-items: center; background: #0b0d0d; border: 1px solid #222424; border-radius: 8px; padding: 10px 12px; font-size: 12.5px; }
.sw-row .c { display: flex; align-items: center; gap: 9px; }
.sw-row .c svg { width: 24px; height: 24px; flex: none; }
.sw-row small { display: block; margin-bottom: 3px; font-size: 10.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted-2); }
.sw-row code { font-size: 12px; color: #fff; }
.sw-row .neg { font-size: 12px; }
.sw-last { font-size: 12px; color: #c9cbcb; }
.sw-acts { display: flex; align-items: center; gap: 10px; }
.sw-h { margin: 16px 0 8px; font-size: 13px; }
.modal.swk { max-width: 560px; }
.modal.swk .wz-warn { font-size: 12px; }
@media (max-width: 1200px) { .sw-row { grid-template-columns: 1fr 1fr; } .sw-row .c, .sw-acts { grid-column: span 2; } }

/* ==========================================================================
   interaction layer (js/ui.js): no sidebar scrollbar, the collapsible rail,
   Tengri dropdowns, reveals, ripples
   ========================================================================== */
/* ---------- the sidebar scrolls without any scrollbar (every browser) ---------- */
.side, .side * { scrollbar-width: none !important; -ms-overflow-style: none !important; }
.side ::-webkit-scrollbar, .side::-webkit-scrollbar { display: none !important; width: 0 !important; height: 0 !important; background: transparent !important; }
.side { overflow: hidden; }
.side-scroll { overflow-x: hidden; overscroll-behavior: contain; --fu: 0px; --fd: 0px; -webkit-mask-image: linear-gradient(transparent, #000 var(--fu), #000 calc(100% - var(--fd)), transparent); mask-image: linear-gradient(transparent, #000 var(--fu), #000 calc(100% - var(--fd)), transparent); transition: --fu .2s, --fd .2s; }
.side-scroll.more-up { --fu: 26px; }
.side-scroll.more-down { --fd: 34px; }
@property --fu { syntax: '<length>'; inherits: false; initial-value: 0px; }
@property --fd { syntax: '<length>'; inherits: false; initial-value: 0px; }
/* the page keeps one slim scrollbar at the far right, in the site's colours */
html { scrollbar-color: #262828 transparent; scrollbar-width: thin; }

/* ---------- sidebar groups open and close smoothly ---------- */
.grp-body, .grp.open .grp-body { display: grid; grid-template-rows: 0fr; padding-top: 0; transition: grid-template-rows .34s var(--ease-out); animation: none; }
.grp.open .grp-body { grid-template-rows: 1fr; }
.grp-in { min-height: 0; overflow: hidden; padding-top: 2px; opacity: 0; transform: translateY(-4px); transition: opacity .25s, transform .34s var(--ease-out), visibility 0s .34s; visibility: hidden; }
.grp.open .grp-in { opacity: 1; transform: none; visibility: visible; transition: opacity .3s .05s, transform .34s var(--ease-out), visibility 0s; }
.grp-in > .nv + .nv, .grp-in > .nv:first-child { margin-top: 4px; }
.panel.grp { transition: padding .34s var(--ease-out); }
.nv > span { white-space: nowrap; }
.side-glide { position: fixed; z-index: 41; pointer-events: none; border-radius: var(--r-s); background: var(--green-tint); box-shadow: inset 3px 0 0 var(--green); }


/* ---------- the menu button collapses the sidebar on a computer ---------- */
.top .burger { transition: background .18s, transform .12s; }
.top .burger .i { transition: transform .45s var(--ease-out); }
@media (min-width: 1101px) {
  body.side-mini .side-top { padding: 6px 0 0; justify-content: center; }
  body.side-mini .side-top .seg { display: none; }
  body.side-mini .side-collapse { width: 42px; }
  body.side-mini .side-collapse .i { transform: scaleX(-1); }
  .side { width: var(--side-w); }
  body.side-anim .side { transition: width .34s var(--ease-out); }
  body.side-anim .main { transition: margin .34s var(--ease-out); }
  body.side-mini { --side-w: 76px; }
  body.side-mini .side-scroll, body.side-mini .side.acct .side-scroll { padding: 12px 10px 16px; }
  body.side-mini .side .acct-nav { padding: 0 0 8px; }
  body.side-mini .side .panel, body.side-mini .side .panel.grp, body.side-mini .side .panel.grp.open { padding: 6px; }
  body.side-mini .side.acct .panel { margin: 0 0 8px; }
  body.side-mini .side .nv { justify-content: center; padding: 0; gap: 0; }
  body.side-mini .side .acct-nav .nv { padding: 0; height: 46px; }
  body.side-mini .side .nv > span { opacity: 0; max-width: 0; overflow: hidden; transform: translateX(-6px); }
  body.side-mini .side .nv .chev { display: none; }
  body.side-mini .side .nv:hover > span { transform: translateX(-6px); }
  body.side-mini .side .grp .grp-body, body.side-mini .side .grp.open .grp-body { display: none; }
  body.side-mini .side .nv.on::before { left: -6px; }
  body.side-mini .side .grp:has(.grp-in .nv.on) > .nv { background: var(--green-tint); }
  body.side-mini .side .grp:has(.grp-in .nv.on) > .nv .i { color: var(--green); }
  body.side-mini .side .nv .i { width: 18px; height: 18px; }
  .nv > span { transition: opacity .22s, max-width .34s var(--ease-out), transform .34s var(--ease-out); max-width: 190px; }
}
/* the label / links that open beside the rail */
.side-fly { position: fixed; z-index: 70; left: 0; top: 0; pointer-events: none; opacity: 0; transform: translateX(-6px); transition: opacity .16s, transform .22s var(--ease-out); }
.side-fly.on { opacity: 1; transform: none; pointer-events: auto; }
.side-fly.tip { translate: 0 -50%; padding: 7px 11px; border-radius: 7px; background: #1d1f1f; border: 1px solid #2a2c2c; font-size: 12.5px; font-weight: 600; white-space: nowrap; box-shadow: 0 10px 26px #000a; }
.side-fly.tip::before { content: ''; position: absolute; left: -5px; top: 50%; width: 8px; height: 8px; background: #1d1f1f; border-left: 1px solid #2a2c2c; border-bottom: 1px solid #2a2c2c; transform: translateY(-50%) rotate(45deg); }
.side-fly.menu { width: 230px; padding: 6px; border-radius: var(--r); background: #121414; border: 1px solid #1f2121; box-shadow: 0 18px 50px #000c; }
.side-fly .sf-h { padding: 8px 10px 6px; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted-2); }
.side-fly .sf-b { display: grid; gap: 2px; }
.side-fly .nv { height: 38px; font-size: 13.5px; }
.side-fly .nv.on::before { left: -6px; }
.side-fly .pm { min-height: 54px; }
.side-fly .view-all { margin-top: 4px; }
.side-fly.on .sf-b > * { animation: flyItem .3s var(--ease-out) backwards; }
.side-fly.on .sf-b > :nth-child(2) { animation-delay: 25ms; } .side-fly.on .sf-b > :nth-child(3) { animation-delay: 50ms; } .side-fly.on .sf-b > :nth-child(4) { animation-delay: 75ms; } .side-fly.on .sf-b > :nth-child(5) { animation-delay: 100ms; } .side-fly.on .sf-b > :nth-child(n+6) { animation-delay: 125ms; }
@keyframes flyItem { from { opacity: 0; transform: translateX(-6px); } }

/* ---------- dropdowns in the Tengri style ---------- */
select.inp { appearance: none; -webkit-appearance: none; padding-right: 34px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23c7c9c9'%3E%3Cpath d='M6 9h12l-6 7z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 10px; }
select.inp[aria-expanded="true"], .dd.dd-open { border-color: #12933f; box-shadow: 0 0 0 3px rgba(0, 170, 75, .15); }
.dd { transition: background .15s, box-shadow .2s; }
.dd .i { transition: transform .3s var(--ease-out); }
.dd.dd-open .i { transform: rotate(180deg); }
.dd select:focus-visible { outline: none; }
.dd:has(select:focus-visible) { outline: 2px solid var(--green-t); outline-offset: 2px; }
.tdd { position: fixed; z-index: 500; max-height: min(340px, 60vh); display: flex; flex-direction: column; padding: 5px; border-radius: var(--r); background: #121414; border: 1px solid #222525; box-shadow: 0 22px 60px #000d, 0 0 0 1px rgba(0, 0, 0, .4); transform-origin: top center; animation: tddIn .2s var(--ease-out); }
.tdd.up { transform-origin: bottom center; }
.tdd.out { animation: tddOut .14s ease forwards; pointer-events: none; }
@keyframes tddIn { from { opacity: 0; transform: translateY(-4px) scale(.97); } }
@keyframes tddOut { to { opacity: 0; transform: translateY(-3px) scale(.98); } }
.tdd-s { display: flex; align-items: center; gap: 8px; height: 36px; margin: 0 0 5px; padding: 0 10px; border-radius: 7px; background: #0b0d0d; border: 1px solid #222424; flex: none; }
.tdd-s:focus-within { border-color: #12933f; }
.tdd-s .i { width: 14px; height: 14px; color: #8c8f8f; flex: none; }
.tdd-s input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: #fff; font: inherit; font-size: 13px; font-weight: 600; }
.tdd-l { overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.tdd-o { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 36px; padding: 0 11px; border-radius: 7px; text-align: left; font-size: 13px; font-weight: 600; color: #d6d8d8; position: relative; animation: tddItem .28s var(--ease-out) backwards; animation-delay: calc(var(--k, 0) * 14ms); }
@keyframes tddItem { from { opacity: 0; transform: translateY(-3px); } }
.tdd-o span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tdd-o .i { width: 14px; height: 14px; color: var(--green-t); opacity: 0; transform: scale(.5); transition: opacity .2s, transform .3s var(--spring); flex: none; }
.tdd-o.act { background: #1b1e1e; color: #fff; }
.tdd-o.sel { color: #fff; background: linear-gradient(90deg, rgba(0, 170, 75, .16), rgba(0, 170, 75, .04)); }
.tdd-o.sel::before { content: ''; position: absolute; left: 0; top: 9px; bottom: 9px; width: 3px; border-radius: 0 3px 3px 0; background: var(--green); box-shadow: 0 0 8px rgba(0, 170, 75, .9); }
.tdd-o.sel .i { opacity: 1; transform: none; }
.tdd-o:disabled { opacity: .4; cursor: default; }
.tdd-none { padding: 12px; font-size: 12.5px; color: var(--muted); text-align: center; }
.tdd.sheet { left: 0 !important; right: 0; top: auto !important; bottom: 0; max-height: 70vh; border-radius: 16px 16px 0 0; padding: 10px 10px calc(14px + env(safe-area-inset-bottom)); animation: sheetIn .3s var(--ease-out); }
.tdd.sheet::before { content: ''; display: block; width: 38px; height: 4px; border-radius: 2px; background: #2a2c2c; margin: 0 auto 10px; flex: none; }
.tdd.sheet .tdd-o { min-height: 46px; font-size: 14.5px; }
.tdd.sheet.out { animation: sheetOut .18s ease forwards; }
@keyframes sheetIn { from { transform: translateY(100%); } }
@keyframes sheetOut { to { transform: translateY(100%); } }

/* ---------- Live Casino: kinds of table ---------- */
.ltypes { display: flex; gap: 8px; margin: 16px 0 0; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.ltypes::-webkit-scrollbar { display: none; }
.ltype { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 8px 0 13px; border-radius: 19px; background: #121414; border: 1px solid #1b1d1d; font-size: 13px; font-weight: 600; color: #d6d8d8; position: relative; overflow: hidden; transition: background .2s, border-color .2s, color .2s, transform .15s; animation: chipIn .45s var(--ease-out) backwards; }
.ltype:nth-child(2) { animation-delay: 30ms; } .ltype:nth-child(3) { animation-delay: 60ms; } .ltype:nth-child(4) { animation-delay: 90ms; } .ltype:nth-child(5) { animation-delay: 120ms; } .ltype:nth-child(n+6) { animation-delay: 150ms; }
.ltype .i { width: 15px; height: 15px; color: #a8aaaa; transition: color .2s, transform .35s var(--spring); }
.ltype i { font-style: normal; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 11px; background: #1d1f1f; display: inline-grid; place-items: center; font-size: 11px; font-weight: 700; color: #a8aaaa; transition: background .2s, color .2s; }
.ltype:hover { background: #181a1a; border-color: #262929; color: #fff; }
.ltype:hover .i { transform: scale(1.15) rotate(-8deg); }
.ltype:active { transform: scale(.97); }
.ltype.on { background: radial-gradient(80% 120% at 50% 100%, #0d3a1f, #0b1a11 70%); border-color: #12933f; color: #fff; box-shadow: 0 6px 18px -10px rgba(0, 170, 75, .9); }
.ltype.on .i { color: var(--green-t); }
.ltype.on i { background: var(--green); color: #fff; }
.gsep { grid-column: 1 / -1; display: flex; align-items: center; gap: 9px; margin: 10px 0 -8px; font-size: 15px; font-weight: 700; animation: viewIn .4s var(--ease-out) backwards; }
.gsep:first-child { margin-top: 0; }
.gsep .i { width: 17px; height: 17px; color: var(--green); }
.gsep::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, #1f2121, transparent); }

/* ---------- reveal on scroll, image fade, ripple, modal exit ---------- */
.rv { opacity: 0; transform: translateY(16px); }
.rv.rv-in { opacity: 1; transform: none; transition: opacity .6s var(--ease-out) var(--rv, 0ms), transform .7s var(--ease-out) var(--rv, 0ms); }
img.img-wait { opacity: 0; }
.tile > img, .plogo img, .gdet-l img, .jl img { transition: opacity .45s ease, transform .6s var(--ease-out), filter .3s; }
.tile:has(img.img-wait) { background: linear-gradient(90deg, #121414 25%, #1b1e1e 50%, #121414 75%); background-size: 200% 100%; animation: shimmer 1.3s infinite; }
.rpl { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; pointer-events: none; z-index: 0; }
.rpl i { position: absolute; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .16), rgba(255, 255, 255, .06) 45%, transparent 70%); transform: scale(0); animation: rpl .6s var(--ease-out) forwards; }
.btn-green .rpl i, .ltype.on .rpl i, .cat-tabs a.on .rpl i { background: radial-gradient(circle, rgba(255, 255, 255, .28), rgba(255, 255, 255, .08) 45%, transparent 70%); }
@keyframes rpl { 60% { opacity: 1; } to { transform: scale(1); opacity: 0; } }
.overlay.closing { animation: fadeOut .19s ease forwards; }
.overlay.closing .modal { animation: modalOut .19s ease forwards; }
@keyframes fadeOut { to { opacity: 0; } }
@keyframes modalOut { to { opacity: 0; transform: translateY(10px) scale(.98); } }

/* small touches */
.see .i, .view-all .i { transition: transform .3s var(--ease-out); }
.see:hover .i, .view-all:hover .i { transform: translateX(3px); }
.sec-h .arr .i { transition: transform .25s var(--ease-out); }
.sec-h .arr:hover:not(:disabled) [data-dir="1"] .i, .sec-h .arr[data-dir="1"]:hover:not(:disabled) .i { transform: translateX(2px); }
.sec-h .arr[data-dir="-1"]:hover:not(:disabled) .i { transform: translateX(-2px); }
.acct-tabs a { position: relative; overflow: hidden; }

.badge { transition: transform .25s var(--spring); }
.empty { animation: viewIn .5s var(--ease-out); }
.empty svg { animation: float 5s ease-in-out infinite; }
.ph h1 { animation: titleIn .5s var(--ease-out) backwards; }
@keyframes titleIn { from { opacity: 0; transform: translateX(-8px); letter-spacing: .02em; } }
.ph .back { transition: transform .25s var(--ease-out), background .15s; }
.ph .back:hover { transform: translateX(-3px); }

@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; }
  .rpl, .side-glide { display: none; }
  .tdd, .tdd-o, .side-fly .sf-b > *, .ltype, .gsep, .ph h1, .empty svg { animation: none !important; }
}
.lrows { display: grid; gap: 30px; margin-top: 6px; }
.lrows .see b { margin-left: 4px; padding: 0 6px; border-radius: 9px; background: #1d1f1f; font-size: 11px; color: #a8aaaa; transition: background .2s, color .2s; }
.lrows .see:hover b { background: var(--green); color: #fff; }
.ltypes { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 44px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 44px), transparent); padding-right: 44px; }
.race-me { margin: -4px 0 12px; font-size: 13px; color: #c5c7c7; }
.race-me b { color: #fff; }
.tbl tr.me td { background: linear-gradient(90deg, rgba(0, 170, 75, .12), transparent 70%); }
.tbl tr.me td:first-child { box-shadow: inset 3px 0 0 var(--green); }

/* ---------- game page: the game gets the room ---------- */
body.play .view.wrap { width: calc(100% - 28px); max-width: 1760px; padding-top: 6px; }
body.play .stage-frame { aspect-ratio: auto; height: max(400px, min(calc(100vh - var(--top-h) - 70px), calc((100vw - var(--side-w)) * .72))); }
body.play.theatre .stage-frame { height: calc(100vh - var(--top-h) - 66px); }
body.play.chat-open .stage-frame { height: max(400px, min(calc(100vh - var(--top-h) - 70px), calc((100vw - var(--side-w) - var(--chat-w)) * .72))); }
@media (max-width: 1100px) { body.play .stage-frame { height: max(380px, min(calc(100vh - var(--top-h) - 70px), calc(100vw * .72))); } }
@media (max-width: 860px) {
  body.play .view.wrap { width: calc(100% - 16px); }
  body.play .stage-frame { height: calc(100vh - var(--top-h) - 128px); height: calc(100dvh - var(--top-h) - 128px); min-height: 360px; }
}
.bulk-up { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 14px; padding: 12px 14px; border-radius: var(--r-s); border: 1px dashed #2a2d2d; font-size: 12.5px; transition: border-color .2s, background .2s; }
.bulk-up.drop { border-color: var(--green); background: #0d1a12; }
.bulk-up .btn { cursor: pointer; }
.bulk-up .btn .i { width: 13px; height: 13px; }

/* ---------- sports (the BeatBetGames sportsbook) ---------- */
.side .live-n { margin-left: auto; min-width: 22px; height: 18px; padding: 0 6px; border-radius: 9px; background: var(--green-d); color: var(--green-t); font-size: 11px; font-weight: 800; display: grid; place-items: center; }
.side .grp-in .none { display: block; padding: 8px 10px; color: var(--muted); font-size: 13px; }
body.sports .view.wrap { width: calc(100% - 28px); max-width: 1760px; padding-top: 6px; }
.sb-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 0 12px; }
.sb-chips::-webkit-scrollbar { display: none; }
.sb-chip { flex: none; display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border-radius: 999px; background: var(--panel); border: 1.5px solid transparent; font-weight: 700; font-size: 13.5px; white-space: nowrap; color: var(--text); transition: background .15s, border-color .15s; }
.sb-chip .i { width: 16px; height: 16px; color: var(--muted); }
.sb-chip:hover { background: var(--panel-2); }
.sb-chip.on { border-color: #12933f; background: #0a1a10; }
.sb-chip.on .i { color: var(--green-t); }
.sb-frame { aspect-ratio: auto; height: max(520px, calc(100vh - var(--top-h) - 120px)); }
body.sports.theatre .sb-frame { height: calc(100vh - var(--top-h) - 66px); }
.sb-mark { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 18px; display: grid; place-items: center; background: radial-gradient(80% 80% at 50% 30%, #1a8a4a, #0b3a20); box-shadow: 0 12px 30px -12px rgba(0, 170, 75, .6); }
.sb-mark .i { width: 34px; height: 34px; color: #fff; }
.sb-bets { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: var(--r-s); font-weight: 700; font-size: 13px; color: var(--text); }
.sb-bets:hover { background: var(--btn); }
.sb-bets .i { width: 16px; height: 16px; }
.sb-list { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); align-items: start; }
.sb-bet { padding: 0; overflow: hidden; }
.sb-bet header { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.sb-bet header .sp { flex: 1; }
.sb-st { flex: none; height: 22px; padding: 0 9px; border-radius: 6px; display: inline-grid; place-items: center; font-size: 11.5px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; }
.sb-st.green { background: var(--green-d); color: var(--green-t); }
.sb-st.blue { background: #13234a; color: #8fb1ff; }
.sb-st.amber { background: #3a2a07; color: var(--gold); }
.sb-st.grey { background: var(--panel-2); color: var(--muted); }
.sb-desc { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.sb-when { flex: none; color: var(--muted-2); font-size: 12px; }
.sb-sels { list-style: none; margin: 0; padding: 4px 14px; }
.sb-sels li { padding: 10px 0; border-bottom: 1px dashed var(--line-2); }
.sb-sels li:last-child { border-bottom: 0; }
.sb-ev { display: flex; align-items: center; gap: 8px; font-size: 13.5px; }
.sb-live { height: 18px; padding: 0 6px; border-radius: 5px; background: #3a0d0d; color: #ff7a7a; font-size: 10.5px; font-weight: 800; text-transform: uppercase; display: inline-grid; place-items: center; }
.sb-pick { display: flex; justify-content: space-between; gap: 10px; margin-top: 3px; color: var(--muted); font-size: 13px; }
.sb-pick b { color: var(--text); }
.sb-meta { margin-top: 3px; color: var(--muted-2); font-size: 12px; }
.sb-bet footer { display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 12px 14px; background: var(--card-2); border-top: 1px solid var(--line); }
.sb-bet footer div { display: grid; gap: 2px; }
.sb-bet footer span { color: var(--muted-2); font-size: 11.5px; }
.sb-bet footer b { font-size: 14px; }
.sb-bet.lost { opacity: .78; }
@media (max-width: 860px) {
  body.sports .view.wrap { width: calc(100% - 16px); }
  .sb-frame { height: calc(100vh - var(--top-h) - 176px); height: calc(100dvh - var(--top-h) - 176px); min-height: 420px; }
  .sb-list { grid-template-columns: 1fr; }
}
