:root {
  --bg: var(--tg-theme-bg-color, #ffffff);
  --bg2: var(--tg-theme-secondary-bg-color, #f2f2f5);
  --fg: var(--tg-theme-text-color, #111111);
  --muted: var(--tg-theme-hint-color, #8a8a8e);
  --accent: var(--tg-theme-button-color, #2b7de9);
  --on-accent: var(--tg-theme-button-text-color, #ffffff);
  --line: color-mix(in srgb, var(--muted) 25%, transparent);
  --nu: #820ad1;
  --ifood: #ea1d2c;
  --ok: #2e9e5b;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--fg);
  font: 15px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
main { max-width: 560px; margin: 0 auto; padding: 16px 16px 40px; }
h1 { font-size: 22px; font-weight: 600; margin: 0; }
h2 { font-size: 13px; font-weight: 600; color: var(--muted); margin: 20px 0 8px; }
.top { margin-bottom: 14px; }
.sub, .muted { color: var(--muted); }
.sub { margin: 2px 0 0; font-size: 13px; }
.small { font-size: 12px; }
.big { font-size: 17px; font-weight: 600; }
.t { font-weight: 600; }
.d { font-size: 12px; color: var(--muted); }
.card { background: var(--bg2); border-radius: 14px; padding: 12px 14px; margin-bottom: 10px; }
.link { background: none; border: 0; color: var(--muted); font: inherit; padding: 8px 0; cursor: pointer; }

/* 13/10 (PWA): fora do Telegram o tema segue o iPhone, e o conteúdo desce da barra de status (black-translucent) */
/* 14/10 (Patrick): o tema também se escolhe no Ajustes (data-tema="claro"/"escuro"; sem ele, segue o iPhone) */
@media (prefers-color-scheme: dark) {
  html.pwa:not([data-tema="claro"]) { --tg-theme-bg-color: #000000; --tg-theme-secondary-bg-color: #1c1c1e; --tg-theme-text-color: #ffffff;
    --tg-theme-hint-color: #8d8d93; --tg-theme-button-color: #3e88f7; --tg-theme-button-text-color: #ffffff; }
}
html.pwa[data-tema="escuro"] { --tg-theme-bg-color: #000000; --tg-theme-secondary-bg-color: #1c1c1e; --tg-theme-text-color: #ffffff;
  --tg-theme-hint-color: #8d8d93; --tg-theme-button-color: #3e88f7; --tg-theme-button-text-color: #ffffff; }
/* 14/10 (Patrick): 8 pt a mais que a barra do relógio, pro borrado do iOS não pegar nos títulos */
html.pwa { --topo: calc(env(safe-area-inset-top) + 8px); }
html.pwa body { padding-top: var(--topo); }
/* 14/10 (Patrick, iPhone 16): a tela não estica nem quica quando se arrasta além do fim */
html.pwa, html.pwa body { overscroll-behavior: none; }
/* 14/10 (iPhone 16, 15:16): com a barra transparente (black-translucent) o iOS sobe a página pra baixo do relógio e não
   desenha os últimos 59 pt enquanto ela não for mais alta que isso — a faixa no fim, e o que é fixo cortado ali. O
   conserto conhecido: a página tem no mínimo a tela + a barra do relógio. */
html.pwa { min-height: calc(100% + env(safe-area-inset-top)); }
/* 14/10 (medido no iPhone 16 do Patrick, iOS 18.7, app instalado): com a página sem nada pra rolar, o iPhone mede a área
   do app em 793 (852 − os 59 da barra do relógio) e o "fim" (bottom: 0) fica 59 acima do fim de verdade; 100lvh dá os
   852 certos. Então o que é preso no fim desce a diferença: calc(100% - 100lvh) é 0 quando o iPhone mede certo e −59
   quando mede curto. */
html.pwa .home, html.pwa .sheet-fundo, html.pwa .igs-fundo, html.pwa .lv-clarao,
html.pwa .rodape-add, html.pwa .rodape-total, html.pwa .barra-sacola, html.pwa .if-nav, html.pwa .bs-nav,
html.pwa .ig-escrever, html.pwa .ig-nav, html.pwa .lv-nav { bottom: calc(100% - 100lvh); }
html.pwa .lv-rodape { bottom: calc(62px + env(safe-area-inset-bottom) + 100% - 100lvh); }
html.pwa #toast { bottom: calc(90px + 100% - 100lvh); }

/* início (13/10, Patrick): um celular — só ícones, a foto dela de fundo, os Bastidores sozinhos no dock.
   14/10: presa na tela (fixed), sem rolar — rolada, ela subia e deixava uma faixa embaixo e o borrado do iPhone no topo */
.home { position: fixed; inset: 0; z-index: 1; padding: calc(env(safe-area-inset-top) + 34px) 22px 0; overflow: hidden;
  background: #1a141c; touch-action: none; }
.home[hidden] { display: none; }
.home-fundo { position: absolute; inset: 0; background: center / cover no-repeat; }
.home-fundo::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .14); }
.home-grade { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px 0; justify-items: center; }
.home-dock { position: absolute; left: 12px; right: 12px; bottom: calc(env(safe-area-inset-bottom) + 12px);
  padding: 14px 0; border-radius: 30px; background: rgba(255, 255, 255, .22);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); display: flex; justify-content: center; }
.app { background: none; border: 0; padding: 0; font: inherit; color: #fff; cursor: pointer; display: flex;
  flex-direction: column; align-items: center; gap: 6px; width: 72px; }
.app-ic { position: relative; width: 60px; height: 60px; border-radius: 14px; display: flex; align-items: center;
  justify-content: center; overflow: visible; font-size: 32px; color: #fff; }
.app-ic > img { max-width: 70%; max-height: 40%; }
.app-nome { font-size: 12px; line-height: 1.2; text-shadow: 0 1px 2px rgba(0, 0, 0, .45); white-space: nowrap; }
.app-nu { background: var(--nu); }
.app-nu > img, .app-if > img { filter: brightness(0) invert(1); }
.app-if { background: var(--ifood); }
.app-if > img { max-width: 64%; }
.app-ig > img { width: 60px; height: 60px; max-width: none; max-height: none; border-radius: 14px; }
.app-lv { background: #1a1a1f; color: var(--lv); }
.lv-tile.apagado .app-lv { color: #6d6670; }
.app-aj { background: #8e8e93; }
.app-bs { background: #f4f0ea; color: #3b2a3a; }
.app-selo { position: absolute; top: -4px; right: -4px; width: 14px; height: 14px; border-radius: 50%; background: #ff3b30;
  border: 2px solid rgba(255, 255, 255, .9); }
.app-selo[hidden] { display: none; }

/* Ajustes (13/10): o papel de parede */
.aj-grupo { background: var(--bg2); border-radius: 14px; padding: 12px 14px; }
.aj-titulo { font-weight: 600; margin-bottom: 2px; }
.aj-grupo + .aj-grupo { margin-top: 14px; }
.aj-grupo[hidden] { display: none; }
/* 14/10: Aparência como no iPhone — duas telinhas, a bolinha marcada embaixo e a chave Automático */
.aj-temas { display: flex; justify-content: space-around; padding: 12px 0 4px; }
.aj-opcao { display: flex; flex-direction: column; align-items: center; gap: 6px; background: none; border: 0; color: var(--fg);
  font: inherit; font-size: 14px; padding: 0; cursor: pointer; }
.aj-mini { width: 66px; height: 118px; border-radius: 12px; border: 1px solid var(--line); padding: 26px 8px 0;
  display: flex; flex-direction: column; gap: 7px; }
.aj-mini.claro { background: #f2f2f5; }
.aj-mini.escuro { background: #000; }
.aj-mini i { display: block; height: 9px; border-radius: 3px; }
.aj-mini.claro i { background: #fff; }
.aj-mini.escuro i { background: #2c2c2e; }
.aj-mini i:nth-child(2) { width: 70%; }
.aj-bola { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--muted); display: flex; align-items: center;
  justify-content: center; color: #fff; font-size: 14px; }
.aj-opcao.on .aj-bola { background: var(--accent); border-color: var(--accent); }
.aj-linha { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line);
  margin-top: 12px; padding-top: 10px; cursor: pointer; }
.aj-chave { appearance: none; -webkit-appearance: none; width: 51px; height: 31px; border-radius: 16px; margin: 0;
  background: var(--line); position: relative; cursor: pointer; transition: background .2s; }
.aj-chave::after { content: ""; position: absolute; left: 2px; top: 2px; width: 27px; height: 27px; border-radius: 50%;
  background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, .25); transition: transform .2s; }
.aj-chave:checked { background: #34c759; }
.aj-chave:checked::after { transform: translateX(20px); }
/* 14/10 (PWA, passo 2): Ajustes > Notificações, uma linha por app com o ícone pequeno, como no iPhone */
.aj-ativar { margin-top: 10px; }
.aj-app { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--line); margin-top: 10px; padding-top: 10px; }
#aj-notif-msg:empty { display: none; }
#aj-notif-apps .aj-app:first-child { margin-top: 6px; }
.aj-app > span:nth-child(2) { flex: 1; }
.aj-mini-ic { width: 29px; height: 29px; border-radius: 7px; display: flex; align-items: center; justify-content: center;
  flex: none; color: #fff; font-size: 17px; overflow: hidden; }
.aj-mini-ic > img { max-width: 72%; max-height: 42%; filter: brightness(0) invert(1); }
.aj-mini-ic.app-lv { color: var(--lv); box-shadow: inset 0 0 0 1px var(--line); }
.aj-mini-ic.app-ig > img { width: 29px; height: 29px; max-width: none; max-height: none; filter: none; }
.push-folha { text-align: center; }
.push-ic { width: 56px; height: 56px; border-radius: 14px; margin: 2px auto 12px; background: var(--accent); color: var(--on-accent);
  display: flex; align-items: center; justify-content: center; font-size: 30px; }
.push-txt { margin: 0 8px 14px; }
.push-folha .link { width: 100%; margin-top: 4px; }
.aj-fotos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.aj-foto { aspect-ratio: 9 / 16; border: 0; border-radius: 10px; background: var(--line) center / cover no-repeat;
  cursor: pointer; display: flex; align-items: flex-end; justify-content: flex-end; padding: 6px; color: #fff; font-size: 18px; }
.aj-foto.on { outline: 3px solid var(--accent); outline-offset: 2px; }
.aj-foto .ti { background: var(--accent); border-radius: 50%; width: 24px; height: 24px; display: flex;
  align-items: center; justify-content: center; font-size: 16px; }
/* 14/10 (PWA, passo 3): a foto de perfil é redonda, como no Telegram */
.aj-fotos.perfil { grid-template-columns: repeat(4, 1fr); gap: 12px; }
.aj-fotos.perfil .aj-foto { aspect-ratio: 1; border-radius: 50%; padding: 0; background-position: center 20%; }

/* Entrar e instalar (13/10) */
.entrar { text-align: center; padding-top: 40px; max-width: 340px; margin: 0 auto; }
.entrar-ic img { width: 72px; height: 72px; border-radius: 16px; }
.entrar h1 { margin: 14px 0 6px; }
#entrar-codigo { display: block; width: 100%; margin: 18px 0 6px; padding: 12px; font: 600 28px/1 ui-monospace, monospace;
  letter-spacing: 8px; text-align: center; border: 1px solid var(--line); border-radius: 12px; background: var(--bg2); color: var(--fg); }
.entrar .primary { width: 100%; }
.instalar-passos { text-align: left; margin: 22px 0; padding: 0; list-style: none; counter-reset: p; }
.instalar-passos li { counter-increment: p; display: flex; align-items: center; gap: 6px; padding: 12px 0;
  border-bottom: 1px solid var(--line); }
.instalar-passos li::before { content: counter(p); width: 24px; height: 24px; border-radius: 50%; background: var(--bg2);
  display: inline-flex; align-items: center; justify-content: center; font-weight: 600; font-size: 13px; margin-right: 6px; flex-shrink: 0; }
.instalar-passos .ti { font-size: 20px; color: var(--accent); }

/* barras de marca (Nubank / iFood) */
.brandbar { margin: -16px -16px 16px; padding: 18px 16px; display: flex; align-items: center; gap: 12px; color: #fff; font-weight: 600; }
.brandbar.nu { background: var(--nu); }
.brandbar.ifood { background: var(--ifood); }
html:not(.pwa) #voltar:not([hidden]) ~ section .brandbar { margin-top: 0; border-radius: 12px; }   /* Telegram sem o voltar nativo */
/* 14/10 (Patrick, PWA): a cor sobe por baixo do relógio do iPhone e a seta de voltar fica na faixa, como no Nubank */
html.pwa .brandbar { margin-top: calc(-16px - var(--topo)); padding-top: calc(18px + var(--topo)); gap: 10px; }
/* 14/10 (Patrick): no app instalado não há "Voltar" no topo; cada app tem a seta na linha do próprio cabeçalho */
.volta { display: none; }
html:not(.pwa) .so-pwa { display: none; }
html.pwa .so-pwa { display: flex; }
html.pwa .volta { display: inline-flex; align-items: center; justify-content: center; flex: none; background: none; border: 0;
  color: inherit; padding: 0; margin-left: -6px; font-size: 24px; cursor: pointer; }
html.pwa .brandbar .volta { color: #fff; }
.cab-volta { display: flex; align-items: center; gap: 4px; }
.if-end-linha, .linha-volta { display: flex; align-items: center; gap: 8px; }
.linha-volta { margin-bottom: 10px; }
.linha-volta .if-busca { flex: 1; margin: 0; }
.if-end-linha .if-end { margin-bottom: 0; }
.if-end-linha { margin-bottom: 10px; }
.ig-top > .volta + * { margin-right: auto; }
html.pwa .ig-top > .volta { margin: 0 4px 0 -4px; }   /* a seta na mesma coluna dos outros apps (x = 10) */
.folha-top > span:first-child { display: flex; }
/* na capa da loja e na foto do prato: o círculo branco do iFood por cima da imagem */
html.pwa .volta.flutua { position: absolute; top: calc(var(--topo) + 10px); left: 12px; z-index: 2; margin: 0;
  width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: #111; font-size: 22px; }
html.pwa .loja-capa, html.pwa .prato-foto { position: relative; margin-top: calc(-16px - var(--topo)); }
html.pwa .loja-capa { height: calc(170px + var(--topo)); }
html.pwa #voltar { display: none; }
.brandlogo { height: 24px; }
.brandlogo.white { filter: brightness(0) invert(1); }

/* Nubank */
.contato { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: color-mix(in srgb, var(--nu) 15%, transparent);
  color: var(--nu); display: flex; align-items: center; justify-content: center; font-weight: 600; }
.pergunta { display: block; font-size: 20px; font-weight: 600; margin-bottom: 10px; }
.valor-wrap { display: flex; align-items: baseline; gap: 6px; border-bottom: 2px solid var(--nu); margin-bottom: 14px; }
.valor-wrap span { font-size: 24px; font-weight: 600; }
.valor-wrap input { border: 0; font-size: 32px; font-weight: 600; padding: 4px 0; margin: 0; background: transparent; }
.valor-wrap input:focus { outline: none; }
.saldo { font-size: 32px; font-weight: 700; margin: 2px 0 14px; }
.saldo.nu { color: var(--nu); }
.rows { margin-bottom: 14px; }
.row2 { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.row2 > span:last-child { text-align: right; }
.row2.total { font-weight: 700; border-bottom: 0; }
.pixtag { display: inline-flex; align-items: center; gap: 6px; }
.pixicon { height: 16px; }
/* 15/10 (PWA, passo 4): o comprovante no Nubank e a lista "Suas transferências" na Área Pix */
.cp-ok { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--nu) 14%, transparent); color: var(--nu); font-size: 22px; }
.cp-titulo { font-size: 20px; font-weight: 600; margin: 12px 0 2px; }
.cp-rot { margin-top: 18px; }
.cp-extra { display: block; font-size: 12px; color: var(--muted); }
.nu-lista { margin-top: 26px; }
.nu-lista-tit { font-weight: 600; margin-bottom: 4px; }
.nu-item { display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 12px; width: 100%; padding: 11px 0;
  background: none; border: 0; border-bottom: 1px solid var(--line); color: var(--fg); font: inherit; text-align: left; cursor: pointer; }
.nu-item:last-child { border-bottom: 0; }
.nu-item-ic { width: 36px; height: 36px; border-radius: 50%; background: var(--bg2); display: flex; align-items: center;
  justify-content: center; font-size: 18px; }
.nu-item-txt, .nu-item-dir { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.nu-item-txt b, .nu-item-dir b { font-weight: 600; font-size: 14px; }
.nu-item-txt > span, .nu-item-dir > span { font-size: 12px; color: var(--muted); }
.nu-item-dir { align-items: flex-end; font-variant-numeric: tabular-nums; }
.gratis { color: var(--ok); }

/* iFood */
.endereco { display: flex; flex-direction: column; margin-bottom: 14px; }
.aviso { font-weight: 600; margin: 0 0 8px; }
.pedido { background: var(--bg2); border-radius: 14px; padding: 12px 14px; margin-bottom: 12px; }
.pedido-top { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.mini { height: 14px; }
.headline { font-weight: 600; margin: 8px 0 4px; color: var(--ifood); }
.etapas { list-style: none; margin: 6px 0; padding: 0; }
.etapas li { display: grid; grid-template-columns: 14px 1fr auto; align-items: center; gap: 10px; padding: 4px 0; color: var(--muted); font-size: 13px; }
.etapas .dot { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--line); }
.etapas li.done, .etapas li.current { color: var(--fg); }
.etapas li.done .dot { background: var(--ifood); border-color: var(--ifood); }
.etapas li.current .dot { border-color: var(--ifood); }
.etapas li.current .lbl { font-weight: 600; }
.etapas .hora { font-size: 12px; color: var(--muted); }

/* listas */
.list .item { display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 11px 2px; border-bottom: 1px solid var(--line); }
.list .item:last-child { border-bottom: 0; }
.list button.item { width: 100%; background: none; border: 0; border-bottom: 1px solid var(--line);
  color: var(--fg); font: inherit; text-align: left; cursor: pointer; }
.list button.item.sel { background: color-mix(in srgb, var(--ifood) 8%, transparent); }
.plus { color: var(--ok); font-weight: 600; white-space: nowrap; }
.minus { white-space: nowrap; }

input, textarea { width: 100%; background: var(--bg); color: var(--fg); border: 1px solid var(--line);
  border-radius: 10px; padding: 10px 12px; font: inherit; font-size: 16px; margin: 6px 0; }
/* 26/09 (Patrick): sem zoom (pinça, duplo toque, foco em campo — o iOS amplia campo < 16px) */
html, body { touch-action: pan-x pan-y; -webkit-text-size-adjust: 100%; }
button.primary { width: 100%; background: var(--accent); color: var(--on-accent); border: 0; border-radius: 999px;
  padding: 13px; font: inherit; font-weight: 600; margin-top: 10px; cursor: pointer; }
button.primary.nu { background: var(--nu); color: #fff; }
button.primary.ifood { background: var(--ifood); color: #fff; border-radius: 10px; }
button.primary:disabled { opacity: .5; }
.err { color: #d64545; font-size: 13px; }

/* bastidores */
.bar-row { display: grid; grid-template-columns: 92px 1fr 104px; align-items: center; gap: 10px; padding: 5px 0; }
.bar { height: 8px; background: var(--line); border-radius: 99px; overflow: hidden; }
.bar > i { display: block; height: 100%; background: var(--accent); border-radius: 99px; }
.bar.warm > i { background: #d4537e; }
.un-cor { display: flex; align-items: center; gap: 8px; }
.un-dot { width: 14px; height: 14px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 1px var(--line); }
.ca-barras { margin-top: 8px; }
.bar.alerta > i { background: #d9912b; }
.bar-row .w { font-size: 12px; color: var(--muted); white-space: nowrap; text-align: right; overflow: hidden; text-overflow: ellipsis; }
.feel { padding: 7px 0; border-bottom: 1px solid var(--line); }
.feel:last-child { border-bottom: 0; }
.feel .head { display: grid; grid-template-columns: 1fr 70px; gap: 10px; align-items: center; }
.feel .why { font-size: 12px; color: var(--muted); margin-top: 2px; display: flex; justify-content: space-between; gap: 10px; }
.qd { flex: none; font-size: 12px; font-weight: 400; color: var(--muted); white-space: nowrap; }
/* 28/09 (Patrick): a barra desliza até o valor novo na recarga de 30 s */
.bar > i, .ag-bar > i { transition: width .9s ease; }
/* Na cabeça: o que vem pela frente e a vontade dela de ir */
.dt { color: var(--muted); }
.feel .t .vezes { color: var(--muted); font-weight: 600; margin-right: 6px; }   /* 04/10: "2x Saudade do Patrick" */
/* Hoje por dentro: hora, sentimento e o motivo embaixo */
.dr { display: grid; grid-template-columns: 44px 1fr; gap: 8px; padding: 6px 0; font-size: 14px; border-bottom: 1px solid var(--line); }
.dr:last-of-type { border-bottom: 0; }
.dr-h { font-size: 12px; color: var(--muted); padding-top: 2px; font-variant-numeric: tabular-nums; }
.dr-m { font-size: 12px; color: var(--muted); margin-top: 1px; display: flex; justify-content: space-between; gap: 10px; }
.dr-m > span:first-child { min-width: 0; }
.dr-d { flex: 0 1 auto; max-width: 42%; text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dr-mais { display: block; width: 100%; background: none; border: 0; border-top: 1px solid var(--line); color: var(--accent);
  font: inherit; font-size: 13px; padding: 9px 0 3px; text-align: left; cursor: pointer; }
.pre { white-space: pre-wrap; font: 13px/1.5 inherit; margin: 0; }
#toast { position: fixed; left: 16px; right: 16px; bottom: 90px; z-index: 30; background: var(--fg); color: var(--bg);
  padding: 12px 14px; border-radius: 12px; font-size: 14px; text-align: center; }

/* ======================================================= iFood (26/09, prints reais) */
.view.if { padding-bottom: 96px; }
.if-top { margin: -16px -16px 8px; padding: 14px 16px 6px; background: var(--bg); }
.if-end { display: flex; flex-direction: column; margin-bottom: 10px; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; border: 1px solid var(--line); background: var(--bg); color: var(--fg); border-radius: 999px;
  padding: 8px 14px; font: inherit; font-size: 14px; cursor: pointer; }
.chip.on { border-color: var(--ifood); color: var(--ifood); font-weight: 600; }
.if-h { font-size: 19px; font-weight: 700; margin: 18px 0 10px; }
.if-andamento { margin-top: 10px; }
.loja-row { display: flex; align-items: center; gap: 14px; width: 100%; background: none; border: 0; color: var(--fg);
  font: inherit; text-align: left; padding: 10px 0; cursor: pointer; }
.loja-row.off { opacity: .55; }
.loja-circ { width: 68px; height: 68px; border-radius: 50%; object-fit: cover; flex: none; border: 1px solid var(--line); background: #fff; }
.lr-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.lr-nome { font-size: 16px; font-weight: 600; }
.estrela { color: #c98a00; }
.selo-mp { background: #fde8ea; color: var(--ifood); font-size: 12px; padding: 2px 8px; border-radius: 6px; }
.tag-gratis { background: var(--bg2); color: #7b2cbf; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; }
.coracao { flex: none; color: var(--muted); font-size: 20px; }
.ped-row { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }

/* página da loja */
.loja-capa { margin: -16px -16px 0; height: 170px; background: #555 center/cover no-repeat; filter: brightness(.9); }
.loja-card { position: relative; background: var(--bg); border-radius: 18px; margin: -46px 0 0; padding: 44px 16px 6px;
  box-shadow: 0 2px 12px rgba(0,0,0,.12); }
.loja-logo { position: absolute; top: -36px; left: 50%; transform: translateX(-50%); width: 72px; height: 72px;
  border-radius: 50%; object-fit: cover; border: 3px solid var(--bg); background: #fff; }
.loja-nome { font-size: 22px; font-weight: 700; }
.loja-linha { display: flex; justify-content: space-between; align-items: center; padding: 11px 0; border-top: 1px solid var(--line); margin-top: 8px; }
.fechada { font-weight: 600; }
.secoes-tabs { position: sticky; top: 0; z-index: 2; display: flex; gap: 18px; overflow-x: auto; background: var(--bg);
  margin: 10px -16px 0; padding: 10px 16px; border-bottom: 1px solid var(--line); scrollbar-width: none; }
.secoes-tabs button { flex: none; background: none; border: 0; color: var(--muted); font: inherit; font-size: 15px; cursor: pointer; padding: 0; }
.dest-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.dest { background: none; border: 0; padding: 0; text-align: left; color: var(--fg); font: inherit; cursor: pointer; }
.dest, .car-item, .classico { display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch; }
.dest-foto { position: relative; aspect-ratio: 1; border-radius: 12px; background: var(--bg2) center/cover no-repeat; }
.selo { position: absolute; top: 6px; left: 6px; background: rgba(40,40,40,.8); color: #fff; font-size: 11px; padding: 3px 8px; border-radius: 999px; }
.dest-preco { margin-top: 6px; font-size: 15px; }
.dest-nome { font-size: 14px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.prato-row { display: flex; gap: 12px; width: 100%; background: none; border: 0; border-bottom: 1px solid var(--line);
  color: var(--fg); font: inherit; text-align: left; padding: 14px 0; cursor: pointer; }
.pr-txt { flex: 1; min-width: 0; }
.dois { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 3px 0 8px; }
.pr-preco { font-size: 15px; }
.pr-img { width: 104px; height: 104px; flex: none; border-radius: 12px; background: var(--bg2) center/cover no-repeat; }

/* prato aberto */
.prato-foto { margin: -16px -16px 0; aspect-ratio: 1; max-height: 58vh; background: var(--bg2) center/cover no-repeat; }
.prato-corpo { padding-top: 16px; }
.prato-nome { font-size: 22px; font-weight: 700; }
.prato-desc { font-size: 15px; margin: 6px 0; }
.prato-preco { font-size: 20px; margin: 14px 0 18px; }
.obs-head { display: flex; justify-content: space-between; font-weight: 600; margin-top: 8px; }
.rodape-add, .rodape-total, .barra-sacola { position: fixed; left: 0; right: 0; bottom: 0; z-index: 5; background: var(--bg);
  border-top: 1px solid var(--line); padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); display: flex; gap: 12px; align-items: center; }
.barra-sacola[hidden] { display: none; }
.rodape-total { justify-content: space-between; }
.stepper { display: flex; align-items: center; gap: 16px; border: 1px solid var(--line); border-radius: 12px; padding: 8px 14px; }
.stepper { font-variant-numeric: tabular-nums; }
.stepper button { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; background: none; border: 0;
  color: var(--ifood); font-size: 20px; line-height: 1; cursor: pointer; padding: 0; }
.stepper span { min-width: 18px; text-align: center; }
.stepper button:disabled { color: var(--line); }
.btn-vermelho { background: var(--ifood); color: #fff; border: 0; border-radius: 12px; padding: 14px 18px; font: inherit;
  font-weight: 600; font-size: 16px; display: flex; justify-content: space-between; gap: 12px; flex: 1; cursor: pointer; }
.btn-vermelho.largo { width: 100%; justify-content: center; }
.barra-sacola .btn-vermelho.largo { justify-content: space-between; }
.btn-vermelho:disabled { opacity: .5; }
.link-vermelho { background: none; border: 0; color: var(--ifood); font: inherit; font-weight: 600; padding: 0; cursor: pointer; }
.link-vermelho.centro { display: block; margin: 14px auto 4px; }

/* sacola, entrega, pagamento */
.folha-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; margin-bottom: 14px; }
.folha-top > :last-child { justify-self: end; }
.sc-loja { display: flex; gap: 12px; align-items: center; }
.sc-loja img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; background: #fff; }
.aviso-min { background: #fff6e0; color: #6b4e00; border-radius: 12px; padding: 12px 14px; margin: 14px 0 0; font-size: 14px; }
.aviso-min[hidden] { display: none; }
.sc-item { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; }
.sc-img { width: 64px; height: 64px; flex: none; border-radius: 10px; background: var(--bg2) center/cover no-repeat; }
.sc-txt { flex: 1; min-width: 0; }
.sc-ctl { flex: none; display: grid; grid-template-columns: 32px 24px 32px; align-items: center; justify-items: center;
  height: 40px; background: var(--bg2); border-radius: 12px; padding: 0 6px; font-variant-numeric: tabular-nums; }
.sc-ctl button { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
  background: none; border: 0; color: var(--ifood); font-size: 18px; cursor: pointer; padding: 0; }
.carrossel { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
.car-item { flex: none; width: 128px; background: none; border: 0; text-align: left; color: var(--fg); font: inherit; cursor: pointer; padding: 0; }
.car-foto { position: relative; width: 128px; height: 128px; border-radius: 12px; background: var(--bg2) center/cover no-repeat; margin-bottom: 6px; }
.car-mais { position: absolute; right: 6px; bottom: 6px; width: 34px; height: 34px; border-radius: 50%; background: #fff; color: #222;
  display: flex; align-items: center; justify-content: center; font-size: 18px; box-shadow: 0 1px 4px rgba(0,0,0,.2); }
.linha-end, .rv-linha { display: flex; gap: 14px; align-items: center; padding: 8px 0; }
.ic { flex: none; width: 28px; display: flex; justify-content: center; font-size: 22px; }
.rv-flex { display: flex; justify-content: space-between; align-items: flex-end; flex: 1; }
.opcao-entrega { display: flex; justify-content: space-between; align-items: center; border: 1.5px solid var(--fg); border-radius: 12px; padding: 14px; }
.opcao-dir { display: flex; align-items: center; gap: 12px; }
.radio { width: 22px; height: 22px; border-radius: 50%; border: 6px solid var(--ifood); }
.ifood-pago { background: var(--bg2); border-radius: 16px; padding: 12px; }
.mini-if { height: 16px; vertical-align: middle; }
.pago { color: var(--ifood); font-weight: 700; font-style: italic; margin-left: 4px; }
.pix-linha { display: flex; align-items: center; gap: 12px; background: var(--bg); border-radius: 12px; padding: 14px; margin-top: 10px; }
.pix-linha span:nth-child(2) { flex: 1; }
.pixicon.grande { height: 26px; }
.resumo .rs-linha { display: flex; justify-content: space-between; padding: 6px 0; }
.resumo .rs-linha.total { font-weight: 700; font-size: 17px; padding-top: 10px; }
.sheet-fundo { position: fixed; inset: 0; z-index: 20; background: rgba(0,0,0,.45); display: flex; align-items: flex-end; }
.sheet-fundo[hidden] { display: none; }
.sheet { width: 100%; background: var(--bg); border-radius: 22px 22px 0 0; padding: 10px 20px calc(18px + env(safe-area-inset-bottom)); }
.sheet-alca { width: 40px; height: 5px; border-radius: 3px; background: var(--line); margin: 0 auto 14px; }
.sheet-titulo { text-align: center; font-size: 21px; font-weight: 700; margin-bottom: 12px; }

/* ============================================ 26/09: ícones, abas e aba Pedidos */
.ti { line-height: 1; }
.com-ic { display: inline-flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.d.com-ic, .linha-ic { display: flex; }
.linha-ic { gap: 10px; padding: 1px 0; flex-wrap: nowrap; align-items: flex-start; }
.linha-ic .ti { flex: none; width: 18px; text-align: center; margin-top: .2em; }
.estrela { color: #c98a00; }
.ok { color: var(--ok); }
#voltar .ti { font-size: 14px; }

.if-busca-falsa { width: 100%; display: flex; align-items: center; gap: 10px; background: var(--bg2); color: var(--muted); border: 0;
  border-radius: 999px; padding: 11px 16px; margin: 0 0 10px; font: inherit; font-size: 16px; cursor: pointer; text-align: left; }
.if-busca { display: flex; align-items: center; gap: 10px; background: var(--bg2); border-radius: 999px; padding: 0 16px; margin: 0 0 10px; }
.if-busca .ti { color: var(--muted); }
.if-busca input { flex: 1; background: none; border: 0; border-radius: 0; padding: 11px 0; margin: 0; }
.if-busca input:focus { outline: none; }

.if-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 6; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
  background: var(--bg); border-top: 1px solid var(--line); padding: 6px 0 calc(6px + env(safe-area-inset-bottom)); }
.if-nav[hidden] { display: none; }
.if-nav button { display: flex; flex-direction: column; align-items: center; gap: 3px; background: none; border: 0;
  color: var(--muted); font: inherit; font-size: 12px; cursor: pointer; padding: 4px 0; }
.if-nav .ti { font-size: 22px; }
.if-nav button.on { color: var(--fg); font-weight: 600; }

.classico { flex: none; width: 136px; background: var(--bg2); border: 0; border-radius: 16px; padding: 14px 10px 12px;
  align-items: center; text-align: center; color: var(--fg); font: inherit; cursor: pointer; gap: 6px; }
.classico .loja-circ { width: 60px; height: 60px; }
.cl-nome { font-weight: 600; font-size: 14px; line-height: 1.25; min-height: 2.5em; display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden; }
.pd-dia { color: var(--muted); font-size: 16px; margin: 16px 0 10px; }
.pd-card { border: 1px solid var(--line); border-radius: 18px; padding: 16px 16px 0; margin-bottom: 12px; }
.pd-loja { display: flex; align-items: center; gap: 12px; }
.loja-circ.peq { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; color: var(--muted); }
.pd-itens { display: flex; align-items: center; gap: 12px; padding: 14px 0; }
.pd-lista { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.pd-item { display: grid; grid-template-columns: 22px 1fr; align-items: center; gap: 10px; }
.pd-item .qtd { height: 22px; border: 1px solid var(--line); border-radius: 5px; font-size: 12px; font-weight: 600;
  display: flex; align-items: center; justify-content: center; font-variant-numeric: tabular-nums; }
.pd-item .nome { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pd-foto { flex: none; width: 60px; height: 60px; border-radius: 50%; background: var(--bg2) center/cover no-repeat; }
.pd-acoes { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.pd-acoes button { padding: 14px 0; text-align: center; }
.vazio { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 40px 20px; }
.vazio > .ti { font-size: 36px; color: var(--muted); }

/* ============================================ 26/09: Bastidores em abas */
/* 06/10 (redesenho, passo 2, Patrick): barra de baixo só com ícones (a tela aberta em azul) e, no Por dentro e no
   Mundo, sub-abas em pílula presas no topo ao rolar */
.view.bast { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
.bs-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 6; display: grid; grid-template-columns: repeat(5, 1fr);
  background: var(--bg); border-top: 1px solid var(--line); padding: 8px 0 calc(8px + env(safe-area-inset-bottom)); }
.bs-nav[hidden] { display: none; }
.bs-nav button { display: flex; justify-content: center; align-items: center; background: none; border: 0;
  color: var(--muted); cursor: pointer; padding: 4px 0; }
.bs-nav button.on { color: var(--accent); }
.bs-nav .ti { font-size: 26px; }
.pilulas-sub { position: sticky; top: 0; z-index: 4; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none;
  background: var(--bg); margin: 0 -16px 12px; padding: 4px 16px 8px; }
.pilulas-sub::-webkit-scrollbar { display: none; }
.pilulas-sub button { flex: 1 0 auto; background: var(--bg2); border: 0; border-radius: 99px; padding: 7px 8px; font: inherit;
  font-size: 13px; white-space: nowrap; color: var(--muted); cursor: pointer; }
.pilulas-sub button.on { background: var(--fg); color: var(--bg); font-weight: 600; }
.bast-aba[hidden], .bast-sub[hidden] { display: none; }
.bast-sub > h2:first-child { margin-top: 4px; }
.linhas { display: flex; flex-direction: column; }
.linhas:not(:empty) { margin-top: 10px; }
.linhas.sep { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 4px; }
/* 04/10 (catálogo, leva 2): rótulos maiores ("Assunto pendente", "Última pesagem") numa linha só; a coluna é a
   mesma em todos os cards, pros valores ficarem na mesma régua */
.linha { display: grid; grid-template-columns: 22px 114px 1fr; align-items: baseline; gap: 8px; padding: 5px 0; font-size: 14px; }
.li-ic { color: var(--muted); text-align: center; }
.li-rot { color: var(--muted); white-space: nowrap; }
.li-val { min-width: 0; }
.vazio-txt { margin: 2px 0; }
/* 26/09 (Patrick): ícones próprios — chuveiro no traço do Tabler; hand-love-you invertido (masturbação) */
.ti-chuveiro::before { content: ""; display: inline-block; width: 1em; height: 1em; vertical-align: -0.125em; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20v-11a5 5 0 0 1 5 -5h1a5 5 0 0 1 5 5'/%3E%3Cpath d='M11 9h8'/%3E%3Cpath d='M13 13v.01M16 13v.01M19 13v.01M13 16v.01M16 16v.01M19 16v.01M16 19v.01'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20v-11a5 5 0 0 1 5 -5h1a5 5 0 0 1 5 5'/%3E%3Cpath d='M11 9h8'/%3E%3Cpath d='M13 13v.01M16 13v.01M19 13v.01M13 16v.01M16 16v.01M19 16v.01M16 19v.01'/%3E%3C/svg%3E") center / contain no-repeat; }
.ic-inv { display: inline-block; transform: rotate(180deg); }
.linha-tempo { list-style: none; margin: 0; padding: 0; }
/* 26/09 (Patrick): Hoje — ícone, texto, valor e hora em colunas; saída com os filhos recuados; previsto em cinza */
.hj-per { display: flex; justify-content: space-between; align-items: center; width: 100%; background: none; border: 0;
  padding: 8px 0 4px; font: inherit; font-size: 12px; color: var(--muted); text-align: left; }
.hj-per:first-child { padding-top: 0; }
.hj-per.passado { cursor: pointer; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.hj-per.passado + .linha-tempo { margin-top: 4px; }
.hj-per:disabled { cursor: default; }
.linha-tempo > li { display: grid; grid-template-columns: 20px 1fr auto auto; gap: 8px; align-items: baseline; padding: 5px 0; font-size: 14px; }
.lt-ic { color: var(--muted); text-align: center; }
.lt-txt { min-width: 0; }
.lt-sub { display: block; font-size: 12px; color: var(--muted); }
.lt-val { font-size: 13px; text-align: right; font-variant-numeric: tabular-nums; }
.lt-hora { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.linha-tempo li.previsto .lt-txt, .linha-tempo li.previsto .lt-ic { color: var(--muted); }
.linha-tempo li.aviso .lt-txt, .linha-tempo li.aviso .lt-ic { color: #b07d00; font-weight: 600; }
.linha-tempo > li.lt-filhos { display: block; padding: 0 0 2px; }
.lt-filhos ol { list-style: none; margin: 0 0 0 9px; padding: 0 0 0 19px; border-left: 1.5px solid var(--line); }
.lt-filhos ol li { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; align-items: baseline; padding: 3px 0; font-size: 13.5px; }
.feel .t { font-weight: 600; font-size: 14px; }
.pilulas { display: flex; gap: 6px; margin-top: 5px; }
.pilula { font-size: 11px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 1px 8px; }
.saldo-bast { font-size: 28px; font-weight: 700; font-variant-numeric: tabular-nums; }
/* 28/09 (Patrick): Dinheiro — entrou/saiu no mês em duas colunas; extrato por dia, saída agrupada que abre ao tocar */
.bn-mes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 10px; }
.bn-mes .d { display: block; }
.bn-mes b { font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.mov { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: start; width: 100%; padding: 9px 0;
  border: 0; border-bottom: 1px solid var(--line); background: none; font: inherit; color: inherit; text-align: left; }
.mov:last-child, .mov.aberto { border-bottom: 0; }
button.mov { cursor: pointer; }
.mov-txt { min-width: 0; font-size: 14px; }
.mov-txt .ti { font-size: 14px; color: var(--muted); margin-left: 4px; }
.mov-sub { display: block; font-size: 12px; color: var(--muted); }
.mov-val { text-align: right; font-size: 14px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mov-val .mov-sub { font-variant-numeric: tabular-nums; color: var(--muted); font-weight: 400; }
.mov-filhos { margin: 0 0 6px 4px; padding-left: 12px; border-left: 1.5px solid var(--line); border-bottom: 1px solid var(--line); }
.mov-filhos:last-child { border-bottom: 0; }
.mov-filhos .mov { padding: 6px 0; border-bottom: 0; }
.mov-filhos .mov-txt, .mov-filhos .mov-val { font-size: 13.5px; }
.pessoa { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.pessoa:last-child { border-bottom: 0; }
.avatar-ini { width: 38px; height: 38px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 14%, transparent);
  color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; }
.avatar-foto { object-fit: cover; background: var(--line); }
.ps-txt { min-width: 0; }
.ps-dir { text-align: right; }
.item-m { padding: 7px 0; border-bottom: 1px solid var(--line); }
.item-m:last-child { border-bottom: 0; }
.dois-lados { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.dois-lados > .d { flex: none; }
.item-m.lugar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.ps-txt .d, .ps-txt .t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ps-dir .d { white-space: nowrap; }

/* ============================================ 26/09: card da aba Agora (layout D) */
.ag-t { font-size: 20px; font-weight: 700; }
.ag-s { font-size: 14px; color: var(--muted); margin-top: 2px; }
.ag-bar { height: 6px; border-radius: 99px; background: var(--line); margin: 12px 0 5px; overflow: hidden; }
.ag-bar > i { display: block; height: 100%; border-radius: 99px; background: var(--accent); }
.ag-bar-l { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--muted);
  font-variant-numeric: tabular-nums; white-space: nowrap; }
.ag-sep { border-top: 1px solid var(--line); margin: 11px 0; }
.ag-grade { display: grid; grid-template-columns: 22px max-content minmax(0, 1fr); gap: 7px 10px; align-items: baseline; font-size: 14px; }
.ag-rot { color: var(--muted); white-space: nowrap; }
.ag-val { min-width: 0; }
.ag-st { display: grid; grid-template-columns: 12px minmax(0, 1fr) 48px 44px; gap: 8px; align-items: center; font-size: 14px; padding: 3px 0; }
.ag-tx { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ag-vl, .ag-hr { font-size: 12px; color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ag-dot { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--line); box-sizing: border-box; }
.ag-st.feito .ag-dot { background: var(--accent); border-color: var(--accent); }
.ag-st.agora .ag-dot { border-color: var(--accent); }
.ag-st.feito .ag-tx, .ag-st.depois .ag-tx { color: var(--muted); }
.ag-st.agora .ag-tx { font-weight: 600; }
.ag-st.aviso .ag-dot { background: #d99a06; border-color: #d99a06; }
.ag-st.aviso .ag-tx { color: #b07d00; font-weight: 600; }
.ag-sub { margin: 1px 0 3px 5px; padding-left: 14px; border-left: 1.5px solid var(--line); }
.ag-sub .ag-st { font-size: 13px; grid-template-columns: 8px minmax(0, 1fr) 48px 44px; }
.ag-sub .ag-dot { width: 8px; height: 8px; }
.ag-nota { grid-column: 2 / -1; font-size: 12px; color: var(--muted); margin-top: -3px; line-height: 1.35; }
.ag-topo { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.ag-dur { text-align: right; flex: none; display: flex; flex-direction: column; font-variant-numeric: tabular-nums; }
.ag-dur b { font-size: 15px; }
.ag-dur span { font-size: 12px; color: var(--muted); }

/* ---------------------------------------------- Instagram (27/09, Etapa 5) -- */
.ig-tile { position: relative; display: inline-flex; }
.bolinha { position: absolute; top: -3px; right: -5px; width: 9px; height: 9px; border-radius: 50%; background: #ff3040;
  border: 2px solid var(--bg2); }
.bolinha[hidden] { display: none; }
.view.ig { margin: -16px -16px 0; padding-bottom: 72px; font-size: 14px; }
.ig-top { display: flex; align-items: center; justify-content: space-between; height: 48px; padding: 0 14px; }
.ig-nome { height: 30px; }
/* 15/10 (PWA, passo 4): o Direct — o aviãozinho no topo do feed e a conversa com ela */
.ig-dm { position: relative; background: none; border: 0; padding: 0; color: var(--fg); font-size: 26px; display: inline-flex; cursor: pointer; }
.ig-dm .bolinha { position: absolute; top: 0; right: -2px; }
.igdm-quem { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.igdm-quem > span { display: flex; flex-direction: column; line-height: 1.2; }
.igdm-nome { font-size: 12px; color: var(--muted); }
.igdm-lista { padding: 8px 14px 12px; display: flex; flex-direction: column; gap: 4px; min-height: 60vh; justify-content: flex-end; }
.igdm-m { display: flex; flex-direction: column; align-items: flex-start; }
.igdm-m.eu { align-items: flex-end; }
.igdm-m + .igdm-m:not(.eu), .igdm-m:not(.eu) + .igdm-m.eu { margin-top: 8px; }
.igdm-resp { font-size: 12px; color: var(--muted); margin: 6px 0 4px; }
.igdm-resp:empty { display: none; }
.igdm-story { width: 92px; aspect-ratio: 9 / 16; border-radius: 12px; background: var(--bg2) center / cover no-repeat;
  margin-bottom: 4px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.igdm-m:not(.eu) .igdm-story { margin-left: 32px; }
.igdm-story.texto span { color: #fff; font-size: 10px; font-weight: 600; text-align: center; padding: 6px; }
.igdm-linha { display: flex; align-items: flex-end; gap: 8px; max-width: 78%; }
.igdm-balao { padding: 9px 13px; border-radius: 20px; background: var(--bg2); color: var(--fg); line-height: 1.35;
  overflow-wrap: anywhere; }
.igdm-m.eu .igdm-balao { background: #7f3cf0; color: #fff; }
.ig-av.mini { width: 24px; height: 24px; font-size: 9px; }
.ig-av.mini.vazio { visibility: hidden; }
.igdm-visto { align-self: flex-end; font-size: 12px; color: var(--muted); margin-top: 2px; }
.ig-titulo { font-size: 20px; }
.ig-av { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; flex: none; display: inline-flex; align-items: center;
  justify-content: center; background: var(--bg2); color: var(--muted); font-size: 11px; font-weight: 600; }
.ig-av.pq { width: 28px; height: 28px; font-size: 10px; }
.ig-av.md { width: 32px; height: 32px; }
.ig-av.gd { width: 62px; height: 62px; font-size: 16px; }
.ig-av.xl { width: 84px; height: 84px; font-size: 22px; }
.ig-vermelho { color: #ff3040; }
.ig-men { background: none; border: 0; padding: 0; font: inherit; color: #4f8fd6; cursor: pointer; }
.ig-flex { flex: 1; }

/* stories */
.ig-stories { display: flex; gap: 14px; overflow-x: auto; padding: 4px 14px 12px; border-bottom: 1px solid var(--line);
  scrollbar-width: none; }
.ig-stories[hidden] { display: none; }
.ig-anel-b { background: none; border: 0; padding: 0; display: flex; flex-direction: column; align-items: center; gap: 4px;
  width: 70px; flex: none; color: var(--fg); font: inherit; cursor: pointer; }
.ig-anel { display: inline-flex; padding: 2px; border-radius: 50%; border: 0; cursor: pointer;
  background: linear-gradient(45deg, #feda75, #fa7e1e 30%, #d62976 60%, #962fbf 85%, #4f5bd5); }
.ig-anel > .ig-av { border: 2px solid var(--bg); }
.ig-anel.visto { background: var(--line); }
.ig-anel-n { font-size: 11px; max-width: 70px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* post */
.igp { border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.igp-top { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; }
.igp-top > .ti { font-size: 20px; }
.igp-quem { display: flex; align-items: center; gap: 10px; background: none; border: 0; padding: 0; color: var(--fg);
  font: inherit; text-align: left; cursor: pointer; }
.igp-quem > span { display: flex; flex-direction: column; line-height: 1.2; }
.igp-local { font-size: 12px; }
.igp-foto { position: relative; aspect-ratio: 4 / 5; background: var(--bg2); overflow: hidden; user-select: none; }
/* as fotos dela saem 2:3; no 4:5 o corte centrado cortava a testa (27/09): corta mais embaixo, como no app de verdade */
.igp-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; display: block; }
.ig-marcas { position: absolute; left: 10px; bottom: 10px; width: 28px; height: 28px; border-radius: 50%; border: 0;
  background: rgba(0, 0, 0, .7); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.ig-marcas-lista { position: absolute; left: 44px; bottom: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.ig-marcas-lista[hidden] { display: none; }
.ig-marca { background: rgba(0, 0, 0, .75); color: #fff; border: 0; border-radius: 6px; padding: 5px 9px; font: inherit;
  font-size: 13px; font-weight: 600; cursor: pointer; }
.ig-pop { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none;
  color: #fff; font-size: 96px; animation: igpop .8s ease-out forwards; }
@keyframes igpop { 0% { transform: scale(.4); opacity: 0; } 25% { transform: scale(1.1); opacity: .95; }
  70% { transform: scale(1); opacity: .95; } 100% { transform: scale(1); opacity: 0; } }
.igp-acoes { display: flex; align-items: center; gap: 14px; padding: 8px 12px 4px; }
.igp-acoes button, .ig-ic { background: none; border: 0; padding: 0; color: var(--fg); cursor: pointer; display: inline-flex; }
.igp-acoes .ti { font-size: 25px; }
.igp-curtidas, .igp-leg, .igp-quando, .igp-ver { padding: 0 12px; }
.igp-leg { margin-top: 3px; line-height: 1.35; }
.igp-ver { display: block; background: none; border: 0; color: var(--muted); font: inherit; margin-top: 3px; cursor: pointer; }
.igp-quando { color: var(--muted); font-size: 11px; margin-top: 4px; }

/* comentários */
.igc-lista { padding: 6px 0 90px; }
.igc { display: flex; align-items: flex-start; gap: 10px; padding: 8px 12px; }
.igc.resp { padding-left: 50px; }
.igc > button:first-child { background: none; border: 0; padding: 0; cursor: pointer; }
.igc-corpo { flex: 1; min-width: 0; }
.igc-linha { display: flex; gap: 8px; align-items: baseline; font-size: 13px; }
.igc-q { color: var(--muted); font-size: 12px; }
.igc-txt { line-height: 1.35; overflow-wrap: anywhere; }
.igc-acoes { display: flex; gap: 14px; align-items: center; color: var(--muted); font-size: 12px; font-weight: 600; margin-top: 3px; }
.igc-acoes button { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; }
.igc-autora { display: inline-flex; align-items: center; gap: 3px; font-weight: 400; }
.igc-cor { background: none; border: 0; padding: 4px 0 0; color: var(--muted); cursor: pointer; }
.igc-cor .ti { font-size: 14px; }
.igc-vazio { text-align: center; padding: 20px; }
.ig-escrever { position: fixed; left: 0; right: 0; bottom: 0; z-index: 6; background: var(--bg); border-top: 1px solid var(--line);
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); }
.ig-escrever-linha { display: flex; align-items: center; gap: 10px; max-width: 560px; margin: 0 auto; }
.ig-escrever-linha input { flex: 1; min-width: 0; margin: 0; border-radius: 999px; }
.ig-publicar { background: none; border: 0; color: #0095f6; font: inherit; font-weight: 600; cursor: pointer; }
.ig-respondendo { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 12px;
  max-width: 560px; margin: 0 auto 6px; }
.ig-respondendo[hidden] { display: none; }
.ig-respondendo button { background: none; border: 0; color: var(--muted); cursor: pointer; }

/* perfil */
.igpf-handle b { font-size: 20px; }
.igpf-cab { display: flex; align-items: center; gap: 24px; padding: 4px 16px 10px; }
.igpf-nums { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; }
.igpf-nums div { display: flex; flex-direction: column; line-height: 1.2; }
.igpf-nums b { font-size: 17px; }
.igpf-nums span { font-size: 13px; }
.igpf-bio { padding: 0 16px 12px; line-height: 1.35; }
.igpf-bio b { display: block; }
.igpf-botoes { display: flex; gap: 6px; padding: 0 16px 14px; }
.ig-btn { flex: 1; background: var(--bg2); color: var(--fg); border: 0; border-radius: 8px; padding: 8px; font: inherit;
  font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 4px; cursor: pointer; }
.igpf-abas { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.igpf-abas button { background: none; border: 0; border-bottom: 1px solid transparent; padding: 10px; color: var(--muted);
  cursor: pointer; }
.igpf-abas button.on { color: var(--fg); border-bottom-color: var(--fg); }
.igpf-abas .ti { font-size: 22px; }
.igpf-grade { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.igpf-tile { aspect-ratio: 3 / 4; border: 0; padding: 0; background: var(--bg2) 50% 20% / cover no-repeat; cursor: pointer; }
#igpf-posts[hidden], #igpf-marcadas[hidden] { display: none; }

/* atividade */
.iga { display: flex; align-items: center; gap: 12px; width: 100%; background: none; border: 0; padding: 10px 14px;
  color: var(--fg); font: inherit; text-align: left; cursor: pointer; }
.iga.nova { background: color-mix(in srgb, #0095f6 8%, transparent); }
.iga-txt { line-height: 1.35; }
.iga-q { color: var(--muted); }

/* barra de baixo */
.ig-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 6; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
  background: var(--bg); border-top: 1px solid var(--line); padding: 8px 0 calc(8px + env(safe-area-inset-bottom)); }
.ig-nav[hidden] { display: none; }
.ig-nav button { position: relative; display: flex; justify-content: center; align-items: center; background: none; border: 0;
  color: var(--muted); cursor: pointer; padding: 4px 0; }
.ig-nav button.on { color: var(--fg); }
.ig-nav .ti { font-size: 26px; }
.ig-nav .bolinha { top: 2px; right: calc(50% - 16px); width: 6px; height: 6px; border: 0; }
.ig-nav [data-tab="igperfil"].on .ig-av { outline: 2px solid var(--fg); outline-offset: 1px; }

/* visualizador de story */
body.sem-rolar { overflow: hidden; }
.igs-fundo { position: fixed; inset: 0; z-index: 40; background: #000; color: #fff; display: flex; flex-direction: column; }
.igs-fundo[hidden] { display: none; }
.igs-barras { display: flex; gap: 3px; padding: calc(8px + env(safe-area-inset-top)) 8px 0; }
html.pwa .igs-barras { padding-top: calc(8px + var(--topo)); }
.igs-barra { flex: 1; height: 2px; background: rgba(255, 255, 255, .35); border-radius: 2px; overflow: hidden; }
.igs-barra i { display: block; height: 100%; width: 0; background: #fff; }
.igs-barra i.cheia { width: 100%; }
.igs-barra i.anda { animation: igsanda 6s linear forwards; }
@keyframes igsanda { from { width: 0; } to { width: 100%; } }
.igs-topo { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; }
.igs-topo > span { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.igs-topo > span span:last-child { color: rgba(255, 255, 255, .7); }
.igs-topo button { background: none; border: 0; color: #fff; font-size: 26px; cursor: pointer; position: relative; z-index: 2; }
.igs-conteudo { position: relative; flex: 1; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.igs-foto { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.igs-musica { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.igs-musica img, .igs-capa-vazia { width: 220px; height: 220px; border-radius: 10px; object-fit: cover; }
.igs-capa-vazia { background: #333; display: flex; align-items: center; justify-content: center; font-size: 60px; }
.igs-faixa { background: #fff; color: #111; border-radius: 10px; padding: 8px 14px; display: flex; flex-direction: column;
  align-items: center; min-width: 180px; }
.igs-faixa span { color: #666; font-size: 13px; }
.igs-texto { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 30px;
  text-align: center; font-size: 26px; font-weight: 600; line-height: 1.25; }
.igs-legenda { position: absolute; left: 0; right: 0; bottom: 18%; text-align: center; font-weight: 600; font-size: 18px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .6); padding: 0 20px; }
.igs-lado { position: absolute; top: 90px; bottom: 80px; width: 35%; background: none; border: 0; z-index: 1; }
.igs-lado.esq { left: 0; }
.igs-lado.dir { right: 0; width: 65%; }
.igs-rodape { display: flex; align-items: center; gap: 12px; padding: 10px 12px calc(12px + env(safe-area-inset-bottom));
  position: relative; z-index: 2; }
.igs-rodape[hidden] { display: none; }
.igs-rodape input { flex: 1; min-width: 0; margin: 0; background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .6);
  border-radius: 999px; padding: 10px 16px; }
.igs-rodape input::placeholder { color: rgba(255, 255, 255, .8); }
.igs-rodape button { background: none; border: 0; color: #fff; font-size: 26px; cursor: pointer; display: inline-flex; }
.tg-escuro .ig-nome { filter: invert(1); }
.igs-blur { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(40px) brightness(.55);
  transform: scale(1.2); }
.igs-musica { position: relative; z-index: 1; }

/* ------------------------------------------------ Lovense (05/10, passo 2) -- */
/* Igual ao Lovense Remote (Patrick, 04/10): branco com o rosa da marca, modos na barra de baixo */
:root { --lv: #ff2e86; --lv-claro: color-mix(in srgb, var(--lv) 14%, transparent); --lv-hush: #a07bff; }
.view.lv { padding-bottom: calc(150px + env(safe-area-inset-bottom)); user-select: none; -webkit-user-select: none; }
/* 10/10 (o jogo, Patrick): escuro como o Lovense Remote oficial — só aqui; o resto do Mini App fica igual */
body.lv-escuro { --bg: #121016; --bg2: #1d1822; --fg: #f2edf3; --muted: #9b8f9f; --line: #2c2531;
  --lv-claro: color-mix(in srgb, var(--lv) 22%, transparent); background: var(--bg); color: var(--fg); }
body.lv-escuro #voltar { color: var(--muted); }
html:has(body.lv-escuro) { background: #121016; }
/* 14/10 (Patrick, no Telegram): "o próprio lovense arrasta se eu puxar pra baixo" — a página não quica no Lovense
   (no app instalado nenhuma tela quica, linha 41) */
html:has(body.lv-escuro), body.lv-escuro { overscroll-behavior: none; }
.lv-top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.lv-top .t { font-weight: 600; }
.lv-av { position: relative; width: 52px; height: 52px; flex: none; }
.lv-anel { position: absolute; inset: 0; width: 52px; height: 52px; transform: rotate(-90deg); }
.lv-anel circle { fill: none; stroke: var(--bg2); stroke-width: 3; }
.lv-anel #lv-anel { stroke: var(--lv); stroke-linecap: round; transition: stroke-dasharray .6s; }
.lv-foto { position: absolute; inset: 5px; border-radius: 50%; overflow: hidden; background: var(--lv-claro); color: var(--lv);
  display: inline-flex; align-items: center; justify-content: center; font-weight: 600; font-size: 13px; }
.lv-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lv-status { display: flex; align-items: center; gap: 6px; }
.lv-ponto { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.lv-aviso { display: flex; align-items: center; gap: 10px; border-radius: 12px; padding: 10px 14px; margin-bottom: 12px;
  font-weight: 600; background: var(--lv-claro); color: var(--lv); }
.lv-aviso[hidden] { display: none; }
.lv-aviso .ti { font-size: 20px; }
.lv-linha { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.lv-linha:has(.lv-brinqs:empty):has(.lv-tags:empty) { display: none; }
.lv-brinqs { display: flex; gap: 8px; min-width: 0; }
.lv-brinq { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--bg2);
  color: var(--fg); border: 2px solid transparent; border-radius: 12px; padding: 8px 12px; font: inherit; cursor: pointer; }
.lv-brinq:disabled { cursor: default; opacity: 1; }
.lv-brinq.on { border-color: var(--lv); }
.lv-bn { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.lv-bn .ti { font-size: 18px; color: var(--muted); }
.lv-brinq.on .lv-bn .ti { color: var(--lv); }
.lv-bat { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.lv-bat .ti { font-size: 18px; }
.lv-bat.fraca { color: #d9822b; }
.lv-tags { display: flex; gap: 6px; flex: none; white-space: nowrap; }
.lv-tag { font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--bg2); color: var(--muted); }
.lv-tag.ponto { background: var(--lv-claro); color: #ff8fbd; }
.lv-tag.beira { background: var(--lv); color: #fff; }
/* 13/10: ele segurando — a etiqueta enche da esquerda pra direita em 30 s */
.lv-tag.segurando { color: #fff; background: linear-gradient(90deg, var(--lv) var(--p, 0%), var(--lv-claro) var(--p, 0%)); }
.lv-tag.forte { background: color-mix(in srgb, #e0664f 25%, transparent); color: #ff9a85; }
/* o gráfico do tempo (últimos 2 min): a linha dele e o rastro da faixa dela */
.lv-graf { height: 84px; border-radius: 14px; background: var(--bg2); overflow: hidden; margin-bottom: 10px; }
.lv-graf svg { width: 100%; height: 100%; display: block; }
.lv-graf .linha { fill: none; stroke: var(--lv); stroke-width: 1.6; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.lv-graf .faixa { fill: var(--lv); stroke: none; }
/* a área de arrastar: excitação à esquerda, as bolinhas no meio sobre a faixa dela, Loop / Float / Tradicional à direita */
.lv-area { position: relative; display: grid; grid-template-columns: 12px 1fr 56px; gap: 12px; height: min(48vh, 360px);
  border-radius: 16px; background: var(--bg2); padding: 14px 10px 14px 12px; }
.lv-exc { position: relative; border-radius: 6px; background: color-mix(in srgb, var(--fg) 8%, transparent); overflow: hidden; }
.lv-exc i { position: absolute; left: 0; right: 0; bottom: 0; background: var(--lv); border-radius: 6px; transition: height 1s linear; }   /* 5.6.2: casa com a pergunta de 1 s, sem degrau */
.lv-exc i.beira { background: #ff7ab3; box-shadow: 0 0 12px #ff4f9a; }
.lv-exc b { position: absolute; left: -2px; right: -2px; height: 2px; background: #fff; opacity: .8; }
.lv-campo { position: relative; display: flex; justify-content: space-evenly; touch-action: none; }
.lv-faixa { position: absolute; left: 0; right: 0; pointer-events: none; border-radius: 10px; transition: bottom 1s linear, height 1s linear, filter .8s;
  background: linear-gradient(to bottom, color-mix(in srgb, var(--lv) 10%, transparent), color-mix(in srgb, var(--lv) 38%, transparent) 30%,
  color-mix(in srgb, var(--lv) 38%, transparent) 70%, color-mix(in srgb, var(--lv) 10%, transparent)); }
.lv-faixa.sensivel { background: color-mix(in srgb, #9b8f9f 30%, transparent); }
/* soak, dia 17: uma faixa por brinquedo, na cor dele (o Hush em violeta); na Tradicional, dentro da barra dele */
.lv-faixa.hush:not(.sensivel) { background: linear-gradient(to bottom, color-mix(in srgb, var(--lv-hush) 10%, transparent),
  color-mix(in srgb, var(--lv-hush) 38%, transparent) 30%, color-mix(in srgb, var(--lv-hush) 38%, transparent) 70%,
  color-mix(in srgb, var(--lv-hush) 10%, transparent)); }
.lv-faixa.fora { display: none; }
.lv-trilha .lv-faixa { left: 8px; right: 8px; }
.lv-bola.hush { background: var(--lv-hush); box-shadow: 0 0 18px color-mix(in srgb, var(--lv-hush) 55%, transparent); }
.lv-enche.hush { background: var(--lv-hush); }
.lv-trilha { position: relative; width: 64px; height: 100%; touch-action: none; cursor: grab; }
.lv-trilha::before { content: ""; position: absolute; left: 50%; top: 26px; bottom: 26px; width: 2px; margin-left: -1px;
  background: color-mix(in srgb, var(--fg) 12%, transparent); }
.lv-trilha.trad::before { left: 8px; right: 8px; width: auto; margin: 0; border-radius: 14px; top: 0; bottom: 0;
  background: color-mix(in srgb, var(--fg) 8%, transparent); }
.lv-enche { position: absolute; left: 8px; right: 8px; bottom: 0; border-radius: 0 0 14px 14px; background: var(--lv); opacity: .55; }
.lv-bola { position: absolute; left: 6px; width: 52px; height: 52px; border-radius: 50%; background: var(--lv); color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 10px; font-weight: 600;
  line-height: 1.15; box-shadow: 0 0 18px color-mix(in srgb, var(--lv) 55%, transparent); pointer-events: none; }
.lv-bola b { font-size: 15px; font-variant-numeric: tabular-nums; }
.lv-lado { display: flex; flex-direction: column; gap: 14px; align-items: center; }
.lv-lado button { display: flex; flex-direction: column; align-items: center; gap: 3px; background: none; border: 0; color: var(--muted);
  font: inherit; font-size: 10px; cursor: pointer; padding: 0; }
.lv-lado .ti { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); display: inline-flex; align-items: center;
  justify-content: center; font-size: 17px; color: var(--fg); }
.lv-lado button.on { color: var(--lv); }
.lv-lado button.on .ti { border-color: var(--lv); background: var(--lv-claro); color: var(--lv); }
.lv-padroes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lv-pd { display: flex; flex-direction: column; align-items: stretch; gap: 8px; background: var(--bg2); color: var(--fg);
  border: 2px solid transparent; border-radius: 14px; padding: 14px 12px 10px; font: inherit; font-weight: 600; cursor: pointer; }
.lv-pd svg { width: 100%; height: 34px; overflow: visible; }
.lv-pd path { fill: none; stroke: var(--muted); stroke-width: 2; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.lv-pd.on { border-color: var(--lv); color: var(--lv); }
.lv-pd.on path { stroke: var(--lv); stroke-dasharray: 6 4; animation: lvanda 0.8s linear infinite; }
@keyframes lvanda { to { stroke-dashoffset: -20; } }
.lv-forca { display: grid; grid-template-columns: auto 1fr 28px; align-items: center; gap: 12px; margin-top: 18px; }
.lv-forca input { accent-color: var(--lv); margin: 0; }
.lv-forca b { text-align: right; color: var(--lv); font-variant-numeric: tabular-nums; }
/* as sessões: como ela ficou, quando e por quanto tempo, gozos e quantas vezes ele segurou; o anel do prazer à direita */
.lv-ses-lista { display: flex; flex-direction: column; gap: 10px; }
.lv-ses { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--bg2); border-radius: 14px;
  padding: 12px 14px; }
.lv-ses .t { font-weight: 600; }
.lv-ses-det { display: flex; gap: 14px; margin-top: 4px; font-size: 12px; color: var(--muted); }
.lv-ses-det span { display: inline-flex; align-items: center; gap: 4px; }
.lv-ses-det .ti { font-size: 15px; color: var(--lv); }
.lv-ses-p { position: relative; width: 44px; height: 44px; flex: none; display: inline-flex; align-items: center; justify-content: center; }
.lv-ses-p b { position: relative; font-size: 11px; font-weight: 700; font-variant-numeric: tabular-nums; }
.lv-ses-anel { position: absolute; inset: 0; width: 44px; height: 44px; transform: rotate(-90deg); }
.lv-ses-anel circle { fill: none; stroke: color-mix(in srgb, var(--fg) 10%, transparent); stroke-width: 3.5; }
.lv-ses-anel circle + circle { stroke: var(--lv); stroke-linecap: round; }
.lv-vazio { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 70px 0; color: var(--muted); }
.lv-vazio .ti { font-size: 48px; opacity: .6; }
.lv-vazio.cortou .t { color: var(--fg); }
.lv-rodape { position: fixed; left: 0; right: 0; bottom: calc(62px + env(safe-area-inset-bottom)); z-index: 6;
  display: flex; justify-content: center; padding: 10px 16px; background: var(--bg); }
.lv-rodape[hidden] { display: none; }
.lv-parar { width: 100%; max-width: 528px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--lv); color: #fff; border: 0; border-radius: 999px; padding: 14px; font: inherit; font-weight: 700; cursor: pointer; }
.lv-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 6; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
  background: var(--bg); border-top: 1px solid var(--line); padding: 6px 0 calc(6px + env(safe-area-inset-bottom)); }
.lv-nav[hidden] { display: none; }
.lv-nav button { display: flex; flex-direction: column; align-items: center; gap: 2px; background: none; border: 0;
  color: var(--muted); font: inherit; font-size: 11px; cursor: pointer; padding: 4px 0; }
.lv-nav button.on { color: var(--lv); font-weight: 600; }
.lv-nav .ti { font-size: 24px; }
/* 11/10 (imersão do Lovense): a bolinha livre, os gemidos e corações dela, o gozo e o esguicho na tela, o anel que bate */
.lv-campo.livre { display: block; }
.lv-campo.livre .lv-bola { left: 0; touch-action: none; }
.lv-bolhas { position: absolute; inset: 0; pointer-events: none; overflow: hidden; border-radius: 10px; }
.lv-gem { position: absolute; transform: translate(-50%, -50%); color: #ff8fbd; font-weight: 600; white-space: nowrap;
  animation: lvgeme 3.2s ease-out forwards; text-shadow: 0 0 10px color-mix(in srgb, var(--lv) 60%, transparent); }
.lv-gem.baixo { font-size: 12px; opacity: .7; }
.lv-gem.curtindo { font-size: 15px; }
.lv-gem.beira { font-size: 21px; font-weight: 800; color: #ffb3d3; }
.lv-gem.ai { font-size: 14px; color: var(--muted); text-shadow: none; }
.lv-gem.coracao { color: var(--lv); font-size: 20px; }
.lv-gem.gozo { font-size: 32px; font-weight: 800; color: #fff; animation: lvgozo 2.4s ease-out forwards; }
/* 13/10 (Patrick): pegou, a palavra explode e o som irradia em ondas (antes era sugada pela bolinha) */
.lv-gem.pego { animation: lvestoura .5s ease-out forwards; }
.lv-gem.coracao.pego { animation: lvpego .3s ease-in forwards; }
.lv-onda { position: absolute; width: 14px; height: 14px; border-radius: 50%; transform: translate(-50%, -50%) scale(1);
  border: 2px solid #ff8fbd; opacity: 0; pointer-events: none; animation: lvonda .75s ease-out forwards; }
.lv-onda.beira { border-color: #ffb3d3; border-width: 3px; }
.lv-onda.baixo { border-width: 1.5px; }
@keyframes lvestoura { 0% { opacity: 1; transform: translate(-50%, -50%) scale(1); filter: blur(0); }
  25% { opacity: 1; transform: translate(-50%, -50%) scale(1.45); letter-spacing: .08em; }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(2.2); letter-spacing: .3em; filter: blur(3px); } }
@keyframes lvonda { 0% { opacity: .9; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(7); } }
@media (prefers-reduced-motion: reduce) { .lv-gem.pego { animation: lvpego .3s ease-in forwards; } .lv-onda { display: none; } }
@keyframes lvgeme { 0% { opacity: 0; transform: translate(-50%, -50%) scale(.7); } 12% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  70% { opacity: .9; } 100% { opacity: 0; transform: translate(calc(-50% + var(--vai, 0px)), calc(-50% - 30px)); } }
@keyframes lvgozo { 0% { opacity: 0; transform: translate(-50%, -50%) scale(.5); } 15% { opacity: 1; transform: translate(-50%, -50%) scale(1.15); }
  60% { opacity: 1; transform: translate(-50%, -50%) scale(1); } 100% { opacity: 0; transform: translate(-50%, -70%) scale(1.05); } }
@keyframes lvpego { to { opacity: 0; transform: translate(-50%, -50%) scale(.2); } }
.lv-fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.lv-faixa.bate { animation: lvrespira .5s ease-out; }
@keyframes lvrespira { 0% { transform: scaleY(1); } 20% { transform: scaleY(1.12); } 100% { transform: scaleY(1); } }
.lv-clarao { position: fixed; inset: 0; z-index: 5; pointer-events: none; animation: lvclarao .9s ease-out forwards;
  background: radial-gradient(circle at 50% 60%, rgba(255, 46, 134, .42), rgba(255, 46, 134, .12) 55%, rgba(255, 46, 134, 0) 80%); }
@keyframes lvclarao { 0% { opacity: 0; } 12% { opacity: 1; } 100% { opacity: 0; } }
.lv-ses { flex-wrap: wrap; cursor: pointer; }
.lv-ses-txt { flex: 1; min-width: 0; }
.lv-ses-det { flex-wrap: wrap; row-gap: 4px; }
.lv-ses-graf { flex-basis: 100%; display: none; }
.lv-ses.aberta .lv-ses-graf { display: block; }
.lv-ses-det .gota .ti, .lv-sg-leg .gota .ti { color: #9fd3ff; }
.lv-1a { margin-left: 6px; font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 999px; background: color-mix(in srgb, #9fd3ff 20%, transparent); color: #cfe9ff; }
.lv-sg { position: relative; height: 110px; margin-top: 12px; }
.lv-sg svg { width: 100%; height: 100%; display: block; overflow: visible; }
.lv-sg .area { fill: color-mix(in srgb, var(--lv) 22%, transparent); stroke: none; }
.lv-sg .linha { fill: none; stroke: var(--lv); stroke-width: 1.8; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.lv-sg .beira { stroke: var(--fg); stroke-width: 1; stroke-dasharray: 4 4; opacity: .45; vector-effect: non-scaling-stroke; }
.lv-sg-m { position: absolute; transform: translate(-50%, -50%); font-size: 15px; }
.lv-sg-m.gozo { color: var(--lv); filter: drop-shadow(0 0 4px var(--lv)); }
.lv-sg-m.segurou { color: var(--muted); font-size: 13px; }
.lv-sg-m.esguicho { color: #9fd3ff; font-size: 13px; }
.lv-sg-eixo { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); margin-top: 4px; font-variant-numeric: tabular-nums; }
.lv-sg-leg { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; font-size: 12px; color: var(--muted); }
.lv-sg-leg span { display: inline-flex; align-items: center; gap: 5px; }
.lv-sg-leg .ti-heart-filled { color: var(--lv); }
.lv-sg-traco { width: 14px; border-top: 1px dashed var(--fg); opacity: .5; }
.lv-sg-nada { font-size: 12px; color: var(--muted); margin: 12px 0 0; }
.lv-bola.contrai { animation: lvcontrai .32s ease-out; }
@keyframes lvcontrai { 0% { transform: scale(1); } 22% { transform: scale(var(--contrai, 1.2)); } 100% { transform: scale(1); } }
.lv-av.bate { animation: lvbateanel .45s ease-out; }
@keyframes lvbateanel { 0% { transform: scale(1); } 18% { transform: scale(1.07); } 100% { transform: scale(1); } }
.lv-av.bate #lv-anel { filter: drop-shadow(0 0 4px var(--lv)); }
.lv-av.treme { animation: lvtreme .16s linear infinite; }
@keyframes lvtreme { 0%, 100% { transform: translate(0, 0); } 25% { transform: translate(.6px, -.4px); } 50% { transform: translate(-.5px, .5px); } 75% { transform: translate(.4px, .6px); } }
.lv-av.goza { animation: lvgozaanel 2.6s ease-out; }
.lv-av.goza #lv-anel { filter: drop-shadow(0 0 8px var(--lv)); }
@keyframes lvgozaanel { 0% { transform: scale(1); } 10% { transform: scale(1.18); } 25% { transform: scale(1.05); } 40% { transform: scale(1.12); } 100% { transform: scale(1); } }

/* 06/10 (redesenho, passo 3, PLANO_WEBAPP): o Corpo em desenhos, cada um com uma linha curta centralizada embaixo.
   Barras de 10 px na tela toda; vontade em rosa (o arco de fora), excitação em coral (o de dentro) */
.corpo .bar { height: 10px; }
.linha-c { text-align: center; font-size: 13px; color: var(--muted); margin: 10px 0 0; }
.linha-c .ti { vertical-align: -2px; }
/* 09/10 (Patrick, leva 3): Corpo agora na silhueta (silhueta.js) — energia em rosa subindo dos pés, estômago verde,
   amarelo ou vermelho, calor onde dói; a linha de baixo é o que mais pesa (toque troca) */
.sh-caixa { display: flex; justify-content: center; padding-top: 4px; }
.sh { height: 300px; width: auto; display: block; }
.sh-base { fill: color-mix(in srgb, var(--muted) 16%, var(--bg)); }
.sh-en { fill: #f2b8cb; }
.sh-cab { fill: color-mix(in srgb, var(--muted) 55%, var(--bg)); }
.sh-borda { fill: none; stroke: color-mix(in srgb, var(--muted) 45%, transparent); stroke-width: 3; }
.sh-corpo { fill: #f0a030; }
.sh-est { fill: none; stroke-width: 5; }
.sh-est-cheio { fill: #3fbf8f; } .sh-est-l-cheio { stroke: #1d9e75; }
.sh-est-metade { fill: #f2c14e; } .sh-est-l-metade { stroke: #c99a1e; }
.sh-est-fome { fill: #e5534b; } .sh-est-l-fome { stroke: #b8322c; }
.sh-toque { fill: transparent; cursor: pointer; }
.sh-linha { text-align: center; margin-top: 8px; }
.sh-l { margin: 0; font-size: 15px; font-weight: 600; }
.sh-l .ti { font-size: 17px; vertical-align: -2px; margin-right: 5px; color: var(--muted); }
.sh-l.alerta .ti { color: #d9912b; }
.sh-s { margin: 2px 0 0; font-size: 12px; color: var(--muted); }
/* sono: a faixa de 18:00 a 18:00 */
.fs { padding: 2px 4px 0; }
.fs-rot, .fs-eixo { position: relative; height: 16px; font-size: 11px; color: var(--muted); }
.fs-rot span, .fs-eixo span { position: absolute; transform: translateX(-50%); white-space: nowrap; }
.fs-rot span { color: var(--fg); font-weight: 600; }
.fs-eixo { margin-top: 4px; }
.fs-eixo span:first-child { transform: none; }
.fs-eixo span:last-child { transform: translateX(-100%); }
.fs-trilho { position: relative; height: 14px; background: var(--line); border-radius: 4px; }
.fs-trilho b { position: absolute; top: 0; bottom: 0; width: 1px; background: color-mix(in srgb, var(--muted) 35%, transparent); }
.fs-trilho i { position: absolute; top: 0; bottom: 0; background: #5b6ee1; border-radius: 4px; }
.fs-trilho i.cochilo { background: color-mix(in srgb, #5b6ee1 55%, transparent); }
.fs-trilho u { position: absolute; top: -3px; bottom: -3px; width: 2px; margin-left: -1px; background: var(--fg); border-radius: 1px; }
/* ciclo: os 28 quadradinhos */
.ci-topo { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.ci-topo b { font-size: 15px; }
.ci-topo span { font-size: 13px; color: var(--muted); }
.ci-faixa { display: grid; grid-template-columns: repeat(28, 1fr); gap: 2px; padding: 0 3px; }
.ci-faixa i { height: 16px; border-radius: 3px; background: #5b8fe0; }
.ci-faixa i.menstruacao { background: #d64545; }
.ci-faixa i.fertil { background: #d4537e; }
.ci-faixa i.futuro { opacity: .38; }
.ci-faixa i.hoje { box-shadow: 0 0 0 2px var(--bg2), 0 0 0 3.5px var(--fg); }
/* intimidade: o velocímetro */
.vel { display: block; width: 100%; max-width: 250px; margin: 2px auto 0; overflow: visible; }
.vel path { fill: none; stroke-linecap: round; }
.vl-trilho { stroke: var(--line); stroke-width: 13; }
.vl-trilho.fino { stroke-width: 8; }
.vl-vontade { stroke: #d4537e; stroke-width: 13; }
.vl-exc { stroke: #e8664a; stroke-width: 8; }
.vl-corte { stroke: var(--bg2); stroke-width: 2.5; }
.vl-ponteiro { stroke: var(--fg); stroke-width: 3; stroke-linecap: round; }
.vl-pino { fill: var(--fg); }
.vl-palavra { text-align: center; font-size: 19px; font-weight: 600; margin-top: 4px; }
.vl-exc-l { color: #e8664a; font-weight: 600; margin-top: 2px; }
.vl-agora { margin-top: 2px; }
.vl-agora.topa { color: #c2416d; }
.etqs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 12px; }
.etq { display: inline-flex; align-items: center; gap: 3px; font-size: 12px; padding: 4px 9px 4px 7px; border-radius: 99px;
  background: color-mix(in srgb, var(--muted) 14%, transparent); color: var(--muted); }
.etq.sobe { background: color-mix(in srgb, #d4537e 13%, transparent); color: #c2416d; }
.etq .ti { font-size: 13px; }
/* intimidade: o calendário do mês, como app de ciclo */
.cal-mes { text-align: center; font-weight: 600; font-size: 15px; }
.cal-ult { margin: 2px 0 10px; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); row-gap: 4px; justify-items: center; }
.cal-sem { font-size: 11px; color: var(--muted); padding-bottom: 2px; }
.cal-d { display: flex; flex-direction: column; align-items: center; width: 38px; height: 44px; padding: 3px 0 0; border: 0;
  background: none; font: inherit; color: var(--fg); cursor: pointer; }
.cal-d[disabled] { cursor: default; }
.cal-d .n { width: 28px; height: 28px; line-height: 28px; border-radius: 50%; font-size: 13px; box-sizing: border-box; }
.cal-d.futuro .n { color: var(--muted); }
.cal-d.m-real .n { background: color-mix(in srgb, #d64545 22%, transparent); }
.cal-d.m-prevista .n { border: 1.5px dashed color-mix(in srgb, #d64545 70%, transparent); line-height: 25px; }
.cal-d.hoje .n { box-shadow: inset 0 0 0 1.5px var(--fg); font-weight: 600; }
.cal-d.sel .n { background: var(--fg); color: var(--bg); }
.cal-d .mk { display: flex; gap: 1px; height: 12px; font-size: 11px; line-height: 12px; }
.mk-p, .lg-patrick .ti { color: #d4537e; }
.mk-s, .lg-sozinha .ti { color: #8a63d2; }
.cal-det { text-align: center; font-size: 13px; margin-top: 6px; }
.cal-det p { margin: 2px 0; }
.cal-leg { display: flex; justify-content: center; gap: 14px; margin-top: 10px; font-size: 11px; color: var(--muted); }
.cal-leg span { display: inline-flex; align-items: center; gap: 3px; }
.cal-leg b { width: 10px; height: 10px; border-radius: 50%; background: color-mix(in srgb, #d64545 22%, transparent); }

/* 06/10 (redesenho, passo 4, PLANO_WEBAPP): os Sentimentos. Humor em grade 3×3 (agitada em cima, bem à direita) com
   o caminho do dia em setinhas nos vãos; por pessoa, azul pros bons e coral pros ruins */
.sentimentos .bar { height: 10px; }
.gr { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: var(--alt); gap: var(--vao); }
.gr-c { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; border-radius: 12px;
  background: color-mix(in srgb, var(--muted) 9%, transparent); color: var(--muted); min-width: 0; }
.gr-c .ti { font-size: 22px; }
.gr-p { font-size: 12.5px; font-weight: 600; }
.gr-h { font-size: 10.5px; font-variant-numeric: tabular-nums; }
.gr-c.passou { background: color-mix(in srgb, var(--accent) 13%, transparent); color: color-mix(in srgb, var(--accent) 80%, var(--fg)); }
.gr-c.agora { background: var(--accent); color: var(--on-accent); }
.gr-c.agora .gr-h { opacity: .9; }
.gr-seta { position: absolute; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; background: var(--fg);
  color: var(--bg); display: flex; align-items: center; justify-content: center; z-index: 1;
  box-shadow: 0 0 0 2px var(--bg2); }
.gr-seta .ti { font-size: 13px; }
.gr-barras { margin-top: 14px; }
.gr-barras .bar-row { grid-template-columns: 128px 1fr 92px; }
.br-ic { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.br-ic .ti { font-size: 16px; color: var(--muted); }
/* sentindo agora, por pessoa */
.sp { padding-top: 10px; padding-bottom: 4px; }
.sp-quem { display: flex; align-items: center; gap: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.sp-quem .avatar-ini { width: 30px; height: 30px; font-size: 12px; }
.sp-quem .avatar-ini .ti { font-size: 17px; }
.sp-quem b { font-size: 15px; }
.sp-f { padding: 9px 0; border-bottom: 1px solid var(--line); --cor: #3b7fd9; }
.sp-f:last-child { border-bottom: 0; }
.sp-f.ruim { --cor: #e0664f; }
.sp-l1 { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.sp-nome { display: inline-flex; align-items: center; font-weight: 600; font-size: 15px; color: var(--cor); }
.sp-bol { display: inline-flex; gap: 3px; margin: 0 6px 0 9px; }
.sp-bol i { width: 8px; height: 8px; border-radius: 50%; background: color-mix(in srgb, var(--muted) 25%, transparent); }
.sp-bol i.on { background: var(--cor); }
.sp-forca, .sp-desde { font-size: 12px; font-weight: 400; color: var(--muted); white-space: nowrap; }
.sp-mot { font-size: 13.5px; margin-top: 3px; }
.sp-l3 { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-top: 2px; font-size: 12px; color: var(--muted); }
.sp-det { min-width: 0; display: flex; flex-wrap: wrap; column-gap: 10px; row-gap: 1px; }
.det { display: inline-flex; align-items: center; gap: 3px; }
.det .ti { font-size: 13px; }
.sp-tend { display: inline-flex; align-items: center; gap: 3px; white-space: nowrap; margin-left: auto; }
.sp-tend .ti { font-size: 14px; }
.sp-tend.ate_resolver { color: #c98a16; font-weight: 600; }
/* já passou hoje: cinza */
.ja-passou .dr > div { color: var(--muted); }
.ja-passou .dr-m { display: block; }
.ja-passou .dr-dets { display: flex; flex-wrap: wrap; justify-content: flex-start; column-gap: 10px; }

/* pensando (06/10, passo 6): cartões por dia, o anel com a chance de ir na direita */
#bd-pensando h2:first-child { margin-top: 4px; }
.pn-c { background: var(--bg2); border-radius: 14px; padding: 11px 12px 11px 14px; margin-bottom: 8px;
  display: grid; grid-template-columns: minmax(0, 1fr) 76px; gap: 10px; align-items: center; --bom: #3b7fd9;
  --meio: #c98a16; --ruim: #e0664f; }
.pn-t { font-weight: 600; font-size: 15px; line-height: 1.3; }
.pn-c.riscado .pn-t { text-decoration: line-through; color: var(--muted); }
.pn-q, .pn-sub { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.pn-sub { display: flex; align-items: flex-start; gap: 4px; margin-top: 1px; }
.pn-sub .ti { font-size: 14px; margin-top: 1px; flex: none; }
.pn-etqs { display: flex; flex-wrap: nowrap; gap: 3px; margin-top: 7px; font-size: 9.25px; overflow: hidden; }
.pn-etq { display: inline-flex; align-items: center; gap: 1px; font-size: 1em; padding: 1px 5px 1px 3px; border-radius: 99px;
  white-space: nowrap; flex: none;
  background: color-mix(in srgb, var(--ruim) 13%, transparent); color: var(--ruim); }
.pn-etq.sobe { background: color-mix(in srgb, var(--ok) 13%, transparent); color: var(--ok); }
.pn-etq .ti { font-size: 1em; }

/* relacionamento (06/10, passo 7): o tracinho de ontem na barra; embaixo, a variação e os motivos numa linha */
.rl-barras { padding-top: 10px; padding-bottom: 6px; }
.rl-b { padding-bottom: 8px; }
.rl-b .bar-row { grid-template-columns: 112px 1fr 40px; }
.rl-bar { position: relative; height: 10px; overflow: visible; }
.rl-bar > i { position: absolute; left: 0; top: 0; bottom: 0; }
.rl-bar.magoa > i { background: #e0664f; }
.rl-bar > s { position: absolute; top: -3px; bottom: -3px; width: 2px; margin-left: -1px; background: var(--fg); border-radius: 1px; }
.rl-etqs { display: flex; flex-wrap: nowrap; justify-content: center; gap: 4px; margin-top: 3px; font-size: 11px; overflow: hidden; }
.rl-var, .rl-etq { display: inline-flex; align-items: center; gap: 2px; font-size: 1em; padding: 1px 7px; border-radius: 99px;
  white-space: nowrap; flex: none; }
.rl-var.melhor { background: color-mix(in srgb, var(--ok) 15%, transparent); color: var(--ok); font-weight: 600; }
.rl-var.pior { background: color-mix(in srgb, #e0664f 15%, transparent); color: #d0553e; font-weight: 600; }
.rl-var.igual { background: color-mix(in srgb, var(--muted) 16%, transparent); color: var(--muted); }
.rl-etq { padding-left: 4px; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); }
.rl-etq .ti { font-size: 1.1em; }
.rl-pd { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 8px; align-items: start; padding: 9px 0;
  border-bottom: 1px solid var(--line); }
.rl-pd:last-of-type { border-bottom: 0; }
.rl-pd-ic { color: var(--muted); font-size: 19px; line-height: 1; padding-top: 1px; }
.rl-pd-t { font-weight: 600; font-size: 14.5px; line-height: 1.3; }
.rl-quem { font-size: 11.5px; padding: 2px 9px; border-radius: 99px; white-space: nowrap; margin-top: 1px; }
.rl-quem.dela { background: color-mix(in srgb, #d4537e 14%, transparent); color: #c2416d; }
.rl-quem.dele, .rl-quem.dois { background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); }
.rl-quem.magoa { background: color-mix(in srgb, #d9912b 18%, transparent); color: #b57212; }
/* 20/11 (item (p), 5.8.0): Combinados com o Patrick, a linha do pedido e a barra de firmeza embaixo */
.rl-cb { padding-bottom: 9px; border-bottom: 1px solid var(--line); }
.rl-cb:last-child { border-bottom: 0; padding-bottom: 2px; }
.rl-cb .rl-pd { border-bottom: 0; padding-bottom: 5px; }
.rl-cb .bar-row { grid-template-columns: 112px 1fr 40px; }   /* o mesmo tamanho das barras do Relacionamento */
.rl-ult { margin-top: 8px; }
.pn-lado { display: flex; flex-direction: column; align-items: center; gap: 3px; text-align: center; }
.pn-roda { position: relative; width: 44px; height: 44px; }
.pn-anel { width: 44px; height: 44px; display: block; }
.pn-trilho { fill: none; stroke: color-mix(in srgb, var(--muted) 28%, transparent); stroke-width: 4; }
.pn-arco { fill: none; stroke: var(--cor, var(--bom)); stroke-width: 4; stroke-linecap: round; }
.pn-anel.bom { --cor: var(--bom); } .pn-anel.meio { --cor: var(--meio); } .pn-anel.ruim { --cor: var(--ruim); }
.pn-arco[stroke-dasharray="3 4"] { stroke-linecap: butt; }
.pn-dentro { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.pn-pct { font-size: 10.5px; font-weight: 600; letter-spacing: -0.2px; }
.pn-int { font-size: 14px; color: var(--muted); }
.pn-dentro .ti { font-size: 20px; }
.pn-dentro.bom { color: var(--bom); } .pn-dentro.ruim { color: var(--ruim); }
.pn-ic { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--bom) 14%, transparent); color: var(--bom); }
.pn-ic .ti { font-size: 21px; }
.pn-ic.apagado { background: none; border: 1px solid var(--line); color: var(--muted); }
.pn-palavra { font-size: 11.5px; color: var(--muted); line-height: 1.2; white-space: nowrap; }
.pn-palavra.meio { color: var(--meio); font-weight: 600; } .pn-palavra.ruim { color: var(--ruim); font-weight: 600; }

/* 06/10 (redesenho, passo 8, PLANO_WEBAPP): o Por fora em desenhos — croqui de 180 px com a legenda ao lado,
   maquiagem em 3 degraus, peso em linha de 30 dias, cabelo e unhas em faixas até o próximo cuidado */
.fo-topo { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 6px; }
.fo-topo b { font-size: 16px; }
.fo-topo > span { font-size: 13px; color: var(--muted); }
.fo-et { font-size: 12px; padding: 2px 9px; border-radius: 99px; white-space: nowrap;
  background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); }
.cq { display: flex; align-items: center; gap: 14px; }
.cq-boneco { flex: none; display: flex; }
.croqui { display: block; overflow: visible; }
.cq-leg { flex: 1; min-width: 0; }
.cq-item { display: flex; align-items: center; gap: 10px; margin: 9px 0; line-height: 1.3; }
.cq-amostra { width: 16px; height: 16px; flex: none; }
.cq-ic { font-size: 17px; color: var(--muted); width: 16px; flex: none; text-align: center; }
.cq-parte { font-size: 12px; color: var(--muted); }
.mk-degraus { display: flex; gap: 6px; margin-top: 4px; }
.mk-d { flex: 1; text-align: center; }
.mk-b { height: 40px; display: flex; align-items: flex-end; justify-content: center; }
.mk-b i { display: block; width: 46%; border-radius: 5px; border: 1.5px solid var(--line); }
.mk-d.on .mk-b i { background: #d4537e; border-color: #d4537e; }
.mk-d small { font-size: 12px; color: var(--muted); }
.mk-d.atual small { color: var(--fg); font-weight: 600; }
.linha-c.alerta { color: #c98a12; }
.fo-kg { font-size: 20px; }
.fo-alt { font-size: 13px; color: var(--muted); margin-left: 6px; }
.fo-peso { display: block; width: 100%; margin-top: 4px; }
.fo-lim-faixa { fill: #d64545; opacity: .12; }
.fo-lim { stroke: #d64545; stroke-width: 1; stroke-dasharray: 3 3; }
.fo-lim-t { font-size: 10px; fill: #d64545; }
.fo-linha { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linejoin: round; }
.fo-hoje { fill: var(--accent); }
.fo-pesou { fill: none; stroke: var(--fg); stroke-width: 1.3; }
.fo-eixo { font-size: 10px; fill: var(--muted); }
.fo-cu { margin-top: 14px; }
.fo-cu-t { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 6px; }
.fo-cu-t b { font-weight: 600; }
.fo-cu-t span { color: var(--muted); }
.fo-cu-t span.alerta { color: #c98a12; }
.fo-cu .linha-c { margin-top: 6px; }
.fo-fx { display: grid; gap: 2px; padding: 0 3px; }
.fo-fx i { height: 14px; border-radius: 3px; background: var(--fx); }
.fo-fx i.fut { opacity: .25; }
.fo-fx i.vence { background: transparent; box-shadow: inset 0 0 0 1.5px #c98a12; }
.fo-fx i.hoje { box-shadow: 0 0 0 2px var(--bg2), 0 0 0 3.5px var(--fg); }
.fo-fx.passou i { background: #d9a12b; opacity: 1; }
.fo-ficha { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 16px; padding-top: 12px;
  border-top: 1px solid var(--line); text-align: center; }
.fo-ficha p { margin: 0; font-size: 14px; }
.fo-ficha small { font-size: 12px; color: var(--muted); }
.fo-fi-d { height: 32px; display: flex; justify-content: center; margin-bottom: 4px; }
.fo-fi-dot { display: block; width: 26px; height: 26px; border-radius: 50%; margin: 3px auto 7px; border: .5px solid rgba(0,0,0,.15); }
.fo-unhas { display: flex; gap: 6px; justify-content: center; align-items: flex-end; margin: 4px 0 2px; }
.fo-unhas i { border-radius: 8px 8px 5px 5px; border: .5px solid rgba(0,0,0,.18); }
.fo-unhas.sem-cor i { background: transparent; border: 1.5px dashed var(--line); }

/* 06/10 (redesenho, passo 9): o Mundo — órbita pela proximidade, cartão da pessoa, Agenda por dia e mapa */
.mo-card { padding: 6px 4px 2px; }
.mo-svg { display: block; width: 100%; max-width: 340px; margin: 0 auto; }
.mo-anel { fill: none; stroke: var(--line); stroke-width: 1; stroke-dasharray: 2 4; }
.mo-ela { fill: #d4537e; }
.mo-ela-t { fill: #fff; font-size: 14px; font-weight: 600; text-anchor: middle; }
.mo-ela-borda { fill: none; stroke: #d4537e; stroke-width: 2.5; }
.mo-p { cursor: pointer; }
.mo-b { fill: var(--accent); }
.mo-ini { fill: var(--on-accent); font-size: 11px; font-weight: 600; text-anchor: middle; }
.mo-nome { fill: var(--muted); font-size: 10.5px; }   /* o lado vem do app.js (nomesOrbita) */
.mo-borda { fill: none; stroke: var(--accent); stroke-width: 2; }
.mo-p.clara .mo-b { fill: color-mix(in srgb, var(--accent) 22%, var(--bg2)); }
.mo-p.clara .mo-ini { fill: var(--accent); }
.mo-p.clara .mo-borda { stroke: color-mix(in srgb, var(--accent) 35%, var(--bg2)); }
.mo-p.contorno .mo-b { fill: var(--bg2); stroke: var(--muted); stroke-width: 1; stroke-dasharray: 3 2; }
.mo-p.contorno .mo-ini { fill: var(--muted); }
.mo-p.contorno image { opacity: .45; }
.mo-p.contorno .mo-borda { stroke: var(--muted); stroke-width: 1; stroke-dasharray: 3 2; }
.mo-sente { fill: none; stroke: #d4537e; stroke-width: 2.5; }
.mo-p.aberto .mo-nome { fill: var(--fg); font-weight: 600; }
.avatar-ini.sente { box-shadow: 0 0 0 2px var(--bg2), 0 0 0 4px #d4537e; }
.mp-aberto { padding: 10px 0 12px; border-bottom: 1px solid var(--line); }
.card > div:last-child > .mp-aberto { border-bottom: 0; }
.mp-cab { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.mp-cab .t { font-weight: 600; }
.mp-sente { display: inline-flex; align-items: center; gap: 3px; font-size: 12px; padding: 2px 8px 2px 6px; border-radius: 99px; }
.mp-sente.bom { background: color-mix(in srgb, #d4537e 14%, transparent); color: #b23a64; }
.mp-sente.ruim { background: color-mix(in srgb, #e0664f 14%, transparent); color: #c24a33; }
.mp-sente .ti { font-size: 13px; }
.mp-prox { grid-template-columns: 22px 1fr 82px; margin-top: 10px; }
.mp-prox .bar { height: 10px; }
.mp-aberto .linha-c { margin-top: 6px; }
.mp-aberto .linha-c.mp-enc { margin-top: 2px; }
.ma-c { grid-template-columns: minmax(0, 1fr) auto; }
.ma-bol { display: flex; padding-left: 8px; }
.ma-bol > * { width: 28px; height: 28px; border-radius: 50%; margin-left: -8px; border: 2px solid var(--bg2); flex: none;
  background: var(--accent); color: var(--on-accent); font-size: 10.5px; font-weight: 600; display: flex;
  align-items: center; justify-content: center; object-fit: cover; }
.ml-mapa { height: 300px; border-radius: 14px; overflow: hidden; background: var(--bg2); margin-bottom: 4px; z-index: 0; }
.ml-mapa[hidden] { display: none; }
.ml-resumo { margin: 6px 0 10px; }
.ml-mapa .ml-pino { display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--accent);
  color: var(--on-accent); font-size: 12px; font-weight: 600; border: 2px solid #fff; box-shadow: 0 1px 3px rgba(0,0,0,.3); }
.ml-mapa .ml-pino.casa { background: #d4537e; }
.ml-pino.casa .ti { font-size: 16px; }
.ml-mapa .leaflet-popup-content { margin: 9px 12px; font: 13px/1.4 inherit; }
.ml-mapa .leaflet-control-attribution { font-size: 9px; }
.ml-mapa.escuro .leaflet-tile-pane { filter: invert(1) hue-rotate(180deg) brightness(.9) contrast(.9); }
.ml-mapa .leaflet-tile-pane { filter: saturate(.55); }

/* 12/10 (redesenho do Agora, decisões de 11/10): o cartão com a faixa, os desenhos e a planta; o Hoje em cartões
   por bloco com as linhas em régua */
.ag-gasto { text-align: right; flex: none; display: flex; flex-direction: column; font-variant-numeric: tabular-nums; }
.ag-gasto b { font-size: 15px; }
.ag-gasto span { font-size: 12px; color: var(--muted); }
.ag-faixa { position: relative; height: 22px; margin: 12px 0 5px; }
.ag-fx { position: absolute; inset: 0; border-radius: 6px; overflow: hidden; background: var(--line); }
.ag-fx span { position: absolute; top: 0; bottom: 0; border-right: 1.5px solid var(--bg2); box-sizing: border-box; }
.ag-faixa b { position: absolute; top: -3px; bottom: -3px; width: 2px; margin-left: -1px; background: var(--fg); border-radius: 2px; }
.ag-rot { position: relative; height: 30px; font-size: 11px; color: var(--muted); line-height: 1.3; }
.ag-rot span { position: absolute; top: 0; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ag-rot span.agora { color: var(--fg); font-weight: 600; }
.ag-des { display: grid; gap: 6px; text-align: center; }
.ag-des small { display: block; font-size: 12px; line-height: 1.3; }
.ag-circ { width: 40px; height: 40px; border-radius: 50%; margin: 0 auto 4px; display: flex; align-items: center;
  justify-content: center; background: var(--bg); font-size: 20px; color: var(--muted); }
.ag-rostos { display: flex; justify-content: center; margin-bottom: 4px; }
.ag-rostos img, .ag-rostos span { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; box-sizing: border-box;
  border: 2px solid var(--bg2); background: color-mix(in srgb, var(--accent) 14%, var(--bg)); color: var(--accent);
  display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; }
.ag-rostos > * + * { margin-left: -10px; }
.ag-planta { display: block; width: 100%; max-width: 300px; margin: 0 auto; }
.pl-w { fill: var(--bg); stroke: var(--muted); stroke-width: 1.6; }
.pl-tr { stroke-dasharray: 3 3; }
.pl-on { fill: #378ADD; stroke: var(--muted); stroke-width: 1.6; }
.pl-l { font-size: 11px; fill: var(--muted); text-anchor: middle; }
.pl-lo { font-size: 11px; fill: #fff; text-anchor: middle; font-weight: 600; }
.pl-co { font-size: 10px; }
.pl-mar { fill: #85B7EB; opacity: .35; }
.pl-bc { stroke: var(--muted); stroke-dasharray: 2 3; }
.pl-pa { stroke: var(--muted); stroke-width: 1.6; }
.linha-c.ag-comodo { margin-top: 2px; }
.ag-lista > div { display: grid; grid-template-columns: 20px minmax(0, 1fr) 52px 40px; gap: 8px; align-items: baseline;
  padding: 4px 0; font-size: 14px; }
.ag-lista .li-ic { color: #D85A30; text-align: center; }
.ag-lista small { display: block; font-size: 12px; color: var(--muted); }
.ag-lista .aviso { color: #b07d00; font-weight: 600; }
.ag-lista .aviso .li-ic { color: #c98a12; }
.ag-lista .agora .ag-lt { font-weight: 600; }

#ag-hoje .hj-per { padding: 6px 2px; }
#ag-hoje .hj-per.passado { border-bottom: 0; padding-bottom: 6px; }
.hb { background: var(--bg2); border-radius: 14px; padding: 11px 12px; margin-bottom: 8px; }
.hb.agora { box-shadow: 0 0 0 1.5px var(--accent); }
.hb-hd { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 8px; align-items: center; width: 100%;
  background: none; border: 0; padding: 0; color: inherit; font: inherit; text-align: left; }
button.hb-hd { cursor: pointer; }
.hb-tt { min-width: 0; }
.hb-tt b { display: block; font-weight: 600; }
.hb-tt small { display: block; font-size: 12px; color: var(--muted); }
.hb-h { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.hb-c { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 17px; }
.hb-c.casa { background: color-mix(in srgb, #1D9E75 16%, transparent); color: #1D9E75; }
.hb-c.fora { background: color-mix(in srgb, #D85A30 16%, transparent); color: #D85A30; }
.hb-mf { position: relative; height: 6px; margin: 9px 0 2px; }
.hb-mf span { position: absolute; top: 0; bottom: 0; border-radius: 2px; }
.hb-n { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--muted); margin-top: 6px; }
button.hb-fecha { width: 100%; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.rg-eixo { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 8px; margin: 9px 0 2px; }
.rg-eixo div { position: relative; height: 14px; font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.rg-eixo div span { position: absolute; top: 0; white-space: nowrap; }
.rg-l { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 8px; }
.rg-h { position: relative; text-align: center; padding-top: 3px; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.rg-h.now { color: var(--accent); font-weight: 600; }
.rg-seg { position: absolute; left: 50%; top: 19px; bottom: -2px; width: 1.5px; margin-left: -0.75px;
  background: color-mix(in srgb, var(--muted) 75%, transparent); }
/* 12/10 (Patrick: "tá aparecendo um único ponto"): o dashed do navegador com 1,5 px some em trecho curto — o traço
   fica desenhado com tamanho fixo (4 px de traço, 3 de espaço) e as linhas previstas ganham altura */
.rg-seg.tracejada { background: repeating-linear-gradient(to bottom, color-mix(in srgb, var(--muted) 60%, transparent) 0 4px,
  transparent 4px 7px); }
.rg-l.previsto .rg-c { padding-bottom: 16px; }
.rg-c { padding: 3px 0 9px; min-width: 0; }
.rg-t { display: flex; gap: 6px; align-items: baseline; font-size: 14px; }
.rg-ic { font-size: 15px; flex: none; }
.rg-tx { min-width: 0; }
.rg-t small { margin-left: auto; padding-left: 6px; white-space: nowrap; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.rg-sub, .rg-f { display: block; font-size: 12px; color: var(--muted); }
.rg-f.aviso { color: #b07d00; }
.rg-gt { position: relative; height: 5px; background: var(--line); border-radius: 99px; margin-top: 5px; }
.rg-gt span { position: absolute; top: 0; bottom: 0; border-radius: 99px; }
.rg-l.previsto .rg-tx, .rg-l.previsto .rg-h { color: var(--muted); }
.rg-l.aviso .rg-tx { color: #b07d00; font-weight: 600; }

/* 12/10 (banco dela, plano de 05/10): o app do Itaú Personnalité (azul-marinho com o dourado), a faixa de bastidor
   tracejada fora do app e o iFood dela */
.bn-faixa-cap { font-size: 12px; color: var(--muted); margin: 0 2px 4px; }
.bn-faixa { border: 1px dashed color-mix(in srgb, var(--muted) 70%, transparent); border-radius: 12px; padding: 8px 12px; margin-bottom: 10px; }
.bn-fx { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; font-size: 14px; }
.bn-fx-k { color: var(--muted); display: flex; align-items: center; gap: 6px; }
.bn-fx-k .ti { font-size: 16px; }
.bn-fx-v { font-variant-numeric: tabular-nums; white-space: nowrap; }
.bn-fx-n { display: block; font-size: 12px; color: var(--muted); margin: -2px 0 3px 22px; }
.itau { background: #fff; color: #1b1b1b; border-radius: 16px; overflow: hidden; margin-bottom: 12px; }
.it-topo { background: #042C53; color: #fff; padding: 12px 14px 12px; }
.it-marca { font-size: 12px; color: #FAC775; letter-spacing: .02em; }
.it-rot { font-size: 12px; opacity: .85; margin-top: 6px; display: flex; align-items: center; gap: 6px; }
.it-saldo { font-size: 22px; font-weight: 600; margin-top: 2px; font-variant-numeric: tabular-nums; }
.it-olho { background: none; border: 0; color: #fff; padding: 0; font-size: 16px; cursor: pointer; display: inline-flex; }
.it-uso { height: 5px; background: rgba(255,255,255,.18); border-radius: 99px; margin-top: 9px; overflow: hidden; }
.it-uso i { display: block; height: 100%; background: #FAC775; border-radius: 99px; }
.it-chave { display: flex; gap: 4px; margin-top: 11px; padding: 3px; background: rgba(255,255,255,.12); border-radius: 99px; }
.it-chave button { flex: 1; background: none; border: 0; color: #fff; font: inherit; font-size: 13px; padding: 5px 0; border-radius: 99px; cursor: pointer; }
.it-chave button.on { background: #fff; color: #042C53; font-weight: 600; }
.it-filtro { display: flex; gap: 6px; padding: 9px 12px; overflow-x: auto; border-bottom: 1px solid #ececec; }
.it-filtro button { flex: none; background: #F1EFE8; border: 0; border-radius: 99px; padding: 4px 10px; font: inherit; font-size: 12px; color: #5F5E5A; cursor: pointer; }
.it-filtro button.on { background: #042C53; color: #fff; }
.it-dia { background: #F1EFE8; color: #5F5E5A; padding: 5px 14px; font-size: 12px; }
.it-ln { display: flex; justify-content: space-between; align-items: center; gap: 10px; width: 100%; padding: 8px 14px;
  border: 0; border-bottom: 1px solid #ececec; background: none; color: inherit; font: inherit; text-align: left; }
button.it-ln { cursor: pointer; }
.it-ln b { display: block; font-size: 13.5px; font-weight: 600; }
.it-ln small { display: block; font-size: 12px; color: #888780; }
.it-ln.futuro b { color: #185FA5; }
.it-v { font-size: 13.5px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.it-v.pos { color: #3B6D11; }
.it-sd { display: flex; justify-content: space-between; padding: 6px 14px; font-size: 12px; color: #5F5E5A; background: #fafafa; border-bottom: 1px solid #ececec; }
.it-fechada { display: flex; justify-content: space-between; align-items: baseline; padding: 9px 14px; font-size: 13px; border-bottom: 1px solid #ececec; }
.it-fechada b { font-variant-numeric: tabular-nums; }
.it-vazio { padding: 18px 14px; font-size: 13px; color: #888780; text-align: center; }
.it-det { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }
.it-volta { background: none; border: 0; color: #fff; font-size: 20px; padding: 0; cursor: pointer; display: inline-flex; }
.it-det-v { padding: 14px 14px 6px; font-size: 22px; font-weight: 600; font-variant-numeric: tabular-nums; }
.it-det-v.pos { color: #3B6D11; }
.it-kv { display: flex; justify-content: space-between; gap: 12px; padding: 6px 14px; font-size: 13.5px; }
.it-kv span:first-child { color: #888780; }
.it-kv span:last-child { text-align: right; }
.it-bast { margin: 10px 12px 14px; border: 1px dashed #B4B2A9; border-radius: 10px; padding: 8px 10px; font-size: 13.5px; }
.it-bast small { display: block; font-size: 12px; color: #888780; margin-bottom: 3px; }
.it-bast small.it-quem { margin: 6px 0 0; }
.it-it { display: flex; justify-content: space-between; gap: 10px; padding: 2px 0; font-variant-numeric: tabular-nums; }
.pd-para { font-size: 11px; font-weight: 600; color: var(--ifood); background: color-mix(in srgb, var(--ifood) 10%, transparent);
  padding: 1px 6px; border-radius: 99px; vertical-align: 1px; }
.pd-pago { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); margin-top: 8px; }
.pd-pago span { margin-left: auto; color: var(--fg); font-variant-numeric: tabular-nums; }

/* ------------------------------------------- Visita (16/10, passo 4; Patrick, mockup A) -- */
/* Escura como o Lovense: a foto do que os olhos dele veem é a luz da tela. A planta numa folha (Patrick). */
:root { --vs: #c2457a; }
.app-vs { background: #2a1d26; color: #f3a6c6; }
body.vs-escuro { --bg: #121014; --bg2: #1f1b22; --fg: #f2edf3; --muted: #9b8f9f; --line: #2e2832;
  background: var(--bg); color: var(--fg); }
html:has(body.vs-escuro) { background: #121014; }
.view.vs { padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
/* 16/10 (Patrick, na visita: "o layout corre junto com o meu dedo"): a página era mais alta que a tela (960 em 812) e a
   conversa rolava dentro dela, então o arraste levava a tela toda. Agora a cena é presa na tela (como o início) e só a
   conversa rola; a foto encolhe um pouco em tela baixa. */
.view.vs:not([hidden]) { position: fixed; inset: 0; z-index: 2; max-width: 560px; margin: 0 auto; display: flex;
  flex-direction: column; padding: 16px 16px calc(10px + env(safe-area-inset-bottom)); overflow: hidden;
  overscroll-behavior: none; background: var(--bg); }
html.pwa .view.vs:not([hidden]) { padding-top: calc(16px + var(--topo)); bottom: calc(100% - 100lvh); }
#vs-antes:not([hidden]) { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
#vs-cena:not([hidden]) { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.vs-top, .vs-botoes, .vs-escrever { flex: none; }
.vs-top { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; min-height: 32px; }
.vs-top .t { flex: 1; }
.vs-ir { background: none; border: 1px solid var(--line); color: var(--muted); border-radius: 999px; padding: 5px 12px;
  font: inherit; font-size: 13px; cursor: pointer; }
.vs-ir[hidden] { display: none; }
.vs-foto { position: relative; margin: 0 -16px; flex: 0 1 46vh; min-height: 28vh; background: #1a1519;
  overflow: hidden; }
.vs-foto img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; opacity: 0; transition: opacity .5s; }
.vs-foto img.on { opacity: 1; }
.vs-onde { position: absolute; top: 10px; left: 12px; background: rgba(0, 0, 0, .45); color: #fff; border-radius: 99px;
  padding: 3px 10px; font-size: 12px; }
.vs-planta-bt { position: absolute; top: 8px; right: 10px; display: inline-flex; align-items: center; gap: 5px;
  background: rgba(0, 0, 0, .45); color: #fff; border: 0; border-radius: 99px; padding: 5px 11px; font: inherit;
  font-size: 12px; cursor: pointer; }
.vs-planta-bt .ti { font-size: 15px; }
.vs-gerando { position: absolute; bottom: 10px; right: 12px; color: #fff; background: rgba(0, 0, 0, .45);
  border-radius: 50%; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; }
.vs-gerando[hidden] { display: none; }
/* 16/10 (Patrick): a foto nova só sai quando muda o lugar, a posição ou a roupa; este botão tira a do momento */
.vs-agora-bt { top: auto; bottom: 10px; right: 12px; }
.vs-agora-bt[hidden] { display: none; }
.vs-gerando .ti { animation: vs-gira 1.2s linear infinite; }
@keyframes vs-gira { to { transform: rotate(360deg); } }
/* 21/11 (Patrick, a barra da beira, jeito B): o que ele perceberia no corpo dela, sem a marca exata do gozo */
.vs-beira { position: absolute; left: 10px; right: 10px; bottom: 10px; background: rgba(0, 0, 0, .5); color: #fff;
  border-radius: 12px; padding: 7px 10px 8px; display: flex; flex-direction: column; gap: 5px; }
.vs-beira[hidden] { display: none; }
.vs-beira-l, .vs-beira-sens { display: flex; align-items: center; gap: 6px; font-size: 12px; }
.vs-beira-l .ti { font-size: 15px; color: #ED93B1; }
.vs-beira.quase .vs-beira-l .ti { color: #D4537E; animation: vs-pulsa .9s ease-in-out infinite; }
.vs-beira-b { position: relative; display: block; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .18); overflow: hidden; }
.vs-beira-zona { position: absolute; top: 0; bottom: 0; background: rgba(237, 147, 177, .35); }
.vs-beira-f { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 4px; background: #D4537E; transition: width .25s linear; }
.vs-beira-sens[hidden] { display: none; }
.vs-beira-sens .ti { font-size: 14px; color: #FAC775; }
.vs-beira-b.fina { flex: 1; height: 5px; margin-left: 4px; }
.vs-beira-f.sens { background: #EF9F27; }
.vs-foto.com-beira .vs-agora-bt, .vs-foto.com-beira .vs-gerando, .vs-foto.com-beira .vs-album-bt { bottom: auto; top: 44px; }
@keyframes vs-pulsa { 50% { transform: scale(1.2); } }
.vs-conversa { display: flex; flex-direction: column; gap: 5px; flex: 1 1 0; min-height: 96px; overflow-y: auto;
  overscroll-behavior: contain; padding: 10px 0 6px; }
.vs-b { max-width: 80%; padding: 7px 12px; border-radius: 16px; line-height: 1.35; word-wrap: break-word; }
.vs-b.ela { align-self: flex-start; background: var(--bg2); border-bottom-left-radius: 5px; }
.vs-b.ele { align-self: flex-end; background: var(--vs); color: #fff; border-bottom-right-radius: 5px; }
.vs-b.acao { background: none; color: var(--muted); font-size: 12px; padding: 2px 4px; }
.vs-b.digitando { display: flex; gap: 4px; padding: 10px 12px; }
.vs-b.digitando i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: vs-pisca 1s infinite; }
.vs-b.digitando i:nth-child(2) { animation-delay: .15s; }
.vs-b.digitando i:nth-child(3) { animation-delay: .3s; }
@keyframes vs-pisca { 50% { opacity: .3; } }
.vs-botoes { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px 0; }
.vs-botoes button { background: none; border: 1px solid var(--line); color: var(--fg); border-radius: 999px;
  padding: 7px 13px; font: inherit; font-size: 14px; cursor: pointer; }
.vs-botoes button:active { background: var(--bg2); }
/* 16/10 (Patrick): sempre um botão pra ele fazer o que os botões não sugerem (o campo vira "o que você faz") */
.vs-botoes button.vs-livre { display: inline-flex; align-items: center; gap: 5px; border-style: dashed; color: var(--muted); }
.vs-botoes button.vs-livre .ti { font-size: 15px; }
.vs-escrever { display: flex; gap: 8px; align-items: center; margin-top: 4px; }
.vs-escrever input { flex: 1; min-width: 0; background: var(--bg2); color: var(--fg); border: 1px solid var(--line);
  border-radius: 999px; padding: 10px 14px; font: inherit; font-size: 16px; }
.vs-escrever.despedida input, .vs-escrever.acao input { border-color: var(--vs); }
.vs-escrever button { background: var(--vs); color: #fff; border: 0; border-radius: 50%; width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center; font-size: 18px; flex: none; cursor: pointer; }
.vs-cartao { background: var(--bg2); border-radius: 18px; padding: 18px; margin-top: 30px; display: flex;
  flex-direction: column; gap: 10px; }
.vs-quando { font-size: 20px; font-weight: 600; }
.vs-dec { margin: 0; color: var(--muted); font-size: 14px; }
.vs-dec.ok { color: var(--ok); }
.vs-cartao button.primary { background: var(--vs); color: #fff; }
.vs-cartao .link { text-align: center; }
.vs-campo { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; }
.vs-campo span { color: var(--muted); white-space: nowrap; }
.vs-campo input { background: var(--bg); color: var(--fg); border: 1px solid var(--line); border-radius: 10px;
  padding: 8px 10px; font: inherit; font-size: 16px; color-scheme: dark; }
.vs-folha { background: #1b171e; color: #f2edf3; }
.vs-planta { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.vs-comodo { background: #262029; color: #f2edf3; border: 1px solid transparent; border-radius: 12px; padding: 14px 10px;
  font: inherit; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.vs-comodo.larga { grid-column: 1 / -1; }
.vs-comodo.on { border-color: var(--vs); }
.vs-comodo small { color: #f3a6c6; font-size: 11px; }
/* 16/10 (visita, passo 5; mockup do Patrick): o álbum por visita, a montada com a etiqueta, a foto aberta */
.vs-album-bt { top: auto; right: auto; bottom: 10px; left: 12px; }
.vs-al-hd { display: flex; justify-content: space-between; align-items: baseline; margin: 22px 2px 4px; }
.vs-al-hd b { font-weight: 600; }
.vs-al-hd span, .vs-al-dia { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.vs-al-dia { display: flex; justify-content: space-between; margin: 10px 2px 6px; }
.vs-al-grade { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
.vs-al-f { position: relative; aspect-ratio: 3 / 4; border: 0; padding: 0; border-radius: 8px; overflow: hidden;
  background: #262029; cursor: pointer; }
.vs-al-f img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vs-al-m { position: absolute; top: 4px; right: 4px; background: rgba(0, 0, 0, .55); color: #f6c27a; font-size: 9.25px;
  border-radius: 4px; padding: 1px 5px; white-space: nowrap; }
#vs-album-grade .vs-al-hd { margin-top: 0; }
.vs-ver-img { display: block; width: 100%; max-height: 62vh; object-fit: contain; border-radius: 12px; background: #000; }
.vs-ver-l { display: flex; justify-content: space-between; align-items: baseline; margin-top: 10px; }
.vs-ver-l span { color: #b9aebd; font-size: 12px; font-variant-numeric: tabular-nums; }
.vs-ver-sub { display: block; color: #b9aebd; font-size: 12px; margin-top: 2px; }
.vs-ver-sub[hidden], .vs-ver-rep[hidden] { display: none; }
.vs-ver-rep { width: 100%; margin-top: 12px; background: none; border: 1px solid #4a3f4d; color: #f2edf3; border-radius: 12px;
  padding: 10px; font: inherit; cursor: pointer; }
/* 16/10, noite (mockup do Patrick): a foto pedida */
.vs-pedir-t { display: block; width: 100%; box-sizing: border-box; background: #2a2430; color: #f2edf3; border: 0;
  border-radius: 12px; padding: 10px 12px; font: inherit; font-size: 16px; line-height: 1.45; resize: none; }
.vs-pedir-t::placeholder { color: #8b8290; }
.vs-pedir-dica { display: flex; gap: 6px; align-items: flex-start; color: #9b93a0; font-size: 12px; line-height: 1.45;
  margin: 8px 2px 12px; }
.vs-pedir-dica .ti { font-size: 15px; flex-shrink: 0; }
.vs-pedir-ok { width: 100%; background: #e9e2ec; color: #1b171e; border: 0; border-radius: 12px; padding: 11px;
  font: inherit; font-weight: 600; cursor: pointer; }
.vs-pedir-cara { display: block; width: 100%; background: none; border: 0; color: #c9b6d6; font: inherit; font-size: 13px;
  padding: 10px 0 0; cursor: pointer; }
.vs-al-m.pedida { color: #c9b6d6; }
/* 16/10, noite (Patrick: "quando eu abro o álbum não consigo mais voltar"): a folha cabe na tela, rola por dentro e
   fecha arrastando pra baixo */
.sheet-fundo > .sheet { max-height: calc(100% - 40px); overflow-y: auto; overscroll-behavior: contain; box-sizing: border-box; }
.sheet.arrastando { transition: none; }
.sheet.voltando { transition: transform .2s ease; }
