/* Shared Treasure Box brand mark across every main-site header and footer. */
.honglou-brand{display:inline-flex;align-items:center;flex:0 0 auto;gap:9px;direction:ltr;unicode-bidi:isolate;color:#e0c28a;text-decoration:none}
.honglou-brand .brand-emblem{display:block;flex-shrink:0;width:48px;height:44px;object-fit:contain;filter:none}
.honglou-brand .brand-cn{display:flex;flex-direction:column;align-items:center;font-family:var(--serif,"Noto Serif SC","Noto Serif TC",Georgia,"Times New Roman",serif);font-size:22px;font-weight:500;line-height:1.05;letter-spacing:2px;white-space:nowrap}
.honglou-brand .brand-cn .brand-title{display:block;line-height:1.05}
.honglou-brand .brand-cn small{display:block;margin:4px 0 0;font-family:var(--sans,system-ui,-apple-system,sans-serif);font-size:6px;font-weight:600;line-height:1;letter-spacing:2.2px;text-align:center;opacity:.9}
/* Script-specific sizing so all 8 languages stay balanced and never break ligatures */
.honglou-brand .brand-cn[data-brand-script="latin"]{font-size:18px;font-weight:600;letter-spacing:.4px}
.honglou-brand .brand-cn[data-brand-script="latin"] small{letter-spacing:2px}
.honglou-brand .brand-cn[data-brand-script="ar"],
.honglou-brand .brand-cn[data-brand-script="hi"]{font-family:var(--sans,system-ui,-apple-system,sans-serif);font-size:17px;font-weight:600;letter-spacing:0;line-height:1.15}
.honglou-brand .brand-cn[data-brand-script="ar"] small,
.honglou-brand .brand-cn[data-brand-script="hi"] small{margin-top:3px;letter-spacing:1.8px}

.footer-brand.honglou-brand{gap:7px}
.footer-brand.honglou-brand .brand-emblem{width:30px;height:28px;object-fit:contain}
.footer-brand.honglou-brand .brand-cn{font-size:15px;letter-spacing:1.5px}
.footer-brand.honglou-brand .brand-cn small{margin:3px 0 0;font-size:4.5px;letter-spacing:1.5px}
.footer-brand.honglou-brand .brand-cn[data-brand-script="latin"]{font-size:13px;letter-spacing:.3px}
.footer-brand.honglou-brand .brand-cn[data-brand-script="ar"],
.footer-brand.honglou-brand .brand-cn[data-brand-script="hi"]{font-size:13px;letter-spacing:0}

.browse-footer,.account-footer,.series-footer,.legal-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 12px}
.browse-footer .footer-legal,.account-footer nav,.series-footer .footer-links,.legal-footer nav{display:flex;flex:1 1 150px;min-width:0;flex-wrap:wrap;justify-content:center;gap:4px 6px;line-height:1.6}
.browse-footer .footer-age,.account-footer .footer-age,.series-footer .footer-age,.legal-footer .footer-age{flex:0 0 auto}

@media(max-width:420px){
  .honglou-brand{gap:7px}
  .honglou-brand .brand-emblem{width:40px;height:37px}
  .honglou-brand .brand-cn{font-size:19px;letter-spacing:1.5px}
  .honglou-brand .brand-cn[data-brand-script="latin"]{font-size:15px;letter-spacing:.2px}
  .honglou-brand .brand-cn[data-brand-script="ar"],
  .honglou-brand .brand-cn[data-brand-script="hi"]{font-size:15px;letter-spacing:0}
  .honglou-brand .brand-cn small{font-size:5px;letter-spacing:1.4px}
}
