/* w-clean — 정리와 다듬기: 쓰지 않는 버튼(분신술·순간이동·점프·내 위치)과 펫을 덜어 내고, 로드스터와 하늘 탈것을 '탈것' 하나로
   묶었어요. 남은 버튼·안내는 같은 모양(아이콘 + 짧은 이름)으로, 색은 차분하게, 휴대폰에서도 읽히는 크기로 맞춰요.
   토큰은 design-v823.css (--ot-p, --ot-m, --ot-grad, --ot-ink, --ot-sub, --ot-soft, --ot-line)를 그대로 써요. */

/* 1. 오른쪽 버튼 줄: 아이콘 아래 이름을 늘 보여 줘요 (휴대폰·PC 같은 모양) */
.map-actions button.ui-btn{width:52px!important;height:50px!important;display:grid!important;place-items:center;align-content:center;gap:3px!important;padding:0!important}
.map-actions .ui-btn .ui-i{width:20px!important;height:20px!important;stroke-width:1.8}
.map-actions .ui-btn .ui-l{display:block!important;font:600 10.5px/1 system-ui,-apple-system,"Apple SD Gothic Neo",sans-serif!important;letter-spacing:-.02em!important;color:rgba(245,241,230,.72)!important;white-space:nowrap}
.map-actions .ui-btn.on .ui-l,.map-actions .ui-group[aria-expanded="true"] .ui-l{color:#3a2a08!important}
.map-actions .ui-btn.on{box-shadow:0 0 0 2px rgba(242,195,91,.18),inset 0 -2px 0 rgba(120,80,10,.3)!important}
.map-actions{gap:4px!important}
/* 이름이 늘 보이니 마우스를 올렸을 때 뜨던 이름표는 겹치지 않게 감춰요 */
.rail-tip{display:none!important}

/* 2. 엄지 버튼 (공격 · 무기): 색을 한 톤 낮추고 글자를 또렷하게 */
.action-cluster .g-fire{box-shadow:0 10px 24px rgba(90,14,20,.32),0 0 0 3px rgba(201,163,94,.35)!important}
.action-cluster .ui-l{font-weight:700!important;letter-spacing:-.01em}
@media(max-width:720px){.action-cluster .ui-l{font-size:11px!important}}

/* 3. 탈것 시트: 길에서(로드스터) · 하늘로(가마·수레·연·하늘 로드스터). 흰 시트, 얇은 선, 이모지는 작은 원 안에 */
#sky-menu{z-index:40!important;width:260px!important;padding:14px!important;gap:6px!important;background:#fff!important;color:var(--ot-ink)!important;border:1px solid var(--ot-line)!important;border-radius:20px!important;box-shadow:0 24px 60px rgba(13,17,23,.24)!important}
#sky-menu .sky-head{display:flex;align-items:center;justify-content:space-between;margin:0 0 2px}
#sky-menu .sky-head b{font:800 17px/1.2 "Inter Tight",system-ui,-apple-system,"Apple SD Gothic Neo",sans-serif;letter-spacing:-.02em;color:var(--ot-ink)!important}
#sky-menu #sky-close{width:32px!important;height:32px!important;padding:0!important;border-radius:50%!important;background:var(--ot-soft)!important;border:0!important;color:var(--ot-ink)!important;font-size:18px;line-height:1}
#sky-menu .ride-k{display:block;margin:6px 2px 0;font:700 11px/1 system-ui,-apple-system,"Apple SD Gothic Neo",sans-serif!important;letter-spacing:.08em;color:var(--ot-p)!important}
#sky-menu [data-sky]{display:flex!important;align-items:center;gap:10px;min-height:46px;padding:6px 12px!important;border-radius:14px!important;background:var(--ot-soft)!important;border:1px solid transparent!important;color:var(--ot-ink)!important;font:600 15px/1.2 system-ui,-apple-system,"Apple SD Gothic Neo",sans-serif!important;text-align:left;cursor:pointer}
#sky-menu [data-sky] span{display:grid;place-items:center;width:30px;height:30px;flex:none;border-radius:50%;background:#fff;font-size:16px;box-shadow:0 0 0 1px var(--ot-line)}
#sky-menu [data-sky]:active{background:#e9e6ff!important}
@media(hover:hover) and (pointer:fine){#sky-menu [data-sky]:hover{border-color:rgba(184,67,47,.35)!important;background:#f5f3ff!important}}
#sky-menu>small:last-child{margin-top:4px;font-size:12px;line-height:1.45;color:var(--ot-sub)!important}
@media(min-width:721px){#sky-menu{left:auto!important;right:100px!important;top:50%!important;bottom:auto!important;transform:translateY(-50%)}}
@media(max-width:720px){
  #sky-menu{position:fixed!important;left:12px!important;right:12px!important;bottom:calc(12px + env(safe-area-inset-bottom))!important;top:auto!important;width:auto!important;grid-template-columns:1fr 1fr;padding:16px!important}
  #sky-menu .sky-head,#sky-menu .ride-k,#sky-menu>small:last-child{grid-column:1/-1}
  #sky-menu [data-sky]{font-size:14px!important;min-height:48px}
}

/* 4. 내 기록의 내 땅: 확보한 칸 · 뺏은 칸 · 빼앗긴 칸 */
.g-dex .g-land{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:10px 20px 14px}
.g-dex .g-land>div{display:grid;gap:4px;justify-items:center;padding:12px 6px;border-radius:14px;background:#fffdf6;border:1px solid rgba(169,129,60,.25)}
.g-dex .g-land b{font:800 22px/1 "Inter Tight",system-ui,-apple-system,sans-serif;font-variant-numeric:tabular-nums;color:#2a2418}
.g-dex .g-land small{font:600 12px/1.2 system-ui,-apple-system,"Apple SD Gothic Neo",sans-serif;color:#7a6a4c}
.g-dex .g-land>div:nth-child(2) b{color:#2f6a4f}
.g-dex .g-land>div:nth-child(3) b{color:#9a3b2e}

/* 5. 처음 걷는 법: 차분한 카드, 읽기 좋은 글자 */
.tutorial .tu-card{border-radius:24px!important}
.tutorial h2{letter-spacing:-.02em!important}
.tutorial .tu-text{font-size:15px!important;line-height:1.6!important;color:rgba(245,241,230,.82)!important}
.tutorial .tu-top small{letter-spacing:.04em}
.tutorial .tu-dots i.on{background:var(--ot-p)!important}

/* 6. 묶음 패널(놀이 · 더보기): 항목 이름을 한 줄로, 같은 크기로 */
.ui-group-panel button .ui-l{font-size:11px!important;white-space:nowrap}

/* 7. 캐릭터 창: 비어 있는 안내 줄은 자리를 차지하지 않아요 */
#character-note:empty{display:none}

/* 8. 내 기록 머리: 휴대폰에서 버튼 글자가 두 줄로 꺾이지 않게 */
@media(max-width:720px){
  .g-dex>header{flex-wrap:wrap;gap:8px;align-items:center!important;justify-content:flex-start!important;height:auto!important;min-height:54px;padding-bottom:12px!important}
  .g-dex>header>div{flex:1 1 100%;min-width:0}
  .g-dex>header .g-x{margin-left:auto}
  .g-dex header h2{font-size:19px!important}
  .g-dex header button{white-space:nowrap;flex:none;padding:8px 11px!important;font-size:13px!important;min-height:36px}
}
