*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#e9c6ad;font-family:Arial,"Apple SD Gothic Neo","Malgun Gothic",sans-serif;color:#fff1d8}button{font:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent;color:inherit}button:focus-visible,a:focus-visible{outline:3px solid #fff2be;outline-offset:4px}#world{position:fixed;inset:0;overflow:clip}#canvas-host{width:100%;height:100%;touch-action:none}canvas{width:100%;height:100%;display:block}header{position:absolute;top:0;width:100%;padding:26px 30px;display:flex;align-items:flex-start;justify-content:space-between;pointer-events:none}.brand{font-family:Georgia,"Batang",serif;font-size:28px;letter-spacing:6px;color:#4c4a3f;text-shadow:0 1px 6px #fff8}.brand small{display:block;font-family:Arial;font-size:9px;letter-spacing:3px;margin-top:9px}.tools{display:flex;gap:8px;pointer-events:auto}.tools button{min-width:38px;height:38px;padding:0 14px;border:1px solid #fff7;border-radius:24px;background:#394c468c;backdrop-filter:blur(10px);font-size:11px}.tools button:nth-last-child(-n+2){padding:0;width:38px;font-size:17px}#loading{position:absolute;left:50%;top:45%;transform:translate(-50%,-50%);padding:20px;color:#514c40;letter-spacing:2px;background:#fff7;border-radius:15px}#loading[hidden]{display:none}#whisper{position:absolute;bottom:145px;left:22%;right:22%;text-align:center;font-size:13px;letter-spacing:1px;text-shadow:0 1px 7px #293f37;pointer-events:none;transition:opacity 1s}#whisper.faded{opacity:0}.move-control{position:absolute;left:32px;bottom:max(32px,env(safe-area-inset-bottom));text-align:center;user-select:none}.move-control>span{display:block;font-size:9px;letter-spacing:2px;margin-top:10px;text-shadow:0 1px 5px #0005}#joystick{width:100px;height:100px;border:1px solid #fff8;border-radius:50%;background:#43584a25;box-shadow:inset 0 0 25px #fff1;backdrop-filter:blur(5px);touch-action:none;display:grid;place-items:center}#stick{width:42px;height:42px;background:#f6e5c6bb;border:1px solid #fff8;border-radius:50%;box-shadow:0 3px 12px #24362933;pointer-events:none}.right-controls{position:absolute;right:30px;bottom:36px;display:flex;flex-direction:column;gap:9px}.right-controls button{border:1px solid #ffffff66;background:#344b42a8;backdrop-filter:blur(7px);border-radius:25px;padding:13px 19px;font-size:11px;min-height:43px}.right-controls button:disabled{opacity:.55;cursor:default}.hint,.keyboard-move{position:absolute;bottom:35px;left:170px;right:180px;text-align:center;font-size:10px;color:#fff4d5;text-shadow:0 1px 7px #243a2b;pointer-events:none}.keyboard-move{bottom:17px;font-size:9px;opacity:.7}dialog{border:1px solid #9b805c;background:#2c2822;color:#eee2cb;border-radius:16px;box-shadow:0 30px 100px #000b;padding:30px;max-width:calc(100vw - 28px);width:440px}dialog::backdrop{background:#10151599;backdrop-filter:blur(4px)}#help-dialog .close{float:right;width:34px;height:34px;border:1px solid #fff5;background:transparent;border-radius:50%;font-size:22px}#help-dialog h2{font-family:Georgia,"Batang",serif;font-weight:400}#help-dialog p{font-size:12px;line-height:2}#help-dialog small{display:block;font-size:10px;line-height:1.8;color:#b2a995}#radio-dialog{position:fixed;z-index:20;right:10px;top:98px;margin:0;width:304px;max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);padding:12px;border:1px solid #b39b7480;border-radius:12px;background:#2c2822f5;box-shadow:0 12px 35px #0007;color:#eee2cb;overflow:auto;touch-action:auto}#radio-dialog[hidden]{display:none}#radio-dialog.compact{width:224px}.radio-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px;gap:5px;cursor:grab;touch-action:none;user-select:none}.radio-top:active{cursor:grabbing}.radio-top span{font-size:8px;letter-spacing:1px;color:#b7aa94}#radio-title{font-family:Georgia,"Batang",serif;font-size:15px;font-weight:400;margin:5px 0 0;white-space:nowrap}.radio-buttons{display:flex;gap:3px}.radio-buttons button{width:30px;height:32px;min-width:30px;padding:0;display:grid;place-items:center;border:1px solid #f3dfbd33;border-radius:8px;background:transparent;color:#eee2cb;font-size:19px}#player{width:100%;aspect-ratio:393/699;background:#181d1b;border-radius:7px;overflow:hidden}#player iframe{display:block;width:100%;height:100%;border:0}.consent{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:10px;text-align:center}.consent>span{font-size:30px;color:#aa9877}.consent p{font-size:10px;line-height:1.7;margin-top:25px}.consent small{font-size:9px;line-height:1.8;color:#b0ac9f}.consent button{margin-top:17px;padding:12px;border:1px solid #b2a183;border-radius:25px;background:#d8c7a6;color:#302c24;font-size:10px}.player-note{font-size:9px;color:#c2b69f;line-height:1.6;margin:10px 0 7px}#radio-dialog>a{font-size:9px;color:#d6c29a}#fallback{position:absolute;inset:0;display:grid;align-content:center;padding:35px;text-align:center;background:#e6c4a6;color:#4b4c42}#fallback[hidden]{display:none}#fallback h1{font-size:22px}#fallback p{font-size:13px;line-height:1.8}#fallback button{padding:14px;color:#fff;background:#4c6964;border:0;border-radius:30px;max-width:180px;margin:20px auto}@media(max-width:650px){header{padding:20px 17px}.brand{font-size:22px;letter-spacing:4px}.brand small{font-size:8px;letter-spacing:1px}.tools{gap:5px}.tools button{padding:0 10px;font-size:9px;height:34px;min-width:32px}.tools button:nth-last-child(-n+2){width:32px}.move-control{left:21px;bottom:35px}#joystick{width:88px;height:88px}.right-controls{right:20px;bottom:38px}.right-controls button{padding:12px 15px;font-size:10px}.hint{bottom:17px;left:10px;right:10px;font-size:8px}.keyboard-move{display:none}#whisper{bottom:150px;left:8%;right:8%;font-size:11px}#radio-dialog{width:276px;padding:10px}#radio-dialog.compact{width:220px}.radio-top span{display:none}#radio-title{font-size:13px}.player-note{font-size:8px}}@media(max-height:650px){#radio-dialog #player{width:min(100%,calc((100dvh - 155px)*393/699));margin:auto}.move-control{bottom:20px}.right-controls{bottom:20px}.hint,.keyboard-move{display:none}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}

/* Dedicated player space, never an overlay on movement controls. */
body.radio-open #world{right:260px}
#radio-dialog{inset:0 0 0 auto;width:260px;max-width:none;max-height:none;height:100dvh;border-radius:0;padding:12px;display:flex;flex-direction:column;align-items:center;gap:8px;overflow:auto}
#radio-dialog[hidden]{display:none}
.radio-top{width:100%;margin:0;cursor:default;touch-action:auto;min-height:38px}
#radio-title{font-size:14px;margin:0}
#close-radio{font-size:11px;padding:9px 10px;border:1px solid #d8c7a655;border-radius:20px;background:#554b3b;white-space:nowrap}
#radio-dialog #player{width:min(100%,calc((100dvh - 112px)*393/699));flex-shrink:0;margin:0;aspect-ratio:393/699}
.player-note{margin:0;font-size:10px}
#radio-dialog>a{font-size:10px}
body.radio-open .tools #radio{display:none}
@media(max-width:650px) and (orientation:portrait){
 body.radio-open #world{right:0;top:382px}
 #radio-dialog{inset:0 0 auto;width:100%;height:382px;padding:8px 12px;gap:4px;overflow:hidden}
 .radio-top{position:absolute;left:12px;top:10px;width:calc(100% - 24px);align-items:flex-start}
 #radio-title{font-size:12px;max-width:50px;white-space:normal;line-height:1.6}
 #close-radio{font-size:10px;max-width:66px;white-space:normal;line-height:1.5;padding:8px}
 #radio-dialog #player{width:176px;margin-top:0}
 .player-note{font-size:9px}
 body.radio-open header{padding:12px}
 body.radio-open .brand{font-size:17px}
 body.radio-open .brand small{display:none}
 body.radio-open .move-control{left:16px;bottom:25px}
 body.radio-open .right-controls{right:14px;bottom:28px}
 body.radio-open #joystick{width:78px;height:78px}
 body.radio-open #whisper{bottom:118px;font-size:10px}
 body.radio-open .hint{bottom:7px}
}
@media(orientation:landscape) and (max-height:500px){
 body.radio-open #world{right:210px}
 #radio-dialog{width:210px;padding:6px;gap:4px}
 #radio-dialog #player{width:calc((100dvh - 91px)*393/699)}
 .radio-top{min-height:32px}
 #radio-title{font-size:12px}
 #close-radio{font-size:9px;padding:7px}
 .player-note,#radio-dialog>a{font-size:8px}
 body.radio-open header{padding:12px}
 body.radio-open .brand{font-size:20px}
 body.radio-open .brand small{display:none}
 body.radio-open #joystick{width:70px;height:70px}
 body.radio-open .move-control{left:18px;bottom:15px}
 body.radio-open .right-controls{right:16px;bottom:18px}
 body.radio-open #whisper{bottom:110px}
}
@media(max-width:650px) and (orientation:portrait){#close-radio{max-width:52px;padding:8px 4px}}

.radio-actions{display:flex;gap:5px}.radio-actions button,#radio-mini button{border:1px solid #d8c7a655;border-radius:20px;background:#554b3b;color:#eee2cb;padding:8px 10px;font-size:11px}
#radio-mini{position:fixed;top:82px;right:18px;z-index:21;background:#2c2822ed;color:#eee2cb;border:1px solid #d8c7a655;border-radius:24px;padding:5px 7px 5px 14px;display:flex;align-items:center;gap:7px;font-size:11px}
#radio-mini[hidden]{display:none}
@media(max-width:650px) and (orientation:portrait){.radio-actions{flex-direction:column}.radio-actions button{font-size:10px;padding:8px;max-width:50px}#radio-mini{top:65px;right:12px}}

/* Keep provider speaker controls comfortably tappable before collapsing. */
@media(max-width:650px) and (orientation:portrait){
 body.radio-open #world{top:480px}
 #radio-dialog{height:480px;padding:8px 12px;gap:4px}
 .radio-top{position:static;width:100%;min-height:32px;align-items:center}
 #radio-title{max-width:none;white-space:nowrap}
 .radio-actions{flex-direction:row}
 .radio-actions button,#close-radio{max-width:none;padding:8px 12px}
 #radio-dialog #player{width:224px;margin:0}
 .player-note{font-size:9px;white-space:nowrap}
 body.radio-open .move-control{bottom:20px}
 body.radio-open .right-controls{bottom:22px}
 body.radio-open #joystick{width:68px;height:68px}
 body.radio-open #whisper{display:none}
}

#object-labels{position:absolute;inset:0;pointer-events:none;overflow:hidden}.object-tag{position:absolute;transform:translate(-50%,-100%);pointer-events:auto;border:1px solid #fff9;border-radius:15px;background:#354e42d9;color:#fff1d8;padding:7px 10px;min-height:34px;font-size:11px;white-space:nowrap;box-shadow:0 3px 10px #0002}.object-tag::after{content:'';position:absolute;bottom:-6px;left:50%;border:3px solid transparent;border-top-color:#354e42d9}
#explore{position:absolute;top:86px;left:24px;z-index:4;font-size:11px}#explore summary{cursor:pointer;list-style:none;border:1px solid #fff7;padding:9px 13px;background:#354e42cf;border-radius:22px}#explore nav{display:grid;grid-template-columns:repeat(2,1fr);gap:5px;margin-top:6px;background:#2e443eee;padding:9px;border-radius:15px;max-width:260px}#explore button{background:#ffffff12;border:1px solid #fff3;border-radius:14px;padding:11px;font-size:11px;min-height:38px}
#activity-panel{position:absolute;bottom:130px;left:50%;transform:translateX(-50%);width:max-content;max-width:calc(100% - 28px);background:#34483eeb;border:1px solid #fff6;border-radius:20px;text-align:center;padding:10px 14px;z-index:5}#activity-panel[hidden]{display:none}#activity-panel p{font-size:12px;margin:0 0 9px;line-height:1.6}#activity-panel button{background:#ead9b9;color:#33483f;border:0;border-radius:18px;padding:10px 14px;font-size:11px}#activity-panel button[hidden]{display:none}#activity-exit{background:#ffffff18!important;color:#fff1d8!important;margin-left:5px}#mother-note{position:absolute;bottom:75px;left:160px;right:165px;text-align:center;font-size:10px;pointer-events:none;text-shadow:0 1px 5px #253e32}
@media(max-width:650px){#explore{left:14px;top:65px}.object-tag{font-size:10px;padding:7px 9px}#mother-note{bottom:120px;left:14px;right:14px;font-size:9px}#activity-panel{bottom:140px}body.radio-open #explore{top:52px}body.radio-open .object-tag{display:none}body.radio-open #activity-panel{bottom:112px;padding:7px 10px}body.radio-open #mother-note{display:none}}
@media(max-height:450px){#explore{top:65px}#activity-panel{bottom:110px}#mother-note{display:none}}

#channel-bar{position:absolute;left:24px;top:128px;z-index:3;display:flex;flex-direction:column;align-items:flex-start;gap:5px;color:#fff3d8;font-size:9px;text-shadow:0 1px 4px #263e34}#channel-bar label{display:none}#channel{border:1px solid #fff6;border-radius:18px;padding:8px 12px;background:#354e42dd;color:#fff3d8;font:inherit;font-size:11px;max-width:150px}#channel option{background:#354e42}#presence-status{padding:0 6px;font-size:9px}

@media(max-width:650px){#channel-bar{top:106px;left:14px}#channel{padding:7px 9px;font-size:10px}#presence-status{font-size:8px}body.radio-open #channel-bar{top:95px;left:12px}body.radio-open #presence-status{display:none}}

#explore nav{max-height:min(52dvh,380px);overflow:auto;overscroll-behavior:contain} #explore button{min-height:44px}

#rain-veil{display:none;position:absolute;inset:0;pointer-events:none;overflow:hidden;z-index:1;background:linear-gradient(180deg,#688f9b1c,#b6dce509)}
body[data-zone="forest"] #rain-veil{display:block}
#rain-veil::before,#rain-veil::after{content:"";position:absolute;inset:-90px;background-image:linear-gradient(100deg,transparent 48%,#e3f7ff9c 49%,#e3f7ff9c 50%,transparent 51%);background-size:93px 87px;mask-image:repeating-linear-gradient(180deg,#000 0 19px,transparent 20px 87px);animation:near-rain .75s linear infinite;opacity:.42}
#rain-veil::after{background-size:137px 117px;transform:translateX(41px);animation-duration:1.2s;opacity:.25}
@keyframes near-rain{from{translate:0 -87px}to{translate:-15px 87px}}
@media(prefers-reduced-motion:reduce){#rain-veil::before,#rain-veil::after{display:none}}

#area-map{position:absolute;right:20px;top:86px;z-index:5;font-size:11px}#area-map summary{padding:9px 12px;border-radius:20px;background:#354e42dc;cursor:pointer}#area-map nav{display:grid;background:#293c39ef;padding:12px;border-radius:15px;gap:5px;max-width:230px}#area-map p{line-height:1.7;margin:0 0 5px}#area-map button{min-height:44px;border-radius:12px;background:#ffffff16;border:1px solid #fff4}body.radio-open #area-map{display:none}@media(max-width:650px){#area-map{top:65px;right:14px;font-size:10px}}

@media(max-width:650px){.tools{gap:3px}.tools button{font-size:9px;padding:8px 7px}header .brand{font-size:17px}.brand small{display:none}}

#zone-song{border-radius:15px;border:1px solid #fff7;background:#354e42df;padding:8px 10px;font-size:10px;min-height:32px}body.radio-open #zone-song{display:none}

.tools button{white-space:nowrap;flex-shrink:0}@media(max-width:360px){header .brand{display:none}header .tools{width:100%;justify-content:space-between}.tools button{padding:0 9px;font-size:10px}}body[data-channel="moon"] .brand{color:#ece6c9}
#radio-mini{top:auto;bottom:170px;right:18px;max-width:calc(100vw - 28px)}
body:has(#radio-mini:not([hidden])) #whisper{bottom:220px}
@media(max-width:650px){#radio-mini{top:auto;bottom:170px;right:14px;left:auto;font-size:10px}#radio-mini span{max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}
.provider-label{font-size:10px;width:100%;display:flex;align-items:center;justify-content:space-between;gap:6px}#radio-provider{max-width:190px;background:#423e34;color:#fff0d4;border:1px solid #c9b78d;border-radius:8px;padding:8px;font-size:10px}#youtube-consent{font-size:11px;line-height:1.8;text-align:center}#youtube-consent[hidden],#youtube-start[hidden]{display:none}#youtube-load,#youtube-start{padding:10px 16px;border:1px solid #c9b78d;border-radius:20px;background:#5b604c;color:#fff4df}body.youtube-mode #radio-dialog{width:360px}body.youtube-mode.radio-open #world{right:360px}body.youtube-mode #radio-dialog #player{width:100%;height:200px;min-height:200px;aspect-ratio:auto;border-radius:0}body.youtube-mode #radio-dialog #player:empty{display:none}body.youtube-mode .player-note{white-space:normal}body.youtube-mode .radio-top{position:static;width:100%}body.youtube-mode.radio-open #area-map{display:block}
@media(max-width:650px) and (orientation:portrait){body.youtube-mode #radio-dialog{width:100%;height:350px;gap:5px;padding:7px 10px}body.youtube-mode.radio-open #world{right:0;top:350px}body.youtube-mode #radio-dialog #player{width:100%;height:200px;min-height:200px}body.youtube-mode #youtube-start{position:absolute;bottom:6px;right:10px;padding:7px 12px;font-size:10px}body.youtube-mode .player-note{align-self:flex-start;max-width:65%;font-size:9px}body.youtube-mode #radio-dialog>a{align-self:flex-start;font-size:9px}body.youtube-mode #radio-provider{max-width:205px}body.youtube-mode.radio-open #area-map{top:135px}}
@media(orientation:landscape) and (max-height:500px){body.youtube-mode #radio-dialog{width:280px;padding:6px;gap:4px}body.youtube-mode.radio-open #world{right:280px;top:0}body.youtube-mode #radio-dialog #player{height:200px;min-height:200px}body.youtube-mode #radio-provider{max-width:190px}body.youtube-mode #youtube-start{padding:5px 10px;font-size:10px}body.youtube-mode .player-note{font-size:8px}body.youtube-mode .provider-label{font-size:9px}}
@media(orientation:landscape) and (max-height:500px){body.youtube-mode #radio-dialog{gap:2px}body.youtube-mode .radio-top{min-height:28px}body.youtube-mode #youtube-start{position:absolute;right:6px;bottom:4px}body.youtube-mode .player-note{align-self:flex-start;max-width:65%}body.youtube-mode #radio-dialog>a{align-self:flex-start;font-size:8px}}

/* Compact YouTube keeps the same visible 200px player; only chrome collapses. */
body.youtube-mode.youtube-compact #radio-dialog{width:216px;padding:8px;gap:6px;justify-content:flex-start;overflow:hidden}
body.youtube-mode.youtube-compact.radio-open #world{right:216px}
body.youtube-mode.youtube-compact .provider-label,body.youtube-mode.youtube-compact .player-note,body.youtube-mode.youtube-compact #radio-dialog>a,body.youtube-mode.youtube-compact #youtube-start{display:none}
body.youtube-mode.youtube-compact .radio-top{display:flex;flex-wrap:wrap;gap:5px;min-height:60px}
body.youtube-mode.youtube-compact #radio-title{width:100%;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.youtube-mode.youtube-compact .radio-actions{width:100%;justify-content:space-between;flex-direction:row}
body.youtube-mode.youtube-compact .radio-actions button{padding:7px 12px;font-size:10px;min-height:32px}
body.youtube-mode.youtube-compact #radio-dialog #player{width:200px;height:200px;min-height:200px;margin:0}
@media(max-width:650px) and (orientation:portrait){
 body.youtube-mode.youtube-compact #radio-dialog{width:100%;height:216px;padding:8px;display:grid;grid-template-columns:minmax(0,1fr) 200px;gap:8px;align-items:start}
 body.youtube-mode.youtube-compact.radio-open #world{right:0;top:216px}
 body.youtube-mode.youtube-compact .radio-top{width:100%;display:flex;flex-direction:column;align-items:stretch;gap:14px;padding-top:8px}
 body.youtube-mode.youtube-compact #radio-title{white-space:normal;line-height:1.6}
 body.youtube-mode.youtube-compact .radio-actions{flex-direction:column;gap:10px}
 body.youtube-mode.youtube-compact .radio-actions button{min-height:38px;width:100%;padding:8px 2px}
 body.youtube-mode.youtube-compact.radio-open #area-map{top:65px}
}
@media(orientation:landscape) and (max-height:500px){body.youtube-mode.youtube-compact #radio-dialog{width:216px;height:100dvh}body.youtube-mode.youtube-compact.radio-open #world{right:216px;top:0}}
/* Quiet garden-journal interface: warm paper, thin brass edges, generous touch targets. */
body{font-family:system-ui,-apple-system,'Noto Sans KR',sans-serif;letter-spacing:-.02em}
.tools button,#explore summary,#area-map summary,#channel,.right-controls button{box-shadow:0 3px 14px #18362a18,inset 0 1px #fff3;border-color:#e4dab666;background:#334d43db}
.tools button[aria-pressed=true]{background:#ead9b8;color:#34473e;border-color:#fff4dc}
.brand{font-weight:400;letter-spacing:.24em}.brand small{letter-spacing:.19em}
#explore nav,#area-map nav{border:1px solid #cfbd984d;box-shadow:0 12px 30px #15332930;background:#2c443ced}
#explore button,#area-map button{border-color:#d4c5a532;border-radius:10px;text-align:left;line-height:1.5}
#joystick{background:radial-gradient(circle,#fff0d524,#37574735);border-color:#f4ebc6a6;box-shadow:inset 0 0 0 6px #ffffff0b,0 4px 16px #2549341a}
#stick{background:linear-gradient(145deg,#fff1d4,#cfbc96);box-shadow:0 4px 10px #163a3433}
.object-tag{background:#314f43e8;border-color:#ebd6a58c;box-shadow:0 3px 8px #15362922;letter-spacing:0}
#bike{background:#e7cda5;color:#304c40;border-color:#fff0ca;font-weight:600}
#bike[aria-pressed=true]{background:#b4cebc;color:#223e33}
.right-controls{gap:7px}.right-controls button{min-height:40px;padding:10px 17px}
@media(max-width:650px){.right-controls button{min-height:38px;padding:9px 13px;font-size:10px}.right-controls{gap:6px}#activity-panel{bottom:175px}body.radio-open #activity-panel{bottom:162px}#radio-mini{bottom:200px}}
@media(orientation:landscape) and (max-height:500px){.right-controls{bottom:15px;gap:4px}.right-controls button{min-height:32px;padding:6px 12px}#activity-panel{bottom:125px}}
button:focus-visible,summary:focus-visible,select:focus-visible{outline:2px solid #ffe6a6;outline-offset:3px}
#peer-labels{position:absolute;inset:0;pointer-events:none;overflow:hidden;z-index:2}.peer-name{position:absolute;transform:translate(-50%,-100%);white-space:nowrap;font-size:10px;color:#fff4db;background:#365448b8;border:1px solid #f9e8ba66;border-radius:14px;padding:5px 9px}.peer-name[hidden]{display:none}
.pet-choice{display:flex;align-items:center;gap:6px;font-size:9px;background:#334d43dc;border:1px solid #e4dab666;border-radius:18px;padding:5px 9px}.pet-choice select{max-width:92px;background:transparent;color:#fff1d5;border:0;font-size:10px;min-height:28px}.pet-choice option{background:#334d43}.tools #sky-view{padding:0;width:32px;font-size:17px}
@media(max-width:360px){header .tools button{padding:0 6px;min-width:28px}.tools #sky-view{width:28px}}
@media(max-width:650px){#activity-panel{bottom:208px}body.radio-open #activity-panel{bottom:208px}.pet-choice{padding:2px 8px}.pet-choice select{min-height:27px}#radio-mini{bottom:235px}}
@media(orientation:landscape) and (max-height:500px){.pet-choice{position:absolute;bottom:0;right:110px;min-width:122px}#activity-panel{bottom:125px}body.radio-open #activity-panel{bottom:125px}}
/* Soft illustrated-village chrome, not a technical dashboard. */
.tools button,#explore summary,#area-map summary,#channel{background:#f5eddbeb;color:#405b4d;border:1px solid #fff8e8;box-shadow:0 4px 12px #345b4420;border-radius:20px}
.tools button[aria-pressed=true]{background:#c4d7b8;color:#314a3b}
#explore nav,#area-map nav{background:#f4edddf5;color:#405b4d;border-color:#fff8e8;border-radius:22px;padding:12px}
#explore button,#area-map button{background:#dfe7d5;color:#3d5648;border:1px solid #c4d3ba;border-radius:14px;min-height:44px}
.object-tag{background:#f3eedde8;color:#3e584a;border-color:#fff8df;border-radius:17px;box-shadow:0 3px 10px #294f3020}.object-tag::after{border-top-color:#f3eedde8}
.right-controls button{background:#e9edddf0;color:#3c5647;border:1px solid #fff5df;border-radius:19px;box-shadow:0 4px 12px #25483122;min-height:44px}
.right-controls button:disabled{background:#dce3d6b8;color:#516152;opacity:.75}
#bike{background:#efd3aa}.pet-choice{background:#e8eedff2;color:#405b4d;border-color:#fff4dc}.pet-choice select{color:#405b4d}.pet-choice option{background:#eff3e7}
#radio-dialog{background:#f3ecdd;color:#405044;border-color:#e2d5bb}.radio-actions button,#close-radio{background:#e1e8d6;color:#3a5142;border-color:#c6d4bb}.player-note,#radio-dialog>a{color:#58684f}#youtube-load,#youtube-start{background:#657e62;color:#fff8e7;border-color:#879e7e}
#presence-status{color:#405b4d;text-shadow:0 1px 4px #fff8}#channel option{background:#eff3e7;color:#405b4d}
button,summary{transition:background .18s,box-shadow .18s,transform .18s}button:active,summary:active{transform:translateY(1px)}
@media(max-width:650px){.right-controls{gap:5px}.right-controls button{min-height:44px;padding:8px 12px}#whisper{bottom:215px}body.youtube-compact .right-controls button{min-height:44px}}
@media(orientation:landscape) and (max-height:500px){.right-controls button{min-height:38px}.right-controls{gap:4px}header{padding:12px}}
@media(prefers-reduced-motion:reduce){button,summary{transition:none}}
#area-map[hidden]{display:none!important}
.tools button,#explore summary,#area-map summary{background:#f5eddbd4;box-shadow:0 2px 9px #345b4416}.object-tag{background:#f3eeddd9}.right-controls #interact:disabled{visibility:hidden;pointer-events:none}body.youtube-compact #whisper{display:block;bottom:215px;left:10px;right:120px;font-size:10px;background:#334d4380;border-radius:12px;padding:5px;letter-spacing:0}
.object-tag{opacity:.78}.object-tag.nearby,.object-tag:focus-visible{opacity:1;background:#fff1ce;border-color:#fff8e5;box-shadow:0 3px 14px #445d3f38}.object-tag.nearby{font-weight:600}
#support{margin-top:4px;background:#f6eddbbb;color:#405b4d;border:1px solid #fff3d6;border-radius:18px;padding:8px 12px;min-height:36px;font-size:10px;text-shadow:none}#support-dialog{position:fixed;inset:auto;margin:0;box-sizing:border-box;border-radius:26px;background:#f8f1e3;color:#405449;border:1px solid #fff9e9;box-shadow:0 20px 80px #233e4559;padding:24px 20px;overflow:auto;text-align:center;width:420px}#support-dialog::backdrop{background:transparent;backdrop-filter:none}#support-dialog h2{font-family:Georgia,'Batang',serif;font-weight:400;font-size:22px;letter-spacing:-.03em;margin:10px 0 14px}#support-close{position:absolute;right:10px;top:8px;width:44px;height:44px;border:0;background:transparent;color:#566b57;font-size:28px}.support-eyebrow{font-size:10px;letter-spacing:.15em;color:#7c8b70}#support-copy{font-size:13px;line-height:1.9;margin:0 0 14px}#support-dialog img{display:block;width:100%;height:auto;max-width:350px;margin:0 auto 16px;object-fit:contain}#support-link{display:block;border-radius:18px;padding:14px 8px;background:#637c60;color:#fff9ea;text-decoration:none;font-size:13px;min-height:46px}#support-dialog .support-optional{font-size:11px;line-height:1.8;margin:16px 0 10px}#support-dialog>small:last-child{font-size:9px;line-height:1.8;display:block;color:#71816b}@media(max-width:650px){#support{min-height:32px;padding:7px 10px}#support-dialog{padding:18px 14px}#support-dialog h2{font-size:20px}#support-copy{font-size:12px;line-height:1.8}#support-dialog img{margin-bottom:12px}}

#bridge-music-hint{position:absolute;left:15%;right:15%;bottom:190px;padding:9px 12px;border-radius:18px;background:#fff4dcdd;color:#425746;text-align:center;font-size:11px;pointer-events:none}#bridge-music-hint[hidden]{display:none}@media(max-height:400px){#bridge-music-hint{bottom:120px;left:25%;right:10%;font-size:10px}}

/* Mobile browser chrome and cut-outs: preserve the game and official video. */
html,body{overscroll-behavior:none}button,summary,select,a{touch-action:manipulation}.object-tag:active{transform:translate(-50%,-100%) scale(.98)}
.move-control{left:max(16px,calc(env(safe-area-inset-left) + 12px));bottom:max(28px,calc(env(safe-area-inset-bottom) + 16px))}
.right-controls{right:max(16px,calc(env(safe-area-inset-right) + 12px));bottom:max(22px,calc(env(safe-area-inset-bottom) + 12px))}
@media(max-width:650px) and (orientation:portrait){
 header{padding-top:max(12px,calc(env(safe-area-inset-top) + 8px))}
 body.youtube-mode.youtube-compact #radio-dialog{height:calc(216px + env(safe-area-inset-top));padding-top:calc(8px + env(safe-area-inset-top))}
 body.youtube-mode.youtube-compact.radio-open #world{top:calc(216px + env(safe-area-inset-top))}
}
@media(orientation:landscape) and (max-height:500px){
 body.youtube-mode.youtube-compact #radio-dialog{width:calc(216px + env(safe-area-inset-right));padding-right:calc(8px + env(safe-area-inset-right))}
 body.youtube-mode.youtube-compact.radio-open #world{right:calc(216px + env(safe-area-inset-right))}
}
.quiet-links{display:flex;align-items:center;gap:5px;flex-wrap:wrap;max-width:220px}#copy-link{margin-top:4px;background:#f6eddbbb;color:#405b4d;border:1px solid #fff3d6;border-radius:18px;padding:8px 12px;min-height:36px;font-size:10px}#share-status{position:fixed;z-index:20;transform:translateX(-50%);padding:12px 16px;border-radius:18px;background:#f7efdc;color:#405449;border:1px solid #fff9e8;box-shadow:0 5px 25px #1c3c3822;font-size:12px;text-align:center;pointer-events:none}#share-status[hidden]{display:none}#copy-manual{max-width:calc(100vw - 32px);width:350px;padding:22px;border:1px solid #fff9;border-radius:22px;background:#f7efdc;color:#405449}#copy-manual input{display:block;width:100%;padding:12px;font-size:16px;border:1px solid #bdcbb5;border-radius:10px}#copy-manual button{margin-top:16px;padding:12px 24px;border-radius:18px;background:#dbe7d3;color:#405449;border:0}#copy-manual::backdrop{background:#243f3926}@media(max-width:650px){#copy-link{min-height:32px;padding:7px 10px}}
