/* ============================================
   ProMetabolic — Free Tools Shared Styles
   Used by: /quiz/, /thyroid-check/, /metabolic-age/
   Matches landing-page brand system exactly.
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=DM+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --cream: #FDF6EC;
  --warm-white: #FFFBF5;
  --amber: #E8943A;
  --amber-light: #F5B469;
  --amber-dark: #C4711E;
  --amber-glow: rgba(232, 148, 58, 0.15);
  --amber-pale: #FBE9CF;
  --brown: #3D2810;
  --brown-mid: #6B3F1A;
  --brown-light: #A0622A;
  --sage: #7A8C6E;
  --sage-light: #B5C4A8;
  --red: #C0392B;
  --green: #5C7A4E;
  --text: #2A1A08;
  --text-mid: #6B4C2A;
  --text-light: #A07850;
  --border: rgba(232, 148, 58, 0.15);
  --border-strong: rgba(232, 148, 58, 0.3);
  --shadow-sm: 0 2px 8px rgba(61, 40, 16, 0.06);
  --shadow-md: 0 8px 32px rgba(61, 40, 16, 0.1);
  --shadow-lg: 0 16px 48px rgba(61, 40, 16, 0.12);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-font-smoothing: antialiased; }
html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--brown);
  letter-spacing: -0.3px;
  line-height: 1.12;
}
h1 em, h2 em, h3 em { font-style: italic; color: var(--amber); }
p { color: var(--text-mid); }
a { color: var(--amber-dark); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--amber); }

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(253, 246, 236, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--brown);
  letter-spacing: -0.3px;
  text-decoration: none;
}
.logo span { color: var(--amber); }

.nav-links { display: flex; gap: 32px; align-items: center; list-style: none; }
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-mid);
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--amber-dark); }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > button.dropdown-trigger {
  background: none; border: none; cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px; font-weight: 500;
  color: var(--text-mid); letter-spacing: 0.3px;
  padding: 6px 0; display: inline-flex; align-items: center; gap: 6px;
  transition: color 0.2s;
}
.nav-dropdown > button.dropdown-trigger:hover { color: var(--amber-dark); }
.nav-dropdown > button.dropdown-trigger svg { width: 10px; height: 10px; transition: transform 0.2s; }
.nav-dropdown.open > button.dropdown-trigger svg,
.nav-dropdown:hover > button.dropdown-trigger svg { transform: rotate(180deg); }
.dropdown-menu {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(-4px);
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px;
  min-width: 260px;
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden;
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  list-style: none;
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.open .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.dropdown-menu a {
  display: block;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
  letter-spacing: 0;
}
.dropdown-menu a:hover { background: var(--amber-glow); color: var(--amber-dark); }
.dropdown-menu a .dm-sub {
  display: block; font-size: 12px; color: var(--text-light); font-weight: 400; margin-top: 2px;
}

.nav-cta {
  background: var(--amber) !important;
  color: white !important;
  padding: 10px 24px !important;
  border-radius: 100px;
  font-weight: 500 !important;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s !important;
  box-shadow: 0 2px 12px rgba(232, 148, 58, 0.3);
}
.nav-cta:hover { background: var(--amber-dark) !important; transform: translateY(-1px); box-shadow: 0 4px 18px rgba(232, 148, 58, 0.4); }

.mobile-menu-btn {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 36px; height: 36px;
  align-items: center; justify-content: center;
}
.mobile-menu-btn svg { width: 24px; height: 24px; stroke: var(--brown); }

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--amber); color: white;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px; font-weight: 500;
  padding: 16px 36px;
  border: none; border-radius: 100px;
  cursor: pointer; transition: all 0.25s;
  letter-spacing: 0.2px;
  box-shadow: 0 4px 20px rgba(232, 148, 58, 0.35);
  text-decoration: none; line-height: 1;
}
.btn-primary:hover {
  background: var(--amber-dark); transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(232, 148, 58, 0.4); color: white;
}

.back-link {
  background: none; border: none; cursor: pointer;
  color: var(--text-light); font-family: 'DM Sans', sans-serif; font-size: 14px;
  text-decoration: none; padding: 8px 0;
  transition: color 0.2s;
}
.back-link:hover { color: var(--amber-dark); }

/* ─── LAYOUT ─── */
.container { max-width: 720px; margin: 0 auto; padding: 140px 24px 60px; }

.intro { text-align: center; padding: 20px 0 40px; }
.intro .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(232, 148, 58, 0.12);
  border: 1px solid rgba(232, 148, 58, 0.3);
  color: var(--amber-dark);
  font-family: 'DM Sans', sans-serif;
  font-size: 12px; font-weight: 500;
  letter-spacing: 1.2px; text-transform: uppercase;
  padding: 8px 16px; border-radius: 100px;
  margin-bottom: 28px;
}
.intro .eyebrow::before {
  content: ''; width: 6px; height: 6px;
  background: var(--amber); border-radius: 50%;
  animation: badgePulse 2s ease-in-out infinite;
}
@keyframes badgePulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.intro h1 {
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.06;
  color: var(--brown);
  margin-bottom: 24px;
  letter-spacing: -1px;
}
.intro p.lead {
  font-size: 18px; line-height: 1.7;
  color: var(--text-mid);
  max-width: 560px; margin: 0 auto 30px;
}
.meta {
  display: flex; gap: 18px; justify-content: center; flex-wrap: wrap;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px; color: var(--text-light);
  margin-bottom: 36px; letter-spacing: 0.2px;
}
.meta span::before { content: '·'; margin-right: 18px; color: var(--border-strong); }
.meta span:first-child::before { content: ''; margin: 0; }

/* ─── PROGRESS ─── */
.progress-bar {
  height: 6px; background: var(--border);
  border-radius: 100px; margin-bottom: 32px; overflow: hidden;
}
.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--amber) 0%, var(--amber-light) 100%);
  border-radius: 100px;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 12px rgba(232, 148, 58, 0.4);
}

/* ─── FORM / QUESTIONS ─── */
.form { display: none; }
.form.active { display: block; }
.form-section { margin-bottom: 28px; animation: fadeUp 0.4s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

.form-section label.q-label {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--amber); margin-bottom: 14px;
}
.form-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(26px, 4vw, 34px);
  color: var(--brown); line-height: 1.18;
  margin-bottom: 22px; letter-spacing: -0.5px;
}

.choice-grid { display: grid; gap: 10px; }
.choice {
  background: var(--warm-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 20px; cursor: pointer; text-align: left; width: 100%;
  font-family: 'DM Sans', sans-serif; font-size: 15px;
  color: var(--text); font-weight: 400;
  transition: all 0.2s;
  box-shadow: var(--shadow-sm);
  display: flex; align-items: center; gap: 14px;
}
.choice:hover {
  border-color: var(--amber);
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(232, 148, 58, 0.15);
}
.choice.selected {
  border-color: var(--amber);
  background: var(--amber-glow);
  color: var(--brown); font-weight: 500;
  box-shadow: 0 4px 18px rgba(232, 148, 58, 0.2);
}
.choice .emoji { font-size: 1.5rem; line-height: 1; flex-shrink: 0; }

.input-row { display: flex; gap: 12px; align-items: center; }
input[type="number"], input[type="text"] {
  flex: 1; padding: 16px 20px;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif; font-size: 16px;
  background: var(--warm-white); color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}
input[type="number"]:focus, input[type="text"]:focus {
  outline: none; border-color: var(--amber);
  box-shadow: 0 0 0 4px var(--amber-glow);
}
.input-unit { font-family: 'DM Sans', sans-serif; color: var(--text-light); font-size: 14px; }

.nav-row {
  display: flex; gap: 12px; justify-content: space-between; align-items: center;
  margin-top: 36px;
}

/* ─── LOADING ─── */
.loading { display: none; text-align: center; padding: 80px 0; }
.loading.visible { display: block; animation: fadeUp 0.4s; }
.loading-dots { display: inline-flex; gap: 10px; margin-bottom: 22px; }
.loading-dots span {
  width: 12px; height: 12px;
  background: var(--amber); border-radius: 50%;
  animation: bounce 1.4s infinite ease-in-out;
  box-shadow: 0 0 12px rgba(232, 148, 58, 0.4);
}
.loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.loading-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes bounce {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(-10px); opacity: 1; }
}
.loading p { font-family: 'DM Sans', sans-serif; color: var(--text-mid); font-size: 15px; }

/* ─── RESULT ─── */
.result { display: none; animation: fadeUp 0.6s; }
.result.visible { display: block; }

.result-card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 36px; text-align: center;
  margin-bottom: 24px;
  box-shadow: var(--shadow-md);
}

.result-eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--amber); margin-bottom: 18px;
}

.result-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 3vw, 28px);
  color: var(--brown); margin-bottom: 8px; line-height: 1.2;
}

/* Score ring (thyroid) */
.score-ring { position: relative; width: 240px; height: 240px; margin: 12px auto 22px; }
.score-ring svg { transform: rotate(-90deg); filter: drop-shadow(0 4px 16px rgba(232, 148, 58, 0.15)); }
.score-ring .score-num {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  text-align: center;
}
.score-ring .score-num .n {
  font-family: 'Playfair Display', serif;
  font-size: 5rem; font-weight: 700;
  color: var(--score-color, var(--brown));
  line-height: 1; letter-spacing: -2px;
}
.score-ring .score-num .of {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px; color: var(--text-light); margin-top: 6px;
  text-transform: uppercase; letter-spacing: 1.5px; font-weight: 500;
}

.archetype-emoji { font-size: 3.2rem; line-height: 1; margin-bottom: 10px; }
.archetype-name {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--score-color, var(--brown));
  margin-bottom: 8px; font-weight: 700;
  letter-spacing: -0.5px;
}
.archetype-tagline {
  font-family: 'DM Sans', sans-serif;
  color: var(--text-mid); font-size: 16px;
  margin-bottom: 28px; font-style: italic;
}

/* Age comparison (metabolic-age) */
.result-comparison {
  display: flex; gap: 28px; justify-content: center; align-items: stretch;
  margin: 32px 0 8px;
}
.result-age-box { flex: 1; max-width: 220px; }
.result-age-box .label {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--text-light); margin-bottom: 10px;
}
.result-age-box .number {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3.5rem, 11vw, 5.5rem);
  color: var(--brown); line-height: 1; font-weight: 700;
  margin-bottom: 8px; letter-spacing: -2px;
}
.result-age-box.metabolic .number { color: var(--age-color, var(--brown)); }
.result-age-box .years {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px; color: var(--text-light);
  letter-spacing: 0.3px;
}
.result-divider {
  width: 1px; background: var(--border-strong); align-self: stretch;
}

.result-verdict {
  background: var(--amber-glow);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 22px 26px; margin: 28px 0 22px;
  font-family: 'DM Sans', sans-serif; color: var(--text);
  font-size: 15px; line-height: 1.7; text-align: left;
}
.result-verdict strong { color: var(--score-color, var(--amber-dark)); }

.result-explainer { text-align: left; padding: 0 4px; }
.result-explainer h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--amber); margin: 28px 0 12px;
}
.result-explainer p {
  font-family: 'DM Sans', sans-serif; font-size: 15px;
  color: var(--text-mid); line-height: 1.7; margin-bottom: 10px;
}
.result-explainer ul {
  font-family: 'DM Sans', sans-serif; font-size: 15px;
  color: var(--text-mid); padding-left: 18px;
}
.result-explainer ul li { margin-bottom: 8px; line-height: 1.6; }

/* Share */
.share-section {
  background: var(--amber-glow);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 28px; margin-bottom: 24px; text-align: center;
}
.share-section p {
  font-family: 'DM Sans', sans-serif; font-size: 15px;
  color: var(--text); margin-bottom: 18px;
}
.share-section p strong {
  font-family: 'Playfair Display', serif;
  font-size: 20px; color: var(--brown); font-weight: 700;
  display: block; margin-bottom: 4px;
}
.share-buttons { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.share-btn {
  background: var(--warm-white); color: var(--text);
  padding: 12px 22px;
  border: 1.5px solid var(--border); border-radius: 100px;
  font-family: 'DM Sans', sans-serif; font-weight: 500; font-size: 13px;
  cursor: pointer; transition: all 0.2s; text-decoration: none;
  letter-spacing: 0.3px;
}
.share-btn:hover {
  border-color: var(--amber); color: var(--amber-dark);
  transform: translateY(-1px); box-shadow: var(--shadow-sm);
}

/* Cross-promo */
.cross-promo {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  margin-bottom: 24px;
}
.cross-promo a {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 20px; text-decoration: none;
  font-family: 'DM Sans', sans-serif;
  transition: all 0.2s;
  display: block;
}
.cross-promo a:hover {
  border-color: var(--amber); transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 148, 58, 0.15);
}
.cross-promo .cp-label {
  font-size: 10px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--amber); margin-bottom: 8px;
}
.cross-promo .cp-title {
  font-family: 'Playfair Display', serif;
  font-weight: 600; font-size: 17px;
  color: var(--brown); line-height: 1.3;
}

/* CTA block */
.cta-block {
  background: linear-gradient(135deg, #3D2810 0%, #6B3F1A 100%);
  border-radius: var(--radius-lg);
  padding: 48px 36px; text-align: center; color: white;
  box-shadow: var(--shadow-md);
  position: relative; overflow: hidden;
}
.cta-block::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 20%, rgba(232, 148, 58, 0.25) 0%, transparent 60%);
  pointer-events: none;
}
.cta-block h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(26px, 4vw, 32px);
  color: white; margin-bottom: 12px; position: relative;
}
.cta-block p {
  font-family: 'DM Sans', sans-serif;
  color: rgba(255,255,255,0.82); font-size: 15px; line-height: 1.7;
  margin-bottom: 28px; max-width: 440px;
  margin-left: auto; margin-right: auto; position: relative;
}
.cta-btn-app {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--amber); color: white;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px; font-weight: 500;
  padding: 16px 36px; border-radius: 100px;
  text-decoration: none; transition: all 0.25s;
  box-shadow: 0 6px 24px rgba(232, 148, 58, 0.45);
  position: relative; line-height: 1;
}
.cta-btn-app:hover {
  background: var(--amber-light); color: white;
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(232, 148, 58, 0.55);
}

.disclaimer {
  font-family: 'DM Sans', sans-serif; font-size: 12px;
  color: var(--text-light); text-align: center;
  margin-top: 22px; padding: 0 16px; line-height: 1.6;
}

footer {
  text-align: center; padding: 48px 24px;
  border-top: 1px solid var(--border);
  font-family: 'DM Sans', sans-serif;
  font-size: 13px; color: var(--text-light);
}
footer a { color: var(--amber-dark); }
footer p { color: var(--text-light); margin-bottom: 6px; }

/* ─── RESPONSIVE ─── */
@media (max-width: 720px) {
  nav { padding: 14px 20px; }
  .nav-links { display: none; }
  .nav-links.mobile-open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--warm-white); padding: 20px;
    border-bottom: 1px solid var(--border);
    gap: 18px; align-items: stretch;
  }
  .nav-links.mobile-open .nav-dropdown .dropdown-menu {
    position: static; transform: none; opacity: 1; visibility: visible;
    box-shadow: none; border: none; padding: 0; min-width: 0;
    background: transparent; margin-top: 8px;
  }
  .nav-links.mobile-open .nav-dropdown .dropdown-menu a { padding-left: 24px; }
  .mobile-menu-btn { display: inline-flex; }
  .container { padding: 110px 20px 60px; }
  .result-card { padding: 32px 22px; }
  .result-comparison { gap: 14px; }
  .score-ring { width: 200px; height: 200px; }
  .score-ring .score-num .n { font-size: 3.8rem; }
  .cross-promo { grid-template-columns: 1fr; }
  .cta-block { padding: 36px 24px; }
}

/* ─── QUIZ-SPECIFIC ALIASES & STYLES ─── */
.quiz-container { max-width: 720px; margin: 0 auto; padding: 140px 24px 60px; }

.progress-wrap {
  display: none;
  margin-bottom: 32px;
}
.progress-wrap.visible { display: block; animation: fadeUp 0.4s; }
.progress-label {
  display: flex; justify-content: space-between; align-items: center;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--amber); margin-bottom: 10px;
}
.progress-fill {
  height: 6px;
  background: linear-gradient(90deg, var(--amber) 0%, var(--amber-light) 100%);
  border-radius: 100px;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 12px rgba(232, 148, 58, 0.4);
}
.progress-wrap .progress-bar {
  height: 6px; background: var(--border);
  border-radius: 100px; margin-bottom: 0; overflow: hidden;
}

.question { display: none; }
.question.active { display: block; animation: fadeUp 0.4s ease; }
.question h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(26px, 4vw, 36px);
  color: var(--brown); line-height: 1.18;
  margin-bottom: 26px; letter-spacing: -0.5px;
}

.options { display: grid; gap: 10px; }
.option {
  background: var(--warm-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 20px; cursor: pointer; text-align: left; width: 100%;
  font-family: 'DM Sans', sans-serif; font-size: 15px;
  color: var(--text); font-weight: 400;
  transition: all 0.2s;
  box-shadow: var(--shadow-sm);
  line-height: 1.5;
}
.option:hover {
  border-color: var(--amber); transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(232, 148, 58, 0.15);
  color: var(--brown);
}

.loading .step {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px; color: var(--text-light);
  letter-spacing: 1px; text-transform: uppercase;
  margin-top: 8px;
}

/* Quiz result card */
.result-card .result-header { text-align: center; margin-bottom: 28px; }
.result-header .result-eyebrow { margin-bottom: 14px; }
.result-type {
  font-family: 'Playfair Display', serif;
  font-size: clamp(38px, 6vw, 56px);
  color: var(--type-color, var(--brown));
  margin-bottom: 12px; line-height: 1.05;
  letter-spacing: -1px; font-weight: 700;
}
.result-tagline {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(17px, 2.5vw, 20px);
  color: var(--text-mid); line-height: 1.4;
  max-width: 460px; margin: 0 auto;
}

.result-body { text-align: left; }
.result-section { margin-bottom: 26px; }
.result-section h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--amber); margin-bottom: 12px;
}
.result-section p {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px; line-height: 1.7;
  color: var(--text-mid);
}

.result-list {
  list-style: none; padding: 0;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px; line-height: 1.6;
  color: var(--text);
}
.result-list li {
  padding: 12px 14px 12px 42px;
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  position: relative;
  background: var(--warm-white);
  border: 1px solid var(--border);
}
.result-list.eat li::before {
  content: '✓'; position: absolute;
  left: 16px; top: 50%; transform: translateY(-50%);
  width: 20px; height: 20px;
  display: flex; align-items: center; justify-content: center;
  color: var(--green); font-weight: 700; font-size: 16px;
}
.result-list.avoid li::before {
  content: '×'; position: absolute;
  left: 16px; top: 50%; transform: translateY(-50%);
  width: 20px; height: 20px;
  display: flex; align-items: center; justify-content: center;
  color: var(--red); font-weight: 700; font-size: 20px;
}

.retry-row {
  text-align: center; margin-top: 16px;
}
.retry-row a {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px; color: var(--text-light);
  text-decoration: underline; cursor: pointer;
  transition: color 0.2s;
}
.retry-row a:hover { color: var(--amber-dark); }
