/* ===== 1. Reset & Tokens ===== */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;scroll-behavior:smooth}
html{
  background-color:#060E1C;
  background-image:
    radial-gradient(1200px 700px at 8% -10%, rgba(46,230,214,.15), transparent 62%),
    radial-gradient(1000px 620px at 106% 4%, rgba(255,138,61,.12), transparent 60%),
    linear-gradient(180deg,#0B1F3A 0%,#08152B 55%,#060E1C 100%);
  background-attachment:fixed;
  background-repeat:no-repeat;
}
body{margin:0;background:transparent;color:#F5F1E8;font-family:"MiSans","HarmonyOS Sans SC","PingFang SC","Microsoft YaHei",system-ui,sans-serif;font-size:16px;line-height:1.8;-webkit-font-smoothing:antialiased}
img,svg,video{display:block;max-width:100%;height:auto}
button,input,select,textarea{font:inherit;color:inherit}
ul,ol{margin:0;padding:0}
a{color:inherit}
:root{
  --yh-deep:#0B1F3A;
  --yh-deep-2:#122C4F;
  --yh-abyss:#060E1C;
  --yh-cyan:#2EE6D6;
  --yh-orange:#FF8A3D;
  --yh-shell:#F5F1E8;
  --yh-mist:#8FA6C4;
  --yh-glow:#A8F3EC;
  --yh-plum:#3B2A63;
  --yh-lime:#B8F14D;
  --yh-font-head:"MiSans","HarmonyOS Sans SC","PingFang SC","Microsoft YaHei",system-ui,sans-serif;
  --yh-font-body:"MiSans","HarmonyOS Sans SC","PingFang SC","Microsoft YaHei",system-ui,sans-serif;
  --yh-font-mono:"JetBrains Mono","SFMono-Regular",Menlo,Consolas,"Noto Sans Mono CJK SC",monospace;
  --yh-shell-w:1200px;
  --yh-radius:18px;
  --yh-radius-sm:12px;
  --yh-ease:cubic-bezier(.22,.61,.36,1);
  --yh-hair:1px solid rgba(168,243,236,.14);
}
:focus-visible{outline:2px solid var(--yh-cyan);outline-offset:3px;border-radius:6px}

/* ===== 2. 中文排版 ===== */
h1,h2,h3,h4{font-family:var(--yh-font-head);font-weight:800;line-height:1.15;letter-spacing:-.02em;color:var(--yh-shell);margin:0 0 .6em}
h1{font-size:clamp(30px,6vw,52px)}
h2{font-size:clamp(24px,3.6vw,34px)}
h3{font-size:clamp(19px,2.4vw,24px)}
h4{font-size:1.05rem}
p{margin:0 0 1.2em;max-width:70ch}
strong,b{font-weight:800}
small{font-size:.82rem}
.yh-mono{font-family:var(--yh-font-mono);font-size:.84em;letter-spacing:.06em}
.yh-lead{font-size:clamp(1.02rem,1.6vw,1.15rem);line-height:1.8;color:rgba(245,241,232,.9);max-width:62ch}
.yh-prose{max-width:70ch}
.yh-prose p{color:rgba(245,241,232,.86)}
.yh-prose a{color:var(--yh-glow);text-decoration:underline;text-underline-offset:4px;text-decoration-color:rgba(46,230,214,.5)}
.yh-prose a:hover{color:var(--yh-cyan);text-decoration-color:var(--yh-cyan)}

/* ===== 3. 布局与通用组件 ===== */
.yh-shell{width:min(var(--yh-shell-w),100% - 2.4rem);margin-inline:auto}
@media (min-width:768px){.yh-shell{width:min(var(--yh-shell-w),100% - 4rem)}}
.yh-main{display:block;min-height:50vh}
.yh-section{padding-block:clamp(2.4rem,6vw,4.6rem)}
.yh-section-head{display:flex;flex-wrap:wrap;align-items:flex-end;gap:.8rem 1.4rem;margin-bottom:clamp(1.2rem,3vw,2rem)}
.yh-section-head > *{margin:0}
.yh-section-head > .yh-btn{margin-left:auto}
.yh-eyebrow{font-family:var(--yh-font-mono);font-size:.72rem;letter-spacing:.18em;color:var(--yh-lime);text-transform:uppercase}
.yh-grid{display:grid;gap:1.1rem}
.yh-grid--2{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}
.yh-grid--3{grid-template-columns:repeat(auto-fit,minmax(228px,1fr))}
.yh-card{position:relative;padding:1.25rem 1.35rem;border-radius:var(--yh-radius);border:var(--yh-hair);background:linear-gradient(160deg,rgba(18,44,79,.88),rgba(11,31,58,.7));transition:transform .24s var(--yh-ease),border-color .24s var(--yh-ease),box-shadow .24s var(--yh-ease)}
.yh-card:hover{transform:translateY(-4px);border-color:rgba(46,230,214,.55);box-shadow:0 18px 42px rgba(0,0,0,.42)}
.yh-card--glass{background:rgba(168,243,236,.07);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-color:rgba(168,243,236,.3)}
.yh-card__title{font-family:var(--yh-font-head);font-weight:800;font-size:1.1rem;line-height:1.35;letter-spacing:-.01em;margin:0 0 .5rem}
.yh-crumbs{display:flex;flex-wrap:wrap;gap:.55rem;list-style:none;margin:0 0 1.4rem;padding:0;font-family:var(--yh-font-mono);font-size:.74rem;letter-spacing:.06em;color:var(--yh-mist)}
.yh-crumbs a{color:var(--yh-mist);text-decoration:none}
.yh-crumbs a:hover{color:var(--yh-cyan)}
.yh-crumbs li + li::before{content:"/";margin-right:.55rem;color:rgba(143,166,196,.45)}

/* 图片容器基础规则（页面阶段放置图片占位） */
.yh-figure{position:relative;margin:0 0 1.2rem;border-radius:var(--yh-radius);border:var(--yh-hair);overflow:hidden;background:linear-gradient(140deg,rgba(18,44,79,.92),rgba(59,42,99,.55))}
.yh-figure img,.yh-figure picture > img{width:100%;height:100%;object-fit:cover;aspect-ratio:16 / 9}
.yh-figure--tall img,.yh-figure--tall picture > img{aspect-ratio:3 / 4}
.yh-figure--square img,.yh-figure--square picture > img{aspect-ratio:1 / 1}
.yh-figure__cap{position:absolute;left:0;right:0;bottom:0;padding:.75rem .9rem;font-size:.76rem;line-height:1.6;color:var(--yh-glow);background:linear-gradient(0deg,rgba(6,14,28,.92),transparent)}
.yh-figure--frame::after{content:"";position:absolute;inset:10px;border:1px dashed rgba(168,243,236,.28);border-radius:10px;pointer-events:none}

/* 按钮 */
.yh-btn{display:inline-flex;align-items:center;justify-content:center;gap:.45rem;min-height:44px;padding:0 1.15rem;border-radius:999px;border:1px solid transparent;font:inherit;font-weight:700;font-size:.94rem;text-decoration:none;cursor:pointer;transition:transform .2s var(--yh-ease),background-color .2s var(--yh-ease),border-color .2s var(--yh-ease),color .2s var(--yh-ease),box-shadow .2s var(--yh-ease)}
.yh-btn:hover{transform:translateY(-3px)}
.yh-btn--solid{background:linear-gradient(135deg,var(--yh-orange),#ff6a1f);color:#1a0d03;box-shadow:0 12px 28px rgba(255,138,61,.28)}
.yh-btn--solid:hover{box-shadow:0 16px 34px rgba(255,138,61,.4)}
.yh-btn--ghost{background:rgba(46,230,214,.08);border-color:rgba(46,230,214,.42);color:var(--yh-glow)}
.yh-btn--ghost:hover{background:rgba(46,230,214,.16);border-color:var(--yh-cyan)}
.yh-btn--mono{font-family:var(--yh-font-mono);font-size:.78rem;letter-spacing:.06em}

/* 状态标签 */
.yh-chip{display:inline-flex;align-items:center;gap:.45rem;padding:.3rem .72rem;border-radius:999px;border:1px solid rgba(168,243,236,.26);background:rgba(18,44,79,.62);font-family:var(--yh-font-mono);font-size:.73rem;letter-spacing:.08em;color:var(--yh-glow);white-space:nowrap}
.yh-chip__dot{width:7px;height:7px;border-radius:50%;background:var(--yh-lime);box-shadow:0 0 10px rgba(184,241,77,.9);animation:yh-breathe 4.6s ease-in-out infinite}
@keyframes yh-breathe{0%,100%{opacity:1}50%{opacity:.32}}

/* ===== 4. 页头 ===== */
.yh-skip{position:absolute;left:1rem;top:-120px;z-index:200;padding:.7rem 1.15rem;border-radius:0 0 14px 14px;background:var(--yh-cyan);color:#04241f;font-weight:800;text-decoration:none;transition:top .2s var(--yh-ease)}
.yh-skip:focus{top:0}
.yh-header{position:sticky;top:0;z-index:60;background:rgba(6,14,28,.86);-webkit-backdrop-filter:blur(16px) saturate(140%);backdrop-filter:blur(16px) saturate(140%);border-bottom:1px solid rgba(168,243,236,.14);transition:box-shadow .24s var(--yh-ease),background-color .24s var(--yh-ease)}
.yh-header.is-scrolled{background:rgba(6,14,28,.95);box-shadow:0 14px 34px rgba(0,0,0,.45)}
.yh-header__inner{position:relative;display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:74px}
.yh-brand{display:inline-flex;align-items:center;gap:.7rem;text-decoration:none;color:inherit;min-height:44px}
.yh-brand__mark{width:30px;height:30px;flex:0 0 30px;border-radius:9px;background-image:
    repeating-linear-gradient(90deg,rgba(46,230,214,.95) 0 4px,transparent 4px 8px),
    repeating-linear-gradient(0deg,rgba(46,230,214,.95) 0 4px,transparent 4px 8px),
    linear-gradient(140deg,rgba(255,138,61,.55),rgba(59,42,99,.35));
  background-blend-mode:screen;
  box-shadow:0 0 0 1px rgba(168,243,236,.45),0 0 18px rgba(46,230,214,.32)}
.yh-brand__text{display:block}
.yh-brand__name{display:block;font-family:var(--yh-font-head);font-weight:900;font-size:1.08rem;letter-spacing:-.01em;line-height:1.3}
.yh-brand__tagline{display:block;font-size:.7rem;letter-spacing:.1em;color:var(--yh-mist);line-height:1.4}
.yh-nav-toggle{display:none;align-items:center;gap:.55rem;min-height:44px;padding:0 .95rem;border-radius:999px;border:1px solid rgba(168,243,236,.28);background:rgba(18,44,79,.7);color:var(--yh-shell);font-weight:700;font-size:.9rem;cursor:pointer;transition:border-color .2s var(--yh-ease),background-color .2s var(--yh-ease)}
.yh-nav-toggle:hover{border-color:rgba(46,230,214,.7);background:rgba(18,44,79,.95)}
.yh-nav-toggle__bars{position:relative;width:18px;height:2px;border-radius:2px;background:currentColor}
.yh-nav-toggle__bars::before,.yh-nav-toggle__bars::after{content:"";position:absolute;left:0;width:18px;height:2px;border-radius:2px;background:currentColor;transition:transform .24s var(--yh-ease),opacity .24s var(--yh-ease)}
.yh-nav-toggle__bars::before{top:-6px}
.yh-nav-toggle__bars::after{top:6px}
.yh-header[data-open] .yh-nav-toggle__bars{background:transparent}
.yh-header[data-open] .yh-nav-toggle__bars::before{transform:translateY(6px) rotate(45deg)}
.yh-header[data-open] .yh-nav-toggle__bars::after{transform:translateY(-6px) rotate(-45deg)}
.yh-nav-drawer{display:flex;align-items:center;gap:1.1rem;margin-left:auto}
.yh-nav__list{display:flex;flex-wrap:wrap;gap:.3rem;list-style:none}
.yh-nav__link{position:relative;display:inline-flex;align-items:center;min-height:44px;padding:0 .74rem;border-radius:12px;color:var(--yh-mist);text-decoration:none;font-size:.95rem;font-weight:600;transition:color .2s var(--yh-ease)}
.yh-nav__link::after{content:"";position:absolute;left:.74rem;right:.74rem;bottom:10px;height:2px;border-radius:2px;background:linear-gradient(90deg,var(--yh-cyan),var(--yh-lime));transform:scaleX(0);transform-origin:left;transition:transform .22s var(--yh-ease)}
.yh-nav__link:hover{color:var(--yh-shell)}
.yh-nav__link:hover::after,.yh-nav__link:focus-visible::after{transform:scaleX(1)}
.yh-nav__link[aria-current="page"]{color:var(--yh-glow)}
.yh-nav__link[aria-current="page"]::after{transform:scaleX(1)}
.yh-header__tools{display:flex;align-items:center;gap:.55rem}
.yh-nav__contact{display:none;align-items:center;justify-content:center;min-height:44px;border-radius:999px;border:1px dashed rgba(46,230,214,.45);color:var(--yh-glow);text-decoration:none;font-weight:700;font-size:.95rem}
.yh-nav__contact:hover{border-color:var(--yh-cyan);background:rgba(46,230,214,.1)}

/* 目录导出浮层 */
.yh-export{position:absolute;top:calc(100% + 12px);right:0;width:min(420px,calc(100vw - 2.4rem));padding:1rem 1.05rem 1.1rem;border-radius:var(--yh-radius);border:1px solid rgba(46,230,214,.32);background:linear-gradient(160deg,rgba(11,31,58,.98),rgba(6,14,28,.99));box-shadow:0 26px 60px rgba(0,0,0,.6);z-index:80}
.yh-export[hidden]{display:none}
.yh-export__head{display:flex;align-items:center;justify-content:space-between;gap:.8rem;margin-bottom:.7rem}
.yh-export__title{font-family:var(--yh-font-mono);font-size:.75rem;letter-spacing:.12em;color:var(--yh-lime)}
.yh-export__close{padding:.25rem .72rem;border-radius:999px;border:1px solid rgba(168,243,236,.3);background:transparent;color:var(--yh-mist);font-family:var(--yh-font-mono);font-size:.73rem;letter-spacing:.08em;cursor:pointer;transition:color .2s var(--yh-ease),border-color .2s var(--yh-ease)}
.yh-export__close:hover{color:var(--yh-glow);border-color:rgba(46,230,214,.65)}
.yh-export__body{margin:0;padding:.8rem .85rem;max-height:min(46vh,320px);overflow:auto;border-radius:var(--yh-radius-sm);border:1px dashed rgba(168,243,236,.22);background:rgba(6,14,28,.72);font-family:var(--yh-font-mono);font-size:.75rem;line-height:1.75;letter-spacing:.02em;color:var(--yh-shell);white-space:pre-wrap;word-break:break-word}
.yh-export__hint{margin:.7rem 0 0;font-size:.73rem;line-height:1.6;color:var(--yh-mist)}

/* 滚动进度光线 */
.yh-progress{position:absolute;left:0;right:0;bottom:-1px;height:2px;pointer-events:none;background:linear-gradient(90deg,rgba(46,230,214,.12),transparent)}
.yh-progress__bar{display:block;width:0;height:100%;background:linear-gradient(90deg,var(--yh-cyan),var(--yh-lime) 55%,var(--yh-orange));box-shadow:0 0 12px rgba(46,230,214,.6)}

/* ===== 5. 页脚 ===== */
.yh-footer{position:relative;margin-top:clamp(3rem,8vw,6rem);border-top:1px solid rgba(168,243,236,.16);background:linear-gradient(180deg,rgba(8,21,43,.62),#060E1C 72%);overflow:hidden}
.yh-footer::before{content:"";position:absolute;top:-1px;left:0;right:0;height:4px;background-image:repeating-linear-gradient(90deg,rgba(46,230,214,.55) 0 1px,transparent 1px 16px);opacity:.5;pointer-events:none}
.yh-footer__glow{position:absolute;left:-10%;right:-10%;bottom:-160px;height:300px;background:radial-gradient(closest-side,rgba(46,230,214,.2),transparent 70%);filter:blur(14px);pointer-events:none}
.yh-footer__inner{position:relative;display:grid;gap:2rem;padding-block:clamp(2.4rem,6vw,4rem);grid-template-columns:1fr}
.yh-footer__wordmark{font-family:var(--yh-font-head);font-weight:900;font-size:1.5rem;letter-spacing:-.02em;line-height:1.3;margin:0 0 .2rem}
.yh-footer__tagline{margin:0 0 .9rem;font-size:.8rem;letter-spacing:.1em;color:var(--yh-glow)}
.yh-footer__note{margin:0 0 1.2rem;max-width:36ch;font-size:.9rem;line-height:1.75;color:var(--yh-mist)}
.yh-footer__col-title{margin:0 0 .9rem;font-family:var(--yh-font-mono);font-size:.72rem;letter-spacing:.16em;color:var(--yh-lime);text-transform:uppercase}
.yh-footer__list{list-style:none;display:grid;gap:.55rem}
.yh-footer__list a{color:var(--yh-mist);text-decoration:none;font-size:.94rem;transition:color .2s var(--yh-ease)}
.yh-footer__list a:hover{color:var(--yh-cyan);text-decoration:underline;text-underline-offset:4px}
.yh-footer__contact{list-style:none;display:grid;gap:.85rem;font-size:.9rem;color:var(--yh-mist)}
.yh-footer__contact li{display:grid;gap:.15rem}
.yh-footer__label{font-family:var(--yh-font-mono);font-size:.7rem;letter-spacing:.12em;color:rgba(143,166,196,.85)}
.yh-copy{display:inline-flex;align-items:center;justify-content:flex-start;padding:0;border:0;background:none;color:var(--yh-shell);font-family:var(--yh-font-mono);font-size:.85rem;letter-spacing:.03em;text-align:left;cursor:pointer;transition:color .2s var(--yh-ease)}
.yh-copy:hover{color:var(--yh-cyan);text-decoration:underline;text-underline-offset:4px}
.yh-copy--static{display:block;font-size:.88rem;line-height:1.75;color:var(--yh-mist)}
.yh-footer__more{display:inline-flex;align-items:center;min-height:44px;margin-top:.6rem;color:var(--yh-glow);font-size:.9rem;font-weight:700;text-decoration:none;border-bottom:1px dashed rgba(46,230,214,.5)}
.yh-footer__more:hover{color:var(--yh-cyan)}
.yh-footer__base{position:relative;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.5rem 1.6rem;padding-block:1.1rem 1.6rem;border-top:1px dashed rgba(168,243,236,.18);font-size:.8rem;color:var(--yh-mist)}
.yh-footer__legal{margin:0;font-family:var(--yh-font-mono);letter-spacing:.04em}
.yh-footer__closing{margin:0;color:var(--yh-glow)}

/* ===== 6. 响应式 ===== */
@media (min-width:800px){
  .yh-footer__inner{grid-template-columns:1.5fr 1fr 1fr 1.25fr;gap:2.4rem}
}
@media (max-width:920px){
  .yh-nav-toggle{display:inline-flex}
  .yh-nav-drawer{
    position:absolute;left:0;right:0;top:100%;
    display:block;margin-left:0;
    padding:.5rem 1.2rem 1.3rem;
    background:linear-gradient(180deg,rgba(8,21,43,.99),rgba(6,14,28,.99));
    border-bottom:1px solid rgba(168,243,236,.2);
    max-height:0;opacity:0;visibility:hidden;overflow:hidden;
    transition:max-height .32s var(--yh-ease),opacity .24s var(--yh-ease),visibility .32s;
  }
  .yh-header[data-open] .yh-nav-drawer{max-height:min(78vh,640px);opacity:1;visibility:visible;overflow-y:auto}
  .yh-nav__list{flex-direction:column;gap:.15rem}
  .yh-nav__link{width:100%;justify-content:flex-start;padding:0 1rem;font-size:1.04rem;border-radius:14px}
  .yh-nav__link::after{left:1rem;right:auto;width:26px;bottom:11px}
  .yh-header__tools{flex-direction:column;align-items:stretch;gap:.7rem;margin-top:.8rem;padding-top:.9rem;border-top:1px dashed rgba(168,243,236,.2)}
  .yh-chip{justify-content:center}
  .yh-nav__contact{display:inline-flex}
  .yh-brand__tagline{font-size:.66rem}
}
@media (max-width:420px){
  .yh-brand__tagline{display:none}
  .yh-export{width:calc(100vw - 2rem);right:-.2rem}
}

/* ===== 7. 动效与可达性 ===== */
html.yh-js [data-reveal]{opacity:0;transform:translateY(14px);transition:opacity .5s var(--yh-ease),transform .5s var(--yh-ease)}
html.yh-js [data-reveal].is-visible{opacity:1;transform:none}
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.001ms !important;animation-iteration-count:1 !important;transition-duration:.001ms !important}
  html.yh-js [data-reveal]{opacity:1;transform:none}
  .yh-chip__dot{opacity:1}
}
