/* Hallmark · macrostructure: Catalogue + Split showcase (nổi bật) · design-system: DESIGN.md DND (awesome-design-md/bmw + vàng đồng logo) · tone: corporate-measured · anchor hue: gold #ddb876
 * Hallmark · pre-emit critique: P4 H5 E5 S5 R4 V5 — kiểu "trang chọn mẫu xe" BMW: thanh lọc khu vực, khung lớn có bảng thông số, lưới thẻ có thông số
 * Hiệu ứng riêng DND: vạch vàng đồng chạy dưới ảnh + ảnh xám nhạt sang màu khi rê; vạch đầu mục vẽ dần (khác NTH Ken Burns/inset, angia vệt đỏ quét). Trang /du-an/ – body.dnd-bmw .dkc */
body.dnd-bmw .dkc { --dkc-sec: 80px; --dkc-pad: max(16px, calc((100vw - 1280px) / 2)); background: var(--k-canvas); color: var(--k-body); }
@media (max-width: 767px) { body.dnd-bmw .dkc { --dkc-sec: 48px; } }

/* ---------- Dải navy đầu trang ---------- */
body.dnd-bmw .dkc-hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); background: var(--k-navy); color: #fff; margin-top: 64px; min-height: 440px; }
body.dnd-bmw .dkc-hero__copy { padding: 56px 40px 48px var(--dkc-pad); display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; min-width: 0; }
body.dnd-bmw .dkc-crumb { display: flex; gap: 8px; font-size: 14px; color: var(--k-on-navy2); }
body.dnd-bmw .dkc-crumb a { color: var(--k-on-navy2) !important; text-decoration: none; }
body.dnd-bmw .dkc-crumb a:hover { color: var(--k-gold) !important; }
body.dnd-bmw .dkc-hero h1 { margin: 0; color: #fff !important; font-size: clamp(44px, 6vw, 80px) !important; line-height: 1.02 !important; overflow-wrap: anywhere; }
body.dnd-bmw .dkc-hero__count { margin: 0; font-size: 18px; font-weight: 300; line-height: 1.5; color: var(--k-on-navy2); max-width: 440px; }
body.dnd-bmw .dkc-hero__count b { color: var(--k-gold); font-weight: 700; font-variant-numeric: tabular-nums; }
body.dnd-bmw .dkc-hero__jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
body.dnd-bmw .dkc-hero__jump a { display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border: 1px solid rgba(255,255,255,.35); color: #fff !important; text-decoration: none; font-size: 15px; font-weight: 700; white-space: nowrap; transition: background-color 200ms var(--k-ease), border-color 200ms var(--k-ease); }
body.dnd-bmw .dkc-hero__jump a:first-child { background: var(--k-gold); border-color: var(--k-gold); color: var(--k-navy) !important; }
body.dnd-bmw .dkc-hero__jump a:hover { border-color: var(--k-gold); }
body.dnd-bmw .dkc-hero__jump a:first-child:hover { background: var(--k-gold2); }
body.dnd-bmw .dkc-hero__img { margin: 0; min-width: 0; position: relative; overflow: hidden; }
body.dnd-bmw .dkc-hero__img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Thanh lọc khu vực (dính dưới đầu trang khi cuộn) ---------- */
body.dnd-bmw .dkc-filter { position: sticky; top: 64px; z-index: 30; background: var(--k-canvas); border-bottom: 1px solid var(--k-line); }
body.dnd-bmw .dkc-filter__in { display: flex; gap: 0; padding: 0 var(--dkc-pad); overflow-x: auto; scrollbar-width: none; }
body.dnd-bmw .dkc-filter__in::-webkit-scrollbar { display: none; }
body.dnd-bmw .dkc-filter button { flex: none; position: relative; height: 56px; padding: 0 20px; border: 0 !important; background: transparent !important; color: var(--k-mute) !important; font-size: 15px !important; font-weight: 700 !important; white-space: nowrap; cursor: pointer; transition: color 200ms var(--k-ease); }
body.dnd-bmw .dkc-filter button span { margin-left: 6px; font-weight: 400; font-variant-numeric: tabular-nums; color: var(--k-mute); }
body.dnd-bmw .dkc-filter button::after { content: ""; position: absolute; left: 20px; right: 20px; bottom: -1px; height: 3px; background: var(--k-gold); transform: scaleX(0); transition: transform 240ms var(--k-ease); }
body.dnd-bmw .dkc-filter button:hover { color: var(--k-ink) !important; }
body.dnd-bmw .dkc-filter button.is-on { color: var(--k-ink) !important; }
body.dnd-bmw .dkc-filter button.is-on::after { transform: scaleX(1); }
body.dnd-bmw .dkc-filter button:focus-visible { outline: 2px solid var(--k-gold-ink); outline-offset: -4px; }
body.dnd-bmw .dkc-filter__empty { margin: 0; padding: 12px var(--dkc-pad); font-size: 15px; color: var(--k-mute); }

/* ---------- Đầu mục ---------- */
body.dnd-bmw .dkc-sec { padding: var(--dkc-sec) var(--dkc-pad) 0; }
body.dnd-bmw .dkc-sec[hidden] { display: none; }
body.dnd-bmw .dkc-head { position: relative; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 14px; margin-bottom: 32px; }
body.dnd-bmw .dkc-head::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--k-line); }
body.dnd-bmw .dkc-head::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 64px; background: var(--k-gold); transform-origin: left; }
body.dnd-bmw .dkc-head h2 { margin: 0; color: var(--k-ink) !important; font-size: clamp(26px, 3vw, 40px) !important; min-width: 0; overflow-wrap: anywhere; }
body.dnd-bmw .dkc-head__n { font-size: 14px; color: var(--k-mute); white-space: nowrap; font-variant-numeric: tabular-nums; }
body.dnd-bmw [id$="-title"] { scroll-margin-top: 140px; }

/* ---------- Ảnh: xám nhạt → màu + vạch vàng đồng chạy dưới (riêng DND) ---------- */
body.dnd-bmw .dkc-show__img, body.dnd-bmw .dkc-card__img { position: relative; display: block; overflow: hidden; background: var(--k-strong); }
body.dnd-bmw .dkc-show__img img, body.dnd-bmw .dkc-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.6); transition: filter 320ms var(--k-ease); }
body.dnd-bmw .dkc-show__img::after, body.dnd-bmw .dkc-card__img::after { content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; background: var(--k-gold); transform: scaleX(0); transform-origin: left; transition: transform 360ms var(--k-ease); }
body.dnd-bmw .dkc-tag { position: absolute; top: 0; left: 0; z-index: 2; padding: 7px 12px; background: var(--k-navy); color: #fff; font-size: 13px; font-weight: 700; line-height: 1; }
body.dnd-bmw .dkc-empty { display: grid; place-items: center; width: 100%; height: 100%; color: var(--k-mute); font-weight: 700; letter-spacing: .1em; }

/* ---------- Bảng thông số (dl) ---------- */
body.dnd-bmw .dkc-spec { margin: 0; display: grid; border-top: 1px solid var(--k-line); }
body.dnd-bmw .dkc-spec > div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--k-line); }
body.dnd-bmw .dkc-spec dt { margin: 0; font-size: 13px; font-weight: 400; color: var(--k-mute); }
body.dnd-bmw .dkc-spec dd { margin: 0; font-size: 15px; font-weight: 700; color: var(--k-ink); line-height: 1.4; font-variant-numeric: tabular-nums; }

/* ---------- Nút ---------- */
body.dnd-bmw .dkc-act { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: auto; padding-top: 20px; }
body.dnd-bmw .dkc-btn { display: inline-flex; align-items: center; height: 48px; padding: 0 24px; background: var(--k-gold); color: var(--k-navy) !important; font-size: 15px; font-weight: 700; text-decoration: none !important; white-space: nowrap; transition: background-color 200ms var(--k-ease), color 200ms var(--k-ease); }
body.dnd-bmw .dkc-btn:hover { background: var(--k-gold2); }
body.dnd-bmw .dkc-btn--ghost { background: transparent; box-shadow: inset 0 0 0 1px var(--k-ink); color: var(--k-ink) !important; }
body.dnd-bmw .dkc-btn--ghost:hover { background: var(--k-ink); color: #fff !important; }
body.dnd-bmw .dkc-btn--sm { height: 42px; padding: 0 18px; font-size: 14px; }
body.dnd-bmw .dkc-link { font-size: 14px; font-weight: 700; color: var(--k-ink) !important; text-decoration: underline !important; text-decoration-thickness: 1px !important; text-underline-offset: 4px; white-space: nowrap; }
body.dnd-bmw .dkc-link:hover { color: var(--k-gold-ink) !important; }
body.dnd-bmw .dkc-btn:focus-visible, body.dnd-bmw .dkc-link:focus-visible, body.dnd-bmw .dkc h3 a:focus-visible { outline: 2px solid var(--k-gold-ink); outline-offset: 3px; }

/* ---------- Dự án nổi bật: khung lớn ảnh | thông số, xen kẽ trái phải ---------- */
body.dnd-bmw .dkc-feat { display: grid; gap: 32px; }
body.dnd-bmw .dkc-show { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); background: var(--k-card); border: 1px solid var(--k-line); min-height: 460px; }
body.dnd-bmw .dkc-show.is-dao { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
body.dnd-bmw .dkc-show.is-dao .dkc-show__img { order: 2; }
body.dnd-bmw .dkc-show__img { min-height: 100%; }
body.dnd-bmw .dkc-show__body { display: flex; flex-direction: column; gap: 12px; padding: 36px 40px; min-width: 0; }
body.dnd-bmw .dkc-card__label { font-size: 13px; font-weight: 700; color: var(--k-gold-ink); }
body.dnd-bmw .dkc-show h3 { margin: 0; font-size: clamp(28px, 2.6vw, 36px) !important; line-height: 1.1 !important; }
body.dnd-bmw .dkc h3 a { color: var(--k-ink) !important; text-decoration: none !important; }
body.dnd-bmw .dkc h3 a:hover { color: var(--k-gold-ink) !important; }
body.dnd-bmw .dkc-show__body > p { margin: 0 0 6px; font-size: 16px !important; line-height: 1.6 !important; color: var(--k-body) !important; }

/* ---------- Các dự án khác: lưới 3 cột, thẻ có thông số ---------- */
body.dnd-bmw .dkc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
body.dnd-bmw .dkc-card { display: flex; flex-direction: column; min-width: 0; background: var(--k-card); border: 1px solid var(--k-line); transition: border-color 200ms var(--k-ease); }
body.dnd-bmw .dkc-card__img { aspect-ratio: 16 / 10; }
body.dnd-bmw .dkc-card__body { display: flex; flex-direction: column; gap: 10px; padding: 22px 22px 24px; flex: 1; }
body.dnd-bmw .dkc-card h3 { margin: 0; font-size: 22px !important; line-height: 1.2 !important; }
body.dnd-bmw .dkc-card__vt { margin: 0; font-size: 14px !important; color: var(--k-mute) !important; line-height: 1.45 !important; }
body.dnd-bmw .dkc-card__mo { margin: 4px 0 0; font-size: 15px !important; line-height: 1.55 !important; color: var(--k-body) !important; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
body.dnd-bmw .dkc-card .dkc-spec > div { grid-template-columns: 96px minmax(0, 1fr); padding: 8px 0; }
body.dnd-bmw .dkc-card .dkc-spec dd { font-size: 14px; }
body.dnd-bmw .dkc-card[hidden], body.dnd-bmw .dkc-show[hidden] { display: none; }

@media (hover: hover) {
  body.dnd-bmw .dkc-show:hover .dkc-show__img img, body.dnd-bmw .dkc-card:hover .dkc-card__img img { filter: none; }
  body.dnd-bmw .dkc-show:hover .dkc-show__img::after, body.dnd-bmw .dkc-card:hover .dkc-card__img::after { transform: scaleX(1); }
  body.dnd-bmw .dkc-card:hover, body.dnd-bmw .dkc-show:hover { border-color: var(--k-line2); }
}

/* ---------- Dải liên hệ cuối trang ---------- */
body.dnd-bmw .dkc-cta { margin: var(--dkc-sec) var(--dkc-pad); background: var(--k-navy); padding: 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
body.dnd-bmw .dkc-cta p { margin: 0; color: #fff !important; font-size: 22px !important; font-weight: 700 !important; line-height: 1.3 !important; min-width: 0; }
body.dnd-bmw .dkc-cta a { display: inline-flex; align-items: center; height: 48px; padding: 0 24px; background: var(--k-gold); color: var(--k-navy) !important; text-decoration: none !important; font-weight: 700; font-size: 15px; white-space: nowrap; transition: background-color 200ms var(--k-ease); }
body.dnd-bmw .dkc-cta a:hover { background: var(--k-gold2); }

/* Vạch đầu mục vẽ dần khi cuộn tới (JS thêm .dkc-fx) */
body.dnd-bmw.dkc-fx .dkc-head::after { transform: scaleX(0); transition: transform 600ms var(--k-ease); }
body.dnd-bmw.dkc-fx .dkc-head.is-in::after { transform: scaleX(1); }

@media (max-width: 1100px) {
  body.dnd-bmw .dkc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.dnd-bmw .dkc-show, body.dnd-bmw .dkc-show.is-dao { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 900px) {
  body.dnd-bmw .dkc-hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  body.dnd-bmw .dkc-hero__img { order: -1; aspect-ratio: 16 / 9; }
  body.dnd-bmw .dkc-hero__copy { padding: 28px 60px 32px 16px; } /* chừa chỗ thanh số mục cũ ở mép phải */
  body.dnd-bmw .dkc-show, body.dnd-bmw .dkc-show.is-dao { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  body.dnd-bmw .dkc-show.is-dao .dkc-show__img { order: 0; }
  body.dnd-bmw .dkc-show__img { aspect-ratio: 16 / 10; }
  body.dnd-bmw .dkc-show__body { padding: 24px 20px 26px; }
  body.dnd-bmw .dkc-filter { top: 56px; }
}
@media (max-width: 600px) {
  body.dnd-bmw .dkc-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  body.dnd-bmw .dkc-head { flex-direction: column; gap: 4px; }
  body.dnd-bmw .dkc-cta { padding: 28px 20px; }
  body.dnd-bmw .dkc-show__img img, body.dnd-bmw .dkc-card__img img { filter: none; }
  body.dnd-bmw .dkc-spec > div, body.dnd-bmw .dkc-card .dkc-spec > div { grid-template-columns: 92px minmax(0, 1fr); }
  body.dnd-bmw .dkc-filter button { padding: 0 14px; }
  body.dnd-bmw .dkc-filter button::after { left: 14px; right: 14px; }
}
@media (prefers-reduced-motion: reduce) { body.dnd-bmw.dkc-fx .dkc-head::after { transform: none; transition: none; } }

/* ===== Bản 3 (19/10/2026): đầu trang có ảnh chạy 3 dự án nổi bật – hiệu ứng riêng DND =====
 * Ảnh mới mở từ giữa ra hai bên (cửa trượt), thẻ chú thích trượt lên, 3 vạch tiến độ vàng đồng kiểu story; vạch vàng dọc mép trái phần chữ vẽ xuống khi tải trang. */
body.dnd-bmw .dkc-rot { position: relative; min-width: 0; overflow: hidden; background: var(--k-navy2); }
body.dnd-bmw .dkc-rot__slide { position: absolute; inset: 0; margin: 0; clip-path: inset(0 50% 0 50%); z-index: 1; }
body.dnd-bmw .dkc-rot__slide.is-on { clip-path: inset(0 0 0 0); z-index: 2; transition: clip-path 900ms var(--k-ease); }
body.dnd-bmw .dkc-rot__slide.is-cu { clip-path: inset(0 0 0 0); z-index: 1; }
body.dnd-bmw .dkc-rot__slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
body.dnd-bmw .dkc-rot__cap { position: absolute; left: 0; bottom: 0; z-index: 3; display: grid; gap: 4px; max-width: min(420px, 86%); padding: 20px 24px 22px; background: var(--k-navy); color: #fff; transform: translateY(100%); transition: transform 500ms var(--k-ease) 350ms; }
body.dnd-bmw .dkc-rot__slide.is-on .dkc-rot__cap { transform: none; }
body.dnd-bmw .dkc-rot__n { font-size: 13px; color: var(--k-gold); font-variant-numeric: tabular-nums; letter-spacing: .08em; }
body.dnd-bmw .dkc-rot__cap b { font-size: 22px; line-height: 1.2; color: #fff; }
body.dnd-bmw .dkc-rot__vt { font-size: 14px; font-weight: 300; color: var(--k-on-navy2); line-height: 1.45; }
body.dnd-bmw .dkc-rot__cap a { justify-self: start; margin-top: 6px; font-size: 14px; font-weight: 700; color: var(--k-gold) !important; text-decoration: underline !important; text-underline-offset: 4px; text-decoration-thickness: 1px !important; }
body.dnd-bmw .dkc-rot__cap a:hover { color: #fff !important; }
body.dnd-bmw .dkc-rot__bars { position: absolute; z-index: 4; top: 20px; left: 24px; right: 24px; display: flex; gap: 8px; }
body.dnd-bmw .dkc-rot__bars button { flex: 1; height: 24px; padding: 10px 0 !important; border: 0 !important; background: transparent !important; cursor: pointer; }
body.dnd-bmw .dkc-rot__bars i { display: block; height: 3px; background: rgba(255,255,255,.35); overflow: hidden; position: relative; }
body.dnd-bmw .dkc-rot__bars i::after { content: ""; position: absolute; inset: 0; background: var(--k-gold); transform: scaleX(0); transform-origin: left; }
body.dnd-bmw .dkc-rot__bars button.is-xong i::after { transform: scaleX(1); }
body.dnd-bmw .dkc-rot__bars button[aria-current="true"] i::after { animation: dkc-chay var(--dkc-t, 6s) linear forwards; }
body.dnd-bmw .dkc-rot.is-dung .dkc-rot__bars button[aria-current="true"] i::after { animation-play-state: paused; }
body.dnd-bmw .dkc-rot__bars button:focus-visible { outline: 2px solid var(--k-gold); outline-offset: 2px; }
@keyframes dkc-chay { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Vạch vàng dọc mép trái phần chữ + chữ hiện theo khi tải trang */
body.dnd-bmw .dkc-hero__copy { position: relative; }
body.dnd-bmw .dkc-hero__copy::before { content: ""; position: absolute; left: calc(var(--dkc-pad) - 20px); top: 56px; bottom: 48px; width: 2px; background: var(--k-gold); transform-origin: top; }
body.dnd-bmw.dkc-vao .dkc-hero__copy::before { animation: dkc-vach 900ms var(--k-ease) both; }
body.dnd-bmw.dkc-vao .dkc-hero__copy > * { animation: dkc-hien 600ms var(--k-ease) both; }
body.dnd-bmw.dkc-vao .dkc-hero__copy > *:nth-child(2) { animation-delay: 120ms; }
body.dnd-bmw.dkc-vao .dkc-hero__copy > *:nth-child(3) { animation-delay: 240ms; }
body.dnd-bmw.dkc-vao .dkc-hero__copy > *:nth-child(4) { animation-delay: 360ms; }
@keyframes dkc-vach { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes dkc-hien { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) {
  body.dnd-bmw .dkc-rot { order: -1; aspect-ratio: 16 / 10; }
  body.dnd-bmw .dkc-rot__cap { padding: 14px 16px 16px; }
  body.dnd-bmw .dkc-rot__cap b { font-size: 18px; }
  body.dnd-bmw .dkc-rot__vt { display: none; }
  body.dnd-bmw .dkc-rot__bars { top: 12px; left: 16px; right: 16px; }
  body.dnd-bmw .dkc-hero__copy::before { display: none; }
}
@media (min-width: 901px) and (max-width: 1340px) { body.dnd-bmw .dkc-hero__copy::before { left: 16px; } body.dnd-bmw .dkc-hero__copy { padding-left: max(var(--dkc-pad), 40px); } }
@media (prefers-reduced-motion: reduce) {
  body.dnd-bmw .dkc-rot__slide.is-on { transition: none; }
  body.dnd-bmw .dkc-rot__cap { transition: none; }
  body.dnd-bmw .dkc-rot__bars button[aria-current="true"] i::after { animation: none; transform: scaleX(1); }
  body.dnd-bmw.dkc-vao .dkc-hero__copy::before, body.dnd-bmw.dkc-vao .dkc-hero__copy > * { animation: none; }
}

/* Thẻ đồng bộ: dòng chưa có nguồn chữ nhạt; mô tả cố định 3 dòng để các thẻ cùng hàng thẳng nút */
body.dnd-bmw .dkc-spec > div.is-trong dd { font-weight: 400; color: var(--k-mute); }
body.dnd-bmw .dkc-card__mo { min-height: calc(1.55em * 3); }
body.dnd-bmw .dkc-card__vt { min-height: calc(1.45em * 2); }

/* ---------- Dự án nổi bật: xếp chồng khi cuộn (19/10/2026, hiệu ứng riêng DND – học trang chọn mẫu xe BMW) ----------
 * Khung sau trượt lên phủ khung trước; khung trước lùi 4% và tối dần theo phần bị phủ (--phu 0→1, JS đo bằng IntersectionObserver).
 * Số thứ tự lớn viền vàng đồng; chữ và từng dòng thông số hiện lần lượt khi khung vào màn hình.
 * Khác NTH (Ken Burns, inset mở khung, parallax, đếm số) và angia (vệt quét, ảnh thu 108%, rèm kéo). Chỉ transform/opacity. */
body.dnd-bmw .dkc { --dkc-bong: rgba(14, 27, 48, .14); --dkc-phu: rgba(14, 27, 48, .55); }
body.dnd-bmw .dkc-show { position: relative; }
body.dnd-bmw .dkc-show__body { position: relative; }
body.dnd-bmw .dkc-show__so { position: absolute; top: 18px; right: 28px; font-size: clamp(72px, 7vw, 112px); font-weight: 700; line-height: 1; letter-spacing: -.02em; color: transparent; -webkit-text-stroke: 1px var(--k-gold); pointer-events: none; user-select: none; font-variant-numeric: tabular-nums; }
body.dnd-bmw .dkc-show__body > .dkc-card__label, body.dnd-bmw .dkc-show h3 { padding-right: 120px; }

/* Xếp chồng: chỉ khi máy tính đủ cao để thấy trọn một khung (JS thêm .dkc-chong) */
body.dnd-bmw.dkc-chong .dkc-feat { gap: 48px; }
body.dnd-bmw.dkc-chong .dkc-show { position: sticky; top: var(--dkc-dinh, 144px); box-shadow: 0 -16px 40px -12px var(--dkc-bong); transform-origin: 50% 0; transform: scale(calc(1 - var(--phu, 0) * .04)); transition: transform 120ms linear; }
body.dnd-bmw.dkc-chong .dkc-show:first-child { box-shadow: none; }
body.dnd-bmw.dkc-chong .dkc-show::after { content: ""; position: absolute; inset: 0; background: var(--dkc-phu); opacity: calc(var(--phu, 0) * .9); pointer-events: none; transition: opacity 120ms linear; z-index: 2; }

/* Vào màn hình: ảnh trượt vào từ mép ngoài, chữ + từng dòng thông số hiện lần lượt, số thứ tự trồi lên */
body.dnd-bmw.dkc-fx .dkc-show .dkc-show__img img { opacity: 0; transform: translateX(-32px); transition: opacity 700ms var(--k-ease), transform 900ms var(--k-ease), filter 320ms var(--k-ease); }
body.dnd-bmw.dkc-fx .dkc-show.is-dao .dkc-show__img img { transform: translateX(32px); }
body.dnd-bmw.dkc-fx .dkc-show__body > *, body.dnd-bmw.dkc-fx .dkc-show .dkc-spec > div { opacity: 0; transform: translateY(12px); transition: opacity 500ms var(--k-ease), transform 600ms var(--k-ease); }
body.dnd-bmw.dkc-fx .dkc-show__body > .dkc-show__so { transform: translateY(24px); transition-duration: 900ms; }
body.dnd-bmw.dkc-fx .dkc-show.is-in .dkc-show__img img, body.dnd-bmw.dkc-fx .dkc-show.is-in .dkc-show__body > *, body.dnd-bmw.dkc-fx .dkc-show.is-in .dkc-spec > div { opacity: 1; transform: none; }
body.dnd-bmw.dkc-fx .dkc-show.is-in .dkc-show__body > *:nth-child(2) { transition-delay: 80ms; }
body.dnd-bmw.dkc-fx .dkc-show.is-in .dkc-show__body > *:nth-child(3) { transition-delay: 160ms; }
body.dnd-bmw.dkc-fx .dkc-show.is-in .dkc-show__body > *:nth-child(4) { transition-delay: 240ms; }
body.dnd-bmw.dkc-fx .dkc-show.is-in .dkc-show__body > *:nth-child(5) { transition-delay: 300ms; }
body.dnd-bmw.dkc-fx .dkc-show.is-in .dkc-show__body > *:nth-child(6) { transition-delay: 600ms; }
body.dnd-bmw.dkc-fx .dkc-show.is-in .dkc-spec > div:nth-child(1) { transition-delay: 340ms; }
body.dnd-bmw.dkc-fx .dkc-show.is-in .dkc-spec > div:nth-child(2) { transition-delay: 400ms; }
body.dnd-bmw.dkc-fx .dkc-show.is-in .dkc-spec > div:nth-child(3) { transition-delay: 460ms; }
body.dnd-bmw.dkc-fx .dkc-show.is-in .dkc-spec > div:nth-child(4) { transition-delay: 520ms; }
body.dnd-bmw.dkc-fx .dkc-show.is-in .dkc-spec > div:nth-child(n+5) { transition-delay: 580ms; }

@media (max-width: 900px) {
  /* Điện thoại: số thứ tự thành dòng đầu của phần chữ, tên dự án dùng hết bề ngang (không xuống dòng vì chừa chỗ số) */
  body.dnd-bmw .dkc-show__so { position: static; font-size: 44px; margin-bottom: -2px; }
  body.dnd-bmw .dkc-show__body > .dkc-card__label, body.dnd-bmw .dkc-show h3 { padding-right: 0; }
  body.dnd-bmw.dkc-fx .dkc-show .dkc-show__img img, body.dnd-bmw.dkc-fx .dkc-show.is-dao .dkc-show__img img { transform: translateY(16px); }
}
@media (prefers-reduced-motion: reduce) {
  body.dnd-bmw.dkc-chong .dkc-show { transform: none; transition: none; }
  body.dnd-bmw.dkc-chong .dkc-show::after { transition: none; }
}

/* Điện thoại: vùng chạm ≥ 44px cho liên kết chữ (giữ nguyên hình, nới vùng bấm) */
@media (max-width: 900px) {
  body.dnd-bmw .dkc-rot__cap a, body.dnd-bmw .dkc-link, body.dnd-bmw .dkc-crumb a { display: inline-flex; align-items: center; min-height: 44px; }
  body.dnd-bmw .dkc-rot__cap a { margin-top: -4px; margin-bottom: -10px; }
  body.dnd-bmw .dkc-crumb { align-items: center; margin: -10px 0; }
  body.dnd-bmw .dkc-rot__bars { top: 2px; }
  body.dnd-bmw .dkc-rot__bars button { height: 44px; padding: 20px 0 !important; }
}
