/* 52-vi4.css */
/* SAD CAT DISCO · PURRTURES VI on /purrtures/ (01.11.; the file keeps its working name from /vi4/; src/purrtures/view/*): the game stage, its canvas and the late-90s game HUD
   (bevelled panels, round buttons, a big drawn paw cursor) in the site's neon palette. Everything is scoped to .purr-*.
   Motion only under body.motion-ok (calm mode = no animation); body.focus-mode (core, while the game is played): nothing
   around the stage moves (see "focus mode" near the end). The stage fills the screen below the sticky header
   (phones: above the chaos dock bar; in focus mode the dock steps aside). 31.10. playtest: the header and the dock bar
   are measured (src/js/vi4.js: --purr-head, --purr-dock on <html>; at 360–375 px the header has three rows), the scroll
   padding is the header's real height, phones held sideways get a stage of exactly the screen's height in focus mode.
   The re-test (31.10.): the site's ENABLE MEWSIC sticker shows only from 1100 px (it lay over the tablets' top buttons),
   the see-through card keeps its own buttons, phones get a round 💬 SAY and a roster that fades where it scrolls on,
   short screens held sideways the phones' SAY sheet, the learning machine's labels fit their phone buttons, the
   thought bubble has no site focus box inside it. 31.10. foundation: the guide (coach card, paw, "?" badge, explanation
   card), the how-to card, the nudge, place pills with names and NEW, the machine's words, BRING A KITTEN, need icons
   on the roster, the card in plain words (see "31.10. foundation" before focus mode). 01.11. world step 0: the short
   start screen, the unlock postcard with its hearts burst, the album's UNLOCKED row and the local link test panel (see
   "01.11. world step 0" before focus mode). 01.11. fix round: the start screen fits laptops and small phones whole (its
   button and 'no tour' in a foot that stays in sight; see next to .purr-panel-intro and the phones block). 01.11. world
   step 1: the ♥ counter, the NEXT ribbon under the top row (the card and the ticker go under it: --purr-next-b, hud.js),
   hearts flying to the counter, the PURR CATALOGUE and the 🪶 wand chip (see "01.11. world step 1" before focus mode).
   01.11. step 1 fix round: the ♥ pill grows with its number on phones too, the ribbon's 👀 without its words on phones,
   the catalogue's cards centred, a card's note, short screens see a whole card, a card's ✨ LEARNS ×2. 07.11. world step 7
   (♥ love, 🐭 mice): the ♥ and 🐭 pills (the step-1 counter became the 🐭 one), the card's ♥ for you, why line, SHE
   LIKES chips and 🕊️ GENTLE, the officer's card and roster chip, the love panel, the nine how-to tiles (see "07.11. world
   step 7" at the end). */

/* ---------- page + stage */
.purr-page{position:relative;padding:18px 0 22px;background:radial-gradient(ellipse at 15% 0,#ff00bd33,transparent 55%),radial-gradient(ellipse at 90% 30%,#00fff22a,transparent 50%),#14042b}
.purr-h1{margin:0 auto 12px;max-width:1180px;padding:0 18px;font:1000 clamp(30px,5vw,64px)/.95 var(--heavy);color:#fff;letter-spacing:.5px;text-shadow:3px 3px 0 var(--pink),0 0 22px #ff00bd88}
.purr-h1 small{display:inline-block;margin-left:10px;padding:3px 9px;font:900 13px/1.2 var(--mono);color:var(--ink);background:var(--lime);text-shadow:none;transform:rotate(-4deg);vertical-align:middle}
.purr-domains,.purr-notice{max-width:1180px;margin:12px auto 0;padding:0 18px;font:700 italic 15px/1.4 var(--comic);color:#f3e6ff}
.purr-stage{--edge:var(--pink);position:relative;height:100dvh;overflow:hidden;background:#1b0733;outline:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;
  touch-action:pan-y;border-block:4px solid var(--edge);box-shadow:0 0 0 2px #000,0 0 40px #ff00bd55;contain:layout paint;-webkit-tap-highlight-color:transparent}
.purr-stage:focus-visible::after{content:"";position:absolute;inset:0;z-index:9;box-shadow:inset 0 0 0 4px #fff,inset 0 0 0 7px var(--pink);pointer-events:none}
/* a scroll into view (WARM THE EGGS, a fresh load) puts the stage right under the header, not under a fixed 98 px */
html:has(body[data-page="vi4"]){scroll-padding-top:var(--purr-head,98px)}
/* The normal header stays visible even on short landscape screens. Only the explicit
   fullscreen control takes over the whole browser area. No fixed minimum cuts off the shelf. */
.purr-stage:fullscreen{height:100%;width:100%;border:0;touch-action:none}
.purr-stage.is-fs{position:fixed;inset:0;z-index:10000;height:100%;border:0;touch-action:none}
body.purr-fs-on{overflow:hidden}
.purr-canvas{position:absolute;inset:0;display:block;width:100%;height:100%;touch-action:pan-y}
.purr-stage:fullscreen .purr-canvas,.purr-stage.is-fs .purr-canvas{touch-action:none}
/* zoomed in (render.js toggles .is-zoomed), a finger on the room pans the camera instead of scrolling the page */
.purr-canvas.is-zoomed{touch-action:none}
/* step 6 last fixes (a phone playtest: a vertical swipe on the house scrolled the page, the site's sticky header then
   covered HOME, the hearts, 📌 and ?, and nothing said how to get back): while the game is played (focus mode) a finger
   on the stage never scrolls the page; its own scrolling strips and panels still scroll (touch-action stops at a scroll
   container). The page is one tap away: ↓ MORE PAGE in the ? card (hud.js); the header's own swipe still scrolls it.
   A page scrolled under the sticky header anyway keeps the top row below it (--purr-under-head, hud.js) */
@media (pointer:coarse){body.focus-mode .purr-stage,body.focus-mode .purr-canvas{touch-action:none}}
.purr-fine .purr-canvas{cursor:none}
.purr-loading{position:absolute;inset:0;z-index:1;display:grid;place-items:center;margin:0;padding:20px;text-align:center;font:900 clamp(22px,4vw,44px)/1.1 var(--heavy);color:var(--yellow);text-shadow:3px 3px 0 var(--pink)}
.purr-noscript{position:absolute;inset:0;display:grid;place-items:center;margin:0;font:700 20px/1.3 var(--comic);color:#fff}
/* the site's floating ENABLE MEWSIC sticker never shows on the game page (07.11.2026, the owner: no music sticker on the
   game; on phones and tablets it sat on the game's buttons, on desktop it took 350 px of the top row): the header's
   MEWSIC ON / OFF stays, and the game starts its own song (PURR DREAMS) with the first click (game.js focus()). By the
   page (core sets data-page on every in-site swap too), so it is gone from the first frame, before the stage exists,
   and back on the next page */
body[data-page="vi4"] .mewsic-cta{display:none}
/* The site dock is absent from PURRTURES. Its shelf retains only SFX; music and calm stay in the header. */
@media (min-width:761px){body[data-page="vi4"] .chaos-dock{display:none!important}}

/* ---------- HUD shell */
.purr-hud{position:absolute;inset:0;z-index:2;pointer-events:none;font-family:var(--sans);color:var(--ink)}
.purr-hud>*{pointer-events:auto}
.purr-hud [hidden]{display:none!important}
.purr-hud button{font-family:inherit;-webkit-tap-highlight-color:transparent}
.purr-hud button:focus-visible,.purr-hud a:focus-visible,.purr-hud input:focus-visible{outline:3px dashed #fff;outline-offset:3px}
.purr-top{position:absolute;left:10px;right:10px;top:calc(10px + var(--purr-under-head,0px));display:flex;align-items:flex-start;gap:8px;pointer-events:none}
.purr-top>*{pointer-events:auto}

/* round chunky buttons: a 1999 plastic bubble with a hard shadow */
.purr-round{--c:var(--cyan);--d:#009c94;position:relative;display:inline-grid;place-items:center;flex:none;width:46px;height:46px;padding:0;border:3px solid var(--ink);border-radius:50%;
  background:radial-gradient(circle at 34% 28%,#fff 0 9%,var(--c) 38%,var(--d) 100%);box-shadow:inset -3px -4px 0 #0003,3px 3px 0 var(--ink);
  font:900 20px/1 var(--heavy);color:var(--ink);cursor:pointer;transition:transform .08s}
.purr-round:hover{filter:brightness(1.1) saturate(1.2)}
.purr-round:active{transform:translate(2px,2px);box-shadow:inset -2px -2px 0 #0003,1px 1px 0 var(--ink)}
.purr-round:disabled{opacity:.55;cursor:wait}
.purr-wide{width:auto;min-width:46px;padding:0 14px 0 10px;border-radius:24px;grid-auto-flow:column;gap:6px}
.purr-t-label{font:900 15px/1 var(--heavy);letter-spacing:.5px}
.purr-t-save{--c:var(--lime);--d:#6fa000}
.purr-t-album{--c:var(--yellow);--d:#c9a400}
.purr-t-fs{--c:#c9a7ff;--d:#6f00f5}
.purr-t-help{--c:var(--pink);--d:#a0007a;color:#fff;text-shadow:1px 1px 0 var(--ink)}
/* zoom − / + (cyan bubbles); at the ends they go flat and grey. Phones: hud.js moves them out of the top row into a
   small column at the room's right edge (the middle of the room above the shelf), so the favourites keep their room */
.purr-t-zoom{font-size:28px;padding-bottom:2px}
.purr-t-zoom:disabled{opacity:.45;cursor:default;filter:grayscale(.75)}
.purr-zoom{position:absolute;right:8px;top:calc(50% - 29px);display:flex;flex-direction:column;align-items:center;gap:8px;transform:translateY(-50%)}
.purr-badge{position:absolute;top:-7px;right:-7px;display:grid;place-items:center;min-width:22px;height:22px;padding:0 5px;border:2px solid var(--ink);border-radius:11px;background:var(--pink);color:#fff;font:900 12px/1 var(--mono);font-style:normal}
body.motion-ok .purr-badge{animation:purrBounce .9s ease-in-out infinite}

/* favourites: one round icon per place a cat has been */
.purr-favs{display:flex;gap:7px;min-width:0;overflow-x:auto;padding:0 4px 6px 0;scrollbar-width:none}
.purr-favs::-webkit-scrollbar{display:none}
/* more places scrolled out of sight (phones): the bar's end fades out (hud.js toggles .has-more) */
.purr-favs.has-more{-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 30px),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 30px),transparent)}
.purr-fav{--c:#ff9fc8;--d:#c2187a;font:400 22px/1 sans-serif}
.purr-fav.is-here{--c:var(--lime);--d:#6fa000;box-shadow:inset -3px -4px 0 #0003,0 0 0 3px #fff,3px 3px 0 3px var(--ink)}
.purr-fav-name{position:absolute;left:50%;top:calc(100% + 6px);transform:translateX(-50%);padding:2px 6px;white-space:nowrap;background:var(--ink);color:#fff;font:900 10px/1.2 var(--mono);opacity:0;pointer-events:none;transition:opacity .15s}
.purr-fav:hover .purr-fav-name,.purr-fav:focus-visible .purr-fav-name{opacity:1}
.purr-eggbtn{--c:#fff4e0;--d:#e6c49a;font:400 22px/1 sans-serif}
.purr-count{position:absolute;right:-6px;bottom:-6px;display:grid;place-items:center;min-width:20px;height:20px;padding:0 4px;border:2px solid var(--ink);border-radius:10px;background:var(--yellow);font:900 11px/1 var(--mono)}
body.motion-ok .purr-eggbtn{animation:purrWobble 1.6s ease-in-out infinite}
.purr-tools{display:flex;gap:7px;margin-left:auto;flex:none}
/* 07.11.2026: the tools sit at the top row's right end on every screen (they waited 350 px left of the site's ENABLE
   MEWSIC sticker from 1100 px, and the learning machine panel below it; the sticker no longer shows on this page) */

/* ---------- message ticker */
.purr-ticker{position:absolute;left:50%;top:var(--purr-next-b,66px);z-index:1;display:flex;flex-direction:column;align-items:center;gap:6px;width:min(540px,calc(100% - 24px));transform:translateX(-50%);pointer-events:none}
/* 761–1099 px with the card open: the lines go right of the card (in the school between the card and the machine) */
@media (min-width:761px) and (max-width:1099px){.purr-card-open .purr-ticker{left:calc(50% + 140px);width:min(540px,calc(100% - 300px))}
  .purr-card-open.purr-in-school .purr-ticker{left:calc(50% + 17px);width:min(540px,calc(100% - 546px))}}
.purr-tick{margin:0;max-width:100%;padding:6px 13px;background:var(--yellow);border:3px solid var(--ink);box-shadow:3px 3px 0 var(--pink);font:700 15px/1.25 var(--comic);color:var(--ink);text-align:center;transform:rotate(-1deg);transition:opacity .4s}
.purr-tick:nth-child(2n){transform:rotate(1deg);background:#fff}
.purr-tick.is-out{opacity:0}
/* 08.11. last fixes: a squabble's line is a warning (hud.js keeps it on a desktop until she is helped) */
.purr-tick.is-warn,.purr-tick.is-warn:nth-child(2n){background:#ffe0ef;border-color:#c0005e;box-shadow:3px 3px 0 var(--ink)}
body.motion-ok .purr-tick{animation:purrPop .25s cubic-bezier(.3,1.6,.6,1)}

/* ---------- bevelled panels (card, school, sheet) */
.purr-card,.purr-school,.purr-sheet,.purr-panel{background:linear-gradient(180deg,#3b0a5e,#22063a);color:#fff;border:3px solid;border-color:#e4c8ff #11061e #11061e #e4c8ff;
  box-shadow:inset 2px 2px 0 #ffffff33,inset -2px -2px 0 #00000055,5px 5px 0 var(--ink),0 0 24px #ff00bd44}
.purr-card{position:absolute;left:10px;top:var(--purr-next-b,68px);z-index:3;width:270px;max-height:max(140px,calc(100% - var(--purr-next-b,68px) - var(--purr-free-b,76px) - 8px));overflow:auto;padding:10px 12px 12px;border-radius:6px;scrollbar-width:thin}
/* 08.11. last fixes (a phone playtest: the 🎓 STUDY chip, z-index 3, lay on the open card): the card the player opened
   is over the chip (its DOM order: after the chip, before the SAY sheet; hud.js keeps the chip off the card too) */
/* something to see under the card (a cat, an egg, the thing in the paw, a bubble; hud.js): it goes see-through and
   lets taps through to the room, until the keyboard goes into it. Its own buttons stay (31.10. re-test: a tap on the
   faint ✕ tickled the kitten behind it): ✕ and ▾ solid, FOLLOW faint but there; a tap leaves no focus ring, so only a
   keyboard focus brings the whole card back (it stayed opaque after a tap on ▾ and hid the cat the camera followed) */
/* step 6 last fixes (a desktop playtest at 1280 x 720: the unfolded card ran under the shelf, its FOLLOWING button
   could not be clicked): the card's height ends above the shelf and the covered band (--purr-free-b), it scrolls */
/* 31.10. second fix round (a fresh-eyes playtest: the see-through card's faint text and its two solid buttons floating
   over the room looked like a rendering glitch): it folds into a small opaque pill at its corner instead, her portrait,
   name and ✕; the room under the rest of it is free (hud.js measures "under" against the whole card, so it does not
   flicker) */
.purr-card.is-under:not(:has(:focus-visible)){right:auto;width:auto;max-width:calc(100% - 16px);padding:4px 5px 4px 4px;border-radius:28px;overflow:hidden}
.purr-card.is-under:not(:has(:focus-visible))>:not(.purr-card-head),.purr-card.is-under:not(:has(:focus-visible)) .purr-card-mood,
.purr-card.is-under:not(:has(:focus-visible)) .purr-age,.purr-card.is-under:not(:has(:focus-visible)) .purr-more{display:none}
.purr-card.is-under:not(:has(:focus-visible)) .purr-card-head{grid-template-columns:34px auto auto;gap:8px;margin:0}
.purr-card.is-under:not(:has(:focus-visible)) .purr-card-pic{width:34px;height:34px}
.purr-card.is-under:not(:has(:focus-visible)) .purr-card-name{font-size:17px}
.purr-card.is-under:not(:has(:focus-visible)) .purr-card-btns{align-self:center}
.purr-card.is-under .purr-card-pic,.purr-card.is-under .purr-card-title{cursor:pointer;pointer-events:auto}   /* step 6 last fixes: a tap on the pill's face or name unfolds it */
.purr-card-head{display:grid;grid-template-columns:56px 1fr auto;gap:10px;align-items:center;margin-bottom:8px}
.purr-card-pic,.purr-chip-pic{display:grid;place-items:center;overflow:hidden;border:3px solid var(--ink);border-radius:50%;background:radial-gradient(circle at 40% 35%,#fff,#ffd1f0 55%,#ff9fc8)}
.purr-card-pic{width:56px;height:56px;font-size:30px}
.purr-card-pic canvas,.purr-chip-pic canvas{width:100%;height:100%;display:block}
.purr-card-title{display:flex;flex-wrap:wrap;align-items:center;gap:4px 7px;min-width:0}
.purr-card-name{font:900 24px/1 var(--heavy);letter-spacing:.5px;color:var(--yellow);text-shadow:2px 2px 0 var(--pink)}
.purr-card-mood{flex-basis:100%;font:700 12px/1.2 var(--comic);color:#f3e6ff}
.purr-age{display:inline-block;padding:2px 6px;border:2px solid var(--ink);background:var(--cyan);color:var(--ink);font:900 10px/1.1 var(--mono);font-style:normal;letter-spacing:.5px;transform:rotate(-3deg)}
.purr-age[data-age="1"]{background:var(--lime)}
.purr-age[data-age="2"]{background:#c9c2d6}
.purr-card-btns{display:flex;gap:6px;align-self:start}
.purr-more{display:grid;place-items:center;width:32px;height:32px;padding:0;border:2px solid var(--ink);border-radius:50%;background:var(--cyan);color:var(--ink);font:900 15px/1 var(--sans);cursor:pointer;box-shadow:2px 2px 0 var(--ink)}
.purr-card.is-min .purr-bars,.purr-card.is-min .purr-card-words,.purr-card.is-min .purr-known,.purr-card.is-min .purr-card-foot{display:none}
.purr-card.is-min .purr-card-head{margin-bottom:0}
.purr-x{display:grid;place-items:center;width:32px;height:32px;padding:0;border:2px solid var(--ink);border-radius:50%;background:var(--pink);color:#fff;font:900 15px/1 var(--sans);cursor:pointer;box-shadow:2px 2px 0 var(--ink)}
.purr-bars{display:grid;gap:4px;margin:0 0 8px;padding:0;list-style:none}
.purr-bar{display:grid;grid-template-columns:96px 1fr;gap:6px;align-items:center;font:900 10px/1 var(--mono);letter-spacing:.3px}
.purr-bar-t{height:11px;overflow:hidden;border:2px solid var(--ink);background:#11061e;box-shadow:inset 1px 1px 0 #0008}
.purr-bar-f{display:block;height:100%;background:linear-gradient(90deg,var(--lime),var(--cyan));transform:scaleX(0);transform-origin:0 50%;transition:transform .25s}
.purr-bar.is-high .purr-bar-f{background:linear-gradient(90deg,var(--yellow),var(--pink))}
/* A positive discovery drive: kept separate from warning-coloured needs, with opt-in inline help. */
.purr-curiosity{margin:0 0 10px;padding:7px 8px 4px;border:2px solid var(--cyan);border-radius:7px;background:#091d38;min-width:0}
.purr-curiosity-head{display:flex;justify-content:space-between;align-items:center;gap:8px;color:var(--cyan);font:900 12px/1.3 var(--mono)}
.purr-curiosity-value{color:var(--lime);white-space:nowrap}
.purr-curiosity-meter{height:12px;margin:5px 0;border:2px solid #020815;background:#020815;overflow:hidden}
.purr-curiosity-fill{display:block;width:100%;height:100%;background:linear-gradient(90deg,var(--cyan),var(--lime));transform:scaleX(0);transform-origin:left center}
.purr-curiosity-status{margin:0;font:700 12px/1.3 var(--comic);color:#fff;overflow-wrap:anywhere}
.purr-curiosity-help{margin-top:2px;font:700 11px/1.35 var(--comic);color:#d9ecff}
.purr-curiosity-help summary{min-height:28px;padding:5px 0;cursor:pointer;color:#c2f8ff;text-decoration:underline;text-underline-offset:2px}
.purr-curiosity-help summary:focus-visible{outline:2px solid var(--yellow);outline-offset:2px}
.purr-curiosity-help p{margin:0 0 5px;overflow-wrap:anywhere}
.purr-card.is-min .purr-curiosity{display:none}
.purr-card-words{margin:0 0 5px;font:900 13px/1 var(--heavy);letter-spacing:.6px;color:var(--cyan)}
.purr-known{display:flex;flex-wrap:wrap;gap:4px;margin-bottom:8px}
.purr-kw{padding:2px 6px;background:var(--lime);border:2px solid var(--ink);color:var(--ink);font:700 11px/1.2 var(--mono)}
.purr-aside{font:700 italic 13px/1.3 var(--comic);color:var(--lime)}
.purr-card-foot{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px}
.purr-spoil{font:900 11px/1 var(--mono);color:var(--yellow)}
.purr-chipbtn{padding:5px 9px;border:2px solid var(--ink);border-radius:14px;background:var(--cyan);color:var(--ink);font:900 11px/1 var(--mono);cursor:pointer;box-shadow:2px 2px 0 var(--ink)}
.purr-chipbtn[aria-pressed="true"]{background:var(--lime)}

/* ---------- the shelf under the room: roster + SAY (a 1999 control bar) */
.purr-shelf{position:absolute;left:0;right:0;bottom:0;display:flex;align-items:center;gap:12px;height:66px;padding:0 10px;
  background:repeating-linear-gradient(90deg,#ffffff08 0 2px,transparent 2px 6px),linear-gradient(180deg,#5a1a8a,#2a0650 55%,#1b0733);
  border-top:3px solid #e4c8ff;box-shadow:inset 0 2px 0 #ffffff44,0 -3px 0 #11061e,0 -6px 18px #ff00bd44}
.purr-roster{display:flex;gap:8px;flex:1 1 auto;min-width:0;overflow-x:auto;padding:5px 6px 5px 2px;scrollbar-width:thin}
/* more cats scrolled out of sight: the strip's end fades out, like the favourites (hud.js toggles .has-more) */
.purr-roster.has-more{-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 30px),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 30px),transparent)}
/* step 6 last fixes: '+N ›' while cats are out of sight to the strip's right (hud.js rosterMore) */
.purr-roster-more{position:absolute;z-index:1;min-width:34px;height:34px;padding:0 7px;border:2px solid var(--ink);border-radius:17px;background:linear-gradient(180deg,#fff,#ffd1f0);color:var(--ink);
  font:900 13px/1 var(--heavy);box-shadow:2px 2px 0 var(--ink);cursor:pointer;pointer-events:auto}
.purr-roster-more[hidden]{display:none}
.purr-chip{display:grid;grid-template-columns:40px auto;grid-template-rows:auto auto;column-gap:7px;row-gap:2px;align-items:center;flex:none;padding:5px 10px 5px 5px;border:3px solid var(--ink);border-radius:28px;
  background:linear-gradient(180deg,#fff,#ffd1f0);box-shadow:inset -2px -3px 0 #0002,3px 3px 0 var(--ink);color:var(--ink);text-align:left;cursor:pointer}
.purr-chip.is-sel{background:linear-gradient(180deg,#f4ffd0,var(--lime));box-shadow:inset -2px -3px 0 #0002,0 0 0 3px #fff,3px 3px 0 3px var(--ink)}
.purr-chip-pic{grid-row:1/3;width:40px;height:40px;font-size:22px}
.purr-chip-name{font:900 15px/1 var(--heavy);letter-spacing:.4px;white-space:nowrap}
.purr-chip .purr-age{justify-self:start;font-size:9px;padding:1px 4px}
/* the face badge sits on the portrait's top right corner, clear of the name */
.purr-chip-face{position:absolute;margin:-30px 0 0 24px;font-size:16px;line-height:1}
.purr-chip{position:relative}
/* no cat yet: what to do while the eggs warm (it keeps the roster's place in the shelf) */
.purr-wait{flex:1 1 auto;min-width:0;margin:0;font:700 italic 15px/1.25 var(--comic);color:#f3e6ff;text-shadow:1px 1px 0 var(--ink)}

/* The shelf's sound-effects control; phones show it in their compact play HUD. */
.purr-mix{display:none}
.purr-mixbtn{flex:none;padding:8px 11px;border:3px solid var(--ink);border-radius:20px;background:radial-gradient(circle at 30% 25%,#fff 0 8%,var(--pink) 45%,#b0007f);
  color:#fff;font:900 14px/1 var(--heavy);letter-spacing:.5px;text-shadow:1px 1px 0 var(--ink);box-shadow:inset -2px -3px 0 #0003,3px 3px 0 var(--ink);cursor:pointer;white-space:nowrap}
.purr-mix-sfx{background:radial-gradient(circle at 30% 25%,#fff 0 8%,var(--cyan) 45%,#009c94);color:var(--ink);text-shadow:none}
.purr-mix-sfx[aria-pressed="false"]{background:#c9c2d6}
.purr-mixbtn:active{transform:translate(2px,2px);box-shadow:inset -2px -3px 0 #0003,1px 1px 0 var(--ink)}
@media (min-width:761px){.purr-mix{display:flex;align-items:center;gap:9px;flex:none}}

/* ---------- SAY */
.purr-saybtn{position:relative;flex:none;padding:9px 20px;border:3px solid var(--ink);border-radius:30px;transform:rotate(-2deg);
  background:radial-gradient(circle at 30% 25%,#fff 0 8%,var(--lime) 40%,#6fa000);box-shadow:inset -3px -4px 0 #0003,4px 4px 0 var(--pink),4px 4px 0 3px var(--ink);
  font:900 22px/1 var(--heavy);letter-spacing:1px;color:var(--ink);cursor:pointer}
.purr-saybtn:active{transform:translate(2px,2px) rotate(-2deg)}
.purr-sheet{position:absolute;left:50%;bottom:78px;z-index:3;width:min(580px,calc(100% - 16px));padding:10px;border-radius:8px;transform:translateX(-50%)}
.purr-sheet-row{display:grid;grid-template-columns:1fr auto auto;gap:8px;align-items:center}
.purr-sheet-in,.purr-link{min-width:0;width:100%;padding:9px 12px;border:3px solid var(--ink);border-radius:6px;background:#fff;color:var(--ink);font:700 17px/1.2 var(--comic);box-shadow:inset 2px 2px 0 #0003;user-select:text;-webkit-user-select:text}
.purr-words{display:flex;flex-wrap:wrap;gap:6px;margin-top:9px;max-height:112px;overflow:auto}
.purr-wchip{padding:6px 10px;border:2px solid var(--ink);border-radius:16px;background:#fff;color:var(--ink);font:700 14px/1 var(--comic);cursor:pointer;box-shadow:2px 2px 0 var(--ink)}
.purr-wchip.is-name{background:var(--yellow);font-weight:900}
.purr-wchip:active{transform:translate(1px,1px);box-shadow:1px 1px 0 var(--ink)}
.purr-sheet-tip{margin:8px 0 0;font:700 italic 12px/1.3 var(--comic);color:#f3e6ff}

/* ---------- learning machine panel (school room) */
.purr-school{position:absolute;right:10px;top:68px;width:236px;padding:9px;border-radius:8px;background:linear-gradient(180deg,#6f00f5,#3b0a5e)}
/* step 6 last fixes: the closed panel's way back, a chip over the machine on screen (hud.js placeStudyChip) */
.purr-studychip{position:absolute;left:0;top:0;z-index:3;pointer-events:auto;min-height:28px;padding:4px 10px;border:2px solid var(--ink);border-radius:14px;
  background:linear-gradient(180deg,#6f00f5,#3b0a5e);color:var(--yellow);font:900 12px/1 var(--heavy);letter-spacing:.5px;box-shadow:2px 2px 0 var(--ink);cursor:pointer;white-space:nowrap}
.purr-studychip:hover{filter:brightness(1.15)}
@media (pointer:coarse){.purr-studychip{min-height:34px;padding:6px 12px;font-size:13px}}
.purr-school-h{display:block;margin-bottom:6px;font:900 15px/1 var(--heavy);letter-spacing:1px;color:var(--yellow);text-shadow:2px 2px 0 var(--ink);text-align:center}
.purr-screen{display:grid;justify-items:center;gap:2px;padding:8px 6px;border:3px solid var(--ink);border-radius:5px;background:#120a1c;box-shadow:inset 3px 3px 0 #000a;font-family:var(--mono);color:#4a3a5a;min-height:96px;align-content:center}
.purr-screen.is-on{background:#041a0c;color:#39ff6a;text-shadow:0 0 8px #39ff6a99}
.purr-screen-g{font-size:28px;line-height:1;min-height:28px}
.purr-screen-w{font:900 26px/1 var(--mono);letter-spacing:1px}
.purr-screen-s{font:700 10px/1 var(--mono);opacity:.8}
.purr-school-btns{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:8px;justify-items:center}
.purr-sb{width:44px;height:44px;font-size:15px;--c:#c9a7ff;--d:#6f00f5}
.purr-sb-power{--c:#ff9fb0;--d:#c2183a}
.purr-sb-auto{font-size:11px;--c:#e6ffb0;--d:#6fa000}
.purr-sb.is-lit{--c:var(--lime);--d:#6fa000;box-shadow:inset -3px -4px 0 #0003,0 0 14px var(--lime),3px 3px 0 var(--ink)}
.purr-sb-power.is-lit{--c:#ff5f7a;--d:#c2183a;box-shadow:inset -3px -4px 0 #0003,0 0 14px #ff5f7a,3px 3px 0 var(--ink)}

/* ---------- the thought bubble at the paw (typing) */
.purr-think{position:absolute;z-index:4;padding:9px 16px 7px;border:3px solid var(--ink);border-radius:30px;background:#fff;box-shadow:4px 4px 0 var(--pink),4px 4px 0 3px var(--ink)}
.purr-think::before,.purr-think::after{content:"";position:absolute;border:3px solid var(--ink);border-radius:50%;background:#fff}
.purr-think::before{left:26px;bottom:-20px;width:18px;height:18px}
.purr-think::after{left:18px;bottom:-34px;width:10px;height:10px}
.purr-think-in{display:block;width:100%;padding:0;border:0;outline:none;background:transparent;font:700 21px/1.2 var(--comic);color:var(--ink);user-select:text;-webkit-user-select:text}
/* no site focus box inside the comic bubble (31.10. re-test: a magenta rectangle over the ENTER hint); the bubble
   itself shows the focus */
.purr-think-in:focus,.purr-think-in:focus-visible{outline:none;box-shadow:none}
.purr-think:focus-within{box-shadow:4px 4px 0 var(--pink),4px 4px 0 3px var(--ink),0 0 0 3px var(--cyan)}
.purr-think-tip{display:block;margin-top:3px;font:900 9px/1 var(--mono);letter-spacing:.5px;color:#7a3aa8}
body.motion-ok .purr-think{animation:purrPop .2s cubic-bezier(.3,1.6,.6,1)}

/* ---------- panels: intro, save link, album, help, confirm */
.purr-layer{position:absolute;inset:0;z-index:6;display:grid;place-items:center;padding:12px;background:#11061ecc;pointer-events:auto;overflow:auto}
/* Modal panels must lift their containing stage above the shell's lowered ad dock.
   The stage's paint containment otherwise traps even its topmost panel below that dock. */
.purr-stage.purr-modal:not(.is-fs):not(:fullscreen):has(.purr-panel[aria-modal="true"]){z-index:2}
.purr-panel{grid-area:1/1;position:relative;width:min(560px,100%);max-height:calc(100% - 4px);overflow:auto;padding:16px 18px 18px;border-radius:8px}
body.motion-ok .purr-panel{animation:purrPop .22s cubic-bezier(.3,1.5,.6,1)}
.purr-panel-h{margin:0 40px 10px 0;font:900 clamp(24px,4vw,34px)/1 var(--heavy);letter-spacing:.8px;color:var(--yellow);text-shadow:3px 3px 0 var(--pink)}
/* 07.11. fix round: the ✕ stays in view while a long panel scrolls (hud.js: a sticky strip of no height, first in the
   panel; the ✕ 12 px from the corner as before, 8 px once the panel scrolls) */
.purr-panel-xw{position:sticky;top:-4px;z-index:5;height:0;margin:0}
.purr-panel-x{position:absolute;right:-6px;top:-4px}
.purr-panel-text{margin:0 0 12px;font:700 16px/1.4 var(--comic);color:#fff}
.purr-row{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}
.purr-btn{padding:10px 16px;border:3px solid var(--ink);border-radius:8px;background:linear-gradient(180deg,#fff,#c9c2d6);box-shadow:inset -2px -3px 0 #0003,4px 4px 0 var(--ink);
  font:900 17px/1 var(--heavy);letter-spacing:.8px;color:var(--ink);cursor:pointer}
.purr-btn:active{transform:translate(2px,2px);box-shadow:inset -2px -2px 0 #0003,2px 2px 0 var(--ink)}
.purr-btn-lime{background:linear-gradient(180deg,#f4ffd0,var(--lime))}
.purr-btn-pink{background:linear-gradient(180deg,#ffd1f0,var(--pink));color:#fff;text-shadow:1px 1px 0 var(--ink)}
.purr-btn-big{display:block;width:100%;margin-top:14px;padding:14px;font-size:26px}
.purr-link{font:700 13px/1.3 var(--mono)}
/* 11.11.: the saved cats' other home, a wrapped line below COPY / NEW GAME. */
.purr-save-other{margin:18px 0 0;font-size:14px}
.purr-save-other a{color:var(--cyan);text-decoration:underline;text-underline-offset:3px}
.purr-save-other a:focus-visible{outline:3px solid var(--yellow);outline-offset:3px}
.purr-intro-lead{margin:0 0 12px;font:900 20px/1.2 var(--heavy);letter-spacing:.5px;color:var(--cyan)}
.purr-help{display:grid;gap:8px;margin:0 0 12px;padding:0;list-style:none}
.purr-help li{display:grid;grid-template-columns:34px 1fr;gap:8px;align-items:start;font:700 15px/1.35 var(--sans)}
.purr-help-i{font-size:24px;line-height:1}
.purr-panel-intro{border-color:#f4ffd0 #11061e #11061e #f4ffd0;background:linear-gradient(180deg,#6f00f5,#2a0650)}
.purr-panel-intro .purr-panel-h{font-size:clamp(36px,7vw,58px);color:var(--lime);transform:rotate(-2deg)}
/* 01.11. fix round (the start screen on laptops and small phones; game.js reveals the stage when it opens): the panel is
   never taller than the part of the stage on screen under the header (the stage keeps 420 px at least, on a phone held
   sideways more than the screen), and ▶ WARM THE EGGS with 'no tour' sit in a foot that stays in sight while the list
   scrolls under it (the foot has the panel's bottom colour; the panel's own bottom padding is the foot's) */
.purr-stage.purr-intro-open .purr-panel-intro{max-height:min(calc(100% - 4px),calc(100svh - var(--purr-head,98px) - var(--purr-dock,0px) - 28px))}
.purr-panel-intro{padding-bottom:0}
.purr-intro-go{position:sticky;bottom:0;z-index:1;margin:0 -18px;padding:0 18px 16px;background:linear-gradient(180deg,#2a065000,#2a0650 14px)}
/* a short screen held sideways: at the top of the stage and tighter (the phones' own block is below) */
@media (max-height:500px){
  .purr-stage.purr-intro-open .purr-layer{place-items:start center}
  .purr-panel-intro{padding:10px 14px 0}
  .purr-panel-intro .purr-panel-h{margin-bottom:2px;font-size:30px}
  .purr-panel-intro .purr-intro-lead{margin-bottom:6px;font-size:15px}
  .purr-panel-intro .purr-intro-list{gap:4px;margin-bottom:6px}
  .purr-panel-intro .purr-intro-list li{font-size:14px;line-height:1.25}
  .purr-panel-intro .purr-intro-go{margin:0 -14px;padding:0 14px 6px}
  .purr-intro-go .purr-btn-big{margin-top:8px;padding:9px 8px;font-size:20px}
  .purr-intro-go .purr-intro-notour{margin-top:0}
}
.purr-album{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:12px}
.purr-pc{position:relative;padding:12px 12px 14px;border:3px solid var(--ink);background:#fff8e6;color:var(--ink);box-shadow:4px 4px 0 var(--pink);transform:rotate(-1deg)}
.purr-pc:nth-child(2n){transform:rotate(1.2deg)}
.purr-pc-radio{background:#fff1c4;box-shadow:4px 4px 0 var(--yellow)}
.purr-pc-flyer{background:#e6fffb;box-shadow:4px 4px 0 var(--cyan)}
.purr-pc-ranger{background:#eef7dc;box-shadow:4px 4px 0 #2f9e44}
.purr-album-solved{grid-column:1/-1;margin:8px 0 0;font:900 15px/1 var(--heavy);letter-spacing:.6px;color:var(--lime)}   /* step 6 last fixes */
.purr-pc.is-solved{border-color:#2f7d32;box-shadow:4px 4px 0 #2f7d32}
.purr-pc.is-solved .purr-pc-tier{background:#2f7d32;color:#fff}
.purr-pc-tier{display:inline-block;margin-bottom:6px;padding:2px 6px;background:var(--ink);color:#fff8e6;font:900 10px/1 var(--mono)}
.purr-pc-text{margin:0;font:700 15px/1.35 var(--comic)}
.purr-pc-complete{display:inline-flex;align-items:center;justify-content:center;margin-top:8px;min-width:40px;min-height:30px;padding:3px 9px;border:2px solid #214a18;background:var(--lime);color:#13380a;font:900 24px/1 var(--sans)}

/* ---------- the SAY sheet on phones and on short screens held sideways (31.10. re-test: at 844 × 390 it covered the
   whole room): at the top of the room with one scrolling row of word chips, so the cats on the floor stay visible
   while you talk to them; the card and the learning machine panel step aside meanwhile */
@media (max-width:760px),(max-height:500px){
  .purr-sheet{top:56px;bottom:auto;padding:7px 8px}
  .purr-words{flex-wrap:nowrap;max-height:none;overflow-x:auto;overflow-y:hidden;margin-top:7px;padding-bottom:4px}
  .purr-wchip{flex:none}
  .purr-sheet-tip{display:none}
  .purr-sheet-open .purr-card,.purr-sheet-open .purr-school{display:none}
  .purr-sheet-open .purr-ticker{top:auto;bottom:74px}
}

/* ---------- phones */
@media (max-width:760px){
  .purr-round{width:40px;height:40px;font-size:17px}
  .purr-t-zoom{font-size:24px}
  .purr-wide{width:auto;padding:0 10px 0 8px}   /* 07.11. fix round: width auto (the phones' .purr-round width cut the 📌 chip, its count lay under 💾) */
  .purr-t-label{display:none}
  .purr-tools{gap:5px}
  .purr-favs{gap:5px}
  .purr-ticker{top:var(--purr-next-b,58px)}
  .purr-tick{font-size:13px;padding:5px 10px}
  .purr-card{top:var(--purr-next-b,58px);left:8px;right:8px;width:auto;max-height:max(120px,calc(100% - var(--purr-next-b,58px) - var(--purr-free-b,58px) - 8px));padding:8px 10px}
  .purr-card-head{grid-template-columns:44px 1fr auto;margin-bottom:6px}
  .purr-card-pic{width:44px;height:44px}
  .purr-bars{grid-template-columns:1fr 1fr;column-gap:10px}
  .purr-bar{grid-template-columns:78px 1fr;font-size:9px}
  .purr-shelf{height:58px;gap:8px;padding:0 8px}
  .purr-chip{grid-template-columns:34px auto;padding:3px 8px 3px 3px}
  .purr-chip-pic{width:34px;height:34px}
  .purr-chip-face{margin:-27px 0 0 18px;font-size:13px}   /* on the smaller portrait's corner (it covered the name's first letter) */
  .purr-chip-name{font-size:13px}
  .purr-wait{font-size:13px}
  /* 💬 SAY is a round 💬 here (aria-label as before): with SFX in the shelf two cat chips did not fit (31.10. re-test) */
  .purr-saybtn{display:grid;place-items:center;width:48px;height:48px;padding:0;border-radius:50%;font-size:24px;letter-spacing:0}
  .purr-say-l{display:none}
  .purr-sheet-open .purr-ticker{top:auto;bottom:66px}   /* the phones' shelf is lower (the sheet itself: see above) */
  .purr-school{top:auto;bottom:66px;right:8px;left:8px;width:auto;display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center;padding:7px}
  .purr-school-h{display:none}
  .purr-screen{min-height:70px}
  .purr-school-btns{grid-template-columns:repeat(3,40px);margin:0;gap:5px}
  .purr-sb{width:40px;height:40px}
  /* the machine's labels at their own sizes again (the 17 px of .purr-round above won over them: 'AUT', SET over both
     rims; 31.10. re-test); AUTO stays 11 px, the one label under 12 */
  .purr-round.purr-sb{font-size:15px}
  .purr-round.purr-sb-auto{font-size:11px;letter-spacing:-.4px}
  .purr-in-school .purr-card{max-height:calc(100% - 270px)}
  /* − / + below an open card (hud.js: --purr-card-b; 31.10. re-test: the − sat on the card's FOLLOWING row), and always
     above the cards over the room's bottom (--purr-free-b: the shelf and the covered band; 31.10. second fix round: in
     the school the coach card hid the +) */
  /* 02.11. step 3 fix round: the paw's tools 🪶 🔴 stand in this column too (hud.js placeTools): its half height comes
     from --purr-zoom-h (the column measured, hud.js tellSide; 88 px = − and + alone) */
  .purr-zoom{top:min(calc(50% - 29px),calc(100% - var(--purr-free-b,58px) - var(--purr-zoom-h,88px) / 2 - 8px))}
  .purr-card-open .purr-zoom{top:min(clamp(calc(50% - 29px),calc(var(--purr-card-b,0px) + var(--purr-zoom-h,88px) / 2 + 8px),calc(100% - var(--purr-zoom-h,88px) / 2 - 66px)),calc(100% - var(--purr-free-b,58px) - var(--purr-zoom-h,88px) / 2 - 8px))}
  /* 07.11. fix round: above the covered band (--purr-free-b: the shelf, the mission bar, the coach card; hud.js tellShelf),
     not behind the mission bar (z-index 4); without a band it is 66 px as before */
  .purr-card-open .purr-ticker{top:auto;bottom:calc(var(--purr-free-b,58px) + 8px)}
  /* 07.11. fix round: a mission's cats where the lines would cover their heads (hud.js updateTickPos): under the card, or
     (no card; second fix round) over the covered band */
  .purr-card-open.purr-tick-top .purr-ticker{top:calc(var(--purr-card-b,124px) + 6px);bottom:auto}
  .purr-stage:not(.purr-card-open):not(.purr-sheet-open).purr-tick-low .purr-ticker{top:auto;bottom:calc(var(--purr-free-b,58px) + 8px)}
  /* in the school the machine panel has that spot: the lines go under the card (hud.js: --purr-card-b) */
  .purr-in-school.purr-card-open:not(.purr-sheet-open) .purr-ticker{top:calc(var(--purr-card-b,124px) + 6px);bottom:auto}
  /* the first visit on a small phone: the intro starts at the top of the stage, its button stays in sight while the
     panel scrolls (01.11. fix round: the foot .purr-intro-go, every width, below), and the site's dock bar steps aside
     meanwhile (it covered the button; a tap there hit MORE CHAOS). 01.11. fix round: it steps aside with display: none,
     so the stage takes its place (vi4.js measures --purr-dock 0) as it does in focus mode right after the button; the
     start screen is tighter here (title, lines, a one-line button) so it fits a 360 × 640 phone whole */
  body:has(.purr-stage.purr-intro-open) .chaos-dock{display:none!important}
  .purr-stage.purr-intro-open .purr-layer{place-items:start center}
  .purr-panel-intro{padding:12px 14px 0}
  .purr-panel-intro .purr-panel-h{margin-bottom:7px;font-size:32px}
  .purr-panel-intro .purr-intro-lead{margin-bottom:8px;font-size:16px}
  .purr-intro-list{gap:6px;margin-bottom:8px}
  .purr-intro-list li{grid-template-columns:28px 1fr;gap:6px;font-size:14px;line-height:1.3}
  .purr-intro-list .purr-help-i{font-size:20px}
  .purr-panel-intro .purr-intro-cta{padding:7px 10px;font-size:16px}
  .purr-panel-intro .purr-intro-go{margin:0 -14px;padding:0 14px 10px}
  .purr-intro-go .purr-btn-big{margin-top:10px;padding:11px 8px;font-size:21px}
  .purr-intro-go .purr-intro-notour{margin-top:4px}
  /* focus mode: the dock bar steps aside (the room gets its height, and sideways it covered the + button); its SFX
     switch is in the shelf, a round icon (core writes its label: hidden, the icon follows aria-pressed); calm stays
     in the header */
  body.focus-mode .chaos-dock{display:none!important}
  body.focus-mode .purr-mix{display:flex;align-items:center;flex:none}
  body.focus-mode .purr-mix-sfx{display:grid;place-items:center;width:40px;height:40px;padding:0;border-radius:50%;font-size:0;line-height:0;overflow:hidden}
  body.focus-mode .purr-mix-sfx::before{content:"🔊";font-size:18px;line-height:1}
  body.focus-mode .purr-mix-sfx[aria-pressed="false"]::before{content:"🔇"}
}

/* ---------- touch screens (31.10. playtest): every control at least 40 px, no label under 12 px */
@media (pointer:coarse){
  .purr-more,.purr-x{width:40px;height:40px}
  .purr-chipbtn{padding:10px 12px;font-size:12px}
  .purr-wchip{min-height:40px;padding:0 12px}
  .purr-pc-complete{min-height:36px}
  .purr-mixbtn{min-height:40px}
  .purr-age,.purr-chip .purr-age,.purr-bar,.purr-screen-s,.purr-pc-tier,.purr-count,.purr-think-tip{font-size:12px}
}
@media (pointer:coarse) and (max-width:760px){.purr-bars{grid-template-columns:1fr}.purr-bar{grid-template-columns:110px 1fr}}

/* ---------- 31.10. foundation (the owner's first play: "everything must explain itself"; ux-spec-final D, E, F, G, J):
   the places bar with names and NEW, the coach card with the tour's paw, the "?" badge and its explanation card, the
   how-to card, the nudge above the shelf, the machine panel's words and BRING A KITTEN, need icons on the roster, the
   card in plain words. Everything stands still once it is there: a pop-in of at most 200 ms (only with motion-ok), the
   paw's gentle tap the one moving cue (the egg button stands still meanwhile). Touch: every control ≥ 40 px, no text
   under 12 px. */
/* the places: round icons, the place on screen a pill with its name; from 1100 px every place a pill */
.purr-fav-i{font:400 22px/1 sans-serif}
.purr-fav-new{position:absolute;top:-9px;right:-10px;padding:1px 4px;border:2px solid var(--ink);background:var(--yellow);color:var(--ink);font:900 10px/1.1 var(--mono);font-style:normal;transform:rotate(6deg);pointer-events:none}
.purr-fav.is-here{width:auto;padding:0 14px 0 9px;border-radius:24px;grid-auto-flow:column;gap:6px}
.purr-fav.is-here .purr-fav-name{position:static;transform:none;opacity:1;padding:0;background:none;color:var(--ink);font:900 15px/1 var(--heavy);letter-spacing:.5px}
.purr-fav.is-here .purr-fav-i{font-size:19px}
@media (min-width:1100px){
  .purr-fav{width:auto;padding:0 14px 0 9px;border-radius:24px;grid-auto-flow:column;gap:6px}
  .purr-fav .purr-fav-name{position:static;transform:none;opacity:1;padding:0;background:none;color:var(--ink);font:900 15px/1 var(--heavy);letter-spacing:.5px}
  .purr-fav .purr-fav-i{font-size:19px}
  /* 🥚 EGGS 2 and 📮 POSTCARDS (J7; narrower: icons with their tooltips) */
  .purr-eggbtn,.purr-t-album{width:auto;padding:0 14px 0 10px;border-radius:24px;grid-auto-flow:column;gap:6px}
  .purr-eggbtn .purr-count{position:static;min-width:22px;height:22px}
}
.purr-favs{padding-top:9px;margin-top:-9px}   /* room for the NEW tags */
/* 31.10. level fix round (a playtest of the new levels): 🏠 HOME stays pinned at the bar's start and a fade after it
   shows places scrolled out to the left (.has-less; on a phone in the Backwoods HOME was scrolled out with no sign);
   from 1100 px a bar too narrow for every pill (07.11.: the music sticker no longer takes 350 px of it) shows the
   places but the one on screen as icons (.purr-favs.is-tight, hud.js; the newest level's pill was cut under SAVE LINK),
   still too narrow: 💾 📮 🥚 without their words too (.purr-top.is-tight) */
.purr-favs>.purr-fav[data-room="home"]{position:sticky;left:0;z-index:1}
.purr-favs.has-less{-webkit-mask-image:linear-gradient(90deg,#000 0 var(--purr-home-w,46px),transparent calc(var(--purr-home-w,46px) + 2px),#000 calc(var(--purr-home-w,46px) + 32px));mask-image:linear-gradient(90deg,#000 0 var(--purr-home-w,46px),transparent calc(var(--purr-home-w,46px) + 2px),#000 calc(var(--purr-home-w,46px) + 32px))}
.purr-favs.has-less.has-more{-webkit-mask-image:linear-gradient(90deg,#000 0 var(--purr-home-w,46px),transparent calc(var(--purr-home-w,46px) + 2px),#000 calc(var(--purr-home-w,46px) + 32px),#000 calc(100% - 30px),transparent);mask-image:linear-gradient(90deg,#000 0 var(--purr-home-w,46px),transparent calc(var(--purr-home-w,46px) + 2px),#000 calc(var(--purr-home-w,46px) + 32px),#000 calc(100% - 30px),transparent)}
@media (min-width:1100px){
  .purr-favs.is-tight .purr-fav:not(.is-here){width:46px;padding:0;border-radius:50%}
  .purr-favs.is-tight .purr-fav:not(.is-here) .purr-fav-i{font-size:22px}
  .purr-favs.is-tight .purr-fav:not(.is-here) .purr-fav-name{position:absolute;left:50%;top:calc(100% + 6px);transform:translateX(-50%);padding:2px 6px;background:var(--ink);color:#fff;font:900 10px/1.2 var(--mono);letter-spacing:0;opacity:0}
  .purr-favs.is-tight .purr-fav:not(.is-here):is(:hover,:focus-visible) .purr-fav-name{opacity:1}
  .purr-top.is-tight :is(.purr-t-save,.purr-t-album,.purr-eggbtn){width:46px;min-width:46px;padding:0;border-radius:50%}
  .purr-top.is-tight :is(.purr-t-save,.purr-t-album,.purr-eggbtn) .purr-t-label{display:none}
  .purr-top.is-tight .purr-eggbtn .purr-count{position:absolute;min-width:20px;height:20px}
}
.purr-panel:focus:not(:focus-visible){outline:none}   /* tabindex −1 (a click on its text keeps the focus in it) */
@media (max-width:1099px){.purr-eggbtn .purr-t-label,.purr-t-album .purr-t-label{display:none}}
/* 31.10. foundation (integration): phones up to 420 px wide get the place on screen's pill and the gaps a little
   tighter, so 🏠 HOME and 🎓 SCHOOL both fit whole beside the tools (on a 390 px phone the school button sat half under
   the bar's fade) */
@media (max-width:420px){
  .purr-top{gap:5px}
  .purr-tools,.purr-favs{gap:4px}
  .purr-fav.is-here{padding:0 9px 0 6px;gap:4px}
  .purr-fav.is-here .purr-fav-name{font-size:13px;letter-spacing:0}
  .purr-fav.is-here .purr-fav-i{font-size:17px}
}
/* 07.11. fix round (a review: on a 360 px phone the places shrank to 28–54 px, HOME a faded sliver, the levels under it
   and out of reach): up to 430 px the places keep HOME and one more (min-width), ⛶ and 💾 SAVE LINK leave the top row for
   the "?" card (hud.js: its own two buttons, shown only here), and a swipe stops with a place right after the pinned HOME
   (scroll snapping; hud.js scrolls the place on screen there too) */
@media (max-width:430px){
  .purr-favs{min-width:88px;scroll-snap-type:x proximity;scroll-padding-left:calc(var(--purr-home-w,40px) + 4px)}
  .purr-favs>.purr-fav:not([data-room="home"]){scroll-snap-align:start}
  .purr-tools>.purr-t-save,.purr-tools>.purr-t-fs{display:none}
}
.purr-howto-narrow{display:none}
@media (max-width:430px){.purr-howto-narrow{display:inline-block}}
@media (max-width:380px){
  .purr-top{left:6px;right:6px;gap:4px}
  .purr-tools{gap:3px}
  .purr-fav.is-here .purr-fav-name{font-size:12px}
}
/* without a hover the round icons' hidden names only widened the bar (it faded its last place, the SCHOOL) */
@media (max-width:760px),(max-width:1099px) and (hover:none){.purr-fav:not(.is-here) .purr-fav-name{display:none}}

/* the coach card: the tour, one-time tips, the returning player's offer (guide.js); bottom-left above the shelf */
.purr-coach{position:absolute;left:10px;bottom:var(--purr-coach-b,76px);z-index:4;display:grid;grid-template-columns:44px 1fr;gap:10px;align-items:start;width:min(360px,calc(100% - 20px));
  padding:10px 12px 10px 10px;border:3px solid var(--ink);border-radius:8px;background:linear-gradient(180deg,#fff4e0,#ffe2f1);color:var(--ink);box-shadow:inset -2px -3px 0 #0002,3px 3px 0 var(--pink),3px 3px 0 3px var(--ink)}
.purr-coach.is-done{background:linear-gradient(180deg,#f4ffd0,var(--lime))}
.purr-coach.is-tip{background:linear-gradient(180deg,#fff,#fff4c4)}
/* 07.11. the goal note (guide.js, once): a quiet note in the coach card's place, no paw and no button, smaller; it fades
   by itself (is-fading, 0.6 s) and never clamps its two sentences (the phones' and short screens' three-line clamp) */
.purr-coach.is-note{grid-template-columns:1fr;width:min(330px,calc(100% - 20px));padding:8px 11px;transition:opacity .6s ease-out}
.purr-coach.is-note .purr-coach-paw{display:none}
.purr-coach.is-note .purr-coach-t{display:block;overflow:visible;font-size:14px;-webkit-line-clamp:none}
.purr-coach.is-note.is-fading{opacity:0}
@media (max-width:760px){.purr-coach.is-note{width:auto}}
.purr-coach-paw svg,.purr-paw svg{display:block;width:100%;height:100%}
.purr-coach-paw{width:44px;height:44px}
.purr-coach-t{margin:0;font:700 15px/1.3 var(--comic);overflow-wrap:anywhere}
.purr-coach-hint{margin:6px 0 0;font:700 italic 13px/1.3 var(--comic);color:#6a2a8a}
/* 07.11. fix round: the step's text is never cut while its hint shows (phones and short screens clamp it to 3 lines) */
.purr-coach:has(.purr-coach-hint:not([hidden])) .purr-coach-t{display:block;-webkit-line-clamp:none;line-clamp:none;overflow:visible}
/* 07.11. fix round: the tour's machine step on a phone: its line at the top of the machine panel (hud.js schoolLine) */
.purr-school-tour{grid-column:1/-1;margin:0 0 6px;padding:6px 9px;border:2px solid var(--ink);border-radius:7px;background:linear-gradient(180deg,#fff4e0,#ffe2f1);color:var(--ink);font:700 14px/1.3 var(--comic)}
.purr-school.has-paw .purr-school-tour{padding-right:60px}   /* step 6 last fixes: room for the tour's paw at the line's end (guide.js placePaw) */
.purr-coach-link,.purr-linkbtn{padding:0;border:0;background:none;color:#6f00f5;font:900 13px/1.2 var(--comic);text-decoration:underline;cursor:pointer}
.purr-coach-row{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin-top:8px}
.purr-coach-row:not(:has(>:not([hidden]))){display:none}
.purr-coach-dots{font:900 13px/1 var(--mono);letter-spacing:2px;color:#c2187a}
.purr-coach-x{margin-left:auto;padding:4px 8px;border:2px solid var(--ink);border-radius:14px;background:#fff;color:var(--ink);font:900 12px/1 var(--mono);cursor:pointer;box-shadow:2px 2px 0 var(--ink)}
.purr-coach .purr-btn{padding:7px 12px;font-size:15px;box-shadow:inset -2px -3px 0 #0003,3px 3px 0 var(--ink)}
/* the paw points at a button right under ✕ SKIP TOUR (a phone's 💬): the row turns round, ✕ at its left (guide.js) */
.purr-coach.is-flip .purr-coach-row{flex-direction:row-reverse}
.purr-coach.is-flip .purr-coach-x{margin-left:0;margin-right:auto}
/* while a panel or the how-to card is open the coach waits; the eggs' own line steps aside while it shows */
.purr-modal .purr-coach,.purr-howto-open .purr-coach{display:none}
.purr-modal .purr-paw,.purr-howto-open .purr-paw{display:none}   /* its paw goes with it (integration: it lay over the how-to card) */
.purr-coach-on .purr-wait{visibility:hidden}
/* a button's glyph in a text (guide.js, hud.js rich(); 31.10. second fix round: the pale 💬 on the cream cards could not
   be seen): a small ringed bubble in the colour of its button; the how-to tiles' TALK and NEEDS pictures the same, big */
.purr-ico{display:inline-grid;place-items:center;width:1.6em;height:1.6em;margin:0 .12em;border:2px solid var(--ink);border-radius:50%;vertical-align:-.45em;font-size:.9em;line-height:1;font-style:normal;box-shadow:1px 1px 0 var(--ink)}
.purr-ico-say{background:radial-gradient(circle at 50% 45%,#7fb800 0 38%,var(--lime) 60%,#6fa000)}
.purr-ico-again{background:radial-gradient(circle at 50% 45%,#5a1fb8 0 38%,#9b6bff 60%,#6f00f5)}
.purr-ico-need{background:#fff}
.purr-tile-pic .purr-ico-big{width:46px;height:46px;margin:0;border-width:3px;font-size:24px;vertical-align:0;box-shadow:2px 2px 0 var(--ink);letter-spacing:0}
/* the paw beside a HUD button (the tour's target in the HUD); it taps gently towards the button */
.purr-paw{position:absolute;left:0;top:0;z-index:5;width:44px;height:44px;pointer-events:none;filter:drop-shadow(3px 3px 0 #2a0f3a66)}
.purr-paw.is-above svg{rotate:180deg}
body.motion-ok .purr-paw svg{animation:purrTap 1.6s ease-in-out infinite}
body.motion-ok .purr-paw.is-above svg{animation-name:purrTapDown}
/* the tour's paw is the one moving cue: the egg button stands still meanwhile */
.purr-paw-on .purr-eggbtn,body.focus-mode.motion-ok .purr-paw-on .purr-eggbtn.is-waiting{animation:none}

/* the "?" badge: a real button by the thing, placed every frame (guide.js) */
.purr-qbadge{position:absolute;z-index:5;display:grid;place-items:center;width:30px;height:30px;padding:0;border:3px solid var(--ink);border-radius:50%;
  background:var(--yellow);color:var(--ink);font:900 20px/1 var(--heavy);box-shadow:3px 3px 0 var(--pink);cursor:pointer}
.purr-qbadge:hover{filter:brightness(1.08)}
body.motion-ok .purr-qbadge{animation:purrPop .2s cubic-bezier(.3,1.6,.6,1)}
/* the explanation card: a popover beside the thing (desktop), docked above the shelf (phones) */
.purr-explain{position:absolute;left:0;top:0;z-index:6;width:300px;max-width:calc(100% - 16px);padding:12px 14px 14px;border-radius:8px;background:linear-gradient(180deg,#3b0a5e,#22063a);color:#fff;
  border:3px solid;border-color:#e4c8ff #11061e #11061e #e4c8ff;box-shadow:inset 2px 2px 0 #ffffff33,inset -2px -2px 0 #00000055,4px 4px 0 var(--ink),0 0 24px #ff00bd44}
body.motion-ok .purr-explain{animation:purrFade .2s ease-out}
.purr-explain-h{display:flex;align-items:center;min-height:30px;margin:0 40px 6px 0;font:900 18px/1.1 var(--heavy);letter-spacing:.5px;color:var(--yellow);text-shadow:2px 2px 0 var(--pink)}
.purr-explain-t{margin:0 0 10px;font:700 15px/1.35 var(--comic)}
.purr-explain-x{position:absolute;right:8px;top:8px}
.purr-explain .purr-btn{padding:8px 14px;font-size:16px}
.purr-explain-ptr{position:absolute;top:30px;width:0;height:0;margin-top:-10px;border:10px solid transparent;pointer-events:none}
.purr-explain.is-right .purr-explain-ptr{left:-23px;border-right-color:#e4c8ff}
.purr-explain.is-left .purr-explain-ptr{right:-23px;border-left-color:#11061e}
.purr-explain.is-docked{left:8px;right:8px;top:auto;bottom:var(--purr-coach-b,74px);width:auto;transform:none!important}
.purr-explain.is-docked .purr-explain-ptr{display:none}

/* the how-to card (the ? button): docked bottom-left above the shelf, six picture tiles */
.purr-howto{position:absolute;left:10px;bottom:var(--purr-coach-b,76px);z-index:5;width:min(380px,calc(100% - 20px));max-height:calc(100% - var(--purr-coach-b,76px) - 66px);overflow:auto;padding:12px;border-radius:8px;
  background:linear-gradient(180deg,#3b0a5e,#22063a);color:#fff;border:3px solid;border-color:#e4c8ff #11061e #11061e #e4c8ff;box-shadow:inset 2px 2px 0 #ffffff33,inset -2px -2px 0 #00000055,5px 5px 0 var(--ink),0 0 24px #ff00bd44;overscroll-behavior:contain}
body.motion-ok .purr-howto{animation:purrFade .2s ease-out}
.purr-howto-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:9px}
.purr-howto-h{margin:0;font:900 26px/1 var(--heavy);letter-spacing:.8px;color:var(--yellow);text-shadow:2px 2px 0 var(--pink)}
.purr-tiles{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:0;padding:0;list-style:none}
.purr-tile{display:grid;grid-template-columns:56px 1fr;grid-template-rows:auto 1fr;column-gap:7px;row-gap:2px;align-items:start;padding:5px 6px 6px 4px;border:2px solid var(--ink);border-radius:6px;background:#fff4e0;color:var(--ink);box-shadow:2px 2px 0 var(--pink)}
.purr-tile-pic{grid-row:1/3;display:grid;place-items:center;width:56px;height:56px;font-size:26px;line-height:1;letter-spacing:-4px}
.purr-tile-pic canvas{display:block;width:56px;height:56px}
.purr-tile-w{align-self:end;font:900 16px/1 var(--heavy);letter-spacing:.6px}
.purr-tile-l{font:700 12px/1.25 var(--comic)}
.purr-howto-foot{margin:9px 0 0;font:700 italic 13px/1.3 var(--comic);color:var(--lime)}
.purr-howto-goal{margin:0 0 10px;font:700 15px/1.32 var(--comic);color:#fff}   /* 07.11. the goal, first */
.purr-howto-row{margin-top:10px;gap:8px}
.purr-howto-row .purr-btn{padding:8px 11px;font-size:15px}

/* the nudge above the shelf (a cat went somewhere, a cat trots to a door) */
.purr-nudge{position:absolute;left:10px;bottom:var(--purr-nudge-b,84px);z-index:4;display:flex;flex-wrap:wrap;align-items:center;gap:8px;max-width:min(470px,calc(100% - 20px));padding:8px 10px;border:3px solid var(--ink);border-radius:8px;
  background:linear-gradient(180deg,#fff,#d8fff7);color:var(--ink);box-shadow:3px 3px 0 var(--cyan),3px 3px 0 3px var(--ink)}
body.motion-ok .purr-nudge{animation:purrFade .2s ease-out}
.purr-nudge-t{flex:1 1 200px;margin:0;font:700 15px/1.3 var(--comic)}
.purr-nudge .purr-btn{padding:7px 12px;font-size:15px}
.purr-nudge-x{width:28px;height:28px;font-size:13px}
.purr-modal .purr-nudge{display:none}

/* the learning machine: a word under each symbol, 👂 while the kittens answer, the empty study's line (01.11. world
   step 2: no BRING A KITTEN, the school went; ✕ closes the panel until the machine leaves the view) */
.purr-sbc{display:grid;justify-items:center;gap:3px}
.purr-sb-w{font:900 12px/1 var(--mono);letter-spacing:.2px;color:#f3e6ff;white-space:nowrap}
.purr-sb.is-ear{--c:#fff4c4;--d:#c9a400}
.purr-school-empty{display:grid;gap:7px;margin-top:9px;text-align:center}
.purr-school-none{margin:0;font:700 italic 14px/1.25 var(--comic);color:var(--yellow)}
.purr-school-x{position:absolute;top:-12px;right:-12px;z-index:1;width:30px;height:30px;font-size:14px}
/* 01.11. world step 2: CAN DO on the cat card, her stations with their dots (all dots: she does it by herself) */
.purr-habits{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;margin:0 0 8px}
.purr-habits-h{font:900 12px/1 var(--mono);letter-spacing:.4px;color:#ffe28a}
.purr-hab{display:inline-flex;align-items:center;gap:3px;padding:2px 6px;border:2px solid var(--ink);border-radius:9px;background:#2a0f3a;font:900 12px/1.1 var(--mono);color:var(--lime);white-space:nowrap}
.purr-hab-i{font-size:14px;line-height:1}
.purr-hab.is-done{background:var(--lime);color:var(--ink)}
.purr-card.is-min .purr-habits{display:none}

/* the roster: her need as the face (a sticker), the room she is in at the corner while it is not the one on screen */
.purr-chip-face.is-need{padding:1px;border:2px solid var(--ink);border-radius:50%;background:#fff;font-size:13px}
.purr-chip-room{position:absolute;right:-7px;top:-9px;font-size:15px;line-height:1;opacity:.75;pointer-events:none}
/* the card in plain words: the mood line says what she needs, a caption over the bars, what she is learning */
.purr-card-head .purr-card-mood{grid-column:1/-1;font-size:14px;line-height:1.25;font-weight:700;color:#fff}
.purr-needs-cap{margin:0 0 4px;font:700 12px/1.2 var(--comic);color:#e4c8ff}
.purr-learning{margin:0 0 8px;font:900 12px/1.3 var(--mono);color:#ffe28a;letter-spacing:.2px}
.purr-card.is-min .purr-needs-cap,.purr-card.is-min .purr-learning{display:none}
/* the intro's small 'no tour' under WARM THE EGGS */
.purr-intro-notour{display:block;margin:12px auto 0;color:#f3e6ff;font-size:14px}

@media (max-width:760px){
  .purr-coach{left:8px;right:8px;width:auto;grid-template-columns:36px 1fr;gap:8px;padding:8px 10px 8px 8px}
  .purr-coach-paw{width:36px;height:36px}
  .purr-coach-t{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
  /* 07.11. fix round (a review: the once tips for a squabble, the first mouse and the tour's boop step were cut at their
     third line on a 360–390 px phone; each comes once): a tip and a tour step say all of it (at most six lines) */
  .purr-coach.is-tip .purr-coach-t,.purr-coach:not(.is-note) .purr-coach-t{-webkit-line-clamp:6;line-clamp:6}
  .purr-nudge{left:8px;right:8px;max-width:none}
  .purr-howto{left:0;right:0;bottom:0;width:auto;max-height:82%;border-radius:12px 12px 0 0;padding:10px 10px 12px}
  .purr-tile{grid-template-columns:48px 1fr;padding:4px}
  .purr-tile-pic,.purr-tile-pic canvas{width:48px;height:48px}
  .purr-explain-t{max-height:7em;overflow:auto}
  /* the machine panel: the words under the buttons need a little more room */
  .purr-school-btns{grid-template-columns:repeat(3,46px)}
  .purr-school-empty{grid-column:1/-1;margin-top:2px}
  .purr-school.is-empty{grid-template-columns:1fr auto}
  .purr-school-x{top:-14px;right:-6px}
  /* MORE HELP: GOT IT stays in sight at the panel's bottom (J4) */
  .purr-panel-help .purr-help-ok{position:sticky;bottom:0;z-index:1}
}
@media (pointer:coarse){
  .purr-qbadge{width:34px;height:34px}
  .purr-qbadge::after{content:"";position:absolute;inset:-8px}   /* a 44 px hit area */
  .purr-explain-h{min-height:38px;margin-right:46px}   /* the text starts under the 40 px ✕ */
  .purr-paw{width:52px;height:52px}
  .purr-coach-x,.purr-coach-link,.purr-linkbtn,.purr-coach .purr-btn,.purr-nudge .purr-btn,.purr-explain .purr-btn,.purr-howto .purr-btn{min-height:40px}
  .purr-nudge-x{width:40px;height:40px}
  .purr-fav-new,.purr-fav-name,.purr-coach-dots{font-size:12px}
}
/* 31.10. fix round (the reviews):
   - the coach card goes to the bottom-right corner while what it is about would be under it (guide.js is-right: the
     small school, a phone held sideways), and is a little narrower on short screens held sideways;
   - the paw beside a button of the machine panel (guide.js is-left / is-right: it points sideways at it, toes first);
   - short screens held sideways: the machine panel lies across the bottom above the shelf (its six buttons in one
     row, the screen a line beside them) and counts as shelf (hud.js; its bottom row ran under the shelf);
   - a 360 px phone with three places or more: the place on screen is a round icon too, so every place fits */
.purr-coach.is-right{left:auto;right:10px}
.purr-paw.is-left svg{rotate:90deg}
.purr-paw.is-right svg{rotate:-90deg}
body.motion-ok .purr-paw.is-left svg{animation-name:purrTapRight}
body.motion-ok .purr-paw.is-right svg{animation-name:purrTapLeft}
@media (max-height:500px) and (min-width:761px){
  .purr-coach{width:min(330px,calc(50% - 20px));padding:7px 10px 7px 8px;grid-template-columns:34px 1fr;gap:8px}
  .purr-coach-paw{width:34px;height:34px}
  .purr-coach-t{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
  .purr-school{top:auto!important;bottom:74px;left:8px;right:8px;width:auto;display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center;padding:6px}
  .purr-school-h{display:none}
  .purr-screen{grid-auto-flow:column;justify-content:center;align-items:center;gap:10px;min-height:46px;padding:4px 8px}
  .purr-school-btns{grid-template-columns:repeat(6,42px);margin:0;gap:5px}
  .purr-sb{width:40px;height:40px}
  .purr-school-empty{grid-column:1/-1;grid-template-columns:1fr auto;align-items:center;margin-top:2px;text-align:left}
}
@media (max-width:420px){
  .purr-favs:has(>.purr-fav:nth-child(3)) .purr-fav.is-here{width:40px;padding:0;border-radius:50%}
  .purr-favs:has(>.purr-fav:nth-child(3)) .purr-fav.is-here .purr-fav-name{display:none}
}

/* ---------- 01.11. world step 0 (the owner's decisions)
   The start screen: ONE short screen, the basics as a list (♥ PET and ★ BOOP in their colours), the missions call as a
   sticker, the tour an option (the small link). The unlock postcard: the /vi/ postcard picture big in its panel, a
   hearts burst over it (motion-ok: once, 1.4 s; calm mode: a few hearts stand still around it), ♥ YAY!. The album's
   UNLOCKED row: small postcards that open the big card again. The link test panel (?links, local hosts only): a small
   list at the top right of the stage, above the panels (the intro of a sandbox game must not hide it). */
.purr-intro-list li{align-items:center}
.purr-intro-pet .purr-help-i{color:#ff5fc8;text-shadow:0 0 8px #ff00bd}
.purr-intro-boop .purr-help-i{color:var(--yellow);text-shadow:0 0 8px #ffed00aa}
.purr-intro-cta{margin:4px 0 2px;padding:9px 12px;border:3px solid var(--ink);background:var(--yellow);color:var(--ink);box-shadow:4px 4px 0 var(--pink);
  font:900 clamp(17px,2.6vw,21px)/1.15 var(--heavy);letter-spacing:.4px;transform:rotate(-1.2deg)}
.purr-panel-postcard{display:flex;flex-direction:column;overflow:hidden;width:min(720px,100%);border-color:#fff4b0 #11061e #11061e #fff4b0;background:linear-gradient(180deg,#ff3fae,#6f00f5 55%,#2a0650)}
.purr-panel-postcard .purr-panel-h{flex-shrink:0;color:#fff;text-shadow:3px 3px 0 var(--ink),0 0 18px #ff00bd;font-size:clamp(22px,4.2vw,38px)}
.purr-panel-postcard .purr-panel-body{display:flex;flex-direction:column;min-height:0}
.purr-pc-scroll{min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;margin:0 -6px;padding:6px 6px 8px}
.purr-pc-big{position:relative;margin:0 0 12px;padding:10px 10px 12px;background:#fff8ee;border:3px solid var(--ink);box-shadow:6px 6px 0 var(--cyan);transform:rotate(-1deg)}
.purr-pc-img{display:block;width:100%;height:auto;aspect-ratio:1672/941;object-fit:cover;background:#2a0650}
.purr-pc-none{display:grid;place-items:center;aspect-ratio:16/9;font-size:64px;background:#2a0650}
.purr-pc-sub{text-align:center}
.purr-pc-ok{flex-shrink:0;margin-top:4px}
.purr-pc-friends{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:flex-start;gap:8px;margin:9px 2px 0;isolation:isolate}
.purr-pc-friend{display:grid;justify-items:center;gap:3px;width:104px;max-width:calc(50% - 4px);padding:5px 4px 4px;border:1px solid #5b2a7a;background:#fffef5;color:var(--ink);box-shadow:2px 2px 0 #a77bba;transform:rotate(3deg)}
.purr-pc-friend:nth-child(2n){transform:rotate(-3deg)}
.purr-pc-friend-face{position:relative;display:block;width:62px;height:62px;overflow:hidden;background:linear-gradient(145deg,#cffcf4,#f1d5ff);border:1px solid #a77bba}
.purr-pc-friend-img{position:absolute;display:block;max-width:none;max-height:none;object-fit:fill}
.purr-pc-friend-wait{display:grid;place-items:center;width:100%;height:100%;font:28px/1 var(--sans)}
.purr-pc-friend-face.is-loaded .purr-pc-friend-wait{visibility:hidden}
.purr-pc-friend-name{max-width:100%;font:900 12px/1.1 var(--comic);text-align:center;overflow-wrap:anywhere}
.purr-pc-friends.is-compact{justify-content:center;gap:5px;margin:2px 0 3px}
.purr-pc-friends.is-compact .purr-pc-friend{width:auto;padding:3px;max-width:none}
.purr-pc-friends.is-compact .purr-pc-friend-face{width:36px;height:36px}
.purr-pc-friends.is-compact .purr-pc-friend-wait{font-size:20px}
.purr-hearts{position:absolute;left:50%;top:50%;width:0;height:0;pointer-events:none}
.purr-hearts i{position:absolute;left:0;top:0;font:900 28px/1 var(--sans);font-style:normal;color:#ff2fa8;text-shadow:2px 2px 0 #fff;translate:-50% -50%;
  transform:rotate(var(--a)) translateY(calc(var(--d) * -190px)) rotate(calc(var(--a) * -1));opacity:.95}
.purr-hearts i:nth-child(n+7){display:none}   /* calm / no motion: six hearts stand around the picture */
body.motion-ok .purr-hearts i{display:block;opacity:0;animation:purrHeartOut 1.4s cubic-bezier(.2,.8,.3,1) var(--t) both}
.purr-unlocked{margin:0 0 14px}
.purr-unlocked-h{margin:0 0 4px;font:900 22px/1 var(--heavy);letter-spacing:.6px;color:var(--lime);text-shadow:2px 2px 0 var(--pink)}
.purr-unlocked-row{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px}
.purr-pc-mini{display:grid;gap:4px;padding:6px 6px 8px;border:3px solid var(--ink);background:#fff8ee;color:var(--ink);box-shadow:4px 4px 0 var(--cyan);cursor:pointer;transform:rotate(-1deg);text-align:center}
.purr-pc-mini:nth-child(2n){transform:rotate(1.2deg)}
.purr-pc-mini:hover,.purr-pc-mini:focus-visible{box-shadow:4px 4px 0 var(--pink);outline:none}
.purr-pc-thumb{display:block;width:100%;height:auto;aspect-ratio:1672/941;object-fit:cover}
.purr-pc-mini .purr-pc-none{font-size:34px}
.purr-pc-mini-n{font:900 14px/1.1 var(--heavy);letter-spacing:.3px}
.purr-links{position:absolute;right:8px;top:62px;z-index:7;width:min(330px,calc(100% - 16px));max-height:calc(100% - 140px);overflow:auto;padding:8px 10px 10px;
  border:3px solid var(--ink);border-radius:8px;background:#fffbe6;color:var(--ink);box-shadow:4px 4px 0 var(--cyan);font:700 13px/1.25 var(--sans);pointer-events:auto}
.purr-links-head{display:flex;align-items:center;gap:8px;margin-bottom:6px}
.purr-links-fold{display:flex;flex:1;align-items:center;gap:8px;min-width:0;padding:0;border:0;background:none;color:inherit;text-align:left;cursor:pointer}
.purr-links-fold::after{content:"▴";font:900 14px/1 var(--sans)}
.purr-links.is-folded .purr-links-fold::after{content:"▾"}
.purr-links.is-folded :is(.purr-links-list,.purr-links-foot){display:none}
.purr-links.is-folded .purr-links-head{margin:0}
.purr-links-head b{font:900 16px/1 var(--heavy);letter-spacing:.5px;white-space:nowrap}
.purr-links-head span{flex:1;font:700 11px/1.2 var(--mono)}
.purr-links-x{width:28px;height:28px;padding:0;border:2px solid var(--ink);border-radius:50%;background:#fff;color:var(--ink);font:900 14px/1 var(--sans);cursor:pointer}
.purr-links-list{display:grid;gap:4px;margin:0;padding:0;list-style:none}
.purr-links-list li{display:grid;grid-template-columns:1fr auto auto;gap:6px;align-items:center;padding:3px 0;border-top:1px dashed #11061e44}
.purr-links-name small{display:block;font:700 10px/1.2 var(--mono);color:#5b2a7a}
.purr-links-go{padding:5px 7px;border:2px solid var(--ink);background:var(--lime);color:var(--ink);font:900 11px/1 var(--mono);text-decoration:none;white-space:nowrap}
.purr-links-go.is-mine{background:var(--yellow)}
.purr-links-go:hover,.purr-links-go:focus-visible{background:var(--pink);color:#fff}
.purr-links-foot{margin:6px 0 0;font:700 11px/1.3 var(--mono);color:#5b2a7a}
@media (max-width:760px){
  .purr-links{top:var(--purr-next-b,56px);max-height:calc(100% - 150px);width:min(300px,calc(100% - 16px))}
  .purr-links.is-folded{width:auto;padding:6px 8px}
  .purr-links.is-folded .purr-links-fold span{display:none}   /* folded on a phone: just 🔗 LINK TEST ▾ ✕ at the top right */
  .purr-hearts i{font-size:22px;transform:rotate(var(--a)) translateY(calc(var(--d) * -120px)) rotate(calc(var(--a) * -1))}
  .purr-unlocked-row{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* ---------- 01.11. world step 1: hearts ♥ and the PURR CATALOGUE (hud.js) */
/* 07.11. world step 7 (SPEC-love 5.1): the first two tools: ♥ the love (a pink heart pill: every cat's hearts for you; a
   click: the love panel) and 🐭 the mice (a pale mouse-grey pill: the money; a click: the catalogue). A payout bumps the
   🐭 pill, a ♥ won bumps the ♥ pill, a ♥ lost dips it (a nod, never red; motion only) */
.purr-t-love{--c:#ffe3f3;--d:#ff8fcb;gap:5px;padding:0 13px 0 10px}
.purr-love-i{font:900 25px/1 var(--sans);font-style:normal;color:#ff1f9a;text-shadow:-1px -1px 0 var(--ink),1px -1px 0 var(--ink),-1px 1px 0 var(--ink),2px 2px 0 var(--ink)}
.purr-love-n,.purr-mice-n{font:900 18px/1 var(--heavy);letter-spacing:.5px;color:var(--ink)}
.purr-t-mice{--c:#f4f1ff;--d:#b8afd6;gap:5px;padding:0 13px 0 9px}
.purr-mice-i{font:400 22px/1 sans-serif;font-style:normal}
body.motion-ok .purr-t-mice.is-bump,body.motion-ok .purr-t-love.is-bump{animation:purrBump .45s cubic-bezier(.3,1.6,.6,1)}
body.motion-ok .purr-t-love.is-dip{animation:purrDip .3s ease-out}
@keyframes purrDip{0%,100%{translate:0 0}45%{translate:0 4px;scale:.94}}
/* a 🐭 or a ♥ on its way from the room to its pill (Web Animations, hud.js flyTo) */
.purr-fly{position:absolute;inset:0;z-index:5;overflow:hidden;pointer-events:none}
.purr-fly-h{position:absolute;left:0;top:0;font:900 30px/1 var(--sans);font-style:normal;color:#ff2fa8;text-shadow:2px 2px 0 #fff,0 0 10px #ff00bd;transform:translate(-50%,-50%);will-change:transform}
.purr-fly-m{font:400 30px/1 sans-serif;text-shadow:0 0 8px #fff}
.purr-fly-l{font-size:22px}
/* the NEXT ribbon: one static line under the top row (hud.js --purr-top-b) */
.purr-next{position:absolute;left:10px;top:var(--purr-top-b,62px);z-index:1;display:flex;align-items:center;gap:8px;max-width:min(760px,calc(100% - 20px));padding:4px 5px 4px 4px;
  border:3px solid var(--ink);border-radius:20px;background:#fffbe6;color:var(--ink);box-shadow:3px 3px 0 var(--pink);font:700 15px/1.25 var(--comic);pointer-events:auto}
.purr-next[hidden]{display:none}
.purr-next-k{flex:none;padding:4px 8px;border-radius:12px;background:var(--ink);color:var(--lime);font:900 12px/1 var(--mono);letter-spacing:1px}
.purr-next-t{flex:1;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;cursor:pointer}
.purr-next.is-open .purr-next-t{white-space:normal;overflow-wrap:anywhere}   /* clicked: the whole line */
.purr-next-b{flex:none;padding:5px 9px;border:2px solid var(--ink);border-radius:14px;background:var(--lime);color:var(--ink);font:900 13px/1 var(--heavy);letter-spacing:.4px;cursor:pointer;white-space:nowrap}
.purr-next-b:hover,.purr-next-b:focus-visible{background:var(--yellow)}
.purr-next-b[hidden]{display:none}
/* something to see under it (a cat, an egg, a bubble; hud.js nextUnder): the pill NEXT 👀 at its left end */
.purr-next.is-under{right:auto;padding-right:4px}
.purr-next.is-under .purr-next-t,.purr-next.is-under .purr-next-bl{display:none}
/* 08.11. last fixes: the folded ribbon keeps a short line for a cat's step ('💢 Dre') */
.purr-next-s{display:none;font:900 13px/1 var(--heavy);letter-spacing:.3px;white-space:nowrap}
.purr-next.is-under .purr-next-s:not(:empty){display:inline}
/* the 🪶 wand chip in the shelf: pressed = the paw is the wand */
.purr-t-wand{--c:#c9a7ff;--d:#6f00f5;font:400 22px/1 sans-serif;grid-template-rows:24px 10px;align-content:center;gap:0}
.purr-fish-icon{font:400 23px/24px sans-serif;pointer-events:none}
.purr-fish-label{font:900 9px/10px var(--mono,monospace);letter-spacing:.3px;pointer-events:none}
.purr-cat-grid.is-inventory{display:flex;flex-direction:column;gap:8px}
.purr-items-filters{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
.purr-items-filters,.purr-items-intro{grid-column:1/-1}
.purr-items-search,.purr-items-room{min-width:0;min-height:44px;flex:1 1 150px;border:2px solid var(--ink);border-radius:4px;background:#fff;color:#171322;padding:8px;font:700 14px/1.3 var(--mono,monospace)}
.purr-items-heading{margin:12px 0 2px;font:900 15px/1.3 var(--mono,monospace)}
.purr-item-row{display:flex;align-items:center;gap:10px;padding:10px;border:2px solid var(--ink);border-radius:5px;background:#fff5}
.purr-item-copy{flex:1;min-width:0;overflow-wrap:anywhere}
.purr-item-name{display:block;font:900 14px/1.35 var(--mono,monospace)}
.purr-item-note{display:block;font:400 12px/1.4 var(--mono,monospace);margin-top:3px}
.purr-item-go{flex:none;min-height:44px;padding:8px;font-size:12px;white-space:nowrap}
.purr-items-empty{padding:18px 4px;font:700 14px/1.5 var(--mono,monospace)}
.purr-item-marker{position:absolute;z-index:2;width:56px;height:56px;border:4px dashed var(--lime);border-radius:50%;box-shadow:0 0 0 2px #171322,0 0 0 5px #fff9;transform:translate(-50%,-50%);pointer-events:none!important}
.purr-t-wand.is-on{--c:var(--lime);--d:#6fa000;box-shadow:inset -3px -4px 0 #0003,0 0 0 3px #fff,3px 3px 0 3px var(--ink)}
.purr-t-wand.is-hint{box-shadow:inset -3px -4px 0 #0003,0 0 0 4px var(--yellow),3px 3px 0 4px var(--ink)}
/* 01.11. world step 3: 🔴 the laser pointer (a paw tool like the wand) */
.purr-t-laser{--c:#ffc2cc;--d:#d0103a;font:400 20px/1 sans-serif}
.purr-t-mix{--c:#ffe28a;--d:#c98a00;font:400 20px/1 sans-serif}   /* step 6 last fixes: the home's music buttons (📻 NEXT STATION, 💿 NEXT RECORD) */
.purr-t-laser.is-on{--c:var(--lime);--d:#6fa000;box-shadow:inset -3px -4px 0 #0003,0 0 0 3px #fff,3px 3px 0 3px var(--ink)}
.purr-t-laser.is-hint{box-shadow:inset -3px -4px 0 #0003,0 0 0 4px var(--yellow),3px 3px 0 4px var(--ink)}
.purr-toy-tray{position:absolute;left:8px;bottom:74px;display:flex;align-items:flex-end;gap:4px;padding:5px 7px 19px;z-index:3;border:2px solid #432622;border-radius:10px 10px 5px 5px;background:linear-gradient(#537a74 0 70%,#3e5c58 70% 77%,#b58b57 77% 89%,#825b38 89%);box-shadow:inset 0 2px 2px #fff5,0 5px 0 #432622,2px 8px 8px #13092266;pointer-events:auto;touch-action:none}
.purr-toy-tray .purr-toy-slot{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:0;width:78px;height:76px;padding:0;border:0;border-radius:7px;background:transparent;color:#fff8df;box-shadow:none;transform:none;cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none}
.purr-toy-tray .purr-toy-slot.is-on{cursor:grabbing;background:#ffe69a1a;box-shadow:inset 0 0 0 2px #ffe69a}
.purr-toy-picture{width:78px;height:63px;display:block;pointer-events:none;filter:drop-shadow(1px 3px 2px #152e2a99)}
.purr-toy-slot.is-on .purr-toy-picture{opacity:.22}
.purr-toy-name{font:800 10px/13px var(--sans);white-space:nowrap;text-shadow:0 1px 2px #000;pointer-events:none}
.purr-toy-instruction{position:absolute;left:0;right:0;bottom:2px;text-align:center;color:#2e1b16;font:900 9px/12px var(--mono);letter-spacing:.6px;pointer-events:none}
.purr-toy-slot:focus-visible{outline:3px solid var(--yellow);outline-offset:1px}
.purr-toy-tray .purr-toy-slot.is-tool-ready,.purr-toy-tray .purr-toy-slot.is-hint{outline:3px solid var(--yellow);outline-offset:1px;box-shadow:0 0 12px #ffe97799}
.purr-toy-hint{position:absolute;z-index:4;max-width:205px;padding:7px 10px;border:2px solid #432622;border-radius:9px;background:#fff3ce;color:#342019;font:800 12px/1.3 var(--sans);box-shadow:2px 3px 0 #0003;pointer-events:none!important}
@media(max-width:760px),(max-height:500px){.purr-toy-tray{gap:2px;padding:3px 4px 17px;left:6px}.purr-toy-tray .purr-toy-slot{width:62px;height:62px}.purr-toy-picture{width:62px;height:50px}.purr-toy-name{font-size:9px;line-height:12px}.purr-toy-instruction{font-size:8px}.purr-toy-hint{max-width:180px;font-size:11px;padding:5px 8px}}
@media(max-width:760px){
 .purr-stage:has(.purr-toy-tray:not([hidden])).purr-card-open:not(.purr-tick-top):not(.purr-in-school):not(.purr-sheet-open) .purr-ticker,
 .purr-stage:has(.purr-toy-tray:not([hidden])):not(.purr-card-open):not(.purr-sheet-open).purr-tick-low .purr-ticker{bottom:max(calc(var(--purr-free-b,58px) + 8px),var(--purr-tray-top,0px))}
}
.purr-stage:has(.purr-toy-tray:not([hidden])) .purr-card{max-height:max(120px,calc(100% - var(--purr-next-b,68px) - max(var(--purr-free-b,76px),var(--purr-tray-top,0px)) - 8px))}
@media(min-width:761px) and (max-height:500px){.purr-stage:has(.purr-toy-tray:not([hidden])) .purr-card{left:calc(var(--purr-tray-w,140px) + 16px);max-height:max(48px,calc(100% - var(--purr-next-b,68px) - var(--purr-free-b,58px) - 8px))}}
.purr-tool-ready{position:absolute;z-index:4;display:flex;align-items:center;gap:8px;box-sizing:border-box;max-width:calc(100% - 12px);padding:8px;border:3px solid var(--ink);border-radius:8px;background:#fff6d5;color:var(--ink);box-shadow:4px 4px 0 var(--pink);pointer-events:none!important}
.purr-tool-ready *{pointer-events:none!important}
.purr-tool-ready-art{display:block;flex:none;width:104px;height:84px;border-radius:5px;background:#35104b}
.purr-tool-ready-copy{flex:1;min-width:0}
.purr-tool-ready-title{display:block;font:900 16px/1.15 var(--heavy)}
.purr-tool-ready-text{display:block;margin-top:5px;font:700 13px/1.3 var(--comic)}
.purr-tool-ready.is-compact{padding:4px;gap:6px;border-width:2px}
.purr-tool-ready.is-compact .purr-tool-ready-art{width:45px;height:36px}
.purr-tool-ready.is-compact .purr-tool-ready-title{font-size:13px;line-height:15px}
.purr-tool-ready.is-compact .purr-tool-ready-text{margin-top:2px;font-size:11px;line-height:12px}
.purr-t-wand.is-tool-ready,.purr-t-laser.is-tool-ready{outline:3px solid var(--cyan);outline-offset:3px;box-shadow:inset -3px -4px 0 #0003,0 0 0 3px var(--yellow),3px 3px 0 3px var(--ink)}
@keyframes purrEquipmentReady{50%{outline-width:6px;outline-offset:5px}}
@media(prefers-reduced-motion:no-preference){body.motion-ok .purr-t-wand.is-tool-ready,body.motion-ok .purr-t-laser.is-tool-ready{animation:purrEquipmentReady .8s ease-in-out 3}}
/* the catalogue: tabs, big picture cards, one button each; POOR is grey, never red */
.purr-panel-catalogue{width:min(720px,100%);border-color:#ffd1f0 #11061e #11061e #ffd1f0;background:linear-gradient(180deg,#5b0d7a,#22063a)}
.purr-panel-catalogue .purr-panel-h{color:#fff;text-shadow:3px 3px 0 var(--pink),0 0 14px #ff00bd}
.purr-cat-top{display:flex;align-items:center;gap:12px;margin:0 0 10px}
.purr-cat-have{flex:none;padding:6px 12px;border:3px solid var(--ink);border-radius:20px;background:#ff9fd2;color:var(--ink);box-shadow:3px 3px 0 var(--ink);font:900 22px/1 var(--heavy);letter-spacing:.5px}
.purr-cat-intro{margin:0;font-size:14px}
.purr-cat-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 12px}
/* 07.11. world step 6 (the join's polish): the tabs stay at the top while the cards scroll, as the album's (opened at a
   card far down the LOOKS page, the golden disco ball, the page names were out of view); the band fades over the cards */
.purr-cat-tabs{position:sticky;top:-16px;z-index:2;margin:0 -18px 6px;padding:8px 58px 10px 18px;background:linear-gradient(180deg,#560c75 78%,#560c7500)}
.purr-cat-tab{padding:7px 14px;border:3px solid var(--ink);border-radius:8px 8px 0 0;background:#c9a7ff;color:var(--ink);font:900 16px/1 var(--heavy);letter-spacing:.8px;cursor:pointer}
.purr-cat-tab.is-on{background:var(--yellow);box-shadow:0 -3px 0 var(--pink) inset}
/* 01.11. step 1 fix round: a tab with two things keeps its cards together in the middle, more flow into three columns */
.purr-cat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,240px));justify-content:center;gap:14px}
.purr-cat-card{display:grid;grid-template-rows:auto auto auto 1fr auto;gap:5px;padding:10px 10px 12px;border:3px solid var(--ink);background:#fff8ee;color:var(--ink);box-shadow:4px 4px 0 var(--cyan)}
.purr-cat-card:nth-child(2n){box-shadow:4px 4px 0 var(--pink)}
.purr-cat-card.is-focus{outline:4px solid var(--yellow);outline-offset:3px}   /* 07.11. fix round: the card a click on the room asked for (hud.js showCatalogue) */
.purr-cat-pic{display:grid;place-items:center;height:118px;background:radial-gradient(circle at 50% 60%,#ffe9f6,#f3dcff 70%);border:2px solid #11061e22}
.purr-cat-img{display:block;max-width:92%;max-height:108px;width:auto;height:auto;object-fit:contain}
.purr-cat-emoji{font:400 64px/1 sans-serif}
.purr-cat-name{font:900 20px/1.05 var(--heavy);letter-spacing:.4px}
.purr-cat-price{justify-self:start;padding:3px 9px;border:2px solid var(--ink);border-radius:12px;background:#ff9fd2;font:900 15px/1 var(--heavy)}
.purr-cat-line{margin:0;font:700 14px/1.3 var(--comic)}
.purr-cat-buy{width:100%;margin-top:4px;padding:10px 8px;font-size:18px}
.purr-cat-buy:disabled{opacity:1;background:linear-gradient(180deg,#f2eef8,#d6d0e2);color:#3a2a4e;cursor:default;box-shadow:inset -2px -3px 0 #0001,3px 3px 0 #11061e66}
.purr-cat-card.is-owned .purr-cat-buy:disabled,.purr-cat-card.is-coming .purr-cat-buy:disabled{background:linear-gradient(180deg,#f4ffd0,#d8f59a);color:var(--ink)}
/* 01.11. step 1 fix round: why it cannot come now (no cat awake on screen) or why GET IT did nothing, under its button */
.purr-cat-note{margin:2px 0 0;font:700 13px/1.3 var(--comic);color:#5b2a7a}
/* a cat's card while a bought treat makes her learn twice as fast */
.purr-boost{font:900 11px/1 var(--mono);color:var(--lime);letter-spacing:.4px}
/* 07.11. world step 7: the one-line sweetheart / best friend button (06.11.) went; SHE LIKES has every cat (below) */
@media (max-width:760px){
  .purr-next{left:8px;right:8px;max-width:none;gap:6px;padding:3px 4px 3px 3px;font-size:13px;border-radius:16px}
  .purr-next-k{padding:3px 6px;font-size:10px}
  .purr-next-b{padding:3px 6px;font-size:13px}
  .purr-next-bl{display:none}   /* 01.11. step 1 fix round: just 👀 (its label stays SHOW ME): the line keeps its words */
  /* and a line too long for one row (a long name) takes a second one instead of losing its end */
  .purr-next-t{white-space:normal;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;line-height:1.2;overflow-wrap:anywhere}
  .purr-next.is-open:not(.is-under) .purr-next-t{display:block;-webkit-line-clamp:none;line-clamp:none}
  /* 01.11. step 1 fix round: the pills grow with their numbers (.purr-round is 40 px here); 07.11. world step 7: two of
     them (♥ and 🐭) beside 📌, 📮 and ? on a 360 px phone: tighter */
  .purr-t-love,.purr-t-mice{width:auto;gap:3px;padding:0 7px 0 6px}
  .purr-love-i{font-size:17px}
  .purr-mice-i{font-size:16px}
  .purr-love-n,.purr-mice-n{font-size:15px;letter-spacing:0}
  .purr-t-wand,.purr-t-laser,.purr-t-mix{width:48px;height:48px}
  .purr-sheet-open .purr-next{display:none}   /* the phones' SAY sheet sits at the top of the room */
  .purr-cat-grid{grid-template-columns:1fr 1fr;gap:10px}
  .purr-cat-pic{height:88px}
  .purr-cat-img{max-height:80px}
  .purr-cat-name{font-size:17px}
  .purr-cat-line{font-size:13px}
  .purr-cat-buy{font-size:15px;padding:9px 4px}
}
@media (max-width:380px){.purr-cat-grid{grid-template-columns:1fr}}
/* 01.11. step 1 fix round: a phone held sideways (or any short screen): a whole card with its GET IT in the first view */
@media (max-height:500px){
  .purr-panel-catalogue .purr-panel-h{margin-bottom:6px;font-size:24px}
  .purr-panel-catalogue .purr-panel-body{display:grid;grid-template-columns:auto 1fr;align-items:center;column-gap:12px}   /* ♥ n and the tabs in one row */
  .purr-cat-intro{display:none}
  .purr-cat-top{margin:0 0 8px}
  .purr-cat-have{padding:4px 10px;font-size:18px}
  .purr-cat-tabs{grid-column:1/-1;margin:0 0 8px;padding:4px 44px 6px 0;background:#560c75}   /* A full-width opaque sticky band keeps scrolled inventory copy from showing in the former left column. */
  .purr-cat-grid{grid-column:1/-1}
  .purr-cat-card{gap:3px;padding:7px 8px 9px}
  .purr-cat-pic{height:64px}
  .purr-cat-img{max-height:58px}
  .purr-cat-emoji{font-size:44px}
  .purr-cat-name{font-size:16px}
  .purr-cat-line{font-size:12px;line-height:1.25}
  .purr-cat-buy{padding:7px 6px;font-size:15px}
}
@media (max-height:500px){.purr-next{font-size:13px;padding:2px 4px 2px 3px}}

/* ---------- 06.11. world step 4: the missions (view/mission.js; hud.js the 📌 chip). The 📌 MISSIONS chip after ♥ (its
   number = the open cards; .is-new: a new card waits unread, a lime ring, no motion in focus mode); the pinboard list
   (paper notes); the mission card (story, 📍 / 🐾, IT NEEDS ✓ ✗, the reward, ▶ START / 👀 SHOW ME THE SPOT); the mission
   bar over the shelf (bottom: --purr-bar-b, hud.js: a covered band, the room stays above it): the big verb, the line,
   the soft meter, the big buttons (shape cards, ← →, the tone buttons, 🚨 SHOO, the map frame with its pieces), 🐾 LET THE
   CATS HANDLE IT, ✕. Static: one moving cue at most (focus mode), nothing moves in calm mode. */
.purr-t-pin{--c:#fff7c2;--d:#ffd23f;gap:5px;padding:0 12px 0 10px}
.purr-t-pin .purr-pin-n{font:900 18px/1 var(--heavy);color:var(--ink)}
.purr-t-pin .purr-pin-n[hidden]{display:none}
.purr-t-pin.is-new{box-shadow:0 0 0 3px var(--lime),0 0 16px var(--lime),3px 3px 0 var(--ink)}
body.motion-ok:not(.focus-mode) .purr-t-pin.is-new{animation:purrBounce .9s ease-in-out infinite}
.purr-board-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:12px;margin:0;padding:0;list-style:none}
.purr-board-card{display:grid;gap:4px;width:100%;min-height:96px;padding:12px 12px 10px;border:2px solid var(--ink);border-radius:4px;background:#fff6c9;color:var(--ink);text-align:left;cursor:pointer;box-shadow:4px 4px 0 var(--ink);rotate:-1deg}
.purr-board-list li:nth-child(even) .purr-board-card{background:#d8f3ef;rotate:1deg}
.purr-board-card.is-new{background:#ffd6ec;box-shadow:0 0 0 3px var(--lime),4px 4px 0 var(--ink)}
.purr-board-card.is-closed{background:#e9e1f2}
.purr-board-t{font:900 17px/1.05 var(--heavy);letter-spacing:.4px}
.purr-board-n{font:700 italic 14px/1.2 var(--comic)}
.purr-board-tag{justify-self:start;padding:2px 7px;border:2px solid var(--ink);border-radius:9px;background:var(--lime);font:900 12px/1.2 var(--mono);font-style:normal}
.purr-board-card.is-closed .purr-board-tag{background:#fff}
.purr-panel-mission{width:min(600px,100%);background:linear-gradient(180deg,#4a1470,#22063a)}
.purr-panel-mission .purr-panel-h{color:var(--lime);text-shadow:3px 3px 0 var(--ink),0 0 14px #baff0088}
.purr-mcard-name{margin:-4px 0 6px;font:900 14px/1.2 var(--mono);letter-spacing:.6px;color:#ff9fd8;text-transform:uppercase}
.purr-mcard-story{margin-bottom:10px;font-size:17px}
.purr-mcard-facts,.purr-mcard-needs{display:grid;gap:5px;margin:0 0 10px;padding:0;list-style:none;font:700 15px/1.3 var(--comic)}
.purr-mcard-h{margin:4px 0 6px;font:900 14px/1 var(--mono);letter-spacing:1px;color:var(--yellow)}
.purr-mcard-needs li{display:grid;grid-template-columns:26px 1fr;gap:2px 6px;align-items:start}
.purr-mcard-mark{display:grid;place-items:center;width:22px;height:22px;border:2px solid var(--ink);border-radius:50%;background:var(--lime);color:var(--ink);font:900 13px/1 var(--sans)}
.purr-mcard-needs .is-no .purr-mcard-mark{background:var(--pink);color:#fff}
.purr-mcard-how{grid-column:2;font:700 italic 13px/1.3 var(--comic);color:#ffd6ec}
.purr-mcard-reward{margin:6px 0 0;font:900 16px/1.3 var(--comic);color:var(--yellow)}
.purr-mcard-closed{margin:8px 0 0;font:900 15px/1.2 var(--mono);color:var(--lime)}
.purr-mcard-friend{margin:6px 0 0;font:700 italic 13px/1.3 var(--comic);color:#e4c8ff}
.purr-mcard-why{margin:8px 0 0;font:700 italic 14px/1.3 var(--comic);color:#ffd6ec}
/* 07.11. fix round (a review: on a 360 × 640 phone a mission card's START lay below the fold with no cue): its buttons
   stay at the bottom of the card while the story scrolls */
.purr-mcard-row{position:sticky;bottom:-18px;z-index:2;margin:12px -18px -18px;padding:10px 18px 14px;background:linear-gradient(180deg,#22063a00,#22063a 12px)}
.purr-mcard-start:disabled{background:linear-gradient(180deg,#eee,#bbb);color:#555;cursor:default;box-shadow:inset -2px -3px 0 #0002,3px 3px 0 var(--ink)}
.purr-mission{position:absolute;left:50%;bottom:var(--purr-bar-b,76px);z-index:4;translate:-50% 0;display:grid;grid-template-columns:1fr auto auto;gap:4px 10px;width:min(760px,calc(100% - 20px));padding:10px 14px 12px;
  border:3px solid;border-color:#e4c8ff #11061e #11061e #e4c8ff;border-radius:10px;background:linear-gradient(180deg,#3b0a5e,#22063a);color:#fff;box-shadow:4px 4px 0 var(--ink)}
.purr-mission[hidden]{display:none}
/* 07.11. fix round (the build spec's 6.3): the DJ booth's mixer over the shelf while Vice Kitty's music plays (hud.js
   updateMixer; a covered band like the mission bar): DROP, FADE, NEXT RECORD. Its buttons' look only inside .purr-mixer
   (the shelf's SFX toggle shares purr-mixbtn and keeps its cyan bubble) */
.purr-mixer{position:absolute;left:50%;bottom:var(--purr-bar-b,76px);z-index:4;translate:-50% 0;display:flex;gap:10px;padding:8px 10px;
  border:3px solid;border-color:#e4c8ff #11061e #11061e #e4c8ff;border-radius:10px;background:linear-gradient(180deg,#3b0a5e,#22063a);box-shadow:4px 4px 0 var(--ink)}
.purr-mixer[hidden]{display:none}
.purr-mixer .purr-mixbtn{min-height:52px;padding:6px 16px;border:3px solid var(--ink);border-radius:10px;background:linear-gradient(180deg,#fff,#d9cfe8);color:var(--ink);font:900 20px/1 var(--heavy);letter-spacing:.5px;cursor:pointer;
  box-shadow:inset -2px -3px 0 #0003,4px 4px 0 var(--ink);white-space:nowrap}
.purr-mixer .purr-mixbtn:active{translate:2px 2px;box-shadow:inset -2px -3px 0 #0003,2px 2px 0 var(--ink)}
.purr-mixer .purr-mix-drop{background:linear-gradient(180deg,#ffd1f0,var(--pink));color:#fff;text-shadow:1px 1px 0 var(--ink)}
@media (max-width:760px){.purr-mixer{gap:5px;padding:5px;max-width:calc(100% - 16px)}.purr-mixer .purr-mixbtn{min-height:44px;padding:4px 8px;font-size:14px;letter-spacing:0}}
.purr-mission-verb{grid-column:1;font:900 clamp(26px,3.6vw,40px)/1 var(--heavy);letter-spacing:1px;color:var(--yellow);text-shadow:3px 3px 0 var(--pink)}
/* 08.11. fix round: 👀 (the place framed again: the NEXT ribbon steps aside while a mission is under way, hud.js) beside ✕ */
.purr-mission-see{grid-column:2;grid-row:1;background:var(--lime);color:var(--ink);font-size:17px}
.purr-mission-x{grid-column:3;grid-row:1}
.purr-mission-line{grid-column:1/-1;margin:0;font:700 15px/1.3 var(--comic)}
/* 15.11. (mission 4 under the radio's ten seconds): the line "The music stopped. Switch it on again." is a button
   (view/mission.js); while a part with music plays the line's row is as high as that button (is-music), so the bar keeps
   its height when the radio stops and starts */
.purr-mission-line.is-music{display:flex;align-items:center;min-height:46px}
.purr-mission-music{min-height:40px;margin:0 4px 4px 0;padding:6px 14px;font:700 15px/1.25 var(--comic);letter-spacing:0;text-align:left}
.purr-mission-meter{grid-column:1/-1;height:12px;border:2px solid var(--ink);border-radius:7px;background:#1b0733;overflow:hidden}
.purr-mission-meter[hidden]{display:none}
.purr-mission-meter i{display:block;height:100%;width:0;background:linear-gradient(90deg,var(--lime),#7dffb0);border-radius:5px}
body.motion-ok .purr-mission-meter i{transition:width .3s ease-out}
.purr-mission-pad{grid-column:1/-1;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:10px}
/* 08.11. fix round (a playtest of mission 6, 1280 × 720 and a phone: the help button's own row pushed the fish machine
   under the top row): 🐾 LET THE CATS HANDLE IT sits in the pad's row (view/mission.js), the pad hides with nothing shown */
.purr-mission-pad:not(:has(> :not([hidden]))){display:none}
.purr-mbtn{min-width:96px;min-height:72px;padding:6px 14px;border:3px solid var(--ink);border-radius:10px;background:linear-gradient(180deg,#fff,#d9cfe8);color:var(--ink);font:900 34px/1 var(--heavy);cursor:pointer;
  box-shadow:inset -2px -3px 0 #0003,4px 4px 0 var(--ink)}
.purr-mbtn:active{translate:2px 2px;box-shadow:inset -2px -3px 0 #0003,2px 2px 0 var(--ink)}
.purr-mbtn:disabled{opacity:.55;cursor:default}
.purr-mbtn.is-card{min-width:110px;background:linear-gradient(180deg,#fffbe0,#ffe58a)}
.purr-mbtn.is-glow{box-shadow:0 0 0 4px var(--lime),0 0 18px var(--lime),4px 4px 0 var(--ink)}
/* step 6 last fixes: a mission button that waits for something (TOSS! with no snack, RING while it must stay quiet):
   grey, its own words; a press anyway shakes it */
.purr-mbtn.is-wait{background:linear-gradient(180deg,#e9e4ef,#b9b0c6);color:#4a3d5c;font-size:18px;box-shadow:inset -2px -3px 0 #0002,2px 2px 0 var(--ink)}
body.motion-ok .purr-mbtn.is-shake{animation:purrShakeX .3s ease-in-out 2}
@keyframes purrShakeX{0%,100%{translate:0 0}25%{translate:-6px 0}75%{translate:6px 0}}
.purr-mbtn.is-on{background:linear-gradient(180deg,#fffbd0,var(--yellow));box-shadow:0 0 0 4px var(--yellow),0 0 16px var(--yellow),4px 4px 0 var(--ink)}
.purr-mbtn.is-red{background:linear-gradient(180deg,#ffd0d6,#ff3b5c);color:#fff;font-size:24px;text-shadow:2px 2px 0 var(--ink)}
.purr-mbtn.is-tone{min-width:80px;min-height:80px;border-radius:50%;font-size:36px}
.purr-mbtn.is-shoo{min-height:56px;background:linear-gradient(180deg,#ffd1f0,var(--pink));color:#fff;font-size:20px;text-shadow:1px 1px 0 var(--ink)}
.purr-mbtn.is-small{min-height:52px;font-size:18px}
.purr-mbtn[hidden]{display:none}
.purr-mission-flag{min-width:96px;padding:6px 10px;border:2px solid var(--ink);border-radius:8px;background:var(--lime);color:var(--ink);font:900 18px/1 var(--mono);text-align:center}
.purr-mission-flag.is-red{background:#ff3b5c;color:#fff}
.purr-mission-stars{min-width:70px;font:900 26px/1 var(--sans);letter-spacing:2px}
.purr-mission-stars i{font-style:normal;color:#ffffff30}
.purr-mission-stars i.is-on{color:var(--yellow);text-shadow:2px 2px 0 var(--ink)}
.purr-mission-dots i.is-hit{color:var(--lime);text-shadow:2px 2px 0 var(--ink)}   /* 06.11. world step 5c missions: the porch choir's beats you hit */
.purr-mission-help{font-size:17px}
.purr-mframe{display:flex;align-items:center;gap:14px}
.purr-mframe-box{position:relative;width:240px;aspect-ratio:241/187}
.purr-mframe-bg{display:block;width:100%;height:100%;pointer-events:none}
.purr-mframe-tray{display:grid;grid-template-columns:repeat(2,96px);gap:8px}
.purr-mpiece{position:relative;width:96px;aspect-ratio:103/76;cursor:grab;touch-action:none;filter:drop-shadow(2px 3px 0 #11061e88)}
.purr-mpiece img{display:block;width:100%;height:100%;pointer-events:none}
/* 06.11. world step 4 fix round: a dragged piece stays in its tray and moves by translate (view/mission.js), over the frame */
.purr-mpiece.is-drag{z-index:6;cursor:grabbing;filter:drop-shadow(4px 6px 0 #11061e88)}
.purr-mpiece.is-at{position:absolute;width:43%;translate:-50% -50%;cursor:default;filter:none}
/* 06.11. world step 4 fix round: START over a chalk circle (two brought cats in a read card's circle), over their heads */
.purr-ringgo{position:absolute;left:0;top:0;z-index:3;translate:-50% -100%;display:flex;flex-direction:column;align-items:center;gap:4px;pointer-events:none}
.purr-ringgo-line{margin:0;padding:3px 9px;border:2px solid var(--ink);border-radius:8px;background:#fffbe0;color:var(--ink);font:700 13px/1.25 var(--comic);white-space:nowrap;box-shadow:2px 2px 0 var(--ink)}
.purr-ringgo-start{pointer-events:auto;font-size:18px}
@media (max-width:760px){
  .purr-mission{width:calc(100% - 12px);padding:7px 9px 9px;gap:3px 8px}
  .purr-mission-line{font-size:13px}
  .purr-mission-line.is-music{min-height:50px}
  .purr-mission-music{min-height:44px;font-size:14px}
  .purr-mbtn{min-width:72px;min-height:60px;font-size:28px}
  .purr-mbtn.is-card{min-width:86px}
  .purr-mbtn.is-tone{min-width:64px;min-height:64px;font-size:30px}
  /* 06.11. missions II: mission 7's four pads two by two (one a row hid the judges under the bar on a phone) */
  .purr-mbtn.is-pad{flex:1 1 calc(50% - 10px);min-height:52px;padding:4px 8px;font-size:22px}
  .purr-mframe{gap:8px}
  .purr-mframe-box{width:190px}
  .purr-mframe-tray{grid-template-columns:repeat(2,70px)}
  .purr-mpiece{width:70px}
  .purr-board-list{grid-template-columns:1fr 1fr}
}
@media (max-height:500px){.purr-mission{padding:5px 9px 7px}.purr-mbtn{min-height:48px;font-size:24px}.purr-mission-verb{font-size:24px}}
/* 08.11. fix round (a playtest of mission 6 at 1280 × 720: the bar took 45 % of the view, the fish machine and the floor in
   front of the boards did not fit above it at the lowest zoom): on a wide, short screen the bar is wider (its line one row)
   and lower; on a phone the grey sign (TOSS! with nothing to toss) steps aside while the help is offered (the line says
   what to do), so the help's row does not push the room up */
@media (min-width:761px) and (max-height:760px){.purr-mission{width:min(1000px,calc(100% - 20px));padding:6px 12px 8px}.purr-mission-verb{font-size:30px}.purr-mbtn{min-height:56px;font-size:28px}}
@media (max-width:760px){.purr-mission-pad:has(> .purr-mission-help:not([hidden])) > .purr-mbtn.is-wait{display:none}}
/* 08.11. step 7 fix round (a phone review F4: on a 360 × 640 phone mission 6's bar and two ticker lines left the room a
   1 px band, the fish machine under them, a tap there kicked a ball): on a short phone the bar is compact (a smaller
   verb and line, a thin meter, lower buttons, the grey wait sign a slim row: the line says what to do), and hud.js keeps
   one ticker line while a mission plays */
@media (max-width:760px) and (max-height:740px){
  .purr-mission{padding:4px 8px 6px;gap:2px 6px}
  .purr-mission-verb{font-size:22px}
  .purr-mission-line{font-size:12px;line-height:1.25}
  .purr-mission-line.is-music{min-height:46px}
  .purr-mission-music{min-height:40px;padding:5px 12px;font-size:13px}
  .purr-mission-meter{height:8px}
  .purr-mission-pad{gap:6px}
  .purr-mbtn{min-height:44px;font-size:20px}
  .purr-mbtn.is-small{min-height:40px;font-size:15px}
  .purr-mbtn.is-wait{min-height:30px;padding:2px 10px;font-size:13px}
  .purr-mbtn.is-tone{min-width:52px;min-height:52px;font-size:24px}
  .purr-mbtn.is-pad{min-height:44px;font-size:18px}
}

/* ---------- focus mode (31.10., owner: "the blinking above and below the game must go as soon as you play, so you can
   sink into the game"): core's body.focus-mode, from the intro's start button (a restored game: the first action in the
   stage) until the page is left. Nothing outside the stage moves: every animation around it pauses where it is, the
   chaos controls (dock level, MORE CHAOS, the slider; core keeps their value and shows none of
   it) step aside, SFX and calm stay (31.10. playtest: on phones the whole dock bar steps aside, SFX is in the shelf,
   calm in the header; see the phones block); no flying layer. Inside the stage one gentle cue at most: the egg button
   sways slowly while an egg waits outside the incubator; the album badge stands still, new ticker lines fade in. A
   wheel over a HUD list scrolls that list, never the page (paw.js; overscroll contained). */
body.focus-mode :not(.purr-stage,.purr-stage *),body.focus-mode :not(.purr-stage,.purr-stage *)::before,body.focus-mode :not(.purr-stage,.purr-stage *)::after{animation-play-state:paused!important}
body.focus-mode #flying-layer,body.focus-mode #chaos-level,body.focus-mode .chaos-dock .chaos-slide{display:none!important}
body.focus-mode .purr-badge,body.focus-mode .purr-eggbtn{animation:none}
body.focus-mode.motion-ok .purr-eggbtn.is-waiting{animation:purrSway 3.4s ease-in-out infinite}
body.focus-mode.motion-ok .purr-tick{animation:purrFade .6s ease-out}
body.focus-mode :is(.purr-card,.purr-layer,.purr-panel,.purr-words,.purr-roster,.purr-favs,.purr-howto,.purr-explain-t,.purr-coach,.purr-nudge){overscroll-behavior:contain}

/* ---------- motion (only with body.motion-ok) */
@keyframes purrPop{from{opacity:0;scale:.7}to{opacity:1;scale:1}}
@keyframes purrBump{0%{scale:1}40%{scale:1.18}100%{scale:1}}
@keyframes purrBounce{50%{translate:0 -3px}}
@keyframes purrWobble{0%,100%{rotate:0deg}25%{rotate:-8deg}75%{rotate:8deg}}
@keyframes purrSway{0%,100%{rotate:0deg}25%{rotate:-5deg}75%{rotate:5deg}}
@keyframes purrFade{from{opacity:0}to{opacity:1}}
@keyframes purrTap{0%,100%{translate:0 0}50%{translate:0 -6px}}
@keyframes purrTapDown{0%,100%{translate:0 0}50%{translate:0 6px}}
@keyframes purrTapRight{0%,100%{translate:0 0}50%{translate:6px 0}}
@keyframes purrTapLeft{0%,100%{translate:0 0}50%{translate:-6px 0}}
@keyframes purrHeartOut{0%{opacity:0;transform:rotate(var(--a)) translateY(0) scale(.4) rotate(calc(var(--a) * -1))}25%{opacity:1}70%{opacity:1}100%{opacity:0;transform:rotate(var(--a)) translateY(calc(var(--d) * -220px)) scale(1.15) rotate(calc(var(--a) * -1))}}

/* ---------- 07.11. world step 7 (♥ is love, 🐭 mice are the money; SPEC-love 5; hud.js) */
/* the cat card: '♥ 120 for you' in the head (folded too), the why line under it (2 minutes after a change; a loss in
   the pale blue of the '−1 ♥' pop, never red), the mood line's upset / culprit colours */
.purr-card-love{display:inline-block;padding:2px 7px;border:2px solid var(--ink);border-radius:10px;background:#ffd1ec;color:var(--ink);font:900 12px/1.1 var(--mono);letter-spacing:.3px;white-space:nowrap}
.purr-card-why{grid-column:1/-1;margin-top:-4px;font:700 12px/1.25 var(--comic);color:#ff9fd2}
.purr-card-why.is-down{color:#bcd0f2}
.purr-card.is-upset .purr-card-head .purr-card-mood{color:#ffd0a0}
.purr-card.is-culprit .purr-card-head .purr-card-mood{color:var(--yellow)}
/* 07.11. fix round (a review, a 360 × 640 phone: the pill was the folded card most of the time and hid her ♥): the pill
   keeps '♥ 157' (not ' for you') and, while her last change is fresh, its signed number; the why line waits for the card */
.purr-card.is-under:not(:has(:focus-visible)) .purr-card-why,.purr-card.is-under:not(:has(:focus-visible)) .purr-love-for{display:none}
.purr-card.is-cop.is-under:not(:has(:focus-visible)) .purr-card-love{display:inline-block}   /* her pill keeps ♥ 12 % (short): the card's point */
.purr-card-dlt{display:none;font:900 13px/1 var(--heavy);color:#ff9fd2;white-space:nowrap}
.purr-card-dlt.is-down{color:#bcd0f2}
.purr-card.is-under:not(:has(:focus-visible)) .purr-card-dlt:not([hidden]){display:inline-block}
/* her mouse factor in the card's foot (P.love.kp under / over 100 %) */
.purr-kp{display:block;margin:-2px 0 8px;font:700 12px/1.2 var(--comic);color:#e9e2ff}   /* 08.11. last fixes: right under the head */
.purr-kp[hidden],.purr-card.is-min .purr-kp{display:none}
.purr-gentle{font:900 12px/1 var(--mono);color:#cfe9ff;letter-spacing:.4px}
/* SHE LIKES: a chip a cat (her face, short name, ♥ %, 💕 / 🐾; a tap opens her card), the foot line; unfolded only */
.purr-likes{margin:0 0 8px}
.purr-likes-h{display:block;margin:0 0 5px;font:900 12px/1 var(--mono);letter-spacing:.5px;color:#ff9fd2}
.purr-likes-row{display:flex;flex-wrap:wrap;gap:5px}
.purr-like{display:inline-grid;grid-template-columns:28px auto;grid-template-rows:auto auto;column-gap:5px;align-items:center;padding:2px 8px 2px 2px;border:2px solid var(--ink);border-radius:18px;background:#fff8ee;color:var(--ink);cursor:pointer;box-shadow:2px 2px 0 var(--ink);text-align:left}
.purr-like:hover,.purr-like:focus-visible{background:#fff}
.purr-like.is-friend{background:#ecffc9}
.purr-like.is-sweet{background:#ffd6ec}
.purr-like.is-cop{background:#dfe6ff}
.purr-like.is-zero{background:#efe9f6;opacity:.8}   /* 08.11. last fixes: 0 % (the foot line says what it means) */
.purr-like-pic{grid-row:1/3;display:grid;place-items:center;width:28px;height:28px;overflow:hidden;border:2px solid var(--ink);border-radius:50%;background:radial-gradient(circle at 40% 35%,#fff,#ffd1f0 55%,#ff9fc8);font-size:15px}
.purr-like-pic canvas{width:100%;height:100%;display:block}
.purr-like-name{font:900 12px/1 var(--heavy);letter-spacing:.3px;white-space:nowrap}
.purr-like-pct{font:900 12px/1.1 var(--heavy);letter-spacing:.2px;white-space:nowrap}   /* 07.11. fix round: in the mono pixel font at 11 px the % read like an 8 */
.purr-likes-how{margin:5px 0 0;font:700 11px/1.25 var(--comic);color:#e4c8ff}
.purr-card.is-min .purr-likes{display:none}
/* the officer's card in the cat card's place (card.is-cop): only the head and her lines; folded: the head alone */
.purr-card.is-cop>:not(.purr-card-head):not(.purr-cop){display:none!important}
.purr-card.is-cop .purr-card-love{background:#dfe6ff}
.purr-card.is-cop .purr-card-pic{background:radial-gradient(circle at 40% 35%,#fff,#d6e0ff 55%,#8fa6ff)}
.purr-cop{display:grid;gap:6px}
.purr-card.is-min .purr-cop{display:none}
.purr-cop-h{font:900 14px/1 var(--heavy);letter-spacing:.6px;color:#bcd0ff}
.purr-cop-like,.purr-cop-raids{margin:0;font:700 13px/1.25 var(--comic);color:#fff}
.purr-cop-tip{margin:0;font:700 italic 12px/1.3 var(--comic);color:var(--lime)}
.purr-cop-show{justify-self:start}
/* the officer's 🚔 chip at the roster's end while she is in a room */
.purr-chip-cop{background:linear-gradient(180deg,#eef2ff,#b9c6ff)}
.purr-chip-cop .purr-chip-pic{background:radial-gradient(circle at 40% 35%,#fff,#d6e0ff 55%,#8fa6ff)}
/* the love panel: '♥ N in all', a row a cat (face, name, ♥ N), the officer's row, three foot lines */
.purr-panel-love{width:min(460px,100%);border-color:#ffd1f0 #11061e #11061e #ffd1f0;background:linear-gradient(180deg,#5b0d7a,#22063a)}
.purr-panel-love .purr-panel-h{color:#fff;text-shadow:3px 3px 0 var(--pink),0 0 14px #ff00bd}
.purr-love-lead{margin:0 0 10px}
.purr-love-list{display:grid;gap:6px;margin:0 0 12px;padding:0;list-style:none}
.purr-love-row{display:grid;grid-template-columns:40px 1fr auto;gap:10px;align-items:center;width:100%;padding:4px 12px 4px 4px;border:3px solid var(--ink);border-radius:26px;background:#fff8ee;color:var(--ink);cursor:pointer;box-shadow:3px 3px 0 var(--pink);text-align:left}
.purr-love-row:hover,.purr-love-row:focus-visible{background:#fff}
.purr-love-row[data-love="cop"]{background:#eef2ff;box-shadow:3px 3px 0 #8fa6ff}
.purr-love-pic{display:grid;place-items:center;width:40px;height:40px;overflow:hidden;border:2px solid var(--ink);border-radius:50%;background:radial-gradient(circle at 40% 35%,#fff,#ffd1f0 55%,#ff9fc8)}
.purr-love-pic canvas{width:100%;height:100%;display:block}
.purr-love-name{font:900 18px/1 var(--heavy);letter-spacing:.4px}
.purr-love-v{font:900 17px/1 var(--heavy);letter-spacing:.4px;color:#c2006e;white-space:nowrap}
.purr-love-row[data-love="cop"] .purr-love-v{color:#3a4aa0}
.purr-love-foot{margin:0}
/* the how-to card's nine tiles (LOVE, MICE, FIGHTS after NEEDS): three rows of three on wider screens, three columns on
   a phone; a tile stands its picture over its word and line */
.purr-howto{width:min(540px,calc(100% - 20px))}
.purr-tiles{grid-template-columns:repeat(3,minmax(0,1fr))}
.purr-tile{grid-template-columns:1fr;grid-template-rows:auto auto 1fr;justify-items:center;text-align:center;row-gap:3px;padding:5px 4px 6px}
.purr-tile-pic{grid-row:auto;width:48px;height:48px;letter-spacing:-3px}
.purr-tile-pic canvas{width:48px;height:48px}
.purr-tile-pic .purr-ico-big{width:40px;height:40px;font-size:21px}
.purr-tile-w{align-self:center}
.purr-tile:nth-child(7) .purr-tile-pic{color:#ff1f9a;font:900 34px/1 var(--sans);letter-spacing:0;text-shadow:-1px -1px 0 var(--ink),1px -1px 0 var(--ink),-1px 1px 0 var(--ink),2px 2px 0 var(--ink)}
@media (max-width:760px){
  .purr-howto{width:auto}
  .purr-tiles{gap:5px}
  .purr-tile{grid-template-columns:1fr;padding:3px 3px 4px}
  .purr-tile-pic,.purr-tile-pic canvas{width:36px;height:36px}
  .purr-tile-pic{font-size:20px}
  .purr-tile-pic .purr-ico-big{width:32px;height:32px;font-size:17px}
  .purr-tile:nth-child(7) .purr-tile-pic{font-size:26px}
  .purr-tile-w{font-size:13px}
  .purr-tile-l{font-size:11px;line-height:1.2}
  .purr-like-name{font-size:11px}
  .purr-love-name{font-size:16px}
}
.purr-card.is-cop .purr-age{display:none}
.purr-card.is-cop .purr-card-name{font-size:20px}
@media (max-width:380px){
  /* a 360 px phone: ♥ and 🐭 beside 📌, 📮 and ? (and HOME with one more place) */
  .purr-t-love,.purr-t-mice{gap:2px;padding:0 5px 0 4px}
  .purr-love-i{font-size:15px}
  .purr-mice-i{font-size:14px}
  .purr-love-n,.purr-mice-n{font-size:14px}
}
@media (max-width:400px){
  /* 07.11. fix round (a review: on a 360 px phone the second pill took a place's icon from the strip): the two counters
     stand their icon over the number, narrow */
  .purr-t-love,.purr-t-mice{display:inline-grid;grid-template-rows:auto auto;justify-items:center;align-content:center;gap:0;min-width:38px;padding:0 4px}
  .purr-love-i{font-size:13px;line-height:1}
  .purr-mice-i{font-size:12px;line-height:1}
  .purr-love-n,.purr-mice-n{font-size:12px;letter-spacing:0;line-height:1.05}
}
@media (max-width:380px){
  /* the 📌 chip round there, its count a badge on its corner (like 📮's) */
  .purr-t-pin{width:40px;min-width:40px;padding:0;border-radius:50%}
  .purr-t-pin .purr-pin-n{position:absolute;top:-7px;right:-7px;display:grid;place-items:center;min-width:20px;height:20px;padding:0 4px;border:2px solid var(--ink);border-radius:10px;background:var(--lime);font-size:11px}
  .purr-tools{gap:2px}
}
@media (max-width:760px){
  /* a phone: nine tiles in three columns, each its small picture beside its word, the line under both, so the card
     (goal, tiles, buttons) fits 390 × 844 without scrolling */
  .purr-howto{padding:8px 8px 10px}
  .purr-howto-goal{margin-bottom:6px;font-size:13px;line-height:1.22}
  .purr-howto-head{margin-bottom:6px}
  .purr-howto-h{font-size:22px}
  .purr-tile{grid-template-columns:28px 1fr;grid-template-rows:auto auto;justify-items:start;text-align:left;column-gap:4px;row-gap:2px;padding:3px 4px 4px}
  .purr-tile-pic,.purr-tile-pic canvas{width:28px;height:28px}
  .purr-tile-pic{font-size:16px;letter-spacing:-3px}
  .purr-tile-pic .purr-ico-big{width:26px;height:26px;font-size:14px;border-width:2px;box-shadow:1px 1px 0 var(--ink)}
  .purr-tile:nth-child(7) .purr-tile-pic{font-size:22px}
  .purr-tile-w{align-self:center;font-size:12px}
  .purr-tile-l{grid-column:1/-1;font-size:11px;line-height:1.16}
  .purr-howto-foot{margin-top:6px;font-size:12px}
  .purr-howto-row{margin-top:7px;gap:6px}
  .purr-howto-row .purr-btn{padding:6px 9px;font-size:14px}
}
/* SHE LIKES' word stands in its row of chips, the foot line small (the unfolded card stays about as high as before
   world step 7 with two cats: on a phone the followed cat below it, on a desktop the room's doors clear of it) */
.purr-likes{display:flex;flex-wrap:wrap;align-items:center;gap:5px}
.purr-likes-h{display:inline;margin:0 2px 0 0}
.purr-likes>.purr-likes-row{display:contents}   /* 07.11. fix round: SHE LIKES only (unscoped, the officer's card's row of chips lost its wrap: eight full-width rows) */
.purr-likes-how{flex-basis:100%;margin-top:2px;font-size:10px;line-height:1.2}
/* 07.11. fix round (a review, phones: the − / + column at the room's right edge lay over the end of SHE LIKES' chips at
   the unfolded card's foot, a tap on a chip's end hit − / +): SHE LIKES now sits at the card's top, clear of the column
   (it goes below the card, or low beside it); the officer's chips, at her card's foot, end left of it */
@media (max-width:760px){
  .purr-card:not(.is-min) .purr-cop-cats{margin-right:44px}
}

/* The shell uses scroll margins; the stage has no anchor id of its own. */
.purr-stage{scroll-margin-top:var(--purr-head,98px)}

.purr-page-tools button:disabled{opacity:.55;cursor:default;filter:grayscale(.45)}

/* 11.11. Owner clarification: keep the site header; use all remaining browser height.
   The small utility row belongs to the stage; canvas and HUD use the space above it. */
body[data-page="vi4"]:not(.purr-site-view) > .utility-strip,
body[data-page="vi4"]:not(.purr-site-view) > .ticker:not(.footer-ticker),
body[data-page="vi4"]:not(.purr-site-view) > .mewsic-invite,
body[data-page="vi4"]:not(.purr-site-view) .chaos-dock,
body[data-page="vi4"]:not(.purr-site-view) #flying-layer{display:none!important}
body[data-page="vi4"] .purr-page{padding:0}
body[data-page="vi4"] .purr-h1{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
body[data-page="vi4"] > .nav{position:sticky;top:0}
body[data-page="vi4"] .purr-stage{--purr-utility:calc(36px + env(safe-area-inset-bottom,0px));height:calc(100vh - var(--purr-head,var(--nav-height,98px)));height:calc(100dvh - var(--purr-head,var(--nav-height,98px)));min-height:0;max-height:none;border:0;scroll-margin-top:var(--purr-head,var(--nav-height,98px))}
body[data-page="vi4"] .purr-stage.is-fs,body[data-page="vi4"] .purr-stage:fullscreen{height:100%;width:100%;--purr-under-head:0px!important;scroll-margin-top:0}
body[data-page="vi4"] .purr-canvas{height:calc(100% - var(--purr-utility))}
body[data-page="vi4"] .purr-hud{bottom:var(--purr-utility)}
body[data-page="vi4"] .purr-stage.purr-intro-open .purr-panel-intro{max-height:calc(100% - 4px)}
body[data-page="vi4"] .purr-page-tools{position:absolute;z-index:4;left:0;right:0;bottom:0;height:var(--purr-utility);display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:3px max(10px,env(safe-area-inset-right,0px)) calc(3px + env(safe-area-inset-bottom,0px)) max(10px,env(safe-area-inset-left,0px));background:#19052c;border:0;border-top:0;touch-action:manipulation;color:#fff}
body[data-page="vi4"] .purr-page-tools button,body[data-page="vi4"] .purr-settings summary{min-height:30px;padding:4px 8px;border:1px solid transparent;border-radius:5px;box-shadow:none;background:#19052c;color:#e9dcf8;font:800 13px/1.2 var(--sans);cursor:pointer;transform:none}
body[data-page="vi4"] .purr-page-tools button:focus-visible,body[data-page="vi4"] .purr-settings summary:focus-visible{outline:2px solid var(--yellow);outline-offset:2px}
body[data-page="vi4"] .purr-page-exit{border-color:#6b5a83;color:var(--lime);margin-left:4px}
body[data-page="vi4"] .purr-page-save{display:none}
body[data-page="vi4"] .purr-settings{position:relative}
body[data-page="vi4"] .purr-settings summary{display:flex;align-items:center;list-style:none;min-width:56px;justify-content:center}
body[data-page="vi4"] .purr-settings summary::-webkit-details-marker{display:none}
body[data-page="vi4"] .purr-settings-menu{position:absolute;bottom:calc(100% + 9px);right:0;min-width:194px;display:grid;gap:7px;padding:10px;border:2px solid var(--pink);border-radius:6px;background:#19052c;box-shadow:0 4px 20px #0008}
body[data-page="vi4"] .purr-settings-menu button{text-align:left;min-height:42px}
body[data-page="vi4"] .purr-settings[inert]{opacity:.5}
.purr-page-return{display:none}
body[data-page="vi4"].purr-site-view .purr-page-return{display:block;position:fixed;right:max(12px,env(safe-area-inset-right,0px));bottom:max(12px,env(safe-area-inset-bottom,0px));z-index:1200;padding:12px 15px;border:3px solid var(--ink);box-shadow:3px 3px 0 var(--pink);background:var(--lime);color:var(--ink);font:900 13px/1.2 var(--mono);cursor:pointer}
body[data-page="vi4"].purr-site-view .purr-page-return:focus-visible{outline:3px solid var(--cyan);outline-offset:3px}
@media(max-width:760px){
 body[data-page="vi4"] .purr-page-tools{gap:6px;justify-content:space-between}
 body[data-page="vi4"] .purr-page-tools button{padding-inline:7px;font-size:12px}
 body[data-page="vi4"] .purr-page-save{display:block}
 body[data-page="vi4"] .purr-settings-menu{left:0;right:auto}
}

/* Bounded personal moments; the room keeps running and every control stays reachable. */
.purr-moment{position:absolute;z-index:5;top:calc(var(--purr-next-b,66px) + 8px);left:50%;width:min(330px,calc(100% - 32px));padding:12px 16px 13px;transform:translateX(-50%) rotate(-2deg);border:3px solid #2a0f3a;background:#fff7e5;box-shadow:5px 5px 0 #ff38b7,0 0 25px #ffd87333;text-align:center;color:#321344;pointer-events:none}
.purr-moment-stamp{display:block;font:900 12px/1.3 var(--mono);color:#842179}
.purr-moment-faces{display:flex;justify-content:center;gap:6px;height:74px;margin:6px 0}
.purr-moment-face{display:block;width:76px;height:76px}
.purr-moment-face canvas,.purr-moment-face img{width:100%;height:100%;object-fit:contain}
.purr-moment-name{display:block;font:900 28px/1 var(--heavy);color:#65144f}
.purr-moment-line{margin:6px 0;font:700 16px/1.2 var(--comic)}
.purr-moment[data-kind="word"] .purr-moment-line{font-size:26px;color:#9b1179}
.purr-moment-reward{display:inline-block;margin:2px 0 5px;padding:3px 7px;background:var(--lime);font:900 13px/1.2 var(--mono);border:1px solid #321344}
.purr-moment-album{display:block;margin:3px auto 0;padding:6px 8px;border:1px solid #6a295b;border-radius:3px;background:#fff1fa;color:#65144f;font:900 11px/1.2 var(--mono);cursor:pointer;pointer-events:auto}
body.motion-ok .purr-moment:not(.is-tucking){animation:purrMomentArrive .38s ease-out}
body.motion-ok .purr-moment.is-tucking{animation:purrMomentKeep .52s ease-in forwards}
.purr-celebrating .purr-ticker,.purr-celebrating .purr-card{visibility:hidden;pointer-events:none}
.purr-guide-parked .purr-coach,.purr-guide-parked .purr-paw,.purr-guide-parked .purr-qbadge,.purr-guide-parked .purr-explain{display:none!important}
@keyframes purrMomentArrive{from{opacity:0;transform:translateX(-50%) translateY(10px) rotate(-4deg) scale(.96)}to{opacity:1;transform:translateX(-50%) rotate(-2deg)}}
@keyframes purrMomentKeep{to{opacity:0;transform:translateX(calc(-50% + var(--moment-dx,0px))) translateY(var(--moment-dy,-80px)) rotate(8deg) scale(.1)}}
@media(max-height:500px){.purr-moment{width:280px;padding:7px 10px;top:calc(var(--purr-next-b,58px) + 3px)}.purr-moment-faces{height:42px;margin:3px 0}.purr-moment-face{width:44px;height:44px}.purr-moment-name{font-size:22px}.purr-moment-line{font-size:13px;margin:3px 0}.purr-moment[data-kind="word"] .purr-moment-line{font-size:21px}}

.purr-moment.is-tucking .purr-moment-album{pointer-events:none}

@media(max-width:760px){.purr-moment{left:calc(50% - 24px);width:min(330px,calc(100% - 84px))}}

/* Owner correction, 12.11.: the floating site ad has no place on PURRTURES, in any view.
   Scope to the page so the shared ad returns after SPA navigation to the rest of the site. */
body[data-page="vi4"] #chaos-ad{display:none!important}
/* Compact controls use the full width on shallow landscape screens. */
.purr-compact-landscape .purr-top{gap:5px}
.purr-compact-landscape .purr-tools,.purr-compact-landscape .purr-favs{gap:4px}
.purr-compact-landscape .purr-favs{min-width:44px}
.purr-compact-landscape .purr-top .purr-round,.purr-compact-landscape .purr-top .purr-fav{width:40px;min-width:40px;height:40px;padding:0;border-radius:50%;font-size:20px}
.purr-compact-landscape .purr-top .purr-t-label,.purr-compact-landscape .purr-fav-name{display:none!important}
.purr-compact-landscape .purr-top .purr-t-love,.purr-compact-landscape .purr-top .purr-t-mice{width:auto;min-width:44px;display:grid;grid-template-rows:auto auto;justify-items:center;align-content:center;gap:0;padding:0 4px}
.purr-compact-landscape .purr-love-i,.purr-compact-landscape .purr-mice-i{font-size:12px;line-height:1}
.purr-compact-landscape .purr-love-n,.purr-compact-landscape .purr-mice-n{font-size:12px;line-height:1.1}
.purr-compact-landscape .purr-pin-n{position:absolute;top:-6px;right:-6px;padding:1px 4px;border-radius:9px;background:var(--lime);font-size:11px}
/* The exit is always one tap away, also where the ordinary phone toolbar folds its fullscreen entry. */
.purr-fullscreen-exit{display:none}
@media(max-width:430px){body.purr-fs-on .purr-stage .purr-fullscreen-exit{display:block}}


/* V14: one sequence of all words. Explicit controls stay together; optional explanations scroll locally. */
.purr-school.purr-school-v14{top:calc(var(--purr-next-b,66px) + 8px);width:340px;max-height:calc(100% - var(--purr-next-b,66px) - var(--purr-shelf-h,66px) - 20px);padding:8px;display:grid;grid-template-columns:minmax(0,1fr);align-items:start;gap:6px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}
.purr-school-v14 .purr-school-heading{display:flex;align-items:center;gap:6px;position:sticky;top:-8px;z-index:3;background:#5914a4;margin:-2px -2px 0;padding:2px;min-height:30px;grid-column:1/-1}
.purr-school-v14 .purr-school-h{display:block;flex:1;margin:0;font-size:15px;text-align:left}
.purr-school-v14 .purr-school-x,.purr-school-helpbtn{position:static;flex:none;width:30px;height:30px;padding:0;border:2px outset #fff;border-radius:6px;background:#edeeae;color:#25113b;font:900 17px/1 var(--sans);cursor:pointer}
.purr-school-helpbtn[aria-expanded="true"]{background:var(--lime)}
.purr-school-v14 .purr-screen{min-height:64px;padding:5px;gap:2px;display:grid;justify-items:center;grid-template-columns:1fr}
.purr-school-v14 .purr-screen-g{font-size:23px;min-height:23px}.purr-school-v14 .purr-screen-w{font-size:22px;overflow-wrap:anywhere}.purr-school-v14 .purr-screen-s{font-size:11px;line-height:1.2}
.purr-school-v14 .purr-school-btns{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:5px;margin:0;justify-items:stretch}
.purr-school-v14 .purr-sbc{display:block;grid-column:span 2;min-width:0}.purr-school-v14 .purr-sbc:nth-last-child(-n+2){grid-column:span 3}
.purr-school-v14 .purr-sb{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;width:100%;height:auto;min-height:44px;padding:4px;border:2px outset #e9d8ff;border-radius:6px;background:linear-gradient(#d3b8ff,#9862df);color:#21102d;box-shadow:2px 2px 0 #160922;font:900 11px/1.1 var(--sans);cursor:pointer;touch-action:manipulation}
.purr-school-v14 .purr-sb.is-lit{background:linear-gradient(#edffc8,#a3dd40)}.purr-school-v14 .purr-sb-power.is-lit{background:linear-gradient(#ffd2d9,#ff8eaa)}
.purr-school-v14 .purr-sb-icon{font-size:16px;line-height:16px}.purr-school-v14 .purr-sb-word{text-align:center;overflow-wrap:anywhere}
.purr-school-picker-label{display:flex;align-items:center;gap:8px;font:900 10px/1.2 var(--mono)}
.purr-school-picker{flex:1;min-width:0;min-height:34px;width:100%;padding:4px;border:2px inset #eee;background:#fff9de;color:#21102d;font:700 13px/1.2 var(--sans)}
.purr-school-people,.purr-school-lesson,.purr-school-hint{margin:0;font:700 12px/1.25 var(--sans);overflow-wrap:anywhere}
.purr-school-people{color:#efffcf}.purr-school-lesson{padding:4px;background:#fff7cc;color:#3d214e;border:1px solid #d0ae58}.purr-school-hint{color:#e7d8ff;font-size:11px}
.purr-school-help{padding:7px;border:2px solid var(--yellow);background:#fff9df;color:#28133e;font:700 12px/1.3 var(--sans)}.purr-school-help p{margin:0 0 6px}.purr-school-help p:last-child{margin:0}
.purr-school-v14 .purr-school-empty{display:block;margin:0;grid-column:1/-1}.purr-school-v14 .purr-school-none{font-size:12px}
.purr-school-v14 :is(button,select):focus-visible{outline:3px solid var(--cyan);outline-offset:2px}
.purr-toy-tray .purr-t-food[aria-disabled="true"] .purr-toy-picture{opacity:.5}
@media(max-width:760px){.purr-school.purr-school-v14,.purr-school.purr-school-v14.is-empty{top:auto;bottom:calc(var(--purr-shelf-h,58px) + 8px + var(--purr-school-lift,0px));left:8px;right:8px;width:auto;grid-template-columns:minmax(0,1fr)}}
@media(max-height:500px) and (min-width:761px){
 .purr-school.purr-school-v14,.purr-school.purr-school-v14.is-empty{top:auto!important;bottom:calc(var(--purr-shelf-h,66px) + 8px);left:calc(var(--purr-tray-w,80px) + 20px);right:8px;width:auto;max-height:calc(100% - var(--purr-top-b,56px) - var(--purr-shelf-h,66px) - 12px);grid-template-columns:minmax(82px,.6fr) minmax(0,2fr);gap:5px;padding:5px}
 .purr-school-v14 .purr-school-heading{top:-5px;min-height:26px}.purr-school-v14 .purr-school-h{font-size:12px}.purr-school-v14 .purr-school-x,.purr-school-v14 .purr-school-helpbtn{width:26px;height:26px}
 .purr-school-v14 .purr-screen{min-height:44px;padding:3px}.purr-school-v14 .purr-screen-g{display:none}.purr-school-v14 .purr-screen-w{font-size:17px}.purr-school-v14 .purr-screen-s{font-size:9px}
 .purr-school-v14 .purr-school-btns{grid-template-columns:repeat(5,minmax(0,1fr));gap:4px}.purr-school-v14 .purr-sbc,.purr-school-v14 .purr-sbc:nth-last-child(-n+2){grid-column:auto}.purr-school-v14 .purr-sb{font-size:9px;min-height:44px;padding:3px 1px}.purr-school-v14 .purr-sb-icon{font-size:13px;line-height:14px}
 .purr-school-v14 :is(.purr-school-picker-label,.purr-school-people,.purr-school-lesson,.purr-school-hint,.purr-school-help){grid-column:1/-1}
}

/* A fresh house has only FOOD: reserve two lines for the hold/drag/release instruction. */
.purr-toy-tray{padding-bottom:29px}

/* Open help scrolls inside the school; its tray never covers HOME or NEXT on a phone. */
@media(max-width:760px){.purr-school.purr-school-v14,.purr-school.purr-school-v14.is-empty{max-height:max(150px,calc(100% - var(--purr-next-b,110px) - var(--purr-shelf-h,90px) - var(--purr-tray-h,102px) - 24px))}}

/* An explicit explanation owns the reading space; background tips and moments wait. */
.purr-explain-open .purr-coach{display:none!important}
.purr-moment-dismiss{min-height:34px;padding:7px 16px!important;background:var(--lime)!important;color:#321344!important}
@media(min-width:761px) and (max-height:500px){.purr-in-school .purr-next{display:none!important}}

/* Persistent notices keep their explicit close outside the locally scrolling copy. */
.purr-moment{display:flex;flex-direction:column;max-height:calc(100% - var(--purr-top-b,56px) - var(--purr-shelf-h,66px) - 18px);overflow:hidden;pointer-events:auto}
.purr-moment-body{min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
.purr-moment-dismiss{flex:none;align-self:center;margin-top:7px}
@media(max-height:500px){.purr-moment{top:calc(var(--purr-top-b,56px) + 6px);padding:5px 9px}.purr-moment-dismiss{min-height:30px;margin:3px auto 0;padding:4px 12px!important}}

/* Short landscape: leave the tray lane free and keep explicit reading controls in view. */
@media(min-width:761px) and (max-height:500px){
 .purr-next{left:calc(var(--purr-tray-w,80px) + 20px);max-width:calc(100% - var(--purr-tray-w,80px) - 30px)}
 .purr-explain{display:grid;grid-template-columns:minmax(0,1fr) auto auto;grid-template-rows:auto minmax(0,1fr);gap:5px 8px;width:min(520px,calc(100% - 24px));max-height:calc(100% - var(--purr-top-b,56px) - var(--purr-shelf-h,66px) - 16px);padding:7px 9px;overflow:hidden}
 .purr-explain-h{grid-column:1;grid-row:1;margin:0;padding:0;align-self:center;font-size:18px}
 .purr-explain-ok{grid-column:2;grid-row:1;margin:0;min-height:30px;padding:4px 9px;font-size:12px}
 .purr-explain-x{grid-column:3;grid-row:1;position:static;margin:0;width:30px;height:30px;min-width:30px;min-height:30px}
 .purr-explain-t{grid-column:1/-1;grid-row:2;min-height:0;margin:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;font-size:13px;line-height:1.3}
}

/* An explicitly unfolded card gets a readable overlay on short screens. The header and roster stay outside it. */
.purr-compact-landscape .purr-card:not(.is-min):not(.is-under){top:4px;left:10px;width:min(360px,calc(100% - 28px));max-height:calc(100% - var(--purr-shelf-h,66px) - 12px);z-index:9}
.purr-compact-landscape:has(.purr-toy-tray:not([hidden])) .purr-card:not(.is-min):not(.is-under){left:calc(var(--purr-tray-w,74px) + 16px);width:min(360px,calc(100% - var(--purr-tray-w,74px) - 32px))}
.purr-compact-landscape .purr-card:not(.is-min):not(.is-under) .purr-card-head{position:sticky;top:-10px;z-index:2;grid-template-columns:36px 1fr auto;gap:6px;padding-bottom:6px;background:#350955;border-bottom:1px solid #7b4a9c}
.purr-compact-landscape .purr-card:not(.is-min):not(.is-under) .purr-card-pic{width:36px;height:36px}
.purr-compact-landscape .purr-card:not(.is-min):not(.is-under) .purr-card-name{font-size:20px}
.purr-compact-landscape .purr-card:not(.is-min):not(.is-under) .purr-card-mood{display:none}

/* v15.3: a small named record player, present even while its source is stopped. */
.purr-player{left:auto;right:8px;translate:0;display:flex;flex-direction:column;gap:5px;width:330px;max-width:calc(100% - 20px);padding:7px 10px;color:#fff;bottom:calc(var(--purr-bar-b,76px) + var(--purr-player-lift,0px))}
.purr-player-head{display:flex;align-items:center;justify-content:space-between;gap:12px;font:900 12px/1.2 var(--mono)}
.purr-player-title{color:var(--yellow);letter-spacing:.6px}
.purr-player-state{font-size:10px;white-space:nowrap;color:#c8c0d0}
.purr-player[data-playing="true"] .purr-player-state{color:var(--lime)}
.purr-player-song{display:block;min-width:0;font:900 16px/1.2 var(--heavy);overflow-wrap:anywhere}
.purr-player-picker{display:block;box-sizing:border-box;width:100%;min-width:0;min-height:44px;padding:6px 8px;border:3px solid var(--ink);border-radius:8px;background:#fff5ff;color:var(--ink);font:900 14px/1.2 var(--heavy);cursor:pointer}
.purr-player-picker:focus-visible{outline:3px solid var(--yellow);outline-offset:2px}
.purr-player-picker:disabled{opacity:.55;cursor:default}
.purr-player-buttons{display:flex;gap:7px}
.purr-player .purr-mixbtn{flex:1;min-width:0;min-height:44px;padding:5px 8px;font-size:13px;letter-spacing:0}
.purr-player .purr-mix-play{background:linear-gradient(#efffb0,var(--lime))}
.purr-player .purr-mix-stop{background:linear-gradient(#ffd5f3,#ff97d7)}
.purr-player .purr-mixbtn:focus-visible,.purr-player summary:focus-visible{outline:3px solid var(--yellow);outline-offset:3px}
.purr-player .purr-mixbtn:disabled{opacity:.55;cursor:default}
.purr-player-tricks{font:800 11px/1.2 var(--mono)}
.purr-player-tricks summary{width:max-content;min-height:24px;padding:5px 0;cursor:pointer;color:var(--yellow)}
.purr-player-tricks .purr-player-buttons{margin-top:3px}
@media(max-width:760px){.purr-player{width:310px;padding:6px 8px}.purr-player-head{font-size:11px}.purr-player-song{font-size:15px}}
.purr-compact-landscape .purr-player{width:330px;padding:5px 8px;gap:3px}
.purr-compact-landscape .purr-player-head{font-size:10px}
.purr-compact-landscape .purr-player-song{font-size:14px}

/* Short landscape keeps the player on the shelf's right, below NEXT and beside the cat card. */
.purr-compact-landscape .purr-player{left:auto;right:8px;translate:0;bottom:calc(var(--purr-shelf-h,66px) + 2px);display:grid;grid-template-columns:minmax(0,1fr) 208px;grid-template-rows:auto auto;gap:0 6px;padding:4px 6px}
.purr-compact-landscape .purr-player-head{grid-column:1;grid-row:1;align-items:flex-start;gap:0;font-size:9px;line-height:1.15}
.purr-compact-landscape .purr-player-state{display:none}
.purr-compact-landscape .purr-player-song{grid-column:1;grid-row:2;font-size:11px;line-height:1.15;align-self:start}
.purr-compact-landscape .purr-player>.purr-player-buttons{grid-column:2;grid-row:1/4;align-self:center;gap:4px}
.purr-compact-landscape .purr-player .purr-mixbtn{min-height:44px;padding:4px 2px;font-size:11px}
.purr-compact-landscape.purr-card-open .purr-player{width:250px;grid-template-columns:minmax(0,1fr) 158px}
.purr-compact-landscape:has(.purr-player:not([hidden])) .purr-card{max-width:calc(100% - 280px)}
.purr-compact-landscape:has(.purr-player:not([hidden])):has(.purr-toy-tray:not([hidden])) .purr-card{max-width:calc(100% - var(--purr-tray-w,74px) - 280px)}
.purr-compact-landscape .purr-player-tricks{grid-column:1;grid-row:3;font-size:9px}
.purr-compact-landscape .purr-player-tricks summary{min-height:24px;padding:4px 0;max-width:100%;font-size:8px;white-space:nowrap}
.purr-compact-landscape .purr-player-tricks .purr-player-buttons{position:absolute;right:0;bottom:calc(100% + 5px);width:220px;padding:7px;border:2px solid var(--yellow);border-radius:8px;background:#350955;box-shadow:3px 3px 0 var(--ink)}

/* v15.4: OFF removes this panel; X only hides its active controls. */
.purr-player .purr-player-close{flex:0 0 44px;width:44px;min-width:44px;height:44px;padding:0;font:900 20px/1 var(--sans);background:linear-gradient(#ffd9f4,#ff8cd3)}
@media(max-width:760px){.purr-player .purr-mixbtn:not(.purr-player-close){font-size:12px;padding-left:3px;padding-right:3px}}
.purr-compact-landscape .purr-player{width:330px;grid-template-columns:minmax(0,1fr) 190px}
.purr-compact-landscape.purr-card-open .purr-player{width:330px;grid-template-columns:minmax(0,1fr) 190px}
.purr-compact-landscape .purr-player-picker{min-height:44px;padding:4px 2px;font-size:11px}
.purr-compact-landscape:has(.purr-player:not([hidden])) .purr-card{max-width:calc(100% - 360px)}
.purr-compact-landscape:has(.purr-player:not([hidden])):has(.purr-toy-tray:not([hidden])) .purr-card{max-width:calc(100% - var(--purr-tray-w,74px) - 360px)}

/* 15.11. fix round: a short screen held sideways (a phone: always the game-only view, see the end of this file).
   The hatch postcard there: its faces beside its words and the album and meme links side by side, so the name, the
   reward and both links show whole above GOT IT (stacked, the links lay under the button or outside the card). */
@media (orientation:landscape) and (max-height:500px){
 .purr-moment{width:min(430px,calc(100% - 84px))}
 .purr-moment-body{display:grid;grid-template-columns:auto minmax(0,1fr) minmax(0,1fr);align-items:center;column-gap:8px}
 .purr-moment-stamp{grid-column:1/-1}
 .purr-moment-faces{grid-column:1;grid-row:2/span 3;height:auto;margin:0}
 .purr-moment-name,.purr-moment-line,.purr-moment-reward{grid-column:2/-1}
 .purr-moment-reward{justify-self:center;margin:1px 0 3px}
 .purr-moment-body .purr-moment-album{grid-column:1/span 2;justify-self:center;margin:2px 0 0}
 .purr-moment-body .purr-moment-album:last-child{grid-column:1/-1}
 .purr-moment-body .purr-moment-meme{grid-column:3;min-height:0;padding:6px 4px}
}

/* 15.11. (the owner's decision): the notice line in the page body right below the game, in the page's small print (the
   look of the line that stood under the stage, .purr-domains). THE SITE GOES ON scrolls to the directory under it:
   the directory stops below the header by the line's height there (--purr-notice instead of the shell's 16 px gap,
   99-ux-shell.css main [id]), so the notice stays in sight. Its text takes one line (46 px with the padding), two on
   phones held sideways and wide phones, three up to 411 px. The link's padding only widens where a finger may tap.
   18.11. (the owner's decision): the line also links to /our-story/, so each size reserves one line
   more: one line from 1024 px (46 px), two below that (67 px), three from 412 to 760 px (88 px), four up to 411 px
   (109 px). Measured in Comic Sans MS: the text takes two lines below 970 px, three up to 512 px, four up to 383 px
   (with a 15 px page scrollbar: 985, 527 and 398 px), so no size is short of room and a wider font has some spare. */
body[data-page="vi4"]{--purr-notice:46px}
.purr-notice{box-sizing:border-box;min-height:var(--purr-notice,46px);margin:0 auto;padding:12px 18px}
.purr-notice a{margin:-8px -4px;padding:8px 4px;color:var(--cyan);font-style:normal;text-underline-offset:3px}
.purr-notice a:focus-visible{outline:2px solid var(--yellow);outline-offset:-4px}
body[data-page="vi4"] #more-chaos{scroll-margin-top:calc(var(--nav-height,128px) + var(--purr-notice,46px))}
@media (max-width:1023px){body[data-page="vi4"]{--purr-notice:67px}}
@media (max-width:760px){body[data-page="vi4"]{--purr-notice:88px}}
@media (max-width:411px){body[data-page="vi4"]{--purr-notice:109px}}
/* 15.11. (the owner): Mi-Do and Yu-Na on the start card (beside its title, the egg between them; also the ?from= start
   card) and on the returning player's ▶ PLAY card (phones, hud.js), the home page promo's three pictures without its
   device frame. They hop with joy in turns, in calm mode too (the owner: a visitor from a campaign link must see them
   alive at once), so the hop is exempt from the reduced-motion rule (00-core.css). */
.purr-cats-art{--art-h:96px;display:flex;align-items:flex-end;justify-content:center;pointer-events:none}
.purr-cats-art img{display:block;width:auto;height:var(--art-h);transform-origin:50% 100%}
.purr-cats-art .purr-art-egg{position:relative;z-index:1;height:calc(var(--art-h) * .44);margin:0 -7px}
body .purr-cats-art .purr-art-mido{animation:purrArtHop 2.6s ease-in-out infinite!important}
body .purr-cats-art .purr-art-yuna{animation:purrArtHop 2.6s ease-in-out 1.3s infinite!important}
@keyframes purrArtHop{0%,42%,100%{transform:none}6%{transform:scale(1.05,.93)}15%{transform:translateY(-13%) rotate(-3deg)}24%{transform:scale(1.04,.95)}30%{transform:translateY(-5%) rotate(2deg)}36%{transform:none}}
.purr-panel-intro>.purr-cats-art{float:right;margin:6px -4px 4px 10px}
.purr-panel-intro .purr-panel-h{margin-right:0}
@media (max-width:760px){.purr-panel-intro>.purr-cats-art{--art-h:70px;margin:4px -6px 2px 6px}}
@media (max-height:500px){.purr-panel-intro>.purr-cats-art{--art-h:60px;margin:2px -4px 0 8px}}
.purr-playcard{position:absolute;left:50%;top:50%;z-index:5;transform:translate(-50%,-50%);display:grid;justify-items:center;gap:2px;width:min(250px,calc(100% - 24px));padding:12px 14px 4px;border:3px solid var(--ink);border-radius:10px;background:linear-gradient(180deg,#6f00f5,#2a0650);box-shadow:4px 4px 0 var(--pink),4px 4px 0 3px var(--ink)}
.purr-playcard-go{display:grid;justify-items:center;gap:8px;width:100%;padding:0;border:0;background:none;color:var(--ink);cursor:pointer}
.purr-playcard .purr-cats-art{--art-h:84px}
.purr-playcard-l{display:block;width:100%;padding:10px 8px;border:3px solid var(--ink);border-radius:8px;background:linear-gradient(180deg,#f4ffd0,var(--lime));box-shadow:3px 3px 0 var(--ink);font:900 24px/1 var(--heavy);letter-spacing:1px}
.purr-playcard-go:focus-visible{outline:3px dashed #fff;outline-offset:3px}
.purr-hud .purr-playcard-no{min-height:36px;padding:4px 12px;color:#f3e6ff}
@media (max-height:500px){.purr-playcard{padding:8px 12px 2px}.purr-playcard .purr-cats-art{--art-h:58px}.purr-playcard-l{padding:7px 8px;font-size:20px}.purr-hud .purr-playcard-no{min-height:30px}}

/* 15.11. (the owner, phones: a touch screen whose short side is at most 500 px, hud.js PHONE_Q). 💾 SAVE LINK says what
   it is for ("play on any device") and stands out wherever the page row shows it. */
.purr-page-save small{display:none}
@media (pointer:coarse) and (max-width:500px),(pointer:coarse) and (max-height:500px){
 body[data-page="vi4"] .purr-page-tools .purr-page-save{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;min-height:30px;padding:1px 12px;border:2px solid var(--ink);border-radius:15px;background:linear-gradient(180deg,#f4ffd0,var(--lime));box-shadow:2px 2px 0 var(--pink);color:var(--ink);font:900 13px/1 var(--heavy);letter-spacing:.4px}
 body[data-page="vi4"] .purr-page-save small{display:block;font:800 9px/1.1 var(--sans);letter-spacing:0}
}
/* The game-only view: in a phone's fullscreen (⛶, ▶ WARM THE EGGS, ▶ PLAY; body.purr-fs-on, hud.js) and always on a phone
   held sideways. Only the game shows: the stage lies over the whole screen (the site header and the page under it are
   not shown), the page does not scroll, THE SITE GOES ON is not there (⛶ is the way out; the "?" card's ↓ MORE PAGE
   neither). The page row moves to the top of the stage (♫ / ☁, 💾 SAVE LINK, ⛶ on the right); the room and the HUD
   start under it, so 💾 and ⛶ leave the HUD's own top row. The same rules twice: the fullscreen, the phone held sideways. */
@media (pointer:coarse) and (max-width:500px),(pointer:coarse) and (max-height:500px){
 html:has(>body[data-page="vi4"].purr-fs-on),body[data-page="vi4"].purr-fs-on{overflow:hidden;overscroll-behavior:none}
 body[data-page="vi4"].purr-fs-on .purr-stage{position:fixed;inset:0;z-index:10000!important;width:100%;height:100%;border:0;touch-action:none;scroll-margin-top:0;--purr-utility:34px;--purr-under-head:0px!important}
 body[data-page="vi4"].purr-fs-on .purr-canvas{top:var(--purr-utility);touch-action:none}
 body[data-page="vi4"].purr-fs-on .purr-hud{top:var(--purr-utility);bottom:0}
 body[data-page="vi4"].purr-fs-on .purr-page-tools{top:0;bottom:auto;justify-content:flex-start;gap:8px;padding:2px 8px;border-bottom:2px solid #6b5a83}
 body[data-page="vi4"].purr-fs-on .purr-page-tools .purr-page-exit,body[data-page="vi4"].purr-fs-on .purr-howto-page{display:none!important}
 body[data-page="vi4"].purr-fs-on .purr-page-tools .purr-fullscreen-exit{display:block;order:3;margin-left:auto;border-color:#6b5a83}
 body[data-page="vi4"].purr-fs-on .purr-page-tools .purr-settings-menu{top:calc(100% + 6px);bottom:auto;left:0;right:auto}
 body[data-page="vi4"].purr-fs-on .purr-tools>:is(.purr-t-save,.purr-t-fs){display:none}
}
@media (pointer:coarse) and (orientation:landscape) and (max-height:500px){
 html:has(>body[data-page="vi4"]),body[data-page="vi4"]{overflow:hidden;overscroll-behavior:none}
 body[data-page="vi4"] .purr-stage{position:fixed;inset:0;z-index:10000!important;width:100%;height:100%;border:0;touch-action:none;scroll-margin-top:0;--purr-utility:34px;--purr-under-head:0px!important}
 body[data-page="vi4"] .purr-canvas{top:var(--purr-utility);touch-action:none}
 body[data-page="vi4"] .purr-hud{top:var(--purr-utility);bottom:0}
 body[data-page="vi4"] .purr-page-tools{top:0;bottom:auto;justify-content:flex-start;gap:8px;padding:2px 8px;border-bottom:2px solid #6b5a83}
 body[data-page="vi4"] .purr-page-tools .purr-page-exit,body[data-page="vi4"] .purr-howto-page{display:none!important}
 body[data-page="vi4"] .purr-page-tools .purr-fullscreen-exit{display:block;order:3;margin-left:auto;border-color:#6b5a83}
 body[data-page="vi4"] .purr-page-tools .purr-settings-menu{top:calc(100% + 6px);bottom:auto;left:0;right:auto}
 body[data-page="vi4"] .purr-tools>:is(.purr-t-save,.purr-t-fs){display:none}
 /* the flat dock: the cats' buttons face + name (40 px), SFX and SAY round icons as on an upright phone; about a third
    of the old shelf and page row together */
 body[data-page="vi4"] .purr-shelf{height:46px;gap:6px;padding:0 6px;border-top-width:2px}
 body[data-page="vi4"] .purr-roster{gap:6px;padding:2px 4px 2px 2px}
 body[data-page="vi4"] .purr-chip{grid-template-columns:30px auto;grid-template-rows:auto;column-gap:5px;height:40px;padding:2px 10px 2px 3px;border-width:2px;box-shadow:inset -2px -2px 0 #0002,2px 2px 0 var(--ink)}
 body[data-page="vi4"] .purr-chip.is-sel{box-shadow:inset -2px -2px 0 #0002,0 0 0 2px #fff,2px 2px 0 2px var(--ink)}
 body[data-page="vi4"] .purr-chip-pic{grid-row:auto;width:30px;height:30px;border-width:2px}
 body[data-page="vi4"] .purr-chip .purr-age{display:none}
 body[data-page="vi4"] .purr-chip-name{font-size:13px}
 body[data-page="vi4"] .purr-chip-face{margin:-24px 0 0 17px;font-size:12px}
 body[data-page="vi4"] .purr-wait{font-size:13px}
 body[data-page="vi4"] .purr-mix{display:flex;align-items:center;flex:none}
 body[data-page="vi4"] .purr-mix-sfx{display:grid;place-items:center;width:40px;height:40px;min-height:0;padding:0;border-width:2px;border-radius:50%;box-shadow:2px 2px 0 var(--ink);font-size:0;line-height:0;overflow:hidden}
 body[data-page="vi4"] .purr-mix-sfx::before{content:"🔊";font-size:18px;line-height:1}
 body[data-page="vi4"] .purr-mix-sfx[aria-pressed="false"]::before{content:"🔇"}
 body[data-page="vi4"] .purr-saybtn{display:grid;place-items:center;width:40px;height:40px;padding:0;border-width:2px;border-radius:50%;box-shadow:2px 2px 0 var(--pink),2px 2px 0 2px var(--ink);font-size:20px;letter-spacing:0}
 body[data-page="vi4"] .purr-say-l{display:none}
}
/* An upright phone without the fullscreen: the site header is one slim row on this page (logo, ☰ MENU, MEWSIC, LESS
   CHAOS, MY STUFF); ☰ MENU opens the page links as a panel over the game (src/js/vi4.js). Every other page keeps its
   header as it is (the button is hidden there by 99-ux-shell.css, which every page loads). */
@media (pointer:coarse) and (orientation:portrait) and (max-width:500px){
 body[data-page="vi4"] > .nav{flex-wrap:nowrap;justify-content:flex-start;gap:6px;padding:6px 8px}
 body[data-page="vi4"] > .nav .brand{order:0;flex:0 1 auto;min-width:0}
 body[data-page="vi4"] > .nav .brand>span{font-size:16px}
 body[data-page="vi4"] > .nav .brand i{font-size:17px}
 body[data-page="vi4"] > .nav .brand small{max-width:92px;margin-top:4px;font-size:4.5px;letter-spacing:.4px;line-height:1.25;white-space:normal}
 body[data-page="vi4"] > .nav .nav-menu{display:block;order:1;flex:none;margin-left:auto;padding:7px 6px;border:1px solid var(--lime);background:#13091d;color:var(--lime);font:900 8px var(--mono);white-space:nowrap;cursor:pointer}
 body[data-page="vi4"] > .nav .nav-menu[aria-expanded="true"]{background:var(--lime);color:var(--ink)}
 body[data-page="vi4"] > .nav .nav-menu:focus-visible{outline:2px solid var(--yellow);outline-offset:2px}
 body[data-page="vi4"] > .nav .nav-tools{order:2;flex:none;flex-wrap:nowrap;gap:4px}
 body[data-page="vi4"] > .nav .nav-tools button{padding:7px 4px;font-size:7px;white-space:nowrap}
 body[data-page="vi4"] > .nav > nav{display:none}
 body[data-page="vi4"] > .nav.is-menu-open > nav{display:grid;position:absolute;top:100%;left:0;right:0;z-index:1;max-width:none;margin:0;padding:12px 10px 14px;background:linear-gradient(100deg,#16002afa,#510061fa);border-bottom:4px ridge var(--yellow);box-shadow:0 10px 25px #000a}
}
/* 18.11. (the owner, phones): an upright phone up to 430 px has no ⛶ in the HUD's top row (it is in the "?" card), so
   after leaving the game-only fullscreen no button on screen led back in. The page row shows ⛶ there as a small icon
   (hud.js: the same button as ⛶ EXIT in the fullscreen; aria-label and title "Fullscreen"), the first in the row. For
   the four to fit from 320 px the row is a little tighter (6 px at the edges, 4 px between) and THE SITE GOES ON ↓ may
   take two lines inside the row's height; ⛶, ♫ / ☁ and 💾 SAVE LINK keep their width. Inside the fullscreen, on a
   phone held sideways and on every wider screen nothing changes. */
@media (pointer:coarse) and (orientation:portrait) and (max-width:430px){
 body[data-page="vi4"]:not(.purr-fs-on) .purr-page-tools{gap:4px;padding-left:max(6px,env(safe-area-inset-left,0px));padding-right:max(6px,env(safe-area-inset-right,0px))}
 body[data-page="vi4"]:not(.purr-fs-on) .purr-page-tools>:is(.purr-fullscreen-exit,.purr-settings,.purr-page-save){flex:none}
 body[data-page="vi4"]:not(.purr-fs-on) .purr-page-tools .purr-fullscreen-exit{display:block;width:30px;padding:0;border-color:#6b5a83;font-size:0;line-height:0}
 body[data-page="vi4"]:not(.purr-fs-on) .purr-page-tools .purr-fullscreen-exit::before{content:"⛶";font-size:17px;line-height:1}
 body[data-page="vi4"]:not(.purr-fs-on) .purr-page-tools .purr-page-exit{margin-left:0;padding:0 6px;line-height:1.1;text-wrap:balance}
}

/* 53-vi4-album.css */
/* PURRTURES VI · the album book (07.11.2026, world step 6; view/book.js, the hud's panel 'album'): a late-90s scrapbook
   in the HUD's bevelled purple. Index tabs on top (one row on wide screens, three by two on phones; they stay at the top
   while a page scrolls), each page its own paper: POSTCARDS kraft board, SECRETS a sticker sheet, HEADLINES newsprint,
   PHOTOS a cork board with polaroids, VIDEOS a dark shelf of little TVs, CASES file folders. An empty slot is a silhouette
   with a "?" and its clue. Nothing moves in calm mode or without motion (body.motion-ok gates every animation). Loads
   after 52-vi4.css (name order). */
.purr-panel-album{isolation:isolate;width:min(900px,100%);border-color:#ffe45c #11061e #11061e #ffe45c;background:linear-gradient(180deg,#4b136e,#22063a)}
/* isolate: its sticky tabs and NEW tags stay inside it (a mission card a case opened lies over the whole book) */
/* one height whatever the page (the tabs never jump under the finger); a short page's paper fills it */
.purr-panel-album:has(.purr-book){display:flex;flex-direction:column;height:min(860px,calc(100% - 4px))}
.purr-panel-album:has(.purr-book) .purr-panel-body{flex:1 0 auto;display:flex;flex-direction:column}
.purr-book{flex:1 0 auto;display:flex;flex-direction:column}
.purr-book-page:not([hidden]){flex:1 0 auto}
.purr-panel-album .purr-panel-h{color:var(--yellow);text-shadow:3px 3px 0 var(--pink),0 0 14px #ff00bd88}
.purr-book{--paper:#efdcb8;position:relative}
/* ---------- the index tabs */
/* step 6 last fixes (a phone playtest: card text showed between the tabs while the page scrolled): the sticky block is
   solid */
.purr-book-tabs{position:sticky;top:-16px;z-index:3;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;margin:0 -18px;padding:8px 58px 0 18px;background:#3d0d5c}
.purr-book-tab{position:relative;display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:6px;align-items:center;min-height:52px;padding:7px 8px 6px;
  border:3px solid var(--ink);border-bottom:0;border-radius:10px 10px 0 0;background:var(--tab,#c9a7ff);color:var(--ink);text-align:left;cursor:pointer;
  box-shadow:inset 2px 2px 0 #ffffff88,inset -2px 0 0 #0002;transform:translateY(5px);transition:transform .12s}
.purr-book-tab:hover{transform:translateY(2px)}
.purr-book-tab.is-on{transform:none;z-index:1;box-shadow:inset 2px 2px 0 #ffffffaa,0 -3px 0 var(--pink)}
.purr-book-tab:focus-visible{outline:3px solid var(--cyan);outline-offset:2px}
.purr-book-ti{grid-row:1/3;font:400 22px/1 sans-serif}
.purr-book-tw{font:900 15px/1 var(--heavy);letter-spacing:.6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.purr-book-n{font:900 11px/1.2 var(--mono);font-style:normal;opacity:.8}
.purr-book-new{position:absolute;right:-6px;top:-9px;padding:2px 6px;border:2px solid var(--ink);border-radius:9px;background:var(--lime);color:var(--ink);font:900 10px/1.1 var(--mono);font-style:normal;letter-spacing:.4px;box-shadow:2px 2px 0 var(--ink);transform:rotate(6deg)}
.purr-book-new[hidden]{display:none}
.purr-book-new-in{right:auto;left:6px;top:6px;z-index:2;transform:rotate(-6deg)}
.purr-book-tab-postcards{--tab:#8cecff}.purr-book-postcards{--paper:#efdcb8}
.purr-book-tab-secrets{--tab:#ffe45c}.purr-book-secrets{--paper:#fff3c4}
.purr-book-tab-headlines{--tab:#f1ead6}.purr-book-headlines{--paper:#d9d2c0}
.purr-book-tab-photos{--tab:#ff9fd2}.purr-book-photos{--paper:#c99a66}
.purr-book-tab-videos{--tab:#c9a7ff}.purr-book-videos{--paper:#2a1046}
.purr-book-tab-cases{--tab:#f4d58d}.purr-book-cases{--paper:#dfe6f0}
/* ---------- the pages: paper */
.purr-book-page{position:relative;padding:16px 14px 18px;border:3px solid var(--ink);border-radius:0 0 8px 8px;background:var(--paper);color:var(--ink);
  background-image:radial-gradient(#0000000d 1px,transparent 1.2px);background-size:14px 14px;box-shadow:5px 5px 0 var(--ink)}
.purr-book-page[hidden]{display:none}
.purr-book-page .purr-panel-text,.purr-book-lead{color:var(--ink);font:700 15px/1.4 var(--comic)}
.purr-book-lead{margin:0 0 14px;max-width:62ch}
.purr-book-foot{margin:14px 0 0;font:900 13px/1.3 var(--mono);text-align:center}
/* the POSTCARDS page is the hud's (the unlock postcards, the riddle cards) on kraft board */
.purr-book-postcards .purr-unlocked-h{color:#6f00f5;text-shadow:2px 2px 0 #ffd1f0}
.purr-book-postcards .purr-pc{box-shadow:4px 4px 0 var(--ink)}
/* the album's table of contents under the postcards: an index card, a line per page */
.purr-book-index{display:grid;gap:6px;max-width:560px;margin:18px auto 0;padding:12px 14px 14px;border:3px solid var(--ink);background:#fffdf4;
  background-image:linear-gradient(#ff9fd2 0 0);background-size:2px 100%;background-position:34px 0;background-repeat:no-repeat;
  box-shadow:4px 4px 0 var(--ink);transform:rotate(-.6deg)}
.purr-book-index-h{margin:0 0 4px 30px;font:900 20px/1 var(--heavy);letter-spacing:.6px}
.purr-book-index-row{display:grid;grid-template-columns:28px auto 1fr auto;align-items:center;column-gap:8px;min-height:44px;padding:4px 8px;border:2px solid transparent;border-bottom-color:#8fbcff88;border-radius:8px;background:none;color:var(--ink);text-align:left;cursor:pointer}
.purr-book-index-row:hover,.purr-book-index-row:focus-visible{border-color:var(--ink);background:#fff3c4;outline:none}
.purr-book-index-l{font:700 14px/1.25 var(--comic)}
.purr-book-index-row .purr-book-ti{grid-row:auto;font-size:20px}
.purr-book-index-row .purr-book-n{white-space:nowrap}
/* a "?" over an empty slot */
.purr-stk-q{position:absolute;left:50%;top:50%;z-index:1;display:grid;place-items:center;width:34px;height:34px;margin:-17px 0 0 -17px;border:3px solid var(--ink);border-radius:50%;
  background:#fff;color:var(--ink);font:900 22px/1 Georgia,'Times New Roman',serif;box-shadow:3px 3px 0 var(--ink)}
/* ---------- SECRETS: the sticker sheet */
.purr-stickers{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:14px}
.purr-stk{position:relative;display:grid;grid-template-rows:auto auto 1fr;justify-items:center;gap:5px;padding:10px 8px 12px;border:3px solid var(--ink);border-radius:14px;background:#fffdf4;text-align:center;box-shadow:3px 3px 0 #11061e55}
.purr-stk:nth-child(3n+1){transform:rotate(-1deg)}.purr-stk:nth-child(3n+2){transform:rotate(.8deg)}
.purr-stk.is-empty{border-style:dashed;background:#fff8dc;box-shadow:none}
.purr-stk-pic{position:relative;display:grid;place-items:center;width:104px;height:104px}
.purr-stk-art{position:relative;display:grid;place-items:center;width:100%;height:100%}
.purr-stk-img,.purr-stk-cv{display:block;max-width:96px;max-height:96px;width:auto;height:auto;object-fit:contain}
.purr-stk-cv{width:96px;height:96px}
/* a die-cut sticker: a white edge and a soft shadow around the picture */
.purr-stk.is-found .purr-stk-art{filter:drop-shadow(2px 0 0 #fff) drop-shadow(-2px 0 0 #fff) drop-shadow(0 2px 0 #fff) drop-shadow(0 -2px 0 #fff) drop-shadow(2px 3px 0 #11061e55)}
/* the empty slot: the sticker's silhouette inside a dotted outline */
.purr-stk.is-empty .purr-stk-pic{border:3px dotted #11061e55;border-radius:50%}
.purr-stk.is-empty .purr-stk-art{filter:brightness(0) opacity(.2)}
.purr-stk-duo{position:relative}
.purr-stk-duo .purr-stk-sprig{position:absolute;left:46%;top:2%;max-width:52px;max-height:52px;transform:rotate(-14deg)}
.purr-stk-emoji{font:400 56px/1 sans-serif}
.purr-stk-t{font:900 16px/1.1 var(--heavy);letter-spacing:.4px}
.purr-stk-where{font:700 12px/1.3 var(--mono)}
.purr-stk-clue{margin:0;font:italic 700 14px/1.3 var(--comic);color:#4a2a63}
/* 08.11.: what a found secret gave; the keepsakes at the SECRETS page's foot (the night light, the firefly lantern) */
.purr-stk-extra{font:700 12px/1.3 var(--mono);color:#7a2a8a}
.purr-keeps-h{margin:22px 0 10px;text-align:center}
.purr-keeps{grid-template-columns:repeat(auto-fill,minmax(150px,200px));justify-content:center}
.purr-keep{position:relative;display:grid;grid-template-rows:auto auto 1fr;justify-items:center;gap:5px;padding:10px 8px 12px;border:3px solid var(--ink);border-radius:14px;background:#fffdf4;text-align:center;box-shadow:3px 3px 0 #11061e55}
.purr-keep.is-found .purr-stk-art{filter:drop-shadow(2px 0 0 #fff) drop-shadow(-2px 0 0 #fff) drop-shadow(0 2px 0 #fff) drop-shadow(0 -2px 0 #fff) drop-shadow(2px 3px 0 #11061e55)}
.purr-keep.is-empty{border-style:dashed;background:#fff8dc;box-shadow:none}
.purr-keep.is-empty .purr-stk-pic{border:3px dotted #11061e55;border-radius:50%}
.purr-keep.is-empty .purr-stk-art{filter:brightness(0) opacity(.2)}
.purr-keep-n{font:900 15px/1 var(--mono);letter-spacing:.5px}
/* ---------- HEADLINES: ONLY IN MEOWONIDA */
.purr-news{position:relative;padding:12px 12px 16px;border:3px solid var(--ink);background:#f6f1e3;box-shadow:4px 4px 0 #11061e66}
.purr-news-mast{display:grid;justify-items:center;gap:3px;padding:2px 0 8px;margin:0 0 10px;border-bottom:5px double var(--ink);text-align:center}
.purr-news-name{font:900 clamp(24px,5vw,40px)/1 Georgia,'Times New Roman',serif;letter-spacing:1px;text-transform:uppercase}
.purr-news-sub{font:italic 700 12px/1 Georgia,serif;letter-spacing:.6px}
.purr-news-need,.purr-news-lead{margin:0 0 10px;font:700 14px/1.35 Georgia,serif;text-align:center}
.purr-news-need{font:900 14px/1.2 var(--mono)}
.purr-news-front{display:grid;justify-items:center;gap:2px;margin:0 auto 10px;padding:6px 18px;width:max-content;max-width:100%;border:3px solid var(--ink);background:#d0102f;color:#fff;
  font:900 20px/1.1 var(--heavy);letter-spacing:1px;box-shadow:3px 3px 0 var(--ink);transform:rotate(-1.5deg);text-align:center}
.purr-news-front span{font:700 13px/1.2 var(--comic);letter-spacing:0}
/* the full front page: a golden frame */
.purr-news.is-front{border:7px double #b8860b;box-shadow:0 0 0 4px #ffe680,0 0 0 7px var(--ink),0 0 26px #ffd24099}
.purr-news-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:12px}
.purr-clip{position:relative;display:grid;grid-template-columns:96px 1fr;grid-template-rows:auto 1fr;column-gap:10px;row-gap:4px;padding:10px;background:#fbf8ee;border:2px solid #11061e88;
  clip-path:polygon(0 2%,6% 0,14% 2%,24% 0,36% 2%,48% 0,60% 2%,72% 0,84% 2%,94% 0,100% 2%,100% 97%,93% 100%,82% 98%,70% 100%,58% 98%,46% 100%,34% 98%,22% 100%,10% 98%,0 100%)}
.purr-clip:nth-child(2n){transform:rotate(.7deg)}.purr-clip:nth-child(3n){transform:rotate(-.8deg)}
.purr-clip-pic{grid-row:1/3;position:relative;display:grid;place-items:center;width:96px;height:96px;border:2px solid var(--ink);background:#ddd6c4;overflow:hidden}
.purr-clip.is-found .purr-clip-pic::after{content:'';position:absolute;inset:0;background-image:radial-gradient(#11061e33 .8px,transparent 1.1px);background-size:3px 3px;pointer-events:none}
.purr-clip-art{display:grid;place-items:center;width:100%;height:100%;filter:grayscale(1) contrast(1.35) brightness(1.05)}
.purr-clip-art .purr-stk-img,.purr-clip-art .purr-stk-cv{max-width:86px;max-height:86px}
.purr-clip-art .purr-stk-cv{width:86px;height:86px}
.purr-clip-q{font:900 40px/1 Georgia,serif;color:#11061e55}
.purr-clip-h{margin:0;font:900 15px/1.12 Georgia,'Times New Roman',serif;text-transform:uppercase}
.purr-clip-hint{margin:0;font:italic 700 14px/1.3 var(--comic);color:#4a2a63}
.purr-clip-where{align-self:end;font:700 11px/1.2 var(--mono)}
.purr-clip.is-empty{background:#efe9d9;border-style:dashed}
/* ---------- PHOTOS: polaroids on cork */
.purr-book-photos{background-image:radial-gradient(#5a35184d 1.4px,transparent 1.6px),radial-gradient(#ffffff2e 1px,transparent 1.3px);background-size:9px 9px,13px 13px;background-position:0 0,4px 6px}
.purr-book-photos .purr-book-lead,.purr-book-photos .purr-book-foot{display:block;padding:6px 10px;background:#fffdf4;border:2px solid var(--ink);box-shadow:3px 3px 0 #11061e66}
.purr-book-photos .purr-book-foot{width:max-content;max-width:100%;margin:16px auto 0}
.purr-polas{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:18px 16px}
.purr-pola{position:relative;margin:0;padding:10px 10px 12px;background:#fff;border:1px solid #11061e33;box-shadow:3px 4px 0 #11061e66,0 0 0 1px #fff inset;transform:rotate(-2deg)}
.purr-pola:nth-child(2n){transform:rotate(1.6deg)}.purr-pola:nth-child(3n){transform:rotate(-.6deg)}
.purr-pola::before{content:'';position:absolute;left:50%;top:-9px;width:64px;height:18px;margin-left:-32px;background:#fff6a8cc;border:1px solid #11061e22;transform:rotate(-3deg)}
.purr-pola-pic{position:relative;aspect-ratio:1;overflow:hidden;background:radial-gradient(circle at 50% 38%,#8a2be2,#3a0b63 62%,#16052a);border:1px solid #11061e}
.purr-pola-neon{position:absolute;left:50%;top:6%;width:72%;height:auto;transform:translateX(-50%);opacity:.95}
.purr-pola-pair{position:absolute;left:0;right:0;bottom:5%;display:flex;justify-content:center}
.purr-pola-pair .purr-face+.purr-face{margin-left:-8px}
.purr-face{display:inline-grid;place-items:center;border-radius:50%;overflow:hidden;line-height:0}
.purr-face canvas{display:block;width:100%;height:100%}
.purr-pola-pair .purr-face{width:78px;height:78px;border:3px solid #fff;background:#ffd1f0;box-shadow:0 0 12px #ff00bdaa}
.purr-pola-cap{display:grid;gap:2px;padding-top:9px;text-align:center}
.purr-pola-t{font:700 18px/1.1 var(--comic)}
.purr-pola-who{font:900 12px/1.2 var(--mono)}
.purr-pola-line{font:italic 700 13px/1.25 var(--comic);color:#4a2a63}
/* 11.11.: a real photo beside the collected memories; its link never changes the book's counters. */
.purr-pola-real{display:block;width:min(230px,100%);margin:26px auto 6px;color:var(--ink);text-decoration:none}
.purr-pola-real-img{display:block;width:100%;height:auto;border:1px solid #11061e}
.purr-pola-real:focus-visible{outline:3px solid var(--ink);outline-offset:5px}
.purr-pola-real:hover .purr-pola-cap{text-decoration:underline;text-underline-offset:3px}
.purr-pola.is-empty{background:#f4f1ea}
.purr-pola.is-empty .purr-pola-pic{background:#7d7491;filter:grayscale(1)}
.purr-pola.is-empty .purr-pola-pair .purr-face{background:#fff;box-shadow:none;border-style:dashed;border-color:#ffffffaa}
.purr-pola.is-empty .purr-pola-pair canvas{filter:brightness(0) opacity(.35)}
.purr-pola.is-empty .purr-pola-neon{opacity:.25}
/* ---------- VIDEOS: little TVs on a dark shelf */
.purr-book-videos{color:#fff;background-image:linear-gradient(90deg,#ffffff08 1px,transparent 1px);background-size:22px 22px}
.purr-book-videos .purr-book-lead{color:#fff}
.purr-vids{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:16px}
.purr-vid{position:relative;display:grid;gap:6px;justify-items:center;padding:10px 10px 12px;border:3px solid var(--ink);border-radius:10px;background:linear-gradient(180deg,#4b2c6b,#2b1640);text-align:center;box-shadow:4px 4px 0 #000}
.purr-vid-tv{position:relative;width:100%;aspect-ratio:4/3;overflow:hidden;border:8px solid #3b3a48;border-radius:18px;background:radial-gradient(circle at 50% 30%,#3c1170,#120424);box-shadow:inset 0 0 18px #000,0 0 0 2px var(--ink)}
.purr-vid-floor{position:absolute;left:-30%;right:-30%;bottom:-8%;height:52%;transform:perspective(160px) rotateX(48deg);transform-origin:50% 100%;
  background:conic-gradient(#ff00bd 25%,#00fff2 0 50%,#baff00 0 75%,#ffed00 0) 0 0/36px 36px;opacity:.75}
.purr-vid-crew{position:absolute;left:4%;right:4%;bottom:22%;display:flex;flex-wrap:wrap;justify-content:center;align-items:flex-end;gap:3px}
.purr-vid-face{width:40px;height:40px;border:2px solid #fff;background:#ffd1f0}
.purr-vid-crew.is-many .purr-vid-face{width:30px;height:30px}
.purr-vid-rec{position:absolute;right:10px;top:6px;font:900 11px/1 var(--mono);color:#ff4d6d;letter-spacing:.5px}
.purr-vid-static{position:absolute;inset:0;background:repeating-linear-gradient(0deg,#ffffff22 0 1px,transparent 1px 3px),repeating-linear-gradient(90deg,#00000044 0 2px,#ffffff11 2px 3px,transparent 3px 5px),linear-gradient(#5a5a6a,#2c2c38)}
.purr-vid-t{font:900 16px/1.15 var(--heavy);letter-spacing:.4px;color:var(--yellow)}
.purr-vid-who{font:700 12px/1.25 var(--mono);color:#e4c8ff}
.purr-vid .purr-stk-clue{color:#e4c8ff}
.purr-vid-play{min-height:44px;padding:9px 14px;font-size:16px}
.purr-vid.is-empty .purr-vid-t{color:#c9a7ff}
/* the replay (motion only): the dancers bounce in turn, the floor flashes */
body.motion-ok .purr-vid.is-playing .purr-vid-face{animation:purrBookBop .42s ease-in-out infinite alternate;animation-delay:calc(var(--i,0) * -.13s)}
body.motion-ok .purr-vid.is-playing .purr-vid-floor{animation:purrBookFloor .9s steps(4) infinite}
body.motion-ok .purr-vid.is-playing .purr-vid-rec{animation:purrBookBlink 1s steps(2) infinite}
.purr-vid.is-playing .purr-vid-tv{box-shadow:inset 0 0 18px #000,0 0 0 2px var(--ink),0 0 18px #ff00bd}
@keyframes purrBookBop{from{transform:translateY(0) rotate(-6deg)}to{transform:translateY(-9px) rotate(6deg)}}
@keyframes purrBookFloor{from{filter:hue-rotate(0deg)}to{filter:hue-rotate(360deg)}}
@keyframes purrBookBlink{50%{opacity:0}}
/* ---------- CASES: file folders with their stamps */
.purr-cases{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:28px 14px;padding-top:14px}
.purr-case{position:relative;display:grid;align-content:start;gap:4px;min-height:118px;padding:12px 12px 14px;border:3px solid var(--ink);border-radius:0 8px 8px 8px;background:#f4d58d;color:var(--ink);text-align:left;font:inherit;box-shadow:4px 4px 0 #11061e66}
button.purr-case{cursor:pointer}
button.purr-case:hover{background:#f9e0a3}
button.purr-case:focus-visible{outline:3px solid var(--cyan);outline-offset:3px}
.purr-case-tab{position:absolute;left:-3px;top:-19px;padding:2px 10px;border:3px solid var(--ink);border-bottom:0;border-radius:7px 7px 0 0;background:inherit;font:900 11px/1.2 var(--mono);letter-spacing:.4px}
.purr-case-t{font:900 17px/1.08 var(--heavy);letter-spacing:.4px}
.purr-case-n{font:italic 700 13px/1.25 var(--comic)}
.purr-case-line{font:700 12px/1.25 var(--comic);color:#1f3f9a}
.purr-stamp{justify-self:end;align-self:end;margin-top:6px;padding:3px 9px;border:3px solid #c8102e;border-radius:6px;color:#c8102e;font:900 16px/1 var(--heavy);font-style:normal;letter-spacing:1px;transform:rotate(-9deg);opacity:.9;mix-blend-mode:multiply}
.purr-stamp-link{border-color:#1f4fd8;color:#1f4fd8;transform:rotate(-5deg)}
.purr-case-pin{justify-self:start;margin-top:6px;padding:3px 8px;border:2px solid var(--ink);border-radius:9px;background:var(--yellow);font:900 12px/1.2 var(--mono);font-style:normal}
.purr-case-mail{position:absolute;right:8px;top:6px;font-style:normal;font-size:18px}
.purr-case.is-later{background:#e8e2d4;border-style:dashed;color:#11061e99;box-shadow:none}
.purr-case.is-later .purr-case-t{font:900 30px/1 Georgia,'Times New Roman',serif}
.purr-case.is-closed{background:#f0e2bb}
/* ---------- phones: the tabs three by two, the slots two by two */
@media (max-width:760px){
  .purr-panel-album{padding:12px 10px 14px}
  .purr-book-tabs{grid-template-columns:repeat(3,minmax(0,1fr));top:-12px;margin:0 -10px;padding:6px 52px 0 10px;row-gap:4px}   /* 07.11. fix round: the ✕ beside them */
  .purr-book-tab{min-height:50px;padding:6px 6px 5px;column-gap:4px;border-bottom:3px solid var(--ink);border-radius:10px;transform:none}
  .purr-book-tab:hover{transform:none}
  .purr-book-tab.is-on{box-shadow:inset 2px 2px 0 #ffffffaa,0 0 0 3px var(--pink)}
  .purr-book-ti{font-size:17px}
  .purr-book-tw{font-size:13px;letter-spacing:0}
  .purr-book-page{margin-top:8px;padding:12px 10px 14px;border-radius:8px}
  .purr-book-lead{font-size:14px}
  .purr-stickers{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .purr-stk-pic{width:88px;height:88px}
  .purr-stk-img,.purr-stk-cv{max-width:80px;max-height:80px}
  .purr-stk-cv{width:80px;height:80px}
  .purr-stk-t{font-size:15px}
  .purr-stk-clue{font-size:13px}
  .purr-news-grid{grid-template-columns:1fr}
  .purr-clip{grid-template-columns:78px 1fr}
  .purr-clip-pic{width:78px;height:78px}
  .purr-polas{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 10px}
  .purr-pola{padding:7px 7px 9px}
  .purr-pola-pair .purr-face{width:56px;height:56px}
  .purr-pola-t{font-size:15px}
  .purr-vids{grid-template-columns:1fr 1fr;gap:10px}
  .purr-vid{padding:7px 6px 9px}
  .purr-vid-tv{border-width:6px;border-radius:12px}
  .purr-vid-face{width:30px;height:30px}
  .purr-vid-crew.is-many .purr-vid-face{width:22px;height:22px}
  .purr-vid-t{font-size:14px}
  .purr-vid-play{width:100%;padding:8px 4px;font-size:14px}
  .purr-cases{grid-template-columns:1fr 1fr;gap:28px 10px}
  .purr-book-index-row{grid-template-columns:24px 1fr auto;row-gap:1px}
  .purr-book-index-row .purr-book-ti{grid-row:1/3;grid-column:1}
  .purr-book-index-row .purr-book-tw{grid-row:1;grid-column:2}
  .purr-book-index-row .purr-book-n{grid-row:1;grid-column:3}
  .purr-book-index-l{grid-row:2;grid-column:2/4;font-size:13px}
  .purr-case{min-height:110px;padding:10px 8px 12px}
  .purr-case-t{font-size:15px}
}
@media (max-width:360px){.purr-book-tw{font-size:11px}.purr-vids,.purr-cases{grid-template-columns:1fr}}
/* a short screen held sideways: one row of tabs, no words, so a page has room */
@media (max-height:500px) and (min-width:500px){
  .purr-book-tabs{grid-template-columns:repeat(6,minmax(0,1fr))}
  .purr-book-tab{min-height:44px}
  .purr-book-n{grid-column:2}
}

/* 11.11. Personal firsts: separate from the eight collectible pair photographs. */
.purr-memories{margin:0 0 24px;padding:12px;background:#ffdbf4;border:3px dashed #a91d80;color:#260b38}
.purr-memory-heading{margin:0 0 12px;font:900 24px/1.1 var(--heavy);color:#4e1265}
.purr-memory-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.purr-memory{position:relative;margin:0;padding:10px;background:#fffdf2;border:2px solid #260b38;box-shadow:4px 4px 0 #260b38;transform:rotate(-1deg);text-align:center}
.purr-memory:nth-child(even){transform:rotate(1deg)}
.purr-memory-pic{display:flex;align-items:center;justify-content:center;gap:10px;min-height:116px;background:radial-gradient(circle,#fff4bd,#fc87d6);border:2px solid #260b38}
.purr-memory-egg{font-size:42px;transform:rotate(-14deg)}
.purr-memory-pic .purr-face{width:96px;height:96px}
.purr-memory-stamp{display:inline-block;margin-top:8px;padding:3px 7px;background:var(--lime);font:900 12px/1.1 var(--mono);border:2px solid #260b38;transform:rotate(-4deg)}
.purr-memory-name{margin:8px 0 4px;font:900 22px/1.1 var(--heavy)}
.purr-memory-line,.purr-memory-wait{margin:6px 0;font:700 13px/1.3 var(--comic)}
.purr-memory-word{position:relative;margin-top:12px;padding-top:10px;border-top:2px dashed #ce72ad;font:900 12px/1.3 var(--mono)}
.purr-memory-word q{display:block;margin:6px 0;font:900 23px/1.2 var(--comic);color:#8a0a70;overflow-wrap:anywhere}
.purr-memory-replay{max-width:100%;font-size:12px!important;min-height:40px;padding:6px!important}
.purr-memory-status{display:block;margin-top:4px;min-height:1em;font:700 12px/1.2 var(--comic)}
@media(max-width:480px){.purr-memory-grid{grid-template-columns:1fr}.purr-memory-pic{min-height:100px}.purr-memory-heading{font-size:22px}}

/* A remembered word is a little tape, not a new lesson. */
.purr-memory-tape{display:flex;align-items:center;justify-content:center;gap:13px;width:170px;margin:8px auto;padding:8px;border:2px solid #3d164d;border-radius:9px;background:#e6c5ed;color:#3d164d;font:900 9px/1 var(--mono)}
.purr-tape-reel{width:23px;height:23px;border:5px dashed #64377a;border-radius:50%;background:#fff7dc;box-shadow:0 0 0 2px #64377a}
.purr-memory-sound{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;margin-top:8px}
.purr-memory-sound[hidden],.purr-memory-sound [hidden]{display:none!important}
.purr-memory-sound .purr-btn{font-size:11px;padding:7px;min-height:36px}
.purr-memory.is-replaying q{color:#bb097d;background:#fff1ad;box-shadow:0 0 0 4px #fff1ad}
body.motion-ok .purr-memory.is-replaying .purr-tape-reel{animation:purrTapeTurn .8s linear infinite}
body.motion-ok .purr-memory.is-replaying .purr-memory-pic{animation:purrMemoryNod 1s ease-in-out 2}
body.motion-ok .purr-memory.is-replaying q{animation:purrWordGlow 1s ease-in-out 2}
@keyframes purrTapeTurn{to{transform:rotate(360deg)}}
@keyframes purrMemoryNod{0%,100%{transform:rotate(0)}50%{transform:rotate(-1.8deg)}}
@keyframes purrWordGlow{0%,100%{filter:brightness(1)}50%{filter:brightness(1.15)}}

/* 53-vi4-looks.css */
/* SAD CAT DISCO · /purrtures/ PURRTURES VI: looks and wishes (07.11.2026, world step 6; src/purrtures/view/looks.js).
   Her card's 💭 Dreams of line (a button: the catalogue at that card) and the LOOKS row (one button per look of hers: on
   = a lime ring; in its box: off); the catalogue's "FOR WHOM?" faces on a look's card (✔ has one, 📦 on its way, 💭 she
   dreams of it: a pink ring) and the 💭 chips of the cats who dream of a thing. Same palette as 52-vi4.css. */
.purr-looks{margin:0 0 8px}
.purr-card.is-min .purr-looks{display:none}
.purr-looks-dream{display:block;margin:0 0 6px;padding:4px 9px;border:2px solid #b9a0ff;border-radius:12px;background:rgba(185,160,255,.14);color:#e4dbff;font:900 12px/1.25 var(--mono);letter-spacing:.3px;text-align:left;cursor:pointer;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.purr-looks-dream:hover,.purr-looks-dream:focus-visible{background:rgba(185,160,255,.3)}
.purr-looks-row{display:flex;flex-wrap:wrap;align-items:center;gap:5px 6px}
.purr-looks-h{font:900 12px/1 var(--mono);letter-spacing:.4px;color:#ffe28a;margin-right:2px}
.purr-looks-b{display:grid;place-items:center;width:46px;height:46px;padding:2px;border:2px solid var(--ink);border-radius:12px;background:#fff8ee;cursor:pointer;box-shadow:2px 2px 0 var(--ink)}
.purr-looks-b img,.purr-looks-b canvas{display:block;max-width:38px;max-height:38px;width:auto;height:auto;object-fit:contain;pointer-events:none}
.purr-looks-b span{font:400 24px/1 sans-serif;pointer-events:none}
.purr-looks-b.is-on{background:linear-gradient(180deg,#f4ffd0,var(--lime));box-shadow:0 0 0 3px #fff,2px 2px 0 3px var(--ink)}
.purr-looks-b:disabled{opacity:.55;cursor:default}
.purr-looks-b:focus-visible{outline:3px solid var(--yellow);outline-offset:2px}
.purr-look-pic{image-rendering:auto}
.purr-look-dreams{display:flex;flex-wrap:wrap;gap:4px;margin:0}
.purr-look-dream{display:inline-flex;align-items:center;gap:4px;padding:2px 7px 2px 2px;border:2px solid #b9a0ff;border-radius:14px;background:#f1ecff;font:900 11px/1.15 var(--mono);color:#3b2266}
.purr-look-dream canvas{width:22px;height:22px;border-radius:50%;background:#e6dcff}
.purr-look-for{display:grid;gap:4px;margin-top:2px}
.purr-look-for-h{font:900 12px/1.2 var(--mono);letter-spacing:.3px;color:#5b2a7a}
.purr-look-faces{display:flex;flex-wrap:wrap;gap:5px}
/* 08.11. last fixes (a phone playtest: "Hamptuna" showed as "lamptuna", "Dre’Purr" lost its last letter): the chip grows
   with her short name instead of cutting it at both edges */
.purr-look-face{position:relative;display:grid;justify-items:center;gap:1px;width:auto;min-width:52px;padding:3px 4px 2px;border:2px solid var(--ink);border-radius:10px;background:linear-gradient(180deg,#f4ffd0,var(--lime));color:var(--ink);cursor:pointer;box-shadow:2px 2px 0 var(--ink)}
.purr-look-face canvas{display:block;width:34px;height:34px;border-radius:50%;background:#fff3fb;pointer-events:none}
.purr-look-face-n{max-width:none;white-space:nowrap;font:900 10px/1.1 var(--mono);pointer-events:none}
.purr-look-face-t{position:absolute;top:-7px;right:-6px;padding:1px 3px;border:2px solid var(--ink);border-radius:9px;background:#fff;font:400 11px/1 sans-serif;font-style:normal;pointer-events:none}
.purr-look-face.is-wish{box-shadow:0 0 0 3px #ff9fd2,2px 2px 0 3px var(--ink)}
.purr-look-face:disabled{background:linear-gradient(180deg,#f2eef8,#d6d0e2);cursor:default;opacity:.85}
.purr-look-face:not(:disabled):hover{filter:brightness(1.05)}
.purr-look-face:focus-visible{outline:3px solid var(--yellow);outline-offset:2px}
@media (max-width:760px){
  .purr-look-face{min-width:46px;padding:3px 3px 2px}
  .purr-look-face-n{font-size:9px;letter-spacing:-.2px}
  .purr-look-face canvas{width:30px;height:30px}
  .purr-looks-b{width:42px;height:42px}
}
