/* The marine home has its own typography and controls; existing rooms retain
   their layout and data. The persistent ocean is outside the rendered routes. */
#shore-scene{position:fixed;inset:0;z-index:0;pointer-events:none;visibility:hidden;background:#071c42}
#shore-sea,#shore-sky,.shore-reading-light{position:absolute;inset:0;width:100%;height:100%}
.shore-home-route #shore-scene{visibility:visible}
.shore-home-route{background:#98c3da;--shore-ink:#15364b;--shore-soft:#244a5e;--shore-line:#23475a42;--shore-accent:#194559;--shore-on-accent:#fff8e9}
.shore-home-route[data-shore-scene=night]{background:#071c42;--shore-ink:#f6ebd2;--shore-soft:#e1e6ea;--shore-line:#efdfb75c;--shore-accent:#ead9a9;--shore-on-accent:#133348}
.shore-reading-light{background:linear-gradient(180deg,#edf7f72e,#eff8f64d 30%,#dceced00 49%,#062e4d40 65%,#052540ad 100%)}
[data-shore-scene=night] .shore-reading-light{background:linear-gradient(180deg,#06193722,#061b3630 52%,#061b3622)}
#app{position:relative;z-index:1}
.shore-home-route #main{max-width:none;padding:0;min-height:100svh;color:var(--shore-ink)}
.shore-home{display:flex;flex-direction:column;min-height:100svh;font-family:Manrope,Arial,sans-serif;line-height:1.4}
.shore-masthead{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:25px 5vw 12px}
.shore-wordmark{font:400 34px/1.1 Cormorant,Georgia,serif;letter-spacing:.055em;color:inherit;text-decoration:none}
.shore-wordmark span{display:block;font:400 10px/1.4 Manrope,Arial,sans-serif;letter-spacing:.04em;margin-top:6px}
.shore-controls{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:3px 15px;max-width:300px}
.shore-controls button,.shore-controls select{font-size:11px;border:0;border-bottom:1px solid var(--shore-line);color:inherit;background:transparent;padding:7px 0;min-width:44px;min-height:44px;border-radius:0;cursor:pointer;line-height:1.3}
.shore-opening-words #shore-rose{font-size:clamp(28px,7vw,52px);margin:.35rem 0 0;line-height:1;filter:drop-shadow(0 4px 8px #1c2e2440);transition:opacity .2s}.shore-opening-words #shore-rose img{display:block;width:clamp(110px,28vw,190px);height:auto;margin:.2rem auto 0;border-radius:22px;filter:drop-shadow(0 8px 16px #1c2e244055)}
.shore-opening-new{position:absolute;top:clamp(118px,16vh,170px);left:50%;margin:0;transform:translateX(-50%);font:700 clamp(12px,3vw,17px)/1 Manrope,Arial,sans-serif;letter-spacing:.14em;color:#ffe19a;text-shadow:0 2px 8px #15384c66;white-space:nowrap;animation:shore-new-arrive 1.2s ease-out both}@keyframes shore-new-arrive{0%{opacity:0;transform:translateX(-50%) translateY(-8px) scale(.9)}100%{opacity:1;transform:translateX(-50%) translateY(0) scale(1)}}
.shore-inbox-indicator{font-size:15px;color:inherit;text-decoration:none;padding:10px 15px;min-height:46px;display:inline-flex;align-items:center;gap:7px;border:1px solid transparent;border-radius:999px}.shore-inbox-indicator span{font-size:12px;text-transform:uppercase;letter-spacing:.16em}.shore-inbox-indicator.is-new{border-color:#ffe19a;background:#ffe19a;color:#17384b;box-shadow:0 0 0 0 #ffe19a99;animation:shore-new-pulse 1.4s ease-out infinite}.shore-inbox-icon{font-size:20px;line-height:1}.shore-inbox-label{font-weight:800}@keyframes shore-new-pulse{0%{transform:translateY(0) scale(1);box-shadow:0 0 0 0 #ffe19a99}45%{transform:translateY(-3px) scale(1.08);box-shadow:0 0 0 9px #ffe19a00}100%{transform:translateY(0) scale(1);box-shadow:0 0 0 0 #ffe19a00}}
.shore-controls select{max-width:115px}
.shore-atmosphere{font-size:11px}
.shore-atmosphere .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.shore-welcome{width:100%;max-width:850px;padding:24px 24px 20px;margin:0 auto;text-align:center}
.shore-note{font-size:12px;color:var(--shore-soft);margin:4px 0 14px;max-width:none}
.shore-welcome h1{font:400 clamp(48px,6.5vw,82px)/1.02 Cormorant,Georgia,serif;margin:0 0 23px;letter-spacing:-.035em}
.shore-thought{font:400 clamp(25px,2.6vw,36px)/1.24 Cormorant,Georgia,serif;max-width:680px;margin:0 auto;text-wrap:balance}
.shore-invitation{font:italic 400 clamp(22px,2.4vw,29px)/1.3 Cormorant,Georgia,serif;margin:26px 0 20px;max-width:none}
.shore-daily-doors{display:flex;align-items:center;justify-content:center;gap:8px 22px;flex-wrap:wrap}
.shore-primary{display:inline-flex;align-items:center;justify-content:center;background:var(--shore-accent);color:var(--shore-on-accent);padding:13px 28px;border:0;border-radius:40px;font:400 20px/1.4 Cormorant,Georgia,serif;min-height:46px}
.shore-text-button{border:0;background:transparent;color:inherit;text-decoration:underline;text-decoration-color:var(--shore-line);text-underline-offset:6px;font-size:12px;padding:8px 0;min-height:44px}
.shore-care-doors{max-width:1000px;margin:22px auto 24px;padding:0 24px;display:flex;justify-content:center;flex-wrap:wrap;gap:7px 24px}
.shore-care-doors a,.shore-care-doors button{display:inline-flex;align-items:center;color:inherit;border:0;border-bottom:1px solid var(--shore-line);background:transparent;padding:8px 0;font-size:12px;min-height:44px}
.shore-footer{margin-top:auto;display:flex;justify-content:center;gap:5px 30px;flex-wrap:wrap;padding:18px 20px 10px}
.shore-footer button,.shore-footer a{display:inline-flex;align-items:center;border:0;background:transparent;color:inherit;font-size:11px;padding:5px 0;text-decoration:underline;text-decoration-color:var(--shore-line);text-underline-offset:6px;min-height:44px}
.shore-review{font-size:10px;text-align:center;margin:0 auto;padding:5px 20px 14px;color:#fff8e9;text-shadow:0 1px 3px #10384b99}
[data-shore-scene=morning] .shore-invitation,[data-shore-scene=morning] .shore-care-doors,[data-shore-scene=morning] .shore-footer,[data-shore-scene=morning] .shore-text-button{color:#fff8e9;--shore-line:#fff8e978;text-shadow:0 1px 4px #153d54}
#shore-opening{position:fixed;inset:0;z-index:20;display:grid;place-items:center;color:var(--shore-ink);padding:30px;isolation:isolate}
#shore-opening[hidden]{display:none}
.shore-opening-brand{position:absolute;top:25px;left:5vw;margin:0;font:400 35px/1.2 Cormorant,Georgia,serif;letter-spacing:.055em}
.shore-opening-words{width:min(100%,850px);text-align:center;padding-bottom:5vh}
#shore-caption{font:400 clamp(40px,6vw,76px)/1.12 Cormorant,Georgia,serif;letter-spacing:-.025em;white-space:pre-line;text-wrap:balance;margin:0;max-width:none}
.shore-opening-controls{position:absolute;bottom:max(30px,env(safe-area-inset-bottom));left:20px;right:20px;display:flex;justify-content:center;gap:22px;color:#fff8e9;text-shadow:0 1px 4px #10384b}
.shore-opening-controls button{color:inherit;border:0;border-bottom:1px solid #fff8e978;background:transparent;min-width:50px;min-height:44px;padding:8px;font-size:12px}
.shore-enable-sound{display:block;margin:25px auto 0;border:1px solid var(--shore-line);border-radius:28px;color:var(--shore-on-accent);background:var(--shore-accent);padding:12px 20px;min-height:46px;font-size:13px}
.shore-enable-sound[hidden]{display:none}
.shore-is-opening{overflow:hidden}
.shore-is-opening #app{opacity:var(--shore-home-reveal,0);pointer-events:none}
.shore-is-opening #shore-opening{opacity:calc(1 - var(--shore-home-reveal,0))}
.shore-is-quiet #app{visibility:hidden}
#shore-quiet-return{position:fixed;bottom:30px;left:50%;transform:translateX(-50%);z-index:5;color:#fff8e9;text-shadow:0 1px 4px #10384b;border-bottom:1px solid #fff8e978;min-height:44px}
.shore-room-actions{display:flex;flex-wrap:wrap;gap:12px;margin:24px 0}
.shore-home-route dialog{background:#f7f6ed;color:#183a4b}
.shore-home-route[data-shore-scene=night] dialog{background:#102d48;color:#f6ebd2;--muted:#d2dce4;--forest:#ead9a9;--line:#efdfb75c}
.shore-home-route dialog .button.secondary{color:inherit;border-color:currentColor}
.shore-home-route dialog .button.secondary:hover{background:#ffffff12}
.shore-home :focus-visible,#shore-opening :focus-visible{outline-color:currentColor}
@media(min-height:850px) and (min-width:700px){.shore-welcome{padding-top:6vh}.shore-care-doors{margin-top:4vh}}
@media(max-width:600px){
 .shore-masthead{padding:21px 22px 10px;gap:12px}
 .shore-wordmark{font-size:27px}.shore-wordmark span{font-size:9px;letter-spacing:.02em}
 .shore-controls{max-width:170px;gap:0 10px}.shore-controls button{font-size:11px}.shore-controls select{min-height:32px;font-size:10px;padding:3px 0}
 .shore-welcome{padding:18px 22px 15px}.shore-welcome h1{font-size:clamp(39px,11.8vw,52px);margin-bottom:18px}
 .shore-note{font-size:11px}.shore-thought{font-size:26px;line-height:1.18}
 .shore-invitation{font-size:24px;margin:20px 0 18px}.shore-daily-doors{gap:2px}
 .shore-primary{font-size:20px;padding:13px 24px}.shore-text-button{width:100%;margin-top:7px}
 .shore-care-doors{margin-top:16px;gap:6px 21px;padding:0 21px}
 .shore-footer{gap:0 20px;padding:9px 20px 10px}.shore-footer button,.shore-footer a{font-size:11px}
 #shore-opening{padding:24px}#shore-caption{font-size:clamp(38px,12vw,52px)}.shore-opening-brand{font-size:30px;top:26px;left:24px}
}

/* Approved menu typography refinement: wording and home order are unchanged. */
.shore-care-doors{gap:8px 30px}
.shore-care-doors a,.shore-care-doors button{font:400 clamp(21px,2.1vw,25px)/1.2 Cormorant,Georgia,serif;padding:9px 0;text-decoration:none;border-bottom-width:1px;letter-spacing:.005em}
.shore-text-button{font:400 21px/1.25 Cormorant,Georgia,serif;text-decoration-thickness:1px}
.shore-footer [data-shore="ideas"],.shore-footer [data-shore="bridge"],.shore-footer [data-shore="beer"]{font:400 20px/1.2 Cormorant,Georgia,serif;text-decoration-thickness:1px}
@media(max-width:600px){.shore-care-doors{column-gap:25px;row-gap:7px;margin-top:14px}.shore-care-doors a,.shore-care-doors button{font-size:22px;padding:8px 0}.shore-footer [data-shore="ideas"],.shore-footer [data-shore="bridge"],.shore-footer [data-shore="beer"]{font-size:19px}.shore-footer{column-gap:22px;row-gap:4px}}

#shore-caption.shore-caption-thought{font:400 clamp(28px,4.8vw,50px)/1.18 Cormorant,Georgia,serif;max-width:750px;margin:auto;text-wrap:balance}
@media(max-width:600px){#shore-caption.shore-caption-thought{font-size:32px;line-height:1.2}}
