/* v2: homepage ending (see README, v2 work). New styles for this part of the page go here. */

/* =====================================================================
   FINALE: the road from Today to Day one (#join), and the grass-strip footer
   ===================================================================== */
.fin{--foot-h:64px;position:relative;display:flex;flex-direction:column;min-height:max(640px,calc(100svh - var(--foot-h)));overflow:clip;
  border-top:1px solid var(--line);
  background:linear-gradient(180deg,#e6f0f6 0%,#edf2f1 30%,var(--paper) 58%,#f3f2e6 78%,#eceedb 100%)}
.fin-sky{position:absolute;inset:0;pointer-events:none}
.fin-sun,.fin-cloud{position:absolute;height:auto;will-change:transform}
.fin-sun{right:9%;top:calc(var(--nav-h) + 4%);width:clamp(70px,7vw,104px);opacity:.9}
.fin-cloud{opacity:.8}
.fin-cloud.fc1{left:-3%;top:calc(var(--nav-h) + 30%);width:clamp(150px,19vw,280px)}
.fin-cloud.fc2{left:39%;top:calc(var(--nav-h) + 27%);width:clamp(110px,12vw,190px);opacity:.62}
.fin-in{position:relative;z-index:1;flex:1;display:flex;flex-direction:column;padding-top:calc(var(--nav-h) + clamp(22px,4.4vh,52px))}
.fin-head{font-family:var(--serif);font-weight:400;font-size:clamp(40px,5vw,72px);line-height:1.04;letter-spacing:-.015em;color:var(--ink);max-width:15.5em;text-wrap:balance}
.fin-head em{display:block;font-style:italic}

/* the road: the ground is full-bleed behind it, the flags and the robot stand on it */
.fin-road{position:relative;flex:1;min-height:clamp(290px,40vh,440px);margin-top:clamp(4px,1.5vh,20px)}
.fin-ground{position:absolute;left:calc(50% - 50vw);width:100vw;top:6%;bottom:-36px;pointer-events:none;
  --lx:var(--look-x,0)}
.fin-l{position:absolute;left:-28px;right:-28px;background-repeat:no-repeat;background-size:cover;
  -webkit-mask-image:linear-gradient(180deg,#000 72%,transparent);mask-image:linear-gradient(180deg,#000 72%,transparent)}
.fin-l.far{bottom:50%;height:34%;background-image:url(world/far.webp);background-position:30% 100%;transform:translate3d(calc(var(--lx) * -4px),0,0);opacity:.85}
.fin-l.mid{bottom:24%;height:38%;background-image:url(world/mid.webp);background-position:60% 100%;transform:translate3d(calc(var(--lx) * -10px),0,0)}
.fin-l.near{bottom:0;height:50%;background-image:url(world/near.webp);background-position:100% 100%;transform:translate3d(calc(var(--lx) * -18px),0,0);
  -webkit-mask-image:linear-gradient(180deg,#000 62%,transparent);mask-image:linear-gradient(180deg,#000 62%,transparent)}
/* the hero's morning world, late in the afternoon: one warm wash over the hills (and a little haze above them) */
.fin-ground::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(242,190,82,0),rgba(242,190,82,.1) 30%,rgba(242,190,82,.1) 80%,rgba(242,190,82,0));mix-blend-mode:multiply}
/* the v2 landscape (assets/world); ?land=strips (html[data-land=strips], set by site.js) shows the race strips instead */
html[data-land=strips] .fin-l.far{background-image:url(race/far.webp)}
html[data-land=strips] .fin-l.mid{background-image:url(race/mid.webp)}
html[data-land=strips] .fin-l.near{background-image:url(race/near.webp)}
.fin-path{position:absolute;left:7%;width:29%;bottom:15%;height:21%;overflow:visible}
.fin-path .fp-tall{display:none}
.fin-path path{fill:none;stroke:rgba(24,25,24,.3);stroke-width:3;stroke-linecap:round;stroke-dasharray:1 10;vector-effect:non-scaling-stroke}
.fin-flag{position:absolute;margin:0}
.fin-flag img{width:100%;height:auto;filter:drop-shadow(0 6px 4px rgba(24,25,24,.08))}
.fin-today{left:0;bottom:9%;width:clamp(64px,6.4vw,92px)}
.fin-today .ff-name{position:absolute;left:100%;bottom:30%;margin-left:6px}
.ff-name{font-family:var(--serif);font-style:italic;font-size:clamp(20px,1.8vw,26px);color:var(--ink);line-height:1.1;white-space:nowrap;
  text-shadow:0 0 6px rgba(250,249,245,.95),0 0 12px rgba(250,249,245,.8)}
.fin-day1{left:35%;bottom:30%;display:grid;grid-template-columns:clamp(64px,6.4vw,92px) auto;column-gap:14px;align-items:start}
.fin-day1 .ff-pole{grid-row:1/4;position:relative;display:block}
/* the same flag, its cloth turned blue (the gold ball and the pole stay as they are) */
.ff-pole .ff-blue{position:absolute;inset:0;filter:hue-rotate(58deg) saturate(1.2);clip-path:polygon(29% 13%,100% 13%,100% 72%,20% 72%,20% 24%,29% 24%)}
.fin-day1 .ff-name{font-size:clamp(28px,2.6vw,38px);margin-top:-4px}
.ff-date{font-family:var(--serif);font-size:clamp(17px,1.4vw,20px);color:var(--ink);margin-top:4px;white-space:nowrap;text-shadow:0 0 6px rgba(250,249,245,.95),0 0 12px rgba(250,249,245,.8)}
.fin-reg{margin-top:16px;justify-self:start}
.fin-stand{position:absolute;right:0;bottom:8%;width:clamp(200px,20vw,290px)}
.fin-bot{position:relative;width:100%;aspect-ratio:500/560}
/* the stand-in until the live robot mounts (the same box as hero-robot's [data-hero-robot] > .hr-still) */
.fin-bot > .fin-static{position:absolute;left:16%;top:3%;width:68%;height:auto;max-height:89%;object-fit:contain;object-position:50% 100%;transform-origin:50% 100%}
.fin-bub{position:absolute;right:62%;top:4%;font-family:var(--serif);font-style:italic;font-size:17px;color:var(--ink);background:var(--card);border:1px solid var(--line2);
  border-radius:14px;padding:7px 13px;white-space:nowrap;opacity:0;transform:translateY(6px);transition:opacity .5s var(--ease),transform .5s var(--ease);pointer-events:none}
.fin-bub::after{content:"";position:absolute;right:-7px;bottom:12px;width:12px;height:12px;background:var(--card);border-right:1px solid var(--line2);border-top:1px solid var(--line2);transform:rotate(45deg)}
.fin-stand:has(.fin-static) .fin-bub.on{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){.fin-stand:has(.fin-static) .fin-bub{opacity:1;transform:none;transition:none}}

/* the small print, on the meadow */
.fin-small{position:relative;padding:clamp(16px,2.6vh,30px) 0 clamp(16px,2.4vh,26px);display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:6px clamp(24px,4vw,64px);align-items:start}
.fin-small > div{display:flex;flex-direction:column;gap:6px}
.fin-facts{font-size:var(--t-lead,clamp(17px,1.4vw,19px));color:var(--ink);line-height:1.5}
.fin-when{font-size:15px;color:var(--ink2);display:flex;flex-wrap:wrap;gap:4px 14px;align-items:baseline}
.fin-when [hidden]{display:none}
.fin-local:not(:empty) + .fin-hours{display:none}
.fin-teacher[data-confirm]{display:none}   /* shown once Boris confirms the wording (remove data-confirm) */
.fin-cd{font-family:var(--serif);font-style:italic}
.fin-ics{font-weight:600;color:var(--ink)}
.fin-teacher{font-size:15px;color:var(--ink2);line-height:1.55}
.fin-links{display:flex;gap:22px;flex-wrap:wrap;font-size:15px;margin-top:2px}
.fin-links a{color:var(--ink);font-weight:600}

/* the footer: the grass strip the road ends on */
.end-foot{position:relative;min-height:var(--foot-h,64px);padding:11px 0 12px;background:#e2e6c6;color:var(--ink2);border-top:1px solid rgba(24,25,24,.06)}
.end-foot::before{content:"";position:absolute;left:0;right:0;top:-1px;height:10px;background:linear-gradient(180deg,rgba(148,198,178,.28),rgba(148,198,178,0));pointer-events:none}
.end-foot .wrap{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:2px 28px}
.ef-links{display:flex;flex-wrap:wrap;gap:6px 22px}
.ef-links a{font-size:15px;color:var(--ink);text-decoration:none}
.ef-links a:hover{color:var(--coralD);text-decoration:underline}
.ef-colophon{font-size:13px;color:var(--ink2);line-height:1.5}

@media (max-width:1100px){
  .fin-day1{left:32%}
  .fin-path{width:26%}
  .fin-reg{font-size:15px;padding:12px 25px}
}
@media (max-width:860px){
  .fin-day1{left:22%;bottom:36%}
  .fin-path{left:8%;width:15%;bottom:16%;height:24%}
}
@media (max-width:1100px) and (min-width:761px){
  .fin-bub{right:0;top:-16%}
  .fin-bub::after{right:44px;top:auto;bottom:-7px;transform:rotate(135deg)}
}
/* the phone copy of Register (one shows at a time) */
.fin-reg-m{display:none}
/* phones: headline, the road with the robot on the right, Register at full width, the small print, the footer */
@media (max-width:760px){
  .fin{--foot-h:auto;min-height:0}
  .fin-in{padding-top:calc(var(--nav-h) + 30px)}
  .fin-head{font-size:34px;line-height:1.1}
  .fin-road{flex:none;min-height:0;height:310px;margin-top:10px}
  .fin-ground{top:4%;bottom:-24px}
  .fin-l.far{bottom:54%;height:34%;background-position:12% 100%}
  .fin-l.mid{bottom:27%;height:40%;background-position:20% 100%}
  .fin-l.near{bottom:0;height:44%}
  .fin-today{width:62px;bottom:6%}
  .fin-today .ff-name{font-size:19px}
  .fin-day1{left:21%;top:2%;bottom:auto;grid-template-columns:64px auto;column-gap:8px}
  .fin-day1 .ff-name{font-size:24px}
  .ff-date{font-size:15px}
  .fin-day1 .fin-reg{display:none}
  .fin-path{left:7%;width:20%;bottom:10%;height:60%}
  .fin-path .fp-wide{display:none} .fin-path .fp-tall{display:inline}
  .fin-stand{width:170px;right:-8px;bottom:3%}
  .fin-bub{right:88%;top:34%;font-size:15px;white-space:normal;width:118px;line-height:1.3}
  .fin-bub::after{bottom:auto;top:16px}
  .fin-small{padding-top:18px;grid-template-columns:minmax(0,1fr)}
  .fin-reg-m{display:flex;width:100%;justify-content:center;margin-top:4px}
  .end-foot .wrap{flex-direction:column;gap:8px}
}
@media (max-width:380px){
  .fin-head{font-size:31px}
  .fin-day1{left:23%}
  .fin-stand{width:160px}
}
/* short phones: a tighter road, so Register sits well inside the first screen */
@media (max-width:760px) and (max-height:700px){
  .fin-in{padding-top:calc(var(--nav-h) + 16px)}
  .fin-head{font-size:29px}
  .fin-road{height:264px}
  .fin-stand{width:150px}
  .fin-small{padding-top:14px}
  .fin-facts{font-size:16px}
}

/* =====================================================================
   JUDGMENT (#judgment): sign it or refuse it. The back half's one framed figure.
   ===================================================================== */
.judge-box.figure{overflow:clip;border:1px solid var(--line2);border-radius:14px;
  box-shadow:var(--shadow-tight,0 1px 2px rgba(24,25,24,.05),0 10px 24px -16px rgba(24,25,24,.3))}
.j-slot{position:relative;display:flex;flex-direction:column;align-items:center;min-height:70px;padding:2px 76px 0}
.j-slot .j-title{font-family:var(--serif);font-weight:400;font-size:clamp(18px,1.7vw,22px);line-height:1.25;transition:color .3s}
.j-slot[data-state=""] .j-title{font-family:var(--sans);font-size:15px;color:var(--muted);font-style:italic}
.j-slot[data-state=refused] .j-title{color:var(--muted)}
.j-sig{display:block;width:min(220px,56%);height:28px;margin-top:-2px;opacity:0;overflow:visible}
.j-sig path{fill:none;stroke:var(--ink);stroke-width:2.1;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:100;stroke-dashoffset:100}
.j-slot[data-state=signed] .j-sig{opacity:1}
.j-slot[data-state=signed] .j-sig path{stroke-dashoffset:0;transition:stroke-dashoffset .7s cubic-bezier(.45,0,.3,1) .1s}
.j-stamp{position:absolute;right:6px;top:-2px;width:66px;height:66px;border-radius:50%;display:grid;place-items:center;border:2.5px solid currentColor;
  background:rgba(255,254,251,.72);font-family:var(--serif);font-style:italic;font-size:14px;line-height:1.05;text-align:center;filter:url(#wcf);
  opacity:0;transform:rotate(-14deg) scale(1.5);pointer-events:none}
.j-stamp::before{content:"";position:absolute;inset:4px;border-radius:50%;border:1px solid currentColor;opacity:.8}
.j-stamp span{position:relative;max-width:50px}
.j-slot[data-state=signed] .j-stamp{color:var(--mintD);opacity:.92;transform:rotate(-14deg) scale(1);transition:opacity .15s .78s,transform .3s var(--ease) .78s}
.j-slot[data-state=refused] .j-stamp{color:var(--coralD);opacity:.92;transform:rotate(9deg) scale(1);transition:opacity .15s .12s,transform .3s var(--ease) .12s}
@media (prefers-reduced-motion:reduce){.j-slot .j-sig path,.j-slot .j-stamp{transition:none!important}}
.j-verdict{min-height:5.5em}
.j-verdict p{font-size:15.5px;line-height:1.6}
.j-verdict b{display:block;font-family:var(--serif);font-weight:400;font-size:19px;color:var(--ink);margin-bottom:2px}
/* phones: the chart stays under the nav while the four headlines scroll beneath it */
@media (max-width:900px){
  .j-chart{position:sticky;top:var(--nav-h);z-index:3;padding:10px 10px 6px;box-shadow:0 10px 16px -14px rgba(24,25,24,.35)}
  .j-chart canvas{max-height:45svh}
  .j-slot{min-height:58px;padding:0 60px 0 4px;align-items:flex-start}
  .j-slot .j-title{font-size:17px}
  .j-slot[data-state=""] .j-title{font-size:14px}
  .j-sig{width:170px;height:22px}
  .j-stamp{width:54px;height:54px;font-size:12px;right:2px;top:0}
  .j-stamp span{max-width:42px}
}
/* phones held sideways: the chart and the headlines side by side again (a sticky chart would be squeezed flat) */
@media (max-width:900px) and (max-height:500px) and (min-width:600px){
  .judge-box{grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr)}
  .j-chart{position:relative;top:auto;z-index:auto;box-shadow:none;border-bottom:none;border-right:1px solid var(--line)}
  .j-chart canvas{max-height:none;aspect-ratio:720/470}
  .j-side{padding:12px;gap:10px}
  .j-opts button{font-size:14.5px;padding:8px 11px}
  .j-slot{min-height:44px}
  .j-slot .j-title{font-size:15px}
  .j-sig{height:16px;width:130px}
  .j-stamp{width:44px;height:44px;font-size:10.5px}
}

/* =====================================================================
   IS IT RIGHT? (#verify): the author's chart on graph paper, the reviewer we ask for, five stamps
   ===================================================================== */
.verify{overflow-x:clip}
.vf-claim{font-family:var(--serif);font-size:clamp(23px,2.5vw,32px);line-height:1.32;color:var(--ink);max-width:31em;text-wrap:pretty;margin-top:clamp(18px,2.4vw,30px)}
.cq-n{position:relative;display:inline-block;white-space:nowrap;color:var(--coralD)}
/* the correction: two coral strokes over the number, the right one written above it (a copy of the question story's .qs-strike) */
.vf-strike{position:absolute;left:-.1em;top:.36em;width:calc(100% + .2em);height:.42em;overflow:visible;pointer-events:none}
.vf-strike path{fill:none;stroke:var(--coralD);stroke-width:2.8;stroke-linecap:round;vector-effect:non-scaling-stroke;stroke-dasharray:900;stroke-dashoffset:900;transition:stroke-dashoffset .3s cubic-bezier(.5,0,.6,1)}
.vf-strike path + path{transition-delay:.22s}
.cq-n.on .vf-strike path{stroke-dashoffset:0}
.cq-n .fix{position:absolute;left:50%;bottom:78%;transform:translateX(-50%) rotate(-4deg);font-family:var(--serif);font-size:.66em;color:var(--mintD);white-space:nowrap;
  opacity:0;transition:opacity .45s .5s;pointer-events:none}
.cq-n.on .fix{opacity:1}
/* phones: the correction is a line of its own under the claim, its room kept from the start (nothing jumps) */
.vf-fix-m{display:none}
@media (max-width:640px){
  .cq-n .fix{display:none}
  .vf-fix-m{display:block;font-family:var(--serif);font-style:italic;font-size:.72em;line-height:1.3;color:var(--mintD);margin-top:2px;transform:rotate(-1.5deg);transform-origin:0 50%;
    visibility:hidden;opacity:0;transition:opacity .45s .5s,visibility 0s .5s}
  .vf-claim:has(.cq-n.on) .vf-fix-m{visibility:visible;opacity:1}
}
@media (prefers-reduced-motion:reduce){.vf-strike path,.cq-n .fix,.vf-fix-m{transition:none!important}}

.vf-stage{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:0 20px;margin-top:clamp(16px,2vw,26px)}
.vf-chart{position:relative;background:none}
.vf-chart::before{content:"";position:absolute;inset:-14px -10px;background:var(--paper) url(grid.svg) 0 0/492px 492px;border-radius:18px;
  -webkit-mask-image:radial-gradient(130% 120% at 50% 50%,#000 58%,transparent 76%);mask-image:radial-gradient(130% 120% at 50% 50%,#000 58%,transparent 76%)}
.vf-chart canvas{position:relative;width:100%;aspect-ratio:16/8.6;display:block}
.vf-exit{position:absolute;right:4px;top:-2px;font-family:var(--mono);font-size:12px;color:var(--mintD);border:1.5px solid var(--mint);border-radius:999px;padding:3px 10px;
  background:rgba(229,241,236,.75);transform:rotate(-4deg)}
.vf-side{display:flex;flex-direction:column;justify-content:space-between;gap:12px;min-height:100%}
.vf-floor{position:relative;display:flex;align-items:flex-end;gap:8px;margin-top:auto}
.vf-author{width:118px;height:auto;flex:none;transform-origin:50% 100%}
.vf-rest{display:block;width:150px;height:216px;flex:none}
.vf-says{list-style:none;display:flex;flex-direction:column;gap:7px;padding-top:8px;min-height:7.4em}
.vf-says li{align-self:flex-start;font-size:15px;line-height:1.35;padding:7px 12px;border-radius:12px;background:var(--card);border:1px solid var(--line2);color:var(--ink);
  animation:vfIn .4s var(--ease) backwards}
.vf-says li.ok{color:var(--mintD)} .vf-says li.bad{color:var(--coralD);font-weight:600} .vf-says li.fix{font-family:var(--serif);font-size:17px;color:var(--coralD)}
@keyframes vfIn{from{opacity:0;transform:translateY(8px) scale(.96)}}
@media (prefers-reduced-motion:reduce){.vf-says li{animation:none}}
.vf-rev{position:absolute;left:0;top:0;width:176px;z-index:4;pointer-events:none;opacity:0;transition:opacity .25s}
.vf-rev.in{opacity:1}
.vf-rev img{width:100%;height:auto;display:block}
.vf-lens{position:absolute;border-radius:50%;background:var(--paper) url(grid.svg);border:5px solid #5f6062;box-sizing:content-box;margin:-5px 0 0 -5px;
  box-shadow:0 8px 18px -8px rgba(24,25,24,.45),inset 0 0 0 2px rgba(255,255,255,.6);opacity:0;transform:scale(.7);transition:opacity .2s,transform .3s var(--ease)}
.vf-rev.lens .vf-lens{opacity:1;transform:none}
.vf-ask{display:flex;flex-wrap:wrap;align-items:center;gap:10px 22px;margin-top:14px}
.vf-files{font-size:14px;color:var(--muted);display:flex;flex-wrap:wrap;gap:4px 12px;align-items:baseline}
.vf-files button{font-family:var(--mono);font-size:13px;color:var(--ink);text-decoration:underline;text-decoration-color:rgba(24,25,24,.3);text-underline-offset:.2em;padding:2px 0}
.vf-files button:hover{color:var(--coralD)}
.vf-files button.seen::after{content:" ✓";color:var(--mintD)}
#reviewBtn:disabled{opacity:.6;cursor:default;transform:none}
.modal pre .hl2{background:var(--coralW);color:var(--coralD);padding:0 4px;border-radius:4px;font-weight:600}
.modal pre .c{color:var(--muted2)}
.vf-verdict{display:grid;grid-template-rows:0fr;opacity:0;transition:grid-template-rows .5s var(--ease),opacity .4s}
.vf-verdict > *{min-height:0}
.audit.solved .vf-verdict{grid-template-rows:1fr;opacity:1}
.vf-verdict{grid-template-columns:minmax(0,1fr)}
.vf-verdict-in{overflow:hidden}
.vf-why{font-family:var(--serif);font-size:clamp(19px,1.8vw,23px);color:var(--ink);line-height:1.4;margin-top:16px;max-width:36em}
.vf-why b{font-weight:400;font-style:italic}
.v-toggle{display:flex;flex-wrap:wrap;gap:6px 8px;margin-top:10px}
.v-toggle button{font-size:13.5px;font-weight:600;padding:7px 12px;border-radius:999px;border:1px solid var(--line2);color:var(--ink2);background:var(--card);display:flex;align-items:center;gap:9px;transition:border-color .2s,color .2s}
.v-toggle button::before{content:"";width:18px;height:4px;border-radius:3px;background:var(--darkblue);flex:none}
.v-toggle button[data-s="fixed"]::before{background:repeating-linear-gradient(90deg,var(--coralD) 0 6px,transparent 6px 9px)}
.v-toggle button[aria-pressed="true"]{border-color:var(--ink);color:var(--ink)}
@media (prefers-reduced-motion:reduce){.vf-verdict{transition:none}}

/* five painted stamps: four a machine can run (blue), one that is ours (an empty gold circle) */
.vs-row{margin-top:clamp(26px,3vw,40px)}
.vs-stamps{display:flex;gap:clamp(8px,2.6vw,36px);flex-wrap:nowrap}
.vs{display:flex;flex-direction:column;align-items:center;gap:7px;width:clamp(64px,8vw,96px);padding:0;text-align:center}
.vs-c{position:relative;display:grid;place-items:center;width:64px;height:64px;border-radius:50%;border:2px dashed rgba(58,116,163,.35);transition:transform .2s var(--ease)}
.vs-c::before{content:"";position:absolute;inset:-2px;border-radius:50%;background:var(--blue);filter:url(#wcf);opacity:0;transform:scale(1.5) rotate(-20deg)}
.vs-c::after{content:"✓";position:relative;font-size:26px;line-height:1;color:var(--ink);opacity:0}
.vs.stamped .vs-c{border-color:transparent}
.vs.stamped .vs-c::before{opacity:.7;transform:none;transition:opacity .12s,transform .28s var(--ease)}
.vs.stamped .vs-c::after{opacity:1;transition:opacity .2s .12s}
.vs-ours .vs-c{border:2px dashed var(--goldD)}
.vs-ours .vs-c::before,.vs-ours .vs-c::after{display:none}
.vs-ours i{font-family:var(--serif);font-style:italic;font-size:17px;color:var(--goldD)}
.vs-n{font-size:13.5px;color:var(--ink2);line-height:1.2;hyphens:manual}
.vs:hover .vs-c,.vs.on .vs-c{transform:translateY(-3px)}
.vs.on .vs-n{color:var(--ink);font-weight:600}
.vs-cap{margin-top:12px;font-family:var(--serif);font-style:italic;font-size:17px;color:var(--ink2);min-height:2.9em;max-width:40em}
@media (prefers-reduced-motion:reduce){.vs-c::before,.vs-c::after{transition:none!important}}

@media (max-width:900px){
  .vf-stage{grid-template-columns:minmax(0,1fr)}
  .vf-chart canvas{aspect-ratio:1/.78}
  .vf-side{flex-direction:row;align-items:flex-end;gap:10px;margin-top:6px}
  .vf-says{flex:1;min-height:0;padding-top:0}
  .vf-says li{font-size:14px;padding:6px 10px}
  .vf-says li.fix{font-size:15.5px}
  .vf-author{width:66px}
  .vf-rest{width:112px;height:162px}
}
@media (max-width:640px){.vf-chart canvas{aspect-ratio:1/.92}}
@media (max-width:420px){
  .vs-stamps{gap:6px;justify-content:space-between}
  .vs{width:64px}
  .vs-c{width:56px;height:56px}
  .vs-n{font-size:12.5px}
  .vs-cap{font-size:16px}
}

/* =====================================================================
   LEVEL THREE (#l3): the manager scene gets the whole stage; one slim row of controls above it, a ticker under it
   ===================================================================== */
.harness{position:relative;border:1px solid var(--line2);border-radius:14px;box-shadow:var(--shadow-tight,0 1px 2px rgba(24,25,24,.05),0 10px 24px -16px rgba(24,25,24,.3))}
.h-bar{gap:16px}
.h-name{font-family:var(--serif);font-style:italic;font-size:16px;color:var(--mintD)}
.h-goal{font-size:13px;color:var(--muted)} .h-goal b{font-weight:500;color:var(--ink2)}
.h-stats{margin-left:auto;display:flex;gap:14px;font-size:13px;color:var(--muted)}
.h-stats b{font-family:var(--serif);font-weight:400;font-size:16px;color:var(--ink);font-variant-numeric:tabular-nums}
@media (max-width:760px){.h-goal{display:none}}
.h-ctrl{display:flex;flex-wrap:wrap;align-items:center;gap:10px 26px;padding:10px 16px;border-bottom:1px solid var(--line);background:var(--card)}
.h-field{display:flex;align-items:center;gap:10px;font-size:14px;color:var(--ink2)}
.h-lbl{font-family:var(--serif);font-style:italic;font-size:15px;color:var(--ink2);white-space:nowrap}
.h-slide{display:flex;align-items:center;gap:8px}
.h-end{font-size:12.5px;color:var(--muted)}
.harness input[type=range]{width:clamp(110px,12vw,160px);accent-color:var(--ink)}
.h-seg{display:inline-flex;border:1px solid var(--line2);border-radius:999px;padding:3px;background:var(--paper)}
.h-seg label{position:relative;cursor:pointer}
.h-seg input{position:absolute;opacity:0;inset:0;margin:0;cursor:pointer}
.h-seg span{display:block;font-size:13.5px;padding:6px 13px;border-radius:999px;color:var(--muted);transition:background .2s,color .2s;white-space:nowrap}
.h-seg input:checked + span{background:var(--ink);color:#fffefb}
.h-seg input:focus-visible + span{outline:2px solid var(--ink);outline-offset:2px}
/* the run button: an ink stroke; while the team works a gold wash fills it; when it's done, a mint stroke */
.h-run{margin-left:auto;justify-content:center;min-width:220px;overflow:hidden;isolation:isolate}
.h-run-t{position:relative;z-index:1;font-variant-numeric:tabular-nums}
.h-run::before{content:"";position:absolute;inset:3px;border-radius:999px;background:var(--gold);filter:url(#wcf);opacity:0;transform:scaleX(var(--p,0));transform-origin:left center;transition:transform .5s var(--ease);z-index:0}
.h-run.is-run{--stroke:none;border-image:none;border:1.5px solid var(--line2);border-radius:999px;background:var(--card);color:var(--ink)}
.h-run.is-run::before{opacity:.75}
.h-run.is-done{--stroke:url(btn/mint.webp);color:var(--ink);background:transparent}
.h-run.is-done:hover{color:var(--ink)}
.h-run:disabled{cursor:default;transform:none}
.h-graph{position:relative;aspect-ratio:1080/540;min-height:0}
.h-graph canvas{position:absolute;inset:0;width:100%;height:100%}
/* run one's offer, held in the manager's bubble */
.h-deadline{position:absolute;z-index:3;--stroke:url(btn/coral.webp);font-size:13.5px}
.h-deadline[hidden]{display:none}
/* REPORT.md: a paper page that slides out with the failing checks pinned to it (home.js sets its top from the scene,
   or lays it under the scene with .rep-below when the scene has no clear spot for it) */
.h-report{position:absolute;right:14px;top:0;z-index:3;width:230px;display:flex;flex-direction:column;align-items:flex-end;transform:translateX(calc(100% + 40px)) rotate(4deg);transition:transform .8s var(--ease)}
.h-report.out{transform:rotate(1.5deg)}
.hr-page{position:relative;align-self:stretch;background:#fffefb;border:1px solid var(--line2);border-radius:4px;padding:14px 16px 12px;box-shadow:0 14px 28px -18px rgba(24,25,24,.45)}
.hr-t{font-family:var(--mono);font-size:14px;font-weight:600;color:var(--ink)}
.hr-sub{font-family:var(--serif);font-style:italic;font-size:14px;color:var(--coralD);margin-bottom:8px}
.hr-l{display:block;height:6px;border-radius:3px;background:var(--paper3);margin:7px 0;width:100%}
.hr-l.s{width:62%} .hr-l.m{width:84%}
.hr-notes{list-style:none;display:flex;flex-direction:column;gap:7px;margin-top:10px}
.hr-notes li{position:relative;font-size:13px;line-height:1.35;color:var(--ink);padding:7px 10px 7px 12px;transform:rotate(-1.5deg)}
.hr-notes li:nth-child(even){transform:rotate(1.2deg) translateX(8px)}
.hr-notes li::before{content:"";position:absolute;inset:0;background:var(--coral);opacity:.55;filter:url(#wcf);border-radius:2px;z-index:-1}
.hr-notes li{isolation:isolate}
.hr-link{display:inline-block;white-space:nowrap;margin-top:12px;font-family:var(--serif);font-style:italic;font-size:17px;color:var(--ink);background:rgba(250,249,245,.88);padding:2px 6px;border-radius:6px}
/* under the scene: no slide, a fade */
.harness.rep-below .h-report{position:static;width:auto;margin:14px 16px 8px;transform:none;opacity:0;transition:opacity .5s;flex-direction:row;flex-wrap:wrap;align-items:flex-end;gap:4px 22px}
.harness.rep-below .hr-page{flex:0 1 400px}
.harness.rep-below .hr-link{white-space:normal}
.harness.rep-below .h-report.out{transform:none;opacity:1}
@media (prefers-reduced-motion:reduce){.h-report,.harness.rep-below .h-report{transition:none}}
/* under the scene: the ticker, and the full log behind a link */
.h-foot{display:flex;align-items:center;gap:16px;padding:9px 16px;border-top:1px solid var(--line);background:var(--card)}
.h-ticker{flex:1;min-width:0;font-family:var(--mono);font-size:13.5px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.h-ticker span{display:inline-block;animation:lgIn .3s var(--ease)}
.h-ticker .ok{color:var(--mintD)} .h-ticker .bad{color:var(--coralD)} .h-ticker .sys{color:var(--ink)} .h-ticker .spawn{color:var(--purpleD)}
.h-logbtn{font-size:13.5px;color:var(--ink2);text-decoration:underline;text-decoration-color:rgba(24,25,24,.3);text-underline-offset:.2em;white-space:nowrap}
.h-logbtn:hover{color:var(--coralD)}
.h-logwrap{display:grid;grid-template-rows:0fr;transition:grid-template-rows .4s var(--ease)}
.h-logwrap > div{min-height:0;overflow:hidden}
.harness.log-open .h-logwrap{grid-template-rows:1fr}
.h-log{list-style:none;padding:12px 16px;border-top:1px solid var(--line);font-family:var(--mono);font-size:12px;line-height:1.6;color:var(--muted);background:var(--card);max-height:240px;overflow:auto;display:flex;flex-direction:column;gap:2px}
.h-log li.sys{color:var(--ink)} .h-log li.ok{color:var(--mintD)} .h-log li.bad{color:var(--coralD)} .h-log li.spawn{color:var(--purpleD)}
@media (prefers-reduced-motion:reduce){.h-logwrap{transition:none}}
.loopdef .ld-text{font-size:17px}
@media (max-width:900px){
  .h-run{margin-left:0}
}
@media (max-width:720px){
  .h-ctrl{gap:10px;padding:12px}
  .h-stop{flex-wrap:wrap;gap:6px}
  .h-seg{width:100%}
  .h-seg label{flex:1}
  .h-seg span{text-align:center;padding:7px 8px;font-size:13px}
  .h-bar{flex-wrap:wrap;gap:4px 14px}
  .h-stats{margin-left:0;gap:12px}
  .h-field{width:100%;justify-content:space-between}
  .h-barf{flex-wrap:wrap}
  .harness input[type=range]{width:auto;flex:1}
  .h-slide{flex:1}
  .h-run{width:100%}
  .h-graph{aspect-ratio:auto;height:480px}
  .h-deadline{position:static;display:flex;width:calc(100% - 24px);margin:12px auto 4px;justify-content:center}
  .harness.rep-below .h-report{margin:12px 12px 4px}
  .h-foot{flex-direction:column;align-items:flex-start;gap:4px}
  .h-ticker{white-space:normal;font-size:12.5px;width:100%}
}

/* =====================================================================
   LEVEL TWO (#l2): the project folder is the toolkit; a run fills it; the wall spotlights what it made
   ===================================================================== */
.console{border:1px solid var(--line2);border-radius:14px;box-shadow:var(--shadow-tight,0 1px 2px rgba(24,25,24,.05),0 10px 24px -16px rgba(24,25,24,.3))}
.con-title{font-size:13px}
.con-time{font-size:13px}
.con-body{display:grid;grid-template-columns:minmax(0,370px) minmax(0,1fr);background:var(--paper)}
/* the run view holds its height while the tree fills (the file view fits its file and the desk) */
.console.is-run .con-body{min-height:560px}
.con-left{display:flex;flex-direction:column;padding:16px 16px 18px 18px;border-right:1px solid var(--line)}
.ftree{list-style:none;font-family:var(--mono);font-size:14px;line-height:1.72;color:var(--ink2);white-space:nowrap}
.ftree li{display:flex;align-items:center;min-height:1.72em}
.f-root{color:var(--ink);font-weight:600}
.f-g{color:var(--faint);white-space:pre;flex:none}
.f-tool{font:inherit;color:var(--ink);text-align:left;padding:0 6px;margin-left:-6px;border-radius:6px;text-decoration:underline;text-decoration-color:rgba(24,25,24,.25);text-underline-offset:.2em;
  transition:background .2s,color .2s;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.f-tool:hover{background:var(--paper3)}
.f-tool[aria-pressed="true"]{background:var(--ink);color:#fffefb;text-decoration:none}
.f-new{animation:fIn .5s var(--ease) backwards}
.f-new .f-n{color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.f-dot{flex:none;width:9px;height:9px;border-radius:50%;background:var(--lc);margin-left:9px;filter:url(#wcf)}
.f-fig{display:inline-block;font-size:11.5px;color:var(--goldD);margin-right:3px;animation:fIn .3s var(--ease) backwards}
.f-x{font-weight:600;color:var(--goldD)}
.f-figs.folded .f-n{animation:fIn .4s var(--ease)}
@keyframes fIn{from{opacity:0;clip-path:inset(0 100% 0 0)}to{opacity:1;clip-path:inset(0 0 0 0)}}
@media (prefers-reduced-motion:reduce){.f-new,.f-fig,.f-figs.folded .f-n{animation:none}}
.ftree{margin-bottom:16px}
.gobtn{margin-top:auto;width:100%}
.con-view{position:relative;padding:20px 22px;min-width:0;display:flex;flex-direction:column}
.cv-file{display:flex;flex-direction:column;gap:10px}
.cv-file[hidden],.cv-run[hidden],.delivs[hidden]{display:none}
.cv-gloss{font-family:var(--serif);font-style:italic;font-size:clamp(19px,1.7vw,23px);color:var(--ink);line-height:1.3;max-width:28em}
.cv-gloss::before{content:"";display:inline-block;width:11px;height:11px;border-radius:50%;background:var(--c,var(--purpleD));opacity:.75;margin-right:10px;vertical-align:.08em;filter:url(#wcf)}
.cv-code{font-family:var(--mono);font-size:14px;line-height:1.75;color:var(--ink2);white-space:pre-wrap;word-break:break-word;background:var(--card);border:1px solid var(--line);border-radius:10px;padding:14px 16px;min-height:12.5em}
.cv-code .c{color:var(--muted2)}
.cv-caret{display:inline-block;width:.55em;height:1.05em;background:var(--ink);vertical-align:-.15em;margin-left:1px;animation:blinkdot 1s steps(2) infinite}
.cv-run{display:flex;flex-direction:column;gap:12px}
.cv-run .lane{grid-template-columns:82px minmax(0,1fr);gap:2px 14px;font-size:14px}
.cv-run .lane .ln{font-weight:600;color:var(--ink2)}
.cv-run .lane .tr{height:5px;background:transparent;border-radius:0;overflow:visible;position:relative}
.cv-run .lane .tr::before{content:"";position:absolute;left:0;right:0;top:50%;height:1px;background:var(--line2)}
.cv-run .lane .tr i{height:5px;border-radius:3px;position:relative}
.cv-run .lane .lg{grid-column:2;font-family:var(--mono);font-size:13px;color:var(--muted)}
.cv-run .lane.done .lg{color:var(--mintD)}
.cv-lunch{display:flex;align-items:center;gap:16px;margin-top:14px}
.desk{position:relative;flex:none;width:clamp(120px,14vw,170px);aspect-ratio:3/2}
.desk img,.desk svg{position:absolute;inset:0;width:100%;height:100%}
.desk .hand{stroke:var(--ink);stroke-linecap:round}
.desk .hand-h{stroke-width:16} .desk .hand-m{stroke-width:10}
.desk .steam path{fill:none;stroke:rgba(173,155,228,.75);stroke-width:12;stroke-linecap:round;opacity:0}
.con-view.running .desk .steam path{animation:steam 1.8s ease-in-out infinite}
.con-view.running .desk .steam path + path{animation-delay:.9s}
@keyframes steam{0%{opacity:0;transform:translateY(30px)}40%{opacity:.9}100%{opacity:0;transform:translateY(-70px)}}
@media (prefers-reduced-motion:reduce){.con-view.running .desk .steam path{animation:none}}
.lunch{font-family:var(--serif);font-style:italic;font-size:18px;color:var(--muted)}
.lunch.back{color:var(--ink)}
.delivs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:12px}
.dv{display:flex;flex-direction:column;gap:5px;text-align:left;opacity:0;transform:translateY(8px);transition:opacity .4s var(--ease),transform .4s var(--ease);pointer-events:none}
.dv.pop{opacity:1;transform:none;pointer-events:auto}
.dv img{width:100%;aspect-ratio:16/10;height:auto;object-fit:cover;border-radius:6px;border:1px solid var(--line2);background:var(--card);transition:transform .25s var(--ease),box-shadow .25s}
.dv:hover img,.dv:focus-visible img{transform:translateY(-3px);box-shadow:0 10px 18px -12px rgba(24,25,24,.45)}
.dv span{font-family:var(--mono);font-size:12.5px;color:var(--ink)}
@media (prefers-reduced-motion:reduce){.dv{transition:none}}
@media (max-width:960px){
  .con-body,.console.is-run .con-body{grid-template-columns:minmax(0,1fr);min-height:0}
  .con-left{border-right:none;border-bottom:1px solid var(--line)}
}
@media (max-width:520px){
  .ftree{font-size:13px}
  .con-view{padding:16px 14px}
  .cv-run .lane{grid-template-columns:70px minmax(0,1fr);font-size:13px}
  .cv-run .lane .lg{font-size:12px}
  .delivs{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* the wall of work: tilts flat as we scroll, then spotlights the eight builds in turn */
.l2 .wall-wrap{margin-top:clamp(20px,3vw,40px)}
.tile{overflow:visible}
.t-img{position:absolute;inset:0;overflow:hidden;border-radius:10px;display:block}
.t-img img{width:100%;height:100%;object-fit:cover;object-position:top;opacity:0;transition:opacity .7s var(--ease)}
.tile.lit .t-img img{opacity:1}
.tile{transition:transform .5s var(--ease),box-shadow .5s,opacity .5s var(--ease)}
.wall.spot .tile:not(.on){opacity:.35}
.wall.spot .tile.on{z-index:5;box-shadow:0 30px 50px -26px rgba(24,25,24,.55)}
.tile:hover,.tile:focus-visible{transform:translateZ(30px)}
.wall.flat .tile:hover,.wall.flat .tile:focus-visible{transform:none}
/* the pinned paper caption on the lit build */
.t-cap{position:absolute;left:14px;bottom:-14px;z-index:2;max-width:min(82%,330px);background:#fffefb;border:1px solid var(--line2);border-radius:3px;padding:9px 13px 10px;text-align:left;
  box-shadow:0 10px 18px -12px rgba(24,25,24,.45);transform:rotate(-1.6deg) translateY(8px);opacity:0;transition:opacity .35s var(--ease),transform .45s var(--ease);pointer-events:none}
.t-cap::before{content:"";position:absolute;left:50%;top:-6px;width:11px;height:11px;border-radius:50%;background:var(--coral);box-shadow:0 2px 3px rgba(24,25,24,.3);filter:url(#wcf)}
.wall .t-cap{padding:calc(9px / var(--ws,1)) calc(13px / var(--ws,1)) calc(10px / var(--ws,1));left:calc(14px / var(--ws,1));max-width:min(86%,calc(340px / var(--ws,1)))}
.t-cap b{display:block;font-family:var(--serif);font-weight:400;font-size:calc(19px / var(--ws,1));line-height:1.2;color:var(--ink)}
.t-cap span{display:block;font-size:calc(14px / var(--ws,1));line-height:1.4;color:var(--ink2);margin-top:2px}
.wall .tile.on .t-cap,.wall.all .tile.build .t-cap{opacity:1;transform:rotate(-1.6deg)}
/* the three builds without a screenshot, as paper */
.t-paper{background:#fffefb;padding:14px 18px;display:block;text-align:left;font-size:12px;color:var(--ink2)}
.pt-do{font-family:var(--mono);font-size:15px;line-height:1.55;white-space:pre;color:var(--ink2)}
.pt-do .c{color:var(--muted2)} .pt-do .ok{color:var(--mintD)}
.pt-cap{font-family:var(--mono);font-size:12.5px;color:var(--muted);margin-bottom:8px}
.pt-ask{font-family:var(--serif);font-size:17px;line-height:1.45;color:var(--ink)}
.pt-ask i{font-style:italic;color:var(--goldD);background:linear-gradient(rgba(242,190,82,.32),rgba(242,190,82,.32)) 0 88%/100% 38% no-repeat;padding:0 2px}
.pt-out{font-family:var(--mono);font-size:13px;line-height:1.6;color:var(--mintD);margin-top:10px}
.pt-voice{font-family:var(--serif);font-size:17px;line-height:1.45;color:var(--ink)}
.pt-voice s{text-decoration:none;background:linear-gradient(var(--coralD),var(--coralD)) 0 58%/100% 2px no-repeat;color:var(--muted)}
.pt-stamp{position:absolute;right:16px;bottom:16px;font-family:var(--serif);font-style:italic;font-size:17px;color:var(--coralD);border:2px solid var(--coralD);border-radius:50%;
  width:76px;height:76px;display:grid;place-items:center;transform:rotate(-12deg);opacity:.85;filter:url(#wcf);background:rgba(247,227,225,.55)}
.pt-big{position:relative;border:1px solid var(--line2);border-radius:10px;margin-top:10px;padding:18px 20px;min-height:200px}
.pt-big .pt-do{font-size:13.5px}
.pt-big .pt-ask{font-size:21px}
.pt-big .pt-out{font-size:14px}
.pt-big .pt-voice{font-size:19px}
/* phones: a scroll-snap strip of the eight builds, each with its caption */
.wall-strip{display:none}
@media (max-width:760px){
  .l2 .wall-wrap{display:none}
  .wall-strip{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;padding:6px var(--gutter) 10px;margin-top:22px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .wall-strip::-webkit-scrollbar{display:none}
  .stile{flex:0 0 85vw;scroll-snap-align:center;display:flex;flex-direction:column;text-align:left;gap:10px}
  .stile .t-img{position:relative;inset:auto;aspect-ratio:16/9;border:1px solid var(--line2);border-radius:10px;background:var(--paper2)}
  .stile .t-img img{opacity:1}
  .stile .t-paper{font-size:11px;padding:10px 12px}
  .stile .pt-do{font-size:10px}
  .stile .pt-ask{font-size:13px}
  .stile .pt-out{font-size:10.5px;margin-top:6px}
  .stile .pt-cap{font-size:10.5px;margin-bottom:4px}
  .stile .pt-voice{font-size:12.5px}
  .stile .pt-stamp{width:56px;height:56px;font-size:13px;right:10px;bottom:10px}
  .stile .t-cap{position:static;opacity:1;transform:none;max-width:none;box-shadow:none;border:none;background:none;padding:0 2px}
  .stile .t-cap::before{display:none}
}
@media (prefers-reduced-motion:reduce){.t-cap,.tile{transition:none}}

/* =====================================================================
   VOICES (#voices): four pulled phrases, set large, alternating left and right in one column
   ===================================================================== */
.vo-head{max-width:760px;margin:0 auto clamp(18px,2.4vw,30px);transform:translateX(-80px)}
.vo-list{max-width:760px;margin:0 auto;display:flex;flex-direction:column;gap:clamp(14px,2vw,22px)}
.vo{margin:0}
.vo:nth-child(odd){transform:translateX(-80px)}
.vo:nth-child(even){transform:translateX(80px);text-align:right}
.vo-pull{font-family:var(--serif);font-style:italic;font-size:clamp(26px,3vw,38px);line-height:1.18;color:var(--ink);text-wrap:balance}
.vo-pull .hl{white-space:normal}
.vo figcaption{display:flex;flex-wrap:wrap;align-items:baseline;gap:0 14px;font-size:14px;color:var(--muted);margin-top:4px}
.vo:nth-child(even) figcaption{justify-content:flex-end}
.vo-full[open]{flex-basis:100%}
.vo figcaption b{color:var(--ink2);font-weight:600}
.vo-full{font-size:14px;color:var(--muted)}
.vo-full summary{display:inline;cursor:pointer;text-decoration:underline;text-decoration-color:rgba(24,25,24,.3);text-underline-offset:.2em;list-style:none}
.vo-full summary::-webkit-details-marker{display:none}
.vo-full summary:hover{color:var(--coralD)}
.vo-full[open] summary{color:var(--ink2)}
.vo-full p{font-family:var(--serif);font-size:17px;line-height:1.55;color:var(--ink2);margin-top:6px;max-width:38em;text-align:left}
.vo:nth-child(even) .vo-full p{margin-left:auto}
@media (max-width:1000px){.vo-head,.vo:nth-child(odd),.vo:nth-child(even){transform:none}}
@media (max-width:760px){.vo:nth-child(even){text-align:left}.vo:nth-child(even) figcaption{justify-content:flex-start}.vo:nth-child(even) .vo-full p{margin-left:0}}

/* =====================================================================
   THE LAST HOUR (#last): three questions, a hand-drawn line each, a gold dot that is ours
   ===================================================================== */
.lq-grid{display:grid;grid-template-columns:minmax(0,1fr) 150px;gap:clamp(20px,4vw,56px);align-items:center}
.lq-list{display:flex;flex-direction:column;gap:clamp(26px,3.4vw,40px)}
.lq-q{font-family:var(--serif);font-size:clamp(30px,3.2vw,44px);line-height:1.15;color:var(--ink);text-wrap:balance}
.lq-track{display:flex;align-items:center;gap:14px;margin-top:10px}
.lq-end{font-family:var(--serif);font-style:italic;font-size:16px;color:var(--ink2);white-space:nowrap;flex:none}
.lq-line{position:relative;flex:1;height:44px;touch-action:pan-y;cursor:pointer;-webkit-tap-highlight-color:transparent}
.lq-line svg{position:absolute;left:0;top:10px;width:100%;height:24px;overflow:visible}
.lq-line path{fill:none;stroke:var(--ink);stroke-width:1.8;stroke-linecap:round;vector-effect:non-scaling-stroke;stroke-dasharray:100;stroke-dashoffset:100;transition:stroke-dashoffset 1.1s var(--ease)}
.lq.in .lq-line path,.lq-list.in .lq-line path{stroke-dashoffset:0}
.lq-dot{position:absolute;left:50%;top:50%;width:28px;height:28px;margin:-14px 0 0 -14px;border-radius:50%;cursor:grab;touch-action:pan-y;
  background:var(--gold);filter:url(#wcf);opacity:.55;box-shadow:inset 0 0 0 2px rgba(156,106,6,.35);transition:opacity .3s,transform .2s var(--ease)}
.lq-dot::after{content:"";position:absolute;inset:-9px;border-radius:50%}
.lq.placed .lq-dot{opacity:1}
.lq-dot:hover,.lq.dragging .lq-dot{transform:scale(1.12)}
.lq.dragging .lq-dot{cursor:grabbing}
.lq-dot:focus-visible{outline:2px solid var(--ink);outline-offset:4px}
.lq-then{font-family:var(--serif);font-style:italic;font-size:clamp(17px,1.5vw,19px);color:var(--ink2);margin-top:6px;opacity:0;transform:translateY(-4px);transition:opacity .5s var(--ease),transform .5s var(--ease)}
.lq.placed .lq-then{opacity:1;transform:none}
.lq-bot{align-self:center;display:flex;justify-content:center}
.lq-bot img{width:110px;height:auto;transform-origin:50% 100%}
@media (prefers-reduced-motion:reduce){.lq-line path{stroke-dashoffset:0;transition:none}.lq-then,.lq-dot{transition:none}}
@media (max-width:760px){
  .lq-grid{grid-template-columns:minmax(0,1fr)}
  .lq-bot{justify-content:flex-start;padding-left:4px}
  .lq-bot img{width:96px}
  .lq-end{font-size:15px}
  .lq-track{gap:10px}
}
