/* ===== 东晟翼虎 H5 · iOS 风格 ===== */
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

:root {
  --bg: #f2f2f7;
  --card: #ffffff;
  --label: #1c1c1e;
  --sub: #8e8e93;
  --sep: #e5e5ea;
  --accent: #007aff;
  --red: #ff3b30;
}

html, body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "PingFang SC", "Helvetica Neue", sans-serif;
  background: var(--bg);
  color: var(--label);
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 0;
}

/* 顶部品牌横幅：窄长可编辑 Logo 框 */
.brandbar {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  height: 128px;
  background: #1c1c1e;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.brandbar img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}
.brandbar .brand-text {
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 3px;
}

/* 顶部导航：iOS 毛玻璃 */
.navbar {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center;
  background: rgba(249, 249, 249, 0.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 0.5px solid rgba(0,0,0,0.1);
  padding: 10px 16px;
  min-height: 52px;
}
.backbtn {
  background: none; border: none; color: var(--accent);
  font-size: 34px; line-height: 1; width: 28px; padding: 0; cursor: pointer;
}
.backbtn.hidden { display: none; }
.navcenter { flex: 1; text-align: center; }
.navtitle { font-size: 17px; font-weight: 600; letter-spacing: 0.3px; }
.navsub { font-size: 11px; color: var(--sub); margin-top: 1px; }
.navright { width: 28px; }

main { padding: 0 16px 16px; }

/* 顶部滚动字幕：透明背景、仅字体滚动、从右往左 */
.marquee {
  width: 100%; max-width: 480px; margin: 0 auto;
  overflow: hidden; position: relative;
  background: transparent;
  border-bottom: 0.5px solid rgba(0,0,0,0.06);
  height: 36px; line-height: 36px;
}
.marquee-in {
  display: inline-flex; white-space: nowrap; width: max-content;
  color: var(--label); font-size: 13px; letter-spacing: 0.3px;
  animation: marquee-scroll 24s linear infinite;
}
.marquee-in span { padding-right: 48px; }
.marquee-in:hover { animation-play-state: paused; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* 首页主标题（生态教育体口号） */
.hero { padding: 8px 4px 14px; }
.hero-title {
  font-size: 25px; font-weight: 800; letter-spacing: 0.4px; line-height: 1.28; color: var(--label);
}
.hero-sub { font-size: 14px; color: var(--sub); margin-top: 7px; letter-spacing: 0.3px; }

/* iOS 分组卡片 */
.group {
  background: var(--card);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.row {
  display: flex; align-items: center;
  padding: 12px 16px;
  border-bottom: 0.5px solid var(--sep);
  cursor: pointer;
  transition: background 0.15s;
}
.row:last-child { border-bottom: none; }
.row:active { background: #f0f0f3; }
.avatar {
  width: 52px; height: 52px; border-radius: 12px; object-fit: cover;
  flex: 0 0 auto; background: #ececf0;
}
.row-main { flex: 1; margin-left: 12px; min-width: 0; }
.row-title { font-size: 16px; font-weight: 500; }
.row-sub {
  font-size: 13px; color: var(--sub); margin-top: 2px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.days-line {
  font-size: 12px; color: var(--sub); margin-top: 3px;
}
.days-box {
  display: inline-block; min-width: 30px; text-align: center;
  border: 1px solid var(--accent); color: var(--accent);
  border-radius: 8px; padding: 1px 7px; font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.chev { color: #c7c7cc; font-size: 22px; margin-left: 8px; flex: 0 0 auto; }

.empty { text-align: center; color: var(--sub); padding: 36px 16px; font-size: 14px; }

/* 列表顶部固定小文字：首拼排序提示 */
.sort-note {
  font-size: 12px; color: var(--sub);
  padding: 6px 4px 10px; letter-spacing: 0.3px;
}

/* 项目视频区（项目页置顶） */
.vid-section { margin-top: 6px; margin-bottom: 18px; }
.vid-empty {
  font-size: 13px; color: var(--sub); background: #f3f3f7; border-radius: 12px;
  padding: 18px 14px; text-align: center; line-height: 1.5;
}
/* 详情页视频占位：提示后台上传 MP4（不再出现扫码/复制链接） */
.video-empty {
  font-size: 13px; color: var(--sub); background: #f3f3f7; border: 1px dashed #d3d3d8;
  border-radius: 12px; padding: 22px 14px; text-align: center; line-height: 1.6;
}
.vid-head { font-size: 16px; font-weight: 700; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.vid-count {
  font-size: 12px; font-weight: 600; color: #fff; background: var(--accent);
  border-radius: 20px; padding: 1px 9px;
}
.vid-strip { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 6px; -webkit-overflow-scrolling: touch; }
.vid-strip::-webkit-scrollbar { display: none; }
.vid-thumb { flex: 0 0 118px; cursor: pointer; }
.vt-poster {
  width: 118px; height: 74px; border-radius: 12px; position: relative;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 3px 10px rgba(0,0,0,0.12);
}
.vt-play {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,0.92); color: #1c1c1e;
  display: flex; align-items: center; justify-content: center; font-size: 14px;
}
.vt-title { font-size: 12px; color: var(--sub); margin-top: 6px; line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
/* 项目视频条 · 内联播放（MP4 原地播） */
.vid-video {
  width: 118px; height: 74px; border-radius: 12px; object-fit: cover;
  background: #000; box-shadow: 0 3px 10px rgba(0,0,0,0.12); display: block;
}

/* 项目视频 · 模态播放器（占 2/3 屏） */
.vmask {
  position: fixed; inset: 0; z-index: 50;
  background: rgba(0,0,0,0.6);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity 0.25s;
}
.vmask.show { opacity: 1; visibility: visible; }
.vmodal {
  width: 66%; max-width: 320px; background: #1c1c1e;
  border-radius: 18px; overflow: hidden; box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}
.vhead {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 14px; color: #fff; font-size: 15px; font-weight: 600;
}
.vclose {
  background: none; border: none; color: #fff; font-size: 24px; line-height: 1;
  width: 30px; height: 30px; cursor: pointer; opacity: 0.85;
}
.vstage {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  overflow: hidden; background: #000; touch-action: none;
}
.vtrack { display: flex; height: 100%; will-change: transform; }
.vslide { flex: 0 0 100%; height: 100%; }
.vposter {
  width: 100%; height: 100%; position: relative; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.vplay {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(255,255,255,0.92); color: #1c1c1e;
  display: flex; align-items: center; justify-content: center; font-size: 22px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}
.vtitle {
  position: absolute; left: 0; right: 0; bottom: 0;
  color: #fff; font-size: 13px; font-weight: 500;
  padding: 18px 12px 10px;
  background: linear-gradient(transparent, rgba(0,0,0,0.55));
}
/* 非 MP4 占位（提示上传） */
.vposter-empty .vplay { background: rgba(255,255,255,0.85); font-size: 26px; }
.vposter-empty .vsub {
  position: absolute; left: 0; right: 0; bottom: 34px; text-align: center;
  color: #fff; font-size: 12px; padding: 0 12px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}
/* 赛展演弹窗 · MP4 内联播放（原地播、原地关） */
.vposter-video { cursor: default; }
.vslide-video { width: 100%; height: 100%; object-fit: contain; background: #000; display: block; }
.vbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px; color: #fff;
}
.vcount { font-size: 13px; color: #c7c7cc; font-variant-numeric: tabular-nums; }
.vdots { display: flex; gap: 6px; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: #555; transition: all 0.2s; }
.dot.on { background: #fff; width: 16px; border-radius: 3px; }

/* 详情页 */
.back-link {
  background: none; border: none; color: var(--accent);
  font-size: 16px; padding: 6px 0 10px; cursor: pointer; display: block;
}
.detail { background: var(--card); border-radius: 16px; padding: 16px; }
.detail-img, .detail video {
  width: 100%; border-radius: 14px; display: block; object-fit: cover; max-height: 320px; background: #ececf0;
}
.detail h2 { font-size: 24px; font-weight: 700; margin: 14px 0 8px; }
.ach {
  background: #fff8e6; color: #b8860b;
  border-radius: 10px; padding: 10px 12px; font-size: 14px; font-weight: 600; margin-bottom: 8px;
}
.belong { font-size: 13px; color: var(--sub); margin-bottom: 12px; }
.intro { font-size: 15px; line-height: 1.7; color: #3a3a3c; }
.section { margin-top: 16px; }
.section-h { font-size: 14px; font-weight: 600; color: var(--label); margin-bottom: 8px; }
.detail-video { width: 100%; border-radius: 14px; display: block; background: #000; max-height: 360px; }
.video-card {
  display: flex; align-items: center; gap: 12px;
  background: #1c1c1e; color: #fff; border-radius: 14px;
  padding: 14px 16px; text-decoration: none; cursor: pointer;
}
.vc-play {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--accent); color: #fff; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center; font-size: 16px;
}
.vc-text { display: flex; flex-direction: column; min-width: 0; }
.vc-text b { font-size: 15px; font-weight: 600; }
.vc-text i { font-style: normal; font-size: 12px; color: #c7c7cc; margin-top: 2px; }
.share-tip {
  margin-top: 18px; text-align: center; font-size: 12px; color: var(--accent);
  background: #eaf3ff; border-radius: 10px; padding: 10px;
}

/* 分享 / 点赞 行动条（视频号风格 · 右下角 · 简洁有质感） */
.engage {
  display: flex; align-items: center; justify-content: flex-end; gap: 22px;
  margin-top: 14px; padding-top: 12px; border-top: 0.5px solid var(--sep);
}
.egg {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: none; padding: 2px; margin: 0; cursor: pointer;
  color: var(--sub); font-size: 13px; line-height: 1;
  -webkit-tap-highlight-color: transparent; transition: transform .12s ease;
}
.egg:active { transform: scale(0.9); }
.egg-ic {
  width: 22px; height: 22px; flex: none;
  transition: fill .15s ease, stroke .15s ease, transform .12s ease;
}
.egg-share .egg-ic { fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.egg-like .egg-ic { fill: #c9c9d0; stroke: none; }
.egg-comment .egg-ic { fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.egg-n { font-variant-numeric: tabular-nums; min-width: 10px; text-align: left; font-weight: 500; }

/* 评论弹层（仿视频号评论区） */
.cmt-mask {
  position: fixed; inset: 0; z-index: 60; background: rgba(0,0,0,0.42);
  display: flex; align-items: flex-end; justify-content: center; animation: cmtFade .18s ease;
}
@keyframes cmtFade { from { opacity: 0; } to { opacity: 1; } }
.cmt-box {
  width: 100%; max-width: 520px; background: #fff; border-radius: 16px 16px 0 0;
  max-height: 76vh; display: flex; flex-direction: column; overflow: hidden;
}
.cmt-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; font-size: 15px; font-weight: 600; color: var(--text);
  border-bottom: 0.5px solid var(--sep);
}
.cmt-close { background: none; border: none; font-size: 22px; line-height: 1; color: var(--sub); cursor: pointer; }
.cmt-list { flex: 1; overflow-y: auto; padding: 12px 16px; min-height: 120px; }
.cmt-loading, .cmt-empty { color: var(--sub); font-size: 13px; text-align: center; padding: 26px 0; }
.crp-item { padding: 10px 0; border-bottom: 0.5px solid var(--sep); }
.cmt-item { padding: 10px 0; border-bottom: 0.5px solid var(--sep); }
.cmt-item:last-child { border-bottom: none; }
.cmt-meta { display: flex; align-items: baseline; gap: 8px; font-size: 13px; }
.cmt-meta b { color: var(--accent); font-weight: 600; }
.cmt-meta span { color: var(--sub); font-size: 11px; }
.cmt-c { color: var(--text); font-size: 14px; line-height: 1.5; margin-top: 3px; word-break: break-word; }
.cmt-form { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 16px; border-top: 0.5px solid var(--sep); background: #fafafd; }
.cmt-name { flex: 0 0 38%; min-width: 110px; border: 1px solid var(--sep); border-radius: 10px; padding: 9px 10px; font-size: 13px; }
.cmt-text { flex: 1 1 100%; min-height: 56px; resize: none; border: 1px solid var(--sep); border-radius: 10px; padding: 9px 10px; font-size: 14px; font-family: inherit; }
.cmt-send { margin-left: auto; background: var(--accent); color: #fff; border: none; border-radius: 10px; padding: 9px 20px; font-size: 14px; font-weight: 600; }
.cmt-send:disabled { opacity: .6; }
.egg-like.is-on { color: #ff4d4f; }
.egg-like.is-on .egg-ic { fill: #ff4d4f; stroke: none; }
@keyframes eggPop { 0% { transform: scale(1); } 42% { transform: scale(1.32); } 100% { transform: scale(1); } }
.egg-like.pop .egg-ic { animation: eggPop .36s ease; }
.students-link {
  display: block; width: 100%; margin-top: 14px; cursor: pointer;
  background: var(--accent); color: #fff; border: none; border-radius: 12px;
  padding: 13px; font-size: 15px; font-weight: 600;
}
.students-link:active { background: #0066d6; }

/* 优秀学员列表卡片：头像行 + 行动条（与项目卡片一致，补全「状态与样式」） */
.stu-card { margin-bottom: 12px; cursor: pointer; transition: background .15s; }
.stu-card:active { background: #f0f0f3; }
.stu-row { border-bottom: none; padding: 14px 16px 6px; }
.stu-card .engage { margin-top: 0; padding: 10px 16px 12px; }

.foot {
  text-align: center; font-size: 12px; color: var(--sub);
  padding: 18px 0 104px;
}

/* 一级：横图卡片 */
.cards { display: flex; flex-direction: column; gap: 14px; }
.sub-card {
  background: var(--card); border-radius: 16px; overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06); cursor: pointer; transition: transform 0.12s;
}
.sub-card:active { transform: scale(0.985); }
.sub-img { width: 100%; height: 160px; object-fit: cover; display: block; background: #ececf0; }
.sub-body { padding: 14px 16px 16px; }
.sub-name { font-size: 19px; font-weight: 700; }
.sub-desc { font-size: 13px; color: var(--sub); margin-top: 4px; line-height: 1.5; }
.sub-meta { font-size: 13px; color: var(--accent); margin-top: 10px; font-weight: 500; }

/* 界面切换（苹果风 push/pop） */
@keyframes viewPush { from { opacity: 0; transform: translateX(22px); } to { opacity: 1; transform: translateX(0); } }
@keyframes viewPop  { from { opacity: 0; transform: translateX(-22px); } to { opacity: 1; transform: translateX(0); } }
#app.app-push { animation: viewPush 0.34s cubic-bezier(0.32, 0.72, 0, 1); }
#app.app-pop  { animation: viewPop 0.34s cubic-bezier(0.32, 0.72, 0, 1); }

/* 底部导航栏：三按钮等分 · 深色玻璃 tabbar（与顶部品牌条呼应） */
.bottombar {
  position: fixed; bottom: 0; left: 0; right: 0; max-width: 480px; margin: 0 auto;
  display: flex; align-items: stretch; gap: 10px;
  padding: 9px 14px calc(9px + env(safe-area-inset-bottom));
  z-index: 25;
  background: rgba(26,26,29,0.92);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-top: 0.5px solid rgba(255,255,255,0.10);
}
.bb-left, .bb-center, .bb-right {
  flex: 1 1 0; min-width: 0;
  display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 6px;
  border: none; cursor: pointer; font-family: inherit;
  height: 52px; border-radius: 15px;
  font-size: 14px;
  transition: transform 0.12s, background 0.2s, box-shadow 0.2s;
}
.bb-left, .bb-right {
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.82);
  font-weight: 600; letter-spacing: 0.3px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.10);
}
.bb-left svg, .bb-right svg { opacity: 0.85; }
.bb-left:active, .bb-right:active {
  transform: scale(0.97);
  background: rgba(255,255,255,0.12);
}
/* 主 CTA：预约试课 · 柔和琥珀金（克制不刺眼，仍最突出） */
.bb-center {
  background: linear-gradient(135deg, #F0B24A, #E08A2B);
  color: #3a2706;
  font-size: 15px; font-weight: 800; letter-spacing: 0.5px;
  box-shadow: 0 8px 22px rgba(224,138,43,0.40);
}
.bb-center:active { transform: scale(0.97); box-shadow: 0 4px 14px rgba(224,138,43,0.34); }
.bb-center svg { opacity: 0.95; }

/* 首屏加载态 */
.loading { text-align: center; padding: 96px 24px; color: var(--sub); font-size: 14px; line-height: 1.6; }
.loading .spinner {
  width: 38px; height: 38px; margin: 0 auto 16px;
  border: 3px solid #e3e3e8; border-top-color: var(--accent);
  border-radius: 50%; animation: spin 0.8s linear infinite;
}
.loading .lerr { color: var(--red); font-size: 16px; font-weight: 600; margin-bottom: 6px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* 留资弹窗：门店下拉 */
.lsel {
  width: 100%; padding: 12px; border: 1px solid #e5e5ea; border-radius: 12px;
  font-size: 16px; outline: none; background: #fff; color: #1c1c1e;
  -webkit-appearance: none; appearance: none;
}
.lsel:focus { border-color: #FF3B30; }

/* 校区弹窗 */
.sheet-mask {
  position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 40;
  opacity: 0; visibility: hidden; transition: opacity 0.25s;
}
.sheet-mask.show { opacity: 1; visibility: visible; }
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; max-width: 480px; margin: 0 auto;
  background: #f7f7f9; border-radius: 18px 18px 0 0; z-index: 41;
  transform: translateY(100%); transition: transform 0.3s cubic-bezier(0.32,0.72,0,1);
  padding: 8px 16px calc(20px + env(safe-area-inset-bottom)); max-height: 75vh; overflow-y: auto;
}
.sheet.show { transform: translateY(0); }
.sheet-handle { width: 36px; height: 5px; border-radius: 3px; background: #c7c7cc; margin: 8px auto 10px; }
.sheet-title { text-align: center; font-size: 17px; font-weight: 700; }
.sheet-sub { text-align: center; font-size: 12px; color: var(--sub); margin: 3px 0 12px; }
.campus-row {
  display: flex; align-items: center; background: #fff; border-radius: 14px;
  padding: 12px 14px; margin-bottom: 10px;
}
.campus-info { flex: 1; min-width: 0; }
.campus-name { font-size: 16px; font-weight: 600; }
.campus-addr { font-size: 12px; color: var(--sub); margin-top: 2px; line-height: 1.4; }
.campus-acts { display: flex; gap: 8px; flex: 0 0 auto; margin-left: 10px; }
.cbtn {
  border: none; border-radius: 10px; padding: 9px 14px; font-size: 14px; font-weight: 600; cursor: pointer;
}
.cbtn.nav { background: var(--accent); color: #fff; }
.cbtn.call { background: #34c759; color: #fff; }
.cbtn.disabled { background: #e3e3e8; color: #aeaeb2; }
.cbtn.lead, .cbtn.scene {
  background: linear-gradient(135deg, #FF8A00, #FF3B30); color: #fff;
  box-shadow: 0 4px 12px rgba(255,59,48,0.28);
}
.cbtn.lead:active, .cbtn.scene:active { transform: scale(0.96); }

/* 留咨试课 · 留资弹窗 */
.lmask {
  position: fixed; inset: 0; z-index: 55;
  background: rgba(0,0,0,0.5);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity 0.22s;
}
.lmask.show { opacity: 1; visibility: visible; }
.lmodal {
  width: 86%; max-width: 340px; background: #fff; border-radius: 18px;
  padding: 18px 18px 20px; box-shadow: 0 14px 44px rgba(0,0,0,0.32);
}
.lhead { display: flex; align-items: center; justify-content: space-between; }
.lhead span { font-size: 18px; font-weight: 700; color: #1c1c1e; }
.lclose { background: none; border: none; color: #8e8e93; font-size: 26px; line-height: 1; width: 30px; height: 30px; cursor: pointer; }
.lsub { font-size: 13px; color: #8e8e93; margin: 4px 0 14px; }
.lsub b { color: #FF3B30; }
.lmodal label { display: block; font-size: 13px; color: #3a3a3c; margin: 10px 0 5px; }
.lmodal input {
  width: 100%; padding: 12px 12px; border: 1px solid #e5e5ea; border-radius: 12px;
  font-size: 16px; outline: none; -webkit-appearance: none;
}
.lmodal input:focus { border-color: #FF3B30; }
.lsubmit {
  width: 100%; margin-top: 16px; border: none; border-radius: 13px; padding: 14px;
  font-size: 16px; font-weight: 700; color: #fff; cursor: pointer;
  background: linear-gradient(135deg, #FF8A00, #FF3B30);
  box-shadow: 0 8px 20px rgba(255,59,48,0.30);
}
.lsubmit:active { transform: scale(0.98); }
.lmsg { color: #FF3B30; font-size: 13px; min-height: 16px; margin-top: 8px; }
.ltip { font-size: 11px; color: #aeaeb2; margin-top: 10px; line-height: 1.4; }
.lagree { display: flex; align-items: flex-start; gap: 6px; font-size: 12px; color: #3a3a3c; margin: 12px 0 4px; line-height: 1.45; cursor: pointer; }
.lagree input { margin-top: 2px; width: 15px; height: 15px; flex: 0 0 auto; accent-color: #FF3B30; }
.lagree a { color: #FF3B30; text-decoration: none; }
.lpol { max-height: 60vh; overflow-y: auto; padding: 4px 2px; }
.lpol p { font-size: 13px; color: #3a3a3c; line-height: 1.6; margin: 8px 0; }
.lpol b { color: #1c1c1e; }
.lpol-note { color: #8e8e93 !important; font-size: 12px !important; }

/* 轻提示 */
.toast {
  position: fixed; left: 50%; bottom: 92px; transform: translateX(-50%) translateY(10px);
  background: rgba(0,0,0,0.86); color: #fff; font-size: 14px; font-weight: 500;
  padding: 11px 18px; border-radius: 22px; z-index: 60; opacity: 0; visibility: hidden;
  transition: opacity 0.25s, transform 0.25s; max-width: 80%; text-align: center;
}
.toast.show { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }

/* 后台（沿用，保持可读） */
.admin-box { max-width: 420px; margin: 40px auto; padding: 20px; background: #fff; border-radius: 14px; }
.admin-box h2 { margin-bottom: 16px; color: var(--accent); }
.admin-box input, .admin-box select, .admin-box textarea {
  width: 100%; margin-bottom: 10px; padding: 10px; border: 1px solid var(--sep); border-radius: 10px; font-size: 14px;
}
.admin-box label { display: block; font-size: 13px; color: var(--sub); margin: 8px 0 2px; }
.admin-box button { background: var(--accent); color: #fff; border: none; border-radius: 10px; padding: 11px 18px; font-size: 15px; margin: 6px 6px 0 0; }
#msg, #amsg { color: var(--red); font-size: 13px; margin-top: 8px; }

/* ===================== 家长圈（机构内部朋友圈） ===================== */
.mo-wrap { padding: 10px 0 90px; }
.mo-list { display: flex; flex-direction: column; gap: 10px; padding: 0 12px; }
.mo-empty { text-align: center; color: var(--sub); padding: 60px 20px; font-size: 15px; line-height: 1.8; }
.mo-empty small { color: #c7c7cc; font-size: 12px; }
.mo-more { display: block; width: 100%; margin: 14px 0 4px; padding: 12px; border: none; border-radius: 12px; background: #e9e9ee; color: var(--accent); font-size: 14px; font-weight: 600; cursor: pointer; }
.mo-more:disabled { opacity: .6; cursor: default; }
.mo-card { background: var(--card); border-radius: 14px; padding: 12px; display: flex; gap: 10px; box-shadow: 0 1px 4px rgba(0,0,0,.04); }
.mo-avatar { width: 42px; height: 42px; border-radius: 50%; flex: 0 0 auto; object-fit: cover; background: #eee; }
.mo-main { flex: 1; min-width: 0; }
.mo-name { font-size: 15px; font-weight: 600; color: var(--label); display: flex; align-items: center; gap: 6px; }
.mo-tag { font-size: 11px; font-weight: 500; color: var(--accent); background: #e8f1ff; padding: 1px 7px; border-radius: 6px; }
.mo-del { margin-left: auto; font-size: 12px; color: var(--red); font-weight: 400; cursor: pointer; }
.mo-text { font-size: 14px; color: #2c2c2e; line-height: 1.6; margin: 6px 0; white-space: normal; word-break: break-word; }
.mo-media { margin: 6px 0; }
.mo-video { width: 100%; border-radius: 10px; max-height: 320px; background: #000; }
.mo-grid { display: grid; gap: 4px; margin-top: 4px; }
.mo-grid-1 { grid-template-columns: 1fr; max-width: 220px; }
.mo-grid-2, .mo-grid-4 { grid-template-columns: 1fr 1fr; max-width: 240px; }
.mo-grid-3, .mo-grid-5, .mo-grid-6, .mo-grid-7, .mo-grid-8, .mo-grid-9 { grid-template-columns: repeat(3, 1fr); max-width: 300px; }
.mo-img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 6px; background: #eee; }
.mo-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.mo-time { font-size: 12px; color: var(--sub); }
.mo-acts { display: flex; gap: 14px; }
.mo-like, .mo-cmt { background: none; border: none; font-size: 13px; color: var(--sub); cursor: pointer; padding: 2px 0; display: inline-flex; align-items: center; gap: 3px; }
.mo-like.is-on { color: var(--red); font-weight: 600; }
.mo-n { font-size: 12px; }
.mo-likes { background: #f6f6f8; border-radius: 8px; padding: 6px 10px; font-size: 13px; color: #51515a; margin-top: 8px; }
.mo-heart-mini { color: var(--red); margin-right: 4px; }
.mo-comments { margin-top: 6px; font-size: 13px; color: #2c2c2e; }
.mo-citem { padding: 3px 0; line-height: 1.55; word-break: break-word; }
.mo-citem b { color: var(--accent); font-weight: 600; margin-right: 4px; }
.mo-citem .mo-reply { color: var(--sub); }
.mo-citem i { display: block; font-style: normal; font-size: 11px; color: #c7c7cc; margin-top: 1px; }
.mo-cbox { display: flex; gap: 8px; margin-top: 8px; }
.mo-cinput { flex: 1; border: 1px solid var(--sep); border-radius: 18px; padding: 7px 12px; font-size: 13px; outline: none; }
.mo-cinput:focus { border-color: var(--accent); }
.mo-csend { background: var(--accent); color: #fff; border: none; border-radius: 18px; padding: 0 14px; font-size: 13px; }
/* 发动态 FAB */
.mo-fab { position: fixed; right: 16px; bottom: 72px; z-index: 30; background: linear-gradient(135deg,#FFB020,#FF6A00); color: #fff; border: none; border-radius: 24px; padding: 12px 18px; font-size: 15px; font-weight: 600; box-shadow: 0 6px 18px rgba(255,106,0,.4); }
/* 发动态弹层 */
.mo-compose-mask { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 60; display: flex; align-items: flex-end; }
.mo-compose { width: 100%; background: #fff; border-radius: 18px 18px 0 0; padding: 16px; max-height: 88vh; overflow-y: auto; }
.mo-compose-head { font-size: 17px; font-weight: 700; display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.mo-compose-close { background: none; border: none; font-size: 24px; color: var(--sub); line-height: 1; }
.mo-compose-text { width: 100%; min-height: 110px; border: 1px solid var(--sep); border-radius: 12px; padding: 12px; font-size: 15px; font-family: inherit; resize: none; outline: none; }
.mo-compose-imgs { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.mo-thumb { position: relative; width: 72px; height: 72px; border-radius: 8px; overflow: hidden; background: #eee; }
.mo-thumb img, .mo-thumb video { width: 100%; height: 100%; object-fit: cover; }
.mo-thumb-x { position: absolute; top: -6px; right: -6px; width: 20px; height: 20px; border-radius: 50%; background: var(--red); color: #fff; border: none; font-size: 12px; line-height: 20px; padding: 0; }
.mo-compose-tools { display: flex; gap: 10px; align-items: center; margin: 4px 0 14px; flex-wrap: wrap; }
.mo-pick { background: #f2f2f7; color: #1c1c1e; border-radius: 10px; padding: 8px 12px; font-size: 14px; cursor: pointer; }
.mo-campus-sel { flex: 1; min-width: 120px; border: 1px solid var(--sep); border-radius: 10px; padding: 8px; font-size: 14px; }
.mo-compose-send { width: 100%; background: linear-gradient(135deg,#FFB020,#FF6A00); color: #fff; border: none; border-radius: 12px; padding: 13px; font-size: 16px; font-weight: 600; }
/* 图片灯箱 */
.mo-light-mask { position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 80; display: flex; align-items: center; justify-content: center; }
.mo-light-img { max-width: 94vw; max-height: 82vh; border-radius: 6px; }
.mo-light-close { position: absolute; top: 16px; right: 18px; background: none; border: none; color: #fff; font-size: 32px; line-height: 1; }
.mo-light-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.15); color: #fff; border: none; font-size: 30px; width: 44px; height: 44px; border-radius: 50%; }
.mo-light-prev { left: 12px; }
.mo-light-next { right: 12px; }
.mo-light-count { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: #fff; font-size: 13px; }
