/* ============================================================
   欧皇体育 /assets/site.css
   夜场灯光 + 记分牌秩序：墨绿做底，夜蓝承数据，金橙点心，霓虹青报数
   ============================================================ */

/* ---------- 1. 重置 ---------- */
*,*::before,*::after{ box-sizing:border-box; }
html{
  -webkit-text-size-adjust:100%;
  scroll-behavior:smooth;
  scroll-padding-top:96px;
}
body,h1,h2,h3,h4,h5,p,figure,blockquote,dl,dd,ul,ol{ margin:0; }
ul,ol{ padding:0; list-style:none; }
img,svg,video{ display:block; max-width:100%; }
a{ color:inherit; text-decoration:none; }
button,input,select,textarea{ font:inherit; color:inherit; }
button{ background:none; border:0; padding:0; cursor:pointer; }
table{ border-collapse:collapse; width:100%; }
hr{ border:0; border-top:1px solid var(--line); margin:0; }

/* ---------- 2. 设计变量 ---------- */
:root{
  /* 品牌色板 */
  --ou-orange:#FF8A1F;
  --ou-orange-soft:#FFA95A;
  --ou-green:#0E3B2E;
  --ou-green-deep:#082319;
  --ou-blue:#0B1F3A;
  --ou-blue-deep:#061428;
  --ou-cyan:#19E3D1;
  --ou-cream:#FFF8EC;
  --ou-ink:#14161C;
  --ou-sand:#C9A24B;
  --ou-red:#E5483F;
  --ou-mist:#A9B4C2;

  /* 语义色 */
  --text-strong:var(--ou-ink);
  --text-body:#3C4553;
  --text-mute:#6B7686;
  --line:#E4DACA;
  --focus-ring:var(--ou-cyan);

  /* 字体 */
  --font-display:"Noto Sans SC","Source Han Sans SC","PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;
  --font-body:"Noto Sans SC","PingFang SC","Hiragino Sans GB","Microsoft YaHei",system-ui,-apple-system,sans-serif;
  --font-mono:ui-monospace,"JetBrains Mono","Roboto Mono","SFMono-Regular",Menlo,Consolas,monospace;

  /* 字号阶梯 12/14/16/20/28/40/64/96 */
  --fs-12:0.75rem;
  --fs-14:0.875rem;
  --fs-16:1rem;
  --fs-20:1.25rem;
  --fs-28:1.75rem;
  --fs-40:2.5rem;
  --fs-64:4rem;
  --fs-96:6rem;

  /* 间距 */
  --sp-1:0.25rem;
  --sp-2:0.5rem;
  --sp-3:0.75rem;
  --sp-4:1rem;
  --sp-5:1.5rem;
  --sp-6:2rem;
  --sp-7:3rem;
  --sp-8:4.5rem;

  /* 结构与形状 */
  --shell:1200px;
  --radius-s:6px;
  --radius-m:14px;
  --radius-l:26px;
  --shadow-lift:0 18px 40px -26px rgba(6,20,40,.6);
}

/* ---------- 3. 基础排版 ---------- */
body{
  font-family:var(--font-body);
  font-size:var(--fs-16);
  line-height:1.72;
  color:var(--text-body);
  background-color:var(--ou-cream);
  background-image:
    linear-gradient(rgba(14,59,46,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14,59,46,.045) 1px, transparent 1px);
  background-size:64px 64px, 64px 64px;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
@media (min-width:768px){
  body{ font-size:1.0625rem; }
}
h1,h2,h3,h4,h5{
  font-family:var(--font-display);
  font-weight:900;
  line-height:1.16;
  color:var(--text-strong);
  letter-spacing:.005em;
}
h1{ font-size:var(--fs-40); }
h2{ font-size:var(--fs-28); }
h3{ font-size:var(--fs-20); }
p{ max-width:46em; }
strong{ font-weight:800; color:var(--text-strong); }
::selection{ background:var(--ou-orange); color:var(--ou-blue-deep); }

:focus-visible{
  outline:3px solid var(--focus-ring);
  outline-offset:3px;
  border-radius:4px;
}

/* ---------- 4. 通用容器与工具类 ---------- */
.shell{
  width:100%;
  max-width:var(--shell);
  margin-inline:auto;
  padding-inline:20px;
}
@media (min-width:768px){
  .shell{ padding-inline:32px; }
}
.visually-hidden{
  position:absolute;
  width:1px; height:1px;
  padding:0; margin:-1px;
  overflow:hidden;
  clip:rect(0 0 0 0);
  clip-path:inset(50%);
  white-space:nowrap;
  border:0;
}
.stack{ display:grid; gap:var(--sp-4); }
.stack--lg{ gap:var(--sp-5); }
.divider{
  height:1px; border:0;
  background:linear-gradient(90deg,var(--ou-orange),rgba(255,138,31,0));
}
.num{
  font-family:var(--font-mono);
  font-variant-numeric:tabular-nums;
  letter-spacing:-.01em;
}

/* ---------- 5. 跳至正文 ---------- */
.skip-link{
  position:fixed;
  top:10px;
  left:16px;
  z-index:999;
  display:inline-block;
  padding:10px 18px;
  background:var(--ou-orange);
  color:var(--ou-blue-deep);
  font-weight:800;
  font-size:var(--fs-14);
  border-radius:var(--radius-s);
  box-shadow:0 10px 24px -14px rgba(0,0,0,.7);
  transform:translateY(-200%);
  transition:transform .2s ease;
}
.skip-link:focus{ transform:translateY(0); }

/* ---------- 6. 双层头部 ---------- */
.site-header{
  position:sticky;
  top:0;
  z-index:90;
  isolation:isolate;
}

/* 6.1 上层：墨绿信息轨道 */
.header-rail{
  background:linear-gradient(90deg,var(--ou-green-deep),var(--ou-green) 62%,#12503C);
  color:#D8E6DE;
  border-bottom:1px solid rgba(201,162,75,.3);
  max-height:64px;
  overflow:hidden;
  transition:max-height .3s ease,opacity .22s ease,border-color .22s ease;
}
.rail-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:var(--sp-4);
  min-height:38px;
  padding-block:3px;
}
.rail-brand{
  font-size:var(--fs-12);
  font-weight:700;
  letter-spacing:.1em;
  color:var(--ou-sand);
  white-space:nowrap;
}
.rail-nav{ display:flex; }
.rail-list{ display:flex; flex-wrap:wrap; gap:2px; align-items:center; }
.rail-list li+li{ border-left:1px solid rgba(201,162,75,.26); }
.rail-list a{
  display:inline-block;
  padding:2px 12px;
  font-size:var(--fs-12);
  font-weight:700;
  letter-spacing:.06em;
  color:#BCD2C8;
  border-bottom:2px solid transparent;
  transition:color .18s ease,border-color .18s ease;
}
.rail-list a:hover{ color:#fff; border-bottom-color:var(--ou-orange); }
.rail-list a[aria-current="page"]{ color:#fff; border-bottom-color:var(--ou-orange); }
@media (max-width:759px){
  .header-rail{ display:none; }
}
.site-header.is-tight .header-rail{
  max-height:0;
  opacity:0;
  border-bottom-color:transparent;
}

/* 6.2 下层：夜蓝记分牌 */
.header-main{
  position:relative;
  background:linear-gradient(180deg,var(--ou-blue) 0%,var(--ou-blue-deep) 100%);
  border-bottom:1px solid rgba(255,138,31,.45);
  box-shadow:0 14px 30px -28px rgba(0,0,0,.9);
}
.header-main::after{
  content:"";
  position:absolute;
  left:0; bottom:-1px;
  width:min(220px,42vw);
  height:3px;
  background:linear-gradient(90deg,var(--ou-orange),var(--ou-sand));
  transform:skewX(-24deg);
  transform-origin:left bottom;
  pointer-events:none;
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:var(--sp-4);
  min-height:66px;
}

/* 6.3 品牌标记 */
.brand{
  display:inline-flex;
  align-items:center;
  gap:12px;
  flex:0 0 auto;
}
.brand-mark{
  display:grid;
  place-items:center;
  width:42px; height:42px;
  border-radius:12px 4px 12px 4px;
  background:linear-gradient(150deg,var(--ou-orange),#FFB65E 52%,var(--ou-sand));
  color:var(--ou-blue-deep);
  transform:skewX(-7deg);
  box-shadow:0 8px 20px -12px rgba(255,138,31,.95);
}
.brand-mark-glyph{
  display:block;
  transform:skewX(7deg);
  font-family:var(--font-display);
  font-weight:900;
  font-size:22px;
  line-height:1;
}
.brand-words{ display:grid; gap:1px; }
.brand-name{
  display:block;
  font-family:var(--font-display);
  font-weight:900;
  font-size:19px;
  line-height:1.1;
  letter-spacing:.03em;
  color:#FFFDF7;
}
.brand-sub{
  display:block;
  font-size:10.5px;
  line-height:1.4;
  letter-spacing:.16em;
  color:var(--ou-mist);
}

/* 6.4 移动导航按钮 */
.nav-toggle{
  display:inline-flex;
  align-items:center;
  gap:9px;
  padding:9px 14px;
  border:1.5px solid rgba(255,138,31,.6);
  border-radius:10px;
  color:#FFF6E8;
  font-size:var(--fs-14);
  font-weight:800;
  letter-spacing:.08em;
  background:rgba(255,138,31,.1);
  transition:background-color .18s ease,border-color .18s ease;
}
.nav-toggle:hover{ background:rgba(255,138,31,.2); border-color:var(--ou-orange); }
.nav-toggle-bars{ display:grid; gap:4px; width:18px; }
.nav-toggle-bars i{
  display:block;
  height:2px;
  border-radius:2px;
  background:var(--ou-orange);
  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); }

/* 6.5 主导航：移动端下拉面板 */
.primary-nav{
  position:absolute;
  top:100%;
  left:0;
  right:0;
  display:none;
  padding:10px 20px 22px;
  background:linear-gradient(180deg,var(--ou-green),var(--ou-green-deep));
  border-top:2px solid var(--ou-orange);
  border-bottom:1px solid rgba(201,162,75,.34);
  max-height:calc(100vh - 72px);
  overflow-y:auto;
  box-shadow:0 26px 44px -30px rgba(0,0,0,.9);
}
.primary-nav[data-open="true"]{ display:block; }
.nav-list{ display:grid; gap:3px; }
.nav-list a{
  display:block;
  padding:12px 14px;
  border:1.5px solid transparent;
  border-radius:10px;
  font-size:var(--fs-16);
  font-weight:700;
  color:#E4EFE9;
  transition:background-color .18s ease,color .18s ease,border-color .18s ease;
}
.nav-list a:hover{ background:rgba(25,227,209,.1); color:#fff; }
.nav-list a[aria-current="page"]{
  color:#fff;
  background:rgba(255,138,31,.16);
  border-color:var(--ou-orange);
  box-shadow:inset 3px 0 0 var(--ou-orange);
}

/* 6.6 桌面端横排导航 */
@media (min-width:900px){
  .nav-toggle{ display:none; }
  .primary-nav,
  .primary-nav[data-open="true"]{
    position:static;
    display:block;
    padding:0;
    max-height:none;
    overflow:visible;
    background:none;
    border:0;
    box-shadow:none;
  }
  .nav-list{
    display:flex;
    align-items:center;
    gap:6px;
  }
  .nav-list a{
    padding:9px 14px;
    font-size:var(--fs-14);
    letter-spacing:.04em;
    border-radius:8px;
    border-width:1.5px;
    box-shadow:none;
  }
  .nav-list a[aria-current="page"]{ box-shadow:none; }
}

/* ---------- 7. 页脚 ---------- */
.site-footer{
  position:relative;
  overflow:hidden;
  background:var(--ou-green-deep);
  color:#C6D4CC;
}
.site-footer::before{
  content:"";
  position:absolute;
  inset:0 0 auto 0;
  height:4px;
  background:linear-gradient(90deg,var(--ou-orange),var(--ou-sand) 44%,var(--ou-cyan));
}
.site-footer::after{
  content:"";
  position:absolute;
  right:-160px; top:-160px;
  width:440px; height:440px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(255,138,31,.18),rgba(255,138,31,0) 68%);
  pointer-events:none;
}

/* 7.1 口号横梁 */
.footer-top{ position:relative; padding:58px 0 34px; }
.footer-top-inner{ display:grid; gap:10px; }
.footer-motto{
  font-family:var(--font-display);
  font-weight:900;
  font-size:clamp(2.2rem,8vw,4.75rem);
  line-height:1;
  letter-spacing:.02em;
  color:var(--ou-cream);
}
.footer-line{
  font-size:var(--fs-14);
  letter-spacing:.08em;
  color:var(--ou-mist);
}

/* 7.2 索引与联系资料 */
.footer-body{
  position:relative;
  padding:44px 0 52px;
  border-top:1px solid rgba(201,162,75,.22);
  border-bottom:1px solid rgba(201,162,75,.22);
}
.footer-layout{ display:grid; gap:var(--sp-7); }
@media (min-width:960px){
  .footer-layout{ grid-template-columns:1.55fr 1fr; gap:56px; align-items:start; }
}
.footer-cols{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:26px 20px;
}
@media (min-width:640px){
  .footer-cols{ grid-template-columns:repeat(3,1fr); }
}
.footer-col{ min-width:0; }
.footer-col-title{
  font-size:11.5px;
  font-weight:800;
  letter-spacing:.24em;
  color:var(--ou-sand);
  margin-bottom:12px;
  font-family:var(--font-display);
}
.footer-links{ display:grid; gap:1px; }
.footer-links a{
  display:inline-block;
  padding:6px 0;
  font-size:var(--fs-14);
  color:#C6D4CC;
  border-bottom:1px solid transparent;
  transition:color .18s ease,border-color .18s ease;
}
.footer-links a:hover{ color:var(--ou-orange); border-bottom-color:rgba(255,138,31,.55); }

.footer-contact{
  padding:22px 22px 10px;
  border:1px solid rgba(25,227,209,.24);
  border-radius:18px;
  background:linear-gradient(165deg,rgba(11,31,58,.85),rgba(11,31,58,.45));
}
.contact-list{ display:grid; gap:14px; }
.contact-item{ display:grid; gap:2px; }
.contact-label{
  font-size:11px;
  font-weight:800;
  letter-spacing:.18em;
  color:var(--ou-cyan);
}
.contact-value{
  margin:0;
  font-size:var(--fs-14);
  line-height:1.62;
  color:#DDE8E2;
  overflow-wrap:anywhere;
}

/* 7.3 固定反馈带 */
.footer-feedback{
  position:relative;
  background:linear-gradient(90deg,rgba(11,31,58,.96),rgba(14,59,46,.96));
  border-bottom:1px solid rgba(25,227,209,.28);
}
.footer-feedback-inner{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:var(--sp-4);
  padding:22px 0;
}
.feedback-copy{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px;
  font-size:var(--fs-14);
  color:#D6E3DC;
  max-width:none;
}
.feedback-tag{
  display:inline-flex;
  align-items:center;
  padding:3px 10px;
  border-radius:6px;
  background:var(--ou-cyan);
  color:var(--ou-blue-deep);
  font-size:var(--fs-12);
  font-weight:800;
  letter-spacing:.12em;
  transform:skewX(-8deg);
}
.footer-actions{ display:flex; flex-wrap:wrap; gap:10px; }

/* 7.4 备案与法律链接 */
.footer-legal{ position:relative; }
.footer-legal-inner{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:10px 18px;
  padding:16px 0 26px;
  font-size:var(--fs-12);
  color:var(--ou-mist);
}
.legal-copy{ max-width:none; letter-spacing:.04em; }
.legal-links{ display:flex; flex-wrap:wrap; gap:4px 18px; }
.legal-links a{
  color:#B9C7C0;
  border-bottom:1px solid transparent;
  transition:color .18s ease,border-color .18s ease;
}
.legal-links a:hover{ color:var(--ou-orange); border-bottom-color:rgba(255,138,31,.6); }

/* ---------- 8. 按钮 ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:12px 22px;
  border:1.5px solid transparent;
  border-radius:10px;
  font-family:var(--font-display);
  font-size:var(--fs-14);
  font-weight:800;
  line-height:1;
  letter-spacing:.06em;
  transition:transform .18s ease,background-color .18s ease,border-color .18s ease,color .18s ease;
}
.btn--primary{
  background:var(--ou-orange);
  color:var(--ou-blue-deep);
  box-shadow:0 12px 26px -16px rgba(255,138,31,.95);
}
.btn--primary:hover{ background:var(--ou-orange-soft); transform:translateY(-1px); }
.btn--ghost{
  border-color:rgba(201,162,75,.65);
  color:var(--ou-cream);
}
.btn--ghost:hover{
  border-color:var(--ou-cyan);
  color:#fff;
  background:rgba(25,227,209,.12);
  transform:translateY(-1px);
}
.btn--ink{
  background:var(--ou-green);
  color:var(--ou-cream);
}
.btn--ink:hover{ background:#12503C; transform:translateY(-1px); }
.btn-row{ display:flex; flex-wrap:wrap; gap:12px; }

/* ---------- 9. 页面骨架 ---------- */
.section{ padding:52px 0; }
@media (min-width:900px){ .section{ padding:80px 0; } }
.section--cream{ background:rgba(255,248,236,.92); }
.section--dark{ background:var(--ou-blue); color:#CFDDD8; }
.section--green{ background:var(--ou-green); color:#D6E4DC; }
.section--dark h1,.section--dark h2,.section--dark h3,
.section--green h1,.section--green h2,.section--green h3{ color:#FFFDF7; }
.section--dark .lede,.section--green .lede{ color:#C6D6CF; }

.section-head{
  display:flex;
  flex-wrap:wrap;
  align-items:flex-end;
  justify-content:space-between;
  gap:14px;
  margin-bottom:26px;
}
.section-title{ font-size:clamp(1.55rem,3.6vw,2.4rem); }

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-size:var(--fs-12);
  font-weight:800;
  letter-spacing:.24em;
  color:var(--ou-green);
}
.eyebrow::before{
  content:"";
  width:26px; height:2px;
  background:var(--ou-orange);
}
.section--dark .eyebrow,
.section--green .eyebrow{ color:var(--ou-cyan); }

.page-head{ padding:34px 0 38px; }
.page-title{ font-size:clamp(2rem,5vw,3.25rem); line-height:1.1; }
.lede{
  margin-top:14px;
  font-size:1.0625rem;
  line-height:1.75;
  color:var(--text-body);
  max-width:42em;
}

/* ---------- 10. 面包屑 ---------- */
.crumbs{ padding-top:18px; font-size:var(--fs-12); color:var(--text-mute); }
.crumbs ol{ display:flex; flex-wrap:wrap; align-items:center; gap:6px; }
.crumbs li{ display:inline-flex; align-items:center; gap:6px; }
.crumbs li+li::before{ content:"/"; color:var(--ou-sand); }
.crumbs a{ color:var(--text-mute); border-bottom:1px solid rgba(107,118,134,.4); }
.crumbs a:hover{ color:var(--ou-green); border-bottom-color:var(--ou-orange); }
.crumbs [aria-current="page"]{ color:var(--text-strong); font-weight:700; }

/* ---------- 11. 网格 ---------- */
.grid{ display:grid; gap:20px; }
.grid--2,.grid--3{ grid-template-columns:1fr; }
@media (min-width:720px){
  .grid--2{ grid-template-columns:repeat(2,1fr); }
  .grid--3{ grid-template-columns:repeat(2,1fr); }
}
@media (min-width:980px){
  .grid--3{ grid-template-columns:repeat(3,1fr); }
}
.grid--aside{ display:grid; gap:28px; grid-template-columns:1fr; }
@media (min-width:980px){
  .grid--aside{ grid-template-columns:284px minmax(0,1fr); gap:44px; align-items:start; }
}

/* ---------- 12. 卡片与标签 ---------- */
.card{
  position:relative;
  padding:22px;
  border:1px solid var(--line);
  border-radius:var(--radius-m);
  background:#FFFDF8;
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;
}
.card:hover{
  transform:translateY(-2px) rotate(-.35deg);
  border-color:rgba(255,138,31,.6);
  box-shadow:var(--shadow-lift);
}
.card__title{ font-size:var(--fs-20); line-height:1.3; }
.card__text{ margin-top:8px; font-size:var(--fs-14); color:var(--text-body); }
.card__meta{
  display:block;
  margin-bottom:10px;
  font-family:var(--font-mono);
  font-size:var(--fs-12);
  letter-spacing:.12em;
  color:var(--text-mute);
}
.section--dark .card,
.section--green .card{
  background:rgba(255,253,248,.06);
  border-color:rgba(25,227,209,.22);
}
.section--dark .card__text,
.section--green .card__text{ color:#C6D6CF; }

.tag{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:3px 10px;
  border:1px solid rgba(14,59,46,.2);
  border-radius:999px;
  background:rgba(14,59,46,.08);
  color:var(--ou-green);
  font-family:var(--font-mono);
  font-size:var(--fs-12);
  font-weight:700;
  line-height:1.6;
}
.tag--gold{ background:rgba(201,162,75,.18); border-color:rgba(201,162,75,.55); color:#7A5E17; }
.tag--cyan{ background:rgba(25,227,209,.18); border-color:rgba(25,227,209,.6); color:#0A6C64; }
.tag--live{ background:rgba(229,72,63,.14); border-color:rgba(229,72,63,.45); color:#B0221A; }
.section--dark .tag,
.section--green .tag{
  background:rgba(25,227,209,.14);
  border-color:rgba(25,227,209,.5);
  color:#9BF2EA;
}

/* ---------- 13. 横向滚动数据带 ---------- */
.ribbon{
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
  border:1px solid var(--line);
  border-radius:var(--radius-m);
  background:#FFFDF8;
}
.ribbon table{ min-width:640px; }
.ribbon th{
  position:sticky;
  top:0;
  z-index:1;
  padding:12px 16px;
  background:var(--ou-blue);
  color:#FFF6E8;
  font-size:var(--fs-12);
  font-weight:800;
  letter-spacing:.1em;
  text-align:left;
  white-space:nowrap;
}
.ribbon td{
  padding:12px 16px;
  border-top:1px solid var(--line);
  font-size:var(--fs-14);
  vertical-align:top;
}
.ribbon tbody tr:hover td{ background:rgba(255,138,31,.07); }
.ribbon .numeric{
  font-family:var(--font-mono);
  font-variant-numeric:tabular-nums;
  white-space:nowrap;
}

/* ---------- 14. 响应式图片容器 ---------- */
.media{
  position:relative;
  display:block;
  overflow:hidden;
  border-radius:var(--radius-m);
  background:var(--ou-blue);
}
.media__frame{
  position:relative;
  width:100%;
  aspect-ratio:16 / 9;
  background:linear-gradient(135deg,var(--ou-green) 0%,var(--ou-blue) 56%,#123A5C 100%);
}
.media__frame::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 78% 18%,rgba(255,138,31,.32),transparent 58%),
    linear-gradient(120deg,transparent 46%,rgba(25,227,209,.16) 52%,transparent 58%);
  pointer-events:none;
}
.media img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
}
.media--tall .media__frame{ aspect-ratio:4 / 5; }
.media--wide .media__frame{ aspect-ratio:21 / 9; }
.media--square .media__frame{ aspect-ratio:1 / 1; }
.media__caption{
  margin-top:8px;
  font-size:var(--fs-12);
  color:var(--text-mute);
}
.section--dark .media__caption,
.section--green .media__caption{ color:var(--ou-mist); }

/* ---------- 15. 标签页 ---------- */
.tabs{ display:block; }
.tabs__list{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  padding:5px;
  border-radius:999px;
  background:rgba(14,59,46,.08);
}
.tabs__tab{
  padding:9px 18px;
  border-radius:999px;
  font-family:var(--font-display);
  font-size:var(--fs-14);
  font-weight:800;
  letter-spacing:.05em;
  color:var(--ou-green);
  transition:background-color .2s ease,color .2s ease;
}
.tabs__tab:hover{ background:rgba(25,227,209,.2); }
.tabs__tab[aria-selected="true"]{
  background:var(--ou-green);
  color:#FFFDF7;
  box-shadow:inset 0 -2px 0 var(--ou-orange);
}
.tabs__panel{ margin-top:22px; }
.tabs__panel[hidden]{ display:none; }
.section--dark .tabs__list,
.section--green .tabs__list{ background:rgba(255,253,248,.1); }
.section--dark .tabs__tab,
.section--green .tabs__tab{ color:#D6E4DC; }

/* ---------- 16. 滚动进度与返回顶部 ---------- */
.scroll-progress{
  position:fixed;
  top:0; left:0;
  z-index:130;
  width:100%;
  height:3px;
  transform:scaleX(0);
  transform-origin:0 50%;
  background:linear-gradient(90deg,var(--ou-orange),var(--ou-sand) 54%,var(--ou-cyan));
  pointer-events:none;
}
.to-top{
  position:fixed;
  right:18px;
  bottom:18px;
  z-index:120;
  display:grid;
  place-items:center;
  width:46px; height:46px;
  border-radius:50%;
  border:1.5px solid rgba(201,162,75,.7);
  background:var(--ou-green);
  color:var(--ou-cream);
  opacity:0;
  visibility:hidden;
  transform:translateY(10px);
  transition:opacity .22s ease,transform .22s ease,visibility .22s ease,background-color .18s ease;
}
.to-top::before{
  content:"";
  width:11px; height:11px;
  border-top:2.5px solid currentColor;
  border-left:2.5px solid currentColor;
  transform:rotate(45deg) translate(1px,1px);
}
.to-top:hover{ background:#12503C; }
.to-top[data-visible="true"]{ opacity:1; visibility:visible; transform:translateY(0); }

/* ---------- 17. 滚动显现 ---------- */
@media (prefers-reduced-motion:no-preference){
  .reveal-ready [data-reveal]{
    opacity:0;
    transform:translateY(16px);
    transition:opacity .5s ease,transform .5s ease;
  }
  .reveal-ready [data-reveal].is-revealed{
    opacity:1;
    transform:none;
  }
}

/* ---------- 18. 动效降级 ---------- */
@media (prefers-reduced-motion:reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{
    animation-duration:.001ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.001ms !important;
  }
  .card:hover,
  .btn:hover{ transform:none; }
  .to-top{ transform:none; }
}
