/* =====================================================
   火博体育官方中文版 · 全站共享样式
   竞技数据档案系统 · 视觉协议
   文件路径：/assets/site.css
===================================================== */

/* ---------- 1. 变量与重置 ---------- */
:root {
  --clr-red-deep: #8B0000;
  --clr-red-dark: #4A0000;
  --clr-gold: #D4AF37;
  --clr-gold-bright: #FFDF00;
  --clr-graphite: #2B2B2B;
  --clr-ink: #1A1A1A;
  --clr-stone: #E0E0E0;
  --clr-white: #FFFFFF;
  --clr-glass: rgba(0, 0, 0, 0.6);
  --clr-glass-gold: rgba(212, 175, 55, 0.18);
  --grad-red: linear-gradient(135deg, #8B0000 0%, #4A0000 100%);
  --grad-gold: linear-gradient(135deg, #D4AF37 0%, #FFDF00 100%);
  --grad-dark: linear-gradient(135deg, rgba(26, 26, 26, 0.96), rgba(74, 0, 0, 0.88));
  --font-head: "Archivo Black", "Impact", "Arial Black", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-quote: "Playfair Display", Georgia, "Songti SC", serif;
  --font-mono: "Roboto Mono", Consolas, "Courier New", monospace;
  --container: 1200px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --header-h: 72px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--clr-white);
  background:
    radial-gradient(ellipse 90% 55% at 75% -10%, rgba(139, 0, 0, 0.16), transparent),
    var(--clr-ink);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

ul, ol {
  list-style: none;
}

a {
  color: inherit;
}

button {
  font-family: inherit;
  font-size: inherit;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  line-height: 1.2;
  color: var(--clr-white);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(32px, 5vw, 52px); }
h2 { font-size: clamp(24px, 3.5vw, 38px); }
h3 { font-size: clamp(18px, 2vw, 22px); }
h4 { font-size: 16px; }

p {
  margin: 0 0 1em;
}

:focus-visible {
  outline: 2px solid var(--clr-gold-bright);
  outline-offset: 3px;
  border-radius: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- 2. 容器 ---------- */
.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, var(--container));
  }
}

/* ---------- 3. 跳过链接 ---------- */
.skip-link {
  position: absolute;
  left: 20px;
  top: -60px;
  z-index: 300;
  padding: 10px 20px;
  background: var(--grad-gold);
  color: var(--clr-ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  transition: top 0.2s ease;
}

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

/* ---------- 4. 头部 ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 200;
  background: linear-gradient(135deg, rgba(74, 0, 0, 0.82), rgba(139, 0, 0, 0.68));
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.4);
  transition: box-shadow var(--transition);
}

.site-head[data-scrolled] {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: var(--grad-gold);
  color: var(--clr-red-dark);
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.3);
  user-select: none;
}

.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand-name strong {
  font-family: var(--font-head);
  font-size: 22px;
  letter-spacing: 0.05em;
  color: var(--clr-white);
}

.brand-name small {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--clr-gold);
  text-transform: uppercase;
}

/* ---------- 5. 导航 ---------- */
.site-nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-list a {
  position: relative;
  display: inline-block;
  padding: 8px 14px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--transition);
}

.nav-list a::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 0;
  height: 2px;
  background: var(--grad-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.nav-list a:hover {
  color: var(--clr-gold-bright);
}

.nav-list a:hover::after {
  transform: scaleX(1);
}

.nav-list a[aria-current="page"] {
  color: var(--clr-gold-bright);
}

.nav-list a[aria-current="page"]::after {
  transform: scaleX(1);
}

/* ---------- 6. 数据状态标签 ---------- */
.round-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  padding: 5px 14px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--clr-gold);
  white-space: nowrap;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--clr-gold-bright);
  box-shadow: 0 0 10px rgba(255, 223, 0, 0.8);
  animation: live-pulse 2s ease-in-out infinite;
}

@keyframes live-pulse {
  0%, 100% { box-shadow: 0 0 4px rgba(255, 223, 0, 0.5); }
  50% { box-shadow: 0 0 14px rgba(255, 223, 0, 1); }
}

/* ---------- 7. 移动导航按钮 ---------- */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: transparent;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: border-color var(--transition), background var(--transition);
}

.nav-toggle:hover {
  border-color: var(--clr-gold-bright);
  background: rgba(212, 175, 55, 0.08);
}

.nav-toggle-line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--clr-white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- 8. 页脚 ---------- */
.site-foot {
  position: relative;
  background: var(--grad-red);
  margin-top: 0;
  color: rgba(255, 255, 255, 0.75);
}

.foot-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 56px 0 48px;
}

.foot-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.foot-brand-name {
  display: flex;
  flex-direction: column;
  font-family: var(--font-head);
  font-size: 24px;
  line-height: 1.2;
  color: var(--clr-white);
}

.foot-brand-name small {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--clr-gold);
  text-transform: uppercase;
}

.foot-tagline {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--clr-gold);
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.foot-desc {
  font-size: 13px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.65);
  max-width: 32em;
}

.foot-title {
  font-family: var(--font-head);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--clr-gold);
  margin-bottom: 18px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
}

.foot-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.foot-links a {
  display: inline-block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color var(--transition), transform var(--transition);
}

.foot-links a:hover {
  color: var(--clr-gold-bright);
  transform: translateX(4px);
}

.foot-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
}

.foot-contact li {
  position: relative;
  padding-left: 0;
  line-height: 1.5;
}

.foot-address {
  max-width: 22em;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

.foot-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 22px 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

.foot-icp {
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

/* ---------- 9. 返回顶部 ---------- */
.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 250;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--grad-gold);
  color: var(--clr-ink);
  font-size: 22px;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition), box-shadow var(--transition);
}

.to-top:hover {
  box-shadow: 0 8px 32px rgba(212, 175, 55, 0.4);
  transform: translateY(-3px);
}

.to-top[data-visible="true"] {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ---------- 10. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 26px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font-body);
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
}

.btn-gold {
  background: var(--grad-gold);
  color: var(--clr-ink);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(212, 175, 55, 0.4);
}

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(212, 175, 55, 0.55);
  color: var(--clr-gold);
}

.btn-ghost:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: var(--clr-gold-bright);
  color: var(--clr-gold-bright);
}

.btn-dark {
  background: var(--clr-graphite);
  color: var(--clr-white);
}

.btn-dark:hover {
  background: rgba(43, 43, 43, 0.75);
  color: var(--clr-gold);
}

/* ---------- 11. 标签 ---------- */
.tag {
  display: inline-block;
  padding: 3px 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--clr-stone);
  text-transform: uppercase;
}

.tag-gold {
  background: rgba(212, 175, 55, 0.14);
  color: var(--clr-gold);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.tag-red {
  background: rgba(139, 0, 0, 0.35);
  color: var(--clr-white);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ---------- 12. 章节体系 ---------- */
.section {
  padding: 72px 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.section-no {
  font-family: var(--font-mono);
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 900;
  line-height: 1;
  color: rgba(212, 175, 55, 0.28);
  -webkit-text-stroke: 1.5px rgba(212, 175, 55, 0.75);
  letter-spacing: -0.04em;
  user-select: none;
}

.section-title {
  font-size: clamp(24px, 3vw, 32px);
  margin: 0;
}

.section-sub {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  max-width: 56em;
}

/* ---------- 13. 框景首屏 ---------- */
.hero-frame {
  position: relative;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(139, 0, 0, 0.4) 0%, rgba(26, 26, 26, 0.92) 65%);
  overflow: hidden;
  padding: clamp(28px, 5vw, 56px);
}

.hero-frame::before {
  content: '';
  position: absolute;
  top: 12px;
  right: 12px;
  bottom: 12px;
  left: 12px;
  border: 1px dashed rgba(212, 175, 55, 0.22);
  border-radius: 8px;
  pointer-events: none;
}

.hero-frame::after {
  content: '';
  position: absolute;
  width: 140px;
  height: 140px;
  right: -32px;
  bottom: -32px;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 10px,
    rgba(212, 175, 55, 0.1) 10px,
    rgba(212, 175, 55, 0.1) 11px
  );
  transform: rotate(15deg);
  pointer-events: none;
}

.diag-stripes {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 8px,
    rgba(212, 175, 55, 0.06) 8px,
    rgba(212, 175, 55, 0.06) 9px
  );
  pointer-events: none;
}

/* ---------- 14. Bento 卡片 ---------- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.glass-card {
  position: relative;
  background: var(--clr-glass);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  padding: 24px;
  transition: border-color var(--transition), transform var(--transition);
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 2px;
  background: var(--grad-gold);
  opacity: 0.35;
}

.glass-card:hover {
  border-color: rgba(212, 175, 55, 0.25);
  transform: translateY(-2px);
}

.glass-card--gold {
  background: var(--clr-glass-gold);
  border-color: rgba(212, 175, 55, 0.25);
}

.data-card {
  position: relative;
  background: var(--clr-graphite);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: border-color var(--transition), transform var(--transition);
}

.data-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 20px;
  width: 32px;
  height: 4px;
  background: var(--grad-gold);
  border-radius: 0 0 4px 4px;
}

.data-card:hover {
  border-color: rgba(212, 175, 55, 0.3);
}

/* ---------- 15. 数据指标 ---------- */
.metric {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.metric-value {
  font-family: var(--font-mono);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--clr-gold-bright);
}

.metric-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- 16. 数据表格 ---------- */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.data-table th {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--clr-gold);
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
  white-space: nowrap;
}

.data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.8);
}

.data-table tr:hover td {
  background: rgba(212, 175, 55, 0.04);
}

/* ---------- 17. 面包屑 ---------- */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.breadcrumb a {
  color: var(--clr-gold);
  text-decoration: none;
  transition: color var(--transition);
}

.breadcrumb a:hover {
  color: var(--clr-gold-bright);
  text-decoration: underline;
}

.breadcrumb-sep {
  color: rgba(255, 255, 255, 0.25);
}

/* ---------- 18. 图片容器 ---------- */
.img-frame {
  position: relative;
  overflow: hidden;
  background: var(--clr-graphite);
  border-radius: var(--radius-md);
}

.img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.img-frame--16x9 { aspect-ratio: 16 / 9; }
.img-frame--4x3 { aspect-ratio: 4 / 3; }
.img-frame--1x1 { aspect-ratio: 1 / 1; }
.img-frame--3x2 { aspect-ratio: 3 / 2; }

/* ---------- 19. 章节跟随 ---------- */
.chapter-nav {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  background: var(--clr-glass);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 14px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.chapter-nav a {
  display: block;
  padding: 8px 12px;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  border-left: 2px solid transparent;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  transition: all var(--transition);
}

.chapter-nav a:hover {
  color: var(--clr-gold);
}

.chapter-nav a[data-active="true"] {
  color: var(--clr-gold-bright);
  border-left-color: var(--clr-gold);
  background: rgba(212, 175, 55, 0.08);
}

[data-chapter-section] {
  scroll-margin-top: calc(var(--header-h) + 20px);
}

/* ---------- 20. 滚动显现 ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal][data-revealed="true"] {
  opacity: 1;
  transform: none;
}

[data-reveal][data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal][data-reveal-delay="2"] { transition-delay: 0.2s; }
[data-reveal][data-reveal-delay="3"] { transition-delay: 0.3s; }
[data-reveal][data-reveal-delay="4"] { transition-delay: 0.4s; }
[data-reveal][data-reveal-delay="5"] { transition-delay: 0.5s; }

/* ---------- 21. 引用 ---------- */
.data-quote {
  font-family: var(--font-quote);
  font-style: italic;
  font-size: 20px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
  border-left: 3px solid var(--clr-gold);
  padding-left: 18px;
  margin: 0 0 1em;
}

blockquote {
  font-family: var(--font-quote);
  font-style: italic;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  border-left: 3px solid var(--clr-gold);
  padding: 8px 0 8px 18px;
  margin: 0 0 1.5em;
}

/* ---------- 22. 响应式 ---------- */
@media (max-width: 1100px) {
  .foot-top {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 32px;
  }

  .foot-brand-col {
    grid-column: 1 / -1;
  }

  .foot-brand-col .foot-desc {
    max-width: 42em;
  }
}

@media (max-width: 992px) {
  .nav-toggle {
    display: inline-flex;
  }

  .round-tag {
    margin-left: auto;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    background: linear-gradient(135deg, rgba(74, 0, 0, 0.98), rgba(26, 26, 26, 0.98));
    border-top: 1px solid rgba(212, 175, 55, 0.25);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }

  .site-nav[data-open] {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 16px 16px;
  }

  .nav-list a {
    padding: 14px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 15px;
  }

  .nav-list a::after {
    display: none;
  }

  .nav-list a:hover,
  .nav-list a[aria-current="page"] {
    background: rgba(212, 175, 55, 0.08);
    border-left: 3px solid var(--clr-gold);
    color: var(--clr-gold-bright);
    padding-left: 12px;
  }

  .nav-list li:last-child a {
    border-bottom: none;
  }

  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-frame {
    padding: 28px;
  }

  .section {
    padding: 56px 0;
  }
}

@media (max-width: 767px) {
  .header-inner {
    gap: 12px;
  }

  .brand-name strong {
    font-size: 18px;
  }

  .brand-name small {
    font-size: 10px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  .foot-top {
    grid-template-columns: 1fr;
    padding: 48px 0 32px;
  }

  .foot-brand-col {
    grid-column: auto;
  }

  .round-tag {
    font-size: 0;
    padding: 6px;
    border-radius: 50%;
  }

  .round-tag .live-dot {
    margin: 0;
  }

  .to-top {
    right: 16px;
    bottom: 16px;
    width: 44px;
    height: 44px;
    font-size: 20px;
  }

  .bento-grid {
    grid-template-columns: 1fr;
  }

  .hero-frame {
    padding: 24px 20px;
  }

  .hero-frame::before {
    top: 8px;
    right: 8px;
    bottom: 8px;
    left: 8px;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .section-no {
    font-size: 36px;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(100% - 16px, var(--container));
  }

  .header-inner {
    height: 64px;
    --header-h: 64px;
  }

  .round-tag {
    display: none;
  }

  .nav-toggle {
    margin-left: auto;
  }

  .foot-bottom {
    flex-direction: column;
    text-align: center;
    line-height: 1.6;
  }

  .foot-bottom p {
    margin-bottom: 0;
  }
}

/* ---------- 23. 减少动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .to-top {
    transition: none !important;
  }

  .nav-toggle-line {
    transition: none !important;
  }

  .skip-link {
    transition: none !important;
  }
}
