/* ==========================================================================
   皇家娱乐在线 · 共享站点样式 /assets/site.css
   夜宴蓝图体系：深藏青底 + 香槟金结构线 + 展签式组件
   ========================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}

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

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

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

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

a { color: inherit; text-decoration: none; }

:root {
  --navy-950: #0A1826;
  --navy-900: #0C2032;
  --navy-800: #102A40;
  --ink-950: #040A10;

  --gold: #C6A15B;
  --gold-light: #E8D3A3;
  --gold-deep: #9C7A3C;
  --burgundy: #6B1F2A;
  --ivory: #F4ECDF;
  --mist: #93A7B8;
  --jade: #3E7C70;

  --gold-08: rgba(198, 161, 91, 0.08);
  --gold-16: rgba(198, 161, 91, 0.16);
  --gold-28: rgba(198, 161, 91, 0.28);
  --gold-32: rgba(198, 161, 91, 0.32);
  --ivory-70: rgba(244, 236, 223, 0.72);
  --ivory-12: rgba(244, 236, 223, 0.12);

  --font-display: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", Georgia, serif;
  --font-body: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-fine: "Cormorant Garamond", "EB Garamond", Georgia, "Times New Roman", serif;

  --shell-max: 1320px;
  --gutter: clamp(18px, 4vw, 56px);
  --frame-gap: clamp(14px, 2vw, 30px);
}

body {
  min-height: 100vh;
  background-color: var(--navy-950);
  background-image:
    radial-gradient(130% 55% at 50% -18%, rgba(198, 161, 91, 0.12), transparent 62%),
    linear-gradient(180deg, #0A1826 0%, #08131F 58%, #050C14 100%);
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: clamp(16px, 0.35vw + 15px, 18px);
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: 0.012em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: 0.03em;
  color: var(--ivory);
}

p { max-width: 72ch; }

strong { color: var(--gold-light); font-weight: 700; }

::selection { background: var(--gold); color: var(--navy-950); }

:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
}

/* ---------- 无障碍基础 ---------- */
.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;
}

.skip-link {
  position: fixed;
  top: 10px; left: 10px;
  z-index: 300;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--navy-950);
  background: linear-gradient(150deg, var(--gold-light), var(--gold));
  border: 1px solid var(--gold-light);
  box-shadow: 4px 4px 0 rgba(107, 31, 42, 0.9);
  transform: translateY(-220%);
  transition: transform 0.22s ease;
}
.skip-link:focus { transform: translateY(0); }

/* ==========================================================================
   头部框架梁
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  color: var(--ivory);
  background: linear-gradient(180deg, rgba(10, 24, 38, 0.98), rgba(9, 21, 34, 0.93));
  border-bottom: 1px solid var(--gold-32);
  box-shadow: 0 18px 40px rgba(4, 10, 16, 0.5);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.site-header::before {
  content: "";
  display: block;
  height: 2px;
  background: linear-gradient(90deg, var(--burgundy) 0 14%, var(--gold) 14% 56%, var(--gold-light) 56% 68%, rgba(198, 161, 91, 0.12) 68% 100%);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 26px);
  width: 100%;
  max-width: var(--shell-max);
  margin: 0 auto;
  padding: 12px var(--gutter);
}

/* ---------- 品牌 ---------- */
.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  flex: 0 0 auto;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
  color: var(--navy-950);
  background: linear-gradient(158deg, var(--gold-light) 0%, var(--gold) 58%, var(--gold-deep) 100%);
  border: 1px solid var(--gold-light);
  box-shadow: 4px 4px 0 rgba(4, 10, 16, 0.62);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.brand:hover .brand__mark,
.brand:focus-visible .brand__mark {
  transform: translate(-1px, -1px);
  box-shadow: 6px 6px 0 rgba(107, 31, 42, 0.85);
}

.brand__text { display: block; }

.brand__name {
  display: block;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.1em;
  color: var(--ivory);
}

.brand__meta {
  display: block;
  margin-top: 4px;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  line-height: 1.4;
  color: var(--mist);
  text-transform: uppercase;
}

/* ---------- 主导航 ---------- */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1 1 auto;
  min-width: 0;
}

.site-nav__list {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
}

.site-nav__item { position: relative; }

.site-nav__item + .site-nav__item { border-left: 1px solid var(--gold-16); }

.site-nav__link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 10px 13px;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.4;
  color: var(--ivory);
  white-space: nowrap;
  transition: color 0.2s ease;
}

.site-nav__link::after {
  content: "";
  position: absolute;
  left: 13px; right: 13px; bottom: 4px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.28s ease;
}

.site-nav__link:hover,
.site-nav__link:focus-visible { color: var(--gold-light); }

.site-nav__link:hover::after,
.site-nav__link:focus-visible::after { transform: scaleX(1); }

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

.site-nav__link[aria-current="page"]::after {
  transform: scaleX(1);
  background: var(--gold-light);
  box-shadow: 0 0 12px rgba(232, 211, 163, 0.65);
}

.site-nav__index {
  font-family: var(--font-fine);
  font-style: italic;
  font-size: 11px;
  letter-spacing: 0.02em;
  color: var(--gold);
  opacity: 0.9;
}

.site-nav__aside { display: none; }

.site-nav__note {
  margin-bottom: 14px;
  max-width: none;
  font-size: 12.5px;
  line-height: 1.8;
  letter-spacing: 0.04em;
  color: var(--mist);
}

/* ---------- 头部动作区 ---------- */
.site-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.header-cta {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  white-space: nowrap;
  color: var(--navy-950);
  background: linear-gradient(150deg, var(--gold-light), var(--gold));
  border: 1px solid var(--gold-light);
  box-shadow: 4px 4px 0 rgba(107, 31, 42, 0.9);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.header-cta:hover,
.header-cta:focus-visible {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 rgba(107, 31, 42, 0.9);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  color: var(--ivory);
  font-size: 12px;
  letter-spacing: 0.16em;
  border: 1px solid var(--gold-32);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}
.nav-toggle:hover,
.nav-toggle:focus-visible {
  color: var(--gold-light);
  border-color: var(--gold);
  background: var(--gold-08);
}

.nav-toggle__bars {
  display: inline-block;
  width: 20px;
  flex: 0 0 auto;
}
.nav-toggle__bars span {
  display: block;
  height: 1.5px;
  margin: 4px 0;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) {
  transform: translateY(3px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) {
  transform: translateY(-3px) rotate(-45deg);
}

.nav-toggle__label { white-space: nowrap; }

/* ---------- 阅读进度 ---------- */
.read-progress {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: rgba(198, 161, 91, 0.14);
  overflow: hidden;
  pointer-events: none;
}
.read-progress__bar {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  box-shadow: 0 0 10px rgba(232, 211, 163, 0.75);
  transition: width 0.1s linear;
}

/* ---------- 移动端 ---------- */
@media (max-width: 1019.98px) {
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    display: block;
    flex: none;
    max-height: calc(100vh - 96px);
    overflow-y: auto;
    padding: 8px var(--gutter) 26px;
    background: linear-gradient(180deg, #0C2032 0%, #07131F 100%);
    border-bottom: 1px solid var(--gold-32);
    box-shadow: 0 30px 60px rgba(4, 10, 16, 0.7);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-12px);
    pointer-events: none;
    transition: opacity 0.26s ease, transform 0.26s ease, visibility 0.26s ease;
  }

  .site-nav[data-open="true"] {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .site-nav__list { display: block; }

  .site-nav__item + .site-nav__item {
    border-left: 0;
    border-top: 1px solid var(--gold-16);
  }

  .site-nav__link {
    display: flex;
    padding: 15px 0;
    font-size: 17px;
    letter-spacing: 0.1em;
  }
  .site-nav__link::after {
    left: 0; right: auto; bottom: 11px;
    width: 26px;
  }

  .site-nav__index { font-size: 12px; }

  .site-nav__aside {
    display: block;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--gold-16);
  }
}

@media (min-width: 1020px) {
  .header-cta { display: inline-flex; }
  .nav-toggle { display: none; }
}

/* ==========================================================================
   页脚
   ========================================================================== */
.site-footer {
  position: relative;
  margin-top: clamp(56px, 8vw, 120px);
  color: var(--ivory-70);
  background-color: var(--ink-950);
  background-image:
    repeating-linear-gradient(90deg, rgba(198, 161, 91, 0.05) 0 1px, transparent 1px 120px),
    linear-gradient(180deg, #071624 0%, #040A10 72%);
}

.site-footer::before {
  content: "";
  display: block;
  height: 2px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 32%, rgba(198, 161, 91, 0.18) 74%, transparent 100%);
}

.footer-inner {
  width: 100%;
  max-width: var(--shell-max);
  margin: 0 auto;
  padding: clamp(38px, 5vw, 76px) var(--gutter) 30px;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(26px, 4vw, 64px);
  align-items: start;
}

.footer-brand { padding-top: 6px; }

.footer-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.footer-eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gold);
  flex: 0 0 auto;
}

.footer-brand__name {
  margin-top: 20px;
  font-family: var(--font-display);
  font-size: clamp(30px, 4.4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0.06em;
  background: linear-gradient(120deg, var(--ivory) 0%, var(--gold-light) 46%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.footer-summary {
  margin-top: 18px;
  max-width: 34ch;
  font-size: 15.5px;
  line-height: 1.9;
  color: var(--mist);
}

/* 联络铭牌 */
.footer-contact {
  position: relative;
  padding: 24px 24px 20px;
  border: 1px solid var(--gold-28);
  background: linear-gradient(160deg, rgba(16, 42, 64, 0.78), rgba(8, 19, 31, 0.5));
  box-shadow: 8px 8px 0 rgba(4, 10, 16, 0.7);
}

.footer-contact__title {
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--gold-16);
}

.footer-contact__row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px dashed rgba(198, 161, 91, 0.16);
}
.footer-contact__row:last-of-type { border-bottom: 0; }

.footer-contact__label {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--gold);
}

.footer-contact__value {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ivory);
  word-break: break-word;
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 10px;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--mist);
  border: 1px solid var(--gold-32);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}
.copy-btn:hover,
.copy-btn:focus-visible {
  color: var(--navy-950);
  background: var(--gold-light);
  border-color: var(--gold-light);
}
.copy-btn[data-state="done"] {
  color: var(--navy-950);
  background: var(--jade);
  border-color: var(--jade);
}

.copy-btn__text { white-space: nowrap; }

.footer-contact__note {
  margin-top: 14px;
  max-width: none;
  font-size: 12.5px;
  line-height: 1.8;
  letter-spacing: 0.03em;
  color: var(--mist);
}

.footer-contact__status {
  margin-top: 6px;
  min-height: 1.2em;
  max-width: none;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--jade);
}

/* 三列入口 */
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 48px);
  margin-top: clamp(38px, 5vw, 72px);
  padding-top: clamp(26px, 3vw, 40px);
  border-top: 1px solid var(--gold-16);
}

.footer-col__title {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.footer-col__list { margin-top: 14px; }

.footer-col__link {
  display: inline-block;
  padding: 6px 0;
  font-size: 15px;
  letter-spacing: 0.04em;
  color: rgba(244, 236, 223, 0.72);
  background-image: linear-gradient(var(--gold-light), var(--gold-light));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0 1px;
  transition: color 0.22s ease, background-size 0.28s ease;
}
.footer-col__link:hover,
.footer-col__link:focus-visible {
  color: var(--gold-light);
  background-size: 100% 1px;
}

/* 底座 */
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px 28px;
  margin-top: clamp(30px, 4vw, 56px);
  padding-top: 20px;
  border-top: 1px solid var(--gold-16);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--mist);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  max-width: none;
}

.footer-legal__item { white-space: nowrap; }

.footer-meta {
  max-width: none;
  color: rgba(147, 167, 184, 0.82);
}

/* ==========================================================================
   通用组件
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 860px; }

.section {
  position: relative;
  padding-block: clamp(48px, 7vw, 110px);
}

.section--midnight {
  background: linear-gradient(180deg, #0C2032 0%, #0A1826 100%);
  border-block: 1px solid var(--gold-16);
}

.section--ivory {
  background: var(--ivory);
  color: var(--navy-950);
}
.section--ivory h1,
.section--ivory h2,
.section--ivory h3,
.section--ivory h4 { color: var(--navy-950); }
.section--ivory .eyebrow { color: #8A6A2F; }
.section--ivory .eyebrow::before { background: #8A6A2F; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
  flex: 0 0 auto;
}

.rule {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, var(--gold), rgba(198, 161, 91, 0));
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.1em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn--gold {
  color: var(--navy-950);
  background: linear-gradient(150deg, var(--gold-light), var(--gold));
  border-color: var(--gold-light);
  box-shadow: 5px 5px 0 rgba(107, 31, 42, 0.85);
}
.btn--gold:hover,
.btn--gold:focus-visible {
  transform: translate(3px, 3px);
  box-shadow: 2px 2px 0 rgba(107, 31, 42, 0.85);
}

.btn--ghost {
  color: var(--gold-light);
  background: rgba(198, 161, 91, 0.06);
  border-color: var(--gold-32);
}
.btn--ghost:hover,
.btn--ghost:focus-visible {
  color: var(--ivory);
  background: rgba(198, 161, 91, 0.16);
  border-color: var(--gold);
}

.btn--block {
  display: flex;
  width: 100%;
}

/* 面包屑 */
.breadcrumb { padding-top: 16px; }

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--mist);
}

.breadcrumb__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.breadcrumb__link { color: var(--mist); transition: color 0.2s ease; }
.breadcrumb__link:hover,
.breadcrumb__link:focus-visible { color: var(--gold-light); }

.breadcrumb__sep { color: var(--gold-32); }

.breadcrumb__current { color: var(--ivory); }

/* 12 栏蓝图网格 */
.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 28px);
}

@media (max-width: 760px) {
  .grid-12 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

/* 展签卡片 */
.plate {
  position: relative;
  padding: 26px 24px 24px;
  border: 1px solid var(--gold-32);
  background: linear-gradient(165deg, rgba(16, 42, 64, 0.9), rgba(10, 24, 38, 0.72));
  box-shadow: 8px 8px 0 rgba(4, 10, 16, 0.62);
  transition: border-color 0.24s ease, box-shadow 0.24s ease, transform 0.24s ease;
}
.plate:hover {
  border-color: var(--gold);
  box-shadow: 10px 10px 0 rgba(4, 10, 16, 0.72);
  transform: translateY(-2px);
}

.plate__num {
  display: block;
  font-family: var(--font-fine);
  font-style: italic;
  font-size: 15px;
  letter-spacing: 0.08em;
  color: var(--gold);
}

.plate__title {
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 800;
  line-height: 1.24;
  color: var(--ivory);
}

.plate__body {
  margin-top: 10px;
  max-width: 40ch;
  font-size: 15px;
  line-height: 1.82;
  color: var(--ivory-70);
}

/* 图片容器基础规则 */
.media-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--gold-28);
  background-color: var(--navy-800);
  background-image:
    radial-gradient(80% 70% at 28% 14%, rgba(198, 161, 91, 0.2), transparent 62%),
    linear-gradient(160deg, #102A40 0%, #050D16 100%);
  box-shadow: 10px 10px 0 rgba(4, 10, 16, 0.55);
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 90px rgba(4, 10, 16, 0.78);
  pointer-events: none;
}

.media-frame__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-frame__img[alt]:not([alt=""]) { display: block; }

.media-frame__caption {
  position: absolute;
  left: 0; bottom: 0;
  z-index: 2;
  max-width: calc(100% - 20px);
  padding: 8px 14px;
  font-size: 11px;
  letter-spacing: 0.16em;
  line-height: 1.6;
  color: var(--gold-light);
  background: rgba(4, 10, 16, 0.84);
  border-top: 1px solid var(--gold-32);
  border-right: 1px solid var(--gold-32);
}

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

/* 章节高亮目录（页面阶段配合 data-chapter-link 使用） */
[data-chapter-link] {
  transition: color 0.22s ease, border-color 0.22s ease;
}
[data-chapter-link][aria-current="true"] {
  color: var(--gold-light);
  border-color: var(--gold-light);
}
[data-chapter-link][aria-current="true"]::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 1px;
  margin-right: 8px;
  vertical-align: middle;
  background: var(--gold-light);
}

/* 显现动效 */
.has-js [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.44s ease, transform 0.44s ease;
}
.has-js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   响应式与动效偏好
   ========================================================================== */
@media (max-width: 860px) {
  .footer-top { grid-template-columns: minmax(0, 1fr); }
  .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand__name { letter-spacing: 0.04em; }
}

@media (max-width: 560px) {
  html { scroll-padding-top: 88px; }

  .brand__mark { width: 40px; height: 40px; font-size: 21px; }
  .brand__name { font-size: 17px; letter-spacing: 0.08em; }
  .brand__meta { font-size: 9.5px; letter-spacing: 0.12em; }

  .site-header__inner { padding: 10px var(--gutter); gap: 8px; }

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

  .footer-contact { padding: 20px 18px 16px; box-shadow: 6px 6px 0 rgba(4, 10, 16, 0.7); }

  .footer-contact__row { grid-template-columns: 46px minmax(0, 1fr); row-gap: 6px; }
  .footer-contact__row .copy-btn { grid-column: 2; justify-self: start; }

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

  .plate { padding: 22px 18px 20px; }
  .media-frame { box-shadow: 6px 6px 0 rgba(4, 10, 16, 0.55); }
}

@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;
  }

  .has-js [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .skip-link { transition: none; }
  .read-progress__bar { transition: none; }
  .plate:hover { transform: none; }
}
