﻿/* ==========================================================================
   872LUCK - Mobile-First 1:1 Design System
   Construido 1:1 com as capturas e especificacoes de /dev/screenshots/
   ========================================================================== */

:root {
  --bg-desktop: #202126;
  --bg-shell: #121316;
  --bg-surface: #18191e;
  --bg-card: #1f2026;
  --bg-card-hover: #262830;
  --bg-header: #15161a;
  --bg-nav: #15161a;
  
  --accent-gold: #ffd000;
  --accent-gold-hover: #ffe04d;
  --accent-red: #ff2d3b;
  --accent-red-dark: #d91b28;
  --accent-green: #22c55e;
  --accent-orange: #ff7b00;
  --accent-blue: #0088cc;
  
  --text-primary: #ffffff;
  --text-secondary: #9ea3ae;
  --text-muted: #6b7280;
  
  --btn-white: #ffffff;
  --btn-white-text: #000000;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-active: #ffd000;
  
  --shell-width: 430px;
  --header-height: 52px;
  --nav-height: 74px;
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-pill: 9999px;
  
  --shadow-card: 0 4px 12px rgba(0, 0, 0, 0.5);
  --shadow-float: 0 8px 24px rgba(0, 0, 0, 0.6);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

html, body {
  width: 100%;
  height: 100%;
  background-color: var(--bg-desktop);
  color: var(--text-primary);
  overflow-x: hidden;
  overflow-x: clip;
}

/* iOS: garante pan vertical sobre a grade e os cards */
.games-grid-3col,
.game-card-1col {
  touch-action: pan-y;
}

.games-grid-3col img {
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
}

/* Scrollbar no padrão visual do tema */
html, body, #app-shell, .page-view, .modal-overlay, .support-tabs-row, .ofertas-top-tabs {
  scrollbar-width: thin;
  scrollbar-color: var(--accent-gold) #17181d;
}
html::-webkit-scrollbar, body::-webkit-scrollbar, #app-shell::-webkit-scrollbar,
.page-view::-webkit-scrollbar, .modal-overlay::-webkit-scrollbar,
.support-tabs-row::-webkit-scrollbar, .ofertas-top-tabs::-webkit-scrollbar {
  width: 6px;
  height: 5px;
}
html::-webkit-scrollbar-track, body::-webkit-scrollbar-track, #app-shell::-webkit-scrollbar-track,
.page-view::-webkit-scrollbar-track, .modal-overlay::-webkit-scrollbar-track,
.support-tabs-row::-webkit-scrollbar-track, .ofertas-top-tabs::-webkit-scrollbar-track {
  background: #17181d;
}
html::-webkit-scrollbar-thumb, body::-webkit-scrollbar-thumb, #app-shell::-webkit-scrollbar-thumb,
.page-view::-webkit-scrollbar-thumb, .modal-overlay::-webkit-scrollbar-thumb,
.support-tabs-row::-webkit-scrollbar-thumb, .ofertas-top-tabs::-webkit-scrollbar-thumb {
  border: 1px solid #17181d;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent-gold), #c99f00);
}
html::-webkit-scrollbar-thumb:hover, body::-webkit-scrollbar-thumb:hover,
.page-view::-webkit-scrollbar-thumb:hover, .modal-overlay::-webkit-scrollbar-thumb:hover {
  background: var(--accent-gold-hover);
}

/* Central Mobile Shell (~430px) */
#app-shell {
  width: 100%;
  max-width: var(--shell-width);
  min-height: 100vh;
  margin: 0 auto;
  background-color: var(--bg-shell);
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.8);
  padding-bottom: calc(var(--nav-height) + 16px);
}

/* TOP INSTALL APP BANNER */
.top-install-banner {
  background-color: #000000;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 12px;
  z-index: 101;
}

.top-install-banner .banner-left {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-weight: 500;
}

.top-install-banner .close-btn {
  color: #888888;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
}

.top-install-banner .highlight-text {
  color: var(--accent-gold);
  font-weight: 700;
}

.top-install-banner .btn-install {
  background-color: var(--accent-red);
  color: #ffffff;
  font-weight: 700;
  font-size: 11px;
  padding: 5px 12px;
  border-radius: var(--radius-xs);
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

/* APP HEADER */
.app-header {
  position: sticky;
  top: 0;
  height: var(--header-height);
  background-color: var(--bg-header);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  z-index: 100;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hamburger-btn {
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}

.app-brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
}

.brand-logo-image {
  display: block;
  width: auto;
  height: 34px;
  max-width: 132px;
  object-fit: contain;
  object-position: left center;
}

.drawer-brand-logo {
  height: 44px;
  max-width: 184px;
}

.brand-text {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.5px;
  line-height: 1;
  text-transform: lowercase;
}

.brand-text .brand-num {
  color: #ffffff;
}

.brand-text .brand-accent {
  color: var(--accent-gold);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-btn-login {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 10px;
  cursor: pointer;
}

.header-btn-reg {
  background-color: var(--btn-white);
  color: var(--btn-white-text);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
}

.header-icon-btn {
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
}

/* Header Autenticado */
.header-user-wallet {
  display: flex;
  align-items: center;
  background-color: #222329;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
  padding: 4px 10px;
  gap: 6px;
  cursor: pointer;
}

.wallet-coin-icon {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: radial-gradient(circle, #22c55e 40%, #16a34a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 900;
  color: #000;
}

.wallet-amount {
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
}

.wallet-refresh {
  color: var(--text-secondary);
  font-size: 11px;
}

.header-btn-deposit-chip {
  background-color: var(--accent-gold);
  color: #000000;
  font-size: 11px;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
}

/* HERO BANNER CAROUSEL */
.hero-carousel-container {
  width: 100%;
  padding: 10px 12px 6px;
  position: relative;
}

.hero-carousel-wrapper {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  background-color: #1a1b20;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.hero-carousel-track {
  display: flex;
  width: 100%;
  transition: transform 0.4s ease-in-out;
  align-items: flex-start;
}

.hero-carousel-slide {
  min-width: 100%;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.hero-carousel-slide img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  transition: transform .45s cubic-bezier(.2,.8,.2,1), filter .45s ease;
  animation: heroBannerPulse 4.8s ease-in-out infinite;
}

.hero-carousel-slide::after {
  content: '';
  position: absolute;
  z-index: 2;
  top: -70%;
  bottom: -70%;
  left: -55%;
  width: 38%;
  pointer-events: none;
  opacity: 0;
  transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.12), rgba(255,222,87,.56), rgba(255,255,255,.12), transparent);
  filter: blur(1px);
  animation: heroBannerShine 4.8s ease-in-out infinite;
}

@keyframes heroBannerPulse {
  0%,100% { filter: brightness(1) saturate(1); }
  48% { filter: brightness(1.07) saturate(1.08); }
  58% { filter: brightness(1.02) saturate(1.03); }
}

@keyframes heroBannerShine {
  0%,55% { left: -55%; opacity: 0; }
  62% { opacity: .9; }
  82% { left: 122%; opacity: 0; }
  100% { left: 122%; opacity: 0; }
}

@media (hover:hover) {
  .hero-carousel-slide:hover img {
    animation-play-state: paused;
    transform: scale(1.035);
    filter: brightness(1.1) saturate(1.1);
  }
}

.hero-carousel-dots {
  display: none;
}

.carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: all 0.25s;
}

.carousel-dot.active {
  width: 14px;
  border-radius: 4px;
  background-color: #ffffff;
}

/* MARQUEE TICKER */
.ticker-container {
  margin: 4px 12px 10px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 6px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
}

.ticker-icon {
  color: var(--text-muted);
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.ticker-text-wrapper {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  min-width: 0;
}

.ticker-marquee-text {
  display: inline-block;
  font-size: 11px;
  color: var(--text-secondary);
  animation: marqueeScroll 20s linear infinite;
}

.ticker-marquee-text a, .ticker-marquee-text span.telegram-link {
  color: #ff3377;
  font-weight: 700;
  text-decoration: none;
}

.ticker-site {
  flex-shrink: 0;
  font-size: 11px;
  color: var(--text-muted);
  margin-left: 8px;
}

.ticker-mail {
  flex-shrink: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  margin-left: 8px;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease;
}

.ticker-mail:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.ticker-mail svg {
  animation: mailBounceSwing 2.8s ease-in-out infinite;
  transform-origin: 50% 50%;
  transition: transform 0.2s ease, color 0.2s ease;
}

.ticker-mail:hover svg {
  animation: none;
  transform: scale(1.15);
  color: #f59e0b;
}

@keyframes mailBounceSwing {
  0%, 100% {
    transform: translateY(0) rotate(0deg) scale(1);
    color: var(--text-muted);
  }
  8% {
    transform: translateY(-2px) rotate(-14deg) scale(1.12);
    color: #f59e0b;
  }
  16% {
    transform: translateY(-2px) rotate(14deg) scale(1.12);
    color: #f59e0b;
  }
  24% {
    transform: translateY(-1px) rotate(-8deg) scale(1.08);
    color: #fbbf24;
  }
  32% {
    transform: translateY(0) rotate(4deg) scale(1.04);
    color: #fbbf24;
  }
  40%, 90% {
    transform: translateY(0) rotate(0deg) scale(1);
    color: var(--text-muted);
  }
}

.ticker-mail-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 14px;
  height: 14px;
  border-radius: 7px;
  background: #e63946;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  line-height: 14px;
  text-align: center;
  padding: 0 3px;
}

@keyframes marqueeScroll {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* HORIZONTAL CATEGORY NAVIGATION */
.category-nav-bar {
  display: flex;
  gap: 8px;
  padding: 0 12px 10px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-inline: contain;
  touch-action: pan-x;
}

.category-nav-bar::-webkit-scrollbar {
  display: none;
}

.cat-item-pill {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 8px 14px;
  margin-right: 4px;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.cat-item-pill svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
}

.cat-item-pill.active {
  background-color: #2b2d36;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

/* SECTION HEADER */
.section-title-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 12px 10px;
}

.section-left-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
}

.section-left-title .flame-icon {
  color: var(--accent-orange);
  font-size: 16px;
}

.section-nav-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}

.section-ctrl-btn {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  border-radius: var(--radius-xs);
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}

.section-ctrl-btn.tudo {
  padding: 3px 12px;
  color: #ffffff;
}

/* 3-COLUMN GAME GRID 1:1 */
.games-grid-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 0 12px 20px;
}

.game-card-1col {
  position: relative;
  aspect-ratio: 1 / 1.25;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background-color: #1c1d23;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  transition: transform 0.15s;
}

.game-card-1col:active {
  transform: scale(0.97);
}

/* Destaque animado exclusivo dos jogos Populares */
#hot-games-grid .popular-card-fx {
  isolation: isolate;
  border: 1px solid rgba(255, 213, 28, 0.2);
  animation: popularCardHop 3.4s ease-in-out infinite;
  animation-delay: var(--popular-delay, 0s);
  transition: transform .22s cubic-bezier(.2,.8,.2,1), box-shadow .22s ease, border-color .22s ease;
  will-change: transform;
}
#hot-games-grid .popular-card-fx::after {
  content: '';
  position: absolute;
  z-index: 4;
  inset: -45% -85%;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 38%, rgba(255,255,255,.08) 44%, rgba(255,229,92,.7) 50%, rgba(255,255,255,.1) 56%, transparent 62%);
  transform: translateX(-52%) rotate(8deg);
  animation: popularCardShine 3.4s ease-in-out infinite;
  animation-delay: var(--popular-delay, 0s);
}
#hot-games-grid .popular-card-fx .game-card-thumb { transition: transform .35s cubic-bezier(.2,.8,.2,1), filter .35s ease; }
@keyframes popularCardHop {
  0%,72%,100% { transform: translateY(0) scale(1); box-shadow: 0 2px 8px rgba(0,0,0,.4); }
  79% { transform: translateY(-6px) scale(1.025); box-shadow: 0 9px 18px rgba(255,196,0,.24); }
  86% { transform: translateY(0) scale(1); }
  91% { transform: translateY(-2px) scale(1.01); }
}
@keyframes popularCardShine {
  0%,65% { transform: translateX(-52%) rotate(8deg); opacity: 0; }
  72% { opacity: 1; }
  88%,100% { transform: translateX(52%) rotate(8deg); opacity: 0; }
}
@media (hover:hover) {
  #hot-games-grid .popular-card-fx:hover {
    animation: none;
    transform: translateY(-8px) scale(1.055);
    border-color: rgba(255,220,55,.85);
    box-shadow: 0 13px 25px rgba(0,0,0,.58), 0 0 18px rgba(255,199,0,.36);
    z-index: 5;
  }
  #hot-games-grid .popular-card-fx:hover::after { animation-duration: 1.1s; }
  #hot-games-grid .popular-card-fx:hover .game-card-thumb { transform: scale(1.09); filter: saturate(1.16) brightness(1.08); }
}
@media (prefers-reduced-motion: reduce) {
  #hot-games-grid .popular-card-fx,
  #hot-games-grid .popular-card-fx::after { animation: none; }
}

.game-card-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 1;
}

/* Badge Top-Left: Like Thumbs Up */
.badge-top-like {
  position: absolute;
  top: 5px;
  left: 5px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--accent-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
  z-index: 2;
}

.badge-top-like svg {
  width: 11px;
  height: 11px;
  fill: #ffffff;
}

/* Card Bottom Overlay: Title + Provider */
.game-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 16px 6px 6px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.5) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
}

.game-card-title {
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
  max-width: 100%;
}

.game-card-prov {
  font-size: 10px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 100%;
  flex-shrink: 0;
}

.game-card-prov:empty {
  display: none;
}

/* FLOATING ACTION BUTTONS (Mascot & Telegram) */
.floating-widgets-stack {
  position: fixed;
  bottom: 74px;
  right: calc(50% - (var(--shell-width) / 2) + 12px);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  z-index: 90;
  pointer-events: none;
}

@media (max-width: 430px) {
  .floating-widgets-stack {
    right: 12px;
  }
}

.floating-mascot-card {
  pointer-events: auto;
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
  animation: floatBounce 3s ease-in-out infinite;
}

.mascot-bubble {
  background: rgba(0, 0, 0, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  padding: 4px 8px;
  font-size: 10px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  margin-right: -10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
  z-index: 2;
}

.mascot-img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
}

.floating-telegram-pill {
  pointer-events: auto;
  position: relative;
  background: linear-gradient(135deg, #0088cc, #005580);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-pill);
  padding: 6px 10px 6px 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 14px rgba(0, 136, 204, 0.45);
  cursor: pointer;
}

.floating-telegram-pill .tg-icon {
  width: 20px;
  height: 20px;
  fill: #ffffff;
}

.floating-telegram-pill .tg-text {
  font-size: 10px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  text-align: left;
}

.floating-telegram-pill .tg-close {
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  margin-left: 2px;
  cursor: pointer;
}

@keyframes floatBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* FIXED BOTTOM NAVIGATION BAR */
.bottom-nav-bar {
  position: fixed;
  bottom: 0;
  width: 100%;
  max-width: var(--shell-width);
  height: var(--nav-height);
  background-color: #111111;
  border-top: 1px solid #242424;
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 100;
}

.nav-tab-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: none;
  border: none;
  color: #777777;
  font-size: 14px;
  line-height: 17px;
  font-weight: 400;
  cursor: pointer;
  position: relative;
  height: 100%;
  padding: 7px 0 3px;
}

.nav-tab-item svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

.nav-tab-item .nav-tab-icon {
  width: 32px;
  height: 32px;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 32px;
}

.nav-tab-item.active .nav-tab-icon {
  stroke-width: 1.45;
}

.nav-tab-item.active {
  color: #e7e7e7;
}

.nav-tab-badge {
  position: absolute;
  top: 6px;
  z-index: 2;
  background: linear-gradient(180deg, #f3262f 0%, #d9111d 100%);
  color: #ffffff;
  font-size: 12px;
  line-height: 17px;
  font-weight: 700;
  height: 18px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, .42);
  transform-origin: 50% 70%;
  animation: navBadgePulse 1.9s ease-in-out infinite;
}

.nav-tab-badge.badge-count {
  width: 20px;
  right: calc(50% - 25px);
}

.nav-tab-badge.badge-bonus {
  width: 48px;
  right: calc(50% - 38px);
  padding: 0 5px;
  color: #ffd51c;
  background: linear-gradient(180deg, #ef382d 0%, #c91d1d 100%);
  animation-delay: .32s;
}

/* Primeira definição da senha de saque */
#page-withdraw-password.active {
  min-height: 100dvh;
  background: #202020;
}
.wpw-page-shell {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: #202020;
}
.wpw-page-header {
  height: 60px;
  flex: 0 0 60px;
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
  background: #111111;
  border-radius: 0 0 5px 5px;
}
.wpw-page-header h2 {
  grid-column: 2;
  text-align: center;
  color: #fff;
  font-size: 21px;
  line-height: 1;
  font-weight: 700;
}
.wpw-back-btn {
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  color: #aeb7c4;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.wpw-back-btn svg { width: 23px; height: 23px; }
.wpw-form {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 31px 15px 88px;
}
.wpw-security-message {
  margin: 0 0 17px;
  color: #00f018;
  font-size: 14px;
  line-height: 17px;
  text-align: center;
}
.wpw-form h3 {
  margin: 0 0 40px;
  color: #fff;
  font-size: 16px;
  line-height: 20px;
  font-weight: 600;
}
.wpw-form label {
  margin: 0 0 20px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}
.wpw-field-wrap {
  position: relative;
  margin-bottom: 37px;
}
.wpw-pin-input {
  width: 100%;
  height: 63px;
  border: 1px solid #333;
  border-radius: 11px;
  outline: 0;
  color: #fff;
  background-color: #111;
  background-image: linear-gradient(90deg, transparent calc(100% - 1px), #343434 calc(100% - 1px));
  background-size: calc(100% / 6) 100%;
  padding: 0 0 0 27px;
  font-size: 30px;
  line-height: 63px;
  letter-spacing: 47px;
  max-width: 100%;
  overflow: hidden;
  caret-color: #fff;
}
.wpw-pin-input:focus { border-color: #555; }
.wpw-eye-btn {
  position: absolute;
  right: 0;
  top: -43px;
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  color: #353535;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.wpw-eye-btn svg { width: 25px; height: 25px; }
.wpw-warning {
  margin-top: 0;
  color: #ff9d00;
  font-size: 14px;
  line-height: 27px;
}
.wpw-warning strong { font-weight: 500; }
.wpw-submit-bar {
  position: fixed;
  left: 50%;
  bottom: 0;
  width: 100%;
  max-width: var(--shell-width);
  transform: translateX(-50%);
  padding: 15px 13px 12px;
  background: #111;
  z-index: 99;
}
.wpw-submit-bar button {
  width: 100%;
  height: 49px;
  border: 0;
  border-radius: 10px;
  background: #f4f1ef;
  color: #050505;
  font-size: 15px;
  cursor: pointer;
}
.wpw-submit-bar button:disabled { opacity: .6; cursor: wait; }

.withdraw-password-open .bottom-nav-bar,
.withdraw-password-open .floating-widgets-stack {
  display: none !important;
}
.withdraw-password-open #app-shell { padding-bottom: 0; }

/* Fluxo completo de saque */
#page-withdraw.active,
.withdraw-page-shell { min-height: 100dvh; background: #202020; }
.withdraw-flow-open .bottom-nav-bar,
.withdraw-flow-open .floating-widgets-stack { display: none !important; }
.withdraw-flow-open #app-shell { padding-bottom: 0; }
.withdraw-topbar {
  height: 54px; display: grid; grid-template-columns: 38px minmax(0, 1fr) 38px;
  align-items: stretch; background: #111; color: #fff; position: sticky; top: 0; z-index: 30;
}
.withdraw-back,.withdraw-support { border: 0; background: transparent; color: #dce2ea; display: grid; place-items: center; cursor: pointer; }
.withdraw-back svg,.withdraw-support svg { width: 22px; height: 22px; }
.withdraw-tabs { display: flex; min-width: 0; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
.withdraw-tabs::-webkit-scrollbar { display: none; }
.withdraw-tab { flex: 0 0 auto; min-width: 126px; padding: 0 12px; border: 0; border-bottom: 3px solid transparent; background: transparent; color: #fff; font-size: 14px; white-space: nowrap; cursor: pointer; scroll-snap-align: center; }
.withdraw-tab.active { border-bottom-color: #f4f1ef; }
.withdraw-panel { display: none; min-height: calc(100dvh - 54px); }
.withdraw-panel.active { display: block; }
.withdraw-balance-box { padding: 16px 10px; background: #111; border-top: 1px solid #242424; }
.withdraw-balance-box div { display: flex; align-items: center; gap: 6px; color: #fff; font-size: 15px; }
.withdraw-balance-box strong { color: #fff600; font-weight: 500; }
.withdraw-balance-box button,.withdraw-history-tools button { width: 25px; height: 25px; padding: 0; border: 0; background: transparent; color: #dce2ea; }
.withdraw-balance-box svg,.withdraw-history-tools svg { width: 21px; height: 21px; }
.withdraw-balance-box p { margin: 13px 0 0; color: #777; font-size: 14px; }
.withdraw-balance-box u { color: #fff; }
.withdraw-form-card { position: relative; padding: 22px 10px; }
.withdraw-select-wrap { height: 51px; margin-right: 57px; padding: 0 13px; display: flex; align-items: center; gap: 14px; border-radius: 9px; background: #111; color: #eee; }
.withdraw-select-wrap svg { width: 28px; height: 28px; flex: 0 0 auto; }
.withdraw-select-wrap select { width: 100%; min-width: 0; border: 0; outline: 0; appearance: none; background: transparent; color: #aaa; font-size: 14px; }
.withdraw-select-wrap select option { background: #171717; color: #fff; }
.withdraw-chevron { color: #777; font-size: 22px; }
.withdraw-account-shortcut { position: absolute; right: 10px; top: 22px; width: 48px; height: 51px; border: 0; background: transparent; color: #eee; cursor: pointer; }
.withdraw-account-shortcut svg { width: 29px; height: 29px; }
.withdraw-account-shortcut span { position: absolute; right: 0; bottom: 10px; font-size: 13px; }
.withdraw-amount-wrap { height: 49px; margin-top: 15px; padding: 0 13px; display: flex; align-items: center; gap: 12px; border-radius: 9px; background: #111; color: #eee; }
.withdraw-amount-wrap input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; color: #fff; font-size: 15px; }
.withdraw-confirm-btn { width: 100%; height: 47px; margin-top: 51px; border: 0; border-radius: 9px; background: #f4f1ef; color: #6f6f6f; font-size: 15px; cursor: pointer; }
.withdraw-account-summary { margin: 12px 10px 0; height: 64px; padding: 0 12px; display: flex; align-items: center; justify-content: space-between; border-radius: 9px; background: #111; color: #fff; }
.withdraw-account-summary strong { font-size: 14px; }
.withdraw-account-summary strong span { color: #777; font-weight: 400; }
.withdraw-account-summary button { display: flex; align-items: center; gap: 5px; border: 0; background: transparent; color: #fff; font-size: 14px; }
.withdraw-account-summary svg { width: 25px; height: 25px; }
.withdraw-account-list { padding: 10px; display: grid; gap: 8px; }
.withdraw-account-card { padding: 13px; display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 10px; border-radius: 9px; background: #151515; color: #fff; }
.withdraw-account-card .pix-mark { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 6px; background: #fff; color: #08bea9; font-size: 24px; }
.withdraw-account-card small { display: block; margin-top: 4px; color: #888; }
.withdraw-account-card button { border: 0; background: transparent; color: #ff7373; font-size: 13px; }
.withdraw-account-empty { padding: 50px 15px; text-align: center; color: #777; }
.withdraw-account-form { margin: 10px; padding: 16px; border-radius: 10px; background: #111; color: #fff; }
.withdraw-account-form h3 { margin: 0 0 16px; font-size: 17px; }
.withdraw-account-form label { display: block; margin: 12px 0; font-size: 14px; }
.withdraw-account-form select,.withdraw-account-form input { width: 100%; height: 46px; margin-top: 7px; padding: 0 12px; border: 1px solid #333; border-radius: 8px; outline: 0; background: #1d1d1d; color: #fff; }
.withdraw-form-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.withdraw-form-actions button { height: 43px; border: 0; border-radius: 8px; background: #292929; color: #fff; }
.withdraw-form-actions button:last-child { background: #f4f1ef; color: #111; }
.withdraw-add-bar { position: fixed; left: 50%; bottom: 0; width: 100%; max-width: var(--shell-width); padding: 10px; transform: translateX(-50%); background: #111; }
.withdraw-add-bar button { width: 100%; height: 54px; padding: 0 8px; display: grid; grid-template-columns: 42px 1fr auto; align-items: center; border: 1px solid #333; border-radius: 9px; background: #111; color: #fff; text-align: left; }
.withdraw-add-bar .pix-mark { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 6px; background: #fff; color: #08bea9; font-size: 25px; }
.withdraw-add-bar button span:last-child { font-size: 14px; }
.withdraw-history-tools { height: 58px; padding: 0 10px; display: flex; align-items: center; justify-content: space-between; color: #777; font-size: 14px; }
.withdraw-history-tools select { width: 111px; height: 35px; padding: 0 12px; border: 1px solid #333; border-radius: 20px; outline: 0; background: #161616; color: #777; }
.withdraw-history-tools div { display: flex; align-items: center; gap: 4px; }
.withdraw-history-tools strong { color: #fff; }
.withdraw-history-list { padding: 4px 10px 20px; }
.withdraw-history-empty { min-height: 480px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #777; }
.withdraw-history-empty svg { width: 82px; height: 82px; margin-bottom: 22px; color: #393939; }
.withdraw-history-card { margin-bottom: 8px; padding: 14px; border-radius: 9px; background: #151515; color: #fff; }
.withdraw-history-card div { display: flex; justify-content: space-between; gap: 8px; }
.withdraw-history-card small { display: block; margin-top: 8px; color: #777; }
.withdraw-history-card .status-pendente,.withdraw-history-card .status-processando { color: #ffbd2e; }
.withdraw-history-card .status-pago { color: #35d07f; }
.withdraw-history-card .status-recusado,.withdraw-history-card .status-cancelado { color: #ff6565; }

.account-record-card { margin-bottom: 10px; padding: 12px 14px; border: 1px solid var(--border-subtle); border-radius: 9px; background: var(--bg-surface); color: var(--text-primary); }
.account-record-card header { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 9px; }
.account-record-amount { font-size: 15px; color: var(--text-primary); }
.account-record-status { font-size: 10px; font-weight: 700; text-transform: uppercase; color: var(--text-muted); }
.account-record-status.status-pending { color: #ffbd2e; }
.account-record-status.status-ajustado, .account-record-status.status-paid, .account-record-status.status-completed { color: #35d07f; }
.account-record-status.status-canceled, .account-record-status.status-recusado { color: #ff6565; }
.account-record-fields { display: grid; gap: 5px; }
.account-record-fields div { display: flex; justify-content: space-between; gap: 12px; font-size: 11px; }
.account-record-fields span { color: var(--text-muted); }
.account-record-fields strong { max-width: 72%; overflow-wrap: anywhere; text-align: right; font-weight: 500; color: var(--text-secondary); }

/* Account settings pages */
#page-account .deposito-header-bar { border-bottom: 1px solid var(--border-subtle); background: var(--bg-header); }
#account-page-content { padding: 14px 12px 28px; }
.account-section { margin-bottom: 14px; }
.account-section-title { margin: 0 0 8px 2px; color: var(--text-secondary); font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.account-panel { overflow: hidden; border: 1px solid var(--border-subtle); border-radius: 12px; background: var(--bg-surface); }
.account-panel + .account-panel { margin-top: 10px; }
.account-summary { padding: 15px; background: linear-gradient(135deg, #202126, #17181c); }
.account-summary-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.account-summary-head strong { font-size: 16px; }
.account-summary-head small { color: var(--text-muted); font-size: 12px; }
.account-status-pill { flex: 0 0 auto; padding: 4px 8px; border-radius: 999px; background: rgba(34,197,94,.13); color: #4ade80; font-size: 11px; font-weight: 700; }
.account-status-pill.pending { background: rgba(255,189,46,.12); color: #ffbd2e; }
.account-kv { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.account-kv div { min-width: 0; padding: 10px; border-radius: 8px; background: rgba(255,255,255,.035); }
.account-kv span, .account-field label { display: block; margin-bottom: 5px; color: var(--text-muted); font-size: 12px; }
.account-kv strong { display: block; overflow-wrap: anywhere; color: var(--text-primary); font-size: 13px; font-weight: 600; }
.account-form { padding: 14px; }
.account-field { margin-bottom: 13px; }
.account-field:last-child { margin-bottom: 0; }
.account-field .modal-input { width: 100%; height: 48px; border-color: var(--border-subtle); border-radius: 9px; background: #111216; color: #fff; font-size: 14px; }
.account-field .modal-input[readonly] { color: var(--text-secondary); }
.account-primary-btn, .account-secondary-btn, .account-danger-btn { width: 100%; min-height: 46px; border: 0; border-radius: 9px; font-size: 14px; font-weight: 700; cursor: pointer; }
.account-primary-btn { background: #f5f3f1; color: #111; }
.account-secondary-btn { border: 1px solid var(--border-subtle); background: #24252b; color: #fff; }
.account-danger-btn { border: 1px solid rgba(255,101,101,.18); background: rgba(255,101,101,.08); color: #ff7373; }
.account-setting-row { width: 100%; min-height: 64px; padding: 12px 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 0; border-bottom: 1px solid var(--border-subtle); background: transparent; color: #fff; text-align: left; }
.account-setting-row:last-child { border-bottom: 0; }
.account-setting-row-main { min-width: 0; }
.account-setting-row-main strong { display: block; margin-bottom: 4px; font-size: 14px; }
.account-setting-row-main small { display: block; color: var(--text-muted); font-size: 12px; line-height: 1.4; }
.account-setting-row-action { flex: 0 0 auto; color: var(--text-secondary); font-size: 13px; }
.account-language-check { width: 21px; height: 21px; display: grid; place-items: center; border: 1px solid #454750; border-radius: 50%; color: transparent; font-size: 12px; }
.account-setting-row.active .account-language-check { border-color: var(--accent-gold); background: var(--accent-gold); color: #111; }
.account-help-copy { padding: 14px; color: var(--text-secondary); font-size: 13px; line-height: 1.55; }
.account-help-copy strong { display: block; margin-bottom: 4px; color: #fff; font-size: 14px; }
@media (max-width: 360px) { .account-kv { grid-template-columns: 1fr; } }

/* Perfil — scroll interno isolado no celular (body fica travado via dir-lock) */
#page-perfil { background: #111; }
#page-perfil.active {
  height: calc(100vh - var(--nav-height));
  height: calc(100dvh - var(--nav-height));
  max-height: calc(100vh - var(--nav-height));
  max-height: calc(100dvh - var(--nav-height));
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  overscroll-behavior-y: contain;
  overscroll-behavior-x: none;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-gold) #17181d;
}
.profile-hero { position: relative; overflow: hidden; padding: 4px 16px 18px; background: linear-gradient(160deg,#3b3c3e 0%,#292a2c 44%,#171717 100%); }
.profile-hero::before,.profile-hero::after{content:'';position:absolute;border:1px solid rgba(255,255,255,.055);border-radius:50%;pointer-events:none}
.profile-hero::before{width:320px;height:320px;right:-115px;top:-210px}.profile-hero::after{width:430px;height:430px;left:-290px;bottom:-360px}
.profile-topbar { position: relative; z-index: 1; height: 43px; display:flex; align-items:center; justify-content:space-between; }
.profile-topbar > button,.profile-topbar div button,.profile-identity button { border:0; background:transparent; color:#f4f4f4; cursor:pointer; }
.profile-topbar svg { width:23px; height:23px; fill:none; stroke:currentColor; stroke-width:2; }
.profile-topbar div { display:flex; gap:18px; }
.profile-identity { position:relative; z-index:1; display:flex; align-items:center; gap:10px; }
.profile-avatar { width:58px; height:58px; flex:0 0 auto; display:grid; place-items:center; border:4px solid #ffe600; border-radius:50%; background:linear-gradient(145deg,#205f37,#0d3824); color:#ffe600; }
.profile-avatar svg { width:37px; height:37px; fill:none; stroke:currentColor; stroke-width:1.5; }
.profile-identity-copy { min-width:0; flex:1; }
.profile-identity-copy > div { min-height:25px; display:flex; align-items:center; gap:7px; white-space:nowrap; }
.profile-identity-copy strong { font-size:15px; }
.profile-identity-copy span { color:#ececec; font-size:14px; }
.profile-identity-copy > div:nth-child(2) span { font-size:20px; }
.profile-identity-copy button { width:20px; height:22px; display:grid; place-items:center; padding:0; }
.profile-identity-copy button svg { width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:1.8; }
.profile-identity-copy i { width:1px; height:17px; margin:0 3px; background:rgba(255,255,255,.4); }
.profile-currency { display:flex; align-items:center; gap:5px; }
.profile-currency strong { font-size:20px; font-weight:500; }
.profile-quick-actions { position:relative; z-index:1; display:grid; grid-template-columns:repeat(4,1fr); margin-top:17px; }
.profile-quick-actions button { position:relative; min-width:0; border:0; background:transparent; color:#fff; cursor:pointer; }
.profile-quick-actions span { width:39px; height:32px; margin:0 auto 5px; display:grid; place-items:center; }
.profile-quick-actions svg { width:31px; height:31px; fill:none; stroke:currentColor; stroke-width:2; }
.profile-quick-actions strong { display:block; font-size:14px; font-weight:600; }
.profile-quick-actions em { position:absolute; z-index:2; top:-7px; left:54%; padding:2px 6px; border-radius:5px; background:#ff220e; color:#fff900; font-size:11px; font-style:normal; font-weight:800; }
.profile-quick-actions em.yellow { background:#fff500; color:#111; }
.profile-content { padding: 0 0 calc(var(--nav-height) + 24px + env(safe-area-inset-bottom, 0px)); }
.profile-vip-card { width:calc(100% - 32px); min-height:108px; margin:0 16px 12px; padding:12px; display:grid; grid-template-columns:52px 78px 1fr 16px; align-items:center; gap:7px; border:0; border-radius:10px; background:#f2efec; color:#5b514b; text-align:left; cursor:pointer; }
.profile-vip-medal { width:52px; height:52px; display:grid; place-items:center; border:3px double #b59961; border-radius:50%; background:radial-gradient(circle,#e6c981,#aa8950); color:#5e5a4c; }
.profile-vip-medal strong { font-size:15px; }
.profile-vip-level b { display:block; margin-bottom:18px; font-size:20px; font-style:italic; }
.profile-vip-progress { height:12px; overflow:hidden; border-radius:8px; background:#dcd9d6; }
.profile-vip-progress i { display:block; width:0; height:100%; background:#bea46f; }
.profile-vip-level small { display:block; margin-top:2px; color:#9e9995; font-size:9px; white-space:nowrap; }
.profile-vip-copy strong { display:block; margin-bottom:13px; font-size:13px; font-weight:500; }
.profile-vip-copy small { color:#99948f; font-size:10px; line-height:1.3; }
.profile-vip-card > span { color:#999; font-size:30px; }
.profile-menu-group { padding:5px 16px; }
.profile-menu-row { width:100%; min-height:56px; display:grid; grid-template-columns:34px 1fr auto 15px; align-items:center; gap:8px; border:0; background:transparent; color:#fff; text-align:left; cursor:pointer; }
.profile-menu-row svg { width:25px; height:25px; fill:none; stroke:#fff; stroke-width:1.9; }
.profile-menu-row svg.yellow { stroke:#fff000; }.profile-menu-row svg.red { stroke:#ff281d; }
.profile-menu-row strong { font-size:15px; font-weight:500; }
.profile-menu-row small { color:#777d86; font-size:13px; line-height:1.25; text-align:right; }
.profile-menu-row > span { color:#71808c; font-size:28px; font-weight:300; }
.profile-menu-divider { height:12px; border-top:1px solid rgba(255,255,255,.025); border-bottom:1px solid rgba(255,255,255,.025); background:#191919; }
.profile-logout { width:calc(100% - 32px); height:46px; margin:12px 16px 0; border:1px solid rgba(255,45,59,.16); border-radius:9px; background:rgba(255,45,59,.08); color:#ff5b64; font-weight:700; }
@media(max-width:360px){.profile-vip-card{grid-template-columns:45px 65px 1fr 12px}.profile-vip-medal{width:45px;height:45px}.profile-identity-copy>div:nth-child(2) span,.profile-currency strong{font-size:17px}.profile-quick-actions strong{font-size:12px}}
.withdraw-auth-sheet[hidden] { display: none; }
.withdraw-auth-sheet { position: fixed; inset: 0; z-index: 150; display: flex; justify-content: center; align-items: flex-end; }
.withdraw-sheet-backdrop { position: absolute; inset: 0; border: 0; background: rgba(0,0,0,.72); }
.withdraw-auth-sheet form { position: relative; width: 100%; max-width: var(--shell-width); padding: 20px 16px calc(16px + env(safe-area-inset-bottom)); border-radius: 16px 16px 0 0; background: #191919; color: #fff; }
.withdraw-auth-sheet h3 { margin: 0 0 6px; font-size: 18px; }
.withdraw-auth-sheet p { margin: 0 0 15px; color: #999; font-size: 14px; }
.withdraw-auth-sheet input { width: 100%; height: 48px; padding: 0 12px; border: 1px solid #3a3a3a; border-radius: 9px; outline: 0; background: #101010; color: #fff; font-size: 18px; letter-spacing: 8px; }
.withdraw-auth-sheet form div { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.withdraw-auth-sheet form button { height: 44px; border: 0; border-radius: 8px; background: #2b2b2b; color: #fff; }
.withdraw-auth-sheet form button:last-child { background: #f4f1ef; color: #111; }

@keyframes navBadgePulse {
  0%, 100% { transform: translateY(0) scale(1); filter: brightness(1); }
  45% { transform: translateY(-2px) scale(1.06); filter: brightness(1.12); }
  60% { transform: translateY(-1px) scale(1.02); }
}

/* LATERAL DRAWER */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(2px);
  z-index: 105;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}

.drawer-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.drawer-panel {
  position: fixed;
  top: 0;
  bottom: 0;
  left: max(0px, calc(50% - 215px));
  width: 210px;
  background-color: #141519;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 106;
  visibility: hidden;
  transform: translateX(-16px);
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s linear 0.25s;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.8);
}

.drawer-panel.active {
  visibility: visible;
  transform: none;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.drawer-header {
  padding: 16px 14px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-accordion {
  padding: 8px 0;
}

.drawer-accordion-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.drawer-accordion-content {
  display: flex;
  flex-direction: column;
}

.drawer-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
}

.drawer-nav-link:hover, .drawer-nav-link.active {
  background-color: #212228;
  color: #ffffff;
}

.drawer-nav-link svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
}

/* ROUTER VIEWS */
.page-view {
  display: none;
  width: 100%;
}

.page-view.active {
  display: block;
}

/* OFERTAS VIEW 1:1 */
.ofertas-top-tabs {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-subtle);
  overflow-x: auto;
  white-space: nowrap;
  max-width: 100%;
  min-width: 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-inline: contain;
  touch-action: pan-x;
}

.ofertas-top-tabs::-webkit-scrollbar {
  display: none;
}

.ofertas-back-btn {
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.ofertas-tab-item {
  flex: 0 0 auto;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  padding-bottom: 4px;
}

.ofertas-tab-item.active {
  color: #ffffff;
}

.ofertas-tab-item.active::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--accent-gold);
}

.ofertas-body-layout {
  display: flex;
  padding: 12px;
  gap: 10px;
}

.ofertas-sidebar-filters {
  width: 68px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
}

.filter-btn-pill {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 700;
  padding: 8px 4px;
  border-radius: var(--radius-xs);
  cursor: pointer;
  text-align: center;
}

.filter-btn-pill.active {
  background-color: #2b2d35;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

.ofertas-cards-stack {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ofertas-promo-card {
  width: 100%;
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  background-color: #1a1b22;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.ofertas-promo-card img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.ofertas-promo-card.no-image {
  min-height: 72px;
  padding-top: 2px;
}

.ofertas-card-title {
  padding: 9px 10px 2px;
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
}

.ofertas-card-footer {
  padding: 6px 8px;
  font-size: 10px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Missao Items 1:1 */
.mission-item-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.mission-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mission-icon {
  width: 32px;
  height: 32px;
}

.mission-info h5 {
  font-size: 13px;
  color: #ffffff;
  margin-bottom: 2px;
}

.mission-reward-tag {
  color: var(--accent-gold);
  font-size: 11px;
  font-weight: 800;
}

.mission-action-btn {
  background-color: var(--accent-green);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: var(--radius-xs);
  border: none;
  cursor: pointer;
}

.mission-action-btn.prosseguir {
  background-color: #31333d;
  color: #ffffff;
}

/* DEPOSITO VIEW 1:1 */
.deposito-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.deposito-header-title {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
}

.deposito-header-icons {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-secondary);
}

.deposito-container {
  padding: 14px;
}

.deposito-section-label {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.payment-method-card {
  position: relative;
  background-color: #1a1b22;
  border: 1px solid var(--accent-gold);
  border-radius: var(--radius-sm);
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
}

.payment-ribbon-badge {
  position: absolute;
  top: -8px;
  right: 12px;
  background-color: var(--accent-red);
  color: #ffffff;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
}

.channel-tabs-row {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.channel-tab-pill {
  flex: 1;
  text-align: center;
  padding: 8px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.channel-tab-pill.active {
  border-color: #ffffff;
  color: #ffffff;
  background-color: #24252e;
}

.amount-chips-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.amount-chip-btn {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  padding: 10px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  cursor: pointer;
}

.amount-chip-btn.active {
  border-color: var(--accent-gold);
  background-color: #282a33;
}

.amount-chip-val {
  font-size: 13px;
  font-weight: 800;
  color: #ffffff;
}

.amount-chip-bonus {
  font-size: 10px;
  color: var(--text-muted);
}

.deposito-input-row {
  position: relative;
  margin-bottom: 20px;
}

.deposito-custom-input {
  width: 100%;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  padding: 12px 14px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
}

.btn-primary-white {
  width: 100%;
  background-color: var(--btn-white);
  color: var(--btn-white-text);
  font-size: 14px;
  font-weight: 800;
  padding: 13px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
}

/* AGENTE / AFILIADOS VIEW 1:1 */
.agent-header-bar {
  display: flex;
  align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.agent-subtabs-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-subtle);
  overflow-x: auto;
  white-space: nowrap;
  max-width: 100%;
  min-width: 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-inline: contain;
  touch-action: pan-x;
}

.agent-tab-item {
  flex: 0 0 auto;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.agent-tab-item.active {
  color: #ffffff;
  font-weight: 700;
}

.agent-card-container {
  padding: 14px;
}

.agent-stats-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin-bottom: 14px;
}

.agent-commission-tag {
  background-color: rgba(255, 45, 59, 0.15);
  color: var(--accent-red);
  border-radius: var(--radius-xs);
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 12px;
}

.agent-metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.agent-metric-item h6 {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.agent-metric-item .val {
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
}

.agent-invite-box {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 14px;
}

.agent-share-icons-row {
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin-top: 14px;
}

.share-action-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--text-secondary);
  font-size: 10px;
  cursor: pointer;
}

.share-action-item img, .share-action-item .social-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* MODAIS UNIFICADOS */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
  overflow-y: auto;
}

/* modal-auth tem X externo ABAIXO do cartão: empilha vertical e
   centraliza com margin auto (permite scroll se o form for alto) */
#modal-auth {
  flex-direction: column;
}
#modal-auth .modal-dialog-box {
  margin: auto;
}

/* todos os modais com X externo seguem o mesmo padrão dos prints */
.modal-overlay:has(.modal-external-close) {
  flex-direction: column;
}
.modal-overlay:has(.modal-external-close) .modal-dialog-box {
  margin: auto;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-dialog-box {
  width: 100%;
  max-width: 380px;
  background-color: #17181d;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 20px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

/* Página do QR Code Pix */
#modal-pix-display { padding: 0; align-items: stretch; background: rgba(0,0,0,.72); backdrop-filter: none; }
.pix-receipt-page { width: 100%; max-width: var(--shell-width); min-height: 100vh; margin: 0 auto; background: #151515; color: #fff; overflow-y: auto; }
.pix-receipt-header { position: sticky; top: 0; z-index: 2; height: 64px; display: grid; grid-template-columns: 42px 1fr 42px; align-items: center; padding: 0 12px; background: #151515; }
.pix-receipt-header h4 { text-align: center; font-size: 20px; font-weight: 500; }
.pix-receipt-header button { width: 40px; height: 40px; display: grid; place-items: center; border: 0; background: transparent; color: #b7bdc7; cursor: pointer; }
.pix-receipt-body { padding: 12px 14px 32px; }
.pix-instructions { margin: 4px 0 18px; padding: 0; list-style: none; }
.pix-instructions li { position: relative; margin-bottom: 13px; padding-left: 14px; color: #fff; font-size: 14px; line-height: 1.25; }
.pix-instructions li::before { content: ''; position: absolute; left: 0; top: .48em; width: 7px; height: 7px; border-radius: 50%; background: #f1f1f1; }
.pix-instructions li:last-child { color: #858b95; }
.pix-receipt-value { margin: 6px 0 8px; text-align: center; font-size: 30px; font-weight: 400; letter-spacing: -.02em; }
.pix-qr-frame { width: 218px; height: 218px; margin: 0 auto; padding: 6px; background: #fff; }
.pix-qr-frame img { width: 100%; height: 100%; display: block; object-fit: contain; image-rendering: pixelated; }
.pix-countdown { margin: 10px 0; text-align: center; font-size: 14px; }
.pix-countdown strong { font-weight: 500; }
.pix-copy-button { width: 226px; height: 48px; display: block; margin: 0 auto 10px; border: 0; border-radius: 8px; background: #f3f0ee; color: #111; font-size: 14px; cursor: pointer; }
.pix-code-line { min-height: 40px; display: flex; align-items: center; justify-content: center; gap: 6px; color: #fff; font-size: 13px; }
.pix-code-line strong { max-width: 235px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.pix-code-line button { border: 0; background: transparent; color: #ddd; font-size: 16px; cursor: pointer; }
.pix-order-details { margin-top: 28px; border-top: 1px solid rgba(255,255,255,.03); }
.pix-order-details div { min-height: 44px; display: grid; grid-template-columns: minmax(120px, 42%) 1fr; align-items: center; gap: 12px; }
.pix-order-details span { color: #7f8791; font-size: 13px; }
.pix-order-details strong { min-width: 0; overflow-wrap: anywhere; text-align: right; color: #fff; font-size: 13px; font-weight: 500; }
@media (max-width: 360px) { .pix-qr-frame { width: 200px; height: 200px; } .pix-receipt-body { padding-inline: 10px; } }

.modal-close-icon {
  position: absolute;
  top: 14px;
  right: 14px;
  color: var(--text-secondary);
  cursor: pointer;
}

.modal-tabs-header {
  display: flex;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 14px;
}

.modal-tab-head {
  flex: 1;
  text-align: center;
  padding: 10px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  position: relative;
}

.modal-tab-head.active {
  color: #ffffff;
}

.modal-tab-head.active::after {
  content: "";
  position: absolute;
  left: 25%;
  right: 25%;
  bottom: 0;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
}

.modal-tab-head.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--accent-gold);
}

.modal-form-group {
  margin-bottom: 12px;
  position: relative;
}

.modal-input {
  width: 100%;
  background-color: #111215;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  padding: 12px 14px;
  color: #ffffff;
  font-size: 13px;
}

.modal-input:focus {
  outline: none;
  border-color: var(--accent-gold);
}

/* Password Strength Meter */
.strength-bars-row {
  display: flex;
  gap: 4px;
  margin-top: 4px;
}

.strength-seg {
  flex: 1;
  height: 3px;
  background-color: #282a32;
  border-radius: 2px;
}

.strength-seg.active-weak { background-color: var(--accent-red); }
.strength-seg.active-fair { background-color: var(--accent-orange); }
.strength-seg.active-good { background-color: var(--accent-gold); }
.strength-seg.active-strong { background-color: var(--accent-green); }

/* TOAST NOTIFICATION */
#toast-container {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast-msg {
  background: rgba(22, 23, 28, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
  animation: toastFade 0.3s ease-out;
}

.toast-msg.error { border-color: var(--accent-red); }
.toast-msg.success { border-color: var(--accent-green); }

@keyframes toastFade {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   PAGE: TUDO / DIRECTORY 1:1 (dev/screenshots/872luck-aba-slots.jpg / Image 1)
   ========================================================================== */
.dir-header-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 48px;
  border-bottom: 1px solid var(--border-subtle);
  background-color: var(--bg-header);
}

.dir-back-arrow {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #ffffff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.dir-header-title {
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
}

.dir-search-container {
  padding: 10px 12px;
  background-color: var(--bg-shell);
}

.dir-search-box {
  position: relative;
  width: 100%;
}

.dir-search-input {
  width: 100%;
  background-color: #1c1d22;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
  padding: 9px 38px 9px 16px;
  color: #ffffff;
  font-size: 13px;
}

.dir-search-input::placeholder {
  color: #6b7280;
}

.dir-search-input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.3);
}

.dir-search-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #8a8e99;
  pointer-events: none;
}

/* 2-Column Split: Provider Sidebar (left) + Games (right) */
.dir-main-layout {
  display: flex;
  width: 100%;
  gap: 8px;
  padding: 0 10px 8px 8px;
  flex: 1;
  min-height: 0;
}

/* Página Tudo travada (Imagem 1): só sidebar e jogos rolam */
body.dir-lock {
  overflow: hidden;
}

body.dir-lock #app-shell {
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  padding-bottom: 0;
}

#page-directory.active {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 76px);
  height: calc(100dvh - 76px);
  max-height: calc(100vh - 76px);
  max-height: calc(100dvh - 76px);
  overflow: hidden;
}

/* Left Sidebar of Providers (scroll interno + seta, Imagem 1) */
.dir-providers-sidebar {
  width: 76px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
  max-height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.dir-providers-sidebar::-webkit-scrollbar {
  display: none;
}

.dir-provider-card {
  width: 100%;
  min-height: 60px;
  padding: 6px 2px;
  background-color: #1a1b20;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
  transition: all 0.15s;
}

.dir-provider-card:active {
  transform: scale(0.95);
}

.dir-provider-card.active {
  background-color: #ffffff;
  border-color: #ffffff;
}

.dir-provider-card.active .prov-icon-slots {
  color: #ff2d3b;
}

.dir-provider-card.active .prov-text {
  color: #000000;
  font-weight: 800;
}

.prov-icon-slots {
  font-size: 14px;
  font-weight: 900;
  color: #ffbe1a;
  line-height: 1;
}

.prov-text {
  font-size: 9px;
  font-weight: 700;
  color: #9ea3ae;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.25;
  word-break: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 100%;
}

.dir-sidebar-arrow-down {
  width: 100%;
  height: 24px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  font-size: 14px;
  cursor: pointer;
  position: sticky;
  bottom: 0;
  background: linear-gradient(to top, var(--bg-shell) 60%, transparent);
  padding-top: 6px;
}

/* Right Content Area */
.dir-content-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
}

/* Filter Pills on Top */
.dir-filter-pills-row {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.dir-pill-btn {
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background-color: #1c1d22;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #9ea3ae;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.dir-pill-btn.active {
  background-color: #ffffff;
  color: #000000;
  border-color: #ffffff;
}

/* Games Grid 3 Columns on Right (scroll interno, Imagem 1) */
.dir-games-grid-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-bottom: 8px;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  align-content: start;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.dir-games-grid-3col::-webkit-scrollbar {
  display: none;
}

/* Trava anti-sobreposição: itens nunca estouram a coluna */
.dir-games-grid-3col > * {
  min-width: 0;
  max-width: 100%;
}

.game-card-1col {
  width: 100%;
}

/* Pagination Row at Bottom (Image 1) */
.dir-pagination-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-shrink: 0;
  margin: 0;
  padding: 8px 0 4px;
}

.dir-page-btn {
  min-width: 28px;
  height: 28px;
  padding: 0 4px;
  border-radius: var(--radius-xs);
  background-color: #1c1d22;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #9ea3ae;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.dir-page-btn.active {
  background-color: #ffffff;
  color: #000000;
  border-color: #ffffff;
}

.dir-page-dots {
  color: #6b7280;
  font-size: 11px;
}

/* 1:1 dev/05 + 872luck-home-publica-atual.jpg: inputs c/ icone, eye, X externo */
.modal-ico-group{position:relative}
.modal-ico{position:absolute;left:12px;top:50%;transform:translateY(-50%);font-size:15px;opacity:.85;pointer-events:none}
.modal-input.has-ico{padding-left:36px}
.modal-eye{position:absolute;right:10px;top:50%;transform:translateY(-50%);background:none;border:none;font-size:15px;opacity:.7;cursor:pointer;padding:4px}
.gift-badge{position:relative;font-size:16px}
.gift-badge sup{position:absolute;top:-6px;right:-10px;background:#e63946;color:#fff;font-size:9px;font-weight:800;border-radius:8px;padding:1px 5px}
.modal-external-close{width:34px;height:34px;margin:14px auto 0;border:2px solid #fff;border-radius:50%;color:#fff;font-size:20px;line-height:30px;text-align:center;cursor:pointer;background:rgba(255,255,255,.08)}

/* ===== Icones SVG sprite (projeto antigo la-solid) ===== */
.ic{flex-shrink:0;vertical-align:-2px}
.modal-ico .ic{display:block;opacity:.9}
.modal-eye .ic{display:block;opacity:.75}
.modal-eye:hover .ic{opacity:1}
.gift-badge .ic{display:block}

/* ===== Animacoes e efeitos 1:1 (respeita prefers-reduced-motion) ===== */
@keyframes modalPop{from{opacity:0;transform:translateY(14px) scale(.96)}to{opacity:1;transform:none}}
.modal-overlay.active .modal-dialog-box{animation:modalPop .28s cubic-bezier(.2,.8,.2,1)}
.modal-overlay.active .modal-external-close{animation:modalPop .28s .05s cubic-bezier(.2,.8,.2,1) backwards}
.modal-tab-head{transition:color .2s}
.modal-tab-head.active::after{transition:width .25s}
.modal-input{transition:border-color .2s, box-shadow .2s}
.modal-input:focus{border-color:var(--accent-gold);box-shadow:0 0 0 2px rgba(255,208,0,.25);outline:none}
.btn-press{transition:transform .12s, filter .15s}
.btn-press:active{transform:scale(.97);filter:brightness(1.1)}
.strength-seg{transition:background-color .3s, width .3s}
.page-view.active{animation:pageIn .25s ease-out}
@keyframes pageIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.game-card{transition:transform .18s, box-shadow .18s}
.game-card:hover{transform:translateY(-3px)}
.game-card:active{transform:scale(.97)}
.dir-provider,.dir-filter,.promo-tab,.channel-pill,.amount-btn{transition:background-color .18s,border-color .18s,color .18s,transform .12s}
.dir-provider:active,.dir-filter:active,.promo-tab:active{transform:scale(.95)}
@keyframes skelShimmer{from{transform:translateX(-100%)}to{transform:translateX(100%)}}
.skel{position:relative;overflow:hidden;background:rgba(255,255,255,.06);border-radius:8px;min-height:64px}
.skel::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent,rgba(255,255,255,.12),transparent);animation:skelShimmer 1.2s infinite}
@keyframes sacPulse{0%{box-shadow:0 0 0 0 rgba(255,208,0,.45)}70%{box-shadow:0 0 0 12px rgba(255,208,0,0)}100%{box-shadow:0 0 0 0 rgba(255,208,0,0)}}
.floating-support-btn{animation:sacPulse 2.4s infinite}
.nav-tab-item{transition:color .18s, transform .12s}
.nav-tab-item:active{transform:scale(.92)}
.drawer-nav-link{transition:background-color .15s,padding-left .2s}
.drawer-nav-link:hover{padding-left:24px}
@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important}
  html{scroll-behavior:auto !important}
}

/* Sidebar provedoras reais: logo do painel ou 2 letras */
.prov-logo{width:30px;height:30px;object-fit:contain;display:block}
.prov-initials{font-weight:900;font-size:13px;color:#fff;line-height:1;letter-spacing:.5px}
.dir-provider-card.active .prov-initials{color:#000}

/* Lazyload da marca: shimmer enquanto o admin nao definiu/carregou */
.brand-loading{display:inline-block;width:72px;height:14px;border-radius:7px;background:rgba(255,255,255,.12);position:relative;overflow:hidden;vertical-align:middle}
.brand-loading::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent,rgba(255,255,255,.25),transparent);animation:skelShimmer 1.2s infinite}

/* Pills flutuantes recolhíveis (convite + telegram) */
.float-pill{display:flex;align-items:center;gap:8px;border-radius:999px;padding:8px 14px 8px 10px;cursor:pointer;overflow:hidden;white-space:nowrap;max-width:230px;transition:max-width .5s ease,padding .5s ease,border-radius .5s ease;box-shadow:0 4px 14px rgba(0,0,0,.45)}
.floating-invite-pill{background:linear-gradient(135deg,#22c55e,#15803d);border:1px solid rgba(255,255,255,.25);color:#fff}
.float-txt{display:flex;flex-direction:column;line-height:1.25;max-width:150px;opacity:1;transition:max-width .5s ease,opacity .3s ease;overflow:hidden}
.float-txt strong{font-size:11px;font-weight:800}
.float-txt small{font-size:10px;opacity:.9}
.float-pill.collapsed{max-width:48px;width:48px;height:48px;padding:0;display:flex;align-items:center;justify-content:center;border-radius:50%}
.float-pill.collapsed .float-txt{max-width:0;opacity:0}
.float-pill.collapsed svg{width:25px;height:25px;margin:0;flex:0 0 25px;display:block}
.float-tg-wrap{position:relative}
.float-wrap{position:relative;pointer-events:auto !important;z-index:90}
.float-close{position:absolute;top:-8px;right:-8px;width:22px;height:22px;border-radius:50%;background:rgba(0,0,0,.92);border:1.5px solid rgba(255,255,255,.75);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;z-index:100 !important;pointer-events:auto !important;touch-action:manipulation;box-shadow:0 2px 6px rgba(0,0,0,.6);transition:transform .15s ease,background-color .15s ease;padding:0;outline:none;line-height:0}
.float-close svg{width:11px;height:11px;stroke:#fff;stroke-width:2.5;pointer-events:none;display:block;flex:0 0 auto;margin:auto}
.float-close:hover{background:#ff2d3b;border-color:#ff2d3b;transform:scale(1.1)}
.float-close:active{transform:scale(.9)}

/* Promoção/Agente 1:1 (feed, ID card, comissao, convite) */
.agent-subtabs-row{display:flex;gap:14px;overflow-x:auto;padding:10px 12px;scrollbar-width:none;border-bottom:1px solid var(--border-subtle);max-width:100%;min-width:0;-webkit-overflow-scrolling:touch;overscroll-behavior-inline:contain;touch-action:pan-x}
.agent-subtabs-row::-webkit-scrollbar{display:none}
.agent-tab-item{flex-shrink:0;font-size:12px;font-weight:600;color:var(--text-secondary);cursor:pointer;padding:4px 2px;position:relative}
.agent-tab-item.active{color:#fff}
.agent-tab-item.active::after{content:"";position:absolute;left:0;right:0;bottom:-11px;height:2px;background:var(--accent-gold)}
.agent-panel{padding:12px}
.agent-feed-marquee{overflow:hidden;white-space:nowrap;margin-bottom:10px;-webkit-mask-image:linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent);mask-image:linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent)}
.agent-feed-track{display:inline-block;animation:feedScroll 18s linear infinite;font-size:11px;color:var(--text-secondary)}
.agent-feed-track span{margin-right:28px}
.agent-feed-track strong{color:var(--accent-gold)}
@keyframes feedScroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}
.agent-event-banner{margin-bottom:12px}
.agent-id-card{display:flex;gap:12px;align-items:center;background:var(--bg-card);border:1px solid var(--border-color);border-radius:var(--radius-md);padding:12px;margin-bottom:12px}
.agent-medal{position:relative;flex-shrink:0}
.agent-help{position:absolute;top:-6px;right:-6px;width:16px;height:16px;border-radius:50%;background:#3a3b45;color:#fff;font-size:10px;line-height:16px;text-align:center;cursor:pointer}
.agent-id-col{display:flex;flex-direction:column;gap:2px;min-width:0}
.agent-id-col.right{margin-left:auto;text-align:right}
.agent-id-num{font-size:15px;font-weight:800;color:#fff}
.agent-infinite{display:inline-block;font-size:10px;border:1px solid var(--text-muted);border-radius:4px;padding:1px 6px;color:#fff;margin-top:4px}
.agent-lbl{font-size:10px;color:var(--text-muted)}
.agent-val{font-size:13px;font-weight:700;color:#fff}
.agent-comm-banner{background:var(--bg-card);border:1px solid var(--border-color);border-radius:var(--radius-md);padding:12px;margin-bottom:12px;cursor:pointer}
.agent-comm-pill{display:inline-block;background:#e63946;color:#fff;font-size:11px;font-weight:700;border-radius:6px;padding:4px 10px;margin-bottom:10px}
.agent-comm-pill strong{color:#ffd000}
.agent-comm-row{display:flex;justify-content:space-between;align-items:center;font-size:13px;font-weight:700;color:#fff}
.agent-comm-row small{font-weight:400;color:var(--text-muted);font-size:11px}
.agent-metrics-grid{display:grid;grid-template-columns:1fr 1fr 1fr;background:var(--bg-card);border:1px solid var(--border-color);border-radius:var(--radius-md);padding:12px;margin-bottom:12px;gap:10px}
.agent-metric-item h6{font-size:10px;color:var(--text-muted);font-weight:400;margin-bottom:4px}
.agent-metric-item .val{font-size:13px;font-weight:700;color:#fff}
.agent-claim-btn{background:#3a3b45;color:#fff;border:none;border-radius:6px;padding:8px 10px;font-size:12px;font-weight:700;cursor:pointer;width:100%}
.agent-invite-box{background:var(--bg-card);border:1px solid var(--border-color);border-radius:var(--radius-md);padding:12px}
.agent-share-icons-row{display:flex;gap:6px;margin-top:12px}
.share-action-item{flex:1;display:flex;flex-direction:column;align-items:center;gap:6px;font-size:10px;color:var(--text-secondary);cursor:pointer}
.social-circle{width:44px;height:44px;border-radius:50%;display:flex;align-items:center;justify-content:center}

/* Ofertas em tela cheia travada (igual ao Todos) */
#page-ofertas.active {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 76px);
  height: calc(100dvh - 76px);
  max-height: calc(100vh - 76px);
  max-height: calc(100dvh - 76px);
  overflow: hidden;
}
#page-ofertas .ofertas-top-tabs {
  flex-shrink: 0;
}
#page-ofertas .ofertas-cards-stack {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 12px 12px 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-gold) #17181d;
  -ms-overflow-style: none;
}
#page-ofertas .ofertas-cards-stack::-webkit-scrollbar {
  width: 6px;
}

/* Promoção/Agente em tela cheia travada (igual ao Todos/Ofertas) */
#page-agente.active {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 76px);
  height: calc(100dvh - 76px);
  max-height: calc(100vh - 76px);
  max-height: calc(100dvh - 76px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-gold) #17181d;
  -ms-overflow-style: none;
}
#page-agente.active::-webkit-scrollbar {
  width: 6px;
}
#page-agente .agent-header-bar {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--bg-shell);
}

/* Depósito em tela cheia travada (igual ao Todos/Ofertas/Promoção) */
#page-deposito.active {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 76px);
  height: calc(100dvh - 76px);
  max-height: calc(100vh - 76px);
  max-height: calc(100dvh - 76px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-gold) #17181d;
  -ms-overflow-style: none;
}
#page-deposito.active::-webkit-scrollbar {
  width: 6px;
}
#page-deposito .deposito-header-bar {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--bg-shell);
}

/* FAQ em tela cheia travada (igual às demais) */
#page-faq.active {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 76px);
  height: calc(100dvh - 76px);
  max-height: calc(100vh - 76px);
  max-height: calc(100dvh - 76px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-gold) #17181d;
  -ms-overflow-style: none;
}
#page-faq.active::-webkit-scrollbar {
  width: 6px;
}

/* Centro de mensagens */
#page-faq { background:#202020; }
.support-header-bar { flex:0 0 58px; display:grid; grid-template-columns:42px 1fr 42px; align-items:center; padding:0 10px; border-bottom:1px solid var(--border-subtle); background:#151515; }
.support-header-bar button { width:40px; height:40px; display:grid; place-items:center; border:0; background:transparent; color:#aeb5bf; cursor:pointer; }
.support-header-bar h2 { color:#fff; text-align:center; font-size:19px; font-weight:600; }
.support-tabs-row { flex:0 0 52px; display:flex; align-items:stretch; gap:28px; padding:0 18px; overflow-x:auto; scrollbar-width:none; border-bottom:1px solid rgba(255,255,255,.035); background:#151515; }
.support-tabs-row::-webkit-scrollbar { display:none; }
.support-tabs-row .agent-tab-item { position:relative; flex:0 0 auto; display:flex; align-items:center; padding:0; color:#fff; font-size:14px; white-space:nowrap; cursor:pointer; }
.support-tabs-row .agent-tab-item::after { content:''; position:absolute; left:0; right:0; bottom:0; height:2px; background:transparent; }
.support-tabs-row .agent-tab-item.active::after { background:#efefef; }
.support-panel { padding:14px 12px 24px; }
.support-online-card { display:grid; grid-template-columns:58px 1fr; gap:10px; padding:16px 14px; border-radius:9px; background:#121212; }
.support-online-avatar { width:55px; height:55px; display:grid; place-items:center; border:2px solid #e8edf5; border-radius:50%; background:linear-gradient(145deg,#4f5870,#20242d); color:#fff; }
.support-online-avatar svg { width:31px; height:31px; fill:none; stroke:currentColor; stroke-width:1.8; }
.support-online-copy h3 { margin:0 0 4px; color:#fff; font-size:19px; font-weight:500; }
.support-online-copy p { max-width:320px; margin:0; color:#7f828a; font-size:13px; line-height:1.25; }
.support-online-copy button { min-width:118px; height:35px; margin-top:20px; border:1px solid #fff; border-radius:8px; background:transparent; color:#fff; font-size:12px; cursor:pointer; }
.support-other-card { margin-top:12px; overflow:hidden; border-radius:9px; background:#121212; }
.support-other-card > h3 { height:50px; display:flex; align-items:center; gap:5px; padding:0 12px; border-bottom:1px solid #f1f1f1; color:#fff; font-size:14px; font-weight:500; }
.support-other-list { padding:20px 13px; }
.support-contact-row { min-height:70px; display:grid; grid-template-columns:50px 1fr 78px; align-items:center; gap:12px; padding:10px 12px; border-radius:8px; background:#202020; }
.support-contact-row + .support-contact-row { margin-top:9px; }
.support-telegram { width:46px; height:46px; display:grid; place-items:center; border-radius:50%; background:#33aee4; color:#fff; }
.support-telegram svg { width:25px; height:25px; fill:none; stroke:currentColor; stroke-width:1.8; }
.support-contact-row small,.support-contact-row strong { display:block; }
.support-contact-row small { color:#858892; font-size:13px; }.support-contact-row strong { margin-top:3px; color:#fff; font-size:14px; }
.support-contact-row > button { min-height:33px; border:0; border-radius:6px; background:#f4f1ef; color:#625851; font-size:12px; line-height:1.15; cursor:pointer; }
.support-feedback-panel { padding:14px 12px; }
#faq-panel-noticia,#faq-panel-notificacao,#faq-panel-rolante { padding:12px; }
#faq-panel-noticia .rec-list,#faq-panel-notificacao .rec-list,#faq-panel-rolante .rec-list { padding:0; }

/* Roda da Sorte */
.lucky-wheel-open .bottom-nav-bar{display:none!important}.lucky-wheel-open #app-shell{padding-bottom:0}
#page-lucky-wheel.active{height:100dvh;overflow-y:auto;background:#202020;scrollbar-width:thin;scrollbar-color:var(--accent-gold) #17181d}
.wheel-page-header{position:sticky;top:0;z-index:10;height:62px;display:grid;grid-template-columns:44px 1fr 70px;align-items:center;padding:0 10px;border-bottom:1px solid var(--border-subtle);background:#151515}
.wheel-page-header h2{text-align:center;font-size:19px;font-weight:600}.wheel-page-header button{border:0;background:transparent;color:#fff;font-size:14px;cursor:pointer}.wheel-page-header button:first-child{width:40px;height:40px;display:grid;place-items:center;color:#aeb5bf}.wheel-page-header svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:2}
.wheel-page-body{padding:14px 12px 34px}.wheel-game-card,.wheel-feed-card,.wheel-rules{border-radius:10px;background:#121212}.wheel-game-card{position:relative;padding:12px 14px 14px}.wheel-points-line{display:flex;justify-content:space-between;gap:10px;color:#7d838c;font-size:14px}.wheel-points-line strong{color:#ffae00;font-weight:500}.wheel-points-line button{border:0;background:transparent;color:#fff;font-size:14px}.wheel-game-card>p{margin:4px 0 10px;padding-bottom:8px;border-bottom:1px solid #555;color:#7d838c;font-size:14px}.wheel-game-card>p strong{color:#fff;font-weight:500}.wheel-details{margin:8px 0;padding:10px;border-radius:7px;background:#1d1d1d;color:#999;font-size:12px}.wheel-details div{display:flex;justify-content:space-between;margin:4px 0}.wheel-details strong{color:#fff}
.wheel-pointer{position:absolute;z-index:5;left:50%;top:91px;width:0;height:0;transform:translateX(-50%);border-left:13px solid transparent;border-right:13px solid transparent;border-bottom:31px solid #d9dbe1;filter:drop-shadow(0 1px 1px #555)}
.lucky-wheel-shell{width:324px;height:324px;margin:18px auto 14px;padding:10px;border:8px solid #aeb4c0;border-radius:50%;background:#d9dce3;box-shadow:inset 0 0 0 4px #717985,0 4px 0 #707785}
.lucky-wheel-disc{position:relative;width:100%;height:100%;border-radius:50%;background:conic-gradient(#1476df 0 36deg,#1f9ef4 36deg 72deg,#176ede 72deg 108deg,#20a5f6 108deg 144deg,#216ad8 144deg 180deg,#1599ed 180deg 216deg,#2169d8 216deg 252deg,#1ca3f5 252deg 288deg,#176fe0 288deg 324deg,#1d99ef 324deg);transition:transform 4.6s cubic-bezier(.12,.68,.08,1);box-shadow:inset 0 0 0 5px rgba(0,0,0,.13)}
.lucky-wheel-disc>span{position:absolute;left:50%;top:7px;width:44px;margin-left:-22px;transform-origin:22px 137px;transform:rotate(calc(var(--i)*36deg));color:#fff;text-align:center;font-size:24px;font-weight:500;text-shadow:0 1px 1px rgba(0,0,0,.35)}
.lucky-wheel-disc>span::after{content:'◉';display:block;margin-top:9px;color:#ffe84f;font-size:23px;text-shadow:0 1px 0 #a77b00}
.lucky-wheel-disc>button{position:absolute;z-index:4;left:50%;top:50%;width:94px;height:94px;transform:translate(-50%,-50%);border:6px solid #ccd0da;border-radius:50%;background:linear-gradient(#3fa9fa,#2180db);box-shadow:0 0 0 3px #505c73;color:#fff;font-size:16px;cursor:pointer}.lucky-wheel-disc>button:disabled{opacity:.65}
.wheel-levels{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.wheel-levels button{min-height:50px;padding:5px;border:1px solid #343434;border-radius:7px;background:#141414;color:#fff}.wheel-levels button.active{border-color:#187be7;background:#187be7}.wheel-levels strong,.wheel-levels small{display:block}.wheel-levels strong{font-size:13px}.wheel-levels small{margin-top:2px;color:#9298a0;font-size:10px}.wheel-levels button.active small{color:#fff}
.wheel-feed-card{margin-top:12px;padding-bottom:8px}.wheel-feed-tabs{height:54px;display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid #292929}.wheel-feed-tabs button{position:relative;border:0;background:transparent;color:#fff;font-size:16px}.wheel-feed-tabs button.active::after{content:'';position:absolute;left:20%;right:20%;bottom:0;height:2px;background:#fff}.wheel-feed-row{min-height:66px;margin:8px 9px;padding:8px 12px;display:grid;grid-template-columns:34px 82px 1fr auto;align-items:center;gap:6px;border-radius:8px;background:#1d1d1d}.wheel-feed-icon{width:28px;height:28px;display:grid;place-items:center;border:2px solid #ecae1f;border-radius:50%;background:#297dd6;color:#fff;font-size:13px}.wheel-feed-row time,.wheel-feed-row p{color:#7d838c;font-size:12px}.wheel-feed-row p{margin:0;line-height:1.3}.wheel-feed-row strong{color:#ffa900;font-size:13px}.wheel-feed-empty{padding:40px 15px;text-align:center;color:#777}
.wheel-rules{margin-top:12px;padding:14px;color:#8b9098;font-size:12px;line-height:1.55}.wheel-rules h3{margin:10px 0 3px;color:#fff;font-size:13px}.wheel-rules h3:first-child{margin-top:0}.wheel-rules ol{padding-left:18px}.wheel-rules li{margin-bottom:7px}
@media(max-width:380px){.lucky-wheel-shell{width:286px;height:286px}.lucky-wheel-disc>span{transform-origin:22px 118px;font-size:21px}.wheel-page-header h2{font-size:16px}.wheel-feed-row{grid-template-columns:30px 70px 1fr auto}}

/* Estado vazio padrão 1:1 (ilustração caixa + "Sem Registros") */
.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:64px 20px;gap:14px}
.empty-state p{font-size:13px;color:var(--text-muted);margin:0}

/* Menu categorias 1:1 (borda + animação dos ícones) */
.category-nav-bar{border:1px solid var(--border-subtle);border-radius:var(--radius-md);margin:0 12px 10px;padding:6px 8px;position:relative}
@keyframes catIn{from{opacity:0;transform:translateY(8px) scale(.9)}to{opacity:1;transform:none}}
.cat-item-pill svg{animation:catIn .35s backwards}
.cat-item-pill:nth-child(2) svg{animation-delay:.05s}
.cat-item-pill:nth-child(3) svg{animation-delay:.1s}
.cat-item-pill:nth-child(4) svg{animation-delay:.15s}
.cat-item-pill:nth-child(5) svg{animation-delay:.2s}
.cat-item-pill:nth-child(6) svg{animation-delay:.25s}
.cat-item-pill:nth-child(7) svg{animation-delay:.3s}
.cat-item-pill:nth-child(8) svg{animation-delay:.35s}
@keyframes iconPulse{0%,100%{transform:scale(1)}50%{transform:scale(1.18)}}
.cat-item-pill.active svg{animation:iconPulse 1.6s ease-in-out infinite}
.cat-item-pill:active svg{transform:scale(.85)}
.badge-top-fav{position:absolute;top:5px;right:5px;width:20px;height:20px;border-radius:50%;background:rgba(0,0,0,.55);display:flex;align-items:center;justify-content:center;z-index:2;cursor:pointer}
.badge-top-fav svg{width:11px;height:11px;color:#fff;transition:transform .15s}
.badge-top-fav:active svg{transform:scale(1.3)}
.badge-top-fav.active svg{color:var(--accent-gold)}

/* Botão de registro chamando atenção (pulando) */
@keyframes btnBounceAttn {
  0%, 100% { transform: translateY(0); }
  15% { transform: translateY(-7px); }
  30% { transform: translateY(0); }
  45% { transform: translateY(-4px); }
  60% { transform: translateY(0); }
}
.btn-bounce-attn {
  animation: btnBounceAttn 1.8s ease-in-out infinite;
  will-change: transform;
}
.btn-bounce-attn:active {
  animation: none;
}
@media (prefers-reduced-motion: reduce) {
  .btn-bounce-attn { animation: none; }
}

/* Segurança 1:1 (linhas ícone+título | valor+chevron) */
.sec-card{overflow:hidden;background:var(--bg-surface);border:1px solid var(--border-subtle);border-radius:12px;padding:0;margin-bottom:14px}
.sec-row{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:62px;padding:12px 14px;border-bottom:1px solid var(--border-subtle);font-size:14px}
.sec-row:last-child{border-bottom:none}
.sec-row[onclick]{cursor:pointer}
.sec-label{display:flex;align-items:center;gap:11px;color:#fff;font-weight:600}
.sec-label svg{color:var(--text-muted);flex-shrink:0}
.sec-value{max-width:52%;color:var(--text-secondary);font-size:12px;display:flex;align-items:center;gap:2px;text-align:right}
.sec-card .form-group{margin:0;padding:10px 14px 0}
.sec-card .form-group .modal-input{width:100%;height:46px;border-color:var(--border-subtle);border-radius:9px;background:#111216;color:#fff}
.sec-card .btn-primary-white{width:calc(100% - 28px);min-height:44px;margin:10px 14px 14px;border:0;border-radius:9px;background:#f5f3f1;color:#111;font-weight:700}
.sec-chev{color:var(--text-muted);font-size:16px}

/* Taxa de Rebate 1:1 (imagem) */
#page-ofertas.rebate-mode .ofertas-sidebar-filters{display:none}
#page-ofertas.rebate-mode .ofertas-body-layout{padding:0}
#page-ofertas.rebate-mode .ofertas-cards-stack{gap:0}
.rebate-available{padding:10px 12px 8px;color:#9ea3ae;font-size:13px}
.rebate-available strong{color:var(--accent-gold);font-weight:800}
.rebate-layout{display:flex;gap:8px;padding:0 10px 12px;align-items:flex-start}
.rebate-side{width:76px;flex:0 0 76px;display:flex;flex-direction:column;gap:8px;position:sticky;top:0}
.rebate-cat{display:flex;align-items:center;justify-content:center;gap:5px;min-height:52px;padding:8px 4px;border:1px solid #fff;border-radius:8px;background:#fff;color:#111;font-size:13px;font-weight:800;cursor:pointer}
.rebate-claim{min-height:46px;padding:8px 4px;border:1px solid rgba(255,255,255,.08);border-radius:8px;background:#2b2d35;color:#cfd3da;font-size:11px;font-weight:700;cursor:pointer}
.rebate-claim:active{transform:scale(.96)}
.rebate-hist{min-height:46px;padding:8px 4px;border:1px solid rgba(255,255,255,.12);border-radius:8px;background:#fff;color:#111;font-size:11px;font-weight:700;cursor:pointer}
.rebate-hist:active{transform:scale(.96)}
.rebate-list{flex:1;min-width:0;display:flex;flex-direction:column;gap:8px}
.rebate-card{border:1px solid rgba(255,255,255,.06);border-radius:8px;background:#1b1c21;padding:10px 10px 12px;cursor:pointer}
.rebate-card:active{transform:scale(.99)}
.rebate-card-main{display:grid;grid-template-columns:34px minmax(0,1fr) auto 14px;gap:8px;align-items:center}
.rebate-prov-badge{font-size:15px;font-weight:900;letter-spacing:.3px;line-height:1;text-align:center}
.rebate-card-left{min-width:0}
.rebate-valid{color:#9ea3ae;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rebate-valid strong{color:#fff;font-weight:700}
.rebate-bar{height:10px;margin-top:7px;border-radius:6px;background:#3a3b45;overflow:hidden}
.rebate-bar i{display:block;height:100%;width:0;border-radius:6px;background:#6b6e7a}
.rebate-card-right{text-align:right}
.rebate-rate-line,.rebate-collect-line{color:#9ea3ae;font-size:11px;line-height:1.5;white-space:nowrap}
.rebate-rate-line strong{color:#fff;font-weight:700}
.rebate-collect-line strong{color:var(--accent-gold);font-weight:800}
.rebate-chev{color:#6b7280;font-size:22px;font-weight:300;line-height:1}
.rebate-hist-list{display:flex;flex-direction:column;gap:8px;padding:0 12px}
.rebate-hist-row{display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid var(--border-subtle);border-radius:8px;background:var(--bg-surface);padding:10px 12px;color:#fff;font-size:13px}
.rebate-hist-row small{display:block;color:var(--text-muted);font-size:11px;margin-top:2px;overflow-wrap:anywhere}
.rebate-hist-row>span{color:var(--text-muted);font-size:11px;white-space:nowrap}
.rebate-back{display:block;width:calc(100% - 24px);margin:12px;min-height:44px;border:0;border-radius:8px;background:#f5f3f1;color:#111;font-weight:700;cursor:pointer}
@media(max-width:360px){.rebate-side{width:68px;flex-basis:68px}.rebate-card-main{grid-template-columns:28px minmax(0,1fr) auto 12px}.rebate-valid{font-size:11px}.rebate-rate-line,.rebate-collect-line{font-size:10px}}

/* Poupanca 1:1 (imagem) */
#page-ofertas.savings-mode .ofertas-sidebar-filters{display:none}
#page-ofertas.savings-mode .ofertas-body-layout{padding:0}
#page-ofertas.savings-mode .ofertas-cards-stack{gap:0}
.sav-top{background:#151515;padding:12px 12px 14px}
.sav-row1{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.sav-deposited{position:relative;color:#9ea3ae;font-size:13px;line-height:1.6}
.sav-deposited strong{display:block;color:#fff;font-size:15px;font-weight:800}
.sav-rate-badge{position:absolute;top:-14px;left:64px;white-space:nowrap;padding:2px 8px;border-radius:4px;background:#c91d1d;color:#fff;font-size:10px;font-weight:800}
.sav-top-btns{display:flex;gap:8px;flex-shrink:0}
.sav-btn-light{min-width:74px;min-height:34px;padding:7px 14px;border:0;border-radius:7px;background:#f5f3f1;color:#111;font-size:12px;font-weight:700;cursor:pointer}
.sav-btn-dim{min-width:74px;min-height:34px;padding:7px 14px;border:0;border-radius:7px;background:#3a3b45;color:#cfd3da;font-size:12px;font-weight:700;cursor:pointer}
.sav-btn-light:active,.sav-btn-dim:active{transform:scale(.95)}
.sav-transfer-box{margin-top:10px}
.sav-transfer-row{display:flex;gap:8px}
.sav-transfer-row input{flex:1;min-width:0;height:40px;padding:0 12px;border:1px solid #333;border-radius:8px;background:#1d1d1d;color:#fff;font-size:14px;outline:0}
.sav-row2{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-top:12px}
.sav-cycle{color:#9ea3ae;font-size:12px;line-height:1.7}
.sav-cycle strong{color:#fff;font-weight:600}
.sav-max{color:#9ea3ae;font-size:12px;line-height:1.7;text-align:right}
.sav-max strong{color:#fff;font-weight:600}
.sav-claim{align-self:center;min-width:74px;min-height:44px;padding:8px 14px;border:0;border-radius:7px;background:#3a3b45;color:#cfd3da;font-size:12px;font-weight:700;cursor:pointer;flex-shrink:0}
.sav-claim:active{transform:scale(.95)}
.sav-subtabs{display:flex;gap:26px;padding:12px 14px 0;background:var(--bg-shell)}
.sav-subtabs span{position:relative;padding-bottom:10px;color:#cfd3da;font-size:14px;cursor:pointer;white-space:nowrap}
.sav-subtabs span.active{color:#fff;font-weight:600}
.sav-subtabs span.active::after{content:'';position:absolute;left:0;right:0;bottom:0;height:2px;background:#efefef}
.sav-filters{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px}
.sav-selects{display:flex;gap:8px}
.sav-select{display:flex;align-items:center;gap:10px;min-width:76px;height:34px;padding:0 12px;border:1px solid rgba(255,255,255,.14);border-radius:999px;background:transparent;color:#cfd3da;font-size:12px;cursor:pointer}
.sav-accum{color:#cfd3da;font-size:12px;white-space:nowrap}
.sav-accum strong{color:#fff}
.sav-table-head{display:grid;grid-template-columns:1fr 1fr 1fr;margin:0 12px;padding:10px 0;border:1px solid rgba(255,255,255,.14);border-radius:8px;color:#fff;font-size:13px;text-align:center}
.sav-list{padding:4px 0 20px}
.sav-empty{display:flex;flex-direction:column;align-items:center;gap:12px;padding:56px 20px 70px;color:#6b7280;font-size:13px}
.sav-row{display:grid;grid-template-columns:1fr 1fr 1fr;margin:0 12px;padding:11px 0;border-bottom:1px solid rgba(255,255,255,.06);color:#cfd3da;font-size:12px;text-align:center}
.sav-row strong{color:#fff}
.sav-rules{padding:14px;color:#9ea3ae;font-size:13px;line-height:1.7}
.sav-rules strong{color:#fff}
.sav-rules p{margin:0 0 10px}
@media(max-width:360px){.sav-rate-badge{left:52px;font-size:9px}.sav-subtabs{font-size:13px;gap:18px}}

/* CTA Deposito estilo pildora branca + selo +0,5% (imagem) */
.header-btn-deposit-chip{position:relative;min-width:72px;height:34px;background:linear-gradient(105deg,#fff 0%,#fff 42%,#fff4cf 50%,#fff 58%,#fff 100%);background-size:240% 100%;color:#171717;font-size:12px;font-weight:600;padding:7px 14px;border-radius:999px;border:1px solid rgba(255,255,255,.88);cursor:pointer;overflow:visible;box-shadow:0 3px 10px rgba(0,0,0,.32);animation:depButtonGlow 2.4s ease-in-out infinite}
.dep-chip-badge{position:absolute;z-index:2;top:-10px;right:1px;padding:1px 7px;border-radius:8px 8px 8px 3px;background:linear-gradient(180deg,#ff5a31 0%,#d91f1f 100%);color:#ffe329;font-size:10px;font-weight:900;line-height:15px;text-shadow:0 1px 1px rgba(92,0,0,.8);box-shadow:0 2px 6px rgba(0,0,0,.5),0 0 0 1px rgba(255,225,41,.2);white-space:nowrap;transform-origin:50% 100%;animation:depBadgeAttention 1.25s cubic-bezier(.2,.8,.3,1) infinite}
.nav-deposit-cta{overflow:visible}
.nav-deposit-cta .nav-deposit-icon{stroke-width:1.35}
#nav-btn-deposito .badge-bonus{right:calc(50% - 32px);top:3px}
/* Animacao chamando para depositar (pulso + brilho) */
@keyframes depPulse{0%,100%{transform:scale(1);box-shadow:0 0 0 0 rgba(255,213,28,.55)}50%{transform:scale(1.07);box-shadow:0 0 0 9px rgba(255,213,28,0)}}
.header-btn-deposit-chip.dep-attn{will-change:transform,background-position}
@keyframes depButtonGlow{0%,100%{transform:scale(1);background-position:100% 0;box-shadow:0 3px 10px rgba(0,0,0,.32)}50%{transform:scale(1.035);background-position:0 0;box-shadow:0 4px 15px rgba(255,213,28,.28)}}
@keyframes depBadgeAttention{0%,100%{transform:translateY(0) scale(1);filter:brightness(1)}35%{transform:translateY(-3px) scale(1.1) rotate(-2deg);filter:brightness(1.18)}55%{transform:translateY(0) scale(.97) rotate(1deg);filter:brightness(1)}}
.dep-attn:active{animation:none}
@media (prefers-reduced-motion: reduce){.dep-attn,.dep-chip-badge{animation:none}}
