:root {
  /* Paleta pastel: rosa + verde menta + blanco */
  --bg: #fff8fa;
  --card: #ffffff;
  --ink: #3d2f35;
  --muted: #86737b;
  --line: #f3dfe5;
  --brand: #a8dcc0;       /* verde pastel (seleccionados, pestañas) */
  --brand-ink: #24543d;
  --brand-strong: #3f8a66; /* verde para números y enlaces */
  --accent: #f6b7c8;      /* rosa pastel (botones principales) */
  --accent-ink: #6b2a40;
  --accent-strong: #e07c9a;
  --protein: #ec8fab;
  --carbs: #f5c99a;
  --fat: #8fcfab;
  --soft: #eef8f2;
  --pink-soft: #fdeef2;
  --error: #b42345;
  --radius: 20px;
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.5 Inter, system-ui, sans-serif;
  padding-bottom: env(safe-area-inset-bottom);
}
h1, h2, .kcal, .brand { font-family: Fraunces, Georgia, serif; }
h1 { font-size: clamp(28px, 7vw, 40px); line-height: 1.1; margin: 0 0 8px; }
h2 { font-size: 22px; line-height: 1.2; margin: 0 0 12px; }

.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: calc(12px + env(safe-area-inset-top)) 16px 12px;
  max-width: 640px; margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; }
main { max-width: 640px; margin: 0 auto; padding: 0 16px 48px; }

.hero { padding: 16px 0 20px; }
.hero p, .muted { color: var(--muted); margin: 0; }
.page-title { margin-top: 8px; }

.card {
  box-shadow: 0 6px 20px rgba(224, 124, 154, .08);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 16px;
}
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: 12px; font-weight: 600; color: var(--muted); margin: 0 0 8px; }

/* Form */
form.card { display: grid; gap: 18px; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend, .field { font-size: 14px; font-weight: 600; color: var(--muted); }
legend { margin-bottom: 8px; }
.field { display: grid; gap: 6px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
input, select {
  width: 100%; font: inherit; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line); border-radius: 12px;
  padding: 12px; min-height: 48px; font-size: 16px;
}
input:focus, select:focus { outline: 2px solid var(--accent-strong); outline-offset: 1px; }
.unit-wrap { position: relative; display: block; }
.unit-wrap input { padding-right: 44px; }
.unit-wrap em { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-style: normal; font-size: 13px; color: var(--muted); font-weight: 500; pointer-events: none; }

.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg legend { grid-column: 1 / -1; }
.seg.three { grid-template-columns: repeat(3, 1fr); }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; }
.seg span {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 48px; padding: 8px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--bg); color: var(--ink); font-weight: 500; font-size: 14px; cursor: pointer;
}
.seg input:checked + span { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Buttons */
button, .primary, .ghost { font: inherit; cursor: pointer; }
.primary {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent); color: var(--accent-ink); border: 0; border-radius: 14px;
  padding: 14px 20px; font-weight: 600; text-decoration: none; min-height: 52px;
}
.primary:hover { background: #f2a3b9; }
.primary:active { transform: translateY(1px); }
.ghost { background: transparent; border: 1px solid var(--line); color: var(--ink); border-radius: 12px; padding: 12px 16px; }
.small { padding: 8px 12px; font-size: 14px; }
.block { width: 100%; margin-bottom: 16px; }
.link { background: none; border: 0; color: var(--brand-strong); text-decoration: underline; padding: 8px 0; font-weight: 500; }
.back { margin: 4px 0 16px; }
.error { color: var(--error); font-size: 14px; margin: 0; }

/* Results */
.kcal { font-size: 56px; font-weight: 700; line-height: 1; margin: 4px 0 16px; color: var(--brand-strong); }
.kcal small { font-size: 20px; font-family: Inter, sans-serif; color: var(--muted); font-weight: 500; }
.kcal-breakdown div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 14px; }
.kcal-breakdown span { color: var(--muted); }

.macros { display: grid; grid-template-columns: 120px 1fr; gap: 20px; align-items: center; }
.macros svg { width: 120px; height: 120px; }
.macro-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.macro-list li { display: grid; grid-template-columns: 12px 1fr auto; gap: 10px; align-items: center; }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.macro-list strong { font-size: 20px; }
.macro-list small { display: block; color: var(--muted); font-size: 13px; }

.meal-split { display: grid; gap: 8px; }
.meal-row { display: flex; justify-content: space-between; gap: 8px; padding: 10px 12px; background: var(--soft); border-radius: 12px; font-size: 14px; }
.meal-row span:last-child { color: var(--muted); text-align: right; }

.paywall { border: 2px solid var(--accent); background: linear-gradient(180deg, var(--pink-soft), var(--card) 60%); }
.checks { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; }
.checks li::before { content: "✓"; color: var(--accent-strong); font-weight: 700; margin-right: 8px; }
.paywall .primary.block { margin-bottom: 4px; }
.code-form { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin: 8px 0; }
.code-form input { text-transform: uppercase; }

.disclaimer { font-size: 12px; color: var(--muted); }

/* Menu */
.days { display: flex; gap: 8px; overflow-x: auto; padding: 16px 0; scrollbar-width: none; }
.days::-webkit-scrollbar { display: none; }
.days button {
  flex: 0 0 auto; border: 1px solid var(--line); background: var(--card); color: var(--ink);
  border-radius: 999px; padding: 8px 16px; font-weight: 500;
}
.days button[aria-selected="true"] { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }
.day-total { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.day-total strong { color: var(--ink); }
.meal-card { display: block; width: 100%; text-align: left; color: inherit; cursor: pointer; }
.meal-card:hover { border-color: var(--accent); }
.meal-card .eyebrow { display: flex; justify-content: space-between; }
.meal-card h3 { margin: 0 0 6px; font-size: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; font-size: 12px; }
.chip { background: var(--soft); border-radius: 999px; padding: 3px 10px; }

/* Recipe */
.recipe h1 { margin-bottom: 4px; }
.ingredients { list-style: none; padding: 0; margin: 0; }
.ingredients li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.ingredients li span:last-child { font-weight: 600; white-space: nowrap; }
.steps { padding-left: 20px; margin: 0; display: grid; gap: 10px; }

@media (max-width: 420px) {
  .grid3 { grid-template-columns: 1fr 1fr; }
  .grid3 label:first-child { grid-column: 1 / -1; }
  .macros { grid-template-columns: 1fr; justify-items: center; }
  .macro-list { width: 100%; }
  .kcal { font-size: 48px; }
}
.tip { background: var(--soft); border-color: transparent; font-size: 14px; }
.tip strong { display: block; margin-bottom: 4px; }
body {
  background:
    radial-gradient(600px 300px at 100% 0, #e3f5ea 0, transparent 70%),
    radial-gradient(500px 300px at 0 0, #fde3eb 0, transparent 70%),
    var(--bg);
  background-attachment: fixed;
}
@media (max-width: 420px) {
  .meal-row { flex-direction: column; gap: 2px; }
  .meal-row span:first-child { font-weight: 600; }
  .meal-row span:last-child { text-align: left; }
}
.seg.three span { font-size: 13px; line-height: 1.25; }
.ing-head { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; padding: 14px 0 4px; border-bottom: 0; }
.ingredients li { display: block; }
.step-head { font-size: 15px; margin: 18px 0 8px; color: var(--brand-ink); }
.step-head:first-child { margin-top: 0; }
.step { display: grid; grid-template-columns: 26px 1fr; gap: 8px; margin: 0 0 10px; }
.step span { width: 22px; height: 22px; border-radius: 50%; background: var(--pink-soft); color: var(--accent-ink); font-size: 12px; font-weight: 700; display: grid; place-items: center; margin-top: 1px; }
.fine { font-size: 13px; margin: -8px 0 16px; }
.brand { font-size: 18px; }

/* ===== Cuentas, pestañas y lista de compras ===== */
.top-actions { display: flex; gap: 8px; }
.demo-banner { background: #fff4d6; color: #6b4e00; border-radius: 12px; padding: 8px 12px; font-size: 13px; margin: 0 0 12px; }
.hero.center { text-align: center; }
.auth-card { padding-top: 12px; }
.stack { display: grid; gap: 14px; }
.tabs2, .tabs3 { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: var(--soft); padding: 4px; border-radius: 14px; margin-bottom: 18px; }
.tabs3 { grid-template-columns: repeat(3, 1fr); }
.tabs2 button, .tabs3 button { border: 0; background: transparent; color: var(--muted); border-radius: 10px; padding: 10px 6px; font-weight: 600; font-size: 14px; }
.tabs2 button[aria-selected="true"], .tabs3 button[aria-selected="true"] { background: var(--card); color: var(--ink); box-shadow: 0 1px 4px rgba(0,0,0,.06); }
.opt { font-weight: 400; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: 14px; color: var(--ink); }
.check input { width: 20px; height: 20px; min-height: 0; margin: 1px 0 0; accent-color: var(--accent-strong); }
.check a, .foot a, .legal a { color: var(--brand-strong); }
.msg { font-size: 14px; margin: 12px 0 0; color: var(--error); }
.msg.ok { color: var(--brand-ink); background: var(--soft); padding: 10px 12px; border-radius: 12px; }
.link:disabled, button:disabled { opacity: .6; cursor: default; }
.pay-box { text-align: center; margin: 8px 0 24px; }
.pay-box p { margin: 0 0 8px; }
.pay-box .fine { margin-top: 8px; }
.hello { font-family: Fraunces, Georgia, serif; font-size: 22px; font-weight: 700; margin: 4px 0 14px; }
.shop-sec h3 { margin: 0 0 6px; font-size: 16px; }
.shop-item { display: grid; grid-template-columns: 22px 1fr auto; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.shop-item:last-child { border-bottom: 0; }
.shop-item input { width: 20px; height: 20px; min-height: 0; margin: 0; accent-color: var(--brand-strong); }
.shop-item em { font-style: normal; color: var(--muted); font-size: 14px; white-space: nowrap; }
.shop-item input:checked ~ span, .shop-item input:checked ~ em { text-decoration: line-through; opacity: .5; }
.meal-img { width: calc(100% + 40px); margin: -20px -20px 14px; height: 150px; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; display: block; }
.recipe-img { width: 100%; height: 220px; object-fit: cover; border-radius: var(--radius); margin-bottom: 14px; display: block; }
.meal-card { overflow: hidden; }
.foot { text-align: center; font-size: 13px; color: var(--muted); padding: 0 16px 32px; }
.legal { max-width: 720px; padding-top: 24px; }
.legal h2 { font-size: 18px; margin-top: 24px; }
.legal li { margin-bottom: 6px; }

/* Botón de pago destacado */
.cta {
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: #c94f74; color: #fff; border-radius: 16px; min-height: 58px;
  padding: 14px 20px; font-weight: 700; font-size: 17px; text-decoration: none;
  box-shadow: 0 8px 22px rgba(201, 79, 116, .35); margin-bottom: 10px;
  animation: cta-pulse 2.4s ease-in-out infinite;
}
.cta:hover { background: #b8436a; }
@keyframes cta-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.02); } }
@media (prefers-reduced-motion: reduce) { .cta { animation: none; } }
.pay-hero { border: 2px solid #f2a3b9; background: linear-gradient(180deg, var(--pink-soft), var(--card) 70%); }
.price { font-family: Fraunces, Georgia, serif; font-size: 34px; font-weight: 700; margin: 0 0 12px; color: #c94f74; }
.price small { font-family: Inter, sans-serif; font-size: 14px; font-weight: 500; color: var(--muted); }
.pay-hero .checks { margin-bottom: 16px; }

/* ===== Paleta v3: base verde menta + blanco, rosado solo para acentos ===== */
:root {
  --bg: #f4faf6;
  --line: #dcebe2;
  --ink: #23332b;
  --muted: #6b7d73;
  --soft: #e9f6ee;
  --pink-soft: #fdeef2;
  --brand: #bfe6cf;
  --brand-ink: #1f5139;
  --brand-strong: #2f7a55;
  --accent: #e8f5ee;          /* botones secundarios: verde muy claro */
  --accent-ink: #1f5139;
}
body {
  background-color: var(--bg);
  background-image:
    radial-gradient(700px 320px at 100% -40px, #d7f0e1 0, transparent 70%),
    radial-gradient(520px 300px at -10% -60px, #fbe3ea 0, transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cg fill='none' stroke='%23a9d8bd' stroke-width='2' stroke-linecap='round' opacity='.45'%3E%3Cellipse cx='38' cy='42' rx='16' ry='22' transform='rotate(-20 38 42)'/%3E%3Ccircle cx='35' cy='48' r='7'/%3E%3Ccircle cx='132' cy='40' r='17'/%3E%3Cpath d='M132 23v34M115 40h34M120 28l24 24M144 28l-24 24'/%3E%3Cpath d='M58 126c20-22 46-22 54-4-16 16-40 18-54 4z'/%3E%3Cpath d='M64 126c14-4 28-6 44-6'/%3E%3Cpath d='M140 118l18 42M140 118c-6-4-10-10-8-16M140 118c6-4 12-6 16-4'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat, no-repeat, repeat;
  background-attachment: fixed, fixed, scroll;
}
.card { box-shadow: 0 6px 22px rgba(47, 122, 85, .07); }
.primary { background: var(--brand-strong); color: #fff; }
.primary:hover { background: #276848; }
.seg input:checked + span, .days button[aria-selected="true"] { background: var(--brand-strong); border-color: var(--brand-strong); color: #fff; }
.checks li::before { color: var(--brand-strong); }
input:focus, select:focus { outline-color: var(--brand-strong); }
.kcal { color: var(--brand-strong); }
.step span { background: var(--soft); color: var(--brand-ink); }
.paywall { border-color: #f2a3b9; }

/* Tarjeta de pago compacta */
.pay-hero { padding: 16px 18px; border: 1.5px solid #f2a3b9; background: linear-gradient(180deg, #fff6f8, var(--card) 80%); }
.pay-hero .price { font-size: 26px; margin: 0 0 4px; }
.pay-includes { font-size: 14px; color: var(--muted); margin: 0 0 12px; }
.pay-hero .fine { margin: 0; }
.cta { min-height: 52px; font-size: 16px; }
.hero { padding: 6px 0 14px; }
.hero h1 { font-size: clamp(26px, 6.5vw, 36px); }
.hero-photo { width: 100%; height: 170px; object-fit: cover; border-radius: var(--radius); margin: 4px 0 14px; display: block; }

/* Selector de idioma */
.lang { display: flex; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 2px; }
.lang button { border: 0; background: transparent; color: var(--muted); font-size: 12px; font-weight: 700; padding: 6px 9px; border-radius: 999px; min-width: 34px; }
.lang button[aria-pressed="true"] { background: var(--brand-strong); color: #fff; }
.top-actions { align-items: center; }
@media (max-width: 400px) {
  .brand { font-size: 15px; gap: 6px; }
  .brand img { width: 24px; height: 24px; }
  .top-actions .small { padding: 6px 8px; font-size: 13px; }
  .lang button { padding: 6px 7px; min-width: 30px; }
}
.paywall .price { font-size: 26px; margin: 4px 0 12px; }

/* ===== Planes (pago único, mensual, anual) ===== */
.pay-title { font-weight: 700; margin: 0 0 10px; font-size: 16px; }
.plans { display: grid; gap: 10px; margin-bottom: 12px; }
.plan {
  position: relative; display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: baseline;
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--card);
  color: var(--ink); text-decoration: none; transition: border-color .15s, transform .15s;
}
.plan:hover { border-color: var(--brand-strong); transform: translateY(-1px); }
.plan-name { font-weight: 700; font-size: 15px; }
.plan-price { font-weight: 700; font-size: 17px; color: var(--brand-strong); white-space: nowrap; }
.plan-price small { font-size: 12px; font-weight: 500; color: var(--muted); }
.plan-desc { grid-column: 1 / -1; font-size: 13px; color: var(--muted); }
.plan-best { border: 2px solid #c94f74; background: #fff6f8; box-shadow: 0 6px 18px rgba(201, 79, 116, .18); }
.plan-best .plan-price { color: #c94f74; }
.badge { position: absolute; top: -10px; right: 12px; background: #c94f74; color: #fff; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; text-transform: uppercase; letter-spacing: .04em; }
.plan-status { font-size: 14px; color: var(--brand-ink); background: var(--soft); border-radius: 12px; padding: 10px 12px; margin: 0 0 14px; }
.plan-status .link { padding: 0; margin-left: 4px; font-size: 14px; }
.checkin { border: 2px solid var(--brand-strong); background: linear-gradient(180deg, var(--soft), var(--card) 70%); }
.checkin h3 { margin: 0 0 6px; }
.checkin p { margin: 0 0 12px; font-size: 14px; }
#progressChart { width: 100%; height: 90px; display: block; margin: 6px 0; }

/* ===== Cuestionario ===== */
.quiz-top { display: flex; align-items: center; gap: 12px; margin: 4px 0 14px; }
.quiz-top .ghost { padding: 6px 12px; }
.progress { flex: 1; height: 8px; background: var(--soft); border-radius: 999px; overflow: hidden; }
.progress span { display: block; height: 100%; width: 0; background: var(--brand-strong); border-radius: 999px; transition: width .35s ease; }
.quiz-card { padding: 24px 20px; min-height: 340px; }
.quiz-card h2 { font-size: 24px; margin-bottom: 14px; }
.quiz-hero { font-size: clamp(28px, 7.5vw, 38px); margin: 6px 0 12px; }
.quiz-card .cta { margin-top: 20px; }
.block-link { display: block; width: 100%; text-align: center; margin-top: 8px; }
.opt-list { display: grid; gap: 10px; margin-top: 8px; }
.opt-btn { text-align: left; font: inherit; font-size: 16px; font-weight: 500; padding: 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; }
.opt-btn:hover, .opt-btn.sel { border-color: var(--brand-strong); background: var(--soft); }
.big-input, .unit-wrap.big input { font-size: 22px; min-height: 60px; text-align: center; }
.unit-wrap.big em { font-size: 16px; }
.quiz-card .primary.block { margin-top: 18px; }
.tip.warn { background: #fff8ec; border: 1px solid #f3dcb0; margin-top: 14px; }
.tip.warn p { margin: 0 0 12px; }
.quiz-loading { display: grid; place-items: center; min-height: 300px; text-align: center; }
.spinner { width: 48px; height: 48px; border-radius: 50%; border: 5px solid var(--soft); border-top-color: var(--brand-strong); animation: spin 0.9s linear infinite; margin-bottom: 16px; }
@keyframes spin { to { transform: rotate(360deg); } }
.cook-msg { background: var(--pink-soft); border: 1px solid #f6c9d6; margin-top: 14px; }
.cook-msg p { margin: 0 0 4px; line-height: 1.55; }

/* ===== Paleta v4: colores del logo de Fodyme ===== */
/* verde #0D7240 · verde hoja #3A9A4B · rosado #DD305B · crema #FCFDF1 · amarillo aguacate #F4F2B8 */
:root {
  --bg: #fcfdf1;
  --card: #ffffff;
  --ink: #1f3327;
  --muted: #627566;
  --line: #e2ecd9;
  --soft: #eef6e4;
  --pink-soft: #fdecf1;
  --brand: #cfe8c8;
  --brand-ink: #0d5a33;
  --brand-strong: #0d7240;
  --protein: #dd305b;
  --carbs: #f0cf5c;
  --fat: #3a9a4b;
}
body {
  background-image:
    radial-gradient(700px 320px at 100% -40px, #e3f3d6 0, transparent 70%),
    radial-gradient(520px 300px at -10% -60px, #fde3ea 0, transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cg fill='none' stroke='%23b9dcae' stroke-width='2' stroke-linecap='round' opacity='.45'%3E%3Cellipse cx='38' cy='42' rx='16' ry='22' transform='rotate(-20 38 42)'/%3E%3Ccircle cx='35' cy='48' r='7'/%3E%3Ccircle cx='132' cy='40' r='17'/%3E%3Cpath d='M132 23v34M115 40h34M120 28l24 24M144 28l-24 24'/%3E%3Cpath d='M58 126c20-22 46-22 54-4-16 16-40 18-54 4z'/%3E%3Cpath d='M64 126c14-4 28-6 44-6'/%3E%3Cpath d='M140 118l18 42M140 118c-6-4-10-10-8-16M140 118c6-4 12-6 16-4'/%3E%3C/g%3E%3C/svg%3E");
}
.primary { background: var(--brand-strong); }
.primary:hover { background: #0a5f35; }
.cta, .badge { background: #dd305b; }
.cta:hover { background: #c4264f; }
.cta { box-shadow: 0 8px 22px rgba(221, 48, 91, .32); }
.plan-best { border-color: #dd305b; }
.plan-best .plan-price, .price { color: #dd305b; }
.pay-hero, .paywall { border-color: #f3a6bb; }
.brand img { border-radius: 50%; }
.hero-logo { display: block; margin: 0 auto 10px; width: 150px; height: 150px; border-radius: 50%; filter: drop-shadow(0 8px 18px rgba(13, 114, 64, .15)); }
.quiz-card .hero-logo { width: 170px; height: 170px; margin-top: -4px; }
.quiz-card .quiz-hero, .quiz-card > .muted { text-align: center; }
.kcal, .hello { color: var(--brand-strong); }
.cta { border: 0; }

/* ===== Pantalla de carga con el logo ===== */
#splash {
  position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 45%, #ffffff 0, #fcfdf1 60%, #eef6e4 100%);
  transition: opacity .35s ease, visibility .35s ease;
}
#splash img { width: 190px; height: 190px; border-radius: 50%; filter: drop-shadow(0 12px 28px rgba(13, 114, 64, .18)); animation: splash-pop .6s ease-out both; }
#splash.hide { opacity: 0; visibility: hidden; }
@keyframes splash-pop { from { transform: scale(.85); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { #splash img { animation: none; } }
