/* v8 UI shell: one navigation layer, separate panel and gameplay layers. */
/* 2026-10-09 owner: emoji were as large as the text and drowned it out - draw every emoji at 80% via a local emoji face (no DOM change, translations untouched) */
@font-face{font-family:BCEmoji;src:local('Apple Color Emoji'),local('AppleColorEmoji'),local('Segoe UI Emoji'),local('Noto Color Emoji');unicode-range:U+1F000-1FAFF,U+2600-27BF,U+2B00-2BFF,U+FE0F,U+200D,U+231A-231B,U+23E9-23FA;size-adjust:80%}
:root{--surface:#fafbf7;--ink:#17333c;--accent:#21664e;--dock-height:74px;--safe-bottom:env(safe-area-inset-bottom,0px)}
[hidden]{display:none!important}button,a,input,summary{touch-action:manipulation}button{min-height:44px;cursor:pointer}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible{outline:3px solid var(--focus-ring,#227dbe);outline-offset:3px}button:disabled{cursor:not-allowed;opacity:.55}body{font-family:BCEmoji,-apple-system,BlinkMacSystemFont,'Apple SD Gothic Neo','Noto Sans KR',sans-serif}header{top:max(12px,env(safe-area-inset-top));left:16px;right:16px;gap:10px;z-index:35}header .brand{font-size:21px;padding:10px 14px;letter-spacing:-1px}header .place{display:block;font-size:12px;letter-spacing:0;margin:0 auto 0 0;padding:10px 14px;max-width:45%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#profileOpen{padding:10px 14px;max-width:140px;overflow:hidden;text-overflow:ellipsis}#cityUI{pointer-events:none}.city-title{display:none!important}#exploreStatus{position:absolute;top:max(78px,calc(env(safe-area-inset-top) + 66px));left:18px;display:flex;align-items:center;gap:9px;background:var(--surface);border:1px solid #d8e2dd;border-radius:14px;padding:11px 14px;box-shadow:var(--shadow-sm,0 4px 18px #12332914);color:var(--ink)}#exploreStatus b{display:block;font-size:13px}#exploreStatus small{display:block;margin-top:4px;font-size:11px;color:#52656b}.status-dot{width:8px;height:8px;background:#25875e;border-radius:50%}
#appDock{position:absolute;left:50%;transform:translateX(-50%);bottom:calc(20px + var(--safe-bottom));width:min(420px,calc(100% - 24px));height:var(--dock-height);padding:7px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;border:1px solid transparent;background:var(--surface);box-shadow:var(--shadow-md,0 8px 35px #14302b24);border-radius:23px;z-index:40}#appDock>button{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;height:58px;min-width:0;width:100%;padding:4px;border-radius:15px;font-size:11px;color:#52666b;background:transparent;box-shadow:none;border:0;white-space:nowrap}#appDock button:hover,#appDock button[aria-expanded=true]{background:#e8f2e9;color:#184e39}#appDock svg{width:22px;height:22px}#count{display:none}#streetView{position:absolute;right:20px;bottom:calc(115px + var(--safe-bottom));z-index:36;display:flex;align-items:center;gap:8px;height:48px;padding:0 16px;border:1px solid #d7e5dc;border-radius:25px;background:var(--ink);color:white;box-shadow:var(--shadow-md,0 4px 15px #102d392b);font-size:13px;font-weight:700}#streetView svg{width:22px;height:22px}body.street-focus #streetView{background:#21664e}#zoomButtons{right:20px;top:145px;gap:8px;z-index:25}#zoomButtons button{width:44px;height:44px;border:1px solid #d9e2d9;background:var(--surface)}.attribution{left:0;right:auto;bottom:0;font-size:9px;max-width:100%;z-index:26;background:#fafbf7db;padding:3px 7px;border-radius:0 6px 0 0}.attribution.v2{font-size:8px;line-height:1.12;padding:1px 6px}/* 2026-10-12 map v2 credits: two lines must fit in the 20px gap under the dock */#dataOpen{position:static!important;border-radius:12px;background:#e8eee6;min-height:44px;font-size:12px}#dataOpen span{display:none}.world-label{max-width:190px;overflow:hidden;text-overflow:ellipsis;min-height:36px;font-size:11px;border-radius:12px}.player-label{min-height:40px;max-width:160px;background:#edffed;color:#124d32;border:2px solid #21664e;box-shadow:0 0 0 5px #fff8;font-weight:800;z-index:9;pointer-events:auto!important}.approach-point{min-height:44px;max-width:min(230px,calc(100vw - 32px))}/* 🚶 2026-10-12 UX2 MAP-9: 145px로 막혀 고른 건물 칩 「🚶 입구까지 · 도보 172m · 약 42…」의 시간이 잘렸다(짧은 「직선 69m」 칩은 그대로 짧다) */.approach-point:after{display:none}.bike-pickup{max-width:130px}
.modal{position:fixed;z-index:100;padding:max(16px,env(safe-area-inset-top)) 16px max(16px,var(--safe-bottom));background:#102d397a}.dialog,.result-card{width:min(480px,100%);max-height:calc(100dvh - 48px - env(safe-area-inset-top) - var(--safe-bottom));padding:26px;border-radius:24px;background:var(--surface);overscroll-behavior:contain;scrollbar-gutter:stable}.dialog>.close{position:absolute;right:14px;top:14px}.dialog h2{padding-right:34px}.dialog h3{font-size:15px;margin:22px 0 12px}.dialog input{font-size:16px}.dialog label{font-size:13px}.explore-dialog{width:min(520px,100%)}.quick-buildings{display:grid;grid-template-columns:1fr 1fr;gap:8px;overflow:visible}.quick-buildings button{width:auto;min-width:0;padding:12px;min-height:92px;background:#edf1eb;border:1px solid #dae3d9;white-space:normal;text-align:left}.quick-buildings button b{font-size:12px;white-space:normal}.quick-buildings button small{font-size:10px}.quick-buildings button em{display:none}.explore-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:18px}.explore-actions #dataSlot{grid-column:1/-1}.explore-actions button{width:100%}#nearbyList{display:grid;gap:8px}#nearbyList button{display:flex;justify-content:space-between;gap:10px;text-align:left;align-items:center;background:#edf4ec;border:1px solid #d2e0d1;border-radius:12px;padding:12px;font-size:13px}#nearbyList small{display:block;margin-top:5px;color:#52666b;font-size:11px}#nearbyList .distance{flex-shrink:0;color:#21664e;font-weight:700}.empty-nearby{padding:16px;border:1px dashed #a8bbae;border-radius:12px;font-size:13px;line-height:1.7}.account-state{padding:14px;background:#e9f0e8;border-radius:12px;font-size:13px}.account-state p{margin-bottom:0}.dialog hr{border:0;border-top:1px solid #dbe2d9;margin:22px 0}.dialog #backupLocal{width:100%}.dialog details{font-size:13px;line-height:1.8}.dialog summary{cursor:pointer;min-height:44px;padding:10px 0}.dialog a{color:#21664e}.dialog .backup-note{font-size:11px}
.detail{left:20px;bottom:calc(112px + var(--safe-bottom));width:350px;max-height:calc(100dvh - 195px);overflow:auto;padding:22px;background:var(--surface);z-index:38;overscroll-behavior:contain}.detail h2{font-size:23px;margin:12px 30px 7px 0}.detail .building-metrics{padding:12px 0;gap:24px}.detail #buildingStory{display:none}.detail #buildingAddress{font-size:10px}.detail .budget-note{font-size:12px;line-height:1.6;white-space:pre-line}.detail #osmSource{font-size:11px}.detail>.eyebrow{font-size:12px}.detail-actions{gap:8px}.detail-actions button{font-size:12px}#tripHUD{left:20px;right:auto;bottom:calc(112px + var(--safe-bottom));width:310px;padding:16px;z-index:34}body.traveling #exploreStatus{display:none}body.traveling #streetView{bottom:calc(115px + var(--safe-bottom))}#flightBanner{top:142px;left:18px;right:auto;max-width:calc(100% - 88px);z-index:30;font-size:12px}body[data-phase=preview] #streetView{display:none}.map-panel{z-index:105;inset:max(12px,env(safe-area-inset-top)) 12px max(12px,var(--safe-bottom));padding:16px}.collection{z-index:105;padding-top:max(24px,env(safe-area-inset-top));padding-bottom:max(24px,var(--safe-bottom))}#purchaseModal{z-index:120}body.panel-open #appDock,body.panel-open #streetView,body.panel-open #exploreStatus,body.panel-open #zoomButtons{visibility:hidden}body.panel-open #world{pointer-events:none}body.panel-open .world-label{visibility:hidden}body.playing #appDock,body.playing #streetView,body[data-phase=summit] #appDock,body[data-phase=summit] #streetView,body[data-phase=summit] #zoomButtons{display:none}.context-buttons{top:125px;left:16px;right:16px;display:flex;justify-content:center;gap:8px}.context-buttons button{font-size:11px;padding:8px 10px;min-height:44px}.mini-map{display:none}#toast{bottom:calc(108px + var(--safe-bottom));max-width:calc(100% - 32px);z-index:160;font-size:12px;pointer-events:none}.decor-sheet{z-index:70}.thumb-area{padding-bottom:var(--safe-bottom)}.summit-title{background:#fafbf7ef;border-radius:18px;padding:18px;max-width:calc(100% - 40px)}
@media(max-width:700px){header{left:12px;right:12px;gap:6px}header .brand{font-size:18px;padding:9px 11px}header .place{font-size:10px;padding:10px 8px;max-width:38%}header #profileOpen{font-size:11px;padding:10px;max-width:90px}#exploreStatus{left:12px;max-width:calc(100% - 80px);padding:9px 12px}#exploreStatus small{font-size:10px}#zoomButtons{right:12px;top:145px}#streetView{right:12px;bottom:calc(109px + var(--safe-bottom))}#appDock{bottom:calc(19px + var(--safe-bottom))}.detail{left:12px;right:12px;bottom:calc(104px + var(--safe-bottom));width:auto;max-height:48dvh;padding:18px}.detail h2{font-size:21px}.detail .building-metrics b{font-size:24px}.detail .building-metrics{padding:9px 0}.detail .building-metrics span{font-size:10px}#tripHUD{left:12px;right:12px;width:auto;bottom:calc(164px + var(--safe-bottom));padding:13px}#tripHUD p{margin:9px 0}.dialog{padding:22px;max-height:calc(100dvh - 36px - env(safe-area-inset-top) - var(--safe-bottom))}.modal{padding:12px}.panel-heading h2{font-size:21px}.collection .panel-heading{align-items:flex-start}#collectionGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.collection-card{padding:12px}.collection-card h3{font-size:14px;overflow-wrap:anywhere}.collection-card .art{height:100px}.product-grid{gap:8px}.econ-tabs button{font-size:11px;padding:10px 5px}.transport-options button{font-size:12px;min-width:0}.context-buttons{top:112px}.climb-top{left:12px;right:12px;top:max(14px,env(safe-area-inset-top))}.thumb-area{left:12px;right:12px;bottom:calc(24px + var(--safe-bottom))}.summit-title{top:82px;left:12px;max-width:calc(100% - 24px)}.summit-title h2{font-size:24px}.decor-sheet{padding-bottom:max(12px,var(--safe-bottom))}}
@media(max-height:500px) and (orientation:landscape){#exploreStatus{display:none}#appDock{left:12px;transform:none;width:320px;height:66px;bottom:18px}#appDock button{height:50px}#streetView{bottom:28px}#zoomButtons{top:82px}.detail{left:auto;right:12px;width:330px;bottom:12px;max-height:calc(100dvh - 80px)}body[data-phase=preview] #appDock{display:none}.thumb-area{left:auto;right:12px;width:45%;bottom:20px}.context-buttons{left:12px;right:auto;top:108px;max-width:50%;flex-wrap:wrap}.climb-top{right:50%}#tripHUD{bottom:94px;max-height:190px;overflow:auto}#tripHUD #tripInstruction{display:none}#tripHUD .trip-meter{margin:6px 0;line-height:1.4}#tripHUD .trip-actions{position:sticky;bottom:0;margin-top:8px;padding-top:6px;background:#183744f2}.trip-actions button{min-height:44px!important}/* 가로 화면: 내리기 버튼이 독 뒤로 밀리지 않게 상자 아래에 붙인다 */.decor-sheet{top:10px;bottom:10px;right:10px;left:auto;width:340px;max-height:none}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Reset inherited positioning before applying the mobile/landscape control layout. */
.context-buttons{flex-direction:row}.thumb-area{left:50%;right:auto;transform:translateX(-50%);width:min(390px,calc(100% - 24px));max-width:none}.context-buttons button{flex:0 1 auto;white-space:nowrap}
@media(max-height:500px) and (orientation:landscape){.thumb-area{left:auto;right:12px;transform:none;width:45%}.context-buttons{flex-direction:row}.height-panel{min-width:120px}}
.time-select{display:flex;align-items:center;gap:12px;margin-top:18px;font-size:13px}select{font:inherit;min-height:44px;border:1px solid #c2d0c8;border-radius:10px;padding:8px;background:#fff;color:#17333c;max-width:100%}#memberModal .check{display:flex;align-items:center;gap:10px}#memberModal .check input,.decor-contract input{width:20px;min-width:20px}#memberModal button,#marketModal button{margin:8px 0;min-height:44px;width:100%}#memberModal details,#marketModal details{margin:14px 0}.market-card{padding:16px;border:1px solid #ccd9cd;border-radius:14px;margin:12px 0;background:#edf2ed}.market-card input{font-size:16px;max-width:100%}.creative-preview{aspect-ratio:2;background:#172c38;color:#fff;display:grid;place-items:center;padding:18px;overflow-wrap:anywhere;border:4px solid #72878a;margin:10px 0}.decor-contract{padding:12px;background:#fff3d8;border:1px solid #ddbd83;border-radius:12px;font-size:12px;line-height:1.6}#faceLicense{font-weight:700;color:#1b6046}#wishBuilding,#adInquiry{font-size:12px;margin:6px 6px 0 0}#betaModal ol{padding-left:20px;font-size:13px;line-height:1.8}#betaModal{z-index:130}#memberModal,#marketModal{z-index:115}#betaModal .primary{white-space:normal}

.creative-preview{background-size:100% 100%;background-position:center;min-height:120px;color:white;text-shadow:0 2px 4px #000;display:grid;place-items:center;overflow:hidden;word-break:break-word}.market-card input[type=file]{max-width:100%}

#fullMap{position:fixed;right:16px;top:220px;z-index:16;min-height:44px;padding:10px 14px;color:#173c3f}#presenceStatus{position:fixed;left:18px;top:145px;z-index:12;background:#f6f6edee;border-radius:12px;padding:8px 10px;font-size:12px;color:#335653;max-width:210px;pointer-events:none}body:not([data-phase="city"]) #fullMap,body:not([data-phase="city"]) #presenceStatus{display:none}.peer-label{position:absolute;transform:translate(-50%,-100%);background:#1d5264;color:white;padding:5px 8px;border-radius:9px;font-size:12px;pointer-events:none;white-space:nowrap}#appearanceSettings label{display:block;margin-top:14px}#appearanceSettings .check{display:flex}#appearanceSettings input[type=range],#avatarLook{width:100%;min-height:44px}#climbTelemetry{display:flex;gap:8px;align-items:center;justify-content:space-between;color:#e2efea;font-size:12px;padding:6px 0 10px}#holdProgress{width:64px;height:7px;accent-color:#d8ffa2}@media(max-width:600px){#fullMap{top:180px;right:12px}#presenceStatus{top:132px;left:12px;max-width:165px;font-size:11px}}

#fullMap{top:270px}body.panel-open #fullMap,body.panel-open #presenceStatus,body.panel-open .peer-label{visibility:hidden}@media(max-width:700px){#fullMap{top:252px}}

/* Explicit foreground prevents inherited white text on pale buttons. */
#arrival{background:#17333f;color:#fff;z-index:45;box-shadow:var(--shadow-lg,0 12px 48px #102b3866)}#arrival .glass{color:#17333f;background:#f5f4ec;font-weight:700}#arrival p{color:#e2eee7}#buildingAdStatus{padding:10px 12px;background:#e4efe5;color:#214831;border-radius:10px;font-size:12px;line-height:1.6;margin:10px 0;white-space:pre-line}.look-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.look-cards button{min-height:64px;border:2px solid transparent;border-radius:12px;background:#e6eae1;color:#18383d;font-size:12px}.look-cards button[aria-pressed=true]{border-color:#24735c;background:#ddf5e7}.look-cards i{display:block;font-style:normal;font-size:23px}#sharePreview{width:100%;border-radius:16px}#shareDialog{max-width:430px}#shareDialog button{margin-top:8px;min-height:44px}#shareDialog::backdrop{background:#102e3baa}#shareDialog{border:0;border-radius:20px;padding:20px;background:#f7f6ef;color:#17333f;max-height:90dvh;overflow:auto}

#realMap.leaflet-container{background:#edf0e7}#realMap .leaflet-interactive{transition:fill .15s}#realMap .leaflet-control-attribution{font-size:10px;max-width:100%}.map-explain{color:#294b46}
.help-button{position:fixed;right:14px;top:max(20px,env(safe-area-inset-top));width:44px;height:44px;border-radius:50%;background:#f8f6ec;color:#21473f;border:1px solid #b9cbb8;font-size:22px;font-weight:800;z-index:45}header{padding-right:50px}body.playing .help-button{top:76px}body.panel-open .help-button{display:none}.guide-dialog{display:flex;flex-direction:column;width:min(510px,100%);height:min(810px,90dvh);padding:0;overflow:hidden}.guide-heading{padding:24px 26px 14px;background:#ecf1e6}.guide-heading h2{margin:10px 0;font-size:26px}.guide-heading p{margin:0;font-size:12px}.guide-scroll{overflow:auto;overscroll-behavior:contain;padding:16px 20px;min-height:0}.guide-card{background:#fffef7;border:1px solid #dce3d6;border-radius:18px;padding:18px;margin-bottom:14px}.guide-card>small{font-size:10px;font-weight:800;letter-spacing:1.5px;color:var(--text-muted,#56686c)}.guide-art{display:flex;align-items:center;justify-content:space-around;background:#e9e8dd;border-radius:12px;height:76px;font-size:32px;margin-top:12px;color:#395c55;white-space:pre}.guide-art.mint{background:#dff0cf}.guide-art.peach{background:#fae0ce}.guide-card h3{font-size:18px;margin:16px 0 8px}.guide-card p{margin:0;line-height:1.65;font-size:13px}.guide-pads{display:flex;gap:10px;margin-top:14px}.guide-pads b{flex:1;text-align:center;background:#25474e;color:white;font-size:29px;border-radius:12px;padding:14px}.guide-pads b:nth-child(2){background:#d6f6b9;color:#284636}.guide-footer{padding:14px 20px;background:#f4f4e9;border-top:1px solid #d8e0d0}.guide-footer small{display:block;text-align:center;color:#547064;margin-bottom:8px}.guide-footer button{width:100%}.guide-beta{padding:15px;background:#fff0d6;border-radius:14px;font-size:12px}.guide-beta p{font-size:12px}#wideZoom{display:flex;gap:6px}#wideZoom button{min-width:44px;font-size:19px}.context-buttons{flex-wrap:wrap;max-width:calc(100% - 24px)}@media(max-width:600px){.guide-heading{padding:18px 20px 12px}.guide-heading h2{font-size:23px}.guide-scroll{padding:12px}.guide-dialog{height:90dvh}.help-button{top:18px}.context-buttons{flex-direction:row}#climbUI .mini-map{display:none}}

.guide-card p{white-space:pre-line}
/* Native scrolling stays inside sheets; camera zoom requires pinch or explicit buttons. */
.modal,.dialog,.guide-scroll{overscroll-behavior:contain}.dialog{touch-action:pan-y}.building-more{border-top:1px solid #dce1d6;padding:12px 0}.building-more summary{cursor:pointer;font-weight:700;min-height:44px;padding:12px 0;box-sizing:border-box}.building-more button{margin-top:10px}.property-dialog{max-width:520px}.property-hero{background:#e5edd9;border-radius:20px;padding:20px;margin:18px 0}.property-hero strong{font-size:30px;color:#203c3e}.property-filters{display:grid;grid-template-columns:1fr 1fr;gap:12px}.property-filters label{font-size:12px}.property-filters select{width:100%;min-height:44px;margin-top:6px}.property-card{padding:18px;border:1px solid #dce1d6;border-radius:18px;margin:14px 0;background:#fffef9}.property-card h3{margin:0}.property-card p{font-size:13px}.property-card strong{display:block;margin:12px 0}.property-card button{margin-top:8px;width:100%;min-height:44px}#propertyMessage{color:#914e29}#propertyBadge{font-size:12px;color:#914e29}.property-dialog details{padding:14px 0;border-top:1px solid #dce1d6}.property-dialog summary{cursor:pointer;min-height:44px;font-weight:700;padding:12px 0;box-sizing:border-box}.property-dialog details p{font-size:13px;line-height:1.7}
#arrivalCountdown{display:block;font-size:84px;line-height:1.1;font-variant-numeric:tabular-nums;color:#e0ffb8;text-shadow:0 3px 20px #132d35}.arrival #cancelArrival{font-size:12px;padding:8px 20px;min-height:44px}.arrival h2{margin:10px 0}
/* v18: one gesture, one action; compact player and editor controls. */
#presenceStatus{display:none!important}body:not([data-phase="city"]) .help-button{display:none!important}#playerStatus{pointer-events:auto;display:flex;gap:16px;align-items:center;position:absolute;left:18px;top:78px;background:#f7f8ed;color:#244746;border:1px solid #d7e3d3;border-radius:15px;padding:11px 16px;box-shadow:var(--shadow-sm,0 3px 12px #16332b18)}#playerStatus strong{color:#3b6749}#exploreStatus{top:132px;padding:8px 12px}#exploreStatus small{display:none}body.panel-open #playerStatus{visibility:hidden}.profile-summary{background:#e9efdd;border-radius:18px;padding:20px;margin:14px 0}.profile-summary strong,.profile-summary b{display:block;font-size:24px;margin:6px 0}.profile-summary progress{width:100%;height:8px;accent-color:#54876b}.profile-summary p{font-size:13px}.rename-settings{margin:12px 0;padding:12px 0;border-bottom:1px solid #dce2d6}#profileModal details>summary{min-height:44px;padding:10px 0;cursor:pointer;font-weight:700}#profileModal .account-state p,#profileModal .backup-note{display:none}.scroll-rail{position:fixed;z-index:999;pointer-events:none;width:5px;border-radius:4px;background:#cad6c7aa}.scroll-rail i{display:block;width:5px;background:#507863;border-radius:4px}.dialog,.guide-scroll,.decor-sheet,.detail,#destinations{scrollbar-width:auto;scrollbar-color:#507863 #e2e9dd;scrollbar-gutter:stable}::-webkit-scrollbar{width:7px}::-webkit-scrollbar-thumb{background:#507863;border-radius:4px}::-webkit-scrollbar-track{background:#e2e9dd}.decor-zoom{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#e8eedf;padding:8px;border-radius:14px;position:sticky;bottom:0;z-index:3}.decor-zoom button{min-width:48px;min-height:44px;font-size:24px;border-radius:10px}.map-toolbar{display:flex;gap:6px;flex-wrap:wrap;padding:6px 12px}.map-toolbar button{flex:1;min-height:44px;font-size:12px}.map-toolbar [aria-pressed="true"]{background:#465f88;color:white}
/* 🗺 전체 지도 「고른 상태」(2026-09-28 오너): brand.css `.secondary{background:#fff!important}`가 위 채움을 덮어 켠/끈 버튼이 똑같았다 → 속성(aria-pressed·aria-current·aria-expanded)만 보고 !important로.
   색만이 아니라 ✓(켠 층)·◉(지금 보기) 표시 + 굵기 + 이중 테두리 · 고대비 모드는 시스템 강조 테두리 · 앱은 밝은 테마 하나라 어두운 모드에서도 같은 대비(짙은 녹색 위 라임 ≈ 12:1) */
#mapPanel .map-toolbar button[aria-pressed="true"],#mapPanel .map-toolbar button[aria-current="true"],#fullMap[aria-expanded="true"]{background:var(--deep,#093329)!important;color:var(--lime,#C6FA49)!important;border-color:var(--deep,#093329)!important;font-weight:800!important;box-shadow:inset 0 0 0 2px var(--lime,#C6FA49)}
#mapPanel .map-toolbar button[aria-pressed="true"]::before{content:"✓ ";content:"✓ " / "";font-weight:900}#mapPanel .map-toolbar button[aria-current="true"]::before{content:"◉ ";content:"◉ " / ""}
#mapPanel .map-toolbar button[aria-pressed="false"]{font-weight:600!important}
#mapPanel .map-toolbar button{flex:1 1 calc(33.333% - 6px);min-width:0;word-break:keep-all;overflow-wrap:break-word;line-height:1.25;padding:10px 8px}@media(max-width:360px){#mapPanel .map-toolbar button{flex-basis:calc(50% - 6px)}}/* 한국어가 한 글자씩 세로로 접히던 것(버튼 8개가 한 줄에 몰림 · 2026-09-28): 한 줄 세 개 · 낱말 단위 줄바꿈 */
@media (forced-colors:active){#mapPanel .map-toolbar button[aria-pressed="true"],#mapPanel .map-toolbar button[aria-current="true"],#fullMap[aria-expanded="true"]{outline:3px solid Highlight;outline-offset:2px}}.map-panel #realMap{min-height:180px;height:calc(100% - 150px)}.admin-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.admin-grid div{padding:14px;background:#e8efdd;border-radius:12px}.admin-grid strong{display:block;font-size:25px}.admin-grid small{font-size:11px}.map-place-label{background:transparent;border:0;box-shadow:none;color:#3e5650;font-weight:700;font-size:12px;text-shadow:0 1px 2px white,0 -1px 2px white;pointer-events:none}.map-place-label:before{display:none}#bikeGauge{position:fixed;left:18px;bottom:112px;background:#f1f5e6;padding:10px 14px;border:1px solid #c4d6bd;border-radius:14px;z-index:29;font-size:12px;pointer-events:none}#bikeGauge progress{display:block;width:150px;height:7px;accent-color:#55865a;margin-top:6px}body.panel-open #bikeGauge,body.playing #bikeGauge{display:none}#showcaseUI{display:flex;gap:8px;flex-wrap:wrap;justify-content:center}#showcaseUI p{width:100%;font-size:12px}@media(max-width:700px){#playerStatus{top:76px;left:12px}#exploreStatus{top:128px;left:12px;max-width:70%}#zoomButtons{right:12px;top:184px}#fullMap{right:12px;top:294px}}
::-webkit-scrollbar{height:7px}.decor-zoom{top:0;bottom:auto;margin-bottom:10px}.quick-buildings{scrollbar-width:auto;scrollbar-color:#507863 #e2e9dd}#showcaseUI button{min-width:44px}body[data-phase="showcase"] .world-label:not(.selected){display:none}
#profileModal .dialog>button.secondary:not(#bgmToggle){display:block;width:100%;text-align:left;margin:6px 0;padding:14px 16px}#profileModal .dialog>button#backupLocal{margin-top:14px}#profileXP{accent-color:#54876b}

/* v19 캐릭터 선택 · 옷장 */
.character-pick h3{font-size:15px;margin:14px 0 8px}
.character-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.character-card{display:grid;grid-template-columns:34px 1fr;grid-template-rows:auto auto auto;column-gap:10px;align-items:center;text-align:left;padding:10px;border-radius:14px;background:#fffef8;border:1px solid #d7ddd2;min-height:74px}
.character-card i{grid-row:1/4;width:34px;height:34px;border-radius:50%;box-shadow:inset 0 0 0 2px #fff}
.character-card b{font-size:14px}.character-card small{font-size:10px;color:#5a6e6d;line-height:1.4}.character-card em{font-style:normal;font-size:10px;color:#35605a;font-weight:700}
.character-card[aria-pressed=true]{border:2px solid #264b4d;background:#eef5ec}
#characterTrait{font-size:12px;line-height:1.6;color:#4d6365;margin:10px 0}
#wardrobeModal{z-index:140}.wardrobe-dialog{width:min(480px,100%);max-height:92dvh;overflow:auto}
#wardrobePreview{display:block;width:100%;height:min(36dvh,300px);border-radius:16px;background:linear-gradient(#eef1ea,#dfe4da);touch-action:none;margin:8px 0}
#wardrobeWallet{font-size:12px;font-weight:700;color:#2f5049;margin:6px 0}
.wardrobe-slots{display:flex;gap:5px;overflow:auto;padding:2px 0 8px}.wardrobe-slots button{flex:1 0 auto;min-height:40px;padding:8px 12px;border-radius:10px;background:#e9eee5;font-size:12px;color:#27434b}.wardrobe-slots button.active{background:#264b4d;color:#fff}
.wardrobe-items{display:grid;gap:6px}
.wardrobe-item{display:grid;grid-template-columns:34px 1fr auto auto;gap:8px;align-items:center;padding:8px;border-radius:12px;background:#fffef8;border:1px solid #dde2d8}
.wardrobe-item.on{border-color:#264b4d;background:#eef5ec}
.wardrobe-item i{width:34px;height:34px;border-radius:9px;box-shadow:inset 0 0 0 1px #0001}
.wardrobe-item span{min-width:0}.wardrobe-item b{display:block;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.wardrobe-item small{font-size:10px;color:#5b6f6d}
.wardrobe-item button{min-height:40px;padding:8px 10px;font-size:11px;border-radius:10px;white-space:nowrap}
@media(max-width:360px){.character-cards{grid-template-columns:1fr}.wardrobe-item{grid-template-columns:30px 1fr auto}.wardrobe-item .quiet{display:none}}
.map-city-badge{background:#f7f6efee;border:1px solid #d5dcd2;border-radius:10px;padding:6px 10px;font-size:11px;font-weight:700;color:#2d474d;box-shadow:var(--shadow-sm,0 2px 8px #17303a18);pointer-events:none}
#exploreStatus{cursor:pointer;pointer-events:auto}
.name-alt{display:block;font-size:.72em;font-weight:500;opacity:.82;margin-top:2px;letter-spacing:0}.world-label .name-alt{font-size:9px}

/* v20 겹침 없는 HUD: 상단 바(한 줄) · 왼쪽 상태 묶음 · 오른쪽 도구 묶음 */
header{display:flex!important;align-items:center;gap:6px;flex-wrap:nowrap}body.playing header{display:none!important}/* 등반 중에는 등반 HUD(일시정지·높이·시간)가 상단을 쓴다 */
header .place{flex:0 1 auto;min-width:0}
.id-group{display:flex;align-items:center;margin-left:auto;background:var(--surface,#f7f8ed);border:1px solid #d7e3d3;border-radius:14px;box-shadow:var(--shadow-sm,0 3px 12px #1733391a);min-width:0}
.id-group #profileOpen{background:none;border:0;box-shadow:none;max-width:110px;padding:10px 8px 10px 12px;font-weight:700;color:#1f3f45}
#idGroup #playerStatus{position:static!important;display:flex;gap:6px;align-items:center;background:none;border:0;box-shadow:none;padding:10px 12px 10px 4px;border-left:1px solid #d7e3d3;border-radius:0;font-size:12px;color:#244746}
#idGroup #playerStatus b{font-size:12px}#idGroup #playerStatus strong{font-size:12px;color:#2f6346}
header .icon-button,header .help-button{position:static!important;flex:0 0 auto;width:44px;height:44px;border-radius:50%;background:#f8f6ec;color:#21473f;border:1px solid #b9cbb8;display:grid;place-items:center;font-size:20px;font-weight:800}
header .icon-button svg{width:22px;height:22px}
#hudLeft{position:fixed;left:12px;top:var(--hud-top,72px);z-index:30;display:flex;flex-direction:column;align-items:flex-start;gap:8px;max-width:calc(100% - 90px);pointer-events:none}
#hudLeft>*{position:static!important;transform:none!important;pointer-events:auto;max-width:100%}
#hudLeft #flightBanner{white-space:normal;text-align:left;padding:11px 14px;border-radius:14px;font-size:12px;line-height:1.4}
#hudRight{position:fixed;right:12px;top:var(--hud-top,72px);z-index:26;display:flex;flex-direction:column;align-items:flex-end;gap:8px;pointer-events:none}
#hudRight>*{position:static!important;pointer-events:auto}#hudRight #zoomButtons{display:grid;gap:8px}
#streetView{bottom:calc(var(--dock-top,96px) + var(--trip-h,0px) + 10px)!important}
#tripHUD{bottom:calc(var(--dock-top,96px) + 8px)!important}
body.panel-open #hudLeft,body.panel-open #hudRight{visibility:hidden}
body.playing #hudLeft,body.playing #hudRight{display:none}
body:not([data-phase="city"]) #hudRight #fullMap,body:not([data-phase="city"]) #airportButton{display:none}
@media(max-width:420px){header .place{display:none}header .brand{font-size:17px;padding:9px 10px}.id-group #profileOpen{max-width:74px;font-size:11px}#idGroup #playerStatus{padding:9px 9px 9px 3px}header .icon-button,header .help-button{width:40px;height:40px}}
.settings-dialog h3{font-size:13px;margin:18px 0 6px;color:#2d4a4d}.settings-section label{display:block;margin:6px 0}.settings-section select{margin-left:6px}
.bottom-close{display:block;width:100%;min-height:48px;margin-top:16px;border-radius:12px;background:#e6ebe1;color:#1f3f45;font-weight:700;position:sticky;bottom:-22px;z-index:3;box-shadow:0 0 0 14px #fbfaf1,0 18px 0 14px #fbfaf1}
/* 2026-10-12 CMP-04 (focus not obscured, WCAG 2.4.11): a dialog with the sticky bottom close bar keeps focus scrolling clear of it - Tab to the last buttons (other albums, edit) used to land behind the bar */
.dialog:has(>.bottom-close){scroll-padding-bottom:calc(76px + env(safe-area-inset-bottom))}
.scroll-rail-h{position:fixed;z-index:999;pointer-events:none;height:4px;border-radius:4px;background:#cad6c7aa}.scroll-rail-h i{display:block;height:4px;background:#507863;border-radius:4px}
.id-group{flex:1 1 auto;justify-content:flex-end;max-width:62%}.id-group #profileOpen{flex:1 1 auto;min-width:0;max-width:none!important;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:right}
.id-group #profileOpen{flex:0 1 auto;min-width:58px}#idGroup #playerStatus{flex:0 0 auto;white-space:nowrap}
header{padding-right:0!important}.id-group{justify-content:flex-start;overflow:hidden}
.id-group{flex:0 1 auto;overflow:visible;min-width:0}
@media(max-width:600px){header .place{display:none!important}}
@media(max-width:380px){header .brand{font-size:15px;padding:8px 9px}#idGroup #playerStatus{gap:4px;padding:9px 8px 9px 3px}#idGroup #playerStatus b,#idGroup #playerStatus strong{font-size:11px}.id-group #profileOpen{min-width:50px;padding:9px 6px 9px 10px}}
@media(max-width:340px){header .brand{font-size:0!important;padding:8px 12px}header .brand span{font-size:20px}}
.revenue-total{font-weight:700;color:#1f4d3c;background:#e8f2e3;border-radius:10px;padding:8px 10px;font-size:12px}
.flight-map{display:block;width:100%;height:auto;border-radius:14px;margin:8px 0;background:#cfe3ea}
.airport-list{display:grid;gap:8px}.airport-row{display:grid;grid-template-columns:1fr auto auto;gap:8px;align-items:center;padding:10px;border-radius:12px;background:#fffef8;border:1px solid #dde2d8}.airport-row b{display:block;font-size:14px}.airport-row small{font-size:11px;color:#4f6466}.airport-row button{min-height:42px;padding:8px 12px;font-size:12px;border-radius:10px}.airport-row.soon{opacity:1;background:#f1f1ea}.soon-tag{font-size:11px;color:#5b5b50;background:#e6e5da;border-radius:8px;padding:6px 8px;white-space:nowrap}
.airport-button{background:#1f5aa6!important;color:#fff!important;border:0!important;font-weight:700}
.send-popup .leaflet-popup-content{margin:10px}.send-popup button{min-height:40px}
/* 비활성 버튼: 투명도로 흐리게 하면 글자가 배경과 같아진다 → 명시 색(명암비 4.5:1 이상) + 점선 테두리 */
button:disabled,button[disabled]{opacity:1!important;background:#e4e7e0!important;color:#4f5c5d!important;border:1px dashed #a9b5ae!important;box-shadow:none!important;cursor:not-allowed}
/* 알림: 도크 위 왼쪽(오른쪽의 「내 위치」와 겹치지 않게) · 2026-10-12 UX2 MAP-7: 오른쪽 자리를 132px로 못 박아 「My character」(149px · 320px 영어)와 겹쳤다 → 그 단추의 실제 폭(--street-w · hud-layout) + 24px */
#toast{z-index:3200!important;top:auto!important;bottom:calc(var(--dock-top,96px) + var(--trip-h,0px) + 12px)!important;left:12px!important;right:calc(var(--street-w,108px) + 24px)!important;transform:none!important;max-width:none!important;width:auto!important;text-align:left;border-radius:14px!important}
body.playing #toast,body.panel-open #toast{right:12px!important}

/* v21 사실적 캐릭터 안내 */.wardrobe-style-note{margin:4px 0 8px;padding:8px 10px;border-radius:10px;background:#eef3ea;color:#27434b;font-size:12px;line-height:1.45}.settings-hint{margin:6px 0 0;font-size:12px;line-height:1.45;color:#44585b}
.summit-actions{position:absolute;bottom:max(65px,calc(env(safe-area-inset-bottom) + 24px));left:50%;transform:translateX(-50%);width:min(340px,calc(100% - 32px));display:flex;flex-direction:column;gap:8px;align-items:stretch}.summit-actions #leaveSummit{position:static;transform:none}.summit-actions #summitDecor{pointer-events:auto;background:#f7f5ee;color:#1f3f45;border:1px solid #b8c0b4}.summit-actions button{min-height:48px}
/* v21 택시: 승차 버튼 · 탑승 패널 · 미터기 */
.taxi-button{min-height:44px;padding:8px 12px;border-radius:14px;background:#f5c518!important;color:#1d1a0a!important;font-weight:700;font-size:13px;border:1px solid #b99200}
.ride-panel{pointer-events:auto;background:#fffdf3;border:1px solid #d9c56a;border-radius:14px;padding:10px 12px;box-shadow:0 6px 18px rgba(0,0,0,.18);color:#1f2a2c;max-width:min(300px,calc(100vw - 32px))}.ride-panel b{font-size:14px}.ride-panel p{margin:4px 0;font-size:12px;line-height:1.4}.ride-panel div{display:flex;gap:6px;margin-top:6px}.ride-panel button{flex:1;min-height:40px;font-size:12px}
.trip-meter{margin:4px 0 6px;padding:6px 8px;border-radius:9px;background:#fff6c9;color:#3a3000;font-weight:700;font-size:12px}.trip-meter.low{background:#ffe0d6;color:#8a1f0b}
.send-popup small{display:block;margin-bottom:6px;color:#2c3c3f;font-size:12px;line-height:1.4}
body[data-phase=summit] #hudLeft{display:none}/* 정상 둘러보기 제목 카드와 겹치지 않게 */
/* v21 공항버스 단계 */
.country-panel{margin:10px 0;border:1px solid #cfd8d2;border-radius:12px;background:#fbfcf8;padding:4px 10px}.country-panel summary{min-height:40px;display:flex;align-items:center;font-weight:700;color:#1f3f45;cursor:pointer}.country-row{display:grid;grid-template-columns:1fr auto;gap:2px 8px;padding:8px 0;border-top:1px solid #e3e8e2}.country-row small{grid-column:1/-1;color:#44585b;font-size:12px;line-height:1.4}.country-status{font-size:11px;font-weight:700;color:#6b5b2a;background:#f4efdc;border-radius:8px;padding:2px 6px;align-self:center}.country-row.live .country-status{color:#1d5a3a;background:#dff1e4}
.airport-stage{display:flex;flex-direction:column;gap:8px;margin:6px 0 10px}.airport-stage button{min-height:46px}.airport-where{margin:0;padding:8px 10px;border-radius:10px;background:#eef3ea;color:#1f3f45;font-size:13px;line-height:1.45}.airport-preview{margin:6px 0 0;font-size:12px;font-weight:700;color:#44585b}
.bus-map{width:100%;height:auto;border-radius:12px;border:1px solid #b8c7c2;display:block}.bus-status{margin:0;font-weight:700;color:#1f3f45;font-size:13px}
.bus-choice{display:flex;flex-direction:column;gap:4px;padding:8px;border:1px solid #cfd8d2;border-radius:12px;background:#fbfcf8}.bus-choice small{color:#2c3c3f;font-size:12px;line-height:1.4}

/* v23 캐릭터 고르기: 성별 → 기본 외형 6종 */
.character-cards{display:block!important}.gender-seg{display:flex;gap:6px;margin:0 0 10px}.gender-seg button{flex:1;min-height:44px;border-radius:12px;background:#e9eee5;color:#27434b;font-weight:700;border:1px solid #c9d3c8}.gender-seg button.active{background:#264b4d;color:#fff;border-color:#264b4d}
.base-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.base-grid .character-card{display:flex;flex-direction:column;align-items:center;gap:3px;padding:8px 4px;border-radius:12px;background:#fbfcf8;border:1px solid #cfd8d2;min-height:0}.base-grid .character-card[aria-pressed=true]{border:2px solid #264b4d;background:#eef5ee}
.base-grid .character-card img,.base-grid .character-card i{width:64px;height:70px;border-radius:10px;object-fit:cover;display:block;background:#d6ded6}.base-grid .character-card b{font-size:13px;color:#1f3f45}.base-grid .character-card small{font-size:11px;color:#51656a;text-align:center}
.special-looks{margin-top:10px}.special-looks summary{min-height:40px;display:flex;align-items:center;font-size:13px;font-weight:700;color:#27434b;cursor:pointer}

/* v24 이메일 인증 단계 */.verify-box{display:flex;flex-direction:column;gap:8px;padding:10px;border:1px solid #cfd8d2;border-radius:12px;background:#fbfcf8}.verify-box input{font-size:22px;letter-spacing:.3em;text-align:center}

/* v24 관리자 도구 */.admin-tools{grid-column:1/-1;display:flex;flex-direction:column;gap:6px;margin-top:6px}.admin-tools input{min-height:40px}#adminMfaCode{font-size:22px;letter-spacing:.3em;text-align:center}
/* v24 상점·지갑 */.wallet-balance,.dialog p.wallet-balance{margin:4px 0 10px;padding:10px 12px;border-radius:12px;background:#264b4d;color:#fff;font-weight:700}.store-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:10px}.store-card{display:flex;flex-direction:column;gap:3px}.store-card button{min-height:48px;font-size:13px}.store-card small{font-size:11px;color:#51656a}
/* 👛 지갑 탭·내역·결제 확인 중(2026-10-10 결제 재감사) */div.wallet-balance{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px}div.wallet-balance b{font-size:17px}div.wallet-balance small{flex-basis:100%;font-weight:500;opacity:.85}.wallet-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:8px 0 10px}.wallet-tabs button{min-height:44px;font-size:13px;border-radius:10px}.wallet-tabs button.on{background:#264b4d;color:#fff}.wallet-checking{display:flex;flex-direction:column;gap:6px;margin:0 0 10px;padding:10px 12px;border-radius:12px;background:#fff6dd;border:1px solid #e8c766;color:#4a3a06}.wallet-checking button{min-height:44px}.wallet-history{list-style:none;margin:0 0 10px;padding:0;display:flex;flex-direction:column;gap:6px}.wallet-history li{display:grid;grid-template-columns:1fr auto;gap:2px 8px;padding:8px 10px;border-radius:10px;background:rgba(38,75,77,.06)}.wallet-history li small{grid-column:1/-1;font-size:11px;color:#51656a}.wallet-history .wh-in{color:#1d6b3a}.wallet-history .wh-out{color:#9b2c2c}/* 2026-10-12 settings audit S11: no hover-only tooltip or dotted underline for the balance - the profile balance is a real button (below) */
.legal-link{display:inline-flex;align-items:center;min-height:40px;margin-right:14px;color:#1f5a60;font-weight:700}
#memberModal .dialog>.close,#marketModal .dialog>.close{width:44px;min-height:44px;height:44px;margin:0}/* 모달 안 버튼 전체 폭 규칙에서 닫기(×)는 뺀다 */
/* v25 닫기(×) 자리: 모든 안내창의 제목·머리글이 오른쪽 위 닫기 버튼 밑으로 들어가지 않게 자리를 비운다 */.dialog>h2,.dialog>h1,.detail>h2,.dialog>header,.dialog>.eyebrow+h2{padding-right:56px}.dialog>.eyebrow,.detail>.eyebrow{max-width:calc(100% - 56px);justify-self:start}/* 알약(eyebrow)은 안쪽 여백 대신 폭 한도로 — 안쪽 56px가 라임 알약을 닫기 버튼 밑까지 늘였다(2026-10-06 UI 점검) */.dialog>.close,.detail>.close{z-index:2}

/* v25 광고 원본 보기 */.ad-dialog{width:min(560px,100%)}.ad-figure{margin:8px 0;background:#0e1718;border-radius:12px;overflow:hidden;display:flex;justify-content:center}.ad-figure img{max-width:100%;max-height:62vh;object-fit:contain;display:block}.ad-text{font-size:18px;font-weight:700;margin:6px 0}.ad-reward{font-weight:700;color:#256b48;min-height:1.4em}.ad-clicks{font-size:12px;color:#44585b;background:#eef3ea;border-radius:8px;padding:4px 8px}
/* v25 포인트 인포그래픽(안내) */.guide-card.ig{text-align:left}.ig h4{margin:12px 0 6px;font-size:13px;color:#27434b}.ig-earn{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:6px}.ig-chip{display:flex;flex-direction:column;gap:2px;padding:8px 10px;border-radius:10px;background:#e8f3ec}.ig-chip b{font:700 18px/1.1 ui-monospace,monospace;color:#256b48}.ig-chip span{font-size:12px;color:#34494d}
.ig-bars{display:flex;flex-direction:column;gap:5px}.ig-row{display:grid;grid-template-columns:86px 1fr 64px;align-items:center;gap:8px;font-size:12px}.ig-label{color:#34494d}.ig-track{height:12px;border-radius:6px;background:#e4eae5;overflow:hidden}.ig-fill{display:block;height:100%;border-radius:6px}.ig-fill.p{background:#256b48}.ig-fill.c{background:#4a58c9}.ig-val{font:700 12px ui-monospace,monospace;text-align:right;color:#1f3f45}.ig-note{grid-column:2/-1;color:#5a6d70;font-size:11px;margin-top:-3px}.ig-tip{margin:10px 0;padding:8px 10px;border-radius:10px;background:#fff6c9;font-size:12px;color:#3a3000}.ig-rules{margin:8px 0 0;padding-left:18px;font-size:12px;color:#34494d}
/* 2026-10-12 settings audit S01/S15/S16: points-at-a-glance is now its own tab in the points window - no card frame inside the window, no tracked caps label above the tab title, type steps from --fs-* tokens, digits in the app face with tabular figures (no monospace) */
#pointsModal .pg-card{margin:0 0 var(--sp-3);text-align:left}#pointsModal .pg-card>small{display:none}#pointsModal .pg-card>h3{margin:var(--sp-4) 0 var(--sp-2);font-size:var(--fs-sub);line-height:var(--lh-tight)}#pointsModal .pg-card>h3:first-of-type{margin-top:0}#pointsModal .pg-card p{margin:0 0 2px;font-size:var(--fs-small);line-height:var(--lh-body)}
.ig h4{font-size:var(--fs-small)}.ig-chip b{font-family:inherit;font-weight:800;font-size:var(--fs-title);line-height:1.1;font-variant-numeric:tabular-nums}.ig-chip span{font-size:var(--fs-small)}.ig-row{font-size:var(--fs-small)}.ig-val{font-family:inherit;font-weight:800;font-size:var(--fs-small);font-variant-numeric:tabular-nums}.ig-note{font-size:var(--fs-caption)}.ig-rules{font-size:var(--fs-small);line-height:var(--lh-body)}#pointsModal .ig .econ-note{font-size:var(--fs-small)}
#pointsGuideGo,#pointsPurseGo{width:100%;margin-top:var(--sp-3)}
/* 2026-10-12 settings audit S05: profile sign-out sits at the end of the sign-in group, apart from the language button (rule + 16px), quiet weight */
#profileModal .pt-logout{margin-top:var(--sp-4);padding-top:var(--sp-4);border-top:1px solid #dfe6dc}#profileModal .pt-logout[hidden]{display:none}#profileLogout{width:100%;margin:0}

/* 일본어: 한자를 일본어 글꼴로(한국어 글꼴로 그리면 모양이 다르다) */
:root:lang(ja) body,:root:lang(ja) input,:root:lang(ja) select,:root:lang(ja) button,:root:lang(ja) textarea{font-family:BCEmoji,system-ui,-apple-system,'Hiragino Sans','Hiragino Kaku Gothic ProN','Noto Sans JP','Yu Gothic','Meiryo',sans-serif}

/* 계정: 로그인/회원가입 탭 · 버튼 옆 오류 · 전체 동의 · 지도 로딩 */
.auth-tabs{display:grid;grid-template-columns:1fr 1fr;gap:6px;background:#eef1ea;border-radius:14px;padding:4px;margin:4px 0 14px}
.auth-tabs button{min-height:44px;border:0;border-radius:10px;background:transparent;font-weight:700;color:#4b5a5e}
.auth-tabs button[aria-selected="true"]{background:#fff;color:#17333c;box-shadow:0 1px 3px rgba(0,0,0,.12)}
.form-error{margin:8px 0 6px;padding:10px 12px;border-radius:10px;background:#fdecea;color:#9b1c1c;font-weight:600}
.all-agree{padding:10px 12px;border-radius:12px;background:#eef3ea;margin-bottom:4px}
.all-agree span{color:#5b6b6f;font-weight:400}
.account-state button{margin-top:10px;width:100%}
.city-loading{position:fixed;left:50%;top:45%;transform:translate(-50%,-50%);z-index:5;padding:12px 18px;border-radius:999px;background:rgba(23,51,60,.88);color:#fff;font-weight:700;pointer-events:none}
#registerBox>summary{display:none}/* 탭이 펼침을 맡는다 */
#accountStateText{display:block!important;margin:6px 0 0;color:#4b5a5e}
.claim-plan{margin:8px 0;padding:10px 12px;border-radius:12px;background:#eef3ea;color:#17333c;font-weight:600;white-space:pre-line}.claim-plan.landmark{background:#fdf1e3;color:#7a3e00}
#resultNote{white-space:pre-line}
.collection-empty{grid-column:1/-1;padding:28px 12px;text-align:center;font-weight:700;line-height:1.7;color:#17333c}

/* v26 작은 화면(2026-09-27 · 명세 §10): 하단 4칸 · 상단 바 접기 · 동작 영역 한 곳 · 안전 영역(좌우 노치 포함) */
:root{--sa-t:env(safe-area-inset-top,0px);--sa-r:env(safe-area-inset-right,0px);--sa-l:env(safe-area-inset-left,0px)}
#appDock{width:min(420px,calc(100% - 24px - var(--sa-l) - var(--sa-r)))}
#appDock>button{min-height:44px;overflow:hidden;padding:4px 2px}
#appDock .dock-label{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:clamp(10px,3.2vw,12px);line-height:1.2}/* 320px에서도 「Collection」「プロフィール」가 한 줄에 다 들어가게 · 더 좁으면(글자 확대) 말줄임 */
header{margin:0 var(--sa-r) 0 var(--sa-l)}
#hudLeft{margin-left:var(--sa-l);max-width:calc(100% - 24px - var(--sa-l) - var(--sa-r) - var(--right-w,56px))}
#hudRight{margin-right:var(--sa-r)}
#streetView{margin-right:var(--sa-r)}
.attribution{bottom:var(--safe-bottom);margin-left:var(--sa-l)}
#hudLeft .first-steps{width:300px}
/* 상단 바 접기 — hud-layout.mjs fitHeader()가 넘칠 때만 한 단계씩: ⓪ 로고 글자(장식 · 400px 이하와 같은 모양) ① 「?」(설정의 「사용 안내 다시 보기」로) ② 회원가입이 보이면 게스트 @닉네임 ③ Lv(포인트만 · Lv는 프로필에) */
header:not([data-tight="0"]) .brand b{display:none}
header:is([data-tight="2"],[data-tight="3"],[data-tight="4"]) .help-button{display:none!important}
header.with-signup:is([data-tight="3"],[data-tight="4"]) #profileOpen{display:none!important}header.with-signup:is([data-tight="3"],[data-tight="4"]) #idGroup #playerStatus{border-left:0;padding-left:12px}
header[data-tight="4"] #playerStatus b{display:none}
/* ⑤ 2026-10-11 「로그인 · 가입」이 넘치면 「로그인」만(로그인은 늘 보인다) — ①~④는 그대로 둔 채 */header[data-tight="5"] .help-button,header[data-tight="5"] .hood-chip,header.with-signup[data-tight="5"] #profileOpen{display:none!important}header.with-signup[data-tight="5"] #idGroup #playerStatus{border-left:0;padding-left:12px}header[data-tight="5"] #playerStatus b{display:none}
.signup-cta .cta-short,header[data-tight="5"] .signup-cta .cta-full{display:none}header[data-tight="5"] .signup-cta .cta-short{display:inline}
header #idGroup #playerStatus{min-height:44px}
/* 동작 영역: 도크(와 이동 카드) 바로 위 왼쪽 · 오른쪽 「내 위치」 폭만큼 비운다 */
#actionSlot{position:fixed;left:calc(12px + var(--sa-l));right:calc(var(--street-w,120px) + 24px + var(--sa-r));bottom:calc(var(--dock-top,96px) + var(--trip-h,0px) + 10px);z-index:30;display:flex;flex-direction:column-reverse;align-items:flex-start;gap:8px;pointer-events:none}
#actionSlot>*{position:static!important;transform:none!important;pointer-events:auto;max-width:100%}
#actionSlot>button{min-height:44px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#actionSlot #bikeGauge{width:min(220px,100%)}
#actionSlot [data-hud-off],body[data-actions-off] #actionSlot{display:none!important}
body.panel-open #actionSlot{visibility:hidden}body.playing #actionSlot{display:none}
#toast{bottom:calc(var(--dock-top,96px) + var(--trip-h,0px) + var(--action-h,0px) + 12px)!important}
.bike-pickup[data-near]{display:none!important}/* 20m 안 자전거: 동작 영역의 「자전거 타기」 하나만 */
@media(max-width:700px){.dialog{max-height:calc(min(100dvh,var(--app-h,100dvh)) - 36px - env(safe-area-inset-top) - var(--safe-bottom))}}
/* 🚲 멀리 볼 때 무료 자전거 묶음(2026-09-28 · 2분 배치) */.bike-cluster{display:grid!important;place-items:center;background:#237b64;color:#fff;border:2px solid #fff;border-radius:14px;font-size:12px;font-weight:800;box-shadow:0 1px 4px #0006;white-space:nowrap}
/* 🚕 멀리 볼 때 택시 승차장 묶음(2026-09-28 · 도보 6분 배치) */.taxi-cluster{display:grid!important;place-items:center;background:#f5c518;color:#111;border:2px solid #5a4a00;border-radius:14px;font-size:12px;font-weight:800;box-shadow:0 1px 4px #0006;white-space:nowrap}
/* 🚕 콜택시 확인 창(2026-09-28) */.call-price{font-size:22px;font-weight:800;margin:4px 0}.call-lines{margin:6px 0 12px;padding-left:18px;display:grid;gap:4px;font-size:14px}#callConfirm .dialog>button:not(.close){width:100%;margin-top:8px}
/* 🧭 v1.2 집중 탐색(2026-09-28 · 실행 명령서 §3): 하단 주변 · 소식 · 내 공간 · 더보기 — 칸 숫자(알림·미납)·새 소식 점 · 더보기 줄 · 내 공간 경고 · 레벨·포인트 안내 */
#appDock>button{position:relative}#appDock .dock-badge{position:absolute;top:2px;right:calc(50% - 24px);min-width:18px;height:18px;border-radius:9px;background:#d9534a;color:#fff;font-size:11px;line-height:18px;text-align:center;padding:0 4px;box-sizing:border-box;font-style:normal}#appDock .dock-dot{position:absolute;top:6px;right:calc(50% - 18px);width:9px;height:9px;border-radius:50%;background:#d9534a}#appDock .dock-badge:not([hidden])~.dock-dot{display:none}
body:not(.focus-nav) #appDock{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr)}/* 2026-09-28 리뷰 · 롤백 줄은 칸 수가 4~5개(관계 기능이 켜져 있으면 [소식]이 남는다) — 두 줄로 넘치지 않게 보이는 칸 수만큼 나눈다 */
body.focus-nav .moved-more,body.focus-nav #profileModal #inboxOpen,body.focus-nav #profileModal #contentHubOpen{display:none!important}/* 2026-09-28 리뷰: 새 하단 줄일 때만 계정 창에서 뺀다(더보기·내 공간·소식이 연다) — 롤백(FOCUSED_NAV_V1=0)이면 옛 계정 창의 성장·옷장·상점·내 건물(납부·미납)·광고·경매·알림함·공간 둘러보기가 그대로 보인다 */
.more-dialog,.space-dialog,.points-dialog{width:min(480px,100%)}.more-dialog input[type=search]{width:100%;box-sizing:border-box;min-height:44px;padding:10px 12px;border-radius:12px;border:1px solid #c9d3c7;background:#fff;margin:6px 0 4px}
.fn-group h3{margin:16px 0 8px!important;font-size:14px!important;color:#29434b}.fn-group{display:grid;gap:6px}
.fn-row{display:flex;align-items:center;gap:10px;width:100%;min-height:48px;margin:0;padding:8px 12px;text-align:left;border-radius:12px;background:#fff;border:1px solid #e3e9e0;color:#17333c}.fn-row .fn-ico{flex:0 0 auto;display:grid;place-items:center;font-size:24px;width:40px;height:40px;border-radius:12px;background:#eef3ec}.fn-sub{margin-top:4px}.phub[data-hub=more5]{grid-template-columns:1fr!important}.phub[data-hub=more5]>.phub-btn{min-height:72px}.fn-sub .fn-row{min-height:60px;padding:10px 12px}.fn-sub .fn-row .fn-text b{font-size:15px}.fn-row .fn-text{flex:1 1 auto;min-width:0;display:grid;gap:2px}.fn-row .fn-text b{font-size:14px;overflow-wrap:anywhere}.fn-row .fn-text small{font-size:12px;color:#556a70;overflow-wrap:anywhere}.fn-row .fn-soon{flex:0 0 auto;font-size:11px;font-weight:800;padding:2px 8px;border-radius:999px;background:#eef1ea;color:#556a70}.fn-row[aria-disabled=true]{opacity:1;cursor:not-allowed}.fn-row[aria-disabled=true] .fn-text b{color:var(--text-muted,#56686c)}/* 2026-10-12 REST: coming-soon rows used opacity .7 (note 3.0:1, chip 2.8:1) -> muted text, full opacity */
#spaceList{display:grid;gap:6px;margin:8px 0}.space-warn{margin:6px 0;padding:8px 12px;border-radius:12px;background:#fff1c9;color:#6b4c00;font-weight:800;font-size:13px}
.points-summary{display:grid;gap:6px;padding:12px;border-radius:14px;background:#eef4ec;margin:8px 0}.points-summary strong{font-size:16px}.points-summary b{font-size:22px}.points-summary progress{width:100%}.points-summary p{margin:0;font-size:12px;color:#445a60}.points-rules p{margin:6px 0;font-size:13px;line-height:1.5}.points-dialog>button:not(.close){width:100%;margin-top:8px}
/* 🧭 상단 바(2026-09-28 · v1.2 §3): 지금 동네 · @계정 · Lv·P — 설정·「?」는 더보기로(숨긴 채 남긴다 · 핸들러 그대로) */
body.focus-nav header #settingsOpen,body.focus-nav header .help-button,body.focus-nav header .place{display:none!important}
header .hood-chip{display:flex;align-items:center;gap:4px;flex:1 1 auto;min-width:0;max-width:40%;min-height:44px;margin-right:auto;padding:8px 10px;border:0;border-radius:14px;background:#f5f4eae8;color:#173c3f;font:inherit;font-size:12px;font-weight:800;white-space:nowrap;overflow:hidden;cursor:pointer;box-shadow:none}header .hood-chip:focus-visible{outline:3px solid var(--focus-ring,#227dbe);outline-offset:2px}header .hood-chip #hoodCity{overflow:hidden;text-overflow:ellipsis}header .hood-chip[hidden]{display:none}header .hood-chip[data-only-region] #hoodCity{display:none}
@media(max-width:360px){header .hood-chip{max-width:30%;padding:8px 6px;font-size:11px}}
header .hood-chip .hood-ic{display:none}header .hood-chip.hood-moving .hood-region{display:none}/* 이동 중 칩엔 지금 동네 꼬리(「· 송파구」)를 붙이지 않는다(목적지와 섞여 읽혔다) */header:is([data-tight="2"],[data-tight="3"],[data-tight="4"]) .hood-chip{flex:0 0 44px;width:44px;max-width:44px;padding:0;justify-content:center}header:is([data-tight="2"],[data-tight="3"],[data-tight="4"]) .hood-chip>:not(.hood-ic){display:none!important}header:is([data-tight="2"],[data-tight="3"],[data-tight="4"]) .hood-chip .hood-ic{display:inline-block}/* 상단이 넘치면 동네 이름부터 접는다(계정·Lv·P가 먼저 · hud-layout fitHeader가 한 단계씩) · 2026-10-13 설계 §5.3: 숨기지 않고 아이콘 단추(44px · 누르면 장소 검색 · 이름은 옆 #regionLabel) */
/* 🏠 기본 아지트로(1.5 §7 · 준비 중 자리) — 오른쪽 도구 묶음 맨 아래 */
#hudRight .home-return{pointer-events:auto;display:grid;justify-items:center;gap:1px;min-height:44px;min-width:44px;max-width:88px;margin:0;padding:6px 8px;border-radius:14px;color:#173c3f;text-align:center;line-height:1.15}#hudRight .home-return .hr-ico{font-size:18px;line-height:1}#hudRight .home-return .hr-text{display:grid}#hudRight .home-return b{font-size:11px;overflow-wrap:anywhere}#hudRight .home-return small{font-size:10px;color:#556a70;font-weight:800}#hudRight .home-return[aria-disabled="true"]{opacity:.8}/* 세로 타일 — 「전체 지도」보다 넓어지지 않게(왼쪽 안내 칸 폭 --right-w를 줄이지 않는다) */
/* 🏠 운영 기간(2026-09-28 · 1.4): 건물 카드 취득 · 내 공간 목록 · 내 아지트 화면 — 좁은 화면(320px)에서도 줄바꿈 */
.op-acquire{display:grid;gap:6px;margin:8px 0;padding:10px 12px;border:1px solid #cfe3d8;border-radius:14px;background:#f3fbf6}
.op-acquire .op-start,.op-acquire .op-go{width:100%;min-height:44px}
.op-note{margin:4px 0;font-size:13px;color:#2c4a52;overflow-wrap:anywhere}
.op-list{display:grid;gap:10px;margin:10px 0}
.op-head{margin:0}
.op-card{display:grid;gap:4px;padding:12px 14px;border:1px solid #dce1d6;border-radius:16px;background:#fffef9}
.op-card h3{margin:0;font-size:15px;overflow-wrap:anywhere}
.op-card strong{font-size:14px;overflow-wrap:anywhere}
.op-card small{font-size:12px;color:#51656b;overflow-wrap:anywhere}
.op-card button{justify-self:start;min-height:44px;margin-top:4px}
.op-card.op-warn{border-color:#e7b25a;background:#fff8ec}
.op-card.op-legacy{opacity:.85}
.op-modal{z-index:110;inset:0;display:grid;place-items:center}
.op-dialog{width:min(440px,100%);display:grid;gap:8px}
.op-dialog h2{margin:0;overflow-wrap:anywhere}
.op-state{display:grid;gap:2px}
.op-actions{display:flex;flex-wrap:wrap;gap:8px}
.op-actions button{flex:1 1 140px;min-height:44px}
.op-ttl{font-variant-numeric:tabular-nums}
.op-dialog h2,.op-card h3,.op-card strong{word-break:keep-all}
/* 🏠 1.7 건물 운영권 확인 창·건물 시트(2026-09-29): 핵심 줄 · 현실 권리 구분 · 자세히 · 화면별 「도움말」 텍스트 버튼(44px) */
.op-line{display:block;margin:2px 0;font-size:14px}.op-where{margin:0;font-weight:700;overflow-wrap:anywhere}.op-rights{margin:4px 0;padding:8px 10px;border-radius:10px;background:#eef6f0;font-size:13px;color:#21473f;overflow-wrap:anywhere}.op-more>summary{min-height:44px;display:flex;align-items:center;font-weight:700;cursor:pointer}.op-more .op-note{margin:4px 0}.op-acquire .op-eta,.op-acquire .op-guide{display:block}
.text-help{min-height:44px;padding:0 6px;border:0;background:transparent;color:#1f5f58;text-decoration:underline;font-weight:700;font-size:14px;justify-self:start}
/* 🖐 2026-09-30 네이티브 점검 B3: 3D 거리를 끌면 iOS가 화면 글자(안내·「자전거 4분 0초」)를 파란 손잡이로 골랐다 — 게임 화면은 고르기·길게 누르기 메뉴를 끄고, 글자 입력칸과 창 안의 읽을 글(문단·목록·표)만 고를 수 있게 둔다 */
body{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
input,textarea,select,[contenteditable="true"],.dialog :is(p,li,dd,dt,blockquote,pre,code,td,th,article),.selectable{-webkit-user-select:text;user-select:text;-webkit-touch-callout:default}
.dialog :is(button,summary,label,[role="button"]),.dialog :is(button,summary,label,[role="button"]) *{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
/* 🏠 2026-09-30 B9: 안드로이드(Noto Sans KR)에서 「기본 아지트로」가 칸(88px − 좌우 8px)보다 2px 넓어 「기본 아지트 / 로 / 준비 중」 세 줄이 됐다(iOS는 한 줄) — 좌우 여백을 줄이고 낱말 중간에서 끊지 않는다(ko 74px · ja 「基本アジトへ」 · en 「Home base」 모두 한 줄 · 큰 글자 설정이면 칸이 조금 넓어진다) */
#hudRight .home-return{padding:6px 4px;max-width:104px}#hudRight .home-return b{white-space:nowrap;overflow-wrap:normal;word-break:keep-all}#hudRight .home-return small{white-space:nowrap}
/* ⌨️ 2026-09-30 B2: 안드로이드에서 키보드를 뒤로가기로 내리면 웹뷰가 먼저 커지고 새 화면은 한두 프레임 늦게 온다 — 그 틈은 문서 바탕색으로 칠해져 창 아래가 빈 하늘색(#c5d7df)으로 보였다. 창이 떠 있는 동안은 바탕을 창 뒤 어두운 막 색으로 둔다(도시 그리기는 district.mjs가 초당 4번으로 줄여 새 프레임이 빨리 온다) */
html:has(body.panel-open),html:has(body .modal:not([hidden])){background:#5f767d}
/* 🔤 건물 이름표·칩: 언어별 간판체(sign-font.mjs가 --sign-font를 지금 언어로 채운다 · 없으면 원래 글꼴) · 2026-09-30 */
.world-label{font-family:var(--sign-font,inherit)}
.data-dialog .font-credit a{display:inline;margin:0}
/* 🧸 치비 캐릭터 고르기(2026-10-03): 8종 카드 4열 · 색 변형·칸 색 칩(누르기 44px) */
.chibi-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.chibi-grid .character-card img{aspect-ratio:1/1.1;object-fit:cover}
@media (max-width:360px){.chibi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.chibi-row{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:10px 0 0}.chibi-row>small{flex:0 0 100%;font-weight:800;color:#51666a}
/* 🧸 2026-10-12 UX2 CH-03: 변신 의상 머리 줄(이름 · 보유 P 한 줄) · 지도에서 보기 · 내 캐릭터 칸 안의 같은 제목(h3) 숨김(칸 제목이 이미 「내 캐릭터」) */
.chibi-row-head{flex:0 0 100%;display:flex;align-items:baseline;justify-content:space-between;gap:8px}.chibi-row-head small{font-weight:800;color:#51666a}.chibi-row-head .chibi-have{font-weight:700;color:#46606a}.chibi-see{display:block;width:100%;min-height:44px;margin:12px 0 0}.ptab-panel>#characterPick>h3{display:none}
/* 🙂 2026-10-12 UX2 CH-04 프로필 칸 정리: 칸 제목(아이디 변경 · 키 · 조작 …)과 같은 접기 머리(summary)를 또 보이지 않는다(칸을 열면 늘 펼침 · panel-tabs open) · 로그인 칸은 같은 회원 창을 여는 단추 하나(「계정 관리」/「로그인 · 회원가입」 · 「회원 · 서버 동기화」도 같은 창이었다) · 로그아웃은 한 줄 가득 */
#profileModal .ptab-panel>details>summary,#profileModal .pt-sec>details>summary{display:none}#profileModal .ptab-panel #memberOpen{display:none}#profileModal .ptab-panel>#profileLogout{display:block;width:100%;margin-top:10px}
.chibi-swatch{width:44px;height:44px;min-height:44px;border-radius:50%;border:2px solid #fff;box-shadow:0 0 0 1px #c8d2cd;padding:0;cursor:pointer}.chibi-swatch[aria-pressed="true"]{box-shadow:0 0 0 3px #16866f}
/* 🎃 변신 의상 카드(2026-10-04) — 섬네일 + 이름 · 고른 것 초록 테두리 */
.chibi-outfit{display:flex;flex-direction:column;align-items:center;gap:2px;width:76px;min-height:44px;padding:4px;border-radius:12px;border:1px solid #c8d2cd;background:#fff;cursor:pointer;font:inherit;font-size:12px;font-weight:700;color:#24363a}.chibi-outfit img{width:64px;height:64px;border-radius:10px;object-fit:cover;background:#eef1ef}.chibi-outfit>i{display:grid;place-items:center;width:64px;height:64px;font-style:normal;font-size:30px;border-radius:10px;background:#eef1ef}.chibi-outfit[aria-pressed="true"]{border-color:#16866f;box-shadow:0 0 0 2px #16866f}
.chibi-slot{min-height:44px;padding:0 12px;border-radius:999px;border:1px solid #c8d2cd;background:#fff;font-weight:700}.chibi-slot.active{background:#093329;color:#d5ff6b;border-color:#093329}
/* 🏷 머리 위 이름표(2026-10-04): 내 것은 연두 판 + 진한 테두리 · 다른 회원은 청록 판 · 이름은 굵게 · 상태 한 마디는 가늘게 · 12자 넘으면 … */
.player-label.name-me{max-width:200px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;border-color:#0f4d36}.player-label .nl-name,.peer-label .nl-name{font-weight:900}.player-label .nl-st{font-weight:600;opacity:.85}.peer-label .nl-tag{font-weight:700;opacity:.9}

/* 🧗 더보기 「등반 챌린지」로 연 도시 창(2026-10-04): 공간 목록은 숨기고 오를 건물 목록부터 */
#exploreModal.explore-climb .explore-dialog>*:not(.close):not(.eyebrow):not(h2):not(#climbNote):not(#quickBuildings):not(.climb-keep):not([class*="back"]){display:none!important}
/* ✋ 2026-10-04 오너 「핸드폰에서 드래그 회전·확대가 제대로 안 됨」: 3D 도시(#world) 안에서는 이름표·접근 칩 위에서 시작한 손가락도 브라우저가 화면 이동·페이지 확대로 가져가지 않게(손동작은 district-world가 #world에서 직접) */
#world,#world *{touch-action:none}

/* 🏷 2026-10-04 오너 「아직도 글씨들이 캐릭터랑 지도를 많이 가리는데 해결」: 사람 이름표(나·회원) = 머리 바로 위 작은 알약 · 40px 판·5px 후광·20px 줄기 대신 작은 꼬리 · 움직일 땐 글자 대신 탈것 아이콘만(name-label) */
.world-label.player-label.name-me{min-height:0;max-width:none;overflow:visible;padding:2px 8px;font-size:11px;line-height:16px;border-width:1.5px;border-radius:999px;box-shadow:0 1px 4px #0003;transform:translate(-50%,calc(-100% - 5px))}
.world-label.player-label:after{top:100%;width:0;height:0;background:none;border:4px solid transparent;border-top-color:#0f4d36;border-bottom:0;transform:translateX(-50%)}
.player-label .nl-ic,.peer-label .nl-ic{font-weight:400}
body .peer-label{font-size:11px!important;line-height:16px;padding:2px 8px!important;border-width:1.5px!important;white-space:nowrap;transform:translate(-50%,calc(-100% - 5px))!important}
body .peer-label::after{bottom:-5px;border-width:4px;border-bottom:0}
/* 📍 이동 중 「내 위치」 = 아이콘 동그라미(44px) · 💬 대화도 아이콘만 · 둘 다 오른쪽 끝, 이동 막대 바로 위에 세로로(가운데 캐릭터를 비운다) */
body.traveling #streetView{width:44px;height:44px;padding:0;justify-content:center;gap:0;font-size:0;border-radius:22px}
body.traveling #streetView svg{width:22px;height:22px}
/* 2026-10-12 L01: a long label (ja 390 / en 320) covered the dock handle -> round icon button while it would overlap (hud-layout measure) */
body.street-compact #streetView{width:48px;padding:0;justify-content:center;gap:0;font-size:0}
body.traveling .ch-dock{bottom:calc(max(var(--dock-top,96px),44px + env(safe-area-inset-bottom)) + var(--trip-h,0px) + 62px)!important;min-width:44px;justify-content:center;padding:6px 10px}
body.traveling .ch-dock .ch-dock-label{display:none}
body.traveling #streetView,body.traveling #actionSlot{bottom:calc(max(var(--dock-top,96px),44px + env(safe-area-inset-bottom)) + var(--trip-h,0px) + 14px)!important}
/* 🏢 건물 접근 칩(◎ 접근 · 직선 34m)도 작게(2026-10-04 오너 「글씨들이 캐릭터랑 지도를 가린다」): 판·여백·후광 줄임 · 이동 중에는 고른 건물·튜토리얼 칩만(이동 중엔 바로 쓸 수 없는 안내라 지도를 비운다) */
.world-label.approach-point{min-height:32px;padding:5px 9px;font-size:10px;border-width:1.5px;box-shadow:0 1px 4px #2345362b}
body.traveling .world-label.approach-point:not(.selected):not(.tutorial-pick):not(.practice-pick),body.traveling .world-label.intro-sign:not(.selected){display:none!important}
/* 🙂🔔 2026-10-05 SNS로 보이게: 위쪽 = 프로필(첫 글자) + 알림함 · Lv·P는 숨김(P는 더보기 › 포인트 · 지갑) */
.hud-avatar{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#C6FA49;color:#093329;font-weight:800;font-size:12px;margin-right:6px;vertical-align:middle}#playerStatus{position:relative}#playerStatus .hud-bell{font-size:18px;line-height:1}.hud-bell-count{position:absolute;top:2px;right:0;min-width:16px;height:16px;border-radius:8px;background:#d9534a;color:#fff;font-size:10px!important;display:grid;place-items:center;padding:0 4px}.hud-bell-count[hidden],#playerStatus #hudLevel[hidden],#playerStatus #hudPoints[hidden]{display:none!important}
#postTab{color:var(--deep,#0b3a2e)!important;font-weight:800}#postTab svg{width:34px;height:34px;padding:7px;margin-top:-6px;border-radius:50%;background:var(--deep,#0b3a2e);color:var(--lime,#c6f24e);box-shadow:0 2px 0 #03231b}
.form-error.ok-note{background:#e8f5e9!important;color:#1b5e20!important;border-left-color:#43a047!important}
html[lang="ko"] body{word-break:keep-all;overflow-wrap:anywhere}
#appDock .dock-label{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.15;text-overflow:clip;padding-bottom:1px}
#appDock>button{overflow:visible;gap:3px}
/* 2026-10-12 L02: ja dock label broke inside a word (390: "マイスペー/ス") -> one line, a little smaller and tighter (ja labels are short words) */
html[lang="ja"] #appDock .dock-label{display:block;white-space:nowrap;font-size:clamp(9px,2.8vw,11px);letter-spacing:-.03em;text-overflow:clip}
html[lang="ja"] body{line-break:strict;overflow-wrap:anywhere}

/* 2026-10-09 full map: my position above every marker, larger, labelled */
.map-me{position:relative;pointer-events:none}.map-me .map-me-dot{position:absolute;left:8px;top:8px;width:18px;height:18px;border-radius:50%;background:#C6FA49;border:3px solid #093329;box-shadow:0 0 0 3px #fff,0 2px 8px #0006}.map-me .map-me-ring{position:absolute;left:0;top:0;width:34px;height:34px;border-radius:50%;background:#C6FA4966;animation:mapMe 1.8s ease-out infinite}.map-me .map-me-tag{position:absolute;left:50%;top:-18px;transform:translateX(-50%);padding:1px 7px;border-radius:9px;background:#093329;color:#C6FA49;font-size:11px;font-weight:800;white-space:nowrap}@keyframes mapMe{0%{transform:scale(.6);opacity:1}100%{transform:scale(1.6);opacity:0}}@media (prefers-reduced-motion:reduce){.map-me .map-me-ring{animation:none}}
/* 🗂 2026-10-12 UX2 CH-07: 프로필 묶음 안 소제목(더 접지 않는다 · 깊이 2단계) · 다른 창으로 가는 단추 */
#profileModal .pt-sec{margin:14px 0 0}#profileModal .pt-sec:first-child{margin-top:0}#profileModal .pt-sub{margin:0 0 8px;font-size:var(--fs-sm,14px);font-weight:800;color:#17333c}#profileModal .pt-sec .profile-summary{margin:0}#profileModal button.pt-go{display:block;width:100%;min-height:44px;margin:10px 0 0}#profileModal .phub:not(.phub-dense){grid-template-columns:minmax(0,1fr)}#profileModal .phub .phub-hint.tf-off{position:static!important;width:auto!important;height:auto!important;clip:auto!important;display:block;text-overflow:ellipsis}/* 네 묶음은 한 줄에 하나 · 지금 값 한 줄은 넘치면 숨기지 않고 … 로(묶음의 요약이 곧 내용) */#profileModal .pt-sec>details{margin:0}
/* 2026-10-12 settings audit S11: profile balance = a real button (held amount | open wallet), 44px or more, the amount keeps the large summary figure */
#profileWallet.profile-wallet{display:flex;align-items:center;justify-content:space-between;gap:var(--sp-3);width:100%;min-height:var(--tap);margin:6px 0;padding:6px 12px 6px 14px;border-radius:var(--r-md);border:1.5px solid #b9cbb8;background:#f8fbf3;color:#093329;text-align:left;font:inherit;cursor:pointer}
#profileWallet .pw-bal{display:flex;align-items:baseline;gap:6px;min-width:0}#profileWallet .pw-bal small{font-size:var(--fs-small);font-weight:700;color:var(--text-muted)}#profileWallet .pw-bal b{display:inline;margin:0;font-size:var(--fs-title);font-variant-numeric:tabular-nums}#profileWallet .pw-go{flex:none;font-size:var(--fs-btn-sm);font-weight:800;white-space:nowrap}#profileWallet .pw-go::after{content:"";display:inline-block;width:7px;height:7px;margin-left:8px;border-right:2px solid currentColor;border-top:2px solid currentColor;rotate:45deg;translate:0 -1px}#profileWallet:active{background:#eef4ea}#profileWallet .pw-bal b{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media (max-width:360px){#profileWallet.profile-wallet{padding:6px 10px 6px 12px;gap:var(--sp-2)}#profileWallet .pw-bal b{font-size:var(--fs-sub)}#profileWallet .pw-go::after{margin-left:6px}}
/* 2026-10-13 IA (profile / More > Me · Settings / Manage account / App settings): one name = one screen
   My character (#profileModal): only the character section shows with focus-nav; hidden storage buttons stay in the DOM (isAdmin() reads #adminOpen.hidden, so it is hidden by CSS only) — rollback (no focus-nav) still shows the legacy buttons */
body.focus-nav #profileModal :is(.profile-summary,.rename-settings,#memberOpen,#adminOpen,.dialog>hr){display:none!important}
#profileModal button.pt-go{display:flex;align-items:center;justify-content:center;gap:8px}
/* More > Me · Settings: sub-headings (h3 + role=group) · avatar initial for My profile · guest card · search-only rows show where they live */
.fn-me{gap:6px}.fn-subgroup{display:grid;gap:6px}.fn-subgroup+.fn-subgroup{margin-top:10px}
.fn-group .fn-cap{margin:6px 2px 2px!important;font-size:var(--fs-small,12.5px)!important;font-weight:800;color:var(--text-muted,#56686c)!important}
.fn-row .fn-ico:has(.fn-av){background:none}.fn-row .fn-av{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:var(--lime,#c8f04a);color:#093329;font-size:18px;font-weight:900}
.fn-row .fn-text .fn-path{color:#2c5a4f;font-weight:700}
.fn-guest{display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px 12px;align-items:center;margin:0 0 4px;padding:14px;border-radius:16px;background:#0f2f2a;color:#fff}
.fn-guest-av{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#ffffff1f;color:var(--lime,#c8f04a)}
.fn-guest-t{display:grid;gap:2px;min-width:0}.fn-guest-t b{font-size:15px;overflow-wrap:anywhere}.fn-guest-t small{font-size:12.5px;color:#d9e6df;overflow-wrap:anywhere}
#moreModal .fn-guest .fn-guest-t small{color:#dce9e2!important}#moreModal .fn-guest .fn-guest-go{grid-column:1/-1;width:100%;min-height:48px;margin:0;background:var(--lime,#c8f04a)!important;border-color:var(--lime,#c8f04a)!important;color:#093329!important}
@media (max-width:359px){.fn-guest{grid-template-columns:minmax(0,1fr)}.fn-guest-av{display:none}}
/* Manage account: account card · sub-headings · one <details> per row (opens in place, chevron from brand.css) · log out once at the bottom · delete apart, red text + trash icon */
#memberModal .acct-card{display:flex;align-items:center;gap:12px;margin:4px 0 4px;padding:12px;border-radius:16px;background:#fff;border:1px solid #e3e9e0}
#memberModal .acct-av{display:grid;place-items:center;flex:none;width:44px;height:44px;border-radius:50%;background:var(--lime,#c8f04a);color:#093329;font-weight:900;font-size:18px}
#memberModal .acct-who{display:grid;gap:2px;min-width:0}#memberModal .acct-who b{font-size:16px;overflow-wrap:anywhere}#memberModal .acct-who small{font-size:12.5px;color:#556a70;overflow-wrap:anywhere}
#memberModal .acct-cap{margin:16px 2px 6px;font-size:var(--fs-small,12.5px);font-weight:800;color:var(--text-muted,#56686c)}
#memberModal .acct-rows{display:grid;border:1px solid #e3e9e0;border-radius:14px;background:#fff;overflow:hidden}#memberModal .acct-rows:empty{display:none}
#memberModal .acct-row{margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important}
#memberModal .acct-rows>.acct-row+.acct-row{border-top:1px solid #e3e9e0!important}
#memberModal .acct-row>summary{gap:12px;min-height:56px!important;margin:0!important;padding:8px 40px 8px 12px!important;border:0!important;border-radius:0!important;background:none!important;color:#17333c;font-weight:700}
#memberModal .acct-row[open]>summary{background:#f4f8f0!important}
#memberModal .acct-ri{display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:10px;background:#eef3ec;color:#17333c}
#memberModal .acct-rt{display:grid;gap:1px;min-width:0}#memberModal .acct-rt b{font-size:15px;overflow-wrap:anywhere}#memberModal .acct-rt small{font-size:12px;font-weight:500;color:#556a70;overflow-wrap:anywhere}
#memberModal .acct-body{padding:4px 12px 14px 60px}#memberModal .acct-body>button,#memberModal .acct-body .es-account>button{width:100%}#memberModal .acct-body .es-account{margin:0;padding:0;border:0;background:none}
#memberModal .acct-logout{display:flex;align-items:center;justify-content:center;width:100%;min-height:48px;margin:18px 0 0}
#memberModal .acct-sep{margin:16px 0;border:0;border-top:1px solid #dfe6dc}
#memberModal .acct-row.acct-danger{border:1px solid #e9b8b1!important;border-radius:14px!important;background:#fff!important;overflow:hidden}
#memberModal .acct-danger>summary b{color:#b3261e}#memberModal .acct-danger .acct-ri{background:#fdf1ef;color:#b3261e}
@media (max-width:359px){#memberModal .acct-body{padding-left:12px}}
/* App settings: sub-sections inside a tab (start-up rows under Display · recommendation) · search hit */
#settingsModal .settings-sub{margin:14px 0 0;padding-top:12px;border-top:1px solid #e3e9e0}#settingsModal .settings-sub[hidden]{display:none}
#settingsModal .pt-sub{margin:0 0 6px;font-size:var(--fs-sm,14px);font-weight:800;color:#17333c}
#settingsModal #recoSettings>.settings-sub:not([hidden]){border-top:0;padding-top:0;margin-top:6px}#settingsModal #recoSettings[hidden]{display:none}
.find-hit{outline:3px solid var(--focus-ring,#227dbe);outline-offset:3px;border-radius:10px;transition:outline-color .3s}
@media (prefers-reduced-motion:reduce){.find-hit{transition:none}}
/* Guide center: back to the More list · bottom row (first-run guide · support · mail) */
.gc .gc-back{position:static!important;inset:auto!important;display:inline-flex;align-items:center;gap:4px;min-height:44px;margin:10px 12px 0 16px!important;align-self:flex-start;width:auto}
.gc .gc-foot{display:grid;gap:8px;margin:20px 0 4px}.gc .gc-foot>*{width:100%!important;max-width:none!important}.gc .gc-foot .help-act{display:flex;align-items:center;justify-content:center;min-height:48px;margin:0;border-radius:14px;text-decoration:none;font-weight:800;box-sizing:border-box}
