:root{
  --bg:#fff7ed;
  --card:#ffffff;
  --text:#111827;
  --muted:#6b7280;
  --border:#e5e7eb;
  --accent:#db2777;
  --hero:linear-gradient(135deg,#ea580c,#7c2d12);
  --radius:20px;
  --soft:#fff1e6;
}
*{box-sizing:border-box}
body{margin:0;font-family:Inter,Arial,Helvetica,sans-serif;background:var(--bg);color:var(--text)}
a{text-decoration:none;color:inherit}
.container{max-width:1120px;margin:0 auto;padding:18px}
.topbar{background:#111827;color:white}
.topbar .container{display:flex;justify-content:space-between;align-items:center;padding:18px}
.brand{font-size:24px;font-weight:800}
.nav a{color:white;margin-left:16px}
.hero{background:var(--hero);color:#ffffff;padding:32px 0}
.hero h1{margin:0 0 10px;font-size:40px;line-height:1.05}
.hero p{max-width:860px;color:rgba(255,255,255,.82);margin:0}
.card{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);padding:20px;margin:16px 0;box-shadow:0 10px 22px rgba(0,0,0,.04)}
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.quiz-card{display:block;background:#fff;border:1px solid var(--border);border-radius:16px;padding:16px;transition:transform .08s ease, box-shadow .08s ease}
.quiz-card:hover{transform:translateY(-1px);box-shadow:0 8px 18px rgba(0,0,0,.06)}
.quiz-card h3{margin:0 0 8px;font-size:20px}
.muted{color:var(--muted)}
.badge{display:inline-block;padding:5px 10px;border-radius:999px;background:#eef2ff;color:#3730a3;font-size:12px;font-weight:700;margin-right:8px}
.badge.general{background:#ecfeff;color:#155e75}
.badge.specific{background:#fff7ed;color:#9a3412}
.filter-row{display:flex;gap:12px;flex-wrap:wrap;align-items:center}
input[type=text],select{padding:12px 14px;border-radius:12px;border:1px solid var(--border);font-size:16px;background:#fff}
.ad-slot{border:2px dashed #cbd5e1;background:#f8fafc;color:#64748b;border-radius:16px;padding:18px;text-align:center;margin:18px 0;font-weight:600;overflow:hidden}
.ad-slot.small{padding:12px}
.footer{color:#6b7280;padding:30px 0}
.footer a{color:#374151;margin-right:14px}
.meta-row{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:6px}
.progress-meta{font-size:14px;color:var(--muted)}
.progress-wrap{margin:8px 0 18px}
.progress-copy{font-size:13px;color:var(--muted);margin-bottom:8px}
.progress-track{height:10px;background:#fde7d2;border-radius:999px;overflow:hidden}
.progress-fill{height:100%;border-radius:999px;background:linear-gradient(90deg,#f97316,#db2777)}
.q-title{font-size:34px;line-height:1.12;margin:8px 0 18px;letter-spacing:-0.02em}
.image-panel{background:linear-gradient(180deg,#fffaf5,#fff);border:1px solid var(--border);border-radius:18px;padding:12px;margin-bottom:16px}
.question-wrap img{width:100%;max-height:220px;object-fit:cover;border-radius:14px;border:1px solid var(--border);display:block}
.answers{display:grid;gap:12px;margin-top:12px}
.answer-btn,.action-btn,.secondary-btn,.text-input{padding:15px 16px;border-radius:14px;font-size:18px}
.answer-btn{background:#fff;border:1px solid var(--border);text-align:left;cursor:pointer}
.answer-btn:hover{border-color:#fdba74;background:#fffaf5}
.action-btn{background:#0b1736;color:#fff;border:none;cursor:pointer}
.secondary-btn{background:#fff;border:1px solid var(--border);cursor:pointer}
.text-input{width:100%;border:1px solid var(--border);background:#fff}
.info-block h3{margin:0 0 10px}
.info-block p{margin:0 0 10px;line-height:1.65}
.feedback.good h1{color:#166534}
.feedback.bad h1{color:#b91c1c}
.feedback p{font-size:18px}
.result-card h2{margin-top:22px}
.related-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.pill{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.14);border-radius:999px;padding:10px 14px;font-size:14px}
.hero-stats{display:flex;gap:12px;flex-wrap:wrap;margin-top:16px}
.callout{background:var(--soft);border:1px solid #fed7aa;border-radius:16px;padding:16px;line-height:1.55}
@media(max-width:900px){.grid{grid-template-columns:1fr 1fr}}
@media(max-width:640px){
  .grid,.related-grid{grid-template-columns:1fr}
  .q-title{font-size:28px}
  .hero h1{font-size:32px}
  .topbar .container{display:block}
  .nav{margin-top:10px}
  .question-wrap img{max-height:220px}
}
.pre-info-block{margin-top:8px;margin-bottom:8px;padding:4px 0}
.pre-info-block h3{margin:0 0 10px}
.pre-info-block p{margin:0 0 10px;line-height:1.7;color:#334155}
.question-wrap img{background:#fff;max-height:220px}
