/* Deal Terminal v2 — cleaner hierarchy */
:root {
  --bg: #090c12;
  --panel: #121722;
  --panel-2: #171e2c;
  --line: rgba(255, 255, 255, 0.07);
  --line-strong: rgba(255, 255, 255, 0.12);
  --text: #b7c0d0;
  --strong: #f2f5fb;
  --muted: #7f8a9e;
  --soft: #5f6b80;
  --blue: #3b82f6;
  --blue-2: #60a5fa;
  --blue-ink: #93c5fd;
  --blue-soft: rgba(59, 130, 246, 0.14);
  --green: #34d399;
  --green-soft: rgba(52, 211, 153, 0.12);
  --amber: #fbbf24;
  --amber-soft: rgba(251, 191, 36, 0.12);
  --red: #f87171;
  --r: 14px;
  --r-sm: 9px;
  --wrap: 1280px; /* 与原型 store.css / shell 舞台宽一致 */
  /* 与原型 fx.css 一致 */
  --sans: "Outfit", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: ui-monospace, "Cascadia Code", "SF Mono", Consolas, monospace;
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 12px 32px rgba(0, 0, 0, 0.28);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.dt-body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--sans);
  color: var(--text);
  line-height: 1.5;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

body.dt-body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 420px at 15% -5%, rgba(59, 130, 246, 0.12), transparent 55%),
    radial-gradient(700px 360px at 90% 0%, rgba(52, 211, 153, 0.05), transparent 50%);
  z-index: -1;
}

a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }

.num {
  font-variant-numeric: tabular-nums;
  font-family: var(--mono);
}

.dt-wrap {
  width: min(var(--wrap), calc(100% - 32px));
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
  margin: 0 auto;
}

/* —— Topbar —— */
.dt-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(9, 12, 18, 0.88);
  border-bottom: 1px solid var(--line);
}

.dt-topbar-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 56px;
}

.dt-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 14px;
  color: var(--strong);
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.dt-brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  background: linear-gradient(145deg, #3b82f6, #2563eb);
}

.dt-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.dt-nav a {
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  transition: 0.12s ease;
}

.dt-nav a:hover { color: var(--strong); background: rgba(255, 255, 255, 0.04); }
.dt-nav a.is-active {
  color: var(--strong);
  background: rgba(255, 255, 255, 0.06);
}

.dt-search {
  margin-left: auto;
  display: flex;
  align-items: center;
  width: min(220px, 28vw);
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.dt-search input {
  border: 0;
  outline: 0;
  background: transparent;
  width: 100%;
  color: var(--strong);
  font-size: 13px;
}

.dt-search input::placeholder { color: var(--soft); }

/* —— Buttons —— */
.dt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 9px;
  border: 1px solid transparent;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
  transition: 0.12s ease;
  white-space: nowrap;
  line-height: 1.2;
}

.dt-btn-primary {
  background: var(--blue);
  color: #fff;
}

.dt-btn-primary:hover { filter: brightness(1.08); }

.dt-btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--strong);
}

.dt-btn-ghost:hover { background: rgba(255, 255, 255, 0.04); }

/* 次级操作：轻描边，不用厚重实心主色块 */
.dt-btn-quiet {
  background: transparent;
  border-color: rgba(125, 160, 220, 0.3);
  color: var(--blue-ink);
  box-shadow: none;
}
.dt-btn-quiet:hover {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(125, 160, 220, 0.55);
  color: var(--strong);
}

.dt-btn-buy {
  background: var(--green-soft);
  border-color: rgba(52, 211, 153, 0.28);
  color: var(--green);
  padding: 5px 10px;
  font-size: 12px;
}

.dt-btn-sm {
  padding: 5px 10px;
  font-size: 12px;
}

/* —— Panels —— */
.dt-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
}

.dt-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px 0;
}

.dt-panel-head h2 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--strong);
  letter-spacing: -0.01em;
}

.dt-panel-head .sub {
  font-size: 12px;
  color: var(--muted);
}

.dt-panel-head .sub a {
  color: var(--blue-ink);
  font-weight: 600;
}

.dt-panel-body { padding: 12px 18px 16px; }

/* —— Badges：色板/图标由 glass.css 全站统一（前端UI规则.md） —— */
.dt-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  white-space: nowrap;
  line-height: 1.2;
}

/* —— Chips —— */
.dt-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.dt-chip {
  appearance: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  border-radius: 8px;
  padding: 5px 11px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.12s ease;
}

.dt-chip:hover {
  color: var(--strong);
  border-color: var(--line-strong);
}

.dt-chip.is-active {
  color: var(--strong);
  border-color: rgba(59, 130, 246, 0.45);
  background: var(--blue-soft);
}

.dt-chip small {
  margin-left: 3px;
  opacity: 0.7;
  font-weight: 500;
}

/* —— Table —— */
.dt-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 -4px;
  padding: 0 4px;
}

.dt-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.dt-table th {
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--soft);
  padding: 8px 12px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.dt-table td {
  padding: 11px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.035);
  vertical-align: middle;
}

.dt-table tbody tr:last-child td { border-bottom: 0; }
.dt-table tbody tr:hover td { background: rgba(255, 255, 255, 0.015); }

.dt-table tr.is-best td {
  background: rgba(52, 211, 153, 0.05);
}

.dt-table tr.is-best td:first-child {
  box-shadow: inset 2px 0 0 var(--green);
}

.dt-game-cell {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 180px;
}

.dt-game-cell img {
  width: 64px;
  height: 30px;
  object-fit: cover;
  border-radius: 5px;
  border: 1px solid var(--line);
  background: #000;
  flex-shrink: 0;
}

.dt-game-cell .name {
  color: var(--strong);
  font-weight: 650;
  font-size: 13px;
  line-height: 1.3;
}

.dt-game-cell .meta {
  color: var(--soft);
  font-size: 11px;
  margin-top: 2px;
}

.dt-price-cell { line-height: 1.2; }

.dt-price-cell .p {
  color: var(--strong);
  font-weight: 700;
  font-size: 13px;
}

.dt-price-cell .p.is-low { color: var(--green); }

.dt-price-cell .d {
  color: var(--soft);
  font-size: 11px;
  margin-top: 2px;
}

.dt-price-cell .empty { color: var(--soft); }

/* Mini price trend (list / home) */
.dt-spark {
  display: block;
  width: 56px;
  height: 22px;
  vertical-align: middle;
}
.dt-spark.is-down { color: var(--green); }
.dt-spark.is-up { color: #f87171; }
.dt-spark.is-flat { color: var(--soft); }

.dt-tag-low {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 5px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  color: var(--green);
  background: var(--green-soft);
  vertical-align: middle;
}

/* —— Toolbar —— */
.dt-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  margin: 0 0 14px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
}

.dt-field {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}

.dt-field select,
.dt-field input[type="search"] {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 8px;
  padding: 6px 10px;
  color: var(--strong);
  min-width: 108px;
}

.dt-field select:focus,
.dt-field input:focus {
  outline: 0;
  border-color: rgba(59, 130, 246, 0.45);
}

/* —— Page —— */
.dt-page { padding: 20px 0 40px; }

.dt-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 12px;
}

.dt-crumbs a:hover { color: var(--blue-ink); }

.dt-page-title {
  margin: 0 0 4px;
  font-size: 22px;
  font-weight: 750;
  color: var(--strong);
  letter-spacing: -0.03em;
}

.dt-page-desc {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 13px;
  max-width: 58ch;
}

.dt-foot {
  margin-top: 28px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--soft);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.dt-foot a:hover { color: var(--blue-ink); }

/* —— Hero —— */
.dt-hero {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--line);
  background:
    radial-gradient(500px 220px at 85% 0%, rgba(59, 130, 246, 0.16), transparent 60%),
    var(--panel);
  padding: 28px 28px 24px;
  margin-bottom: 16px;
}

.dt-hero h1 {
  margin: 0 0 8px;
  font-size: clamp(24px, 3.2vw, 30px);
  color: var(--strong);
  letter-spacing: -0.035em;
  line-height: 1.18;
  font-weight: 750;
}

.dt-hero h1 strong {
  color: var(--blue-2);
  font-weight: 800;
}

.dt-hero > p {
  margin: 0 0 16px;
  color: var(--muted);
  max-width: 46ch;
  font-size: 13px;
  line-height: 1.55;
}

.dt-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.dt-hero-search {
  display: flex;
  flex: 1;
  min-width: min(100%, 260px);
  max-width: 380px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

.dt-hero-search input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 10px 12px;
  color: var(--strong);
  font-size: 13px;
}

.dt-hero-search button {
  border: 0;
  background: var(--blue);
  color: #fff;
  padding: 0 14px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
}

.dt-trust {
  display: none; /* hide noisy trust chips */
}

/* —— Layout —— */
.dt-grid-main {
  display: grid;
  gap: 16px;
}

.dt-grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 16px;
  align-items: start;
}

.dt-grid-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 16px;
  align-items: start;
}

.dt-stack { display: grid; gap: 12px; }

.dt-section-label {
  margin: 4px 0 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--soft);
}

/* —— Legend compact —— */
.dt-legend-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
}

.dt-legend-bar .label {
  font-size: 12px;
  color: var(--soft);
  font-weight: 600;
  margin-right: 4px;
}

.dt-legend-item-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
}

/* —— Detail —— */
/* 上：左图 | 右(名称上 + 双价下)；下：购买建议通栏 */
.dt-detail-hero {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
}

.dt-detail-hero-top {
  display: grid;
  grid-template-columns: minmax(280px, 1.15fr) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}

.dt-detail-hero-left {
  min-width: 0;
}

.dt-detail-hero-right {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}

.dt-detail-hero-identity {
  min-width: 0;
}

.dt-cover {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #000;
  aspect-ratio: 460 / 215;
  width: 100%;
  height: 100%;
  min-height: 160px;
}

.dt-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dt-detail-hero h1 {
  margin: 0 0 4px;
  font-size: 22px;
  color: var(--strong);
  letter-spacing: -0.02em;
  font-weight: 800;
  line-height: 1.25;
}

.dt-detail-hero .slug {
  font-size: 11px;
  color: var(--soft);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.dt-detail-hero-identity .dt-row-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.dt-detail-hero-right .dt-price-cards {
  margin-top: auto;
}

/* 详情内容 Tab（历史价格 / 最新优惠） */
.dt-detail-tabs-panel {
  padding: 0 !important;
  overflow: hidden;
}

.dt-detail-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0;
  padding: 0 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.015);
}

.dt-detail-tab {
  position: relative;
  appearance: none;
  border: 0;
  background: transparent;
  color: #7aa2d6;
  font: inherit;
  font-size: 13.5px;
  font-weight: 650;
  padding: 14px 16px 12px;
  margin: 0;
  cursor: pointer;
  line-height: 1.2;
  white-space: nowrap;
  transition: color 0.15s ease;
}

.dt-detail-tab:hover {
  color: #b7d4ff;
}

.dt-detail-tab.is-active {
  color: #60a5fa;
}

.dt-detail-tab.is-active::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 0;
  height: 2px;
  border-radius: 2px 2px 0 0;
  background: #3b82f6;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.45);
}

.dt-detail-tab:focus-visible {
  outline: 2px solid rgba(59, 130, 246, 0.55);
  outline-offset: -2px;
  border-radius: 8px;
}

.dt-detail-tab-panels {
  min-width: 0;
}

.dt-detail-tab-panel {
  min-width: 0;
}

.dt-detail-tab-panel[hidden] {
  display: none !important;
}

.dt-detail-tab-panel-head {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 10px 18px 0;
}

.dt-detail-tab-panel-head .sub {
  font-size: 12px;
  color: var(--soft);
}

/* Steam 风格：介绍 / DLC / 评论 */
.dt-steam-about {
  display: grid;
  gap: 14px;
}

.dt-steam-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.03);
}

.dt-steam-meta-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.dt-steam-meta-row span {
  font-size: 11px;
  color: var(--soft);
  font-weight: 600;
}

.dt-steam-meta-row b {
  font-size: 13px;
  color: var(--strong);
  font-weight: 650;
}

.dt-steam-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-weight: 600 !important;
}

.dt-steam-tag {
  display: inline-flex;
  padding: 3px 8px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 650;
  color: #bfdbfe;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.22);
}

.dt-steam-about-block {
  margin-top: 4px;
}

.dt-steam-about-heading {
  margin: 0 0 10px;
  padding-bottom: 10px;
  font-size: 16px;
  font-weight: 750;
  color: var(--strong);
  letter-spacing: -0.01em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dt-steam-about-text {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--muted);
}

.dt-steam-about-text p {
  margin: 0 0 12px;
}

.dt-steam-about-text p:last-child {
  margin-bottom: 0;
}

/* Steam 式媒体画廊：主图 + 底部缩略图条 */
.dt-media-gallery {
  display: grid;
  gap: 10px;
  margin-bottom: 4px;
}

.dt-media-stage {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0a0f18;
  aspect-ratio: 16 / 9;
  /* 禁止 max-height，否则宽屏会被高度卡住、右侧留空 */
}

.dt-media-main {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: #0a0f18;
}

.dt-media-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 40px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 10px;
  color: #e2e8f0;
  background: rgba(8, 12, 20, 0.48);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.dt-media-nav:hover {
  background: rgba(8, 12, 20, 0.72);
  color: #fff;
}

.dt-media-nav.is-prev {
  left: 10px;
}

.dt-media-nav.is-next {
  right: 10px;
}

.dt-media-caption {
  position: absolute;
  left: 12px;
  bottom: 10px;
  z-index: 2;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 650;
  color: #e2e8f0;
  background: rgba(8, 12, 20, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  pointer-events: none;
}

.dt-media-thumbs-wrap {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 32px;
  gap: 8px;
  align-items: center;
}

.dt-media-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 2px 2px 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(148, 163, 184, 0.35) transparent;
}

.dt-media-thumbs::-webkit-scrollbar {
  height: 6px;
}

.dt-media-thumbs::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.35);
  border-radius: 999px;
}

.dt-media-thumb {
  flex: 0 0 auto;
  width: 112px;
  height: 63px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
  background: #0a0f18;
  cursor: pointer;
  opacity: 0.78;
  transition: opacity 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.dt-media-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dt-media-thumb:hover {
  opacity: 1;
  border-color: rgba(148, 163, 184, 0.45);
}

.dt-media-thumb.is-active {
  opacity: 1;
  border-color: rgba(96, 165, 250, 0.95);
  box-shadow:
    0 0 0 1px rgba(59, 130, 246, 0.55),
    0 0 0 3px rgba(59, 130, 246, 0.18);
}

.dt-media-thumbs-nav {
  width: 32px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.dt-media-thumbs-nav:hover {
  color: var(--strong);
  border-color: rgba(96, 165, 250, 0.35);
  background: rgba(59, 130, 246, 0.1);
}

.dt-steam-dlc-list {
  display: grid;
  gap: 10px;
}

.dt-steam-dlc-item {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.03);
}

.dt-steam-dlc-cover {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #000;
  aspect-ratio: 460 / 215;
}

.dt-steam-dlc-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dt-steam-dlc-body .t {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--strong);
  line-height: 1.35;
}

.dt-steam-dlc-body .s {
  margin-top: 4px;
  font-size: 12px;
  color: var(--soft);
}

.dt-steam-dlc-pricebox {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  min-width: 72px;
}

.dt-steam-dlc-price {
  font-size: 16px;
  font-weight: 800;
  color: #60a5fa;
}

.dt-steam-dlc-orig {
  font-size: 11px;
  color: var(--soft);
  text-decoration: line-through;
}

.dt-steam-dlc-off {
  display: inline-flex;
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(180deg, #34d399 0%, #16a34a 100%);
}

.dt-steam-dlc-included {
  font-size: 12px;
  font-weight: 700;
  color: #6ee7b7;
}

.dt-steam-review-summary {
  margin-bottom: 12px;
}

.dt-steam-review-score {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 12px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(59, 130, 246, 0.22);
  background: rgba(59, 130, 246, 0.08);
}

.dt-steam-review-score .label {
  font-size: 14px;
  font-weight: 800;
  color: #93c5fd;
}

.dt-steam-review-score .pct {
  font-size: 20px;
  font-weight: 800;
  color: #60a5fa;
}

.dt-steam-review-score .total {
  font-size: 12px;
  color: var(--soft);
}

.dt-steam-review-list {
  display: grid;
  gap: 10px;
}

.dt-steam-review-item {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.03);
}

.dt-steam-review-item.is-pos {
  border-left: 3px solid rgba(52, 211, 153, 0.75);
}

.dt-steam-review-item.is-neg {
  border-left: 3px solid rgba(248, 113, 113, 0.75);
}

.dt-steam-review-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin-bottom: 8px;
  font-size: 12px;
  color: var(--soft);
}

.dt-steam-review-head .verdict {
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 8px;
  font-size: 11px;
}

.dt-steam-review-item.is-pos .verdict {
  color: #ecfdf5;
  background: rgba(16, 185, 129, 0.28);
}

.dt-steam-review-item.is-neg .verdict {
  color: #fef2f2;
  background: rgba(239, 68, 68, 0.28);
}

.dt-steam-review-head .author {
  color: var(--strong);
  font-weight: 700;
}

.dt-steam-review-body {
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

.dt-steam-review-foot {
  font-size: 11px;
  color: var(--soft);
}

@media (max-width: 720px) {
  .dt-steam-meta {
    grid-template-columns: 1fr;
  }
  .dt-media-stage {
    width: 100%;
  }
  .dt-media-nav {
    width: 34px;
    height: 48px;
  }
  .dt-media-thumb {
    width: 88px;
    height: 50px;
  }
  .dt-media-thumbs-wrap {
    grid-template-columns: 28px minmax(0, 1fr) 28px;
  }
  .dt-steam-dlc-item {
    grid-template-columns: 72px minmax(0, 1fr);
  }
  .dt-steam-dlc-pricebox {
    grid-column: 2;
    align-items: flex-start;
    flex-direction: row;
    gap: 8px;
  }
}

/* 英雄区：购买建议通栏（在图+名称/价格下方） */
.dt-hero-deal {
  margin-top: 0;
  display: grid;
  gap: 0;
  width: 100%;
}

/* 右下角：回到顶部（主色蓝；顶部隐藏，滚动后显示） */
.dt-back-top {
  position: fixed !important;
  right: 22px !important;
  bottom: 24px !important;
  left: auto !important;
  top: auto !important;
  z-index: 2147483000 !important;
  width: 48px !important;
  height: 48px !important;
  margin: 0 !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 0 !important;
  border-radius: 50% !important;
  color: #fff !important;
  background: linear-gradient(160deg, #60a5fa 0%, #3b82f6 48%, #2563eb 100%) !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.28) inset,
    0 10px 28px -8px rgba(37, 99, 235, 0.65),
    0 0 0 1px rgba(59, 130, 246, 0.35) !important;
  cursor: pointer !important;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px) scale(0.94);
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s ease,
    filter 0.15s ease,
    box-shadow 0.15s ease;
}

.dt-back-top.is-visible,
#backToTop.dt-back-top.is-visible {
  opacity: 0.95 !important;
  visibility: visible !important;
  transform: translateY(0) scale(1) !important;
  pointer-events: auto !important;
}

.dt-back-top:hover {
  opacity: 1 !important;
  filter: brightness(1.08);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.32) inset,
    0 14px 32px -8px rgba(37, 99, 235, 0.75),
    0 0 0 1px rgba(96, 165, 250, 0.5) !important;
}

.dt-back-top:active {
  transform: translateY(1px) scale(0.98) !important;
}

.dt-back-top:focus-visible {
  outline: 2px solid rgba(147, 197, 253, 0.9);
  outline-offset: 3px;
}

/* 覆盖原生 [hidden]：显示时仍可 fixed 定位 */
#backToTop.dt-back-top.is-visible[hidden],
#backToTop.dt-back-top.is-visible {
  display: inline-flex !important;
}

@media (max-width: 720px) {
  .dt-back-top {
    right: 14px !important;
    bottom: 16px !important;
    width: 44px !important;
    height: 44px !important;
  }
}

/* 购买建议卡：左图标 | 右上标题+彩标 | 右下理由 */
.dt-hero-advice {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 14px 16px;
  align-items: start;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.dt-hero-advice.is-newlow {
  background: linear-gradient(
    135deg,
    rgba(251, 191, 36, 0.12) 0%,
    rgba(16, 185, 129, 0.08) 42%,
    rgba(255, 255, 255, 0.02) 100%
  );
  border-color: rgba(16, 185, 129, 0.28);
}

.dt-hero-advice.is-super {
  background: linear-gradient(
    135deg,
    rgba(244, 114, 182, 0.12) 0%,
    rgba(255, 255, 255, 0.03) 70%
  );
  border-color: rgba(236, 72, 153, 0.28);
}

.dt-hero-advice.is-recom {
  background: linear-gradient(
    135deg,
    rgba(34, 197, 94, 0.12) 0%,
    rgba(255, 255, 255, 0.03) 70%
  );
  border-color: rgba(34, 197, 94, 0.24);
}

.dt-hero-advice.is-consider {
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.12) 0%,
    rgba(255, 255, 255, 0.03) 70%
  );
  border-color: rgba(59, 130, 246, 0.24);
}

.dt-hero-advice.is-normal,
.dt-hero-advice.is-soft {
  background: linear-gradient(
    135deg,
    rgba(148, 163, 184, 0.1) 0%,
    rgba(255, 255, 255, 0.03) 70%
  );
  border-color: rgba(148, 163, 184, 0.2);
}

.dt-hero-advice-icon {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 2px;
}

.dt-advice-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  color: #fff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.22) inset,
    0 8px 18px -8px rgba(0, 0, 0, 0.45);
}

.dt-advice-mark.is-newlow {
  color: #fbbf24;
  background: linear-gradient(160deg, rgba(251, 191, 36, 0.22), rgba(234, 88, 12, 0.16));
  border: 1px solid rgba(251, 191, 36, 0.4);
}

.dt-advice-mark.is-super {
  color: #f472b6;
  background: linear-gradient(160deg, rgba(244, 114, 182, 0.22), rgba(219, 39, 119, 0.16));
  border: 1px solid rgba(244, 114, 182, 0.4);
}

.dt-advice-mark.is-recom {
  color: #34d399;
  background: linear-gradient(160deg, rgba(52, 211, 153, 0.2), rgba(22, 163, 74, 0.14));
  border: 1px solid rgba(52, 211, 153, 0.38);
}

.dt-advice-mark.is-consider {
  color: #60a5fa;
  background: linear-gradient(160deg, rgba(96, 165, 250, 0.2), rgba(37, 99, 235, 0.14));
  border: 1px solid rgba(96, 165, 250, 0.38);
}

.dt-advice-mark.is-normal,
.dt-advice-mark.is-soft {
  color: #94a3b8;
  background: linear-gradient(160deg, rgba(148, 163, 184, 0.18), rgba(71, 85, 105, 0.14));
  border: 1px solid rgba(148, 163, 184, 0.32);
}

.dt-hero-advice-body {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.dt-hero-advice-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  /* 标题与小标签同一行：左标题、右标签 */
  row-gap: 6px;
}

.dt-hero-advice-top .dt-decision-chips {
  display: inline-flex !important;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  width: auto !important; /* 覆盖 .dt-decision-chips { width:100% }，避免掉到下一行 */
  flex: 0 1 auto;
  min-width: 0;
}

.dt-hero-advice-title {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: var(--strong);
  letter-spacing: -0.02em;
  line-height: 1.25;
  flex: 0 0 auto;
  white-space: nowrap;
}

.dt-hero-advice.is-newlow .dt-hero-advice-title {
  color: #6ee7b7;
}

.dt-hero-advice.is-super .dt-hero-advice-title {
  color: #f9a8d4;
}

.dt-hero-advice.is-recom .dt-hero-advice-title {
  color: #86efac;
}

.dt-hero-advice.is-consider .dt-hero-advice-title {
  color: #93c5fd;
}

.dt-hero-advice-reason {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}

/* 详情建议小标签：多色 */
.dt-advice-chip {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
  border: 1px solid transparent;
}

.dt-advice-chip.is-hist {
  color: #a7f3d0;
  background: rgba(16, 185, 129, 0.14);
  border-color: rgba(16, 185, 129, 0.32);
}

.dt-advice-chip.is-super {
  color: #fbcfe8;
  background: rgba(236, 72, 153, 0.14);
  border-color: rgba(236, 72, 153, 0.32);
}

.dt-advice-chip.is-recom {
  color: #bbf7d0;
  background: rgba(34, 197, 94, 0.14);
  border-color: rgba(34, 197, 94, 0.3);
}

.dt-advice-chip.is-consider {
  color: #bfdbfe;
  background: rgba(59, 130, 246, 0.14);
  border-color: rgba(59, 130, 246, 0.3);
}

.dt-advice-chip.is-discount {
  color: #fde68a;
  background: rgba(245, 158, 11, 0.14);
  border-color: rgba(245, 158, 11, 0.32);
}

.dt-advice-chip.is-rating {
  color: #c4b5fd;
  background: rgba(139, 92, 246, 0.14);
  border-color: rgba(139, 92, 246, 0.3);
}

.dt-advice-chip.is-hot {
  color: #fdba74;
  background: rgba(249, 115, 22, 0.14);
  border-color: rgba(249, 115, 22, 0.32);
}

.dt-advice-chip.is-soft {
  color: #cbd5e1;
  background: rgba(148, 163, 184, 0.12);
  border-color: rgba(148, 163, 184, 0.26);
}

@media (max-width: 640px) {
  .dt-hero-advice {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 10px 12px;
    padding: 12px;
  }
  .dt-advice-mark {
    width: 42px;
    height: 42px;
    border-radius: 10px;
  }
  .dt-hero-advice-title {
    font-size: 16px;
  }
}

/* 双价卡：左标题/折扣，右价格列，对齐参考图 */
.dt-price-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.dt-price-card {
  position: relative;
  padding: 11px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dt-price-card.is-highlight {
  border-color: rgba(61, 139, 253, 0.42);
  background: linear-gradient(
    160deg,
    rgba(61, 139, 253, 0.1) 0%,
    rgba(255, 255, 255, 0.025) 100%
  );
}

.dt-price-card.is-empty {
  opacity: 0.5;
}

.dt-price-card-top {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.dt-price-card-ico {
  display: inline-flex;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

.dt-price-card-ico .dt-store-ico,
.dt-store-ico {
  display: block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  vertical-align: middle;
}

.dt-price-card-title {
  font-size: 12px;
  font-weight: 650;
  color: var(--muted);
  white-space: nowrap;
}

.dt-price-card-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.16);
  flex-shrink: 0;
}

.dt-price-card-store {
  margin-left: auto;
  font-size: 11px;
  font-weight: 600;
  color: var(--soft);
  white-space: nowrap;
  max-width: 42%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dt-price-card-mid {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}

.dt-price-card-off {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(180deg, #34d399 0%, #16a34a 100%);
  border: 1px solid rgba(22, 163, 74, 0.4);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.16) inset;
  flex-shrink: 0;
}

.dt-price-card-prices {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
  min-width: 0;
  text-align: right;
  line-height: 1.15;
}

.dt-price-card-orig {
  font-size: 11px;
  color: var(--soft);
  text-decoration: line-through;
}

.dt-price-card-now {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #60a5fa;
}

.dt-price-card.is-highlight .dt-price-card-now {
  color: #3b82f6;
  font-size: 22px;
}

.dt-price-card-date {
  font-size: 10px;
  color: var(--soft);
  line-height: 1.2;
}

.dt-price-xl {
  font-size: 28px;
  font-weight: 800;
  color: var(--strong);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 12px 0 2px;
}

.dt-price-xl.is-good { color: var(--green); }

.dt-best-line {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
}

.dt-best-line b { color: var(--strong); }

.dt-cross-hint {
  margin-top: 10px;
  padding: 9px 11px;
  border-radius: 9px;
  border: 1px solid rgba(251, 191, 36, 0.22);
  background: rgba(251, 191, 36, 0.06);
  font-size: 12px;
  color: #e8d5a4;
  line-height: 1.45;
}

.dt-cross-hint button {
  margin-left: 6px;
  border: 0;
  background: transparent;
  color: var(--amber);
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}

/* 侧栏两卡：建议 / 价格购买（各自独立 panel，对齐同一宽度） */
.dt-decision-stack {
  position: sticky;
  top: 72px;
  align-self: start;
  width: 100%;
  gap: 12px;
}

.dt-decision {
  padding: 16px;
  width: 100%;
  box-sizing: border-box;
  position: static;
}

.dt-decision .kicker {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--soft);
  font-weight: 700;
  margin: 0 0 12px;
}

.dt-decision .score-title {
  margin: 10px 0 6px;
  font-size: 17px;
  color: var(--strong);
  font-weight: 750;
}

.dt-decision .score-desc {
  margin: 0 0 12px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
}

/* 上卡：购买建议 */
.dt-decision-advice.is-good {
  box-shadow:
    0 0 0 1px rgba(16, 185, 129, 0.22),
    0 18px 40px -28px rgba(16, 185, 129, 0.35);
}

.dt-decision-advice.is-good .score-title {
  color: #6ee7b7;
}

.dt-decision-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
}

.dt-decision-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  width: 100%;
}

.dt-decision-chip {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.3;
  color: #a7f3d0;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.28);
}

.dt-decision-advice.is-soft .dt-decision-chip {
  color: #bfdbfe;
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.24);
}

.dt-decision-reason {
  margin: 0 0 12px !important;
  font-size: 13px !important;
  line-height: 1.65 !important;
  color: var(--muted) !important;
}

.dt-decision-remind {
  list-style: none;
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.dt-decision-remind li {
  position: relative;
  padding: 3px 0 3px 14px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--soft);
}

.dt-decision-remind li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(61, 139, 253, 0.75);
}

/* 下卡：最低价购买 */
.dt-decision-price-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 10px;
}

.dt-decision-price-main {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.dt-decision-price-label {
  font-size: 11px;
  color: var(--soft);
  font-weight: 600;
}

.dt-decision-price-num {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #3dd68c;
}

.dt-decision-price-store {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 650;
  color: var(--muted);
  text-align: right;
  padding-bottom: 3px;
}

.dt-decision-buy .dt-kv {
  margin: 0 0 12px;
}

.dt-decision-foot {
  margin: 10px 0 0;
  font-size: 11px;
  line-height: 1.45;
  color: var(--soft);
}

.dt-decision .dt-btn.is-disabled,
.dt-decision .dt-btn[aria-disabled="true"] {
  opacity: 0.55;
  pointer-events: none;
  cursor: not-allowed;
}

.dt-kv {
  display: grid;
  gap: 0;
  margin: 0 0 14px;
  font-size: 12px;
}

.dt-kv div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.dt-kv div:last-child { border-bottom: 0; }
.dt-kv span { color: var(--muted); }
.dt-kv b { color: var(--strong); text-align: right; font-weight: 650; }

.dt-decision .dt-btn { width: 100%; margin-bottom: 8px; }
.dt-decision .dt-btn:last-of-type { margin-bottom: 0; }

.dt-note {
  font-size: 12px;
  color: var(--soft);
  line-height: 1.5;
  padding: 12px 14px;
}

/* —— Free / demo list rows (legacy, still usable) —— */
.dt-list-rows {
  display: grid;
  gap: 0;
}

.dt-row-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.dt-list-rows .dt-row-card:first-child { padding-top: 4px; }
.dt-list-rows .dt-row-card:last-child {
  border-bottom: 0;
  padding-bottom: 4px;
}

.dt-row-card img {
  width: 96px;
  height: 45px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: #000;
}

.dt-row-card h3 {
  margin: 0 0 2px;
  font-size: 13px;
  font-weight: 650;
  color: var(--strong);
  line-height: 1.3;
}

.dt-row-card p {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dt-row-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 5px;
}

.dt-pill {
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  border: 1px solid var(--line);
  line-height: 1.3;
}

.dt-pill.is-urgent {
  color: #fca5a5;
  border-color: rgba(248, 113, 113, 0.3);
  background: rgba(248, 113, 113, 0.1);
}

/* Compact side preview rows */
.dt-row-card.is-compact {
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 10px;
  padding: 10px 0;
}

.dt-row-card.is-compact img {
  width: 72px;
  height: 34px;
}

.dt-row-card.is-compact p { display: none; }

.dt-row-card.is-compact .dt-row-meta {
  margin-top: 3px;
}

/* Page hero slim for free/demos */
.dt-page-hero {
  margin-bottom: 14px;
}

.dt-page-hero .kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--soft);
  margin-bottom: 6px;
}

.dt-page-hero h1 {
  margin: 0 0 4px;
  font-size: 22px;
  color: var(--strong);
  letter-spacing: -0.03em;
}

.dt-page-hero p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.dt-stats {
  display: flex;
  gap: 14px;
  margin-top: 8px;
  font-size: 12px;
  color: var(--soft);
}

/* —— Home dual-entry layout —— */
.dt-home-hero {
  padding: 8px 0 4px;
  margin-bottom: 4px;
}

.dt-home-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.dt-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-ink);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 10px;
}

.dt-eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.18);
}

.dt-home-intro h1 {
  margin: 0;
  font-size: clamp(24px, 3.2vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: var(--strong);
  font-weight: 800;
}

.dt-home-intro h1 b {
  color: var(--blue-2);
  font-weight: 800;
}

.dt-home-intro > div > p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  max-width: 48ch;
  line-height: 1.55;
}

.dt-hero-stats {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.dt-hero-stat {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 16px;
  min-width: 100px;
  box-shadow: var(--shadow);
}

.dt-hero-stat b {
  display: block;
  font-size: 20px;
  color: var(--strong);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-family: var(--mono);
}

.dt-hero-stat span {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}

/* Carousel */
.dt-carousel {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0a0e16;
  min-height: 360px;
  box-shadow: var(--shadow);
}

.dt-carousel-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.22, 0.8, 0.28, 1);
  will-change: transform;
}

.dt-slide {
  position: relative;
  flex: 0 0 100%;
  min-height: 360px;
  color: #fff;
  isolation: isolate;
}

.dt-slide-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.dt-slide-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  filter: saturate(1.08);
}

.dt-slide-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(6, 10, 18, 0.92) 0%, rgba(6, 10, 18, 0.66) 42%, rgba(6, 10, 18, 0.28) 72%, rgba(6, 10, 18, 0.4) 100%),
    linear-gradient(0deg, rgba(6, 10, 18, 0.55), transparent 48%);
}

.dt-slide-content {
  position: relative;
  z-index: 1;
  min-height: 360px;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 20px;
  padding: 36px 40px 48px;
  align-items: end;
}

.dt-slide-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
  backdrop-filter: blur(8px);
  color: #93c5fd;
}

.dt-slide-kicker.is-free { color: #6ee7b7; }
.dt-slide-kicker.is-demo { color: #fcd34d; }

.dt-slide h2 {
  margin: 0 0 10px;
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.12;
  letter-spacing: -0.04em;
  max-width: 14ch;
  text-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  font-weight: 800;
}

.dt-slide-desc {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  max-width: 42ch;
  line-height: 1.55;
}

.dt-slide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.dt-btn-glass {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
}

.dt-btn-glass:hover {
  background: rgba(255, 255, 255, 0.16);
}

.dt-slide-price {
  justify-self: end;
  width: min(260px, 100%);
  background: rgba(10, 14, 22, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 16px;
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.dt-slide-price .label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.62);
  font-weight: 600;
  margin-bottom: 6px;
}

.dt-slide-price .now {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--green);
  font-variant-numeric: tabular-nums;
  font-family: var(--mono);
  line-height: 1;
  margin-bottom: 6px;
}

.dt-slide-price .now.is-free {
  color: #6ee7b7;
  font-size: 26px;
}

.dt-slide-price .meta-line {
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
}

.dt-slide-price .off {
  display: inline-block;
  background: #ef4444;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 7px;
  margin-left: 8px;
}

.dt-slide-price .stores {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0 0;
}

.dt-slide-price .store {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.78);
}

.dt-slide-price .store.best {
  background: rgba(52, 211, 153, 0.16);
  border-color: rgba(52, 211, 153, 0.28);
  color: #6ee7b7;
}

.dt-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(10, 14, 22, 0.45);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: 0.15s ease;
  padding: 0;
}

.dt-carousel-arrow:hover {
  background: rgba(59, 130, 246, 0.85);
  border-color: transparent;
}

.dt-carousel-arrow.prev { left: 12px; }
.dt-carousel-arrow.next { right: 12px; }
.dt-carousel-arrow svg { width: 18px; height: 18px; }

.dt-carousel-dots {
  position: absolute;
  left: 36px;
  bottom: 16px;
  z-index: 3;
  display: flex;
  gap: 8px;
}

.dt-carousel-dots button {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  padding: 0;
  transition: 0.2s ease;
}

.dt-carousel-dots button.is-active {
  width: 22px;
  background: #fff;
}

/* Path entry cards */
.dt-path-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.dt-path-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(24, 30, 42, 0.95), rgba(18, 23, 34, 0.92));
  box-shadow: var(--shadow);
  transition: 0.18s ease;
}

.dt-path-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
}

.dt-path-card .ico {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.dt-path-card.compare .ico {
  background: var(--blue-soft);
  color: var(--blue-2);
}

.dt-path-card.free .ico {
  background: var(--green-soft);
  color: var(--green);
}

.dt-path-card.demo .ico {
  background: var(--amber-soft);
  color: var(--amber);
}

.dt-path-card .ico svg { width: 20px; height: 20px; }

.dt-path-card h3 {
  margin: 0 0 2px;
  font-size: 15px;
  color: var(--strong);
  letter-spacing: -0.02em;
}

.dt-path-card p {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}

.dt-path-card .go {
  margin-left: auto;
  color: var(--soft);
  font-size: 18px;
  transition: 0.15s ease;
}

.dt-path-card:hover .go {
  color: var(--blue-2);
  transform: translateX(2px);
}

/* Section block with accent top */
.dt-section-block {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-top: 16px;
}

.dt-section-block.is-compare { border-top: 3px solid var(--blue); }
.dt-section-block.is-free { border-top: 3px solid var(--green); }
.dt-section-block.is-demo { border-top: 3px solid var(--amber); }

.dt-sec-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px 4px;
  flex-wrap: wrap;
}

.dt-sec-head .ico {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.dt-sec-head .ico.compare { background: var(--blue-soft); color: var(--blue-2); }
.dt-sec-head .ico.free { background: var(--green-soft); color: var(--green); }
.dt-sec-head .ico.demo { background: var(--amber-soft); color: var(--amber); }
.dt-sec-head .ico svg { width: 18px; height: 18px; }

.dt-sec-head h2 {
  margin: 0;
  font-size: 18px;
  color: var(--strong);
  letter-spacing: -0.02em;
}

.dt-sec-head .sub {
  color: var(--muted);
  font-size: 13px;
}

.dt-sec-head .more {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 2px;
  color: var(--blue-ink);
  font-size: 13px;
  font-weight: 600;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  text-decoration: none;
  transition: color 0.15s ease, gap 0.15s ease;
}
.dt-sec-head .more:hover {
  color: var(--strong);
  gap: 8px;
}
.dt-sec-head .more .more-arrow {
  opacity: 0.7;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.dt-sec-head .more:hover .more-arrow {
  transform: translateX(2px);
  opacity: 1;
}

.dt-section-block.is-free .dt-sec-head .more,
.dt-section-block.is-demo .dt-sec-head .more {
  color: var(--blue-ink);
}

/* —— Product cards (free / demo / home deals) —— */
.dt-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 14px 20px 20px;
}

.dt-product-grid.is-dense {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dt-product-grid.is-page {
  padding: 0;
}

.dt-product-card {
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #171e2c, #121722);
  overflow: hidden;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
  min-height: 100%;
}

.dt-product-card:hover {
  border-color: rgba(59, 130, 246, 0.28);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  transform: translateY(-2px);
}

.dt-product-card.is-free:hover {
  border-color: rgba(52, 211, 153, 0.3);
}

.dt-product-card.is-demo:hover {
  border-color: rgba(251, 191, 36, 0.3);
}

.dt-product-cover {
  position: relative;
  display: block;
  aspect-ratio: 460 / 215;
  background: #000;
  overflow: hidden;
}

.dt-product-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.dt-product-card:hover .dt-product-cover img {
  transform: scale(1.04);
}

.dt-product-tag {
  position: absolute;
  left: 8px;
  top: 8px;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  padding: 4px 8px;
  border-radius: 7px;
  letter-spacing: 0.01em;
  z-index: 1;
}

.dt-product-tag.is-off {
  background: linear-gradient(135deg, #ef4444, #dc2626);
}

.dt-product-tag.is-free {
  background: linear-gradient(135deg, #10b981, #059669);
}

.dt-product-tag.is-demo {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

.dt-product-tag.is-urgent {
  background: linear-gradient(135deg, #f43f5e, #e11d48);
}

/* 右上角 45° 斜角标（免费试玩等） */
.dt-product-ribbon {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  width: 96px;
  height: 96px;
  overflow: hidden;
  pointer-events: none;
}

.dt-product-ribbon span {
  position: absolute;
  top: 18px;
  right: -28px;
  width: 120px;
  padding: 5px 0;
  text-align: center;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.35);
  transform: rotate(45deg);
  line-height: 1.2;
  white-space: nowrap;
}

.dt-product-ribbon.is-play span {
  background: linear-gradient(135deg, #fbbf24, #f59e0b 45%, #d97706);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}

.dt-product-ribbon.is-claim span {
  background: linear-gradient(135deg, #34d399, #10b981 45%, #059669);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}

.dt-product-ribbon.is-claim.is-urgent span {
  background: linear-gradient(135deg, #fb7185, #f43f5e 45%, #e11d48);
}

.dt-product-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  flex: 1;
  min-width: 0;
}

/* 游戏名上方的好评率色块 */
.dt-rating-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
  border: 1px solid transparent;
}

.dt-rating-chip::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 22%, transparent);
  flex-shrink: 0;
}

.dt-rating-chip .pct {
  font-family: var(--mono);
  font-size: 13px;
}

.dt-rating-chip .lbl {
  font-weight: 700;
  opacity: 0.88;
  font-size: 11px;
}

/* 好评率档位色 */
.dt-rating-chip.is-s {
  color: #6ee7b7;
  background: rgba(52, 211, 153, 0.12);
  border-color: rgba(52, 211, 153, 0.28);
}

.dt-rating-chip.is-a {
  color: #93c5fd;
  background: rgba(59, 130, 246, 0.12);
  border-color: rgba(59, 130, 246, 0.28);
}

.dt-rating-chip.is-b {
  color: #fcd34d;
  background: rgba(251, 191, 36, 0.12);
  border-color: rgba(251, 191, 36, 0.28);
}

.dt-rating-chip.is-c {
  color: #fca5a5;
  background: rgba(248, 113, 113, 0.12);
  border-color: rgba(248, 113, 113, 0.28);
}

.dt-product-body h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--strong);
  letter-spacing: -0.015em;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dt-product-body h3 a:hover { color: var(--blue-2); }

.dt-product-summary {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dt-product-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
}

.dt-product-price .now {
  font-size: 20px;
  font-weight: 800;
  color: var(--green);
  font-variant-numeric: tabular-nums;
  font-family: var(--mono);
  letter-spacing: -0.02em;
}

.dt-product-price .now.is-zero {
  color: #6ee7b7;
}

.dt-product-price .old {
  font-size: 12px;
  color: var(--soft);
  text-decoration: line-through;
  font-variant-numeric: tabular-nums;
}

.dt-product-price .worth {
  font-size: 12px;
  color: var(--soft);
}

.dt-product-stores {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.dt-store-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
}

.dt-store-pill.best {
  border-color: rgba(52, 211, 153, 0.28);
  background: var(--green-soft);
  color: var(--green);
}

.dt-product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.dt-product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 4px;
}

.dt-product-foot .hint {
  font-size: 12px;
  color: var(--soft);
}

.dt-product-foot .hint b {
  color: var(--strong);
  font-weight: 650;
}

.dt-product-foot .dt-btn {
  flex-shrink: 0;
}

.dt-product-foot .dt-btn {
  flex-shrink: 0;
}

/* Free/demo page shell — richer hero band */
.dt-page-hero.is-rich {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  padding: 22px 24px 22px 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(520px 200px at 100% -20%, rgba(52, 211, 153, 0.16), transparent 55%),
    radial-gradient(360px 160px at 0% 120%, rgba(59, 130, 246, 0.08), transparent 50%),
    linear-gradient(135deg, #151b28 0%, #121722 48%, #10161f 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 16px 40px rgba(0, 0, 0, 0.22);
}

/* 左侧竖色条已取消（低价榜 / 免费领取 / Demo 页头不再使用） */
.dt-page-hero.is-rich::before {
  content: none;
  display: none;
}

.dt-page-hero.is-rich::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(90deg, transparent, #000 20%, #000 70%, transparent);
}

.dt-page-hero.is-rich.is-demo {
  background:
    radial-gradient(520px 200px at 100% -20%, rgba(251, 191, 36, 0.18), transparent 55%),
    radial-gradient(360px 160px at 0% 120%, rgba(245, 158, 11, 0.08), transparent 50%),
    linear-gradient(135deg, #1a1710 0%, #151b28 45%, #121722 100%);
}

.dt-page-hero.is-rich.is-demo::before {
  content: none;
  display: none;
}

.dt-page-hero.is-rich > * {
  position: relative;
  z-index: 1;
}

.dt-page-hero.is-rich .hero-main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
  flex: 1;
}

/* 图标只与大标题同一行，垂直居中 */
.dt-page-hero.is-rich .hero-title-row {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.dt-page-hero.is-rich .hero-title-row h1 {
  margin: 0;
}

.dt-page-hero.is-rich .hero-ico {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border: 1px solid rgba(52, 211, 153, 0.28);
  background:
    linear-gradient(145deg, rgba(52, 211, 153, 0.18), rgba(16, 185, 129, 0.06));
  color: #6ee7b7;
  box-shadow:
    0 0 0 4px rgba(52, 211, 153, 0.08),
    0 10px 24px rgba(16, 185, 129, 0.12);
}

.dt-page-hero.is-rich.is-demo .hero-ico {
  border-color: rgba(251, 191, 36, 0.3);
  background:
    linear-gradient(145deg, rgba(251, 191, 36, 0.2), rgba(217, 119, 6, 0.06));
  color: #fcd34d;
  box-shadow:
    0 0 0 4px rgba(251, 191, 36, 0.08),
    0 10px 24px rgba(217, 119, 6, 0.14);
}

.dt-page-hero.is-rich .hero-ico svg {
  width: 24px;
  height: 24px;
}

/* kicker / 副文案与标题文字左缘对齐（图标占 48 + gap 14） */
.dt-page-hero.is-rich .hero-main > .kicker,
.dt-page-hero.is-rich .hero-main > p {
  margin-left: 62px;
}

.dt-page-hero.is-rich .kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6ee7b7;
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.22);
}

.dt-page-hero.is-rich.is-demo .kicker {
  color: #fcd34d;
  background: rgba(251, 191, 36, 0.1);
  border-color: rgba(251, 191, 36, 0.24);
}

.dt-page-hero.is-rich .kicker .pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 22%, transparent);
}

.dt-page-hero.is-rich h1 {
  margin: 0 0 6px;
  font-size: clamp(24px, 3.2vw, 32px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.15;
  color: var(--strong);
}

.dt-page-hero.is-rich h1 em {
  font-style: normal;
  background: linear-gradient(120deg, #6ee7b7, #34d399 40%, #93c5fd);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.dt-page-hero.is-rich.is-demo h1 em {
  background: linear-gradient(120deg, #fde68a, #fbbf24 45%, #fb923c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.dt-page-hero.is-rich p {
  margin: 0;
  max-width: 48ch;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
}

.dt-page-hero.is-rich .dt-hero-stats {
  margin: 0;
  gap: 10px;
}

.dt-page-hero.is-rich .dt-hero-stat {
  position: relative;
  min-width: 108px;
  padding: 12px 16px 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 12, 20, 0.45);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.dt-page-hero.is-rich .dt-hero-stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--green);
}

.dt-page-hero.is-rich .dt-hero-stat.is-warn::before {
  background: #f87171;
}

.dt-page-hero.is-rich.is-demo .dt-hero-stat::before {
  background: #fbbf24;
}

.dt-page-hero.is-rich.is-demo .dt-hero-stat.is-accent::before {
  background: #34d399;
}

.dt-page-hero.is-rich .dt-hero-stat b {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--strong);
  background: linear-gradient(180deg, #f8fafc, #cbd5e1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.dt-page-hero.is-rich .dt-hero-stat.is-warn b {
  background: linear-gradient(180deg, #fecaca, #f87171);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.dt-page-hero.is-rich.is-demo .dt-hero-stat.is-accent b {
  background: linear-gradient(180deg, #6ee7b7, #34d399);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.dt-page-hero.is-rich .dt-hero-stat span {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--soft);
}

@media (max-width: 980px) {
  .dt-grid-2,
  .dt-grid-detail {
    grid-template-columns: 1fr;
  }

  .dt-decision-stack { position: static; }
  .dt-decision { position: static; }

  .dt-detail-hero-top {
    grid-template-columns: 1fr;
  }

  .dt-detail-hero-left {
    max-width: 520px;
  }

  .dt-cover {
    height: auto;
    min-height: 0;
  }

  .dt-price-cards {
    grid-template-columns: 1fr;
  }

  .dt-search { display: none; }

  .dt-slide-content {
    grid-template-columns: 1fr;
    align-items: start;
    padding: 28px 22px 56px;
  }

  .dt-slide-price { justify-self: start; width: min(300px, 100%); }

  .dt-product-grid,
  .dt-product-grid.is-dense {
    grid-template-columns: 1fr 1fr;
  }

  .dt-path-row {
    grid-template-columns: 1fr;
  }

  .dt-carousel-dots { left: 22px; }
}

@media (max-width: 640px) {
  .dt-wrap { width: calc(100% - 24px); }

  .dt-hero { padding: 20px 16px; }

  .dt-row-card {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .dt-row-card img {
    width: 72px;
    height: 34px;
  }

  .dt-row-card .dt-btn {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .dt-nav a {
    padding: 6px 8px;
    font-size: 12px;
  }

  .dt-product-grid,
  .dt-product-grid.is-dense {
    grid-template-columns: 1fr;
    padding: 12px 14px 16px;
  }

  .dt-carousel,
  .dt-slide,
  .dt-slide-content {
    min-height: 400px;
  }

  .dt-carousel-arrow { display: none; }

  .dt-hero-stats { width: 100%; }
  .dt-hero-stat { flex: 1; min-width: 0; }

  .dt-page-hero.is-rich {
    padding: 18px 16px;
    align-items: flex-start;
  }

  .dt-page-hero.is-rich .hero-main {
    width: 100%;
  }

  .dt-page-hero.is-rich .dt-hero-stats {
    width: 100%;
  }

  .dt-page-hero.is-rich .dt-hero-stat {
    flex: 1;
  }
}
