/* ===== page: visa ===== */
.visa-intro .lead { max-width: 80ch; }
.visa-asof { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-family: "IBM Plex Mono", monospace; font-size: 12.5px; color: var(--ink-soft); margin: 14px 0 0; }
.visa-asof .micon { font-size: 17px; color: var(--accent); }
.visa-asof a { color: var(--accent-ink); text-decoration: underline; }
.visa-note { font-size: 13.5px; color: var(--muted); max-width: 90ch; margin: 6px 0 0; }
.visa-stats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.vstat { display: inline-flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 9px 13px; font-size: 13.5px; color: var(--ink-soft); }
.vstat b { font-family: "Bricolage Grotesque", sans-serif; font-size: 19px; color: var(--ink); }
.vstat:hover { border-color: var(--line-strong); }
.sw { display: inline-block; width: 13px; height: 13px; border-radius: 4px; flex: none; vertical-align: middle; }

.visa-map-sec { padding-top: 0; }
.visa-mapcard { padding: 14px; }
.visa-mapcard svg { width: 100%; height: auto; display: block; }
.vlegend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 2px 4px 12px; }
.vlg { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line); background: var(--surface); border-radius: 99px; padding: 5px 12px; font: 500 13px "IBM Plex Sans", sans-serif; color: var(--ink-soft); cursor: pointer; }
.vlg b { font-family: "IBM Plex Mono", monospace; color: var(--ink); }
.vlg:hover { border-color: var(--line-strong); }
.vlg-hint { font-size: 12px; color: var(--muted); }
.vlegend.filtered .vlg { opacity: .55; }
.vlegend.filtered .vlg.on { opacity: 1; border-color: var(--ink); }
.tip .sw { width: 10px; height: 10px; margin-right: 6px; }

.visa-lists { display: flex; flex-direction: column; gap: 34px; }
.vlist h2 { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.vlist h2 small { font-family: "IBM Plex Mono", monospace; font-size: 14px; color: var(--muted); font-weight: 500; }
.vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px; }
.vitem { display: flex; align-items: center; gap: 9px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 9px 11px; min-width: 0; }
.vitem:hover { border-color: var(--line-strong); }
.vitem .vn { font-weight: 600; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vitem .vs { margin-left: auto; font-family: "IBM Plex Mono", monospace; font-size: 11.5px; color: var(--muted); white-space: nowrap; display: inline-flex; align-items: center; gap: 5px; }

.vanswer { display: flex; align-items: center; gap: 16px; margin-top: 20px; background: var(--surface); border: 1px solid var(--line); border-left: 6px solid var(--vc); border-radius: 14px; padding: 18px 20px; max-width: 760px; }
.vanswer .sw { width: 22px; height: 22px; border-radius: 6px; }
.vanswer b { display: block; font-family: "Bricolage Grotesque", sans-serif; font-size: 24px; letter-spacing: -.01em; }
.vanswer div > span { display: block; color: var(--ink-soft); margin-top: 3px; }
.vnote { margin-top: 14px; max-width: 760px; font-size: 14px; color: var(--ink-soft); }
.vnote summary { cursor: pointer; color: var(--accent-ink); }
.vlinks { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 6px; margin-top: 16px; }
.prow2 { display: flex; align-items: center; gap: 9px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); font-size: 13.5px; }
.prow2 .rk { font-family: "IBM Plex Mono", monospace; color: var(--muted); width: 26px; text-align: right; }
.prow2 .pn { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.prow2 b { margin-left: auto; font-family: "IBM Plex Mono", monospace; }
.prow2.me { background: var(--accent-soft); border-color: var(--accent); }

@media (max-width: 620px) {
  .vanswer b { font-size: 20px; }
  .vgrid { grid-template-columns: 1fr; }
}
.tip { position: fixed; pointer-events: none; background: var(--ink); color: #fff; border-radius: 10px; padding: 9px 12px; font-size: 13px; z-index: 80; opacity: 0; transition: opacity .12s; box-shadow: 0 14px 34px -14px rgba(0, 0, 0, .55); max-width: 220px; }
.tip .th { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.tip .tv { font-family: "IBM Plex Mono", monospace; color: var(--spark); margin-top: 3px; font-size: 13.5px; }
.tip .tnd { color: #A7C2BD; font-size: 12px; margin-top: 3px; }
.visa-warn { display: flex; gap: 8px; align-items: flex-start; max-width: 760px; margin: 12px 0 0; padding: 10px 14px; border-radius: 10px; background: #FFF4E0; color: #7A4B00; font-size: 14px; }
.visa-warn .micon { font-size: 18px; }
