.seo-prose{min-width:0}.seo-prose p,.seo-prose li{overflow-wrap:anywhere}.seo-prose ol,.seo-prose ul{padding-left:1.5rem}.seo-prose li+li{margin-top:.6rem}.seo-prose code{font-size:.92em;overflow-wrap:anywhere}.seo-toc{padding:1.3rem 1.5rem;border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--glass);margin-bottom:1.5rem}.seo-toc ul{margin:.6rem 0 0;padding-left:1.3rem}.seo-table-wrap{overflow-x:auto}.seo-table-wrap table{width:100%;border-collapse:collapse;text-align:left;font-size:.94rem}.seo-table-wrap caption{text-align:left;font-weight:600;margin-bottom:.6rem}.seo-table-wrap th,.seo-table-wrap td{padding:.8rem;vertical-align:top;border-bottom:1px solid var(--line);min-width:6rem}.seo-home-section{padding:64px 0;color:var(--ink,#eee)}.seo-home-section p{max-width:850px;line-height:1.8}.seo-home-section a{color:var(--ink,#bdaeff);text-decoration:underline;text-underline-offset:3px}.seo-home-section ul{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;list-style:none;padding:0}.seo-home-section li{min-width:0;padding:18px;border:1px solid rgba(150,150,180,.24);border-radius:14px;line-height:1.6}@media(max-width:640px){.seo-home-section ul{grid-template-columns:minmax(0,1fr)}.seo-table-wrap table{font-size:.86rem}.seo-table-wrap th,.seo-table-wrap td{padding:.5rem;min-width:0}.seo-toc{padding:1rem}.seo-prose{padding:1rem}body{min-width:0}}

/* Keep English navigation readable on small screens. */
html[lang="en"] .header-inner{flex-wrap:wrap;padding-block:12px}html[lang="en"] .nav{display:flex;flex-wrap:wrap}html[lang="en"] .nav a{padding:7px 9px}html[lang="en"] .seo-prose{overflow-wrap:anywhere}
@media(max-width:820px){html[lang="en"] .nav{margin-left:0;width:100%;gap:3px}}

/* Compact closing CTA and shared, two-tier public footer. */
#use-guides.seo-home-section{padding:36px 0 44px}
#cta.band{padding-bottom:32px}
#cta .cta{padding-block:clamp(36px,4vw,52px)}
footer.product-footer{margin-top:0;padding:30px 0 calc(22px + env(safe-area-inset-bottom));border-top:1px solid var(--line);color:var(--muted);font-size:13px}
.product-footer-shell{width:min(var(--max,1180px),calc(100% - 32px));margin-inline:auto}
html[lang="zh-CN"] .product-footer-shell{width:100%;max-width:var(--maxw);padding-inline:clamp(18px,4vw,40px)}
html[lang="en"] main>.content:last-child{padding-bottom:32px}
.product-footer-top{display:flex;flex-direction:column;align-items:center;gap:20px;padding-bottom:22px;text-align:center}
.product-footer-identity{min-width:0;width:100%}.product-footer-brand{display:inline-flex;align-items:center;gap:10px;color:var(--ink);font-size:17px;font-weight:700;text-decoration:none}
.product-footer-brand img{display:block;width:36px;height:36px;border-radius:10px;flex-shrink:0}
.product-footer-identity p{margin:10px auto 0;max-width:32rem;font-size:13px;line-height:1.6;color:var(--muted)}
.product-footer-nav{display:flex;justify-content:center;flex-wrap:wrap;gap:24px 48px;text-align:center}.product-footer-group h2{margin:0 0 10px;color:var(--ink);font-size:13px;font-weight:600;line-height:1.5;letter-spacing:normal}
.product-footer-group ul{display:flex;flex-direction:column;align-items:center;gap:8px;list-style:none;padding:0;margin:0}.product-footer-group li{margin:0;line-height:1.6}.product-footer a{color:inherit}.product-footer a:hover{color:var(--ink)}.product-footer a:focus-visible{outline:2px solid var(--accent);outline-offset:5px}
.product-footer-bottom{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:6px;border-top:1px solid var(--line);padding-top:18px;font-size:12px;line-height:1.7;text-align:center}
.product-footer-copyright{color:var(--muted)}.product-footer-registration .icp-link{display:inline;color:var(--muted);background:none;border:0;border-radius:0;box-shadow:none;padding:0;min-height:0;font-size:12px;font-weight:400;line-height:1.7;backdrop-filter:none;transform:none;text-decoration:none}
.product-footer-registration .icp-link::before{display:none}
@media(max-width:640px){.product-footer-shell{width:calc(100% - 40px)}.product-footer-top{gap:20px;padding-bottom:20px}.product-footer-nav{gap:20px 32px}.product-footer-bottom{gap:6px;padding-top:16px}footer.product-footer{padding-top:24px}#use-guides.seo-home-section{padding:28px 0 32px}#cta.band{padding-bottom:24px}#cta .cta{padding-block:32px}}

/* Desktop footer preview: preserve the mobile layout below 900px. */
@media(min-width:900px){
  footer.product-footer{padding-top:24px;padding-bottom:20px}
  .product-footer-shell{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));column-gap:24px;row-gap:14px}
  .product-footer-top,.product-footer-nav,.product-footer-group,.product-footer-group ul,.product-footer-bottom{display:contents}
  .product-footer-identity{grid-column:1/-1;display:flex;align-items:center;justify-content:center;gap:24px;padding-bottom:14px;border-bottom:1px solid var(--line)}
  .product-footer-identity p{margin:0;max-width:none}
  .product-footer-group h2{display:none}
  .product-footer-group li{text-align:center}
  .product-footer-group a{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding-inline:12px}
  .product-footer-copyright,.product-footer-registration{display:flex;align-items:center;justify-content:center;min-height:40px;text-align:center}
}

@media(min-width:900px){.product-footer-guides .product-footer-shell{grid-template-columns:repeat(5,minmax(0,1fr))}}

/* Distribute public footer navigation and legal items at mobile widths. */
@media(max-width:899px){
 html[lang] .product-footer-shell{width:100%;max-width:1180px;padding-inline:16px}
 .product-footer-top{gap:16px;padding-bottom:16px}
 .product-footer-nav,.product-footer-group{width:100%}
 .product-footer-group ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%;align-items:center}
 .product-footer-group li{min-width:0;text-align:center}
 .product-footer-group a{display:flex;align-items:center;justify-content:center;min-height:44px;padding:4px 8px;overflow-wrap:anywhere}
 .product-footer-guides .product-footer-group ul{grid-template-columns:repeat(3,minmax(0,1fr))}
 .product-footer-bottom{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;align-items:start;padding-top:16px;font-size:12px;line-height:1.7}
 .product-footer-copyright{min-width:0;text-align:left}
 .product-footer-registration{min-width:0;text-align:right;overflow-wrap:anywhere}
 .product-footer-registration .icp-link{font-size:12px;line-height:1.7}
}

/* Hallmark component redesign: existing StreamCat visual language;
   centered identity, intrinsic-width centered navigation, stacked centered legal tier.
   Scope: footer only. No typography family, palette, content or route changes. */
footer.product-footer{
  padding:28px 0 calc(24px + env(safe-area-inset-bottom));
  font-size:13px;
}
html[lang] .product-footer-shell{
  box-sizing:border-box;width:100%;max-width:1180px;
  padding-inline:clamp(18px,4vw,40px);margin-inline:auto;
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  column-gap:24px;row-gap:10px;
}
.product-footer-top{display:contents}
.product-footer-nav{display:flex;grid-column:1/-1;grid-row:2;justify-content:center;width:100%}
.product-footer-group{display:block;width:auto}
.product-footer-group ul{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:20px;width:auto}
.product-footer-identity{
  grid-column:1/-1;grid-row:1;display:flex;align-items:center;
  justify-content:center;gap:20px;width:100%;min-width:0;
  padding-bottom:22px;border-bottom:1px solid var(--line);text-align:center;
}
.product-footer-brand{gap:9px;font-size:17px;line-height:1.5}
.product-footer-brand img{width:30px;height:30px;border-radius:9px}
.product-footer-identity p{margin:0;max-width:none;font-size:12px;line-height:1.6}
.product-footer-group li{min-width:0;margin:0;grid-row:2;list-style:none}
.product-footer-group li:first-child{grid-column:1;justify-self:stretch;text-align:center}
.product-footer-group li:last-child{grid-column:2;justify-self:stretch;text-align:center}
.product-footer-group a{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:44px;min-width:44px;padding:0 4px;font-size:13px;font-weight:500;
  color:var(--ink);white-space:nowrap;text-decoration:none;
}
.product-footer-group a:hover{text-decoration:underline;text-underline-offset:4px}
.product-footer-bottom{
  grid-column:1/-1;grid-row:3;display:flex;flex-direction:column;
  align-items:center;justify-content:center;gap:4px;
  margin:0;padding:0;border:0;font-size:12px;line-height:1.7;
}
.product-footer-copyright,.product-footer-registration{
  display:block;min-width:0;min-height:0;text-align:center;white-space:nowrap;
}
.product-footer-registration .icp-link{font-size:12px;line-height:1.7;white-space:nowrap}
@media(max-width:699px){
  footer.product-footer{padding-top:24px;padding-bottom:calc(24px + env(safe-area-inset-bottom))}
  html[lang] .product-footer-shell{
    padding-inline:18px;grid-template-columns:repeat(2,minmax(0,1fr));
    column-gap:8px;row-gap:4px;
  }
  .product-footer-identity{
    flex-direction:column;gap:8px;padding-bottom:18px;margin-bottom:6px;
  }
  .product-footer-identity p{font-size:12px;line-height:1.6}
  .product-footer-group li:first-child{grid-column:1;justify-self:stretch}
  .product-footer-group li:last-child{grid-column:2;justify-self:stretch}
  .product-footer-group a{display:flex;min-height:44px;width:100%;padding:0 4px}
  .product-footer-bottom{display:flex;grid-column:1/-1;grid-row:3;gap:4px;margin-top:8px}
  .product-footer-copyright,.product-footer-registration{
    padding-top:0;font-size:12px;line-height:1.7;text-align:center;
  }
}

/* Desktop preview only: follow the approved mobile footer hierarchy.
   Mobile CSS and markup remain byte-identical to the approved preview. */
@media(min-width:700px){
  footer.product-footer{padding-top:32px;padding-bottom:28px}
  .product-footer-identity{
    flex-direction:column;gap:10px;padding-bottom:22px;
  }
  .product-footer-brand{font-size:18px;gap:10px}
  .product-footer-brand img{width:34px;height:34px;border-radius:10px}
  .product-footer-identity p{margin:0;font-size:13px;line-height:1.6}
}

/* Shared footer: original brand description followed by legal information. */
html[lang] .product-footer-shell{row-gap:16px}
.product-footer-identity{padding-bottom:0;margin-bottom:0;border-bottom:0}
.product-footer-bottom{grid-row:2;margin-top:0}
