/* ——— Your joys, the fourth ring (本人 2026-11-29 「都做」): what you love, made better.
   1. The opener, as the other rings open: a photograph at dusk (images/joys/opener.jpg) and three lines.
   2. Theo's campaign (#rv-theo), told in the grammar of the other held stories (.rv, site.css): his room; an original game
      (Codex's frames) with her steadying drawn over it by sections/joys.js, beside his Steady aim setting; the last level; his joy.
      Her marks are clear-glass white, never gold.
   3. Four more joys (#joys-more), each with what she handed back drawn as it really looks. */

/* ——— 2 · Theo. The game's frames hold still (a game does not drift); everything on them is placed in the frame's own
   coordinates (--lx, --ly: the sentinel's lens, in % of the picture) so it stays on the target at every window size */
#rv-theo .jy-game > i, #rv-theo .jy-game.show > i { transform: none; transition: none; filter: brightness(.8) saturate(.92); }
/* the game's light is brighter than an evening photograph: its words sit on a deeper shade */
#rv-theo .rv-w[data-on="1"]::before, #rv-theo .rv-w[data-on="2"]::before { inset: -60% -40%; background: radial-gradient(closest-side, rgba(7, 7, 6, .84), rgba(7, 7, 6, .5) 55%, rgba(7, 7, 6, 0)); }
#rv-theo .rv-w[data-on="1"], #rv-theo .rv-w[data-on="2"] { text-shadow: 0 1px 16px rgba(0, 0, 0, .65); }
.jy-hud { position: absolute; inset: 0; pointer-events: none; --s: clamp(46px, 3.2vw, 86px); --glass: rgba(244, 247, 252, .78); --glow: rgba(214, 228, 255, .5);
  font-family: var(--font-sans); color: rgba(255, 250, 242, .94); }
/* the crosshair: where he meant it. A clear ring, its four ticks and a point; it never leaves the lens during a tic */
.jy-aim, .jy-ghost { position: absolute; left: calc(var(--lx) * 1%); top: calc(var(--ly) * 1%); width: var(--s); height: var(--s); margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2); border-radius: 50%; }
.jy-aim { transform: translate3d(var(--cx, 0px), var(--cy, 0px), 0);
  background: radial-gradient(circle, var(--glass) 0 1.6px, transparent 2.2px);
  box-shadow: inset 0 0 0 1.5px var(--glass), 0 0 10px var(--glow), inset 0 0 8px rgba(214, 228, 255, .25); }
.jy-aim::before, .jy-aim::after { content: ""; position: absolute; inset: -42%; pointer-events: none;
  background: linear-gradient(var(--glass), var(--glass)) left center / 24% 1.5px no-repeat, linear-gradient(var(--glass), var(--glass)) right center / 24% 1.5px no-repeat,
    linear-gradient(var(--glass), var(--glass)) center top / 1.5px 24% no-repeat, linear-gradient(var(--glass), var(--glass)) center bottom / 1.5px 24% no-repeat;
  filter: drop-shadow(0 0 4px var(--glow)); }
/* the hit: the same ticks, turned, for a moment */
.jy-aim::after { transform: rotate(45deg) scale(.82); opacity: 0; transition: opacity .3s ease; }
.jy-hud.shot .jy-aim::after { opacity: 1; transition: none; }
/* his hand, where the tic carried it: a faint dashed ring, and the thread back to where he meant */
.jy-ghost { transform: translate3d(var(--gx, 0px), var(--gy, 0px), 0); border: 1.5px dashed rgba(244, 247, 252, .72); opacity: var(--go, 0); }
.jy-line { position: absolute; left: calc(var(--lx) * 1%); top: calc(var(--ly) * 1%); width: var(--len, 0px); height: 1.5px; margin-top: -.75px; transform-origin: 0 50%;
  transform: translate3d(var(--cx, 0px), var(--cy, 0px), 0) rotate(var(--ang, 0rad)); opacity: var(--go, 0);
  background: repeating-linear-gradient(90deg, rgba(244, 247, 252, .55) 0 5px, transparent 5px 10px); }
.jy-held, .jy-ghost i { position: absolute; top: 50%; margin-top: -1.05em; padding: .3em .85em .32em .95em; border-radius: 999px; font-style: normal; font-size: clamp(11px, .72vw, 14px); line-height: 1.5;
  font-weight: var(--w-strong); letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; color: rgba(244, 247, 252, .97);
  background: rgba(10, 11, 14, .52); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px rgba(244, 247, 252, .5), 0 0 12px rgba(214, 228, 255, .25); }
.jy-held { left: calc(100% + 16px); opacity: 0; transition: opacity .5s ease; }
.jy-hud.tic .jy-held { opacity: 1; transition: opacity .12s ease; }
/* his hand's label, on the far side of its ring, quieter */
.jy-ghost i { left: -300%; right: -300%; top: auto; bottom: calc(100% + 10px); width: max-content; margin: 0 auto; color: rgba(244, 247, 252, .82); box-shadow: inset 0 0 0 1px rgba(244, 247, 252, .28); }
/* the lens, struck */
.jy-flash { position: absolute; left: calc(var(--lx) * 1%); top: calc(var(--ly) * 1%); width: calc(var(--s) * 1.5); height: calc(var(--s) * 1.5); margin: calc(var(--s) * -.75) 0 0 calc(var(--s) * -.75);
  border-radius: 50%; background: radial-gradient(circle, rgba(255, 246, 226, .95), rgba(255, 214, 150, .45) 30%, rgba(255, 190, 120, 0) 68%); opacity: 0; transform: scale(.6); transition: opacity .45s ease, transform .45s ease; }
.jy-hud.shot .jy-flash { opacity: 1; transform: none; transition: none; }
/* the game's own few words: ammunition by the rifle; the last level's keeper */
.jy-ammo { position: absolute; left: 84%; top: 77%; font-size: clamp(13px, .9vw, 18px); letter-spacing: .08em; font-variant-numeric: tabular-nums; color: rgba(255, 248, 236, .8); text-shadow: 0 1px 8px rgba(0, 0, 0, .7); }
.jy-ammo b { margin-right: .3em; font-weight: var(--w-strong); font-size: 1.7em; color: rgba(255, 250, 242, .96); }
.jy-boss { position: absolute; left: 34%; width: 32%; top: 15.5%; text-align: center; }
.jy-boss b { display: block; font-weight: var(--w-strong); font-size: clamp(11px, .74vw, 14px); letter-spacing: .26em; text-transform: uppercase; color: rgba(255, 248, 236, .92); text-shadow: 0 1px 8px rgba(0, 0, 0, .6); }
.jy-boss i { display: block; height: 5px; margin-top: 9px; border-radius: 3px; background: rgba(20, 14, 12, .5); box-shadow: inset 0 0 0 1px rgba(255, 240, 220, .3); overflow: hidden; }
.jy-boss s { display: block; width: 7%; height: 100%; background: linear-gradient(90deg, #c9654a, #e59a6a); }

/* her setting, beside the game; and his messages, at the end. Laid over the story, never under its fade */
.jy-cards { position: absolute; inset: 0; pointer-events: none; }
.jy-set, .jy-msg { position: absolute; opacity: 0; transform: translateY(18px); transition: opacity .9s ease .2s, transform 1.2s cubic-bezier(.2, .7, .2, 1) .2s; }
.jy-set.show, .jy-msg.show { opacity: 1; transform: none; }
.jy-set { left: var(--edge); top: 0; bottom: 0; margin: auto 0; height: max-content; width: min(420px, 31vw); padding: 24px 26px 20px; border-radius: 24px;
  background: rgba(13, 12, 11, .88); box-shadow: 0 0 0 1px rgba(255, 248, 235, .12), 0 50px 120px -40px rgba(0, 0, 0, .9); color: var(--ink); }
.jy-k { margin: 0; font-size: var(--t-caption); color: var(--ink-3); letter-spacing: .01em; }
.jy-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 14px; }
.jy-top b { display: block; font-family: var(--font-display); font-weight: var(--w-regular); font-size: 30px; line-height: 1.1; color: #f6f1e7; }
.jy-top em { display: block; margin-top: 4px; font-style: normal; font-size: var(--t-small); color: var(--ink-2); }
.jy-tog { flex: none; position: relative; width: 50px; height: 30px; border-radius: 15px; background: rgba(244, 247, 252, .8); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5), 0 0 14px rgba(214, 228, 255, .35); }
.jy-tog::after { content: ""; position: absolute; right: 2px; top: 2px; width: 26px; height: 26px; border-radius: 50%; background: #fdfdfe; box-shadow: 0 1px 4px rgba(0, 0, 0, .45), 0 0 0 .5px rgba(0, 0, 0, .12); }
.jy-d { margin: 14px 0 0; font-size: var(--t-small); line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.jy-set dl { margin: 14px 0 0; }
.jy-set dl div { display: grid; grid-template-columns: 6.4em minmax(0, 1fr); gap: 12px; padding: 9px 0; border-top: 1px solid rgba(255, 248, 235, .08); }
.jy-set dt { font-size: var(--t-caption); color: var(--ink-3); }
.jy-set dd { margin: 0; font-size: var(--t-small); line-height: 1.45; color: var(--ink); }
/* the last tic, as it happened: his hand left, the crosshair stayed */
.jy-trace { margin: 12px 0 0; padding-top: 12px; border-top: 1px solid rgba(255, 248, 235, .08); }
.jy-trace figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; font-size: var(--t-caption); color: var(--ink-3); }
.jy-trace .k { display: inline-flex; align-items: center; gap: 6px; }
.jy-trace .k i { display: inline-block; width: 16px; height: 0; margin-left: 6px; border-top: 1.5px dashed rgba(244, 247, 252, .55); }
.jy-trace .k i.c { border-top-style: solid; border-top-color: rgba(244, 247, 252, .92); }
.jy-trace svg { display: block; width: 100%; height: 64px; margin-top: 8px; overflow: visible; }
.jy-trace .tr-h { fill: none; stroke: rgba(244, 247, 252, .5); stroke-width: 1.5; stroke-dasharray: 4 4; vector-effect: non-scaling-stroke; }
.jy-trace .tr-c { fill: none; stroke: rgba(244, 247, 252, .92); stroke-width: 1.8; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 3px rgba(214, 228, 255, .5)); }
.jy-trace .tr-base { stroke: rgba(255, 248, 235, .08); stroke-width: 1; vector-effect: non-scaling-stroke; }
.jy-trace .tr-shot { stroke: rgba(244, 247, 252, .35); stroke-width: 1; vector-effect: non-scaling-stroke; }
.jy-trace .tr-now { stroke: rgba(244, 247, 252, .3); stroke-width: 1; vector-effect: non-scaling-stroke; }

/* his messages, as his phone shows them */
.jy-msg { left: var(--edge); bottom: 12vh; width: min(22.5em, 27vw); padding: .95em .95em 1.05em; border-radius: 1.75em; background: #000; color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, sans-serif; font-size: clamp(15px, .36vw + 9.8px, 19px); line-height: 1.32;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 50px 120px -40px rgba(0, 0, 0, .95); }
.jy-msg header { display: flex; flex-direction: column; align-items: center; gap: 5px; padding-bottom: 10px; border-bottom: .5px solid rgba(255, 255, 255, .12); }
.jy-msg header i { display: grid; place-items: center; width: 2.65em; height: 2.65em; border-radius: 50%; font-style: normal; font-size: 1.13em; font-weight: 600; color: #fff; background: linear-gradient(#a5a9b4, #7d818c); }
.jy-msg header b { font-size: .8em; font-weight: 500; color: rgba(255, 255, 255, .9); }
.jy-msg .t { margin: .9em 0 .7em; text-align: center; font-size: .73em; color: rgba(235, 235, 245, .55); }
.jy-msg .me, .jy-msg .you { max-width: 78%; width: max-content; margin: 3px 0 0; padding: 7px 12px 8px; border-radius: 18px; text-wrap: pretty; }
.jy-msg .me { margin-left: auto; background: #0a84ff; }
.jy-msg .you { background: #262629; }
.jy-msg .me + .you { margin-top: 10px; }

/* a phone: one column, each beat its picture and then its words, nothing held */
@media (max-width: 760px) {
  #rv-theo { padding: 10vh 0 4vh; }
  #rv-theo .rv-pin { display: flex; flex-direction: column; overflow: visible; }
  #rv-theo .rv-stage, #rv-theo .rv-words, #rv-theo .jy-cards { display: contents; }
  #rv-theo .rv-shot { position: relative; left: auto; top: auto; width: 100%; opacity: 1; }
  #rv-theo .rv-shot > i { transform: none; transition: none; }
  #rv-theo .rv-w, #rv-theo .jy-set, #rv-theo .jy-msg { position: relative; inset: auto; width: auto; margin: 22px var(--gutter) 0; opacity: 1; transform: none; transition: none; height: auto; }
  #rv-theo .rv-w { margin-bottom: 52px; } #rv-theo .rv-w::before { display: none; }
  #rv-theo .jy-msg { width: min(320px, calc(100% - 2 * var(--gutter))); bottom: auto; }
  #rv-theo .rv-shot[data-on="0"] { order: 1; } #rv-theo .rv-w[data-on="0"] { order: 2; }
  #rv-theo .rv-shot[data-on="1"] { order: 3; } #rv-theo .jy-set { order: 4; } #rv-theo .rv-w[data-on="1"] { order: 5; }
  #rv-theo .rv-shot[data-on="2"] { order: 6; } #rv-theo .rv-w[data-on="2"] { order: 7; }
  #rv-theo .rv-shot[data-on="3"] { order: 8; } #rv-theo .rv-w[data-on="3"] { order: 9; } #rv-theo .jy-msg { order: 10; margin-bottom: 40px; }
  .jy-hud { --s: 30px; } .jy-held { font-size: 10px; left: calc(100% + 8px); } .jy-ammo { font-size: 11px; } .jy-boss { left: 14%; width: 72%; } .jy-boss b { font-size: 9px; letter-spacing: .16em; } .jy-boss i { height: 3px; margin-top: 5px; }
}

/* ——— 3 · four more joys: a photograph each, and what she handed back laid on it as it really looks. Sizes inside follow the
   picture's own width (1em = the overlay's font-size, set in cqw), so the four read alike on every window */
.joys-more { position: relative; padding: 14vh var(--edge) 16vh; }
.joys-more .copy { max-width: 900px; margin: 0 auto; text-align: center; }
.joys-more h2 { font-family: var(--font-display); font-weight: var(--w-regular); font-size: var(--t-h2); line-height: 1.08; letter-spacing: -.006em; color: var(--ink-title); text-wrap: balance; }
.jm-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(56px, 6vw, 110px) clamp(32px, 3.6vw, 72px); max-width: 1480px; margin: 9vh auto 0; }
.jm-fig { position: relative; margin: 0; aspect-ratio: 3 / 2; border-radius: 18px; overflow: hidden; container-type: inline-size; background: #121110;
  box-shadow: 0 0 0 1px rgba(255, 248, 235, .08), 0 40px 90px -46px rgba(0, 0, 0, .95); }
.jm-pic { position: absolute; inset: 0; }
.jm-pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.jm h3 { margin: 26px 0 0; font-family: var(--font-display); font-weight: var(--w-regular); font-size: clamp(24px, .6vw + 16px, 32px); color: var(--ink-title); }
.jm > p { margin: 10px 0 0; font-family: var(--font-serif); font-size: var(--t-body); line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.jm small { display: block; margin-top: 12px; font-size: var(--t-caption); line-height: 1.5; color: var(--el); letter-spacing: .01em; }
.jm-ui { position: absolute; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, "Segoe UI", sans-serif; font-size: 1.9cqw; line-height: 1.4; }
.jm-ui p { margin: 0; }
/* her one line about it, in her own quiet chip */
.jm-note { position: absolute; left: 3.4cqw; bottom: 3.4cqw; margin: 0; padding: .45em .95em .5em; border-radius: 999px; font-family: var(--font-sans); font-size: max(11px, 1.75cqw); letter-spacing: .02em;
  color: rgba(250, 246, 238, .96); background: rgba(16, 14, 12, .5); -webkit-backdrop-filter: blur(10px) saturate(1.3); backdrop-filter: blur(10px) saturate(1.3); box-shadow: inset 0 0 0 1px rgba(255, 248, 235, .24); }
.jm-note::before { content: ""; display: inline-block; width: .42em; height: .42em; margin: 0 .6em .1em 0; border-radius: 50%; background: rgba(244, 247, 252, .95); box-shadow: 0 0 6px rgba(214, 228, 255, .9); }

/* Nadia: the shop's own confirmation */
.jm-order { right: 4.5cqw; top: 4.5cqw; width: 23.5em; padding: 1.5em 1.6em 1.4em; border-radius: .9em; background: #fff; color: #1d1d1f; box-shadow: 0 1.2em 3em -.8em rgba(40, 30, 20, .55); }
.jm-order .o-brand { font-weight: 800; font-size: 1.05em; letter-spacing: .06em; }
.jm-order .o-h { margin-top: .9em; font-weight: 600; font-size: 1.32em; line-height: 1.2; letter-spacing: -.005em; }
.jm-order .o-meta { margin-top: .3em; font-size: .86em; color: #6e6e73; }
.jm-order .o-item { display: grid; grid-template-columns: 2.6em minmax(0, 1fr) auto; gap: .8em; align-items: center; margin-top: 1em; padding: .9em 0; border-top: 1px solid #e8e8ed; border-bottom: 1px solid #e8e8ed; }
/* the set as Pop Mart's own store shows it (popmart.com/us, the whole-set photo) */
.jm-order .o-item img { display: block; width: 2.6em; height: 2.6em; border-radius: .4em; object-fit: cover; background: #f5f5f5; outline: 1px solid rgba(0, 0, 0, .06); outline-offset: -1px; }
.jm-order .o-item span { font-size: .92em; color: #6e6e73; line-height: 1.35; }
.jm-order .o-item b { display: block; font-weight: 600; color: #1d1d1f; }
.jm-order .o-item em, .jm-order .o-row em { font-style: normal; font-variant-numeric: tabular-nums; }
.jm-order .o-row { display: flex; justify-content: space-between; margin-top: .45em; font-size: .92em; color: #6e6e73; }
.jm-order .o-row:first-of-type { margin-top: .8em; }
.jm-order .o-row.t { margin-top: .6em; font-weight: 600; font-size: 1em; color: #1d1d1f; }
.jm-order .o-ship { margin-top: .9em; padding: .55em .8em; border-radius: .5em; background: #f5f5f7; font-size: .92em; }

/* Zoe: the words, live on her phone */
.jm-lyrics { right: 3.6cqw; bottom: 3.6cqw; width: 22.5em; padding: 1.1em 1.3em 1em; border-radius: 1.3em; color: #fff; background: rgba(10, 10, 14, .72);
  -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2); box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 1.4em 3em -1em rgba(0, 0, 0, .6); }
.jm-lyrics .l-h { display: flex; flex-direction: column; gap: .15em; padding-bottom: .7em; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.jm-lyrics .l-h span { font-size: .74em; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .62); }
.jm-lyrics .l-h em { font-style: normal; font-size: .86em; color: rgba(235, 235, 245, .72); }
.jm-lyrics ol { list-style: none; margin: .7em 0 0; padding: 0; }
.jm-lyrics li { font-size: 1.1em; line-height: 1.38; font-weight: 600; color: rgba(255, 255, 255, .3); transition: color .6s ease, opacity .6s ease; }
.jm-lyrics li.now { color: #fff; }
.jm-lyrics li.past { color: rgba(255, 255, 255, .42); }
.jm-lyrics .l-seat { margin-top: .8em; padding-top: .65em; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .8em; color: rgba(235, 235, 245, .72); }

/* Henry: his score, on the tablet on the music stand (placed on its screen by sections/joys.js) */
.jm-tab { position: absolute; left: 0; top: 0; width: 600px; height: 860px; transform-origin: 0 0; border-radius: 30px; overflow: hidden; background: #fbfaf6; visibility: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, sans-serif; color: #1d1d1f; filter: brightness(.9) saturate(.95) sepia(.08); }
.jm-tab.placed { visibility: visible; }
/* the tablet's own black rim, laid a little past the screen so no green from the photograph shows at its edge */
.jm-tab::before { content: ""; position: absolute; z-index: 2; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 9px #0e0e10, inset 0 0 0 10px rgba(255, 255, 255, .06); }
.jm-tab::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(118deg, rgba(255, 250, 235, .16), rgba(255, 250, 235, 0) 42%); }
.jm-tab .sc-bar { display: flex; align-items: center; gap: 16px; height: 70px; padding: 6px 30px 0; border-bottom: 1px solid #e3e1da; font-size: 19px; background: #f3f1ea; }
.jm-tab .sc-bar b { flex: 1; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jm-tab .sc-tempo { color: #6b5a2e; } .jm-tab .sc-pg { color: #6e6e73; }
.jm-tab .sc-page { display: block; width: 100%; height: 760px; }
.jm-tab .sc-turn { position: absolute; right: 22px; bottom: 18px; margin: 0; padding: 6px 14px; border-radius: 999px; font-size: 17px; color: #3a3a3c; background: rgba(0, 0, 0, .06); }

/* Marcus: his lock screen, the phone rising from the bottom of the picture */
.jm-lock { left: 46cqw; top: 21cqw; font-size: 2cqw; width: 15.6em; height: 33em; padding: 1.1em .8em; border-radius: 2.6em; border: .5em solid #0c0c0e; text-align: center; color: #fff;
  background: radial-gradient(120% 70% at 30% 10%, #3a4a66, rgba(58, 74, 102, 0) 60%), radial-gradient(90% 60% at 90% 80%, #4a3550, rgba(74, 53, 80, 0) 65%), #12141c;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 2em 5em -1em rgba(0, 0, 0, .8); }
.jm-lock .k-d { margin-top: 1.3em; font-size: .92em; font-weight: 600; color: rgba(255, 255, 255, .86); }
.jm-lock .k-t { font-size: 4.6em; font-weight: 600; line-height: 1.05; letter-spacing: -.02em; color: rgba(255, 255, 255, .92); }
.jm-lock .k-n { display: grid; grid-template-columns: 2.1em minmax(0, 1fr) auto; column-gap: .6em; margin-top: 1.5em; padding: .75em .8em .8em; border-radius: 1.2em; text-align: left; font-size: .86em; line-height: 1.32;
  background: rgba(40, 42, 52, .62); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: inset 0 0 0 .5px rgba(255, 255, 255, .14); }
.jm-lock .k-n i { grid-row: 1 / span 2; align-self: center; width: 2.1em; height: 2.1em; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #f4f7fc, #a8bcd8 38%, #49607e 70%, #1d2433); box-shadow: inset 0 0 0 1px rgba(244, 247, 252, .55), 0 0 .5em rgba(214, 228, 255, .35); }
.jm-lock .k-n b { font-weight: 600; } .jm-lock .k-n em { font-style: normal; color: rgba(255, 255, 255, .55); }
.jm-lock .k-n span { grid-column: 2 / span 2; color: rgba(255, 255, 255, .94); }

@media (max-width: 1000px) { .jm-grid { grid-template-columns: minmax(0, 1fr); max-width: 720px; } }
/* a phone: what she handed back sits under its picture, overlapping it a little, at a size that reads */
@media (max-width: 700px) {
  .jm-fig { aspect-ratio: auto; overflow: visible; container-type: normal; background: none; box-shadow: none; border-radius: 0; }
  .jm-pic { position: relative; aspect-ratio: 3 / 2; border-radius: 16px; overflow: hidden; box-shadow: 0 0 0 1px rgba(255, 248, 235, .08); }
  .jm-piano .jm-pic { position: relative; }
  .jm-ui { position: relative; inset: auto; font-size: 11.5px; margin: -14% 12px 0 auto; }
  .jm-order { width: min(23.5em, 88%); }
  .jm-lyrics { width: min(22.5em, 90%); }
  .jm-lock { left: auto; top: auto; width: 15.6em; height: 23em; margin: -12% auto 0; border-bottom: 0; border-radius: 2.6em 2.6em 0 0; overflow: hidden;
    -webkit-mask-image: linear-gradient(#000 84%, transparent); mask-image: linear-gradient(#000 84%, transparent); }
  .jm-note { left: 10px; bottom: auto; top: 10px; font-size: 11px; }
  .jm-piano .jm-note { top: auto; bottom: 10px; }
}
@media (prefers-reduced-motion: reduce) { .jy-set, .jy-msg { transition: opacity .6s ease; transform: none; } }

/* one story left in the gallery (本人 2026-11-29: the concert, the piano and the late game read wrong; the busy parents stay) */
.jm-grid.one { grid-template-columns: minmax(0, 1fr); max-width: 1080px; }
/* her question on Sunday evening, and Claire's yes (本人 2026-11-29 「vesper应该提前就告诉父母要过生日了 然后和他们说这个新系列 同时询问要不要抢」) */
.jm-ask { left: 4.5cqw; bottom: 4.5cqw; width: 25em; padding: 1.05em 1.2em 1.1em; border-radius: 1.3em; color: #fff; background: rgba(22, 22, 26, .66);
  -webkit-backdrop-filter: blur(22px) saturate(1.3); backdrop-filter: blur(22px) saturate(1.3); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), 0 1.2em 3em -.8em rgba(0, 0, 0, .6); }
.jm-ask .a-h { display: flex; justify-content: space-between; align-items: baseline; font-size: .9em; }
.jm-ask .a-h b { font-weight: 600; }
.jm-ask .a-h time { color: rgba(235, 235, 245, .6); font-size: .92em; }
.jm-ask .a-v { margin-top: .45em !important; font-size: .98em; line-height: 1.42; color: rgba(255, 255, 255, .94); }
.jm-ask .a-me { display: flex; flex-direction: column; align-items: flex-end; gap: .3em; margin-top: .9em !important; }
.jm-ask .a-me span { padding: .5em .95em; border-radius: 1.1em 1.1em .3em 1.1em; background: rgba(244, 247, 252, .92); color: #1d1d1f; font-size: .98em; }
.jm-ask .a-me time { font-size: .8em; color: rgba(235, 235, 245, .55); }
/* alone and wide, the story's two screens keep a phone's and a receipt's own size, and the shelf shows between them */
.jm-grid.one .jm-ui { font-size: 1.36cqw; }
.jm-grid.one .jm-ask { width: 23em; }

/* the real run (2026-11-30): Resident Evil 4 with her aim lock on, recorded at 2560 × 1440 and cut to 25 s (images/joys/theo-re4.mp4).
   Its poster is the <i>; the video lies over it, plays only while its beat is on screen, and never zooms, so her lines stay sharp */
#rv-theo .jy-real > i, #rv-theo .jy-real.show > i { transform: none; transition: none; }
#rv-theo .jy-real video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s ease; }
#rv-theo .jy-real video.on { opacity: 1; }

/* her words over the run (本人 「这个aim lockon气泡的位置好好设计一下」): one line, bottom centre, the way a film carries a voice; her real
   Orb at its start says who is speaking. Top centre beside the Orb in the game would sit in the page's header, and lower left on Leon's
   jacket; here it rests on the ground of the scene, clear of the game's own HUD (bottom right). The glass is the site's note glass */
.jy-said { position: absolute; left: 0; right: 0; bottom: 7.5vh; width: max-content; max-width: min(760px, 58vw); margin: 0 auto; padding: 12px 24px 12px 14px;
  border-radius: 999px; display: flex; align-items: center; gap: 13px; color: #fff; isolation: isolate;
  opacity: 0; transform: translateY(10px); transition: opacity .45s ease, transform .6s cubic-bezier(.22, 1, .36, 1); }
.jy-said.show.on { opacity: 1; transform: none; }
.jy-said::before { content: ""; position: absolute; inset: 0; z-index: -2; border-radius: inherit; background: rgba(22, 21, 19, .62);
  -webkit-backdrop-filter: blur(16px) saturate(1.5) brightness(.9); backdrop-filter: blur(16px) saturate(1.5) brightness(.9);
  box-shadow: 0 0 0 .5px rgba(0, 0, 0, .25), 0 18px 46px -14px rgba(0, 0, 0, .5); }
.jy-said::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(166deg, rgba(255, 252, 244, .46) 0%, rgba(255, 252, 244, .16) 24%, rgba(255, 252, 244, .06) 55%, rgba(255, 252, 244, .16) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.jy-mark { position: relative; flex: none; width: 28px; height: 28px; }
.jy-said .say { margin: 0; font-size: clamp(16px, 1.2vw, 22px); line-height: 1.35; letter-spacing: .005em; text-shadow: 0 1px 2px rgba(0, 0, 0, .25); }
.jy-said .say.swap { animation: jy-swap .42s cubic-bezier(.22, 1, .36, 1); }
@keyframes jy-swap { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: none; } }
@media (max-width: 760px) {
  #rv-theo .jy-said { position: relative; left: auto; right: auto; bottom: auto; width: auto; max-width: none; order: 3; margin: 12px var(--gutter) 0;
    border-radius: 18px; padding: 12px 16px 12px 12px; opacity: 1; transform: none; }
}
/* her Orb wakes the screen: when the run's beat begins she appears where the game's own Orb will be, the run comes up beneath her, and
   she hands over to it (placed in the figure's own proportions, the clip's Orb at 50% across and 4.3% down, 2.1% of its width) */
.jy-wake { position: absolute; left: 50%; top: 4.28%; width: 0; height: 0; z-index: 2; opacity: 0; transition: opacity .8s ease; pointer-events: none; }
.jy-wake.on { opacity: 1; }
#rv-theo .jy-real > i { transition: opacity .6s ease; }
#rv-theo .jy-real.dark > i { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .jy-said { transition: opacity .3s ease; transform: none; } .jy-said .say.swap { animation: none; } .jy-wake { display: none; } }
