/* ========== 小溪数学 · 样式 ========== */
:root {
    --primary: #4f6ef7;
    --primary-dark: #3b56d4;
    --primary-light: #eef1fe;
    --green: #22b07d;
    --green-light: #e6f7f1;
    --red: #ef5350;
    --red-light: #fdecec;
    --orange: #f5a623;
    --orange-light: #fef5e4;
    --purple: #8b5cf6;
    --text: #2b3245;
    --text-2: #6b7280;
    --border: #e5e8f0;
    --bg: #f5f7fb;
    --card: #ffffff;
    --shadow: 0 2px 10px rgba(31, 41, 71, .06);
    --shadow-lg: 0 8px 30px rgba(31, 41, 71, .12);
    --radius: 14px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

/* 始终预留纵向滚动条位置：页面高度变化（如切换科目）时居中内容不会左右跳动 */
html { scrollbar-gutter: stable; overflow-y: scroll; }

body {
    font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ---------- 顶栏（白色） ---------- */
.topbar {
    background: #fff; color: var(--text);
    position: sticky; top: 0; z-index: 100;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 2px rgba(31,41,71,.03), 0 6px 18px rgba(31,41,71,.05);
}
.topbar::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
    background: linear-gradient(90deg, #4f6ef7 0%, #6a5af9 55%, #8b5cf6 100%);
    opacity: .8;
}
.topbar-inner {
    max-width: 1100px; margin: 0 auto; padding: 10px 18px;
    display: flex; align-items: center; gap: 14px;
}
.brand { display: flex; align-items: center; gap: 10px; cursor: pointer; flex: 0 0 auto; }
.brand-logo {
    font-size: 21px; line-height: 1;
}
.brand-text {
    width: 132px; flex: 0 0 132px; overflow: hidden; /* 固定宽度：切换科目时副标题变长也不会顶动菜单 */
}
.brand-text strong { display: block; font-size: 17px; letter-spacing: .5px; color: var(--text); white-space: nowrap; }
.brand-text small { display: block; font-size: 11px; color: var(--text-2); white-space: nowrap; }

/* 科目切换：浅灰胶囊组 */
.subject-tabs {
    display: flex; gap: 4px; flex: 0 0 auto;
    padding: 3px; background: #f2f3f8; border-radius: 999px;
}
.subj-tab {
    background: transparent; border: none; color: var(--text-2);
    padding: 6px 10px; border-radius: 999px; cursor: pointer; font-size: 13.5px; font-family: inherit;
    transition: .18s; white-space: nowrap;
    min-width: 92px; text-align: center; /* 固定宽度：选中加粗时不产生位移 */
}
.subj-tab:hover { color: var(--primary-dark); background: rgba(255,255,255,.85); }
.subj-tab.active {
    background: #fff; color: var(--primary-dark); font-weight: 600;
    box-shadow: 0 1px 4px rgba(31,41,71,.12);
}

.nav { display: flex; gap: 2px; flex: 1 1 auto; flex-wrap: nowrap; min-width: 0; overflow: hidden; }
.nav a.nav-item {
    flex: 0 0 auto; position: relative;
    color: var(--text-2); text-decoration: none; font-size: 14px;
    padding: 8px 11px; border-radius: 9px; transition: .18s; white-space: nowrap;
}
.nav > a:hover { background: #f2f4fb; color: var(--primary-dark); }
.nav > a.active {
    background: var(--primary-light); color: var(--primary-dark); font-weight: 600;
}
.nav > a.active::after {
    content: ''; position: absolute; left: 11px; right: 11px; bottom: 2px; height: 2px;
    border-radius: 2px; background: var(--primary);
}
.nav a.nav-item.is-hidden { display: none; }

/* 溢出折叠：更多菜单 */
.nav-more { display: none; margin-left: auto; padding-left: 6px; flex: 0 0 auto; position: relative; }
.nav-more.show { display: block; }
.nav-more-btn {
    display: flex; align-items: center; gap: 3px;
    background: #f2f3f8; border: 1px solid var(--border); color: var(--text-2);
    padding: 7px 12px; border-radius: 9px; cursor: pointer; font-size: 14px; font-family: inherit;
    white-space: nowrap; transition: .18s;
}
.nav-more-btn:hover { background: #eceffa; color: var(--primary-dark); }
.nav-more-btn.active { background: var(--primary-light); color: var(--primary-dark); font-weight: 600; border-color: #dfe4fb; }
.nav-more-btn .caret { font-style: normal; font-size: 10px; transition: transform .18s; }
.nav-more.open .nav-more-btn .caret { transform: rotate(180deg); }
.nav-more-menu {
    display: none; position: absolute; top: calc(100% + 10px); right: 0; z-index: 200;
    min-width: 148px; padding: 6px; background: var(--card); border: 1px solid var(--border);
    border-radius: 12px; box-shadow: var(--shadow-lg);
}
.nav-more.open .nav-more-menu { display: block; }
.nav-more-menu a {
    display: block; padding: 8px 12px; border-radius: 8px; font-size: 14px;
    color: var(--text); text-decoration: none; white-space: nowrap; transition: .15s;
}
.nav-more-menu a:hover { background: var(--primary-light); color: var(--primary-dark); }
.nav-more-menu a.active { background: var(--primary-light); color: var(--primary-dark); font-weight: 600; }

.userbox { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-2); flex: 0 0 auto; }
.userbox .uname {
    font-weight: 600; color: var(--text);
    max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.userbox button {
    background: #f2f3f8; border: 1px solid var(--border); color: var(--text-2);
    padding: 5px 12px; border-radius: 8px; cursor: pointer; font-size: 12px; font-family: inherit;
    transition: .18s;
}
.userbox button:hover { background: #e9ebf5; color: var(--text); }

/* ---------- 布局 ---------- */
.container { max-width: 1100px; margin: 0 auto; padding: 22px 18px 40px; flex: 1; width: 100%; }
.loading { text-align: center; color: var(--text-2); padding: 60px 0; }
.footer { text-align: center; color: var(--text-2); font-size: 12px; padding: 18px; border-top: 1px solid var(--border); }

/* ---------- 通用组件 ---------- */
.card {
    background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
    padding: 20px; margin-bottom: 16px; border: 1px solid rgba(229,232,240,.7);
}
.card h2 { font-size: 18px; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.card h3 { font-size: 15px; margin: 16px 0 10px; color: var(--text); }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    border: none; border-radius: 10px; cursor: pointer; font-size: 14px;
    padding: 9px 18px; transition: .18s; font-family: inherit;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { filter: brightness(1.08); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { filter: brightness(1.08); }
.btn-ghost { background: var(--primary-light); color: var(--primary-dark); }
.btn-ghost:hover { background: #dfe6fd; }
.btn-gray { background: #eef0f5; color: var(--text-2); }
.btn-gray:hover { background: #e2e6ee; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-sm { padding: 5px 12px; font-size: 12.5px; border-radius: 8px; }
.btn-block { width: 100%; }

.tag {
    display: inline-block; padding: 2px 10px; border-radius: 20px;
    font-size: 12px; font-weight: 500;
}
.tag-blue { background: var(--primary-light); color: var(--primary-dark); }
.tag-green { background: var(--green-light); color: var(--green); }
.tag-red { background: var(--red-light); color: var(--red); }
.tag-orange { background: var(--orange-light); color: #b97a00; }
.tag-purple { background: #f1ebfe; color: var(--purple); }
.tag-gray { background: #eef0f5; color: var(--text-2); }

.progress { height: 8px; background: #edf0f7; border-radius: 20px; overflow: hidden; }
.progress > div { height: 100%; background: linear-gradient(90deg, var(--primary), #8b5cf6); border-radius: 20px; transition: width .3s; }

.grid { display: grid; gap: 14px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---------- 登录 ---------- */
.auth-wrap { max-width: 400px; margin: 48px auto; }
.auth-tabs { display: flex; gap: 8px; margin-bottom: 18px; }
.auth-tabs button {
    flex: 1; padding: 10px; border: none; background: #eef0f5; color: var(--text-2);
    border-radius: 10px; cursor: pointer; font-size: 14px; font-weight: 600;
}
.auth-tabs button.active { background: var(--primary); color: #fff; }
.form-item { margin-bottom: 14px; }
.form-item label { display: block; font-size: 13px; color: var(--text-2); margin-bottom: 6px; }
.form-item input, .form-item select, .form-item textarea {
    width: 100%; padding: 10px 12px; border: 1.5px solid var(--border); border-radius: 10px;
    font-size: 14px; font-family: inherit; outline: none; transition: .18s; background: #fff;
}
.form-item input:focus, .form-item select:focus, .form-item textarea:focus { border-color: var(--primary); }

/* ---------- 首页 ---------- */
.hero {
    background: linear-gradient(120deg, #4f6ef7, #7c5cf9); color: #fff;
    border-radius: var(--radius); padding: 26px 28px; margin-bottom: 18px;
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
}
.hero h1 { font-size: 22px; margin-bottom: 6px; }
.hero p { opacity: .85; font-size: 13.5px; }
.hero-stats { display: flex; gap: 24px; }
.hero-stat { text-align: center; }
.hero-stat b { font-size: 26px; display: block; }
.hero-stat span { font-size: 12px; opacity: .8; }

.entry-card {
    background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
    padding: 22px; cursor: pointer; transition: .2s; border: 2px solid transparent;
    display: flex; flex-direction: column; gap: 8px;
}
.entry-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.entry-icon {
    width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center;
    justify-content: center; font-size: 22px;
}
.entry-card h3 { font-size: 16px; }
.entry-card p { font-size: 12.5px; color: var(--text-2); line-height: 1.6; }

/* ---------- 知识点选择 ---------- */
.unit-block { border: 1px solid var(--border); border-radius: 12px; margin-bottom: 12px; overflow: hidden; }
.unit-head {
    padding: 12px 16px; background: #f8f9fd; cursor: pointer;
    display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14.5px;
}
.unit-head:hover { background: var(--primary-light); }
.unit-head .chev { margin-left: auto; color: var(--text-2); transition: .2s; font-size: 12px; }
.unit-body { padding: 12px 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.kp-chip {
    padding: 7px 14px; border-radius: 20px; border: 1.5px solid var(--border);
    font-size: 13px; cursor: pointer; transition: .15s; background: #fff; user-select: none;
}
.kp-chip:hover { border-color: var(--primary); color: var(--primary-dark); }
.kp-chip.on { background: var(--primary); border-color: var(--primary); color: #fff; }
.kp-chip .acc { font-size: 11px; opacity: .75; margin-left: 4px; }

.vol-tabs { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.vol-tabs button {
    padding: 8px 18px; border: 1.5px solid var(--border); background: #fff; border-radius: 10px;
    cursor: pointer; font-size: 14px; transition: .15s;
}
.vol-tabs button.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ---------- 答题 ---------- */
.q-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; flex-wrap: wrap; gap: 10px; }
.q-meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.q-stem {
    font-size: 16.5px; line-height: 1.9; background: #f8f9fd; border-radius: 12px;
    padding: 18px 20px; margin-bottom: 16px; white-space: pre-wrap;
}
/* 题干配图（服务端 SVG）：居中、白底圆角、小屏自适应 */
.q-figure {
    margin: 12px auto 4px; padding: 8px; text-align: center;
    background: #fff; border: 1px solid var(--border); border-radius: 12px;
    max-width: 380px; white-space: normal;
}
.q-figure svg { max-width: 100%; height: auto; display: inline-block; }
/* 课文朗读卡片（听读）：紧贴排布，句间以 .tr-line 自身留白控制 */
.text-read {
    background: #f8f9fd; border-radius: 12px; padding: 10px 12px; margin-bottom: 12px;
    /* 关键：外层 .q-stem 是 white-space:pre-wrap，会把模板里的换行缩进渲染成大段空白，必须复位 */
    white-space: normal;
}
.text-read .tr-tip { font-size: 13px; color: var(--text-2); margin-bottom: 2px; }
.text-read .tr-line { padding: 5px 10px; border-radius: 10px; transition: background .15s; cursor: pointer; }
.text-read .tr-line:hover { background: #eef3ff; }
/* 英文行：1.55 倍行距，单行紧凑 */
.text-read .tr-en { font-size: 17px; font-weight: 600; color: var(--text); line-height: 1.55; display: flex; align-items: center; gap: 8px; }
.text-read .tr-en:hover { color: var(--primary); }
.text-read .tr-spk { font-size: 15px; opacity: .55; }
/* 中文行：显式行高并紧贴英文行，避免继承 .q-stem(1.9) / .paper-stem(2) 被撑开 */
.text-read .tr-zh { font-size: 14px; color: var(--text-2); line-height: 1.5; margin-top: 1px; padding-left: 2px; }
.text-read .tr-empty { color: var(--text-2); font-size: 14px; }
/* 图文并茂：场景插画头 + 每句角色头像 */
.text-read .tr-head { display: flex; align-items: center; gap: 12px; padding: 10px 10px 12px; background: linear-gradient(135deg,#eef4ff,#fdf3f0); border-radius: 12px; margin-bottom: 8px; }
.text-read .tr-scene { font-size: 40px; line-height: 1; width: 56px; height: 56px; flex: 0 0 56px; display: flex; align-items: center; justify-content: center; background: #fff; border-radius: 14px; box-shadow: 0 2px 6px rgba(0,0,0,.06); }
/* 公版插画 */
.text-read .tr-pic { width: 84px; height: 84px; flex: 0 0 84px; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.10); display: flex; align-items: center; justify-content: center; }
.text-read .tr-pic img { width: 100%; height: 100%; object-fit: contain; display: block; }
.text-read .tr-summary { margin-top: 4px; font-size: 13px; line-height: 1.6; color: var(--text-2); }
.text-read .tr-src { margin-top: 10px; padding-top: 8px; border-top: 1px dashed var(--line, #e6e9f0); font-size: 12px; color: var(--text-2); }
.text-read .tr-head-text { min-width: 0; }
.text-read .tr-title { font-size: 17px; font-weight: 800; color: var(--text); }
.text-read .tr-title-en { font-size: 12px; font-weight: 500; color: var(--text-2); margin-left: 6px; }
.text-read .tr-tags { margin-top: 4px; display: flex; gap: 6px; flex-wrap: wrap; }
.text-read .tr-line { display: flex; align-items: flex-start; gap: 10px; padding: 6px 10px; }
.text-read .tr-ico { font-size: 20px; line-height: 1.4; flex: 0 0 26px; width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; background: #fff; border-radius: 50%; box-shadow: 0 1px 3px rgba(0,0,0,.08); margin-top: 2px; }
.text-read .tr-body { min-width: 0; }
/* 课文高亮：红=重点单词 黄=融合词 蓝=固定短语 */
.text-read .tr-legend { display: flex; gap: 8px; margin: 4px 0 8px; flex-wrap: wrap; }
.text-read .tr-legend span { font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 20px; }
.text-read .hl-text { background: #ffd6d6; color: #c0392b; }
.text-read .hl-nce  { background: #ffe9a8; color: #9a6b00; }
.text-read .hl-phrase { background: #cfe4ff; color: #135aa0; }
.text-read .tr-en .hl-text,
.text-read .tr-en .hl-nce,
.text-read .tr-en .hl-phrase { font-weight: 700; border-radius: 3px; padding: 0 2px; }
/* 拓展听读（新概念风格）：与上方课文朗读区分，加一段左边框 */
.text-read .tr-ext { margin-top: 14px; padding: 10px 12px 12px; background: #f3f8f4; border-left: 4px solid var(--primary); border-radius: 10px; }
.text-read .tr-ext-head { font-size: 14px; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.text-read .tr-ext .tr-line:hover { background: #e6f1ea; }
.text-read .tr-src { font-size: 12px; color: var(--text-2); margin-top: 6px; }
/* 拓展2（原创角色故事）：用不同色系与拓展1区分 */
.text-read .tr-ext2 { background: #fdf3f0; border-left-color: #f0883e; }
.text-read .tr-ext2 .tr-ext-head { color: #d9691f; }
.text-read .tr-ext2 .tr-line:hover { background: #fbe6dc; }
.options { display: grid; gap: 10px; }
.option {
    display: flex; align-items: center; gap: 12px; padding: 13px 16px;
    border: 1.5px solid var(--border); border-radius: 12px; cursor: pointer; transition: .15s;
    background: #fff; font-size: 15px;
}
.option:hover { border-color: var(--primary); background: var(--primary-light); }
.option .letter {
    width: 26px; height: 26px; border-radius: 50%; background: #eef0f5; color: var(--text-2);
    display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; flex-shrink: 0;
}
.option.selected { border-color: var(--primary); background: var(--primary-light); }
.option.selected .letter { background: var(--primary); color: #fff; }
.option.correct { border-color: var(--green); background: var(--green-light); }
.option.correct .letter { background: var(--green); color: #fff; }
.option.wrong { border-color: var(--red); background: var(--red-light); }
.option.wrong .letter { background: var(--red); color: #fff; }
.option.disabled { pointer-events: none; }

.answer-row { display: flex; gap: 10px; }
.answer-row input {
    flex: 1; padding: 12px 16px; border: 1.5px solid var(--border); border-radius: 10px;
    font-size: 15px; outline: none; font-family: inherit;
}
.answer-row input:focus { border-color: var(--primary); }

.result-banner {
    border-radius: 12px; padding: 14px 18px; margin-bottom: 14px;
    display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 600;
}
.result-banner.ok { background: var(--green-light); color: var(--green); }
.result-banner.no { background: var(--red-light); color: var(--red); }

.analysis-box { background: #f8f9fd; border-radius: 12px; padding: 16px 18px; margin-top: 14px; }
.analysis-box h4 { font-size: 14px; margin-bottom: 8px; color: var(--primary-dark); }
.analysis-box p, .analysis-box li { font-size: 14px; line-height: 1.9; color: var(--text); }
.analysis-box ol, .analysis-box ul { padding-left: 20px; }
.pitfall-box { background: var(--orange-light); border-radius: 10px; padding: 10px 14px; margin-top: 10px; font-size: 13.5px; color: #8a5a00; line-height: 1.8; }
/* 知识点讲解（与解题方法并列）：左侧蓝条，区分于解析的浅蓝底 */
.kp-box { background: #eef4ff; border-left: 4px solid var(--primary); border-radius: 10px; padding: 14px 16px; margin-top: 14px; }
.kp-box h4 { font-size: 14px; margin-bottom: 8px; color: var(--primary-dark); }
.kp-box p { font-size: 14px; line-height: 1.9; color: var(--text); }
.kp-box .kp-points { padding-left: 20px; margin-top: 6px; }
.kp-box .kp-points li { font-size: 13.5px; line-height: 1.8; color: var(--text-2); }

.q-actions { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }

/* 答题卡 */
.answer-sheet { display: grid; grid-template-columns: repeat(10, 1fr); gap: 8px; margin-top: 10px; }
.answer-sheet .cell {
    aspect-ratio: 1; border-radius: 9px; border: 1.5px solid var(--border); background: #fff;
    display: flex; align-items: center; justify-content: center; font-size: 13px; cursor: pointer;
    color: var(--text-2); transition: .15s;
}
.answer-sheet .cell:hover { border-color: var(--primary); }
.answer-sheet .cell.done { background: var(--primary-light); border-color: var(--primary); color: var(--primary-dark); font-weight: 600; }
.answer-sheet .cell.current { background: var(--primary); color: #fff; border-color: var(--primary); }
@media (max-width: 620px) { .answer-sheet { grid-template-columns: repeat(6, 1fr); } }

/* ---------- 统计 ---------- */
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 16px; }
@media (max-width: 720px) { .stat-row { grid-template-columns: repeat(2, 1fr); } }
.stat-box { background: var(--card); border-radius: 12px; padding: 16px; box-shadow: var(--shadow); text-align: center; }
.stat-box b { font-size: 24px; display: block; color: var(--primary-dark); }
.stat-box span { font-size: 12.5px; color: var(--text-2); }

table.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.tbl th, table.tbl td { padding: 9px 10px; text-align: left; border-bottom: 1px solid var(--border); }
table.tbl th { color: var(--text-2); font-weight: 600; background: #f8f9fd; }
table.tbl tr:hover td { background: #fafbff; }

/* ---------- 错题本 ---------- */
.wrong-item {
    background: var(--card); border-radius: 12px; box-shadow: var(--shadow);
    padding: 16px 18px; margin-bottom: 12px; border-left: 4px solid var(--red);
    cursor: pointer; transition: .15s;
}
.wrong-item.mastered { border-left-color: var(--green); opacity: .82; }
.wrong-item:hover { box-shadow: var(--shadow-lg); }
.wrong-item .head { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; flex-wrap: wrap; }
.wrong-item .stem { font-size: 14.5px; line-height: 1.8; margin: 8px 0; color: var(--text); }
.wrong-item .foot { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 12px; color: var(--text-2); }

/* 卡片标题行 + 下拉菜单（导出等） */
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.card-head h2 { margin-bottom: 0; }
.dropdown { position: relative; flex: 0 0 auto; }
.dropdown-menu {
    display: none; position: absolute; top: calc(100% + 8px); right: 0; z-index: 60;
    min-width: 216px; padding: 6px; background: var(--card); border: 1px solid var(--border);
    border-radius: 12px; box-shadow: var(--shadow-lg);
}
.dropdown.open .dropdown-menu { display: block; }
.dropdown-menu a {
    display: block; padding: 8px 12px; border-radius: 8px; font-size: 13px;
    color: var(--text); text-decoration: none; white-space: nowrap; transition: .15s; cursor: pointer;
}
.dropdown-menu a:hover { background: var(--primary-light); color: var(--primary-dark); }
.dropdown .caret { font-style: normal; font-size: 10px; margin-left: 3px; display: inline-block; transition: transform .18s; }
.dropdown.open .caret { transform: rotate(180deg); }

.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; align-items: center; }
.filters select, .filters input {
    padding: 8px 12px; border: 1.5px solid var(--border); border-radius: 9px; font-size: 13px;
    background: #fff; outline: none; font-family: inherit;
}

/* ---------- 弹窗 ---------- */
.modal-mask {
    position: fixed; inset: 0; background: rgba(20, 26, 48, .5); z-index: 200;
    display: flex; align-items: center; justify-content: center; padding: 20px;
}
.modal {
    background: #fff; border-radius: 16px; max-width: 680px; width: 100%;
    max-height: 88vh; overflow-y: auto; padding: 24px; box-shadow: var(--shadow-lg);
}
.modal h2 { font-size: 18px; margin-bottom: 14px; }
.modal .close-x { float: right; background: none; border: none; font-size: 20px; cursor: pointer; color: var(--text-2); }

/* ---------- Toast ---------- */
.toast {
    position: fixed; left: 50%; bottom: 34px; transform: translateX(-50%) translateY(20px);
    background: rgba(30, 36, 60, .92); color: #fff; padding: 10px 22px; border-radius: 24px;
    font-size: 14px; opacity: 0; pointer-events: none; transition: .25s; z-index: 300;
    max-width: 80vw;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- 考试报告 ---------- */
.score-hero { text-align: center; padding: 26px; }
.score-hero .score { font-size: 52px; font-weight: 800; color: var(--primary-dark); }
.score-hero .level { font-size: 18px; font-weight: 700; margin: 8px 0; }
.score-hero .desc { color: var(--text-2); font-size: 14px; }

.kp-bar { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 13px; }
.kp-bar .name { width: 150px; flex-shrink: 0; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kp-bar .bar { flex: 1; height: 10px; background: #edf0f7; border-radius: 10px; overflow: hidden; }
.kp-bar .bar > div { height: 100%; border-radius: 10px; }
.kp-bar .val { width: 70px; text-align: right; color: var(--text-2); }

.empty { text-align: center; color: var(--text-2); padding: 40px 0; font-size: 14px; }

/* ---------- 顶栏年级选择 ---------- */
.grade-select {
    background: #f2f3f8; color: var(--text); border: 1px solid var(--border);
    border-radius: 8px; padding: 5px 8px; font-size: 12.5px; cursor: pointer; outline: none;
    font-family: inherit; transition: .18s;
}
.grade-select option { color: var(--text); background: #fff; }
.userbox .grade-select:hover, .grade-select:focus { background: #e9ebf5; border-color: #dfe4fb; }

/* ---------- 考试中心 ---------- */
.exam-center-card {
    background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
    padding: 20px; cursor: pointer; transition: .2s; border: 2px solid transparent;
}
.exam-center-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.exam-center-card h3 { font-size: 16px; margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
.exam-center-card p { font-size: 12.5px; color: var(--text-2); line-height: 1.7; }
.exam-center-card .tags { margin-top: 10px; display: flex; gap: 6px; flex-wrap: wrap; }

/* ---------- 标准答题卡 · 试卷双栏 ---------- */
.exam-layout {
    display: grid; grid-template-columns: 1fr 340px; gap: 16px; align-items: start;
}
@media (max-width: 980px) { .exam-layout { grid-template-columns: 1fr; } }

.exam-paper {
    background: #fff; border: 1px solid var(--border); border-radius: 6px;
    padding: 26px 28px 22px; position: relative;
    box-shadow: 0 1px 6px rgba(31,41,71,.08);
}
.exam-paper::before {
    content: ''; position: absolute; left: 46px; top: 0; bottom: 0;
    border-left: 1px dashed #c9cede;
}
.paper-seal {
    position: absolute; left: 8px; top: 90px; font-size: 11px; color: #9aa3b8;
    writing-mode: vertical-rl; letter-spacing: 4px; user-select: none;
}
.paper-head { margin-left: 30px; }
.paper-head .paper-title {
    text-align: center; font-size: 19px; font-weight: 800; letter-spacing: 2px; margin-bottom: 6px;
}
.paper-head .paper-sub {
    text-align: center; font-size: 12px; color: var(--text-2); margin-bottom: 4px;
}
.paper-score-row {
    display: flex; justify-content: space-between; font-size: 12px; color: var(--text-2);
    border-bottom: 1.5px solid var(--text); padding-bottom: 6px; margin-bottom: 14px;
}
.paper-q { margin-left: 30px; }
.paper-q .q-no {
    font-weight: 800; font-size: 15px; margin-right: 6px;
}
.paper-q .q-type { font-size: 11.5px; color: var(--text-2); margin-left: 6px; }
.paper-stem { font-size: 15.5px; line-height: 2; margin: 6px 0 10px; }
.paper-opts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 18px; margin-bottom: 8px; }
@media (max-width: 620px) { .paper-opts { grid-template-columns: 1fr; } }
.paper-opts .po {
    font-size: 14.5px; padding: 5px 8px; border-radius: 6px;
}
.paper-opts .po.mine { background: var(--primary-light); color: var(--primary-dark); font-weight: 600; }
.paper-answer-zone {
    border: 1px dashed #c9cede; border-radius: 6px; padding: 10px 12px; margin: 8px 0 4px;
    background: repeating-linear-gradient(#fff, #fff 30px, #eef1f7 31px);
}
.paper-answer-zone input {
    width: 100%; border: none; outline: none; background: transparent;
    font-size: 15px; font-family: inherit; line-height: 30px;
}
.paper-zone-label { font-size: 11.5px; color: #9aa3b8; margin-bottom: 2px; }
.paper-tip {
    font-size: 12px; color: #9aa3b8; text-align: center; margin-top: 10px;
    border-top: 1px dashed var(--border); padding-top: 8px;
}

/* ---------- 标准答题卡 ---------- */
.bubble-card {
    background: #fdfefe; border: 1.5px solid #d5dae6; border-radius: 8px;
    padding: 16px; position: sticky; top: 78px;
}
.bubble-card .bc-title {
    text-align: center; font-size: 14px; font-weight: 800; letter-spacing: 3px;
    border-bottom: 2px solid var(--text); padding-bottom: 8px; margin-bottom: 10px;
}
.bc-info { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 12px; }
.bc-info .field {
    border: 1px solid #c9cede; border-radius: 4px; padding: 5px 8px;
    font-size: 11.5px; color: var(--text-2); background: #fff;
}
.bc-info .field input {
    border: none; outline: none; width: 100%; font-size: 12.5px; font-family: inherit;
    background: transparent; color: var(--text);
}
.bc-notice {
    font-size: 11px; color: #8a93a8; background: #f6f8fc; border-radius: 4px;
    padding: 6px 8px; margin-bottom: 12px; line-height: 1.6;
}
.bubble-rows { display: grid; gap: 4px; }
.bubble-row {
    display: flex; align-items: center; gap: 6px; padding: 3px 4px; border-radius: 5px;
}
.bubble-row.current { background: var(--primary-light); }
.bubble-row .qno {
    width: 26px; text-align: center; font-size: 12.5px; font-weight: 700; color: var(--text);
    flex-shrink: 0;
}
.bubble-row .qno.done { color: var(--primary); }
.bubble {
    width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid #8a93a8;
    display: flex; align-items: center; justify-content: center; font-size: 11.5px;
    color: var(--text-2); cursor: pointer; background: #fff; transition: .12s; flex-shrink: 0;
    user-select: none;
}
.bubble:hover { border-color: var(--primary); color: var(--primary); }
.bubble.filled {
    background: #2b3245; border-color: #2b3245; color: #fff;
}
.bubble-letter { font-size: 10.5px; color: #9aa3b8; width: 12px; text-align: center; flex-shrink: 0; }
.bc-footer {
    margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--border);
    font-size: 11.5px; color: var(--text-2); text-align: center;
}

/* 刷题统计条 */
.smart-bar {
    display: flex; gap: 14px; align-items: center; flex-wrap: wrap;
    background: linear-gradient(120deg, #eef1fe, #f6effe); border-radius: 12px;
    padding: 12px 16px; margin-bottom: 14px; font-size: 13px;
}
.smart-bar b { font-size: 17px; color: var(--primary-dark); margin-right: 3px; }
.smart-bar .item { display: flex; align-items: baseline; }
.smart-bar .item span { color: var(--text-2); font-size: 12px; }
.smart-bar .streak { color: var(--orange); font-weight: 700; }

@media (max-width: 1080px) {
    .topbar-inner { gap: 10px; }
    .brand-text small { display: none; }
    .nav a.nav-item { padding: 7px 9px; font-size: 13.5px; }
    .subj-tab { padding: 6px 11px; }
}
@media (max-width: 860px) {
    .brand-text { display: none; }
}
@media (max-width: 720px) {
    .topbar-inner { flex-wrap: wrap; gap: 10px; }
    .nav { order: 3; width: 100%; }
    .q-stem { font-size: 15.5px; }
    .bubble-card { position: static; }
}

/* ===================== 运营后台 ===================== */
.admin-login { display: flex; align-items: center; justify-content: center; min-height: 100vh; background: linear-gradient(135deg, #eef1fe 0%, #ece7fd 100%); }
.login-card { width: 320px; background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.login-card .login-logo { font-size: 18px; font-weight: 700; text-align: center; margin-bottom: 6px; }
.login-card input { padding: 11px 12px; border: 1.5px solid var(--border); border-radius: 10px; font-size: 14px; font-family: inherit; outline: none; }
.login-card input:focus { border-color: var(--primary); }
.admin-err { color: var(--red); font-size: 13px; min-height: 16px; text-align: center; }

.admin-main { display: flex; min-height: 100vh; }
.admin-side { width: 210px; background: #fff; border-right: 1px solid var(--border); display: flex; flex-direction: column; padding: 18px 12px; gap: 6px; }
.admin-side .side-logo { font-size: 17px; font-weight: 700; padding: 6px 10px 16px; }
.admin-side nav { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.admin-side nav a { padding: 10px 12px; border-radius: 9px; cursor: pointer; font-size: 14px; color: var(--text-2); transition: .15s; }
.admin-side nav a:hover { background: var(--primary-light); color: var(--primary-dark); }
.admin-side nav a.active { background: var(--primary); color: #fff; font-weight: 600; }
.admin-side .side-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 12px; border-top: 1px solid var(--border); font-size: 13px; }
.admin-content { flex: 1; padding: 22px; background: var(--bg); overflow: auto; }
.admin-content h2 { font-size: 19px; margin-bottom: 14px; display: flex; gap: 10px; align-items: center; }
.admin-content h2 input { padding: 6px 10px; border: 1.5px solid var(--border); border-radius: 8px; font-size: 13px; font-family: inherit; }

.admin-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.admin-table th, .admin-table td { padding: 10px 12px; text-align: left; font-size: 13px; border-bottom: 1px solid var(--border); }
.admin-table th { background: #f6f7fb; color: var(--text-2); font-weight: 600; }
.admin-table tr:hover td { background: #fafbff; }
.admin-table .cell { width: 100%; border: 1.5px solid var(--border); border-radius: 7px; padding: 5px 8px; font-size: 13px; font-family: inherit; }
.admin-table .cell.num { width: 70px; }
.admin-table textarea.cell { width: 100%; resize: vertical; }

.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 16px; }
.form-grid label { display: flex; flex-direction: column; gap: 5px; font-size: 13px; color: var(--text-2); }
.form-grid input, .form-grid select, .form-grid textarea { border: 1.5px solid var(--border); border-radius: 9px; padding: 9px 11px; font-size: 14px; font-family: inherit; outline: none; }
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus { border-color: var(--primary); }
@media (max-width: 720px) {
    .admin-main { flex-direction: column; }
    .admin-side { width: 100%; flex-direction: row; flex-wrap: wrap; }
    .admin-side nav { flex-direction: row; }
    .form-grid { grid-template-columns: 1fr; }
}

/* ===================== 前台：套餐 / 订阅 ===================== */
.plan-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 16px 0; }
@media (max-width: 900px) { .plan-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .plan-grid { grid-template-columns: 1fr; } }
.plan-card { background: #fff; border: 1.5px solid var(--border); border-radius: 16px; padding: 20px 18px; display: flex; flex-direction: column; gap: 8px; box-shadow: var(--shadow); position: relative; }
.plan-card.highlight { border-color: var(--primary); box-shadow: 0 8px 28px rgba(79,110,247,.18); }
.plan-card .ribbon { position: absolute; top: -10px; right: 16px; background: var(--primary); color: #fff; font-size: 12px; padding: 3px 10px; border-radius: 999px; }
.plan-card .p-name { font-size: 17px; font-weight: 700; }
.plan-card .p-price { font-size: 26px; font-weight: 800; color: var(--primary-dark); }
.plan-card .p-price small { font-size: 13px; color: var(--text-2); font-weight: 500; }
.plan-card .p-sub { font-size: 13px; color: var(--text-2); min-height: 36px; }
.plan-card .p-scope { font-size: 12.5px; background: var(--primary-light); color: var(--primary-dark); padding: 3px 8px; border-radius: 8px; align-self: flex-start; }
.plan-card .btn { margin-top: auto; }

.pay-qr { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.pay-qr canvas, .pay-qr img { width: 200px; height: 200px; border: 1px solid var(--border); border-radius: 12px; }
.pay-info b { font-size: 22px; }
.member-badge { font-size: 11.5px; padding: 3px 8px; border-radius: 999px; font-weight: 600; }
.member-badge.ok { background: var(--green-light); color: var(--green); }
.member-badge.no { background: var(--red-light); color: var(--red); }
.grade-pick { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0; }
.grade-pick button { padding: 8px 16px; border: 1.5px solid var(--border); border-radius: 10px; cursor: pointer; background: #fff; font-family: inherit; }
.grade-pick button.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.price-strong { color: var(--primary-dark); font-weight: 700; }
.order-err { color: var(--red); margin-left: 10px; font-size: 13px; }
.renew-banner { background: #fff7e6; border: 1px solid #ffd591; color: #ad6800; padding: 10px 14px; border-radius: 10px; margin-bottom: 12px; font-size: 14px; }
.renew-banner b { color: #d4380d; }
.plans-sub { color: var(--text-2); font-size: 13px; font-weight: 400; }
.plans-intro { margin-top: 16px; }

/* ===================== 单词记忆 ===================== */
.word-progress .wp-stats { display: flex; gap: 10px; margin: 12px 0; flex-wrap: wrap; }
.wp-stat { flex: 1; min-width: 80px; background: var(--bg-soft, #f4f7fb); border-radius: 12px; padding: 10px 12px; text-align: center; }
.wp-stat b { display: block; font-size: 22px; color: var(--primary-dark); }
.wp-stat span { font-size: 12px; color: var(--text-2); }
.wp-bar { height: 8px; background: #e8edf4; border-radius: 6px; overflow: hidden; }
.wp-bar-fill { height: 100%; background: linear-gradient(90deg, #16a34a, #4ade80); border-radius: 6px; }
.wp-tip { font-size: 12px; color: var(--text-2); margin: 10px 0 0; }

.word-card { text-align: center; }
.w-word { font-size: 40px; letter-spacing: 1px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; user-select: none; }
.w-speak { font-size: 24px; cursor: pointer; }
.w-phon { color: var(--text-2); font-size: 16px; margin-top: 4px; }
/* 单词配色：前缀蓝 / 词根绿 / 后缀红；音节分隔空格不染色 */
.c-pre { color: #2563eb; font-weight: 700; }
.c-root { color: #16a34a; font-weight: 700; }
.c-suf { color: #dc2626; font-weight: 700; }
.w-phy { color: var(--text); font-weight: 700; }
.w-ct { display: flex; align-items: center; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.wct { border: 1px solid var(--border); background: #fff; color: var(--text-2); border-radius: 999px; padding: 4px 14px; font-size: 13px; cursor: pointer; transition: all .15s; }
.wct.on { background: var(--primary); border-color: var(--primary); color: #fff; }
.w-legend { font-size: 12px; color: var(--text-2); margin-left: 4px; }
.w-legend i { font-style: normal; font-weight: 700; margin: 0 3px; }
.w-pos { color: var(--primary); font-size: 13px; margin-top: 2px; }
.w-mean { font-size: 20px; font-weight: 700; margin-top: 10px; color: var(--text); }
.w-example { font-size: 15px; color: var(--text-2); margin-top: 8px; line-height: 1.6; }
.w-ex-cn { color: #94a3b8; font-size: 13px; }
.w-actions { display: flex; gap: 8px; justify-content: center; margin: 16px 0 4px; flex-wrap: wrap; }
.w-judge { display: flex; gap: 10px; justify-content: center; margin-top: 6px; }
.w-judge .btn { flex: 1; max-width: 160px; }
.judge-bad { background: #fee2e2; color: #dc2626; border: 1px solid #fca5a5; }
.judge-mid { background: #fef3c7; color: #d97706; border: 1px solid #fcd34d; }
.judge-good { background: #dcfce7; color: #16a34a; border: 1px solid #86efac; }
.eb-svg { margin-top: 14px; background: #f8fbff; border: 1px solid #e6eefb; border-radius: 12px; }

/* 扩展记忆面板 */
.word-ext { margin: 12px 0 2px; text-align: center; }
.we-body { margin-top: 10px; text-align: left; background: #f7faff; border: 1px solid #e6eefb; border-radius: 12px; padding: 10px 12px; }
.we-row { display: flex; gap: 10px; padding: 6px 0; border-bottom: 1px dashed #e8eefb; font-size: 14px; line-height: 1.5; }
.we-row:last-child { border-bottom: none; }
.we-k { flex: 0 0 64px; color: var(--primary); font-weight: 600; }
.we-v { flex: 1; color: var(--text); }
.we-v { word-break: break-word; }

/* 扩展记忆 · 思维导图 */
.we-map { margin-top: 10px; border-top: 1px dashed #e8eefb; padding-top: 10px; }
.we-node { display: inline-block; background: var(--primary); color: #fff; font-weight: 700; font-size: 16px; padding: 6px 14px; border-radius: 999px; line-height: 1.3; }
.we-node-zh { font-weight: 400; font-size: 12px; margin-left: 6px; opacity: .85; }
.we-branch { margin-top: 10px; }
.we-bk { font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 5px; }
.we-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.we-chip { background: #eef4ff; color: #2563eb; border: 1px solid #d6e4ff; padding: 3px 11px; border-radius: 999px; font-size: 13px; cursor: pointer; transition: background .15s; }
.we-chip:hover { background: #dce9ff; }
.we-syn, .we-sen { margin: 0; padding: 0; list-style: none; }
.we-syn li { font-size: 14px; padding: 5px 0; border-bottom: 1px dashed #eef2f8; }
.we-syn b { cursor: pointer; color: #2563eb; }
.we-diff { display: block; color: #94a3b8; font-size: 12px; margin-top: 2px; }
.we-sen li { font-size: 14px; padding: 6px 0; border-bottom: 1px dashed #eef2f8; cursor: pointer; line-height: 1.5; }
.we-sen .we-cn { display: block; color: #94a3b8; font-size: 12px; margin-top: 2px; }

/* 单词记忆模式切换：学 / 读 / 拼 / 测 */
.wm-tabs { display: flex; gap: 8px; margin-bottom: 12px; }
.wm-tab { flex: 1; padding: 10px; border: 1.5px solid var(--border); border-radius: 12px; background: #fff; cursor: pointer; font-size: 15px; font-family: inherit; color: var(--text); transition: all .15s; }
.wm-tab.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.w-read-result { margin-top: 10px; font-weight: 700; min-height: 22px; color: var(--text); }
.w-spell-input { width: 100%; box-sizing: border-box; padding: 12px; font-size: 20px; border: 1.5px solid var(--border); border-radius: 12px; text-align: center; font-family: inherit; letter-spacing: 1px; }
.w-spell-fb { margin-top: 8px; font-weight: 700; min-height: 20px; }
.w-answer { margin-top: 10px; font-size: 20px; font-weight: 700; }
.w-test-opts { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.w-test-opt { padding: 14px; border: 1.5px solid var(--border); border-radius: 12px; background: #fff; cursor: pointer; font-size: 20px; font-family: inherit; transition: all .15s; }
.w-test-opt:hover { border-color: var(--primary); }
.opt-right { background: #dcfce7 !important; border-color: #86efac !important; color: #16a34a !important; }
.opt-wrong { background: #fee2e2 !important; border-color: #fca5a5 !important; color: #dc2626 !important; }
.wm-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.wm-head h2 { margin: 0; }
.wm-chapter { margin-top: 12px; }
.wm-chapter h3 { font-size: 16px; margin: 0 0 10px; color: var(--text); }
.wm-units { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.wm-unit-chip { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: 12px; background: #fff; cursor: pointer; font-family: inherit; color: var(--text); text-align: left; transition: all .15s; }
.wm-unit-chip:hover { border-color: var(--primary); background: #f5f8ff; }
.wm-unit-name { font-size: 14px; font-weight: 600; line-height: 1.3; }
.wm-unit-cnt { font-size: 12px; color: var(--text-2); }

/* ===================== 访客落地页（营销 + 套餐） ===================== */
.landing { max-width: 980px; margin: 0 auto; padding: 8px 4px 40px; }
.land-hero { text-align: center; padding: 42px 18px 30px; background: linear-gradient(135deg, #eef4ff, #f6f0ff); border-radius: 18px; }
.land-badge { display: inline-block; background: #fff; color: var(--primary-dark); border: 1px solid #dbe6ff; padding: 6px 14px; border-radius: 999px; font-size: 13px; margin-bottom: 14px; }
.land-hero h1 { font-size: 30px; margin: 6px 0 10px; }
.land-sub { color: var(--text-2); max-width: 680px; margin: 0 auto 18px; line-height: 1.7; }
.land-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-lg { padding: 14px 28px; font-size: 16px; }
.land-trust { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin-top: 18px; color: var(--text-2); font-size: 13px; }
.land-section { margin-top: 28px; }
.land-h2 { font-size: 20px; margin: 0 0 14px; }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.feat-card { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 18px; }
.feat-icon { font-size: 26px; margin-bottom: 8px; }
.feat-card h3 { font-size: 16px; margin: 0 0 6px; }
.feat-card p { color: var(--text-2); font-size: 13px; line-height: 1.6; margin: 0; }
.land-note { color: var(--text-2); font-size: 13px; margin-top: 12px; text-align: center; }
.land-foot { text-align: center; color: #94a3b8; font-size: 13px; margin-top: 34px; }
@media (max-width: 680px) {
    .feat-grid { grid-template-columns: repeat(2, 1fr); }
    .land-hero h1 { font-size: 24px; }
}
