/* w-navbgm — 미니맵 · 제비 길 안내 · 소리 설정. 어두운 유리 HUD와 같은 결, 강조는 금색(목적지)과 로고 보라(따라가기)만. */
.mm{position:absolute;z-index:6;left:18px;top:128px;width:132px;font:600 12px/1.25 "Inter Tight",system-ui,-apple-system,"Apple SD Gothic Neo",sans-serif;color:var(--hud-ink,#f5f1e6);pointer-events:none}
.mm>*{pointer-events:auto}
.mm-face{display:block;position:relative;width:132px;height:132px;padding:0;margin:0;border-radius:50%;border:1px solid var(--hud-line,rgba(255,255,255,.14));background:radial-gradient(circle at 50% 38%,rgba(36,44,58,.94),rgba(17,22,30,.92));box-shadow:0 8px 24px rgba(0,0,0,.28),inset 0 0 0 3px rgba(242,195,91,.12);overflow:hidden;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:border-radius .22s,box-shadow .2s}
.mm-face canvas{display:block;width:100%;height:100%}
.mm.guiding .mm-face{box-shadow:0 8px 24px rgba(0,0,0,.28),inset 0 0 0 3px rgba(242,195,91,.3)}
.mm-tag{position:absolute;left:66px;top:118px;transform:translateX(-50%);display:flex;gap:5px;align-items:baseline;white-space:nowrap;padding:4px 10px;border-radius:999px;background:var(--hud,rgba(20,26,35,.86));border:1px solid var(--hud-line,rgba(255,255,255,.14));box-shadow:0 6px 16px rgba(0,0,0,.25);font-size:11px;pointer-events:none}
.mm-tag[hidden],.mm-go[hidden]{display:none}
.mm-tag b{color:#fff;font-weight:800;font-variant-numeric:tabular-nums}
.mm-tag span{color:var(--hud-sub,rgba(245,241,230,.62));font-variant-numeric:tabular-nums}
.mm-tag span:empty{display:none}
.mm.arrived .mm-tag{border-color:rgba(242,195,91,.55)}
.mm.arrived .mm-tag b{color:var(--hud-gold,#f2c35b)}
.mm-go{position:absolute;left:104px;top:0;display:grid;place-items:center;width:34px;height:34px;padding:0;border:2px solid rgba(17,22,30,.9);border-radius:50%;background:var(--ot-p,#b8432f);color:#fff;box-shadow:0 6px 16px rgba(184,67,47,.38);cursor:pointer;-webkit-tap-highlight-color:transparent}
.mm-go svg{width:19px;height:19px}
.mm-card,.mm-legend{display:none}
/* 크게 보기 */
.mm.big{z-index:30;width:440px}
.mm.big .mm-face{width:100%;height:min(380px,calc(100vh - 360px));min-height:220px;border-radius:20px}
.mm.big .mm-tag,.mm.big .mm-go{display:none}
.mm.big .mm-card:not([hidden]){display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:8px;margin-top:8px;padding:10px 10px 10px 14px;border-radius:16px;background:var(--hud,rgba(20,26,35,.86));border:1px solid var(--hud-line,rgba(255,255,255,.14));box-shadow:0 10px 30px rgba(0,0,0,.3);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}
.mm-head{display:grid;gap:2px;min-width:0}
.mm-head small{font-size:10px;letter-spacing:.04em;color:var(--hud-gold,#f2c35b)}
.mm-head b{font-size:14px;font-weight:800;color:#fff;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mm-head span{font-size:12px;color:var(--hud-sub,rgba(245,241,230,.62));font-variant-numeric:tabular-nums}
.mm-follow{display:inline-flex;align-items:center;gap:6px;padding:10px 14px;border:0;border-radius:12px;background:var(--ot-p,#b8432f);color:#fff;font:800 13px/1 "Inter Tight",system-ui,-apple-system,"Apple SD Gothic Neo",sans-serif;white-space:nowrap;cursor:pointer}
.mm-follow svg{width:17px;height:17px}
.mm-follow[hidden]{display:none}
.mm-x{width:34px;height:34px;padding:0;border:1px solid var(--hud-line,rgba(255,255,255,.14));border-radius:10px;background:transparent;color:var(--hud-sub,rgba(245,241,230,.62));font:400 20px/1 system-ui;cursor:pointer}
.mm.big .mm-legend:not([hidden]){display:flex;flex-wrap:wrap;gap:6px 14px;margin:8px 0 0;padding:8px 12px;list-style:none;border-radius:12px;background:var(--hud,rgba(20,26,35,.86));border:1px solid var(--hud-line,rgba(255,255,255,.14));font-size:11px;color:var(--hud-sub,rgba(245,241,230,.62))}
.mm-legend li{display:flex;align-items:center;gap:5px}
.mm-legend i{display:inline-block;width:8px;height:8px;border-radius:50%}
.mm-legend .me{background:#fff}.mm-legend .goal{background:transparent;border:2px solid #f2c35b;width:9px;height:9px}.mm-legend .foe{background:#ff5a3d}.mm-legend .lm{background:#f2c35b;border-radius:1px;transform:rotate(45deg) scale(.85)}.mm-legend .shop{background:#2f6f5e}
@media(hover:hover) and (pointer:fine){.mm-face:hover{border-color:rgba(242,195,91,.45)}.mm-go:hover,.mm-follow:hover{filter:brightness(1.08)}}
/* 휴대폰: 미니맵은 왼쪽 위 작은 원, 레벨 배지·출몰 배너·상태 줄은 그 오른쪽으로 */
@media(max-width:720px){
  .mm{left:10px;top:66px;width:76px}
  .mm-face{width:76px;height:76px}
  .mm-tag{left:38px;top:66px;padding:3px 8px;font-size:10.5px}
  .mm-go{left:56px;top:-6px;width:30px;height:30px}
  .mm-go svg{width:17px;height:17px}
  .mm.big{width:auto;right:10px}
  .mm.big .mm-face{height:min(420px,52vh)}
  body.has-minimap .g-badge{left:94px!important}
  body.has-minimap .g-event{left:94px!important;max-width:calc(100% - 94px - 72px)!important}
  body.has-minimap .map-bottom{left:94px;max-width:calc(100% - 110px)}
}
/* 소리 설정 시트 */
.bgm-sheet{width:min(400px,calc(100vw - 24px))}
.bgm-rows{display:grid;gap:4px;padding:8px 20px 4px}
.bgm-row{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:48px;border-bottom:1px solid var(--ot-line,#e7e9ee);font:700 15px/1.2 "Inter Tight",system-ui,-apple-system,"Apple SD Gothic Neo",sans-serif;color:var(--ot-ink,#0d1117)}
.bgm-row:last-child{border-bottom:0}
.bgm-row input[type=checkbox]{width:22px;height:22px;accent-color:var(--ot-p,#b8432f)}
.bgm-row input[type=range]{flex:0 1 60%;accent-color:var(--ot-p,#b8432f)}
.bgm-now{display:flex;align-items:baseline;gap:8px;margin:6px 20px 0;padding:12px 14px;border-radius:12px;background:var(--ot-soft,#f2f3f7)}
.bgm-now small{color:var(--ot-sub,#5b6472);font-size:12px}
.bgm-now b{font-size:14px;color:var(--ot-ink,#0d1117)}
.bgm-credit{margin:10px 20px 18px!important;font-size:11px!important;color:var(--ot-sub,#5b6472)!important}
@media(prefers-reduced-motion:reduce){.mm-face{transition:none}}
