/* =========================================================
   鱼儿阅读馆 · 教学平台样式
   主题：小金鱼爱阅读 —— 珊瑚橙 × 水蓝 × 奶油底，圆角可爱风
   ========================================================= */
:root {
  --c-primary: #FF7E5F;
  --c-primary-bg: #FFEDE3;
  --c-grad-a: #FFB35C;
  --c-grad-b: #FF7E75;
  --c-bg: #FDF6EC;
  --c-text: #4A3F35;
  --c-sub: #A79A8B;
  --c-line: #F3E8D8;
  --c-star: #FFB020;
  --c-green: #2FB86B;
  --c-green-bg: #E7F7EE;
  --c-orange: #E07C00;
  --c-orange-bg: #FFF3E0;
  --c-red: #F05B6C;
  --c-red-bg: #FDEDEF;
  --c-blue: #2BA8A0;
  --c-blue-bg: #E1F5F3;
  --radius: 20px;
  --shadow: 0 8px 24px rgba(216, 158, 106, .13);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { font-size: 16px; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Yuanti SC", sans-serif;
  background: #F2E2C9;
  color: var(--c-text);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button { font-family: inherit; cursor: pointer; }

/* 页面底色上飘着几颗水泡泡 */
.app {
  max-width: 560px; margin: 0 auto; min-height: 100dvh;
  background:
    radial-gradient(circle at 88% 2%, rgba(255, 168, 112, .16) 0 56px, transparent 57px),
    radial-gradient(circle at 6% 9%, rgba(94, 200, 193, .14) 0 34px, transparent 35px),
    radial-gradient(circle at 94% 32%, rgba(94, 200, 193, .12) 0 26px, transparent 27px),
    radial-gradient(circle at 4% 46%, rgba(255, 178, 92, .13) 0 30px, transparent 31px),
    radial-gradient(circle at 92% 68%, rgba(255, 168, 112, .11) 0 38px, transparent 39px),
    radial-gradient(circle at 8% 88%, rgba(94, 200, 193, .13) 0 30px, transparent 31px),
    var(--c-bg);
}
.page { padding: 16px 16px 100px; }

.ic { width: 20px; height: 20px; flex: none; }
.ic.mut { color: #D8C6AE; width: 16px; height: 16px; }

/* ============ 导航 ============ */
#nav { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 560px; z-index: 50; }
.bottom-nav {
  display: flex; background: rgba(255, 255, 255, .97); border-top: 1px solid var(--c-line);
  padding: 7px 6px calc(7px + env(safe-area-inset-bottom));
}
.nav-item {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px;
  color: #BCAE9C; font-size: 10.5px; text-decoration: none; padding: 4px 0; font-weight: 500;
  border-radius: 12px; transition: color .15s;
}
.nav-item .ic { width: 22px; height: 22px; }
.nav-item.on { color: var(--c-primary); font-weight: 700; }

/* ============ 通用卡片 / 标题 ============ */
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; margin-bottom: 14px; }
.card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.card-title { font-weight: 700; font-size: 15.5px; display: flex; align-items: center; gap: 6px; }
.card-title .ic { width: 18px; height: 18px; color: var(--c-primary); }
.link { color: var(--c-primary); font-size: 13px; text-decoration: none; font-weight: 500; }
.page-title { font-size: 21px; font-weight: 800; margin-bottom: 14px; }
.top-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.top-bar .page-title { margin: 0; }

.row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--c-line); text-decoration: none; }
.row:last-child { border-bottom: none; }
.row-ic { color: #D8C6AE; }
.row-main { flex: 1; min-width: 0; }
.row-title { font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row-sub { font-size: 12px; color: var(--c-sub); margin-top: 2px; }

.empty { text-align: center; padding: 26px 10px; color: var(--c-sub); font-size: 13px; }
.empty .ic { width: 32px; height: 32px; opacity: .5; margin-bottom: 6px; }

.hint-line { display: flex; gap: 6px; align-items: center; font-size: 12.5px; color: var(--c-sub); padding: 8px 0 2px; }
.hint-line .ic { width: 15px; height: 15px; }
.hint-line.warn { color: var(--c-orange); }

/* ============ 按钮（胶囊圆角） ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  border: none; border-radius: 999px; padding: 12px 20px; font-size: 15px; font-weight: 600;
  background: #F4E9D7; color: var(--c-text); transition: opacity .15s, transform .15s;
}
.btn:active { opacity: .8; transform: scale(.98); }
.btn .ic { width: 17px; height: 17px; }
.btn-primary { background: linear-gradient(135deg, var(--c-grad-a), var(--c-grad-b)); color: #fff; box-shadow: 0 6px 16px rgba(255, 126, 95, .35); }
.btn-ghost { background: transparent; border: 1.5px solid var(--c-line); color: var(--c-sub); }
.btn-block { width: 100%; }
.btn-sm { padding: 8px 14px; font-size: 13px; }

/* 弹窗里的操作行 / 分隔线 */
.act-row { display: flex; gap: 10px; margin-bottom: 14px; }
.act-row .btn { flex: 1; }
.form-divider { height: 1px; background: var(--c-line); margin: 16px 0; }

/* ============ 表单 ============ */
.field { margin-bottom: 14px; }
.field > label { display: flex; align-items: center; gap: 5px; font-size: 13px; color: var(--c-sub); margin-bottom: 7px; font-weight: 500; }
.field > label .ic { width: 15px; height: 15px; }
.input, .textarea {
  width: 100%; border: 1.5px solid var(--c-line); border-radius: 14px;
  padding: 11px 14px; font-size: 14px; background: #FFFEFB; font-family: inherit; color: var(--c-text);
}
.input:focus, .textarea:focus { outline: none; border-color: var(--c-primary); background: #fff; }
.textarea { resize: vertical; min-height: 74px; line-height: 1.55; }

.chip-btn {
  display: inline-flex; align-items: center; gap: 5px; padding: 8px 12px;
  border-radius: 999px; border: 1.5px solid var(--c-line); background: #FFFEFB;
  font-size: 13px; color: var(--c-sub); margin: 0 8px 8px 0;
}
.chip-btn .ic { width: 16px; height: 16px; }
.chip-btn.on { border-color: var(--c-primary); color: var(--c-primary); background: var(--c-primary-bg); font-weight: 600; }

/* ============ 状态章 ============ */
.chip { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; padding: 3px 9px; border-radius: 999px; font-weight: 600; white-space: nowrap; }
.chip .ic { width: 12px; height: 12px; }
.st-pending { background: var(--c-blue-bg); color: var(--c-blue); }
.st-submitted { background: var(--c-orange-bg); color: var(--c-orange); }
.st-graded { background: var(--c-green-bg); color: var(--c-green); }
.st-overdue { background: var(--c-red-bg); color: var(--c-red); }
.st-grey { background: #F1E9DB; color: #A79A8B; }
.chip.rq { background: #F7EFE2; color: #8C7B67; font-weight: 500; }

/* ============ 分段筛选 ============ */
.seg { display: flex; background: #F4E9D7; border-radius: 999px; padding: 3px; gap: 2px; overflow-x: auto; margin-bottom: 14px; }
.seg-btn { flex: 1; border: none; background: transparent; padding: 7px 8px; border-radius: 999px; font-size: 12.5px; color: var(--c-sub); white-space: nowrap; }
.seg-btn.on { background: #fff; color: var(--c-text); font-weight: 700; box-shadow: 0 2px 6px rgba(120, 90, 50, .12); }

/* ============ 首页 Hero（珊瑚渐变 + 泡泡） ============ */
.hero {
  background:
    radial-gradient(circle at 84% 22%, rgba(255, 255, 255, .22) 0 10px, transparent 11px),
    radial-gradient(circle at 92% 44%, rgba(255, 255, 255, .18) 0 16px, transparent 17px),
    radial-gradient(circle at 10% 82%, rgba(255, 255, 255, .16) 0 12px, transparent 13px),
    radial-gradient(circle at 20% 8%, rgba(255, 255, 255, .18) 0 8px, transparent 9px),
    linear-gradient(135deg, var(--c-grad-a), var(--c-grad-b));
  border-radius: 26px; color: #fff; padding: 20px; margin-bottom: 14px;
  box-shadow: 0 10px 30px rgba(255, 138, 95, .35);
}
.hero-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.hero-hi { font-size: 19px; font-weight: 800; }
.hero-sub { display: flex; align-items: center; gap: 4px; font-size: 13px; opacity: .92; margin-top: 4px; }
.hero-sub .ic { width: 13px; height: 13px; color: var(--c-star); }
.hero-stats { display: grid; grid-template-columns: 1fr 1fr 1fr; margin-top: 16px; background: rgba(255, 255, 255, .2); border-radius: 16px; padding: 10px 0; }
.hero-stat { text-align: center; color: #fff; text-decoration: none; }
.hs-num { font-size: 20px; font-weight: 800; }
.hs-num small { font-size: 12px; font-weight: 500; opacity: .85; }
.hs-label { font-size: 11px; opacity: .88; margin-top: 1px; }

.cta {
  display: flex; align-items: center; gap: 10px; color: #fff; border-radius: 999px;
  padding: 14px 18px; margin-bottom: 14px; font-weight: 700; font-size: 14.5px;
  background: linear-gradient(135deg, #3EC0B8, #1FA096); box-shadow: 0 8px 20px rgba(43, 168, 160, .3);
  text-decoration: none;
}
.cta .ic { width: 22px; height: 22px; }
.cta .chev { margin-left: auto; opacity: .85; display: flex; }
.cta.done { background: linear-gradient(135deg, #3ECB84, #2FB86B); box-shadow: 0 8px 20px rgba(47, 184, 107, .25); cursor: default; }

/* ============ 统计卡 ============ */
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.stat { background: #fff; border-radius: 18px; padding: 14px; box-shadow: var(--shadow); }
.stat-num { font-size: 22px; font-weight: 800; }
.stat-num small { font-size: 13px; color: var(--c-sub); font-weight: 500; }
.stat-label { font-size: 12px; color: var(--c-sub); margin-top: 2px; }

/* ============ 列表卡片（作业） ============ */
.list-card { display: block; text-decoration: none; color: inherit; }
.lc-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.lc-title { font-size: 15px; font-weight: 700; line-height: 1.4; }
.lc-sub { font-size: 12.5px; color: var(--c-sub); margin-top: 6px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.lc-chips { margin-top: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.assign-content { background: #FBF4E8; border-radius: 14px; padding: 12px; font-size: 13.5px; line-height: 1.7; color: #6B5D4F; margin-top: 12px; white-space: pre-wrap; }

/* ============ 星星 ============ */
.stars { display: inline-flex; gap: 2px; color: var(--c-star); vertical-align: middle; }
.stars .ic { width: 16px; height: 16px; }
.stars .off { color: #EFE2CC; }
.stars.big .ic { width: 24px; height: 24px; }
.star-input { display: flex; gap: 8px; margin: 6px 0 4px; }
.star-input button { background: none; border: none; padding: 2px; color: #E7D9C0; }
.star-input button .ic { width: 30px; height: 30px; }
.star-input button.on { color: var(--c-star); }

/* ============ 头像 ============ */
.avatar {
  width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; color: #fff; font-weight: 700; font-size: 15px; flex: none;
}
.avatar.lg { width: 48px; height: 48px; font-size: 18px; }

/* ============ 日历 ============ */
.cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.cal-title { font-weight: 700; font-size: 14px; }
.cal-nav { width: 30px; height: 30px; border: none; background: #F7EFE2; border-radius: 999px; font-size: 16px; color: var(--c-sub); }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-wd { text-align: center; font-size: 11px; color: var(--c-sub); padding: 4px 0; font-weight: 500; }
.cal-day { aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 12px; font-size: 13px; gap: 2px; }
.cal-day .dot { width: 5px; height: 5px; border-radius: 50%; background: transparent; }
.cal-day.on { background: var(--c-primary-bg); color: var(--c-primary); font-weight: 700; }
.cal-day.on .dot { background: var(--c-primary); }
.cal-day.today { outline: 1.5px dashed var(--c-primary); }
.cal-day.future { color: #DAC9B2; }
.cal-day.blank { visibility: hidden; }
.streak-total { font-size: 12px; color: var(--c-sub); }
.flame { color: #FF7A1A; display: inline-flex; }
.flame .ic { width: 17px; height: 17px; }

/* ============ 趋势图 ============ */
.trend { display: flex; gap: 8px; align-items: flex-end; height: 110px; padding-top: 18px; }
.tb { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 5px; height: 100%; justify-content: flex-end; }
.tb-bar { width: 100%; max-width: 26px; background: linear-gradient(180deg, var(--c-grad-a), var(--c-grad-b)); border-radius: 8px 8px 4px 4px; position: relative; min-height: 4px; }
.tb-bar span { position: absolute; top: -17px; left: 50%; transform: translateX(-50%); font-size: 10.5px; color: var(--c-sub); }
.tb-label { font-size: 10.5px; color: var(--c-sub); }

/* ============ 录音 ============ */
.rec-box { border: 1.5px dashed #EFD3AE; border-radius: 18px; padding: 16px; text-align: center; background: #FFFBF4; }
.rec-btn {
  width: 58px; height: 58px; border-radius: 50%; border: none; color: #fff;
  background: linear-gradient(135deg, var(--c-grad-a), var(--c-grad-b));
  box-shadow: 0 8px 18px rgba(255, 126, 95, .4); margin-bottom: 8px;
}
.rec-btn .ic { width: 24px; height: 24px; }
.rec-tip { font-size: 12.5px; color: var(--c-sub); }
.rec-alt { display: inline-block; margin-top: 10px; font-size: 12px; color: var(--c-primary); text-decoration: underline; cursor: pointer; }
.rec-live { display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--c-red); font-weight: 700; font-size: 15px; }
.rec-dot { width: 10px; height: 10px; background: var(--c-red); border-radius: 50%; animation: pulse 1.2s infinite; }
.rec-done-tip { font-size: 12px; color: var(--c-sub); margin: 8px 0 10px; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.75); } }
.audio { width: 100%; height: 40px; margin-top: 8px; }

/* ============ 照片 ============ */
.thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.thumb { position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--c-bg); }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; cursor: zoom-in; }
.thumb .rm {
  position: absolute; top: 6px; right: 6px; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(0, 0, 0, .55); color: #fff; border: none; display: flex; align-items: center; justify-content: center;
}
.thumb .rm .ic { width: 13px; height: 13px; }
.thumb-add {
  border: 1.5px dashed #EFD3AE; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 4px; color: #C4B29A; font-size: 11.5px; cursor: pointer; background: #FFFBF4;
}
.thumb-add .ic { width: 20px; height: 20px; }

/* ============ 批改结果 ============ */
.graded { background: var(--c-green-bg); border-radius: 16px; padding: 12px; margin-top: 12px; }
.graded-fb { font-size: 13.5px; color: #2F7B4C; margin-top: 5px; line-height: 1.55; }
.quote { background: #FBF4E8; border-left: 3px solid var(--c-primary); border-radius: 10px; padding: 10px 12px; font-size: 13.5px; color: #6B5D4F; white-space: pre-wrap; margin: 10px 0; }

/* ============ 排行榜（水世界） ============ */
.rank-row { display: flex; align-items: center; gap: 12px; padding: 11px 8px; border-bottom: 1px solid var(--c-line); }
.rank-row:last-child { border-bottom: none; }
.rank-no { width: 24px; text-align: center; font-weight: 800; color: var(--c-sub); font-size: 14px; }
.rank-row.me { background: var(--c-blue-bg); border-radius: 14px; }
.rank-pts { display: flex; align-items: center; gap: 3px; font-weight: 700; font-size: 14px; color: var(--c-orange); }
.rank-pts .ic { width: 14px; height: 14px; color: var(--c-star); }
.podium { display: flex; align-items: flex-end; gap: 10px; margin: 8px 0 16px; }
.pod { flex: 1; text-align: center; }
.pod-ped { border-radius: 14px 14px 0 0; background: linear-gradient(180deg, #DFF3F1, #F0FAF8); display: flex; align-items: flex-start; justify-content: center; padding-top: 10px; font-weight: 800; font-size: 16px; color: var(--c-blue); }
.pod-name { font-size: 12px; color: var(--c-sub); margin-top: 6px; }
.pod-avatar { margin: 0 auto 6px; }

/* ============ 进度条 ============ */
.pbar { height: 8px; background: #F4E9D7; border-radius: 99px; overflow: hidden; }
.pbar i { display: block; height: 100%; background: linear-gradient(90deg, var(--c-grad-a), var(--c-grad-b)); border-radius: 99px; }

/* ============ 弹窗 ============ */
.modal-backdrop { position: fixed; inset: 0; background: rgba(74, 58, 42, .45); z-index: 100; display: flex; align-items: flex-end; justify-content: center; animation: fade .18s; }
.modal-wrap { width: 100%; max-width: 560px; max-height: 88dvh; overflow: auto; background: #fff; border-radius: 26px 26px 0 0; animation: up .22s; }
@media (min-width: 600px) {
  .modal-backdrop { align-items: center; padding: 20px; }
  .modal-wrap { border-radius: 24px; max-width: 500px; }
}
.sheet-head { position: sticky; top: 0; background: #fff; padding: 15px 18px; border-bottom: 1px solid var(--c-line); display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 15.5px; z-index: 2; }
.sheet-body { padding: 16px 18px; }
.sheet-foot { padding: 12px 18px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--c-line); position: sticky; bottom: 0; background: #fff; }
.icon-btn { border: none; background: #F7EFE2; width: 30px; height: 30px; border-radius: 999px; color: var(--c-sub); display: flex; align-items: center; justify-content: center; }
.icon-btn .ic { width: 15px; height: 15px; }
.icon-btn.danger { background: var(--c-red-bg); color: var(--c-red); }
.confirm-box { padding: 24px 20px; }
.confirm-text { font-size: 14.5px; line-height: 1.6; margin-bottom: 18px; }
.confirm-btns { display: flex; gap: 10px; }
.confirm-btns .btn { flex: 1; }
.full-img { width: 100%; display: block; border-radius: 14px 14px 0 0; }

/* ============ 提示 Toast ============ */
.toast {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: 96px;
  background: rgba(74, 63, 53, .93); color: #fff; padding: 10px 18px; border-radius: 999px;
  font-size: 13.5px; z-index: 200; animation: up .2s; max-width: 82%; text-align: center; line-height: 1.5;
}
.toast.err { background: rgba(220, 70, 85, .95); }
.toast.out { opacity: 0; transition: opacity .3s; }

/* ============ 加载 ============ */
.loading { display: flex; justify-content: center; padding: 70px 0; }
.spinner { width: 34px; height: 34px; border: 3.5px solid #EFE2CC; border-top-color: var(--c-primary); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fade { from { opacity: 0; } }
@keyframes up { from { transform: translateY(14px); opacity: 0; } }

/* ============ 登录页 ============ */
.login-wrap { padding: 48px 22px 30px; }
.login-logo {
  width: 96px; height: 96px; display: block; margin: 0 auto 12px; border-radius: 50%;
  box-shadow: 0 14px 30px rgba(255, 143, 100, .32);
  animation: bob 3s ease-in-out infinite;
}
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.login-title { text-align: center; font-size: 26px; font-weight: 800; letter-spacing: .5px; }
.login-sub { text-align: center; color: var(--c-sub); margin-top: 5px; font-size: 13px; }
.login-foot { text-align: center; margin-top: 20px; font-size: 12px; color: #C4B29A; line-height: 1.7; }
.login-foot a { color: var(--c-sub); text-decoration: underline; cursor: pointer; }

/* ============ 公开品牌页 ============ */
.brand-hero {
  background: linear-gradient(160deg, #FFE3D9 0%, #FFD7E5 50%, #C8E7FF 100%);
  padding: 36px 22px 28px;
  text-align: center;
  border-bottom-left-radius: 28px;
  border-bottom-right-radius: 28px;
  margin: -16px -16px 16px;
}
.brand-logo {
  width: 88px; height: 88px; border-radius: 50%; margin: 0 auto 14px;
  box-shadow: 0 12px 24px rgba(255, 143, 100, .28);
  background: #fff; padding: 6px;
}
.brand-hero h1 { font-size: 26px; font-weight: 800; color: #5D3A2E; margin: 0; letter-spacing: .5px; }
.brand-hero .subtitle { color: #7A4F3E; margin-top: 8px; font-size: 14.5px; font-weight: 600; }
.brand-hero .tagline { color: #A06A57; margin-top: 4px; font-size: 12.5px; }
.brand-cta { display: flex; gap: 10px; justify-content: center; margin-top: 18px; flex-wrap: wrap; }
.brand-cta .btn { padding: 11px 18px; font-size: 14px; }
.brand-section {
  background: #fff; border-radius: 18px; padding: 18px; margin-bottom: 14px;
  box-shadow: 0 4px 12px rgba(180, 140, 100, .08);
}
.brand-section h2 { font-size: 17px; font-weight: 800; color: #5D3A2E; margin-bottom: 12px; }
.brand-section .prose p { line-height: 1.7; color: #5C5147; font-size: 14px; margin-bottom: 8px; }
.teacher-card { display: flex; gap: 14px; align-items: flex-start; }
.teacher-photo {
  width: 72px; height: 72px; border-radius: 50%; background: #FFD7E5;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  font-size: 32px; color: #D47A8A;
}
.teacher-body p { color: #5C5147; line-height: 1.7; font-size: 14px; }

.course-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.course-card {
  background: var(--cover, #FFD7E5); border-radius: 14px; padding: 14px;
  display: flex; flex-direction: column; gap: 8px; min-height: 140px;
}
.course-cover {
  width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.7);
  display: flex; align-items: center; justify-content: center; color: #5D3A2E;
}
.course-card h3 { font-size: 15px; font-weight: 800; color: #5D3A2E; line-height: 1.3; }
.course-card .meta { font-size: 11.5px; color: #7A4F3E; }
.course-card .desc { font-size: 12.5px; color: #5C5147; line-height: 1.5; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.course-foot { display: flex; justify-content: space-between; align-items: center; font-size: 12px; }
.course-foot .price { font-weight: 800; color: #D47A8A; font-size: 14px; }

.work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.work-card {
  background: #FFF9F4; border-radius: 14px; padding: 14px;
  border: 1px dashed #F0D9C5;
}
.work-card h3 { font-size: 14.5px; font-weight: 700; color: #5D3A2E; margin-bottom: 4px; }
.work-card .meta { font-size: 12px; color: #A06A57; margin-bottom: 6px; }
.work-card .desc { font-size: 12.5px; color: #5C5147; line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.work-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.work-kind { font-size: 11px; padding: 2px 8px; border-radius: 10px; background: rgba(255, 215, 229, .7); color: #D47A8A; }

.trial-card { background: #FFF9F4; border-radius: 14px; padding: 16px; margin-top: 14px; border: 1px solid #F0E5D5; }
.trial-form .form-row { display: flex; gap: 10px; }
.trial-form .form-row label { flex: 1; }
.trial-form label { display: block; font-size: 13px; color: var(--c-sub); margin-bottom: 12px; font-weight: 600; }
.trial-form input, .trial-form select { width: 100%; padding: 11px 12px; border: 1.5px solid var(--c-line); border-radius: 10px; background: #fff; font-size: 14px; box-sizing: border-box; }
.trial-form input:focus, .trial-form select:focus { outline: none; border-color: var(--c-primary); }
.trial-form .hint { font-size: 11.5px; color: var(--c-sub); margin-top: 8px; text-align: center; }
.contact-line { text-align: center; font-size: 13px; color: var(--c-sub); margin-top: 12px; font-weight: 600; }
.brand-footer { text-align: center; padding: 18px 0 8px; color: var(--c-sub); font-size: 12.5px; }
.brand-footer .muted { margin-top: 6px; }
.brand-footer a { color: var(--c-sub); margin: 0 6px; }

/* ============ 试听跟进卡片 ============ */
.trial-card-link {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  background: linear-gradient(135deg, #FFF3E0 0%, #FFE0D9 100%);
  border-radius: 16px; text-decoration: none; color: inherit;
  border: 1.5px solid #FFD9C2;
}
.trial-card-link .tc-icon {
  width: 40px; height: 40px; border-radius: 50%; background: #FF9F7A;
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: 20px; flex-shrink: 0;
}
.trial-card-link .tc-main { flex: 1; min-width: 0; }
.trial-card-link .tc-title { font-size: 15px; font-weight: 800; color: #5D3A2E; }
.trial-card-link .tc-sub { font-size: 12.5px; color: #A06A57; margin-top: 2px; }
.trial-card-link .chevron { color: #C4B29A; font-size: 24px; }
.trial-row { margin-bottom: 10px; }
.trial-row:last-child { margin-bottom: 0; }

/* ============ 颜色选择器 ============ */
.color-row { display: flex; gap: 8px; align-items: center; }
.color-swatch { width: 28px; height: 28px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1.5px #E5DCC8; cursor: pointer; }
.color-swatch:hover { transform: scale(1.08); }
.color-row input[type="color"] { width: 40px; height: 32px; padding: 0; border: 1px solid var(--c-line); border-radius: 8px; cursor: pointer; }

/* ============ 漏斗图 ============ */
.funnel-row { display: flex; align-items: center; gap: 10px; padding: 6px 0; }
.funnel-label { font-size: 13px; color: var(--c-sub); width: 64px; flex-shrink: 0; }
.funnel-bar { flex: 1; height: 16px; background: #F5EDE0; border-radius: 8px; overflow: hidden; }
.funnel-bar i { display: block; height: 100%; background: linear-gradient(90deg, #FFB199, #FFD7E5); border-radius: 8px; transition: width .3s; }
.funnel-num { font-size: 13px; font-weight: 700; color: #5D3A2E; width: 32px; text-align: right; flex-shrink: 0; }

/* ============ 指标行 ============ */
.metric-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--c-line); font-size: 13.5px; }
.metric-row:last-child { border-bottom: none; }
.metric-row strong { color: #D47A8A; font-size: 15px; }

/* ============ 我的 ============ */
.profile { display: flex; align-items: center; gap: 13px; }
.profile-name { font-size: 17px; font-weight: 800; }
.profile-sub { font-size: 12.5px; color: var(--c-sub); margin-top: 3px; }
.pts-row { display: flex; align-items: center; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--c-line); font-size: 13.5px; }
.pts-row:last-child { border-bottom: none; }
.pts-amt { font-weight: 700; }
.pts-amt.plus { color: var(--c-green); }
.pts-amt.minus { color: var(--c-red); }

/* ============ 辅助 ============ */
.check-row { display: flex; align-items: center; gap: 6px; font-size: 13px; padding: 6px 0; }
.muted.small { font-size: 12.5px; color: var(--c-sub); }
.muted.center { text-align: center; }
a.btn-ghost { text-decoration: none; }
a.btn { text-decoration: none; }
