/* ═══════════════════════════════════════════════════════════════
   LOIRA DIMAS — App Android (Capacitor)
   Tema escuro premium · vermelho da marca · vidro e brilho
   ═══════════════════════════════════════════════════════════════ */
:root {
  --bg: #060608;
  --bg-2: #0b0b10;
  --card: #111117;
  --card-2: #17171f;
  --card-3: #1e1e28;
  --line: rgba(255, 255, 255, 0.07);
  --line-2: rgba(255, 255, 255, 0.12);
  --red: #ff2d44;
  --red-2: #ff5a6b;
  --red-deep: #b3101f;
  --red-soft: rgba(255, 45, 68, 0.13);
  --gold: #ffc94d;
  --green: #2fe38a;
  --green-soft: rgba(47, 227, 138, 0.12);
  --whats: #25d366;
  --text: #f6f6f9;
  --muted: #9b9bad;
  --muted-2: #636378;
  --radius: 22px;
  --radius-sm: 16px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --topbar-h: 62px;
  --tabbar-h: 70px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior: none;
  -webkit-user-select: none;
  user-select: none;
  overflow: hidden;
}
input, textarea { -webkit-user-select: text; user-select: text; font-family: inherit; }
button { font-family: inherit; border: none; background: none; color: inherit; cursor: pointer; text-align: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.hidden { display: none !important; }
.center { text-align: center; }
.muted { color: var(--muted); font-size: 0.9rem; line-height: 1.55; }
.muted.small { font-size: 0.78rem; }

/* ─────────────── SPLASH ─────────────── */
.splash {
  position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 9999; background: #000;
  transition: opacity 0.55s ease, visibility 0.55s;
  overflow: hidden;
}
.splash.fade-out { opacity: 0; visibility: hidden; pointer-events: none; }
.splash-art {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; object-fit: cover;
  animation: splashZoom 2.4s var(--ease) both;
}
@keyframes splashZoom { from { transform: scale(1.12); filter: brightness(0.4); } to { transform: scale(1); filter: brightness(1); } }
.splash-shade {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 55%, rgba(0,0,0,0.85) 88%, #000);
}
.splash-foot {
  position: absolute; left: 0; right: 0; bottom: calc(48px + var(--safe-b));
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.splash-sub {
  font-size: 0.72rem; font-weight: 800; letter-spacing: 3px; text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}
.splash-loader { width: 140px; height: 3px; background: rgba(255,255,255,0.12); border-radius: 99px; overflow: hidden; }
.splash-loader span {
  display: block; height: 100%; width: 40%; border-radius: 99px;
  background: linear-gradient(90deg, var(--red), #fff);
  animation: loadbar 1s ease-in-out infinite;
}
@keyframes loadbar { from { transform: translateX(-100%); } to { transform: translateX(260%); } }

/* ─────────────── SHELL ─────────────── */
.app {
  position: fixed; top: 0; right: 0; bottom: 0; left: 0;
  display: flex; flex-direction: column;
  max-width: 520px; margin: 0 auto;
  padding-top: var(--safe-t);
  background:
    radial-gradient(120% 50% at 50% -8%, rgba(255, 45, 68, 0.16), transparent 60%),
    var(--bg);
}

.offline-bar {
  position: absolute; left: 12px; right: 12px; top: calc(var(--safe-t) + 8px); z-index: 60;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: #3a1d06; color: #ffcf8a; border: 1px solid rgba(255, 170, 60, 0.35);
  border-radius: 14px; padding: 10px 12px; font-size: 0.8rem; font-weight: 700;
  transform: translateY(-140%); opacity: 0; transition: transform 0.35s var(--ease), opacity 0.35s;
  pointer-events: none;
}
.offline-bar.show { transform: none; opacity: 1; }

/* ─────────────── TOPO ─────────────── */
.topbar {
  height: var(--topbar-h); flex-shrink: 0;
  display: flex; align-items: center; gap: 10px;
  padding: 0 14px;
  position: relative; z-index: 50;
  background: rgba(6, 6, 8, 0.72);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.topbar-brand { display: flex; align-items: center; gap: 11px; flex: 1; min-width: 0; }
.avatar-ring {
  position: relative; width: 42px; height: 42px; border-radius: 50%; padding: 2px; flex-shrink: 0;
  background: conic-gradient(from 0deg, var(--red), #ffd0d6, var(--red-deep), var(--red));
  animation: spin 6s linear infinite;
}
.avatar-ring img {
  width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: #000;
  border: 2px solid var(--bg); animation: spin 6s linear infinite reverse;
}
.avatar-ring::after {
  content: ""; position: absolute; right: 0; bottom: 1px; width: 11px; height: 11px; border-radius: 50%;
  background: var(--green); border: 2px solid var(--bg); box-shadow: 0 0 8px var(--green);
  animation: spin 6s linear infinite reverse;
}
.brand-txt { min-width: 0; }
.brand-txt strong {
  display: flex; align-items: center; gap: 4px;
  font-size: 0.98rem; font-weight: 800; letter-spacing: 0.2px; white-space: nowrap;
}
.verified { width: 15px; height: 15px; }
.online-dot {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 2px;
  font-size: 0.68rem; color: var(--green); font-weight: 700; letter-spacing: 0.3px;
}
.online-dot > i {
  width: 6px; height: 6px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 0 0 rgba(47, 227, 138, 0.6); animation: pulse 1.8s infinite;
}
.topbar-title { flex: 1; text-align: center; font-weight: 800; font-size: 1.02rem; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 14px; flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--card); border: 1px solid var(--line);
  color: var(--text); font-size: 1.05rem;
  transition: transform 0.15s, background 0.15s;
}
.icon-btn:active { transform: scale(0.92); background: var(--card-3); }
.icon-btn.whats { color: var(--whats); font-size: 1.25rem; background: rgba(37, 211, 102, 0.08); border-color: rgba(37, 211, 102, 0.25); }

/* ─────────────── TELAS ─────────────── */
.main {
  flex: 1; min-height: 0;
  overflow-y: auto; overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  padding: 16px 16px 28px;
}
.main::-webkit-scrollbar { width: 0; }
.screen { display: none; }
.screen.active { display: block; animation: screenIn 0.35s var(--ease); }
@keyframes screenIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.page-head { margin: 4px 2px 18px; }
.page-head h1 { font-size: 1.65rem; font-weight: 800; letter-spacing: -0.3px; }
.page-head p { color: var(--muted); font-size: 0.88rem; margin-top: 4px; line-height: 1.5; }

.section-head {
  display: flex; align-items: center; justify-content: space-between;
  margin: 26px 2px 12px;
}
.section-head h2 { font-size: 1.02rem; font-weight: 800; letter-spacing: 0.1px; }
.link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--red-2); font-size: 0.8rem; font-weight: 700;
}
.link i { font-size: 0.65rem; }

/* ─────────────── AVISO DE VERSÃO NOVA ─────────────── */
.update-banner {
  display: flex; align-items: center; gap: 12px; width: 100%;
  margin-bottom: 14px; padding: 12px 12px 12px 14px; border-radius: 18px;
  background: linear-gradient(120deg, rgba(255, 201, 77, 0.16), rgba(255, 45, 68, 0.12));
  border: 1px solid rgba(255, 201, 77, 0.45);
  box-shadow: 0 10px 30px rgba(255, 201, 77, 0.12);
  animation: screenIn 0.4s var(--ease);
}
.update-banner:active { transform: scale(0.98); }
.ub-ico {
  width: 40px; height: 40px; border-radius: 13px; flex-shrink: 0;
  display: grid; place-items: center; color: #1a1200; font-size: 1rem;
  background: linear-gradient(140deg, #ffe08a, var(--gold));
}
.ub-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; text-align: left; }
.ub-txt strong { font-size: 0.9rem; font-weight: 800; }
.ub-txt span { font-size: 0.72rem; color: #e6d6b0; }
.ub-cta {
  flex-shrink: 0; font-size: 0.74rem; font-weight: 800; color: #1a1200;
  background: var(--gold); border-radius: 99px; padding: 8px 12px;
}

/* ─────────────── HERO ─────────────── */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: 26px; min-height: 340px;
  border: 1px solid rgba(255, 45, 68, 0.35);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255,255,255,0.03) inset, 0 0 60px rgba(255, 45, 68, 0.12);
}
.hero-art {
  position: absolute; top: -6%; right: -6%; bottom: -6%; left: -6%; z-index: -2;
  background-size: cover; background-position: 50% 30%;
  animation: heroFloat 14s ease-in-out infinite alternate;
}
@keyframes heroFloat { from { transform: scale(1.05) translateY(0); } to { transform: scale(1.12) translateY(-3%); } }
.hero-shade {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(6,6,8,0.15) 0%, rgba(6,6,8,0.55) 38%, rgba(6,6,8,0.94) 68%, #060608 100%);
}
.hero-body { position: relative; padding: 150px 18px 18px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255, 45, 68, 0.2); color: #ffd3d8;
  border: 1px solid rgba(255, 45, 68, 0.45);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-size: 0.66rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px;
  padding: 6px 11px; border-radius: 99px; margin-bottom: 10px;
}
.hero-title { font-size: 1.9rem; font-weight: 800; line-height: 1.05; letter-spacing: -0.5px; text-shadow: 0 4px 20px rgba(0,0,0,0.6); }
.hero-title span {
  background: linear-gradient(90deg, #ff2d44, #ff8a96, #ff2d44); background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmerText 4s linear infinite;
}
@keyframes shimmerText { to { background-position: 200% center; } }
.hero-desc { color: #c9c9d6; font-size: 0.86rem; line-height: 1.5; margin: 8px 0 14px; max-width: 320px; }
.hero-price { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.hero-price strong { font-size: 2rem; font-weight: 800; letter-spacing: -0.8px; }
.hero-price .old { color: var(--muted); text-decoration: line-through; font-weight: 600; font-size: 0.95rem; }
.hero-price .save {
  background: var(--green-soft); color: var(--green); border: 1px solid rgba(47,227,138,0.3);
  font-size: 0.72rem; font-weight: 800; padding: 4px 9px; border-radius: 99px;
}
.hero-pause {
  margin-top: 12px; display: flex; align-items: center; gap: 8px;
  font-size: 0.8rem; font-weight: 700; color: #ffcf8a;
  background: rgba(255, 170, 60, 0.1); border: 1px solid rgba(255, 170, 60, 0.3);
  border-radius: 12px; padding: 10px 12px;
}

/* ─────────────── NÚMEROS ─────────────── */
.stats {
  display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px;
  margin-top: 14px;
}
.stat {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--line); border-radius: 16px; padding: 12px 4px;
}
.stat strong { font-size: 0.98rem; font-weight: 800; white-space: nowrap; }
.stat strong i { color: var(--gold); font-size: 0.8rem; }
.stat strong .fa-pix { color: #32bcad; }
.stat > span { font-size: 0.64rem; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px; }

/* ─────────────── VENDIDO AGORA ─────────────── */
.live {
  display: flex; align-items: center; gap: 10px; margin-top: 12px;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 9px 0 9px 10px; overflow: hidden;
}
.live-tag {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.62rem; font-weight: 800; letter-spacing: 0.8px; text-transform: uppercase;
  color: #fff; background: var(--red); border-radius: 8px; padding: 5px 8px;
  box-shadow: 0 0 16px rgba(255, 45, 68, 0.45);
}
.live-tag i { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: blink 1s infinite; }
@keyframes blink { 50% { opacity: 0.2; } }
.live-mask {
  flex: 1; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.live-track { display: flex; width: max-content; animation: ticker 30s linear infinite; }
.live-item {
  display: inline-flex; align-items: center; gap: 7px; padding: 0 16px;
  font-size: 0.76rem; font-weight: 600; color: #d6d6e0; white-space: nowrap;
}
.live-item i { color: var(--red-2); font-size: 0.75rem; }
.live-item b { color: var(--muted); font-weight: 700; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ─────────────── GRADE DE CATEGORIAS ─────────────── */
.cat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cat-card {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; align-items: flex-start; gap: 3px;
  min-height: 132px; padding: 14px;
  border-radius: 20px;
  background: linear-gradient(160deg, var(--card-2), var(--card));
  border: 1px solid var(--line);
  transition: transform 0.18s var(--ease), border-color 0.2s;
  animation: cardIn 0.5s var(--ease) both;
}
.cat-card:nth-child(2) { animation-delay: 0.04s; } .cat-card:nth-child(3) { animation-delay: 0.08s; }
.cat-card:nth-child(4) { animation-delay: 0.12s; } .cat-card:nth-child(5) { animation-delay: 0.16s; }
.cat-card:nth-child(6) { animation-delay: 0.2s; }  .cat-card:nth-child(7) { animation-delay: 0.24s; }
.cat-card:nth-child(8) { animation-delay: 0.28s; }
@keyframes cardIn { from { opacity: 0; transform: translateY(12px) scale(0.98); } to { opacity: 1; transform: none; } }
.cat-card:active { transform: scale(0.96); border-color: var(--c-a, rgba(255, 45, 68, 0.4)); }
.cat-glow {
  position: absolute; z-index: -1; top: -40px; right: -40px; width: 130px; height: 130px; border-radius: 50%;
  background: radial-gradient(circle, var(--c-a, rgba(255, 45, 68, 0.4)), transparent 70%);
  opacity: 0.75;
}
.cat-ico {
  width: 46px; height: 46px; border-radius: 15px; margin-bottom: 10px;
  display: grid; place-items: center; font-size: 1.15rem; color: #fff;
  background: linear-gradient(140deg, var(--c), var(--c-d, #8a0f1c));
  box-shadow: 0 8px 22px var(--c-a, rgba(255, 45, 68, 0.4)), inset 0 1px 0 rgba(255,255,255,0.25);
}
.cat-name { font-size: 0.94rem; font-weight: 800; }
.cat-desc { font-size: 0.74rem; color: var(--muted); line-height: 1.35; padding-right: 16px; }
.cat-go {
  position: absolute; right: 13px; bottom: 14px; font-size: 0.72rem;
  color: var(--c-l); opacity: 0.85;
}
.cat-pause {
  position: absolute; top: 12px; right: 12px;
  font-size: 0.58rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px;
  color: #ffcf8a; background: rgba(255, 170, 60, 0.14); border: 1px solid rgba(255, 170, 60, 0.35);
  padding: 4px 7px; border-radius: 99px;
}

/* ─────────────── LOJA (lista) ─────────────── */
.store-list { display: flex; flex-direction: column; gap: 10px; }
.store-row {
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 14px; width: 100%;
  padding: 14px; border-radius: 20px;
  background: linear-gradient(120deg, var(--c-b), rgba(17, 17, 23, 0) 60%), var(--card);
  border: 1px solid var(--line);
  transition: transform 0.18s var(--ease);
  animation: cardIn 0.45s var(--ease) both;
}
.store-row:active { transform: scale(0.975); }
.store-ico {
  width: 54px; height: 54px; border-radius: 17px; flex-shrink: 0;
  display: grid; place-items: center; font-size: 1.3rem; color: #fff;
  background: linear-gradient(140deg, var(--c), var(--c-d, #8a0f1c));
  box-shadow: 0 10px 26px var(--c-a, rgba(255, 45, 68, 0.4)), inset 0 1px 0 rgba(255,255,255,0.25);
}
.store-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.store-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.store-top strong { font-size: 0.98rem; font-weight: 800; }
.store-desc { font-size: 0.78rem; color: var(--muted); line-height: 1.4; }
.store-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 2px; }
.tag {
  font-size: 0.62rem; font-weight: 700; color: var(--c-l);
  background: var(--c-b);
  border: 1px solid var(--c-a, rgba(255, 45, 68, 0.4));
  padding: 3px 7px; border-radius: 99px;
}
.st { flex-shrink: 0; display: inline-flex; align-items: center; gap: 5px; font-size: 0.6rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.4px; }
.st-on { color: var(--green); }
.st-on i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 6px var(--green); }
.st-pause { color: #ffcf8a; }
.store-go { color: var(--muted-2); font-size: 0.8rem; }

/* ─────────────── BOTÕES ─────────────── */
.btn-primary {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; min-height: 54px;
  background: linear-gradient(135deg, #ff3b52 0%, #d0102a 100%);
  color: #fff; font-weight: 800; font-size: 1rem; letter-spacing: 0.2px;
  border-radius: 17px;
  box-shadow: 0 10px 28px rgba(255, 45, 68, 0.38), inset 0 1px 0 rgba(255,255,255,0.22);
  transition: transform 0.15s, filter 0.15s, opacity 0.15s;
}
.btn-primary:active { transform: scale(0.975); filter: brightness(1.1); }
.btn-primary:disabled { opacity: 0.4; pointer-events: none; box-shadow: none; }
.btn-primary.danger { background: linear-gradient(135deg, #ff5a5a, #8b1010); }
.btn-primary.shine::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg); animation: shine 3.2s ease-in-out infinite;
}
@keyframes shine { 0%, 55% { left: -60%; } 100% { left: 130%; } }
.btn-xl { min-height: 56px; font-size: 1.02rem; border-radius: 18px; }
.btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; min-height: 50px; margin-top: 10px;
  border: 1px solid var(--line-2); border-radius: 16px; background: var(--card-2);
  color: var(--text); font-weight: 700; font-size: 0.92rem;
  transition: transform 0.15s, background 0.15s;
}
.btn-outline:active { transform: scale(0.98); background: var(--card-3); }
.btn-outline:disabled { opacity: 0.6; }
.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; min-height: 46px; margin-top: 6px;
  color: var(--muted); font-weight: 700; font-size: 0.9rem; border-radius: 14px;
}
.btn-ghost:active { background: rgba(255,255,255,0.04); color: var(--text); }
.btn-ghost.danger { color: var(--red-2); }
.btn-whats {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; min-height: 54px; border-radius: 17px;
  background: linear-gradient(135deg, #2fe07a, #14a34f); color: #fff; font-weight: 800; font-size: 1rem;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.35);
}

/* ─────────────── AVALIAÇÕES ─────────────── */
.rv-strip {
  display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory;
  margin: 0 -16px; padding: 2px 16px 6px; scroll-padding: 0 16px;
}
.rv-strip::after { content: ""; flex: 0 0 6px; }
.rv-strip::-webkit-scrollbar { display: none; }
.rv-card {
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--line); border-radius: 18px; padding: 14px;
}
.rv-compact { flex: 0 0 78%; max-width: 300px; scroll-snap-align: start; }
.rv-head { display: flex; align-items: center; gap: 10px; }
.rv-av {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; font-weight: 800; font-size: 0.9rem; color: #fff;
  background: linear-gradient(140deg, var(--av), var(--av2));
}
.rv-who { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.rv-who strong { font-size: 0.86rem; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rv-stars { color: var(--gold); font-size: 0.68rem; display: inline-flex; gap: 2px; }
.rv-time { font-size: 0.68rem; color: var(--muted-2); font-weight: 600; flex-shrink: 0; }
.rv-text { margin-top: 10px; font-size: 0.84rem; line-height: 1.5; color: #d9d9e3; }
.rv-compact .rv-text { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.rv-prod {
  display: inline-block; margin-top: 10px;
  font-size: 0.62rem; font-weight: 800; letter-spacing: 0.4px; text-transform: uppercase;
  color: var(--red-2); background: var(--red-soft); border-radius: 99px; padding: 4px 8px;
}
.rv-summary {
  display: flex; gap: 18px; align-items: center;
  background: linear-gradient(140deg, rgba(255, 45, 68, 0.1), var(--card) 55%);
  border: 1px solid rgba(255, 45, 68, 0.22); border-radius: 22px; padding: 18px;
}
.rv-score { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 96px; }
.rv-score strong { font-size: 2.6rem; font-weight: 800; line-height: 1; letter-spacing: -1px; }
.rv-score .rv-stars { font-size: 0.8rem; }
.rv-score small { font-size: 0.64rem; color: var(--muted); text-align: center; line-height: 1.3; }
.rv-bars { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.rv-bar { display: flex; align-items: center; gap: 6px; font-size: 0.72rem; color: var(--muted); font-weight: 700; }
.rv-bar > i { color: var(--gold); font-size: 0.6rem; }
.rv-bar em { font-style: normal; min-width: 30px; text-align: right; }
.rv-bar-track { flex: 1; height: 6px; background: rgba(255,255,255,0.06); border-radius: 99px; overflow: hidden; }
.rv-bar-fill { height: 100%; background: linear-gradient(90deg, var(--gold), #ff9f43); border-radius: 99px; transition: width 0.8s var(--ease); }
.chips { display: flex; gap: 8px; overflow-x: auto; margin: 16px -16px 12px; padding: 0 16px; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex-shrink: 0; padding: 8px 14px; border-radius: 99px;
  font-size: 0.78rem; font-weight: 700; color: var(--muted);
  background: var(--card); border: 1px solid var(--line);
  transition: all 0.2s;
}
.chip.active { color: #fff; background: var(--red); border-color: var(--red); box-shadow: 0 6px 18px rgba(255,45,68,0.35); }
.rv-list { display: flex; flex-direction: column; gap: 10px; }
.empty { text-align: center; color: var(--muted); font-size: 0.86rem; padding: 30px 0; }
.skeleton-list { display: flex; flex-direction: column; gap: 10px; }
.skeleton-list div { height: 104px; border-radius: 18px; }
.skeleton-list div, .sk {
  background: linear-gradient(90deg, var(--card) 0%, var(--card-3) 50%, var(--card) 100%);
  background-size: 200% 100%; animation: skel 1.3s linear infinite;
}
@keyframes skel { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* ─────────────── SUPORTE / CONFIANÇA ─────────────── */
.support-card {
  display: flex; align-items: center; gap: 14px; width: 100%;
  margin-top: 22px; padding: 15px;
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.15), rgba(37, 211, 102, 0.03));
  border: 1px solid rgba(37, 211, 102, 0.38); border-radius: 20px;
  transition: transform 0.15s;
}
.support-card:active { transform: scale(0.98); }
.support-card.big { margin-top: 0; padding: 18px; }
.support-icon {
  width: 48px; height: 48px; border-radius: 15px; flex-shrink: 0;
  background: var(--whats); color: #fff; display: grid; place-items: center; font-size: 1.45rem;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
}
.support-txt { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.support-txt strong { font-size: 0.95rem; }
.support-txt span { color: var(--muted); font-size: 0.78rem; }
.support-card > .fa-solid { color: var(--muted-2); }

.trust-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.trust-item {
  display: flex; flex-direction: column; align-items: center; gap: 7px; text-align: center;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 13px 6px;
  font-size: 0.66rem; font-weight: 700; color: var(--muted); line-height: 1.3;
}
.trust-item i { color: var(--red-2); font-size: 1.05rem; }

.info-box {
  display: flex; align-items: flex-start; gap: 10px;
  background: rgba(255,255,255,0.03); border: 1px solid var(--line);
  border-radius: 14px; padding: 12px; margin: 14px 0;
  font-size: 0.8rem; color: var(--muted); line-height: 1.5; text-align: left;
}
.info-box i { color: var(--gold); margin-top: 2px; }
.info-box b { color: var(--text); }
.info-box.success { background: var(--green-soft); border-color: rgba(47,227,138,0.25); }
.info-box.success i { color: var(--green); }
.info-box.warn { background: rgba(255, 170, 60, 0.08); border-color: rgba(255, 170, 60, 0.3); }
.info-box.warn i { color: #ffb347; }

/* ─────────────── COMPRA DO PASSE ─────────────── */
.progress-track { display: flex; align-items: center; justify-content: center; margin: 2px 0 16px; }
.progress-step { display: flex; flex-direction: column; align-items: center; gap: 5px; min-width: 52px; }
.progress-step span {
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  font-size: 0.8rem; font-weight: 800;
  background: var(--card); border: 1.5px solid var(--line-2); color: var(--muted-2);
  transition: all 0.3s var(--ease);
}
.progress-step label { font-size: 0.62rem; font-weight: 800; color: var(--muted-2); text-transform: uppercase; letter-spacing: 0.6px; }
.progress-step.active span { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 0 18px rgba(255,45,68,0.55); transform: scale(1.08); }
.progress-step.active label { color: var(--red-2); }
.progress-step.done span { background: var(--green); border-color: var(--green); color: #04150b; }
.progress-step.done label { color: var(--green); }
.progress-line { flex: 1; max-width: 56px; height: 2px; margin: 0 4px 18px; background: var(--line-2); border-radius: 2px; transition: background 0.3s; }
.progress-line.done { background: var(--green); }

.buy-step { display: none; }
.buy-step.active { display: block; animation: screenIn 0.32s var(--ease); }
#screen-buy { position: relative; min-height: 60vh; }

.panel {
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--line); border-radius: 24px; padding: 22px 18px;
  box-shadow: var(--shadow);
}
.panel-icon {
  width: 58px; height: 58px; border-radius: 18px; margin: 0 auto 14px;
  display: grid; place-items: center; font-size: 1.45rem; color: #fff;
  background: linear-gradient(140deg, var(--red), var(--red-deep));
  box-shadow: 0 10px 26px rgba(255,45,68,0.4);
}
.panel h3 { text-align: center; font-size: 1.22rem; font-weight: 800; margin-bottom: 6px; }
.panel > .muted { text-align: center; margin-bottom: 18px; }

.field-label {
  display: block; font-size: 0.7rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 1px; color: var(--muted); margin-bottom: 8px; text-align: left;
}
.input-wrap {
  display: flex; align-items: center; gap: 10px;
  background: rgba(0,0,0,0.45); border: 1.5px solid var(--line-2);
  border-radius: 16px; padding: 0 14px; min-height: 58px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.input-wrap:focus-within { border-color: var(--red); box-shadow: 0 0 0 4px rgba(255,45,68,0.14); }
.input-wrap i { color: var(--muted-2); }
.input-wrap input {
  flex: 1; min-width: 0; height: 56px;
  background: transparent; border: none; outline: none;
  color: #fff; font-size: 1.2rem; font-weight: 800; letter-spacing: 1.2px;
}
.input-wrap input::placeholder { color: var(--muted-2); font-weight: 500; letter-spacing: 0; font-size: 0.95rem; }
.field-hint { font-size: 0.72rem; color: var(--muted-2); margin: 8px 2px 18px; }

.multi-link {
  display: flex; align-items: center; gap: 12px; width: 100%;
  margin-top: 12px; padding: 14px; border-radius: 18px;
  background: var(--card); border: 1px dashed var(--line-2);
  font-size: 0.8rem; color: var(--muted); line-height: 1.4;
}
.multi-link > i:first-child { color: var(--red-2); font-size: 1.05rem; }
.multi-link strong { color: var(--text); display: block; font-size: 0.86rem; }
.multi-link span { flex: 1; }
.multi-link > i:last-child { color: var(--muted-2); font-size: 0.75rem; }

.player-ok { text-align: center; color: var(--green); font-weight: 800; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; }
.player-card {
  display: flex; align-items: center; gap: 14px;
  background: rgba(0,0,0,0.35); border: 1px solid rgba(47,227,138,0.28);
  border-radius: 18px; padding: 14px;
}
.player-avatar {
  width: 54px; height: 54px; border-radius: 16px; flex-shrink: 0;
  display: grid; place-items: center; font-size: 1.3rem; color: var(--green);
  background: linear-gradient(140deg, #13261c, #0b1510); border: 1px solid rgba(47,227,138,0.3);
}
.player-info { min-width: 0; }
.player-nick { display: block; font-size: 1.15rem; font-weight: 800; margin-bottom: 4px; word-break: break-word; }
.player-meta { font-size: 0.8rem; color: var(--muted); }
.player-meta b { color: var(--text); }

.pix-panel { text-align: center; }
.pix-status {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green-soft); color: var(--green); border: 1px solid rgba(47,227,138,0.3);
  font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px;
  padding: 8px 14px; border-radius: 99px; margin-bottom: 12px;
}
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: pulse 1.6s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(47,227,138,0.55); }
  70% { box-shadow: 0 0 0 10px rgba(47,227,138,0); }
  100% { box-shadow: 0 0 0 0 rgba(47,227,138,0); }
}
.pix-amount { font-size: 2.3rem; font-weight: 800; letter-spacing: -1px; color: #fff; text-shadow: 0 0 26px rgba(47,227,138,0.35); }
.pix-nick { font-size: 0.8rem; color: var(--muted); font-weight: 600; margin: 2px 0 12px; }
.pix-discount {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px;
  font-size: 0.76rem; font-weight: 700; color: var(--green);
  background: var(--green-soft); border-radius: 12px; padding: 8px 12px;
}
.qr-frame {
  width: 214px; height: 214px; margin: 0 auto 12px;
  background: #fff; border-radius: 22px; padding: 12px;
  display: grid; place-items: center;
  box-shadow: 0 0 0 6px rgba(255,255,255,0.05), 0 12px 36px rgba(0,0,0,0.5);
}
.qr-frame img { width: 100%; height: 100%; object-fit: contain; }
.qr-loading { color: #333; font-size: 1.5rem; }
.qr-loading.small { font-size: 0.85rem; text-align: center; line-height: 1.4; font-weight: 700; }
.pix-code {
  display: flex; align-items: center; gap: 10px; margin: 12px 0;
  background: rgba(0,0,0,0.45); border: 1px dashed var(--line-2); border-radius: 14px;
  padding: 10px 12px; text-align: left;
}
.pix-code span {
  flex: 1; min-width: 0; font-family: ui-monospace, "Roboto Mono", monospace; font-size: 0.68rem;
  color: var(--muted); word-break: break-all; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  -webkit-user-select: text; user-select: text;
}
.pix-code i { color: var(--red-2); }
#btnCopyPix.copied { background: linear-gradient(135deg, #2fe07a, #14a34f); box-shadow: 0 10px 26px rgba(37,211,102,0.35); }
.pix-timer { margin-top: 16px; text-align: left; }
.pix-timer-top { display: flex; justify-content: space-between; font-size: 0.8rem; color: var(--muted); font-weight: 600; margin-bottom: 6px; }
.pix-timer-top b { color: var(--gold); font-variant-numeric: tabular-nums; }
.pix-timer-track { height: 5px; background: rgba(255,255,255,0.06); border-radius: 99px; overflow: hidden; }
.pix-timer-bar { height: 100%; width: 100%; background: linear-gradient(90deg, var(--gold), var(--red)); border-radius: 99px; transition: width 1s linear; }
.polling-msg { margin-top: 12px; font-size: 0.78rem; color: var(--muted-2); display: flex; align-items: center; justify-content: center; gap: 8px; }

.success-panel { text-align: center; position: relative; overflow: hidden; }
.success-ring {
  width: 92px; height: 92px; border-radius: 50%; margin: 6px auto 16px;
  display: grid; place-items: center; font-size: 2.3rem; color: #04150b;
  background: radial-gradient(circle at 30% 30%, #7dffbe, var(--green));
  box-shadow: 0 0 0 10px rgba(47,227,138,0.1), 0 0 50px rgba(47,227,138,0.45);
  animation: popIn 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes popIn { from { transform: scale(0.3); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.success-burst span {
  position: absolute; left: 50%; top: 58px; width: 92px; height: 92px; margin-left: -46px;
  border-radius: 50%; border: 2px solid var(--green); opacity: 0;
  animation: burst 1.6s var(--ease) infinite;
}
.success-burst span:nth-child(2) { animation-delay: 0.4s; }
.success-burst span:nth-child(3) { animation-delay: 0.8s; }
@keyframes burst { 0% { transform: scale(1); opacity: 0.6; } 100% { transform: scale(2.4); opacity: 0; } }
.success-id {
  display: inline-block; margin: 10px 0 4px;
  background: rgba(0,0,0,0.4); border: 1px solid rgba(47,227,138,0.3);
  padding: 10px 18px; border-radius: 14px; font-weight: 800; font-size: 0.95rem;
}

.inline-loader {
  position: absolute; top: -16px; right: -16px; bottom: -16px; left: -16px; z-index: 40;
  background: rgba(6,6,8,0.78); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  display: grid; place-items: center; padding: 24px;
}
.loader-card {
  background: var(--card-2); border: 1px solid var(--line); border-radius: 22px;
  padding: 28px 34px; text-align: center; box-shadow: var(--shadow);
}
.spinner {
  width: 42px; height: 42px; margin: 0 auto 14px; border-radius: 50%;
  border: 3px solid rgba(255,45,68,0.18); border-top-color: var(--red);
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loader-card p { font-weight: 700; font-size: 0.9rem; color: var(--muted); }

/* ─────────────── AJUDA ─────────────── */
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 16px;
  font-weight: 700; font-size: 0.9rem;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "\f078"; font-family: "Font Awesome 6 Free"; font-weight: 900;
  font-size: 0.7rem; color: var(--muted-2); transition: transform 0.25s;
}
.faq-item[open] { border-color: rgba(255,45,68,0.25); }
.faq-item[open] summary::after { transform: rotate(180deg); color: var(--red-2); }
.faq-item p { padding: 0 16px 16px; color: var(--muted); font-size: 0.84rem; line-height: 1.6; }
.menu-list { background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.menu-row {
  display: flex; align-items: center; gap: 14px; width: 100%;
  padding: 16px; font-size: 0.9rem; font-weight: 600;
  border-bottom: 1px solid var(--line);
}
.menu-row:last-child { border-bottom: none; }
.menu-row:active { background: rgba(255,255,255,0.03); }
.menu-row > i:first-child { width: 22px; text-align: center; color: var(--red-2); }
.menu-row span { flex: 1; }
.menu-row > i:last-child { color: var(--muted-2); font-size: 0.75rem; }
.legal {
  margin-top: 22px; padding: 14px; border-radius: 16px;
  background: var(--card); border: 1px solid var(--line);
  font-size: 0.7rem; line-height: 1.6; color: var(--muted-2);
}
.app-version { text-align: center; margin-top: 18px; font-size: 0.7rem; color: var(--muted-2); font-weight: 600; }

/* ─────────────── MENU INFERIOR ─────────────── */
.tabbar {
  flex-shrink: 0; position: relative; z-index: 60;
  height: calc(var(--tabbar-h) + var(--safe-b)); padding-bottom: var(--safe-b);
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: rgba(10, 10, 14, 0.92);
  backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
  border-top: 1px solid var(--line);
}
.tab {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  color: var(--muted-2); font-size: 0.64rem; font-weight: 700; letter-spacing: 0.2px;
  transition: color 0.2s;
}
.tab i { font-size: 1.12rem; transition: transform 0.25s var(--ease); }
.tab.active { color: #fff; }
.tab.active i { color: var(--red); transform: translateY(-1px); filter: drop-shadow(0 0 8px rgba(255,45,68,0.6)); }
.tab:not(.tab-center).active::before {
  content: ""; position: absolute; top: 0; left: 50%; width: 26px; height: 3px; margin-left: -13px;
  border-radius: 0 0 4px 4px; background: var(--red); box-shadow: 0 0 12px var(--red);
}
.tab-fab {
  width: 56px; height: 56px; border-radius: 19px; margin-top: -30px;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(140deg, #ff4b60, #c00d26);
  border: 4px solid var(--bg);
  box-shadow: 0 10px 26px rgba(255,45,68,0.5);
  transition: transform 0.2s var(--ease);
}
.tab-fab i { font-size: 1.25rem; color: #fff !important; filter: none !important; }
.tab-center.active .tab-fab { transform: scale(1.06) rotate(-4deg); box-shadow: 0 10px 30px rgba(255,45,68,0.7); }
.tab-center.active span:last-child { color: var(--red-2); }
.app:has(input:focus) .tabbar, .app:has(textarea:focus) .tabbar { display: none; }

/* ─────────────── MÓDULO (página da loja) ─────────────── */
.module-view {
  position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 150;
  max-width: 520px; margin: 0 auto;
  display: flex; flex-direction: column;
  padding-top: var(--safe-t);
  background: var(--bg);
  transform: translateX(100%); transition: transform 0.32s var(--ease);
  box-shadow: -20px 0 60px rgba(0,0,0,0.6);
}
.module-view.open { transform: none; }
.mv-top {
  height: var(--topbar-h); flex-shrink: 0;
  display: flex; align-items: center; gap: 10px; padding: 0 12px;
  background: rgba(6,6,8,0.9); border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
}
.mv-icon {
  width: 38px; height: 38px; border-radius: 12px; flex-shrink: 0;
  display: grid; place-items: center; color: #fff; font-size: 0.95rem;
  background: linear-gradient(140deg, var(--c, var(--red)), var(--c-d, #8a0f1c));
  box-shadow: 0 6px 16px var(--c-a, rgba(255, 45, 68, 0.4));
}
.mv-titles { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.mv-titles strong { font-size: 0.95rem; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mv-titles span { font-size: 0.68rem; color: var(--muted); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mv-titles span[data-tipo="ok"] { color: var(--green); }
.mv-titles span[data-tipo="warn"] { color: #ffcf8a; }
.mv-titles span[data-tipo="err"] { color: var(--red-2); }
.mv-top .icon-btn { width: 40px; height: 40px; border-radius: 13px; }
.mv-progress { height: 2px; flex-shrink: 0; overflow: hidden; background: transparent; }
.mv-progress span { display: block; height: 100%; width: 35%; background: linear-gradient(90deg, transparent, var(--c, var(--red)), transparent); transform: translateX(-120%); }
.mv-progress.on span { animation: mvload 1s ease-in-out infinite; }
@keyframes mvload { from { transform: translateX(-120%); } to { transform: translateX(320%); } }
.mv-body { position: relative; flex: 1; min-height: 0; background: #0a0a0c; }
.mv-frames { position: absolute; top: 0; right: 0; bottom: 0; left: 0; }
.mv-frame {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; border: 0;
  background: #0a0a0c; visibility: hidden; pointer-events: none;
}
.mv-frame.active { visibility: visible; pointer-events: auto; }
.mv-skeleton { position: absolute; top: 0; right: 0; bottom: 0; left: 0; padding: 18px 16px; background: var(--bg); display: flex; flex-direction: column; gap: 12px; }
.sk { border-radius: 16px; }
.sk-banner { height: 150px; border-radius: 22px; }
.sk-line { height: 16px; border-radius: 8px; }
.w60 { width: 60%; } .w40 { width: 40%; }
.sk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 6px; }
.sk-grid .sk { height: 150px; }
.sk-logo {
  position: absolute; left: 50%; top: 42%; width: 72px; height: 72px; margin: -36px 0 0 -36px;
  border-radius: 50%; padding: 3px; background: conic-gradient(var(--c, var(--red)), transparent 70%);
  animation: spin 1s linear infinite;
}
.sk-logo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid var(--bg); animation: spin 1s linear infinite reverse; }
.mv-state {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 3; overflow-y: auto;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 30px 24px; gap: 10px; background: var(--bg);
}
.mv-state h3 { font-size: 1.2rem; font-weight: 800; }
.mv-state .muted { max-width: 320px; }
.mv-state .btn-primary, .mv-state .btn-whats { margin-top: 10px; max-width: 340px; }
.mv-state .btn-ghost { max-width: 340px; }
.state-ico {
  width: 76px; height: 76px; border-radius: 24px; margin-bottom: 6px;
  display: grid; place-items: center; font-size: 1.8rem; color: var(--red-2);
  background: var(--red-soft); border: 1px solid rgba(255,45,68,0.3);
}
.state-ico.amber { color: #ffb347; background: rgba(255,170,60,0.1); border-color: rgba(255,170,60,0.3); }
.state-chip {
  font-size: 0.7rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
  color: #ffb347; background: rgba(255,170,60,0.1); border: 1px solid rgba(255,170,60,0.28);
  border-radius: 99px; padding: 7px 14px;
}
.mv-hint {
  position: absolute; left: 12px; right: 12px; bottom: calc(12px + var(--safe-b)); z-index: 4;
  display: flex; align-items: center; gap: 8px;
  background: rgba(20,20,28,0.96); border: 1px solid var(--line-2); border-radius: 16px;
  padding: 10px 10px 10px 14px; box-shadow: var(--shadow);
  font-size: 0.76rem; color: var(--muted); font-weight: 600;
  animation: screenIn 0.3s var(--ease);
}
.mv-hint span { flex: 1; }
.mv-hint button {
  padding: 8px 10px; border-radius: 10px; font-size: 0.74rem; font-weight: 800;
  background: var(--card-3); color: #fff;
}
.mv-hint button:first-of-type { background: var(--red); }

/* ─────────────── TOAST ─────────────── */
.toast {
  position: fixed; left: 50%; bottom: calc(var(--tabbar-h) + var(--safe-b) + 18px); z-index: 400;
  transform: translateX(-50%) translateY(14px);
  max-width: min(420px, calc(100% - 32px)); width: max-content;
  background: rgba(30, 30, 40, 0.96); border: 1px solid var(--line-2);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  color: var(--text); font-weight: 700; font-size: 0.86rem; text-align: center;
  padding: 12px 18px; border-radius: 16px; box-shadow: var(--shadow);
  opacity: 0; pointer-events: none; transition: opacity 0.25s, transform 0.25s var(--ease);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
body.mv-open .toast { bottom: calc(24px + var(--safe-b)); }

/* ─────────────── FOLHAS ─────────────── */
.sheet-backdrop {
  position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 200;
  background: rgba(0,0,0,0.66); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px);
  display: flex; align-items: flex-end; justify-content: center;
  animation: fadeIn 0.2s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.sheet {
  width: 100%; max-width: 520px; max-height: 90vh; overflow-y: auto;
  background: linear-gradient(180deg, var(--card-2), var(--bg-2));
  border-radius: 28px 28px 0 0; border-top: 1px solid var(--line-2);
  padding: 12px 20px calc(22px + var(--safe-b));
  animation: sheetUp 0.38s var(--ease);
}
.sheet-sm { text-align: center; }
@keyframes sheetUp { from { transform: translateY(100%); } to { transform: none; } }
.sheet-handle { width: 42px; height: 4px; border-radius: 4px; background: rgba(255,255,255,0.16); margin: 4px auto 18px; }
.sheet h3 { font-size: 1.18rem; font-weight: 800; margin-bottom: 6px; }
.sheet > .muted { margin-bottom: 18px; }
.warn-icon {
  width: 66px; height: 66px; border-radius: 50%; margin: 0 auto 12px;
  display: grid; place-items: center; font-size: 1.6rem; color: var(--red-2);
  background: var(--red-soft); border: 1px solid rgba(255,45,68,0.3);
}
.stars { display: flex; justify-content: center; gap: 8px; margin: 10px 0 18px; }
.stars button { width: 46px; height: 46px; font-size: 1.7rem; color: var(--muted-2); transition: transform 0.15s, color 0.15s; }
.stars button.on { color: var(--gold); text-shadow: 0 0 14px rgba(255,201,77,0.5); }
.stars button:active { transform: scale(1.2); }
.sheet textarea {
  width: 100%; min-height: 84px; margin-bottom: 14px; resize: none; outline: none;
  background: rgba(0,0,0,0.45); border: 1.5px solid var(--line-2); border-radius: 16px;
  color: #fff; padding: 12px 14px; font-size: 0.95rem;
}
.sheet textarea:focus { border-color: var(--red); }
.sheet .input-wrap { margin-bottom: 12px; min-height: 52px; }
.sheet .input-wrap input { height: 50px; font-size: 1rem; letter-spacing: 0; font-weight: 600; }
.force-lock { z-index: 500; background: rgba(0,0,0,0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.force-icon, .play-review-icon {
  width: 74px; height: 74px; border-radius: 24px; margin: 6px auto 16px;
  display: grid; place-items: center; font-size: 1.7rem;
}
.force-icon { color: #fff; background: linear-gradient(140deg, var(--red), var(--red-deep)); box-shadow: 0 12px 30px rgba(255,45,68,0.4); }
.play-review-icon { color: var(--gold); background: rgba(255,201,77,0.12); border: 1px solid rgba(255,201,77,0.35); border-radius: 50%; }
.force-meta { font-size: 0.74rem; color: var(--muted-2); margin: -6px 0 18px; font-weight: 600; }

/* ─────────────── TELA LARGA (tablet / prévia no PC) ─────────────── */
@media (min-width: 540px) {
  body { background: #030304; }
  .app, .module-view { border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
