:root{--bg:#f0f7ff;--ink:#16324f;--muted:#5b7390;--line:#cfe0f3;--brand:#3b9ae1;--brand2:#1f78c1;--sky:#e6f3ff;--max:1040px;--font:"Avenir Next","PingFang SC","Microsoft YaHei",sans-serif}
*{box-sizing:border-box}body{margin:0;font-family:var(--font);color:var(--ink);background:linear-gradient(180deg,#dff0ff,#f7fbff 38%,#eef6ff);line-height:1.75}a{color:var(--brand2)}img{max-width:100%;display:block}.container{width:min(100% - 2rem,var(--max));margin-inline:auto}
.skip{position:absolute;left:-999px}.topbar{background:#1f78c1;color:#eef7ff;padding:.5rem 0;font-size:.9rem}.topbar .container{display:flex;justify-content:space-between;flex-wrap:wrap;gap:.8rem}
.site-header{position:sticky;top:0;z-index:40;background:rgba(255,255,255,.95);border-bottom:1px solid var(--line)}.header-inner{display:flex;align-items:center;justify-content:space-between;min-height:70px}.brand{display:flex;gap:.7rem;align-items:center;text-decoration:none;color:inherit}.brand img{border-radius:10px}.brand-text{display:flex;flex-direction:column;line-height:1.2}.brand-text b{color:var(--brand2)}.brand-text span{font-size:.76rem;color:var(--muted)}
.nav{display:flex;gap:.25rem}.nav a{text-decoration:none;color:var(--ink);padding:.45rem .7rem;border-radius:999px;font-size:.9rem}.nav a.active,.nav a:hover{background:var(--sky);color:var(--brand2)}
.menu-toggle{display:none;border:1px solid var(--line);background:#fff;width:44px;height:44px;border-radius:10px;flex-direction:column;align-items:center;justify-content:center;gap:5px}.menu-toggle span{width:18px;height:2px;background:var(--ink)}
.intro{padding:2rem 0 1rem}.intro h1{margin:0 0 .7rem;font-size:clamp(1.45rem,2.4vw,2.1rem)}.intro>.lead{color:var(--muted);max-width:44rem}
.ribbon{display:grid;grid-template-columns:repeat(4,1fr);gap:.8rem;margin:1.4rem 0}.step{background:#fff;border:1px solid var(--line);border-radius:14px;padding:1rem;position:relative;box-shadow:0 8px 22px rgba(31,120,193,.08)}.step .n{display:inline-flex;width:28px;height:28px;border-radius:50%;align-items:center;justify-content:center;background:var(--brand);color:#fff;font-weight:700;font-size:.85rem;margin-bottom:.5rem}.step h3{margin:0 0 .4rem;font-size:1rem}.step p{margin:0;color:var(--muted);font-size:.92rem}
.ads-wrap{margin:1rem 0}.article{background:#fff;border:1px solid var(--line);border-radius:16px;padding:1.35rem 1.45rem;margin:1.2rem 0 2rem;box-shadow:0 8px 22px rgba(31,120,193,.06)}.article h2{margin:1.45rem 0 .65rem;font-size:1.22rem}.article h2:first-child{margin-top:0}
.grid-shots{display:grid;grid-template-columns:repeat(3,1fr);gap:.7rem}.shot{border:1px solid var(--line);border-radius:12px;overflow:hidden}.shot figcaption{padding:.4rem .65rem;background:#f3f9ff;color:var(--muted);font-size:.84rem}
.grid-partners{display:grid;grid-template-columns:repeat(4,1fr);gap:.6rem}.partner{border:1px solid var(--line);border-radius:12px;padding:.4rem;background:#fff;text-align:center}.partner figcaption{font-size:.75rem;color:var(--muted)}
.outlinks a{display:inline-block;margin:.25rem .35rem .25rem 0;padding:.5rem .95rem;background:var(--sky);border:1px solid #b7d8f5;border-radius:999px;text-decoration:none;color:var(--brand2);font-weight:600}
.page-hero{padding:1.4rem 0 .35rem}.simple-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:1.2rem;margin-bottom:2rem}
.site-footer{background:#144a78;color:#d7ebfb;padding:2rem 0 1rem}.site-footer a{color:#9fd4ff}.footer-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:1rem}.footer-grid ul{list-style:none;padding:0;margin:0}.copyright{border-top:1px solid rgba(255,255,255,.15);margin-top:1rem;padding-top:.9rem;font-size:.88rem}
.error-page{min-height:100vh;display:grid;place-items:center;padding:2rem}.error-box{background:#fff;border:1px solid var(--line);border-radius:14px;padding:1.3rem;max-width:520px;width:100%;text-align:center}.btn-primary{display:inline-flex;background:var(--brand);color:#fff!important;padding:.6rem 1.1rem;border-radius:999px;text-decoration:none}
@media(max-width:900px){.ribbon{grid-template-columns:1fr 1fr}.grid-shots,.grid-partners,.footer-grid{grid-template-columns:1fr 1fr}}
@media(max-width:760px){.menu-toggle{display:flex}.nav{display:none;position:absolute;left:0;right:0;top:70px;background:#fff;flex-direction:column;padding:1rem;border-bottom:1px solid var(--line)}.nav.open{display:flex}.ribbon{grid-template-columns:1fr}.grid-shots{grid-template-columns:1fr}}

/* official topbar - readable header strip */
.topbar{
  background:linear-gradient(90deg,#0b4ea2,#1260c4);
  color:#eef5ff;
  font-size:.86rem;
  padding:.45rem 0;
  line-height:1.4;
}
.topbar .container{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:.75rem;
  flex-wrap:nowrap;
}
.topbar-brand{font-weight:600;color:#fff;white-space:nowrap}
.topbar-domain{opacity:.92;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media (max-width:760px){
  .topbar{font-size:.8rem;padding:.4rem 0}
  .topbar .container{justify-content:center;gap:.35rem}
  .topbar-domain::before{content:"· ";opacity:.7}
}


/* ads: keep square, avoid oversized icons */
.ads-wrap.ads-header{
  margin:0;
  padding:.5rem .75rem .35rem;
  border:none;
  border-bottom:1px solid rgba(0,0,0,.06);
  border-radius:0;
  background:#fff;
}
.ads-wrap #ads{
  margin:4px 0 !important;
  gap:8px 12px !important;
}
.ads-wrap #ads img,.ads-header #ads img,#ads img{
  width:56px !important;
  height:56px !important;
  max-width:56px !important;
  max-height:56px !important;
  aspect-ratio:1/1 !important;
  object-fit:cover !important;
  object-position:center center;
  display:block;
  border-radius:12px;
}
.ads-wrap #ads figure{margin:0;width:56px}
.ads-wrap #ads > div{width:60px;flex:0 0 60px}
.ads-wrap #ads .caption,.ads-wrap #ads figcaption{
  font-size:11px;
  max-width:60px;
  margin-top:3px;
  color:#666;
}

/* full domain outlink chain */
.outlinks-chain{margin:1.2rem 0 1.6rem}
.outlinks-chain h2,.outlinks-chain h3{margin:0 0 .7rem;font-size:1.15rem}
.outlinks-chain p.note{margin:0 0 .8rem;color:#5b6b7f;font-size:.92rem}
.outlinks{
  display:flex;
  flex-wrap:wrap;
  gap:.55rem .65rem;
  margin:0;
}
.outlinks a{
  display:inline-flex;
  align-items:center;
  background:#fff;
  border:1px solid #c9daf0;
  border-radius:999px;
  padding:.4rem .85rem;
  color:#083a7a;
  text-decoration:none;
  font-weight:600;
  font-size:.88rem;
  line-height:1.3;
}
.outlinks a:hover{background:#eaf2fc;color:#0b4ea2;text-decoration:none}
.outlinks a .dom{
  margin-left:.35rem;
  font-weight:500;
  color:#5b6b7f;
  font-size:.8rem;
}
@media (max-width:760px){
  .outlinks a{font-size:.82rem;padding:.38rem .7rem}
  .outlinks a .dom{display:none}
}

