:root {
  color-scheme: dark;
  --bg: #0b0b10;
  --surface: #15151d;
  --surface-raised: #1b1a24;
  --surface-soft: #22212d;
  --line: rgba(255,255,255,.08);
  --primary: #b49aff;
  --primary-strong: #8b5cf6;
  --blue: #4f7cff;
  --text: #f7f5ff;
  --muted: #a5a1b4;
  --ok: #5ce0a0;
  --error: #ffca7a;
  --youtube: #7c8cff;
  --radius: 20px;
  --shadow: 0 18px 55px rgba(0,0,0,.3);
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html { min-height: 100%; background: var(--bg); }
body {
  min-height: 100vh;
  min-height: 100dvh;
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(ellipse at 50% -18%, rgba(124,81,218,.19), transparent 48%),
    var(--bg);
  font-family: Inter, Roboto, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, textarea { font: inherit; }
button, a, input, textarea { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
.status-bar { height: env(safe-area-inset-top, 8px); flex: 0 0 auto; }

.app-bar {
  min-height: 58px;
  padding: 12px 20px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  position: sticky;
  top: 0;
  z-index: 20;
  background: linear-gradient(180deg, rgba(11,11,16,.97), rgba(11,11,16,.76));
  border-bottom: 1px solid rgba(255,255,255,.035);
  backdrop-filter: blur(16px);
}
.app-bar .title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; font-weight: 800; letter-spacing: .055em; }
.app-bar .chip {
  flex: 0 0 auto;
  padding: 7px 11px;
  border: 1px solid rgba(180,154,255,.22);
  border-radius: 999px;
  background: rgba(180,154,255,.1);
  color: #d5c7ff;
  font-size: 11px;
  font-weight: 750;
  text-decoration: none;
}
.hero { padding: 28px 22px 19px; text-align: center; }
.hero h1 {
  color: transparent;
  background: linear-gradient(115deg, #fff 5%, #d4c4ff 55%, #8cb4ff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  font-size: clamp(27px, 7vw, 34px);
  font-weight: 850;
  letter-spacing: -.045em;
  line-height: 1.12;
}
.hero p { margin-top: 9px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.steps-rail { display: flex; gap: 7px; padding: 0 20px 20px; }
.steps-rail .dot { flex: 1; height: 4px; border-radius: 99px; background: #282733; transition: background .25s, box-shadow .25s; }
.steps-rail .dot.on { background: linear-gradient(90deg, var(--primary-strong), #b99cff); box-shadow: 0 0 12px rgba(139,92,246,.4); }
.screen { flex: 1; display: flex; flex-direction: column; gap: 11px; padding: 0 16px 112px; }
.tile {
  min-width: 0;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(28,27,38,.98), rgba(20,20,28,.98));
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  cursor: pointer;
  transition: transform .16s ease, border-color .2s ease, background .2s ease;
  animation: rise-in .42s ease both;
}
.tile:hover { border-color: rgba(180,154,255,.24); background: #1c1b27; }
.tile:active { transform: scale(.985); }
.tile .icon {
  width: 46px; height: 46px; flex: 0 0 46px;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.045);
  border-radius: 15px;
  background: linear-gradient(145deg, #292738, #1a1923);
  font-size: 21px;
}
.tile .meta { min-width: 0; flex: 1; }
.tile .meta b { display: block; margin-bottom: 4px; font-size: 14px; font-weight: 760; line-height: 1.3; }
.tile .meta span { display: block; overflow: hidden; color: var(--muted); font-size: 11px; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; }
.tile .status { flex: 0 0 auto; padding: 6px 9px; border-radius: 9px; font-size: 10px; font-weight: 800; letter-spacing: .015em; }
.tile .status.wait { background: rgba(165,161,180,.12); color: #c1bdce; }
.tile .status.done { background: rgba(92,224,160,.12); color: var(--ok); }
.tile .status.lock { background: rgba(255,202,122,.12); color: var(--error); }
@keyframes rise-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.bottom-bar {
  position: fixed;
  z-index: 30;
  bottom: 0; left: 50%;
  width: 100%; max-width: 480px;
  padding: 22px 16px calc(12px + env(safe-area-inset-bottom, 8px));
  transform: translateX(-50%);
  background: linear-gradient(180deg, transparent, rgba(11,11,16,.94) 28%, #0b0b10 100%);
}
.fab {
  width: 100%; min-height: 52px;
  padding: 15px 18px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(110deg, #7845df, #526fe9);
  box-shadow: 0 10px 30px rgba(104,74,219,.27), inset 0 1px rgba(255,255,255,.15);
  font-size: 14px; font-weight: 800;
  cursor: pointer;
  transition: filter .18s, transform .18s;
}
.fab:hover, .btn:hover { filter: brightness(1.08); }
.fab:active, .btn:active { transform: scale(.985); }
.fab:disabled { opacity: .4; box-shadow: none; cursor: not-allowed; }

.scrim {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(4,4,8,.68);
  opacity: 0; pointer-events: none;
  backdrop-filter: blur(5px);
  transition: opacity .24s;
}
.scrim.open { opacity: 1; pointer-events: auto; }
.dialog {
  position: fixed; z-index: 101;
  left: 50%; bottom: 0;
  width: 100%; max-width: 480px;
  max-height: min(88dvh, 760px);
  overflow-y: auto;
  padding: 12px 20px calc(20px + env(safe-area-inset-bottom, 12px));
  border: 1px solid rgba(255,255,255,.08);
  border-bottom: 0;
  border-radius: 26px 26px 0 0;
  background: linear-gradient(160deg, #1b1a24, #13131a 72%);
  box-shadow: 0 -16px 55px rgba(0,0,0,.48);
  transform: translate(-50%, 110%);
  transition: transform .34s cubic-bezier(.2,.9,.3,1);
}
.dialog.open { transform: translate(-50%, 0); }
.dialog .handle { width: 38px; height: 4px; margin: 4px auto 19px; border-radius: 99px; background: #484655; }
.dialog h3 { margin-bottom: 7px; font-size: 19px; letter-spacing: -.02em; }
.dialog p { margin-bottom: 16px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.dialog .actions { display: flex; flex-direction: column; gap: 9px; }
.btn {
  min-height: 48px;
  width: 100%;
  padding: 13px 16px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid transparent;
  border-radius: 14px;
  color: #fff;
  font-size: 13px; font-weight: 780;
  line-height: 1.25;
  text-align: center; text-decoration: none;
  cursor: pointer;
  transition: filter .18s, transform .18s, border-color .18s;
}
.btn:disabled { opacity: .48; cursor: not-allowed; }
.btn.yt { background: linear-gradient(110deg, #526fe9, #7c8cff); }
.btn.primary { background: linear-gradient(110deg, #7845df, #526fe9); }
.btn.ok { background: linear-gradient(110deg, #168753, #159b68); }
.btn.go { background: linear-gradient(110deg, #7845df, #526fe9); }
.btn.text { border-color: rgba(255,255,255,.055); background: rgba(255,255,255,.045); color: #c0bccd; }
.check-row { display: flex; align-items: center; gap: 10px; margin: 5px 0 10px; color: #c2bece; font-size: 12px; }
.check-row input { width: 18px; height: 18px; accent-color: var(--primary-strong); }
.key-display { margin: 9px 0 13px; padding: 17px 13px; border: 1px dashed rgba(180,154,255,.38); border-radius: 15px; background: rgba(8,8,13,.72); text-align: center; }
.key-display code { color: #e2d8ff; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 15px; font-weight: 800; letter-spacing: .045em; overflow-wrap: anywhere; }
.toast {
  position: fixed; z-index: 200;
  bottom: calc(100px + env(safe-area-inset-bottom, 0px)); left: 50%;
  max-width: 90%; padding: 11px 16px;
  border: 1px solid var(--line); border-radius: 12px;
  color: #fff; background: #292833;
  font-size: 12px; white-space: nowrap;
  opacity: 0; pointer-events: none;
  transform: translate(-50%, 16px);
  transition: opacity .22s, transform .22s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.msg { margin: 0 16px 10px; padding: 12px 14px; border: 1px solid transparent; border-radius: 13px; font-size: 12px; line-height: 1.5; }
.msg.err { border-color: rgba(255,202,122,.18); color: #ffe0a8; background: rgba(82,64,29,.25); }
.msg.ok { border-color: rgba(92,224,160,.17); color: #a9f0c9; background: rgba(20,83,55,.24); }

/* Campos e cartões compartilhados */
.field, .card input, .card textarea {
  width: 100%; min-height: 48px;
  margin: 0 0 12px;
  padding: 13px 14px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 13px;
  color: var(--text);
  background: #101017;
  font-size: 14px;
  transition: border-color .18s, box-shadow .18s;
}
.field::placeholder, .card input::placeholder, .card textarea::placeholder { color: #777386; }
.field:focus, .card input:focus, .card textarea:focus { border-color: rgba(180,154,255,.68); box-shadow: 0 0 0 3px rgba(139,92,246,.12); outline: none; }
.card textarea { min-height: 145px; resize: vertical; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; line-height: 1.55; }
.card label { display: block; margin: 5px 0 7px; color: var(--muted); font-size: 12px; font-weight: 650; }

/* Área administrativa */
body.admin-body {
  width: 100%; max-width: none; min-height: 100vh;
  align-items: center;
  padding: 28px 18px calc(38px + env(safe-area-inset-bottom, 0px));
  background:
    radial-gradient(ellipse at 50% -12%, rgba(124,81,218,.2), transparent 45%),
    #0b0b10;
}
.admin-body .wrap { width: 100%; max-width: 760px; margin: auto; }
.admin-body .logo { margin: 0 auto 22px; text-align: center; }
.admin-body .logo .badge {
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 11px; padding: 6px 10px;
  border: 1px solid rgba(180,154,255,.24); border-radius: 999px;
  color: #d5c7ff; background: rgba(180,154,255,.09);
  font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
}
.admin-body .logo h1 { color: var(--text); font-size: clamp(25px, 6vw, 33px); font-weight: 850; letter-spacing: .07em; }
.admin-body .logo p { margin-top: 8px; color: var(--muted); font-size: 12px; }
.admin-body .logo p b { color: var(--ok) !important; }
.admin-body .admin-nav {
  display: flex; gap: 7px; overflow-x: auto;
  margin-bottom: 14px; padding: 5px;
  border: 1px solid var(--line); border-radius: 15px;
  background: rgba(21,21,29,.86);
  scrollbar-width: thin;
}
.admin-body .admin-nav a {
  flex: 0 0 auto; padding: 10px 12px;
  border: 1px solid transparent; border-radius: 10px;
  color: #b4b0c1; font-size: 11px; font-weight: 730;
  text-decoration: none; transition: color .18s, background .18s;
}
.admin-body .admin-nav a:hover, .admin-body .admin-nav a.active { border-color: rgba(180,154,255,.13); color: #e6ddff; background: rgba(139,92,246,.14); }
.admin-body .card {
  margin-bottom: 13px; padding: 19px;
  border: 1px solid var(--line); border-radius: 18px;
  background: linear-gradient(145deg, rgba(25,24,33,.98), rgba(19,19,26,.98));
  box-shadow: var(--shadow);
}
.admin-body .card h2 { margin-bottom: 12px; font-size: 17px; letter-spacing: -.02em; }
.admin-body .card p { color: var(--muted); }
.admin-body .card .btn { margin-top: 4px; }
.admin-body .card table { width: 100%; border-collapse: collapse; color: #d9d6e2; font-size: 11px; text-align: left; }
.admin-body .card th, .admin-body .card td { padding: 11px 10px; border-bottom: 1px solid rgba(255,255,255,.065); white-space: nowrap; }
.admin-body .card th { color: #aaa5b7; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.admin-body .card tr:last-child td { border-bottom: 0; }
.admin-body .card td:first-child { color: #e0d6ff; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.admin-body .msg { width: 100%; max-width: 760px; margin: 0 auto 12px; }
.admin-body .wrap > .msg { max-width: none; }
.admin-body .wrap .card form > input[name="user"], .admin-body .wrap .card form > input[name="pass"] { margin-bottom: 10px; }
.admin-body .wrap .card form > .btn { margin-top: 2px; }

@media (min-width: 600px) {
  body:not(.admin-body) { margin-top: 20px; margin-bottom: 20px; min-height: calc(100dvh - 40px); border: 1px solid rgba(255,255,255,.06); border-radius: 28px; box-shadow: 0 28px 100px rgba(0,0,0,.4); overflow: hidden; }
  body:not(.admin-body) .app-bar { border-radius: 28px 28px 0 0; }
  body:not(.admin-body) .bottom-bar { bottom: 20px; width: min(100%, 480px); border-radius: 0 0 28px 28px; }
  .admin-body .card { padding: 23px; }
}
@media (max-width: 360px) {
  .app-bar { padding-right: 15px; padding-left: 15px; }
  .hero { padding-right: 16px; padding-left: 16px; }
  .screen { padding-right: 12px; padding-left: 12px; }
  .tile { gap: 9px; padding: 12px; }
  .tile .icon { width: 42px; height: 42px; flex-basis: 42px; }
  .tile .meta b { font-size: 12px; }
  .tile .meta span { font-size: 10px; }
  .tile .status { padding: 5px 7px; font-size: 9px; }
  .admin-body { padding-right: 12px; padding-left: 12px; }
  .admin-body .card { padding: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}


/* Refinamento mobile/Android: toque confortável, profundidade e movimento discreto */
:root { --motion-fast: 180ms; --motion-smooth: 320ms; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { overscroll-behavior-y: contain; }
button, a, input, select, textarea { touch-action: manipulation; }
button, a, .btn, .fab, .top a { transition: transform var(--motion-fast) ease, filter var(--motion-fast) ease, box-shadow var(--motion-fast) ease; }
button:active, a.btn:active, .fab:active, .top a:active { transform: scale(.975); }
.tile, .card, .product { animation: android-enter .48s cubic-bezier(.2,.75,.25,1) both; }
.tile:nth-child(2), .card:nth-of-type(2) { animation-delay: 55ms; }
.tile:nth-child(3), .card:nth-of-type(3) { animation-delay: 100ms; }
.tile:nth-child(4), .card:nth-of-type(4) { animation-delay: 145ms; }
.tile:nth-child(5), .card:nth-of-type(5) { animation-delay: 190ms; }
@keyframes android-enter { from { opacity: 0; transform: translateY(12px) scale(.99); } to { opacity: 1; transform: translateY(0) scale(1); } }
.tile { position: relative; overflow: hidden; }
.tile::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; background: radial-gradient(circle at var(--touch-x,50%) var(--touch-y,50%), rgba(180,154,255,.14), transparent 54%); transition: opacity var(--motion-smooth) ease; }
.tile:active::after { opacity: 1; }
.tile .icon { transition: transform var(--motion-smooth) cubic-bezier(.2,.8,.2,1), box-shadow var(--motion-smooth); }
.tile:active .icon { transform: scale(1.08) rotate(-4deg); box-shadow: 0 0 22px rgba(139,92,246,.24); }
.fab, .btn:not(.text), .top a:not(.secondary) { box-shadow: 0 8px 22px rgba(104,74,219,.22), inset 0 1px rgba(255,255,255,.12); }
.card, .product { transition: border-color var(--motion-smooth), box-shadow var(--motion-smooth), transform var(--motion-smooth); }
.card:focus-within { border-color: rgba(180,154,255,.25); }
.dialog { padding-bottom: calc(20px + env(safe-area-inset-bottom, 12px)); overscroll-behavior: contain; }
.app-bar { padding-top: max(12px, env(safe-area-inset-top, 0px)); }
.field, input, select, textarea { font-size: max(16px, 1em); }
.btn, .fab, .top a, .admin-nav a { min-height: 48px; }
.admin-body .admin-nav, .admin-nav { -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; }
.admin-nav a { scroll-snap-align: start; }
.table-wrap, .admin-body .card { min-width: 0; }
@media (hover:hover) and (pointer:fine) {
  .tile:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,0,0,.2); }
  .card:hover { border-color: rgba(180,154,255,.16); }
}
@media (max-width: 480px) {
  body.admin-body { padding-top: max(16px, env(safe-area-inset-top, 0px)); padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }
  .admin-body .wrap, .wrap { width: 100%; }
  .admin-body .card { padding: clamp(15px, 4.5vw, 20px); }
  .admin-body .card table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .actions > .btn, .actions > a { flex: 1 1 100%; }
  .toast { white-space: normal; width: max-content; max-width: calc(100% - 32px); text-align: center; }
}
@media (max-width: 360px) {
  .dialog { padding-right: 16px; padding-left: 16px; }
  .wrap { padding-right: 12px; padding-left: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}


/* MOBILE DRAWER SHELL — Android: barra lateral + telas */
.m-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 10px 14px;
  padding-top: calc(10px + env(safe-area-inset-top, 0px));
  background: rgba(11,11,16,.96);
  border-bottom: 1px solid rgba(255,255,255,.06);
  backdrop-filter: blur(14px);
}
.m-topbar .m-title {
  flex: 1;
  min-width: 0;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.m-burger {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  background: #1a1822;
  color: #f7f5ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}
.m-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 80;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
}
.m-drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}
.m-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(86vw, 300px);
  z-index: 90;
  background: #12111a;
  border-right: 1px solid rgba(255,255,255,.08);
  transform: translateX(-105%);
  transition: transform .24s ease;
  padding: calc(16px + env(safe-area-inset-top, 0px)) 14px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.m-drawer.open { transform: translateX(0); }
.m-drawer .m-brand {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  color: #d8ccff;
  margin: 4px 8px 14px;
}
.m-drawer a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 12px;
  color: #c9c4d6;
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
}
.m-drawer a.active,
.m-drawer a:hover {
  background: rgba(139,92,246,.16);
  color: #f0eaff;
}
.m-drawer .m-sep {
  height: 1px;
  background: rgba(255,255,255,.07);
  margin: 10px 8px;
}
body.m-nav-open { overflow: hidden; }

/* Telas: em mobile cada bloco vira "página" confortável */
@media (max-width: 720px) {
  .admin-body {
    max-width: 100%;
    padding: 0;
  }
  .admin-body .wrap {
    width: 100%;
    max-width: 100%;
    padding: 0 12px 28px;
  }
  .admin-body .logo { padding: 8px 4px 0; }
  /* esconde nav horizontal antiga no mobile — usa drawer */
  .admin-body .admin-nav { display: none !important; }
  .admin-body .card {
    margin-left: 0;
    margin-right: 0;
  }
  .admin-body .table-wrap {
    margin: 0 -4px;
    border-radius: 12px;
  }
  /* VIP site */
  body:not(.admin-body) .top {
    display: none !important;
  }
  .vip-screen {
    padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  }
}

@media (min-width: 721px) {
  .m-topbar { display: none; }
  .m-drawer, .m-drawer-backdrop { display: none !important; }
}


/* ================================================================
   RED SIGNAL THEME — redesign visual global
   Vermelho profundo, energia de neon e microinterações responsivas.
   ================================================================ */
:root {
  --bg: #080508;
  --surface: #120b0e;
  --surface-raised: #1b0d12;
  --surface-soft: #271117;
  --line: rgba(141, 92, 255, .18);
  --primary: #8753ff;
  --primary-strong: #571de0;
  --blue: #976aff;
  --text: #fff7f8;
  --muted: #b99da3;
  --ok: #76e0ad;
  --error: #ae8cff;
  --youtube: #6929ff;
  --radius: 20px;
  --shadow: 0 20px 70px rgba(0,0,0,.48);
  --red-glow: 0 0 28px rgba(107, 44, 255, .22);
}

html { background: #050305; }
body {
  isolation: isolate;
  background:
    radial-gradient(ellipse at 50% -16%, rgba(68, 16, 190, .28), transparent 48%),
    radial-gradient(circle at 110% 38%, rgba(109, 46, 255, .09), transparent 28%),
    var(--bg);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .22;
  background-image: linear-gradient(rgba(134,82,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(134,82,255,.045) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, #000, transparent 80%);
  animation: grid-drift 18s linear infinite;
}
@keyframes grid-drift { from { transform: translateY(0); } to { transform: translateY(34px); } }
@keyframes red-pulse { 0%,100% { box-shadow: 0 0 0 rgba(107,43,255,0); } 50% { box-shadow: 0 0 26px rgba(107,43,255,.22); } }
@keyframes red-shimmer { 0% { background-position: 0% 50%; } 100% { background-position: 200% 50%; } }
@keyframes red-breathe { 0%,100% { opacity: .72; transform: scale(.98); } 50% { opacity: 1; transform: scale(1.02); } }

.app-bar, .m-topbar {
  background: linear-gradient(180deg, rgba(10,4,7,.98), rgba(19,7,11,.82));
  border-bottom-color: rgba(125, 70, 255, .16);
}
.app-bar::after, .m-topbar::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(128,73,255,.7), transparent);
  animation: red-shimmer 4s linear infinite;
  background-size: 200% 100%;
}
.app-bar .title, .m-title { letter-spacing: .09em; text-shadow: 0 0 18px rgba(125, 70, 255, .25); }
.app-bar .chip, .admin-body .logo .badge, .badge {
  border-color: rgba(135, 83, 255, .38);
  background: linear-gradient(135deg, rgba(107, 44, 255, .18), rgba(41, 10, 115, .26));
  color: #ffd6db;
  box-shadow: inset 0 0 18px rgba(108, 45, 255, .06);
}
.hero h1, .admin-body .logo h1 {
  background: linear-gradient(110deg, #fff 4%, #ffc4cc 42%, #834eff 78%, #c8b0ff 100%);
  background-size: 220% auto;
  animation: red-shimmer 6s linear infinite;
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  text-shadow: 0 0 30px rgba(109, 47, 255, .16);
}
.hero p, .admin-body .logo p { color: #b99da3; }
.steps-rail .dot { background: #1e1532; }
.steps-rail .dot.on { background: linear-gradient(90deg, #450fc3, #8753ff, #ba9dff); box-shadow: 0 0 16px rgba(110, 48, 255, .56); }

.tile, .card, .product {
  border-color: rgba(128, 73, 255, .15);
  background: linear-gradient(145deg, rgba(35, 14, 20, .98), rgba(17, 8, 12, .98));
  box-shadow: 0 10px 30px rgba(0,0,0,.2), inset 0 1px rgba(255,255,255,.035);
}
.tile::before, .card::before, .product::before {
  content: ""; position: absolute; left: 18px; right: 18px; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(136, 85, 255, .5), transparent);
  opacity: .55;
}
.tile:hover, .card:hover, .product:hover { border-color: rgba(135, 83, 255, .46); box-shadow: var(--red-glow), 0 16px 38px rgba(0,0,0,.28); }
.tile .icon { background: linear-gradient(145deg, #241548, #211017); border-color: rgba(136, 85, 255, .24); box-shadow: inset 0 0 18px rgba(106, 42, 255, .1); }
.tile:active .icon { box-shadow: 0 0 25px rgba(104, 40, 255, .5); }
.tile::after { background: radial-gradient(circle at var(--touch-x,50%) var(--touch-y,50%), rgba(116, 57, 255, .2), transparent 54%); }
.tile .status.done { color: #8ff0bd; background: rgba(67, 181, 117, .15); }
.tile .status.wait { color: #ffc2ca; background: rgba(124, 68, 255, .12); }
.tile .status.lock { color: #ba9dff; background: rgba(76, 25, 194, .17); }

.bottom-bar { background: linear-gradient(180deg, transparent, rgba(11,3,7,.96) 28%, #080508 100%); }
.fab, .btn.primary, .btn.go, .top a:not(.secondary) {
  position: relative; overflow: hidden;
  background: linear-gradient(110deg, #420fb8, #7039f0 46%, #996dff);
  background-size: 220% 100%;
  box-shadow: 0 12px 32px rgba(75205, 20, 205, .34), inset 0 1px rgba(255,255,255,.2);
  animation: red-shimmer 5s linear infinite;
}
.fab::after, .btn.primary::after, .btn.go::after, .top a:not(.secondary)::after {
  content: ""; position: absolute; inset: 0; transform: translateX(-120%) skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.22), transparent);
  transition: transform .55s ease;
}
.fab:hover::after, .btn:hover::after, .top a:hover::after { transform: translateX(120%) skewX(-18deg); }
.btn.yt { background: linear-gradient(110deg, #3e0bb6, #6929ff); }
.btn.ok { background: linear-gradient(110deg, #137b50, #24b978); }
.btn.text, .top a.secondary, .btn.secondary { border-color: rgba(135, 83, 255, .2); background: rgba(132, 80, 255, .08); color: #e6c2c7; }
.dialog { background: linear-gradient(160deg, #2a1018, #12070b 76%); border-color: rgba(135, 83, 255, .24); box-shadow: 0 -18px 70px rgba(41, 8, 117, .24), 0 -16px 55px rgba(0,0,0,.56); }
.dialog .handle { background: #5e2cd2; box-shadow: 0 0 12px rgba(114, 53, 255, .42); }
.key-display { border-color: rgba(135, 83, 255, .5); background: rgba(18, 4, 9, .84); box-shadow: inset 0 0 22px rgba(104, 40, 255, .08); }
.key-display code, .code, .key code { color: #ffd8dd; }
.field, .card input, .card textarea, .vip-screen input, .vip-screen textarea { border-color: rgba(135, 83, 255, .2); background: #100609; }
.field:focus, .card input:focus, .card textarea:focus, .vip-screen input:focus, .vip-screen textarea:focus { border-color: rgba(138, 88, 255, .8); box-shadow: 0 0 0 3px rgba(87, 29, 224, .18), 0 0 20px rgba(107, 43, 255, .12); }
.msg.err, .alert.error { border-color: rgba(135, 83, 255, .28); background: rgba(49, 15, 127, .28); }
.msg.ok, .alert.success { border-color: rgba(92, 224, 160, .22); }
.toast { background: #1e123a; border-color: rgba(135, 83, 255, .3); box-shadow: var(--red-glow); }

.admin-body { background: radial-gradient(ellipse at 50% -12%, rgba(68, 16, 190, .28), transparent 46%), #080508; }
.admin-body .admin-nav { background: rgba(24, 8, 13, .88); border-color: rgba(135, 83, 255, .18); }
.admin-body .admin-nav a:hover, .admin-body .admin-nav a.active, .m-drawer a.active, .m-drawer a:hover { border-color: rgba(135,83,255,.24); color: #ffe3e6; background: rgba(87,29,224,.18); }
.admin-body .card h2 { color: #ffe9eb; }
.admin-body .card th { color: #ae9ed3; }
.admin-body .card td:first-child { color: #ffc9d0; }
.m-burger { border-color: rgba(135, 83, 255, .28); background: #2b1018; color: #ffe4e7; }
.m-drawer { background: #16080d; border-right-color: rgba(135, 83, 255, .24); }
.m-drawer .m-brand { color: #ae8bff; text-shadow: 0 0 15px rgba(107,43,255,.34); }

/* Loja VIP: mesma identidade visual, mantendo o checkout e as contas intactos. */
.vip-screen { background: radial-gradient(ellipse at top, #35101b 0, #080508 48%); }
.vip-screen .card { border-color: rgba(135,83,255,.18); background: linear-gradient(145deg, rgba(38,13,20,.94), rgba(15,6,10,.96)); }
.vip-screen .price { color: #ccb6ff; text-shadow: 0 0 18px rgba(11555, 55, 255, .2); }
.vip-screen .badge { color: #ffcbd1; }
.vip-screen .code, .vip-screen .key { background: #0d0408; border-color: rgba(135,83,255,.22); }
.vip-screen .footer { color: #a9868d; }

@media (prefers-reduced-motion: reduce) {
  body::before, .hero h1, .admin-body .logo h1, .fab, .btn.primary, .btn.go, .top a:not(.secondary) { animation: none; }
}

.tile, .card, .product { position: relative; overflow: hidden; }


/* VIP SCREENS — catálogo, produto, compras e pedido */
.vip-screen .wrap { max-width: 920px; }
.vip-screen .top { margin-bottom: 8px; }
.vip-screen .hero { max-width: 700px; margin: 0 auto; text-align: center; }
.vip-screen .hero .badge { margin-bottom: 12px; }
.vip-screen .hero h1 { font-size: clamp(30px, 6vw, 52px); }
.vip-screen-intro, .section-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin: 26px 0 14px; }
.vip-screen-intro h2, .section-heading h2 { margin-top: 5px; font-size: 24px; letter-spacing: -.035em; }
.eyebrow { color: #9c71ff; font-size: 10px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.catalog-count { color: #dcaab2; font-size: 11px; font-weight: 750; white-space: nowrap; }
.vip-product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.vip-product-card { display: flex; flex-direction: column; min-height: 100%; padding: 14px; }
.vip-product-card > img { width: 100%; height: 210px; object-fit: cover; border-radius: 15px; margin-bottom: 15px; background: #16070c; }
.vip-product-orb { height: 210px; display: grid; place-items: center; margin-bottom: 15px; border-radius: 15px; color: #996dff; font-size: 66px; background: radial-gradient(circle, rgba(109,47,255,.3), transparent 48%), linear-gradient(145deg,#211342,#15070c); animation: red-breathe 4s ease-in-out infinite; }
.vip-product-card .product-copy { flex: 1; }
.vip-product-card h2 { margin: 5px 0 5px; font-size: 21px; }
.vip-product-card .price { margin: 0 0 7px; }
.vip-product-card > .btn { margin-top: 17px; width: 100%; }
.product-detail-card, .order-screen-card { max-width: 720px; margin: 22px auto; padding: clamp(18px, 4vw, 30px); }
.back-link { display: inline-flex; margin-bottom: 20px; color: #b89aff; font-size: 12px; font-weight: 750; text-decoration: none; }
.back-link:hover { color: #fff; }
.product-detail-image { display: block; width: 100%; max-height: 330px; object-fit: cover; border-radius: 17px; margin: 0 0 19px; }
.product-detail-card h2, .order-screen-card h2 { margin: 8px 0 3px; font-size: clamp(25px, 5vw, 34px); }
.product-detail-price { font-size: 30px; margin: 10px 0 17px; }
.detail-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin: 18px 0 22px; }
.detail-stats span { padding: 12px 8px; border: 1px solid rgba(135,83,255,.2); border-radius: 13px; text-align: center; background: rgba(109,47,255,.06); }
.detail-stats b, .detail-stats small { display: block; }
.detail-stats b { color: #ffd7dc; font-size: 17px; }
.detail-stats small { margin-top: 3px; color: #ba949d; font-size: 10px; }
.vip-checkout-form { padding-top: 18px; border-top: 1px solid rgba(135,83,255,.16); }
.vip-checkout-form > .btn { width: 100%; margin-top: 10px; }
.account-bound { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; margin: 13px 0; padding: 12px; border-radius: 12px; background: rgba(135,83,255,.07); color: #bda0a6; font-size: 12px; }
.account-bound b { color: #ffe3e6; }
.account-bound a { margin-left: auto; color: #aa86ff; font-weight: 750; text-decoration: none; }
.account-hero { display: flex; align-items: center; gap: 8px 18px; flex-wrap: wrap; }
.account-hero h2 { width: 100%; margin: 3px 0 0; }
.account-hero p { flex: 1; margin: 0; }
.account-actions { display: flex; gap: 7px; flex-wrap: wrap; }
.account-actions .btn { min-height: 40px; padding: 9px 12px; font-size: 11px; }
.purchase-row { display: flex; align-items: center; gap: 13px; padding: 15px 0; border-bottom: 1px solid rgba(135,83,255,.13); }
.purchase-row:last-child { border-bottom: 0; padding-bottom: 0; }
.purchase-icon { width: 35px; height: 35px; flex: 0 0 35px; display: grid; place-items: center; border-radius: 11px; color: #b89aff; background: rgba(109,47,255,.14); font-size: 18px; font-weight: 850; }
.purchase-info { min-width: 0; flex: 1; }
.purchase-info h3 { margin: 0 0 3px; font-size: 14px; }
.purchase-info h3 span { color: #b78e96; font-weight: 500; }
.purchase-info p, .purchase-info small { color: #bd9fa6; font-size: 11px; }
.purchase-info small { font-size: 10px; }
.purchase-row > .btn { min-height: 40px; padding: 8px 11px; font-size: 10px; white-space: nowrap; }
.order-screen-card > .eyebrow { display: block; margin-bottom: 8px; }
.order-screen-card .pix-box { margin-top: 18px; padding: 16px; border: 1px solid rgba(135,83,255,.2); border-radius: 16px; background: rgba(109,47,255,.05); }
.pix-qr { display: flex; justify-content: center; margin: 12px 0 16px; }
.pix-qr img { width: 260px; max-width: 100%; height: auto; padding: 10px; border-radius: 12px; background: #fff; }
.delivery-list { margin: 16px 0; }
.delivery-list .key { background: rgba(109,47,255,.06); }
@media (max-width: 650px) {
  .vip-product-grid { grid-template-columns: 1fr; }
  .vip-product-card > img, .vip-product-orb { height: 180px; }
  .purchase-row { align-items: flex-start; flex-wrap: wrap; }
  .purchase-row > .btn { margin-left: 48px; }
  .account-hero { align-items: flex-start; flex-direction: column; }
  .account-actions { width: 100%; }
  .account-actions .btn, .account-actions form { flex: 1; }
  .account-actions form .btn { width: 100%; }
}
@media (max-width: 380px) {
  .detail-stats b { font-size: 14px; }
  .detail-stats small { font-size: 9px; }
}


/* ADMIN MOBILE FIX — layout sem overflow em telas pequenas */
.admin-body,
.admin-body * { min-width: 0; }
.admin-body { overflow-x: hidden; }
.admin-body .wrap { min-width: 0; }
.admin-body img { max-width: 100%; height: auto; }
.admin-body input, .admin-body select, .admin-body textarea, .admin-body button { max-width: 100%; }
.admin-body .table-wrap { width: 100%; max-width: 100%; overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.admin-body .table-wrap table { width: max-content; min-width: 680px; }
.admin-body table { max-width: none; }
.admin-body .admin-nav, .admin-body .nav { scrollbar-width: none; }
.admin-body .admin-nav::-webkit-scrollbar, .admin-body .nav::-webkit-scrollbar { display: none; }
.admin-body .product, .admin-body .card { overflow: hidden; }
.admin-body .product p, .admin-body .card p, .admin-body .hint, .admin-body code, .admin-body a { overflow-wrap: anywhere; word-break: break-word; }
.admin-body details { min-width: 0; }
.admin-body details form { width: 100%; }
.admin-body .btn { max-width: 100%; }

@media (max-width: 720px) {
  body.admin-body {
    width: 100%;
    max-width: none;
    display: block;
    padding: 0 0 calc(28px + env(safe-area-inset-bottom, 0px));
    margin: 0;
  }
  .admin-body > .wrap,
  .admin-body > main.wrap,
  .admin-body > .wrap[style] {
    width: 100% !important;
    max-width: none !important;
    margin: 0 auto;
    padding: 0 12px 28px;
  }
  .admin-body > .m-topbar { width: 100%; }
  .admin-body .wrap > .m-topbar {
    width: calc(100% + 24px);
    margin-left: -12px;
    margin-right: -12px;
  }
  .admin-body .logo { padding-top: 22px; margin-bottom: 18px; }
  .admin-body .logo h1 { font-size: clamp(24px, 9vw, 34px); }
  .admin-body .head, .admin-body .header {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
    margin: 20px 0 14px;
  }
  .admin-body .head h1, .admin-body .header h1 { font-size: clamp(22px, 7vw, 28px); line-height: 1.15; }
  .admin-body .head > .btn, .admin-body .header > .btn { width: 100%; margin: 0; }
  .admin-body .grid { grid-template-columns: minmax(0, 1fr) !important; gap: 10px; }
  .admin-body .card { width: 100%; margin-bottom: 10px; padding: 16px; border-radius: 16px; }
  .admin-body .card h2 { font-size: 16px; line-height: 1.25; }
  .admin-body .card form { width: 100%; }
  .admin-body .card input,
  .admin-body .card select,
  .admin-body .card textarea { width: 100%; min-width: 0; font-size: 16px; }
  .admin-body .card textarea { min-height: 130px; }
  .admin-body .card form > .btn,
  .admin-body .card form > button.btn,
  .admin-body .product form > .btn,
  .admin-body .product form > button.btn { display: flex; width: 100%; margin: 7px 0 2px; }
  .admin-body .product { padding: 14px; }
  .admin-body .product h3 { font-size: 15px; line-height: 1.4; }
  .admin-body .product .badge { display: inline-block; margin-top: 4px; }
  .admin-body .product details { padding: 10px 0 0; }
  .admin-body .product details + form,
  .admin-body .product > form { display: block !important; width: 100%; margin-top: 8px; }
  .admin-body .product > form .btn { width: 100%; }
  .admin-body .table-wrap { margin-left: -2px; width: calc(100% + 4px); border-radius: 10px; }
  .admin-body .table-wrap table { min-width: 680px; font-size: 11px; }
  .admin-body .table-wrap th, .admin-body .table-wrap td { padding: 9px 8px; }
  .admin-body .table-wrap + * { max-width: 100%; }
  .admin-body .admin-nav, .admin-body .nav { display: none !important; }
  .admin-body .msg, .admin-body .alert { overflow-wrap: anywhere; }
  .admin-body .m-topbar { position: sticky; top: 0; }
}

@media (max-width: 420px) {
  .admin-body > .wrap,
  .admin-body > main.wrap,
  .admin-body > .wrap[style] { padding-left: 10px; padding-right: 10px; }
  .admin-body .wrap > .m-topbar { width: calc(100% + 20px); margin-left: -10px; margin-right: -10px; }
  .admin-body .card { padding: 14px; }
  .admin-body .actions, .admin-body .product > form[style] { display: flex !important; flex-direction: column; }
  .admin-body .actions .btn, .admin-body .product > form[style] .btn { width: 100%; margin: 4px 0; }
  .admin-body .m-topbar { padding-left: 10px; padding-right: 10px; }
}


/* VIP ADMIN — controles operacionais de produto e pedido */
.admin-body select {
  width: 100%;
  min-height: 44px;
  margin: 0 0 8px;
  padding: 10px 12px;
  border: 1px solid rgba(135,83,255,.22);
  border-radius: 11px;
  color: #ffe8eb;
  background: #180910;
  font: inherit;
}
.admin-body .product-status-form,
.admin-body .order-status-form { min-width: 190px; margin: 7px 5px 2px 0; vertical-align: top; }
.admin-body .product-status-form select,
.admin-body .order-status-form select { display: inline-block; width: auto; min-width: 170px; margin: 0 5px 0 0; }
.admin-body .product-status-form .btn,
.admin-body .order-status-form .btn { display: inline-flex; width: auto; min-height: 44px; margin: 0; }
@media (max-width: 720px) {
  .admin-body .product-status-form,
  .admin-body .order-status-form { display: flex !important; flex-direction: column; width: 100%; min-width: 0; margin: 8px 0; }
  .admin-body .product-status-form select,
  .admin-body .order-status-form select,
  .admin-body .product-status-form .btn,
  .admin-body .order-status-form .btn { display: flex; width: 100%; min-width: 0; margin: 4px 0; }
}

/* Opções de duração VIP */
.duration-options-title { margin-top: 14px !important; color: #cab4ff !important; font-weight: 750; }
.duration-option-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 7px; }
.duration-option-grid label { margin-top: 0 !important; }
.duration-option-grid input { margin-bottom: 0 !important; }
@media (max-width: 520px) {
  .duration-option-grid { grid-template-columns: 1fr; gap: 0; }
  .duration-option-grid > div { min-width: 0; }
}


/* ================================================================
   FAVELA KEYS v5 — acabamento responsivo e experiência mobile
   Regras finais carregadas depois das camadas legadas para manter
   compatibilidade com os templates PHP existentes.
   ================================================================ */
:root {
  --content-gutter: clamp(12px, 4vw, 22px);
  --tap-size: 48px;
}

html { overflow-x: hidden; }
body { width: 100%; }
button, a, input, select, textarea { font-family: inherit; }
button:disabled, .btn:disabled { filter: saturate(.45); }

/* A loja VIP precisa usar a largura disponível no desktop; o catálogo
   continua fluido e reduz para uma coluna no celular. */
body.vip-screen {
  max-width: none;
  margin: 0;
  min-height: 100dvh;
}
body.vip-screen > .wrap,
body.vip-screen main.wrap {
  width: min(1080px, 100%);
  max-width: 1080px;
  margin: 0 auto;
  padding: 24px var(--content-gutter) calc(56px + env(safe-area-inset-bottom, 0px));
}
body.vip-screen .top { min-height: var(--tap-size); }
body.vip-screen .top a,
body.vip-screen .btn,
body.vip-screen button.btn { min-height: var(--tap-size); }
body.vip-screen .card { min-width: 0; }
body.vip-screen .vip-product-card h2,
body.vip-screen .product-detail-card h2,
body.vip-screen .order-screen-card h2 { overflow-wrap: anywhere; }
body.vip-screen .vip-product-card > .btn { margin-top: 18px; }
body.vip-screen .vip-checkout-form select {
  width: 100%;
  min-height: var(--tap-size);
  padding: 12px 14px;
  border: 1px solid rgba(135,83,255,.22);
  border-radius: 12px;
  color: var(--text);
  background: #100609;
  font-size: 16px;
}
body.vip-screen .vip-checkout-form select:focus {
  outline: none;
  border-color: rgba(138,88,255,.8);
  box-shadow: 0 0 0 3px rgba(87,29,224,.18);
}

/* Evita que textos longos criem rolagem lateral nos cards e mensagens. */
.msg, .alert, .card p, .tile span, .dialog p, code, .key-display code,
.vip-screen a, .vip-screen .muted { overflow-wrap: anywhere; }

/* Estados de teclado e toque mais claros. */
.tile:focus-visible,
.vip-product-card:focus-within,
.product-detail-card:focus-within,
.card:focus-within { outline: 2px solid rgba(154,111,255,.65); outline-offset: 3px; }
.btn, .fab, .m-burger, .admin-nav a, .nav a { user-select: none; }

@media (max-width: 720px) {
  body.vip-screen > .wrap,
  body.vip-screen main.wrap {
    padding-top: 0;
    padding-left: 12px;
    padding-right: 12px;
  }
  body.vip-screen .hero {
    padding: 28px 4px 12px;
  }
  body.vip-screen .hero h1 { font-size: clamp(28px, 9vw, 40px); }
  body.vip-screen .vip-screen-intro,
  body.vip-screen .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
    margin-top: 22px;
  }
  body.vip-screen .vip-screen-intro h2,
  body.vip-screen .section-heading h2 { font-size: 22px; }
  body.vip-screen .vip-product-grid { gap: 12px; }
  body.vip-screen .vip-product-card { padding: 12px; }
  body.vip-screen .product-detail-card,
  body.vip-screen .order-screen-card { margin: 14px 0; }
  body.vip-screen .detail-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body.vip-screen .account-actions { gap: 8px; }
  body.vip-screen .account-actions .btn,
  body.vip-screen .account-actions form { min-width: 0; }
  body.vip-screen .purchase-row > .btn { width: 100%; margin-left: 48px; }
}

@media (max-width: 430px) {
  body:not(.admin-body):not(.vip-screen) .app-bar { padding-left: 14px; padding-right: 14px; }
  body:not(.admin-body):not(.vip-screen) .app-bar .title { font-size: 13px; }
  body:not(.admin-body):not(.vip-screen) .app-bar .chip { padding: 7px 9px; font-size: 10px; }
  body:not(.admin-body):not(.vip-screen) .hero { padding-top: 22px; }
  body:not(.admin-body):not(.vip-screen) .hero h1 { font-size: clamp(25px, 9vw, 31px); }
  body:not(.admin-body):not(.vip-screen) .hero p { max-width: 280px; margin-left: auto; margin-right: auto; }
  body:not(.admin-body):not(.vip-screen) .tile { padding: 12px; gap: 10px; border-radius: 17px; }
  body:not(.admin-body):not(.vip-screen) .tile .icon { width: 42px; height: 42px; flex-basis: 42px; border-radius: 13px; font-size: 19px; }
  body:not(.admin-body):not(.vip-screen) .tile .meta b { font-size: 13px; }
  body:not(.admin-body):not(.vip-screen) .tile .meta span { white-space: normal; }
  body:not(.admin-body):not(.vip-screen) .tile .status { padding: 6px 7px; font-size: 9px; }
  .dialog { padding-left: 16px; padding-right: 16px; border-radius: 22px 22px 0 0; }
  .dialog h3 { font-size: 18px; }
  .key-display code { font-size: 13px; }
  body.vip-screen .detail-stats { gap: 5px; }
  body.vip-screen .detail-stats span { padding: 10px 5px; }
  body.vip-screen .detail-stats b { font-size: 14px; }
  body.vip-screen .detail-stats small { font-size: 9px; }
  body.vip-screen .card { border-radius: 16px; }
}

@media (max-width: 350px) {
  body:not(.admin-body):not(.vip-screen) .screen { padding-left: 10px; padding-right: 10px; }
  body:not(.admin-body):not(.vip-screen) .tile .status { display: none; }
  body:not(.admin-body):not(.vip-screen) .tile .meta b { font-size: 12px; }
  .bottom-bar { padding-left: 10px; padding-right: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  body::before, .hero h1, .admin-body .logo h1, .fab, .btn.primary,
  .btn.go, .top a:not(.secondary), .vip-product-orb { animation: none !important; }
}


/* ================================================================
   AURORA UI — nova direção visual
   Azul-marinho, ciano e âmbar: interface mais limpa e tecnológica,
   sem alterar classes ou fluxos de negócio existentes.
   ================================================================ */
:root {
  --bg: #07111f;
  --surface: #0d1b2e;
  --surface-raised: #11243b;
  --surface-soft: #17304a;
  --line: rgba(126, 207, 255, .16);
  --primary: #46d7ff;
  --primary-strong: #1b9fe3;
  --blue: #6ea8ff;
  --text: #f3f9ff;
  --muted: #91a9be;
  --ok: #7ce6bd;
  --error: #b99bff;
  --youtube: #9e74ff;
  --radius: 22px;
  --shadow: 0 22px 70px rgba(0, 8, 22, .48);
  --red-glow: 0 0 28px rgba(70, 215, 255, .16);
}

html { background: #040a13; }
body {
  background:
    radial-gradient(ellipse at 20% -14%, rgba(37, 140, 218, .28), transparent 42%),
    radial-gradient(circle at 100% 25%, rgba(0, 211, 190, .10), transparent 30%),
    var(--bg);
}
body::before {
  opacity: .18;
  background-image: linear-gradient(rgba(73, 200, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(73, 200, 255, .06) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(to bottom, #000, transparent 68%);
}

.app-bar, .m-topbar {
  background: rgba(6, 17, 31, .88);
  border-bottom-color: rgba(104, 209, 255, .16);
}
.app-bar::after, .m-topbar::after {
  background: linear-gradient(90deg, transparent, rgba(70, 215, 255, .76), rgba(255, 193, 92, .7), transparent);
}
.app-bar .title, .m-title { text-shadow: 0 0 18px rgba(70, 215, 255, .24); }
.app-bar .chip, .admin-body .logo .badge, .badge {
  border-color: rgba(70, 215, 255, .30);
  background: rgba(70, 215, 255, .09);
  color: #c8f3ff;
  box-shadow: inset 0 0 18px rgba(70, 215, 255, .05);
}
.hero h1, .admin-body .logo h1 {
  background: linear-gradient(112deg, #fff 0%, #b9efff 38%, #46d7ff 75%, #ffd083 100%);
  text-shadow: 0 0 32px rgba(70, 215, 255, .15);
}
.hero p, .admin-body .logo p { color: #91a9be; }
.steps-rail .dot { background: #19314a; }
.steps-rail .dot.on { background: linear-gradient(90deg, #178fd2, #46d7ff, #ffd083); box-shadow: 0 0 16px rgba(70, 215, 255, .42); }

.tile, .card, .product {
  border-color: rgba(100, 205, 255, .15);
  background: linear-gradient(145deg, rgba(16, 38, 62, .97), rgba(8, 22, 38, .98));
  box-shadow: 0 12px 34px rgba(0, 8, 22, .24), inset 0 1px rgba(255,255,255,.035);
}
.tile::before, .card::before, .product::before {
  background: linear-gradient(90deg, transparent, rgba(70, 215, 255, .58), transparent);
}
.tile:hover, .card:hover, .product:hover { border-color: rgba(70, 215, 255, .48); box-shadow: var(--red-glow), 0 18px 42px rgba(0, 8, 22, .35); }
.tile .icon { background: linear-gradient(145deg, #164466, #102238); border-color: rgba(70, 215, 255, .25); box-shadow: inset 0 0 18px rgba(70, 215, 255, .09); }
.tile::after { background: radial-gradient(circle at var(--touch-x,50%) var(--touch-y,50%), rgba(70, 215, 255, .19), transparent 54%); }
.tile .status.done { color: #a5f5d2; background: rgba(62, 195, 145, .14); }
.tile .status.wait { color: #bdeeff; background: rgba(70, 215, 255, .11); }
.tile .status.lock { color: #ffd69b; background: rgba(255, 193, 92, .12); }

.bottom-bar { background: linear-gradient(180deg, transparent, rgba(4, 14, 27, .96) 28%, #07111f 100%); }
.fab, .btn.primary, .btn.go, .top a:not(.secondary) {
  background: linear-gradient(110deg, #1489c4, #28c6e5 52%, #f0b85f);
  background-size: 220% 100%;
  box-shadow: 0 13px 34px rgba(24, 158, 215, .30), inset 0 1px rgba(255,255,255,.22);
}
.btn.yt { background: linear-gradient(110deg, #7e55df, #9c72ff); }
.btn.ok { background: linear-gradient(110deg, #168b72, #2acb9a); }
.btn.text, .top a.secondary, .btn.secondary { border-color: rgba(100, 205, 255, .19); background: rgba(100, 205, 255, .08); color: #c9eaf5; }
.dialog { background: linear-gradient(160deg, #122e49, #071522 76%); border-color: rgba(70, 215, 255, .24); box-shadow: 0 -18px 70px rgba(7, 104, 161, .24), 0 -16px 55px rgba(0,0,0,.56); }
.dialog .handle { background: #46d7ff; box-shadow: 0 0 12px rgba(70, 215, 255, .42); }
.key-display { border-color: rgba(70, 215, 255, .48); background: rgba(3, 17, 31, .84); box-shadow: inset 0 0 22px rgba(70, 215, 255, .08); }
.key-display code, .code, .key code { color: #c8f4ff; }
.field, .card input, .card textarea, .vip-screen input, .vip-screen textarea { border-color: rgba(100, 205, 255, .20); background: #071522; }
.field:focus, .card input:focus, .card textarea:focus, .vip-screen input:focus, .vip-screen textarea:focus { border-color: rgba(70, 215, 255, .82); box-shadow: 0 0 0 3px rgba(27, 159, 227, .18), 0 0 20px rgba(70, 215, 255, .12); }
.msg.err, .alert.error { border-color: rgba(185, 155255, 155, .30); background: rgba(73, 46, 136, .24); }
.toast { background: #12354c; border-color: rgba(70, 215, 255, .3); box-shadow: var(--red-glow); }

.admin-body { background: radial-gradient(ellipse at 50% -12%, rgba(37, 140, 218, .30), transparent 46%), #07111f; }
.admin-body .admin-nav { background: rgba(9, 29, 49, .88); border-color: rgba(70, 215, 255, .18); }
.admin-body .admin-nav a:hover, .admin-body .admin-nav a.active, .m-drawer a.active, .m-drawer a:hover { border-color: rgba(70,215,255,.24); color: #e1f8ff; background: rgba(27,159,227,.18); }
.admin-body .card h2 { color: #dff8ff; }
.admin-body .card th { color: #91c3d5; }
.admin-body .card td:first-child { color: #bfeeff; }
.m-burger { border-color: rgba(70, 215, 255, .28); background: #10304a; color: #dff9ff; }
.m-drawer { background: #081a2b; border-right-color: rgba(70, 215, 255, .24); }
.m-drawer .m-brand { color: #74e3ff; text-shadow: 0 0 15px rgba(70,215,255,.34); }

.vip-screen { background: radial-gradient(ellipse at top, #0f3650 0, #07111f 50%); }
.vip-screen .card { border-color: rgba(70,215,255,.18); background: linear-gradient(145deg, rgba(16, 42, 66, .94), rgba(6, 20, 34, .96)); }
.vip-screen .price { color: #8deaff; text-shadow: 0 0 18px rgba(70, 215, 255, .20); }
.vip-screen .badge { color: #c9f5ff; }
.vip-screen .code, .vip-screen .key { background: #061522; border-color: rgba(70,215,255,.22); }
.vip-screen .footer { color: #81a8ba; }
.vip-product-orb { color: #64ddff; background: radial-gradient(circle, rgba(70,215,255,.28), transparent 48%), linear-gradient(145deg,#123b56,#061521); }
.eyebrow { color: #62dfff; }
.catalog-count { color: #a3cbd9; }
.detail-stats span { border-color: rgba(70,215,255,.20); background: rgba(70,215,255,.06); }
.detail-stats b { color: #d5f7ff; }
.detail-stats small { color: #91b4c2; }
.purchase-icon { color: #7ce7ff; background: rgba(70,215,255,.14); }

/* Novos blocos da home */
.home-kicker { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:0 20px 12px; }
.home-kicker .eyebrow { font-size:10px; font-weight:850; letter-spacing:.14em; }
.live-pill { display:inline-flex; align-items:center; gap:6px; padding:6px 9px; border:1px solid rgba(124,230,189,.20); border-radius:999px; color:#a8f3d2; background:rgba(124,230,189,.08); font-size:10px; font-weight:800; }
.live-pill::before { content:""; width:6px; height:6px; border-radius:50%; background:#7ce6bd; box-shadow:0 0 10px #7ce6bd; }
.home-stats { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; padding:0 16px 18px; }
.home-stat { min-width:0; padding:12px 10px; border:1px solid rgba(70,215,255,.14); border-radius:16px; background:rgba(12,35,56,.60); }
.home-stat strong { display:block; color:#ecfbff; font-size:18px; letter-spacing:-.03em; }
.home-stat span { display:block; margin-top:3px; color:#88aabd; font-size:10px; line-height:1.25; }
.home-stat.accent strong { color:#ffd083; }
.home-stat.success strong { color:#8ff0c4; }
.vip-highlight { display:grid; grid-template-columns:1.4fr .6fr; gap:12px; margin:20px 0 4px; padding:16px; border:1px solid rgba(255,208,131,.20); border-radius:20px; background:linear-gradient(135deg,rgba(32,59,76,.92),rgba(14,34,52,.86)); }
.vip-highlight h3 { margin:4px 0 4px; font-size:16px; }
.vip-highlight p { color:#a5c0cd; font-size:11px; line-height:1.45; }
.vip-highlight .mini-orb { display:grid; place-items:center; min-height:84px; border-radius:16px; color:#ffd083; font-size:38px; background:radial-gradient(circle,rgba(255,208,131,.25),transparent 55%),rgba(255,208,131,.05); }
@media (max-width:430px) { .home-kicker { padding-left:14px; padding-right:14px; } .home-stats { padding-left:12px; padding-right:12px; } .home-stat { padding:10px 8px; } .home-stat strong { font-size:16px; } .vip-highlight { grid-template-columns:1fr; } .vip-highlight .mini-orb { min-height:56px; } }
@media (prefers-reduced-motion: reduce) { .vip-product-orb { animation:none; } }

.vip-highlight { color: inherit; text-decoration: none; }
.vip-highlight:hover { border-color: rgba(255,208,131,.48); transform: translateY(-1px); }
.vip-perks { display:flex; flex-wrap:wrap; justify-content:center; gap:8px; margin:4px auto 18px; }
.vip-perks span { padding:8px 11px; border:1px solid rgba(124,230,189,.18); border-radius:999px; color:#b8ecd9; background:rgba(124,230,189,.07); font-size:10px; font-weight:750; }
@media (max-width:430px) { .vip-perks { justify-content:flex-start; overflow-x:auto; flex-wrap:nowrap; margin-left:4px; margin-right:4px; padding-bottom:3px; scrollbar-width:none; } .vip-perks::-webkit-scrollbar { display:none; } .vip-perks span { flex:0 0 auto; } }


/* ================================================================
   GAMEPANEL ADMIN — painel operacional desktop + mobile
   ================================================================ */
.admin-body {
  --admin-accent: #46d7ff;
  --admin-accent-2: #ffd083;
  --admin-panel: rgba(10, 29, 48, .90);
  --admin-panel-2: rgba(14, 39, 62, .88);
  --admin-border: rgba(100, 205, 255, .18);
  --admin-muted: #8eafc3;
  color: #edf9ff;
  background:
    radial-gradient(circle at 85% 0%, rgba(70,215,255,.13), transparent 28%),
    radial-gradient(circle at 10% 0%, rgba(255,208,131,.10), transparent 26%),
    #07111f;
}
.admin-body::before { opacity:.12; background-size:42px 42px; }
.admin-body .wrap { max-width:1180px; }
.admin-body .logo { position:relative; padding:10px 0 4px; text-align:left; }
.admin-body .logo::after {
  content:"OPERATIONS CONSOLE";
  position:absolute; right:0; bottom:15px;
  color:#718fa2; font-size:10px; font-weight:800; letter-spacing:.14em;
}
.admin-body .logo h1 { font-size:clamp(27px,4vw,40px); letter-spacing:-.04em; }
.admin-body .logo p { margin-top:6px; font-size:12px; }
.admin-body .admin-nav,
.admin-body .nav {
  position:sticky; top:10px; z-index:25;
  display:flex; gap:6px; align-items:center;
  margin:12px 0 18px; padding:6px;
  border:1px solid var(--admin-border); border-radius:16px;
  background:rgba(6, 22, 37, .92);
  box-shadow:0 12px 32px rgba(0,8,22,.24);
  backdrop-filter:blur(18px);
}
.admin-body .admin-nav a,
.admin-body .nav a {
  min-height:42px; display:inline-flex; align-items:center;
  padding:9px 13px; border-radius:11px;
  color:#9cb9c8; font-size:11px; font-weight:800; text-decoration:none;
  white-space:nowrap; transition:background .18s,color .18s,transform .18s;
}
.admin-body .admin-nav a.active,
.admin-body .admin-nav a:hover,
.admin-body .nav a.active,
.admin-body .nav a:hover { color:#eaffff; background:linear-gradient(135deg,rgba(27,159,227,.28),rgba(70,215,255,.10)); }
.admin-body .admin-nav a:nth-last-child(1),
.admin-body .nav a:nth-last-child(1) { margin-left:auto; color:#ffd083; }
.admin-body .card {
  position:relative; margin-bottom:16px; padding:22px;
  border:1px solid var(--admin-border); border-radius:20px;
  background:linear-gradient(145deg,var(--admin-panel-2),var(--admin-panel));
  box-shadow:0 16px 42px rgba(0,8,22,.25), inset 0 1px rgba(255,255,255,.035);
}
.admin-body .card::before, .admin-body .product::before { opacity:.7; background:linear-gradient(90deg,transparent,rgba(70,215,255,.58),transparent); }
.admin-body .card h2 { display:flex; align-items:center; gap:8px; margin-bottom:14px; font-size:18px; letter-spacing:-.02em; }
.admin-body .card h2::before { content:""; width:4px; height:18px; border-radius:8px; background:linear-gradient(#46d7ff,#ffd083); box-shadow:0 0 12px rgba(70,215,255,.38); }
.admin-body .card p, .admin-body .hint { color:var(--admin-muted); line-height:1.6; }
.admin-body .card label { color:#a9c7d5; font-weight:750; }
.admin-body .card input,
.admin-body .card select,
.admin-body .card textarea {
  min-height:48px; border-color:rgba(100,205,255,.18); border-radius:13px;
  color:#effbff; background:#061522; font-size:15px;
}
.admin-body .card input:focus,
.admin-body .card select:focus,
.admin-body .card textarea:focus { border-color:#46d7ff; box-shadow:0 0 0 3px rgba(70,215,255,.13); }
.admin-body .btn { min-height:46px; border-radius:12px; font-size:12px; }
.admin-body .btn.danger { background:linear-gradient(110deg,#9f3e58,#8761df); }
.admin-body .msg, .admin-body .alert { border:1px solid rgba(124,230,189,.20); background:rgba(28,111,93,.16); color:#baf5db; }
.admin-body .msg.error, .admin-body .alert.error { border-color:rgba(185,155255,155,.28); background:rgba(76,48,141,.20); color:#ffc5c5; }
.admin-body .warning { color:#ffd083 !important; }
.admin-body .secret-status { color:#8ff0c4; }
.admin-body .product {
  position:relative; margin:12px 0; padding:18px;
  border:1px solid rgba(100,205,255,.16); border-radius:17px;
  background:linear-gradient(145deg,rgba(13,40,64,.92),rgba(7,23,39,.95));
}
.admin-body .product h3 { font-size:16px; color:#e7faff; }
.admin-body .badge { border-radius:999px; font-size:10px; }
.admin-body .table-wrap { border:1px solid rgba(100,205,255,.12); border-radius:14px; background:rgba(3,15,27,.36); }
.admin-body .orders, .admin-body table { color:#d8eff7; }
.admin-body .orders th, .admin-body table th { color:#85b3c6; background:rgba(70,215,255,.06); }
.admin-body .orders td, .admin-body .orders th, .admin-body table td, .admin-body table th { border-bottom-color:rgba(100,205,255,.11); }
.admin-body .orders tr:hover td, .admin-body table tr:hover td { background:rgba(70,215,255,.045); }
.admin-body .grid { gap:16px; }
.admin-body .head, .admin-body .header { align-items:flex-end; margin:6px 0 18px; }
.admin-body .head h1, .admin-body .header h1 { color:#effbff; font-size:clamp(25px,4vw,34px); letter-spacing:-.04em; }
.admin-body .head p, .admin-body .header p { color:#89aabb; }
.admin-body .m-topbar { box-shadow:0 8px 24px rgba(0,8,22,.24); }
.admin-body .duration-option-grid input { min-height:46px; }
.admin-body .product-status-form select, .admin-body .order-status-form select { min-height:46px; }

/* Loja: grade comercial de painéis */
.vip-screen > .wrap, body.vip-screen main.wrap { max-width:1180px; }
.store-hero { max-width:800px !important; padding-top:40px !important; }
.store-hero h1 { font-size:clamp(38px,6vw,68px) !important; letter-spacing:-.065em !important; }
.store-hero p { max-width:620px; margin-left:auto; margin-right:auto; font-size:14px; }
.store-overview {
  display:flex; align-items:center; justify-content:space-between; gap:22px;
  margin:32px 0 17px; padding:22px 24px;
  border:1px solid rgba(70,215,255,.18); border-radius:22px;
  background:linear-gradient(120deg,rgba(14,47,75,.92),rgba(10,29,48,.76));
  box-shadow:0 15px 36px rgba(0,8,22,.20);
}
.store-overview h2 { margin:5px 0 4px; color:#f1fcff; font-size:clamp(23px,3vw,30px); letter-spacing:-.045em; }
.store-overview p { color:#9bb9c8; font-size:12px; }
.store-overview-stat { min-width:120px; padding:12px 15px; border-left:1px solid rgba(70,215,255,.22); text-align:right; }
.store-overview-stat strong { display:block; color:#ffd083; font-size:30px; letter-spacing:-.06em; }
.store-overview-stat span { color:#8eafbe; font-size:10px; }
.vip-product-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.vip-product-card { padding:15px; border-radius:22px; }
.vip-product-card > img, .vip-product-card .vip-product-orb { height:190px; border-radius:17px; }
.product-card-top { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-bottom:10px; }
.product-card-top .badge { margin:0; }
.stock-dot { color:#86edbf; font-size:10px; font-weight:800; white-space:nowrap; }
.product-tagline { min-height:34px; margin:0 0 10px; color:#91afbe; font-size:11px; line-height:1.5; }
.product-meta { display:flex; flex-wrap:wrap; gap:6px 12px; color:#8eb4c5; font-size:10px; }
.product-meta span { white-space:nowrap; }
.vip-product-card .price { font-size:26px; color:#a0edff; }
.vip-product-card > .btn { min-height:50px; }
.product-trust { display:flex; flex-wrap:wrap; gap:7px; margin:2px 0 20px; }
.product-trust span { padding:8px 10px; border:1px solid rgba(124,230,189,.17); border-radius:10px; color:#a8e8d1; background:rgba(124,230,189,.06); font-size:10px; font-weight:750; }
.product-detail-card, .order-screen-card { max-width:820px; }

@media (max-width:980px) {
  .vip-product-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:720px) {
  .admin-body .logo { text-align:center; padding-top:22px; }
  .admin-body .logo::after { position:static; display:block; margin-top:8px; }
  .admin-body .admin-nav, .admin-body .nav { position:static; }
  .admin-body .card { padding:17px; }
  .store-hero { padding-top:28px !important; }
  .store-hero h1 { font-size:clamp(34px,10vw,52px) !important; }
  .store-overview { align-items:flex-start; flex-direction:column; margin-top:22px; padding:18px; }
  .store-overview-stat { width:100%; border-left:0; border-top:1px solid rgba(70,215,255,.20); padding:12px 0 0; text-align:left; }
  .vip-product-grid { grid-template-columns:1fr; gap:13px; }
  .vip-product-card > img, .vip-product-card .vip-product-orb { height:180px; }
}
@media (max-width:430px) {
  .admin-body .logo h1 { font-size:28px; }
  .admin-body .card { padding:15px; border-radius:17px; }
  .admin-body .card h2 { font-size:16px; }
  .admin-body .product { padding:15px; }
  .admin-body .actions .btn, .admin-body .actions a { width:100%; }
  .product-card-top { align-items:flex-start; flex-direction:column; }
  .product-tagline { min-height:0; }
  .product-trust { display:grid; grid-template-columns:1fr; }
}


/* Correção de renderização: texto sólido evita retângulo de gradiente em Chromium/WebView. */
.hero h1,
.admin-body .logo h1 {
  color: #effbff !important;
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  -webkit-text-fill-color: #effbff !important;
  animation: none !important;
  text-shadow: 0 0 28px rgba(70,215,255,.18);
}
.vip-screen .hero h1 { color:#effbff !important; }
@media (max-width:430px) {
  .vip-perks { justify-content:center; overflow:visible; flex-wrap:wrap; }
  .vip-perks span { white-space:normal; }
}

.admin-login-card { width:100%; max-width:520px; margin:18px auto 0; padding:26px !important; }
.admin-login-card .login-heading { margin-bottom:20px; }
.admin-login-card .login-heading h2 { margin:6px 0 5px; }
.admin-login-card .login-heading h2::before { display:none; }
.admin-login-card .login-heading p { font-size:12px; }
.admin-login-card label { display:block; margin:12px 0 6px; color:#a9c7d5; font-size:12px; font-weight:750; }
.admin-login-card input { display:block; width:100%; margin:0 0 4px; }
.admin-login-card .btn { width:100%; margin-top:14px; }
@media (max-width:430px) { .admin-login-card { margin-top:14px; padding:19px !important; } }

.admin-login-page {
  display:block !important;
  min-height:100dvh;
  padding:clamp(24px,6vh,72px) 18px calc(32px + env(safe-area-inset-bottom,0px)) !important;
}
.admin-login-page > .wrap {
  display:block;
  width:100%;
  max-width:520px;
  margin:0 auto !important;
}
.admin-login-page .logo { margin-bottom:20px; }
.admin-login-page .admin-login-card { display:block; visibility:visible; opacity:1; }
@media (max-width:430px) { .admin-login-page { padding-top:24px !important; } }

.admin-login-page .admin-login-card {
  animation:none !important;
  opacity:1 !important;
  transform:none !important;
}


/* SCROLL PATCH — rolagem natural e inércia em Android/iOS */
html {
  overflow-x:hidden;
  overflow-y:auto;
  overscroll-behavior-y:auto;
  -webkit-overflow-scrolling:touch;
}
body {
  overflow-x:hidden;
  overflow-y:auto;
  overscroll-behavior-y:auto;
  touch-action:pan-y;
  -webkit-overflow-scrolling:touch;
}
body.m-nav-open {
  overflow:hidden !important;
  touch-action:none;
}
.m-drawer {
  touch-action:pan-y;
  overscroll-behavior-y:contain;
  -webkit-overflow-scrolling:touch;
}
.dialog {
  touch-action:pan-y;
  overscroll-behavior-y:contain;
  -webkit-overflow-scrolling:touch;
}
@media (max-width:720px) {
  body:not(.m-nav-open) { position:relative; }
  .screen, body.vip-screen > .wrap, body.vip-screen main.wrap,
  .admin-body > .wrap { overscroll-behavior-y:auto; }
}

/* Microinterações e animações leves */
@keyframes welcome-arrive {
  from { opacity: 0; transform: translateY(18px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes welcome-star-float {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-5px) rotate(9deg); }
}
@keyframes credit-glow {
  0%, 100% { box-shadow: 0 14px 36px rgba(0,0,0,.18), inset 0 1px rgba(255,255,255,.025); }
  50% { box-shadow: 0 18px 42px rgba(58,190,225,.10), inset 0 1px rgba(255,255,255,.045); }
}
.home-welcome { animation: welcome-arrive .65s cubic-bezier(.2,.75,.25,1) both; }
.home-welcome::after { animation: welcome-star-float 3.4s ease-in-out infinite; }
.welcome-primary, .welcome-secondary, .credit-plan, .feedback-card, .vip-product-card, .pix-box, .credit-shop {
  transition: transform .24s cubic-bezier(.2,.8,.2,1), border-color .24s ease, box-shadow .24s ease, filter .24s ease;
}
.credit-shop { animation: credit-glow 6s ease-in-out 1s infinite; }
.credit-plan { animation: welcome-arrive .48s cubic-bezier(.2,.75,.25,1) both; }
.credit-plan:nth-child(2) { animation-delay: 65ms; }
.credit-plan:nth-child(3) { animation-delay: 120ms; }
.credit-plan:nth-child(4) { animation-delay: 175ms; }
.pix-box { animation: welcome-arrive .42s ease both; }
.pix-qr img { transition: transform .28s cubic-bezier(.2,.8,.2,1), filter .28s ease; }
.welcome-primary:focus-visible, .welcome-secondary:focus-visible { outline: 2px solid #d4c4ff; outline-offset: 3px; }
@media (hover:hover) and (pointer:fine) {
  .welcome-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(104,74,219,.35); }
  .welcome-secondary:hover { transform: translateY(-2px); border-color: rgba(180,154,255,.4); }
  .credit-plan:hover, .feedback-card:hover { transform: translateY(-3px); border-color: rgba(180,154,255,.28); box-shadow: 0 14px 30px rgba(0,0,0,.2); }
  .vip-product-card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(0,0,0,.26); }
  .pix-box:hover { border-color: rgba(92,224,240,.28); }
  .pix-qr img:hover { transform: scale(1.025); filter: drop-shadow(0 8px 18px rgba(0,0,0,.28)); }
}
.welcome-primary:active, .welcome-secondary:active { transform: scale(.98); }
@media (prefers-reduced-motion: reduce) {
  .home-welcome, .home-welcome::after, .credit-shop, .credit-plan, .pix-box { animation: none !important; }
  .welcome-primary, .welcome-secondary, .credit-plan, .feedback-card, .vip-product-card, .pix-box, .pix-qr img { transition: none !important; }
}
