/* Data-only additions. All page, navigation and card design comes from src/styles.css. */
.vehicle-text { white-space: pre-wrap; overflow-wrap: anywhere; }
.vehicle-placeholder { aspect-ratio: 580 / 337; display: grid; place-items: center; color: var(--gold); background: var(--deep); }
.vehicle-detail-section { padding-top: 40px; }
.vehicle-detail-content { max-width: var(--inner-page); margin: 0 auto; }
.vehicle-detail-heading { margin-bottom: 30px; }
.vehicle-detail-heading h1 { margin: 0 0 12px; color: var(--gold); font-family: "Shippori Mincho", "Noto Sans JP", serif; font-size: clamp(27px, 3vw, 38px); font-weight: 400; line-height: 1.4; }
.vehicle-detail-heading .vehicle-lead { margin: 0; color: rgba(255,255,255,.8); font-size: 17px; }
.vehicle-detail-top { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); gap: 32px; align-items: start; }
.vehicle-media-column { min-width: 0; }
.vehicle-capacity-panel { padding: 24px; border: 1px solid rgba(212,175,55,.28); background: rgba(255,255,255,.025); }
.vehicle-detail-content h2 { margin: 0 0 15px; color: var(--gold); font-family: "Shippori Mincho", "Noto Sans JP", serif; font-weight: 400; font-size: 21px; line-height: 1.5; }
.vehicle-capacity-note { margin: 0 0 22px; font-size: 14px; line-height: 1.8; color: rgba(255,255,255,.72); }
.vehicle-capacity-panel table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.vehicle-capacity-panel th, .vehicle-capacity-panel td { padding: 11px 8px; border-bottom: 1px solid rgba(212,175,55,.22); text-align: center; }
.vehicle-capacity-panel th { font-size: 13px; font-weight: 500; color: rgba(255,255,255,.7); }
.vehicle-capacity-panel > p:last-child:not(.vehicle-capacity-note) { margin: 18px 0 0; font-size: 13px; color: rgba(255,255,255,.65); }
.vehicle-carousel { position: relative; border: 1px solid rgba(212,175,55,.22); background: rgba(255,255,255,.025); }
.vehicle-gallery { display: flex; width: 100%; aspect-ratio: 3 / 2; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; cursor: grab; }
.vehicle-gallery::-webkit-scrollbar { display: none; }
.vehicle-gallery:active { cursor: grabbing; }
.vehicle-gallery:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.vehicle-slide { flex: 0 0 100%; min-width: 0; height: 100%; scroll-snap-align: start; scroll-snap-stop: always; }
.vehicle-slide img { width: 100%; height: 100%; object-fit: contain; user-select: none; -webkit-user-drag: none; }
.vehicle-photo-counter { position: absolute; right: 14px; bottom: 14px; padding: 4px 11px; border-radius: 20px; background: rgba(0,0,0,.6); color: #fff; font-size: 13px; font-variant-numeric: tabular-nums; pointer-events: none; }
.vehicle-swipe-hint { margin: 12px 0 0; text-align: center; font-size: 12px; letter-spacing: .05em; color: rgba(255,255,255,.6); }
.vehicle-detail-copy { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); gap: 32px; margin-top: 38px; padding-top: 30px; border-top: 1px solid rgba(212,175,55,.22); }
.vehicle-detail-copy section { margin: 0; }
.vehicle-detail-copy p { margin: 0; font-size: 15px; line-height: 1.95; color: rgba(255,255,255,.8); }
@media(max-width:767px) {
  .vehicle-detail-section { padding-top: 24px; }
  .vehicle-detail-heading { margin-bottom: 22px; }
  .vehicle-detail-top, .vehicle-detail-copy { grid-template-columns: minmax(0,1fr); gap: 24px; }
  .vehicle-capacity-panel { padding: 20px; }
  .vehicle-detail-copy { margin-top: 28px; padding-top: 24px; }
}

.vehicle-back-link { display: inline-flex; align-items: center; padding: 10px 16px; border: 1px solid rgba(212,175,55,.5); color: var(--gold); font-size: 14px; }
.vehicle-detail > .vehicle-back-link { margin-bottom: 24px; }
.vehicle-detail-return { margin-top: 36px; }
.vehicle-introduction { margin: 0 0 24px; }
.vehicle-introduction p, .vehicle-notice p { margin: 0; color: rgba(255,255,255,.8); font-size: 15px; line-height: 1.9; }
.vehicle-notice { margin-top: 28px; }
.vehicle-photo-arrow { position: absolute; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.5); background: rgba(0,0,0,.55); color: white; font-size: 20px; cursor: pointer; }
.vehicle-photo-prev { left: 12px; }
.vehicle-photo-next { right: 12px; }
.vehicle-photo-arrow:disabled { opacity: .3; cursor: default; }
.vehicle-thumbnails { position: relative; display: flex; gap: 10px; overflow-x: auto; padding: 12px 2px 6px; scrollbar-width: thin; scrollbar-color: var(--gold) transparent; }
.vehicle-thumbnail { flex: 0 0 92px; aspect-ratio: 3 / 2; padding: 0; border: 2px solid transparent; background: transparent; cursor: pointer; }
.vehicle-thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.vehicle-thumbnail[aria-pressed="true"] { border-color: var(--gold); }
.vehicle-thumbnail:focus-visible, .vehicle-photo-arrow:focus-visible, .vehicle-back-link:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.vehicle-swipe-hint { display: none; }
@media (pointer: coarse) { .vehicle-photo-arrow { display: none; } .vehicle-swipe-hint { display: block; } }
@media (max-width:767px) { .vehicle-thumbnail { flex-basis: 76px; } .vehicle-detail-return .vehicle-back-link { justify-content: center; width: 100%; } }
