@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&display=swap');
:root{--ink:#20274c;--muted:#727994;--blue:#405ddd;--purple:#7056db;--line:#e9eaf3;--paper:#fff;--heading:Outfit,'Trebuchet MS',sans-serif;--font:'DM Sans',system-ui,sans-serif;--shadow:0 10px 40px #273a7610}*{box-sizing:border-box}body{margin:0;background:#f6f7fc;color:var(--ink);font-family:var(--font);font-size:15px}button,a,input{ -webkit-tap-highlight-color:transparent}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.5}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #e9a21a;outline-offset:4px}button{color:inherit}button{border:0}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:var(--heading)}.topbar{max-width:1240px;margin:auto;height:104px;padding:0 40px;display:flex;align-items:center;justify-content:space-between;position:relative;z-index:2}.brand{display:flex;align-items:center;gap:12px;font-family:var(--heading);font-size:25px;line-height:.87;font-weight:800;letter-spacing:-1px}.brand-second{display:block;margin-top:5px}.logo-dot{color:#f2ad35}.brand-icon{display:grid;place-items:center;width:48px;height:51px;font-size:46px;line-height:1;border-radius:16px;transform:rotate(-10deg);color:white;background:linear-gradient(135deg,#7691ff,#485dd6);box-shadow:0 4px 0 #3144b4}.top-actions{display:flex;align-items:center;gap:15px}.token-pill{display:flex;align-items:center;gap:9px;background:white;border:1px solid #f0e4c3;border-radius:30px;padding:8px 16px 8px 8px;font-family:var(--heading);font-size:18px;box-shadow:0 3px 0 #e9e8ef}.coin{display:inline-grid;place-items:center;border-radius:50%;width:29px;height:29px;background:#ffd35d;color:#bd7a10;border:3px solid #ffe493;box-shadow:inset 0 0 0 1px #e4a42c;font-size:19px}.profile-button{width:46px;height:46px;border-radius:50%;background:#f0e4ff;border:3px solid #fff;box-shadow:0 3px 0 #daddec;font-size:28px}.icon-button{width:42px;height:42px;display:inline-grid;place-items:center;border:1px solid #e2e5f0;border-radius:13px;background:white;font-size:22px}.ambient{position:fixed;inset:0;pointer-events:none;overflow:hidden;z-index:-1}.ambient span{position:absolute;color:#d9dff5;font-size:40px;left:3%;top:35%;transform:rotate(12deg)}.ambient span:nth-child(2){left:94%;top:12%;font-size:70px}.ambient span:nth-child(3){left:94%;top:80%}.ambient span:nth-child(4){left:1%;top:90%}main{max-width:1240px;margin:0 auto;padding:14px 40px 90px;outline:0}.welcome{display:flex;justify-content:space-between;align-items:flex-end;margin:6px 0 25px}.eyebrow{font-size:11px;font-weight:800;letter-spacing:2px;text-transform:uppercase;color:#7a82a1;display:block;margin-bottom:10px}.welcome h1{font-size:34px;letter-spacing:-1.2px;font-weight:700;line-height:1.2}.welcome h1 .wave{font-size:26px;display:inline-block;margin-left:6px}.welcome p{color:var(--muted);margin-top:8px}.saved-note{font-size:12px;color:var(--muted);display:flex;align-items:center;gap:6px}.saved-note:before{content:'';width:6px;height:6px;background:#69b6a3;border-radius:50%}.dashboard{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:26px}.hero{position:relative;border-radius:26px;background:linear-gradient(120deg,#3d59d4,#6874e7);min-height:326px;overflow:hidden;color:white;padding:32px;display:flex;align-items:center;box-shadow:0 10px 26px #435cce25}.hero:after{content:'';position:absolute;right:-100px;bottom:-180px;width:470px;height:470px;border:1px solid #ffffff20;border-radius:50%;box-shadow:0 0 0 45px #ffffff05,0 0 0 90px #ffffff05}.hero-copy{position:relative;z-index:2;width:55%}.light-label{display:inline-flex;gap:7px;align-items:center;padding:6px 10px;border-radius:7px;background:#ffffff20;font-size:10px;letter-spacing:1.5px;font-weight:700}.hero h2{font-size:42px;line-height:1.07;font-weight:700;letter-spacing:-1.5px;margin:16px 0 12px}.hero-copy>p{color:#e4e7ff;font-size:13px;line-height:1.7;max-width:240px}.primary{display:inline-flex;align-items:center;justify-content:center;gap:12px;background:#ffda70;border-radius:12px;padding:15px 24px;box-shadow:0 4px 0 #dca73b;color:#43331f;font-family:var(--heading);font-size:17px;font-weight:700;transition:transform .15s,box-shadow .15s}.primary:hover{transform:translateY(-2px);box-shadow:0 6px 0 #dca73b}.primary:active{transform:translateY(2px);box-shadow:0 2px 0 #dca73b}.hero .primary{margin-top:23px}.hero .arrow{font-size:22px}.hero-art{position:absolute;right:28px;top:57px;width:225px;height:225px;transform:rotate(9deg);padding:6px;background:#fff7df;border-radius:15px;display:grid;grid-template-columns:repeat(3,1fr);gap:3px;box-shadow:0 15px 35px #192a843d;z-index:1}.hero-art div{border-radius:5px;background-image:url('/assets/harbour.webp');background-size:300% 300%}.hero-art div:last-child{transform:translate(12px,14px) rotate(-13deg);box-shadow:0 8px 14px #1c327d4d}.art-star{position:absolute;top:-29px;right:5px;font-size:40px;color:#ffdb77;transform:rotate(-12deg)}.art-star.small{left:-23px;top:auto;bottom:18px;font-size:26px}.hero-reward{display:flex;align-items:center;gap:6px;font-size:11px;margin-top:14px;color:#e9edff}.hero-reward .coin{width:17px;height:17px;border-width:2px;font-size:10px}.journey{display:flex;align-items:center;background:white;margin-top:18px;border:1px solid var(--line);border-radius:16px;padding:18px;gap:13px}.league-icon{width:45px;height:45px;display:grid;place-items:center;font-size:25px;border-radius:13px;background:#f5e9d5}.journey-info{flex:1}.journey-title{display:flex;justify-content:space-between;align-items:center;font-family:var(--heading);font-weight:600;font-size:15px}.journey-title small{font:11px var(--font);color:var(--muted)}.progress-track{height:6px;border-radius:10px;background:#edf0f7;overflow:hidden;margin:9px 0 6px}.progress-fill{height:100%;background:linear-gradient(90deg,#7c75ea,#a49af8);border-radius:10px;transition:width .3s}.journey-info p{color:var(--muted);font-size:11px}.section-heading{display:flex;align-items:center;justify-content:space-between;margin:28px 0 16px}.section-heading h2{font-size:22px;letter-spacing:-.5px}.text-button{font-size:12px;color:#6671b8;background:none;padding:7px 0;font-weight:700}.category-bar{display:flex;gap:8px;margin-bottom:17px;overflow-x:auto;padding:2px 2px 5px}.chip{white-space:nowrap;background:#fff;border:1px solid #e5e7f0;border-radius:20px;font-size:12px;padding:8px 15px;color:#777e99}.chip.active{background:#e9eaff;color:#5355b5;border-color:#d8d9fc;font-weight:700}.puzzle-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.puzzle-card{position:relative;text-align:left;display:block;border:1px solid #e5e7ef;border-radius:16px;background:white;overflow:hidden;box-shadow:0 4px 12px #283d6b04;transition:transform .2s,box-shadow .2s;padding:0;width:100%}.puzzle-card:hover{transform:translateY(-4px);box-shadow:0 10px 22px #283d6b12}.cover{position:relative;aspect-ratio:1.34;overflow:hidden;background:#dae4f1}.cover img{width:100%;height:100%;object-fit:cover;transition:transform .3s}.puzzle-card:hover img{transform:scale(1.05)}.cover-tag{position:absolute;top:10px;left:10px;padding:4px 7px;border-radius:6px;background:#ffffffed;font-size:9px;font-weight:800;letter-spacing:.6px;color:#4a5979}.collected-dot{position:absolute;right:9px;bottom:9px;width:24px;height:24px;display:grid;place-items:center;border-radius:50%;background:#e1f7da;color:#298945;border:2px solid white;font-size:12px}.card-info{padding:12px 12px 13px}.card-info h3{font-size:15px;font-weight:600}.card-info p{font-size:10px;color:var(--muted);margin-top:6px;display:flex;align-items:center;justify-content:space-between}.mini-token{color:#b88b28;font-weight:700}.sidebar{display:flex;flex-direction:column;gap:18px}.league-card{border:1px solid var(--line);border-radius:22px;background:white;overflow:hidden;box-shadow:var(--shadow)}.league-card-head{padding:23px 21px 18px;border-bottom:1px solid #f0eff6}.league-card h2{font-size:20px;letter-spacing:-.4px}.league-card-head p{font-size:11px;color:var(--muted);margin-top:6px}.league-card-head .eyebrow{color:#9b86cf;font-size:9px;letter-spacing:1.6px;margin-bottom:8px}.podium{display:flex;justify-content:center;align-items:flex-end;gap:13px;padding:23px 12px 18px;background:linear-gradient(#faf9ff,#fff)}.podium-person{text-align:center;width:74px;font-size:10px;color:var(--muted)}.podium-person .avatar{margin:0 auto 7px}.podium-person strong{display:block;font-size:10px;color:var(--ink);font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.podium-person small{display:block;margin-top:4px;font-size:10px}.avatar{width:39px;height:39px;font-size:24px;background:#efedfb;border-radius:50%;display:grid;place-items:center;flex-shrink:0;border:2px solid white;box-shadow:0 2px 6px #27294c12}.podium-person:first-child .avatar{width:49px;height:49px;border:3px solid #ffdc80;font-size:30px}.podium-person:first-child{order:2}.podium-person:nth-child(2){order:1;margin-bottom:-9px}.podium-person:nth-child(3){order:3;margin-bottom:-16px}.crown{display:block;margin-bottom:3px;font-size:19px}.leader-list{padding:0 15px 13px}.leader-row{display:flex;align-items:center;gap:9px;border-top:1px solid #f1f0f6;padding:11px 7px;font-size:12px}.leader-row.mine{background:#eeecff;border:1px solid #dedafa;border-radius:12px;margin:5px 0}.rank-number{width:17px;font-size:11px;color:#8b8fa8;text-align:center}.leader-name{flex:1;min-width:0}.leader-name strong{display:block;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.leader-name small{display:block;color:var(--muted);font-size:9px;margin-top:3px}.leader-score{font-family:var(--heading);font-size:13px;font-weight:600;white-space:nowrap}.leader-score span{color:#d4a64a;font-size:11px}.leader-row .avatar{width:29px;height:29px;font-size:18px}.league-bottom{padding:0 22px 18px}.league-bottom button{width:100%;padding:12px;background:#f4f3fc;border-radius:10px;font-size:11px;color:#6860ac;font-weight:700}.daily-card{border:1px solid #e5e7f0;border-radius:19px;background:linear-gradient(120deg,#f5efe4,#fffbf3);padding:21px;position:relative;overflow:hidden}.daily-card h3{font-size:19px;margin:6px 0 7px}.daily-card .eyebrow{font-size:9px;color:#a79068;margin:0}.daily-card p{font-size:11px;color:#9a8a70;line-height:1.6;max-width:180px}.daily-card>span{position:absolute;right:12px;top:17px;font-size:44px;transform:rotate(8deg)}.daily-card button{margin-top:15px;background:white;border:1px solid #e4d7bd;border-radius:9px;padding:9px 13px;color:#91703d;font-size:11px;font-weight:700}.quiet-note{font-size:10px;line-height:1.7;color:#9196ac;text-align:center;padding:0 15px}.bottom-nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);z-index:20;display:flex;align-items:center;justify-content:center;gap:48px;border:1px solid #eaebf3;background:#ffffffee;backdrop-filter:blur(16px);border-radius:22px 22px 0 0;box-shadow:0 -6px 30px #253d6506;padding:10px 46px calc(10px + env(safe-area-inset-bottom));}.bottom-nav button{background:none;color:#9498b1;font-size:10px;display:flex;flex-direction:column;align-items:center;gap:3px;min-width:45px;font-weight:600}.bottom-nav button span{font-family:var(--heading);font-size:23px;line-height:1.1}.bottom-nav button.active{color:#5d61c8}.page-title{text-align:center;padding:22px 0 26px}.page-title h1{font-size:36px;letter-spacing:-1px}.page-title p{margin-top:9px;color:var(--muted);font-size:13px}.league-tabs{display:flex;justify-content:center;gap:12px;margin-bottom:25px}.league-tab{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--line);padding:11px 20px;border-radius:13px;font-family:var(--heading);font-weight:600}.league-tab.active{background:#eae7ff;border-color:#bdb3ef;color:#6656b8}.league-page-card{max-width:630px;margin:auto}.league-page-card .leader-row{padding:13px 14px;font-size:15px}.league-page-card .leader-name strong{font-size:14px}.league-page-card .leader-name small{font-size:11px}.league-page-card .avatar{width:39px;height:39px;font-size:24px}.league-page-card .rank-number{width:25px;font-size:13px}.league-page-card .leader-score{font-size:17px}.league-page-card .podium{gap:35px;padding-top:30px;padding-bottom:35px}.league-page-card .podium-person{width:100px}.league-page-card .podium-person .avatar{width:55px;height:55px;font-size:34px}.league-page-card .podium-person:first-child .avatar{width:68px;height:68px;font-size:40px}.league-page-card .podium-person strong{font-size:12px}.new-run-box{max-width:630px;margin:20px auto;text-align:center;padding:22px;border:1px dashed #d7d6eb;border-radius:16px}.new-run-box p{font-size:12px;color:var(--muted);line-height:1.7;margin-bottom:13px}.secondary{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:#efedfb;color:#655bac;border-radius:10px;padding:12px 19px;font-weight:700;font-size:13px}.album-stats{text-align:center;font-family:var(--heading);font-size:14px;color:#7e749c;margin-bottom:24px}.album-page .puzzle-grid{grid-template-columns:repeat(3,1fr);max-width:900px;margin:auto;gap:22px}.album-page .cover{aspect-ratio:1.35}.album-page .card-info{padding:16px}.album-page .card-info h3{font-size:20px}.album-page .card-info p{font-size:12px}.difficulty-badges{display:flex;gap:6px;padding:0 14px 15px}.difficulty-badges span{width:26px;height:26px;display:grid;place-items:center;font-size:10px;border-radius:7px;background:#f1f0f5;color:#b6b4c4}.difficulty-badges span.won{background:#fff1c6;color:#9a742b}.game-page{max-width:1050px;margin:auto}.game-top{display:flex;align-items:center;justify-content:space-between;margin:5px 0 25px;gap:15px}.game-top h1{font-size:24px;letter-spacing:-.6px}.game-top p{font-size:11px;color:var(--muted);margin-top:5px}.game-heading{text-align:center}.game-reward{font-family:var(--heading);color:#9f7a36;font-size:15px;display:flex;align-items:center;gap:5px}.game-layout{display:grid;grid-template-columns:minmax(0,550px) minmax(180px,1fr);gap:32px;align-items:start;justify-content:center}.board-shell{padding:11px;border-radius:20px;background:linear-gradient(135deg,#5f79d8,#778fdc);box-shadow:0 6px 0 #3f559c,0 16px 35px #4866ad20;position:relative}.board{display:grid;gap:3px;aspect-ratio:1;position:relative;touch-action:none;user-select:none;-webkit-user-select:none}.tile{position:relative;padding:0;border-radius:5px;border:1px solid #ffffffaa;background-repeat:no-repeat;box-shadow:inset 0 0 0 1px #ffffff40,0 2px 3px #19263b50;touch-action:none;transition:box-shadow .15s,filter .15s;min-width:0;min-height:0}.tile:hover{filter:brightness(1.09)}.tile.correct:after{content:'';position:absolute;width:5px;height:5px;border-radius:50%;bottom:3px;right:3px;background:#fff5b0;box-shadow:0 0 0 1px #7c854770}.tile.selected{outline:3px solid #ffdc72;outline-offset:-2px;z-index:2;box-shadow:0 0 15px #ffe17e}.tile.drop-target{outline:4px solid #ffda70;outline-offset:-3px;filter:brightness(1.15)}.tile.drag-source{opacity:.32}.drag-ghost{position:fixed;z-index:100;pointer-events:none;border-radius:6px;border:3px solid #fff6c9;box-shadow:0 12px 25px #1c245a60;transform:translate(-50%,-50%) rotate(3deg);opacity:.95}.board-glow{animation:solved .6s ease}@keyframes solved{50%{box-shadow:0 0 45px #ffcf70}}.game-progress{display:flex;align-items:center;gap:14px;margin:22px 0 15px;font-size:11px;color:var(--muted)}.game-progress .progress-track{flex:1;height:8px;margin:0}.game-progress .progress-fill{background:linear-gradient(90deg,#79bca6,#a6d8b6)}.game-toolbar{display:flex;gap:10px;justify-content:center}.game-toolbar button{flex:1;padding:13px 10px;font-size:12px;display:flex;gap:7px;align-items:center;justify-content:center}.game-toolbar button span{font-size:18px}.game-side{padding-top:2px}.reference-card{padding:18px;border-radius:18px;background:white;border:1px solid var(--line)}.reference-card .eyebrow{font-size:9px;margin-bottom:13px}.reference-card img{display:block;width:100%;aspect-ratio:1;object-fit:cover;border-radius:10px}.reference-card p{font-size:11px;color:var(--muted);line-height:1.8;margin-top:13px}.game-stat-row{display:flex;gap:12px;margin-top:16px}.game-stat{background:white;flex:1;padding:15px 10px;border:1px solid var(--line);border-radius:12px;text-align:center}.game-stat span{font-size:9px;text-transform:uppercase;letter-spacing:1px;color:var(--muted);display:block}.game-stat strong{display:block;font-family:var(--heading);font-size:23px;margin-top:6px}.game-mini-league{margin-top:15px;border:1px solid var(--line);padding:15px;border-radius:12px;background:#eeecfb;font-size:11px;color:#7d72a3;line-height:1.7}.game-mini-league strong{display:block;font-family:var(--heading);color:#6859a3;font-size:16px;margin-bottom:3px}.game-instruction{text-align:center;font-size:11px;color:#959ab0;margin-top:18px}.game-page .mobile-stats{display:none}.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}dialog{padding:0;border:1px solid #eeecf7;border-radius:25px;box-shadow:0 25px 100px #15245450;width:min(440px,calc(100% - 32px));max-height:90dvh;color:var(--ink);background:#fff;overflow:auto}dialog::backdrop{background:#17214882;backdrop-filter:blur(6px)}.modal-inner{padding:30px;position:relative}.modal-inner h2{font-size:28px;letter-spacing:-.7px;margin-bottom:9px}.modal-inner>p{font-size:13px;color:var(--muted);line-height:1.8;margin-bottom:20px}.modal-close{position:absolute;right:14px;top:14px;background:#f3f2f8;border-radius:50%;width:30px;height:30px;font-size:20px;color:#9293a4}.modal-inner .primary{width:100%;margin-top:16px}.modal-inner .secondary{width:100%;margin-top:10px}.modal-image{width:100%;aspect-ratio:1;border-radius:15px;object-fit:cover;margin-bottom:15px}.difficulty-options{display:grid;grid-template-columns:1fr 1fr;gap:9px}.difficulty-option{border:1px solid #e4e2ef;border-radius:12px;padding:14px;background:#faf9fd;text-align:left}.difficulty-option.active{border-color:#8d80da;background:#f0edff;box-shadow:inset 0 0 0 1px #9e91e4}.difficulty-option strong{font-family:var(--heading);font-size:16px;display:block}.difficulty-option span{font-size:10px;color:var(--muted);display:block;margin-top:5px}.difficulty-option small{display:block;color:#b18939;margin-top:7px;font-size:11px;font-weight:700}.field-label{display:block;font-size:12px;font-weight:700;margin:19px 0 8px}.text-field{width:100%;padding:13px 15px;border:1px solid #dedfea;border-radius:10px;color:var(--ink);background:#f9f9fd;font-size:16px}.avatar-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:7px}.avatar-choice{border-radius:11px;background:#f3f1fa;padding:8px 0;font-size:25px;border:2px solid transparent}.avatar-choice.active{background:#e6e1fb;border-color:#9c8cda}.settings-row{display:flex;align-items:center;justify-content:space-between;padding:16px 0;border-bottom:1px solid var(--line);font-size:13px}.switch{width:45px;height:26px;border-radius:20px;background:#d5d7e4;padding:3px}.switch:before{content:'';display:block;width:20px;height:20px;background:white;border-radius:50%;box-shadow:0 1px 4px #0002;transition:transform .2s}.switch.on{background:#7e71cd}.switch.on:before{transform:translateX(19px)}.info-box{border-radius:12px;background:#f7f6fb;padding:15px;margin-top:18px;font-size:11px;line-height:1.8;color:var(--muted)}.win-inner{text-align:center}.win-trophy{font-size:62px;display:block;margin-bottom:15px}.win-token{display:flex;gap:10px;align-items:center;justify-content:center;font-family:var(--heading);font-size:38px;color:#a87524;background:#fff5d9;border:1px solid #f6e4af;padding:16px;border-radius:16px;margin:20px 0}.win-token .coin{width:38px;height:38px;font-size:26px}.win-stats{display:flex;justify-content:space-evenly;font-size:11px;color:var(--muted);margin:15px 0}.win-stats strong{font-family:var(--heading);display:block;font-size:20px;color:var(--ink);margin-bottom:4px}.promotion{background:#efecfc;border-radius:10px;padding:13px;font-size:12px;color:#7461b0;line-height:1.7}.preview-inner{padding:21px}.preview-inner h2{font-size:21px;padding-right:30px;margin-bottom:15px}.preview-inner img{width:100%;border-radius:12px;display:block}.preview-inner p{text-align:center;margin:12px 0 0;font-size:11px}.empty-filter{padding:30px;text-align:center;color:var(--muted);grid-column:1/-1}#toast{position:fixed;z-index:200;bottom:100px;left:50%;transform:translate(-50%,20px);opacity:0;pointer-events:none;background:#282b49;color:#fff;border-radius:12px;padding:13px 22px;font-size:12px;box-shadow:0 5px 30px #0002;transition:opacity .2s,transform .2s;text-align:center;max-width:90%}#toast.show{opacity:1;transform:translate(-50%,0)}.confetti{position:fixed;top:-15px;width:9px;height:15px;z-index:80;pointer-events:none;animation:fall 2.8s ease-in forwards}@keyframes fall{to{transform:translate(var(--drift),100dvh) rotate(700deg);opacity:0}}body.game-active .bottom-nav{display:none}body.game-active main{padding-bottom:30px}body.game-active .topbar{height:90px}
@media(min-width:1400px){main{padding-top:30px}.hero{min-height:350px}.hero-art{top:63px;width:240px;height:240px}.hero h2{font-size:47px}.puzzle-grid{gap:18px}.cover{aspect-ratio:1.25}}@media(max-width:1100px){.dashboard{grid-template-columns:minmax(0,1fr) 280px;gap:20px}.hero{padding:26px;min-height:300px}.hero-art{width:180px;height:180px;right:20px;top:70px}.hero h2{font-size:37px}.hero-copy{width:60%}.hero-copy>p{max-width:190px}.puzzle-grid{gap:10px}.card-info h3{font-size:13px}.topbar,main{padding-left:28px;padding-right:28px}}
@media(max-width:850px){.dashboard{grid-template-columns:minmax(0,1fr)}.sidebar{display:none}.hero{min-height:300px}.hero-copy{width:55%}.hero-copy>p{max-width:260px}.hero-art{width:235px;height:235px;top:42px;right:50px}.hero h2{font-size:45px}.puzzle-grid{gap:16px}.card-info h3{font-size:16px}.game-layout{grid-template-columns:minmax(0,480px) minmax(160px,220px);gap:20px}.game-top{margin-top:0}.game-top h1{font-size:21px}.album-page .puzzle-grid{gap:16px}.album-page .card-info h3{font-size:17px}}
@media(max-width:600px){.topbar{height:90px;padding:0 22px}.brand{font-size:22px;gap:9px}.brand-icon{width:40px;height:44px;font-size:39px;border-radius:13px}.top-actions{gap:9px}.token-pill{font-size:16px;padding:5px 11px 5px 5px;gap:6px}.coin{width:25px;height:25px;font-size:16px}.profile-button{width:39px;height:39px;font-size:25px}.settings-button{width:32px;height:32px;font-size:19px;background:none;border:0}.topbar .brand-second{margin-top:4px}main{padding:10px 20px 105px}.welcome{margin:3px 0 23px}.welcome .eyebrow{font-size:9px;letter-spacing:1.7px;margin-bottom:8px}.welcome h1{font-size:28px;letter-spacing:-.9px}.welcome h1 .wave{font-size:21px}.welcome p{font-size:12px;margin-top:7px}.saved-note{display:none}.hero{min-height:290px;padding:25px 22px;border-radius:22px;align-items:flex-start}.hero-copy{width:60%}.hero h2{font-size:35px;line-height:1.1;letter-spacing:-1px;margin-top:15px}.hero-copy>p{font-size:11px;line-height:1.7;max-width:170px}.light-label{font-size:8px;padding:5px 8px;letter-spacing:1.2px}.hero .primary{font-size:15px;margin-top:19px;padding:12px 17px;gap:13px}.hero-art{width:149px;height:149px;right:-12px;top:93px;transform:rotate(13deg);border-radius:11px;padding:4px;gap:2px}.hero-art div{border-radius:3px}.art-star{top:-25px;right:10px;font-size:33px}.art-star.small{left:-16px;bottom:-19px;font-size:22px}.hero-reward{font-size:9px;margin-top:13px}.journey{margin-top:15px;padding:14px;gap:10px;border-radius:14px}.league-icon{width:37px;height:39px;font-size:22px;border-radius:11px}.journey-title{font-size:14px}.journey-title small{font-size:10px}.journey-info p{font-size:10px}.section-heading{margin:25px 0 14px}.section-heading h2{font-size:21px}.text-button{font-size:11px}.category-bar{gap:7px;margin-bottom:13px}.chip{font-size:10px;padding:7px 12px}.puzzle-grid{grid-template-columns:repeat(2,1fr);gap:13px}.puzzle-card{border-radius:13px}.cover{aspect-ratio:1.19}.cover-tag{top:8px;left:8px;font-size:8px}.card-info{padding:11px}.card-info h3{font-size:15px}.card-info p{font-size:9px}.bottom-nav{width:100%;gap:0;justify-content:space-around;padding:11px 25px calc(13px + env(safe-area-inset-bottom));border-radius:20px 20px 0 0}.bottom-nav button{font-size:10px;gap:4px}.bottom-nav button span{font-size:25px}.page-title{padding:12px 0 24px}.page-title h1{font-size:31px}.page-title p{font-size:11px;line-height:1.8}.league-tabs{gap:7px;margin-bottom:20px}.league-tab{padding:10px 12px;font-size:13px;gap:5px;border-radius:11px}.league-page-card .podium{gap:13px}.league-page-card .leader-row{padding:12px 5px;gap:8px}.league-page-card .leader-name strong{font-size:12px}.league-page-card .leader-name small{font-size:9px}.league-page-card .leader-score{font-size:14px}.league-page-card .rank-number{width:18px}.album-page .puzzle-grid{grid-template-columns:1fr 1fr;gap:14px}.album-page .card-info{padding:11px}.album-page .card-info h3{font-size:15px}.album-page .card-info p{font-size:10px}.difficulty-badges{gap:4px;padding:0 11px 13px}.difficulty-badges span{width:23px;height:23px;font-size:9px}.game-layout{display:block}.game-side{display:none}.game-top{margin:2px 0 17px;gap:7px}.game-top h1{font-size:20px}.game-top p{font-size:10px}.game-top .icon-button{width:36px;height:36px;font-size:20px;border-radius:11px}.game-reward{font-size:12px}.game-reward .coin{width:21px;height:21px;font-size:12px}.board-shell{padding:7px;border-radius:13px;max-width:500px;margin:auto;box-shadow:0 5px 0 #3f559c,0 12px 20px #4866ad15}.board{gap:2px}.tile{border-radius:3px}.game-page .mobile-stats{display:flex;justify-content:space-between;font-size:11px;color:var(--muted);margin:0 2px 15px}.mobile-stats strong{font-weight:700;color:#646b88}.game-progress{margin:22px 0 17px;font-size:10px;gap:10px}.game-toolbar{gap:8px}.game-toolbar button{font-size:11px;padding:12px 8px}.game-instruction{margin-top:16px;font-size:10px}.game-page{max-width:500px}.game-page .game-mini-league{margin-top:23px;padding:14px;text-align:center;font-size:10px;display:block}.game-page .game-mini-league strong{font-size:14px}body.game-active .topbar{height:80px}body.game-active main{padding-top:5px}.modal-inner{padding:27px 23px}.modal-inner h2{font-size:26px}.modal-inner>p{font-size:12px}.avatar-grid{gap:5px}.avatar-choice{font-size:24px}.ambient{display:none}}@media(max-width:350px){.topbar{padding:0 14px}.top-actions{gap:5px}main{padding-left:14px;padding-right:14px}.hero{padding:22px 18px}.hero h2{font-size:32px}.hero-art{right:-24px;width:140px;height:140px}.card-info h3{font-size:13px}.league-tab{font-size:11px;padding:9px}.game-top h1{font-size:17px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.library-summary{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:15px}.library-summary>span{font-size:10px;color:#8c91a7}.search-field{display:flex;align-items:center;gap:6px;background:white;border:1px solid #e5e7f0;border-radius:9px;padding:8px 10px;color:#8e92b1}.search-field input{border:0;outline:0;width:155px;font-size:11px;background:none;color:var(--ink)}.search-field input:focus-visible{outline:0}.search-field:focus-within{outline:2px solid #aaa0dc}.load-more{display:flex;margin:23px auto 0;font-size:12px;padding:12px 22px;gap:12px}.load-more span{font-size:10px;color:#8d86ad}.completion-summary{border-radius:12px;padding:13px;background:#f6f5fb;font-size:13px;line-height:1.8;color:#6d648b}.completion-summary span{font-size:10px;color:#9990ac}@media(max-width:600px){.library-summary{align-items:flex-start;flex-direction:column;gap:12px}.search-field{width:100%;padding:10px 12px}.search-field input{width:100%;font-size:12px}.library-summary>span{font-size:10px}}

@media(max-width:600px){.hero-copy{width:72%}.hero h2{font-size:31px;letter-spacing:-.8px}.hero-art{top:108px}.hero .light-label{white-space:nowrap;letter-spacing:.8px;font-size:8px}.hero{min-height:290px}}
