.desk-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.desk-actions .secondary{margin:0!important;flex:1;min-height:44px}.color-entry{display:flex;align-items:center;gap:16px}.color-entry input{width:100%;min-width:0;border:0;border-radius:12px;background:#f2f4f6;padding:18px;font:600 22px monospace;letter-spacing:1px}.color-entry span{width:64px;height:64px;border-radius:18px;flex-shrink:0;box-shadow:inset 0 0 0 1px #0000000d}.color-history{display:flex;flex-wrap:wrap;gap:12px;margin-top:18px}.color-history button{width:44px;height:44px;border:3px solid white;box-shadow:0 0 0 1px #e5e8eb;border-radius:50%;cursor:pointer}.color-history button[aria-pressed=true]{outline:2px solid #477ff0;outline-offset:3px}.desk-widget{text-align:center;display:flex;flex-direction:column;align-items:center;gap:10px;padding:24px 0;color:#191f28}.widget-label{color:#6b7684;font-size:14px}.desk-clock{font-size:clamp(36px,9vw,62px);font-variant-numeric:tabular-nums;letter-spacing:-2px;line-height:1.3}.desk-widget .help{margin:0}.desk-widget .primary{width:100%;margin-top:14px}.plant-art{height:190px;width:200px;margin:0 auto 8px}.plant-art svg{width:100%;height:100%;overflow:visible}.plant-leaves{transform-origin:100px 155px;animation:plant-sway 7s ease-in-out infinite}.garden-card{background:#fff}.garden-progress{height:6px;background:#eff3f0;border-radius:9px;overflow:hidden;margin-top:18px}.garden-progress div{height:100%;background:#85b9a2;transition:width 1s linear}.plant-shelf{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.plant-shelf figure{margin:0;text-align:center;background:#f8faf9;border-radius:16px;padding:12px 4px}.plant-shelf svg{width:100%;max-width:100px;height:105px}.plant-shelf figcaption{font-size:12px;color:#8b95a1}.desk-pip{margin:0;padding:12px 20px;background:#fff;font-family:system-ui,sans-serif;box-sizing:border-box}.desk-pip .desk-widget{padding:6px 0;gap:5px}.desk-pip .desk-clock{font-size:42px}.desk-pip .plant-art{height:95px;width:100px;margin:0}.desk-pip .help{font-size:12px;color:#6b7684}.desk-pip button{border:0;border-radius:12px;padding:12px;background:#477ff0;color:white;font:inherit;cursor:pointer}.desk-pip .primary{margin-top:8px}.desk-pip .widget-label{font-size:12px}.desk-pip button:focus-visible,.color-history button:focus-visible{outline:3px solid #477ff0;outline-offset:3px}@keyframes plant-sway{0%,100%{transform:rotate(-2deg)}50%{transform:rotate(2deg)}}@media(prefers-reduced-motion:reduce){.plant-leaves{animation:none}.garden-progress div{transition:none}}@media(max-width:420px){.plant-shelf{grid-template-columns:repeat(3,1fr)}.color-entry input{font-size:19px}.color-entry span{width:50px;height:50px}}
.desk-pip{height:100vh;min-height:0;display:flex;padding:10px;background:#f2f5fa;overflow:auto}.desk-pip .desk-widget{box-sizing:border-box;min-height:100%;width:100%;padding:22px 18px;justify-content:center;gap:14px;background:#fff;border:1px solid #edf1f7;border-radius:20px}.desk-pip .widget-label{display:inline-flex;align-items:center;gap:7px;color:#477ff0;background:#edf3ff;padding:6px 11px;border-radius:30px;font-size:12px;font-weight:600;line-height:1.3}.desk-pip .widget-label::before{content:'';width:5px;height:5px;border-radius:50%;background:#477ff0}.desk-pip .desk-clock{font-size:clamp(32px,13vw,62px);font-weight:750;letter-spacing:-1.8px;line-height:1.12;color:#202b3d}.desk-pip .help{color:#8b95a1;font-size:12px;line-height:1.4}.desk-pip .plant-art{height:105px;width:110px;margin:0}.desk-pip .desk-widget:has(.plant-art){gap:9px;padding:14px 18px}.desk-pip .desk-widget:has(.plant-art) .desk-clock{font-size:38px}.desk-pip .primary{flex-shrink:0}.desk-pip button:hover{background:#3670e4}@media(max-height:210px){.desk-pip{padding:8px}.desk-pip .desk-widget{padding:12px;gap:8px;border-radius:15px}.desk-pip .desk-clock{font-size:clamp(30px,12vw,48px)}.desk-pip .widget-label{padding:4px 9px;font-size:11px}.desk-pip .help{font-size:11px}.desk-pip .plant-art{display:none}}

.companion-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:16px}.companion-options button{display:flex;flex-direction:column;align-items:center;gap:8px;min-width:0;padding:12px 8px;border:2px solid transparent;border-radius:18px;background:#f7f8fa;color:#6b7684;font:600 13px system-ui;cursor:pointer;transition:background .2s,border-color .2s}.companion-options button[aria-pressed=true]{border-color:#477ff0;background:#edf3ff;color:#3269d5}.companion-options img,.plant-choice{display:block;width:64px;height:70px;object-fit:contain}.plant-choice svg{width:64px;height:70px}.companion-options button:focus-visible{outline:3px solid #477ff0;outline-offset:3px}.plant-art.pet-art{position:relative;width:210px;height:215px;display:grid;place-items:center;margin:0 auto 8px}.pet-touch{position:relative;display:block;border:0;background:none;padding:0;width:100%;height:100%;cursor:pointer;border-radius:24px;-webkit-tap-highlight-color:transparent}.pet-touch:focus-visible{outline:2px solid #477ff0;outline-offset:5px}.pet-touch img{width:100%;height:100%;object-fit:contain;transform-origin:center bottom;animation:pet-breathe 4s ease-in-out infinite;user-select:none;-webkit-user-drag:none}.pet-touch.hello img{animation:pet-hello .7s ease-in-out}.pet-bubble{position:absolute;top:2px;right:0;background:#edf3ff;border-radius:14px 14px 14px 3px;color:#477ff0;font:600 12px system-ui;padding:7px 10px;opacity:0;pointer-events:none}.pet-touch.hello .pet-bubble{animation:pet-bubble 1.2s ease both}.desk-pip .plant-art.pet-art{width:125px;height:130px}.desk-pip .pet-touch,.desk-pip .pet-touch:hover{background:transparent;padding:0}.desk-pip .pet-bubble{font-size:10px;right:-18px}.desk-pip .desk-widget:has(.pet-art){gap:8px;padding:12px 16px}.desk-pip .desk-widget:has(.pet-art) .widget-label{font-size:11px}.desk-pip .desk-widget:has(.pet-art) .desk-clock{font-size:34px}@keyframes pet-breathe{0%,100%{transform:translateY(0) scale(1)}50%{transform:translateY(-3px) scale(1.015)}}@keyframes pet-hello{0%,100%{transform:rotate(0)}25%{transform:rotate(-5deg) translateY(-4px)}60%{transform:rotate(4deg) translateY(-2px)}}@keyframes pet-bubble{0%{opacity:0;transform:translateY(5px)}20%,80%{opacity:1;transform:translateY(0)}100%{opacity:0;transform:translateY(-5px)}}@media(prefers-reduced-motion:reduce){.pet-touch img,.pet-touch.hello img{animation:none}.pet-touch.hello .pet-bubble{animation:none;opacity:1}.companion-options button{transition:none}}@media(max-height:210px){.desk-pip .plant-art.pet-art{display:none}}

.pet-sprite{display:block;width:100%;height:100%;background-size:300% 200%;background-repeat:no-repeat;transform-origin:center bottom;animation:pet-breathe 4s ease-in-out infinite}.pet-touch.hello .pet-sprite{animation:pet-hello .7s ease-in-out}.plant-art.pet-art{width:220px;height:220px;margin-bottom:16px}.desk-widget{gap:14px}.desk-widget .widget-label{line-height:1.6}.desk-widget .help{line-height:1.7}.desk-pip .plant-art.pet-art{width:138px;height:138px;margin:0 auto 10px}.desk-pip .desk-widget:has(.pet-art){gap:10px;padding:16px}.desk-pip .desk-widget:has(.pet-art) .desk-clock{font-size:36px;margin:2px 0}.desk-pip .desk-widget .help{line-height:1.6}.growth-guide{margin-top:20px;border-top:1px solid #edf0f3;padding-top:16px}.growth-guide summary{cursor:pointer;color:#6b7684;font-size:13px}.growth-stages{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:18px}.growth-stages figure{margin:0;background:#f8fafc;border-radius:14px;padding:10px 6px;text-align:center}.growth-stages .pet-sprite,.growth-stages svg{width:100%;height:auto;aspect-ratio:1;animation:none}.growth-stages figcaption{font-size:11px;line-height:1.6;color:#4e5968;margin-top:6px;overflow-wrap:anywhere}.growth-stages small{display:block;font-size:10px;color:#8b95a1;margin-top:4px}@media(prefers-reduced-motion:reduce){.pet-sprite,.pet-touch.hello .pet-sprite{animation:none}}@media(max-height:210px){.desk-pip .plant-art.pet-art{display:none}}

/* Sprite sheets have a tiny neighbouring silhouette along cell boundaries. */
.pet-sprite{clip-path:inset(3%);overflow:hidden}
