:root {
  --bg: #ffffff;
  --surface-2: #f3f4f2;
  --ink: #1a1d21;
  --ink-2: #4a5058;
  --ink-3: #868c94;
  --line: #e6e8eb;
  --accent: #0b7a5e;
  --accent-soft: #e4f3ed;
  --mala: #c2361f;
  --mala-soft: #fbece8;
  --warn-ink: #7a5b1e;
  --warn-bg: #fdf3dc;
  --r-box: 16px;
  --r-ctl: 8px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink-2);
  font-family: "Pretendard Variable", Pretendard, -apple-system, sans-serif;
  font-size: 16px; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
b, strong { color: var(--ink); }
.wrap { max-width: 940px; margin: 0 auto; padding: 0 20px; }
.num { font-variant-numeric: tabular-nums; }

/* 헤더 — 1줄 로고 + 2줄 섹션 칩 */
.hd { background: var(--bg); position: sticky; top: 0; z-index: 10; border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top); }
.hd .bar { display: flex; align-items: center; gap: 18px; height: 52px; }
.hd .logo { font-weight: 800; font-size: 17px; letter-spacing: -0.02em; color: var(--ink); white-space: nowrap; }
.hd .logo:hover { text-decoration: none; }
.hd .logo em { font-style: normal; color: var(--mala); }
.hd nav { margin-left: auto; display: flex; gap: 16px; font-size: 13.5px; }
.hd nav a { color: var(--ink-2); white-space: nowrap; }
.hd nav a:hover { color: var(--ink); text-decoration: none; }
.hd nav a.on { color: var(--ink); font-weight: 700; }
.hd .jump { display: none; }

/* 히어로 */
/* 첫 화면 제목 — 지도 위 한 줄. 큰 요소는 최저가 라벨뿐이라 숫자 블록 없음 */
.maptitle { margin: 0 0 4px; font-size: 28px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.3; color: var(--ink); }
.sfine { display: block; margin-top: 4px; font-size: 12px; line-height: 1.5; color: var(--ink-3); }

/* 안내 박스 — .callout 기본 / .callout.limit 법적 주의 */
.callout { background: var(--surface-2); border-radius: var(--r-box); padding: 18px 22px; font-size: 14px; color: var(--ink-2); line-height: 1.7; margin: 0; }
.callout b, .callout > b, .callout summary { font-weight: 700; color: var(--ink); }
.callout.limit { background: var(--mala-soft); }
.callout.limit > b, .callout.limit summary { color: var(--mala); }
details.callout { padding: 0; overflow: hidden; }
details.callout summary { padding: 16px 20px; cursor: pointer; list-style: none; min-height: 24px; }
details.callout summary::-webkit-details-marker { display: none; }
details.callout summary::after { content: " 펼치기"; font-weight: 500; font-size: 13px; color: var(--ink-3); float: right; }
details.callout[open] summary::after { content: " 접기"; }
details.callout .cbody { padding: 0 20px 18px; }
.warn { background: var(--warn-bg); border-radius: var(--r-box); padding: 14px 18px; font-size: 13.5px; color: var(--warn-ink); line-height: 1.7; }
.warn b { font-weight: 700; }

/* 섹션 */
.sec { padding: 64px 0 8px; scroll-margin-top: 70px; }
.sec h2 { margin: 0; font-size: 24px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.sec h2 .n { font-size: 12px; font-weight: 600; color: var(--ink-3); border: 1px solid var(--line); border-radius: 99px; padding: 1px 9px; margin-left: 10px; vertical-align: middle; }
.sec .checked { margin: 4px 0 16px; font-size: 13px; color: var(--ink-3); }
.sec .sub { margin: 6px 0 16px; color: var(--ink-2); font-size: 14px; max-width: 720px; }

/* 표 — 바깥 박스 없음 */
.tbl-wrap { overflow: hidden; }
table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
th, td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th.r, td.r, td.num { text-align: left; }
th { font-size: 12px; color: var(--ink-2); font-weight: 600; background: var(--surface-2); white-space: nowrap; }
td.num, th.num { font-variant-numeric: tabular-nums; }
td.r, th.r { text-align: right; }
td.num.r { font-weight: 600; }
/* 판매자 용량 구분자 — CSS로 넣어야 모바일에서 숨길 때 같이 사라짐 */
td.num .dose + .dose::before { content: " / "; color: var(--ink-3); }
td.num .dose.cur { font-weight: 700; color: var(--ink); background: var(--accent-soft); border-radius: 4px; padding: 0 3px; }
tr:last-child td { border-bottom: 0; }
tbody tr:last-child td { border-bottom: 0; }
.tag { display: inline-block; font-size: 12px; font-weight: 600; padding: 1px 8px; border-radius: 6px; background: var(--accent-soft); color: var(--accent); white-space: nowrap; }
.tag.gray { background: var(--surface-2); color: var(--ink-2); }
.tag.warn { background: var(--warn-bg); color: var(--warn-ink); }
.muted { color: var(--ink-3); font-size: 12.5px; }
.linkbtn { font-size: 12.5px; font-weight: 600; white-space: nowrap; }

/* 근거 등급 뱃지 */
.ev { display: inline-block; font-size: 12px; font-weight: 600; padding: 1px 8px; border-radius: 6px; white-space: nowrap; }
.ev1 { background: var(--accent-soft); color: var(--accent); }
.ev2 { background: var(--warn-bg); color: var(--warn-ink); }
.ev3 { background: var(--surface-2); color: var(--ink-3); }

/* 수취 양식 복사 버튼 */
.copybtn { font: inherit; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 6px; border: 1px solid var(--line); background: #fff; color: var(--accent); cursor: pointer; white-space: nowrap; }
.copybtn:hover { border-color: var(--accent); }
.copybtn.done { background: var(--accent-soft); border-color: var(--accent); }

/* 체크 표시 */
.ok { color: var(--accent); font-weight: 700; }
.no { color: var(--mala); font-weight: 700; }
.dash { color: var(--ink-3); }

/* 탭·칩 */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.tabs button { font: inherit; font-size: 13px; font-weight: 600; padding: 5px 13px; border-radius: 99px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); cursor: pointer; min-height: 36px; }
.tabs button.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.tabs.sub { margin-top: -6px; margin-bottom: 12px; }
.tabs.sub button { font-size: 12px; padding: 4px 11px; color: var(--ink-3); min-height: 36px; }
.tabs.sub button.on { color: #fff; }
.chip { display: inline-block; font-size: 12px; font-weight: 600; padding: 1px 7px; border-radius: 5px; background: var(--accent-soft); color: var(--accent); margin-right: 4px; white-space: nowrap; }
.chip.gray { background: var(--surface-2); color: var(--ink-3); }

/* 구매 절차 스텝 목록 */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; max-width: 720px; }
.steps li { position: relative; padding: 14px 0 14px 44px; border-bottom: 1px solid var(--line); counter-increment: step; }
.steps li:last-child { border-bottom: 0; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 16px; width: 24px; height: 24px; border-radius: 50%; background: var(--surface-2); color: var(--ink); font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; font-variant-numeric: tabular-nums; }
.steps .t { font-size: 17px; font-weight: 700; color: var(--ink); display: block; }
.steps .d { font-size: 14px; margin-top: 2px; }

/* 빈 상태 */
.empty { padding: 34px 16px; text-align: center; color: var(--ink-3); font-size: 13.5px; }
.empty .big { font-size: 15px; color: var(--ink-2); font-weight: 600; margin-bottom: 4px; padding: 0; background: none; }

/* 섹션 메모 */
.note { margin-top: 10px; font-size: 12.5px; color: var(--ink-3); max-width: 720px; }
details.note summary { cursor: pointer; list-style: none; font-weight: 600; color: var(--ink-3); font-size: 12.5px; min-height: 44px; display: flex; align-items: center; }
details.note summary::-webkit-details-marker { display: none; }
details.note summary::after { content: "자세히"; margin-left: 6px; font-weight: 500; }
details.note[open] summary::after { content: " 접기"; }

/* FAQ 아코디언 */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { min-height: 56px; display: flex; align-items: center; font-weight: 600; color: var(--ink); list-style: none; cursor: pointer; font-size: 15px; }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { margin: 0 0 16px; font-size: 14px; }

/* 항공 도시 묶음 헤더 */
tbody.grouph td { background: var(--surface-2); font-size: 12.5px; font-weight: 700; color: var(--ink-3); padding: 7px 14px; }
tr.morebtn td { padding: 0; }
tr.morebtn button { width: 100%; min-height: 44px; border: 0; background: #fff; font: inherit; font-size: 13px; font-weight: 600; color: var(--ink); cursor: pointer; }
tr.morebtn button:hover { background: var(--surface-2); }
tbody.xtra { display: none; }
tbody.xtra.open { display: table-row-group; }

/* 토스트 */
.toast { position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom)); transform: translate(-50%,20px); opacity: 0; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; font-size: 14px; font-weight: 600; transition: .2s; pointer-events: none; z-index: 50; }
.toast.show { opacity: 1; transform: translate(-50%,0); }

/* 푸터 */
.ft { margin-top: 56px; border-top: 1px solid var(--line); padding: 22px 0 46px; font-size: 12.5px; color: var(--ink-3); line-height: 1.8; }
.ft .name { font-weight: 700; color: var(--ink-2); }

/* ===== 모바일 ≤640px ===== */
@media (max-width: 640px) {
  body { font-size: 15px; word-break: keep-all; -webkit-tap-highlight-color: transparent; }
  .wrap { padding: 0 16px; }

  /* 헤더: 로고 1줄 + 칩 1줄 가로 스크롤 */
  .hd .bar { height: 52px; }
  .hd nav { display: none; }
  .hd .jump { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 0 16px 10px; margin: 0 -16px; }
  .hd .jump::-webkit-scrollbar { display: none; }
  .hd .jump a { flex: none; min-height: 36px; display: flex; align-items: center; padding: 0 14px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
  .hd .jump a.on { background: var(--ink); color: #fff; }
  .sec { scroll-margin-top: 104px; padding-top: 48px; }

  /* 첫 화면 제목 */
  .maptitle { font-size: 22px; }
  .sec h2 { font-size: 20px; }
  .sec h2 .n { display: none; }
  .sec .sub { font-size: 14px; }

  /* 표 → 목록 행 공통 규칙 */
  .tbl-wrap { overflow: visible; }
  table.listify thead { display: none; }
  table.listify, table.listify tbody, table.listify tr, table.listify td { display: block; }
  table.listify tbody tr { position: relative; padding: 12px 40px 12px 4px; border-bottom: 1px solid var(--line); cursor: pointer; }
  table.listify tbody tr::after { content: "›"; position: absolute; right: 10px; top: 14px; color: var(--ink-3); font-size: 18px; line-height: 1; transition: transform .15s; }
  table.listify tbody tr:not(:has(.xh))::after { display: none; }
  table.listify tbody tr:not(:has(.xh)) { cursor: default; }
  table.listify tbody tr.open::after { transform: rotate(90deg); }
  table.listify td { padding: 2px 0; border: 0; }
  table.listify td:first-child { font-weight: 600; color: var(--ink); font-size: 15px; line-height: 1.4; }
  table.listify td .muted { font-size: 12px; }
  /* 펼침 전엔 확장 칸 숨김 — 표별로 보일 칸은 아래 규칙이 지정 */
  table.listify tbody tr:not(.open) td.xh { position: absolute; opacity: 0; pointer-events: none; height: 1px; overflow: hidden; }
  table.listify td.xh::before { display: block; font-size: 12px; color: var(--ink-3); font-weight: 600; content: attr(data-l); }
  table.listify td.emptyx { display: none; }
  table.listify td.xh .copybtn { width: 100%; min-height: 44px; margin-top: 8px; font-size: 14px; }
  /* 오른쪽 대표값 칸 */
  table.listify td.rv { position: absolute; right: 34px; top: 12px; padding: 0; text-align: right; font-weight: 600; color: var(--ink); font-size: 15px; font-variant-numeric: tabular-nums; }
  table.listify td.rv .muted, table.listify td.rv .ps { display: block; font-size: 12px; font-weight: 400; }
  table.listify td.rv .ev { margin-top: 2px; }
  /* 펼침 영역: "항목: 값" */
  table.listify tr.open td.xh { font-size: 13.5px; padding: 6px 0; }

  /* 호텔 표: 도시 칸은 이름 아래 작은 줄로 */
  #hotels table.listify td.mcity { font-size: 12px; color: var(--ink-3); font-weight: 400; }

  /* 항공 표: 도시 묶음 + 행 */
  #flights table.listify tbody.grouph { display: block; }
  #flights table.listify tbody.grouph td { padding: 8px 4px 2px; border: 0; background: none; font-size: 13px; }
  #flights table.listify tbody tr { cursor: default; padding-right: 4px; }
  #flights table.listify tbody tr::after { content: ""; }
  #flights table.listify tbody tr.morebtn { cursor: pointer; }
  #flights table.listify tbody tr.morebtn td { padding: 0; }
  #flights table.listify tbody tr.morebtn button { min-height: 44px; }
  /* 항공 행 부가 칸(박수·항공사·루트)은 한 줄로 */
  #flights table.listify tbody:not(.grouph) tr:not(.morebtn) td:not(.mt):not(.rv) { display: inline; font-size: 12.5px; color: var(--ink-3); }
  #flights table.listify tbody:not(.grouph) tr:not(.morebtn) td:not(.mt):not(.rv)::after { content: " · "; }
  #flights table.listify tbody:not(.grouph) tr:not(.morebtn) td:not(.mt):not(.rv):nth-last-child(2)::after { content: ""; }
  /* 오른쪽 대표값과 왼쪽 글자가 겹치지 않게 */
  table.listify tbody tr:has(.rv) td:not(.rv):not(.xh) { padding-right: 92px; }
  #flights table.listify tbody:not(.grouph) tr:not(.morebtn) td:not(.mt):not(.rv) { padding-right: 0; }

  /* 탭·칩 줄 가로 스크롤 — sub 줄도 같은 좌우 출렁임·들여쓰기 */
  .tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -16px 12px; padding: 0 16px 4px; }
  .tabs.sub { margin: -6px -16px 12px; }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs button { flex: none; min-height: 36px; }

  /* 복사 버튼 손가락 크기 */
  .copybtn { min-height: 36px; padding: 6px 14px; }

  /* 판매자 용량 하이라이트 */

  /* 모바일 제목 칸 (첫 칸이 제목이 아닌 표용) */
  table.listify td.mt { font-weight: 600; color: var(--ink); font-size: 15px; line-height: 1.4; }
  /* 판매자: 접힌 행에선 고른 용량 가격만, 펼치면 전체 */
  #seller-tbl tr:not(.open) td.rv .dose { display: none; }
  #seller-tbl tr:not(.open) td.rv .dose.cur { display: inline; }
  #seller-tbl tr:not(.open) td.rv .dose .muted { display: none; }
  #seller-tbl tr.open td.rv { position: static; text-align: left; font-weight: 400; }
  table.listify tbody tr.mhide { display: none; }
  /* 항공 "더 보기" 숨김 행 — listify의 block 덮어쓰기보다 뒤에 와야 함 */
  table.listify tbody.xtra { display: none; }
  table.listify tbody.xtra.open { display: block; }

  /* 스텝 — 폰에서는 설명을 1줄로 */
  .steps li { padding: 11px 0 11px 40px; }
  .steps li::before { top: 12px; }
  .steps .t { font-size: 16px; }
  .steps .d { display: block; font-size: 13px; line-height: 1.45; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

  /* 전체 보기 버튼 */
  .showall { display: flex; width: 100%; justify-content: center; align-items: center; min-height: 48px; margin-top: 8px; border: 1px solid var(--line); border-radius: var(--r-ctl); background: #fff; font: inherit; font-weight: 600; color: var(--ink); cursor: pointer; }
}
@media (min-width: 641px) { .showall { display: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* 항공권: 처음엔 싼 도시 5곳만 (모든 폭 공통) */
#fl-tbl:not(.allc) tbody.fl-x { display: none !important; }

/* ===== 어디로 갈까 지도 — 인라인 SVG + 점/라벨 ===== */
#map { padding-top: 12px; }
#map .checked { margin: 0 0 8px; }
#map .tabs { margin-bottom: 8px; }
#map .tabs.sub { margin-bottom: 8px; }
.mapbox { position: relative; max-width: 720px; }
#map { scroll-margin-top: 106px; } /* sticky 헤더(98px)가 지도 상단을 가리지 않게 */
.mapclip { position: relative; aspect-ratio: 5/6; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-box); background: var(--bg); }
.mapclip svg { display: block; width: 100%; height: 100%; }
.mapclip path { fill: var(--surface-2); }
/* 한국 출발지 — 작은 검정 점 + 이름 */
.maporg { position: absolute; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%; background: var(--ink); pointer-events: none; }
.maporglab { position: absolute; transform: translate(-50%,60%); font-size: 12px; font-weight: 600; color: var(--ink); white-space: nowrap; pointer-events: none; }
.maporglab.r { transform: translate(-100%,60%); }
.maporglab.up { transform: translate(-50%,-160%); }
.maporglab.r.up { transform: translate(-100%,-160%); }
/* 도시 점 — 보이는 점은 작게, 누르는 영역은 44px */
.mapdot { position: absolute; width: 44px; height: 44px; margin: -22px 0 0 -22px; padding: 0; border: 0; background: none; cursor: pointer; }
.mapdot .dt { position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: var(--ink-3); }
.mapdot.best .dt { background: var(--accent); width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; }
.mapdot.hk .dt { background: var(--bg); border: 2px solid var(--ink-3); }
.mapdot.none .dt { background: var(--bg); border: 2px solid var(--ink-3); }
.mapdot.none .lb { color: var(--ink-3); font-weight: 500; }
.mapdot:focus-visible { outline: 2px solid var(--accent); outline-offset: -4px; border-radius: 50%; }
.mapdot .lb { position: absolute; left: 50%; bottom: 27px; transform: translateX(-50%); font-size: 12px; font-weight: 600; line-height: 1.5; white-space: nowrap; color: var(--ink-2); background: rgba(255,255,255,.92); border: 1px solid var(--line); border-radius: 99px; padding: 1px 8px; pointer-events: none; font-variant-numeric: tabular-nums; }
.mapdot.best .lb { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); font-weight: 700; }
.mapdot.hk .lb { color: var(--ink-3); }
.mapdot.lb-r .lb { left: auto; right: 24px; transform: none; }
.mapdot.lb-l .lb { left: 24px; transform: none; }
.mapdot.lb-b .lb { bottom: auto; top: 27px; }
.mapdot.lb-s .lb { bottom: auto; top: 50%; left: 30px; transform: translateY(-50%); } /* 점 오른쪽 수직 중앙 */
.mapcap { margin: 10px 0 0; font-size: 12.5px; color: var(--ink-3); }
.maptop { margin: 4px 0 0; padding: 0; list-style: none; font-size: 13px; color: var(--ink-2); line-height: 1.8; }
.maptop li { display: inline; }
.maptop li + li::before { content: " · "; color: var(--ink-3); }
.maptop button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.maptop button b { color: var(--accent); font-weight: 700; }
.maptop button:hover { text-decoration: underline; }

/* 도시 정보 시트 — 폰은 아래에서 올라오는 시트, PC는 오른쪽 패널 */
.sheetbg { position: fixed; inset: 0; background: rgba(26,29,33,.35); opacity: 0; transition: opacity .2s; z-index: 60; }
.sheetbg.open { opacity: 1; }
.sheet { position: fixed; z-index: 61; background: var(--bg); padding: 20px 22px; }
.sheet h3 { margin: 0 34px 10px 0; font-size: 19px; font-weight: 700; color: var(--ink); }
.sheet .sx { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--surface-2); color: var(--ink-2); font-size: 15px; cursor: pointer; }
.sheet .srow { margin: 10px 0; font-size: 14px; }
.sheet .sk { display: block; font-size: 12px; font-weight: 600; color: var(--ink-3); margin-bottom: 2px; }
.sheet .sp { font-size: 16px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; margin-right: 6px; }
.sheet .sbtns { display: flex; gap: 8px; margin-top: 16px; }
.sbtn { flex: 1; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: var(--r-ctl); background: var(--bg); font: inherit; font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: none; cursor: pointer; }
.sbtn:hover { background: var(--surface-2); text-decoration: none; }

@media (max-width: 640px) {
  #map { padding-top: 10px; }
  #map .mapbox { max-width: 360px; }
  #map .mapclip { max-height: 480px; }
  #map .mapcap { margin-top: 8px; }
  #map .tabs { margin-bottom: 8px; }
  .sheet { left: 0; right: 0; bottom: 0; border-radius: var(--r-box) var(--r-box) 0 0; padding-bottom: calc(20px + env(safe-area-inset-bottom)); max-height: 72vh; overflow-y: auto; transform: translateY(105%); transition: transform .22s ease; }
  .sheet.open { transform: translateY(0); }
}
@media (min-width: 641px) {
  .sheet { top: 50%; right: 24px; width: 350px; border: 1px solid var(--line); border-radius: var(--r-box); box-shadow: 0 10px 40px rgba(26,29,33,.14); transform: translateY(-50%) translateX(12px); opacity: 0; transition: opacity .18s ease, transform .18s ease; }
  .sheet.open { transform: translateY(-50%); opacity: 1; }
}

/* ===== 지도 v2 — 도시×박수 표·묶음 시트 ===== */
.maplay { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); gap: 20px; align-items: start; }
.mapgrid { min-width: 0; }
.mxtbl { width: 100%; font-size: 12.5px; table-layout: fixed; }
.mxtbl th:first-child { width: 60px; }
.mxtbl td { padding: 5px 8px; text-align: right; }
.mxtbl td.mcc { font-weight: 600; color: var(--ink); text-align: left; white-space: nowrap; }
.mxb { width: 100%; min-height: 30px; font: inherit; font-weight: 600; color: var(--ink-2); font-variant-numeric: tabular-nums; background: none; border: 0; border-radius: 5px; padding: 0 6px; text-align: right; cursor: pointer; }
.mxb:hover { color: var(--accent); background: var(--accent-soft); }
.mxtbl td.sel { background: var(--accent-soft); }
.mxtbl td.sel .mxb { color: var(--accent); }
.mxnone { color: var(--ink-3); }
.mxd { display: block; font-size: 12px; font-weight: 400; color: var(--ink-3); line-height: 1.3; white-space: normal; }
.mxb.stale { color: var(--ink-3); }
.mxb.stale .mxd { color: var(--ink-3); }
.clist .crow { display: flex; width: 100%; min-height: 48px; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 2px; border: 0; border-bottom: 1px solid var(--line); background: none; font: inherit; font-size: 14px; cursor: pointer; }
.clist .crow:last-child { border-bottom: 0; }
.clist .crow .cn { font-weight: 600; color: var(--ink); }
.clist .crow b { color: var(--accent); font-variant-numeric: tabular-nums; }
.clist .crow:disabled { color: var(--ink-3); cursor: default; }
.clist .crow:disabled b { color: var(--ink-3); font-weight: 400; }
/* 901px 이상: 지도 옆 표. 지도가 약 500px라 34px 박스면 산둥·상하이 점이 서로 중심을 덮지 않음 */
@media (min-width: 901px) {
  .mapdot { width: 34px; height: 34px; margin: -17px 0 0 -17px; }
}
@media (max-width: 900px) {
  .maplay { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 640px) {
  #mx-tbl tr.mhide { display: none; }
}
