@charset "utf-8";
/* ==========================================================================
   鼎上娱乐 · components.css
   组件：按钮 / 首屏控制台 / 数字块 / 规格表 / 步骤 / 时间线 / 问答 / 表单 / 长文
   视觉约束：直角、1px 细线、无投影，靠版式与留白建立层级
   ========================================================================== */

/* ---------- 按钮 ---------- */
.ds-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 22px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  transition: background 0.22s var(--ease), color 0.22s var(--ease),
    border-color 0.22s var(--ease), transform 0.22s var(--ease);
}

.ds-btn::after {
  content: "→";
  font-family: var(--mono);
  font-size: 0.9em;
  transition: transform 0.22s var(--ease);
}

.ds-btn:hover {
  transform: translateY(-1px);
}

.ds-btn:hover::after {
  transform: translateX(3px);
}

.ds-btn--primary {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.ds-btn--primary:hover {
  background: var(--blue-deep);
  border-color: var(--blue-deep);
}

.ds-btn--solid {
  background: var(--ink);
  color: #fff;
}

.ds-btn--solid:hover {
  background: var(--blue);
  border-color: var(--blue);
}

.ds-btn--ghost {
  border-color: var(--line-2);
  color: var(--ink-2);
}

.ds-btn--ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.ds-btn--lime {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink);
}

.ds-btn--lime:hover {
  background: #e6fb8b;
  border-color: #e6fb8b;
}

.ds-btn--sm {
  min-height: 38px;
  padding: 0 16px;
  font-size: 0.8rem;
}

.ds-acts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.ds-arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--blue);
  border-bottom: 1px solid rgba(27, 70, 240, 0.32);
  padding-bottom: 2px;
}

.ds-arrow-link::after {
  content: "→";
  font-family: var(--mono);
  transition: transform 0.22s var(--ease);
}

.ds-arrow-link:hover::after {
  transform: translateX(4px);
}

/* ---------- 页面页眉 ---------- */
.ds-masthead {
  padding: 58px 0 44px;
  border-bottom: 1px solid var(--line);
}

.ds-masthead__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  margin-bottom: 22px;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.ds-masthead__meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ds-masthead__meta span::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--blue);
}

.ds-masthead h1 {
  max-width: 900px;
}

.ds-masthead__lead {
  max-width: 760px;
  margin-top: 20px;
  font-size: 1rem;
  line-height: 1.9;
  color: var(--ink-3);
}

.ds-masthead__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.ds-tag {
  display: inline-block;
  padding: 4px 10px;
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  border: 1px solid var(--line-2);
  background: var(--surface);
}

/* ---------- 首屏 ---------- */
.ds-hero {
  position: relative;
  padding: 62px 0 64px;
  overflow: hidden;
}

.ds-hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto auto;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle at center, rgba(27, 70, 240, 0.13), transparent 64%);
  pointer-events: none;
}

.ds-hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 56px;
  align-items: start;
}

.ds-hero h1 {
  margin-top: 18px;
}

.ds-hero h1 em {
  font-style: normal;
  position: relative;
  color: var(--blue);
  white-space: nowrap;
  padding: 0 0.06em;
  background-image: linear-gradient(
    180deg,
    transparent 70%,
    var(--lime) 70%,
    var(--lime) 92%,
    transparent 92%
  );
}

.ds-hero__lead {
  margin-top: 24px;
  max-width: 560px;
  font-size: 1.04rem;
  line-height: 1.9;
  color: var(--ink-3);
}

.ds-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 38px;
  border-top: 1px solid var(--line-2);
}

.ds-hero__stats div {
  padding: 16px 18px 0 0;
}

.ds-hero__stats div + div {
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.ds-hero__stats b {
  display: block;
  font-size: 1.5rem;
  font-weight: 620;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.ds-hero__stats span {
  display: block;
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: var(--muted);
}

/* ---------- 控制台视觉（纯 CSS/SVG，无位图） ---------- */
.ds-console {
  position: relative;
  background: #0a1019;
  border: 1px solid #22303f;
  color: #d9e2d2;
  padding: 0;
  overflow: hidden;
}

.ds-console::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(233, 237, 226, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(233, 237, 226, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.ds-console__bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  border-bottom: 1px solid #22303f;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: rgba(233, 237, 226, 0.5);
}

.ds-console__bar i {
  width: 7px;
  height: 7px;
  background: #33475c;
}

.ds-console__bar i:first-child {
  background: var(--lime);
}

.ds-console__bar b {
  margin-left: auto;
  font-weight: 500;
  color: rgba(233, 237, 226, 0.72);
}

.ds-console__body {
  position: relative;
  padding: 18px 16px 20px;
  font-family: var(--mono);
  font-size: 0.7rem;
  line-height: 1.9;
}

.ds-log {
  display: flex;
  gap: 10px;
  padding: 3px 0;
  color: rgba(233, 237, 226, 0.62);
}

.ds-log time {
  color: rgba(233, 237, 226, 0.34);
}

.ds-log b {
  margin-left: auto;
  font-weight: 500;
  color: var(--lime);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
}

.ds-console__divider {
  margin: 14px 0 12px;
  height: 1px;
  background: #22303f;
}

.ds-meter {
  display: grid;
  grid-template-columns: 88px 1fr 42px;
  align-items: center;
  gap: 10px;
  padding: 4px 0;
  font-size: 0.62rem;
  color: rgba(233, 237, 226, 0.56);
}

.ds-meter span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ds-meter i {
  display: block;
  height: 4px;
  background: #1c2836;
}

.ds-meter i em {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--blue), #4d7bff);
}

.ds-meter b {
  font-weight: 500;
  text-align: right;
  color: rgba(233, 237, 226, 0.8);
}

.ds-console__foot {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-top: 1px solid #22303f;
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  color: rgba(233, 237, 226, 0.4);
}

.ds-console__foot b {
  color: var(--lime);
  font-weight: 500;
}

/* ---------- 图块 ---------- */
.ds-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 22px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color 0.24s var(--ease), background 0.24s var(--ease),
    transform 0.24s var(--ease);
}

.ds-tile::before {
  content: "";
  position: absolute;
  left: -1px;
  top: -1px;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: width 0.32s var(--ease);
}

.ds-tile:hover {
  border-color: var(--line-2);
  background: #fff;
  transform: translateY(-2px);
}

.ds-tile:hover::before {
  width: calc(100% + 2px);
}

.ds-tile__idx {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: var(--blue);
}

.ds-tile__title {
  font-size: 1.02rem;
  font-weight: 620;
  letter-spacing: -0.01em;
  line-height: 1.4;
}

.ds-tile__text {
  font-size: 0.85rem;
  line-height: 1.8;
  color: var(--ink-3);
}

.ds-tile__more {
  margin-top: auto;
  padding-top: 8px;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
}

.ds-tile:hover .ds-tile__more {
  color: var(--blue);
}

.ds-tile--dark {
  background: #131c28;
  border-color: #263444;
  color: #e9ede2;
}

.ds-tile--dark .ds-tile__text {
  color: rgba(233, 237, 226, 0.62);
}

.ds-tile--dark:hover {
  background: #16212f;
  border-color: #3a4d62;
}

/* ---------- 数字块 ---------- */
.ds-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line-2);
  border-left: 1px solid var(--line);
}

.ds-stats > div {
  padding: 26px 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.ds-stats b {
  display: block;
  font-size: 2rem;
  font-weight: 620;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.ds-stats b small {
  font-size: 0.9rem;
  font-weight: 500;
  margin-left: 2px;
}

.ds-stats span {
  display: block;
  margin-top: 8px;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ---------- 规格清单 ---------- */
.ds-spec {
  border-top: 1px solid var(--line);
}

.ds-spec__row {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.ds-spec__row dt {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 2px;
}

.ds-spec__row dd {
  font-size: 0.9rem;
  line-height: 1.78;
  color: var(--ink-2);
}

.ds-sec--dark .ds-spec,
.ds-sec--dark .ds-spec__row {
  border-color: var(--line-ink);
}

.ds-sec--dark .ds-spec__row dd {
  color: rgba(233, 237, 226, 0.78);
}

/* ---------- 步骤 ---------- */
.ds-steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line-2);
}

.ds-steps li {
  position: relative;
  counter-increment: step;
  padding: 22px 22px 22px 0;
  border-right: 1px solid var(--line);
}

.ds-steps li:last-child {
  border-right: 0;
}

.ds-steps li::before {
  content: "0" counter(step);
  display: block;
  margin-bottom: 12px;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  color: var(--blue);
}

.ds-steps h3 {
  font-size: 0.98rem;
  margin-bottom: 8px;
}

.ds-steps p {
  font-size: 0.84rem;
  line-height: 1.78;
  color: var(--ink-3);
}

.ds-steps li + li {
  padding-left: 22px;
}

/* ---------- 时间线 ---------- */
.ds-timeline {
  position: relative;
  padding-left: 26px;
  border-left: 1px solid var(--line-2);
}

.ds-timeline li {
  position: relative;
  padding: 0 0 26px 0;
}

.ds-timeline li:last-child {
  padding-bottom: 0;
}

.ds-timeline li::before {
  content: "";
  position: absolute;
  left: -31px;
  top: 8px;
  width: 9px;
  height: 9px;
  background: var(--paper);
  border: 1px solid var(--blue);
}

.ds-timeline time {
  display: block;
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  color: var(--blue);
  margin-bottom: 4px;
}

.ds-timeline b {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.ds-timeline p {
  font-size: 0.84rem;
  line-height: 1.78;
  color: var(--ink-3);
}

/* ---------- 表格 ---------- */
.ds-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: var(--surface);
}

.ds-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
  min-width: 620px;
}

.ds-table caption {
  padding: 14px 18px;
  text-align: left;
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.ds-table th,
.ds-table td {
  padding: 13px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.ds-table th {
  font-weight: 600;
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  background: rgba(223, 224, 214, 0.28);
  white-space: nowrap;
}

.ds-table td {
  color: var(--ink-3);
}

.ds-table tbody tr:last-child th,
.ds-table tbody tr:last-child td {
  border-bottom: 0;
}

/* ---------- 提示块 ---------- */
.ds-callout {
  padding: 20px 22px;
  background: var(--blue-soft);
  border-left: 3px solid var(--blue);
  font-size: 0.88rem;
  line-height: 1.82;
  color: var(--ink-2);
}

.ds-callout b {
  color: var(--ink);
}

.ds-callout--plain {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--ink);
}

.ds-quote {
  padding: 6px 0 6px 24px;
  border-left: 2px solid var(--line-2);
  font-size: 1.02rem;
  line-height: 1.9;
  color: var(--ink-2);
}

.ds-quote footer {
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  color: var(--muted);
}

/* ---------- 问答 ---------- */
.ds-faq {
  border-top: 1px solid var(--line-2);
}

.ds-faq details {
  border-bottom: 1px solid var(--line);
}

.ds-faq summary {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 0;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.ds-faq summary::-webkit-details-marker {
  display: none;
}

.ds-faq summary::after {
  content: "+";
  margin-left: auto;
  font-family: var(--mono);
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1;
  color: var(--blue);
}

.ds-faq details[open] summary::after {
  content: "–";
}

.ds-faq summary i {
  font-family: var(--mono);
  font-style: normal;
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  padding-top: 6px;
}

.ds-faq__a {
  padding: 0 0 20px 32px;
  font-size: 0.88rem;
  line-height: 1.88;
  color: var(--ink-3);
}

/* ---------- 深色 CTA 区 ---------- */
.ds-band {
  position: relative;
  background: var(--ink);
  color: #eef2e6;
  padding: 56px 0;
  overflow: hidden;
}

.ds-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 120% at 88% 10%, rgba(27, 70, 240, 0.4), transparent 60%);
  pointer-events: none;
}

.ds-band__in {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
}

.ds-band h2 {
  max-width: 620px;
  font-size: clamp(1.6rem, 2.8vw, 2.3rem);
}

.ds-band p {
  margin-top: 12px;
  max-width: 540px;
  font-size: 0.92rem;
  line-height: 1.85;
  color: rgba(238, 242, 230, 0.66);
}

.ds-band .ds-eyebrow {
  color: var(--lime);
}

/* ---------- 资讯卡片 ---------- */
.ds-post {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.ds-post__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
}

.ds-post__title {
  font-size: 1.14rem;
  font-weight: 620;
  letter-spacing: -0.012em;
  line-height: 1.45;
}

.ds-post__title a:hover {
  color: var(--blue);
}

.ds-post__text {
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--ink-3);
}

.ds-post__tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 2px;
}

.ds-post--row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  gap: 26px;
  align-items: start;
}

.ds-post--row .ds-post__title {
  font-size: 1.04rem;
}

.ds-post__side {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-align: right;
  white-space: nowrap;
  padding-top: 3px;
}

/* ---------- 长文 ---------- */
.ds-article {
  max-width: 780px;
}

.ds-article > p {
  margin: 0 0 20px;
  font-size: 1rem;
  line-height: 1.95;
  color: var(--ink-2);
}

.ds-article > p strong {
  color: var(--ink);
  font-weight: 640;
}

.ds-article h2 {
  margin: 44px 0 16px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 1.42rem;
}

.ds-article h3 {
  margin: 30px 0 12px;
  font-size: 1.06rem;
}

.ds-article ul,
.ds-article ol {
  margin: 0 0 22px;
  padding-left: 0;
}

.ds-article ul li,
.ds-article ol li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: 0.95rem;
  line-height: 1.86;
  color: var(--ink-2);
}

.ds-article ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 7px;
  height: 1px;
  background: var(--blue);
}

/* 独立列表（ul 自身带 .ds-article 时） */
ul.ds-article {
  margin: 0 0 22px;
}

ul.ds-article > li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: 0.95rem;
  line-height: 1.86;
  color: var(--ink-2);
}

ul.ds-article > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 7px;
  height: 1px;
  background: var(--blue);
}

.ds-article ol {
  counter-reset: art;
}

.ds-article ol li {
  counter-increment: art;
}

.ds-article ol li::before {
  content: counter(art) ".";
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--mono);
  font-size: 0.76rem;
  color: var(--blue);
}

.ds-article blockquote {
  margin: 28px 0;
  padding: 20px 24px;
  background: var(--surface);
  border-left: 3px solid var(--blue);
  font-size: 0.98rem;
  line-height: 1.9;
  color: var(--ink-2);
}

.ds-article figure {
  margin: 28px 0;
}

.ds-article figcaption {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}

/* 文章内的示意图形 */
.ds-diagram {
  padding: 24px;
  background: #0f1722;
  border: 1px solid #22303f;
  color: #cfd8c8;
}

.ds-diagram__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.06em;
}

.ds-diagram__row span {
  padding: 7px 11px;
  border: 1px solid #2c3d4f;
  background: #131d29;
}

.ds-diagram__row span.is-key {
  border-color: var(--lime);
  color: var(--lime);
}

.ds-diagram__row i {
  color: #4a6076;
  font-style: normal;
}

/* ---------- 文章页头 / 分页 ---------- */
.ds-article-head {
  max-width: 820px;
  padding: 54px 0 30px;
}

.ds-article-head h1 {
  margin: 14px 0 18px;
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
}

.ds-article-head__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.ds-article-foot {
  max-width: 780px;
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--line-2);
}

.ds-pager {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
}

.ds-pager a {
  flex: 1 1 240px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 0.86rem;
}

.ds-pager a:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.ds-pager small {
  display: block;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 4px;
}

/* ---------- 筛选条 ---------- */
.ds-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 0 22px;
}

.ds-filter button {
  padding: 7px 14px;
  font-size: 0.78rem;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--ink-3);
  transition: all 0.2s var(--ease);
}

.ds-filter button:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.ds-filter button.is-on {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

/* ---------- 表单 ---------- */
.ds-form {
  display: grid;
  gap: 18px;
}

.ds-field {
  display: grid;
  gap: 7px;
}

.ds-field label {
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.ds-field label b {
  color: var(--clay);
  font-weight: 500;
}

.ds-field input,
.ds-field textarea,
.ds-field select {
  width: 100%;
  padding: 12px 14px;
  background: var(--white);
  border: 1px solid var(--line-2);
  border-radius: 0;
  font-size: 0.9rem;
  color: var(--ink);
  transition: border-color 0.2s var(--ease);
}

.ds-field input:focus,
.ds-field textarea:focus,
.ds-field select:focus {
  outline: none;
  border-color: var(--blue);
}

.ds-field textarea {
  min-height: 130px;
  resize: vertical;
}

.ds-field__hint {
  font-size: 0.72rem;
  color: var(--muted);
}

.ds-form__msg {
  min-height: 1.4em;
  font-size: 0.82rem;
  color: var(--blue);
}

.ds-form__msg.is-err {
  color: var(--clay);
}

.ds-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.78rem;
  line-height: 1.7;
  color: var(--ink-3);
}

.ds-check input {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  flex: 0 0 16px;
  accent-color: var(--blue);
}

/* ---------- 联系信息块 ---------- */
.ds-contact-list {
  border-top: 1px solid var(--line-2);
}

.ds-contact-list div {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.ds-contact-list dt {
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
  padding-top: 3px;
}

.ds-contact-list dd {
  font-size: 0.9rem;
  color: var(--ink-2);
}

.ds-contact-list dd a {
  border-bottom: 1px solid var(--line-2);
}

.ds-contact-list dd a:hover {
  color: var(--blue);
  border-color: var(--blue);
}

/* ---------- 404 ---------- */
.ds-404 {
  padding: 90px 0 100px;
}

.ds-404__code {
  font-family: var(--mono);
  font-size: clamp(4rem, 16vw, 10rem);
  line-height: 0.86;
  letter-spacing: -0.06em;
  color: var(--line-2);
}

.ds-404 h1 {
  margin: 18px 0 14px;
}

/* ---------- 进度条 ---------- */
.ds-progress {
  position: fixed;
  top: 0;
  left: var(--rail-w);
  right: 0;
  height: 2px;
  background: transparent;
  z-index: 90;
  pointer-events: none;
}

.ds-progress i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--blue);
}

/* ---------- 组件响应式 ---------- */
@media (max-width: 1180px) {
  .ds-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ds-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ds-steps li:nth-child(2n) {
    border-right: 0;
    padding-left: 22px;
  }
  .ds-steps li:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 980px) {
  .ds-hero__grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .ds-hero {
    padding-top: 46px;
  }
  .ds-hero__lead {
    max-width: none;
  }
  .ds-console {
    max-width: 560px;
  }
  .ds-post--row {
    grid-template-columns: 120px minmax(0, 1fr);
  }
  .ds-post--row .ds-post__side {
    display: none;
  }
}

@media (max-width: 700px) {
  .ds-hero {
    padding: 40px 0 48px;
  }
  .ds-hero__stats {
    margin-top: 28px;
  }
  .ds-hero__stats div {
    padding: 13px 10px 0 0;
  }
  .ds-hero__stats div + div {
    padding-left: 10px;
  }
  .ds-hero__stats b {
    font-size: 1.14rem;
  }
  .ds-hero__stats span {
    font-size: 0.55rem;
    letter-spacing: 0.03em;
  }
  .ds-stats {
    grid-template-columns: 1fr;
  }
  .ds-steps {
    grid-template-columns: 1fr;
  }
  .ds-steps li,
  .ds-steps li + li,
  .ds-steps li:nth-child(2n) {
    padding: 18px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .ds-steps li:last-child {
    border-bottom: 0;
  }
  .ds-spec__row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 13px 0;
  }
  .ds-post--row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .ds-masthead {
    padding: 40px 0 32px;
  }
  .ds-masthead__lead,
  .ds-hero__lead {
    font-size: 0.96rem;
  }
  .ds-btn {
    width: 100%;
  }
  .ds-acts .ds-btn {
    flex: 1 1 100%;
  }
  .ds-band {
    padding: 42px 0;
  }
  .ds-progress {
    left: 0;
  }
  .ds-article > p {
    font-size: 0.96rem;
  }
  .ds-article .ds-table {
    min-width: 0;
    font-size: 0.78rem;
  }
  .ds-article .ds-table th,
  .ds-article .ds-table td {
    padding: 10px 12px;
  }
  .ds-contact-list div {
    grid-template-columns: 1fr;
    gap: 3px;
  }
  .ds-progress {
    top: 50px;
  }
}

@media (max-width: 460px) {
  .ds-hero__stats {
    grid-template-columns: 1fr;
  }
  .ds-hero__stats div {
    padding: 12px 0 0;
  }
  .ds-hero__stats div + div {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .ds-hero__stats b {
    font-size: 1.5rem;
  }
  .ds-hero__stats span {
    font-size: 0.62rem;
    letter-spacing: 0.1em;
  }
}
