.dv-teaser {
  padding-block: clamp(42px, 5vw, 80px);
  background: #101522;
  scroll-margin-top: 66px;
  border-top: 1px solid #645441;
}
#features.dv-teaser { background: #0c111b; }
.dv-heading {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 24px;
}
.dv-heading::after {
  content: "";
  flex: 1;
  align-self: center;
  height: 1px;
  background: linear-gradient(to right, #87704f, transparent);
}
.dv-heading h2 {
  margin: 0;
  color: #f1e2c6;
  font: 700 clamp(30px, 3vw, 46px)/1.3 var(--display);
  letter-spacing: .07em;
}
.dv-heading small, .dv-placeholder { font-size: 12px; color: #deccb0; }
.dv-grid { display: grid; gap: clamp(12px, 1.5vw, 24px); }
.dv-features { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dv-classes { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.dv-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid #796345;
  background: #19202b;
  color: #ece4d8;
  text-decoration: none;
  min-width: 0;
  transition: transform .18s, box-shadow .18s;
}
.dv-card::after {
  content: "";
  position: absolute;
  right: 5px;
  bottom: 5px;
  width: 11px;
  height: 11px;
  border: solid #c3a572;
  border-width: 0 1px 1px 0;
  pointer-events: none;
}
.dv-card:focus-visible, .countries .enlist:focus-visible { outline: 2px solid #cbab78; outline-offset: 2px; }
.dv-copy { flex: 1; display: flex; flex-direction: column; padding: clamp(14px, 1.5vw, 24px); }
.dv-copy h3 { margin: 0; font: 700 clamp(21px, 2vw, 29px)/1.4 var(--display); color: #f7e9d0; }
.dv-copy p { margin: 8px 0 18px; font-size: 15px; line-height: 1.65; }
.dv-more { margin-top: auto; font-size: 14px; color: #e8c996; }
.dv-more i { font-style: normal; margin-inline-start: 3px; }
.dv-visual { position: relative; aspect-ratio: 16/9; }
.dv-visual img { display: block; width: 100%; height: 100%; object-fit: cover; }
.dv-placeholder { position: absolute; right: 8px; bottom: 8px; background: #121621; padding: 2px 7px; }
.dv-emblem {
  display: grid;
  place-items: center;
  height: clamp(80px, 9vw, 132px);
  border-bottom: 1px solid #60503c;
  background: radial-gradient(ellipse at center, #343548, #161c2a 75%);
}
.dv-emblem-warrior { --emblem: url("../assets/classes/warrior.svg"); }
.dv-emblem-thief { --emblem: url("../assets/classes/thief.svg"); }
.dv-emblem-archer { --emblem: url("../assets/classes/archer.svg"); }
.dv-emblem-mage { --emblem: url("../assets/classes/mage.svg"); }
.dv-emblem-priest { --emblem: url("../assets/classes/priest.svg"); }
.dv-emblem::before {
  content: "";
  width: 62px;
  height: 62px;
  background: linear-gradient(145deg, #f2e0b4, #bf965e);
  mask: var(--emblem) center / contain no-repeat;
}
.dv-oath { margin: 0 0 8px; color: #f3eadb; }
.dv-colors { display: inline-block; padding: 3px 10px; margin-bottom: 18px; border: 1px solid currentColor; font-size: 14px; }
.dv-lorran { background: #2B4F7E; color: #C9D3DE; }
.dv-kallon { background: #8C2F2C; border-color: #D6B06A; color: #EAC989; }
/* 整合（12/04）：位移只在未要求減少動態時；準備中／停用卡不給 hover、按下回饋 */
@media (hover:hover) and (pointer:fine) {
  .dv-card:not([aria-disabled="true"], .is-soon, [data-pending]):hover { box-shadow: 0 4px 14px #0006; }
  @media (prefers-reduced-motion: no-preference) {
    .dv-card:not([aria-disabled="true"], .is-soon, [data-pending]):hover { transform: translateY(-2px); }
  }
}
.dv-card:not([aria-disabled="true"], .is-soon, [data-pending]):active { box-shadow: inset 0 0 0 2px #ae9061; }
@media (max-width: 760px) {
  .dv-grid {
    display: grid;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 84%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 5px;
    padding: 5px 5px 12px;
    margin-inline: -5px;
    scrollbar-color: #857058 #181e2a;
  }
  .dv-classes { grid-auto-columns: 62%; }
  .dv-card { scroll-snap-align: start; }
}
@media (prefers-reduced-motion: reduce) {
  .dv-card { transition: none; }
  .dv-teaser a.dv-card { transform: none; }
}
/* WEB-1204-mobile-fix 包 3：首頁手機（plan.md #21 #33） */
.dv-copy h3{text-wrap:balance}
