/* WASP-22 b interactive article (stinga.jp, Nov 2026). Ink tone of the Cinema design; gold = the star and the result,
   cyan-white = measurements, rose = the reported shrinking. Everything readable without scripts. */
:root{--w-ink:#0b1010;--w-ink2:#0f1718;--w-text:#ece8df;--w-body:#cfd5d2;--w-muted:#93a0a0;--w-hair:rgba(203,246,251,.1);
  --w-gold:#d9c39a;--w-sun:#ffd79a;--w-pt:#cbe9ec;--w-rose:#e8998a;--w-vio:#c3b5ff;
  --w-e:cubic-bezier(.2,.7,.2,1);--w-disp:Jost,-apple-system,BlinkMacSystemFont,"Hiragino Sans","Hiragino Kaku Gothic ProN","Noto Sans JP",sans-serif;
  --w-sans:-apple-system,BlinkMacSystemFont,"Hiragino Sans","Hiragino Kaku Gothic ProN","Noto Sans JP","Segoe UI",Roboto,sans-serif;
  --w-pad:40px}
@media(max-width:700px){:root{--w-pad:20px}}
html{background:var(--w-ink)}
/* this file is only loaded on this page. On the site, cinema.css comes after it: --bg is the color under its star
   background, the .wrap rule undoes its article column, and the #w22 headings outrank its article headings. */
:root{--bg:#0b1010}
.wrap:has(>#w22){max-width:none!important;margin:0!important;padding:0!important}
body{margin:0;background:var(--w-ink);color:var(--w-text);font:18px/1.85 var(--w-sans);-webkit-text-size-adjust:100%;overflow-x:clip}
.w22 *,.w22 *::before,.w22 *::after{box-sizing:border-box}
.w22 a{color:var(--w-gold);text-decoration-color:rgba(217,195,154,.4);text-underline-offset:3px}
.w22 a:hover{text-decoration-color:var(--w-gold)}

/* reading progress: a gold thread at the very top */
.w22-prog{position:fixed;left:0;top:0;height:2px;width:100%;z-index:70;transform-origin:0 50%;transform:scaleX(0);background:linear-gradient(90deg,rgba(217,195,154,.2),var(--w-gold));pointer-events:none}

/* ---------- hero: the star, its planet, the curve ---------- */
.w22-hero{position:relative;height:100vh;height:100svh;min-height:600px;max-height:1000px;overflow:hidden;background:#050608;isolation:isolate}
.w22-hero .w22-cv{position:absolute;inset:0;width:100%;height:100%;display:block}
.w22-hero::after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(to top,rgba(5,6,8,.94) 0,rgba(5,6,8,.55) 26%,rgba(5,6,8,0) 52%),linear-gradient(to right,rgba(5,6,8,.55),rgba(5,6,8,0) 55%)}
.w22-hero-trace{position:absolute;left:0;right:0;bottom:52px;height:120px;z-index:2;pointer-events:none;opacity:.9}
.w22-hero-trace svg{display:block;width:100%;height:100%}
.w22-hero-tx{position:absolute;z-index:3;left:0;right:0;bottom:0;max-width:1440px;margin:0 auto;padding:0 var(--w-pad) 184px}
.w22-eye{margin:0 0 14px;font:500 12px/1.5 var(--w-sans);letter-spacing:.22em;text-transform:uppercase;color:var(--w-gold)}
.w22-hero h1{margin:0;max-width:11.5em;font:300 clamp(42px,6.6vw,98px)/1.02 var(--w-disp);letter-spacing:-.015em;color:#f4f0e7;text-wrap:balance}
.w22-hero h1[lang=ja]{font-size:clamp(34px,5.2vw,76px);line-height:1.18;letter-spacing:.01em}
.w22-ph{display:inline-block}
.w22-by{margin:22px 0 0;font:400 15px/1.5 var(--w-disp);letter-spacing:.04em;color:rgba(236,232,223,.72)}
/* "scroll" at the bottom of the window while the page is at its top */
.w22-cue{appearance:none;position:fixed;z-index:56;left:50%;bottom:max(10px,env(safe-area-inset-bottom));transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;gap:2px;padding:6px 18px 4px;border:0;background:none;color:rgba(236,232,223,.82);font:500 11px/1 var(--w-sans);letter-spacing:.24em;text-indent:.24em;text-transform:uppercase;cursor:pointer;transition:opacity .5s var(--w-e),visibility .5s;-webkit-tap-highlight-color:transparent}
.w22-cue svg{display:block;width:22px;height:22px;fill:none;stroke:var(--w-gold);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;animation:w22-nudge 1.8s cubic-bezier(.45,0,.3,1) infinite}
.w22-cue:hover{color:#fff}
.w22-cue:focus-visible{outline:2px solid var(--w-gold);outline-offset:2px;border-radius:8px}
html.w22-scrolled .w22-cue{opacity:0;visibility:hidden}
@keyframes w22-nudge{0%,100%{transform:translateY(-2px);opacity:.55}50%{transform:translateY(4px);opacity:1}}
@media print{.w22-cue{display:none}}
@media(max-width:700px){
  .w22-hero{min-height:640px}
  .w22-hero::after{background:linear-gradient(to top,rgba(5,6,8,.96) 0,rgba(5,6,8,.7) 34%,rgba(5,6,8,0) 62%)}
  .w22-hero-tx{padding-bottom:160px}
  .w22-hero-trace{height:92px;bottom:54px}
  .w22-cue{font-size:12px}
  .w22-cue svg{width:26px;height:26px}
}

/* ---------- reading column ---------- */
.w22-col{max-width:720px;margin:0 auto;padding:0 var(--w-pad)}
.w22-col>p{margin:0 0 1.15em;color:var(--w-body)}
.w22 [lang=ja]{line-break:strict}
.w22-lead{padding-top:96px}
.w22-lead>p:first-of-type{font:300 clamp(22px,2.3vw,28px)/1.55 var(--w-disp);color:var(--w-text);margin-bottom:1em}
.w22-lead>p[lang=ja]:first-of-type{font-size:clamp(19px,2vw,24px);line-height:1.75}
#w22 .w22-col>h2{margin:128px 0 30px;padding:0;border:0;font:300 clamp(30px,3.6vw,46px)/1.12 var(--w-disp);letter-spacing:-.005em;color:#f2eee5;text-wrap:balance}
#w22 .w22-col>h2::before{content:"";display:block;width:44px;height:1px;margin-bottom:26px;background:var(--w-gold)}
#w22 .w22-col>h2[lang=ja]{font-size:clamp(26px,3vw,38px);line-height:1.3}
.w22-col ul{margin:0;padding:0;list-style:none;display:grid;gap:14px}
.w22-col li{padding:16px 0 0;border-top:1px solid var(--w-hair);font-size:16px;line-height:1.7;color:var(--w-body)}
.w22-cap{font-size:13.5px!important;line-height:1.65!important;color:var(--w-muted)!important;margin:-6px 0 2.4em!important;padding-left:14px;border-left:1px solid rgba(217,195,154,.35)}
@media(max-width:700px){body{font-size:17px;line-height:1.8}#w22 .w22-col>h2{margin-top:96px}.w22-lead{padding-top:64px}}

/* reveals: once, when they come into view; never hidden again */
html.w22-rv .w22-col>:is(p,h2,ul):not(.w22-in),html.w22-rv .w22-fig:not(.w22-in){opacity:0;transform:translateY(22px)}
html.w22-rv .w22-col>:is(p,h2,ul).w22-in,html.w22-rv .w22-fig.w22-in{transition:opacity 1.1s cubic-bezier(.2,.6,.2,1),transform 1.4s var(--w-e)}

/* ---------- figures ---------- */
.w22-fig{position:relative;max-width:1120px;margin:56px auto 36px;padding:0 var(--w-pad)}
.w22-fig+.w22-col>.w22-cap:first-child{margin-top:0!important}
.w22-ch{position:relative;width:100%;user-select:none;-webkit-user-select:none}
.w22-ch svg{display:block;width:100%;height:auto;overflow:visible}
.w22-panel{position:relative;border-radius:18px;background:radial-gradient(120% 140% at 50% 0%,rgba(30,44,46,.55),rgba(11,16,16,0) 70%),linear-gradient(180deg,rgba(255,255,255,.025),rgba(255,255,255,0));border:1px solid var(--w-hair);padding:26px 26px 18px}
@media(max-width:700px){.w22-panel{padding:18px 12px 12px;border-radius:14px}.w22-fig{padding:0 12px}}
.w22-ttl{margin:0 0 4px;font:400 clamp(17px,1.7vw,21px)/1.35 var(--w-disp);color:#efebe2}
.w22-sub{margin:0 0 12px;font-size:13.5px;line-height:1.55;color:var(--w-muted)}

/* chart marks */
.w22 .ax{stroke:rgba(203,246,251,.13);stroke-width:1}
.w22 .ax0{stroke:rgba(236,232,223,.42);stroke-width:1}
.w22 .tk,.w22 .lb,.w22 .lbg,.w22 .lbr{paint-order:stroke;stroke:#0c1313;stroke-width:3px;stroke-linejoin:round}
.w22 .tk{fill:#8c9a9a;font:12px var(--w-sans)}
.w22 .lb{fill:#b9c2c2;font:13px var(--w-sans)}
.w22 .lbg{fill:var(--w-gold);font:500 13px var(--w-sans)}
.w22 .lbr{fill:var(--w-rose);font:13px var(--w-sans)}
.w22 .pt{fill:var(--w-pt)}
.w22 .mdl{fill:none;stroke:var(--w-gold);stroke-width:2.2;stroke-linejoin:round;stroke-linecap:round;filter:drop-shadow(0 0 6px rgba(217,195,154,.45))}
.w22 .mdl.hit{stroke:#ffe2ad;filter:drop-shadow(0 0 10px rgba(255,215,154,.85))}
.w22 .mdl{transition:filter .5s,stroke .5s}
.w22 .pred{fill:none;stroke:var(--w-rose);stroke-width:1.8;stroke-dasharray:6 6;stroke-linecap:round}
.w22 .eb{stroke:currentColor;stroke-width:1.2;opacity:.55}
.w22 .glowdot{filter:drop-shadow(0 0 5px rgba(255,215,154,.8))}

/* toggles and controls */
.w22-tg,.w22-ctl{display:flex;flex-wrap:wrap;align-items:center;gap:10px 12px;margin-top:16px}
.w22-btn{appearance:none;font:inherit;font-size:14px;line-height:1;padding:10px 16px;border-radius:999px;border:1px solid rgba(217,195,154,.38);background:rgba(217,195,154,.04);color:var(--w-text);cursor:pointer;transition:border-color .35s var(--w-e),background-color .35s var(--w-e),color .35s}
.w22-btn:hover{border-color:var(--w-gold)}
.w22-btn[aria-pressed=true]{background:var(--w-gold);border-color:var(--w-gold);color:#14110b}
.w22-btn:focus-visible,.w22-range:focus-visible{outline:2px solid var(--w-gold);outline-offset:3px}
.w22-read{font:400 14px/1.4 ui-monospace,"SF Mono",Menlo,monospace;color:var(--w-muted);font-variant-numeric:tabular-nums}
.w22-read b{color:var(--w-text);font-weight:400}
/* the fit: the slider on a row of its own. Beside the readout its width changed whenever the readout's words did
   ("closer", "nearly there", "best match"), so the thumb slipped from under the pointer near the middle and the curve
   jumped (Stefano, 14 Nov, on a PC) */
.w22-fitctl .w22-range{flex:1 1 100%}
.w22-fitctl .w22-read{flex:1 1 auto}
.w22-range{-webkit-appearance:none;appearance:none;flex:1 1 220px;height:30px;background:transparent;cursor:pointer;margin:0}
.w22-range::-webkit-slider-runnable-track{height:2px;background:linear-gradient(90deg,rgba(217,195,154,.15),rgba(217,195,154,.6),rgba(217,195,154,.15));border-radius:2px}
.w22-range::-moz-range-track{height:2px;background:rgba(217,195,154,.4)}
.w22-range::-webkit-slider-thumb{-webkit-appearance:none;width:22px;height:22px;margin-top:-10px;border-radius:50%;background:#14110b;border:2px solid var(--w-gold);box-shadow:0 0 12px rgba(217,195,154,.5)}
.w22-range::-moz-range-thumb{width:18px;height:18px;border-radius:50%;background:#14110b;border:2px solid var(--w-gold)}
.w22-hint{font-size:12.5px;color:var(--w-muted)}

/* ---------- the transit scene: a wide stage of sky that plays by itself when it comes into view ---------- */
.w22-scene{position:relative;margin:56px 0 36px}
.w22-stage{position:relative;height:clamp(540px,84vh,800px);overflow:hidden;background:#050608}
.w22-stage::before,.w22-stage::after{content:"";position:absolute;left:0;right:0;z-index:2;pointer-events:none}
.w22-stage::before{top:0;height:64px;background:linear-gradient(to bottom,var(--w-ink),rgba(11,16,16,0))}
.w22-stage::after{bottom:0;height:34px;background:linear-gradient(to top,var(--w-ink),rgba(11,16,16,0))}
.w22-stage .w22-cv{position:absolute;inset:0;width:100%;height:100%}
.w22-stage-head{position:absolute;left:0;right:0;top:46px;z-index:3;max-width:1120px;margin:0 auto;padding:0 var(--w-pad);pointer-events:none}
.w22-curve{position:absolute;left:0;right:0;bottom:0;height:42%;background:linear-gradient(to bottom,rgba(5,6,8,0),rgba(5,6,8,.72) 22%,rgba(5,6,8,.88))}
.w22-curve svg{display:block;width:100%;height:100%;overflow:visible}
.w22-scene>.w22-ctl{max-width:1120px;margin:12px auto 0;padding:0 var(--w-pad)}
@media(max-width:700px){.w22-stage{height:clamp(520px,80svh,680px)}.w22-stage-head{top:34px}.w22-curve .w22-note{top:-12px}}
.w22-pp{min-width:5.6em;text-align:center}
.w22-btn:disabled{opacity:.35;cursor:default;border-color:rgba(217,195,154,.38)}

/* the result chart: the chart, and beside it (under it on small screens) the step's text with Back, Next and six bars */
.w22-tl{display:grid;grid-template-columns:minmax(0,1fr);gap:14px}
.w22-side{display:flex;flex-direction:column;gap:14px}
.w22-steptx{margin:0;min-height:8.4em;font-size:15px;line-height:1.65;color:var(--w-body);opacity:0;transform:translateY(6px);transition:opacity .3s var(--w-e),transform .45s var(--w-e)}
.w22-steptx.on{opacity:1;transform:none}
.w22-steptx b{color:var(--w-text);font-weight:500}
.w22-stepnav{display:flex;align-items:center;gap:12px}
.w22-stepbars{flex:1;display:flex;gap:6px}
.w22-stepbars button{appearance:none;flex:1;height:24px;padding:0;border:0;background:none;cursor:pointer;position:relative}
.w22-stepbars button::before,.w22-stepbars b{content:"";position:absolute;left:0;right:0;top:11px;height:2px;border-radius:2px}
.w22-stepbars button::before{background:rgba(236,232,223,.18)}
.w22-stepbars b{background:var(--w-gold);transform:scaleX(0);transform-origin:0 50%}
.w22-stepbars button:focus-visible{outline:2px solid var(--w-gold);outline-offset:2px;border-radius:4px}
@media(min-width:1000px){
  .w22-tl{grid-template-columns:minmax(0,1fr) 290px;gap:34px;align-items:center}
  .w22-steptx{min-height:10em;font-size:16.5px;line-height:1.7}
}

/* ---------- Saturn-chan: one of her, moved by w22.js to the figure on screen ---------- */
.w22{position:relative;overflow-x:clip}      /* she is placed inside the page: nothing of hers may widen it */
.w22-sc{position:absolute;left:0;top:0;width:0;height:0;z-index:55;pointer-events:none;will-change:transform;transform:translate(-999px,-999px)}
.w22-sc .sc-wrap{z-index:1}
/* she pops in and out: a springy scale around her middle, a soft glow and eight sparkles */
.w22-scin{position:absolute;left:0;top:0;width:0;height:0;transform-origin:calc(var(--sz,150px)/2) calc(var(--hg,131px)*-.34);opacity:0;transform:scale(.2) rotate(-16deg)}
.w22-scin.in{opacity:1;transform:none;transition:transform .68s cubic-bezier(.28,1.6,.42,1),opacity .2s ease-out}
.w22-scin.in.out{opacity:0;transform:scale(.1) rotate(24deg);transition:transform .46s cubic-bezier(.6,-.5,.74,.3),opacity .22s ease-in .22s}
.w22-scfx{position:absolute;left:calc(var(--sz,150px)/2);top:calc(var(--hg,131px)*-.34);width:0;height:0;pointer-events:none}
.w22-scfx::before{content:"";position:absolute;left:calc(var(--sz,150px)*-.45);top:calc(var(--sz,150px)*-.45);width:calc(var(--sz,150px)*.9);height:calc(var(--sz,150px)*.9);border-radius:50%;background:radial-gradient(circle,rgba(255,236,170,.5),rgba(255,236,170,0) 66%);opacity:0}
.w22-scfx i{position:absolute;left:calc(var(--sz,150px)*-.055);top:calc(var(--sz,150px)*-.055);width:calc(var(--sz,150px)*.11);height:calc(var(--sz,150px)*.11);opacity:0}
.w22-scfx svg{display:block;width:100%;height:100%;fill:#fff3b0;filter:drop-shadow(0 0 5px rgba(255,243,176,.9))}
.w22-scfx.go::before{animation:w22-puff .75s ease-out both}
.w22-scfx.go i{animation:w22-spark .85s cubic-bezier(.15,.7,.3,1) var(--t,0ms) both}
.w22-scfx.go.small::before{animation-name:w22-puff-s;animation-duration:.5s}
.w22-scfx.go.small i{animation-name:w22-spark-s;animation-duration:.6s}
@keyframes w22-puff-s{0%{opacity:0;transform:scale(.2)}25%{opacity:.7}100%{opacity:0;transform:scale(.8)}}
@keyframes w22-puff{0%{opacity:0;transform:scale(.3)}22%{opacity:1}100%{opacity:0;transform:scale(1.3)}}
@keyframes w22-spark{0%{opacity:0;transform:rotate(var(--a)) translateY(calc(var(--sz,150px)*-.14)) scale(.2)}22%{opacity:1}70%{opacity:1}100%{opacity:0;transform:rotate(var(--a)) translateY(calc(var(--sz,150px)*var(--d)*-.6)) scale(var(--s)) rotate(90deg)}}
@keyframes w22-spark-s{0%{opacity:0;transform:rotate(var(--a)) translateY(calc(var(--sz,150px)*-.05)) scale(.2)}25%{opacity:1}100%{opacity:0;transform:rotate(var(--a)) translateY(calc(var(--sz,150px)*var(--d)*-.34)) scale(calc(var(--s)*.7)) rotate(90deg)}}
.w22-bub{position:absolute;z-index:2;left:calc(var(--sz,150px)/2);bottom:calc(var(--hg,131px)*.6 + 10px);width:max-content;max-width:min(250px,68vw);padding:10px 15px;border-radius:16px;background:#fff7e3;color:#3b2212;font:600 14px/1.45 var(--w-sans);box-shadow:0 14px 34px -12px rgba(0,0,0,.75),inset 0 0 0 1.5px rgba(185,115,58,.35);transform:translate(calc(-50% + var(--bx,0px)),8px) scale(.9);transform-origin:50% 100%;opacity:0;pointer-events:none;cursor:pointer;transition:opacity .3s var(--w-e),transform .5s cubic-bezier(.3,1.5,.5,1)}
.w22-bub::after{content:"";position:absolute;top:100%;left:calc(50% - var(--bx,0px));width:12px;height:12px;margin:-7px 0 0 -6px;background:#fff7e3;transform:rotate(45deg);border-radius:0 0 3px 0;box-shadow:1.5px 1.5px 0 rgba(185,115,58,.3)}
.w22-bub.on{opacity:1;pointer-events:auto;transform:translate(calc(-50% + var(--bx,0px)),0) scale(1)}
.w22-bub.below{bottom:auto;top:2px;transform-origin:50% 0}
.w22-bub.below::after{top:auto;bottom:100%;margin:0 0 -7px -6px;border-radius:3px 0 0 0;box-shadow:-1.5px -1.5px 0 rgba(185,115,58,.3)}
@media(max-width:700px){.w22-bub{font-size:13px;padding:8px 12px}}
@media print{.w22-sc{display:none}}
.w22-bye{position:relative;height:230px;margin-top:40px}

/* a quiet caption inside the transit scene */
.w22-note{position:absolute;left:0;right:0;top:-6px;z-index:2;margin:0;padding:0 var(--w-pad);text-align:center;font:400 clamp(15px,1.5vw,18px)/1.5 var(--w-disp);color:#ece8df;opacity:0;transform:translateY(6px);transition:opacity .45s var(--w-e),transform .6s var(--w-e)}
.w22-note.on{opacity:1;transform:none}

/* preview-only header (the site supplies its own) */
.w22-mockbar{position:fixed;left:0;right:0;top:0;z-index:60;display:flex;align-items:center;gap:16px;padding:12px var(--w-pad);background:rgba(9,13,14,.55);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-bottom:1px solid rgba(203,246,251,.08);font:400 16px/1 var(--w-disp);color:#ece8df}
.w22-mocklogo{margin-right:auto}
.w22-mocklang{display:flex;border:1px solid rgba(236,232,223,.22);border-radius:999px;padding:2px}
.w22-mocklang button{appearance:none;border:0;background:none;color:rgba(236,232,223,.75);font:13px var(--w-sans);padding:6px 12px;border-radius:999px;cursor:pointer}
html[data-lang=ja] .w22-mocklang [data-l=ja],html[data-lang=en] .w22-mocklang [data-l=en]{background:rgba(236,232,223,.14);color:#fff}

@media(prefers-reduced-motion:reduce){
  .w22-scin,.w22-scin.in,.w22-scin.in.out{transition:none}
  .w22-scfx{display:none}
  html.w22-rv .w22-col>*,html.w22-rv .w22-fig{opacity:1!important;transform:none!important}
  .w22-cue svg{animation:none}
}
.w22 .w22-foot{display:block;max-width:720px;margin:0 auto;padding:18px var(--w-pad) 0;border-top:1px solid var(--w-hair);color:var(--w-muted);font-size:13px;line-height:1.7}
.w22-preview .w22-foot{margin-bottom:90px}
