/* Lucrai · telas do app (dashboard, carreira, créditos) + momentos de recompensa. Só tokens. */

/* ---------- moldura: tela cheia no celular, coluna centralizada no computador ---------- */
.stage { min-height: 100dvh; background: var(--background); }
.device {
  position: relative; isolation: isolate;
  width: 100%; height: 100dvh;
  background: var(--background);
  overflow: hidden;
}
.stage-side { display: none; }
@media (min-width: 900px) {
  .stage {
    display: grid; grid-template-columns: minmax(0, 1fr) 400px minmax(0, 1fr);
    align-items: center; gap: var(--space-2xl);
    padding: var(--space-lg) var(--space-xl);
    background-color: var(--sunken);
    background-image: var(--field-blue), var(--hairline-grid);
    background-size: auto, 56px 56px;
  }
  .device {
    height: min(860px, calc(100dvh - 48px));
    border-radius: 28px;
    box-shadow: 0 0 0 1px var(--border), var(--shadow-3);
  }
  .stage-side { display: block; align-self: center; max-width: 300px; }
  .stage-side.left { justify-self: end; }
  .stage-side.right { justify-self: start; }
}

/* ---------- casca do app ---------- */
.app { position: absolute; inset: 0; display: flex; flex-direction: column; }
.app-header {
  flex: none; display: flex; align-items: center; gap: var(--space-xs);
  min-height: var(--banner-height); padding: var(--space-2xs) var(--space-md);
  padding-top: max(var(--space-2xs), env(safe-area-inset-top));
  position: relative; z-index: 2;
}
.app-main {
  flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain;
  padding: var(--space-3xs) var(--space-md) calc(112px + env(safe-area-inset-bottom));
  scrollbar-width: none;
  animation: page-in var(--dur-base) var(--ease-out) backwards;
}
.app-main::-webkit-scrollbar { display: none; }
@keyframes page-in { from { opacity: 0; transform: translateY(8px); } }
.stack { display: grid; gap: var(--space-sm); }

.avatar {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: var(--card-hi); color: var(--foreground);
  font-weight: 600; font-size: var(--text-small);
  box-shadow: inset 0 0 0 1px var(--border);
}
.hello { min-width: 0; flex: 1; line-height: 1.2; }
.hello strong { display: block; font-size: var(--text-body); font-weight: 600; }
.hello span { font-size: var(--text-caption); color: var(--muted-foreground); }
.icon-btn {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  display: grid; place-items: center; color: var(--foreground);
  transition: background-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
@media (hover: hover) { .icon-btn:hover { background: var(--secondary); } }
.icon-btn:active { transform: scale(var(--press-scale)); }
.page-title { flex: 1; font-size: var(--text-h3); font-weight: 600; }

/* chip da carteira */
.wallet-chip {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  height: 36px; padding: 0 var(--space-xs) 0 6px; border-radius: var(--radius-pill);
  background: var(--card); box-shadow: inset 0 0 0 1px var(--border);
  font-weight: 600; font-size: var(--text-small); text-decoration: none; white-space: nowrap;
  transition: transform var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out);
}
.wallet-chip img { width: 24px; height: 24px; }
.wallet-chip::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: var(--glow-reward); opacity: 0; pointer-events: none; }
@media (hover: hover) { .wallet-chip:hover { background: var(--card-hi); } }
.wallet-chip:active { transform: scale(var(--press-scale)); }

/* ---------- cartões ---------- */
.card {
  position: relative; background: var(--card); border-radius: var(--radius-xl);
  padding: var(--space-md); box-shadow: inset 0 0 0 1px var(--border);
}
.card-link { display: block; text-decoration: none; color: inherit; transition: transform var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out); }
.card-link:active { transform: scale(.99); background: var(--card-hi); }
@media (hover: hover) { .card-link:hover { background: var(--card-hi); } }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-xs); margin-bottom: var(--space-xs); }
.card-title { font-size: var(--text-small); font-weight: 600; color: var(--muted-foreground); }
.card-title-lg { font-size: var(--text-body); font-weight: 600; color: var(--foreground); }
.link-more { display: inline-flex; align-items: center; gap: 2px; font-size: var(--text-small); font-weight: 600; color: var(--brand-blue-hi); text-decoration: none; white-space: nowrap; }

/* ---------- número animado (estilo NumberFlow) ---------- */
.num { display: inline-flex; align-items: baseline; white-space: nowrap; line-height: 1; }
.num .n-cur { margin-right: .18em; font-size: .6em; font-weight: 600; }
.num .n-cents { font-size: .6em; }
.num .d { display: inline-block; height: 1.1em; overflow: hidden; vertical-align: bottom; position: relative; }
.num .d-strip { display: flex; flex-direction: column; transition: transform var(--roll-dur, 700ms) var(--ease-out); will-change: transform; }
.num .d-strip span { height: 1.1em; line-height: 1.1em; text-align: center; }
.num .sep { display: inline-block; height: 1.1em; line-height: 1.1em; }
@media (prefers-reduced-motion: reduce) { .num .d-strip { transition: none; } }

/* ---------- herói do saldo ---------- */
.hero-balance { padding: var(--space-lg) var(--space-md) var(--space-md); background-image: var(--field-reward); }
.hero-balance .label { font-size: var(--text-small); color: var(--muted-foreground); display: flex; align-items: center; gap: 6px; }
.hero-balance .big { font-size: 2.75rem; font-weight: 700; letter-spacing: -0.035em; color: var(--reward); margin: var(--space-2xs) 0 var(--space-sm); }
.hero-row { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-sm); }
.today { font-size: var(--text-small); color: var(--muted-foreground); line-height: 1.4; }
.today strong { display: block; color: var(--foreground); font-size: var(--text-h3); font-weight: 600; }
.spark { display: flex; align-items: flex-end; gap: 5px; height: 48px; }
.spark i { display: block; width: 10px; border-radius: 3px 3px 1px 1px; background: var(--chart-1); min-height: 3px; }
.spark i.today-bar { background: var(--reward); }
.spark i.zero { background: var(--chart-3); }
.hero-actions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-2xs); margin-top: var(--space-md); }

/* selo da primeira venda */
.first-sale { display: flex; align-items: center; gap: var(--space-xs); padding: var(--space-xs) var(--space-sm); }
.first-sale .seal { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--reward-soft); color: var(--reward); flex: none; }
.first-sale p { font-size: var(--text-small); line-height: 1.35; }
.first-sale p strong { display: block; font-weight: 600; font-size: var(--text-body); }
.first-sale.is-new { animation: soft-flash 1500ms var(--ease-out); }
@keyframes soft-flash { from { background-color: var(--reward-soft); } }

/* produto no ar */
.product { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: var(--space-sm); align-items: start; }
.cover {
  position: relative; width: 76px; aspect-ratio: 3 / 4; border-radius: 10px; overflow: hidden;
  background: var(--sunken); box-shadow: inset 0 0 0 1px var(--border);
}
.cover img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: screen; transform: scale(1.35); }
.cover span { position: absolute; left: 6px; right: 6px; bottom: 6px; font-size: 10px; font-weight: 700; line-height: 1.15; letter-spacing: .02em; }
.cover::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: var(--glow-blue); opacity: 0; pointer-events: none; }
.product h3 { font-size: var(--text-body); font-weight: 600; letter-spacing: -0.01em; }
.status { display: inline-flex; align-items: center; gap: 6px; font-size: var(--text-caption); font-weight: 600; }
.status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); }
.status.live { color: var(--success); }
.status.draft { color: var(--muted-foreground); }
.status.draft .dot { background: var(--muted-foreground); }
.product-meta { display: flex; align-items: center; gap: var(--space-xs); margin: 6px 0 var(--space-xs); font-size: var(--text-small); color: var(--muted-foreground); }
.product-actions { display: flex; flex-wrap: wrap; gap: var(--space-2xs); margin-top: var(--space-sm); }
.guarantee-line { display: flex; align-items: center; gap: var(--space-2xs); margin-top: var(--space-sm); padding-top: var(--space-xs); border-top: 1px solid var(--border); font-size: var(--text-small); color: var(--muted-foreground); }
.guarantee-line strong { color: var(--foreground); font-weight: 600; }

/* trilha */
.trail { display: flex; align-items: center; margin: var(--space-2xs) 0 var(--space-md); }
.trail .node {
  position: relative; width: 34px; height: 34px; flex: none; border-radius: 50%;
  display: grid; place-items: center; font-size: var(--text-caption); font-weight: 700;
  background: var(--secondary); color: var(--muted-foreground);
  box-shadow: inset 0 0 0 1px var(--border);
  transition: background-color var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.trail .node.done { background: var(--reward); color: var(--reward-foreground); box-shadow: none; }
.trail .node.done .icon { fill: currentColor; stroke: currentColor; }
.trail .node.current { background: var(--card); color: var(--foreground); box-shadow: none; }
.trail .node.next-open { box-shadow: inset 0 0 0 1.5px var(--brand-blue); color: var(--foreground); }
.trail .node .ring { position: absolute; inset: -3px; width: 40px; height: 40px; transform: rotate(-90deg); }
.trail .node .ring circle { fill: none; stroke-width: 3; }
.trail .node .ring .track { stroke: var(--border); }
.trail .node .ring .fill { stroke: var(--brand-blue); stroke-linecap: round; transition: stroke-dashoffset 500ms var(--ease-out); }
.trail .node .lock { transition: opacity var(--dur-base) var(--ease-out); }
.trail .line { flex: 1; height: 2px; background: var(--border); position: relative; overflow: hidden; }
.trail .line i { position: absolute; inset: 0; background: var(--reward); transform-origin: left; transform: scaleX(0); transition: transform 400ms var(--ease-out); }
.trail .line.done i { transform: scaleX(1); }
.tasks { display: grid; gap: 2px; }
.task { display: flex; align-items: center; gap: var(--space-xs); min-height: 44px; padding: 0 var(--space-2xs); border-radius: var(--radius-sm); text-align: left; width: 100%; font-size: var(--text-small); transition: background-color var(--dur-fast) var(--ease-out); }
@media (hover: hover) { .task:hover { background: var(--card-hi); } }
.task .box { width: 24px; height: 24px; flex: none; border-radius: 8px; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px var(--input); color: var(--success-foreground); transition: background-color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out); }
.task[aria-checked="true"] .box { background: var(--success); box-shadow: none; }
.task[aria-checked="true"] .t-label { color: var(--muted-foreground); text-decoration: line-through; text-decoration-color: var(--border); }
.task .box svg { opacity: 0; }
.task[aria-checked="true"] .box svg { opacity: 1; }
.task .box polyline { stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset 200ms var(--ease-out); }
.task[aria-checked="true"] .box polyline { stroke-dashoffset: 0; }

/* carteira e próxima placa */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-sm); }
.wallet-card { display: flex; flex-direction: column; gap: var(--space-2xs); }
.wallet-card img { width: 44px; height: 44px; }
.wallet-card .qty { font-size: var(--text-h2); font-weight: 700; letter-spacing: -0.02em; }
.wallet-card .qty small { font-size: var(--text-small); font-weight: 500; color: var(--muted-foreground); margin-left: 4px; letter-spacing: 0; }
.next-plaque { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: var(--space-sm); align-items: center; }
.mini-plaque { position: relative; width: 56px; aspect-ratio: 941 / 1672; border-radius: 6px; overflow: hidden; }
.mini-plaque img { width: 100%; height: 100%; object-fit: cover; }
.mini-plaque.locked img { filter: grayscale(1) brightness(.35); }
.mini-plaque .lock-badge { position: absolute; inset: 0; display: grid; place-items: center; color: var(--premium); }
.bar { height: 8px; border-radius: var(--radius-pill); background: var(--secondary); overflow: hidden; margin: var(--space-2xs) 0 6px; }
.bar i { display: block; height: 100%; width: 100%; border-radius: inherit; background: var(--reward); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform 700ms var(--ease-out); }
.bar-caption { font-size: var(--text-caption); color: var(--muted-foreground); }
.bar-caption strong { color: var(--foreground); font-weight: 600; }

/* atalhos bento */
.bento { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: var(--space-xs); }
.tile { position: relative; overflow: hidden; min-height: 96px; padding: var(--space-sm); display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; }
.tile strong { font-size: var(--text-body); font-weight: 600; position: relative; }
.tile span { font-size: var(--text-caption); color: var(--muted-foreground); position: relative; }
.tile .ill { position: absolute; right: -6px; top: -4px; width: 72px; height: 72px; mix-blend-mode: screen; -webkit-mask-image: var(--mask-edge); mask-image: var(--mask-edge); }
.tile.tall { grid-row: span 2; min-height: 204px; }
.tile.tall .ill { width: 150px; height: 150px; right: auto; left: 50%; top: 4px; transform: translateX(-50%); }
.tiles-small { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-xs); grid-column: 1 / -1; }

/* orbe da assistente */
.orb {
  position: absolute; right: var(--space-md); bottom: calc(88px + env(safe-area-inset-bottom)); z-index: 3;
  width: 56px; height: 56px; border-radius: 50%; overflow: hidden;
  background: var(--sunken); box-shadow: inset 0 0 0 1px var(--border), var(--shadow-2);
  transition: transform var(--dur-fast) var(--ease-out);
}
.orb img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: screen; transform: scale(1.25); }
.orb:active { transform: scale(var(--press-scale)); }

/* bottom nav */
.bottom-nav {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: var(--z-nav);
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: center;
  padding: 6px var(--space-2xs) max(10px, env(safe-area-inset-bottom));
  background: var(--nav-solid); border-top: 1px solid var(--border);
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .bottom-nav { background: var(--nav-glass); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
}
.nav-item {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  min-height: 52px; border-radius: var(--radius-sm); text-decoration: none;
  color: var(--muted-foreground); font-size: var(--text-caption); font-weight: 600; white-space: nowrap;
  transition: color var(--dur-base) var(--ease-out);
}
.nav-item[aria-current="page"] { color: var(--foreground); }
.nav-item[aria-current="page"]::before { content: ""; position: absolute; top: -7px; width: 24px; height: 2px; border-radius: 2px; background: var(--brand-blue); }
.nav-item.create span.plus { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--primary); color: var(--primary-foreground); transition: transform var(--dur-fast) var(--ease-out); }
.nav-item.create:active span.plus { transform: scale(var(--press-scale)); }
@media (hover: hover) { .nav-item:hover { color: var(--foreground); } }

/* ---------- placa ---------- */
.plaque { position: relative; container-type: inline-size; aspect-ratio: 941 / 1672; border-radius: 3.5cqw; overflow: hidden; background: var(--sunken); }
.plaque img { width: 100%; height: 100%; object-fit: cover; }
.plaque-name {
  position: absolute; left: 23.91%; width: 52.07%; height: 5.5%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-sans); font-weight: 600; letter-spacing: .08em; font-size: 4.3cqw; line-height: 1;
  white-space: nowrap; overflow: hidden;
  color: var(--premium-hi);
}
.plaque[data-moldura="ouro"] .plaque-name { color: var(--reward-hi); }
.plaque.locked img { filter: grayscale(1) brightness(.35); }
.plaque.locked .plaque-name { display: none; }
.plaque .lock-center { position: absolute; inset: 0; display: grid; place-items: center; color: var(--premium); }
.plaque .lock-center span { width: 22cqw; height: 22cqw; border-radius: 50%; display: grid; place-items: center; background: var(--scrim); box-shadow: inset 0 0 0 1px var(--border); }
.plaque .lock-center .icon { width: 9cqw; height: 9cqw; }
.plaque .sheen { position: absolute; inset: 0; background: var(--sheen); mix-blend-mode: screen; transform: translateX(-110%); pointer-events: none; }
.plaque .cover-black { position: absolute; inset: 0; background: var(--sunken); pointer-events: none; }

/* ---------- carreira ---------- */
.career-bg { background-image: var(--field-reward); }
.career-hero { display: grid; justify-items: center; gap: var(--space-sm); padding: var(--space-xs) 0 var(--space-lg); text-align: center; }
.career-hero .plaque-stage { width: 62%; perspective: 900px; touch-action: pan-y; }
.career-hero .plaque { transform-style: preserve-3d; box-shadow: var(--shadow-3); cursor: grab; }
.career-hero h1 { font-size: var(--text-h2); font-weight: 700; }
.career-hero p { font-size: var(--text-small); color: var(--muted-foreground); max-width: 32ch; }
.levels { position: relative; display: grid; gap: var(--space-xs); }
.levels::before { content: ""; position: absolute; left: 33px; top: 24px; bottom: 24px; width: 2px; background: var(--border); }
.level { position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: var(--space-sm); align-items: center; padding: var(--space-xs); text-align: left; width: 100%; color: inherit; }
.level .mini-plaque { width: 52px; border-radius: 6px; box-shadow: 0 0 0 1px var(--border); }
.level h3 { font-size: var(--text-body); font-weight: 600; }
.level .meta { font-size: var(--text-small); color: var(--muted-foreground); }
.level .state { font-size: var(--text-caption); font-weight: 600; white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; }
.level.won .state { color: var(--reward); }
.level.next .state { color: var(--brand-blue-hi); }
.level.locked .state { color: var(--muted-foreground); }
.level.locked h3 { color: var(--muted-foreground); }

/* ---------- créditos ---------- */
.credits-hero { display: grid; justify-items: center; text-align: center; gap: 4px; padding: var(--space-sm) 0 var(--space-lg); }
.credits-hero .token { width: 120px; height: 120px; mix-blend-mode: screen; -webkit-mask-image: var(--mask-edge); mask-image: var(--mask-edge); }
.credits-hero .qty { font-size: var(--text-display); font-weight: 700; letter-spacing: -0.035em; line-height: 1.05; }
.credits-hero .qty-label { font-size: var(--text-small); color: var(--muted-foreground); }
.section-title { font-size: var(--text-h3); font-weight: 600; margin: var(--space-lg) 0 var(--space-xs); }
.costs { list-style: none; margin: 0; padding: 0; }
.costs li { display: flex; align-items: center; gap: var(--space-xs); min-height: 52px; border-bottom: 1px solid var(--border); font-size: var(--text-small); }
.costs li:last-child { border-bottom: 0; }
.costs li .icon { color: var(--muted-foreground); }
.costs li span { flex: 1; }
.costs li strong { font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.costs li strong img { width: 18px; height: 18px; }
.pack { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: var(--space-sm); align-items: center; }
.pack img { width: 48px; height: 48px; }
.pack .p-qty { font-size: var(--text-h3); font-weight: 700; letter-spacing: -0.01em; }
.pack .p-unit { font-size: var(--text-caption); color: var(--muted-foreground); }
.pack .p-right { display: grid; justify-items: end; gap: 6px; }
.pack .p-price { font-weight: 600; }
.history { list-style: none; margin: 0; padding: 0; }
.history li { display: flex; justify-content: space-between; align-items: center; gap: var(--space-sm); min-height: 56px; border-bottom: 1px solid var(--border); font-size: var(--text-small); }
.history li:last-child { border-bottom: 0; }
.history li small { display: block; color: var(--muted-foreground); font-size: var(--text-caption); }
.history .in { color: var(--reward); font-weight: 600; }
.history .out { color: var(--muted-foreground); font-weight: 600; }
.history li.is-new { animation: soft-flash 1500ms var(--ease-out); }
.note { font-size: var(--text-caption); color: var(--muted-foreground); margin-top: var(--space-2xs); }

/* ---------- camadas: toast, sheet, momento ---------- */
.toast-host { position: absolute; left: var(--space-sm); right: var(--space-sm); top: calc(var(--space-2xs) + env(safe-area-inset-top)); z-index: var(--z-toast); display: grid; gap: var(--space-2xs); pointer-events: none; }
.toast {
  display: flex; align-items: center; gap: var(--space-xs);
  padding: var(--space-xs) var(--space-sm); border-radius: var(--radius-lg);
  background: var(--popover); box-shadow: inset 0 0 0 1px var(--border), var(--shadow-3);
  font-size: var(--text-small); font-weight: 600; pointer-events: auto;
  animation: toast-in var(--dur-slow) var(--ease-out) backwards;
}
.toast img { width: 20px; height: 20px; }
.toast .t-val { color: var(--reward); margin-left: auto; white-space: nowrap; }
.toast.out { animation: toast-out 240ms var(--ease-in) both; }
@keyframes toast-in { from { opacity: 0; transform: translateY(-12px); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(-8px); } }

.sheet-layer { position: absolute; inset: 0; z-index: var(--z-sheet); display: flex; align-items: flex-end; }
.sheet-backdrop { position: absolute; inset: 0; background: var(--scrim); opacity: 0; transition: opacity 300ms var(--ease-out); }
.sheet-layer.open .sheet-backdrop { opacity: 1; }
.sheet {
  position: relative; width: 100%; max-height: 92%; overflow-y: auto;
  background: var(--popover); border-radius: 24px 24px 0 0;
  padding: var(--space-2xs) var(--space-md) max(var(--space-lg), env(safe-area-inset-bottom));
  box-shadow: inset 0 1px 0 var(--border);
  transform: translateY(100%); transition: transform var(--dur-slow) var(--ease-out);
}
.sheet-layer.open .sheet { transform: none; }
.sheet-layer.closing .sheet { transition-duration: 240ms; transition-timing-function: var(--ease-in); }
.sheet-grip { width: 40px; height: 4px; border-radius: 4px; background: var(--input); margin: 0 auto var(--space-sm); }
.sheet h2 { font-size: var(--text-h3); font-weight: 600; margin-bottom: var(--space-2xs); }
.sheet .sheet-sub { font-size: var(--text-small); color: var(--muted-foreground); margin-bottom: var(--space-md); }
.kv { display: grid; gap: 0; margin-bottom: var(--space-md); border-radius: var(--radius-lg); background: var(--card); box-shadow: inset 0 0 0 1px var(--border); }
.kv div { display: flex; justify-content: space-between; gap: var(--space-sm); padding: var(--space-xs) var(--space-sm); font-size: var(--text-small); border-bottom: 1px solid var(--border); }
.kv div:last-child { border-bottom: 0; }
.kv dt { color: var(--muted-foreground); }
.kv dd { margin: 0; font-weight: 600; text-align: right; min-width: 0; overflow-wrap: anywhere; }
.sheet-actions { display: grid; gap: var(--space-2xs); }

.timeline { list-style: none; margin: 0 0 var(--space-md); padding: 0; display: grid; gap: 0; }
.timeline li { position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: var(--space-xs); padding-bottom: var(--space-md); font-size: var(--text-small); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: 13px; top: 28px; bottom: 0; width: 2px; background: var(--border); }
.timeline li:last-child::before { display: none; }
.timeline .tl-dot { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--secondary); color: var(--muted-foreground); box-shadow: inset 0 0 0 1px var(--border); }
.timeline .done .tl-dot { background: var(--success); color: var(--success-foreground); box-shadow: none; }
.timeline .active .tl-dot { box-shadow: inset 0 0 0 1.5px var(--brand-blue); }
.timeline .active .tl-dot i { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-blue); animation: pulse 1200ms var(--ease-in-out) infinite; }
.timeline strong { display: block; font-weight: 600; }
.timeline small { color: var(--muted-foreground); font-size: var(--text-caption); }
@keyframes pulse { 50% { opacity: .3; transform: scale(.75); } }

.moment { position: absolute; inset: 0; z-index: var(--z-overlay); display: grid; place-items: center; padding: var(--space-lg); }
.moment-scrim { position: absolute; inset: 0; background: var(--scrim-strong); opacity: 0; }
.moment-body { position: relative; display: grid; justify-items: center; text-align: center; gap: var(--space-sm); width: 100%; max-width: 340px; }
.moment .star-wrap { position: relative; width: 112px; height: 112px; display: grid; place-items: center; }
.moment .star-ring { position: absolute; inset: 0; border-radius: 50%; box-shadow: var(--glow-reward); opacity: 0; }
.moment .star { width: 96px; height: 96px; }
.moment .m-amount { font-size: 3rem; font-weight: 700; letter-spacing: -0.035em; color: var(--reward); --roll-dur: 900ms; }
.moment h2 { font-size: var(--text-h2); font-weight: 700; }
.moment .m-sub { font-size: var(--text-small); color: var(--muted-foreground); }
.moment .m-tag { display: inline-flex; align-items: center; gap: 6px; font-size: var(--text-caption); font-weight: 600; color: var(--premium); padding: 4px 10px; border-radius: var(--radius-pill); box-shadow: inset 0 0 0 1px var(--border); }
.moment .m-actions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-2xs); width: 100%; margin-top: var(--space-2xs); }
.moment .fade-late { opacity: 0; }
.moment .plaque-stage { width: min(62%, 230px); perspective: 900px; touch-action: none; }
.moment .plaque { box-shadow: var(--shadow-3); cursor: grab; }
.moment .seal-big { width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; background: var(--reward); color: var(--reward-foreground); }
.moment .seal-big .icon { width: 44px; height: 44px; }
.moment .ill-trail { width: 160px; height: 160px; mix-blend-mode: screen; -webkit-mask-image: var(--mask-edge); mask-image: var(--mask-edge); }

.flash { position: absolute; inset: 0; background: var(--flash); opacity: 0; pointer-events: none; z-index: calc(var(--z-overlay) + 5); }
.fx-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: var(--z-confetti); }
.coin-fly { position: absolute; left: 0; top: 0; width: 28px; height: 28px; z-index: var(--z-confetti); pointer-events: none; }

/* ---------- modo print: ver "v2 · modo print" no fim do arquivo ---------- */
.seg { display: grid; grid-template-columns: repeat(var(--seg-n, 4), minmax(0, 1fr)); gap: 4px; padding: 4px; border-radius: var(--radius-md); background: var(--card); box-shadow: inset 0 0 0 1px var(--border); margin-bottom: var(--space-sm); }
.seg button { min-height: 36px; border-radius: 10px; font-size: var(--text-small); font-weight: 600; color: var(--muted-foreground); white-space: nowrap; transition: background-color var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out); }
.seg button[aria-pressed="true"] { background: var(--secondary-hover); color: var(--foreground); }
.switch-row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm); min-height: 48px; margin-bottom: var(--space-sm); font-size: var(--text-small); font-weight: 500; }
.switch { position: relative; width: 48px; height: 28px; border-radius: 28px; background: var(--input); flex: none; transition: background-color var(--dur-fast) var(--ease-out); }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--foreground); transition: transform 220ms var(--ease-out); }
.switch[aria-checked="true"] { background: var(--primary); }
.switch[aria-checked="true"]::after { transform: translateX(20px); }

/* ---------- painel de simulação (protótipo) ---------- */
.sim { display: grid; gap: var(--space-2xs); }
.sim-title { font-size: var(--text-small); font-weight: 600; color: var(--foreground); }
.sim-note { font-size: var(--text-caption); color: var(--muted-foreground); line-height: 1.45; }
.sim-list { display: grid; gap: 6px; }
.sim-btn { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2xs); min-height: 40px; padding: 0 var(--space-xs); border-radius: var(--radius-sm); background: var(--card); box-shadow: inset 0 0 0 1px var(--border); font-size: var(--text-small); font-weight: 500; text-align: left; white-space: nowrap; transition: background-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out); }
.sim-btn:active { transform: scale(var(--press-scale)); }
@media (hover: hover) { .sim-btn:hover { background: var(--card-hi); } }
.sim-btn small { color: var(--muted-foreground); font-size: var(--text-caption); font-weight: 600; }
.sim-toggles { display: grid; gap: 0; margin-top: var(--space-2xs); }
.sim-toggles .switch-row { margin: 0; min-height: 44px; }
.sim-in-app { margin-top: var(--space-2xl); padding-top: var(--space-md); border-top: 1px dashed var(--border); }
@media (min-width: 900px) { .sim-in-app { display: none; } }
.side-nav { display: grid; gap: 4px; }
.side-nav a { display: flex; align-items: center; gap: var(--space-2xs); min-height: 40px; padding: 0 var(--space-xs); border-radius: var(--radius-sm); color: var(--muted-foreground); text-decoration: none; font-size: var(--text-small); font-weight: 600; white-space: nowrap; }
.side-nav a[aria-current="page"] { color: var(--foreground); background: var(--card); box-shadow: inset 0 0 0 1px var(--border); }
@media (hover: hover) { .side-nav a:hover { color: var(--foreground); } }
.side-brand { display: flex; align-items: center; gap: var(--space-2xs); margin-bottom: var(--space-md); font-weight: 700; }
.side-brand img { width: 32px; height: 32px; border-radius: 8px; }
.side-caption { font-size: var(--text-caption); color: var(--muted-foreground); margin-top: var(--space-md); line-height: 1.5; }

/* stagger só na primeira entrada da sessão */
.first-visit .stagger > * { animation: item-in var(--dur-slow) var(--ease-out) backwards; }
.first-visit .stagger > *:nth-child(2) { animation-delay: 40ms; }
.first-visit .stagger > *:nth-child(3) { animation-delay: 80ms; }
.first-visit .stagger > *:nth-child(4) { animation-delay: 120ms; }
.first-visit .stagger > *:nth-child(5) { animation-delay: 160ms; }
.first-visit .stagger > *:nth-child(n+6) { animation-delay: 200ms; }
@keyframes item-in { from { opacity: 0; transform: translateY(8px); } }

@media (prefers-reduced-motion: reduce) {
  .app-main, .first-visit .stagger > *, .toast, .toast.out { animation-name: fade-only; }
  .timeline .active .tl-dot i { animation: none; }
  .sheet { transition: none; }
  .bar i, .trail .line i, .trail .node .ring .fill { transition-duration: 150ms; }
}
@keyframes fade-only { from { opacity: 0; } }

/* linhas de cartão e menu */
.row-card { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: var(--space-sm); align-items: center; }
.row-card img { width: 44px; height: 44px; }
.row-big { font-size: var(--text-h3); font-weight: 700; letter-spacing: -0.01em; }
.first-sale p span { display: block; }
button.nav-item { width: 100%; }
.menu { display: grid; gap: 2px; }
.menu-item { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: var(--space-sm); align-items: center; min-height: 64px; padding: 0 var(--space-xs); border-radius: var(--radius-md); text-decoration: none; transition: background-color var(--dur-fast) var(--ease-out); }
.menu-item strong { display: block; font-weight: 600; }
.menu-item small { display: block; color: var(--muted-foreground); font-size: var(--text-caption); }
@media (hover: hover) { .menu-item:hover { background: var(--card); } }
.menu-item:active { background: var(--card-hi); }
.back { margin-left: calc(-1 * var(--space-2xs)); }

/* aviso de saque mínimo */
.min-note { margin: var(--space-xs) 0 var(--space-md); padding: var(--space-md); border-radius: var(--radius-lg); background-color: var(--card); background-image: var(--field-reward); box-shadow: inset 0 0 0 1px var(--border); }
.min-top { display: flex; align-items: center; gap: var(--space-xs); }
.min-icon { width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--reward-soft); color: var(--reward); }
.min-top strong { display: block; font-size: var(--text-body); font-weight: 600; }
.min-top span { font-size: var(--text-small); color: var(--muted-foreground); }
.min-top b { color: var(--reward); font-weight: 700; font-size: var(--text-h3); }
.min-note .bar { margin: var(--space-sm) 0 var(--space-2xs); }
.min-foot { font-size: var(--text-small); color: var(--muted-foreground); line-height: 1.5; }
.min-foot strong { color: var(--foreground); font-weight: 600; }

/* card "Sua garantia" */
.guarantee .g-lede { font-size: var(--text-small); color: var(--muted-foreground); margin-bottom: var(--space-sm); }
.guarantee .g-lede strong { color: var(--reward); font-weight: 600; }
.checklist { list-style: none; margin: 0 0 var(--space-sm); padding: 0; display: grid; gap: 0; }
.checklist li { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: var(--space-xs); align-items: center; min-height: 56px; border-bottom: 1px solid var(--border); }
.checklist li:last-child { border-bottom: 0; }
.checklist .c-dot { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--secondary); color: var(--muted-foreground); box-shadow: inset 0 0 0 1px var(--border); transition: background-color var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out); }
.checklist li.ok .c-dot { background: var(--success); color: var(--success-foreground); box-shadow: none; }
.checklist strong { display: block; font-size: var(--text-small); font-weight: 600; }
.checklist small { display: block; font-size: var(--text-caption); color: var(--muted-foreground); }
.checklist .c-side { font-size: var(--text-small); font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.checklist li.ok .c-side { color: var(--success); }
.pips { display: inline-flex; gap: 4px; margin-left: 6px; vertical-align: middle; }
.pips i { width: 6px; height: 6px; border-radius: 50%; background: var(--border); }
.pips i.on { background: var(--brand-blue-hi); }
.g-help { font-size: var(--text-caption); color: var(--muted-foreground); text-align: center; margin-top: var(--space-2xs); }
.g-mini-btn { min-height: 32px; padding: 0 var(--space-xs); border-radius: var(--radius-pill); font-size: var(--text-caption); font-weight: 600; color: var(--brand-blue-hi); box-shadow: inset 0 0 0 1px var(--border); white-space: nowrap; transition: background-color var(--dur-fast) var(--ease-out); }
@media (hover: hover) { .g-mini-btn:hover { background: var(--secondary); } }
.g-mini-btn:active { transform: scale(var(--press-scale)); }
.sim-btn[aria-pressed="true"] { box-shadow: inset 0 0 0 1px var(--brand-blue-hi); }
@media (min-width: 900px) { .stage-side.right { max-height: calc(100dvh - 48px); overflow-y: auto; scrollbar-width: thin; padding: var(--space-3xs); } }

/* ---------- login ---------- */
.login-bg { position: absolute; inset: 0; background-color: var(--background); }
.login-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }
.login-bg::after { content: ""; position: absolute; inset: 0; background-image: var(--field-blue); }
.login { position: absolute; inset: 0; overflow-y: auto; display: flex; flex-direction: column; padding: max(var(--space-3xl), env(safe-area-inset-top)) var(--space-lg) max(var(--space-lg), env(safe-area-inset-bottom)); }
.login-icon { width: 96px; height: 96px; border-radius: 24px; box-shadow: var(--glow-blue); margin-bottom: var(--space-lg); animation: icon-in var(--dur-reveal) var(--ease-out) backwards; }
@keyframes icon-in { from { opacity: 0; transform: scale(.96); } }
.login h1 { font-size: var(--text-h1); font-weight: 700; letter-spacing: -0.03em; }
.login .lede { color: var(--muted-foreground); margin: var(--space-2xs) 0 var(--space-xl); font-size: var(--text-body); }
.login form { display: grid; gap: var(--space-md); }
.login .row-between { display: flex; justify-content: space-between; align-items: center; gap: var(--space-sm); }
.text-link { color: var(--brand-blue-hi); font-weight: 600; font-size: var(--text-small); text-decoration: none; white-space: nowrap; min-height: 44px; display: inline-flex; align-items: center; }
@media (hover: hover) { .text-link:hover { text-decoration: underline; text-underline-offset: 3px; } }
.login-foot { margin-top: auto; padding-top: var(--space-2xl); text-align: center; font-size: var(--text-small); color: var(--muted-foreground); }
@media (prefers-reduced-motion: reduce) { .login-icon { animation-name: fade-only; } }

/* =====================================================================================
 * v2 (16/09) · acabamento do app: borda em gradiente, grão, vidro, spotlight, número herói,
 * bottom nav com indicador deslizante, transição entre páginas, skeleton, sheet em vidro, modo print quadrado.
 * ===================================================================================== */

/* transição entre páginas (View Transitions entre documentos; navegador sem suporte troca normal) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-sai 160ms var(--ease-in) both; }
::view-transition-new(root) { animation: vt-entra 340ms var(--ease-out) both; }
@keyframes vt-sai { to { opacity: 0; } }
@keyframes vt-entra { from { opacity: 0; transform: translateY(10px); } }
.bottom-nav { view-transition-name: bottom-nav; }
.nav-ind { view-transition-name: nav-ind; }
::view-transition-group(nav-ind) { animation-duration: 420ms; animation-timing-function: var(--ease-out); }
::view-transition-old(bottom-nav), ::view-transition-new(bottom-nav) { animation: none; }
@media (prefers-reduced-motion: reduce) { ::view-transition-old(root), ::view-transition-new(root), ::view-transition-group(nav-ind) { animation: none; } }

/* moldura com profundidade + grão */
.device { background-color: var(--background); background-image: var(--field-blue); }
.device::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background-image: var(--grain); background-size: 160px 160px; opacity: .045; mix-blend-mode: overlay; pointer-events: none; z-index: 350; }
@media (min-width: 900px) {
  .stage { background-image: radial-gradient(40% 50% at 50% 50%, rgba(41,121,255,.12), transparent 70%), var(--hairline-grid); background-size: auto, 56px 56px; }
  .device { box-shadow: 0 0 0 1px var(--border), 0 0 0 9px rgba(255,255,255,.025), 0 50px 140px -40px rgba(41,121,255,.35), var(--shadow-3); }
}

/* cartões: borda 1px em gradiente + spotlight que segue o dedo/mouse */
@property --spot-o { syntax: "<number>"; inherits: false; initial-value: 0; }
.card {
  --mx: 50%; --my: 0%;
  background-color: var(--card);
  background-image: radial-gradient(360px circle at var(--mx) var(--my), rgba(97,160,255, calc(.16 * var(--spot-o))), transparent 62%), linear-gradient(180deg, rgba(255,255,255,.035), transparent 45%);
  box-shadow: var(--shadow-2);
  transition: --spot-o 320ms var(--ease-out), transform var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out);
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: var(--border-gradient);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.card.is-lit { --spot-o: 1; }
.hero-balance { background-image: radial-gradient(360px circle at var(--mx) var(--my), rgba(255,213,92, calc(.12 * var(--spot-o))), transparent 62%), var(--field-reward), linear-gradient(180deg, rgba(255,255,255,.04), transparent 45%); }
.hero-balance::before { background: var(--border-gradient-reward); }
.guarantee::before { background: linear-gradient(160deg, rgba(97,160,255,.45), var(--edge-lo) 45%, rgba(255,213,92,.3)); }

/* número herói: gradiente quente + dígitos rolando */
.hero-balance .big { font-size: 3rem; font-weight: 800; letter-spacing: -0.045em; filter: drop-shadow(0 8px 28px rgba(255,194,26,.22)); }
.hero-balance .big .d-strip span, .hero-balance .big .sep, .hero-balance .big .n-cur { background: var(--text-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.credits-hero .qty { font-weight: 800; font-size: 3rem; }

/* chips e botões com mais material */
.wallet-chip { background: linear-gradient(180deg, rgba(255,194,26,.12), rgba(19,25,36,.9)); box-shadow: inset 0 0 0 1px rgba(255,213,92,.28), 0 6px 20px -10px rgba(255,194,26,.45); }
.btn-secondary { background-image: linear-gradient(180deg, rgba(255,255,255,.06), transparent); box-shadow: inset 0 0 0 1px var(--border), inset 0 1px 0 rgba(255,255,255,.06); }
.chip { background-image: linear-gradient(180deg, rgba(255,255,255,.05), transparent); }
.avatar { background: linear-gradient(145deg, var(--brand-blue), #0E2A66); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18), 0 6px 18px -8px rgba(41,121,255,.6); color: var(--primary-foreground); }
.first-sale .seal, .min-icon { box-shadow: inset 0 0 0 1px rgba(255,213,92,.35), 0 8px 22px -10px rgba(255,194,26,.5); }

/* bottom nav em vidro, flutuando, com indicador que desliza */
.bottom-nav {
  left: var(--space-xs); right: var(--space-xs); bottom: max(var(--space-xs), env(safe-area-inset-bottom));
  padding: 6px; border-top: 0; border-radius: 26px;
  box-shadow: inset 0 0 0 1px var(--edge-hi), 0 20px 50px -20px rgba(0,0,0,.9);
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .bottom-nav { background: var(--glass-strong); -webkit-backdrop-filter: blur(22px) saturate(150%); backdrop-filter: blur(22px) saturate(150%); }
}
.nav-item[aria-current="page"]::before { display: none; }
.nav-item { z-index: 1; min-height: 54px; }
.nav-item[aria-current="page"] { color: var(--brand-blue-hi); }
.nav-ind { position: absolute; top: 6px; left: 0; height: 54px; width: var(--w, 60px); border-radius: 20px; pointer-events: none; z-index: 0;
  background: linear-gradient(180deg, rgba(97,160,255,.2), rgba(97,160,255,.05)); box-shadow: inset 0 0 0 1px rgba(97,160,255,.28);
  transform: translateX(var(--x, 0)); transition: transform 420ms var(--ease-out), width 420ms var(--ease-out), opacity 200ms linear; }
.nav-ind::after { content: ""; position: absolute; top: -1px; left: 50%; width: 22px; height: 2px; margin-left: -11px; border-radius: 2px; background: var(--brand-blue-hi); box-shadow: 0 0 12px 2px rgba(97,160,255,.7); }
.nav-item.create span.plus { background: linear-gradient(160deg, var(--brand-blue-hi), var(--primary) 55%); box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 10px 24px -10px rgba(41,121,255,.8); }
.app-main { padding-bottom: calc(124px + env(safe-area-inset-bottom)); }
.orb { bottom: calc(100px + env(safe-area-inset-bottom)); box-shadow: inset 0 0 0 1px var(--edge-hi), 0 10px 30px -10px rgba(41,121,255,.6); }
.app-header { background: linear-gradient(180deg, var(--background) 30%, transparent); }

/* sheet e toast em vidro */
.sheet { box-shadow: inset 0 1px 0 var(--edge-hi), 0 -30px 80px -30px rgba(0,0,0,.85); }
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .sheet { background: rgba(20,26,38,.8); -webkit-backdrop-filter: blur(24px) saturate(150%); backdrop-filter: blur(24px) saturate(150%); }
  .toast { background: rgba(26,34,48,.78); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
  .sheet-backdrop { -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
}
.sheet-layer.open .sheet { transition-timing-function: cubic-bezier(.22,1.1,.36,1); transition-duration: 460ms; }
.toast { box-shadow: inset 0 0 0 1px rgba(255,213,92,.25), var(--shadow-3); }

/* skeleton com shimmer (carregamento que passar de 200 ms) */
.skel-tela { display: grid; gap: var(--space-sm); }
.skel-card { border-radius: var(--radius-xl); padding: var(--space-md); background: var(--card); display: grid; gap: var(--space-xs); box-shadow: inset 0 0 0 1px var(--border); }
.skel-card .skel { height: 14px; }
.skel-card .skel.lg { height: 44px; width: 70%; }
.skel-card .skel.md { width: 45%; }
.skel-card .skel.bl { height: 48px; border-radius: var(--radius-md); }

/* login com fundo vivo e entrada coreografada */
.login-shader { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.login-bg.vivo img { opacity: .35; mix-blend-mode: screen; }
.login-icon-wrap { position: relative; width: 96px; height: 96px; margin-bottom: var(--space-lg); }
.login-icon-wrap .login-icon { margin: 0; position: relative; z-index: 1; }
.login-icon-wrap::before { content: ""; position: absolute; inset: -18px; border-radius: 36px; background: var(--halo-blue); animation: halo 3.2s var(--ease-in-out) infinite; }
.login-icon-wrap::after { content: ""; position: absolute; inset: -4px; border-radius: 28px; box-shadow: 0 0 0 1px rgba(97,160,255,.45); opacity: 0; animation: anel 900ms var(--ease-out) 350ms both; }
@keyframes halo { 50% { opacity: .55; transform: scale(1.08); } }
@keyframes anel { from { opacity: 1; transform: scale(.9); } to { opacity: 0; transform: scale(1.35); } }
.login .coreo { animation: coreo 700ms var(--ease-out) backwards; }
.login .coreo-1 { animation-delay: 180ms; } .login .coreo-2 { animation-delay: 260ms; } .login .coreo-3 { animation-delay: 340ms; } .login .coreo-4 { animation-delay: 420ms; } .login .coreo-5 { animation-delay: 500ms; } .login .coreo-6 { animation-delay: 620ms; }
@keyframes coreo { from { opacity: 0; transform: translateY(16px); filter: blur(4px); } }
.login form { padding: var(--space-md); margin: 0 calc(-1 * var(--space-2xs)); border-radius: 24px; background: rgba(13,17,24,.5); box-shadow: inset 0 0 0 1px var(--edge-lo); }
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) { .login form { -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); } }
.login .input { background: rgba(5,7,11,.6); }
@media (prefers-reduced-motion: reduce) { .login .coreo { animation-name: fade-only; } .login-icon-wrap::before, .login-icon-wrap::after { animation: none; } }

/* ---------- v2 · modo print (card quadrado) ---------- */
.sheet-print h2 { margin-bottom: 2px; }
.sheet-print .sheet-sub { margin-bottom: var(--space-xs); }
.pq-palco { position: relative; display: grid; place-items: center; padding: var(--space-2xs) 0 var(--space-md); }
.pq-luz { position: absolute; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(closest-side, rgba(41,121,255,.35), rgba(255,194,26,.12) 60%, transparent); filter: blur(24px); pointer-events: none; }
.pq {
  position: relative; isolation: isolate; width: 320px; height: 320px; flex: none; overflow: hidden;
  border-radius: 28px; padding: 22px 22px 20px; display: flex; flex-direction: column;
  font-family: var(--font-sans); color: var(--foreground); line-height: 1.2; text-align: left;
  background-color: var(--phone-screen);
  background-image: radial-gradient(75% 65% at 100% 0%, rgba(255,194,26,.26), transparent 62%), radial-gradient(85% 75% at 0% 100%, rgba(41,121,255,.40), transparent 64%), linear-gradient(160deg, rgba(255,255,255,.04), transparent 40%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.1), 0 30px 70px -30px rgba(41,121,255,.6);
}
.pq::after { content: ""; position: absolute; inset: 0; background-image: var(--grain); background-size: 140px 140px; opacity: .06; mix-blend-mode: overlay; pointer-events: none; z-index: -1; }
.pq-export { border-radius: 0 !important; }
.pq-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pq-marca { display: inline-flex; align-items: center; gap: 8px; }
.pq-marca img { width: 26px; height: 26px; border-radius: 7px; }
.pq-marca b { font-size: 13px; font-weight: 800; letter-spacing: .18em; }
.pq-chip { font-size: 11px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); color: var(--premium); white-space: nowrap; }
.pq-chip.ouro { color: var(--reward); box-shadow: inset 0 0 0 1px rgba(255,213,92,.4); }
.pq-rot { margin-top: 18px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-foreground); }
.pq-num { margin-top: 6px; display: flex; flex-direction: column; gap: 6px; }
.pq-valor { font-size: 40px; font-weight: 800; letter-spacing: -0.045em; line-height: 1; color: var(--reward); white-space: nowrap; font-variant-numeric: tabular-nums; text-shadow: 0 6px 30px rgba(255,194,26,.35); }
.pq-cur { font-size: .42em; font-weight: 700; margin-right: 5px; color: var(--reward-hi); letter-spacing: 0; }
.pq-cent { font-size: .55em; }
.pq-qtd { font-size: 13px; font-weight: 600; color: var(--premium); }
.pq-qtd-grande { font-size: 40px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--reward); }
.pq-lista-tit { margin-top: 12px; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-foreground); }
.pq-lista { list-style: none; margin: 4px 0 0; padding: 0; display: grid; }
.pq-lista li { display: grid; grid-template-columns: 8px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 7px 0; border-top: 1px solid rgba(255,255,255,.07); font-size: 13px; }
.pq-lista b { font-weight: 700; font-variant-numeric: tabular-nums; }
.pq-lista span { color: var(--muted-foreground); font-size: 12px; font-variant-numeric: tabular-nums; }
.pq-lista .pq-vazio { display: block; color: var(--muted-foreground); }
.pq-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--reward); box-shadow: 0 0 10px rgba(255,194,26,.8); }
.pq-pe { margin-top: auto; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.pq-pe b { font-size: 15px; font-weight: 800; letter-spacing: -0.01em; }
.pq-pe span { font-size: 11px; color: var(--muted-foreground); font-variant-numeric: tabular-nums; }
.pq-placa { margin-top: 14px; display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 16px; align-items: center; }
.pq-placa .plaque { border-radius: 8px; box-shadow: 0 14px 30px -12px rgba(255,194,26,.45); }
.pq-placa .pq-rot { margin-top: 0; }
.pq-nivel { margin-top: 4px; font-size: 26px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; }
.pq-meta { margin-top: 4px; font-size: 13px; color: var(--reward); font-weight: 600; }
.pq-brilho { position: absolute; top: -20px; bottom: -20px; left: 0; width: 38%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent); pointer-events: none; z-index: 5; mix-blend-mode: screen; }
.pq-controles { display: flex; gap: var(--space-2xs); align-items: stretch; margin-bottom: var(--space-sm); }
.seg.seg-sm { flex: 1; margin: 0; }
.pq-controles .seg { --seg-n: 3; }
.pq-olho { width: 48px; flex: none; display: grid; place-items: center; border-radius: var(--radius-md); background: var(--card); box-shadow: inset 0 0 0 1px var(--border); color: var(--muted-foreground); transition: color var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out); }
.pq-olho[aria-pressed="true"] { color: var(--foreground); box-shadow: inset 0 0 0 1px var(--brand-blue-hi); }
.pq-acoes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-2xs); }
.pq-acoes .btn { padding: 0 var(--space-xs); font-size: .9375rem; }
.pq-aviso { min-height: 0; margin-top: var(--space-2xs); font-size: var(--text-caption); color: var(--muted-foreground); text-align: center; }
.pq-aviso:empty { display: none; }
.login-bg img { position: absolute; inset: 0; }
