/* Rascunho da área de membros — v2 (limpo, mobile-first). Complementa o Tailwind via CDN. */
html { -webkit-tap-highlight-color: transparent; }
body { font-family: "Quicksand", "Quicksand Fallback: Arial", sans-serif; }
.font-heading { font-family: "Baloo 2", "Baloo 2 Fallback: Arial", cursive; }
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { scrollbar-width: none; }

/* um único estilo de borda em toda a área */
.ring-soft { border: 1px solid hsl(40 30% 88%); }

/* cartão: só a foto com o nome por cima */
.card { position: relative; border-radius: 1rem; overflow: hidden; background: hsl(40 40% 94%); transition: transform .15s ease; }
.card:active { transform: scale(.97); }
.card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card .nome { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.1rem .65rem .6rem; color: #fff; font-weight: 800; font-size: 14px; line-height: 1.15;
  background: linear-gradient(to top, hsl(250 30% 18% / .78), hsl(250 30% 18% / 0)); text-shadow: 0 1px 2px hsl(250 30% 18% / .4); }
.card.locked img { filter: brightness(.82) saturate(.8); }
.card .lock { position: absolute; top: .45rem; right: .45rem; width: 1.6rem; height: 1.6rem; border-radius: 9999px; background: #fff; display: grid; place-items: center; font-size: .8rem; box-shadow: 0 1px 3px hsl(250 30% 18% / .25); }
.card .fav { position: absolute; top: .45rem; left: .45rem; font-size: 1rem; filter: drop-shadow(0 1px 2px hsl(250 30% 18% / .4)); }

/* estantes horizontais */
.shelf { display: flex; gap: .6rem; overflow-x: auto; padding: .1rem 1rem .4rem; margin: 0 -1rem; scroll-snap-type: x mandatory; scroll-padding-left: 1rem; }
.shelf > * { flex: 0 0 38vw; max-width: 180px; scroll-snap-align: start; }
@media (min-width: 640px) { .shelf > * { flex-basis: 170px; } }

/* chips */
.chip { white-space: nowrap; border-radius: 9999px; padding: .45rem .85rem; font-weight: 700; font-size: 14px; border: 1px solid hsl(40 30% 88%); background: #fff; color: hsl(250 30% 18%); transition: background-color .15s, color .15s; }
.chip[aria-pressed="true"] { background: hsl(250 30% 18%); color: #fff; border-color: hsl(250 30% 18%); }

/* folha de detalhe / modal */
.sheet-backdrop { background: hsl(250 30% 18% / .5); }
.sheet { animation: sheetUp .26s cubic-bezier(.2,.8,.2,1); }
@keyframes sheetUp { from { transform: translateY(24px); opacity: 0 } to { transform: none; opacity: 1 } }
.pop { animation: pop .2s cubic-bezier(.2,.8,.2,1); }
@keyframes pop { from { transform: scale(.95); opacity: 0 } to { transform: none; opacity: 1 } }

/* botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; border-radius: 9999px; font-weight: 800; min-height: 48px; transition: transform .12s, filter .12s; }
.btn:active { transform: scale(.98); filter: brightness(.96); }
.btn-primary { background: hsl(350 80% 58%); color: #fff; }
.btn-secondary { background: #fff; color: hsl(250 30% 18%); border: 1px solid hsl(40 30% 88%); }
.btn-dark { background: hsl(250 30% 18%); color: #fff; }

/* toast */
.toast { animation: toastIn .2s ease; }
@keyframes toastIn { from { transform: translate(-50%, 10px); opacity: 0 } to { transform: translate(-50%, 0); opacity: 1 } }

/* código de 6 dígitos */
.otp input { width: 2.6rem; height: 3.2rem; text-align: center; font-size: 1.5rem; font-weight: 800; border: 1px solid hsl(40 30% 88%); border-radius: .9rem; background: #fff; }
.otp input:focus { outline: none; border-color: hsl(250 30% 18%); }

@media (prefers-reduced-motion: reduce) { .sheet, .pop, .toast, .card { animation: none; transition: none; } }
.card .nome { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Coleções (vendidas à parte): card largo com 3 capas */
.colecao .capas { display: flex; gap: .25rem; flex-shrink: 0; }
.colecao .capas img { width: 2.6rem; height: 3.25rem; object-fit: cover; border-radius: .6rem; background: hsl(40 40% 94%); }
.colecao:active { transform: scale(.985); }
@media (max-width: 420px) { .colecao .capas img:nth-child(3) { display: none; } }
.colecao .capa-bonus { width: 3.4rem; height: 4.6rem; object-fit: cover; border-radius: .6rem; flex-shrink: 0; background: hsl(40 40% 94%); }

/* botão flutuante da comunidade no WhatsApp */
.zap { background: #25D366; box-shadow: 0 6px 18px hsl(142 70% 30% / .35); transition: transform .15s; }
.zap:active { transform: scale(.94); }

/* seletor Coloridos | Para colorir (duas metades; a escolhida fica escura, como os chips) */
.seg { border-radius: 9999px; padding: .4rem .5rem; font-weight: 800; font-size: 14px; line-height: 1.2; color: hsl(250 30% 18%); transition: background-color .15s, color .15s; }
.seg[aria-pressed="true"] { background: hsl(250 30% 18%); color: #fff; }
