/* My universe (world.html, Nov 30): her pick "A · Orbit". The same night and moonlight as the Moonlight opening
   (features/moonlight.css): the dark is #171513, the light is warm moonlight cream, names are moonlit silver serif.
   features/universe.js draws the sky and the planets and places everything here. No lines anywhere. Garnet only on
   things you press (the dark-mode twin #E58D97 on the night, #8C2F39 on cream). */
html.uv-page, html.uv-page body { background: #171513; color-scheme: dark; }
body.uv { margin: 0; height: 100vh; height: 100svh; overflow: hidden; color: #ECE5D8; font-family: var(--sans); overscroll-behavior: none; }
.uv .skip:focus { top: 12px; }

/* ---------- the bar ---------- */
.uv-bar { position: fixed; z-index: 40; left: 0; right: 0; top: 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 16px clamp(16px, 3vw, 36px); pointer-events: none; }
.uv-bar > * { pointer-events: auto; }
.uv-bar::before { content: ""; position: absolute; inset: 0 0 -30px; z-index: -1; pointer-events: none; background: linear-gradient(rgba(23, 21, 19, 0.75), rgba(23, 21, 19, 0)); }
.uv-back { justify-self: start; color: #E58D97; font: 600 15px/1.2 var(--sans); text-decoration: none; padding: 8px 2px; }
.uv-back:hover { text-decoration: underline; text-underline-offset: 3px; }
.uv-back:focus-visible { outline: none; border-radius: 6px; box-shadow: 0 0 0 3px rgba(229, 141, 151, 0.45); }
.uv-title { margin: 0; font: 400 clamp(26px, 2.6vw, 34px)/1 var(--serif); letter-spacing: 0.005em; color: #E6DFD2;
  background: linear-gradient(178deg, #FBF8F1 0%, #E9E3D7 34%, #BDB5A8 58%, #DCD5C8 76%, #A79F93 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  transition: opacity 0.5s ease; }
.uv-tools { justify-self: end; display: flex; gap: 6px; }
.uv-tools button { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%; background: rgba(236, 229, 216, 0.08); color: #ECE5D8; cursor: pointer; }
.uv-tools button:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(229, 141, 151, 0.5); }
.uv-tools svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.uv-tools .sound-toggle .mute { display: none; }
.uv-tools .sound-toggle.off .mute { display: inline; }
.uv-tools .sound-toggle.off .wv { display: none; }
html.uv-down .uv-title { opacity: 0; }

/* ---------- the sky, and the buttons that sit over the planets ---------- */
.uv-main { position: fixed; inset: 0; }
.uv-gl { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.uv-layer { position: absolute; inset: 0; pointer-events: none; transition: opacity 0.5s ease; }
.uv-layer > * { position: absolute; left: 0; top: 0; will-change: transform; }
html.uv-down .uv-layer { opacity: 0; }
/* each planet's button: a holder moves it (transform), so the button itself can squish in place when pressed */
.uv-pos { width: var(--d, 40px); height: var(--d, 40px); pointer-events: none; }
.uv-hit { display: block; width: 100%; height: 100%; pointer-events: auto; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; }
.uv-hit:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(229, 141, 151, 0.55), 0 0 30px rgba(229, 141, 151, 0.35); }
/* the names: each pops in with its planet, and lifts a little while you point at it */
.uv-label { display: block; white-space: nowrap; pointer-events: none; }
.uv-lab-in { display: flex; align-items: center; gap: 7px; font: 600 14px/1 var(--sans); color: rgba(236, 229, 216, 0.9); text-shadow: 0 1px 10px rgba(0, 0, 0, 0.85);
  opacity: 0; scale: 0.4; transition: opacity 0.35s ease, scale 0.6s cubic-bezier(0.34, 1.7, 0.6, 1); }
.uv-lab-in::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #E58D97; box-shadow: 0 0 10px rgba(229, 141, 151, 0.6); }
.uv-label.on .uv-lab-in { opacity: 1; scale: 1; }
.uv-label.on.hov .uv-lab-in { scale: 1.12; color: #FBF6EC; }
/* hidden until the layout first places them (it sets opacity 1), so they never flash at full size while the page loads */
.uv-res { line-height: 0; pointer-events: none; transform-origin: 50% 100%; opacity: 0; }
.uv-res img { display: block; width: 100%; height: auto; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.5)); }
.uv-res.uv-plaque img { filter: drop-shadow(1px 3px 3px rgba(0, 0, 0, 0.6)); }
/* her, gently floating as the star */
@keyframes uv-float { from { translate: 0 2px; } to { translate: 0 -4px; } }
html.motion .uv-her .ma-stand { animation: uv-float 3.4s ease-in-out infinite alternate; }
html.uv-asking .uv-her .ma-stand { animation-play-state: paused; }

/* her, as the star. She sits beside the orbit's layer (not in it), so she stays in her starlight over a world too,
   in that world's outfit (features/universe.js, WEAR). Above the ground's layer, under the bar and her questions. */
.uv-me { pointer-events: auto; z-index: 120; }
.uv-main > .uv-me { position: absolute; left: 0; top: 0; will-change: transform; }
/* the soft puff of her light when she changes */
.uv-poof { position: absolute; left: 50%; top: 50%; width: 120px; height: 120px; translate: -50% -50%; border-radius: 50%; pointer-events: none; opacity: 0;
  background: radial-gradient(closest-side, rgba(255, 248, 232, 0.95), rgba(255, 246, 228, 0.55) 45%, rgba(255, 246, 228, 0) 100%); }
html.uv-down .uv-me .uv-tag { opacity: 0; transition-duration: 0.2s; }
.uv-her { padding: 0; border: 0; background: none; line-height: 0; cursor: pointer; border-radius: 40% 40% 20% 20%; }
.uv-her:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(229, 141, 151, 0.5); }
.uv-tag { position: absolute; left: 50%; bottom: 100%; translate: -50% -6px; padding: 6px 12px 7px; border-radius: 999px; background: rgba(255, 253, 248, 0.94); color: #2A2420; font: 600 13.5px/1 var(--sans); white-space: nowrap; box-shadow: 0 10px 22px -12px rgba(0, 0, 0, 0.7); pointer-events: none; opacity: 0; transition: opacity 0.6s ease; }
html.uv-in .uv-tag { opacity: 1; }
html.uv-asking .uv-tag { opacity: 0; }

.uv-hint { position: fixed; z-index: 30; left: 50%; bottom: 20px; translate: -50% 0; margin: 0; width: max-content; max-width: calc(100% - 32px); text-align: center; font: 400 15px/1.35 var(--sans); color: rgba(236, 229, 216, 0.6); text-shadow: 0 1px 12px rgba(0, 0, 0, 0.9); opacity: 0; transition: opacity 0.9s ease; }
html.uv-in .uv-hint { opacity: 1; }
.uv-off { display: none !important; }

/* her questions: beside her on a computer, a sheet at the bottom on phones */
.uv-ask { position: fixed; z-index: 60; width: min(450px, calc(100% - 24px)); overflow-y: auto; overscroll-behavior: contain; border-radius: 20px; background: #FFFDF8; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.85); opacity: 0; translate: 0 8px; transition: opacity 0.25s ease, translate 0.4s var(--e-out, ease-out); }
.uv-ask.on { opacity: 1; translate: 0 0; }
.uv-ask .ma-ask-in { background: none; }
.uv-ask-x { position: absolute; right: 8px; top: 8px; z-index: 2; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; background: rgba(42, 36, 32, 0.06); color: #8C2F39; font: 400 22px/1 var(--sans); cursor: pointer; }
.uv-ask-x:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(140, 47, 57, 0.4); }

/* one line from a thing */
.uv-say { position: fixed; z-index: 70; padding: 7px 13px 8px; border-radius: 999px; background: rgba(255, 253, 248, 0.95); color: #2A2420; font: 600 14px/1.2 var(--sans); white-space: nowrap; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.6); pointer-events: none; opacity: 0; translate: -50% calc(-100% + 4px); transition: opacity 0.25s ease, translate 0.4s var(--e-out, ease-out); }
.uv-say.on { opacity: 1; translate: -50% -100%; }
.uv-say.below { translate: -50% -4px; }
.uv-say.below.on { translate: -50% 0; }
.uv-live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- standing on a world ---------- */
.uv-land { position: fixed; inset: 0; z-index: 20; opacity: 0; transition: opacity 0.5s ease; }
.uv-land.on { opacity: 1; }
.uv-land[hidden] { display: none; }
/* a soft dark behind the name and the bar, so a planet passing over them never makes them hard to read */
.uv-land::before { content: ""; position: absolute; left: 0; top: 0; width: min(900px, 90vw); height: min(420px, 50vh); pointer-events: none;
  background: radial-gradient(ellipse at 0 0, rgba(23, 21, 19, 0.72), rgba(23, 21, 19, 0.35) 45%, rgba(23, 21, 19, 0) 72%); }
.uv-name { position: absolute; z-index: 2; left: clamp(20px, 4.2vw, 64px); top: clamp(84px, 12vh, 124px); margin: 0; max-width: 60vw;
  font: 400 clamp(64px, 7.6vw, 120px)/0.92 var(--serif); letter-spacing: -0.015em; color: #E6DFD2;
  background: linear-gradient(178deg, #FBF8F1 0%, #E9E3D7 34%, #BDB5A8 58%, #DCD5C8 76%, #A79F93 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 18px rgba(0, 0, 0, 0.55)); }
.uv-line { position: absolute; z-index: 2; left: clamp(20px, 4.2vw, 64px); top: calc(clamp(84px, 12vh, 124px) + clamp(70px, 8.2vw, 128px)); margin: 0; font: 400 17px/1.4 var(--sans); color: rgba(236, 229, 216, 0.7); text-shadow: 0 1px 12px rgba(0, 0, 0, 0.8); }
.uv-ground { position: absolute; inset: 0; }
.uv-host { position: absolute; left: 0; top: 0; transform-origin: 50% 100%; }
.uv-host > .w-thing { transform-origin: 50% 100%; }
.uv-shadow { position: absolute; left: 50%; bottom: -10px; z-index: -1; width: 120%; height: 26px; translate: -50% 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, 0.5), transparent); pointer-events: none; }
/* the TEDx pin leans against the front of the plaque, standing on the ground */
.uv-host[data-k="pin"] { z-index: 2; }
.uv-host[data-k="pin"] .uv-shadow { width: 100%; height: 14px; bottom: -5px; }

/* music: her recording, the same player as the main page's bar */
.uv-np { display: none; }
.uv-np-here { position: absolute; left: 60%; top: 74%; translate: -50% -50%; }
.uv-np-here .np { display: inline-flex; align-items: center; gap: 2px; padding: 4px 6px 4px 4px; border-radius: 999px; box-shadow: 0 18px 36px -16px rgba(0, 0, 0, 0.8); cursor: pointer; }
.uv-np-here .np .np-ico { display: grid; place-items: center; }
.uv-np-here .np .np-label { max-width: none; opacity: 1; padding-right: 16px; white-space: nowrap; }
.uv-np-here .np:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(229, 141, 151, 0.55); }

/* things she loves: her photos as little prints on the ground, each with her word for it */

/* travel: the world before, back up to the orbit, the world after */
.uv-tour { position: absolute; z-index: 3; left: 50%; bottom: 20px; translate: -50% 0; display: flex; align-items: center; gap: 8px; max-width: calc(100% - 24px); }
.uv-tour button { display: inline-flex; align-items: center; gap: 7px; height: 42px; padding: 0 16px; border: 0; border-radius: 999px; font: 600 14.5px/1 var(--sans); white-space: nowrap; cursor: pointer; }
.uv-step { background: rgba(23, 21, 19, 0.55); color: #E58D97; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.uv-up { background: rgba(255, 253, 248, 0.95); color: #8C2F39; box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.8); }
.uv-tour button:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(229, 141, 151, 0.55); }

/* ---------- the way in: when you came through the moon, the page opens in its light ---------- */
.uv-veil { position: fixed; z-index: 500; left: 50%; top: 47%; width: 320vmax; height: 320vmax; translate: -50% -50%; border-radius: 50%; pointer-events: none; display: none;
  background: radial-gradient(closest-side, #FFF8EA 0%, #FFF6E4 45%, rgba(250, 240, 220, 0.96) 58%, rgba(244, 233, 212, 0.85) 70%, rgba(236, 226, 206, 0.5) 84%, rgba(236, 226, 206, 0) 100%); }
html.uv-door-in .uv-veil { display: block; }
html.uv-door-in .uv-veil[hidden] { display: none; }

/* ---------- no WebGL: flat painted planets in the same places ---------- */
.uv-flat .uv-hit { background: radial-gradient(circle at 34% 30%, var(--c1, #EDE3C8), var(--c2, #8A7F68) 70%, #24201B); box-shadow: 0 0 30px rgba(255, 240, 210, 0.12); }
.uv-flat .uv-hit[data-k="fridge"] { --c1: #FBF0C8; --c2: #D9B862; }
.uv-flat .uv-hit[data-k="camera"] { --c1: #DCE6F6; --c2: #7E97C2; }
.uv-flat .uv-hit[data-k="bag"] { --c1: #5A3A36; --c2: #140F0E; }
.uv-flat .uv-hit[data-k="closet"] { --c1: #F1ECFB; --c2: #9C8CD0; }
.uv-flat .uv-hit[data-k="plush"] { --c1: #FBE0E6; --c2: #D98C9C; }
.uv-flat .uv-hit[data-k="pig"] { --c1: #FBF3E6; --c2: #C8874A; }
.uv-flat .uv-hit[data-k="books"] { --c1: #C98E5E; --c2: #4A2A1C; }
.uv-flat .uv-hit[data-k="art"] { --c1: #F2DDB8; --c2: #B8873F; }
.uv-flat .uv-hit[data-k="trails"] { --c1: #CFE0BC; --c2: #5F7F52; }
.uv-flat .uv-main { background: radial-gradient(circle at 50% 47%, rgba(255, 246, 228, 0.16), rgba(255, 246, 228, 0) 34%), #171513; }

/* ---------- phones ---------- */
@media (max-width: 639px) {
  .uv-bar { grid-template-columns: auto 1fr auto; padding: 10px 14px; }
  .uv-title { justify-self: center; font-size: 24px; }
  .uv-back { font-size: 14px; }
  .uv-back .long { display: none; }
  .uv-tools button { width: 34px; height: 34px; }
  .uv-lab-in { font-size: 12.5px; gap: 6px; }
  .uv-lab-in::before { width: 6px; height: 6px; }
  .uv-hint { font-size: 13.5px; bottom: 16px; }
  .uv-ask { position: fixed; left: 12px; right: 12px; bottom: 12px; top: auto !important; width: auto; max-height: 62svh !important; }
  .uv-name { top: 70px; left: 20px; font-size: 60px; max-width: calc(100% - 40px); }
  .uv-line { top: 134px; left: 20px; font-size: 15px; max-width: calc(100% - 150px); } /* stays clear of her star, upper right */
  .uv-np-here { left: 50%; top: 70%; }
  .uv-tour { bottom: 14px; gap: 6px; }
  .uv-tour button { height: 40px; padding: 0 12px; font-size: 13.5px; gap: 5px; }
  .uv-step .uv-step-name { display: none; }
}
@media (max-width: 380px) { .uv-tour button { padding: 0 10px; font-size: 13px; } }

@media (prefers-reduced-motion: reduce) {
  .uv-lab-in, .uv-label.on.hov .uv-lab-in { scale: 1; }
}

/* no WebGL: a plain curved ground under the things */
.uv-flat .uv-ground::before { content: ""; position: absolute; left: -20%; right: -20%; top: 66%; bottom: -80%; border-radius: 50%; background: radial-gradient(ellipse at 50% 0, #4A4238, #24201B 60%); }

/* ---------- Dec 1, night: fun only, more playful (her notes) ----------
   No "My universe" heading on screen (it stays for screen readers). */
.uv-title { position: absolute !important; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* what she's wearing and why, under her (Dec 1, her note: "it should also say what outfit i'm wearing and what it's
   supposed to mean so it don't look random") */
/* her note "wearing needs to be more subtle": small, soft, and it only brightens for a moment after she changes */
.uv-wear { position: absolute; left: 50%; top: 100%; translate: -50% 2px; width: max-content; max-width: 190px; margin: 0; text-align: center; font: italic 400 12.5px/1.3 var(--serif, serif); color: #EDE6DA; opacity: 0.38; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.9); pointer-events: none; transition: opacity 1.2s ease; }
.uv-wear.fresh { opacity: 0.72; transition-duration: 0.4s; }
.uv-me:hover .uv-wear, .uv-me:focus-within .uv-wear { opacity: 0.72; }
@media (max-width: 760px) { .uv-wear { max-width: 150px; font-size: 11.5px; } }
/* long lines (the telescope's moon facts) wrap instead of running off */
.uv-say { white-space: normal; max-width: min(340px, 82vw); border-radius: 18px; text-align: center; }

/* tiny moons (Dec 1, late, look A): her bag, a book and a bike riding round three of the planets */
.uv-moon { position: absolute; left: 0; top: 0; width: 20px; opacity: 0; line-height: 0; pointer-events: none; transition: opacity 0.35s ease; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.45)); }
.uv-moon svg { display: block; width: 100%; height: auto; }
.uv-down .uv-moon { opacity: 0 !important; }

/* the outfit hanger beside her (Dec 1, late): a soft round button, no outline, brighter on hover */
.uv-swap { position: absolute; z-index: 3; right: -40px; top: 34%; display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 253, 248, 0.16); color: #F4EFE6; cursor: pointer; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background-color 0.25s ease, scale 0.3s var(--e-out, ease); }
.uv-swap svg { width: 19px; height: 19px; }
.uv-swap:hover { background: rgba(255, 253, 248, 0.3); scale: 1.08; }
.uv-swap:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(229, 141, 151, 0.55); }

/* ---------- The moon in the middle, Mini Audrey on her rocket (Dec 1, night, her call) ----------
   Her moon (images/moon.webp) sits where the star is, in its light, sized to the star (features/universe.js, placeHer).
   Mini Audrey rides a little rocket in the lower-left corner of the sky, bobbing; tap her for her questions as before.
   Her "wearing" line sits under her and the outfit button beside her. */
.uv-moonstar { position: absolute; left: 0; top: 0; z-index: 110; pointer-events: none; border-radius: 50%; will-change: transform; filter: drop-shadow(0 0 22px rgba(255, 240, 210, 0.55)) drop-shadow(0 0 60px rgba(255, 240, 210, 0.22)); }
.uv-moonstar img { display: block; width: 100%; height: 100%; border-radius: 50%; }
.uv-main > .uv-me.uv-rider { left: clamp(18px, 4vw, 64px); top: auto; bottom: clamp(96px, 15vh, 150px); transform: none; }
.uv-rider .uv-her { position: relative; z-index: 1; }
.uv-rider .uv-rocket { position: absolute; z-index: 2; left: -38%; bottom: -34%; width: 150%; height: auto; aspect-ratio: 1; overflow: visible; pointer-events: none; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.45)); }
.uv-rider .uv-flame { fill: #F3C969; transform-origin: 14px 30px; }
html.motion .uv-rider .uv-flame { animation: uv-flick 0.32s ease-in-out infinite alternate; }
html.motion .uv-rider { animation: uv-ride 3.6s ease-in-out infinite; }
html.uv-asking .uv-rider { animation-play-state: paused; }
@keyframes uv-flick { from { transform: scale(0.8); opacity: 0.75; } to { transform: scale(1.15); opacity: 1; } }
@keyframes uv-ride { 0%, 100% { translate: 0 0; rotate: 0deg; } 50% { translate: 4px -8px; rotate: -2deg; } }
.uv-rider .uv-wear { top: calc(100% + 26px); }
@media (prefers-reduced-motion: reduce) { .uv-rider, .uv-rider .uv-flame { animation: none !important; } }
/* sized and seated (measured at 1440 wide): the moon about half the star's glow, its craters showing; the rocket under her
   hips, her feet tucked behind it */
.uv-moonstar img { filter: brightness(0.9) contrast(1.18); }
.uv-rider .uv-rocket { left: -40%; top: 32%; bottom: auto; width: 150%; }
.uv-rider .uv-her { clip-path: inset(-40px -40px 7% -40px); }
.uv-rider .uv-wear { top: calc(100% + 30px); }
.uv-rider .uv-rocket { top: 39%; }
/* tall screens (the orbit stands upright and fills the bottom): she rides in the top-right corner instead, under the bar,
   with her outfit button on her left */
@media (max-aspect-ratio: 85/100) {
  .uv-main > .uv-me.uv-rider { left: auto; right: 26px; top: 92px; bottom: auto; }
  .uv-rider .uv-swap { right: auto; left: -42px; }
}
@media (max-aspect-ratio: 85/100) {
  .uv-rider .uv-wear { left: auto; right: -10px; translate: 0 2px; max-width: 160px; text-align: right; }
  .uv-rider .uv-wear:not(.fresh) { opacity: 0; }
}
/* the "ask me" tag can be clicked (it opens her questions, features/universe.js) */
.uv-me .uv-tag { pointer-events: auto; cursor: pointer; }
html.uv-asking .uv-me .uv-tag { pointer-events: none; }
.uv-me .uv-tag:hover { background: #FFFFFF; }
/* the new rocket: shaded, glass porthole, rivets, glowing flame (same shape and angle) */
.uv-rider .uv-flame { transform-box: fill-box; transform-origin: 50% 0%; }

/* Dec 1, night (her notes: "the 'wearing my everyday white blazer' thing is ugly", "the 'ask me' thing is also ugly"):
   no outfit line under her, and "ask me" is a small speech bubble in the italic serif, its tail pointing down to her */
.uv-me .uv-wear { display: none !important; }
.uv-me .uv-tag { left: 62%; bottom: 100%; translate: 0 -2px; padding: 6px 12px 7px; border-radius: 14px 14px 14px 3px; background: rgba(255, 250, 240, 0.95); color: #3A2E2A; font: italic 400 16px/1 var(--serif, "Instrument Serif", serif); letter-spacing: 0.01em; box-shadow: 0 10px 20px -12px rgba(0, 0, 0, 0.75); }
.uv-me .uv-tag::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 11px; height: 8px; background: inherit; clip-path: polygon(0 0, 100% 0, 0 100%); }
html.motion .uv-me .uv-tag { animation: uv-tag-bob 3.2s ease-in-out infinite; }
@keyframes uv-tag-bob { 0%, 100% { translate: 0 -2px; } 50% { translate: 0 -6px; } }
@media (prefers-reduced-motion: reduce) { .uv-me .uv-tag { animation: none !important; } }
@media (max-aspect-ratio: 85/100) { .uv-me .uv-tag { left: auto; right: 62%; border-radius: 14px 14px 3px 14px; } .uv-me .uv-tag::after { left: auto; right: 0; clip-path: polygon(0 0, 100% 0, 100% 100%); } }

/* Dec 2 (her note: "when i click on the planet the bottom of the letters of the name of the planet are getting cut off"):
   the name's silver fill only covered its tight line box, so the tails of g, p and y fell outside it. Room below now. */
.uv-name { line-height: 1.02; padding: 0.04em 0.06em 0.18em 0; }

/* ---------- Dec 2: the rocket, rendered (her note: "needs to be rendered better") ----------
   The same 3D clay render as the doorway (images/rocket.webp, from lab/rocket-render.html), with a cockpit she sits in.
   The flame stays live SVG behind it, and images/rocket-front.webp (the cockpit's front lip and the body below it) lies
   over her. Sizes are in her box's width (margins in % follow the width): her picture is 55% of the rocket's frame, its
   top-left 17.8% and 4% into it, exactly as on the doorway. Every outfit picture shares one frame, so this holds for all. */
.uv-rider .uv-rocket { z-index: 0; left: -76.6%; top: 0; bottom: auto; margin-top: -15.8%; width: 274.4%; height: auto; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.45)); }
.uv-rider .uv-rocket-front { position: absolute; z-index: 3; left: -76.6%; top: 0; margin-top: -15.8%; width: 274.4%; height: auto; aspect-ratio: 1; max-width: none; pointer-events: none; }
.uv-rider .uv-her { z-index: 2; clip-path: inset(-40px -40px 28.6% -40px); }
.uv-main > .uv-me.uv-rider { margin-left: 22px; }
.uv-rider .uv-swap { right: -76px; }   /* past the rocket's nose */
@media (max-aspect-ratio: 85/100) { .uv-rider .uv-swap { right: auto; left: -42px; } .uv-main > .uv-me.uv-rider { right: 64px; margin-left: 0; } }   /* the rocket reaches past her right side */

/* Dec 3 (her note: "when i hover over the planets the names are kinda obscured"): the name of the planet you point
   at comes to the very top (over nearer planets and their things) on a soft dark pill, a little bigger. */
.uv-label { z-index: 130 !important; }   /* names always sit over Mini Audrey (120); they never catch clicks */
.uv-label.hov { z-index: 150 !important; }
.uv-lab-in { padding: 5px 11px 6px; margin: -5px -11px -6px; border-radius: 999px; background: rgba(14, 12, 11, 0); transition: opacity 0.35s ease, scale 0.6s cubic-bezier(0.34, 1.7, 0.6, 1), background-color 0.25s ease, box-shadow 0.25s ease; }
.uv-label.on.hov .uv-lab-in { scale: 1.18; color: #1A1816; text-shadow: none; background: rgba(255, 246, 228, 0.94); box-shadow: 0 0 22px rgba(255, 246, 228, 0.28), 0 8px 22px -10px rgba(0, 0, 0, 0.85); }
@media (max-width: 600px) { .uv-label.on.hov .uv-lab-in { scale: 1; } }
.uv-moonstar img { filter: none; }   /* Dec 3: the NASA-map render needs no correction */
