body{background:#0b1926;min-height:100svh;height:100svh;display:block;overflow:hidden}
.landscape{z-index:-1;background:url(/art/aurora-forest.jpg) center center/cover no-repeat}
body:after{content:"";position:fixed;inset:0;z-index:-1;background:linear-gradient(90deg,#06131d59,transparent 45%),linear-gradient(0deg,#07131b77,transparent 18%);pointer-events:none}
header{position:absolute;z-index:2;left:4.2%;top:0;width:91.6%;padding:20px 0;border:0;pointer-events:none}
header button{pointer-events:auto}.brand{gap:11px}.brand small{font-size:13px}.brand-tree{width:28px;height:35px}.brand>span{font-size:26px}.audio-btn{backdrop-filter:blur(12px);background:#0b1a2499}
.winter,#world{position:absolute;inset:0}
#world canvas{width:100%;height:100%;display:block;touch-action:none;cursor:grab;outline-offset:-3px}
#world canvas:active{cursor:grabbing}#world-status{position:absolute;z-index:1;inset:45% 14% auto;text-align:center;color:#f2d7a5;pointer-events:none}
.dedication{position:absolute;left:5.1%;top:21%;max-width:min(31vw,450px);pointer-events:none;text-shadow:0 3px 20px #09131d77}
.dedication h1{font:400 clamp(60px,6.15vw,104px)/.92 Georgia,"Times New Roman",serif;letter-spacing:-.057em;margin:0;color:#fff4db}
.dedication h1 em{color:#eacb93;font-weight:400;letter-spacing:-.075em}
.dedication h2{font:500 clamp(18px,1.7vw,26px)/1.5 "Songti SC",Georgia,serif;letter-spacing:.09em;margin:28px 0 4px;overflow-wrap:anywhere}
#intro,#signature{font-size:14px;line-height:1.8;color:#d1dcdb;margin:0;overflow-wrap:anywhere;white-space:pre-line}
#intro{max-height:24vh;overflow:auto;pointer-events:auto}#signature{margin-top:7px;color:#e2c592}
.note-link{background:none;border:0;border-bottom:1px solid #bba87b80;padding:5px 0;color:#e8d5ac;font-size:13px;pointer-events:auto}
.tree-dock{position:absolute;left:5.1%;bottom:9%;display:flex;align-items:center;gap:8px;flex-wrap:wrap;width:max-content;max-width:42%}
.photoshelf{width:100%;margin-bottom:12px}.photoshelf button{border:0;background:none;color:#e9dfc7;display:flex;align-items:center;gap:13px;font-size:13px;padding:6px 0}
#mini-photos{display:flex;align-items:center;padding-left:5px}#mini-photos img{width:33px;height:37px;object-fit:cover;border:2px solid #d8c6a0;box-shadow:0 2px 5px #0007;border-radius:2px;margin-left:-5px;transform:rotate(-6deg)}
#mini-photos img:nth-child(2){transform:rotate(3deg)}#mini-photos img:nth-child(3){transform:rotate(8deg)}
.gold-btn,.soft-btn,.view-controls{border:1px solid #d9c39857;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:10px 14px;font-size:14px;background:#101f2cba;color:#eee4cd;backdrop-filter:blur(10px)}
.gold-btn{background:#eacda0;color:#27362d;border-color:#dbbd88;font-weight:600}.gold-btn:hover{background:#ffe4b3}.soft-btn:hover,.view-controls button:hover{background:#394638}
.view-controls{position:absolute;right:4.2%;bottom:9%;gap:0;border-radius:30px;padding:2px 5px;color:#e9d5a9}.view-controls button{border:0;background:transparent;color:inherit;min-width:36px;height:37px;border-radius:24px;font-size:19px}.view-controls button:last-child{border-left:1px solid #acc0bc33;border-radius:0;padding-left:10px;margin-left:2px;font-size:16px}#zoom-level{min-width:42px;text-align:center;font:13px Georgia,serif;font-variant-numeric:tabular-nums}
.gesture-hint{position:absolute;right:4.2%;bottom:3.2%;color:#c0cccc;font-size:12px;letter-spacing:.085em;pointer-events:none}.phone-hint{display:none}#toast{z-index:5;bottom:4%;pointer-events:none}
@media(max-width:720px){header{left:5%;width:90%;padding:13px 0}.brand-tree{width:23px;height:29px}.brand>span{font-size:22px}.brand small{font-size:12px}.audio-btn{padding:7px 11px}.dedication{left:5.5%;top:8.5%;max-width:84%}.dedication h1{font-size:clamp(30px,7.3vw,43px);line-height:1.1}.dedication h1 br{display:none}.dedication h1 em:before{content:' '}.dedication h2{margin:5px 0 0;font-size:15px}.dedication #intro,.dedication #signature{font-size:12px;line-height:1.45;max-height:8vh}
.tree-dock{bottom:max(23px,env(safe-area-inset-bottom));left:5%;width:90%;max-width:none;flex-wrap:nowrap;justify-content:center;gap:6px}
.photoshelf{position:absolute;bottom:calc(100% + 12px);left:0;width:auto;margin:0}.photoshelf button{font-size:12px;gap:8px}.gold-btn,.soft-btn{font-size:13px;flex:1;padding:10px 6px;white-space:nowrap}.view-controls{bottom:81px;right:5%;padding:1px 3px}.view-controls button{height:31px;min-width:30px}.gesture-hint{bottom:125px;right:5%;font-size:10px}.desktop-hint{display:none}.phone-hint{display:inline}#mini-photos img{width:25px;height:29px}#toast{bottom:16%}}
@media(max-height:525px) and (orientation:landscape){.dedication{top:21%}.dedication h1{font-size:44px}.dedication h2{margin:8px 0}.tree-dock{bottom:4%}.photoshelf{margin:0}.view-controls{bottom:9%}.gesture-hint{bottom:0}}

.gesture-hint .release-hint{display:none}
#world.blooming ~ .gesture-hint span{display:none}
#world.blooming ~ .gesture-hint .release-hint{display:inline;color:#f6d89f}
