/* Shared public chrome. Homepage is the visual authority; page bodies remain independent. */
body header.site-header.public-shell,
body footer.site-footer.public-shell {
  all:revert; box-sizing:border-box; width:100%; margin:0;
  font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","Segoe UI",Roboto,sans-serif;
  font-size:16px; font-weight:400; line-height:1.5; text-align:left; letter-spacing:normal;
}
body .public-shell *,body .public-shell *::before,body .public-shell *::after { box-sizing:border-box; }
body .public-shell * { font-family:inherit; }
body header.site-header.public-shell { position:sticky; top:0; z-index:1000; display:flex; align-items:center; justify-content:space-between; height:68px; padding:0 max(40px,calc((100vw - 1480px)/2)); background:#fff; border-bottom:1px solid #dce4ef; box-shadow:none; backdrop-filter:none; }
.public-shell.site-header .brand-logo-wrap { display:flex; align-items:center; gap:12px; text-decoration:none; margin:0; }
.public-shell.site-header .brand-logo-img { display:block; width:38px; height:38px; object-fit:cover; border-radius:0; box-shadow:none; }
.public-shell.site-header .brand-titles { display:flex; flex-direction:column; }
.public-shell.site-header .brand-name { color:#0f172a; font-size:20px; font-weight:650; line-height:1.5; letter-spacing:-.2px; white-space:nowrap; }
.public-shell.site-header .brand-tagline { display:block; color:#64748b; font-size:11px; font-weight:500; line-height:1.5; letter-spacing:.03em; }
.public-shell.site-header .nav-links { display:flex; align-items:center; gap:30px; margin:0; padding:0; }
.public-shell.site-header .nav-links a { display:block; position:relative; padding:0; color:#4e5969; font-size:15px; font-weight:450; line-height:1.5; text-decoration:none; border:0; background:none; white-space:nowrap; transition:color .15s; }
.public-shell.site-header .nav-links a:hover,.public-shell.site-header .nav-links a.active { color:#165dff; }
.public-shell.site-header .nav-links a::after { content:none; }
.public-shell.site-header .nav-links a.active::after { content:""; position:absolute; bottom:-6px; left:0; width:100%; height:2.5px; border-radius:2px; background:linear-gradient(90deg,#102cae,#165dff 58%,#37b8ef); }
.public-shell.site-header .nav-actions { display:flex; align-items:center; gap:14px; margin:0; }
.public-shell.site-header .btn-nav-cta { display:inline-flex; align-items:center; justify-content:center; padding:8px 20px; background:#165dff; color:#fff; border:1px solid #165dff; border-radius:6px; font-size:13.5px; font-weight:500; line-height:1.5; text-decoration:none; white-space:nowrap; box-shadow:none; }
.public-shell.site-header .btn-nav-cta:hover { background:#0e42d2; transform:none; box-shadow:none; }
.public-shell.site-header .site-menu-toggle { display:none; }
body footer.site-footer.public-shell { display:block; padding:58px 0 24px; background:radial-gradient(ellipse at 0% 100%,#edf3ff,transparent 55%),#fbfcfe; color:#66768c; border-top:1px solid #dce4ef; font-size:13px; }
body footer.site-footer.public-shell > .container { display:block; width:calc(100% - 80px); max-width:1480px; margin:0 auto; padding:0; }
.public-shell.site-footer .home-footer-grid { display:grid; grid-template-columns:1.2fr .7fr .7fr 1.1fr; gap:56px; padding-bottom:44px; }
.public-shell.site-footer .footer-wordmark { display:flex; align-items:center; gap:12px; text-decoration:none; color:#1d2129; }
.public-shell.site-footer .footer-wordmark img { display:block; width:38px; height:38px; }
.public-shell.site-footer .footer-wordmark strong { font-size:25px; font-weight:600; }
.public-shell.site-footer .footer-identity p { max-width:310px; margin:14px 0 26px; color:inherit; font-size:13px; font-weight:400; line-height:1.9; }
.public-shell.site-footer .footer-contact { color:#165dff; font-size:14px; text-decoration:none; }
.public-shell.site-footer h3 { font-size:14px; line-height:1.5; color:#1d2129; font-weight:550; margin:0 0 22px; padding:0; border:0; }
.public-shell.site-footer nav a { display:block; color:#66768c; font-size:13px; text-decoration:none; margin:14px 0; line-height:1.5; }
.public-shell.site-footer a:hover { color:#165dff; }
.public-shell.site-footer .follow-slots { display:flex; gap:20px; }
.public-shell.site-footer .qr-pending { width:112px; height:112px; display:flex; flex-direction:column; align-items:center; justify-content:center; background:#f1f5fb; border:1px solid #dce4ef; font-size:11px; line-height:1.8; }
.public-shell.site-footer .qr-pending small { font-size:10px; }
.public-shell.site-footer .follow-slots > div > span { display:block; font-size:11px; margin-top:12px; text-align:center; }
.public-shell.site-footer .footer-legal { display:grid; grid-template-columns:1fr 1fr 1fr; align-items:center; gap:20px; padding-top:22px; border-top:1px solid #dce4ef; font-size:11px; }
.public-shell.site-footer .footer-icp { text-align:center; }
.public-shell.site-footer .footer-legal div { display:flex; justify-content:flex-end; gap:24px; }
.public-shell.site-footer .footer-legal a { color:inherit; text-decoration:none; }
.public-shell a:focus-visible,.public-shell button:focus-visible { outline:3px solid #165dff; outline-offset:4px; }
body.public-error-page { display:block; padding:0; }
.public-error-page .error-content { display:flex; min-height:55vh; padding:64px 24px; flex-direction:column; align-items:center; justify-content:center; }
.public-error-page .action-links { flex-wrap:wrap; justify-content:center; }
@media(max-width:1100px) {
  body header.site-header.public-shell { flex-wrap:wrap; height:auto; min-height:76px; padding:12px 16px!important; gap:8px; }
  .public-shell.site-header .site-menu-toggle { display:block; margin-left:auto; min-height:44px; padding:8px 14px; border:1px solid #cbd5e1; border-radius:8px; background:#fff; color:#0f172a; font:inherit; cursor:pointer; }
  .public-shell.site-header .nav-links { display:none!important; }
  .public-shell.site-header .nav-links.is-open { display:flex!important; flex-direction:column; flex-basis:100%; order:5; align-items:stretch; gap:0; width:100%; }
  .public-shell.site-header .nav-links a { padding:12px; min-height:44px; }
  .public-shell.site-header .nav-links a.active::after { bottom:4px; left:12px; width:30px; }
  .public-shell.site-header .brand-tagline { display:none; }
  .public-shell.site-footer .home-footer-grid { gap:28px; grid-template-columns:1fr 1fr; }
}
@media(max-width:900px) {
  .public-shell.site-footer .footer-legal { grid-template-columns:1fr; text-align:center; }
  .public-shell.site-footer .footer-legal div { justify-content:center; }
}
@media(max-width:767px) {
  .public-shell.site-header .brand-logo-wrap { gap:8px; }
  .public-shell.site-header .btn-nav-cta { font-size:12px; padding:10px; min-height:44px; }
  body footer.site-footer.public-shell { padding:24px 16px!important; }
  body footer.site-footer.public-shell > .container { width:100%; }
}
@media(max-width:600px) {
  body header.site-header.public-shell { min-height:64px; }
  .public-shell.site-header .brand-logo-img { width:32px; height:32px; }
  .public-shell.site-footer .home-footer-grid { gap:32px 20px; }
  .public-shell.site-footer .footer-identity,.public-shell.site-footer .footer-follow { grid-column:1/-1; }
  .public-shell.site-footer .qr-pending { width:auto; height:auto; min-height:0; padding:10px 12px; align-items:flex-start; text-align:left; }
  .public-shell.site-footer .follow-slots { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
}
