:root{font-family:"Apple SD Gothic Neo","Malgun Gothic",system-ui,sans-serif;color:#314537;font-synthesis:none;--green:#365a43;--paper:#f8f6ee;--muted:#899381}*{box-sizing:border-box}body{margin:0;overflow:hidden;background:#dce2c9}button,a,input,select{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer}button:disabled{cursor:wait;opacity:.5}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #a6a858;outline-offset:3px}button{border:0;background:none}#app,#world,.vignette{position:absolute;inset:0;width:100%;height:100%}#world{touch-action:none;display:block}.vignette{pointer-events:none;background:linear-gradient(180deg,#f5f2e8dd 0,transparent 26%,transparent 80%,#f5f2e858 100%)}header{position:absolute;top:28px;left:35px;right:35px;display:flex;align-items:center;gap:20px}.brand{display:flex;align-items:center;gap:12px;font-size:30px;font-weight:850;letter-spacing:-2px;text-decoration:none;color:#314d37}.brand-symbol{font-size:40px;font-weight:400;line-height:1}.brand-en{font-size:9px;letter-spacing:2px;font-weight:600;max-width:105px;line-height:1.7;margin-left:9px}.presence{margin-left:auto;display:flex;align-items:center;gap:10px;font-size:11px;background:#faf8efcc;border:1px solid #ffffff9a;border-radius:30px;padding:13px 18px;backdrop-filter:blur(16px)}.presence i{width:6px;height:6px;background:#a7a797;border-radius:50%}.presence i.online{background:#769453}.divider{width:1px;height:12px;background:#c9cebf;margin:0 4px}.icon-button{width:33px;height:33px;border:1px solid #819078;border-radius:50%;font-size:16px}.intro{position:absolute;left:44px;top:130px;pointer-events:none}.eyebrow{font-size:9px;letter-spacing:2.2px;font-weight:650;color:#7c896d}.intro h1{font-size:35px;font-weight:500;line-height:1.48;letter-spacing:-1.7px;margin:14px 0 13px}.intro p{font-size:12px;color:#7a856e;letter-spacing:-.2px}.places{position:absolute;left:44px;top:350px;width:193px}.nav-label{font-size:10px;letter-spacing:1px;color:#7a856e;display:block;margin-bottom:10px}.places>button{display:flex;width:100%;align-items:center;padding:14px 0;border-bottom:1px solid #7d8a6c28;font-size:12px;text-align:left;gap:13px}.places button span{font-size:9px;color:#8d987f}.places button i{margin-left:auto;font-style:normal}.places button:hover{color:#a76e49}.nav-foot{font-size:10px;color:#7b896f;margin-top:19px;display:flex;gap:8px;align-items:center}.little-ball{width:9px;height:9px;border-radius:50%;background:#c5cb75}.zone-badge{position:absolute;bottom:109px;left:36px;display:flex;gap:12px;align-items:center;border:1px solid #ffffffbd;background:#f8f6eeda;backdrop-filter:blur(18px);border-radius:16px;padding:13px 15px;min-width:230px}.zone-dot{height:8px;width:8px;background:#b98660;border-radius:50%}.zone-badge strong{font-size:12px;font-weight:600;display:block}.zone-badge small{font-size:10px;color:#90967d;display:block;margin-top:5px}.zone-badge button{margin-left:auto;font-size:23px;color:#7d896e}#labels{pointer-events:none;position:absolute;inset:0;overflow:hidden}.world-label{position:absolute;transform:translate(-50%,-100%);display:flex;flex-direction:column;align-items:center;gap:4px;font-size:9px;font-weight:600;color:#4f624b;white-space:nowrap;text-shadow:0 1px 4px #f5f2e8}.world-label.place-label{font-size:10px;letter-spacing:1px}.world-label .pill{background:#faf8efeb;box-shadow:0 3px 15px #3c4e3010;border-radius:16px;padding:6px 10px;font-size:10px;letter-spacing:0}.bubble{background:#fffdf4;border-radius:13px 13px 13px 2px;padding:8px 11px;max-width:220px;white-space:normal;overflow-wrap:anywhere;font-size:11px;box-shadow:0 4px 12px #0001}.bottom-bar{position:absolute;left:34px;right:34px;bottom:22px;display:flex;align-items:center;justify-content:space-between;gap:10px}.movement-hint{font-size:10px;color:#657453}.movement-hint span{margin:0 7px;opacity:.5}kbd{font:inherit;font-size:9px;letter-spacing:1px;border:1px solid #8b957558;border-radius:4px;padding:4px 6px;margin-right:6px;background:#fff6}.actions{display:flex;align-items:center;background:#f8f6eef0;border:1px solid #fff9;border-radius:50px;padding:6px 10px;box-shadow:0 10px 35px #43532b15;backdrop-filter:blur(16px)}.actions button{font-size:18px;padding:8px 14px;display:flex;align-items:center;gap:7px}.actions button span{font-size:11px}#toast{position:absolute;top:96px;left:50%;transform:translate(-50%,-10px);opacity:0;transition:.25s;border-radius:25px;background:#304f3bea;color:#fffdf2;padding:13px 22px;font-size:12px;pointer-events:none;z-index:12;max-width:90%;text-align:center}#toast.show{opacity:1;transform:translate(-50%,0)}#interaction{position:absolute;bottom:105px;left:50%;transform:translateX(-50%);padding:12px 20px;border-radius:26px;background:#34573fec;color:#fff8e8;font-size:12px;box-shadow:0 8px 25px #34573f2a}#chat-panel{position:absolute;right:30px;bottom:112px;width:290px;height:357px;background:#faf8f0ed;border:1px solid #fff9;border-radius:20px;padding:20px 18px 14px;display:flex;flex-direction:column;box-shadow:0 12px 60px #41512d15;backdrop-filter:blur(22px)}#chat-panel[hidden]{display:none}.chat-heading{display:flex;justify-content:space-between;align-items:center}.chat-heading h2{font-size:15px;font-weight:600;margin:5px 0 0;letter-spacing:-.4px}.chat-heading button{font-size:22px;color:#839078}.chat-heading .eyebrow{font-size:8px;letter-spacing:2px}.chat-scope{font-size:10px;color:#8a927d;margin:10px 0 12px}#messages{flex:1;min-height:0;overflow:auto;scrollbar-width:thin;scrollbar-color:#ced4bd transparent}.empty-chat{padding:22px 0;color:#949b85;font-size:11px;line-height:1.8}.message{font-size:11px;padding:8px 0;border-bottom:1px solid #dce1cf6b;overflow-wrap:anywhere}.message strong{font-weight:500;font-size:9px;color:#90997d;display:block;margin-bottom:5px}.message.self strong{color:#7c956b}.message p{margin:0;line-height:1.6}.topics{display:flex;gap:5px;margin:8px 0}.topics button{background:#e7eada;border:1px solid #d6ddc7;border-radius:18px;font-size:9px;padding:6px 9px;color:#758363}#chat-form{display:flex;border-bottom:1px solid #b6c0a3;padding:5px 0;gap:4px}#chat-input{min-width:0;flex:1;border:0;background:transparent;color:#465c40;font:inherit;font-size:11px;padding:7px 0;outline-offset:0}#chat-input::placeholder{color:#a0a68f}#chat-form button{width:28px;height:28px;border-radius:50%;background:#496646;color:#fff5e3;font-size:18px}#chat-status{font-size:8px;color:#9ba38d;padding-top:9px}dialog{border:1px solid #fff;background:#faf7ed;color:#344e3b;border-radius:25px;padding:34px;width:min(430px,90vw);box-shadow:0 30px 100px #253c2744}dialog::backdrop{background:#31432b33;backdrop-filter:blur(5px)}#modal-close{position:absolute;top:10px;right:14px;font-size:24px;color:#809174}dialog h2{font-size:25px;letter-spacing:-1px;font-weight:500;margin:8px 0 12px}dialog p{font-size:12px;line-height:1.8;color:#7e8971}dialog .options{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:20px}dialog .options button{background:#e9ecdd;border-radius:14px;padding:17px 12px;font-size:12px;text-align:left}dialog .options button:hover{background:#dce4cc}.swatch{display:inline-block;width:11px;height:11px;border-radius:50%;margin-right:8px}#touch-controls{display:none}#practice-hud{position:absolute;left:50%;bottom:100px;transform:translateX(-50%);background:#faf8f0f0;padding:24px 30px;border-radius:22px;text-align:center;width:320px;box-shadow:0 10px 60px #31452a22}#practice-hud h2{font-size:20px;font-weight:500;margin:8px 0}#practice-hud p{font-size:12px;color:#879174}#practice-hud select{font:inherit;font-size:11px;border:1px solid #d0d9be;background:#eff1e3;color:#516044;border-radius:8px;padding:6px}#timing-track{height:8px;border-radius:10px;background:#e2e5d4;position:relative;margin:22px 0}#timing-track i{position:absolute;left:64%;width:25%;background:#aabb7e;height:100%;border-radius:8px}#timing-ball{position:absolute;width:14px;height:14px;border-radius:50%;background:#b8c95c;top:-3px}#hit{display:block;background:#3d6147;color:#faf5e5;border-radius:25px;width:100%;padding:12px;font-size:14px}#hit kbd{margin-left:8px;border-color:#fffa;font-size:8px;background:transparent}#end-practice{font-size:10px;color:#909d7f;margin-top:12px}[hidden]{display:none!important}#loading{position:absolute;inset:0;background:#f5f2e8;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:18px;z-index:100;transition:opacity .6s}#loading strong{font-size:15px;font-weight:500}#loading small{font-size:10px;color:#929b82}.loading-ball{width:25px;height:25px;border:1px solid #bbc780;border-radius:50%;background:#d8df9d;animation:bounce 1s infinite alternate}@keyframes bounce{to{transform:translateY(-10px)}}@media(max-width:1050px){.intro h1{font-size:28px}.places{top:325px;width:160px}.intro{top:125px}.brand-en{display:none}.movement-hint{font-size:9px}.actions button{padding:8px 10px}#chat-panel{width:265px;right:20px}.places{left:28px}.intro{left:28px}}@media(max-height:700px){.intro{top:100px}.intro h1{font-size:24px;line-height:1.3}.intro p{display:none}.places{top:220px}.places>button{padding:10px 0}#chat-panel{height:300px}.zone-badge{bottom:90px}.intro .eyebrow{font-size:8px}}@media(max-width:700px){header{top:18px;left:20px;right:18px;gap:12px}.brand{font-size:24px;gap:7px}.brand-symbol{font-size:30px}.presence{padding:10px 12px;font-size:9px;gap:6px}.presence .divider,.presence>span:last-child{display:none}.icon-button{width:27px;height:27px;font-size:13px}.intro{top:91px;left:23px}.intro h1{font-size:25px;margin-top:8px;line-height:1.4}.intro p{display:none}.intro .eyebrow{font-size:7px;letter-spacing:1.4px}.places{top:auto;bottom:147px;left:18px;width:130px}.places .nav-label,.nav-foot{display:none}.places>button{font-size:10px;padding:10px 8px;background:#f9f6ecdd;border-radius:9px;border:0;margin:4px 0;gap:7px}.places button i{font-size:10px}.zone-badge{left:19px;bottom:94px;min-width:0;padding:10px 12px;border-radius:13px}.zone-badge small{display:none}.zone-badge strong{font-size:10px}.zone-badge button{font-size:17px}.zone-dot{width:6px;height:6px}.bottom-bar{bottom:18px;left:16px;right:16px;justify-content:center}.movement-hint{display:none}.actions{padding:5px 8px}.actions button{padding:9px 12px;gap:5px;font-size:16px}.actions button span{font-size:10px}#chat-panel{right:15px;bottom:147px;width:min(275px,calc(100vw - 36px));height:320px;z-index:5}#touch-controls{position:absolute;right:20px;bottom:88px;display:flex;align-items:center;flex-direction:column;gap:4px}#touch-controls div{display:flex;gap:4px}#touch-controls button{width:34px;height:30px;background:#faf8f0d9;border-radius:9px;touch-action:none}#interaction{bottom:104px;max-width:48%;font-size:10px;padding:10px 13px}#practice-hud{bottom:145px;width:280px;padding:20px}#toast{top:65px;font-size:10px;padding:11px 17px}.world-label.place-label{font-size:8px}.world-label .pill{font-size:8px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

.facility-tools{display:flex;flex-wrap:wrap;gap:5px;margin-top:12px}.facility-tools button{padding:7px 9px;border:1px solid #bac8a7;border-radius:12px;background:#f8f6e9e8;font-size:10px;color:#586d49}@media(max-width:700px){.facility-tools{gap:3px;margin-top:5px}.facility-tools button{font-size:9px;padding:5px 7px}}

.intro{transition:opacity .45s}body.exploring .intro{opacity:0}

/* Practice follows the machine's projected position in the 3D scene. */
#practice-hud{left:0;top:0;right:auto;bottom:auto;transform:none;width:260px;padding:16px 18px;border-radius:19px;text-align:left;z-index:6;max-height:calc(100dvh - 164px);overflow:auto;will-change:transform}
.practice-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}.practice-top strong{font-size:12px;font-weight:600}.practice-top>div{display:flex;align-items:center;gap:5px}#practice-fold{font-size:10px;padding:7px 8px;border-radius:9px;background:#e6eadb}#practice-close{font-size:24px;line-height:1;width:34px;height:34px;border-radius:50%;background:#e7ebde;color:#466044}#practice-close:hover{background:#d6dfca}
#practice-hud h2{font-size:17px}#practice-hud .eyebrow{font-size:7px;letter-spacing:1px}#practice-hud p{margin:10px 0 0;font-size:11px}#practice-hud select{padding:7px 5px}#practice-hud #timing-track{margin:16px 0}#practice-hud #hit{text-align:center}#practice-hud #end-practice{display:block;text-align:center;width:100%;padding:7px;margin-top:5px;font-size:10px}#practice-hud.collapsed .practice-details{display:none}#practice-hud.collapsed{width:240px}.practicing .places,.practicing .zone-badge,.practicing .movement-hint,.practicing #touch-controls{display:none!important}
@media(max-width:700px){#practice-hud,#practice-hud.collapsed{width:206px;padding:12px 14px;border-radius:16px}.practice-top{margin-bottom:5px}.practice-top strong{font-size:11px}#practice-close{width:32px;height:32px}#practice-hud #hit{padding:11px}#practice-hud #end-practice{padding:5px}.practicing .actions button:not(#chat-toggle):not(#sound){display:none}}

#practice-hud #practice-input-hint{font-size:10px;line-height:1.5;color:#78866b;margin:9px 0}#hit .touch-hit-label{font-size:10px;margin-left:7px;opacity:.8}.touch-ui #hit{min-height:46px;touch-action:manipulation}.touch-ui #practice-close{min-width:40px;min-height:40px}

/* Keep the expanded club controls usable on narrow screens. */
@media(max-width:700px){.actions button{padding:9px 8px;gap:3px}.actions button span{font-size:9px}.actions{padding:5px 6px}.places{width:142px}.places>button{padding:8px}.places{bottom:147px}.places .facility-tools button{font-size:9px}#jump{touch-action:manipulation}}

/* Mobile game controls float above the scene, with room between both thumbs. */
.touch-ui #touch-controls{position:fixed;left:max(16px,env(safe-area-inset-left));right:auto;bottom:calc(22px + env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(3,46px);grid-template-rows:repeat(3,46px);gap:3px;padding:5px;border-radius:32px;background:#f8f6ee80;border:1px solid #ffffffa8;box-shadow:0 8px 30px #334b2920;backdrop-filter:blur(12px);z-index:8;touch-action:none;user-select:none;-webkit-user-select:none}
.touch-ui #touch-controls button{width:46px;height:46px;border-radius:16px;background:#faf8eff0;border:1px solid #fff;color:#426049;font-size:27px;box-shadow:0 3px 8px #344a2520;touch-action:none}
.touch-ui #touch-controls button[aria-pressed=true]{background:#42644c;color:#fff8e8;transform:scale(.94);box-shadow:inset 0 2px 6px #203b3c40}
#touch-controls [data-key=w]{grid-area:1/2}#touch-controls [data-key=a]{grid-area:2/1}#touch-controls [data-key=d]{grid-area:2/3}#touch-controls [data-key=s]{grid-area:3/2}
.dpad-center{grid-area:2/2;display:grid;place-items:center;font-size:25px;color:#788c69;pointer-events:none}.touch-move-label{position:absolute;bottom:calc(100% + 7px);left:0;right:0;text-align:center;font-size:10px;color:#526749;text-shadow:0 1px 4px #fff}
.touch-ui .bottom-bar{position:fixed;left:auto;right:max(16px,env(safe-area-inset-right));bottom:calc(22px + env(safe-area-inset-bottom));z-index:8;display:block}
.touch-ui .movement-hint{display:none}.touch-ui .actions{display:grid;grid-template-columns:repeat(2,58px);grid-template-rows:repeat(3,46px);gap:5px;padding:7px;border-radius:25px;background:#f8f6eeb8}
.touch-ui .actions button{display:flex;flex-direction:column;justify-content:center;gap:2px;padding:3px;min-width:46px;min-height:46px;border-radius:16px;font-size:21px;touch-action:manipulation;user-select:none;-webkit-user-select:none;background:#fff9}
.touch-ui .actions button span{font-size:10px}.touch-ui .actions button:active{background:#d5dfc9;transform:scale(.96)}
.touch-ui #sit{grid-area:1/1}.touch-ui #jump{grid-area:1/2;background:#42644c;color:#fff8e8}.touch-ui #wave{grid-area:2/1}.touch-ui #drink{grid-area:2/2}.touch-ui #sound{grid-area:3/1}.touch-ui #chat-toggle{grid-area:3/2}
.touch-ui #interaction{bottom:calc(200px + env(safe-area-inset-bottom));max-width:calc(100vw - 32px);min-height:46px;font-size:12px;z-index:7;touch-action:manipulation}
.touch-ui .places{bottom:calc(252px + env(safe-area-inset-bottom));top:auto}.touch-ui .zone-badge{bottom:calc(202px + env(safe-area-inset-bottom));min-width:0}
.touch-ui #chat-panel{bottom:calc(204px + env(safe-area-inset-bottom));max-height:calc(100dvh - 285px)}
.touch-ui.practicing .actions{display:flex}.touch-ui.practicing .actions button:not(#chat-toggle):not(#sound){display:none}
.touch-ui:has(#chat-input:focus) #touch-controls,.touch-ui:has(#chat-input:focus) .bottom-bar,.touch-ui:has(#chat-input:focus) #interaction{visibility:hidden}
.touch-ui:has(#chat-input:focus) #chat-panel{bottom:12px;max-height:calc(100dvh - 90px)}
@media(max-width:360px){.touch-ui #touch-controls{left:10px;grid-template-columns:repeat(3,44px);grid-template-rows:repeat(3,44px);padding:3px;gap:2px}.touch-ui #touch-controls button{width:44px;height:44px}.touch-ui .bottom-bar{right:10px}.touch-ui .actions{grid-template-columns:repeat(2,52px);padding:5px}}
@media(max-height:520px){.touch-ui .intro,.touch-ui .zone-badge{display:none}.touch-ui .places{left:18px;right:18px;top:70px;bottom:auto;width:auto;display:flex;gap:5px;overflow-x:auto}.touch-ui .places>button{flex-shrink:0;width:auto;padding:8px 12px;white-space:nowrap;background:#faf8efd9;border-radius:10px}.touch-ui .places .nav-label,.touch-ui .places .nav-foot,.touch-ui .places .facility-tools{display:none}.touch-ui #touch-controls,.touch-ui .bottom-bar{bottom:calc(12px + env(safe-area-inset-bottom))}.touch-ui #interaction{bottom:calc(180px + env(safe-area-inset-bottom))}}

/* Camera recovery and local atmosphere previews. */
.view-tools{position:fixed;top:86px;right:34px;display:flex;align-items:stretch;gap:8px;z-index:9}
#focus-self,.time-control{border:1px solid #ffffffa0;border-radius:15px;background:#f8f6eedd;box-shadow:0 5px 24px #344b2512;backdrop-filter:blur(14px);color:#3d5743}
#focus-self{display:flex;align-items:center;gap:7px;padding:11px 14px;font-size:19px;touch-action:manipulation}#focus-self span{font-size:11px;white-space:nowrap}
.time-control{padding:7px 11px;display:flex;flex-direction:column;gap:3px;min-width:150px}.time-control select{border:0;background:transparent;font:inherit;font-size:11px;color:#3d5743;cursor:pointer;min-height:23px}.time-control small{font-size:9px;color:#78876b;padding-left:3px}
.vignette{background:linear-gradient(180deg,var(--sky-vignette,#f5f2e8dd),transparent 28%,transparent 80%,var(--ground-vignette,#f5f2e858))}
body.night .brand,body.night .intro h1{color:#f4ecd8}body.night .intro .eyebrow,body.night .intro p,body.night .movement-hint,body.night .nav-label,body.night .nav-foot,body.night .touch-move-label{color:#d3ddcd;text-shadow:0 1px 4px #102231}
body.night .places>button{background:#142937c9;color:#f3ead6;border-radius:10px;padding-left:8px;padding-right:8px}body.night .places>button span{color:#c2d1ba}body.night header>.icon-button{color:#f5ead2;border-color:#c1cfb5}body.night .world-label{text-shadow:none}
@media(max-width:700px){.view-tools{top:73px;right:18px;left:18px;justify-content:flex-end}.view-tools #focus-self{padding:10px 12px;min-height:44px}.time-control{min-width:148px;padding:5px 9px}.view-tools #focus-self span{font-size:10px}.intro{top:142px}#toast{top:132px}}
@media(max-height:520px){.touch-ui .view-tools{top:12px;left:auto;right:140px}.touch-ui .time-control small{display:none}.touch-ui .time-control{min-width:130px;justify-content:center}.touch-ui .view-tools #focus-self{min-height:38px;padding:7px 10px}.touch-ui .view-tools #focus-self span{font-size:9px}.touch-ui .view-tools{gap:5px}}
@media(max-height:520px){.touch-ui .view-tools{top:116px;right:18px}.touch-ui #toast{top:14px;max-width:40%}}

/* A short practice round, local progress and cosmetic rewards. */
#progress-open{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:2px;min-width:56px;min-height:46px;padding:6px 8px;border:1px solid #ffffffa0;border-radius:15px;background:#f8f6eedd;color:#486047;font-size:19px;backdrop-filter:blur(14px);touch-action:manipulation}#progress-open span{font-size:9px;white-space:nowrap}
#practice-hud #target-hint{font-weight:650;font-size:11px;color:#50653d;margin:9px 0 7px}
#aim-controls{display:grid;grid-template-columns:repeat(3,1fr);gap:4px}#aim-controls button{min-height:38px;border-radius:10px;background:#e7ebdc;color:#526749;font-size:10px;padding:6px 2px;touch-action:manipulation}#aim-controls button[aria-pressed=true]{background:#496b4c;color:#fff9e9}#aim-controls button:disabled{opacity:.7;cursor:default}
#modal{max-height:calc(100dvh - 36px);overflow-y:auto}#modal .options button{min-height:46px}
.result-metrics{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin:14px 0}.result-metrics>div{padding:13px 10px;border-radius:15px;background:#e8eddd;display:flex;flex-direction:column;gap:5px}.result-metrics strong{font-size:25px;font-weight:600;color:#3f6244}.result-metrics span{font-size:10px;color:#82916e}.result-best,.result-reward{padding:9px 12px;border-radius:10px;background:#e6edd4;color:#48653f!important;margin:7px 0!important}
.storage-note{display:block;font-size:10px;line-height:1.7;color:#849076;margin:12px 0}.progress-content{margin:14px 0}.progress-content h3{font-size:15px;font-weight:600;margin:18px 0 10px}.challenge-card{background:#edf0e2;border:1px solid #d9e1ca;border-radius:14px;padding:12px;margin:8px 0}.challenge-card strong{font-size:12px}.challenge-card p{margin:5px 0;font-size:11px!important}.challenge-card small{display:block;font-size:10px;color:#758465}.challenge-card progress{width:100%;height:6px;margin-top:8px;accent-color:#71945c}.record-line{padding:8px 0;border-bottom:1px solid #d8dfcb;font-size:11px!important;line-height:1.6}
.wardrobe-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:18px 0}.wardrobe-item{border:1px solid #c9d4ba;border-radius:17px;padding:14px 10px;background:#eef1e5;display:flex;flex-direction:column;align-items:center;gap:9px;min-height:148px}.wardrobe-item strong{font-size:12px;font-weight:600}.wardrobe-item small{font-size:10px;line-height:1.6;color:#7e8c70}.wardrobe-item:disabled{opacity:.65;cursor:default}.wardrobe-swatch{display:grid;place-items:center;width:58px;height:58px;border-radius:18px;color:#fff5dc;font-size:32px;border:1px solid #fff9}
.touch-ui #aim-controls button{min-height:44px}.touch-ui #progress-open{min-width:48px;min-height:44px}.touch-ui .view-tools{gap:5px}
@media(max-width:360px){.view-tools #focus-self{padding:8px}.time-control{min-width:132px;padding:5px 6px}#progress-open{min-width:44px;padding:4px}.touch-ui #progress-open{min-width:44px}}
@media(max-height:520px){.touch-ui .view-tools{top:116px;right:18px}.touch-ui #progress-open{min-height:38px}.touch-ui #practice-hud{max-height:calc(100dvh - 150px)}.touch-ui.practicing .view-tools{top:12px;right:62px}.touch-ui.practicing .presence{display:none}}
#practice-actions{display:grid;gap:8px}.touch-ui #practice-actions{display:none}.touch-ui.practicing #practice-actions{display:grid;position:fixed;left:max(16px,env(safe-area-inset-left));bottom:calc(22px + env(safe-area-inset-bottom));width:min(210px,calc(100vw - 160px));padding:10px;border:1px solid #ffffffac;border-radius:20px;background:#f8f6eee8;box-shadow:0 8px 30px #334b2920;backdrop-filter:blur(14px);z-index:8}.touch-ui #practice-actions #hit{min-height:48px;font-size:13px}.touch-ui #practice-actions #aim-controls button{font-size:9px;min-width:0;padding:5px 1px}
@media(max-width:700px){.touch-ui #practice-hud,.touch-ui #practice-hud.collapsed{width:160px;padding:10px}.touch-ui #practice-hud .practice-top{gap:3px}.touch-ui #practice-hud .practice-top strong{font-size:10px;max-width:42px}.touch-ui #practice-hud .practice-top>div{gap:2px}.touch-ui #practice-fold{font-size:9px;padding:6px 4px}.touch-ui #practice-hud #practice-input-hint{display:none}.touch-ui #practice-hud #target-hint{font-size:10px}.touch-ui #practice-hud #practice-count{font-size:10px;line-height:1.5}.touch-ui #practice-hud #timing-track{margin:14px 0}}
@media(max-height:520px){.touch-ui.practicing #practice-actions{bottom:calc(12px + env(safe-area-inset-bottom))}}

/* A try-on stage is separate from the shared avatar until the visitor applies it. */
.wardrobe-stage{position:relative;background:#e9e5d6;border-radius:22px;overflow:hidden;margin:18px 0}.wardrobe-stage canvas{display:block;width:100%;height:230px}.preview-caption{display:block;text-align:center;font-size:13px;padding:0 12px 10px;color:#526951}.preview-rotation{display:flex;justify-content:center;gap:8px;padding:0 12px 10px}.preview-rotation button{min-height:44px;border:1px solid #c4cbb5;border-radius:14px;padding:8px 14px;background:#f6f4e9;color:#3f5c48}.preview-apply{display:block;width:calc(100% - 32px);margin:0 16px 16px;min-height:44px;border:0;border-radius:14px;padding:12px;background:#3c644c;color:white}.preview-apply:disabled{background:#cbd1bc;color:#586a50}.wardrobe-item[aria-pressed=true]{outline:2px solid #456b51;outline-offset:-2px}.sound-volume{display:flex;align-items:center;gap:6px;font-size:11px;color:#53684d}.sound-volume input{width:65px;accent-color:#4c7053;min-height:44px}.sound-volume:has(~#sound[aria-pressed=false]){display:none}@media(max-width:700px),(pointer:coarse){.sound-volume{position:fixed;right:16px;bottom:calc(126px + env(safe-area-inset-bottom));background:#f5f2e8ed;padding:0 10px;border-radius:15px}.wardrobe-stage canvas{height:200px}}@media(max-height:500px){.wardrobe-stage canvas{height:150px}}

/* Five calm O/X questions per visit to the club's knowledge board. */
.quiz-emblem{font-size:48px;font-weight:700;letter-spacing:8px;text-align:center;color:#54734d;padding:12px}.quiz-intro>p{font-size:12px;line-height:1.8}.quiz-stat-row{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:12px 0}.quiz-stat-row>div{display:flex;flex-direction:column;align-items:center;gap:6px;background:#e9eddf;border-radius:14px;padding:14px 4px}.quiz-stat-row strong{font-size:20px;color:#416143}.quiz-stat-row small{font-size:10px;color:#78876d}.quiz-steps{display:flex;gap:7px;margin:14px 0}.quiz-steps span{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;font-size:11px;background:#e6e9dc;color:#8a957d}.quiz-steps .current{background:#49694e;color:#fff}.quiz-steps .correct{background:#cad9bc;color:#35573c}.quiz-steps .incorrect{background:#ead6c4;color:#865c46}.quiz-statement{font-size:21px;line-height:1.65;font-weight:600;letter-spacing:-.5px;margin:16px 0;word-break:keep-all}.quiz-answers{display:grid;grid-template-columns:1fr 1fr;gap:12px}.quiz-answer{min-height:100px;border:1px solid #c5d1b5;border-radius:22px;background:#eef1e4;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:#45654c;touch-action:manipulation}.quiz-answer strong{font-size:38px;line-height:1.1}.quiz-answer span{font-size:12px}.quiz-answer:disabled{opacity:1;cursor:default}.quiz-answer.correct{background:#d4e1c6;border:2px solid #62845d}.quiz-answer.incorrect{background:#f0e0d3;border:2px solid #b48065;color:#945f47}.quiz-answer[aria-pressed=true]{box-shadow:inset 0 0 0 3px #fff9}.quiz-feedback{min-height:82px;padding:14px 0;font-size:12px;line-height:1.8}.quiz-feedback strong{display:block;color:#486a43}.quiz-feedback.incorrect strong{color:#9a674b}.quiz-feedback p{margin:4px 0!important;font-size:12px!important}.quiz-source{display:inline-block;font-size:11px;color:#637951;text-underline-offset:3px;min-height:30px;line-height:2.5}.quiz-next{width:100%;min-height:48px;padding:12px;border-radius:16px;background:#42644b;color:#fff9e8;font-size:14px}.quiz-next:disabled{background:#d9decc;color:#7b886d;cursor:default}.quiz-score{font-size:44px;color:#4e7047;text-align:center;padding:12px;font-weight:650}.quiz-results h3{font-size:15px}.quiz-results>p{font-size:12px;line-height:1.8}.quiz-review{border-top:1px solid #dce1cf;padding:11px 0;font-size:12px;line-height:1.8}.quiz-review summary{cursor:pointer;min-height:36px;list-style-position:inside}.quiz-review p{font-size:12px!important;margin:8px 0!important}.quiz-question+.options:empty{display:none}@media(max-width:700px){.quiz-statement{font-size:19px}.quiz-answer{min-height:88px}.quiz-feedback{min-height:76px}.quiz-stat-row strong{font-size:18px}}@media(max-height:520px){.quiz-statement{font-size:18px;margin:12px 0}.quiz-answer{min-height:74px}}

/* A shared wall of preset paper notes, with no free-text input. */
#modal.bulletin-modal{width:760px;max-width:calc(100vw - 28px)}.bulletin-modal .options:empty{display:none}.board-count{display:block;font-size:12px;color:#718263;margin:14px 0}.bulletin-wall{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:22px 16px;padding:30px 22px;background-color:#baa485;background-image:radial-gradient(#8c765736 .8px,transparent .8px),radial-gradient(#fff5d42e 1px,transparent 1px);background-size:7px 9px,13px 17px;border:9px solid #9a805e;border-radius:14px;box-shadow:inset 0 3px 16px #5a482129;min-height:220px}.sticky-note{position:relative;background:var(--note-color,#f6e6a0);transform:rotate(var(--note-tilt,-2deg));min-height:144px;padding:29px 14px 16px;box-shadow:3px 8px 8px #534a3026,0 1px 2px #534a3018;color:#47553b;overflow-wrap:anywhere}.sticky-note:before{content:"";position:absolute;top:-9px;left:calc(50% - 23px);width:46px;height:22px;background:#fff9df85;transform:rotate(-5deg)}.sticky-note:after{content:"";position:absolute;bottom:0;right:0;border:9px solid transparent;border-right-color:#fff5;border-bottom-color:#fff5}.sticky-note p{font-size:17px!important;line-height:1.6!important;margin:0 0 14px!important;word-break:keep-all}.sticky-note small{display:block;font-size:10px;color:#61714e}.sticky-note time{display:block;margin-top:4px;font-size:9px;color:#6d7758}.sticky-remove{position:absolute;top:3px;right:3px;width:32px;height:32px;font-size:22px;color:#6b7459;z-index:1}.board-composer{position:relative;margin-top:24px;padding:18px;border:1px solid #d6dcc7;border-radius:20px;background:#eef0e5}.board-composer h3{font-size:17px;margin:0 0 8px}.board-composer>p{font-size:12px!important;line-height:1.8}.board-preview{width:210px;min-height:120px;padding:32px 20px 20px;margin:24px auto 26px;font-size:19px;line-height:1.6;font-weight:600}.board-template-groups h4{font-size:12px;font-weight:650;margin:14px 0 8px;color:#718263}.board-template-choices{display:grid;grid-template-columns:1fr 1fr;gap:6px}.board-template-choices button{min-height:44px;padding:10px 12px;background:#faf9f0;border:1px solid #d7ddc9;border-radius:12px;font-size:12px;text-align:left;line-height:1.5}.board-template-choices button[aria-pressed=true]{background:#dce5cf;border-color:#5d7c54;box-shadow:inset 0 0 0 1px #5d7c54}.board-colors{display:flex;justify-content:center;gap:10px;margin:22px 0}.board-colors button{width:44px;height:44px;border:2px solid #fff9;border-radius:50%;box-shadow:0 2px 5px #334b2919}.board-colors button[aria-pressed=true]{outline:2px solid #49664b;outline-offset:3px}.board-post{width:100%;min-height:48px;border-radius:16px;background:#42634b;color:#fff8e8;font-size:14px}.board-status{font-size:12px!important;color:#718263;line-height:1.7;margin-bottom:0!important}@media(min-width:701px) and (min-height:521px){.places{max-height:calc(100dvh - 460px);overflow-y:auto;scrollbar-width:thin}}@media(max-width:700px){.bulletin-wall{grid-template-columns:repeat(2,minmax(0,1fr));padding:24px 12px;gap:22px 12px;border-width:6px}.sticky-note{min-height:140px;padding:27px 11px 13px}.sticky-note p{font-size:15px!important}.board-composer{padding:14px}.board-template-choices{grid-template-columns:1fr}.sticky-remove{width:36px;height:36px}.board-colors{gap:7px}.touch-ui .places{max-height:280px;overflow-y:auto}}@media(max-height:520px){.touch-ui .places{max-height:70px}}
.bulletin-wall{max-height:400px;overflow-y:auto;scrollbar-width:thin}.board-compose-jump{display:block;margin:14px 0 0 auto;min-height:44px;padding:8px 14px;border:1px solid #c9d2bb;border-radius:13px;color:#4f6b48;background:#edf0e2;font-size:12px}.board-category-choices{display:flex;gap:6px;flex-wrap:wrap;margin-top:18px}.board-category-choices button{flex:1;min-height:44px;padding:8px 10px;border:1px solid #cbd4bd;border-radius:12px;background:#faf8ef;font-size:12px;white-space:nowrap}.board-category-choices button[aria-pressed=true]{background:#496a4d;color:#fff9e9;border-color:#496a4d}.bulletin-modal #modal-close{position:sticky;top:0;float:right;margin:-8px -8px -32px 0;z-index:3;background:#f8f6ee;border-radius:50%}.board-composer .board-status{padding:8px 0 0}@media(max-width:700px){.bulletin-wall{max-height:340px}.board-category-choices{gap:4px}.board-category-choices button{padding:8px 6px;font-size:11px}}
#practice-hud #practice-streak{margin:6px 0 0;font-weight:650;font-variant-numeric:tabular-nums}
#practice-streak.on-streak{color:#356548}
#practice-hud #shot-feedback{margin:5px 0 0;min-height:1.4em;line-height:1.4;color:#637359}
#practice-hud #shot-feedback[data-result=success]{color:#356548}
#practice-hud #shot-feedback[data-result=miss]{color:#8a553c}
.brand-ball{width:38px;height:38px;flex:none;filter:drop-shadow(0 2px 2px #334b2533)}
#rally-hud{position:fixed;z-index:9;left:50%;top:92px;transform:translateX(-50%);padding:12px 16px;border-radius:18px;background:#f8f6eef2;color:#34533e;box-shadow:0 8px 28px #334b252a;text-align:center;min-width:190px}
#rally-hud strong,#rally-count{display:block}#rally-count{margin:6px 0;font-size:13px}
#rally-hud button{min-height:36px;padding:6px 9px;border:1px solid #d0d9c3;border-radius:10px;font-size:12px;margin:2px}
body.rallying #touch-controls{display:none}
@media(max-width:700px){.brand-ball{width:31px;height:31px}#rally-hud{top:auto;bottom:18px;left:14px;transform:none;min-width:0;max-width:calc(100vw - 165px)}}
@media(min-width:701px) and (min-height:521px){.places{max-height:calc(100dvh - 550px)}}

/* Walking view gives the scene the full screen; destinations open on demand. */
#places-toggle,#fullscreen,#world-overview{border:1px solid #ffffffa0;border-radius:15px;background:#f8f6eedd;color:#3d5743;backdrop-filter:blur(14px);padding:10px 13px;min-height:44px;font-size:19px;touch-action:manipulation}
#places-toggle span{font-size:11px;white-space:nowrap}body .places{display:none}body.places-open .places{display:block;top:150px;bottom:130px;max-height:none;width:200px;padding:12px 16px;border-radius:20px;background:#f8f6eef0;backdrop-filter:blur(16px);overflow:auto;z-index:10}body .intro{display:none}body .vignette{background:linear-gradient(180deg,#f5f2e833,transparent 18%,transparent 90%,#f5f2e822)}
@media(max-width:700px){.view-tools{flex-wrap:wrap;left:auto;max-width:calc(100vw - 32px)}#places-toggle{padding:8px 10px}#fullscreen{padding:8px;min-width:40px}.view-tools #focus-self span{display:none}.view-tools #focus-self{padding:8px 12px}.time-control{min-width:140px}body.places-open .places{left:16px;right:auto;top:183px;bottom:250px;max-height:none;width:194px}.touch-ui .zone-badge{max-width:160px}.touch-ui #interaction{max-width:calc(100vw - 190px);left:auto;right:16px;transform:none;font-size:11px}}
@media(max-height:520px){.touch-ui .view-tools{top:70px;right:18px;left:auto;max-width:calc(100vw - 36px);flex-wrap:nowrap}.touch-ui .time-control{min-width:130px}.touch-ui.places-open .places{display:block;top:124px;bottom:24px;left:18px;right:auto;width:200px;max-height:none}.touch-ui.places-open .places>button{width:100%}.touch-ui.practicing .view-tools{top:12px;right:62px}.touch-ui #interaction{max-width:40%;bottom:180px}}

body:not(.places-open) .places{display:none!important}

.speed-control{display:flex;flex-direction:column;justify-content:center;gap:3px;border:1px solid #ffffffa0;border-radius:15px;background:#f8f6eedd;color:#3d5743;backdrop-filter:blur(14px);padding:6px 10px;min-width:90px;min-height:44px}.speed-control>span{font-size:9px;color:#78876b}.speed-control select{font:inherit;font-size:11px;color:#3d5743;background:transparent;border:0;min-height:24px;cursor:pointer}.view-tools{max-width:calc(100vw - 36px);flex-wrap:wrap;justify-content:flex-end}
@media(max-width:700px){.speed-control{min-width:88px;padding:5px 8px}.speed-control select{font-size:11px}.view-tools{top:73px}.touch-ui.places-open .places{top:205px}}
@media(max-height:520px){.touch-ui .view-tools{flex-wrap:wrap;max-width:calc(100vw - 170px)}.speed-control>span{display:none}.speed-control{min-height:38px}.touch-ui.places-open .places{top:124px}}

/* Small, closed-by-default controls keep the world visible on phones and PCs. */
header{top:18px;left:22px;right:auto;gap:14px;z-index:11}.brand{font-size:27px;gap:8px}.brand-ball{width:31px;height:31px}.brand-en{display:none}.presence{padding:8px 11px;font-size:10px;gap:6px;min-width:0}.presence .divider,.presence>span:last-child{display:none}.presence i{width:5px;height:5px}
.view-tools,.touch-ui .view-tools{position:fixed;top:16px;right:20px;left:auto;gap:6px;display:flex;flex-wrap:nowrap;max-width:none;z-index:13;align-items:center}
.view-tools>#places-toggle,.view-tools>#focus-self,.view-tools>#settings-toggle{display:grid;place-items:center;width:40px;height:40px;min-height:40px;padding:0;border:1px solid #ffffffa8;border-radius:13px;background:#f8f6eedb;backdrop-filter:blur(12px);color:#3d5743;font-size:21px}.view-tools>#places-toggle span,.view-tools>#focus-self span{display:none}.view-tools>#places-toggle[aria-expanded=true],.view-tools>#settings-toggle[aria-expanded=true]{background:#42644c;color:#fff9e9}
.view-settings{position:fixed;top:66px;right:20px;width:252px;max-height:calc(100dvh - 90px);overflow-y:auto;padding:14px;display:grid;grid-template-columns:1fr 1fr;gap:9px;border-radius:20px;border:1px solid #fff9;background:#f8f6eef5;backdrop-filter:blur(18px);box-shadow:0 8px 35px #233b2825}.panel-heading{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;font-size:12px;font-weight:600;padding-bottom:6px}.panel-heading button{display:grid;place-items:center;min-width:34px;height:34px;border-radius:10px;background:#e5eadc;font-size:22px}.view-settings .speed-control,.view-settings .time-control{grid-column:1/-1;min-width:0;min-height:44px}.view-settings #help-button,.view-settings #world-overview,.view-settings #fullscreen,.view-settings #progress-open{width:auto;min-width:0;min-height:40px;height:auto;margin:0}.view-settings #help-button{border:1px solid #d3ddc6;border-radius:14px}.view-settings #progress-open span{display:block;font-size:9px}.view-settings .time-control small{display:block;font-size:9px}
#menu-backdrop{position:fixed;inset:0;z-index:10;background:#162b2015;cursor:default;touch-action:none}
body.places-open .places,body.touch-ui.places-open .places{position:fixed;top:66px;left:20px;right:auto;bottom:100px;width:214px;max-height:calc(100dvh - 166px);display:block;padding:12px 14px;z-index:12;background:#f8f6eef5;box-shadow:0 8px 35px #233b2825;backdrop-filter:blur(18px);border:1px solid #fff9;overflow-y:auto}.places .nav-label,.places .nav-foot{display:none}.places>button,body.night .places>button{font-size:11px;padding:10px 5px;margin:2px 0;min-height:38px;border-radius:10px}.places .facility-tools button{min-height:38px}.places .panel-heading{position:sticky;top:-12px;background:#f8f6ee;z-index:1}.places .panel-heading button{padding:0}
body .bottom-bar,body.touch-ui .bottom-bar{position:fixed;left:auto;right:20px;bottom:18px;z-index:8}body .movement-hint{display:none}body .actions{position:relative;display:flex;gap:4px;padding:5px;border-radius:18px;background:#f8f6eeb8}body .actions>button,body .actions #extra-actions>button{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:1px;min-width:38px;width:38px;min-height:38px;height:38px;padding:2px;border-radius:12px;font-size:18px;background:#fff9;touch-action:manipulation}body .actions button span{font-size:8px}#actions-toggle{font-size:24px!important}#extra-actions{position:absolute;right:0;bottom:calc(100% + 8px);display:flex;align-items:center;gap:5px;border-radius:16px;padding:8px;background:#f8f6eef2;border:1px solid #fff9;box-shadow:0 5px 22px #29452d20;backdrop-filter:blur(12px)}#extra-actions .sound-volume{display:flex;width:76px;flex-direction:column;gap:5px;font-size:9px}#extra-actions .sound-volume input{width:76px}.zone-badge{left:22px;bottom:18px;min-width:0;padding:9px 12px;gap:9px;border-radius:14px}.zone-badge small{display:none}.zone-badge strong{font-size:10px}.zone-badge button{font-size:17px}.zone-dot{width:6px;height:6px}#toast{top:72px;font-size:11px;max-width:70%;pointer-events:none}.world-label .pill{font-size:10px;padding:6px 9px}
body.touch-ui #touch-controls{left:max(12px,env(safe-area-inset-left));bottom:calc(12px + env(safe-area-inset-bottom));grid-template-columns:repeat(3,36px);grid-template-rows:repeat(3,36px);gap:2px;padding:4px;border-radius:25px;background:#f8f6ee70}body.touch-ui #touch-controls button{width:36px;height:36px;border-radius:12px;font-size:22px}.dpad-center{font-size:18px}.touch-move-label{display:none}
body.touch-ui .bottom-bar{right:max(12px,env(safe-area-inset-right));bottom:calc(12px + env(safe-area-inset-bottom))}body.touch-ui .actions{display:grid;grid-template-columns:repeat(2,38px);grid-auto-rows:38px;grid-template-rows:none;gap:4px;padding:5px;border-radius:18px}body.touch-ui .actions>button{grid-area:auto!important}body.touch-ui #jump{background:#42644c;color:#fff8e8}body.touch-ui #interaction{right:12px;left:auto;transform:none;bottom:calc(152px + env(safe-area-inset-bottom));max-width:60vw;min-height:36px;padding:8px 12px;font-size:10px}body.touch-ui .zone-badge{left:12px;bottom:calc(148px + env(safe-area-inset-bottom));padding:7px 9px;max-width:125px}body.touch-ui #chat-panel{bottom:calc(152px + env(safe-area-inset-bottom));max-height:calc(100dvh - 230px)}
body.touch-ui.practicing .actions{display:flex}body.touch-ui.practicing .actions>#chat-toggle,body.touch-ui.practicing .actions>#actions-toggle{display:flex!important}body.touch-ui.practicing #practice-actions{bottom:calc(12px + env(safe-area-inset-bottom))}
@media(max-width:700px){header{top:12px;left:12px;gap:8px}.brand{font-size:21px;gap:5px}.brand-ball{width:25px;height:25px}.presence{padding:6px 8px;font-size:9px;gap:4px}.view-tools,.touch-ui .view-tools{top:10px;right:12px;gap:4px}.view-tools>#places-toggle,.view-tools>#focus-self,.view-tools>#settings-toggle{width:34px;height:34px;min-height:34px;border-radius:11px;font-size:18px}.view-settings{top:53px;right:12px;width:228px;max-height:calc(100dvh - 72px);padding:12px}.view-settings .panel-heading{font-size:11px}body.places-open .places,body.touch-ui.places-open .places{top:53px;left:12px;bottom:148px;width:206px;max-height:calc(100dvh - 201px)}#toast{top:58px;font-size:10px;max-width:70%}.world-label .pill{font-size:8px;padding:4px 7px}.person-label .pill{max-width:135px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.view-settings #progress-open span{font-size:9px}}
@media(max-height:520px){header{top:10px;left:14px}.view-tools,.touch-ui .view-tools,.touch-ui.practicing .view-tools{top:10px;right:14px;left:auto}.view-settings{top:56px;max-height:calc(100dvh - 70px)}body.places-open .places,body.touch-ui.places-open .places{top:56px;bottom:18px;max-height:calc(100dvh - 74px)}body.touch-ui #interaction{bottom:145px;max-width:45%}.touch-ui .zone-badge{display:none}#toast{top:58px;max-width:55%}body.touch-ui #chat-panel{bottom:108px;max-height:calc(100dvh - 165px)}}
#extra-actions .sound-volume{position:static;inset:auto;background:transparent;padding:0;border-radius:0;min-width:76px}#extra-actions .sound-volume input{min-height:24px}#extra-actions button span{font-size:8px;white-space:nowrap}body.places-open .places .facility-tools:not([hidden]){display:block}body.touch-ui.places-open .places>button{width:100%;display:flex}
/* A round thumb stick steers freely without four separate arrow buttons. */
body.touch-ui #touch-controls{display:block;width:112px;height:112px;padding:0;border-radius:50%;border:1px solid #fff9;background:radial-gradient(circle,#eef2e580 0 40%,#f8f6ee60 41% 100%);touch-action:none}
body.touch-ui #touch-controls #move-stick{position:absolute;inset:0;width:100%;height:100%;min-width:0;min-height:0;border-radius:50%;border:0;padding:0;background:transparent;box-shadow:none;touch-action:none;user-select:none}
.stick-cross{position:absolute;inset:0;display:grid;place-items:center;opacity:.25;font-size:68px;color:#547057;pointer-events:none}#stick-knob{position:absolute;left:50%;top:50%;width:44px;height:44px;border-radius:50%;transform:translate(-50%,-50%);background:#faf9eef2;border:1px solid #fff;box-shadow:0 4px 12px #354f3730;pointer-events:none}#move-stick[aria-pressed=true] #stick-knob{background:#547259;border-color:#b9c9a7;box-shadow:0 3px 14px #354f3745}
#air-view{position:fixed;right:14px;bottom:130px;z-index:8;width:72px;padding:5px;border:1px solid #fff9;border-radius:14px;background:#f8f6eec7;backdrop-filter:blur(10px);box-shadow:0 3px 14px #354f3715}#air-view img{display:block;width:100%;height:52px;object-fit:contain}#air-view span{display:block;font-size:9px;padding:3px 0 0}#air-view[aria-pressed=true]{background:#d4e1c7}.practicing #air-view{bottom:126px}
/* The practice timer stays small at the edge; hit controls remain separate. */
body #practice-hud,body #practice-hud.collapsed,body.touch-ui #practice-hud,body.touch-ui #practice-hud.collapsed{position:fixed;left:auto;right:14px;top:66px;bottom:auto;transform:none;width:198px;padding:9px 11px;border-radius:15px;background:#f8f6eedb;max-height:calc(100dvh - 250px);overflow:auto;will-change:auto}#practice-hud .practice-top{margin:0 0 5px}#practice-hud .practice-top strong{font-size:10px!important;max-width:none!important}#practice-hud .practice-top button{font-size:10px;min-width:28px;min-height:28px;height:28px;padding:4px 6px}body #practice-hud #timing-track{height:7px;margin:10px 0 5px}body #practice-hud #practice-count,body #practice-hud #target-hint{font-size:10px;margin:5px 0;line-height:1.4}#practice-hud.collapsed #practice-streak,#practice-hud.collapsed #shot-feedback,#practice-hud.collapsed #practice-input-hint,#practice-hud.collapsed #end-practice{display:none}body.practicing #practice-actions,body.touch-ui.practicing #practice-actions{display:grid;position:fixed;left:50%;right:auto;bottom:14px;transform:translateX(-50%);width:270px;max-width:calc(100vw - 125px);padding:8px;gap:5px;z-index:8;border-radius:17px;background:#f8f6eedb;border:1px solid #fff9;backdrop-filter:blur(10px)}body:not(.practicing) #practice-actions{display:none!important}body #practice-actions #hit{min-height:40px;padding:9px;font-size:12px}body #practice-actions #aim-controls button{min-height:34px;font-size:10px}body #practice-actions #hit kbd{font-size:10px}
/* Modeless edge panels leave the scene visible and can fold into a small tab. */
#modal{position:fixed;inset:auto 16px 112px auto;margin:0;width:min(340px,calc(100vw - 24px));max-width:none;max-height:55dvh;overflow-y:auto;padding:0 17px 16px;border:1px solid #fff9;border-radius:19px;background:#f8f6eef5;color:#314537;box-shadow:0 8px 32px #243e2930;z-index:30}#modal::backdrop{background:transparent;backdrop-filter:none}.modal-bar{position:sticky;top:0;display:flex;align-items:center;gap:5px;background:#f8f6ee;z-index:2;min-height:42px;padding:5px 0;border-bottom:1px solid #dce4ce;margin-bottom:11px}.modal-bar>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:600}#modal .modal-bar button{position:static;display:grid;place-items:center;width:30px;height:30px;min-width:30px;border-radius:9px;background:#e5eadc;font-size:20px;padding:0;color:#536b4e}#modal #modal-content h2{font-size:17px;line-height:1.4;margin:7px 0}#modal #modal-content>p{font-size:11px;line-height:1.65}#modal #modal-content>.eyebrow{display:none}#modal .options{gap:5px;margin-top:10px}#modal .options button{min-height:36px;padding:8px;font-size:11px}#modal.folded{width:205px;padding:0 10px;max-height:44px;overflow:hidden}#modal.folded #modal-content{display:none}#modal.folded .modal-bar{margin:0;border:0}.wardrobe-stage canvas{height:175px}
@media(max-width:700px){#air-view{right:12px;bottom:123px;width:62px;padding:4px;border-radius:12px}#air-view img{height:42px}#air-view span{font-size:8px}body #practice-hud,body #practice-hud.collapsed,body.touch-ui #practice-hud,body.touch-ui #practice-hud.collapsed{right:12px;top:55px;width:178px;padding:8px 10px}body.touch-ui.practicing #practice-actions{left:12px;transform:none;max-width:calc(100vw - 124px);width:220px;bottom:12px}#modal{top:54px;right:12px;bottom:auto;width:min(270px,calc(100vw - 24px));max-height:42dvh;padding:0 12px 12px}#modal.folded{width:190px;padding:0 9px}.practicing #air-view{bottom:120px}}
@media(max-height:520px){#modal{top:56px;right:12px;bottom:auto;width:280px;max-height:calc(100dvh - 76px)}body #practice-hud,body.touch-ui #practice-hud,body.touch-ui #practice-hud.collapsed{top:54px;width:178px;max-height:calc(100dvh - 170px)}#air-view{right:115px;bottom:14px}body.touch-ui.practicing #practice-actions{left:12px;width:220px;transform:none}}

@media(max-width:700px){body:not(.practicing) #air-view{bottom:218px}}

body.aerial-view.practicing #practice-hud,body.aerial-view.practicing #practice-actions{display:none!important}body.practicing #toast{left:16px;right:auto;top:64px;transform:none;max-width:calc(100vw - 245px);font-size:10px;padding:8px 10px}@media(max-width:700px){body.practicing #toast{left:12px;top:58px;max-width:calc(100vw - 212px);font-size:9px}}

.court-activity .pill{background:#f6f3e8ed;border:1px solid #81967b;color:#3f5942;font-size:10px;font-weight:600;box-shadow:0 3px 12px #1c37222b}.court-activity[data-rally=true] .pill{background:#42684beb;color:#fff9e7;border-color:#d8e9c8}.court-activity[data-rally=true] .pill::before{content:'●';font-size:8px;margin-right:5px;color:#c8e889}@media(max-width:700px){.court-activity .pill{font-size:8px;padding:5px 7px}}

.bgm-control{grid-column:1/-1;border:1px solid #d5dfc9;border-radius:14px;padding:10px;background:#edf1e5}.bgm-control>div{display:flex;align-items:center;justify-content:space-between;gap:8px}.bgm-control strong{font-size:11px}.bgm-control button{font-size:10px;padding:7px 9px;border-radius:10px;background:#42644c;color:#fff9e9;min-height:32px}.bgm-control small{display:block;font-size:9px;color:#78886c;margin:6px 0}.bgm-control label{display:flex;align-items:center;gap:8px;font-size:9px}.bgm-control input{width:100%;min-width:0;min-height:28px;accent-color:#4c7053}

.court-activity{z-index:3}.aerial-view .person-label{display:none!important}.aerial-view .court-activity .activity-name,.aerial-view .court-activity .activity-detail{display:none}.aerial-view .court-activity .pill{font-size:8px;padding:5px 7px}

#court-rally-prompt{position:fixed;left:50%;bottom:106px;transform:translateX(-50%);z-index:8;display:flex;align-items:center;justify-content:center;gap:10px;min-height:42px;max-width:calc(100vw - 40px);padding:9px 17px;border-radius:18px;background:#365e42ed;color:#fff9e9;border:1px solid #c7ddbbad;box-shadow:0 4px 20px #1e3d2725;backdrop-filter:blur(10px)}#court-rally-prompt strong{font-size:12px;font-weight:600}#court-rally-prompt small{font-size:9px;opacity:.8}body:has(#interaction:not([hidden])) #court-rally-prompt{bottom:155px}body:has(#court-rally-prompt:not([hidden])) .zone-badge{display:none}.aerial-view #court-rally-prompt{display:none!important}@media(max-width:700px){#court-rally-prompt{left:12px;bottom:148px;transform:none;max-width:calc(100vw - 100px);gap:5px;padding:9px 12px;flex-direction:column;align-items:flex-start}#court-rally-prompt strong{font-size:11px}#court-rally-prompt small{font-size:8px}body:has(#interaction:not([hidden])) #court-rally-prompt{bottom:198px}}

.audio-check{grid-column:1/-1;display:grid;gap:5px}.audio-check button{min-height:36px;padding:8px;border-radius:12px;background:#e0e9d7;font-size:11px}.audio-check small{font-size:9px;line-height:1.5;color:#73846a}.world-label .bubble{background:#3d716bee;color:#fffaf0;border:1px solid #b7ded3;border-radius:16px 16px 16px 5px;padding:8px 12px;font-size:11px;line-height:1.45;font-weight:500;box-shadow:0 4px 16px #153c3c35;text-shadow:none;max-width:220px;white-space:normal;overflow-wrap:anywhere}body.night .world-label .bubble{background:#386b69f5;color:#fffaf0;border-color:#a4d5ca}@media(max-width:700px){.world-label .bubble{font-size:10px;padding:7px 10px;max-width:180px}}

#chat-close{min-width:34px;min-height:34px;font-size:24px;line-height:1;border-radius:10px;background:#e5eadc}#modal .modal-bar #modal-fold{width:auto;min-width:42px;font-size:10px;padding:0 7px}

#waiting-room{position:fixed;inset:0;z-index:120;display:grid;place-items:center;background:#edf0e3;color:#36513e;padding:24px}#waiting-room>div{display:flex;flex-direction:column;align-items:center;text-align:center;max-width:380px;gap:15px;padding:28px;border-radius:28px;background:#faf8f0;border:1px solid #fff}#waiting-room h2{font-size:20px;margin:5px 0}#waiting-room p{font-size:12px;line-height:1.8;margin:0}#waiting-room strong{font-size:23px;padding:12px 0;color:#426c4c}#waiting-room small{font-size:11px;color:#7d8d70;line-height:1.6}#waiting-room button{min-height:40px;padding:9px 18px;border-radius:13px;background:#e2e9d6;font-size:12px}body.waiting #world{visibility:hidden}

.view-tools>#master-sound{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;width:72px;height:40px;min-height:40px;padding:3px 6px;border:1px solid #ffffffa8;border-radius:13px;background:#f8f6eef2;backdrop-filter:blur(12px);color:#3d5743}.view-tools>#master-sound .speaker-icon{font-size:18px;line-height:1}.view-tools>#master-sound .master-label{font-size:9px;white-space:nowrap}.view-tools>#master-sound[aria-pressed=true]{background:#42644c;color:#fff8e8}.view-tools>#master-sound[aria-pressed=mixed]{background:#d9e5ce}@media(max-width:700px){.view-tools>#master-sound{width:54px;height:34px;min-height:34px;border-radius:11px;padding:2px 3px}.view-tools>#master-sound .speaker-icon{font-size:15px}.view-tools>#master-sound .master-label{font-size:8px}}

/* A small corner shortcut stays clear of chat and gameplay controls. */
body #air-view,body:not(.practicing) #air-view,body.practicing #air-view{position:fixed;left:22px;right:auto;top:68px;bottom:auto;width:32px;height:32px;padding:7px;display:grid;place-items:center;border:1px solid #ffffffa8;border-radius:11px;background:#f8f6eedb;backdrop-filter:blur(10px);color:#48624e;box-shadow:0 2px 10px #354f3712;z-index:8;touch-action:manipulation}#air-view svg{display:block;width:100%;height:100%;transform:rotate(35deg)}body #air-view[aria-pressed=true]{background:#42644c;color:#fff8e8;border-color:#c4dab8}@media(max-width:700px){body #air-view,body:not(.practicing) #air-view,body.practicing #air-view{left:12px;top:54px;width:30px;height:30px;padding:6px;border-radius:10px}}@media(max-height:520px){body #air-view,body:not(.practicing) #air-view,body.practicing #air-view{left:14px;top:56px}}

.camera-auto-control{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px;border:1px solid #d3ddc6;border-radius:14px;color:#3d5743;cursor:pointer}.camera-auto-control strong{display:block;font-size:12px;font-weight:600}.camera-auto-control small{display:block;margin-top:5px;font-size:10px;line-height:1.6;color:#78876b}.camera-auto-control input{flex:none;width:22px;height:22px;accent-color:#3d624a;cursor:pointer}
