*{box-sizing:border-box;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
html,body{margin:0;height:100%;overflow:hidden;font-family:-apple-system,"PingFang SC","Hiragino Sans GB","Noto Sans SC",sans-serif;color:#3a2e1f;touch-action:manipulation;
background:
  radial-gradient(ellipse at 15% -10%,#ffe9a0 0%,transparent 55%),
  radial-gradient(ellipse at 110% 80%,#ffc6b0 0%,transparent 50%),
  linear-gradient(180deg,#8fd4ff 0%,#c8ecff 26%,#fff4c8 68%,#ffd9b0 100%)}
body{display:flex;flex-direction:column;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left)}
button{font-family:inherit;color:inherit;border:none;cursor:pointer;touch-action:manipulation}
.hidden{display:none!important}
#top{display:flex;align-items:center;gap:10px;padding:8px 14px;min-height:84px;position:relative;z-index:7}
#title{flex:1;min-width:8px;font-size:0;line-height:0;overflow:hidden;color:transparent;white-space:nowrap;text-overflow:ellipsis}
#stars{background:#fff;border-radius:40px;padding:8px 16px;font-size:clamp(20px,3.4vmin,30px);font-weight:800;box-shadow:0 4px 0 #f0c040}
#stars.bump{animation:pop .5s}
.iconbtn{width:56px;height:56px;border-radius:50%;background:#fff;font-size:28px;box-shadow:0 4px 0 #9cc;opacity:.92}
.parentbtn{width:40px;height:40px;border-radius:50%;background:rgba(255,255,255,.55);color:#8a7a68;font-size:18px;font-weight:900;letter-spacing:1px;box-shadow:0 2px 0 rgba(0,0,0,.06);flex-shrink:0}
#app{flex:1;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:8px 16px 24px;display:flex;flex-direction:column;align-items:center;position:relative}
h2{font-size:clamp(24px,4.2vmin,40px);margin:6px 0 4px;text-align:center}
.tip{font-size:clamp(15px,2.3vmin,20px);color:#7a6a55;text-align:center;margin:0 0 10px}

/* 点点贴纸：保持原比例，不做圆形裁剪 */
#heroTop,#top .hero.mini{width:auto;height:72px;border-radius:0;object-fit:contain;flex-shrink:0;background:transparent;aspect-ratio:945/1094}
#homeBtn:not(.hidden)~#heroTop{height:50px}
.hero{display:block;border-radius:0;object-fit:contain;background:transparent;height:auto}
.hero.lg{width:clamp(180px,36vmin,280px);height:auto;margin:0 auto 8px;filter:drop-shadow(0 10px 0 rgba(0,0,0,.08))}
.hero.start{width:min(46vw,300px);height:auto;filter:drop-shadow(0 14px 0 rgba(0,0,0,.1));position:relative;z-index:1}
.bigHero{display:flex;justify-content:center;animation:pop .6s}
.bigHero.clap{animation:pop .6s}

/* 开始页：一个会跳动发光的点点 */
#app.startmode{padding:0;overflow:hidden;justify-content:center}
.startstage{position:relative;width:100%;height:100%;min-height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;padding-bottom:8%;background:#bfe8f6 url(img/ui/bg-start.png) center bottom/cover no-repeat}
.goplay{position:relative;z-index:2;background:transparent;padding:12px;border-radius:40px;animation:bob 1.5s ease-in-out infinite;margin-top:-4%}
.goplay .pulse{position:absolute;left:50%;top:46%;width:78%;padding-bottom:78%;transform:translate(-50%,-50%);border-radius:50%;border:8px solid rgba(255,216,77,.85);box-shadow:0 0 0 10px rgba(255,255,255,.35),0 0 36px rgba(255,200,40,.55);animation:glow 1.6s ease-in-out infinite;pointer-events:none;z-index:0}
.themeico{position:relative;z-index:2;margin-top:10px;font-size:clamp(36px,7vmin,56px);filter:drop-shadow(0 4px 0 rgba(0,0,0,.08))}
#app.startmode .themeico{display:none}
@keyframes bob{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}
@keyframes glow{50%{box-shadow:0 0 0 16px rgba(255,255,255,.2),0 0 48px rgba(255,200,40,.8);opacity:.95}}
@keyframes drift{0%,100%{transform:translateX(0)}50%{transform:translateX(18px)}}
@keyframes spinsoft{to{transform:rotate(360deg)}}

/* 点点伙伴 */
#buddy{position:fixed;z-index:5;pointer-events:none;transition:left .35s,top .35s,bottom .35s,height .35s,transform .35s}
#buddy.hidden{display:none!important}
#buddy .buddyimg{height:100%;width:auto;aspect-ratio:945/1094;filter:drop-shadow(0 6px 0 rgba(0,0,0,.12))}
#buddy .hand{display:none;position:absolute;right:-10px;top:18%;font-size:42px;animation:poke 1s ease-in-out infinite}
#buddy.buddy-listen{left:50%;top:48%;transform:translate(-50%,-50%);height:min(42vh,320px);bottom:auto}
#buddy.buddy-point{left:10px;bottom:calc(10px + env(safe-area-inset-bottom));top:auto;transform:none;height:min(22vh,180px)}
#buddy.buddy-point .hand{display:block}
#buddy.buddy-clap{left:50%;top:42%;transform:translate(-50%,-50%);height:min(36vh,280px);animation:pop .5s}
@keyframes poke{0%,100%{transform:translate(0,0)}50%{transform:translate(10px,8px)}}

/* 按钮 / 选项 */
.big{background:#ff8a3d;color:#fff;font-size:clamp(22px,3.6vmin,34px);font-weight:800;border-radius:60px;padding:16px 36px;min-height:80px;box-shadow:0 6px 0 #c85a18;margin:10px}
.big.green{background:#3cc46a;box-shadow:0 6px 0 #238a45}.big.blue{background:#3a9cf0;box-shadow:0 6px 0 #1f6bb0}.big.red{background:#f05a5a;box-shadow:0 6px 0 #b03030}
.big.ico{width:clamp(96px,18vmin,140px);height:clamp(96px,18vmin,140px);min-width:clamp(96px,18vmin,140px);min-height:clamp(96px,18vmin,140px);padding:0;border-radius:50%;font-size:clamp(44px,9vmin,70px);display:inline-flex;align-items:center;justify-content:center;margin:10px}
.big.mic{background:#c070ff;box-shadow:0 6px 0 #8a40c0;animation:pulse 1.4s infinite}
.big.mic.ico{background:#c070ff;box-shadow:0 6px 0 #8a40c0}
.big.clap{background:#ffb020;box-shadow:0 6px 0 #c07a00}
.big:active,.opt:active,.card:active,.goplay:active,.themebtn:active{transform:scale(.95)}
.popbtn{animation:pulse 1.5s ease-in-out infinite}
.speaker{width:clamp(72px,12vmin,110px);height:clamp(72px,12vmin,110px);border-radius:50%;background:#fff;font-size:clamp(36px,6vmin,56px);box-shadow:0 5px 0 #f0b040;margin:4px auto 8px;display:flex;align-items:center;justify-content:center}
.speaker.replay{width:clamp(64px,10vmin,88px);height:clamp(64px,10vmin,88px);font-size:clamp(30px,5vmin,44px);animation:none;opacity:.95}

.opts{display:grid;gap:18px;width:100%;max-width:980px;margin-top:6px;grid-template-columns:repeat(2,1fr);position:relative}
.opts.n1{grid-template-columns:1fr;max-width:520px}
.opts.n3{grid-template-columns:repeat(3,1fr)}
@media (orientation:portrait) and (max-width:700px){
  .opts.n3{grid-template-columns:repeat(2,1fr)}
  .opts.n3 .opt:last-child{grid-column:1/-1;max-width:58%;justify-self:center}
}
.opt{background:#fff;border-radius:36px;min-height:clamp(170px,30vmin,300px);display:flex;flex-direction:column;align-items:center;justify-content:center;box-shadow:0 8px 0 #e0c48a,0 12px 24px rgba(80,50,20,.08);font-size:clamp(88px,18vmin,170px);transition:transform .18s,opacity .3s,box-shadow .18s;padding:10px}
.opts.n2 .opt{min-height:clamp(200px,36vmin,340px);font-size:clamp(100px,22vmin,190px)}
.opts.n1 .opt{min-height:clamp(240px,42vmin,380px)}
.opt .lbl{font-size:clamp(22px,3.2vmin,34px);font-weight:800;color:#e0603a;margin-top:4px}
.opt.ok{background:#c8f7c8;box-shadow:0 8px 0 #3cc46a}
.opt.no{animation:shake .4s;opacity:.45}
.opt.away{animation:away .32s forwards;pointer-events:none}
.opts.hint .opt{animation:optpulse 1.2s ease-in-out 2}
@keyframes optpulse{50%{transform:scale(1.04);box-shadow:0 8px 0 #ffd84d,0 0 0 8px rgba(255,216,77,.45)}}
@keyframes away{to{transform:scale(.15);opacity:0}}
@keyframes shake{25%{transform:translateX(-10px)}75%{transform:translateX(10px)}}
#app>.tap-hint,.tap-hint{position:absolute;left:50%;top:auto;bottom:auto;transform:translate(-50%,0);font-size:clamp(40px,7vmin,64px);pointer-events:none;z-index:3;opacity:0;margin:0}
.tap-hint.go{animation:finger 1.4s ease-in-out 3}
@keyframes finger{0%{opacity:0;transform:translate(-50%,10px)}20%,80%{opacity:1;transform:translate(-50%,0)}100%{opacity:0;transform:translate(-50%,-8px)}}

.pic{display:inline-flex;align-items:center;justify-content:center;line-height:1}
.pic svg{width:1em;height:1em}
.pic img{display:block;height:1em;width:auto;max-width:1.15em;object-fit:contain;pointer-events:none;-webkit-user-drag:none;user-select:none;-webkit-user-select:none}
.progress{display:flex;gap:8px;margin:4px 0 2px}
.progress i{width:20px;height:20px;border-radius:50%;background:#fff;border:3px solid #f0c040;display:block;box-shadow:0 2px 0 #e0b030}
.progress i.f{background:#ffd84d}

/* memory / yes no / count / words */
.grid{display:grid;gap:14px;width:100%;max-width:900px;grid-template-columns:repeat(4,1fr)}
@media (orientation:portrait){.grid{grid-template-columns:repeat(3,1fr)}}
.card{aspect-ratio:1/1;border-radius:22px;perspective:600px;background:transparent;padding:0;position:relative}
.card .in{position:absolute;inset:0;transition:transform .35s;transform-style:preserve-3d;-webkit-transform-style:preserve-3d}
.card.up .in,.card.gone .in{transform:rotateY(180deg)}
.card .f,.card .b{position:absolute;inset:0;border-radius:22px;display:flex;align-items:center;justify-content:center;-webkit-backface-visibility:hidden;backface-visibility:hidden;box-shadow:0 6px 0 rgba(0,0,0,.15)}
.card .f{background:repeating-linear-gradient(45deg,#ffb84d,#ffb84d 12px,#ffc870 12px,#ffc870 24px);font-size:clamp(40px,7vmin,64px)}
.card .b{background:#fff;transform:rotateY(180deg);font-size:clamp(50px,10vmin,90px)}
.card .b.word{font-size:clamp(24px,4.4vmin,40px);font-weight:800;color:#e0603a}
.card.gone .b{background:#c8f7c8}
.showpic{background:#fff;border-radius:40px;width:clamp(200px,38vmin,340px);height:clamp(200px,38vmin,340px);display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:clamp(120px,24vmin,220px);box-shadow:0 10px 0 #e0c48a;margin:8px}
.showpic.bigword{width:min(86vw,420px);height:min(56vw,420px);gap:6px}
.showpic .lbl{font-size:clamp(28px,5vmin,44px);font-weight:800;color:#e0603a}
.row{display:flex;gap:20px;flex-wrap:wrap;justify-content:center;align-items:center}
.cnt{display:flex;flex-wrap:wrap;justify-content:center;gap:2px;font-size:clamp(34px,6vmin,54px)}
.words{display:grid;gap:16px;width:100%;max-width:980px;grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}
.wcard{background:#fff;border-radius:24px;padding:12px 6px;display:flex;flex-direction:column;align-items:center;box-shadow:0 6px 0 #d8c8a0;font-size:clamp(60px,10vmin,90px);min-height:160px;justify-content:center}
.wcard b{font-size:clamp(22px,3.4vmin,30px);color:#e0603a}
.wcard span.zh{display:none}
.wcard.heard{box-shadow:0 6px 0 #3cc46a}

/* songs / talk / video */
.songs{display:grid;gap:16px;width:100%;max-width:900px;grid-template-columns:repeat(auto-fit,minmax(140px,1fr))}
.song{background:#fff;border-radius:28px;padding:18px;box-shadow:0 7px 0 #a8d0f0;min-height:120px;display:flex;align-items:center;justify-content:center}
.song .e{font-size:clamp(52px,10vmin,80px)}
.lyrics{background:#fff;border-radius:24px;padding:16px 24px;width:100%;max-width:760px;font-size:clamp(20px,3.2vmin,28px);line-height:1.6;box-shadow:0 6px 0 #d8c8a0;margin-top:8px;max-height:34vh;overflow-y:auto}
.lyrics p{margin:2px 0;border-radius:12px;padding:0 8px;transition:background .3s}
.lyrics p.cur{background:#fff1a8;color:#c04010}
.talk{width:100%;max-width:760px;display:flex;flex-direction:column;gap:12px}
.bub{display:flex;align-items:center;gap:12px;font-size:clamp(20px,3.2vmin,28px);font-weight:700}
.bub .who{font-size:clamp(48px,8vmin,64px)}
.bub .t{background:#fff;border-radius:26px;padding:14px 22px;box-shadow:0 5px 0 #d8c8a0;flex:1;text-align:left}
.bub.r{flex-direction:row-reverse}.bub.r .t{background:#e6f4ff;box-shadow:0 5px 0 #a8d0f0}
.bub.play .t{outline:4px solid #ffd84d}
.talkopts .opt{min-height:clamp(120px,20vmin,180px);font-size:clamp(50px,9vmin,80px)}
.lbl.big2{font-size:clamp(24px,4vmin,36px);color:#e0603a;font-weight:800}
.blank{display:inline-block;min-width:3.2em;border-bottom:4px dashed #e0603a;text-align:center;color:#e0603a}
.blank.filled{border-bottom-color:#3cc46a;color:#2a9a50;background:#c8f7c8;border-radius:10px;animation:pop .4s}
.stage{position:relative;width:100%;max-width:760px;height:clamp(90px,15vmin,130px);background:linear-gradient(#fff9e0,#ffe9a8);border-radius:28px;display:flex;justify-content:space-around;align-items:flex-end;padding-bottom:8px;box-shadow:0 6px 0 #f0c040;overflow:hidden}
.dancer{font-size:clamp(46px,8vmin,70px);display:inline-block}
.stage.on .dancer{animation:dance .6s ease-in-out infinite alternate}
@keyframes dance{0%{transform:translateY(0) rotate(-10deg)}100%{transform:translateY(-22px) rotate(10deg)}}
.pop{position:absolute;bottom:10px;font-size:44px;animation:rise 1.1s ease-out forwards;pointer-events:none}
@keyframes rise{to{transform:translateY(-110px) scale(1.4);opacity:0}}
.songquiz{width:100%;max-width:900px;background:#fff8e8;border-radius:28px;padding:14px;box-shadow:0 6px 0 #d8c8a0;margin-top:10px;animation:pop .4s}
.qline{font-size:clamp(24px,4vmin,36px);font-weight:800;text-align:center;margin-bottom:6px;min-height:1.2em}
.micbar{margin-top:10px;background:#c070ff;color:#fff;border-radius:40px;padding:10px 26px;font-size:clamp(20px,3.2vmin,28px);font-weight:800;display:flex;align-items:center;gap:12px;animation:pulse 1.2s infinite}
.micicon{font-size:1.6em}
.vidwrap{width:100%;max-width:820px;position:relative;display:flex;justify-content:center;align-items:center}
video.vid{width:100%;max-width:820px;border-radius:28px;background:#000;box-shadow:0 8px 0 #888}
.vidwrap .big{position:absolute}
.said{color:#2a9a50;background:#c8f7c8;border-radius:12px;padding:2px 12px}

/* overlay / toast / parent */
#overlay{position:fixed;inset:0;background:#fff6d5;z-index:10;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:24px;overflow:hidden}
#overlay.celebrate{background:#fff6d5 url(img/ui/bg-celebrate.png) center bottom/cover no-repeat}
#overlay .row .big.ico:only-child{width:clamp(120px,22vmin,168px);height:clamp(120px,22vmin,168px);min-width:clamp(120px,22vmin,168px);min-height:clamp(120px,22vmin,168px);font-size:clamp(52px,11vmin,84px)}
#overlay .bigE{font-size:clamp(110px,22vmin,180px);animation:pop .6s}
#overlay h2{font-size:clamp(28px,5vmin,46px)}
#overlay .tip{font-size:clamp(20px,3.2vmin,28px);color:#3a2e1f}
#toast{position:fixed;left:50%;top:40%;transform:translate(-50%,-50%);font-size:clamp(70px,14vmin,120px);z-index:20;pointer-events:none;animation:pop .5s}
.parent{font-size:15px;color:#7a6a55;margin-top:16px;text-align:left;line-height:1.6;max-width:720px;background:rgba(255,255,255,.75);border-radius:20px;padding:14px 18px}
.small{font-size:16px;padding:10px 18px;min-height:48px;background:#fff;border-radius:30px;box-shadow:0 4px 0 #ddd;margin:6px}
.conf{position:absolute;top:-20px;width:12px;height:18px;border-radius:3px;animation:fall 2.5s linear forwards;pointer-events:none}
@keyframes fall{to{top:110%;transform:rotate(720deg) translateX(40px)}}
@keyframes pop{0%{transform:scale(.2) rotate(-30deg)}70%{transform:scale(1.2)}100%{transform:scale(1)}}
@keyframes pulse{50%{transform:scale(1.07)}}
.rate{font-size:clamp(44px,8vmin,70px);letter-spacing:6px}
.dim{filter:grayscale(1);opacity:.3}
.mstars{font-size:clamp(16px,2.6vmin,22px);letter-spacing:2px}
.parentrow{margin-top:8px}
.newwords{font-size:clamp(22px,3.6vmin,32px);font-weight:800;color:#2a9a50}

/* 颜色块与组合图工具类（教材 SVG 仍在用） */
.c1{background:#ffe27a}.c2{background:#ffb4a8}.c3{background:#b8f0c0}.c4{background:#c6d8ff}.c5{background:#ffd0f0}.c6{background:#d6c4ff}.c7{background:#a8ecf0}.c8{background:#ffe0b8}
.onp{display:inline-flex;flex-direction:column;align-items:center;line-height:.85;vertical-align:middle}
.onp .o1{font-size:.6em;margin-bottom:-.18em;position:relative;z-index:1}
.onp .o2{font-size:.8em}
.onp svg{width:1em;height:1em}
.sz{display:inline-flex;align-items:flex-end;justify-content:center;height:1.1em;line-height:1}
.sz.szb{font-size:1.1em}.sz.szl{font-size:.45em;padding-top:.6em}
.sz svg{width:1em;height:1em}
.seq{display:inline-block;width:1.6em;height:1.6em;vertical-align:middle}.seq svg{width:100%;height:100%}

/* 生词本 / 家长页 */
.chips{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin:10px 0}
.chip{background:#fff;border-radius:999px;padding:10px 18px;font-size:clamp(16px,2.4vmin,20px);font-weight:800;color:#7a6a55;box-shadow:0 4px 0 #d8c8a0;min-height:48px}
.chip.on{background:#ffd84d;color:#5a4a20;box-shadow:0 4px 0 #d8a820}
.vsec{font-size:clamp(20px,3vmin,26px);margin:16px 0 8px;color:#e0603a;text-align:center}
.vsec.ok{color:#2a9a4a}
.vcard{position:relative;padding-top:26px}
.vcard .utag{position:absolute;top:8px;left:10px;font-size:13px;font-weight:800;background:#3a9cf0;color:#fff;border-radius:8px;padding:2px 6px}
.vcard .wbadge{position:absolute;top:8px;right:8px;font-size:13px;font-weight:800;background:#ffe0d6;color:#d04a20;border-radius:8px;padding:2px 6px}
.vcard .wbadge.ok{background:none;font-size:20px;top:4px}
.vcard .dots{font-size:16px;margin-top:4px;color:#2a9a4a;font-weight:800}
.vcard.mastered{background:#effbef;box-shadow:0 6px 0 #9ad8a6}
.vempty{font-size:clamp(110px,22vmin,180px);text-align:center;animation:pop .6s}
.themes{display:flex;flex-wrap:wrap;gap:14px;justify-content:center;margin:10px 0 16px}
.themebtn{width:clamp(88px,16vmin,120px);height:clamp(88px,16vmin,120px);border-radius:28px;background:#fff;font-size:clamp(44px,8vmin,64px);box-shadow:0 6px 0 #d8c8a0}
.themebtn.on{background:#ffd84d;box-shadow:0 0 0 6px #fff,0 0 0 10px #ffd84d,0 6px 0 #d8a820;animation:pulse 1.5s ease-in-out infinite}
.parentacts{margin-top:6px}
.big.vocab{background:#9b5de5;box-shadow:0 6px 0 #6a3aa8}
#app.lesson{padding-bottom:max(24px, env(safe-area-inset-bottom))}
#app.parentmode{padding-bottom:28px}

/* 点点动图：GIF 是 480×480 正方形，底下带字，不用 PNG 的比例 */
.hero.gif{aspect-ratio:1/1;object-fit:contain}
.goplay.gif{animation:none}
.hero.start.gif{width:min(64vw,360px)}
.hero.lg.gif{width:clamp(220px,46vmin,340px)}
#buddy .buddyimg.gif{aspect-ratio:1/1}
#buddy.buddy-clap{height:min(40vh,320px)}
.goplay.gif .pulse{top:42%;width:66%;padding-bottom:66%}

@media (min-width:768px){
  #top{min-height:96px}
  #heroTop,#top .hero.mini{height:80px}
  #homeBtn:not(.hidden)~#heroTop{height:54px}
  .iconbtn{width:60px;height:60px;font-size:30px}
  .hero.start{width:min(38vw,340px)}
  .hero.start.gif{width:min(52vw,440px)}
  .big.ico{width:128px;height:128px;min-width:128px;min-height:128px;font-size:62px}
  #buddy.buddy-listen{height:min(46vh,380px)}
  #buddy.buddy-point{height:min(26vh,210px)}
}
@media (min-width:768px) and (orientation:landscape){
  .hero.start{width:min(28vw,280px)}
  .hero.start.gif{width:min(36vw,52vh,400px)}
  #buddy.buddy-listen{height:min(48vh,300px)}
}
/* 横屏时把点点收到底边，避免挡住选项 */
@media (orientation:landscape){
  #buddy.buddy-point{left:8px;bottom:calc(4px + env(safe-area-inset-bottom));height:min(16vh,112px)}
  #buddy.buddy-point .hand{font-size:28px;right:-6px;top:10%}
  #app.lesson{padding-bottom:calc(min(16vh,112px) + 20px + env(safe-area-inset-bottom))}
  .opts .opt{min-height:clamp(130px,30vh,220px);font-size:clamp(72px,16vh,150px)}
  .opts.n2 .opt{min-height:clamp(140px,32vh,230px);font-size:clamp(80px,18vh,160px)}
  .opts.n1 .opt{min-height:clamp(150px,34vh,250px)}
}
@media (orientation:landscape) and (max-height:500px){
  #buddy.buddy-point{height:min(14vh,72px)}
  #app.lesson{padding-bottom:calc(min(14vh,72px) + 24px + env(safe-area-inset-bottom))}
  .opts .opt,.opts.n2 .opt,.opts.n1 .opt{min-height:clamp(96px,24vh,150px);font-size:clamp(52px,13vh,110px)}
}
.songplay.needplay{box-shadow:0 0 0 8px rgba(255,216,77,.8),0 8px 0 #1e7d3a;animation:glow 1.2s ease-in-out infinite}
.extrasongs{width:100%;max-width:720px;margin:10px auto 0;display:flex;flex-direction:column;align-items:stretch;gap:10px}
.extrasongs .songnote{margin-top:0}
.extrasongbtn{display:flex;align-items:center;gap:14px;width:100%;text-align:left;background:#fff8e8;border-radius:24px;padding:12px 16px;box-shadow:0 5px 0 #d8c8a0}
.extrasongbtn .e{font-size:clamp(32px,6vmin,44px);line-height:1}
.extrasongbtn .songmeta{display:flex;flex-direction:column;gap:2px}
.extrasongbtn .songmeta b{font-size:clamp(18px,3.2vmin,22px);color:#3a2f22}
.extrasongbtn .songmeta small{font-size:clamp(14px,2.4vmin,16px);color:#7a6a55;font-weight:700}
.songcredit{margin:8px 0 0;font-size:clamp(16px,2.8vmin,20px);font-weight:800;color:#5a4a38;text-align:center}
.migrate-box{width:100%;max-width:720px;margin:14px auto 8px;padding:16px 18px 18px;background:#fff8e8;border-radius:24px;box-shadow:0 5px 0 #d8c8a0;text-align:left}
.migrate-box h4{font-size:clamp(18px,3.2vmin,22px);margin:0 0 8px;color:#3a2f22}
.migrate-box .hint{font-size:15px;line-height:1.55;margin:0 0 12px;color:#7a6a55}
.migrate-actions{display:flex;gap:12px;flex-wrap:wrap}
.migrate-actions .small{font-size:16px;padding:10px 18px;min-height:48px}
#migrateMsg{margin:10px 0 0}
.mig-mask{display:none;position:fixed;inset:0;background:rgba(50,30,15,.45);z-index:80;align-items:center;justify-content:center;padding:16px}
.mig-mask.on{display:flex}
.mig-card{width:min(92vw,640px);max-height:min(88vh,820px);overflow:auto;background:#fffdf8;border-radius:24px;box-shadow:0 8px 0 #d8c8a0;padding:20px 18px 18px;color:#3a2f22}
.mig-card h3{font-size:clamp(20px,3.6vmin,26px);margin:0 0 10px}
.mig-card p{font-size:16px;line-height:1.55;margin:0 0 10px;color:#5a4a38}
.mig-stats{background:#fff;border-radius:16px;padding:12px 14px;margin:0 0 12px;font-size:16px;line-height:1.6;box-shadow:0 3px 0 #eee}
.mig-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:8px}
.mig-actions .small.green{background:#e8f8e8}
