.pets-home-entry{display:flex;align-items:center;gap:15px;width:100%;padding:14px 20px;margin:-8px 0 25px;text-align:left;background:#f6f7efe6;border:1px solid #d9e0cf;border-radius:7px;color:#5c7558;transition:background .2s,border-color .2s}.pets-home-entry:hover{background:#eef3e5;border-color:#b9caae}.pets-home-mark{width:40px;height:40px;flex-shrink:0}.pets-home-mark svg{display:block;width:100%;height:100%}.pets-home-entry strong{font:19px var(--serif);letter-spacing:1px;font-weight:500}.pets-home-entry small{font-size:10px;color:#929d87;margin-left:18px}.pets-home-action{margin-left:auto;font-size:11px;white-space:nowrap;color:#7e9172}.pets-home-action i{font-style:normal;font-size:17px;margin-left:10px}
.pets-launcher{position:fixed;left:12px;top:calc(100vh - 184px);z-index:35;width:50px;height:64px;touch-action:none;user-select:none;-webkit-user-select:none;cursor:grab;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:6px 4px;background:#f8faf1db;border:1px solid #d5ddcb;border-radius:25px;box-shadow:0 4px 14px #47634609;backdrop-filter:blur(8px);color:#73916d;transition:background .2s,box-shadow .2s}.pets-launcher svg{display:block;width:33px;height:33px}.pets-launcher>span{font-size:9px;letter-spacing:2px;margin-left:2px}.pets-launcher:hover,.pets-launcher[aria-expanded=true]{background:#eaf1e1;box-shadow:0 5px 20px #47634620;transform:none}.pets-launcher:focus-visible{outline:2px solid #7e9c73;outline-offset:4px}.pets-launcher.is-dragging{cursor:grabbing;box-shadow:0 6px 20px #47634620}.pets-launcher svg,.pets-launcher>span{pointer-events:none}
.pets-library{position:fixed;inset:auto;left:78px;top:50%;transform:translateY(-50%);margin:0;width:min(426px,calc(100vw - 100px));max-height:calc(100dvh - 32px);padding:26px;border:1px solid #c9d6bc;border-radius:16px;overflow:auto;color:#3b4e3a;background:#fbfcf5;box-shadow:0 24px 90px #2e48352b}.pets-library::backdrop{background:#2c423222;backdrop-filter:blur(2px)}.pets-library-top{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}.pets-kicker{font-size:9px;letter-spacing:2px;color:#a0ad91;margin:0 0 9px}.pets-library h2{font:28px var(--serif);letter-spacing:3px;margin:0;font-weight:500}.pets-library-close{width:30px;height:30px;display:grid;place-items:center;border:1px solid #e0e6d6;border-radius:50%;background:#f3f6ec;color:#8b9c7e;font-size:22px;font-weight:300;line-height:1}.pets-library-close:hover{background:#e5eddb;color:#5f7651}.pets-library-intro{font:12px/1.8 var(--serif);color:#97a08c;letter-spacing:.5px;margin:12px 0 21px}.pets-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.pets-card{min-width:0;border:1px solid #e0e6d6;border-radius:12px;overflow:hidden;background:#fdfdf8;transition:border-color .2s,box-shadow .2s}.pets-card.is-selected{border-color:#b7cba7;box-shadow:0 2px 8px #6b87540a}.pets-card-stage{position:relative;display:flex;align-items:center;justify-content:center;height:156px;overflow:hidden}.pets-jade{background:linear-gradient(145deg,#eaf0e0,#f3f5e9)}.pets-cream{background:linear-gradient(145deg,#f7eedb,#fbf4e8)}.pets-art-halo{position:absolute;top:25px;width:109px;height:109px;border:1px solid #b8c8a943;border-radius:50%;background:#f9fbee50}.pets-card-stage:after{content:'';position:absolute;bottom:16px;width:80px;height:7px;border-radius:50%;background:#6b7e4d0c;filter:blur(2px)}.pets-card-stage canvas{position:relative;z-index:1;display:block;width:128px;height:128px;filter:drop-shadow(0 4px 3px #53623e13);transition:transform .25s}.pets-card:hover .pets-card-stage canvas{transform:translateY(-3px)}.pets-card-seal{position:absolute;left:11px;top:11px;font:9px var(--serif);writing-mode:vertical-rl;letter-spacing:3px;color:#9ca78b;border:1px solid #b8c5a752;padding:4px 2px;border-radius:2px}.pets-cream .pets-card-seal{color:#b49b78;border-color:#d6c3a865}.pets-card-copy{padding:14px 12px 12px}.pets-card h3{font:18px var(--serif);font-weight:500;letter-spacing:1px;margin:0 0 7px;color:#4c6543}.pets-card-copy>p{font-size:9px;color:#98a18b;margin:0;white-space:nowrap}.pets-card-meta{display:flex;justify-content:space-between;font-size:9px;color:#a4ac99;margin:14px 0 11px}.pets-card.is-selected [data-pet-state]{color:#7d9768}.pets-choice{display:flex;align-items:center;gap:6px;width:100%;background:#f6f8f0;border:1px solid #dce5d1;border-radius:6px;padding:9px 8px;color:#91a27e;font-size:11px}.pets-choice:hover{border-color:#adbf99;background:#eef4e4}.pets-choice[aria-checked=true]{background:#eaf1df;border-color:#c0d0ae;color:#607d4d}.pets-choice-dot{display:block;width:5px;height:5px;border-radius:50%;background:#bdc9b1}.pets-choice[aria-checked=true] .pets-choice-dot{background:#83a469}.pets-choice i{font-style:normal;margin-left:auto;font-size:13px}.pets-choice:disabled{cursor:default;opacity:.6}.pets-selection{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:20px;padding-bottom:17px;border-bottom:1px solid #e2e8d9;font-size:11px;color:#8a9b79}.pets-hide-all{background:none;border:0;color:#a9ad9d;font-size:10px;padding:3px 0;border-bottom:1px solid #dce2d2}.pets-hide-all:hover{color:#667d59}.pets-hide-all:disabled{opacity:.35;cursor:default}.pets-how{display:flex;justify-content:space-between;gap:10px;margin:18px 0 12px;font-size:9px;color:#a0aa93}.pets-how b{color:#7e916e;font-weight:500}.pets-save-note{font-size:9px;line-height:1.8;color:#afb6a3;margin:0}.pets-library button:focus-visible{outline:2px solid #86a16e;outline-offset:3px}
@media(max-width:700px){.pets-home-entry{padding:12px 14px;gap:10px}.pets-home-entry strong{font-size:17px}.pets-home-entry small{display:block;margin:6px 0 0;font-size:9px}.pets-home-mark{width:35px;height:35px}.pets-home-action{font-size:10px}.pets-home-action i{margin-left:3px}.pets-library{left:12px;top:50%;width:calc(100vw - 24px);padding:22px;max-height:calc(100dvh - 24px)}.pets-card-stage{height:145px}.pets-card-stage canvas{width:119px;height:119px}.pets-card-copy{padding:12px 10px}.pets-card-copy>p{font-size:8px}.pets-library h2{font-size:26px}.pets-grid{gap:10px}}
@media(max-width:360px){.pets-library{padding:17px}.pets-card-stage{height:127px}.pets-card-stage canvas{width:108px;height:108px}.pets-card h3{font-size:16px}.pets-choice{font-size:10px;padding:8px 6px}.pets-how{font-size:8px}.pets-home-action{font-size:9px}}
@media(prefers-reduced-motion:reduce){.pets-launcher,.pets-card-stage canvas,.pets-card{transition:none}.pets-card:hover .pets-card-stage canvas{transform:none}}
.pixiu-response{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* Species-neutral entry concepts; the floating button has no visible caption. */
.pets-launcher{width:56px;height:56px;padding:3px;gap:0;background:#fafbf280;border:1px solid transparent;border-radius:50%;box-shadow:none;backdrop-filter:blur(4px)}
.pets-launcher img{display:block;width:50px;height:50px;pointer-events:none;filter:drop-shadow(0 3px 3px #485d3e13)}
.pets-launcher:hover,.pets-launcher[aria-expanded=true]{background:#f6f8ecbd;border-color:#d6dfcb;box-shadow:0 4px 13px #5062470b}
.pets-home-mark img{width:100%;height:100%;display:block}
.pets-library{width:min(680px,calc(100vw - 24px));padding:24px;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#c3cfb5 transparent}
.pets-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.pets-library-top{position:sticky;top:-24px;z-index:3;background:#fbfcf5;padding:12px 0;margin-top:-12px}
.pets-library h2{display:flex;align-items:center;gap:14px}
.pets-total{font:10px sans-serif;letter-spacing:1px;color:#91a080;white-space:nowrap}
.pets-card-stage{height:142px}
.pets-card-stage canvas{width:124px;height:124px}
.pets-pink{background:linear-gradient(145deg,#f5e5e6,#faf3ee)}
.pets-melody{background:linear-gradient(145deg,#e7eff4,#f9f0e3)}
.pets-blue{background:linear-gradient(145deg,#e1eef3,#f1f6f3)}
.pets-heart{background:linear-gradient(145deg,#f7e6e2,#fcf4ee)}
.pets-new{position:absolute;right:10px;top:12px;font-size:9px;letter-spacing:1px;color:#a68479;background:#fff9;padding:3px 6px;border-radius:10px}
.pets-art-loading{position:absolute;z-index:2;font:11px var(--serif);color:#8d9c82;letter-spacing:2px}
.pets-art-loading[hidden]{display:none}
.pets-library[open]{display:flex;flex-direction:column;overflow:hidden}
.pets-library-top,.pets-library-intro,.pets-selection,.pets-how,.pets-save-note{flex-shrink:0}
.pets-library-top{position:static;margin-top:0;padding:0}
.pets-grid{min-height:0;overflow:auto;overscroll-behavior:contain;padding:2px 4px 4px 2px;scrollbar-width:thin;scrollbar-color:#c3cfb5 transparent}
.pets-card-stage{height:116px}
.pets-card-stage canvas{width:104px;height:104px}
.pets-card-copy{padding:10px}
.pets-card h3{font-size:17px;margin-bottom:5px}
.pets-card-meta{margin:9px 0}
.pets-library-intro{margin:10px 0 14px}
.pets-selection{margin-top:12px;padding-bottom:12px}
.pets-how{margin:12px 0 8px}
@media(max-width:620px){.pets-library{padding:18px}.pets-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pets-library-top{top:-18px}.pets-card-stage{height:132px}.pets-card-stage canvas{width:116px;height:116px}.pets-card h3{font-size:17px}.pets-library h2{font-size:24px;gap:10px}}

/* Plush companion launcher: transparent silhouette retains tactile edges. */
.pets-launcher{width:72px;height:76px;padding:0;background:transparent;border-color:transparent;backdrop-filter:none;border-radius:20px}
.pets-launcher img{width:72px;height:72px;object-fit:contain;filter:drop-shadow(0 3px 3px #73533b24)}
.pets-launcher:hover,.pets-launcher[aria-expanded=true]{background:#faf9f144;border-color:transparent;box-shadow:none}
.pets-launcher.is-dragging{box-shadow:none}

.pets-lotus{background:linear-gradient(145deg,#f8edda,#f8edf0)}

.pets-grid{grid-auto-rows:max-content;align-content:start}

/* The quiet home companion belongs to the ring until deliberately awakened. */
.zen-art.has-pet-dock{z-index:1;opacity:1}
.pets-dock{position:absolute;left:0;top:50%;width:100%;aspect-ratio:350/180;transform:translateY(-50%);pointer-events:none}
.pets-dock>.pets-launcher{position:absolute;left:54.2857%;top:49.4444%;transform:translate(-50%,-50%);pointer-events:auto}
.pets-launcher.is-docked{cursor:pointer;touch-action:pan-y}
.pets-launcher.is-docked img{filter:grayscale(1) sepia(.24) hue-rotate(44deg) saturate(.55) contrast(.72) opacity(.78) drop-shadow(0 3px 4px #536b4e18)}
.pets-launcher.is-docked:hover,.pets-launcher.is-docked[aria-expanded=true]{background:transparent;border-color:transparent;box-shadow:none;transform:translate(-50%,-50%)}
@media(max-width:380px){.pets-launcher.is-docked,.pets-launcher.is-docked img{width:64px;height:64px}}
