
:root{
  --red:#D8382C; --red-d:#B92A20; --red-l:#FDECEA;
  --ink:#1B1E23; --ink-2:#3D444E; --sub:#7C8593; --sub-2:#A2AAB6;
  --line:#ECEEF2; --bg:#F5F6F8; --card:#FFFFFF;
  --gold:#A9762A; --green:#1F8A5B; --green-l:#E9F5EF;
  --blue:#2A6FDB; --blue-l:#EAF1FC;
  --r:14px; --sh:0 1px 2px rgba(22,28,38,.04),0 6px 18px rgba(22,28,38,.05);
  --sb:48px;
}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html,body{margin:0;padding:0}
body{
  font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Helvetica Neue","Microsoft YaHei",sans-serif;
  background:#E9EBEF; color:var(--ink);
  display:flex; align-items:center; justify-content:center; min-height:100vh;
  padding:28px 28px; gap:44px;
}
body::before{
  content:""; position:fixed; inset:0; z-index:0;
  background:
    radial-gradient(900px 500px at 12% -10%, #FFF 0%, rgba(255,255,255,0) 60%),
    radial-gradient(700px 500px at 108% 112%, #F3E7E5 0%, rgba(243,231,229,0) 62%);
  pointer-events:none;
}
/* ---------- 手机壳 ---------- */
.phone{
  position:relative; z-index:1; width:390px; height:844px; flex:0 0 auto;
  background:#0D0F12; border-radius:52px; padding:11px;
  box-shadow:0 40px 80px -24px rgba(20,24,32,.45), 0 0 0 1px rgba(255,255,255,.06) inset;
}
.screenwrap{
  position:relative; width:100%; height:100%; background:var(--bg);
  border-radius:42px; overflow:hidden; display:flex; flex-direction:column;
}
.notch{
  position:absolute; top:27px; left:50%; transform:translateX(-50%);
  width:118px; height:30px; background:#0D0F12; border-radius:18px; z-index:60;
}
/* ---------- 状态栏 ---------- */
.statusbar{
  height:var(--sb); flex:0 0 auto; display:flex; align-items:flex-end; justify-content:space-between;
  padding:0 22px 6px; font-size:13px; font-weight:600; letter-spacing:.2px;
  color:var(--ink); position:relative; z-index:50;
}
.statusbar.on-dark{color:#fff}
.statusbar .r{display:flex; align-items:center; gap:5px}
.bars{display:flex; align-items:flex-end; gap:2px; height:11px}
.bars i{width:3px; background:currentColor; border-radius:1px; display:block}
.bars i:nth-child(1){height:4px}.bars i:nth-child(2){height:6px}
.bars i:nth-child(3){height:8px}.bars i:nth-child(4){height:11px}
.batt{width:24px; height:12px; border:1.4px solid currentColor; border-radius:3.5px; position:relative; opacity:.9}
.batt::after{content:""; position:absolute; right:-3.5px; top:3.5px; width:2px; height:5px; background:currentColor; border-radius:0 1px 1px 0}
.batt::before{content:""; position:absolute; left:1.5px; top:1.5px; bottom:1.5px; width:70%; background:currentColor; border-radius:1.5px}
/* ---------- 导航栏 ---------- */
.nav{
  position:relative; flex:0 0 auto; height:44px;
  display:flex; align-items:center; padding:0 14px; z-index:40;
}
.nav .back{
  width:34px; height:34px; display:grid; place-items:center; margin-left:-4px;
  border-radius:50%; background:rgba(255,255,255,.16); cursor:pointer;
  transition:background .15s;
}
.nav .back:active{background:rgba(0,0,0,.06)}
.nav .back svg{width:18px;height:18px;stroke:var(--ink-2);fill:none;stroke-width:2.1;stroke-linecap:round;stroke-linejoin:round}
.nav.dark .back svg{stroke:#fff}
.nav.dark .back{background:rgba(255,255,255,.18)}
.nav .title{
  position:absolute; left:0; right:0; text-align:center; font-size:16px; font-weight:600;
  pointer-events:none; letter-spacing:.3px;
}
.nav.dark .title{color:#fff}
.nav.solid{background:#fff; box-shadow:0 1px 0 rgba(15,20,28,.07)}
.nav.solid .title{color:var(--ink-2)}
.nav.solid .back{background:#F1F2F5}
.nav.solid .back svg{stroke:var(--ink-2)}
.nav.solid .cap{color:#6F7885; background:rgba(15,20,28,.07)}
.nav .cap{
  margin-left:auto; width:76px; height:30px; border-radius:15px;
  background:rgba(255,255,255,.2); display:grid; place-items:center;
  font-size:12px; color:#fff; letter-spacing:.5px;
}
/* ---------- 页面容器 ---------- */
.body{position:relative; flex:1 1 auto; min-height:0}
.screen{
  position:absolute; inset:0; overflow-y:auto; overflow-x:hidden; z-index:1;
  display:none; flex-direction:column; -webkit-overflow-scrolling:touch;
  background:var(--bg);
}
.screen.immersive{top:calc(-1 * (var(--sb) + 44px))}
.screen > *{flex:0 0 auto}
.screen.on{display:flex; animation:in .2s ease}
@keyframes in{from{opacity:.35; transform:translateX(10px)}to{opacity:1; transform:none}}
.screen::-webkit-scrollbar{width:0}
.pad{padding:0 16px}
.pb{padding-bottom:22px}
/* ---------- 通用 ---------- */
.sec-t{
  display:flex; align-items:baseline; justify-content:space-between;
  margin:22px 0 11px; padding:0 2px;
}
.sec-t h3{margin:0; font-size:16px; font-weight:650; letter-spacing:.2px}
.sec-t span{font-size:12px; color:var(--sub-2)}
.card{background:var(--card); border-radius:var(--r); box-shadow:var(--sh); overflow:hidden}
.row{display:flex; align-items:center; gap:10px}
.mut{color:var(--sub)}
.tiny{font-size:11.5px; color:var(--sub-2)}
.tag{
  display:inline-block; font-size:11px; line-height:1; padding:5px 8px; border-radius:6px;
  background:#F1F2F5; color:var(--sub); font-weight:500; letter-spacing:.2px;
}
.tag.red{background:var(--red-l); color:var(--red)}
.tag.green{background:var(--green-l); color:var(--green)}
.tag.blue{background:var(--blue-l); color:var(--blue)}
.tag.gold{background:#FBF3E3; color:var(--gold)}
.btn{
  height:46px; border-radius:12px; border:0; width:100%; font-size:16px; font-weight:600;
  background:var(--red); color:#fff; cursor:pointer; letter-spacing:.5px;
  font-family:inherit; transition:transform .12s, background .15s;
}
.btn:active{transform:scale(.985); background:var(--red-d)}
.btn.ghost{background:#fff; color:var(--ink-2); box-shadow:inset 0 0 0 1px var(--line)}
.btn:disabled{background:#DDE0E5; color:#fff; cursor:not-allowed}
.btn.sm{height:36px; font-size:13.5px; width:auto; padding:0 16px; border-radius:9px}
[onclick]{cursor:pointer}
.sheet{cursor:auto}
/* ---------- 首页 ---------- */
.hero{
  background:linear-gradient(180deg,#C8302A 0%,#D8382C 55%,#E4563F 100%);
  padding:calc(var(--sb) + 62px) 16px 48px; position:relative; overflow:hidden;
}
.hero::after{
  content:""; position:absolute; width:230px; height:230px; right:-70px; top:-80px;
  background:radial-gradient(circle,rgba(255,255,255,.16),rgba(255,255,255,0) 68%);
}
.hero .brand{display:flex; align-items:center; gap:9px; color:#fff; position:relative; z-index:2}
.hero .brand .logo{
  width:30px;height:30px;border-radius:9px;background:rgba(255,255,255,.18);
  display:grid;place-items:center;font-size:13px;font-weight:700;letter-spacing:0;
}
.hero .brand b{font-size:15.5px; font-weight:600; letter-spacing:.4px}
.hero .brand em{font-size:11px; font-style:normal; opacity:.72; margin-left:2px}
.hero .slogan{color:rgba(255,255,255,.82); font-size:12.5px; margin-top:14px; letter-spacing:.4px; position:relative; z-index:2}
.campus-chip{
  margin-top:16px; display:inline-flex; align-items:center; gap:6px; position:relative; z-index:2;
  background:rgba(255,255,255,.18); border:1px solid rgba(255,255,255,.24);
  padding:7px 12px; border-radius:20px; color:#fff; font-size:13px; cursor:pointer;
  backdrop-filter:blur(4px);
}
.campus-chip svg{width:11px;height:11px;stroke:#fff;fill:none;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;opacity:.9}
/* 公告 */
.notice{
  margin:-34px 16px 0; position:relative; z-index:5; background:#fff; border-radius:12px;
  box-shadow:0 8px 24px -6px rgba(20,25,35,.14); padding:12px 14px; display:flex; gap:10px; align-items:center;
}
.notice .dot{width:7px;height:7px;border-radius:50%;background:var(--red); flex:0 0 auto; box-shadow:0 0 0 3px rgba(216,56,44,.12)}
.notice p{margin:0; font-size:12.5px; color:var(--ink-2); line-height:1.5}
.notice p b{font-weight:600}
/* 四大板块 */
.cats{display:grid; grid-template-columns:1fr 1fr; gap:10px}
.cat{
  background:#fff; border-radius:var(--r); padding:14px; box-shadow:var(--sh); cursor:pointer;
  display:flex; gap:11px; align-items:center; transition:transform .12s; position:relative;
}
.cat:active{transform:scale(.98)}
.cat .ic{
  width:38px;height:38px;border-radius:11px;display:grid;place-items:center; flex:0 0 auto;
}
.cat .ic svg{width:19px;height:19px;stroke-width:1.9;fill:none;stroke-linecap:round;stroke-linejoin:round}
.cat b{display:block; font-size:14px; font-weight:600; letter-spacing:.2px}
.cat span{display:block; font-size:11px; color:var(--sub-2); margin-top:3px}
.cat .cnt{
  position:absolute; right:12px; top:12px; font-size:10.5px; color:var(--sub-2);
  font-variant-numeric:tabular-nums;
}
/* 待缴提醒 */
.todo{
  display:flex; align-items:center; gap:11px; background:#fff; border-radius:var(--r);
  box-shadow:0 0 0 1.5px #F0E2C2, var(--sh); padding:13px 14px; margin-bottom:12px;
}
.todo .ic{width:34px;height:34px;border-radius:10px;background:#FBF3E3;display:grid;place-items:center;flex:0 0 auto}
.todo .ic svg{width:18px;height:18px;stroke:var(--gold);fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.todo .tx{flex:1; min-width:0}
.todo b{display:block; font-size:13.5px; font-weight:600}
.todo span{display:block; font-size:11.5px; color:var(--sub); margin-top:3px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
/* 搜索 */
.search{
  display:flex; align-items:center; gap:8px; height:40px; background:#fff; border-radius:20px;
  padding:0 14px; box-shadow:var(--sh); color:var(--sub-2); font-size:13px; margin-bottom:12px;
}
.search svg{width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;flex:0 0 auto}
.search input{flex:1; min-width:0; border:0; outline:none; background:transparent; font:inherit; color:var(--ink)}
.search input::placeholder{color:var(--sub-2)}
/* ---------- 列表 ---------- */
.filter-bar{
  position:sticky; top:0; z-index:30; background:rgba(245,246,248,.94);
  backdrop-filter:blur(10px); padding:10px 16px 8px; border-bottom:1px solid rgba(0,0,0,.03);
}
.chips{display:flex; gap:7px; overflow-x:auto; scrollbar-width:none; padding-bottom:2px}
.chips::-webkit-scrollbar{display:none}
.chip{
  flex:0 0 auto; padding:7px 13px; border-radius:16px; background:#fff; color:var(--sub);
  font-size:12.5px; cursor:pointer; border:1px solid transparent; transition:.15s; white-space:nowrap;
}
.chip.on{background:var(--ink); color:#fff; border-color:var(--ink)}
.subf{display:flex; align-items:center; justify-content:space-between; margin-top:9px}
.fbtop{display:flex; align-items:center; gap:10px; margin-bottom:9px}
.fbtop .search{flex:1; height:36px; margin:0; box-shadow:none; border:1px solid var(--line)}
.cpbtn{flex:0 0 auto; display:flex; align-items:center; gap:3px; font-size:13px; font-weight:600; color:var(--ink-2)}
.cpbtn svg{width:11px;height:11px;stroke:currentColor;fill:none;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.tchips{display:flex; gap:2px}
.tchip{font-size:12px; color:var(--sub); padding:4px 8px; border-radius:6px}
.tchip.on{background:var(--red-l); color:var(--red); font-weight:600}
.lcount{font-size:11.5px; color:var(--sub-2); margin:12px 2px 0}
.lcount a{color:var(--blue)}
.switch{display:flex; align-items:center; gap:6px; font-size:11.5px; color:var(--sub); cursor:pointer}
.switch .track{width:34px;height:20px;border-radius:10px;background:#DCE0E6;position:relative;transition:.18s}
.switch .track::after{content:"";position:absolute;width:16px;height:16px;border-radius:50%;background:#fff;top:2px;left:2px;transition:.18s;box-shadow:0 1px 3px rgba(0,0,0,.18)}
.switch.on .track{background:var(--red)}
.switch.on .track::after{left:16px}
/* 课程卡 */
.ccard{
  background:#fff; border-radius:var(--r); box-shadow:var(--sh); padding:14px;
  margin-top:10px; cursor:pointer; position:relative; transition:transform .12s;
}
.ccard:active{transform:scale(.99)}
.ccard.full{background:#F8F9FB; box-shadow:none; border:1px solid #ECEEF2; cursor:default}
.ccard.full .nm{color:#8F98A6}
.ccard.full .code,.ccard.full .info{color:#B4BBC5}
.ccard.full .price em{color:#B4BBC5}
.ccard.full .price s{color:#C6CCD4}
.ccard.full .bt{border-top-color:#ECEEF2}
.ccard.full .tag{background:#E6E9EE; color:#717C8B}
.ccard.full .seatbar i{background:#C9CED6}
.ccard .nm{font-size:15px; font-weight:600; letter-spacing:.2px; padding-right:60px; line-height:1.35}
.ccard .code{font-size:11px; color:var(--sub-2); font-variant-numeric:tabular-nums; margin-top:4px; letter-spacing:.4px}
.ccard .info{margin-top:10px; display:grid; gap:4px; font-size:12px; color:var(--sub)}
.ccard .info div{display:flex; gap:6px; align-items:center}
.ccard .info svg{width:12px;height:12px;stroke:currentColor;fill:none;stroke-width:1.9;opacity:.75;flex:0 0 auto}
.ccard .bt{margin-top:12px; padding-top:11px; border-top:1px solid var(--line); display:flex; align-items:center; justify-content:space-between}
.ccard .price em{font-style:normal;font-size:18px;font-weight:700;color:var(--red);font-variant-numeric:tabular-nums}
.ccard .price em i{font-size:11.5px;font-style:normal;font-weight:500;margin-right:1px}
.ccard .price s{font-size:11px;color:var(--sub-2);margin-left:6px;text-decoration:none}
.ccard .badge{position:absolute; right:13px; top:13px}
.seat{display:flex; align-items:center; gap:6px; font-size:11px; color:var(--sub-2)}
.seatbar{width:56px;height:4px;border-radius:2px;background:#EDEFF3;overflow:hidden}
.seatbar i{display:block;height:100%;background:var(--red);border-radius:2px}
.seatbar i.g{background:var(--green)}
/* ---------- 详情 ---------- */
.dcover{height:calc(var(--sb) + 198px); position:relative; display:flex; align-items:flex-end; padding:16px 16px 46px; padding-top:calc(var(--sb) + 56px)}
.dcover .g{position:absolute; inset:0; z-index:1; background:linear-gradient(180deg,rgba(6,10,16,.70) 0%,rgba(6,10,16,.42) 18%,rgba(6,10,16,.10) 38%,rgba(6,10,16,.20) 62%,rgba(6,10,16,.70) 100%)}
.dcover .ph{position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:0}
.cimg{position:relative; height:116px; border-radius:11px; overflow:hidden; margin:-14px -13px 12px; background:#E8EBF0}
.cimg img{width:100%; height:100%; object-fit:cover; display:block}
.cimg .ov{position:absolute; inset:0; background:linear-gradient(180deg,rgba(10,12,16,0) 38%,rgba(10,12,16,.62) 100%)}
.cimg b{position:absolute; left:13px; right:13px; bottom:9px; color:#fff; font-size:14px; font-weight:600; letter-spacing:.3px; text-shadow:0 1px 5px rgba(0,0,0,.45)}
.cimg i{position:absolute; right:10px; top:10px; font-style:normal; font-size:10.5px; color:#fff; background:rgba(10,12,16,.42); border-radius:20px; padding:3px 9px; backdrop-filter:blur(4px)}
.dcover .t{position:relative; z-index:2; color:#fff}
.dcover .t h2{margin:0; font-size:19px; font-weight:650; letter-spacing:.3px; text-shadow:0 1px 8px rgba(0,0,0,.25)}
.dcover .t p{margin:7px 0 0; font-size:12px; opacity:.86; letter-spacing:.5px}
.kv{display:grid; grid-template-columns:1fr 1fr; gap:1px; background:var(--line); border-radius:var(--r); overflow:hidden; box-shadow:var(--sh)}
.kv .c{background:#fff; padding:12px 13px}
.kv .c span{display:block; font-size:11px; color:var(--sub-2); margin-bottom:5px}
.kv .c b{font-size:13.5px; font-weight:600; letter-spacing:.2px}
.kv .c.wide{grid-column:1/-1}
.doc{padding:14px; font-size:13px; line-height:1.75; color:var(--ink-2)}
.doc p{margin:0 0 8px}
/* 底部操作条 */
.actionbar{
  position:absolute; left:0; right:0; bottom:0; z-index:45; background:rgba(255,255,255,.96);
  backdrop-filter:blur(12px); border-top:1px solid var(--line);
  padding:10px 16px calc(10px + env(safe-area-inset-bottom)); display:flex; align-items:center; gap:12px;
}
.actionbar .amt{flex:0 0 auto}
.actionbar .amt em{font-style:normal;font-size:20px;font-weight:700;color:var(--red);font-variant-numeric:tabular-nums}
.actionbar .amt em i{font-size:12px;font-style:normal;font-weight:500;margin-right:1px}
.actionbar .amt span{display:block; font-size:10.5px; color:var(--sub-2); margin-top:1px}
.actionbar .btn{flex:1 1 auto; width:auto}
/* ---------- 报名确认 ---------- */
.stu{
  display:flex; align-items:center; gap:11px; padding:13px 14px; background:#fff; border-radius:12px;
  box-shadow:var(--sh); cursor:pointer; border:1.5px solid transparent; transition:.15s; margin-top:10px;
}
.stu.on{border-color:var(--red); background:#FFFCFC}
.stu.off{opacity:.55; cursor:default; box-shadow:none; border-color:var(--line)}
.stu .av{
  width:38px;height:38px;border-radius:11px;background:var(--red-l);color:var(--red);
  display:grid;place-items:center;font-size:15px;font-weight:600;flex:0 0 auto;
}
.stu b{font-size:14px; font-weight:600; display:block}
.stu span{font-size:11.5px; color:var(--sub); display:block; margin-top:3px}
.stu .ck{
  margin-left:auto;width:20px;height:20px;border-radius:50%;border:1.5px solid #D5D9E0;
  display:grid;place-items:center;flex:0 0 auto;
}
.stu.on .ck{border-color:var(--red); background:var(--red)}
.tag.rtag{white-space:nowrap; font-size:10px; padding:3px 7px; flex:0 0 auto; letter-spacing:0}
.stu .ck svg{width:12px;height:12px;stroke:#fff;fill:none;stroke-width:2.6;opacity:0;stroke-linecap:round;stroke-linejoin:round}
.stu.on .ck svg{opacity:1}
.agree{
  display:flex; gap:8px; align-items:flex-start; padding:14px; font-size:12px; color:var(--sub);
  line-height:1.6; cursor:pointer; background:#fff; border-radius:12px; margin-top:10px; box-shadow:var(--sh);
}
.agree .bx{
  width:17px;height:17px;border-radius:5px;border:1.5px solid #D5D9E0;flex:0 0 auto;margin-top:1px;
  display:grid;place-items:center;transition:.15s;
}
.agree.on .bx{background:var(--red); border-color:var(--red)}
.agree .bx svg{width:11px;height:11px;stroke:#fff;fill:none;stroke-width:2.8;opacity:0;stroke-linecap:round;stroke-linejoin:round}
.agree.on .bx svg{opacity:1}
.agree a{color:var(--blue); text-decoration:none}
.sumrow{display:flex; justify-content:space-between; padding:11px 14px; font-size:13px; border-bottom:1px solid var(--line)}
.sumrow:last-child{border-bottom:0}
.sumrow span{color:var(--sub)}
.sumrow b{font-weight:600; font-variant-numeric:tabular-nums}
.sumrow.total b{color:var(--red); font-size:16px}
/* ---------- 支付 ---------- */
.payhead{
  background:linear-gradient(160deg,#2C3037,#1B1E23); border-radius:var(--r); padding:20px 16px;
  color:#fff; margin-top:4px; position:relative; overflow:hidden;
}
.payhead::after{content:"";position:absolute;width:160px;height:160px;border-radius:50%;right:-50px;top:-60px;background:rgba(255,255,255,.05)}
.payhead .lb{font-size:12px; opacity:.62; letter-spacing:.5px}
.payhead .num{font-size:31px; font-weight:700; margin-top:8px; letter-spacing:.5px; font-variant-numeric:tabular-nums}
.payhead .num i{font-size:16px; font-weight:500; margin-right:3px; font-style:normal}
.payhead .cd{font-size:11.5px; opacity:.55; margin-top:10px; font-variant-numeric:tabular-nums}
.payopt{
  display:flex; align-items:center; gap:11px; padding:15px 14px; background:#fff; border-radius:var(--r);
  box-shadow:var(--sh); margin-top:10px;
}
.payopt .ic{width:34px;height:34px;border-radius:9px;background:#E8F6EE;display:grid;place-items:center;flex:0 0 auto}
.payopt .ic svg{width:19px;height:19px;stroke:#09A552;fill:none;stroke-width:1.9}
.payopt b{font-size:14px;font-weight:600;display:block}
.payopt span{font-size:11.5px;color:var(--sub);display:block;margin-top:3px}
.payopt .ck{margin-left:auto;width:19px;height:19px;border-radius:50%;border:1.5px solid var(--red);display:grid;place-items:center}
.payopt .ck::after{content:"";width:9px;height:9px;border-radius:50%;background:var(--red)}
.payopt.off{opacity:.55; box-shadow:none; border:1px solid var(--line); background:#FAFBFC}
.payopt.off .ic{background:#EAF2FE}
.payopt.off .ic svg{stroke:#3B7BE0}
.payopt.off .tag{margin-left:auto; font-size:10px; padding:3px 7px}

/* ---------- 缴费 / 退费进度 ---------- */
.clearline{margin-top:12px; background:#fff; border-radius:var(--r); box-shadow:var(--sh); padding:16px 15px 6px}
.clearline .cl{position:relative; padding:0 0 16px 26px}
.clearline .cl:last-child{padding-bottom:6px}
.clearline .cl::before{
  content:""; position:absolute; left:4px; top:4px; width:9px; height:9px; border-radius:50%;
  border:2px solid #D5DAE1; background:#fff; box-sizing:content-box;
}
.clearline .cl::after{
  content:""; position:absolute; left:9.5px; top:18px; bottom:0; width:1.5px; background:#EDF0F3;
}
.clearline .cl:last-child::after{display:none}
.clearline .cl.done::before{border-color:var(--green); background:var(--green)}
.clearline .cl.done::after{background:#CDEBD9}
.clearline .cl.cur::before{border-color:var(--gold); background:#fff; box-shadow:0 0 0 4px rgba(197,155,74,.16)}
.clearline .cl b{display:block; font-size:13px; font-weight:600; color:var(--ink-2)}
.clearline .cl.wait b{color:var(--sub-2); font-weight:500}
.clearline .cl span{display:block; font-size:11.5px; color:var(--sub-2); margin-top:4px; line-height:1.55}
.clearline .cl.cur b{color:var(--gold)}
.clearline .cl.cur span{color:#9A7B3C}

/* ---------- 我的 ---------- */
.mhead{background:linear-gradient(180deg,#33373F,#1B1E23); padding:calc(var(--sb) + 58px) 16px 54px; color:#fff}
.mhead .u{display:flex; align-items:center; gap:13px; margin-top:16px}
.mhead .av{
  width:56px;height:56px;border-radius:17px;background:linear-gradient(140deg,#E4563F,#C8302A);
  display:grid;place-items:center;font-size:20px;font-weight:600;letter-spacing:1px;
  box-shadow:0 6px 16px -6px rgba(216,56,44,.6);
}
.mhead .u b{font-size:17px; font-weight:600; letter-spacing:.3px}
.mhead .u span{display:block; font-size:12px; opacity:.55; margin-top:5px; letter-spacing:.3px}
.stats{display:flex; background:#fff; border-radius:var(--r); box-shadow:var(--sh); margin-top:-38px; position:relative; z-index:5; padding:16px 0}
.stats .s{flex:1; text-align:center; position:relative; cursor:pointer}
.stats .s + .s::before{content:"";position:absolute;left:0;top:4px;bottom:4px;width:1px;background:var(--line)}
.stats b{display:block; font-size:19px; font-weight:700; font-variant-numeric:tabular-nums; letter-spacing:.5px}
.stats span{display:block; font-size:11px; color:var(--sub-2); margin-top:5px}
.list{background:#fff; border-radius:var(--r); box-shadow:var(--sh); overflow:hidden; margin-top:12px}
.li{
  display:flex; align-items:center; gap:11px; padding:15px 14px; border-bottom:1px solid var(--line);
  font-size:14px; cursor:pointer;
}
.li:last-child{border-bottom:0}
.li:active{background:#FAFBFC}
.li .ic{width:30px;height:30px;border-radius:9px;display:grid;place-items:center;flex:0 0 auto}
.li .ic svg{width:16px;height:16px;stroke-width:1.85;fill:none;stroke-linecap:round;stroke-linejoin:round}
.li .ar{margin-left:auto; color:#C9CED6; font-size:15px; display:flex; align-items:center; gap:6px}
.li .ar em{font-style:normal; font-size:12px; color:var(--sub-2)}
.li .ar svg{width:14px;height:14px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
/* ---------- 我的班级 ---------- */
.bcard{background:#fff; border-radius:var(--r); box-shadow:var(--sh); padding:15px 14px; margin-top:11px; position:relative; overflow:hidden}
.bcard .st{position:absolute; right:0; top:0; padding:5px 10px; font-size:10.5px; border-radius:0 14px 0 10px; letter-spacing:.4px}
.bcard .st.paid{background:var(--green-l); color:var(--green)}
.bcard .st.pend{background:#FBF3E3; color:var(--gold)}
.bcard .st.done{background:#F1F2F5; color:var(--sub)}
.bcard .st.refund{background:#F1F2F5; color:var(--sub)}
.bcard b{font-size:15px; font-weight:600; display:block; padding-right:56px; line-height:1.35}
.bcard .cd{font-size:11px; color:var(--sub-2); margin-top:5px; font-variant-numeric:tabular-nums}
.bcard .g{display:grid; gap:4px; margin-top:11px; font-size:12px; color:var(--sub)}
.bcard .g div{display:flex; gap:6px}
.bcard .g b{display:inline; font-weight:500; font-size:12px; color:var(--ink-2); padding:0}
.bcard .ft{margin-top:12px; padding-top:11px; border-top:1px solid var(--line); display:flex; gap:8px; align-items:center}
.bcard .ft .tiny{margin-right:auto}
/* ---------- 记录 ---------- */
.tl{padding-left:6px; margin-top:12px}
.tl .item{position:relative; padding:0 0 18px 20px; border-left:1.5px solid var(--line)}
.tl .item:last-child{border-left-color:transparent; padding-bottom:0}
.tl .item::before{
  content:""; position:absolute; left:-5.5px; top:4px; width:9px; height:9px; border-radius:50%;
  background:#fff; border:2px solid #D5D9E0;
}
.tl .item.paid::before{border-color:var(--green); background:var(--green)}
.tl .item.pend::before{border-color:var(--gold); background:#fff}
.tl .item .tm{font-size:11px; color:var(--sub-2); font-variant-numeric:tabular-nums; letter-spacing:.3px}
.tl .item b{display:block; font-size:13.5px; font-weight:600; margin-top:6px}
.tl .item p{margin:5px 0 0; font-size:12px; color:var(--sub); line-height:1.55}
.tl .item .amt2{font-size:13px; color:var(--ink-2); font-weight:600; margin-top:6px; font-variant-numeric:tabular-nums}
/* 底部操作条挂载层：脱离屏幕滚动，永远贴底 */
#abhost{position:absolute; left:0; right:0; bottom:0; z-index:46; height:0}
#abhost .actionbar{position:absolute; left:0; right:0; bottom:0}

/* ---------- 云缴费小程序收银台（从本小程序跳过去，付完返回） ---------- */
.extpay{
  position:absolute; inset:0; z-index:90; display:none; flex-direction:column;
  background:#EDF1F6;
}
.extpay.on{display:flex; animation:ezin .26s cubic-bezier(.32,.72,0,1)}
@keyframes ezin{from{transform:translateX(30px); opacity:.25}to{transform:none; opacity:1}}
.extpay .ebar{flex:0 0 auto; background:linear-gradient(180deg,#1E63B4,#164C8B); color:#fff; padding:0 14px 13px}
.extpay .est{display:flex; justify-content:space-between; align-items:center; height:44px; font-size:12px; font-weight:600}
.extpay .est .r{display:flex; gap:4px; align-items:center; opacity:.92}
.extpay .est .sig{display:flex; align-items:flex-end; gap:1.5px; height:9px; margin-right:2px}
.extpay .est .sig i{width:2.6px; background:#fff; border-radius:.8px; display:block}
.extpay .est .sig i:nth-child(1){height:3px; opacity:.72}
.extpay .est .sig i:nth-child(2){height:5px; opacity:.82}
.extpay .est .sig i:nth-child(3){height:7px; opacity:.92}
.extpay .est .sig i:nth-child(4){height:9px}
.extpay .est .rt{width:16px; height:9px; border:1.2px solid #fff; border-radius:2px; position:relative}
.extpay .est .rt::after{content:""; position:absolute; inset:1.5px; right:5px; background:#fff; border-radius:.5px}
.extpay .enav{display:flex; align-items:center; gap:7px; height:32px; font-size:15px; font-weight:600; letter-spacing:.3px}
.extpay .enav svg{width:17px; height:17px; stroke:#fff; fill:none; stroke-width:2.2; stroke-linecap:round; stroke-linejoin:round; opacity:.92; cursor:pointer}
.extpay .cap{margin-left:auto; display:flex; align-items:center; height:26px; border:1px solid rgba(255,255,255,.4); border-radius:13px}
.extpay .cap i{font-style:normal; font-size:12px; letter-spacing:1px; padding:0 9px; line-height:24px; border-right:1px solid rgba(255,255,255,.35)}
.extpay .cap b{width:13px; height:13px; border:1.6px solid #fff; border-radius:50%; margin:0 9px; box-sizing:border-box}
.extpay .ebody{flex:1 1 auto; overflow-y:auto; padding:13px 14px 18px; display:flex; flex-direction:column}
.extpay .esig{margin-top:auto; padding-top:24px; text-align:center; font-size:10.5px; color:#B6C1D0; letter-spacing:.6px}
.extpay .ehero{background:#fff; border-radius:13px; padding:17px 16px 15px; text-align:center; box-shadow:0 1px 4px rgba(23,40,64,.07)}
.extpay .ehero .lb{font-size:11.5px; color:#7A8598; letter-spacing:.4px}
.extpay .ehero .num{font-size:31px; font-weight:700; color:#16324F; margin-top:7px; font-variant-numeric:tabular-nums; letter-spacing:.5px}
.extpay .ehero .num i{font-size:17px; font-style:normal; font-weight:500; margin-right:2px}
.extpay .ehero .who{font-size:11.5px; color:#93A0B4; margin-top:7px}
.extpay .ecard{background:#fff; border-radius:13px; padding:4px 15px; margin-top:11px; box-shadow:0 1px 4px rgba(23,40,64,.06)}
.extpay .erow{display:flex; justify-content:space-between; align-items:center; gap:14px; padding:11px 0; border-bottom:1px solid #F2F4F8; font-size:12.5px}
.extpay .erow:last-child{border-bottom:0}
.extpay .erow span{color:#8A96A8; flex:0 0 auto}
.extpay .erow b{font-weight:600; color:#22364F; text-align:right; line-height:1.5}
.extpay .epay{display:flex; align-items:center; gap:10px; margin-top:11px; background:#fff; border-radius:13px; padding:13px 15px; box-shadow:0 1px 4px rgba(23,40,64,.06)}
.extpay .epay .ic{width:26px; height:26px; border-radius:8px; background:#E8F8EC; display:grid; place-items:center; flex:0 0 auto}
.extpay .epay .ic svg{width:17px; height:17px; fill:#22A44B}
.extpay .epay .tx{flex:1 1 auto; font-size:13px; font-weight:600; color:#22364F}
.extpay .epay .ck{width:17px; height:17px; border-radius:50%; border:1.6px solid #1E63B4; background:#1E63B4; position:relative; flex:0 0 auto}
.extpay .epay .ck::after{content:""; position:absolute; left:5.4px; top:2.6px; width:4px; height:8px; border:1.8px solid #fff; border-top:0; border-left:0; transform:rotate(42deg)}
.extpay .etip{margin-top:11px; padding:0 3px; font-size:11px; color:#8A96A8; line-height:1.7}
.extpay .efoot{flex:0 0 auto; background:#fff; border-top:1px solid #E4E9F1; padding:10px 14px 18px}
.extpay .ebtn{
  width:100%; height:46px; border:0; border-radius:12px; background:#1E63B4; color:#fff;
  font-size:15px; font-weight:600; font-family:inherit; cursor:pointer; letter-spacing:.5px;
}
.extpay .ebtn:active{background:#18528F}
.extpay .eload{
  flex:1 1 auto; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:14px;
  color:#5B6B82; font-size:12.5px;
}
.extpay .eload .sp{
  width:26px; height:26px; border:2.5px solid #D3DEEB; border-top-color:#1E63B4; border-radius:50%;
  animation:spin .8s linear infinite;
}
@keyframes spin{to{transform:rotate(360deg)}}
.extpay .edone{flex:1 1 auto; background:#fff; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:12px; padding:0 30px; text-align:center}
.extpay .edone .ok{width:58px; height:58px; border-radius:50%; background:#E8F8EC; display:grid; place-items:center}
.extpay .edone .ok svg{width:30px; height:30px; stroke:#22A44B; fill:none; stroke-width:2.6; stroke-linecap:round; stroke-linejoin:round}
.extpay .edone b{font-size:15px; color:#16324F}
.extpay .edone p{margin:0; font-size:12px; color:#8A96A8; line-height:1.7}

/* ---------- 弹层 ---------- */
.mask{
  position:absolute; inset:0; z-index:70; background:rgba(14,17,22,.44); display:none;
  animation:fade .18s;
}
.mask.on{display:block}
@keyframes fade{from{opacity:0}to{opacity:1}}
.sheet{
  position:absolute; left:0; right:0; bottom:0;
  background:#fff; border-radius:18px 18px 0 0; padding:18px 18px calc(16px + env(safe-area-inset-bottom));
  animation:up .22s cubic-bezier(.32,.72,0,1); max-height:90%; overflow-y:auto;
}
@keyframes up{from{transform:translateY(40px)}to{transform:none}}
.sheet h4{margin:0 0 4px; font-size:16px; font-weight:650; text-align:center}
.sheet .sub{text-align:center; font-size:12px; color:var(--sub-2); margin-bottom:16px}
.sheet .rowb{display:flex; gap:10px; margin-top:14px; position:sticky; bottom:-2px; background:#fff; padding-top:2px}
.sheet .rowb .btn{flex:1}
/* 微信打开其他小程序前的系统确认框 */
.sheet.dlg{left:34px; right:34px; bottom:auto; top:36%; border-radius:12px; padding:24px 0 0; text-align:center; animation:fade .18s}
.sheet.dlg p{margin:0 20px 22px; font-size:15px; color:var(--ink-2); line-height:1.55}
.sheet.dlg .dbt{display:flex; border-top:1px solid var(--line)}
.sheet.dlg .dbt span{flex:1; height:48px; display:grid; place-items:center; font-size:15px; cursor:pointer}
.sheet.dlg .dbt span + span{border-left:1px solid var(--line); color:#576B95; font-weight:600}
.opt{
  padding:13px 14px; border:1.5px solid var(--line); border-radius:11px; margin-top:9px; cursor:pointer;
  font-size:13.5px; display:flex; align-items:center; justify-content:space-between; transition:.15s;
}
.opt.on{border-color:var(--red); background:#FFFCFC; color:var(--red); font-weight:600}
.ipt{
  width:100%; height:44px; border-radius:11px; border:1.5px solid var(--line); padding:0 13px;
  font-size:14px; font-family:inherit; outline:none; margin-top:9px; background:#FBFBFC;
}
.ipt:focus{border-color:#C9CED6}
/* 青年夜校 · 开课通知 */
.notc{background:#fff; border-radius:16px; overflow:hidden; box-shadow:0 14px 36px -18px rgba(20,30,50,.4)}
.notc .hd{background:linear-gradient(165deg,#4A86DE,#24539E); color:#fff; padding:17px 18px 15px}
.notc .hd .brand{font-size:10px; letter-spacing:2px; opacity:.82}
.notc .hd h3{margin:9px 0 0; font-size:18px; font-weight:600; letter-spacing:5px}
.notc .hd .no{margin-top:7px; font-size:10px; opacity:.68; font-variant-numeric:tabular-nums; letter-spacing:.5px}
.notc .bd{padding:16px 18px 16px}
.notc .hi{font-size:13.5px; color:#22364F}
.notc .hi b{font-weight:600}
.notc .lead{margin:7px 0 0; font-size:12.5px; line-height:1.8; color:#4A5A70}
.notc .lead b{color:#2456A6; font-weight:600}
.notc .rows{margin-top:13px; border-top:1px solid #EDF1F6}
.notc .rows .r{display:flex; justify-content:space-between; gap:14px; padding:9px 0; border-bottom:1px solid #EDF1F6; font-size:12.5px}
.notc .rows .r span{color:#8A96A8; flex:0 0 auto}
.notc .rows .r b{font-weight:600; color:#22364F; text-align:right; line-height:1.5}
.notc .tips{margin:13px 0 0; padding:12px 13px; background:#F5F8FD; border-radius:10px}
.notc .tips b{display:block; font-size:11.5px; color:#3F5F8A; margin-bottom:5px}
.notc .tips p{margin:0; font-size:11.5px; line-height:1.85; color:#5A6B82}
.notc .fline{display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:13px; padding-top:12px; border-top:1px dashed #E1E8F2}
.notc .fline span{font-size:10.5px; color:#93A0B4; line-height:1.6}
.notc .fline button{border:0; background:#EEF4FC; color:#2C5C9E; font-size:11.5px; font-family:inherit; padding:7px 12px; border-radius:8px; cursor:pointer; flex:0 0 auto}

/* 通知书 */
.paper{
  background:#FFFDF7; border-radius:4px; padding:20px 20px 18px; position:relative;
  box-shadow:0 20px 50px -20px rgba(0,0,0,.4); border:1px solid #E8E0CC;
}
.paper::before{content:""; position:absolute; inset:7px; border:1px solid #E3D9C1; pointer-events:none}
.paper .org{font-family:"Songti SC","STSong",serif; font-size:12px; color:#9A8B6A; text-align:center; letter-spacing:3px}
.paper h3{
  font-family:"Songti SC","STSong",serif; font-size:19px; text-align:center; margin:8px 0 3px;
  color:#3A3325; letter-spacing:5px; font-weight:600;
}
.paper .no{text-align:center; font-size:10.5px; color:#B0A183; letter-spacing:1px; font-variant-numeric:tabular-nums}
.paper .hr{height:1px; background:linear-gradient(90deg,transparent,#DCCFB2,transparent); margin:11px 0}
.paper .txt{font-family:"Songti SC","STSong",serif; font-size:12.5px; line-height:1.9; color:#4A4234; text-align:justify}
.paper .txt b{color:#2E2820; font-weight:600; border-bottom:1px solid #C9B98F; padding:0 3px}
.paper .sign{display:flex; justify-content:flex-end; align-items:flex-end; gap:10px; margin-top:14px}
.paper .sign .t{text-align:right; font-family:"Songti SC",serif; font-size:12.5px; color:#4A4234; line-height:1.9}
.seal{
  width:66px; height:66px; border:2.5px solid #C0392B; border-radius:50%; color:#C0392B;
  display:grid; place-items:center; font-family:"Songti SC",serif; font-size:10.5px; line-height:1.3;
  text-align:center; transform:rotate(-9deg); opacity:.82; letter-spacing:1px; flex:0 0 auto;
}
/* 模拟微信服务通知 */
.push{
  position:absolute; left:10px; right:10px; top:calc(var(--sb) + 6px); z-index:96;
  display:flex; gap:10px; padding:11px 13px; border-radius:16px;
  background:rgba(250,250,252,.97); backdrop-filter:blur(16px);
  box-shadow:0 14px 32px -12px rgba(10,14,20,.38), 0 0 0 1px rgba(0,0,0,.04);
  transform:translateY(-140%); opacity:0; transition:.34s cubic-bezier(.32,.72,0,1); pointer-events:none;
}
.push.on{transform:none; opacity:1; pointer-events:auto}
.push .ic{width:34px;height:34px;border-radius:9px;background:#07C160;display:grid;place-items:center;flex:0 0 auto}
.push .ic svg{width:19px;height:19px;stroke:#fff;fill:none;stroke-width:1.9;stroke-linejoin:round}
.push .tx{flex:1; min-width:0}
.push .t{display:flex; justify-content:space-between; font-size:11px; color:var(--sub-2)}
.push b{display:block; font-size:13.5px; font-weight:600; margin-top:3px}
.push p{margin:2px 0 0; font-size:12px; color:var(--sub); line-height:1.5}
.demolink{
  text-align:center; margin-top:16px; font-size:11.5px; color:var(--sub-2);
  text-decoration:underline; text-underline-offset:3px;
}
/* toast */
.toast{
  position:absolute; left:50%; bottom:120px; transform:translate(-50%,10px); z-index:99;
  background:rgba(24,28,34,.88); color:#fff; font-size:13px; padding:11px 18px; border-radius:10px;
  opacity:0; pointer-events:none; transition:.22s; max-width:74%; text-align:center; line-height:1.5;
  backdrop-filter:blur(6px);
}
.toast.on{opacity:1; transform:translate(-50%,0)}
/* tabbar */
.tabbar{
  flex:0 0 auto; height:58px; display:flex; background:rgba(255,255,255,.97); border-top:1px solid var(--line);
  padding-bottom:env(safe-area-inset-bottom); z-index:40; backdrop-filter:blur(10px);
}
.tabbar.off{display:none}
.tabbar .tb{flex:1; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px; cursor:pointer; color:#A2AAB6}
.tabbar .tb svg{width:21px;height:21px;stroke:currentColor;fill:none;stroke-width:1.85;stroke-linecap:round;stroke-linejoin:round}
.tabbar .tb span{font-size:10px; letter-spacing:.4px}
.tabbar .tb.on{color:var(--red)}
/* 空态 */
.empty{text-align:center; padding:56px 20px; color:var(--sub-2)}
.empty svg{width:44px;height:44px;stroke:#D5D9E0;fill:none;stroke-width:1.5;margin-bottom:12px}
.empty p{margin:0; font-size:13px}
/* ---------- 右侧说明 ---------- */
.notes{
  position:relative; z-index:1; width:346px; flex:0 0 auto; align-self:center;
  font-size:13px; color:var(--ink-2); line-height:1.75;
  max-height:calc(100vh - 52px); overflow-y:auto; padding-right:8px;
}
.notes::-webkit-scrollbar{width:4px}
.notes::-webkit-scrollbar-thumb{background:#D3D8E0; border-radius:2px}
.notes::-webkit-scrollbar-track{background:transparent}
.notes h1{font-size:23px; margin:0 0 6px; letter-spacing:.4px; font-weight:650}
.notes .sub{font-size:12.5px; color:var(--sub); margin-bottom:20px; line-height:1.7}
.notes h5{
  font-size:11px; letter-spacing:1.6px; color:var(--sub-2); margin:22px 0 10px; font-weight:600;
  text-transform:uppercase;
}
.notes ol{margin:0; padding-left:18px; font-size:12.5px; color:var(--ink-2)}
.notes ol li{margin-bottom:9px; line-height:1.65}
.notes ol li b{color:var(--red); font-weight:600}
.notes a{color:var(--blue); text-decoration:none; font-weight:600}
.notes .ways{background:#fff; border:1px solid #E3E6EB; border-radius:10px; overflow:hidden; font-size:12px}
.notes .ways div{padding:9px 11px; line-height:1.6; color:var(--ink-2)}
.notes .ways div + div{border-top:1px solid #EFF1F4}
.notes .ways b{display:block; font-size:11px; font-weight:600; color:var(--sub); margin-bottom:2px}
.notes .foot{
  margin-top:24px; padding-top:14px; border-top:1px solid #DCDFE5; font-size:11.5px; color:var(--sub-2); line-height:1.7;
}
@media (max-width:1080px){
  body{gap:0; padding:14px}
  .notes{display:none}
}
@media (max-height:900px){
  .phone{zoom:.9}
}
@media (max-height:790px){
  .phone{zoom:.8}
}
/* 手机直接打开：去掉手机壳，整屏显示 */
@media (max-width:500px){
  :root{--sb:0px}
  body{display:block; padding:0; background:var(--bg)}
  body::before{display:none}
  .phone{width:100%; height:100vh; height:100dvh; padding:0; border-radius:0; box-shadow:none; background:none; zoom:1}
  .screenwrap{border-radius:0}
  .notch,.statusbar,.extpay .est{display:none}
  .extpay .ebar{padding-top:8px}
}
