/* ============================================================
   天天娱乐会馆 · 共享样式 /assets/site.css
   奶油纸底 · 深空蓝轨道 · 琥珀金 × 珊瑚红 聚场暖色
   ============================================================ */

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

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

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

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

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

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

table { border-collapse: collapse; }

/* ---------- 02 Tokens ---------- */
:root {
  --paper: #FBF3E2;
  --card: #FFFDF7;
  --ink: #241C17;
  --ink-soft: rgba(36, 28, 23, .70);
  --ink-faint: rgba(36, 28, 23, .46);
  --amber: #FFB300;
  --amber-deep: #8F5B00;
  --coral: #FF6F61;
  --coral-deep: #C7362A;
  --navy: #1A2A44;
  --mist: #E6ECF5;
  --grey: #6E6055;
  --rule: rgba(36, 28, 23, .18);
  --rule-strong: rgba(36, 28, 23, .42);
  --rail-w: 88px;
  --bar-h: 64px;
  --maxw: 1280px;
  --font-sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system,
    "Segoe UI", Roboto, sans-serif;
  --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC",
    "SimSun", Georgia, serif;
  --font-mono: "IBM Plex Mono", "JetBrains Mono", ui-monospace,
    SFMono-Regular, Menlo, Consolas, "Courier New", monospace;
}

/* ---------- 03 Base ---------- */
body {
  min-height: 100vh;
  padding-top: var(--bar-h);
  background-color: var(--paper);
  background-image:
    linear-gradient(to right, rgba(36, 28, 23, .045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(36, 28, 23, .045) 1px, transparent 1px);
  background-size: 96px 96px, 96px 96px;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.02em;
}

h1 { font-size: clamp(40px, 8.5vw, 128px); }
h2 { font-size: clamp(24px, 3.2vw, 40px); }
h3 { font-size: clamp(19px, 2vw, 26px); }

p { max-width: 40em; }

a {
  color: var(--amber-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover { color: var(--coral-deep); }

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 3px;
}

#main-content { scroll-margin-top: calc(var(--bar-h) + 20px); }

/* ---------- 04 容器 ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

.wrap--narrow { max-width: 780px; }
.wrap--wide { max-width: 1440px; }

/* ---------- 05 跳过链接 ---------- */
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 200;
  display: inline-block;
  padding: 11px 18px;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--amber);
  font-size: 14px;
  letter-spacing: .1em;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform .18s ease;
}

.skip-link:focus {
  transform: translateY(0);
  color: var(--amber);
}

/* ---------- 06 阅读进度线 ---------- */
.read-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(36, 28, 23, .10);
  z-index: 120;
  pointer-events: none;
}

.read-progress__bar {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--amber) 0%, var(--coral) 100%);
  transform: scaleX(0);
  transform-origin: 0 50%;
  will-change: transform;
}

/* ---------- 07 站点头部包裹 ---------- */
.site-header {
  position: relative;
  z-index: 110;
}

/* ---------- 08 移动端顶栏 ---------- */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--bar-h);
  z-index: 65;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 16px;
  background: var(--navy);
  color: var(--paper);
  border-bottom: 1px solid rgba(255, 179, 0, .32);
}

.topbar__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--paper);
  min-width: 0;
}

.topbar__mark {
  display: inline-block;
  padding: 5px 8px;
  background: var(--amber);
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .04em;
  line-height: 1.1;
}

.topbar__word {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .16em;
  white-space: nowrap;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  background: transparent;
  border: 1px solid rgba(255, 179, 0, .55);
  color: var(--paper);
  font-size: 13px;
  letter-spacing: .14em;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease;
}

.nav-toggle:hover {
  background: rgba(255, 179, 0, .14);
  border-color: var(--amber);
}

.nav-toggle__bars {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 18px;
  height: 14px;
}

.nav-toggle__bars i {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--amber);
  transition: transform .2s ease, opacity .2s ease;
}

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

.nav-toggle__text { line-height: 1; }

/* ---------- 09 侧边轨道导航（移动端抽屉） ---------- */
.rail {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 110;
  display: flex;
  flex-direction: column;
  width: min(86vw, 320px);
  background: var(--navy);
  background-image:
    radial-gradient(120% 60% at 50% 0%, rgba(255, 179, 0, .16), transparent 62%);
  color: var(--paper);
  border-right: 1px solid rgba(255, 179, 0, .35);
  overflow-y: auto;
  overscroll-behavior: contain;
  transform: translateX(-102%);
  transition: transform .3s cubic-bezier(.4, 0, .2, 1);
}

.rail[data-open] { transform: translateX(0); }

.rail__brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  padding: 22px 22px 16px;
  text-decoration: none;
  color: var(--paper);
  border-bottom: 1px solid rgba(255, 179, 0, .24);
}

.rail__brand-ch {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  background: var(--amber);
  color: var(--ink);
  font-size: 17px;
  font-weight: 900;
  line-height: 1;
}

.rail__list {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 10px 0 8px;
}

.rail__item { display: block; }

.rail__link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 22px;
  color: rgba(251, 243, 226, .74);
  text-decoration: none;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: .05em;
  border-left: 3px solid transparent;
  transition: color .18s ease, background-color .18s ease,
    border-color .18s ease;
}

.rail__link:hover,
.rail__link:focus-visible {
  color: var(--paper);
  background: rgba(255, 179, 0, .12);
  border-left-color: var(--amber);
}

.rail__num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  color: rgba(255, 179, 0, .88);
  flex: 0 0 auto;
}

.rail__label { display: inline; }

.rail__link[aria-current="page"] {
  color: var(--paper);
  background: rgba(255, 179, 0, .16);
  border-left-color: var(--coral);
}

.rail__link[aria-current="page"] .rail__num { color: var(--amber); }

.rail__link[aria-current="page"] .rail__label::after {
  content: "";
  display: block;
  height: 2px;
  margin-top: 3px;
  background: var(--coral);
}

.rail__foot {
  display: flex;
  justify-content: center;
  padding: 16px 22px 26px;
  border-top: 1px solid rgba(255, 179, 0, .24);
}

.rail__cta {
  display: inline-block;
  padding: 13px 22px;
  background: var(--amber);
  border: 1px solid var(--amber);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .2em;
  text-decoration: none;
  text-align: center;
  transition: background-color .18s ease, color .18s ease,
    border-color .18s ease;
}

.rail__cta:hover {
  background: var(--coral);
  border-color: var(--coral);
  color: #FFFDF7;
}

/* ---------- 10 抽屉遮罩 ---------- */
.rail-scrim {
  position: fixed;
  inset: 0;
  z-index: 105;
  background: rgba(26, 42, 68, .62);
  cursor: pointer;
  animation: scrim-in .2s ease;
}

.rail-scrim[hidden] { display: none; }

@keyframes scrim-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ---------- 11 桌面端布局 ---------- */
@media (min-width: 1024px) {
  body {
    padding-top: 0;
    padding-left: var(--rail-w);
    font-size: 17px;
    line-height: 1.9;
  }

  .topbar { display: none; }

  .rail-scrim,
  .rail-scrim[hidden] { display: none; }

  .rail,
  .rail[data-open] {
    width: var(--rail-w);
    transform: none;
    transition: none;
    background-image:
      radial-gradient(120% 40% at 50% 0%, rgba(255, 179, 0, .20), transparent 66%),
      radial-gradient(120% 40% at 50% 100%, rgba(255, 111, 97, .12), transparent 66%);
  }

  .rail__brand {
    flex-direction: column;
    gap: 3px;
    padding: 20px 0 18px;
    border-bottom: 0;
  }

  .rail__brand-ch {
    width: 38px;
    height: 38px;
    font-size: 22px;
  }

  .rail__list { padding: 0; }

  .rail__link {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 15px 6px;
    font-size: 10px;
    text-align: center;
    border-left: 3px solid transparent;
  }

  .rail__num { font-size: 13px; letter-spacing: .1em; }

  .rail__label {
    display: block;
    max-width: 70px;
    font-size: 10px;
    line-height: 1.45;
    letter-spacing: .06em;
  }

  .rail__link[aria-current="page"] .rail__label::after { display: none; }

  .rail__foot {
    flex-direction: column;
    padding: 14px 8px 22px;
  }

  .rail__cta {
    writing-mode: vertical-rl;
    text-orientation: upright;
    padding: 14px 9px;
    font-size: 12px;
    letter-spacing: .22em;
  }

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

/* ---------- 12 站点页脚 ---------- */
.site-footer {
  margin-top: 0;
  background: var(--navy);
  background-image:
    radial-gradient(90% 60% at 12% 0%, rgba(255, 179, 0, .14), transparent 60%),
    radial-gradient(80% 70% at 88% 100%, rgba(255, 111, 97, .14), transparent 62%);
  color: rgba(251, 243, 226, .86);
  border-top: 4px solid var(--amber);
}

.site-footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 52px 20px 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 38px;
}

.site-footer__brand { max-width: 26em; }

.site-footer__logo {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: .04em;
  color: var(--paper);
  max-width: none;
}

.site-footer__line {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  color: rgba(255, 179, 0, .9);
  max-width: none;
}

.site-footer__closing {
  margin-top: 18px;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(251, 243, 226, .74);
}

.site-footer__nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 20px;
}

.foot-col { min-width: 0; }

.foot-col__title {
  margin-bottom: 14px;
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(255, 179, 0, .32);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .26em;
  color: var(--amber);
}

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

.foot-col__list a {
  display: inline-block;
  color: rgba(251, 243, 226, .84);
  font-size: 15px;
  letter-spacing: .05em;
  text-decoration: none;
  transition: color .18s ease, padding-left .18s ease;
}

.foot-col__list a:hover,
.foot-col__list a:focus-visible {
  color: var(--amber);
  padding-left: 6px;
}

.foot-contact {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 10px 12px;
  font-size: 14px;
  line-height: 1.7;
}

.foot-contact dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: rgba(255, 179, 0, .85);
  padding-top: 3px;
}

.foot-contact dd {
  color: rgba(251, 243, 226, .9);
  overflow-wrap: anywhere;
}

.site-footer__base {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px 20px 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 26px;
  border-top: 1px solid rgba(255, 179, 0, .24);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: rgba(251, 243, 226, .62);
}

.site-footer__base p { max-width: none; }

@media (min-width: 700px) {
  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 44px;
  }
  .site-footer__nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
  }
  .site-footer__contact { grid-column: 1 / -1; }
}

@media (min-width: 1080px) {
  .site-footer__inner {
    grid-template-columns: 1.1fr 2.1fr 1.1fr;
    gap: 56px;
    padding: 64px 20px 48px;
  }
  .site-footer__contact { grid-column: auto; }
}

/* ---------- 13 通用排版块 ---------- */
.breadcrumb { padding: 26px 0 0; }

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--grey);
}

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

.breadcrumb__item + .breadcrumb__item::before {
  content: "/";
  color: var(--rule-strong);
}

.breadcrumb__link {
  color: var(--amber-deep);
  text-decoration: none;
}

.breadcrumb__link:hover { color: var(--coral-deep); }

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

.page-head { padding: 30px 0 0; }

.page-head__kicker {
  display: block;
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .3em;
  color: var(--amber-deep);
}

.page-head__title {
  font-size: clamp(38px, 6.4vw, 92px);
  line-height: 1.02;
  letter-spacing: -.03em;
}

.page-head__lede {
  margin-top: 20px;
  max-width: 34em;
  font-size: 17px;
  color: var(--ink-soft);
}

.section { padding: 52px 0 0; }

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px 20px;
  padding-bottom: 14px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--rule);
}

.section__title { font-size: clamp(22px, 2.8vw, 34px); }

.section__note {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--grey);
}

.rule {
  height: 1px;
  border: 0;
  margin: 0;
  background: var(--rule);
}

.rule--strong { background: var(--rule-strong); }

/* ---------- 14 网格与卡片 ---------- */
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

@media (min-width: 700px) {
  .grid { gap: 26px; }
  .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1080px) {
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.card {
  position: relative;
  isolation: isolate;
  padding: 26px 24px 30px;
  background: var(--card);
  border: 1px solid var(--rule);
  transition: background-color .2s ease, outline-color .2s ease;
  outline: 1px solid transparent;
  outline-offset: 6px;
}

.card:hover,
.card:focus-within {
  background: var(--mist);
  outline-color: var(--amber);
}

.card > *:not(.card__num) {
  position: relative;
  z-index: 1;
}

.card .card__num {
  position: absolute;
  right: 14px;
  bottom: 2px;
  z-index: 0;
  margin: 0;
  font-family: var(--font-mono);
  font-size: clamp(52px, 6vw, 78px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.02em;
  color: rgba(255, 179, 0, .34);
  pointer-events: none;
}

.card__title {
  margin-bottom: 8px;
  font-size: 21px;
  letter-spacing: -.01em;
}

.card__text {
  max-width: 30em;
  font-size: 15px;
  line-height: 1.8;
  color: var(--grey);
}

/* ---------- 15 竖排旁注 ---------- */
.side-note {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: var(--font-serif);
  font-size: 12px;
  letter-spacing: .3em;
  color: var(--ink-soft);
  max-width: none;
}

/* ---------- 16 图片容器 ---------- */
.media-frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: var(--mist);
  background-image:
    radial-gradient(120% 90% at 20% 16%, rgba(255, 179, 0, .5), transparent 62%),
    radial-gradient(120% 90% at 84% 78%, rgba(255, 111, 97, .42), transparent 62%),
    linear-gradient(160deg, #FFFDF7 0%, #E6ECF5 100%);
  border: 1px solid var(--rule);
}

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

.media-frame > img,
.media-frame > picture > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame__caption {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  padding: 7px 13px;
  background: var(--navy);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
}

/* ---------- 17 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  background: var(--card);
  border: 1px solid var(--ink);
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .1em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease,
    border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translate(-3px, -3px);
  box-shadow: 4px 4px 0 var(--ink);
  color: var(--ink);
}

.btn--primary {
  background: var(--coral);
  border-color: var(--coral-deep);
  color: #FFFDF7;
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--coral-deep);
  border-color: var(--coral-deep);
  color: #FFFDF7;
  box-shadow: 4px 4px 0 var(--ink);
}

.btn--gold {
  background: var(--amber);
  border-color: var(--amber-deep);
  color: var(--ink);
}

.btn--gold:hover,
.btn--gold:focus-visible {
  background: var(--amber);
  border-color: var(--ink);
  color: var(--ink);
}

.btn--ghost {
  background: transparent;
  border-color: var(--rule-strong);
  color: var(--ink);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: var(--mist);
  border-color: var(--amber);
}

/* ---------- 18 长文 ---------- */
.prose {
  max-width: 38em;
  font-size: 17px;
  line-height: 1.9;
}

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

.prose h2 {
  margin-top: 2.2em;
  font-size: 26px;
  letter-spacing: -.01em;
}

.prose h3 {
  margin-top: 1.8em;
  font-size: 20px;
}

.prose ul,
.prose ol {
  padding-left: 1.5em;
}

.prose ul { list-style: square; }
.prose ol { list-style: decimal; }

.prose li + li { margin-top: .55em; }

.prose blockquote {
  padding: 12px 18px;
  background: var(--mist);
  border-left: 3px solid var(--amber);
  color: var(--grey);
  max-width: none;
}

.prose code {
  font-family: var(--font-mono);
  font-size: .92em;
  padding: 1px 5px;
  background: var(--mist);
  border: 1px solid var(--rule);
}

/* ---------- 19 表格 ---------- */
.data-table {
  width: 100%;
  background: var(--card);
  font-size: 15px;
}

.data-table th,
.data-table td {
  padding: 13px 16px;
  border: 1px solid var(--rule);
  text-align: left;
  vertical-align: top;
}

.data-table thead th {
  background: var(--navy);
  color: var(--amber);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  white-space: nowrap;
}

.data-table tbody tr:nth-child(even) { background: var(--mist); }

.data-table tbody tr:hover { background: rgba(255, 179, 0, .18); }

/* ---------- 20 标签 ---------- */
.tag {
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid var(--amber-deep);
  color: var(--amber-deep);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  line-height: 1.6;
}

.tag--coral {
  border-color: var(--coral-deep);
  color: var(--coral-deep);
}

.tag--navy {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--amber);
}

/* ---------- 21 折叠问答 ---------- */
.acc {
  background: var(--card);
  border: 1px solid var(--rule);
}

.acc__item + .acc__item { border-top: 1px solid var(--rule); }

.acc__trigger {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 18px 20px;
  background: transparent;
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .01em;
  text-align: left;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease;
}

.acc__trigger:hover { background: var(--mist); }

.acc__idx {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--amber-deep);
}

.acc__mark {
  position: relative;
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-left: auto;
}

.acc__mark::before,
.acc__mark::after {
  content: "";
  position: absolute;
  background: var(--coral-deep);
}

.acc__mark::before {
  left: 0;
  right: 0;
  top: 7px;
  height: 2px;
}

.acc__mark::after {
  top: 0;
  bottom: 0;
  left: 7px;
  width: 2px;
  transition: transform .2s ease;
}

.acc__trigger[aria-expanded="true"] {
  background: var(--mist);
}

.acc__trigger[aria-expanded="true"] .acc__mark::after {
  transform: scaleY(0);
}

.acc__panel {
  padding: 4px 20px 22px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--grey);
}

.acc__panel[hidden] { display: none; }

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

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

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

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

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

  .btn:hover,
  .btn:focus-visible {
    transform: none;
    box-shadow: none;
  }
}
