/* Backend print template — mirrors React app layout */
:root {
  --bg: hsl(215 50% 7%);
  --fg: hsl(210 30% 97%);
  --card: hsl(215 40% 11%);
  --secondary: hsl(215 35% 15%);
  --muted-fg: hsl(210 20% 70%);
  --border: hsl(215 35% 20%);
  --primary: hsl(205 95% 60%);
  --accent: hsl(195 95% 70%);
  --warning: hsl(38 95% 60%);
  --success: hsl(142 70% 55%);
  --sidebar-bg: hsl(215 50% 8%);
  --gradient-primary: linear-gradient(135deg, hsl(205 95% 60%), hsl(195 95% 70%));
  --gradient-banner: linear-gradient(135deg, hsl(210 70% 16% / 0.9), hsl(200 70% 12% / 0.9));
  --gradient-card: linear-gradient(160deg, hsl(215 40% 13%), hsl(215 45% 10%));
  --shadow-glow: 0 0 30px hsl(205 95% 60% / 0.35);
  --radius: 0.85rem;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--fg); font-family: 'Inter', system-ui, sans-serif; min-height: 100vh; }

.app { display: flex; min-height: 100vh; }

/* Sidebar */
.sidebar {
  width: 240px; flex-shrink: 0;
  background: var(--sidebar-bg);
  border-right: 1px solid var(--border);
  padding: 24px 16px;
  display: flex; flex-direction: column; gap: 24px;
}
.logo { display: flex; align-items: center; gap: 10px; padding: 0 8px 8px; }
.logo-mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--gradient-primary);
  display: grid; place-items: center; font-size: 18px;
  box-shadow: var(--shadow-glow);
}
.logo-text { font-weight: 700; font-size: 18px; letter-spacing: -0.02em; }

.nav { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.nav-section {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--muted-fg); padding: 12px 12px 6px;
}
.nav-link {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: 10px;
  color: var(--muted-fg); text-decoration: none;
  font-size: 14px; font-weight: 500; cursor: pointer;
  transition: all 0.15s;
}
.nav-link .i { width: 18px; text-align: center; }
.nav-link:hover { background: var(--secondary); color: var(--fg); }
.nav-link.active { background: var(--secondary); color: var(--fg); position: relative; }
.nav-link.active::before {
  content: ''; position: absolute; left: 0; top: 8px; bottom: 8px;
  width: 3px; background: var(--gradient-primary); border-radius: 2px;
}

.support-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}
.support-title { font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.support-sub { font-size: 12px; color: var(--muted-fg); margin-bottom: 12px; }
.support-btn {
  width: 100%; padding: 8px 12px; border: none; cursor: pointer;
  background: var(--gradient-primary); color: white;
  border-radius: 999px; font-weight: 600; font-size: 13px;
}

/* Main */
.main { flex: 1; min-width: 0; padding: 24px; }

/* TopBar */
.topbar { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.search { position: relative; flex: 1; max-width: 560px; }
.search-icon {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  color: var(--muted-fg); font-size: 13px;
}
.search input {
  width: 100%; background: hsl(215 35% 15% / 0.6);
  border: 1px solid var(--border); border-radius: 999px;
  padding: 10px 16px 10px 40px; color: var(--fg);
  font-size: 14px; outline: none;
}
.search input::placeholder { color: var(--muted-fg); }
.balance {
  display: flex; align-items: center; gap: 8px;
  background: hsl(215 35% 15% / 0.6); border: 1px solid var(--border);
  border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: 14px;
}
.balance .coin { color: var(--warning); }
.deposit {
  background: var(--gradient-primary); color: white; border: none;
  padding: 10px 20px; border-radius: 999px; font-weight: 600; font-size: 14px;
  cursor: pointer; box-shadow: var(--shadow-glow);
}
.bell {
  width: 40px; height: 40px; border-radius: 50%;
  background: hsl(215 35% 15% / 0.6); border: 1px solid var(--border);
  display: grid; place-items: center; cursor: pointer; color: var(--fg);
}
.avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, hsl(205 95% 60%), hsl(38 95% 60%));
  border: 2px solid hsl(205 95% 60% / 0.4);
}
.play-btn {
  display: inline-block;
  margin-top: 8px;
  padding: 8px 14px;
  border-radius: 8px;
  background: linear-gradient(135deg, #00c3ff, #007bff);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: 0.2s ease;
}

.play-btn:hover {
  transform: scale(1.05);
  background: linear-gradient(135deg, #00aaff, #0062cc);
}
.game {
  background: #0f172a;
  border-radius: 14px;
  padding: 10px;
  text-align: center;
  transition: 0.2s;
}

.game:hover {
  transform: translateY(-5px);
}

.thumb img {
  width: 100%;
  border-radius: 12px;
}
/* Content */
.content { display: flex; gap: 24px; }
.content-left { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 24px; }

/* Bonus banner */
.bonus {
  position: relative; overflow: hidden;
  background: var(--gradient-banner); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px;
  display: flex; align-items: center; justify-content: space-between;
  min-height: 200px;
}
.bonus-tag {
  display: inline-block; padding: 4px 12px; border-radius: 999px;
  background: hsl(205 95% 60% / 0.2); color: var(--primary);
  font-size: 12px; font-weight: 600; margin-bottom: 12px;
}
.bonus h1 { font-size: 32px; font-weight: 800; margin-bottom: 8px; letter-spacing: -0.02em; }
.bonus .hl { background: var(--gradient-primary); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bonus p { color: var(--muted-fg); margin-bottom: 20px; }
.cta {
  background: var(--gradient-primary); color: white; border: none;
  padding: 12px 24px; border-radius: 999px; font-weight: 700; font-size: 14px;
  cursor: pointer; box-shadow: var(--shadow-glow);
}
.bonus-art {
  width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, hsl(195 95% 70% / 0.6), transparent 70%);
  flex-shrink: 0;
}

/* Categories */
.categories { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cat {
  aspect-ratio: 16 / 9; border-radius: var(--radius);
  border: 1px solid var(--border); padding: 16px;
  display: flex; align-items: flex-end; font-weight: 700; font-size: 16px;
  cursor: pointer; transition: transform 0.2s;
}
.cat:hover { transform: translateY(-2px); }
.cat-1 { background: linear-gradient(135deg, hsl(205 90% 40%), hsl(195 85% 30%)); }
.cat-2 { background: linear-gradient(135deg, hsl(142 70% 30%), hsl(160 70% 20%)); }
.cat-3 { background: linear-gradient(135deg, hsl(0 84% 40%), hsl(20 84% 30%)); }
.cat-4 { background: linear-gradient(135deg, hsl(38 95% 40%), hsl(20 95% 30%)); }

/* Games */
.games-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.games-head h2 { font-size: 20px; font-weight: 700; }
.see-all { color: var(--primary); font-size: 13px; font-weight: 600; cursor: pointer; }
.games-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(150px,1fr));
  gap:16px;
}
.game{
  background:#0f172a;
  border-radius:14px;
  padding:10px;
  text-align:center;
  transition:0.2s;
  position:relative;
}
.thumb {
  aspect-ratio: 3 / 4; border-radius: var(--radius);
  border: 1px solid var(--border);
}
.t1 { background: linear-gradient(135deg, hsl(0 84% 50%), hsl(20 84% 30%)); }
.t2 { background: linear-gradient(135deg, hsl(142 70% 40%), hsl(120 70% 25%)); }
.t3 { background: linear-gradient(135deg, hsl(220 80% 40%), hsl(240 80% 25%)); }
.t4 { background: linear-gradient(135deg, hsl(38 95% 50%), hsl(20 95% 35%)); }
.t5 { background: linear-gradient(135deg, hsl(30 90% 45%), hsl(15 90% 30%)); }
.t6 { background: linear-gradient(135deg, hsl(195 90% 55%), hsl(205 90% 40%)); }
.game-name { font-size: 13px; font-weight: 600; text-align: center; }

/* Features */
.features {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  background: var(--gradient-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px;
}
.feature { display: flex; align-items: center; gap: 12px; }
.f-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: hsl(205 95% 60% / 0.15);
  display: grid; place-items: center; font-size: 20px;
}
.f-title { font-weight: 600; font-size: 14px; }
.f-sub { font-size: 12px; color: var(--muted-fg); }

/* Bet slip */
.betslip {
  width: 320px; flex-shrink: 0;
  background: var(--gradient-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px;
  display: flex; flex-direction: column; gap: 16px;
  height: fit-content;
}
.bs-tabs { display: flex; gap: 4px; background: var(--secondary); padding: 4px; border-radius: 10px; }
.bs-tab {
  flex: 1; padding: 8px; border: none; background: transparent;
  color: var(--muted-fg); font-weight: 600; font-size: 13px;
  border-radius: 8px; cursor: pointer;
}
.bs-tab.active { background: var(--gradient-primary); color: white; }
.bs-event { padding: 12px; background: var(--secondary); border-radius: 10px; }
.bs-teams { font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.bs-market { font-size: 12px; color: var(--muted-fg); margin-bottom: 8px; }
.bs-odd {
  display: inline-block; padding: 4px 12px; border-radius: 8px;
  background: hsl(205 95% 60% / 0.2); color: var(--primary);
  font-weight: 700; font-size: 14px;
}
.bs-row {
  display: flex; justify-content: space-between;
  font-size: 13px; color: var(--muted-fg);
}
.bs-row .hl { color: var(--success); font-weight: 700; }
.bs-btn {
  background: var(--gradient-primary); color: white; border: none;
  padding: 14px; border-radius: 12px; font-weight: 700; font-size: 14px;
  cursor: pointer; box-shadow: var(--shadow-glow);
}

/* Print */
@media print {
  body { background: white; }
  .app { min-height: auto; }
}

/* Responsive */
@media (max-width: 1024px) {
  .sidebar { display: none; }
  .content { flex-direction: column; }
  .betslip { width: 100%; }
  .games-grid { grid-template-columns: repeat(3, 1fr); }
  .categories { grid-template-columns: repeat(2, 1fr); }
}

/* ===== Image overrides for PHP template ===== */
.thumb { overflow: hidden; position: relative; padding: 0; }
.thumb img {
  width: 100%; height: 100%; object-fit: cover;
  display: block; border-radius: var(--radius);
}
img.bonus-art {
  width: 220px; height: 220px; object-fit: contain;
  background: transparent; flex-shrink: 0;
  filter: drop-shadow(0 10px 30px hsl(205 95% 60% / 0.45));
}
img.avatar { object-fit: cover; }
.bonus { gap: 16px; }
@media (max-width: 640px) {
  img.bonus-art { display: none; }
}

/* ===== Categorias clicáveis ===== */
.categories .cat {
  cursor: pointer;
  border: 1px solid var(--border);
  background: var(--gradient-card);
  color: var(--fg);
  transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease;
}
.categories .cat:hover { transform: translateY(-2px); border-color: hsl(205 95% 60% / .6); }
.categories .cat.active {
  border-color: hsl(205 95% 60% / .9);
  box-shadow: 0 0 0 2px hsl(205 95% 60% / .35), var(--shadow-glow);
  background: var(--gradient-primary);
  color: #fff;
}
.cat { flex-direction: column; align-items: flex-start; justify-content: space-between; }
.cat-icon {
  font-size: 28px; line-height: 1; width: 44px; height: 44px; border-radius: 12px;
}
.cat-label { font-size: 16px; font-weight: 700; }

/* ===== Seções de games filtradas ===== */
.games-section { display: none; }
.games-section.visible { display: block; }
.games-count {
  display: inline-block; margin-left: 8px;
  font-size: 12px; font-weight: 700;
  padding: 2px 8px; border-radius: 999px;
  background: hsl(205 95% 60% / .18); color: var(--primary);
}
.empty-msg { color: var(--muted-fg); padding: 18px; }

/* ===== Footer ===== */
.site-footer {
  text-align: center;
  padding: 20px 16px;
  color: var(--muted-fg);
  font-size: 13px;
  border-top: 1px solid var(--border);
  background: var(--sidebar-bg);
}

/* ===== Botão Ver Todos ===== */
.see-all {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--primary);
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.2s;
}
.see-all:hover { background: hsl(205 95% 60% / 0.12); border-color: hsl(205 95% 60% / .6); }

/* ===== Botão Jogar (BLUE) ===== */
.play-btn {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 8px;
  padding: 10px 12px;
  background: var(--gradient-primary);
  color: #fff !important;
  border: 0;
  border-radius: 10px;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--shadow-glow);
  transition: transform .15s ease, filter .15s ease;
}
.play-btn:hover { filter: brightness(1.08); transform: translateY(-1px); }

/* ===== Modal: Ver Todos ===== */
.modal[hidden] { display: none; }
.modal {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
}
.modal-backdrop {
  position: absolute; inset: 0;
  background: hsl(215 50% 4% / 0.75);
  backdrop-filter: blur(6px);
}
.modal-panel {
  position: relative;
  width: min(1100px, 100%);
  max-height: 90vh;
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex; flex-direction: column;
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
  overflow: hidden;
}
.modal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
}
.modal-head h3 { font-size: 20px; font-weight: 800; color: var(--fg); }
.modal-x {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--secondary); color: var(--fg);
  border: 1px solid var(--border); cursor: pointer;
  font-size: 22px; line-height: 1;
}
.modal-x:hover { background: hsl(0 70% 50% / .25); border-color: hsl(0 70% 50% / .5); }
.modal-body { padding: 18px 22px; overflow: auto; }
.modal-search { margin-bottom: 14px; }
.modal-search input {
  width: 100%; padding: 12px 14px;
  background: var(--secondary); color: var(--fg);
  border: 1px solid var(--border); border-radius: 10px;
  font-size: 14px;
}
.allgames-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 14px;
}
.allgames-status { color: var(--muted-fg); padding: 24px; text-align: center; }

/* ===== Modal Player Fullscreen ===== */
.player-modal[hidden] { display: none; }
.player-modal {
  position: fixed; inset: 0; z-index: 1100;
  background: #000;
}
.player-modal iframe { width: 100%; height: 100%; border: 0; display: block; }
.player-close {
  position: fixed; top: 14px; right: 14px; z-index: 1101;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(0,0,0,.65); color: #fff;
  border: 1px solid rgba(255,255,255,.25);
  font-size: 24px; line-height: 1; cursor: pointer;
  display: grid; place-items: center;
  transition: background .15s ease;
}
.player-close:hover { background: hsl(0 80% 55% / .9); }

@media (max-width: 640px) {
  .modal { padding: 0; }
  .modal-panel { max-height: 100vh; height: 100vh; border-radius: 0; }
  .allgames-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== Fixes v4 ===== */

/* Garante que a thumb contenha a imagem corretamente */
.thumb { overflow: hidden; position: relative; background: #0b1220; }
.thumb img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.game { display: flex; flex-direction: column; gap: 6px; }
.game-name {
  margin-top: 4px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  color: var(--fg);
}

/* Modal: cabeçalho responsivo (evita estourar a tela) */
.modal-head { gap: 12px; }
.modal-head h3 {
  flex: 1 1 auto; min-width: 0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  font-size: 18px !important;
  line-height: 1.2;
}
.modal-x { flex: 0 0 auto; }
.modal-panel { width: min(1100px, calc(100vw - 32px)); }
@media (max-width: 640px) {
  .modal-panel { width: 100vw; }
  .modal-head { padding: 14px 16px; }
  .modal-body { padding: 14px 16px; }
  .modal-head h3 { font-size: 15px !important; }
}

/* Prevent mobile auto text inflation when body becomes fixed/scroll-locked */
html, body { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
.modal, .modal * { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
.game-name { font-size: 13px !important; line-height: 1.25; }
.modal-body .game-name { font-size: 12.5px !important; }

/* ===== Cupons ===== */
.coupon-toggle { display:flex; align-items:center; gap:8px; font-size:13px; color: var(--auth-muted, #8b9bb4); cursor:pointer; user-select:none; }
.coupon-field { display:none; }
.coupon-field.active { display:flex; }
.coupon-field input { text-transform: uppercase; letter-spacing:.08em; font-weight:700; }
.coupon-applied { color:#7fffb0; font-size:12px; margin-top:4px; }
.coupon-error { color:#ff9090; font-size:12px; margin-top:4px; }
}

/* Avatar com dropdown — Bblue v8 redesign */
.avatar-wrap { position: relative; display: inline-block; }
.avatar-wrap .avatar { cursor: pointer; transition: transform .15s ease, box-shadow .2s ease; }
.avatar-wrap.open .avatar { transform: scale(1.05); box-shadow: 0 0 0 3px hsl(205 95% 60% / .35); }
.avatar-menu {
  position: absolute; right: 0; top: calc(100% + 12px);
  min-width: 240px;
  background: linear-gradient(180deg, hsl(215 45% 12%), hsl(215 50% 9%));
  border: 1px solid hsl(205 95% 60% / .25);
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.02) inset;
  padding: 8px;
  z-index: 200;
  display: none;
  animation: menuIn .18s ease-out;
}
.avatar-menu::before {
  content: ''; position: absolute; top: -7px; right: 16px;
  width: 12px; height: 12px;
  background: linear-gradient(135deg, hsl(215 45% 12%), hsl(215 45% 12%));
  border-left: 1px solid hsl(205 95% 60% / .25);
  border-top: 1px solid hsl(205 95% 60% / .25);
  transform: rotate(45deg);
}
@keyframes menuIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.avatar-wrap.open .avatar-menu { display: block; }
.avatar-menu a, .avatar-menu button {
  display: flex; align-items: center; gap: 12px;
  width: 100%;
  padding: 11px 14px;
  border-radius: 10px;
  background: transparent; border: 0;
  color: var(--fg); font-size: 14px; font-weight: 500; text-align: left;
  text-decoration: none; cursor: pointer;
  transition: background .15s ease, transform .1s ease;
}
.avatar-menu a:hover, .avatar-menu button:hover {
  background: linear-gradient(90deg, hsl(205 95% 60% / 0.18), hsl(205 95% 60% / 0.06));
  transform: translateX(2px);
}
.avatar-menu .menu-icon {
  width: 32px; height: 32px; border-radius: 9px;
  display: grid; place-items: center; font-size: 15px;
  background: hsl(205 95% 60% / 0.15); color: var(--primary);
  flex-shrink: 0;
}
.avatar-menu .danger .menu-icon { background: hsl(0 75% 60% / 0.15); color: hsl(0 80% 70%); }
.avatar-menu .sep { height: 1px; background: var(--border); margin: 6px 4px; }
.avatar-menu .danger { color: hsl(0 80% 70%); }
.avatar-menu .menu-user {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px 12px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 6px;
}
.avatar-menu .menu-user-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--gradient-primary); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 16px;
  flex-shrink: 0;
}
.avatar-menu .menu-user-info { display: flex; flex-direction: column; min-width: 0; }
.avatar-menu .menu-user-name { color: #fff; font-weight: 700; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.avatar-menu .menu-user-email { color: var(--muted-fg); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 180px; }

/* ===================================================== */
/* ============== Bblue v5 — Layout Fixes =============== */
/* ===================================================== */

/* ---- Brand (replaces topbar search) ---- */
.brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--fg);
  padding: 6px 14px 6px 8px;
  border-radius: 999px;
  margin-right: 18px;
}
.brand-mark {
  width: 38px; height: 38px; border-radius: 12px;
  background: var(--gradient-primary);
  display: grid; place-items: center;
  font-weight: 800; font-size: 18px; color: #fff;
  box-shadow: var(--shadow-glow);
}
.brand-name {
  font-weight: 800; font-size: 20px; letter-spacing: -0.02em;
  background: var(--gradient-primary);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.topbar-spacer { flex: 1; }
@media (max-width: 640px) {
  .brand-name { display: none; }
  .brand { margin-right: 8px; }
}

/* ---- Categories: keep equal sizes regardless of state ---- */
.categories {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}
.categories .cat {
  width: 100%;
  min-width: 0;
  aspect-ratio: 16 / 9;
  margin: 0;
  padding: 14px 16px;
  border-radius: var(--radius);
  display: flex; flex-direction: column;
  align-items: flex-start; justify-content: space-between;
  font-size: 15px; font-weight: 700;
  background: var(--gradient-card);
  border: 1px solid var(--border);
  transform: none !important;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.categories .cat:hover {
  border-color: hsl(205 95% 60% / .6);
  transform: none !important;
}
.categories .cat.active {
  background: var(--gradient-primary);
  border-color: hsl(205 95% 60% / .9);
  box-shadow: 0 0 0 2px hsl(205 95% 60% / .35);
  color: #fff;
  transform: none !important;
}
@media (max-width: 900px) {
  .categories { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 640px) {
  .categories { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
  .categories .cat { padding: 12px; font-size: 14px; }
}

/* ---- Games grid: prevent half-cut cards ---- */
.games-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}
@media (max-width: 1280px) { .games-grid { grid-template-columns: repeat(5, minmax(0,1fr)); } }
@media (max-width: 1024px) { .games-grid { grid-template-columns: repeat(4, minmax(0,1fr)); } }
@media (max-width: 720px)  { .games-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (max-width: 460px)  { .games-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }

/* All-games modal grid mirrors home grid */
.allgames-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0,1fr));
  gap: 14px;
}
@media (max-width: 1024px) { .allgames-grid { grid-template-columns: repeat(4, minmax(0,1fr)); } }
@media (max-width: 720px)  { .allgames-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (max-width: 460px)  { .allgames-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }

/* ---- Player modal: stable on mobile (no jumpy address bar) ---- */
.player-modal {
  position: fixed; inset: 0; z-index: 1100;
  background: #000;
  height: 100vh;
  height: 100dvh;
}
.player-modal iframe {
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  border: 0; display: block;
}
.player-close {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 1101;
}
body.player-open { overflow: hidden; position: fixed; width: 100%;
}

/* ---- Marquee Maiores Ganhos ---- */
.marquee-wrap {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 0 14px;
  overflow: hidden;
  position: relative;
}
.marquee-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 18px 10px;
  font-size: 13px;
}
.marquee-title { font-weight: 800; color: var(--fg); letter-spacing: 0.02em; }
.marquee-label {
  font-weight: 700; color: var(--success);
  background: hsl(142 70% 45% / 0.15);
  padding: 4px 10px; border-radius: 999px;
  font-size: 12px;
}
.marquee {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track {
  display: flex; gap: 12px;
  width: max-content;
  animation: marqueeScroll 60s linear infinite;
  padding: 0 12px;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.m-item {
  display: flex; align-items: center; gap: 10px;
  background: hsl(215 35% 15% / 0.6);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px 14px 8px 8px;
  flex-shrink: 0;
  min-width: 240px;
}
.m-item img {
  width: 38px; height: 38px; border-radius: 8px; object-fit: cover;
  flex-shrink: 0;
}
.m-img-fallback {
  width: 38px; height: 38px; border-radius: 8px;
  background: var(--secondary); display: grid; place-items: center;
  font-size: 18px;
}
.m-info { display: flex; flex-direction: column; min-width: 0; }
.m-player { font-size: 12px; color: var(--muted-fg); font-weight: 600; }
.m-game { font-size: 13px; color: var(--fg); font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 140px; }
.m-value {
  margin-left: auto;
  font-weight: 800; color: var(--success); font-size: 14px;
  white-space: nowrap;
}

/* ===================================================== */
/* ============== Bblue v7 — Wallet/Profile ============= */
/* ===================================================== */

/* Balance refresh button */
.balance { gap: 8px; }
.balance-refresh {
  background: transparent; border: 0; color: var(--primary);
  cursor: pointer; font-size: 16px; line-height: 1;
  width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center;
  transition: background .15s ease, transform .4s ease;
}
.balance-refresh:hover { background: hsl(205 95% 60% / 0.18); }
.balance-refresh.spinning { animation: spin 0.6s linear; }
@keyframes spin { from{transform:rotate(0)} to{transform:rotate(360deg)} }


/* Wallet & Profile pages (use auth.css base) */
.page-wrap { max-width: 880px; margin: 0 auto; padding: 32px 20px; display: flex; flex-direction: column; gap: 18px; }
.page-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.page-head h1 { color: #fff; font-size: 24px; margin: 0; }
.page-card {
  background: var(--auth-card, #0f172a);
  border: 1px solid var(--auth-border, #1f2a44);
  border-radius: 16px; padding: 22px;
  display: flex; flex-direction: column; gap: 14px;
}
.page-card h2 { color: #fff; font-size: 18px; margin: 0; }
.balance-big {
  display: flex; align-items: baseline; gap: 8px;
  font-size: 36px; font-weight: 800; color: #fff;
}
.balance-big .cur { font-size: 18px; color: var(--auth-muted, #8b9bb4); font-weight: 600; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 14px; }
.field-x { display: flex; flex-direction: column; gap: 6px; }
.field-x span { font-size: 12px; color: var(--auth-muted, #8b9bb4); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.field-x input, .field-x .read-only {
  background: transparent; border: 1px solid var(--auth-border, #1f2a44); border-radius: 10px;
  padding: 11px 13px; color: #fff; font-size: 14px; outline: none;
}
.field-x .read-only { background: rgba(255,255,255,.03); color: var(--auth-muted, #8b9bb4); }
.avatar-edit { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.avatar-edit img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; border: 2px solid var(--auth-border, #1f2a44); }
.btn-line { display: flex; gap: 10px; flex-wrap: wrap; }

/* ===================================================== */
/* ============== Bblue v8 — Polishing  ================ */
/* ===================================================== */



/* Deposit button with notification badge */
.deposit-wrap { position: relative; display: inline-flex; }
.deposit-badge {
  position: absolute;
  top: -6px; right: -6px;
  min-width: 22px; height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff5b5b, #d92626);
  color: #fff;
  font-size: 11px; font-weight: 800;
  display: grid; place-items: center;
  box-shadow: 0 4px 12px rgba(217,38,38,.45), 0 0 0 2px var(--bg);
  animation: pulseBadge 1.8s ease-in-out infinite;
  pointer-events: none;
  white-space: nowrap;
}
@keyframes pulseBadge {
  0%,100% { transform: scale(1); }
  50%     { transform: scale(1.12); }
}

/* Wallet & Profile pages — Bblue v8 pro */
.wallet-hero {
  background: linear-gradient(135deg, hsl(205 90% 22%), hsl(195 90% 14%) 60%, hsl(215 50% 11%));
  border: 1px solid hsl(205 95% 60% / .35);
  border-radius: 18px;
  padding: 26px 26px 22px;
  position: relative;
  overflow: hidden;
  color: #fff;
  box-shadow: 0 20px 60px hsl(205 95% 40% / .25);
}
.wallet-hero::before {
  content: ''; position: absolute; right: -60px; top: -60px;
  width: 240px; height: 240px; border-radius: 50%;
  background: radial-gradient(circle, hsl(195 95% 70% / .35), transparent 70%);
  pointer-events: none;
}
.wallet-hero-label { font-size: 13px; color: rgba(255,255,255,.7); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.wallet-hero-amount {
  display: flex; align-items: baseline; gap: 8px; margin: 8px 0 6px;
  font-size: clamp(34px, 6vw, 48px); font-weight: 800; letter-spacing: -.03em;
}
.wallet-hero-amount .cur { font-size: 18px; opacity: .75; font-weight: 600; }
.wallet-hero-sub { color: rgba(255,255,255,.65); font-size: 13px; margin-bottom: 18px; }
.wallet-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; position: relative; z-index: 2; }
.wallet-hero-actions .btn-primary {
  background: #fff; color: hsl(205 90% 35%);
  border: 0; padding: 12px 22px; border-radius: 999px;
  font-weight: 800; cursor: pointer; font-size: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  transition: transform .15s ease, filter .15s ease;
}
.wallet-hero-actions .btn-primary:hover { transform: translateY(-2px); filter: brightness(1.05); }
.wallet-hero-actions .btn-ghost {
  background: rgba(255,255,255,.12); color: #fff;
  border: 1px solid rgba(255,255,255,.3);
  padding: 12px 22px; border-radius: 999px;
  font-weight: 700; cursor: pointer; font-size: 14px;
  backdrop-filter: blur(6px);
  transition: background .15s ease;
}
.wallet-hero-actions .btn-ghost:hover { background: rgba(255,255,255,.2); }

.wallet-stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px;
}
.wallet-stat {
  background: var(--auth-card, #0f1830);
  border: 1px solid var(--auth-border, #1c2a44);
  border-radius: 14px; padding: 16px;
  display: flex; flex-direction: column; gap: 4px;
}
.wallet-stat .ws-icon {
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  font-size: 18px; margin-bottom: 6px;
}
.wallet-stat .ws-icon.in  { background: hsl(142 70% 45% / .15); color: #7fffb0; }
.wallet-stat .ws-icon.out { background: hsl(0 80% 60% / .15);  color: #ff9090; }
.wallet-stat .ws-icon.bn  { background: hsl(38 95% 55% / .15); color: #ffd27a; }
.wallet-stat .ws-label { font-size: 12px; color: var(--auth-muted, #7a8aa6); text-transform: uppercase; letter-spacing: .04em; font-weight: 600; }
.wallet-stat .ws-value { font-size: 20px; color: #fff; font-weight: 800; }

.tx-list { display: flex; flex-direction: column; gap: 8px; }
.tx-item {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px;
  background: rgba(255,255,255,.02);
  border: 1px solid var(--auth-border, #1c2a44);
  border-radius: 12px;
  transition: background .15s ease, border-color .15s ease;
}
.tx-item:hover { background: rgba(255,255,255,.04); border-color: hsl(205 95% 60% / .35); }
.tx-icon {
  width: 42px; height: 42px; border-radius: 11px;
  display: grid; place-items: center; font-size: 18px; flex-shrink: 0;
  background: hsl(205 95% 60% / .12); color: var(--auth-blue, #39b6ff);
}
.tx-icon.pos { background: hsl(142 70% 45% / .15); color: #7fffb0; }
.tx-icon.neg { background: hsl(0 80% 60% / .15); color: #ff9090; }
.tx-meta { flex: 1; min-width: 0; }
.tx-type { font-size: 14px; font-weight: 700; color: #fff; }
.tx-date { font-size: 12px; color: var(--auth-muted, #7a8aa6); margin-top: 2px; }
.tx-value { font-size: 15px; font-weight: 800; white-space: nowrap; }
.tx-value.pos { color: #7fffb0; } .tx-value.neg { color: #ff9090; }
.tx-empty {
  text-align: center; padding: 36px 16px;
  color: var(--auth-muted, #7a8aa6); font-size: 14px;
}
.tx-empty-icon { font-size: 38px; margin-bottom: 8px; opacity: .55; }

/* Bonus highlight card on wallet */
.bonus-callout {
  background: linear-gradient(135deg, hsl(38 95% 22%), hsl(28 95% 14%));
  border: 1px solid hsl(38 95% 55% / .4);
  border-radius: 14px;
  padding: 16px 18px;
  display: flex; align-items: center; gap: 14px;
}
.bonus-callout .bc-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(255,255,255,.15); display: grid; place-items: center; font-size: 22px;
}
.bonus-callout .bc-text { flex: 1; }
.bonus-callout .bc-title { color: #fff; font-weight: 800; font-size: 15px; }
.bonus-callout .bc-sub { color: rgba(255,255,255,.75); font-size: 12px; margin-top: 2px; }
.bonus-callout .bc-amount { color: #ffd27a; font-weight: 800; font-size: 20px; }

/* ===================================================== */
/* ============== Bblue v9 — Final Polish =============== */
/* ===================================================== */

/* --- Game name colored & button polish --- */
.game-name {
  font-weight: 700;
  font-size: 13px;
  background: linear-gradient(180deg, #ffffff, hsl(195 95% 75%));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.game { background: linear-gradient(160deg, hsl(215 45% 13%), hsl(215 50% 9%)); border: 1px solid hsl(215 35% 20%); }
.game:hover { border-color: hsl(205 95% 60% / .55); box-shadow: 0 8px 24px hsl(205 95% 40% / .25); }

/* --- Unified pill buttons (used across pages) --- */
.btn-pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 11px 22px; border-radius: 999px;
  font-weight: 700; font-size: 14px; cursor: pointer;
  text-decoration: none; border: 0; transition: transform .15s ease, filter .15s ease;
  font-family: inherit;
}
.btn-pill.primary {
  background: var(--gradient-primary, linear-gradient(135deg,#39b6ff,#1287d6));
  color: #fff; box-shadow: 0 8px 24px hsl(205 95% 50% / .35);
}
.btn-pill.primary:hover { transform: translateY(-1px); filter: brightness(1.08); }
.btn-pill.ghost {
  background: transparent; color: #fff;
  border: 1px solid hsl(205 95% 60% / .35);
}
.btn-pill.ghost:hover { background: hsl(205 95% 60% / .12); }
.btn-pill.ghost-light {
  background: rgba(255,255,255,.12); color: #fff;
  border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(6px);
}
.btn-pill.ghost-light:hover { background: rgba(255,255,255,.2); }

/* --- Bell with badge + animation --- */
.bell { position: relative; }
.bell-badge {
  position: absolute; top: -4px; right: -4px;
  min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 999px;
  background: linear-gradient(180deg,#ff5b5b,#d92626); color:#fff;
  font-size: 10px; font-weight: 800;
  display: grid; place-items: center;
  box-shadow: 0 4px 10px rgba(217,38,38,.45), 0 0 0 2px var(--bg);
  animation: pulseBadge 1.8s ease-in-out infinite;
}

/* --- Notifications dropdown --- */
.notif-menu {
  position: absolute;
  width: min(360px, calc(100vw - 24px));
  background: linear-gradient(180deg, hsl(215 45% 12%), hsl(215 50% 9%));
  border: 1px solid hsl(205 95% 60% / .25);
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0,0,0,.6);
  z-index: 250;
  max-height: 70vh; overflow: hidden;
  display: flex; flex-direction: column;
}
.notif-menu[hidden] { display: none; }
.notif-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 16px; border-bottom: 1px solid var(--border); color: #fff;
}
.notif-mark {
  background: transparent; border: 1px solid hsl(205 95% 60% / .35);
  color: var(--primary); font-size: 12px; font-weight: 600;
  padding: 4px 10px; border-radius: 999px; cursor: pointer;
}
.notif-list { overflow-y: auto; padding: 8px; display: flex; flex-direction: column; gap: 4px; }
.notif-empty { padding: 32px 16px; text-align: center; color: var(--muted-fg); }
.notif-item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 12px; border-radius: 10px;
  background: rgba(255,255,255,.02);
  transition: background .15s ease;
}
.notif-item:hover { background: rgba(255,255,255,.05); }
.notif-item.unread { background: hsl(205 95% 60% / .08); border-left: 3px solid var(--primary); }
.notif-icon {
  width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0;
  display: grid; place-items: center; font-size: 16px;
  background: hsl(205 95% 60% / .15); color: var(--primary);
}
.notif-icon.t-bonus   { background: hsl(38 95% 55% / .18); color: #ffd27a; }
.notif-icon.t-warning { background: hsl(0 80% 60% / .15);  color: #ff9090; }
.notif-icon.t-success { background: hsl(142 70% 45% / .15); color: #7fffb0; }
.notif-body { flex: 1; min-width: 0; }
.notif-title { color: #fff; font-weight: 700; font-size: 13px; }
.notif-msg   { color: var(--muted-fg); font-size: 12px; margin-top: 2px; line-height: 1.45; }
.notif-date  { color: var(--muted-fg); font-size: 11px; margin-top: 4px; opacity: .75; }

/* --- Avatar picker grid (profile page) --- */
.avatar-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 14px;
}
.avatar-option {
  position: relative; cursor: pointer;
  border-radius: 16px; overflow: hidden;
  border: 2px solid transparent;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
  aspect-ratio: 1 / 1;
  background: #0b1220;
}
.avatar-option input { position: absolute; opacity: 0; pointer-events: none; }
.avatar-option img { width: 100%; height: 100%; object-fit: cover; display: block; }
.avatar-option:hover { transform: translateY(-2px); border-color: hsl(205 95% 60% / .5); }
.avatar-option.selected {
  border-color: hsl(205 95% 60%);
  box-shadow: 0 0 0 3px hsl(205 95% 60% / .35), 0 12px 28px hsl(205 95% 40% / .35);
}
.avatar-option .avatar-check {
  position: absolute; top: 8px; right: 8px;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--gradient-primary); color: #fff;
  display: grid; place-items: center;
  font-size: 14px; font-weight: 800;
  opacity: 0; transform: scale(.6);
  transition: opacity .15s ease, transform .15s ease;
}
.avatar-option.selected .avatar-check { opacity: 1; transform: scale(1); }

/* --- Wallet stat icon for "io" (movements) --- */
.wallet-stat .ws-icon.io { background: hsl(205 95% 60% / .18); color: var(--primary); }

/* --- Wallet alignment polish --- */
.wallet-stats { gap: 12px; }
.wallet-hero-actions { gap: 8px; }
.wallet-hero { padding: 28px 28px 24px; }
.tx-ref { color: var(--muted-fg); font-weight: 500; font-size: 12px; }

/* --- Avatar dropdown buttons styled like primary --- */
.avatar-menu a, .avatar-menu button { font-weight: 600; }
.avatar-menu .danger:hover { background: hsl(0 70% 50% / .15); }
.hint { color: var(--muted-fg, #8b9bb4); font-size: 13px; margin-top: -6px; }


/* ===================================================== */
/* ============== Bblue v9.3 — Fixes  ================== */
/* ===================================================== */

/* Avatar dropdown header now is a clickable link to profile */
.avatar-menu .menu-user {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px 12px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 6px;
  text-decoration: none;
  border-radius: 10px;
  transition: background .15s ease;
}
.avatar-menu .menu-user:hover { background: hsl(205 95% 60% / .08); }
.avatar-menu .menu-user-pic {
  width: 44px; height: 44px; border-radius: 50%;
  object-fit: cover;
  border: 2px solid hsl(205 95% 60% / .55);
  box-shadow: 0 0 0 3px hsl(205 95% 60% / .12);
  flex-shrink: 0;
}
.avatar-menu .menu-user-name { color: #fff; font-weight: 700; font-size: 15px; }
.avatar-menu .menu-user-edit {
  color: var(--primary); font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .04em; margin-top: 2px;
}

/* Notification dropdown: render via fixed positioning to avoid pushing layout */
.notif-menu { position: fixed; }

/* Wallet/profile pages — extra safety so they look correct without auth.css */
body { background: var(--bg); color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, sans-serif; }
.page-wrap { max-width: 880px; margin: 0 auto; padding: 32px 20px;
  display: flex; flex-direction: column; gap: 18px; }

/* Auth msg styled to match template (used by profile/wallet alerts) */
.auth-msg { padding: 12px 14px; border-radius: 12px; font-size: 14px;
  border: 1px solid var(--border); background: rgba(255,255,255,.03); color: var(--fg); }
.auth-msg.ok  { background: hsl(142 70% 25% / .25); border-color: hsl(142 70% 45% / .35); color: #c9ffd9; }
.auth-msg.err { background: hsl(0 70% 25% / .25);  border-color: hsl(0 70% 50% / .35);  color: #ffd2d2; }

/* ============================================
   v10 Mobile + UX fixes
   ============================================ */

/* Avatar dropdown: keep within viewport on mobile, scrollable */
.avatar-menu {
  max-height: calc(100vh - 80px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
@media (max-width: 640px) {
  .avatar-menu {
    position: fixed !important;
    top: 64px !important;
    right: 8px !important;
    left: auto !important;
    width: min(320px, calc(100vw - 16px));
    max-height: calc(100vh - 80px);
  }
  .avatar-menu::before { display: none; }
}

/* Modal: prevent horizontal overflow on mobile */
@media (max-width: 640px) {
  .modal { padding: 0 !important; }
  .modal-panel {
    width: 100% !important;
    max-width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    border-radius: 0;
    overflow: hidden;
  }
  .modal-head {
    padding: 12px 14px !important;
    gap: 8px;
  }
  .modal-head h3 {
    font-size: 15px !important;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
    flex: 1;
  }
  .modal-x { flex: 0 0 auto; width: 34px; height: 34px; font-size: 20px; }
  .modal-body {
    padding: 12px 14px !important;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* Guest CTA in topbar */
.topbar-login {
  padding: 8px 16px; border-radius: 10px;
  background: var(--gradient-primary); color: #fff;
  font-weight: 700; text-decoration: none;
  box-shadow: var(--shadow-glow);
}

/* Admin sudo form */
.sudo-wrap {
  min-height: 100vh; display: grid; place-items: center;
  background: var(--bg); padding: 24px;
}
.sudo-card {
  width: 100%; max-width: 380px;
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: 14px; padding: 28px;
}
.sudo-card h2 { color: var(--fg); margin: 0 0 6px; font-size: 22px; }
.sudo-card p  { color: var(--muted-fg); margin: 0 0 18px; font-size: 14px; }
.sudo-card input[type=password] {
  width: 100%; padding: 12px 14px;
  background: var(--secondary); color: var(--fg);
  border: 1px solid var(--border); border-radius: 10px;
  margin-bottom: 12px;
}
.sudo-card button {
  width: 100%; padding: 12px;
  background: var(--gradient-primary); color: #fff;
  border: 0; border-radius: 10px; font-weight: 700; cursor: pointer;
}
.sudo-err { color: hsl(0 80% 70%); font-size: 13px; margin-bottom: 10px; }
