/* 小课列表 */
.lessons { padding: 6px 16px; }
.ls-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px 12px 4px; border-radius: 22px; background: linear-gradient(135deg, #E3F4E9, #FFF8E0); margin-bottom: 14px; }
.ls-head img { width: 96px; height: 124px; object-fit: contain; object-position: bottom; flex: none; }
.ls-head div { flex: 1; } .ls-head h2 { font-size: 22px; } .ls-head p { font-size: 12.5px; color: var(--ink-2); }
.ls-head span { font-size: 12px; color: var(--green-d); font-weight: 700; }
.progress { height: 8px; border-radius: 4px; background: rgba(18,161,80,.14); margin: 8px 0 2px; overflow: hidden; } .progress i { display: block; height: 100%; background: var(--green); border-radius: 4px; }
.ls-item { display: flex; gap: 12px; align-items: center; padding: 10px; margin-bottom: 10px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.ls-item img { width: 92px; height: 70px; object-fit: cover; border-radius: 12px; flex: none; }
.ls-item div { flex: 1; } .ls-item b { display: block; font-size: 16px; } .ls-item p { font-size: 12px; color: var(--ink-3); }
.arrow { width: 10px; height: 10px; border-top: 2px solid var(--ink-3); border-right: 2px solid var(--ink-3); transform: rotate(45deg); margin-right: 6px; }

/* 小课详情 */
.lesson { padding: 6px 16px; }
.l-cover { position: relative; border-radius: 22px; overflow: hidden; margin-bottom: 14px; }
.l-cover img { width: 100%; height: 200px; object-fit: cover; }
.l-cover div { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; background: linear-gradient(transparent, rgba(0,0,0,.6)); color: #fff; }
.l-cover .en { color: var(--mint); } .l-cover h1 { font-size: 30px; line-height: 1.2; } .l-cover p { font-size: 12px; opacity: .85; }
.kcard { position: relative; padding: 14px 14px 14px 52px; margin-bottom: 10px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.kn { position: absolute; left: 14px; top: 14px; width: 28px; height: 28px; border-radius: 50%; background: var(--green); color: #fff; font-family: var(--title); text-align: center; line-height: 28px; }
.kcard h3 { font-size: 17px; margin-bottom: 4px; } .kcard p { font-size: 14px; color: var(--ink-2); } .kcard b { color: var(--green-d); }
.lesson > .block-h { margin-top: 20px; }
.wg { padding: 14px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.wg label { display: flex; align-items: center; gap: 8px; font-size: 13px; margin: 6px 0; }
.wg label i { width: 16px; height: 16px; border-radius: 50%; flex: none; } .wg label b { width: 26px; text-align: right; color: var(--green-d); }
.wg input[type=range] { flex: 1; accent-color: var(--green); }
.wg-out { display: flex; align-items: center; gap: 12px; margin-top: 10px; padding: 10px; border-radius: 14px; background: #F7F3EA; }
.wg-out span { width: 64px; height: 64px; border-radius: 50% 50% 50% 16%; flex: none; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); transition: background .25s; }
.wg-out p { font-size: 13px; } .wg-out b { color: var(--green-d); }
.wg-out.three { justify-content: space-around; text-align: center; } .wg-out.three span { margin: 0 auto 4px; width: 52px; height: 52px; }
.wg-q { font-size: 13px; color: var(--ink-2); margin-bottom: 8px; }
.pair { display: flex; align-items: center; gap: 8px; margin: 8px 0; }
.pair button { display: flex; align-items: center; gap: 6px; padding: 6px 12px 6px 6px; border-radius: 18px; border: 2px solid var(--line); font-size: 13px; }
.pair button i { width: 22px; height: 22px; border-radius: 50%; }
.pair button.ok { border-color: var(--green); background: var(--green-l); } .pair button.no { border-color: var(--red); background: #FFF1EE; }
.pair .res { font-size: 12px; color: var(--ink-3); }
.wheel { width: 220px; margin: 0 auto; display: block; } .wheel path { cursor: pointer; stroke: #fff; stroke-width: 2; transition: transform .2s; transform-origin: 100px 100px; }
.wheel path.on { transform: scale(1.06); stroke-width: 3; } .wheel circle { transition: fill .3s; }
.wg .seg { margin-bottom: 8px; }
.grad { display: flex; height: 120px; border-radius: 14px; overflow: hidden; flex-direction: column; } .grad span { flex: 1; transition: background .3s; }
.l-ask { display: flex; gap: 10px; align-items: center; margin-top: 18px; padding: 10px 12px; border-radius: 18px; background: var(--green-l); }
.l-ask img { width: 70px; height: 90px; object-fit: contain; flex: none; } .l-ask p { font-size: 13px; font-weight: 700; color: var(--green-d); margin-bottom: 6px; }

/* 我的 */
.me { padding: 6px 16px; }
.me-card { display: flex; gap: 14px; align-items: center; padding: 16px; border-radius: 22px; background: linear-gradient(135deg, var(--green), #0B7A3C); color: #fff; }
.me-card img { width: 66px; height: 66px; border-radius: 50%; background: #fff; border: 3px solid rgba(255,255,255,.7); object-fit: cover; }
.me-card h2 { font-size: 24px; } .me-card p { font-size: 12.5px; opacity: .85; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: 12px 0 16px; padding: 12px 0; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); text-align: center; }
.stats b { display: block; font-family: var(--title); font-weight: 400; font-size: 22px; color: var(--green-d); } .stats span { font-size: 11px; color: var(--ink-3); }
#meBody { margin-top: 12px; min-height: 160px; }
.pal-list { display: grid; gap: 10px; }
.pal-item { display: grid; grid-template-columns: 1fr auto; text-align: left; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.pal-item .pc-strip { grid-column: span 2; height: 44px; } .pal-item b { padding: 8px 12px; font-size: 14px; } .pal-item small { padding: 8px 12px; color: var(--ink-3); font-size: 11px; }
.art-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.art-grid button { border-radius: 14px; overflow: hidden; background: #fff; box-shadow: var(--shadow); text-align: left; }
.art-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; } .art-grid .pc-strip { height: 8px; } .art-grid b { display: block; padding: 6px 10px; font-size: 13px; }
.badges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.bd { text-align: center; font-size: 11px; color: var(--ink-3); filter: grayscale(1); opacity: .45; } .bd.on { filter: none; opacity: 1; color: var(--ink); }
.bd img, .bd i { display: block; width: 62px; height: 62px; margin: 0 auto 4px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: var(--shadow); }
.empty { text-align: center; color: var(--ink-3); font-size: 13px; padding: 10px 0; } .empty img { width: 140px; margin: 0 auto; mix-blend-mode: multiply; }
.empty a { color: var(--green-d); font-weight: 700; }
.about { display: flex; gap: 12px; align-items: flex-start; margin-top: 22px; padding: 14px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.about img { width: 48px; flex: none; } .about b { font-size: 14px; } .about p { font-size: 12.5px; color: var(--ink-2); }
.about a, .about .link { margin-right: 14px; color: var(--green-d); font-weight: 700; font-size: 12.5px; }
