/* Walking assistance lives in a document dialog, outside the native game scene. */
.journey-map-dialog{width:880px;max-width:calc(100vw - 20px);max-height:calc(100dvh - 20px);margin:auto;padding:16px;border:1px solid #787763;background:#151d20;color:#e0e7e1;font:13px/1.5 Gulim,Dotum,sans-serif;overflow:auto;overscroll-behavior:contain}
.journey-map-dialog::backdrop{background:#000a}.journey-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.journey-heading h2{margin:0;font-size:20px;color:#e7d5a6}.journey-heading button{min-height:36px;padding:5px 10px}.journey-intro{margin:4px 0 12px;color:#bacbc3}
.journey-map-controls{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin:8px 0}.journey-map-controls label{flex:1;min-width:180px}.journey-map-controls select{max-width:100%;width:calc(100% - 34px);min-height:34px;font-size:13px}.journey-map-controls button{min-width:34px;min-height:34px}.journey-map-controls output{min-width:44px;text-align:center}.journey-current{margin:6px 0;color:#adf0d5;font-weight:bold}
.journey-terrain-viewport{position:relative;overflow:auto;max-height:400px;min-height:210px;background:#101719;border:1px solid #465450;overscroll-behavior:contain;touch-action:pan-x pan-y}.journey-terrain-stage{position:relative;min-width:100%;width:100%;isolation:isolate}.journey-terrain{display:block;width:100%;height:100%;image-rendering:pixelated}.journey-markers{position:absolute;inset:0;pointer-events:none}.journey-terrain-message{margin:70px 16px;text-align:center;color:#b6c9bf}
.journey-marker{position:absolute;z-index:1;display:flex;align-items:center;gap:4px;transform:translate(-50%,-50%);padding:3px 5px;min-width:26px;min-height:30px;border:1px solid #688680;background:#142226ed;color:#dbe9df;font:11px/1.2 Gulim,Dotum,sans-serif;white-space:nowrap;pointer-events:auto;box-shadow:0 1px 3px #000a}.journey-marker-symbol{display:grid;place-items:center;flex:none;width:20px;height:20px;font-size:13px;font-weight:bold}.journey-marker-label{max-width:145px;overflow:hidden;text-overflow:ellipsis}.journey-marker-hunting{border-color:#b09a54;color:#f4d777}.journey-marker-weapon{color:#c5d8fb}.journey-marker-shop{color:#efd2a2}.journey-marker-hospital{color:#ffbcb4}.journey-marker-current{z-index:3;color:#aaf5ce;border-color:#96dfbd;background:#112c24;pointer-events:none;font-weight:bold}.journey-marker-current .journey-marker-symbol{color:#85f7bc}.journey-marker:disabled{opacity:.45}.journey-marker:focus-visible{z-index:4;outline:2px solid #ffe7a7;outline-offset:2px}
.journey-legend{font-size:11px;margin:5px 0;color:#bdcfc2}.journey-navigation{display:flex;align-items:center;gap:10px;justify-content:space-between;border-block:1px solid #42534c;padding:7px 0;margin:8px 0}.journey-status{margin:0;color:#efd598}.journey-cancel{flex:none;min-height:34px}.journey-error{margin:6px 0;color:#ffb6a6}.journey-filters{display:flex;flex-wrap:wrap;gap:5px;margin:10px 0 7px}.journey-filters button{min-height:32px;padding:4px 9px}.journey-filters button[aria-pressed=true]{background:#465a4d;color:#fff3c4;border-color:#b8bb8a}.journey-search{display:block;width:100%;min-height:34px;margin:7px 0;font-size:13px}
.journey-path{position:absolute;inset:0;display:block;width:100%;height:100%;pointer-events:none;overflow:hidden}
.journey-destinations{list-style:none;padding:0;margin:0;max-height:280px;overflow:auto}.journey-destinations li{margin:0;border-bottom:1px solid #34433c}.journey-destination{display:flex;align-items:center;gap:10px;width:100%;padding:9px 4px;border:0;background:transparent;color:#e6eadb;text-align:left;min-height:48px}.journey-kind{display:grid;place-items:center;flex:none;width:26px;height:26px;border:1px solid #687e70;color:#d6e5d9;font-weight:bold}.journey-kind-hunting{color:#f4d777}.journey-kind-weapon{color:#c5d8fb}.journey-kind-shop{color:#efd2a2}.journey-kind-hospital{color:#ffbcb4}.journey-place-name{font-weight:bold}.journey-place-name small{display:block;margin-top:2px;color:#b2c5b7;font-size:11px;font-weight:400}.journey-empty{padding:18px;color:#b2c5b7}
#journeyMapButton{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;min-width:40px}#journeyHeaderStatus{display:block;max-width:78px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#d6eeb5;font-size:9px;line-height:11px}
@media(max-width:760px){.journey-map-dialog{padding:12px;font-size:14px}.journey-map-controls label{min-width:150px}.journey-map-dialog button{min-height:40px}.journey-map-dialog input,.journey-map-dialog select{font-size:16px;min-height:40px}.journey-terrain-viewport{max-height:310px}.journey-marker-label{max-width:125px}.journey-map-dialog .journey-marker{min-height:36px;font-size:11px}.journey-navigation{align-items:flex-start}.journey-destinations{max-height:280px}.mobile-game .web-strip>div{gap:2px}.mobile-game .web-strip>div button:not([data-game-fullscreen]){padding-inline:6px;font-size:12px}}
@media(max-width:380px){body.mobile-game .web-strip>a{font-size:0;padding-inline:4px}body.mobile-game .web-strip>a:after{content:'← 포털';font-size:12px}#journeyHeaderStatus{max-width:62px}}

/* At 100% the complete region fits; only an explicit zoom enables panning. */
.journey-map-dialog{width:1040px}
.journey-content{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(290px,.9fr);gap:16px;min-height:0;min-width:0;flex:1}
.journey-map-pane,.journey-destinations-pane{display:flex;flex-direction:column;min-width:0;min-height:0}
.journey-map-pane .journey-terrain-viewport{flex:1;height:0;min-height:210px;max-height:none;padding:8px;overflow:hidden}
.journey-terrain-stage{min-width:0;margin:0 auto}
.journey-destinations-pane .journey-filters{flex:none;margin:0 0 7px}
.journey-destinations-pane .journey-search{flex:none;margin:0 0 7px}
.journey-destinations-pane .journey-destinations{flex:1;min-height:0;max-height:none}
.journey-map-dialog>.journey-heading,.journey-map-dialog>.journey-intro,.journey-map-dialog>.journey-map-controls,.journey-map-dialog>.journey-current,.journey-map-dialog>.journey-navigation,.journey-map-dialog>.journey-error{flex:none}
.journey-marker{transform:none;white-space:normal}
.journey-marker-label{white-space:normal;max-width:160px;word-break:keep-all;overflow:visible;text-overflow:clip}
.journey-anchor-dot{position:absolute;z-index:2;width:6px;height:6px;border:1px solid #111;background:#eed69a;border-radius:50%;transform:translate(-50%,-50%);pointer-events:none}
.journey-anchor-current{z-index:5;width:9px;height:9px;background:#aaf5ce;border-color:#173f2b}
.journey-hunting{flex:none;margin:0 0 10px;padding-bottom:9px;border-bottom:1px solid #59634c}.journey-hunting h3{margin:0 0 4px;font-size:14px;color:#ffe298}.journey-hunting-copy{margin:0 0 7px;font-size:11px;line-height:1.5;color:#c7d6c6}.journey-hunting-choices{display:flex;flex-wrap:wrap;gap:5px}.journey-hunting-choice{flex:1;min-width:135px;min-height:42px;padding:6px;text-align:left;border-color:#727e5c;color:#ffe298}.journey-hunting-choice strong,.journey-hunting-choice small{display:block}.journey-hunting-choice strong{font-size:11px}.journey-hunting-choice small{font-size:10px;font-weight:normal;color:#c4d2c0;margin-top:3px}
/* Small optional guide floats outside the unchanged source UI. Collapsed by default. */
.hunting-guide{position:absolute;z-index:8;left:max(10px,env(safe-area-inset-left,0px));top:var(--hunting-guide-top,clamp(40px,7vh,90px));width:330px;max-width:calc(100% - 20px);padding:7px 9px;border:1px solid #73735b;background:#101b20ef;color:#dce6d4;font:12px/1.5 Gulim,Dotum,sans-serif;pointer-events:auto;box-shadow:0 1px 5px #0008}.hunting-guide[data-collapsed=true]{width:max-content;max-width:calc(100% - 182px);padding:4px 6px;background:#101b20de}.hunting-guide-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.hunting-guide-heading strong{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:11px;color:#ffe298}.hunting-guide-toggle{flex:none;padding:2px 5px;min-height:26px;font-size:10px}.hunting-guide-copy{margin:6px 0;line-height:1.5}.hunting-guide-actions{display:flex;flex-wrap:wrap;gap:5px}.hunting-guide-actions button{min-height:32px;font-size:11px}.hunting-guide-error{color:#ffb6a6;margin:5px 0 0}
#gameFit:has(#gamePanel:not([hidden]))>.hunting-guide,#gameFit:has(#entryOverlay:not([hidden]))>.hunting-guide,#gameFit:has(#gameLoading:not([hidden]))>.hunting-guide{visibility:hidden}
@media(max-width:480px){.hunting-guide[data-collapsed=true]{max-width:calc(100% - 144px)}.hunting-guide-toggle{min-height:30px}.hunting-guide-actions button{min-height:40px}.journey-hunting-choice{min-width:120px}.journey-hunting-copy{font-size:12px}}
@media(min-width:861px){
  .journey-map-dialog[open]{display:flex;flex-direction:column;height:min(680px,calc(100dvh - 24px));overflow:hidden}
}
@media(max-width:860px){
  .journey-map-dialog[open]{display:block;overflow:auto}
  .journey-heading{position:sticky;top:-12px;z-index:10;padding-block:8px;background:#151d2b}
  .journey-content{display:flex;flex-direction:column;gap:10px}
  .journey-map-pane .journey-terrain-viewport{height:270px;min-height:240px;max-height:310px;flex:none}
  .journey-destinations-pane .journey-destinations{max-height:280px;flex:none}
}
/* Keep every header action reachable on narrow phones, including an active
   destination and the longer fullscreen-exit label. The accessible name stays. */
@media(max-width:480px){
  .web-strip #fullButton{font-size:0;flex:0 0 46px;width:46px!important;min-width:46px!important;max-width:46px;padding-inline:3px}
  .web-strip #fullButton::after{content:'전체화면';font-size:11px}
  .web-strip #fullButton[aria-pressed="true"]::after{content:'화면종료'}
}
