/* Shikai — identidade "liquid glass": vidro translúcido sobre um fundo azul profundo em movimento lento */
:root {
  --bg: #070B16;
  --bg-2: #0B1122;
  --ink: #F2F5FB;
  --ink-2: #C9D3E8;
  --muted: #9AA6C0;
  --faint: #6F7C99;
  --accent: #3B82F6;
  --accent-strong: #2563EB;
  --accent-ink: #9CC2FF;
  --twitch: #9146FF;
  --ok: #34D399;
  --ok-ink: #7BE0A4;
  --warn: #FBBF24;
  --bad: #F87171;
  --glass: rgba(255, 255, 255, 0.055);
  --glass-2: rgba(255, 255, 255, 0.09);
  --glass-hover: rgba(255, 255, 255, 0.12);
  --stroke: rgba(255, 255, 255, 0.11);
  --stroke-hi: rgba(255, 255, 255, 0.26);
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.38);
  --radius: 20px;
  --radius-sm: 12px;
  --side: 248px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; background: var(--bg); color: var(--ink);
  font: 15px/1.55 var(--font); padding-left: var(--side);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent-ink); text-decoration: none; }
a:hover { color: #C7DCFF; }
img { max-width: 100%; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.015em; margin: 0; line-height: 1.12; }
h1 { font-size: clamp(30px, 4.6vw, 48px); font-weight: 700; }
h2 { font-size: clamp(22px, 2.6vw, 28px); font-weight: 700; }
h3 { font-size: 18px; font-weight: 600; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--accent-strong); color: #fff; padding: 10px 14px; border-radius: 10px; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.small { font-size: 13px; }
.nowrap { white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; }
.pos { color: var(--ok-ink); }
.neg { color: #FCA5A5; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- fundo ---------- */
.backdrop { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: radial-gradient(1200px 700px at 70% -10%, #13224A 0%, transparent 60%), var(--bg); }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5; }
.b1 { width: 520px; height: 520px; background: #1D4ED8; top: -140px; right: 8%; animation: drift 38s ease-in-out infinite alternate; }
.b2 { width: 420px; height: 420px; background: #6D28D9; bottom: -160px; left: 18%; opacity: 0.32; animation: drift 46s ease-in-out infinite alternate-reverse; }
.b3 { width: 300px; height: 300px; background: #0891B2; top: 40%; right: -80px; opacity: 0.25; animation: drift 52s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate(-60px, 50px) scale(1.12); } }
@media (prefers-reduced-motion: reduce) { .blob { animation: none; } * { scroll-behavior: auto !important; } }

/* ---------- vidro ---------- */
.glass, .glass-bar {
  background: linear-gradient(180deg, rgba(255,255,255,0.085), rgba(255,255,255,0.03));
  border: 1px solid var(--stroke);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.16), var(--shadow);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  backdrop-filter: blur(22px) saturate(160%);
}
.glass { border-radius: var(--radius); }
.panel { padding: 22px; }

/* ---------- barra lateral ---------- */
.sidebar { position: fixed; left: 12px; top: 12px; bottom: 12px; width: calc(var(--side) - 24px); z-index: 60; border-radius: 24px; display: flex; flex-direction: column; overflow-y: auto; padding-bottom: 8px; }
.brand { display: flex; align-items: center; gap: 10px; padding: 22px 20px 14px; color: #fff; }
.brand:hover { color: #fff; }
.bars { display: inline-flex; gap: 3px; transform: skewX(-14deg); }
.bars i { width: 4px; height: 22px; display: block; border-radius: 1px; }
.bars i:nth-child(1) { background: #2563EB; } .bars i:nth-child(2) { background: #3B82F6; } .bars i:nth-child(3) { background: #7FB0FF; }
.wordmark { font-family: var(--display); font-weight: 700; font-size: 26px; letter-spacing: 0.06em; }
.nav-sec { padding: 8px 12px 0; display: flex; flex-direction: column; gap: 2px; }
.nav-sec .label { padding: 10px 10px 6px; font-size: 12px; font-weight: 600; color: var(--faint); }
.nav-link { display: flex; align-items: center; gap: 12px; min-height: 42px; padding: 0 12px; border-radius: 12px; color: var(--ink-2); font-weight: 500; font-size: 14px; border: 1px solid transparent; transition: background .15s; }
.nav-link:hover { background: var(--glass-2); color: var(--ink); }
.nav-link[aria-current="page"] { color: #fff; font-weight: 600; background: linear-gradient(180deg, rgba(59,130,246,0.32), rgba(37,99,235,0.16)); border-color: rgba(127,176,255,0.35); box-shadow: inset 0 1px 0 rgba(255,255,255,0.2); }
.side-foot { margin-top: auto; padding: 12px; }
.channel { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; color: var(--ink); }
.channel:hover { background: var(--glass-2); color: var(--ink); }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, #2563EB, #7C3AED); display: grid; place-items: center; font-weight: 700; flex: none; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: #EF4444; box-shadow: 0 0 0 4px rgba(239,68,68,0.25); display: inline-block; }

/* ---------- barra superior ---------- */
.topbar { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 28px; flex-wrap: wrap; background: linear-gradient(180deg, rgba(7,11,22,0.85), rgba(7,11,22,0.4)); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.crumbs { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); min-width: 0; }
.crumbs b { color: var(--ink); font-weight: 600; }
.mlogo { display: none; }
.top-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.auth-hint { font-size: 12px; color: var(--warn); max-width: 280px; text-align: right; }

/* ---------- botões e campos ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 12px; border: 1px solid var(--stroke); background: var(--glass-2); color: var(--ink); font: 600 14px var(--font); cursor: pointer; text-decoration: none; transition: background .15s, transform .1s; white-space: nowrap; }
.btn:hover { background: var(--glass-hover); color: var(--ink); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn.primary { background: linear-gradient(180deg, #3B82F6, #2563EB); border-color: rgba(147,197,253,0.45); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,0.3), 0 8px 22px rgba(37,99,235,0.35); }
.btn.primary:hover { background: linear-gradient(180deg, #4F8FF7, #2F6BEE); }
.btn.twitch { background: linear-gradient(180deg, #A270FF, #9146FF); border-color: rgba(196,167,255,0.5); color: #fff; }
.btn.danger { color: #FECACA; border-color: rgba(248,113,113,0.4); background: rgba(248,113,113,0.1); }
.btn.ghost { background: transparent; }
.btn.sm { min-height: 36px; padding: 0 12px; font-size: 13px; border-radius: 10px; }
.btn.win { justify-content: flex-start; width: 100%; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > span { font-size: 13px; font-weight: 600; color: var(--ink-2); }
input, select, textarea { font: 15px var(--font); color: var(--ink); background: rgba(5,9,20,0.55); border: 1px solid var(--stroke); border-radius: 12px; min-height: 44px; padding: 0 14px; width: 100%; }
textarea { padding: 10px 14px; min-height: 84px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(59,130,246,0.25); }
.search { position: relative; }
.search svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--faint); }
.search input { padding-left: 40px; }
.seg { display: inline-flex; padding: 4px; gap: 4px; border-radius: 14px; background: rgba(5,9,20,0.5); border: 1px solid var(--stroke); }
.seg button { min-height: 38px; padding: 0 16px; border-radius: 10px; border: 0; background: transparent; color: var(--ink-2); font: 600 14px var(--font); cursor: pointer; }
.seg button[aria-pressed="true"] { background: linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0.08)); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,0.25); }

/* ---------- layout ---------- */
main { --main-max: 1180px; max-width: var(--main-max); margin: 0 auto; padding: 18px 28px 80px; display: flex; flex-direction: column; gap: 28px; outline: none; }
/* ecrãs largos: o conteúdo acompanha a largura (antes ficava preso a 1180 px no meio) */
@media (min-width: 1500px) { main { --main-max: 1400px; } }
@media (min-width: 1900px) { main { --main-max: 1640px; } }
@media (min-width: 2300px) { main { --main-max: 1880px; } }
/* 4K sem escala do Windows (100%): aumenta tudo, senão o texto fica minúsculo */
@media (min-width: 2800px) { html { zoom: 1.35; } }

.age18 { display: inline-grid; place-items: center; min-width: 30px; height: 22px; margin-right: 6px; padding: 0 6px; border-radius: 7px; border: 1.5px solid rgba(248,113,113,0.7); color: #FECACA; font: 800 11px var(--font); vertical-align: 1px; }

/* ---------- confirmação de idade ---------- */
dialog.age-gate { max-width: min(440px, calc(100vw - 32px)); padding: 26px; border: 1px solid var(--stroke-hi); border-radius: 22px; color: var(--ink); background: rgba(10,15,30,0.97); text-align: center; }
dialog.age-gate::backdrop { background: rgba(3,6,14,0.82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.age-gate .age18 { width: 64px; height: 44px; margin: 0 auto 14px; font-size: 20px; border-radius: 12px; border-width: 2px; display: grid; }
.age-gate h2 { margin-bottom: 10px; }
.age-gate p { color: var(--ink-2); font-size: 14px; }
.age-gate .row { justify-content: center; margin-top: 18px; }

/* ---------- páginas de texto (privacidade) ---------- */
.prose { max-width: 760px; display: flex; flex-direction: column; gap: 14px; }
.prose h2 { font-size: 20px; margin-top: 10px; }
.prose ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; color: var(--ink-2); }
.prose p { color: var(--ink-2); }
.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.page-head .lead { color: var(--muted); font-size: 16px; max-width: 640px; margin-top: 8px; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.row.between { justify-content: space-between; }
.grid { display: grid; gap: 16px; }
.grid.cards { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.grid.wide { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.grid.stats { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.grid.form { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); align-items: end; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.section { display: flex; flex-direction: column; gap: 16px; }

/* ---------- chips, avisos ---------- */
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--glass-2); border: 1px solid var(--stroke); color: var(--ink-2); white-space: nowrap; }
.chip.ok { color: var(--ok-ink); border-color: rgba(52,211,153,0.4); background: rgba(52,211,153,0.1); }
/* torneio/hunt/aposta a decorrer: verde néon a pulsar (o vermelho fica só para "em direto" na Twitch) */
.chip.live { color: #86FFB4; border-color: rgba(34,224,122,0.55); background: rgba(34,224,122,0.14); box-shadow: 0 0 14px rgba(34,224,122,0.18); }
.chip.live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #22E07A; margin-right: 6px; display: inline-block; vertical-align: 1px; animation: open-pulse 1.6s ease-out infinite; }
.open-dot { width: 9px; height: 9px; border-radius: 50%; background: #22E07A; display: inline-block; animation: open-pulse 1.6s ease-out infinite; }
@keyframes open-pulse { 0% { box-shadow: 0 0 0 0 rgba(34,224,122,0.7); } 70% { box-shadow: 0 0 0 8px rgba(34,224,122,0); } 100% { box-shadow: 0 0 0 0 rgba(34,224,122,0); } }
@media (prefers-reduced-motion: reduce) { .open-dot, .chip.live::before { animation: none; box-shadow: 0 0 0 3px rgba(34,224,122,0.3); } }
.chip.warn { color: #FDE68A; border-color: rgba(251,191,36,0.45); background: rgba(251,191,36,0.1); }
/* super bónus: dourado, fácil de ver em listas, quadros e overlays */
.chip.super { color: #1A1203; font-weight: 800; letter-spacing: 0.04em; border: 0; padding: 1px 7px; font-size: 10.5px;
  background: linear-gradient(135deg, #FDE68A, #F59E0B 55%, #FBBF24); box-shadow: 0 0 12px rgba(251,191,36,0.45); vertical-align: 1px; }
.bonus-name { color: var(--muted); font-size: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
tr.is-super td { background: linear-gradient(90deg, rgba(251,191,36,0.10), transparent 60%); }
.chip.src { color: var(--accent-ink); }
.chip.src.site { color: var(--ink-2); }
.notice { padding: 14px 16px; border-radius: 14px; border: 1px solid var(--stroke); background: var(--glass); font-size: 14px; color: var(--ink-2); }
.notice.bad { border-color: rgba(248,113,113,0.45); background: rgba(248,113,113,0.1); color: #FECACA; }
.notice.warn { border-color: rgba(251,191,36,0.45); background: rgba(251,191,36,0.08); color: #FDE68A; }
.notice.ok { border-color: rgba(52,211,153,0.45); background: rgba(52,211,153,0.08); color: var(--ok-ink); }
.empty { padding: 28px; display: flex; flex-direction: column; gap: 6px; color: var(--muted); }
.empty strong { color: var(--ink); font-family: var(--display); font-size: 18px; }
.skeleton { height: 120px; border-radius: var(--radius); background: linear-gradient(90deg, var(--glass) 0%, var(--glass-2) 50%, var(--glass) 100%); background-size: 200% 100%; animation: sk 1.4s infinite; }
@keyframes sk { to { background-position: -200% 0; } }

/* ---------- hero (início) ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(26px, 4vw, 44px); display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: center; }
.hero h1 { font-size: clamp(34px, 5.4vw, 58px); }
.hero .lead { font-size: 17px; color: var(--ink-2); margin-top: 14px; max-width: 520px; }
.hero-mark { font-family: var(--display); font-weight: 700; font-size: clamp(90px, 14vw, 170px); line-height: .8; letter-spacing: -0.04em; text-align: right; background: linear-gradient(180deg, rgba(255,255,255,0.35), rgba(127,176,255,0.06)); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }
/* ===== Visão geral ===== */
.hm-hero { position: relative; overflow: hidden; border-radius: 28px; min-height: clamp(300px, 38vw, 460px); display: flex; align-items: flex-end; border: 1px solid rgba(255,255,255,0.12); background: linear-gradient(135deg, #2A1B5E, #0B1230); }
.hm-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; transform: scale(1.04); filter: saturate(1.15); }
.hm-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7,11,22,0.95) 0%, rgba(7,11,22,0.55) 45%, rgba(7,11,22,0.1) 100%), radial-gradient(80% 90% at 0% 100%, rgba(145,70,255,0.45), transparent 60%); }
.hm-hero.is-live { border-color: rgba(239,68,68,0.6); box-shadow: 0 0 0 1px rgba(239,68,68,0.3), 0 0 50px rgba(239,68,68,0.2); }
.hm-hero-in { position: relative; z-index: 1; display: flex; align-items: flex-end; gap: 22px; padding: clamp(22px, 4vw, 44px); width: 100%; }
.hm-av { width: clamp(72px, 9vw, 110px); height: auto; aspect-ratio: 1; border-radius: 50%; border: 4px solid #9146FF; box-shadow: 0 0 40px rgba(145,70,255,0.7); flex: none; }
.hm-hero h1 { margin: 6px 0 0; font: 900 clamp(44px, 8vw, 96px)/.9 var(--display); letter-spacing: -0.04em; }
.hm-hero p { margin: 10px 0 0; font-size: clamp(15px, 1.6vw, 19px); color: rgba(255,255,255,0.85); }
.hm-badge { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; background: rgba(0,0,0,0.45); border: 1px solid rgba(255,255,255,0.18); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.hm-hero.is-live .hm-badge { background: #EF4444; border-color: #EF4444; }
.hm-hero.is-live .hm-badge .live-dot { background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,0.3); }
.hm-now { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 12px; }
.hm-now-card { display: flex; align-items: center; gap: 14px; padding: 12px 16px 12px 12px; border-radius: 20px; background: linear-gradient(90deg, rgba(34,224,122,0.2), rgba(34,224,122,0.04) 60%, var(--glass)); border: 1px solid rgba(34,224,122,0.5); box-shadow: 0 0 24px rgba(34,224,122,0.12); color: var(--ink); }
.hm-now-card .kicker { color: #86FFB4; }
.hm-now-card:hover { color: var(--ink); filter: brightness(1.1); }
.hm-now-card > span:not(.hm-mosaic) { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.hm-now-card b { font: 700 18px var(--display); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hm-now-card .hm-mosaic { width: 120px; height: 56px; flex: none; grid-template-columns: repeat(3, 1fr); grid-template-rows: 1fr; border-radius: 12px; position: static; }
.hm-mosaic { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; gap: 3px; overflow: hidden; }
.hm-mosaic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hm-clips { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 1fr); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
.hm-clip { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; scroll-snap-align: start; border: 1px solid var(--stroke); background: #000; color: #fff; }
.hm-clip img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.hm-clip:hover img { transform: scale(1.06); }
.hm-clip::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,0.85), transparent 55%); }
.hm-play { position: absolute; z-index: 1; top: 50%; left: 50%; translate: -50% -50%; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: rgba(145,70,255,0.85); box-shadow: 0 6px 24px rgba(0,0,0,0.4); opacity: .9; }
.hm-clip-t { position: absolute; z-index: 1; left: 12px; right: 12px; bottom: 10px; font-weight: 700; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hm-bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 180px; gap: 14px; }
.hm-tile { position: relative; overflow: hidden; border-radius: 22px; border: 1px solid rgba(255,255,255,0.12); color: #fff; display: flex; align-items: flex-end; background: linear-gradient(135deg, #1E3A8A, #0F172A); transition: transform .15s, box-shadow .15s; }
.hm-tile:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 14px 40px rgba(0,0,0,0.35); }
.hm-tile.t-big { grid-column: span 2; grid-row: span 2; }
.hm-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,8,20,0.9), rgba(5,8,20,0.15) 60%, transparent); }
.hm-tile .hm-mosaic img { filter: saturate(1.1); }
.hm-tile-t { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 2px; padding: 18px; }
.hm-tile-t .ico { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,0.16); border: 1px solid rgba(255,255,255,0.25); margin-bottom: 8px; }
.hm-tile-t b { font: 800 22px/1.1 var(--display); }
.t-big .hm-tile-t b { font-size: 34px; }
.hm-tile-t small { color: rgba(255,255,255,0.8); font-size: 13px; }
.hm-tile.t-gold { background: repeating-conic-gradient(from 0deg at 50% 20%, rgba(255,255,255,0.08) 0 6deg, transparent 6deg 18deg), linear-gradient(180deg, #F4A51C, #B45309); }
.hm-crown { position: absolute; top: 10px; right: 16px; font-size: 64px; filter: drop-shadow(0 4px 14px rgba(0,0,0,0.35)); }
.hm-tile.t-purple { background: linear-gradient(135deg, #7E22CE, #4C1D95); }
.hm-faces { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; flex-wrap: wrap; gap: 4px; }
.hm-faces .av { border: 2px solid #E2B26B; margin-right: -10px; }
.hm-tile.t-shop { background: linear-gradient(135deg, #059669, #064E3B); }
.hm-tile.t-gift { background: linear-gradient(135deg, #DB2777, #831843); }
.hm-big-ico { position: absolute; top: 12px; right: 14px; opacity: .35; transform: rotate(-12deg); }
.hm-big-ico svg { width: 84px; height: 84px; }
.hm-casinos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.hm-casino { aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; border: 1px solid var(--stroke); background: var(--glass); transition: transform .15s; }
.hm-casino:hover { transform: translateY(-3px); }
.hm-casino { position: relative; display: grid; place-items: center; background: linear-gradient(135deg, #1E293B, #0F172A); }
.hm-casino img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.hm-casino-n { font: 800 18px var(--display); color: #fff; }
.hm-tile.t-wide { grid-column: span 2; }
.hm-tile-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hm-tile.t-stream { background: #1a1033; }
.hm-tile.t-art .hm-tile-bg { transition: transform .4s ease; }
.hm-tile.t-art:hover .hm-tile-bg { transform: scale(1.04); }
.hm-tile.t-art::after { background: linear-gradient(0deg, rgba(5,8,20,0.85), rgba(5,8,20,0.1) 45%, transparent); }
.hm-tile.t-stream .hm-play { width: 60px; height: 60px; }
.hm-clips::-webkit-scrollbar { height: 6px; }
.hm-clips::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.18); border-radius: 6px; }
.hm-clips { scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.18) transparent; }
.hm-socials { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
@media (max-width: 900px) {
  .hm-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 160px; }
}
@media (max-width: 560px) {
  .hm-hero-in { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hm-bento { grid-auto-rows: 140px; gap: 10px; }
  .hm-tile.t-big { grid-row: span 2; }
  .hm-tile-t { padding: 12px; }
  .hm-tile-t b { font-size: 18px; }
  .t-big .hm-tile-t b { font-size: 26px; }
  .hm-tile-t small { display: none; }
  .hm-crown { font-size: 44px; }
  .hm-clips { grid-auto-columns: 78%; }
  .hm-casinos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hm-socials { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.portals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.portal { padding: 22px; display: flex; flex-direction: column; gap: 10px; color: var(--ink); min-height: 170px; transition: transform .15s, background .15s; }
.portal:hover { transform: translateY(-2px); color: var(--ink); background: linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.04)); }
.portal .ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(59,130,246,0.18); color: var(--accent-ink); border: 1px solid rgba(127,176,255,0.3); }
.portal .big { font-family: var(--display); font-size: 30px; font-weight: 700; margin-top: auto; }
.portal .sub { color: var(--muted); font-size: 13px; }

/* ---------- atividade ---------- */
.timeline { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.timeline li a { display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: center; padding: 12px 14px; border-radius: 14px; color: var(--ink); }
.timeline li a:hover { background: var(--glass-2); color: var(--ink); }
.timeline .tico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--glass-2); border: 1px solid var(--stroke); color: var(--accent-ink); }
.timeline .t1 { font-weight: 600; }
.timeline .t2 { font-size: 13px; color: var(--muted); }
.timeline time { font-size: 13px; color: var(--faint); text-align: right; }

/* ---------- tabelas ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); }
table.data { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
table.data th { text-align: left; font-size: 12px; font-weight: 600; color: var(--muted); padding: 12px 14px; border-bottom: 1px solid var(--stroke); white-space: nowrap; }
table.data td { padding: 12px 14px; border-bottom: 1px solid rgba(255,255,255,0.05); vertical-align: middle; }
table.data tr:last-child td { border-bottom: 0; }
table.data tbody tr:hover { background: rgba(255,255,255,0.035); }
table.data .r { text-align: right; }
table.data tr.me td { background: rgba(59,130,246,0.12); }
.rank { font-family: var(--display); font-weight: 700; font-size: 17px; color: var(--accent-ink); width: 56px; }
.rank.top1 { color: #FDE68A; } .rank.top2 { color: #E5E7EB; } .rank.top3 { color: #FDBA74; }
.slot-cell { display: flex; align-items: center; gap: 10px; min-width: 0; }
.slot-thumb { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; flex: none; background: var(--glass-2); }
.slot-thumb.ph { display: inline-grid; place-items: center; font-weight: 700; font-size: 12px; color: #fff; background: linear-gradient(135deg, #2563EB, #7C3AED); }
.pager { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ---------- cartões de evento ---------- */
.ev { padding: 18px; display: flex; flex-direction: column; gap: 12px; color: var(--ink); }
a.ev:hover { color: var(--ink); background: linear-gradient(180deg, rgba(255,255,255,0.11), rgba(255,255,255,0.04)); }
.ev .num-big { font-family: var(--display); font-weight: 700; font-size: 22px; }
/* bonus hunts: lucro a verde, prejuízo a vermelho */
.hunt-res.win { border-color: rgba(52,211,153,0.55); background: linear-gradient(160deg, rgba(16,185,129,0.22), rgba(16,185,129,0.04) 60%), var(--glass, rgba(255,255,255,0.04)); }
.hunt-res.loss { border-color: rgba(248,113,113,0.55); background: linear-gradient(160deg, rgba(239,68,68,0.22), rgba(239,68,68,0.04) 60%), var(--glass, rgba(255,255,255,0.04)); }
.hunt-res .res-badge { flex: none; padding: 3px 10px; border-radius: 999px; font-weight: 900; font-variant-numeric: tabular-nums; font-size: 14px; }
.hunt-res.win .res-badge { background: rgba(16,185,129,0.2); color: #34D399; }
.hunt-res.loss .res-badge { background: rgba(239,68,68,0.2); color: #F87171; }
.hunt-res.win .kv > div:last-child b { color: #34D399; }
.hunt-res.loss .kv > div:last-child b { color: #F87171; }
.kv { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; }
.kv div { display: flex; flex-direction: column; gap: 2px; }
.kv span { font-size: 12px; color: var(--faint); }
.kv b { font-size: 15px; font-weight: 600; }
.stat { padding: 18px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.stat .k { font-size: 13px; color: var(--muted); font-weight: 500; }
.stat .v { font-family: var(--display); font-size: 26px; font-weight: 700; line-height: 1.1; overflow-wrap: anywhere; }
.stat .s { font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.stat.feature { background: linear-gradient(160deg, rgba(59,130,246,0.32), rgba(255,255,255,0.03)); border-color: rgba(127,176,255,0.35); }

/* ---------- quadro de torneio ---------- */
.bracket-wrap { overflow-x: auto; padding-bottom: 8px; }
.bracket { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: 18px; min-width: min-content; }
.bracket .col { display: flex; flex-direction: column; gap: 10px; }
.bracket .col h3 { font-size: 13px; color: var(--muted); font-family: var(--font); font-weight: 600; text-align: center; }
.bracket .col .ms { flex: 1; display: flex; flex-direction: column; justify-content: space-around; gap: 12px; }
.match { border-radius: 14px; overflow: hidden; border: 1px solid var(--stroke); background: rgba(8,13,28,0.6); }
.match.current { border-color: rgba(127,176,255,0.6); box-shadow: 0 0 0 3px rgba(59,130,246,0.18); }
.side { display: grid; grid-template-columns: 28px 1fr auto; gap: 10px; align-items: center; padding: 8px 10px; min-height: 52px; width: 100%; background: transparent; border: 0; color: var(--ink); font: inherit; text-align: left; }
.side + .side { border-top: 1px solid var(--stroke); }
.side .slot-thumb { width: 28px; height: 28px; border-radius: 8px; }
.side .nm { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.side .nm b { font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side .nm span { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side.win { background: linear-gradient(90deg, rgba(52,211,153,0.2), transparent); }
.side.win .nm b { color: #fff; }
.side.lose { opacity: .55; }
.side .tag { font-size: 11px; font-weight: 700; color: var(--ok-ink); }
button.side { cursor: pointer; }
button.side:hover:not([disabled]) { background: rgba(59,130,246,0.18); }
button.side[disabled] { cursor: default; }
.side.empty-side .nm b { color: var(--faint); font-weight: 500; }

[hidden] { display: none !important; }

/* ---------- casinos ---------- */
/* Cada casino é uma faixa larga: arte (logo à esquerda, mascote à direita) com a oferta escrita por baixo do logo. */
.casinos { display: flex; flex-direction: column; gap: 18px; }
.casino { overflow: hidden; display: flex; flex-direction: column; container-type: inline-size; padding: 0; }
.casino .hero { position: relative; padding: 0; margin: 0; border: 0; border-radius: 0; box-shadow: none; aspect-ratio: 1584 / 672; background: radial-gradient(120% 140% at 85% 60%, rgba(59,130,246,0.35), transparent 55%), linear-gradient(135deg, #0B1224, #120C2A); overflow: hidden; }
.casino .hero .art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.casino .fallback-logo { display: none; position: absolute; left: 6%; top: 11%; font: 800 clamp(26px, 6cqi, 54px)/1 var(--display); letter-spacing: -0.02em; text-transform: uppercase;
  background: linear-gradient(180deg, #fff, #9CC3FF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.casino.no-art .art { display: none; }
.casino.no-art .fallback-logo { display: block; }
.casino .copy { position: absolute; left: 6%; top: 36%; width: 48%; display: flex; flex-direction: column; gap: 14px; }
.casino .offer { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(20px, 3.6cqi, 36px); line-height: 1.12; letter-spacing: -0.01em; color: #fff;
  text-shadow: 0 2px 18px rgba(0,0,0,0.65); text-wrap: balance; }
.casino .code { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 12px; border: 1px dashed rgba(255,255,255,0.6); font-family: var(--display); font-weight: 800; font-size: 16px;
  letter-spacing: 0.08em; background: rgba(8,12,28,0.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); cursor: copy; color: #fff; }
.casino .code:hover { border-color: #fff; background: rgba(37,99,235,0.45); }
.casino .chip.glassy { background: rgba(8,12,28,0.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-color: rgba(255,255,255,0.18); }
.casino .bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; border-top: 1px solid var(--stroke); flex-wrap: wrap; }
.casino .details { margin: 0 18px 18px; }
.casino .details dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; }
.casino .details dd { margin: 0; }
.casino .sources summary { cursor: pointer; color: var(--muted); font-size: 13px; }
.casino .sources > div { font-size: 13px; margin-top: 6px; }
/* cartões estreitos (telemóvel): a oferta passa para baixo da imagem */
@container (max-width: 620px) {
  .casino .hero { aspect-ratio: auto; background: none; }
  .casino .hero .art { position: static; height: auto; aspect-ratio: 1584 / 672; }
  .casino.no-art .fallback-logo { display: block; position: static; padding: 22px 18px 0; }
  .casino .copy { position: static; width: auto; padding: 16px 18px 4px; }
  .casino .offer { font-size: 22px; text-shadow: none; }
  .casino .details dl { grid-template-columns: 1fr; gap: 2px; }
  .casino .details dd { margin-bottom: 8px; }
}
.methods { display: flex; flex-wrap: wrap; gap: 6px; }
.methods span { padding: 3px 8px; border-radius: 8px; border: 1px solid var(--stroke); font-size: 12px; color: var(--ink-2); }
.details { padding: 14px; border-radius: 14px; background: rgba(5,9,20,0.5); border: 1px solid var(--stroke); font-size: 14px; color: var(--ink-2); display: flex; flex-direction: column; gap: 8px; }
.details dt { font-weight: 600; color: var(--ink); }
.details dd { margin: 0 0 6px; }
.age { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--muted); font-weight: 700; font-size: 13px; flex: none; }

/* ---------- media ---------- */
.media-card { overflow: hidden; display: flex; flex-direction: column; color: var(--ink); }
.media-card:hover { color: var(--ink); }
.media-card .thumb { position: relative; aspect-ratio: 16 / 9; background: #0F1626; }
.media-card .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-card .thumb .d { position: absolute; right: 8px; bottom: 8px; padding: 2px 8px; border-radius: 8px; background: rgba(0,0,0,0.7); font-size: 12px; font-weight: 600; }
.media-card .meta { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; }
.media-card .meta b { font-size: 14px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- loja ---------- */
.reward { padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.reward .cost { font-family: var(--display); font-weight: 700; font-size: 22px; display: flex; align-items: center; gap: 8px; }
.reward .rimg { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; }
.reward .rimg img { width: 40px; height: 40px; }

/* ---------- estúdio ---------- */
.studio-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.studio-tabs a { min-height: 40px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 12px; color: var(--ink-2); border: 1px solid transparent; font-weight: 600; font-size: 14px; }
.studio-tabs a[aria-current="page"] { background: var(--glass-2); border-color: var(--stroke); color: #fff; }
.overlay-box { display: grid; grid-template-columns: 1fr 1.2fr; gap: 18px; }
.overlay-preview { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: repeating-conic-gradient(#1a2236 0% 25%, #121a2c 0% 50%) 50% / 24px 24px; border: 1px solid var(--stroke); }
.overlay-preview iframe { position: absolute; top: 0; left: 0; width: 1280px; height: 720px; border: 0; transform-origin: 0 0; }
.urlbox { font-family: ui-monospace, 'Cascadia Code', monospace; font-size: 13px; }
.bonus-row input { min-height: 38px; padding: 0 10px; font-size: 14px; }
.inline-form { display: grid; grid-template-columns: 2fr 1fr 1fr auto; gap: 10px; align-items: end; }

/* ---------- seletor de slots ---------- */
.picker { position: relative; }
/* o painel que contém o seletor fica acima dos painéis seguintes (o vidro cria novos contextos de empilhamento) */
.glass:has(.picker), form:has(.picker) { position: relative; z-index: 20; }
.picker-list { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 30; max-height: 320px; overflow-y: auto; padding: 6px; border-radius: 14px; background: rgba(10,15,30,0.97); border: 1px solid var(--stroke-hi); box-shadow: var(--shadow); }
.picker-list button { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 48px; padding: 6px 8px; border: 0; border-radius: 10px; background: transparent; color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.picker-list button:hover, .picker-list button[aria-selected="true"] { background: rgba(59,130,246,0.2); }
.picker-list .prov { font-size: 12px; color: var(--muted); }
/* slots banidas no torneio: a cinzento, não escolhíveis */
.picker-list button.is-banned { cursor: not-allowed; }
.picker-list button.is-banned > :not(.ban-tag) { opacity: 0.4; filter: grayscale(1); }
.picker-list button.is-banned:hover, .picker-list button.is-banned[aria-selected="true"] { background: rgba(239,68,68,0.08); }
.ban-tag { flex: none; font-size: 11px; font-weight: 600; color: #fca5a5; background: rgba(239,68,68,0.14); border: 1px solid rgba(239,68,68,0.35); border-radius: 999px; padding: 3px 8px; white-space: nowrap; }
.ban-list { display: flex; flex-wrap: wrap; gap: 6px; }
.ban-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 4px 6px 4px 10px; border-radius: 999px; background: rgba(239,68,68,0.12); border: 1px solid rgba(239,68,68,0.3); font-size: 13px; }
.ban-chip .faint { font-size: 11px; }
.ban-chip button { min-height: 0; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 999px; background: rgba(255,255,255,0.08); color: var(--ink); cursor: pointer; line-height: 1; }
.ban-chip button:hover { background: rgba(239,68,68,0.4); }
@media (max-width: 560px) { .picker-list button.is-banned { flex-wrap: wrap; } }
.picked { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; border: 1px solid rgba(127,176,255,0.4); background: rgba(59,130,246,0.12); }

/* ---------- popup da live ---------- */
.live-pop { position: fixed; right: 20px; bottom: 20px; z-index: 120; width: 420px; height: 280px; min-width: 260px; min-height: 180px; max-width: calc(100vw - 16px); max-height: calc(100vh - 16px); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; background: rgba(8,12,24,0.92); border: 1px solid var(--stroke-hi); box-shadow: 0 24px 60px rgba(0,0,0,0.6); }
.live-pop .bar { display: flex; align-items: center; gap: 10px; padding: 0 6px 0 12px; height: 40px; cursor: move; user-select: none; touch-action: none; font-size: 13px; font-weight: 600; flex: none; }
.live-pop .bar .t { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.live-pop .bar button { width: 36px; height: 36px; border: 0; border-radius: 10px; background: transparent; color: var(--ink-2); cursor: pointer; display: grid; place-items: center; }
.live-pop .bar button:hover { background: var(--glass-2); }
.live-pop iframe { flex: 1; width: 100%; border: 0; display: block; }
.live-pop .grip { position: absolute; right: 0; bottom: 0; width: 22px; height: 22px; cursor: nwse-resize; touch-action: none; background: linear-gradient(135deg, transparent 50%, rgba(255,255,255,0.35) 50% 58%, transparent 58% 70%, rgba(255,255,255,0.35) 70% 78%, transparent 78%); }
.live-pop.dragging iframe { pointer-events: none; }
.live-cta { position: fixed; right: 20px; bottom: 20px; z-index: 110; }

/* ---------- toasts ---------- */
.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 300; padding: 12px 18px; border-radius: 14px; background: rgba(12,18,34,0.96); border: 1px solid var(--stroke-hi); box-shadow: var(--shadow); font-weight: 600; font-size: 14px; transition: opacity .4s; max-width: calc(100vw - 32px); }
.toast.bad { border-color: rgba(248,113,113,0.6); color: #FECACA; }
.toast.out { opacity: 0; }

/* ---------- barra inferior (telemóvel e tablet) ---------- */
.tabbar { display: none; position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 70; border-radius: 22px; padding: 6px; justify-content: space-around; }
.tab { position: relative; flex: 1; min-width: 0; min-height: 58px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border-radius: 16px; border: 0; background: transparent; color: var(--muted); font: 600 12px var(--font); cursor: pointer; text-decoration: none; }
.tab[aria-current="page"] { color: #fff; background: linear-gradient(180deg, rgba(59,130,246,0.35), rgba(37,99,235,0.15)); box-shadow: inset 0 1px 0 rgba(255,255,255,0.22); }
.tab:hover { color: var(--ink); }
.sheet { position: fixed; inset: 0; z-index: 65; background: rgba(4,7,16,0.72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); overflow-y: auto; }
.sheet-inner { max-width: 560px; margin: 0 auto; padding: 22px 18px 120px; display: flex; flex-direction: column; gap: 8px; }
.sheet .nav-link { min-height: 54px; font-size: 16px; background: var(--glass); border-color: var(--stroke); }
.sheet .label { padding: 14px 6px 4px; font-size: 12px; font-weight: 600; color: var(--faint); }

@media (max-width: 1100px) {
  .portals { grid-template-columns: 1fr; }
  .hero { grid-template-columns: 1fr; }
  .hero-mark { display: none; }
  .overlay-box { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  body { padding-left: 0; padding-bottom: 100px; }
  .sidebar { display: none; }
  .tabbar { display: flex; }
  .mlogo { display: inline-flex; align-items: center; gap: 8px; color: #fff; }
  .mlogo .wordmark { font-size: 20px; }
  .crumbs { display: none; }
  .topbar { padding: 12px 16px; }
  main { padding: 12px 16px 40px; gap: 22px; }
  .live-pop { left: 8px; right: 8px; width: auto !important; bottom: 92px; height: 220px; }
  .live-cta { bottom: 96px; }
  .inline-form { grid-template-columns: 1fr 1fr; }
  .inline-form .picker { grid-column: 1 / -1; }
  .auth-hint, .dev-login, .lbl-long { display: none !important; }
  .topbar { flex-wrap: nowrap; }
}
.lbl-short { display: none; }
@media (max-width: 900px) { .lbl-short { display: inline; } }
@media (max-width: 520px) {
  .kv { grid-template-columns: 1fr 1fr; }
  .grid.stats { grid-template-columns: 1fr 1fr; }
  .stat .v { font-size: 20px; }
  .timeline li a { grid-template-columns: 40px 1fr; }
  .timeline time { grid-column: 2; text-align: left; }
  .btn { padding: 0 14px; }
}

/* ---------- confrontos com bónus (Estúdio) ---------- */
.formats { display: flex; flex-direction: column; gap: 8px; }
.format-opt { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--stroke); cursor: pointer; }
.format-opt:has(input:checked) { border-color: var(--accent-2, #3B82F6); background: rgba(59,130,246,0.12); }
.format-opt input { width: auto; min-height: 0; }
.round-box { margin-bottom: 14px; }
.round-box > summary { cursor: pointer; padding: 10px 4px; list-style-position: inside; }
.match-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 560px), 1fr)); gap: 14px; }
.match-card { padding: 14px; }
.mc-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
table.mc th, table.mc td { padding: 6px 6px; }
table.mc input { width: 100%; min-width: 64px; min-height: 34px; padding: 4px 8px; text-align: right; }
table.mc input.warn { border-color: rgba(251,191,36,0.8); background: rgba(251,191,36,0.08); }
table.mc tr.g-a td[data-mult="a"], table.mc tr.g-b td[data-mult="b"] { color: var(--ok-ink); font-weight: 700; }
table.mc tr.g-a td[data-mult="a"]::after, table.mc tr.g-b td[data-mult="b"]::after { content: " ✓"; }
table.mc tr.g-tie td[data-mult] { color: #FDE68A; }
table.mc tr.g-off { opacity: .45; }
.linkish { background: none; border: 0; padding: 0; min-height: 0; width: auto; color: var(--accent-ink); cursor: pointer; font: inherit; text-decoration: underline; }
.side .score { margin-left: auto; font-family: var(--display); font-weight: 800; font-size: 13px; padding: 1px 7px; border-radius: 7px; background: rgba(255,255,255,0.08); }
.side.win .score { background: rgba(52,211,153,0.25); }

/* ---------- janela de confirmação ---------- */
dialog.ask { max-width: min(460px, calc(100vw - 32px)); padding: 20px; border: 1px solid var(--stroke); border-radius: 18px; color: var(--ink); background: rgba(12,18,36,0.96); }
dialog.ask::backdrop { background: rgba(2,6,16,0.6); backdrop-filter: blur(3px); }
dialog.ask .ask-msg { margin: 0; line-height: 1.5; white-space: pre-line; }

/* ---------- cartão A vs B (Estúdio) ---------- */
.match-cards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 640px), 1fr)); }
.vs { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: start; }
.vs-side { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 14px 10px; border-radius: 16px; border: 1px solid transparent; transition: border-color .2s, box-shadow .2s, background .2s; }
.vs-side .slot-thumb { width: 72px; height: 72px; border-radius: 14px; }
.vs-side.lead { border-color: rgba(59,130,246,0.7); background: rgba(59,130,246,0.08); box-shadow: 0 0 24px rgba(59,130,246,0.25); }
.vs-side.won { border-color: rgba(52,211,153,0.75); background: rgba(52,211,153,0.08); box-shadow: 0 0 24px rgba(52,211,153,0.25); }
.vs-side.next:not(.lead) { border-style: dashed; border-color: rgba(251,191,36,0.6); }
.vs-slot { font-size: 15px; line-height: 1.25; }
.vs-buy { display: flex; align-items: center; gap: 6px; font-weight: 700; margin-top: 4px; }
.vs-buy input { width: 92px; min-height: 34px; padding: 4px 8px; text-align: right; font-weight: 700; }
.vs-buy input.warn { border-color: rgba(251,191,36,0.85); background: rgba(251,191,36,0.1); }
.vs-pays { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; width: 100%; }
.vs-pays li { display: grid; grid-template-columns: 1fr 64px; gap: 8px; align-items: center; padding: 4px 8px; border-radius: 10px; background: rgba(255,255,255,0.04); }
.vs-pays input { min-height: 34px; padding: 4px 8px; text-align: right; }
.vs-pays .m { color: var(--accent-ink); font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.vs-mid { display: flex; flex-direction: column; align-items: center; gap: 6px; padding-top: 26px; min-width: 70px; }
.vs-score { font-family: var(--display); font-weight: 800; font-size: 26px; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.vs-score.lead { color: #7FB0FF; text-shadow: 0 0 18px rgba(59,130,246,0.55); }
.vs-label { font-family: var(--display); font-weight: 800; font-size: 22px; color: #3B82F6; letter-spacing: .04em; }
.vs-hint { margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(5,9,20,0.5); border: 1px solid var(--stroke); font-size: 14px; min-height: 20px; }
.vs-hint:empty { display: none; }
.vs-hint .need { color: #FDE68A; }
@media (max-width: 560px) {
  .vs { grid-template-columns: 1fr; }
  .vs-mid { flex-direction: row; padding-top: 0; justify-content: center; }
}

/* ---------- quadro simétrico com a final ao meio ---------- */
.bk { display: grid; grid-template-columns: repeat(var(--side), minmax(165px, 1fr)) minmax(270px, 1.25fr) repeat(var(--side), minmax(165px, 1fr)); gap: 18px; align-items: stretch; padding: 4px 2px 10px; }
.bk > * { min-width: 0; }
.bk-col { display: flex; flex-direction: column; }
.bk-col h3 { margin: 0 0 10px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); text-align: center; }
.bk-col .ms { flex: 1; display: flex; flex-direction: column; justify-content: space-around; gap: 14px; }
.bk-m { position: relative; display: flex; flex-direction: column; gap: 6px; }
.bk-col.l .bk-m::after, .bk-col.r .bk-m::after { content: ""; position: absolute; top: 50%; width: 18px; border-top: 1px solid var(--stroke); }
.bk-col.l .bk-m::after { right: -18px; }
.bk-col.r .bk-m::after { left: -18px; }
.bk-m.current .bk-side { border-color: rgba(251,191,36,0.55); }
.bk-side { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 12px; border: 1px solid var(--stroke); background: rgba(5,9,20,0.72); min-width: 0; }
.bk-side .nm { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.bk-side .nm b { font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bk-side .nm span { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bk-side .sc { font-family: var(--display); font-weight: 700; font-size: 14px; color: #7FB0FF; font-variant-numeric: tabular-nums; }
.bk-side.win { border-color: #3B82F6; box-shadow: 0 0 0 1px rgba(59,130,246,0.35), 0 0 18px rgba(59,130,246,0.22); }
.bk-side.lead { border-color: rgba(59,130,246,0.55); }
.bk-side.lose { opacity: .55; }
.bk-side.vazio { opacity: .6; }
.bk-final { align-self: center; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 20px 16px; border-radius: 22px; border: 1px solid rgba(251,191,36,0.45);
  background: radial-gradient(120% 100% at 50% 0%, rgba(251,191,36,0.14), transparent 60%), rgba(8,12,26,0.85); box-shadow: 0 0 40px rgba(251,191,36,0.12); }
.bk-final .trophy { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: rgba(251,191,36,0.18); color: #FBBF24; }
.bk-final .lbl { font-family: var(--display); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: 13px; color: #FDE68A; }
.bk-final .duo { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; }
.bk-side.big { flex-direction: column; text-align: center; padding: 12px 8px; gap: 8px; }
.bk-side.big .slot-thumb { width: 84px; height: 84px; border-radius: 14px; }
.bk-side.big .nm { align-items: center; width: 100%; }
.bk-side.big .sc { font-size: 20px; }
.bk-side.big.win { border-color: rgba(251,191,36,0.8); box-shadow: 0 0 22px rgba(251,191,36,0.3); background: rgba(251,191,36,0.08); }
.bk-side.big.win .sc { color: #FBBF24; }
.bk-final .champ { font-weight: 700; color: #FBBF24; }

/* ---------- copiar o nome da slot (Estúdio) ---------- */
[data-copy] { cursor: copy; }
.vs-copy { display: flex; flex-direction: column; align-items: center; gap: 6px; background: none; border: 1px solid transparent; border-radius: 14px; padding: 6px 10px; color: inherit; font: inherit; width: auto; min-height: 0; }
.vs-copy:hover, .vs-copy:focus-visible { border-color: rgba(127,176,255,0.45); background: rgba(59,130,246,0.08); }
.vs-copy .copy-hint { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; color: var(--muted); opacity: .75; }
.vs-copy:hover .copy-hint { color: var(--accent-ink); opacity: 1; }
.copyable:hover { outline: 1px dashed rgba(127,176,255,0.55); outline-offset: 2px; border-radius: 10px; }
.slot-cell.copyable svg { opacity: .5; vertical-align: -2px; }
[data-copy].copied, .copied .copy-hint { outline: 1px solid rgba(52,211,153,0.8) !important; border-radius: 10px; }

/* ---------- quadro do Estúdio: confrontos agrupados e clicáveis ---------- */
.bk-m.pickable { padding: 6px; border-radius: 16px; border: 1px solid var(--stroke); background: rgba(255,255,255,0.025); cursor: pointer; transition: border-color .15s, background .15s, box-shadow .15s; }
.bk-m.pickable:hover { border-color: rgba(127,176,255,0.55); background: rgba(59,130,246,0.07); }
.bk-m.pickable:focus-visible, .bk-final.pickable:focus-visible { outline: 2px solid #7FB0FF; outline-offset: 2px; }
.bk-m.selected { border-color: #3B82F6; background: rgba(59,130,246,0.12); box-shadow: 0 0 0 1px rgba(59,130,246,0.5), 0 0 22px rgba(59,130,246,0.25); }
.bk-col.l .bk-m.pickable::after { right: -19px; }
.bk-col.r .bk-m.pickable::after { left: -19px; }
.bk-final.pickable { cursor: pointer; }
.bk-final.pickable:hover { box-shadow: 0 0 40px rgba(251,191,36,0.22); }
.bk-final.selected { border-color: #FBBF24; box-shadow: 0 0 0 1px rgba(251,191,36,0.6), 0 0 40px rgba(251,191,36,0.25); }
.match-cards.single { grid-template-columns: minmax(0, 860px); justify-content: center; }

.chip.sub { color: #E9D5FF; border-color: rgba(145,70,255,0.55); background: rgba(145,70,255,0.16); }

/* ---------- casinos parceiros: grelha de cartões ---------- */
.cz-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.cz-chip { min-height: 0; width: auto; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--stroke); background: rgba(255,255,255,0.05); color: var(--ink-2); font-weight: 600; cursor: pointer; }
.cz-chip[aria-pressed="true"] { background: linear-gradient(135deg, #FDE68A, #F59E0B); color: #1A1203; border-color: transparent; }
.cz-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 18px; }
.cz { display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; border: 1px solid var(--stroke); background: linear-gradient(180deg, rgba(14,20,40,0.92), rgba(8,12,26,0.96)); container-type: inline-size; }
.cz[hidden] { display: none !important; }
.cz-art { position: relative; aspect-ratio: 1584 / 672; background: radial-gradient(120% 140% at 85% 60%, rgba(59,130,246,0.35), transparent 55%), linear-gradient(135deg, #0B1224, #120C2A); overflow: hidden; }
.cz-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cz-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,8,20,0.55), transparent 55%); pointer-events: none; }
.cz-name { display: none; position: absolute; left: 6%; top: 10%; z-index: 1; font: 800 22px/1 var(--display); text-transform: uppercase; color: #fff; }
.cz.no-art .cz-art img { display: none; }
.cz.no-art .cz-name { display: block; }
.cz-tags { position: absolute; top: 10px; right: 10px; z-index: 2; display: flex; gap: 6px; }
.cz-tags span { font-size: 10.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 3px 8px; border-radius: 7px; background: rgba(8,12,28,0.75); color: #86EFAC; border: 1px solid rgba(134,239,172,0.35); }
.cz-tags span:first-child { color: #FCA5A5; border-color: rgba(252,165,165,0.35); }
.cz-head { position: absolute; left: 6%; bottom: 9%; width: 56%; z-index: 2; display: flex; flex-direction: column; gap: 2px; }
.cz-big { font: 900 clamp(26px, 11cqi, 46px)/1 var(--display); color: #FBBF24; letter-spacing: -0.01em; text-shadow: 0 2px 14px rgba(0,0,0,0.6); }
.cz-sub { font-weight: 800; font-size: clamp(11px, 3.6cqi, 14px); text-transform: uppercase; color: #fff; line-height: 1.2; text-shadow: 0 2px 10px rgba(0,0,0,0.7); }
.cz-body { display: flex; flex-direction: column; gap: 12px; padding: 14px 16px 14px; flex: 1; }
.cz-facts, .cz-checks { display: flex; flex-wrap: wrap; gap: 6px; }
.cz-facts span { font-size: 12.5px; color: var(--muted); padding: 4px 9px; border-radius: 8px; background: rgba(255,255,255,0.05); }
.cz-facts b { color: var(--ink); font-weight: 700; }
.cz-checks span { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 700; padding: 4px 9px; border-radius: 8px; background: rgba(255,255,255,0.05); color: var(--ink-2); }
.cz-checks .ok { color: #86EFAC; background: rgba(52,211,153,0.12); }
.cz-checks .warn { color: #FDE68A; background: rgba(251,191,36,0.12); }
.cz-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: stretch; }
.cz-claim { background: linear-gradient(135deg, #FDE68A, #F59E0B) !important; color: #1A1203 !important; font-weight: 800; border: 0; }
.cz-claim:hover { filter: brightness(1.06); }
.cz-code { display: inline-flex; align-items: center; gap: 10px; width: auto; min-height: 0; padding: 4px 12px; border-radius: 12px; border: 1px dashed rgba(255,255,255,0.35); background: rgba(255,255,255,0.04); color: var(--ink); cursor: copy; }
.cz-code span { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.1; }
.cz-code small { font-size: 9.5px; letter-spacing: .08em; color: var(--muted); }
.cz-code b { font-family: var(--display); letter-spacing: .04em; }
.cz-more { margin-left: auto; }
.cz-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--stroke); font-size: 12px; }
.cz-pay { display: flex; flex-wrap: wrap; gap: 5px; }
.cz-pay span { display: inline-grid; place-items: center; min-width: 28px; height: 28px; padding: 0 6px; border-radius: 50%; background: rgba(255,255,255,0.08); border: 1px solid var(--stroke); font-size: 10.5px; font-weight: 800; color: var(--ink); }
.cz-dialog { max-width: min(560px, calc(100vw - 32px)); }
.cz-dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0; font-size: 14px; }
.cz-dl dt { color: var(--muted); }
.cz-dl dd { margin: 0; }
@container (max-width: 330px) {
  .cz-head { width: 70%; }
}
.cz-actions { flex-wrap: nowrap; }
.cz-actions .btn { padding: 8px 14px; min-height: 40px; white-space: nowrap; }
.cz-claim { flex: 1; justify-content: center; }
.cz-code { flex: none; }
.cz-more { margin-left: 0; flex: none; }
.cz-pay { flex: 1; min-width: 0; }
.cz-foot > .faint { white-space: nowrap; }
@container (max-width: 352px) { .cz-actions { flex-wrap: wrap; } .cz-claim { flex-basis: 100%; } .cz-code, .cz-more { flex: 1; justify-content: center; } }
.cz-actions .btn { padding: 8px 12px; }
.cz-code { padding: 4px 10px; gap: 8px; }

tr.is-hidden td { opacity: .55; }

/* ---------- página Stream: player + chat ---------- */
.stream-box { display: flex; flex-direction: column; gap: 16px; padding: 22px; border-radius: 24px; }
.stream-box h1 { margin: 0; font-size: clamp(24px, 3vw, 32px); text-transform: uppercase; letter-spacing: .02em; }
.stream-box .muted { margin: 4px 0 0; }
.stream-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 16px; }
.stream-player { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000; border: 1px solid var(--stroke); }
.stream-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.stream-chat { display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; border: 1px solid var(--stroke); background: #18181B; min-height: 360px; }
.stream-chat .chat-head { display: flex; align-items: center; gap: 8px; padding: 10px 14px; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; border-bottom: 1px solid rgba(255,255,255,0.08); }
.stream-chat iframe { flex: 1; width: 100%; border: 0; }
.stream-box > .btn { align-self: flex-start; }
@media (max-width: 1100px) {
  .stream-grid { grid-template-columns: 1fr; }
  .stream-chat { height: 460px; }
}

/* cartões estreitos: só a primeira etiqueta, para não tapar o logo */
@container (max-width: 420px) { .cz-tags span:nth-child(n+2) { display: none; } }

/* ---------- Comunidade ---------- */
.cm-hero { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 28px 30px; border-radius: 26px;
  background: radial-gradient(80% 140% at 90% 50%, rgba(145,70,255,0.45), transparent 60%), linear-gradient(135deg, #2A1258, #3B1C7A 55%, #24124F); border: 1px solid rgba(255,255,255,0.08); }
.cm-hero h1 { margin: 0; font: 900 clamp(28px, 4.6vw, 52px)/1.05 var(--display); letter-spacing: -0.02em; }
.cm-hero h1 span { color: #FBBF24; }
.cm-hero p { margin: 8px 0 0; color: rgba(255,255,255,0.8); }
.cm-tiles { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.cm-tile { display: flex; flex-direction: column; gap: 2px; padding: 12px 18px; border-radius: 16px; background: rgba(8,6,24,0.45); border: 1px solid rgba(255,255,255,0.1); }
.cm-tile > b { font: 900 26px/1 var(--display); }
.cm-tile > span { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,0.7); }
.cm-first { flex-direction: row; align-items: center; gap: 10px; }
.cm-first > span { display: flex; flex-direction: column; text-transform: none; letter-spacing: 0; font-size: 14px; color: #fff; }
.cm-first small { font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,0.7); }
.cm-first em { font-style: normal; font-weight: 900; color: #FBBF24; }
.cm-hero-av { width: 150px; height: 150px; border-radius: 50%; border: 4px solid rgba(251,191,36,0.8); box-shadow: 0 0 40px rgba(145,70,255,0.6); flex: none; }
.av { border-radius: 50%; object-fit: cover; flex: none; display: inline-block; }
.av.ph { display: inline-grid; place-items: center; color: #10101A; font-weight: 900; }
.cm-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.cm-side { display: flex; flex-direction: column; gap: 18px; }
.cm-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.cm-head h2 { margin: 2px 0 0; font: 900 clamp(26px, 3vw, 40px)/1.05 var(--display); }
.cm-head p { margin: 4px 0 0; font-weight: 700; color: rgba(255,255,255,0.85); }
.kicker { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,0.8); }
.cm-btn { background: rgba(255,255,255,0.16) !important; border: 1px solid rgba(255,255,255,0.3) !important; color: #fff !important; white-space: nowrap; }
.cm-controls { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 4px; }
.cm-controls .seg { background: rgba(0,0,0,0.22); }
/* corrida (pódio) */
.cm-race { position: relative; overflow: hidden; padding: 22px; border-radius: 26px; border: 1px solid rgba(255,255,255,0.1);
  background: repeating-conic-gradient(from 0deg at 50% 30%, rgba(255,255,255,0.07) 0 6deg, transparent 6deg 18deg), radial-gradient(70% 60% at 50% 25%, rgba(255,236,170,0.55), transparent 70%), linear-gradient(180deg, #F4A51C, #D9741A 45%, #7A2E12); }
.podium { display: grid; grid-template-columns: 1fr 1.1fr 1fr; align-items: end; gap: 12px; margin: 18px auto 0; max-width: 520px; }
.pod { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; min-width: 0; }
.pod .crown { font-size: 30px; line-height: 1; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.35)); }
.pod .ring { padding: 4px; border-radius: 50%; background: linear-gradient(135deg, #fff, #E5E7EB); box-shadow: 0 6px 24px rgba(0,0,0,0.35); }
.pod.p1 .ring { background: linear-gradient(135deg, #FFF7D6, #FBBF24); box-shadow: 0 0 30px rgba(255,236,170,0.8); }
.pod.p3 .ring { background: linear-gradient(135deg, #FFD7B5, #E8915A); }
.pod .nm { font-size: 15px; color: #fff; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-shadow: 0 1px 6px rgba(0,0,0,0.4); }
.pod .val { padding: 3px 12px; border-radius: 999px; background: rgba(40,14,4,0.7); color: #FBBF24; font-weight: 900; font-variant-numeric: tabular-nums; }
.pod .step { width: 100%; margin-top: 6px; display: grid; place-items: center; font: 900 28px/1 var(--display); color: rgba(0,0,0,0.45); border-radius: 16px 16px 0 0; }
.pod.p1 .step { height: 92px; background: linear-gradient(180deg, #FFE38A, #E8A80C); }
.pod.p2 .step { height: 64px; background: linear-gradient(180deg, #EEF2F7, #A9B4C2); }
.pod.p3 .step { height: 48px; background: linear-gradient(180deg, #F7C9A2, #C97A47); }
.cm-list { list-style: none; margin: 0; padding: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 18px; border-radius: 18px; background: rgba(40,12,4,0.55); border: 1px solid rgba(255,255,255,0.08); }
.cm-list li { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 4px 0; }
.cm-list .rk { width: 20px; text-align: right; font-weight: 800; color: rgba(255,255,255,0.6); }
.cm-list .nm { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cm-list .val { font-weight: 900; color: #FBBF24; font-variant-numeric: tabular-nums; }
/* membros */
.cm-members { padding: 22px; border-radius: 26px; border: 1px solid rgba(255,255,255,0.1); background: radial-gradient(90% 90% at 0% 0%, rgba(232,121,249,0.35), transparent 60%), linear-gradient(135deg, #7E22CE, #9333EA 50%, #6B21A8); }
.cm-members h2 b { color: #FBBF24; }
.cm-faces { display: grid; grid-template-columns: repeat(auto-fill, minmax(56px, 1fr)); gap: 10px; margin-top: 10px; }
.cm-faces .face { display: grid; place-items: center; }
.cm-faces .face .av { border: 3px solid #E2B26B; box-shadow: 0 4px 12px rgba(0,0,0,0.25); transition: transform .15s; }
.cm-faces .face:hover .av { transform: scale(1.08); }
/* redes sociais */
.cm-socials { display: flex; flex-direction: column; gap: 10px; }
.cm-social-head { padding: 12px 18px; border-radius: 16px; background: #F1F2F8; color: #1F2340; }
.cm-social-head b { text-transform: uppercase; letter-spacing: .04em; }
.cm-social-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cm-social-grid .soc { min-width: 0; }
@media (max-width: 420px) { .cm-social-grid .soc { padding: 12px; gap: 8px; } }
.cm-social-grid .soc:last-child:nth-child(odd) { grid-column: 1 / -1; }
.soc { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-radius: 16px; color: #fff !important; text-decoration: none; font-weight: 700; border: 1px solid rgba(255,255,255,0.12); transition: transform .15s, filter .15s; }
.soc:hover { transform: translateY(-2px); filter: brightness(1.08); }
.soc b { flex: 1; }
.soc span { font-weight: 900; }
.soc-discord { background: linear-gradient(90deg, #5865F2, #4752C4); }
.soc-tiktok { background: linear-gradient(90deg, #111, #1d3b3b 55%, #7a1c2b); }
.soc-twitch { background: linear-gradient(90deg, #9146FF, #6A2FD1); }
.soc-telegram { background: linear-gradient(90deg, #2AABEE, #1C8AD0); }
.soc-instagram { background: linear-gradient(90deg, #F58529, #DD2A7B 55%, #8134AF); }
.soc-youtube { background: linear-gradient(90deg, #FF0000, #B30000); }
.soc-x { background: linear-gradient(90deg, #111, #2b2b2b); }
.soc-kick { background: linear-gradient(90deg, #53FC18, #2CB80B); color: #0B1A04 !important; }
/* ranking completo */
.cm-rows { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.cm-rows li { display: grid; grid-template-columns: 44px auto 1fr 90px 100px; align-items: center; gap: 12px; padding: 10px 16px; border-radius: 16px; background: rgba(255,255,255,0.04); border: 1px solid var(--stroke); }
.cm-rows li.t1 { border-color: rgba(251,191,36,0.6); background: rgba(251,191,36,0.08); }
.cm-rows li.t2 { border-color: rgba(203,213,225,0.5); }
.cm-rows li.t3 { border-color: rgba(232,145,90,0.5); }
.cm-rows .rk { font: 900 18px/1 var(--display); color: var(--muted); text-align: center; }
.cm-rows .who { display: flex; align-items: center; gap: 8px; min-width: 0; }
.cm-rows .who b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cm-rows .stat { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.1; }
.cm-rows .stat small { font-size: 10.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.cm-rows .stat b { font-variant-numeric: tabular-nums; }
@media (max-width: 1100px) { .cm-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  .cm-hero { padding: 22px 18px; }
  .cm-hero-av { display: none; }
  .cm-list { grid-template-columns: 1fr; }
  .cm-rows li { grid-template-columns: 30px auto 1fr 70px; }
  .cm-rows .stat:last-child { display: none; }
  .podium { gap: 6px; }
  .pod .nm { font-size: 13px; }
}

.cm-list { grid-auto-flow: column; grid-template-rows: repeat(4, auto); }
/* ===== página Slots ===== */
.sl-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.sl-kpi { padding: 16px 18px; border-radius: 18px; background: var(--glass); border: 1px solid var(--stroke); display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sl-kpi small { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; }
.sl-kpi b { font: 800 clamp(20px, 2.3vw, 30px)/1.1 var(--display); font-variant-numeric: tabular-nums; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sl-kpi span { font-size: 12px; color: var(--faint); }
.sl-kpi.pos { border-color: rgba(52,211,153,0.35); background: linear-gradient(160deg, rgba(52,211,153,0.12), var(--glass)); }
.sl-kpi.neg { border-color: rgba(248,113,113,0.35); background: linear-gradient(160deg, rgba(248,113,113,0.12), var(--glass)); }
.sl-kpi.pos b, .sl-kpi.neg b { color: inherit; }
.sl-recs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.sl-rec { position: relative; overflow: hidden; min-height: 150px; padding: 16px; border-radius: 20px; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; border: 1px solid var(--stroke); background: #101830; isolation: isolate; }
.sl-rec-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: saturate(1.1); transition: transform .4s ease; }
.sl-rec:hover .sl-rec-bg { transform: scale(1.05); }
.sl-rec::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(5,8,20,0.95) 10%, rgba(5,8,20,0.45) 60%, rgba(5,8,20,0.2)); }
.sl-rec.gold { border-color: rgba(251,191,36,0.55); }
.sl-rec.gold .sl-rec-v { color: #FCD34D; }
.sl-rec.violet { border-color: rgba(167,139,250,0.55); }
.sl-rec.violet .sl-rec-v { color: #C4B5FD; }
.sl-rec.cold .sl-rec-v { color: #93C5FD; }
.sl-rec-k { font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.85); }
.sl-rec-v { font: 800 clamp(22px, 2.3vw, 30px)/1.1 var(--display); font-variant-numeric: tabular-nums; white-space: nowrap; }
.sl-rec-s { font-size: 12.5px; color: rgba(255,255,255,0.75); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sl-tops { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 310px), 1fr)); gap: 12px; }
.sl-top { padding: 16px; border-radius: 20px; }
.sl-top h3 { margin: 0 0 10px; font: 700 16px var(--display); }
.sl-top ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.sl-top li { display: grid; grid-template-columns: 18px 34px minmax(0, 1fr) auto; align-items: center; gap: 10px; }
.sl-top .rk { font: 800 14px var(--display); color: var(--faint); text-align: center; }
.sl-top li:first-child .rk { color: #FCD34D; }
.sl-top .slot-thumb { width: 34px; height: 34px; border-radius: 9px; object-fit: cover; }
.sl-top .nm, .sl-top .val { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.sl-top .nm b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.sl-top .nm small, .sl-top .val small { font-size: 11.5px; color: var(--muted); }
.sl-top .val { align-items: flex-end; font-variant-numeric: tabular-nums; }
.sl-tools { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 14px 0; }
.sl-find { flex: 1 1 240px; }
.sl-sort { overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.sl-sort::-webkit-scrollbar { display: none; }
.sl-sort button { white-space: nowrap; }
.sl-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 10px; position: relative; }
.sl-grid.has-more::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; pointer-events: none; background: linear-gradient(to bottom, transparent, var(--bg)); opacity: .85; }
.sl-card { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; padding: 10px; border-radius: 18px; align-items: center; }
.sl-img { width: 76px; height: 76px; border-radius: 14px; overflow: hidden; background: rgba(255,255,255,0.06); display: grid; place-items: center; }
.sl-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sl-ph { font: 800 20px var(--display); color: var(--muted); }
.sl-body { display: flex; flex-direction: column; min-width: 0; }
.sl-body > b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sl-body > small { color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sl-mets { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 6px; margin-top: 8px; }
.sl-mets span { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.sl-mets small { font-size: 10px; color: var(--faint); text-transform: uppercase; letter-spacing: .05em; }
.sl-mets b { font-size: 13px; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 900px) {
  .sl-kpis, .sl-recs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .sl-kpi b, .sl-rec-v { font-size: 21px; }
  .sl-rec { min-height: 120px; padding: 12px; }
}
/* Estúdio → Parcerias: nome do casino abre o link de afiliado */
.partner-go { display: inline-flex; align-items: center; gap: 5px; color: var(--ink); }
.partner-go:hover { color: var(--accent-ink); }
.partner-go:hover b { text-decoration: underline; }
/* arquivo de torneios: lista com scroll infinito (a própria página desce, sem barra extra) */
.arch-filter { display: flex; gap: 10px; flex-wrap: wrap; margin: 14px 0; }
.arch-filter .search { flex: 1 1 260px; }
.arch-filter select { flex: 0 1 200px; }
.arch-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; position: relative; }
.arch-list.has-more::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; pointer-events: none; background: linear-gradient(to bottom, transparent, var(--bg)); opacity: .85; }
.arch-row { display: grid; grid-template-columns: 52px minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1.2fr) auto; align-items: center; gap: 14px; padding: 10px 16px; border-radius: 16px; color: inherit; text-decoration: none; transition: transform .15s ease, border-color .15s ease, background .15s ease; }
.arch-row:hover { transform: translateY(-1px); border-color: rgba(255,255,255,0.22); background: rgba(255,255,255,0.06); }
.arch-row .slot-thumb { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; display: grid; place-items: center; }
.arch-main, .arch-kv { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.arch-main b, .arch-kv b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.arch-main small { color: var(--muted); font-size: 12px; }
.arch-kv small { font-size: 10.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.arch-st { display: flex; gap: 6px; justify-content: flex-end; }
.arch-st:empty { display: none; }
.arch-more { display: flex; align-items: center; gap: 10px; margin: 14px auto 0; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--stroke); background: rgba(255,255,255,0.05); color: var(--muted); font: inherit; font-size: 13px; cursor: pointer; }
.arch-more:hover { color: #fff; border-color: var(--stroke-hi); }
.arch-more[hidden] { display: none; }
.arch-more-i { display: inline-grid; transform: rotate(90deg); animation: arch-bob 1.4s ease-in-out infinite; }
.arch-more.is-loading .arch-more-i { animation: arch-spin .8s linear infinite; }
@keyframes arch-bob { 0%, 100% { translate: 0 -2px; } 50% { translate: 0 3px; } }
@keyframes arch-spin { to { transform: rotate(450deg); } }
@media (prefers-reduced-motion: reduce) { .arch-more-i { animation: none !important; } }
@media (max-width: 720px) {
  .arch-row { grid-template-columns: 44px minmax(0, 1fr) auto; column-gap: 10px; row-gap: 2px; padding: 10px 12px; }
  .arch-row .slot-thumb { width: 44px; height: 44px; }
  .arch-row > .arch-slot { grid-column: 1; grid-row: 1 / span 3; align-self: start; }
  .arch-row > .arch-main { grid-column: 2; grid-row: 1; }
  .arch-row > .arch-kv { grid-column: 2 / span 2; flex-direction: row; gap: 6px; align-items: baseline; font-size: 13px; }
  .arch-row > .arch-kv:nth-child(3) { grid-row: 2; }
  .arch-row > .arch-kv:nth-child(4) { grid-row: 3; }
  .arch-st { grid-column: 3; grid-row: 1; }
}
/* ranking dos torneios (mesmo estilo do Hall of Fame) */
.rk-race .podium { max-width: 600px; }
.rk-race .cm-list { max-width: 900px; margin: 0 auto; }
.rk-rows li { grid-template-columns: 44px auto minmax(0, 1fr) repeat(4, 84px); }
@media (max-width: 640px) {
  .rk-rows li { grid-template-columns: 28px auto minmax(0, 1fr) 56px 48px; gap: 8px; padding: 10px 12px; }
  .rk-rows .stat:nth-last-child(-n+2) { display: none; }
}
@media (max-width: 640px) { .cm-list { grid-auto-flow: row; grid-template-rows: none; } }

/* ---------- pontos e menu do utilizador ---------- */
.pts-pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px 5px 6px; border-radius: 999px; border: 1px solid rgba(251,191,36,0.4); background: linear-gradient(135deg, rgba(251,191,36,0.18), rgba(251,191,36,0.06)); }
.pts-pill b { font-family: var(--display); font-size: 15px; }
.pts-pill small { font-size: 10.5px; font-weight: 800; letter-spacing: .06em; color: #FDE68A; }
.pts-coin { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(135deg, #FDE68A, #F59E0B); color: #4A2A00; }
.user-menu { position: relative; }
.user-btn { display: inline-flex; align-items: center; gap: 8px; width: auto; min-height: 0; padding: 4px 10px 4px 4px; border-radius: 999px; border: 1px solid var(--stroke); background: rgba(255,255,255,0.05); color: var(--ink); cursor: pointer; }
.user-btn .nm { font-weight: 700; max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-btn svg { transform: rotate(90deg); opacity: .7; }
.user-pop { position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; min-width: 230px; padding: 8px; border-radius: 16px; border: 1px solid var(--stroke); background: rgba(12,18,34,0.98); box-shadow: 0 18px 40px rgba(0,0,0,0.5); display: flex; flex-direction: column; gap: 2px; }
.up-head { display: flex; align-items: center; gap: 10px; padding: 8px 8px 12px; border-bottom: 1px solid var(--stroke); margin-bottom: 4px; }
.up-head > span { display: flex; flex-direction: column; gap: 2px; }
.up-head .small { display: inline-flex; align-items: center; gap: 4px; color: #FDE68A; }
.user-pop a, .user-pop button { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 0; padding: 10px 10px; border-radius: 10px; border: 0; background: none; color: var(--ink); font: inherit; font-weight: 600; text-align: left; cursor: pointer; }
.user-pop a:hover, .user-pop button:hover { background: rgba(255,255,255,0.06); }
.user-pop .logout { color: #F87171; border-top: 1px solid var(--stroke); border-radius: 0 0 10px 10px; margin-top: 4px; }
@media (max-width: 520px) { .user-btn .nm, .pts-pill small { display: none; } }

/* ---------- perfil ---------- */
.pf-head { display: flex; align-items: center; gap: 20px; padding: 22px 26px; border-radius: 24px; flex-wrap: wrap; }
.pf-av { width: 116px; height: 116px; border-radius: 50%; border: 4px solid rgba(145,70,255,0.7); box-shadow: 0 0 30px rgba(145,70,255,0.35); object-fit: cover; background: #111; }
.pf-id { display: flex; flex-direction: column; gap: 8px; flex: 1; min-width: 200px; }
.pf-id h1 { margin: 0; font: 900 clamp(26px, 3.4vw, 38px)/1.05 var(--display); }
.pf-rank { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; margin-left: auto; }
.pf-rank small { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pf-rank b { font: 900 clamp(30px, 4.6vw, 54px)/1 var(--display); }
.chip.streak { color: #FED7AA; background: rgba(234,88,12,0.25); border-color: rgba(251,146,60,0.55); }
.pf-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.pf-stat { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; border-radius: 18px; border: 1px solid; min-width: 0; }
.pf-stat span { display: flex; justify-content: space-between; align-items: center; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,0.85); }
.pf-stat b { font: 900 clamp(22px, 2.4vw, 32px)/1.05 var(--display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-stat.c1 { background: linear-gradient(135deg, rgba(168,85,247,0.22), rgba(88,28,135,0.25)); border-color: rgba(192,132,252,0.45); }
.pf-stat.c1 span svg { color: #D8B4FE; }
.pf-stat.c2 { background: linear-gradient(135deg, rgba(59,130,246,0.2), rgba(30,58,138,0.25)); border-color: rgba(96,165,250,0.45); }
.pf-stat.c2 span svg { color: #93C5FD; }
.pf-stat.c3 { background: linear-gradient(135deg, rgba(99,102,241,0.2), rgba(49,46,129,0.25)); border-color: rgba(129,140,248,0.45); }
.pf-stat.c3 span svg { color: #A5B4FC; }
.pf-stat.c4 { background: linear-gradient(135deg, rgba(239,68,68,0.18), rgba(127,29,29,0.25)); border-color: rgba(248,113,113,0.45); }
.pf-stat.c4 span svg { color: #FCA5A5; }
.pf-stat.c5 { background: linear-gradient(135deg, rgba(251,191,36,0.18), rgba(120,53,15,0.25)); border-color: rgba(251,191,36,0.5); }
.pf-stat.c5 span svg { color: #FCD34D; }
.pf-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 16px; }
.pf-tstats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.pf-tstats > div { display: flex; flex-direction: column; gap: 2px; padding: 12px; border-radius: 14px; background: rgba(255,255,255,0.04); border: 1px solid var(--stroke); }
.pf-tstats small { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.pf-tstats b { font: 900 22px/1.1 var(--display); }
.pf-places { display: flex; flex-wrap: wrap; gap: 8px; }
.pf-places span { display: flex; flex-direction: column; align-items: center; padding: 8px 14px; border-radius: 12px; background: rgba(255,255,255,0.04); border: 1px solid var(--stroke); }
.pf-places b { font: 900 20px/1 var(--display); }
.pf-places small { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.pf-favs { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.pf-recent { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.pf-recent li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; background: rgba(255,255,255,0.03); }
.pf-recent a { flex: 1; min-width: 0; display: flex; flex-direction: column; color: var(--ink); }
.pf-recent a .small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pf-recent .pts { color: #FBBF24; min-width: 34px; text-align: right; }
.heat-wrap { display: flex; flex-direction: column; gap: 6px; overflow-x: auto; }
.heat-months { display: grid; grid-template-columns: repeat(53, 13px); gap: 3px; margin-left: 34px; font-size: 11px; color: var(--muted); }
.heat-body { display: flex; gap: 6px; }
.heat-days { display: grid; grid-template-rows: repeat(7, 13px); gap: 3px; width: 28px; font-size: 10.5px; color: var(--muted); }
.heat { display: grid; grid-template-rows: repeat(7, 13px); grid-template-columns: repeat(53, 13px); gap: 3px; }
.heat i, .heat-legend i { display: inline-block; width: 13px; height: 13px; border-radius: 3px; background: rgba(255,255,255,0.06); }
.heat i.l1, .heat-legend i.l1 { background: #14532D; }
.heat i.l2, .heat-legend i.l2 { background: #15803D; }
.heat i.l3, .heat-legend i.l3 { background: #22C55E; }
.heat i.l4, .heat-legend i.l4 { background: #86EFAC; }
.heat-legend { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--muted); min-width: 760px; }
.heat-legend span:last-child { display: inline-flex; align-items: center; gap: 4px; }
.cm-race a.nm, .cm-list a.nm { color: inherit; text-decoration: none; }
.cm-race a.nm:hover, .cm-list a.nm:hover, .cm-rows .who a:hover { text-decoration: underline; }
.cm-rows .who a { color: inherit; }
@media (max-width: 1100px) { .pf-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } .pf-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .pf-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pf-tstats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pf-av { width: 84px; height: 84px; } .pf-rank { align-items: flex-start; margin-left: 0; } }

/* ---------- loja de pontos (StreamElements) ---------- */
.pts-big { display: flex; flex-direction: column; align-items: flex-end; padding: 12px 18px; border-radius: 18px; border: 1px solid rgba(251,191,36,0.45); background: linear-gradient(135deg, rgba(251,191,36,0.16), rgba(120,53,15,0.2)); }
.pts-big small { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pts-big b { font: 900 30px/1.1 var(--display); color: #FCD34D; }
.shop-grid .reward { display: flex; flex-direction: column; gap: 8px; }
.shop-grid .reward .btn { margin-top: auto; }
.shop-grid .reward.is-out { opacity: .55; }
.grid.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .grid.two { grid-template-columns: 1fr; } }
.chk { display: flex !important; align-items: center; gap: 10px; cursor: pointer; }
.chk input[type="checkbox"] { width: 18px; height: 18px; min-height: 0; flex: none; margin: 0; accent-color: #A78BFA; }

/* ---------- utilitários ---------- */
.ink { color: var(--ink); }
.chip.muted { color: var(--muted); }
.gold { background: linear-gradient(135deg, #FDE68A, #F59E0B); -webkit-background-clip: text; background-clip: text; color: transparent; }
.th-sort { background: none; border: 0; padding: 0; color: inherit; font: inherit; text-transform: inherit; letter-spacing: inherit; cursor: pointer; min-height: 0; }
.th-sort[aria-pressed="true"] { color: var(--accent-ink); }

/* ---------- painel da bonus hunt ---------- */
.hb { display: flex; flex-direction: column; gap: 16px; }
.hb-top { padding: 20px; display: flex; flex-direction: column; gap: 18px; }
.hb-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hb-head h2 { margin: 0; font-size: 20px; }
.hb-head p { margin: 2px 0 0; }
.hb-ico { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 14px; color: #1A1203; background: linear-gradient(135deg, #FDE68A, #F59E0B); box-shadow: 0 8px 22px rgba(245,158,11,0.3); }
.hb-pl { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; padding: 10px 16px; border-radius: 14px; border: 1px solid var(--stroke); background: rgba(255,255,255,0.04); }
.hb-pl span { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.hb-pl b { font: 800 24px/1.15 var(--display); }
.hb-pl.up { border-color: rgba(52,211,153,0.45); background: rgba(52,211,153,0.08); } .hb-pl.up b { color: var(--ok-ink); }
.hb-pl.down { border-color: rgba(248,113,113,0.45); background: rgba(248,113,113,0.08); } .hb-pl.down b { color: var(--bad); }
.hb-progress { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; }
.hb-progress > div:first-child, .hb-progress > div.r { display: flex; flex-direction: column; }
.hb-progress .k, .hb-kpi span, .hb-ext .k, .t-kpi span, .t-prog .k { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.hb-progress .big { font: 800 26px/1.1 var(--display); }
.hb-bar .sq { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 6px; }
.hb-bar .sq i { flex: 1 1 10px; min-width: 8px; max-width: 34px; height: 14px; border-radius: 4px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.08); }
.hb-bar .sq i.g { background: linear-gradient(180deg, #4ADE80, #16A34A); border-color: transparent; }
.hb-bar .sq i.r { background: linear-gradient(180deg, #F87171, #B91C1C); border-color: transparent; }
.hb-kpis { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.hb-kpi-group { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.hb-kpi { display: flex; flex-direction: column; gap: 4px; padding: 12px; border-radius: 14px; background: rgba(255,255,255,0.04); border: 1px solid var(--stroke); min-width: 0; }
.hb-kpi b { font: 700 17px/1.2 var(--display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hb-ext { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 14px; border: 1px solid var(--stroke); min-width: 0; }
.hb-ext.best { background: linear-gradient(135deg, rgba(52,211,153,0.12), rgba(52,211,153,0.02)); border-color: rgba(52,211,153,0.35); }
.hb-ext.worst { background: linear-gradient(135deg, rgba(248,113,113,0.12), rgba(248,113,113,0.02)); border-color: rgba(248,113,113,0.35); }
.hb-ext .k { display: inline-flex; align-items: center; gap: 6px; }
.hb-ext.best .k { color: var(--ok-ink); } .hb-ext.worst .k { color: #FCA5A5; }
.hb-ext-row { display: flex; align-items: center; gap: 10px; min-width: 0; }
.hb-ext-row .nm { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.hb-ext-row .nm b, .hb-ext-row .nm small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hb-ext-row small { color: var(--muted); font-size: 12px; }
.hb-ext-row .v { display: flex; flex-direction: column; align-items: flex-end; }
.hb-ext-row .v b { font: 800 16px var(--display); }
.hb-body { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; align-items: start; }
.hb-table { padding: 6px 0 0; overflow: visible; }
.hb-table table.data td { vertical-align: middle; }
.hb-table tr.now td { background: rgba(59,130,246,0.1); }
.hb-table tr.now td:first-child { box-shadow: inset 3px 0 0 var(--accent); }
.hb-in { width: 110px; min-height: 36px; text-align: right; padding: 0 10px; border-radius: 10px; }
.hb-in.pay { width: 120px; }
.hb-pill { display: inline-block; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,0.06); border: 1px solid var(--stroke); font-weight: 600; white-space: nowrap; }
.hb-pay { display: inline-flex; flex-direction: column; align-items: flex-end; margin-left: 8px; line-height: 1.2; }
.hb-pay small { font-size: 11.5px; font-weight: 700; }
.hb-pay.g b, .hb-pay.g small { color: var(--ok-ink); }
.hb-pay.r b, .hb-pay.r small { color: #FCA5A5; }
.hb-add { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--stroke); }
.hb-add-btn { align-self: flex-start; }
.hb-add-form { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
.hb-stats { padding: 18px; display: flex; flex-direction: column; gap: 2px; position: sticky; top: 16px; }
.hb-stats h3 { margin: 0 0 8px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.hb-row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,0.06); font-size: 14px; }
.hb-row:last-child { border-bottom: 0; }
.hb-row span { color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.hb-row b { text-align: right; min-width: 0; overflow-wrap: anywhere; }
.hb-row.strong { padding: 12px; margin-bottom: 6px; border-radius: 12px; border: 1px solid rgba(251,191,36,0.4); background: rgba(251,191,36,0.08); }
.hb-row.strong span { color: #FCD34D; font-weight: 700; } .hb-row.strong b { font: 800 17px var(--display); }
@media (max-width: 1100px) {
  .hb-body { grid-template-columns: minmax(0, 1fr); } .hb-stats { position: static; }
  .hb-kpis { grid-template-columns: 1fr 1fr; } .hb-kpi-group { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .hb-progress { grid-template-columns: 1fr 1fr; } .hb-bar { grid-column: 1 / -1; grid-row: 2; }
  .hb-kpi-group { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hb-kpis { grid-template-columns: 1fr; }
  .hb-pl { margin-left: 0; width: 100%; align-items: flex-start; }
  .hb-in, .hb-in.pay { width: 86px; }
}

/* ---------- hunts: cartões, ferramenta e comunidade ---------- */
.hcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.hcard { display: flex; flex-direction: column; gap: 10px; padding: 16px; color: inherit; text-decoration: none; transition: transform .15s ease, border-color .15s ease; }
.hcard:hover { transform: translateY(-2px); border-color: var(--stroke-hi); }
.hcard .t { font: 700 16px var(--display); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hcard-kv { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.hcard-kv div, .hcard-be { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,0.04); border: 1px solid var(--stroke); }
.hcard-kv span, .hcard-be span { font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.hcard-kv b, .hcard-be b { font: 700 18px var(--display); }
.hcard > .r { align-self: flex-end; display: inline-flex; align-items: center; gap: 6px; }
.host { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); }
.host img { border-radius: 50%; object-fit: cover; }
.tool-head h1 { font-size: clamp(28px, 4vw, 40px); }
.empty-hunt { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 40px 20px; }
.empty-hunt h3 { margin: 8px 0 0; }

/* ---------- torneio em destaque ---------- */
.t-feature { display: flex; flex-direction: column; gap: 16px; padding: 20px; border-radius: var(--radius); border: 1px solid var(--stroke); background: linear-gradient(160deg, rgba(59,130,246,0.1), rgba(255,255,255,0.03)); }
.t-feature.is-live { border-color: rgba(34,224,122,0.5); background: linear-gradient(160deg, rgba(34,224,122,0.13), rgba(59,130,246,0.06)); box-shadow: 0 0 30px rgba(34,224,122,0.1); }
.t-feature.is-live > .row .kicker { color: #86FFB4; }
.t-feature h2 { margin: 0; }
.t-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; }
.t-prog { grid-column: span 2; display: flex; flex-direction: column; gap: 6px; padding: 12px; border-radius: 14px; background: rgba(255,255,255,0.04); border: 1px solid var(--stroke); }
.t-prog .bar { height: 8px; border-radius: 99px; background: rgba(255,255,255,0.1); overflow: hidden; }
.t-prog .bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #60A5FA, #A78BFA); }
.t-prog b { font: 700 15px var(--display); }
.t-kpi { display: flex; flex-direction: column; gap: 4px; padding: 12px; border-radius: 14px; background: rgba(255,255,255,0.04); border: 1px solid var(--stroke); min-width: 0; }
.t-kpi b { font: 700 17px var(--display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t-kpi.gold { -webkit-background-clip: border-box; background-clip: border-box; color: inherit; background: linear-gradient(135deg, rgba(253,230,138,0.16), rgba(245,158,11,0.08)); border-color: rgba(251,191,36,0.45); }
.t-kpi.gold b { color: #FCD34D; }
@media (max-width: 520px) { .t-prog { grid-column: 1 / -1; } .t-feature { padding: 14px; } }

/* ---------- apostas (pontos do StreamElements) ---------- */
.bet-presets { display: flex; flex-direction: column; gap: 12px; margin-bottom: 14px; }
.bet-presets h3 { margin: 0; display: inline-flex; align-items: center; gap: 8px; }
.bet-preset-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.bets { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 14px; }
.bet { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.bet header { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.bet h3 { margin: 6px 0 0; font-size: 17px; }
.bet-total { display: flex; flex-direction: column; align-items: flex-end; flex: none; }
.bet-total b { font: 800 22px/1.1 var(--display); color: #FCD34D; }
.bet-total small { color: var(--muted); font-size: 12px; }
.bet-opts { display: grid; gap: 8px; }
.bet-opts.many { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.bet-opt { position: relative; overflow: hidden; display: flex; align-items: center; gap: 10px; width: 100%; min-height: 56px; padding: 8px 12px; border-radius: 14px; border: 1px solid var(--stroke); background: rgba(255,255,255,0.04); color: inherit; font: inherit; text-align: left; cursor: pointer; transition: border-color .15s ease, background .15s ease; }
.bet-opt:not(:disabled):hover { border-color: var(--stroke-hi); background: rgba(255,255,255,0.07); }
.bet-opt:disabled { cursor: default; }
.bet-opt > :not(.share) { position: relative; z-index: 1; }
.bet-opt .nm { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.bet-opt .nm b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bet-opt .nm small, .bet-opt .pl small { color: var(--muted); font-size: 12px; }
.bet-opt .pl { display: flex; flex-direction: column; align-items: flex-end; flex: none; }
.bet-opt .share { position: absolute; left: 0; top: 0; bottom: 0; z-index: 0; background: linear-gradient(90deg, rgba(59,130,246,0.22), rgba(59,130,246,0.06)); transition: width .4s ease; }
.bet-opt[aria-pressed="true"] { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(59,130,246,0.35); }
.bet-opt.mine { border-color: rgba(251,191,36,0.6); }
.bet-opt.mine .share { background: linear-gradient(90deg, rgba(251,191,36,0.25), rgba(251,191,36,0.06)); }
.bet-opt.won { border-color: rgba(52,211,153,0.7); }
.bet-opt.won .share { background: linear-gradient(90deg, rgba(52,211,153,0.3), rgba(52,211,153,0.08)); }
.bet-opt .won-tag { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ok); color: #052E1B; flex: none; }
.bet-mine { margin: 0; padding: 10px 12px; border-radius: 12px; background: rgba(251,191,36,0.08); border: 1px solid rgba(251,191,36,0.3); font-size: 14px; }
.bet-form { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 14px; background: rgba(255,255,255,0.04); border: 1px solid var(--stroke); }
.bet-step { font-size: 14px; color: var(--muted, #b8b3d6); }
.bet-step b { color: var(--text, #fff); }
.bet-form-row { gap: 8px; flex-wrap: wrap; align-items: flex-end; }
.bet-amount { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--muted, #b8b3d6); }
.bet-form input[name="amount"] { width: 160px; font-size: 16px; font-weight: 700; }
.bet-login { margin: 0; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.bet-proposal { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 12px 14px; border-radius: 14px; background: rgba(52,211,153,0.08); border: 1px solid rgba(52,211,153,0.35); }
.bet-proposal > div { display: flex; flex-direction: column; gap: 2px; }
.bet-proposal small { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: #6ee7b7; }
.bet-proposal b { font-size: 16px; }
.bet-proposal.owner { background: rgba(251,191,36,0.08); border-color: rgba(251,191,36,0.45); }
.bet-proposal.owner small { color: #fcd34d; }
.bet-owner { gap: 8px; flex-wrap: wrap; padding-top: 10px; border-top: 1px solid var(--stroke); }
.bet-owner select { width: auto; min-width: 160px; }
.overlay-preview.tall { width: min(100%, 380px); justify-self: center; }

/* ---------- loot boxes ---------- */
.bk-loot { flex: none; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; font-size: 13px; line-height: 1; background: color-mix(in srgb, var(--c) 22%, transparent); box-shadow: inset 0 0 0 1px var(--c), 0 0 10px color-mix(in srgb, var(--c) 45%, transparent); cursor: help; }
.bk-loot.pending { opacity: .7; }
.bk-loot.blocked { filter: grayscale(1); opacity: .5; }
.loot { display: flex; flex-direction: column; gap: 12px; }
.loot h2 { margin: 0; }
.loot-cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 16px; border-radius: 16px; border: 1px solid rgba(228,174,57,0.55); background: radial-gradient(120% 140% at 0% 0%, rgba(228,174,57,0.22), transparent 60%), rgba(255,255,255,0.03); }
.loot-cta > div { flex: 1; min-width: 220px; }
.loot-cta p { margin: 4px 0 0; }
.loot-crate { width: 64px; height: 50px; flex: none; position: relative; border-radius: 9px; display: grid; place-items: end center; padding-bottom: 6px; background: linear-gradient(160deg, #F6C453, #B7791F 55%, #7C4A0E); box-shadow: inset 0 2px 0 rgba(255,255,255,.45), 0 0 24px rgba(228,174,57,.4); animation: loot-bob 2.4s ease-in-out infinite; }
.loot-crate::before { content: ''; position: absolute; left: 0; right: 0; top: 14px; height: 7px; background: linear-gradient(90deg, #5B3508, #2D1A04, #5B3508); }
.loot-crate span { font: 800 8px 'Space Grotesk', sans-serif; letter-spacing: .14em; color: #2D1A04; }
@keyframes loot-bob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-3px) rotate(-2deg); } }
@media (prefers-reduced-motion: reduce) { .loot-crate { animation: none; } }
.loot-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.loot-row { display: grid; grid-template-columns: 26px minmax(120px, 0.8fr) minmax(0, 2fr) auto; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,0.04); border: 1px solid var(--stroke); border-left: 3px solid var(--c); }
.loot-row .nm, .loot-row .ef { display: flex; flex-direction: column; min-width: 0; }
.loot-row small { color: var(--muted); font-size: 12.5px; }
.loot-odds summary { cursor: pointer; font-weight: 600; color: var(--accent-ink); }
.loot-odds-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 10px; margin-top: 10px; }
.loot-odds-r { padding: 12px; border-radius: 14px; background: rgba(255,255,255,0.03); border: 1px solid var(--stroke); border-top: 3px solid var(--c); }
.loot-odds-r .rar { color: var(--c); }
.loot-odds-r ul { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.loot-odds-r li { display: grid; grid-template-columns: 24px 1fr auto; gap: 8px; align-items: start; font-size: 14px; }
@media (max-width: 640px) { .loot-row { grid-template-columns: 26px 1fr; } .loot-row .ef, .loot-row .chip { grid-column: 2; justify-self: start; } }
.mc-loot { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--c); }
.cm-controls { flex-direction: column; align-items: flex-start; } .cm-since { font-size: 12.5px; font-weight: 600; color: rgba(255,255,255,0.85); padding-left: 4px; }

/* Estúdio → Pontos */
.pts-rain { background: linear-gradient(135deg, rgba(251,191,36,0.16), rgba(180,83,9,0.06)), var(--glass); border-color: rgba(251,191,36,0.4); }
.pts-top { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.pts-top li { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 6px 10px; border-radius: 10px; background: rgba(255,255,255,0.03); }
.pts-top .rk { color: var(--muted); font-weight: 800; text-align: right; }
.pts-top a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); }
.pts-top b { color: #FBBF24; font-variant-numeric: tabular-nums; }
.pts-log { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; max-height: 420px; overflow-y: auto; }
.pts-log li { display: grid; grid-template-columns: 130px minmax(0, 1fr) auto 140px; gap: 10px; align-items: center; font-size: 13px; padding: 5px 8px; border-radius: 8px; background: rgba(255,255,255,0.03); }
.pts-log li > span { color: var(--muted); }
.pts-log li > a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); }
.pts-log li > small { color: var(--muted); text-align: right; }
.pts-log b { font-variant-numeric: tabular-nums; }
@media (max-width: 640px) { .pts-log li { grid-template-columns: minmax(0, 1fr) auto; } .pts-log li > span, .pts-log li > small { display: none; } }
