/* 全邻国 · 英语完整课：路径、题型、练习、任务（沿用原有全邻国的配色和圆角按钮风格） */
.lg-path{max-width:480px;margin:0 auto 20px;padding:4px 0 10px}
.lg-section-title{margin:26px 0 8px;text-align:center;color:#afafaf;font-size:13px;font-weight:800;letter-spacing:1px;display:flex;align-items:center;gap:12px}
.lg-section-title:before,.lg-section-title:after{content:'';flex:1;height:2px;background:#f0f0f0}
.lg-unit-head{display:flex;align-items:center;justify-content:space-between;gap:12px;background:var(--uc,#58cc02);color:#fff;border-radius:16px;padding:16px 16px 16px 18px;margin:22px 0 18px;box-shadow:0 4px 0 rgba(0,0,0,.12)}
.lg-unit-head small{display:block;font-size:12px;font-weight:800;opacity:.85;margin-bottom:4px}
.lg-unit-head h2{font-size:20px;margin:0 0 4px}
.lg-unit-head p{font-size:13px;margin:0;opacity:.9}
.lg-unit-head .guide{border-color:rgba(255,255,255,.55);flex-shrink:0}
.lg-unit-nodes{padding:40px 0 0}
.lg-node-row{height:104px;flex-direction:column;align-items:center}
.lg-node.open,.lg-node.current{background:var(--uc,#58cc02);box-shadow:inset 0 0 0 6px var(--uc,#58cc02);border-bottom-color:rgba(0,0,0,.22)}
.lg-node.current:before{border-top-color:var(--uc,#58cc02);border-right-color:var(--uc,#58cc02)}
.lg-node-cap{font-size:11px;font-weight:800;color:#afafaf;margin-top:6px;white-space:nowrap}
.lg-chest{text-align:center;font-size:44px;line-height:60px;filter:drop-shadow(0 4px 0 #cf8e00);margin:2px 0 6px;opacity:.55}
.lg-chest.open{opacity:1}
.lg-trophy{text-align:center;font-size:54px;margin:8px 0 6px;filter:drop-shadow(0 5px 0 #e5a300)}

.lg-body{max-width:640px}
.lg-title{font-size:25px;line-height:1.45;margin-bottom:22px}
.lg-prompt{margin:4px 0 26px}
.lg-prompt .speech span{min-width:0}
.lg-sound{font-size:22px;line-height:1;width:44px;height:44px;border-radius:12px;background:#1cb0f6;color:#fff;border-bottom:4px solid #1899d6;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}
.lg-sound:active{transform:translateY(2px);border-bottom-width:2px}
.lg-sound.big{width:112px;height:112px;border-radius:24px;font-size:52px;border-bottom-width:6px}
.lg-sound.slow{background:#fff;color:#1cb0f6;border:2px solid #e5e5e5;border-bottom-width:4px;width:66px;height:66px;font-size:30px;border-radius:18px}
.lg-listen{display:flex;align-items:flex-end;justify-content:center;gap:18px;margin:6px 0 30px}
.lg-choices .answer{min-height:56px}
.lg-pics{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
@media(min-width:620px){.lg-pics{grid-template-columns:repeat(4,1fr)}}
.lg-pic-card{position:relative;border:2px solid #e5e5e5;border-bottom-width:4px;border-radius:16px;padding:16px 8px 12px;display:flex;flex-direction:column;align-items:center;gap:10px;background:#fff;font-size:17px;font-weight:700}
.lg-pic-card .key{position:absolute;right:8px;bottom:8px;font-style:normal;color:#afafaf;border:2px solid #e5e5e5;border-radius:7px;font-size:11px;padding:1px 6px}
.lg-pic-card.selected{border-color:#84d8ff;background:#ddf4ff;color:#1899d6}
.lg-pic-card.correct{border-color:#58cc02;background:#d7ffb8;color:#58a700}
.lg-pic-card.wrong{border-color:#ff4b4b;background:#ffdfdf;color:#ea2b2b}
.lg-pic{width:92px;height:92px;object-fit:contain}
.lg-pic.small{width:34px;height:34px}
.lg-swatch{width:84px;height:84px;border-radius:20px;border:2px solid #e5e5e5;display:inline-block}
.lg-swatch.small{width:30px;height:30px;border-radius:9px}
.lg-match{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.lg-col{display:grid;gap:12px}
.lg-mbtn{border:2px solid #e5e5e5;border-bottom-width:4px;border-radius:13px;min-height:58px;padding:10px 12px;font-size:17px;font-weight:700;background:#fff}
.lg-mbtn.selected{border-color:#84d8ff;background:#ddf4ff;color:#1899d6}
.lg-mbtn.matched{border-color:#e5e5e5;background:#f7f7f7;color:#c5c5c5;border-bottom-width:2px}
.lg-mbtn.shake{border-color:#ff4b4b;background:#ffdfdf;color:#ea2b2b;animation:lgshake .4s}
@keyframes lgshake{0%,100%{transform:translateX(0)}25%{transform:translateX(-6px)}75%{transform:translateX(6px)}}
.lg-line{min-height:120px;border-top:2px solid #e5e5e5;border-bottom:2px solid #e5e5e5;background:repeating-linear-gradient(to bottom,transparent 0,transparent 58px,#e5e5e5 58px,#e5e5e5 60px);display:flex;flex-wrap:wrap;align-content:flex-start;gap:8px;padding:9px 0;margin-bottom:26px}
.lg-line.good{border-color:#a5ed6e}
.lg-line.bad{border-color:#ffb2b2}
.lg-bank{display:flex;flex-wrap:wrap;justify-content:center;gap:9px}
.lg-tile{border:2px solid #e5e5e5;border-bottom-width:4px;border-radius:12px;padding:8px 14px;font-size:18px;font-weight:600;background:#fff;color:#4b4b4b;min-height:44px}
.lg-tile:active{transform:translateY(2px);border-bottom-width:2px}
.lg-tile.used{background:#e5e5e5;color:transparent;border-color:#e5e5e5;box-shadow:none}
.lg-input{width:100%;border:2px solid #e5e5e5;border-radius:16px;background:#f7f7f7;padding:14px 16px;font-size:19px;line-height:1.5;resize:none;color:#3c3c3c}
.lg-input:focus{outline:none;border-color:#84d8ff;background:#fff}
.lg-mic{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:64px;border:2px solid #e5e5e5;border-bottom-width:4px;border-radius:16px;font-size:18px;font-weight:800;color:#1cb0f6;background:#fff}
.lg-mic.listening{border-color:#1cb0f6;background:#ddf4ff;animation:lgpulse 1.2s infinite}
@keyframes lgpulse{0%,100%{box-shadow:0 0 0 0 rgba(28,176,246,.35)}50%{box-shadow:0 0 0 10px rgba(28,176,246,0)}}
.lg-heard{min-height:24px;color:#777;font-size:15px;margin:14px 0 0;text-align:center}
.lg-skip{display:block;margin:18px auto 0;font-size:13px;color:#afafaf}
.lg-fill{display:flex;flex-direction:column;gap:6px}
.lg-fill small{font-size:14px;color:#999}
.lg-combo{display:inline-block;margin-left:8px;font-size:14px;color:#ff9600;background:#fff3d4;border-radius:10px;padding:2px 10px;vertical-align:middle}
.lesson-bottom.lg-good{background:#d7ffb8;border-top-color:#d7ffb8;margin-left:-30px;margin-right:-30px;padding-left:30px;padding-right:30px}
.lesson-bottom.lg-bad{background:#ffdfe0;border-top-color:#ffdfe0;margin-left:-30px;margin-right:-30px;padding-left:30px;padding-right:30px}
.lesson-bottom.lg-bad .primary{background:#ff4b4b;border-bottom-color:#ea2b2b}
@media(max-width:700px){.lesson-bottom.lg-good,.lesson-bottom.lg-bad{margin-left:-20px;margin-right:-20px;padding-left:20px;padding-right:20px}.lg-title{font-size:22px}.lg-sound.big{width:96px;height:96px;font-size:44px}.lg-pic{width:76px;height:76px}.lg-tile{font-size:17px;padding:7px 12px}}
.lg-result-grid{max-width:520px}
.lg-time{border-color:#1cb0f6;background:#ddf4ff}
.lg-time small,.lg-time strong{color:#1899d6}
.lg-guide-scroll{max-height:56vh;overflow:auto;margin:8px -6px 0;padding:0 6px}
.lg-guide h3{font-size:15px;margin:14px 0 6px;color:#4b4b4b}
.lg-grow{display:flex;align-items:center;gap:10px;padding:8px 0;border-bottom:1px solid #f0f0f0;font-size:15px}
.lg-grow b{color:#3c3c3c}
.lg-grow span{color:#777;margin-left:6px}
.lg-grow div span{display:block;margin:2px 0 0}
.lg-grow .lg-sound{width:34px;height:34px;font-size:16px;border-radius:10px;border-bottom-width:3px}
.lg-gemshop{margin-top:18px}
.lg-gemshop .secondary{min-height:44px;padding:8px 14px;white-space:nowrap}
.lg-quest.done{border-color:#ffc800;background:#fffbea}
.modal .lg-guide img.lg-pic{width:34px;height:34px;margin:0;flex-shrink:0}
.lg-pic-ph{width:34px;height:34px;flex-shrink:0;display:inline-block}
.modal .lg-guide .lg-swatch.small{flex-shrink:0}
.lg-story-node{display:flex;justify-content:center;margin:6px 0 10px}
.lg-story-btn{display:flex;align-items:center;gap:12px;border:2px solid #e5e5e5;border-bottom-width:4px;border-radius:18px;padding:10px 18px 10px 12px;background:#fff;text-align:left}
.lg-story-btn small{display:block;font-size:11px;color:#afafaf;font-weight:800}
.lg-story-btn b{font-size:16px;color:#4b4b4b}
.lg-story-ic{width:46px;height:46px;border-radius:14px;background:#ce82ff;color:#fff;display:flex;align-items:center;justify-content:center;font-size:24px;border-bottom:4px solid #a568cc}
.lg-story-btn.done .lg-story-ic{background:#ffc800;border-bottom-color:#e5a300}
.lg-story-btn.locked{opacity:.55}
.lg-story-btn.locked .lg-story-ic{background:#e5e5e5;border-bottom-color:#cfcfcf}
.lg-story-line{display:flex;align-items:flex-start;gap:14px;margin:30px 0 10px}
.lg-pic.lg-avatar{width:72px;height:72px;flex-shrink:0}
.lg-story-bubble{flex:1;border:2px solid #e5e5e5;border-radius:18px;padding:14px 16px}
.lg-story-bubble small{font-size:12px;font-weight:800;color:#ce82ff}
.lg-story-en{display:flex;align-items:center;gap:12px;font-size:20px;line-height:1.5;margin:6px 0 4px}
.lg-story-zh{color:#999;font-size:14px;margin-top:6px}
.lg-story-zh summary{cursor:pointer;color:#1cb0f6;font-weight:700;font-size:13px}
