/* ==========================================================================
   拉菲娱乐注册 · Site Kit 共享样式 /assets/site.css
   档案柜隐喻：编号索引、暖金发丝线、酒红与墨绿分区
   ========================================================================== */

:root {
  --lf-wine: #7B1E2B;
  --lf-wine-deep: #511018;
  --lf-wine-soft: #A8404F;
  --lf-gold: #C9A15B;
  --lf-gold-soft: #E3C88F;
  --lf-green: #1F3B34;
  --lf-green-soft: #3E6B5E;
  --lf-cream: #F6F1E7;
  --lf-paper: #FBF8F2;
  --lf-ink: #171412;
  --lf-muted: #8A8178;
  --lf-body-soft: #544B44;
  --lf-line: rgba(23, 20, 18, 0.12);
  --lf-line-soft: rgba(23, 20, 18, 0.07);
  --lf-hairline-gold: rgba(201, 161, 91, 0.38);
  --lf-serif: "Source Han Serif SC", "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --lf-sans: "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --lf-mono: "SFMono-Regular", "SF Mono", Menlo, Consolas, "Courier New", monospace;
  --lf-radius: 18px;
  --lf-radius-sm: 12px;
  --lf-shadow: 0 26px 44px -34px rgba(23, 20, 18, 0.55);
  --lf-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

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

body {
  margin: 0;
  background: var(--lf-cream);
  color: var(--lf-ink);
  font-family: var(--lf-sans);
  font-size: 17px;
  line-height: 1.8;
  font-weight: 400;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6, p, figure, blockquote, ul, ol, dl { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video, canvas { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }

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

::selection {
  background: var(--lf-wine);
  color: var(--lf-paper);
}

/* ---------- 排版基础 ---------- */
.lf-shell {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 56px);
}

.lf-prose {
  max-width: 72ch;
  font-size: 17px;
  line-height: 1.85;
  color: var(--lf-body-soft);
}
.lf-prose p { margin-bottom: 1.1em; }
.lf-prose h2,
.lf-prose h3 {
  font-family: var(--lf-serif);
  color: var(--lf-ink);
  font-weight: 800;
  line-height: 1.2;
  margin: 1.6em 0 0.6em;
}
.lf-prose h2 { font-size: clamp(24px, 3vw, 32px); }
.lf-prose h3 { font-size: clamp(19px, 2.2vw, 24px); }
.lf-prose ul,
.lf-prose ol { padding-left: 1.3em; margin-bottom: 1.1em; }
.lf-prose ul { list-style: square; }
.lf-prose ol { list-style: decimal; }
.lf-prose li { margin-bottom: 0.4em; }
.lf-prose strong { color: var(--lf-ink); font-weight: 700; }
.lf-prose a {
  color: var(--lf-wine);
  text-decoration: none;
  border-bottom: 1px solid var(--lf-gold);
}

.lf-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--lf-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lf-wine);
  margin-bottom: 12px;
}
.lf-eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--lf-gold);
  flex: none;
}

/* ---------- 通用按钮 ---------- */
.lf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--lf-sans);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.22s var(--lf-ease), color 0.22s var(--lf-ease),
    border-color 0.22s var(--lf-ease), transform 0.22s var(--lf-ease);
}
.lf-btn--primary { background: var(--lf-wine); color: var(--lf-paper); }
.lf-btn--primary:hover { background: var(--lf-wine-deep); transform: translateY(-1px); }
.lf-btn--gold { background: var(--lf-gold); color: var(--lf-wine-deep); }
.lf-btn--gold:hover { background: var(--lf-gold-soft); transform: translateY(-1px); }
.lf-btn--ghost {
  background: transparent;
  color: var(--lf-ink);
  border-color: var(--lf-line);
}
.lf-btn--ghost:hover { border-color: var(--lf-gold); color: var(--lf-wine); }
.lf-btn--sm { padding: 8px 16px; font-size: 13px; }

.lf-link {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--lf-gold);
  color: var(--lf-wine);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s var(--lf-ease), border-color 0.2s var(--lf-ease);
}
.lf-link::after {
  content: "→";
  font-family: var(--lf-mono);
  font-size: 12px;
}
.lf-link:hover { color: var(--lf-wine-deep); border-bottom-color: var(--lf-wine-deep); }

/* ---------- 跳转链接 ---------- */
.lf-skip {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--lf-wine-deep);
  color: var(--lf-paper);
  font-family: var(--lf-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-decoration: none;
  transform: translateY(-150%);
  transition: transform 0.2s var(--lf-ease);
}
.lf-skip:focus-visible { transform: translateY(0); }

/* ---------- 顶部命令栏 ---------- */
.lf-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(251, 248, 242, 0.95);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--lf-line);
  color: var(--lf-ink);
}

.lf-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  pointer-events: none;
}
.lf-progress__bar {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--lf-wine), var(--lf-gold));
  transition: width 0.12s linear;
}

.lf-cmd {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(12px, 2vw, 32px);
  max-width: 1280px;
  margin-inline: auto;
  padding: 10px clamp(18px, 4vw, 56px);
  min-height: 66px;
}

.lf-brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--lf-ink);
  min-width: 0;
}
.lf-brand-mark__dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--lf-wine);
  box-shadow: 0 0 0 4px rgba(201, 161, 91, 0.26);
  flex: none;
  transition: box-shadow 0.24s var(--lf-ease);
}
.lf-brand-mark:hover .lf-brand-mark__dot {
  box-shadow: 0 0 0 7px rgba(201, 161, 91, 0.22);
}
.lf-brand-text { display: block; }
.lf-brand-name {
  display: block;
  font-family: var(--lf-serif);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.04em;
}
.lf-brand-sub {
  display: block;
  margin-top: 3px;
  font-family: var(--lf-mono);
  font-size: 10px;
  line-height: 1.3;
  letter-spacing: 0.18em;
  color: var(--lf-muted);
}

.lf-cmd__nav { min-width: 0; }

.lf-navlist {
  display: flex;
  align-items: center;
  gap: clamp(2px, 0.9vw, 16px);
}
.lf-navlist__item { flex: none; }

.lf-navlink {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  padding: 9px 2px;
  font-size: 14.5px;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  color: var(--lf-ink);
  transition: color 0.2s var(--lf-ease);
}
.lf-navlink__num {
  font-family: var(--lf-mono);
  font-size: 9.5px;
  letter-spacing: 0.06em;
  color: var(--lf-muted);
  transition: color 0.2s var(--lf-ease);
}
.lf-navlink::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1px;
  height: 2px;
  background: var(--lf-gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.26s var(--lf-ease);
}
.lf-navlink::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--lf-gold);
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.24s var(--lf-ease);
}
.lf-navlink:hover { color: var(--lf-wine); }
.lf-navlink:hover::after,
.lf-navlink:focus-visible::after { transform: scaleX(1); }
.lf-navlink[aria-current="page"] {
  color: var(--lf-wine);
  font-weight: 700;
}
.lf-navlink[aria-current="page"]::after {
  transform: scaleX(1);
  background: var(--lf-gold);
}
.lf-navlink[aria-current="page"]::before { opacity: 1; }
.lf-navlink[aria-current="page"] .lf-navlink__num { color: var(--lf-gold); }

.lf-cmd__tools {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-self: end;
}

.lf-iconbtn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  border: 1px solid var(--lf-line);
  border-radius: 999px;
  background: transparent;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: border-color 0.2s var(--lf-ease), color 0.2s var(--lf-ease),
    background-color 0.2s var(--lf-ease);
}
.lf-iconbtn:hover { border-color: var(--lf-gold); color: var(--lf-wine); background: rgba(201, 161, 91, 0.08); }
.lf-iconbtn__glyph {
  position: relative;
  width: 9px;
  height: 9px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  flex: none;
}
.lf-iconbtn__glyph::after {
  content: "";
  position: absolute;
  right: -4px;
  bottom: -3px;
  width: 5px;
  height: 1.5px;
  background: currentColor;
  transform: rotate(45deg);
}
.lf-iconbtn[aria-expanded="true"] {
  border-color: var(--lf-wine);
  color: var(--lf-wine);
  background: rgba(123, 30, 43, 0.08);
}

.lf-navtoggle {
  display: none;
  position: relative;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--lf-line);
  border-radius: var(--lf-radius-sm);
  background: transparent;
  color: var(--lf-ink);
  cursor: pointer;
  flex: none;
}
.lf-navtoggle__bar {
  position: absolute;
  left: 12px;
  right: 12px;
  top: 50%;
  height: 1.5px;
  background: currentColor;
  transform: translateY(-50%);
  transition: background-color 0.2s var(--lf-ease);
}
.lf-navtoggle__bar::before,
.lf-navtoggle__bar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.26s var(--lf-ease);
}
.lf-navtoggle__bar::before { top: -6px; }
.lf-navtoggle__bar::after { top: 6px; }
.lf-navtoggle[aria-expanded="true"] .lf-navtoggle__bar { background: transparent; }
.lf-navtoggle[aria-expanded="true"] .lf-navtoggle__bar::before {
  transform: translateY(6px) rotate(45deg);
}
.lf-navtoggle[aria-expanded="true"] .lf-navtoggle__bar::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---------- 检索面板 ---------- */
.lf-search {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 95;
  display: grid;
  grid-template-columns: minmax(200px, 280px) minmax(0, 1fr);
  align-items: start;
  gap: clamp(14px, 2vw, 28px);
  padding: 18px clamp(18px, 4vw, 56px) 22px;
  background: var(--lf-paper);
  border-bottom: 1px solid var(--lf-hairline-gold);
  box-shadow: 0 30px 44px -36px rgba(23, 20, 18, 0.6);
}
.lf-search[hidden] { display: none; }

.lf-search__label {
  display: block;
  font-family: var(--lf-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--lf-muted);
  margin-bottom: 8px;
}
.lf-search__input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--lf-line);
  border-radius: var(--lf-radius-sm);
  background: var(--lf-cream);
  font-size: 14px;
  line-height: 1.4;
  transition: border-color 0.2s var(--lf-ease), background-color 0.2s var(--lf-ease);
}
.lf-search__input:focus {
  border-color: var(--lf-gold);
  background: var(--lf-paper);
  outline: none;
}
.lf-search__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-height: 42vh;
  overflow-y: auto;
}
.lf-search__link {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid var(--lf-line);
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  color: var(--lf-ink);
  transition: border-color 0.2s var(--lf-ease), color 0.2s var(--lf-ease),
    background-color 0.2s var(--lf-ease);
}
.lf-search__link em {
  font-style: normal;
  font-family: var(--lf-mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--lf-muted);
}
.lf-search__link:hover {
  border-color: var(--lf-gold);
  color: var(--lf-wine);
  background: rgba(201, 161, 91, 0.1);
}
.lf-search__empty {
  grid-column: 2;
  font-family: var(--lf-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--lf-muted);
}
.lf-search__empty[hidden] { display: none; }

/* ---------- 小屏底部双入口 ---------- */
.lf-mobilebar { display: none; }
.lf-mobilebar__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 10px;
  border: 0;
  background: transparent;
  color: #F2E7D5;
  font-family: var(--lf-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  cursor: pointer;
}
.lf-mobilebar__btn--solid {
  background: var(--lf-gold);
  color: var(--lf-wine-deep);
}
.lf-mobilebar__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.75;
  flex: none;
}

/* ---------- 页脚 ---------- */
.lf-footer {
  position: relative;
  margin-top: clamp(48px, 7vw, 96px);
  background: var(--lf-wine-deep);
  color: #EFE6D8;
}
.lf-footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: clamp(24px, 4vw, 52px);
  max-width: 1280px;
  margin-inline: auto;
  padding: clamp(40px, 6vw, 76px) clamp(18px, 4vw, 56px) clamp(30px, 4vw, 52px);
  border-bottom: 1px solid var(--lf-hairline-gold);
}
.lf-footer__mark {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(201, 161, 91, 0.55);
  border-radius: 14px;
  font-family: var(--lf-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--lf-gold);
}
.lf-footer__name {
  margin: 16px 0 6px;
  font-family: var(--lf-serif);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--lf-paper);
}
.lf-footer__meta {
  font-family: var(--lf-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: rgba(201, 161, 91, 0.85);
  margin-bottom: 14px;
}
.lf-footer__desc {
  max-width: 26ch;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(239, 230, 216, 0.66);
}
.lf-footer__title {
  margin-bottom: 16px;
  font-family: var(--lf-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--lf-gold);
}
.lf-footer__links { display: grid; gap: 1px; }
.lf-footer__link {
  display: inline-block;
  padding: 5px 0;
  font-size: 14.5px;
  color: #E2D7C6;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--lf-ease), border-color 0.2s var(--lf-ease);
}
.lf-footer__link:hover {
  color: var(--lf-gold-soft);
  border-bottom-color: rgba(201, 161, 91, 0.6);
}
.lf-footer__contact {
  display: grid;
  gap: 12px;
  font-size: 14px;
  line-height: 1.65;
  color: #DCCFBB;
}
.lf-footer__contact b {
  display: block;
  margin-bottom: 2px;
  font-family: var(--lf-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: rgba(201, 161, 91, 0.9);
}
.lf-footer__hours {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed rgba(201, 161, 91, 0.3);
  font-size: 12.5px;
  line-height: 1.7;
  color: rgba(239, 230, 216, 0.62);
}
.lf-footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  max-width: 1280px;
  margin-inline: auto;
  padding: 20px clamp(18px, 4vw, 56px) 28px;
  background: var(--lf-ink);
  font-family: var(--lf-mono);
  font-size: 11.5px;
  letter-spacing: 0.05em;
  color: rgba(239, 230, 216, 0.6);
}
.lf-footer__icp { color: var(--lf-gold); }

.lf-totop {
  position: fixed;
  right: clamp(14px, 3vw, 30px);
  bottom: clamp(14px, 3vw, 30px);
  z-index: 85;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(201, 161, 91, 0.55);
  border-radius: 50%;
  background: var(--lf-wine-deep);
  color: var(--lf-gold-soft);
  font-family: var(--lf-mono);
  font-size: 14px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.28s var(--lf-ease), transform 0.28s var(--lf-ease),
    visibility 0.28s var(--lf-ease), background-color 0.2s var(--lf-ease);
}
.lf-totop[data-visible] {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.lf-totop:hover { background: var(--lf-wine); }

/* ---------- 分区带 ---------- */
.lf-band { padding: clamp(44px, 6vw, 88px) 0; }
.lf-band--paper { background: var(--lf-paper); }
.lf-band--wine { background: var(--lf-wine-deep); color: #F2E8D8; }
.lf-band--green { background: var(--lf-green); color: #EDE6D6; }
.lf-band--wine .lf-eyebrow,
.lf-band--green .lf-eyebrow { color: var(--lf-gold-soft); }
.lf-band--wine .lf-section__title,
.lf-band--green .lf-section__title { color: var(--lf-paper); }
.lf-band--wine .lf-section__index,
.lf-band--green .lf-section__index { color: rgba(201, 161, 91, 0.3); }
.lf-band--wine .lf-section__lede,
.lf-band--green .lf-section__lede { color: rgba(246, 241, 231, 0.78); }

/* ---------- 章节体系 ---------- */
.lf-section { padding: clamp(40px, 6vw, 88px) 0; }
.lf-section__index {
  display: block;
  font-family: var(--lf-mono);
  font-size: clamp(46px, 7vw, 92px);
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: rgba(123, 30, 43, 0.16);
  margin-bottom: 10px;
}
.lf-section__title {
  font-family: var(--lf-serif);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin-bottom: 0.45em;
}
.lf-section__lede {
  max-width: 60ch;
  font-size: 17px;
  line-height: 1.8;
  color: var(--lf-body-soft);
}

/* ---------- 网格与分屏 ---------- */
.lf-grid {
  display: grid;
  gap: clamp(16px, 2.4vw, 28px);
}
.lf-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lf-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lf-split {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

/* ---------- 卡片 ---------- */
.lf-card {
  position: relative;
  display: grid;
  gap: 10px;
  padding: clamp(20px, 2.4vw, 30px);
  background: var(--lf-paper);
  border: 1px solid var(--lf-line);
  border-radius: var(--lf-radius);
  transition: transform 0.28s var(--lf-ease), border-color 0.28s var(--lf-ease),
    box-shadow 0.28s var(--lf-ease);
}
.lf-card:hover {
  transform: translateY(-3px);
  border-color: var(--lf-hairline-gold);
  box-shadow: var(--lf-shadow);
}
.lf-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.lf-card__index {
  font-family: var(--lf-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--lf-gold);
}
.lf-card__title {
  font-family: var(--lf-serif);
  font-size: clamp(19px, 2.2vw, 24px);
  font-weight: 700;
  line-height: 1.3;
  color: var(--lf-ink);
}
.lf-card__text {
  font-size: 15px;
  line-height: 1.75;
  color: var(--lf-body-soft);
}
.lf-card__meta {
  font-family: var(--lf-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--lf-muted);
}

/* ---------- 徽章与标签 ---------- */
.lf-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border: 1px solid rgba(123, 30, 43, 0.18);
  border-radius: 999px;
  background: rgba(123, 30, 43, 0.09);
  color: var(--lf-wine);
  font-family: var(--lf-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  line-height: 1.5;
}
.lf-badge--gold {
  background: rgba(201, 161, 91, 0.2);
  border-color: rgba(201, 161, 91, 0.42);
  color: #6B4E18;
}
.lf-badge--green {
  background: rgba(31, 59, 52, 0.12);
  border-color: rgba(31, 59, 52, 0.24);
  color: var(--lf-green);
}
.lf-tag {
  display: inline-block;
  padding-bottom: 1px;
  border-bottom: 1px dashed rgba(138, 129, 120, 0.6);
  font-family: var(--lf-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--lf-muted);
}

/* ---------- 分隔线 ---------- */
.lf-divider {
  height: 1px;
  border: 0;
  margin: clamp(28px, 4vw, 48px) 0;
  background: linear-gradient(90deg, var(--lf-gold), rgba(201, 161, 91, 0));
}

/* ---------- 面包屑 ---------- */
.lf-breadcrumb { margin: clamp(18px, 3vw, 30px) 0; }
.lf-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  font-family: var(--lf-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--lf-muted);
}
.lf-breadcrumb__link {
  color: var(--lf-muted);
  text-decoration: none;
  padding-bottom: 1px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--lf-ease), border-color 0.2s var(--lf-ease);
}
.lf-breadcrumb__link:hover {
  color: var(--lf-wine);
  border-bottom-color: var(--lf-gold);
}
.lf-breadcrumb__sep { color: var(--lf-gold); }
.lf-breadcrumb__current { color: var(--lf-ink); }

/* ---------- 图片容器基础规则 ---------- */
.lf-media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: var(--lf-radius);
  background:
    linear-gradient(158deg, rgba(123, 30, 43, 0.18), rgba(31, 59, 52, 0.16) 62%, rgba(201, 161, 91, 0.18)),
    var(--lf-cream);
}
.lf-media img,
.lf-media video,
.lf-media picture > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.lf-media--wide { aspect-ratio: 21 / 9; }
.lf-media--tall { aspect-ratio: 3 / 4; }
.lf-media--square { aspect-ratio: 1 / 1; }
.lf-media__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px 18px 14px;
  font-family: var(--lf-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--lf-paper);
  background: linear-gradient(transparent, rgba(23, 20, 18, 0.78));
}

/* ---------- 显现动效 ---------- */
.lf-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.34s var(--lf-ease), transform 0.34s var(--lf-ease);
}
.lf-reveal[data-visible] {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   响应式
   ========================================================================== */

@media (max-width: 1180px) {
  .lf-navlink { font-size: 13.5px; }
  .lf-cmd__nav {
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .lf-cmd__nav::-webkit-scrollbar { display: none; }
}

@media (max-width: 900px) {
  .lf-cmd {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 60px;
    gap: 12px;
  }
  .lf-navtoggle { display: inline-flex; }
  .lf-cmd__nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 0;
    overflow: hidden;
    background: var(--lf-paper);
    border-bottom: 1px solid var(--lf-hairline-gold);
    box-shadow: 0 32px 46px -34px rgba(23, 20, 18, 0.6);
    transition: max-height 0.34s var(--lf-ease);
  }
  .lf-cmd__nav[data-open] {
    max-height: min(70vh, 540px);
    overflow-y: auto;
  }
  .lf-navlist {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px clamp(18px, 4vw, 56px) 18px;
  }
  .lf-navlist__item + .lf-navlist__item { border-top: 1px solid var(--lf-line-soft); }
  .lf-navlink {
    width: 100%;
    padding: 15px 0 15px 16px;
    font-size: 16px;
    justify-content: flex-start;
  }
  .lf-navlink::after { display: none; }
  .lf-navlink::before {
    left: 0;
    bottom: auto;
    top: 50%;
    width: 5px;
    height: 5px;
    transform: translateY(-50%);
  }
  .lf-navlink[aria-current="page"] { color: var(--lf-wine); }

  .lf-search {
    grid-template-columns: 1fr;
    padding-top: 16px;
  }
  .lf-search__empty { grid-column: 1; }

  .lf-footer__top { grid-template-columns: 1fr 1fr; }
  .lf-footer__brand { grid-column: 1 / -1; }
  .lf-footer__desc { max-width: 46ch; }

  .lf-grid--2,
  .lf-grid--3,
  .lf-split { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 720px) {
  .lf-cmd__tools .lf-btn { display: none; }
  .lf-iconbtn__label { display: none; }
  .lf-iconbtn { padding: 8px 11px; }

  .lf-mobilebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 88;
    background: var(--lf-wine-deep);
    border-top: 1px solid rgba(201, 161, 91, 0.35);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .lf-mobilebar__btn--solid { border-left: 1px solid rgba(201, 161, 91, 0.35); }

  body { padding-bottom: 62px; }

  .lf-totop { bottom: calc(62px + env(safe-area-inset-bottom, 0px) + 14px); }
}

@media (max-width: 560px) {
  .lf-footer__top { grid-template-columns: 1fr; gap: 28px; }
  .lf-footer__legal {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .lf-section__index { font-size: clamp(40px, 14vw, 60px); }
}

/* ---------- 减少动态偏好 ---------- */
@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;
    scroll-behavior: auto !important;
  }
  .lf-reveal {
    opacity: 1;
    transform: none;
  }
  .lf-progress__bar { transition: none; }
}

/* ---------- 打印 ---------- */
@media print {
  .lf-header,
  .lf-mobilebar,
  .lf-totop,
  .lf-progress { display: none !important; }
  body { background: #fff; color: #000; padding-bottom: 0; }
  .lf-footer { background: #fff; color: #000; }
}
