:root{--ink:#112129;--night:#0d1c24;--cream:#f1e8d7;--paper:#e9dfca;--gold:#dfba79;--muted:#b5b9b3;--red:#963c31;--serif:"PMingLiU","Noto Serif TC",serif;--sans:"Microsoft JhengHei","Noto Sans TC",sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:84px}body{margin:0;background:var(--night);color:var(--cream);font-family:var(--sans);font-size:16px;line-height:1.85}button,a{-webkit-tap-highlight-color:transparent}button,input{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}button{color:inherit}img{max-width:100%;display:block}figure,p,h1,h2,h3{margin:0}button,a{touch-action:manipulation}button:focus-visible,a:focus-visible{outline:3px solid #d29342;outline-offset:5px}::selection{background:var(--red);color:#fff}.skip{position:fixed;top:-90px;z-index:10;padding:14px;background:var(--cream);color:var(--ink)}.skip:focus{top:10px}.js-only{display:none!important}.js .js-only{display:flex!important}.mobile-only{display:none}.masthead{height:90px;display:flex;align-items:center;justify-content:space-between;padding:0 5%;border-bottom:1px solid #ac9f7a30;background:#101e26;position:relative;z-index:4}.brand{display:flex;gap:13px;align-items:center;font:700 27px var(--serif);letter-spacing:4px}.brand img{object-fit:contain}.brand small{display:block;font:10px/1.6 var(--sans);letter-spacing:2px;color:var(--gold);margin-top:7px}.masthead nav{display:flex;gap:38px;font-size:13px;letter-spacing:2px}.masthead nav a{padding:12px 0}.nav-enter{border:1px solid #c5aa72;min-height:44px;padding:8px 23px;font-size:13px;letter-spacing:2px}.nav-enter span{margin-left:20px}.hero{min-height:720px;position:relative;isolation:isolate;overflow:hidden;background:#111e25}.hero-scene{position:absolute;inset:0;z-index:-2}.hero-scene picture,.hero-scene img{width:100%;height:100%;display:block;object-fit:cover;object-position:center}.hero-scene:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#0c1b24ed 0%,#0c1b24aa 27%,#0c1b2410 62%),linear-gradient(0deg,#0c1b2480,transparent 30%);pointer-events:none;z-index:2}#depth-canvas{position:absolute;inset:0;width:100%;height:100%;opacity:0}#depth-canvas.ready{opacity:1}.hero-copy{position:relative;padding:100px 0 125px 8%;max-width:670px;z-index:3}.eyebrow{font-size:12px;letter-spacing:3px;color:var(--gold);font-weight:600}.hero .eyebrow{display:flex;align-items:center;gap:12px}.hero .eyebrow span{height:1px;width:30px;background:var(--gold)}h1,h2,h3{font-family:var(--serif);font-weight:600}h1{font-size:clamp(46px,5.2vw,76px);line-height:1.34;letter-spacing:5px;margin:24px 0}.gold{color:var(--gold)}.hero-intro{font-size:15px;letter-spacing:2px;line-height:2;color:#e3e0d3}.button{display:inline-flex;justify-content:space-between;gap:54px;align-items:center;min-height:58px;padding:12px 28px;font-weight:700;font-size:15px;letter-spacing:3px;border:1px solid var(--gold);transition:background .2s,transform .2s}.primary{background:var(--gold);color:var(--night)}.primary:hover{background:#edd0a0;transform:translateY(-2px)}.hero .button{margin-top:32px}.hero-note{font-size:11px;letter-spacing:1px;margin-top:14px;color:#d0cec6}.hero-bottom{display:flex;justify-content:space-between;align-items:center;position:absolute;left:8%;right:5%;bottom:26px;z-index:3;font-size:11px;letter-spacing:2px;color:#e1d9c7}.hero-bottom a{display:flex;align-items:center;gap:28px;min-height:44px}.hero-bottom span:nth-child(2){margin-left:auto}.motion-button{background:#152733b3;border:1px solid #b79a6b;min-height:44px;padding:8px 12px;margin-left:22px;font-size:11px}.embers{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:3}.embers i{position:absolute;background:#ffd791;width:3px;height:5px;border-radius:50%;box-shadow:0 0 8px #ffb35b;animation:ember 10s infinite linear;left:var(--left);top:-8%;animation-delay:var(--delay);opacity:0}@keyframes ember{10%{opacity:.75}85%{opacity:.35}to{transform:translate(45px,820px);opacity:0}}.street-ribbon{display:flex;justify-content:center;align-items:center;gap:36px;background:#1a2c32;border-top:1px solid #c9af752f;border-bottom:1px solid #c9af752f;min-height:70px;padding:18px 24px;font-size:12px;letter-spacing:2px;color:var(--gold)}.street-ribbon>span:first-child{color:#e9dfca;margin-right:55px}.street-ribbon i{width:3px;height:3px;background:var(--gold);transform:rotate(45deg)}.section-light{background:var(--cream);color:var(--ink)}.explore,.play,.neighbors{padding:96px 8%}.section-heading{display:flex;justify-content:space-between;gap:40px;align-items:end;margin-bottom:38px}.section-heading h2{font-size:40px;letter-spacing:2px;line-height:1.45;margin-top:15px}.section-heading>p{font-size:13px;line-height:2;color:var(--muted);max-width:360px}.section-light .eyebrow{color:#946b38}.section-light .section-heading>p{color:#68706a}.map-tabs{gap:10px;margin:0 0 24px;flex-wrap:wrap}.map-tabs button{background:transparent;border:0;border-bottom:2px solid transparent;padding:8px 18px;min-height:44px;color:#686a5e;font-size:13px}.map-tabs button[aria-pressed=true]{border-color:var(--red);color:var(--red);font-weight:700}.map-tabs button:hover{background:#dfd3bb}.map-stage{position:relative;background:#112129;overflow:hidden;box-shadow:0 15px 30px #352e221a;color:var(--cream)}.map-stage>img{width:100%;height:380px;object-fit:cover;transition:filter .28s,opacity .28s,transform .45s;object-position:50% 50%}.map-stage.changing>img{filter:blur(9px);opacity:.4;transform:scale(1.045)}.map-overlay{position:absolute;top:24px;left:28px;right:24px;display:flex;justify-content:space-between;align-items:start}.map-overlay>span{font-size:11px;letter-spacing:3px;background:#0b1c22cc;padding:8px 13px}.day-toggle{background:#102029df;padding:4px;gap:2px;border:1px solid #dcc59950}.day-toggle button{background:transparent;border:0;min-height:44px;padding:8px 20px;font-size:12px;letter-spacing:2px}.day-toggle button[aria-pressed=true]{color:#18252b;background:var(--gold)}.map-stage figcaption{display:flex;justify-content:space-between;padding:26px 30px;align-items:center;gap:18px}.map-stage h3{font-size:27px;letter-spacing:4px}.map-stage p{font-size:13px;color:#c4c5ba;margin-top:4px}.map-arrows{gap:10px;flex-shrink:0}.map-arrows button{border:1px solid #b09a6f88;background:transparent;width:46px;height:46px;font-size:21px}.map-arrows button:hover{background:#344447}.map-note{margin-top:16px;font-size:11px;color:#777b6e}.map-fallback{display:grid;grid-template-columns:repeat(2,1fr);gap:24px;padding-top:30px}.map-fallback img{width:100%;height:140px;object-fit:cover}.map-fallback figcaption{font-size:13px}.play{padding-bottom:72px}.feature-grid{display:grid;grid-template-columns:1fr 1fr;column-gap:70px;row-gap:35px}.feature{border-top:1px solid #b39c6b40;padding-top:20px;overflow:hidden}.feature-art{height:300px;position:relative;isolation:isolate;display:flex;align-items:center;justify-content:center}.feature-art>img{height:265px;width:265px;object-fit:contain;transition:transform .4s;filter:drop-shadow(0 16px 12px #0003)}.feature:hover .feature-art>img:first-of-type{transform:translateY(-7px) rotate(-2deg)}.art-orbit{position:absolute;height:235px;width:235px;border:1px solid #d8be7940;border-radius:50%;z-index:-1}.art-orbit:after{content:"";position:absolute;inset:15px;border:1px dashed #d8be7925;border-radius:50%}.fortune .feature-art>img{margin-left:-75px}.art-caption{position:absolute;bottom:12px;left:20px;font-size:10px;letter-spacing:2px;color:#c3b18b}.fortune-slip{position:absolute;top:65px;left:60%;width:90px;min-height:170px;background:#e7d5b0;color:#763d32;text-align:center;transform:rotate(8deg);padding:12px 6px;border:4px double #8d5c3b;box-shadow:0 10px 15px #0003;transition:transform .5s}.fortune-slip small{font-size:10px;letter-spacing:2px}.fortune-slip strong{font:23px/1.8 var(--serif);display:block;padding-top:6px}.fortune-slip.drawing{animation:slip .6s}@keyframes slip{0%{transform:translateY(20px) rotate(8deg);opacity:0}60%{transform:translateY(-15px) rotate(-7deg)}100%{transform:rotate(8deg)}}.feature-copy{padding:8px 0 30px}.feature-number{font-size:11px;letter-spacing:2px;color:#c3a16c;margin-bottom:10px}.feature-copy h3{font-size:29px;letter-spacing:1px;margin-bottom:15px}.feature-copy>p:not(.feature-number):not(.small-note){font-size:13px;color:#bdc6c5;line-height:2;max-width:455px}.text-button{align-items:center;justify-content:space-between;gap:30px;background:transparent;border:0;border-bottom:1px solid #be9b66;color:var(--gold);min-height:44px;padding:10px 0;margin:15px 0 5px;font-size:12px;letter-spacing:1px}.text-button:hover{color:#f7dfaa}.small-note{font-size:10px;color:#97aaa9;line-height:1.7;margin-top:8px;min-height:34px}.games .feature-art .balloon-art{width:240px;height:240px;transform:rotate(4deg);position:absolute;right:15%;top:0}.games .feature-art .fish-art{width:205px;height:205px;position:absolute;left:9%;bottom:0;transform:rotate(-9deg)}.game-ticket{background:#a64a38;color:#f3d4a3;position:absolute;bottom:28px;right:10%;font-size:13px;padding:5px 16px;letter-spacing:2px;transform:rotate(-7deg)}.games.playing .balloon-art{animation:wobble .7s}.games.playing .fish-art{animation:wobble .7s reverse}@keyframes wobble{30%{transform:rotate(10deg) translateY(-12px)}65%{transform:rotate(-12deg) translateY(-8px)}}.daily-clock{position:absolute;left:5%;top:92px;font:55px/1.2 Georgia,serif;color:#d7bd89;letter-spacing:2px}.daily-clock small{display:block;font:12px/2.5 var(--sans);letter-spacing:6px}.feature-art>.daily-lantern{position:absolute;width:160px;height:210px;object-fit:contain}.lantern-one{right:0;top:0;transform:rotate(6deg)}.lantern-two{right:23%;top:80px;transform:rotate(-8deg);opacity:.85}.daily.rising .daily-lantern{animation:rise 2s ease-out}@keyframes rise{60%{transform:translateY(-150px) rotate(-4deg);opacity:0}61%{transform:translateY(70px);opacity:0}100%{opacity:1}}.dress .feature-art>img:first-of-type{margin-left:-10px}.dress .feature-art>.dress-pet{width:140px;height:140px;position:absolute;right:10%;bottom:10px}.wardrobe-label{position:absolute;left:10%;top:30px;writing-mode:vertical-rl;letter-spacing:4px;font-size:12px;color:var(--gold);border-left:1px solid #b6a07077;padding-left:10px}.look-options{gap:7px;margin-top:18px;flex-wrap:wrap}.look-options button{font-size:11px;padding:8px 14px;border:1px solid #b49d6a77;background:transparent;min-height:44px}.look-options button[aria-pressed=true]{background:#d9ba7f;color:#14232a}.record{width:225px;height:225px;border-radius:50%;background:repeating-radial-gradient(#15272e 0px,#15272e 3px,#2a3e44 4px,#15272e 5px);border:1px solid #7d8b7b;position:absolute;left:11%;top:30px;display:grid;place-items:center}.record-label{width:87px;height:87px;border-radius:50%;background:#984235;color:#f1d4a0;display:grid;place-content:center;font:20px/1.5 var(--serif);text-align:center;letter-spacing:4px}.radio .feature-art>img{position:absolute;right:0;bottom:0;height:210px;width:210px}.equalizer{position:absolute;left:9%;bottom:13px;display:flex;gap:5px;height:40px;align-items:center}.equalizer i{display:block;width:4px;height:12px;background:var(--gold)}.radio.tuned .record{animation:spin 14s linear infinite}.radio.tuned .equalizer i{animation:meter .7s alternate infinite}.radio.tuned .equalizer i:nth-child(even){animation-delay:-.3s}.radio.tuned .equalizer i:nth-child(3n){animation-delay:-.5s}@keyframes spin{to{transform:rotate(360deg)}}@keyframes meter{to{height:36px}}.social .feature-art>img{position:absolute;width:220px;height:250px;bottom:0}.friend-one{left:8%;transform:rotate(-5deg)}.friend-two{right:5%;transform:rotate(6deg)}.speech{position:absolute;top:3px;left:37%;padding:8px 18px;background:var(--paper);color:#34413e;font-size:12px;transform:rotate(-4deg);border-radius:2px}.speech:after{content:"";position:absolute;bottom:-8px;left:18px;border-width:8px 7px 0 0;border-style:solid;border-color:var(--paper) transparent transparent transparent}.social.waving .friend-two{animation:wobble .7s}.neighbors{padding-top:85px;padding-bottom:60px}.character-wall{display:grid;grid-template-columns:repeat(4,1fr);gap:28px;margin-top:60px}.character{position:relative;background:none;border:0;border-bottom:1px solid #a5916b60;color:var(--ink);padding:20px 0 25px;display:flex;flex-direction:column;align-items:center;min-width:0}.character img{height:240px;object-fit:contain;transition:transform .3s}.character strong{font-size:15px;font-weight:600;margin-top:16px;white-space:nowrap}.character em{font-style:normal;font-size:9px;border:1px solid #8c765c77;padding:2px 4px;margin-left:4px;vertical-align:middle}.character small{font-size:10px;color:#747968;margin-top:6px}.character-talk{position:absolute;top:-20px;left:0;right:0;font-size:12px;color:#84523d;text-align:center;opacity:0;transform:translateY(8px);transition:.3s}.character:hover img,.character:focus-visible img,.character.active img{transform:translateY(-10px)}.character:hover .character-talk,.character:focus-visible .character-talk,.character.active .character-talk{opacity:1;transform:translateY(0)}.character-quote{font:19px/1.9 var(--serif);text-align:center;margin:34px auto 0;max-width:760px;min-height:75px;color:#6b644d}.closing{text-align:center;padding:80px 24px 86px;position:relative;overflow:hidden;border-bottom:1px solid #b39c6b40}.closing-lantern{width:65px;height:100px;object-fit:contain;margin:0 auto 26px;animation:glimmer 4s alternate infinite}@keyframes glimmer{to{filter:brightness(1.3) drop-shadow(0 0 8px #d3883433)}}.closing h2{font-size:54px;line-height:1.4;letter-spacing:4px;margin:20px 0}.closing>p:not(.eyebrow){font-size:13px;line-height:2;color:#bbc4c1}.closing .button{margin:30px auto 14px}.home-link{display:block;font-size:12px;letter-spacing:2px;text-decoration:underline;text-underline-offset:5px;min-height:44px;padding:10px}.home-link span{margin-left:15px}footer{padding:32px 5%;display:flex;gap:30px;justify-content:space-between;align-items:center;color:#9daaab;font-size:10px}footer p{line-height:1.9}footer a{min-height:44px;display:flex;align-items:center}.footer-brand{font:16px var(--serif);color:#d2bc8d;letter-spacing:2px}
@media(min-width:1700px){.hero{min-height:800px}.hero-copy{padding-top:140px}}
@media(max-width:1000px){.masthead nav{gap:20px}.hero-copy{padding-left:6%}.hero{min-height:700px}.hero-scene img{object-position:60% center}.hero-scene:after{background:linear-gradient(90deg,#0c1b24eb,#0c1b2455 70%)}.street-ribbon{gap:20px}.street-ribbon>span:first-child{margin-right:10px}.explore,.play,.neighbors{padding-left:6%;padding-right:6%}.feature-grid{column-gap:32px}.section-heading h2{font-size:33px}.feature-art{height:265px}.feature-copy h3{font-size:25px}.feature-art>img{height:240px;width:240px}.character-wall{gap:12px}.character img{height:190px}.character strong{font-size:13px}.character em{display:block;width:fit-content;margin:5px auto 0}.daily-clock{font-size:42px;left:0}.daily .feature-art>.daily-lantern{width:130px}.record{width:180px;height:180px;left:4%}.radio .feature-art>img{width:180px;height:180px}.social .feature-art>img{width:190px}.games .feature-art .balloon-art{width:200px;height:200px;right:1%}.games .feature-art .fish-art{width:170px;height:170px;left:0}}
@media(max-width:650px){html{scroll-padding-top:20px}.masthead{height:76px;padding:0 20px}.brand{font-size:23px;gap:7px;letter-spacing:2px}.brand img{width:28px;height:40px}.brand small{font-size:8px;letter-spacing:1px;margin-top:4px}.masthead nav{display:none}.nav-enter{font-size:11px;padding:8px 12px;letter-spacing:1px}.nav-enter span{margin-left:10px}.hero{min-height:790px}.hero-scene img{object-position:center center}.hero-scene:after{background:linear-gradient(180deg,#0c1b2480 0%,#0c1b2410 40%,#0c1b24ed 83%,#0c1b24 100%)}.hero-copy{padding:40px 25px 90px;max-width:none}.hero .eyebrow{font-size:9px;letter-spacing:2px}.hero h1{font-size:43px;line-height:1.3;letter-spacing:3px;margin:20px 0 0;text-shadow:0 2px 18px #06131a}.hero-intro{margin-top:245px;font-size:12px;line-height:1.9;letter-spacing:1px}.hero-intro br:nth-child(2){display:none}.hero .button{margin-top:22px;min-height:54px;font-size:13px;padding:10px 24px;gap:45px}.hero-note{font-size:9px;letter-spacing:.4px}.hero-bottom{left:25px;right:25px;bottom:14px;font-size:9px}.hero-bottom>span{display:none}.motion-button{font-size:9px;padding:7px 9px;letter-spacing:0}.street-ribbon{gap:12px;padding:16px 12px;min-height:70px;flex-wrap:wrap;font-size:9px;letter-spacing:1px}.street-ribbon>span:first-child{flex-basis:100%;text-align:center;margin-right:0}.street-ribbon i{width:2px;height:2px}.explore,.play,.neighbors{padding:60px 22px}.section-heading{display:block;margin-bottom:26px}.section-heading h2{font-size:31px;letter-spacing:1px;margin-top:13px}.section-heading>p{margin-top:20px;font-size:12px}.eyebrow{font-size:10px;letter-spacing:2px}.mobile-only{display:block}.map-tabs{gap:0;margin-left:-5px;margin-right:-5px;margin-bottom:18px}.map-tabs button{padding:8px 11px;font-size:11px}.map-stage>img{height:255px;object-fit:cover}.map-overlay{top:14px;left:14px;right:14px}.map-overlay>span{font-size:8px;letter-spacing:1px;padding:8px}.day-toggle{padding:2px}.day-toggle button{font-size:10px;padding:6px 10px;letter-spacing:1px}.map-stage figcaption{padding:20px;align-items:end}.map-stage h3{font-size:24px}.map-stage p{font-size:11px;line-height:1.8}.map-arrows{gap:5px;flex-direction:column}.map-arrows button{width:44px;height:44px;font-size:18px}.map-note{font-size:9px;line-height:1.9}.feature-grid{grid-template-columns:1fr;row-gap:10px}.feature-art{height:270px}.feature-copy h3{font-size:27px}.feature-copy>p:not(.feature-number):not(.small-note){font-size:12px}.feature-copy{padding-bottom:25px}.feature-number{font-size:10px}.feature .small-note{font-size:9px;min-height:24px}.art-caption{font-size:9px;left:0}.fortune-slip{left:65%;width:76px;min-height:150px;top:60px}.fortune-slip strong{font-size:20px}.fortune .feature-art>img{margin-left:-60px}.games .feature-art .balloon-art{width:225px;height:225px;right:2%}.games .feature-art .fish-art{width:185px;height:185px;left:0}.game-ticket{font-size:11px;right:3%}.daily-clock{font-size:44px;left:3%}.daily .feature-art>.daily-lantern{width:140px}.record{width:205px;height:205px;left:2%}.radio .feature-art>img{right:-10px}.social .feature-art>img{width:200px;height:235px}.friend-one{left:0}.friend-two{right:-8px}.speech{left:34%;top:9px}.character-wall{grid-template-columns:1fr 1fr;gap:40px 16px;margin-top:45px}.character img{height:170px;width:100%}.character{padding:15px 0}.character small{font-size:8px}.character strong{font-size:13px}.character-talk{font-size:10px;top:-14px}.character-quote{font-size:16px;margin-top:28px;min-height:96px}.closing{padding:55px 20px}.closing h2{font-size:41px;letter-spacing:2px}.closing-lantern{width:48px;height:80px}.closing>p:not(.eyebrow){font-size:11px}.closing .button{font-size:13px}.home-link{font-size:10px}footer{padding:25px 22px;flex-wrap:wrap;gap:12px;align-items:start}footer p{order:3;width:100%;font-size:9px}.footer-brand{font-size:13px}footer>a:last-child{font-size:9px}.map-fallback{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}.embers,#depth-canvas{display:none!important}.feature:hover .feature-art>img:first-of-type,.character:hover img{transform:none}.motion-button{display:none!important}}
/* 遊戲圖集以 CSS 選取單格，保留原始素材完整性。 */
.brand-lamp,.closing-lantern,.daily-lantern{display:block;background-image:url('assets/lantern.webp');background-size:800% 100%;background-position:0 0;background-repeat:no-repeat;filter:drop-shadow(0 0 8px #e0a34050)}.brand-lamp{width:36px;height:45px;flex-shrink:0}.closing-lantern{width:80px;height:100px}.daily .feature-art>.daily-lantern{position:absolute;width:144px;height:180px}.lantern-one{right:0;top:0}.lantern-two{right:24%;top:80px;width:112px!important;height:140px!important;opacity:.8}.games .feature-art .balloon-art{width:230px;height:200px;position:absolute;right:2%;top:10px;transform:rotate(4deg)}.games .feature-art .fish-art{width:225px;height:135px;border:1px solid #9ebdb577;background:#27464e;border-radius:50%;position:absolute;left:0;bottom:18px;transform:rotate(-8deg);box-shadow:inset 0 0 0 6px #19333d,0 8px 20px #0003}.game-ticket{right:1%;bottom:18px}.hero-cast{position:absolute;inset:0;z-index:1;pointer-events:none}.hero-cast img{position:absolute;object-fit:contain;filter:drop-shadow(0 14px 10px #0005);height:360px;width:360px;bottom:60px;right:12%}.hero-cast img.hero-guide{height:270px;width:270px;right:0;bottom:80px}.hero-cast img.hero-dog{height:140px;width:140px;right:33%;bottom:70px}.hero-scene #depth-canvas{z-index:0}
@media(max-width:1000px){.daily .feature-art>.daily-lantern{width:128px;height:160px}.hero-cast img{right:5%;height:320px;width:320px}.hero-cast img.hero-guide{right:-4%;height:220px;width:220px}.hero-cast img.hero-dog{right:25%}}
@media(max-width:650px){.brand-lamp{width:28px;height:35px}.closing-lantern{width:64px;height:80px}.hero-cast img{height:230px;width:230px;right:7%;bottom:300px}.hero-cast img.hero-guide{height:180px;width:180px;right:-10%;bottom:305px}.hero-cast img.hero-dog{height:90px;width:90px;right:64%;bottom:300px}.daily .feature-art>.daily-lantern{width:128px;height:160px}.games .feature-art .balloon-art{right:0}.games .feature-art .fish-art{width:205px;height:125px;left:0}.game-ticket{font-size:10px;bottom:3px}}

/* 山景地圖的透明區域使用遊戲原有遠景層。 */
img[src="assets/jiufen-day.webp"]{background-image:url("assets/jiufen-far-day.webp");background-position:center;background-size:cover}
img[src="assets/jiufen-night.webp"]{background-image:url("assets/jiufen-far-night.webp");background-position:center;background-size:cover}
img[src="assets/zhuzihu-day.webp"]{background-image:url("assets/zhuzihu-far-day.webp");background-position:center;background-size:cover}
img[src="assets/zhuzihu-night.webp"]{background-image:url("assets/zhuzihu-far-night.webp");background-position:center;background-size:cover}
img[src="assets/flowers-day.webp"]{background-image:url("assets/flowers-far-day.webp");background-position:center;background-size:cover}
img[src="assets/flowers-night.webp"]{background-image:url("assets/flowers-far-night.webp");background-position:center;background-size:cover}
img[src="assets/cliff-day.webp"]{background-image:url("assets/cliff-far-day.webp");background-position:center;background-size:cover}
img[src="assets/cliff-night.webp"]{background-image:url("assets/cliff-far-night.webp");background-position:center;background-size:cover}

.hero-scene{background:#071724}
.hero-scene #hero-picture{transition:opacity .4s}
.hero-layers{position:absolute;inset:0;opacity:0;pointer-events:none;overflow:hidden}
.hero-layer{position:absolute;inset:0;transform:scale(1.055);transform-origin:center;will-change:transform}
.hero-layer img{width:100%;height:100%;object-fit:cover;object-position:center}
.layer-far{filter:blur(1.1px);z-index:0}
.layer-street{z-index:1}
.layer-foreground{z-index:2;filter:drop-shadow(0 8px 8px #050d1b50)}
.layers-ready .hero-layers{opacity:1}
.layers-ready #hero-picture{opacity:0}
.hero-scene:after{background:linear-gradient(90deg,#091824e8 0%,#091824b0 24%,#09182422 49%,transparent 70%),linear-gradient(0deg,#071724ae,transparent 22%)}
.hero-lanterns{position:absolute;inset:0;pointer-events:none;z-index:1;display:none}
.js .hero-lanterns{display:block}
.hanging-lantern{position:absolute;right:8%;top:-20px;width:64px;height:125px;transform-origin:50% 0;animation:lantern-sway 5.5s ease-in-out infinite alternate;filter:drop-shadow(0 3px 8px #d99b3a55)}
.hanging-lantern:before{content:"";display:block;margin:auto;height:36px;width:1px;background:#bc945e}
.hanging-lantern:after{content:"";display:block;width:64px;height:80px;background:url('assets/lantern.webp') 0 0/800% 100% no-repeat}
.hanging-lantern:nth-child(2){right:18%;top:-42px;animation-delay:-3s;transform:scale(.7)}
@keyframes lantern-sway{from{rotate:-3deg}to{rotate:4deg}}
.hero.is-paused .embers i,.hero.is-paused .hanging-lantern{animation-play-state:paused}
.hero.is-paused .hero-layer{will-change:auto}
.fortune .feature-art,.daily .feature-art{overflow:hidden;height:330px;display:block;margin-bottom:16px;background:#17252b}
.feature-art>img.scene-art,.fortune .feature-art>img.scene-art{width:100%;height:100%;object-fit:cover;margin:0;filter:none;transform:none}
.feature:hover .feature-art>img.scene-art{transform:scale(1.025)}
.fortune .fortune-slip{width:76px;min-height:140px;left:auto;right:18px;top:auto;bottom:18px;padding:8px 4px;z-index:1}
.fortune-slip strong{font-size:20px;line-height:1.5}
.fortune .art-caption{left:16px;bottom:16px;background:#14232be8;padding:4px 9px;color:#f1dfbb}
.daily-clock{left:18px;top:auto;bottom:18px;font-size:35px;text-shadow:0 2px 8px #000;background:#0b1a27be;padding:10px 14px}
.daily-clock small{font-size:10px;letter-spacing:4px}
.daily .feature-art>.daily-lantern{width:58px;height:73px;opacity:0;top:40%;right:25%;z-index:1}
.daily .feature-art>.lantern-two{width:46px!important;height:58px!important;right:50%;top:60%;animation-delay:.2s}
.daily.rising .daily-lantern{animation:scene-lantern-rise 2s ease-out}
@keyframes scene-lantern-rise{0%{translate:0 65px;opacity:0}15%{opacity:1}85%{opacity:.9}100%{translate:10px -150px;opacity:0}}
@media(max-width:1000px) and (min-width:651px){.fortune .feature-art,.daily .feature-art{height:285px}}
@media(max-width:650px){
 .hero{min-height:790px}
 .hero-scene:after{background:linear-gradient(180deg,#06142130 0%,transparent 26%,transparent 55%,#081722d9 76%,#081722 100%)}
 .hero-layer img,.hero-scene #hero-image{object-position:center top;width:100%;height:auto}
 .hero-layer{transform-origin:50% 30%}
 .layer-foreground img{position:relative;top:30px}
 .hero-copy{padding-top:34px}
 .hero-intro{margin-top:292px}
 .hero h1{font-size:41px}
 .hero-lanterns .hanging-lantern{right:6%;top:155px;width:38px;height:88px}
 .hero-lanterns .hanging-lantern:after{width:38px;height:48px}
 .hero-lanterns .hanging-lantern:nth-child(2){display:none}
 .fortune .feature-art,.daily .feature-art{height:260px}
 .fortune .fortune-slip{right:10px;bottom:12px;width:66px;min-height:125px}
 .fortune .fortune-slip strong{font-size:18px}
 .fortune .art-caption{left:10px;bottom:12px;font-size:9px}
 .daily-clock{font-size:28px;left:12px;bottom:12px;padding:6px 10px}
}
@media(prefers-reduced-motion:reduce){
 .hero-layers,.hero-lanterns{display:none!important}
 .hero-scene #hero-picture{opacity:1!important}
 .hero-layer{transform:none!important;will-change:auto}
 .feature:hover .feature-art>img.scene-art{transform:none}
 .js .motion-button{display:none!important}
}

@media(hover:hover) and (prefers-reduced-motion:no-preference){
 .dress:hover .feature-art>#dress-character,.radio:hover .feature-art>img:not(.scene-backdrop){transform:translateY(-5px)}
}
/* 手機小註記與操作標籤至少 12px，置於既有手機規則之後。 */
@media(max-width:650px){
 .brand small,.nav-enter,.hero .eyebrow,.hero-note,.hero-bottom,.motion-button,.street-ribbon,
 .eyebrow,.map-tabs button,.map-overlay>span,.day-toggle button,.map-stage p,.map-note,
 .feature-number,.feature .small-note,.art-caption,.fortune .art-caption,.fortune-slip small,
 .daily-clock small,.look-options button,.game-ticket,.character small,.character em,.character-talk,
 .closing>p:not(.eyebrow),.home-link,footer,footer p,footer>a:last-child{font-size:12px}
 .brand small{letter-spacing:0}
 .hero .eyebrow{letter-spacing:1px}
 .street-ribbon{gap:10px;letter-spacing:0}
 .hero-note{letter-spacing:0;line-height:1.8}
 .hero-bottom{letter-spacing:1px}
 .feature .small-note{min-height:41px}
 .character small{line-height:1.7;text-align:center}
 .character-talk{top:-18px}
 .fortune .fortune-slip{width:76px;min-height:140px}
 .fortune-slip small{letter-spacing:0}
}

:root{
 --xd-hei:'PingFang TC','Noto Sans TC','Noto Sans CJK TC','Source Han Sans TC','Microsoft JhengHei','Heiti TC',sans-serif;
 --sans:'Inter','Noto Sans TC','Noto Sans JP','Noto Sans KR',ui-sans-serif,system-ui,sans-serif,'Apple Color Emoji','Segoe UI Emoji','Segoe UI Symbol','Noto Color Emoji';
 --serif:var(--xd-hei);
 --xd-ease:cubic-bezier(.16,1,.3,1);
}
body{font-weight:400;font-synthesis-style:none}
h1{font-family:var(--xd-hei);font-weight:900}
h2,h3{font-family:var(--xd-hei);font-weight:700}
button,.button,.nav-enter,.masthead nav,.street-brand,.eyebrow{font-family:var(--xd-hei)}
.brand-group{display:flex;align-items:center;gap:18px;min-width:0}
.brand{letter-spacing:0;flex:none;transition:opacity .15s}
.brand img{width:165px;height:40px;object-fit:contain}
.brand:hover,.footer-brand:hover{opacity:.8}
.street-brand{font-size:16px;font-weight:700;letter-spacing:.08em;border-left:1px solid #b49d6a77;padding-left:18px;white-space:nowrap;min-height:44px;display:flex;align-items:center}
.masthead nav{font-size:14px;font-weight:600;letter-spacing:0}
.masthead nav a{transition:color .15s}
.masthead nav a:hover{color:var(--gold)}
.button,.nav-enter{position:relative;border-radius:3px;font-weight:700;letter-spacing:.08em;transition:transform 450ms var(--xd-ease),box-shadow 450ms var(--xd-ease),border-color 300ms}
.button{padding:14px 28px;box-shadow:inset 0 1px 0 rgb(255 255 255 / .5),inset 0 -7px 12px -8px rgb(120 80 0 / .45),0 4px 10px -3px rgb(180 130 30 / .28),0 1px 2px rgb(0 0 0 / .08)}
.button::after{content:'';position:absolute;inset:3px;border:1px solid rgb(120 80 0 / .28);border-radius:2px;pointer-events:none}
.primary:hover{background:var(--gold);transform:translateY(-2px);border-color:#7d6010;box-shadow:inset 0 1px 0 rgb(255 255 255 / .55),inset 0 -7px 12px -8px rgb(120 80 0 / .35),0 12px 24px -6px rgb(180 130 30 / .45),0 4px 8px -2px rgb(0 0 0 / .12)}
.button:active,.nav-enter:active{transform:translateY(-1px)}
.nav-enter{box-shadow:inset 0 1px 0 rgb(232 210 154 / .15),0 1px 2px rgb(0 0 0 / .08)}
.nav-enter:hover{transform:translateY(-2px);box-shadow:0 4px 10px -3px rgb(180 130 30 / .28)}
.motion-button,.map-tabs button,.day-toggle,.day-toggle button,.map-arrows button,.look-options button,.text-button{border-radius:3px}
.day-toggle button,.look-options button,.text-button{font-weight:700;letter-spacing:.08em}
.map-tabs button{font-weight:600}
.map-tabs button[aria-pressed=true]{font-weight:700}
button:focus-visible,a:focus-visible{outline:2px solid #b08a3c;outline-offset:3px;border-radius:3px}
.hero-position{font-size:14px;font-weight:600;letter-spacing:.04em;color:var(--gold);margin:-4px 0 16px;line-height:1.8;max-width:32em}
.street-position{margin:0 0 40px;padding:0 0 36px;border-bottom:1px solid #a5916b60}
.street-position>p{max-width:62em;font-size:15px;line-height:1.95}
.position-badges{display:flex;flex-wrap:wrap;gap:10px;list-style:none;margin:22px 0 0;padding:0}
.position-badges li{font:600 12px/1.85 var(--xd-hei);letter-spacing:.08em;border-radius:2px;background:var(--gold);color:var(--ink);padding:2px 10px}
.character em,.art-caption,.game-ticket,.wardrobe-label{border-radius:2px;font-family:var(--xd-hei);font-weight:600;letter-spacing:.08em}
.map-overlay>span,.feature-number{font-family:var(--sans);font-weight:400;font-variant-numeric:tabular-nums}
.daily-clock{font-family:var(--sans);font-weight:700;font-variant-numeric:tabular-nums}
.daily-clock small{font-family:var(--xd-hei);font-weight:600}
footer{flex-wrap:wrap;font-size:12px;gap:24px}
.footer-brand{display:flex;gap:12px;flex-wrap:wrap;transition:opacity .15s;font:700 14px var(--xd-hei)}
.footer-brand img{width:145px;height:35px;object-fit:contain}
.footer-brand span{border-left:1px solid #b49d6a77;padding-left:12px;letter-spacing:.08em}
.footer-links{display:flex;flex-wrap:wrap;gap:0 20px;font:400 14px/1.8 var(--sans)}
.footer-links .footer-link{position:relative;transition:color 280ms ease,letter-spacing 280ms ease}
.footer-link::after{content:'';position:absolute;left:0;bottom:7px;height:1px;width:0;background:linear-gradient(to right,var(--gold),var(--red));transition:width 360ms cubic-bezier(.22,1,.36,1)}
.footer-link:hover{color:var(--gold);letter-spacing:.04em}
.footer-link:hover::after{width:100%}
@media(max-width:1000px){
 .brand-group{gap:12px}.street-brand{padding-left:12px;font-size:14px}
 .masthead nav{gap:18px}
}
@media(max-width:650px){
 .brand-group{gap:9px}.brand img{width:116px;height:28px}
 .street-brand{font-size:13px;padding-left:9px;letter-spacing:.04em}
 .nav-enter{padding:8px 12px;letter-spacing:.04em}
 .hero-position{font-size:13px;max-width:25em;width:fit-content;margin:-4px 0 12px;letter-spacing:.02em;padding:3px 7px;background:#0d1c24d9;text-shadow:0 1px 3px #081722}
 .street-position{padding-bottom:28px;margin-bottom:32px}
 .street-position>p{font-size:14px}
 .position-badges{gap:8px;margin-top:18px}
 .position-badges li{font-size:12px;letter-spacing:0;padding:3px 8px}
 footer{gap:18px;align-items:flex-start}
 .footer-brand{flex-direction:row;justify-content:flex-start}
 .footer-links{justify-content:flex-start;gap:0 18px;font-size:14px}
 .footer-links .footer-link{font-size:14px}
}
@media(prefers-reduced-motion:reduce){
 .button,.nav-enter,.footer-link,.footer-link::after{transition:none}
 .primary:hover,.nav-enter:hover,.button:active,.nav-enter:active{transform:none}
}

.brand{min-height:44px}
.art-caption,.hero-note,.feature-number{font-size:12px}
.games .feature-art,.dress .feature-art,.radio .feature-art,.social .feature-art{
 height:330px;overflow:hidden;margin-bottom:16px;background:#17252b;display:block
}
.games .feature-art>img.scene-art,.dress .feature-art>img.scene-art,
.radio .feature-art>img.scene-art,.social .feature-art>img.scene-art{
 position:static;width:100%;height:100%;margin:0;object-fit:cover;filter:none;transform:none
}
.feature:hover .feature-art>img.scene-art{transform:scale(1.025)}
.games .game-ticket{bottom:16px;right:16px;max-width:calc(100% - 32px);font-size:12px}
.radio .equalizer{left:20px;bottom:20px;background:#10212ce8;padding:8px 12px;height:50px;border-radius:2px}
.radio .art-caption{right:16px;left:auto;bottom:16px;padding:4px 9px;background:#14232be8;color:#f1dfbb}
.social .speech{top:18px;right:18px;left:auto;box-shadow:0 4px 10px #0004}
.look-preview{align-items:center;gap:12px;min-height:64px;margin-top:16px;color:var(--gold);font-size:13px}
.look-preview img{height:64px;width:64px;object-fit:contain}
.look-preview small{color:#b5b9b3;font-size:12px}
.games.playing .feature-art>img.scene-art,.social.waving .feature-art>img.scene-art{animation:scene-greeting .75s ease}
@keyframes scene-greeting{40%{transform:scale(1.04) translateY(-3px)}}
@media(max-width:1000px) and (min-width:651px){
 .games .feature-art,.dress .feature-art,.radio .feature-art,.social .feature-art{height:285px}
}
@media(max-width:650px){
 .hero-copy{padding-top:18px}
 .hero .eyebrow{position:relative;width:fit-content;padding:5px 9px;background:#0d1c24ed;border-left:2px solid var(--gold);border-radius:2px}
 .hero .eyebrow span{display:none}
 .hero-note,.feature-number,.fortune .art-caption,.art-caption{font-size:12px}
 .games .feature-art,.dress .feature-art,.radio .feature-art,.social .feature-art{height:260px}
 .radio .equalizer{left:12px;bottom:12px}
 .radio .art-caption{right:12px;bottom:12px}
 .social .speech{top:12px;right:12px}
}
@media(prefers-reduced-motion:reduce){
 .feature:hover .feature-art>img.scene-art,.games.playing .feature-art>img.scene-art,
 .social.waving .feature-art>img.scene-art{transform:none;animation:none}
}

/* 地圖巡禮：遊戲鏡頭、全景位置與近景框景。 */
.map-minimap{position:relative;height:64px;margin:0 0 14px;background:#152831;overflow:hidden;border:1px solid #9e89654d}
.js .map-minimap{display:block}
.map-minimap img{width:100%;height:100%;object-fit:fill;opacity:.78}
#map-viewfinder{position:absolute;top:0;left:21%;width:42%;height:100%;border:2px solid #f2d69d;background:#f2d69d19;box-shadow:0 0 0 1600px #08182038;pointer-events:none}
.mini-caption{position:absolute;left:10px;bottom:5px;padding:1px 6px;background:#102029d9;color:#f4e6cb;font-size:11px}
.map-viewport{position:relative;width:100%;aspect-ratio:16/9;overflow:hidden;background:#10222c;isolation:isolate}
.map-viewport>img,.map-viewport>canvas{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.map-viewport>img{object-position:45% 78%;transition:filter .2s,opacity .2s;pointer-events:none;user-select:none}
.map-viewport>canvas{opacity:0;pointer-events:none;transition:opacity .3s}
.map-viewport.scene-ready>canvas{opacity:1}
.map-viewport.scene-ready>img{opacity:0}
.map-viewport.scene-ready{touch-action:pan-y;cursor:grab}
.map-viewport.scene-ready.dragging{cursor:grabbing}
.map-viewport:after{content:"";position:absolute;inset:0;pointer-events:none;box-shadow:inset 0 0 60px 9px #06131956;z-index:2}
.map-stage.changing .map-viewport>img{filter:blur(7px);opacity:.5}
.map-overlay{z-index:4;pointer-events:none}
.map-overlay .day-toggle{pointer-events:auto}
.scene-disclaimer{position:absolute;right:16px;bottom:16px;z-index:4;padding:5px 9px;background:#0b1b25d9;color:#ede0c9;font-size:12px;letter-spacing:1px}
.scene-camera{position:absolute;left:22px;bottom:14px;z-index:4;align-items:center;gap:12px;max-width:calc(100% - 130px);color:#f5e4c7}
.scene-camera>span{font-size:13px;text-shadow:0 1px 4px #000;background:#11242bc9;padding:4px 8px}
.scene-camera button{min-height:44px;padding:6px 12px;border:1px solid #dfc28c80;border-radius:3px;background:#12262be8;font-size:12px;color:#f3dcaf}
.scene-camera button:disabled{display:none}
.js .scene-camera{display:none}
.js .scene-ready .scene-camera{display:flex}
@media(max-width:650px){
 .map-minimap{height:44px;margin-bottom:10px}.mini-caption{font-size:10px}
 .map-viewport{aspect-ratio:4/5}.map-viewport>img{object-position:45% 82%}
 .scene-camera{left:10px;bottom:10px;gap:5px;max-width:calc(100% - 95px);flex-wrap:wrap}
 .scene-camera>span{font-size:12px}.scene-camera button{padding:5px 9px;font-size:12px}
 .scene-disclaimer{right:10px;bottom:20px;padding:4px 6px;font-size:11px}
}
@media(prefers-reduced-motion:reduce){
 .map-viewport>canvas,.scene-camera,.map-minimap{display:none!important}
 .map-viewport>img{filter:none!important;opacity:1!important}
}

:root{--scene-night:#081724;--scene-muted:#b9c3ca}
body{background:var(--scene-night)}
.section-night{background:var(--scene-night);color:var(--cream)}
.section-night .eyebrow{color:var(--gold)}
.section-night .section-heading>p,.section-night .map-note{color:var(--scene-muted)}
.explore{padding:90px 0 70px}
.explore>.street-position,.explore>.section-heading,.explore>.map-tabs,.explore>.map-note,.explore>noscript{margin-left:8%;margin-right:8%}
.explore>.map-minimap{margin-left:8%;margin-right:8%}
.explore .map-tabs button{color:#c3c9ce}
.explore .map-tabs button[aria-pressed=true]{color:var(--gold);border-color:var(--gold)}
.explore .map-tabs button:hover{background:#1b303d}
.explore .map-stage{box-shadow:none;border-radius:0}
.explore .map-viewport{aspect-ratio:auto;height:76vh;min-height:540px;max-height:900px}
.explore .map-stage figcaption{padding:24px 8%;background:#0b1d2a}
.explore .map-note{margin-top:18px}
.play{padding:0;background:var(--scene-night)}
.play>.section-heading{padding:66px 8% 54px;margin:0}
.feature-scenes{display:block}
.scene-section{--sx:0px;--sy:0px;--scroll:0px;--copy-shift:0px;--near-x:0px;--near-y:0px;--pan:50%;position:relative;isolation:isolate;width:100%;height:94vh;min-height:760px;max-height:1100px;padding:0;border:0;overflow:hidden;background:var(--scene-night)}
.scene-section .feature-art{position:absolute;inset:0;display:block;width:100%;height:100%;margin:0;overflow:hidden;background:var(--scene-night);isolation:isolate}
.scene-depth{position:absolute;inset:-24px;transform:translate3d(var(--sx),calc(var(--sy) + var(--scroll)),0);transition:none}
.scene-picture,.scene-picture .scene-art{display:block;width:100%;height:100%}
.scene-section .feature-art .scene-art{position:static;width:100%;height:100%;max-width:none;margin:0;object-fit:cover;object-position:center;filter:none;transform:none;animation:none}
.scene-veil{position:absolute;inset:0;z-index:2;pointer-events:none;background:linear-gradient(90deg,#071623f2 0%,#071623d9 20%,#07162377 37%,transparent 61%),linear-gradient(0deg,#081724a8,transparent 20%)}
.scene-section .feature-copy{position:absolute;z-index:3;left:8%;top:50%;transform:translate3d(0,calc(-50% + var(--copy-shift)),0);padding:0;width:30%;max-width:440px}
.scene-section .feature-number{font-size:13px;letter-spacing:.14em;color:#efd09d;margin-bottom:18px}
.scene-section .feature-copy h3{font-size:clamp(32px,3.4vw,52px);line-height:1.4;letter-spacing:.03em;margin-bottom:22px;text-wrap:balance;color:#f5ead8}
.scene-section .feature-copy>p:not(.feature-number):not(.small-note){font-size:15px;line-height:2.1;color:#e0e5e5;max-width:38em}
.scene-section .small-note{font-size:12px;line-height:1.8;color:#c5ced2;min-height:0;margin-top:9px}
.scene-section .text-button{font-size:13px;line-height:1.6;margin:20px 0 2px;min-height:46px;color:#f0cc8f}
.feature-cta{display:flex;justify-content:space-between;align-items:center;gap:24px;width:fit-content;min-height:46px;margin-top:22px;padding:7px 0;color:#f2d19b;border-bottom:1px solid #d6b375;font-size:14px;font-weight:700}
.feature-cta:hover{color:#fff0cc;border-color:#fff0cc}
.scene-index{position:absolute;z-index:3;right:5%;bottom:25px;color:#eed9b9;font-size:12px;letter-spacing:.18em;text-shadow:0 1px 3px #000}
.scene-section .art-caption{z-index:3;left:auto;right:5%;bottom:56px;background:#091925e8;padding:4px 9px;color:#f0dfc1;font-size:12px}
.scene-section .fortune-slip{z-index:3;right:9%;bottom:11%;width:82px;min-height:150px;top:auto;left:auto}
.scene-atmos{position:absolute;z-index:2;inset:0;pointer-events:none}
.scene-atmos i{position:absolute;left:46%;top:88%;width:3px;height:4px;background:#fbd293;border-radius:50%;box-shadow:0 0 7px #efb765;opacity:0;animation:scene-mote 9s linear infinite;animation-play-state:paused}
.scene-atmos i:nth-child(2){left:58%;top:76%;animation-delay:-3s}
.scene-atmos i:nth-child(3){left:77%;top:90%;animation-delay:-6s}
.scene-atmos i:nth-child(4){left:88%;top:66%;animation-delay:-2s}
.scene-atmos i:nth-child(5){left:28%;top:75%;animation-delay:-7s}
.scene-atmos i:nth-child(6){left:13%;top:90%;animation-delay:-4s}
.scene-section.in-view .scene-atmos i{animation-play-state:running}
@keyframes scene-mote{12%{opacity:.75}80%{opacity:.2}to{transform:translate(22px,-160px);opacity:0}}
/* 長卷控制列。 */
.panorama-controls{position:absolute;z-index:3;left:8%;bottom:22px;align-items:center;gap:20px;color:#efdfc5}
.panorama-controls button{width:46px;height:46px;background:#0a1b29c9;border:1px solid #d8ba7b80;font-size:22px}
.panorama-controls span{font-size:12px}
/* 天幕：置中大標與天燈互動，人物留在下半部。 */
.layout-sky{height:100vh;min-height:860px}
.layout-sky .scene-veil{background:linear-gradient(180deg,#061525b8 0%,#06152545 30%,transparent 60%,#08172496 100%)}
.layout-sky .feature-copy{top:5%;left:50%;transform:translate3d(-50%,var(--copy-shift),0);width:70%;max-width:750px;text-align:center}
.layout-sky .feature-copy>p:not(.feature-number):not(.small-note){max-width:650px;margin:auto}
.layout-sky .feature-copy h3{font-size:clamp(34px,3.6vw,56px);margin-bottom:16px}
.layout-sky .feature-number{margin-bottom:12px}
.layout-sky .text-button,.layout-sky .feature-cta{margin-left:auto;margin-right:auto}
.layout-sky .text-button{margin-top:12px}
.layout-sky .feature-cta{margin-top:12px}
.layout-sky .daily-clock{z-index:3;left:5%;bottom:45px;background:#091925bf;font-size:43px}
.layout-sky .daily-clock small{font-size:12px;letter-spacing:.25em}
.layout-sky .daily-lantern{z-index:3}
/* 錯位展示：左側大幅室內場景、右側換裝操作。 */
.layout-offset .feature-art{inset:0 auto auto 0;width:65%;height:92%}
.layout-offset .scene-veil{background:linear-gradient(90deg,transparent 70%,#081724 100%),linear-gradient(0deg,#081724 0%,transparent 20%)}
.layout-offset .feature-copy{left:auto;right:6%;width:27%;top:51%}
.layout-offset .feature-copy h3{font-size:clamp(30px,3vw,46px)}
.layout-offset .look-preview{margin-top:12px;gap:10px;border-bottom:1px solid #d4b57845;padding-bottom:10px}
.layout-offset .look-preview img{width:72px;height:72px}
.layout-offset .look-options{gap:6px;margin-top:12px}
.layout-offset .look-options button{padding:7px 10px;font-size:12px;min-height:44px}
.layout-offset .scene-index{left:5%;right:auto}
/* 相聚：滿版群像，標題與招呼泡泡分居兩側。 */
.layout-gathering .feature-copy{left:8%;top:7%;transform:translate3d(0,var(--copy-shift),0);width:48%;max-width:570px}
.layout-gathering .scene-veil{background:linear-gradient(180deg,#071623e8 0%,#07162380 35%,transparent 65%),linear-gradient(90deg,#07162366,transparent 70%)}
.layout-gathering .feature-copy h3{font-size:clamp(32px,3.5vw,52px);margin-bottom:15px}
.layout-gathering .feature-copy>p:not(.feature-number):not(.small-note){max-width:470px}
.layout-gathering .text-button{margin-top:12px}
.layout-gathering .feature-cta{margin-top:14px}
.layout-gathering .speech{z-index:3;top:50%;right:13%;left:auto;font-size:14px;animation:bubble-breathe 5s ease-in-out infinite;animation-play-state:paused}
.layout-gathering.in-view .speech{animation-play-state:running}
@keyframes bubble-breathe{50%{translate:0 -7px}}
.neighbors{background:#0b1c29;border-top:1px solid #d3b58233}
.neighbors .character{color:var(--cream);border-color:#d3b58255}
.neighbors .character small{color:#bfc6c9}
.neighbors .character-talk,.neighbors .character-quote{color:#e2c58e}
.neighbors .character em{color:#e6cfaa;border-color:#c8ae7966}
.closing{background:#081724}
.js #motion[hidden],#motion[hidden]{display:none!important}
.scene-section:not(.in-view) .equalizer i{animation-play-state:paused}
@media(max-width:1000px) and (min-width:651px){
 .scene-section .feature-copy{left:5%;width:36%}
 .layout-offset .feature-copy{left:auto;right:4%;width:32%}
 .layout-sky .feature-copy{left:50%;width:85%}
 .layout-gathering .feature-copy{width:56%}
 .scene-section .feature-copy h3{font-size:34px}
 .scene-section .feature-copy>p:not(.feature-number):not(.small-note){font-size:14px}
}
@media(max-width:650px){
 .explore{padding:56px 0 46px}
 .explore>.street-position,.explore>.section-heading,.explore>.map-tabs,.explore>.map-minimap,.explore>.map-note{margin-left:22px;margin-right:22px}
 .explore .map-viewport{height:68svh;min-height:440px;max-height:680px}
 .explore .map-stage figcaption{padding:22px}
 .play>.section-heading{padding:40px 22px 38px}
 .play>.section-heading h2{font-size:29px}
 .scene-section{height:auto;min-height:0;max-height:none;padding:0 0 34px}
 .scene-section .feature-art{position:relative;inset:auto;width:100%;height:62svh;min-height:430px;max-height:600px;margin:0;cursor:default}
 .scene-depth{inset:-16px}
 .scene-section .feature-art .scene-art{object-position:center}
 .scene-section .feature-copy{position:relative;inset:auto!important;transform:none!important;width:auto!important;max-width:none;margin:0;padding:12px 22px 10px;display:block}
 .scene-section .feature-copy h3{font-size:30px;line-height:1.45;margin-bottom:15px;letter-spacing:.01em;text-wrap:initial}
 .scene-section .feature-number{font-size:12px;letter-spacing:.08em;margin-bottom:12px}
 .scene-section .feature-copy>p:not(.feature-number):not(.small-note){font-size:14px;line-height:2}
 .scene-section .small-note{font-size:12px;margin-top:10px;min-height:0}
 .scene-section .text-button{font-size:13px;min-height:46px;margin-top:13px}
 .feature-cta{margin-top:18px;min-height:46px;font-size:14px}
 .scene-veil,.layout-offset .scene-veil,.layout-gathering .scene-veil{background:linear-gradient(0deg,#081724 0%,transparent 30%)}
 .scene-index{position:relative;display:block;inset:auto!important;margin:12px 22px 0;font-size:12px;color:#bdc5c9;letter-spacing:.1em}
 .scene-section .art-caption{right:16px;bottom:42px;left:auto;font-size:12px}
 .scene-section .fortune-slip{right:18px;bottom:36px;width:68px;min-height:128px}
 .panorama-controls{left:20px;right:20px;bottom:25px;gap:10px;justify-content:space-between}
 .panorama-controls span{font-size:12px;max-width:205px;text-align:center;line-height:1.6}
 .panorama-controls button{flex:none}
 .layout-sky .feature-art{height:70svh;min-height:520px}
 .layout-sky .feature-copy{text-align:left}
 .layout-sky .feature-copy h3{font-size:30px}
 .layout-sky .text-button,.layout-sky .feature-cta{margin-left:0;margin-right:0}
 .layout-sky .daily-clock{left:18px;bottom:36px;font-size:35px;padding:7px 12px}
 .layout-offset .feature-art{height:62svh;min-height:450px}
 .layout-offset .look-preview{margin-top:16px;max-width:310px}
 .layout-offset .look-options{gap:8px}
 .layout-offset .look-options button{padding:8px 13px}
 .layout-gathering .feature-art{height:65svh;min-height:460px}
 .layout-gathering .speech{right:22px;top:40%;font-size:13px}
 .neighbors{padding:56px 22px 36px}
 .neighbors .character em{font-size:12px}
}
@media(prefers-reduced-motion:reduce){
 .scene-depth,.scene-section .feature-copy{transform:none!important;will-change:auto!important}
 .scene-atmos,.scene-section .daily-lantern{display:none!important}
 .scene-section .feature-copy{transform:translateY(-50%)!important}
 .layout-sky .feature-copy{transform:translateX(-50%)!important}
 .layout-gathering .feature-copy{transform:none!important}
 .scene-section .speech{translate:none!important}
}
@media(max-width:650px) and (prefers-reduced-motion:reduce){.scene-section .feature-copy{transform:none!important}}

.scene-section .feature-copy h3{text-wrap:initial}

/* 版型：夜市拼貼——主場景出血到左側，兩張特寫交疊，各自以不同速度移動。 */
.layout-mosaic{height:100vh;min-height:820px;max-height:1060px}
.layout-mosaic .feature-art{background:var(--scene-night)}
.layout-mosaic .tile{position:absolute;margin:0;overflow:hidden;background:#10202b;box-shadow:0 26px 54px #02080edd,0 0 0 1px #d8b97a4d}
.layout-mosaic .tile-main{left:0;top:6%;width:63%;height:66%}
.layout-mosaic .tile-main .scene-depth{inset:-22px}
.layout-mosaic .tile-fish{left:43%;top:58%;width:17.5vw;max-width:290px;aspect-ratio:4/5;rotate:-3deg;z-index:2;transform:translate3d(var(--near-x),calc(var(--near-y) - var(--scroll) * 1.6),0)}
.layout-mosaic .tile-balloon{left:65%;top:55%;width:18.5vw;max-width:310px;aspect-ratio:4/5;rotate:2.5deg;z-index:2;transform:translate3d(calc(var(--near-x) * 1.4),calc(var(--near-y) * 1.3 - var(--scroll) * 2.6),0)}
.layout-mosaic .tile>img{width:100%;height:100%;object-fit:cover;display:block}
.layout-mosaic .tile figcaption{position:absolute;left:10px;bottom:10px;padding:3px 9px;border-radius:2px;background:#0a1a26e6;color:#f1dfbb;font:600 12px/1.6 var(--xd-hei);letter-spacing:.1em}
.layout-mosaic .game-ticket{z-index:2;right:18px;bottom:18px;top:auto;left:auto}
.layout-mosaic .feature-copy{left:auto;right:5%;top:6%;width:28%;max-width:410px;transform:translate3d(0,var(--copy-shift),0)}
.layout-mosaic .feature-copy h3{font-size:clamp(30px,3vw,46px)}
.layout-mosaic .feature-copy>p:not(.feature-number):not(.small-note){font-size:14px;line-height:2}
.layout-mosaic.playing .tile-fish>img,.layout-mosaic.playing .tile-balloon>img{animation:tile-hop .7s var(--xd-ease)}
@keyframes tile-hop{35%{transform:scale(1.07) rotate(-1.5deg)}70%{transform:scale(.98) rotate(1deg)}}

/* 版型：電台長卷——直向捲動帶動橫向平移（桌機）；手機與減少動態改用原生左右滑動。 */
.layout-scroll{height:auto;min-height:0;max-height:none;overflow:visible}
.layout-scroll .scroll-pin{position:relative;height:94vh;min-height:720px;max-height:1060px;overflow:hidden;isolation:isolate}
.layout-scroll .scroll-stage{position:absolute;inset:0;overflow:hidden}
.scroll-view{position:absolute;inset:0;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#c9a86a66 transparent;outline-offset:-4px}
.scroll-track{height:100%;width:max-content}
.layout-scroll .scroll-track .scene-art{position:static;display:block;height:100%;width:auto;max-width:none;object-fit:fill;aspect-ratio:3/1}
.layout-scroll .scene-veil{background:linear-gradient(90deg,#071623f5 0%,#071623d4 24%,#07162366 40%,transparent 56%),linear-gradient(0deg,#081724c0,transparent 24%)}
.layout-scroll .feature-copy{left:6%;width:29%;max-width:430px}
.layout-scroll .equalizer{z-index:3;left:auto;right:5%;bottom:70px;pointer-events:none}
.layout-scroll .panorama-controls{z-index:4;left:auto;right:5%;bottom:120px}
.scroll-progress{position:absolute;z-index:3;left:40%;right:5%;top:30px;height:2px;background:#f2dcb033;pointer-events:none}
.scroll-progress i{display:block;height:100%;width:calc(var(--progress,0) * 100%);background:var(--gold)}
.layout-scroll.scrolly{height:var(--scroll-h,300vh)}
.layout-scroll.scrolly .scroll-pin{position:sticky;top:0;height:100vh;min-height:0;max-height:none}
.layout-scroll.scrolly .scroll-view{overflow:hidden}
.layout-scroll.scrolly .scroll-track{will-change:transform}

/* 天燈：點夜空放一盞；另有幾盞慢慢飄。 */
.sky-lanterns{position:absolute;inset:0;z-index:2;pointer-events:none;transform:translate3d(calc(var(--near-x) * 1.3),calc(var(--near-y) * 1.3),0)}
.sky-lantern{position:absolute;width:64px;height:78px;margin:-50px 0 0 -32px;background:url('assets/lantern.webp') 0 50%/800% auto no-repeat;filter:drop-shadow(0 0 10px #ffb257) drop-shadow(0 0 22px #ff9a3d88)}
.sky-lantern.released{animation:sky-release 6.5s cubic-bezier(.3,.6,.4,1) forwards}
.sky-lantern.ambient{scale:.55;opacity:0;animation:sky-drift 13s linear infinite;animation-play-state:paused}
.layout-sky.in-view .sky-lantern.ambient{animation-play-state:running}
@keyframes sky-release{0%{opacity:0;transform:translate(0,30px) scale(1.15)}10%{opacity:1}100%{opacity:0;transform:translate(var(--drift,20px),-58vh) scale(.42)}}
@keyframes sky-drift{0%{opacity:0;transform:translate(0,0)}12%{opacity:.9}85%{opacity:.6}100%{opacity:0;transform:translate(26px,-38vh)}}
.layout-sky .feature-art{cursor:pointer}
.sky-hint{position:absolute;z-index:3;left:50%;bottom:42px;translate:-50% 0;align-items:center;gap:10px;padding:6px 14px;border-radius:2px;background:#091925c4;color:#f1dfbb;font-size:13px;letter-spacing:.08em;pointer-events:none}
.sky-hint:before{content:"";width:6px;height:6px;border-radius:50%;background:#ffc46b;box-shadow:0 0 10px #ffb257}

/* 街上的招呼泡泡。 */
.street-bubbles{position:absolute;inset:0;z-index:3;pointer-events:none;transform:translate3d(calc(var(--near-x) * .9),calc(var(--near-y) * .9),0)}
.bubble{position:absolute;width:max-content;padding:7px 14px;border-radius:16px;background:#f6ead2;color:#3a3326;font:700 14px/1.4 var(--xd-hei);white-space:nowrap;box-shadow:0 8px 18px #0007;opacity:0;transform-origin:20% 100%}
.bubble:after{content:"";position:absolute;left:18px;bottom:-7px;border:7px solid transparent;border-top-color:#f6ead2;border-bottom:0}
.bubble.pop{animation:bubble-pop 3.4s var(--xd-ease) both}
@keyframes bubble-pop{0%{opacity:0;transform:translateY(14px) scale(.5)}12%{opacity:1;transform:none}82%{opacity:1;transform:translateY(-6px)}100%{opacity:0;transform:translateY(-14px) scale(.96)}}
.layout-gathering .speech{top:50%;left:56%;right:auto}

/* 進場揭示：背景由近推遠、文字依序浮現（僅在有 JS 且允許動態時）。 */
@media(prefers-reduced-motion:no-preference){
 .js .scene-section .scene-picture{scale:1.1;transition:scale 1.8s var(--xd-ease)}
 .js .scene-section.entered .scene-picture{scale:1}
 .js .scene-section .feature-copy>*{opacity:0;translate:0 28px;transition:opacity .9s var(--xd-ease),translate .9s var(--xd-ease)}
 .js .scene-section.entered .feature-copy>*{opacity:1;translate:0 0}
 .js .scene-section.entered .feature-copy>*:nth-child(2){transition-delay:.08s}
 .js .scene-section.entered .feature-copy>*:nth-child(3){transition-delay:.16s}
 .js .scene-section.entered .feature-copy>*:nth-child(n+4){transition-delay:.24s}
 .js .layout-mosaic .tile-fish,.js .layout-mosaic .tile-balloon{opacity:0;translate:0 80px;transition:opacity 1s var(--xd-ease) .2s,translate 1.2s var(--xd-ease) .2s}
 .js .layout-mosaic.entered .tile-fish,.js .layout-mosaic.entered .tile-balloon{opacity:1;translate:0 0}
 .js .layout-mosaic.entered .tile-balloon{transition-delay:.35s}
}

@media(max-width:1000px) and (min-width:651px){
 .layout-mosaic .tile-main{width:70%;height:58%}
 .layout-mosaic .tile-fish{left:30%;top:60%;width:24vw}
 .layout-mosaic .tile-balloon{left:58%;top:62%;width:24vw}
 .layout-mosaic .feature-copy{right:4%;width:30%;top:5%}
 .layout-scroll .feature-copy{left:5%;width:40%}
 .scroll-progress{left:50%}
}
@media(max-width:650px){
 .layout-mosaic{padding-bottom:34px}
 .layout-mosaic .feature-art{position:relative;height:auto;min-height:0;max-height:none;display:grid;grid-template-columns:1fr 1fr;column-gap:14px;overflow:visible;background:none}
 .layout-mosaic .tile{position:relative;left:auto;top:auto;width:auto;max-width:none}
 .layout-mosaic .tile-main{grid-column:1/-1;height:auto;aspect-ratio:3/4;box-shadow:none}
 .layout-mosaic .tile-fish{margin:-64px 0 0 18px;transform:none}
 .layout-mosaic .tile-balloon{margin:-36px 18px 0 0;transform:none}
 .layout-mosaic .game-ticket{bottom:76px;right:14px}
 .layout-mosaic .feature-copy{padding-top:22px}
 .layout-scroll .scroll-pin{height:auto;min-height:0;max-height:none;overflow:visible}
 .layout-scroll .scroll-stage{position:relative;inset:auto;height:60svh;min-height:420px;max-height:580px}
 .layout-scroll .scene-veil{background:linear-gradient(0deg,#081724 0%,transparent 22%)}
 .layout-scroll .feature-copy{width:auto}
 .layout-scroll .equalizer{left:20px;right:auto;bottom:84px}
 .layout-scroll .panorama-controls{left:20px;right:20px;bottom:24px}
 .scroll-progress{left:20px;right:20px;top:auto;bottom:16px}
 .sky-hint{bottom:auto;top:16px;font-size:12px}
 .sky-lantern{width:48px;height:58px;margin:-38px 0 0 -24px}
 .layout-gathering .speech{left:auto;right:16px;top:46%}
 .bubble{font-size:13px;padding:6px 12px}
}
@media(prefers-reduced-motion:reduce){
 .near-lanterns,.sky-lanterns,.street-bubbles,.tile-fish,.tile-balloon{transform:none!important}
 .near-lanterns i,.bubble.pop{animation:none!important}
 .sky-lanterns,.sky-hint,.scroll-progress{display:none!important}
 .layout-mosaic .feature-copy,.layout-scroll .feature-copy{transform:none!important}
 .layout-scroll .feature-copy{top:50%!important;translate:0 -50%}
 .layout-sky .feature-art{cursor:default}
 .bubble{opacity:0}
}
@media(max-width:650px) and (prefers-reduced-motion:reduce){.layout-scroll .feature-copy{translate:none}}

.scene-paused .scene-atmos i,.scene-paused .speech,.scene-paused .equalizer i{animation-play-state:paused!important}
.map-cinematic{position:absolute;inset:0;z-index:2;display:block;overflow:hidden;background:#081724;pointer-events:none}
.map-cinematic img{width:100%;height:100%;object-fit:cover;object-position:center;transition:opacity .4s,transform .7s;transform:scale(1.015)}
.map-stage.changing .map-cinematic img{opacity:.5;transform:scale(1.04)}
.map-viewport.live-mode .map-cinematic{display:none}
.map-viewport:not(.live-mode) .scene-camera{display:none!important}
.map-viewport:not(.live-mode) .day-toggle{display:none!important}
.explore:has(.map-viewport:not(.live-mode)) .map-minimap{display:none!important}
.tour-mode{position:absolute;right:5%;top:22px;z-index:5;align-items:center;justify-content:center;gap:16px;min-height:46px;padding:8px 17px;border:1px solid #e4c68c;background:#0a1c29e8;color:#f2d49e;font-size:13px;border-radius:2px}
.map-viewport.live-mode .tour-mode{top:86px;right:24px}
.map-stage .scene-disclaimer{background:#081724dd}
@media(max-width:650px){
 .desktop-only{display:none}
 .scene-section .fortune-slip{width:82px;right:14px;bottom:38px}
 .scene-section .fortune-slip strong{font-size:18px;line-height:1.5}
 .scene-section .art-caption{bottom:17px}
 .tour-mode{right:14px;top:14px;min-height:46px;padding:8px 12px;font-size:12px;gap:8px}
 .map-viewport.live-mode .tour-mode{right:14px;top:76px}
 .map-cinematic img{object-position:center}
}

/* 整合既有夜市拼貼、電台長卷，保留其圖文與素材。 */
.near-lanterns{position:absolute;inset:0;z-index:2;pointer-events:none;transform:translate3d(var(--near-x),var(--near-y),0)}
.near-lanterns i{position:absolute;right:3%;top:7%;height:118px;width:78px;background:url('assets/lantern.webp') 0 0/800% 100% no-repeat;filter:brightness(.8);opacity:.65}
.near-lanterns i:nth-child(2){left:2%;right:auto;top:75%;height:60px;width:40px;opacity:.35}
.layout-mosaic .feature-art{position:absolute;left:35%;top:0;right:0;width:65%;height:100%;background:none}
.layout-mosaic .feature-copy{left:6%;width:26%;max-width:390px}
.layout-mosaic .feature-copy h3{font-size:clamp(30px,3vw,46px)}
.layout-mosaic .tile{position:absolute;overflow:hidden;margin:0;border:0;border-radius:0}
.layout-mosaic .tile-main{left:0;top:7%;width:100%;height:62%}
.layout-mosaic .tile-fish{left:7%;top:58%;width:34%;height:38%;z-index:2}
.layout-mosaic .tile-balloon{right:3%;top:50%;width:37%;height:45%;z-index:2}
.layout-mosaic .tile img{width:100%;height:100%;max-width:none;object-fit:cover}
.layout-mosaic .tile figcaption{position:absolute;bottom:12px;left:15px;font-size:12px;color:#f4d9ac;background:#081724db;padding:3px 8px}
.layout-mosaic .game-ticket{bottom:25px;right:8%;z-index:3;font-size:12px}
.layout-mosaic .scene-depth{inset:-15px}
.layout-scroll{height:100vh;min-height:800px;max-height:none;overflow:clip}
.scroll-pin{position:relative;min-height:800px;height:100vh;overflow:hidden;background:#081724}
.layout-scroll.scrolly .scroll-pin{position:sticky;top:0}
.scene-section.layout-scroll .feature-art{position:absolute;inset:0;width:100%;height:100%;overflow:hidden;cursor:grab;touch-action:pan-y}
.scroll-track{height:100%;width:max-content;min-width:100%;transform:translate3d(calc(var(--radio-pan,0) * -1px),0,0)}
.scene-section .scroll-track img.scene-art{width:auto;height:100%;max-width:none;object-fit:contain}
.layout-scroll .scene-veil{background:linear-gradient(180deg,#071623dd,transparent 58%),linear-gradient(90deg,#071623cc 0%,transparent 50%)}
.layout-scroll .feature-copy{left:7%;top:6%;width:40%;max-width:560px;transform:translate3d(0,var(--copy-shift),0);pointer-events:none}
.layout-scroll .feature-copy button,.layout-scroll .feature-copy a{pointer-events:auto}
.layout-scroll .feature-copy h3{font-size:clamp(32px,3.2vw,48px);margin-bottom:12px}
.layout-scroll .feature-copy .feature-number{margin-bottom:10px}
.layout-scroll .feature-copy .text-button{margin-top:12px}
.layout-scroll .feature-copy .feature-cta{margin-top:12px}
.layout-scroll .equalizer{left:7%;bottom:90px;z-index:3}
.layout-scroll .panorama-controls{left:7%;bottom:25px}
.scroll-progress{position:absolute;left:0;bottom:0;width:100%;height:3px;background:#d4bb7c33;z-index:4}
.scroll-progress i{display:block;width:calc(var(--progress,0) * 100%);height:100%;background:var(--gold)}
.street-bubbles{position:absolute;inset:0;z-index:3;pointer-events:none}
.street-bubbles .bubble{position:absolute;background:#f2e4cc;color:#3c443e;padding:6px 12px;border-radius:2px;font-size:12px;opacity:0}
.b-toast{left:12%;top:70%}.b-dance{left:40%;top:48%}.b-wave{right:10%;top:50%}.b-chat{right:25%;top:72%}
.bubble.pop{animation:scene-bubble 2.2s ease-out}
@keyframes scene-bubble{10%,80%{opacity:1;translate:0 -8px}to{opacity:0;translate:0 -15px}}
.sky-lanterns{position:absolute;inset:0;pointer-events:none;overflow:hidden;z-index:3}
.sky-lantern{position:absolute;width:45px;height:58px;background:url('assets/lantern.webp') 0 0/800% 100% no-repeat;animation:released-lantern 4s ease-out forwards;transform-origin:center}
@keyframes released-lantern{from{translate:0 0;opacity:1}to{translate:25px -330px;opacity:0;scale:.45}}
.scene-paused .near-lanterns,.scene-paused .bubble,.scene-paused .sky-lantern{animation-play-state:paused!important}
@media(max-width:1000px) and (min-width:651px){
 .layout-mosaic .feature-copy{left:4%;width:31%}
 .layout-mosaic .feature-art{left:37%;width:63%}
 .layout-scroll .feature-copy{width:58%}
}
@media(max-width:650px){
 .near-lanterns i{height:76px;width:50px}
 .layout-mosaic .feature-art{position:relative;inset:auto;width:100%;height:65svh;min-height:500px}
 .layout-mosaic .tile-main{top:0;left:0;width:100%;height:65%}
 .layout-mosaic .tile-fish{left:5%;top:52%;width:42%;height:45%}
 .layout-mosaic .tile-balloon{right:4%;top:47%;width:44%;height:48%}
 .layout-mosaic .game-ticket{bottom:30px;right:20px;font-size:12px}
 .layout-scroll{min-height:812px;padding:0}
 .scroll-pin{height:100svh;min-height:812px;overflow:hidden}
 .scene-section.layout-scroll .feature-art{position:absolute;inset:0;width:100%;height:100%;min-height:0;max-height:none}
 .layout-scroll .scene-veil{background:linear-gradient(0deg,#081724f5 0%,#081724eb 43%,transparent 72%)}
 .scene-section.layout-scroll .feature-copy{position:absolute;top:auto!important;bottom:58px!important;left:0!important;right:0!important;margin:0;padding:10px 22px;pointer-events:none}
 .layout-scroll .feature-copy h3{font-size:29px}
 .layout-scroll .feature-copy>p:not(.feature-number):not(.small-note){font-size:13px;line-height:1.8}
 .layout-scroll .feature-copy .feature-number{font-size:12px}
 .layout-scroll .feature-copy .small-note{margin-top:4px}
 .layout-scroll .feature-copy .text-button{margin-top:8px}
 .layout-scroll .feature-copy .feature-cta{margin-top:8px}
 .layout-scroll .equalizer{left:auto;right:18px;bottom:55%;height:42px}
 .layout-scroll .panorama-controls{left:22px;right:22px;bottom:14px}
 .layout-scroll .panorama-controls span{max-width:225px}
 .layout-scroll .scene-index{display:none}
 .street-bubbles .bubble{font-size:12px;padding:4px 8px}
}
@media(prefers-reduced-motion:reduce){
 .near-lanterns{transform:none!important}.sky-lanterns,.street-bubbles,.near-lanterns{display:none!important}
 .layout-scroll{height:auto!important;min-height:0;overflow:hidden}
 .layout-scroll .scroll-pin{position:relative!important;height:auto;min-height:0;overflow:hidden}
 .scene-section.layout-scroll .feature-art{position:relative;height:60vh;min-height:420px;overflow-x:auto}
 .scroll-track{transform:none!important}
 .scene-section.layout-scroll .feature-copy{position:relative!important;inset:auto!important;transform:none!important;padding:30px 7%;width:100%;max-width:none;pointer-events:auto}
 .layout-scroll .panorama-controls{display:none!important}.layout-scroll .scene-index{display:none}
}
html:not(.js) .layout-scroll{height:auto;min-height:0}
html:not(.js) .scroll-pin{height:auto;min-height:0}
html:not(.js) .layout-scroll .feature-art{position:relative;height:60vh;overflow-x:auto}
html:not(.js) .scroll-track{transform:none}
html:not(.js) .layout-scroll .feature-copy{position:relative;inset:auto!important;transform:none!important;width:auto!important;max-width:none;margin:0;padding:30px 7%;pointer-events:auto}

.layout-scroll .equalizer{right:auto;width:84px}
.layout-scroll .scroll-progress{left:0;right:auto;top:auto;bottom:0;width:100%}
.fortune .feature-copy h3{font-size:clamp(32px,2.9vw,43px)}
@media(max-width:650px){.fortune .feature-copy h3{font-size:30px}.layout-scroll .equalizer{left:auto;right:18px;width:84px}}
@media(max-width:650px){.scene-section.layout-mosaic{height:auto;min-height:0;max-height:none}}
@media(min-width:651px){.layout-scroll .scene-veil{background:linear-gradient(90deg,#071623f0 0%,#071623c7 30%,#07162355 46%,transparent 60%),linear-gradient(180deg,#071623b3,transparent 40%)}}
@media(max-width:650px){.layout-scroll .equalizer{top:18px;bottom:auto}}

.js .tour-mode[hidden]{display:none!important}
/* 電台、多人：文字區遮罩加深。 */
@media(min-width:651px){
 .layout-scroll .scene-veil{background:linear-gradient(90deg,#071623f7 0%,#071623eb 28%,#071623b3 42%,#07162359 54%,transparent 66%),linear-gradient(180deg,#071623d9,transparent 46%)}
 .layout-gathering .feature-copy{width:30%;max-width:420px}
 .layout-gathering .feature-copy>*{text-shadow:0 2px 10px #050f17}
 .layout-gathering .scene-veil{background:linear-gradient(90deg,#071623f2 0%,#071623d9 20%,#07162380 33%,#07162326 44%,transparent 52%),linear-gradient(180deg,#071623cc 0%,#07162366 30%,transparent 46%),linear-gradient(0deg,#081724b3,transparent 22%)}
}
@media(max-width:650px){
 .layout-scroll .scene-veil{background:linear-gradient(0deg,#081724fa 0%,#081724f0 46%,#08172499 60%,transparent 76%)}
}
/* 多人段泡泡：配合新主圖的乾杯、跳舞位置。 */
.b-toast{left:57%;top:46%;right:auto}.b-dance{left:43%;top:29%;right:auto}.b-chat{left:63%;top:21%;right:auto}.b-wave{right:5%;top:31%;left:auto}
.layout-gathering .speech{top:44%;right:4%;left:auto}
@media(max-width:650px){
 .b-toast{left:52%;top:40%}.b-dance{left:8%;top:13%}.b-chat{left:54%;top:6%}.b-wave{display:none}
 .layout-gathering .speech{top:auto;bottom:64px;right:14px}
}
/* 夜市票籤移到主圖左上，不再蓋到射氣球特寫。 */
.layout-mosaic .game-ticket{top:20px;left:20px;right:auto;bottom:auto;transform:rotate(-3deg)}
@media(max-width:650px){.layout-mosaic .game-ticket{top:14px;left:14px;right:auto;bottom:auto}}
/* 換裝：羊毛氈試衣鏡預覽取代 64px 遊戲小人。 */
.look-preview{align-items:flex-end;gap:18px;min-height:0}
.layout-offset .look-preview{gap:18px;padding-bottom:14px}
.look-frame{display:block;flex:none;width:132px;aspect-ratio:4/5;overflow:hidden;border-radius:3px;background:#10202b;box-shadow:0 0 0 1px #d8b97a80,0 0 0 5px #3a261a,0 0 0 6px #d8b97a55,0 14px 26px #02080ecc}
.look-preview .look-frame img,.layout-offset .look-preview .look-frame img{width:100%;height:100%;object-fit:cover;object-position:50% 30%}
.look-preview img.swap{animation:look-swap .55s var(--xd-ease)}
@keyframes look-swap{0%{opacity:.2;transform:scale(1.08)}100%{opacity:1;transform:none}}
.look-text{display:flex;flex-direction:column;gap:2px;padding-bottom:4px}
#wardrobe-label{font:700 18px/1.5 var(--xd-hei);color:#f2d19b;letter-spacing:.06em}
@media(max-width:650px){.look-frame{width:118px}}
@media(max-width:1000px) and (min-width:651px){.look-frame{width:104px}}
/* 認識街坊、結尾：滿版羊毛氈夜景，底色統一 --scene-night。 */
.felt-night{position:relative;isolation:isolate;overflow:hidden;background:var(--scene-night)}
.night-backdrop{position:absolute;inset:0;z-index:-1;pointer-events:none}
.night-backdrop picture,.night-backdrop img{display:block;width:100%;height:100%;object-fit:cover;max-width:none}
.night-backdrop:after{content:"";position:absolute;inset:0}
.neighbors{background:var(--scene-night);border-top:0;padding-top:110px;padding-bottom:80px}
.neighbors .night-backdrop img{object-position:50% 70%}
.neighbors .night-backdrop:after{background:linear-gradient(180deg,#081724f2 0%,#081724c7 24%,#08172459 46%,#0817241f 60%,#081724b8 80%,#081724 100%)}
.neighbors .section-heading>p{color:#d6dbdc}
.neighbors .character-wall{margin-top:150px}
.neighbors .character{border-bottom-color:#d3b58266}
.neighbors .character img{height:270px;width:100%;object-fit:contain;object-position:50% 100%;filter:drop-shadow(0 18px 16px #02080ecc)}
.neighbors .character strong{text-shadow:0 2px 8px #000}
.neighbors .character small{color:#d3d9db}
.neighbors .character-talk{top:-34px;color:#3a3326;background:#f6ead2;width:max-content;max-width:100%;margin:auto;padding:5px 12px;border-radius:14px;box-shadow:0 8px 18px #0007}
.neighbors .character-quote{color:#f0d6a4;text-shadow:0 2px 10px #000}
.closing{background:var(--scene-night);min-height:88vh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:120px 24px 110px;border-bottom:1px solid #b39c6b40}
.closing .night-backdrop img{object-position:50% 60%}
.closing .night-backdrop:after{background:linear-gradient(180deg,#081724 0%,#081724b8 18%,#0817248c 45%,#081724a6 70%,#081724 100%)}
.closing h2{text-shadow:0 4px 24px #02080e}
.closing>p:not(.eyebrow){color:#e2e6e6;text-shadow:0 2px 10px #02080e}
.closing .eyebrow{text-shadow:0 2px 8px #02080e}
.closing .home-link{display:flex;align-items:center;text-shadow:0 2px 8px #02080e}
@media(max-width:1000px){.neighbors .character img{height:210px}}
@media(max-width:650px){
 .neighbors{padding:64px 22px 44px}
 .neighbors .night-backdrop img{object-position:50% 50%}
 .neighbors .night-backdrop:after{background:linear-gradient(180deg,#081724f2 0%,#081724cc 20%,#08172480 40%,#0817244d 60%,#081724cc 88%,#081724 100%)}
 .neighbors .character-wall{margin-top:70px}
 .neighbors .character img{height:160px}
 .neighbors .character-talk{top:-30px;font-size:12px}
 .closing{min-height:640px;padding:90px 20px}
}
@media(prefers-reduced-motion:reduce){.look-preview img.swap{animation:none}}

/* ===== 2026-11 改版：情境宣傳、點圖互動、大天燈、遊戲變身、電台播放 ===== */

/* 情境宣傳：在街上可以做什麼 */
.hangout{padding:100px 8% 90px;background:linear-gradient(180deg,#0f2029 0%,var(--scene-night) 70%);position:relative}
.hangout .section-heading h2{color:#f5ead8}
.hangout .section-heading>p{color:var(--scene-muted)}
.hangout-scenes{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:56px 44px;max-width:1240px}
.hangout-card{display:flex;flex-direction:column;gap:20px;min-width:0}
.hangout-card:nth-child(even){margin-top:72px}
.hc-art{position:relative;aspect-ratio:16/10;overflow:hidden;border-radius:4px;background:#10202b;box-shadow:0 22px 44px #02080ecc,0 0 0 1px #d8b97a40;isolation:isolate}
.hc-art>img{width:100%;height:100%;object-fit:cover;display:block}
.hc-music .hc-art>img{object-position:60% 50%}
.hc-art:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(0deg,#08172466,transparent 35%);z-index:1}
.hc-time{font:600 12px/1.6 var(--sans);letter-spacing:.14em;color:var(--gold);font-variant-numeric:tabular-nums}
.hc-copy h3{font-size:clamp(22px,2vw,28px);line-height:1.45;margin:6px 0 10px;color:#f5ead8;letter-spacing:.02em}
.hc-copy p:not(.hc-time){font-size:14px;line-height:2;color:#cfd6d7;max-width:34em}
.hangout-note{margin-top:48px;font-size:12px;line-height:1.8;color:var(--scene-muted)}
.hangout:not(.in-view) .hc-art *{animation-play-state:paused!important}
/* 聊天泡泡輪流冒出 */
.hc-bubble{position:absolute;z-index:2;padding:6px 13px;border-radius:14px;background:#f6ead2;color:#3a3326;font:700 13px/1.4 var(--xd-hei);white-space:nowrap;box-shadow:0 6px 16px #0007;opacity:0;animation:hc-pop 9.6s var(--xd-ease) infinite}
.hc-bubble:after{content:"";position:absolute;left:16px;bottom:-6px;border:6px solid transparent;border-top-color:#f6ead2;border-bottom:0}
.hc-bubble:nth-child(1){left:7%;top:16%}
.hc-bubble:nth-child(2){right:8%;top:30%;animation-delay:2.4s}
.hc-bubble:nth-child(3){left:26%;top:50%;animation-delay:4.8s}
.hc-bubble:nth-child(4){right:16%;top:10%;animation-delay:7.2s}
@keyframes hc-pop{0%{opacity:0;transform:translateY(10px) scale(.6)}4%{opacity:1;transform:none}24%{opacity:1;transform:translateY(-4px)}29%,100%{opacity:0;transform:translateY(-10px)}}
/* 看街景：遊戲街坊從石板路走過 */
.hc-watch .hc-art>img{animation:hc-drift 28s ease-in-out infinite alternate;transform-origin:60% 60%}
@keyframes hc-drift{from{transform:scale(1.02)}to{transform:scale(1.1) translateX(-2.5%)}}
.hc-walkers i{position:absolute;z-index:2;left:0;width:100%;height:0;bottom:var(--b);transform:translateX(var(--still,30%));animation:hc-walk var(--t) linear infinite;animation-delay:var(--d,0s)}
.hc-walkers b{position:absolute;bottom:0;left:0;width:var(--s);aspect-ratio:1;margin-bottom:calc(var(--s) * -.06);background:url('assets/live-looks.webp') no-repeat;background-size:2400% 2100%;background-position:var(--x0) var(--y);filter:brightness(.9) saturate(.95) drop-shadow(0 4px 4px #0006);animation:hc-step .64s steps(4) infinite}
.hc-walkers .w1{--b:6%;--s:21%;--t:19s;--still:24%;--x0:4.348%;--x1:21.739%;--y:10%}
.hc-walkers .w2{--b:22%;--s:15%;--t:26s;--d:-11s;--still:58%;--x0:30.435%;--x1:47.826%;--y:45%}
.hc-walkers .w3{--b:12%;--s:18%;--t:22s;--d:-6s;--still:70%;--x0:30.435%;--x1:47.826%;--y:80%;animation-direction:reverse}
.hc-walkers .w3 b{scale:-1 1}
@keyframes hc-walk{from{transform:translateX(-25%)}to{transform:translateX(105%)}}
@keyframes hc-step{from{background-position-x:var(--x0)}to{background-position-x:var(--x1)}}
/* 聽音樂：音符從收音機飄出 */
.hc-notes i{position:absolute;z-index:2;left:56%;top:40%;font-style:normal;font-size:22px;color:#ffe2a0;text-shadow:0 0 10px #ffb04d,0 0 2px #fff;opacity:0;animation:hc-note 5.2s ease-out infinite}
.hc-notes i:nth-child(2){--dx:-40px;--r:-14deg;animation-delay:1.3s;font-size:18px}
.hc-notes i:nth-child(3){--dx:60px;--r:12deg;animation-delay:2.6s}
.hc-notes i:nth-child(4){--dx:20px;--r:-8deg;animation-delay:3.9s;font-size:26px}
@keyframes hc-note{0%{opacity:0;transform:translate(0,0) scale(.6)}14%{opacity:1}100%{opacity:0;transform:translate(var(--dx,36px),-120px) rotate(var(--r,10deg)) scale(1.05)}}
/* 小遊戲：攤位標籤與「新遊戲」 */
.hc-tags{position:absolute;z-index:2;left:14px;right:14px;bottom:14px;display:flex;flex-wrap:wrap;gap:6px}
.hc-tags span{padding:3px 10px;border-radius:2px;background:#0a1a26e6;color:#f1dfbb;font:600 12px/1.6 var(--xd-hei);letter-spacing:.08em;animation:hc-tag 8s var(--xd-ease) infinite}
.hc-tags span:nth-child(2){animation-delay:.25s}.hc-tags span:nth-child(3){animation-delay:.5s}
.hc-tags .hc-new{background:var(--gold);color:var(--ink);animation:hc-tag 8s var(--xd-ease) infinite .9s,hc-glint 2.4s ease-in-out infinite alternate}
@keyframes hc-tag{0%{opacity:0;translate:0 8px}6%,88%{opacity:1;translate:0 0}96%,100%{opacity:0;translate:0 -4px}}
@keyframes hc-glint{from{box-shadow:0 0 0 #f7d79a00}to{box-shadow:0 0 16px #f7d79acc}}
@media(max-width:1000px) and (min-width:651px){
 .hangout{padding:80px 6% 70px}
 .hangout-scenes{gap:40px 26px}
 .hangout-card:nth-child(even){margin-top:48px}
}
@media(max-width:650px){
 .hangout{padding:60px 22px 56px}
 .hangout-scenes{grid-template-columns:1fr;gap:40px}
 .hangout-card:nth-child(even){margin-top:0}
 .hangout-card{gap:14px}
 .hc-copy h3{font-size:22px}
 .hc-copy p:not(.hc-time){font-size:14px}
 .hc-bubble{font-size:12px;padding:5px 10px}
 .hangout-note{margin-top:34px}
}
@media(prefers-reduced-motion:reduce){
 .hc-bubble:nth-child(1),.hc-bubble:nth-child(2){opacity:1}
 .hc-notes i:nth-child(1),.hc-notes i:nth-child(3){opacity:.9;transform:translate(var(--dx,20px),-30px)}
 .hc-walkers b{background-position:var(--x0) var(--y)}
}

/* 點圖互動：圖片本身就是按鈕 */
.js .tap-target{cursor:pointer}
.js .scene-section .tap-target{cursor:pointer}
.scene-section.layout-scroll .feature-art{cursor:auto}
.tap-target:focus{outline:none}
.tap-target:focus-visible{outline:3px solid #f0c77f;outline-offset:-6px}
.look-frame.tap-target:focus-visible{outline-offset:3px}
.scene-section .tap-target:after,.look-frame.tap-target:after{content:"";position:absolute;inset:0;z-index:4;pointer-events:none;box-shadow:inset 0 0 0 #f2b45a00;transition:box-shadow .45s var(--xd-ease)}
@media(hover:hover){
 .scene-section .tap-target:hover:after{box-shadow:inset 0 0 120px #f6b85a3d,inset 0 0 0 1px #f2d19b40}
 .look-frame.tap-target:hover:after{box-shadow:inset 0 0 40px #f6b85a55}
 .js .scene-section.entered .tap-target:hover .scene-picture{scale:1.025;transition-duration:.7s}
 .layout-mosaic .tap-target .tile>img{transition:transform .6s var(--xd-ease)}
 .layout-mosaic .tap-target:hover .tile>img{transform:scale(1.035)}
 .scroll-view.tap-target .scene-art{transition:filter .4s}
 .scroll-view.tap-target:hover .scene-art{filter:brightness(1.07) saturate(1.05)}
 .look-frame.tap-target:hover img{scale:1.04}
}
.look-frame img{transition:scale .5s var(--xd-ease)}
.tap-hint{position:absolute;z-index:5;display:inline-flex;align-items:center;gap:8px;width:max-content;max-width:calc(100% - 28px);padding:7px 15px 7px 10px;border-radius:999px;background:#0a1b28de;border:1px solid #e9c98a99;color:#f6e3bd;font:700 13px/1.4 var(--xd-hei);letter-spacing:.06em;pointer-events:none;box-shadow:0 6px 18px #0009;transition:opacity .6s ease,translate .6s ease}
.tap-hint svg{flex:none;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;animation:tap-bob 1.6s ease-in-out infinite}
.tap-hint:after{content:"";position:absolute;inset:-5px;border-radius:inherit;border:1px solid #f2d19b;opacity:0;animation:tap-ring 2.4s ease-out infinite}
.tap-hint.used{opacity:0;translate:0 8px}
@keyframes tap-bob{50%{transform:translateY(-3px) rotate(-8deg)}}
@keyframes tap-ring{0%{opacity:.7;transform:scale(.96)}70%,100%{opacity:0;transform:scale(1.12)}}
html:not(.js) .tap-hint{display:none}
.scene-section:not(.in-view) .tap-hint svg,.scene-section:not(.in-view) .tap-hint:after{animation-play-state:paused}
.hint-fortune{right:calc(9% + 104px);bottom:14%}
.hint-games{top:calc(7% + 16px);right:20px}
.hint-sky{left:50%;bottom:44px;transform:translateX(-50%)}
.hint-social{left:50%;bottom:9%;transform:translateX(-50%)}
.hint-radio{z-index:5;right:14%;top:30%}
.hint-look{left:50%;bottom:8px;transform:translateX(-50%);padding:4px 10px 4px 7px;font-size:12px;gap:5px}
.hint-look svg{width:16px;height:16px}
@media(max-width:650px){
 .tap-hint{font-size:12px;padding:6px 12px 6px 8px}
 .hint-fortune{right:110px;bottom:42px}
 .hint-games{top:14px;right:14px}
 .hint-sky{top:16px;bottom:auto}
 .hint-social{left:16px;bottom:18px;transform:none}
 .hint-radio{right:auto;left:50%;top:26%;transform:translateX(-50%)}
}

/* 03 天燈：大顆羊毛氈天燈，8～14 秒慢慢升起 */
.feature-art .sky-lanterns{position:absolute;inset:0;z-index:3;pointer-events:none;overflow:hidden;transform:none}
.sky-lanterns .sky-lantern{position:absolute;display:block;width:calc(var(--h,120px) * .75);height:var(--h,120px);margin:0;background:none;filter:none;transform:translate(-50%,-100%);animation:sky-rise var(--dur,11s) cubic-bezier(.5,.06,.55,.96) forwards,sky-fade var(--dur,11s) linear forwards;will-change:transform,opacity}
@keyframes sky-rise{from{transform:translate(-50%,-100%) scale(1)}to{transform:translate(calc(-50% + var(--drift,0px)),calc(-100% + var(--rise,-600px))) scale(.42)}}
@keyframes sky-fade{0%{opacity:0}6%{opacity:1}55%{opacity:.92}100%{opacity:0}}
.sl-sway{position:relative;display:block;width:100%;height:100%;transform-origin:50% 0;animation:sl-sway var(--sway-dur,3.6s) ease-in-out infinite alternate}
@keyframes sl-sway{from{transform:translateX(calc(var(--sway,14px) * -1)) rotate(-4deg)}to{transform:translateX(var(--sway,14px)) rotate(4deg)}}
.sl-sway img{position:relative;z-index:1;display:block;width:100%;height:100%;filter:drop-shadow(0 0 12px #ffb25ab0) drop-shadow(0 0 30px #ff8f3a66)}
.sl-glow{position:absolute;z-index:0;left:50%;top:60%;width:260%;aspect-ratio:1;transform:translate(-50%,-50%);border-radius:50%;background:radial-gradient(circle,#ffcf7a70 0%,#ff9d4a30 32%,transparent 64%);animation:sl-flicker 2.2s ease-in-out infinite alternate}
.sl-sway:before{content:"";position:absolute;z-index:2;inset:18% 14% 8%;border-radius:40% 40% 20% 20%;background:radial-gradient(ellipse at 50% 88%,#fff3c066,transparent 70%);mix-blend-mode:screen;pointer-events:none}
.sl-sway:after{content:"";position:absolute;z-index:2;left:50%;bottom:6%;width:24%;height:7%;transform:translateX(-50%);border-radius:50%;background:radial-gradient(#fff8da,#ffc25a 50%,transparent 76%);animation:sl-flicker 1.4s ease-in-out infinite alternate}
@keyframes sl-flicker{from{opacity:.75}to{opacity:1}}
.sky-lantern.still{animation:none;opacity:.95;transform:translate(-50%,-50%)}
.sky-lantern.still .sl-sway,.sky-lantern.still .sl-glow,.sky-lantern.still .sl-sway:after{animation:none}
.sky-lantern-still{display:none}
.scene-paused .sky-lantern,.scene-paused .sl-sway,.layout-sky:not(.in-view) .sky-lantern,.layout-sky:not(.in-view) .sl-sway{animation-play-state:paused!important}
@media(prefers-reduced-motion:reduce){
 .feature-art .sky-lanterns{display:block!important}
 .sky-lantern-still{display:block;position:absolute;left:76%;top:32%;width:105px;height:140px;filter:drop-shadow(0 0 14px #ffb25ab0) drop-shadow(0 0 34px #ff8f3a66)}
 .layout-sky .feature-art{cursor:pointer}
}
@media(max-width:650px) and (prefers-reduced-motion:reduce){.sky-lantern-still{left:62%;top:30%;width:75px;height:100px}}

/* 04 變身：遊戲裡真正的貓咪、柴犬 */
.look-preview,.layout-offset .look-preview{display:flex;align-items:flex-end;gap:18px;margin-top:18px;padding-bottom:14px}
.look-preview .look-frame,.layout-offset .look-preview .look-frame{position:relative;display:block;flex:none;width:176px;aspect-ratio:4/5;overflow:hidden;border-radius:3px;background:#10202b}
.look-preview .look-frame.is-animal,.layout-offset .look-preview .look-frame.is-animal{background:radial-gradient(ellipse at 50% 78%,#8a5a32 0%,#4a3222 34%,#1c2026 72%,#121a21 100%)}
.look-frame.is-animal:before{content:"";position:absolute;left:22%;right:22%;bottom:5%;height:7%;border-radius:50%;background:#0008;filter:blur(5px)}
.look-preview .look-frame.is-animal img,.layout-offset .look-preview .look-frame.is-animal img{position:absolute;left:50%;bottom:-7%;width:165%;height:auto;max-width:none;translate:-50% 0;object-fit:contain}
.look-side{display:flex;flex-direction:column;gap:12px;min-width:0;padding-bottom:2px}
.look-text{display:flex;flex-direction:column;gap:2px}
.look-text small{color:#c5ced2;font-size:12px}
.look-thumbs{display:flex;gap:8px}
.layout-offset .look-preview .look-thumb{position:relative;flex:none;width:50px;height:62px;padding:0;border:1px solid #d8b97a66;border-radius:3px;overflow:hidden;background:#10202b;min-height:0;transition:transform .3s var(--xd-ease),box-shadow .3s}
.layout-offset .look-preview .look-thumb.is-animal{background:radial-gradient(ellipse at 50% 80%,#7a5030,#1c2026 75%)}
.layout-offset .look-preview .look-thumb img{width:100%;height:100%;object-fit:cover;object-position:50% 28%}
.layout-offset .look-preview .look-thumb.is-animal img{position:absolute;left:50%;bottom:-8%;width:175%;height:auto;max-width:none;translate:-50% 0}
.look-thumb[aria-pressed=true]{box-shadow:0 0 0 2px var(--gold),0 6px 14px #0008}
.look-thumb:hover{transform:translateY(-3px)}
@media(max-width:1000px) and (min-width:651px){
 .look-preview,.layout-offset .look-preview{flex-wrap:wrap;align-items:flex-start}
 .look-preview .look-frame,.layout-offset .look-preview .look-frame{width:150px}
}
@media(max-width:650px){
 .look-preview .look-frame,.layout-offset .look-preview .look-frame{width:148px}
 .look-preview,.layout-offset .look-preview{gap:16px;max-width:none}
 .layout-offset .look-preview .look-thumb{width:46px;height:58px}
}
@media(prefers-reduced-motion:reduce){.look-frame img,.look-thumb{transition:none}}

/* 05 電台：點圖播放，唱盤轉、收音機亮、音符飄、音波跳 */
.layout-scroll .scroll-view.tap-target{cursor:pointer}
.scroll-track{position:relative}
.scroll-track picture{display:block;height:100%}
.layout-scroll .scroll-progress i{width:100%;transform-origin:0 50%;transform:scaleX(0)}
.radio-fx{position:absolute;inset:0;pointer-events:none;z-index:1}
.radio-glow{position:absolute;left:58.1%;top:49%;width:13%;aspect-ratio:1.4;transform:translate(-50%,-50%);border-radius:50%;background:radial-gradient(ellipse,#ffe2a0ee 0%,#ffb04d88 28%,#ff8a2a33 48%,transparent 68%);mix-blend-mode:screen;opacity:0;transition:opacity .8s}
.radio-dial{position:absolute;left:56.3%;top:50.5%;width:1.2%;aspect-ratio:1;border-radius:50%;background:#fff3c2;box-shadow:0 0 10px 3px #ffbf55;opacity:0;transition:opacity .5s}
.record-spin{position:absolute;left:63.5%;top:53.8%;width:4.8%;aspect-ratio:1;transform:translate(-50%,-50%) scaleY(.34);opacity:0;transition:opacity .6s}
.record-spin{box-shadow:0 0 22px 6px #ffc76a80;border-radius:50%}
.record-spin i{position:absolute;inset:0;border-radius:50%;background:conic-gradient(from 0deg,#fff0 0deg,#fff8 14deg,#fff0 38deg,#fff0 180deg,#fff7 194deg,#fff0 218deg),repeating-radial-gradient(circle,#fff0 0 3px,#ffe7b022 3px 4px);mix-blend-mode:screen}
.radio-notes{position:absolute;left:58%;top:40%;width:0;height:0}
.radio-notes i,.radio-stage-notes i,.hc-notes i{font-family:"Segoe UI Symbol","Noto Music","Apple Symbols","Segoe UI Emoji",serif;font-weight:700}
.radio-notes i{position:absolute;left:0;top:0;font-style:normal;font-size:clamp(34px,5.6vh,56px);color:#fff3cf;text-shadow:0 0 6px #fff,0 0 16px #ffae3d,0 0 32px #ff8a2a;opacity:0;animation:radio-note 3.4s ease-out forwards}
@keyframes radio-note{0%{opacity:0;transform:translate(0,0) scale(.5)}12%{opacity:1;transform:translate(calc(var(--dx) * .1),-14px) scale(1)}100%{opacity:0;transform:translate(var(--dx),-210px) rotate(var(--rot)) scale(1.1)}}
.radio.tuned .radio-glow{opacity:1;animation:radio-glow 1.6s ease-in-out infinite alternate}
.radio.tuned .radio-dial{opacity:1}
.radio.tuned .record-spin{opacity:1}
.radio.tuned .record-spin i{animation:spin 1.8s linear infinite}
@keyframes radio-glow{from{filter:brightness(.85)}to{filter:brightness(1.25)}}
.radio .equalizer i{transition:background .4s,box-shadow .4s}
.radio.tuned .equalizer i{background:#ffd88f;box-shadow:0 0 8px #ffb04d}
.radio.tuned .equalizer i{animation:meter .42s ease-in-out alternate infinite}
.radio.tuned .equalizer i:nth-child(2){animation-duration:.33s;animation-delay:-.1s}
.radio.tuned .equalizer i:nth-child(3){animation-duration:.5s;animation-delay:-.3s}
.radio.tuned .equalizer i:nth-child(4){animation-duration:.37s;animation-delay:-.2s}
.radio.tuned .equalizer i:nth-child(5){animation-duration:.46s}
.radio.tuned .equalizer i:nth-child(6){animation-duration:.3s;animation-delay:-.15s}
.radio.tuned .equalizer i:nth-child(7){animation-duration:.55s;animation-delay:-.35s}
@media(prefers-reduced-motion:reduce){
 .radio.tuned .radio-glow{opacity:1}
 .radio.tuned .equalizer i:nth-child(odd){height:28px}
}

.radio-stage-notes{position:absolute;z-index:4;left:50%;top:36%;width:0;height:0;pointer-events:none}
.radio-stage-notes i{position:absolute;left:0;top:0;font-style:normal;font-size:38px;color:#fff3cf;text-shadow:0 0 6px #fff,0 0 16px #ffae3d,0 0 32px #ff8a2a;opacity:0;animation:radio-note 3.4s ease-out forwards}
.radio-now{position:absolute;z-index:5;left:7%;bottom:150px;display:none;align-items:center;gap:8px;padding:6px 13px;border-radius:999px;background:#f2d19b;color:#13232b;font:700 13px/1.4 var(--xd-hei);letter-spacing:.04em;box-shadow:0 0 20px #ffb04d88;pointer-events:none}
.radio-now i{width:8px;height:8px;border-radius:50%;background:#c0392b;box-shadow:0 0 0 3px #c0392b33;animation:sl-flicker .8s ease-in-out infinite alternate}
.radio.tuned .radio-now{display:inline-flex}
@media(max-width:650px){.radio-now{left:18px;bottom:auto;top:22px;font-size:12px}}
@media(max-width:650px) and (prefers-reduced-motion:reduce){.layout-scroll .scene-veil{background:linear-gradient(0deg,#081724 0%,transparent 22%)}}

/* Beta notice (2026-11-13) */
.beta-note{display:flex;align-items:center;gap:.6em;flex-wrap:wrap;margin:0 0 1rem;padding:.45em .9em .45em .45em;width:fit-content;max-width:100%;border:1px solid rgba(232,190,110,.55);border-radius:999px;background:rgba(10,16,30,.55);backdrop-filter:blur(6px);color:#f6ead2;font-size:.95rem;line-height:1.45}
.beta-tag{flex:none;padding:.15em .65em;border-radius:999px;background:#e3b866;color:#2a1a08;font-weight:800;letter-spacing:.04em;font-size:.85em}
@media (max-width:650px){.beta-note{border-radius:14px;font-size:.88rem}}

/* Real gameplay and a compact route into the street. */
.hero{position:relative}
.illustration-label{position:absolute;top:12px;right:12px;z-index:8;padding:3px 9px;border:1px solid #dfba7966;border-radius:5px;background:#102129e8;color:#f1e8d7;font:500 13px/1.6 var(--sans);letter-spacing:.04em;pointer-events:none}
.hc-art,.felt-night{position:relative}
.hero-illustration-label{top:22px;right:24px}
.backdrop-label{top:16px;right:20px}
.game-preview{position:absolute;z-index:5;right:5%;top:16px;width:36%;max-width:500px;padding:10px;border:1px solid #dfba7970;border-radius:14px;background:#102129f5;box-shadow:0 14px 40px #0005}
.game-preview-media{position:relative;aspect-ratio:1366/768;overflow:hidden;border-radius:8px;background:#102129}
.game-preview-media picture,.game-preview-media img{display:block;width:100%;height:100%}
.game-preview-media img{object-fit:contain}
.game-preview-media video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;opacity:0}
.game-preview-media video.playing{opacity:1}
.game-preview figcaption{display:flex;align-items:center;flex-wrap:wrap;gap:4px 12px;padding:9px 4px 0;font-size:13px;line-height:1.6}
.game-preview figcaption strong{color:var(--gold);font-size:15px}
.game-preview figcaption>span{color:#d4d8d1}
#gameplay-toggle{margin-left:auto;min-height:44px;padding:6px 12px;border:1px solid #dfba7977;border-radius:7px;background:#1d343b;color:var(--cream);font-size:13px}
#gameplay-toggle[hidden],.guest-entry[hidden],#motion[hidden]{display:none!important}
.gameplay-status:empty{display:none}
.gameplay-status{width:100%}
.chapter-links{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;padding:14px 20px;background:#102129;border-bottom:1px solid #dfba7944}
.chapter-links a{display:flex;align-items:center;justify-content:center;min-height:44px;padding:7px 20px;border:1px solid #dfba7955;border-radius:7px;font-size:14px;color:#eee0c7}
.chapter-links a:hover{background:#263a40}
.guest-entry{display:none}
@media(min-width:651px){.hero-copy{max-width:52%}.hero-intro{max-width:100%}.beta-note{max-width:500px}.chapter-links{display:none}.hero-illustration-label{left:24px;right:auto}}
@media(min-width:651px) and (max-width:1000px){
 .hero-copy{max-width:58%;padding-bottom:90px}
 .game-preview{right:3%;width:36%}
}
@media(max-width:650px){
 .hero{min-height:0;padding-bottom:22px}
 .hero-copy{padding:22px 24px 10px;max-width:none}
 .hero .eyebrow{font-size:12px}
 .hero h1{font-size:34px;line-height:1.25;letter-spacing:1px;margin:12px 0}
 .hero .beta-note{font-size:12px;line-height:1.5;padding:6px 8px;gap:6px;flex-wrap:nowrap;margin:0 0 8px}
 .hero-position{font-size:12px;margin:0;letter-spacing:0}
 .hero .hero-intro{margin:12px 0 0;font-size:13px;line-height:1.65;letter-spacing:0}
 .hero .button{margin-top:14px;min-height:48px}
 .hero .hero-note{margin-top:8px;font-size:12px}
 .hero-scene:after{background:linear-gradient(180deg,#0c1b2488,#0c1b24bb 38%,#0c1b24 90%)}
 .hero-illustration-label{top:8px;right:12px;font-size:12px}
 .hero-bottom{position:relative;left:auto;right:auto;bottom:auto;justify-content:flex-end;margin:0 24px}
 .hero-bottom>a,.hero-bottom>span{display:none}
 .hero-bottom #motion{margin:10px 0 0;font-size:12px}
 .game-preview{position:relative;right:auto;top:auto;display:grid;grid-template-columns:minmax(0,150px) minmax(0,1fr);gap:12px;width:calc(100% - 48px);max-width:none;margin:0 24px;padding:10px}
 .game-preview-media{aspect-ratio:374/620}
 .game-preview figcaption{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:0;gap:10px;font-size:12px}
 .game-preview figcaption strong{font-size:15px}
 #gameplay-toggle{margin:0;min-height:44px}
 .chapter-links{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:16px 24px}
 .chapter-links a{padding:7px 8px;font-size:13px}
 .guest-entry{display:block;position:fixed;z-index:100;left:0;right:0;bottom:0;padding:0 16px env(safe-area-inset-bottom,0px);background:#12252bf5;border-top:1px solid #dfba7988;box-shadow:0 -4px 20px #0004}
 .guest-entry a{display:flex;align-items:center;justify-content:center;gap:16px;height:52px;font-size:16px;font-weight:700;color:#f4d69a}
 body{padding-bottom:calc(52px + env(safe-area-inset-bottom,0px))}
}
@media(prefers-reduced-motion:reduce){.game-preview-media video{display:none}}
