:root{
  --sr-blue:#0a84ff;--sr-blue-deep:#0066cc;--sr-text:#1d1d1f;--sr-muted:#6e6e73;
  --sr-line:rgba(54,105,170,.12);--sr-card:rgba(255,255,255,.84);
  --sr-soft:rgba(10,132,255,.08);--sr-warn:#ff9500;--sr-green:#34c759;
  --sr-shadow:0 16px 44px rgba(31,83,140,.075);
}
*{box-sizing:border-box} html{scroll-behavior:smooth}
body{
  margin:0;color:var(--sr-text);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei",Arial,sans-serif;
  background:
    radial-gradient(circle at 12% 10%,rgba(10,132,255,.14),transparent 26rem),
    radial-gradient(circle at 88% 18%,rgba(94,92,230,.09),transparent 24rem),
    linear-gradient(rgba(70,115,180,.04) 1px,transparent 1px),
    linear-gradient(90deg,rgba(70,115,180,.04) 1px,transparent 1px),
    linear-gradient(180deg,#f7faff 0%,#eef4fb 46%,#f8fbff 100%);
  background-size:auto,auto,34px 34px,34px 34px,auto;line-height:1.72;
}
a{color:var(--sr-blue);text-decoration:none} a:hover{color:var(--sr-blue-deep)}
.sr-shell{width:min(1320px,calc(100% - 48px));margin:0 auto}

/* 与商城 Header.html 保持一致的静态导航 */
.sr-site-header{
  position:sticky;
  top:0;
  z-index:1030;
  margin:0 0 16px;
  padding:12px 0;
  background:linear-gradient(180deg,rgba(247,250,255,.86),rgba(247,250,255,.68));
  border-bottom:1px solid rgba(54,105,170,.10);
  backdrop-filter:blur(22px);
  -webkit-backdrop-filter:blur(22px);
  box-shadow:0 10px 30px rgba(31,83,140,.045);
}
.sr-site-container{
  width:min(1320px,calc(100% - 48px));
  margin:0 auto;
}
.sr-nav-shell{
  min-height:54px;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:flex-start;
  gap:0;
  padding:8px 14px;
  border-radius:26px;
  background:linear-gradient(135deg,rgba(255,255,255,.72),rgba(240,247,255,.54));
  border:1px solid rgba(54,105,170,.12);
  box-shadow:0 10px 30px rgba(31,83,140,.055),inset 0 1px 0 rgba(255,255,255,.75);
}
.sr-logo-link{
  width:42px;
  height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 42px;
  margin-right:8px;
  border-radius:18px;
  background:rgba(255,255,255,.78);
  border:1px solid rgba(10,132,255,.10);
  box-shadow:0 8px 22px rgba(10,132,255,.08);
  transition:transform .2s ease,box-shadow .2s ease;
}
.sr-logo-link:hover{
  transform:translateY(-1px);
  box-shadow:0 12px 28px rgba(10,132,255,.13);
}
.shop-logo{
  max-width:30px;
  max-height:30px;
  width:auto;
  height:auto;
  border-radius:10px;
}
.sr-main-nav{
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:6px;
  margin:0 auto 0 0;
  padding:0;
  list-style:none;
}
.sr-main-nav .nav-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  min-height:36px;
  padding:7px 12px;
  border-radius:999px;
  color:#2f3440;
  font-size:.95rem;
  font-weight:850;
  letter-spacing:-.01em;
  background:transparent;
  border:1px solid transparent;
  transition:background-color .2s ease,color .2s ease,transform .2s ease,border-color .2s ease,box-shadow .2s ease;
}
.sr-main-nav .nav-link i{
  font-size:1rem;
  color:#536174;
  transition:color .2s ease;
}
.sr-main-nav .nav-link:hover,
.sr-main-nav .nav-link:focus-visible,
.sr-main-nav .nav-link.active,
.sr-main-nav .nav-link[aria-current="page"]{
  background:rgba(10,132,255,.10);
  border-color:rgba(10,132,255,.12);
  color:#0a84ff;
  transform:translateY(-1px);
  box-shadow:0 8px 22px rgba(10,132,255,.08);
}
.sr-main-nav .nav-link:hover i,
.sr-main-nav .nav-link:focus-visible i,
.sr-main-nav .nav-link.active i,
.sr-main-nav .nav-link[aria-current="page"] i{
  color:#0a84ff;
}
@media (max-width:991.98px){
  .sr-site-header{
    position:relative;
    padding:10px 0;
  }
  .sr-site-container{
    width:min(100% - 20px,1320px);
  }
  .sr-nav-shell{
    justify-content:center;
    row-gap:8px;
    border-radius:22px;
    padding:10px;
  }
  .sr-logo-link{
    margin-right:0;
  }
  .sr-main-nav{
    width:100%;
    order:3;
    margin:4px 0 0;
  }
  .sr-main-nav .nav-link{
    min-height:34px;
    padding:6px 10px;
    font-size:.92rem;
  }
}
@media (max-width:575.98px){
  .sr-main-nav{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:6px;
  }
  .sr-main-nav .nav-link{
    width:100%;
    font-size:.86rem;
    padding-left:6px;
    padding-right:6px;
  }
  .sr-main-nav .nav-link i{
    font-size:.95rem;
  }
}

.sr-hero{margin:28px 0 18px;padding:46px 30px;text-align:center;border:1px solid var(--sr-line);border-radius:30px;background:radial-gradient(circle at 50% -10%,rgba(10,132,255,.18),transparent 45%),linear-gradient(135deg,rgba(255,255,255,.92),rgba(238,247,255,.80));box-shadow:var(--sr-shadow)}
.sr-kicker{display:inline-flex;align-items:center;gap:8px;padding:7px 12px;border-radius:999px;color:var(--sr-blue);background:var(--sr-soft);font-size:.84rem;font-weight:850;margin-bottom:14px}
.sr-hero h1{max-width:900px;margin:0 auto 14px;font-size:clamp(2rem,4vw,3.35rem);line-height:1.14;letter-spacing:-.04em;font-weight:900}
.sr-hero p{max-width:760px;margin:0 auto;color:var(--sr-muted);font-size:1rem}
.sr-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:22px}
.sr-btn{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:9px 17px;border-radius:999px;font-weight:850;border:1px solid var(--sr-line);background:rgba(255,255,255,.76)}
.sr-btn-primary{background:var(--sr-blue);color:#fff;border-color:var(--sr-blue)} .sr-btn-primary:hover{color:#fff;opacity:.94}
.sr-section{margin:0 0 20px;padding:24px;border:1px solid var(--sr-line);border-radius:26px;background:var(--sr-card);box-shadow:var(--sr-shadow)}
.sr-section-head{text-align:center;max-width:820px;margin:0 auto 20px}
.sr-section-head h2{margin:0;font-size:clamp(1.45rem,2.5vw,2rem);line-height:1.25;font-weight:900}
.sr-section-head p{margin:9px auto 0;color:var(--sr-muted)}
.sr-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.sr-card{display:flex;flex-direction:column;min-height:210px;padding:20px;border:1px solid var(--sr-line);border-radius:22px;background:rgba(255,255,255,.76);box-shadow:0 10px 28px rgba(31,83,140,.045)}
.sr-card-num{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;border-radius:12px;background:var(--sr-soft);color:var(--sr-blue);font-weight:900;margin-bottom:14px}
.sr-card h3{margin:0 0 9px;font-size:1.02rem;line-height:1.45;font-weight:900}.sr-card p{margin:0;color:var(--sr-muted);font-size:.91rem}
.sr-card-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:auto;padding-top:16px;color:var(--sr-muted);font-size:.82rem}
.sr-tag{display:inline-flex;align-items:center;min-height:28px;padding:4px 9px;border-radius:999px;background:var(--sr-soft);color:var(--sr-blue);font-weight:850;font-size:.78rem}
.sr-card-live{border-color:rgba(10,132,255,.26)} .sr-card-live .sr-card-link{margin-top:14px;font-weight:850}.sr-card-soon{opacity:.82}
.sr-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.sr-step{padding:18px;border-radius:20px;border:1px solid var(--sr-line);background:rgba(255,255,255,.68);text-align:center}
.sr-step strong{display:block;margin:8px 0 5px;font-weight:900}.sr-step p{margin:0;color:var(--sr-muted);font-size:.9rem}
.sr-note{padding:16px 18px;border-radius:18px;border:1px solid rgba(255,149,0,.20);background:rgba(255,149,0,.08);color:#7a4b00}.sr-note strong{color:var(--sr-text)}
.sr-footer{margin:26px 0 20px;padding:20px;border:1px solid var(--sr-line);border-radius:24px;background:rgba(255,255,255,.72);color:var(--sr-muted);text-align:center;font-size:.86rem}
.sr-breadcrumb{margin:22px 0 12px;color:var(--sr-muted);font-size:.9rem}.sr-breadcrumb a{color:var(--sr-muted)}.sr-breadcrumb span{margin:0 7px;color:#a0a0a5}
.sr-article-layout{display:grid;grid-template-columns:minmax(0,940px) 300px;gap:20px;align-items:start;justify-content:center}
.sr-article{padding:28px;border:1px solid var(--sr-line);border-radius:28px;background:rgba(255,255,255,.86);box-shadow:var(--sr-shadow)}
.sr-article h1{margin:0 0 12px;font-size:clamp(1.85rem,3.5vw,2.8rem);line-height:1.18;letter-spacing:-.035em;font-weight:900}
.sr-article-meta{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:22px;color:var(--sr-muted);font-size:.87rem}
.sr-article-intro{margin:0 0 22px;padding:18px;border-radius:20px;background:rgba(10,132,255,.07);border:1px solid rgba(10,132,255,.12)}
.sr-article h2{scroll-margin-top:96px;margin:34px 0 12px;font-size:1.45rem;line-height:1.35;font-weight:900}
.sr-article h3{margin:24px 0 9px;font-size:1.08rem;font-weight:900}.sr-article p{margin:0 0 14px}.sr-article ul,.sr-article ol{padding-left:1.35rem;margin:0 0 16px}.sr-article li{margin:7px 0}
.sr-article code{padding:2px 6px;border-radius:7px;background:rgba(0,0,0,.05);font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}
.sr-checklist{display:grid;gap:10px;margin:14px 0 20px;padding:0;list-style:none!important}
.sr-checklist li{position:relative;margin:0;padding:13px 14px 13px 42px;border:1px solid var(--sr-line);border-radius:16px;background:rgba(255,255,255,.72)}
.sr-checklist li::before{content:"✓";position:absolute;left:14px;top:12px;width:20px;height:20px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:rgba(52,199,89,.12);color:var(--sr-green);font-weight:900}
.sr-warning{margin:18px 0;padding:16px 18px;border-radius:18px;border:1px solid rgba(255,149,0,.20);background:rgba(255,149,0,.08)}
.sr-tip-box{margin:18px 0;padding:16px 18px;border-radius:18px;border:1px solid rgba(10,132,255,.16);background:rgba(10,132,255,.06)}
.sr-cta{margin-top:28px;padding:20px;border-radius:22px;background:linear-gradient(135deg,rgba(10,132,255,.12),rgba(255,255,255,.84));border:1px solid rgba(10,132,255,.16)}.sr-cta h2{margin-top:0}
.sr-toc{position:sticky;top:92px;padding:20px;border:1px solid var(--sr-line);border-radius:22px;background:rgba(255,255,255,.80);box-shadow:var(--sr-shadow)}
.sr-toc strong{display:block;margin-bottom:10px;font-weight:900}.sr-toc a{display:block;padding:7px 9px;border-radius:10px;color:var(--sr-muted);font-size:.9rem}.sr-toc a:hover{background:var(--sr-soft);color:var(--sr-blue)}
.sr-faq{display:grid;gap:10px}.sr-faq details{border:1px solid var(--sr-line);border-radius:16px;background:rgba(255,255,255,.70);padding:14px 16px}.sr-faq summary{cursor:pointer;font-weight:850}.sr-faq details p{margin:10px 0 0;color:var(--sr-muted)}
@media (max-width:960px){.sr-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sr-steps{grid-template-columns:repeat(2,minmax(0,1fr))}.sr-article-layout{grid-template-columns:1fr}.sr-toc{position:static}}
@media (max-width:680px){
  body{background-size:auto,auto,30px 30px,30px 30px,auto}.sr-shell{width:min(100% - 20px,1320px)}
  .sr-hero{margin-top:16px;padding:30px 18px;border-radius:24px}.sr-section{padding:18px 13px;border-radius:22px}.sr-grid,.sr-steps{grid-template-columns:1fr}
  .sr-card{min-height:auto}.sr-article{padding:20px 15px;border-radius:22px}.sr-article h2{font-size:1.3rem}
}

/* v4 文章底部精确商品 CTA：仅链接与本文直接相关的商品 */
.sr-product-cta{
  padding:22px;
}
.sr-product-cta-head{
  max-width:760px;
  margin:0 auto 18px;
  text-align:center;
}
.sr-product-cta-kicker{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  margin-bottom:9px;
  padding:4px 10px;
  border-radius:999px;
  background:rgba(10,132,255,.10);
  color:var(--sr-blue);
  font-size:.8rem;
  font-weight:850;
}
.sr-product-cta .sr-product-cta-head h2{
  margin:0 0 9px;
}
.sr-product-cta .sr-product-cta-head p{
  margin:0;
  color:var(--sr-muted);
}
.sr-product-cta-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}
.sr-product-option{
  min-width:0;
  display:flex;
  flex-direction:column;
  padding:18px;
  border-radius:20px;
  border:1px solid rgba(10,132,255,.16);
  background:rgba(255,255,255,.78);
  color:var(--sr-text);
  box-shadow:0 10px 28px rgba(31,83,140,.05);
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease,background-color .2s ease;
}
.sr-product-option:hover{
  color:var(--sr-text);
  transform:translateY(-2px);
  border-color:rgba(10,132,255,.32);
  background:#fff;
  box-shadow:0 15px 34px rgba(31,83,140,.09);
}
.sr-product-option-label{
  align-self:flex-start;
  min-height:25px;
  margin-bottom:10px;
  padding:3px 9px;
  border-radius:999px;
  background:rgba(10,132,255,.09);
  color:var(--sr-blue);
  font-size:.76rem;
  font-weight:850;
}
.sr-product-option strong{
  display:block;
  margin-bottom:8px;
  color:var(--sr-text);
  font-size:1rem;
  line-height:1.45;
  font-style:normal;
}
.sr-product-option > span:not(.sr-product-option-label){
  color:var(--sr-muted);
  font-size:.88rem;
  line-height:1.65;
}
.sr-product-option em{
  margin-top:auto;
  padding-top:15px;
  color:var(--sr-blue);
  font-size:.88rem;
  font-weight:850;
  font-style:normal;
}
.sr-product-option-secondary{
  border-color:var(--sr-line);
}
.sr-cta-back{
  display:flex;
  justify-content:center;
  margin-top:15px;
}
@media (max-width:960px){
  .sr-product-cta-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .sr-product-option-secondary{
    grid-column:1 / -1;
  }
}
@media (max-width:680px){
  .sr-product-cta{
    padding:17px 13px;
  }
  .sr-product-cta-grid{
    grid-template-columns:1fr;
  }
  .sr-product-option-secondary{
    grid-column:auto;
  }
}

/* v5 主体宽度统一：首页/教程中心统一 1320px；文章阅读列保持合理行长 */
@media (max-width:1199.98px){
  .sr-shell{
    width:min(100% - 32px,1140px);
  }
  .sr-article-layout{
    grid-template-columns:minmax(0,1fr) 280px;
    gap:18px;
  }
}
@media (max-width:960px){
  .sr-shell{
    width:min(100% - 24px,920px);
  }
}
@media (max-width:680px){
  .sr-shell{
    width:min(100% - 20px,680px);
  }
}

/* v6 文章真实操作截图 */
.sr-article-image{
  max-width:820px;
  margin:24px auto;
  text-align:center;
}
.sr-article-image img{
  display:block;
  width:100%;
  height:auto;
  margin:0 auto;
  border-radius:22px;
  border:1px solid rgba(54,105,170,.13);
  background:#fff;
  box-shadow:0 14px 38px rgba(31,83,140,.085);
}
.sr-article-image-wide{
  max-width:880px;
}
.sr-article-image figcaption{
  margin:10px auto 0;
  padding:0 8px;
  color:#6e7580;
  font-size:.88rem;
  line-height:1.65;
}
@media (max-width:680px){
  .sr-article-image{
    margin:19px auto;
  }
  .sr-article-image img{
    border-radius:17px;
  }
  .sr-article-image figcaption{
    font-size:.83rem;
  }
}

/* v7 第二篇设备兼容性文章 */
.sr-device-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:13px;
  margin:18px 0 20px;
}
.sr-device-card{
  min-width:0;
  padding:20px;
  border:1px solid rgba(10,132,255,.15);
  border-radius:21px;
  background:linear-gradient(145deg,rgba(255,255,255,.90),rgba(239,247,255,.72));
  box-shadow:0 10px 28px rgba(31,83,140,.045);
}
.sr-device-icon{
  width:42px;
  height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin-bottom:12px;
  border-radius:15px;
  background:rgba(10,132,255,.10);
  color:var(--sr-blue);
  font-size:1.25rem;
}
.sr-device-card h3{
  margin:0 0 7px;
  font-size:1.08rem;
}
.sr-device-card strong{
  display:block;
  margin-bottom:8px;
  color:var(--sr-blue);
  line-height:1.45;
}
.sr-device-card p{
  margin:0;
  color:var(--sr-muted);
  font-size:.89rem;
}
.sr-source-note{
  margin:18px 0;
  padding:15px 17px;
  border-radius:17px;
  border:1px solid rgba(52,199,89,.18);
  background:rgba(52,199,89,.07);
  color:#425366;
  font-size:.91rem;
}
.sr-source-note a{
  font-weight:850;
}
.sr-decision-list{
  display:grid;
  gap:10px;
  margin:15px 0 20px;
}
.sr-decision-list > div{
  display:grid;
  grid-template-columns:38px minmax(0,1fr);
  gap:12px;
  align-items:start;
  padding:14px 15px;
  border:1px solid var(--sr-line);
  border-radius:16px;
  background:rgba(255,255,255,.72);
}
.sr-decision-list > div > span{
  width:32px;
  height:32px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:11px;
  background:var(--sr-soft);
  color:var(--sr-blue);
  font-weight:900;
}
.sr-decision-list p{
  margin:3px 0 0;
}
.sr-related{
  margin-top:28px;
  padding:20px;
  border:1px solid rgba(94,92,230,.16);
  border-radius:22px;
  background:linear-gradient(135deg,rgba(94,92,230,.08),rgba(255,255,255,.84));
}
.sr-related-head{
  margin-bottom:12px;
}
.sr-related-head > span{
  display:inline-flex;
  min-height:27px;
  align-items:center;
  padding:3px 9px;
  border-radius:999px;
  background:rgba(94,92,230,.10);
  color:#5e5ce6;
  font-size:.78rem;
  font-weight:850;
}
.sr-related-head h2{
  margin:9px 0 0;
}
.sr-related-link{
  display:flex;
  flex-direction:column;
  gap:7px;
  padding:17px;
  border:1px solid rgba(94,92,230,.15);
  border-radius:18px;
  background:rgba(255,255,255,.76);
  color:var(--sr-text);
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;
}
.sr-related-link:hover{
  color:var(--sr-text);
  transform:translateY(-2px);
  border-color:rgba(94,92,230,.30);
  box-shadow:0 12px 30px rgba(71,68,160,.08);
}
.sr-related-link strong{
  font-size:1rem;
}
.sr-related-link span{
  color:var(--sr-muted);
  font-size:.9rem;
}
.sr-related-link em{
  color:#5e5ce6;
  font-size:.88rem;
  font-style:normal;
  font-weight:850;
}
@media (max-width:800px){
  .sr-device-grid{
    grid-template-columns:1fr;
  }
}
