:root{font-family:"Noto Sans SC","Microsoft YaHei",system-ui,sans-serif;color:#453b52;background:#f6f0f7;font-size:16px;scroll-behavior:smooth}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,[role=button]:focus-visible{outline:3px solid #9d72bc;outline-offset:3px}a{color:inherit;text-decoration:none}[hidden]{display:none!important}.sky{position:fixed;inset:0;z-index:-1;background:radial-gradient(circle at 14% 14%,#fff7f9 0 8%,transparent 32%),radial-gradient(circle at 82% 10%,#eadbf6 0 6%,transparent 30%),radial-gradient(circle at 50% 76%,#eff0ff 0 7%,transparent 31%),#f6f0f7}.sky:after{content:"✦　·　✧　　　·　✦　　　　　✧　　　·　　　✦";position:absolute;left:5%;right:5%;top:13%;color:#d8b7d5;letter-spacing:1.2rem;line-height:14rem;opacity:.65;word-break:break-all}.shell{max-width:1040px;margin:auto;position:relative}.section{padding:70px max(24px,5vw)}.eyebrow{font-size:.76rem;letter-spacing:.25em;font-weight:800;color:#a383b5;margin:0 0 15px}.primary-btn{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:999px;background:#7e6099;color:#fff;min-height:52px;padding:0 28px;font-weight:700;box-shadow:0 10px 25px #7e609933;transition:transform .2s,background .2s}.primary-btn:hover{transform:translateY(-2px);background:#6e5288}.gate{min-height:100svh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:36px 24px;text-align:center;position:relative}.gate-orbit{height:158px;width:158px;position:relative;display:grid;place-items:center;margin-bottom:22px;border:2px dashed #d6c1df;border-radius:50%;transform:rotate(-15deg)}.gate-orbit:before{content:"";position:absolute;width:118px;height:118px;border-radius:50%;background:#f6dce5;box-shadow:0 0 0 16px #f9eaf0}.planet{font-size:4rem;color:#bb8fc0;z-index:1}.orbit-dot{position:absolute;width:14px;height:14px;background:#d6b5d5;border-radius:50%}.orbit-a{top:8px;right:20px}.orbit-b{bottom:6px;left:28px;background:#e8bdad}.gate h1{font-family:"Songti SC","SimSun",serif;font-size:clamp(2.25rem,7vw,3.7rem);line-height:1.24;letter-spacing:.04em;margin:0;color:#514261}.gate-sub{max-width:330px;line-height:1.8;color:#7b7083;margin:17px 0 24px}.gate form{background:#ffffffcc;border:1px solid #fff;border-radius:24px;padding:24px;width:min(100%,420px);box-shadow:0 16px 55px #806b9140;text-align:left}.gate label{display:block;font-size:.92rem;font-weight:700;margin:4px 0 9px}.gate input{width:100%;min-height:48px;border:1px solid #d9ccdf;border-radius:12px;padding:10px 14px;background:#fff;color:#403747;margin-bottom:10px}.gate small{display:block;color:#8e8196;font-size:.8rem;margin:0 0 20px}.gate .primary-btn{width:100%;margin-top:8px}.form-message{min-height:1.2em;color:#ad5576;font-size:.87rem;margin:0}.gate-note{font-size:.75rem;color:#a096aa;margin:18px 0 0}.site-header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:20px max(24px,5vw);position:sticky;top:0;z-index:10;backdrop-filter:blur(18px);background:#f6f0f7d9;border-bottom:1px solid #ffffffa1}.brand{display:flex;align-items:center;gap:7px;font-weight:800;letter-spacing:.08em}.brand-star{font-size:1.45rem;color:#c489b4}.day-chip{border-radius:999px;background:#fff;color:#826a9e;padding:8px 13px;font-size:.78rem;font-weight:800;white-space:nowrap}.hero{min-height:min(830px,100svh);display:flex;flex-direction:column;justify-content:center;position:relative;overflow:hidden}.hero h1{font-family:"Songti SC","SimSun",serif;font-size:clamp(2.1rem,6.8vw,4.8rem);font-weight:500;line-height:1.34;letter-spacing:.02em;margin:0;max-width:730px;color:#4e3e5d;z-index:1}.hero h1 em{font-style:normal;color:#a66f9c}.hero-copy{line-height:2.05;max-width:720px;margin:23px 0 25px;color:#685d71;z-index:1}.text-link{font-weight:800;color:#84649e;align-self:flex-start;border-bottom:1px solid #b79ac8;padding-bottom:7px;z-index:1}.text-link span{padding-left:7px}.hero-illustration{position:absolute;right:3%;top:10%;width:280px;height:280px;opacity:.85}.halo{border-radius:50%;position:absolute}.halo-one{width:245px;height:245px;background:#ead8f2;top:15px;left:20px}.halo-two{width:164px;height:164px;border:2px dashed #cea8d1;top:54px;left:61px}.hero-moon{position:absolute;color:#fdf3d0;font-size:8rem;top:36px;left:71px;text-shadow:0 8px 18px #a887ab}.hero-spark{position:absolute;color:#c485ae;font-size:1.6rem}.spark-one{top:19px;right:40px}.spark-two{left:22px;bottom:65px}.pixel-couple{position:absolute;display:flex;gap:13px;bottom:18px;right:13px;transform:rotate(6deg)}.pixel-person{display:block;position:relative;width:42px;height:57px;background:#ba86b9;box-shadow:inset 0 0 0 7px #a176ae,7px 7px 0 #8b6a9d;image-rendering:pixelated}.pixel-person:before{content:"";position:absolute;width:34px;height:30px;background:#f5cbb8;top:-27px;left:4px;box-shadow:0 -7px 0 #65516f}.pixel-person:after{content:"";position:absolute;width:5px;height:5px;left:12px;top:-12px;background:#5c4d60;box-shadow:14px 0 #5c4d60}.person-two{background:#91aaca;box-shadow:inset 0 0 0 7px #7895b8,7px 7px 0 #697b9c}.person-two:before{box-shadow:0 -7px 0 #493d56,7px -12px 0 #493d56}.section-heading{text-align:center;margin:0 auto 42px}.section-heading h2{font-family:"Songti SC","SimSun",serif;font-weight:500;font-size:clamp(2.4rem,6vw,4rem);letter-spacing:.1em;margin:0;color:#4c3f5c}.section-heading p{color:#897c91;line-height:1.7;margin:12px 0}.story{padding-top:95px}.chapter-list{max-width:760px;margin:auto;position:relative}.chapter-list:before{content:"";position:absolute;left:21px;top:15px;bottom:40px;width:2px;background:linear-gradient(#c39fce,#e7c8d8,#bb9bd3)}.chapter{position:relative;padding-left:65px;margin-bottom:28px}.chapter:before{content:"✦";position:absolute;left:4px;top:25px;color:#a679b5;font-size:2rem;text-shadow:0 0 10px #e8c5e9}.chapter-card{background:#fffdfa;border:1px solid #ffffff;border-radius:25px;box-shadow:0 10px 40px #8b789320;overflow:hidden}.chapter-card summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:122px;padding:22px 25px}.chapter-card summary::-webkit-details-marker{display:none}.chapter-card .chapter-kicker{font-size:.72rem;font-weight:800;letter-spacing:.15em;color:#aa8db6}.chapter-card h3{font-family:"Songti SC","SimSun",serif;font-size:1.6rem;margin:9px 0 4px;color:#574766;font-weight:600}.chapter-card .chapter-date{color:#a495ab;font-size:.82rem}.chapter-toggle{display:grid;place-items:center;min-width:32px;height:32px;border-radius:50%;background:#f4ecf5;color:#8f74a3;font-size:1.3rem}.chapter-card[open] .chapter-toggle{transform:rotate(45deg)}.chapter-content{border-top:1px solid #f1e8ef;padding:4px 25px 26px;color:#665a6e;line-height:1.95}.chapter-content p{margin:15px 0}.chapter-content .placeholder{border:1px dashed #decfe4;background:#faf7fb;border-radius:15px;padding:15px;color:#998a9f}.chapter-label{display:inline-block;background:#f7eaf2;color:#a46c91;padding:6px 11px;border-radius:999px;font-size:.76rem;font-weight:800;margin-top:6px}.chapter-locked{opacity:.78}.chapter-locked:before{content:"✧"}.chapter-locked .chapter-card{padding:24px}.chapter-locked h3{font-family:"Songti SC","SimSun",serif;margin:5px 0 7px;font-size:1.6rem}.chapter-locked p{line-height:1.7;color:#817187}.story-end{text-align:center;padding:34px 0 0}.story-end p{font-family:"Songti SC","SimSun",serif;font-size:1.25rem;line-height:1.9;color:#715f7c}.atlas{padding-top:115px}.map-card{border:7px solid #fff;border-radius:28px;background:#eee6f4;box-shadow:0 16px 45px #82719038;padding:15px 16px 20px;overflow:hidden}.map-topline{display:flex;justify-content:space-between;color:#8d78a1;font-size:.8rem;font-weight:800;letter-spacing:.05em}.china-map{display:block;width:100%;height:auto;max-height:470px;margin:0 auto;image-rendering:pixelated}.map-location{cursor:pointer}.map-location circle{fill:#f8d4e2;stroke:#b073a4;stroke-width:5;transition:transform .2s;transform-box:fill-box;transform-origin:center}.map-location:hover circle,.map-location:focus circle{transform:scale(1.18)}.map-location text{fill:#8b5795;font-size:18px;text-anchor:middle;pointer-events:none}.map-label{fill:#786289;font-weight:800;font-size:19px;paint-order:stroke;stroke:#f6f0f7;stroke-width:5px}.map-caption{display:flex;justify-content:space-around;color:#876d98;font-size:.8rem;gap:10px}.city-tabs{display:flex;gap:9px;align-items:center;overflow-x:auto;padding:19px 2px 14px;white-space:nowrap}.city-tab{background:#fff;border:1px solid #dbcde3;border-radius:999px;color:#78658a;padding:10px 19px;min-height:44px}.city-tab.active{background:#82659e;color:#fff;border-color:#82659e}.city-more{font-size:.78rem;color:#9e91a8;margin-left:6px}.postcard{display:grid;grid-template-columns:minmax(170px,38%) 1fr;background:#fffdfb;border-radius:25px;overflow:hidden;box-shadow:0 12px 34px #856f942a;min-height:270px}.postcard-art{position:relative;overflow:hidden;background:linear-gradient(#e8d3eb 0 52%,#e9c7bf 52%);image-rendering:pixelated}.postcard-art:after{content:"";position:absolute;left:0;right:0;top:49%;border-top:7px solid #fff3d6;opacity:.65}.art-sun{position:absolute;top:37px;right:28px;width:56px;height:56px;border-radius:50%;background:#fff1cf;box-shadow:0 0 0 12px #f9dfd8}.art-hill{position:absolute;bottom:-15px;width:210px;height:130px;background:#a6b4ba;clip-path:polygon(0 100%,50% 0,100% 100%)}.hill-one{left:-45px}.hill-two{right:-72px;background:#879fac;height:115px}.art-person{position:absolute;left:47%;bottom:25px;color:#fff7db;font-size:4rem;text-shadow:5px 5px #9d73a6}.postcard-body{padding:25px}.postcard-stamp{font-size:.7rem;letter-spacing:.15em;color:#ad7f9e;font-weight:800}.postcard h3{font-family:"Songti SC","SimSun",serif;font-size:1.55rem;margin:12px 0;color:#544565}.postcard p{line-height:1.85;color:#706478;margin:0 0 15px}.photo-slot{border:2px dashed #e3d4e4;border-radius:15px;background:#fbf7fb;padding:17px;color:#9f8baa;display:flex;flex-direction:column;gap:3px;font-size:.9rem}.photo-slot small{font-size:.74rem}.quiz-entry{display:flex;justify-content:space-between;gap:25px;align-items:center;margin:35px 0 0;padding:28px;border-radius:25px;background:linear-gradient(125deg,#ece0f3,#fbe9ef)}.quiz-entry h3{font-family:"Songti SC","SimSun",serif;font-size:1.7rem;margin:0;color:#574967}.quiz-entry p{color:#75677f;line-height:1.7;margin:10px 0 0}.quiz-entry .primary-btn{white-space:nowrap}.finale{text-align:center;padding-top:110px;padding-bottom:130px}.finale-stars{font-size:2.6rem;color:#c392bd;margin-bottom:32px}.finale h2{font-family:"Songti SC","SimSun",serif;font-size:clamp(2.2rem,6vw,3.7rem);font-weight:500;color:#5b4969;margin:10px 0 32px}.finale p:not(.eyebrow){max-width:560px;line-height:2.1;margin:0 auto 20px;color:#706278}.finale-sign{display:block;font-family:"Songti SC","SimSun",serif;color:#a87c9f;font-size:1.4rem;margin-top:30px}.footer{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;text-align:center;padding:28px;color:#9a8da3;font-size:.78rem;border-top:1px solid #e9dfee}.footer span:first-child{color:#bd89b1}.footer button{border:0;background:none;color:#826b91;text-decoration:underline}.quiz-overlay{position:fixed;inset:0;z-index:30;background:#302638b8;display:grid;place-items:center;padding:18px}.quiz-panel{position:relative;background:#fffafc;border-radius:27px;padding:32px;width:min(100%,500px);max-height:90svh;overflow:auto;box-shadow:0 25px 80px #24182d7d}.quiz-panel h2{font-family:"Songti SC","SimSun",serif;font-size:2.2rem;color:#594868;margin:0 0 20px}.close-quiz{position:absolute;right:20px;top:17px;border:0;background:#f2eaf4;color:#7f6b8b;border-radius:50%;font-size:1.6rem;width:37px;height:37px}.quiz-progress{color:#aa83aa;font-weight:800;font-size:.82rem;letter-spacing:.1em}.quiz-question{font-family:"Songti SC","SimSun",serif;font-size:1.35rem;line-height:1.65;margin:16px 0 23px;color:#4d4159}.quiz-choices{display:grid;gap:10px}.quiz-choice{border:1px solid #e1d5e7;background:#fff;border-radius:14px;padding:14px 16px;min-height:49px;text-align:left;color:#5a4a66}.quiz-choice:hover{background:#f8f1f9}.quiz-choice:disabled{opacity:.74;cursor:default}.quiz-choice.correct{background:#e8f2e7;border-color:#a5c3a5}.quiz-choice.incorrect{background:#f9e9ed;border-color:#d9aebc}.quiz-feedback{min-height:26px;color:#7f6c89;margin:20px 0}.quiz-next{width:100%}.quiz-result{text-align:center}.quiz-result .result-stars{font-size:2.6rem;color:#d09bbb;letter-spacing:.1em}.quiz-result h3{font-family:"Songti SC","SimSun",serif;font-size:1.8rem;color:#574769}.quiz-result p{line-height:1.85;color:#7a6b82}.quiz-result .primary-btn{width:100%;margin-top:15px}@media(max-width:680px){.hero{min-height:710px;padding-top:60px;padding-bottom:72px}.hero-illustration{width:180px;height:180px;top:3%;right:2%;transform:scale(.66);transform-origin:top right;opacity:.55}.hero h1{font-size:clamp(2rem,7.8vw,3.1rem)}.hero-copy{font-size:.95rem;line-height:1.9}.section{padding-left:22px;padding-right:22px}.chapter{padding-left:45px}.chapter-list:before{left:13px}.chapter:before{left:-4px}.chapter-card summary{padding:19px;min-height:105px}.chapter-content{padding:4px 19px 20px}.postcard{grid-template-columns:1fr}.postcard-art{min-height:175px}.quiz-entry{flex-direction:column;align-items:stretch}.quiz-entry .primary-btn{width:100%}.map-card{padding:10px 7px 14px}.map-topline,.map-caption{font-size:.68rem}.map-label{font-size:22px}.footer{font-size:.75rem}.site-header{padding:15px 22px}.day-chip{font-size:.72rem}}@media(max-width:390px){.gate{padding-left:17px;padding-right:17px}.gate form{padding:20px}.hero h1{font-size:1.9rem}.chapter-card h3{font-size:1.35rem}.postcard h3{font-size:1.35rem}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}

.city-tabs{scrollbar-width:none}.city-tabs::-webkit-scrollbar{display:none}
.gesture-section{padding-top:25px;padding-bottom:40px}.gesture-card{display:grid;grid-template-columns:1fr minmax(220px,38%);gap:25px;align-items:center;padding:28px;border-radius:28px;background:linear-gradient(135deg,#fffafc,#eee5f5);box-shadow:0 12px 38px #856f9420}.gesture-copy h2{font-family:"Songti SC","SimSun",serif;font-size:clamp(1.6rem,4vw,2.35rem);font-weight:500;color:#574766;margin:0 0 12px}.gesture-copy>p:not(.eyebrow){color:#75677f;line-height:1.8;margin:0 0 18px}.gesture-copy .gesture-status{font-size:.83rem;color:#927b9f;margin:13px 0 0}.gesture-stop{display:block;border:0;background:transparent;color:#896e97;text-decoration:underline;margin:12px 0 0;padding:6px}.gesture-stage{position:relative;min-height:200px;aspect-ratio:4/3;border-radius:22px;overflow:hidden;background:radial-gradient(circle at 50% 45%,#fff5dc,#d9c9e9 42%,#9182a7);touch-action:manipulation}.gesture-stage video,.gesture-stage canvas{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.gesture-stage video{transform:scaleX(-1);opacity:.3}.gesture-stage canvas{z-index:1}.gesture-stage-hint{position:absolute;inset:0;display:grid;place-items:center;color:#fff;font-family:"Songti SC","SimSun",serif;font-size:1.05rem;text-shadow:0 2px 12px #594868;pointer-events:none;z-index:2}.gesture-stage.camera-on .gesture-stage-hint{opacity:0}.gesture-stage.camera-on video{opacity:.48}
@media(max-width:680px){.gesture-card{grid-template-columns:1fr;padding:22px}.gesture-stage{min-height:210px;max-height:300px}}

/* The gesture bonus behaves like a small, live storybook scene. */
.gesture-stage{isolation:isolate;min-height:245px;background:radial-gradient(circle at 50% 42%,#fff6dd 0,#d9c8eb 42%,#817496 100%);transition:background .7s ease}
.gesture-stage[data-scene="Open_Palm"]{background:radial-gradient(circle at 50% 42%,#544b84 0,#29264c 56%,#15162f 100%)}
.gesture-stage[data-scene="Victory"]{background:radial-gradient(circle at 48% 38%,#f8deec 0,#c1acd9 56%,#746a9e 100%)}
.gesture-stage[data-scene="Closed_Fist"]{background:radial-gradient(circle at 50% 42%,#f6d8c6 0,#c49db8 52%,#655c85 100%)}
.gesture-scene{position:absolute;z-index:2;inset:0;display:grid;place-items:center;padding:18px;pointer-events:none}
.gesture-scene-panel{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#fffaf0;text-shadow:0 2px 14px #17152f88;animation:scene-arrive .55s cubic-bezier(.2,.8,.2,1) both}
.gesture-scene-panel[hidden]{display:none}
.scene-stars{position:relative;overflow:hidden;background:radial-gradient(ellipse at 50% 52%,#8274a5aa,transparent 62%),radial-gradient(circle at 16% 18%,#fff 0 1px,transparent 2px),radial-gradient(circle at 76% 22%,#fff8dc 0 1.5px,transparent 2.5px),radial-gradient(circle at 83% 73%,#eedbff 0 1px,transparent 2px),radial-gradient(circle at 27% 78%,#fff 0 1px,transparent 2px);background-size:auto,71px 65px,89px 77px,103px 97px,67px 83px}
.scene-orbit{position:absolute;top:12%;font-size:1.25rem;color:#fff5cd;animation:orbit-glow 2.2s ease-in-out infinite}
.scene-caption{font-size:.68rem;letter-spacing:.22em;opacity:.82}
.scene-stars>strong{font-family:"Songti SC","SimSun",serif;font-size:clamp(3.2rem,12vw,5.7rem);font-weight:500;line-height:1.06;letter-spacing:.04em;margin:8px 0;text-shadow:0 0 22px #fff1cc88}
.scene-stars>strong small{font:700 .25em system-ui,sans-serif;letter-spacing:.25em;vertical-align:middle}
.scene-dates{font-size:.77rem;letter-spacing:.12em}.scene-dates i,.scene-youme>strong i{font-style:normal;color:#ffdfaa;padding:0 5px}
.scene-couple{font-family:"Songti SC","SimSun",serif;font-size:.93rem;letter-spacing:.08em;margin-top:13px}
.scene-youme>strong{font-family:Georgia,serif;font-size:clamp(2.7rem,10vw,4.5rem);font-weight:400;letter-spacing:-.04em;margin:4px 0 15px}
.birthday-counts{display:grid;grid-template-columns:1fr 1fr;gap:10px;width:min(100%,360px)}
.birthday-counts>div{display:flex;flex-direction:column;align-items:center;gap:2px;padding:10px 7px;border:1px solid #ffffff6b;border-radius:15px;background:#ffffff22;backdrop-filter:blur(8px)}
.birthday-counts span{font-size:.78rem}.birthday-counts b{font-size:1.15rem;color:#fff4d3}.birthday-counts small{font-size:.68rem;opacity:.82}.birthday-counts em{font-size:.66rem;font-style:normal;opacity:.78}
.scene-years>strong{font-family:Georgia,"Songti SC",serif;font-size:clamp(2.8rem,10vw,4.4rem);font-weight:500;line-height:1.12;letter-spacing:.08em;margin:15px 0;text-shadow:0 0 30px #ffe3c577}
.gesture-stage[data-scene="Closed_Fist"] .scene-years{animation:scene-arrive .7s ease both}
.gesture-stage.camera-on .gesture-stage-hint{opacity:0}
@keyframes scene-arrive{from{opacity:0;transform:translateY(9px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes orbit-glow{50%{transform:scale(1.45) rotate(18deg);filter:drop-shadow(0 0 12px #fff)}}
@media(max-width:680px){.gesture-stage{min-height:270px}.scene-caption{font-size:.6rem}.birthday-counts{gap:7px}.birthday-counts>div{padding:9px 5px}}
@media(prefers-reduced-motion:reduce){.gesture-scene-panel,.scene-orbit{animation:none}}
.chapter-continue{margin:12px 0 0 14px;min-height:46px;padding:0 21px;font-size:.91rem}
.chapter-continue:hover{transform:translateY(-2px)}
.chapter:last-child{margin-bottom:34px}
.story-end{scroll-margin-top:95px}

/* Small-screen sizing and masked Unicode-capable gate input. */
html,body{max-width:100%;overflow-x:hidden}
.shell,#experience,.section,.gesture-card,.gesture-copy,.gesture-stage{min-width:0;max-width:100%}
.gate form,.gate input,.gate .primary-btn{min-width:0;max-width:100%}
.gate input{display:block}
.gate input.secret-input{-webkit-text-security:disc;text-security:disc;letter-spacing:.18em}
.gesture-stage-hint{padding:12px;text-align:center;background:#30263b36;transition:opacity .25s}
.gesture-stage.camera-on .gesture-stage-hint{opacity:1}
.gesture-stage[data-scene] .gesture-stage-hint{display:none}
.gesture-stage[data-scene]{min-width:0}
.birthday-counts{min-width:0;grid-template-columns:repeat(2,minmax(0,1fr))}
.birthday-counts>div{min-width:0;overflow-wrap:anywhere}
.birthday-counts span,.birthday-counts em{max-width:100%;text-align:center;overflow-wrap:anywhere}
.scene-code{font-size:.83rem;letter-spacing:.22em;color:#ffdfaa;margin:0 0 5px}

.gate form{display:grid;grid-template-columns:minmax(0,1fr)}
.gate form>*{min-width:0;grid-column:1}
.gate input,.gate input[type=date]{display:block;box-sizing:border-box;width:100%!important;inline-size:100%;min-width:0;max-width:100%;margin-inline:0}
.gate input[type=date]{-webkit-appearance:none;appearance:none}
input[type=date]::-webkit-date-and-time-value{display:block;min-height:1.4em;text-align:left}
@media(max-width:680px){
  .gesture-section{padding-left:14px;padding-right:14px}
  .gesture-card{grid-template-columns:minmax(0,1fr);gap:18px;padding:18px}
  .gesture-copy .primary-btn{width:100%;white-space:normal;padding:12px 18px}
  .gesture-stage{width:100%;min-height:270px;max-height:320px;aspect-ratio:1/1}
  .gesture-scene{padding:12px}
  .scene-youme>strong{font-size:clamp(2.4rem,12vw,3.5rem);margin-bottom:8px}
  .birthday-counts{gap:6px;width:100%}
  .birthday-counts>div{padding:8px 4px}
  .birthday-counts b{font-size:1rem}
  .birthday-counts span,.birthday-counts em{font-size:.62rem}
}

.music-toggle{flex:0 0 auto;min-width:40px;min-height:40px;border:1px solid #e6d9eb;border-radius:50%;background:#ffffffd9;color:#80639a;font-size:1.2rem;line-height:1;box-shadow:0 4px 14px #806b9118}
.music-toggle:hover{background:#f4ebf7}

.reunion-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:22px 0 28px}
.reunion-stats span{display:grid;place-items:center;min-height:58px;padding:10px;border:1px solid #eee2f0;border-radius:16px;background:linear-gradient(145deg,#fbf7fc,#f8edf4);color:#80658e;font-size:.92rem;font-weight:750;text-align:center}
.reunion-timeline{display:grid;gap:18px;margin-top:22px}
.reunion-year{padding:18px 16px 4px;border:1px solid #f0e5f0;border-radius:20px;background:#fdfafd}
.reunion-year h4{margin:0 0 16px;color:#72577f;font-family:"Songti SC","SimSun",serif;font-size:1.12rem;line-height:1.55;font-weight:650}
.reunion-memory{position:relative;margin:0 0 14px;padding:14px 15px 13px;border-radius:15px;background:#fff;box-shadow:0 4px 16px #8b789310}
.reunion-memory:before{content:"✦";position:absolute;left:-7px;top:15px;color:#bf8cae;font-size:.8rem}
.reunion-memory-meta{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:7px;color:#987ba3;font-size:.82rem;font-weight:750}
.reunion-memory-meta span{color:#a46c91}
.reunion-memory p{margin:0;color:#665a6e;line-height:1.85}
@media(max-width:520px){.reunion-stats{grid-template-columns:1fr}.reunion-stats span{min-height:46px}.reunion-year{padding:15px 12px 3px}.reunion-memory{padding:13px 12px}.reunion-memory-meta{align-items:flex-start;flex-direction:column;gap:3px}}

/* Crisp geographic map with province divisions and five-point location stars. */
.china-map{image-rendering:auto;max-height:none}
.map-card{background:linear-gradient(145deg,#eaf2f0,#dfecef 70%,#e8e3ef)}
.map-location .marker-hit{fill:transparent;stroke:none}
.map-location .marker-halo{fill:#fffaf0;stroke:#b978a8;stroke-width:2.4;filter:drop-shadow(0 2px 3px #55436635)}
.map-location .marker-core{fill:#d88aad;stroke:#fffaf3;stroke-width:1.4}
.map-location .marker-star{fill:#fff9e9;stroke:#a45f91;stroke-width:.7;stroke-linejoin:round}
.map-location .marker-hit{pointer-events:all}
.chapter summary{scroll-margin-top:94px}
.map-location.active .marker-halo,.map-location:hover .marker-halo,.map-location:focus .marker-halo{fill:#f6e3ef;stroke:#955f9d;stroke-width:3}
.map-location.active .marker-star,.map-location:hover .marker-star,.map-location:focus .marker-star{fill:#f7d575}
.map-cluster{cursor:pointer}
.map-cluster .marker-hit{fill:transparent;stroke:none;pointer-events:all}
.map-cluster .marker-halo{fill:#fffaf0;stroke:#b978a8;stroke-width:2.5;filter:drop-shadow(0 2px 3px #55436635)}
.map-cluster .marker-star{fill:#fff9e9;stroke:#a45f91;stroke-width:1;stroke-linejoin:round;pointer-events:none}
.map-cluster:hover .marker-halo,.map-cluster:focus .marker-halo,.map-cluster.active .marker-halo{fill:#f6e3ef;stroke:#955f9d;stroke-width:3}
.map-cluster.active .marker-star{fill:#f7d575}
.map-choices{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px;padding:12px 4px 2px;color:#715d82;font-size:.88rem;font-weight:700}
.map-choices button{min-width:84px;min-height:44px;padding:8px 17px;border:1px solid #caa8ce;border-radius:999px;background:#fffafc;color:#765687;font-weight:700}

/* The same masthead stays above each chapter; page changes get a soft visual beat. */
.site-header{position:fixed;left:50%;top:0;transform:translateX(-50%);width:min(100%,1040px);z-index:21;box-shadow:0 5px 24px #806b9112}
#experience{padding-top:80px}
#story,#atlas,#finale,.chapter-card summary{scroll-margin-top:88px}
@media(max-width:680px){
  .map-card{margin-inline:-8px;padding:10px 7px 14px}
  .china-map{width:calc(100% + 44px);max-width:none;margin-left:-22px}
  .map-topline{gap:10px;font-size:.78rem}
  .map-topline span:last-child{text-align:right}
}
.page-turn{position:fixed;inset:0;z-index:20;display:grid;place-items:center;pointer-events:none;opacity:0;background:radial-gradient(circle at 50% 50%,#fffafc 0,#f3e6f5 56%,#e8d9ed 100%)}
.page-turn span{font-size:clamp(3rem,13vw,7rem);color:#b98cbb;text-shadow:0 0 32px #fff;transform:scale(.45)}
.page-turn.turning{animation:page-turn .66s ease-in-out both}
.page-turn.turning span{animation:page-star .66s ease-in-out both}
.chapter-arrive{animation:chapter-arrive .55s cubic-bezier(.2,.7,.2,1) both}
@keyframes page-turn{0%,100%{opacity:0}37%,65%{opacity:.94}}
@keyframes page-star{0%,100%{transform:scale(.45) rotate(-25deg)}50%{transform:scale(1.15) rotate(18deg)}}
@keyframes chapter-arrive{from{opacity:0;transform:translateY(25px)}to{opacity:1;transform:translateY(0)}}

/* Quiz reward: a real popup, with the camera visible as soon as permission is granted. */
.gesture-section{position:fixed;inset:0;z-index:40;display:grid;place-items:center;overflow-y:auto;padding:20px;background:#302638b8;backdrop-filter:blur(9px)}
.gesture-card{position:relative;width:min(100%,860px);max-height:calc(100svh - 40px);overflow-y:auto;box-shadow:0 25px 80px #24182d7d}
.gesture-close{position:absolute;top:14px;right:14px;z-index:5;width:40px;height:40px;border:0;border-radius:50%;background:#fffafce8;color:#715982;font-size:1.65rem;line-height:1}
.gesture-card .gesture-copy{padding-right:20px}
.gesture-stage.camera-on video{opacity:.82}
@media(max-width:680px){#experience{padding-top:66px}.gesture-section{padding:12px}.gesture-card{width:100%;max-height:calc(100svh - 24px);padding:20px}.gesture-card .gesture-copy{padding-right:34px}.gesture-stage{min-height:235px;max-height:min(42svh,340px)}}
@media(prefers-reduced-motion:reduce){.page-turn.turning,.page-turn.turning span,.chapter-arrive{animation:none}}

