@font-face{font-family:WofoText;src:url('/assets/fonts/blessing/MaShanZheng-Regular.ttf') format('truetype');font-display:swap}*{box-sizing:border-box}body{margin:0;background:#fbf2e3;color:#684824;font:16px/1.65 system-ui,"Microsoft Yahei",sans-serif}body:before{content:"";position:fixed;inset:0;background:var(--zen-bg) center/cover no-repeat;opacity:.55;z-index:-1;pointer-events:none}button,input,select{font:inherit;color:inherit}button,a,input,select{outline-offset:4px}button{cursor:pointer;border:1px solid #d6b582;background:#fff9ee;border-radius:24px;padding:10px 21px;transition:background .18s,box-shadow .18s}button:hover{background:#f7e7c8}button:disabled{cursor:wait;opacity:.55}a{color:inherit;text-decoration:none}header{display:flex;align-items:center;gap:24px;padding:16px 4vw;background:#fff9edeb;border-bottom:1px solid #dfc99d;position:relative;z-index:2}.brand{font-size:27px;font-weight:800;white-space:nowrap;letter-spacing:2px}.brand small{font:10px system-ui;display:block;letter-spacing:4px;line-height:1}.brand-title{font:24px WofoText,serif;border-left:1px solid #b39466;padding-left:22px}nav{margin-left:auto;display:flex;align-items:center;gap:8px}nav button{border:0;background:none;padding:8px 12px}nav a{font-size:14px}main{max-width:1440px;margin:auto;padding:0 32px}.hero{display:grid;grid-template-columns:1fr 1fr;min-height:500px;align-items:center}.hero-copy{padding:35px 0 35px 5%}.eyebrow{font-size:14px;letter-spacing:5px;color:#98703b}.hero h1{font:clamp(42px,4.5vw,70px)/1.4 WofoText,serif;margin:18px 0}.intro{font-size:23px;letter-spacing:4px}.primary{border:1px solid #b97b26;background:linear-gradient(110deg,#dfa84e,#9c621c);color:#fffdf5;box-shadow:0 5px 12px #9a65232b,inset 0 0 0 3px #f7d79788;font:24px WofoText,serif;padding:16px 36px;border-radius:40px}.primary:hover{background:linear-gradient(110deg,#e9b75f,#a9732c)}.primary span{margin-left:18px}.subtle{font-size:13px;color:#91785a;line-height:1.7}.hero-art{position:relative;height:490px;background:radial-gradient(ellipse at 50% 95%,#77563833,transparent 40%)}.hero-art canvas{width:100%;height:100%;touch-action:pan-y}.hero-art img{height:90%;width:100%;object-fit:contain}.model-note{position:absolute;bottom:8px;left:0;width:100%;text-align:center;font:12px system-ui;color:#8d775a}.style-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.style-card{height:220px;border:1px solid #c99d5f;border-radius:18px;text-align:left;padding:23px 18px;position:relative;overflow:hidden;background:#fff8e9b5;box-shadow:inset 0 0 0 4px #fff7e9}.style-card img{position:absolute;right:-8px;bottom:0;width:58%;height:90%;object-fit:contain}.style-card strong{position:relative;z-index:1;font:29px WofoText,serif;display:block}.style-card small{display:block;font-size:12px;width:44%;margin:12px 0;color:#8a6a43}.style-card span{font-size:12px;border-bottom:1px solid #b39466}.style-card[aria-pressed=true]{background:#fceac8;box-shadow:inset 0 0 0 2px #ba862f}.steps{display:flex;justify-content:space-around;margin:28px 0;padding:24px 0;border:1px solid #c9a56b;border-radius:16px;background:#fff9edb5;list-style:none}.steps li{display:flex;gap:18px;align-items:center}.steps b{font:32px WofoText,serif;color:#b4873e}.steps span{font-size:20px}.steps small{display:block;font-size:13px;color:#957959}.section-heading{text-align:center;padding:32px 0 20px}.section-heading h1,.result-heading h1{font:46px WofoText,serif;margin:12px 0}.section-heading p{margin:8px}.wish-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,3fr);gap:24px;padding:0 0 40px}.wish-illustration{text-align:center;align-self:center}.wish-illustration img{width:90%;height:500px;object-fit:contain;filter:drop-shadow(0 8px 18px #926d3622)}.panel{border:1px solid #d7b889;background:#fff9efdb;padding:28px;border-radius:24px}label{display:block}select,input{background:#fffcf5;border:1px solid #d4b38b;border-radius:12px;padding:10px 14px;max-width:100%}details{margin:18px 0}summary{cursor:pointer}.date-fields{display:flex;gap:12px}.date-fields label{flex:1;min-width:0}.date-fields input,.date-fields select{display:block;width:100%}.text-button{border:0;background:none;text-decoration:underline;padding:8px 0}h2{font:27px WofoText,serif;margin:20px 0 12px}.wish-options{display:grid;grid-template-columns:1fr 1fr;gap:12px}.wish-choice{font:24px WofoText,serif;border-radius:16px;display:flex;align-items:center;padding:10px 18px;gap:12px;min-height:90px}.wish-choice img{height:65px;width:60px;object-fit:contain}.chips{display:flex;flex-wrap:wrap;gap:9px;margin:16px 0 24px}.chips button{font-size:14px;padding:8px 17px}button[aria-pressed=true]{border-color:#a77628;background:#f8e7c4;box-shadow:inset 0 0 0 1px #b88435}form>.primary{width:100%;margin-top:8px}.result-heading{text-align:center;padding:24px 0 8px}.result-heading p{margin:6px}.result-layout{display:grid;grid-template-columns:minmax(0,46fr) minmax(0,54fr);gap:24px;align-items:start}.portrait{text-align:center;position:relative}.portrait>img{height:420px;width:100%;object-fit:contain;filter:drop-shadow(0 12px 30px #b5976533)}.portrait>p{max-width:420px;margin:12px auto;font-size:14px}.badge{background:#ede4cc;border-radius:20px;padding:4px 14px;font-size:12px}.cup-wrap{height:310px;position:relative}.cup-wrap canvas{height:100%;width:100%;touch-action:pan-y}.cup-wrap img{height:100%;width:100%;object-fit:contain}.blessing{max-width:520px;margin:12px auto}.blessing span{font-size:12px;color:#9a8264;margin-left:10px}.blessing input{display:block;width:100%;text-align:center;font:26px WofoText,serif;padding:14px}.result-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}.result-actions .primary{width:100%;max-width:520px}.picker{margin:24px 0}.picker-title{display:flex;align-items:center;justify-content:space-between;gap:12px}.picker-title h2{margin:0}.picker-title label{font-size:14px}.figure-list{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.figure-choice{padding:10px 8px;border-radius:14px;min-width:0}.figure-choice img{width:100%;height:150px;object-fit:contain}.figure-choice strong,.figure-choice small{display:block;font-size:14px}.figure-choice small{font-size:11px;color:#978162}#status{text-align:center;min-height:26px;color:#80623e}#retry{display:block;margin:10px auto}footer{text-align:center;border-top:1px solid #d9c3a0;padding:16px;font-size:13px;color:#8b7658}footer span{margin-left:20px;font-size:12px}dialog{border:1px solid #cfad73;background:#fff8e9;color:#684824;border-radius:24px;padding:32px;max-width:min(90vw,800px);max-height:85vh}dialog::backdrop{background:#574b3888;backdrop-filter:blur(6px)}#reveal{text-align:center;min-width:320px}.reveal-light{font-size:70px;color:#cca24e;animation:breathe 1.8s infinite alternate}#work-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:18px}#work-list img{max-width:100%;height:160px;object-fit:contain;display:block;margin:auto}[hidden]{display:none!important}@keyframes breathe{to{transform:scale(1.16);opacity:.5}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}@media(max-width:900px){header{flex-wrap:wrap;gap:12px}.brand-title{font-size:21px}nav{width:100%;justify-content:space-between;margin:0}main{padding:0 18px}.hero{min-height:390px}.hero-art{height:360px}.style-grid{grid-template-columns:repeat(2,1fr)}.style-card{height:200px}.wish-layout{grid-template-columns:1fr}.wish-illustration{display:none}.figure-list{grid-template-columns:repeat(4,minmax(0,1fr))}.result-layout{gap:12px}.portrait>img{height:330px}.result-actions button{font-size:15px}.result-actions .primary{font-size:23px}}@media(max-width:580px){body:before{background-image:var(--zen-mobile)}header{padding:14px 18px}.brand{font-size:23px}.brand-title{font-size:19px;flex:1;padding-left:12px}nav{font-size:12px}nav button{font-size:13px;padding:4px}.hero{display:flex;flex-direction:column;text-align:center;min-height:0}.hero-copy{padding:20px 0 0}.hero h1{font-size:41px;margin:8px 0}.eyebrow{font-size:12px;letter-spacing:3px}.intro{font-size:17px;letter-spacing:2px}.hero .primary{font-size:23px;padding:14px 30px}.hero-art{height:300px;width:100%;margin-top:-5px}.style-grid{gap:10px}.style-card{height:160px;padding:14px 10px}.style-card strong{font-size:22px}.style-card small{font-size:11px}.style-card img{width:60%;height:80%}.steps{padding:16px 8px;gap:12px}.steps li{display:block}.steps b{font-size:24px}.steps span{font-size:15px;display:block}.steps small{font-size:11px}.panel{padding:20px 16px}.section-heading h1,.result-heading h1{font-size:36px}.section-heading{padding:22px 0 16px}.wish-layout{padding-bottom:12px}.wish-choice{font-size:20px;padding:8px;gap:4px}.wish-choice img{width:44px}.result-layout{display:flex;flex-direction:column;gap:0}.portrait,.result-detail{width:100%}.portrait>img{height:285px}.portrait>p{font-size:13px}.cup-wrap{height:270px}.figure-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.figure-choice img{height:110px}.figure-choice strong{font-size:13px}.picker-title{align-items:start;flex-direction:column}.chips{gap:8px}.chips button{padding:7px 12px}.result-actions{position:relative}.result-heading{padding-top:20px}footer span{display:block;margin:6px 0 0}.date-fields{gap:8px}}

/* Theme-local sound remains operable while artwork is saving. */
#audio-status{margin:0;padding:0 24px;text-align:center;color:#8d633c;font-size:13px}#audio-status:not(:empty){padding:10px 24px}#sound-toggle[aria-pressed="true"]{background:#f5e5c4}

/* Mobile result leads with the actual cup application. */
@media(max-width:700px){.result-detail{order:-1}.style-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Share cards and original download confirmation stay separate from production artwork. */
.wofo-share-dialog,.wofo-download-dialog{box-sizing:border-box;width:min(94vw,560px);max-height:92vh;overflow:auto;border:1px solid #c99f61;border-radius:24px;padding:24px;background:#fff8eb;color:#654526}.wofo-share-dialog::backdrop,.wofo-download-dialog::backdrop{background:#30221388}.wofo-share-dialog #share-canvas{display:block;width:min(100%,360px);height:auto;margin:14px auto;border-radius:12px;box-shadow:0 6px 24px #65452622}.wofo-share-dialog p,.wofo-download-dialog p{line-height:1.7}.wofo-share-dialog .primary{width:100%}.wofo-download-dialog .download-cost{font-size:20px;font-weight:700}.wofo-download-dialog [data-recharge]{display:block;margin-top:18px}.wofo-download-dialog [hidden]{display:none}.wofo-download-dialog .actions{display:flex;gap:12px;justify-content:flex-end;flex-wrap:wrap}

/* Neutral lotus is presentation only; no material ID or recommendation input. */
dialog#reveal{position:fixed;inset:0;margin:auto;max-height:90vh}
.lotus-scene{height:350px;width:100%;position:relative;isolation:isolate;overflow:hidden}
.lotus-aura{position:absolute;left:50%;top:48%;width:280px;height:280px;transform:translate(-50%,-50%);border-radius:50%;background:radial-gradient(ellipse,#fffbd9d9,transparent 68%)}
.lotus-petals{position:absolute;left:50%;bottom:72px;width:0;height:170px;filter:drop-shadow(0 7px 14px #ba974a33)}
.petal{position:absolute;bottom:0;left:-38px;width:76px;height:167px;border-radius:85% 85% 52% 52%;background:linear-gradient(95deg,#f6d8a7,#fff1d4 38%,#edbdb0 72%,#cb7886);border:1px solid #f8d3b5;transform-origin:50% 100%;transition:transform 1.65s ease,opacity 1.6s ease}
.p0{transform:rotate(-19deg);height:145px}.p1{transform:rotate(19deg);height:145px}.p2{transform:rotate(-10deg);height:160px}.p3{transform:rotate(10deg);height:160px}.p4{transform:rotate(-4deg);height:175px}.p5{transform:rotate(4deg);height:175px}.p6{height:180px;width:58px;left:-29px;background:linear-gradient(90deg,#f1baa4,#fff1d5 48%,#df9c9e);border-radius:100% 100% 55% 55%}
.lotus-rings{position:absolute;left:50%;bottom:35px;width:290px;height:45px;transform:translateX(-50%);border:2px solid #f2d38e;border-radius:50%;box-shadow:0 0 18px #ffeaac,inset 0 0 18px #fff9c1}
.lotus-spark{position:absolute;color:#bb8c37;font-size:20px;opacity:.65}.s1{left:23%;top:47%}.s2{right:20%;top:24%;font-size:40px}.s3{right:27%;bottom:27%;font-size:13px}
.lotus-caption{text-align:center;font:26px WofoText,serif;letter-spacing:3px;color:#916b35}
.opening .p0{transform:rotate(-74deg)}.opening .p1{transform:rotate(74deg)}.opening .p2{transform:rotate(-55deg)}.opening .p3{transform:rotate(55deg)}.opening .p4{transform:rotate(-30deg)}.opening .p5{transform:rotate(30deg)}.opening .p6{transform:scale(.9,.8)}
.opening .lotus-spark{animation:wofo-spark 1.5s ease-in-out infinite alternate}.arriving .lotus-petals{opacity:.35;transition:opacity 1s}
@keyframes wofo-spark{to{transform:translateY(-22px);opacity:1}}
.match-tags{display:flex;justify-content:center;flex-wrap:wrap;gap:10px;margin:14px 0}.match-tags span,.match-tags text{border:1px solid #cb9f55;border-radius:24px;padding:5px 14px;background:#fff4d7;font-size:14px}

.hero-art{background:none;display:flex;flex-direction:column;justify-content:center}.wish-illustration{display:block}.style-card{height:145px}.style-card small{width:auto}.wish-choice:before{content:'◇';color:#b88639;font:20px serif}#reveal{position:relative;width:430px;overflow:hidden}#reveal-image{position:absolute;top:22px;left:20%;width:60%;height:290px;object-fit:contain;opacity:0;transform:translateY(20px);transition:opacity 1.1s,transform 1.1s;pointer-events:none}#reveal.arriving #reveal-image{opacity:1;transform:translateY(0)}#available-list{margin:18px 0}#available-list img{width:100%;height:110px;object-fit:contain;display:block}#no-match{text-align:center;padding:16px}#next-figure:disabled{cursor:default}.result-heading h1{font-size:58px}.portrait>img{height:480px}@media(max-width:900px){.wish-illustration .lotus-scene{height:230px}.wish-illustration .lotus-petals{transform:scale(.75);transform-origin:bottom}.wish-illustration .lotus-caption{font-size:22px;margin:0}.hero-art{height:auto}.lotus-caption{font-size:22px}}@media(max-width:580px){.style-card{height:128px}.result-heading h1{font-size:40px}.portrait>img{height:300px}.lotus-scene{height:280px}#reveal{padding:15px}#reveal-image{height:260px;top:10px}}

@media(max-width:580px){nav{flex-wrap:wrap;justify-content:flex-start;gap:6px 12px}nav button,nav a{white-space:nowrap;flex-shrink:0}.match-tags{gap:7px}.match-tags span{font-size:12px}.result-heading h1{margin:8px 0}}

/* Package Lotus Motion V1: one contained coordinate space, no background replacement. */
.lotus-idle{position:relative;width:100%;height:360px;overflow:hidden;pointer-events:none;isolation:isolate}
.lotus-idle-stage{position:absolute;left:50%;top:50%;width:360px;height:360px;transform:translate(-50%,-50%)}
.lotus-light{position:absolute;left:15%;top:13%;width:70%;height:70%;border-radius:50%;background:radial-gradient(ellipse,#ffdc7063,#ffdc701f 43%,transparent 72%);animation:lotus-breathe 6s ease-in-out infinite}
.lotus-idle .lotus-flower{position:absolute;z-index:2;left:29%;top:7%;width:42%;height:67%;object-fit:contain;opacity:0;animation:lotus-float 6s ease-in-out infinite;transform-origin:center bottom}
.lotus-idle[data-loaded=true] .lotus-flower{opacity:1}
.lotus-fallback{position:absolute;left:37%;top:22%;width:26%;height:42%;border-radius:85% 85% 60% 60%;background:linear-gradient(100deg,#efafa3,#fff0ce 48%,#df9b9c);border:1px solid #e4b38d}
.lotus-idle[data-loaded=true] .lotus-fallback{display:none}
.lotus-ring{position:absolute;left:17%;top:72%;width:66%;height:8%;box-sizing:border-box;border:1.4px solid #e2b45eee;border-radius:50%;box-shadow:0 0 8px #ffc74680,inset 0 0 7px #ffe39c6b;opacity:.6;animation:lotus-ring 5.8s ease-out infinite}
.lotus-ring-outer{animation-delay:2.9s;opacity:0}
.lotus-particle{position:absolute;width:4px;height:4px;z-index:3;border-radius:50%;background:#fff3bc;box-shadow:0 0 7px 2px #ffd368cc;opacity:0;animation:lotus-spark 7s ease-in-out infinite}
.lotus-particle-a{left:22%;top:40%}.lotus-particle-b{left:70%;top:25%;animation-delay:2.4s}.lotus-particle-c{left:78%;top:59%;animation-delay:4.7s}
@keyframes lotus-float{0%,100%{transform:translateY(0) rotate(-.7deg)}50%{transform:translateY(-7px) rotate(.7deg)}}
@keyframes lotus-breathe{0%,100%{opacity:.62;transform:scale(.96)}50%{opacity:.95;transform:scale(1.04)}}
@keyframes lotus-ring{0%{transform:scale(.82);opacity:0}20%{opacity:.8}85%{opacity:.35}100%{transform:scale(1.28);opacity:0}}
@keyframes lotus-spark{0%,20%,100%{opacity:0;transform:translateY(4px) scale(.7)}38%,55%{opacity:.9}75%{opacity:0;transform:translateY(-10px) scale(1)}}
.lotus-idle[data-paused=true] *{animation-play-state:paused!important}
.lotus-idle[data-covered=true]{visibility:hidden}
.lotus-idle[data-static=true] *{animation:none!important}
.lotus-idle[data-static=true] .lotus-particle,.lotus-idle[data-static=true] .lotus-ring-outer{opacity:0}
.lotus-toggle{display:block;width:max-content;margin:8px auto 16px;font-size:12px;padding:4px 13px;background:#fff8e780;color:#866539}
#reveal{position:fixed;inset:0;margin:auto;max-height:90vh}
#reveal .lotus-idle{height:300px;transition:opacity 1.1s}
#reveal .lotus-idle-stage{width:300px;height:300px}
#reveal.arriving .lotus-idle{opacity:0}
@media(max-width:900px){.wish-illustration .lotus-idle{height:240px}.wish-illustration .lotus-idle-stage{width:260px;height:260px}}
@media(max-width:580px){.lotus-idle{height:280px}.lotus-idle-stage{width:300px;height:300px}.lotus-caption{letter-spacing:1px}}
@media(prefers-reduced-motion:reduce){.lotus-idle *{animation:none!important}.lotus-particle,.lotus-ring-outer{opacity:0}}

/* Home showcases the product; only the input/reveal screens use the neutral lotus. */
#home .hero-art{display:block;height:490px;background:radial-gradient(ellipse at 50% 95%,#77563822,transparent 40%)}
#home .style-card{height:220px}#home .style-card small{width:44%}
.secondary{margin:0 0 14px;background:#fff8e8bd;font-size:16px}
@media(max-width:900px){#home .hero-art{height:360px}#home .style-card{height:200px}}
@media(max-width:580px){#home .hero-art{height:300px}#home .style-card{height:160px}}

/* Home style rail: contain the artwork, leave the next card visibly in reach. */
#home .style-browser{min-width:0;margin-top:12px}
#home .style-grid{display:flex;flex-wrap:nowrap;gap:20px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:#c5a36b #f6ecd9;padding:8px 2px 14px;max-width:100%;cursor:grab;touch-action:pan-x pan-y;scroll-padding-inline:2px}
#home .style-card{flex:0 0 calc((100% - 80px)/4.35);height:344px;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:10px;padding:16px 14px 22px;text-align:center;border:1px solid #d8b67d;border-radius:22px;background:radial-gradient(ellipse at 50% 42%,#f8dfab66,transparent 65%),#fff9eddb;box-shadow:inset 0 0 0 4px #fffdf466,0 5px 14px #9a70200a;scroll-snap-align:start;user-select:none;transition:background .2s,box-shadow .2s}
#home .style-card img{position:static;width:100%;height:258px;min-height:0;object-fit:contain;pointer-events:none}
#home .style-card strong{font:29px/1.3 WofoText,serif;white-space:nowrap}
#home .style-card:hover{background-color:#fff3dd;box-shadow:inset 0 0 0 4px #fffdf488,0 5px 16px #9a702022}
#home .style-card:focus-visible{outline:3px solid #aa7528;outline-offset:-5px}
#home .style-grid.is-dragging{scroll-snap-type:none;cursor:grabbing}
#home .style-grid.is-dragging .style-card{cursor:grabbing}
.style-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 2px 0}
.style-toolbar p{margin:0;font-size:14px;color:#8e6e43}.style-toolbar p span{font-size:12px}
.style-controls{display:flex;gap:10px}.style-controls button{width:44px;height:44px;padding:0;font-size:23px;line-height:1;background:#fff8e9b5;border:1px solid #c99d5f}
.style-controls button:disabled{cursor:default;opacity:.32}.style-controls button:focus-visible{outline:3px solid #aa7528}
@media(max-width:1200px){#home .style-card{flex-basis:calc((100% - 60px)/3.35);height:326px}#home .style-card img{height:240px}}
@media(max-width:700px){#home .style-grid{gap:14px}#home .style-card{flex-basis:calc((100% - 28px)/2.3);height:294px;padding:14px 12px 18px}#home .style-card img{height:215px}#home .style-card strong{font-size:26px}}
@media(max-width:480px){#home .style-card{flex-basis:76%;height:330px}#home .style-card img{height:250px}.style-toolbar p span{display:block}.style-toolbar p{font-size:13px}}
