:root{--bg:#f7f6fb;--surface:#fff;--ink:#282337;--muted:#928c9e;--purple:#7652f4;--purple-dark:#5231c1;--lavender:#efebff;--line:#ece9f2;--mint:#cbf7bf;--radius:24px;--shadow:0 10px 28px #33244c06;font-family:Inter,"Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,a,input{ -webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}a{color:inherit;text-decoration:none}button{border:0;background:none;color:inherit}button:disabled{cursor:default;opacity:.52}button:focus-visible,a:focus-visible,input:focus-visible,canvas:focus-visible{outline:3px solid #a991ff;outline-offset:4px}svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.svg-sprite{position:absolute;width:0;height:0;overflow:hidden}.skip-link{position:fixed;top:-100px;left:20px;z-index:100;background:var(--purple);color:white;padding:14px}.skip-link:focus{top:12px}
.sidebar{position:fixed;inset:0 auto 0 0;width:238px;background:#fff;border-right:1px solid var(--line);padding:34px 22px 20px;z-index:30;display:flex;flex-direction:column}.brand{display:flex;gap:10px;align-items:center;font-size:28px;font-weight:850;letter-spacing:-1.5px;margin:0 10px 52px}.brand-dot{color:var(--purple)}.brand img{border-radius:11px}.nav-label{font-size:9px;font-weight:800;letter-spacing:1.6px;color:#aaa5b4;margin:0 15px 17px}.nav-item{display:flex;align-items:center;gap:13px;width:100%;padding:15px 16px;border-radius:12px;color:#8d879c;font-size:12px;font-weight:650;text-align:left;margin:6px 0;transition:background .2s,color .2s,transform .2s}.nav-item svg{width:20px;height:20px}.nav-item.active{color:var(--purple);background:#efebff}.nav-item:hover{background:#f5f2ff;transform:translateX(2px)}.nav-pill{margin-left:auto;background:var(--purple);color:#fff;border-radius:5px;font-size:10px;padding:2px 5px}.notification-dot{width:6px;height:6px;border-radius:50%;background:#ffb077;margin-left:auto}.sidebar-bottom{margin-top:auto;padding-top:36px}.mini-promo{background:#f7f4ff;border:1px solid #efebfb;border-radius:19px;padding:24px 18px 20px;position:relative;overflow:hidden}.mini-promo-art{font-size:40px;color:var(--purple);line-height:1;margin-bottom:16px;text-shadow:4px 4px #dcd3ff}.mini-promo strong{font-size:12px;display:block}.mini-promo p{font-size:10px;line-height:1.9;color:#a09aad;margin:8px 0 10px}.text-button{display:inline-flex;gap:10px;align-items:center;font-weight:750;color:var(--purple);font-size:11px;padding:0}.text-button svg{width:15px}.profile-mini{display:flex;gap:10px;align-items:center;width:100%;text-align:left;border-top:1px solid var(--line);padding:23px 4px 0;margin-top:24px}.avatar{position:relative;display:inline-grid;place-items:center;background:#dcd3fc;color:#6145b8;font-size:15px;font-weight:800;width:37px;height:37px;border-radius:12px;flex-shrink:0}.avatar>span{position:absolute;right:-4px;bottom:-3px;border:2px solid white;border-radius:5px;background:#c9f49c;color:#4a6c24;font-size:10px;line-height:16px;width:16px;text-align:center}.profile-mini strong{display:block;font-size:11px}.profile-mini small{display:block;font-size:9px;color:var(--muted);margin-top:4px}.profile-mini>svg{margin-left:auto;width:14px}
.app-shell{margin-left:238px}.topbar{height:91px;padding:0 46px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:#faf9fd}.breadcrumb{font-size:9px;font-weight:750;letter-spacing:1.4px;color:#9e97ac}.breadcrumb>span{font-size:15px;color:var(--purple);margin-left:10px}.top-actions{display:flex;align-items:center;gap:16px}.streak-chip{display:flex;gap:5px;align-items:center;font-size:10px;font-weight:650;color:#777080}.streak-chip svg{width:17px;height:20px;color:#f7a76a;fill:#ffe2c7;stroke-width:1.5}.coin-chip{display:flex;align-items:center;gap:6px;padding:8px 10px;background:#fff4db;border:1px solid #ffe8b4;border-radius:10px;font-size:11px;font-weight:800;color:#a67a26}.coin-chip svg{width:17px;height:17px;color:#e8ad36;fill:#ffe6a0}.plus{margin-left:4px;background:#ffe7ad;border-radius:5px;font-size:12px;line-height:17px;width:17px}.icon-button{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:10px;transition:background .2s;color:#96909e}.icon-button:hover{background:#eee9fc;color:var(--purple)}.icon-button svg{width:18px;height:18px}.mobile-brand,.mobile-nav{display:none}main{max-width:1530px;margin:auto;padding:35px 46px 20px;min-height:calc(100vh - 155px)}.greeting{display:flex;align-items:center;justify-content:space-between;margin-bottom:25px}.eyebrow{font-size:9px;letter-spacing:1.6px;font-weight:800;color:var(--muted);text-transform:uppercase;margin:0 0 10px}h1,h2,h3,p{margin-top:0}h1{font-size:31px;font-weight:800;letter-spacing:-1.2px;margin:0 0 8px;line-height:1.2}.greeting h1>span{display:inline-block;font-size:27px;transform:rotate(-15deg);margin-left:7px}.subtitle{font-size:11px;color:var(--muted);line-height:1.8;margin:0}.date-chip{border:1px solid #e7e2ed;border-radius:8px;padding:8px 11px;color:#8c859c;font-size:10px;white-space:nowrap}.date-chip b{font-weight:800;color:var(--ink);margin-right:6px}
.hero-grid{display:grid;grid-template-columns:minmax(0,2.35fr) minmax(245px,1fr);gap:22px}.hero{border-radius:24px;min-height:304px;background:#30205b;position:relative;overflow:hidden;display:flex;align-items:center;color:#fff;padding:34px 32px;isolation:isolate}.hero:before{content:"";position:absolute;inset:0;background:radial-gradient(ellipse at 90% 100%,#7960cf88,transparent 65%),radial-gradient(ellipse at 95% 0%,#554391,transparent 60%);z-index:-1}.hero:after{content:"";width:420px;height:420px;border:1px solid #ffffff09;border-radius:50%;position:absolute;right:-80px;top:-90px;box-shadow:0 0 0 40px #ffffff02,0 0 0 80px #ffffff02;z-index:-1}.hero-copy{position:relative;z-index:2;max-width:58%}.tag{display:inline-flex;align-items:center;gap:5px;font-size:8px;font-weight:800;letter-spacing:1.2px;border-radius:5px;padding:6px 8px;line-height:1}.hero .tag{color:#d5f7ae;background:#ffffff13;border:1px solid #ffffff13;margin-bottom:18px}.tag svg{width:11px;height:11px;fill:currentColor;stroke:none}.hero h2{font-size:39px;line-height:1.1;letter-spacing:-1.7px;font-weight:850;margin-bottom:12px}.hero h2 em{font-style:normal;color:#c4ee98}.hero p{font-size:10px;color:#b4a6d0;line-height:1.9;max-width:230px;margin-bottom:23px}.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;border-radius:10px;padding:13px 21px;font-size:11px;font-weight:750;transition:transform .18s,box-shadow .18s,background .18s}.button:hover{transform:translateY(-2px);box-shadow:0 7px 18px #39216220}.button:active{transform:translateY(1px) scale(.98)}.button svg{width:15px;height:15px}.button.primary{background:var(--purple);color:white;box-shadow:0 5px 14px #7652f423}.button.mint{background:#d0f4ab;color:#304023}.button.white{background:#fff;color:var(--purple)}.button.ghost{border:1px solid #e9e4f2;background:#fff;color:#81788e}.button.full{width:100%}.hero-footnote{font-size:8px!important;display:flex;align-items:center;gap:5px;margin-top:14px!important;margin-bottom:0!important;color:#c3b5d9!important}.hero-footnote i{width:4px;height:4px;background:#d0f4ab;border-radius:50%}.hero-art{position:absolute;right:-8px;top:0;width:48%;height:100%;perspective:800px}.hero-blocks{position:absolute;top:40px;left:0;display:grid;grid-template-columns:repeat(4,49px);grid-auto-rows:49px;gap:6px;transform:rotate(-17deg) rotateY(-12deg) rotateX(10deg);animation:bob 6s ease-in-out infinite}.cube{border-radius:10px;box-shadow:inset 0 2px 0 #ffffff70,inset 0 -6px 0 #00000018,3px 6px 0 #00000015,8px 12px 22px #00000015;display:grid;place-items:center;font-size:23px;color:#ffffffa0;text-shadow:0 2px #0000000a;background:#c4a5ff;border:1px solid #ffffff20}.cube.lime{background:#c2ee93;color:#6d9849}.cube.pink{background:#f4a4d9}.cube.orange{background:#ffcd83}.cube.blue{background:#92d9f0}.cube.empty{visibility:hidden}.orbit-star{position:absolute;z-index:1;color:#d2f8ab;font-size:27px;right:30px;top:23px;animation:turn 16s linear infinite}.orbit-star.small{font-size:17px;top:auto;bottom:37px;right:160px;color:#ffcd83;animation-direction:reverse}.float-badge{position:absolute;bottom:50px;right:14px;background:#ffffff13;backdrop-filter:blur(12px);border:1px solid #ffffff20;box-shadow:0 10px 30px #22133f30;border-radius:12px;padding:11px 14px;transform:rotate(8deg);font-size:9px;color:#e9e2fa;animation:bob 5s 1s ease-in-out infinite}.float-badge strong{display:block;font-size:14px;color:#d0f4ab;margin-bottom:3px}.spin-card{border-radius:24px;background:#fff5df;padding:22px 23px 18px;position:relative;overflow:hidden;text-align:center;border:1px solid #f5e9d0}.spin-card .eyebrow{font-size:8px;color:#b99b5e;margin-bottom:6px}.spin-card h3{font-size:20px;letter-spacing:-.6px;margin-bottom:3px}.spin-card p{color:#b69c70;font-size:9px;line-height:1.8;margin-bottom:12px}.mini-wheel{width:125px;height:125px;border-radius:50%;margin:10px auto 17px;background:conic-gradient(#b39bfa 0 45deg,#f9d283 45deg 90deg,#eac1f1 90deg 135deg,#d2edac 135deg 180deg,#b39bfa 180deg 225deg,#f9d283 225deg 270deg,#eac1f1 270deg 315deg,#d2edac 315deg);border:6px solid white;box-shadow:0 5px 0 #e5ce9860,0 8px 18px #ac8a3c13;position:relative;transform:rotate(-12deg)}.mini-wheel:after{content:"✦";position:absolute;inset:40px;border-radius:50%;display:grid;place-items:center;font-size:18px;background:white;color:#a787e2;box-shadow:0 2px 5px #8e744d20}.mini-wheel:before{content:"";position:absolute;z-index:2;top:-12px;left:44px;width:0;height:0;border-left:9px solid transparent;border-right:9px solid transparent;border-top:18px solid #413358;transform:rotate(12deg)}.wheel-dot{position:absolute;font-size:14px;color:#ffffffb0;line-height:1}.wheel-dot:nth-child(1){top:12px;left:48px}.wheel-dot:nth-child(2){top:47px;right:10px}.wheel-dot:nth-child(3){bottom:12px;left:47px}.wheel-dot:nth-child(4){top:47px;left:10px}.spin-card .button{padding:10px;background:white;color:#8a622d;font-size:10px;box-shadow:0 2px 0 #ecd8ad70}.spin-card .button svg{width:13px}.spin-card .spin-caption{display:block;font-size:8px;margin-top:8px;color:#baa57c}
.section-title{display:flex;justify-content:space-between;align-items:center;margin:31px 0 17px}.section-title h2{font-size:18px;letter-spacing:-.5px;margin:0;display:flex;align-items:center;gap:9px}.section-title h2>span{font-size:9px;font-weight:600;color:#9990a9;border:1px solid #e5dfed;padding:3px 6px;border-radius:5px;letter-spacing:0}.section-title p{font-size:9px;color:#a69eaf;margin:0}.game-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:21px}.game-card{border-radius:19px;background:white;overflow:hidden;border:1px solid #eae6f0;box-shadow:var(--shadow);transition:transform .25s,box-shadow .25s;cursor:pointer;text-align:left;width:100%;padding:0;display:block}.game-card:hover{transform:translateY(-6px);box-shadow:0 18px 32px #40257112}.game-cover{height:177px;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center}.game-cover:after{content:"";position:absolute;width:200px;height:200px;border:1px solid #ffffff38;transform:rotate(-20deg);border-radius:28px;box-shadow:0 0 0 27px #ffffff0b,0 0 0 53px #ffffff09}.game-cover.match{background:#e9ddfc}.game-cover.tetris{background:#d7f2e4}.game-cover.blocks{background:#ffe9cb}.cover-label{position:absolute;left:15px;top:14px;background:#ffffffa8;border:1px solid #ffffff77;color:#79608f;font-size:7px;letter-spacing:.8px;font-weight:800;border-radius:5px;padding:5px 7px;z-index:3}.cover-label.hot{background:#fff0f4;color:#d07e9c}.game-cover .favorite{position:absolute;right:14px;top:14px;width:22px;height:22px;border-radius:50%;background:#ffffff70;display:grid;place-items:center;color:#ffffff;z-index:3;font-size:15px}.cover-art{position:relative;z-index:2;display:grid;gap:5px;transform:rotate(-13deg);animation:coverBob 6s ease-in-out infinite}.match .cover-art{grid-template-columns:repeat(3,36px);transform:rotate(-13deg);margin-top:15px}.gem-art{width:36px;height:36px;border-radius:11px;box-shadow:inset 0 2px #ffffff90,inset 0 -4px #00000012,0 4px 0 #6c449c13;display:grid;place-items:center;font-size:18px;color:#ffffffc9;background:#b199f0}.gem-art:nth-child(3n+1){background:#f39ed0}.gem-art:nth-child(3n+2){background:#9cdcca}.gem-art:nth-child(4){background:#ffcd7e}.gem-art:nth-child(8){background:#ffcd7e}.cover-spark{position:absolute;font-size:27px;color:white;z-index:3;right:38px;top:67px;transform:rotate(12deg);text-shadow:0 3px #a48ac817}.cover-spark.sm{left:40px;right:auto;top:116px;font-size:17px}.tetris .cover-art{grid-template-columns:repeat(5,25px);grid-auto-rows:25px;gap:3px;transform:rotate(12deg);margin-top:20px;animation-delay:-2s}.art-block{background:#6fba9d;border:1px solid #ffffff50;border-radius:5px;box-shadow:inset 0 2px #ffffff60,inset 0 -3px #00000013,0 3px #508c6c18}.art-block.purple{background:#b69de9}.art-block.yellow{background:#ffd17b}.art-block.blue{background:#88cfd4}.art-block.pink{background:#eda9b8}.art-block.blank{visibility:hidden}.blocks .cover-art{grid-template-columns:repeat(5,25px);grid-auto-rows:25px;gap:3px;transform:rotate(-10deg);margin-top:20px;animation-delay:-4s}.blocks .art-block{background:#f2b96d}.blocks .art-block.purple{background:#bda2e7}.blocks .art-block.pink{background:#edb1ae}.game-info{padding:16px 17px 14px}.game-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:7px}.game-heading h3{font-size:15px;letter-spacing:-.4px;margin:0}.game-heading>span{font-size:8px;color:#aa9e7d;display:flex;gap:3px;align-items:center}.game-heading svg{width:10px;height:10px;fill:#f2c167;stroke:none}.game-info p{font-size:9px;line-height:1.7;color:var(--muted);margin:0 0 16px}.game-card-bottom{border-top:1px solid #f1edf5;padding-top:11px;display:flex;align-items:center;justify-content:space-between}.game-card-bottom>span{font-size:8px;font-weight:700;color:#aaa2b7}.game-card-bottom b{color:#8f79bb;font-size:8px;font-weight:700}.card-play{background:#f0ebff;border-radius:7px;color:var(--purple);font-size:9px;font-weight:800;padding:7px 9px;display:flex;align-items:center;gap:6px}.card-play svg{width:11px;height:11px;fill:currentColor;stroke:none}
.bottom-grid{display:grid;grid-template-columns:1.6fr 1fr;gap:22px;margin-top:24px}.daily-strip{display:flex;gap:15px;align-items:center;padding:21px 23px;background:#fff;border:1px solid var(--line);border-radius:17px}.strip-icon{width:43px;height:43px;display:grid;place-items:center;background:#fff5d7;color:#c59d3a;border-radius:12px;flex-shrink:0}.strip-icon svg{width:23px;height:23px}.strip-copy{flex:1}.strip-copy h3{font-size:11px;margin:0 0 6px}.strip-copy p{font-size:9px;color:#a198ad;margin:0}.progress{height:4px;border-radius:4px;background:#eee9f7;overflow:hidden;margin-top:11px;max-width:240px}.progress>span{display:block;height:100%;background:var(--purple);border-radius:inherit;transition:width .5s}.strip-link{font-size:10px;color:var(--purple);font-weight:750;display:flex;align-items:center;gap:8px}.strip-link svg{width:13px}.vibe-strip{border-radius:17px;background:#eee9fa;display:flex;align-items:center;gap:15px;padding:21px 23px;position:relative;overflow:hidden}.vibe-strip .strip-icon{background:#e0d7f7;color:#9b80d2}.vibe-strip .strip-copy h3{color:#765c9b}.vibe-strip .strip-copy p{color:#9c87ba}.vibe-strip>span{font-size:36px;color:#c1b0e4;margin-left:auto}.footer{padding:23px 46px 27px;display:flex;justify-content:space-between;gap:20px;color:#b4adbf;font-size:8px;max-width:1530px;margin:auto}.footer>span:last-child{display:flex;align-items:center;gap:6px;font-size:7px;letter-spacing:.4px}.online-dot{width:4px;height:4px;border-radius:50%;background:#9bc5a4}.footer-star{margin:0 5px;color:#b09bda}
/* Inner pages */
.page-header{margin-bottom:29px}.page-header h1{font-size:31px}.page-header p{font-size:12px;color:var(--muted);line-height:1.8}.page-header .eyebrow{margin-bottom:10px}.quests-grid{display:grid;gap:16px}.quest-card{background:white;border:1px solid var(--line);padding:24px;display:flex;align-items:center;gap:20px;border-radius:19px}.quest-card .strip-icon{width:54px;height:54px;background:#eee8ff;color:var(--purple)}.quest-info{flex:1}.quest-info h3{font-size:15px;margin-bottom:7px}.quest-info p{font-size:11px;color:var(--muted);margin-bottom:10px}.quest-info .progress{max-width:none;height:6px}.quest-meta{display:flex;justify-content:space-between;font-size:10px;color:#a299b4;margin-top:7px}.quest-card .button{min-width:118px}.info-note{font-size:10px;color:var(--muted);line-height:1.9;margin-top:22px}.collection-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.theme-card{border:1px solid var(--line);border-radius:20px;overflow:hidden;background:white}.theme-preview{height:145px;display:flex;justify-content:center;align-items:center;gap:7px;overflow:hidden;position:relative}.theme-preview>i{width:40px;height:46px;border-radius:12px;transform:rotate(-15deg);box-shadow:inset 0 -5px #00000012,inset 0 2px #ffffff70,0 8px 20px #00000014}.theme-preview>i:nth-child(2){transform:translateY(-15px) rotate(7deg)}.theme-info{padding:20px}.theme-info h3{font-size:16px;margin-bottom:8px}.theme-info p{font-size:10px;color:var(--muted);line-height:1.8;margin-bottom:18px}.theme-info .button{width:100%}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:25px 0}.stat-card{background:white;border:1px solid var(--line);border-radius:17px;padding:23px}.stat-card svg{color:#a38cdb;margin-bottom:13px;width:22px}.stat-card strong{display:block;font-size:27px;letter-spacing:-.7px}.stat-card span{font-size:10px;color:var(--muted);display:block;margin-top:8px}.record-list{background:white;border:1px solid var(--line);border-radius:20px;padding:5px 23px}.record-row{display:flex;align-items:center;gap:15px;padding:21px 0;border-bottom:1px solid var(--line)}.record-row:last-child{border-bottom:0}.record-row .record-icon{width:40px;height:40px;display:grid;place-items:center;border-radius:12px;background:#eee8ff;color:var(--purple);font-size:22px}.record-row strong{font-size:12px;display:block;margin-bottom:5px}.record-row small{font-size:9px;color:var(--muted)}.record-score{margin-left:auto;text-align:right}.record-score b{font-size:19px;display:block}.record-score span{font-size:8px;color:var(--muted)}.level-card{padding:24px;background:#30205b;border-radius:20px;color:white;display:flex;align-items:center;gap:20px}.level-number{border:1px solid #ffffff30;width:60px;height:60px;display:grid;place-items:center;font-size:28px;font-weight:800;border-radius:17px;background:#ffffff10}.level-card h3{font-size:18px;margin-bottom:6px}.level-card p{font-size:10px;color:#bdb0d4;margin-bottom:0}.level-card .progress{background:#ffffff15;width:300px;max-width:100%}.level-card .progress>span{background:#c9efa7}.badge-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.achievement{border:1px solid var(--line);background:white;border-radius:16px;padding:23px 15px;text-align:center}.achievement.locked{opacity:.5;filter:grayscale(1)}.achievement>span{font-size:29px;display:block;margin-bottom:10px}.achievement strong{display:block;font-size:11px;margin-bottom:7px}.achievement small{font-size:9px;color:var(--muted);line-height:1.7;display:block}
/* Game room */
.game-top{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:23px}.back-button{display:inline-flex;align-items:center;gap:8px;font-size:11px;color:#96899f;font-weight:650}.back-button svg{width:16px}.game-title h1{font-size:26px;margin:0}.game-title p{font-size:10px;color:var(--muted);margin:6px 0 0}.game-top-left{display:flex;align-items:center;gap:26px}.game-top-actions{display:flex;gap:6px}.game-layout{display:grid;grid-template-columns:minmax(0,1fr) 238px;gap:24px;max-width:1080px;margin:0 auto}.play-area{border-radius:23px;background:#eae4f7;border:1px solid #e2dbed;padding:20px;min-height:530px;position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden}.play-area.tetris-area{background:#e2efe9}.play-area.blocks-area{background:#f5ebdf}.board-wrap{position:relative;max-width:100%;width:430px}.game-canvas{display:block;width:100%;height:auto;touch-action:none;border-radius:15px;outline-offset:5px}.board-caption{text-align:center;font-size:9px;line-height:1.8;margin:13px 0 0;color:#9a8baa}.game-side{display:flex;flex-direction:column;gap:15px}.score-panel{border-radius:18px;border:1px solid var(--line);background:white;padding:22px}.score-panel .eyebrow{font-size:8px;margin-bottom:10px}.score-panel .score-value{font-size:39px;letter-spacing:-1.7px;font-weight:800;line-height:1.2;color:var(--purple);font-variant-numeric:tabular-nums}.score-panel .best{display:flex;gap:6px;align-items:center;font-size:9px;color:#afa1b9;margin-top:9px}.score-panel .best svg{width:11px;height:11px;color:#d1b878}.game-stats{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:20px;padding-top:15px;border-top:1px solid var(--line)}.game-stats span{font-size:8px;color:var(--muted);display:block;margin-bottom:6px}.game-stats strong{font-size:17px;letter-spacing:-.4px}.how-to{border:1px solid var(--line);border-radius:17px;padding:19px;background:white}.how-to h3{font-size:11px;margin-bottom:12px}.how-to p{font-size:10px;line-height:1.9;color:var(--muted);margin-bottom:12px}.how-to p:last-child{margin-bottom:0}.key{padding:2px 5px;border:1px solid #ded6e9;border-radius:4px;font-size:9px;white-space:nowrap;background:#f9f7fd;color:#84748f}.game-side .button{font-size:10px;padding:11px 15px}.game-controls{display:flex;justify-content:center;gap:8px;margin-top:13px;flex-wrap:wrap}.control-button{min-width:43px;height:38px;border-radius:9px;border:1px solid #cbbedd;background:#ffffffa0;color:#75608b;font-size:17px;touch-action:manipulation;box-shadow:0 2px #c4b5d448}.control-button.wide{font-size:10px;padding:0 12px;min-width:70px}.next-piece{display:grid;place-items:center;height:76px;background:#f7f4fc;border-radius:10px;margin-top:12px}.next-piece canvas{width:100px;height:65px}.block-tray{display:flex;justify-content:center;gap:12px;margin-top:18px}.tray-piece{width:95px;height:83px;padding:4px;background:#ffffff80;border:2px solid transparent;border-radius:13px;transition:transform .2s,background .2s,border-color .2s;touch-action:none}.tray-piece.selected{background:#fff;border-color:var(--purple);transform:translateY(-4px);box-shadow:0 5px 14px #9e7b9420}.tray-piece canvas{width:100%;height:100%;pointer-events:none}.tray-piece:disabled{visibility:hidden}.game-overlay{position:absolute;inset:0;z-index:5;background:#302045b0;backdrop-filter:blur(8px);display:flex;align-items:center;justify-content:center;padding:25px;border-radius:22px}.overlay-card{background:white;border-radius:24px;padding:32px;text-align:center;width:320px;box-shadow:0 20px 80px #291b4140;animation:pop .35s cubic-bezier(.16,1,.3,1)}.overlay-card .result-art{font-size:38px;margin-bottom:12px}.overlay-card h2{font-size:27px;letter-spacing:-1px;margin-bottom:8px}.overlay-card p{font-size:11px;color:var(--muted);line-height:1.9}.result-number{font-size:46px;font-weight:850;color:var(--purple);letter-spacing:-2px;margin:10px 0}.result-reward{display:flex;justify-content:center;gap:8px;margin-bottom:23px}.result-reward>span{background:#fff3d5;color:#b78e38;font-size:10px;padding:7px 10px;border-radius:8px}.result-reward>span:last-child{background:#eee7ff;color:#9175ca}.overlay-card .button{width:100%;margin-top:8px}.game-live{height:18px;margin-top:10px;text-align:center;font-size:11px;font-weight:700;color:var(--purple)}
/* Dialogs, effects */
dialog{border:1px solid #eee8f7;border-radius:25px;padding:0;max-width:460px;width:calc(100% - 32px);color:var(--ink);box-shadow:0 25px 100px #22133f40;max-height:calc(100dvh - 40px);overflow:auto}dialog::backdrop{background:#251b4075;backdrop-filter:blur(6px)}dialog[open]{animation:pop .3s cubic-bezier(.16,1,.3,1)}.modal-inner{padding:30px;position:relative}.modal-close{position:absolute;right:13px;top:13px;z-index:5}.modal-inner h2{font-size:26px;letter-spacing:-1px;margin:0 0 10px}.modal-inner>p{font-size:11px;color:var(--muted);line-height:1.9}.spin-modal{text-align:center;background:#fffbf2;padding-top:35px}.spin-modal .eyebrow{color:#b29865;font-size:9px}.wheel-stage{position:relative;width:286px;height:286px;margin:27px auto 23px;max-width:100%}.big-wheel{width:100%;height:100%;display:block;filter:drop-shadow(0 9px 0 #ead8ac);transform:rotate(0deg)}.wheel-pointer{position:absolute;z-index:3;left:calc(50% - 12px);top:-7px;border-left:12px solid transparent;border-right:12px solid transparent;border-top:27px solid #483363;filter:drop-shadow(0 2px 0 #ffffff70)}.wheel-hub{position:absolute;inset:calc(50% - 25px);width:50px;height:50px;background:white;border:5px solid #fff7e5;box-shadow:0 3px 8px #00000010;border-radius:50%;display:grid;place-items:center;color:var(--purple);font-size:25px;z-index:2}.wheel-result{min-height:26px;font-size:16px;font-weight:800;color:#8d66c8;margin-bottom:14px}.spin-modal .info-note{font-size:9px;margin:16px 0 0}.setting-row{display:flex;align-items:center;justify-content:space-between;gap:15px;border-top:1px solid var(--line);padding:19px 0}.setting-row strong{font-size:12px;display:block;margin-bottom:5px}.setting-row small{font-size:10px;color:var(--muted)}.toggle{width:42px;height:24px;flex-shrink:0;background:#ded7e8;border-radius:20px;padding:3px;display:flex;align-items:center;transition:background .2s}.toggle:after{content:"";width:18px;height:18px;border-radius:50%;background:white;box-shadow:0 1px 4px #00000010;transition:transform .2s}.toggle[aria-checked="true"]{background:var(--purple)}.toggle[aria-checked="true"]:after{transform:translateX(18px)}.install-icon{width:70px;height:70px;border-radius:20px;margin:0 0 20px}.install-steps{font-size:12px;line-height:2;color:#91869e;padding-left:20px;margin:18px 0}.toasts{position:fixed;bottom:28px;left:calc(50% + 119px);transform:translateX(-50%);z-index:100;display:flex;flex-direction:column;gap:8px;align-items:center;pointer-events:none;max-width:calc(100% - 32px)}.toast{background:#30233f;color:#fff;padding:13px 19px;font-size:11px;font-weight:600;border-radius:12px;box-shadow:0 8px 28px #30233f35;animation:toastIn .3s ease-out;line-height:1.8;text-align:center;pointer-events:auto}.toast button{color:#d2f8ab;margin-left:10px;text-decoration:underline}#confetti{position:fixed;inset:0;z-index:99;pointer-events:none;width:100%;height:100%}.floating-number{position:absolute;font-size:25px;font-weight:850;color:#fff;text-shadow:0 2px 10px #75529a70;pointer-events:none;animation:floatUp 1.2s both;z-index:7}.view-enter{animation:viewIn .35s ease-out}.empty-state{padding:20px;border:1px dashed #dad1e6;border-radius:14px;color:var(--muted);font-size:11px;line-height:1.9}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.inline-notice{border-radius:14px;background:#f0eaff;padding:16px 20px;font-size:11px;line-height:1.8;color:#8b71b4;margin:20px 0}
@keyframes bob{0%,100%{translate:0 0}50%{translate:0 -12px}}@keyframes coverBob{0%,100%{translate:0 0}50%{translate:0 -6px}}@keyframes turn{to{rotate:360deg}}@keyframes pop{from{opacity:0;transform:scale(.92) translateY(10px)}to{opacity:1;transform:scale(1) translateY(0)}}@keyframes viewIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes toastIn{from{opacity:0;translate:0 15px}to{opacity:1;translate:0 0}}@keyframes floatUp{0%{opacity:0;translate:0 15px;scale:.6}20%{opacity:1;scale:1.1}100%{opacity:0;translate:0 -90px;scale:.9}}
body.quiet *{animation:none!important;scroll-behavior:auto!important;transition-duration:.01ms!important}body.focus-mode .sidebar,body.focus-mode .topbar,body.focus-mode .footer,body.focus-mode .mobile-nav{display:none}body.focus-mode .app-shell{margin-left:0}body.focus-mode main{padding:22px;min-height:100vh}body.focus-mode .game-layout{max-width:1050px}body.focus-mode .play-area{min-height:calc(100vh - 135px)}
@media(min-width:1550px){main{padding-top:43px}.hero{min-height:345px;padding:42px}.hero h2{font-size:48px}.hero p{font-size:12px}.hero-blocks{grid-template-columns:repeat(4,62px);grid-auto-rows:62px;top:44px;left:20px}.hero-copy .button{padding:15px 23px}.spin-card{padding-top:27px}.mini-wheel{width:145px;height:145px;margin:16px auto 21px}.mini-wheel:after{inset:47px}.mini-wheel:before{left:54px}.wheel-dot:nth-child(1){left:59px}.wheel-dot:nth-child(2){top:57px}.wheel-dot:nth-child(3){left:58px}.wheel-dot:nth-child(4){top:57px}.game-cover{height:210px}.game-info{padding:20px 22px}.game-heading h3{font-size:17px}.game-info p{font-size:11px}.game-card-bottom>span,.game-card-bottom b{font-size:10px}.card-play{font-size:10px;padding:9px 12px}.section-title{margin-top:37px;margin-bottom:21px}.greeting{margin-bottom:30px}.bottom-grid{margin-top:29px}.daily-strip,.vibe-strip{padding:24px}.hero-grid{grid-template-columns:minmax(0,2.5fr) minmax(280px,1fr)}}
@media(max-width:1200px){.sidebar{width:205px;padding-left:15px;padding-right:15px}.brand{font-size:25px}.app-shell{margin-left:205px}main{padding:29px 28px 20px}.topbar{padding:0 28px}.footer{padding-left:28px;padding-right:28px}.hero{padding:28px 25px;min-height:293px}.hero h2{font-size:35px}.hero-grid{gap:17px;grid-template-columns:minmax(0,2fr) 230px}.hero-art{right:-20px}.hero-blocks{grid-template-columns:repeat(4,43px);grid-auto-rows:43px}.hero p{max-width:185px}.float-badge{right:20px;bottom:40px}.game-grid{gap:16px}.game-cover{height:156px}.game-info{padding:14px}.game-heading h3{font-size:14px}.game-info p{font-size:9px}.game-card-bottom>span{font-size:7px}.game-top-left{gap:16px}.game-layout{grid-template-columns:minmax(0,1fr) 210px;gap:18px}.play-area{padding:16px}.score-panel{padding:18px}.toasts{left:calc(50% + 102px)}.bottom-grid{gap:17px}.daily-strip,.vibe-strip{padding:17px}.vibe-strip>span{display:none}}
@media(max-width:1020px){.sidebar{width:84px;padding:30px 14px 20px}.brand{margin:0 auto 46px;display:block;text-align:center}.brand>span,.nav-label,.nav-item>span,.notification-dot,.sidebar-bottom .mini-promo,.profile-mini>span:not(.avatar),.profile-mini>svg{display:none}.nav-item{justify-content:center;padding:16px}.nav-item svg{width:22px;height:22px}.profile-mini{border-top:0;justify-content:center;padding-top:0}.app-shell{margin-left:84px}.breadcrumb{font-size:8px;letter-spacing:1px}.hero h2{font-size:34px}.hero-grid{grid-template-columns:minmax(0,1fr) 215px}.spin-card{padding:22px 16px 16px}.hero-art{width:45%;right:-25px}.hero-blocks{grid-template-columns:repeat(4,39px);grid-auto-rows:39px;gap:4px;top:54px}.cube{border-radius:8px}.float-badge{right:22px;font-size:8px;padding:9px}.float-badge strong{font-size:12px}.hero-copy{max-width:62%}.game-info p{min-height:30px}.game-card-bottom>span{display:none}.game-card-bottom{justify-content:flex-end}.collection-grid{gap:13px}.theme-info{padding:15px}.stats-grid{gap:12px}.stat-card{padding:18px}.toasts{left:calc(50% + 42px)}.hero p{font-size:10px}.footer{font-size:7px}.footer>span:last-child{font-size:6px}}
@media(max-width:760px){.topbar{height:72px;padding:0 22px}.top-actions{gap:9px}main{padding:26px 22px 20px}.greeting h1{font-size:27px}.greeting .subtitle{font-size:10px}.date-chip{font-size:8px;padding:7px}.hero-grid{grid-template-columns:1fr}.hero{min-height:280px;padding:31px}.hero-copy{max-width:58%}.hero h2{font-size:39px}.hero-art{width:42%;right:8px}.hero-blocks{grid-template-columns:repeat(4,46px);grid-auto-rows:46px;gap:5px;top:35px}.hero p{max-width:230px;font-size:11px}.float-badge{bottom:34px;right:-5px}.spin-card{display:flex;align-items:center;gap:16px;text-align:left;padding:18px 20px;min-height:100px}.spin-card-content{flex:1}.spin-card h3{font-size:18px}.spin-card p{margin-bottom:0;font-size:9px}.spin-card .mini-wheel{width:66px;height:66px;flex-shrink:0;border-width:4px;margin:0;order:-1}.mini-wheel:after{inset:18px;font-size:14px}.mini-wheel:before{left:20px;top:-9px;border-left-width:6px;border-right-width:6px;border-top-width:13px}.wheel-dot{display:none}.spin-card .button{width:auto;padding:11px 13px;white-space:nowrap}.spin-card .spin-caption{display:none}.spin-card .eyebrow{font-size:7px}.game-grid{grid-template-columns:1fr;gap:14px}.game-card{display:grid;grid-template-columns:155px 1fr}.game-cover{height:100%;min-height:151px}.game-info{padding:19px}.game-info p{min-height:0;margin-bottom:14px;font-size:10px}.game-heading h3{font-size:16px}.game-card-bottom>span{display:block;font-size:8px}.game-card-bottom{justify-content:space-between}.cover-label{font-size:6px;padding:4px 5px;top:10px;left:10px}.game-cover .favorite{display:none}.match .cover-art{grid-template-columns:repeat(3,29px);gap:4px}.gem-art{width:29px;height:29px;font-size:15px;border-radius:8px}.tetris .cover-art,.blocks .cover-art{grid-template-columns:repeat(5,20px);grid-auto-rows:20px;gap:2px}.cover-spark{right:12px;font-size:18px;top:60px}.cover-spark.sm{left:13px;font-size:14px;top:115px}.bottom-grid{grid-template-columns:1fr}.vibe-strip{display:none}.footer{padding:22px;justify-content:center}.footer>span:first-child{display:none}.game-layout{grid-template-columns:1fr}.game-side{display:grid;grid-template-columns:1fr 1fr}.score-panel{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;column-gap:25px}.score-panel .eyebrow,.score-panel .score-value,.score-panel .best{grid-column:1}.game-stats{grid-column:2;grid-row:1/4;padding:5px 0 0;margin:0;border-top:0;align-content:center}.how-to{grid-column:1/-1}.how-to p{margin-bottom:5px}.play-area{min-height:480px;order:1}.game-side{order:0}.game-side>.button{grid-column:1/-1;display:none}.score-panel .score-value{font-size:30px}.score-panel .eyebrow{margin-bottom:3px}.score-panel .best{margin-top:5px}.game-top-actions{gap:2px}.game-top-left{gap:14px}.game-top-left .back-button{font-size:0}.game-top-left .back-button svg{width:19px}.game-title h1{font-size:23px}.game-title p{font-size:9px}.stats-grid{grid-template-columns:1fr 1fr}.badge-grid{grid-template-columns:1fr 1fr}.collection-grid{grid-template-columns:1fr}.theme-card{display:grid;grid-template-columns:36% 1fr}.theme-preview{height:100%;gap:4px}.theme-preview>i{width:27px;height:36px}.theme-info .button{padding:10px}.quest-card{padding:20px 17px;gap:14px;flex-wrap:wrap}.quest-card .strip-icon{width:40px;height:40px}.quest-info h3{font-size:13px}.quest-info p{font-size:9px}.quest-card>.button{margin-left:auto;padding:9px 12px;min-width:104px}.quest-info{min-width:calc(100% - 65px)}.quest-meta{font-size:9px}.breadcrumb{display:none}.page-header h1{font-size:28px}.page-header p{font-size:11px}}
@media(max-width:540px){.sidebar{display:none}.app-shell{margin-left:0;padding-bottom:71px}.topbar{padding:0 18px;height:65px;background:#faf9fd}.mobile-brand{display:flex}.top-actions{gap:9px}.streak-chip{font-size:10px;gap:3px}.desktop-only{display:none}.coin-chip{font-size:10px;padding:7px 8px}.coin-chip svg{width:15px}.icon-button{width:29px}.mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;align-items:center;justify-content:space-around;padding:9px 10px calc(9px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:#ffffffed;backdrop-filter:blur(14px);z-index:35}.mobile-nav button{font-size:8px;color:#a79cb7;display:flex;flex-direction:column;align-items:center;gap:5px;min-width:60px;padding:4px 8px;border-radius:9px}.mobile-nav button svg{width:19px;height:19px}.mobile-nav button.active{color:var(--purple);background:#f4efff}.toasts{left:50%;bottom:85px;width:max-content;max-width:calc(100% - 28px)}main{padding:25px 18px 10px}.greeting{margin-bottom:23px}.greeting h1{font-size:27px;letter-spacing:-1.2px}.greeting h1>span{font-size:24px;margin-left:4px}.subtitle{font-size:10px}.date-chip{display:none}.hero{min-height:274px;padding:28px 24px;border-radius:21px}.hero h2{font-size:35px;letter-spacing:-1.5px}.hero p{font-size:10px;max-width:180px;line-height:1.8;margin-bottom:20px}.hero .tag{font-size:7px;padding:6px 7px;margin-bottom:17px}.hero-copy{max-width:62%}.hero-copy .button{font-size:10px;padding:12px 16px}.hero-art{width:43%;right:-23px}.hero-blocks{grid-template-columns:repeat(4,36px);grid-auto-rows:36px;gap:4px;top:52px;left:-4px}.cube{border-radius:7px;font-size:17px}.float-badge{right:20px;bottom:30px;padding:9px 10px;font-size:7px}.float-badge strong{font-size:11px}.orbit-star{font-size:20px;right:35px;top:24px}.orbit-star.small{right:130px;bottom:25px;font-size:13px}.hero-footnote{font-size:7px!important}.hero-grid{gap:14px}.spin-card{border-radius:17px;padding:16px;gap:12px}.spin-card h3{font-size:16px}.spin-card p{font-size:8px}.spin-card .mini-wheel{width:56px;height:56px}.mini-wheel:after{inset:15px;font-size:10px}.mini-wheel:before{left:15px}.spin-card .button{font-size:9px;padding:10px;gap:5px}.spin-card .button svg{width:11px}.spin-card .eyebrow{font-size:6px;margin-bottom:4px}.section-title{margin:25px 0 14px}.section-title h2{font-size:18px}.section-title p{font-size:8px}.game-card{grid-template-columns:132px 1fr;border-radius:17px}.game-cover{min-height:151px}.game-info{padding:16px 13px 13px}.game-heading h3{font-size:14px}.game-heading>span{font-size:7px}.game-info p{font-size:8px;margin-bottom:13px}.card-play{font-size:8px;padding:7px}.game-card-bottom>span{font-size:7px}.cover-label{font-size:6px}.cover-spark.sm{left:9px}.match .cover-art{grid-template-columns:repeat(3,26px)}.gem-art{width:26px;height:26px;font-size:13px}.tetris .cover-art,.blocks .cover-art{grid-template-columns:repeat(5,17px);grid-auto-rows:17px}.game-card-bottom{padding-top:10px}.daily-strip{padding:17px 15px;gap:12px}.strip-copy h3{font-size:10px}.strip-copy p{font-size:8px}.strip-link{font-size:8px;gap:4px}.strip-icon{width:35px;height:35px;border-radius:10px}.strip-icon svg{width:19px}.bottom-grid{margin-top:19px}.footer{padding-top:20px;padding-bottom:16px}.game-top{margin-bottom:15px}.game-title h1{font-size:22px}.game-title p{font-size:8px}.game-top-actions .icon-button{width:29px;height:30px}.game-top-left{gap:11px}.score-panel{padding:16px;border-radius:15px}.game-side{gap:12px}.game-layout{gap:13px}.game-stats strong{font-size:17px}.play-area{min-height:0;padding:15px 12px;border-radius:17px;align-items:flex-start}.board-wrap{width:100%;max-width:370px}.tetris-area .board-wrap{width:260px;max-width:100%}.tetris-area{padding-top:17px;padding-bottom:15px}.game-controls{gap:7px}.control-button{min-width:40px;height:36px}.control-button.wide{min-width:61px}.how-to{padding:16px;display:none}.board-caption{font-size:8px}.tray-piece{width:85px;height:75px}.block-tray{gap:9px}.overlay-card{padding:26px 22px;width:290px}.overlay-card h2{font-size:25px}.game-overlay{padding:15px}.page-header{margin-bottom:22px}.page-header h1{font-size:28px}.level-card{padding:19px;gap:15px}.level-number{width:48px;height:48px;font-size:23px}.level-card h3{font-size:15px}.level-card p{font-size:9px}.stat-card{padding:20px}.stat-card strong{font-size:24px}.record-list{padding:3px 18px}.record-score b{font-size:17px}.record-row{gap:12px}.theme-preview{overflow:hidden}.theme-preview>i{width:23px;height:32px}.modal-inner{padding:30px 24px}.wheel-stage{width:260px;height:260px}.modal-inner h2{font-size:25px}.spin-modal{padding-top:34px}body.focus-mode main{padding:15px}body.focus-mode .play-area{min-height:0}.section-title .text-button{font-size:10px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;scroll-behavior:auto!important;transition-duration:.01ms!important}}

@media(max-width:760px){.how-to.next-panel{display:flex;align-items:center;justify-content:space-between;gap:10px;grid-column:1/-1;padding:10px 15px}.next-panel h3{font-size:9px;margin:0!important}.next-panel .next-piece{margin:0;width:80px;height:45px;background:transparent}.next-panel .next-piece canvas{width:70px;height:45px}}
