:root{--bg:#e9eef5;--surface:#f7f9fc;--ink:#1a2433;--muted:#5a6a7e;--line:#c5d0de;--brand:#2554c7;--brand-deep:#1a3f9a;--shadow:0 14px 36px rgba(26,36,51,.08);--max:1100px}
*{box-sizing:border-box}html{scroll-behavior:smooth}
body{margin:0;font-family:"Source Sans 3","PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);background:var(--bg);line-height:1.78}
a{color:var(--brand)}img{max-width:100%;height:auto;display:block}.container{width:min(100% - 2rem,var(--max));margin-inline:auto}
.site-header{position:sticky;top:0;z-index:50;background:rgba(247,249,252,.96);border-bottom:1px solid var(--line)}
.header-inner{display:flex;align-items:center;justify-content:space-between;min-height:70px;gap:1rem}
.brand{display:flex;align-items:center;gap:.7rem;color:inherit;text-decoration:none}.brand img{width:40px;height:40px;border-radius:8px;object-fit:cover}
.brand-text{display:flex;flex-direction:column;line-height:1.15}.brand-text b{font-size:1.05rem;color:var(--brand-deep)}.brand-text span{font-size:.76rem;color:var(--muted)}
.nav{display:flex;gap:.3rem;align-items:center}.nav a{color:var(--ink);padding:.45rem .7rem;border-radius:8px;text-decoration:none;font-size:.92rem}
.nav a:hover,.nav a.active{background:#dfe8f7;color:var(--brand-deep)}
.menu-toggle{display:none;border:1px solid var(--line);background:#fff;border-radius:8px;width:44px;height:44px;cursor:pointer;align-items:center;justify-content:center;flex-direction:column;gap:5px}
.menu-toggle span{width:18px;height:2px;background:var(--ink);display:block}
.hero-living{padding:2rem 0 1rem;background:linear-gradient(135deg,#1a3f9a,#2554c7 50%,#4a7fe0);color:#f2f6ff}
.hero-living h1{margin:0 0 .8rem;font-size:clamp(1.5rem,2.8vw,2.2rem)}.hero-living p{margin:0;max-width:38rem;color:#d7e3ff}
.scene-grid{display:grid;gap:1.4rem;padding:2rem 0}
.scene{display:grid;grid-template-columns:1.05fr .95fr;gap:1.2rem;align-items:center;background:var(--surface);border:1px solid var(--line);border-radius:14px;overflow:hidden;box-shadow:var(--shadow)}
.scene:nth-child(even){grid-template-columns:.95fr 1.05fr}.scene:nth-child(even) .scene-copy{order:2}
.scene-visual img{width:100%;height:100%;object-fit:cover;min-height:240px}
.scene-copy{padding:1.4rem 1.3rem}.scene-copy h2{margin:0 0 .6rem;font-size:1.35rem;color:var(--brand-deep)}.scene-copy p{margin:0 0 .7rem;color:var(--muted)}
.guide-long{background:#fff;border:1px solid var(--line);border-radius:14px;padding:1.6rem 1.5rem;margin:1rem 0 2rem}.guide-long h2{color:var(--brand-deep);margin-top:1.5rem}
.btn-primary{display:inline-flex;padding:.7rem 1.15rem;background:var(--brand);color:#fff!important;border-radius:8px;text-decoration:none;font-weight:600}
.btn-ghost{display:inline-flex;padding:.7rem 1.15rem;background:#e8eef8;color:var(--brand-deep)!important;border-radius:8px;text-decoration:none;margin-left:.5rem}
.outlinks{display:flex;flex-wrap:wrap;gap:.7rem;margin:1.2rem 0}.outlinks a{border:1px solid var(--brand);padding:.55rem .95rem;border-radius:8px;color:var(--brand-deep);font-weight:600;text-decoration:none;background:#fff}
.partners{display:flex;flex-wrap:wrap;gap:.6rem}.partners img{height:34px;background:#fff;padding:5px 8px;border:1px solid var(--line);border-radius:6px}
.site-footer{background:#1a2433;color:#c9d4e4;padding:2rem 0 1rem;margin-top:2rem}.footer-grid{display:flex;justify-content:space-between;flex-wrap:wrap;gap:1rem}.footer-grid a{color:#9eb4d4;margin-right:.9rem}
.copyright{margin-top:1rem;font-size:.88rem;opacity:.8}.page-main{padding:1.6rem 0 2rem}.page-hero h1{color:var(--brand-deep);margin:0 0 .4rem}
.simple-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:1.4rem;margin-top:1rem}
.error-page{min-height:100vh;display:grid;place-items:center;padding:2rem}.error-box{max-width:500px;width:100%;background:#fff;border:1px solid var(--line);border-radius:12px;padding:1.4rem;text-align:center}.error-box h1{font-size:2.8rem;color:var(--brand)}
@media (max-width:860px){.menu-toggle{display:flex}.nav{display:none;position:absolute;left:0;right:0;top:70px;background:#f7f9fc;flex-direction:column;padding:1rem;border-bottom:1px solid var(--line)}.nav.open{display:flex}.scene,.scene:nth-child(even){grid-template-columns:1fr}.scene:nth-child(even) .scene-copy{order:0}}

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

