/* ============================================================
   TIAGOISAEL · The Community
   Hub de streamer (referência: godmota.com e Twitch): cinzentos
   neutros, roxo Twitch como acento, dourado para fichas, verde para
   ganhos e arte própria nos jogos.
   ============================================================ */

:root {
  color-scheme: dark;
  --bg: #0e0e10;
  --side: #121214;
  --surface: #18181b;
  --surface-2: #1f1f23;
  --surface-3: #2a2a30;
  --stage: #111114;
  --line: #26262b;
  --line-2: #36363d;
  --text: #efeff1;
  --muted: #adadb8;
  --dim: #7d7d88;
  --accent: #9147ff;
  --accent-hi: #a46bff;
  --accent-lo: #772ce8;
  --accent-soft: rgba(145, 71, 255, .14);
  --accent-ink: #c6a4ff;
  --win: #1fd65f;
  --win-ink: #04210d;
  --gold: #f2b301;
  --gold-ink: #2a1d00;
  --green: #19c37d;
  --orange: #ff8a1f;
  --red: #ff4f5e;
  --live: #ff3b3b;
  --pink: #ff4d8d;
  --radius: 12px;
  --radius-sm: 8px;
  --sidebar: 252px;
  --topbar: 64px;
  --gutter: clamp(16px, 2.4vw, 32px);
  --font: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--topbar) + 16px); scrollbar-gutter: stable; -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--text); font: 400 15px/1.55 var(--font); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
body.is-locked { overflow: hidden; }
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
button, input, select { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p, dl, dd { margin: 0; }
h1, h2, h3 { font-weight: 800; line-height: 1.1; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }

.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.art { width: 20px; height: 20px; flex-shrink: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 200; padding: 10px 16px; border-radius: 8px; background: var(--accent); font-weight: 700; transition: top .2s; }
.skip-link:focus { top: 12px; }
.noscript { position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%); z-index: 90; padding: 12px 18px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line-2); }
.num { font-variant-numeric: tabular-nums; }

/* ---------- Marca ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark { font-size: 30px; font-weight: 900; font-stretch: 110%; line-height: 1; letter-spacing: -.08em; width: 32px; flex-shrink: 0; }
.brand__mark i { font-style: normal; color: var(--accent); }
.brand__name { font-size: 15px; font-weight: 800; font-stretch: 118%; letter-spacing: .01em; line-height: 1; }
.brand__name b { font-weight: 800; color: var(--accent-ink); }
.brand__name small { display: block; margin-top: 5px; font-size: 10.5px; font-weight: 600; font-stretch: 100%; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }

/* ---------- Botões ---------- */
.btn { --h: 40px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: var(--h); padding: 0 16px; border-radius: var(--radius-sm); border: 1px solid transparent; font-size: 14px; font-weight: 700; white-space: nowrap; transition: background-color .18s, border-color .18s, color .18s, transform .18s, opacity .18s; }
.btn:active { transform: translateY(1px); }
.btn .icon { width: 17px; height: 17px; }
.btn .art { width: 18px; height: 18px; }
.btn-sm { --h: 34px; padding: 0 12px; font-size: 13px; border-radius: 7px; }
.btn-lg { --h: 48px; padding: 0 22px; font-size: 15px; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hi); }
.btn-primary:active { background: var(--accent-lo); }
.btn-dark { background: var(--surface-2); border-color: var(--line); color: var(--text); }
.btn-dark:hover { background: var(--surface-3); border-color: var(--line-2); }
.btn-light { background: #fff; color: #0e0e10; }
.btn-light:hover { background: #e9e3ff; }
.btn-gold { background: var(--gold); color: var(--gold-ink); font-weight: 800; }
.btn-gold:hover { background: #ffc629; }
.btn-gold[disabled], .btn-gold.is-wait { background: var(--surface-2); color: var(--muted); border-color: var(--line); cursor: default; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn-gold.is-wait[disabled] { opacity: 1; }

.icon-btn { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: var(--radius-sm); background: var(--surface-2); border: 1px solid var(--line); color: var(--muted); transition: background .18s, color .18s, border-color .18s; }
.icon-btn:hover { background: var(--surface-3); color: var(--text); }
.icon-btn--sm { width: 30px; height: 30px; border-radius: 7px; }
.icon-btn--sm .icon { width: 16px; height: 16px; }
.arrow-btn { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 7px; background: var(--surface-2); border: 1px solid var(--line); color: var(--muted); transition: background .18s, color .18s, opacity .18s; }
.arrow-btn .icon { width: 18px; height: 18px; }
.arrow-btn:hover:not([disabled]) { background: var(--surface-3); color: #fff; }
.arrow-btn[disabled] { opacity: .35; cursor: default; }
.link-btn { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 700; color: var(--accent-ink); }
.link-btn .icon { width: 15px; height: 15px; transition: transform .2s var(--ease); }
.link-btn:hover { color: #fff; }
.link-btn:hover .icon { transform: translateX(3px); }
.link-btn--inline { display: inline; font-size: inherit; text-decoration: underline; text-underline-offset: 3px; }

.tag { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 9px 0 8px; border-radius: 999px; background: rgba(10, 10, 12, .82); border: 1px solid rgba(255, 255, 255, .08); font-size: 10.5px; font-weight: 800; font-stretch: 82%; letter-spacing: .07em; text-transform: uppercase; color: #fff; white-space: nowrap; }
.tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--dot, var(--accent)); }
.tag--top { --dot: var(--orange); }
.tag--new { --dot: var(--green); }
.tag--max { --dot: var(--red); }
.tag--soon { --dot: var(--gold); background: var(--surface-2); border-color: var(--line); }
.tag--rtp { --dot: var(--win); background: var(--surface-2); border-color: var(--line); }
.age-mini { display: inline-grid; place-items: center; min-width: 30px; height: 21px; padding: 0 5px; border-radius: 5px; border: 1px solid var(--line-2); font-size: 11px; font-weight: 800; color: var(--muted); flex-shrink: 0; }

.live-dot { position: relative; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--live); flex-shrink: 0; }
.live-dot::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--live); animation: live-ping 1.6s ease-out infinite; }
@keyframes live-ping { to { transform: scale(2.6); opacity: 0; } }

/* ---------- Barra lateral ---------- */
.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 40; width: var(--sidebar); display: flex; flex-direction: column; background: var(--side); border-right: 1px solid var(--line); }
.sidebar__head { display: flex; align-items: center; justify-content: space-between; height: var(--topbar); padding: 0 16px; flex-shrink: 0; border-bottom: 1px solid var(--line); }
.sidebar__close { display: none; }
.sidebar__scroll { flex: 1; overflow-y: auto; padding: 14px 12px 20px; scrollbar-width: thin; scrollbar-color: var(--surface-3) transparent; }

.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tile { position: relative; overflow: hidden; display: flex; align-items: flex-end; min-height: 76px; padding: 9px 11px; border-radius: 10px; border: 1px solid; text-align: left; transition: transform .2s var(--ease), background .2s; }
.tile:hover { transform: translateY(-2px); }
.tile__text { position: relative; z-index: 1; line-height: 1; }
.tile small { display: block; margin-bottom: 4px; font-size: 11px; font-weight: 600; color: var(--tile-ink); }
.tile b { font-size: 15px; font-weight: 800; font-stretch: 110%; }
.tile--wide { grid-column: 1 / -1; min-height: 64px; }
.tile--wide b { font-size: 18px; }
.tile--gold { --tile-ink: #ffd56a; border-color: #6b5110; background: #1e170a; }
.tile--gold:hover { background: #271d0b; }
.tile--gold.is-ready { border-color: var(--gold); box-shadow: inset 0 0 0 1px rgba(242, 179, 1, .25); }
.tile--purple { --tile-ink: #c6a4ff; border-color: #5b2fb0; background: #1b1330; }
.tile--purple:hover { background: #22173d; }
.tile--green { --tile-ink: #5fe0a6; border-color: #1b6b4a; background: #0f1c16; }
.tile--green:hover { background: #12241c; }
.tile__icon { position: absolute; right: 8px; top: 8px; width: 22px; height: 22px; color: var(--tile-ink); opacity: .9; transition: transform .35s var(--ease); }
.tile:hover .tile__icon { transform: rotate(-10deg) scale(1.1); }
.tile__chips { position: absolute; right: 12px; top: 50%; display: flex; transform: translateY(-50%); }
.tile__chips .art { width: 30px; height: 30px; margin-left: -12px; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .5)); }
.tile__chips .art:nth-child(2) { transform: translateY(-5px); }
.tile--gold.is-ready .tile__chips .art { animation: chip-hop 2.4s var(--ease) infinite; }
.tile--gold.is-ready .tile__chips .art:nth-child(2) { animation-delay: .15s; }
.tile--gold.is-ready .tile__chips .art:nth-child(3) { animation-delay: .3s; }
@keyframes chip-hop { 0%, 60%, 100% { transform: translateY(0); } 70% { transform: translateY(-7px); } 85% { transform: translateY(0); } }

.menu { display: grid; gap: 5px; margin-top: 14px; }
.menu a { display: flex; align-items: center; gap: 11px; height: 40px; white-space: nowrap; padding: 0 11px; border-radius: 9px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); font-size: 14px; font-weight: 600; transition: background .18s, border-color .18s, color .18s; }
.menu a .icon { width: 18px; height: 18px; }
.menu a:hover { color: var(--text); background: var(--surface-2); border-color: var(--line-2); }
.menu a.is-active { color: #fff; background: var(--accent-soft); border-color: var(--accent); }
.menu a.is-active .icon { color: var(--accent-ink); }
.menu__gap { height: 6px; }
.menu__count { margin-left: auto; padding: 1px 7px; border-radius: 999px; font-size: 11px; font-weight: 700; color: var(--muted); background: var(--surface-3); }
.menu__live { margin-left: auto; padding: 2px 7px; border-radius: 5px; font-size: 10px; font-weight: 800; font-stretch: 85%; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--live); }

.channel { margin-top: 14px; padding: 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.channel__top { display: flex; align-items: center; gap: 10px; }
.channel__avatar { position: relative; flex-shrink: 0; }
.channel__avatar img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--side), 0 0 0 4px var(--line-2); }
.channel.is-live .channel__avatar img { box-shadow: 0 0 0 2px var(--side), 0 0 0 4px var(--live); }
.channel__avatar .live-dot { position: absolute; right: -1px; bottom: 0; box-shadow: 0 0 0 2px var(--surface); }
.channel__top strong { display: block; font-size: 14px; font-weight: 800; }
.channel__top small { display: block; font-size: 12px; color: var(--dim); }
.channel.is-live .channel__top small { color: #ff7b7b; font-weight: 700; }
.channel__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 12px; }

.toggles { display: grid; margin-top: 10px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); }
.toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; font-size: 13px; font-weight: 600; color: var(--muted); text-align: left; }
.toggle + .toggle { border-top: 1px solid var(--line); }
.toggle:hover { color: var(--text); }
.switch { position: relative; width: 36px; height: 20px; border-radius: 999px; background: var(--surface-3); flex-shrink: 0; transition: background .2s; }
.switch i { position: absolute; left: 3px; top: 3px; width: 14px; height: 14px; border-radius: 50%; background: #cfcfd6; transition: transform .25s var(--ease), background .2s; }
.toggle[aria-checked='true'] .switch { background: var(--accent); }
.toggle[aria-checked='true'] .switch i { transform: translateX(16px); background: #fff; }
.sidebar__legal { display: flex; align-items: flex-start; gap: 8px; margin-top: 14px; padding: 0 2px; font-size: 12px; color: var(--dim); line-height: 1.45; }

.drawer-backdrop { position: fixed; inset: 0; z-index: 38; background: rgba(0, 0, 0, .6); opacity: 0; transition: opacity .3s; }
.drawer-backdrop.is-visible { opacity: 1; }

/* ---------- Topo ---------- */
.shell { position: relative; margin-left: var(--sidebar); min-width: 0; }
.topbar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 10px; height: var(--topbar); padding: 0 var(--gutter); background: rgba(14, 14, 16, .92); border-bottom: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.menu-toggle, .brand--compact, .search-toggle { display: none; }
.brand--compact .brand__mark { font-size: 26px; width: 26px; }
.topbar__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.scroll-progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(var(--p, 0)); }

.search { position: relative; flex: 0 1 360px; display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 8px 0 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); transition: border-color .18s, background .18s; }
.search:focus-within { border-color: var(--accent); background: var(--surface-2); }
.search > .icon { width: 17px; height: 17px; color: var(--dim); }
.search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; font-size: 14px; }
.search input::placeholder { color: var(--dim); }
.search input::-webkit-search-cancel-button { display: none; }
.search__kbd { padding: 3px 7px; border-radius: 6px; background: var(--surface-3); font: 700 11px var(--font); color: var(--muted); }
.search__close { display: none; width: 32px; height: 32px; }
.search__panel { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 5; padding: 6px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line-2); box-shadow: 0 24px 60px rgba(0, 0, 0, .6); animation: drop .2s var(--ease-out); }
@keyframes drop { from { opacity: 0; transform: translateY(-4px); } }
.search__option { display: flex; align-items: center; gap: 12px; width: 100%; padding: 6px; border-radius: 9px; text-align: left; }
.search__option .thumb { width: 72px; border-radius: 6px; flex-shrink: 0; }
.search__option strong { display: block; font-size: 14px; font-weight: 700; line-height: 1.3; }
.search__option small { font-size: 12px; color: var(--dim); }
.search__option .icon { margin-left: auto; width: 16px; height: 16px; color: var(--dim); opacity: 0; }
.search__option[aria-selected='true'], .search__option:hover { background: var(--surface-2); }
.search__option[aria-selected='true'] .icon, .search__option:hover .icon { opacity: 1; }
.search__option mark { background: none; color: var(--accent-ink); }
.search__empty { padding: 14px 10px; font-size: 14px; color: var(--muted); }
.search__all { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-top: 4px; padding: 10px; border-top: 1px solid var(--line); font-size: 13px; font-weight: 700; color: var(--accent-ink); }

.live-pill { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 11px; border-radius: 999px; background: rgba(255, 59, 59, .14); border: 1px solid rgba(255, 59, 59, .5); color: #ff9a9a; font-size: 11px; font-weight: 800; font-stretch: 85%; letter-spacing: .08em; text-transform: uppercase; }
.live-pill:hover { background: rgba(255, 59, 59, .22); color: #fff; }

.wallet-btn { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 10px 0 7px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); font-size: 14px; font-weight: 800; font-variant-numeric: tabular-nums; transition: border-color .18s, background .18s; }
.wallet-btn:hover, .wallet-btn[aria-expanded='true'] { border-color: var(--line-2); background: var(--surface-3); }
.wallet-btn .art { width: 24px; height: 24px; }
.wallet-btn__chev { width: 15px; height: 15px; color: var(--dim); }
.wallet-btn.is-bump .art { animation: bump .5s var(--ease-out); }
@keyframes bump { 40% { transform: scale(1.25) rotate(-12deg); } }
.wallet-delta { position: absolute; right: 26px; top: -6px; font-size: 12px; font-weight: 900; color: var(--win); pointer-events: none; animation: delta-up 1.3s ease-out forwards; text-shadow: 0 1px 4px rgba(0, 0, 0, .8); }
.wallet-delta.is-neg { color: #ff8a95; }
@keyframes delta-up { from { opacity: 0; transform: translateY(8px); } 15% { opacity: 1; } to { opacity: 0; transform: translateY(-22px); } }

.profile-btn { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 13px; font-weight: 800; transition: background .18s; }
.profile-btn:hover { background: var(--accent-hi); }
.profile-btn .icon { width: 17px; height: 17px; }
.profile-btn.is-connected { padding: 0 10px 0 4px; background: var(--surface-2); border: 1px solid var(--line); }
.profile-btn.is-connected:hover { background: var(--surface-3); }
.profile-btn img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.profile-btn__name { max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

main { max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Vistas ---------- */
.view { min-height: calc(100vh - var(--topbar) - 200px); }
.view.is-entering { animation: view-in .45s var(--ease-out); }
@keyframes view-in { from { opacity: 0; transform: translateY(12px); } }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding: 28px 0 20px; }
.page-head__eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; font-stretch: 85%; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink); }
.page-title { margin-top: 6px; font-size: clamp(30px, 3.6vw, 44px); font-weight: 900; font-stretch: 112%; letter-spacing: -.03em; line-height: 1; }
.page-sub { margin-top: 10px; max-width: 560px; color: var(--muted); font-size: 15px; }
.page-sub b { color: var(--text); }
.page-head__wallet { display: flex; align-items: center; gap: 12px; padding: 10px 16px 10px 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.page-head__wallet .art { width: 34px; height: 34px; }
.page-head__wallet small { display: block; font-size: 12px; color: var(--dim); }
.page-head__wallet strong { display: block; font-size: 22px; font-weight: 900; font-stretch: 108%; font-variant-numeric: tabular-nums; }

/* ---------- Palco do início ---------- */
.stage { position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: center; min-height: 460px; margin-top: 20px; border-radius: 16px; background: #0a0a0c; border: 1px solid var(--line); }
.stage__wall { position: absolute; z-index: 0; top: -38%; bottom: -38%; left: 30%; right: -12%; display: flex; flex-direction: column; justify-content: center; gap: 12px; transform: rotate(-9deg); }
.wall-row { flex-shrink: 0; }
.wall-track { display: flex; gap: 12px; width: max-content; animation: marquee var(--speed, 90s) linear infinite; }
.wall-row:nth-child(even) .wall-track { animation-direction: reverse; }
.stage__wall:hover .wall-track { animation-play-state: paused; }
.wall-track img { width: 210px; aspect-ratio: 640 / 336; object-fit: cover; border-radius: 9px; background: var(--surface); cursor: pointer; transition: transform .3s var(--ease), filter .3s; -webkit-user-drag: none; user-select: none; }
.wall-track img:hover { transform: scale(1.07); filter: brightness(1.12); }
@keyframes marquee { to { transform: translateX(-50%); } }
.stage__shade { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, #0a0a0c 0%, #0a0a0c 38%, rgba(10, 10, 12, .9) 50%, rgba(10, 10, 12, .4) 70%, rgba(10, 10, 12, .1) 100%), linear-gradient(0deg, rgba(10, 10, 12, .7), transparent 28%); }
.stage__content { position: relative; z-index: 2; max-width: min(720px, 64%); padding: 44px clamp(24px, 4vw, 52px); }
.channel-pill { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px 0 4px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); font-size: 13px; color: var(--muted); transition: border-color .18s, color .18s; }
.channel-pill img { width: 26px; height: 26px; border-radius: 50%; }
.channel-pill b { color: var(--text); font-weight: 700; }
.channel-pill:hover { border-color: var(--accent); color: var(--text); }
.channel-pill__live { display: inline-flex; align-items: center; gap: 6px; padding-right: 8px; margin-right: 2px; border-right: 1px solid var(--line-2); font-size: 11px; font-weight: 800; font-stretch: 85%; letter-spacing: .08em; text-transform: uppercase; color: #ff8a8a; }
.stage__title { margin-top: 20px; font-size: clamp(34px, 3.8vw, 56px); font-weight: 900; font-stretch: 112%; line-height: .98; letter-spacing: -.035em; }
.stage__title > span { display: block; }
.stage__accent { color: var(--accent-hi); }
.stage__content > p { max-width: 440px; margin-top: 18px; font-size: 16px; line-height: 1.6; color: var(--muted); }
.stage__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.stage__stats { display: flex; gap: 28px; margin-top: 30px; }
.stage__stats div { display: flex; align-items: baseline; gap: 7px; }
.stage__stats dd { font-size: 24px; font-weight: 800; font-stretch: 112%; font-variant-numeric: tabular-nums; }
.stage__stats dt { font-size: 13px; color: var(--dim); }

.js:not(.is-routed) main { visibility: hidden; }
.js .enter { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); transition-delay: calc(.08s * var(--i, 0) + .1s); }
.is-ready .enter { opacity: 1; transform: none; }
.js .stage__wall { opacity: 0; transition: opacity 1.2s ease .2s; }
.is-ready .stage__wall { opacity: 1; }

/* ---------- Secções ---------- */
.section { padding-top: 48px; }
.section--tight { padding-top: 32px; }
.section--first { padding-top: 4px; }
.sh { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.sh__title { display: flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 800; font-stretch: 108%; letter-spacing: -.01em; }
.sh__icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--accent-soft); color: var(--accent-ink); flex-shrink: 0; }
.sh__icon .icon { width: 17px; height: 17px; }
.sh__icon .art { width: 20px; height: 20px; }
.sh__count { padding: 2px 9px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); font-size: 12px; font-weight: 700; font-stretch: 100%; color: var(--muted); font-variant-numeric: tabular-nums; }
.sh__sub { margin-top: 6px; font-size: 14px; color: var(--muted); }
.sh__meta { font-size: 13px; color: var(--dim); }
.sh__actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.note { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 14px; font-size: 13px; color: var(--dim); line-height: 1.5; }

.js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Filas deslizantes ---------- */
.row { display: grid; grid-auto-flow: column; grid-auto-columns: var(--col, 262px); gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 4px 0 8px; }
.row::-webkit-scrollbar { display: none; }
.row > * { scroll-snap-align: start; }
.row.is-dragging { scroll-snap-type: none; scroll-behavior: auto; cursor: grabbing; }
.row.is-dragging * { pointer-events: none; }
.row--clips { --col: 330px; }
.row--games { --col: 200px; }

/* ---------- Cartões dos Originals ---------- */
.game-card { --glow: rgba(145, 71, 255, .6); position: relative; display: block; aspect-ratio: 3 / 4; border-radius: 14px; overflow: hidden; isolation: isolate; background: var(--surface); transition: transform .35s var(--ease-out), box-shadow .35s; }
.game-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); -webkit-user-drag: none; user-select: none; }
.game-card::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(5, 5, 8, .82) 0%, rgba(5, 5, 8, .35) 32%, rgba(5, 5, 8, 0) 52%); }
.game-card:hover, .game-card:focus-visible { transform: translateY(-6px); box-shadow: 0 26px 40px -20px var(--glow); }
.game-card:hover img { transform: scale(1.06); }
.game-card__title { position: absolute; z-index: 2; left: 14px; right: 14px; bottom: 14px; }
.game-card__title strong { display: block; font-size: 23px; font-weight: 900; font-stretch: 112%; letter-spacing: -.02em; line-height: 1; }
.game-card__title small { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; font-size: 10.5px; font-weight: 800; font-stretch: 85%; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .78); }
.game-card__play { position: absolute; z-index: 2; top: 12px; right: 12px; display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; background: #fff; color: #0e0e10; font-size: 12px; font-weight: 800; opacity: 0; transform: translateY(-6px); transition: opacity .2s, transform .3s var(--ease-out); }
.game-card__play .icon { width: 13px; height: 13px; fill: currentColor; stroke: none; }
.game-card:hover .game-card__play, .game-card:focus-visible .game-card__play { opacity: 1; transform: none; }
.game-card[data-game='mines'] { --glow: rgba(139, 92, 246, .75); }
.game-card[data-game='crash'] { --glow: rgba(225, 29, 72, .75); }
.game-card[data-game='plinko'] { --glow: rgba(37, 99, 235, .75); }
.game-card[data-game='dice'] { --glow: rgba(5, 150, 105, .75); }
.game-card[data-game='double'] { --glow: rgba(229, 72, 77, .7); }
.game-card[data-game='penalty'] { --glow: rgba(22, 163, 74, .75); }
.games-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.stats-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0 0 14px; }
.stats-strip__item { padding: 12px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); min-width: 0; }
.stats-strip__item dt { font-size: 12px; font-weight: 700; color: var(--dim); }
.stats-strip__item dd { margin-top: 3px; font-size: 19px; font-weight: 900; font-stretch: 106%; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stats-strip__item.is-best dd { color: #ffd56a; }
.stats-strip__item.is-pos dd { color: var(--win); }
.pause-note { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 10px 14px; border-radius: 10px; background: rgba(242, 179, 1, .08); border: 1px solid rgba(242, 179, 1, .4); color: #ffd56a; font-size: 13.5px; font-weight: 700; }

/* ---------- Ganhar fichas ---------- */
.earn { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.earn-card { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-height: 230px; padding: 20px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); }
.earn-card--daily { background: linear-gradient(160deg, #2a2108, #18160f 62%); border-color: #4f3c0e; }
.earn-card--stream { background: linear-gradient(160deg, #24173d, #17141f 62%); border-color: #3f2777; }
.earn-card__label { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; font-stretch: 85%; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.earn-card__label .art { width: 18px; height: 18px; }
.earn-card__value { font-size: 46px; font-weight: 900; font-stretch: 112%; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.earn-card__value small { margin-left: 3px; font-size: 18px; font-weight: 700; color: var(--muted); letter-spacing: 0; }
.earn-card--daily .earn-card__value { color: #ffd56a; }
.earn-card p { color: var(--muted); font-size: 14px; max-width: 320px; }
.earn-card > .btn { margin-top: auto; }
.earn-card__art { position: absolute; right: 18px; top: 16px; display: flex; }
.earn-card__art .art { width: 46px; height: 46px; margin-left: -18px; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .5)); animation: chip-float 4s ease-in-out infinite; }
.earn-card__art .art:nth-child(2) { margin-top: -10px; animation-delay: .4s; }
.earn-card__art .art:nth-child(3) { animation-delay: .8s; }
@keyframes chip-float { 50% { transform: translateY(-6px) rotate(8deg); } }

.loyalty-box { width: 100%; }
.loyalty-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; }
.loyalty-stat { padding: 10px 12px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); }
.loyalty-stat strong { display: block; font-size: 20px; font-weight: 900; font-stretch: 108%; font-variant-numeric: tabular-nums; }
.loyalty-stat small { font-size: 12px; color: var(--dim); }
.loyalty-user { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 13px; color: var(--muted); }
.loyalty-user img { width: 26px; height: 26px; border-radius: 50%; }
.loyalty-user b { color: var(--text); }
.loyalty-user .link-btn { margin-left: auto; font-size: 12px; }
.loyalty-connect { display: grid; gap: 8px; }
.loyalty-connect p { font-size: 13.5px; color: var(--muted); }
.loyalty-note { margin-top: 8px; font-size: 12.5px; color: var(--dim); }
.loyalty-user .profile-fallback { --size: 26px; }
.profile-fallback { display: inline-grid; place-items: center; width: var(--size, 30px); height: var(--size, 30px); border-radius: 50%; flex-shrink: 0; background: var(--accent); color: #fff; font-size: calc(var(--size, 30px) * .46); font-weight: 900; }
.profile-card { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; padding-right: 36px; }
.profile-card img, .profile-card .profile-fallback { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex-shrink: 0; box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px var(--accent); }
.profile-card h2 { margin-top: 2px !important; padding-right: 0 !important; overflow-wrap: anywhere; }
.profile-card__badge { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.profile-card__badge .icon { width: 15px; height: 15px; }
.profile-card__badge.is-verified { color: var(--win); }
.modal__body .loyalty-stats + .loyalty-note, .modal__body .loyalty-box + p { margin-top: 12px; }

/* ---------- Cartão de slot ---------- */
.slot { position: relative; display: flex; flex-direction: column; min-width: 0; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: transform .3s var(--ease-out), border-color .2s, box-shadow .3s; }
.slot:hover, .slot:focus-within { transform: translateY(-4px); border-color: var(--line-2); box-shadow: 0 16px 30px -16px rgba(0, 0, 0, .9); }
.slot__art { position: relative; aspect-ratio: 640 / 336; overflow: hidden; background: #121215; }
.slot__art img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-out); -webkit-user-drag: none; user-select: none; }
.slot[data-provider='pragmatic'] .slot__art img { transform: scale(1.06); }
.slot:hover .slot__art img { transform: scale(1.12); }
.slot__art::after { content: ''; position: absolute; inset: 0; background: rgba(10, 10, 12, .55); opacity: 0; transition: opacity .25s; }
.slot:hover .slot__art::after { opacity: 1; }
.slot__more { position: absolute; z-index: 2; left: 50%; top: 50%; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 999px; background: #fff; color: #0e0e10; font-size: 13px; font-weight: 800; transform: translate(-50%, -30%); opacity: 0; transition: opacity .2s, transform .3s var(--ease-out); pointer-events: none; white-space: nowrap; }
.slot__more .icon { width: 15px; height: 15px; }
.slot:hover .slot__more { opacity: 1; transform: translate(-50%, -50%); }
.slot__tags { position: absolute; z-index: 3; left: 8px; top: 8px; display: flex; gap: 5px; pointer-events: none; }
.slot__stat { position: absolute; z-index: 3; right: 8px; bottom: 8px; pointer-events: none; }
.slot__stat.tag { --dot: var(--accent); }
.slot__stat--max { --dot: var(--gold) !important; }
.slot__fav { position: absolute; z-index: 5; right: 8px; top: 8px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: rgba(10, 10, 12, .82); border: 1px solid rgba(255, 255, 255, .1); color: #fff; opacity: 0; transition: opacity .2s, color .2s, background .2s; }
.slot__fav .icon { width: 16px; height: 16px; }
.slot:hover .slot__fav, .slot:focus-within .slot__fav, .slot__fav[aria-pressed='true'] { opacity: 1; }
.slot__fav:hover { background: #000; }
.slot__fav[aria-pressed='true'] { color: var(--pink); }
.slot__fav[aria-pressed='true'] .icon { fill: currentColor; }
.slot__fav.is-pop .icon { animation: pop .45s var(--ease-out); }
@keyframes pop { 40% { transform: scale(1.4); } }
.slot__body { padding: 10px 12px 12px; }
.slot__body h3 { font-size: 14.5px; font-weight: 700; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.slot__body p { display: flex; align-items: center; gap: 6px; margin-top: 3px; font-size: 12.5px; color: var(--dim); white-space: nowrap; overflow: hidden; }
.slot__body p::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--pc, var(--accent)); flex-shrink: 0; }
.slot__open { position: absolute; inset: 0; z-index: 4; border-radius: inherit; }
.slot__open:focus-visible { outline-offset: -3px; }
[data-provider='pragmatic'] { --pc: #ff8a1f; }
[data-provider='hacksaw'] { --pc: #19c37d; }
[data-provider='nolimit'] { --pc: #ff4f5e; }
.thumb { display: block; aspect-ratio: 640 / 336; overflow: hidden; background: #121215; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb[data-provider='pragmatic'] img { transform: scale(1.06); }
.thumb--game img { object-position: center 30%; }

/* ---------- Ofertas ---------- */
.offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.offer { position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: 270px; padding: 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: border-color .2s, transform .3s var(--ease-out); container-type: inline-size; }
.offer:hover { border-color: var(--line-2); transform: translateY(-3px); }
.offer__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.offer__num { font-size: 56px; font-weight: 900; font-stretch: 125%; line-height: .8; letter-spacing: -.05em; color: var(--surface-3); }
.offer__kind { font-size: 11px; font-weight: 800; font-stretch: 82%; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.offer__band { position: relative; height: 76px; margin: 4px -18px 10px; }
.offer__tape { position: absolute; left: -8%; right: -8%; top: 50%; height: 32px; margin-top: -16px; display: flex; align-items: center; overflow: hidden; background: var(--tape); transform: rotate(-6deg); box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .8); }
.offer__tape span { display: flex; flex-shrink: 0; padding-left: 12px; white-space: pre; font-size: 13px; font-weight: 900; font-stretch: 78%; letter-spacing: .14em; color: var(--tape-ink); animation: tape 16s linear infinite; }
@keyframes tape { to { transform: translateX(-50%); } }
@container (min-width: 420px) { .offer__tape { transform: rotate(-2.5deg); } }
.offer h3 { margin-top: auto; font-size: 19px; font-stretch: 104%; letter-spacing: -.01em; }
.offer p { margin-top: 6px; font-size: 14px; color: var(--muted); }
.offer__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.offer__foot > span { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--dim); }
.offer__foot > span .icon { width: 15px; height: 15px; }

/* ---------- Biblioteca ---------- */
.field { display: flex; align-items: center; gap: 9px; height: 38px; padding: 0 12px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); transition: border-color .18s; }
.field:focus-within { border-color: var(--accent); }
.field > .icon { width: 16px; height: 16px; color: var(--dim); }
.field input, .field select { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; font-size: 14px; }
.field input::placeholder { color: var(--dim); }
.library-search { width: 280px; }
.library-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 14px; }
.tabs { position: relative; display: flex; gap: 2px; padding: 3px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 13px; border-radius: 7px; font-size: 13.5px; font-weight: 700; color: var(--muted); white-space: nowrap; transition: color .2s; }
.tabs button:hover { color: var(--text); }
.tabs button[aria-pressed='true'] { color: #fff; }
.tabs button .icon { width: 15px; height: 15px; }
.tabs button[data-cat='favorites'][aria-pressed='true'] .icon { fill: currentColor; }
.tabs__thumb { position: absolute; top: 3px; left: 0; height: 32px; width: var(--w, 0); border-radius: 7px; background: var(--accent); transform: translateX(var(--x, 3px)); transition: transform .4s var(--ease-out), width .4s var(--ease-out); }
.tabs__count { min-width: 18px; padding: 0 5px; border-radius: 5px; background: rgba(255, 255, 255, .12); font-size: 11px; text-align: center; }
.chips { display: flex; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 12px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); font-size: 13px; font-weight: 700; color: var(--muted); white-space: nowrap; transition: border-color .18s, color .18s, background .18s; }
.chip:hover { color: var(--text); border-color: var(--line-2); }
.chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--pc, var(--accent)); }
.chip span { font-size: 11.5px; color: var(--dim); font-variant-numeric: tabular-nums; }
.chip[aria-pressed='true'] { color: #fff; border-color: var(--accent); background: var(--accent-soft); }
.sort { position: relative; margin-left: auto; padding-right: 30px; }
.sort__label { font-size: 12.5px; color: var(--dim); }
.sort select { appearance: none; -webkit-appearance: none; font-size: 13px; font-weight: 700; cursor: pointer; }
.sort select option { background: var(--surface); color: var(--text); }
.sort > .icon { position: absolute; right: 10px; width: 15px; height: 15px; color: var(--dim); pointer-events: none; }
.field.select-menu { padding: 0; gap: 0; border: 0; background: none; min-width: 0; }
.select-menu.is-open { z-index: 60; }
.select-menu__trigger { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-width: 126px; height: 100%; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 10px; background: linear-gradient(180deg, #25232c, #1b1a21); box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 2px 6px rgba(0,0,0,.15); font-size: 13px; font-weight: 700; text-align: left; transition: border-color .18s, background .18s, box-shadow .18s; }
.select-menu__trigger:hover { border-color: #735394; background: linear-gradient(180deg, #2d2639, #211d2b); }
.select-menu__trigger:focus-visible, .select-menu__trigger[aria-expanded='true'] { outline: none; border-color: var(--accent-hi); box-shadow: 0 0 0 3px rgba(145,71,255,.13), inset 0 1px 0 rgba(255,255,255,.06); }
.select-menu__trigger:disabled { opacity: .5; cursor: default; }
.select-menu__value { flex: 1; white-space: nowrap; }
.select-menu__trigger > .icon { width: 14px; height: 14px; flex: 0 0 14px; color: var(--accent-ink); transition: transform .18s; }
.select-menu__trigger[aria-expanded='true'] > .icon { transform: rotate(180deg); }
.select-menu__options { position: absolute; top: calc(100% + 8px); right: 0; transform: translateX(var(--menu-shift, 0px)); z-index: 1; width: max-content; min-width: max(100%, 198px); max-width: calc(100vw - 24px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #624580 transparent; padding: 6px; border: 1px solid #58406f; border-radius: 12px; background: linear-gradient(145deg, #24202d, #18171e 65%); box-shadow: 0 18px 48px rgba(0,0,0,.5), 0 4px 12px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.05); }
.select-menu--up .select-menu__options { top: auto; bottom: calc(100% + 8px); }
.select-menu__option { display: flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 38px; padding: 8px 10px; border: 1px solid transparent; border-radius: 7px; color: var(--muted); font-size: 13px; font-weight: 600; line-height: 1.4; cursor: pointer; }
.select-menu__option > .icon { width: 15px; height: 15px; flex-shrink: 0; color: var(--accent-ink); opacity: 0; }
.select-menu__option[aria-selected='true'] { color: #ede0ff; background: rgba(145,71,255,.14); }
.select-menu__option[aria-selected='true'] > .icon { opacity: 1; }
.select-menu__option.is-active { color: #fff; border-color: rgba(164,107,255,.3); background: rgba(145,71,255,.24); }
@media (pointer: coarse) { .select-menu__option { min-height: 44px; } .field.select-menu { min-height: 42px; } }
.slots-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(max(212px, calc((100% - 48px) / 5)), 1fr)); gap: 12px; }
.more { display: flex; justify-content: center; margin-top: 18px; }
#slots-more-count { color: var(--dim); font-weight: 600; }
.empty { display: grid; justify-items: center; gap: 6px; padding: 48px 20px; text-align: center; border-radius: var(--radius); border: 1px dashed var(--line-2); }
.empty > .icon { width: 26px; height: 26px; margin-bottom: 6px; color: var(--dim); }
.empty h3 { font-size: 19px; }
.empty p { color: var(--muted); font-size: 14px; }
.empty .btn { margin-top: 10px; }

/* ---------- Roleta de slots ---------- */
.spin { overflow: hidden; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.spin__head { align-items: flex-start; flex-wrap: nowrap !important; margin: 0; padding: 20px 20px 18px; }
.spin__window { position: relative; overflow: hidden; padding: 18px 0; background: #111113; border-block: 1px solid var(--line); }
.spin__window::before, .spin__window::after { content: ''; position: absolute; z-index: 2; top: 0; bottom: 0; width: 14%; pointer-events: none; }
.spin__window::before { left: 0; background: linear-gradient(90deg, #111113, transparent); }
.spin__window::after { right: 0; background: linear-gradient(270deg, #111113, transparent); }
.spin__track { display: flex; gap: 10px; width: max-content; will-change: transform; }
.spin__item { flex-shrink: 0; width: 210px; border-radius: 10px; overflow: hidden; background: var(--surface-2); border: 1px solid var(--line-2); transition: transform .45s var(--ease-out), border-color .3s, opacity .4s; }
.spin__media { aspect-ratio: 640 / 336; overflow: hidden; background: #121215; }
.spin__media img { width: 100%; height: 100%; object-fit: cover; }
.spin__item[data-provider='pragmatic'] .spin__media img { transform: scale(1.06); }
.spin__item span { display: block; padding: 7px 10px 9px; font-size: 12.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border-top: 2px solid var(--pc, var(--accent)); }
.spin__window.is-done .spin__item:not(.is-winner) { opacity: .3; }
.spin__item.is-winner { position: relative; z-index: 1; transform: scale(1.07); border-color: #fff; }
.spin__marker { position: absolute; z-index: 3; left: 50%; top: 6px; bottom: 6px; width: 2px; transform: translateX(-50%); background: #fff; border-radius: 2px; }
.spin__marker::before, .spin__marker::after { content: ''; position: absolute; left: 50%; width: 14px; height: 10px; transform: translateX(-50%); background: #fff; }
.spin__marker::before { top: -6px; clip-path: polygon(0 0, 100% 0, 50% 100%); }
.spin__marker::after { bottom: -6px; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.spin__marker.is-tick { animation: tick .12s ease-out; }
@keyframes tick { 50% { transform: translateX(-50%) scaleX(2); } }
.spin__controls { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; padding: 18px 20px 20px; }
.spin__result { flex: 1; min-width: 0; display: flex; justify-content: flex-end; }
.result { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line-2); animation: result-in .5s var(--ease-out); max-width: 100%; }
.result .thumb { width: 96px; border-radius: 7px; flex-shrink: 0; }
.result small { display: block; font-size: 11px; font-weight: 800; font-stretch: 82%; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); }
.result strong { display: block; font-size: 16px; font-weight: 800; line-height: 1.2; }
.result span { font-size: 12.5px; color: var(--dim); }
.result > div { min-width: 0; }
@keyframes result-in { from { opacity: 0; transform: translateY(10px); } }

/* ---------- Giveaways & raffles ---------- */
.events { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.event { position: relative; overflow: hidden; min-height: 280px; padding: 22px 22px 70px; border-radius: 14px; border: 1px solid var(--line); scroll-margin-top: calc(var(--topbar) + 16px); container-type: inline-size; }
.event__grid { display: grid; grid-template-columns: minmax(0, 1fr) 170px; gap: 12px; }
.event--gift { background: #141019; }
.event--raffle { background: #16140f; }
.event__label { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 800; font-stretch: 85%; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); }
.event--raffle .event__label { color: #ffcf66; }
.event__label .icon { width: 16px; height: 16px; }
.event h3 { margin-top: 14px; font-size: clamp(22px, 2vw, 28px); font-stretch: 106%; letter-spacing: -.02em; }
.event p { margin-top: 10px; max-width: 360px; font-size: 14.5px; color: var(--muted); }
.event .btn { margin-top: 18px; }
.event__art { display: grid; place-items: center; }
.event__foot { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 8px; padding: 14px 22px; font-size: 13px; color: var(--dim); border-top: 1px solid var(--line); }
.event__foot .icon { width: 15px; height: 15px; }
.gift { width: 150px; animation: bob 4.5s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-8px) rotate(-3deg); } }
.ticket { position: relative; display: flex; width: 180px; transform: rotate(-8deg); filter: drop-shadow(0 14px 20px rgba(0, 0, 0, .55)); transition: transform .4s var(--ease-out); }
.event--raffle:hover .ticket { transform: rotate(-3deg) translateY(-4px); }
.ticket__main { position: relative; flex: 1; padding: 14px 12px 12px 14px; border-radius: 8px 0 0 8px; background: #f3ecdf; color: #1c1710; }
.ticket__stub { display: grid; place-items: center; width: 38px; border-radius: 0 8px 8px 0; background: #e8dfcd; border-left: 2px dashed #b9ab92; }
.ticket__stub span { font-size: 12px; font-weight: 900; font-stretch: 80%; letter-spacing: .1em; color: #6b5d45; transform: rotate(-90deg); }
.ticket__brand { display: block; font-size: 9.5px; font-weight: 800; font-stretch: 90%; letter-spacing: .16em; color: #8a7a5c; }
.ticket__main strong { display: block; margin-top: 4px; font-size: 28px; font-weight: 900; font-stretch: 118%; line-height: 1; letter-spacing: -.03em; }
.ticket__meta { display: block; margin-top: 4px; font-size: 10.5px; color: #6b5d45; }
.ticket__barcode { display: block; height: 22px; margin-top: 10px; background: repeating-linear-gradient(90deg, #1c1710 0 2px, transparent 2px 4px, #1c1710 4px 5px, transparent 5px 8px, #1c1710 8px 11px, transparent 11px 12px); }
.ticket__stamp { position: absolute; right: 26px; top: 34%; padding: 3px 8px; border: 2.5px solid #d6343f; border-radius: 4px; color: #d6343f; font-size: 15px; font-weight: 900; font-stretch: 80%; letter-spacing: .08em; text-transform: uppercase; transform: rotate(16deg); opacity: .9; mix-blend-mode: multiply; }
@container (max-width: 520px) {
  .event__grid { grid-template-columns: 1fr; }
  .event__art { order: -1; justify-items: start; min-height: 150px; }
  .gift { width: 120px; }
}

/* ---------- Clipes ---------- */
.clip { display: flex; flex-direction: column; min-width: 0; text-align: left; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: transform .3s var(--ease-out), border-color .2s; }
.clip:hover { transform: translateY(-4px); border-color: var(--line-2); }
.clip__art { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #121215; }
.clip__art img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-out); -webkit-user-drag: none; }
.clip:hover .clip__art img { transform: scale(1.06); }
.clip__play { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: rgba(10, 10, 12, .7); border: 1px solid rgba(255, 255, 255, .25); transform: translate(-50%, -50%); transition: background .2s, transform .3s var(--ease-out); }
.clip__play .icon { width: 18px; height: 18px; margin-left: 3px; fill: #fff; stroke: none; }
.clip:hover .clip__play { background: var(--accent); transform: translate(-50%, -50%) scale(1.08); border-color: transparent; }
.clip__game { position: absolute; left: 8px; top: 8px; }
.clip__time { position: absolute; right: 8px; bottom: 8px; padding: 2px 6px; border-radius: 4px; background: rgba(0, 0, 0, .75); font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.clip__body { padding: 10px 12px 12px; }
.clip__body h3 { font-size: 14.5px; font-weight: 700; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.clip__meta { display: flex; justify-content: space-between; gap: 10px; margin-top: 6px; font-size: 12.5px; color: var(--dim); }
.clip--more { align-items: flex-start; justify-content: flex-end; gap: 6px; padding: 18px; min-height: 100%; background: var(--accent); border-color: var(--accent); color: #fff; }
.clip--more:hover { background: var(--accent-hi); border-color: var(--accent-hi); }
.clip--more .icon { width: 30px; height: 30px; margin-bottom: auto; }
.clip--more strong { font-size: 18px; font-weight: 800; font-stretch: 106%; }
.clip--more small { font-size: 13px; opacity: .85; }

/* ---------- Horário ---------- */
.days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
.day { display: flex; flex-direction: column; min-height: 196px; padding: 12px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: border-color .2s; }
.day:hover { border-color: var(--line-2); }
.day__head { display: flex; align-items: center; gap: 9px; }
.day__letter { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2); font-size: 12.5px; font-weight: 800; color: var(--muted); flex-shrink: 0; }
.day__head strong { display: block; font-size: 13.5px; font-weight: 700; line-height: 1.2; }
.day__head small { display: block; font-size: 12px; color: var(--dim); white-space: nowrap; }
.day__head small.day__today { color: var(--accent-ink); font-weight: 700; }
.day__body { flex: 1; display: grid; place-items: center; align-content: center; gap: 8px; margin-top: 10px; text-align: center; }
.day__moon { width: 46px; height: 46px; color: var(--surface-3); }
.day__moon .icon { width: 100%; height: 100%; stroke-width: 1.4; }
.day__body small { font-size: 12.5px; color: var(--dim); }
.day__slot { width: 100%; padding: 10px; border-radius: 9px; background: var(--accent-soft); border: 1px solid rgba(145, 71, 255, .4); text-align: left; }
.day__slot b { display: block; font-size: 19px; font-weight: 800; font-stretch: 110%; }
.day__slot span { font-size: 12.5px; color: var(--muted); }
.day.is-today { border-color: var(--accent); }
.day.is-today .day__letter { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ---------- Comunidade ---------- */
.community { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.brand-tile { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 14px; min-height: 190px; padding: 20px; border-radius: 14px; text-align: left; transition: transform .3s var(--ease-out), background .2s, border-color .2s; }
.brand-tile:hover { transform: translateY(-4px); }
.brand-tile--twitch { background: var(--accent); color: #fff; }
.brand-tile--twitch:hover { background: #9a57ff; }
.brand-tile__logo { position: absolute; right: -14px; top: -14px; width: 150px; height: 150px; color: rgba(255, 255, 255, .18); stroke-width: 1.4; transition: transform .6s var(--ease-out); }
.brand-tile--twitch:hover .brand-tile__logo { transform: rotate(-8deg) scale(1.05); }
.brand-tile__copy small { font-size: 13px; font-weight: 600; opacity: .85; }
.brand-tile__copy strong { display: block; margin-top: 4px; font-size: clamp(22px, 2.2vw, 30px); font-weight: 900; font-stretch: 110%; line-height: 1.05; letter-spacing: -.02em; }
.brand-tile__copy > span { display: block; margin-top: 6px; max-width: 380px; font-size: 14px; opacity: .88; }
.brand-tile--dark { background: var(--surface); border: 1px solid var(--line); }
.brand-tile--dark:hover { border-color: var(--line-2); background: var(--surface-2); }
.brand-tile--dark .brand-tile__copy strong { font-size: 19px; }
.brand-tile--dark .brand-tile__copy > span { color: var(--muted); opacity: 1; }
.brand-tile__icon { width: 34px; height: 34px; margin-bottom: auto; color: var(--accent-ink); }
.social-tile { --brand: #5865f2; display: flex; flex-direction: column; justify-content: space-between; min-height: 150px; padding: 18px; border-radius: 14px; color: #fff; background: var(--brand); transition: transform .3s var(--ease-out); }
.social-tile:hover { transform: translateY(-4px); }
.social-tile .icon { width: 30px; height: 30px; }
.social-tile strong { display: block; font-size: 18px; font-weight: 800; }
.social-tile small { font-size: 12.5px; opacity: .85; }
.social-tile--discord { --brand: #5865f2; }
.social-tile--youtube { --brand: #ff0033; }
.social-tile--instagram { background: linear-gradient(135deg, #feda75, #d62976 50%, #4f5bd5); }
.social-tile--tiktok { --brand: #111; box-shadow: inset 3px 0 0 #25f4ee, inset -3px 0 0 #fe2c55; }
.social-tile--x { --brand: #000; border: 1px solid var(--line-2); }
.social-tile--heart { background: linear-gradient(135deg, #573384, #33204f); border: 1px solid #ac7bff66; }

/* ---------- Stream ---------- */
.stream { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 14px; }
.stream__main { min-width: 0; }
.stream__screen { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; border: 1px solid var(--line); }
.stream__placeholder { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 6px; padding: 20px; text-align: center; color: var(--muted); }
.stream__placeholder .icon { width: 40px; height: 40px; margin-bottom: 6px; color: var(--accent-ink); }
.stream__placeholder strong { font-size: 16px; color: var(--text); }
.stream__placeholder span { font-size: 13px; }
.stream__chat { min-height: 480px; border-radius: 14px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.stream__chat iframe { display: block; width: 100%; height: 100%; min-height: 480px; border: 0; }
.chat-note { display: grid; place-content: center; height: 100%; min-height: 200px; padding: 20px; text-align: center; color: var(--muted); font-size: 14px; }
.earn-bar { display: flex; align-items: center; gap: 14px; margin-top: 12px; padding: 12px 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); transition: border-color .3s, background .3s; }
.earn-bar.is-earning { border-color: rgba(242, 179, 1, .5); background: linear-gradient(90deg, rgba(242, 179, 1, .08), var(--surface) 40%); }
.earn-ring { position: relative; width: 48px; height: 48px; flex-shrink: 0; }
.earn-ring > svg:first-child { width: 48px; height: 48px; transform: rotate(-90deg); }
.earn-ring__track { fill: none; stroke: var(--surface-3); stroke-width: 4; }
.earn-ring__value { fill: none; stroke: var(--gold); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 131.95; stroke-dashoffset: calc(131.95 * (1 - var(--p, 0))); transition: stroke-dashoffset .9s linear; }
.earn-ring .art { position: absolute; left: 12px; top: 12px; width: 24px; height: 24px; }
.earn-bar.is-earning .earn-ring .art { animation: chip-spin 3s linear infinite; }
@keyframes chip-spin { to { transform: rotate(360deg); } }
.earn-bar__text { flex: 1; min-width: 0; }
.earn-bar__text strong { display: block; font-size: 15px; }
.earn-bar__text small { display: block; font-size: 13px; color: var(--muted); }
.earn-bar__session { text-align: right; }
.earn-bar__session small { display: block; font-size: 11.5px; color: var(--dim); }
.earn-bar__session strong { font-size: 20px; font-weight: 900; font-stretch: 108%; color: #ffd56a; font-variant-numeric: tabular-nums; }
.stream-info { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.info-card { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.info-card__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--surface-2); }
.info-card__icon .art { width: 26px; height: 26px; }
.info-card__icon--plain { color: var(--accent-ink); }
.info-card h3 { font-size: 17px; font-stretch: 104%; }
.info-card p { font-size: 14px; color: var(--muted); }
.info-card p b { color: var(--text); }

/* Leitor Twitch: sobre a página da stream ou em mini-leitor */
.player-dock { position: absolute; z-index: 25; border-radius: 14px; overflow: hidden; background: #000; }
.player-dock__frame { width: 100%; height: 100%; }
.player-dock__frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.player-dock__bar { display: none; }
.player-dock.is-entering { animation: view-in .45s var(--ease-out); }
/* Mini-leitor: 400×300, o mínimo que a Twitch pede para leitores incorporados. */
.player-dock.is-mini { position: fixed; z-index: 45; left: auto; top: auto; right: 16px; bottom: 16px; width: 402px; height: auto; background: var(--surface); border: 1px solid var(--line-2); box-shadow: 0 24px 60px rgba(0, 0, 0, .7); animation: dock-in .35s var(--ease-out); }
@keyframes dock-in { from { opacity: 0; transform: translateY(16px) scale(.96); } }
.player-dock.is-mini .player-dock__bar { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 12px; }
.player-dock.is-mini .player-dock__frame { width: 400px; height: 300px; background: #000; }
.player-dock__status { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 800; font-stretch: 85%; letter-spacing: .08em; text-transform: uppercase; color: #ff9a9a; }
.player-dock__earn { display: inline-flex; align-items: center; gap: 5px; margin-right: auto; margin-left: 6px; padding: 2px 8px 2px 4px; border-radius: 999px; background: rgba(242, 179, 1, .12); color: #ffd56a; font-size: 12px; font-weight: 800; }
.player-dock__presence { margin-left: auto; height: 30px; padding: 0 10px; }
.earn-bar > .btn { flex-shrink: 0; }
.player-dock__earn .art { width: 16px; height: 16px; }
.player-dock:not(.is-live) .player-dock__status .live-dot, .player-dock:not(.is-live) .player-dock__earn { display: none; }
.player-dock:not(.is-live) .player-dock__status { color: var(--muted); margin-right: auto; }

/* ---------- Carteira ---------- */
.wallet-panel { position: fixed; inset: auto; margin: 0; top: calc(var(--topbar) + 8px); right: 16px; width: min(360px, calc(100vw - 24px)); max-height: calc(100dvh - var(--topbar) - 24px); overflow-y: auto; padding: 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line-2); color: var(--text); box-shadow: 0 24px 60px rgba(0, 0, 0, .6); }
.wallet-panel:popover-open { animation: drop .2s var(--ease-out); }
.wallet-panel__head small { font-size: 12px; color: var(--dim); }
.wallet-panel__head strong { display: flex; align-items: center; gap: 10px; margin-top: 2px; font-size: 34px; font-weight: 900; font-stretch: 110%; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.wallet-panel__head .art { width: 32px; height: 32px; }
.wallet-panel__head p { margin-top: 4px; font-size: 12.5px; color: var(--dim); }
.wallet-panel__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.wallet-panel__loyalty, .wallet-panel__history { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.wallet-panel__label { display: flex; align-items: center; gap: 7px; margin-bottom: 10px; font-size: 11.5px; font-weight: 800; font-stretch: 85%; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.wallet-panel__label .art { width: 16px; height: 16px; }
.wallet-panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.wallet-panel li { display: flex; justify-content: space-between; gap: 10px; padding: 7px 8px; border-radius: 7px; font-size: 13px; color: var(--muted); }
.wallet-panel li:nth-child(odd) { background: var(--bg); }
.wallet-panel li b { font-variant-numeric: tabular-nums; color: var(--text); }
.wallet-panel li b.pos { color: var(--win); }
.wallet-panel .empty-line { padding: 8px; font-size: 13px; color: var(--dim); }
.wallet-panel__shop { margin-top: 10px; }
.earn-card .link-btn, .info-card .link-btn { margin-top: 2px; }

/* ---------- Jogos ---------- */
.game-head { display: flex; align-items: center; gap: 12px; padding: 22px 0 14px; }
.game-head__title small { display: block; font-size: 12px; font-weight: 700; color: var(--dim); }
.game-head__title h1 { font-size: 26px; font-weight: 900; font-stretch: 110%; letter-spacing: -.02em; line-height: 1.05; }
.game-head__rtp { margin-left: auto; }
.game { display: grid; grid-template-columns: 320px minmax(0, 1fr); min-height: 540px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.game__panel { display: flex; flex-direction: column; gap: 14px; min-width: 0; padding: 18px; border-right: 1px solid var(--line); }
.game__stage { position: relative; min-width: 0; overflow: hidden; display: grid; place-items: center; padding: 24px; background: radial-gradient(ellipse at 50% -10%, rgba(255, 255, 255, .05), transparent 60%), var(--stage); }
.field-label { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 6px; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.field-label small { font-weight: 600; color: var(--dim); font-variant-numeric: tabular-nums; }
.bet-input { display: flex; align-items: center; height: 46px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); overflow: hidden; transition: border-color .18s; }
.bet-input:focus-within { border-color: var(--accent); }
.bet-input .art { width: 22px; height: 22px; margin-left: 12px; }
.bet-input input { flex: 1; min-width: 0; height: 100%; padding: 0 10px; background: none; border: 0; outline: 0; font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums; }
.bet-input button { height: 100%; padding: 0 12px; border-left: 1px solid var(--line); font-size: 13px; font-weight: 800; color: var(--muted); transition: background .18s, color .18s; }
.bet-input button:hover:not([disabled]) { background: var(--surface-2); color: #fff; }
.bet-input.is-locked { opacity: .6; }
.text-input { display: flex; align-items: center; height: 46px; padding: 0 12px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); }
.text-input:focus-within { border-color: var(--accent); }
.text-input input, .text-input select { flex: 1; min-width: 0; height: 100%; background: none; border: 0; outline: 0; font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums; }
.text-input select { appearance: none; -webkit-appearance: none; cursor: pointer; }
.text-input select option { background: var(--surface); }
.text-input span { font-weight: 800; color: var(--dim); }
.seg { display: grid; grid-template-columns: repeat(var(--n, 3), 1fr); gap: 4px; padding: 4px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); }
.seg button { height: 34px; border-radius: 7px; font-size: 13px; font-weight: 800; color: var(--muted); transition: background .18s, color .18s; }
.seg button:hover:not([disabled]) { color: #fff; }
.seg button[aria-pressed='true'] { background: var(--surface-3); color: #fff; }
.seg button[disabled] { cursor: not-allowed; opacity: .6; }
.dice__sides { gap: 8px; padding: 0; background: none; border: 0; }
.dice__sides button { height: 42px; border: 1px solid var(--line); border-radius: 8px; font-size: 12px; }
.dice__sides button[aria-pressed='true'] { border-color: rgba(31,214,95,.5); box-shadow: inset 0 -2px 0 var(--win); }
.game--dice .game__panel > .btn-bet, .game--blackjack .game__panel > .btn-bet { order: 0; }
.crash__stake { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.crash__stake + .crash__stake { padding-top: 16px; border-top: 1px solid var(--line); }
.crash__stake-title { font-size: 13px; font-weight: 900; color: var(--accent-ink); }
.crash__stake .panel-stat { font-size: 12px; padding: 8px 10px; }
.game--blackjack .game__stage { padding: 18px; background: #0a1a17; }
.blackjack__table { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; min-height: 525px; gap: 12px; padding: 22px 14px; border-radius: 48% / 16%; border: 2px solid rgba(220,174,85,.45); background: radial-gradient(ellipse at 50% 40%, #205b47, #0b2b23 85%); box-shadow: inset 0 0 50px rgba(0,0,0,.3); }
.blackjack__shoe { position: absolute; top: 46%; right: clamp(14px, 3vw, 34px); transform: translateY(-50%) rotate(8deg); display: grid; justify-items: center; gap: 10px; pointer-events: none; }
.blackjack__shoe > span { color: #d9bb76; font-size: 8px; font-weight: 800; letter-spacing: .1em; }
.blackjack__deck { position: relative; width: 58px; height: 84px; border: 4px solid #fff1d3; border-radius: 7px; background: repeating-linear-gradient(45deg, #203e56 0 5px, #294a61 5px 7px); box-shadow: 2px 3px 0 #d5c5a6, 4px 6px 0 #fff1d3, 6px 9px 12px rgba(0,0,0,.35); }
.blackjack__deck::before { content: '✦'; position: absolute; inset: 4px; display: grid; place-items: center; border: 1px solid #dbbe7d; border-radius: 2px; color: #edcd81; font-size: 30px; }
.blackjack__hand-label { font-size: 13px; font-weight: 800; letter-spacing: .04em; color: #e6e4d1; }
.blackjack__hand { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 115px; }
.blackjack__card { position: relative; flex: 0 0 76px; height: 110px; border-radius: 8px; color: #182323; font-family: Georgia, serif; perspective: 700px; }
.blackjack__card.is-dealing { z-index: 2; }
.blackjack__card-inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; }
.blackjack__card.is-back .blackjack__card-inner { transform: rotateY(180deg); }
.blackjack__face { position: absolute; inset: 0; overflow: hidden; border-radius: 8px; background: #fff9ed; box-shadow: 0 5px 12px rgba(0,0,0,.3); backface-visibility: hidden; }
.blackjack__card.is-red { color: #bc253a; }
.blackjack__corner { position: absolute; top: 5px; left: 7px; font-size: 18px; font-weight: 800; line-height: 1.3; letter-spacing: -.06em; }
.blackjack__corner.is-bottom { inset: auto 7px 5px auto; transform: rotate(180deg); }
.blackjack__pip { position: absolute; inset: 0; display: grid; place-items: center; font-size: 42px; }
.blackjack__face--back { transform: rotateY(180deg); color: #edcd81; background: repeating-linear-gradient(45deg, #203e56 0 5px, #294a61 5px 7px); border: 4px solid #fff1d3; }
.blackjack__face--back .blackjack__pip { border: 1px solid #dbbe7d; margin: 5px; border-radius: 3px; }
.blackjack__brand { display: flex; flex-direction: column; align-items: center; gap: 2px; padding-block: 5px; color: #d9bb76; }
.blackjack__brand > span { font-size: 24px; line-height: 1; }
.blackjack__brand strong { font-size: clamp(21px, 3vw, 32px); font-weight: 900; letter-spacing: .13em; }
.blackjack__brand small { font-size: 9px; font-weight: 800; letter-spacing: .18em; opacity: .7; }
.blackjack__message { min-height: 42px; display: grid; place-items: center; max-width: 100%; padding: 8px 14px; border-radius: 10px; background: rgba(0,0,0,.2); font-size: 13px; font-weight: 700; text-align: center; color: #e6e4d1; }
.blackjack__message.is-win { color: #7ef0a5; }
.blackjack__message.is-loss { color: #ffa2ad; }
.blackjack__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.blackjack__actions .btn { min-width: 0; padding-inline: 8px; }
.blackjack__extra { color: #c89aff; }
.blackjack__players { display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; max-width: 680px; gap: 10px; }
.blackjack__players.is-split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.blackjack__player { min-width: 0; padding: 8px 4px; border: 1px solid transparent; border-radius: 12px; }
.blackjack__players.is-split .blackjack__player { background: rgba(0,0,0,.12); }
.blackjack__player.is-active { border-color: rgba(220,174,85,.65); }
.blackjack__player.is-win { border-color: #7ef0a5; }
.blackjack__player.is-loss { border-color: rgba(255,162,173,.5); }
.blackjack__player-label { margin-top: 7px; font-size: 11px; font-weight: 700; text-align: center; color: #e6e4d1; }
.blackjack__players:not(.is-split) .blackjack__player-label { display: none; }
.blackjack__players.is-split .blackjack__hand { min-height: 88px; gap: 5px; }
.blackjack__players.is-split .blackjack__card { flex-basis: 54px; height: 80px; }
.blackjack__players.is-split .blackjack__corner { font-size: 14px; left: 4px; }
.blackjack__players.is-split .blackjack__corner.is-bottom { left: auto; right: 4px; }
.blackjack__players.is-split .blackjack__pip { font-size: 30px; }
.blackjack__table.is-split .blackjack__shoe { top: 28%; }
@media (max-width: 600px) {
  .game--crash .game__panel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .game--crash .game__panel > .panel-note { grid-column: 1 / -1; }
  .crash__stake { gap: 8px; }
  .crash__stake + .crash__stake { padding-top: 0; padding-left: 10px; border-top: 0; border-left: 1px solid var(--line); }
  .crash__stake .field-label { font-size: 11px; }
  .crash__stake .field-label small, .crash__stake .bet-input button { display: none; }
  .crash__stake .bet-input, .crash__stake .text-input { height: 40px; }
  .crash__stake .bet-input .art { width: 18px; height: 18px; margin-left: 8px; }
  .crash__stake .bet-input input, .crash__stake .text-input input { font-size: 14px; }
  .crash__stake .btn-bet { min-height: 54px; height: auto; padding: 6px; font-size: 12px; line-height: 1.3; }
  .crash__stake .btn-bet small { font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .crash__stake .panel-stat { display: block; font-size: 10px; }
  .crash__stake .panel-stat strong { display: block; margin-top: 2px; }
  .game--blackjack .game__stage { padding: 12px; }
  .blackjack__table { min-height: 450px; padding: 20px 8px; gap: 10px; }
  .blackjack__hand { min-height: 94px; gap: 5px; }
  .blackjack__card { flex-basis: 60px; height: 90px; }
  .blackjack__shoe { right: 12px; gap: 8px; }
  .blackjack__table.is-split .blackjack__shoe { top: 20%; right: 8px; }
  .blackjack__shoe > span { font-size: 6px; }
  .blackjack__deck { width: 40px; height: 58px; border-width: 3px; }
  .blackjack__deck::before { font-size: 22px; }
  .blackjack__corner { font-size: 15px; left: 5px; }
  .blackjack__corner.is-bottom { right: 5px; }
  .blackjack__pip { font-size: 32px; }
  .blackjack__players { gap: 6px; }
  .blackjack__players.is-split .blackjack__card { flex-basis: 42px; height: 64px; }
  .blackjack__players.is-split .blackjack__hand { min-height: 68px; gap: 3px; }
  .blackjack__players.is-split .blackjack__corner { font-size: 11px; }
  .blackjack__players.is-split .blackjack__pip { font-size: 24px; }
  .blackjack__player-label { font-size: 10px; }
}
.btn-bet { width: 100%; height: 52px; border-radius: 10px; background: var(--win); color: var(--win-ink); font-size: 16px; font-weight: 900; font-stretch: 105%; letter-spacing: .01em; transition: background .18s, transform .12s, opacity .18s; }
.btn-bet:hover:not([disabled]) { background: #3ee77a; }
.btn-bet:active:not([disabled]) { transform: translateY(1px); }
.btn-bet[disabled] { opacity: .5; cursor: not-allowed; }
.btn-bet--cashout { background: var(--gold); color: var(--gold-ink); }
.btn-bet--cashout:hover:not([disabled]) { background: #ffc629; }
.btn-bet small { display: block; font-size: 12px; font-weight: 700; opacity: .8; }
.panel-stat { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.panel-stat strong { color: #fff; font-variant-numeric: tabular-nums; }
.panel-stat strong.pos { color: var(--win); }
.panel-note { margin-top: auto; font-size: 12px; color: var(--dim); line-height: 1.5; }
.panel-actions { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.panel-actions .btn { height: 52px; border-radius: 10px; }
.game--plinko .panel-actions { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.plinko__batches { display: contents; }
.plinko__batches .btn { min-width: 0; padding-inline: 6px; white-space: normal; }
.game--loading { min-height: 540px; background: linear-gradient(100deg, var(--surface) 30%, var(--surface-2) 50%, var(--surface) 70%) 0 0 / 300% 100%; animation: loading 1.4s linear infinite; }
@keyframes loading { to { background-position: -150% 0; } }
.text-input select + span { pointer-events: none; font-size: 12px; }
.plinko__history { justify-content: flex-start; margin-bottom: 10px; }
.stage-msg { justify-self: center; margin-top: 18px; padding: 8px 14px; border-radius: 999px; background: rgba(10, 10, 12, .8); border: 1px solid var(--line); font-size: 13px; color: var(--muted); text-align: center; pointer-events: none; }
.game--mines .game__stage { align-content: center; }
.result-pop { position: absolute; z-index: 6; left: 50%; top: 50%; min-width: 180px; padding: 14px 22px; border-radius: 14px; background: rgba(12, 12, 15, .94); border: 2px solid var(--win); text-align: center; transform: translate(-50%, -50%); animation: result-pop .4s var(--ease-out); pointer-events: none; }
.result-pop strong { display: block; font-size: 32px; font-weight: 900; font-stretch: 110%; color: var(--win); font-variant-numeric: tabular-nums; line-height: 1.1; }
.result-pop small { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 4px; font-size: 14px; font-weight: 800; color: var(--text); }
.result-pop small .art { width: 18px; height: 18px; }
.result-pop.is-loss { border-color: var(--red); }
.result-pop.is-loss strong { color: var(--red); }
@keyframes result-pop { from { opacity: 0; transform: translate(-50%, -50%) scale(.85); } }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

/* Mines */
.mines { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; width: min(100%, 480px); }
.mines.is-boom { animation: shake .45s; }
.mtile { position: relative; aspect-ratio: 1; border-radius: 10px; background: #2b2b35; box-shadow: inset 0 -5px 0 rgba(0, 0, 0, .35); transition: transform .15s var(--ease), background .2s, box-shadow .2s, opacity .3s; }
.mtile:hover:not([disabled]) { transform: translateY(-3px); background: #373744; }
.mtile[disabled] { cursor: default; }
.mtile.is-armed:not([disabled]) { cursor: pointer; }
.mtile .art { position: absolute; left: 18%; top: 18%; width: 64%; height: 64%; opacity: 0; transform: scale(.3); }
.mtile.is-gem, .mtile.is-mine, .mtile.is-dim { box-shadow: none; }
.mtile.is-gem { background: #121722; box-shadow: inset 0 0 0 2px rgba(34, 211, 238, .55), 0 0 26px -8px rgba(34, 211, 238, .7); }
.mtile.is-mine { background: #2a0f14; box-shadow: inset 0 0 0 2px rgba(255, 79, 94, .85), 0 0 26px -8px rgba(255, 79, 94, .8); }
.mtile.is-gem .art, .mtile.is-mine .art { animation: tile-pop .45s var(--ease-out) forwards; }
.mtile.is-dim { background: #1b1b22; opacity: .5; }
.mtile.is-dim .art { opacity: 1; transform: scale(.85); }
@keyframes tile-pop { 0% { opacity: 0; transform: scale(.3) rotate(-14deg); } 70% { opacity: 1; transform: scale(1.15); } 100% { opacity: 1; transform: none; } }

/* Crash */
.crash { display: flex; flex-direction: column; gap: 12px; width: 100%; min-width: 0; height: 100%; min-height: 460px; align-self: stretch; }
.crash__history { display: flex; gap: 6px; min-width: 0; min-height: 26px; overflow: hidden; mask-image: linear-gradient(90deg, #000 85%, transparent); }
.crash__pill { flex-shrink: 0; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 800; font-variant-numeric: tabular-nums; background: var(--surface-2); color: var(--muted); border: 1px solid var(--line); }
.crash__pill.is-new, .double__dot.is-new { animation: drop .3s var(--ease-out); }
.crash__pill.is-mid { color: #7ef0a5; border-color: rgba(31, 214, 95, .35); }
.crash__pill.is-high { color: #ffd56a; border-color: rgba(242, 179, 1, .45); }
.crash__screen { position: relative; flex: 1; min-height: 380px; border-radius: 12px; overflow: hidden; background: #0b0b0e; border: 1px solid var(--line); }
.crash__screen canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.crash__mult { position: absolute; left: 50%; top: 36%; transform: translate(-50%, -50%); font-size: clamp(52px, 7vw, 92px); font-weight: 900; font-stretch: 115%; letter-spacing: -.03em; font-variant-numeric: tabular-nums; text-shadow: 0 4px 30px rgba(0, 0, 0, .6); }
.crash__mult.is-crashed { color: var(--red); }
.crash__mult.is-cashed { color: var(--win); }
.crash__label { position: absolute; left: 50%; top: calc(36% + 54px); transform: translateX(-50%); max-width: calc(100% - 24px); font-size: 14px; font-weight: 700; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: center; }
.crash__mult.is-waiting { font-size: clamp(40px, 5.6vw, 70px); color: var(--text); }
.crash__live { position: absolute; z-index: 2; top: 12px; right: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px 3px 7px; border-radius: 999px; background: rgba(255, 59, 59, .14); border: 1px solid rgba(255, 59, 59, .35); color: #ff8a8a; font-size: 11px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.crash__live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 0 rgba(255, 59, 59, .6); animation: live-ping 1.6s infinite; }
@keyframes live-ping { 70% { box-shadow: 0 0 0 7px rgba(255, 59, 59, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 59, 59, 0); } }
.crash__countdown { position: absolute; left: 50%; top: calc(36% + 86px); width: min(260px, 60%); height: 6px; border-radius: 999px; background: rgba(255, 255, 255, .1); overflow: hidden; transform: translateX(-50%); }
.crash__countdown i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--accent), var(--accent-hi)); transform-origin: left; }
.crash__players { border-radius: 12px; border: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.crash__players-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 10px 14px; background: var(--surface-2); font-size: 13px; }
.crash__players-head span { color: var(--dim); font-weight: 700; font-variant-numeric: tabular-nums; }
.crash__players-list { list-style: none; margin: 0; padding: 0; max-height: 236px; overflow-y: auto; scrollbar-width: thin; }
.crash__player { display: grid; grid-template-columns: minmax(0, 1fr) 80px 70px 84px; align-items: center; gap: 8px; padding: 7px 14px; border-top: 1px solid var(--line); font-size: 13px; font-variant-numeric: tabular-nums; color: var(--muted); }
.crash__player:first-child { border-top: 0; }
.crash__player.is-me { background: var(--accent-soft); }
.crash__player.is-cashed .crash__at, .crash__player.is-cashed .crash__win { color: var(--win); font-weight: 800; }
.crash__player.is-lost .crash__win { color: #ff9aa3; }
.crash__bet, .crash__at, .crash__win { text-align: right; }
.crash__who { display: flex; align-items: center; gap: 8px; min-width: 0; color: var(--text); font-weight: 700; }
.crash__who span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
a.crash__who:hover span { color: var(--accent-ink); }
.crash__who img, .mini-avatar { width: 24px; height: 24px; flex-shrink: 0; border-radius: 50%; object-fit: cover; }
.mini-avatar { display: grid; place-items: center; background: var(--surface-3); color: var(--muted); font-size: 11px; font-weight: 900; }
.crash__players-empty { padding: 16px 14px; font-size: 13px; color: var(--dim); text-align: center; }
.btn-bet--ghost { background: var(--surface-3); color: var(--text); }
.btn-bet--ghost:hover:not([disabled]) { background: #34343c; }

/* Plinko */
.plinko { width: 100%; max-width: min(760px, 100%); min-width: 0; overflow: hidden; touch-action: pan-y; }
.plinko canvas { width: 100%; max-width: 100%; height: auto; touch-action: pan-y; }

/* Dice */
.dice { display: grid; gap: 46px; width: min(100%, 660px); }
.dice__result { text-align: center; font-size: clamp(56px, 8vw, 88px); font-weight: 900; font-stretch: 115%; letter-spacing: -.03em; font-variant-numeric: tabular-nums; line-height: 1; transition: color .2s; }
.dice__result.is-win { color: var(--win); }
.dice__result.is-loss { color: var(--red); }
.dice__history { display: flex; justify-content: center; gap: 6px; min-height: 26px; flex-wrap: wrap; }
.dice__pill { padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 800; font-variant-numeric: tabular-nums; background: var(--surface-2); border: 1px solid var(--line); animation: drop .3s var(--ease-out); }
.dice__pill.is-win { color: #7ef0a5; border-color: rgba(31, 214, 95, .4); }
.dice__pill.is-loss { color: #ff9aa3; border-color: rgba(255, 79, 94, .35); }
.dice__track { position: relative; height: 56px; padding: 0 16px; border-radius: 999px; background: #1c1c22; border: 1px solid var(--line); }
.dice__bar { position: absolute; left: 16px; right: 16px; top: 50%; height: 12px; transform: translateY(-50%); border-radius: 999px; background: linear-gradient(90deg, var(--lo) 0 var(--t), var(--hi) var(--t) 100%); }
.dice__range { position: absolute; left: calc(-1px + (100% - 32px) * var(--min, 0) / 100); top: 0; bottom: 0; width: calc(34px + (100% - 32px) * var(--span, 100) / 100); margin: 0; appearance: none; -webkit-appearance: none; background: transparent; cursor: ew-resize; }
.dice__range::-webkit-slider-thumb { -webkit-appearance: none; width: 34px; height: 34px; border-radius: 8px; background: #fff; box-shadow: 0 4px 12px rgba(0, 0, 0, .5); }
.dice__range::-moz-range-thumb { width: 34px; height: 34px; border: 0; border-radius: 8px; background: #fff; box-shadow: 0 4px 12px rgba(0, 0, 0, .5); }
.dice__range:disabled { cursor: not-allowed; }
.dice__marker { position: absolute; top: -40px; left: calc(16px + (100% - 32px) * var(--r, 50) / 100); padding: 4px 9px; border-radius: 8px; background: #fff; color: #0e0e10; font-size: 13px; font-weight: 900; font-variant-numeric: tabular-nums; transform: translateX(-50%); transition: left .55s var(--ease-out), background .2s; opacity: 0; }
.dice__marker::after { content: ''; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px; background: inherit; transform: translateX(-50%) rotate(45deg); }
.dice__marker.is-on { opacity: 1; }
.dice__marker.is-win { background: var(--win); }
.dice__marker.is-loss { background: var(--red); color: #fff; }
.dice__scale { display: flex; justify-content: space-between; padding: 0 16px; margin-top: 8px; font-size: 12px; font-weight: 700; color: var(--dim); }
.dice__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.dice__stats .text-input { height: 44px; }
.dice__mode { width: 100%; height: 44px; display: flex; align-items: center; justify-content: space-between; padding: 0 12px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums; transition: border-color .18s; }
.dice__mode:hover:not([disabled]) { border-color: var(--line-2); }
.dice__mode .icon { width: 16px; height: 16px; color: var(--dim); }

/* Double */
.double { display: grid; gap: 16px; width: 100%; min-width: 0; }
.double__history { display: flex; gap: 6px; min-width: 0; min-height: 28px; overflow: hidden; mask-image: linear-gradient(90deg, #000 85%, transparent); }
.double__dot { flex-shrink: 0; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 7px; font-size: 11px; font-weight: 900; }
.double__window { position: relative; overflow: hidden; padding: 22px 0; border-radius: 12px; background: #0b0b0e; border: 1px solid var(--line); }
.double__window::before, .double__window::after { content: ''; position: absolute; z-index: 2; top: 0; bottom: 0; width: 12%; pointer-events: none; }
.double__window::before { left: 0; background: linear-gradient(90deg, #0b0b0e, transparent); }
.double__window::after { right: 0; background: linear-gradient(270deg, #0b0b0e, transparent); }
.double__track { display: flex; gap: 8px; width: max-content; will-change: transform; }
.dtile { flex-shrink: 0; display: grid; place-items: center; width: 84px; height: 84px; border-radius: 12px; font-size: 22px; font-weight: 900; font-stretch: 110%; transition: transform .4s var(--ease-out), opacity .4s; }
.dtile--red { background: #e5484d; color: #fff; box-shadow: inset 0 -5px 0 rgba(0, 0, 0, .25); }
.dtile--black { background: #26262c; color: #fff; box-shadow: inset 0 -5px 0 rgba(0, 0, 0, .35); }
.dtile--white { background: #fff; color: #0e0e10; box-shadow: inset 0 -5px 0 rgba(0, 0, 0, .12); }
.double__window.is-done .dtile:not(.is-hit) { opacity: .35; }
.dtile.is-hit { transform: scale(1.1); }
.double__marker { position: absolute; z-index: 3; left: 50%; top: 8px; bottom: 8px; width: 3px; border-radius: 3px; background: #fff; transform: translateX(-50%); }
.double__marker::before { content: ''; position: absolute; left: 50%; top: -8px; width: 16px; height: 11px; background: #fff; transform: translateX(-50%); clip-path: polygon(0 0, 100% 0, 50% 100%); }
.double__window { padding-bottom: 64px; }
.double__window .double__marker { bottom: 66px; }
.double__banner { position: absolute; z-index: 4; left: 50%; bottom: 12px; display: grid; justify-items: center; gap: 6px; min-width: min(360px, 86%); padding: 8px 16px; border-radius: 12px; background: rgba(12, 12, 15, .9); border: 1px solid var(--line); transform: translateX(-50%); text-align: center; }
.double__banner strong { font-size: 14px; font-weight: 800; font-variant-numeric: tabular-nums; }
.double__bar { width: 100%; height: 5px; border-radius: 999px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.double__bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--accent), var(--accent-hi)); transform-origin: left; }
.double__window[data-phase='result'] .double__banner { border-color: rgba(31, 214, 95, .35); }
.double__columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.double__col { min-width: 0; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); overflow: hidden; transition: border-color .25s, opacity .25s; }
.double__col.is-win { border-color: rgba(31, 214, 95, .6); box-shadow: 0 0 0 1px rgba(31, 214, 95, .25), 0 14px 30px -18px rgba(31, 214, 95, .7); }
.double__col.is-lose { opacity: .6; }
.double__col-head { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 8px; padding: 9px 12px; background: var(--surface-2); }
.double__col-head b { font-size: 13px; font-weight: 900; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.double__col-head small { grid-column: 2; font-size: 11.5px; font-weight: 700; color: var(--dim); font-variant-numeric: tabular-nums; }
.double__chip { grid-row: span 2; width: 22px; height: 22px; border-radius: 6px; }
.double__col-list { list-style: none; margin: 0; padding: 0; max-height: 210px; overflow-y: auto; scrollbar-width: thin; }
.double__entry { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 12px; border-top: 1px solid var(--line); font-size: 12.5px; }
.double__entry:first-child { border-top: 0; }
.double__entry.is-me { background: var(--accent-soft); }
.double__who { display: flex; align-items: center; gap: 7px; min-width: 0; font-weight: 700; }
.double__who span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
a.double__who:hover span { color: var(--accent-ink); }
.double__who img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.double__who .mini-avatar { width: 22px; height: 22px; }
.double__amount { font-weight: 800; font-variant-numeric: tabular-nums; color: var(--muted); }
.double__col.is-win .double__amount { color: var(--win); }
.double__col-empty { padding: 12px; text-align: center; color: var(--dim); font-size: 12.5px; }
.color-picks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.color-pick { display: grid; justify-items: center; gap: 2px; padding: 10px 6px; border-radius: 10px; border: 2px solid transparent; font-size: 13px; font-weight: 900; transition: transform .15s, border-color .15s, opacity .15s; }
.color-pick small { font-size: 11.5px; font-weight: 800; opacity: .8; }
.color-pick--red { background: #e5484d; color: #fff; }
.color-pick--white { background: #fff; color: #0e0e10; }
.color-pick--black { background: #26262c; color: #fff; border-color: #34343c; }
.color-pick[aria-pressed='true'] { border-color: var(--win); transform: translateY(-2px); box-shadow: 0 0 0 3px rgba(31, 214, 95, .25); }
.color-pick[aria-pressed='false'] { opacity: .7; }
.color-pick[disabled] { cursor: not-allowed; }

/* Penálti */
.pen { display: grid; gap: 14px; width: min(100%, 760px); min-width: 0; }
.pen__scene { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #0d0b18; border: 1px solid var(--line); box-shadow: 0 30px 60px -36px rgba(145, 71, 255, .55); }
.pen__scene > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pen-keeper, .pen-ball, .pen-ball__spin, .pen-impact, .pen-shadow, .pen-net, .pen-crowd { transform-box: fill-box; }
.pen-keeper { opacity: 0; transform-origin: 50% 72%; transition: opacity .35s var(--ease-out); }
.pen-keeper.is-on { opacity: 1; }
.pen-ball, .pen-ball__spin, .pen-impact, .pen-shadow { transform-origin: center; }
.pen-net { transform-origin: 50% 100%; }
.pen-crowd { transform-origin: center; }
.pen-flash { opacity: 0; animation: pen-flash 6s linear infinite; }
@keyframes pen-flash { 0%, 92%, 100% { opacity: 0; } 94% { opacity: .95; } 96% { opacity: .2; } }
.pen-board__text { animation: pen-board 12s linear infinite; }
@keyframes pen-board { to { transform: translateX(-540px); } }
.pen__scene.is-goal .pen-flash { animation-duration: 1.4s; }
.pen__plate { position: absolute; z-index: 2; left: 12px; top: 12px; display: flex; align-items: center; gap: 8px; padding: 6px 8px 6px 12px; border-radius: 999px; background: rgba(10, 9, 18, .72); border: 1px solid rgba(255, 255, 255, .1); backdrop-filter: blur(6px); font-size: 12.5px; pointer-events: none; }
.pen__plate small { color: var(--dim); font-weight: 700; }
.pen__plate b { font-weight: 900; }
.pen__plate-mode { padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
.pen__plate-mode--easy { background: rgba(34, 211, 238, .18); color: #7ee8fa; }
.pen__plate-mode--medium { background: rgba(242, 179, 1, .18); color: #ffd56a; }
.pen__plate-mode--hard { background: rgba(255, 77, 141, .2); color: #ff9cc0; }
/* Alvos sobre a boca da baliza (postes e trave da cena). */
.pen__zones { position: absolute; left: 18.2%; right: 18.2%; top: 18.4%; bottom: 30.4%; display: grid; grid-template: repeat(2, minmax(0, 1fr)) / repeat(3, minmax(0, 1fr)); gap: 6px; }
.pen__zone { position: relative; display: grid; place-items: center; border-radius: 12px; border: 2px dashed transparent; transition: border-color .2s, background .2s; }
.pen__zone[disabled] { cursor: default; }
.pen__target { width: clamp(22px, 4.2vw, 40px); aspect-ratio: 1; border-radius: 50%; opacity: 0; transform: scale(.6); background: radial-gradient(circle, #fff 0 14%, transparent 15% 34%, rgba(255, 255, 255, .9) 35% 44%, transparent 45% 64%, rgba(255, 255, 255, .7) 65% 72%, transparent 73%); filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .55)); transition: opacity .25s, transform .3s var(--ease-out); }
.pen__key { position: absolute; top: 5px; left: 7px; font-size: 11px; font-weight: 900; color: rgba(255, 255, 255, .0); transition: color .2s; }
.pen.is-aiming .pen__zone { border-color: rgba(255, 255, 255, .22); }
.pen.is-aiming .pen__target { opacity: .75; transform: none; }
.pen.is-aiming .pen__key { color: rgba(255, 255, 255, .6); }
.pen.is-aiming .pen__zone:hover, .pen.is-aiming .pen__zone:focus-visible { border-color: #fff; background: rgba(255, 255, 255, .1); }
.pen.is-aiming .pen__zone:hover .pen__target, .pen.is-aiming .pen__zone:focus-visible .pen__target { opacity: 1; transform: scale(1.15); }
.pen.is-aiming .pen__zones .pen__zone { animation: pen-aim 1.8s ease-in-out infinite; }
@keyframes pen-aim { 50% { border-color: rgba(255, 255, 255, .4); } }
.pen__banner { position: absolute; z-index: 3; left: 50%; top: 50%; padding: 10px 24px; border-radius: 14px; font-size: clamp(28px, 4.4vw, 48px); font-weight: 900; font-stretch: 118%; letter-spacing: -.02em; text-transform: uppercase; transform: translate(-50%, -50%) rotate(-3deg); animation: pen-banner .45s var(--ease-out); pointer-events: none; text-shadow: 0 4px 20px rgba(0, 0, 0, .45); }
.pen__banner.is-goal { color: #04210d; background: linear-gradient(135deg, #7ef0a5, #1fd65f); box-shadow: 0 12px 40px -10px rgba(31, 214, 95, .8); }
.pen__banner.is-save { color: #fff; background: linear-gradient(135deg, #ff7a86, #e11d48); box-shadow: 0 12px 40px -10px rgba(255, 79, 94, .8); }
@keyframes pen-banner { from { opacity: 0; transform: translate(-50%, -50%) rotate(-3deg) scale(.6); } 60% { transform: translate(-50%, -50%) rotate(-3deg) scale(1.08); } }
.pen__steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.pen__step { display: grid; justify-items: center; gap: 1px; padding: 8px 4px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; font-weight: 900; font-variant-numeric: tabular-nums; color: var(--muted); transition: background .25s, border-color .25s, color .25s; }
.pen__step small { font-size: 11px; font-weight: 700; color: var(--dim); }
.pen__step.is-next { border-color: var(--line-2); color: #fff; }
.pen__step.is-done { background: rgba(31, 214, 95, .12); border-color: rgba(31, 214, 95, .5); color: #7ef0a5; }
.pen__step.is-miss { background: rgba(255, 79, 94, .12); border-color: rgba(255, 79, 94, .5); color: #ff9aa3; }

/* Tabela de apostas */
.bets { border-radius: 12px; border: 1px solid var(--line); overflow: hidden; background: var(--surface); }
.bets table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.bets th { padding: 10px 14px; background: var(--surface-2); font-size: 11.5px; font-weight: 800; font-stretch: 90%; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); text-align: left; }
.bets td { padding: 11px 14px; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; color: var(--muted); }
.bets td:first-child { color: var(--text); font-weight: 700; }
.bets th:nth-child(n+3), .bets td:nth-child(n+3) { text-align: right; }
.bets .pos { color: var(--win); font-weight: 800; }
.bets .neg { color: var(--muted); }
.bets__empty { padding: 26px; text-align: center; font-size: 14px; color: var(--dim); }
.profile-records td.is-big { color: #ffd56a; font-weight: 800; }

/* Apostas da comunidade: separadores, tabela e recordes */
.feed { display: grid; gap: 10px; }
.feed__tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.feed__tabs::-webkit-scrollbar { display: none; }
.feed__tab { display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0; height: 36px; padding: 0 13px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 13px; font-weight: 800; color: var(--muted); transition: color .18s, border-color .18s, background .18s; }
.feed__tab .icon { width: 15px; height: 15px; }
.feed__tab:hover { color: var(--text); border-color: var(--line-2); }
.feed__tab[aria-selected='true'] { color: #fff; background: var(--accent-soft); border-color: var(--accent); }
.feed__panel { border-radius: 12px; border: 1px solid var(--line); overflow-x: auto; overflow-y: hidden; background: var(--surface); scrollbar-width: thin; }
.feed__short { display: none; }
.feed__panel table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.feed__panel th { padding: 10px 14px; background: var(--surface-2); font-size: 11.5px; font-weight: 800; font-stretch: 90%; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); text-align: right; white-space: nowrap; }
.feed__panel td { padding: 9px 14px; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; color: var(--muted); text-align: right; white-space: nowrap; }
.feed__panel th.feed__c-game, .feed__panel td.feed__c-game, .feed__panel th.feed__c-player, .feed__panel td.feed__c-player, .feed__panel th.feed__rank, .feed__panel td.feed__rank { text-align: left; }
.feed__panel .pos { color: var(--win); font-weight: 800; }
.feed__panel .neg { color: var(--muted); }
.feed__panel .is-focus { color: #fff; font-weight: 900; }
.feed__panel .pos.is-focus { color: var(--win); }
.feed__c-mult.is-big { color: #ffd56a; font-weight: 800; }
.feed__game, .feed__player { display: inline-flex; align-items: center; gap: 8px; max-width: 220px; min-width: 0; color: var(--text); font-weight: 700; vertical-align: middle; }
.feed__game span, .feed__player span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feed__game img { width: 22px; height: 22px; border-radius: 6px; object-fit: cover; flex-shrink: 0; }
.feed__player img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
a.feed__player:hover span { color: var(--accent-ink); }
.feed__rank { width: 44px; font-weight: 900; color: var(--dim); }
.feed__panel tr.is-top .feed__rank { color: #ffd56a; }
.feed__panel tr.is-top--2 .feed__rank { color: #d9dce6; }
.feed__panel tr.is-top--3 .feed__rank { color: #e8a873; }
.feed__panel tr.is-new td { animation: feed-new 1.6s var(--ease-out); }
@keyframes feed-new { from { background: rgba(145, 71, 255, .22); } }
.feed__loading { height: 220px; background: linear-gradient(100deg, var(--surface) 30%, var(--surface-2) 50%, var(--surface) 70%) 0 0 / 300% 100%; animation: loading 1.4s linear infinite; }
.feed__note { font-size: 12.5px; color: var(--dim); }

/* ---------- Loja (Tiaguitos) ---------- */
.shop-balance { min-height: 62px; }
.shop-balance .btn { margin-left: 6px; }
.shop-tools { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.shop-tools .chips { flex-wrap: wrap; }
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.shop-card { position: relative; display: flex; flex-direction: column; min-width: 0; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: transform .3s var(--ease-out), border-color .2s, box-shadow .3s; }
.shop-card:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: 0 16px 30px -16px rgba(0, 0, 0, .9); }
.shop-card.is-featured { border-color: rgba(145, 71, 255, .55); }
.shop-card__media { position: relative; aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle at 50% 38%, #2b2145, #141118 72%); }
.shop-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-out); }
.shop-card:hover .shop-card__media img { transform: scale(1.05); }
.shop-card__media > .art { width: 64px; height: 64px; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .5)); }
.shop-card__tags { position: absolute; left: 8px; top: 8px; display: flex; flex-wrap: wrap; gap: 5px; }
.tag--sub { --dot: var(--accent-hi); }
.tag--cat { --dot: var(--dim); }
.shop-card__body { flex: 1; display: flex; flex-direction: column; gap: 9px; padding: 12px; }
.shop-card__body h3 { font-size: 15px; font-weight: 800; line-height: 1.25; overflow-wrap: anywhere; }
.shop-card__body p { font-size: 13px; color: var(--muted); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.shop-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; }
.shop-card__price { display: inline-flex; align-items: center; gap: 6px; font-size: 17px; font-weight: 900; font-stretch: 105%; font-variant-numeric: tabular-nums; }
.shop-card__price .art { width: 19px; height: 19px; }
.shop-card__stock { font-size: 12px; font-weight: 700; color: var(--dim); white-space: nowrap; }
.shop-card__stock.is-low { color: #ffb15a; }
.shop-card__progress { height: 5px; border-radius: 999px; background: var(--surface-3); overflow: hidden; }
.shop-card__progress i { display: block; width: calc(var(--p, 0) * 100%); height: 100%; border-radius: inherit; background: var(--accent); transition: width .6s var(--ease-out); }
.shop-card__cta { width: 100%; }
.btn.is-disabled { opacity: .62; pointer-events: none; }
.shop-card.is-soldout .shop-card__media { filter: grayscale(1) brightness(.55); }
.shop-card.is-loading { min-height: 312px; background: linear-gradient(100deg, var(--surface) 30%, var(--surface-2) 50%, var(--surface) 70%) 0 0 / 300% 100%; animation: loading 1.4s linear infinite; }
.shop-empty__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 6px; }
.shop-info { margin-top: 24px; }

/* ---------- Rodapé ---------- */
.footer { margin-top: 64px; padding: 36px var(--gutter) 26px; border-top: 1px solid var(--line); background: var(--side); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; max-width: 1440px; margin: 0 auto; }
.footer__brand p { margin-top: 14px; font-size: 14px; color: var(--muted); }
.footer__link { display: inline-block; margin-top: 4px; font-size: 14px; color: var(--accent-ink); }
.footer__link:hover { color: #fff; }
.footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; font-size: 14px; color: var(--muted); }
.footer__col h3 { margin-bottom: 3px; font-size: 13px; color: var(--text); }
.footer__col a, .footer__col button { text-align: left; transition: color .18s; }
.footer__col a:hover, .footer__col button:hover { color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; max-width: 1440px; margin: 30px auto 0; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--dim); }
.footer__warning { display: flex; align-items: center; gap: 10px; max-width: 760px; }

/* ---------- Telemóvel: barra inferior ---------- */
.dock { display: none; }

.to-top { position: fixed; z-index: 29; right: 20px; bottom: 20px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line-2); color: var(--text); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .25s, transform .3s var(--ease-out), background .18s, bottom .3s var(--ease-out); }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--surface-3); }
.to-top .icon { width: 18px; height: 18px; }
body.has-mini-player .to-top { bottom: 376px; }

/* ---------- Janela ---------- */
.modal:focus-visible { outline: none; }
.modal { width: min(100% - 32px, 540px); max-height: calc(100dvh - 40px); padding: 0; border: 0; background: transparent; color: var(--text); overflow: visible; }
.modal::backdrop { background: rgba(0, 0, 0, .72); opacity: 0; transition: opacity .25s; }
.modal.is-open::backdrop { opacity: 1; }
.modal__panel { position: relative; max-height: calc(100dvh - 40px); overflow-y: auto; border-radius: 14px; background: var(--surface); border: 1px solid var(--line-2); box-shadow: 0 30px 80px rgba(0, 0, 0, .7); opacity: 0; transform: translateY(16px) scale(.98); transition: opacity .25s var(--ease-out), transform .35s var(--ease-out); scrollbar-width: thin; scrollbar-color: var(--surface-3) transparent; }
.modal.is-open .modal__panel { opacity: 1; transform: none; }
.modal__close { position: absolute; z-index: 5; right: 12px; top: 12px; background: rgba(10, 10, 12, .8); }
.modal--wide { width: min(100% - 32px, 960px); }
.modal--slot { width: min(100% - 32px, 700px); }
.modal__body { padding: 28px; }
.modal__symbol { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 18px; border-radius: 11px; background: var(--accent-soft); color: var(--accent-ink); }
.modal__symbol .icon { width: 23px; height: 23px; }
.modal__symbol .art { width: 28px; height: 28px; }
.modal__kicker { font-size: 12px; font-weight: 800; font-stretch: 85%; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.modal__body h2 { margin-top: 8px; padding-right: 36px; font-size: clamp(22px, 3vw, 28px); font-stretch: 106%; letter-spacing: -.02em; }
.modal__body p { margin-top: 12px; color: var(--muted); font-size: 15px; line-height: 1.65; }
.modal__body p b { color: var(--text); }
.modal__body ul { margin: 12px 0 0; padding-left: 18px; color: var(--muted); font-size: 14.5px; line-height: 1.7; }
.modal__links { display: grid; gap: 8px; margin-top: 16px; }
.modal__links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 9px; background: var(--surface-2); border: 1px solid var(--line); font-weight: 700; font-size: 14px; transition: border-color .18s; }
.modal__links a:hover { border-color: var(--accent); }
.modal__links .icon { width: 16px; height: 16px; color: var(--dim); }
.modal__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.modal__form { display: grid; gap: 10px; margin-top: 18px; }
.modal__form .text-input { height: 48px; }
.modal__form .text-input span { font-weight: 700; color: var(--dim); }
.modal__error { font-size: 13.5px; color: #ff9aa3; }

.slot-modal__media { position: relative; aspect-ratio: 640 / 300; overflow: hidden; border-radius: 14px 14px 0 0; background: #121215; }
.slot-modal__media img { width: 100%; height: 100%; object-fit: cover; }
.slot-modal__media[data-provider='pragmatic'] img { transform: scale(1.06); }
.slot-modal__body { padding: 20px 28px 26px; }
.slot-modal__provider { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; font-stretch: 85%; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.slot-modal__provider::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--pc, var(--accent)); }
.slot-modal__body h2 { margin-top: 8px; font-size: clamp(24px, 3.4vw, 32px); font-weight: 900; font-stretch: 110%; letter-spacing: -.025em; }
.slot-modal__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.slot-modal__tags .tag { background: var(--surface-2); border-color: var(--line); }
.slot-modal__body > p { margin-top: 12px; color: var(--muted); font-size: 15px; line-height: 1.65; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px; margin-top: 18px; }
.stats > div { padding: 12px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); }
.stats dt { font-size: 11.5px; font-weight: 700; color: var(--dim); }
.stats dd { margin-top: 3px; font-size: 20px; font-weight: 800; font-stretch: 108%; font-variant-numeric: tabular-nums; }
.stats dd small { font-size: 12px; font-weight: 600; font-stretch: 100%; color: var(--dim); }
.stat-max dd { color: #ffc740; }
.vol { display: flex; gap: 3px; margin-top: 7px; }
.vol i { flex: 1; height: 5px; border-radius: 2px; background: var(--surface-3); }
.vol i.on { background: var(--vc, var(--accent)); }
.slot-modal__note { display: flex; gap: 8px; align-items: flex-start; margin-top: 16px; font-size: 12.5px; color: var(--dim); line-height: 1.55; }
.fav-toggle[aria-pressed='true'] { color: var(--pink); border-color: rgba(255, 77, 141, .5); }
.fav-toggle[aria-pressed='true'] .icon { fill: currentColor; }
.similar { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.similar h3 { font-size: 13px; font-weight: 700; color: var(--muted); }
.similar__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.similar__item { text-align: left; border-radius: 9px; overflow: hidden; background: var(--surface-2); border: 1px solid var(--line); transition: border-color .18s, transform .25s var(--ease-out); }
.similar__item:hover { border-color: var(--line-2); transform: translateY(-2px); }
.similar__item span:last-child { display: block; padding: 6px 8px 8px; font-size: 12.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player { position: relative; aspect-ratio: 16 / 9; min-height: 300px; margin-top: 16px; border-radius: 10px; overflow: hidden; background: #000; border: 1px solid var(--line); }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player__loading { position: absolute; inset: 0; display: grid; place-items: center; color: var(--dim); font-size: 14px; }
.modal__fallback-img { width: 100%; margin-top: 16px; border-radius: 10px; aspect-ratio: 16 / 9; object-fit: cover; }

/* ---------- Verificação de idade ---------- */
.age-gate { width: min(100% - 32px, 440px); padding: 0; border: 0; background: transparent; color: var(--text); overflow: visible; }
.age-gate::backdrop { background: rgba(0, 0, 0, .9); }
.age-gate__panel { padding: 30px 28px 24px; border-radius: 16px; text-align: center; background: var(--surface); border: 1px solid var(--line-2); animation: result-in .4s var(--ease-out); }
.age-gate__mark { display: block; width: auto; font-size: 44px; }
.age-gate h2 { margin-top: 14px; font-size: 24px; font-stretch: 108%; }
.age-gate p { margin-top: 10px; color: var(--muted); font-size: 14.5px; }
.age-gate__actions { display: grid; gap: 8px; margin-top: 22px; }
.age-gate__actions .btn { --h: 46px; }
.age-gate__fine { font-size: 12.5px !important; color: var(--dim) !important; }
.age-gate__fine a { color: var(--accent-ink); text-decoration: underline; }
.age-gate.is-denied .age-gate__actions { display: none; }

/* ---------- Aviso + confetti ---------- */
.toast { position: fixed; z-index: 90; inset: auto auto 24px 50%; margin: 0; display: flex; align-items: center; gap: 10px; width: max-content; max-width: calc(100% - 32px); padding: 11px 16px; border-radius: 10px; color: var(--text); background: var(--surface-2); border: 1px solid var(--line-2); box-shadow: 0 16px 40px rgba(0, 0, 0, .6); font-size: 14px; font-weight: 600; overflow: visible; opacity: 0; transform: translate(-50%, 16px); pointer-events: none; transition: opacity .25s, transform .35s var(--ease-out); }
.toast[popover]:not(:popover-open) { display: none; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.toast .icon, .toast .art { width: 18px; height: 18px; color: var(--accent-ink); }
.toast[data-icon='heart'] .icon { color: var(--pink); fill: currentColor; }
.toast[data-icon='check'] .icon { color: var(--win); }
.confetti { position: fixed; inset: 0; z-index: 85; width: 100%; height: 100%; pointer-events: none; }

/* ============================================================
   Conta da Twitch, ranking, perfis e admin (só com servidor)
   ============================================================ */
.btn-danger { background: #c9303e; color: #fff; }
.btn-danger:hover { background: #e03b4a; }

/* Cartão «Entra com a Twitch» */
.login-card { display: flex; align-items: center; gap: 14px; margin: 0 0 14px; padding: 16px 18px; border-radius: 14px; color: #fff; background: radial-gradient(120% 140% at 0% 0%, #a970ff 0%, #8445f4 38%, #5c1fc4 100%); box-shadow: 0 18px 40px -24px rgba(145, 71, 255, .9); }
.login-card__icon { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: rgba(255, 255, 255, .16); box-sizing: content-box; flex-shrink: 0; }
.login-card__text { flex: 1; min-width: 0; }
.login-card__text strong { display: block; font-size: 17px; font-weight: 800; font-stretch: 106%; }
.login-card__text > span { display: block; margin-top: 2px; font-size: 13.5px; color: rgba(255, 255, 255, .85); }
.login-card--slim { padding: 12px 14px; }
.login-card--slim .login-card__icon { width: 24px; height: 24px; padding: 6px; }
.login-card--slim strong { font-size: 15px; }
.login-points { list-style: none; display: grid; gap: 10px; margin: 16px 0 0 !important; padding: 0 !important; }
.login-points li { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); color: var(--text); font-size: 14px; line-height: 1.5; }
.login-points .icon, .login-points .art { width: 20px; height: 20px; margin-top: 1px; color: var(--accent-ink); }
.modal__body .login-fine { font-size: 13px; color: var(--dim); }

/* Janela «A minha conta» */
.account .profile-card { margin-bottom: 16px; }
.account__id { display: block; margin-top: 3px; font-size: 11.5px; color: var(--dim); font-variant-numeric: tabular-nums; }
.account__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.account__stat { padding: 10px 12px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); min-width: 0; }
.account__stat strong { display: block; font-size: 18px; font-weight: 900; font-stretch: 106%; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.account__stat small { font-size: 12px; color: var(--dim); }
.account__block { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.account__block-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.account__block-head h3 { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 800; }
.account__block-head h3 .art { width: 18px; height: 18px; }
.account__block-head small { font-size: 12.5px; color: var(--dim); }
.account__block > .btn { margin-top: 10px; }
.modal__body .account__hint { margin-top: 8px; font-size: 12.5px; line-height: 1.5; color: var(--dim); }
.account__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.modal__body .account__done { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 14px; color: var(--muted); }
.account__done .icon { width: 17px; height: 17px; color: var(--win); }
.account .modal__links { margin-top: 16px; }
.account .modal__links a .icon:first-child { color: var(--accent-ink); }
.account .modal__links a { justify-content: flex-start; }
.account .modal__links a .icon:last-child { margin-left: auto; }
.switch-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.switch-row b, .account__pause b { display: block; font-size: 14px; }
.switch-row small, .account__pause small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--dim); line-height: 1.45; }
.toggle--bare { padding: 4px; }
.account__pause { display: grid; gap: 10px; margin-top: 14px; }
.account__pause-options { display: flex; flex-wrap: wrap; gap: 6px; }
.account__danger { margin-top: 18px; color: #ff8a95; font-size: 12.5px; }
.account__danger:hover { color: #ffb3ba; }

/* Sequência de bónus diários */
.streak { list-style: none; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; margin: 0 !important; padding: 0 !important; width: 100%; }
.streak__day { display: grid; justify-items: center; gap: 1px; padding: 7px 2px 6px; border-radius: 8px; background: rgba(0, 0, 0, .28); border: 1px solid rgba(255, 255, 255, .06); text-align: center; }
.streak__day b { font-size: 12.5px; font-weight: 900; font-stretch: 104%; font-variant-numeric: tabular-nums; color: var(--muted); }
.streak__day small { font-size: 10px; font-weight: 700; letter-spacing: .02em; color: var(--dim); white-space: nowrap; }
.streak__day.is-done { background: rgba(242, 179, 1, .16); border-color: rgba(242, 179, 1, .45); }
.streak__day.is-done b { color: #ffd56a; }
.streak__day.is-next { border-color: var(--gold); box-shadow: 0 0 0 1px rgba(242, 179, 1, .35); animation: streak-glow 2.2s ease-in-out infinite; }
.streak__day.is-next b { color: #fff; }
@keyframes streak-glow { 50% { box-shadow: 0 0 0 4px rgba(242, 179, 1, .12); } }
.earn-card__streak { width: 100%; margin-top: 4px; }

/* Título da stream em direto */
.live-info { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 10px; font-size: 13.5px; color: var(--muted); }
.live-info__title { color: var(--text); font-weight: 700; max-width: 520px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.live-info__viewers { font-variant-numeric: tabular-nums; }
.tag--game { --dot: var(--live); background: var(--surface-2); border-color: var(--line); }
.stage__live { display: flex; align-items: center; gap: 9px; max-width: 460px; margin-top: 14px; padding: 9px 12px; border-radius: 10px; background: rgba(255, 59, 59, .08); border: 1px solid rgba(255, 59, 59, .28); font-size: 13.5px; }
.stage__live-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; }
.day__slot .day__game { display: block; margin-top: 2px; font-size: 11.5px; color: var(--accent-ink); }
.clip__art--empty { display: grid; place-items: center; color: var(--surface-3); }
.clip__art--empty > .icon { width: 44px; height: 44px; }
.mtile.is-pending { animation: tile-wait .9s ease-in-out infinite; }
@keyframes tile-wait { 50% { background: #3a3a48; } }

/* Ranking */
.community-top { padding: 24px; border: 1px solid var(--line-2); border-radius: 18px; background: radial-gradient(ellipse at 65% 0, rgba(145,71,255,.09), transparent 65%), var(--surface-2); }
.community-top__head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; margin-bottom: 18px; }
.community-top__head h2 { font-size: clamp(22px, 2vw, 28px); font-weight: 850; margin: 3px 0 0; }
.community-top__eyebrow { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.community-top__head > a { color: var(--green); font-size: 12px; }
.top-tabs { display: flex; flex-wrap: wrap; gap: 5px; width: fit-content; max-width: 100%; padding: 5px; border-radius: 12px; background: var(--bg); margin-bottom: 26px; }
.top-tabs button { display: inline-flex; justify-content: center; align-items: center; gap: 7px; padding: 9px 13px; border: 1px solid transparent; border-radius: 9px; background: transparent; color: var(--muted); font: inherit; font-size: 12px; font-weight: 750; cursor: pointer; }
.top-tabs button:hover { color: var(--text); background: var(--surface-3); }
.top-tabs button[aria-pressed="true"] { color: #ffe28b; border-color: #82600e; background: rgba(242,179,1,.15); }
.top-tabs .icon { width: 15px; height: 15px; }
.ranking-tabs { margin-bottom: 12px; }
.leaderboard-filters { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 18px 0 14px; }
.leaderboard-filters .sort { margin-left: 0; height: 40px; }
.leaderboard-filters .select-menu__trigger { min-width: 0; }
.leaderboard-period-label { margin-left: auto; color: var(--accent-ink); font-size: 12px; font-weight: 700; }
@media (max-width: 600px) { .leaderboard-filters > .field { flex: 1 1 auto; } .leaderboard-period-label { flex: 1 1 100%; margin-left: 0; } }
.ranking-description { font-size: 13px; color: var(--muted); margin-bottom: 28px; }
.community-top .podium__card { background: linear-gradient(155deg, rgba(145,71,255,.18), rgba(242,179,1,.12)), var(--surface); border: 1px solid color-mix(in srgb, var(--medal) 55%, var(--line)); min-height: 180px; }
.community-top .podium__card--1 { min-height: 202px; box-shadow: 0 0 28px rgba(242,179,1,.12); }
.community-top .podium__place { color: var(--medal); -webkit-text-stroke: 0; font-size: 12px; border: 1px solid var(--medal); border-radius: 20px; padding: 3px 8px; }
.community-top .podium__place::before { content: '#'; }
.podium__crown { width: 20px; height: 20px; color: var(--gold); position: absolute; left: calc(50% - 10px); top: 5px; }
.top-runners { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.top-runners .board__row { background: linear-gradient(90deg, rgba(242,179,1,.15), rgba(145,71,255,.15)) left / var(--progress, 0%) 100% no-repeat, var(--surface); border-radius: 14px; grid-template-columns: 30px minmax(0, 1fr) auto; }
.top-runners .board__value { color: #ffcf54; }
.top-runners .board__value strong { font-size: 13px; }
.top-you { color: #63e6b1; font-size: 10px; font-weight: 850; padding: 2px 5px; border-radius: 4px; background: rgba(25,195,125,.13); flex-shrink: 0; }
.top-me { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 12px 14px; border: 1px solid rgba(25,195,125,.3); border-radius: 12px; font-size: 13px; }
.top-me .board__person { flex: 1; }
.top-me > strong { text-align: right; font-variant-numeric: tabular-nums; }
.community-top__caption { font-size: 12px; line-height: 1.6; color: var(--muted); margin: 16px 0 0; }
.community-top__empty { display: grid; justify-items: center; text-align: center; padding: 24px 10px; min-height: 180px; align-content: center; gap: 10px; }
.community-top__empty > .icon { width: 32px; height: 32px; color: var(--gold); }
.community-top__empty h3 { font-size: 18px; }
.community-top__empty p { font-size: 13px; color: var(--muted); max-width: 500px; line-height: 1.6; }
.ranking-me { min-width: 240px; }
.ranking-me img, .ranking-me .profile-fallback { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.ranking-me strong { font-size: 17px !important; }
.podium { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; gap: 12px; margin-bottom: 14px; }
.podium__card { --medal: #c0c4cc; position: relative; display: grid; justify-items: center; gap: 4px; padding: 22px 14px 18px; border-radius: 14px; background: linear-gradient(180deg, color-mix(in srgb, var(--medal) 12%, var(--surface)) 0%, var(--surface) 70%); border: 1px solid var(--line); border-top: 3px solid var(--medal); text-align: center; transition: transform .3s var(--ease-out), border-color .2s; }
.podium__card:hover { transform: translateY(-4px); }
.podium__card--1 { --medal: var(--gold); padding-top: 30px; padding-bottom: 26px; }
.podium__card--3 { --medal: #cd7f32; }
.podium__place { position: absolute; left: 12px; top: 8px; font-size: 34px; font-weight: 900; font-stretch: 120%; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--medal); }
.podium__avatar { display: grid; place-items: center; margin-bottom: 6px; border-radius: 50%; box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px var(--medal); }
.podium__avatar img, .podium__avatar .profile-fallback { border-radius: 50%; object-fit: cover; }
.podium__name { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 16px; font-weight: 800; }
.podium__value { font-size: 22px; font-weight: 900; font-stretch: 108%; font-variant-numeric: tabular-nums; color: var(--text); }
.podium__card--1 .podium__value { color: #ffd56a; font-size: 26px; }
.podium__detail { font-size: 12px; color: var(--dim); }
.board { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.board__row { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 58px; padding: 8px 14px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); }
.board__row.is-loading { background: linear-gradient(100deg, var(--surface) 30%, var(--surface-2) 50%, var(--surface) 70%) 0 0 / 300% 100%; animation: loading 1.4s linear infinite; }
.board__rank { font-size: 15px; font-weight: 800; color: var(--dim); font-variant-numeric: tabular-nums; text-align: center; }
.board__person { display: flex; align-items: center; gap: 10px; min-width: 0; font-weight: 700; }
.board__person:hover span { color: var(--accent-ink); }
.board__person span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.board__person img, .board__person .profile-fallback { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.board__value { text-align: right; }
.board__value strong { display: block; font-size: 15px; font-weight: 900; font-variant-numeric: tabular-nums; }
.board__value small { display: block; font-size: 12px; color: var(--dim); }
.board__error { padding: 20px; text-align: center; color: var(--muted); }

/* Perfil público */
.profile-page { padding-top: 28px; }
.profile-hero { display: flex; align-items: center; gap: 26px; margin-bottom: 18px; padding: 26px; border-radius: 16px; background: radial-gradient(90% 140% at 0% 0%, rgba(145, 71, 255, .22), transparent 60%), var(--surface); border: 1px solid var(--line); }
.profile-hero.is-loading { min-height: 180px; background: linear-gradient(100deg, var(--surface) 30%, var(--surface-2) 50%, var(--surface) 70%) 0 0 / 300% 100%; animation: loading 1.4s linear infinite; }
.profile-hero__avatar { flex-shrink: 0; border-radius: 50%; box-shadow: 0 0 0 4px var(--surface), 0 0 0 6px var(--accent); }
.profile-hero__avatar img, .profile-hero__avatar .profile-fallback { display: block; width: 112px; height: 112px; border-radius: 50%; object-fit: cover; }
.profile-hero__text { min-width: 0; }
.profile-hero__text .page-title { overflow-wrap: anywhere; }
.profile-hero__meta { margin-top: 8px; font-size: 14px; color: var(--dim); }
.profile-hero__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.badges { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 0; padding: 0; }
.badge { --dot: var(--accent); display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 11px 0 9px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line-2); font-size: 12px; font-weight: 800; }
.badge::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--dot); }
.badge--streamer { --dot: var(--live); }
.badge--top { --dot: var(--gold); border-color: rgba(242, 179, 1, .5); }
.badge--founder { --dot: var(--accent-hi); }
.badge--follower { --dot: var(--pink); }
.badge--legend, .badge--loyal, .badge--regular { --dot: var(--green); }
.badge--streak { --dot: var(--orange); }
.badge--lucky { --dot: #22d3ee; }
.profile-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Admin */
.admin { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.admin-card { display: flex; flex-direction: column; gap: 10px; padding: 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); min-width: 0; }
.admin-card.is-loading { min-height: 180px; background: linear-gradient(100deg, var(--surface) 30%, var(--surface-2) 50%, var(--surface) 70%) 0 0 / 300% 100%; animation: loading 1.4s linear infinite; }
.admin-card.is-error { border-color: rgba(255, 79, 94, .5); }
.admin-card.is-warn { border-color: rgba(255, 138, 31, .45); }
.admin-card__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.admin-card__head h3 { display: flex; align-items: center; gap: 9px; font-size: 16px; }
.admin-card__head .icon, .admin-card__head .art { width: 19px; height: 19px; color: var(--accent-ink); }
.admin-card__status { padding: 2px 9px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: rgba(31, 214, 95, .14); color: var(--win); }
.admin-card.is-warn .admin-card__status { background: rgba(255, 138, 31, .14); color: #ffb15a; }
.admin-card.is-error .admin-card__status { background: rgba(255, 79, 94, .14); color: #ff8a95; }
.admin-card p { font-size: 14px; color: var(--muted); }
.admin-rows { display: grid; gap: 2px; margin: 0; }
.admin-rows div { display: flex; justify-content: space-between; gap: 14px; padding: 7px 9px; border-radius: 7px; font-size: 13.5px; }
.admin-rows div:nth-child(odd) { background: var(--bg); }
.admin-rows dt { color: var(--dim); }
.admin-rows dd { color: var(--text); font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.admin-card__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.admin-card .admin-card__hint { font-size: 12.5px; color: var(--dim); }

/* Admin: separadores, tabelas, ficha do jogador */
.admin-tabs { display: flex; gap: 6px; margin: 0 0 16px; overflow-x: auto; scrollbar-width: none; }
.admin-tabs::-webkit-scrollbar { display: none; }
.admin-tabs a { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 9px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); font-size: 14px; font-weight: 700; white-space: nowrap; transition: color .18s, background .18s, border-color .18s; }
.admin-tabs a .icon, .admin-tabs a .art { width: 17px; height: 17px; }
.admin-tabs a:hover { color: var(--text); border-color: var(--line-2); }
.admin-tabs a.is-active { color: #fff; background: var(--accent-soft); border-color: var(--accent); }
.admin-tabs a.is-active .icon { color: var(--accent-ink); }
.admin-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.admin-toolbar .push { margin-left: auto; }
.admin-search { flex: 1 1 260px; max-width: 420px; }
.admin-select { margin-left: 0; }
.admin-select select { min-width: 190px; }
.admin-select .select-menu__trigger { min-width: 190px; }
.admin-game-filters .admin-select { flex: 1 1 205px; }
.admin-game-filters .admin-search { max-width: none; }
.admin-game-link { color: var(--accent-ink); font-weight: 800; }
.admin-game-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.profile-visibility { margin: 14px 0; padding: 16px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--surface); }
.profile-visibility .account__block-head { margin-bottom: 10px; }
.profile-visibility .switch-row { margin: 0; padding: 0; border: 0; }
.profile-visibility .account__hint { margin-top: 10px; }
.admin-card__hint { margin-top: 8px; font-size: 12.5px; line-height: 1.5; color: var(--dim); }
.admin-section { margin-top: 26px; }
.admin-section .sh { margin-bottom: 10px; }
.admin-section .sh__title { font-size: 18px; }
.admin-table { overflow-x: auto; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); }
.admin-table table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.admin-table th { position: sticky; top: 0; padding: 10px 12px; background: var(--surface-2); font-size: 11px; font-weight: 800; font-stretch: 90%; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); text-align: left; white-space: nowrap; }
.admin-table td { padding: 9px 12px; border-top: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
.admin-table td:last-child { white-space: normal; }
.admin-table .num-col { text-align: right; }
.admin-table tr.is-link { cursor: pointer; }
.admin-table tr.is-link:hover td { background: var(--surface-2); }
.admin-table .num { font-variant-numeric: tabular-nums; color: var(--text); }
.admin-table .pos, .admin-stats .pos { color: var(--win); font-weight: 800; }
.admin-table .neg { color: #ff8a95; }
.admin-root .muted, .admin-table .muted { color: var(--dim); }
.admin-root p.muted { padding: 14px 4px; font-size: 14px; }
.rtp { font-weight: 800; }
.rtp.is-normal { color: var(--win); }
.rtp.is-high, .rtp.is-low { color: #ffb15a; }
.admin-person { display: inline-flex; align-items: center; gap: 9px; min-width: 0; color: var(--text); }
.admin-person img, .admin-person .profile-fallback { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.admin-person .profile-fallback { --size: 32px; }
.admin-person b { display: block; font-size: 13.5px; }
.admin-person small { display: block; font-size: 11.5px; color: var(--dim); }
.admin-person:hover b { color: var(--accent-ink); }
.admin-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.pill { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line-2); font-size: 11.5px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.pill.is-bad { background: rgba(255, 79, 94, .12); border-color: rgba(255, 79, 94, .45); color: #ff9aa3; }
.pill.is-good { background: rgba(31, 214, 95, .1); border-color: rgba(31, 214, 95, .4); color: var(--win); }
.admin-back { margin-bottom: 12px; }
.admin-back .icon { transition: transform .2s var(--ease); }
.admin-back:hover .icon { transform: translateX(-3px); }
.admin-player { display: flex; align-items: center; gap: 18px; margin-bottom: 14px; padding: 20px; border-radius: 16px; background: radial-gradient(90% 140% at 0% 0%, rgba(145, 71, 255, .18), transparent 60%), var(--surface); border: 1px solid var(--line); }
.admin-player__avatar img, .admin-player__avatar .profile-fallback { display: block; width: 72px; height: 72px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px var(--accent); }
.admin-player__text { min-width: 0; }
.admin-player__text h2 { font-size: 26px; font-stretch: 106%; overflow-wrap: anywhere; }
.admin-player__meta { margin: 5px 0 9px; font-size: 13px; color: var(--dim); }
.admin-player__links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.admin-stats { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.admin-stats--six { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.admin-stats dd { font-size: 17px; }
.admin-adjustments { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.admin-adjust { display: grid; gap: 10px; align-content: start; }
.admin-adjust h4, .admin-moderation h4 { font-size: 14px; font-weight: 800; }
.admin-adjust .text-input { height: 44px; }
.admin-adjust > .btn { justify-self: start; }
.admin-quick { display: flex; flex-wrap: wrap; gap: 6px; }
.admin-moderation { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.admin-two { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px; }
.admin-two > .admin-section { margin-top: 26px; }

@media (max-width: 960px) {
  .admin { grid-template-columns: 1fr; }
  .profile-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-stats, .admin-stats--six { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-two { grid-template-columns: 1fr; gap: 0; }
  .admin-adjustments { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .login-card { flex-wrap: wrap; }
  .login-card .btn { width: 100%; }
  .account__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .streak { gap: 3px; }
  .streak__day small { font-size: 9px; }
  .ranking-tabs { width: 100%; }
  .community-top { padding: 16px 12px; }
  .community-top__head { gap: 10px; }
  .community-top__head > a { font-size: 11px; }
  .community-top .top-tabs { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .top-tabs button { padding: 9px 8px; }
  .top-runners { grid-template-columns: 1fr; gap: 8px; }
  .community-top .podium__card { min-height: 162px; }
  .community-top .podium__card--1 { min-height: 180px; }
  .top-me { gap: 7px; padding: 10px; font-size: 12px; flex-wrap: wrap; }
  .ranking-me { min-width: 0; width: 100%; }
  .podium { gap: 6px; }
  .podium__card { padding: 18px 6px 12px; }
  .podium__card--1 { padding-top: 24px; }
  .podium__avatar img, .podium__avatar .profile-fallback { width: 52px !important; height: 52px !important; }
  .podium__card--1 .podium__avatar img, .podium__card--1 .podium__avatar .profile-fallback { width: 64px !important; height: 64px !important; }
  .podium__place { font-size: 24px; left: 8px; }
  .podium__name { font-size: 13px; }
  .podium__value, .podium__card--1 .podium__value { font-size: 16px; }
  .community-top .podium__value { font-size: 13px; overflow-wrap: anywhere; }
  .community-top .podium__place { font-size: 11px; left: 5px; padding: 2px 5px; }
  .podium__detail { display: none; }
  .board__row { grid-template-columns: 30px minmax(0, 1fr) auto; padding: 8px 10px; gap: 8px; }
  .board__value small { max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .profile-page { padding-top: 18px; }
  .profile-hero { flex-direction: column; align-items: flex-start; gap: 16px; padding: 20px; }
  .profile-hero__avatar img, .profile-hero__avatar .profile-fallback { width: 84px; height: 84px; }
  .live-info__title { max-width: 100%; white-space: normal; }
  .admin-player { flex-direction: column; align-items: flex-start; }
  .admin-toolbar .push { margin-left: 0; }
  .admin-select select, .admin-select .select-menu__trigger { min-width: 0; }
  .admin-select, .admin-search { flex: 1 1 100%; max-width: none; }
}

/* ============================================================
   Bonus Hunt, Ranking e editor dos hunts
   ============================================================ */
.menu__live--hunt { background: var(--accent); }
.stage__hunt { display: flex; align-items: center; gap: 9px; max-width: 460px; margin-top: 10px; padding: 9px 12px; border-radius: 10px; background: var(--accent-soft); border: 1px solid rgba(145, 71, 255, .5); font-size: 13.5px; font-weight: 700; transition: border-color .18s, background .18s; }
.stage__hunt:hover { border-color: var(--accent); background: rgba(145, 71, 255, .22); }
.stage__hunt .icon { width: 17px; height: 17px; color: var(--accent-ink); flex-shrink: 0; }
.stage__hunt span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hunt-pay.pos, .hunt-mini .pos, .rank-month .pos { color: var(--win); }
.hunt-pay.neg, .hunt-mini .neg, .rank-month .neg { color: var(--red); }

/* Capa pequena da slot (ou iniciais numa cor tirada do nome) */
.cover { --size: 44px; position: relative; display: grid; place-items: center; width: var(--size); height: var(--size); flex-shrink: 0; overflow: hidden; border-radius: calc(var(--size) * .22); background: var(--surface-3); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.cover img { width: 100%; height: 100%; object-fit: cover; }
.cover--text { background: linear-gradient(140deg, hsl(var(--hue, 260) 62% 46%), hsl(calc(var(--hue, 260) + 48) 64% 24%)); }
.cover--text b { font-size: calc(var(--size) * .34); font-weight: 900; font-stretch: 112%; letter-spacing: -.02em; color: #fff; text-shadow: 0 1px 6px rgba(0, 0, 0, .35); line-height: 1; }
.slot-label { display: grid; min-width: 0; line-height: 1.25; }
.slot-label b { display: flex; align-items: center; gap: 6px; min-width: 0; font-size: 14px; font-weight: 800; color: var(--text); }
.slot-label small, .slot-label__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.slot-label__name { min-width: 0; }
.slot-label small { font-size: 12px; color: var(--dim); }
.tier { display: inline-flex; align-items: center; height: 18px; padding: 0 7px; border-radius: 5px; font-size: 10px; font-weight: 900; font-stretch: 90%; letter-spacing: .06em; text-transform: uppercase; flex-shrink: 0; }
.tier--super { background: rgba(242, 179, 1, .16); border: 1px solid rgba(242, 179, 1, .5); color: #ffd56a; }
.tier--extreme { background: rgba(255, 79, 94, .14); border: 1px solid rgba(255, 79, 94, .5); color: #ff9aa3; }

/* Aviso do modo sem servidor */
.hunt-local, .local-note { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 14px; padding: 12px 14px; border-radius: 12px; background: var(--accent-soft); border: 1px solid rgba(145, 71, 255, .45); font-size: 14px; color: var(--muted); }
.hunt-local .icon, .local-note .icon { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--accent-ink); }
.hunt-local b, .local-note b { color: var(--text); }
.local-note a { color: var(--accent-ink); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.local-note[hidden] { display: none; }
/* Jogo justo (janela ⓘ de cada jogo) */
.fair-box { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.fair-box h3 { margin: 0 0 6px; font-size: 15px; }
.fair-box p { margin: 6px 0 0; font-size: 13.5px; line-height: 1.6; color: var(--muted); }
.fair-box__list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; }
.fair-box__list li { display: grid; gap: 2px; padding: 8px 10px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.fair-box__list li strong { font-size: 13px; color: var(--text); }
.fair-box__list li.is-ok strong { color: var(--win); }
.fair-box__list li.is-bad { border-color: var(--red); }
.fair-box__list li.is-bad strong { color: var(--red); }
.fair-box code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; color: var(--text); word-break: break-all; }

/* Cabeçalho do hunt */
.hunt-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.hunt-top__title { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 22px; font-stretch: 108%; letter-spacing: -.01em; }
.hunt-top__meta { margin-top: 6px; font-size: 13.5px; color: var(--dim); }
.hunt-top__meta b { color: var(--muted); }
.hunt-top__name { color: var(--text); font-weight: 700; }
.hunt-top__count { font-size: 14px; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.hunt-top__count b { font-size: 18px; color: var(--text); }
.hunt-status { --c: var(--dim); display: inline-flex; align-items: center; gap: 7px; height: 24px; padding: 0 10px; border-radius: 999px; background: color-mix(in srgb, var(--c) 14%, transparent); border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); font-size: 11px; font-weight: 800; font-stretch: 88%; letter-spacing: .08em; text-transform: uppercase; color: color-mix(in srgb, var(--c) 70%, #fff); }
.hunt-status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
.hunt-status--collecting { --c: var(--gold); }
.hunt-status--opening { --c: var(--live); }
.hunt-status--opening::before { animation: live-ping-soft 1.6s ease-out infinite; }
.hunt-status--finished { --c: var(--win); }
@keyframes live-ping-soft { 50% { box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 30%, transparent); } }

/* Resultado e estatísticas */
.hunt-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 12px; }
.hunt-hero { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 20px; border-radius: 14px; background: radial-gradient(120% 120% at 0% 0%, rgba(145, 71, 255, .12), transparent 55%), var(--surface); border: 1px solid var(--line); }
.hunt-hero.is-loss { background: radial-gradient(120% 120% at 0% 0%, rgba(255, 79, 94, .14), transparent 55%), var(--surface); }
.hunt-hero.is-profit { background: radial-gradient(120% 120% at 0% 0%, rgba(31, 214, 95, .13), transparent 55%), var(--surface); }
.hunt-hero__label { font-size: 11.5px; font-weight: 800; font-stretch: 88%; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.hunt-hero__value { margin-top: 6px; font-size: clamp(34px, 4.6vw, 52px); font-weight: 900; font-stretch: 108%; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.hunt-hero.is-loss .hunt-hero__value { color: var(--red); }
.hunt-hero.is-profit .hunt-hero__value { color: var(--win); }
.hunt-hero__sub { margin-top: 8px; font-size: 14px; color: var(--muted); }
.hunt-bar { list-style: none; display: flex; gap: 3px; height: 16px; margin: 18px 0 0; padding: 0; }
.hunt-bar li { flex: 1 1 0; min-width: 2px; max-width: 26px; border-radius: 3px; background: var(--surface-3); transition: background .3s, transform .3s var(--ease-out); }
.hunt-bar li.is-win { background: var(--win); }
.hunt-bar li.is-loss { background: var(--red); }
.hunt-bar li.is-best { background: var(--gold); transform: scaleY(1.25); }
.hunt-bar li.is-next { background: var(--accent); animation: bar-pulse 1.4s ease-in-out infinite; }
@keyframes bar-pulse { 50% { opacity: .45; } }
.hunt-picks { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; margin-top: 16px; }
.hunt-pick { display: grid; gap: 8px; min-width: 0; padding: 12px; border-radius: 12px; background: rgba(10, 10, 12, .45); border: 1px solid var(--line-2); text-align: left; transition: border-color .18s, background .18s; }
button.hunt-pick:hover { background: rgba(10, 10, 12, .7); }
.hunt-pick--best { border-color: rgba(31, 214, 95, .45); }
.hunt-pick--worst { border-color: rgba(255, 79, 94, .4); }
.hunt-pick__label { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; color: var(--muted); }
.hunt-pick__label .icon { width: 15px; height: 15px; }
.hunt-pick--best .hunt-pick__label .icon { color: var(--win); }
.hunt-pick--worst .hunt-pick__label .icon { color: var(--red); }
.hunt-pick__body { display: flex; align-items: center; gap: 10px; min-width: 0; }
.hunt-pick__body .slot-label { flex: 1; }
.hunt-pick__value { display: flex; align-items: baseline; gap: 8px; line-height: 1.2; font-variant-numeric: tabular-nums; }
.hunt-pick__value b { font-size: 18px; font-weight: 900; }
.hunt-pick__value.pos b { color: var(--win); }
.hunt-pick__value.neg b { color: var(--red); }
.hunt-pick__value small { font-size: 13px; font-weight: 700; color: var(--muted); }
.hunt-pick__empty { margin: 0; font-size: 13px; color: var(--dim); }
.hunt-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; }
.hunt-stat { display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: 14px 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.hunt-stat dt { font-size: 11px; font-weight: 800; font-stretch: 88%; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.hunt-stat dd { margin-top: 4px; font-size: clamp(19px, 2vw, 25px); font-weight: 900; font-stretch: 106%; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hunt-stat small { margin-top: 2px; font-size: 12px; color: var(--dim); font-variant-numeric: tabular-nums; }
.hunt-stat.is-pos dd { color: var(--win); }
.hunt-stat.is-neg dd { color: var(--red); }
.hunt-stats--compact { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 16px; }
.hunt-stats--compact .hunt-stat { padding: 10px 12px; }
.hunt-stats--compact .hunt-stat dd { font-size: 17px; }
.hunt-skeleton { min-height: 360px; border-radius: 14px; background: linear-gradient(100deg, var(--surface) 30%, var(--surface-2) 50%, var(--surface) 70%) 0 0 / 300% 100%; animation: loading 1.4s linear infinite; }

/* Lista dos bónus e cartões laterais */
.hunt-main { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 12px; margin-top: 12px; align-items: start; }
.hunt-side { display: grid; gap: 12px; }
.hunt-list, .hunt-card, .rank-panel { min-width: 0; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.hunt-list__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px 10px; }
.hunt-list__head h3 { display: flex; align-items: center; gap: 8px; font-size: 17px; }
.hunt-list__empty { padding: 26px 16px 30px; text-align: center; font-size: 14px; color: var(--dim); }
.hunt-sort { height: 34px; }
.hunt-table-wrap { max-height: 720px; overflow: auto; scrollbar-width: thin; scrollbar-color: var(--surface-3) transparent; }
.hunt-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.hunt-table th { position: sticky; top: 0; z-index: 1; padding: 9px 12px; background: var(--surface-2); font-size: 11px; font-weight: 800; font-stretch: 90%; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); text-align: left; white-space: nowrap; }
.hunt-table td { padding: 8px 12px; border-top: 1px solid var(--line); vertical-align: middle; }
.hunt-table .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.hunt-table td.num { line-height: 1.25; }
.hunt-table td.num > * { display: block; }
.hunt-table__pos { width: 40px; color: var(--dim); font-weight: 800; font-variant-numeric: tabular-nums; }
.hunt-table__edit { width: 46px; text-align: right; }
.hunt-table tr.is-link { cursor: pointer; }
.hunt-table tbody tr { transition: background .18s; }
.hunt-table tr.is-link:hover td { background: var(--surface-2); }
.hunt-table tr:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: -2px; }
.hunt-table tr.is-next td { background: var(--accent-soft); }
.hunt-table tr.is-next td:first-child { box-shadow: inset 3px 0 0 var(--accent); color: var(--accent-ink); }
.hunt-table tr.is-best td:first-child { box-shadow: inset 3px 0 0 var(--gold); color: #ffd56a; }
.hunt-table tr.is-new td { animation: row-flash 1.6s var(--ease-out); }
@keyframes row-flash { 0% { background: rgba(242, 179, 1, .32); } 100% { background: transparent; } }
.hunt-slot { display: flex; align-items: center; gap: 10px; min-width: 0; }
.hunt-slot .slot-label { flex: 1; }
.hunt-bet { display: inline-block !important; padding: 3px 8px; border-radius: 7px; background: var(--surface-2); border: 1px solid var(--line-2); font-size: 12.5px; font-weight: 800; color: var(--text); }
.hunt-cost { margin-top: 3px; font-size: 11.5px; color: var(--dim); }
.hunt-pay { font-size: 14.5px; font-weight: 900; }
.hunt-x { font-size: 12px; font-weight: 700; color: var(--dim); }
.hunt-x.pos { color: var(--win); }
.hunt-tag { display: inline-block !important; padding: 3px 8px; border-radius: 6px; font-size: 11px; font-weight: 800; color: var(--dim); background: var(--bg); border: 1px dashed var(--line-2); }
.hunt-tag--next { color: #fff; background: var(--accent); border: 0; }
.hunt-table--compact td { padding: 7px 10px; }
.hunt-table--compact th { padding: 8px 10px; }
.hunt-card { padding: 16px; }
.hunt-card__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.hunt-card__head h3 { display: flex; align-items: center; gap: 8px; font-size: 16px; }
.hunt-card__head h3 .icon { width: 18px; height: 18px; color: var(--accent-ink); }
.hunt-card__text { margin-top: 8px; font-size: 13.5px; color: var(--muted); }
.hunt-card__empty { margin-top: 10px; font-size: 13.5px; color: var(--dim); }
.hunt-card__fine { margin-top: 10px; font-size: 12px; color: var(--dim); }
.hunt-card__more { margin-top: 8px; }
.hunt-guess .btn { margin-top: 12px; }
.hunt-guess__form { display: flex; gap: 8px; margin-top: 12px; }
.hunt-guess__form .text-input { flex: 1; height: 40px; }
.hunt-guess__form .btn { margin-top: 0; height: 40px; }
.hunt-guess__mine { margin-top: 6px; font-size: 12.5px; color: var(--accent-ink); }
.guess-line { margin-top: 18px; }
.guess-line__track { position: relative; height: 8px; border-radius: 999px; background: var(--surface-3); }
.guess-line__track i { position: absolute; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--muted); box-shadow: 0 0 0 2px var(--surface); }
.guess-line__track i.is-me { z-index: 1; background: var(--accent-hi); }
.guess-line__now { position: absolute; z-index: 2; top: -8px; bottom: -8px; width: 2px; margin-left: -1px; background: var(--gold); }
.guess-line__now span { position: absolute; bottom: calc(100% + 3px); left: 50%; transform: translateX(-50%); padding: 1px 6px; border-radius: 5px; background: var(--gold); color: var(--gold-ink); font-size: 11px; font-weight: 900; white-space: nowrap; }
.guess-line__scale { display: flex; justify-content: space-between; margin-top: 6px; font-size: 11px; color: var(--dim); font-variant-numeric: tabular-nums; }
.guess-list { list-style: none; display: grid; gap: 4px; margin: 14px 0 0; padding: 0; }
.guess-list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 10px; border-radius: 9px; background: var(--bg); border: 1px solid var(--line); font-size: 13.5px; }
.guess-list li.is-me { border-color: var(--accent); }
.guess-list__who { display: flex; align-items: center; gap: 9px; min-width: 0; }
.guess-list__rank { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: var(--surface-2); font-size: 11.5px; font-weight: 900; color: var(--muted); flex-shrink: 0; }
.guess-list li.is-top--1 .guess-list__rank { background: var(--gold); color: var(--gold-ink); }
.guess-list li.is-top--2 .guess-list__rank { background: #c0c4cc; color: #17181b; }
.guess-list li.is-top--3 .guess-list__rank { background: #cd7f32; color: #1d1105; }
.guess-list__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; }
.guess-list__value { display: grid; justify-items: end; line-height: 1.2; font-variant-numeric: tabular-nums; flex-shrink: 0; }
.guess-list__value small { font-size: 11.5px; color: var(--dim); }
.provider-bars { list-style: none; display: grid; gap: 6px; margin: 12px 0 0; padding: 0; }
.provider-bars li { position: relative; overflow: hidden; padding: 8px 10px; border-radius: 9px; background: var(--bg); border: 1px solid var(--line); }
.provider-bars__bar { position: absolute; inset: 0 auto 0 0; width: var(--w, 0); background: linear-gradient(90deg, var(--accent-soft), rgba(145, 71, 255, .28)); }
.provider-bars__text { position: relative; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; font-size: 13.5px; }
.provider-bars__text b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.provider-bars__text small { flex-shrink: 0; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }

/* Histórico */
.row--hunts { --col: 228px; }
.hunt-mini { display: flex; flex-direction: column; gap: 10px; min-height: 148px; padding: 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); transition: border-color .18s, transform .25s var(--ease-out); }
.hunt-mini:hover { border-color: var(--line-2); transform: translateY(-2px); }
.hunt-mini.is-current { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.hunt-mini.is-live { background: radial-gradient(120% 100% at 0% 0%, rgba(255, 59, 59, .12), transparent 60%), var(--surface); }
.hunt-mini__top { display: flex; align-items: center; gap: 8px; }
.hunt-mini__top b { font-size: 16px; font-weight: 900; }
.hunt-mini__top small { margin-left: auto; font-size: 12px; color: var(--dim); white-space: nowrap; }
.hunt-mini__live { display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 800; font-stretch: 88%; letter-spacing: .08em; text-transform: uppercase; color: #ff9a9a; }
.hunt-mini__kind { padding: 1px 7px; border-radius: 5px; background: var(--surface-3); font-size: 10.5px; font-weight: 800; color: var(--muted); }
.hunt-mini__body { display: grid; gap: 1px; }
.hunt-mini__body small { font-size: 12px; color: var(--dim); }
.hunt-mini__body strong { font-size: 19px; font-weight: 900; font-variant-numeric: tabular-nums; }
.hunt-mini__date { margin-top: auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; color: var(--dim); }
.hunt-mini--more { align-items: center; justify-content: center; flex-direction: row; font-size: 14px; font-weight: 800; color: var(--accent-ink); }

/* Editor */
.hunt-editor { margin: 0 0 16px; border-radius: 14px; background: linear-gradient(180deg, rgba(145, 71, 255, .1), transparent 120px), var(--surface); border: 1px solid rgba(145, 71, 255, .45); transition: opacity .2s; }
.hunt-editor.is-busy { opacity: .75; pointer-events: none; }
.hunt-editor__bar { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.hunt-editor__title { display: flex; align-items: center; gap: 8px; margin-right: auto; }
.hunt-editor__title .icon { width: 18px; height: 18px; color: var(--accent-ink); }
.hunt-editor__title b { font-size: 15px; }
.hunt-editor__title small { font-size: 12px; color: var(--dim); }
.hunt-editor__actions { display: flex; flex-wrap: wrap; gap: 6px; }
.hunt-editor__danger:hover { color: #ff9aa3; border-color: rgba(255, 79, 94, .55); }
.hunt-editor__body { display: grid; gap: 12px; padding: 14px; }
.hunt-editor__body:empty, .hunt-editor__body:not(:has(> :not([hidden]))) { display: none; }
.hunt-field { display: grid; min-width: 0; }
.hunt-field .field-label { margin-bottom: 5px; }
.hunt-add { display: grid; grid-template-columns: minmax(220px, 1fr) 130px 120px auto; align-items: end; gap: 10px; }
.hunt-add.is-buys { grid-template-columns: minmax(200px, 1fr) 110px 120px 130px 120px auto; }
.hunt-add .text-input, .hunt-add .field, .hunt-add .btn { height: 44px; }
.hunt-add__submit { padding: 0 18px; }
.hunt-money input { font-size: 15px; }
.hunt-tier-select { height: 44px; margin-left: 0; }
.hunt-tier-select select { width: 100%; }
.hunt-open { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px 16px; padding: 14px; border-radius: 12px; background: rgba(10, 10, 12, .5); border: 1px solid var(--line-2); }
.hunt-open__info { display: grid; gap: 8px; min-width: 0; }
.hunt-open__label { font-size: 11.5px; font-weight: 800; font-stretch: 88%; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink); }
.hunt-open__slot { display: flex; align-items: center; gap: 12px; min-width: 0; }
.hunt-open__slot .slot-label { flex: 1; }
.hunt-open__slot .slot-label b { font-size: 17px; }
.hunt-open__bet { display: grid; justify-items: end; flex-shrink: 0; line-height: 1.2; }
.hunt-open__bet small { font-size: 11px; color: var(--dim); }
.hunt-open__bet b { font-size: 16px; font-variant-numeric: tabular-nums; }
.hunt-open__controls { display: flex; align-items: center; gap: 8px; }
.hunt-open__controls .text-input { width: 220px; height: 48px; border-color: var(--gold); }
.hunt-open__controls .btn-gold { height: 48px; padding: 0 20px; }
.hunt-open__done { margin: 0; font-size: 14px; color: var(--muted); }
.hunt-open > .btn { justify-self: end; }
.slot-picker { position: relative; min-width: 0; }
.slot-picker__field { height: 44px; padding-left: 6px; }
.slot-picker__badge { display: grid; place-items: center; width: 32px; height: 32px; flex-shrink: 0; color: var(--dim); }
.slot-picker__badge .icon { width: 16px; height: 16px; }
.slot-picker__field input::-webkit-search-cancel-button { display: none; }
.slot-picker__list { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 6px); max-height: 380px; overflow-y: auto; padding: 6px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line-2); box-shadow: 0 24px 60px rgba(0, 0, 0, .6); animation: drop .2s var(--ease-out); }
.slot-picker__option { display: flex; align-items: center; gap: 10px; width: 100%; padding: 6px; border-radius: 9px; text-align: left; }
.slot-picker__option .slot-label { flex: 1; }
.slot-picker__option[aria-selected='true'], .slot-picker__option:hover { background: var(--surface-2); }
.slot-picker__custom { margin-top: 4px; padding: 10px; border-top: 1px solid var(--line); font-size: 13.5px; font-weight: 700; color: var(--accent-ink); }
.slot-picker__custom .icon { width: 16px; height: 16px; }
.slot-picker__hint, .slot-picker__empty { padding: 6px 8px; font-size: 12px; font-weight: 700; color: var(--dim); }
.hunt-form .field { height: 48px; }
.hunt-form .field select { width: 100%; }
.hunt-form .sort { margin-left: 0; }
.hunt-form .slot-picker__field { height: 48px; }
.modal__body .hunt-form__hint { margin-top: 0; font-size: 13px; color: var(--dim); line-height: 1.5; }
.hunt-edit__head { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.hunt-edit__extra { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 14px; border-top: 1px solid var(--line); }
.hunt-order button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 12px 14px; border-radius: 9px; background: var(--surface-2); border: 1px solid var(--line); font-weight: 700; font-size: 14px; text-align: left; transition: border-color .18s; }
.hunt-order button:hover { border-color: var(--accent); }
.hunt-order button .icon:last-child { margin-left: auto; }
.hunt-order .icon { width: 16px; height: 16px; color: var(--dim); }
.hunt-overlay-links { display: grid; gap: 10px; margin-top: 16px; }
.hunt-overlay-link { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 8px; padding: 12px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); }
.hunt-overlay-link > span { grid-column: 1 / -1; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.hunt-overlay-link small { font-size: 12px; color: var(--dim); }
.hunt-overlay-link input { min-width: 0; height: 34px; padding: 0 10px; border-radius: 7px; background: var(--bg); border: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.modal--hunt-slot { width: min(100% - 32px, 680px); }
.hunt-slot-modal__head { display: flex; align-items: center; gap: 16px; }
.hunt-slot-modal__head h2 { margin-top: 4px; }
.slot-hit-form { display: grid; gap: 14px; margin-top: 20px; }
.slot-hit-amounts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.slot-hit-multiplier { padding: 12px 14px; border-radius: 10px; background: var(--surface-2); color: var(--text); font-size: 18px; font-weight: 800; }
.slot-hit-details { display: flex; align-items: center; gap: 12px; text-align: left; color: inherit; border-radius: 8px; }
.slot-hit-details:hover { color: var(--accent-ink); }
.slot-hit-details:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 4px; }
#normal-slot-hits-list { border-radius: 12px; border: 1px solid var(--line); overflow: hidden; }
#normal-slot-hits-list > .note { padding: 18px; margin: 0; }
@media (max-width: 480px) { .slot-hit-amounts { grid-template-columns: 1fr; } }
.hunt-slot-modal__facts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.hunt-slot-modal__facts div { display: flex; gap: 6px; padding: 5px 10px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--line); font-size: 12.5px; }
.hunt-slot-modal__facts dt { color: var(--dim); }
.hunt-slot-modal__facts dd { font-weight: 800; }
.hunt-slot-modal__facts:empty { display: none; }
.hunt-slot-modal__list { margin-top: 14px; border-radius: 12px; border: 1px solid var(--line); overflow: hidden; }
.hunt-slot-modal__list .hunt-table-wrap { max-height: 340px; }
.hunt-slot-modal__list > .muted { padding: 16px; font-size: 14px; color: var(--dim); }
.hunt-slot-modal__hunt { font-weight: 800; color: var(--accent-ink); }
.hunt-slot-modal__list td small { color: var(--dim); }

/* Ranking */
.rank-period { display: grid; justify-items: end; gap: 6px; min-width: 250px; padding: 12px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.rank-period:empty { display: none; }
.rank-period__label { font-size: 11px; font-weight: 800; font-stretch: 88%; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.rank-period__range { font-size: 12px; color: var(--dim); }
.rank-period__text { display: grid; justify-items: end; }
.rank-period__text strong { font-size: 18px; }
.rank-period__text small { font-size: 12.5px; color: var(--dim); }
.rank-clock { display: flex; gap: 6px; }
.rank-clock__cell { display: grid; justify-items: center; min-width: 50px; padding: 6px 6px 4px; border-radius: 9px; background: var(--bg); border: 1px solid var(--line-2); }
.rank-clock__cell b { font-size: 22px; font-weight: 900; font-stretch: 108%; font-variant-numeric: tabular-nums; line-height: 1.1; }
.rank-clock__cell small { font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); }
.rank-tools { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.rank-tools .tabs { width: max-content; }
.rank-month-select { min-width: 220px; }
.rank-month-select select { flex: 1; }
.rank-board { display: grid; gap: 12px; }
.rank-card { --medal: #c0c4cc; position: relative; display: grid; grid-template-columns: minmax(250px, .8fr) minmax(0, 1.5fr) minmax(0, 1.15fr); gap: 18px; align-items: center; padding: 18px; border-radius: 16px; background: linear-gradient(110deg, color-mix(in srgb, var(--medal) 16%, var(--surface)) 0%, var(--surface) 42%); border: 1px solid var(--line); border-left: 4px solid var(--medal); }
.rank-card--1 { --medal: var(--gold); }
.rank-card--3 { --medal: #cd7f32; }
.rank-card--4 { --medal: var(--line-2); }
.rank-card__who { display: flex; align-items: center; gap: 14px; min-width: 0; }
.rank-card__place { position: absolute; top: 10px; left: 14px; font-size: 13px; font-weight: 900; color: var(--medal); }
.rank-card__avatar img, .rank-card__avatar .profile-fallback { display: block; width: 72px; height: 72px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px var(--medal); }
.rank-card__name { display: grid; min-width: 0; }
.rank-card__name strong { overflow-wrap: anywhere; font-size: 21px; font-weight: 900; font-stretch: 104%; letter-spacing: -.01em; text-transform: uppercase; line-height: 1.1; }
.rank-card__name a { font-size: 12.5px; color: var(--dim); }
.rank-card__name a:hover { color: var(--accent-ink); }
.rank-card__main { display: grid; gap: 8px; min-width: 0; }
.rank-card__profit { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; padding: 12px 14px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); }
.rank-card__profit small { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.rank-card__profit strong { font-size: clamp(24px, 2.4vw, 32px); font-weight: 900; font-stretch: 106%; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rank-card__profit.is-profit { background: rgba(31, 214, 95, .1); border-color: rgba(31, 214, 95, .4); }
.rank-card__profit.is-profit strong { color: var(--win); }
.rank-card__profit.is-loss { background: rgba(255, 79, 94, .09); border-color: rgba(255, 79, 94, .4); }
.rank-card__profit.is-loss strong { color: var(--red); }
.rank-card__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 0; }
.rank-card__stats div { min-width: 0; padding: 8px 10px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); }
.rank-card__stats dt { font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); }
.rank-card__stats dd { font-size: 16px; font-weight: 900; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rank-card__stats small { display: block; font-size: 11px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rank-card__picks { display: grid; gap: 6px; min-width: 0; }
.rank-card__hunts { font-size: 12.5px; color: var(--dim); }
.rank-card__hunts a { font-weight: 800; color: var(--accent-ink); }
.rank-pick { display: grid; gap: 4px; min-width: 0; padding: 8px 10px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); text-align: left; }
button.rank-pick:hover { border-color: var(--line-2); }
.rank-pick--best { border-color: rgba(31, 214, 95, .35); }
.rank-pick--worst { border-color: rgba(255, 79, 94, .3); }
.rank-pick__label { font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); }
.rank-pick__empty { color: var(--dim); }
.rank-pick__body { display: flex; align-items: center; gap: 9px; min-width: 0; }
.rank-pick__body .slot-label { flex: 1; }
.rank-pick__body .slot-label b { font-size: 13px; }
.rank-pick__value { display: grid; justify-items: end; flex-shrink: 0; line-height: 1.2; font-variant-numeric: tabular-nums; }
.rank-pick__value b { font-size: 14px; }
.rank-pick--best .rank-pick__value b { color: var(--win); }
.rank-pick--worst .rank-pick__value b { color: var(--red); }
.rank-pick__value small { font-size: 11px; color: var(--dim); }
.rank-two { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 12px; margin-top: 12px; align-items: start; }
.rank-panel { padding: 16px; }
.rank-panel .sh { margin-bottom: 10px; }
.rank-panel .sh__title { font-size: 18px; }
.rank-panel .hunt-table-wrap { max-height: none; border-radius: 10px; border: 1px solid var(--line); }
.rank-table tr.is-top td:first-child { font-weight: 900; }
.rank-table tr.is-top--1 td:first-child { color: #ffd56a; box-shadow: inset 3px 0 0 var(--gold); }
.rank-table tr.is-top--2 td:first-child { color: #d4d7dd; box-shadow: inset 3px 0 0 #c0c4cc; }
.rank-table tr.is-top--3 td:first-child { color: #e2a76b; box-shadow: inset 3px 0 0 #cd7f32; }
.rank-panel .more { margin-top: 12px; }
.provider-bars--rank { margin-top: 0; }
.rank-months { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.rank-month { display: grid; gap: 6px; padding: 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); text-align: left; transition: border-color .18s, transform .25s var(--ease-out); }
.rank-month:hover { border-color: var(--line-2); transform: translateY(-2px); }
.rank-month.is-current { border-color: var(--accent); }
.rank-month__top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.rank-month__top b { font-size: 15px; }
.rank-month__top small { font-size: 12px; color: var(--dim); }
.rank-month__line { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; color: var(--muted); }
.rank-month__line.is-first span { color: #ffd56a; font-weight: 800; }
.rank-month__line b { font-variant-numeric: tabular-nums; }

@media (max-width: 1360px) {
  .rank-card { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
  .rank-card__picks { grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rank-card__hunts { grid-column: 1 / -1; }
}
@media (max-width: 1180px) {
  .hunt-add, .hunt-add.is-buys { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .hunt-add > :first-child { grid-column: 1 / -1; }
  .hunt-add__submit { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .hunt-grid, .hunt-main, .rank-two { grid-template-columns: 1fr; }
  .hunt-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rank-card { grid-template-columns: 1fr; gap: 12px; }
  .rank-card__picks { grid-template-columns: 1fr; }
  .rank-period { justify-items: start; }
  .rank-period__text { justify-items: start; }
}
@media (max-width: 760px) {
  .hunt-top { flex-direction: column; align-items: flex-start; gap: 6px; }
  .hunt-top__title { font-size: 19px; }
  .hunt-hero { padding: 16px; }
  .hunt-picks { grid-template-columns: 1fr; }
  .hunt-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .hunt-stat { padding: 11px 12px; }
  .hunt-table__pos { display: none; }
  .hunt-table td, .hunt-table th { padding: 8px; }
  .hunt-table .cover { --size: 34px !important; }
  .hunt-table .slot-label b { font-size: 13px; }
  .hunt-table-wrap { max-height: none; }
  .hunt-stats--compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .row--hunts { --col: 72%; }
  .hunt-editor__bar { padding: 10px; }
  .hunt-editor__actions { width: 100%; }
  .hunt-editor__body { padding: 10px; }
  .hunt-open { grid-template-columns: 1fr; padding: 12px; }
  .hunt-open__controls { flex-wrap: wrap; }
  .hunt-open__controls .text-input { flex: 1 1 100%; width: auto; }
  .hunt-open__controls .btn-gold { flex: 1; }
  .hunt-open > .btn { justify-self: stretch; }
  .hunt-overlay-link { grid-template-columns: 1fr 1fr; }
  .hunt-overlay-link input { grid-column: 1 / -1; }
  .rank-period { width: 100%; min-width: 0; }
  .rank-clock__cell { min-width: 0; flex: 1; }
  .rank-tools .tabs { width: 100%; }
  .rank-month-select { flex: 1 1 100%; min-width: 0; }
  .rank-card { padding: 14px; }
  .rank-card__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rank-card__avatar img, .rank-card__avatar .profile-fallback { width: 56px; height: 56px; }
  .rank-card__name strong { font-size: 19px; }
  .guess-list li { font-size: 13px; }
}
@media (max-width: 420px) {
  .hunt-stat dd { font-size: 18px; }
  .hunt-slot { gap: 8px; }
  .hunt-add, .hunt-add.is-buys { grid-template-columns: 1fr; }
}

/* ============================================================
   Responsivo
   ============================================================ */
@media (max-width: 1360px) {
  .stage__wall { left: 36%; }
  .games-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1180px) {
  :root { --sidebar: 0px; }
  .sidebar { width: 290px; transform: translateX(-102%); transition: transform .35s var(--ease-out); }
  .sidebar.is-open { transform: none; box-shadow: 30px 0 60px rgba(0, 0, 0, .5); }
  .sidebar__close { display: inline-grid; }
  .menu-toggle { display: inline-grid; }
  .brand--compact { display: inline-flex; }
  .search { flex: 1 1 auto; max-width: 400px; }
  .days { grid-template-columns: repeat(7, 132px); overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; overscroll-behavior-y: none; touch-action: pan-x; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 4px; scroll-padding-inline: var(--gutter); }
  .days::-webkit-scrollbar { display: none; }
  .day { scroll-snap-align: start; }
  .stream { grid-template-columns: 1fr; }
  .stream__chat, .stream__chat iframe { min-height: 420px; height: 420px; }
  .game { grid-template-columns: minmax(0, 1fr); }
  .game__panel { order: 2; border-right: 0; border-top: 1px solid var(--line); }
  .game__stage { min-height: 420px; }
}

@media (max-width: 960px) {
  .offers { grid-template-columns: 1fr 1fr; }
  .offers > :last-child { grid-column: 1 / -1; min-height: 220px; }
  .events { grid-template-columns: 1fr; }
  .earn { grid-template-columns: 1fr 1fr; }
  .earn-card--loyalty { grid-column: 1 / -1; min-height: 0; }
  .stream-info { grid-template-columns: 1fr; }
  .community { grid-template-columns: 1fr 1fr; }
  .brand-tile--twitch { grid-column: 1 / -1; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .sh { flex-wrap: wrap; }
  .library-search { width: 100%; order: 3; }
  .sort { margin-left: 0; }
  .stage__wall { left: 44%; }
  .profile-btn__name { display: none; }
}

@media (max-width: 760px) {
  :root { --topbar: 60px; }
  body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
  .search { position: absolute; left: 10px; right: 10px; top: 10px; max-width: none; z-index: 5; background: var(--surface-2); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .25s var(--ease-out), visibility 0s linear .25s; }
  .topbar.is-searching .search { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .search__kbd { display: none; }
  .search__close { display: inline-grid; }
  .search-toggle { display: inline-grid; }
  .live-pill { display: none; }
  .wallet-btn__chev { display: none; }
  .profile-btn:not(.is-connected) span { display: none; }
  .profile-btn:not(.is-connected) { width: 38px; padding: 0; justify-content: center; }
  .profile-btn.is-connected { padding: 0 4px; }
  .page-head { flex-direction: column; align-items: flex-start; padding-top: 22px; }
  .stage { flex-direction: column; align-items: stretch; min-height: 0; margin-top: 12px; }
  .stage__wall { position: relative; inset: auto; height: 230px; margin: -30px -30% 0; transform: rotate(-9deg); }
  .wall-track img { width: 150px; }
  .stage__shade { background: linear-gradient(0deg, #0a0a0c 52%, rgba(10, 10, 12, .75) 64%, rgba(10, 10, 12, .1) 100%); }
  .stage__content { max-width: none; margin-top: -44px; padding: 0 20px 24px; }
  .stage__title { font-size: clamp(34px, 10vw, 46px); }
  .stage__content > p { font-size: 15px; }
  .stage__actions .btn { flex: 1 1 auto; }
  .stage__stats { gap: 16px; flex-wrap: wrap; }
  .stage__stats dd { font-size: 20px; }
  .section { padding-top: 36px; }
  .section--tight { padding-top: 26px; }
  .sh__title { font-size: 19px; }
  .arrow-btn { display: none; }
  .row { --col: 72%; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .row--clips { --col: 82%; }
  .row--games { --col: 44%; }
  .games-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .stats-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .stats-strip__item dd { font-size: 16px; }
  .game-card__title strong { font-size: 20px; }
  .earn { grid-template-columns: 1fr; }
  .earn-card { min-height: 0; }
  .offers { grid-template-columns: 1fr; }
  .offers > :last-child { grid-column: auto; }
  .offer { min-height: 0; }
  .library-tools { gap: 8px; }
  .tabs { width: 100%; }
  .chips { width: calc(100% + var(--gutter) * 2); margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); overflow-x: auto; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex-shrink: 0; }
  .sort { flex: 1; }
  .slots-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .shop-card__body { padding: 10px; gap: 7px; }
  .shop-card__body p { display: none; }
  .shop-card__meta { flex-wrap: wrap; gap: 2px 8px; }
  .shop-card__price { font-size: 15px; }
  .shop-card.is-loading { min-height: 240px; }
  .slot__body { padding: 8px 10px 10px; }
  .slot__body h3 { font-size: 13.5px; }
  .slot__body p { font-size: 11.5px; }
  .slots-grid .slot__tags .tag:nth-child(n+2) { display: none; }
  .slots-grid .slot__stat { display: none; }
  .slot__fav { opacity: 1; width: 28px; height: 28px; }
  .slot__more { display: none; }
  .spin__item { width: 160px; }
  .spin__controls { flex-direction: column; align-items: stretch; }
  .spin__controls > .btn { width: 100%; }
  .spin__result { justify-content: stretch; }
  .result { width: 100%; }
  .event { padding: 20px 20px 66px; }
  .community { gap: 10px; }
  .brand-tile { min-height: 160px; }
  .footer__grid { gap: 24px; }
  .footer__brand { grid-column: 1 / -1; }
  .to-top { right: 12px; bottom: calc(78px + env(safe-area-inset-bottom)); width: 40px; height: 40px; }
  .toast { bottom: calc(80px + env(safe-area-inset-bottom)); }
  .stream__chat, .stream__chat iframe { min-height: 360px; height: 360px; }
  .earn-bar { flex-wrap: wrap; }
  .game__stage { padding: 16px; min-height: 0; }
  .game--plinko .game__stage { touch-action: pan-y; }
  .game__panel { padding: 14px; }
  .bet-input input, .text-input input, .text-input select { font-size: 16px; }
  .mines { gap: 7px; }
  .crash { min-height: 360px; }
  .crash__screen { min-height: 300px; }
  .dtile { width: 64px; height: 64px; font-size: 18px; }
  .double__columns { gap: 6px; }
  .double__col-name, .double__col-count { display: none; }
  .double__chip { grid-row: auto; width: 16px; height: 16px; border-radius: 5px; }
  .double__col-head small { grid-column: 1 / -1; }
  .crash__label { width: calc(100% - 24px); white-space: normal; font-size: 12.5px; line-height: 1.35; }
  .double__col-head { padding: 8px; column-gap: 6px; }
  .double__col-head b { font-size: 12px; }
  .double__entry { padding: 6px 8px; font-size: 12px; }
  .double__who img, .double__who .mini-avatar { display: none; }
  .crash__player { grid-template-columns: minmax(0, 1fr) 62px 56px 70px; gap: 6px; padding: 7px 10px; font-size: 12.5px; }
  .crash__who img, .crash__who .mini-avatar { width: 20px; height: 20px; }
  .pen__plate { left: 8px; top: 8px; padding: 4px 6px 4px 9px; font-size: 11px; }
  .pen__plate small { display: none; }
  .dice__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .game__panel > .btn-bet, .game__panel > .panel-actions { order: -1; }
  .dice__stats > :last-child { grid-column: 1 / -1; }
  .bets th:nth-child(4), .bets td:nth-child(4) { display: none; }
  .feed__panel th, .feed__panel td { padding: 8px; font-size: 12.5px; }
  .feed__long { display: none; }
  .feed__short { display: inline; }
  .feed__c-time, .feed__c-bet { display: none; }
  .feed--game .feed__c-bet { display: table-cell; }
  .feed__game span { display: none; }
  .feed__player { max-width: 112px; gap: 6px; }
  .feed__player img, .feed__player .mini-avatar { width: 20px; height: 20px; }
  .feed__rank { width: 30px; }
  .feed__tab { height: 34px; padding: 0 11px; font-size: 12.5px; }
  .modal__body { padding: 22px 20px; }
  .slot-modal__body { padding: 18px 20px 22px; }
  .similar__list { grid-template-columns: repeat(2, 1fr); }
  .similar__list > :nth-child(3) { display: none; }
  .player { min-height: 0; }
  .wallet-panel { right: 10px; left: 10px; width: auto; }

  .dock { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; height: calc(62px + env(safe-area-inset-bottom)); padding: 0 6px env(safe-area-inset-bottom); background: var(--side); border-top: 1px solid var(--line); }
  .dock a, .dock button { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 10.5px; font-weight: 700; color: var(--dim); transition: color .18s; }
  .dock .icon { width: 21px; height: 21px; }
  .dock .is-active { color: #fff; }
  .dock .is-active .icon { color: var(--accent-ink); }
  .dock__main .icon { width: 22px; height: 22px; margin-top: -24px; padding: 11px; border-radius: 14px; color: #fff !important; background: var(--accent); border: 3px solid var(--side); box-sizing: content-box; }
}

@media (max-width: 420px) {
  .stage__actions { flex-direction: column; }
  .stage__actions .btn { width: 100%; }
  .days { grid-template-columns: repeat(7, 124px); }
  .wallet-btn { padding: 0 9px 0 5px; font-size: 13px; }
}

@media (hover: none) {
  .slot__more { display: none; }
  .slot__fav { opacity: 1; }
  .game-card__play { display: none; }
}

/* Animações desligadas pelo interruptor «Animações». */
.reduce-motion { scroll-behavior: auto; }
.reduce-motion *, .reduce-motion *::before, .reduce-motion *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
.reduce-motion [data-reveal], .reduce-motion .enter, .reduce-motion .stage__wall { opacity: 1 !important; transform: none !important; }
.reduce-motion .stage__wall { transform: rotate(-9deg) !important; }
.reduce-motion .wall-track, .reduce-motion .offer__tape span, .reduce-motion .live-dot::after { animation: none !important; }

/* ---------- Admin → Visitas (visits-admin.js) ---------- */
.visits-status { gap: 8px; margin-bottom: 14px; }
.visits-status__head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.visits-status__text { display: grid; gap: 2px; flex: 1 1 260px; min-width: 0; }
.visits-status__text b { font-size: 15px; }
.visits-status__line { font-size: 13px; color: var(--muted); }
.visits-dot { width: 10px; height: 10px; flex-shrink: 0; border-radius: 50%; background: var(--win); box-shadow: 0 0 0 4px rgba(31, 214, 95, .14); }
.visits-status .visits-status__note { font-size: 13px; line-height: 1.55; color: var(--dim); }
.visits-test { padding: 9px 12px; border-radius: 9px; border: 1px solid var(--line-2); background: var(--bg); font-size: 13px; line-height: 1.5; color: var(--muted); }
.visits-test.is-ok { border-color: rgba(31, 214, 95, .45); color: var(--text); }
.visits-test.is-error { border-color: rgba(255, 79, 94, .5); color: #ff9aa3; }
.visits-toolbar .seg { min-width: 380px; }
.visits-range { font-size: 13px; font-weight: 700; color: var(--text); }
.visits-updated { font-size: 12.5px; }
.visits-kpi { display: grid; align-content: start; gap: 2px; }
.visits-kpi__sub { display: block; margin-top: 2px; font-size: 12px; line-height: 1.35; color: var(--dim); }
.visits-kpi__sub.is-up { color: var(--win); }
.visits-kpi__sub.is-down { color: #ffb15a; }
.visits-feed { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.visits-feed li { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; grid-template-areas: 'time main tags' 'time meta tags'; column-gap: 12px; padding: 7px 9px; border-radius: 7px; font-size: 13.5px; }
.visits-feed li:nth-child(odd) { background: var(--bg); }
.visits-feed__time { grid-area: time; align-self: center; font-size: 12px; color: var(--dim); font-variant-numeric: tabular-nums; }
.visits-feed__main { grid-area: main; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); }
.visits-feed__main b { color: var(--text); font-weight: 700; }
.visits-feed__meta { grid-area: meta; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; color: var(--dim); }
.visits-feed__tags { grid-area: tags; display: flex; align-items: center; gap: 5px; }
.visits-content { transition: opacity .2s; }
.visits-content.is-refreshing { opacity: .55; pointer-events: none; }
.visits-kpi--live dt { display: flex; align-items: center; gap: 7px; }
.visits-kpi--live dt::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--live); animation: visits-pulse 2s ease-out infinite; }
@keyframes visits-pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 59, 59, .55); } 70%, 100% { box-shadow: 0 0 0 7px rgba(255, 59, 59, 0); } }
.visits-grid { margin-top: 2px; }
.visits-card--wide { grid-column: 1 / -1; }
.visits-chart__frame { position: relative; border-radius: 8px; touch-action: pan-y; }
.visits-chart__frame:focus-visible { outline-offset: 4px; }
.visits-chart__svg { display: block; width: 100%; height: auto; overflow: visible; }
.visits-gridline { stroke: var(--line); stroke-width: 1; }
.visits-axis { stroke: var(--line-2); stroke-width: 1; }
.visits-tick { fill: var(--dim); font-size: 11px; font-variant-numeric: tabular-nums; }
.visits-bar { fill: var(--accent-hi); transition: fill .15s; }
.visits-bar.is-active { fill: #cdb0ff; }
.visits-tip { position: absolute; z-index: 2; display: grid; gap: 1px; padding: 7px 10px; border-radius: 8px; background: var(--surface-3); border: 1px solid var(--line-2); box-shadow: 0 8px 22px rgba(0, 0, 0, .35); font-size: 12px; color: var(--muted); white-space: nowrap; transform: translate(-50%, -100%); pointer-events: none; }
.visits-tip strong { font-size: 14px; color: var(--text); }
.visits-tip__detail { color: var(--dim); }
.visits-table summary { width: max-content; margin-top: 6px; font-size: 12.5px; color: var(--dim); cursor: pointer; }
.visits-table summary:hover { color: var(--text); }
.visits-table table { width: 100%; margin-top: 8px; border-collapse: collapse; font-size: 13px; }
.visits-table th { padding: 6px 8px; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); text-align: left; }
.visits-table th:last-child, .visits-table td.num { text-align: right; }
.visits-table td { padding: 6px 8px; border-top: 1px solid var(--line); color: var(--muted); }
.visits-table td.num { color: var(--text); font-variant-numeric: tabular-nums; }
.visits-rank { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.visits-rank li { display: grid; grid-template-columns: minmax(0, 1fr) repeat(var(--cols, 1), minmax(56px, auto)); align-items: center; gap: 12px; padding: 7px 9px; border-radius: 7px; font-size: 13.5px; }
.visits-rank li:nth-child(even) { background: var(--bg); }
.visits-rank .visits-rank__head { padding-top: 0; padding-bottom: 2px; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); }
.visits-rank__head span:not(:first-child), .visits-rank__value, .visits-rank__sub { text-align: right; font-variant-numeric: tabular-nums; }
.visits-rank__label { display: grid; gap: 5px; min-width: 0; }
.visits-rank__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text); }
.visits-rank__bar { display: block; width: var(--w, 0%); min-width: 2px; height: 4px; border-radius: 2px; background: var(--accent-hi); }
.visits-rank__value { font-weight: 700; color: var(--text); }
.visits-rank__sub { color: var(--dim); }
.visits-empty { font-size: 13.5px; color: var(--dim); }
.visits-notes p:first-child { color: var(--muted); }
@media (max-width: 760px) {
  .visits-toolbar .seg { min-width: 0; width: 100%; }
  .visits-toolbar .push { margin-left: 0; }
  .visits-feed li { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: 'time tags' 'main main' 'meta meta'; }
}
