:root{--ink:#fff6ea;--line:#5a3d78;--coral:#e07a5f;font-family:Trebuchet MS,Segoe UI,sans-serif}*{box-sizing:border-box}body{margin:0;background:radial-gradient(90% 50% at 50% 0%,#8a4eaa,#2a1440 55%,#1a0e28);color:var(--ink)}button{font:inherit;color:inherit;cursor:pointer}h1,h2,p{margin:0}.shell{width:min(100%,520px);margin:0 auto;padding:12px}.top,.row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.top{justify-content:space-between}.grow{flex:1}.stack{display:grid;gap:10px}.card{background:#1c1028b8;border:1px solid var(--line);border-radius:16px;padding:12px}.primary,.ghost,.tiny{border-radius:999px;min-height:44px;padding:0 12px;font-weight:800;border:1px solid transparent}.primary{background:var(--coral);color:#1c2430}.ghost,.tiny{background:transparent;border-color:var(--line)}.logo{width:46px;height:46px;border:0;border-radius:14px;background:radial-gradient(circle at 35% 30%,#fff,#e07a5f)}.stage{position:relative;border-radius:22px;overflow:hidden;padding:28px 8px 12px;background:linear-gradient(#7ec8f0,#d7f4ff 42%,#7dce6a 43%,#3f8f45);box-shadow:inset 0 0 0 4px #ffffff40}.stage:before{content:"";position:absolute;left:8%;top:8px;width:36px;height:36px;border-radius:50%;background:radial-gradient(circle at 35% 35%,#fff,#ffd24a 40%,#f2a03a);box-shadow:0 0 0 6px #ffd24a59}.stage:after{content:"";position:absolute;right:12%;top:18px;width:54px;height:18px;background:#fff;border-radius:20px;box-shadow:16px 4px #fff,-18px 6px #fff;opacity:.9}.grid{position:relative;display:grid;grid-template-columns:repeat(8,1fr);gap:5px;touch-action:manipulation;z-index:1}.gem{aspect-ratio:1;border:0;position:relative;background:radial-gradient(circle at 32% 28%,#fff 0 10%,var(--hi) 28%,var(--mid) 62%,var(--lo) 100%);box-shadow:inset 0 -7px #00000038,0 3px #00000047}.gem:after{content:"";position:absolute;left:18%;top:12%;width:38%;height:22%;border-radius:50%;background:#ffffffbf;transform:rotate(-18deg)}.gem.on{outline:3px solid #fff;outline-offset:1px}.gem.c1{--hi:#ff8d8d;--mid:#e23d3d;--lo:#9a1e2a;border-radius:50%}.gem.c2{--hi:#b6f0a8;--mid:#3d9a4a;--lo:#1d5c30;clip-path:polygon(50% 0,100% 38%,82% 100%,18% 100%,0 38%)}.gem.c3{--hi:#b9d4ff;--mid:#3d6fd8;--lo:#1d3f8a;border-radius:30% 30% 46% 46%}.gem.c4{--hi:#ffe28a;--mid:#e0a020;--lo:#a86a08;clip-path:polygon(25% 5%,75% 5%,100% 50%,75% 95%,25% 95%,0 50%)}.gem.c5{--hi:#ffc0de;--mid:#d4568a;--lo:#8a2458;border-radius:46% 46% 40% 40%}.gem.jelly{box-shadow:inset 0 0 0 3px #b4f0ffe6,inset 0 -7px #00000038,0 0 10px #78dcffcc}.gem.jelly:before{content:"";position:absolute;top:8%;right:8%;bottom:8%;left:8%;border-radius:inherit;background:linear-gradient(180deg,#d2faff8c,#50bedc26);pointer-events:none}.jellycoat{position:absolute;top:8%;right:8%;bottom:8%;left:8%;border-radius:46%;background:#aaebff80;box-shadow:inset 0 0 0 3px #f0fcfff2,0 0 8px #78d2ffe6;z-index:2;pointer-events:none}.treat{position:absolute;left:50%;top:54%;width:46%;height:46%;transform:translate(-50%,-50%);z-index:3}.gem.pop{animation:bounce .48s ease}@keyframes bounce{40%{transform:scale(1.22)}}.combo{position:absolute;left:0;right:0;top:34%;text-align:center;font-size:1.7rem;font-weight:900;color:#fff;text-shadow:0 3px 0 #e07a5f,0 0 12px #ffd24a;z-index:3;pointer-events:none}.spark{position:absolute;width:8px;height:8px;border-radius:50%;z-index:3;pointer-events:none}.spark.a{left:18%;top:30%;background:#ffd24a}.spark.b{left:70%;top:22%;background:#fff}.spark.c{left:46%;top:18%;background:#e23d3d}.spark.d{left:80%;top:48%;background:#7dce6a}.lives{letter-spacing:2px}.overlay,.sheet-ad{position:fixed;top:0;right:0;bottom:0;left:0;background:#0c08128c;z-index:30;display:grid;align-items:end;justify-content:center;padding:12px}.sheet-ad{z-index:80;align-items:center}#toast{position:fixed;left:50%;bottom:16px;transform:translate(-50%);background:#fff6ea;color:#1c2430;border-radius:999px;padding:8px 12px;z-index:70;pointer-events:none}.dog{width:42px;height:32px}.more-games{margin-top:14px}.more-row{display:flex;gap:8px;overflow-x:auto}.more-row a{flex:0 0 auto;text-decoration:none;font-weight:800;border:1px solid var(--line);border-radius:999px;padding:8px 10px;color:inherit}
