/* Charme Pro App — mesmo sistema do site: base preta, roxo como ação, dourado só como acento. */
:root {
  --ink: #0a0a0a;
  --ink-2: #131015;
  --ink-3: #1c1722;
  --plum: #2a0d33;
  --plum-700: #3d1140;
  --purple: #9b1fe0;
  --purple-hi: #b34af2;
  --lilac: #dcaaff;
  --gold: #ffc90a;
  --text: #f6f3f9;
  --muted: #bdb5c8;
  --line: rgba(255, 255, 255, 0.14);
  --danger: #ff6b6b;
  --font-display: "Anton", Impact, "Arial Narrow", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pad: 20px;
  --tabs-h: 64px;
  --top-h: 56px;
  --ease: cubic-bezier(0.2, 0, 0, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior-y: none;
}
img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

/* ---------- casca ---------- */
.top {
  position: sticky; top: 0; z-index: 20;
  height: calc(var(--top-h) + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) var(--pad) 0;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.top__brand img { height: 34px; width: auto; }
.top__me {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--purple); font-weight: 700; font-size: 0.95rem;
}

#view {
  min-height: 100svh;
  padding: 20px var(--pad) calc(var(--tabs-h) + env(safe-area-inset-bottom) + 28px);
  max-width: 880px; margin: 0 auto;
  outline: none;
}
#view.is-auth { padding-bottom: 40px; }

.tabs {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  height: calc(var(--tabs-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: rgba(19, 16, 21, 0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
}
.tabs a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  font-size: 0.7rem; font-weight: 600; color: var(--muted);
  transition: color 0.2s var(--ease);
}
.tabs svg { width: 22px; height: 22px; fill: currentColor; }
.tabs a[aria-current="page"] { color: #fff; }
.tabs a[aria-current="page"] svg { fill: var(--purple-hi); }

/* ---------- tipografia ---------- */
.display, h1.t, h2.t {
  font-family: var(--font-display); font-weight: 400;
  text-transform: uppercase; letter-spacing: 0.01em; line-height: 0.98;
}
h1.t { font-size: clamp(2.6rem, 11vw, 4.2rem); }
h2.t { font-size: clamp(1.7rem, 7vw, 2.4rem); margin-bottom: 14px; }
.t em { font-style: normal; color: transparent; -webkit-text-stroke: 1.5px var(--purple-hi); }
.eyebrow { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lilac); margin-bottom: 8px; }
.muted { color: var(--muted); }
.lead { color: var(--muted); font-size: 1.05rem; margin-top: 10px; }
.sec { margin-top: 36px; }
.sec__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.sec__head a { font-size: 0.85rem; font-weight: 600; color: var(--lilac); }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  background: var(--purple); color: #fff; font-weight: 700;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn:hover { background: var(--purple-hi); }
.btn:active { transform: scale(0.98); }
.btn--ghost { background: transparent; border: 1.5px solid var(--line); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.06); }
.btn--block { display: flex; width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: wait; }

/* ---------- cartões ---------- */
.card {
  background: var(--ink-2); border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
}
.hero-card {
  position: relative; padding: 24px; border-radius: 20px; overflow: hidden;
  background: linear-gradient(145deg, var(--plum-700), var(--plum) 60%, var(--ink-2));
  border: 1px solid rgba(179, 74, 242, 0.35);
}
.hero-card .count { font-family: var(--font-display); font-size: 3.4rem; line-height: 1; color: var(--gold); }
.hero-card .count small { font-family: var(--font-body); font-size: 0.9rem; font-weight: 600; color: var(--lilac); margin-left: 6px; }
.hero-card h2 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 2rem; line-height: 1; margin: 10px 0 6px; }
.hero-card .btn { margin-top: 18px; }

.shortcuts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.shortcut { padding: 18px 16px; border-radius: 16px; background: var(--ink-2); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; transition: border-color 0.2s var(--ease); }
.shortcut:hover { border-color: var(--purple-hi); }
.shortcut b { font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; text-transform: uppercase; }
.shortcut span { font-size: 0.85rem; color: var(--muted); }

/* ---------- grade de conteúdo ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.item { text-align: left; width: 100%; display: flex; flex-direction: column; }
.item__cover {
  position: relative; aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--plum-700), var(--ink-3));
  display: grid; place-items: center; overflow: hidden;
}
.item__cover img { width: 100%; height: 100%; object-fit: cover; }
.item__cover .play { position: absolute; width: 46px; height: 46px; border-radius: 50%; background: rgba(155, 31, 224, 0.92); display: grid; place-items: center; }
.item__cover .play svg { width: 20px; height: 20px; fill: #fff; margin-left: 2px; }
.item.is-locked .item__cover img { filter: grayscale(1) brightness(0.45); }
.item.is-locked .play { background: rgba(0, 0, 0, 0.7); border: 1.5px solid var(--line); }
.item__dur { position: absolute; right: 8px; bottom: 8px; background: rgba(0, 0, 0, 0.78); font-size: 0.72rem; font-weight: 600; padding: 2px 8px; border-radius: 999px; }
.item__body { padding: 12px 14px 14px; }
.item__cat { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--lilac); }
.item__title { font-weight: 600; margin-top: 2px; line-height: 1.3; }
.item__lock { font-size: 0.8rem; color: var(--gold); margin-top: 4px; }

.audio-row { display: flex; align-items: center; gap: 14px; padding: 12px 14px; text-align: left; width: 100%; }
.audio-row .ico { flex: none; width: 48px; height: 48px; border-radius: 12px; background: linear-gradient(135deg, var(--purple), var(--plum-700)); display: grid; place-items: center; }
.audio-row .ico svg { width: 22px; height: 22px; fill: #fff; }
.audio-row.is-locked .ico { background: var(--ink-3); }
.audio-row__t { font-weight: 600; line-height: 1.3; }
.audio-row__s { font-size: 0.82rem; color: var(--muted); }
.stack { display: flex; flex-direction: column; gap: 10px; }

/* ---------- filtros ---------- */
.chips { display: flex; gap: 8px; overflow-x: auto; margin: 16px calc(var(--pad) * -1) 0; padding: 0 var(--pad) 4px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 600; font-size: 0.9rem; color: var(--muted); }
.chip[aria-pressed="true"] { background: var(--purple); border-color: var(--purple); color: #fff; }
.search { width: 100%; min-height: 48px; margin-top: 16px; padding: 0 16px; background: var(--ink-2); border: 1.5px solid var(--line); border-radius: 12px; }
.search:focus { border-color: var(--purple-hi); outline: none; }

/* ---------- loja e eventos ---------- */
.prod { display: flex; flex-direction: column; }
.prod__img { aspect-ratio: 1; display: grid; place-items: center; background: linear-gradient(135deg, var(--plum-700), var(--ink-3)); font-family: var(--font-display); font-size: 1.4rem; text-transform: uppercase; text-align: center; padding: 16px; color: var(--lilac); }
.prod__img img { width: 100%; height: 100%; object-fit: cover; }
.prod__body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.prod__name { font-weight: 600; }
.prod__price { font-family: var(--font-display); font-size: 1.5rem; color: var(--gold); }
.prod .btn { margin-top: auto; min-height: 44px; font-size: 0.9rem; }
.grid--prod { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .grid--prod { grid-template-columns: repeat(3, 1fr); } }

.ev { padding: 18px; display: flex; gap: 16px; }
.ev__date { flex: none; width: 64px; text-align: center; border-radius: 12px; background: var(--plum-700); padding: 8px 0; }
.ev__date b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 2rem; line-height: 1; }
.ev__date span { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--lilac); }
.ev__tipo { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--lilac); }
.ev__t { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 1.5rem; line-height: 1.05; margin: 2px 0 6px; }
.ev__meta { font-size: 0.88rem; color: var(--muted); }
.ev__meta b { color: var(--text); font-weight: 600; }
.ev .btn { margin-top: 14px; min-height: 44px; font-size: 0.9rem; }
.rec { padding: 14px 16px; }
.rec b { display: block; }
.rec span { font-size: 0.88rem; color: var(--muted); }

/* ---------- formulários e perfil ---------- */
.auth { max-width: 420px; margin: 0 auto; padding-top: max(24px, env(safe-area-inset-top)); }
.auth__logo { height: 44px; width: auto; margin-bottom: 36px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; background: var(--ink-2); border-radius: 999px; margin: 24px 0 20px; }
.seg button { min-height: 42px; border-radius: 999px; font-weight: 600; color: var(--muted); }
.seg button[aria-pressed="true"] { background: var(--purple); color: #fff; }
.field { display: block; margin-bottom: 14px; }
.field span { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; color: var(--muted); }
.field input { width: 100%; min-height: 50px; padding: 0 16px; background: var(--ink-2); border: 1.5px solid var(--line); border-radius: 12px; }
.field input:focus { border-color: var(--purple-hi); outline: none; }
.msg { margin: 12px 0; padding: 12px 14px; border-radius: 12px; font-size: 0.92rem; background: var(--ink-2); border: 1px solid var(--line); }
.msg--err { border-color: var(--danger); color: #ffd0d0; }
.msg--ok { border-color: var(--purple-hi); }
.linkbtn { color: var(--lilac); font-weight: 600; font-size: 0.9rem; text-decoration: underline; text-underline-offset: 3px; }
.demo { margin-top: 28px; padding: 16px; border: 1.5px dashed var(--gold); border-radius: 16px; }
.demo b { color: var(--gold); }
.demo .stack { margin-top: 12px; }

.perfil__avatar { width: 72px; height: 72px; border-radius: 50%; background: var(--purple); display: grid; place-items: center; font-family: var(--font-display); font-size: 2rem; margin-bottom: 14px; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.badge { padding: 4px 12px; border-radius: 999px; font-size: 0.82rem; font-weight: 600; background: var(--plum-700); border: 1px solid rgba(179, 74, 242, 0.4); }
.badge--none { background: var(--ink-2); border-color: var(--line); color: var(--muted); }

.empty { text-align: center; padding: 48px 12px; color: var(--muted); }
.loading { display: grid; place-items: center; min-height: 40svh; color: var(--muted); }

/* ---------- janela (player e avisos) ---------- */
dialog { width: min(720px, 100vw - 24px); max-height: 92svh; padding: 0; border: 1px solid var(--line); border-radius: 20px; background: var(--ink-2); color: var(--text); overflow: auto; }
dialog::backdrop { background: rgba(0, 0, 0, 0.82); }
.dlg__x { position: absolute; top: 8px; right: 10px; z-index: 10; width: 40px; height: 40px; border-radius: 50%; background: rgba(0, 0, 0, 0.7); font-size: 1.6rem; line-height: 1; }
.dlg__inner { padding: 20px; }
.dlg__inner h2 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 1.7rem; line-height: 1.05; margin-bottom: 8px; padding-right: 36px; }
.dlg__frame { aspect-ratio: 16 / 9; width: 100%; background: #000; }
.dlg__frame iframe { width: 100%; height: 100%; border: 0; }
.dlg__frame--audio { aspect-ratio: auto; background: transparent; }
.dlg__frame--audio iframe { height: 232px; border-radius: 12px; }
.dlg__frame--list iframe { height: 380px; }
.dlg__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

@media (min-width: 880px) {
  .tabs { left: 50%; right: auto; transform: translateX(-50%); width: 560px; bottom: 16px; border: 1px solid var(--line); border-radius: 999px; height: var(--tabs-h); padding-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* player próprio */
.vp { position: relative; background: #000; }
.vp__stage { position: relative; aspect-ratio: 16 / 9; background: #000; }
.vp__stage #player, .vp__stage iframe, .vp__stage video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vp__poster { position: absolute; inset: 0; z-index: 2; display: none; place-items: center; background: #000; pointer-events: none; }
.vp.is-fresh .vp__poster { display: grid; }
.vp__poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }
.vp__poster .play { position: relative; width: 64px; height: 64px; border-radius: 50%; background: var(--purple); display: grid; place-items: center; }
.vp__poster .play svg { width: 30px; height: 30px; fill: #fff; margin-left: 3px; }
.vp__tap { position: absolute; inset: 0; z-index: 3; width: 100%; background: transparent; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.vp__bar { position: relative; z-index: 4; padding: 10px 14px 14px; background: var(--ink-2); transition: opacity 0.25s var(--ease); }
.vp__transport { display: flex; align-items: center; gap: 10px; }
.vp__btn { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--purple); }
.vp__btn svg { width: 22px; height: 22px; fill: #fff; }
.vp__time { flex: none; font-size: 0.8rem; font-variant-numeric: tabular-nums; color: var(--muted); min-width: 2.6em; text-align: center; }
.vp__transport input[type="range"] { flex: 1; min-width: 0; height: 32px; accent-color: var(--purple-hi); }
.ctl { margin-top: 10px; display: flex; flex-direction: column; gap: 10px; }
.ctl__row { display: flex; flex-wrap: wrap; gap: 8px; }
.ctl__trecho { font-size: 0.9rem; color: var(--gold); font-weight: 600; }
.vp:fullscreen, .vp.is-pseudo { display: flex; flex-direction: column; justify-content: center; }
.vp.is-pseudo { position: fixed; inset: 0; z-index: 100; height: 100dvh; background: #000; }
.vp:fullscreen .vp__stage, .vp.is-pseudo .vp__stage { aspect-ratio: auto; flex: 1; }
.vp:fullscreen .vp__bar, .vp.is-pseudo .vp__bar { position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(transparent, rgba(0, 0, 0, 0.88)); padding-bottom: calc(14px + env(safe-area-inset-bottom)); }
.vp.is-idle:fullscreen .vp__bar, .vp.is-pseudo.is-idle .vp__bar { opacity: 0; pointer-events: none; }

/* celular deitado: vídeo ocupa a tela toda, barra por cima e some sozinha */
@media (orientation: landscape) and (max-height: 540px) {
  dialog[open] { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; border: 0; border-radius: 0; overflow: hidden; }
  .vp { height: 100dvh; }
  .vp__stage { aspect-ratio: auto; height: 100%; }
  .vp__bar { position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(transparent, rgba(0, 0, 0, 0.88)); padding: 24px max(14px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left)); }
  .vp.is-idle .vp__bar { opacity: 0; pointer-events: none; }
  .ctl { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 6px; }
  .dlg__inner--v { display: none; }
  .dlg__x { top: max(8px, env(safe-area-inset-top)); right: max(10px, env(safe-area-inset-right)); }
}

.vp__stage video { object-fit: contain; background: #000; }

/* painel de gestão */
#view.is-wide { max-width: 1100px; }
.kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.kpi { padding: 16px; display: flex; flex-direction: column; gap: 2px; }
.kpi b { font-family: var(--font-display); font-weight: 400; font-size: 2.4rem; line-height: 1; }
.kpi span { font-size: 0.85rem; color: var(--muted); }
.kpi--alerta { border-color: var(--gold); }
.kpi--alerta b { color: var(--gold); }
.adm-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 14px 16px; text-align: left; }
.adm-row .badges { margin-top: 0; justify-content: flex-end; flex: none; max-width: 50%; }
.badge--alerta { background: rgba(255, 201, 10, 0.14); border-color: var(--gold); color: var(--gold); }
@media (max-width: 560px) { .adm-row { flex-direction: column; align-items: flex-start; } .adm-row .badges { justify-content: flex-start; max-width: none; } }
.field select, .field textarea { width: 100%; padding: 12px 16px; background: var(--ink-2); border: 1.5px solid var(--line); border-radius: 12px; min-height: 50px; }
.field select:focus, .field textarea:focus { border-color: var(--purple-hi); outline: none; }
fieldset.field { border: 0; padding: 0; margin: 0 0 14px; min-width: 0; }
.check { display: flex; align-items: center; gap: 10px; min-height: 40px; font-size: 0.95rem; }
.check input { width: 20px; height: 20px; accent-color: var(--purple-hi); flex: none; }
.hint { display: block; margin-top: 6px; font-size: 0.8rem; color: var(--muted); }
.field select, .field textarea { font: inherit; color: var(--text); }
.field select option { background: var(--ink-2); color: var(--text); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }

/* busca no topo */
.top__right { display: flex; align-items: center; gap: 10px; }
.top__ico { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line); }
.top__ico svg { width: 20px; height: 20px; fill: #fff; }

/* controles compactos do player: botões que abrem menu */
.ctl { position: relative; }
.chip--menu::after { content: "▾"; margin-left: 6px; opacity: 0.7; }
.chip--menu b { font-weight: 700; color: #fff; }
.chip--menu[aria-expanded="true"] { border-color: var(--purple-hi); }
.pop { position: absolute; bottom: calc(100% + 8px); z-index: 8; min-width: 150px; padding: 6px; background: var(--ink-3); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55); }
.pop button { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 44px; padding: 0 14px; border-radius: 10px; text-align: left; font-weight: 600; }
.pop button[aria-checked="true"] { background: rgba(155, 31, 224, 0.28); }
.pop button[aria-checked="true"]::after { content: "✓"; color: var(--lilac); }

/* descrição com lista de músicas: respeita as quebras de linha */
.desc { white-space: pre-line; }

/* módulos */
.grid--mod { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.mod { display: flex; flex-direction: column; }
.mod__cover { aspect-ratio: 16 / 9; display: grid; place-items: center; padding: 14px; text-align: center; background: linear-gradient(135deg, var(--plum-700), var(--purple) 140%); font-family: var(--font-display); font-size: 1.5rem; line-height: 1; text-transform: uppercase; overflow: hidden; }
.mod__cover img { width: 100%; height: 100%; object-fit: cover; }
.item__n { position: absolute; left: 8px; top: 8px; width: 28px; height: 28px; border-radius: 50%; background: var(--gold); color: #000; font-weight: 800; font-size: 0.85rem; display: grid; place-items: center; }

/* progresso, sequência, conquistas, ranking, avisos */
.item__ok { position: absolute; right: 8px; top: 8px; width: 26px; height: 26px; border-radius: 50%; background: #2fbf71; color: #04210f; font-weight: 800; display: grid; place-items: center; font-size: 0.9rem; }
.item__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255, 255, 255, 0.25); }
.item__bar i, .bar i { display: block; height: 100%; background: var(--purple-hi); }
.bar { display: block; height: 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.14); overflow: hidden; margin-top: 8px; }
.chip--streak { display: inline-flex; align-items: center; border-color: var(--gold); color: var(--gold); }
.cont { display: block; width: 100%; text-align: left; padding: 18px; }
.cont__t { font-family: var(--font-display); font-size: 1.5rem; text-transform: uppercase; line-height: 1.05; margin: 4px 0; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.selos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-top: 14px; }
.selo { padding: 12px 14px; border-radius: 14px; border: 1.5px dashed var(--line); opacity: 0.55; }
.selo b { display: block; font-size: 0.95rem; }
.selo span { font-size: 0.78rem; color: var(--muted); }
.selo.is-on { opacity: 1; border: 1.5px solid var(--gold); background: rgba(255, 201, 10, 0.08); }
.selo.is-on b { color: var(--gold); }
.rank { display: flex; align-items: center; gap: 14px; padding: 14px 16px; }
.rank.is-eu { border-color: var(--purple-hi); background: rgba(155, 31, 224, 0.15); }
.rank__n { font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; width: 2ch; }
.rank__nome { flex: 1; font-weight: 600; }
.aviso { padding: 16px; }
.aviso.is-novo { border-color: var(--purple-hi); }
.aviso__t { font-weight: 700; }
.top__bell { position: relative; }
.top__dot { position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 999px; background: var(--gold); color: #000; font-size: 0.7rem; font-weight: 800; display: grid; place-items: center; }
#toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--tabs-h) + env(safe-area-inset-bottom) + 18px); z-index: 300; max-width: min(92vw, 420px); padding: 12px 18px; border-radius: 999px; background: var(--gold); color: #000; font-weight: 700; font-size: 0.92rem; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); text-align: center; }
