:root{font-family:"Trebuchet MS",Arial,sans-serif;color:#2e5148;background:#f6f3e9;font-synthesis:none;--ink:#2e5148;--cream:#fff8e8;--gold:#d5ab63;--ease:cubic-bezier(.2,.8,.2,1)}
*{box-sizing:border-box}body{margin:0}button{font:inherit;color:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent;touch-action:manipulation}button:focus-visible{outline:3px solid #276f78;outline-offset:5px}button:disabled{opacity:.5;cursor:default}button,svg{-webkit-user-select:none;user-select:none}.art{width:100%;height:100%;overflow:visible}.ui-icon{width:23px;height:23px;flex-shrink:0}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.button{min-height:48px;border:1px solid #d9cbb1;background:linear-gradient(#fffbef,#f1e5cc);border-radius:15px;box-shadow:0 4px 0 #d5c4a4,0 7px 13px #694e2910,inset 0 2px #fff;display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:12px 23px;font-weight:bold;font-size:14px;transition:transform .16s,box-shadow .16s}.button:active,.round:active,.world-card:active{transform:translateY(3px);box-shadow:0 1px 0 #ac9c7e}.button.primary{color:#fff9e7;border:1px solid #326656;background:linear-gradient(#608b6b,#3d725c);box-shadow:0 5px 0 #285443,0 10px 20px #254a4325,inset 0 2px #a2b88880;text-shadow:0 1px #254a4366}.button.primary:active{box-shadow:0 1px 0 #285443;transform:translateY(4px)}.button.large{min-height:60px;font-size:17px;padding:16px 29px}.button.quiet{background:transparent;box-shadow:none;border-color:transparent;font-size:13px}.round{display:flex;align-items:center;justify-content:center;width:44px;height:44px;flex-shrink:0;border:1px solid #cfc5ad;border-radius:50%;background:linear-gradient(#fffbed,#eee5d1);box-shadow:0 3px 0 #ccbea1,0 5px 10px #64593d0b,inset 0 1px white;transition:transform .15s,box-shadow .15s}.text-button{border:0;background:transparent;padding:10px 6px;min-height:44px;font-size:12px;font-weight:600;display:inline-flex;gap:8px;align-items:center;text-underline-offset:4px}.text-button:hover{text-decoration:underline}.text-button .ui-icon{width:17px;height:17px}.eyebrow{font-size:10px;letter-spacing:2.4px;font-weight:bold}.topbar{height:91px;display:flex;align-items:center;justify-content:space-between}.header-tools{display:flex;gap:12px}.brand-mark{display:flex;gap:10px;align-items:center}.brand-mark .art{width:38px;height:38px;background:#f0e6ce;border-radius:10px;padding:4px;box-shadow:0 2px 0 #d8c8a4}.brand-mark span{font-size:10px;line-height:1.4;letter-spacing:2px}.brand-mark b{font-size:8px;letter-spacing:1px}.home-screen{min-height:100svh;background:radial-gradient(ellipse at 80% 39%,#e8e8d780,transparent 55%),#f7f4ec;overflow:hidden}.home-wrap{max-width:1130px;margin:auto;padding:0 45px}.hero{display:grid;grid-template-columns:.93fr 1.07fr;align-items:center;min-height:526px;position:relative;padding:32px 0 28px}.hero-copy{z-index:2;padding:3px 0 8px}.hero .eyebrow{letter-spacing:2.1px;font-size:9px;display:flex;align-items:center;gap:9px;white-space:nowrap}.eyebrow>span:first-child:not(.title-star){width:6px;height:6px;display:inline-block;border-radius:50%;background:#caac70}h1,h2,p{margin-top:0}h1,h2{font-family:Georgia,'Times New Roman',serif}h1{font-weight:normal}.hero h1{font-size:58px;line-height:1.05;font-weight:bold;margin:29px 0 20px;letter-spacing:-2px;text-shadow:0 2px 0 #fff}.pocket{display:block;font:600 19px "Trebuchet MS",sans-serif;letter-spacing:12px;margin-bottom:10px;padding-left:4px}.worlds-word{display:block;font-style:italic;font-size:82px;font-weight:normal;color:#5f836a;letter-spacing:-3px;line-height:1.02}.title-star{font-style:normal;font-size:29px;color:#c7a460;position:relative;left:15px;top:-24px}.intro{font-family:Georgia,serif;line-height:1.6;font-size:19px;color:#6d7769;margin-bottom:25px}.hero-actions{display:flex;flex-direction:column;align-items:flex-start;gap:10px}.hero-actions .quiet{margin-left:8px;padding:7px 16px}.small-note{font-size:10px;color:#919783;margin:14px 0 0;letter-spacing:.5px}.hero-art{height:465px;position:relative;perspective:800px}.halo{position:absolute;width:420px;height:420px;border-radius:50%;background:#e6e7d8;left:35px;top:0;border:1px solid #d9dccb;box-shadow:0 0 0 15px #e6e7d830,0 0 0 17px #d9dccb55}.hero-island{position:absolute;width:365px;height:330px;overflow:hidden;left:68px;top:58px;border-radius:150px 150px 70px 70px;border:8px solid #decb9e;border-bottom:20px solid #9eaa83;box-shadow:0 12px 0 #879270,0 22px 0 #ccd0b5,0 45px 34px -20px #4d675552;transform:rotate(-3deg)}.scenery{position:absolute;width:100%;height:100%;inset:0;pointer-events:none}.hero-island .scenery{object-position:center;filter:saturate(.85)}.cafe-sign{position:absolute;top:19px;left:91px;font-family:Georgia,serif;letter-spacing:2px;text-align:center;background:#416553;color:#f5e7c4;padding:12px 18px;box-shadow:0 3px 0 #294e43;border:2px solid #d5b37c;border-radius:5px;font-size:11px}.cafe-sign span{display:block;font:italic 8px Georgia;letter-spacing:.3px;margin-top:5px}.hero-tile{position:absolute;width:112px;height:139px;padding:17px 10px;background:linear-gradient(135deg,#fffdf0,#f4e6c6);border:2px solid #e2d5b7;border-radius:20px;box-shadow:3px 8px 0 #d9c096,4px 12px 0 #ad987b,7px 22px 22px #405a4840,inset 2px 3px 2px #fff;transform:rotate(-13deg);bottom:91px;left:25px}.ht2{width:136px;height:160px;left:158px;bottom:69px;transform:rotate(6deg);z-index:2}.ht3{left:321px;bottom:77px;transform:rotate(18deg);background:linear-gradient(130deg,#eff0d9,#c8d1b4);border-color:#c1bf88;box-shadow:3px 8px 0 #b3ac73,4px 12px 0 #8b8b65,7px 22px 22px #405a4840,inset 2px 3px 2px #fff}.art-caption{position:absolute;bottom:6px;left:83px;font-size:8px;letter-spacing:1.8px;color:#6c7d65;white-space:nowrap}.art-caption span{margin-right:10px;color:#a79a70}.hero-spark{position:absolute;color:#b9a36d;animation:twinkle 5s ease-in-out infinite}.s1{font-size:35px;top:20px;right:55px}.s2{font-size:23px;top:145px;left:24px;animation-delay:2s}.tiny-leaf{position:absolute;width:60px;height:60px}.leaf1{right:-5px;bottom:130px;transform:rotate(22deg)}.leaf2{left:38px;top:49px;width:41px;height:41px;transform:rotate(-25deg)}.world-peek{margin:18px 0 0}.section-label{display:flex;align-items:center;gap:22px;font-size:8px;letter-spacing:1.9px;color:#818775}.section-label .line{height:1px;background:#dedecd;flex:1}.section-label span:last-child{font-size:7px}.peek-row{display:grid;grid-template-columns:repeat(6,1fr);gap:17px;padding:25px 0 21px}.peek{border:0;background:transparent;display:flex;align-items:center;flex-direction:column;gap:9px}.peek-icon{width:64px;height:64px;background:#eee7d4;border-radius:20px;border:1px solid #e0d7bf;padding:9px;box-shadow:0 3px 0 #d6cbb1,inset 0 2px #ffffffa0;transition:transform .2s}.peek:hover .peek-icon{transform:translateY(-4px) rotate(-4deg)}.peek-icon.picnic{background:#f1ddcc}.peek-icon.ocean{background:#dbe8da}.peek-icon.moon{background:#e0dfe9}.peek-icon.candy{background:#eedbe0}.peek-icon.castle{background:#dce3d1}.peek span{font:12px Georgia,serif;white-space:nowrap}.peek small{font-size:8px;color:#929880;letter-spacing:1px}.home-wrap footer,.journey-wrap footer{border-top:1px solid #e0e0d0;display:flex;align-items:center;justify-content:space-between;padding:12px 0 20px;font-size:8px;letter-spacing:1.8px;color:#919783}.map-screen{background:radial-gradient(ellipse at 50% 0,#e7eadb,transparent 55%),#f7f4eb;min-height:100svh}.journey-wrap{max-width:1000px;padding:0 35px;margin:auto}.journey-heading{text-align:center;padding:25px 0 28px}.journey-heading h1{font-size:38px;margin:12px 0}.journey-heading>p:not(.eyebrow){color:#7d846e;font-family:Georgia,serif;font-size:15px}.journey-counter{display:inline-block;font-size:11px;background:#e8e9d7;border:1px solid #dadcc4;border-radius:20px;padding:9px 17px}.journey-counter span{padding:0 10px;color:#a09f77}.journey-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:23px 25px;padding-bottom:35px}.world-card{padding:0;text-align:left;border:1px solid #e3d7bf;background:#fff9e9;border-radius:23px;overflow:hidden;box-shadow:0 5px 0 #ddd1b8,0 10px 24px #60715d12;transition:transform .2s,box-shadow .2s}.world-card:hover{transform:translateY(-3px)}.world-art{height:157px;position:relative;overflow:hidden;background:#e0dbc3}.world-art .scenery{filter:saturate(.75);opacity:.88}.world-medallion{position:absolute;width:81px;height:94px;left:calc(50% - 40px);top:38px;background:linear-gradient(130deg,#fff7dc,#e7d8b3);padding:10px;border:2px solid #fff7de;border-radius:15px;box-shadow:2px 5px 0 #bfa57b,4px 11px 14px #3d4f4233;transform:rotate(-7deg)}.world-card:nth-child(even) .world-medallion{transform:rotate(7deg)}.world-number{position:absolute;left:13px;top:12px;font-size:10px;letter-spacing:2px;color:#fffce8;text-shadow:0 1px 3px #354934;background:#344b3e66;padding:5px 8px;border-radius:10px}.world-status{position:absolute;bottom:12px;right:12px;width:30px;height:30px;border-radius:50%;background:#fff4d9;box-shadow:0 2px 0 #a59e80;display:grid;place-items:center}.world-status .ui-icon{width:17px;height:17px}.world-copy{padding:17px 18px}.world-copy small{font-size:6.8px;letter-spacing:1.3px;color:#879079}.world-copy h2{font-size:21px;margin:7px 0;font-weight:normal}.world-copy p{font-size:10px;color:#94947f;margin:0 0 17px}.world-stars{font-size:10px;color:#9c8459;display:flex;justify-content:space-between}.world-stars span{font-size:9px;color:#8d9782}.world-card.locked .world-medallion{filter:saturate(.5)}.world-card.locked .world-art:after{content:'';position:absolute;inset:0;background:#e8e5d320;pointer-events:none}.world-card.locked .world-copy{opacity:.75}.game-screen{min-height:100svh;position:relative;background:#d7c9a5;isolation:isolate;overflow:hidden;--tile-front:#fffae9;--tile-bottom:#ead5ad;--tile-edge:#c4a274;--tile-ink:#6d5842;--accent:#739585}.game-environment{position:absolute;inset:0;z-index:-2;overflow:hidden}.game-environment>.scenery{opacity:.85}.environment-shade{position:absolute;inset:0;background:radial-gradient(ellipse at center,#f9eaca00 22%,#a38b6155 100%)}.play-shell{max-width:492px;min-height:100svh;margin:0 auto;padding:18px 22px 14px;position:relative;display:flex;flex-direction:column;justify-content:center;background:linear-gradient(90deg,#fff5df00,#fff5df30 20%,#fff5df30 80%,#fff5df00)}.game-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px;gap:8px}.level-heading{text-align:center;text-shadow:0 1px 1px #fff5d2}.level-heading p{font-size:8px;letter-spacing:2.5px;font-weight:bold;margin:0 0 6px}.level-heading h1{font-size:27px;font-weight:normal;margin:0;white-space:nowrap}.scorebar{display:flex;align-items:center;gap:18px;background:#fff7dfda;border:1px solid #fff4d9;box-shadow:0 3px 0 #b29c7344,0 9px 22px #504b3210,inset 0 1px #fff;border-radius:17px;padding:13px 16px;position:relative;z-index:5}.scorebar small{display:block;font-size:7px;letter-spacing:1.8px;color:#8b8871;margin-bottom:4px}.scorebar strong{font-size:20px;font-family:Georgia,serif;font-weight:normal}.scorebar>div:first-child{min-width:47px}.streak{min-width:40px;text-align:center}.level-progress{flex:1}.progress-label{display:flex;justify-content:space-between;font-size:8px;color:#8b8871;margin-bottom:9px;gap:7px}.progress-label span:last-child{white-space:nowrap}.progress-track{height:6px;background:#e3dcc5;border-radius:5px;box-shadow:inset 0 1px 2px #68664920}.progress-track i{display:block;background:linear-gradient(90deg,#759e7b,#acc595);height:100%;border-radius:5px;transition:width .4s}.board-area{position:relative;margin:18px -5px 2px;aspect-ratio:1/1.02;isolation:isolate}.board{position:absolute;inset:0;transition:transform .4s,opacity .4s}.board-aura{position:absolute;inset:7% -9%;border-radius:50%;background:radial-gradient(ellipse,#fff3d63b,transparent 70%);z-index:-2}.board-tray{position:absolute;inset:4% -1% 1%;background:linear-gradient(145deg,#ba977b8c,#8d715a85);border:7px solid #dec297b0;border-radius:44%;box-shadow:0 10px 0 #866b5033,0 14px 35px #70503030,inset 0 4px 12px #4e382435;z-index:-1;transform:rotate(-3deg)}.tile{--lift:0px;position:absolute;left:calc(5% + var(--x)*15% - var(--z)*.95%);top:calc(5% + var(--offset) + var(--y)*14.7% - var(--z)*1.7%);width:14.2%;height:14.2%;border:0;border-radius:9px;padding:0;background:var(--tile-edge);box-shadow:1px 5px 0 var(--tile-edge),2px 8px 0 #71614999,3px 12px 9px #44382538;transform:translateY(var(--lift));transition:transform .19s var(--ease),filter .18s,box-shadow .18s;outline-offset:3px}.tile-face{position:absolute;inset:0;display:block;padding:6px 5px 7px;background:linear-gradient(140deg,var(--tile-front) 15%,var(--tile-bottom));border:1px solid #fff5dca0;border-radius:8px;box-shadow:inset 1px 2px 1px #fff9,inset -1px -2px 2px #bb945125}.tile-seal{position:absolute;bottom:0px;left:0;right:0;text-align:center;font-style:normal;font-size:8px;color:var(--tile-edge);line-height:9px}.tile.free:after{content:'';position:absolute;width:12px;height:2px;border-radius:4px;background:#b9a77388;bottom:2px;left:calc(50% - 6px)}.tile.blocked{filter:brightness(.81) saturate(.65)}.tile.blocked .tile-face{border-color:#e0cdad}.blocked-mark{position:absolute;bottom:1px;right:4px;font-size:10px;color:#615344}.tile.selected{--lift:-8px;box-shadow:0 0 0 3px #f5da79,1px 6px 0 var(--tile-edge),3px 15px 12px #42392d4d}.tile.hinted{animation:hint-glow 1.5s ease-in-out infinite}.tile:active{--lift:2px}.tile.matched{animation:match-away .42s var(--ease) both;pointer-events:none}.tile.nudge{animation:nudge .3s}.shuffling{opacity:.25}.board-effects{position:absolute;inset:0;z-index:900;pointer-events:none;overflow:visible}.match-particle{position:absolute;font-style:normal;color:#ffdf95;font-size:21px;text-shadow:0 0 8px #fff8c4;animation:particle .85s ease-out forwards}.combo-pop{position:absolute;top:35%;left:0;right:0;text-align:center;z-index:901;color:#fff4c9;font:bold 23px Georgia,serif;text-shadow:0 2px 2px #3e5c4b,0 0 15px #305047;pointer-events:none;animation:combo 1.1s both}.game-guidance{min-height:48px;display:flex;justify-content:center;align-items:center;gap:8px;font-size:10px;color:#fffce9;text-shadow:0 1px 3px #4a4d3e,0 1px 8px #4a4d3e;background:#455a3e47;border:1px solid #fff0ca30;border-radius:14px;margin:12px 8px 17px;padding:5px 9px;text-align:center}.game-guidance.tutorial{background:#fff5dfef;color:#3b6252;text-shadow:none;border:1px solid #e7cb8d;box-shadow:0 3px 0 #bdab7866;font-size:11px}.tutorial-pointer{color:#b29247;font-size:22px}.game-guidance .text-button{font-size:10px;color:#7c775e;padding:3px 7px;white-space:nowrap;min-height:36px}.free-dot{width:6px;height:6px;border-radius:50%;background:#f5e3b5}.game-controls{display:flex;justify-content:center;gap:16px}.game-controls .button{flex:1;padding:11px 9px;font-size:11px;max-width:118px;gap:7px;border-radius:14px}.game-controls .ui-icon{width:21px;height:21px}.game-bottom{display:flex;align-items:center;justify-content:space-between;font-size:8px;letter-spacing:1px;color:#fff7df;text-shadow:0 1px 3px #485d49;margin:14px 13px 0}.game-bottom .text-button{color:inherit;font-size:9px;letter-spacing:0}.ambient{position:absolute;inset:0;pointer-events:none;overflow:hidden}.ambient i{font-style:normal;position:absolute;left:calc(var(--i)*13%);bottom:-40px;color:#fff1c5;opacity:.4;font-size:calc(7px + var(--i)*1px);animation:ambient calc(13s + var(--i)*2s) linear infinite;animation-delay:calc(var(--i)*-4s)}.theme-picnic{--tile-front:#fff3db;--tile-bottom:#efd3ad;--tile-edge:#c39a68}.theme-picnic .board-tray{border-radius:25px;border:5px solid #f0d6b3;background:repeating-linear-gradient(0deg,#e7b2a18c 0 25px,#f4d9b399 25px 50px);transform:rotate(2deg)}.theme-ocean{--tile-front:#f0fff0;--tile-bottom:#bdd9cf;--tile-edge:#87afa6}.theme-ocean .board-tray{border-radius:48% 42% 45% 50%;background:radial-gradient(ellipse,#b0d3c591,#558f9088);border:6px solid #abc9b599;box-shadow:0 8px 0 #3d72765c,inset 0 0 30px #d7e7bf5c}.theme-ocean .tile-face{background:linear-gradient(125deg,#fbffe8,#d1dfdc 48%,#c5dbcb 70%,#f8f5d7)}.theme-ocean .match-particle{border:1px solid #dcffea;border-radius:50%;color:#ddfff2;text-shadow:0 0 10px #fff}.theme-moon{--tile-front:#ded9ed;--tile-bottom:#b5adcb;--tile-edge:#817894}.theme-moon .level-heading{color:#f0e7cd;text-shadow:0 2px #1f2746}.theme-moon .board-tray{border-radius:45%;background:radial-gradient(ellipse,#6f6c9e88,#41486688);border:2px solid #b0a1b56b;box-shadow:0 0 35px #bbb0d429,inset 0 0 40px #38325788}.theme-moon .environment-shade{background:radial-gradient(ellipse,#685e8e10,#171e4640)}.theme-moon .tile-face{background:linear-gradient(140deg,#6d6687,#49435f);border:1px solid #bfa8cb;box-shadow:inset 1px 2px 3px #e8cfed5a}.theme-moon .tile{--tile-edge:#8f7ca1}.theme-moon .tile .art{filter:drop-shadow(0 1px 1px #1c1436)}.theme-moon .tile.blocked{filter:brightness(.71)}.theme-candy{--tile-front:#fff1e5;--tile-bottom:#efc8cd;--tile-edge:#cd95a2}.theme-candy .tile-face{border-radius:12px;background:linear-gradient(145deg,#fff6e9 25%,#efd5dd 26%,#efc2cf 90%);box-shadow:inset 2px 3px 3px #fff9,inset -2px -2px 2px #c8788b40}.theme-candy .board-tray{border-radius:31%;background:linear-gradient(135deg,#ffe6c785,#eab8c599);border:8px solid #e8d9bc99;transform:rotate(0deg)}.theme-candy .matched{animation:candy-pop .42s both}.theme-castle{--tile-front:#eef0d6;--tile-bottom:#bbc9b1;--tile-edge:#bda465}.theme-castle .tile-face{border:2px solid #d6bc7f;background:linear-gradient(130deg,#ecead2,#becbb5);box-shadow:inset 1px 1px #fff8,inset -1px -1px #788e7966}.theme-castle .board-tray{border-radius:18px;background:repeating-linear-gradient(0deg,#b8baa988 0 50px,#a3ad9d88 50px 52px);border:7px double #e4d4a3aa;transform:none;box-shadow:0 12px 0 #8d998988,0 25px 22px #3f5a4730}.modal-backdrop{position:fixed;inset:0;background:#243c3769;backdrop-filter:blur(8px);z-index:2000;display:flex;align-items:center;justify-content:center;padding:22px;overflow:auto;animation:fade .25s}.modal{width:min(100%,370px);max-height:calc(100svh - 44px);overflow:auto;position:relative;background:radial-gradient(ellipse at top,#fffbea,#f4ead1);border:2px solid #fff4d7;border-radius:28px;box-shadow:0 8px 0 #b9a983,0 26px 80px #162f3a55,inset 0 0 0 5px #e9dcb780;padding:32px 27px 25px;text-align:center;display:flex;flex-direction:column;align-items:stretch;gap:12px}.modal>.round{position:absolute;right:12px;top:12px;width:36px;height:36px}.modal>.round .ui-icon{width:17px;height:17px}.modal h2{font-size:29px;line-height:1.13;font-weight:normal;margin:3px 0 2px}.modal p{font-size:12px;line-height:1.7;color:#7a816b;margin:0}.modal .eyebrow{font-size:8px;letter-spacing:1.5px;line-height:1.6;color:#8a9674;margin-top:10px}.modal .button{width:100%}.modal-art{width:90px;height:90px;align-self:center}.help-pair{display:flex;align-items:center;justify-content:center;gap:20px;margin:10px 0}.sample-tile{width:64px;height:76px;background:#fff9e2;border:1px solid #ecddba;border-radius:12px;box-shadow:2px 5px 0 #d8c399,4px 10px 12px #7c705a21;padding:8px}.sample-tile:first-child{transform:rotate(-7deg)}.sample-tile:last-child{transform:rotate(7deg)}.rule-card{text-align:left;background:#e5e6d3;border:1px solid #d7d9bf;border-radius:15px;padding:16px;font-size:13px;line-height:1.7}.rule-card p{margin-top:6px;font-size:11px}.setting-row{min-height:58px;display:flex;align-items:center;gap:15px;background:#ebe7d2;border:1px solid #dad6bd;border-radius:14px;padding:12px 16px;box-shadow:0 2px 0 #d8d0b2}.setting-row span{flex:1;text-align:left;font-size:13px}.setting-row b{background:#5c8063;border-radius:12px;color:#fff7dc;padding:5px 11px;font-size:10px}.settings-note{padding:10px 0}.danger{color:#ab6359}.victory-glow{margin:-10px auto 0;width:130px;height:130px;background:radial-gradient(circle,#ebcd8166,transparent 70%);display:grid;place-items:center}.reward-tile{width:77px;height:93px;padding:10px;border:2px solid #e3c587;border-radius:17px;background:linear-gradient(140deg,#fff8de,#ead4a4);box-shadow:2px 6px 0 #c7aa6d,5px 14px 20px #a7986433;transform:rotate(-8deg);animation:reward 1s var(--ease)}.earned-stars{font-size:32px;letter-spacing:5px;color:#d6ab56;text-shadow:0 2px 0 #b89149;margin-top:0}.earned-stars span{color:#d8d4bf;text-shadow:none}.reward-name{font-style:italic;font-family:Georgia,serif;font-size:15px!important}.victory-score{display:flex;border-top:1px solid #ded5b9;border-bottom:1px solid #ded5b9;padding:15px 0;margin:3px 0;gap:15px}.victory-score>div{flex:1}.victory-score small{display:block;font-size:7px;letter-spacing:1.5px;color:#8a8d75;margin-bottom:5px}.victory-score strong{font:27px Georgia;color:#466952}.next-world{font-size:8px!important;letter-spacing:1px}.next-world b{font:16px Georgia;letter-spacing:0;color:#527357}.collected-worlds{display:flex;gap:8px}.collected-worlds .art{width:calc(100%/6 - 7px);height:36px}.toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);background:#2f5149f5;color:#fff8e1;border:1px solid #97b193;border-radius:15px;padding:13px 20px;box-shadow:0 5px 25px #263d422e;max-width:calc(100% - 34px);width:max-content;font-size:12px;text-align:center;z-index:3000;pointer-events:none;animation:fade .2s}.cleared .board-tray{opacity:.45;transition:opacity 1s}.cleared .game-controls{opacity:.4;pointer-events:none}
@keyframes hint-glow{0%,100%{box-shadow:0 0 0 2px #f4d57d,1px 5px 0 var(--tile-edge),3px 12px 9px #44382538}50%{box-shadow:0 0 0 4px #fff0a5,0 0 22px #ffe398,1px 5px 0 var(--tile-edge),3px 12px 9px #44382538}}@keyframes match-away{0%{transform:translateY(-7px) scale(1)}40%{transform:translateY(-15px) scale(1.13);filter:brightness(1.2)}100%{transform:translateY(-32px) scale(.65);opacity:0}}@keyframes candy-pop{40%{transform:scale(1.2,.85) translateY(-10px)}70%{transform:scale(.9,1.15) translateY(-18px)}100%{transform:scale(.3) translateY(-30px);opacity:0}}@keyframes nudge{25%{transform:translateX(-3px)}75%{transform:translateX(3px)}}@keyframes particle{to{transform:translate(var(--dx),var(--dy)) rotate(var(--r)) scale(.4);opacity:0}}@keyframes combo{0%{transform:translateY(10px) scale(.9);opacity:0}25%{opacity:1;transform:translateY(-5px) scale(1)}80%{opacity:1}100%{transform:translateY(-25px);opacity:0}}@keyframes ambient{to{transform:translate(50px,-110vh) rotate(100deg)}}@keyframes twinkle{50%{opacity:.35;transform:scale(.8)}}@keyframes fade{from{opacity:0}to{opacity:1}}@keyframes reward{from{transform:rotate(-18deg) scale(.4)}to{transform:rotate(-8deg) scale(1)}}.drifter{animation:twinkle 8s ease-in-out infinite}
@media(min-width:900px){.game-environment>.scenery{opacity:.7}.play-shell{box-shadow:0 0 90px 45px #fff4d923;background:#fff6dd13}.game-screen{background:#c6bd9f}.game-environment .scenery{width:100%;height:100%;object-fit:cover}.board-area{margin-top:26px;margin-bottom:12px}.game-top{margin-bottom:26px}.theme-moon .play-shell{box-shadow:0 0 90px 45px #74709622;background:#69648712}}
@media(max-width:900px) and (min-width:641px){.home-wrap{padding:0 30px}.hero-art{transform:scale(.8);transform-origin:center left}.hero h1{font-size:46px}.worlds-word{font-size:70px}.hero .eyebrow{font-size:7px}.hero{grid-template-columns:1fr 1fr;min-height:510px}.peek-row{gap:8px}.peek span{font-size:10px}.section-label{font-size:7px;letter-spacing:1px}.journey-grid{gap:18px}.world-copy{padding:15px 12px}.world-copy h2{font-size:17px}.world-copy small{font-size:6px}}
@media(max-width:640px){.home-wrap{padding:0 23px}.topbar{height:76px}.brand-mark .art{width:31px;height:31px}.brand-mark span{font-size:8px}.brand-mark b{font-size:6px}.header-tools{gap:10px}.topbar .round{width:39px;height:39px}.hero{display:flex;flex-direction:column;min-height:0;padding:17px 0 0;text-align:center}.hero-copy{display:contents}.hero .eyebrow{order:0;justify-content:center;font-size:6.7px;letter-spacing:1.7px;margin:4px 0 15px}.hero h1{order:1;font-size:43px;line-height:.96;letter-spacing:-1.8px;margin:0 0 5px}.pocket{font-size:12px;letter-spacing:9px;margin:0 0 9px;padding-left:8px}.worlds-word{font-size:63px;letter-spacing:-2px;line-height:1.07}.title-star{font-size:22px;left:7px;top:-19px}.hero-art{order:2;width:350px;height:293px;margin:-4px -25px 6px;transform:none}.halo{width:279px;height:265px;left:37px;top:11px;box-shadow:0 0 0 9px #e6e7d830,0 0 0 10px #d9dccb55}.hero-island{width:251px;height:218px;left:49px;top:26px;border-width:5px;border-bottom-width:13px;border-radius:105px 105px 50px 50px;box-shadow:0 8px 0 #879270,0 14px 0 #ccd0b5,0 28px 25px -12px #4d675552}.cafe-sign{font-size:8px;left:60px;top:11px;padding:7px 11px}.cafe-sign span{font-size:6px;margin-top:3px}.hero-tile{width:76px;height:91px;border-radius:13px;padding:11px 7px;left:26px;bottom:48px;box-shadow:2px 5px 0 #d9c096,3px 8px 0 #ad987b,4px 13px 15px #405a4840}.ht2{width:94px;height:113px;left:119px;bottom:34px}.ht3{left:235px;bottom:46px;box-shadow:2px 5px 0 #b3ac73,3px 8px 0 #8b8b65,4px 13px 15px #405a4840}.art-caption{font-size:5.5px;letter-spacing:1.2px;left:69px;bottom:3px}.tiny-leaf{width:37px;height:37px}.leaf1{right:1px;bottom:104px}.leaf2{left:23px;top:28px;width:31px;height:31px}.s1{right:34px;top:4px;font-size:24px}.s2{left:8px;top:98px;font-size:20px}.intro{order:3;font-size:15px;line-height:1.4;margin:10px 0 18px}.intro br{display:none}.intro br:after{content:' '}.hero-actions{order:4;align-items:center;gap:5px}.hero-actions .large{min-height:53px;width:260px;font-size:15px}.hero-actions .quiet{margin:0;min-height:39px;font-size:11px}.hero-actions .quiet .ui-icon{height:17px;width:17px}.small-note{display:none}.world-peek{margin:26px 0 0}.section-label{font-size:6px;letter-spacing:1.3px;gap:12px}.section-label span:last-child{display:none}.peek-row{grid-template-columns:repeat(3,1fr);gap:18px 3px;padding:22px 0}.peek-icon{width:52px;height:52px;border-radius:16px;padding:7px}.peek{gap:7px}.peek span{font-size:10px}.peek small{font-size:7px}.home-wrap footer{font-size:6px;letter-spacing:1px}.home-wrap footer .text-button{font-size:9px}.journey-wrap{padding:0 18px}.journey-heading{padding:17px 0 25px}.journey-heading .eyebrow{font-size:7px;letter-spacing:1.6px}.journey-heading h1{font-size:29px;line-height:1.14;margin:12px 12px}.journey-heading>p:not(.eyebrow){font-size:12px}.journey-counter{font-size:9px;padding:8px 13px}.journey-grid{grid-template-columns:repeat(2,1fr);gap:19px 14px}.world-art{height:132px}.world-medallion{width:64px;height:76px;left:calc(50% - 32px);top:34px;padding:8px;border-radius:12px}.world-copy{padding:13px 11px}.world-copy small{font-size:5.4px;letter-spacing:.8px}.world-copy h2{font-size:17px;line-height:1.1;min-height:38px;margin:6px 0 2px}.world-copy p{font-size:8px;line-height:1.4;min-height:22px;margin:0 0 10px}.world-stars{font-size:8px;min-height:12px;flex-wrap:wrap;gap:5px}.world-stars span{font-size:7px}.world-card{border-radius:19px}.journey-wrap footer{font-size:7px;letter-spacing:.5px;gap:10px}.journey-wrap footer .button{font-size:10px;padding:10px}.play-shell{padding:15px 17px 10px;justify-content:center}.game-top{margin-bottom:20px}.level-heading h1{font-size:25px}.level-heading p{font-size:7px;letter-spacing:2px}.scorebar{padding:12px 13px;gap:12px}.progress-label{font-size:7px}.board-area{margin:20px -7px 1px}.game-guidance{font-size:9px;min-height:43px;margin-top:12px;margin-bottom:18px}.game-controls{gap:12px}.game-bottom{margin:13px 9px 0}.modal{padding:28px 23px 23px}.modal h2{font-size:27px}.modal-backdrop{padding:18px}.modal{max-height:calc(100svh - 36px)}}
@media(max-width:360px){.home-wrap{padding:0 17px}.hero-art{transform:scale(.9);margin:-16px -25px -6px}.level-heading h1{font-size:21px}.level-heading p{font-size:6px}.game-top .round{width:39px;height:39px}.play-shell{padding:12px 12px}.scorebar{gap:8px;padding:10px}.scorebar strong{font-size:18px}.progress-label span:first-child{font-size:6px}.tile{border-radius:7px}.tile-face{padding:4px 3px 6px;border-radius:6px}.game-guidance{margin:9px 0 14px;font-size:8px}.game-guidance.tutorial{font-size:9px}.game-controls .button{font-size:10px;gap:5px;padding:10px 6px}.game-bottom{font-size:7px}.world-copy h2{font-size:15px}.journey-grid{gap:17px 11px}.world-copy small{font-size:4.9px}.world-art{height:121px}}
@media(max-height:710px) and (min-width:641px){.play-shell{max-width:440px;padding-top:13px;padding-bottom:6px}.game-top{margin-bottom:14px}.board-area{margin-top:14px;margin-bottom:0}.game-guidance{margin:7px 0 13px;min-height:40px}.game-bottom{margin-top:6px}.game-top h1{font-size:23px}}
@media(max-height:690px) and (max-width:640px){.play-shell{padding-top:10px;padding-bottom:5px}.game-top{margin-bottom:14px}.board-area{margin-top:12px}.game-guidance{margin:7px 0 13px;min-height:38px}.game-bottom{margin-top:6px}.scorebar{padding-top:9px;padding-bottom:9px}}
@media(orientation:landscape) and (max-height:550px){.play-shell{max-width:760px;min-height:100svh;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:auto auto 1fr auto;column-gap:25px;padding:15px 25px}.game-top{grid-column:2;grid-row:1;margin:0 0 13px}.scorebar{grid-column:2;grid-row:2}.board-area{grid-column:1;grid-row:1/5;width:min(100%,calc(100svh - 35px));margin:auto}.game-guidance{grid-column:2;grid-row:3;align-self:center;margin:10px 0;min-height:40px}.game-controls{grid-column:2;grid-row:4;margin-bottom:10px}.game-bottom{display:none}.level-heading h1{font-size:20px}.game-top .round{width:37px;height:37px}.game-controls .button{flex-direction:column;gap:3px;font-size:9px;padding:9px 4px}.scorebar .progress-label span:first-child{display:none}.modal{max-height:calc(100svh - 26px)}.modal-backdrop{padding:13px}.tile-face{padding:4px 3px 6px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}.tile.hinted{outline:3px solid #f5d57c}.ambient{display:none}}
@media(max-height:740px) and (max-width:640px) and (orientation:portrait){.game-bottom{display:none}.game-top{margin-bottom:8px}.board-area{margin-top:9px}.game-guidance{min-height:34px;margin:7px 0 12px}.game-controls .button{min-height:44px}.play-shell{padding-top:8px;padding-bottom:12px}}
.intro br:after{content:' '}
@media(max-width:640px){.intro br{display:initial}}
.drifter{animation:soft-glimmer 8s ease-in-out infinite}
@keyframes soft-glimmer{50%{opacity:.65}}
