/* ==================================================================
   Promo hub — tabs, missões, check-in, folha de sequência,
   modal de oferta e menu. Tokens herdados de styles.css.
   ================================================================== */

.hub-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 4px 0 18px; }
.hub-head h1 { display: flex; align-items: center; gap: 10px; margin: 0; font-family: var(--font-display); font-size: 28px; font-weight: 700; letter-spacing: -.03em; text-transform: uppercase; }
.hub-head h1 svg { width: 20px; height: 20px; color: var(--lime); }
.hub-head__action { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface); color: #dbe6ee; flex: none; }
.hub-head__action svg { width: 16px; height: 16px; }
.hub-head__action:hover { background: var(--surface-2); color: #fff; }

/* ---- tabs ---- */
.hub-tabs { margin: 0 0 16px; overflow-x: auto; overflow-y: hidden; padding-bottom: 2px; scrollbar-width: none; }
.hub-tabs::-webkit-scrollbar { display: none; }
.hub-tabs ul { display: flex; align-items: center; gap: 8px; margin: 0; padding: 0; list-style: none; min-width: max-content; }
.hub-tabs a {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px;
  border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface);
  color: #cfdae3; font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap;
}
.hub-tabs a svg { width: 14px; height: 14px; }
.hub-tabs a:hover { background: var(--surface-2); color: #fff; }
.hub-tabs a[aria-current="page"], .hub-tabs a.is-active { background: var(--lime); border-color: var(--lime); color: #101C24; }

/* ---- toolbar ---- */
.hub-toolbar { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.hub-search { position: relative; flex: 1 1 auto; min-width: 0; }
.hub-search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--muted); }
.hub-search input {
  width: 100%; height: 46px; padding: 0 14px 0 40px; border: 1px solid var(--line-strong);
  border-radius: 12px; background: var(--surface); color: #fff; font-size: 13px;
}
.hub-search input::placeholder { color: #8ea0ae; }
.hub-select { position: relative; flex: 0 0 auto; }
.hub-select select {
  height: 46px; padding: 0 34px 0 14px; border: 1px solid var(--line-strong); border-radius: 12px;
  background: var(--surface) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A9B9C6' stroke-width='2' stroke-linecap='round'><path d='m6 9 6 6 6-6'/></svg>") no-repeat right 10px center / 16px;
  color: #dbe6ee; font-size: 12px; font-weight: 700; appearance: none;
}

/* ---- filter pills ---- */
.hub-filters { display: flex; gap: 8px; margin: 0 0 18px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.hub-filters::-webkit-scrollbar { display: none; }
.hub-filter {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; flex: 0 0 auto;
  border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface);
  color: #cfdae3; font-size: 12px; font-weight: 700; white-space: nowrap;
}
.hub-filter b { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: #ffffff1a; font-size: 10px; font-weight: 800; }
.hub-filter.is-active { background: var(--lime); border-color: var(--lime); color: #101C24; }
.hub-filter.is-active b { background: #101c2433; color: #101C24; }

/* ---- gate / empty ---- */
.hub-gate[hidden] { display: none; }
.hub-gate {
  display: grid; gap: 10px; justify-items: center; text-align: center;
  padding: 28px 22px; border: 1px dashed var(--line-strong); border-radius: 18px;
  background: linear-gradient(180deg, #1F3141, #182835);
}
.hub-gate svg { width: 34px; height: 34px; color: var(--lime); }
.hub-gate h2 { margin: 0; font-family: var(--font-display); font-size: 17px; text-transform: uppercase; letter-spacing: .02em; }
.hub-gate p { margin: 0; max-width: 420px; color: var(--muted); font-size: 12.5px; line-height: 1.5; }
.hub-gate .btn-primary { margin-top: 6px; height: 44px; padding: 0 26px; }

/* ---- mission cards ---- */
.hub-list { display: grid; gap: 14px; }
.hub-card {
  position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 18px;
  background: var(--surface); padding: 16px;
}
.hub-card__top { display: flex; align-items: flex-start; gap: 14px; }
.hub-card__badge {
  display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 6px;
  background: #ffffff14; color: #dbe6ee; font-size: 9px; font-weight: 800; letter-spacing: .14em;
}
.hub-card h2 { margin: 10px 0 4px; font-size: 15.5px; line-height: 1.3; font-weight: 700; }
.hub-card__desc { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.hub-card__body { flex: 1 1 auto; min-width: 0; }
.hub-card__art { position: relative; flex: 0 0 112px; width: 112px; height: 84px; border-radius: 12px; overflow: hidden; background: #101C24; }
.hub-card__art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hub-card__go {
  position: absolute; top: -2px; right: -2px; display: grid; place-items: center;
  width: 28px; height: 28px; border-radius: 50%; background: #fff; color: #101C24;
}
.hub-card__go svg { width: 14px; height: 14px; transform: rotate(-45deg); }
.hub-card__reward { margin: 14px 0 0; }
.hub-card__reward span { display: block; font-size: 9px; font-weight: 800; letter-spacing: .16em; color: #9fb0bd; }
.hub-card__reward b { display: block; margin-top: 2px; font-family: var(--font-display); font-size: 21px; font-weight: 800; color: var(--lime); letter-spacing: -.02em; }
.hub-card__reward small { display: block; color: #8ea0ae; font-size: 10.5px; }
.hub-progress { margin-top: 14px; }
.hub-progress__bar { height: 8px; border-radius: 999px; background: #101C24; overflow: hidden; box-shadow: inset 0 1px 2px #0008; }
.hub-progress__fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, #9BFFBF, #FEFF4A); }
.hub-progress__meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 7px; font-size: 11px; color: #cfdae3; }
.hub-progress__meta b { font-weight: 700; }
.hub-step { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 9px 11px; border-radius: 10px; background: #101c2480; color: #cfdae3; font-size: 11.5px; }
.hub-step svg { width: 13px; height: 13px; color: #7f93a2; flex: none; }
.hub-step.is-done svg { color: var(--green); }
.hub-card__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 12px; font-size: 11px; color: #8ea0ae; }
.hub-card__foot svg { width: 12px; height: 12px; vertical-align: -1px; }
.hub-card__foot .link { color: #cfdae3; text-decoration: underline; text-underline-offset: 2px; }
.hub-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 48px; margin-top: 12px;
  border: 0; border-radius: 12px; background: var(--lime); color: #101C24;
  font-size: 12.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
}
.hub-btn:hover { filter: brightness(1.06); }
.hub-btn[disabled] { background: #ffffff14; color: #8ea0ae; cursor: not-allowed; }
.hub-btn--ghost { background: #ffffff14; color: #dbe6ee; }

/* ---- check-in block ---- */
.hub-checkin {
  display: grid; gap: 10px; justify-items: center; text-align: center;
  padding: 24px 20px; margin-bottom: 20px; border-radius: 18px;
  border: 1px solid var(--line); background: radial-gradient(120% 90% at 50% 0%, #29435B, #16232d 70%);
}
.hub-checkin svg.flame { width: 30px; height: 30px; color: var(--lime); }
.hub-checkin h3 { margin: 0; font-family: var(--font-display); font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.hub-checkin p { margin: 0; max-width: 440px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.hub-checkin .btn-primary { height: 42px; padding: 0 24px; margin-top: 4px; }

/* ---- promo grid filter ---- */
.promo-card.is-off { display: none; }

/* ---- bottom sheet base ---- */
.sheet-backdrop {
  position: fixed; inset: 0; z-index: 120; display: flex; align-items: flex-end; justify-content: center;
  background: #000000b3; backdrop-filter: blur(4px);
}
.sheet-backdrop[hidden] { display: none; }
.sheet {
  position: relative; width: 100%; max-width: 460px; max-height: 92dvh; overflow-y: auto;
  border-radius: 26px 26px 0 0; border-top: 1px solid var(--line-strong);
  background: #16232d; padding: 12px 18px calc(20px + env(safe-area-inset-bottom));
  box-shadow: 0 -20px 60px #00000080; animation: sheet-in .22s ease-out;
}
@keyframes sheet-in { from { transform: translateY(18px); opacity: .4; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .sheet { animation: none; } }
.sheet__grip { width: 42px; height: 4px; margin: 0 auto 14px; border-radius: 999px; background: #ffffff2e; }
.sheet__close {
  position: absolute; top: 12px; right: 12px; display: grid; place-items: center;
  width: 34px; height: 34px; border: 0; border-radius: 50%; background: #ffffff1a; color: #fff;
}
.sheet__close svg { width: 15px; height: 15px; }
.sheet h2 { margin: 6px 0 4px; font-family: var(--font-display); font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.sheet p.lead { margin: 0 0 14px; color: var(--muted); font-size: 12.5px; line-height: 1.5; }

/* ---- streak ---- */
.streak__head { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.streak__fire { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: #ffffff12; flex: none; }
.streak__fire svg { width: 22px; height: 22px; color: var(--lime); }
.streak__count { font-family: var(--font-display); font-size: 20px; font-weight: 800; line-height: 1.1; }
.streak__count small { display: block; font-size: 10px; font-weight: 700; letter-spacing: .14em; color: #8ea0ae; text-transform: uppercase; }
.streak__days { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin: 16px 0 6px; }
.streak__day {
  display: grid; justify-items: center; gap: 4px; padding: 10px 2px 8px; border-radius: 12px;
  border: 1px solid var(--line-strong); background: #101C24; color: #8ea0ae;
}
.streak__day b { font-size: 11px; font-weight: 800; }
.streak__day span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #ffffff10; font-size: 11px; font-weight: 800; color: #cfdae3; }
.streak__day small { font-size: 8.5px; font-weight: 700; letter-spacing: .04em; color: #7f93a2; }
.streak__day.is-done { border-color: #9BFFBF55; background: #9BFFBF14; }
.streak__day.is-done span { background: var(--green); color: #101C24; }
.streak__day.is-today { border-color: var(--lime); background: #FEFF4A14; color: #fff; }
.streak__day.is-today span { background: var(--lime); color: #101C24; }
.streak__xp { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; padding: 11px 14px; border-radius: 12px; background: #101c2480; font-size: 12px; color: #cfdae3; }
.streak__xp b { color: var(--lime); }

/* ---- offer modal ---- */
.offer { max-width: 430px; padding: 0; overflow: hidden; background: #0b1a14; }
.offer__art { position: relative; margin: 0; }
.offer__art img { display: block; width: 100%; height: auto; }
.offer__art::after { content: ""; position: absolute; inset: auto 0 0; height: 44%; background: linear-gradient(180deg, #0b1a1400, #0b1a14f2 62%, #0b1a14); }
.offer__copy { position: relative; margin-top: -58px; padding: 0 20px 18px; text-align: center; z-index: 1; }
.offer__kicker { display: block; color: #fff; font-family: var(--font-display); font-size: 15px; font-weight: 800; letter-spacing: .01em; text-transform: uppercase; }
.offer__big {
  display: block; margin: 2px 0 4px; color: var(--lime); font-family: var(--font-display);
  font-size: clamp(36px, 13vw, 54px); line-height: .92; font-weight: 900; font-style: italic;
  letter-spacing: -.045em; text-transform: uppercase; text-shadow: 0 4px 0 #00000055;
}
.offer__sub { display: block; color: #fff; font-family: var(--font-display); font-size: 15px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; }
.offer__logo { display: block; margin: 10px auto 0; width: 118px; height: auto; }
.offer .hub-btn { margin-top: 16px; height: 52px; font-size: 14px; border-radius: 14px; }
@media (min-width: 641px) {
  .sheet-backdrop { align-items: center; padding: 24px; }
  .sheet { border-radius: 24px; border: 1px solid var(--line-strong); }
  .offer { width: 430px; }
}

/* ---- menu sheet ---- */
.menu-sheet { max-width: 430px; padding-bottom: calc(18px + env(safe-area-inset-bottom)); }
.menu-sheet__profile { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: var(--surface); margin-bottom: 14px; }
.menu-sheet__profile img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; background: #101C24; }
.menu-sheet__profile b { display: block; font-size: 13px; }
.menu-sheet__profile small { display: block; color: var(--muted); font-size: 11px; }
.menu-sheet__group { margin-top: 14px; }
.menu-sheet__group span { display: block; margin: 0 4px 8px; font-size: 9px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #7f93a2; }
.menu-sheet__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.menu-sheet__grid a { display: grid; justify-items: center; gap: 7px; padding: 12px 4px; border-radius: 12px; background: var(--surface); color: #dbe6ee; font-size: 9.5px; font-weight: 700; text-align: center; }
.menu-sheet__grid a:hover { background: var(--surface-2); color: #fff; }
.menu-sheet__grid svg { width: 20px; height: 20px; color: var(--lime); }
.menu-sheet__grid img { width: 30px; height: 30px; object-fit: contain; }

/* ---- mobile sizing ---- */
@media (max-width: 990px) {
  .hub-head h1 { font-size: 20px; }
  .hub-head { margin-bottom: 12px; }
  .hub-card { padding: 14px; border-radius: 16px; }
  .hub-card h2 { font-size: 14.5px; }
  .hub-card__art { flex-basis: 102px; width: 102px; height: 78px; }
  .hub-card__reward b { font-size: 19px; }
  .hub-toolbar { gap: 8px; }
  .hub-search input, .hub-select select { height: 44px; }
}

@media (min-width: 1000px) {
  .hub-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hub-list--single { grid-template-columns: minmax(0, 1fr); }
}

/* ---- gate compacto ---- */
.hub-gate--bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 16px; margin-bottom: 16px; border-style: solid; background: linear-gradient(90deg, #1F3141, #2A4256 60%, #1F3141); text-align: left; }
.hub-gate--bar p { margin: 0; max-width: none; font-size: 12px; }
.hub-gate--bar .btn-primary { height: 36px; padding: 0 20px; margin: 0; flex: none; }

.hub-note { margin: 18px 0; text-align: center; color: var(--muted); font-size: 12.5px; }

/* ---- footer ---- */
.site-footer__grid { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 28px; }
.site-footer__brand { max-width: 340px; }
.site-footer__brand img { width: 132px; height: auto; margin-bottom: 12px; }
.site-footer__brand p { margin: 0; color: #8d9fae; font-size: 12px; line-height: 1.6; }
.site-footer__seals { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.site-footer__seal {
  display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 10px 18px; flex: 1 1 160px;
  border: 1px solid var(--line); border-radius: 14px; background: #ffffff08;
}
.site-footer__seal b { display: block; font-size: 12px; font-weight: 800; letter-spacing: .02em; color: #dbe6ee; }
.site-footer__seal small { display: block; color: #7f93a2; font-size: 9.5px; }
.site-footer__seal--pix { flex: 0 0 auto; }
.site-footer__legal { margin-top: 18px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: #ffffff08; }
.site-footer__legal b { display: block; margin-bottom: 10px; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #dbe6ee; }
.site-footer__legal p { margin: 0 0 10px; color: #8d9fae; font-size: 11.5px; line-height: 1.65; }
.site-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 20px; }
.site-footer__age { display: inline-flex; align-items: center; gap: 10px; color: #8d9fae; font-size: 11px; }
.site-footer__age b { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid #ffffff2e; border-radius: 50%; color: #fff; font-size: 11px; }
.site-footer__lang { display: flex; gap: 6px; }
.site-footer__lang button { height: 30px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 8px; background: transparent; color: #8d9fae; font-size: 10px; font-weight: 800; letter-spacing: .05em; }
.site-footer__lang button[aria-pressed="true"] { background: #ffffff14; color: #fff; }

@media (max-width: 990px) {
  .hub-gate--bar { flex-direction: column; align-items: flex-start; gap: 10px; }
  .site-footer__grid { flex-direction: column; gap: 22px; }
  .site-footer__seals { flex-direction: column; }
  .site-footer__seal { width: 100%; }
}

/* bottom nav compacto (5 itens) */
.bottom-nav__play { white-space: nowrap; }
@media (max-width: 990px) {
  .site-footer__seal { flex: 0 0 auto; }
}

/* card art arrow inside the frame */
.hub-card__go { top: 6px; right: 6px; width: 26px; height: 26px; box-shadow: 0 4px 10px #0006; }

/* header enxuto no mobile */
@media (max-width: 620px) {
  .topbar__account { gap: 6px; }
  .topbar__account .deposit,
  .topbar__account .icon-btn { display: none; }
}

/* tipografia das recompensas */
.hub-card__reward span { text-transform: uppercase; }
.hub-card__reward b { text-transform: uppercase; letter-spacing: -.01em; }
@media (min-width: 1000px) {
  .hub-checkin { max-width: 760px; }
}

/* hero de categoria/jogo: scrim + título legível */
.cat-hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, #0B141ABA 0%, #0B141A66 38%, #0B141A00 66%);
}
.cat-hero h1 { max-width: 64%; line-height: .94; }
@media (max-width: 900px) {
  .cat-hero img { object-position: 78% 32%; }
  .cat-hero::after { background: linear-gradient(90deg, #0B141AF5 0%, #0B141AB8 44%, #0B141A00 82%); }
  .cat-hero h1 { font-size: 33px; max-width: 76%; padding: 0 18px; }
  .cat-hero p { left: 18px; bottom: 16px; }
}

/* ---------- Top 10 jogadores (rail de avatares) ---------- */
.players { margin: 22px 0 6px; }
.players .winners__head { align-items: center; }
.players__rail {
  display: flex; align-items: flex-start; gap: 16px; margin: 16px 0 0;
  padding: 10px 2px 12px; list-style: none; overflow-x: auto; overflow-y: hidden;
  scrollbar-width: none; scroll-snap-type: x proximity;
}
.players__rail::-webkit-scrollbar { display: none; }
.player { flex: 0 0 86px; width: 86px; text-align: center; scroll-snap-align: start; }
.player__link { display: block; color: inherit; }
.player__avatar { position: relative; display: block; width: 68px; height: 68px; margin: 0 auto; }
.player__avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; background: #17222B; }
.player__ring { position: absolute; inset: 0; border-radius: 50%; border: 3px solid; pointer-events: none; }
.player__rank {
  position: absolute; left: 50%; bottom: -8px; transform: translateX(-50%);
  display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid var(--bg); font-size: 11px; font-weight: 800; line-height: 1;
}
.player__crown { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); width: 18px; height: 18px; color: #E8B923; filter: drop-shadow(0 2px 3px #0009); z-index: 3; }
.player__name { display: block; margin-top: 15px; font-size: 11px; font-weight: 600; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player__prize { display: block; font-size: 11px; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; }
.player__link:hover .player__avatar img { filter: brightness(1.08); }

/* ---------- Hall da Vila Galera ---------- */
.cast-lead { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 0 0 6px; color: var(--muted); font-size: 12.5px; line-height: 1.55; }
.cast-lead img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 2px solid var(--lime); }
.cast-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); gap: 12px; margin-top: 18px; }
.cast-card {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 14px; background: var(--surface);
  scroll-margin-top: 90px;
}
.cast-card:target { border-color: var(--lime); box-shadow: 0 0 0 1px #FEFF4A55; }
.cast-card__avatar { position: relative; flex: none; width: 58px; height: 58px; border-radius: 50%; border: 2px solid; }
.cast-card__avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.cast-card__avatar b {
  position: absolute; right: -5px; bottom: -5px; display: grid; place-items: center;
  width: 21px; height: 21px; border-radius: 50%; border: 2px solid var(--bg); font-size: 10px; font-weight: 800;
}
.cast-card__info { flex: 1 1 auto; min-width: 0; }
.cast-card__info strong { display: block; font-size: 13px; }
.cast-card__info small { display: block; color: var(--muted); font-size: 11px; }
.cast-card__fav { display: inline-block; margin-top: 5px; padding: 2px 8px; border-radius: 999px; background: #9BFFBF14; color: #9BFFBF; font-size: 9.5px; font-weight: 700; }
.cast-card__prize { flex: none; font-size: 13px; font-weight: 800; white-space: nowrap; }

@media (max-width: 990px) {
  .players { margin: 18px 0 4px; }
  .players__rail { gap: 8px; margin-top: 12px; }
  .player { flex-basis: 66px; width: 66px; }
  .player__avatar { width: 48px; height: 48px; }
  .player__name, .player__prize { font-size: 10px; }
  .player__name { margin-top: 12px; }
  .player__rank { width: 18px; height: 18px; font-size: 9px; bottom: -7px; }
  .player__crown { width: 15px; height: 15px; top: -11px; }
  .cast-grid { grid-template-columns: 1fr; }
}

/* ---------- aviso do app: telefone + logo ---------- */
.download-toast[hidden] { display: none !important; }
.download-toast__phone {
  position: relative; flex: none; width: 38px; height: 56px; border-radius: 10px;
  background: linear-gradient(160deg, #2E4A63, #17222B);
  border: 1.5px solid #ffffff26;
  box-shadow: inset 0 0 0 1.5px #0b141a, 0 6px 12px #0007;
  display: grid; place-items: center;
}
.download-toast__phone::after {
  content: ""; position: absolute; top: 5px; left: 50%; transform: translateX(-50%);
  width: 10px; height: 2px; border-radius: 2px; background: #ffffff33;
}
.download-toast__screen {
  display: grid; place-items: center; width: 28px; height: 44px; margin-top: 2px;
  border-radius: 5px; background: radial-gradient(120% 90% at 50% 0%, #1F3141, #101C24);
  overflow: hidden;
}
.download-toast__screen img { width: 17px; height: auto; display: block; }
.download-toast__arrow {
  position: absolute; right: -8px; bottom: -8px; display: grid; place-items: center;
  width: 24px; height: 24px; border-radius: 50%; background: var(--lime); color: #101C24;
  border: 2px solid #17222B; box-shadow: 0 3px 8px #0009;
}
.download-toast__arrow svg { width: 12px; height: 12px; stroke-width: 2.4; }
.download-toast__copy { display: flex; align-items: center; gap: 9px; min-width: 0; }
.download-toast__copy > span { display: grid; gap: 1px; min-width: 0; }
.download-toast__logo { height: 24px; width: auto; flex: none; }
.download-toast__close { flex: none; }

@media (max-width: 990px) {
  .download-toast__phone { width: 34px; height: 50px; }
  .download-toast__screen { width: 25px; height: 39px; }
  .download-toast__screen img { width: 15px; }
  .download-toast__arrow { width: 21px; height: 21px; right: -7px; bottom: -7px; }
  .download-toast__logo { height: 20px; }
}

/* ---------- aviso do app: mais destaque para o bônus ---------- */
.download-toast { max-width: 470px; padding: 12px 14px 12px 12px; gap: 14px; }
.download-toast__copy { gap: 12px; }
.download-toast__logo { height: 34px; }
.download-toast__copy b {
  display: flex; align-items: baseline; gap: 5px;
  font-size: 14px; font-weight: 800; letter-spacing: .01em; text-transform: uppercase; line-height: 1.1;
}
.download-toast__copy b em {
  font-style: normal; font-family: var(--font-display); font-size: 22px; font-weight: 900;
  letter-spacing: -.02em; color: var(--lime); text-shadow: 0 2px 10px #FEFF4A33;
}
.download-toast__copy small { font-size: 10.5px; color: #a9b9c6; }
.download-toast__cta { height: 42px; padding: 0 18px; font-size: 11px; border-radius: 10px; }

@media (max-width: 990px) {
  .download-toast { gap: 11px; padding: 10px 11px; }
  .download-toast__logo { height: 26px; }
  .download-toast__copy { gap: 9px; }
  .download-toast__copy b { font-size: 11.5px; }
  .download-toast__copy b em { font-size: 18px; }
  .download-toast__copy small { font-size: 9.5px; }
  .download-toast__cta { height: 38px; padding: 0 13px; font-size: 10px; }
}

/* avatar de iniciais (usuários reais sem foto) */
.player__initials {
  display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%;
  font-family: var(--font-display); font-weight: 800; font-size: 19px; letter-spacing: .02em;
}
.cast-card__avatar .player__initials { font-size: 16px; }
.players__note { margin: 2px 0 0; color: #7f93a2; font-size: 10px; }

/* ---------- VIP: miniatura com brasão ---------- */
.vip-card--cta { align-items: center; }
.vip-card__thumb {
  flex: none; width: 56px; height: 56px; border-radius: 14px; overflow: hidden;
  border: 1px solid #ffffff1f; background: #101C24; box-shadow: 0 6px 16px #0007;
}
.vip-card__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- herói de páginas internas ---------- */
.inner-hero {
  position: relative; overflow: hidden; display: flex; align-items: center;
  height: 190px; margin-bottom: 18px; border-radius: 16px;
  background: radial-gradient(circle at 78% 30%, #29435B, #17222B 62%, #101C24);
}
.inner-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% 34%; }
.inner-hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, #0B141AC9 0%, #0B141A88 40%, #0B141A00 70%);
}
.inner-hero__copy { position: relative; z-index: 2; padding: 0 26px; max-width: 70%; }
.inner-hero__copy span { display: block; font-size: 9.5px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--lime); }
.inner-hero__copy h1 { margin: 6px 0 6px; font-family: var(--font-display); font-size: 30px; font-weight: 800; letter-spacing: -.02em; text-transform: uppercase; }
.inner-hero__copy p { margin: 0; color: #cfdae3; font-size: 12px; line-height: 1.45; }

@media (max-width: 900px) {
  .inner-hero { height: 172px; }
  .inner-hero img { object-position: 78% 32%; }
  .inner-hero__copy { padding: 0 18px; max-width: 82%; }
  .inner-hero__copy h1 { font-size: 23px; }
  .inner-hero__copy p { font-size: 11px; }
  .vip-card__thumb { width: 48px; height: 48px; border-radius: 12px; }
}

/* ---------- auth: banner 2 e etapa de retenção ---------- */
.auth-sheet__banner.is-alt {
  background: radial-gradient(120% 110% at 78% 42%, #24405A, #0E1A22 72%);
}
.auth-sheet__banner.is-alt img { object-fit: contain; object-position: right center; }
.auth-sheet__banner.is-alt .auth-banner__copy { max-width: 52%; }

.auth-hold {
  position: absolute; inset: 0; z-index: 6; display: grid; align-content: center; justify-items: center;
  gap: 10px; padding: 32px 26px; text-align: center; border-radius: 24px;
  background: radial-gradient(120% 90% at 50% 0%, #21384B, #12202A 72%);
}
.auth-hold[hidden] { display: none; }
.auth-hold__icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: #ffffff12; }
.auth-hold__icon svg { width: 26px; height: 26px; color: var(--lime); }
.auth-hold h2 { margin: 4px 0 0; font-family: var(--font-display); font-size: 20px; font-weight: 800; line-height: 1.2; letter-spacing: -.02em; }
.auth-hold p { margin: 0 0 8px; max-width: 290px; color: #a9b9c6; font-size: 12.5px; line-height: 1.55; }
.auth-hold__actions { display: grid; gap: 9px; width: 100%; max-width: 300px; margin-top: 8px; }
.auth-hold__back {
  height: 46px; border: 0; border-radius: 12px; background: var(--lime); color: #101C24;
  font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
}
.auth-hold__cancel {
  height: 44px; border: 1px solid #ffffff26; border-radius: 12px; background: transparent;
  color: #cfdae3; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.auth-hold__cancel:hover { background: #ffffff0f; color: #fff; }

/* ---------- notificações ---------- */
.icon-btn[data-notif-open] { position: relative; }
[data-notif-badge] {
  position: absolute; top: 4px; right: 4px; width: 8px; height: 8px; border-radius: 50%;
  background: var(--lime); box-shadow: 0 0 0 2px #17222B;
}
[data-notif-badge].is-off { display: none; }

.notif-backdrop {
  position: fixed; inset: 0; z-index: 130; display: flex; justify-content: flex-end; align-items: flex-start;
  padding: 74px 22px 0; background: #0000008c; backdrop-filter: blur(3px);
}
.notif-backdrop[hidden] { display: none; }
.notif-panel {
  width: 100%; max-width: 380px; max-height: min(70vh, 560px); overflow: hidden;
  display: flex; flex-direction: column; border: 1px solid var(--line-strong); border-radius: 18px;
  background: #16232d; box-shadow: 0 24px 60px #000000a8;
}
.notif-panel__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.notif-panel__head h2 { margin: 0; font-family: var(--font-display); font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.notif-panel__actions { display: flex; align-items: center; gap: 8px; }
.notif-panel__read { border: 0; background: transparent; color: var(--lime); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.notif-panel__close { display: grid; place-items: center; width: 28px; height: 28px; border: 0; border-radius: 50%; background: #ffffff14; color: #fff; }
.notif-panel__close svg { width: 13px; height: 13px; }
.notif-list { margin: 0; padding: 6px; list-style: none; overflow-y: auto; }
.notif-item__link { display: flex; gap: 12px; padding: 11px 10px; border-radius: 12px; color: inherit; align-items: flex-start; }
.notif-item__link:hover { background: #ffffff0a; }
.notif-item__icon { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 11px; background: #ffffff10; }
.notif-item__icon svg { width: 17px; height: 17px; color: var(--lime); }
.notif-item__body { flex: 1 1 auto; min-width: 0; display: grid; gap: 2px; }
.notif-item__body strong { font-size: 12.5px; font-weight: 700; }
.notif-item__body span { color: #a9b9c6; font-size: 11px; line-height: 1.45; }
.notif-item__body small { color: #7f93a2; font-size: 9.5px; }
.notif-item__dot { width: 7px; height: 7px; margin-top: 5px; border-radius: 50%; background: transparent; flex: none; }
.notif-item.is-unread .notif-item__dot { background: var(--lime); }
.notif-item.is-unread .notif-item__body strong { color: #fff; }

@media (max-width: 700px) {
  .notif-backdrop { align-items: flex-end; padding: 0; }
  .notif-panel { max-width: none; width: 100%; max-height: 82dvh; border-radius: 24px 24px 0 0; border-bottom: 0; padding-bottom: env(safe-area-inset-bottom); }
  .notif-panel::before { content: ""; width: 40px; height: 4px; margin: 10px auto 0; border-radius: 999px; background: #ffffff2e; display: block; }
}

/* ---------- página do jogo: espaçamento do CTA e saída centralizada ---------- */
.game-frame__play { gap: 16px; padding: 0 32px; }
.game-info__exit { align-self: center; width: 100%; max-width: 240px; margin: 12px auto 0; text-align: center; }

/* ---------- provedor oficial (chip) ---------- */
.game-info__provider {
  display: inline-flex; align-items: center; gap: 8px; margin: 2px 0 12px;
  padding: 5px 12px 5px 5px; border: 1px solid #ffffff1f; border-radius: 999px;
  background: #ffffff0d; font-size: 11px; font-weight: 700; letter-spacing: .02em;
}
.provider-chip__mark {
  display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  background: linear-gradient(160deg, #FEFF4A, #C9D63A); color: #101C24;
  font-family: var(--font-display); font-size: 12px; font-weight: 900;
}
.provider-chip__tag {
  padding: 2px 7px; border-radius: 999px; background: #9BFFBF1f; color: var(--green);
  font-size: 8.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
}

/* ---------- VIP: miniatura em destaque ---------- */
.vip-card__thumb {
  width: 72px; height: 72px; border-radius: 18px; border: 2px solid #FEFF4A66;
  box-shadow: 0 0 0 3px #FEFF4A14, 0 10px 26px #000000a8, inset 0 0 18px #00000066;
  transform: rotate(-3deg);
}
.vip-card__thumb img { transition: transform .25s ease; }
.vip-card--cta:hover .vip-card__thumb img { transform: scale(1.06); }
@media (max-width: 900px) {
  .vip-card__thumb { width: 62px; height: 62px; border-radius: 15px; }
}

/* ---------- jogo: capa e CTA sem sobreposição ---------- */
.game-frame {
  grid-template-rows: minmax(0, 1fr) auto;
  row-gap: 14px;
  padding: 20px 18px 18px;
}
.game-frame img {
  position: relative;
  width: auto;
  max-width: 190px;
  max-height: 100%;
  margin: 0 auto;
  align-self: end;
  object-fit: contain;
}
.game-frame__play {
  position: static;
  transform: none;
  margin: 0 auto;
}
@media (max-width: 900px) {
  .game-frame { aspect-ratio: 1 / 1; padding: 18px 14px 14px; }
  .game-frame img { max-width: 170px; }
}

/* ---------- cartão de progresso VIP ---------- */
.vip-card--progress { display: grid; gap: 16px; align-content: start; }
.vip-card--progress header { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.vip-card--progress header b {
  padding: 4px 10px; border-radius: 999px; background: #ffffff12; color: #dbe6ee;
  font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
}
.vip-progress { display: grid; gap: 10px; }
.vip-progress__value {
  display: flex; align-items: baseline; gap: 8px;
  font-family: var(--font-display); font-size: 30px; font-weight: 800; line-height: 1; color: var(--lime);
  letter-spacing: -.02em;
}
.vip-progress__value small { font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #8ea0ae; }
.vip-progress .progress { height: 8px; }
.vip-progress__foot { display: flex; align-items: center; justify-content: space-between; font-size: 11px; color: #8ea0ae; }
.vip-progress__foot b { color: #dbe6ee; }

/* ---------- seletor de avatar ---------- */
.avatar-picker {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(52px, 1fr));
  gap: 8px; max-height: 320px; overflow-y: auto; padding: 2px;
}
.avatar-option {
  position: relative; padding: 0; border: 2px solid transparent; border-radius: 50%;
  background: #101C24; overflow: hidden; aspect-ratio: 1; cursor: pointer;
}
.avatar-option img { width: 100%; height: 100%; object-fit: cover; display: block; }
.avatar-option:hover { border-color: #ffffff33; }
.avatar-option.is-on { border-color: var(--lime); box-shadow: 0 0 0 2px #101C24, 0 0 14px #FEFF4A55; }
.avatar-option[disabled] { opacity: .6; }
@media (max-width: 900px) {
  .avatar-picker { grid-template-columns: repeat(auto-fill, minmax(46px, 1fr)); }
}

.cast-lead img { width: 64px; height: 64px; flex: 0 0 64px; border-radius: 50%; }
.cast-lead span { flex: 1 1 auto; min-width: 0; }

/* ---------- VIP: miniatura +30% e cartão de progresso renovado ---------- */
.vip-card__thumb { width: 94px; height: 94px; border-radius: 22px; }
.vip-card--progress { display: grid; gap: 14px; align-content: start; }
.vip-card--progress header b {
  padding: 5px 11px; border-radius: 999px; background: #ffffff12; color: #dbe6ee;
  font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
}
.vip-progress { display: flex; align-items: center; gap: 16px; }
.vip-ring {
  --p: 0;
  position: relative; flex: none; display: grid; place-items: center;
  width: 68px; height: 68px; border-radius: 50%;
  background: conic-gradient(var(--lime) calc(var(--p) * 1%), #ffffff17 0);
  box-shadow: 0 0 18px #FEFF4A22;
}
.vip-ring::after {
  content: ""; position: absolute; inset: 6px; border-radius: 50%;
  background: radial-gradient(circle at 40% 30%, #29435B, #17222B 72%);
}
.vip-ring span {
  position: relative; z-index: 1; font-family: var(--font-display); font-size: 17px;
  font-weight: 800; letter-spacing: -.02em; color: #fff;
}
.vip-progress__meta { flex: 1 1 auto; min-width: 0; display: grid; gap: 5px; }
.vip-progress__meta strong { font-size: 13.5px; font-weight: 700; }
.vip-progress__meta small { color: #8ea0ae; font-size: 11px; line-height: 1.4; }
.vip-progress__meta .progress { margin-top: 4px; height: 7px; }
@media (max-width: 900px) {
  .vip-card__thumb { width: 80px; height: 80px; border-radius: 19px; }
  .vip-ring { width: 60px; height: 60px; }
  .vip-ring span { font-size: 15px; }
}

/* ---------- logos oficiais de provedor ---------- */
.provider-logo { display: inline-flex; align-items: center; justify-content: center; flex: none; }
.provider-logo img { display: block; width: auto; height: 100%; object-fit: contain; }
.provider-logo--sm { height: 20px; max-width: 64px; }
.provider-logo--md { height: 22px; max-width: 92px; }
.provider-mark {
  display: grid; place-items: center; flex: none; border-radius: 50%;
  background: linear-gradient(160deg, #FEFF4A, #C9D63A); color: #101C24;
  font-family: var(--font-display); font-weight: 900;
}
.provider-mark--sm { width: 24px; height: 24px; font-size: 12px; }
.provider-mark--md { width: 26px; height: 26px; font-size: 13px; }
.provider-block__head h2 { display: flex; align-items: center; gap: 10px; }
.provider-block__head h2 span { font-size: inherit; }
.game-info__provider b { white-space: nowrap; }

/* ---------- aviso do app: layout com melhor aproveitamento ---------- */
.download-toast {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center; gap: 14px; max-width: 520px; padding: 14px 16px 14px 14px;
}
.download-toast__close {
  position: absolute; top: 6px; right: 6px; width: 22px; height: 22px; z-index: 2;
  color: #8ea0ae;
}
.download-toast__close:hover { color: #fff; background: #ffffff14; }
.download-toast__copy { display: flex; align-items: center; gap: 12px; min-width: 0; }
.download-toast__logo { height: 40px; }
.download-toast__copy > span { display: grid; gap: 2px; min-width: 0; }
.download-toast__copy b { font-size: 15px; }
.download-toast__copy small { font-size: 11px; }
.download-toast__phone { width: 44px; height: 64px; }
.download-toast__screen { width: 33px; height: 51px; }
.download-toast__screen img { width: 20px; }
.download-toast__arrow { width: 26px; height: 26px; }
.download-toast__arrow svg { width: 13px; height: 13px; }
.download-toast__cta { height: 46px; padding: 0 22px; font-size: 12px; }

@media (max-width: 990px) {
  .download-toast { gap: 11px; padding: 12px 12px; max-width: none; }
  .download-toast__phone { width: 38px; height: 56px; }
  .download-toast__screen { width: 28px; height: 44px; }
  .download-toast__screen img { width: 17px; }
  .download-toast__arrow { width: 22px; height: 22px; }
  .download-toast__logo { height: 30px; }
  .download-toast__copy { gap: 9px; }
  .download-toast__copy b { font-size: 12.5px; }
  .download-toast__copy small { font-size: 9.5px; }
  .download-toast__cta { height: 40px; padding: 0 14px; font-size: 10.5px; }
}

.provider-logo--md { height: 26px; max-width: 118px; }
.provider-block__head h2 .provider-logo img { filter: drop-shadow(0 2px 6px #0006); }

/* ---------- rail de provedores com logos ---------- */
.provider-rail {
  display: flex; align-items: center; gap: 8px; margin: 0 0 16px;
  overflow-x: auto; overflow-y: hidden; padding: 2px 1px 6px; scrollbar-width: none;
}
.provider-rail::-webkit-scrollbar { display: none; }
.provider-pill {
  flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
  min-width: 92px; height: 42px; padding: 0 14px;
  border: 1px solid var(--line-strong); border-radius: 12px;
  background: #ffffff08; color: #cfdae3; font-size: 11px; font-weight: 700;
  transition: border-color .15s ease, background .15s ease;
}
.provider-pill:hover { background: #ffffff12; border-color: #ffffff33; }
.provider-pill.is-active { border-color: var(--lime); background: #FEFF4A14; box-shadow: 0 0 0 1px #FEFF4A44; }
.provider-pill .provider-logo { max-height: 22px; }
.provider-pill .provider-logo img { max-height: 22px; }
.provider-pill .provider-mark--sm { width: 22px; height: 22px; font-size: 11px; }

/* ---------- fechar do aviso do app mais acima ---------- */
.download-toast__close {
  top: -9px; right: -7px; width: 24px; height: 24px;
  background: #1F3141; border: 1px solid #ffffff26; color: #dbe6ee;
  box-shadow: 0 4px 12px #0009;
}
.download-toast__close svg { width: 12px; height: 12px; }
.download-toast__close:hover { background: var(--lime); color: #101C24; border-color: var(--lime); }

/* ---------- aviso do app: textos +20% ---------- */
.download-toast__copy b { font-size: 18px; }
.download-toast__copy b em { font-size: 26px; }
.download-toast__copy small { font-size: 13px; }
@media (max-width: 990px) {
  .download-toast__copy b { font-size: 15px; }
  .download-toast__copy b em { font-size: 21px; }
  .download-toast__copy small { font-size: 11.5px; }
}

/* ---------- aviso do app: logo +20% ---------- */
.download-toast__logo { height: 48px; }
@media (max-width: 990px) { .download-toast__logo { height: 36px; } }

/* ---------- botão do app com ícone do sistema ---------- */
.download-toast__cta { display: inline-flex; align-items: center; gap: 8px; }
.download-toast__os { width: 16px; height: 16px; flex: none; }
.download-toast__cta span { line-height: 1; }
@media (max-width: 990px) {
  .download-toast__os { width: 14px; height: 14px; }
}

/* ---------- aviso do app: sem quebra de linha ---------- */
.download-toast__copy b { white-space: nowrap; }
.download-toast__copy small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 990px) {
  .download-toast__copy b { font-size: 13.5px; }
  .download-toast__copy b em { font-size: 19px; }
  .download-toast__copy small { font-size: 10.5px; }
  .download-toast__logo { height: 32px; }
  .download-toast { gap: 9px; }
  .download-toast__cta { padding: 0 12px; gap: 6px; }
}

/* ---------- aviso do app: caber no mobile ---------- */
.download-toast__copy > span { min-width: 0; overflow: hidden; }
.download-toast__copy b { overflow: hidden; text-overflow: ellipsis; }
.dl-app-word { display: inline; }
@media (max-width: 990px) {
  .dl-app-word { display: none; }
  .download-toast__copy b { font-size: 13px; }
  .download-toast__copy b em { font-size: 18px; }
  .download-toast__copy { gap: 8px; }
  .download-toast__logo { height: 30px; }
}

/* Oferta: mantem a arte e o botao visiveis sem arrastar (mobile-first) */
.sheet.offer {
  display: flex;
  flex-direction: column;
  max-height: min(92dvh, 780px);
  overflow: hidden;
}
.offer__art { flex: 0 1 auto; min-height: 0; overflow: hidden; }
.offer__art img {
  width: 100%;
  height: auto;
  max-height: 44dvh;
  object-fit: cover;
  object-position: center 20%;
}
.offer__copy { flex: 0 0 auto; overflow-y: auto; }
.offer .hub-btn { margin-top: 12px; }
@media (max-height: 640px) {
  .offer__art img { max-height: 32dvh; }
  .sheet.offer { max-height: 96dvh; }
}
@media (max-height: 480px) {
  .offer__art img { max-height: 26dvh; }
}
