/* ============================================================
   得胜28 · 共享样式 /assets/site.css
   深夜开奖数据室：墨黑底、台账描边、红金焦点、等宽数字
   ============================================================ */

/* ---------- 1. Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body, h1, h2, h3, h4, h5, p, ul, ol, li, figure, blockquote, dl, dd, fieldset { margin: 0; }

ul, ol { padding: 0; list-style: none; }

img, svg, video { display: block; max-width: 100%; }

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

a { color: inherit; }

table { border-collapse: collapse; width: 100%; }

/* ---------- 2. 变量 ---------- */
:root {
  --d28-ink: #05070C;
  --d28-night: #0B1424;
  --d28-panel: #131E33;
  --d28-line: #24324D;
  --d28-red: #D8342F;
  --d28-red-deep: #7A1B1C;
  --d28-gold: #C8963E;
  --d28-cyan: #4FB3C7;
  --d28-text: #E9EEF7;
  --d28-muted: #93A1B9;

  --d28-heat-0: #1B3A4A;
  --d28-heat-1: #4FB3C7;
  --d28-heat-2: #C8963E;
  --d28-heat-3: #D8342F;

  --d28-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", "Courier New", monospace;
  --d28-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;

  --d28-r-sm: 10px;
  --d28-r-md: 18px;
  --d28-r-lg: 28px;
  --d28-r-pill: 999px;

  --d28-w: 1200px;
  --d28-gap: 24px;
  --d28-header-h: 112px;
  --d28-ease: cubic-bezier(.22, .61, .36, 1);
  --d28-shadow: 0 18px 44px rgba(0, 0, 0, .45);
}

/* ---------- 3. 基础排版 ---------- */
body {
  background-color: var(--d28-ink);
  background-image:
    linear-gradient(180deg, #05070C 0%, #0B1424 42%, #05070C 100%),
    repeating-linear-gradient(0deg, rgba(36, 50, 77, .16) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(90deg, rgba(36, 50, 77, .16) 0 1px, transparent 1px 44px);
  background-blend-mode: normal;
  color: var(--d28-text);
  font-family: var(--d28-sans);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: .01em;
  min-height: 100vh;
  overflow-x: hidden;
}

.d28-display,
.d28-h2,
.d28-h3,
.d28-h4 {
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: -.01em;
  color: var(--d28-text);
  text-wrap: balance;
}

.d28-display { font-size: clamp(34px, 5.4vw, 56px); }
.d28-h2 { font-size: clamp(26px, 3.6vw, 40px); }
.d28-h3 { font-size: clamp(20px, 2.4vw, 28px); }
.d28-h4 { font-size: clamp(17px, 1.8vw, 20px); font-weight: 800; }

.d28-text { color: var(--d28-text); font-size: 15.5px; max-width: 40ch; }
.d28-lede { color: var(--d28-muted); font-size: clamp(15px, 1.5vw, 17px); line-height: 1.8; max-width: 38ch; }

.d28-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--d28-mono);
  font-size: 11.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--d28-gold);
}

.d28-eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, var(--d28-red), transparent);
}

.d28-num {
  font-family: var(--d28-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: .01em;
}

.d28-unit {
  font-family: var(--d28-mono);
  font-size: .78em;
  color: var(--d28-muted);
  margin-left: 4px;
}

.d28-issue {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 3px 12px;
  border-radius: var(--d28-r-pill);
  background: linear-gradient(120deg, var(--d28-red), var(--d28-red-deep));
  color: #fff;
  font-family: var(--d28-mono);
  font-weight: 700;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.d28-issue--gold {
  background: linear-gradient(120deg, var(--d28-gold), #8a641f);
  color: #100B03;
}

/* ---------- 4. 布局 ---------- */
.d28-container {
  width: min(100% - 40px, var(--d28-w));
  margin-inline: auto;
}

.d28-section { padding-block: clamp(56px, 8vw, 112px); }
.d28-section--tight { padding-block: clamp(36px, 5vw, 64px); }

.d28-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--d28-gap);
}

.d28-span-4 { grid-column: span 4; }
.d28-span-5 { grid-column: span 5; }
.d28-span-6 { grid-column: span 6; }
.d28-span-7 { grid-column: span 7; }
.d28-span-8 { grid-column: span 8; }
.d28-span-12 { grid-column: span 12; }

.d28-split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: start;
}

.d28-stack > * + * { margin-top: var(--d28-gap); }
.d28-stack--sm > * + * { margin-top: 12px; }

.d28-cluster {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.d28-panel {
  background: var(--d28-panel);
  border: 1px solid var(--d28-line);
  border-radius: var(--d28-r-lg);
  padding: clamp(20px, 2.6vw, 32px);
  position: relative;
}

.d28-panel--flat { background: rgba(19, 30, 51, .55); }

.d28-card {
  background: rgba(19, 30, 51, .78);
  border: 1px solid var(--d28-line);
  border-radius: var(--d28-r-md);
  padding: clamp(16px, 2vw, 22px);
}

.d28-rule {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, var(--d28-line), rgba(36, 50, 77, .1));
  margin-block: 24px;
}

/* ---------- 5. 按钮 / 胶囊 / 标签 ---------- */
.d28-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--d28-r-pill);
  border: 1px solid transparent;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: .02em;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s var(--d28-ease), color .2s var(--d28-ease),
              border-color .2s var(--d28-ease), transform .2s var(--d28-ease);
}

.d28-btn--sm { padding: 8px 15px; font-size: 13.5px; }
.d28-btn--block { width: 100%; }

.d28-btn--red {
  background: linear-gradient(120deg, var(--d28-red), var(--d28-red-deep));
  color: #fff;
  box-shadow: 0 10px 24px rgba(216, 52, 47, .22);
}
.d28-btn--red:hover { transform: translateY(-1px); }

.d28-btn--ghost {
  background: rgba(36, 50, 77, .45);
  border-color: var(--d28-line);
  color: var(--d28-text);
}
.d28-btn--ghost:hover { background: rgba(36, 50, 77, .85); border-color: #33456a; }

.d28-btn--gold {
  background: linear-gradient(120deg, var(--d28-gold), #8a641f);
  color: #120C03;
}

.d28-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px;
  border-radius: var(--d28-r-pill);
  border: 1px solid var(--d28-line);
  background: rgba(11, 20, 36, .8);
  color: var(--d28-muted);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: color .18s var(--d28-ease), background-color .18s var(--d28-ease),
              border-color .18s var(--d28-ease);
}

.d28-chip:hover { color: var(--d28-text); border-color: #33456a; }

.d28-chip.is-active,
.d28-chip[aria-pressed="true"] {
  background: rgba(216, 52, 47, .16);
  border-color: rgba(216, 52, 47, .6);
  color: #fff;
}

.d28-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: var(--d28-r-pill);
  border: 1px solid var(--d28-line);
  font-family: var(--d28-mono);
  font-size: 11.5px;
  letter-spacing: .06em;
  color: var(--d28-muted);
}

.d28-tag--gold { color: var(--d28-gold); border-color: rgba(200, 150, 62, .5); }
.d28-tag--cyan { color: var(--d28-cyan); border-color: rgba(79, 179, 199, .5); }
.d28-tag--red { color: #ff8f8b; border-color: rgba(216, 52, 47, .55); }

/* ---------- 6. 指标与热力 ---------- */
.d28-stat {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: var(--d28-r-md);
  border: 1px solid var(--d28-line);
  background: rgba(5, 7, 12, .55);
}

.d28-stat__value {
  font-family: var(--d28-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 800;
  color: var(--d28-text);
  line-height: 1.2;
}

.d28-stat__value--red { color: #ff8f8b; }
.d28-stat__value--gold { color: var(--d28-gold); }
.d28-stat__value--cyan { color: var(--d28-cyan); }

.d28-stat__label {
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--d28-muted);
}

.d28-heat {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 22px;
  border-radius: 6px;
  background: var(--d28-heat-0);
}
.d28-heat--1 { background: var(--d28-heat-0); }
.d28-heat--2 { background: var(--d28-heat-1); }
.d28-heat--3 { background: var(--d28-heat-2); }
.d28-heat--4 { background: var(--d28-heat-3); }

/* ---------- 7. 表格 ---------- */
.d28-table {
  width: 100%;
  font-size: 14px;
  border: 1px solid var(--d28-line);
  border-radius: var(--d28-r-md);
  overflow: hidden;
}

.d28-table th,
.d28-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--d28-line);
  vertical-align: middle;
}

.d28-table thead th {
  background: rgba(5, 7, 12, .7);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--d28-muted);
  font-weight: 700;
  white-space: nowrap;
}

.d28-table tbody tr { transition: background-color .16s var(--d28-ease); }
.d28-table tbody tr:hover { background: rgba(216, 52, 47, .09); }
.d28-table tbody tr:last-child td { border-bottom: 0; }
.d28-table td.d28-num,
.d28-table th.d28-num { font-family: var(--d28-mono); font-variant-numeric: tabular-nums; }

/* ---------- 8. 面包屑 ---------- */
.d28-crumb { padding-block: 18px 0; }

.d28-crumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--d28-mono);
  font-size: 12.5px;
  color: var(--d28-muted);
}

.d28-crumb__item { display: inline-flex; align-items: center; gap: 8px; }
.d28-crumb__item + .d28-crumb__item::before {
  content: "/";
  color: var(--d28-line);
}

.d28-crumb__link { text-decoration: none; color: var(--d28-muted); }
.d28-crumb__link:hover { color: var(--d28-text); }
.d28-crumb__item[aria-current="page"] { color: var(--d28-text); }

/* ---------- 9. 图片容器基础 ---------- */
.d28-media {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: var(--d28-r-md);
  border: 1px solid var(--d28-line);
  background:
    radial-gradient(120% 90% at 12% 0%, rgba(79, 179, 199, .12), transparent 60%),
    linear-gradient(160deg, #0B1424, #131E33);
}

.d28-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(36, 50, 77, .55) 1px, transparent 1px),
    linear-gradient(90deg, rgba(36, 50, 77, .55) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: .3;
}

.d28-media__img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.d28-media--16x9 { aspect-ratio: 16 / 9; }
.d28-media--4x3 { aspect-ratio: 4 / 3; }
.d28-media--1x1 { aspect-ratio: 1 / 1; }
.d28-media--21x9 { aspect-ratio: 21 / 9; }
.d28-media--flow { min-height: 180px; }

.d28-media__caption {
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--d28-muted);
  font-family: var(--d28-mono);
}

/* ---------- 10. 头部：期号轴 + 悬浮胶囊 ---------- */
.d28-skip {
  position: absolute;
  left: 16px;
  top: -70px;
  z-index: 300;
  padding: 10px 18px;
  border-radius: 0 0 14px 14px;
  background: var(--d28-red);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: top .2s var(--d28-ease);
}

.d28-skip:focus { top: 0; }

.d28-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background: linear-gradient(180deg, rgba(5, 7, 12, .97), rgba(5, 7, 12, .86));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--d28-line);
}

.d28-ticker {
  border-bottom: 1px solid var(--d28-line);
  background: var(--d28-ink);
}

.d28-ticker__inner {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 34px;
  font-family: var(--d28-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--d28-muted);
  white-space: nowrap;
  overflow: hidden;
  transition: min-height .24s var(--d28-ease);
}

.d28-ticker__label {
  color: var(--d28-gold);
  letter-spacing: .18em;
  font-size: 11px;
}

.d28-ticker__sep {
  flex: none;
  width: 1px;
  height: 12px;
  background: var(--d28-line);
}

.d28-ticker__issue { color: var(--d28-text); }
.d28-ticker__issue b { color: var(--d28-red); font-weight: 700; }

.d28-ticker__status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--d28-cyan);
}

.d28-ticker__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--d28-cyan);
  box-shadow: 0 0 0 4px rgba(79, 179, 199, .14);
  animation: d28-pulse 2.6s var(--d28-ease) infinite;
}

@keyframes d28-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .35; }
}

.d28-ticker__spacer { margin-left: auto; }
.d28-ticker__region { color: var(--d28-muted); font-size: 11.5px; }

.d28-nav-shell {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 26px);
  min-height: 74px;
  transition: min-height .24s var(--d28-ease);
}

.d28-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  flex: none;
}

.d28-brand__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(140deg, var(--d28-red), var(--d28-red-deep));
  color: #fff;
  font-family: var(--d28-mono);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -.02em;
  box-shadow: 0 8px 20px rgba(216, 52, 47, .28);
  flex: none;
}

.d28-brand__text { display: grid; line-height: 1.2; }
.d28-brand__name { font-size: 18px; font-weight: 900; letter-spacing: .02em; }

.d28-brand__tagline {
  font-size: 11px;
  color: var(--d28-muted);
  font-family: var(--d28-mono);
  letter-spacing: .04em;
  transition: opacity .2s var(--d28-ease);
}

.d28-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--d28-line);
  border-radius: var(--d28-r-pill);
  background: rgba(11, 20, 36, .82);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .34);
}

.d28-nav__list { display: flex; align-items: center; gap: 2px; }
.d28-nav__item { display: flex; }

.d28-nav__link {
  display: inline-flex;
  align-items: center;
  padding: 8px 13px;
  border-radius: var(--d28-r-pill);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--d28-muted);
  text-decoration: none;
  white-space: nowrap;
  transition: color .18s var(--d28-ease), background-color .18s var(--d28-ease),
              box-shadow .18s var(--d28-ease);
}

.d28-nav__link:hover {
  color: var(--d28-text);
  background: rgba(36, 50, 77, .7);
}

.d28-nav__link[aria-current="page"] {
  color: #fff;
  background: rgba(216, 52, 47, .18);
  box-shadow: inset 0 0 0 1px rgba(216, 52, 47, .55);
}

.d28-nav__divider {
  width: 1px;
  height: 22px;
  background: var(--d28-line);
  margin-inline: 4px;
}

.d28-nav__actions { display: flex; align-items: center; gap: 8px; }

.d28-nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  margin-left: auto;
  padding: 9px 15px;
  border: 1px solid var(--d28-line);
  border-radius: var(--d28-r-pill);
  background: rgba(11, 20, 36, .85);
  color: var(--d28-text);
  font-size: 13px;
  font-weight: 700;
}

.d28-nav-toggle__bars { display: grid; gap: 4px; width: 18px; }
.d28-nav-toggle__bars span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--d28-text);
  transition: transform .2s var(--d28-ease), opacity .2s var(--d28-ease);
}

.d28-nav-toggle[aria-expanded="true"] .d28-nav-toggle__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.d28-nav-toggle[aria-expanded="true"] .d28-nav-toggle__bars span:nth-child(2) { opacity: 0; }
.d28-nav-toggle[aria-expanded="true"] .d28-nav-toggle__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.d28-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: rgba(36, 50, 77, .55);
  overflow: hidden;
}

.d28-progress__bar {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--d28-red-deep), var(--d28-red) 60%, var(--d28-gold));
}

/* 滚动收缩态 */
.d28-header[data-scrolled="true"] .d28-ticker__inner { min-height: 24px; font-size: 11px; }
.d28-header[data-scrolled="true"] .d28-ticker__region { display: none; }
.d28-header[data-scrolled="true"] .d28-nav-shell { min-height: 60px; }
.d28-header[data-scrolled="true"] .d28-brand__tagline { opacity: 0; }

/* ---------- 11. 页脚 ---------- */
.d28-footer {
  position: relative;
  margin-top: clamp(64px, 9vw, 120px);
  background: var(--d28-ink);
  border-top: 1px solid var(--d28-line);
}

.d28-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--d28-red-deep), var(--d28-gold), transparent);
  opacity: .75;
}

.d28-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, .75fr) minmax(0, .7fr) minmax(0, 1.3fr);
  gap: clamp(26px, 4vw, 48px);
  padding-block: clamp(40px, 6vw, 72px);
}

.d28-footer__brand { display: grid; justify-items: start; }

.d28-footer__brand-name {
  margin-top: 12px;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: .03em;
}

.d28-footer__brand-line {
  display: block;
  width: 62px;
  height: 3px;
  border-radius: 3px;
  margin: 12px 0 14px;
  background: linear-gradient(90deg, var(--d28-red), var(--d28-gold));
}

.d28-footer__brand-text {
  color: var(--d28-muted);
  font-size: 14px;
  line-height: 1.8;
  max-width: 34ch;
}

.d28-footer__title {
  font-family: var(--d28-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--d28-gold);
  margin-bottom: 14px;
}

.d28-footer__list { display: grid; gap: 10px; }

.d28-footer__link {
  display: inline-block;
  color: var(--d28-muted);
  font-size: 14.5px;
  text-decoration: none;
  transition: color .18s var(--d28-ease), transform .18s var(--d28-ease);
}

.d28-footer__link:hover,
.d28-footer__link:focus-visible { color: var(--d28-text); transform: translateX(2px); }

.d28-footer__contact { display: grid; gap: 12px; }

.d28-footer__contact-item { display: grid; gap: 2px; }

.d28-footer__contact-label {
  font-family: var(--d28-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--d28-muted);
}

.d28-footer__contact-value {
  font-size: 14px;
  color: var(--d28-text);
  word-break: break-all;
}

.d28-footer__note {
  margin-top: 16px;
  padding-left: 12px;
  border-left: 2px solid var(--d28-line);
  color: var(--d28-muted);
  font-size: 12.5px;
  line-height: 1.75;
}

.d28-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding-block: 18px 28px;
  border-top: 1px solid var(--d28-line);
  font-family: var(--d28-mono);
  font-size: 12px;
  color: var(--d28-muted);
}

.d28-footer__meta { letter-spacing: .02em; }

.d28-footer__legal {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.d28-footer__link-plain { color: var(--d28-text); opacity: .8; }
.d28-footer__dot { color: var(--d28-line); }

/* ---------- 12. 回到顶部 ---------- */
.d28-to-top {
  position: fixed;
  right: clamp(14px, 3vw, 28px);
  bottom: clamp(14px, 3vw, 28px);
  z-index: 130;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--d28-line);
  background: rgba(19, 30, 51, .92);
  color: var(--d28-text);
  font-family: var(--d28-mono);
  font-size: 11px;
  letter-spacing: .06em;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s var(--d28-ease), transform .2s var(--d28-ease),
              visibility .2s var(--d28-ease), border-color .2s var(--d28-ease);
}

.d28-to-top[data-visible="true"] {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.d28-to-top:hover { border-color: var(--d28-red); color: #fff; }

/* ---------- 13. 显现动效 ---------- */
.d28-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .32s var(--d28-ease), transform .32s var(--d28-ease);
}

.d28-reveal.is-in { opacity: 1; transform: none; }

/* ---------- 14. 工具类 ---------- */
.d28-visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ---------- 15. 焦点可见 ---------- */
:focus-visible {
  outline: 2px solid var(--d28-gold);
  outline-offset: 3px;
  border-radius: 8px;
}

/* ---------- 16. 响应式 ---------- */
@media (max-width: 1080px) {
  .d28-nav-toggle { display: inline-flex; }

  .d28-nav {
    position: absolute;
    top: 100%;
    left: 16px;
    right: 16px;
    margin-left: 0;
    display: grid;
    gap: 4px;
    padding: 14px;
    border-radius: var(--d28-r-lg);
    background: rgba(11, 20, 36, .98);
    box-shadow: 0 26px 60px rgba(0, 0, 0, .6);
    max-height: calc(100vh - var(--d28-header-h) - 16px);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .2s var(--d28-ease), transform .2s var(--d28-ease),
                visibility .2s var(--d28-ease);
  }

  .d28-nav[data-open="true"] {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .d28-nav__list { display: grid; gap: 2px; }
  .d28-nav__item { display: block; }

  .d28-nav__link {
    display: block;
    padding: 12px 14px;
    border-radius: var(--d28-r-sm);
    font-size: 15px;
    color: var(--d28-text);
  }

  .d28-nav__divider { width: 100%; height: 1px; margin: 10px 0; }

  .d28-nav__actions { display: grid; gap: 8px; }
  .d28-nav__actions .d28-btn { width: 100%; }
}

@media (max-width: 980px) {
  .d28-footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .d28-split { grid-template-columns: minmax(0, 1fr); }
  .d28-span-4, .d28-span-5, .d28-span-6, .d28-span-7, .d28-span-8 { grid-column: span 12; }
}

@media (max-width: 720px) {
  .d28-container { width: min(100% - 28px, var(--d28-w)); }
  .d28-ticker__inner { gap: 10px; font-size: 11px; }
  .d28-ticker__region { display: none; }
  .d28-brand__tagline { display: none; }
  .d28-grid { --d28-gap: 16px; }
  .d28-text, .d28-lede { max-width: none; }
}

@media (max-width: 620px) {
  .d28-footer__top { grid-template-columns: minmax(0, 1fr); }
  .d28-footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- 17. 降级：减少动态 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0ms !important;
  }

  .d28-reveal { opacity: 1; transform: none; }
  .d28-progress__bar { transition: none; }
  .d28-to-top { transform: none; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
