:root{--ink:#0a1214;--coal:#0f1a1d;--coal-2:#18282c;--red:#b81d12;--red-deep:#7d0f0a;--red-hot:#e8341f;--ember:#ff6a1a;--flame:#f2a41f;--yellow:#f2b632;--gold-pale:#ffe08a;--gold-dark:#8a5a12;--jade:#2e8b6f;--jade-deep:#14574a;--paper-yellow:#f1d06a;--text:#fff1d6;--dim:#cdb89a;--line:#3b5750;--gold-line:#8a6a2a;--danger:#ff8a73;--panel-a:#3a0f0c;--panel-b:#1a0807;--panel2-a:#4a120d;--panel2-b:#260908;--track:#2a1a16;--jade-rgb:46 139 111;--red-rgb:232 52 31;--lacquer-rgb:184 29 18;--lacquer-deep-rgb:125 15 10;--ember-rgb:255 106 26;--gold-rgb:242 182 50;--font-display:"Noto Serif Thai", "Noto Serif TC", "Iowan Old Style", Georgia, serif;--font-ui:"Noto Sans Thai", system-ui, -apple-system, "Segoe UI", sans-serif;--font-paper:"Noto Serif Thai", "Iowan Old Style", Georgia, serif;--font-han:"Noto Serif TC", "Noto Serif Thai", serif;--text-title:clamp(3.2rem, 15vw, 7.5rem);--space-gutter:clamp(1rem, 5vw, 3rem);--space-section:clamp(1.5rem, 1rem + 3vw, 3.5rem);--duration-fast:.15s;--duration-normal:.3s;--ease-out-expo:cubic-bezier(.16, 1, .3, 1);--p:0;--sh:0;--fire:0;--dock:1}*,:before,:after{box-sizing:border-box}html{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;scroll-behavior:smooth;-webkit-text-size-adjust:100%;touch-action:manipulation;overscroll-behavior:none}body{min-height:100dvh;font-family:var(--font-ui);color:var(--text);background:var(--ink);-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;margin:0;font-size:1rem;line-height:1.65;overflow-x:hidden}textarea,input{-webkit-user-select:text;user-select:text;-webkit-touch-callout:default}img,canvas,svg{-webkit-user-drag:none;user-drag:none}body:after{content:"";z-index:-1;pointer-events:none;background:radial-gradient(100% 45% at 50% -8%, rgb(var(--jade-rgb) / .28), transparent 70%), radial-gradient(130% 70% at 50% 112%, rgb(var(--red-rgb) / .5), rgb(var(--lacquer-rgb) / .22) 45%, transparent 72%);opacity:calc(.4 + var(--sh) * .6);position:fixed;inset:0}body:before{content:"";pointer-events:none;z-index:9;opacity:.06;mix-blend-mode:overlay;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");position:fixed;inset:0}.visually-hidden{clip:rect(0 0 0 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;position:absolute;overflow:hidden}[hidden]{display:none!important}:focus-visible{outline:3px solid var(--yellow);outline-offset:3px}.disp{font-family:var(--font-display);font-synthesis:none;letter-spacing:.01em;text-transform:uppercase;font-weight:800;line-height:1.2}.han{font-family:var(--font-han);color:var(--yellow);font-weight:700}.fuse{z-index:50;background:#ffffff0f;height:4px;position:fixed;inset:0 0 auto}.fuse i{transform-origin:0;height:100%;transform:scaleX(var(--p));background:linear-gradient(90deg, var(--red), var(--ember), var(--yellow));display:block}.fuse i:after{content:"";top:50%;left:calc(var(--p) * 100%);width:14px;height:14px;box-shadow:0 0 12px 6px var(--yellow), 0 0 28px 12px var(--red-hot);background:#fff6c8;border-radius:50%;margin:-7px 0 0 -7px;position:absolute}.ash{pointer-events:none;z-index:3;width:100%;height:100%;position:fixed;inset:0}.dock{z-index:0;pointer-events:none;opacity:calc(var(--dock) * (.38 + var(--fire) * .62));transform:translateY(calc((1 - var(--fire)) * 34%));transition:opacity var(--duration-normal) ease, transform .6s var(--ease-out-expo);position:fixed;inset:auto 0 0}.flames{justify-content:center;align-items:flex-end;margin:0 -6vw;display:flex}.fl{width:calc(var(--s) * min(1vw, .42svh));min-width:calc(var(--s) * 1px * 2.2);transform-origin:50% 100%;animation:flick var(--t,1.3s) ease-in-out var(--d,0s) infinite;margin:0 -2.2vw}.steam{height:14rem;position:absolute;inset:auto 0 6rem}.steam i{filter:blur(10px);opacity:0;width:4.5rem;height:4.5rem;animation:steam var(--t,6s) ease-out var(--d,0s) infinite;background:radial-gradient(circle,#fff4e04d,#0000 68%);border-radius:50%;position:absolute;bottom:0}.steam i:first-child{left:12%}.steam i:nth-child(2){--d:1.6s;--t:7s;left:34%}.steam i:nth-child(3){--d:.8s;--t:5.5s;left:56%}.steam i:nth-child(4){--d:2.4s;--t:6.5s;left:78%}.eave{background:radial-gradient(circle at 50% 100%, var(--gold-pale) 0 3px, var(--yellow) 4px 5px, var(--jade-deep) 6px 9px, var(--jade) 10px 14px, transparent 15px) 0 0 / 28px 26px repeat-x, linear-gradient(var(--red-deep), var(--red-deep)) 0 0 / 100% 7px no-repeat, linear-gradient(var(--yellow), var(--yellow)) 0 7px / 100% 2px no-repeat;height:26px}.top-eave{z-index:4;position:absolute;inset:0 0 auto}.foot-eave{z-index:2;position:relative;transform:scaleY(-1)}.lanterns{z-index:4;pointer-events:none;height:0;position:absolute;inset:22px 0 auto}.lantern{width:calc(var(--s) * min(1.15vw, .46rem));transform-origin:50% 0;animation:sway 3.8s ease-in-out var(--d,0s) infinite alternate;position:absolute;top:0;transform:translate(-50%)rotate(-2.5deg)}.lantern .cord{width:2px;height:calc(.4rem + var(--drop) * .7rem);background:linear-gradient(var(--gold-dark), var(--yellow));margin:0 auto;display:block}.lantern svg{width:100%;height:auto;filter:drop-shadow(0 0 calc(5px + var(--fire) * 16px) rgb(var(--ember-rgb) / .7));transition:filter .4s}.stage{z-index:1;align-content:start;gap:var(--space-section);max-width:64rem;min-height:100svh;padding:clamp(10.5rem, 30vw, 12.5rem) var(--space-gutter) clamp(6rem, 22svh, 12rem);justify-items:center;margin:0 auto;display:grid;position:relative}.intro{text-align:center}.intro h1{font-size:var(--text-title);background:linear-gradient(180deg, #fff6c9 0%, var(--gold-pale) 25%, var(--yellow) 58%, #b87414 100%);color:#0000;animation:rise 1.1s var(--ease-out-expo) both;-webkit-background-clip:text;background-clip:text;margin:0;line-height:1.1;position:relative}.intro h1:before{content:attr(data-text);z-index:-1;-webkit-text-fill-color:var(--red-hot);filter:blur(22px);opacity:.7;animation:1.6s ease-in-out infinite alternate glow;position:absolute;inset:0}.intro .han{letter-spacing:.7em;color:var(--gold-pale);text-shadow:0 0 14px rgb(var(--red-rgb) / .8);margin:0 auto .4rem;padding-left:.7em;font-size:1.15rem}.festival-banner{text-wrap:balance;max-width:38ch;color:var(--gold-pale);background:rgb(var(--red-rgb) / .16);border:1px solid var(--gold-line);border-radius:999px;margin:.9rem auto 0;padding:.55rem 1rem;font-size:.92rem;font-weight:600;line-height:1.5}.festival-banner b{color:var(--yellow)}:root[data-festival=jay] #gLantern stop:first-child{stop-color:#fff3a6}:root[data-festival=jay] #gLantern stop:nth-child(2){stop-color:#f7cf2f}:root[data-festival=jay] #gLantern stop:nth-child(3){stop-color:#c8920f}:root[data-festival=jay] .lantern text{fill:#b81d12}:root[data-festival=moon] #gLantern stop:nth-child(2){stop-color:#f08a2a}:root[data-festival=qingming] .lantern svg,:root[data-festival=ghost] .lantern svg{filter:saturate(.75)brightness(.92)}:root[data-festival=jay] body:after{background:radial-gradient(100% 45% at 50% -8%, #f7cf2f4d, transparent 70%), radial-gradient(130% 70% at 50% 112%, #f7cf2f57, rgb(var(--lacquer-rgb) / .2) 45%, transparent 72%)}:root[data-festival=halloween] body:after{background:radial-gradient(100% 45% at 50% -8%,#7c3abe66,#0000 70%),radial-gradient(130% 70% at 50% 112%,#ff7a1875,#6e28a038 45%,#0000 72%)}:root[data-festival=halloween] .lantern svg{filter:drop-shadow(0 0 calc(6px + var(--fire) * 16px) #ff8214bf)}.lantern .face{animation:candle 2.2s ease-in-out var(--d,0s) infinite alternate}@keyframes candle{0%{opacity:.8}to{opacity:1}}:root[data-festival=jay] .festival-banner{background:#f7cf2f24;border-color:#d9b13a}:root[data-festival=halloween] .festival-banner{background:#7c3abe38;border-color:#a566e0}:root[data-festival=jay] .festival-banner:before,:root[data-festival=halloween] .festival-banner:before{content:"齋";vertical-align:-.35rem;width:1.15rem;height:1.55rem;font-family:var(--font-han);color:#c2160d;clip-path:polygon(0 0,100% 0,100% 100%,50% 82%,0 100%);background:#f7cf2f;place-items:center;margin-right:.5rem;font-size:.85rem;line-height:1;display:inline-grid}:root[data-festival=halloween] .festival-banner:before{content:"鬼";color:#ffb347;clip-path:polygon(0 0,100% 0,50% 100%);background:#5b2a86;padding-bottom:.35rem}:root[data-festival=jay] .intro h1:before{-webkit-text-fill-color:#f7cf2f}:root[data-festival=halloween] .intro h1:before{-webkit-text-fill-color:#8a3fd0}:root[data-festival=halloween] .festival-banner b{color:#ffa24a}:root[data-festival=halloween]{--ink:#0b0814;--coal:#120d1f;--coal-2:#1d1530;--red:#6a2db8;--red-deep:#3a1672;--red-hot:#8b52e6;--ember:#52e8b4;--flame:#8ff5cc;--yellow:#ff9a3c;--gold-pale:#ffc98a;--gold-dark:#8a4a14;--jade:#3a2a70;--jade-deep:#241848;--jade-rgb:100 66 200;--panel-a:#2c1656;--panel-b:#150a2c;--panel2-a:#36196a;--panel2-b:#1a0c36;--track:#241a3c;--red-rgb:139 82 230;--lacquer-rgb:106 45 184;--lacquer-deep-rgb:58 22 114;--ember-rgb:82 232 180;--gold-rgb:255 154 60;--line:#3d3466;--gold-line:#8a5a2a;--dim:#cfc3e6}:root[data-festival=halloween] #gOut stop:first-child{stop-color:#3b1a8a}:root[data-festival=halloween] #gOut stop:nth-child(2){stop-color:#7a4fe0}:root[data-festival=halloween] #gOut stop:nth-child(3){stop-color:#3fd3a0}:root[data-festival=halloween] #gMid stop:first-child{stop-color:#4fe0b0}:root[data-festival=halloween] #gMid stop:nth-child(2){stop-color:#a6ffd0}:root[data-festival=halloween] #gIn stop:first-child{stop-color:#d6ffe9}:root[data-festival=halloween] #gIn stop:nth-child(2){stop-color:#fff}.wisp-face{display:none}:root[data-festival=halloween] .wisp-face{display:var(--wisp-display,inline)}.lamp{--wisp-display:none}.theme-fx{display:none}:root[data-festival=halloween] .theme-fx{z-index:0;pointer-events:none;display:block;position:fixed;inset:0;overflow:hidden}.theme-fx .moon,.theme-fx .web{display:none}:root[data-festival=halloween] .theme-fx .moon,:root[data-festival=halloween] .theme-fx .web{display:block}.theme-fx .moon{aspect-ratio:1;opacity:.38;background:radial-gradient(circle at 36% 34%,#fff7e0 0 38%,#ead9a8 70%,#c9b27a);border-radius:50%;width:clamp(4rem,12vw,6.5rem);position:absolute;top:7.5rem;left:9%;box-shadow:0 0 2.2rem .6rem #ffecb447,0 0 7rem 2.4rem #966eff38}.theme-fx .mist{filter:blur(8px);background:radial-gradient(at 50% 100%,#a08ceb4d,#0000 62%);width:150%;height:34vh;animation:26s ease-in-out infinite alternate mistDrift;position:absolute;bottom:-6vh;left:-25%}.theme-fx .mist.m2{opacity:.55;background:radial-gradient(at 50% 100%,#6ee6be38,#0000 64%);height:22vh;animation-duration:34s;animation-direction:alternate-reverse;bottom:14vh}.theme-fx .web{fill:none;stroke:#e9dcff;stroke-width:.9px;opacity:.3;width:clamp(5rem,18vw,9rem);position:absolute;top:26px}.theme-fx .web-l{left:0}.theme-fx .web-r{right:0;transform:scaleX(-1)}@keyframes mistDrift{0%{transform:translate(-6%)}to{transform:translate(6%)}}.censer .skull,:root[data-festival=halloween] .censer b{display:none}:root[data-festival=halloween] .censer .skull{filter:drop-shadow(0 1rem 1.2rem #0009);width:76%;height:auto;display:block;position:absolute;bottom:0;left:12%;right:12%;overflow:visible}:root[data-festival=halloween] .censer i{height:8rem;bottom:7.3rem}.censer .skull .eye{fill:#12061e;transition:fill .5s}:root[data-festival=halloween] .stage.incense-lit .censer .skull .eye{fill:#7dffb6;filter:drop-shadow(0 0 5px #52e8b4);animation:2s ease-in-out infinite alternate candle}.cylinder svg.cookie,:root[data-festival=halloween] .cylinder svg.bamboo{display:none}:root[data-festival=halloween] .cylinder svg.cookie{display:block}:root[data-festival=halloween] .cylinder-wrap{padding-top:5.5rem}:root[data-festival=halloween] .cylinder .stick{border-color:var(--yellow);background:linear-gradient(90deg,#fff4dc,#e9d7b0);border-radius:.2rem;width:3rem;height:8rem;top:4%;left:46%}:root[data-festival=halloween] .stick-num{color:#6a2db8}:root[data-festival=jay]{--ink:#110e06;--coal:#1a1608;--coal-2:#2a230d;--yellow:#f7cf2f;--gold-pale:#fff0a0;--gold-dark:#8a6a10;--jade:#a87d10;--jade-deep:#6b5008;--line:#5c4c1a;--gold-line:#b8921f;--dim:#e0d3a8;--jade-rgb:190 140 20;--panel-a:#3d2f08;--panel-b:#1c1404;--panel2-a:#4a3a0c;--panel2-b:#241a05;--track:#2e2408;--red-rgb:247 207 47;--lacquer-rgb:194 22 13;--lacquer-deep-rgb:120 12 8;--ember-rgb:255 214 80;--gold-rgb:247 207 47}:root[data-festival=jay] #gOut stop:first-child{stop-color:#d9961a}:root[data-festival=jay] #gOut stop:nth-child(2){stop-color:#f2bf2a}:root[data-festival=jay] #gOut stop:nth-child(3){stop-color:#ffe27a}:root[data-festival=jay] #gMid stop:first-child{stop-color:#ffd84a}:root[data-festival=jay] #gMid stop:nth-child(2){stop-color:#fff3b8}:root[data-festival=jay] #gIn stop:first-child{stop-color:#fffbe8}:root[data-festival=jay] #gIn stop:nth-child(2){stop-color:#fff}.lotus{display:none}:root[data-festival=jay] .lotus{display:inline}:root[data-festival=jay] .flame-body{display:none}:root[data-festival=jay] #gBamboo stop:first-child{stop-color:#2a5e26}:root[data-festival=jay] #gBamboo stop:nth-child(2){stop-color:#8fd16a}:root[data-festival=jay] #gBamboo stop:nth-child(3){stop-color:#4f9c3a}:root[data-festival=jay] #gBamboo stop:nth-child(4){stop-color:#1c431a}.jay-flag{display:none}:root[data-festival=jay] .jay-flag{display:inline}.censer .bowl,:root[data-festival=jay] .censer b{display:none}:root[data-festival=jay] .censer .bowl{filter:drop-shadow(0 1rem 1.4rem #0000008c);width:88%;height:auto;display:block;position:absolute;bottom:0;left:6%;right:6%;overflow:visible}:root[data-festival=jay] .censer i{height:8.4rem;bottom:6.2rem}.theme-fx .petal{display:none}:root[data-festival=jay] .theme-fx{z-index:0;pointer-events:none;display:block;position:fixed;inset:0;overflow:hidden}:root[data-festival=jay] .theme-fx .mist{background:radial-gradient(at 50% 100%,#ffd65042,#0000 62%)}:root[data-festival=jay] .theme-fx .mist.m2{background:radial-gradient(at 50% 100%,#fff4c82e,#0000 64%)}:root[data-festival=jay] .theme-fx .petal{top:-2rem;left:var(--x);width:var(--s);height:calc(var(--s) * 1.5);opacity:.7;animation:petalFall var(--t) linear var(--d) infinite;background:linear-gradient(160deg,#fff4f6,#f4a6bc);border-radius:80% 0;display:block;position:absolute}@keyframes petalFall{0%{transform:translate(0)rotate(0)}50%{transform:translate(2.5rem,55vh)rotate(160deg)}to{transform:translate(-1rem,112vh)rotate(320deg)}}@media (prefers-reduced-motion:reduce){.theme-fx .petal{display:none!important}}.furnace-cauldron,.furnace-pot,.lp-lotus,.lp-pumpkin,.ding-art-bone,.ding-art-lotus,:root[data-festival=halloween] .furnace-classic,:root[data-festival=jay] .furnace-classic{display:none}:root[data-festival=halloween] .furnace-cauldron,:root[data-festival=jay] .furnace-pot{display:inline}:root[data-festival=halloween] .lp-body{display:none}:root[data-festival=halloween] .lp-pumpkin,:root[data-festival=jay] .lp-lotus{display:inline}:root[data-festival=halloween] .ding-art-classic,:root[data-festival=jay] .ding-art-classic{display:none}:root[data-festival=halloween] .ding-art-bone,:root[data-festival=jay] .ding-art-lotus{display:inline}:root[data-festival=halloween] .furnace .mouth-rim{stroke:#a566e0}:root[data-festival=halloween] #gMouth stop:first-child{stop-color:#d6ffe9}:root[data-festival=halloween] #gMouth stop:nth-child(2){stop-color:#46d6a0}:root[data-festival=halloween] #gMouth stop:nth-child(3){stop-color:#3b1a8a}:root[data-festival=halloween] .furnace-smoke i{background:radial-gradient(circle,#beffdc8c,#0000 68%)}.furnace-cauldron .bubbles circle{transform-box:fill-box;transform-origin:50% 100%;animation:2.4s ease-in-out infinite alternate bubble}.furnace-cauldron .bubbles circle:nth-child(2){animation-delay:-.8s}.furnace-cauldron .bubbles circle:nth-child(3){animation-delay:-1.5s}@keyframes bubble{0%{opacity:.5;transform:translateY(0)scale(.8)}to{opacity:1;transform:translateY(-4px)scale(1.15)}}:root[data-festival=jay] .furnace .mouth-rim{stroke:#f7cf2f}:root[data-festival=jay] #gMouth stop:first-child{stop-color:#fffbe8}:root[data-festival=jay] #gMouth stop:nth-child(2){stop-color:#f7cf2f}:root[data-festival=jay] #gMouth stop:nth-child(3){stop-color:#a8460c}:root[data-festival=jay] .furnace-smoke i{background:radial-gradient(circle,#ffffff9e,#0000 68%)}:root[data-festival=halloween] #gHalo stop:first-child{stop-color:#7dffb6}:root[data-festival=halloween] #gHalo stop:nth-child(2){stop-color:#6a2db8}:root[data-festival=halloween] #gOil stop:first-child{stop-color:#c8ffe0}:root[data-festival=halloween] #gOil stop:nth-child(2){stop-color:#1f9a5a}:root[data-festival=halloween] .lp-ped,:root[data-festival=halloween] .lp-foot{fill:#2a1a40}:root[data-festival=halloween] .lp-rim{fill:#7a3a0a}:root[data-festival=halloween] .lp-ring{stroke:#ffb35a}:root[data-festival=halloween] .lp-face{animation:2s ease-in-out infinite alternate candle}.ember-spirit,.ember-bud,:root[data-festival=halloween] .ember-classic,:root[data-festival=jay] .ember-classic{display:none}:root[data-festival=halloween] .ember-spirit,:root[data-festival=jay] .ember-bud{display:inline}:root[data-festival=halloween] .ember-spirit{filter:drop-shadow(0 0 4px #52e8b4)}:root[data-festival=halloween] .lamp .ember-asleep path:not(.ember-spirit){stroke:#12061e}:root[data-festival=halloween] .lamp .stream{background:linear-gradient(#c8ffe0,#1f9a5a)}:root[data-festival=halloween] .lamp .bottle-body{fill:#1c1030;stroke:#a566e0}:root[data-festival=jay] #gHalo stop:first-child{stop-color:#fff0a0}:root[data-festival=jay] #gHalo stop:nth-child(2){stop-color:#f7cf2f}:root[data-festival=jay] #gOil stop:first-child{stop-color:#fff6c0}:root[data-festival=jay] #gOil stop:nth-child(2){stop-color:#e8b01a}:root[data-festival=jay] .lp-ped,:root[data-festival=jay] .lp-foot{fill:#b8861a}:root[data-festival=jay] .lamp .stream{background:linear-gradient(#fff6c0,#e8b01a)}:root[data-festival=jay] .lamp .bottle-body{fill:#2a2208;stroke:#f7cf2f}.incense-art[data-lit=true]{--eye:#52e8b4}:root[data-festival=halloween] #gJade stop:first-child{stop-color:#2a2418}:root[data-festival=halloween] #gJade stop:nth-child(2){stop-color:#bfb28e}:root[data-festival=halloween] #gJade stop:nth-child(3){stop-color:#f4ecd8}:root[data-festival=halloween] #gJade stop:nth-child(4){stop-color:#c9bc98}:root[data-festival=halloween] #gJade stop:nth-child(5){stop-color:#221d12}:root[data-festival=halloween] #gJadeDeep stop:first-child,:root[data-festival=halloween] #gJadeDeep stop:nth-child(3){stop-color:#15111f}:root[data-festival=halloween] #gJadeDeep stop:nth-child(2){stop-color:#4a3f66}:root[data-festival=halloween] .ding-rim{fill:#241338}:root[data-festival=halloween] .ding-rim-line,:root[data-festival=halloween] ellipse.ding-rim{stroke:#a566e0}:root[data-festival=halloween] #gDingAura stop:first-child{stop-color:#8a5fe6}:root[data-festival=jay] #gJade stop:first-child{stop-color:#6e4a0a}:root[data-festival=jay] #gJade stop:nth-child(2){stop-color:#d9a21a}:root[data-festival=jay] #gJade stop:nth-child(3){stop-color:#fff0a0}:root[data-festival=jay] #gJade stop:nth-child(4){stop-color:#e8b630}:root[data-festival=jay] #gJade stop:nth-child(5){stop-color:#5c3f08}:root[data-festival=jay] #gJadeDeep stop:first-child,:root[data-festival=jay] #gJadeDeep stop:nth-child(3){stop-color:#4a3206}:root[data-festival=jay] #gJadeDeep stop:nth-child(2){stop-color:#b8861a}:root[data-festival=jay] .ding-rim{fill:#5c1208}:root[data-festival=jay] .ding-rim-line,:root[data-festival=jay] ellipse.ding-rim{stroke:#ffe27a}:root[data-festival=jay] #gDingAura stop:first-child{stop-color:#ffe27a}:root[data-festival=jay] .lanterns,:root[data-festival=halloween] .lanterns{top:5.4rem}:root[data-festival=jay] .stage,:root[data-festival=halloween] .stage{padding-top:calc(clamp(10.5rem,30vw,12.5rem) + 3.4rem)}.bunting{z-index:5;pointer-events:none;height:0;position:absolute;inset:30px 0 auto}@media (width<=520px){.bunting{--span:.88}}.bunting-string{fill:none;width:100%;height:16px;stroke:var(--gold-dark);stroke-width:1.5px;position:absolute;top:0;left:0;overflow:visible}.flag{transform-origin:50% 0;width:clamp(1.7rem,4.4vw,2.3rem);height:clamp(2.5rem,6.4vw,3.4rem);animation:flutter 2.4s ease-in-out var(--d,0s) infinite alternate;filter:drop-shadow(0 3px 4px #00000080);place-items:center;display:grid;position:absolute;transform:translate(-50%)}.bunting[data-festival=jay] .flag{color:#c2160d;clip-path:polygon(0 0,100% 0,100% 100%,50% 82%,0 100%);background:#f7cf2f;box-shadow:inset 0 0 0 2px #d41e12}.bunting[data-festival=jay] .flag b{margin-top:-.35rem;font-size:clamp(1.05rem,2.9vw,1.45rem);font-weight:800;line-height:1}.flag-han b{font-family:var(--font-han)}.flag-thai b{font-family:var(--font-display)}.bunting[data-festival=halloween] .flag{clip-path:polygon(0 0,100% 0,50% 100%);padding-bottom:.9rem}.bunting[data-festival=halloween] .flag-jack{background:#f08a2a}.bunting[data-festival=halloween] .flag-han{color:#ffb347;background:#5b2a86}.bunting[data-festival=halloween] .flag b{font-size:clamp(.95rem,2.6vw,1.3rem);line-height:1}.flag svg{fill:#2a0b3d;width:62%;height:auto}.bat{top:calc(1.6rem + var(--i) * 2.4rem);fill:#150820;filter:drop-shadow(0 0 5px #a05aff8c);width:2.1rem;animation:batFly calc(15s + var(--i) * 5s) linear calc(var(--i) * -6s) infinite;position:absolute;left:0}.bat path{transform-origin:50% 40%;transform-box:fill-box;animation:.32s ease-in-out infinite alternate batFlap}@keyframes flutter{0%{transform:translate(-50%)rotate(-5deg)skew(2deg)}to{transform:translate(-50%)rotate(5deg)skew(-2deg)}}@keyframes batFly{0%{transform:translate(-4rem)}30%{transform:translate(32vw,1.4rem)}60%{transform:translate(64vw,-.5rem)}to{transform:translate(calc(100vw + 4rem),.9rem)}}@keyframes batFlap{0%{transform:scaleY(1)}to{transform:scaleY(.5)}}@media (prefers-reduced-motion:reduce){.bat{display:none}}.today-line{color:var(--gold-pale);border:1px solid var(--gold-line);background:#0a121499;border-radius:999px;align-items:center;gap:.5rem;margin:.9rem auto 0;padding:.35rem .9rem;font-size:.88rem;font-weight:600;display:inline-flex}.today-line:before{content:"";background:var(--ember);width:.5rem;height:.5rem;box-shadow:0 0 8px var(--ember);border-radius:50%;flex:none;animation:1.8s ease-in-out infinite emberPulse}@keyframes emberPulse{50%{opacity:.45}}.intro .tagline{letter-spacing:.03em;text-wrap:balance;max-width:34ch;color:var(--gold-pale);text-shadow:0 0 14px rgb(var(--red-rgb) / .6);margin:.5rem auto 0;font-size:.95rem;font-weight:600}.intro p{max-width:36ch;color:var(--dim);margin:1rem auto 0}.btn{min-height:3rem;font:inherit;color:var(--text);background:var(--coal-2);border:2px solid var(--line);cursor:pointer;touch-action:manipulation;-webkit-user-select:none;user-select:none;transition:transform var(--duration-fast) var(--ease-out-expo), border-color var(--duration-fast) ease, box-shadow var(--duration-normal) ease, background var(--duration-fast) ease;border-radius:.4rem;padding:.6rem 1.4rem;font-weight:600}.btn:hover:not(:disabled){border-color:var(--yellow)}.btn:active:not(:disabled),.btn[data-holding=true]{transform:scale(.96)}.btn:disabled{opacity:.4;cursor:not-allowed}.btn[aria-pressed=true]{border-color:var(--ember);color:var(--yellow)}.btn-primary{color:var(--gold-pale);background:linear-gradient(180deg, var(--red-hot), var(--red) 55%, var(--red-deep));border-color:var(--yellow);font-weight:800;box-shadow:inset 0 1px #ffffff40}.btn-primary:hover:not(:disabled){box-shadow:inset 0 1px 0 #ffffff40, 0 0 28px 4px rgb(var(--gold-rgb) / .55)}.btn-primary[data-holding=true]{background:linear-gradient(180deg, #ff7a1a, var(--red-hot));box-shadow:0 0 36px 8px rgb(var(--ember-rgb) / .75)}.btn-quiet{color:var(--dim);background:0 0}.picker{justify-items:center;gap:1rem;width:min(100%,30rem);display:grid}.drop{text-align:center;cursor:pointer;border:2px solid var(--gold-line);outline:1px solid rgb(var(--gold-rgb) / .35);outline-offset:5px;background:linear-gradient(160deg, var(--panel2-a), var(--panel2-b));width:100%;box-shadow:inset 0 0 40px rgb(var(--red-rgb) / .22);transition:border-color var(--duration-normal) var(--ease-out-expo), transform var(--duration-normal) var(--ease-out-expo), box-shadow var(--duration-normal) ease;border-radius:.25rem 1.5rem;place-items:center;gap:.35rem;padding:clamp(2rem,6vw,3.5rem) 1.5rem;display:grid}.drop:hover,.drop[data-dragging=true]{border-color:var(--yellow);box-shadow:inset 0 0 40px #f2a41f4d, 0 0 36px -6px var(--red-hot);transform:translateY(-3px)}.picker:focus-within .drop{outline:3px solid var(--yellow);outline-offset:5px}.drop-title{color:var(--gold-pale);font-size:clamp(1.4rem,6vw,1.9rem)}.done-note{text-align:center;max-width:36ch;color:var(--gold-pale);background:rgb(var(--red-rgb) / .14);border-left:4px solid var(--yellow);margin:0 auto 1rem;padding:.7rem 1rem}.done-note a{color:var(--yellow)}.drop-hint{color:var(--dim);font-size:.9rem}.writer{justify-items:center;gap:.9rem;width:min(100%,32rem);display:grid}.blessing{justify-items:center;gap:1rem;width:min(100%,32rem);display:grid}.bless-look{justify-items:center;gap:.6rem;width:100%;display:grid}.swatches{justify-content:center;gap:.7rem;display:flex}.swatch{background:linear-gradient(160deg, var(--a), var(--b));border:2px solid var(--ring);cursor:pointer;touch-action:manipulation;width:2.6rem;height:2.6rem;transition:transform var(--duration-fast) ease;border-radius:50%;padding:0}.swatch[aria-pressed=true]{outline:3px solid var(--yellow);outline-offset:3px;transform:scale(1.08)}.swatch:focus-visible{outline:3px solid var(--gold-pale);outline-offset:3px}.bless-photo-row{flex-wrap:wrap;justify-content:center;gap:.6rem;display:flex}.bless-form{gap:.4rem;width:100%;display:grid}.bless-field{color:var(--gold-pale);gap:.35rem;font-weight:600;display:grid}.bless-field small{color:var(--dim);font-weight:400}.bless-field input{width:100%;min-height:2.9rem;font:inherit;color:oklch(22% .03 60);background:linear-gradient(160deg,oklch(93% .04 85),oklch(87% .05 80));border:0;border-radius:.6rem;padding:.6rem .9rem;font-weight:400}.bless-field input:focus-visible,.bless-field textarea:focus-visible{outline:2px solid var(--yellow);outline-offset:3px}.field-error{color:var(--danger);margin:0;font-size:.88rem;font-weight:600}.bless-preview{border-radius:.35rem;width:min(72vw,17rem);height:auto;box-shadow:0 1.4rem 2.4rem #0000008c}.paper-kinds{flex-wrap:wrap;justify-content:center;gap:.5rem;max-width:34rem;display:flex}.kind-chip{min-height:2.5rem;font:inherit;color:var(--gold-pale);border:1px solid var(--gold-line);cursor:pointer;touch-action:manipulation;transition:background var(--duration-fast) ease, border-color var(--duration-fast) ease;background:0 0;border-radius:999px;padding:.35rem .95rem;font-size:.92rem;font-weight:600}.kind-chip:hover{border-color:var(--yellow)}.kind-chip[aria-pressed=true]{color:var(--ink);background:var(--yellow);border-color:var(--yellow)}.kind-chip:focus-visible{outline:2px solid var(--yellow);outline-offset:3px}.writer-title{color:var(--yellow);margin:0;font-size:clamp(1.6rem,6vw,2.2rem)}.note{width:100%;font-family:var(--font-paper);color:oklch(22% .03 60);resize:vertical;background:linear-gradient(160deg,oklch(93% .04 85),oklch(87% .05 80));border:0;border-radius:.25rem 1.25rem;padding:1.1rem 1.25rem;font-size:1.15rem;font-weight:300;line-height:1.7;box-shadow:0 1rem 2rem oklch(0% 0 0/.45)}.note::placeholder{color:oklch(45% .04 65)}.writer-meta{color:var(--dim);margin:0;font-size:.85rem}.altar{justify-items:center;gap:1.25rem;width:100%;display:grid}.paper-wrap{place-items:center;max-width:100%;padding:.5rem;display:grid}.stack{place-items:center;display:grid;position:relative}.stack .under{transition:opacity .4s var(--ease-out-expo);background:linear-gradient(135deg,#f1d46e,#dcb243);display:none;position:absolute;inset:0;box-shadow:0 .6rem 1.4rem oklch(0% 0 0/.55)}.stack .u1{transform:rotate(-5deg)translate(-.5rem,.2rem)}.stack .u2{filter:brightness(.92);transform:rotate(6deg)translate(.6rem,.35rem)}.stack .u3{filter:brightness(.84);transform:rotate(-11deg)translate(.2rem,.5rem)}.stack[data-under="1"] .u1,.stack[data-under="2"] .u1,.stack[data-under="2"] .u2,.stack[data-under="3"] .under{display:block}#paper.tossed{animation:toss .55s var(--ease-out-expo)}@keyframes toss{0%{transform:translateY(-1.4rem)rotate(-3deg)scale(1.05)}60%{transform:translateY(.3rem)rotate(1deg)scale(.97)}to{transform:none}}#paper{cursor:crosshair;touch-action:none;filter:drop-shadow(0 1.5rem 2.5rem oklch(0% 0 0/.6));width:auto;max-width:min(100%,44rem);height:auto;max-height:min(50dvh,40rem);display:block;position:relative}.status{max-width:36ch;min-height:1.6em;color:var(--text);text-align:center;text-shadow:0 2px 10px #000;margin:0;font-weight:600}.controls{flex-wrap:wrap;justify-content:center;gap:.75rem;display:flex}.error{max-width:34rem;color:var(--danger);background:#00000080;border:1px solid;border-radius:.5rem;margin:0;padding:.75rem 1rem}.queue{letter-spacing:.12em;color:var(--gold-pale);text-shadow:0 0 14px rgb(var(--red-rgb) / .7);margin:0;font-size:1.1rem}.sound-fab{top:calc(40px + env(safe-area-inset-top));right:calc(10px + env(safe-area-inset-right));z-index:60;width:2.75rem;height:2.75rem;color:var(--gold-pale);border:2px solid var(--gold-line);cursor:pointer;touch-action:manipulation;-webkit-backdrop-filter:blur(6px);transition:border-color var(--duration-fast) ease, transform var(--duration-fast) var(--ease-out-expo);background:#0a1214d1;border-radius:50%;place-items:center;padding:0;display:grid;position:fixed}.sound-fab:hover{border-color:var(--yellow)}.sound-fab:active{transform:scale(.92)}.sound-fab svg{width:1.4rem;height:1.4rem}.sound-fab .slash{display:none}.sound-fab[aria-pressed=true]{color:var(--dim);border-color:var(--line)}.sound-fab[aria-pressed=true] .slash{display:block}.sound-fab[aria-pressed=true] .waves{display:none}.marq{z-index:2;background:var(--coal);border-block:1px solid var(--line);padding:.7rem 0;position:relative;overflow:hidden}.marq .row{white-space:nowrap;will-change:transform;width:max-content;font-size:clamp(1.8rem,7vw,3.2rem);display:flex}.marq .row span{color:var(--yellow);padding-right:1.4rem}.marq .row span:nth-child(2n){color:var(--red-hot)}.marq .row .han{font-size:.9em}.marq.b{background:var(--red-deep);border-color:var(--gold-line)}.marq.b .row span{color:var(--gold-pale)}.marq.b .row span:nth-child(2n){color:var(--ember)}.furnace-wrap{width:clamp(6.5rem,min(32vw,19dvh),11.5rem);transition:transform .4s var(--ease-out-expo);margin:0 auto -.4rem;position:relative}.furnace{width:100%;height:auto;filter:drop-shadow(0 0 calc(4px + var(--fire) * 22px) rgb(var(--ember-rgb) / calc(.25 + var(--fire) * .5))) drop-shadow(0 .8rem 1rem #00000080);display:block;overflow:visible}.furnace .mouth-glow{opacity:calc(.12 + var(--fire) * .88);transition:opacity .4s}.furnace .mouth-flame-scale{transform-box:fill-box;transform-origin:50% 100%;transform:scale(calc(.15 + var(--fire) * .85));transition:transform .5s var(--ease-out-expo)}.furnace .mouth-flame{transform-box:fill-box;transform-origin:50% 100%;animation:1.2s ease-in-out infinite flick}.furnace-smoke{pointer-events:none;width:34%;height:0;margin-left:-17%;position:absolute;top:15%;left:50%}.furnace-smoke i{filter:blur(6px);opacity:0;background:radial-gradient(circle,#fff4e099,#0000 68%);border-radius:50%;width:3rem;height:3rem;animation:4.6s ease-out infinite paused furnaceSmoke;position:absolute;bottom:0;left:20%}.furnace-smoke i:nth-child(2){animation-duration:5.4s;animation-delay:1.5s;left:0}.furnace-smoke i:nth-child(3){animation-duration:5s;animation-delay:.7s;left:40%}.stage[data-fire=on] .furnace-smoke i{animation-play-state:running}.stage.received .furnace-wrap{transform:scale(1.06)}.stage.received .furnace .mouth-glow{animation:1.6s ease-out received}@keyframes furnaceSmoke{0%{opacity:0;transform:translate(0)scale(.6)}20%{opacity:.9}to{opacity:0;transform:translate(14px,-120px)scale(2.1)}}@keyframes received{0%{opacity:1;filter:brightness(1.8)}to{filter:brightness()}}.part-head{text-align:center;border-top:1px solid var(--gold-line);justify-items:center;gap:.5rem;width:min(100%,36rem);padding-top:2.5rem;display:grid}.part-head .eyebrow{margin:0}.part-head h2{margin:0;font-size:clamp(2.2rem,9vw,3.6rem)}.part-mark{width:3.4rem;height:3.4rem;color:var(--gold-pale);background:var(--ink);border:1px solid var(--gold-line);border-radius:50%;place-items:center;margin-top:-4.2rem;font-size:2rem;display:grid}.part-lead{max-width:34ch;color:var(--dim);margin:0}.rite{justify-items:center;gap:.75rem;display:grid}.step-tag{letter-spacing:.22em;color:var(--yellow);margin:0;font-size:.8rem;font-weight:700}.incense-big{font:inherit;color:var(--gold-pale);cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;background:0 0;border:0;justify-items:center;gap:.9rem;padding:.5rem 1.5rem .25rem;display:grid}.incense-big[aria-pressed=true]{cursor:default}.censer{width:11rem;height:15rem;position:relative}.censer b{background:linear-gradient(#e9bf4a 0 .45rem,#9c1f16 .45rem,#5e0f0a);border-radius:.4rem .4rem 48% 48%/.4rem .4rem 100% 100%;height:3.6rem;position:absolute;bottom:0;left:6%;right:6%;box-shadow:0 1rem 1.6rem #0000008c}.censer b:before{content:"";background:#6c6258;border-radius:50%;height:.6rem;position:absolute;top:.45rem;left:8%;right:8%}.censer i{transform-origin:50% 100%;background:linear-gradient(#b8863a,#7a4f12);border-radius:2px;width:6px;height:11.5rem;position:absolute;bottom:2.9rem}.censer i:first-child{left:33%;transform:rotate(-7deg)}.censer i:nth-child(2){left:50%}.censer i:nth-child(3){left:66%;transform:rotate(7deg)}.censer i:after{content:"";background:#4a2e18;border-radius:50%;width:10px;height:10px;transition:background .4s,box-shadow .4s;position:absolute;top:-3px;left:-2px}.censer i:before{content:"";filter:blur(5px);opacity:0;background:radial-gradient(circle,#fff4e080,#0000 70%);border-radius:50%;width:22px;height:22px;position:absolute;top:-8px;left:-8px}.stage.incense-lit .censer i:after{box-shadow:0 0 14px 5px rgb(var(--ember-rgb) / .85);background:#ff6a1a}.stage.incense-lit .censer i:before{animation:3.6s ease-out infinite incenseSmoke}.stage.incense-lit .censer i:nth-child(2):before{animation-delay:1s}.stage.incense-lit .censer i:nth-child(3):before{animation-delay:1.9s}.incense-cap{text-shadow:0 2px 10px #000;max-width:24ch;font-weight:600}.incense-big:not([aria-pressed=true]) .incense-cap{animation:1.8s ease-in-out infinite capPulse}.incense-big:focus-visible{outline:2px solid var(--yellow);outline-offset:4px;border-radius:1rem}@keyframes capPulse{50%{color:var(--yellow);text-shadow:0 0 14px rgb(var(--ember-rgb) / .8)}}@keyframes incenseSmoke{0%{opacity:0;transform:translate(0)scale(.6)}25%{opacity:.8}to{opacity:0;transform:translate(14px,-110px)scale(2.8)}}.alt-label{text-align:center;color:var(--dim);margin:.4rem 0 0;font-size:.92rem;font-weight:600}.siamsi{justify-items:center;gap:1rem;width:min(100%,32rem);display:grid}.siamsi[data-locked=true] .cylinder-wrap,.siamsi[data-locked=true] .shake-bar{opacity:.4;filter:grayscale(.6);pointer-events:none}.slip-modal{z-index:65;padding:max(1rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));overscroll-behavior:contain;background:#040809f0;place-items:center;animation:.35s both slipBackdrop;display:grid;position:fixed;inset:0;overflow-y:auto}.slip-modal[hidden]{display:none}.slip-card{animation:slipPop .7s var(--ease-out-expo) both;justify-items:center;gap:1rem;margin:auto;display:grid}.slip-card canvas{filter:drop-shadow(0 1.4rem 2rem #000000a6);border-radius:.2rem;width:min(92vw,26rem,80dvh - 8.8rem);height:auto}@keyframes slipBackdrop{0%{opacity:0}to{opacity:1}}@keyframes slipPop{0%{opacity:0;transform:translateY(2.5rem)scale(.7)rotate(-6deg)}to{opacity:1;transform:none}}.siamsi-sub{text-align:center;max-width:34ch;color:var(--dim);margin:-.4rem 0 0;font-size:.95rem}.siamsi-hint{text-align:center;max-width:30ch;min-height:3.2em;color:var(--gold-pale);margin:0;font-weight:600}.cylinder-wrap{width:min(58vw,13rem);padding-top:7rem}.cylinder{transform-origin:50% 92%;touch-action:none;cursor:grab;will-change:transform;position:relative}.cylinder svg{filter:drop-shadow(0 1rem 1.2rem #0000008c);width:100%;height:auto;display:block;overflow:visible}.cylinder .stick{border:2px solid var(--gold-dark);transform-origin:50% 100%;background:linear-gradient(90deg,#ecd08c,#c9a24a);border-radius:.35rem;place-items:center;width:2.5rem;height:9rem;display:none;position:absolute;top:-4%;left:52%;box-shadow:0 .6rem 1rem #00000080}.cylinder.out .stick{animation:stickOut .9s var(--ease-out-expo) both;display:grid;transform:translateY(-62%)rotate(-12deg)}.stick-num{writing-mode:vertical-rl;color:var(--red);letter-spacing:.1em;font-size:1.15rem}.shake-bar{background:var(--track);border-radius:999px;width:min(100%,18rem);height:.7rem;overflow:hidden}.shake-bar i{transform-origin:0;background:linear-gradient(90deg, var(--yellow), var(--ember), var(--red-hot));height:100%;display:block;transform:scaleX(0)}#shake-hold{touch-action:none}@keyframes stickOut{0%{opacity:0;transform:translateY(0)rotate(0)scale(.6)}to{opacity:1;transform:translateY(-62%)rotate(-12deg)scale(1)}}.lamp-sec{z-index:2;padding:clamp(4rem, 12vw, 8rem) var(--space-gutter);background:radial-gradient(90% 60% at 50% 40%, rgb(var(--red-rgb) / .14), transparent 70%);position:relative}.lamp-sec h2{margin:0 0 1rem;font-size:clamp(2.6rem,10vw,5.4rem)}.lead{max-width:46ch;color:var(--dim);margin:0 0 2rem}.lamp-card{background:linear-gradient(160deg, var(--panel-a), var(--panel-b));border:1px solid var(--gold-line);box-shadow:inset 0 0 0 4px #0a12148c, inset 0 0 0 5px rgb(var(--gold-rgb) / .3), 0 0 60px -20px var(--red-hot);border-radius:.3rem 1.4rem;align-items:center;gap:1.5rem;padding:clamp(1.2rem,4vw,2.2rem);display:grid}.lamp{cursor:pointer;touch-action:manipulation;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;width:min(100%,20rem);margin:0 auto;position:relative}.lamp:active .lamp-svg{transition:transform var(--duration-fast) ease;transform:scale(.98)}.lamp-hint{color:var(--dim);margin:.2rem 0 0;font-size:.85rem}.lamp-svg{width:100%;height:auto;display:block;overflow:visible}.lamp .oil{transform:translateY(calc(4px + (1 - var(--oil)) * 34px));transition:transform .6s var(--ease-out-expo)}.lamp .halo{opacity:var(--flame);transition:opacity .8s}.lamp .face,.lamp .ember-asleep{display:none}.lamp[data-mood=content] .face-content,.lamp[data-mood=drowsy] .face-drowsy,.lamp[data-mood=delighted] .face-delighted,.lamp[data-mood=asleep] .ember-asleep{display:inline}.lamp .zzz{animation:2.6s ease-in-out infinite zzz}.lamp .zzz.z2{animation-delay:1.3s}@keyframes zzz{0%,to{opacity:0;transform:translateY(4px)}50%{opacity:1;transform:translateY(0)}}.lamp-say{max-width:28ch;color:var(--ink);background:var(--gold-pale);border-radius:.9rem .9rem .9rem .25rem;justify-self:start;margin:0 0 .6rem;padding:.45rem .85rem;font-size:.92rem;font-weight:600;position:relative}.lamp-say:empty{display:none}.lamp .flame-scale{transform:scale(var(--flame));transition:transform .8s var(--ease-out-expo)}.lamp .flame-flick{transform-box:fill-box;transform-origin:50% 100%;animation:1.3s ease-in-out infinite flick}.lamp[data-status=out] .flame-pos{opacity:0}.lamp .bottle{transform-origin:50% 0;width:24%;height:auto;transition:transform .55s var(--ease-out-expo);position:absolute;top:40%;left:48%;transform:translate(86%,-118%)}.lamp.pouring .bottle{transform:rotate(-125deg)}.lamp .bottle-oil{transform-box:fill-box;transform-origin:50% 100%;transform:scaleY(var(--bottle))}.lamp .stream{opacity:0;background:linear-gradient(#ffd25a,#e0a030);border-radius:2px;width:3px;height:0;margin-left:-1.5px;transition:height .3s .25s,opacity .2s .25s;position:absolute;top:43%;left:60%}.lamp.pouring .stream{opacity:.95;height:13%}.lamp-info{text-align:center;justify-items:center;gap:.6rem;display:grid}.lamp-time{color:var(--yellow);text-shadow:0 0 22px rgb(var(--red-rgb) / .7);margin:0;font-size:clamp(1.8rem,7vw,2.8rem)}.lamp-meta{color:var(--dim);margin:0;font-size:.9rem}.lamp-stock{color:var(--text);margin:0;font-weight:600}.pour-row{flex-wrap:wrap;justify-content:center;gap:.6rem;width:100%;margin-top:.2rem;display:flex}.pour-btn{touch-action:none;flex:12rem;min-height:3.5rem;font-size:1.05rem}.pour-bottle{flex:1 0 9rem;min-height:3.5rem;font-size:1.05rem}.lamp-note{min-height:1.6em;color:var(--gold-pale);margin:0;font-weight:600}.lamp-story{max-width:38ch;color:var(--dim);margin:.4rem 0 0;font-size:.85rem}.how{z-index:2;padding:clamp(4rem, 12vw, 8rem) var(--space-gutter);background:linear-gradient(180deg, var(--ink), #0a1214b3);position:relative}.stage .how{background:0 0;width:100%;padding:0}.stage .how h2{margin-bottom:1.4rem;font-size:clamp(2.2rem,9vw,3.6rem)}.wrap{max-width:64rem;margin:0 auto}.eyebrow{letter-spacing:.2em;color:var(--ember);margin:0 0 .6rem;font-size:.8rem;font-weight:800}.how h2{margin:0 0 2rem;font-size:clamp(2.6rem,10vw,5.4rem)}.steps{gap:1.1rem;margin:0 0 2rem;padding:0;list-style:none;display:grid}.step{background:rgb(var(--red-rgb) / .08);border-left:3px solid var(--gold-line);cursor:default;transition:opacity .8s var(--ease-out-expo), transform .8s var(--ease-out-expo);padding:1.4rem 1.4rem 1.4rem 5.2rem;position:relative}.step-n{color:var(--yellow);text-shadow:0 0 22px rgb(var(--red-rgb) / .8);font-size:3rem;line-height:1.1;position:absolute;top:.7rem;left:1.2rem}.step h3{color:var(--gold-pale);margin:0 0 .3rem;font-size:1.2rem}.step p{color:var(--dim);margin:0}.privacy{border-left:4px solid var(--yellow);background:rgb(var(--red-rgb) / .12);max-width:44ch;margin:0;padding:.8rem 1rem}.privacy b{color:var(--yellow)}.lamp-alert{z-index:5;text-align:center;width:fit-content;max-width:calc(100% - 4.5rem);color:var(--gold-pale);background:rgb(var(--lacquer-deep-rgb) / .9);border:1px solid var(--gold-line);border-radius:999px;margin:0 auto .8rem;padding:.5rem 1rem;font-size:.9rem;font-weight:600;text-decoration:none;display:block;position:sticky;top:.6rem;box-shadow:0 .4rem 1.2rem oklch(0% 0 0/.45)}.lamp-alert[hidden]{display:none}.care{max-width:44ch;color:var(--dim);margin:0 0 1rem;font-size:.95rem}.care a,.foot a{color:var(--yellow)}.foot .foot-count{margin-top:1rem;font-size:.8rem}.foot{z-index:2;padding:3rem var(--space-gutter) calc(3rem + env(safe-area-inset-bottom));text-align:center;color:var(--dim);background:var(--ink);font-size:.9rem;position:relative}.foot p{max-width:44ch;margin:0 auto}.foot .donate{border-bottom:1px solid var(--gold-line);justify-items:center;gap:.8rem;margin:0 auto 2.6rem;padding-bottom:2.6rem;display:grid}.foot .donate h2{color:var(--gold-pale);margin:0;font-size:1.6rem}.foot .donate-open{justify-items:center;display:grid}.foot .donate-open summary{color:var(--gold-pale);border-color:var(--gold-line);align-items:center;list-style:none;display:inline-flex}.foot .donate-open summary::-webkit-details-marker{display:none}.foot .donate-open[open] summary{color:var(--dim);background:0 0}.foot .donate-frame{background:linear-gradient(160deg, var(--panel2-a), var(--panel2-b));border:2px solid var(--gold-line);box-shadow:inset 0 0 0 4px #0a12148c, inset 0 0 0 5px rgb(var(--gold-rgb) / .3), 0 1rem 2.4rem oklch(0% 0 0/.5);border-radius:.3rem 1.2rem;justify-items:center;gap:.6rem;margin:1.4rem 0 0;padding:1.5rem 1.1rem .9rem;display:grid;position:relative}.foot .donate-fu{width:2.3rem;height:2.3rem;color:var(--yellow);border:2px solid var(--gold-line);background:#b81d12;border-radius:.25rem;place-items:center;font-size:1.4rem;font-weight:700;line-height:1;display:grid;position:absolute;top:-1.15rem}.foot .donate-qr{border-radius:.3rem;width:min(12rem,62vw);height:auto}.foot .donate-frame figcaption{letter-spacing:.06em;color:var(--gold-pale);font-size:.8rem}.foot .foot-credit{letter-spacing:.08em;margin-top:1.6rem;font-size:.8rem}.foot .foot-credit b{color:var(--gold-pale);letter-spacing:.14em}.foot .foot-mark{color:var(--yellow);margin-bottom:.6rem;font-size:2rem}.rv{opacity:0;transition:opacity .8s var(--ease-out-expo), transform .8s var(--ease-out-expo);transition-delay:var(--rd,0s);transform:translateY(34px)scale(.98)}.rv.in{opacity:1;transform:none}#pops{z-index:70;pointer-events:none;position:fixed;inset:0;overflow:hidden}.pop{font:800 clamp(1.6rem, 7vw, 2.6rem) / 1 var(--font-display);font-synthesis:none;color:var(--gold-pale);white-space:nowrap;text-shadow:0 3px 0 #000, 0 0 18px var(--red-hot), 0 0 36px var(--red);transform:translate(-50%, -50%) rotate(var(--r,0deg)) scale(.3);opacity:0;animation:pop 1.1s var(--ease-out-expo) forwards;position:absolute}@keyframes rise{0%{opacity:0;transform:translateY(40px)scale(.9)}to{opacity:1;transform:none}}@keyframes glow{0%{opacity:.45;filter:blur(18px)}to{opacity:.9;filter:blur(30px)}}@keyframes flick{0%,to{transform:scale(1)rotate(0)}22%{transform:scale(.93,1.1)rotate(-2.5deg)}48%{transform:scale(1.05,.95)rotate(2deg)}74%{transform:scale(.97,1.07)rotate(-1deg)}}@keyframes sway{0%{transform:translate(-50%)rotate(-2.5deg)}to{transform:translate(-50%)rotate(2.5deg)}}@keyframes steam{0%{opacity:0;transform:translate(0)scale(.6)}20%{opacity:.9}to{opacity:0;transform:translate(22px,-170px)scale(2.4)}}@keyframes pop{0%{opacity:0;transform:translate(-50%, -50%) rotate(var(--r,0deg)) scale(.3)}18%{opacity:1;transform:translate(-50%, -60%) rotate(var(--r,0deg)) scale(1.3)}35%{transform:translate(-50%, -64%) rotate(var(--r,0deg)) scale(1)}to{opacity:0;transform:translate(-50%, -230%) rotate(var(--r,0deg)) scale(1)}}.stack.recording:after{content:"REC";z-index:3;letter-spacing:.1em;color:#fff;background:rgb(var(--red-rgb) / .85);pointer-events:none;border-radius:.3rem;padding:.1rem .5rem;font-size:.75rem;font-weight:800;position:absolute;top:.6rem;left:.6rem}.quick{grid-template-columns:repeat(3,1fr);gap:.7rem;width:min(100%,40rem);margin:1.6rem auto 0;display:grid}.quick-card{color:var(--text);text-align:center;border:1px solid var(--gold-line);transition:transform var(--duration-fast) var(--ease-out-expo), border-color var(--duration-fast) ease;-webkit-tap-highlight-color:transparent;background:#0a1214b8;border-radius:.3rem 1rem;justify-items:center;gap:.15rem;padding:.9rem .7rem;text-decoration:none;display:grid}.quick-card:hover,.quick-card:focus-visible{border-color:var(--yellow);transform:translateY(-2px)}.quick-card:active{transform:scale(.97)}.quick-card b{font-family:var(--font-display);color:var(--gold-pale);font-size:1.15rem}.quick-card span:last-child{color:var(--dim);font-size:.8rem}.quick-han{color:var(--red-hot);font-size:1.6rem;line-height:1.2}.quick-main{background:linear-gradient(160deg, rgb(var(--lacquer-rgb) / .85), rgb(var(--lacquer-deep-rgb) / .9));border-color:var(--yellow);box-shadow:0 0 40px -14px var(--red-hot);grid-column:1/-1;padding:1.1rem}.quick-main .quick-han{color:var(--gold-pale)}.quick-main b{font-size:1.45rem}.quick-main span:last-child{color:var(--text)}@media (width<=479px){.quick-card:not(.quick-main){padding:.8rem .35rem}.quick-card:not(.quick-main) b{font-size:.98rem;line-height:1.35}.quick-card:not(.quick-main) span:last-child{font-size:.72rem;line-height:1.45}}#fortune,#how,#send-blessing,#lamp,#incense-lotto{scroll-margin-top:1rem}.tabbar{bottom:calc(10px + env(safe-area-inset-bottom));z-index:55;border:1px solid var(--gold-line);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);width:min(100% - 16px,34rem);animation:tabbarIn var(--duration-normal) var(--ease-out-expo) both;background:#0a1214e6;border-radius:999px;grid-template-columns:repeat(6,1fr);padding:.3rem;display:grid;position:fixed;left:50%;transform:translate(-50%);box-shadow:0 10px 30px -10px #000c}.tabbar[hidden]{display:none}.tabbar a{white-space:nowrap;color:var(--dim);-webkit-tap-highlight-color:transparent;border-radius:999px;justify-items:center;padding:.3rem .1rem;font-size:.72rem;font-weight:600;line-height:1.3;text-decoration:none;display:grid}.tabbar .han{font-size:1.05rem}.tabbar a[aria-current=true],.tabbar a[aria-current=true] .han{color:var(--ink);background:var(--yellow)}body.has-tabbar .foot{padding-bottom:calc(5rem + env(safe-area-inset-bottom))}@keyframes tabbarIn{0%{opacity:0;transform:translate(-50%,12px)}}.incense-sec{z-index:2;padding:0 var(--space-gutter) clamp(4rem, 12vw, 8rem);background:radial-gradient(90% 60% at 50% 40%, rgb(var(--jade-rgb) / .14), transparent 70%);position:relative}.incense-sec h2{margin:0 0 1rem;font-size:clamp(2.3rem,9vw,4.6rem)}.incense-card{background:linear-gradient(160deg, var(--panel-a), var(--panel-b));border:1px solid var(--gold-line);box-shadow:inset 0 0 0 4px #0a12148c, inset 0 0 0 5px rgb(var(--gold-rgb) / .3), 0 0 60px -20px var(--jade);border-radius:.3rem 1.4rem;align-items:center;gap:1.5rem;padding:clamp(1.2rem,4vw,2.2rem);display:grid}.incense-art{width:min(100%,340px);margin:0 auto}.incense-svg{width:100%;height:auto;display:block;overflow:visible}.incense-back text,.incense-han{font-family:var(--font-han);fill:#c8261b;font-size:26px}.incense-han{font-size:22px}.incense-back>g{touch-action:pan-y;cursor:grab}.incense-back>g.found text:not(.bonus-digit){opacity:0}.incense-back text.bonus-digit{font-family:var(--font-display);fill:#6e120c;animation:bonusIn .6s var(--ease-out-expo) both;font-size:32px;font-weight:800}@keyframes bonusIn{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}.incense-secret{animation:bonusIn .6s var(--ease-out-expo) both;justify-items:center;gap:.5rem;display:grid}.incense-secret-title{color:var(--gold-pale);text-shadow:0 0 14px rgb(var(--gold-rgb) / .6);margin:0;font-weight:800}.incense-digit{font-family:"Kalam", var(--font-paper);fill:#241a14;opacity:0;font-size:36px;font-weight:700;transition:opacity .8s}.incense-digit.shown{opacity:1}.incense-q{font-family:var(--font-ui);fill:#6b5a50;opacity:.55;font-size:20px;font-weight:800;transition:opacity .5s}.incense-q.gone{opacity:0}.incense-art rect,.incense-ember,.incense-smoke{transition:height 1.2s var(--ease-out-expo), cy 1.2s var(--ease-out-expo), transform 1.2s var(--ease-out-expo), opacity .6s ease}.incense-smoke path{fill:none;stroke:#e9dfd0;stroke-width:3px;stroke-linecap:round;opacity:0}.incense-art[data-lit=true] .incense-smoke path{animation:5s ease-out infinite incenseRise}.incense-art[data-lit=true] .incense-smoke path:nth-child(2){animation-delay:1.7s}.incense-art[data-lit=true] .incense-smoke path:nth-child(3){animation-delay:3.3s}.ding-aura{transform-origin:150px 268px;opacity:.6;transition:opacity .6s}.incense-art[data-lit=true] .ding-aura{animation:4.5s ease-in-out infinite dingAura}@keyframes dingAura{50%{opacity:1;transform:scale(1.05)}}.incense-art[data-lit=true] .incense-ember{animation:1.6s ease-in-out infinite incenseGlow}.incense-art[data-fierce=true][data-lit=true] .incense-ember{filter:brightness(1.35);animation-duration:.7s}.incense-art[data-fierce=true][data-lit=true] .incense-smoke path{animation-duration:3s}.incense-art[data-lit=false] .incense-ember{opacity:.25}.incense-art[data-done=true] .incense-ember,.incense-art[data-done=true] .incense-smoke{opacity:0}@keyframes incenseRise{0%{opacity:0;transform:translateY(6px)scaleY(.6)}20%{opacity:.5}to{opacity:0;transform:translateY(-46px)scaleY(1.2)}}@keyframes incenseGlow{50%{opacity:.55}}.incense-info{gap:.9rem;display:grid}.incense-round{color:var(--gold-pale);margin:0;font-weight:600}.incense-pct{margin:0;font-size:clamp(2rem,7vw,3rem)}.incense-bar{border:1px solid var(--gold-line);background:#2a1310;border-radius:99px;height:10px;overflow:hidden}.incense-bar i{width:0;height:100%;transition:width 1.2s var(--ease-out-expo);background:linear-gradient(90deg,#8d8178,#d9cfc4);display:block}.incense-meta,.incense-prev,.incense-result,.incense-record{color:var(--dim);margin:0;font-size:.9rem}.incense-nums{flex-wrap:wrap;gap:.6rem;display:flex}.incense-chip{text-align:center;border:1px solid var(--gold-line);background:#0a121480;border-radius:.5rem;min-width:5.2rem;padding:.45rem .8rem}.incense-chip b{font-family:"Kalam", var(--font-paper);letter-spacing:.12em;color:var(--gold-pale);font-size:1.7rem;line-height:1.2;display:block}.incense-chip span{color:var(--dim);font-size:.75rem}.incense-out{color:var(--danger);margin:0;font-size:.9rem}.incense-go{justify-self:start;place-items:center;text-decoration:none;display:inline-grid}.incense-past{border-top:1px solid #8a6a2a66;gap:.2rem;padding-top:.6rem;display:grid}.incense-prev{color:var(--text)}.incense-record{color:var(--gold-pale);font-weight:600}.incense-note{color:var(--dim);background:rgb(var(--jade-rgb) / .08);border-left:3px solid var(--jade);margin:0;padding:.7rem .9rem;font-size:.82rem}:root[data-festival=loy]{--ink:#06101d;--coal:#0a1a2e;--coal-2:#12273f;--red:#c4527a;--red-deep:#7a2a4c;--red-hot:#e0709a;--ember:#ffb24a;--flame:#ffd27a;--yellow:#f2c45a;--gold-pale:#ffe6a3;--gold-dark:#9a6a1a;--jade:#2c6a3a;--jade-deep:#1e4a28;--jade-rgb:78 154 90;--panel-a:#10284a;--panel-b:#071528;--panel2-a:#143258;--panel2-b:#0a1a30;--track:#12243a;--red-rgb:224 112 154;--lacquer-rgb:196 82 122;--lacquer-deep-rgb:122 42 76;--ember-rgb:255 178 74;--gold-rgb:242 196 90;--line:#2a4a6a;--gold-line:#8a6f35;--dim:#c3c2c6}:root[data-festival=loy] body:after{background:radial-gradient(70% 40% at 78% -4%,#ffecb43d,#0000 70%),radial-gradient(130% 60% at 50% 112%,#1446788c,#e0709a24 45%,#0000 72%)}:root[data-festival=loy] .festival-banner{background:linear-gradient(90deg,#c4527a4d,#2e6a3a4d);border-color:#c9a24a}:root[data-festival=loy] .festival-banner b{color:#ffe6a3}:root[data-festival=loy] .festival-banner:before{content:"";vertical-align:-.12rem;background:radial-gradient(circle at 38% 36%,#fffdf3,#fff4d6 55%,#e8cf8a);border-radius:50%;width:.95rem;height:.95rem;margin-right:.5rem;display:inline-block;box-shadow:0 0 10px #ffeebeb3}:root[data-festival=loy] .festival-banner a{color:var(--gold-pale);font-weight:800}:root[data-festival=loy] .intro h1:before{-webkit-text-fill-color:#f2c45a}:root[data-festival=loy] #gLantern stop:first-child{stop-color:#fff0b8}:root[data-festival=loy] #gLantern stop:nth-child(2){stop-color:#ffa63a}:root[data-festival=loy] #gLantern stop:nth-child(3){stop-color:#c8601a}:root[data-festival=loy] .lantern text{fill:#8a2a0a}:root[data-festival=loy] .lantern svg{filter:drop-shadow(0 0 calc(6px + var(--fire) * 14px) #ffaa3c99)}:root[data-festival=loy] .lanterns{top:5.4rem}:root[data-festival=loy] .stage{padding-top:calc(clamp(10.5rem,30vw,12.5rem) + 3.4rem)}.bunting[data-festival=loy] .flag-tung{background:repeating-linear-gradient(to bottom, var(--a) 0 .8rem, #f2c45a .8rem .95rem, var(--b) .95rem 1.75rem, #f2c45a 1.75rem 1.9rem);clip-path:polygon(0 0,100% 0,100% 100%,75% 92%,50% 100%,25% 92%,0 100%);width:clamp(.9rem,2.4vw,1.2rem);height:clamp(3.6rem,9vw,4.8rem)}.bunting[data-festival=loy] .flag-tung[data-tone="1"]{--a:#c4527a;--b:#f08fb0}.bunting[data-festival=loy] .flag-tung[data-tone="2"]{--a:#2c6a3a;--b:#4e9a5a}.bunting[data-festival=loy] .flag-tung[data-tone="3"]{--a:#c48a2a;--b:#f2c45a}.bunting[data-festival=loy] .flag-tung[data-tone="4"]{--a:#3a5aa8;--b:#7fa2e8}.bunting[data-festival=loy] .flag-tung[data-tone="5"]{--a:#a8322a;--b:#e8604a}:root[data-festival=loy] .theme-fx{z-index:0;pointer-events:none;background-image:radial-gradient(1px 1px at 12% 22%,#fff9,#0000),radial-gradient(1px 1px at 28% 8%,#fff8,#0000),radial-gradient(1.5px 1.5px at 44% 30%,#fffa,#0000),radial-gradient(1px 1px at 62% 12%,#fff7,#0000),radial-gradient(1px 1px at 86% 34%,#fff8,#0000),radial-gradient(1.5px 1.5px at 92% 6%,#fff9,#0000),radial-gradient(1px 1px at 6% 44%,#fff6,#0000);display:block;position:fixed;inset:0;overflow:hidden}:root[data-festival=loy] .theme-fx .moon{opacity:.85;background:radial-gradient(circle at 38% 36%,#fffdf3,#fff4d6 55%,#f1d99a);display:block;left:auto;right:8%;box-shadow:0 0 2.4rem .8rem #ffeebe59,0 0 8rem 3rem #ffdc9624}.loy-sky{display:none}:root[data-festival=loy] .loy-sky{display:block;position:absolute;inset:0}.sky-khom{bottom:-4rem;left:var(--x);width:var(--w);opacity:0;filter:drop-shadow(0 0 8px #ffa03c99);animation:khomRise var(--t) linear var(--d) infinite;position:absolute}.sky-khom svg,.pond-khom svg{width:100%;height:auto;display:block}@keyframes khomRise{0%{opacity:0;transform:translate(0)rotate(-3deg)}8%{opacity:.75}50%{transform:translate(var(--drift), -55vh) rotate(3deg)}85%{opacity:.6}to{transform:translate(calc(var(--drift) * -.4), -115vh) rotate(-2deg) scale(.6);opacity:0}}.krathong-censer,.lp-krathong,.furnace-lotus,:root[data-festival=loy] .censer b{display:none}:root[data-festival=loy] .krathong-censer{z-index:0;filter:drop-shadow(0 1rem 1.2rem #00000080);width:100%;height:auto;display:block;position:absolute;bottom:-.6rem;left:0;right:0;overflow:visible}:root[data-festival=loy] .krathong-censer.front{z-index:2;filter:none}:root[data-festival=loy] .censer i{z-index:1;height:8.6rem;bottom:4.6rem}:root[data-festival=loy] .furnace-classic{display:none}:root[data-festival=loy] .furnace-lotus{display:inline}:root[data-festival=loy] .furnace .mouth-rim{stroke:#f2c45a}:root[data-festival=loy] #gMouth stop:first-child{stop-color:#fff3b0}:root[data-festival=loy] #gMouth stop:nth-child(2){stop-color:#ffb02e}:root[data-festival=loy] #gMouth stop:nth-child(3){stop-color:#7a3a0a}:root[data-festival=loy] .furnace-smoke i{background:radial-gradient(circle,#fff4dc80,#0000 68%)}:root[data-festival=loy] #gOut stop:first-child{stop-color:#e0701a}:root[data-festival=loy] #gOut stop:nth-child(2){stop-color:#ffa630}:root[data-festival=loy] #gOut stop:nth-child(3){stop-color:#ffd27a}:root[data-festival=loy] #gMid stop:first-child{stop-color:#ffc04a}:root[data-festival=loy] #gMid stop:nth-child(2){stop-color:#fff0b8}:root[data-festival=loy] .lp-body,:root[data-festival=loy] .lp-ped,:root[data-festival=loy] .lp-foot{display:none}:root[data-festival=loy] .lp-krathong{display:inline;overflow:visible}:root[data-festival=loy] .lp-rim{fill:#cdbf8e}:root[data-festival=loy] .lp-ring{stroke:#fff0b8}:root[data-festival=loy] #gHalo stop:first-child{stop-color:#ffd27a}:root[data-festival=loy] #gOil stop:first-child{stop-color:#fff0b8}:root[data-festival=loy] #gOil stop:nth-child(2){stop-color:#e0a030}:root[data-festival=loy] .ember-classic{display:none}:root[data-festival=loy] .ember-bud{display:inline}:root[data-festival=loy] .lamp .stream{background:linear-gradient(#fff0b8,#e0a030)}:root[data-festival=loy] .lamp .bottle-body{fill:#0a1a30;stroke:#f2c45a}:root[data-festival=loy] .ding-art-classic{display:none}:root[data-festival=loy] .ding-art-lotus{display:inline}:root[data-festival=loy] #gJade stop:first-child{stop-color:#5a3a0e}:root[data-festival=loy] #gJade stop:nth-child(2){stop-color:#c8963a}:root[data-festival=loy] #gJade stop:nth-child(3){stop-color:#fff0b8}:root[data-festival=loy] #gJade stop:nth-child(4){stop-color:#e9c26a}:root[data-festival=loy] #gJade stop:nth-child(5){stop-color:#4a300a}:root[data-festival=loy] #gJadeDeep stop:first-child,:root[data-festival=loy] #gJadeDeep stop:nth-child(3){stop-color:#3a2408}:root[data-festival=loy] #gJadeDeep stop:nth-child(2){stop-color:#a8782a}:root[data-festival=loy] .ding-rim{fill:#0d2f52}:root[data-festival=loy] .ding-rim-line,:root[data-festival=loy] ellipse.ding-rim{stroke:#ffe6a3}:root[data-festival=loy] #gDingAura stop:first-child{stop-color:#ffd27a}.k-flame{transform-box:fill-box;transform-origin:50% 100%;animation:.18s ease-in-out infinite alternate kFlick}.k-glow{animation:2.2s ease-in-out infinite alternate candle}@keyframes kFlick{to{transform:scaleY(1.12)scaleX(.94)}}.loy-sec{text-align:center;border-top:1px solid var(--gold-line);justify-items:center;gap:1rem;width:min(100%,44rem);padding-top:2.5rem;display:grid}.loy-sec[hidden]{display:none}.loy-sec .eyebrow{color:var(--red-hot);margin:0}.loy-sec h2{margin:0;font-size:clamp(2.2rem,9vw,3.6rem)}.loy-sec .part-lead{max-width:40ch}.pond{border:1px solid var(--gold-line);width:100%;height:clamp(16rem,52vw,21rem);box-shadow:inset 0 0 0 4px #06101d8c, 0 0 60px -20px var(--red-hot);background:linear-gradient(#050c18 0%,#0a1a30 46%,#0d2f52 47%,#061a30 100%);border-radius:.3rem 1.4rem;position:relative;overflow:hidden}.pond-moon{aspect-ratio:1;background:radial-gradient(circle at 38% 36%,#fffdf3,#fff4d6 55%,#f1d99a);border-radius:50%;width:clamp(2.6rem,9vw,3.6rem);position:absolute;top:9%;right:12%;box-shadow:0 0 2rem .5rem #ffeebe59}.pond-sky{position:absolute;inset:0 0 53%}.pond-khom{bottom:-2.4rem;left:var(--x);opacity:0;filter:drop-shadow(0 0 6px #ffa03cb3);width:1.5rem;animation:pondRise var(--t) linear var(--d) infinite;position:absolute}.pond-khom.mine{width:2rem;animation-iteration-count:1;animation-fill-mode:forwards}@keyframes pondRise{0%{opacity:0;transform:translate(0)}10%{opacity:1}60%{transform:translate(var(--drift), -7rem)}to{transform:translate(calc(var(--drift) * -.5), -12rem) scale(.55);opacity:0}}.pond-water{position:absolute;inset:47% 0 0;overflow:hidden}.pond-streak{background:repeating-linear-gradient(#ffeebe80 0 2px,#0000 2px 9px);width:2.4rem;height:100%;animation:2.4s ease-in-out infinite alternate shimmer;position:absolute;top:0;right:calc(12% + .6rem);-webkit-mask-image:linear-gradient(#000,#0000 90%);mask-image:linear-gradient(#000,#0000 90%)}@keyframes shimmer{0%{opacity:.7;transform:scaleX(.7)}to{opacity:1;transform:scaleX(1.25)}}.pond-lanes{position:absolute;inset:0}.pond-boat{top:calc(8% + var(--lane) * 27%);width:calc(2.8rem + var(--lane) * .9rem);animation:drift var(--t) linear var(--d) infinite;position:absolute;left:0}.pond-boat .bob{animation:3s ease-in-out infinite alternate bob;display:block}.pond-boat svg{width:100%;height:auto;display:block}.pond-boat.mine{z-index:2;width:calc(3.4rem + var(--lane) * .9rem);filter:drop-shadow(0 0 10px #ffd678e6)}.pond-boat b{white-space:nowrap;color:var(--gold-pale);font-size:.68rem;position:absolute;top:-1.1rem;left:50%;transform:translate(-50%)}@keyframes drift{0%{transform:translate(-5rem)}to{transform:translate(calc(min(44rem,100vw) + 1rem))}}@keyframes bob{0%{transform:translateY(0)rotate(-2deg)}to{transform:translateY(-3px)rotate(2deg)}}.pond-count{color:var(--dim);margin:-.4rem 0 0;font-size:.85rem}.loy-card{text-align:left;background:linear-gradient(160deg, var(--panel-a), var(--panel-b));border:1px solid var(--gold-line);width:100%;box-shadow:inset 0 0 0 4px #06101d8c, inset 0 0 0 5px rgb(var(--gold-rgb) / .3);border-radius:.3rem 1.4rem;gap:.8rem;padding:clamp(1.1rem,4vw,1.8rem);display:grid}.loy-make{align-items:center;gap:.8rem;display:grid}.loy-preview{width:min(100%,15rem);margin:0 auto}.loy-preview svg,.khom-preview svg{width:100%;height:auto;display:block;overflow:visible}.loy-picks{gap:.6rem;display:grid}.loy-pick{gap:.3rem;display:grid}.loy-pick>span{color:var(--gold-pale);font-size:.8rem;font-weight:800}.loy-chips{flex-wrap:wrap;gap:.4rem;display:flex}.loy-chip{min-height:2.4rem;font:inherit;color:var(--text);border:1px solid var(--line);cursor:pointer;background:#06101d99;border-radius:999px;align-items:center;gap:.35rem;padding:.3rem .75rem;font-size:.85rem;display:inline-flex}.loy-chip i{border-radius:50%;width:.85rem;height:.85rem;box-shadow:0 0 0 1px #ffffff59}.loy-chip[aria-pressed=true]{color:var(--ink);background:var(--gold-pale);border-color:var(--yellow)}.loy-wish{color:var(--dim);font-size:.85rem}#loy-wish{width:100%;font:inherit;color:var(--text);border:1px solid var(--line);resize:vertical;background:#06101db3;border-radius:.4rem;padding:.6rem .8rem}.loy-go{justify-self:center;min-width:12rem}.khom-make{border-top:1px dashed var(--line);grid-template-columns:3.2rem 1fr;align-items:center;gap:.6rem .9rem;margin-top:.4rem;padding-top:1rem;display:grid}.khom-make .loy-go{grid-column:1/-1}.khom-preview{filter:drop-shadow(0 0 10px #ffa03c99);width:3rem}.loy-msg{min-height:1.5em;font-family:var(--font-display);text-align:center;color:var(--gold-pale);margin:0}.loy-note{color:var(--dim);opacity:.85;margin:0;font-size:.75rem}@media (width>=640px){.loy-make{grid-template-columns:15rem 1fr}}@media (prefers-reduced-motion:reduce){.sky-khom{display:none}}.cal-sec{--cal-board-a:#c41e12;--cal-board-b:#7d0f0a;--cal-board-ink:#ffe08a;--cal-paper:#fbf3e2;--cal-edge:#e6d6b6;--cal-ink:#2a1a12;--cal-dim:#7a6250;--cal-accent:#c2160d;z-index:2;padding:0 var(--space-gutter) clamp(4rem, 12vw, 8rem);background:radial-gradient(90% 60% at 50% 40%, rgb(var(--red-rgb) / .12), transparent 70%);position:relative}:root[data-festival=jay] .cal-sec{--cal-board-a:#f2c230;--cal-board-b:#c98d10;--cal-board-ink:#a3120b;--cal-paper:#fffbea;--cal-edge:#efe2a8}:root[data-festival=halloween] .cal-sec{--cal-board-a:#4a1f6b;--cal-board-b:#1e0b2e;--cal-board-ink:#ff9a2e;--cal-paper:#f3ead8;--cal-edge:#d6c6a6;--cal-ink:#1c1222;--cal-accent:#d2541a}.cal-sec h2{margin:0 0 1rem;font-size:clamp(2.3rem,9vw,4.6rem)}.cal-card{background:linear-gradient(160deg, var(--panel-a), var(--panel-b));border:1px solid var(--gold-line);box-shadow:inset 0 0 0 4px #0a12148c, inset 0 0 0 5px rgb(var(--gold-rgb) / .3), 0 0 60px -20px var(--red-hot);border-radius:.3rem 1.4rem;align-items:center;gap:1.5rem;padding:clamp(1.2rem,4vw,2.2rem);display:grid}.cal-hang{transform-origin:50% -2rem;width:min(100%,20rem);margin:0 auto;animation:6s ease-in-out infinite calSway}@keyframes calSway{0%,to{transform:rotate(-.8deg)}50%{transform:rotate(.8deg)}}.cal-string{width:140px;height:54px;margin:0 auto -6px;display:block;overflow:visible}.cal-board{z-index:3;text-align:center;background:linear-gradient(160deg, var(--cal-board-a), var(--cal-board-b));border-radius:10px 10px 4px 4px;grid-template-columns:2.6rem 1fr 2.6rem;align-items:center;padding:.7rem .8rem .6rem;display:grid;position:relative;box-shadow:inset 0 0 0 2px #ffe08a59,inset 0 0 0 5px #00000021,0 6px 14px #00000080}.cal-board b{color:var(--cal-board-ink);font-size:1.2rem;line-height:1.2;display:block}.cal-board small{letter-spacing:.14em;color:var(--cal-board-ink);opacity:.8;font-size:.68rem;display:block}.cal-seal{width:2.4rem;height:2.4rem;color:var(--cal-board-a);background:var(--cal-board-ink);box-shadow:0 0 0 2px var(--cal-board-b), 0 0 0 3px var(--cal-board-ink);border-radius:50%;place-items:center;font-size:1.4rem;display:grid}.cal-clip{z-index:2;background:linear-gradient(#d9c08a,#8a6a2a);border-radius:0 0 3px 3px;height:10px;margin:0 10px;position:relative;box-shadow:0 3px 4px #0006}.cal-pad{height:25.5rem;margin:0 6px;position:relative}.cal-pad:before{content:"";background:repeating-linear-gradient(to bottom, var(--cal-paper) 0 2px, var(--cal-edge) 2px 3px);border-radius:0 0 6px 6px;position:absolute;inset:0 0 -8px;box-shadow:0 10px 18px #0009}.cal-sheet{isolation:isolate;color:var(--cal-ink);background:radial-gradient(120% 80% at 50% 40%, #ffffff59, transparent 70%), var(--cal-paper);box-shadow:0 1px 0 var(--cal-edge), 0 2px 6px #0003;transform-origin:0 0;touch-action:pan-y;border-radius:0 0 4px 4px;transition:transform .4s cubic-bezier(.2,1.6,.4,1);position:absolute;inset:0 0 6px;overflow:hidden}.cal-sheet.pulling{transition:none;box-shadow:0 14px 26px #0006}.cal-pad>.cal-sheet:last-child:not([aria-hidden]){cursor:grab}.cal-sheet:before{content:"";background:radial-gradient(circle, var(--cal-edge) 1.2px, transparent 1.6px) 0 0 / 8px 3px repeat-x;height:3px;position:absolute;top:4px;left:0;right:0}.cal-in{flex-direction:column;padding:.9rem .9rem .8rem;display:flex;position:absolute;inset:0}.cal-top{color:var(--cal-dim);justify-content:space-between;align-items:baseline;gap:.5rem;font-size:.8rem;font-weight:600;display:flex}.cal-top b{color:var(--cal-ink);font-weight:800}.cal-top .han{color:var(--cal-accent);font-size:.8rem}.cal-mid{flex:1;grid-template-columns:1.8rem 1fr 1.8rem;align-items:center;display:grid}.cal-vert{writing-mode:vertical-rl;letter-spacing:.15em;color:var(--cal-accent);justify-self:center;font-size:1.05rem;line-height:1}.cal-pillar{color:var(--cal-dim)}.cal-day{text-align:center;justify-items:center;display:grid}.cal-num{font-family:var(--font-display);letter-spacing:-.04em;color:var(--cal-ink);font-size:8.4rem;font-weight:800;line-height:.95}.cal-sheet.sunday .cal-num{color:var(--cal-accent)}.cal-dow{align-items:center;gap:.35rem;margin-top:.15rem;font-size:1.05rem;font-weight:800;display:inline-flex}.cal-dow i{background:var(--c);width:.7rem;height:.7rem;box-shadow:0 0 0 2px #fff, 0 0 0 3px var(--c);border-radius:50%}.cal-dow small{letter-spacing:.12em;color:var(--cal-dim);font-size:.66rem;font-weight:600}.cal-lunar{color:var(--cal-dim);margin-top:.15rem;font-size:.8rem}.cal-rows{border-top:1.5px dashed var(--cal-edge);gap:.1rem;margin:0;padding-top:.45rem;font-size:.8rem;line-height:1.5;display:grid}.cal-rows div{justify-content:space-between;align-items:baseline;gap:.5rem;display:flex}.cal-rows dt{color:var(--cal-dim)}.cal-rows dd{margin:0;font-weight:800}.cal-rows dd.soon{color:var(--cal-accent)}.cal-saying{font-family:var(--font-display);text-align:center;margin:.45rem 0 0;font-size:.85rem;line-height:1.4}.cal-corner{background:linear-gradient(315deg, transparent 50%, var(--cal-edge) 50%, #fff 62%, var(--cal-edge) 100%);touch-action:none;cursor:grab;border-top-left-radius:.4rem;width:2.6rem;height:2.6rem;position:absolute;bottom:0;right:0;box-shadow:-2px -2px 5px #0000001f}.cal-tomorrow{z-index:1;color:var(--cal-accent);border:2px solid var(--cal-accent);opacity:.85;background:#ffffff8c;border-radius:.3rem;padding:0 .45rem;font-size:.8rem;font-weight:800;position:absolute;top:3.4rem;right:1.9rem;transform:rotate(-12deg)}.cal-side{text-align:center;justify-items:center;gap:.6rem;display:grid}.cal-hint{color:var(--dim);margin:0;font-size:.85rem}.cal-msg{min-height:1.6em;font-family:var(--font-display);color:var(--gold-pale);margin:0}.cal-brazier{width:11rem;height:5rem;position:relative}.cal-brazier .bowl{height:3.6rem;color:var(--gold-dark);box-shadow:inset 0 6px 0 var(--gold-dark), 0 8px 20px #000000b3;background:linear-gradient(#5a3a1a,#2a1608);border-radius:6px 6px 60px 60px;padding-top:.7rem;font-size:1.3rem;font-style:normal;line-height:1.2;position:absolute;bottom:0;left:0;right:0}.cal-brazier .glow{filter:blur(4px);opacity:.45;background:radial-gradient(closest-side,#ffb24a,#ff6a1a80,#0000);border-radius:50%;height:2.5rem;transition:opacity .4s;position:absolute;bottom:2.8rem;left:10%;right:10%}.cal-brazier.hot .glow{opacity:1;animation:.15s infinite alternate calFlick}@keyframes calFlick{to{transform:scaleY(1.15)}}.cal-note{max-width:36ch;color:var(--dim);opacity:.8;margin:.4rem 0 0;font-size:.75rem}@property --cal-burn{syntax:"<percentage>";inherits:true;initial-value:0%}.cal-falling{z-index:60;pointer-events:none;-webkit-mask-image:radial-gradient(140% 120% at 50% 108%, transparent var(--cal-burn), #000 calc(var(--cal-burn) + 2%));-webkit-mask-image:radial-gradient(140% 120% at 50% 108%, transparent var(--cal-burn), #000 calc(var(--cal-burn) + 2%));mask-image:radial-gradient(140% 120% at 50% 108%, transparent var(--cal-burn), #000 calc(var(--cal-burn) + 2%));border-radius:4px;transition:transform .9s cubic-bezier(.5,0,.75,0);position:fixed;inset:auto}.cal-falling.burning{--cal-burn:120%;transition:--cal-burn 1.6s linear}.cal-falling:after{content:"";background:radial-gradient(140% 120% at 50% 108%, transparent calc(var(--cal-burn) + 1%), #ffd27a calc(var(--cal-burn) + 3%), #ff6a1a calc(var(--cal-burn) + 5%), #2a0e04 calc(var(--cal-burn) + 8%), #5a2a1066 calc(var(--cal-burn) + 13%), transparent calc(var(--cal-burn) + 20%));position:absolute;inset:0}.cal-spark{z-index:61;pointer-events:none;width:4px;height:4px;box-shadow:0 0 6px var(--ember);background:#ffb24a;border-radius:50%;position:fixed}@media (width>=820px){.lamp-card,.incense-card,.cal-card{grid-template-columns:1fr 1fr}.steps{grid-template-columns:repeat(3,1fr)}.step{padding:4.6rem 1.4rem 1.4rem}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:1ms!important;animation-duration:1ms!important;animation-iteration-count:1!important}.rv{opacity:1;transform:none}.steam,.ash,.censer i:before,.incense-smoke{display:none}}
