:root {
  --ink: #17241f;
  --muted: #6c7a73;
  --line: #dfe7e1;
  --paper: #f5f7f4;
  --card: #fff;
  --green: #c5ed72;
  --deep: #183c2e;
  --deep-2: #102d22;
  --orange: #d88952;
  --blue: #75b7c3;
  --shadow: 0 12px 34px rgba(25,55,42,.075);
  --shadow-soft: 0 3px 14px rgba(25,55,42,.055);
}
* { box-sizing: border-box; }
body { margin: 0; background: #d8e1da; color: var(--ink); font-family: -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif; letter-spacing: .01em; }
.app-shell { max-width: 480px; min-height: 100vh; margin: auto; background: var(--paper); position: relative; padding-bottom: 78px; box-shadow: 0 0 40px #b6c6ba; }
.topbar { height: 68px; background: rgba(255,255,255,.96); display: flex; align-items: center; justify-content: space-between; padding: 0 20px; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; backdrop-filter: blur(12px); }
.brand { font-size: 13px; letter-spacing: 2.6px; font-weight: 850; color: var(--deep); }
.brand span { font-weight: 500; color: #83918a; }
.icon-button { border: 0; background: transparent; font-size: 24px; color: var(--deep); width: 36px; height: 36px; opacity: .82; }
.bottom-nav { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: min(480px,100%); height: 72px; background: rgba(255,255,255,.97); border-top: 1px solid var(--line); display: flex; justify-content: space-around; z-index: 6; backdrop-filter: blur(12px); }
.bottom-nav button { border: 0; background: transparent; color: #84928b; font-size: 11px; padding: 8px 18px; }
.bottom-nav button.active { color: var(--deep); font-weight: 800; }
.bottom-nav span { display: block; font-size: 20px; line-height: 25px; margin-bottom: 2px; }
.screen { padding: 26px 20px 34px; }
.eyebrow { color: #74847b; font-size: 10px; font-weight: 850; letter-spacing: 1.6px; text-transform: uppercase; }
.title { font-size: 27px; line-height: 1.22; margin: 9px 0 8px; letter-spacing: -.8px; font-weight: 850; }
.subtitle { color: var(--muted); font-size: 13px; line-height: 1.65; }
.row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 20px 0; }
.stat,.card { background: var(--card); border: 1px solid rgba(213,225,216,.9); border-radius: 18px; padding: 15px; box-shadow: var(--shadow-soft); }
.stat strong { display: block; font-size: 23px; margin-top: 6px; }
.stat small,.small { color: var(--muted); font-size: 12px; }
.streak { background: linear-gradient(135deg,var(--deep),var(--deep-2)); color: #fff; border-radius: 20px; padding: 19px 20px; margin: 22px 0 17px; position: relative; overflow: hidden; box-shadow: 0 13px 26px rgba(24,60,46,.18); }
.streak:after { content: '07'; position: absolute; right: 17px; top: 9px; color: var(--green); font-size: 54px; line-height: 1; font-weight: 900; letter-spacing: -4px; opacity: .17; }
.streak strong { font-size: 24px; letter-spacing: -.5px; }
.lesson-card { background: linear-gradient(145deg,#1a4534,#123326); border-radius: 22px; padding: 21px; color: #fff; box-shadow: 0 16px 32px rgba(24,60,46,.16); margin: 15px 0; }
.lesson-card .pill { color: var(--green); background: rgba(197,237,114,.1); border: 1px solid rgba(197,237,114,.16); }
.lesson-card h2 { font-size: 21px; line-height: 1.4; margin: 14px 0 11px; letter-spacing: -.25px; }
.lesson-card .subtitle { color: #c4d4ca; }
.pill { display: inline-block; border-radius: 99px; background: rgba(255,255,255,.1); padding: 6px 10px; font-size: 11px; }
.button { border: 0; background: var(--green); color: var(--deep); font-weight: 850; border-radius: 11px; padding: 12px 17px; font-size: 13px; cursor: pointer; box-shadow: 0 5px 12px rgba(126,166,63,.14); }
.button.secondary { background: #edf3ee; color: var(--deep); box-shadow: none; }
.button.dark { background: var(--deep); color: #fff; box-shadow: none; }
.button.full { width: 100%; margin-top: 14px; }
.link { color: #4f7564; font-size: 13px; font-weight: 700; background: none; border: 0; padding: 8px 0; }
.progress { height: 7px; background: #e8eee9; border-radius: 99px; overflow: hidden; margin: 10px 0; }
.progress i { display: block; height: 100%; background: var(--green); border-radius: 99px; }
.section-title { font-size: 17px; margin: 26px 0 12px; }
.module-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.module { min-height: 104px; position: relative; overflow: hidden; text-align: left; }
.module b { font-size: 17px; }
.module small { display: block; color: var(--muted); margin-top: 9px; }
.module .dot { position: absolute; right: 14px; bottom: 13px; width: 8px; height: 8px; background: var(--green); border-radius: 50%; }
.search { background: #fff; border: 1px solid var(--line); border-radius: 99px; padding: 13px 16px; display: flex; gap: 9px; color: var(--muted); margin: 18px 0; }
.visual { height: 180px; border-radius: 20px; background: linear-gradient(135deg,#dff1e4,#b5d9c1); margin: 16px 0; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.visual:before { content: ''; width: 90px; height: 120px; border: 3px solid #3d7960; border-radius: 50% 50% 42% 42%; transform: rotate(-18deg); opacity: .8; }
.visual:after { content: '视觉素材预留 · MP4 / WebM'; position: absolute; bottom: 12px; left: 14px; background: rgba(255,255,255,.78); padding: 6px 9px; border-radius: 8px; font-size: 10px; color: #3f6654; }
.anatomy { background: #fff5e9; border-color: #ffe0be; }
.callout { border-left: 4px solid var(--orange); padding: 12px 14px; background: #fff8f1; border-radius: 0 12px 12px 0; color: #68422c; font-size: 14px; line-height: 1.65; }
.lesson-step { margin: 18px 0; }
.step-label { font-size: 12px; color: #718078; font-weight: 800; letter-spacing: .5px; }
.option { display: block; width: 100%; text-align: left; border: 1px solid var(--line); background: #fff; border-radius: 13px; margin: 10px 0; padding: 14px; font-size: 14px; color: var(--ink); cursor: pointer; }
.option.selected { border-color: var(--deep); background: #eef7e6; }
.option.correct { border-color: #4e9a68; background: #e8f7eb; }
.option.wrong { border-color: #df7a59; background: #fff0eb; }
.score { font-size: 52px; font-weight: 900; color: var(--deep); letter-spacing: -2px; }
.map { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.skill { min-height: 138px; }
.ring { width: 48px; height: 48px; border-radius: 50%; background: conic-gradient(var(--green) var(--score),#e9eee9 0); display: grid; place-items: center; margin-bottom: 10px; }
.ring:after { content: ''; width: 34px; height: 34px; border-radius: 50%; background: #fff; }
.paywall { background: #f0f7e9; border: 1px dashed #a9c98b; border-radius: 18px; padding: 16px; margin-top: 15px; }
.tag { font-size: 11px; background: #f0f4f1; color: #5c7066; padding: 5px 8px; border-radius: 7px; margin-right: 4px; }
.mistake { display: flex; align-items: center; gap: 12px; }
.mistake .badge { width: 38px; height: 38px; border-radius: 12px; background: #ffe8d7; display: grid; place-items: center; color: #a84e26; font-weight: 800; }
.share-card { background: var(--deep); color: #fff; border-radius: 24px; padding: 22px; margin: 22px 0; box-shadow: 0 14px 34px rgba(23,60,45,.2); position: relative; overflow: hidden; }
.share-card:after { content: '✦'; position: absolute; right: 18px; top: 42px; color: var(--green); font-size: 90px; opacity: .2; }
.share-kicker { font-size: 11px; letter-spacing: 2px; color: var(--green); margin-top: 46px; }
.share-card h2 { font-size: 27px; line-height: 1.35; margin: 12px 0; }
.share-card p { font-size: 14px; color: #c8d7ce; line-height: 1.65; max-width: 270px; }
.share-footer { border-top: 1px solid rgba(255,255,255,.18); padding-top: 14px; margin-top: 30px; display: flex; justify-content: space-between; font-size: 12px; color: #c8d7ce; }
.share-footer b { color: var(--green); }
.path-dots { display:flex; justify-content:space-between; margin-bottom:16px; }
.path-dots i { width:24px; height:24px; border-radius:50%; display:grid; place-items:center; background:#eef2ef; color:#91a098; font-size:11px; font-style:normal; font-weight:800; }
.path-dots i.done { background:#dff2bd; color:#477035; }.path-dots i.active { background:var(--deep); color:#fff; box-shadow:0 0 0 4px #e6f2d8; }
.path-summary { margin:20px 0 14px; }.path-list { display:grid; gap:10px; }.path-row { width:100%; display:flex; align-items:center; gap:11px; text-align:left; padding:13px; cursor:pointer; }.path-row.current { border-color:#b8d58b; box-shadow:0 5px 18px rgba(87,126,65,.12); }.day-badge { flex:0 0 30px; width:30px; height:30px; border-radius:10px; display:grid; place-items:center; background:#eff3f0; color:#87958d; font-size:12px; font-weight:850; }.day-badge.done { background:#dff2bd; color:#477035; }.day-badge.active { background:var(--deep); color:#fff; }.path-copy { min-width:0; flex:1; }.path-copy b,.path-copy small { display:block; }.path-copy small { color:var(--muted); font-size:12px; margin-top:5px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }.path-status { color:#8a9890; font-size:10px; white-space:nowrap; }
.assessment-card { background:#f7fbf4; border-color:#d4e6c5; margin-top:14px; }.assessment-card h3 { margin:9px 0 14px; font-size:17px; }.assessment-steps { display:grid; gap:11px; }.assessment-steps div { display:flex; gap:10px; align-items:flex-start; }.assessment-steps b { flex:0 0 24px; width:24px; height:24px; display:grid; place-items:center; border-radius:8px; background:var(--deep); color:var(--green); font-size:12px; }.assessment-steps span { font-size:13px; line-height:1.45; }.assessment-steps small { color:var(--muted); font-size:11px; }.decision-card { margin-top:14px; }.decision-line { display:grid; grid-template-columns:76px 18px 1fr; gap:8px; align-items:center; padding:10px 0; border-bottom:1px solid var(--line); font-size:12px; }.decision-line:last-child { border-bottom:0; padding-bottom:0; }.decision-line b { color:var(--deep); }.decision-line span:last-child { color:var(--muted); line-height:1.4; }
.source-list { display:grid; gap:14px; }.source-list hr { width:100%; border:0; border-top:1px solid var(--line); margin:0; }.source-list p { margin:6px 0; }.source-list a { color:var(--deep); font-size:12px; font-weight:800; text-decoration:none; }
.motion-visual { margin:16px 0 18px; padding:14px; border:1px solid #d6e5d1; border-radius:18px; background:linear-gradient(145deg,#f7fbf4,#edf5ea); overflow:hidden; }.motion-head,.motion-controls { display:flex; align-items:center; justify-content:space-between; gap:8px; }.motion-kicker { color:var(--deep); font-size:10px; font-weight:850; letter-spacing:1.1px; }.motion-state { color:#6f8b70; font-size:10px; }.motion-visual svg { width:100%; height:auto; display:block; margin:4px 0 0; }.thorax { fill:#d9e8d1; stroke:#6d9270; stroke-width:2; }.spine { fill:none; stroke:#a1b99d; stroke-width:2; stroke-dasharray:3 4; }.scapula { fill:#b6d997; stroke:#4d794f; stroke-width:2; transform-origin:145px 88px; animation:scapulaStudy 3.8s ease-in-out infinite; }.humerus { fill:none; stroke:#db9c68; stroke-width:7; stroke-linecap:round; transform-origin:160px 76px; animation:humerusStudy 3.8s ease-in-out infinite; }.humerus-head { fill:#e5a06c; stroke:#9d6237; stroke-width:2; transform-origin:155px 70px; animation:headStudy 3.8s ease-in-out infinite; }.arm-end { fill:none; stroke:#db9c68; stroke-width:5; stroke-linecap:round; }.guide { fill:none; stroke:#a8b8aa; stroke-width:1; stroke-dasharray:4 4; }.label,.compare { font-family:system-ui,-apple-system,sans-serif; font-size:9px; fill:#46684b; }.compare { fill:#78917b; font-size:8px; }.motion-caption { display:grid; gap:4px; margin:2px 0 12px; }.motion-caption b { color:var(--deep); font-size:13px; }.motion-caption span { color:var(--muted); font-size:11px; line-height:1.45; }.motion-controls { justify-content:flex-start; color:#7f9385; font-size:10px; }.motion-dot { width:6px; height:6px; border-radius:50%; background:#cbd8cb; }.motion-dot.active { background:#5b8b5a; box-shadow:0 0 0 3px #dcebd7; }
@keyframes scapulaStudy { 0%,18% { transform:translate(0,0) rotate(0deg); } 48%,68% { transform:translate(3px,-3px) rotate(-5deg); } 88%,100% { transform:translate(0,0) rotate(0deg); } } @keyframes humerusStudy { 0%,18% { transform:rotate(0deg); } 48%,68% { transform:rotate(-10deg); } 88%,100% { transform:rotate(0deg); } } @keyframes headStudy { 0%,18% { transform:translate(0,0); } 48%,68% { transform:translate(2px,-3px); } 88%,100% { transform:translate(0,0); } }
.motion-visual-v2 { background:#fffdf8; border:1px solid #e8dfcf; }.motion-visual-v2 .motion-head { align-items:flex-start; }.motion-title { display:block; color:#172c25; font-size:16px; margin-top:5px; letter-spacing:-.2px; }.motion-scene { position:relative; margin-top:8px; border-radius:14px; background:#f4f0e8; overflow:hidden; }.motion-scene svg { width:100%; height:auto; display:block; }.v2-rib { fill:#d8e8df; stroke:#244e42; stroke-width:3; }.v2-spine { fill:none; stroke:#6f9585; stroke-width:3; stroke-dasharray:5 5; }.v2-scap { fill:#94c983; stroke:#2f6b48; stroke-width:3; transform-origin:151px 106px; animation:scapulaStudy 3.8s ease-in-out infinite; }.v2-head { fill:#f3a15b; stroke:#8d4f28; stroke-width:3; transform-origin:168px 82px; animation:headStudy 3.8s ease-in-out infinite; }.v2-arm,.v2-forearm { fill:none; stroke:#e58d4b; stroke-width:12; stroke-linecap:round; transform-origin:168px 82px; animation:humerusStudy 3.8s ease-in-out infinite; }.v2-forearm { stroke-width:9; }.v2-guide { stroke:#bdc5b8; stroke-width:2; stroke-dasharray:5 5; }.v2-arrow { fill:none; stroke:#bd7a43; stroke-width:3; stroke-linecap:round; stroke-linejoin:round; }.v2-leader { stroke:#82988b; stroke-width:1.5; }.v2-text,.v2-note { font-family:system-ui,-apple-system,sans-serif; fill:#27483b; font-size:12px; font-weight:700; }.v2-note { fill:#9a6942; font-size:11px; }.scene-label { position:absolute; z-index:1; padding:5px 7px; border-radius:7px; background:#fffdf8; color:#27483b; font-size:10px; font-weight:800; box-shadow:0 2px 8px rgba(45,67,55,.08); }.label-rib { top:10px; left:10px; }.label-scap { top:10px; left:132px; }.label-arm { top:10px; right:10px; }.motion-legend { display:flex; gap:12px; flex-wrap:wrap; margin-top:12px; color:#526c5d; font-size:10px; }.legend-dot { display:inline-block; width:8px; height:8px; border-radius:50%; margin-right:4px; background:#244e42; }.legend-dot.scap { background:#5eae61; }.legend-dot.arm { background:#e58d4b; }
.motion-visual-v3 { background:#f7f8f5; border-color:#d7e0d8; }.anatomy-stage { margin-top:10px; border-radius:15px; background:linear-gradient(180deg,#edf3ee,#fafbf8); overflow:hidden; border:1px solid #e0e7df; }.anatomy-stage svg { display:block; width:100%; height:auto; }.a-head { fill:#e8eee9; stroke:#345b4b; stroke-width:3; }.a-neck { fill:none; stroke:#345b4b; stroke-width:8; stroke-linecap:round; }.a-ribs { fill:#dce8df; fill-opacity:.85; stroke:#345b4b; stroke-width:3; }.a-rib-lines { fill:none; stroke:#8dab9a; stroke-width:2; stroke-linecap:round; }.a-spine { fill:none; stroke:#6b9080; stroke-width:4; stroke-dasharray:5 4; }.a-scapula { fill:#79ba79; fill-opacity:.92; stroke:#2f704b; stroke-width:3; transform-origin:145px 136px; animation:anatomyScapula 4.4s ease-in-out infinite; }.a-arm { transform-origin:158px 112px; animation:anatomyArm 4.4s ease-in-out infinite; }.a-joint,.a-elbow { fill:#f0aa68; stroke:#8d5831; stroke-width:2; }.a-humerus,.a-forearm,.a-hand { fill:none; stroke:#e29452; stroke-linecap:round; }.a-humerus { stroke-width:11; }.a-forearm { stroke-width:9; }.a-hand { stroke-width:6; }.a-motion-arrow { fill:none; stroke:#b97843; stroke-width:3; stroke-linecap:round; stroke-dasharray:7 5; }.a-motion-arrow-head { fill:none; stroke:#b97843; stroke-width:3; stroke-linecap:round; stroke-linejoin:round; }.a-leader { stroke:#94a99c; stroke-width:1.5; }.a-label,.a-motion-text { font-family:system-ui,-apple-system,sans-serif; fill:#2f5345; font-size:12px; font-weight:800; }.a-motion-text { fill:#9a6840; font-size:11px; }.anatomy-caption { display:grid; gap:4px; padding:10px 12px 12px; }.anatomy-caption b { color:#1d3b30; font-size:14px; }.anatomy-caption span { color:#64796d; font-size:11px; line-height:1.45; } @keyframes anatomyArm { 0%,18% { transform:rotate(0deg); } 48%,65% { transform:rotate(-32deg); } 84%,100% { transform:rotate(0deg); } } @keyframes anatomyScapula { 0%,18% { transform:translate(0,0) rotate(0deg); } 48%,65% { transform:translate(2px,-5px) rotate(-8deg); } 84%,100% { transform:translate(0,0) rotate(0deg); } }
.motion-3d { background:#f7f8f5; border-color:#d7e0d8; }.anatomy-3d-frame { margin-top:10px; height:330px; overflow:hidden; border-radius:15px; background:#202c29; border:1px solid #cfdad1; }.anatomy-3d-frame iframe { width:100%; height:100%; border:0; display:block; }.anatomy-3d-note { display:grid; gap:3px; padding:10px 2px 4px; color:#536c5e; font-size:11px; line-height:1.45; }.anatomy-3d-note b { color:#1d3b30; font-size:13px; }.anatomy-credit { color:#8a9a90; font-size:9px; line-height:1.4; }.anatomy-credit a { color:#527b60; text-decoration:none; }
.anatomy-3d-poster { min-height:220px; margin:12px 0; border-radius:15px; background:radial-gradient(circle at 50% 38%,#365c4e 0 8%,transparent 8.5%),linear-gradient(135deg,#152722,#263f36); display:flex; flex-direction:column; justify-content:flex-end; align-items:center; padding:20px; color:#f3f7ee; text-align:center; position:relative; overflow:hidden; }.anatomy-3d-poster:before,.anatomy-3d-poster:after { content:""; position:absolute; border:1px solid rgba(190,221,197,.28); border-radius:50%; transform:rotate(-20deg); }.anatomy-3d-poster:before { width:150px; height:190px; top:22px; left:calc(50% - 75px); }.anatomy-3d-poster:after { width:100px; height:140px; top:47px; left:calc(50% - 50px); }.poster-orbit { position:absolute; top:85px; font-size:32px; font-weight:900; letter-spacing:4px; color:#b8d9b8; }.anatomy-3d-poster b,.anatomy-3d-poster span { position:relative; z-index:1; }.anatomy-3d-poster b { font-size:15px; }.anatomy-3d-poster span { margin-top:6px; color:#bfd2c3; font-size:11px; }
.anatomy-3d-viewport { height:310px; margin-top:10px; border-radius:15px; overflow:hidden; background:#18231f; border:1px solid #cfdad1; touch-action:none; }.anatomy-3d-viewport canvas { width:100%; height:100%; display:block; }.anatomy-layer-buttons { display:flex; gap:7px; margin-top:10px; }.anatomy-layer-buttons button { flex:1; border:1px solid #cbd8ce; background:#f5f8f4; color:#567064; border-radius:8px; padding:8px 4px; font-size:11px; font-weight:800; }.anatomy-layer-buttons button.active { background:#204b3d; color:#fff; border-color:#204b3d; }
.toast { position: fixed; left: 50%; bottom: 88px; transform: translateX(-50%); background: var(--deep); color: #fff; padding: 12px 16px; border-radius: 99px; font-size: 13px; z-index: 10; box-shadow: var(--shadow); }
@media(min-width:481px) { .bottom-nav { position: fixed; } .app-shell { min-height: 100vh; } }
