/* ==========================================================================
   777老虎游 · 全站共享样式  /assets/site.css
   深夜霓虹 × 金属拉丝：黑金骨架，霓虹红标时间，电光蓝标链接
   ========================================================================== */

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

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

html, body { margin: 0; padding: 0; }
body { min-height: 100vh; }

h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
table { border-collapse: collapse; width: 100%; }
th, td { text-align: left; }

/* ---------- 1. 设计变量 ---------- */
:root {
  /* 色彩 */
  --ink-900: #0A0A10;
  --ink-850: #0F0F16;
  --ink-800: #14141C;
  --ink-700: #2A2A35;
  --gold: #FFC24B;
  --gold-deep: #A8751E;
  --gold-pale: #FFE7A8;
  --red: #FF3B4E;
  --blue: #3AD1FF;
  --jade: #F4F2EA;
  --glass: rgba(255, 255, 255, 0.08);
  --glass-strong: rgba(255, 255, 255, 0.15);

  /* 边界 */
  --hairline: rgba(255, 194, 75, 0.16);
  --hairline-soft: rgba(244, 242, 234, 0.10);

  /* 字体 */
  --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", Georgia, serif;
  --font-sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", "Cascadia Mono", Consolas, "Liberation Mono", monospace;

  /* 尺度 */
  --shell: 1240px;
  --gutter: clamp(18px, 4vw, 44px);
  --radius-s: 3px;
  --radius-m: 8px;
  --radius-l: 16px;

  /* 动效 */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 180ms;
}

/* ---------- 2. 基础排版 ---------- */
body {
  background-color: var(--ink-900);
  background-image:
    radial-gradient(1100px 620px at 92% -10%, rgba(255, 59, 78, 0.11), transparent 62%),
    radial-gradient(880px 520px at -6% 6%, rgba(58, 209, 255, 0.09), transparent 60%),
    radial-gradient(1200px 760px at 50% 112%, rgba(255, 194, 75, 0.08), transparent 66%);
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--jade);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

#main-content { scroll-margin-top: 130px; }

/* ---------- 3. 跳转链接 ---------- */
.skip-link {
  position: fixed;
  left: 50%;
  top: 0;
  z-index: 200;
  transform: translate(-50%, -130%);
  padding: 0.62rem 1.15rem;
  background-image: linear-gradient(180deg, var(--gold-pale), var(--gold));
  color: #1A1206;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 0 0 var(--radius-m) var(--radius-m);
  box-shadow: 0 10px 28px -12px rgba(255, 194, 75, 0.8);
  transition: transform var(--dur) var(--ease);
}
.skip-link:focus-visible {
  transform: translate(-50%, 0);
  outline-offset: 0;
}

/* ---------- 4. 报头 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(10, 10, 16, 0.84);
  border-bottom: 1px solid var(--hairline);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(100deg, transparent 42%, rgba(255, 231, 168, 0.16) 50%, transparent 58%);
  background-size: 220% 100%;
  background-repeat: no-repeat;
  background-position: 180% 0;
  animation: header-sheen 1500ms var(--ease) 240ms 1 both;
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  pointer-events: none;
  background-image: linear-gradient(90deg, transparent, rgba(255, 194, 75, 0.55), rgba(58, 209, 255, 0.35), transparent);
  opacity: 0.7;
}

@keyframes header-sheen {
  from { background-position: 180% 0; }
  to { background-position: -80% 0; }
}

.scroll-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  z-index: 2;
  display: block;
  width: 0;
  height: 2px;
  background-image: linear-gradient(90deg, var(--gold-deep), var(--gold), var(--blue));
  transition: width 90ms linear;
}

.header-shell {
  position: relative;
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding: clamp(10px, 1.6vw, 20px) var(--gutter) 0;
}

.header-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

/* 品牌 */
.brand {
  grid-column: 2;
  justify-self: center;
  display: inline-flex;
  align-items: baseline;
  text-align: center;
}

.brand__name {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--gold);
  filter: drop-shadow(0 8px 22px rgba(255, 194, 75, 0.18));
  transition: font-size 240ms var(--ease), letter-spacing 240ms var(--ease);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .brand__name {
    background-image: linear-gradient(180deg, #FFF6DA 0%, var(--gold) 44%, var(--gold-deep) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }
}

/* 更新浮标 */
.buoy {
  grid-column: 3;
  position: relative;
  justify-self: end;
}

.buoy__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.44rem 0.72rem;
  border: 1px solid rgba(255, 194, 75, 0.3);
  border-radius: 999px;
  background: var(--glass);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--gold-pale);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.buoy__btn:hover,
.buoy__btn[aria-expanded="true"] {
  border-color: var(--gold);
  background: var(--glass-strong);
  box-shadow: 0 0 0 1px rgba(255, 194, 75, 0.2), 0 0 18px rgba(255, 194, 75, 0.22);
}

.buoy__pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 10px var(--red);
  animation: buoy-pulse 2600ms ease-in-out infinite;
}

@keyframes buoy-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.42; transform: scale(0.76); }
}

.buoy__label { color: var(--gold-pale); }

.buoy__time {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--jade);
  opacity: 0.7;
}

.buoy__panel {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  z-index: 90;
  width: min(318px, calc(100vw - 32px));
  padding: 14px 16px 12px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-m);
  background: rgba(20, 20, 28, 0.97);
  box-shadow: 0 26px 60px -22px rgba(0, 0, 0, 0.95), inset 0 0 0 1px rgba(255, 194, 75, 0.06);
}

.buoy__panel[hidden] { display: none; }

.buoy__title {
  margin-bottom: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--gold);
}

.buoy__list { display: grid; gap: 0.45rem; }

.buoy__list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px dashed rgba(255, 194, 75, 0.14);
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgba(244, 242, 234, 0.86);
}

.buoy__list li > span:first-child { color: rgba(244, 242, 234, 0.64); }
.buoy__list li:last-child { padding-bottom: 0; border-bottom: 0; }

.buoy__num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--gold-pale);
  white-space: nowrap;
}

/* 移动导航按钮 */
.nav-toggle {
  grid-column: 1;
  display: none;
  align-items: center;
  gap: 0.5rem;
  justify-self: start;
  padding: 0.44rem 0.72rem;
  border: 1px solid rgba(255, 194, 75, 0.3);
  border-radius: 999px;
  background: var(--glass);
  color: var(--gold-pale);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.nav-toggle:hover { border-color: var(--gold); background: var(--glass-strong); }

.nav-toggle__bars {
  position: relative;
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform var(--dur) var(--ease);
}

.nav-toggle__bars::before { top: -5px; }
.nav-toggle__bars::after { top: 5px; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-5px) rotate(-45deg); }

/* 栏目轨道 */
.site-nav {
  margin-top: clamp(8px, 1.2vw, 16px);
  border-top: 1px solid var(--hairline-soft);
}

.nav-track {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2.6vw, 42px);
  padding: 10px 2px 12px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.nav-track::-webkit-scrollbar { display: none; }
.nav-track li { flex: 0 0 auto; }

.nav-link {
  position: relative;
  display: inline-block;
  padding: 0.25rem 0.1rem;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
  color: rgba(244, 242, 234, 0.72);
  transition: color var(--dur) var(--ease), text-shadow var(--dur) var(--ease);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: -1px;
  height: 2px;
  border-radius: 2px;
  background-image: linear-gradient(90deg, var(--gold-deep), var(--gold), var(--gold-pale));
  transition: left var(--dur) var(--ease), right var(--dur) var(--ease);
}

.nav-link:hover {
  color: var(--gold-pale);
  text-shadow: 0 0 14px rgba(255, 194, 75, 0.42);
}

.nav-link:hover::after { left: 0; right: 0; }

.nav-link[aria-current="page"] {
  color: var(--gold);
  font-weight: 500;
}

.nav-link[aria-current="page"]::after { left: 0; right: 0; }

/* 报头收缩态 */
.site-header[data-condensed] { border-bottom-color: rgba(255, 194, 75, 0.3); }
.site-header[data-condensed] .header-shell { padding-top: 6px; }
.site-header[data-condensed] .brand__name { font-size: clamp(1.4rem, 2.6vw, 2.05rem); letter-spacing: 0; }
.site-header[data-condensed] .site-nav { margin-top: 4px; }
.site-header[data-condensed] .nav-track { padding: 6px 2px 8px; }

/* ---------- 5. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(72px, 10vw, 140px);
  border-top: 1px solid var(--hairline);
  background-color: var(--ink-900);
  background-image:
    linear-gradient(180deg, rgba(20, 20, 28, 0.92), rgba(10, 10, 16, 1) 58%),
    radial-gradient(760px 320px at 10% 0%, rgba(255, 194, 75, 0.10), transparent 70%);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background-image: linear-gradient(90deg, transparent, var(--gold-deep) 20%, var(--gold) 50%, var(--gold-deep) 80%, transparent);
  opacity: 0.7;
}

.footer-shell {
  max-width: var(--shell);
  margin-inline: auto;
  padding: clamp(40px, 5vw, 68px) var(--gutter) 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.85fr 0.85fr 1.35fr;
  gap: clamp(24px, 3vw, 48px);
}

.footer-brand__name {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  letter-spacing: -0.01em;
  color: var(--gold);
}

.footer-brand__line {
  margin-top: 0.7rem;
  max-width: 26em;
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(244, 242, 234, 0.68);
}

.footer-brand__site {
  margin-top: 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: var(--blue);
  opacity: 0.85;
}

.footer-col__title {
  margin-bottom: 0.9rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.footer-list { display: grid; gap: 0.55rem; }

.footer-list a {
  font-size: 0.9rem;
  color: rgba(244, 242, 234, 0.72);
  transition: color var(--dur) var(--ease), padding-left var(--dur) var(--ease);
}

.footer-list a:hover { color: var(--gold-pale); padding-left: 4px; }

.footer-list--contact { gap: 0.7rem; }

.footer-line {
  display: grid;
  grid-template-columns: 4.6em minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 0.5rem;
  font-size: 0.86rem;
  line-height: 1.6;
}

.footer-key { color: rgba(244, 242, 234, 0.5); }

.footer-val {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: rgba(244, 242, 234, 0.88);
  word-break: break-all;
}

.copy-btn {
  padding: 0.12rem 0.5rem;
  border: 1px solid rgba(255, 194, 75, 0.32);
  border-radius: 999px;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--gold);
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

.copy-btn:hover {
  border-color: var(--gold);
  background: rgba(255, 194, 75, 0.12);
  color: var(--gold-pale);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: clamp(30px, 4vw, 52px);
  padding-top: 1.1rem;
  border-top: 1px solid var(--hairline-soft);
}

.footer-legal__copy,
.footer-legal__icp {
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: rgba(244, 242, 234, 0.52);
}

.footer-legal__icp { font-family: var(--font-mono); }

/* ---------- 6. 版式容器 ---------- */
.page-shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(56px, 8vw, 112px); }
.section--tight { padding-block: clamp(30px, 4vw, 62px); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background-image: linear-gradient(90deg, var(--gold-deep), var(--gold));
}

.section-title {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.26;
  letter-spacing: -0.01em;
  color: var(--jade);
}

.headline {
  font-family: var(--font-sans);
  font-weight: 900;
  font-style: italic;
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  line-height: 1.28;
  letter-spacing: -0.01em;
  color: var(--jade);
  -webkit-text-stroke: 0.9px rgba(255, 194, 75, 0.62);
  paint-order: stroke fill;
  text-shadow: 0 0 22px rgba(255, 194, 75, 0.24);
}

.lede {
  max-width: 40em;
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  line-height: 1.8;
  color: rgba(244, 242, 234, 0.78);
}

.prose {
  max-width: 38em;
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(244, 242, 234, 0.86);
}

.prose > * + * { margin-top: 1.05em; }

.prose h2 {
  margin-top: 2em;
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 1.45rem;
  line-height: 1.35;
  color: var(--jade);
}

.prose h3 {
  margin-top: 1.6em;
  font-size: 1.05rem;
  font-weight: 900;
  font-style: italic;
  color: var(--gold-pale);
}

.prose a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.prose ul { display: grid; gap: 0.4em; }

.prose ul li {
  position: relative;
  padding-left: 1.4em;
}

.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}

.prose ol {
  list-style: decimal;
  padding-left: 1.5em;
}

.prose ol li { padding-left: 0.25em; }

.muted { color: rgba(244, 242, 234, 0.58); }

.stack > * + * { margin-top: var(--stack, 1rem); }

/* 等宽数字 */
.num {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.num--gold { color: var(--gold-pale); }
.num--red { color: var(--red); }
.num--blue { color: var(--blue); }

/* ---------- 7. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.72rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  white-space: nowrap;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              background-color var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}

.btn--gold {
  background-image: linear-gradient(180deg, var(--gold-pale), var(--gold) 46%, var(--gold-deep));
  color: #1A1206;
  font-weight: 700;
  box-shadow: 0 12px 28px -14px rgba(255, 194, 75, 0.8);
}

.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px -12px rgba(255, 194, 75, 0.95);
}

.btn--ghost {
  border-color: rgba(255, 194, 75, 0.42);
  background: var(--glass);
  color: var(--gold-pale);
}

.btn--ghost:hover {
  border-color: var(--gold);
  background: var(--glass-strong);
  transform: translateY(-2px);
}

.btn--blue {
  border-color: rgba(58, 209, 255, 0.4);
  background: rgba(58, 209, 255, 0.07);
  color: var(--blue);
}

.btn--blue:hover {
  background: rgba(58, 209, 255, 0.16);
  transform: translateY(-2px);
}

/* ---------- 8. 面包屑 ---------- */
.breadcrumb { width: 100%; }

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.breadcrumb__item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  color: rgba(244, 242, 234, 0.62);
}

.breadcrumb__item + .breadcrumb__item::before {
  content: "›";
  color: rgba(255, 194, 75, 0.55);
}

.breadcrumb__item a { color: var(--gold-pale); opacity: 0.85; }

.breadcrumb__item a:hover {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.breadcrumb__item[aria-current="page"] { color: var(--gold); }

/* ---------- 9. 网格与卡片 ---------- */
.grid { display: grid; gap: clamp(18px, 2.4vw, 32px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--7-5 { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.grid--8-4 { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }

.card {
  position: relative;
  padding: clamp(18px, 2vw, 26px);
  border: 1px solid var(--hairline-soft);
  border-radius: var(--radius-m);
  background-color: var(--ink-800);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}

.card--glass {
  border-color: var(--hairline);
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.card--solid {
  border-color: var(--hairline-soft);
  background-color: var(--ink-800);
  background-image: linear-gradient(180deg, var(--ink-800), var(--ink-850));
}

.card--offset { margin-top: clamp(8px, 2vw, 24px); }

.card:hover {
  border-color: rgba(255, 194, 75, 0.42);
  transform: translateY(-3px);
  box-shadow: 0 24px 46px -30px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(255, 194, 75, 0.08);
}

.card__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 0.75rem;
}

.card__title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.01em;
  color: var(--jade);
}

.card__title a { transition: color var(--dur) var(--ease); }
.card__title a:hover { color: var(--gold); }

.card__body {
  font-size: 0.94rem;
  line-height: 1.75;
  color: rgba(244, 242, 234, 0.78);
}

.card__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px dashed var(--hairline-soft);
}

/* 标签 */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2em 0.62em;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.tag--gold { color: var(--gold); background: rgba(255, 194, 75, 0.08); }
.tag--red { color: var(--red); background: rgba(255, 59, 78, 0.08); }
.tag--blue { color: var(--blue); background: rgba(58, 209, 255, 0.08); }
.tag--plain { color: rgba(244, 242, 234, 0.6); border-color: rgba(244, 242, 234, 0.2); }

/* ---------- 10. 媒体容器 ---------- */
.media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--hairline-soft);
  border-radius: var(--radius-m);
  background-color: var(--ink-800);
  background-image: linear-gradient(135deg, rgba(42, 42, 53, 0.9), rgba(20, 20, 28, 0.96));
}

.media--wide { aspect-ratio: 21 / 9; }
.media--tall { aspect-ratio: 4 / 5; }
.media--square { aspect-ratio: 1 / 1; }

.media--bevel {
  border-radius: 0;
  clip-path: polygon(0 0, 100% 0, 100% 82%, 88% 100%, 0 100%);
}

.media__frame { position: absolute; inset: 0; }

.media__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.06) contrast(1.05);
}

.media__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(180deg, transparent 38%, rgba(10, 10, 16, 0.86));
}

.media__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.85rem 1rem;
  font-size: 0.8rem;
  line-height: 1.55;
  color: rgba(244, 242, 234, 0.88);
  background-image: linear-gradient(180deg, transparent, rgba(10, 10, 16, 0.92));
}

.media__tag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
}

/* ---------- 11. 显现与返回顶部 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms var(--ease), transform 520ms var(--ease);
}

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

.to-top {
  position: fixed;
  right: clamp(14px, 3vw, 34px);
  bottom: clamp(14px, 3vw, 34px);
  z-index: 70;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.95rem;
  border: 1px solid rgba(255, 194, 75, 0.4);
  border-radius: 999px;
  background: rgba(20, 20, 28, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--gold-pale);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease),
              visibility var(--dur) var(--ease), border-color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}

.to-top.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top:hover {
  border-color: var(--gold);
  box-shadow: 0 0 22px rgba(255, 194, 75, 0.3);
}

/* ---------- 12. 响应式 ---------- */
@media (max-width: 1024px) {
  .grid--3,
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--7-5,
  .grid--8-4 { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  body { background-attachment: scroll; }

  .nav-toggle { display: inline-flex; }

  .site-nav {
    display: none;
    border-top: 1px solid var(--hairline-soft);
  }

  .site-nav[data-open] {
    display: block;
    animation: nav-in 200ms var(--ease) both;
  }

  @keyframes nav-in {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: none; }
  }

  .nav-track {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 4px 0 12px;
    overflow-x: visible;
  }

  .nav-link {
    display: block;
    padding: 0.7rem 0.2rem;
    border-bottom: 1px solid var(--hairline-soft);
    font-size: 1rem;
  }

  .nav-link::after { display: none; }
  .nav-link[aria-current="page"] { color: var(--gold); }

  .brand__name { font-size: clamp(1.35rem, 6.4vw, 2.1rem); }
  .site-header[data-condensed] .brand__name { font-size: clamp(1.25rem, 5.4vw, 1.7rem); }

  .buoy__time { display: none; }

  .footer-legal { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .grid--2,
  .grid--3,
  .grid--4 { grid-template-columns: minmax(0, 1fr); }

  .footer-grid { grid-template-columns: minmax(0, 1fr); }

  .footer-line {
    grid-template-columns: 1fr auto;
    row-gap: 0.2rem;
  }

  .footer-key { grid-column: 1; }
  .copy-btn { grid-column: 2; justify-self: end; }
  .footer-val { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

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

  .reveal { opacity: 1; transform: none; }
  .site-header::before { display: none; }
}
