/* LisaLand's touch-first game shell. Gameplay and save formats are unchanged. */
:root{font-family:'Arial Rounded MT Bold',Nunito,system-ui,sans-serif;color:#304263;background:#c8eefb;--game-ink:#304263;--dock-space:110px}body{background:radial-gradient(circle at 5% 15%,#fff4beaa 0,transparent 25%),radial-gradient(circle at 95% 55%,#b3dddca0 0,transparent 35%),linear-gradient(#cef1ff,#e6f6ff 65%,#d2edf8);min-height:100dvh;padding-bottom:calc(var(--dock-space) + env(safe-area-inset-bottom));color:var(--game-ink)}button{touch-action:manipulation}button:not(:disabled):active{translate:0 3px}header{max-width:1250px;padding:14px 28px;min-height:72px;gap:16px}.brand{font-size:28px;color:#6651b5;letter-spacing:-1px;font-family:inherit;font-weight:900}.brand-icon{background:#ffba42;box-shadow:0 4px 0 #e99b2f;border:3px solid #fff7d8;width:43px;height:43px;line-height:35px;font-size:34px}.top-actions{gap:10px;flex-wrap:nowrap}.top-actions .icon-btn,.parent-btn{min-width:48px;min-height:48px;background:#ffffffb8;border:2px solid white;box-shadow:0 3px 0 #a9d8e6;border-radius:18px;color:#4b6891}.parent-btn{font-size:14px;padding:10px 14px}.game-dock{position:fixed;bottom:calc(12px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);display:flex;gap:12px;padding:8px 12px;background:#ffffffeb;border:3px solid white;box-shadow:0 7px 0 #a8c9df,0 10px 24px #39618225;border-radius:30px;z-index:60;max-width:calc(100% - 24px)}.game-dock .dock-item{position:relative;display:flex;align-items:center;justify-content:center;gap:10px;padding:5px 20px;min-height:67px;min-width:155px;max-width:none;font-size:16px;font-weight:900;border:3px solid transparent;border-radius:23px;background:#e4f2ff;color:#3d6292;box-shadow:0 3px 0 #c1dcf0}.game-dock .dock-book{background:#fff0bf;color:#78582a;box-shadow:0 3px 0 #e9d496}.game-dock .dock-playground{background:#f3e5ff;color:#745195;box-shadow:0 3px 0 #d7c1ed}.game-dock .dock-item.active{border-color:#689bd3;background:#cde8ff;box-shadow:0 4px 0 #82b0df}.game-dock .dock-book.active{background:#ffe28a;border-color:#e9ad39;box-shadow:0 4px 0 #d7aa51}.game-dock .dock-playground.active{background:#dfc4ff;border-color:#ad7cde;box-shadow:0 4px 0 #af87d7}.dock-art{width:48px;height:48px;flex:none;display:block;background-image:url('sticker-sheet.png');background-size:600% 500%;background-repeat:no-repeat;filter:drop-shadow(0 2px 1px #53678525)}.dock-puzzle .dock-art{background-image:url('bunny.png');background-size:cover;background-position:center;border:3px solid white;border-radius:16px;transform:rotate(-7deg)}.dock-book .dock-art{background-position:40% 100%;transform:rotate(-8deg)}.dock-playground .dock-art{background-position:0% 75%;transform:rotate(4deg)}.game-dock .book-label{display:inline!important}.game-dock #book-count{position:absolute;top:-7px;right:-3px;background:#ffb766;color:#664026;border:3px solid white;border-radius:50%;min-width:25px;font-size:13px;padding:2px;line-height:17px}.game-dock .dock-item:hover{transform:none;filter:brightness(1.025)}
.intro,footer,.small-label,.gentle-note,.chooser-title>span{display:none!important}.star-banner{width:calc(100% - 56px);max-width:1060px;padding:8px 22px;margin:0 auto 14px;gap:18px;background:#fff6d1;border:3px solid white;border-radius:22px;box-shadow:0 4px 0 #e4d8a7}.star-caption{font-size:14px;min-width:175px;color:#84612d;font-weight:800}.star-track{height:12px;margin:9px 12px;background:#e5d9b4}.star-fill{background:#ffc047}.reward-star{font-size:32px;color:#c9bc96;text-shadow:0 2px white}.reward-star.earned{color:#f6ad23}main{max-width:1120px;padding:0 28px 8px}.game-layout{grid-template-columns:1.16fr 1fr;gap:22px}.play-card{background:#fffefa;border:4px solid white;border-radius:32px;padding:16px 20px 8px;box-shadow:0 7px 0 #b0d8e5,0 10px 20px #4569870c}.board-heading{margin-bottom:10px}.board-heading h2{font-family:inherit;font-size:24px;font-weight:900;color:#5364a2;margin:0}.progress{font-size:17px;background:#e7efff;color:#6678ac;border-radius:15px;padding:9px 13px}.board{width:min(100%,calc(100dvh - 430px),420px);max-width:none;max-height:none;border:6px solid #c9e1f5;border-radius:20px;background:#e2f0fb}.board-footer{min-height:46px;color:#58758b;font-size:14px;font-weight:700}.board-footer button{background:#ffedaf;border:2px solid #ffe091;box-shadow:0 3px 0 #e5c56f;border-radius:15px;padding:9px 12px;color:#7b6124;font-weight:800;min-height:44px}.piece-card{background:#e4dbfa;border:4px solid #f6f1ff;box-shadow:0 7px 0 #c1acde;border-radius:32px;padding:17px 22px 12px}.tray-heading h2{font-family:inherit;font-size:23px;color:#78609c;font-weight:900}.tray-heading>span{font-size:14px;color:#75638e;margin-top:4px}.tray{min-height:0;gap:18px;padding:15px 10px;align-content:center;justify-items:center}.piece{max-height:140px;width:100%;touch-action:none}.tray-pages{margin-top:6px}.tray-pages button{background:#fff8d9;border:2px solid white;box-shadow:0 3px 0 #b9a2ce;border-radius:15px;min-height:46px;min-width:46px;color:#6c5792}.tray-pages span{color:#6f588f}.reference{background:#fff8e6;border:2px solid white;margin-bottom:10px}.reference span{color:#6c6085;font-size:14px}.reference img{width:80px;height:80px}.chooser{margin-top:18px}.chooser-title{margin-bottom:10px}.chooser-title h2{font-size:17px;color:#526e98;font-family:inherit}.choices{display:flex!important;gap:12px;overflow-x:auto;padding:4px 5px 10px;scroll-snap-type:x proximity;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#8fbfd6 transparent}.choice{flex:0 0 102px;min-width:0;display:flex;flex-direction:column;gap:5px;padding:6px;border:3px solid white;border-radius:22px;background:#fffefa;text-align:center;box-shadow:0 4px 0 #bdd8e8;scroll-snap-align:start}.choice.active{border:3px solid #ffbc49;background:#fff1be;box-shadow:0 4px 0 #e4b65b}.choice img{width:80px;height:65px;object-fit:cover;border-radius:15px}.choice strong{font-family:inherit;font-size:13px;font-weight:800;line-height:1.2;color:#47617e}.choice small{display:none}.choice.active:after{top:0;right:0;width:25px;height:25px;display:grid;place-items:center;color:white;background:#e7a634;border:2px solid white;border-radius:50%;font-size:16px}.photo-choice{justify-content:center;flex:0 0 102px;background:#e6f3ff;color:#7499bb}.photo-choice .plus{font-size:32px}.choice:not(.active):hover{background:#e8f4ff}
#playground{max-width:1180px;padding:0 28px 12px}.playground-heading{margin:6px 0 16px}.playground-heading .eyebrow{display:none}.playground-heading h1{font-family:inherit;font-size:29px;color:#7659a3;letter-spacing:-.7px}.playground-heading .primary{background:#fff2b9;color:#7a612c;font-size:16px;min-height:48px;box-shadow:0 4px 0 #dfc473}.sticker-shelf{background:#fff8df;border:4px solid white;border-radius:26px;box-shadow:0 6px 0 #dfd1a4}.sticker-shelf h2{color:#8a6939;font-family:inherit}.shelf-sticker{background:#fffdf6;border:2px solid #efe1b5;border-radius:20px}.shelf-sticker[aria-pressed=true]{border-color:#eead36;background:#ffedac}.sticker-shelf p{color:#836c4f}.sticker-shelf .shelf-sticker>span{font-size:14px}#sticker-scene{border:6px solid white;border-radius:30px;box-shadow:0 7px 0 #b0d6de}.scene-switcher .icon-btn{background:#ffe9a6;border:3px solid white;box-shadow:0 3px 0 #d5bd7d;width:50px;height:50px}.scene-switcher select{border:3px solid white;background:#e8defb;color:#745994;border-radius:18px;min-height:50px}.scene-tools button{background:#fff7d5;color:#7c6942;border:2px solid white;border-radius:16px;min-height:48px;box-shadow:0 3px 0 #d8c99e}.scene-tools button:disabled{box-shadow:none}.scene-tools{gap:9px}#playground-status{color:#58748a;font-size:14px}.primary{border:2px solid #ffe5a3;border-radius:20px}.party-card{border:5px solid white;box-shadow:0 10px 0 #bbd8e4,0 20px 60px #46658630}.party-card>.eyebrow{display:none}dialog:not(.sticker-book){border:4px solid white;box-shadow:0 8px 0 #b4d7e8,0 20px 70px #38587940}dialog:not(.sticker-book) .close{min-width:44px;min-height:44px}.sticker-book .primary{border:0}.sticker-book .book-title{padding-top:3px}
@media(min-width:900px) and (min-height:1000px){.board{width:min(100%,460px)}.piece{max-height:180px}.choice{flex-basis:125px}.choice img{width:103px;height:82px}}
@media(max-width:760px){:root{--dock-space:100px}header{padding:12px 16px;min-height:66px}.brand{font-size:25px}.parent-btn{font-size:20px;padding:8px}.brand-icon{width:38px;height:38px;line-height:31px;font-size:30px}.game-dock{gap:7px;padding:7px 8px;bottom:calc(8px + env(safe-area-inset-bottom));width:calc(100% - 20px);max-width:460px;border-radius:26px}.game-dock .dock-item{flex:1;min-width:0;min-height:69px;padding:3px 5px;gap:2px;flex-direction:column;font-size:13px;border-radius:20px}.dock-art{height:37px;width:37px}.game-dock .dock-item span:last-child{line-height:1.25}.game-dock #book-count{font-size:12px;min-width:23px;line-height:15px}.star-banner{width:calc(100% - 32px);padding:7px 15px;margin:0 auto 12px;gap:10px}.star-caption{font-size:12px;min-width:135px;max-width:145px}.reward-star{font-size:29px}main{padding:0 16px 8px}.game-layout{grid-template-columns:1fr;gap:15px}.play-card{padding:12px 14px 7px;border-radius:27px}.board-heading h2{font-size:21px}.board{width:min(100%,37dvh,365px);max-width:none;max-height:none}.board-footer{font-size:12px;min-height:48px}.piece-card{padding:12px 14px;border-radius:25px}.tray-heading{display:flex;justify-content:space-between}.tray-heading h2{font-size:18px}.tray-heading>span{display:none}.tray{gap:9px;padding:10px 0;min-height:0;grid-template-columns:repeat(4,minmax(0,1fr))!important}.piece{max-height:105px}.chooser{margin-top:17px}.chooser-title{margin-bottom:5px}.choice{flex-basis:92px;border-radius:19px}.choice img{width:72px;height:61px}.choice strong{font-size:12px}.reference img{width:63px;height:63px}.reference span{font-size:13px}#playground{padding:0 14px 12px}.playground-heading h1{font-size:25px}.playground-heading .primary{display:none}.playground-layout{gap:14px}.sticker-shelf{max-height:265px;padding:12px}#sticker-scene{border-width:4px;border-radius:24px}.scene-tools{gap:7px}.scene-tools button{font-size:13px;padding:8px 10px}.scene-switcher{margin:13px 0}.scene-switcher select{font-size:16px}.sticker-shelf p{font-size:14px}.sticker-shelf h2{font-size:20px}}
@media(min-width:700px) and (max-width:760px){.game-layout{grid-template-columns:1.12fr 1fr}.tray{grid-template-columns:repeat(2,minmax(0,1fr))!important}.board{width:100%}.piece{max-height:145px}}
@media(max-height:600px) and (min-width:761px){.board{width:min(100%,260px)}.piece{max-height:100px}}
@media(min-width:761px) and (max-height:850px){.board{width:min(100%,calc(100dvh - 510px),360px)}.piece{max-height:112px}.tray{gap:14px;padding:8px}.tray-heading>span{display:none}.board-footer{font-size:12px}.chooser{margin-top:13px}.chooser-title{margin-bottom:5px}.choice img{height:54px}.choice strong{font-size:12px}.choice{padding:5px}.game-dock{bottom:calc(9px + env(safe-area-inset-bottom))}}
@media(prefers-reduced-motion:reduce){button:active{translate:none}}
