:root{color-scheme:light;--ink:#252b47;--soft:#6c7392;--purple:#6d55bd;--cream:#faf8ff;--line:#e9e6f3;--white:#fff;--pink:#ff638b}*{box-sizing:border-box}html{min-height:100%;background:#f9f7ff}body{margin:0;min-height:100vh;font-family:ui-rounded,"Trebuchet MS",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:radial-gradient(ellipse at 15% 8%,#ffedf5 0,transparent 38%),radial-gradient(ellipse at 87% 32%,#e9eaff 0,transparent 41%),#f9f7ff}button{font:inherit;cursor:pointer}button:focus-visible,a:focus-visible{outline:4px solid #6a50c4;outline-offset:4px}button:disabled{cursor:default}.wrap{width:min(100% - 40px,980px);margin:0 auto}.topbar{display:flex;align-items:center;justify-content:space-between;padding:25px 0 15px}.home-link{display:flex;align-items:center;gap:10px;color:#302a4b;text-decoration:none;font-weight:900;font-size:20px;letter-spacing:-.8px}.logo{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:#6d55d1;color:#fff;font-size:25px;font-family:monospace}.site-dot{color:#8c83bd}.sound{border:1px solid #e5dff2;border-radius:99px;padding:11px 17px;background:#fff;color:#4b426d;font-weight:800;box-shadow:0 4px 13px #352c5b0b;display:flex;align-items:center;gap:7px}.masthead{text-align:center;padding:20px 0 28px}.eyebrow{font-size:11px;font-weight:900;letter-spacing:2px;color:#7564b8}.masthead h1{font-size:clamp(55px,9vw,94px);line-height:1.03;letter-spacing:-5px;margin:11px 0 9px;font-weight:1000}.masthead h1 em{font-style:normal;color:#fc6494}.head-sparkle{font-size:30px;color:#e1af47;vertical-align:top;margin-left:7px;letter-spacing:0}.masthead p{color:#666c89;font-size:clamp(15px,2.2vw,19px);margin:0 auto;max-width:580px;line-height:1.6}.mini-beats{display:flex;justify-content:center;align-items:center;gap:7px;margin-top:20px;height:25px}.mini-beats span{width:9px;height:9px;background:#9b8de1;border-radius:99px}.mini-beats span:nth-child(2){height:20px;background:#ff83a7}.mini-beats span:nth-child(3){height:13px;background:#ffca67}.mini-beats span:nth-child(4){height:23px;background:#8cceab}.mini-beats span:nth-child(5){height:10px;background:#94bfe9}.chooser{text-align:center;padding:0 0 10px}.section-heading{margin-bottom:25px}.pill{display:inline-block;border-radius:99px;padding:8px 15px;background:#ece5ff;color:#6850b8;font-size:11px;font-weight:900;letter-spacing:1.1px}.section-heading h2{font-size:clamp(26px,4vw,37px);margin:12px 0 5px;letter-spacing:-1.2px}.section-heading p{color:var(--soft);margin:0}.level-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.level-card{text-align:left;min-height:306px;border:2px solid #ece6f5;border-radius:27px;padding:15px 18px 18px;background:#fff;color:var(--ink);box-shadow:0 12px 25px #3c34650b;display:flex;flex-direction:column;align-items:stretch;transition:transform .15s,box-shadow .15s,border-color .15s}.level-card:hover{transform:translateY(-4px);box-shadow:0 15px 30px #3c34651a;border-color:#cfb5ff}.level-art{height:105px;border-radius:18px;display:flex;align-items:center;justify-content:center;font-size:63px;gap:10px}.level-art span{font-size:24px;font-weight:1000}.art-one{background:#e5f7e6;color:#46a778}.art-two{background:#fff1d6;color:#e2a236}.art-three{background:#e5efff;color:#5a85d4}.level-number{font-size:11px;font-weight:1000;color:#7457b7;letter-spacing:1px;margin:16px 0 6px}.level-number small{float:right;color:#9293a5;font-size:10px}.level-card strong{font-size:23px;letter-spacing:-.8px}.level-card>span:nth-last-child(2){color:#707692;font-size:14px;line-height:1.55;margin:7px 0 16px}.card-action{margin-top:auto;border-top:1px solid #efecf5;padding-top:13px;color:#7555c1;font-weight:900;display:flex;justify-content:space-between}.gentle-note{color:#7f7b92;font-size:13px;margin:22px 0}.footer{text-align:center;padding:28px 0 32px;color:#9191aa;font-size:12px}.footer span{color:#c5a152}.game{padding:0 0 10px}.game-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:14px}.text-button{background:transparent;border:0;color:#65518a;font-weight:900;padding:10px 5px}.game-mode{font-weight:1000;font-size:20px;letter-spacing:-.6px}.round-pill{background:#fff;border:1px solid #e9e6f2;border-radius:100px;padding:9px 13px;color:#746b9a;font-size:11px;letter-spacing:.5px;font-weight:900}.round-progress{display:flex;gap:7px;justify-content:center;margin:14px auto 18px}.round-dot{width:24px;height:8px;border-radius:99px;background:#e6e3ef}.round-dot.done{background:#ffcc67}.round-dot.current{background:#8d77d7}.stage{position:relative;overflow:hidden;background:linear-gradient(145deg,#fff,#fbf8ff);border:2px solid #eee5fa;border-radius:32px;box-shadow:0 12px 34px #7560aa10;padding:24px 22px 20px;text-align:center;transition:border-color .2s;isolation:isolate}.stage.is-response{border-color:#b4d9c5}.stage.is-win{border-color:#ffcf70}.stage-glow{position:absolute;inset:-100px -100px auto;z-index:-1;height:350px;background:radial-gradient(ellipse,#f4e9ff 10%,transparent 70%);opacity:.7}.stage.is-response .stage-glow{background:radial-gradient(ellipse,#e6fff0 10%,transparent 70%)}.turn-tag{margin:0 auto;border-radius:99px;background:#f2e9ff;color:#6547ad;padding:8px 15px;display:inline-flex;align-items:center;gap:8px;letter-spacing:1px;font-weight:1000;font-size:11px}.stage.is-response .turn-tag{background:#e3faee;color:#218759}.stage.is-win .turn-tag{background:#fff4d9;color:#af7918}.turn-dot{width:8px;height:8px;border-radius:100%;background:currentColor;box-shadow:0 0 0 4px #ffffffb8}.conductor{position:relative;width:103px;height:101px;margin:7px auto 3px;display:grid;place-items:center}.conductor-face{font-size:85px;line-height:1;filter:drop-shadow(0 9px 4px #574d7917);transform-origin:center 72%}.stage.is-listening .conductor-face{animation:bob .5s ease-in-out infinite alternate}.baton{position:absolute;font-size:28px;color:#a080cf}.baton-left{left:-8px;top:28px;transform:rotate(-17deg)}.baton-right{right:-3px;top:18px;transform:rotate(15deg)}.stage.is-listening .baton{animation:beat .36s ease-in-out infinite alternate}.message h2{font-size:clamp(24px,3.5vw,35px);letter-spacing:-1px;margin:0}.message p{font-size:14px;color:var(--soft);margin:6px 0 2px;line-height:1.5}.animal-arc{max-width:760px;display:flex;align-items:flex-start;justify-content:center;gap:clamp(9px,2.5vw,25px);margin:22px auto 14px}.animal-pad{--shade:#dfefdf;--edge:#aedaae;--deep:#368348;position:relative;width:clamp(105px,18vw,154px);height:clamp(126px,20vw,169px);min-width:0;flex-shrink:1;border:3px solid var(--edge);border-bottom-width:8px;border-radius:35px;background:linear-gradient(#fff,var(--shade));display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;box-shadow:0 10px 0 #43406210,0 17px 22px #4b4a6a13;touch-action:manipulation;user-select:none;-webkit-user-select:none;transition:transform .12s,border-color .12s,box-shadow .12s,filter .12s}.animal-pad:nth-child(1),.animal-pad:nth-child(4){margin-top:25px}.animal-pad:nth-child(2),.animal-pad:nth-child(3){margin-top:0}.animal-pad.lion{--shade:#fff3d6;--edge:#ebcb72;--deep:#a77016}.animal-pad.bird{--shade:#e0f2ff;--edge:#92c8ed;--deep:#3f7faf}.animal-pad.monkey{--shade:#f8e8de;--edge:#d9ad8d;--deep:#a46b43}.pad-face{display:block;font-size:clamp(48px,7vw,73px);line-height:1.06;filter:drop-shadow(0 6px 3px #0000000c)}.pad-name{font-size:clamp(14px,2vw,20px);font-weight:1000;color:var(--deep)}.pad-hint{font-size:11px;color:#8d8ba1}.pad-stars{position:absolute;right:13px;top:8px;color:#fff;font-size:25px;opacity:0}.animal-pad:disabled{opacity:1}.stage.is-listening .animal-pad{filter:saturate(.72)}.animal-pad.is-playing,.animal-pad.is-pressed{transform:translateY(-12px) scale(1.05);border-color:#9073d6;box-shadow:0 0 0 7px #aa89df55,0 12px 28px #7d5abf33;filter:saturate(1.2);z-index:3}.animal-pad.is-playing .pad-stars,.animal-pad.is-pressed .pad-stars{opacity:1;color:#b881ec}.animal-pad.is-pressed{border-bottom-width:4px}.animal-pad.is-off{opacity:.24;filter:grayscale(.55)}.stage.is-response .animal-pad:not(:disabled):active{transform:translateY(-8px) scale(1.02)}.your-beats{display:flex;align-items:center;justify-content:center;gap:9px;min-height:45px;margin:10px 0 5px}.slot{min-width:39px;height:40px;padding:0 7px;border:2px dashed #e5dcef;border-radius:13px;display:flex;align-items:center;justify-content:center;color:#b7accb;font-size:19px}.slot.filled{background:#eff8f4;border-style:solid;border-color:#c4e8d3;color:#218d61;gap:2px}.slot .mark{font-size:12px;font-weight:1000}.slot.empty{font-size:12px}.guide-copy{color:#77768c;font-size:13px;font-weight:700;min-height:21px}.stage-actions{display:flex;justify-content:center;align-items:center;gap:12px;flex-wrap:wrap;padding:19px 0 4px}.secondary-button,.primary-button{border-radius:100px;padding:14px 22px;border:2px solid #ded4f4;background:#fff;font-weight:1000;color:#674eb0;box-shadow:0 5px 0 #ded5f3;min-width:175px}.secondary-button:disabled{opacity:.45}.primary-button{background:#6f54c7;border-color:#6f54c7;color:#fff;box-shadow:0 5px 0 #4e359d}.primary-button:not(:disabled):hover,.secondary-button:not(:disabled):hover{filter:brightness(1.05)}.hintline{text-align:center;min-height:19px;color:#858098;font-size:12px;margin:12px 0 3px}.finish{margin:0 auto;text-align:center;max-width:590px;border:2px solid #efe6fa;border-radius:32px;background:#fff;padding:30px 20px 43px;box-shadow:0 12px 35px #7160a417}.finish-stars{font-size:36px;letter-spacing:4px}.finish-fox{font-size:105px;margin:4px 0}.finish h2{font-size:clamp(34px,6vw,52px);letter-spacing:-2px;margin:15px 0 6px}.finish>p:not(.pill){color:#76718e;line-height:1.6;max-width:380px;margin:0 auto}.finish-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:16px;margin-top:28px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}[hidden]{display:none!important}@keyframes bob{from{transform:rotate(-7deg) translateY(1px)}to{transform:rotate(8deg) translateY(-5px)}}@keyframes beat{from{transform:rotate(-15deg) translateY(-3px)}to{transform:rotate(15deg) translateY(6px)}}@media(max-width:700px){.wrap{width:min(100% - 24px,600px)}.level-grid{grid-template-columns:1fr;gap:10px}.level-card{min-height:128px;display:grid;grid-template-columns:96px 1fr;grid-template-rows:repeat(3,auto);column-gap:14px;align-content:center;padding:12px}.level-art{grid-row:1 / span 4;height:110px;font-size:46px;flex-direction:column;gap:0}.level-art span{font-size:17px}.level-number{margin:0;font-size:10px}.level-card strong{font-size:21px}.level-card>span:nth-last-child(2){margin:3px 0 6px;font-size:12px}.card-action{padding:0;border:0;font-size:12px}.masthead{padding-top:13px;padding-bottom:20px}.masthead h1{letter-spacing:-3px}.animal-arc{gap:6px}.animal-pad{width:calc((100% - 18px)/4);height:clamp(114px,26vw,148px);border-radius:24px;border-width:2px;border-bottom-width:6px}.pad-face{font-size:clamp(42px,9vw,66px)}.animal-pad:nth-child(1),.animal-pad:nth-child(4){margin-top:20px}.pad-name{font-size:14px}.pad-hint{font-size:10px}.stage{padding:19px 11px}.conductor{margin:5px auto 0}.game-mode{font-size:16px}.round-pill{font-size:10px;padding:9px}.stage-actions{padding-top:14px}.footer{padding-top:23px}}@media(max-width:370px){.wrap{width:calc(100% - 16px)}.animal-pad{border-radius:18px}.pad-face{font-size:38px}.pad-name{font-size:12px}.pad-hint{font-size:9px}.game-mode{font-size:14px}.topbar{padding-top:16px}.sound{padding:9px 11px}.sound #sound-label{font-size:12px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
/* Longer native level lists stay usable on touch screens. */
.level-grid,[aria-label="Choose a level"]{flex-wrap:wrap}.level-card[data-level]{min-height:90px}.level-card[data-level="4"]{clear:both}.many-choices{grid-template-columns:repeat(3,minmax(0,1fr))!important}.shelf{flex-wrap:wrap}.dots,.round-progress{flex-wrap:wrap;gap:5px}
