/* Quiet paper details give each photo and message room to read. */
:root{font-family:LetterThai,sans-serif;font-synthesis:none}
.intro{overflow-y:auto;padding:34px 20px 42px}
.intro-card{flex-shrink:0;margin:auto;background:#261d30;border-color:#d8bba955;border-radius:22px;box-shadow:0 22px 65px #08041166;animation:card-arrive .75s cubic-bezier(.2,.8,.2,1) both;padding:30px 28px 25px}
.intro-card:after,.card-sparkles{display:none}
.intro h1{font-family:Mali,sans-serif;font-weight:600;font-size:clamp(32px,4.5vw,46px);line-height:1.45;letter-spacing:0;margin:17px 0 10px}
.intro h1 span,.scene-header h2{background:none;color:#ffe4c8;-webkit-text-fill-color:currentColor;text-shadow:none;animation:none}
.intro-copy{font:400 16px/1.8 LetterThai,sans-serif;color:#e2d2dd}
.intro .eyebrow{font:600 10px/1.8 Quicksand,sans-serif;letter-spacing:1.2px;color:#d3b9c2}
.heart-gate{min-height:156px;margin:8px auto 0;padding:8px 20px 16px}
.heart-icon{width:84px;height:80px;filter:drop-shadow(0 0 12px #e9b39e44)}
.heart-halo{width:84px;height:84px;top:9px;box-shadow:0 0 40px 7px #eab49812}
.gate-orbit{width:120px;height:120px;top:-7px}.gate-orbit-two{width:146px;height:146px;top:-20px}
.gate-label{font:500 15px/1.6 LetterThai,sans-serif;margin-top:16px;color:#f3d5c3;text-shadow:none}
.intro-foot{padding:0;font:400 13px/1.8 LetterThai,sans-serif;color:#ccb8c6;min-height:24px}
.intro-cat,.intro-capy{position:relative;left:auto;bottom:auto;width:auto;height:auto;margin:18px auto 0;display:flex;justify-content:center;align-items:center;gap:14px;animation:none}
.intro-cat img,.intro-capy img{width:72px;height:72px;flex-shrink:0}
.cat-character,.capy-character,.is-speaking .cat-letter img,.is-speaking .capy-letter img,.cat-letter[data-pose] .cat-character,.capy-letter[data-pose] .capy-character{object-fit:cover;border:5px solid #f9ead7;border-radius:50%;filter:none;animation:none!important;transform:none}
.mini-speech{position:static;left:auto;top:auto;max-width:175px;padding:9px 12px;font:400 13px/1.7 LetterThai,sans-serif;white-space:normal;color:#633644;background:#fff4e3;border-color:#e7cdb9;border-radius:10px;box-shadow:none;animation:none}
.intro-bottom{display:none}.aurora{opacity:.22}.portal-orbits{opacity:.5}
.scene-header h2{font:600 clamp(28px,4vw,45px)/1.5 Mali,sans-serif;letter-spacing:0;color:#ffe4c8}
.scene-header h2 span{font:inherit;color:inherit}.scene-header p{font:400 15px/1.8 LetterThai,sans-serif;color:#e0cddd}
.scene-header .eyebrow{font:600 10px/1.8 Quicksand,sans-serif;letter-spacing:1px;color:#d7bac7}
.scene-caption{font-weight:600;font-size:11px;animation:none}
.note-button,.control-bar .reset-control,.motion-toggle{font-family:LetterThai,sans-serif;font-size:14px}
.gesture-hint{font:400 14px/1.8 LetterThai,sans-serif;letter-spacing:0;color:#d7c4d2}
.visible .note-button{animation:rise-in .5s .15s both}
.cat-letter,.capy-letter{min-height:100px;margin:18px 0 17px;gap:16px}
.cat-letter img,.capy-letter img{width:92px;height:92px;flex-shrink:0}
.cat-orbit,.capy-orbit{display:none}.cat-hello,.capy-hello{font:400 14px/1.75 LetterThai,sans-serif;max-width:150px;color:#e1c9d5}.cat-hello span,.capy-hello span{animation:none;font-size:20px}
.letter-speech{padding:22px 20px;background:#fff4e3;border:1px solid #ead5be;border-radius:14px;box-shadow:none}
.letter-speech:before{border-bottom-color:#fff4e3}
.letter-speech h2{font:600 23px/1.65 Mali,sans-serif;color:#713b4d;letter-spacing:0}
#letter-body p{font:400 16px/1.95 LetterThai,sans-serif;color:#674b54;margin:14px 0}
#letter-body strong{font-weight:500;color:#8b314b}.letter-return{font:500 15px/1.65 LetterThai,sans-serif;color:#f4dbc8;background:#b6886c14;border-color:#e9c5ab55}
.speech-line{animation:speech-reveal .35s var(--delay,0s) both}
@media(max-width:760px){.intro-card{padding:27px 20px 22px;margin:auto}.intro h1{font-size:36px}.intro-copy{font-size:15px}.scene-header{padding:26px 18px 16px}.scene-header h2{font-size:29px}.scene-header p{font-size:14px}.note-button{padding:10px 12px;gap:7px}.scene-footer{padding:17px 12px max(18px,env(safe-area-inset-bottom))}.gesture-hint{font-size:13px;max-width:calc(100vw - 38px);margin-bottom:10px}.control-bar{transform:none}.motion-toggle{font-size:12px;right:8px;bottom:max(22px,env(safe-area-inset-bottom));padding:6px;gap:4px}.music-toggle{left:8px;right:auto}.control-bar .reset-control{font-size:13px;padding:0 10px}.control-bar button{min-width:38px;height:42px}.control-bar{padding:3px}.control-divider{height:16px}.scene-header .eyebrow{max-width:185px;font-size:9px;letter-spacing:.6px}.cat-letter,.capy-letter{gap:12px}.cat-letter img,.capy-letter img{width:84px;height:84px}dialog{padding:29px 20px 22px}.letter-speech{padding:19px 16px}}
@media(max-width:360px){.scene-header h2{font-size:26px}.note-button span{display:none}.note-button{width:44px;height:44px;padding:10px}.control-bar{transform:none}.motion-toggle{position:static;display:inline-flex;margin-top:5px;min-height:36px}.scene-footer{display:flex;flex-flow:row wrap;justify-content:center;gap:5px 10px}.gesture-hint{width:100%;margin:0 0 4px}.music-toggle{margin-left:0}.control-bar{flex:none}.intro h1{font-size:32px}}
@media(max-height:630px){.intro{padding-top:26px}.intro-card{padding:24px 20px 20px}.intro h1{font-size:30px;line-height:1.4;margin:12px 0 8px}.intro-copy{font-size:14px}.heart-gate{min-height:135px}.heart-icon{width:68px;height:65px}.gate-label{font-size:14px;margin-top:12px}.intro-cat,.intro-capy{margin-top:12px}.intro-cat img,.intro-capy img{width:58px;height:58px}.scene-header{padding-top:20px}.scene-header h2{font-size:26px}.scene-header p{font-size:13px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}.aurora,.portal-orbits{will-change:auto}}

.scene-background-paused *,.scene-background-paused *:before,.scene-background-paused *:after{animation-play-state:paused!important}
