/* =========================================================
   壹号娱乐中心 · 共享样式 /assets/site.css
   ========================================================= */

:root{
  --yh-space:#07132B;
  --yh-midnight:#0D1E3F;
  --yh-orange:#FF6A2B;
  --yh-coral:#FF8A4C;
  --yh-violet:#7B5CFF;
  --yh-lime:#B6FF3B;
  --yh-ice:#F4F7FF;
  --yh-mist:#AFC3E8;
  --yh-glass:#1B2F5A;
  --yh-warm:#FFF1E6;

  --yh-line:rgba(175,195,232,.22);
  --yh-line-soft:rgba(175,195,232,.14);
  --yh-ink-soft:#DCE6FA;

  --yh-shell:1200px;
  --yh-radius:22px;
  --yh-radius-sm:14px;
  --yh-pill:999px;

  --yh-font-display:"Archivo Black","Source Han Sans SC","Noto Sans SC","PingFang SC","Microsoft YaHei",system-ui,sans-serif;
  --yh-font-editorial:"Noto Serif SC","Source Han Serif SC","Songti SC",Georgia,serif;
  --yh-font-body:"Noto Sans SC","Source Han Sans SC","PingFang SC","Hiragino Sans GB","Microsoft YaHei",system-ui,sans-serif;
  --yh-font-mono:"JetBrains Mono","IBM Plex Mono",ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
}

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

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

body{
  margin:0;
  min-height:100vh;
  color:var(--yh-ice);
  font-family:var(--yh-font-body);
  font-size:17px;
  line-height:1.75;
  letter-spacing:.01em;
  background-color:var(--yh-space);
  background-image:
    radial-gradient(900px 620px at 84% -10%, rgba(123,92,255,.24), transparent 62%),
    radial-gradient(720px 520px at 4% 6%, rgba(255,106,43,.15), transparent 60%),
    radial-gradient(1000px 720px at 52% 118%, rgba(182,255,59,.07), transparent 66%);
  background-attachment:fixed;
  background-repeat:no-repeat;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

body.yh-locked{overflow:hidden}

#main-content{display:block;scroll-margin-top:104px}

h1,h2,h3,h4{
  margin:0;
  line-height:1.22;
  letter-spacing:-.01em;
  font-weight:700;
  text-wrap:balance;
}

p{margin:0 0 1em}
p:last-child{margin-bottom:0}
ul,ol{margin:0;padding:0}
img,svg,video{max-width:100%}
strong{color:var(--yh-ice);font-weight:700}

::selection{background:rgba(255,106,43,.4);color:var(--yh-warm)}

:where(a,button,[tabindex]):focus-visible{
  outline:2px solid var(--yh-lime);
  outline-offset:3px;
}

/* ---------- 基础容器 ---------- */

.yh-shell{
  width:100%;
  max-width:var(--yh-shell);
  margin-inline:auto;
  padding-inline:clamp(18px,4vw,40px);
}
.yh-shell--narrow{max-width:820px}

.yh-prose{
  max-width:68ch;
  font-size:17px;
  line-height:1.78;
  color:var(--yh-ink-soft);
}
.yh-prose p{margin:0 0 1.1em}
.yh-prose a{color:var(--yh-coral)}

.yh-mono{
  font-family:var(--yh-font-mono);
  font-size:.9em;
  letter-spacing:.02em;
}

/* ---------- 跳过链接 ---------- */

.yh-skip{
  position:fixed;
  left:50%;
  top:0;
  z-index:300;
  transform:translate(-50%,-140%);
  padding:11px 22px;
  border-radius:0 0 16px 16px;
  background:var(--yh-orange);
  color:#1A0A00;
  font-weight:700;
  font-size:14px;
  text-decoration:none;
  transition:transform .22s ease;
}
.yh-skip:focus,
.yh-skip:focus-visible{transform:translate(-50%,0)}

/* ---------- 阅读进度条 ---------- */

.yh-progress{
  position:fixed;
  inset:0 0 auto;
  height:2px;
  z-index:200;
  background:rgba(175,195,232,.12);
  pointer-events:none;
}
.yh-progress__bar{
  display:block;
  height:100%;
  width:0;
  background:linear-gradient(90deg,var(--yh-orange),var(--yh-violet) 62%,var(--yh-lime));
  box-shadow:0 0 14px rgba(255,106,43,.7);
  transition:width .12s linear;
}

/* ---------- 悬浮胶囊头部 ---------- */

.yh-header{
  position:fixed;
  inset:16px 0 auto;
  z-index:100;
  padding-inline:clamp(10px,2.2vw,22px);
  pointer-events:none;
}

.yh-header__inner{
  pointer-events:auto;
  display:flex;
  align-items:center;
  gap:clamp(10px,1.6vw,18px);
  max-width:var(--yh-shell);
  margin-inline:auto;
  padding:9px 10px 9px 18px;
  border-radius:var(--yh-pill);
  background:rgba(20,38,74,.62);
  border:1px solid var(--yh-line);
  -webkit-backdrop-filter:blur(18px) saturate(150%);
  backdrop-filter:blur(18px) saturate(150%);
  box-shadow:0 20px 48px -20px rgba(2,8,22,.92);
  transition:padding .3s ease, background .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.yh-header.is-stuck .yh-header__inner{
  padding:6px 8px 6px 14px;
  background:rgba(9,21,44,.88);
  border-color:rgba(255,106,43,.32);
  box-shadow:0 18px 42px -22px rgba(2,8,22,.96),0 0 0 1px rgba(255,106,43,.08) inset;
}

/* 品牌岛 */
.yh-brand{
  display:flex;
  align-items:center;
  gap:12px;
  flex:0 0 auto;
  color:inherit;
  text-decoration:none;
}

.yh-brand__mark{
  position:relative;
  flex:0 0 auto;
  width:26px;
  height:26px;
  border-radius:8px;
  transform:rotate(45deg);
  background:linear-gradient(140deg,var(--yh-orange),var(--yh-coral) 42%,var(--yh-violet));
  box-shadow:0 0 20px rgba(255,106,43,.55),0 0 0 1px rgba(255,241,230,.42) inset;
}
.yh-brand__mark::after{
  content:"";
  position:absolute;
  inset:7px;
  border-radius:3px;
  background:rgba(7,19,43,.76);
}

.yh-brand__text{
  display:flex;
  flex-direction:column;
  gap:1px;
  line-height:1.15;
  min-width:0;
}
.yh-brand__name{
  font-family:var(--yh-font-display);
  font-size:16px;
  font-weight:900;
  letter-spacing:.05em;
  color:var(--yh-ice);
  text-shadow:0 0 20px rgba(255,106,43,.34);
  white-space:nowrap;
}
.yh-brand__line{
  font-family:var(--yh-font-mono);
  font-size:10.5px;
  letter-spacing:.14em;
  color:var(--yh-mist);
  opacity:.85;
  white-space:nowrap;
}

/* 导航 */
.yh-nav{
  display:flex;
  align-items:center;
  gap:10px;
  margin-left:auto;
  pointer-events:auto;
}

.yh-nav__list{
  display:flex;
  align-items:center;
  gap:2px;
  list-style:none;
}

.yh-nav__link{
  position:relative;
  display:inline-block;
  padding:9px 13px;
  border-radius:var(--yh-pill);
  border:1px solid transparent;
  font-size:14.5px;
  font-weight:500;
  color:var(--yh-mist);
  text-decoration:none;
  white-space:nowrap;
  transition:color .2s ease, background .2s ease, border-color .2s ease;
}
.yh-nav__link:hover{
  color:var(--yh-ice);
  background:rgba(244,247,255,.08);
  border-color:rgba(175,195,232,.18);
}
.yh-nav__link[aria-current="page"]{
  color:var(--yh-ice);
  background:rgba(255,106,43,.14);
  border-color:rgba(255,106,43,.42);
}
.yh-nav__link[aria-current="page"]::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:3px;
  width:16px;
  height:2px;
  border-radius:2px;
  transform:translateX(-50%);
  background:var(--yh-orange);
  box-shadow:0 0 10px rgba(255,106,43,.95);
}

.yh-nav__foot{display:none}
.yh-nav__note{
  margin:0;
  font-family:var(--yh-font-mono);
  font-size:12px;
  letter-spacing:.06em;
  color:var(--yh-mist);
}
.yh-nav__cta{width:100%}

.yh-header__tail{
  display:flex;
  align-items:center;
  gap:10px;
  flex:0 0 auto;
}

/* 按钮 */
.yh-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:11px 20px;
  border-radius:var(--yh-pill);
  border:1px solid transparent;
  font-family:var(--yh-font-body);
  font-size:14.5px;
  font-weight:700;
  letter-spacing:.02em;
  line-height:1.2;
  text-decoration:none;
  cursor:pointer;
  white-space:nowrap;
  transition:transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.yh-btn--accent{
  background:linear-gradient(135deg,var(--yh-orange),var(--yh-coral));
  color:#1A0A00;
  box-shadow:0 12px 28px -14px rgba(255,106,43,.95),0 0 0 1px rgba(255,241,230,.32) inset;
}
.yh-btn--accent:hover{
  transform:translateY(-1px);
  box-shadow:0 18px 36px -14px rgba(255,106,43,1);
}
.yh-btn--ghost{
  background:rgba(244,247,255,.05);
  color:var(--yh-ice);
  border-color:rgba(175,195,232,.3);
}
.yh-btn--ghost:hover{
  background:rgba(123,92,255,.2);
  border-color:rgba(123,92,255,.62);
}
.yh-btn--sm{padding:8px 15px;font-size:13px}

/* 汉堡 */
.yh-burger{
  display:none;
  align-items:center;
  gap:9px;
  padding:9px 15px 9px 13px;
  border-radius:var(--yh-pill);
  border:1px solid rgba(175,195,232,.3);
  background:rgba(244,247,255,.06);
  color:var(--yh-ice);
  font-family:var(--yh-font-body);
  font-size:13.5px;
  font-weight:600;
  cursor:pointer;
}
.yh-burger__bars{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:4px;
  width:18px;
}
.yh-burger__bars span{
  display:block;
  height:2px;
  width:18px;
  border-radius:2px;
  background:var(--yh-orange);
  transition:transform .26s ease, width .26s ease;
}
.yh-burger__bars span:last-child{width:12px}
.yh-header[data-open] .yh-burger__bars span:first-child{transform:translateY(3px) rotate(45deg)}
.yh-header[data-open] .yh-burger__bars span:last-child{width:18px;transform:translateY(-3px) rotate(-45deg)}
.yh-burger__label{white-space:nowrap}

/* 移动遮罩 */
.yh-scrim{
  position:fixed;
  inset:0;
  z-index:80;
  background:rgba(4,10,24,.66);
  -webkit-backdrop-filter:blur(3px);
  backdrop-filter:blur(3px);
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .25s ease, visibility .25s ease;
}
.yh-header[data-open] .yh-scrim{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}

/* 返回顶部 */
.yh-toTop{
  position:fixed;
  right:18px;
  bottom:18px;
  z-index:95;
  display:inline-flex;
  align-items:center;
  gap:9px;
  padding:11px 17px;
  border-radius:var(--yh-pill);
  border:1px solid rgba(255,106,43,.45);
  background:rgba(13,30,63,.9);
  -webkit-backdrop-filter:blur(12px);
  backdrop-filter:blur(12px);
  color:var(--yh-ice);
  font-family:var(--yh-font-body);
  font-size:12.5px;
  font-weight:600;
  letter-spacing:.08em;
  cursor:pointer;
  opacity:0;
  visibility:hidden;
  transform:translateY(12px);
  transition:opacity .25s ease, transform .25s ease, visibility .25s ease, background .2s ease;
}
.yh-toTop::before{
  content:"";
  width:8px;
  height:8px;
  border-left:2px solid var(--yh-orange);
  border-top:2px solid var(--yh-orange);
  transform:rotate(45deg);
}
.yh-toTop.is-shown{opacity:1;visibility:visible;transform:none}
.yh-toTop:hover{background:rgba(255,106,43,.22)}

/* ---------- 面包屑 ---------- */

.yh-crumb{margin:0 0 clamp(20px,3vw,32px)}
.yh-crumb__list{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:9px;
  list-style:none;
  font-family:var(--yh-font-mono);
  font-size:11.5px;
  letter-spacing:.1em;
  color:var(--yh-mist);
}
.yh-crumb__item{display:flex;align-items:center;gap:9px}
.yh-crumb__item + .yh-crumb__item::before{
  content:"/";
  color:rgba(175,195,232,.5);
}
.yh-crumb__link{
  color:var(--yh-mist);
  text-decoration:none;
  border-bottom:1px solid transparent;
  transition:color .2s ease, border-color .2s ease;
}
.yh-crumb__link:hover{color:var(--yh-orange);border-color:var(--yh-orange)}
.yh-crumb__text{color:var(--yh-mist)}
.yh-crumb__item[aria-current="page"] .yh-crumb__text{color:var(--yh-ice)}

/* ---------- 章节骨架 ---------- */

.yh-section{padding-block:clamp(44px,7vw,96px)}
.yh-section__head{
  max-width:62ch;
  margin-bottom:clamp(24px,3.5vw,42px);
}
.yh-section__title{
  font-family:var(--yh-font-editorial);
  font-size:clamp(26px,3.6vw,42px);
  font-weight:700;
  line-height:1.28;
  color:var(--yh-ice);
  margin:0 0 14px;
}
.yh-section__lede{
  margin:0;
  color:var(--yh-mist);
  font-size:16.5px;
}

.yh-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin:0 0 14px;
  font-family:var(--yh-font-mono);
  font-size:11.5px;
  letter-spacing:.2em;
  text-transform:uppercase;
  color:var(--yh-violet);
}
.yh-eyebrow::before{
  content:"";
  width:26px;
  height:2px;
  border-radius:2px;
  background:linear-gradient(90deg,var(--yh-orange),var(--yh-violet));
}

/* ---------- 网格与面板 ---------- */

.yh-grid{
  display:grid;
  gap:clamp(16px,2.4vw,28px);
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
}

.yh-panel{
  position:relative;
  border-radius:var(--yh-radius);
  padding:clamp(22px,3vw,34px);
  background:rgba(13,30,63,.74);
  border:1px solid rgba(175,195,232,.18);
}
.yh-panel--glass{
  background:linear-gradient(150deg, rgba(27,47,90,.74), rgba(13,30,63,.58));
  border:1px solid var(--yh-line);
  -webkit-backdrop-filter:blur(14px) saturate(140%);
  backdrop-filter:blur(14px) saturate(140%);
  box-shadow:0 26px 62px -36px rgba(2,8,22,.96),0 1px 0 rgba(244,247,255,.06) inset;
}

/* ---------- 状态标签 ---------- */

.yh-chip{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:5px 11px;
  border-radius:var(--yh-pill);
  border:1px solid rgba(175,195,232,.28);
  background:rgba(244,247,255,.05);
  font-family:var(--yh-font-mono);
  font-size:11.5px;
  letter-spacing:.08em;
  color:var(--yh-mist);
}
.yh-chip--lime{
  border-color:rgba(182,255,59,.45);
  background:rgba(182,255,59,.08);
  color:var(--yh-lime);
}

/* ---------- 图片容器基础规则 ---------- */

.yh-media{
  position:relative;
  display:block;
  width:100%;
  aspect-ratio:4 / 3;
  overflow:hidden;
  border-radius:var(--yh-radius);
  border:1px solid var(--yh-line);
  background:linear-gradient(150deg, rgba(27,47,90,.95), rgba(7,19,43,.96));
  box-shadow:0 28px 64px -36px rgba(2,8,22,.96);
  isolation:isolate;
}
.yh-media::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  background:
    radial-gradient(120% 92% at 86% 0%, rgba(123,92,255,.38), transparent 62%),
    radial-gradient(96% 84% at 0% 100%, rgba(255,106,43,.3), transparent 64%);
}
.yh-media > img,
.yh-media > svg,
.yh-media > video,
.yh-media > .yh-media__art{
  position:absolute;
  inset:0;
  z-index:1;
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
.yh-media--wide{aspect-ratio:16 / 9}
.yh-media--tall{aspect-ratio:3 / 4}
.yh-media--square{aspect-ratio:1 / 1}

.yh-media__badge{
  position:absolute;
  z-index:2;
  left:14px;
  top:14px;
  padding:5px 11px;
  border-radius:var(--yh-pill);
  border:1px solid rgba(255,106,43,.5);
  background:rgba(7,19,43,.72);
  -webkit-backdrop-filter:blur(8px);
  backdrop-filter:blur(8px);
  font-family:var(--yh-font-mono);
  font-size:11px;
  letter-spacing:.1em;
  color:var(--yh-coral);
}
.yh-media__cap{
  position:absolute;
  z-index:2;
  left:0;
  right:0;
  bottom:0;
  padding:36px 16px 14px;
  font-family:var(--yh-font-mono);
  font-size:12px;
  letter-spacing:.04em;
  color:var(--yh-mist);
  background:linear-gradient(transparent, rgba(4,10,24,.88));
}

/* ---------- 章节目录 ---------- */

.yh-toc{
  position:sticky;
  top:104px;
  align-self:start;
  padding:18px;
  border-radius:var(--yh-radius);
  background:rgba(27,47,90,.55);
  border:1px solid rgba(175,195,232,.2);
  -webkit-backdrop-filter:blur(14px);
  backdrop-filter:blur(14px);
}
.yh-toc__title{
  margin:0 0 14px;
  font-family:var(--yh-font-mono);
  font-size:11px;
  font-weight:600;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--yh-violet);
}
.yh-toc__list{list-style:none;display:grid;gap:2px}
.yh-toc__link{
  display:block;
  padding:8px 12px;
  border-radius:10px;
  border-left:2px solid transparent;
  font-size:14px;
  color:var(--yh-mist);
  text-decoration:none;
  transition:color .2s ease, background .2s ease, border-color .2s ease;
}
.yh-toc__link:hover{color:var(--yh-ice);background:rgba(244,247,255,.06)}
.yh-toc__link[aria-current="true"]{
  color:var(--yh-ice);
  border-left-color:var(--yh-orange);
  background:rgba(255,106,43,.12);
}

/* ---------- 进入视口渐显 ---------- */

html.yh-js [data-reveal]{
  opacity:0;
  transform:translateY(18px);
  transition:opacity .62s ease, transform .62s ease;
}
html.yh-js [data-reveal].is-visible{
  opacity:1;
  transform:none;
}

/* ---------- 页脚 ---------- */

.yh-footer{
  position:relative;
  margin-top:clamp(56px,9vw,120px);
  overflow:hidden;
  border-top:1px solid rgba(175,195,232,.16);
  background:linear-gradient(180deg, rgba(13,30,63,.62), var(--yh-midnight) 34%, #060F22 100%);
}
.yh-footer__beam{
  position:absolute;
  inset:0 0 auto;
  height:3px;
  background:linear-gradient(90deg, transparent, var(--yh-orange), var(--yh-violet) 54%, var(--yh-lime), transparent);
  opacity:.9;
}
.yh-footer::after{
  content:"";
  position:absolute;
  right:-70px;
  bottom:-130px;
  width:clamp(230px,42vw,520px);
  aspect-ratio:1;
  border-radius:50%;
  background:radial-gradient(circle at 36% 30%, rgba(123,92,255,.3), rgba(255,106,43,.13) 46%, transparent 70%);
  filter:blur(12px);
  pointer-events:none;
}
.yh-footer__inner{
  position:relative;
  z-index:1;
  max-width:var(--yh-shell);
  margin-inline:auto;
  padding:clamp(40px,6vw,74px) clamp(18px,4vw,40px) 28px;
}

.yh-footer__top{
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(0,1.35fr);
  gap:clamp(30px,5vw,72px);
}

.yh-footer__brand{min-width:0}
.yh-brand--footer .yh-brand__name{font-size:19px}
.yh-brand--footer .yh-brand__line{font-size:11px;color:var(--yh-violet);opacity:.9}

.yh-footer__summary{
  margin:18px 0 0;
  max-width:34ch;
  font-size:15px;
  line-height:1.82;
  color:var(--yh-mist);
}
.yh-footer__status{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:20px;
  list-style:none;
}

.yh-footer__nav{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:clamp(18px,3vw,36px);
}
.yh-footer__col{min-width:0}
.yh-footer__colTitle{
  margin:0 0 14px;
  font-family:var(--yh-font-mono);
  font-size:11.5px;
  font-weight:600;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--yh-orange);
}
.yh-footer__links{list-style:none;display:grid;gap:9px}
.yh-footer__links a{
  display:inline-block;
  font-size:14.5px;
  color:var(--yh-ice);
  text-decoration:none;
  opacity:.82;
  transition:opacity .2s ease, color .2s ease, transform .2s ease;
}
.yh-footer__links a:hover{
  opacity:1;
  color:var(--yh-coral);
  transform:translateX(3px);
}

.yh-footer__contact{
  display:flex;
  flex-wrap:wrap;
  align-items:flex-start;
  justify-content:space-between;
  gap:20px 40px;
  margin-top:clamp(30px,4vw,50px);
  padding:clamp(20px,3vw,28px);
  border-radius:var(--yh-radius);
  background:rgba(27,47,90,.5);
  border:1px solid rgba(175,195,232,.2);
  -webkit-backdrop-filter:blur(10px);
  backdrop-filter:blur(10px);
}
.yh-footer__contactHead{flex:1 1 250px;min-width:0}
.yh-footer__contactTitle{
  font-family:var(--yh-font-editorial);
  font-size:19px;
  font-weight:700;
  color:var(--yh-ice);
}
.yh-footer__note{
  margin:8px 0 0;
  font-size:13px;
  line-height:1.7;
  color:var(--yh-mist);
}
.yh-footer__list{
  flex:1 1 440px;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(190px,1fr));
  gap:14px;
  list-style:none;
  min-width:0;
}
.yh-footer__item{
  display:flex;
  flex-direction:column;
  gap:5px;
  min-width:0;
}
.yh-footer__k{
  font-family:var(--yh-font-mono);
  font-size:10.5px;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--yh-mist);
  opacity:.7;
}
.yh-footer__val{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px;
  font-family:var(--yh-font-mono);
  font-size:14px;
  letter-spacing:.01em;
  color:var(--yh-ice);
  overflow-wrap:anywhere;
}

.yh-copy{
  padding:3px 10px;
  border-radius:var(--yh-pill);
  border:1px solid rgba(255,106,43,.5);
  background:rgba(255,106,43,.12);
  color:var(--yh-coral);
  font-family:var(--yh-font-mono);
  font-size:10.5px;
  letter-spacing:.08em;
  cursor:pointer;
  transition:background .2s ease, color .2s ease, border-color .2s ease;
}
.yh-copy:hover{background:rgba(255,106,43,.26);color:var(--yh-warm)}
.yh-copy.is-done{
  border-color:rgba(182,255,59,.6);
  background:rgba(182,255,59,.16);
  color:var(--yh-lime);
}

.yh-footer__meta{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:12px 24px;
  margin-top:clamp(26px,3vw,38px);
  padding-top:20px;
  border-top:1px solid var(--yh-line-soft);
}
.yh-footer__legal{
  margin:0;
  font-family:var(--yh-font-mono);
  font-size:12px;
  letter-spacing:.04em;
  color:var(--yh-mist);
  opacity:.86;
}
.yh-footer__mini{
  display:flex;
  flex-wrap:wrap;
  gap:6px 18px;
  list-style:none;
  font-size:12.5px;
}
.yh-footer__mini a{
  color:var(--yh-mist);
  text-decoration:none;
  border-bottom:1px solid transparent;
  transition:color .2s ease, border-color .2s ease;
}
.yh-footer__mini a:hover{color:var(--yh-ice);border-color:var(--yh-orange)}

/* ---------- 平板 ---------- */

@media (max-width:1080px){
  .yh-header__cta{display:none}
  .yh-burger{display:inline-flex}

  .yh-nav{
    position:fixed;
    top:86px;
    left:14px;
    right:14px;
    z-index:85;
    flex-direction:column;
    align-items:stretch;
    gap:14px;
    margin-left:0;
    padding:18px;
    max-height:calc(100vh - 112px);
    overflow:auto;
    border-radius:26px;
    background:rgba(11,25,52,.97);
    border:1px solid rgba(175,195,232,.24);
    box-shadow:0 34px 74px -34px rgba(0,0,0,.95);
    opacity:0;
    visibility:hidden;
    transform:translateY(-12px) scale(.99);
    pointer-events:none;
    transition:opacity .24s ease, transform .24s ease, visibility .24s ease;
  }
  .yh-header[data-open] .yh-nav{
    opacity:1;
    visibility:visible;
    transform:none;
    pointer-events:auto;
  }

  .yh-nav__list{
    flex-direction:column;
    align-items:stretch;
    gap:4px;
  }
  .yh-nav__link{
    display:block;
    padding:13px 18px;
    border-radius:16px;
    border-color:rgba(175,195,232,.14);
    font-size:16px;
  }
  .yh-nav__link[aria-current="page"]::after{
    left:7px;
    top:50%;
    bottom:auto;
    width:3px;
    height:14px;
    transform:translateY(-50%);
  }
  .yh-nav__foot{
    display:flex;
    flex-direction:column;
    gap:10px;
    padding-top:14px;
    border-top:1px solid rgba(175,195,232,.18);
  }

  .yh-footer__top{grid-template-columns:1fr}
}

/* ---------- 手机 ---------- */

@media (max-width:900px){
  .yh-footer__nav{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media (max-width:760px){
  body{font-size:16.5px}
  .yh-header{inset:10px 0 auto}
  .yh-header__inner{padding:8px 8px 8px 14px;gap:10px}
  .yh-brand__line{display:none}
  .yh-brand__name{font-size:15px}
  .yh-nav{top:74px;left:10px;right:10px}
  .yh-toTop{right:12px;bottom:12px;padding:10px 14px;font-size:11.5px}
  .yh-toc{position:static;top:auto}
}

@media (max-width:560px){
  .yh-burger__label{display:none}
  .yh-burger{padding:10px 13px}
  .yh-footer__nav{grid-template-columns:1fr;gap:26px}
  .yh-footer__contact{flex-direction:column}
  .yh-footer__list{grid-template-columns:1fr}
  .yh-footer__meta{flex-direction:column;align-items:flex-start}
  .yh-eyebrow{font-size:10.5px;letter-spacing:.16em}
}

/* ---------- 动效偏好 ---------- */

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{
    animation-duration:.01ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.01ms !important;
  }
  html.yh-js [data-reveal]{
    opacity:1;
    transform:none;
  }
  .yh-progress__bar{transition:none}
}
