@import url('https://fonts.googleapis.com/css2?family=Finger+Paint&display=swap');
:root{color-scheme:dark;--gold:#ffe0a0;--cream:#fff4dc;--heading:'Finger Paint','Trebuchet MS',sans-serif}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;min-height:100vh;background:radial-gradient(ellipse at 16% 37%,#21496d70,transparent 45%),radial-gradient(ellipse at 90% 53%,#7b287453,transparent 50%),#17102e;color:#fff4e5;font:16px/1.5 'Trebuchet MS',Arial,sans-serif}button,a{-webkit-tap-highlight-color:transparent;touch-action:manipulation}button{font:inherit;cursor:pointer}button:disabled{cursor:wait}a{color:inherit;text-underline-offset:.25em}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #a5f0df;outline-offset:5px}.skip{position:absolute;top:-100px;left:15px;background:#39254f;padding:12px;z-index:20}.skip:focus{top:10px}.stardust{position:fixed;inset:0;pointer-events:none;opacity:.35;background-image:radial-gradient(circle,#ffdf9f 1px,transparent 1.6px),radial-gradient(circle,#a5dbfa 1px,transparent 1.6px);background-size:237px 259px,183px 211px;background-position:23px 30px,83px 100px}.topbar{position:relative;max-width:1180px;margin:auto;padding:24px 28px;display:flex;align-items:center;justify-content:space-between}.brand{font:24px var(--heading);color:var(--gold);text-decoration:none}.back{font-size:14px;color:#dfcfea;text-decoration:none;padding:10px 0}main{position:relative;max-width:1160px;margin:auto;padding:0 25px}.intro{text-align:center;margin:4px 0 26px}.eyebrow{text-transform:uppercase;letter-spacing:.19em;color:#dcc1eb;font-size:10px;margin:0 0 12px}h1{font:clamp(29px,4.4vw,48px)/1.35 var(--heading);margin:0 0 12px}h1 span{color:var(--gold)}.intro>p:last-child{color:#e6d7ed;margin:0}.workshop{display:grid;grid-template-columns:minmax(0,1fr);gap:0;max-width:930px;margin:0 auto;align-items:center}.lino-stage{position:relative;min-width:0;width:100%;padding-top:18px;margin:0 auto 8px;text-align:center}.speech{background:#fff0d3;color:#44304f;padding:16px 13px;border-radius:23px 28px 27px 8px;font:15px/1.55 var(--heading);position:absolute;left:calc(50% - 310px);top:48px;width:210px;max-width:220px;margin:0;transform:rotate(-3deg);box-shadow:0 6px 20px #05001833}.speech:after{content:'';position:absolute;bottom:-12px;right:45px;border-top:15px solid #fff0d3;border-left:18px solid transparent}.lino{display:block;width:170px;height:220px;margin:0 auto;object-fit:contain;position:relative;z-index:1;filter:drop-shadow(0 0 16px #73d6d51c);transform-origin:50% 50%}.lino.is-laughing{animation:lino-roll 1.4s ease-in-out both}.lino-shadow{width:85px;height:15px;margin:0 auto;border-radius:50%;background:#78d2d926;filter:blur(6px)}.machine{position:relative;border:3px solid #dcb77f;border-radius:34px 45px 35px 44px;padding:19px 22px 12px;background:linear-gradient(145deg,#6e4d8b,#45305f 47%,#302751);box-shadow:inset 0 0 0 6px #d8acdf24,inset 0 -8px 0 #120a2b4d,0 20px 50px #0303174d}.machine-label{display:flex;justify-content:space-between;align-items:center;gap:10px;color:#ffe3a9;font-size:11px;letter-spacing:.08em;padding:2px 5px 20px}.lights{display:flex;gap:7px}.lights i{display:block;width:8px;height:8px;border-radius:50%;background:#a6edbd;box-shadow:0 0 8px #a6edbd66}.lights i:nth-child(2){background:#ffce75}.lights i:last-child{background:#f995b9}.screw{position:absolute;width:8px;height:8px;border-radius:50%;background:linear-gradient(45deg,#a07754 42%,#ffe4ab 43%,#ffe4ab 57%,#a07754 58%);top:12px}.screw-a{left:15px}.screw-b{right:15px}.reels{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.reel{--accent:#c14483;min-width:0;background:linear-gradient(#fff9eb,#f8e8d0);border:3px solid #efc78d;border-radius:20px 22px 20px 24px;color:#412847;box-shadow:0 6px 0 #1a123e55;overflow:hidden}.reel:nth-child(2){--accent:#247d75}.reel:nth-child(3){--accent:#7751ae}.reel h2{text-align:center;color:var(--accent);font:16px var(--heading);margin:15px 3px 6px}.reel-visual{height:137px;display:grid;place-items:center;padding:7px 14px}.reel-visual img,.reel-visual svg{width:100%;height:100%;max-height:123px;object-fit:contain;filter:drop-shadow(0 4px 3px #45304b22)}.reel-text{min-height:68px;display:flex;align-items:center;justify-content:center;text-align:center;font-size:17px;font-weight:bold;line-height:1.3;padding:4px 10px 12px;margin:0}.hold{display:flex;align-items:center;justify-content:center;gap:7px;border:0;border-top:1px solid #b0835f40;background:#ead9c4;color:#5b405d;width:100%;min-height:47px;font-size:14px;font-weight:bold;padding:9px 4px}.hold svg{width:16px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}.hold[aria-pressed=true]{background:var(--accent);color:white}.reel.is-held{border-color:#9fe5c8;box-shadow:0 0 0 2px #9fe5c852,0 6px 0 #1a123e55}.hold:focus-visible{outline-color:#563668;outline-offset:-4px}.controls{text-align:center;padding-top:24px}.mix-button{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:62px;padding:15px 28px;color:#472b4c;background:linear-gradient(160deg,#fff0b0,#f3bf74);border:2px solid #ffe9b9;border-radius:24px 28px 23px 27px;box-shadow:0 6px 0 #ad7846,0 9px 23px #1b123962;font:clamp(17px,2vw,22px)/1.35 var(--heading);transition:transform .15s,box-shadow .15s}.mix-button:not(:disabled):hover{transform:translateY(-2px);background:#ffe6a0}.mix-button:not(:disabled):active{transform:translateY(4px);box-shadow:0 2px 0 #ad7846}.mix-button:disabled{opacity:.7}.hint{color:#eee0ee;font-size:12px;margin:18px 0 2px;min-height:18px}.release-button{border:0;background:none;color:#ffe1aa;text-decoration:underline;text-underline-offset:4px;min-height:44px;font-size:12px;padding:8px}.machine-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:13px;padding:0 8px}.machine-bottom>span{width:9px;height:9px;border-radius:50%;background:#d6af7d}.vent{height:7px;width:90px;border-radius:3px;background:repeating-linear-gradient(90deg,#1e1739 0 4px,transparent 4px 9px)}.result{position:relative;max-width:930px;margin:28px auto 15px;text-align:center;border:1px solid #f3cf8b67;border-radius:30px 38px 30px 40px;padding:21px 28px 18px;background:radial-gradient(ellipse at top,#75437555,#2a214051);box-shadow:0 10px 30px #07031b2a}.result-label{margin:0 0 10px;color:#e2bfeb;font-size:11px;letter-spacing:.13em;text-transform:uppercase}.sentence{font:clamp(19px,2.3vw,27px)/1.65 var(--heading);margin:0;color:#fff2d7;min-height:45px}.sentence span:nth-child(1){color:#ffb3db}.sentence span:nth-child(2){color:#a7e7d2}.sentence span:nth-child(3){color:#ffe0a0}.voice-note{color:#c8b6d7;font-size:12px;margin:10px 0 0}.listen{border:1px solid #d5b5e2;border-radius:18px;background:#49345f;color:#fff0d0;padding:10px 20px;min-height:44px;margin-top:10px}.below{max-width:930px;margin:0 auto;display:flex;align-items:start;justify-content:space-between;gap:25px;font-size:12px;color:#cdbbdc}.below details{max-width:610px}.below summary{cursor:pointer;padding:14px 0}.below p{font-size:14px;line-height:1.7}.possibilities{white-space:nowrap;padding-top:14px;color:#e3cfa8}footer{position:relative;display:flex;justify-content:center;gap:20px;padding:24px;font-size:12px;color:#baa7cb}footer a{padding:9px 0}footer span{color:var(--gold);padding:9px 0}.bubbles{position:absolute;inset:0;pointer-events:none;overflow:clip}.bubble{position:absolute;left:50%;top:55%;width:var(--size);height:var(--size);border:1px solid #ffdba88c;border-radius:50%;background:radial-gradient(circle at 30% 25%,#fff8 0 4%,#b5f5ff25 10%,#d483e72b 60%,#ffcc6c52);animation:bubble-out 1.6s ease-out both}.bubble:nth-child(3n){border:0;background:none;color:#ffdda2;font:var(--size) var(--heading)}.is-spinning .reel:not(.is-held) .reel-visual{animation:reel-wiggle .2s ease-in-out infinite}.result.is-new{animation:result-pop .4s ease-out}@keyframes lino-roll{0%{transform:translateY(0) rotate(0deg) scale(1)}12%{transform:translateY(7px) rotate(-12deg) scale(.94)}30%{transform:translateY(-12px) rotate(60deg) scale(.72)}50%{transform:translateY(-20px) rotate(180deg) scale(.68)}72%{transform:translateY(-12px) rotate(300deg) scale(.72)}88%{transform:translateY(5px) rotate(360deg) scale(.94)}100%{transform:translateY(0) rotate(360deg) scale(1)}}@keyframes reel-wiggle{0%,100%{transform:translateY(-3px)}50%{transform:translateY(3px)}}@keyframes bubble-out{0%{opacity:0;transform:translate(0,0) scale(.3)}15%{opacity:1}100%{opacity:0;transform:translate(var(--x),var(--y)) scale(1)}}@keyframes result-pop{from{transform:scale(.97);opacity:.65}to{transform:scale(1);opacity:1}}
@media(max-width:850px){.workshop{grid-template-columns:minmax(0,1fr);gap:0}.lino{height:200px}.speech{font-size:12px;padding:13px 9px}.machine{padding:18px 14px 12px}.reels{gap:8px}.reel-text{font-size:15px;min-height:75px}.reel-visual{height:115px}.reel-visual img,.reel-visual svg{max-height:103px}.machine-label{font-size:9px}.hold{font-size:12px}}
@media(max-width:620px){.topbar{padding:17px 18px}.brand{font-size:20px}.back{font-size:12px}main{padding:0 14px}.intro{margin:4px 0 10px}.eyebrow{font-size:8px;letter-spacing:.12em}.intro>p:last-child{font-size:13px}.workshop{display:block}.lino-stage{display:flex;justify-content:center;align-items:center;gap:8px;max-width:330px;margin:0 auto 8px;padding-top:12px}.speech{position:relative;left:auto;top:auto;width:auto;max-width:175px;margin:0;font-size:13px;transform:rotate(-2deg)}.speech:after{bottom:18px;right:-12px;border-left:15px solid #fff0d3;border-top:12px solid transparent}.lino{width:115px;height:153px;margin:0;flex-shrink:0}.lino-shadow{display:none}.machine{border-radius:26px 34px 26px 34px;padding:17px 10px 12px}.machine-label{padding:0 5px 15px}.reels{gap:7px}.reel{border-width:2px;border-radius:16px}.reel h2{font-size:12px;margin-top:12px}.reel-visual{height:95px;padding:5px}.reel-visual img,.reel-visual svg{max-height:85px}.reel-text{font-size:13px;padding:3px 6px 8px;min-height:74px}.hold{font-size:11px;gap:4px;min-height:45px}.hold svg{width:13px}.controls{padding-top:19px}.mix-button{width:100%;max-width:350px;min-height:58px;font-size:18px;padding:13px 10px}.hint{font-size:11px;line-height:1.5;margin-top:16px}.result{margin-top:22px;padding:19px 14px}.sentence{font-size:19px}.below{display:block}.possibilities{display:block;padding-top:0;text-align:center;font-size:11px}.voice-note{font-size:11px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}.bubbles{display:none}}
