/* ---------- more slices of life ---------- */
.fd svg,.arch svg,.fstage svg,.fw svg{display:block;width:100%;height:auto;overflow:visible}
.den{background:#152038;border-radius:4cqw}
.note{font:700 5cqw/1 var(--ui);color:#F9D949;text-align:center;opacity:0;animation:heart 3.2s ease-out infinite;z-index:6}
.kopi{aspect-ratio:.78;border-radius:8% 8% 22% 22%;background:linear-gradient(#FAF5E0 0 14%,#7A4A2B 14%);box-shadow:inset 0 0 0 .35cqw rgba(255,255,255,.75)}
.kopi.milo{background:linear-gradient(#FAF5E0 0 22%,#9A705C 22%)}
.kopi.milo::after{content:"";position:absolute;left:58%;top:-46%;width:9%;height:90%;background:#DF3B42;border-radius:1cqw;transform:rotate(14deg)}
.mug{aspect-ratio:.82;background:linear-gradient(#FAF5E0 0 24%,#E9A70F 24%);border-radius:10% 10% 18% 18%;box-shadow:inset 0 0 0 .3cqw rgba(255,255,255,.6)}
.mug::after{content:"";position:absolute;left:94%;top:28%;width:34%;height:44%;border:.6cqw solid #FAF5E0;border-left:0;border-radius:0 40% 40% 0}

/* wedding */
.aisle{background:#DF3B42;clip-path:polygon(24% 0,76% 0,100% 100%,0 100%)}

/* festival */
.beam{clip-path:polygon(50% 100%,0 0,100% 0);background:linear-gradient(rgba(255,255,255,0),rgba(255,255,255,.75));transform-origin:50% 100%;animation:beam 2.2s ease-in-out infinite alternate}
@keyframes beam{0%{transform:rotate(calc(var(--br,0deg) - 16deg))}100%{transform:rotate(calc(var(--br,0deg) + 16deg))}}
.fw{aspect-ratio:1;opacity:0;animation:fw 2.3s ease-out infinite;z-index:1}
@keyframes fw{0%{opacity:1;transform:scale(.08)}55%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(1.2) translateY(8%)}}
.fstage .sun{transform-box:fill-box;transform-origin:center;animation:fpulse .5s ease-in-out infinite alternate}
@keyframes fpulse{0%{transform:scale(1)}100%{transform:scale(1.07)}}
.fstage .eq{transform-box:fill-box;transform-origin:50% 100%;animation:eq .32s ease-in-out infinite alternate}
@keyframes eq{0%{transform:scaleY(.25)}100%{transform:scaleY(1)}}

/* food court */
.stall{background:#FAF5E0;border-radius:1.6cqw 1.6cqw 0 0;overflow:hidden;box-shadow:inset 0 -1cqw 0 #D9D0AE}
.stall b{display:block;background:var(--sc);color:#fff;font:400 2.5cqw/1 var(--display);padding:1.3cqw 0 1.5cqw;text-align:center;white-space:nowrap}
.stall i{position:absolute;left:9%;right:9%;top:44%;bottom:14%;background:#152038;border-radius:1cqw}
.tbl.ftab{background:#FAF5E0;box-shadow:0 2.4cqw 0 #D9D0AE;border-radius:14%/26%}
.tray{background:#DF3B42;border-radius:1.6cqw;box-shadow:0 .6cqw 0 #B82C33}
.steam{background:#fff;border-radius:1cqw;opacity:0;animation:steam 2.2s ease-out infinite;z-index:4}
@keyframes steam{0%{opacity:0;transform:translateY(40%) scaleX(1)}30%{opacity:.85}100%{opacity:0;transform:translate(60%,-90%) scaleX(1.6)}}
.tissue{aspect-ratio:1.5;background:#fff;border-radius:14%;box-shadow:0 .7cqw 0 #D9D0AE;opacity:0;z-index:7}
.tissue b{position:absolute;inset:26% 0;background:#20ABB8}
.tissue.on{animation:tdrop 2.1s cubic-bezier(.3,1.4,.5,1)}
@keyframes tdrop{0%{opacity:1;transform:translateY(-420%) rotate(-30deg)}22%{opacity:1;transform:translateY(0) rotate(-8deg)}30%{transform:translateY(-36%) rotate(-10deg)}38%,88%{opacity:1;transform:translateY(0) rotate(-8deg)}100%{opacity:0;transform:translateY(0) rotate(-8deg)}}

/* library */
.shelf{background:#9A705C;border-radius:1.6cqw;display:grid;grid-template-rows:repeat(3,1fr);gap:1.2cqw;padding:1.2cqw}
.shelf i{border-radius:.6cqw;background:repeating-linear-gradient(90deg,#DF3B42 0 3%,#FAF5E0 3% 5.5%,#20ABB8 5.5% 9%,#152038 9% 11%,#F9D949 11% 14.5%,#25A24E 14.5% 17%,#B2ACD6 17% 20%)}
.shelf i:nth-child(2){background-position:6cqw 0}.shelf i:nth-child(3){background-position:13cqw 0}
.desk{background:#C09078;border-radius:3cqw;box-shadow:0 2.4cqw 0 #9A705C}
.zzz{font:700 5.4cqw/1 var(--hand);color:#fff;text-shadow:0 .5cqw 0 #152038,0 -.2cqw 0 #152038,.4cqw 0 0 #152038,-.4cqw 0 0 #152038;white-space:nowrap;animation:zzz 2.8s ease-out infinite;z-index:6}
@keyframes zzz{0%{opacity:0;transform:translate(-30%,90%) scale(.6)}25%{opacity:1}100%{opacity:0;transform:translate(30%,-90%) scale(1.15)}}
.snooze .hd{animation:snooze 2.8s ease-in-out infinite alternate}
@keyframes snooze{0%{transform:rotate(0)}100%{transform:rotate(7deg) translateY(4px)}}
.typing .arm-l{animation:tapw .18s ease-in-out infinite alternate}
.typing .arm-r{animation:tapw .18s ease-in-out -.09s infinite alternate}
.startle .pp .hd{animation:startle .3s ease-out 3}
@keyframes startle{0%{transform:translateY(0)}40%{transform:translateY(-9px) rotate(-3deg)}100%{transform:translateY(0)}}
.startle .zzz{visibility:hidden}

/* bar */
.bstage{background:repeating-linear-gradient(90deg,#C09078 0 9%,#A87A62 9% 10%);border-radius:2cqw 2cqw 0 0;box-shadow:inset 0 0 0 1cqw #7A4A2B}
.plat{background:#4A557C;border-radius:1cqw;box-shadow:0 1cqw 0 #2B3350}
.spot{aspect-ratio:1;border-radius:50%;filter:blur(2.6cqw);opacity:.75;animation:spot 1.3s ease-in-out infinite alternate;z-index:1}
@keyframes spot{0%{opacity:.25;transform:scale(.8)}100%{opacity:.85;transform:scale(1.15)}}
.neon{font:400 3.3cqw/1.05 var(--display);color:#fff;text-align:center;text-shadow:0 0 1cqw #E8558A,0 0 2.4cqw #E8558A;border:.5cqw solid #E8558A;border-radius:1.6cqw;padding:1.1cqw 0 1.4cqw;box-shadow:0 0 2cqw #E8558A,inset 0 0 1.4cqw #E8558A;animation:neon 3.4s infinite}
.neon.n2{text-shadow:0 0 1cqw #20ABB8,0 0 2.4cqw #20ABB8;border-color:#20ABB8;box-shadow:0 0 2cqw #20ABB8,inset 0 0 1.4cqw #20ABB8;animation-delay:-1.3s}
@keyframes neon{0%,43%,47%,100%{opacity:1}45%{opacity:.35}}
.gtr{transform-origin:24% 56%;animation:strum .2s ease-in-out infinite alternate;z-index:2}
@keyframes strum{0%{transform:rotate(-2deg)}100%{transform:rotate(3deg)}}

/* viking ship */
.vswing{transform-origin:50% 8.5%;animation:vswing 1.7s ease-in-out infinite alternate}
@keyframes vswing{0%{transform:rotate(-19deg)}100%{transform:rotate(19deg)}}
.wild .vswing{animation:vwild .95s ease-in-out infinite alternate}
@keyframes vwild{0%{transform:rotate(-40deg)}100%{transform:rotate(40deg)}}
.vbeam{background:#152038;border-radius:1cqw}
.vpivot{aspect-ratio:1;border-radius:50%;background:#F9D949;box-shadow:inset 0 0 0 1.3cqw #152038;z-index:7}

/* the boys */
.moon{aspect-ratio:1;border-radius:50%;background:#F9D949}
.wiggle{transform-origin:50% 20%;animation:wiggle .17s ease-in-out infinite alternate;animation-delay:var(--bd,0s)}
@keyframes wiggle{0%{transform:rotate(-3.6deg)}100%{transform:rotate(3.6deg)}}

/* karaoke */
.tv{background:linear-gradient(135deg,#20ABB8,#B2ACD6);border-radius:1.6cqw;box-shadow:0 0 0 1cqw #06080A,0 0 0 1.5cqw #4A557C;overflow:hidden}
.tv i{position:absolute;border-radius:99px}
.tv .l1{left:12%;right:12%;top:50%;height:10%;background:rgba(255,255,255,.9);overflow:hidden}
.tv .l1 b{position:absolute;inset:0;background:#DF3B42;transform-origin:0 50%;animation:lyric 3.2s linear infinite}
.tv .l2{left:22%;right:22%;top:70%;height:8%;background:rgba(255,255,255,.45)}
.tv .dot{left:12%;top:30%;width:6%;aspect-ratio:1;background:#F9D949;animation:kball 3.2s linear infinite}
@keyframes lyric{0%{transform:scaleX(0)}90%,100%{transform:scaleX(1)}}
@keyframes kball{0%{left:12%;top:30%}11%{top:12%}22%{top:30%}33%{top:12%}45%{top:30%}56%{top:12%}67%{top:30%}78%{top:12%}90%,100%{left:82%;top:30%}}
.tv em{position:absolute;inset:0;display:grid;place-items:center;font:400 11cqw/1 var(--display);font-style:normal;color:#F9D949;background:#DF3B42;opacity:0}
.tv.score em{animation:score 1.7s}
@keyframes score{0%{opacity:0;transform:scale(.3)}12%{opacity:1;transform:scale(1.15)}20%,85%{opacity:1;transform:scale(1)}100%{opacity:0}}
.disco{aspect-ratio:1;border-radius:50%;background:repeating-conic-gradient(#D6D7E2 0 15deg,#fff 15deg 30deg);box-shadow:inset -1.2cqw -1.2cqw 0 rgba(21,32,56,.25);animation:lspin 5s linear infinite}
@keyframes lspin{to{transform:rotate(360deg)}}
.glint{aspect-ratio:1;border-radius:50%;animation:spot 1.1s ease-in-out infinite alternate}
.sofa{background:#DF3B42;border-radius:5cqw 5cqw 2cqw 2cqw}
.sofa.seat{background:#C92F37;border-radius:2.4cqw;box-shadow:0 1.6cqw 0 #A3252C;z-index:2}

/* band sprints */
.track{background:#E0664F;border-radius:3cqw;overflow:hidden}
.track i{position:absolute;top:0;bottom:0;left:33.3%;width:.6cqw;background:rgba(255,255,255,.85)}
.track i+i{left:66.6%}
.track b{position:absolute;left:0;right:0;top:9%;height:.6cqw;background:rgba(255,255,255,.85)}
.band{transform-origin:50% 100%;animation:bstr 1.6s ease-in-out var(--ld,0s) infinite alternate}
.band svg{display:block;width:100%;height:100%}
@keyframes bstr{0%{transform:scaleY(1)}100%{transform:scaleY(1.126)}}
.runner{animation:jump .2s ease-in-out infinite alternate,strain 1.6s ease-in-out var(--ld,0s) infinite alternate}
@keyframes strain{0%{translate:0 0}100%{translate:0 -26%}}
.runner .arm-l{animation:pumpl .2s ease-in-out infinite alternate}
.runner .arm-r{animation:pumpl .2s ease-in-out -.2s infinite alternate}
@keyframes pumpl{0%{transform:rotate(calc(var(--rest) - 22deg))}100%{transform:rotate(calc(var(--rest) + 22deg))}}
.holder{animation:hold 1.6s ease-in-out var(--ld,0s) infinite alternate}
@keyframes hold{0%{transform:none}100%{transform:translateY(-2.5%) scaleY(.98)}}

/* ---------- every tap gets an answer ---------- */
.life .item{position:relative}
.say{position:absolute;z-index:12;pointer-events:none;width:max-content;max-width:min(78vw,330px);text-align:center;background:#fff;color:var(--ink);font-family:var(--hand);font-weight:700;font-size:clamp(1.3rem,5.2vw,1.75rem);line-height:1.02;padding:.3em .6em .42em;border-radius:1em;box-shadow:0 4px 0 rgba(0,0,0,.18);translate:-50% -125%;animation:sayup 1.25s cubic-bezier(.2,.9,.3,1) forwards!important;animation-play-state:running!important}
.say::after{content:"";position:absolute;left:50%;top:96%;border:8px solid transparent;border-top-color:#fff;transform:translateX(-50%)}
@keyframes sayup{0%{opacity:0;transform:scale(.4) rotate(var(--sr,0deg))}14%{opacity:1;transform:scale(1.14) rotate(var(--sr,0deg))}24%{transform:scale(1) rotate(var(--sr,0deg))}75%{opacity:1;transform:rotate(var(--sr,0deg))}100%{opacity:0;transform:translateY(-26px) rotate(var(--sr,0deg))}}
.hype .dance{animation-duration:.19s}
.hype .wave .arm-l,.hype .wave .arm-r{animation-duration:.16s}
.hype .heart,.hype .note{animation-duration:.8s}
.hype .cf{animation-duration:1s}
.hype .fw{animation-duration:.6s}
.hype .beam{animation-duration:.5s}
.hype .wiggle{animation-duration:.07s}
.hype .spot{animation-duration:.25s}
.hype .gtr{animation-duration:.08s}
.scene.boing{animation:boing .55s cubic-bezier(.3,1.6,.5,1)}
@media (prefers-reduced-motion:reduce){.fw{opacity:1;transform:none}.tissue.on{opacity:1}}

/* where a scene is, in words */
.where{margin-top:12px;text-align:center;font-family:var(--hand);font-weight:700;font-size:clamp(1.35rem,5vw,1.7rem);line-height:1;color:var(--ink);transform:rotate(-1.5deg)}

/* outside the shopping centre, late */
.mall{background:#4A557C;border-radius:2cqw 2cqw 0 0;overflow:hidden}
.mall b{display:block;margin:4% 9% 0;background:#06080A;color:#F9D949;font:400 4.2cqw/1 var(--display);text-align:center;padding:1.5cqw 0 1.9cqw;border-radius:1.2cqw;text-shadow:0 0 1.4cqw rgba(249,217,73,.8);white-space:nowrap;animation:neon 4.2s infinite}
.mall i{position:absolute;bottom:0;left:8%;width:22%;height:50%;background:linear-gradient(#FAF5E0,#F9D949);border-radius:1cqw 1cqw 0 0;box-shadow:inset 0 0 0 .7cqw #152038}
.mall i::after{content:"";position:absolute;left:calc(50% - .35cqw);top:0;bottom:0;width:.7cqw;background:#152038}
.mall i:nth-of-type(2){left:39%}.mall i:nth-of-type(3){left:70%}
.step{background:#D6D7E2;border-radius:.8cqw;box-shadow:0 1cqw 0 #ABABC0}
.pave{background:#8E8EA8 repeating-linear-gradient(90deg,transparent 0 19.6%,rgba(255,255,255,.22) 19.6% 20%);border-radius:0 0 4cqw 4cqw}
.offer .arm-l{animation:waver .5s ease-in-out infinite alternate}
.fanner .arm-r{animation:waver .2s ease-in-out infinite alternate}
.pace{animation:pace 2.6s ease-in-out infinite alternate}
@keyframes pace{0%{transform:translateX(-7%)}100%{transform:translateX(7%)}}
.fw.once{animation:fw .95s ease-out both}
.hype .fw.once{animation-duration:.95s}

/* the pub */
.pubroom{border-radius:4cqw;background:linear-gradient(#1F4F3F 0 30%,#7A4A2B 30% 32.5%,#5E3A22 32.5%)}
.counter{background:#C09078;border-radius:1cqw;box-shadow:0 1.4cqw 0 #7A4A2B;z-index:1}
.plamp{background:linear-gradient(90deg,transparent 46%,#C9CAD6 46% 54%,transparent 54%)}
.plamp::after{content:"";position:absolute;left:10%;right:10%;bottom:0;height:34%;background:#F9D949;border-radius:50% 50% 12% 12%/90% 90% 10% 10%}
.psign{transform-origin:50% 0;animation:psign 2.8s ease-in-out infinite alternate}
@keyframes psign{0%{transform:rotate(-4deg)}100%{transform:rotate(4deg)}}
.cheers .mug{animation:clink .45s cubic-bezier(.3,1.5,.5,1) var(--md,0s) 2}
@keyframes clink{0%,100%{transform:none}45%{transform:translateY(-130%) rotate(-12deg)}}

/* our money */
.cash{transform:rotate(var(--r,0deg));z-index:3}
/* Guinness foam: the head bubbles, and bubbles float off and pop */
.fbs{position:absolute;inset:0;animation:fbs 7s var(--cd,0s) infinite}
@keyframes fbs{0%,26%{opacity:1}33%,93%{opacity:0}100%{opacity:1}}
.fp,.fb{position:absolute;left:var(--x);top:var(--y);width:var(--w);aspect-ratio:1;border-radius:50%;background:#E8DFC5}
.fp{animation:fpop var(--d,.9s) ease-in-out var(--dl,0s) infinite alternate}
.fp:nth-child(even){background:#D8C09D}
@keyframes fpop{0%{transform:scale(.5)}100%{transform:scale(1.2)}}
.fb{opacity:0;animation:fbub var(--d,2.6s) ease-in var(--dl,0s) infinite}
.fb:nth-child(odd){background:#F4EBD3}
@keyframes fbub{0%{opacity:0;transform:translate(0,60%) scale(.3)}14%{opacity:1;transform:translate(0,0) scale(1)}72%{opacity:1;transform:translate(var(--sx,20%),-300%) scale(1.1)}86%{opacity:1;transform:translate(var(--sx,20%),-360%) scale(1.5)}100%{opacity:0;transform:translate(var(--sx,20%),-380%) scale(1.9)}}
.hype .fb{animation-duration:.8s}
.hype .fp{animation-duration:.18s}
@media (prefers-reduced-motion:reduce){.fb{display:none}}

/* the hawker centre */
.hroof svg,.hstall svg,.hfan svg,.mynah svg{display:block;width:100%;height:auto;overflow:visible}
.hroof{z-index:3}
.hbulb{animation:hkbulb 1.8s steps(1) infinite}
@keyframes hkbulb{0%,49%{opacity:1}50%,100%{opacity:.35}}
.hwire{background:#152038;z-index:2}
.htube{background:#FFFBE6;border-radius:99px;box-shadow:0 0 1.8cqw .5cqw rgba(255,244,180,.85);z-index:4}
.htube.fl{animation:hkflick 6s linear infinite}
@keyframes hkflick{0%,91%,94%,97%,100%{opacity:1}92.5%,95.5%{opacity:.35}}
.hfan{aspect-ratio:1;transform:scaleY(.24);z-index:4}
.hfan svg{animation:hkspin .9s linear infinite}
@keyframes hkspin{to{transform:rotate(360deg)}}
.hstall{border-radius:1.2cqw 1.2cqw 0 0;overflow:hidden;background:#243352;box-shadow:inset 0 0 0 .5cqw #FAF5E0}
.hsign{position:relative;display:block;margin:.5cqw .5cqw 0;background:var(--sb);color:var(--st);font:400 2.35cqw/1 var(--display);padding:1.15cqw 0 1.3cqw 3.6cqw;text-align:center;white-space:nowrap;border-radius:.7cqw .7cqw 0 0;box-shadow:inset 0 -.5cqw 0 rgba(0,0,0,.12)}
.hsign em{position:absolute;left:.7cqw;top:50%;transform:translateY(-50%);font:600 1.5cqw/1 var(--ui);font-style:normal;background:#1F4FA8;color:#fff;padding:.45cqw .55cqw;border-radius:.5cqw}
.hstall svg{margin-top:.2cqw}
.hember{animation:hkember .5s ease-in-out infinite alternate}
@keyframes hkember{from{opacity:.55}to{opacity:1}}
.hsmoke circle{opacity:0;animation:hksmoke 2.6s ease-out infinite;transform-box:fill-box;transform-origin:50% 50%}
.hsmoke circle:nth-child(2){animation-delay:-.9s}.hsmoke circle:nth-child(3){animation-delay:-1.7s}
@keyframes hksmoke{0%{opacity:0;transform:translateY(4px) scale(.5)}25%{opacity:.5}100%{opacity:0;transform:translateY(-9px) scale(1.5)}}
.hpalm{transform-box:fill-box;transform-origin:50% 100%;animation:hkfan .5s ease-in-out infinite alternate}
@keyframes hkfan{from{transform:rotate(-16deg)}to{transform:rotate(12deg)}}
.hfire{transform-box:fill-box;transform-origin:50% 100%;animation:hkfire 2.8s ease-in-out infinite}
@keyframes hkfire{0%,62%,100%{transform:scale(1,.5)}70%{transform:scale(1.15,1.5)}78%{transform:scale(.95,.8)}86%{transform:scale(1.1,1.3)}}
.hroll{transform-box:fill-box;transform-origin:50% 50%;animation:hkspin 1.6s linear infinite}
.tbl.htab{border-radius:50%;background:radial-gradient(circle at 22% 30%,#E6DCC0 0 1.1cqw,transparent 1.2cqw),radial-gradient(circle at 70% 22%,#E6DCC0 0 .8cqw,transparent .9cqw),radial-gradient(circle at 84% 62%,#E6DCC0 0 1.2cqw,transparent 1.3cqw),radial-gradient(circle at 36% 78%,#E6DCC0 0 .9cqw,transparent 1cqw),radial-gradient(circle at 56% 50%,#E6DCC0 0 .7cqw,transparent .8cqw),#FBF6E6;box-shadow:0 2.6cqw 0 #CFC5A6,0 3.4cqw 0 rgba(0,0,0,.12)}
.hnum{aspect-ratio:1.9;display:grid;place-items:center;background:#DF3B42;color:#fff;font:600 2.3cqw/1 var(--ui);border-radius:.7cqw;z-index:6;box-shadow:0 .4cqw 0 #A82A30}
.mynah{z-index:8;animation:hkhop 7s linear infinite}
@keyframes hkhop{0%{transform:translate(0,0)}4%{transform:translate(2cqw,-1.6cqw)}8%{transform:translate(4cqw,0)}12%{transform:translate(6cqw,-1.6cqw)}16%{transform:translate(8cqw,0)}20%{transform:translate(10cqw,-1.6cqw)}24%,46%{transform:translate(12cqw,0)}50%{transform:translate(12cqw,0) scaleX(-1)}54%{transform:translate(10cqw,-1.6cqw) scaleX(-1)}58%{transform:translate(8cqw,0) scaleX(-1)}62%{transform:translate(6cqw,-1.6cqw) scaleX(-1)}66%{transform:translate(4cqw,0) scaleX(-1)}70%{transform:translate(2cqw,-1.6cqw) scaleX(-1)}74%,96%{transform:translate(0,0) scaleX(-1)}100%{transform:translate(0,0)}}
.mhead{transform-box:fill-box;transform-origin:20% 90%;animation:hkpeck 7s linear infinite}
@keyframes hkpeck{0%,26%,46%,76%,96%,100%{transform:rotate(0)}29%,35%,41%,79%,85%,91%{transform:rotate(38deg)}32%,38%,82%,88%{transform:rotate(0)}}
.hype .hfan svg{animation-duration:.22s}
.hype .hfire{animation-duration:.5s}
.hype .hbulb{animation-duration:.3s}
.hype .hember,.hype .hpalm{animation-duration:.14s}
.hype .mynah{animation-duration:1.6s}
