.web-tools{position:fixed;z-index:200;top:10px;right:10px;display:flex;gap:8px;font:14px system-ui}
.web-tools button,.web-dialog button{font:inherit;border:1px solid #bd9865;border-radius:6px;padding:8px 12px;background:#fff5e5;color:#452720;cursor:pointer}
.web-dialog{width:min(680px,90vw);max-height:82dvh;overflow:auto;border:1px solid #bd9865;border-radius:12px;background:#fff9ee;color:#452720;padding:24px}
.web-dialog::backdrop{background:rgba(20,10,10,.72)}
.web-dialog h2{font-size:1.4rem}.web-dialog article{white-space:pre-wrap;overflow-wrap:anywhere;border-bottom:1px solid #d6bd94;padding:14px 0}
.web-dialog [role=status]{min-height:1.5em}.web-dialog video{max-width:100%;max-height:55vh}
.web-dialog a{color:#7e3530}.web-dialog .actions{display:flex;gap:8px;flex-wrap:wrap}
.web-dialog button:focus-visible,.web-tools button:focus-visible{outline:3px solid #955526;outline-offset:3px}
.web-review-badge{font-size:12px;padding:5px;background:#fff3cf;color:#633d19;max-width:210px}
body[data-flow=OPENING_SEQUENCE] .web-tools,body[data-flow=ENTRY] .web-tools{top:auto;bottom:10px}
@media(max-width:600px){.web-tools{gap:4px}.web-tools button{padding:7px;font-size:12px}.web-review-badge{display:none}}

/* END-R music navigation */
.web-tools{flex-wrap:wrap;justify-content:flex-end;max-width:calc(100vw - 20px)}

/* WEB-W: the guest wall sits below the shared curtain's top layer. */
#letterForm .letter-public-notice,#mobileLetterForm .letter-public-notice{color:#38261d;font-size:clamp(14px,3.6vw,18px);line-height:1.55;margin:12px 0 8px;text-shadow:none}
body.web-wall-active{overflow:hidden}
.web-wall{position:fixed;inset:0;z-index:1000;overflow:auto;overscroll-behavior:contain;box-sizing:border-box;padding:max(24px,env(safe-area-inset-top)) max(20px,env(safe-area-inset-right)) max(24px,env(safe-area-inset-bottom)) max(20px,env(safe-area-inset-left));background:radial-gradient(ellipse at top,#4b2621,#1c100e 75%);color:#412b21;font-family:system-ui,sans-serif}
.web-wall[hidden]{display:none}
.web-wall-panel{width:min(760px,100%);margin:0 auto;box-sizing:border-box;border:1px solid #b58a5d;border-radius:14px;background:#fff9ee;padding:clamp(18px,4vw,34px);box-shadow:0 15px 70px #0006}
.web-wall-header{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.web-wall h2{font-size:clamp(24px,5vw,32px);margin:0;line-height:1.4}
.web-wall-note{font-size:15px;line-height:1.75;color:#694f3f}
.web-wall [role=status]{min-height:1.7em;line-height:1.7}
.web-wall button{font:inherit;min-height:48px;border:1px solid #a97b48;border-radius:7px;padding:10px 16px;background:#fff1da;color:#452720;cursor:pointer}
.web-wall button:disabled{cursor:wait;opacity:.65}
.web-wall :is(button,input):focus-visible{outline:3px solid #955526;outline-offset:3px}
.web-wall-list article{white-space:pre-wrap;overflow-wrap:anywhere;border-bottom:1px solid #d6bd94;padding:18px 0}
.web-wall-list strong{font-size:19px}
.web-wall-list p{font-size:18px;line-height:1.8;margin:8px 0 0}
.web-wall .actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:20px}
.web-wall input{box-sizing:border-box;width:100%;min-height:44px;font:inherit}
@media(max-width:600px){.web-wall{padding:env(safe-area-inset-top) 0 env(safe-area-inset-bottom)}.web-wall-panel{border-radius:0;min-height:100%;border-width:0}.web-wall-header{align-items:flex-start}.web-wall-header button{margin-left:auto}.web-wall-list p{font-size:17px}}
