:root {
  --ink:#183155; --muted:#63738c; --soft:#8491a6; --line:#e6edf6;
  --blue:#4f7ef4; --cyan:#72d8ee; --peach:#ffc1ae; --pink:#ffb4d7;
  --purple:#9d79ef; --surface:rgba(255,255,255,.91);
  --shadow:0 14px 38px rgba(49,79,124,.08);
}
*{box-sizing:border-box} html{scroll-behavior:smooth}
body{
  margin:0;color:var(--ink);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Noto Sans","Noto Sans SC","PingFang SC","Microsoft YaHei",Arial,sans-serif;
  line-height:1.78;
  background:
    radial-gradient(circle at 8% 5%,rgba(114,216,238,.24),transparent 28%),
    radial-gradient(circle at 94% 14%,rgba(255,180,215,.22),transparent 27%),
    radial-gradient(circle at 78% 92%,rgba(157,121,239,.12),transparent 30%),
    linear-gradient(180deg,#f8fcff 0%,#fff 45%,#fbf9ff 100%);
}
a{color:inherit}
.site-header{max-width:1120px;margin:0 auto;padding:30px 22px 14px}
.hero{
  position:relative;overflow:hidden;padding:24px 26px;border:1px solid rgba(255,255,255,.95);
  border-radius:26px;background:linear-gradient(120deg,rgba(255,255,255,.94),rgba(255,255,255,.73));
  box-shadow:0 18px 45px rgba(46,79,128,.09);backdrop-filter:blur(14px)
}
.hero:after{content:"✦   ✧   ✦";position:absolute;top:15px;right:24px;color:#9d79ef;opacity:.42;letter-spacing:6px}
.wave{position:absolute;left:-8%;right:-8%;bottom:-55px;height:115px;border-radius:50% 50% 0 0/75% 75% 0 0;background:linear-gradient(100deg,rgba(114,216,238,.24),rgba(255,193,174,.18),rgba(198,160,255,.20))}
.brand-row{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:18px}
.brand{display:flex;align-items:center;gap:13px;min-width:0}
.logo{width:52px;height:52px;object-fit:contain;flex:0 0 auto}
h1{margin:0;font-size:clamp(24px,3vw,30px);line-height:1.25;letter-spacing:-.02em}
.meta{margin-top:5px;color:var(--muted);font-size:12.5px}
.lang-switch{position:relative;z-index:1;display:inline-flex;gap:4px;padding:4px;border:1px solid #e5ebf4;border-radius:999px;background:rgba(255,255,255,.85);flex:0 0 auto}
.lang-switch a{text-decoration:none;color:#61718a;font-size:12px;font-weight:700;padding:7px 11px;border-radius:999px}
.lang-switch a.active{color:#fff;background:linear-gradient(135deg,#4f7ef4,#8b73ef)}
.top-links{position:relative;z-index:1;display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}
.top-links a{text-decoration:none;font-size:12px;font-weight:650;color:#526681;padding:7px 10px;border-radius:999px;border:1px solid #e7edf5;background:rgba(255,255,255,.82)}
.top-links a.current{color:#315fae;border-color:#d7e3fa;background:#f3f7ff}
.layout{max-width:1120px;margin:0 auto;padding:10px 22px 70px;display:grid;grid-template-columns:225px minmax(0,1fr);gap:22px}
.toc{position:sticky;top:18px;align-self:start;padding:14px;border:1px solid rgba(226,234,244,.95);border-radius:20px;background:rgba(255,255,255,.73);backdrop-filter:blur(12px)}
.toc-title{padding:4px 9px 8px;color:#98a2b2;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.toc a{display:block;text-decoration:none;color:#607087;font-size:12.5px;padding:8px 10px;border-radius:10px}
.toc a:hover{background:#f1f6ff;color:#315fae}
.content{display:grid;gap:13px}
.card{scroll-margin-top:18px;padding:22px 24px;border:1px solid rgba(231,237,246,.98);border-radius:20px;background:var(--surface);box-shadow:0 8px 25px rgba(36,68,110,.045)}
.card h2{display:flex;align-items:center;gap:10px;margin:0 0 10px;color:#183155;font-size:17.5px;line-height:1.45}
.card h2:before{content:"";width:8px;height:8px;border-radius:50%;flex:0 0 auto;background:linear-gradient(135deg,var(--blue),var(--purple));box-shadow:0 0 0 5px rgba(79,126,244,.08)}
.card p,.card li{color:#50627c;font-size:14.5px}
.card p{margin:0}.card ul{margin:0;padding-left:1.25em}.card li{margin:8px 0}
.safety-intro{margin:0 0 8px!important}
.steps{list-style:none;padding:0!important;display:grid;gap:10px}
.steps li{display:grid;grid-template-columns:30px 1fr;gap:10px;align-items:start;margin:0}
.step-num{display:inline-grid;place-items:center;width:27px;height:27px;margin-top:1px;border-radius:50%;color:#fff;font-size:12px;font-weight:800;background:linear-gradient(135deg,#4f7ef4,#9d79ef)}
.footer{margin-top:5px;text-align:center;color:#929eaf;font-size:12px}
.home-wrap{max-width:980px;margin:0 auto;padding:48px 20px 70px}
.home-hero{padding:30px;border-radius:28px;background:rgba(255,255,255,.86);border:1px solid #fff;box-shadow:var(--shadow)}
.home-brand{display:flex;align-items:center;gap:14px}.home-brand .logo{width:58px;height:58px}
.home-hero p{color:var(--muted);margin:12px 0 0}
.doc-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:18px}
.doc-link{text-decoration:none;padding:19px;border-radius:20px;border:1px solid #e7edf5;background:rgba(255,255,255,.88);box-shadow:0 8px 24px rgba(41,71,113,.045)}
.doc-link strong{display:block;font-size:16px;margin-bottom:5px}.doc-link span{color:var(--muted);font-size:12.5px}
.notice{margin-top:16px;color:#728197;font-size:12px}
.redirect{min-height:100vh;display:grid;place-items:center;padding:24px}
.redirect-card{max-width:560px;width:100%;padding:28px;border-radius:24px;background:rgba(255,255,255,.9);border:1px solid #fff;box-shadow:var(--shadow);text-align:center}
.redirect-card p{color:var(--muted)}.redirect-card a{display:inline-block;margin:4px 5px;padding:8px 12px;border-radius:999px;text-decoration:none;border:1px solid #e4eaf3;background:#fff}
@media(max-width:760px){
  .site-header{padding:17px 12px 9px}.hero{padding:19px 16px;border-radius:22px}.brand-row{align-items:flex-start}.logo{width:44px;height:44px}
  .lang-switch a{padding:6px 9px}.layout{display:block;padding:6px 12px 44px}
  .toc{position:static;display:flex;gap:4px;overflow-x:auto;padding:7px;margin-bottom:11px;border-radius:15px;scrollbar-width:none}
  .toc::-webkit-scrollbar{display:none}.toc-title{display:none}.toc a{white-space:nowrap;background:#fff;border:1px solid #edf1f6}
  .content{gap:10px}.card{padding:18px 16px;border-radius:18px}.card h2{font-size:16.5px}.card p,.card li{font-size:14px}
  .doc-grid{grid-template-columns:1fr}.home-wrap{padding:22px 12px 44px}
}


/* ===== V3 Legal & Safety Center homepage ===== */
.center-page {
  min-height: 100vh;
  overflow-x: hidden;
}
.center-shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 34px 22px 64px;
}
.center-hero {
  position: relative;
  overflow: hidden;
  padding: 34px 34px 30px;
  border: 1px solid rgba(255,255,255,.96);
  border-radius: 30px;
  background:
    linear-gradient(125deg, rgba(255,255,255,.95), rgba(255,255,255,.76));
  box-shadow: 0 22px 55px rgba(45,77,122,.10);
  backdrop-filter: blur(16px);
}
.center-hero::before {
  content: "";
  position: absolute;
  width: 460px;
  height: 180px;
  left: -90px;
  top: -85px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(114,216,238,.32), rgba(114,216,238,.02) 67%, transparent 72%);
}
.center-hero::after {
  content: "";
  position: absolute;
  width: 500px;
  height: 190px;
  right: -110px;
  bottom: -115px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255,180,215,.25), rgba(157,121,239,.08) 55%, transparent 72%);
}
.center-brand-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.center-brand {
  display: flex;
  align-items: center;
  gap: 15px;
}
.center-logo {
  width: 62px;
  height: 62px;
  object-fit: contain;
}
.center-title {
  margin: 0;
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.18;
  letter-spacing: -.025em;
  color: #15335f;
}
.center-kicker {
  margin-top: 5px;
  color: #6b7c96;
  font-size: 13px;
}
.center-language {
  display: inline-flex;
  gap: 6px;
  padding: 5px;
  border: 1px solid #e4ebf5;
  border-radius: 999px;
  background: rgba(255,255,255,.86);
}
.center-language span {
  padding: 7px 11px;
  border-radius: 999px;
  color: #586b87;
  font-size: 12px;
  font-weight: 700;
}
.center-language span:first-child {
  color: #fff;
  background: linear-gradient(135deg,#4f7ef4,#9476ef);
}
.center-copy {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 23px 0 0;
}
.center-tagline {
  margin: 0;
  color: #29466f;
  font-size: clamp(18px, 2.2vw, 23px);
  font-weight: 750;
  line-height: 1.5;
}
.center-subcopy {
  margin: 7px 0 0;
  color: #6d7d94;
  font-size: 14px;
}
.center-section {
  margin-top: 22px;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin: 0 3px 12px;
}
.section-heading h2 {
  margin: 0;
  color: #1a355f;
  font-size: 20px;
}
.section-heading p {
  margin: 0;
  color: #8793a6;
  font-size: 12px;
}
.center-doc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
}
.center-doc-card {
  position: relative;
  min-height: 174px;
  padding: 22px;
  overflow: hidden;
  text-decoration: none;
  border: 1px solid #e5edf7;
  border-radius: 22px;
  background: rgba(255,255,255,.90);
  box-shadow: 0 10px 30px rgba(39,69,111,.055);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.center-doc-card:hover {
  transform: translateY(-3px);
  border-color: #d7e4f7;
  box-shadow: 0 16px 36px rgba(39,69,111,.09);
}
.doc-icon {
  display: inline-grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border-radius: 13px;
  margin-bottom: 14px;
  background: linear-gradient(145deg,#f2f7ff,#f9f3ff);
  color: #5477ca;
  font-size: 18px;
  font-weight: 900;
}
.center-doc-card strong {
  display: block;
  color: #18345f;
  font-size: 17px;
  line-height: 1.35;
}
.center-doc-card .zh {
  display: block;
  margin-top: 3px;
  color: #5e6f88;
  font-size: 13px;
  font-weight: 700;
}
.center-doc-card p {
  margin: 10px 0 0;
  color: #78869a;
  font-size: 12.5px;
  line-height: 1.65;
}
.card-arrow {
  position: absolute;
  right: 18px;
  bottom: 16px;
  color: #9aabbe;
  font-size: 18px;
}
.glance-panel {
  padding: 25px;
  border: 1px solid rgba(229,237,247,.98);
  border-radius: 26px;
  background: rgba(255,255,255,.72);
  box-shadow: 0 10px 30px rgba(39,69,111,.045);
}
.glance-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 12px;
}
.glance-item {
  min-height: 140px;
  padding: 18px;
  border: 1px solid #e8eef6;
  border-radius: 18px;
  background: rgba(255,255,255,.88);
}
.glance-icon {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  margin-bottom: 11px;
  color: #5574bd;
  background: linear-gradient(145deg,#eef8ff,#f7f2ff);
  font-size: 16px;
  font-weight: 900;
}
.glance-item strong {
  display: block;
  color: #233f68;
  font-size: 14px;
}
.glance-item span {
  display: block;
  margin-top: 4px;
  color: #7a889c;
  font-size: 12px;
  line-height: 1.55;
}
.safety-feature {
  display: grid;
  grid-template-columns: minmax(0,1.2fr) minmax(300px,.8fr);
  gap: 16px;
}
.safety-copy,
.safety-actions {
  padding: 24px;
  border: 1px solid #e6edf6;
  border-radius: 24px;
  background: rgba(255,255,255,.86);
  box-shadow: 0 10px 30px rgba(39,69,111,.045);
}
.safety-copy h3,
.safety-actions h3 {
  margin: 0 0 8px;
  color: #203c67;
  font-size: 17px;
}
.safety-copy p {
  margin: 0;
  color: #6d7d93;
  font-size: 13.5px;
}
.safety-points {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 9px;
  margin-top: 15px;
}
.safety-point {
  padding: 12px;
  border-radius: 15px;
  background: #f8fbff;
  border: 1px solid #edf2f8;
}
.safety-point strong {
  display: block;
  color: #395b89;
  font-size: 13px;
}
.safety-point span {
  display: block;
  margin-top: 3px;
  color: #8995a7;
  font-size: 11.5px;
}
.safety-actions a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-decoration: none;
  padding: 11px 0;
  border-bottom: 1px solid #edf1f6;
  color: #4f6280;
  font-size: 13px;
}
.safety-actions a:last-child { border-bottom: 0; }
.safety-actions b { color: #254875; }
.center-footer {
  margin-top: 24px;
  padding: 24px 3px 5px;
  border-top: 1px solid rgba(218,227,239,.78);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: end;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}
.footer-brand strong {
  display: block;
  color: #24446f;
  font-size: 14px;
}
.footer-brand span,
.footer-note {
  color: #8a96a7;
  font-size: 11.5px;
}
.footer-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.footer-links a {
  color: #64758e;
  font-size: 12px;
  text-decoration: none;
}
.footer-links a:hover { color: #315fae; }

@media (max-width: 860px) {
  .center-doc-grid { grid-template-columns: 1fr; }
  .center-doc-card { min-height: 0; }
  .glance-grid { grid-template-columns: repeat(2,1fr); }
  .safety-feature { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .center-shell { padding: 16px 12px 40px; }
  .center-hero { padding: 21px 17px 22px; border-radius: 23px; }
  .center-brand-row { align-items: flex-start; }
  .center-logo { width: 48px; height: 48px; }
  .center-title { font-size: 25px; }
  .center-language { display: none; }
  .center-copy { margin-top: 17px; }
  .center-tagline { font-size: 17px; }
  .section-heading { display: block; margin-bottom: 10px; }
  .section-heading p { margin-top: 3px; }
  .glance-panel { padding: 16px; border-radius: 20px; }
  .glance-grid { grid-template-columns: 1fr; }
  .glance-item { min-height: 0; }
  .safety-points { grid-template-columns: 1fr; }
  .center-footer { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
}


/* ===== V4 localized Legal & Safety Center ===== */
.landing {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}
.landing-card {
  width: min(560px, 100%);
  padding: 30px;
  border: 1px solid rgba(255,255,255,.95);
  border-radius: 26px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 18px 48px rgba(46,79,128,.10);
  text-align: center;
}
.landing-card img { width: 58px; height: 58px; object-fit: contain; }
.landing-card h1 { margin-top: 10px; }
.landing-card p { color: #6e7d94; font-size: 13px; }
.landing-actions { display:flex; justify-content:center; gap:10px; margin-top:16px; }
.landing-actions a {
  text-decoration:none; padding:9px 14px; border-radius:999px;
  border:1px solid #e2e9f3; background:#fff; color:#445f84; font-size:13px; font-weight:750;
}

.hub-page { min-height:100vh; overflow-x:hidden; }
.hub-shell { max-width:1120px; margin:0 auto; padding:32px 22px 58px; }
.hub-hero {
  position:relative; overflow:hidden;
  padding:32px 34px 30px; border-radius:30px;
  border:1px solid rgba(255,255,255,.96);
  background:linear-gradient(125deg,rgba(255,255,255,.96),rgba(255,255,255,.78));
  box-shadow:0 20px 50px rgba(45,77,122,.09);
}
.hub-hero::before {
  content:""; position:absolute; width:480px; height:190px; left:-120px; top:-95px; border-radius:50%;
  background:radial-gradient(ellipse,rgba(114,216,238,.34),rgba(114,216,238,.03) 66%,transparent 73%);
}
.hub-hero::after {
  content:""; position:absolute; width:520px; height:210px; right:-130px; bottom:-125px; border-radius:50%;
  background:radial-gradient(ellipse,rgba(255,180,215,.26),rgba(157,121,239,.08) 55%,transparent 72%);
}
.hub-top { position:relative; z-index:1; display:flex; justify-content:space-between; align-items:flex-start; gap:18px; }
.hub-brand { display:flex; align-items:center; gap:15px; }
.hub-brand img { width:60px; height:60px; object-fit:contain; }
.hub-title { margin:0; color:#15345f; font-size:clamp(28px,4vw,38px); line-height:1.18; letter-spacing:-.025em; }
.hub-kicker { margin-top:5px; color:#6c7d95; font-size:13px; }
.hub-lang {
  display:inline-flex; gap:4px; padding:4px; border:1px solid #e3eaf4; border-radius:999px;
  background:rgba(255,255,255,.9); flex:0 0 auto;
}
.hub-lang a {
  text-decoration:none; color:#607089; font-size:12px; font-weight:750;
  padding:7px 11px; border-radius:999px;
}
.hub-lang a.active { color:#fff; background:linear-gradient(135deg,#4f7ef4,#8d73ee); }
.hub-copy { position:relative; z-index:1; max-width:740px; margin-top:22px; }
.hub-copy h2 { margin:0; color:#294970; font-size:clamp(20px,2.3vw,25px); line-height:1.45; }
.hub-copy p { margin:8px 0 0; color:#6f7f95; font-size:14px; }

.hub-section { margin-top:22px; }
.hub-heading { display:flex; align-items:end; justify-content:space-between; gap:14px; margin:0 3px 12px; }
.hub-heading h3 { margin:0; color:#1a355f; font-size:20px; }
.hub-heading span { color:#8a96a8; font-size:12px; }

.hub-docs { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.hub-card {
  position:relative; min-height:176px; padding:22px; border:1px solid #e5edf7; border-radius:22px;
  background:rgba(255,255,255,.91); box-shadow:0 10px 28px rgba(39,69,111,.05);
  text-decoration:none; transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.hub-card:hover { transform:translateY(-3px); border-color:#d6e3f6; box-shadow:0 15px 34px rgba(39,69,111,.085); }
.svg-icon {
  display:grid; place-items:center; width:40px; height:40px; border-radius:13px; margin-bottom:14px;
  background:linear-gradient(145deg,#eef7ff,#f7f1ff); color:#5577c8;
}
.svg-icon svg { width:21px; height:21px; stroke:currentColor; fill:none; stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round; }
.hub-card strong { display:block; color:#18355f; font-size:17px; }
.hub-card p { margin:9px 0 0; color:#75849a; font-size:12.5px; line-height:1.65; padding-right:18px; }
.hub-arrow { position:absolute; right:18px; bottom:16px; color:#98a9bd; font-size:18px; }

.hub-glance {
  padding:24px; border:1px solid #e5edf6; border-radius:25px; background:rgba(255,255,255,.74);
  box-shadow:0 10px 28px rgba(39,69,111,.04);
}
.hub-glance-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
.hub-glance-item {
  padding:18px; border:1px solid #e8eef6; border-radius:18px; background:rgba(255,255,255,.9);
}
.hub-glance-item strong { display:block; color:#25456f; font-size:14px; }
.hub-glance-item p { margin:5px 0 0; color:#7a899d; font-size:12px; line-height:1.55; }

.hub-safety { display:grid; grid-template-columns:minmax(0,1.25fr) minmax(300px,.75fr); gap:16px; align-items:start; }
.hub-safety-card {
  padding:23px; border:1px solid #e6edf6; border-radius:23px; background:rgba(255,255,255,.88);
  box-shadow:0 10px 28px rgba(39,69,111,.04);
}
.hub-safety-card h3 { margin:0 0 8px; color:#203e68; font-size:17px; }
.hub-safety-card > p { margin:0; color:#6e7e94; font-size:13.5px; }
.hub-points { display:grid; grid-template-columns:repeat(3,1fr); gap:9px; margin-top:15px; }
.hub-point { padding:12px; border:1px solid #edf2f8; border-radius:15px; background:#f8fbff; }
.hub-point strong { display:block; color:#3c5d8a; font-size:13px; }
.hub-point span { display:block; margin-top:3px; color:#8b96a7; font-size:11.5px; }
.hub-links a {
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  text-decoration:none; color:#50647f; font-size:13px; padding:11px 0; border-bottom:1px solid #edf1f6;
}
.hub-links a:last-child { border-bottom:0; }
.hub-links b { color:#254875; }

.hub-footer {
  margin-top:24px; padding:22px 3px 2px; border-top:1px solid rgba(218,227,239,.78);
  display:flex; justify-content:space-between; align-items:flex-end; gap:20px;
}
.hub-footer-brand { display:flex; align-items:center; gap:10px; }
.hub-footer-brand img { width:38px; height:38px; object-fit:contain; }
.hub-footer-brand strong { display:block; color:#24446f; font-size:14px; }
.hub-footer-brand span, .hub-copyright { color:#8a96a7; font-size:11.5px; }
.hub-footer-links { display:flex; gap:12px; flex-wrap:wrap; justify-content:flex-end; }
.hub-footer-links a { text-decoration:none; color:#64758e; font-size:12px; }
.hub-copyright { text-align:right; margin-top:6px; }

@media(max-width:860px) {
  .hub-docs { grid-template-columns:1fr; }
  .hub-card { min-height:0; }
  .hub-glance-grid { grid-template-columns:repeat(2,1fr); }
  .hub-safety { grid-template-columns:1fr; }
}
@media(max-width:600px) {
  .hub-shell { padding:16px 12px 38px; }
  .hub-hero { padding:20px 17px 22px; border-radius:23px; }
  .hub-brand img { width:48px; height:48px; }
  .hub-title { font-size:25px; }
  .hub-lang a { padding:6px 9px; }
  .hub-copy { margin-top:17px; }
  .hub-copy h2 { font-size:18px; }
  .hub-heading { display:block; margin-bottom:10px; }
  .hub-heading span { display:block; margin-top:3px; }
  .hub-glance { padding:16px; border-radius:20px; }
  .hub-glance-grid { grid-template-columns:1fr; }
  .hub-points { grid-template-columns:1fr; }
  .hub-footer { display:block; }
  .hub-footer-links { justify-content:flex-start; margin-top:14px; }
  .hub-copyright { text-align:left; }
}

/* V7: narrow-screen reading layout, shared by browser and Android WebView. */
@media(max-width:600px) {
  .site-header{padding:12px 16px 4px}
  .hero{padding:0;border:0;border-radius:0;box-shadow:none;background:transparent}
  .hero:after,.wave{display:none}
  .brand-row{display:block}
  .brand{gap:8px;min-width:0}
  .brand>div{min-width:0}
  .logo{width:28px;height:28px}
  h1{font-size:20px;line-height:1.4;word-break:normal}
  .meta{font-size:11px;overflow-wrap:anywhere}
  .lang-switch{margin-top:8px;padding:0;border:0;background:transparent}
  .lang-switch a{font-size:12px;padding:4px 10px}
  .top-links{display:none}
  .layout{display:block;padding:12px 16px 28px}
  .toc{display:none}
  .content{display:block;min-width:0}
  .card{padding:16px 0;margin:0;border:0;border-bottom:1px solid #e6edf6;border-radius:0;box-shadow:none;background:transparent}
  .card h2{font-size:16px;line-height:1.5}
  .card p,.card li{font-size:14px;line-height:1.85;overflow-wrap:anywhere}
  .footer{padding:18px 16px;font-size:11px;overflow-wrap:anywhere}
}
