:root {
  color-scheme: light;
  --fundo: #ffffff; --texto: #111322; --muted: #6b7086; --linha: #eceef4; --suave: #f5f6fa;
  --raio: 26px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--fundo); color: var(--texto); font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }

/* topo */
.top { max-width: 560px; margin: 0 auto; padding: 18px 20px 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.marca { white-space: nowrap; display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 15px; }
.marca img { width: 36px; height: 36px; border-radius: 50%; }
.lojas { display: flex; gap: 8px; flex-wrap: wrap; }
main > .lojas { margin-top: 16px; }
.loja { font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 8px; white-space: nowrap; }
.shopee { background: #ee4d2d; color: #fff; }
.ml { background: #ffe600; color: #2d3277; }

main { max-width: 560px; margin: 0 auto; padding: 0 20px 24px; }
h1 { font-size: 30px; line-height: 1.15; letter-spacing: -.02em; margin-top: 28px; text-wrap: balance; }
.sub { color: var(--muted); margin-top: 8px; font-size: 15px; text-wrap: pretty; }
h2 { font-size: 18px; letter-spacing: -.01em; }

/* cartões "ticket" */
.tickets { list-style: none; display: grid; gap: 14px; margin-top: 24px; }
.ticket {
  position: relative; background: var(--cor); color: var(--txt); border-radius: var(--raio);
  padding: 20px 20px 20px 18px; display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center;
  -webkit-mask: radial-gradient(circle 12px at 100% 50%, #0000 98%, #000) ;
          mask: radial-gradient(circle 12px at 100% 50%, #0000 98%, #000);
  transition: transform .18s ease;
}
.tickets .ticket:hover { transform: translateY(-2px); }
.tickets .ticket:active { transform: scale(.985); }
.ticket-area { position: absolute; inset: 0; border-radius: inherit; z-index: 1; }
.emoji { width: 64px; height: 64px; border-radius: 20px; background: rgba(255,255,255,.18); display: grid; place-items: center; font-size: 36px; line-height: 1; }
.info strong { display: block; font-size: 20px; line-height: 1.2; letter-spacing: -.01em; }
.info small { display: block; font-size: 13.5px; line-height: 1.35; opacity: .9; margin-top: 4px; }
.pill {
  position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 6px;
  background: #fff; color: var(--pill); font-weight: 800; font-size: 14px; text-decoration: none;
  padding: 9px 14px; border-radius: 999px; margin-right: 10px; box-shadow: 0 4px 12px rgba(0,0,0,.12);
}
.pill svg { width: 16px; height: 16px; }

.pill.abrindo { opacity: .7; pointer-events: none; }

/* como funciona */
.como { margin-top: 36px; }
.como ol { list-style: none; counter-reset: p; margin-top: 12px; display: grid; gap: 8px; }
.como li { counter-increment: p; background: var(--suave); border-radius: 18px; padding: 14px 16px 14px 54px; position: relative; font-size: 15px; }
.como li::before { content: counter(p); position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; background: var(--texto); color: #fff; font-weight: 700; font-size: 13px; display: grid; place-items: center; }

footer { max-width: 560px; margin: 8px auto 0; padding: 20px 20px 36px; text-align: center; font-size: 12px; color: #9a9eb2; line-height: 1.6; }

@media (max-width: 380px) {
  .ticket { grid-template-columns: 52px 1fr; }
  .emoji { width: 52px; height: 52px; font-size: 30px; border-radius: 16px; }
  .tickets .pill { grid-column: 2; justify-self: start; }
  h1 { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) { .ticket { transition: none; } }
