:root{--ink:#292337;--purple:#7851bf;--muted:#696474;--paper:#fbfaf7;--line:#e6e1e8;--spring:cubic-bezier(.22,1.55,.36,1);font-family:"Segoe UI","Microsoft YaHei","PingFang SC",system-ui,sans-serif;color:var(--ink);background:var(--paper);font-size:16px}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:28px}body{margin:0}button,a{touch-action:manipulation;-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer}button:disabled{cursor:default;opacity:.5}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #6338ab;outline-offset:4px}.icon{width:1.17em;height:1.17em;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}.wrap{width:min(1280px,calc(100% - clamp(40px,9vw,144px)));margin:auto}header{border-bottom:1px solid var(--line);background:var(--paper)}.top{height:77px;display:flex;align-items:center;justify-content:space-between;gap:18px}.brand{display:inline-flex;align-items:center;gap:10px}.brand b,footer>b{font-family:"Trebuchet MS",system-ui,sans-serif;font-size:31px;letter-spacing:-2px;font-weight:900}.brand b span,footer>b span{color:#9572c7}.brandmark{display:flex;align-items:center;justify-content:center;gap:3px;transform:rotate(-7deg);width:40px;height:39px;border-radius:14px 14px 12px 12px;background:linear-gradient(145deg,#ae8ee7,#8053ba);box-shadow:inset 0 -3px 0 #7654aa55}.brandmark i{height:15px;width:5px;border-radius:5px;background:#fff}.brandmark i:nth-child(2){height:23px}.brandmark i:last-child{height:11px}nav{display:flex;align-items:center;gap:clamp(18px,3.2vw,52px)}nav a,nav button{font-size:.94rem;font-weight:650;background:transparent;border:0;padding:12px 0;color:#686271}nav .current{position:relative;color:#754db5}nav .current:after{content:"";position:absolute;bottom:2px;left:calc(50% - 8px);height:3px;width:16px;border-radius:9px;background:#9474c6}.sound,.secondary,.primary,.themes button,.small-btn,.dialog-btn,.close{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:0}.sound{background:#fff;border:1px solid #e0dce2;padding:9px 15px;border-radius:22px;font-size:.875rem;font-weight:650}.sound .icon{color:var(--purple)}.hero{isolation:isolate;position:relative;overflow:hidden;margin-top:25px;border-radius:32px;background:linear-gradient(100deg,#f3eaff 0%,#eddefa 38%,#e5d0fa 66%,#e4cdfb);box-shadow:inset 0 0 0 1px #d7c2e888;min-height:420px;display:flex;align-items:center}.hero-art{position:absolute;z-index:-1;inset:0 0 0 auto;width:60%;background:url(hero.webp) center center/cover no-repeat;mask-image:linear-gradient(to right,transparent,#000 14%);transition:transform .6s ease-out;transform:scale(1.025) translate(var(--px,0),var(--py,0))}.hero-copy{padding:34px 0 38px clamp(28px,4.4vw,70px);width:49%}.eyebrow{display:inline-flex;align-items:center;gap:7px;font-size:.82rem;letter-spacing:.04em;font-weight:700;color:#7550a0;background:#ffffffa6;border:1px solid #ffffffcc;border-radius:20px;padding:6px 12px}.eyebrow .icon{width:16px;height:16px}.hero h1{font-size:clamp(54px,5.3vw,81px);font-weight:950;letter-spacing:-.075em;line-height:1.1;margin:17px 0 14px}.hero h1 em{color:#8154c5;font-style:normal}.period,.comma{letter-spacing:-.4em}.hero p,.section-head p,.reader p{color:#5e5669;line-height:1.75;margin:0}.hero p{font-size:clamp(15px,1.12vw,18px)}.hero-actions{display:flex;gap:12px;margin-top:23px}.primary,.secondary,.dialog-btn{font-size:.95rem;font-weight:700;padding:13px 21px;border-radius:14px;transition:transform .2s,box-shadow .2s}.primary,.dialog-btn{background:#352840;color:white;box-shadow:0 3px 0 #261a3480}.primary:hover,.secondary:hover,.dialog-btn:hover{transform:translateY(-2px)}.secondary{background:#ffffffc9;border:1px solid #cbbada}.secondary .icon{width:15px}.art-caption{position:absolute;right:20px;bottom:16px;background:#fffaf2df;border:1px solid #ffffffaa;border-radius:16px;padding:6px 11px;font-size:.75rem;font-weight:700;display:flex;align-items:center;gap:7px;color:#664f71;backdrop-filter:blur(6px)}.tiny-orb{height:9px;width:9px;background:#ad83df;border-radius:50%}.playground{margin-top:39px}.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:20px}.kicker{display:flex;align-items:center;gap:8px;color:#8057ab;font:750 .75rem/1.2 "Segoe UI",sans-serif;letter-spacing:.15em}.kicker>span{height:3px;width:18px;border-radius:2px;background:#b18ad8}h2{font-size:clamp(28px,2.4vw,38px);line-height:1.2;letter-spacing:-.045em;margin:8px 0}.section-head p{font-size:.95rem}.themes{display:flex;align-items:center;gap:2px;border-radius:40px;background:#efedf0;padding:4px;border:1px solid #e7e3e8}.themes button{background:none;border-radius:30px;color:#625b68;padding:8px 15px;font-size:.875rem;font-weight:650;gap:6px}.themes button[aria-pressed=true]{background:white;box-shadow:0 2px 5px #44385522;color:#744d9f}.themes .icon{width:16px;height:16px}
.deck{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:12px}.note{--light:color-mix(in srgb,var(--h) 17%,white);position:relative;isolation:isolate;padding:15px 8px 17px;border:1px solid color-mix(in srgb,var(--h) 39%,#ece7eb);background:linear-gradient(150deg,color-mix(in srgb,var(--h) 12%,white),var(--light));border-radius:21px;display:flex;flex-direction:column;align-items:center;transition:transform .24s var(--spring),box-shadow .2s;min-width:0}.note:hover,.note:focus-visible{transform:translateY(-4px);box-shadow:0 7px 15px #3c264511}.note.playing{box-shadow:0 0 0 2px var(--h),0 8px 20px color-mix(in srgb,var(--h) 35%,transparent)}.note .key{position:absolute;top:10px;left:11px;color:var(--deep);border:1px solid color-mix(in srgb,var(--h) 39%,white);background:#ffffff8c;border-radius:7px;font:650 .75rem/20px system-ui;min-width:22px}.note-title{font:850 clamp(25px,2.25vw,35px)/1.12 "Trebuchet MS",system-ui,sans-serif;letter-spacing:-1.5px;color:var(--deep)}.note-meta{font-size:.81rem;color:#5c5364;margin-top:5px;font-weight:550}.stage{position:relative;width:100%;height:98px;display:grid;place-items:end center;margin:6px 0 10px}.shadow{position:absolute;width:64%;max-width:92px;height:12px;bottom:0;background:radial-gradient(ellipse,var(--h),transparent 68%);opacity:.65;filter:blur(2px)}.mascot{position:relative;transform-origin:center bottom;width:clamp(62px,6.3vw,95px);height:clamp(51px,5.05vw,77px);border-radius:45% 46% 33% 35% / 60% 62% 32% 32%;background:radial-gradient(ellipse at 28% 18%,#ffffffe8 1%,#ffffff87 8%,transparent 21%),radial-gradient(ellipse at 79% 30%,#ffffff78,transparent 29%),radial-gradient(ellipse at 52% 85%,#ffffff44,transparent 46%),linear-gradient(155deg,color-mix(in srgb,var(--h) 55%,white),var(--h) 75%,color-mix(in srgb,var(--h) 83%,#65466b));box-shadow:inset 3px 4px 5px #ffffff89,inset -4px -6px 7px #6a35552e,inset 0 -2px 1px #fff8,0 2px 1px #a7667d30;border:1px solid #ffffff91;animation:breathe 4s ease-in-out var(--delay) infinite}.face{position:absolute;top:53%;left:50%;width:41%;height:20%;transform:translate(-50%,-50%);color:#382b39}.face:before,.face:after{content:"";position:absolute;top:0;width:15%;height:52%;border-radius:50%;background:radial-gradient(circle at 35% 26%,#fff 0 10%,transparent 19%),#382b39}.face:before{left:0}.face:after{right:0}.mouth{position:absolute;left:38%;top:36%;width:26%;height:49%;border-bottom:2px solid;border-radius:0 0 90% 90%}.blush{position:absolute;left:-15%;top:50%;height:38%;width:25%;border-radius:50%;background:#f18c8b9c;box-shadow:calc(clamp(62px,6.3vw,95px)*.44) 0 0 #f18c8b9c}.note:nth-child(2) .mascot{border-radius:46% 56% 27% 29% / 75% 76% 28% 25%;height:76%}.note:nth-child(3) .mascot{border-radius:52% 50% 34% 35%;height:65%}.note:nth-child(4) .mascot{border-radius:35% 36% 23% 23%;width:67%;height:66%}.note:nth-child(5) .mascot{border-radius:59% 40% 36% 32%;height:75%}.note:nth-child(6) .mascot{border-radius:42% 42% 30% 28%;height:77%}.note:nth-child(7) .mascot{border-radius:50% 55% 45% 42%;height:62%}.note:nth-child(3n) .mouth{background:#5b3843;border:0;height:32%}.note:nth-child(2n) .face:before{height:34%;background:transparent;border-top:2px solid}.note.playing .mascot{animation:boing .6s both}.deck-foot{display:flex;align-items:center;justify-content:space-between;color:#766f7c;font-size:.8125rem;margin-top:13px}.deck-foot>span{display:flex;align-items:center;gap:5px}kbd{font:inherit;border:1px solid var(--line);border-radius:4px;padding:0 4px;background:#fff}.reader{margin:30px 0 18px;padding:25px 32px;border:1px solid var(--line);border-radius:24px;background:#fff;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:16px}.reader h2{font-size:26px}.note-info{display:flex;align-items:center;gap:10px}.note-info b{font:800 25px "Trebuchet MS",sans-serif;color:var(--purple)}.note-info span{font-size:14px}.reader p{font-size:14px;margin-top:5px}#staff{background:#f8f5fb;border-radius:16px}.staffsvg{display:block;width:100%;height:125px}.activities{display:grid;grid-template-columns:1fr 1fr;gap:16px}.activities button{display:flex;align-items:center;text-align:left;gap:14px;padding:20px;border-radius:19px;border:1px solid var(--line);background:#fff}.activities button:hover{border-color:#b898d1}.activities button>span:nth-child(2){flex:1}.activities b,.activities small{display:block}.activities b{font-size:18px}.activities small{color:var(--muted);font-size:.875rem;margin-top:3px}.tile-icon{width:48px;height:48px;background:#f1e7fc;color:#8956c1;border-radius:15px;display:grid;place-items:center;font-size:22px}.mint{background:#dcf2ec;color:#33866f}footer{display:flex;align-items:center;gap:22px;padding:32px 0;color:#66606f;font-size:.85rem}footer>b{margin-right:auto;font-size:22px;color:var(--ink)}footer button{display:flex;align-items:center;gap:5px;background:none;border:0;font-size:inherit}footer button[aria-pressed=true]{color:var(--purple);font-weight:bold}
body[data-mode=bubble] .mascot{border-radius:50%;height:clamp(61px,6.3vw,95px);width:clamp(61px,6.3vw,95px);background:radial-gradient(circle at 27% 23%,#fff 0 4%,transparent 10%),radial-gradient(circle at 70% 75%,#fff9,transparent 22%),radial-gradient(ellipse at 48% 51%,#ffffff40 27%,color-mix(in srgb,var(--h) 70%,white) 69%,#fff 77%,var(--h));box-shadow:inset -3px -3px 6px var(--h),inset 2px 2px 5px white}body[data-mode=star] .mascot{width:clamp(70px,7vw,99px);height:clamp(70px,7vw,99px);clip-path:polygon(50% 0,66% 29%,99% 36%,76% 61%,80% 94%,50% 80%,19% 94%,23% 61%,0 36%,34% 29%);border-radius:0}body[data-mode=star] .stage{filter:drop-shadow(0 3px 1px color-mix(in srgb,var(--h) 40%,transparent))}.particle{pointer-events:none;position:absolute;z-index:8;left:50%;top:43%;font-weight:800;color:var(--deep);animation:fly .65s ease-out both}.particle.bubble{border:2px solid var(--h);width:12px;height:12px;border-radius:50%;background:#fff6}@keyframes fly{from{opacity:1;transform:translate(-50%,-50%) scale(.5)}to{opacity:0;transform:translate(var(--dx),var(--dy)) rotate(var(--spin)) scale(1.15)}}@keyframes breathe{0%,100%{transform:scale(1,1)}50%{transform:scale(1.035,.96)}}@keyframes boing{0%{transform:scale(1.2,.73)}36%{transform:translateY(-11px) scale(.9,1.13)}68%{transform:scale(1.07,.93)}100%{transform:none}}
dialog{padding:0;border:1px solid #ddd3e7;border-radius:27px;width:min(590px,calc(100% - 28px));max-height:88dvh;color:var(--ink);background:#fffcff;box-shadow:0 24px 90px #28153840;overscroll-behavior:contain}dialog::backdrop{background:#2b193b66;backdrop-filter:blur(5px)}dialog[open]{animation:enter .22s ease-out}.dialog-wrap{padding:clamp(23px,4vw,38px);position:relative}.close{position:absolute;right:17px;top:16px;padding:10px;border-radius:50%;background:#f1edf3}.dialog-wrap h2{margin:12px 0 8px}.dialog-wrap p{line-height:1.6;color:var(--muted);margin:8px 0 17px}.modal-actions,.composer-keys,.answers,.melody-tools{display:flex;flex-wrap:wrap;gap:8px}.dialog-btn{font-size:14px;padding:10px 16px}.small-btn,.answers button{background:white;border:1px solid var(--line);border-radius:11px;padding:9px 12px;font-size:.9rem;font-weight:650}.composer-keys{margin:16px 0}.composer-keys button,.chip{border:none;border-radius:12px;background:color-mix(in srgb,var(--h) 25%,white);color:var(--deep);font-weight:750;padding:11px 0}.composer-keys button{flex:1;min-width:36px}.sequence{display:flex;align-content:flex-start;flex-wrap:wrap;gap:7px;min-height:85px;margin:12px 0;background:#f6f2f8;border:1px dashed #cfc1dc;border-radius:15px;padding:12px}.sequence:empty:before{content:"点下方的音，把它放进乐句里";color:#766d80;font-size:.88rem}.chip{padding:6px 10px;align-self:flex-start}.chip.active{outline:2px solid var(--deep);transform:translateY(-2px)}.melody-tools{margin:15px 0 0;align-items:center;justify-content:space-between;color:var(--muted);font-size:.86rem}.modal-actions{margin-top:16px}.quiz-panel{background:#f4eef9;border-radius:16px;padding:17px;margin:14px 0}.quiz-panel h3{margin:0 0 10px;font-size:19px}.quiz-panel .staffsvg{background:#fcfaff;border-radius:12px}.answers button:hover{border-color:var(--purple)}.answers button.right{color:#146646;background:#dcf6e7}.answers button.wrong{color:#7c354d;background:#fbe6eb}.feedback{min-height:23px;font-weight:600;font-size:.93rem;color:#655075}.dialog-wrap .feedback{margin:10px 0}.tracks{display:flex;gap:6px;margin:16px 0}.tracks i{background:#e7dfed;flex:1;height:5px;border-radius:8px}.tracks i.done{background:#9670c0}#audio-status:not(:empty){position:fixed;bottom:14px;left:50%;transform:translateX(-50%);padding:8px 14px;background:#30243b;color:white;border-radius:12px;z-index:10}.desk{display:initial}@keyframes enter{from{opacity:0;transform:translateY(10px) scale(.98)}to{opacity:1;transform:none}}
@media(min-width:1500px){.hero{min-height:460px}.stage{height:110px}.note{padding-bottom:22px}}@media(max-width:980px){.wrap{width:calc(100% - 48px)}.top{height:68px}.hero{min-height:360px}.hero-copy{padding-left:30px}.hero-art{width:58%}.hero h1{font-size:55px}.deck{gap:7px}.note{border-radius:16px}.stage{height:81px}.note .key{left:7px;top:7px}.themes button{padding:7px 12px}.brand b{font-size:27px}}@media(max-width:700px){.wrap{width:calc(100% - 32px)}.top{height:60px;gap:10px}.brandmark{width:33px;height:32px;border-radius:11px}.brand{gap:6px}.brand b{font-size:24px}.top nav{gap:12px;margin-left:auto}.top nav a{display:none}.top nav button{font-size:13px;white-space:nowrap}.sound{padding:8px}.sound span{display:none}.hero{margin-top:14px;border-radius:24px;min-height:0;display:block;background:linear-gradient(180deg,#f2e6fd,#e5d0fa 90%)}.hero-copy{width:100%;padding:26px 24px 0;position:relative;z-index:1;pointer-events:none}.hero-actions{pointer-events:auto}.hero h1{font-size:clamp(45px,8.4vw,58px);line-height:1.15;margin:12px 0}.hero h1 br{display:none}.hero .comma{letter-spacing:-.13em}.hero p{font-size:15px}.desk{display:none}.hero-art{position:relative;inset:auto;width:100%;height:auto;aspect-ratio:1.98;background-size:cover;background-position:center 49%;mask-image:linear-gradient(to bottom,transparent,#000 18%);transform:none}.hero{display:flex;flex-direction:column;align-items:stretch}.hero-art{order:2;margin-top:2px}.hero-actions{margin-top:14px}.primary,.secondary{padding:10px 15px;font-size:14px}.art-caption{z-index:2;bottom:9px;right:9px}.playground{margin-top:28px}.section-head{align-items:start;flex-direction:column;margin-bottom:15px;gap:11px}.section-head h2{font-size:29px}.themes button{padding:6px 16px}.deck{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.stage{height:70px;margin:4px 0 6px}.mascot{width:62px;height:50px}.note{padding:9px 4px 10px}.note-title{font-size:25px}.note-meta{font-size:12px}.note .key{min-width:17px;line-height:16px;font-size:11px;top:5px;left:6px}.deck-foot{align-items:center;gap:6px;font-size:12px;flex-wrap:wrap}.reader{padding:20px;grid-template-columns:1fr;margin-top:20px}.activities{grid-template-columns:1fr;gap:10px}.activities button{padding:14px}footer{gap:14px}.hero .eyebrow{font-size:.75rem}.staffsvg{height:114px}}
@media(max-width:360px){.top nav{gap:8px}.wrap{width:calc(100% - 20px)}.hero-copy{padding-left:17px}.deck{gap:5px}.hero h1{font-size:39px}.stage{transform:scale(.9)}footer{gap:8px}}body.reduced *,body.reduced *:before,body.reduced *:after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition:none!important}.reduced .hero-art{transform:none}.reduced .particle{display:none}html:has(body.reduced){scroll-behavior:auto}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
[hidden]{display:none!important}
@media(min-width:701px){.hero-art{width:auto;max-width:61%;height:100%;aspect-ratio:1.55;background-size:cover}}
@media(max-width:700px){.hero h1 em{white-space:nowrap}.hero h1 br{display:initial}.hero-art{aspect-ratio:1.65}}
.pitch-ribbon{position:absolute;z-index:0;bottom:8%;left:38%;width:26%;height:50%;pointer-events:none;overflow:visible;opacity:.85}.pitch-ribbon path{fill:none;stroke-linecap:round;stroke-width:3;stroke-dasharray:1;stroke-dashoffset:1;animation:ribbon .85s ease-in-out both}.pitch-ribbon text{font:bold 23px Georgia,serif;animation:rise-note .8s ease-out both}.reader .staffsvg .notehead{transform-box:fill-box;transform-origin:center;animation:ink-in .35s var(--spring)}@keyframes ribbon{0%{stroke-dashoffset:1;opacity:0}40%{opacity:.8}70%{stroke-dashoffset:0}100%{stroke-dashoffset:0;opacity:0}}@keyframes rise-note{0%{opacity:0;transform:translateY(12px)}30%{opacity:1}100%{opacity:0;transform:translateY(-16px)}}@keyframes ink-in{from{opacity:.25;scale:.6}to{opacity:1;scale:1}}@media(max-width:700px){.pitch-ribbon{bottom:2%;left:0;width:45%;height:30%}}.reduced .pitch-ribbon{display:none}.deck{touch-action:pan-y}.note{user-select:none}
