/* ============ 学员端 H5（手机优先，微信风格） ============ */
.h5-app{max-width:480px; margin:0 auto; min-height:100vh; background:var(--wc-bg); padding-bottom:64px; position:relative;}
.h5-nav{position:sticky; top:0; background:#fff; height:48px; display:flex; align-items:center; padding:0 12px; border-bottom:1px solid var(--wc-line); z-index:30;}
.h5-nav .back{display:flex; align-items:center; color:var(--wc-text); cursor:pointer;}
.h5-nav .title{font-size:16px; font-weight:600; flex:1; text-align:center;}
.h5-nav .right-action{font-size:13px; color:var(--wc-green); cursor:pointer;}

.h5-banner{height:150px; border-radius:var(--radius-card); overflow:hidden; margin:12px; background:linear-gradient(135deg,#07C160,#06AD56); color:#fff; display:flex; align-items:center; justify-content:center; font-size:18px; position:relative;}
.h5-banner img{width:100%; height:100%; object-fit:cover;}

.h5-notice{margin:0 12px 12px; background:#fff7e6; color:#ad6800; border-radius:8px; padding:8px 12px; font-size:12px; display:flex; align-items:center; gap:6px;}

.h5-grid{display:flex; flex-wrap:wrap; gap:10px; padding:4px 12px 12px;}
.h5-grid .cell{width:calc(25% - 8px); display:flex; flex-direction:column; align-items:center; gap:6px; cursor:pointer;}
.h5-grid .cell .ico{width:46px; height:46px; border-radius:14px; background:rgba(7,193,96,.12); display:flex; align-items:center; justify-content:center; color:var(--wc-green);}
.h5-grid .cell .txt{font-size:12px; color:var(--wc-text); text-align:center;}

.h5-section-title{margin:16px 12px 8px; font-size:15px; font-weight:600; display:flex; align-items:center; justify-content:space-between;}
.h5-section-title .more{font-size:12px; color:var(--wc-sub); font-weight:400;}

.h5-card{background:#fff; border-radius:var(--radius-card); margin:0 12px 10px; padding:14px; box-shadow:var(--shadow);}
.h5-cell{display:flex; align-items:center; gap:10px; padding:13px 12px; background:#fff; border-radius:10px; margin:0 12px 8px; cursor:pointer;}
.h5-cell:active{background:#f6f6f6;}
.h5-cell .c-ico{width:36px; height:36px; border-radius:9px; background:rgba(7,193,96,.12); display:flex; align-items:center; justify-content:center; color:var(--wc-green); flex:none;}
.h5-cell .c-main{flex:1; min-width:0;}
.h5-cell .c-title{font-size:14px;}
.h5-cell .c-sub{font-size:12px; color:var(--wc-sub); margin-top:2px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;}
.h5-cell .c-arrow{color:var(--wc-sub2);}

.h5-tabbar{position:fixed; bottom:0; left:50%; transform:translateX(-50%); width:100%; max-width:480px; height:56px; background:#fff; border-top:1px solid var(--wc-line); display:flex; z-index:40;}
.h5-tabbar .tab{flex:1; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:2px; color:var(--wc-sub); cursor:pointer; font-size:11px;}
.h5-tabbar .tab.active{color:var(--wc-green);}
.h5-tabbar .tab .t-ico{width:22px; height:22px;}

.h5-form{padding:12px; display:flex; flex-direction:column; gap:14px;}
.h5-form .f-row{background:#fff; border-radius:10px; padding:12px; display:flex; align-items:center; gap:10px;}
.h5-form .f-row label{flex:none; width:84px; color:var(--wc-sub); font-size:13px;}
.h5-form .f-row input,.h5-form .f-row select{flex:1; border:none; outline:none; font-size:14px; background:none; color:var(--wc-text);}
.h5-form .f-row.req label::after{content:"*"; color:var(--wc-red); margin-left:2px;}

.h5-list{display:flex; flex-direction:column; gap:8px; padding:0 12px;}
.h5-question{background:#fff; border-radius:10px; padding:14px; margin-bottom:10px; box-shadow:var(--shadow);}
.h5-question .q-title{font-size:14px; margin-bottom:10px;}
.h5-question .opt{display:flex; align-items:center; gap:10px; padding:10px 12px; border:1px solid var(--wc-line); border-radius:8px; margin-bottom:8px; cursor:pointer; font-size:14px;}
.h5-question .opt.sel{border-color:var(--wc-green); background:rgba(7,193,96,.06);}
.h5-question .opt.correct{border-color:var(--wc-green); background:rgba(7,193,96,.12);}
.h5-question .opt.wrong{border-color:var(--wc-red); background:rgba(250,81,81,.08);}
.h5-timer{position:sticky; top:48px; background:#fff; padding:8px 12px; text-align:center; color:var(--wc-red); font-weight:600; z-index:20; border-bottom:1px solid var(--wc-line);}

.h5-video-wrap{background:#000;}
.h5-video-wrap video{width:100%; display:block;}
.h5-progress{height:6px; background:#e5e5e5; border-radius:3px; overflow:hidden; margin:10px 12px;}
.h5-progress .bar{height:100%; background:var(--wc-green); width:0; transition:.2s;}

.login-page{min-height:100vh; background:linear-gradient(160deg,#07C160,#06AD56); display:flex; flex-direction:column; align-items:center; justify-content:center; padding:24px;}
.login-card{background:#fff; border-radius:16px; padding:28px 22px; width:100%; max-width:340px; box-shadow:0 8px 30px rgba(0,0,0,.15);}
.login-logo{width:56px; height:56px; border-radius:14px; background:var(--wc-green); color:#fff; display:flex; align-items:center; justify-content:center; margin:0 auto 14px; font-size:24px;}
.login-tabs{display:flex; gap:8px; margin-bottom:18px;}
.login-tabs .lt{flex:1; text-align:center; padding:8px; border-radius:var(--radius-btn); background:#f2f2f2; color:var(--wc-sub); cursor:pointer;}
.login-tabs .lt.active{background:var(--wc-green); color:#fff;}
