/* ================= 五大领域闯关 · 童童智慧 ================= */
.study-body { background: linear-gradient(180deg,#f2fbf9 0,#f7f9fc 320px,#f7f9fc 100%); }
.st-wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px 60px; }

.st-top { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; }
.st-top .l-brand { display: flex; align-items: center; gap: 11px; }
.st-top .l-mark { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; }
.st-top .l-mark svg { width: 22px; height: 22px; }
.st-top .l-brand b { font-size: 16px; display: block; }
.st-top .l-brand span { font-size: 9.5px; letter-spacing: .12em; color: var(--ink-3); font-weight: 600; }
.st-top .l-top-links { display: flex; gap: 8px; }
.l-link { display: inline-flex; align-items: center; justify-content: center; padding: 9px 16px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); border-radius: 9px; transition: background .15s, color .15s; }
.l-link:hover { background: #fff; color: var(--brand-deep); }

.st-hero { text-align: center; padding: 48px 0 34px; }
.st-hero .l-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 650; color: #0f8f7e; background: #0f9d8a14; padding: 7px 15px; border-radius: 999px; }
.st-hero .dot { width: 7px; height: 7px; border-radius: 50%; background: #0f9d8a; }
.st-hero h1 { font-size: clamp(30px,5vw,46px); line-height: 1.25; margin: 18px 0 12px; letter-spacing: -.5px; }
.st-hero h1 em { font-style: normal; color: #0f9d8a; }
.st-hero p { max-width: 620px; margin: 0 auto; font-size: 14.5px; line-height: 1.9; color: var(--ink-3); }

.st-fields { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 16px; margin-top: 6px; }
.sf-card { display: flex; flex-direction: column; text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px 22px; box-shadow: var(--sh-sm); transition: transform .18s, box-shadow .18s, border-color .18s; color: var(--ink); position: relative; min-height: 190px; }
.sf-card.on:hover { transform: translateY(-4px); box-shadow: 0 16px 38px -16px rgba(31,45,74,.25); border-color: var(--fc); }
.sf-ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--fc) 12%, transparent); margin-bottom: 14px; }
.sf-card h3 { font-size: 17px; margin: 0 0 7px; }
.sf-card p { margin: 0; font-size: 12.8px; line-height: 1.7; color: var(--ink-3); flex: 1; }
.sf-go { margin-top: 14px; font-size: 13.5px; font-weight: 700; color: var(--fc); }
.sf-soon { margin-top: 14px; font-size: 12px; color: var(--ink-3); background: #f4f6fa; display: inline-block; align-self: flex-start; padding: 4px 10px; border-radius: 7px; }
.sf-card.off { opacity: .72; }
.l-empty { color: var(--ink-3); font-size: 14px; text-align: center; padding: 40px 20px; }
.st-note { margin-top: 24px; background: #fff7e6; border: 1px solid #ffe0a3; border-radius: 14px; padding: 16px 18px; font-size: 13.5px; color: #8a6a20; line-height: 1.8; }
.st-note a { color: #a86a00; font-weight: 700; }

/* ===== 刷题页（study-health） ===== */
.quiz-body { background: #f5f7fb; }
.quiz-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #fff; border-bottom: 1px solid var(--line); padding: 14px 0; position: sticky; top: 0; z-index: 20; }
.quiz-top .qbrand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; }
.quiz-top .qbrand .qm { width: 34px; height: 34px; border-radius: 10px; background: #0f9d8a; color: #fff; display: grid; place-items: center; font-size: 16px; }
.quiz-top .qnav { display: flex; gap: 6px; flex-wrap: wrap; }
.quiz-top .qnav button { font-size: 12.5px; padding: 8px 13px; border: 1px solid var(--line); background: #fff; border-radius: 8px; cursor: pointer; color: var(--ink-2); font-weight: 600; }
.quiz-top .qnav button.on { background: #0f9d8a; color: #fff; border-color: #0f9d8a; }
.quiz-top .qstat { font-size: 12.5px; color: var(--ink-3); white-space: nowrap; }
.qview { max-width: 860px; margin: 0 auto; padding: 26px 4px 60px; }
.qpanel { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; box-shadow: var(--sh-sm); }
.qpanel h2 { font-size: 18px; margin: 0 0 4px; }
.qpanel .qmeta { font-size: 12.5px; color: var(--ink-3); margin-bottom: 18px; }
.qopt { display: flex; align-items: flex-start; gap: 12px; border: 1px solid var(--line); border-radius: 11px; padding: 13px 15px; margin-bottom: 10px; cursor: pointer; transition: border-color .15s, background .15s; }
.qopt:hover { border-color: #0f9d8a; background: #f2fbf9; }
.qopt .qkey { width: 26px; height: 26px; flex: 0 0 26px; border-radius: 8px; background: #f1f4f9; color: var(--ink-2); display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.qopt.sel { border-color: #0f9d8a; background: #eaf8f4; }
.qopt.correct { border-color: #16a34a; background: #eafaef; }
.qopt.wrong { border-color: #ef4444; background: #fef2f2; }
.qopt.correct .qkey { background: #16a34a; color: #fff; }
.qopt.wrong .qkey { background: #ef4444; color: #fff; }
.qbtn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 22px; border-radius: 10px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-weight: 650; font-size: 14px; color: var(--ink-2); }
.qbtn.primary { background: #0f9d8a; color: #fff; border-color: #0f9d8a; }
.qbtn:disabled { opacity: .5; cursor: default; }
.qexp { margin-top: 16px; border-radius: 12px; padding: 16px 18px; font-size: 13.5px; line-height: 1.85; }
.qexp.ok { background: #f0fdf4; border: 1px solid #bbf7d0; }
.qexp.no { background: #fef2f2; border: 1px solid #fecaca; }
.qexp .tip { margin-top: 10px; padding-top: 10px; border-top: 1px dashed rgba(0,0,0,.12); color: #8a5a00; }
.qexp b { display: block; margin-bottom: 4px; }
.qchapter { display: grid; grid-template-columns: repeat(auto-fill,minmax(250px,1fr)); gap: 12px; }
.qchap-card { background: #fff; border: 1px solid var(--line); border-radius: 13px; padding: 16px 18px; cursor: pointer; transition: border-color .15s, transform .15s; }
.qchap-card:hover { border-color: #0f9d8a; transform: translateY(-2px); }
.qchap-card b { font-size: 14px; display: block; margin-bottom: 6px; }
.qchap-card p { font-size: 12px; color: var(--ink-3); line-height: 1.7; margin: 0 0 10px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.qchap-card .qnum { font-size: 11.5px; color: #0f9d8a; font-weight: 700; }
.qsection-t { font-size: 15px; font-weight: 700; margin: 0 0 14px; display: flex; align-items: center; gap: 8px; }
.qprogress { height: 8px; border-radius: 999px; background: #eef2f8; overflow: hidden; margin: 10px 0 18px; }
.qprogress span { display: block; height: 100%; background: #0f9d8a; border-radius: 999px; transition: width .3s; }
.qlist-item { border: 1px solid var(--line); border-radius: 11px; padding: 14px 16px; margin-bottom: 10px; background: #fff; }
.qlist-item .qstem { font-size: 13.5px; line-height: 1.7; margin-bottom: 6px; }
.qlist-item .qk { font-size: 11.5px; color: var(--ink-3); }
.qchip { min-width: 92px; background: #f4f7fb; border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; text-align: center; }
.qchip b { display: block; font-size: 22px; color: #0f9d8a; margin-bottom: 3px; }
.qchip span { font-size: 11.5px; color: var(--ink-3); }
.qempty { text-align: center; color: var(--ink-3); padding: 44px 20px; font-size: 14px; }
.qlock { text-align: center; padding: 60px 20px; }
.qlock b { font-size: 16px; display: block; margin-bottom: 8px; }
.qlock a { color: #0f9d8a; font-weight: 700; }

@media (max-width: 640px) {
  .st-wrap { padding: 0 16px 40px; }
  .st-top .l-top-links { display: none; }
  .st-hero { padding: 32px 0 24px; }
  .quiz-top .qnav { order: 3; width: 100%; }
  .quiz-top { flex-wrap: wrap; }
  .qpanel { padding: 18px; }
}
