:root {
  --bg: #0b1220; --bg2: #111a2e; --card: #16213a; --card2: #1c2a48; --line: #2a3a5e;
  --text: #e8eefc; --muted: #93a1bf; --accent: #f59e0b; --accent2: #3e7bfa; --good: #22c55e; --bad: #ef4444;
  --gem: #a78bfa; --coin: #fbbf24; --radius: 14px;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--text); font: 15px/1.45 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; }
a { color: #8ab4ff; }
button { font: inherit; cursor: pointer; border: 0; border-radius: 10px; padding: 9px 14px; background: var(--card2); color: var(--text); transition: transform .08s, filter .15s, background .15s; }
button:hover:not(:disabled) { filter: brightness(1.15); }
button:active:not(:disabled) { transform: scale(.97); }
button:disabled { opacity: .45; cursor: not-allowed; }
button.primary { background: linear-gradient(180deg, #fbbf24, #f59e0b); color: #1a1200; font-weight: 800; }
button.blue { background: linear-gradient(180deg, #5b8def, #3e6fe0); font-weight: 700; }
button.good { background: linear-gradient(180deg, #34d399, #16a34a); color: #04170b; font-weight: 800; }
button.danger { background: #7f1d1d; }
button.ghost { background: transparent; border: 1px solid var(--line); }
button.small { padding: 5px 10px; font-size: 13px; border-radius: 8px; }
input, select, textarea { font: inherit; background: var(--bg2); color: var(--text); border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; width: 100%; }
input:focus, select:focus { outline: 2px solid var(--accent2); border-color: transparent; }
label { display: block; font-size: 13px; color: var(--muted); margin: 10px 0 4px; }
label.check { display: flex; align-items: center; gap: 8px; color: var(--text); }
label.check input { width: auto; }
h1, h2, h3 { margin: 0 0 10px; line-height: 1.2; }
h2 { font-size: 20px; } h3 { font-size: 16px; }
.muted { color: var(--muted); } .small { font-size: 12.5px; }
.hidden { display: none !important; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.grow { flex: 1; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.grid { display: grid; gap: 14px; }
.cols-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.cols-3 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.pill { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; background: var(--bg2); border: 1px solid var(--line); font-size: 13px; }

/* ---------- topo ---------- */
.topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 14px; padding: 10px 18px; background: rgba(11, 18, 32, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.brand { font-weight: 900; font-size: 19px; letter-spacing: .02em; display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--text); }
.brand .logo { width: 40px; height: 40px; object-fit: contain; filter: drop-shadow(0 2px 6px #0008); }
.nav { display: flex; gap: 4px; }
.nav a { color: var(--muted); text-decoration: none; padding: 7px 12px; border-radius: 9px; font-weight: 600; position: relative; }
.nav a.active, .nav a:hover { color: var(--text); background: var(--card); }
.nav .dot { position: absolute; top: 3px; right: 3px; min-width: 16px; height: 16px; border-radius: 8px; background: var(--bad); color: #fff; font-size: 10px; display: grid; place-items: center; padding: 0 4px; }
.wallet { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.wallet .coin b { color: var(--coin); } .wallet .gem b { color: var(--gem); }
.lang-btn { padding: 6px 10px; font-weight: 800; font-size: 12px; }
main { max-width: 1280px; margin: 0 auto; padding: 18px; }
main.full { max-width: none; padding: 0; }
.site-foot { max-width: 1280px; margin: 10px auto 0; padding: 14px 18px 22px; display: flex; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); border-top: 1px solid var(--line); }
.site-foot a { color: var(--muted); } .site-foot a:hover { color: var(--text); }
body:has(main.full) .site-foot { display: none; }
@media (max-width: 760px) {
  .topbar { flex-wrap: wrap; padding: 8px 10px; gap: 8px; }
  .nav { order: 3; width: 100%; overflow-x: auto; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { padding: 6px 9px; font-size: 14px; white-space: nowrap; }
  .brand { font-size: 17px; }
  main { padding: 10px; }
}

/* ---------- toast / modal ---------- */
#toasts { position: fixed; right: 16px; bottom: 16px; z-index: 100; display: flex; flex-direction: column; gap: 8px; }
.toast { background: var(--card2); border: 1px solid var(--line); border-left: 4px solid var(--accent2); padding: 10px 14px; border-radius: 10px; box-shadow: 0 10px 30px #0008; animation: toast-in .25s ease; max-width: 340px; }
.toast.err { border-left-color: var(--bad); } .toast.ok { border-left-color: var(--good); }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } }
.modal-bg { position: fixed; inset: 0; z-index: 90; background: #000a; display: grid; place-items: center; padding: 16px; animation: fade .15s; }
.modal { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 20px; width: min(520px, 100%); max-height: 90vh; overflow: auto; box-shadow: 0 30px 80px #000a; }
.modal .actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 16px; }
@keyframes fade { from { opacity: 0; } }

/* ---------- início ---------- */
.hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: 14px; }
.big-action { display: flex; flex-direction: column; gap: 6px; text-align: left; padding: 18px; border-radius: 16px; min-height: 120px; justify-content: flex-end; }
.big-action b { font-size: 22px; } .big-action span { opacity: .85; font-size: 13.5px; }
.big-action.quick { background: linear-gradient(135deg, #f59e0b, #b45309); color: #1a0f00; }
.big-action.create { background: linear-gradient(135deg, #3e7bfa, #1e3a8a); }
.room-list { display: flex; flex-direction: column; gap: 8px; }
.room-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: var(--bg2); border-radius: 10px; border: 1px solid var(--line); }
.daily { display: flex; gap: 6px; }
.daily .d { flex: 1; text-align: center; padding: 8px 2px; border-radius: 10px; background: var(--bg2); border: 1px solid var(--line); font-size: 12px; }
.daily .d.done { opacity: .45; } .daily .d.next { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.lb { width: 100%; border-collapse: collapse; font-size: 14px; }
.lb td, .lb th { padding: 6px 8px; border-bottom: 1px solid var(--line); text-align: left; }
@media (max-width: 860px) { .hero { grid-template-columns: 1fr; } }

/* ---------- sala / jogo ---------- */
.game { display: grid; grid-template-columns: 1fr 340px; height: calc(100vh - 57px); }
.board { position: relative; overflow: hidden; background: #06101f; }
.map-host { position: absolute; inset: 0; }
.map-svg { width: 100%; height: 100%; display: block; touch-action: none; user-select: none; }
.territory-path { transition: fill .35s, filter .2s; cursor: pointer; }
.territory-group:hover .territory-path { filter: brightness(1.18); }
.territory-group.selected .territory-path { filter: brightness(1.35) drop-shadow(0 0 6px #fff); stroke: #fff; stroke-width: 2.5; }
.territory-group.target .territory-path { stroke: #fde047; stroke-width: 2.5; animation: target-pulse 1s infinite alternate; }
.territory-group.dim .territory-path { filter: saturate(.5) brightness(.75); }
@keyframes target-pulse { to { filter: brightness(1.35); } }
.route { stroke: #ffffffaa; stroke-width: 1.6; stroke-dasharray: 5 5; fill: none; }
.region-label { font-size: 13px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; text-anchor: middle; paint-order: stroke; stroke: #07111fee; stroke-width: 4px; stroke-linejoin: round; }
.terr-name { font-size: 9px; text-anchor: middle; fill: #ffffff; font-weight: 800; opacity: 0; transition: opacity .2s; paint-order: stroke; stroke: #07111fdd; stroke-width: 2.8px; stroke-linejoin: round; }
.show-names .terr-name { opacity: .9; }
.badge-group { cursor: pointer; transition: transform .2s; }
.badge-shape { stroke-width: 2.2; filter: drop-shadow(0 2px 2px #0008); }
.badge-num { font-size: 12px; font-weight: 900; fill: #fff; text-anchor: middle; paint-order: stroke; stroke: #0009; stroke-width: 2px; pointer-events: none; }
.badge-icon { font-size: 9px; text-anchor: middle; fill: #fff; pointer-events: none; }
.badge-group.selected .badge-shape { stroke: #fff; stroke-width: 3; }
.theme-glow .coast path { filter: url(#fx-glow); }
.fx-text { font-size: 17px; font-weight: 900; text-anchor: middle; paint-order: stroke; stroke: rgba(10, 15, 30, .95); stroke-width: 4px; stroke-linejoin: round; }
.fx-text.big { font-size: 20px; letter-spacing: .06em; }
.badge-group, .territory-group { transform-box: fill-box; transform-origin: center; }
.fx-shake { animation: fx-shake .45s ease; } .fx-pop { animation: fx-pop .4s ease; }
@keyframes fx-shake { 0%, 100% { translate: 0 0; } 20% { translate: -4px 1px; } 40% { translate: 4px -1px; } 60% { translate: -3px 2px; } 80% { translate: 2px -1px; } }
@keyframes fx-pop { 0%, 100% { scale: 1; } 45% { scale: 1.35; } }
.territory-group.fx-conquer .territory-path { animation: conquer-flash 1s ease; }
@keyframes conquer-flash { 20% { filter: brightness(2.2); } 45% { filter: brightness(1.1); } 70% { filter: brightness(1.7); } }

.hud-top { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; gap: 8px; align-items: center; pointer-events: none; z-index: 5; flex-wrap: wrap; }
.hud-top > * { pointer-events: auto; }
.turn-banner { padding: 8px 14px; border-radius: 12px; background: #0f172ae6; border: 1px solid var(--line); font-weight: 800; display: flex; gap: 10px; align-items: center; }
.turn-banner .sw { width: 14px; height: 14px; border-radius: 4px; }
.turn-banner.mine { border-color: var(--accent); box-shadow: 0 0 0 2px #f59e0b55; }
.timer { font-variant-numeric: tabular-nums; padding: 2px 8px; border-radius: 8px; background: #000; }
.timer.low { background: var(--bad); }
.hud-tools { margin-left: auto; display: flex; gap: 6px; }
.hud-tools button { background: #0f172ae6; border: 1px solid var(--line); }
.autopilot-banner { position: absolute; left: 50%; top: 58px; translate: -50% 0; z-index: 6; background: linear-gradient(90deg, #7c3aed, #2563eb); padding: 8px 14px; border-radius: 12px; font-weight: 800; display: flex; gap: 10px; align-items: center; box-shadow: 0 6px 30px #7c3aed66; }
.action-bar { position: absolute; left: 50%; bottom: 14px; translate: -50% 0; z-index: 6; display: flex; gap: 8px; align-items: center; background: #0f172aee; border: 1px solid var(--line); padding: 8px 10px; border-radius: 14px; box-shadow: 0 10px 40px #0009; flex-wrap: wrap; justify-content: center; max-width: calc(100% - 20px); }
.action-bar .hint { font-size: 13px; color: var(--muted); max-width: 320px; }
.dice-pick button.on { background: var(--accent2); }

.side { display: flex; flex-direction: column; border-left: 1px solid var(--line); background: var(--bg2); min-height: 0; }
.side-tabs { display: flex; border-bottom: 1px solid var(--line); }
.side-tabs button { flex: 1; border-radius: 0; background: transparent; padding: 10px 4px; font-size: 13px; color: var(--muted); }
.side-tabs button.on { color: var(--text); box-shadow: inset 0 -2px 0 var(--accent); }
.side-body { flex: 1; overflow: auto; padding: 12px; min-height: 0; }
.player-row { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 10px; margin-bottom: 4px; }
.player-row.turn { background: #ffffff12; box-shadow: inset 3px 0 0 var(--accent); }
.player-row.dead { opacity: .4; text-decoration: line-through; }
.player-row .sw { width: 12px; height: 12px; border-radius: 3px; flex: none; }
.player-row .meta { font-size: 11.5px; color: var(--muted); }
.mission-box { background: linear-gradient(135deg, #1e293b, #0f172a); border: 1px solid #f59e0b66; border-radius: 12px; padding: 10px 12px; margin-bottom: 12px; }
.mission-box .bar { height: 6px; border-radius: 3px; background: #334155; overflow: hidden; margin-top: 6px; }
.mission-box .bar i { display: block; height: 100%; background: var(--accent); }
.cards { display: flex; gap: 6px; flex-wrap: wrap; margin: 6px 0; }
.gcard { width: 56px; height: 76px; border-radius: 8px; background: linear-gradient(160deg, #f8fafc, #cbd5e1); color: #0f172a; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 10px; text-align: center; padding: 3px; border: 2px solid transparent; cursor: pointer; }
.gcard .sym { font-size: 24px; }
.gcard.sel { border-color: var(--accent); transform: translateY(-4px); }
.log { font-size: 12.5px; display: flex; flex-direction: column; gap: 3px; }
.log div { padding: 3px 6px; border-radius: 6px; }
.log .k-conquer { background: #22c55e18; } .log .k-eliminated, .log .k-win { background: #f59e0b22; font-weight: 700; }
.chat { display: flex; flex-direction: column; height: 100%; }
.chat-msgs { flex: 1; overflow: auto; font-size: 13.5px; display: flex; flex-direction: column; gap: 4px; }
.chat-msgs .sys { color: var(--muted); font-style: italic; font-size: 12.5px; }
.chat-form { display: flex; gap: 6px; margin-top: 8px; }
.emotes { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 6px; }
.emotes button { padding: 4px 8px; font-size: 15px; }
@media (max-width: 960px) {
  .game { grid-template-columns: 1fr; grid-template-rows: 60vh auto; height: auto; }
  .side { border-left: 0; border-top: 1px solid var(--line); min-height: 380px; }
}
/* celular: HUD compacto para sobrar mapa */
@media (max-width: 600px) {
  .game { grid-template-rows: 64vh auto; }
  .hud-top { top: 6px; left: 6px; right: 6px; gap: 6px; }
  .turn-banner { padding: 5px 9px; font-size: 13px; gap: 6px; max-width: calc(100% - 96px); }
  .turn-banner .muted { font-size: 11px; }
  .turn-banner { flex-wrap: wrap; row-gap: 0; }
  .hud-tools button { padding: 5px 7px; }
  .hud-tools .lbl { display: none; }
  .autopilot-banner { top: auto; bottom: 64px; width: calc(100% - 20px); font-size: 12px; padding: 6px 10px; justify-content: space-between; }
  .action-bar { bottom: 6px; padding: 6px; gap: 6px; }
  .action-bar .hint { font-size: 12px; max-width: 100%; }
  .dice-stage { left: 6px; right: 6px; bottom: 64px; min-width: 0; padding: 8px 10px; }
  .end-card { margin: 0 12px; padding: 20px; }
}

/* lobby da sala */
.lobby { max-width: 980px; margin: 0 auto; padding: 18px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 14px; }
.code-box { font-size: 30px; font-weight: 900; letter-spacing: .25em; background: var(--bg2); padding: 8px 14px; border-radius: 12px; border: 1px dashed var(--accent); }
.seat { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; background: var(--bg2); margin-bottom: 6px; border: 1px solid var(--line); }
.seat .sw { width: 16px; height: 16px; border-radius: 5px; }
.color-pick { display: flex; gap: 6px; }
.color-pick button { width: 26px; height: 26px; padding: 0; border-radius: 7px; border: 2px solid transparent; }
.color-pick button.on { border-color: #fff; }
@media (max-width: 860px) { .lobby { grid-template-columns: 1fr; } }

/* fim de jogo */
.end-overlay { position: absolute; inset: 0; z-index: 9; display: grid; place-items: center; background: #000a; animation: fade .4s; }
.end-card { text-align: center; background: var(--card); padding: 26px 30px; border-radius: 20px; border: 1px solid var(--accent); box-shadow: 0 30px 90px #000c; max-width: 420px; }
.end-card h1 { font-size: 36px; color: var(--accent); }

/* ---------- dados 3D ---------- */
.dice-stage { position: absolute; left: 14px; bottom: 74px; z-index: 8; min-width: 280px; padding: 12px 16px; border-radius: 16px; background: linear-gradient(180deg, #0f1e37f0, #07111ff0); border: 1px solid #f59e0b8c; box-shadow: 0 18px 50px #0009; display: flex; flex-direction: column; gap: 8px; cursor: pointer; animation: fade .25s; transition: opacity .45s, transform .45s; }
.dice-stage.fading { opacity: 0; transform: translateY(12px); }
.dice-head { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 14px; text-align: center; margin-bottom: 4px; }
.dice-sub { font-size: 11.5px; color: var(--muted); }
.dice-row3d { display: flex; align-items: center; gap: 16px; min-height: 58px; padding-top: 2px; }
.dice-tag { width: 58px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.dice-tag.att { color: #fca5a5; } .dice-tag.def { color: #fde68a; }
.dice-result { text-align: center; font-size: 14px; min-height: 20px; opacity: 0; transform: scale(.8); transition: .25s; }
.dice-result.show { opacity: 1; transform: none; }
.die3d-wrap { position: relative; width: 44px; height: 44px; perspective: 420px; transition: opacity .3s, filter .3s; }
.die3d { position: absolute; inset: 0; transform-style: preserve-3d; }
.die3d .face { position: absolute; inset: 0; border-radius: 9px; display: grid; grid-template: repeat(3, 1fr) / repeat(3, 1fr); padding: 6px; backface-visibility: hidden; background: radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--die-face) 70%, #fff), var(--die-face) 55%, var(--die-edge)); box-shadow: inset 0 0 0 1.5px #ffffff55, inset 0 -4px 8px #0004, 0 0 10px var(--die-glow); }
.die3d .face i, .die-flat i { display: flex; align-items: center; justify-content: center; }
.die3d .face i.pip::after, .die-flat i.pip::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--die-pip); box-shadow: inset 0 1px 2px #0006; }
.die3d .f1 { transform: rotateY(0) translateZ(22px); } .die3d .f2 { transform: rotateY(90deg) translateZ(22px); } .die3d .f3 { transform: rotateX(90deg) translateZ(22px); }
.die3d .f4 { transform: rotateX(-90deg) translateZ(22px); } .die3d .f5 { transform: rotateY(-90deg) translateZ(22px); } .die3d .f6 { transform: rotateY(180deg) translateZ(22px); }
.die3d-shadow { position: absolute; left: 6px; right: 6px; bottom: -9px; height: 7px; border-radius: 50%; background: #0007; filter: blur(3px); }
.die3d-mark { position: absolute; inset: -5px; border-radius: 12px; pointer-events: none; opacity: 0; transition: opacity .25s; }
.die3d-wrap.won .die3d-mark { opacity: 1; box-shadow: 0 0 0 2.5px #fff, 0 0 18px #fff9; }
.die3d-wrap.lost { opacity: .4; filter: grayscale(.7); }
.die3d-wrap.lost .die3d-mark { opacity: 1; background: linear-gradient(45deg, transparent 45%, #ef4444 45% 55%, transparent 55%), linear-gradient(-45deg, transparent 45%, #ef4444 45% 55%, transparent 55%); }
.die3d-wrap.idle { opacity: .55; }
.pat-stars .face, .pat-stars.die-flat { background-image: radial-gradient(1px 1px at 20% 30%, #fff, transparent), radial-gradient(1px 1px at 70% 60%, #fff, transparent), radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--die-face) 70%, #fff), var(--die-face) 60%, var(--die-edge)) !important; }
.pat-stripes .face, .pat-stripes.die-flat { background-image: repeating-linear-gradient(45deg, var(--die-face) 0 6px, var(--die-edge) 6px 10px) !important; }
.pat-cracks .face { background-image: linear-gradient(120deg, transparent 45%, #ff7a1a 47%, transparent 50%), radial-gradient(circle at 30% 25%, #4a1a0a, var(--die-face)) !important; }
.pat-wood .face { background-image: repeating-linear-gradient(90deg, var(--die-face) 0 4px, var(--die-edge) 4px 6px) !important; }
.pat-shine .face { background-image: linear-gradient(135deg, #fff8 0%, transparent 30%), radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--die-face) 70%, #fff), var(--die-face) 55%, var(--die-edge)) !important; }

/* ---------- loja / coleção ---------- */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.tabs button.on { background: var(--accent2); }
.item-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.item { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 8px; position: relative; }
.item .rar { position: absolute; top: 8px; right: 8px; font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.item .prev { height: 84px; display: grid; place-items: center; border-radius: 10px; background: radial-gradient(circle, #ffffff10, transparent 70%); }
.item .nm { font-weight: 700; }
.item .price { display: flex; gap: 6px; flex-wrap: wrap; }
.item.owned { border-color: #22c55e66; }
.item.equipped { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.item .tag { position: absolute; top: 8px; left: 8px; font-size: 10px; background: var(--bad); padding: 2px 6px; border-radius: 6px; font-weight: 800; }
.cost { display: inline-flex; gap: 4px; align-items: center; font-weight: 800; }
.cost.coins { color: var(--coin); } .cost.gems { color: var(--gem); }
button.primary .cost, button.gold .cost, .btn-gold .cost { color: inherit; }
.bundle { border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 10px; border: 1px solid #ffffff22; position: relative; overflow: hidden; min-height: 220px; }
.bundle h3 { font-size: 19px; text-shadow: 0 2px 8px #000a; }
.bundle .minis { display: flex; gap: 6px; flex-wrap: wrap; }
.bundle .mini { background: #0006; border-radius: 10px; padding: 4px; width: 62px; height: 62px; display: grid; place-items: center; overflow: hidden; }
.bundle .mini > * { transform: scale(.7); }
.bundle .save { position: absolute; top: 12px; right: 12px; background: var(--bad); font-weight: 900; padding: 4px 8px; border-radius: 8px; font-size: 12px; }
.gem-pack { text-align: center; padding: 18px 12px; }
.gem-pack .gems { font-size: 26px; font-weight: 900; color: var(--gem); }
.gem-pack .bonus { color: var(--good); font-size: 13px; font-weight: 700; min-height: 18px; }
.club-card { background: linear-gradient(135deg, #0e7490, #1e3a8a 60%, #581c87); border-radius: 18px; padding: 22px; }
.club-card ul { padding-left: 18px; } .club-card li { margin: 4px 0; }
.season-track { display: grid; grid-auto-flow: column; grid-auto-columns: 120px; gap: 8px; overflow-x: auto; padding-bottom: 8px; }
.tier { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 8px; display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; text-align: center; }
.tier.reached { border-color: var(--accent); }
.tier .rw { background: var(--bg2); border-radius: 8px; padding: 6px; min-height: 52px; display: grid; place-items: center; }
.tier .rw.prem { background: linear-gradient(135deg, #3b2a00, #1f1500); }

/* miniaturas */
.die-flat { width: 40px; height: 40px; border-radius: 9px; display: inline-grid; grid-template: repeat(3, 1fr) / repeat(3, 1fr); padding: 5px; background: radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--die-face) 70%, #fff), var(--die-face) 55%, var(--die-edge)); box-shadow: 0 0 12px var(--die-glow), inset 0 -3px 6px #0004; }
.die-flat i.pip::after { width: 7px; height: 7px; }
.prev-dice { display: flex; gap: 8px; } .prev-dice .die-flat:nth-child(2) { transform: rotate(14deg); }
.prev-fx { position: relative; width: 120px; height: 60px; } .prev-fx span { position: absolute; right: 10px; top: 14px; font-size: 26px; filter: drop-shadow(0 0 8px var(--fx)); }
.prev-fx i { position: absolute; left: 6px; top: 30px; width: 80px; height: 4px; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--fx2), var(--fx)); box-shadow: 0 0 10px var(--fx); }
.prev-victory { font-size: 40px; width: 90px; height: 70px; display: grid; place-items: center; border-radius: 12px; background: radial-gradient(circle, var(--c1), transparent 70%); }
.prev-emote { font-size: 26px; font-weight: 900; background: #0f172a; border-radius: 12px; padding: 6px 12px; border: 1px solid #fff3; }
.prev-title { font-size: 34px; } .prev-name { font-size: 22px; font-weight: 900; }
.theme-swatch { width: 110px; height: 68px; border-radius: 10px; }
.avatar { display: inline-grid; place-items: center; border-radius: 50%; flex: none; box-shadow: 0 0 0 2px var(--frame), 0 0 10px var(--frame-glow); }
.avatar.frame-double { box-shadow: 0 0 0 2px var(--frame), 0 0 0 4px #0b1220, 0 0 0 6px var(--frame), 0 0 12px var(--frame-glow); }
.avatar.frame-neon { box-shadow: 0 0 0 2px var(--frame), 0 0 14px 2px var(--frame-glow); animation: neon 1.6s infinite alternate; }
@keyframes neon { to { box-shadow: 0 0 0 2px var(--frame), 0 0 22px 5px var(--frame-glow); } }
.name-rainbow { background: linear-gradient(90deg, #ef4444, #f59e0b, #22c55e, #3b82f6, #a855f7); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 800; }
.celebrate { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 95; }

/* perfil / presentes */
.list { display: flex; flex-direction: column; gap: 8px; }
.list-item { display: flex; align-items: center; gap: 10px; padding: 10px; background: var(--bg2); border: 1px solid var(--line); border-radius: 12px; }
.ledger td { padding: 4px 6px; font-size: 13px; border-bottom: 1px solid var(--line); }
.plus { color: var(--good); } .minus { color: var(--bad); }
.footer { text-align: center; padding: 24px; color: var(--muted); font-size: 12.5px; }
.footer a { color: var(--muted); margin: 0 6px; }
.welcome { max-width: 460px; margin: 8vh auto; text-align: center; }
.welcome .logo-big { display: block; width: 190px; height: 190px; margin: -6px auto 8px; object-fit: contain; filter: drop-shadow(0 18px 40px #3e7bfa55); }

/* Seletor de mapas por categoria (Home) */
.map-cats { display: grid; gap: 10px; }
.map-cat-title { text-transform: uppercase; letter-spacing: .08em; font-weight: 700; margin-bottom: 6px; }
