/* static/lib/fish/fish.css — 유니티 피싱 공용 (영역 라벨 · 애플 시트 · 진행 HUD · 하단 메뉴바 · 조과 썸네일)
   접두사 ufs- (페이지 CSS 와 충돌 금지) */
:root{--um:#1e6fd9;--ufs-blue:#1e6fd9;--ufs-ink:#0f172a;--ufs-sub:#64748b;--ufs-line:#e2e8f0;--ufs-bg:#fff;--ufs-soft:#f1f5f9;--ufs-ai:#7c3aed;--ufs-calc:#0e7490;--ufs-warn:#b45309}

/* ── 영역 라벨 (물고기 심볼 + 이름 + 점수 + 방식) ── */
.ufs-lbl{transform:translate(-50%,-50%);display:inline-flex;align-items:center;gap:5px;white-space:nowrap;
  background:#fff;border:2px solid var(--c,#1e6fd9);border-radius:999px;padding:3px 9px 3px 4px;box-shadow:0 3px 10px rgba(15,23,42,.25);
  font:800 13px/1.2 Pretendard,system-ui,sans-serif;color:var(--ufs-ink);cursor:pointer}
.ufs-lbl .ic{width:24px;height:24px;border-radius:50%;background:var(--c,#1e6fd9);display:flex;align-items:center;justify-content:center;flex:0 0 auto}
.ufs-lbl .ic svg{width:18px;height:18px;fill:#fff}
.ufs-lbl .m{font-size:12px;font-weight:900;padding:1px 5px;border-radius:6px;color:#fff;background:var(--ufs-calc)}
.ufs-lbl.ai{border-style:dashed}
.ufs-lbl.ai .m{background:var(--ufs-ai)}
.ufs-lbl .sc{color:var(--c,#1e6fd9)}

/* ── 애플 시트: 폰 = 바닥에서 올라옴(끌어내려 닫기), 넓은 화면 = 오른쪽 ── */
.ufs-bg{position:fixed;inset:0;z-index:2000;background:rgba(15,23,42,.18);opacity:0;transition:opacity .25s;pointer-events:none}
.ufs-bg.on{opacity:1;pointer-events:auto}
.ufs-bg.nodim{background:transparent;pointer-events:none}
.ufs-sh{position:fixed;z-index:2001;background:var(--ufs-bg);color:var(--ufs-ink);display:flex;flex-direction:column;overflow:hidden;
  left:0;right:0;bottom:0;max-height:88vh;border-radius:20px 20px 0 0;box-shadow:0 -10px 40px rgba(15,23,42,.25);
  transform:translateY(105%);transition:transform .32s cubic-bezier(.2,.8,.2,1);font-family:Pretendard,system-ui,sans-serif}
.ufs-sh.on{transform:translateY(0)}
.ufs-sh.drag{transition:none}
.ufs-sh .grab{flex:0 0 auto;height:22px;display:flex;align-items:center;justify-content:center;cursor:grab;touch-action:none}
.ufs-sh .grab i{width:44px;height:5px;border-radius:3px;background:#cbd5e1}
.ufs-sh .hd{flex:0 0 auto;display:flex;align-items:center;gap:8px;padding:0 14px 10px 18px;touch-action:none}
.ufs-sh .hd h3{margin:0;font-size:18px;line-height:24px;font-weight:800;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ufs-sh .hd .sub{font-size:12px;line-height:18px;margin-top:4px;color:var(--ufs-sub);font-weight:600}   /* 애플 바 시트 공용 — 제목 24px 줄 + 4px + 부제 18px 줄 (모든 서비스 같은 간격) */
.ufs-sh .hd .sub:empty{display:none}
.ufs-sh .hb{height:40px;min-width:40px;padding:0 12px;border:none;border-radius:12px;background:var(--ufs-soft);font:700 14px Pretendard,sans-serif;color:#334155;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:4px}
.ufs-sh .hb.pri{background:var(--ufs-blue);color:#fff}
.ufs-sh .hb.x{font-size:22px;padding:0}
.ufs-sh .hb.del{color:#dc2626;padding:0 10px}.ufs-sh .hb.del.arm{background:#dc2626;color:#fff}
/* 제목 줄 = 제목 + 닫기만 · 그 밖의 버튼은 제목 아래 한 줄에 넓게 (2개면 반반) — 긴 제목이 잘리지 않게 (2026-10-12) */
.ufs-sh .hd{flex-wrap:wrap}
.ufs-sh .hd .hb.x{order:1}
.ufs-sh .hd .hbs{order:2;flex:0 0 calc(100% - 4px);display:flex;gap:8px;margin:10px 4px 0 0}      /* 오른쪽 4px = 머리줄 왼쪽 18 · 오른쪽 14 → 버튼 줄 좌우 18/18 */
.ufs-sh .hd .hbs:empty{display:none}
.ufs-sh .hd .hbs .hb{flex:1 1 0;min-width:0;height:44px}
.ufs-sh .bd{flex:1;min-height:0;overflow:auto;padding:18px 16px 18px;display:flex;flex-direction:column;gap:26px;-webkit-overflow-scrolling:touch}   /* 맨 위 18px · 묶음 사이 26px */
.ufs-sh .bd>*{flex-shrink:0}
/* 태블릿(가로 포함): 바닥 시트 그대로 — 가운데 정렬, 폭만 제한 */
@media (min-width:861px){
  .ufs-sh{left:0;right:0;margin:0 auto;width:min(720px,100%);max-height:84vh}
}
/* PC(마우스): 같은 애플 바 시트 — 손잡이·아래에서 위로·끌어내려 닫기 동일, 위치만 오른쪽·바닥에서 띄움 */
@media (min-width:861px) and (hover:hover) and (pointer:fine){
  .ufs-sh{left:auto;right:16px;margin:0;top:132px;bottom:110px;width:420px;max-height:none;border-radius:22px;box-shadow:0 12px 44px rgba(15,23,42,.28);transform:translateY(calc(100% + 40px))}
  .ufs-sh.on{transform:translateY(0)}
  .ufs-bg{background:transparent;pointer-events:none}
  .ufs-sh.adm{bottom:12px;width:420px;border-radius:16px}          /* 관리자 지도 — 선박 팝업과 같은 자리·크기 (위치는 fish_map.js 가 지도에 맞춤) */
}

/* ── 시트 안 구성 ── */
.ufs-sec{display:flex;flex-direction:column;gap:12px}   /* 제목 ↔ 내용 12px */
.ufs-sec>h4{margin:0;font-size:14px;font-weight:800;color:#334155;display:flex;align-items:center;gap:6px}
.ufs-sec>h4 small{font-weight:600;color:var(--ufs-sub);font-size:12px}
.ufs-chips{display:flex;flex-wrap:wrap;gap:6px}
.ufs-chip{height:38px;padding:0 13px;border-radius:999px;border:1.5px solid var(--ufs-line);background:#fff;font:700 14px Pretendard,sans-serif;color:#334155;cursor:pointer;display:inline-flex;align-items:center;gap:5px}
.ufs-chip.on{background:var(--ufs-blue);border-color:var(--ufs-blue);color:#fff}
.ufs-chip small{font-size:12px;opacity:.75}
.ufs-chip.dim{opacity:.55}
.ufs-tabs{display:flex;gap:4px;background:var(--ufs-soft);border-radius:12px;padding:4px}
.ufs-tabs button{flex:1;height:36px;border:none;border-radius:9px;background:transparent;font:700 13px Pretendard,sans-serif;color:#475569;cursor:pointer}
.ufs-tabs button.on{background:#fff;color:var(--ufs-blue);box-shadow:0 1px 4px rgba(15,23,42,.12)}
.ufs-in{height:44px;border:1.5px solid var(--ufs-line);border-radius:12px;padding:0 12px;font:600 15px Pretendard,sans-serif;width:100%;box-sizing:border-box}
.ufs-pos{display:flex;align-items:center;gap:8px;background:var(--ufs-soft);border-radius:12px;padding:10px 12px;font-size:14px;font-weight:700}
.ufs-pos span{flex:1}
.ufs-go{height:52px;border:none;border-radius:14px;background:var(--ufs-blue);color:#fff;font:800 16px Pretendard,sans-serif;cursor:pointer;width:100%}
.ufs-go:disabled{background:#94a3b8}
.ufs-go.alt{background:#fff;color:var(--ufs-blue);border:1.5px solid var(--ufs-blue)}
.ufs-go.warn{background:#f59e0b}
.ufs-bill{border:1px solid var(--ufs-line);border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:6px;font-size:14px}
.ufs-bill .r{display:flex;justify-content:space-between}
.ufs-bill .r b{font-weight:800}
.ufs-bill .r.t{border-top:1px dashed var(--ufs-line);padding-top:6px;font-size:15px}
.ufs-bill .free{color:#15803d;font-weight:800}
.ufs-bill .lack{color:#b91c1c;font-weight:800}
.ufs-note{font-size:12px;line-height:1.6;color:var(--ufs-sub)}
.ufs-warn{font-size:13px;line-height:1.6;color:#7c2d12;background:#fff7ed;border:1px solid #fed7aa;border-radius:12px;padding:10px 12px;font-weight:600}
.ufs-q{font-size:15px;font-weight:800;color:#1e3a8a;line-height:1.5}
.ufs-kv{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.ufs-kv>div{background:#f8fafc;border-radius:10px;padding:8px 10px}
.ufs-kv .l{font-size:12px;color:var(--ufs-sub);font-weight:700}
.ufs-kv .v{font-size:15px;font-weight:800;margin-top:1px}
.ufs-list{display:flex;flex-direction:column;gap:6px}
.ufs-li{display:flex;align-items:center;gap:10px;border:1px solid var(--ufs-line);border-radius:12px;padding:10px 12px;cursor:pointer;background:#fff}
.ufs-li .t{flex:1;min-width:0}
.ufs-li .t b{display:block;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ufs-li .t span{font-size:12px;color:var(--ufs-sub)}
.ufs-st{font-size:12px;font-weight:800;padding:3px 8px;border-radius:999px;background:var(--ufs-soft);color:#475569;white-space:nowrap}
.ufs-st.done{background:#ecfdf5;color:#15803d}.ufs-st.wait_cash{background:#fff7ed;color:#c2410c}
.ufs-st.del{background:#fef2f2;color:#dc2626}.ufs-st.exp{background:#f1f5f9;color:#64748b}
.ufs-tabs button small{font-size:12px;opacity:.7;font-weight:800}
.ufs-li.dim{opacity:.6}
.ufs-st.running,.ufs-st.queued,.ufs-st.ai_wait{background:#eff6ff;color:#1d4ed8}.ufs-st.fail,.ufs-st.expired,.ufs-st.cancel{background:#fef2f2;color:#b91c1c}
.ufs-month{display:grid;grid-template-columns:repeat(12,1fr);gap:3px;align-items:end;height:64px}
.ufs-month i{display:block;border-radius:4px 4px 0 0;background:#bfdbfe}
.ufs-month i.now{background:var(--ufs-blue)}
.ufs-month i.sp{background:#fbcfe8}
.ufs-mlab{display:grid;grid-template-columns:repeat(12,1fr);gap:3px;font-size:12px;color:var(--ufs-sub);text-align:center}
.ufs-tree{font-size:13px;line-height:1.7}
.ufs-tree ul{margin:0;padding-left:16px}
.ufs-reason{margin:0;padding-left:18px;font-size:13px;line-height:1.7;color:#1f2937}
.ufs-disc{font-size:12px;line-height:1.6;color:#7c2d12;background:#fffbeb;border-radius:10px;padding:10px 12px;font-weight:600}

/* 정확도 유효시간 — 시트 맨 위 주황 라운드 박스 · 지도 표지 남은 시간 */
.ufs-valid{border-radius:14px;background:#f97316;color:#fff;padding:12px 14px;display:flex;flex-direction:column;gap:3px;box-shadow:0 4px 14px rgba(249,115,22,.3)}
.ufs-valid b{font-size:15.5px;font-weight:900}.ufs-valid b em{font-style:normal;font-size:18px;font-variant-numeric:tabular-nums}
.ufs-valid small{font-size:12.5px;font-weight:700;opacity:.92}
.ufs-valid.over{background:#94a3b8;box-shadow:none}
.ufs-disc.top{border:1.5px solid #fdba74;background:#fff7ed;color:#7c2d12;font-size:12.5px}
.ufs-lbl .vl{height:24px;box-sizing:border-box;display:inline-flex;align-items:center;gap:3px;padding:0 9px 0 6px;border-radius:12px;background:#f97316;color:#fff;font-size:12.5px;font-weight:900;line-height:1}
.ufs-lbl .vl svg{width:15px;height:15px;fill:none;stroke:#fff;stroke-width:2.6;stroke-linecap:round;flex:none}
.ufs-lbl .vl b{font-weight:900}
.ufs-lbl:has(.vl){padding-right:4px}

/* ── 진행 HUD (분석 중 · 위쪽 가운데) ── */
.ufs-hud{position:absolute;z-index:900;left:50%;top:12px;transform:translateX(-50%);min-width:260px;max-width:calc(100% - 24px);background:rgba(15,23,42,.92);color:#fff;
  border-radius:16px;padding:10px 14px;box-shadow:0 8px 28px rgba(0,0,0,.3);font-family:Pretendard,sans-serif;display:none;flex-direction:column;gap:6px;cursor:pointer}
.ufs-hud.on{display:flex}
.ufs-hud .t{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:800}
.ufs-hud .t .sp{width:16px;height:16px;border-radius:50%;border:2.5px solid rgba(255,255,255,.3);border-top-color:#fff;animation:ufsSpin .8s linear infinite;flex:0 0 auto}
.ufs-hud .t .ok{width:18px;height:18px;border-radius:50%;background:#22c55e;display:flex;align-items:center;justify-content:center;font-size:12px}
.ufs-hud .s{font-size:12px;opacity:.85}
.ufs-hud .bar{height:6px;border-radius:3px;background:rgba(255,255,255,.2);overflow:hidden}
.ufs-hud .bar i{display:block;height:100%;background:linear-gradient(90deg,#38bdf8,#22c55e);transition:width .6s}
.ufs-hud.wait .bar i{background:#f59e0b}
@keyframes ufsSpin{to{transform:rotate(360deg)}}

/* ── 하단 메뉴바 (플로터 하단 바와 같은 구성) ── */
.ufs-bar{position:absolute;z-index:850;left:50%;bottom:calc(10px + env(safe-area-inset-bottom));transform:translateX(-50%);display:flex;gap:4px;background:rgba(255,255,255,.96);
  border-radius:20px;padding:6px;box-shadow:0 8px 30px rgba(15,23,42,.28);font-family:Pretendard,sans-serif;max-width:calc(100% - 20px)}
.ufs-bar button{min-width:64px;height:58px;border:none;border-radius:14px;background:transparent;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;
  font:700 12px Pretendard,sans-serif;color:#334155;cursor:pointer;padding:0 8px}
.ufs-bar button svg{width:24px;height:24px;fill:currentColor}
.ufs-bar button.pri{background:var(--ufs-blue);color:#fff}
.ufs-bar button.on{background:#e0edff;color:var(--ufs-blue)}
@media (max-width:520px){.ufs-bar button{min-width:56px;padding:0 4px}}

/* ── 피싱모드 표지 · 위치 선택 안내 ── */
.ufs-mode{position:absolute;z-index:860;left:56px;top:12px;display:flex;align-items:center;gap:6px;background:#0e7490;color:#fff;border-radius:999px;padding:7px 12px 7px 9px;
  font:800 13px Pretendard,sans-serif;box-shadow:0 4px 14px rgba(0,0,0,.2)}
.ufs-mode svg{width:18px;height:18px;fill:#fff}
.ufs-pick{position:absolute;z-index:880;left:50%;bottom:90px;transform:translateX(-50%);background:#0f172a;color:#fff;border-radius:14px;padding:10px 14px;font:700 14px Pretendard,sans-serif;display:none;gap:8px;align-items:center}
.ufs-pick.on{display:flex}
.ufs-pick button{height:34px;border:none;border-radius:9px;padding:0 12px;font:800 13px Pretendard,sans-serif;cursor:pointer}
.ufs-pin{width:30px;height:42px;transform:translate(-50%,-100%)}
.ufs-pin svg{width:30px;height:42px;filter:drop-shadow(0 2px 3px rgba(0,0,0,.35))}

/* ── 조과 썸네일 ── */
.ufs-thumbs{display:flex;gap:3px;transform:translate(-50%,-50%);padding:3px;background:#fff;border-radius:9px;box-shadow:0 2px 8px rgba(0,0,0,.3);cursor:pointer}
.ufs-thumbs img{width:34px;height:34px;object-fit:cover;border-radius:6px;display:block}
.ufs-thumbs b{min-width:24px;height:34px;border-radius:6px;background:#0e7490;color:#fff;font:800 12px Pretendard,sans-serif;display:flex;align-items:center;justify-content:center}
.ufs-gal{display:grid;grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:6px}
.ufs-gal img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:10px;display:block}

/* 안내 토스트 (NM.toast — 트래픽 페이지는 css.css 를 안 불러 스타일이 없음) */
.toast{position:fixed;left:50%;bottom:110px;transform:translateX(-50%);max-width:calc(100% - 32px);background:#0f172a;color:#fff;padding:12px 18px;border-radius:12px;
  font:600 14px/1.5 Pretendard,system-ui,sans-serif;opacity:0;pointer-events:none;transition:opacity .2s,bottom .2s;z-index:3000;box-shadow:0 8px 24px rgba(0,0,0,.3);text-align:center}
.toast.on{opacity:.96;bottom:120px}

/* 관리자 근거 자료 (구역 팝업) */
.ufs-adm{border-top:2px dashed var(--ufs-line);padding-top:12px}
.ufs-adm h4 small{font-weight:600;color:var(--ufs-sub)}
.ufs-imgs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}   /* 관련 자료 한 줄 3개 (대표 결과 그림은 위에 크게) */
.ufs-imgs a{display:block;text-decoration:none;color:var(--ufs-sub);font-size:14px;font-weight:700;line-height:1.35}
.ufs-imgs img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:10px;display:block;background:#e2e8f0}
.ufs-imgs span{display:block;margin-top:4px}
.ufs-flow{width:100%;border-radius:12px;display:block}
.ufs-tbl{width:100%;border-collapse:collapse;font-size:12px}
.ufs-tbl th,.ufs-tbl td{border-bottom:1px solid var(--ufs-line);padding:4px 3px;text-align:center}
.ufs-tbl th{color:var(--ufs-sub);font-weight:700}

/* 하단 메뉴바 오른쪽 마일리지 */
.ufs-mil{display:flex;flex-direction:column;justify-content:center;gap:1px;min-width:96px;padding:0 12px;margin-left:4px;border-left:1px solid var(--ufs-line);text-decoration:none;color:var(--ufs-ink);font-family:Pretendard,sans-serif}
.ufs-mil .l{font-size:12px;font-weight:800;color:var(--ufs-sub)}
.ufs-mil b{font-size:13px;font-weight:800;white-space:nowrap}
.ufs-mil b[data-c]{color:#c2410c}.ufs-mil b[data-p]{color:#1d4ed8}
@media (max-width:520px){.ufs-mil{min-width:76px;padding:0 6px}.ufs-mil b{font-size:12px}}

/* 구역 팝업 — 위치 지도(위성 + 그 시각 바람·조류) */
.ufs-flowbox{position:relative;border-radius:14px;overflow:hidden;background:#0f172a}
.ufs-flowbox .ufs-flow{width:100%;display:block;cursor:zoom-in;border-radius:0}
.ufs-flowcap{font-size:12px;font-weight:700;color:#e2e8f0;padding:6px 10px;background:#0f172a}
.ufs-at .ufs-chips .ufs-chip{height:32px;padding:0 10px;font-size:12.5px}

/* 요청 위치 상태 마커 (충전 필요 · 분석 중) */
.ufs-rq{transform:translate(-50%,-100%);margin-top:-6px;display:inline-flex;align-items:center;gap:7px;background:#0f172a;color:#fff;border-radius:14px;padding:6px 11px 6px 8px;
  box-shadow:0 4px 14px rgba(0,0,0,.35);white-space:nowrap;cursor:pointer;font-family:Pretendard,sans-serif;border:2px solid #fff}
.ufs-rq.wait{background:#f59e0b;color:#111}
.ufs-rq .ic{font-size:16px}
.ufs-rq .sp{width:15px;height:15px;border-radius:50%;border:2.5px solid rgba(255,255,255,.3);border-top-color:#22c55e;animation:ufsSpin .8s linear infinite;flex:0 0 auto}
.ufs-rq .tx{display:flex;flex-direction:column;line-height:1.2}.ufs-rq b{font-size:13px;font-weight:800}.ufs-rq small{font-size:12px;font-weight:700;opacity:.8}

/* ── 트래픽 피싱모드 하단 메뉴 = 플로터 하단 메뉴(#nv-menu)와 같은 디자인 ── */
.ufs-ms{--msq:98px;position:absolute;z-index:950;   /* 지도 왼쪽 버튼(nvm-corner 900)보다 위 — 펼친 메뉴에 버튼이 겹치지 않게 */
  left:0;right:0;bottom:0;margin:0 auto;width:100%;max-width:760px;height:min(70%,560px);box-sizing:border-box;
  background:rgba(255,255,255,.98);color:#0b1726;border:1px solid #dde3ea;border-bottom:0;border-radius:22px 22px 0 0;box-shadow:0 -8px 36px rgba(0,0,0,.22);
  display:flex;flex-direction:column;overflow:hidden;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);font-family:Pretendard,system-ui,sans-serif;
  transform:translateY(calc(100% - var(--msq)));transition:transform .32s cubic-bezier(.32,.72,.24,1);padding-bottom:env(safe-area-inset-bottom)}
.ufs-ms.open{transform:translateY(0)}
.ufs-ms.drag{transition:none}
.ufs-ms-grab{flex:none;height:20px;display:flex;align-items:center;justify-content:center;cursor:grab;touch-action:none;user-select:none}
.ufs-ms-grab i{width:48px;height:5px;border-radius:99px;background:#dde3ea}
.ufs-ms.drag .ufs-ms-grab i,.ufs-ms-grab:active i{width:62px;height:7px;background:#5b6b7d}
.ufs-quick{flex:none;display:flex;align-items:center;height:calc(var(--msq) - 20px);padding:0 4px 14px;gap:2px;box-sizing:border-box}   /* 아이콘 아래 여백 */
.ufs-quick-in{flex:1;min-width:0;display:flex;gap:2px;justify-content:space-around;overflow-x:auto;scrollbar-width:none}
.ufs-quick-in::-webkit-scrollbar{display:none}
.ufs-q{flex:1 1 0;min-width:58px;height:60px;border:0;border-radius:16px;background:transparent;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;
  cursor:pointer;padding:6px 2px;-webkit-tap-highlight-color:transparent;color:#0b1726}
.ufs-q svg{width:26px;height:26px;fill:currentColor}
.ufs-q span{font-size:12px;font-weight:800;color:#5b6b7d;white-space:nowrap;letter-spacing:-.03em}
.ufs-q:active{background:#f1f4f8}
/* 켜진 버튼·타일 = 지금 서비스 색(--um: 트래픽 #1e6fd9 · 피싱 #0e7490 · 트래블 #0e8c7e) + 흰 아이콘·글씨 / 꺼짐 = 옅은 바탕 + 진한 글씨 */
.ufs-q.on{background:var(--um);color:#fff}.ufs-q.on span{color:#fff}
.ufs-q.mil{color:#c2410c}.ufs-q.mil em{font-style:normal;color:#c2410c}
.ufs-q.mil span{display:inline-flex;align-items:center;gap:2px}
.ufs-q.mil .cs{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;border-radius:50%;font:900 12px/1 Pretendard,sans-serif;font-style:normal;color:#fff;flex:none}
.ufs-q.mil .cs.c{background:#ea580c}.ufs-q.mil .cs.p{background:#0e7490;margin-left:4px}
.ufs-q.mil em[data-mpq]{color:#0e7490}
@media (max-width:420px){.ufs-q.mil span{gap:0;font-size:12px;letter-spacing:-.04em;overflow:visible;max-width:none}.ufs-q.mil .cs{width:15px;height:15px;font-size:12px;margin-right:1px}.ufs-q.mil .cs.p{margin-left:2px}}
.ufs-more{flex:none;min-width:58px;border-left:1px solid #dde3ea;border-radius:0 14px 14px 0}
.ufs-more span{display:none}.ufs-more svg{width:30px;height:30px}
.ufs-ms-body{flex:1;min-height:0;overflow-y:auto;padding:4px 16px 20px;border-top:1px solid #dde3ea;-webkit-overflow-scrolling:touch}
.ufs-sec-h{font-size:12.5px;font-weight:900;color:#5b6b7d;letter-spacing:.06em;padding:14px 4px 8px}
.ufs-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:8px}
.ufs-act{height:84px;border-radius:16px;border:1px solid #dde3ea;background:#f1f4f8;cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:#0b1726}
.ufs-act svg{width:28px;height:28px;fill:currentColor}
.ufs-act span{font-size:13px;font-weight:700;white-space:nowrap;letter-spacing:-.02em}
.ufs-act.on{background:var(--um);border-color:var(--um);color:#fff}
.ufs-act.on span,.ufs-act.on svg{color:#fff;fill:#fff}
body.fish{--um:#0e7490}body.travel{--um:#0e8c7e}
.ufs-milbox{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:8px}
.ufs-milbox div{background:#f1f4f8;border-radius:14px;padding:10px 12px;display:flex;justify-content:space-between;align-items:center}
.ufs-milbox span{font-size:12px;font-weight:800;color:#5b6b7d}.ufs-milbox b{font-size:17px;font-weight:900}
.ufs-milbox div:first-child b{color:#c2410c}.ufs-milbox div:last-child b{color:#1d4ed8}
@media (max-width:420px){.ufs-q{min-width:52px}.ufs-q span{font-size:12px}.ufs-q svg{width:24px;height:24px}.ufs-more{min-width:48px}}

/* 목록 칸 — 물고기 심볼 · 위치 설명 */
.ufs-li .ufs-fic{flex:none;width:38px;height:38px;border-radius:50%;background:var(--c,#0e7490);display:flex;align-items:center;justify-content:center}
.ufs-li .ufs-fic svg{width:24px;height:24px;fill:#fff}
.ufs-li .t>span{display:block}.ufs-li .t .pl{color:#0e7490;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* 낚시 방법 — 한 줄씩, 누르면 아래로 펼침 */
.ufs-fsum{display:flex;gap:8px;align-items:flex-start;font-size:13px;margin-bottom:0}
.ufs-fsum+.ufs-fsum{margin-top:-4px}                /* 낚시대 · 미끼 요약 줄 사이 8px */
.ufs-fsum>span{flex:none;width:44px;font-weight:800;color:#64748b;padding-top:3px}
.ufs-fsum>div{display:flex;flex-wrap:wrap;gap:4px}.ufs-fsum i{font-style:normal;font-weight:700;background:#f1f5f9;border-radius:8px;padding:3px 8px}
.ufs-mt{border:1px solid #e2e8f0;border-radius:14px;margin-top:0;overflow:hidden;background:#fff}
.ufs-mt+.ufs-mt{margin-top:-4px}                    /* 낚시 방법 카드 사이 8px (묶음 .ufs-sec gap 12 − 4) — 묶음 간격 26 은 묶음끼리만 */
.ufs-mt>.mh{width:100%;display:flex;align-items:center;gap:8px;padding:12px 14px;border:0;background:transparent;cursor:pointer;text-align:left;font:inherit;color:inherit}
.ufs-mt>.mh .nm{font-size:15px;font-weight:900;flex:none}
.ufs-mt>.mh .st{flex:1;min-width:0;font-size:12px;color:#64748b;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ufs-mt>.mh .vc{display:inline-flex;align-items:center;gap:2px;font-size:12px;font-weight:900;background:#0f172a;color:#fff;border-radius:7px;padding:2px 6px}
.ufs-mt>.mh .vc svg{width:11px;height:11px;fill:#fff}
.ufs-mt>.mh .cv{flex:none;width:9px;height:9px;border-right:2.5px solid #64748b;border-bottom:2.5px solid #64748b;transform:rotate(45deg);transition:transform .2s;margin:-4px 2px 0}
.ufs-mt.on>.mh .cv{transform:rotate(-135deg);margin-top:4px}
.ufs-mt>.mb{display:none;padding:0 14px 14px;font-size:13px;line-height:1.6}
.ufs-mt.on>.mb{display:block}
.ufs-mt .nt{font-weight:800;color:#c2410c;margin-bottom:4px}
.ufs-mt .ds{margin:0 0 8px;color:#334155}
.ufs-mt .rg{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-bottom:8px}
.ufs-mt .rg>div{background:#f8fafc;border-radius:10px;padding:7px 9px}.ufs-mt .rg span{display:block;font-size:12px;color:#64748b;font-weight:700}.ufs-mt .rg b{font-size:13px}
.ufs-mt .gh{font-size:12px;font-weight:900;color:#0e7490;margin:10px 0 4px}
.ufs-mt .gr,.ufs-mt .hw,.ufs-mt .tp{margin:0;padding-left:18px}.ufs-mt .gr small{color:#64748b;font-size:12px}
.ufs-mt .tp{color:#475569;margin-top:6px}
.ufs-mt .vd{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.ufs-mt .vd .v{display:flex;align-items:center;gap:8px;background:#0f172a;color:#fff;border-radius:12px;padding:8px 10px;text-decoration:none;min-width:0}
.ufs-mt .vd .v.more{display:none}.ufs-mt .vd.all .v.more{display:flex}
.ufs-mt .vd .pl{flex:none;width:28px;height:28px;border-radius:50%;background:#ef4444;display:flex;align-items:center;justify-content:center}
.ufs-mt .vd .pl svg{width:14px;height:14px;fill:#fff;margin-left:2px}
.ufs-mt .vd .tt{min-width:0;font-size:12px;font-weight:700;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ufs-mt .vd .tt small{display:block;font-size:12px;opacity:.6}
.ufs-mt .vmore{margin-top:8px;width:100%;height:36px;border:1px solid #e2e8f0;border-radius:10px;background:#f8fafc;font:700 13px inherit;cursor:pointer}
.ufs-mt .sp{display:flex;flex-wrap:wrap;gap:6px}.ufs-mt .sp a{font-weight:800;color:#1d4ed8;text-decoration:none;background:#eff6ff;border-radius:8px;padding:5px 10px}
.ufs-valid .pl{font-size:14px;font-weight:900;margin-bottom:2px}

/* 시세 · 분포 */
.ufs-mk .mk-t{width:100%;border-collapse:collapse;font-size:12.5px;margin-top:4px}
.ufs-mk .mk-t th,.ufs-mk .mk-t td{border-bottom:1px solid #eef2f6;padding:6px 4px;text-align:center}
.ufs-mk .mk-t th{color:#64748b;font-weight:700;background:#f8fafc}
.ufs-mk .mk-m td{font-weight:800;font-size:12px}
.ufs-mk .mk-m .now{background:#fff7ed;color:#c2410c}
.ufs-mk .mk-h{font-size:12.5px;font-weight:900;color:#0e7490;margin:12px 0 4px}.ufs-mk .mk-h small{font-weight:600;color:#64748b}
.ufs-mk .mk-sl{display:flex;align-items:center;gap:10px;margin-bottom:6px}
.ufs-mk .mk-sl b{flex:none;width:40px;font-size:15px;font-weight:900;color:#c2410c}
.ufs-mk .mk-sl input{flex:1;accent-color:#f97316;height:28px}
.ufs-mk .mk-map{height:240px;border-radius:12px;overflow:hidden;position:relative;z-index:0;isolation:isolate;background:#aad3df}
.ufs-mk .mk-map img{max-width:none !important}
.ufs-mk .mk-leg{display:flex;gap:10px;font-size:12px;color:#475569;margin:6px 0 2px}
.ufs-mk .mk-leg i,.ufs-mk .mk-rg i{display:inline-block;width:10px;height:10px;border-radius:50%;margin-right:4px;vertical-align:-1px}
.ufs-mk .mk-rg{display:flex;flex-wrap:wrap;gap:4px 10px;font-size:12px;font-weight:700}
.ufs-mk .mk-rg .k0{opacity:.45}.ufs-mk .mk-rg small{color:#64748b;font-weight:600}
.ufs-mk .mk-src{font-size:13px;line-height:1.6;color:#64748b;margin-top:8px}
.ufs-mk .ufs-note{font-size:14px;line-height:1.75;color:#334155}   /* 시세 요약 — 읽기 좋게 */

/* ── 조과인증 시트 ── */
.cg-up{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;height:48px;margin:0 0 10px;border:0;border-radius:12px;background:#1d6fe0;color:#fff;font-size:16px;font-weight:800;cursor:pointer}
.cg-up svg{width:20px;height:20px;fill:#fff}
.cg-up:active{filter:brightness(.92)}
.ufs-sh .hb.cg-del{color:#dc2626;gap:4px}.ufs-sh .hb.cg-del.on{background:#fee2e2}
.ufs-sh .hb span{white-space:nowrap}
.cg-days{margin-top:6px}
.cg-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px}

.cg-c{position:relative;aspect-ratio:3/4;border-radius:14px;overflow:hidden;background:#e2e8f0;cursor:pointer}
.cg-c>img{width:100%;height:100%;object-fit:cover;display:block}
.cg-c .ov{position:absolute;left:0;right:0;bottom:0;padding:22px 9px 8px;color:#fff;display:flex;flex-direction:column;gap:2px;
  background:linear-gradient(180deg,rgba(0,0,0,0) 0%,rgba(0,0,0,.55) 40%,rgba(0,0,0,.78) 100%)}
.cg-c .ov b{display:flex;align-items:center;gap:5px;font-size:13.5px;font-weight:900}
.cg-c .ov span{font-size:12px;font-weight:600;line-height:1.35;opacity:.92;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.cg-c .ov small{font-size:12px;opacity:.7}
.cg-c .fi,.cg-pop .fi,.cg-pin svg{display:inline-flex}
.cg-c .fi svg{width:16px;height:16px;fill:#fff}
.cg-c .st{position:absolute;left:7px;top:7px;font-size:12px;font-weight:900;padding:3px 7px;border-radius:8px;background:rgba(15,23,42,.7);color:#fff}
.cg-c .st.approved{background:#16a34a}.cg-c .st.rejected{background:rgba(100,116,139,.85)}.cg-c .st.review,.cg-c .st.pending,.cg-c .st.checking{background:#f97316}
.cg-c .loc{position:absolute;right:6px;top:6px;width:34px;height:34px;border-radius:50%;border:0;background:rgba(255,255,255,.92);color:#0e7490;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 2px 8px rgba(0,0,0,.25)}
.cg-c .loc svg{width:18px;height:18px}
.cg-c .ck{display:none;position:absolute;right:8px;top:8px;width:26px;height:26px;border-radius:50%;border:2.5px solid #fff;background:rgba(15,23,42,.35)}
.cg-grid.del .cg-c .loc{display:none}.cg-grid.del .cg-c .ck{display:block}
.cg-grid.del .cg-c.nosel{opacity:.4}
.cg-c.sel{box-shadow:0 0 0 3px #dc2626}.cg-c.sel .ck{background:#dc2626}
.cg-c.sel .ck::after{content:"";position:absolute;left:7px;top:3px;width:6px;height:11px;border:solid #fff;border-width:0 2.5px 2.5px 0;transform:rotate(45deg)}
.cg-foot{text-align:center;padding:10px 0}
.cg-big{width:100%;border-radius:14px;display:block}
.cg-confirm{position:absolute;inset:0;z-index:5;background:rgba(15,23,42,.45);display:flex;align-items:flex-end;justify-content:center;padding:16px}
.cg-confirm .box{width:100%;max-width:420px;background:#fff;border-radius:18px;padding:18px;box-shadow:0 10px 40px rgba(0,0,0,.3)}
.cg-confirm h4{margin:0 0 8px;font-size:16px}.cg-confirm p{margin:0 0 6px;font-size:13px;line-height:1.6;color:#334155}
.cg-confirm p.warn{color:#c2410c;font-weight:700}
.cg-confirm .bt,.cg-btns{display:flex;gap:8px;margin-top:12px}.cg-confirm .bt>*,.cg-btns>*{flex:1}
.cg-confirm [data-ok]{background:#dc2626}
.cg-file{display:flex;align-items:center;justify-content:center;gap:6px;cursor:pointer}
.cg-prev{width:100%;max-height:260px;object-fit:contain;border-radius:12px;margin-top:8px;background:#f1f5f9}
.cg-row{display:flex;gap:8px}.cg-row>*{flex:1;min-width:0}
.ufs-note .bad{color:#dc2626;font-weight:700}
.cg-notice{font-size:12.5px;line-height:1.7;color:#7c2d12;background:#fff7ed;border:1.5px solid #fdba74;border-radius:12px;padding:10px 12px}
.cg-agree{display:flex;align-items:center;gap:10px;width:100%;min-height:50px;border:1.5px solid #cbd5e1;border-radius:14px;background:#fff;font:800 14px Pretendard,sans-serif;color:#334155;cursor:pointer;padding:0 14px;text-align:left}
.cg-agree i{flex:none;width:22px;height:22px;border-radius:6px;border:2px solid #94a3b8;position:relative}
.cg-agree.on{border-color:#1d6fe0;background:#eff6ff;color:#1d4ed8}.cg-agree.on i{background:#1d6fe0;border-color:#1d6fe0}
.cg-agree.on i::after{content:"";position:absolute;left:6px;top:2px;width:5px;height:10px;border:solid #fff;border-width:0 2.5px 2.5px 0;transform:rotate(45deg)}
.cg-prog{display:flex;flex-direction:column;gap:8px;align-items:stretch}
.cg-prog>b{font-size:40px;font-weight:900;text-align:center;font-variant-numeric:tabular-nums;color:#475569;transition:color .2s}
.cg-prog .bar{height:10px;border-radius:5px;background:#e2e8f0;overflow:hidden}.cg-prog .bar i{display:block;height:100%;width:0;background:#475569;transition:width .25s}
.ufs-list .ufs-li.on{background:#eff6ff;border-color:#1d6fe0}
/* 지도 말풍선 표지 — 짙은 회색 라운드 상자, 가운데 아래 뾰족 */
.cg-pop{position:absolute;left:0;top:0;transform:translate(-50%,calc(-100% - 12px));width:210px;background:#2b3138;color:#fff;border-radius:14px;padding:10px;box-shadow:0 8px 24px rgba(0,0,0,.35);font-family:Pretendard,system-ui,sans-serif}
.cg-pop::after{content:"";position:absolute;left:50%;bottom:-11px;transform:translateX(-50%);border:12px solid transparent;border-bottom:0;border-top-color:#2b3138}
.cg-pop .h{display:flex;align-items:center;gap:6px;font-size:14px;font-weight:900;margin-bottom:7px;padding-right:22px}
.cg-pop .fi svg{width:18px;height:18px;fill:#7dd3fc}
.cg-pop img{width:100%;height:130px;object-fit:cover;border-radius:10px;display:block}
.cg-pop .e{font-size:12px;font-weight:700;margin-top:7px;line-height:1.45}.cg-pop .p{font-size:12px;opacity:.75;margin-top:2px}
.cg-pop .x{position:absolute;right:6px;top:6px;width:26px;height:26px;border-radius:50%;border:0;background:rgba(255,255,255,.15);color:#fff;font-size:17px;line-height:1;cursor:pointer}
.cg-pin{transform:translate(-50%,-50%);display:inline-flex;align-items:center;gap:5px;white-space:nowrap;background:#1d6fe0;color:#fff;border:2px solid #fff;border-radius:999px;padding:4px 10px 4px 5px;font:800 13px Pretendard,sans-serif;box-shadow:0 3px 10px rgba(0,0,0,.3);cursor:pointer}
.cg-pin svg{width:20px;height:20px;fill:#fff}
/* 내 낚시포인트 목록 칸 아래 사진 */
.ufs-li.wph{flex-wrap:wrap}
.ufs-ph{flex-basis:100%;display:flex;gap:4px;align-items:center;margin-top:6px;overflow:hidden}
.ufs-ph img{width:34px;height:34px;border-radius:7px;object-fit:cover;flex:none;background:#e2e8f0}
.ufs-ph img.own{box-shadow:0 0 0 2px #16a34a}
.ufs-ph b{font-size:12px;font-weight:800;color:#64748b;margin-left:2px}

/* ── 구역 팝업 구획 · 바로가기 ── */
.ufs-nav{position:sticky;top:-18px;z-index:20;display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;margin:0 -16px;padding:8px 16px;background:var(--ufs-bg,#fff);box-shadow:0 6px 10px -8px rgba(15,23,42,.25)}
.ufs-nav:first-child{margin-top:-18px}   /* 시트 맨 위 바로가기 줄 — 본문 위 여백(18) 없이 제목줄 바로 아래 (끌어올려 붙을 때와 같은 자리) */
.ufs-nav::-webkit-scrollbar{display:none}
.ufs-nav button{flex:none;height:34px;padding:0 13px;border-radius:999px;border:1.5px solid #e2e8f0;background:#fff;font:800 13px Pretendard,sans-serif;color:#334155;cursor:pointer}
.ufs-nav button.on{background:#0e7490;border-color:#0e7490;color:#fff}
/* 묶음 = 낚시포인트 팝업 원래 모양 (사용자 기준: 묶음 제목 = 왼쪽 막대 + 18px 굵게 · 소분류 제목 = 14px 굵게 · 라운드 상자 아님 — 2026-10-15) */
.ufs-blk{display:flex;flex-direction:column;gap:14px;padding:30px 0 34px;border-bottom:14px solid #f1f5f9;margin:0 -16px;padding-left:16px;padding-right:16px;scroll-margin-top:52px}
.ufs-blk:last-of-type{border-bottom:0}
.ufs-bc{display:flex;flex-direction:column;gap:26px;min-width:0}                 /* 묶음 안 소분류 사이 26px */
.ufs-bc>*{flex-shrink:0;margin:0 !important}
.ufs-bc>.ufs-sec+.ufs-note{margin-top:-14px !important}                          /* 바로 위 소분류의 덧붙임 설명은 12px */
.ufs-bc:empty{display:none}
.ufs-mkbox:empty{display:none}                                                  /* 시세를 채우지 않는 화면 — 빈 칸이 간격(26)만 차지하지 않게 */
/* 소분류 제목(UFish.ht → h4.ufs-ht) = 예전 .ufs-sec>h4 와 같음 · 아이콘 숨김 */
.ufs-ht,.ufs-sec>h4.ufs-ht{margin:0;font-size:14px;font-weight:800;color:#334155;display:flex;align-items:center;gap:6px;line-height:inherit}
.ufs-ht>i{display:none}
.ufs-ht small,.ufs-sec>h4.ufs-ht small{font-weight:600;color:var(--ufs-sub);font-size:12px}
/* 묶음 제목(h3.ufs-bt) = 왼쪽 막대 + 18px 굵게 */
.ufs-bt,.ufs-ht.ufs-bt{margin:0;font-size:18px;font-weight:900;color:#0f172a;display:flex;align-items:center;gap:8px;letter-spacing:-.02em}
.ufs-bt::before{content:"";width:5px;height:18px;border-radius:3px;background:#0e7490;flex:none}
.ufs-blk[data-sec="admin"] .ufs-bt::before{background:#7c3aed}
.ufs-bt small{font-size:12px;color:#64748b;font-weight:700;letter-spacing:0}
.ufs-offline{font-size:12.5px;font-weight:700;color:#475569;background:#f1f5f9;border-radius:10px;padding:8px 12px;margin-top:6px}
/* 이용자 인증샷 — 한 줄 5개 정사각, 4줄째 흐리게 */
.cw-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}
@media (min-width:600px){.cw-grid{grid-template-columns:repeat(auto-fill,minmax(54px,72px));justify-content:start}}   /* 넓은 화면 — 작게, 한 줄에 더 많이 */
.cw-grid img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:9px;display:block;background:#e2e8f0;cursor:pointer}
.cw-grid.fade{-webkit-mask-image:linear-gradient(180deg,#000 72%,rgba(0,0,0,.15) 100%);mask-image:linear-gradient(180deg,#000 72%,rgba(0,0,0,.15) 100%)}
.cw-more{font-size:12px;font-weight:800;color:#64748b;text-align:right}
.cw-h{font-size:12.5px;font-weight:900;color:#0e7490;margin:10px 0 4px}
.cw-bar{display:flex;align-items:center;gap:8px;font-size:12.5px;margin:3px 0}
.cw-bar span{flex:0 0 38%;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:700}
.cw-bar i{flex:1;height:10px;border-radius:5px;background:#e2e8f0;overflow:hidden}.cw-bar i b{display:block;height:100%;background:linear-gradient(90deg,#38bdf8,#0e7490)}
.cw-bar em{flex:none;width:36px;text-align:right;font-style:normal;font-weight:800;color:#475569}
.cw-tabs{margin-bottom:6px}
.cw-t td{font-size:12px}

/* 어장·조업 금지 구역 주의 */
.ufs-law{font-size:12.5px;line-height:1.6;font-weight:700;color:#b91c1c;background:#fef2f2;border:1.5px solid #fca5a5;border-radius:12px;padding:10px 12px}
.ufs-law-red{font-size:12.5px;line-height:1.6;font-weight:800;color:#dc2626;padding:2px 2px 6px}

/* 낚시가 잘 된 조건 — 그래프 */
.cw-cond{margin:10px 0 4px}
.cw-cond .t{display:flex;align-items:baseline;gap:8px;margin-bottom:6px}.cw-cond .t b{font-size:14px;font-weight:900}.cw-cond .t span{font-size:12.5px;font-weight:700;color:#0e7490}
.cw-season{display:grid;grid-template-columns:repeat(12,1fr);gap:3px}
.cw-season i{position:relative;height:30px;border-radius:7px;background:rgba(14,116,144,calc(.08 + var(--v,0) * .35));display:flex;align-items:center;justify-content:center}
.cw-season i.on{background:#0e7490}.cw-season i em{font-style:normal;font-size:12px;font-weight:800;color:#475569;line-height:1}.cw-season i.on em{color:#fff}
.cw-trk{position:relative;height:40px;border-radius:10px;background:linear-gradient(90deg,#f1f5f9,#e2e8f0);overflow:visible}
.cw-trk .hs{position:absolute;inset:4px 6px;display:flex;align-items:flex-end;gap:2px}
.cw-trk .hs i{flex:1;background:rgba(14,116,144,.18);border-radius:3px 3px 0 0}
.cw-trk .bd{position:absolute;top:0;bottom:0;background:rgba(14,116,144,.28);border:2px solid #0e7490;border-radius:10px}
.cw-trk .av{position:absolute;top:-4px;bottom:-4px;width:3px;margin-left:-1.5px;background:#f97316;border-radius:2px}
.cw-sc{display:flex;justify-content:space-between;font-size:12px;color:#94a3b8;font-weight:700;margin-top:2px}
.cw-cond .t small{margin-left:auto;font-size:12px;font-weight:900;color:#c2410c}
.cw-cards{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.cw-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px;padding:10px 12px;display:flex;flex-direction:column;gap:6px;min-width:0}
.cw-card>span{font-size:12px;font-weight:800;color:#64748b}
.cw-card b{font-size:14px;font-weight:900;color:#0f172a;display:flex;flex-direction:column;gap:3px;min-width:0;overflow:hidden;text-overflow:ellipsis}
.cw-card b.s{font-size:12.5px;color:#475569}
.cw-card b i{display:block;height:5px;border-radius:3px;background:linear-gradient(90deg,#0e7490 var(--p),#e2e8f0 var(--p))}

/* 시세 그래프 */
.mk-hb .r{display:flex;align-items:center;gap:8px;margin:5px 0}
.mk-hb .l{flex:0 0 96px;display:flex;flex-direction:column;line-height:1.2}.mk-hb .l b{font-size:13px}.mk-hb .l small{font-size:12px;color:#64748b}
.mk-hb i{flex:1;height:14px;border-radius:7px;background:#f1f5f9;overflow:hidden}.mk-hb i b{display:block;height:100%;border-radius:7px;background:linear-gradient(90deg,#fdba74,#f97316)}
.mk-hb em{flex:none;width:56px;text-align:right;font-style:normal;font-weight:900;font-size:13px}
.mk-vb{display:grid;grid-template-columns:repeat(12,1fr);gap:4px;height:128px;align-items:end}
.mk-vb .c{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;height:100%;min-width:0}
.mk-vb .c span{font-size:12px;font-weight:800;color:#64748b;white-space:nowrap;margin-bottom:2px}
.mk-vb .c i{width:100%;max-width:30px;border-radius:6px 6px 2px 2px;background:#bae6fd}
.mk-vb .c em{font-style:normal;font-size:12px;font-weight:800;color:#64748b;margin-top:3px}
.mk-vb .c.hi i{background:#f87171}.mk-vb .c.lo i{background:#38bdf8}
.mk-vb .c.now i{background:#f97316}.mk-vb .c.now span,.mk-vb .c.now em{color:#c2410c}
@media (min-width:600px){.ufs-mk .mk-map{height:320px}}

/* 구역 위치 지도 (팝업 위치정보 맨 위) */
.ufs-amap{height:200px;border-radius:14px;overflow:hidden;position:relative;z-index:0;isolation:isolate;background:#aad3df}
.ufs-amap img{max-width:none !important}
@media (min-width:600px){.ufs-amap{height:260px}}

/* 위치 지도 위 겹침 정보 */
.ufs-amapw{position:relative;border-radius:14px;overflow:hidden;z-index:0;isolation:isolate}   /* 지도 위 겹침 정보가 바로가기 줄 위로 뜨지 않게 (자기 층 안에만) */
.ufs-amapw .ufs-amap{border-radius:0;height:300px}
@media (min-width:600px){.ufs-amapw .ufs-amap{height:340px}}
.ufs-ov{position:absolute;left:10px;right:10px;z-index:950;pointer-events:none}
.ufs-ov.top{top:10px}
.ufs-ov.bot{bottom:10px;right:54px;display:flex;flex-wrap:wrap;gap:5px}
.ufs-valid.ov{padding:9px 12px;background:rgba(249,115,22,.92);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}
.ufs-valid.ov b{font-size:14px}.ufs-valid.ov b em{font-size:16px}.ufs-valid.ov .pl{font-size:13px}.ufs-valid.ov small{font-size:12px}
.ufs-valid.ov.over{background:rgba(100,116,139,.92)}
.ufs-ov.bot span{display:inline-flex;align-items:baseline;gap:4px;background:rgba(255,255,255,.9);border-radius:9px;padding:5px 9px;font-size:12.5px;font-weight:900;color:#0f172a;box-shadow:0 2px 8px rgba(0,0,0,.15)}
.ufs-ov.bot span small{font-size:12px;font-weight:700;color:#64748b}

/* 관리자 구획 (낚시포인트 팝업) */
.ufs-admbox .adm-h{font-size:13px;font-weight:900;color:#7c3aed;margin:12px 0 6px}.ufs-admbox .adm-h:first-child{margin-top:0}.ufs-admbox .adm-h small{color:#64748b;font-weight:700;font-size:12px}
.ufs-admbox .adm-kv{display:grid;grid-template-columns:84px 1fr;gap:5px 10px;font-size:13px;background:#faf5ff;border:1px solid #e9d5ff;border-radius:12px;padding:10px 12px}
.ufs-admbox .adm-kv span{color:#64748b;font-weight:700}.ufs-admbox .adm-kv b{font-weight:800;min-width:0;overflow-wrap:anywhere}
.ufs-admbox a{color:#6d28d9;text-decoration:none;font-weight:800}
.ufs-admbox em.del{font-style:normal;font-size:12px;font-weight:900;color:#dc2626;background:#fee2e2;border-radius:6px;padding:1px 6px}
.ufs-admbox .adm-list{font-size:12.5px;line-height:1.7;margin-top:6px}.ufs-admbox .adm-list small{color:#94a3b8}

/* 인터넷 연결 끊김 — 구획 내용 가운데 심볼 */
.ufs-offsym{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:150px;padding:18px 12px;border-radius:14px;background:#f8fafc;border:1.5px dashed #cbd5e1;text-align:center;color:#64748b}
.ufs-offsym svg{width:44px;height:44px;color:#94a3b8}
.ufs-offsym b{font-size:15px;font-weight:900;color:#475569}.ufs-offsym small{font-size:12.5px;font-weight:600}
.ufs-offsym button{margin-top:4px;height:38px;padding:0 16px;border-radius:10px;border:1.5px solid #cbd5e1;background:#fff;font:800 13px inherit;color:#334155;cursor:pointer}

/* 시간별 바람·조류 그래프 (관리자 근거 자료) */
.hc-box{background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px;padding:10px 10px 6px}
.hc-box svg.hc{width:100%;height:auto;display:block;overflow:visible}
.hc-box svg .t{font-size:24px;font-weight:700;fill:#64748b}   /* 그림 폭에 맞춰 줄어들므로 크게 */
.hc-lg{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;font-size:13px;font-weight:700;color:#475569;margin:2px 2px 6px}
.hc-lg i{display:inline-block;width:12px;height:12px;border-radius:3px;margin-right:5px;vertical-align:-1px}
.hc-lg b{margin-left:auto;font-weight:800;color:#0f172a}

/* 좋은 시간대 그래프 */
.ufs-dcw{background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px;padding:8px 8px 2px}
.ufs-dc{display:block;width:100%;max-width:520px;height:auto;margin:0 auto}   /* 넓은 시트(플로터·PC)에서 그래프가 커지지 않게 */
.ufs-dcl{display:flex;flex-direction:column;gap:8px;margin-top:10px}
.ufs-dcr{display:flex;align-items:flex-start;gap:8px;font-size:14px;line-height:1.55;color:#1f2937}
.ufs-dcr b{flex:none;width:24px;height:24px;border-radius:50%;background:#0e7490;color:#fff;font-size:13px;display:flex;align-items:center;justify-content:center;margin-top:1px}
.ufs-dcr .t{flex:none;font-weight:800;color:#0e7490;padding-right:8px;border-right:2px solid #cbd5e1}
.ufs-tac{color:#1f2937!important;font-size:15px!important;line-height:1.75!important}

/* 조과 칸 — 칩 3개만 (어종 · 수심 · 지난 시간) */
.cg-c .ov{gap:6px!important;padding:30px 8px 8px!important}
.cg-c .ov .cp{display:inline-flex;align-items:center;gap:5px;align-self:flex-start;max-width:100%;padding:4px 10px 4px 5px;border-radius:999px;background:rgba(15,23,42,.62);
  color:#fff;font-size:12.5px;font-weight:800;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;-webkit-line-clamp:unset;opacity:1}
.cg-c .ov .cp i{flex:none;width:20px;height:20px;border-radius:50%;background:#fff;display:flex;align-items:center;justify-content:center}
.cg-c .ov .cp i svg{width:13px;height:13px;fill:#0e7490}
.cg-c .ov .cp.sp{background:#0e7490;font-size:13.5px}
.cg-c .ov .cr{display:flex;gap:5px;flex-wrap:wrap}
.cg-c .ov .cr .cp{font-size:12px;padding:3px 8px 3px 4px}
.cg-c .ov .cr .cp i{width:17px;height:17px}.cg-c .ov .cr .cp i svg{width:11px;height:11px}

/* 지도 조과 말풍선 — 짙은 회색, 꼬리는 아래 가운데 */
.ufs-cb{position:absolute;left:0;top:0;transform:translate(-50%,calc(-100% - 11px));width:150px;background:#2b3138;color:#fff;border-radius:12px;padding:6px;
  box-shadow:0 6px 18px rgba(0,0,0,.35);font-family:Pretendard,system-ui,sans-serif;cursor:pointer}
.ufs-cb::after{content:"";position:absolute;left:50%;bottom:-9px;transform:translateX(-50%);border:10px solid transparent;border-bottom:0;border-top-color:#2b3138}
.ufs-cb .h{display:flex;align-items:center;gap:4px;margin-bottom:5px;min-width:0}
.ufs-cb .sp{display:inline-flex;align-items:center;gap:4px;min-width:0;padding:2px 8px 2px 2px;border-radius:999px;background:#0e7490;font-size:12px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ufs-cb .sp i{flex:none;width:18px;height:18px;border-radius:50%;background:#fff;display:flex;align-items:center;justify-content:center}
.ufs-cb .sp i svg{width:12px;height:12px;fill:#0e7490}
.ufs-cb em{font-style:normal;font-size:12px;font-weight:800;opacity:.9;white-space:nowrap}
.ufs-cb b{margin-left:auto;flex:none;font-size:12px;font-weight:900;padding:2px 6px;border-radius:999px;background:#f97316}
.ufs-cb img{width:100%;height:84px;object-fit:cover;border-radius:8px;display:block}
.ufs-cb .e{font-size:12px;font-weight:700;line-height:1.4;margin-top:4px;opacity:.92}
.cg-c.flash{animation:cgFlash 1.2s ease}
@keyframes cgFlash{0%,60%{box-shadow:0 0 0 4px #f97316}100%{box-shadow:0 0 0 0 rgba(249,115,22,0)}}
.cg-foot .cg-near{margin-top:10px;padding:0 18px;height:42px;width:auto}
/* 하단 메뉴 안 선박위험 — 다른 메뉴처럼 아이콘 칸 (켜면 빨강) · 섹션 제목이 있으니 칩 앞 글자는 숨김 */
.ufs-ms .bb-af .umi-af,.tr-laybox .bb-af .umi-af{display:grid;grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:8px}
.tr-laybox .bb-af .umi-af .t,.ufs-ms .bb-af .umi-af .t{display:none}
.tr-laybox .bb-af .umi-af button,.ufs-ms .bb-af .umi-af button{height:84px;padding:0;border-radius:16px;border:1px solid #dde3ea;background:#f1f4f8;color:#b91c1c;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;font-size:13px;font-weight:800}
.tr-laybox .bb-af .umi-af button .ic,.ufs-ms .bb-af .umi-af button .ic{display:flex}
.tr-laybox .bb-af .umi-af button svg,.ufs-ms .bb-af .umi-af button svg{width:28px;height:28px;fill:currentColor}
.tr-laybox .bb-af .umi-af button.on,.ufs-ms .bb-af .umi-af button.on{background:#dc2626;border-color:#dc2626;color:#fff}
.tr-laybox .bb-af,.ufs-ms .bb-af{margin-bottom:6px}
/* 휴대폰 — 메뉴 칸 조금 작게 (트래픽·피싱) */
@media (max-width:600px){
  .tr-laybox .ufs-grid,.tr-laybox .bb-af .umi-af,.ufs-ms .ufs-grid,.ufs-ms .bb-af .umi-af{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
  .tr-laybox .ufs-act,.tr-laybox .bb-af .umi-af button,.ufs-ms .ufs-act,.ufs-ms .bb-af .umi-af button{height:66px;gap:5px;border-radius:13px;font-size:12px}
  .tr-laybox .ufs-act svg,.tr-laybox .bb-af .umi-af button svg,.ufs-ms .ufs-act svg,.ufs-ms .bb-af .umi-af button svg{width:22px;height:22px}
  .tr-laybox .ufs-act span,.ufs-ms .ufs-act span{font-size:12px;line-height:1.15;text-align:center;word-break:keep-all}
}

/* 조과 말풍선 — 내용 30% 줄임 (꼬리 크기는 그대로) · 묶음은 사진 칸 */
.ufs-cb{width:105px!important;padding:5px!important;border-radius:11px!important}
.ufs-cb .h{gap:3px!important;margin-bottom:4px!important}
.ufs-cb .sp{font-size:12px!important;padding:1px 6px 1px 1px!important;gap:3px!important}
.ufs-cb .sp i{width:15px!important;height:15px!important}.ufs-cb .sp i svg{width:10px!important;height:10px!important}
.ufs-cb em{font-size:12px!important}
.ufs-cb .h b{font-size:12px!important;padding:1px 6px!important}
.ufs-cb img.one{height:58px!important;border-radius:7px!important}
.ufs-cb .e{font-size:12px!important;line-height:1.35!important;margin-top:3px!important}
.ufs-cb .ph{display:grid;grid-template-columns:1fr 1fr;gap:3px}
.ufs-cb .ph span{position:relative;display:block;aspect-ratio:1;border-radius:7px;overflow:hidden;background:#475569}
.ufs-cb .ph img{width:100%!important;height:100%!important;object-fit:cover;border-radius:0!important}
.ufs-cb .ph em{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(15,23,42,.6);color:#fff;font-style:normal;font-size:13px!important;font-weight:900}
/* 트래픽 왼쪽 [레이어] 상자 — 아이콘 칸 (태블릿·PC 는 조금 작게) */
.tr-laybox .ufs-sec-h{margin:10px 2px 6px;font-size:12.5px;font-weight:800;color:#475569}
.tr-laybox .ufs-sec-h:first-child{margin-top:2px}
.tr-laybox .ufs-grid,.tr-laybox .bb-af .umi-af{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
.tr-laybox .ufs-act,.tr-laybox .bb-af .umi-af button{height:70px;gap:6px;border-radius:13px}
.tr-laybox .ufs-act svg,.tr-laybox .bb-af .umi-af button svg{width:24px;height:24px}
.tr-laybox .ufs-act span{font-size:12px}
@media (max-width:600px){.tr-laybox .ufs-act,.tr-laybox .bb-af .umi-af button{height:62px;gap:5px}.tr-laybox .ufs-act svg,.tr-laybox .bb-af .umi-af button svg{width:21px;height:21px}.tr-laybox .ufs-act span{font-size:12px}}
/* 태블릿·PC 레이어 상자 — 작게, (아이콘 | 이름) 한 줄 칩 (휴대폰은 위 바닥 시트 아이콘 칸) */
@media (min-width:601px){
  .tr-laybox .ufs-sec-h{margin:8px 2px 5px;font-size:12px}
  .tr-laybox .ufs-grid,.tr-laybox .bb-af .umi-af{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
  .tr-laybox .ufs-act,.tr-laybox .bb-af .umi-af button{height:32px;flex-direction:row;justify-content:flex-start;gap:4px;padding:0 6px;border-radius:9px;min-width:0}
  .tr-laybox .ufs-act svg,.tr-laybox .bb-af .umi-af button svg{width:15px;height:15px;flex:none}
  .tr-laybox .ufs-act span,.tr-laybox .bb-af .umi-af button span{font-size:12px;letter-spacing:-.04em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
  .tr-laybox .bb-af{margin-bottom:2px}
}

/* 금어기 — 낚시포인트 팝업 맨 위, 금지 심볼 깜빡임 */
.ufs-closed{display:flex;align-items:center;gap:12px;margin:0 0 12px;padding:12px 14px;border-radius:14px;background:#fef2f2;border:1.5px solid #fca5a5;color:#991b1b}
.ufs-closed i{flex:none;width:38px;height:38px;color:#dc2626;display:flex}
.ufs-closed i svg{width:100%;height:100%}
.ufs-closed i.bl{animation:ufsClosedBl 1s steps(1,end) infinite}
@keyframes ufsClosedBl{0%{opacity:1}50%{opacity:.15}}
.ufs-closed b{display:block;font-size:16px;font-weight:900;color:#b91c1c}
.ufs-closed span{display:block;font-size:13.5px;font-weight:800;margin-top:2px}
.ufs-closed small{display:block;font-size:12px;font-weight:700;opacity:.8;margin-top:2px}
.ufs-closed-on{color:#dc2626;font-weight:900}
html.nv-night .ufs-closed{background:rgba(220,38,38,.15);border-color:rgba(248,113,113,.5);color:#fecaca}html.nv-night .ufs-closed b{color:#fca5a5}

/* 요청 전 출현 판정 — 빨강: 분석 안 함(환불) · 주황: 주 서식 해역 아님(감점) */
.ufs-gate{display:flex;flex-direction:column;gap:5px;margin:0 0 10px;padding:10px 12px;border-radius:12px;background:#fff7ed;border:1.5px solid #fdba74}
.ufs-gate div{font-size:13px;line-height:1.45;color:#9a3412}.ufs-gate div.hard{color:#b91c1c}.ufs-gate b{font-weight:900}
.ufs-gate small{font-size:12px;font-weight:700;color:#b91c1c}
html.nv-night .ufs-gate{background:rgba(249,115,22,.12);border-color:rgba(253,186,116,.5)}html.nv-night .ufs-gate div{color:#fed7aa}html.nv-night .ufs-gate div.hard,html.nv-night .ufs-gate small{color:#fca5a5}

.ufs-evbtn{display:flex;align-items:center;justify-content:center;text-decoration:none;height:44px;margin-top:8px}

/* 선박 운항 — 낚시정보 안 */
.ufs-boat .bt-top{display:flex;align-items:center;gap:14px;margin-bottom:8px}
.ufs-boat .bt-cmp{flex:none;width:92px;height:92px}
.ufs-boat .bt-kv{display:flex;flex-direction:column;gap:4px;font-size:14px;color:#334155;min-width:0}
.ufs-boat .bt-kv i{display:inline-block;width:10px;height:10px;border-radius:3px;margin-right:6px;vertical-align:0}
.ufs-boat .bt-mode{align-self:flex-start;font-size:14px;font-weight:900;padding:4px 12px;border-radius:999px;background:#0e7490;color:#fff;margin-bottom:2px}
.ufs-boat .bt-anchor{background:#7c3aed}.ufs-boat .bt-spotlock{background:#2563eb}.ufs-boat .bt-troll{background:#ea580c}
.ufs-boat .bt-steps{margin:0 0 8px;padding-left:20px;font-size:14px;line-height:1.6;color:#1f2937}
.ufs-boat .bt-steps li{margin:2px 0}
.ufs-boat .bt-sk{font-size:14px;padding:8px 12px;border-radius:10px;background:#f1f5f9;color:#0f172a;margin-bottom:6px}
.ufs-boat .bt-sk small{color:#64748b;font-weight:700;font-size:12px}
.ufs-boat .bt-note{font-size:13px;font-weight:700;color:#c2410c;background:#fff7ed;border-radius:10px;padding:7px 10px;margin-bottom:6px}
html.nv-night .ufs-boat .bt-kv,html.nv-night .ufs-boat .bt-steps,html.nv-night .ufs-boat .bt-sk{color:inherit}html.nv-night .ufs-boat .bt-sk{background:rgba(255,255,255,.06)}

/* 애플 시트 여러 장 — 뒤 시트는 맨 앞 위로 머리만 보이고 살짝 작게 · 누르면 앞으로 */
.stk-back{transform:translateY(var(--stk-y,-46px)) scale(var(--stk-s,.96)) !important;transform-origin:50% 0 !important;cursor:pointer;
  transition:transform .32s cubic-bezier(.2,.8,.2,1),filter .2s !important;filter:brightness(.97)}
.stk-back *{pointer-events:none !important}
.stk-back:hover{filter:brightness(1)}
.stk-far{opacity:0 !important;pointer-events:none !important}
.ufs-bg.stk-bgback{opacity:0 !important;pointer-events:none !important}

/* 선박 운항 지도 — 구역 · 시작점 · 흘리는 줄 · 되돌아가는 줄 · 번호(아래 설명 순서) */
.ufs-boat .bt-map{position:relative;z-index:0;isolation:isolate;height:240px;border-radius:14px;overflow:hidden;margin:4px 0 10px;background:#cfe3ec;touch-action:pan-y}
.ufs-boat .bt-map .bm-ic{background:none;border:0}
.ufs-boat .bt-map .bm-ic svg{display:block;filter:drop-shadow(0 1px 2px rgba(0,0,0,.35))}
.ufs-boat .bt-map .bm-n{display:inline-flex;width:22px;height:22px;border-radius:11px;background:#0f172a;color:#fff;font:900 12px/22px system-ui,sans-serif;justify-content:center;box-shadow:0 1px 4px rgba(0,0,0,.35)}
.ufs-boat .bt-map .bm-t{position:absolute;left:25px;top:2px;white-space:nowrap;font:800 12px/18px system-ui,sans-serif;color:#0f172a;background:rgba(255,255,255,.9);border-radius:9px;padding:0 6px}
.ufs-boat .bt-map .bm-anc{display:flex;width:28px;height:28px;border-radius:14px;background:#fff;border:2px solid #0f172a;align-items:center;justify-content:center;font-size:15px}
.ufs-boat .bt-map .bm-lg{position:absolute;left:8px;top:8px;z-index:500;display:flex;flex-direction:column;gap:3px;background:rgba(15,23,42,.78);color:#fff;border-radius:10px;padding:6px 9px;font-size:12px;font-weight:800;pointer-events:none}
.ufs-boat .bt-map .bm-lg span{display:flex;align-items:center;gap:5px}.ufs-boat .bt-map .bm-lg svg{width:13px;height:13px}
.ufs-boat .bt-map .bm-t.l{left:auto;right:25px}
.ufs-boat .bt-map .bm-ic{overflow:visible}

/* 휴대폰 — 시트가 맨 위까지 올라가지 않게 : 상단 메뉴(로고·버튼) 아래 살짝 겹치는 높이까지 (보이는 화면 높이 dvh 기준) */
@media (max-width:860px){ .ufs-sh{max-height:calc(100vh - 64px);max-height:calc(100dvh - 64px)} }

/* 휴대폰 — 바닥 시트·하단 메뉴바는 화면 꽉 채우지 않고 좌우를 지도 왼쪽 버튼 줄과 같은 12px 띄움 (바닥에는 붙임) */
@media (max-width:600px){
  .ufs-sh,.ufs-sh.on{left:0 !important;right:0 !important;width:100% !important;margin:0 !important}   /* 모바일 — 바닥 시트 폭 100% */
  .ufs-ms{left:12px;right:12px;width:auto;margin:0;border-bottom:0}
}

/* 휴대폰 — 하단 메뉴 아이콘이 좁은 폰에서 붙지 않게 : 기본 크기 유지 + 칸마다 여백, 넘치면 옆으로 밀어 보기 */
@media (max-width:600px){
  .ufs-quick-in{gap:4px;justify-content:space-between}
  .ufs-q{flex:1 1 0;min-width:60px;padding:6px 4px}            /* 칸 너비 모두 같게 (글자 길이로 늘지 않게) */
  .ufs-q span{white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}
  .ufs-q svg{width:26px;height:26px}
}
/* 메뉴·닫기(✕) 버튼은 늘어나지 않게 — 항상 같은 폭 (위 휴대폰 규칙 .ufs-q 가 이 버튼에도 걸리던 문제) */
.ufs-quick .ufs-q.ufs-more{flex:0 0 58px !important;min-width:58px;width:58px;padding:6px 4px}
@media (max-width:420px){.ufs-quick .ufs-q.ufs-more{flex-basis:50px !important;min-width:50px;width:50px}}

/* 태블릿(터치)·앱 — 애플 시트·하단 메뉴바도 휴대폰처럼 좌우 12px 띄움 (태블릿의 왼쪽 레이어·안내 상자는 제외) */
@media (max-width:1024px) and (hover:none){
  .ufs-sh,.ufs-sh.on{left:0 !important;right:0 !important;width:100% !important;margin:0 !important;max-width:none}
  .ufs-ms{left:12px;right:12px;width:auto;max-width:none;margin:0}
}
html.in-app .ufs-sh,html.in-app .ufs-sh.on{left:0 !important;right:0 !important;width:100% !important;margin:0 !important}
html.in-app .ufs-ms{left:12px;right:12px;width:auto;max-width:none;margin:0}

/* ── 모바일·앱(터치) 공통: 애플 시트 — 좌우 12px · 시트 안을 문질러도 뒤 본문이 스크롤되지 않게 ── */
@media (hover:none) and (pointer:coarse){
  html:has(.nm-more-back.open,.nm-noti-pop.on,.urm-back.open,.ufs-sh.on,.umi-panel.on,body>.usp.mopen,body>.tr-leg.on),
  html:has(.nm-more-back.open,.nm-noti-pop.on,.urm-back.open,.ufs-sh.on,.umi-panel.on,body>.usp.mopen,body>.tr-leg.on) body{overflow:hidden !important;overscroll-behavior:none}
  .nm-more-back,.urm-back,.ufs-bg,.usp-bg{touch-action:none;overscroll-behavior:contain}
  .nm-more-sheet,.nm-more-body,.nm-noti-pop,.nm-noti-list,.urm-box,.ufs-sh,.ufs-sh .bd,.ufs-ms-body,.umi-panel,.umi-panel .umi-body,body>.usp,body>.tr-leg{overscroll-behavior:contain}
}
@media (max-width:600px){
  .urm-box{left:0 !important;right:0 !important}
}

/* 반경 칩 — 반경 아래 차감 마일리지 */
.ufs-chip.ufs-radc{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;height:auto;min-height:44px;padding:6px 14px;line-height:1.25;gap:1px}
.ufs-chip.ufs-radc b{font-size:14px;font-weight:800}
.ufs-chip.ufs-radc small{font-size:12px;font-weight:700;opacity:.75;white-space:nowrap}

/* 처음 안내 — 하단 메뉴바 위 6초 · 지도 꾹 누르기 진행 링 */
.ufs-hint{position:absolute;z-index:890;left:50%;bottom:max(calc(var(--msq,98px) + 14px + env(safe-area-inset-bottom)),var(--guide-up,0px));   /* 비회원 가입 카드(#guide)가 있으면 그 위로 (--guide-up, traffic/index.html) */transform:translate(-50%,8px);opacity:0;
  display:flex;align-items:center;gap:8px;max-width:calc(100% - 32px);padding:10px 16px;border-radius:999px;background:rgba(15,23,42,.88);color:#fff;
  font:800 14px Pretendard,sans-serif;white-space:nowrap;pointer-events:none;box-shadow:0 6px 20px rgba(0,0,0,.25);transition:opacity .35s,transform .35s}
.ufs-hint.on{opacity:1;transform:translate(-50%,0)}
.ufs-hint svg{width:18px;height:18px;fill:#38bdf8;flex:none}
.ufs-lp{position:absolute;z-index:880;width:64px;height:64px;margin:-32px 0 0 -32px;pointer-events:none}
.ufs-lp circle{fill:none;stroke-width:5;stroke-linecap:round}
.ufs-lp .bg{stroke:rgba(10,108,255,.18)}
.ufs-lp .fg{stroke:#0a6cff;stroke-dasharray:176;stroke-dashoffset:176;transform:rotate(-90deg);transform-origin:32px 32px}
@media (max-width:420px){.ufs-hint{font-size:13px;padding:9px 14px}}

/* 높이 고정 시트(fixed) — 내용이 늘거나 불러와도 모양 그대로, 안(.bd)에서만 스크롤 */
.ufs-sh.fixed{height:88vh;height:88dvh}
@media (min-width:861px){.ufs-sh.fixed{height:84vh;height:84dvh}}
@media (max-width:860px){.ufs-sh.fixed{height:calc(100vh - 64px);height:calc(100dvh - 64px)}}
.ufs-sh.fixed>.bd{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
@media (min-width:861px) and (hover:hover) and (pointer:fine){.ufs-sh.fixed{height:auto}}   /* PC 오른쪽 패널 — 위·아래 위치로 이미 높이 고정 */

/* 시트 속 지도는 전부 자기 층 안에서만 — 지도 범례·조류·바람 레이어·+ − 가 위 바로가기 줄(.ufs-nav)을 덮지 않게 */
.ufs-sh .nvm-map,.ufs-sh .leaflet-container{position:relative;z-index:0;isolation:isolate}
/* (관) 관리자만 보는 항목 표시 */
.ufs-adm-mk{display:inline-flex;align-items:center;justify-content:center;font-style:normal;font-size:12px;font-weight:900;line-height:1;color:#fff;background:#dc2626;border-radius:4px;padding:2px 4px;margin-left:5px;vertical-align:1px;flex:none}
/* 다른 이용자 낚시포인트 — 어종비공개 라벨(지난 시간) · 누르면 궁금증 팝업 */
.ufs-zl .ag{height:20px;display:inline-flex;align-items:center;padding:0 7px;border-radius:10px;background:#e2e8f0;color:#475569;font-size:12px;font-weight:800;line-height:1}
.ufs-zone-tz{display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;padding:14px 8px 18px}
.ufs-zone-tz .ic{width:52px;height:52px;border-radius:50%;background:#f1f5f9;display:flex;align-items:center;justify-content:center;color:#475569}
.ufs-zone-tz .ic svg{width:30px;height:30px}
.ufs-zone-tz b{font-size:18px;font-weight:900;color:#0f172a}
.ufs-zone-tz span{font-size:13.5px;color:#64748b;line-height:1.5;word-break:keep-all}
/* 다른 이용자 낚시포인트 팝업 — 비공개 표시 (🔒 비공개 알약 · 흐린 막대 · 가린 칸) */
.ufs-lk{display:inline-flex;align-items:center;gap:3px;height:20px;padding:0 7px;border-radius:10px;background:#1e293b;color:#fff;font-size:12px;font-weight:800;line-height:1;white-space:nowrap;vertical-align:middle;flex:none}
.ufs-ov.bot span.ufs-lk{align-items:center;gap:3px;height:20px;padding:0 7px;border-radius:10px;background:#1e293b;color:#fff;font-size:12px;font-weight:800;box-shadow:none}   /* 지도 위 수심·반경 비공개 — 다른 비공개 표시와 같은 색 */
.ufs-lk svg{width:11px;height:11px;fill:none;stroke:#fff;stroke-width:2.4}
.ufs-chip.lk{cursor:default;display:inline-flex;align-items:center;gap:5px}
.ufs-tz-top{display:inline-flex;align-items:center;gap:6px;background:rgba(15,23,42,.82);color:#fff;border-radius:10px;padding:6px 10px;font-size:13px;font-weight:800}
.ufs-tz-top svg{width:18px;height:18px}
.ufs-tz-rs li{display:flex;align-items:center;gap:8px}
.ufs-tz-rs li b{flex:none}
.ufs-blur{flex:1;min-width:30px;height:10px;border-radius:5px;background:linear-gradient(90deg,#cbd5e1,#e2e8f0 60%,#cbd5e1);filter:blur(1.5px)}
.ufs-tz-w{display:flex;align-items:center;gap:8px;margin-top:10px}
.ufs-tz-crowd{position:relative;display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
.ufs-tz-crowd i{aspect-ratio:1;border-radius:12px;background:linear-gradient(135deg,#94a3b8,#cbd5e1 50%,#64748b);filter:blur(5px);opacity:.75}
.ufs-tz-crowd>div{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;text-align:center}
.ufs-tz-crowd>div span:last-child{font-size:13px;font-weight:800;color:#0f172a;background:rgba(255,255,255,.85);border-radius:8px;padding:4px 8px}
.ufs-tz-row{display:flex;align-items:center;flex-wrap:wrap;gap:6px;font-size:14px;color:#334155;line-height:1.5}
.ufs-tz-big{display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;padding:16px 8px;border-radius:16px;background:#f8fafc;border:1px dashed #cbd5e1}
.ufs-tz-big .ic{width:52px;height:52px;border-radius:50%;background:#e2e8f0;display:flex;align-items:center;justify-content:center;color:#475569}
.ufs-tz-big .ic svg{width:30px;height:30px}
.ufs-tz-big b{font-size:17px;font-weight:900;color:#0f172a}
.ufs-tz-big span{font-size:13px;color:#64748b;word-break:keep-all}
.ufs-tz-m i{background:#cbd5e1 !important;filter:blur(1px)}
.ufs-tz-graph{display:flex;align-items:flex-end;gap:8px;height:110px;padding:10px;border-radius:12px;background:#f8fafc;border:1px solid #e2e8f0}
.ufs-tz-graph i{flex:1;border-radius:6px 6px 0 0;background:linear-gradient(#94a3b8,#cbd5e1);filter:blur(3px);opacity:.8}
.ufs-sec h4 .ufs-lk{margin-left:4px}

/* 지도 위 정보 팝업은 지도를 막지 않음 — 팝업이 떠 있어도 끌기·확대 가능, 닫기·끌어내리기로만 닫힘 (사용자 지시 2026-10-12, 모든 지도 페이지) */
.ufs-bg,.ufs-bg.on,.ufs-bg.nodim{background:transparent !important;pointer-events:none !important}

/* 대기 표시 — 글자 대신 도는 아이콘 (연결 확인·불러오는 중) */
.ufs-wait{display:block;width:28px;height:28px;margin:28px auto;box-sizing:border-box;border-radius:50%;border:3px solid rgba(127,127,127,.25);border-top-color:#1e6fd9;animation:ufsSpin .8s linear infinite}
.ufs-wait.sm{width:18px;height:18px;border-width:2.5px;margin:8px auto}
.ufs-wait.big{width:40px;height:40px;border-width:4px;margin:44px auto}
/* 하단 메뉴 좌우 여백 — 바 안쪽 왼쪽 = 마지막 칸과 [메뉴] 구분선 사이 = [메뉴] 오른쪽 (모두 8px, 모든 지도 공용) */
.ufs-quick{padding-left:8px;padding-right:8px;gap:0}
.ufs-quick .ufs-q.ufs-more{margin-left:8px}

/* 시트 안 작은 지도(끌기 꺼짐) — 손가락으로 위아래 밀면 시트가 스크롤·끌어내려짐 (지도는 + − 로만) */
.ufs-sh .leaflet-container:not(.leaflet-touch-drag){touch-action:pan-y !important}

/* 구분 심볼 — 해상(sea)·지상(shore)·해루질(mudflat) */
.ufs-zone{display:inline-flex;align-items:center;gap:3px;font-size:12px;font-weight:800;line-height:1;padding:3px 7px 3px 5px;border-radius:999px;white-space:nowrap;vertical-align:middle}
.ufs-zone i{display:inline-flex;width:13px;height:13px}.ufs-zone i svg{width:100%;height:100%;fill:currentColor}
.ufs-zone.z-sea{background:#e0f2fe;color:#0369a1}
.ufs-zone.z-shore{background:#fef3c7;color:#92400e}
.ufs-zone.z-mudflat{background:#ede9fe;color:#5b21b6}
.ufs-zrow{display:flex;gap:6px;align-items:center}
.ufs-zrow .ufs-zone{font-size:13px;padding:5px 10px 5px 7px}.ufs-zrow .ufs-zone i{width:15px;height:15px}
/* 해루질 물때 창 — 나갈·간조·돌아올 시각 */
.ufs-twbar{position:relative;height:14px;border-radius:999px;background:#e2e8f0;overflow:hidden}
.ufs-twbar.sm{height:8px;flex:1;min-width:60px}
.ufs-twbar i{position:absolute;top:0;bottom:0}
.ufs-twbar i.go{background:#22c55e}.ufs-twbar i.mg{background:#f97316}.ufs-twbar i.sp{background:#8b5cf6;border-radius:999px}
.ufs-twbar b.lo{position:absolute;top:0;bottom:0;width:2px;margin-left:-1px;background:#0f172a}
.ufs-twlab{display:flex;justify-content:space-between;font-size:15px;font-weight:800;color:#0f172a}
.ufs-twlab span{display:flex;flex-direction:column;gap:2px}.ufs-twlab span:nth-child(2){align-items:center}.ufs-twlab span.bk{align-items:flex-end;color:#c2410c}
.ufs-twlab small{font-size:12px;font-weight:600;color:var(--ufs-sub)}
.ufs-twsp{display:flex;align-items:center;gap:10px;font-size:13px}
.ufs-twsp .n{min-width:92px;display:flex;flex-direction:column;font-weight:700;color:#334155}.ufs-twsp .n small{font-size:12px;font-weight:600;color:var(--ufs-sub)}
.ufs-twsp .t{font-size:12.5px;color:#475569;white-space:nowrap}
/* 준비물 */
.ufs-prepl{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:7px}
.ufs-prepl li{display:flex;align-items:baseline;gap:6px;font-size:13.5px;color:#334155}
.ufs-prepl li b{font-weight:800}
.ufs-prepl li em{font-style:normal;font-size:12px;font-weight:800;color:#c2410c}
.ufs-prepl li span{font-size:12.5px;color:var(--ufs-sub)}
.ufs-shore .ufs-kv1{display:grid;gap:3px;font-size:12.5px}.ufs-shore .ufs-kv1 div{display:flex;gap:8px}.ufs-shore .ufs-kv1 b{min-width:74px;color:#64748b;font-weight:700}
/* 어종 선택 — 이 자리에서 근거 약한 어종은 흐리게 (선택은 가능) */
.ufs-chip.dim,.ufs-sp.dim{opacity:.38}
.ufs-chip.dim.on,.ufs-sp.dim.on{opacity:.75}
/* 제목으로 나뉜 묶음끼리 26px — 시트 본문(.bd gap) 밖, 한 상자 안에 여러 묶음을 그린 곳(어종·영역 정보 등)도 같게 (2026-10-15) */
.ufs-sec + .ufs-sec{margin-top:26px}
.ufs-sh .bd > .ufs-sec + .ufs-sec{margin-top:0}

