/* Restore the original thin borders. Only the heavy accent edges are reduced. */
html body :is(
  .home-review-card, .hc-contact-band, .news-card, .review-entry,
  .signup-card, .v3-course-area-nav, .coach-portrait, .ypv-course, .mnp-course,
  .zft-link-card, .managed-course-notice--featured, .managed-course-notice--half-day
) {
  border-top-width: 1px !important;
  border-top-color: var(--line, #ded5c8) !important;
}

html body header.snow-topic-hero[data-topic-hero]:not(.snow-topic-hero--overview) {
  border-top-width: 1px !important;
  border-top-color: #ddd3c6 !important;
}
html body .zpv-stay-next {
  border-top-width: 1px !important;
  border-top-color: #ddd5ca !important;
}
html body .v2-ticket-card {
  border-top-width: 1px !important;
  border-top-color: #d4e1e7 !important;
}
html body .yuzawa-overview-lead {
  border-top-width: 1px !important;
  border-top-color: #d3dbd0 !important;
}
html body .mnp-card--traffic[data-traffic-media="none"] {
  border-top-width: 1px !important;
  border-top-color: var(--line, #ded5c8) !important;
}
html body .zpv-course { border-top-width: 0 !important; }
html body :is(.zft-jump-links a, .zft-topic-nav a) { border-top-width: 1px !important; }
html body #zft-nav-season { border-top-color: #bfd2e0 !important; }
html body #zft-nav-deals { border-top-color: #e2c9bf !important; }
html body #zft-nav-sightseeing { border-top-color: #c0d7d4 !important; }
html body .zft-masthead { border-bottom-width: 0 !important; }

html body :is(.yuzawa-overview-theme, .mnp-resort-distribution .yuzawa-resort-region-intro-card, .notice, .public-managed-section) {
  border-left-width: 1px !important;
  border-left-color: var(--line, #ded5c8) !important;
}
html body :is(
  .yuzawa-map-note, .yuzawa-driving-suitable, .yuzawa-station-facilities,
  .yuzawa-stay-access-legend, .yuzawa-stay-mobility,
  .yuzawa-traffic-notice:not(.yuzawa-traffic-notice--winter), .yuzawa-resort-route-notices
) {
  border-left-width: 1px !important;
  border-left-color: #b9dced !important;
}
html body :is(
  .yuzawa-poi-notice, .yuzawa-rental-notice, .yuzawa-stay-closing,
  .yuzawa-stay-price-notice, .yuzawa-traffic-closing, .yuzawa-traffic-notice--winter
) {
  border-left-width: 1px !important;
  border-left-color: #f0d28b !important;
}
html body .zcp-partner-offer {
  border-left-width: 1px !important;
  border-left-color: #d3a3ae !important;
}
html body :is(
  .snow-topic-intro, .mnp-warning, .mnp-policy, .mno-transport-notice,
  .zog-warning, .ztp-notice, .ztp-warning, .ztp-season-notice, .ztp-lodging-notice,
  .zpd-notice, .zcp-warning, .zcp-final-notice, .zsp-card-notice, .zsp-booking-notice,
  .zrp-note, .zft-note, .review-coach-reply, .yuzawa-resource-footnote,
  .yuzawa-resort-notice, .yuzawa-resort-final-notice, .v2-ticket-links__notice, p.note
) { border-left-width: 0 !important; }

/* Remove the thick selection stripe; retain the original thin button borders. */
html body main :is(
  .zpm-layer, .v2-real-map-list button, .yuzawa-map-list__button,
  .yuzawa-map-region-switch button, .yuzawa-poi-filter__button,
  .yuzawa-stay-filter__button
) { box-shadow: none !important; }

/* Dropdowns keep their thin perimeter without a thick top or selected-item line. */
html body .primary-nav__dropdown {
  border-top-width: 1px !important;
  border-top-color: #ded5c8 !important;
}
html body :is(
  .primary-nav__dropdown a, .v2-site-header .v2-nav__submenu-link,
  .v2-nav__link[aria-current="page"],
  .v2-nav__group.is-active-context > .v2-nav__toggle
) { box-shadow: none !important; }
html body :is(.primary-nav > a, .primary-nav__toggle)::after {
  background: transparent !important;
}
@media (max-width: 1050px) {
  html body .primary-nav__dropdown {
    border-top-width: 0 !important;
    border-left-width: 0 !important;
  }
}
