/* ==========================================================================
   Seções da home — medidas conferidas com o layout de referência (1920px)
   ========================================================================== */

/* Espaçamento entre blocos da home: 24px dentro do grupo de jogos, 32px entre grupos */
.home > * + * { margin-top: 24px; }
.home > .races-row, .home > .bets { margin-top: 32px; }
.home > .about { margin-top: 52px; }

/* ---------- Hero (260px, gap 16, ativo 602 / inativos 197) ---------- */
.hero { position: relative; }
.hero-track { display: flex; gap: 16px; height: 260px; }
.hero-slide {
  position: relative; flex: 0 0 calc((100% - 48px) * 0.1655); min-width: 0; height: 100%;
  border-radius: 12px; overflow: hidden; cursor: pointer; isolation: isolate;
  background: rgba(3, 18, 26, 0.7);
  transition: flex-basis 500ms var(--ease), background var(--t);
}
.hero-slide.is-active { flex: 1 1 auto; background: var(--bg-elev); cursor: default; }
@media (min-width: 1024px) { .hero-slide.is-offstage { display: none; } }
.hero-art { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-shade { display: none; }

.hero-content { position: relative; height: 100%; padding: 30px 20px; display: flex; flex-direction: column; }
.hero-kind { display: block; height: 24px; font-size: 14px; line-height: 16px; color: var(--muted-2); white-space: nowrap; }
.hero-mid { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 12px; width: 70%; max-width: 390px; }
.hero-title { font-size: 32px; font-weight: 600; line-height: 1; text-transform: uppercase; color: #fff; max-width: 334px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hero-sub { font-size: 14px; line-height: 19.6px; color: #fff; max-width: 334px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hero-ctas { display: flex; align-items: center; gap: 8px; }
.hero-ctas .btn { --h: 40px; padding: 0 16px; font-size: 14px; font-weight: 500; border-radius: 8px; }
.hero-ctas .btn-outline-light { border: 1px solid var(--brand); color: #fff; background: transparent; }
.hero-ctas .btn-outline-light:hover { background: var(--brand-soft); }
.hero-slide.is-active .hero-mid > *, .hero-slide.is-active .hero-ctas { animation: fadeIn 500ms var(--ease) both; }
.hero-slide.is-active .hero-mid > *:nth-child(2) { animation-delay: 60ms; }
.hero-slide.is-active .hero-ctas { animation-delay: 120ms; }

/* compactos: rótulo no topo (15px) e título 18px a 62px do topo */
.hero-slide:not(.is-active) .hero-content { padding: 15px 20px; }
.hero-slide:not(.is-active) .hero-kind { font-size: 12px; }
.hero-slide:not(.is-active) .hero-mid { position: absolute; top: 62px; left: 20px; width: 146px; display: block; }
.hero-slide:not(.is-active) .hero-title { font-size: 18px; line-height: 18px; -webkit-line-clamp: 4; }
.hero-slide:not(.is-active) .hero-sub, .hero-slide:not(.is-active) .hero-ctas { display: none; }
.hero-hit { position: absolute; inset: 0; z-index: 1; }
.hero-slide.is-active .hero-hit { display: none; }

/* artes: imagem principal 260x260 à direita (-55px nos compactos) */
.promo-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.5; }
.promo-img { position: absolute; top: 0; right: 0; width: 260px; height: 260px; max-width: none; object-fit: contain; -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%); mask-image: linear-gradient(90deg, transparent, #000 18%); }
.hero-slide:not(.is-active) .promo-img { right: -55px; }
.promo-games { position: absolute; top: 0; right: 0; width: 260px; height: 260px; }
.promo-games .pg { position: absolute; width: 104px; border-radius: 10px; box-shadow: 0 14px 30px -8px rgba(0,0,0,0.8); }
.promo-games .pg-0 { left: 14px; top: 58px; transform: rotate(-10deg); }
.promo-games .pg-1 { left: 74px; top: 34px; z-index: 2; width: 118px; transform: rotate(2deg); }
.promo-games .pg-2 { left: 142px; top: 62px; transform: rotate(11deg); }
.promo-games.single .pg-1 { left: 60px; top: 30px; width: 140px; }
.hero-slide:not(.is-active) .promo-games { right: -55px; }
.hero-slide.is-active .promo-games .pg { animation: floatY 5s ease-in-out infinite; }
.hero-slide.is-active .promo-games .pg-1 { animation-delay: -1.5s; }
.hero-slide.is-active .promo-games .pg-2 { animation-delay: -3s; }
.promo-vip { position: absolute; top: 0; right: 0; width: 260px; height: 260px; display: flex; align-items: center; justify-content: center; }
.promo-vip .pv { filter: drop-shadow(0 12px 22px rgba(0,0,0,0.55)); animation: floatY 5s ease-in-out infinite; }
.promo-vip .pv-1 { transform: scale(1.3); margin: 0 -8px; z-index: 2; animation-delay: -1.2s; }
.promo-vip .pv-2 { animation-delay: -2.4s; }
.hero-slide:not(.is-active) .promo-vip { right: -55px; }

.hero-dots { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
.hero-dot { width: 16px; height: 4px; border-radius: 99px; background: var(--surface-2); transition: width 500ms var(--ease), background 500ms; }
.hero-dot.is-active { width: 32px; background: var(--brand); }

@media (max-width: 1023px) {
  .hero-track { height: 220px; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .hero-track::-webkit-scrollbar { display: none; }
  .hero-slide, .hero-slide.is-active { flex: 0 0 100%; scroll-snap-align: start; background: var(--bg-elev); }
  .hero-slide:not(.is-active) .hero-content { padding: 24px 18px; }
  .hero-slide:not(.is-active) .hero-mid { position: static; width: 70%; display: flex; }
  .hero-slide:not(.is-active) .hero-title { font-size: 24px; line-height: 1; -webkit-line-clamp: 2; }
  .hero-slide:not(.is-active) .hero-sub, .hero-slide:not(.is-active) .hero-ctas { display: flex; }
  .hero-slide .promo-img, .hero-slide:not(.is-active) .promo-img, .hero-slide .promo-games, .hero-slide:not(.is-active) .promo-games, .hero-slide .promo-vip, .hero-slide:not(.is-active) .promo-vip { right: -40px; top: -20px; }
  .hero-hit { display: none; }
  .hero-title { font-size: 24px; }
}
@media (max-width: 767px) {
  .hero-track { height: 173px; gap: 16px; }
  .hero-slide, .hero-slide.is-active { border-radius: 8px; }
  .hero-content, .hero-slide:not(.is-active) .hero-content { padding: 8px 12px 16px; }
  .hero-kind, .hero-slide:not(.is-active) .hero-kind { height: 16px; font-size: 12px; line-height: 16px; }
  .hero-mid, .hero-slide:not(.is-active) .hero-mid { width: 230px; max-width: 62%; gap: 12px; }
  .hero-title, .hero-slide:not(.is-active) .hero-title { font-size: 24px; line-height: 24px; max-width: 230px; -webkit-line-clamp: 2; }
  .hero-sub { font-size: 13px; line-height: 17px; max-width: 184px; }
  .hero-ctas .btn { --h: 32px; padding: 0 16px; font-size: 14px; border-radius: 4px; }
  .hero-slide .promo-img, .hero-slide:not(.is-active) .promo-img { top: 0; right: 0; width: 197px; height: 173px; opacity: 1; }
  .hero-slide .promo-games, .hero-slide:not(.is-active) .promo-games, .hero-slide .promo-vip, .hero-slide:not(.is-active) .promo-vip { top: -30px; right: -60px; opacity: 1; transform: scale(.8); transform-origin: top right; }
  .hero-dots { margin-top: 12px; }
  /* texto e botões ficam sobre a arte: véu à esquerda garante leitura */
  .hero-shade { display: block; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, #03121a 0%, rgba(3, 18, 26, .82) 40%, rgba(3, 18, 26, 0) 72%); }
}


/* ---------- Jogos de mesa (3 x 405x216, gap 12) ---------- */
.table-row .section-head { margin-bottom: 0; }
.table-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.table-card { display: block; border-radius: 8px; overflow: hidden; aspect-ratio: 405 / 216; background: var(--bg-elev); }
.table-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
.table-card:hover img { transform: scale(1.04); }
@media (max-width: 767px) { .table-grid { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 78%; overflow-x: auto; scrollbar-width: none; } }

/* ---------- Vitórias ao vivo (cards 104x180, gap 2) ---------- */
.live-wins { position: relative; }
.live-wins .section-head { min-height: 25px; margin-bottom: 20px; }
.live-wins-badge {
  position: absolute; top: 40px; left: 0; z-index: 2; height: 20px; padding: 0 6px 0 4px;
  display: inline-flex; align-items: center; gap: 2px; border-radius: 4px; background: var(--brand);
  font-size: 10px; line-height: 10px; color: #fff;
}
.live-dot { position: relative; width: 16px; height: 16px; display: grid; place-items: center; }
.live-dot::before, .live-dot::after { content: ''; position: absolute; width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.live-dot::before { opacity: 0.75; animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite; }
.live-wins-track { display: flex; gap: 2px; overflow: hidden; padding-bottom: 8px; }
.win-card { flex: 0 0 104px; display: block; padding: 8px 4px; border-radius: 8px; background: var(--bg); transition: background var(--t); }
.win-card:hover { background: var(--bg-elev); }
.win-card.is-new { animation: slideRightIn 500ms var(--ease); }
.win-media { position: relative; aspect-ratio: 52 / 69; border-radius: 8px; overflow: hidden; }
.win-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.win-info { margin-top: 6px; }
.win-user { height: 14px; font-size: 12px; line-height: 14px; color: var(--muted-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.win-user:hover { color: var(--brand); }
.win-amt { display: flex; align-items: center; gap: 2px; min-height: 16px; font-size: 11px; line-height: 1; font-weight: 600; color: var(--win); }
.win-amt .coin-ic { width: 16px; height: 16px; font-size: 5px; }
@media (max-width: 1023px) { .win-card { flex-basis: 95px; } }

/* ---------- Corridas (2 x 612x245, gap 16) ---------- */
.races-row .section-head { min-height: 25px; margin-bottom: 12px; }
.races-row .section-title { color: #fff; }
.races-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.race-card { background: var(--bg-elev); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 10px 30px rgba(0,0,0,0.25); }
.race-main { display: flex; gap: 16px; align-items: center; padding: 20px; flex: 1; }
.race-info { flex: 1; min-width: 0; }
.race-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; font-size: 24px; line-height: 34px; font-weight: 500; color: #fff; }
.race-title .brand { font-weight: 700; }
.race-podium { display: grid; gap: 8px; margin-top: 16px; }
.race-podium li { display: flex; align-items: center; gap: 10px; height: 24px; font-size: 12px; line-height: 14px; color: var(--muted-2); }
.race-pos { position: relative; width: 24px; height: 24px; flex-shrink: 0; display: grid; place-items: center; font-size: 10px; font-weight: 600; color: #fff; }
.race-pos svg { position: absolute; inset: 0; }
.race-pos span { position: relative; }
.race-vip { position: relative; width: 20px; height: 20px; flex-shrink: 0; }
.race-vip .vip-mini { width: 20px; height: 20px; }
.race-user { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.race-line { flex: 1; height: 1px; background: rgba(255,255,255,0.1); min-width: 16px; }
.race-pts { font-variant-numeric: tabular-nums; text-align: right; }
.race-ring { position: relative; width: 100px; height: 100px; flex-shrink: 0; }
.race-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.race-ring circle { fill: none; stroke-width: 8; }
.race-ring .track { stroke: var(--surface); }
.race-ring .fill { stroke: var(--brand); stroke-linecap: round; animation: raceRing 1.6s var(--ease) both; }
.race-ring-text { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; font-size: 14px; line-height: 18px; }
.race-ring-text span { color: var(--muted-2); font-size: 11px; line-height: 14px; white-space: nowrap; }
.race-ring-text strong { white-space: nowrap; }
.race-ring-text strong { font-weight: 400; color: #fff; }
.race-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-top: 1px solid var(--surface); background: rgba(4,16,24,0.6); font-size: 14px; line-height: 20px; }
.race-foot .race-hint { display: flex; align-items: center; gap: 8px; color: var(--arrow); }
.race-foot .btn { --h: 34px; min-width: 89px; padding: 0 16px; border-radius: 8px; border: 1px solid var(--brand); background: transparent; color: #fff; font-size: 16px; font-weight: 500; }
.race-foot .btn:hover { background: var(--brand-soft); }
@media (max-width: 1023px) { .races-grid { grid-template-columns: 1fr; } }
@media (max-width: 479px) { .race-title { font-size: 19px; line-height: 26px; } .race-ring { width: 84px; height: 84px; } .race-ring-text { font-size: 13px; line-height: 16px; } .race-ring-text span { font-size: 10px; line-height: 12px; } .race-main { padding: 16px; } .race-foot { padding: 12px 16px; font-size: 13px; } }

/* VIP mini (emblema com número do nível) */
.vip-mini { position: relative; display: inline-grid; place-items: center; width: 16px; height: 16px; color: var(--c); flex-shrink: 0; }
.vip-mini .ic { width: 100%; height: 100%; }
.vip-mini sub { position: absolute; right: -2px; bottom: -2px; width: 10px; height: 10px; border-radius: 50%; background: var(--surface-3); font-size: 7px; font-weight: 500; line-height: 10px; text-align: center; color: #fff; }

/* ---------- Apostas ---------- */
.bets .section-head { min-height: 25px; margin-bottom: 12px; }
.bets-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.bets-bar .tabs { gap: 8px; flex-wrap: nowrap; }
.bets-bar .tab { height: 40px; padding: 0 16px; border-radius: 8px; border: 1px solid var(--surface-2); color: var(--muted-2); font-size: 14px; line-height: 19.6px; background: transparent; }
.bets-bar .tab:hover { color: #fff; }
.bets-bar .tab.is-active { color: var(--brand); background: var(--surface); }
.bets-size .select { width: 75px; height: 40px; padding-left: 12px; border: 0; border-radius: 8px; background-color: var(--surface); font-size: 16px; }
.bets-table { table-layout: fixed; }
.bets-table col.c-user, .bets-table col.c-game, .bets-table col.c-amt { width: 22.33%; }
.bets-table col.c-mult { width: 13%; }
.bets-table col.c-ret { width: 20%; }
.bets-table th { height: 48px; padding: 0 0 0 12px; font-size: 14px; color: var(--muted-2); overflow: hidden; text-overflow: ellipsis; }
.bets-table td { height: 48px; padding: 0 2px 0 12px; font-size: 14px; line-height: 19.6px; overflow: hidden; text-overflow: ellipsis; }
.bets-table tbody tr:nth-child(odd) td { background: var(--bg-elev); }
.bets-table tbody tr td:first-child { border-radius: 12px 0 0 12px; }
.bets-table tbody tr td:last-child { border-radius: 0 12px 12px 0; }
.bets-table tr.is-new td { animation: slideDownRow 500ms var(--ease); }
.bt-user { display: inline-flex; align-items: center; gap: 4px; max-width: 100%; }
.bt-user > span:last-child { overflow: hidden; text-overflow: ellipsis; }
.bt-game { display: flex; align-items: center; gap: 8px; min-width: 0; }
.bt-game img { width: 28px; height: 36px; border-radius: 4px; object-fit: cover; flex-shrink: 0; }
.bt-game span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bt-game:hover span { color: var(--brand); }
.bt-sport-ic { width: 28px; height: 28px; border-radius: 6px; background: var(--surface); display: grid; place-items: center; color: var(--muted-2); flex-shrink: 0; }
.bt-amt { display: inline-flex; align-items: center; gap: 8px; font-variant-numeric: tabular-nums; }
.bt-amt .coin-ic { width: 16px; height: 16px; font-size: 5px; }
.bt-amt.win { color: var(--win); }
@media (max-width: 767px) { .hide-sm { display: none; } /* células ocultas saem da grade: as 3 visíveis ocupam as 3 primeiras colunas */ .bets-table col.c-user { width: 34%; } .bets-table col.c-game { width: 36%; } .bets-table col.c-amt { width: 30%; } .bets-table col.c-mult, .bets-table col.c-ret { width: 0; } .bets-table td, .bets-table th { padding: 0 6px; font-size: 12.5px; } .bets-bar .tabs { overflow-x: auto; scrollbar-width: none; } .bets-bar .tab { height: 36px; font-size: 13px; white-space: nowrap; } }

/* ---------- Sobre (bloco recolhível) ---------- */
.about.accordion { background: var(--bg-elev); border-radius: 8px; padding: 20px; }
.about .accordion-head { padding: 0; height: 22px; font-size: 18px; font-weight: 500; line-height: 22.32px; }
.about .accordion-content { padding: 0; }
.about-prose { margin-top: 24px; columns: 2; column-gap: 24px; font-size: 14px; line-height: 20px; color: var(--muted); max-width: none; }
.about-prose h1, .about-prose h2 { font-size: 20px; font-weight: 400; line-height: 24.8px; color: #fff; margin: 0 0 16px; break-after: avoid; }
.about-prose p { margin: 0 0 10px; }
.about-prose ul { list-style: disc; padding-left: 24px; margin: 0 0 10px; display: block; }
.about-prose li { margin-bottom: 10px; }
.about-links { margin-top: 32px; }
.about-links h2 { font-size: 20px; font-weight: 400; line-height: 24.8px; color: #fff; margin-bottom: 16px; }
.theme-links { columns: 4; column-gap: 24px; }
.theme-link { display: block; margin-bottom: 4px; break-inside: avoid; color: var(--muted); font-size: 14px; line-height: 19.6px; text-align: left; }
.theme-link:hover { color: var(--brand); }
.about-more { display: flex; justify-content: center; margin-top: 20px; }
.about-more .btn { background: var(--surface-2); font-weight: 500; }
@media (max-width: 1023px) { .about-prose { columns: 1; } .theme-links { columns: 2; } }

/* ---------- Page hero (páginas internas) ---------- */
.page-hero {
  position: relative; overflow: hidden; border-radius: 12px; padding: 32px 28px; min-height: 150px;
  background: radial-gradient(90% 140% at 100% 0%, rgba(16,171,225,0.16), transparent 60%), var(--bg-elev);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.page-hero h1 { display: flex; align-items: center; gap: 12px; font-size: 28px; font-weight: 700; }
.page-hero h1 .ic { color: var(--brand); }
.page-hero p { color: var(--muted); margin-top: 8px; max-width: 620px; font-size: 14.5px; }
@media (max-width: 767px) { .page-hero { padding: 22px 18px; flex-direction: column; align-items: flex-start; } .page-hero h1 { font-size: 22px; } .page-hero > .row { flex-wrap: wrap; } }

/* busca */
.search-overlay { position: fixed; inset: 0; z-index: 450; background: rgba(1, 10, 13, 0.97); backdrop-filter: blur(6px); overflow-y: auto; animation: fadeOpacity 160ms var(--ease); }
.search-overlay.is-leaving { animation: fadeOpacity 160ms reverse forwards; }
.search-inner { padding-top: 24px; padding-bottom: 60px; }
.search-bar { position: relative; display: flex; gap: 10px; align-items: center; }
.search-bar .input-icon { left: 16px; }
.search-input { height: 52px; font-size: 16px; padding-left: 48px; background: var(--bg-elev); }
.search-bar .btn { height: 52px; }
.search-tabs { margin: 16px 0 8px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.search-block { margin-top: 24px; }
.search-block h4 { font-size: 15px; }
.search-block h4 small { font-weight: 400; margin-left: 6px; }
@media (max-width: 767px) { .search-bar .kbd { display: none; } .search-input { height: 46px; } .search-bar .btn { height: 46px; padding: 0 12px; } }

/* chat */
.chat-head { height: 56px; display: flex; align-items: center; gap: 10px; padding: 0 12px 0 16px; border-bottom: 1px solid var(--surface); flex-shrink: 0; }
.chat-room-btn { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; }
.chat-online { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted-2); }
.chat-online i { width: 7px; height: 7px; border-radius: 50%; background: var(--win); box-shadow: 0 0 0 3px rgba(94,228,60,0.18); }
.chat-list { flex: 1; overflow-y: auto; padding: 12px 12px 4px; display: flex; flex-direction: column; gap: 4px; }
.chat-msg { padding: 8px 10px; border-radius: 8px; background: var(--surface); animation: fadeIn 260ms var(--ease); }
.chat-msg.mine { background: var(--brand-soft); }
.chat-msg-head { display: flex; align-items: center; gap: 6px; font-size: 12.5px; }
.chat-user { font-weight: 600; font-size: 13px; }
.chat-msg time { margin-left: auto; font-size: 10.5px; color: var(--muted-2); }
.chat-msg p { font-size: 13.5px; color: var(--text-soft); margin-top: 2px; word-wrap: break-word; }
.chat-new { position: absolute; left: 50%; bottom: 130px; transform: translateX(-50%); background: var(--brand); color: #fff; font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 99px; cursor: pointer; display: flex; gap: 4px; align-items: center; box-shadow: var(--shadow-md); }
.chat-form { padding: 12px; border-top: 1px solid var(--surface); flex-shrink: 0; }
.chat-input-wrap { position: relative; }
.chat-input-wrap .input { padding-right: 44px; background: var(--bg); }
.chat-input-wrap .icon-btn { position: absolute; right: 6px; top: 6px; }
.chat-emojis { display: grid; grid-template-columns: repeat(8, 1fr); gap: 2px; padding: 8px 0 0; }
.chat-emojis button { font-size: 20px; padding: 4px; border-radius: 6px; }
.chat-emojis button:hover { background: var(--surface); }

/* suporte — lançador igual ao da referência (48px, #313131, canto inferior esquerdo) */
.support { position: fixed; left: 20px; bottom: 20px; z-index: 420; }
.support-launcher { width: 48px; height: 48px; border-radius: 50%; background: #313131; color: #fff; display: grid; place-items: center; box-shadow: 0 1px 6px rgba(0,0,0,.06), 0 2px 32px rgba(0,0,0,.16); transition: transform var(--t) var(--ease); animation: fadeScale 300ms var(--ease); }
.support-launcher:hover { transform: scale(1.1); }
.support-launcher.is-open { background: #313131; }
.support-panel { position: absolute; left: 0; bottom: 60px; width: 370px; height: min(620px, calc(100dvh - 120px)); background: var(--bg-elev); border: 1px solid var(--surface); border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden; display: flex; flex-direction: column; transform-origin: bottom left; animation: fadeScale 220ms var(--ease); }
.support-hero { padding: 20px 20px 70px; background: radial-gradient(120% 100% at 0% 0%, rgba(16,171,225,0.35), transparent 60%), linear-gradient(160deg, #0b3346, #062028); }
.support-hero h3 { font-size: 26px; margin-top: 28px; }
.support-hero p { font-size: 20px; color: var(--text-soft); font-weight: 500; }
.support-body { flex: 1; overflow-y: auto; padding: 0 14px 14px; margin-top: -48px; display: grid; gap: 10px; align-content: start; }
.support-card { background: var(--surface); border-radius: 8px; padding: 14px; box-shadow: var(--shadow-sm); }
.support-start { display: flex; align-items: center; justify-content: space-between; gap: 12px; text-align: left; width: 100%; }
.support-start strong { display: block; font-size: 14px; }
.support-start span { font-size: 12.5px; color: var(--muted); }
.support-start:hover { background: var(--surface-2); }
.support-start .ic { color: var(--brand); }
.support-results { margin-top: 8px; }
.support-link { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 6px; font-size: 13.5px; border-radius: 6px; color: var(--text-soft); }
.support-link:hover { background: var(--surface-2); }
.support-link .ic { color: var(--brand); flex-shrink: 0; }
.support-chat-head { display: flex; align-items: center; gap: 8px; padding: 12px; border-bottom: 1px solid var(--surface); }
.support-chat-head strong { display: block; font-size: 14px; }
.support-status { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.support-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--win); }
.support-msgs { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.support-msg { max-width: 82%; padding: 10px 12px; border-radius: 14px 14px 14px 4px; background: var(--surface); font-size: 13.5px; line-height: 1.45; animation: fadeIn 240ms var(--ease); }
.support-msg.me { margin-left: auto; border-radius: 14px 14px 4px 14px; background: var(--brand); color: #fff; }
.support-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--surface); }
@media (max-width: 1023px) {
  .support { left: auto; right: 12px; bottom: calc(var(--mobile-nav-h) + 12px + env(safe-area-inset-bottom)); }
  .support-launcher { width: 44px; height: 44px; }
  .support-panel { position: fixed; left: 0; right: 0; bottom: 0; padding-bottom: calc(var(--mobile-nav-h) + env(safe-area-inset-bottom)); top: var(--header-h); width: auto; height: auto; border-radius: 0; border-width: 1px 0 0; }
}

/* bandeiras */
.flag-br, .flag-us, .flag-es, .flag-pt { display: inline-block; width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0; background-size: cover; background-position: center; }
.flag-br { background: radial-gradient(circle at 50% 50%, #1b3f9c 0 26%, transparent 27%), linear-gradient(45deg, transparent 32%, #ffdf00 32% 68%, transparent 68%), linear-gradient(-45deg, transparent 32%, #ffdf00 32% 68%, transparent 68%), #009c3b; }
.flag-us { background: linear-gradient(#3c3b6e 0 0) 0 0 / 50% 54% no-repeat, repeating-linear-gradient(#b22234 0 7.7%, #fff 7.7% 15.4%); }
.flag-es { background: linear-gradient(#aa151b 0 25%, #f1bf00 25% 75%, #aa151b 75%); }
.flag-pt { background: linear-gradient(90deg, #006600 0 40%, #ff0000 40%); }
.age-badge { width: 32px; height: 32px; border-radius: 50%; border: 2px solid #fff; display: grid; place-items: center; font-size: 11px; font-weight: 700; color: #fff; }

/* ---------- Chat (layout da referência) ---------- */
.ch-head { position: relative; height: 64px; flex-shrink: 0; display: flex; align-items: center; gap: 8px; padding: 0 8px; background: var(--bg-elev); }
.ch-room-wrap { position: relative; margin-right: auto; }
.ch-room { height: 32px; padding: 0 10px; display: inline-flex; align-items: center; gap: 8px; border-radius: 8px; background: #0c1d25; font-size: 13px; color: #fff; }
.ch-room span { min-width: 35px; text-align: left; }
.ch-room-pop { position: absolute; top: calc(100% + 6px); left: 0; z-index: 5; min-width: 160px; padding: 4px; border-radius: 8px; background: #0c1d25; border: 1px solid var(--surface-2); box-shadow: 0 8px 24px rgba(0,0,0,.35); }
.ch-room-pop button { display: block; width: 100%; padding: 9px 10px; border-radius: 6px; text-align: left; font-size: 13px; color: #99a8b1; }
.ch-room-pop button:hover { background: var(--surface-2); color: #fff; }
.ch-rules-btn { height: 32px; padding: 0 10px; display: inline-flex; align-items: center; gap: 8px; border-radius: 4px; background: rgba(255,255,255,.05); color: rgba(255,255,255,.8); font-size: 13px; font-weight: 500; }
.ch-close { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 4px; background: rgba(255,255,255,.05); color: #fff; }
.ch-rules-btn:hover, .ch-close:hover { background: rgba(255,255,255,.1); }
.ch-rules { position: absolute; left: 16px; right: 16px; top: 61px; z-index: 6; padding: 12px 12px 14px; border: 1px solid var(--surface-2); border-radius: 8px; background: var(--bg-elev); box-shadow: 0 12px 30px rgba(0,0,0,.4); }
.ch-rules-head { display: flex; align-items: center; justify-content: space-between; }
.ch-rules-head p { font-size: 16px; font-weight: 500; line-height: 21px; color: #fff; }
.ch-rules-head button { color: #fff; display: grid; place-items: center; width: 20px; height: 20px; }
.ch-rules ul { margin-top: 8px; padding-left: 24px; list-style: disc; display: grid; gap: 8px; }
.ch-rules li { font-size: 14px; line-height: 19.6px; color: #fff; }
.ch-body { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; background: rgba(12, 28, 37, .8); }
.ch-list { flex: 1; min-height: 0; overflow-y: auto; padding: 8px; display: flex; flex-direction: column; gap: 4px; scrollbar-width: none; }
.ch-list::-webkit-scrollbar { display: none; }
.cm { flex-shrink: 0; padding: 8px; border-radius: 8px; background: #0c1d25; animation: fadeIn 200ms var(--ease); }
.cm.mine { box-shadow: inset 2px 0 0 var(--brand); }
.cm-head { display: flex; align-items: center; gap: 6px; height: 20px; }
.cm-vip { position: relative; display: inline-flex; width: 18px; height: 20px; align-items: center; }
.cm-vip sub { position: absolute; right: -3px; bottom: -1px; min-width: 10px; height: 10px; padding: 0 2px; border-radius: 9999px; background: #1c323c; font-size: 8px; font-weight: 500; line-height: 10px; color: #fff; text-align: center; }
.cm-user { margin-left: 2px; font-size: 12px; line-height: 16px; color: #fff; }
.cm-user:hover { color: var(--brand); }
.cm-report { margin-left: auto; width: 12px; height: 12px; color: #567484; opacity: 0; transition: opacity var(--t), color var(--t); }
.cm:hover .cm-report { opacity: 1; } .cm-report:hover { color: #fff; }
.cm-text { margin-top: 6px; font-size: 12px; line-height: 16px; color: #fff; word-wrap: break-word; overflow-wrap: anywhere; }
.cm-mention { font-weight: 500; color: var(--brand); }
.ch-new { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); z-index: 2; height: 28px; padding: 0 12px; border-radius: 9999px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 500; box-shadow: 0 6px 16px rgba(0,0,0,.35); }
.ch-form { flex-shrink: 0; height: 74px; padding: 8px; background: #0d1c24; }
.ch-input { height: 46px; display: flex; align-items: center; gap: 8px; padding: 0 8px 0 11px; border-radius: 8px; border: 1px solid #16272f; background: #16272f; }
.ch-input:focus-within { border-color: var(--brand); }
.ch-input input { flex: 1; min-width: 0; height: 100%; background: none; border: 0; outline: 0; color: #fff; font-size: 12px; }
.ch-input input::placeholder { color: rgba(255,255,255,.6); }
.ch-login { flex: 1; text-align: left; font-size: 12px; color: rgba(255,255,255,.6); }
.ch-login:hover { color: #fff; }
.ch-count { flex-shrink: 0; font-size: 12px; color: #567484; }
.ch-count b { font-weight: 400; }
.ch-send { width: 30px; height: 30px; flex-shrink: 0; display: grid; place-items: center; border-radius: 4px; background: var(--brand); color: #fff; }
.ch-send:disabled { opacity: .6; cursor: not-allowed; }
/* Rain */
.rain { flex-shrink: 0; padding: 1px 9px 0; }
.rain-card { position: relative; margin-top: 0; border-radius: 8px; background: var(--bg-elev); overflow: hidden; box-shadow: 0 0 0 1px rgba(16,171,225,.35), 0 0 14px rgba(16,171,225,.25); }
.rain-main { position: relative; min-height: 84px; padding: 7px 12px 8px 15px; display: flex; gap: 4px; background: radial-gradient(90px 70px at 12% 0%, rgba(16,171,225,.25), transparent 70%), radial-gradient(90px 70px at 90% 0%, rgba(16,171,225,.18), transparent 70%); }
.rain-main > svg { flex-shrink: 0; margin-top: 17px; }
.rain-info { flex: 1; min-width: 0; padding-left: 4px; }
.rain-title { font-size: 16px; font-weight: 600; line-height: 21px; color: #fff; width: 110px; }
.rain-pills { margin-top: 4px; display: flex; gap: 4px; }
.rain-pills span { height: 24px; padding: 0 6px; display: inline-flex; align-items: center; gap: 4px; border-radius: 4px; border: 1px solid var(--brand); background: rgba(86, 116, 132, .2); font-size: 12px; color: #fff; }
.rain-pills b { font-weight: 400; font-variant-numeric: tabular-nums; }
.rain-actions { width: 101px; display: flex; flex-direction: column; gap: 4px; }
.rain-join { height: 24px; border-radius: 4px; background: var(--brand); color: #fff; font-size: 14px; font-weight: 500; }
.rain-join.is-on { background: #0b6f95; }
.rain-pot { height: 24px; display: flex; align-items: center; border-radius: 4px; border: 1px solid var(--brand); background: var(--surface-2); overflow: hidden; font-size: 12px; color: #fff; }
.rain-pot span { flex: 1; text-align: center; }
.rain-pot button { width: 24px; height: 100%; display: grid; place-items: center; background: var(--brand); color: #fff; }
.rain-top-btn { width: 100%; height: 32px; padding: 0 12px; display: flex; align-items: center; gap: 8px; background: rgba(0,0,0,.2); color: #567484; }
.rain-top-btn p { flex: 1; text-align: left; font-size: 12px; line-height: 16px; }
.rain-top-btn > svg:last-child { transition: transform var(--t); }
.rain-top-btn.is-open > svg:last-child { transform: rotate(180deg); }
.rain-top { display: none; padding: 0 12px 10px; background: rgba(0,0,0,.2); }
.rain-top.is-open { display: block; }
.rain-periods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.rain-periods button { height: 24px; border-radius: 4px; background: rgba(16,171,225,.03); font-size: 12px; font-weight: 500; color: #567484; }
.rain-periods button.is-active { background: var(--brand); color: #fff; }
.rain-top ol { margin-top: 10px; display: grid; gap: 6px; }
.rain-top li { height: 28px; padding: 0 8px; display: flex; align-items: center; gap: 8px; border-radius: 6px; background: #0c1d25; font-size: 12px; color: #fff; }
.rain-top .n { width: 14px; color: #567484; }
.rain-top .u { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.rain-top .v { color: #5ee43c; font-weight: 500; }
@media (max-width: 1023px) {
  .support-launcher:not(.is-open) { display: none; }
  .scroller-track .provider-card, .prov-grid .provider-card { height: 61.23px; }
}
/* a arte ilustrada tem fundo próprio: a borda esquerda dissolve no card para o texto ficar sempre legível */
.promo-img { -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 38%); mask-image: linear-gradient(90deg, transparent 0%, #000 38%); }
.hero-title, .hero-sub { text-shadow: 0 2px 10px rgba(0, 0, 0, .55); }
@media (min-width: 1024px) { .hero-slide:not(.is-active) .promo-img { right: -95px; } }
