.imo-kv2{color:#eff6ff;background:#101923;border:1px solid #3a4a5c;border-radius:18px;padding:16px;margin:12px 0 24px;max-width:100%;min-width:0;font:15px/1.6 system-ui,sans-serif;box-sizing:border-box}.imo-kv2 *{box-sizing:border-box}.imo-kv2 h3{font-size:21px;line-height:1.35;margin:0 0 8px;color:#fff}.imo-kv2 h4{font-size:22px;line-height:1.4;margin:14px 0 8px}.imo-kv2 p{margin:9px 0;overflow-wrap:anywhere}.imo-kv2 .kv-note{font-size:12px;color:#b6c4d6;line-height:1.5}.imo-kv2 .kv-context{font-size:13px;background:#1c2b3b;border-left:3px solid #98c8f7;padding:10px 12px;border-radius:6px}.imo-kv2 button,.imo-kv2 a{font:inherit;color:#edf6ff;cursor:pointer}.imo-kv2 button{background:#25394d;border:1px solid #55748f;border-radius:10px;padding:9px 12px;min-height:44px;white-space:normal}.imo-kv2 button:disabled{opacity:.6;cursor:wait}.imo-kv2 button:hover,.imo-kv2 a:hover{background:#34536f}.imo-kv2 :focus-visible{outline:3px solid #b7dcff;outline-offset:3px}.imo-kv2 a{display:inline-block;text-decoration:underline;text-underline-offset:3px;padding:8px 4px;overflow-wrap:anywhere}.imo-kv2 .kv-tabs{display:flex;gap:7px;flex-wrap:wrap;margin:13px 0}.imo-kv2 .kv-tabs button{font-size:13px;flex:0 1 auto}.imo-kv2 .kv-tabs [aria-pressed=true]{background:#d4edff;color:#142638;border-color:#d4edff}.imo-kv2 .kv-rail{display:grid;grid-auto-flow:column;grid-template-rows:repeat(2,auto);grid-auto-columns:170px;gap:10px;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x proximity;padding:4px 3px 13px;max-width:100%;scrollbar-color:#87aecf #1a2b3c}.imo-kv2 .kv-card{padding:0;overflow:hidden;display:flex;flex-direction:column;align-items:stretch;text-align:left;scroll-snap-align:start;min-width:0;background:#1d2c3b}.imo-kv2 .kv-card strong{font-size:14px;line-height:1.45;padding:10px 11px 5px;overflow-wrap:anywhere}.imo-kv2 .kv-picture{width:100%;height:112px;background-repeat:no-repeat;background-color:#293b49;flex-shrink:0}.imo-kv2 .kv-picture.kv-large{height:auto;aspect-ratio:1.5;border-radius:12px}.imo-kv2 .kv-badge{margin:2px 9px 10px;font-size:11px;color:#b9e6d3}.imo-kv2 .kv-paging{display:flex;justify-content:space-between;gap:8px}.imo-kv2 .kv-paging button{font-size:12px;background:transparent}.imo-kv2 .kv-detail{border-top:1px solid #536575;margin-top:18px;padding-top:18px}.imo-kv2 .kv-summary{white-space:pre-line}.imo-kv2 .kv-korean{font-size:17px;font-weight:600;color:#f1dfad}.imo-kv2 .kv-actions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.imo-kv2 .kv-actions button,.imo-kv2 .kv-actions a{font-size:13px;flex:1 1 130px;text-align:center;border-radius:9px}.imo-kv2 .kv-actions button:first-child{background:#d4edff;color:#142638}.imo-kv2 .kv-place{border:1px solid #4a6173;border-radius:12px;padding:12px;margin:10px 0}.imo-kv2 .kv-place p{font-size:13px}.imo-kv2 .kv-origin{font-weight:700;color:#b9e6d3}.imo-kv2 .kv-official{padding:12px 0}.imo-kv2 summary{cursor:pointer;min-height:44px;padding:10px 0}.imo-kv2 textarea{width:100%;min-height:140px}.imo-kv2 [hidden]{display:none!important}@media(max-width:440px){.imo-kv2{padding:12px;border-radius:14px}.imo-kv2 .kv-rail{grid-auto-columns:154px}.imo-kv2 .kv-picture{height:105px}.imo-kv2 h3{font-size:19px}.imo-kv2 .kv-tabs button{padding:7px 9px}}@media(prefers-reduced-motion:reduce){.imo-kv2 *{scroll-behavior:auto!important}}
.imo-kv2 .kv-rail{grid-auto-flow:row;grid-template-rows:none;grid-auto-columns:auto;grid-template-columns:repeat(4,minmax(0,1fr));overflow:visible;padding:0;gap:10px}
.imo-kv2 .kv-section{margin:18px 0 24px}.imo-kv2 .kv-section h4{font-size:17px;margin:0 0 10px}.imo-kv2 .kv-section .kv-card{min-height:0}
dialog.imo-photo-v21>header{height:auto!important;min-height:62px!important;padding:14px 18px!important;align-items:center!important;flex-shrink:0!important}
dialog.imo-photo-v21>header .imo-topic-photo,dialog.imo-photo-v21>header .imo-photo-credit{display:none!important}
dialog.imo-photo-v21>.imo-dv-body,dialog.imo-photo-v21>.imo-move-body{display:flex!important;flex-direction:column;min-height:0!important;overflow:auto!important}
dialog.imo-photo-v21>.imo-dv-body>*,dialog.imo-photo-v21>.imo-move-body>*{flex-shrink:0}
dialog.imo-photo-v21 .imo-kv2,dialog.imo-photo-v21 .imo-incheon-v2{order:-10;flex-shrink:0;margin-top:0}
dialog.imo-photo-v21 .imo-icon-tools{position:static!important;bottom:auto!important}
dialog.imo-kv-detail-dialog{width:min(860px,calc(100vw - 24px));max-width:860px;max-height:calc(100dvh - 24px);padding:0;margin:12px auto;top:0;bottom:auto;border:1px solid #627891;border-radius:16px;background:#101923;color:#eff6ff;overflow:auto;box-sizing:border-box}
dialog.imo-kv-detail-dialog::backdrop{background:#020713b8}
dialog.imo-kv-detail-dialog>header{position:sticky;top:0;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px;background:#101923;border-bottom:1px solid #485b6e}
dialog.imo-kv-detail-dialog>header h2{font:600 18px/1.4 system-ui;margin:0;min-width:0;overflow-wrap:anywhere}
dialog.imo-kv-detail-dialog>header button{min-height:44px;flex-shrink:0;max-width:55%;border:1px solid #8ca8c1;border-radius:10px;padding:8px 12px;background:#25394d;color:#eff6ff;font:400 14px/1.4 system-ui;cursor:pointer}
dialog.imo-kv-detail-dialog>.imo-kv2{margin:0;border:0;border-radius:0;padding:16px}
dialog.imo-kv-detail-dialog .kv-picture.kv-large{max-width:420px;max-height:240px;margin:auto}
@media(max-width:650px){.imo-kv2 .kv-rail{grid-template-columns:repeat(2,minmax(0,1fr))}.imo-kv2 .kv-card strong{font-size:13px}.imo-kv2 .kv-picture{height:100px}dialog.imo-kv-detail-dialog>header button{font-size:12px;padding:8px}dialog.imo-kv-detail-dialog>header h2{font-size:16px}}

/* IMO_PHOTO_RATIO_2_2 */
.imo-kv2 .kv-picture[data-atlas]{height:auto!important;max-height:none!important;background:none!important}.imo-kv2 .kv-picture.kv-large[data-atlas]{max-width:600px!important;width:100%;margin-inline:auto}.imo-kv2 .kv-picture svg{border-radius:inherit}

/* IMO_NEARBY_MODAL_1 */
dialog.imo-action-pane{box-sizing:border-box;position:fixed;inset:0;margin:auto;width:min(760px,calc(100vw - 24px));max-width:100%;height:min(800px,calc(100dvh - 24px));max-height:calc(100dvh - 24px);padding:0;border:1px solid #536785;border-radius:18px;background:#101d30;color:#f5f8ff;overflow:hidden;box-shadow:0 18px 70px #0008;font:inherit}
dialog.imo-action-pane[open]{display:flex;flex-direction:column}
dialog.imo-action-pane::backdrop{background:#0009}
.imo-action-pane>header{flex:none;display:flex;align-items:center;gap:12px;padding:14px 16px;border-bottom:1px solid #536785;background:#14243c}
.imo-action-pane>header h2{font-size:1.12rem;line-height:1.4;flex:1;margin:0;min-width:0;overflow-wrap:anywhere}
.imo-pane-endpoints{flex:none;margin:0;padding:12px 16px;max-height:22vh;overflow:auto;overflow-wrap:anywhere;font-weight:700;line-height:1.5;border-bottom:1px solid #536785}
.imo-action-pane button,.imo-action-pane a{box-sizing:border-box;min-height:44px;font:inherit;line-height:1.4;border-radius:10px;padding:10px 12px;color:#fff;background:#243f63;border:1px solid #7794b8;white-space:normal;overflow-wrap:anywhere}
.imo-action-pane button{cursor:pointer}.imo-action-pane button:disabled{opacity:.55;cursor:wait}
.imo-action-pane :focus-visible{outline:3px solid #6ee7d2;outline-offset:2px}
.imo-pane-body{overflow:auto;overscroll-behavior:contain;min-height:0;flex:1;padding:16px;scrollbar-gutter:stable;overflow-wrap:anywhere}
.imo-pane-body .imo-kv2{margin:0;padding:0}.imo-pane-body .kv-place{padding:16px;margin:0 0 12px;border-radius:14px;border:1px solid #516a8b;background:#192d48}
.imo-pane-body .kv-place strong{font-size:1.1rem}.imo-pane-body .kv-place p{line-height:1.55}
.imo-pane-body .kv-actions{display:flex;flex-wrap:wrap;gap:10px}.imo-pane-body .kv-actions>*{flex:1 1 130px;text-align:center}
.imo-pane-body .imo-v3-route,.imo-pane-body .imo-travel-results{margin:0;max-width:100%;box-sizing:border-box}
.imo-pane-body .imo-v3-route>h3,.imo-pane-body>.imo-v3-route>.imo-v3-endpoints{display:none}
.imo-pane-body .imo-mode-options{display:flex;flex-wrap:wrap;gap:8px}.imo-pane-body .imo-mode-options button{flex:1}
.imo-pane-body .imo-v3-leg{line-height:1.65}.imo-pane-body details{margin:12px 0}.imo-pane-body summary{padding:12px;cursor:pointer;line-height:1.5}
.imo-pane-tools{display:flex;gap:10px;flex-wrap:wrap;padding-top:16px}.imo-route-recap{padding:12px;margin:10px 0;border:1px solid #536785;border-radius:12px}.imo-route-recap p{margin:0 0 8px}.imo-route-recap button{min-height:44px}
@media(max-width:600px){dialog.imo-action-pane{width:100%;height:100dvh;max-height:100dvh;border-radius:0;border:0}.imo-action-pane>header{padding:calc(12px + env(safe-area-inset-top,0px)) 12px 12px}.imo-pane-body{padding:12px 12px calc(20px + env(safe-area-inset-bottom,0px))}.imo-action-pane>header button{max-width:46%;flex:none}}


/* IMO_ROUTE_MODAL_UNIFY_2 */
.imo-route-step{line-height:1.65;overflow-wrap:anywhere}
.imo-pane-instruction{font-size:1.05rem;white-space:pre-line;margin-top:0}
.imo-route-step>.imo-r8-card{margin:12px 0;padding:16px;background:#192d48;border:1px solid #536785;border-radius:14px;max-width:100%;box-sizing:border-box}
.imo-route-step .imo-r6-card__actions{display:flex;gap:10px;flex-wrap:wrap}
.imo-route-step .imo-r6-card__actions button{flex:1 1 180px}
.imo-route-step>button{margin:8px 8px 8px 0}
.imo-route-answer{display:flex;align-items:end;gap:10px;flex-wrap:wrap;padding-top:18px;margin-top:16px;border-top:1px solid #536785}
.imo-route-answer label{display:block;flex:1 1 230px;min-width:0}
.imo-route-answer input{display:block;box-sizing:border-box;width:100%;margin-top:8px;min-height:46px;border-radius:10px;padding:10px 12px;background:#101d30;color:#fff;border:1px solid #7794b8;font:inherit}
.imo-route-answer button{flex:0 0 auto}
.imo-pane-status{color:#fce2a5}
