/* ==========================================================
   SCREENS — layout de cada tela.
   Regra: o CSS sem media query é a versão do CELULAR (coluna única).
   Acima de 600px / 960px a gente só reorganiza em colunas.
   ========================================================== */

.stack { display: flex; flex-direction: column; gap: var(--s5); }
.page-head { display: flex; flex-direction: column; gap: var(--s1); margin-bottom: var(--s5); }
.page-head p { color: var(--muted); }

/* ---------- Cena (ilustração com o Feel) ---------- */
.scene {
  position: relative; overflow: hidden;
  border: var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow);
  background: var(--teal) center bottom / cover no-repeat;
  height: clamp(190px, 26svh, 300px);
}
.scene img.feel { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); height: 92%; width: auto; max-width: none; }
.scene--day    { background-image: url(../assets/bg-day.webp); }
.scene--sunset { background-image: url(../assets/bg-sunset.webp); }
.scene--night  { background-image: url(../assets/bg-night.webp); }
.scene .bubble--float { top: var(--s3); right: var(--s3); max-width: 46%; }
.scene--walk img.feel { left: 40%; height: 94%; animation: stroll 1.4s ease-in-out infinite alternate; }
@keyframes stroll { to { transform: translateX(-50%) translateY(-5px); } }

/* ---------- 01 Home ---------- */
.home { display: flex; flex-direction: column; gap: var(--s4); }
.home__body { display: flex; flex-direction: column; gap: var(--s3); }
.home__body h1 { font-size: clamp(1.75rem, 8vw, 3.5rem); }
.home__body p { color: #4a443d; max-width: 34ch; font-size: .9375rem; }

@media (min-width: 600px) {
  .scene { height: clamp(280px, 40svh, 420px); }
  .home { gap: var(--s5); }
  .home__body { gap: var(--s4); }
  .home__body p { font-size: var(--fs-base); }
}

@media (min-width: 960px) {
  .home { display: grid; grid-template-columns: 1.05fr 1fr; gap: var(--s10); align-items: center; min-height: 560px; }
  .home__body { order: -1; gap: var(--s6); }
  .scene { height: 560px; }
  .scene--walk img.feel { left: 42%; }
  .scene .bubble--float { font-size: var(--fs-base); max-width: 40%; top: var(--s5); right: var(--s5); }
  .home__body h1 { font-size: 4.25rem; }
  .home .btn { align-self: flex-start; min-width: 260px; }
}

/* ---------- 02 Conversa ---------- */
.chat { display: flex; flex-direction: column; gap: var(--s4); }
.chat__side { display: none; }
.chat__box {
  display: flex; flex-direction: column; gap: var(--s3);
  background: var(--paper); border: var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow);
  padding: var(--s4); min-height: 56vh; min-height: 56svh;
}
.chat__head { display: flex; align-items: center; gap: var(--s3); padding-bottom: var(--s3); border-bottom: 2px dashed #d9cfb8; }
.chat__head img { width: 44px; height: 44px; border-radius: 50%; border: var(--line); background: var(--yellow); object-fit: cover; object-position: top; }
.chat__head strong { display: block; line-height: 1.2; }
.chat__head span { font-size: var(--fs-sm); color: var(--muted); }
.chat__log { display: flex; flex-direction: column; gap: var(--s3); flex: 1; }
.chat__opts { padding-top: var(--s1); scroll-margin-bottom: calc(var(--tabbar-h) + var(--safe-b) + var(--s8)); }
.chat__opts .pill { min-height: 48px; }
.pref { display: flex; flex-direction: column; gap: var(--s3); }
.pref__row { display: flex; gap: var(--s2); }
.pref__row .field { flex: 1; min-width: 0; min-height: 48px; }
.pref__row .btn { min-height: 48px; width: 48px; }
.pref__skip { align-self: flex-start; min-height: 48px; }
.chat__reset { align-self: center; background: none; border: 0; text-decoration: underline; color: var(--muted); font-size: var(--fs-sm); min-height: var(--tap); }

@media (min-width: 960px) {
  .chat { display: grid; grid-template-columns: 340px 1fr; gap: var(--s8); align-items: start; }
  .chat__side { display: block; position: sticky; top: calc(var(--topbar-h) + var(--s6)); }
  .chat__side .scene { height: 560px; }
  .chat__box { min-height: 560px; padding: var(--s8); }
}

/* ---------- 03 Resultado ---------- */
.result { display: flex; flex-direction: column; gap: var(--s6); }
.result__poster { width: min(46%, 200px); margin-inline: auto; position: relative; }
.result__poster .poster { aspect-ratio: 2 / 3; box-shadow: 4px 4px 0 var(--ink); }
.result__tag {
  position: absolute; top: var(--s3); left: var(--s3); z-index: 2;
  background: var(--yellow); border: var(--line); border-radius: var(--r-pill);
  padding: 2px var(--s3); font-size: .72rem; font-weight: 700;
}
.result__info { display: flex; flex-direction: column; gap: var(--s3); }
.result__info h1 { font-size: var(--fs-h2); }
.result__meta { color: var(--muted); font-size: var(--fs-sm); }
.result__rate { display: flex; align-items: center; gap: var(--s3); }
.result__desc { color: #3d3832; line-height: 1.55; }
.result__why { padding: var(--s3) var(--s4); background: var(--yellow); border: var(--line); border-radius: var(--r-md); font-size: .9375rem; }
.result__actions { display: flex; gap: var(--s3); }
.result__actions .btn { padding: 0 var(--s4); font-size: .9375rem; }
.result__actions .btn:first-child { flex: 1; }
.others h2 { font-size: var(--fs-lg); margin-bottom: var(--s3); }
.others .rail > .poster { width: 132px; }      /* celular: miniaturas lado a lado, rolando de lado */
.others button.poster { border: var(--line); }

@media (min-width: 960px) {
  .result__actions .btn { padding: 0 var(--s6); font-size: var(--fs-base); }
  .result { display: grid; grid-template-columns: 300px 1fr 240px; gap: var(--s8); align-items: start; }
  .result__poster { width: 100%; }
  .result__info h1 { font-size: 3rem; }
  .others .rail { display: grid; grid-template-columns: repeat(2, 1fr); overflow: visible; margin: 0; padding: 0; }
  .others .rail > .poster { width: 100%; aspect-ratio: 2 / 3; }      /* mesma proporção do pôster: aparece inteiro */
}

/* ---------- 04 Título ---------- */
.title-page { display: flex; flex-direction: column; gap: var(--s5); }
.trailer {
  position: relative; display: grid; place-items: center; aspect-ratio: 16 / 9;
  background: var(--ink); border: var(--line); border-radius: var(--r-md); box-shadow: var(--shadow);
  overflow: hidden; text-decoration: none;
}
.trailer::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 30% 20%, #3b3530, var(--ink) 70%); }
.trailer__play {
  position: relative; display: grid; place-items: center; width: 68px; height: 68px;
  background: var(--yellow); border: 2px solid var(--cream); border-radius: 50%;
}
.trailer__play svg { width: 28px; height: 28px; margin-left: 4px; }
.trailer__label { position: absolute; left: var(--s3); bottom: var(--s2); color: var(--cream); font-size: var(--fs-sm); opacity: .8; }
.title-page__head { display: flex; flex-direction: column; gap: var(--s2); }
.title-page__head h1 { font-size: var(--fs-h2); }
.panel { display: none; flex-direction: column; gap: var(--s3); }
.panel.is-on { display: flex; }
.review { padding: var(--s4); border: var(--line); border-radius: var(--r-md); }
.review h3 { font-size: var(--fs-sm); margin-bottom: var(--s2); }
.review li { font-size: .9rem; padding: 2px 0; }
.review li::before { content: "· "; font-weight: 800; }
.review--good { background: var(--mint); }
.review--bad  { background: var(--pink); }
.review--bad h3 { color: var(--red); }
.title-page__cta { display: flex; gap: var(--s3); }

@media (min-width: 960px) {
  .title-page { display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--s8); align-items: start; }
  .title-page__media { position: sticky; top: calc(var(--topbar-h) + var(--s6)); }
}

/* ---------- 05 Cinema ---------- */
.cinema { display: flex; flex-direction: column; gap: var(--s5); }
.field {
  width: 100%; min-height: 52px; padding: 0 var(--s4);
  background: var(--paper); border: var(--line); border-radius: var(--r-pill);
  font-size: 1rem; /* 16px evita o zoom automático do iOS ao focar */
}
.field::placeholder { color: var(--muted); }
.cinema__guide { display: none; }
.cinema__guide img { height: 180px; width: auto; }
.cinema--empty .cinema__guide { display: block; text-align: center; margin-top: var(--s2); }
.cinema--empty .cinema__guide img { margin-inline: auto; height: 200px; }

@media (min-width: 960px) {
  .cinema { display: grid; grid-template-columns: 340px 1fr; gap: var(--s8); align-items: start; }
  .cinema__guide { display: block; margin-top: var(--s8); }
}

/* ---------- 06 A-list ---------- */
.alist { display: flex; flex-direction: column; gap: var(--s5); }
.alist__note { padding: var(--s4); background: var(--mint); border: var(--line); border-radius: var(--r-md); font-size: var(--fs-sm); font-weight: 500; }
.alist__head { display: flex; align-items: baseline; justify-content: space-between; }
.alist__head h2 { font-size: var(--fs-lg); }
/* Formulário de crítica */
.rform { display: flex; flex-direction: column; gap: var(--s3); padding: var(--s4); background: var(--paper); border: var(--line); border-radius: var(--r-md); box-shadow: var(--shadow); }
.rform__label { font-weight: 600; font-size: .9375rem; }
.rform .field { background: var(--cream); }
.field--area { min-height: 112px; padding: var(--s3) var(--s4); border-radius: var(--r-md); resize: vertical; line-height: 1.5; background: var(--cream); }
.feelnote { display: flex; align-items: flex-start; gap: var(--s2); animation: rise .3s ease both; }
.feelnote > img { flex: none; width: 48px; height: 48px; object-fit: contain; object-position: top; margin-top: var(--s1); }
.feelnote__body { display: flex; flex-direction: column; gap: var(--s2); min-width: 0; flex: 1; }
.feelnote .bubble { max-width: none; width: auto; border-bottom-left-radius: 4px; background: var(--pink); font-size: .9375rem; line-height: 1.45; }
.feelnote__actions { display: flex; flex-wrap: wrap; gap: var(--s2); }
.feelnote__actions .btn { flex: 1 1 auto; }
.rate { display: flex; gap: var(--s1); }
.rate button { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; background: none; border: 0; touch-action: manipulation; }
.rate svg { width: 34px; height: 34px; fill: var(--cream); stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round; transition: transform .1s; }
.rate button.on svg { fill: var(--yellow); }
.rate button:active svg { transform: scale(.85); }
.rlist { display: flex; flex-direction: column; gap: var(--s3); }
.rcard { display: flex; flex-direction: column; gap: var(--s2); padding: var(--s4); background: var(--paper); border: var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-sm); }
.rcard__top { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s3); }
.rcard__top a { text-decoration: none; }
.rcard p { overflow-wrap: anywhere; white-space: pre-line; font-size: .9375rem; }
.rcard__confirm { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: var(--s2); padding-top: var(--s2); border-top: 2px dashed #d9cfb8; }
.rcard__confirm span { flex: 1 1 100%; font-size: .9375rem; font-weight: 600; }
.btn--danger { background: var(--red); color: var(--paper); }
.rcard__del { align-self: flex-end; min-height: var(--tap); padding: 0 var(--s2); background: none; border: 0; color: var(--red); font-size: var(--fs-sm); font-weight: 600; text-decoration: underline; }

.empty { display: flex; flex-direction: column; align-items: center; gap: var(--s4); text-align: center; padding: var(--s6) 0; }
.empty img { height: 200px; width: auto; }
.empty p { max-width: 28ch; color: var(--muted); }

@media (min-width: 960px) {
  .alist { display: grid; grid-template-columns: 240px 1fr; gap: var(--s8); align-items: start; }
  .alist .tabs { flex-direction: column; overflow: visible; margin: 0; padding: 0; }
  .alist .tabs .pill { width: 100%; }
}

/* ---------- 07 Spotlight e Behind ---------- */
.spot { display: flex; flex-direction: column; gap: var(--s6); }
.spot__hero {
  position: relative; display: flex; flex-direction: column; gap: var(--s2);
  padding: var(--s5); min-height: 190px; overflow: hidden;
  background: var(--yellow); border: var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow);
}
.spot__hero h2 { max-width: 9ch; font-size: clamp(1.6rem, 8vw, 2.4rem); position: relative; z-index: 1; }
.spot__hero .eyebrow { color: var(--ink); opacity: .75; font-size: .72rem; position: relative; z-index: 1; }
.spot__hero small { position: relative; z-index: 1; font-size: var(--fs-sm); max-width: 55%; }
.spot__hero img { position: absolute; right: -4px; bottom: 0; height: 88%; width: auto; }

.rank { display: flex; flex-direction: column; gap: var(--s3); }
.rank a {
  display: flex; align-items: center; gap: var(--s4); min-height: 64px; padding: var(--s3) var(--s4);
  border: var(--line); border-radius: var(--r-md); text-decoration: none; box-shadow: var(--shadow-sm);
}
.rank b { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border: var(--line); border-radius: 50%; background: var(--paper); font-size: var(--fs-sm); }
.rank strong { display: block; line-height: 1.2; }
.rank span { font-size: var(--fs-sm); color: #4a443d; }
.rank a:nth-child(1) { background: var(--sky); }
.rank a:nth-child(2) { background: var(--pink); }
.rank a:nth-child(3) { background: var(--lav); }

.behind { display: flex; flex-direction: column; gap: var(--s3); }
.behind details { border: var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-sm); overflow: hidden; }
.behind summary {
  display: flex; align-items: center; gap: var(--s4); min-height: 68px; padding: var(--s3) var(--s4);
  font-weight: 700; list-style: none; cursor: pointer;
}
.behind summary::-webkit-details-marker { display: none; }
.behind summary b { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--ink); color: var(--cream); font-size: var(--fs-sm); }
.behind summary::after { content: "+"; margin-left: auto; font-size: 1.5rem; font-weight: 400; }
.behind details[open] summary::after { content: "–"; }
.behind details p { padding: 0 var(--s4) var(--s4); font-size: .9rem; color: #4a443d; }
.behind details:nth-child(1) { background: var(--lav); }
.behind details:nth-child(2) { background: var(--mint); }
.behind details:nth-child(3) { background: var(--sky); }
.behind details:nth-child(4) { background: var(--peach); }

@media (min-width: 960px) {
  .spot--split { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--s8); align-items: start; }
  .behind { display: grid; grid-template-columns: repeat(2, 1fr); }
}

/* ---------- 08 Perfil e compartilhar ---------- */
.profile { display: flex; flex-direction: column; gap: var(--s6); }
.pcard {
  display: flex; flex-direction: column; align-items: center; gap: var(--s4); text-align: center;
  padding: var(--s6) var(--s4); background: var(--paper); border: var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow);
}
.pcard__avatar { width: 96px; height: 96px; border-radius: 50%; border: var(--line); background: var(--blue); overflow: hidden; }
.pcard__avatar img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; gap: var(--s2); }
.stats b { display: block; font-size: 1.75rem; line-height: 1.1; }
.stats span { font-size: var(--fs-sm); color: var(--muted); }
.week { width: 100%; }
.week h3 { font-size: .72rem; letter-spacing: .03em; text-transform: uppercase; color: var(--blue); margin-bottom: var(--s3); }
.week ol { display: grid; grid-template-columns: repeat(7, 1fr); gap: var(--s1); list-style: none; margin: 0; padding: 0; }
.week li { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: .72rem; color: var(--muted); }
.week li > span { display: grid; place-items: center; width: min(40px, 100%); aspect-ratio: 1; border: var(--line); border-radius: 50%; background: var(--yellow); overflow: hidden; }
.week li > span img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.week li > span.is-empty { background: transparent; border-style: dashed; border-color: #cbbf9f; }

.share { display: flex; flex-direction: column; gap: var(--s4); }
.share__actions { display: flex; flex-direction: column; gap: var(--s3); }
.sharecard {
  position: relative; isolation: isolate; overflow: hidden; width: min(100%, 300px); aspect-ratio: 9 / 16; margin-inline: auto;
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  padding: var(--s5) 0 var(--s4); text-align: center; color: var(--ink); background: #FBF5EA;
  border: var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow);
}
.sharecard h3 { font-size: 1.45rem; font-weight: 800; font-style: italic; line-height: 1.05; }
.sharecard h3 i { display: inline-block; width: .22em; height: .22em; border-radius: 50%; background: var(--yellow); margin-left: .12em; }
.sharecard__poster { position: relative; flex: 1; min-height: 0; width: calc(100% - 2 * var(--s6)); margin: var(--s3) 0; border: 3px solid var(--ink); border-radius: var(--r-md, 14px); overflow: hidden; background: var(--yellow); box-shadow: 0 8px 18px rgba(35,31,27,.3); }
.sharecard__poster img { width: 100%; height: 100%; object-fit: cover; display: block; position: relative; }
.sharecard__poster span { position: absolute; inset: 0; display: grid; place-items: center; padding: var(--s3); font-weight: 800; }
.sharecard__poster--empty { display: grid; place-items: end center; background: #11193a url(../assets/bg-night.webp) center bottom / cover; }
.sharecard__poster--empty img { height: 92%; width: auto; }
.sharecard__pick { display: flex; flex-direction: column; align-items: center; gap: 2px; width: calc(100% - 2 * var(--s4)); font-size: .72rem; }
.sharecard__pick b { font-size: .9rem; }
.sharecard__pick small { color: #8a857d; }
.sharecard__pick em { font-style: normal; font-weight: 700; background: var(--yellow); border: 2px solid var(--ink); border-radius: 99px; padding: 1px 12px; margin-top: 3px; }
.sharecard__logo { font-weight: 800; font-size: 1.3rem; margin-top: var(--s2); }
.sharecard__logo span { font-weight: 300; color: #8a857d; }
.sharecard__logo i { display: inline-block; width: .4em; height: .4em; border-radius: 50%; background: var(--yellow); margin-left: .06em; }

@media (min-width: 600px) { .share__actions { flex-direction: row; } .share__actions .btn { flex: 1; } }
@media (min-width: 960px) {
  .profile { display: grid; grid-template-columns: 380px 1fr 300px; gap: var(--s8); align-items: start; }
  .share { display: contents; }
  .share__text { display: flex; flex-direction: column; gap: var(--s4); }
  .share__actions { flex-direction: column; align-items: flex-start; }
}

/* ---------- Telas muito estreitas (iPhone SE / Android pequeno) ---------- */
@media (max-width: 359px) {
  :root { --gutter: .75rem; }
  .mood { font-size: .8125rem; padding-inline: var(--s2); }
  .mood img { width: 32px; height: 32px; }
}

/* ---------- Conta: entrar, criar conta, esqueci a senha ---------- */
.auth { display: flex; flex-direction: column; gap: var(--s5); max-width: 460px; margin-inline: auto; }
.auth__head { display: flex; flex-direction: column; align-items: center; gap: var(--s2); text-align: center; }
.auth__feel { width: 64px; height: 64px; object-fit: contain; object-position: top; border-radius: 50%; border: var(--line); background: var(--yellow); }
.auth__head h1 { font-size: var(--fs-h2); }
.authcard { padding: var(--s5); background: var(--paper); border: var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.authcard form { display: flex; flex-direction: column; gap: var(--s4); }
.auth__foot { text-align: center; color: var(--muted); }
.auth__foot a, .auth__link a { color: var(--ink); }
.auth__link { text-align: center; font-size: .9375rem; }
.auth__link a { display: inline-block; padding: var(--s2) var(--s3); }          /* área de toque maior */
.auth__done { display: flex; flex-direction: column; gap: var(--s3); }

.fld { display: flex; flex-direction: column; gap: var(--s1); }
.fld label { font-weight: 600; font-size: .9375rem; }
.fld .field { background: var(--cream); }
.fld__hint { font-size: var(--fs-sm); color: var(--muted); }
.fld__err, .formerr { font-size: var(--fs-sm); font-weight: 600; color: var(--red); min-height: 0; }
.fld__err:empty, .formerr:empty { display: none; }
.formerr { padding: var(--s3) var(--s4); background: var(--pink); border: var(--line); border-radius: var(--r-sm); color: var(--ink); }
.formerr.is-on { display: block; }
.field.is-bad { border-color: var(--red); box-shadow: 0 0 0 2px var(--red); }
.passrow { display: flex; gap: var(--s2); }
.passrow .field { flex: 1; min-width: 0; }
.pass__toggle { flex: none; min-width: 84px; min-height: 52px; padding: 0 var(--s3); background: var(--paper); border: var(--line); border-radius: var(--r-pill); font-weight: 600; font-size: .875rem; touch-action: manipulation; }
.check { display: flex; align-items: flex-start; gap: var(--s3); font-size: .9375rem; line-height: 1.4; cursor: pointer; }
.check input { flex: none; width: 24px; height: 24px; margin: 0; accent-color: var(--ink); }
.check small { color: var(--muted); }
.check a { color: var(--ink); }
.btn[disabled] { opacity: .6; pointer-events: none; }

.legal-page { display: flex; flex-direction: column; gap: var(--s3); max-width: 640px; margin-inline: auto; }
.legal-page h2 { font-size: var(--fs-lg); margin-top: var(--s3); }
.legal-page p { line-height: 1.6; }

/* telas de conta sem menus: a pessoa ainda não entrou */
.auth-mode .tabbar, .auth-mode .topnav, .auth-mode #authbtn { display: none; }
.auth-mode main { padding-bottom: var(--s10); }

/* bloco "Sua conta" no Perfil */
.account { align-items: stretch; text-align: left; }
.account__list { display: flex; flex-direction: column; gap: var(--s3); margin: 0; }
.account__list div { display: flex; justify-content: space-between; gap: var(--s4); padding-bottom: var(--s2); border-bottom: 2px dashed #d9cfb8; }
.account__list dt { color: var(--muted); }
.account__list dd { margin: 0; font-weight: 600; text-align: right; overflow-wrap: anywhere; }

.account { max-width: 560px; margin: 0 auto var(--s6); }
@media (min-width: 960px) { .account { margin-inline: 0; } }
.authcard > .formerr { margin-bottom: var(--s4); }
.fld:has(.fld__err:not(:empty)) .fld__hint { display: none; }

/* ---------- O Feel empurrando o nome (telas de conta) ----------
   Tudo em "em": o tamanho muda só mexendo no font-size de .pusher. */
.pusher { --travel: .8em; position: relative; font-size: clamp(2.6rem, 13vw, 3.9rem); margin-bottom: var(--s2); padding-top: .15em; overflow: visible; }
.pusher__track { display: flex; align-items: flex-end; width: max-content; margin-inline: auto; animation: push 5.2s ease-in-out infinite; }
.pusher__feel { position: relative; flex: none; width: 1.26em; height: 2.2em; font-size: 1em; transform-origin: 50% 100%; transform: rotate(8deg); animation: strain .28s ease-in-out infinite alternate; }
.pusher__body { display: block; width: 100%; height: 100%; clip-path: inset(19% 0 0 0); }      /* tira a cabeça sorridente: entra a de esforço */
.pusher__head { position: absolute; left: 34.7%; top: -5.8%; width: 56.4%; height: auto; clip-path: inset(0 0 25% 0); animation: shake .14s linear infinite alternate; }
.pusher__word { margin-left: -.18em; margin-bottom: .78em; font-weight: 800; letter-spacing: -.04em; line-height: 1; white-space: nowrap; }  /* encostado nos punhos dele */
.pusher__word span { font-weight: 300; color: #8FA3A1; }
.pusher__word i { display: inline-block; width: .42em; height: .42em; margin-left: .08em; border-radius: 50%; background: var(--yellow); }
.pusher__drop { position: absolute; top: 6%; left: 30%; width: .12em; height: .17em; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; background: var(--blue); border: 2px solid var(--ink); opacity: 0; animation: drop 1.1s ease-in infinite; }
.pusher__drop--2 { left: 84%; top: 4%; animation-delay: .5s; }
.pusher__puff { position: absolute; bottom: .05em; left: calc(50% - 2.6em); width: .32em; height: .32em; border-radius: 50%; background: #e4d8bd; opacity: 0; animation: puff 1s ease-out infinite; }
.pusher__puff--2 { animation-delay: .33s; left: calc(50% - 2.9em); width: .24em; height: .24em; }
.pusher__puff--3 { animation-delay: .66s; left: calc(50% - 2.3em); width: .2em; height: .2em; }

/* empurra aos solavancos (quatro "forças") até o fim, descansa, e volta correndo */
@keyframes push {
  0%   { transform: translateX(0); }
  7%   { transform: translateX(calc(var(--travel) * .22)); }
  11%  { transform: translateX(calc(var(--travel) * .2)); }
  20%  { transform: translateX(calc(var(--travel) * .48)); }
  24%  { transform: translateX(calc(var(--travel) * .46)); }
  33%  { transform: translateX(calc(var(--travel) * .74)); }
  37%  { transform: translateX(calc(var(--travel) * .72)); }
  46%  { transform: translateX(var(--travel)); }
  74%  { transform: translateX(var(--travel)); }      /* ofegante, parado */
  92%  { transform: translateX(0); }
  100% { transform: translateX(0); }
}
@keyframes strain { to { transform: rotate(11deg) translateY(-.012em); } }
@keyframes shake  { to { transform: translate(.012em, -.008em) rotate(.8deg); } }
@keyframes drop   { 0% { opacity: 0; transform: translateY(0); } 15% { opacity: 1; } 100% { opacity: 0; transform: translateY(.5em); } }
@keyframes puff   { 0% { opacity: .75; transform: translateX(0) scale(.5); } 100% { opacity: 0; transform: translateX(-.7em) translateY(-.15em) scale(1.7); } }

@media (prefers-reduced-motion: reduce) {
  .pusher__track { animation: none; transform: translateX(calc(var(--travel) * .5)); }
  .pusher__feel, .pusher__head, .pusher__drop, .pusher__puff { animation: none; }
  .pusher__drop, .pusher__puff { display: none; }
}

/* ---------- Monte o seu Feel ---------- */
.monte__preview { position: sticky; z-index: 4; top: calc(var(--topbar-h) + var(--safe-t) + var(--s2)); padding: var(--s1) 0 var(--s3); background: var(--cream); margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }   /* fica à vista enquanto as opções rolam */
.monte { display: flex; flex-direction: column; gap: var(--s4); max-width: 560px; margin-inline: auto; }
.monte__head h1 { font-size: var(--fs-h2); }
.monte__stage { position: relative; height: clamp(230px, 33svh, 340px); display: flex; justify-content: center; align-items: flex-end;
  border: var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; }
.monte__body { height: 97%; display: flex; align-items: flex-end; }
.monte__canvas { display: block; height: 100%; width: auto; }
.monte__photo { position: absolute; top: var(--s3); right: var(--s3); margin: 0; text-align: center; }
.monte__photo img { display: block; width: 84px; height: 84px; border-radius: 50%; border: 3px solid var(--paper); background: var(--paper); box-shadow: var(--shadow-sm); }
.monte__photo figcaption { display: inline-block; margin-top: 4px; padding: 0 var(--s2); font-size: .6875rem; font-weight: 700; background: var(--paper); border: 2px solid var(--ink); border-radius: var(--r-pill); }
.monte__controls { display: flex; flex-direction: column; gap: var(--s3); }
.swatches { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s3) var(--s2); }
.swatch { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 4px 0; background: none; border: 0; font-size: .72rem; font-weight: 600; line-height: 1.15; text-align: center; touch-action: manipulation; }
.swatch i { display: block; width: 52px; height: 52px; border-radius: 50%; border: var(--line); box-shadow: var(--shadow-sm); }
.swatch[aria-pressed="true"] i { box-shadow: 0 0 0 3px var(--cream), 0 0 0 6px var(--ink); }
.swatch[aria-pressed="true"] span { font-weight: 800; }
.looks { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); }
.look { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: var(--s2) var(--s1); min-height: 176px; background: var(--paper);
  border: var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-sm); font-size: .78rem; text-align: center; touch-action: manipulation; }
.look img { height: 112px; width: auto; max-width: 100%; object-fit: contain; }
.look small { color: var(--muted); font-size: .68rem; }
.look[aria-pressed="true"] { background: var(--yellow); }
.monte__actions { display: flex; gap: var(--s3); }
.monte__actions .btn { flex: 1; padding-inline: var(--s3); white-space: nowrap; font-size: .9375rem; }
.monte__actions .btn--ghost { flex: 1.3; }
.linkbtn { min-height: var(--tap); padding: 0 var(--s3); background: none; border: 0; font-weight: 500; text-decoration: underline; }
.auth-mode .sticky-cta { bottom: calc(var(--safe-b) + var(--s3)); }           /* sem a barra de baixo, o botão fica mais perto da borda */
@media (min-width: 960px) {
  .monte { max-width: none; display: grid; grid-template-columns: 380px 1fr; gap: var(--s8); align-items: start; }
  .monte__head { grid-column: 1 / -1; }
  .monte__preview { top: calc(var(--topbar-h) + var(--s6)); margin-inline: 0; padding-inline: 0; background: none; }
  .swatches { grid-template-columns: repeat(6, 1fr); }
  .looks { grid-template-columns: repeat(3, minmax(0, 150px)); }
}

/* foto de perfil: no topo do site e no Perfil */
.avatar-btn { width: 44px; min-height: 44px; height: 44px; padding: 0 !important; border-radius: 50%; overflow: hidden; }
.avatar-mini { display: block; width: 100%; height: 100%; object-fit: cover; }
.account__avatar { align-self: center; width: 96px; height: 96px; border-radius: 50%; border: var(--line); box-shadow: var(--shadow-sm); background: var(--paper); }
.flashok { margin-bottom: var(--s4); padding: var(--s3) var(--s4); background: var(--mint); border: var(--line); border-radius: var(--r-sm); font-size: var(--fs-sm); font-weight: 600; }

/* o Feel vestido com a roupa escolhida: esconde o desenho original até o novo ficar pronto (sem "piscar" a roupa antiga) */
.feel-custom img[data-feel]:not(.feel-ready), .feel-custom img[data-face]:not(.feel-ready) { visibility: hidden; }

/* trocar o Feel direto do "Seu perfil": foto tocável com um lápis no canto */
.pcard__editwrap { position: relative; display: block; text-decoration: none; touch-action: manipulation; }
.pcard__pencil { position: absolute; right: -4px; bottom: 2px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--yellow); border: var(--line); box-shadow: var(--shadow-sm); color: var(--ink); }
.pcard__pencil svg { width: 18px; height: 18px; }

/* Spotlight: o destaque agora é um link para o filme mais votado do dia */
a.spot__hero { color: var(--ink); text-decoration: none; }
.spot__hero h2 { max-width: 13ch; font-size: clamp(1.45rem, 7vw, 2.15rem); }
.spot__who { position: relative; z-index: 1; font-weight: 600; }

/* ---------- Planos (assinatura) ---------- */
.plans { display: flex; flex-direction: column; gap: var(--s4); max-width: 480px; margin-inline: auto; }
.plans__head { display: flex; flex-direction: column; align-items: center; gap: var(--s2); text-align: center; }
.plans__head h1 { font-size: var(--fs-h2); }
.plans__feel { width: 70px; height: 100px; margin-bottom: var(--s2); }
.plans__feel img { display: block; height: 100%; width: 100%; object-fit: contain; object-position: bottom; }
.plans__perks { display: flex; flex-direction: column; gap: var(--s2); padding: var(--s3) var(--s4); background: var(--paper); border: var(--line); border-radius: var(--r-md); }
.plans__perks li { position: relative; padding-left: 1.6rem; font-size: .875rem; line-height: 1.35; }
.plans__perks li::before { content: ""; position: absolute; left: 0; top: .28em; width: 1.05rem; height: 1.05rem; border-radius: 50%; background: var(--yellow) ; border: 2px solid var(--ink); }
.plans__list { display: flex; flex-direction: column; gap: var(--s3); }
.plan {
  position: relative; display: flex; align-items: center; gap: var(--s3); width: 100%; text-align: left;
  min-height: 76px; padding: var(--s4); background: var(--paper); border: var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-sm);
  touch-action: manipulation;
}
.plan--top { margin-top: var(--s2); }
.plan.is-on { background: var(--yellow); box-shadow: var(--shadow); }
.plan__tag { position: absolute; top: -12px; right: var(--s4); padding: 2px var(--s3); background: var(--ink); color: var(--paper); border-radius: var(--r-pill); font-size: .6875rem; font-weight: 700; letter-spacing: .02em; }
.plan__radio { flex: none; width: 22px; height: 22px; border-radius: 50%; border: var(--line); background: var(--paper); display: grid; place-items: center; }
.plan.is-on .plan__radio::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); }
.plan__main { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.plan__name { font-size: var(--fs-lg); line-height: 1.1; }
.plan__per { font-size: .8125rem; opacity: .75; }
.plan__side { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.15; }
.plan__side strong { font-size: 1.15rem; }
.plan__side small { font-size: .75rem; opacity: .7; }
.plan__save { margin-top: 2px; padding: 1px var(--s2); background: var(--mint); border: 2px solid var(--ink); border-radius: var(--r-pill); font-style: normal; font-size: .6875rem; font-weight: 700; }
.plans__note { text-align: center; font-size: .75rem; color: var(--muted); }

/* ---------- Feel comendo pipoca e apontando para baixo (tela de planos) ---------- */
.plans__feel { display: none; }
.popfeel {
  position: relative; display: block; width: 100px; height: 156px; padding: 0; margin-bottom: var(--s1);
  background: none; border: 0; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent;
}
.popfeel img, .popfeel__fx { position: absolute; inset: 0; width: 100%; height: 100%; }
.popfeel img { object-fit: contain; object-position: bottom; transform-origin: 50% 100%; animation: pf-chew 1.3s ease-in-out infinite; }
.popfeel__fx { overflow: visible; pointer-events: none; }
.popfeel__fx > * { transform-box: view-box; }
.popfeel__tub, .popfeel__corn { transform-origin: 200px 480px; transform-box: view-box; animation: pf-munch 1.3s ease-in-out infinite; }
.popfeel__arrows path { animation: pf-arrow 1s ease-in-out infinite; opacity: 0; }
.popfeel__arrows .a2 { animation-delay: .25s; }
.popfeel__burst { opacity: 0; transform-box: fill-box; transform-origin: center; }
.popfeel.is-popping img { animation: pf-hop .55s cubic-bezier(.3,1.6,.5,1); }
.popfeel.is-popping .popfeel__burst { animation: pf-burst .9s ease-out var(--d, 0s) both; }
@keyframes pf-chew { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-1.5px) rotate(.8deg); } }
@keyframes pf-munch { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes pf-arrow { 0% { opacity: 0; transform: translateY(-10px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@keyframes pf-hop { 0% { transform: translateY(0) scale(1, 1); } 35% { transform: translateY(-14px) scale(.96, 1.05); } 100% { transform: translateY(0) scale(1, 1); } }
@keyframes pf-burst { 0% { opacity: 1; transform: translate(0, 0) scale(.6); } 70% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(1.1) rotate(200deg); } }
/* look pronto só existe em pé: some o que depende da pose */
.popfeel.is-look img { object-position: center bottom; }
.popfeel.is-look .popfeel__fx { display: none; }
@media (prefers-reduced-motion: reduce) { .popfeel__kernel, .popfeel__arrows { display: none; } }

.result__again { font-size: .875rem; text-align: center; }
.result__again a { display: inline-block; padding: var(--s2) var(--s3); color: var(--ink); }

/* tela de planos travada (sem assinatura) */
.plans__lock { display: flex; flex-direction: column; gap: var(--s2); padding: var(--s4); background: var(--paper); border: var(--line); border-radius: var(--r-md); font-size: .875rem; text-align: center; box-shadow: var(--shadow-sm); }
.plans__lock b { overflow-wrap: anywhere; }
