/* Visa-Free Checker —— 复用 style.css 的 CSS 变量与排版，不引入新色。 */

/* 这是工具页，不是阅读页：article-body 默认是「680px 正文 + 260px 目录」两栏，
   本页没有目录，两栏会让 65 行的口岸表挤在 680px 里。改单栏吃满 1080px。 */
.article-body.vc-page { grid-template-columns: minmax(0, 1fr); }

.vc-app { background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 26px 30px; margin: 0 0 40px; }
.vc-form { display: block; }
fieldset.vc-step { border: 0; padding: 0; margin: 0 0 22px; }
.vc-step > legend, .vc-step > .vc-label { font-family: var(--font-display); font-weight: 700;
  font-size: 16px; color: var(--ink); margin: 0 0 4px; display: block; }
.vc-hint { color: var(--muted); font-size: 14px; margin: 0 0 8px; }
.vc-select { width: 100%; max-width: 460px; padding: 10px 12px; font: inherit; font-size: 15px;
  color: var(--ink); background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); }
.vc-select:focus { outline: 2px solid var(--sky); outline-offset: 1px; }
.vc-note { max-width: 460px; margin: 8px 0 0; color: var(--muted); font-size: 13px;
  line-height: 1.5; }
.vc-radios { display: flex; flex-wrap: wrap; gap: 8px; }
.vc-radios label { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper);
  font-size: 15px; cursor: pointer; }
.vc-radios label:hover { border-color: var(--sky); }
.vc-radios input { margin: 0; accent-color: var(--sky); }
.vc-radios label:has(input:checked) { background: var(--mist); border-color: var(--sky);
  color: var(--sky-deep); font-weight: 600; }
.vc-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center;
  margin-top: 4px; }

.vc-result { margin: 0 0 40px; }
.vc-verdict { border: 1px solid var(--line); border-left-width: 5px; border-radius: var(--radius);
  background: #fff; padding: 20px 22px; }
.vc-verdict.is-free { border-left-color: var(--good); background: var(--good-soft); }
.vc-verdict.is-cond { border-left-color: var(--sky); background: var(--mist); }
.vc-verdict.is-no { border-left-color: var(--stamp); background: var(--stamp-soft); }
.vc-badge { display: inline-block; font-family: var(--font-display); font-weight: 800;
  font-size: 24px; line-height: 1.15; color: var(--ink); }
.vc-verdict.is-free .vc-badge { color: var(--good); }
.vc-verdict.is-no .vc-badge { color: var(--stamp); }
.vc-bestlabel { margin: 14px 0 0; font-size: 13px; letter-spacing: .06em;
  text-transform: uppercase; color: var(--muted); font-weight: 600; }

.vc-route + .vc-route { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.vc-route h3 { font-family: var(--font-display); font-size: 17px; margin: 4px 0 8px;
  color: var(--ink); }
.vc-condhead { margin: 10px 0 4px; font-size: 13px; letter-spacing: .06em;
  text-transform: uppercase; color: var(--muted); font-weight: 600; }
.vc-conds { margin: 0; padding-left: 20px; }
.vc-conds li { margin: 3px 0; font-size: 15px; }
.vc-alts { margin-top: 18px; padding: 16px 20px; background: var(--paper-2);
  border: 1px solid var(--line); border-radius: var(--radius); }
/* 「要签证」的下一步：与 .vc-alts 同为 .vc-verdict 的兄弟块（判定框只装结论，后续块挂在下面）。
   底下就是页面白底，所以只画一条分隔线，不再套第二层盒子——免得跟红底判定框抢注意力。 */
.vc-next { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.vc-next > p { margin: 0 0 8px; font-size: 15px; }
.vc-nextlinks { margin: 0; padding-left: 20px; }
.vc-nextlinks li { margin: 5px 0; font-size: 15px; }
.vc-nextlinks a { font-weight: 600; }
.vc-portline { margin: 4px 0; font-size: 15px; }
.vc-zh { display: block; color: var(--muted); font-size: 13px; }
.vc-en { display: block; }
.vc-portline .vc-en, .vc-portline .vc-zh { display: block; }

.vc-ports h2 { font-family: var(--font-display); margin-bottom: 6px; }
.vc-ports .vc-hint { max-width: 70ch; }
.vc-search { width: 100%; max-width: 380px; padding: 9px 12px; font: inherit; font-size: 15px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.vc-tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; margin-top: 14px; }
table.vc-table { width: 100%; border-collapse: collapse; font-size: 14px; }
table.vc-table th { text-align: left; font-family: var(--font-display); font-weight: 700;
  font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted);
  background: var(--paper-2); padding: 10px 12px; border-bottom: 1px solid var(--line);
  position: sticky; top: 0; white-space: nowrap; }
table.vc-table th:nth-child(1) { width: 30%; }
table.vc-table th:nth-child(2) { width: 20%; }
table.vc-table th:nth-child(3) { width: 50%; }
table.vc-table td { padding: 10px 12px; border-bottom: 1px solid var(--line-weak, #EDF1F5);
  vertical-align: top; }
table.vc-table tr:last-child td { border-bottom: 0; }
table.vc-table td .vc-en { font-weight: 600; color: var(--ink); }
table.vc-table tr:hover td { background: var(--paper); }
@media (max-width: 640px) {
  .vc-app { padding: 20px 16px 24px; }
  .vc-badge { font-size: 21px; }
  .vc-radios label { font-size: 14px; padding: 7px 11px; }
}
