/* Shared main-site footer: refined spacing, no underlines, balanced typography. */
/* Local note: React renders <footer> inside #root, so the origin's direct-child selector `html body > footer` is relaxed to a descendant selector. */
html body footer[class]:is(.browse-footer,.account-footer,.series-footer,.legal-footer){
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:14px;
  width:100%;
  max-width:none;
  min-height:54px;
  padding:10px clamp(16px,3vw,32px);
  box-sizing:border-box;
  border-top:1px solid #222a27;
  background:#101415;
  color:#9da8a3;
  font:450 12px/1.4 var(--sans,system-ui,-apple-system,sans-serif);
  letter-spacing:.02em;
  white-space:nowrap;
}
html body footer[class]:is(.browse-footer,.account-footer,.series-footer,.legal-footer) > .footer-brand{
  grid-column:1;
  grid-row:1;
  display:inline-flex;
  align-items:center;
  gap:6px;
  min-height:36px;
  margin:0;
  text-decoration:none;
}
html body footer[class]:is(.browse-footer,.account-footer,.series-footer,.legal-footer) .brand-emblem{width:30px;height:28px;object-fit:contain}
html body footer[class]:is(.browse-footer,.account-footer,.series-footer,.legal-footer) .brand-cn{font-size:15px;letter-spacing:1.4px}
html body footer[class]:is(.browse-footer,.account-footer,.series-footer,.legal-footer) .brand-cn[data-brand-script="latin"]{font-size:13px;letter-spacing:.3px}
html body footer[class]:is(.browse-footer,.account-footer,.series-footer,.legal-footer) .brand-cn[data-brand-script="ar"],
html body footer[class]:is(.browse-footer,.account-footer,.series-footer,.legal-footer) .brand-cn[data-brand-script="hi"]{font-size:13px;letter-spacing:0}
html body footer[class]:is(.browse-footer,.account-footer,.series-footer,.legal-footer) .brand-cn small{display:block;margin:3px 0 0;font-size:4.5px;letter-spacing:1.4px}
html body footer[class]:is(.browse-footer,.account-footer,.series-footer,.legal-footer) > nav{
  grid-column:2;
  grid-row:1;
  display:flex;
  flex-wrap:nowrap;
  align-items:center;
  justify-content:safe center;
  justify-self:stretch;
  width:auto;
  min-width:0;
  max-width:100%;
  gap:16px;
  margin:0;
  padding:0 6px;
  overflow-x:auto;
  overscroll-behavior-x:contain;
  scrollbar-width:none;
  font:inherit;
  line-height:1.4;
}
html body footer[class]:is(.browse-footer,.account-footer,.series-footer,.legal-footer) > nav::-webkit-scrollbar{display:none}
html body footer[class]:is(.browse-footer,.account-footer,.series-footer,.legal-footer) > nav a{
  display:inline-flex;
  flex:0 0 auto;
  align-items:center;
  min-width:24px;
  min-height:36px;
  padding:0 4px;
  color:inherit;
  font:inherit;
  text-decoration:none;
  white-space:nowrap;
  transition:color .16s ease;
}
html body footer[class]:is(.browse-footer,.account-footer,.series-footer,.legal-footer) > nav i{display:none}
html body footer[class]:is(.browse-footer,.account-footer,.series-footer,.legal-footer) > nav a:hover,
html body footer[class]:is(.browse-footer,.account-footer,.series-footer,.legal-footer) > nav a[aria-current="page"]{
  color:#35dda5;
  text-decoration:none;
}
html body footer[class]:is(.browse-footer,.account-footer,.series-footer,.legal-footer) a:focus-visible{outline:2px solid #35dda5;outline-offset:2px;border-radius:4px}
html body footer[class]:is(.browse-footer,.account-footer,.series-footer,.legal-footer) > .footer-age{
  grid-column:3;
  grid-row:1;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  justify-self:end;
  min-width:34px;
  height:24px;
  padding:0 8px;
  margin:0;
  border:1px solid #303b36;
  border-radius:999px;
  color:#9da8a3;
  font-size:11px;
  font-weight:600;
  line-height:1;
  letter-spacing:.02em;
}
@media(min-width:760px){
  html body footer[class]:is(.browse-footer,.account-footer,.series-footer,.legal-footer){gap:24px;font-size:13px}
  html body footer[class]:is(.browse-footer,.account-footer,.series-footer,.legal-footer) > nav{gap:28px}
}