/* JFTI 减肥人格测评 - 共享样式 */
:root {
  --bg: #f7f9fb;
  --card: #ffffff;
  --text: #1f2937;
  --text-secondary: #5a6578;
  --muted: #8d97a8;
  --border: #e7ecf3;
  --shadow: 0 6px 24px rgba(15, 23, 42, 0.06);
  --shadow-hover: 0 14px 40px rgba(15, 23, 42, 0.1);
  --radius: 20px;
  --radius-sm: 14px;
  --max-width: 1080px;
  --primary: #25a98f;
  --primary-dark: #1d846e;
  --primary-light: #e7f7f3;
  --accent-orange: #ff8c4d;
  --accent-purple: #9b6fd4;
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Source Han Sans CN", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Layout */
.container { width: 92%; max-width: var(--max-width); margin: 0 auto; }
section { padding: 84px 0; }
.section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.section-title { font-size: 32px; font-weight: 800; line-height: 1.25; margin: 0 0 14px; }
.section-subtitle { font-size: 17px; color: var(--text-secondary); margin: 0 0 42px; max-width: 640px; }
.section-head { margin-bottom: 42px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 22px; font-weight: 900; color: var(--text); letter-spacing: -0.02em;
}
.logo .dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--primary);
}
.logo small {
  font-size: 12px; font-weight: 600; color: var(--muted); margin-left: 6px;
  padding-left: 8px; border-left: 1px solid var(--border);
}
.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav a {
  font-size: 15px; font-weight: 600; color: var(--text-secondary);
  transition: color .2s;
}
.main-nav a:hover, .main-nav a.active { color: var(--primary); text-decoration: none; }
.nav-cta {
  background: var(--primary); color: #fff !important;
  padding: 8px 18px; border-radius: 999px;
  font-size: 14px; font-weight: 700;
  transition: transform .15s, background .2s;
}
.nav-cta:hover { background: var(--primary-dark); transform: translateY(-1px); }
.menu-toggle { display: none; background: none; border: none; cursor: pointer; }
.menu-toggle span {
  display: block; width: 24px; height: 2px; background: var(--text);
  margin: 6px 0; border-radius: 2px;
}

/* Hero */
.hero {
  padding: 86px 0 72px;
  background:
    radial-gradient(circle at 10% 20%, rgba(37,169,143,0.10) 0%, transparent 30%),
    radial-gradient(circle at 90% 80%, rgba(155,111,212,0.10) 0%, transparent 30%),
    var(--bg);
}
.hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--border);
  padding: 8px 16px; border-radius: 999px;
  font-size: 14px; font-weight: 600; color: var(--text-secondary);
  margin-bottom: 22px; box-shadow: var(--shadow);
}
.hero h1 { font-size: 52px; font-weight: 900; line-height: 1.12; margin: 0 0 20px; letter-spacing: -0.03em; }
.hero h1 .highlight { color: var(--primary); position: relative; }
.hero p.lead { font-size: 18px; color: var(--text-secondary); margin: 0 0 32px; max-width: 520px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual {
  position: relative;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
}
.hero-visual .card {
  background: #fff; border-radius: var(--radius);
  padding: 18px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 14px;
  transition: transform .25s, box-shadow .25s;
}
.hero-visual .card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.hero-visual .card img { width: 64px; height: 64px; object-fit: contain; border-radius: 14px; }
.hero-visual .card span { font-weight: 800; font-size: 15px; }
.hero-visual .card small { display: block; color: var(--muted); font-size: 12px; font-weight: 600; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 999px;
  font-size: 16px; font-weight: 700; cursor: pointer; border: none;
  transition: transform .15s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 22px rgba(37,169,143,0.28); }
.btn-primary:hover { background: var(--primary-dark); box-shadow: 0 10px 28px rgba(37,169,143,0.36); }
.btn-ghost { background: #fff; color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-sm { padding: 9px 18px; font-size: 14px; }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.card {
  background: var(--card); border-radius: var(--radius);
  border: 1px solid var(--border); box-shadow: var(--shadow);
  padding: 26px; transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.card-icon {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center;
  font-size: 24px; font-weight: 900; margin-bottom: 16px;
}
.card h3 { font-size: 19px; font-weight: 800; margin: 0 0 8px; }
.card p { font-size: 15px; color: var(--text-secondary); margin: 0; }

/* Stats */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 28px; }
.stat-card {
  background: #fff; border-radius: var(--radius); padding: 28px 24px;
  border: 1px solid var(--border); text-align: center; box-shadow: var(--shadow);
}
.stat-number { font-size: 42px; font-weight: 900; color: var(--primary); line-height: 1; }
.stat-label { font-size: 14px; color: var(--text-secondary); margin-top: 8px; font-weight: 600; }

/* 4 dimension model */
.model-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.model-card {
  border-radius: var(--radius); padding: 28px;
  border: 1px solid var(--border); background: #fff; box-shadow: var(--shadow);
}
.model-card .model-head {
  display: flex; align-items: center; gap: 14px; margin-bottom: 16px;
}
.model-card .model-dot {
  width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center;
  font-weight: 900; color: #fff; font-size: 16px; flex: 0 0 auto;
}
.model-card h3 { margin: 0; font-size: 20px; }
.model-card small { display: block; color: var(--muted); font-weight: 600; font-size: 13px; }
.model-meta {
  display: flex; gap: 12px; flex-wrap: wrap; margin-top: 14px;
}
.model-meta span {
  font-size: 13px; font-weight: 700; padding: 5px 10px; border-radius: 8px;
  background: var(--bg); color: var(--text-secondary);
}

/* Personality preview / ranking items */
.personality-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.personality-card {
  background: #fff; border-radius: var(--radius); border: 1px solid var(--border);
  overflow: hidden; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s;
}
.personality-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.personality-card .thumb {
  height: 160px; background: var(--bg); display: grid; place-items: center;
  border-bottom: 1px solid var(--border);
}
.personality-card .thumb img { width: 110px; height: 110px; object-fit: contain; }
.personality-card .info { padding: 18px; }
.personality-card .code {
  font-size: 12px; font-weight: 800; letter-spacing: 0.08em; color: var(--muted);
}
.personality-card h4 { margin: 4px 0 6px; font-size: 18px; }
.personality-card .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.personality-card .tag {
  font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 6px;
  background: var(--bg); color: var(--text-secondary);
}

/* FAQ */
.faq-list { max-width: 760px; }
.faq-item { border-bottom: 1px solid var(--border); padding: 22px 0; }
.faq-item h4 { margin: 0 0 8px; font-size: 17px; font-weight: 800; }
.faq-item p { margin: 0; color: var(--text-secondary); font-size: 15px; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border); background: #fff; padding: 48px 0 36px;
}
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-left { color: var(--text-secondary); font-size: 14px; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { font-size: 14px; color: var(--text-secondary); font-weight: 600; }

/* CTA section */
.cta-section {
  background: linear-gradient(135deg, #25a98f 0%, #1d846e 100%);
  color: #fff; border-radius: var(--radius); padding: 56px 40px; text-align: center;
  margin: 64px auto 0; box-shadow: var(--shadow);
}
.cta-section h2 { margin: 0 0 12px; font-size: 30px; }
.cta-section p { margin: 0 0 24px; opacity: 0.92; font-size: 16px; }
.cta-section .btn-primary { background: #fff; color: var(--primary); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.cta-section .btn-primary:hover { background: #f4fffc; color: var(--primary-dark); }

/* Page header (small) */
.page-header { padding: 56px 0 36px; background: var(--bg); border-bottom: 1px solid var(--border); }
.page-header h1 { font-size: 40px; font-weight: 900; margin: 0 0 12px; }
.page-header p { font-size: 17px; color: var(--text-secondary); margin: 0; max-width: 640px; }

/* Quiz */
.quiz-container { max-width: 720px; margin: 0 auto; padding: 40px 0 80px; }
.quiz-progress {
  height: 8px; background: var(--border); border-radius: 999px; overflow: hidden; margin-bottom: 28px;
}
.quiz-progress .bar {
  height: 100%; background: var(--primary); width: 0%; transition: width .3s ease;
}
.quiz-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.quiz-header span { font-size: 14px; font-weight: 700; color: var(--muted); }
.question-card { background: #fff; border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); border: 1px solid var(--border); }
.question-card h2 { font-size: 22px; font-weight: 800; margin: 0 0 26px; line-height: 1.45; }
.options { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 641px) {
  .options { grid-template-columns: 1fr 1fr; }
}
.option {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 20px; min-height: 60px; border-radius: var(--radius-sm);
  border: 2px solid var(--border); background: #fff; cursor: pointer;
  font-size: 16px; font-weight: 600; color: var(--text); text-align: left;
  transition: border-color .2s, background .2s, transform .15s;
  -webkit-tap-highlight-color: transparent; user-select: none;
}
.option:hover { border-color: var(--primary); background: var(--primary-light); }
.option:active { transform: scale(.99); }
.option.selected { border-color: var(--primary); background: var(--primary-light); }
.option .marker {
  width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--border);
  display: grid; place-items: center; font-size: 12px; font-weight: 800; color: var(--muted);
  flex: 0 0 auto; transition: border-color .2s, color .2s, background .2s;
}
.option:hover .marker, .option.selected .marker { border-color: var(--primary); color: #fff; background: var(--primary); }
.quiz-nav { display: flex; justify-content: space-between; margin-top: 28px; gap: 12px; }
.quiz-nav .btn { flex: 1; justify-content: center; }

/* Result */
.result-wrap { padding: 36px 0 80px; }
.result-hero {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--border);
  padding: 40px; display: grid; grid-template-columns: 180px 1fr; gap: 34px; align-items: center; margin-bottom: 30px;
}
.result-hero .avatar {
  width: 180px; height: 180px; border-radius: 24px; background: var(--bg);
  display: grid; place-items: center; overflow: hidden;
}
.result-hero .avatar img { width: 150px; height: 150px; object-fit: contain; }
.result-hero .code { font-size: 14px; font-weight: 800; color: var(--muted); letter-spacing: 0.08em; }
.result-hero h2 { font-size: 38px; font-weight: 900; margin: 4px 0 10px; }
.result-hero .tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.result-hero .tag {
  font-size: 13px; font-weight: 700; padding: 5px 12px; border-radius: 999px;
  background: var(--primary-light); color: var(--primary-dark);
}
.result-hero p { margin: 0; color: var(--text-secondary); font-size: 16px; }
.result-hero .lines {
  margin-top: 18px; padding: 18px 22px; background: var(--primary-light);
  border-radius: 16px; border-left: 5px solid var(--primary);
  display: flex; flex-direction: column; gap: 8px;
}
.result-hero .lines-label {
  font-size: 13px; font-weight: 800; color: var(--primary-dark);
  letter-spacing: 0.12em;
}
.result-hero .lines .line {
  font-size: 22px; font-weight: 800; color: var(--text); line-height: 1.5;
  font-style: italic;
}

.result-body { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.result-panel {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--border);
  padding: 28px;
}
.result-panel h3 { font-size: 18px; font-weight: 800; margin: 0 0 18px; display: flex; align-items: center; gap: 8px; }
.result-panel h3 .icon { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font-size: 15px; }
.result-panel ul { margin: 0; padding-left: 18px; }
.result-panel li { margin-bottom: 10px; color: var(--text-secondary); font-size: 15px; }
.result-panel li:last-child { margin-bottom: 0; }

.result-radar-wrap { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--border); padding: 28px; margin-bottom: 22px; }
.result-radar-wrap h3 { font-size: 18px; font-weight: 800; margin: 0 0 20px; }
.result-radar { display: grid; grid-template-columns: 280px 1fr; gap: 30px; align-items: center; }
.radar-chart { width: 280px; max-width: 100%; }
.dim-list { display: flex; flex-direction: column; gap: 16px; }
.dim-item .dim-top { display: flex; justify-content: space-between; font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.dim-item .dim-bar { height: 10px; background: var(--bg); border-radius: 999px; overflow: hidden; }
.dim-item .dim-bar i { display: block; height: 100%; border-radius: 999px; background: var(--primary); }
.dim-item .dim-note { font-size: 12px; color: var(--muted); margin-top: 4px; }

.result-actions { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }

.filter-btn {
  background: #fff; border: 1px solid var(--border); border-radius: 999px;
  padding: 8px 16px; font-size: 14px; font-weight: 700; color: var(--text-secondary); cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.filter-btn:hover { background: var(--bg); }
.filter-btn.active { background: var(--text); color: #fff; border-color: var(--text); }
.recent-results { margin-top: 40px; }
.recent-results h3 { font-size: 20px; font-weight: 800; margin-bottom: 16px; }
.recent-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.recent-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 16px; display: flex; align-items: center; gap: 14px;
}
.recent-card img { width: 52px; height: 52px; object-fit: contain; }
.recent-card .name { font-weight: 800; }
.recent-card .date { font-size: 12px; color: var(--muted); }

/* Ranking */
.ranking-list { display: flex; flex-direction: column; gap: 14px; }
.rank-item {
  background: #fff; border-radius: var(--radius-sm); border: 1px solid var(--border);
  padding: 16px 22px; display: grid; grid-template-columns: 48px 64px 1fr 120px 120px; gap: 18px;
  align-items: center; box-shadow: var(--shadow);
}
.rank-item .rank {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 900; font-size: 15px; background: var(--bg); color: var(--text-secondary);
}
.rank-item.top-1 .rank { background: #ffd700; color: #7a5c00; }
.rank-item.top-2 .rank { background: #c0c0c0; color: #4a4a4a; }
.rank-item.top-3 .rank { background: #cd7f32; color: #fff; }
.rank-item img { width: 56px; height: 56px; object-fit: contain; }
.rank-item .rank-info h4 { margin: 0; font-size: 17px; }
.rank-item .rank-info p { margin: 2px 0 0; font-size: 13px; color: var(--muted); font-weight: 600; }
.rank-item .count { text-align: right; font-weight: 800; }
.rank-item .pct { text-align: right; font-weight: 700; color: var(--muted); }
.rank-bar { height: 6px; background: var(--bg); border-radius: 999px; margin-top: 8px; overflow: hidden; }
.rank-bar i { display: block; height: 100%; border-radius: 999px; background: var(--primary); }

/* About page specifics */
.about-model { margin-bottom: 28px; }
.about-model h3 { font-size: 22px; font-weight: 800; margin: 0 0 12px; }
.about-model p { color: var(--text-secondary); margin: 0 0 18px; }
.dim-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.dim-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 20px; box-shadow: var(--shadow);
}
.dim-card h4 { margin: 0 0 8px; font-size: 16px; font-weight: 800; }
.dim-card .ends { display: flex; gap: 12px; flex-wrap: wrap; }
.dim-card .ends span { font-size: 13px; font-weight: 600; color: var(--text-secondary); background: var(--bg); padding: 4px 10px; border-radius: 6px; }

/* Toast */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(120%);
  background: var(--text); color: #fff; padding: 12px 24px; border-radius: 999px;
  font-size: 14px; font-weight: 700; box-shadow: var(--shadow-hover); z-index: 200;
  transition: transform .3s;
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* 分享弹窗 */
.share-modal { position: fixed; inset: 0; background: rgba(15,23,42,.55); display: flex; align-items: center; justify-content: center; z-index: 1000; padding: 20px; }
.share-card { position: relative; background: #fff; border-radius: 18px; width: 100%; max-width: 460px; max-height: 92vh; overflow: auto; padding: 28px; box-shadow: var(--shadow-hover); }
.share-close { position: absolute; top: 12px; right: 16px; border: none; background: transparent; font-size: 28px; line-height: 1; color: var(--muted); cursor: pointer; }
.share-title { font-size: 20px; font-weight: 800; margin: 0 0 4px; }
.share-sub { color: var(--text-secondary); font-size: 14px; margin: 0 0 18px; }
.share-tabs { display: flex; gap: 6px; background: var(--bg); padding: 4px; border-radius: 12px; margin-bottom: 18px; }
.share-tab { flex: 1; border: none; background: transparent; padding: 10px; border-radius: 9px; font-weight: 700; font-size: 14px; color: var(--text-secondary); cursor: pointer; transition: background .2s, color .2s; }
.share-tab.active { background: #fff; color: var(--text); box-shadow: var(--shadow); }
.share-textarea { width: 100%; min-height: 150px; resize: vertical; border: 1px solid var(--border); border-radius: 12px; padding: 14px; font-size: 14px; line-height: 1.7; color: var(--text-secondary); font-family: inherit; margin-bottom: 14px; }
.share-tip { color: var(--muted); font-size: 12px; margin: 12px 0 0; }
.share-img-wrap { background: var(--bg); border-radius: 14px; padding: 14px; display: flex; justify-content: center; }
.share-img-wrap canvas { max-width: 100%; height: auto; border-radius: 10px; box-shadow: var(--shadow); }
.share-img-actions { display: flex; gap: 10px; margin-top: 14px; }
.share-img-actions .btn { flex: 1; justify-content: center; }

/* Responsive */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero h1 { font-size: 40px; }
  .hero-visual { order: -1; }
  .result-hero { grid-template-columns: 1fr; text-align: center; }
  .result-hero .avatar { margin: 0 auto; }
  .result-radar { grid-template-columns: 1fr; text-align: center; }
  .radar-chart { margin: 0 auto; }
  .rank-item { grid-template-columns: 40px 56px 1fr; }
  .rank-item .count, .rank-item .pct { display: none; }
  .model-grid, .result-body, .dim-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  section { padding: 56px 0; }
  .section-title { font-size: 26px; }
  .hero { padding: 56px 0 48px; }
  .hero h1 { font-size: 34px; }
  .main-nav {
    position: fixed; top: 68px; left: 0; right: 0; bottom: 0;
    background: #fff; flex-direction: column; align-items: stretch;
    padding: 24px; gap: 8px; border-bottom: 1px solid var(--border);
    transform: translateY(-120%); opacity: 0; pointer-events: none;
    transition: transform .25s, opacity .25s; z-index: 99;
  }
  .main-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .main-nav a { padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 16px; }
  .nav-cta { text-align: center; margin-top: 8px; }
  .menu-toggle { display: block; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .question-card { padding: 24px; }
  .question-card h2 { font-size: 19px; }
  .cta-section { padding: 40px 24px; margin-top: 40px; }
  .result-hero { padding: 28px; }
  .result-hero h2 { font-size: 28px; }
  .result-hero .avatar { width: 140px; height: 140px; }
  .result-hero .avatar img { width: 120px; height: 120px; }
  .rank-item { padding: 14px; }
  .rank-item .rank-info h4 { font-size: 15px; }

  /* 手机端：测验选项与按钮多端适配 */
  .quiz-container { padding: 28px 0 64px; }
  .question-card { padding: 20px; border-radius: 16px; }
  .question-card h2 { font-size: 18px; margin: 0 0 20px; }
  .options { gap: 12px; }
  .option { padding: 16px 16px; font-size: 15px; min-height: 58px; border-radius: 14px; }
  .option .marker { width: 26px; height: 26px; }
  .quiz-nav { flex-direction: column-reverse; gap: 10px; margin-top: 22px; }
  .quiz-nav .btn { width: 100%; }
  .result-actions { flex-direction: column; }
  .result-actions .btn { width: 100%; justify-content: center; }
  .share-img-actions { flex-direction: column; }
  .share-img-actions .btn { width: 100%; }
  .share-card { padding: 22px 18px; }
  .share-title { font-size: 18px; }
}
