.travel-section.border-dash { padding-block: 0; margin-block: clamp(28px, 4vw, 48px); }
.border-overview {
  padding: clamp(10px, 1.25vw, 16px);
  border-radius: 18px;
  background: var(--soft);
}
.border-head, .border-head > div { display: flex; align-items: center; gap: 8px 18px; flex-wrap: wrap; }
.border-head { justify-content: space-between; margin-bottom: 8px; }
.border-head h2 { display: flex; align-items: center; gap: .5em; font-size: clamp(1.15rem, 1.9vw, 1.5rem); }
.border-head h2::before {
  content: ""; flex: none; width: .43em; height: .43em; border-radius: 50%;
  background: #35804c;
}
.travel-page .border-head p { margin: 0; color: var(--muted); font-size: .82rem; }
[data-theme="dark"] .border-head h2::before { background: #79ce98; }
.border-live-link { color: var(--blue); font-size: .82rem; font-weight: 600; }
.border-live-link { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; }
.travel-page .border-live-link .travel-icon { width: 17px; height: 17px; }
.border-live-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.border-metrics {
  display: grid; grid-template-columns: 1.23fr 1.23fr .94fr .9fr 1.22fr; gap: 10px;
}
.border-metric {
  display: grid; align-content: start; gap: 3px; min-width: 0; padding: 10px clamp(9px, 1vw, 14px);
  color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 13px;
  transition: border-color 160ms ease-out;
}
a.border-metric:hover { border-color: var(--blue); }
.border-metric h3 { font-size: 1.02rem; }
.border-metric h3 span { font-size: .78em; }
.border-metric > span, .border-metric small { color: var(--muted); font-size: .76rem; line-height: 1.4; }
.border-metric strong { font-size: .93rem; line-height: 1.4; }
.border-number { margin-top: 6px; }
.border-directions { display: grid; gap: 3px; margin-top: 4px; }
.border-directions a {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 5px;
  min-height: 44px; padding: 5px 8px; border-radius: 7px; background: var(--soft);
  color: var(--ink); font-size: .73rem; font-weight: 600; line-height: 1.2;
}
.border-directions a:hover small { text-decoration: underline; }
.border-directions a small { color: var(--blue); white-space: nowrap; font-size: .7rem; }
.travel-page .border-directions .travel-icon { width: 15px; height: 15px; color: var(--blue); }
.border-fuel-pair { display: grid; gap: 5px; margin-block: 5px 2px; }
.border-fuel-pair > span { display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.border-country { padding: 2px 4px; border-radius: 4px; font-size: .7rem; }
.border-country-sg { color: #a32235; background: #fbe7eb; }
.border-country-my { color: #1e438d; background: #e7edfc; }
.border-weather-pair { display: grid; gap: 5px; margin-top: 4px; }
.border-weather-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 5px; }
.border-weather-row + .border-weather-row { padding-top: 5px; border-top: 1px solid var(--line); }
.border-weather-row span { display: block; font-size: .72rem; font-weight: 600; }
.border-weather-row small { display: block; font-size: .7rem; }
.border-weather-row strong { white-space: nowrap; font-size: .82rem; }
.travel-page .border-weather-row .travel-icon { width: 18px; height: 18px; color: var(--blue); }
.border-weather-detail { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.border-dash [data-value] { font-variant-numeric: tabular-nums; }
.border-dash h3.border-dashboard-title { margin: 22px 0 10px; font-size: 1.14rem; }
.border-layout { display: grid; grid-template-columns: minmax(0, 2.35fr) minmax(0, 1fr); align-items: start; gap: 16px; }
.border-main, .border-highlights { border: 1px solid var(--line); border-radius: 14px; min-width: 0; }
.border-main { background: var(--surface); }
.border-tabs { display: flex; flex-wrap: wrap; gap: 4px; padding: 8px; border-bottom: 1px solid var(--line); }
.border-tabs a {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 6px 11px;
  color: var(--blue); border-radius: 8px; font-weight: 600; font-size: .86rem;
  transition: background-color 160ms ease-out;
}
.border-tabs a:hover { background: var(--soft); }
.border-tabs a[aria-selected="true"] { background: var(--button); color: #fff; }
.border-panel { padding: 16px; scroll-margin-top: 100px; }
.border-panel + .border-panel { border-top: 1px solid var(--line); }
.border-panel h3, .border-highlights h3 { font-size: 1.08rem; }
.border-panel h3 + p { margin-top: 10px; }
.border-panel > a, .border-highlights a { display: inline-block; color: var(--blue); margin-top: 10px; font-weight: 600; }
.border-cameras { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.border-cameras figure { margin: 0; min-width: 0; }
.border-camera {
  display: grid; place-items: center; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden;
  background: var(--soft); color: var(--blue); font-size: .85rem; text-align: center;
}
.border-camera span { padding: 8px; }
.border-camera img { width: 100%; height: 100%; object-fit: cover; }
.border-cameras figcaption { display: grid; gap: 2px; margin-top: 8px; }
.border-cameras small, .border-dash .border-note { color: var(--muted); font-size: .83rem; }
.border-dash .border-note { margin-top: 12px; max-width: 62ch; }
.border-panel .border-reading { display: flex; align-items: baseline; gap: 4px 12px; flex-wrap: wrap; margin-top: 10px; color: var(--muted); }
.border-reading strong { font-size: 1.25rem; color: var(--ink); }
.border-reading small { flex-basis: 100%; }
.border-highlights { padding: 16px 18px; background: var(--soft); }
.border-highlights > div { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: .85rem; }
.border-highlights p { color: var(--muted); margin-top: 4px; }
.border-highlights a:hover, .border-panel a:hover { text-decoration: underline; text-underline-offset: 3px; }
.border-advisory strong { color: #8a420c; }
[data-theme="dark"] .border-advisory strong { color: #ffbf80; }
@media (max-width: 1100px) {
  .border-metrics { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .border-metric { grid-column: span 2; }
  .border-crossing { grid-column: span 3; }
}
@media (max-width: 900px) {
  .border-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 660px) {
  .border-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .border-metric { grid-column: auto; }
  .border-metric:last-child { grid-column: 1 / -1; }
  .border-weather-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .border-weather-row + .border-weather-row { padding: 0 0 0 7px; border-top: 0; border-inline-start: 1px solid var(--line); }
  .border-cameras, .border-weather-detail { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 400px) {
  .border-directions a { grid-template-columns: auto minmax(0, 1fr); }
  .border-directions a small { grid-column: 2; }
  .border-weather-row { grid-template-columns: auto minmax(0, 1fr); }
  .border-weather-row strong { grid-column: 2; grid-row: 2; }
}
@media (hover: hover) and (pointer: fine) {
  .border-directions a { min-height: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  .border-dash * { transition: none; }
}
