/* The Neighborhood (/village/), Nov 20 2026: where Foxy, Oxy and the friends from Dalai and Travis's stories live.
   The drawings are assets/village/art.js, the behavior assets/village/village.js. The scene has its own day and night
   (.v-world.v-night), which starts from the site's Day/Night and flips when someone taps the sun or the moon.
   Everything that moves stops under prefers-reduced-motion.
   THE WHOLE SCREEN (Nov 20 2026, Travis: "it might be nice if my entire site kind of becomes friendly hill, so a hidden
   nav bar and the headline up top is a pop up box that goes away"): the site's top bar is hidden here, the neighborhood
   fills the screen above a row of story buttons, with a small Home link and a ? in its top corners, and the headline is a
   welcome card over the scene that goes away (village.js). village.js sizes the 1600 x 900 world to the screen: a wide
   screen shows it whole and the scene's wings (more sky and hills, art.js wings()) fill the sides; a phone fills the
   height and swipes sideways; a narrow window on a computer fits the width with more sky above.
   ON A PHONE (Nov 21 2026, Travis: "Can you make friendly hill more mobile friendly on my phone?"): upright, the world
   fills the screen below a band of sky for the corner buttons (village.js SKY), ‹ › buttons (.vl-look) look around, the story
   buttons become tiles across the bottom, an emoji over its short name, the hint sits up
   top out of the way, the welcome card suggests turning the phone sideways to see the whole hill, a double tap never zooms the page, and on a phone on its side the scene runs under the notch
   (viewport-fit=cover) while the buttons and everything else keep clear of it (--sl, --sr, --sb). */
@font-face { font-family: 'Travis Hand'; font-weight: 700; font-display: swap; src: url(/assets/littleoptimists/fonts/TravisHand-Bold.woff2?v=2) format('woff2'); }

.vl { --vl-font: 'Fredoka', ui-rounded, 'SF Pro Rounded', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --vl-ink: #23304a; --vl-card: #fffdf8; --vl-line: #e6dccb; --vl-soft: #6b6152; --vl-pop: #e8673f; --vl-sky: #eaf6ff;
  font-family: var(--vl-font); color: var(--ink); }
html[data-theme="dark"] .vl { --vl-card: #22262f; --vl-line: #3a3f4b; --vl-soft: #b7ad9c; --vl-sky: #1b2433; }
.vl [hidden] { display: none !important; }
.vl p, .vl li, .vl h2, .vl h3 { font-family: var(--vl-font); }
.vl-credit .hand .and { font-family: var(--vl-font); font-weight: 600; }
.vl-wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
/* no site bar here: the page is the neighborhood */
body > .nav { display: none; }
/* the phone's notch and home bar (zero everywhere else): the scene runs under them, nothing you read or tap does */
.vl { --sl: env(safe-area-inset-left, 0px); --sr: env(safe-area-inset-right, 0px); --sb: env(safe-area-inset-bottom, 0px); }
body { padding-left: env(safe-area-inset-left, 0px); padding-right: env(safe-area-inset-right, 0px); }
.vl-full { margin-left: calc(-1 * var(--sl)); margin-right: calc(-1 * var(--sr)); }
.vl { --vl-ground: #d9c08c; --vl-ground2: #c8ab72; }
html[data-theme="dark"] .vl { --vl-ground: #4a4436; --vl-ground2: #3a3529; }

/* the whole screen: the scene, then a row of story buttons on the ground */
.vl-full { height: 100vh; height: 100svh; min-height: 300px; display: flex; flex-direction: column; touch-action: manipulation; }
.vl-frame { position: relative; flex: 1 1 auto; min-height: 0; overflow: hidden; background: #b3dbf0; }
.vl-frame.night { background: #0f1a33; }
.vl-scroll { position: absolute; inset: 0; display: flex; align-items: flex-end; overflow-x: auto; overflow-y: hidden; scrollbar-width: none;
  -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.vl-scroll::-webkit-scrollbar { display: none; }
.v-world { position: relative; flex: none; width: 100%; aspect-ratio: 16 / 9; margin: auto auto 0; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; }
.v-world > svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.v-scene { overflow: visible; }
.v-actors { pointer-events: none; overflow: visible; }
.v-tap, .v-actor { cursor: pointer; pointer-events: visiblePainted; outline: none; }
.v-tap:focus-visible, .v-actor:focus-visible { outline: none; }
.v-tap:focus-visible > *, .v-actor:focus-visible .c-body { filter: drop-shadow(0 0 6px #ffcf5a) drop-shadow(0 0 2px #e8673f); }
/* each friend's tap area is a little bigger than the drawing, for small fingers on small screens */
.v-hit { fill: transparent; pointer-events: all; }
.v-actor.gone .v-hit { pointer-events: none; }

/* the two corners: back to the site, and the welcome again */
.vl-home, .vl-about { position: absolute; top: 14px; z-index: 4; display: inline-flex; align-items: center; justify-content: center; height: 40px;
  background: rgba(255, 255, 255, .88); color: #23304a; border: 2.5px solid rgba(35, 48, 74, .85); border-radius: 99px;
  font: 600 15px var(--vl-font); text-decoration: none; box-shadow: 0 3px 0 rgba(35, 48, 74, .14); cursor: pointer;
  transition: transform .15s, background .15s; -webkit-tap-highlight-color: transparent; }
.vl-home { left: calc(14px + var(--sl)); gap: 7px; padding: 0 14px 0 4px; }
.vl-home img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; display: block; }
.vl-about { right: calc(14px + var(--sr)); width: 40px; padding: 0; font-size: 19px; font-weight: 700; }
.vl-home:hover, .vl-about:hover { background: #fff; transform: translateY(-1px); }
.vl-home:focus-visible, .vl-about:focus-visible { outline: 3px solid #ffcf5a; outline-offset: 2px; }
.night .vl-home, .night .vl-about { background: rgba(30, 38, 60, .78); color: #f4efe4; border-color: rgba(244, 239, 228, .6); }
.night .vl-home:hover, .night .vl-about:hover { background: rgba(30, 38, 60, .95); }

/* the welcome card: the headline, over the scene, until it goes away */
.vl-welcome { position: absolute; inset: 0; z-index: 6; display: flex; align-items: center; justify-content: center; padding: 64px 16px 40px;
  background: radial-gradient(ellipse at 50% 45%, rgba(20, 32, 56, .12), rgba(20, 32, 56, .32)); transition: opacity .35s; }
.vl-welcome.off { opacity: 0; pointer-events: none; visibility: hidden; transition: opacity .35s, visibility 0s .35s; }
.vl-card { position: relative; width: min(520px, 100%); text-align: center; background: var(--vl-card); color: var(--ink);
  border: 3px solid #23304a; border-radius: 30px; padding: 28px 30px 30px; box-shadow: 0 8px 0 rgba(35, 48, 74, .16), 0 24px 60px rgba(20, 32, 56, .22);
  transform-origin: calc(100% - 20px) 0; transition: transform .4s cubic-bezier(.34, 1.4, .5, 1); overflow: hidden; }
html[data-theme="dark"] .vl-card { border-color: #f4efe4; }
.vl-welcome.off .vl-card { transform: translate(30%, -70%) scale(.25); transition-timing-function: ease-in; transition-duration: .3s; }
.vl-welcome.in .vl-card { animation: vl-pop .55s cubic-bezier(.34, 1.6, .5, 1); }
@keyframes vl-pop { from { transform: scale(.7); opacity: 0; } to { transform: none; opacity: 1; } }
.vl-kicker { display: inline-block; font-weight: 600; font-size: 14px; letter-spacing: .4px; color: var(--vl-pop);
  background: color-mix(in srgb, var(--vl-pop) 12%, transparent); padding: 6px 14px; border-radius: 99px; margin: 0; }
.vl h1 { font-family: var(--vl-font); font-weight: 700; font-size: clamp(36px, 6vw, 58px); line-height: 1.02; margin: 12px 0 0; letter-spacing: -.5px; }
.vl h1 .amp { color: var(--vl-pop); }
.vl-lede { font-size: clamp(16px, 2vw, 19px); line-height: 1.5; color: var(--vl-soft); margin: 10px auto 0; max-width: 28em; text-wrap: balance; }
.vl-go { margin-top: 18px; font: 700 18px var(--vl-font); color: #fff; background: var(--vl-pop); border: 0; border-radius: 99px; padding: 12px 30px 13px;
  cursor: pointer; box-shadow: 0 4px 0 #b9482a; transition: transform .12s, box-shadow .12s; }
.vl-go:hover { transform: translateY(-1px); }
.vl-go:active { transform: translateY(3px); box-shadow: 0 1px 0 #b9482a; }
.vl-go:focus-visible { outline: 3px solid #ffcf5a; outline-offset: 3px; }
.vl-x { position: absolute; top: 10px; right: 12px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: var(--vl-soft);
  font: 400 28px/1 var(--vl-font); cursor: pointer; }
.vl-x:hover { background: color-mix(in srgb, var(--vl-soft) 14%, transparent); color: var(--ink); }
.vl-x:focus-visible { outline: 3px solid #ffcf5a; }
/* the little bar that runs out before the card goes away by itself */
.vl-timer { position: absolute; left: 0; bottom: 0; height: 5px; width: 100%; background: var(--vl-pop); opacity: .5; transform-origin: 0 50%; transform: scaleX(0); }
.vl-welcome.timing .vl-timer { animation: vl-run var(--vl-wait, 9s) linear forwards; }
.vl-welcome.timing.hold .vl-timer { animation-play-state: paused; }
@keyframes vl-run { from { transform: scaleX(1); } to { transform: scaleX(0); } }

/* day */
.v-world { --sk1: #b3dbf0; --sk2: #f8f7ef; }
.v-scene .sk1 { stop-color: var(--sk1); } .v-scene .sk2 { stop-color: var(--sk2); }
.v-skytop { fill: var(--sk1); transition: fill .8s; }
.v-hill3 { fill: #d6e6a2; } .v-hill2 { fill: #bcd873; } .v-hill1 { fill: #a3ca5c; } .v-road { fill: #efe0bb; }
.v-cloud { fill: #ffffff; } .v-cloud-big { fill: #ffffff; }
.v-stars { fill: #fff8d6; opacity: 0; transition: opacity .8s; }
.v-moon { opacity: 0; pointer-events: none; transition: opacity .8s, transform .8s; transform: translateY(40px); }
.v-sun { transition: opacity .8s, transform .8s; }
.v-win { fill: #bfe6ff; transition: fill .8s; }
.v-sign { font-family: 'Travis Hand', var(--vl-font); font-weight: 700; font-size: 22px; fill: #3b2418; }
.v-sign-bus { font-family: var(--vl-font); font-size: 15px; font-weight: 700; }
.v-smoke circle { fill: #ffffff; opacity: .75; }
.v-peek { opacity: 0; transition: opacity .25s; }
.v-house.peeking .v-peek { opacity: 1; }
.v-house.peeking .v-win { fill: #fff2b8; }
.v-scene rect, .v-scene path, .v-scene circle, .v-scene ellipse { transition: fill .8s; }

/* night */
.v-world.v-night { --sk1: #0f1a33; --sk2: #3a3f72; }
.v-night .v-hill3 { fill: #3f6a5a; } .v-night .v-hill2 { fill: #34604a; } .v-night .v-hill1 { fill: #2c5440; } .v-night .v-road { fill: #8a7f6a; }
.v-night .v-cloud { fill: #c9cfe6; } .v-night .v-cloud-big { fill: #dfe3f3; }
.v-night .v-stars { opacity: 1; }
.v-night .v-sun { opacity: 0; transform: translateY(60px); pointer-events: none; }
.v-night .v-moon { opacity: 1; pointer-events: visiblePainted; transform: none; }
.v-night .v-win { fill: #ffd76a; }
.v-night .v-smoke circle { fill: #c9cfe6; opacity: .45; }
.v-night .v-flowers { opacity: .55; }
.v-world .v-dim { transition: filter .8s; }
.v-night .v-dim { filter: brightness(.82) saturate(.9); }

/* the seasons, the visitor's own (village.js season(); the drawings are art.js's seasonTree, seasonGround and seasonFalling).
   Each season sets the day colors and the night ones, since a season's day color would otherwise win over plain night. */
.v-world[data-season] .v-snowcap, .v-world[data-season] .v-roofsnow { transition: none; }
.v-world[data-season="fall"] { --sk1: #b0d8ef; --sk2: #fbf0dc; }
.v-world[data-season="fall"] .v-hill3 { fill: #ecdb9c; } .v-world[data-season="fall"] .v-hill2 { fill: #cad683; } .v-world[data-season="fall"] .v-hill1 { fill: #adc865; }
.v-world[data-season="fall"] .lv1 { fill: #e0673f; stroke: #2a2420; } .v-world[data-season="fall"] .lv2 { fill: #f08a35; } .v-world[data-season="fall"] .lv3 { fill: #ffc94a; }
.v-world[data-season="winter"] { --sk1: #bcdcf0; --sk2: #f7f9fa; }
.v-world[data-season="winter"] .v-hill3 { fill: #f4f8fc; } .v-world[data-season="winter"] .v-hill2 { fill: #e6f0f8; } .v-world[data-season="winter"] .v-hill1 { fill: #d9e8f3; }
.v-world[data-season="winter"] .v-road { fill: #e8dfcf; }
.v-world[data-season="winter"] .lv1 { fill: #6f9f7c; stroke: #2a2420; } .v-world[data-season="winter"] .lv2 { fill: #74a983; } .v-world[data-season="winter"] .lv3 { fill: #8fbf9b; }
.v-world[data-season="spring"] .v-hill3 { fill: #d4eda9; } .v-world[data-season="spring"] .v-hill2 { fill: #b6df84; } .v-world[data-season="spring"] .v-hill1 { fill: #98d067; }
.v-world[data-season="spring"] .lv1 { fill: #6cc266; stroke: #2a2420; } .v-world[data-season="spring"] .lv2 { fill: #79d06c; } .v-world[data-season="spring"] .lv3 { fill: #a3e38a; }
.v-world[data-season]:not([data-season="summer"]) .v-apples { display: none; }
.v-world[data-season="fall"] .v-flowers, .v-world[data-season="winter"] .v-flowers { display: none; }
.v-world.v-night[data-season] { --sk1: #0f1a33; --sk2: #3a3f72; }
.v-world.v-night[data-season="fall"] .v-hill3 { fill: #5e5e42; } .v-world.v-night[data-season="fall"] .v-hill2 { fill: #4f5a3b; } .v-world.v-night[data-season="fall"] .v-hill1 { fill: #435236; }
.v-world.v-night[data-season="winter"] .v-hill3 { fill: #9aaccb; } .v-world.v-night[data-season="winter"] .v-hill2 { fill: #8a9ec0; } .v-world.v-night[data-season="winter"] .v-hill1 { fill: #7c92b6; }
.v-world.v-night[data-season="winter"] .v-road { fill: #6b6876; }
.v-world.v-night[data-season="spring"] .v-hill3 { fill: #3f6a5a; } .v-world.v-night[data-season="spring"] .v-hill2 { fill: #34604a; } .v-world.v-night[data-season="spring"] .v-hill1 { fill: #2c5440; }
.v-night .v-fallen, .v-night .v-bloom, .v-night .v-snowdrift { opacity: .6; }
.vl-frame[data-season="winter"] { background: #bcdcf0; }
.vl-frame[data-season="fall"] { background: #b0d8ef; }
.vl-frame.night[data-season] { background: #0f1a33; }
/* THE STORYBOOK LOOK (Nov 21 2026, Travis, with photos of a Ready-to-Read picture book: "This is the style I want for our
   books and village etc"): loose dark ink lines over soft watercolor washes on white paper. art.js inks the drawings and
   adds the mountains, the pen marks on the hills (.v-tuft) and a line along each hill's top (.v-ridge); here are their
   colors, and the paper itself: a still grain laid over the scene (paper.webp, see-through, so no blend mode and nothing
   to redraw as things move). The friends stand above the paper (.v-actors z-index 2) and keep their own look: Dalai and
   Travis liked them as they were. Original art, in that spirit: never that book's characters, names, map or words. */
.v-actors { z-index: 2; }
.vl-frame::after, .vl-place::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: url(/assets/village/paper.webp?v=04428d4c) 0 0 / 512px 512px repeat; }
.vl-frame.night::after, .vl-frame.night .vl-place::after { opacity: .6; }
.v-mtn-body { fill: #c2b5df; } .v-mtn-shade { fill: #a998cf; } .v-mtn-snow { fill: #fdfcff; }
.v-world[data-season="fall"] .v-mtn-body { fill: #c6b3d9; } .v-world[data-season="fall"] .v-mtn-shade { fill: #ab95c8; }
.v-world[data-season="winter"] .v-mtn-body { fill: #cbc6e6; } .v-world[data-season="winter"] .v-mtn-shade { fill: #b1aad6; }
.v-night .v-mtn-body, .v-world.v-night[data-season] .v-mtn-body { fill: #4b4b7c; }
.v-night .v-mtn-shade, .v-world.v-night[data-season] .v-mtn-shade { fill: #3d3c6a; }
.v-night .v-mtn-snow { fill: #c9cde6; }
.v-tuft { opacity: .5; } .v-ridge { opacity: .72; }
.v-world[data-season="winter"] .v-tuft { opacity: .22; } .v-world[data-season="winter"] .v-ridge { opacity: .45; }
.v-night .v-tuft, .v-night .v-ridge, .v-night .v-mtns path[fill="none"] { stroke: #0c1222; }
.v-night .v-tuft { opacity: .35; }
/* THE BEACH (Nov 21 2026, Dalai and Travis: "we also want a beach on Friendly Hill, over on the right side … between the
   two mountains on the right side. Under the castle. We want the beach to actually be part of Friendly Hill"): a cove in
   the back hill (art.js beach()). A tap on the water and a fish jumps; a tap on the sand and a crab pops up (village.js). */
.v-sea-w { fill: #96d1e6; } .v-sea-d { fill: #76bddc; }
.v-wave { stroke: #ffffff; opacity: .8; }
.v-sand-dry { fill: #f6e3b2; } .v-sand-wet { fill: #e7cb93; }
.v-foam { stroke: #ffffff; opacity: .92; }
.v-night .v-sea-w { fill: #2b4d82; } .v-night .v-sea-d { fill: #1f3968; }
.v-night .v-wave { stroke: #9db6e2; opacity: .5; } .v-night .v-foam { stroke: #c9d4ee; opacity: .55; }
.v-night .v-sand-dry { fill: #8f8164; } .v-night .v-sand-wet { fill: #786c53; }
.v-world[data-season="winter"] .v-sea-w { fill: #acd7e8; } .v-world[data-season="winter"] .v-sea-d { fill: #8ec5dc; }
.v-world[data-season="winter"] .v-sand-dry { fill: #f2eada; } .v-world[data-season="winter"] .v-sand-wet { fill: #ded3ba; }
.v-world.v-night[data-season="winter"] .v-sea-w { fill: #3b5b8e; } .v-world.v-night[data-season="winter"] .v-sea-d { fill: #2c4877; }
.v-world.v-night[data-season="winter"] .v-sand-dry { fill: #a4a4b4; } .v-world.v-night[data-season="winter"] .v-sand-wet { fill: #8e8ea2; }
.v-wave { animation: v-lap 4.6s ease-in-out infinite alternate; }
@keyframes v-lap { from { transform: translateX(-9px); } to { transform: translateX(9px); } }
.v-foam { animation: v-foam 3.2s ease-in-out infinite alternate; }
@keyframes v-foam { from { transform: translateY(-1px); } to { transform: translateY(3px); } }
.v-sb-in { transform-box: fill-box; transform-origin: 50% 100%; animation: v-sail 3.4s ease-in-out infinite alternate; }
@keyframes v-sail { from { transform: rotate(-3deg); } to { transform: rotate(3deg) translateY(2px); } }
.v-fx { pointer-events: none; }
.v-ring { fill: none; stroke: #ffffff; stroke-width: 3; }
.v-night .v-ring { stroke: #c9d4ee; }

/* THE BLUE JAY in her nest in the big tree (Nov 21 2026, Dalai and Travis: "in the friendly hill, can you make a blue jay and
   in a nest up in the tree?"), the same original drawing as on Dalai's beach. By day she blinks, and a tap makes her hop,
   flap and sing; at night she sleeps (.sleep: eyes shut, head down, slow breaths, z's), and a tap wakes her for a moment. */
.v-bird .j-hd, .v-bird .j-bd, .v-bird .j-wg, .v-bird .j-cr, .v-bird .j-eo { transform-box: fill-box; }
.v-bird .j-hd { transform-origin: 30% 90%; transition: transform .6s ease; }
.v-bird .j-bd { transform-origin: 50% 100%; }
.v-bird .j-wg { transform-origin: 85% 25%; }
.v-bird .j-cr { transform-origin: 80% 100%; }
.v-bird .j-eo { transform-origin: center; animation: v-jblink 6.4s infinite; }
@keyframes v-jblink { 0%, 93%, 100% { transform: scaleY(1); } 96% { transform: scaleY(.1); } }
.v-bird .j-es { display: none; }
.v-bird.sleep:not(.awake) .j-eo { display: none; }
.v-bird.sleep:not(.awake) .j-es { display: inline; }
.v-bird.sleep:not(.awake) .j-hd { transform: rotate(12deg) translateY(1px); }
.v-bird.sleep:not(.awake) .j-bd { animation: v-jbreathe 3.4s ease-in-out infinite; }
@keyframes v-jbreathe { 50% { transform: translateY(1px) scale(1.03, .97); } }
.v-bzz { font: 700 13px var(--vl-font); fill: #dfe8ff; opacity: 0; }
.v-bird.sleep:not(.awake) .v-bzz { animation: v-zz 3s ease-out infinite; }
.v-bird.sleep:not(.awake) .v-bzz.z2 { animation-delay: -1.5s; }
.v-note { font: 700 22px var(--vl-font); fill: #3c7ae0; stroke: #fff; stroke-width: 4px; paint-order: stroke; }
/* what comes down: each one falls (.v-fy, its own --t) and sways as it goes (.v-sw) */
.v-falling { pointer-events: none; }
.v-falling .v-fy { animation: v-fall calc(var(--t) * var(--slow, 1)) linear infinite; }
.v-snowfall .v-sw { fill: #ffffff; opacity: .9; animation: v-sway calc(3.4s * var(--slow, 1)) ease-in-out infinite alternate; }
.v-night .v-snowfall .v-sw { fill: #e8eefc; }
@keyframes v-fall { to { transform: translateY(1380px); } }
@keyframes v-sway { from { transform: translateX(-14px); } to { transform: translateX(14px); } }
.v-leaffall .v-fy { animation-name: v-drop; }
.v-leaffall .v-sw { animation: v-flutter calc(1.7s * var(--slow, 1)) ease-in-out infinite alternate; transform-box: fill-box; transform-origin: center; }
@keyframes v-drop { 0% { transform: translate(0, 0); opacity: 0; } 5% { opacity: 1; } 56% { opacity: 1; } 62% { transform: translate(64px, 300px); opacity: 0; } 100% { transform: translate(64px, 300px); opacity: 0; } }
@keyframes v-flutter { from { transform: translateX(-10px) rotate(-38deg); } to { transform: translateX(10px) rotate(38deg); } }

/* the campfire: out until someone makes s'mores */
.v-flame { opacity: 0; transform: scale(.2); transform-origin: 0 -6px; transform-box: view-box; transition: opacity .4s, transform .5s cubic-bezier(.34, 1.6, .5, 1); }
.v-fire.lit .v-flame { opacity: 1; transform: none; }
.v-fire.lit .f1 { animation: v-flick 1.1s ease-in-out infinite alternate; transform-origin: 0 -6px; transform-box: view-box; }
.v-fire.lit .f2 { animation: v-flick .8s ease-in-out infinite alternate-reverse; transform-origin: 0 -6px; transform-box: view-box; }
@keyframes v-flick { from { transform: scale(1, 1) skewX(-3deg); } to { transform: scale(.94, 1.08) skewX(3deg); } }

/* the time machine */
.v-tm-flash { opacity: 0; pointer-events: none; }
.v-tm.go .v-tm-flash { animation: v-flash .9s ease-out; }
@keyframes v-flash { 0% { opacity: 0; } 30% { opacity: .95; } 100% { opacity: 0; } }
.v-tm.go > rect, .v-tm.go > circle:not(.v-tm-flash) { animation: v-shake .12s linear 6; }
@keyframes v-shake { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(3px); } }
.v-tm-lights circle { animation: v-blinky 1.6s steps(1, end) infinite; }
.v-tm-lights circle:nth-child(2) { animation-delay: .53s; } .v-tm-lights circle:nth-child(3) { animation-delay: 1.06s; }
@keyframes v-blinky { 0% { opacity: 1; } 50% { opacity: .35; } }
.v-hands .mh { animation: v-spin 6s linear infinite; transform-origin: 0 -58px; transform-box: view-box; }
.v-tm.go .v-hands .mh, .v-tm.go .v-hands .hh { animation: v-spin .25s linear infinite; transform-origin: 0 -58px; transform-box: view-box; }
@keyframes v-spin { to { transform: rotate(360deg); } }

/* the bean stairs grow from the bottom (Story 2) */
.v-stairs { transform-origin: 1420px 800px; transform-box: view-box; transition: transform 2.6s cubic-bezier(.3, 1.25, .5, 1); }
.v-stairs.down { transform: scale(.25, 0); transition-duration: .5s; transition-timing-function: ease-in; }

/* things that drift and puff */
.v-drift { animation: v-drift 70s linear infinite alternate; }
@keyframes v-drift { to { transform: translateX(140px); } }
.v-smoke circle { animation: v-puff 4.5s ease-out infinite; transform-box: fill-box; transform-origin: center; }
.v-smoke circle:nth-child(2) { animation-delay: 1.5s; } .v-smoke circle:nth-child(3) { animation-delay: 3s; }
@keyframes v-puff { 0% { transform: translateY(18px) scale(.4); opacity: 0; } 30% { opacity: .8; } 100% { transform: translateY(-30px) scale(1.2); opacity: 0; } }
.v-night .v-stars circle { animation: v-twinkle 3s ease-in-out infinite; }
@keyframes v-twinkle { 50% { opacity: .35; } }
.v-leaves { transform-origin: 560px 600px; transform-box: view-box; }
.v-tree.rustle .v-leaves { animation: v-rustle .18s ease-in-out 5 alternate; }
@keyframes v-rustle { from { transform: rotate(-1.4deg); } to { transform: rotate(1.4deg); } }
.v-house { transition: transform .2s; }

/* the characters: an outer group places them (transform, moved by village.js), an inner one bounces */
.v-actor { transition: transform 1.1s cubic-bezier(.45, .05, .35, 1); }
.v-actor .c-body { transform-box: fill-box; transform-origin: 50% 100%; }
.ce-happy, .ce-sleep, .c-open, .dg-fire, .ox-tears, .ox-puff, .dg-smoke { display: none; }
.v-actor.blink .ce-open { transform: scaleY(.1); transform-box: fill-box; transform-origin: center; }
.v-actor.happy .ce-open, .v-actor.sleep .ce-open { display: none; }
.v-actor.happy .ce-happy, .v-actor.sleep .ce-sleep { display: inline; }
.v-actor.talk .c-open { display: inline; animation: v-flap .32s steps(1, end) infinite; }
.v-actor.happy .c-open { display: inline; animation: none; }
.v-actor.blush .ce-cheeks { opacity: 1; }
.v-actor.blush .ce-cheeks ellipse { transform: scale(1.35); transform-box: fill-box; transform-origin: center; }
@keyframes v-flap { 0% { opacity: 1; } 50% { opacity: 0; } }
.fx-tail { transform-box: fill-box; transform-origin: 10% 90%; animation: v-wag 1.6s ease-in-out infinite alternate; }
@keyframes v-wag { from { transform: rotate(-6deg); } to { transform: rotate(7deg); } }
.v-actor.hop .c-body { animation: v-hop .9s cubic-bezier(.3, .7, .4, 1); }
@keyframes v-hop { 0% { transform: scale(1.12, .84); } 18% { transform: translateY(-150%) scale(.92, 1.1) rotate(-8deg); } 48% { transform: translateY(-170%) rotate(8deg); }
  78% { transform: translateY(0) scale(1.14, .84); } 100% { transform: none; } }
.v-actor.bounce .c-body { animation: v-bounce .5s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes v-bounce { 0% { transform: scale(1.08, .9); } 50% { transform: scale(.95, 1.06); } 100% { transform: none; } }
.v-actor.stomp .c-body { animation: v-stomp .26s ease-in-out 4 alternate; }
@keyframes v-stomp { from { transform: rotate(-3deg) translateY(0); } to { transform: rotate(3deg) translateY(-6%); } }
.v-actor.wobble .c-body { animation: v-wobble 1.4s ease-in-out; }
@keyframes v-wobble { 0%, 100% { transform: none; } 20% { transform: rotate(-12deg); } 40% { transform: rotate(10deg); } 60% { transform: rotate(-16deg) translateX(-4%); } 80% { transform: rotate(6deg); } }
.v-actor.huff .ox-puff { display: inline; }
.v-actor.huff .ox-puff circle { animation: v-huff .5s ease-out infinite; transform-box: fill-box; transform-origin: center; }
.v-actor.huff .ox-puff .p2 { animation-delay: .25s; }
@keyframes v-huff { 0% { transform: translate(0, 0) scale(.5); opacity: 1; } 100% { transform: translate(0, 12px) scale(1.8); opacity: 0; } }
.v-actor.cry .ox-tears { display: inline; }
.v-actor.cry .ox-tears path { animation: v-tear .9s ease-in infinite; transform-box: fill-box; }
.v-actor.cry .ox-tears .t2 { animation-delay: .45s; }
@keyframes v-tear { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(26px); opacity: 0; } }
.v-actor.fire .dg-fire { display: inline; animation: v-breath .7s ease-out; transform-box: fill-box; transform-origin: 50% 0; }
@keyframes v-breath { 0% { transform: scale(.2); } 40% { transform: scale(1.25); } 100% { transform: scale(1); } }
.v-actor.fire .c-open { display: inline; animation: none; }
.v-actor.smoky .dg-smoke { display: inline; }
.v-actor.smoky .dg-smoke circle { animation: v-huff 1s ease-out infinite; transform-box: fill-box; transform-origin: center; }
.v-actor.fly .c-body { animation: v-bob 1.8s ease-in-out infinite alternate; }
@keyframes v-bob { from { transform: translateY(-4%); } to { transform: translateY(4%); } }
.dg-wing-l, .dg-wing-r { transform-box: fill-box; }
.dg-wing-l { transform-origin: 100% 90%; } .dg-wing-r { transform-origin: 0 90%; }
.v-actor.fly .dg-wing-l { animation: v-flapl .32s ease-in-out infinite alternate; }
.v-actor.fly .dg-wing-r { animation: v-flapr .32s ease-in-out infinite alternate; }
@keyframes v-flapl { from { transform: rotate(10deg); } to { transform: rotate(-16deg); } }
@keyframes v-flapr { from { transform: rotate(-10deg); } to { transform: rotate(16deg); } }
.v-actor.gone { opacity: 0; pointer-events: none; }
.v-actor.appear .c-body { animation: v-appear .7s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes v-appear { 0% { transform: scale(0); } 100% { transform: none; } }
.v-zz { font-family: var(--vl-font); font-weight: 700; fill: #8ea2c8; font-size: 26px; opacity: 0; }
.v-actor.sleep .v-zz { animation: v-zz 2.4s ease-out infinite; }
@keyframes v-zz { 0% { opacity: 0; transform: translate(0, 0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(14px, -26px); } }

.v-prop { transition: transform 1.1s cubic-bezier(.45, .05, .35, 1), opacity .3s; pointer-events: none; }
.v-prop.off { opacity: 0; }
.v-bus { pointer-events: visiblePainted; cursor: pointer; }
.v-mallow-puff { transition: fill 2.2s; }
.v-mallow-in.toasted .v-mallow-puff { fill: #e9a24e; }
.v-pop { font-family: var(--vl-font); font-weight: 700; font-size: 30px; fill: #e8673f; stroke: #fff; stroke-width: 5px; paint-order: stroke; }
.v-sparkle { fill: #ffd34d; }

/* the speech bubble */
.v-bubble { position: absolute; z-index: 3; width: max-content; max-width: min(300px, 70%); padding: 12px 16px 13px; border-radius: 20px;
  background: #fff; color: #23304a; border: 3px solid #23304a; font: 600 17px/1.32 var(--vl-font);
  box-shadow: 0 6px 0 rgba(35, 48, 74, .12); transform: translate(-50%, -100%) scale(.6); transform-origin: var(--ax, 50%) 100%;
  opacity: 0; transition: opacity .18s, transform .3s cubic-bezier(.34, 1.6, .5, 1); pointer-events: none; text-wrap: balance; }
.v-bubble.on { opacity: 1; transform: translate(-50%, -100%) scale(1); }
.v-bubble::after { content: ''; position: absolute; left: var(--ax, 50%); bottom: -13px; width: 18px; height: 18px; margin-left: -9px;
  background: inherit; border-right: 3px solid #23304a; border-bottom: 3px solid #23304a; transform: rotate(45deg); border-radius: 0 0 5px 0; }
.v-bubble .who { display: block; font-size: 12px; letter-spacing: .6px; text-transform: uppercase; color: #e8673f; margin-bottom: 2px; }
.v-bubble.note { background: #fff8e3; border-style: dashed; font-weight: 500; font-style: italic; }
.v-bubble.note .who { color: #8a6a2a; font-style: normal; }
@media (max-width: 760px) { .v-bubble { font-size: 16px; max-width: 250px; } }

.v-hint { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 2; pointer-events: none;
  font: 600 14px var(--vl-font); color: #23304a; background: rgba(255, 255, 255, .9); padding: 6px 14px; border-radius: 99px; transition: opacity .6s;
  white-space: nowrap; box-shadow: 0 2px 10px rgba(0, 0, 0, .12); }
.v-hint.off { opacity: 0; }
/* on a phone the ground is full of friends, so the hint waits up in the sky */
.vl-frame.scrolls .v-hint { top: 62px; bottom: auto; left: 12px; right: 12px; width: fit-content; margin: 0 auto; transform: none; font-size: 13.5px; white-space: normal; text-align: center; }

/* look around: ‹ › at the sides while there's more to see that way */
.vl-look { position: absolute; top: 46%; z-index: 3; width: 44px; height: 44px; margin-top: -22px; border-radius: 50%; padding: 0 0 3px;
  background: rgba(255, 255, 255, .86); color: #23304a; border: 2.5px solid rgba(35, 48, 74, .8); box-shadow: 0 3px 0 rgba(35, 48, 74, .14);
  font: 700 28px/1 var(--vl-font); cursor: pointer; -webkit-tap-highlight-color: transparent;
  opacity: 0; visibility: hidden; transition: opacity .25s, visibility 0s .25s, transform .15s; }
.vl-look[data-dir="-1"] { left: calc(8px + var(--sl)); } .vl-look[data-dir="1"] { right: calc(8px + var(--sr)); }
.vl-look.on { opacity: 1; visibility: visible; transition: opacity .25s, transform .15s; }
.vl-look:active { transform: scale(.92); }
.vl-look:focus-visible { outline: 3px solid #ffcf5a; outline-offset: 2px; }
.night .vl-look { background: rgba(30, 38, 60, .8); color: #f4efe4; border-color: rgba(244, 239, 228, .6); }

/* the story buttons: one row on the ground under the scene, sideways on a small screen */
.vl-acts { flex: none; display: flex; flex-wrap: nowrap; gap: 10px; overflow-x: auto; scrollbar-width: none;
  padding: 11px calc(16px + var(--sr)) calc(12px + var(--sb)) calc(16px + var(--sl));
  background: linear-gradient(var(--vl-ground), var(--vl-ground2)); border-top: 3px solid color-mix(in srgb, var(--vl-ground2) 70%, #000); }
.vl-acts::-webkit-scrollbar { display: none; }
.vl-acts > :first-child { margin-left: auto; } .vl-acts > :last-child { margin-right: auto; }
.vl-act { flex: none; font: 600 16px var(--vl-font); color: var(--ink); background: var(--vl-card); border: 2.5px solid var(--vl-line); border-radius: 99px;
  padding: 10px 18px 10px 14px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: transform .15s, border-color .15s, background .15s;
  -webkit-tap-highlight-color: transparent; }
.vl-act:active { transform: scale(.96); }
.vl-act .em { font-size: 20px; line-height: 1; }
@media (hover: hover) { .vl-act:hover { border-color: var(--vl-pop); transform: translateY(-2px); } }
.vl-act:focus-visible { outline: 3px solid var(--vl-pop); outline-offset: 2px; }
.vl-act[aria-pressed="true"] { background: var(--vl-pop); border-color: var(--vl-pop); color: #fff; }
.vl-act[disabled] { opacity: .55; cursor: default; transform: none; border-style: dashed; }
/* where the row can't fit side by side (village.js fitActs()), each button is a tile, its emoji over its name, all in one row */
.vl-acts.tiles { display: grid; grid-auto-flow: column; grid-template-columns: minmax(0, .8fr); grid-auto-columns: minmax(0, 1fr); gap: 6px; overflow: visible; }
.vl-acts.tiles > :first-child, .vl-acts.tiles > :last-child { margin: 0; }
.vl-acts.tiles .vl-act { flex-direction: column; justify-content: center; gap: 4px; min-width: 0; padding: 8px 2px 7px; border-width: 2px; border-radius: 16px;
  font-size: 13px; line-height: 1.12; text-align: center; }
.vl-acts.tiles .vl-act .em { font-size: 24px; }
.vl-acts.tiles .vl-pack .t { display: inline; }
.vl-count { text-align: center; color: var(--vl-soft); font-size: 14px; margin: 14px 0 0; min-height: 1.4em; }

/* sections */
.vl-sec { margin: 72px auto 0; }
.vl-sec h2 { font-family: var(--vl-font); font-weight: 700; font-size: clamp(28px, 4.4vw, 40px); margin: 0; text-align: center; }
.vl-sec .vl-sub { text-align: center; color: var(--vl-soft); font-size: 17px; margin: 8px auto 0; max-width: 36em; text-wrap: balance; line-height: 1.5; }

.vl-people { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; margin-top: 28px; }
.vl-person { background: var(--vl-card); border: 2.5px solid var(--vl-line); border-radius: 26px; padding: 18px 20px 20px; position: relative; overflow: hidden; }
.vl-person .pic { display: block; width: 132px; height: 132px; margin: -4px auto 4px; cursor: pointer; background: none; border: 0; padding: 0; }
.vl-person .pic svg { width: 100%; height: 100%; display: block; overflow: visible; }
.vl-person .pic:hover .c-body, .vl-person .pic:focus-visible .c-body { animation: v-bounce .5s cubic-bezier(.3, 1.6, .5, 1); transform-box: fill-box; transform-origin: 50% 100%; }
.vl-person h3 { font-family: var(--vl-font); font-weight: 700; font-size: 26px; margin: 0; text-align: center; }
.vl-person .first { text-align: center; font-size: 13px; font-weight: 600; letter-spacing: .4px; text-transform: uppercase; color: var(--vl-pop); margin: 2px 0 10px; }
.vl-person ul { margin: 0; padding: 0; list-style: none; }
.vl-person li { font-size: 16px; line-height: 1.45; padding: 5px 0 5px 26px; position: relative; }
.vl-person li::before { content: '★'; position: absolute; left: 2px; top: 5px; color: #f2b52b; font-size: 15px; }
.vl-person .c-head, .vl-person .fx-tail { animation: none; }
.vl-person[data-tone="foxy"] { --tone: #f28c3a; } .vl-person[data-tone="oxy"] { --tone: #9b6a47; }
.vl-person[data-tone="dragondy"] { --tone: #57b87a; } .vl-person[data-tone="dinosaury"] { --tone: #7fa8ec; }
.vl-person::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 92px; background: color-mix(in srgb, var(--tone, #ccc) 16%, transparent); }
.vl-person > * { position: relative; }

.vl-soon { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; margin-top: 22px; }
.vl-soon button { background: var(--vl-card); border: 2.5px dashed var(--vl-line); border-radius: 22px; padding: 12px 10px 14px; text-align: center;
  font: inherit; color: inherit; cursor: pointer; transition: border-color .15s, transform .15s; }
.vl-soon button:hover, .vl-soon button:focus-visible { border-color: var(--vl-pop); transform: translateY(-2px); outline: none; }
.vl-soon svg { width: 96px; height: 84px; display: block; margin: 0 auto 4px; overflow: visible; }
.vl-soon b { display: block; font-weight: 700; font-size: 19px; }
.vl-soon span { display: block; font-size: 13px; color: var(--vl-soft); margin-top: 2px; }
.vl-soon .v-win { fill: #bfe6ff; }
.vl-soon button.peeking .v-peek { opacity: 1; }
.vl-soon button.peeking .v-win { fill: #fff2b8; }

.vl-books { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; margin-top: 28px; counter-reset: bk; }
.vl-book { border-radius: 8px 22px 22px 8px; padding: 22px 20px 20px 30px; position: relative; color: #23304a; background: var(--bk, #ffe3bf);
  box-shadow: inset 10px 0 0 rgba(0, 0, 0, .08), 0 8px 22px rgba(40, 60, 90, .12); min-height: 210px; display: flex; flex-direction: column; }
.vl-book .no { font-size: 13px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; opacity: .75; }
.vl-book h3 { font-family: var(--vl-font); font-weight: 700; font-size: 23px; line-height: 1.15; margin: 6px 0 8px; }
.vl-book p { font-size: 15.5px; line-height: 1.45; margin: 0; }
.vl-book .who { margin-top: auto; padding-top: 14px; display: flex; gap: 2px; }
.vl-book .who svg { width: 44px; height: 44px; overflow: visible; }
.vl-book.soon { background: transparent; border: 2.5px dashed var(--vl-line); box-shadow: none; color: var(--ink); }
.vl-book.soon .tag { position: absolute; top: 14px; right: 14px; font-size: 12px; font-weight: 700; background: var(--vl-pop); color: #fff; border-radius: 99px; padding: 3px 9px; }

.vl-credit { text-align: center; margin: 80px auto 0; padding: 40px 20px 10px; border-top: 2px dashed var(--vl-line); max-width: 760px; }
.vl-credit .hand { font-family: 'Travis Hand', var(--vl-font); font-weight: 700; font-size: clamp(26px, 4vw, 34px); line-height: 1.2; color: var(--ink); margin: 0; }
.vl-credit p { color: var(--vl-soft); font-size: 16px; line-height: 1.55; margin: 12px auto 0; max-width: 32em; }
.vl-credit a { color: var(--vl-pop); }

/* on a phone: a smaller card and buttons, two neighbors to a row */
@media (max-width: 760px) {
  .vl-card { padding: 22px 20px 24px; border-radius: 26px; }
  .vl-kicker { font-size: 12.5px; padding: 5px 12px; }
  .vl h1 { font-size: 36px; margin-top: 10px; }
  .vl-lede { font-size: 16px; margin-top: 8px; }
  .vl-home, .vl-about { top: 10px; height: 38px; }
  .vl-home { left: calc(10px + var(--sl)); } .vl-about { right: calc(10px + var(--sr)); width: 38px; }
  .vl-acts { padding: 9px calc(12px + var(--sr)) calc(10px + var(--sb)) calc(12px + var(--sl)); gap: 8px; }
  .vl-act { font-size: 15px; padding: 9px 15px 9px 12px; }
  .vl-act .em { font-size: 18px; }
  .vl-sec { margin-top: 56px; }
  .vl-people { grid-template-columns: 1fr 1fr; gap: 12px; }
  .vl-person { padding: 12px 12px 14px; border-radius: 20px; }
  .vl-person::before { height: 74px; }
  .vl-person .pic { width: 96px; height: 96px; }
  .vl-person h3 { font-size: 21px; }
  .vl-person .first { font-size: 11px; }
  .vl-person li { font-size: 14px; padding-left: 20px; }
  .vl-person li::before { font-size: 12px; }
  .vl-soon { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .vl-soon button { padding: 10px 4px 12px; }
  .vl-soon svg { width: 72px; height: 64px; max-width: 100%; }
  .vl-soon b { font-size: 16px; }
  .vl-soon span { font-size: 11.5px; }
  .vl-book { min-height: 0; }
}
/* a phone upright: the backpack, the stories, the sky and the seasons as seven tiles along the bottom, an emoji over a short name, all in reach of a thumb */
@media (max-width: 560px) and (min-height: 521px) {
  .vl-acts { display: grid; grid-auto-flow: column; grid-template-columns: minmax(0, .8fr); grid-auto-columns: minmax(0, 1fr); gap: 4px; overflow: visible;
    padding: 8px calc(6px + var(--sr)) calc(10px + var(--sb)) calc(6px + var(--sl)); }
  .vl-acts > :first-child, .vl-acts > :last-child { margin: 0; }
  .vl-act { flex-direction: column; justify-content: center; gap: 4px; min-width: 0; min-height: 64px; padding: 8px 1px 7px; border-width: 2px; border-radius: 16px;
    font-size: 11px; line-height: 1.12; text-align: center; overflow-wrap: normal; }
  .vl-act .em { font-size: 25px; }
}
/* upright on a phone, the welcome card says the whole hill shows with the phone on its side */
.vl-turn { display: none; }
@media (pointer: coarse) and (orientation: portrait) and (max-width: 560px) {
  .vl-turn { display: block; font-size: 14px; color: var(--vl-soft); margin: 12px auto 0; text-wrap: balance; }
}
@media (max-width: 360px) and (min-height: 521px) { .vl-act { font-size: 10px; } .vl-act .em { font-size: 22px; } .vl-pack .em { width: 24px; height: 24px; } }
/* a short screen (a phone on its side) */
@media (max-height: 520px) {
  .vl-welcome { padding: 56px 16px 12px; }
  .vl-card { padding: 14px 22px 16px; }
  .vl h1 { font-size: 30px; margin-top: 6px; }
  .vl-lede { font-size: 15px; margin-top: 6px; }
  .vl-go { margin-top: 10px; padding: 9px 22px 10px; font-size: 16px; }
  .vl-acts { padding: 6px calc(10px + var(--sr)) calc(7px + var(--sb)) calc(10px + var(--sl)); gap: 6px; }
  .vl-act { padding: 6px 12px 6px 10px; font-size: 14px; }
  .vl-acts.tiles .vl-act { padding: 5px 2px 4px; font-size: 12px; gap: 2px; }
  .vl-acts.tiles .vl-act .em { font-size: 19px; }
  .vl-acts.tiles .vl-pack .em { width: 21px; height: 21px; }
}
/* ── INSIDE (Nov 21 2026, Dalai and Travis: "we want to go inside the houses if you click on the doors … we want to go up
   into the castle in the sky if we click on that … click the time machine to go back in time with Dinosaury"): a tap on
   Foxy's door, Oxy's barn door or the castle opens that place over the hill (.vl-place, made by village.js, drawn by
   art.js place()), and the time machine goes back to Dinosaury's time, long, long ago. "‹ Outside" or Esc comes back. ── */
.vl-place { position: absolute; inset: 0; z-index: 4; overflow: hidden; visibility: hidden; background: #fff1da; }
.vl-place.in { visibility: visible; }
.vl-place > svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; overflow: hidden; }
.vl-place .vp-art { z-index: 0; } .vl-place .vp-act { z-index: 2; pointer-events: none; }
.vl-place .v-bubble { z-index: 3; }
.vl-frame.inside .vl-home, .vl-frame.inside .vl-about, .vl-frame.inside .vl-look, .vl-frame.inside .v-hint { visibility: hidden; }
.vl-out { position: absolute; top: 14px; left: calc(14px + var(--sl)); z-index: 5; display: inline-flex; align-items: center; gap: 6px; height: 40px;
  padding: 0 16px 0 12px; border-radius: 99px; border: 2px solid rgba(35, 48, 74, .55); background: rgba(255, 255, 255, .9); color: #23304a;
  font: 700 15px var(--vl-font); cursor: pointer; box-shadow: 0 3px 0 rgba(35, 48, 74, .14); }
.vl-out:hover { background: #fff; }
.vl-out:focus-visible { outline: 3px solid #ffcf5a; outline-offset: 2px; }
.night .vl-out { background: rgba(30, 38, 60, .82); color: #f4efe4; border-color: rgba(244, 239, 228, .6); }
.vp-tap { cursor: pointer; outline: none; }
.vp-tap:focus-visible > * { filter: drop-shadow(0 0 6px #ffcf5a) drop-shadow(0 0 2px #e8673f); }
.vl-place .v-actor { pointer-events: visiblePainted; }
.vp-win { fill: #bfe6ff; } .vp-cl { fill: #ffffff; }
.vl-place .vp-night { display: none; }
.night .vl-place .vp-night { display: inline; } .night .vl-place .vp-day { display: none; }
.night .vl-place .vp-win { fill: #22305a; } .night .vl-place .vp-cl { fill: #c9cfe6; }
.night .vl-place .vp-art { filter: brightness(.86) saturate(.92); }
.vp-glow { fill: #ffd34d; opacity: .16; } .night .vp-glow { opacity: .42; }
.vp-hearth { opacity: 0; transition: opacity .5s; }
.vp-hearth.lit { opacity: 1; }
.vp-hearth.lit .f1, .vp-hearth.lit .f2 { transform-box: fill-box; transform-origin: 50% 100%; animation: v-flick 1.1s ease-in-out infinite alternate; }
.vp-hearth.lit .f2 { animation-duration: .8s; animation-direction: alternate-reverse; }
.vp-candle { transform-box: fill-box; transform-origin: 50% 100%; animation: v-flick 1.3s ease-in-out infinite alternate; }
.vp-steam path { animation: vp-steam 2.6s ease-in-out infinite; }
.vp-steam path + path { animation-delay: -1.3s; }
@keyframes vp-steam { 0% { transform: translateY(6px); opacity: 0; } 40% { opacity: .9; } 100% { transform: translateY(-10px); opacity: 0; } }
.vp-blink { animation: v-blinky 1.8s steps(1, end) infinite; }
.vp-gear2, .vp-ferns, .vp-hay { transform-box: fill-box; transform-origin: center; }
.vp-ferns { transform-origin: 50% 100%; }
.vl-place .v-hands .mh { transform-box: fill-box; transform-origin: 0 50%; }
.vl-place .v-tm-lights circle { animation: v-blinky 1.6s steps(1, end) infinite; }
.pk1 { stop-color: #ffcf96; } .pk2 { stop-color: #fff0d2; }
.night .pk1 { stop-color: #1b1d40; } .night .pk2 { stop-color: #4a3d6e; }
.night .vp-farhill { fill: #6e6250; } .night .vp-ground { fill: #7d6a48; }
.vp-ptero { animation: vp-glide 26s ease-in-out infinite alternate; }
@keyframes vp-glide { from { transform: translate(260px, 190px); } 50% { transform: translate(640px, 120px); } to { transform: translate(1010px, 200px); } }
.vp-ptero-in { transform-box: fill-box; transform-origin: center; animation: vp-flap .9s ease-in-out infinite alternate; }
@keyframes vp-flap { to { transform: scaleY(.62); } }
.vp-smoke circle { fill: #d9d2cb; opacity: .8; animation: v-puff 4.5s ease-out infinite; transform-box: fill-box; transform-origin: center; }
.vp-smoke circle:nth-child(2) { animation-delay: 1.5s; } .vp-smoke circle:nth-child(3) { animation-delay: 3s; }
.night .vp-smoke circle { fill: #8f8aa0; }

/* ── THE STARS (Nov 21 2026, Dalai and Travis: "We want to make surprises on the friendly hill, just like we have on the
   beach"): sixteen surprises (village.js ALL), kept in this browser only. Since Nov 22 2026 (Travis: "let's put the stars
   in a little backpack on the pill bar nexts to the airplane story") they live in a little backpack, the first button on
   the row (#vl-pack): its badge counts them, a found star flies into it, and a tap opens its pocket (.vl-pocket) with
   all sixteen, a hint and Another hint. ── */
.vl-pack .em { position: relative; display: block; width: 26px; height: 26px; }
.vl-pack .em svg { width: 100%; height: 100%; display: block; overflow: visible; }
.vl-pack-n { position: absolute; top: -7px; right: -11px; min-width: 19px; height: 19px; padding: 0 4px; border-radius: 99px; box-sizing: border-box;
  background: #ffcf3a; border: 2px solid #c98d1a; color: #23304a; font: 700 11.5px/15px var(--vl-font); text-align: center; }
.vl-pack.got .em { animation: vl-pack .55s cubic-bezier(.34, 1.6, .5, 1); }
@keyframes vl-pack { 30% { transform: scale(1.28) rotate(-8deg); } 60% { transform: scale(.94) rotate(4deg); } }
.vl-pack[aria-expanded="true"] { border-color: var(--vl-pop); }
.vl-pocket { position: fixed; z-index: 25; width: min(300px, calc(100vw - 20px)); box-sizing: border-box; padding: 14px 16px 15px;
  border-radius: 22px; background: #fff8e3; border: 2.5px dashed #b8912a; color: #23304a; text-align: center; font-family: var(--vl-font);
  box-shadow: 0 10px 30px rgba(35, 48, 74, .22); opacity: 0; visibility: hidden; transform: translateY(8px) scale(.96); transform-origin: var(--ax, 50%) 100%;
  transition: opacity .2s, transform .2s, visibility 0s .2s; }
.vl-pocket.on { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .25s cubic-bezier(.34, 1.5, .5, 1); }
.vl-pocket::after { content: ''; position: absolute; bottom: -9px; left: var(--ax, 50%); width: 14px; height: 14px; margin-left: -8px;
  background: #fff8e3; border: 2.5px dashed #b8912a; border-top: 0; border-left: 0; transform: rotate(45deg); }
.vl-pk-x { position: absolute; top: 6px; right: 8px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: none; color: #23304a;
  font: 700 24px/1 var(--vl-font); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.vl-pk-h { margin: 2px 26px 10px; font-size: 17px; font-weight: 600; }
.vl-pk-h b { color: #c4561f; }
.vl-pk-stars { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px 4px; justify-items: center; }
.vl-pk-stars svg { width: 25px; height: 25px; display: block; }
.vl-pk-stars path { fill: rgba(35, 48, 74, .12); stroke: rgba(35, 48, 74, .3); stroke-width: 1.2; stroke-linejoin: round; transition: fill .3s; }
.vl-pk-stars .got path { fill: #ffcf3a; stroke: #c98d1a; }
.vl-pk-stars .got { animation: vl-got .5s cubic-bezier(.34, 1.6, .5, 1); }
@keyframes vl-got { from { transform: scale(1.8); } }
.vl-pk-hint { margin: 11px 0 0; font-size: 15px; line-height: 1.35; min-height: 1.35em; }
.vl-pk-go { margin-top: 10px; font: 600 15px var(--vl-font); color: #23304a; background: #fff; border: 2px solid #b8912a; border-radius: 99px;
  padding: 7px 16px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.vl-pk-x:focus-visible, .vl-pk-go:focus-visible { outline: 3px solid var(--vl-pop); outline-offset: 2px; }
@media (hover: hover) { .vl-pk-go:hover { background: #ffefb8; } }
.vl-tip { position: absolute; top: 16px; left: 50%; z-index: 5; transform: translateX(-50%); width: max-content; max-width: calc(100% - 32px);
  padding: 7px 14px; border-radius: 14px; background: #fff8e3; border: 2px dashed #b8912a; color: #23304a; font: 600 14.5px/1.3 var(--vl-font);
  text-align: center; opacity: 0; visibility: hidden; transition: opacity .25s, visibility 0s .25s; pointer-events: none; }
.vl-tip.on { opacity: 1; visibility: visible; transition: opacity .25s; }
.vl-star { position: fixed; z-index: 30; width: 26px; height: 26px; margin: -13px 0 0 -13px; pointer-events: none; }
.vl-star svg { width: 100%; height: 100%; display: block; }
.vl-star path { fill: #ffcf3a; stroke: #c98d1a; stroke-width: 1.4; }
.vl-confetti { position: fixed; top: -14px; z-index: 30; width: 9px; height: 14px; border-radius: 2px; pointer-events: none; }
@media (max-width: 560px) {
  .vl-tip { top: 58px; font-size: 14px; }
  .vl-out { top: 10px; left: calc(10px + var(--sl)); height: 38px; padding: 0 13px 0 10px; font-size: 14px; }
}
/* on a laptop the row is full, so the backpack drops its word (its badge and label still say what it holds) */
@media (min-width: 561px) and (max-width: 1099px) { .vl-pack .t { display: none; } .vl-pack { padding-right: 16px; } }
@media (max-width: 560px) and (min-height: 521px) { .vl-pack .em { width: 27px; height: 27px; } }
@media (max-height: 520px) { .vl-tip { top: 10px; } .vl-pack .em { width: 22px; height: 22px; } }

/* ── THE BLUE JAY FLIES (Nov 22 2026, Travis: "i think he wants the birds to fly around sometimes"): now and then by day
   she leaves her nest (village.js jayTrip()), flaps over the hill and comes home; the wings beat, and glide on the way
   down. ── */
.v-flyer { cursor: pointer; }
.v-flyer .f-w, .v-flyer .f-fw { transform-box: fill-box; transform-origin: 50% 100%; animation: v-jflap .32s ease-in-out infinite; }
.v-flyer .f-fw { animation-delay: -.04s; }
.v-flyer.glide .f-w, .v-flyer.glide .f-fw { animation: none; transform: scaleY(.3); }
@keyframes v-jflap { 50% { transform: scaleY(-.7); } }

@media (prefers-reduced-motion: reduce) {
  .v-world *, .vl * { animation: none !important; transition: none !important; }
}
