#sharedGoal{position:absolute;left:0;top:0;width:100%;height:clamp(70px,12vh,110px);z-index:110;display:flex;align-items:center;gap:20px;padding:10px 25px;background:#fffef8;border-bottom:1px solid #d9dfd2;box-shadow:0 3px 16px #253d2910;color:#304d38}#sharedGoal [contenteditable]{font-family:'Classroom Hand',sans-serif;font-weight:600;flex:1;min-width:0;white-space:nowrap;overflow:hidden;outline:none;line-height:1.25}#sharedGoal [contenteditable]:empty:before{content:attr(data-placeholder);color:#96a18e;font-size:30px;font-weight:400}#sharedGoal .goal-flag{width:48px;height:54px;flex:none;background:none}#sharedGoal .goal-flag svg{width:44px;height:48px}#sharedGoal.collapsed{width:72px;padding:8px 12px;border-radius:0 0 15px 0;box-shadow:none;border:0;height:72px}body.widgets-hidden #sharedGoal{visibility:hidden}#goalHotspot{z-index:111}body.has-shared-goal #goalHotspot{display:none}.art-spotlight #sharedGoal{z-index:110}
.currency-token{display:inline-block;width:26px;height:26px;vertical-align:middle;flex:none;background-image:url('assets/currency-tokens.webp');background-repeat:no-repeat;background-size:257.1% 129.7%;background-position:9.96% 47.8%}.currency-token.spark{background-size:268% 133.2%;background-position:89.1% 47%}.fox-level{display:block;width:34px;height:34px}.fox-level svg{width:100%;height:100%}#levelToggle{width:75px;display:flex;gap:5px;align-items:center;justify-content:center}.corner-level{right:68px}.bottom-controls{right:154px}#levelPanel{min-width:330px;max-width:390px}.level-rewards{display:flex;flex-direction:column;gap:7px;margin-top:18px;padding-top:15px;border-top:1px solid #d5dece}.level-rewards .button{font-size:13px;justify-content:flex-start;padding:10px 12px}.level-rewards small{font-size:11px;line-height:1.4;color:#73836c}#dew{display:none}.resources>span:has(#dew){display:none}
.widget-body{border-radius:inherit}.widget-clock,.widget-random,.widget-timer,.widget-morningTimer{border-radius:clamp(12px,1.5vw,24px)}.widget-clock .widget-body{padding:12px!important}.analog-clock{width:100%;height:100%;display:block}.wheel-body{position:relative;display:block!important;padding:12px 12px 66px!important}.wheel-stage{width:100%;height:100%;max-width:none;aspect-ratio:1;margin:0}.wheel-stage canvas{display:block;width:100%;height:100%}.wheel-result{position:absolute;bottom:34px;left:8px;right:8px;font-size:24px;line-height:1.1}.wheel-actions{position:absolute;bottom:7px;left:0;right:0;justify-content:center;height:26px}.wheel-actions button{height:26px}.widget-timer .timer-dial,.widget-morningTimer .timer-dial{max-width:100%;max-height:100%}.widget-head [data-action=fit] svg{width:16px}.widget-text .direct-text{font-size:32px;min-height:0;height:100%;line-height:1.4}.design-criteria{gap:14px;padding:23px 26px!important}.design-criteria h2{font-size:clamp(27px,2.6vw,40px)}.criteria-writing{margin:0;padding:0 0 0 1.5em;list-style:decimal;white-space:normal;line-height:1.65;font-size:30px;min-height:30px}.criteria-writing li{padding-left:.15em;min-height:1.65em}.criteria-writing li:empty:after{content:' ';white-space:pre}
.painting-frame{border:17px solid #b69857;padding:3px;outline:1px solid #80672f;border-image:none;background:#e5d3a0;box-shadow:0 11px 20px #29271938,inset 0 0 0 2px #d2b772}.painting-frame:before{inset:-14px;border:2px solid #d7bd75;outline:1px solid #8a6d32;box-shadow:inset 0 0 0 2px #9f803e,0 0 0 3px #b79b54,0 0 0 5px #d8bd70}.painting-frame:after{content:'';inset:-17px;left:-17px;top:-17px;border:3px ridge #bca166;background:none;font-size:0}.painting-frame img{cursor:zoom-in}#artFocus .painting-frame img{cursor:zoom-out}#artFocus{background:radial-gradient(ellipse at 43% 20%,#e9e9e3 0%,#b8bfba 52%,#87938c 100%);color:#30452f;padding:calc(clamp(70px,12vh,110px) + 18px) 28px 32px;overflow:hidden}.museum-floor{position:absolute;inset:85% 0 0;background:repeating-linear-gradient(96deg,#bfa781 0,#cdb690 4px,#d0ba95 5px,#c8b18d 80px);border-top:12px solid #f1f0e8;box-shadow:0 -2px 0 #b4b9b0;pointer-events:none}.focus-art{height:100%;width:84vw;z-index:1}.focus-art .painting-space{min-height:150px}.focus-art .art-controls{flex:none;height:42px;color:#30452f}.art-controls button{color:#30452f;background:#fffdf4}.focus-art .art-caption{background:#fefcf3;color:#354a35;font-family:'Classroom Hand',sans-serif}.easel-menu{color:#30452f!important;background:#fffdf2!important;z-index:95}.easel-menu button{color:#30452f!important}.conversation-dock{position:fixed;right:18px;top:calc(clamp(70px,12vh,110px) + 20px);width:43vw;max-height:calc(100dvh - 205px);z-index:95;display:flex;flex-direction:column;gap:10px;color:#30452f}.art-conversation,#artFocus .art-conversation,.art-conversation[data-kind=feel]{position:relative;inset:auto;width:100%;padding:12px 16px;border-radius:16px;max-height:none;overflow:hidden;flex-shrink:1;background:#fffef6f5}.art-conversation header{display:flex;justify-content:space-between;align-items:center;margin:0 0 9px;font-size:22px}.art-conversation header button{width:28px;height:28px;background:none}.art-conversation header button svg{width:20px;height:20px}.conversation-fields,.art-conversation[data-kind=feel] .conversation-fields{grid-template-columns:1fr 1fr;gap:10px}.conversation-item label>span{font-size:20px;line-height:1.2;min-height:1.2em}.conversation-item textarea{height:55px;min-height:42px;font-size:21px;padding:7px 9px;resize:none;line-height:1.25;color:#30452f}.tip-button{width:25px;height:25px}.tip-button svg{width:18px;height:18px}.tip-bubble{font-size:20px;line-height:1.25;margin-top:8px;padding:9px}#artFocus.has-conversation .focus-art{width:53vw}.widget-art.has-conversation{left:1%!important;width:54%!important;top:17%!important;height:66%!important}.art-controls{gap:6px}.art-controls button{flex:none}
.groups-body{display:flex!important;flex-direction:column;padding:20px!important;gap:12px;font-family:'Classroom Hand',sans-serif}.groups-body>header{display:flex;align-items:center;justify-content:space-between;font-size:30px}.groups-body header button{width:32px;height:32px;background:none}.groups-body header svg{width:24px}.group-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(115px,1fr));gap:12px;min-height:0;flex:1}.group-cards section{padding:10px;border-radius:14px;background:#e8efdf;display:flex;flex-direction:column;gap:4px;min-height:0}.group-cards section:nth-child(4n+2){background:#e5ebf0}.group-cards section:nth-child(4n+3){background:#f3e7cf}.group-cards section:nth-child(4n){background:#eee3df}.group-cards b{font-size:21px;margin-bottom:4px}.group-cards span{font-size:20px;line-height:1.2}.groups-body .gallery-pages{margin-top:0;gap:10px;font-family:Segoe UI,sans-serif}.groups-body .gallery-pages .button{padding:4px 8px;font-size:12px}#rosterNames{height:260px}
.widget-chest{background:transparent;border:none;box-shadow:none}.chest-body{overflow:visible!important;padding:5px!important}.chest-open{background:none;display:flex;align-items:center;justify-content:center;flex-direction:column;width:100%;height:100%;font-family:'Classroom Hand',sans-serif;font-size:25px;color:#4b553c}.chest-open svg{width:100%;height:78%}.chest-symbols{position:fixed;left:50%;top:22%;transform:translateX(-50%);z-index:60;width:min(590px,80vw);display:grid;grid-template-columns:repeat(3,1fr);gap:12px;background:#fffdf2;padding:20px;border-radius:22px;box-shadow:0 10px 35px #283b3b44}.chest-symbols button{padding:12px;display:flex;flex-direction:column;align-items:center;gap:6px;background:#f3f1e4;border-radius:15px;touch-action:none;font-size:16px;cursor:grab}.chest-symbols svg{width:70px;height:70px}.reflection-ghost{position:fixed;width:100px;height:100px;transform:translate(-50%,-50%);pointer-events:none;z-index:1000}.reflection-ghost svg{width:100%;height:100%}.reflection-body{display:flex!important;flex-direction:column;align-items:center;gap:7px;padding:16px!important;font-family:'Classroom Hand',sans-serif;font-size:24px}.reflection-body>svg{height:64px;width:64px;flex:none}.reflection-body p{font-size:20px;margin:0}.reflection-text{width:100%;flex:1;min-height:30px;outline:none;white-space:pre-wrap;overflow-wrap:anywhere}
#inkTools{padding:8px;gap:4px;flex-wrap:nowrap}#inkTools button{font-size:23px;padding:4px 7px}#inkTools [data-ink=done]{font-size:15px}#inkPalette{position:absolute;bottom:65px;left:0;display:flex;align-items:center;gap:7px;border-radius:15px;padding:12px;background:#fffef8;box-shadow:0 5px 15px #334c3330}#inkPalette button{border:2px solid #ddd;border-radius:50%;width:29px;height:29px;min-width:29px;padding:0}#inkPalette input{width:32px;height:32px}#board{z-index:12;pointer-events:none}#board>.widget{pointer-events:auto}#animalLane{z-index:8}.animal{transition:opacity 1s}.pose-shadow{transition:opacity .24s linear!important}.animal .facing{transition:transform .25s ease}.animal.sleep .sprite{animation:sleep-breathe 4.5s ease-in-out infinite}.sleep-bubble{display:none;position:absolute;width:13px;height:16px;border:1px solid #d7ebed;border-radius:60%;background:#d4e9f24a;left:43%;top:57%;transform-origin:40% 80%}.animal.sleep.bubble-sleeper .sleep-bubble{display:block;animation:snore-bubble 4.5s ease-in-out infinite}.animal.read .sprite{animation:reading-calm 8s ease-in-out infinite}.animal.write .sprite{animation:writing-calm 5s ease-in-out infinite}.animal.groom .sprite,.animal.brush .sprite{animation:writing-calm 5s ease-in-out infinite}.animal.exercise .sprite{animation:animal-stretch 9s ease-in-out infinite}.hobby-note{display:none;position:absolute;right:6px;top:23%;color:#6d8b64;font-size:17px}.animal.sing .hobby-note{display:block;animation:quiet-note 7s ease-in-out infinite}.animal.greeting .facing{animation:animal-greeting 6s ease-in-out}.world-decor-plant.watering:after{content:'☂';position:absolute;font-size:28px;color:#8cbec8;right:6px;top:24px;animation:gentle-water 5s ease-in-out}.pet-personality{font-family:'Classroom Hand',sans-serif;text-align:center;font-size:22px;line-height:1.3;margin:0}
@keyframes sleep-breathe{50%{transform:scale(1.012,.985)}}@keyframes snore-bubble{0%,100%{transform:scale(.4);opacity:.1}50%{transform:scale(1);opacity:.7}}@keyframes reading-calm{45%,55%{transform:rotate(-1deg) translateY(1px)}}@keyframes writing-calm{40%,50%,60%{transform:translateX(.6px)}45%,55%{transform:translateX(-.6px)}}@keyframes quiet-note{0%,70%,100%{opacity:0;translate:0 0}30%{opacity:.55;translate:2px -8px}}@keyframes gentle-water{0%,100%{opacity:0}30%,70%{opacity:.7;transform:rotate(-18deg)}}
@media(max-height:700px){.conversation-dock{top:90px;max-height:calc(100vh - 170px)}.conversation-item textarea{height:42px}.art-conversation header{font-size:18px;margin-bottom:6px}.conversation-item label>span{font-size:17px}.art-conversation{padding:9px 12px}.tip-bubble{font-size:17px}.conversation-fields{gap:7px}.group-cards span{font-size:17px}}

.art-spotlight #board{visibility:hidden}.design-criteria{background:#fffef8}.widget-criteria{background:#fffef8}.art-spotlight #sharedGoal{visibility:visible}

.xp-row{display:flex;align-items:center;gap:8px;margin:8px 0}.xp-row #levelTime{margin:0}.xp-row .spark{width:24px;height:24px}.group-cards{grid-template-rows:repeat(auto-fit,minmax(130px,1fr))}.world-decor-plant.watering:after{content:"";width:42px;height:42px;background:radial-gradient(ellipse at 12px 28px,#94bec5 0 2px,transparent 3px),radial-gradient(ellipse at 21px 36px,#94bec5 0 2px,transparent 3px),radial-gradient(ellipse at 30px 25px,#94bec5 0 2px,transparent 3px);border:0}
