/* tengri.casino — layout, sizes and colours follow the tengri.casino UI prototype. */
:root {
  --bg: #0a0a0a; --page: #0a0a0a;
  --side: #0f1111; --panel: #161818; --panel-2: #1d1f1f; --panel-3: #222424;
  --card: #0d0f0f; --card-2: #111313; --line: #1b1d1d; --line-2: #262828;
  --btn: #1d1f1f; --btn-h: #282a2a; --chat: #121414;
  --text: #fff; --muted: #a3a5a5; --muted-2: #6f7272;
  --green: #00aa4b; --green-h: #00c257; --green-d: #0b3a20; --green-dt: #4f8a66; --green-t: #2fd477; --green-tint: #12251c; --green-line: #1d7a43;
  --gold: #f2b33d; --red: #ff4a4a; --orange: #ff6a13; --violet: #5d3df2;
  --r: 9px; --r-s: 7px;
  --side-w: 244px; --chat-w: 315px; --top-h: 54px; --wrap: 1200px;
  --font: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 500 14px/1.35 var(--font); color: var(--text); background: var(--page); min-height: 100vh; overflow-x: hidden; }
body.home { --page: #000; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
button:disabled { cursor: default; }
img { display: block; max-width: 100%; }
svg { display: block; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.g { color: var(--green-t); }
.muted { color: var(--muted); }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: #262828; border-radius: 8px; }
::-webkit-scrollbar-track { background: transparent; }

/* ---------- icons ---------- */
.i { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.i.f { fill: currentColor; stroke: none; }

/* ---------- motion ---------- */
.float { animation: float 5s ease-in-out infinite; transform-box: fill-box; }
@keyframes float { 50% { transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }

/* ---------- logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 7px; color: #fff; }
.logo .mark { width: 26px; height: 26px; }
.logo .word { font-weight: 700; font-size: 25px; letter-spacing: -.035em; line-height: 1; transform: translateY(-1px); }
.logo .star { transform-origin: 16px 14.5px; animation: twinkle 6s ease-in-out infinite; }
@keyframes twinkle { 0%, 70%, 100% { transform: rotate(0) scale(1); } 80% { transform: rotate(45deg) scale(1.2); } 90% { transform: rotate(90deg) scale(1); } }

/* ---------- sidebar ---------- */
.side { position: fixed; z-index: 40; left: 0; top: 0; bottom: 0; width: var(--side-w); background: var(--side); border-right: 1px solid #070808; display: flex; flex-direction: column; transition: transform .25s ease; }
.side-top { display: flex; gap: 6px; padding: 6px 9px 0 12px; height: 48px; flex: none; }
.seg { display: flex; flex: 1; background: var(--panel-2); border-radius: var(--r); height: 42px; }
.seg a { flex: 1; display: grid; place-items: center; border-radius: var(--r); font-weight: 700; font-size: 14px; border: 1.5px solid transparent; }
.seg a.on { border-color: #12933f; background: radial-gradient(70% 90% at 50% 100%, #0d3a1f 0%, #0b1a11 60%, #0d1110 100%); }
.side-collapse { width: 30px; height: 42px; border-radius: var(--r); border: 1px solid #1f2222; display: grid; place-items: center; color: #8c8f8f; }
.side-collapse .i { width: 14px; height: 14px; }
.side-scroll { flex: 1; overflow-y: auto; padding: 8px 9px 16px 12px; scrollbar-width: thin; }
.side-scroll::-webkit-scrollbar { width: 4px; }
.panel { background: var(--panel); border-radius: var(--r); padding: 9px 7px; margin-bottom: 8px; }
.panel > .nv + .nv, .grp-body > .nv + .nv, .grp-body > .nv:first-child { margin-top: 4px; }
.panel.grp { padding: 0 7px; }
.panel.grp.open { padding-bottom: 7px; }
.nv { display: flex; align-items: center; gap: 9px; height: 42px; padding: 0 11px; border-radius: var(--r-s); font-weight: 600; font-size: 14.5px; color: #f2f2f2; transition: background .15s; width: 100%; text-align: left; }
.nv:hover { background: #1c1f1e; }
.nv.on { background: var(--green-tint); }
.nv.on .i { color: var(--green); }
.nv .i { width: 16px; height: 16px; color: #fff; }
.nv .chev { margin-left: auto; width: 10px; height: 10px; color: #8a8d8d; transition: transform .2s; }
.grp.open > .nv .chev { transform: rotate(180deg); }
.grp-body { display: none; padding-top: 2px; }
.grp.open .grp-body { display: block; }
.grp-body .nv { font-size: 14px; }
.pm { display: flex; align-items: center; gap: 10px; padding: 9px 11px; border-radius: var(--r-s); position: relative; overflow: hidden; min-height: 63px; }
.pm:hover { background: #1c1f1e; }
.pm.hot { background: linear-gradient(90deg, #102017, #1a3d20 55%, #2a4d1d); }
.pm .pmi { width: 20px; height: 20px; color: var(--gold); flex: none; }
.pm b { display: block; font-size: 15px; font-weight: 700; line-height: 1.15; }
.pm small { display: block; font-size: 10.5px; color: #a7a9a9; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 120px; }
.pm .left { margin-left: auto; align-self: flex-start; margin-top: 3px; font-size: 10px; font-weight: 700; color: #36d77c; border: 1px solid #1f6a3c; background: #0b2215; border-radius: 3px; padding: 0 7px; line-height: 13px; }
.view-all { display: flex; align-items: center; justify-content: center; gap: 6px; height: 36px; background: var(--panel-3); border-radius: var(--r-s); font-size: 12.5px; font-weight: 600; margin-top: 4px; }
.view-all:hover { background: #2a2c2c; }
.view-all .i { width: 9px; height: 9px; }
.side.acct .side-scroll { padding-left: 0; padding-right: 0; }
.acct-nav { padding: 0 0 6px; }
.acct-nav .nv { border-radius: 0; height: 52px; padding: 0 22px; gap: 11px; font-size: 14.5px; }
.acct-nav .nv .i { width: 19px; height: 19px; }
.side.acct .panel { margin: 0 9px 8px 12px; }

/* ---------- main column ---------- */
.main { margin-left: var(--side-w); min-height: 100vh; display: flex; flex-direction: column; transition: margin .25s ease; background: var(--page); }
body.home .main { background: radial-gradient(60% 45% at -5% 70%, rgba(17, 38, 125, .42), transparent 70%), radial-gradient(50% 40% at 105% 35%, rgba(20, 44, 150, .38), transparent 70%), #000; background-attachment: fixed; }
body.chat-open .main { margin-right: var(--chat-w); }
.wrap { width: min(var(--wrap), calc(100% - 48px)); margin: 0 auto; }
.top { position: sticky; top: 0; z-index: 30; height: var(--top-h); background: var(--page); flex: none; }
.top .wrap { display: flex; align-items: center; height: 100%; gap: 12px; }
.top-mid { flex: 1; display: flex; justify-content: center; gap: 4px; min-width: 0; }
.top-right { display: flex; align-items: center; gap: 7px; }
.top .burger { display: none; }
.circ { width: 40px; height: 40px; border-radius: 50%; background: #151717; border: 1px solid #1c1e1e; display: grid; place-items: center; color: #fff; position: relative; flex: none; }
.circ:hover { background: #1d1f1f; }
.circ .i { width: 18px; height: 18px; }
.top-right.out .circ { width: 33px; height: 33px; }
.btn-out { height: 31px; padding: 0 12px; border: 1.5px solid #cfd1d1; border-radius: var(--r-s); font-weight: 600; font-size: 13px; display: inline-flex; align-items: center; }
.btn-out:hover { background: #ffffff12; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 37px; padding: 0 16px; border-radius: var(--r-s); font-weight: 600; font-size: 13.5px; white-space: nowrap; transition: background .15s, opacity .15s, transform .1s; }
.btn:active:not(:disabled) { transform: translateY(1px); }
.btn .i { width: 15px; height: 15px; }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover:not(:disabled) { background: var(--green-h); }
.btn-green:disabled { background: var(--green-d); color: var(--green-dt); }
.btn-dark { background: var(--btn); color: #fff; }
.btn-dark:hover:not(:disabled) { background: var(--btn-h); }
.btn-dark:disabled { color: #6d7070; }
.btn-violet { background: var(--violet); color: #fff; }
.btn-orange { background: var(--orange); color: #fff; }
.btn-sm { height: 30px; padding: 0 12px; font-size: 12.5px; }
.btn-block { width: 100%; }
.top .btn-green.signup { height: 31px; padding: 0 13px; font-size: 13px; }
.ccy-wrap { position: relative; }
.ccy { height: 40px; display: inline-flex; align-items: center; gap: 7px; padding: 0 10px 0 8px; background: #121414; border: 1px solid #1f2121; border-radius: var(--r-s); font-weight: 700; font-size: 14px; }
.ccy .coin { width: 20px; height: 20px; }
.ccy .tri { width: 10px; height: 10px; transition: transform .2s; }
.ccy.open .tri { transform: rotate(180deg); }
.ccy .amt.bump { animation: bump .5s ease; }
@keyframes bump { 40% { transform: scale(1.15); color: var(--green-t); } }
.wallet-btn { height: 40px; padding: 0 15px; font-size: 14px; }
.wallet-btn .i { width: 17px; height: 17px; }
.rw-pill { height: 40px; width: 134px; border-radius: 20px; background: #121414; border: 1px solid #1f2121; display: flex; align-items: center; gap: 4px; padding: 0 12px 0 6px; position: relative; }
.rw-pill .chest { width: 30px; height: 30px; margin-top: -2px; }
.rw-pill .bar { flex: 1; height: 7px; border-radius: 4px; background: #070808; overflow: hidden; }
.rw-pill .bar i { display: block; height: 100%; width: 2%; background: var(--green); border-radius: 4px; transition: width .6s; }
.dot { position: absolute; top: -3px; left: 22px; min-width: 15px; height: 15px; border-radius: 8px; background: var(--gold); color: #3a2400; font-size: 10px; font-weight: 800; display: grid; place-items: center; padding: 0 3px; }
.circ .dot { left: auto; right: -2px; top: -3px; background: var(--red); color: #fff; }
.avatar { width: 36px; height: 36px; border-radius: 50%; overflow: hidden; flex: none; }
.avatar svg { width: 100%; height: 100%; }
.pos-rel { position: relative; }
.view { flex: 1; padding: 10px 0 70px; animation: viewIn .28s ease; }
@keyframes viewIn { from { opacity: 0; transform: translateY(6px); } }

/* ---------- dropdown menus ---------- */
.pop { position: absolute; z-index: 60; top: calc(100% + 6px); background: #121414; border: 1px solid #1f2121; border-radius: var(--r); box-shadow: 0 18px 50px #000c; animation: popIn .16s ease; }
@keyframes popIn { from { opacity: 0; } }
.menu { right: 0; width: 230px; padding: 7px; }
.menu .who { padding: 8px 10px 10px; border-bottom: 1px solid #1f2121; margin-bottom: 6px; }
.menu .who b { display: block; font-size: 14px; }
.menu .who span { font-size: 12px; color: var(--muted); }
.menu a, .menu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border-radius: var(--r-s); font-weight: 600; font-size: 13.5px; text-align: left; }
.menu a:hover, .menu button:hover { background: #1c1f1e; }
.funds { left: 50%; transform: translateX(-50%); width: 357px; padding: 18px 15px 15px; }
.funds h4 { margin: 0 0 18px; font-size: 16px; }
.funds .none { display: grid; justify-items: center; gap: 8px; padding: 4px 0 18px; font-weight: 600; }
.funds .none .logo .word { font-size: 31px; }
.funds .none .logo .mark { width: 32px; height: 32px; }
.funds .bal { display: flex; align-items: center; gap: 10px; padding: 11px 12px; background: #1a1c1c; border-radius: var(--r-s); margin-bottom: 8px; font-weight: 600; }
.funds .bal svg { width: 20px; height: 20px; }
.funds .bal span { margin-left: auto; }
.funds .two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 10px 0 12px; }
.funds .two .btn { height: 39px; }
.opts { background: #181a1a; border-radius: var(--r-s); padding: 3px 12px 6px; }
.opts > button { display: flex; width: 100%; justify-content: space-between; align-items: center; height: 30px; font-size: 12px; font-weight: 600; color: #d8d8d8; }
.opts > button .i { width: 9px; height: 9px; transition: transform .2s; }
.opts.shut > button .i { transform: rotate(180deg); }
.opts.shut .row { display: none; }
.opts .row { display: flex; align-items: center; justify-content: space-between; height: 52px; font-weight: 600; font-size: 13.5px; }
.mini-seg { display: flex; background: #0e1010; border-radius: 6px; padding: 3px; }
.mini-seg button { padding: 5px 9px; border-radius: 5px; font-size: 12.5px; font-weight: 600; color: #8f9292; }
.mini-seg button.on { background: #262828; color: #fff; }
.pill-sel { display: inline-flex; align-items: center; gap: 6px; background: #262828; border-radius: 6px; padding: 5px 9px; font-size: 12.5px; font-weight: 600; }
.pill-sel svg { width: 16px; height: 16px; }
.notif { right: 0; width: 330px; padding: 14px; }
.notif h4 { margin: 0 0 10px; font-size: 15px; }
.notif .it { display: flex; gap: 10px; padding: 10px 4px; border-top: 1px solid #1b1d1d; font-size: 13px; }
.notif .it b { display: block; }
.notif .it span { color: var(--muted); font-size: 12px; }
.notif .none { color: var(--muted); font-size: 13px; padding: 16px 4px; text-align: center; }

/* ---------- switch ---------- */
.switch { width: 39px; height: 20px; border-radius: 10px; background: #3a3c3c; position: relative; flex: none; transition: background .2s; }
.switch::after { content: ''; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #1b1d1d; transition: transform .2s, background .2s; }
.switch[aria-checked="true"] { background: var(--green); }
.switch[aria-checked="true"]::after { transform: translateX(19px); background: #fff; }

/* ---------- home ---------- */
.wins-tabs { display: flex; gap: 6px; margin: 8px 0 10px; }
.wins-tabs button { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 7px; border-radius: 5px; font-size: 11.5px; font-weight: 600; color: #9fa1a1; }
.wins-tabs button.on { background: #15171a; color: #fff; }
.wins-tabs .lv { width: 6px; height: 6px; border-radius: 50%; background: #8a8c8c; }
.wins-tabs button.on .lv { background: var(--green); box-shadow: 0 0 0 3px #00aa4b33; animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 5px #00aa4b11; } }
.wins-tabs .tr { width: 11px; height: 11px; color: var(--gold); }
.strip { display: flex; gap: 6px; overflow: hidden; mask-image: linear-gradient(90deg, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); margin-bottom: 23px; height: 49px; }
.strip .none { font-size: 12.5px; color: var(--muted); display: flex; align-items: center; }
.wchip { flex: none; width: auto; min-width: 113px; padding-right: 12px; height: 49px; display: flex; gap: 7px; align-items: center; border-radius: 6px; background: linear-gradient(90deg, #171012, #0d0d0e); overflow: hidden; animation: chipIn .45s ease both; }
@keyframes chipIn { from { opacity: 0; transform: translateX(-14px); } }
.wchip .th { width: 46px; height: 49px; flex: none; background: #1b1d1d; overflow: hidden; position: relative; }
.wchip .th img { width: 100%; height: 100%; object-fit: cover; }
.th .gen > span { display: none; }
.wchip b { display: block; color: var(--green-t); font-size: 12px; font-weight: 700; }
.wchip span { display: block; font-size: 10.5px; font-weight: 600; max-width: 58px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.banners { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 18px; }
.banner { position: relative; height: 175px; border-radius: var(--r); overflow: hidden; padding: 19px 21px; display: flex; flex-direction: column; align-items: flex-start; isolation: isolate; }
.banner .bg { position: absolute; inset: 0; z-index: -1; }
.banner .bg svg { width: 100%; height: 100%; transition: transform .5s ease; }
.banner:hover .bg svg { transform: scale(1.04); }
.banner .badge { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 9px; border-radius: 11px; border: 1.5px solid #8c75ff; background: #0f0d1c; font-size: 11.5px; font-weight: 600; text-transform: none; color: #fff; }
.banner .badge .i { width: 11px; height: 11px; }
.banner h3 { margin: 10px 0 auto; font-size: 27px; line-height: 1.02; font-weight: 700; letter-spacing: -.01em; max-width: 62%; text-shadow: 0 2px 14px #0008; }
.cats { display: flex; gap: 8px; margin-bottom: 18px; }
.cat-tabs { display: flex; gap: 2px; padding: 3px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); flex: none; }
.cat-tabs a { display: inline-flex; align-items: center; gap: 7px; height: 31px; padding: 0 16px; border-radius: 6px; font-weight: 600; font-size: 13.5px; border: 1.5px solid transparent; white-space: nowrap; }
.cat-tabs a:hover { background: #161818; }
.cat-tabs a.on { border-color: #12933f; background: #0c1711; }
.cat-tabs .i { width: 15px; height: 15px; }
.searchbar { flex: 1; display: flex; align-items: center; gap: 10px; height: 39px; padding: 0 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); color: #8d9090; font-size: 13.5px; font-weight: 500; text-align: left; min-width: 0; }
.searchbar .i { width: 16px; height: 16px; color: #c8caca; }
.searchbar .k { margin-left: auto; font-size: 12.5px; color: #8d9090; flex: none; }
.searchbar input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: #fff; font-weight: 500; font-size: 13.5px; }
.searchbar input::placeholder { color: #8d9090; }
.searchbar:focus-within { border-color: #12933f; }

/* ---------- sections & game tiles ---------- */
.sec { margin-bottom: 30px; }
.sec-h { display: flex; align-items: center; gap: 8px; height: 30px; margin-bottom: 25px; }
.sec-h h2 { margin: 0; display: flex; align-items: center; gap: 9px; font-size: 19.5px; font-weight: 700; letter-spacing: -.01em; }
.sec-h h2 .i { width: 19px; height: 19px; color: var(--green); }
.sec-h .sp { flex: 1; }
.see { height: 30px; padding: 0 13px; border-radius: var(--r-s); background: var(--btn); font-size: 12.5px; font-weight: 600; display: inline-flex; align-items: center; }
.see:hover { background: var(--btn-h); }
.arr { width: 28px; height: 28px; border-radius: var(--r-s); background: var(--btn); display: grid; place-items: center; margin-left: 6px; }
.arr .i { width: 11px; height: 11px; }
.arr:disabled { color: #4f5252; background: #151717; }
.arr:hover:not(:disabled) { background: var(--btn-h); }
.row { --gap: 14px; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 7 * var(--gap)) / 7.5); gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; mask-image: linear-gradient(90deg, #000 93%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 93%, transparent); padding: 4px 0; margin: -4px 0; }
.row::-webkit-scrollbar { display: none; }
.row.end { mask-image: none; -webkit-mask-image: none; }
.tile { position: relative; display: block; aspect-ratio: 97 / 135; border-radius: 8px; overflow: hidden; background: #151717; scroll-snap-align: start; transition: transform .2s ease, box-shadow .2s ease; animation: tileIn .4s ease both; }
@keyframes tileIn { from { opacity: 0; transform: translateY(8px); } }
.tile:hover { transform: translateY(-4px); box-shadow: 0 12px 26px #0009; }
.tile > img { width: 100%; height: 100%; object-fit: cover; }
.tile .fsb { position: absolute; top: 6px; left: 6px; display: inline-flex; align-items: center; gap: 3px; height: 17px; padding: 0 6px; background: #000000b3; border-radius: 4px; font-size: 9.5px; font-weight: 700; color: var(--gold); }
.tile .fsb .i { width: 10px; height: 10px; }
.tile .hov { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transition: opacity .2s, background .2s; }
.tile:hover .hov { opacity: 1; background: #0007; }
.tile .hov span { width: 46px; height: 46px; border-radius: 50%; background: var(--green); display: grid; place-items: center; transform: scale(.8); transition: transform .2s; }
.tile:hover .hov span { transform: scale(1); }
.tile .hov .i { width: 18px; height: 18px; margin-left: 3px; }
.gen { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; text-align: center; padding: 0 6px 9px; overflow: hidden; }
.gen svg.deco { position: absolute; inset: 0; width: 100%; height: 100%; }
.gen .nm { position: relative; font-weight: 800; font-size: 19px; line-height: .95; text-transform: uppercase; letter-spacing: -.01em; text-shadow: 0 2px 0 #0006, 0 0 18px #0009; max-width: 100%; overflow-wrap: anywhere; }
.gen .pv { position: relative; font-size: 9px; font-weight: 600; margin-top: 4px; color: #ffffffd0; }
.gen .brand { position: relative; display: inline-flex; align-items: center; gap: 3px; margin-top: 7px; padding: 2px 7px; border-radius: 4px; background: #00000059; font-size: 10.5px; font-weight: 700; letter-spacing: -.02em; }
.gen .brand svg { width: 11px; height: 11px; }
.grid8 { display: grid; grid-template-columns: repeat(8, 1fr); gap: 24px 16px; }
.grid8 .tile { aspect-ratio: 91 / 128; }
.provs { --gap: 16px; grid-auto-columns: calc((100% - 5 * var(--gap)) / 5.75); }
.prov { height: 94px; border-radius: var(--r); background: #121414; display: grid; place-items: center; align-content: center; padding: 0 14px; text-align: center; font-weight: 800; font-size: 21px; letter-spacing: -.02em; transition: background .2s; scroll-snap-align: start; }
.prov:hover { background: #1a1c1c; }
.prov small { display: block; font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-top: 2px; }

/* ---------- bets / wins table ---------- */
.board { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 15px 15px 6px; margin-top: 10px; }
.board-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; gap: 10px; flex-wrap: wrap; }
.tabset { display: inline-flex; gap: 2px; padding: 3px; background: #121414; border: 1px solid #1a1c1c; border-radius: var(--r-s); flex-wrap: wrap; }
.tabset button, .tabset a { height: 30px; padding: 0 15px; border-radius: 6px; font-weight: 600; font-size: 13px; border: 1.5px solid transparent; display: inline-flex; align-items: center; }
.tabset .on { border-color: #12933f; background: #0c1711; }
.tabset button:hover:not(.on), .tabset a:hover:not(.on) { background: #191b1b; }
.sel-sm { height: 32px; min-width: 50px; padding: 0 10px; background: #161818; border: 1px solid #222424; border-radius: var(--r-s); font-weight: 700; font-size: 13px; display: inline-flex; align-items: center; gap: 6px; position: relative; }
.sel-sm .i { width: 9px; height: 9px; }
.sel-sm select { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.tbl { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.tbl th { text-align: left; font-weight: 500; color: #8e9191; height: 34px; padding: 0 10px; font-size: 12.5px; white-space: nowrap; }
.tbl td { height: 48px; padding: 0 10px; font-weight: 600; white-space: nowrap; }
.tbl tbody tr:nth-child(odd) td { background: #111313; }
.tbl tbody tr td:first-child { border-radius: 6px 0 0 6px; }
.tbl tbody tr td:last-child { border-radius: 0 6px 6px 0; }
.tbl .gm { display: inline-flex; align-items: center; gap: 8px; max-width: 190px; overflow: hidden; }
.tbl .gm > span { overflow: hidden; text-overflow: ellipsis; }
.tbl .gm .th { width: 22px; height: 22px; border-radius: 4px; flex: none; position: relative; overflow: hidden; background: #1b1d1d; }
.tbl .gm .th img { width: 100%; height: 100%; object-fit: cover; }
.tbl .who { display: inline-flex; align-items: center; gap: 8px; }
.tbl .who i { width: 16px; height: 16px; border-radius: 50%; background: #4b4e4e; flex: none; }
.tbl .money { display: inline-flex; align-items: center; gap: 7px; }
.tbl .money svg { width: 16px; height: 16px; }
.tbl .pos { color: var(--green-t); }
.tbl .hot { color: #ff5a3c; }
.tbl .neg { color: var(--muted); }
.tbl tr.fresh td { animation: rowIn .8s ease; }
.tbl.lines tbody tr td { background: none !important; border-top: 1px solid #191b1b; border-radius: 0 !important; }
@keyframes rowIn { from { background: #12251c; } }
.tbl .rank { width: 26px; height: 26px; border-radius: 50%; background: #1b1d1d; display: inline-grid; place-items: center; font-weight: 700; font-size: 12px; }
.tbl .rank.m1 { background: radial-gradient(circle at 35% 30%, #ffe38a, #c98c14); color: #3b2500; }
.tbl .rank.m2 { background: radial-gradient(circle at 35% 30%, #fff, #8d9196); color: #2a2c2e; }
.tbl .rank.m3 { background: radial-gradient(circle at 35% 30%, #ffc48a, #a2571b); color: #3a1a00; }
.race-top { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.race-top .pz span { display: block; font-size: 12px; color: #b5b7b7; }
.race-top .pz b { font-size: 33px; font-weight: 700; letter-spacing: -.02em; line-height: 1.05; }
.race-top .sp { flex: 1; }
.tl { display: flex; align-items: center; gap: 10px; height: 63px; padding: 0 14px 0 10px; border-radius: var(--r-s); background: #13201a; }
.tl svg { width: 30px; height: 30px; }
.tl span { display: block; font-size: 11px; color: #b6b8b8; }
.tl b { font-size: 15px; font-weight: 700; }
.race-top .btn { height: 63px; }
.empty-row td { text-align: center; color: var(--muted); height: 90px; background: none !important; }

/* ---------- footer ---------- */
.foot { padding: 60px 0 40px; }
.foot-cols { display: grid; grid-template-columns: 245px 1fr 1fr 1fr 1fr; gap: 20px; margin-bottom: 38px; }
.foot .logo .word { font-size: 31px; }
.foot .logo .mark { width: 31px; height: 31px; }
.foot .by { font-size: 8.5px; font-weight: 700; letter-spacing: .12em; margin: 4px 0 0 1px; color: #e9e9e9; }
.foot h4 { margin: 0 0 18px; font-size: 15px; font-weight: 700; }
.foot-cols a { display: block; font-size: 13px; font-weight: 500; margin-bottom: 12px; color: #f0f0f0; }
.foot-cols a:hover { color: var(--green-t); }
.socials { display: flex; gap: 14px; }
.socials svg { width: 20px; height: 20px; fill: #fff; }
.foot .tag { font-size: 15px; font-weight: 600; margin: 0 0 18px; }
.foot .copy { font-size: 15px; font-weight: 600; margin: 0 0 16px; }
.foot .legal { font-size: 12.5px; color: #b3b5b5; line-height: 1.45; margin: 0 0 14px; }
.foot .badges { display: flex; gap: 10px; align-items: center; }
.age { width: 40px; height: 40px; display: grid; place-items: center; border: 2px solid #e8e8e8; border-radius: 50%; font-weight: 800; font-size: 15px; }

/* ---------- page heads, filters ---------- */
.ph { display: flex; align-items: center; gap: 14px; margin: 0 0 24px; min-height: 33px; }
.ph h1 { margin: 0; font-size: 24px; font-weight: 700; letter-spacing: -.01em; display: flex; align-items: center; gap: 8px; }
.ph h1 .i { width: 22px; height: 22px; }
.ph h1 .heart { color: var(--red); fill: var(--red); }
.back { width: 33px; height: 33px; border-radius: var(--r-s); display: grid; place-items: center; background: #121414; flex: none; }
.back:hover { background: #1b1d1d; }
.back .i { width: 17px; height: 17px; stroke-width: 2.6; }
.flt { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0 18px; padding-bottom: 18px; border-bottom: 1px solid #161818; }
.dd { position: relative; display: inline-flex; align-items: center; gap: 7px; height: 37px; padding: 0 14px; background: #121414; border-radius: var(--r-s); font-size: 13px; font-weight: 600; cursor: pointer; }
.dd:hover { background: #181a1a; }
.dd select { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.dd .i { width: 9px; height: 9px; color: #c7c9c9; }
.more { display: grid; justify-items: center; gap: 12px; margin-top: 28px; color: var(--muted); font-size: 13px; }
.more .bar { width: 220px; height: 4px; border-radius: 2px; background: #1b1d1d; overflow: hidden; }
.more .bar i { display: block; height: 100%; background: var(--green); }
.empty { display: grid; justify-items: center; text-align: center; gap: 6px; padding: 50px 16px 40px; }
.empty .logo .word { font-size: 31px; }
.empty .logo .mark { width: 32px; height: 32px; }
.empty b { font-size: 14px; font-weight: 700; margin-top: 8px; }
.empty span { color: var(--muted); font-size: 14px; margin-top: 10px; }
.empty .btn { margin-top: 14px; }
.skel { border-radius: 8px; aspect-ratio: 97 / 135; background: linear-gradient(90deg, #121414 25%, #1a1c1c 50%, #121414 75%); background-size: 200% 100%; animation: shimmer 1.3s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.spin { width: 22px; height: 22px; border-radius: 50%; border: 2.5px solid #1f3a2a; border-top-color: var(--green); animation: rot .8s linear infinite; }
@keyframes rot { to { transform: rotate(360deg); } }
.center { display: grid; place-items: center; min-height: 240px; }

/* ---------- cards & forms ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 15px; }
.card + .card { margin-top: 14px; }
.two-col > .card, .perks > .card, .grid2 > .card, .promo-grid > *, .stats > * { margin-top: 0 !important; }
.card h3 { margin: 0 0 3px; font-size: 15px; font-weight: 700; }
.card .sub { margin: 0 0 15px; font-size: 12.5px; color: var(--muted); }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field > label, .lbl { font-size: 13px; font-weight: 600; color: #e9e9e9; }
.pform .field > label { font-weight: 500; color: #d2d4d4; }
.lbl .opt { color: var(--muted); font-weight: 500; }
.lbl .req { color: var(--green-t); }
.inp { width: 100%; height: 39px; background: #0b0d0d; border: 1px solid #222424; border-radius: var(--r-s); padding: 0 12px; outline: 0; font-size: 13px; font-weight: 600; color: #fff; }
.inp::placeholder { color: #5f6262; font-weight: 500; }
.inp:focus { border-color: #12933f; }
.inp[readonly] { color: #d0d0d0; }
textarea.inp { height: auto; min-height: 110px; padding: 10px 12px; font-family: ui-monospace, monospace; font-size: 12px; }
select.inp { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #aaa 50%), linear-gradient(135deg, #aaa 50%, transparent 50%); background-position: calc(100% - 17px) 17px, calc(100% - 12px) 17px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 30px; }
.err { color: #ff6b6b; font-size: 12.5px; margin: -4px 0 10px; }
.err:empty { display: none; }
.ok-note { display: flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--green-t); font-weight: 500; }
.ok-note .i { width: 12px; height: 12px; }
.setrow { display: flex; align-items: center; gap: 16px; padding: 4px 0; }
.setrow .tx { flex: 1; }
.setrow .tx b { display: block; font-size: 13px; font-weight: 600; }
.setrow .tx span { font-size: 11px; color: var(--muted); }
.hr { height: 1px; background: #1b1d1d; margin: 12px 0; }
.badge { display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: 10px; font-size: 11px; font-weight: 700; background: #1d1f1f; color: #d8d8d8; text-transform: capitalize; white-space: nowrap; }
.badge.ok { background: #0d2c19; color: var(--green-t); }
.badge.bad { background: #331212; color: #ff7a7a; }
.badge.warn { background: #33270a; color: var(--gold); }
.badge.sky { background: #10213a; color: #7cb6ff; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 14px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; }
.stat span { display: block; font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.stat b { font-size: 21px; font-weight: 700; }
.copyline { display: flex; gap: 8px; align-items: center; background: #0b0d0d; border: 1px solid #222424; border-radius: var(--r-s); padding: 4px 4px 4px 12px; min-height: 39px; }
.copyline code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12.5px; font-family: inherit; font-weight: 600; }
.icon-sq { width: 30px; height: 30px; border-radius: 6px; background: #1d1f1f; display: grid; place-items: center; flex: none; }
.icon-sq .i { width: 14px; height: 14px; }

/* ---------- accordions ---------- */
.acc { border-bottom: 1px solid #1d1f1f; }
.acc-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 64px; font-size: 16px; font-weight: 700; text-align: left; }
.acc-h .tri { width: 11px; height: 11px; flex: none; transition: transform .2s; }
.acc.open .acc-h .tri { transform: rotate(180deg); }
.acc-b { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .25s ease; }
.acc.open .acc-b { grid-template-rows: 1fr; }
.acc-b > div { overflow: hidden; }
.acc-b p { margin: 0 0 22px; color: #c2c4c4; font-size: 14px; line-height: 1.5; }
.acc.box { border: 1px solid var(--line); background: var(--card); border-radius: var(--r); padding: 0 16px; margin-bottom: 12px; }
.acc.box .acc-h { min-height: 62px; font-size: 14.5px; font-weight: 600; }
.acc.box .acc-b p { font-size: 12.5px; margin-bottom: 18px; }

/* ---------- promotion detail ---------- */
.narrow { max-width: 820px; margin: 0 auto; }
.crumbs { display: flex; align-items: center; gap: 12px; font-size: 12.5px; color: #c9cbcb; font-weight: 500; margin: 20px 0 12px; }
.crumbs b { color: #fff; font-weight: 700; }
.crumbs .back { width: 31px; height: 31px; }
.p-hero { position: relative; border-radius: var(--r); overflow: hidden; min-height: 280px; background: #0d0f0f; border: 1px solid var(--line); display: flex; isolation: isolate; margin-bottom: 18px; }
.p-hero .art { position: absolute; inset: 0 0 0 40%; z-index: -1; }
.p-hero .art > svg { width: 100%; height: 100%; }
.p-hero .art::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #0d0f0f, #0d0f0f00 40%); z-index: 1; }
.p-hero .copy { padding: 26px 32px; max-width: 420px; }
.p-hero h1 { margin: 0 0 8px; font-size: 30px; line-height: 1.12; font-weight: 700; letter-spacing: -.015em; }
.p-hero p { margin: 0 0 14px; color: #cfd1d1; font-size: 14.5px; }
.cdown { display: flex; gap: 5px; margin-bottom: 16px; }
.cdown div { width: 77px; height: 63px; background: #0a0a0a; border: 1px solid #1b1d1d; border-radius: var(--r-s); display: grid; place-items: center; align-content: center; gap: 1px; }
.cdown b { font-size: 23px; font-weight: 700; color: var(--green-t); line-height: 1; }
.cdown b.flip { animation: flip .4s ease; }
@keyframes flip { 40% { transform: translateY(-3px); opacity: .5; } }
.cdown span { font-size: 12px; color: #b8baba; }
.how { margin-bottom: 18px; }
.how h3 { margin: 0 0 12px; font-size: 15.5px; }
.how .st { display: flex; align-items: center; gap: 12px; padding: 12px 6px 12px 4px; }
.how .st + .st { border-top: 1px solid #1b1d1d; }
.how .n { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; flex: none; color: #c0c2c2; }
.how .n .i { width: 14px; height: 14px; stroke-width: 3; }
.how .st.cur .n { border: 1.5px solid #fff; color: #fff; }
.how .st.done .n { background: var(--green); color: #fff; }
.how .st b { display: block; font-size: 14px; }
.how .st span { font-size: 11.5px; color: var(--muted); }
.how .st em { margin-left: auto; font-style: normal; font-size: 12px; font-weight: 600; color: #a8aaaa; white-space: nowrap; }
.how .st.cur em { color: #fff; }
.how .st.done em { color: var(--green-t); }
.fold { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 14px; }
.fold > button { display: flex; align-items: center; justify-content: space-between; width: 100%; height: 63px; padding: 0 12px 0 16px; font-size: 15px; font-weight: 700; }
.fold > button .i { transition: transform .2s; width: 10px; height: 10px; }
.fold:not(.open) > button .i { transform: rotate(180deg); }
.fold > div { display: none; padding: 14px 16px 18px; border-top: 1px solid #161818; font-size: 13px; color: #c4c6c6; }
.fold.open > div { display: block; }
.fold ol { margin: 0 0 12px; padding-left: 18px; }
.fold ol li { margin-bottom: 6px; }
.fold p { margin: 0 0 12px; white-space: pre-line; }
.fold b { color: #fff; }
.fold a.u { color: #fff; font-weight: 600; text-decoration: underline; font-size: 14px; }
.wtbl { width: 100%; border: 1px solid #1b1d1d; border-radius: var(--r-s); border-collapse: separate; border-spacing: 0; overflow: hidden; margin: 12px 0 14px; }
.wtbl th { text-align: left; font-size: 11.5px; font-weight: 600; color: #b9bbbb; height: 44px; padding: 0 16px; }
.wtbl td { height: 46px; padding: 0 16px; border-top: 1px solid #1b1d1d; font-size: 12.5px; color: #c4c6c6; }
.wtbl td b { color: #fff; }
.promo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.promo-grid .banner { height: 200px; }
.promo-grid .banner p { margin: -4px 0 auto; font-size: 12.5px; color: #d6d8d8; max-width: 60%; }

/* ---------- rewards ---------- */
.tot { display: flex; align-items: center; gap: 20px; padding: 16px; margin: 6px 0 14px; flex-wrap: wrap; }
.tot .big span { display: block; font-size: 13px; font-weight: 700; }
.tot .big b { font-size: 29px; font-weight: 700; color: var(--green-t); letter-spacing: -.01em; }
.tot .parts { margin-left: auto; display: flex; gap: 42px; flex-wrap: wrap; }
.tot .parts div span { display: block; font-size: 10px; color: #b8baba; }
.tot .parts div b { font-size: 13px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.rank-card { min-height: 433px; position: relative; display: flex; flex-direction: column; overflow: hidden; }
.rank-card .info { position: absolute; top: 15px; right: 15px; color: #9ea0a0; }
.rank-card .info .i, .perk .info .i { width: 14px; height: 14px; }
.rank-card h3 { font-size: 13.5px; }
.rank-card .cur { font-size: 12.5px; color: #c5c7c7; }
.rank-card .cur b { color: #fff; }
.ring { position: relative; width: 170px; height: 170px; margin: 50px auto 22px; display: grid; place-items: center; isolation: isolate; }
.ring svg.r { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.ring .em { width: 96px; height: 96px; }
.ring::before { content: ''; position: absolute; inset: -70px; background: radial-gradient(circle, #0f2a1a 0, transparent 62%); z-index: -1; pointer-events: none; }
.rank-card .xp, .rank-card .btn-calc { position: relative; z-index: 1; }
.xp { text-align: center; font-size: 13px; color: #c9cbcb; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 6px; }
.xp b { color: var(--green-t); font-weight: 600; }
.xp .i { width: 12px; height: 12px; }
.btn-calc { margin: 12px auto 0; height: 26px; padding: 0 10px; font-size: 12px; background: #1d1f1f; border-radius: 6px; font-weight: 600; }
.btn-calc:hover { background: #262828; }
.next-card { padding: 15px 0 0; display: flex; flex-direction: column; min-height: 433px; }
.next-card .h { display: flex; align-items: center; justify-content: space-between; padding: 0 15px 12px; }
.next-card .h b { font-size: 13.5px; display: flex; align-items: center; gap: 3px; }
.next-card .h b .i { width: 12px; height: 12px; }
.next-card .list { overflow-y: auto; padding: 0 12px 12px 15px; flex: 1; max-height: 370px; mask-image: linear-gradient(#000 85%, transparent); -webkit-mask-image: linear-gradient(#000 85%, transparent); }
.nr { background: #111313; border: 1px solid #1b1d1d; border-radius: var(--r-s); padding: 12px; margin-bottom: 8px; }
.nr .top-l { display: flex; align-items: center; gap: 12px; }
.nr .em { width: 30px; height: 30px; flex: none; }
.nr .t { flex: 1; }
.nr .t b { display: block; font-size: 13px; margin-bottom: 6px; }
.nr .bar { display: flex; align-items: center; gap: 10px; }
.nr .bar div { flex: 1; height: 7px; border-radius: 4px; background: #070808; overflow: hidden; }
.nr .bar i { display: block; height: 100%; background: var(--green); border-radius: 4px; min-width: 3px; }
.nr .bar span { font-size: 10px; color: #8e9191; min-width: 44px; text-align: right; }
.nr .unl { font-size: 10.5px; color: #a5a7a7; margin: 12px 0 7px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chips span { height: 20px; padding: 0 9px; border-radius: 10px; border: 1px solid var(--green-line); color: #e9e9e9; font-size: 10.5px; font-weight: 600; display: inline-flex; align-items: center; background: #0c1711; }
.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 30px; }
.perk { min-height: 300px; display: flex; flex-direction: column; position: relative; }
.perk h3 { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.perk h3 .i { width: 14px; height: 14px; color: var(--green); }
.perk .info { position: absolute; top: 15px; right: 15px; color: #9ea0a0; }
.perk p { margin: 2px 0 0; font-size: 12.5px; color: #b9bbbb; }
.perk .chest { width: 120px; height: 100px; margin: 26px auto 18px; }
.perk .btn { margin-top: auto; height: 39px; font-size: 13px; }
.perk .btn:disabled { background: #1a1c1c; color: #6f7272; }
.perk .amt { text-align: center; font-size: 20px; font-weight: 700; color: var(--green-t); margin-bottom: 10px; }
.tier-h { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 12px; }
.tier-h b { display: block; font-size: 15px; }
.tier-h span { font-size: 11px; color: #c9cbcb; }
.tier-h a { color: #fff; text-decoration: underline; font-weight: 700; }
.ttbl { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.ttbl th { height: 45px; font-size: 13px; font-weight: 700; text-align: center; }
.ttbl th:first-child, .ttbl td:first-child { text-align: left; padding-left: 12px; width: 150px; }
.ttbl th span { display: inline-flex; align-items: center; gap: 8px; }
.ttbl th svg { width: 14px; height: 14px; }
.ttbl td { height: 45px; text-align: center; border-top: 1px solid #191b1b; font-size: 13px; color: #b9bbbb; }
.ttbl td.v { color: #fff; font-weight: 600; }
.ttbl td .i { width: 13px; height: 13px; color: var(--green-t); display: inline-block; }
.note-i { display: flex; align-items: center; gap: 8px; font-size: 11px; color: #c9cbcb; margin-top: 12px; }
.note-i .i { width: 13px; height: 13px; }

/* ---------- VIP transfer ---------- */
.vt-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: center; min-height: 600px; margin-top: -16px; }
.vt-hero h1 { margin: 0 0 24px; font-size: 75px; line-height: 1.17; font-weight: 700; letter-spacing: -.03em; }
.vt-hero p { margin: 0 0 30px; font-size: 19px; color: #c8caca; line-height: 1.35; max-width: 560px; }
.cta-row { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-row .btn { height: 48px; padding: 0 20px; font-size: 15px; }
.cta-row .btn .i { width: 18px; height: 18px; }
.ulink { color: #c0c2c2; text-decoration: underline; text-underline-offset: 3px; font-size: 13.5px; font-weight: 500; }
.ulink:hover { color: #fff; }
.vt-chips { display: flex; gap: 12px; margin-top: 30px; padding-top: 24px; border-top: 1px solid #1d1f1f; max-width: 552px; }
.vt-chips div { flex: 1; border: 1px solid #222424; border-radius: var(--r-s); height: 64px; display: grid; place-items: center; align-content: center; text-align: center; }
.vt-chips span { font-size: 9.5px; color: #b0b2b2; }
.vt-chips b { font-size: 13px; font-weight: 700; }
.vt-art { position: relative; height: 560px; }
.vt-art > svg { width: 100%; height: 100%; }
.cert { display: flex; justify-content: center; margin: -20px 0 0 50%; }
.cert span { display: inline-flex; align-items: center; gap: 6px; height: 27px; padding: 0 12px; border: 1px solid #222424; border-radius: 6px; font-size: 11.5px; font-weight: 600; }
.cert .i { width: 12px; height: 12px; color: var(--green); }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--card); border: 1px solid var(--line); border-radius: var(--r); margin: 40px 0 110px; }
.kpis > div { padding: 24px 25px; }
.kpis > div + div { border-left: 1px solid #1b1d1d; }
.kpis span { display: block; font-size: 10px; color: #c5c7c7; }
.kpis b { display: block; font-size: 37px; font-weight: 700; letter-spacing: -.02em; margin: 2px 0 6px; }
.kpis b.g { color: var(--green-t); }
.kpis em { display: block; font-style: normal; font-size: 10px; color: var(--green-t); font-weight: 600; margin-bottom: 3px; }
.kpis p { margin: 0; font-size: 14px; color: #c5c7c7; line-height: 1.3; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 120px; }
.eyebrow { font-size: 10.5px; font-weight: 600; color: var(--green-t); margin-bottom: 14px; }
.split h2, .cta-end h2 { margin: 0 0 16px; font-size: 37px; line-height: 1.2; font-weight: 700; letter-spacing: -.02em; }
.split p { font-size: 15px; color: #c5c7c7; margin: 0; max-width: 470px; }
.lst { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.lst > div { display: flex; gap: 22px; padding: 22px 26px; }
.lst > div + div { border-top: 1px solid #1b1d1d; }
.lst .i { width: 22px; height: 22px; color: var(--green-t); flex: none; margin-top: 12px; }
.lst span { display: block; font-size: 10.5px; color: #b2b4b4; font-weight: 600; }
.lst b { display: block; font-size: 16px; margin: 2px 0 4px; }
.lst p { font-size: 13px; margin: 0; color: #c5c7c7; }
.faq { max-width: 800px; margin: 0 auto 120px; text-align: center; }
.faq .eyebrow { color: #b9bbbb; }
.faq h2 { margin: 0 0 8px; font-size: 37px; font-weight: 700; letter-spacing: -.02em; }
.faq .sub { margin: 0 0 26px; color: #b9bbbb; font-size: 13.5px; }
.faq .accs { text-align: left; border-top: 1px solid #1d1f1f; }
.cta-end { display: grid; grid-template-columns: 1fr 1fr; align-items: center; min-height: 340px; margin-bottom: 60px; }
.cta-end p { font-size: 19px; color: #c8caca; margin: 0 0 30px; }
.cta-end .vt-art { height: 300px; }
.links-row { display: flex; gap: 22px; padding-bottom: 20px; border-bottom: 1px solid #1d1f1f; flex-wrap: wrap; }
.links-row a { font-size: 13.5px; color: #c0c2c2; }
.links-row a:hover { color: #fff; }
.walk { display: flex; align-items: center; gap: 16px; font-size: 13.5px; color: #c0c2c2; margin: 16px 0 10px; }
.walk b { color: #fff; }
.walk .age { width: 30px; height: 30px; font-size: 10px; border-width: 1px; border-color: #555; color: #aaa; }
.fine { font-size: 11.5px; color: #a8aaaa; margin: 0; }

/* ---------- affiliate ---------- */
.af-hero { position: relative; margin-top: -16px; padding: 70px 0 100px; overflow: hidden; isolation: isolate; }
.af-wall { position: absolute; inset: -60px -40px; z-index: -2; display: grid; grid-template-columns: repeat(10, 1fr); gap: 18px; transform: perspective(900px) rotateY(-14deg) rotateX(6deg) scale(1.15); opacity: .5; }
.af-wall div { aspect-ratio: 3 / 4; border-radius: 10px; background: #161818 center / cover; }
.af-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 70% at 50% 40%, #0a0a0acc, #0a0a0af2 70%), linear-gradient(#0a0a0a00 60%, #0a0a0a); }
.af-in { display: grid; grid-template-columns: 1fr 492px; gap: 40px; align-items: center; max-width: 1040px; margin: 0 auto; padding: 0 24px; }
.tagpill { display: inline-flex; height: 20px; padding: 0 8px; border-radius: 6px; background: #1d1f1f; font-size: 10.5px; font-weight: 600; align-items: center; margin-bottom: 14px; }
.af-in h1 { margin: 0 0 18px; max-width: 470px; font-size: 45px; line-height: 1.33; font-weight: 700; letter-spacing: -.02em; }
.af-in p { margin: 0 0 14px; font-size: 14px; color: #c5c7c7; max-width: 460px; }
.ticks { display: grid; gap: 12px; margin-top: 6px; }
.ticks div { display: flex; align-items: center; gap: 12px; font-size: 14px; color: #c5c7c7; }
.ticks b { color: #fff; }
.ticks .tk { width: 19px; height: 19px; border-radius: 50%; background: #0f8a3f; display: grid; place-items: center; flex: none; }
.ticks .tk .i { width: 11px; height: 11px; color: #071a0e; stroke-width: 3; }
.refbox { position: relative; background: #1a1c1ccc; border: 1px solid #2a2c2c; border-radius: var(--r); padding: 20px 18px 22px; backdrop-filter: blur(6px); }
.refbox .hand { position: absolute; top: -78px; right: 70px; font: italic 600 18px/1.05 'Segoe Script', 'Comic Sans MS', cursive; text-align: center; transform: rotate(-4deg); }
.refbox .hand svg { width: 16px; height: 22px; margin: 4px auto 0; }
.refbox .lbl { font-size: 10.5px; color: #c5c7c7; display: block; margin-bottom: 10px; }
.refbox .rr2 { display: flex; gap: 8px; margin-bottom: 12px; }
.refbox .rr2 .inp { height: 46px; text-align: center; font-size: 19px; font-weight: 700; border-color: #12933f; text-transform: uppercase; }
.refbox .rr2 .btn { height: 46px; width: 74px; }
.refbox .btn-green { height: 46px; width: 100%; }
.refbox .nt { display: flex; gap: 8px; margin-top: 12px; font-size: 11.5px; color: #b9bbbb; }
.refbox .nt .i { width: 12px; height: 12px; color: var(--green-t); margin-top: 2px; }
.refbox .live { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.refbox .live b { font-size: 26px; letter-spacing: .02em; }
.mid-h { text-align: center; margin: 60px 0 30px; }
.mid-h .tagpill { margin-bottom: 12px; }
.mid-h h2 { margin: 0 0 18px; font-size: 32px; line-height: 1.2; font-weight: 700; letter-spacing: -.01em; }
.mid-h p { margin: 0; color: #c5c7c7; font-size: 14.5px; }
.steps3 { max-width: 1040px; margin: 0 auto 80px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps3 > div { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 30px 30px 36px; }
.steps3 em { display: block; font-style: normal; font-size: 18px; font-weight: 700; color: var(--green-t); margin-bottom: 26px; }
.steps3 b { display: block; font-size: 15px; margin-bottom: 8px; }
.steps3 p { margin: 0; font-size: 11.5px; color: #b9bbbb; }
.af-faq { max-width: 1040px; margin: 0 auto; }
.af-stats { max-width: 1040px; margin: 0 auto 30px; }

/* ---------- account ---------- */
.acct-head { margin: -2px 0 22px; }
.acct-head h1 { margin: 0 0 2px; font-size: 35px; font-weight: 700; letter-spacing: -.015em; }
.acct-head p { margin: 0; font-size: 14px; color: #b4b6b6; }
.acct-tabs { display: flex; gap: 6px; margin-bottom: 14px; flex-wrap: wrap; }
.acct-tabs a { height: 38px; padding: 0 16px; border-radius: 19px; background: #1a1c1c; font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; transition: background .2s, color .2s; }
.acct-tabs a:hover { background: #232525; }
.acct-tabs a.on { background: #e9e9e9; color: #111; }
.pform { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pform .field { margin-bottom: 4px; }
.inp-wrap { position: relative; }
.inp-wrap .inp { padding-right: 80px; }
.inp-wrap .act { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); display: flex; gap: 8px; align-items: center; color: #b9bbbb; }
.inp-wrap .act .i { width: 14px; height: 14px; }
.right { display: flex; justify-content: flex-end; }
.act-h { display: flex; align-items: center; justify-content: space-between; margin: 0 0 18px; }
.act-h h1 { margin: 0; font-size: 24px; font-weight: 700; }
.act-card { min-height: 378px; }
.act-card .tabset { background: transparent; margin-bottom: 18px; }
.lnk-row { display: flex; align-items: center; gap: 12px; padding: 6px 0; }
.lnk-row svg { width: 18px; height: 18px; }
.lnk-row b { display: block; font-size: 13px; }
.lnk-row span { font-size: 11px; color: var(--muted); }
.lnk-row .btn { margin-left: auto; }

/* ---------- game page ---------- */
.stage { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.stage-frame { position: relative; aspect-ratio: 16 / 9; background: #050606; }
.stage-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.stage-cover { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 20px; overflow: hidden; }
.stage-cover .cbg { position: absolute; inset: -20px; background: center / cover; filter: blur(26px) brightness(.35); transform: scale(1.1); }
.stage-cover > div { position: relative; display: grid; justify-items: center; gap: 12px; }
.stage-cover .th { width: 150px; aspect-ratio: 97 / 135; border-radius: 8px; overflow: hidden; position: relative; box-shadow: 0 20px 40px #000a; }
.stage-cover .th img { width: 100%; height: 100%; object-fit: cover; }
.stage-cover h2 { margin: 4px 0 0; font-size: 22px; }
.stage-cover p { margin: 0; color: var(--muted); }
.stage-cover .r { display: flex; gap: 10px; }
.stage-bar { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); }
.stage-bar .gt b { display: block; font-size: 14px; }
.stage-bar .gt span { font-size: 12px; color: var(--muted); }
.stage-bar .sp { flex: 1; }
.sq { width: 37px; height: 37px; border-radius: var(--r-s); background: var(--btn); display: grid; place-items: center; }
.sq:hover { background: var(--btn-h); }
.sq .i { width: 17px; height: 17px; }
.sq.on { color: var(--red); }
.sq.on .i { fill: currentColor; }
body.theatre .main { margin-left: 0; }
body.theatre .side { transform: translateX(-100%); }
body.theatre .stage-frame { aspect-ratio: auto; height: calc(100vh - 170px); }

/* ---------- modals ---------- */
.overlay { position: fixed; inset: 0; z-index: 100; background: #000000b8; backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); display: grid; place-items: center; padding: 20px; animation: fadeIn .18s ease; overflow-y: auto; }
@keyframes fadeIn { from { opacity: 0; } }
.modal { position: relative; background: #121414; border: 1px solid #1d1f1f; border-radius: 12px; width: 100%; max-width: 480px; animation: modalIn .24s cubic-bezier(.2, .9, .3, 1.15); box-shadow: 0 30px 90px #000; }
@keyframes modalIn { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.mx { position: absolute; top: 17px; right: 17px; width: 30px; height: 30px; border-radius: 6px; display: grid; place-items: center; color: #fff; z-index: 3; }
.mx:hover { background: #1d1f1f; }
.mx .i { width: 17px; height: 17px; }
.mhead { padding: 22px 22px 0; }
.mhead h2 { margin: 0; font-size: 18px; font-weight: 700; }
.mhead p { margin: 4px 0 0; font-size: 11.5px; color: #b9bbbb; }
.mbody { padding: 18px 22px 22px; }
.modal.auth { max-width: 855px; display: grid; grid-template-columns: 428px 1fr; overflow: hidden; min-height: 533px; }
.auth-art { position: relative; overflow: hidden; background: #071209; isolation: isolate; }
.auth-art svg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.auth-art .copy { position: absolute; left: 24px; right: 20px; bottom: 33px; }
.wo { display: inline-flex; height: 25px; padding: 0 12px; align-items: center; background: #f5c400; color: #1d1400; border-radius: 3px; font-weight: 700; font-size: 13px; transform: skewX(-6deg); margin-bottom: 4px; }
.auth-art h3 { margin: 0; font-size: 53px; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.auth-art h3 .g { color: #3fd07a; }
.auth-art p { margin: 4px 0 0; font-size: 14.5px; font-weight: 700; }
.auth-side { display: flex; flex-direction: column; min-width: 0; }
.auth-side .lh { display: flex; justify-content: center; align-items: center; height: 80px; border-bottom: 1px solid #1d1f1f; position: relative; }
.auth-side .lh .mx { top: 25px; right: 25px; }
.auth-side .lh .back { position: absolute; left: 22px; top: 24px; background: none; }
.auth-side .ab { padding: 22px 25px 24px; flex: 1; display: flex; flex-direction: column; }
.seg2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; padding: 2px; background: #0d0f0f; border: 1px solid #1b1d1d; border-radius: var(--r-s); margin-bottom: 18px; }
.seg2 button { height: 31px; border-radius: 6px; font-size: 13.5px; font-weight: 700; border: 1.5px solid transparent; }
.seg2 button.on { border-color: #12933f; background: #0a1a10; }
.auth-side .btn-green { height: 39px; width: 100%; font-size: 13.5px; }
.or { text-align: center; font-size: 11.5px; color: #b9bbbb; margin: 14px 0; }
.small { font-size: 11px; color: #b9bbbb; text-align: center; margin-top: auto; padding-top: 14px; }
.small a { color: #fff; font-weight: 600; }
.ab h4 { margin: 0 0 2px; font-size: 15px; }
.ab .hint { margin: 0 0 14px; font-size: 11px; color: #b9bbbb; }
.ab .setrow { margin-bottom: 12px; }
.ab .inl { display: flex; gap: 8px; }
.ab .inl .btn { height: 39px; }
.ab .field { margin-bottom: 12px; }
.modal.wallet { max-width: 858px; padding: 30px 30px 28px; }
.wtabs { display: inline-flex; gap: 2px; padding: 2px; border: 1px solid #1d1f1f; border-radius: var(--r-s); margin-bottom: 20px; flex-wrap: wrap; }
.wtabs button { height: 31px; padding: 0 16px; border-radius: 6px; font-size: 13.5px; font-weight: 700; border: 1.5px solid transparent; }
.wtabs button.on { border-color: #12933f; background: #0a1a10; }
.modal.wallet .mx { top: 34px; right: 34px; }
.wgrid { display: grid; grid-template-columns: 369px 1fr; gap: 21px; min-height: 506px; }
.wl { display: flex; flex-direction: column; }
.coins { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-bottom: 9px; }
.coinb { height: 47px; border-radius: var(--r-s); background: #1a1c1c; border: 1.5px solid transparent; display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-weight: 700; font-size: 13px; }
.coinb:hover { background: #202222; }
.coinb.on { border-color: #12933f; background: #142019; }
.coinb:disabled { opacity: .35; }
.coinb svg { width: 24px; height: 24px; }
.balrow { height: 46px; display: flex; align-items: center; gap: 10px; padding: 0 14px; background: #1a1c1c; border-radius: var(--r-s); border: 1.5px solid transparent; font-size: 13.5px; color: #c9cbcb; margin-bottom: 9px; }
.balrow b { margin-left: auto; color: #fff; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; }
.balrow b svg { width: 19px; height: 19px; }
.balrow.v { border-color: #12933f; }
.bounty { display: block; border-radius: var(--r-s); padding: 12px; background: linear-gradient(120deg, #111313, #1c1e1e); border: 1px solid #262828; border-left: 2px solid #12933f; margin-bottom: 9px; }
.bounty small { display: block; font-size: 10.5px; color: #a8aaaa; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; }
.bounty b { display: block; font-size: 13.5px; margin: 3px 0 7px; }
.bounty .r { display: flex; justify-content: space-between; font-size: 11px; color: #a8aaaa; }
.bounty .r span:last-child { color: var(--green-t); font-weight: 700; }
.redeem { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: var(--r-s); border: 1px solid #1d1f1f; text-align: left; width: 100%; }
.redeem .icon-sq { background: #102a19; color: var(--green-t); }
.redeem b { display: block; font-size: 13px; }
.redeem span { font-size: 11px; color: #a8aaaa; }
.wl .va { margin-top: auto; height: 39px; width: 100%; }
.wr { background: #1d1f1f; border-radius: var(--r); padding: 18px 20px; display: flex; flex-direction: column; }
.wr .lbl { margin-bottom: 7px; display: flex; align-items: center; gap: 6px; font-size: 13px; }
.wr .lbl .i { width: 13px; height: 13px; color: #a8aaaa; }
.netsel { height: 39px; display: flex; align-items: center; gap: 9px; padding: 0 12px; background: #262828; border-radius: var(--r-s); font-weight: 700; font-size: 13.5px; position: relative; margin-bottom: 14px; }
.netsel svg { width: 18px; height: 18px; }
.netsel .tri { margin-left: auto; width: 10px; height: 10px; color: #a8aaaa; }
.netsel select { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.netsel.dis { color: #8e9191; }
.addr { display: flex; gap: 13px; align-items: center; margin-bottom: 15px; }
.qr { width: 120px; height: 120px; border-radius: var(--r-s); background: #fff; padding: 5px; flex: none; }
.qr img { width: 100%; height: 100%; }
.addr .ad { flex: 1; min-width: 0; }
.addr .lbl { margin-bottom: 9px; }
.addr .copyline { background: #141616; border: 0; height: 47px; }
.warnbox { border: 1px solid #7a5d12; background: #2d2405; color: #f3c01b; border-radius: var(--r-s); padding: 11px 14px; font-size: 12.5px; font-weight: 600; text-align: center; margin-bottom: 18px; }
.kv { display: flex; justify-content: space-between; font-size: 13.5px; color: #c9cbcb; margin-bottom: 14px; }
.kv b { color: #fff; }
.amtbox { display: flex; align-items: center; gap: 12px; min-height: 63px; padding: 8px 14px; background: #141616; border-radius: var(--r-s); margin-bottom: 9px; }
.amtbox svg { width: 23px; height: 23px; flex: none; }
.amtbox > div { flex: 1; min-width: 0; }
.amtbox input { width: 100%; background: none; border: 0; outline: 0; font-size: 25px; font-weight: 700; color: #fff; padding: 0; }
.amtbox input::placeholder { color: #5f6262; }
.amtbox small { display: flex; align-items: center; gap: 5px; font-size: 11px; color: #8e9191; }
.amtbox small svg { width: 11px; height: 11px; display: inline-block; }
.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; margin-bottom: 18px; }
.quick button { height: 31px; border-radius: 6px; background: #262828; font-size: 12.5px; font-weight: 700; }
.quick button:hover { background: #303232; }
.wr .note { font-size: 11px; color: #a8aaaa; margin: -6px 0 14px; }
.wr .note a { color: var(--green-t); }
.wr .btn-green { height: 47px; width: 100%; font-size: 14.5px; }
.wr .flow { display: flex; justify-content: center; align-items: center; gap: 10px; font-size: 11px; color: #a8aaaa; margin: auto 0 9px; }
.wr .flow span, .wr .flow b { display: inline-flex; gap: 5px; align-items: center; }
.wr .flow b { color: var(--green-t); font-weight: 600; }
.wr .flow .i { width: 12px; height: 12px; }
.wr .desc { font-size: 11.5px; color: #c5c7c7; margin: 0 0 14px; }
.wr .seg2 { background: #141616; border: 0; margin-bottom: 12px; }
.wr .seg2 button { height: 33px; }
.wr .confirm { margin-top: 4px; padding-top: 14px; border-top: 1px solid #2a2c2c; }
.wr .confirm .two { display: grid; grid-template-columns: 1fr 1.5fr; gap: 8px; margin-bottom: 8px; }
.wr .inp { background: #141616; border-color: #2a2c2c; }
.wr .hist { margin-top: 14px; }
.wr .hist div { display: flex; justify-content: space-between; align-items: center; font-size: 12px; padding: 6px 0; border-top: 1px solid #2a2c2c; }
.wr .hist span { color: #a8aaaa; font-size: 11px; }
.modal.search { max-width: 720px; padding: 0; }
.search .mhead { padding: 30px 25px 0; }
.search .mx { top: 26px; right: 22px; }
.search .sb { margin: 18px 25px 0; height: 47px; }
.search .sb .k { border: 1px solid #2a2c2c; border-radius: 4px; padding: 1px 5px; font-size: 10px; }
.search .res { padding: 26px 25px 6px; height: 470px; max-height: 60vh; overflow-y: auto; }
.search .lab { font-size: 11.5px; font-weight: 600; color: #b9bbbb; text-transform: uppercase; letter-spacing: .02em; margin-bottom: 14px; }
.search .row { --gap: 10px; grid-auto-columns: calc((100% - 5 * 10px) / 5.4); margin-bottom: 18px; }
.search .jl a { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: var(--r-s); }
.search .jl a:hover, .search .jl a.kb { background: #1b1d1d; }
.search .jl .th { width: 34px; height: 34px; border-radius: 6px; overflow: hidden; position: relative; background: #1b1d1d; flex: none; }
.search .jl .th img { width: 100%; height: 100%; object-fit: cover; }
.search .jl b { display: block; font-size: 13px; }
.search .jl span { font-size: 11px; color: var(--muted); }
.search .res .grid8 { grid-template-columns: repeat(6, 1fr); gap: 10px; }
.keys { display: flex; gap: 18px; padding: 14px 25px 16px; border-top: 1px solid #1d1f1f; font-size: 10.5px; color: #a8aaaa; }
.keys kbd { display: inline-grid; place-items: center; min-width: 15px; height: 15px; padding: 0 3px; margin-right: 4px; border-radius: 3px; background: #1d1f1f; font: inherit; font-size: 9px; color: #ddd; }
.modal.fs { max-width: 677px; padding: 22px 24px 22px; text-align: center; overflow: hidden; }
.fs .logo { justify-content: center; }
.fs .logo .word { font-size: 25px; }
.fs .logo .mark { width: 26px; height: 26px; }
.fs h2 { margin: 6px 0 16px; font-size: 47px; line-height: 1.12; font-weight: 700; letter-spacing: -.02em; }
.fs h2 .g { color: #3fd07a; }
.fs .art { position: relative; height: 222px; border-radius: 10px; overflow: hidden; background: #0a1a10; text-align: left; margin: 0 0 18px; border: 1px solid #1d1f1f; }
.fs .art > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.fs .art .copy { position: absolute; left: 30px; top: 50%; transform: translateY(-50%); }
.fs .art b { display: block; font-size: 33px; font-weight: 700; letter-spacing: -.02em; }
.fs .art b .g { color: #3fd07a; }
.fs .art .copy > span { font-size: 14px; font-weight: 500; color: #d0d2d2; }
.fs .btns { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0 84px; }
.fs .btns .btn { height: 40px; font-size: 14px; }
.fs .tc { display: inline-block; margin-top: 10px; font-size: 11.5px; color: #c0c2c2; text-decoration: underline; }
.mini-fs { position: fixed; z-index: 90; top: 110px; left: calc(var(--side-w) + (100% - var(--side-w)) / 2); transform: translateX(-50%); width: 440px; max-width: calc(100% - 32px); background: #121414; border: 1px solid #1d1f1f; border-radius: 12px; padding: 10px 10px 18px; text-align: center; box-shadow: 0 20px 60px #000c; animation: fadeIn .3s ease; }
.mini-fs .art { height: 200px; border-radius: 9px; overflow: hidden; position: relative; }
.mini-fs .art > svg { width: 100%; height: 100%; }
.mini-fs b { display: block; font-size: 17px; margin: 14px 0 12px; }
.mini-fs .r { display: flex; justify-content: center; gap: 10px; }
.mini-fs .btn { height: 34px; padding: 0 16px; font-size: 13px; }
.modal.calc { max-width: 618px; padding: 33px 33px 30px; max-height: calc(100vh - 40px); overflow-y: auto; }
.calc .mx { top: 28px; right: 28px; }
.calc h2 { margin: 0 0 26px; font-size: 21px; }
.calc .hint { font-size: 12.5px; color: #b9bbbb; margin: 0 0 12px; }
.box { background: #0d0f0f; border: 1px solid #1b1d1d; border-radius: var(--r); padding: 20px; margin-bottom: 13px; }
.calc .tgt { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.calc .tgt .em { width: 36px; height: 36px; }
.calc .tgt small { display: block; font-size: 12px; color: #b9bbbb; }
.calc .tgt b { font-size: 17px; }
.calc .tgt .xpv { margin-left: auto; font-size: 27px; font-weight: 700; }
.calc input[type=range] { width: 100%; accent-color: var(--green); height: 22px; margin: 0 0 20px; }
.calc .grp6 { display: grid; grid-template-columns: repeat(6, 1fr); text-align: center; font-size: 12.5px; color: #c5c7c7; }
.calc .grp6 button { display: grid; justify-items: center; gap: 6px; padding: 4px 0; border-radius: 6px; }
.calc .grp6 button.on { color: #fff; font-weight: 700; }
.calc .grp6 svg { width: 22px; height: 22px; }
.calc .res2 { background: #0f2117; border: 1px solid #173a24; border-radius: var(--r); text-align: center; padding: 24px 0 22px; margin-bottom: 14px; }
.calc .res2 b { display: block; font-size: 44px; font-weight: 700; color: var(--green-t); letter-spacing: -.02em; line-height: 1.05; }
.calc .res2 span { font-size: 13px; color: #c5c7c7; }
.calc .gt { border: 1px solid #1b1d1d; border-radius: var(--r); overflow: hidden; margin-bottom: 13px; }
.calc .gt .hd, .calc .gt label { display: grid; grid-template-columns: 1fr 100px 100px; align-items: center; padding: 0 16px; }
.calc .gt .hd { height: 32px; font-size: 11px; color: #b9bbbb; }
.calc .gt .hd span:not(:first-child), .calc .gt label span:not(:first-child) { text-align: right; }
.calc .gt label { height: 45px; border-top: 1px solid #1b1d1d; font-size: 15px; color: #c5c7c7; cursor: pointer; }
.calc .gt label.on { background: #0f1a14; color: #fff; font-weight: 700; }
.calc .gt label .nm { display: flex; align-items: center; gap: 12px; }
.calc .gt label input { accent-color: var(--green); margin: 0; width: 14px; height: 14px; }
.calc .gt label span:last-child { color: var(--green-t); font-weight: 700; }
.calc .gtk { font-size: 12px; color: #c5c7c7; line-height: 1.45; padding: 14px 16px; }
.calc .gtk b { display: block; color: #fff; font-size: 13px; margin-bottom: 5px; }
.modal.ranks { max-width: 780px; padding: 30px 33px 26px; max-height: calc(100vh - 40px); display: flex; flex-direction: column; }
.ranks h2 { margin: 0; font-size: 18px; }
.ranks .sub { margin: 3px 0 18px; font-size: 12.5px; color: #c5c7c7; }
.ranks .mx { top: 28px; right: 30px; }
.ranks .rl { overflow-y: auto; flex: 1; padding-right: 8px; }
.rrk { display: flex; align-items: center; gap: 14px; height: 50px; padding: 0 14px 0 8px; background: #0d0f0f; border: 1px solid #1b1d1d; border-radius: var(--r-s); margin-bottom: 4px; }
.rrk .em { width: 32px; height: 32px; flex: none; }
.rrk b { width: 100px; font-size: 14px; flex: none; }
.rrk .bar { flex: 1; height: 8px; border-radius: 4px; background: #070808; overflow: hidden; }
.rrk .bar i { display: block; height: 100%; background: var(--green); min-width: 3px; border-radius: 4px; }
.rrk span { font-size: 11px; color: #a8aaaa; min-width: 52px; text-align: right; }
.rrk.done b { color: var(--green-t); }

/* ---------- chat ---------- */
.chat-btn { position: fixed; z-index: 45; right: 22px; bottom: 12px; width: 45px; height: 45px; border-radius: 10px; background: var(--green); display: grid; place-items: center; box-shadow: 0 8px 24px #0008; transition: transform .2s, right .25s ease; }
.chat-btn:hover { transform: scale(1.06); }
.chat-btn svg { width: 22px; height: 22px; }
body.chat-open .chat-btn { right: calc(var(--chat-w) + 22px); }
.chat { position: fixed; z-index: 44; top: 0; right: 0; bottom: 0; width: var(--chat-w); background: var(--chat); border-left: 1px solid #1a1c1c; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .25s ease; }
body.chat-open .chat { transform: none; }
.chat-h { height: 48px; display: flex; align-items: center; padding: 0 9px; gap: 6px; font-size: 13.5px; font-weight: 700; flex: none; }
.chat-h .sp { flex: 1; }
.chat-h button.ic { width: 28px; height: 28px; border-radius: 6px; display: grid; place-items: center; color: #b9bbbb; }
.chat-h button.ic:hover { background: #1b1d1d; }
.chat-h .i { width: 14px; height: 14px; }
.chat-h .on-n { font-size: 11px; color: var(--muted); font-weight: 500; display: inline-flex; align-items: center; gap: 5px; }
.chat-h .on-n i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.chat-pin { margin: 0 4px 6px 6px; padding: 10px; border-radius: 6px; border: 1px solid #1d4a2e; background: linear-gradient(135deg, #0f2a19, #121414 70%); flex: none; }
.chat-pin .r1 { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; font-weight: 700; color: var(--green-t); }
.chat-pin .r1 span { color: #fff; }
.chat-pin p { margin: 8px 0 0; font-size: 11px; color: #c5c7c7; }
.chat-list { flex: 1; overflow-y: auto; padding: 4px 6px 8px; display: flex; flex-direction: column; gap: 4px; }
.msg { background: #181a1a; border-radius: 6px; padding: 8px 10px; font-size: 12.5px; animation: chipIn .3s ease both; overflow-wrap: anywhere; }
.msg b { font-size: 12px; margin-right: 5px; color: #e2e2e2; }
.msg b.me { color: var(--green-t); }
.msg .t { float: right; font-size: 10px; color: #6f7272; margin-left: 6px; }
.msg .x { float: right; font-size: 10px; color: #8e9191; margin-left: 6px; opacity: 0; }
.msg:hover .x { opacity: 1; }
.chat-skel { height: 52px; border-radius: 6px; background: #161818; flex: none; }
.chat-lock { flex: none; margin: 0 6px; padding: 12px 10px 10px; border-top: 1px solid #1b1d1d; }
.chat-lock .r1 { display: flex; gap: 8px; font-size: 11.5px; font-weight: 700; margin-bottom: 12px; }
.chat-lock .r1 .i { width: 13px; height: 13px; margin-top: 2px; }
.chat-lock .feat { display: flex; gap: 10px; margin-bottom: 12px; }
.chat-lock .feat .i { width: 16px; height: 16px; flex: none; margin-top: 1px; }
.chat-lock .feat b { display: block; font-size: 12px; }
.chat-lock .feat span { font-size: 10.5px; color: #b9bbbb; }
.chat-lock .pb { height: 4px; border-radius: 2px; background: #262828; overflow: hidden; margin: 6px 0; }
.chat-lock .pb i { display: block; height: 100%; background: var(--green); }
.chat-lock .pr { display: flex; justify-content: space-between; font-size: 11.5px; font-weight: 700; }
.chat-lock .pr span:first-child { color: #c5c7c7; }
.chat-in { flex: none; margin: 0 6px 8px; display: flex; align-items: center; gap: 6px; height: 38px; padding: 0 8px 0 12px; background: #181a1a; border-radius: 6px; }
.chat-in input { flex: 1; background: none; border: 0; outline: 0; font-size: 12.5px; color: #fff; min-width: 0; }
.chat-in input::placeholder { color: #6f7272; }
.chat-in button { color: #b9bbbb; }
.chat-in button .i { width: 16px; height: 16px; }

/* ---------- toasts ---------- */
.toasts { position: fixed; z-index: 200; right: 20px; top: 66px; display: grid; gap: 8px; }
.toast { display: flex; gap: 10px; align-items: center; min-width: 240px; max-width: 360px; background: #161818; border: 1px solid #262828; border-left: 3px solid var(--green); border-radius: var(--r-s); padding: 11px 14px; font-size: 13px; font-weight: 600; box-shadow: 0 12px 30px #000a; animation: toastIn .3s ease; }
.toast.bad { border-left-color: var(--red); }
.toast .i { width: 16px; height: 16px; color: var(--green-t); }
.toast.bad .i { color: var(--red); }
.toast.out { opacity: 0; transform: translateX(20px); transition: .3s; }
@keyframes toastIn { from { opacity: 0; transform: translateX(20px); } }
.burst { position: fixed; z-index: 300; width: 7px; height: 7px; border-radius: 2px; pointer-events: none; animation: burst 1s ease-out forwards; }
@keyframes burst { to { transform: translate(var(--dx), var(--dy)) rotate(260deg); opacity: 0; } }

/* ---------- admin ---------- */
.adm .tbl td { white-space: normal; }
.json { max-width: 320px; max-height: 80px; overflow: auto; font-family: ui-monospace, monospace; font-size: 11px; color: var(--muted); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.input-row { display: flex; gap: 8px; }
.adm .card { margin-bottom: 14px; }
.chk { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; }

/* ---------- responsive ---------- */
.scrim { display: none; }
@media (max-width: 1280px) {
  body.chat-open .main { margin-right: 0; }
  body.chat-open .chat-btn { right: 22px; }
  .chat { box-shadow: -20px 0 60px #000a; }
}
@media (max-width: 1100px) {
  .side { transform: translateX(-100%); }
  body.menu-open .side { transform: none; }
  body.menu-open .scrim { display: block; position: fixed; inset: 0; z-index: 39; background: #000a; }
  .main { margin-left: 0; }
  .top .burger { display: grid; }
  .mini-fs { left: 50%; }
  .grid8 { grid-template-columns: repeat(6, 1fr); }
  .perks { grid-template-columns: repeat(2, 1fr); }
  .vt-hero h1 { font-size: 56px; }
}
@media (max-width: 860px) {
  .banners { grid-template-columns: 1fr; }
  .banner { height: 150px; }
  .cats { flex-direction: column; }
  .cat-tabs { overflow-x: auto; }
  .row { grid-auto-columns: calc((100% - 3 * var(--gap)) / 3.4); }
  .provs { grid-auto-columns: calc((100% - 2 * var(--gap)) / 2.6); }
  .grid8 { grid-template-columns: repeat(4, 1fr); gap: 10px; }
  .two-col, .split, .cta-end, .vt-hero, .af-in, .pform, .grid2 { grid-template-columns: 1fr; }
  .kpis, .stats { grid-template-columns: 1fr 1fr; }
  .kpis > div + div { border-left: 0; }
  .steps3, .promo-grid { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .modal.auth { grid-template-columns: 1fr; }
  .auth-art { min-height: 190px; }
  .auth-art h3 { font-size: 38px; }
  .wgrid { grid-template-columns: 1fr; }
  .top-mid .wallet-btn span { display: none; }
  .rw-pill { display: none; }
  .tot .parts { margin-left: 0; gap: 20px; }
  .vt-art { height: 320px; }
  .board { overflow-x: auto; }
  .cert { margin-left: 0; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 32px); }
  .logo .word { font-size: 21px; }
  .top-right .hide-s { display: none; }
  .row { grid-auto-columns: calc((100% - 2 * var(--gap)) / 2.6); }
  .grid8 { grid-template-columns: repeat(3, 1fr); }
  .perks, .kpis, .stats { grid-template-columns: 1fr; }
  .vt-hero h1 { font-size: 44px; }
  .acct-head h1 { font-size: 26px; }
  .modal.wallet { padding: 20px 16px; }
  .coins { grid-template-columns: repeat(2, 1fr); }
  .p-hero .art { opacity: .35; inset: 0; }
  .cdown div { width: 62px; }
  .chat { width: 100%; }
  .foot-cols { grid-template-columns: 1fr; }
  .af-in h1 { font-size: 32px; }
  .tbl .hide-s { display: none; }
  .fs .btns { padding: 0; }
}
