:root {
  /* identidade LifeFut (marca do dono, 20/11/2026): azul noite de fundo com degradês de verde e lima, cartões brancos por cima.
     Estas são as cores de quem está direto no fundo escuro. Os nomes antigos (campo, cal, tinta, cartao) continuam valendo. */
  --noite: #001F3F; --lima: #DBE64C; --branco: #F6F7ED; --verde: #00804C; --verde-c: #74C365; --azul: #1E488F;
  --campo: #001F3F; --campo-e: #00152c; --cal: #F6F7ED; --tinta: #001F3F; --cartao: #DBE64C; --bico: #00804C;
  --bg: var(--campo);
  --bg2: #eceedf;
  --card: #F6F7ED;
  --card2: #e7ead8;
  --line: rgba(246, 247, 237, .18);
  --text: #F6F7ED;
  --muted: #a9bad1;
  --green: #DBE64C;
  --green-d: #c3ce36;
  --gold: #DBE64C;
  --red: #ff9c90;
  --blue: #9cc0ff;
  --on-green: #001F3F;
  --on-gold: #001F3F;
  --r: 20px;
  --font: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'Hanken Grotesk', system-ui, sans-serif;
  --mao: 'Hanken Grotesk', system-ui, sans-serif;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);   /* altura do relógio/bateria no iPhone com o app instalado */
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; overflow-x: clip; overscroll-behavior: none; }   /* sem arrastar para o lado e sem o "elástico" de site */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; touch-action: manipulation; }   /* sem zoom de toque duplo */
body {
  background: #030504;
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none;   /* toque longo não seleciona texto nem abre menu, como num app */
}
input, textarea, select, [contenteditable="true"] { -webkit-user-select: text; user-select: text; }
img, svg { -webkit-user-drag: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
input, select, textarea { font: inherit; color: var(--text); font-size: 16px; }   /* 16px: abaixo disso o iPhone dá zoom ao tocar no campo */
a { color: var(--green); }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; }
p { margin: 0 0 10px; }
ul, ol { margin: 0 0 12px; padding-left: 20px; }
li { margin-bottom: 6px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.hidden { display: none !important; }

/* ---------- folhas de papel ---------- */
/* Tudo que tem fundo claro (cartões, botões de lista, campos, a folha de baixo) troca as cores para tinta sobre papel.
   Quem cria um componente novo com fundo var(--card), var(--card2) ou var(--bg2) precisa entrar nesta lista. */
.nt-step, .nt-week div, .card, .card.flat, .btn.ghost, .chip, .seg, .seg button.on, .week .d, .ex, .day, .day-b .ex, .input, .field input, .field select, .field textarea, .opt, .opt .pos-badge, .stepper button, .sheet, .sheet .close, .player .top button, .food-macros div, .foto-g button, .story-prev, .rpe button, .guide, .copybox, .move, .vctrl button, .upload, .plan, .badge, .badge .bi, .lockcard, .pw-box, .gate-card, .mode-card, .moods button, .mood-week div, .swap-btn, .setlog, .set-row input, .thumb, .cmp figure, .food-opt, .rank-row, .inst-ic, .rd-ib, .rd-post, .rd-img, .rd-tile, .rd-send, .hero, .pcard, .notice, .upsell, .story-nudge, .qr-balao {
  --text: #001F3F; --muted: #5b6b82; --line: #d9dccb;
  --green: #00804C; --green-d: #006b40; --gold: #1E488F; --red: #c8372d; --blue: #1E488F;
  --on-green: #fff; --on-gold: #fff;
  color: var(--text);
}

/* ---------- shell ---------- */
#app {
  max-width: 480px;
  min-height: 100dvh;
  margin: 0 auto;
  background: var(--bg);
  position: relative;
  box-shadow: 0 0 80px color-mix(in srgb, var(--green) 7%, transparent);
}
/* faixa atrás do relógio e da bateria: o conteúdo que rola não passa por baixo deles */
#app::before {
  content: ""; position: fixed; top: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 480px; height: var(--safe-t);
  background: rgba(7, 10, 8, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  z-index: 30; pointer-events: none;
}
.screen { padding: calc(18px + var(--safe-t)) 18px calc(110px + var(--safe-b)); animation: fadeIn .25s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; gap: 12px; }
.topbar h1 { font-family: var(--display); font-stretch: 72%; font-size: 30px; font-weight: 700; letter-spacing: .3px; text-transform: uppercase; }
.topbar .hello { color: var(--muted); font-size: 13px; margin-bottom: 2px; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(140deg, var(--green), #0f7d3a);
  color: var(--on-green); font-weight: 800; font-size: 16px; flex-shrink: 0;
  position: relative;
}
.avatar .plan-dot {
  position: absolute; bottom: -4px; right: -6px;
  font-size: 9px; font-weight: 800; padding: 2px 5px; border-radius: 6px;
  background: var(--gold); color: var(--on-gold); text-transform: uppercase; letter-spacing: .4px;
}

.nav {
  position: fixed; left: 50%; transform: translateX(-50%);
  bottom: 0; width: 100%; max-width: 480px;
  padding: 8px 10px calc(10px + var(--safe-b));
  background: rgba(9, 13, 10, .92);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(5, 1fr);
  z-index: 20;
}
.nav button {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 6px 0; font-size: 11px; color: var(--muted); font-weight: 600;
  border-radius: 12px; transition: color .15s;
}
.nav button svg { width: 23px; height: 23px; }
.nav button.on { color: var(--green); }
.nav.nav6 { grid-template-columns: repeat(6, 1fr); padding-left: 4px; padding-right: 4px; }
.nav.nav6 button { font-size: 10px; letter-spacing: -.2px; }
.nav.nav6 button svg { width: 22px; height: 22px; }
/* nutrição por tipo de dia (js/nutri-dia.js) */
.nt-hoje h3 { display: flex; align-items: center; gap: 8px; }
.nt-hoje h3 svg { width: 20px; height: 20px; }
.nt-steps { display: grid; gap: 10px; }
.nt-step { padding: 10px 12px; background: var(--card2); border-radius: 12px; }
.nt-step b { display: block; font-size: 13px; margin-bottom: 3px; }
.nt-step span { font-size: 13px; color: var(--muted); line-height: 1.45; }
.nt-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.nt-week div { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 0; border-radius: 12px; background: var(--card2); border: 1px solid transparent; }
.nt-week div.now { border-color: var(--c); }
.nt-week svg { width: 18px; height: 18px; color: var(--c); }
.nt-week small { font-size: 11px; color: var(--muted); }
.nt-week b { font-size: 12px; }
.nav button.on svg { filter: drop-shadow(0 0 8px color-mix(in srgb, var(--green) 65%, transparent)); }

/* ---------- cards ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 16px;
  margin-bottom: 14px;
}
.card.flat { background: var(--bg2); }
.card-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; gap: 10px; }
.card-h h3 { font-size: 16px; font-weight: 700; }
.card-h .link { color: var(--green); font-size: 13px; font-weight: 600; }
.section-t { font-family: var(--display); font-stretch: 72%; font-size: 21px; text-transform: uppercase; letter-spacing: .4px; margin: 22px 0 10px; font-weight: 700; }

.hero {
  position: relative; overflow: hidden;
  border-radius: 24px; padding: 20px;
  background:
    radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--green) 46%, transparent), transparent 55%),
    radial-gradient(80% 80% at 0% 100%, color-mix(in srgb, var(--blue) 18%, transparent), transparent 60%),
    linear-gradient(160deg, #142219, #0b110d);
  border: 1px solid #24402c;
  margin-bottom: 14px;
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(color-mix(in srgb, var(--text) 5%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--text) 5%, transparent) 1px, transparent 1px);
  background-size: 28px 28px; pointer-events: none;
  mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.hero > * { position: relative; z-index: 1; }
.hero .lvl-label { font-size: 12px; text-transform: uppercase; letter-spacing: 1.4px; color: var(--green); font-weight: 700; }
.hero .lvl-name { font-family: var(--display); font-stretch: 72%; font-size: 44px; font-weight: 800; line-height: 1; margin: 4px 0 2px; text-transform: uppercase; }
.hero .row { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.ovr { text-align: center; }
.ovr b { display: block; font-family: var(--display); font-stretch: 72%; font-size: 46px; line-height: .9; color: var(--gold); }
.ovr span { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; font-weight: 700; }

.bar { height: 8px; background: color-mix(in srgb, var(--text) 10%, transparent); border-radius: 99px; overflow: hidden; }
.bar > i { display: block; height: 100%; background: linear-gradient(90deg, var(--green-d), var(--green)); border-radius: inherit; transition: width .6s ease; }
.bar.gold > i { background: linear-gradient(90deg, #e8a900, var(--gold)); }

.stats3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.stat { background: rgba(0,0,0,.28); border: 1px solid color-mix(in srgb, var(--text) 8%, transparent); border-radius: 14px; padding: 10px; text-align: center; }
.stat b { display: block; font-family: var(--display); font-stretch: 72%; font-size: 24px; line-height: 1.05; }
.stat span { font-size: 11px; color: var(--muted); }
.stat svg { width: 16px; height: 16px; vertical-align: -2px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 18px; border-radius: 14px; font-weight: 700; font-size: 15px;
  background: var(--green); color: var(--on-green); width: 100%;
  transition: transform .1s, filter .15s;
}
.btn:active { transform: scale(.98); }
.btn:hover { filter: brightness(1.06); }
.btn svg { width: 19px; height: 19px; }
.btn.ghost { background: var(--card2); color: var(--text); border: 1px solid var(--line); }
.btn.gold { background: var(--gold); color: var(--on-gold); }
.btn.danger { background: transparent; color: var(--red); border: 1px solid color-mix(in srgb, var(--red) 52%, transparent); }
.btn.sm { padding: 9px 14px; font-size: 13px; width: auto; border-radius: 11px; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn-row { display: flex; gap: 10px; }
.btn-row > * { flex: 1; }

.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin: 0 -18px 14px; padding-left: 18px; padding-right: 18px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  white-space: nowrap; padding: 8px 14px; border-radius: 99px;
  background: var(--card); border: 1px solid var(--line);
  font-size: 13px; font-weight: 600; color: var(--muted);
}
.chip.on { background: var(--green); color: var(--on-green); border-color: var(--green); }

.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 4px; margin-bottom: 16px; }
.seg button { padding: 9px; border-radius: 10px; font-weight: 700; font-size: 14px; color: var(--muted); }
.seg button.on { background: var(--card2); color: var(--text); box-shadow: 0 1px 0 color-mix(in srgb, var(--text) 7%, transparent) inset; }

.tag { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 7px; font-size: 11px; font-weight: 700; background: color-mix(in srgb, var(--text) 9%, transparent); color: var(--muted); }
.tag.pro { background: color-mix(in srgb, var(--gold) 18%, transparent); color: var(--gold); }
.tag.green { background: color-mix(in srgb, var(--green) 17%, transparent); color: var(--green); }
.tag svg { width: 12px; height: 12px; }

/* ---------- today / lists ---------- */
.today { display: flex; gap: 14px; align-items: center; }
.today .ic {
  width: 56px; height: 56px; border-radius: 16px; flex-shrink: 0;
  display: grid; place-items: center; background: color-mix(in srgb, var(--green) 16%, transparent); color: var(--green);
}
.today .ic svg { width: 28px; height: 28px; }
.today h3 { font-size: 17px; margin-bottom: 3px; }

.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.week .d { text-align: center; padding: 8px 0; border-radius: 12px; background: var(--bg2); border: 1px solid var(--line); font-size: 11px; color: var(--muted); font-weight: 600; }
.week .d b { display: block; font-size: 15px; color: var(--text); margin-top: 2px; }
.week .d .dot { width: 6px; height: 6px; border-radius: 50%; margin: 5px auto 0; background: transparent; }
.week .d.train .dot { background: var(--muted); }
.week .d.done .dot { background: var(--green); box-shadow: 0 0 8px var(--green); }
.week .d.now { border-color: var(--green); }

.mission { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.mission:first-of-type { border-top: 0; padding-top: 2px; }
.mission .ck {
  width: 26px; height: 26px; border-radius: 8px; flex-shrink: 0;
  border: 2px solid #355040; display: grid; place-items: center; transition: all .15s;
}
.mission .ck svg { width: 16px; height: 16px; opacity: 0; }
.mission.done .ck { background: var(--green); border-color: var(--green); color: var(--on-green); }
.mission.done .ck svg { opacity: 1; }
.mission.done .mt { color: var(--muted); text-decoration: line-through; }
.mission .mt { flex: 1; font-size: 14px; }
.mission .xp { font-size: 12px; font-weight: 800; color: var(--gold); white-space: nowrap; }
.mission.auto .ck { border-style: dashed; }

.ex {
  display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 16px;
  background: var(--card); border: 1px solid var(--line); margin-bottom: 10px; width: 100%; text-align: left;
}
.ex .bullet { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; flex-shrink: 0; font-family: var(--display); font-stretch: 72%; font-weight: 800; font-size: 15px; }
.ex .bullet svg { width: 22px; height: 22px; }
.ex .info { flex: 1; min-width: 0; }
.ex .info b { display: block; font-size: 15px; margin-bottom: 3px; }
.ex .meta { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; font-size: 12px; color: var(--muted); }
.ex .chev { color: var(--muted); width: 18px; height: 18px; flex-shrink: 0; }
.ex.locked { opacity: .6; }

.day { border-radius: 18px; background: var(--card); border: 1px solid var(--line); margin-bottom: 10px; overflow: hidden; }
.day-h { display: flex; align-items: center; gap: 12px; padding: 14px; width: 100%; text-align: left; }
.day-h .wd { width: 46px; text-align: center; font-family: var(--display); font-stretch: 72%; font-weight: 800; font-size: 18px; text-transform: uppercase; color: var(--muted); }
.day-h .wd small { display: block; font-family: var(--font); font-size: 11px; font-weight: 600; }
.day.is-today .day-h .wd { color: var(--green); }
.day-h .focus { flex: 1; }
.day-h .focus b { display: block; }
.day-b { padding: 0 14px 14px; }
.day-b .ex { background: var(--bg2); }
.day.rest { opacity: .65; }

/* ---------- onboarding ---------- */
.onb { min-height: 100dvh; display: flex; flex-direction: column; padding: calc(22px + var(--safe-t)) 20px calc(24px + var(--safe-b)); }
.onb .progress { display: flex; gap: 6px; margin-bottom: 28px; }
.onb .progress i { flex: 1; height: 4px; border-radius: 4px; background: var(--line); }
.onb .progress i.on { background: var(--green); }
.onb h2 { font-family: var(--display); font-stretch: 72%; font-size: 36px; text-transform: uppercase; line-height: 1; margin-bottom: 8px; }
.onb .lead { color: var(--muted); margin-bottom: 22px; }
.onb .grow { flex: 1; }
.onb-hero {
  flex: 1; display: flex; flex-direction: column; justify-content: flex-end;
  border-radius: 28px; padding: 26px 22px; margin-bottom: 20px; position: relative; overflow: hidden;
  background:
    radial-gradient(90% 60% at 80% 10%, color-mix(in srgb, var(--green) 59%, transparent), transparent 60%),
    radial-gradient(60% 50% at 10% 30%, color-mix(in srgb, var(--blue) 23%, transparent), transparent 60%),
    linear-gradient(180deg, #0f1c14, #070a08);
  border: 1px solid #1f3a28;
  min-height: 420px;
}
.onb-hero .pitch { position: absolute; inset: 0; opacity: .5; }
.onb-hero h1 { font-family: var(--display); font-stretch: 72%; font-size: 58px; line-height: .9; text-transform: uppercase; font-weight: 800; position: relative; }
.onb-hero h1 em { font-style: normal; color: var(--green); }
.onb-hero p { position: relative; color: #bcd0c3; margin-top: 12px; font-size: 16px; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 800; letter-spacing: .5px; position: relative; margin-bottom: auto; }
.brand svg { width: 26px; height: 26px; color: var(--green); }

.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; color: var(--muted); font-weight: 600; margin-bottom: 7px; }
.input, .field input, .field select, .field textarea {
  width: 100%; padding: 14px 15px; border-radius: 14px;
  background: var(--card); border: 1px solid var(--line); outline: none; transition: border-color .15s;
}
.field input:focus, .field select:focus, .field textarea:focus, .input:focus { border-color: var(--green); }
.field textarea { min-height: 90px; resize: vertical; }

.opts { display: grid; gap: 10px; }
.opts.g2 { grid-template-columns: 1fr 1fr; }
.opt {
  padding: 15px; border-radius: 16px; background: var(--card); border: 1.5px solid var(--line);
  text-align: left; transition: all .15s; display: flex; gap: 12px; align-items: center;
}
.opt b { display: block; font-size: 15px; }
.opt span { font-size: 13px; color: var(--muted); }
.opt.on { border-color: var(--green); background: color-mix(in srgb, var(--green) 10%, transparent); }
.opt .pos-badge { font-family: var(--display); font-stretch: 72%; font-weight: 800; font-size: 16px; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--card2); color: var(--green); flex-shrink: 0; }
.opt.on .pos-badge { background: var(--green); color: var(--on-green); }

.stepper { display: flex; align-items: center; justify-content: center; gap: 22px; margin: 6px 0 4px; }
.stepper button { width: 52px; height: 52px; border-radius: 50%; background: var(--card); border: 1px solid var(--line); font-size: 24px; font-weight: 700; }
.stepper b { font-family: var(--display); font-stretch: 72%; font-size: 64px; width: 80px; text-align: center; color: var(--green); }

/* ---------- modal / sheet ---------- */
.overlay {
  position: fixed; inset: 0; z-index: 50; background: rgba(0,0,0,.6);
  display: flex; align-items: flex-end; justify-content: center;
  animation: fade .2s ease;
}
@keyframes fade { from { opacity: 0; } }
.sheet {
  width: 100%; max-width: 480px; max-height: min(92dvh, calc(100dvh - var(--safe-t) - 10px)); overflow-y: auto;
  background: var(--bg2); border-radius: 26px 26px 0 0; border: 1px solid var(--line); border-bottom: 0;
  padding: 10px 18px calc(22px + var(--safe-b));
  animation: up .28s cubic-bezier(.2, .8, .2, 1);
}
@keyframes up { from { transform: translateY(40px); opacity: 0; } }
.sheet .grab { width: 40px; height: 5px; border-radius: 5px; background: var(--line); margin: 0 auto 14px; }
.sheet h2 { font-family: var(--display); font-stretch: 72%; font-size: 30px; text-transform: uppercase; line-height: 1.02; margin-bottom: 6px; }
.sheet h4 { font-size: 15px; margin: 18px 0 8px; color: var(--green); }
.sheet .close { position: sticky; top: 0; float: right; width: 36px; height: 36px; border-radius: 50%; background: var(--card2); display: grid; place-items: center; z-index: 2; }
.sheet .close svg { width: 18px; height: 18px; }
.steps { counter-reset: s; list-style: none; padding: 0; }
.steps li { counter-increment: s; display: flex; gap: 12px; margin-bottom: 10px; align-items: flex-start; }
.steps li::before { content: counter(s); width: 26px; height: 26px; border-radius: 8px; background: var(--card2); color: var(--green); display: grid; place-items: center; font-weight: 800; font-size: 13px; flex-shrink: 0; }

.steps-line > div { border-left: 2px solid var(--green); padding: 0 0 12px 14px; position: relative; }
.steps-line > div::before { content: ''; position: absolute; left: -6px; top: 3px; width: 10px; height: 10px; border-radius: 50%; background: var(--green); }
.steps-line b { display: block; }
.steps-line span { color: var(--muted); font-size: 14px; }
.flags li { color: #ffd2d3; }
.flags li b { color: #fff; }

/* ---------- session player ---------- */
.player {
  position: fixed; inset: 0; z-index: 60; background: var(--bg);
  display: flex; flex-direction: column; max-width: 480px; margin: 0 auto;
  padding: calc(16px + var(--safe-t)) 18px calc(20px + var(--safe-b));
  animation: fade .2s ease;
}
.player .top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.player .top button { width: 40px; height: 40px; border-radius: 50%; background: var(--card); display: grid; place-items: center; }
.player .top svg { width: 20px; height: 20px; }
.player .top .pl-back { width: auto; padding: 0 14px 0 8px; border-radius: 20px; gap: 4px; display: flex; align-items: center; font-weight: 700; font-size: 14px; }
/* treino pausado: barra acima do menu */
.pl-mini { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(70px + var(--safe-b)); width: calc(100% - 20px); max-width: 460px; z-index: 25;
  display: flex; align-items: center; gap: 6px; padding: 6px; border-radius: 16px; background: #10301c; border: 1px solid color-mix(in srgb, var(--green) 59%, transparent); box-shadow: 0 8px 24px rgba(0, 0, 0, .45); animation: fade .2s ease; }
.pl-mini-go { flex: 1; display: flex; align-items: center; gap: 10px; text-align: left; padding: 4px; min-width: 0; }
.pl-mini-go b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-mini-go > span:last-child { min-width: 0; }
.pl-mini-go span span { display: block; font-size: 12px; color: var(--green); }
.pl-mini-ic { width: 38px; height: 38px; border-radius: 50%; background: var(--green); color: var(--on-green); display: grid; place-items: center; flex-shrink: 0; }
.pl-mini-ic svg { width: 18px; height: 18px; }
.pl-mini-x { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); flex-shrink: 0; }
.pl-mini-x svg { width: 18px; height: 18px; }
/* contador de calorias e foto do prato */
.ai-btn { background: linear-gradient(90deg, var(--green), #38bdf8); color: var(--on-green); border: 0; }
.ai-btn svg { width: 18px; height: 18px; }
.food-h { font-size: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--green); margin: 10px 0 4px; }
.food-macros { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 12px 0 16px; }
.food-macros div { background: var(--card2); border-radius: 12px; padding: 10px 4px; text-align: center; }
.food-macros b { display: block; font-size: 16px; }
.food-macros span { font-size: 11px; color: var(--muted); }
.foto-prev { display: block; width: 100%; max-height: 220px; object-fit: cover; border-radius: 16px; margin: 6px 0 14px; border: 1px solid var(--line); }
.foto-wait { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 14px; padding: 8px 0 16px; }
.spin { width: 22px; height: 22px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--green); animation: spin .8s linear infinite; flex-shrink: 0; }
@keyframes spin { to { transform: rotate(360deg); } }
.foto-total { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.foto-total b { font-family: var(--display); font-stretch: 72%; font-size: 34px; color: var(--green); }
.foto-total span { color: var(--muted); font-size: 13px; }
.foto-item { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); }
.foto-item.off { opacity: .45; }
.foto-chk { width: 26px; height: 26px; border-radius: 8px; border: 2px solid var(--line); display: grid; place-items: center; flex-shrink: 0; color: var(--on-green); }
.foto-chk.on { background: var(--green); border-color: var(--green); }
.foto-chk svg { width: 16px; height: 16px; }
.foto-info { flex: 1; min-width: 0; }
.foto-info b { display: block; font-size: 14px; }
.foto-info span { font-size: 12px; color: var(--muted); }
.foto-info .tag { margin-left: 4px; font-size: 10px; }
.tag.gold-t { color: var(--gold); }
.foto-g { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.foto-g button { width: 30px; height: 30px; border-radius: 9px; background: var(--card2); font-size: 18px; font-weight: 700; }
.foto-g b { min-width: 52px; text-align: center; font-size: 13px; }
/* story do Instagram */
.story-btn { background: linear-gradient(90deg, #f58529, #dd2a7b 55%, #8134af); color: #fff; border: 0; }
.story-btn svg { width: 20px; height: 20px; }
.story-btn:disabled { opacity: .5; }
.wa-btn { background: #25d366; color: #06210f; border: 0; }
.wa-btn svg { width: 20px; height: 20px; }
.wa-btn:disabled { opacity: .5; }
.story-prev { display: block; width: 100%; max-width: 280px; aspect-ratio: 9 / 16; margin: 0 auto 16px; border-radius: 18px; border: 1px solid var(--line); object-fit: cover; background: var(--card); }
.story-wait { display: grid; place-items: center; color: var(--muted); font-size: 14px; }
.story-nudge { display: flex; align-items: center; gap: 6px; padding: 8px; margin-bottom: 14px; border-radius: 18px; background: linear-gradient(120deg, rgba(245, 133, 41, .14), rgba(221, 42, 123, .14) 55%, rgba(129, 52, 175, .14)); border: 1px solid rgba(221, 42, 123, .35); }
.story-nudge-go { flex: 1; display: flex; align-items: center; gap: 12px; text-align: left; padding: 4px; min-width: 0; color: inherit; }
.story-nudge-go b { display: block; font-size: 15px; }
.story-nudge-go span span { display: block; font-size: 13px; color: var(--muted); }
.story-ig { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; flex-shrink: 0; color: #fff; background: linear-gradient(135deg, #f58529, #dd2a7b 55%, #8134af); }
.story-ig svg { width: 22px; height: 22px; }
.story-nudge-x { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); flex-shrink: 0; }
.story-nudge-x svg { width: 16px; height: 16px; }
body.has-mini #app::after { content: ''; display: block; height: 70px; }   /* espaço para a barra não cobrir o fim da tela */
.player .dots { display: flex; gap: 5px; flex: 1; margin: 0 14px; }
.player .dots i { flex: 1; height: 4px; border-radius: 4px; background: var(--line); }
.player .dots i.done { background: var(--green); }
.player .dots i.cur { background: linear-gradient(90deg, var(--green) var(--p, 0%), var(--line) var(--p, 0%)); }
.player .body { flex: 1; overflow-y: auto; }
.player h2 { font-family: var(--display); font-stretch: 72%; font-size: 34px; text-transform: uppercase; line-height: 1; margin: 6px 0 4px; }
.ring { position: relative; width: 210px; height: 210px; margin: 18px auto; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring .t { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.ring .t b { font-family: var(--display); font-stretch: 72%; font-size: 62px; line-height: 1; }
.ring .t span { font-size: 12px; color: var(--muted); display: block; }
.player .ctrls { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 10px; margin-top: 12px; }
.player .ctrls .btn { padding: 15px 8px; }

.rpe { display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; margin: 10px 0 4px; }
.rpe button { padding: 10px 0; border-radius: 9px; background: var(--card); border: 1px solid var(--line); font-weight: 800; font-size: 14px; }
.rpe button.on { background: var(--green); color: var(--on-green); border-color: var(--green); }

/* ---------- player card ---------- */
.pcard {
  border-radius: 22px; padding: 18px; position: relative; overflow: hidden;
  background: linear-gradient(155deg, #2b2a12 0%, #151509 45%, #0e110c 100%);
  border: 1px solid #4a4419;
}
.pcard::before { content: ''; position: absolute; width: 260px; height: 260px; right: -90px; top: -110px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--gold) 39%, transparent), transparent 65%); }
.pcard .head { display: flex; align-items: center; gap: 14px; position: relative; margin-bottom: 16px; }
.pcard .big { font-family: var(--display); font-stretch: 72%; font-size: 58px; line-height: .85; color: var(--gold); font-weight: 800; }
.pcard .big small { display: block; font-size: 16px; color: #e9dca6; letter-spacing: 1px; }
.pcard .nm { font-family: var(--display); font-stretch: 72%; font-size: 26px; text-transform: uppercase; font-weight: 800; line-height: 1; }
.attrs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; position: relative; }
.attr { display: grid; grid-template-columns: 34px 1fr 26px; align-items: center; gap: 8px; font-size: 12px; }
.attr span { color: #c9c08e; font-weight: 700; }
.attr b { text-align: right; font-family: var(--display); font-stretch: 72%; font-size: 18px; }

/* ---------- charts ---------- */
.chart { width: 100%; height: auto; display: block; }
.chart text { fill: var(--muted); font-size: 10px; font-family: var(--font); }

/* ---------- guides ---------- */
.guide {
  display: flex; gap: 14px; align-items: center; width: 100%; text-align: left;
  padding: 15px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); margin-bottom: 10px;
}
.guide .gi { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--green) 13%, transparent); color: var(--green); flex-shrink: 0; }
.guide .gi svg { width: 24px; height: 24px; }
.guide.danger .gi { background: color-mix(in srgb, var(--red) 16%, transparent); color: var(--red); }
.guide b { display: block; font-size: 15px; }
.guide span { font-size: 13px; color: var(--muted); }
.guide .prog { margin-left: auto; font-size: 12px; font-weight: 800; color: var(--green); white-space: nowrap; }

.check-item { display: flex; gap: 12px; align-items: flex-start; padding: 11px 0; border-top: 1px solid var(--line); width: 100%; text-align: left; }
.check-item .ck { width: 24px; height: 24px; border-radius: 7px; border: 2px solid #355040; flex-shrink: 0; display: grid; place-items: center; margin-top: 1px; }
.check-item .ck svg { width: 15px; height: 15px; opacity: 0; }
.check-item.on .ck { background: var(--green); border-color: var(--green); color: var(--on-green); }
.check-item.on .ck svg { opacity: 1; }
.check-item.on .lbl { color: var(--muted); }

.copybox { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px; white-space: pre-wrap; font-size: 14px; margin-bottom: 10px; }

/* ---------- analysis ---------- */
.moves { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.move { padding: 16px 8px; border-radius: 16px; background: var(--card); border: 1.5px solid var(--line); text-align: center; font-weight: 700; font-size: 13px; }
.move svg { width: 28px; height: 28px; color: var(--green); display: block; margin: 0 auto 8px; }
.move.on { border-color: var(--green); background: color-mix(in srgb, var(--green) 10%, transparent); }
.video-wrap { border-radius: 18px; overflow: hidden; background: #000; border: 1px solid var(--line); margin-bottom: 10px; }
.video-wrap video { width: 100%; display: block; max-height: 60dvh; background: #000; }
.vctrl { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.vctrl button { flex: 1; min-width: 56px; padding: 9px 4px; border-radius: 10px; background: var(--card); border: 1px solid var(--line); font-weight: 700; font-size: 13px; }
.vctrl button.on { background: var(--green); color: var(--on-green); border-color: var(--green); }
.upload {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  border: 2px dashed #2c4535; border-radius: 20px; padding: 34px 16px; text-align: center; cursor: pointer; background: var(--bg2);
}
.upload svg { width: 38px; height: 38px; color: var(--green); }
.score-ring { width: 120px; height: 120px; margin: 4px auto 10px; position: relative; }
.score-ring svg { transform: rotate(-90deg); width: 100%; height: 100%; }
.score-ring b { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--display); font-stretch: 72%; font-size: 40px; }

/* ---------- plans ---------- */
.plan { border-radius: 22px; padding: 18px; border: 1.5px solid var(--line); background: var(--card); margin-bottom: 12px; position: relative; }
.plan.pro { border-color: color-mix(in srgb, var(--green) 65%, transparent); }
.plan.elite { border-color: color-mix(in srgb, var(--gold) 72%, transparent); background: linear-gradient(160deg, #1c1a0c, var(--card)); }
.plan .ph { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.plan .ph h3 { font-family: var(--display); font-stretch: 72%; font-size: 28px; text-transform: uppercase; }
.plan .ph b { font-size: 16px; }
.plan ul { list-style: none; padding: 0; margin-bottom: 14px; }
.plan li { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; }
.plan li svg { width: 17px; height: 17px; color: var(--green); flex-shrink: 0; margin-top: 2px; }
.plan .current { position: absolute; top: 16px; right: 16px; }

.badges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.badge { text-align: center; padding: 14px 6px; border-radius: 16px; background: var(--bg2); border: 1px solid var(--line); }
.badge .bi { width: 46px; height: 46px; border-radius: 50%; margin: 0 auto 8px; display: grid; place-items: center; background: var(--card2); color: #4a5a50; }
.badge .bi svg { width: 22px; height: 22px; }
.badge b { font-size: 12px; display: block; line-height: 1.2; }
.badge span { font-size: 10.5px; color: var(--muted); display: block; margin-top: 3px; line-height: 1.25; }
.badge.on .bi { background: radial-gradient(circle, #ffe27a, #e0a800); color: #2a1d00; box-shadow: 0 0 18px color-mix(in srgb, var(--gold) 46%, transparent); }
.badge:not(.on) b { color: var(--muted); }

.list-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 14px; }
.list-row:first-child { border-top: 0; }

.toast {
  position: fixed; left: 50%; top: calc(18px + var(--safe-t)); transform: translateX(-50%);
  background: #0f1f15; border: 1px solid var(--green); color: var(--text);
  padding: 12px 18px; border-radius: 14px; font-weight: 700; z-index: 100;
  box-shadow: 0 10px 40px rgba(0,0,0,.6); animation: toastIn .3s ease; max-width: 90%; text-align: center;
}
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, -10px); } }

.levelup { text-align: center; padding: 20px 0 10px; }
.levelup .burst { width: 120px; height: 120px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle, color-mix(in srgb, var(--gold) 52%, transparent), transparent 70%); color: var(--gold); animation: pulse 1.4s ease infinite; }
.levelup .burst svg { width: 60px; height: 60px; }
@keyframes pulse { 50% { transform: scale(1.08); } }

.notice { display: flex; gap: 10px; padding: 12px 14px; border-radius: 14px; background: color-mix(in srgb, var(--blue) 10%, transparent); border: 1px solid color-mix(in srgb, var(--blue) 33%, transparent); font-size: 13px; color: #bfe6f8; margin-bottom: 14px; }
.notice svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; color: var(--blue); }
.notice.gift { background: color-mix(in srgb, var(--green) 10%, transparent); border-color: color-mix(in srgb, var(--green) 39%, transparent); color: #c8f5d6; }
.notice.gift svg { color: var(--green); }
.notice.warn { background: color-mix(in srgb, var(--gold) 9%, transparent); border-color: color-mix(in srgb, var(--gold) 39%, transparent); color: #f3e3a9; }
.notice.warn svg { color: var(--gold); }

.empty { text-align: center; color: var(--muted); padding: 24px 10px; font-size: 14px; }

/* ---------- freemium: bloqueios e tela de venda ---------- */
.upsell {
  display: flex; gap: 12px; align-items: center; width: 100%; text-align: left;
  padding: 14px; border-radius: 18px; margin-bottom: 14px; color: var(--text);
  border: 1.5px solid color-mix(in srgb, var(--gold) 52%, transparent);
  background: linear-gradient(135deg, color-mix(in srgb, var(--gold) 17%, transparent), color-mix(in srgb, var(--gold) 4%, transparent));
}
.upsell .ui { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--gold) 21%, transparent); color: var(--gold); flex-shrink: 0; }
.upsell .ui svg { width: 22px; height: 22px; }
.upsell .ut { flex: 1; min-width: 0; }
.upsell .ut b { display: block; font-size: 14px; }
.upsell .ut span { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.upsell .bar { height: 5px; margin-top: 8px; }
.upsell .chev { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; }

.today .ic.locked { background: color-mix(in srgb, var(--gold) 18%, transparent); color: var(--gold); }
.mission.locked { cursor: pointer; }
.mission.locked .ck { border-color: color-mix(in srgb, var(--gold) 59%, transparent); color: var(--gold); }
.mission.locked .ck svg { opacity: 1; width: 13px; height: 13px; }
.mission.locked .mt { color: var(--muted); }
.chip.locked { display: inline-flex; align-items: center; gap: 5px; }
.chip.locked svg { width: 12px; height: 12px; color: var(--gold); }
.guide.locked .gi { background: color-mix(in srgb, var(--gold) 16%, transparent); color: var(--gold); }

.lockcard { position: relative; display: block; width: 100%; height: 150px; border-radius: var(--r); border: 1px solid var(--line); background: var(--card); overflow: hidden; margin-bottom: 14px; color: var(--text); }
.lc-bars { position: absolute; inset: 18px 18px 0; display: flex; align-items: flex-end; gap: 8px; filter: blur(3px); opacity: .5; }
.lc-bars i { flex: 1; background: var(--green-d); border-radius: 6px 6px 0 0; }
.lc-over { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; background: rgba(7, 10, 8, .6); }
.lc-over b { font-size: 16px; }
.lc-over > span:last-child { font-size: 12px; color: var(--muted); }

.paywall { text-align: center; padding-top: 6px; }
.pw-ic { position: relative; width: 84px; height: 84px; margin: 0 auto 14px; border-radius: 26px; display: grid; place-items: center; background: radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--gold) 49%, transparent), color-mix(in srgb, var(--gold) 10%, transparent)); color: var(--gold); }
.pw-ic > svg { width: 40px; height: 40px; }
.pw-ic i { position: absolute; right: -6px; bottom: -6px; width: 30px; height: 30px; border-radius: 50%; background: var(--gold); color: var(--on-gold); display: grid; place-items: center; border: 3px solid var(--bg2); }
.pw-ic i svg { width: 14px; height: 14px; }
.paywall h2 { margin-top: 10px; }
.pw-box { text-align: left; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px; margin: 14px 0 16px; }
.pw-box b { display: block; font-size: 13px; margin-bottom: 8px; }
.pw-box ul { list-style: none; padding: 0; margin: 0; }
.pw-box li { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; padding: 3px 0; }
.pw-box li svg { width: 16px; height: 16px; color: var(--green); flex-shrink: 0; margin-top: 2px; }

@media (min-width: 520px) {
  body { background: radial-gradient(circle at 50% 0%, #0d1a12, #030504 60%); }
  #app { border-left: 1px solid #121a15; border-right: 1px solid #121a15; }
}

/* ---------- conta e nuvem (login, cadastro, sincronização) ---------- */
.link { color: var(--green); font-weight: 600; }
.account .acc-h { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.account .gi { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--green) 13%, transparent); color: var(--green); flex-shrink: 0; }
.account .gi svg { width: 24px; height: 24px; }
.account .acc-h b { display: block; font-size: 15px; overflow-wrap: anywhere; }
.account .acc-h span { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.btn.google { background: #fff; color: #1f1f1f; }
.btn .g-logo { width: 20px; height: 20px; }
.or { display: flex; align-items: center; gap: 12px; margin: 16px 0; color: var(--muted); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.agree { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); margin: 0 0 16px; cursor: pointer; }
.agree input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--green); flex-shrink: 0; }
.form-err { color: var(--red); font-size: 13px; font-weight: 600; margin: 0 0 12px; }
.form-err[hidden] { display: none; }
.auth-links { text-align: center; margin-top: 16px; font-size: 14px; }
.auth-ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: color-mix(in srgb, var(--green) 13%, transparent); color: var(--green); margin-bottom: 14px; }
.auth-ic svg { width: 28px; height: 28px; }
.del-acc { display: block; margin: 16px auto 0; color: var(--muted); font-size: 13px; font-weight: 500; text-decoration: underline; }

/* ---------- abertura com conta obrigatória ---------- */
.gate { justify-content: center; gap: 22px; }
.gate .brand { margin-bottom: 0; }
.gate-hero h1 { font-family: var(--display); font-stretch: 72%; font-size: 44px; line-height: .95; text-transform: uppercase; font-weight: 800; margin-top: 18px; }
.gate-hero h1 em { font-style: normal; color: var(--green); }
.gate-hero p { color: #bcd0c3; margin-top: 10px; font-size: 15px; }
.gate-card { background: var(--card, #101511); border: 1px solid var(--line); border-radius: 22px; padding: 20px; }
.gate-card h2 { font-family: var(--display); font-stretch: 72%; font-size: 28px; text-transform: uppercase; line-height: 1; margin-bottom: 6px; }
.splash { align-items: center; text-align: center; }
.splash .brand { font-size: 20px; }
/* ---------- administração ---------- */
.guide .chev { margin-left: auto; width: 18px; height: 18px; color: var(--muted); flex-shrink: 0; }
.adm-list { margin-top: 16px; }
.adm-row { padding: 11px 0; border-top: 1px solid var(--line); }
.adm-row b { display: block; font-size: 14px; overflow-wrap: anywhere; }
.adm-row span { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }

/* ---------- escolha do modo (abertura) ---------- */
.modes { display: grid; gap: 10px; }
.mode-card { display: flex; align-items: center; gap: 14px; text-align: left; padding: 16px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.mode-card:hover { border-color: var(--green); }
.mode-card .mc-ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: color-mix(in srgb, var(--green) 16%, transparent); color: var(--green); flex-shrink: 0; }
.mode-card .mc-ic svg { width: 26px; height: 26px; }
.mode-card b { display: block; font-size: 17px; }
.mode-card span { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.mode-card .chev { margin-left: auto; width: 18px; height: 18px; color: var(--muted); flex-shrink: 0; }

/* ---------- vida saudável: nutrição ---------- */
.kcal-big b { font-family: var(--display); font-stretch: 72%; font-size: 52px; line-height: 1; color: var(--green); }
.kcal-big span { margin-left: 6px; color: var(--muted); font-weight: 600; }
.kcal-line { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; }
.kcal-line b { font-family: var(--display); font-stretch: 72%; font-size: 32px; line-height: 1; }
.kcal-line span { font-size: 13px; color: var(--muted); }
.macs { display: grid; gap: 10px; }
.mac-h { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 5px; }
.mac small { font-size: 11px; color: var(--muted); }
.bar.blue > i { background: linear-gradient(90deg, #0ea5e9, var(--blue)); }
.water .w-h { display: flex; align-items: center; gap: 12px; }
.water .w-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--blue) 16%, transparent); color: var(--blue); flex-shrink: 0; }
.water .w-ic svg { width: 22px; height: 22px; }
.water .btn.sm { flex: 1; padding-left: 6px; padding-right: 6px; }
.meal .card-h { align-items: flex-start; }
.foods { list-style: none; margin: 0; padding: 0; }
.foods li { display: flex; gap: 10px; padding: 7px 0; border-top: 1px solid var(--line); font-size: 14px; }
.foods li:first-child { border-top: 0; }
.foods li b { min-width: 92px; color: var(--text); }
.foods li span { color: var(--muted); }
.meal-f { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 10px; font-size: 12px; font-weight: 700; color: var(--muted); }
.meal-f span:first-child { color: var(--green); }

/* ---------- vida saudável: mente ---------- */
.moods { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.moods button { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 2px; border-radius: 14px; background: var(--bg2); border: 1px solid var(--line); font-size: 11px; font-weight: 700; color: var(--muted); }
.moods button span { font-size: 24px; line-height: 1; }
.moods button.on { border-color: var(--green); color: var(--text); background: color-mix(in srgb, var(--green) 13%, transparent); }
.mood-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.mood-week div { padding: 6px 0; border-radius: 10px; background: var(--bg2); }
.mood-week span { display: block; font-size: 18px; line-height: 1.3; color: var(--muted); }
.mood-week small { display: block; font-size: 10px; color: var(--muted); }

/* ---------- links de termos e privacidade ---------- */
.legal-links { text-align: center; font-size: 13px; color: var(--muted); margin-top: 18px; }
.legal-links a, .agree a, .muted a { color: var(--green); }

/* ---------- acompanhamento: programa, carga, troca, check-in, medidas e fotos ---------- */
.weeks12 { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; }
.weeks12 i { height: 8px; border-radius: 4px; background: var(--line); }
.weeks12 i.light { background: #2b3a2f; }
.weeks12 i.done { background: var(--green-d); }
.weeks12 i.now { background: var(--green); box-shadow: 0 0 8px var(--green); }
.ex-wrap { position: relative; }
.ex-wrap .ex { padding-right: 56px; }
.swap-btn { position: absolute; right: 38px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--card2); color: var(--muted); border: 1px solid var(--line); }
.swap-btn svg { width: 16px; height: 16px; }
.swap-btn:hover { color: var(--green); border-color: var(--green); }
.setlog { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; margin: 4px 0 14px; text-align: left; }
.set-row { display: grid; grid-template-columns: 70px 1fr 1fr; gap: 8px; align-items: center; margin-top: 6px; font-size: 13px; color: var(--muted); font-weight: 600; }
.set-row input { width: 100%; padding: 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg2); color: var(--text); font-size: 16px; text-align: center; }
.set-row input:focus { outline: none; border-color: var(--green); }
.m-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; margin-top: 10px; }
.thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.thumb { position: relative; border-radius: 12px; overflow: hidden; background: var(--bg2); aspect-ratio: 3 / 4; }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb span { position: absolute; left: 6px; bottom: 6px; font-size: 11px; font-weight: 700; background: rgba(0,0,0,.6); padding: 2px 6px; border-radius: 6px; }
.thumb button { position: absolute; right: 4px; top: 4px; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: rgba(0,0,0,.6); color: #fff; }
.thumb button svg { width: 14px; height: 14px; }
.cmp { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 4px; }
.cmp figure { margin: 0; border-radius: 12px; overflow: hidden; background: var(--bg2); }
.cmp img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: block; }
.cmp figcaption { font-size: 12px; font-weight: 700; padding: 6px 8px; color: var(--muted); }
.vid { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; margin: 12px 0 4px; }
.vid iframe, .vid video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vid-cred { margin: 0 0 6px; font-size: 11px; }
.vid-d { margin: 4px 0 12px; text-align: left; }
.vid-d summary { cursor: pointer; font-weight: 700; font-size: 14px; color: var(--green); display: flex; align-items: center; gap: 6px; list-style: none; }
.vid-d summary svg { width: 14px; height: 14px; }

/* ---------- diário, desafios ---------- */
.diary-sum { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.diary-sum span { font-size: 12px; color: var(--muted); font-weight: 600; }
.diary-sum b { display: block; font-size: 18px; margin-top: 2px; }
.diary-sum small { font-size: 12px; color: var(--muted); font-weight: 600; }
.meal-log { margin-top: 10px; }
.meal-log .btn.sm { flex: 1; }
.food-list { max-height: 50vh; overflow-y: auto; margin-top: 10px; display: grid; gap: 6px; }
.food-opt { text-align: left; padding: 10px 12px; border-radius: 12px; background: var(--bg2); border: 1px solid var(--line); }
.food-opt b { display: block; font-size: 14px; }
.food-opt span { font-size: 12px; color: var(--muted); }
.ch-grid { display: grid; gap: 5px; }
.ch-grid i { aspect-ratio: 1; border-radius: 6px; background: var(--line); }
.ch-grid i.ok { background: var(--gold); }
.ch-grid i.miss { background: color-mix(in srgb, var(--red) 46%, transparent); }
.ch-grid i.now { outline: 2px solid var(--gold); outline-offset: -2px; }

/* ---------- ranking ---------- */
.rank-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: var(--bg2); border: 1px solid var(--line); margin-bottom: 6px; }
.rank-row.me { border-color: var(--green); background: color-mix(in srgb, var(--green) 9%, transparent); }
.rank-row .pos { font-family: var(--display); font-stretch: 72%; font-size: 22px; width: 34px; color: var(--gold); }
.rank-row b { display: block; font-size: 15px; }
.rank-row .xp { color: var(--gold); font-size: 15px; white-space: nowrap; }

/* ---------- vídeo em destaque (capa com play) ---------- */
.vid.lite { cursor: pointer; }
.vid.lite img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.vid.lite::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.55)); }
.vid-play { position: absolute; left: 50%; top: 45%; transform: translate(-50%, -50%); width: 64px; height: 64px; border-radius: 50%; background: var(--green); color: var(--on-green); display: grid; place-items: center; z-index: 1; box-shadow: 0 6px 24px rgba(0,0,0,.45); }
.vid-play svg { width: 28px; height: 28px; margin-left: 3px; }
.vid-lbl { position: absolute; left: 12px; bottom: 10px; z-index: 1; font-weight: 800; font-size: 14px; display: flex; align-items: center; gap: 6px; }
.vid-lbl svg { width: 14px; height: 14px; }
.ring.sm { width: 150px; height: 150px; margin: 12px auto; }
.ring.sm .t b { font-size: 44px; }
.vid-tag { background: color-mix(in srgb, var(--green) 17%, transparent); color: var(--green); margin-left: 4px; }
.pl-h { text-align: left; margin: 14px 0 6px; font-size: 15px; }
.player .body .vid { margin-top: 10px; }

/* ---------- plano em sequência ---------- */
.day.plan-lock { opacity: .62; }
.day.plan-lock .wd small svg { color: var(--muted); }
.day.plan-done .focus b { color: var(--muted); }

/* guia de instalação (js/instalar.js) */
.inst-card .inst-top { display: flex; gap: 12px; align-items: center; }
.inst-card .gi { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; color: var(--green); background: color-mix(in srgb, var(--green) 16%, transparent); }
.inst-card b { display: block; }
.inst-card span { color: var(--muted); font-size: 13px; }
.inst-card .btn-row .btn, .inst-card .btn-row { margin-bottom: 0; }
.inst-ph { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.legal-links a .inst-ph { width: 16px; height: 16px; vertical-align: -3px; }
.inst-steps li > div > b { display: block; }
.inst-steps li > div > span { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.inst-ic { width: 20px; height: 20px; vertical-align: -4px; margin: 0 2px; padding: 2px; border-radius: 6px; background: var(--card2); fill: none; stroke: var(--blue, #38bdf8); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.inst-ic circle { fill: var(--blue, #38bdf8); stroke: none; }
.inst-gate { margin-top: 14px; gap: 8px; }

/* campos de texto sempre com 16px: evita o zoom automático do iPhone ao tocar */
input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), textarea, select { font-size: 16px !important; }

/* alvo de toque maior (cerca de 44 px) nos botões pequenos: os links do topo dos cartões ("Desbloquear", "Meus dias",
   "Ajustar dias", "Ver plano") e a lixeira das listas. A área extra é invisível e fica em volta do botão: o desenho não muda */
button.link, .list-row button.tag { position: relative; }
button.link::after, .list-row button.tag::after { content: ""; position: absolute; left: -8px; right: -8px; top: 50%; height: 44px; transform: translateY(-50%); }

/* ---------------- rede social (js/rede.js) ---------------- */
.nav.nav7 { grid-template-columns: repeat(7, 1fr); padding-left: 2px; padding-right: 2px; }
.nav.nav7 button { font-size: 9.5px; letter-spacing: -.3px; }
.nav.nav7 button svg { width: 21px; height: 21px; }
.rd-top { display: flex; align-items: center; gap: 10px; }
.rd-ib { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--card); border: 1px solid var(--line); color: var(--text); flex-shrink: 0; }
.rd-ib svg { width: 20px; height: 20px; }
.rd-ib.av { border: 0; background: none; }
.rd-av { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; overflow: hidden; font-weight: 800; font-size: 16px; color: var(--on-green); background: linear-gradient(140deg, var(--green), #0f7d3a); }
.rd-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rd-av.big { width: 84px; height: 84px; font-size: 34px; }
.rd-user { display: flex; align-items: center; gap: 10px; text-align: left; min-width: 0; flex: 1; }
.rd-user > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.rd-user b { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rd-user span span { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rd-post { background: var(--card); border: 1px solid var(--line); border-radius: 18px; margin-bottom: 14px; overflow: hidden; }
.rd-ph { display: flex; align-items: center; gap: 8px; padding: 12px 8px 12px 14px; }
.rd-more { width: 40px; height: 40px; display: grid; place-items: center; color: var(--muted); border-radius: 50%; flex-shrink: 0; }
.rd-more svg { width: 20px; height: 20px; }
.rd-img { display: block; width: 100%; max-height: 560px; object-fit: cover; background: var(--bg2); }
.sheet > .rd-img, .rd-rep .rd-img { border-radius: 14px; max-height: 380px; }
.rd-cap { padding: 12px 14px 0; font-size: 15px; line-height: 1.45; overflow-wrap: anywhere; }
.rd-cap.solo { padding-top: 0; font-size: 16px; }
.rd-rep .rd-cap { padding: 10px 0; }
.rd-warn { display: flex; gap: 8px; align-items: center; margin: 0 14px 12px; padding: 10px 12px; border-radius: 12px; font-size: 13px; background: color-mix(in srgb, var(--gold) 13%, transparent); color: var(--gold); }
.rd-warn svg { width: 16px; height: 16px; flex-shrink: 0; }
.rd-act { display: flex; gap: 6px; padding: 8px 8px 10px; }
.rd-act button { display: flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 12px; border-radius: 12px; color: var(--muted); font-size: 14px; }
.rd-act button svg { width: 21px; height: 21px; }
.rd-act button.on { color: var(--red); }
.rd-act button.on svg { fill: currentColor; }
.rd-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); }
.rd-row:first-child { border-top: 0; }
.rd-row .btn.sm { flex-shrink: 0; min-width: 96px; }
.rd-prof { display: flex; align-items: center; gap: 18px; margin-bottom: 14px; }
.rd-stats { display: grid; grid-template-columns: repeat(3, 1fr); flex: 1; text-align: center; }
.rd-stats > * { display: flex; flex-direction: column; align-items: center; font-size: 12.5px; color: var(--muted); padding: 6px 0; }
.rd-stats b { font-size: 19px; color: var(--text); font-family: var(--display); font-stretch: 72%; }
.rd-bio { margin-bottom: 14px; overflow-wrap: anywhere; }
.rd-bio p { margin: 4px 0 0; color: var(--muted); font-size: 14px; line-height: 1.45; }
.rd-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; border-radius: 14px; overflow: hidden; }
.rd-tile { aspect-ratio: 1; background: var(--card2); overflow: hidden; display: block; }
.rd-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rd-tile.txt { display: grid; place-items: center; padding: 8px; }
.rd-tile.txt span { font-size: 11.5px; line-height: 1.3; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.rd-avpick { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.rd-at { display: flex; align-items: center; gap: 8px; }
.rd-at > span { font-size: 18px; font-weight: 800; color: var(--muted); }
.rd-at input { flex: 1; }
.rd-cm { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; border-top: 1px solid var(--line); }
.rd-cm:first-child { border-top: 0; }
.rd-cm > div { flex: 1; min-width: 0; }
.rd-cm .rd-av { width: 34px; height: 34px; font-size: 14px; }
.rd-cmu { text-align: left; font-size: 13.5px; }
.rd-cmu span { color: var(--muted); font-size: 12px; }
.rd-cm p { margin: 2px 0 0; font-size: 14.5px; line-height: 1.4; overflow-wrap: anywhere; }
.rd-cm .tag { min-width: 32px; min-height: 32px; justify-content: center; }
.rd-send { display: flex; gap: 8px; position: sticky; bottom: 0; padding: 8px 0 2px; background: var(--bg2); }
.rd-send .input { flex: 1; }
.rd-send .btn { width: 52px; flex-shrink: 0; padding: 0; }
.rd-send .btn svg { width: 20px; height: 20px; }
label.btn { cursor: pointer; }

/* ================= identidade LifeFut (20/11/2026) =================
   Marca do dono: azul noite, lima, verdes e branco, com degradês suaves; letra Hanken Grotesk em tudo.
   Fundo azul noite com um clarão azul no alto e verde/lima embaixo; cartões brancos; um botão lima por tela. */
body { background: var(--campo-e); }
#app, .player {
  background-color: var(--bg); background-repeat: no-repeat; background-size: auto;
  background-image:
    radial-gradient(130% 440px at 100% 0, #1E488F 0, rgba(30, 72, 143, 0) 72%),
    radial-gradient(95% 420px at 0 100%, rgba(219, 230, 76, .5) 0, rgba(116, 195, 101, .42) 22%, rgba(0, 128, 76, .3) 48%, rgba(0, 128, 76, 0) 78%);
}
#app { box-shadow: none; }
#app::before { background: color-mix(in srgb, var(--campo) 90%, transparent); }
@media (min-width: 520px) { body { background: var(--campo-e); } #app { border: 0; } }

/* cartões: sombra macia; cartão dentro de cartão não tem sombra */
.card, .ex, .day, .guide, .plan, .rd-post, .mode-card, .lockcard, .hero, .pcard, .gate-card, .upsell, .notice, .story-nudge, .copybox, .setlog { box-shadow: 0 10px 26px rgba(0, 8, 22, .3); }
:is(.card, .day, .sheet, .hero, .gate-card, .plan) :is(.card, .ex, .day, .guide, .plan, .mode-card, .lockcard, .upsell, .notice, .story-nudge, .copybox, .setlog) { box-shadow: none; }

/* blocos escuros com degradê da marca (como os posts): voltam para as cores de fundo escuro */
.hero, .pcard, .onb-hero, .gate-hero {
  --text: #F6F7ED; --muted: #c3d0e0; --line: rgba(246, 247, 237, .2);
  --green: #DBE64C; --green-d: #c3ce36; --gold: #DBE64C; --red: #ff9c90; --blue: #9cc0ff;
  --on-green: #001F3F; --on-gold: #001F3F;
  color: var(--text);
}

/* títulos: Hanken Grotesk pesada, sem caixa alta */
.topbar h1, .section-t, .sheet h2, .onb h2, .player h2, .gate-card h2, .plan .ph h3, .hero .lvl-name, .pcard .nm, .onb-hero h1, .gate-hero h1 { text-transform: none; font-stretch: normal; font-weight: 800; letter-spacing: -.02em; }
.topbar h1 { font-size: 25px; } .section-t { font-size: 19px; margin-top: 24px; } .sheet h2 { font-size: 25px; line-height: 1.1; } .onb h2 { font-size: 29px; line-height: 1.08; }
.player h2 { font-size: 26px; line-height: 1.08; } .gate-card h2 { font-size: 23px; } .plan .ph h3 { font-size: 22px; } .hero .lvl-name { font-size: 31px; } .pcard .nm { font-size: 21px; }
.onb-hero h1 { font-size: 42px; line-height: 1.02; } .gate-hero h1 { font-size: 35px; line-height: 1.04; }
.hero .lvl-label, .food-h { font-family: var(--display); font-stretch: normal; letter-spacing: 1.5px; font-weight: 700; }

/* botão principal: lima com letra azul noite */
.btn { background: var(--cartao); color: var(--tinta); border: 0; box-shadow: none; border-radius: 16px; font-family: var(--display); font-stretch: normal; font-weight: 800; letter-spacing: -.01em; }
.btn:active { transform: scale(.98); box-shadow: none; }
.btn:hover { filter: none; }
.btn.ghost { background: var(--card2); color: var(--text); border: 0; box-shadow: none; }
.btn.gold { background: var(--tinta); color: var(--cartao); }
.btn.danger { background: transparent; color: var(--red); border: 1.5px solid currentColor; box-shadow: none; }
.btn.sm { border-width: 0; box-shadow: none; border-radius: 12px; }
.btn.sm.danger { border-width: 1.5px; }
.btn.sm:active { transform: scale(.98); }
.ai-btn { background: linear-gradient(100deg, var(--azul), var(--verde)); color: var(--branco); }
.chip.on { background: var(--tinta); color: var(--cal); border-color: var(--tinta); }
.seg button.on { background: var(--tinta); color: var(--cal); box-shadow: none; }
.vid-play { background: var(--cartao); color: var(--tinta); border: 0; }

/* menu de baixo: barra azul noite solta sobre o fundo */
.nav { width: calc(100% - 16px); max-width: 464px; bottom: calc(8px + var(--safe-b)); padding: 6px 4px; border: 1px solid rgba(246, 247, 237, .12); border-radius: 22px; background: rgba(0, 21, 44, .94); box-shadow: 0 8px 24px rgba(0, 0, 0, .4); }
.nav.nav6, .nav.nav7 { padding-left: 2px; padding-right: 2px; }
.nav button { color: #8ea2bd; }
.nav button.on { color: var(--cartao); }
.nav button.on svg { filter: none; }
.pl-mini { bottom: calc(78px + var(--safe-b)); background: var(--campo-e); border: 1.5px solid var(--cartao); }
.toast { background: var(--campo-e); border: 1.5px solid var(--cartao); color: var(--cal); box-shadow: 0 10px 30px rgba(0, 0, 0, .4); }

/* cartão do topo (nível) e figurinha do jogador: degradê da marca */
.hero, .pcard, .onb-hero {
  border: 0;
  background:
    radial-gradient(110% 95% at 0 100%, #DBE64C 0, #74C365 13%, #00804C 32%, rgba(0, 128, 76, 0) 62%),
    linear-gradient(180deg, #1E488F 0, #001F3F 58%);
}
.hero { border-radius: var(--r); }
.hero::after, .pcard::before { display: none; }
.ovr b { background: var(--cartao); color: var(--tinta); border: 0; border-radius: 14px; padding: 7px 10px 3px; font-size: 42px; font-weight: 800; }
.ovr span { display: block; margin-top: 4px; }
.stat { background: var(--card2); border: 0; }
.hero .stat, .pcard .stat { background: rgba(246, 247, 237, .12); border: 0; }
.bar { background: color-mix(in srgb, var(--text) 16%, transparent); }
.bar > i { background: var(--green); }
.bar.gold > i { background: var(--gold); }
.bar.blue > i { background: var(--blue); }
.pcard .big { color: var(--cartao); } .pcard .big small, .attr span { color: var(--muted); }
.avatar, .rd-av { background: var(--cartao); color: var(--tinta); border: 0; }
.rd-av img { border-radius: 50%; }
.avatar .plan-dot { background: var(--tinta); color: var(--cartao); }

/* avisos e blocos que eram escuros */
.notice { background: color-mix(in srgb, var(--blue) 12%, var(--card)); border-color: color-mix(in srgb, var(--blue) 32%, transparent); color: var(--text); }
.notice.gift { background: color-mix(in srgb, var(--green) 12%, var(--card)); border-color: color-mix(in srgb, var(--green) 36%, transparent); color: var(--text); }
.notice.warn { background: color-mix(in srgb, var(--lima) 34%, var(--card)); border-color: color-mix(in srgb, var(--verde) 40%, transparent); color: var(--text); }
.upsell { background: color-mix(in srgb, var(--lima) 34%, var(--card)); border-color: color-mix(in srgb, var(--verde) 40%, transparent); }
.story-nudge { background: var(--card); border-color: var(--line); }
.plan.elite { background: var(--card); }
.lc-over { background: color-mix(in srgb, var(--card) 72%, transparent); }
.flags li { color: var(--red); } .flags li b { color: var(--text); }
.badge .bi { color: var(--muted); }
.badge.on .bi { background: var(--lima); color: var(--noite); box-shadow: none; }
.thumb span, .thumb button, .vid-lbl { color: #fff; }
.mission .ck, .check-item .ck { border-color: color-mix(in srgb, var(--text) 38%, transparent); }
.upload { border-color: var(--muted); }
.weeks12 i.light { background: color-mix(in srgb, var(--text) 26%, transparent); }
.week .d.done .dot, .weeks12 i.now { box-shadow: none; }
.onb-hero .pitch { display: none; }
.onb-hero p, .gate-hero p { color: var(--muted); }
.brand { font-family: var(--display); font-stretch: normal; font-weight: 800; letter-spacing: -.02em; font-size: 21px; gap: 10px; }
.brand svg.lf-logo { width: 44px; height: auto; }
.stepper b { color: var(--text); }
.stepper button { font-family: var(--display); }

/* o recado do dia, com a marca no lugar do mascote (js/quero.js) */
.qr-fala { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; }
.qr-bicho { width: 52px; height: 52px; flex-shrink: 0; }
.qr-bicho svg { width: 100%; height: 100%; display: block; }
.qr-balao { position: relative; flex: 1; background: var(--card); border-radius: 18px; padding: 12px 15px; font-family: var(--font); font-size: 17px; font-weight: 700; line-height: 1.2; box-shadow: 0 10px 26px rgba(0, 8, 22, .3); }
.qr-balao::before { content: ""; position: absolute; left: -8px; top: 50%; margin-top: -8px; border: 8px solid transparent; border-left: 0; border-right-color: var(--card); }
.qr-balao u { text-decoration-color: var(--verde); text-decoration-thickness: 3px; text-underline-offset: 3px; }
.qr-mini { width: 96px; height: 96px; margin: 0 auto 10px; }
.qr-mini svg { width: 100%; height: 100%; display: block; }
.qr-hero { position: absolute; right: 18px; top: 18px; width: 64px; height: 64px; }
.qr-hero svg { width: 100%; height: 100%; display: block; }

/* etiqueta de categoria com cor própria, quando fica direto no fundo escuro (treino em andamento): vira cartão para a cor aparecer */
.player .tag[style] { background: var(--card) !important; }
.steps li::before { color: var(--tinta); }

.seg button { padding-left: 4px; padding-right: 4px; }
.pl-nota { margin: 6px 0 0; padding: 6px 10px; border-radius: 9px; background: rgba(219, 230, 76, .16); color: var(--cartao); font-weight: 600; }
