*,*::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;
  }
}
.home-intro{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:18px 32px;
  padding:26px 24px;
  margin-bottom:30px;
  background:var(--theme-surface);
  border:1px solid var(--theme-border);
  border-radius:var(--theme-radius);
  min-width:0;
}
.home-intro__text{
  min-width:0;
}
.home-intro__eyebrow{
  margin:0 0 8px;
  font-size:13px;
  line-height:1.5;
  letter-spacing:.06em;
  color:var(--theme-muted);
  overflow-wrap:anywhere;
}
.home-intro__title{
  margin:0 0 10px;
  font-size:clamp(22px,3vw,30px);
  line-height:1.3;
  overflow-wrap:anywhere;
}
.home-intro__desc{
  margin:0;
  max-width:62ch;
  font-size:15px;
  line-height:1.7;
  color:var(--theme-muted);
  overflow-wrap:anywhere;
}
.home-intro__nav{
  display:flex;
  flex-wrap:wrap;
  align-content:flex-start;
  gap:8px;
  min-width:0;
}
.home-intro__chip{
  display:inline-block;
  max-width:100%;
  min-width:0;
  padding:6px 14px;
  border:1px solid var(--theme-border);
  border-radius:999px;
  background:var(--theme-page-bg);
  color:var(--theme-text);
  font-size:14px;
  line-height:1.5;
  text-decoration:none;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.home-intro__chip:hover,
.home-intro__chip:focus-visible{
  background:var(--theme-color);
  color:#111827;
}
.home-hot{
  margin-bottom:38px;
}
.home-section-note{
  font-size:13px;
  line-height:1.5;
  color:var(--theme-muted);
  overflow-wrap:anywhere;
}
.home-layout{
  margin-bottom:8px;
}
.home-main{
  min-width:0;
}
.home-cards{
  min-width:0;
}
.theme-card__ph{
  display:block;
  width:100%;
  height:100%;
  background:linear-gradient(135deg,#eceef1 0%,#e2e6eb 52%,#d5dae1 100%);
}
.home-panel{
  min-width:0;
  padding:18px;
  background:var(--theme-surface);
  border:1px solid var(--theme-border);
  border-radius:var(--theme-radius);
}
.home-panel__title{
  margin:0 0 14px;
  font-size:17px;
  line-height:1.4;
  overflow-wrap:anywhere;
}
.home-tags{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  min-width:0;
}
.home-tags__item{
  display:inline-flex;
  align-items:baseline;
  gap:6px;
  max-width:100%;
  min-width:0;
  padding:5px 10px;
  border:1px solid var(--theme-border);
  border-radius:6px;
  background:var(--theme-page-bg);
  color:var(--theme-text);
  font-size:14px;
  line-height:1.5;
  text-decoration:none;
}
.home-tags__item:hover,
.home-tags__item:focus-visible{
  background:var(--theme-color);
  color:#111827;
}
.home-tags__name{
  min-width:0;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.home-tags__count{
  flex:none;
  font-size:12px;
  color:var(--theme-muted);
}
.home-about__text{
  margin:0 0 10px;
  font-size:14px;
  line-height:1.7;
  color:var(--theme-muted);
  overflow-wrap:anywhere;
}
.home-about__contact{
  margin:0 0 6px;
  font-size:14px;
  line-height:1.6;
  color:var(--theme-text);
  overflow-wrap:anywhere;
}
.home-about__contact:last-child{
  margin-bottom:0;
}
@media (min-width:861px){
  .home-intro{
    grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);
    align-items:center;
  }
  .home-cards{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media (max-width:720px){
  .home-intro{
    padding:18px 16px;
    margin-bottom:22px;
  }
  .home-hot{
    margin-bottom:28px;
  }
  .home-panel{
    padding:16px;
  }
}

/* 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}}
