#wish-tree-open{position:absolute;right:18px;bottom:78px;z-index:3;display:none}#mountain[data-place="overlook"] #wish-tree-open{display:block}#wish-tree-notes{position:absolute;right:18px;bottom:134px;width:min(330px,calc(100% - 36px));max-height:calc(100dvh - 240px);overflow:auto;overscroll-behavior:contain;touch-action:pan-y;background:#f1e9d6;color:#4d533f;padding:20px;box-shadow:0 6px 24px #14201730;z-index:5;border-radius:2px}#wish-tree-notes[hidden]{display:none!important}#wish-tree-notes h2{font:400 16px/1.7 "Songti SC",serif;margin:12px 0}#wish-tree-notes small{font-size:10px;color:#777761;line-height:1.7}#wish-tree-notes ul{list-style:none;padding:0;margin:15px 0}#wish-tree-notes li{font-size:14px;line-height:1.8;padding:8px 0;border-bottom:1px solid #bab39855}#wish-tree-notes p{font-size:12px;line-height:1.8}#wish-tree-notes button{display:block;margin-left:auto;color:#666b52;text-shadow:none;font-size:12px;padding:4px;letter-spacing:0}#wish-tree-notes button:focus-visible{outline-color:#56654a}
#walk-listen{position:absolute;left:18px;top:65px;z-index:3;font-size:12px}.walk-sound-controls{border:0;border-top:1px solid #b7b79e;margin:12px 0 0;padding:12px 0 0}.walk-sound-controls legend{font-size:12px}.walk-sound-controls input[type=range]{width:110px;vertical-align:middle}.walk-sound-controls small a{color:#50654c;padding:0;min-height:0;font-size:11px;text-shadow:none;letter-spacing:0}.walk-sound-controls small{max-width:250px}.walk-sound-controls summary{font-size:11px;cursor:pointer}#preferences{max-height:calc(100dvh - 160px);overflow:auto;touch-action:pan-y}
/* The wood frame is an accessible foreground object, not an invisible hotspot. */
#wish-frame{position:absolute;bottom:155px;left:20px;z-index:4;width:180px;min-height:85px;padding:12px;border:9px ridge #795335;border-radius:5px;background:repeating-linear-gradient(3deg,#382318 0,#4c3020 3px,#442b1b 7px);box-shadow:0 12px 18px #0006,inset 0 3px 9px #140c08;color:#f2d6a6;display:flex;align-items:center;gap:12px;font-size:14px;text-shadow:0 1px 2px #000;transform:perspective(600px) rotateX(7deg)}
.wish-mini{display:block;padding:12px 8px;border-radius:3px;background:linear-gradient(100deg,#caa66c,#e6c78f,#bb925b);box-shadow:3px 4px 1px #24190b;color:#654225;transform:rotate(-9deg);font-size:22px;border-top:3px solid #a53f30}
#wish-tools{position:absolute;right:15px;bottom:83px;z-index:4;display:flex;gap:10px;background:#182a2499;border:1px solid #e9d5ad66;border-radius:8px}#wish-status{position:absolute;left:20px;right:20px;bottom:115px;text-align:center;font-size:14px;text-shadow:0 2px 5px #000;pointer-events:none;z-index:4}#mountain[data-place=overlook] #arrival{display:none}#wish-cancel{position:absolute;bottom:155px;right:15px;background:#243c30cf;border-radius:8px;z-index:4}
#wish-branches{z-index:2;pointer-events:none;background:none;transition:none}#wish-branches button{position:absolute;pointer-events:auto;transform-origin:50% 0;letter-spacing:0;min-width:44px;min-height:44px;padding:7px;touch-action:manipulation;font-size:14px}
.wish-branch{border:1px solid #fff1ba;border-radius:50%;background:#694c2ccf!important;box-shadow:0 0 16px #ffe7a17a;white-space:nowrap}.wish-hung{margin-top:30px;width:35px;height:63px;color:#704223!important;text-shadow:none!important;border-radius:3px;border:1px solid #9a7347!important;background:repeating-linear-gradient(92deg,#d7b378 0,#e8c990 8px,#d7b378 10px)!important;box-shadow:2px 3px 3px #0006,inset 1px 1px #fff6;writing-mode:vertical-rl;line-height:20px}.wish-hung:before{content:'';position:absolute;width:4px;height:34px;background:#a43b2d;bottom:100%;left:50%;border-radius:50%}.wish-hung:after{content:'';position:absolute;left:47%;top:3px;width:5px;height:5px;border-radius:50%;background:#664122}.wish-due{outline:1px solid #ffe5a2;outline-offset:4px}.just-hung{animation:wish-arrive 1.1s ease-out,wish-sway 3.5s 1.1s ease-out}.wish-blessing .wish-hung{box-shadow:0 0 20px #ffdc9a66,2px 3px 3px #0006}
@keyframes wish-arrive{from{opacity:0;translate:-35px 100px;rotate:-12deg}to{opacity:1;translate:0 0;rotate:0deg}}@keyframes wish-sway{0%,100%{rotate:0deg}25%{rotate:4deg}65%{rotate:-2deg}}
#wish-writing,#wish-poster{box-sizing:border-box;width:min(94vw,520px);max-height:86dvh;overflow:auto;overscroll-behavior:contain;touch-action:pan-y;border:9px ridge #765238;border-radius:7px;background:#ead9b5;color:#4f3824;padding:20px;font:16px/1.8 'Songti SC',serif;box-shadow:0 20px 80px #0007}#wish-writing::backdrop,#wish-poster::backdrop{background:#101e19aa;backdrop-filter:blur(3px)}#wish-writing button,#wish-poster button,#wish-poster a{color:#4f3824;text-shadow:none;font-size:16px;letter-spacing:0;border:1px solid #8b684666;border-radius:5px;background:#fff4d533;margin:5px 0}#wish-writing h2,#wish-poster h2{font-weight:400;font-size:22px;line-height:1.6;clear:both}#wish-writing label,#wish-poster label{display:block;margin:12px 0 4px}#wish-writing textarea{box-sizing:border-box;display:block;width:100%;padding:12px;color:#553c28;background:#fff4d34d;border:1px solid #8d704f66;font:19px/1.8 serif;border-radius:4px;resize:vertical;min-height:90px}#wish-writing input,#wish-writing select{max-width:100%;font-size:16px;padding:7px;background:#f8edce;border:1px solid #9e8569;border-radius:4px;color:#4f3824}#wish-writing small,#wish-poster small{font-size:14px;color:#6b5946;line-height:1.6}#wish-writing .wish-privacy{font-size:14px;border-top:1px solid #937a5855;padding-top:15px}#wish-error{color:#8f3526}#wish-writing .wish-close,#wish-poster .wish-close{float:right}.wish-eyebrow{font-size:14px;letter-spacing:.2em}#wish-existing button{display:block;width:100%}#wish-poster img{display:block;width:100%;height:auto;margin:15px auto;touch-action:auto;-webkit-touch-callout:default;user-select:auto}#wish-poster a{display:block;text-align:center}#wish-poster a:not([href]){pointer-events:none;opacity:.4}
@media(max-width:600px){#wish-frame{width:146px;bottom:170px;left:12px;padding:8px;font-size:13px}#wish-status{bottom:120px;font-size:13px}#wish-tools{bottom:77px}#wish-writing,#wish-poster{padding:16px;border-width:6px}#wish-branches .wish-branch{font-size:12px}}
.reduced .just-hung{animation:none}@media(prefers-reduced-motion:reduce){.just-hung{animation:none}}

.wish-lantern-glow{position:absolute;width:7%;aspect-ratio:1;translate:-50% -50%;background:radial-gradient(ellipse,#ffdc9b55,transparent 68%);opacity:0;pointer-events:none}.wish-blessing .wish-lantern-glow{animation:wish-lantern-breathe 5s ease-out}@keyframes wish-lantern-breathe{0%,100%{opacity:0}30%{opacity:.65}}.reduced .wish-lantern-glow{display:none}@media(prefers-reduced-motion:reduce){.wish-lantern-glow{display:none}}

/* Quiet wish-tree foreground: controls remain visible and keyboard reachable. */
#mountain[data-place=overlook] header{z-index:5;gap:8px}
#mountain[data-place=overlook] header>a,#mountain[data-place=overlook] header>button,#mountain[data-place=overlook] footer>button,#mountain[data-place=overlook] footer>a{border:0;background:none;color:#fff4da;text-shadow:0 2px 5px #111;box-shadow:none;font-size:14px}
#mountain[data-place=overlook] header span{font-size:14px;opacity:.85;max-width:52vw}
#settings svg{vertical-align:middle}#mountain header #settings{min-width:44px}
#mountain #preferences .footprint-settings,#mountain #preferences .footprint-settings[open]{position:static;background:none;padding:12px 0 0;border-top:1px solid #b7b79e;max-width:none;font-size:14px}
#mountain #preferences .footprint-settings p{font-size:14px}
#wish-frame{width:110px;min-height:68px;height:76px;left:24px;bottom:160px;padding:8px;justify-content:center;border:4px ridge #725035;border-radius:5px;gap:0;box-shadow:0 5px 10px #0007,inset 0 1px 4px #130b07;transform:perspective(500px) rotateX(15deg) rotate(-5deg)}
#wish-frame .wish-mini{font-family:'Kaiti SC',KaiTi,serif;font-size:21px;padding:6px 18px;transform:rotate(6deg);text-shadow:none;box-shadow:2px 3px 3px #1e150b}
.wish-tray-caption{position:absolute;top:calc(100% + 12px);left:-12px;width:126px;font-size:14px;letter-spacing:.08em;color:#fff1d4;white-space:nowrap;text-shadow:0 2px 5px #000;transform:rotate(5deg)}
#wish-frame:before{content:'';position:absolute;inset:-20px;background:radial-gradient(ellipse,#f8d38a28,transparent 70%);pointer-events:none;animation:tray-breathe 7s ease-in-out infinite}
@keyframes tray-breathe{50%{opacity:.3}}
#wish-status{bottom:78px;margin:0;left:24px;right:24px;font:16px/1.8 'Kaiti SC',KaiTi,'Songti SC',serif;background:none;text-shadow:0 2px 4px #111,0 0 10px #13221b;letter-spacing:.06em}
#wish-tools{right:20px;bottom:156px;border:0;background:none;display:block;color:#f5e5c3;z-index:6}
#wish-tools summary{list-style:none;display:flex;flex-direction:column;align-items:center;justify-content:center;cursor:pointer;min-width:52px;min-height:60px;font-size:14px;text-shadow:0 2px 4px #000}
#wish-tools summary::-webkit-details-marker{display:none}#wish-tools svg{width:30px;height:30px;stroke:currentColor;fill:none;stroke-width:1.3;filter:drop-shadow(0 2px 3px #000)}
#wish-tools summary:focus-visible{outline:2px solid #ffe7ad;outline-offset:4px}
.wish-tool-items{position:absolute;right:0;bottom:calc(100% + 10px);width:150px;padding:7px;background:#25392edb;border:1px solid #d5c09a55;border-radius:10px;backdrop-filter:blur(12px)}
#wish-tools .wish-tool-items button{display:block;width:100%;min-height:48px;font-size:15px;color:#f5e5c3}
#wish-cancel{bottom:160px;right:88px;max-width:150px;font-size:14px;background:#21382ad9}
#wish-taking{width:min(90vw,480px);height:min(72dvh,600px);border:0;background:transparent;overflow:visible;color:#f9ebcf;padding:0}
#wish-taking::backdrop{background:#10221b60;backdrop-filter:blur(1px)}
.take-close{position:absolute;top:0;right:0;font-size:14px;min-height:44px;color:#fff1da}
.take-card{position:absolute;left:50%;top:50%;width:120px;height:190px;margin:-95px 0 0 -60px;border:1px solid #967047;border-radius:7px;background:repeating-linear-gradient(92deg,#d6b780 0,#e0c291 6px,#cba974 8px,#d5b57e 12px);box-shadow:6px 10px 20px #0005,inset 2px 2px #fff4,inset -3px -3px #66432644;color:#634526;text-shadow:none;animation:take-wish 1.15s cubic-bezier(.2,.7,.3,1) both;transform-origin:50% 0}
.take-grain{font:42px 'Kaiti SC',KaiTi,serif;opacity:.75}.take-thread{position:absolute;left:50%;bottom:98%;width:4px;height:65px;background:#934237;border-radius:60%;transform:rotate(12deg);transform-origin:bottom}.take-caption{position:absolute;top:calc(100% + 25px);left:-35px;width:190px;color:#fff1d8;font-size:16px;text-shadow:0 2px 6px #000}
@keyframes take-wish{from{opacity:0;transform:translate(70px,-150px) rotate(18deg) scale(.35)}65%{opacity:1;transform:translate(-8px,5px) rotate(-5deg) scale(1.02)}to{opacity:1;transform:translate(0,0) rotate(0) scale(1)}}
#wish-signature{text-align:right;font-size:14px;color:#795039;letter-spacing:.06em}
#wish-branches .wish-lantern-glow{opacity:.22;animation:lantern-still-life 9s ease-in-out infinite}
@keyframes lantern-still-life{50%{opacity:.38}}
.wish-blessing .wish-lantern-glow{animation:wish-lantern-breathe 5s ease-out!important}
#mountain[data-place=overlook][data-season=winter] .weather i{width:3px;height:3px;opacity:.6;filter:blur(.3px)}
@media(max-height:550px){#wish-frame{bottom:104px}#wish-tools{bottom:102px}#wish-status{bottom:57px;font-size:14px}.take-card{height:140px;margin-top:-70px}}
.reduced #wish-frame:before,.reduced .wish-lantern-glow{animation:none!important}.page-hidden #wish-frame:before,.page-hidden .wish-lantern-glow,.page-hidden .weather i{animation-play-state:paused!important}
@media(prefers-reduced-motion:reduce){.take-card,#wish-frame:before,#wish-branches .wish-lantern-glow{animation:none!important}.take-card{opacity:1;transform:none}}

#walk-listen{min-width:44px;min-height:44px;padding:10px;top:65px;left:16px}#walk-listen svg{vertical-align:middle;filter:drop-shadow(0 2px 3px #000)}

/* Narrow wood plaques match the painted tags; the tap target remains generous. */
#wish-branches .wish-hung{margin:0;width:44px;height:84px;padding:0!important;min-width:44px;min-height:84px;border:0!important;border-radius:0;background:none!important;box-shadow:none!important;color:transparent!important;writing-mode:horizontal-tb;line-height:normal}
#wish-branches .wish-hung:before,#wish-branches .wish-hung:after{content:none}
.wish-plaque{display:block;width:44px;height:84px;overflow:visible;rotate:var(--plaque-angle,-4deg);transform-origin:22px 0;filter:drop-shadow(1px 2px 1px #23180d66)}
#wish-branches .wish-hung:hover,#wish-branches .wish-hung:active{background:none!important}
#wish-branches .wish-due{outline:0}#wish-branches .wish-due .wish-plaque{filter:drop-shadow(0 0 2px #fce2a288) drop-shadow(1px 2px 1px #23180d66)}
#wish-branches .wish-hung:focus-visible{outline:1px solid #f6dba0;outline-offset:3px;border-radius:5px}

/* The photographed blank tag itself is the entrance; no separate foreground frame. */
#wish-branches #wish-frame{position:absolute;left:74%;top:35%;bottom:auto;width:5%;height:8%;min-width:44px;min-height:44px;margin:0;padding:0;border:0;background:none!important;box-shadow:none;transform:none;rotate:0;z-index:4;pointer-events:auto}
#wish-branches #wish-frame:before{inset:10% 0;background:radial-gradient(ellipse,#ffdd9c22,transparent 70%);animation:tray-breathe 7s ease-in-out infinite}
#wish-branches #wish-frame .wish-tray-caption{top:100%;left:50%;width:80px;margin-left:-40px;text-align:center;transform:none;font-size:14px;color:#fff0cf;text-shadow:0 1px 4px #22170e;letter-spacing:.08em}
#wish-branches #wish-frame:focus-visible{outline:1px solid #f7d695;outline-offset:3px;border-radius:4px}
#wish-writing{border:1px solid #977342;padding:24px;border-radius:10px;background:linear-gradient(97deg,#c29d69 0%,#dfc18e 5%,#e9d1a5 24%,#dfbf89 52%,#e9d0a3 81%,#b99560 100%);box-shadow:inset 3px 0 4px #fff3,inset -4px -2px 7px #6e482b44,0 20px 70px #0006}
#wish-writing textarea{font-family:'Kaiti SC','STKaiti','KaiTi','Songti SC',serif;color:#61432a;background:#f4dfb41a;border:0;border-bottom:1px solid #96734b66;border-radius:0;line-height:2;padding:12px 3px;font-size:20px;text-shadow:0 1px #fff2}
#wish-writing::backdrop{background:#10201977;backdrop-filter:blur(2px)}
@media(max-width:600px){#wish-writing{padding:18px}}

/* Finishing touches: the scenery stays quiet after the ritual. */
#mountain[data-place=overlook] header>a{display:none}
#preferences .back-to-courtyard{display:block;min-height:44px;padding:10px 0;color:#40533f;text-shadow:none;border-top:1px solid #b7b79e;font-size:16px}
#wish-status{transition:opacity 1.2s ease}#wish-status.wish-quiet{opacity:0}
#wish-tools summary,.wish-tray-caption,#wish-status{font-family:'Kaiti SC','STKaiti','KaiTi','Songti SC',serif}
.take-card{animation:none}.wish-settled .wish-plaque{animation:plaque-settle 1.2s ease-out}
@keyframes plaque-settle{0%{rotate:0deg}30%{rotate:4deg}65%{rotate:-2deg}100%{rotate:var(--plaque-angle)}}
#mountain.wish-familiar #wish-frame:before{opacity:.25;animation:none}
#mountain.wish-familiar #wish-frame .wish-tray-caption{opacity:.7}
.reduced .wish-settled .wish-plaque{animation:none}
@media(prefers-reduced-motion:reduce){.wish-settled .wish-plaque{animation:none}#wish-status{transition:none}}
