/* ==========================================================================
   冠竞体育 · 共享站点样式  /assets/site.css
   结构：令牌 → 重置 → 排版 → 工具类 → 按钮 → 头部轨道 → 页脚 → 组件
   ========================================================================== */

/* ---------- 1. 设计令牌 ---------- */
:root{
  --ink:#071A2F;
  --ink-2:#0E2A47;
  --ink-3:#0B0F14;
  --orange:#FF6B2C;
  --orange-soft:#FF8A56;
  --cyan:#2BE3C4;
  --sand:#F2E6D0;
  --paper:#FBF7EF;
  --steel:#5A6B7B;
  --blue:#3A7BFF;
  --red:#E5484D;

  --rail-w:252px;
  --header-h:64px;
  --gutter:clamp(1.1rem,4vw,3.2rem);
  --wrap-max:1180px;
  --cut:16px;

  --font-display:"Barlow Condensed","Oswald","Arial Narrow","Noto Sans SC","PingFang SC","Microsoft YaHei",system-ui,sans-serif;
  --font-body:"Inter","Noto Sans SC","PingFang SC","Microsoft YaHei",system-ui,-apple-system,sans-serif;
  --font-mono:"JetBrains Mono","IBM Plex Mono","SFMono-Regular",ui-monospace,monospace;
  --font-serif:"Noto Serif SC","Songti SC",Georgia,serif;

  --ease:cubic-bezier(.2,.7,.2,1);
  --line:rgba(251,247,239,.12);
  --line-strong:rgba(43,227,196,.28);
}

/* ---------- 2. 重置 ---------- */
*,*::before,*::after{box-sizing:border-box}
html{
  -webkit-text-size-adjust:100%;
  scroll-behavior:smooth;
  scrollbar-color:var(--steel) var(--ink);
  background:var(--ink);
}
body{
  margin:0;
  min-height:100vh;
  background:var(--ink);
  color:var(--paper);
  font-family:var(--font-body);
  font-size:clamp(16px,1.5vw,17px);
  line-height:1.75;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  text-rendering:optimizeLegibility;
}
h1,h2,h3,h4,h5,h6,p,figure,blockquote,dl,dd,dt{margin:0}
ul,ol{margin:0;padding:0;list-style:none}
img,svg,video{display:block;max-width:100%}
img{height:auto}
button{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer}
a{color:inherit;text-decoration:none}
strong{font-weight:700}
::selection{background:var(--orange);color:var(--ink-3)}

/* ---------- 3. 排版 ---------- */
.display{
  font-family:var(--font-display);
  font-weight:900;
  font-size:clamp(2.6rem,8vw,5.5rem);
  line-height:.96;
  letter-spacing:-.02em;
  text-wrap:balance;
}
.title-lg{
  font-family:var(--font-display);
  font-weight:900;
  font-size:clamp(2rem,4.6vw,3.4rem);
  line-height:1.02;
  letter-spacing:-.02em;
}
.title-md{
  font-family:var(--font-display);
  font-weight:800;
  font-size:clamp(1.35rem,2.6vw,2.1rem);
  line-height:1.12;
  letter-spacing:-.01em;
}
.lede{
  font-family:var(--font-serif);
  font-size:clamp(1.02rem,1.7vw,1.32rem);
  line-height:1.75;
  color:rgba(251,247,239,.84);
  max-width:64ch;
}
.muted{color:rgba(251,247,239,.6)}
.mono{font-family:var(--font-mono);font-variant-numeric:tabular-nums;letter-spacing:.02em}
.eyebrow{
  display:inline-flex;align-items:center;gap:.6rem;
  font-family:var(--font-mono);
  font-size:.7rem;letter-spacing:.2em;text-transform:uppercase;
  color:var(--cyan);
}
.eyebrow::before{content:"";width:28px;height:2px;background:var(--orange);flex:none}
.prose{
  max-width:68ch;
  font-size:1.02rem;
  line-height:1.8;
  color:rgba(251,247,239,.84);
}
.prose>*+*{margin-top:1.05em}
.prose h2,.prose h3{
  font-family:var(--font-display);font-weight:900;line-height:1.15;
  letter-spacing:-.01em;color:var(--paper);margin-top:1.9em;
}
.prose h2{font-size:clamp(1.4rem,2.6vw,2rem)}
.prose h3{font-size:clamp(1.15rem,2vw,1.45rem)}
.prose ul,.prose ol{list-style:revert;padding-left:1.35em}
.prose li+li{margin-top:.4em}
.prose a{color:var(--cyan);text-decoration:underline;text-underline-offset:3px}
.prose strong{color:#fff}

/* ---------- 4. 工具与容器 ---------- */
.wrap{
  width:min(100% - 2 * var(--gutter),var(--wrap-max));
  margin-inline:auto;
}
.sr-only{
  position:absolute;width:1px;height:1px;margin:-1px;padding:0;
  overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0;
}
.section{padding-block:clamp(3rem,7vw,6rem)}
.section--ink{background:var(--ink);color:var(--paper)}
.section--ink2{background:var(--ink-2);color:var(--paper)}
.section--sand{background:var(--sand);color:var(--ink-3)}
.section--sand .muted{color:#4C5C6B}
.section--sand .lede{color:#2B3B4A}
.section--sand .prose{color:#22313F}
.section--sand .prose h2,.section--sand .prose h3,.section--sand .prose strong{color:var(--ink-3)}
.section--sand .eyebrow{color:#1B7F72}
.section--sand .breadcrumbs{color:#4C5C6B}
.section--sand .breadcrumbs a:hover{color:var(--ink-3)}

.grid{display:grid;gap:clamp(1rem,2.5vw,1.75rem)}
.grid--3{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}
@media (min-width:900px){
  .grid--7-5{grid-template-columns:7fr 5fr}
  .grid--8-4{grid-template-columns:8fr 4fr}
}

/* ---------- 5. 按钮 ---------- */
.btn{
  position:relative;isolation:isolate;
  display:inline-flex;align-items:center;justify-content:center;gap:.5rem;
  padding:.74rem 1.15rem;
  font-family:var(--font-body);
  font-weight:600;font-size:.9rem;line-height:1.2;letter-spacing:.02em;
  color:var(--btn-fg,var(--paper));
  --btn-bg:rgba(255,255,255,.06);
  --btn-bg-hover:rgba(255,255,255,.14);
  --btn-bd:rgba(251,247,239,.28);
  --btn-bd-hover:rgba(251,247,239,.5);
  transition:color .18s var(--ease);
}
.btn::before{
  content:"";position:absolute;inset:0;z-index:-1;
  background:var(--btn-bg);
  border:1px solid var(--btn-bd);
  clip-path:polygon(0 0,calc(100% - 10px) 0,100% 10px,100% 100%,10px 100%,0 calc(100% - 10px));
  transition:background-color .18s var(--ease),border-color .18s var(--ease);
}
.btn:hover::before{background:var(--btn-bg-hover);border-color:var(--btn-bd-hover)}
.btn--primary{--btn-fg:#0B0F14;--btn-bg:var(--orange);--btn-bg-hover:var(--orange-soft);--btn-bd:var(--orange);--btn-bd-hover:var(--orange-soft)}
.btn--ghost{--btn-fg:var(--paper);--btn-bg:transparent;--btn-bg-hover:rgba(43,227,196,.14);--btn-bd:rgba(43,227,196,.42);--btn-bd-hover:var(--cyan)}
.btn--block{width:100%}

/* ---------- 6. 跳过链接 ---------- */
.skip-link{
  position:fixed;top:.6rem;left:.6rem;z-index:300;
  padding:.7rem 1.1rem;
  background:var(--cyan);color:#04121E;
  font-weight:700;font-size:.9rem;
  text-decoration:none;
  transform:translateY(-180%);
  transition:transform .18s var(--ease);
}
.skip-link:focus{transform:translateY(0)}

/* ---------- 7. 头部：侧边索引轨道 ---------- */
.site-header{
  position:fixed;inset:0 auto 0 0;
  width:var(--rail-w);
  display:flex;flex-direction:column;
  background:linear-gradient(180deg,#071A2F 0%,#08203A 55%,#061627 100%);
  border-right:1px solid var(--line-strong);
  z-index:90;
  overflow:hidden;
}
.site-header::after{
  content:"";position:absolute;right:-40%;top:-10%;
  width:120%;height:60%;
  background:linear-gradient(150deg,rgba(43,227,196,.10),transparent 62%);
  transform:rotate(-8deg);pointer-events:none;
}

/* 顶部状态条 */
.rail-status{
  display:flex;align-items:center;gap:.55rem;
  padding:.72rem 1.15rem;
  font-family:var(--font-mono);font-size:10.5px;letter-spacing:.14em;text-transform:uppercase;
  color:rgba(251,247,239,.66);
  background:rgba(43,227,196,.07);
  border-bottom:1px solid var(--line);
}
.rail-status__dot{
  width:7px;height:7px;flex:none;border-radius:50%;
  background:var(--cyan);
  box-shadow:0 0 0 3px rgba(43,227,196,.18);
  animation:dotPulse 2.6s ease-in-out infinite;
}
.rail-status__label{white-space:nowrap}
.rail-status__mono{margin-left:auto;color:var(--cyan);letter-spacing:.08em}

/* 品牌 */
.rail-head{padding:1.3rem 1.15rem 1.1rem;border-bottom:1px solid var(--line)}
.brand{display:flex;align-items:center;gap:.7rem;color:var(--paper)}
.brand__mark{
  flex:none;width:44px;height:44px;
  display:grid;place-items:center;
  font-family:var(--font-display);font-weight:900;font-size:22px;line-height:1;
  color:#061627;background:var(--orange);
  clip-path:polygon(0 0,100% 0,100% 68%,68% 100%,0 100%);
  transition:transform .2s var(--ease);
}
.brand:hover .brand__mark{transform:translateY(-2px)}
.brand__text{display:block;min-width:0}
.brand__name{
  display:block;
  font-family:var(--font-display);font-weight:800;
  font-size:1.18rem;line-height:1.1;letter-spacing:.01em;
}
.brand__sub{
  display:block;margin-top:.28rem;
  font-family:var(--font-mono);font-size:10px;letter-spacing:.1em;
  color:var(--cyan);
}

/* 抽屉按钮 */
.nav-toggle{
  display:none;align-items:center;gap:.55rem;
  padding:.48rem .7rem;
  border:1px solid rgba(43,227,196,.38);
  color:var(--paper);
  font-family:var(--font-mono);font-size:.68rem;letter-spacing:.14em;text-transform:uppercase;
}
.nav-toggle__bars{position:relative;display:block;width:18px;height:12px;flex:none}
.nav-toggle__bars::before,
.nav-toggle__bars::after{
  content:"";position:absolute;left:0;width:100%;height:2px;
  background:var(--cyan);
  transition:transform .2s var(--ease),top .2s var(--ease);
}
.nav-toggle__bars::before{top:0}
.nav-toggle__bars::after{top:10px}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before{top:5px;transform:rotate(45deg)}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after{top:5px;transform:rotate(-45deg)}

/* 轨道主体 */
.rail-body{
  display:flex;flex-direction:column;
  flex:1 1 auto;min-height:0;
  overflow-y:auto;
  overscroll-behavior:contain;
}
.site-nav{padding:.9rem .7rem}
.site-nav__list{display:flex;flex-direction:column;gap:2px}
.site-nav__link{
  position:relative;
  display:flex;align-items:center;gap:.65rem;
  padding:.6rem .7rem;
  font-size:.95rem;line-height:1.3;
  color:rgba(251,247,239,.74);
  transition:color .18s var(--ease),background-color .18s var(--ease),transform .18s var(--ease);
}
.site-nav__link::before{
  content:"";position:absolute;left:0;top:50%;
  width:3px;height:0;background:var(--cyan);
  transform:translateY(-50%);
  transition:height .2s var(--ease);
}
.site-nav__link:hover{
  color:var(--paper);
  background:rgba(255,255,255,.055);
  transform:translateX(2px);
}
.site-nav__link:hover::before{height:58%}
.site-nav__idx{
  font-family:var(--font-mono);font-size:.66rem;letter-spacing:.08em;
  color:rgba(251,247,239,.42);min-width:1.7em;
  transition:color .18s var(--ease);
}
.site-nav__label{font-weight:500}
.site-nav__link[aria-current="page"]{
  color:#fff;
  background:linear-gradient(90deg,rgba(43,227,196,.18),rgba(43,227,196,.02));
}
.site-nav__link[aria-current="page"]::before{height:74%}
.site-nav__link[aria-current="page"] .site-nav__idx{color:var(--cyan)}

.rail-actions{
  margin-top:auto;
  display:grid;gap:.55rem;
  padding:1rem 1.15rem 1.35rem;
  border-top:1px solid var(--line);
}
.rail-actions__note{
  font-family:var(--font-mono);font-size:10.5px;letter-spacing:.06em;
  color:rgba(251,247,239,.5);
}

/* 阅读进度 */
.rail-progress{
  position:absolute;top:0;right:0;bottom:0;width:2px;
  background:rgba(255,255,255,.07);
  pointer-events:none;
}
.rail-progress__fill{
  display:block;width:100%;height:100%;
  background:linear-gradient(180deg,var(--cyan),var(--orange));
  transform:scaleY(var(--p,0));
  transform-origin:top center;
}

/* ---------- 8. 桌面内容偏移 ---------- */
@media (min-width:1024px){
  body{padding-left:var(--rail-w)}
}

/* ---------- 9. 移动/平板：顶部横条 + 抽屉 ---------- */
@media (max-width:1023.98px){
  .site-header{
    position:sticky;top:0;left:auto;
    width:100%;
    flex-direction:column;
    border-right:0;
    border-bottom:1px solid var(--line-strong);
    overflow:visible;
  }
  .site-header::after{display:none}
  .rail-status{display:none}
  .rail-head{
    display:flex;align-items:center;justify-content:space-between;gap:1rem;
    min-height:var(--header-h);
    padding:.55rem var(--gutter);
    border-bottom:0;
  }
  .brand__mark{width:36px;height:36px;font-size:18px}
  .brand__name{font-size:1.05rem}
  .brand__sub{font-size:9px}
  .nav-toggle{display:inline-flex}
  .rail-body{
    position:fixed;left:0;right:0;top:var(--header-h);bottom:0;
    padding:.5rem 0 1.4rem;
    background:linear-gradient(180deg,#08203A 0%,#05121F 100%);
    border-top:1px solid var(--line-strong);
    opacity:0;visibility:hidden;
    transform:translateY(-10px);
    transition:opacity .2s var(--ease),transform .2s var(--ease),visibility .2s linear;
    overflow-y:auto;
    z-index:95;
  }
  .site-header[data-open] .rail-body{
    opacity:1;visibility:visible;transform:none;
  }
  .site-nav{padding:.9rem var(--gutter)}
  .site-nav__link{padding:.8rem .6rem;font-size:1rem}
  .rail-actions{padding:1rem var(--gutter) 1.4rem}
  .rail-progress{
    top:auto;left:0;right:0;bottom:0;
    width:auto;height:2px;
  }
  .rail-progress__fill{
    transform:scaleX(var(--p,0));
    transform-origin:left center;
    background:linear-gradient(90deg,var(--cyan),var(--orange));
  }
  html[data-nav-open] body{overflow:hidden}
}

/* ---------- 10. 页脚 ---------- */
.site-footer{
  position:relative;
  background:linear-gradient(180deg,#071A2F 0%,#0B0F14 82%);
  color:var(--paper);
  overflow:hidden;
  border-top:1px solid var(--line);
}
.site-footer::before{
  content:"";position:absolute;top:-20%;right:-12%;
  width:58%;height:130%;
  background:linear-gradient(120deg,rgba(255,107,44,.16),transparent 62%);
  transform:skewX(-12deg);
  pointer-events:none;
}
.footer__edge{
  height:10px;
  background:
    repeating-linear-gradient(-45deg,rgba(43,227,196,.55) 0 2px,transparent 2px 10px),
    rgba(255,255,255,.04);
  border-top:1px solid rgba(255,255,255,.07);
}
.footer__inner{
  position:relative;
  width:min(100% - 2 * var(--gutter),var(--wrap-max));
  margin-inline:auto;
  padding-block:clamp(2.4rem,6vw,4.2rem);
}
.footer__masthead{position:relative}
.footer__brand{
  font-family:var(--font-display);font-weight:900;
  font-size:clamp(2rem,5vw,3.1rem);line-height:1;
  letter-spacing:-.01em;
}
.footer__meta{
  display:flex;align-items:center;gap:.55rem;
  margin-top:.85rem;
  font-family:var(--font-mono);font-size:.7rem;letter-spacing:.14em;text-transform:uppercase;
  color:var(--cyan);
}
.footer__watermark{
  position:absolute;right:0;top:-.35em;
  font-family:var(--font-display);font-weight:900;
  font-size:clamp(4rem,14vw,9rem);line-height:.8;letter-spacing:-.04em;
  color:rgba(255,255,255,.045);
  pointer-events:none;user-select:none;
}
.footer__grid{
  display:grid;gap:clamp(1.5rem,4vw,3rem);
  grid-template-columns:1fr;
  margin-top:clamp(2rem,4vw,3rem);
  padding-top:clamp(1.5rem,3vw,2.4rem);
  border-top:1px solid var(--line);
}
@media (min-width:640px){.footer__grid{grid-template-columns:repeat(2,1fr)}}
@media (min-width:1024px){.footer__grid{grid-template-columns:1fr 1fr 1.5fr}}
.footer__col{min-width:0}
.footer__col-title{
  margin-bottom:1rem;
  font-family:var(--font-mono);font-size:.68rem;letter-spacing:.2em;text-transform:uppercase;
  color:rgba(251,247,239,.5);
}
.footer__list{display:grid;gap:.55rem}
.footer__link{
  display:inline-flex;align-items:center;
  font-size:.94rem;color:rgba(251,247,239,.8);
  transition:color .16s var(--ease),transform .16s var(--ease);
}
.footer__link:hover{color:var(--cyan);transform:translateX(3px)}
.footer__contact{display:grid;gap:.8rem}
.footer__row{
  display:grid;grid-template-columns:5.4em 1fr;gap:.6rem;align-items:start;
  font-size:.86rem;
}
.footer__row dt{
  font-family:var(--font-mono);font-size:.64rem;letter-spacing:.12em;text-transform:uppercase;
  color:rgba(251,247,239,.45);padding-top:.3em;
}
.footer__row dd{
  display:flex;align-items:center;flex-wrap:wrap;gap:.45rem;
  font-family:var(--font-mono);font-size:.8rem;line-height:1.5;
  color:rgba(251,247,239,.86);
  word-break:break-all;
}
.footer__row--text dd{
  font-family:var(--font-body);font-size:.88rem;letter-spacing:0;word-break:normal;
  color:rgba(251,247,239,.78);
}
.copy-btn{
  padding:.22rem .5rem;
  font-family:var(--font-mono);font-size:.6rem;letter-spacing:.12em;text-transform:uppercase;
  color:var(--cyan);
  border:1px solid rgba(43,227,196,.42);
  background:rgba(43,227,196,.07);
  transition:background-color .16s var(--ease),color .16s var(--ease),border-color .16s var(--ease);
}
.copy-btn:hover{background:var(--cyan);color:#04121E;border-color:var(--cyan)}
.copy-btn[data-copied]{background:var(--orange);border-color:var(--orange);color:var(--ink-3)}
.footer__base{
  width:min(100% - 2 * var(--gutter),var(--wrap-max));
  margin-inline:auto;
  display:flex;flex-wrap:wrap;gap:.5rem 1.6rem;align-items:center;justify-content:space-between;
  padding-block:1.1rem 1.7rem;
  border-top:1px solid var(--line);
  font-family:var(--font-mono);font-size:.68rem;letter-spacing:.08em;
  color:rgba(251,247,239,.55);
}
.footer__base-item{margin:0}

/* ---------- 11. 组件 ---------- */
.dot{
  display:inline-block;flex:none;
  width:8px;height:8px;border-radius:50%;
  background:var(--cyan);
  box-shadow:0 0 0 3px rgba(43,227,196,.16);
  animation:dotPulse 2.6s ease-in-out infinite;
}
@keyframes dotPulse{
  0%,100%{box-shadow:0 0 0 3px rgba(43,227,196,.18)}
  50%{box-shadow:0 0 0 7px rgba(43,227,196,.04)}
}

.breadcrumbs{
  font-family:var(--font-mono);font-size:.72rem;letter-spacing:.08em;
  color:rgba(251,247,239,.55);
}
.breadcrumbs ol{display:flex;flex-wrap:wrap;align-items:center;gap:.45rem}
.breadcrumbs li{display:flex;align-items:center;gap:.45rem}
.breadcrumbs li+li::before{content:"/";color:rgba(43,227,196,.6)}
.breadcrumbs a{border-bottom:1px solid transparent;transition:color .16s var(--ease)}
.breadcrumbs a:hover{color:var(--cyan)}
.breadcrumbs [aria-current="page"]{color:var(--paper)}

.tag{
  display:inline-flex;align-items:center;gap:.4rem;
  padding:.24rem .6rem;
  font-family:var(--font-mono);font-size:.66rem;letter-spacing:.12em;text-transform:uppercase;
  color:rgba(251,247,239,.82);
  border:1px solid rgba(251,247,239,.24);
}
.tag--cyan{background:var(--cyan);border-color:var(--cyan);color:#04121E}
.tag--orange{background:var(--orange);border-color:var(--orange);color:var(--ink-3)}
.tag--red{background:var(--red);border-color:var(--red);color:#fff}
.tag--ghost{background:transparent;color:rgba(251,247,239,.7)}

.tile{
  position:relative;isolation:isolate;display:block;
  padding:clamp(1.1rem,2.4vw,1.9rem);
  color:var(--paper);
  transition:transform .2s var(--ease);
}
.tile::before{
  content:"";position:absolute;inset:0;z-index:-1;
  background:var(--ink-2);
  clip-path:polygon(0 0,calc(100% - 18px) 0,100% 18px,100% 100%,18px 100%,0 calc(100% - 18px));
  transition:background-color .2s var(--ease);
}
.tile::after{
  content:"";position:absolute;left:0;top:0;height:3px;width:56px;
  background:var(--orange);
}
.tile:hover{transform:translateY(-3px)}
.tile:hover::before{background:#123454}
.tile--lg{padding:clamp(1.5rem,3.4vw,2.8rem)}
.tile--sm{padding:clamp(.85rem,1.8vw,1.15rem)}
.tile--sand{color:var(--ink-3)}
.tile--sand::before{background:var(--sand)}
.tile--sand:hover::before{background:#EAD9BC}
.tile--sand .tile__desc{color:#3D4E5C}
.tile--accent{color:var(--ink-3)}
.tile--accent::before{background:var(--orange)}
.tile--accent:hover::before{background:var(--orange-soft)}
.tile__num{
  display:block;
  font-family:var(--font-mono);font-weight:700;
  font-size:clamp(2rem,4.4vw,3.2rem);line-height:1;letter-spacing:-.03em;
  color:var(--cyan);
}
.tile--sand .tile__num,.tile--accent .tile__num{color:#12604F}
.tile__title{
  display:block;margin-top:.7rem;
  font-family:var(--font-display);font-weight:800;
  font-size:clamp(1.15rem,2.2vw,1.6rem);line-height:1.15;
}
.tile__desc{
  display:block;margin-top:.55rem;
  font-size:.94rem;line-height:1.7;color:rgba(251,247,239,.7);
}
.tile a:focus-visible{outline-offset:-3px}

.band{
  display:flex;gap:clamp(.75rem,2vw,1.4rem);
  padding-block:1rem;
  border-block:1px solid var(--line);
  overflow-x:auto;
  overscroll-behavior-x:contain;
}
.band__item{
  flex:none;
  display:flex;align-items:center;gap:.5rem;
  font-family:var(--font-mono);font-size:.72rem;letter-spacing:.1em;text-transform:uppercase;
  color:rgba(251,247,239,.72);
}
.section--sand .band{border-color:rgba(11,15,20,.18)}
.section--sand .band__item{color:#3D4E5C}

.media{
  position:relative;overflow:hidden;
  background:var(--ink-2);
  clip-path:polygon(0 0,calc(100% - 22px) 0,100% 22px,100% 100%,22px 100%,0 calc(100% - 22px));
}
.media img{width:100%;height:100%;object-fit:cover;object-position:center}
.media--wide{aspect-ratio:16/9}
.media--tall{aspect-ratio:4/5}
.media--square{aspect-ratio:1/1}
.media--strip{aspect-ratio:21/9}
.media--tint::after{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(125deg,rgba(43,227,196,.16),transparent 46%,rgba(255,107,44,.18));
  mix-blend-mode:screen;
}
.media__caption{
  margin-top:.7rem;
  font-family:var(--font-mono);font-size:.68rem;letter-spacing:.08em;
  color:rgba(251,247,239,.5);
}
.section--sand .media__caption{color:#4C5C6B}

.disclosure{border-top:1px solid var(--line)}
.section--sand .disclosure{border-top-color:rgba(11,15,20,.18)}
.disclosure__summary{
  display:flex;align-items:center;justify-content:space-between;gap:1rem;
  width:100%;padding:1.05rem 0;text-align:left;
  font-weight:600;font-size:1.02rem;line-height:1.5;
  color:var(--paper);
}
.section--sand .disclosure__summary{color:var(--ink-3)}
.disclosure__arrow{
  flex:none;width:12px;height:12px;
  border-right:2px solid var(--cyan);border-bottom:2px solid var(--cyan);
  transform:rotate(45deg);
  transition:transform .2s var(--ease);
  margin-bottom:.25rem;
}
.disclosure__summary[aria-expanded="true"] .disclosure__arrow{transform:rotate(-135deg);margin-bottom:-.25rem}
.disclosure__panel{
  display:grid;grid-template-rows:0fr;
  transition:grid-template-rows .22s var(--ease);
}
.disclosure[data-open] .disclosure__panel{grid-template-rows:1fr}
.disclosure__inner{overflow:hidden}
.disclosure__panel .prose{padding-bottom:1.2rem;max-width:70ch}

/* ---------- 12. 焦点与动效偏好 ---------- */
:focus-visible{
  outline:2px solid var(--cyan);
  outline-offset:3px;
}
.site-nav__link:focus-visible{outline-offset:-2px}
.copy-btn:focus-visible{outline-offset:2px}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{
    animation-duration:.001ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.001ms !important;
  }
  .site-nav__link:hover,
  .tile:hover,
  .brand:hover .brand__mark,
  .footer__link:hover{transform:none}
  .rail-progress__fill{transition:none}
}
