/* Shared header and footer layout; page content stays in front.css. */
.header{position:sticky;top:0;z-index:10}
.header .top{display:flex;margin:0 auto}
.header .brand{display:flex;align-items:center;line-height:1.1;white-space:nowrap}
.header .brand-wordmark{display:block;object-fit:contain}
.header .top nav{display:flex}
.header .top nav a{white-space:nowrap}
.header .menu,.header .mobile-nav{display:none}
.header .mobile-nav{padding:10px 20px;border-top:1px solid}
.header .mobile-nav a{display:block;padding:8px 0}
.header .utility-inner{margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.header .utility-left,.header .topbar-account{display:flex;align-items:center;max-width:100%}
.header .utility-bar button{border:0;padding:0;background:transparent;color:inherit;font:inherit;white-space:nowrap}
.header .utility-bar a{color:inherit;white-space:nowrap}
.header .utility-auth{display:inline-flex;align-items:center;font-weight:700}
.header .utility-auth svg{flex:none}
.header .topbar-account{margin-left:auto}
.header .account-identity{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.header .account-avatar{width:22px;height:22px;flex:none;border-radius:50%}
.header .account-phone{font-variant-numeric:tabular-nums}
.header .member-menu{position:relative;display:inline-flex;align-items:center;gap:3px}
.header .member-menu summary{cursor:pointer;list-style:none;white-space:nowrap}
.header .member-menu summary::-webkit-details-marker{display:none}
.header .member-menu-toggle summary{font-size:10px;color:#0479ed}
.header #account>.member-menu>.member-center-link{color:#0479ed;text-decoration:underline}
.header #account>.topbar-logout{color:#c53434;text-decoration:underline}
.header .member-menu-list{position:absolute;right:0;top:100%;z-index:25;min-width:120px;padding:6px;background:#fff;border:1px solid #e6e4e2;border-radius:5px;box-shadow:0 6px 18px #0002}
.header .member-menu-list a,.header .member-menu-list button{display:block;width:100%;text-align:left;padding:7px 9px;border-radius:3px}
.header .member-menu-list a:hover,.header .member-menu-list button:hover{background:#faf3f1}
.header .global-search{display:flex;align-items:center;overflow:hidden}
.header .global-search input{width:100%;min-width:0;border:0;outline:0;background:transparent;font-family:inherit}
.header .global-search button{display:grid;place-items:center;flex:none;padding:0}
footer .footer-inner,footer .footer-site-info,footer .footer-copyright{max-width:1200px;margin:0 auto}
footer .footer-brand-icon{object-fit:contain}
footer .footer-links,footer .footer-records{display:flex;flex-wrap:wrap;align-items:center}
footer .footer-site-info:empty{display:none}
footer #footer-records .footer-records{margin-top:0}
footer .footer-copyright{text-align:center;overflow-wrap:anywhere}
@media(max-width:760px){.header .menu,.header .mobile-nav.open{display:block}}
@media(max-width:600px){.header .account-avatar{width:18px;height:18px}.header .account-identity{gap:4px}}

/* Shared red-and-gold header and footer for every public page. */
.header{background:rgba(255,253,250,.97);border-bottom:1px solid #efded5;box-shadow:0 5px 20px #75342106}
.header .utility-bar{background:linear-gradient(90deg,#f4e7df,#f8eee8 52%,#f3e4db);border:0;color:#603229;font-size:14px;line-height:1.4}
.header .utility-inner{min-height:32px;padding:6px 20px;max-width:1200px}
.header .utility-left,.header .topbar-account{gap:13px}
.header .utility-left button{font-weight:600;letter-spacing:.15px}
.header #formula-decrypt{display:inline-flex;align-items:center;gap:6px}
.header .utility-decrypt-icon{width:17px;height:17px;flex:none;color:#ad3627}
.header #bookmark-site::before{content:'☆';display:inline-block;margin-right:6px;font-size:18px;line-height:1;vertical-align:-1px}
.header .utility-bar .utility-auth{color:#5b251b;font-weight:600;gap:4px}
.header .utility-auth svg{width:14px;height:14px}
.header .utility-bar a:hover,.header .utility-bar button:hover{color:#b93222}
.header .utility-bar .utility-auth[href="/#/login"]{color:#0479ed}
.header .utility-bar .utility-auth[href="/#/login"]:hover{color:#0069cf}
.header .top{height:auto;min-height:76px;padding:9px 20px;gap:24px;align-items:center;max-width:1200px}
.header .brand{position:relative;flex:0 0 auto;align-self:center}
.header .brand-wordmark{width:218px;height:auto}
.header .top nav{flex:1 1 auto;min-width:0;align-self:stretch;align-items:center;align-content:center;justify-content:flex-start;flex-wrap:wrap;gap:3px 16px;overflow:visible}
.header .top nav .nav-categories{display:contents}
.header .top nav a{display:flex;align-items:center;justify-content:center;flex:none;min-height:34px;font-size:15px;line-height:1.4;font-weight:700;color:#371a15;transition:color .16s,box-shadow .16s,border-color .16s}
.header .top nav a:hover{color:#b33021}
.header .top nav a[aria-current="page"]{padding:5px 23px;border:1px solid #c24b3c;border-radius:999px;background:linear-gradient(180deg,#db6b59 0%,#c1422f 47%,#a92315 100%);color:#fff4df;box-shadow:inset 0 1px 0 #ffffff65,0 2px 4px #7b241613}
.header .top nav a[aria-current="page"]:hover{border-color:#c65c46;background:linear-gradient(180deg,#df7461 0%,#c44730 47%,#b52b19 100%);color:#fff9eb;box-shadow:inset 0 1px 0 #ffffff80,0 3px 8px #8c2c252d}
.header .top nav a:focus-visible{outline:3px solid #ca8648;outline-offset:3px}
@media(prefers-reduced-motion:reduce){.header .top nav a{transition:none}}
.header .global-search{height:39px;flex:0 1 280px;max-width:300px;min-width:130px;border:1px solid #e6c7b8;border-radius:999px;padding:3px;background:#fff;box-shadow:inset 0 1px 3px #91433106}
.header .global-search:focus-within{border-color:#cb7d61;outline:2px solid #f3dacd}
.header .global-search input{font-size:13px;padding-left:15px;color:#4b261e}
.header .global-search input::placeholder{color:#a9978b}
.header .global-search button{width:36px;height:31px;border:1px solid #d56c4c;border-radius:999px;background:linear-gradient(180deg,#db7056,#c43c24 55%,#a92a18);color:#fff4dc;box-shadow:inset 0 1px 0 #ffffff4f}
.header .global-search button:hover{background:linear-gradient(180deg,#d06449,#aa2918);color:#fff}
.header .global-search svg{width:19px;height:19px}
.header .mobile-nav{background:#fffaf5;border-top-color:#efded2}
.header .mobile-nav a{color:#54261f;border-radius:7px;padding-left:10px;font-size:14px}
.header .mobile-nav a[aria-current]{background:#bd3826;color:#fff6e3}
.header .menu{color:#78372b;border:1px solid #edd5c7;background:#fff8f1;border-radius:8px;padding:2px 7px;font-size:22px}

footer{position:relative;isolation:isolate;overflow:hidden;margin-top:28px;border-top:1px solid #77483a;background:linear-gradient(105deg,#321817 0%,#471e1b 52%,#2e1212 100%);color:#f1ddd0}
footer::before{content:'';position:absolute;inset:auto 0 0;height:180px;z-index:-1;pointer-events:none;background:url('/assets/home-redesign/footer-wave.png') center bottom/cover no-repeat;opacity:.24}
footer .footer-inner{display:grid;grid-template-columns:275px minmax(0,1fr);gap:28px;align-items:center;width:100%;padding:23px 20px 14px;font-size:13px;line-height:1.8}
footer .footer-inner>div:first-child{min-width:0}
footer .footer-inner>div+div{border-left:1px solid #caa08057;padding-left:30px;font-size:14px;line-height:1.8}
footer .footer-inner>div:last-child small{font-size:13px;line-height:1.8}
footer .footer-inner .footer-brand{display:grid;grid-template-columns:48px auto;grid-template-rows:28px 17px;align-items:center;justify-content:start;column-gap:11px;row-gap:0;font-size:24px;line-height:1.15;font-weight:700;letter-spacing:1px;color:#ffe6b3}
footer .footer-brand-icon{grid-column:1;grid-row:1/3;width:48px;height:48px;content:url('/assets/home-redesign/brand-star.png')}
footer .footer-inner .footer-brand::after{content:'zhibiaoxingqiu.com';grid-column:2;grid-row:2;font-size:12px;line-height:1.1;font-weight:400;letter-spacing:0}
footer .footer-inner p{margin:8px 0 0;font-size:12px;line-height:1.6;color:#e6c8b5}
footer .footer-site-info{width:100%;padding:0 20px;text-align:left;color:#eed5c5;font-size:12px}
footer .footer-links{justify-content:flex-start;gap:8px 16px;margin:0 0 9px;font-size:13px;line-height:1.7}
footer .footer-links a{text-decoration:none}
footer .footer-disclaimer{margin:0;padding:12px 0 11px;border-top:1px solid #b27b5f3d;font-size:12px;line-height:1.9}
footer .footer-site-info .footer-records{justify-content:center;gap:6px 18px;margin:0;font-size:11px;line-height:1.8}
footer .footer-copyright{width:100%;padding:4px 20px 16px;font-size:11px;line-height:1.8;color:#e4c8b7}
footer a:hover{text-decoration:underline}

@media(min-width:761px) and (max-width:1100px){
  .header .top{gap:16px;padding-left:18px;padding-right:18px}
  .header .brand-wordmark{width:185px}
  .header .top nav{column-gap:12px}
  .header .top nav a{font-size:14px}
  .header .top nav a[aria-current="page"]{padding-left:18px;padding-right:18px}
  .header .global-search{min-width:110px;flex-basis:200px}
}
@media(max-width:760px){
  .header .utility-inner{padding:7px 14px;font-size:14px}
  .header .utility-left,.header .topbar-account{gap:8px}
  .header .top{min-height:73px;gap:10px;padding:8px 14px}
  .header .top nav{display:none}
  .header .brand-wordmark{width:186px}
  .header .global-search{flex:1 1 140px;max-width:none;min-width:95px;margin-left:auto;height:35px}
  .header .global-search input{font-size:12px;padding-left:9px}
  .header .global-search button{height:27px;width:31px}
  .header .menu{flex:none;margin-left:0}
  footer .footer-inner{grid-template-columns:1fr;gap:18px;padding:24px 20px 16px}
  footer .footer-inner>div+div{border-left:0;border-top:1px solid #caa0803d;padding:14px 0 0;margin:0;font-size:13px}
  footer .footer-site-info{padding:0 20px}
  footer .footer-links{font-size:13px}
  footer .footer-disclaimer{font-size:12px;line-height:1.9}
  footer .footer-site-info .footer-records{justify-content:flex-start;gap:4px 12px;font-size:11px}
  footer .footer-copyright{text-align:left;padding:10px 20px 20px;font-size:10px}
}
@media(max-width:420px){
  .header .utility-inner{padding-left:10px;padding-right:10px;font-size:13px;gap:7px}
  .header .utility-left,.header .topbar-account{gap:6px}
  .header .top{padding-left:10px;padding-right:10px;gap:8px}
  .header .brand-wordmark{width:158px}
  .header .global-search{min-width:85px}
  .header .menu{padding-left:5px;padding-right:5px}
}

@media(max-width:360px){.header .top{gap:6px}.header .brand-wordmark{width:144px}.header .global-search{min-width:70px}.header .utility-inner{padding-left:8px;padding-right:8px}.header .utility-left,.header .topbar-account{gap:5px}.header .account-avatar{width:18px;height:18px}}
