*,*::before,*::after{box-sizing:border-box}body{margin:0;background:var(--theme-page-bg,#ffffff);color:var(--theme-text,inherit)}
:root{
  --theme-color:#E5E7EB;
  --theme-page-bg:#ffffff;
  --theme-text:#333333;
  --theme-muted:#5b6572;
  --theme-border:#d9dde3;
  --theme-surface:#f6f7f9;
  --theme-radius:12px;
  --theme-gap:24px;
  --theme-sidebar:300px;
}
body{
  margin:0;
  background:var(--theme-page-bg);
  color:var(--theme-text);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;
  font-size:16px;
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
}
.theme-shell,.theme-shell *,.theme-header,.theme-header *,.theme-footer,.theme-footer *{box-sizing:border-box;}
.theme-shell{width:100%;}
.theme-container{
  width:100%;
  max-width:1200px;
  margin-inline:auto;
  padding-inline:20px;
}
.theme-main{padding-block:28px 0;}
.theme-header{
  position:sticky;
  top:0;
  z-index:30;
  background:var(--theme-page-bg);
  border-bottom:1px solid var(--theme-border);
}
.theme-header__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:12px 24px;
  padding-block:12px;
}
.theme-brand{
  display:inline-flex;
  align-items:center;
  gap:10px;
  min-width:0;
  text-decoration:none;
  color:var(--theme-text);
}
.theme-brand__logo{
  display:block;
  width:auto;
  height:auto;
  max-height:48px;
  object-fit:contain;
}
.theme-brand__name{
  font-size:20px;
  font-weight:700;
  line-height:1.3;
  overflow-wrap:anywhere;
}
.theme-nav{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:4px 8px;
  min-width:0;
}
.theme-nav__link{
  display:inline-block;
  padding:6px 10px;
  border-radius:6px;
  color:var(--theme-text);
  font-size:15px;
  line-height:1.5;
  text-decoration:none;
  overflow-wrap:anywhere;
}
.theme-nav__link:hover,
.theme-nav__link:focus-visible{
  background:var(--theme-color);
  color:#111827;
}
.theme-hero{
  position:relative;
  overflow:hidden;
  max-height:520px;
  border-radius:var(--theme-radius);
  background:var(--theme-surface);
}
.theme-hero__media{
  display:block;
  width:100%;
}
.theme-hero__media img{
  display:block;
  width:100%;
  height:auto;
  max-height:520px;
  object-fit:cover;
}
.theme-hero__overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(0deg,rgba(15,23,42,.84) 0%,rgba(15,23,42,.5) 45%,rgba(15,23,42,.06) 100%);
  pointer-events:none;
}
.theme-hero__body{
  position:absolute;
  inset:auto 0 0 0;
  padding:24px;
  color:#ffffff;
}
.theme-hero__title{
  margin:0 0 8px;
  font-size:clamp(20px,3vw,32px);
  line-height:1.3;
  overflow-wrap:anywhere;
}
.theme-hero__summary{
  margin:0;
  max-width:70ch;
  font-size:15px;
  line-height:1.6;
  color:rgba(255,255,255,.9);
  overflow-wrap:anywhere;
}
.theme-section-head{
  display:flex;
  flex-wrap:wrap;
  align-items:baseline;
  justify-content:space-between;
  gap:8px 16px;
  margin:0 0 16px;
}
.theme-section-title{
  margin:0;
  font-size:20px;
  line-height:1.35;
  overflow-wrap:anywhere;
}
.theme-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:var(--theme-gap);
  align-items:start;
  min-width:0;
}
.theme-card{
  display:flex;
  flex-direction:column;
  min-width:0;
  background:var(--theme-page-bg);
  border:1px solid var(--theme-border);
  border-radius:var(--theme-radius);
  overflow:hidden;
}
.theme-card__media{
  display:block;
  aspect-ratio:16/9;
  overflow:hidden;
  background:var(--theme-surface);
}
.theme-card__media img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
.theme-card__body{
  display:flex;
  flex-direction:column;
  gap:8px;
  padding:14px 16px 18px;
  min-width:0;
}
.theme-card__title{
  margin:0;
  font-size:17px;
  line-height:1.45;
  overflow-wrap:anywhere;
}
.theme-card__title a{
  color:var(--theme-text);
  text-decoration:none;
}
.theme-card__title a:hover{
  text-decoration:underline;
}
.theme-card__summary{
  margin:0;
  font-size:14px;
  line-height:1.65;
  color:var(--theme-muted);
  overflow-wrap:anywhere;
}
.theme-card__meta{
  display:flex;
  flex-wrap:wrap;
  gap:6px 14px;
  font-size:13px;
  color:var(--theme-muted);
  overflow-wrap:anywhere;
}
.theme-sidebar{
  display:flex;
  flex-direction:column;
  gap:20px;
  min-width:0;
}
.theme-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  padding:10px 18px;
  border:1px solid var(--theme-border);
  border-radius:8px;
  background:var(--theme-color);
  color:#1f2937;
  font-size:15px;
  line-height:1.4;
  text-decoration:none;
  overflow-wrap:anywhere;
}
.theme-btn:hover{
  background:#d7dade;
}
.theme-footer{
  margin-top:48px;
  background:var(--theme-surface);
  border-top:1px solid var(--theme-border);
  font-size:15px;
}
.theme-footer__inner{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:26px;
  padding-block:36px;
}
.theme-footer__brand{
  display:flex;
  flex-direction:column;
  gap:10px;
  min-width:0;
}
.theme-footer__desc{
  margin:0;
  max-width:52ch;
  color:var(--theme-muted);
  overflow-wrap:anywhere;
}
.theme-footer__title{
  margin:0 0 10px;
  font-size:15px;
  font-weight:700;
  line-height:1.4;
}
.theme-footer__col{
  min-width:0;
}
.theme-footer__nav{
  display:flex;
  flex-wrap:wrap;
  gap:8px 16px;
  min-width:0;
}
.theme-footer a,
.theme-footer__contact{
  color:var(--theme-text);
  text-decoration:none;
  overflow-wrap:anywhere;
}
.theme-footer a:hover{
  text-decoration:underline;
}
.theme-footer__social{
  display:flex;
  flex-wrap:wrap;
  gap:8px 14px;
}
.theme-footer__meta{
  display:flex;
  flex-wrap:wrap;
  gap:10px 20px;
  padding-block:16px 24px;
  border-top:1px solid var(--theme-border);
  font-size:14px;
  color:var(--theme-muted);
  overflow-wrap:anywhere;
}
.site-flinks{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px 14px;
  padding-block:14px;
  border-top:1px solid var(--theme-border);
  font-size:14px;
  color:var(--theme-muted);
}
.site-flinks__title{
  font-weight:700;
  color:var(--theme-text);
}
.site-flinks a{
  color:var(--theme-muted);
  text-decoration:none;
  overflow-wrap:anywhere;
}
.site-flinks a:hover{
  color:var(--theme-text);
  text-decoration:underline;
}
@media (min-width:861px){
  .theme-grid--sidebar{
    grid-template-columns:minmax(0,1fr) var(--theme-sidebar);
  }
  .theme-grid--cards{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
  .theme-grid--2{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .theme-footer__inner{
    grid-template-columns:minmax(0,1.6fr) minmax(0,1fr) minmax(0,1fr);
  }
}
@media (max-width:860px){
  .theme-header__inner{
    align-items:flex-start;
    flex-direction:column;
    gap:8px;
  }
  .theme-nav{
    width:100%;
    justify-content:flex-start;
    gap:4px 6px;
  }
  .theme-nav__link{
    padding:6px 8px;
  }
  .theme-sidebar{
    width:100%;
  }
  .theme-footer__inner{
    gap:22px;
  }
}
@media (max-width:720px){
  .theme-main{
    padding-block:20px 0;
  }
  .theme-hero{
    max-height:320px;
  }
  .theme-hero__media img{
    max-height:320px;
    min-height:200px;
  }
  .theme-hero__body{
    padding:16px;
  }
  .theme-hero__summary{
    font-size:14px;
  }
  .theme-card,
  .theme-btn{
    width:100%;
  }
  .theme-btn{
    padding:12px 16px;
  }
  .theme-footer{
    margin-top:32px;
  }
  .theme-footer__inner{
    padding-block:26px;
  }
}
.article-layout{
  min-width:0;
}
.article-crumb{
  margin-bottom:16px;
  font-size:14px;
  line-height:1.6;
  color:var(--theme-muted);
  overflow-wrap:anywhere;
}
.article-crumb a{
  color:var(--theme-muted);
  text-decoration:none;
}
.article-crumb a:hover{
  color:var(--theme-text);
  text-decoration:underline;
}
.article-main{
  min-width:0;
}
.article-head{
  margin-bottom:18px;
}
.article-title{
  margin:0 0 12px;
  font-size:clamp(22px,3vw,32px);
  line-height:1.32;
  font-weight:700;
  overflow-wrap:anywhere;
}
.article-meta{
  display:flex;
  flex-wrap:wrap;
  gap:6px 18px;
  padding-bottom:14px;
  border-bottom:1px solid var(--theme-border);
  font-size:14px;
  line-height:1.6;
  color:var(--theme-muted);
  overflow-wrap:anywhere;
}
.article-meta__item{
  min-width:0;
}
.article-cover{
  margin:0 0 22px;
  border-radius:var(--theme-radius);
  overflow:hidden;
  background:var(--theme-surface);
}
.article-cover img{
  display:block;
  width:100%;
  height:auto;
  max-height:520px;
  object-fit:cover;
}
.article-lead{
  margin:0 0 24px;
  padding:16px 18px;
  border-left:4px solid #cfd5dd;
  border-radius:8px;
  background:var(--theme-surface);
  color:#3f4854;
  font-size:15px;
  line-height:1.8;
  overflow-wrap:anywhere;
}
.article-content{
  font-size:16px;
  line-height:1.85;
  overflow-wrap:anywhere;
}
.article-content p{
  margin:0 0 16px;
}
.article-content h2{
  margin:28px 0 12px;
  font-size:20px;
  line-height:1.4;
  overflow-wrap:anywhere;
}
.article-content h3{
  margin:22px 0 10px;
  font-size:17px;
  line-height:1.45;
  overflow-wrap:anywhere;
}
.article-content ul,
.article-content ol{
  margin:0 0 16px;
  padding-left:22px;
}
.article-content li{
  margin-bottom:8px;
}
.article-content img{
  display:block;
  width:100%;
  max-width:100%;
  height:auto;
  margin:18px 0;
  border-radius:8px;
  object-fit:cover;
}
.article-content a{
  color:#1f2937;
  text-decoration:underline;
}
.article-content blockquote{
  margin:18px 0;
  padding:12px 16px;
  border-left:4px solid #cfd5dd;
  background:var(--theme-surface);
  color:var(--theme-muted);
}
.article-content pre{
  margin:18px 0;
  padding:14px 16px;
  max-width:100%;
  overflow-x:auto;
  border-radius:8px;
  background:var(--theme-surface);
  font-size:14px;
  line-height:1.6;
}
.article-content table{
  display:block;
  width:100%;
  max-width:100%;
  margin:18px 0;
  overflow-x:auto;
  border-collapse:collapse;
}
.article-pager{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:14px;
  margin-top:30px;
}
.article-pager__item{
  display:flex;
  flex-direction:column;
  gap:4px;
  min-width:0;
  padding:14px 16px;
  border:1px solid var(--theme-border);
  border-radius:var(--theme-radius);
  background:var(--theme-page-bg);
  color:var(--theme-text);
  text-decoration:none;
  overflow-wrap:anywhere;
}
.article-pager__item:hover{
  background:var(--theme-surface);
}
.article-pager__label{
  font-size:13px;
  line-height:1.5;
  color:var(--theme-muted);
}
.article-pager__title{
  font-size:15px;
  font-weight:600;
  line-height:1.5;
}
.article-related{
  margin-top:34px;
}
.article-related__grid{
  grid-template-columns:minmax(0,1fr);
}
.article-ph{
  display:block;
  width:100%;
  height:100%;
  background:linear-gradient(135deg,#eef0f3 0%,#d9dde3 100%);
}
.article-sidebar{
  min-width:0;
}
.article-panel{
  min-width:0;
  padding:16px;
  border:1px solid var(--theme-border);
  border-radius:var(--theme-radius);
  background:var(--theme-page-bg);
}
.article-panel__title{
  margin:0 0 14px;
  padding-bottom:10px;
  border-bottom:1px solid var(--theme-border);
  font-size:16px;
  line-height:1.4;
  font-weight:700;
  overflow-wrap:anywhere;
}
.article-rank{
  display:flex;
  flex-direction:column;
  gap:10px;
  margin:0;
  padding:0;
  list-style:none;
  counter-reset:article-rank;
}
.article-rank__item{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
  counter-increment:article-rank;
}
.article-rank__item::before{
  content:counter(article-rank);
  flex:0 0 22px;
  height:22px;
  border-radius:6px;
  background:var(--theme-surface);
  color:var(--theme-muted);
  font-size:13px;
  font-weight:700;
  line-height:22px;
  text-align:center;
}
.article-rank__item:nth-child(-n+3)::before{
  background:var(--theme-color);
  color:#111827;
}
.article-rank__link{
  flex:1 1 auto;
  min-width:0;
  font-size:14px;
  line-height:1.6;
  color:var(--theme-text);
  text-decoration:none;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.article-rank__link:hover{
  text-decoration:underline;
}
.article-tags{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  min-width:0;
}
.article-tags__item{
  display:inline-block;
  max-width:100%;
  padding:5px 12px;
  border:1px solid var(--theme-border);
  border-radius:999px;
  background:var(--theme-surface);
  color:var(--theme-text);
  font-size:13px;
  line-height:1.6;
  text-decoration:none;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.article-tags__item:hover{
  background:var(--theme-color);
}
@media (min-width:861px){
  .article-pager{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .article-related__grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media (min-width:1100px){
  .article-related__grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}
@media (max-width:860px){
  .article-sidebar{
    width:100%;
  }
}
@media (max-width:720px){
  .article-cover img{
    max-height:320px;
  }
  .article-lead{
    padding:14px 15px;
    font-size:14px;
  }
  .article-content{
    font-size:15px;
    line-height:1.8;
  }
  .article-pager__item{
    width:100%;
  }
}

/* layout-guard v2 */
:where(html){-webkit-text-size-adjust:100%;text-size-adjust:100%}
:where(body){overflow-wrap:break-word;overflow-x:clip}
:where(main,article,aside,section){min-width:0}
:where(img,video,iframe,embed,object,canvas){display:block;max-width:100%;height:auto}
:where(.theme-container,.theme-shell){min-width:0;max-width:1200px;width:100%;margin-inline:auto;padding-inline:20px}
:where(.theme-grid){min-width:0}
:where(.theme-card,.theme-card__body){min-width:0;overflow-wrap:anywhere}
:where(.theme-card__media,.theme-card__media img){min-width:0;overflow:hidden}
:where(.theme-card__media img){width:100%;aspect-ratio:16/9;object-fit:cover}
:where(.theme-hero,.theme-feature){min-width:0;overflow:hidden}
:where(.theme-hero img,.theme-feature img){width:100%;max-height:520px;object-fit:cover}
:where(table){max-width:100%}
:where(pre){max-width:100%;overflow-x:auto;white-space:pre-wrap}
@media(max-width:860px){:where(.theme-grid){grid-template-columns:minmax(0,1fr)!important}:where(.theme-hero img,.theme-feature img){max-height:400px}}
@media(max-width:720px){:where(.theme-container,.theme-shell){padding-inline:16px}:where(.theme-card,.theme-card button,.theme-card a){width:100%}:where(.theme-hero img,.theme-feature img){max-height:320px}}
