@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Nunito:wght@400;600;700;800;900&display=swap');
:root{--pink:#f5a9cb;--pink2:#ffe6f1;--pink3:#fff5fa;--lav:#dcd2ff;--silver:#dfe2ef;--ink:#49364c;--muted:#8d7c91;--white:#fff;--shadow:0 18px 55px #b87fa51c;--line:#f0dbe9;--radius:24px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:linear-gradient(140deg,#fff8fc 0%,#fff 48%,#f8f5ff 100%);color:var(--ink);font-family:'DM Sans',sans-serif;min-height:100vh}button,a{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #bb8cff;outline-offset:3px}.sparkle-bg{position:fixed;inset:0;pointer-events:none;z-index:-1;background-image:radial-gradient(#f6bfd9 1.2px,transparent 1.2px),radial-gradient(#d8cfff 1px,transparent 1px);background-size:52px 52px,83px 83px;background-position:0 0,23px 30px;opacity:.32}.topbar{height:82px;max-width:1240px;padding:0 28px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid #f4e4ed}.brand{display:flex;align-items:center;gap:9px;text-decoration:none;color:var(--ink);font-size:14px;letter-spacing:.07em;font-weight:800;white-space:nowrap}.brand b{font-family:'Nunito',sans-serif;font-size:17px;color:#db78a7;letter-spacing:-.04em}.brand-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:12px;background:linear-gradient(140deg,#fff,#f8c8df);box-shadow:0 4px 12px #d995b844;color:#c96fa2;font-size:21px}nav{display:flex;gap:6px;align-items:center}.nav-btn,.sound-toggle{border:0;background:transparent;color:#8d7c91;padding:10px 13px;border-radius:14px;font-size:12px;font-weight:700;transition:.2s}.nav-btn:hover,.nav-btn.active{background:#fff0f7;color:#bf6496}.tiny-count{font-size:10px;padding:3px 5px;background:#fff;border-radius:6px;margin-left:2px}.sound-toggle{border:1px solid var(--line);background:#fff;color:#bd6c9c;white-space:nowrap}.sound-toggle span{font-size:11px;color:#8d7c91}main{max-width:1160px;margin:auto;padding:28px 28px 50px}.view{display:none;animation:fadeUp .35s ease}.view.active-view{display:block}@keyframes fadeUp{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.hero-grid{display:grid;grid-template-columns:1.02fr .98fr;gap:35px;align-items:center;min-height:475px}.hero-copy{padding:26px 0}.eyebrow{font-size:10px;letter-spacing:.17em;font-weight:800;color:#c27ca2;margin:0 0 14px}.live-dot{display:inline-block;width:7px;height:7px;background:#e98db8;border-radius:50%;box-shadow:0 0 0 4px #fce5f0;margin-right:6px}.hero-copy h1,.page-heading h1,.results-panel h1{font-family:'Nunito',sans-serif;font-size:clamp(48px,6.5vw,76px);letter-spacing:-.065em;line-height:.99;margin:0 0 17px;font-weight:900}.gradient-text{background:linear-gradient(110deg,#e18db9,#b8a5f4 55%,#8f9dd6);-webkit-background-clip:text;background-clip:text;color:transparent}.twinkle{font-size:29px;color:#bda9f3;vertical-align:top;margin-left:9px}.tagline{font-family:'Nunito',sans-serif;font-size:19px;font-weight:800;margin:0 0 12px}.intro{color:var(--muted);font-size:14px;line-height:1.8;max-width:430px}.hero-actions{display:flex;align-items:center;gap:11px;flex-wrap:wrap;margin-top:24px}.primary-btn,.secondary-btn{border:0;border-radius:14px;padding:13px 19px;font-weight:800;font-size:12px;transition:transform .18s,box-shadow .18s}.primary-btn{background:linear-gradient(110deg,#e994bd,#c5b5f8);color:white;box-shadow:0 8px 18px #d78dbb42}.primary-btn:hover,.secondary-btn:hover{transform:translateY(-2px);box-shadow:0 10px 22px #d78dbb36}.secondary-btn{background:#fff;border:1px solid var(--line);color:#b66d99}.mini-stats{display:flex;gap:32px;margin-top:38px}.mini-stats div{display:flex;flex-direction:column;gap:5px}.mini-stats strong{font-family:'Nunito';font-size:20px;color:#b76f9d}.mini-stats span{font-size:9px;letter-spacing:.12em;font-weight:800;color:#a99aab}.hero-art{position:relative;min-height:410px;display:grid;place-items:center}.orbit{position:absolute;border:1px solid #ecc9df;border-radius:50%;transform:rotate(-20deg)}.orbit-one{width:380px;height:330px}.orbit-two{width:300px;height:390px;transform:rotate(40deg);border-color:#dcd4f4}.hero-sticker{position:relative;width:min(100%,450px);transform:rotate(2deg);filter:drop-shadow(0 25px 20px #c98caf35)}.hero-sticker img{display:block;width:100%;border-radius:20px;mix-blend-mode:multiply}.sticker-burst{position:absolute;font-size:35px;color:#d68db9;text-shadow:0 3px white}.burst-a{top:0;right:11%}.burst-b{bottom:4%;left:3%;font-size:45px}.floating-label{position:absolute;background:#fffdfd;border:1px solid #f0d6e6;border-radius:13px;padding:10px 13px;color:#b66e9b;font-size:10px;font-weight:900;letter-spacing:.08em;box-shadow:var(--shadow)}.label-top{top:35px;right:-2px;transform:rotate(7deg)}.label-bottom{bottom:20px;left:0;transform:rotate(-6deg)}.section-heading{display:flex;justify-content:space-between;align-items:end;margin:30px 0 17px}.section-heading h2,.settings-panel h2{font-family:'Nunito';font-size:24px;letter-spacing:-.04em;margin:0}.section-heading .eyebrow{margin-bottom:7px}.heading-spark{font-size:23px;color:#d28bb4}.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.feature-card{position:relative;display:flex;flex-direction:column;align-items:flex-start;text-align:left;border:1px solid var(--line);border-radius:20px;padding:21px;background:#fff;min-height:148px;box-shadow:0 7px 25px #bd91ad0b;transition:.2s}.feature-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}.rhythm-card{background:linear-gradient(130deg,#fff5fa,#fff)}.album-card{background:linear-gradient(130deg,#f8f5ff,#fff)}.room-card{background:linear-gradient(130deg,#fff8f0,#fff)}.feature-icon{width:37px;height:37px;border-radius:13px;display:grid;place-items:center;background:#ffe3f0;color:#bd6998;font-size:22px;margin-bottom:15px}.album-card .feature-icon{background:#eae4ff;color:#9380ce}.room-card .feature-icon{background:#ffeddc;color:#c38a69}.feature-title{font-weight:800;font-size:14px}.feature-desc{font-size:11px;color:var(--muted);margin-top:6px}.feature-arrow{position:absolute;right:18px;top:20px;color:#d49cbd}.site-footer{margin-top:32px;text-align:center;color:#b1a3b3;font-size:10px}.site-footer span{margin:0 8px}.back-link,.text-btn{border:0;background:transparent;color:#b7779d;font-size:12px;font-weight:800;padding:8px 0}.page-heading{text-align:center;margin:18px 0 30px}.page-heading h1{font-size:clamp(38px,5vw,54px);margin-bottom:9px}.page-heading p:not(.eyebrow){color:var(--muted);font-size:13px}.song-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;max-width:1000px;margin:auto}.song-card{padding:13px;border-radius:23px;background:#fff;border:1px solid var(--line);box-shadow:var(--shadow);transition:.2s}.song-card.selected{border-color:#e7a4c8;box-shadow:0 0 0 3px #fae5f0, var(--shadow)}.song-cover{height:180px;border-radius:15px;display:flex;align-items:center;justify-content:center;flex-direction:column;position:relative;overflow:hidden;color:white;text-align:center}.song-cover:before,.song-cover:after{content:'✦';position:absolute;font-size:60px;opacity:.28}.song-cover:before{top:10px;left:18px}.song-cover:after{bottom:0;right:20px}.song-cover span{font-size:25px}.song-cover strong{font-family:'Nunito';font-size:29px;line-height:.9;letter-spacing:-.04em;text-shadow:0 3px 10px #8b578a45}.song-cover i{font-style:normal;margin-top:13px;letter-spacing:8px}.cover-pink{background:radial-gradient(circle at 70% 20%,#ffd7ec,transparent 40%),linear-gradient(140deg,#f5a6cb,#c9a9ef)}.cover-silver{background:radial-gradient(circle at 25% 20%,#fff,transparent 35%),linear-gradient(140deg,#aab9df,#e7d9ef 52%,#9e9cbf)}.cover-lilac{background:radial-gradient(circle at 75% 25%,#fff,transparent 32%),linear-gradient(140deg,#c5b0fa,#efaed6)}.song-info{display:flex;justify-content:space-between;gap:8px;align-items:center;padding:15px 3px}.song-info h3{font-size:13px;margin:0 0 5px}.song-info p{font-size:10px;color:var(--muted);margin:0}.song-bpm{font-size:9px;font-weight:800;color:#b77aa3;white-space:nowrap}.song-play{width:100%;margin-bottom:2px}.small-note{color:#ad9eaf;font-size:10px;line-height:1.7;text-align:center;margin:22px auto;max-width:620px}.game-top{display:flex;justify-content:space-between;align-items:center;margin:0 0 12px}.playing-label{font-size:11px;letter-spacing:.13em;font-weight:900;color:#a96d98}.compact{padding:9px 13px}.game-hud{display:flex;align-items:center;justify-content:space-between;max-width:690px;margin:0 auto 15px;padding:0 8px}.game-hud div{display:flex;flex-direction:column;gap:4px}.hud-label,.game-hud div span{font-size:9px;color:#a89aaa;letter-spacing:.12em;font-weight:800}.game-hud strong{font-family:'Nunito';font-size:22px}.combo-box{text-align:center;align-items:center}.combo-box strong{color:#d47da9;font-size:27px}.accuracy-box{text-align:right;align-items:flex-end}.rhythm-board{height:min(54vh,440px);min-height:310px;max-width:690px;margin:auto;display:grid;grid-template-columns:repeat(4,1fr);position:relative;overflow:hidden;border:1px solid #e7d9ee;border-radius:22px;background:linear-gradient(180deg,#fffaff,#f5f0ff);box-shadow:inset 0 0 30px #e7cce522,0 15px 45px #b88ca41b;touch-action:manipulation}.rhythm-board:before{content:'✧       ♡       ✦       ♡       ✧';position:absolute;top:15px;left:0;right:0;text-align:center;color:#e4c2dd;letter-spacing:25px;font-size:13px}.lane{position:relative;border-right:1px solid #e9d9ed;background:linear-gradient(180deg,#fff8fc99,#e8e0fa38)}.lane:last-of-type{border-right:0}.lane:nth-child(2),.lane:nth-child(4){background:linear-gradient(180deg,#f7f4ff99,#e8e0fa65)}.lane-key{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);width:42px;height:42px;border-radius:13px;background:#fff;border:1px solid #ead8e9;display:grid;place-items:center;color:#b57da6;font-weight:900;box-shadow:0 4px 10px #a68cb51b}.hit-line{position:absolute;bottom:68px;left:0;right:0;height:3px;background:linear-gradient(90deg,#f0acd0,#c7b4f8,#f0acd0);box-shadow:0 0 15px #d99ecb99}.note{position:absolute;width:52%;height:23px;left:24%;border-radius:10px;background:linear-gradient(90deg,#f3a9cd,#bdaaf6);box-shadow:0 0 15px #e9a5d4a6, inset 0 2px #ffffff9c;border:1px solid #fff8;z-index:2}.note:after{content:'✦';position:absolute;right:7px;top:0;color:white;font-size:13px}.lane-0 .note{background:linear-gradient(90deg,#f7aacb,#e7b1dc)}.lane-1 .note{background:linear-gradient(90deg,#c7b2fa,#aaaee9)}.lane-2 .note{background:linear-gradient(90deg,#f2badc,#c8b8f7)}.lane-3 .note{background:linear-gradient(90deg,#c2b5f6,#edb6d7)}.hit-feedback{position:absolute;top:22%;left:0;right:0;text-align:center;font-family:'Nunito';font-weight:900;font-size:25px;color:#d17ba8;z-index:5;pointer-events:none;text-shadow:0 2px white}.countdown{position:absolute;inset:0;display:grid;place-items:center;font-family:'Nunito';font-size:75px;font-weight:900;color:#d783b0;background:#fff8;z-index:10}.game-bottom{max-width:690px;margin:15px auto}.progress-track{height:7px;border-radius:99px;background:#f2e7f1;overflow:hidden}.progress-track div{height:100%;width:0;background:linear-gradient(90deg,#f3a8cd,#bcb0f7);border-radius:99px;transition:width .2s}.game-hint{text-align:center;font-size:11px;color:#a392a8;margin:13px 0}.game-hint kbd{background:#fff;border:1px solid #ead9e9;border-radius:5px;padding:2px 6px;color:#b17aa1;font-weight:800}.mobile-keys{display:none;grid-template-columns:repeat(4,1fr);gap:8px}.mobile-keys button{border:1px solid #e8d8ed;background:#fff;border-radius:13px;padding:13px;color:#b57da6;font-weight:900}.results-panel{text-align:center;max-width:650px;margin:35px auto;padding:35px 25px;border:1px solid var(--line);border-radius:28px;background:#ffffffdc;box-shadow:var(--shadow);position:relative;overflow:hidden}.results-confetti{font-size:25px;letter-spacing:16px;color:#dca0c4;margin-bottom:15px}.results-panel h1{font-size:42px;margin-bottom:5px}.result-subtitle{font-size:13px;color:#9c8a9e}.grade-bubble{width:95px;height:95px;border-radius:30px;display:grid;place-items:center;margin:23px auto;background:linear-gradient(140deg,#f6bad7,#c9bbfb);box-shadow:0 12px 28px #c28bb83a;color:white;font:900 46px 'Nunito';transform:rotate(-4deg);border:4px solid #fff}.result-stats{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid var(--line);border-radius:17px;padding:16px;margin:20px 0}.result-stats div{display:flex;flex-direction:column;gap:8px;border-right:1px solid var(--line)}.result-stats div:last-child{border:0}.result-stats span{font-size:9px;color:#a89aaa;letter-spacing:.1em;font-weight:800}.result-stats strong{font:800 19px 'Nunito';color:#9e79b3}.unlock-message{font-size:12px;color:#bd709b;min-height:20px}.centered{justify-content:center}.album-progress{display:flex;align-items:center;gap:22px;max-width:850px;margin:0 auto 22px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:14px 18px}.album-progress>div:first-child{display:flex;flex-direction:column;gap:5px;min-width:180px}.album-progress strong{font-size:12px}.album-progress span{font-size:10px;color:var(--muted)}.album-progress .progress-track{flex:1}.card-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;max-width:850px;margin:auto}.collectible-card{border:1px solid #ead8e9;border-radius:18px;background:#fff;padding:9px;box-shadow:0 8px 25px #b68ba412;position:relative;overflow:hidden}.collectible-art{height:240px;border-radius:12px;position:relative;overflow:hidden;background:linear-gradient(140deg,#ffdce9,#d8cdfa);display:grid;place-items:center}.collectible-art img{width:100%;height:100%;object-fit:cover;mix-blend-mode:multiply}.collectible-art .card-label{position:absolute;left:10px;right:10px;bottom:10px;text-align:center;border:1px solid #ffffffc9;border-radius:9px;background:#fff9;padding:8px 5px;color:#9e5e8b;font:900 11px 'Nunito';letter-spacing:.05em;backdrop-filter:blur(4px)}.collectible-card h3{font:800 13px 'Nunito';margin:11px 3px 3px}.collectible-card p{margin:0 3px 7px;font-size:10px;color:#a698ab}.rarity{position:absolute;right:15px;top:15px;z-index:2;font-size:9px;background:#ffffffdf;color:#b76c9d;padding:5px 7px;border-radius:8px;font-weight:900}.locked .collectible-art{filter:grayscale(.7);background:linear-gradient(140deg,#eee8f0,#e2deea)}.locked .collectible-art img{opacity:.18}.locked .collectible-art:after{content:'✦';position:absolute;font-size:32px;color:#fff;text-shadow:0 2px 8px #9f8ca7}.locked .card-label{color:#9b91a0}.album-artwork{display:flex;align-items:center;gap:22px;max-width:850px;margin:28px auto 0;padding:16px;border:1px solid var(--line);background:#fff;border-radius:20px}.album-artwork img{width:145px;border-radius:13px}.album-artwork h3{font:900 18px 'Nunito';margin:0 0 7px}.album-artwork p:not(.eyebrow){font-size:11px;color:var(--muted);line-height:1.7;margin:0}.album-artwork .eyebrow{margin-bottom:7px}.room-layout{display:grid;grid-template-columns:1.5fr .8fr;gap:20px;max-width:950px;margin:auto}.room-scene{height:420px;position:relative;overflow:hidden;border-radius:23px;border:1px solid #eed8e7;background:linear-gradient(180deg,#f6eaff 0%,#fff0f8 70%,#d9c8df 70%,#cbb8d3 100%);transition:background .3s}.room-window{position:absolute;top:25px;left:25px;width:110px;height:125px;border:7px solid #fff;border-radius:9px;background:linear-gradient(145deg,#a9b6ed,#f4c9e5);box-shadow:0 6px 15px #ae8cb022;display:flex;justify-content:space-around;align-items:center;color:#fff;font-size:21px}.wall-poster{position:absolute;top:36px;right:40px;width:76px;height:95px;border:5px solid white;box-shadow:0 5px 15px #a783a833;background:linear-gradient(145deg,#f7c1dc,#bdb5ef);text-align:center;padding-top:13px;font:900 15px 'Nunito';color:#fff;transform:rotate(4deg)}.poster-two{right:135px;top:53px;transform:rotate(-5deg);background:linear-gradient(145deg,#d9d3fa,#a8b8e3);font-size:12px}.shelf{position:absolute;top:180px;right:20px;width:180px;height:8px;background:#d9b8d3;border-radius:5px;display:flex;justify-content:space-around}.shelf span{transform:translateY(-25px);color:#b37ca3;font-size:23px}.bed{position:absolute;bottom:56px;left:14%;width:67%;height:120px;border-radius:25px 25px 7px 7px;background:linear-gradient(180deg,#f9c7e0,#e9b4d4);border:8px solid #fff;box-shadow:0 8px 0 #c7a6d0}.pillow{position:absolute;left:12px;top:10px;width:70px;height:43px;background:#fff8fc;border-radius:12px;box-shadow:inset 0 0 0 2px #f2d5e7}.bed-label{position:absolute;right:12px;bottom:14px;font:800 10px 'Nunito';color:#a66e98}.room-cat{position:absolute;bottom:158px;left:43%;font-size:76px;filter:drop-shadow(0 6px 3px #b28ba133);animation:bob 2.8s ease-in-out infinite}.floor-rug{position:absolute;bottom:17px;left:20%;width:60%;height:36px;border-radius:50%;background:#f8e6f7;border:2px dashed #d5b6d8}.room-decor{position:absolute;color:#fff;font-size:24px;text-shadow:0 0 10px #d28cbb}.decor-light{top:12px;left:42%;letter-spacing:10px}.decor-plant{bottom:70px;right:20px;font-size:45px;color:#91b7a1}.decor-panel{background:#fff;border:1px solid var(--line);border-radius:22px;padding:22px}.decor-panel h3{font:900 21px 'Nunito';margin:0 0 17px}.decor-option{width:100%;display:flex;align-items:center;gap:11px;border:1px solid #f0e1ed;border-radius:14px;padding:12px;background:#fff;text-align:left;margin-bottom:9px;color:var(--ink)}.decor-option.active{border-color:#d99abd;background:#fff6fb}.swatch{width:31px;height:31px;border-radius:10px;flex-shrink:0}.swatch-pink{background:linear-gradient(135deg,#f8b7d6,#e9d1fa)}.swatch-lavender{background:linear-gradient(135deg,#c9b8fb,#e7d5f8)}.swatch-silver{background:linear-gradient(135deg,#aab9d6,#f5d7e8)}.decor-option span:nth-child(2){display:flex;flex-direction:column;gap:4px;flex:1}.decor-option b{font-size:11px}.decor-option small{font-size:9px;color:var(--muted)}.check{color:#cf7fac;opacity:0}.decor-option.active .check{opacity:1}.room-tip{font-size:10px;line-height:1.6;color:#b18ba8;margin-top:14px}.room-scene.theme-lavender{background:linear-gradient(180deg,#e9e3ff 0%,#f4edff 70%,#c4b8df 70%,#b6a8d2 100%)}.theme-lavender .bed{background:linear-gradient(180deg,#d5c7fb,#b7a9e7)}.theme-lavender .wall-poster{background:linear-gradient(145deg,#bdb4f4,#d4c9fb)}.room-scene.theme-silver{background:linear-gradient(180deg,#e2e7f5 0%,#f7edf7 70%,#bfc7d8 70%,#aab5ca 100%)}.theme-silver .bed{background:linear-gradient(180deg,#e1ddec,#b9c3df)}.quest-list{max-width:780px;margin:0 auto 25px;display:grid;gap:12px}.quest-card{display:flex;align-items:center;gap:15px;padding:18px;border:1px solid var(--line);border-radius:18px;background:#fff}.quest-icon{width:45px;height:45px;display:grid;place-items:center;border-radius:15px;background:#fff0f7;color:#c47ba4;font-size:23px;flex-shrink:0}.quest-card>div{flex:1}.quest-card h3{font:900 14px 'Nunito';margin:0 0 4px}.quest-card p{font-size:11px;color:var(--muted);margin:0 0 10px}.quest-track{height:5px;border-radius:99px;background:#f2e8f2;overflow:hidden}.quest-track span{display:block;width:0;height:100%;background:linear-gradient(90deg,#f2a9cb,#b8aaf5);transition:width .3s}.quest-status{font-size:11px;font-weight:900;color:#b777a1;white-space:nowrap}.settings-panel{max-width:780px;margin:auto;padding:22px;border:1px solid var(--line);border-radius:20px;background:#fff}.settings-panel h2{margin-bottom:10px}.setting-row{display:flex;justify-content:space-between;align-items:center;padding:14px 0;border-bottom:1px solid #f5e8f1}.setting-row span{display:flex;flex-direction:column;gap:4px}.setting-row b{font-size:12px}.setting-row small{font-size:10px;color:var(--muted)}input[type=checkbox]{accent-color:#d786b1;width:18px;height:18px}.settings-panel>.secondary-btn{margin-top:17px}.modal-backdrop{position:fixed;inset:0;background:#4c36576e;backdrop-filter:blur(5px);z-index:100;display:grid;place-items:center;padding:20px}.modal-backdrop[hidden]{display:none}.modal{position:relative;max-width:420px;width:100%;padding:28px;background:#fff;border-radius:25px;box-shadow:0 30px 80px #39204033;text-align:center}.modal-close{position:absolute;right:13px;top:10px;border:0;background:transparent;font-size:26px;color:#9d8ba2}.modal h2{font:900 25px 'Nunito';margin:5px 0 8px}.modal p{font-size:12px;color:var(--muted);line-height:1.7}.modal .primary-btn{margin-top:12px}.toast{position:fixed;bottom:22px;left:50%;transform:translate(-50%,20px);padding:12px 17px;border-radius:13px;background:#503d56;color:#fff;font-size:11px;font-weight:700;opacity:0;pointer-events:none;transition:.25s;z-index:120;box-shadow:0 10px 25px #513c5b33}.toast.show{opacity:1;transform:translate(-50%,0)}@keyframes bob{0%,100%{transform:translateY(0)}50%{transform:translateY(-7px)}}body.reduce-motion *,body.reduce-motion *:before,body.reduce-motion *:after{animation:none!important;transition:none!important}
@media(max-width:850px){.topbar{padding:0 16px;height:auto;min-height:75px;flex-wrap:wrap;padding-top:13px;padding-bottom:13px}.brand{font-size:11px}nav{order:3;width:100%;justify-content:center}.nav-btn{padding:8px 10px}.sound-toggle{font-size:10px}.hero-grid{grid-template-columns:1fr;gap:0}.hero-copy{text-align:center;padding:30px 0 0}.hero-copy .intro{margin:auto}.hero-actions,.mini-stats{justify-content:center}.hero-art{min-height:340px}.hero-sticker{max-width:380px}.orbit-one{width:320px;height:280px}.orbit-two{width:250px;height:330px}.feature-grid{gap:10px}.feature-card{padding:15px;min-height:150px}.song-grid{gap:10px}.song-cover{height:140px}.song-cover strong{font-size:22px}.song-info{display:block}.song-bpm{display:block;margin-top:8px}.room-layout{grid-template-columns:1fr}.room-scene{height:380px}.decor-panel{padding:18px}.card-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){main{padding:15px 15px 35px}.topbar{padding-left:13px;padding-right:13px}.brand-icon{width:29px;height:29px}.sound-toggle span{display:none}.nav-btn{font-size:10px;padding:8px}.hero-copy h1{font-size:57px}.tagline{font-size:16px}.hero-art{min-height:275px}.hero-sticker{max-width:300px}.orbit-one{width:260px;height:230px}.orbit-two{width:200px;height:275px}.label-top{right:0;top:10px}.label-bottom{left:0;bottom:8px}.feature-grid{grid-template-columns:1fr}.feature-card{min-height:110px;padding:17px 17px 17px 70px;justify-content:center}.feature-icon{position:absolute;left:17px;top:30px}.feature-title{font-size:13px}.feature-desc{font-size:10px}.section-heading h2{font-size:21px}.mini-stats{gap:20px}.mini-stats strong{font-size:18px}.mini-stats span{font-size:8px}.song-grid{grid-template-columns:1fr;max-width:360px}.song-card{display:grid;grid-template-columns:115px 1fr;gap:0 12px;align-items:center}.song-cover{grid-row:span 2;height:126px}.song-cover strong{font-size:18px}.song-cover i{letter-spacing:3px;font-size:10px}.song-info{padding:10px 0 3px}.song-play{grid-column:2;margin-bottom:5px;padding:10px}.game-hud{padding:0}.rhythm-board{height:48vh;min-height:300px}.lane-key{width:37px;height:37px}.game-hint{font-size:10px}.mobile-keys{display:grid}.result-stats{padding:13px 4px}.result-stats strong{font-size:16px}.results-panel{padding:27px 15px}.results-panel h1{font-size:35px}.results-confetti{letter-spacing:8px}.hero-actions.centered{gap:8px}.album-progress{display:block}.album-progress .progress-track{margin-top:12px}.card-grid{gap:10px}.collectible-art{height:190px}.collectible-card{padding:6px}.collectible-card h3{font-size:12px}.album-artwork{align-items:flex-start;gap:13px}.album-artwork img{width:95px}.album-artwork h3{font-size:15px}.album-artwork p:not(.eyebrow){font-size:10px}.room-scene{height:330px}.wall-poster{right:15px}.poster-two{right:100px}.bed{left:8%;width:80%}.room-cat{left:40%;font-size:65px}.decor-light{left:40%;letter-spacing:4px}.room-window{left:15px;width:90px;height:105px}.quest-card{padding:13px;gap:10px}.quest-icon{width:38px;height:38px}.quest-card h3{font-size:12px}.quest-card p{font-size:10px}.quest-status{font-size:10px}}


/* BOOBOO WORLD TOUR — neon preppy K-pop makeover */
:root{--pink:#ff39bd;--pink2:#ff8cda;--pink3:#35104f;--lav:#9a62ff;--silver:#b9d8ff;--ink:#fff4ff;--muted:#d4b9eb;--white:#25103d;--shadow:0 14px 45px #ff32c933;--line:#9e42d8;--radius:22px}
html,body{background:#130522;color:#fff4ff}
body{background:radial-gradient(ellipse at 50% -10%,#7b20ad 0%,#321052 34%,#130522 76%);font-family:'Nunito','DM Sans',sans-serif}
.sparkle-bg{opacity:.55;background-image:radial-gradient(#ff6de0 1px,transparent 1.5px),radial-gradient(#a98cff 1px,transparent 1.5px);background-size:42px 42px,77px 77px}
.topbar{max-width:1400px;border-bottom:1px solid #d94cff66;background:#1a0734dd;box-shadow:0 5px 25px #0005}
.brand,.brand b{color:#fff}.brand-icon{background:linear-gradient(135deg,#ff39bd,#923dff);color:white;box-shadow:0 0 18px #ff39bd99}
.nav-btn,.sound-toggle{color:#eacbff}.nav-btn:hover,.nav-btn.active{background:#ff39bd28;color:#fff;box-shadow:inset 0 0 0 1px #ff72dc88}
.sound-toggle{background:#2b0c4c;border-color:#d84dff;color:#fff}.sound-toggle span{color:#ffe4fa}
main{max-width:1400px}.eyebrow{color:#ff9be5;text-shadow:0 0 12px #ff39bd55}
.hero-grid{background:linear-gradient(115deg,#22083bdb,#4a126caa);border:2px solid #ff43d5;border-radius:30px;padding:28px;box-shadow:0 0 25px #f32edb66,inset 0 0 28px #a42dff22}
.hero-copy h1,.page-heading h1,.results-panel h1{color:white;text-shadow:0 0 18px #ff36c5aa}
.gradient-text{background:linear-gradient(100deg,#ff70d2,#ffb5ee,#b99bff,#6deaff);-webkit-background-clip:text;background-clip:text;color:transparent}
.tagline{color:#fff}.intro,.page-heading p:not(.eyebrow){color:#e0c7f2}
.primary-btn{background:linear-gradient(110deg,#ff25b8,#a53dff);color:white;border:1px solid #ffb5ef;box-shadow:0 0 20px #ff38c888,0 5px 0 #70128b}
.secondary-btn{background:#2d1050;border:1px solid #c34bff;color:#ffe7ff}
.mini-stats strong{color:#ff9de6}.mini-stats span{color:#d9b6ed}
.hero-art{background:radial-gradient(ellipse,#ff39bd33,transparent 67%);border-radius:28px}
.hero-sticker{padding:8px;border:3px solid #ff6be1;border-radius:28px;background:linear-gradient(145deg,#ff4cc8,#813cff);box-shadow:0 0 25px #ff39bd99}
.hero-sticker img{mix-blend-mode:normal;border-radius:19px}
.orbit{border-color:#ff74e899}.floating-label{background:#2a0a4b;border:1px solid #ff63da;color:#fff;box-shadow:0 0 15px #ff39bd55}
.sticker-burst{color:#ff8ee6;text-shadow:0 0 12px #ff39bd}
.section-heading h2,.settings-panel h2{color:#fff}
.feature-card,.song-card,.album-progress,.collectible-card,.album-artwork,.decor-panel,.quest-card,.settings-panel,.results-panel{background:linear-gradient(145deg,#321052,#1e0a35);border:1px solid #b94be7;box-shadow:0 10px 30px #07001077}
.feature-card{color:#fff}.feature-card:hover{border-color:#ff6bdc;box-shadow:0 0 22px #ff39bd55}
.feature-icon{background:#ff39bd33;color:#ffb5e9}.album-card .feature-icon{background:#9d65ff44;color:#d9c3ff}.room-card .feature-icon{background:#ffb75c33;color:#ffd59a}
.feature-title,.song-info h3,.collectible-card h3,.quest-card h3,.decor-panel h3{color:#fff}
.feature-desc,.song-info p,.collectible-card p,.quest-card p,.album-artwork p:not(.eyebrow),.room-tip{color:#d4b9e8}
.song-card.selected{border-color:#ff67dc;box-shadow:0 0 0 2px #ff49c955,0 0 24px #ff39bd55}
.song-bpm,.playing-label{color:#ff9de6}.small-note{color:#d9c0e9}
.game-top{max-width:950px;margin:0 auto 14px}
.game-avatar-bar{color:#ffd7fa;text-shadow:0 0 10px #ff39bd}
.game-hud{max-width:950px;padding:12px 22px;border:2px solid #ff42ce;border-radius:22px;background:linear-gradient(110deg,#270845,#551078);box-shadow:0 0 20px #ff39bd77}
.hud-label,.game-hud div span{color:#ffb6ed}.game-hud strong{color:#fff;text-shadow:0 0 13px #ff3cc8}
.combo-box strong{color:#ffe45c}.accuracy-box strong{color:#70eaff}
.rhythm-board{height:min(65vh,690px);min-height:420px;max-width:950px;border:3px solid #ff43d2;border-radius:25px;background:radial-gradient(ellipse at 50% 40%,#9e2bc8 0%,#44116c 55%,#21083e 100%);box-shadow:0 0 35px #ff2fcf88,inset 0 0 65px #ff45d533;isolation:isolate}
.rhythm-board:before{content:'✦  ♡  ✧  ♡  ✦';color:#ffb4f0;letter-spacing:30px;text-shadow:0 0 16px #ff4edc;z-index:1}
.stage-booboo{position:absolute;z-index:1;left:50%;top:8%;transform:translateX(-50%);width:min(58%,520px);height:66%;object-fit:contain;object-position:center center;border-radius:30px;filter:drop-shadow(0 0 24px #ff57d9aa);pointer-events:none}
.stage-caption{position:absolute;z-index:4;top:12px;left:50%;transform:translateX(-50%);padding:7px 16px;border-radius:999px;background:#290743cc;border:1px solid #ff70dc;color:#fff;font:900 10px 'Nunito';letter-spacing:.15em;white-space:nowrap;text-shadow:0 0 10px #ff47d3}
.lane{z-index:2;border-right:1px solid #ffa2ee44;background:linear-gradient(180deg,#ff7edb0a,#a63cff22)}
.lane:nth-child(2),.lane:nth-child(4){background:linear-gradient(180deg,#9c75ff12,#ec43ff26)}
.lane-key{width:54px;height:54px;bottom:10px;border:2px solid #ffb6ef;background:#2b0b4d;color:white;border-radius:16px;box-shadow:0 0 18px #ff3dc9aa;font-size:27px;text-shadow:0 0 10px #ff6edb}
.lane-0 .lane-key{border-color:#ff62d4}.lane-1 .lane-key{border-color:#43dfff}.lane-2 .lane-key{border-color:#70f47b}.lane-3 .lane-key{border-color:#ffdc4c}
.hit-line{bottom:75px;height:4px;background:linear-gradient(90deg,#ff47c7,#4deaff,#7cff70,#ffe44b);box-shadow:0 0 22px #ff4bdf}
.note{height:38px;width:64%;left:18%;border-radius:12px;border:2px solid #fff;box-shadow:0 0 20px currentColor,inset 0 2px #fff9}
.lane-0 .note{background:linear-gradient(90deg,#ff35bd,#ff9ce6);color:#ff35bd}.lane-1 .note{background:linear-gradient(90deg,#13caff,#a1f2ff);color:#13caff}.lane-2 .note{background:linear-gradient(90deg,#4de94b,#b9ff83);color:#4de94b}.lane-3 .note{background:linear-gradient(90deg,#ffc629,#fff08c);color:#ffc629}
.note:after{content:'◆';font-size:18px;right:8px;top:4px;color:#fff}
.hit-feedback{top:27%;color:#fff!important;font-size:34px;text-shadow:0 0 18px #ff38ca,0 3px 4px #18002a}
.countdown{background:#19052dcc;color:#fff;text-shadow:0 0 24px #ff3bd1}
.game-bottom{max-width:950px}.progress-track{background:#4b2467}.progress-track div{background:linear-gradient(90deg,#ff3cbf,#9d63ff,#46eaff)}
.game-hint{color:#f4d9ff}.game-hint kbd{background:#351052;border:1px solid #d54eff;color:#fff}
.mobile-keys{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;max-width:700px;margin:12px auto}
.mobile-keys button{height:66px;border:2px solid #ff5bd7;border-radius:18px;background:linear-gradient(145deg,#46116c,#260941);color:#fff;font-size:31px;font-weight:900;box-shadow:0 0 17px #ff35c766;touch-action:manipulation;user-select:none;-webkit-user-select:none}
.mobile-keys button:nth-child(2){border-color:#43dfff}.mobile-keys button:nth-child(3){border-color:#70f47b}.mobile-keys button:nth-child(4){border-color:#ffdc4c}
.mobile-keys button:active{transform:scale(.94);background:#7d1caa}
.results-panel{color:#fff}.result-subtitle,.result-stats span{color:#e0c5f2}.result-stats{border-color:#a746d5}.result-stats div{border-color:#8740b0}.result-stats strong{color:#fff}
.grade-bubble{background:linear-gradient(140deg,#ff2fba,#8e40ff);box-shadow:0 0 28px #ff39bd88}.unlock-message{color:#ffb0e8}
.album-progress strong,.album-progress span{color:#fff}.collectible-art{border:1px solid #e35bdf}.album-artwork h3{color:#fff}
.room-scene{border:2px solid #c84fff;box-shadow:0 0 25px #9d34d355}
.decor-panel h3{color:#fff}.decor-option{background:#2b1047;border-color:#74379c;color:#fff}.decor-option.active{background:#4a176d;border-color:#ff6bd9}.decor-option small{color:#d4b8e7}
.quest-icon{background:#ff42c933;color:#ffb4e8}.quest-status{color:#ff9de6}
.setting-row{border-color:#66358c}.setting-row b{color:#fff}.setting-row small{color:#d7bee8}
.modal{background:#291043;border:1px solid #ff57d5;color:#fff}.modal p{color:#e1c7ef}.modal-close{color:#fff}
.toast{background:#4b0e69;border:1px solid #ff55d8;color:#fff;box-shadow:0 0 20px #ff3acb77}
.site-footer{color:#d4a8e5}
@media(max-width:850px){.hero-grid{padding:20px}.stage-booboo{width:66%;height:60%}}
@media(max-width:560px){.hero-grid{padding:16px}.rhythm-board{height:56vh;min-height:390px}.stage-booboo{top:13%;width:82%;height:57%;opacity:.98}.stage-caption{font-size:8px}.lane-key{width:43px;height:43px;font-size:23px}.mobile-keys button{height:65px;font-size:29px}.game-hud{padding:10px 13px}.game-hud strong{font-size:20px}.hit-feedback{font-size:27px}.game-hint{font-size:9px}.hero-copy h1{font-size:54px}}


/* Interaction and layout safety fixes */
.rhythm-board{grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:minmax(0,1fr)}
.rhythm-board>.lane{grid-row:1;min-width:0}
.stage-booboo,.stage-caption{position:absolute!important;pointer-events:none}
.stage-booboo{z-index:1;left:50%;top:8%;transform:translateX(-50%);width:min(58%,520px);height:66%;object-fit:contain}
.stage-caption{z-index:4;top:12px;left:50%;transform:translateX(-50%)}
.mobile-keys{display:grid!important;position:relative;z-index:20;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;max-width:700px;margin:12px auto}
.mobile-keys button{display:grid;place-items:center;min-width:0;min-height:64px;touch-action:manipulation;-webkit-tap-highlight-color:transparent;pointer-events:auto;cursor:pointer}
@media(max-width:560px){.rhythm-board{grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:minmax(0,1fr)}.stage-booboo{top:13%;width:82%;height:57%}.mobile-keys{gap:8px}.mobile-keys button{min-height:68px}}


/* FULL-SCREEN BOOBOO CONCERT GAMEPLAY */
body:has(#game.active-view){overflow:hidden;background:#10051f}
body:has(#game.active-view) .topbar{display:none!important}
body:has(#game.active-view) main{width:100%;max-width:none;margin:0;padding:0}
#game.active-view{display:block!important;position:fixed;inset:0;z-index:1000;overflow:hidden;padding:12px 16px 10px;background:
 radial-gradient(ellipse at 50% 20%,#a92bd5 0%,#51127e 38%,#19072f 78%,#090414 100%);isolation:isolate}
#game.active-view:before{content:"";position:absolute;inset:0;pointer-events:none;z-index:-1;background:
 repeating-linear-gradient(112deg,transparent 0 13%,#ff54e51c 13.2% 13.7%,transparent 14% 27%),
 radial-gradient(ellipse at 8% 28%,#ff50dc77 0 2px,transparent 65px),
 radial-gradient(ellipse at 92% 24%,#6ceaff66 0 2px,transparent 90px),
 radial-gradient(ellipse at 50% 100%,#ff4fce55,transparent 42%)}
#game .game-top{position:absolute;z-index:20;top:12px;left:16px;right:16px;max-width:none;margin:0;pointer-events:none}
#game .game-top>*{pointer-events:auto}
#game .back-link,#game .compact{background:#21083eeb;border:2px solid #ff7ce7;color:white;border-radius:15px;box-shadow:0 0 16px #ff3cc977}
#game .playing-label{color:#fff;font-size:12px;text-shadow:0 0 12px #ff39d7}
#game .game-avatar-bar{position:absolute;z-index:18;top:62px;left:18px;margin:0;justify-content:flex-start;padding:8px 13px 8px 8px;border:2px solid #ff59d9;border-radius:22px;background:linear-gradient(110deg,#23083feF,#6c167dcc);box-shadow:0 0 22px #ff36d788;font-size:10px}
#game .game-avatar-bar .idol-photo-small{width:58px;height:58px;border:3px solid white;box-shadow:0 0 0 2px #ff66e6,0 0 16px #ff5bd9}
#game .game-hud{position:absolute;z-index:18;top:62px;right:18px;width:min(340px,42vw);max-width:none;margin:0;padding:10px 16px;border:2px solid #ff4bd8;border-radius:22px;background:linear-gradient(110deg,#24083feF,#590d72ed);box-shadow:0 0 24px #ff36d788}
#game .game-hud strong{font-size:clamp(19px,3vw,30px)}
#game .game-hud .combo-box strong{font-size:clamp(24px,3.5vw,36px);color:#ffe54b}
#game .game-hud .accuracy-box{display:none}
#game .hud-label,#game .game-hud div span{font-size:10px;color:#ffb7ef}
#game .rhythm-board{position:absolute;z-index:2;left:0;right:0;top:18%;bottom:116px;width:100%;height:auto;min-height:0;max-width:none;margin:0;border:0;border-radius:0;overflow:hidden;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:minmax(0,1fr);background:
 linear-gradient(180deg,#1a06351c 0%,#21053b22 60%,#ff4ce622 100%);box-shadow:none;isolation:isolate}
#game .rhythm-board:before{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;background:
 linear-gradient(180deg,transparent 0 70%,#ff4bd51b 70.2% 70.8%,transparent 71%),
 repeating-linear-gradient(90deg,transparent 0 24.6%,#ff9aef24 24.8% 25.1%,transparent 25.3% 100%),
 linear-gradient(180deg,transparent 0 72%,#ff7be51a 72.2% 100%)}
#game .stage-booboo{position:absolute;z-index:1;left:50%;top:0;transform:translateX(-50%);width:min(72%,760px);height:100%;max-height:none;object-fit:contain;object-position:center bottom;border-radius:0;filter:drop-shadow(0 0 20px #ff54e7aa) drop-shadow(0 0 42px #a43aff77);pointer-events:none}
#game .stage-caption{display:none}
#game .lane{grid-row:1;z-index:3;min-width:0;border-right:2px solid #ff9ce633;background:linear-gradient(180deg,#ffb6ef04 0%,#ff74df12 58%,#ff5be92b 100%)}
#game .lane:nth-child(2),#game .lane:nth-child(4){background:linear-gradient(180deg,#a99bff04,#b35cff16 58%,#a65bff2b)}
#game .lane:last-of-type{border-right:0}
#game .lane-key{display:none}
#game .note{width:58%;left:21%;height:28px;border-radius:10px;z-index:5;border:2px solid #fff;box-shadow:0 0 18px currentColor,0 0 32px currentColor}
#game .lane-0 .note{background:linear-gradient(90deg,#ff36ba,#ff9de6);color:#ff48c7}
#game .lane-1 .note{background:linear-gradient(90deg,#00cfff,#8ff4ff);color:#27dfff}
#game .lane-2 .note{background:linear-gradient(90deg,#4bea55,#a8ff78);color:#66ff64}
#game .lane-3 .note{background:linear-gradient(90deg,#ffc928,#fff17a);color:#ffd12e}
#game .lane-0 .note:after{content:"←";right:8px;color:#fff;font-size:20px;font-weight:1000}
#game .lane-1 .note:after{content:"↓";right:8px;color:#fff;font-size:20px;font-weight:1000}
#game .lane-2 .note:after{content:"↑";right:8px;color:#fff;font-size:20px;font-weight:1000}
#game .lane-3 .note:after{content:"→";right:8px;color:#fff;font-size:20px;font-weight:1000}
#game .hit-line{bottom:13%;height:4px;z-index:6;background:linear-gradient(90deg,#ff4fcf,#64eaff,#7dff75,#ffe34b);box-shadow:0 0 14px #ff53dd,0 0 28px #67eaff}
#game .hit-feedback{top:44%;font-size:clamp(22px,4vw,42px);color:white;text-shadow:0 0 14px #ff35dc,0 3px 6px #210532;z-index:10}
#game .countdown{z-index:30;background:#17052ac9;color:#fff;text-shadow:0 0 25px #ff42df}
#game .game-bottom{position:absolute;z-index:22;left:16px;right:16px;bottom:8px;max-width:none;margin:0 auto}
#game .progress-track{height:5px;background:#ffffff40;box-shadow:0 0 10px #ff45d9}
#game .progress-track div{background:linear-gradient(90deg,#ff45d3,#45eaff,#72ff77,#ffe34b)}
#game .game-hint{margin:5px 0 7px;color:#fff;font-size:10px;text-shadow:0 1px 5px #210532}
#game .game-hint kbd{background:#260744;color:white;border:1px solid #ff9be9}
#game .mobile-keys{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;max-width:760px;margin:0 auto}
#game .mobile-keys button{height:clamp(48px,9vh,76px);padding:0;border-radius:22px;border:3px solid white;color:white;font-size:clamp(28px,5vh,44px);font-weight:1000;text-shadow:0 2px 5px #18052c;box-shadow:0 6px 0 #18052c,0 0 20px currentColor;touch-action:manipulation}
#game .mobile-keys button:nth-child(1){background:linear-gradient(145deg,#ff45c8,#b81b9c);border-color:#ffb3ef;color:#fff}
#game .mobile-keys button:nth-child(2){background:linear-gradient(145deg,#19dfff,#087cbf);border-color:#a7f8ff;color:#fff}
#game .mobile-keys button:nth-child(3){background:linear-gradient(145deg,#68f34e,#20a83e);border-color:#c4ff9c;color:#fff}
#game .mobile-keys button:nth-child(4){background:linear-gradient(145deg,#ffd52f,#f28a16);border-color:#fff0a0;color:#fff}
#game .mobile-keys button:active{transform:translateY(4px) scale(.96);box-shadow:0 2px 0 #18052c,0 0 28px currentColor}
@media(max-width:650px){
 #game.active-view{padding:8px 8px 7px}
 #game .game-top{top:7px;left:8px;right:8px}
 #game .game-avatar-bar{top:50px;left:8px;padding:5px 8px 5px 5px;font-size:8px;gap:6px}
 #game .game-avatar-bar .idol-photo-small{width:43px;height:43px}
 #game .game-hud{top:50px;right:8px;width:auto;min-width:150px;padding:7px 10px;gap:12px}
 #game .game-hud strong{font-size:19px}
 #game .game-hud .combo-box strong{font-size:24px}
 #game .rhythm-board{top:15%;bottom:120px}
 #game .stage-booboo{width:94%;height:100%;object-fit:contain}
 #game .game-bottom{left:8px;right:8px;bottom:7px}
 #game .mobile-keys{gap:6px}
 #game .mobile-keys button{height:58px;border-radius:16px;font-size:30px}
 #game .game-hint{font-size:9px;margin:4px 0 6px}
}
@media(max-height:620px){
 #game .game-avatar-bar{top:48px}
 #game .game-hud{top:48px}
 #game .rhythm-board{top:17%;bottom:100px}
 #game .game-bottom{bottom:4px}
 #game .mobile-keys button{height:44px}
 #game .game-hint{display:none}
}

/* Critical: let the countdown overlay disappear when JS sets hidden=true */
#game .countdown[hidden]{display:none!important;}

/* BooBoo's rotating mini-choreography: calmer timing, four distinct moves */
#game .stage-booboo.dance-groove,
#game .stage-booboo.dance-bounce,
#game .stage-booboo.dance-twirl,
#game .stage-booboo.dance-sway{transform-origin:50% 82%;will-change:transform}
#game .stage-booboo.dance-groove{animation:boobooGroove .58s ease-in-out}
#game .stage-booboo.dance-bounce{animation:boobooBounce .54s cubic-bezier(.2,.8,.3,1)}
#game .stage-booboo.dance-twirl{animation:boobooTwirl .62s ease-in-out}
#game .stage-booboo.dance-sway{animation:boobooSway .58s ease-in-out}
@keyframes boobooGroove{0%,100%{transform:translateX(-50%) rotate(0) translateY(0) scale(1)}25%{transform:translateX(-50%) rotate(-10deg) translateY(-5px) scale(1.025)}50%{transform:translateX(-50%) rotate(0) translateY(0) scale(1)}75%{transform:translateX(-50%) rotate(10deg) translateY(-5px) scale(1.025)}}
@keyframes boobooBounce{0%,100%{transform:translateX(-50%) translateY(0) scale(1)}35%{transform:translateX(-50%) translateY(-16px) scale(1.045)}62%{transform:translateX(-50%) translateY(2px) scale(.985)}}
@keyframes boobooTwirl{0%,100%{transform:translateX(-50%) rotate(0) scale(1)}28%{transform:translateX(-50%) rotate(-13deg) translateY(-5px) scale(1.02)}62%{transform:translateX(-50%) rotate(13deg) translateY(-3px) scale(1.02)}}
@keyframes boobooSway{0%,100%{transform:translateX(-50%) rotate(0) translateY(0)}25%{transform:translateX(-50%) rotate(12deg) translateY(-3px)}50%{transform:translateX(-50%) rotate(0) translateY(-7px)}75%{transform:translateX(-50%) rotate(-12deg) translateY(-3px)}}


/* Sister / Brother song shelves */
.category-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;max-width:1100px;margin:24px auto 12px;padding:12px 18px;border:2px solid #f4a6dc;border-radius:18px;background:linear-gradient(100deg,#fff0fa,#f3eaff);box-shadow:0 8px 22px #b95e9b22;color:#a64c91;font:1000 22px 'Nunito',sans-serif;letter-spacing:.04em}
.category-heading small{font-size:10px;letter-spacing:.18em;color:#9a76b4}
.brother-heading{border-color:#b99be8;background:linear-gradient(100deg,#f5edff,#e9e1ff);color:#7651a9}
.cover-retro{background:linear-gradient(145deg,#ffb55d,#f36e8d 48%,#7453bb)!important}
.cover-y2k{background:linear-gradient(145deg,#c4f2ff,#7e9bdf 48%,#d7a6ff)!important}
.cover-rock{background:radial-gradient(circle at 50% 15%,#82649d,#25152f 68%,#100a18)!important;color:#fff}
.cover-rock strong{color:#fff!important;text-shadow:0 3px 8px #08040e}
.cover-rock i,.cover-rock span{color:#ffcb62!important}
.sister-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.brother-grid{grid-template-columns:minmax(220px,340px)}
.song-card{min-width:0}
@media(min-width:700px) and (max-width:1100px){
 .song-grid{gap:14px}
 .song-card{padding:12px}
 .song-cover{min-height:145px}
}
@media(max-width:700px){
 .category-heading{margin:16px 4px 10px;padding:10px 13px;font-size:18px}
 .sister-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .brother-grid{grid-template-columns:minmax(0,1fr)}
 .song-cover{min-height:125px}
}
@media(min-width:701px) and (max-width:1100px){
 #game .game-hud{width:min(360px,40vw)}
 #game .mobile-keys{max-width:900px;gap:16px}
 #game .mobile-keys button{height:clamp(70px,11vh,100px);font-size:clamp(34px,5vh,48px);border-radius:24px}
 #game .rhythm-board{top:19%;bottom:145px}
 #game .game-bottom{bottom:12px}
 #game .game-hint{font-size:12px}
}
@media(orientation:portrait) and (min-width:700px) and (max-width:1100px){
 #game .rhythm-board{top:20%;bottom:155px}
 #game .stage-booboo{width:94%;height:88%}
 #game .mobile-keys button{height:84px}
}

.song-cover.cover-photo{padding:0;overflow:hidden;background:#f8e6f2}.song-cover.cover-photo:before,.song-cover.cover-photo:after{content:none}.song-cover-image{display:block;width:100%;height:100%;min-height:inherit;object-fit:cover;object-position:center;border-radius:inherit}

.song-cover.cover-photo{padding:0;overflow:hidden;background:#090909}.song-cover.cover-photo:before,.song-cover.cover-photo:after{content:none}.song-cover-image{display:block;width:100%;height:100%;min-height:inherit;object-fit:cover;object-position:center;border-radius:inherit}

/* Difficulty-first song browsing and square streaming-style album cards */
.difficulty-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;max-width:1000px;margin:0 auto 24px}
.difficulty-card{min-height:112px;padding:18px 16px;border:1px solid #efc4df;border-radius:22px;background:linear-gradient(145deg,#fff,#fff0f8);box-shadow:var(--shadow);color:#a64c91;text-align:left;display:flex;flex-direction:column;justify-content:center;gap:8px;cursor:pointer;transition:transform .18s,border-color .18s,box-shadow .18s}
.difficulty-card b{font:1000 21px 'Nunito',sans-serif;letter-spacing:.04em}
.difficulty-card span{font-size:11px;color:#9e83a3;line-height:1.4}
.difficulty-card.active{border:2px solid #dc83ba;box-shadow:0 0 0 3px #f9e1f0,var(--shadow);transform:translateY(-2px)}
.brother-heading+.difficulty-grid .difficulty-card{background:linear-gradient(145deg,#fff,#f2edff);border-color:#d5c3ee;color:#7956a7}
.brother-heading+.difficulty-grid .difficulty-card.active{border-color:#9872d1;box-shadow:0 0 0 3px #e9e0fa,var(--shadow)}
.song-shelf{max-width:1100px;margin:0 auto 26px}
.shelf-top{display:flex;align-items:center;gap:14px;margin:0 0 14px;color:#a45f91}
.shelf-top h3{margin:0;font:1000 17px 'Nunito',sans-serif;letter-spacing:.08em}
.shelf-top span{margin-left:auto;font-size:10px;color:#a58aa8;letter-spacing:.1em}
.shelf-back{border:0;background:transparent;color:#a45f91;font-weight:900;cursor:pointer}
.album-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.album-card{padding:12px;border-radius:20px}
.album-cover{height:auto;aspect-ratio:1/1;min-height:0;border-radius:13px;background:#f4e4f2}
.album-cover .song-cover-image{width:100%;height:100%;min-height:0;object-fit:cover;aspect-ratio:1/1}
.cover-placeholder{width:100%;height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;padding:10px;text-align:center;color:white;background:linear-gradient(145deg,#f4b5d9,#a88ce1 55%,#7654a7)}
.cover-placeholder span{font-size:28px}.cover-placeholder strong{font:1000 20px 'Nunito',sans-serif;line-height:1.05;text-shadow:0 2px 8px #46205c66}.cover-placeholder i{font-style:normal;font-size:8px;letter-spacing:.16em;opacity:.85}
.cover-placeholder.cover-ive{background:linear-gradient(145deg,#b9d2f2,#8874c5 55%,#f1a7c7)}
.cover-placeholder.cover-bm{background:linear-gradient(145deg,#e3a1d5,#7b58b2 55%,#25143d)}
.cover-placeholder.cover-brother{background:linear-gradient(145deg,#30324f,#8c6e9f 55%,#161421)}
.album-card .song-info{min-height:56px;padding:12px 2px 8px}
.album-card .song-info h3{font-size:13px;line-height:1.25}
.album-card .song-info p{font-size:10px}
.album-card .song-bpm{font-size:8px}
@media(max-width:760px){.difficulty-grid{gap:9px;margin:0 4px 18px}.difficulty-card{min-height:94px;padding:12px 10px;border-radius:17px}.difficulty-card b{font-size:16px}.difficulty-card span{font-size:9px}.album-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.album-card{padding:9px}.shelf-top{gap:8px}.shelf-top h3{font-size:14px}.shelf-top span{font-size:8px}}
@media(max-width:370px){.difficulty-card span{display:none}.difficulty-card{min-height:76px}.album-grid{gap:8px}}
