/* Local terrain, separate from the region names in the large world map. */
body #region-event-hud{position:fixed;left:12px;top:86px;width:min(180px,calc(100vw - 24px));height:50px;box-sizing:border-box;padding:6px 9px;border:1px solid var(--ui-hud-minimap-region-event-hud-border);border-radius:9px;background:var(--ui-hud-minimap-region-event-hud-background);color:var(--ui-hud-minimap-region-event-hud-text);font:600 12px/18px system-ui;text-align:left;white-space:normal;pointer-events:none}
body #region-event-hud[hidden]{display:none}
/* F456: 사건 HUD 둘째 줄(상자 규칙) — 높이는 글만큼, 줄바꿈 문자는 줄로. 위 원래 규칙은 그대로 두고 뒤에서 덮음 */
body #region-event-hud{height:auto;min-height:50px;white-space:pre-line}
body .region-map-marker.event{background:var(--ui-panel-minimap-region-map-marker-event-background);border-color:var(--ui-panel-minimap-region-map-marker-event-border-color)}
body #region-hud #minimap{position:absolute;top:calc(100% + 5px);right:0;width:112px;height:84px;overflow:hidden;border:2px solid var(--ui-hud-minimap-region-hud-minimap-border);border-radius:9px;background:var(--ui-hud-minimap-region-hud-minimap-background);box-shadow:0 2px 7px var(--ui-hud-minimap-region-hud-minimap-shadow);contain:layout paint}
body #minimap .minimap-open{display:block;width:100%;height:100%;min-width:0;min-height:0;margin:0;padding:0;border:0;border-image:none;border-radius:0;background:none;touch-action:manipulation;box-shadow:none}
/* F341: the 4:3 picture is not stretched into the wider phone box (round dots turned into ovals) — it covers it, and is
   scaled smoothly, not as uneven blocks (styles.css gives every canvas image-rendering:pixelated). */
body #minimap canvas{display:block;width:100%;height:100%;object-fit:cover;image-rendering:auto;touch-action:manipulation}
body #minimap .minimap-open:active{transform:none;filter:brightness(1.1)}
body #minimap .minimap-open:focus-visible{outline:3px solid var(--ui-hud-minimap-minimap-minimap-open-focus);outline-offset:-3px}
@media(orientation:landscape) and (max-height:500px){body #region-hud #minimap{width:96px;height:72px}}
@media(max-width:360px){body #region-hud #minimap{width:100px;height:75px}}
/* F232: ja 지역 사건 칸도 일본어 글꼴(위 font: 600 12px/18px system-ui 를 ja 에서만 덮음) */
:root:lang(ja) body #region-event-hud{font-family:"Hiragino Sans","Hiragino Kaku Gothic ProN","Yu Gothic UI","Yu Gothic",Meiryo,"Noto Sans JP",system-ui,sans-serif}
