/* Shared homepage header and footer */
header.top{
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  gap:12px;padding:2px max(16px,calc((100% - 1220px)/2))!important;min-height:0!important;
  background:var(--pc-tint,#FFE6E3);border-bottom:1px solid var(--pc-border,#F0C8C4);
  position:sticky!important;top:0!important;z-index:600!important;box-sizing:border-box!important;
}
@media(min-width:1400px){
  header.top,footer#siteFooter .footer-red-band{
    padding-left:max(24px,calc((100% - 1680px)/2))!important;
    padding-right:max(24px,calc((100% - 1680px)/2))!important;
  }
}
.top-brand{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:0!important;min-width:0!important;flex:0 1 auto!important}
header.top .brand-logo,.top .brand-logo{height:72px!important;max-height:72px!important;width:auto!important;max-width:min(340px,66vw)!important;display:block}
#homeActivity.home-activity--under-logo{
  display:flex;width:max-content!important;max-width:100%!important;box-sizing:border-box!important;
  margin:0!important;border:0!important;background:transparent!important;padding:0 0 2px!important;
  gap:2px 14px!important;justify-content:flex-start!important;flex-wrap:nowrap!important;
  font-size:12px!important;line-height:1.15!important;font-weight:650;color:var(--pc-text,#2A1212);
}
#homeActivity.home-activity--under-logo strong{font-size:13px!important;color:var(--pc-accent,#D02121);font-weight:800}
#homeActivity .ha-item{display:inline-flex;align-items:baseline;gap:6px}
#homeActivity .ha-label{opacity:.75;font-weight:600}
.top-head-main{
  display:flex!important;align-items:center!important;align-self:center!important;justify-content:flex-end!important;
  gap:10px!important;margin-left:auto!important;margin-bottom:0!important;min-width:0!important;
}
.top-nav-cats{
  display:flex!important;flex-wrap:wrap;align-items:center;gap:4px 2px;
  font-size:13px!important;font-weight:600;line-height:1.15!important;margin:0!important;
  justify-content:flex-end!important;background:transparent!important;
}
.top-nav-cats a{color:var(--pc-text,#2A1212)!important;text-decoration:none;padding:2px 6px!important;border-radius:999px;white-space:nowrap}
.top-nav-cats a:hover,.top-nav-cats a[aria-current="page"]{background:var(--pc-tint,#FFE6E3);color:var(--pc-accent,#D02121)!important}
.top-nav-cats .nav-sep{opacity:.45;margin:0 1px;color:#888;text-decoration:none}
header.top #openSaved,header.top .quiet{
  flex-shrink:0;min-height:28px!important;padding:2px 12px!important;border-radius:999px!important;
  border:1px solid var(--pc-border,#F0C8C4);background:#fff;font-weight:700;font-size:13px;cursor:pointer;text-decoration:none;
}
header.top a.hub.hub-icon{
  display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;
  min-width:36px!important;min-height:36px!important;width:36px!important;height:36px!important;
  padding:0!important;box-sizing:border-box!important;border-radius:999px!important;border:0;
  background:var(--pc-accent,#D02121);color:#fff;text-decoration:none;
}
header.top a.hub.hub-icon .hub-ico{width:18px!important;height:18px!important;flex:none!important}
.pc-lang{position:relative;flex:0 0 auto}
#pcLangInNav{display:none!important}
.pc-lang-btn{
  display:inline-flex!important;align-items:center;gap:8px;min-height:32px!important;padding:2px 8px!important;
  border:0!important;background:transparent!important;border-radius:8px!important;
  font-size:13px!important;font-weight:700!important;color:#1c2430!important;cursor:pointer;
}
.pc-lang-menu{
  position:absolute;right:0;top:calc(100% + 8px);z-index:80;margin:0;padding:8px;list-style:none;
  min-width:220px;background:#1b2740;border-radius:14px;box-shadow:0 16px 40px rgba(8,16,32,.35);
}
.pc-lang-menu[hidden]{display:none!important}
.pc-lang-menu button{
  display:flex!important;align-items:center;gap:12px;width:100%;min-height:42px!important;padding:6px 10px!important;
  border:0!important;border-radius:10px!important;background:transparent!important;color:#fff!important;
  font-size:15px!important;font-weight:650!important;text-align:left;cursor:pointer;
}
.pc-lang-menu button:hover,.pc-lang-menu button[aria-selected="true"]{background:rgba(255,255,255,.1)!important}
.pc-flag{
  width:28px;height:20px;border-radius:3px;flex:0 0 auto;display:inline-block;overflow:hidden;
  box-shadow:0 0 0 1px rgba(255,255,255,.18);background-size:cover;background-position:center;
}
.pc-flag[data-flag="gb"]{background-image:url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 40'%3E%3Cpath fill='%23012169' d='M0 0h60v40H0z'/%3E%3Cpath stroke='%23fff' stroke-width='8' d='M0 0l60 40M60 0L0 40'/%3E%3Cpath stroke='%23C8102E' stroke-width='5' d='M0 0l60 40M60 0L0 40'/%3E%3Cpath stroke='%23fff' stroke-width='14' d='M30 0v40M0 20h60'/%3E%3Cpath stroke='%23C8102E' stroke-width='8' d='M30 0v40M0 20h60'/%3E%3C/svg%3E")}
.pc-flag[data-flag="tw"]{background-image:url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 40'%3E%3Cpath fill='%23FE0000' d='M0 0h60v40H0z'/%3E%3Cpath fill='%23000095' d='M0 0h30v20H0z'/%3E%3Ccircle cx='15' cy='10' r='6' fill='%23fff'/%3E%3C/svg%3E")}
.pc-flag[data-flag="cn"]{background-image:url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 40'%3E%3Cpath fill='%23DE2910' d='M0 0h60v40H0z'/%3E%3Cpath fill='%23FFDE00' d='M12 6l1.2 3.6H17l-3 2.2 1.1 3.6L12 13.2 8.9 15.4 10 11.8 7 9.6h3.8z'/%3E%3C/svg%3E")}
.pc-flag[data-flag="my"]{background-image:url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 40'%3E%3Cpath fill='%23CC0001' d='M0 0h60v40H0z'/%3E%3Cpath stroke='%23fff' stroke-width='2.8' d='M0 3.2h60M0 8.8h60M0 14.4h60M0 20h60M0 25.6h60M0 31.2h60M0 36.8h60'/%3E%3Cpath fill='%23010066' d='M0 0h32v22H0z'/%3E%3Ccircle cx='13' cy='11' r='6' fill='%23FFCC00'/%3E%3C/svg%3E")}
.pc-flag[data-flag="in"]{background-image:url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 40'%3E%3Cpath fill='%23FF9933' d='M0 0h60v13.4H0z'/%3E%3Cpath fill='%23fff' d='M0 13.4h60v13.2H0z'/%3E%3Cpath fill='%23138808' d='M0 26.6h60V40H0z'/%3E%3Ccircle cx='30' cy='20' r='5' fill='none' stroke='%23000080' stroke-width='1.4'/%3E%3C/svg%3E")}
.pc-flag[data-flag="jp"]{background-image:url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 40'%3E%3Cpath fill='%23fff' d='M0 0h60v40H0z'/%3E%3Ccircle cx='30' cy='20' r='12' fill='%23BC002D'/%3E%3C/svg%3E")}
.pc-flag[data-flag="kr"]{background-image:url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 40'%3E%3Cpath fill='%23fff' d='M0 0h60v40H0z'/%3E%3Cpath fill='%23CD2E3A' d='M20 20a10 10 0 0 1 20 0z'/%3E%3Cpath fill='%230047A0' d='M20 20a10 10 0 0 0 20 0z'/%3E%3Cpath stroke='%23000' stroke-width='2' d='M6 9l7-5M8 12l7-5M45 4l7 5M43 7l7 5M6 31l7 5M8 28l7 5M45 36l7-5M43 33l7-5'/%3E%3C/svg%3E")}
@media(max-width:900px){
  header.top{flex-wrap:nowrap!important;justify-content:space-between!important;align-items:center!important}
  .top-head-main{width:auto!important;flex-wrap:nowrap!important;justify-content:flex-end!important;margin-left:auto!important}
  #homeActivity.home-activity--under-logo{flex-wrap:wrap!important;width:auto!important}
}
footer#siteFooter{padding:0!important;margin-top:16px!important}
footer#siteFooter .footer-logo-band{display:none!important}
footer#siteFooter .footer-red-band{position:relative!important;display:flex!important;align-items:flex-end!important;justify-content:flex-start!important;gap:28px!important;padding:18px max(16px,calc((100% - 1220px)/2)) 16px!important;box-sizing:border-box!important}
footer#siteFooter .footer-red-band .footer-brand{display:flex!important;flex-direction:column!important;align-items:center!important;align-self:flex-start!important;flex:0 0 auto;gap:0;width:220px!important;max-width:36vw!important}
footer#siteFooter .footer-red-band .footer-brand .footer-logo-link{margin:0!important;flex:0 0 auto;align-self:center!important;transform:none!important}
footer#siteFooter .footer-slogan{margin:-14px 0 0!important;width:100%!important;max-width:220px!important;text-align:center!important;color:#fff!important;font-size:11px!important;line-height:1.3!important;font-weight:400!important}
footer#siteFooter .footer-logo{filter:brightness(0) invert(1)!important;height:72px!important;max-height:72px!important;width:auto!important;max-width:min(340px,66vw)!important;margin:0!important;display:block;object-fit:contain}
footer#siteFooter .footer-center{position:absolute!important;left:0!important;right:0!important;top:50%!important;transform:translateY(-50%)!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;text-align:center!important;gap:8px!important;width:100%!important;max-width:none!important;margin:0!important;padding:0 240px!important;box-sizing:border-box!important}
footer#siteFooter .footer-cats,footer#siteFooter .footer-stats,footer#siteFooter .footer-copy{width:100%!important;text-align:center!important}
footer#siteFooter .footer-cats{display:flex!important;justify-content:center!important;flex-wrap:wrap!important}
@media (max-width:720px){
  footer#siteFooter .footer-red-band{flex-direction:column!important;align-items:center!important;justify-content:center!important}
  footer#siteFooter .footer-red-band .footer-brand{width:100%!important;max-width:none!important;align-items:center!important}
  footer#siteFooter .footer-center{position:static!important;transform:none!important;padding:8px 12px 0!important}
}
footer#siteFooter .footer-red-band{background:var(--pc-sidebar,#8F1515)!important;color:#fff!important;text-align:center!important}
footer#siteFooter .footer-red-band a,footer#siteFooter .footer-red-band p,footer#siteFooter .footer-stats,footer#siteFooter .footer-copy{color:#fff!important}
footer#siteFooter .footer-cats{margin:0;line-height:1.55}
footer#siteFooter .footer-cats a{text-decoration:none}
footer#siteFooter .footer-cats a[aria-current="page"]{font-weight:800;text-decoration:underline}
footer#siteFooter .footer-copy,footer#siteFooter .footer-stats{margin:0;font-size:12px}
footer#siteFooter .footer-stats strong{font-size:12px!important;font-weight:400}

header.top{align-items:center!important;background:var(--pc-tint,#FFE6E3)!important;margin-bottom:0!important}
@media(min-width:981px){
  header.top{flex-wrap:nowrap!important}
}
.pc-nav-toggle{display:none}
.pc-all-props{position:relative;display:inline-flex;align-items:center}
.pc-all-props-btn{border:0;background:transparent;min-height:0;padding:4px 6px;border-radius:999px;font-weight:700;color:inherit}
.pc-all-props-btn[aria-expanded="true"],.pc-all-props-btn:hover{background:var(--pc-tint,#FFE6E3);color:var(--pc-accent,#D02121)}
.pc-all-props-menu{position:absolute;z-index:40;top:calc(100% + 6px);left:0;width:max-content;max-width:min(280px,78vw);max-height:70vh;overflow:auto;background:#fff;color:#2A1212;border:1px solid #eadfd8;border-radius:16px;padding:6px;box-shadow:0 12px 28px rgba(23,32,45,.16)}
.pc-all-props-menu a{display:block;padding:8px 14px;border-radius:10px;text-decoration:none;white-space:nowrap;color:#2A1212!important}
.pc-all-props-menu a:hover{background:#fff1f0;color:var(--pc-accent,#D02121)!important}
footer .pc-all-props-menu{top:auto;bottom:calc(100% + 6px)}
footer#siteFooter .footer-red-band .pc-all-props-btn{color:#fff!important;background:transparent}
footer#siteFooter .footer-red-band .footer-cats{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:4px 2px}
.pc-updates{position:relative;flex:0 0 auto}
#pcUpdatesBtn{display:inline-flex!important;align-items:center;justify-content:center;gap:6px;min-height:28px!important;height:28px!important;padding:2px 12px!important;border:1px solid var(--pc-border,#F0C8C4)!important;border-radius:999px!important;background:#fff!important;color:var(--pc-text,#2A1212)!important}
#pcUpdates #homeActivity.home-activity--menu{position:absolute!important;right:0;top:calc(100% + 8px);z-index:90;width:248px!important;display:flex!important;flex-direction:column!important;gap:2px;padding:8px!important;border:1px solid var(--pc-border,#F0C8C4)!important;border-radius:16px!important;background:#fff!important;box-shadow:0 12px 32px rgba(42,18,18,.12);color:#2A1212}
#pcUpdates #homeActivity.home-activity--menu[hidden]{display:none!important}
#pcUpdates #homeActivity .ha-item{display:flex!important;justify-content:space-between;gap:12px;min-height:36px;padding:4px 10px}
.pc-account{position:relative;flex:0 0 auto}
#pcAccountBtn.hub-icon{width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;padding:0!important;border:0!important;border-radius:999px!important;background:var(--pc-accent,#D02121)!important;color:#fff!important;display:inline-flex;align-items:center;justify-content:center}
.pc-account-menu{position:absolute;right:0;top:calc(100% + 8px);z-index:90;width:max-content;max-width:210px;margin:0;padding:6px;display:flex;flex-direction:column;gap:2px;border:1px solid var(--pc-border,#F0C8C4);border-radius:14px;background:#fff;box-shadow:0 12px 28px rgba(42,18,18,.12)}
.pc-account-menu[hidden]{display:none!important}
.pc-account-menu button,.pc-account-menu a{display:flex!important;align-items:center;gap:8px;min-height:34px;padding:5px 8px;border:0;border-radius:10px;background:transparent;color:#2A1212!important;font-size:13px;font-weight:700;text-decoration:none;white-space:nowrap}
.pc-account-menu svg{width:16px;height:16px;stroke:currentColor;stroke-width:1.9;fill:none;stroke-linecap:round;stroke-linejoin:round}
.pc-account-line{height:1px;background:#f5edec;margin:2px 8px}
.pc-account-menu button:hover,.pc-account-menu a:hover{background:var(--pc-tint,#FFE6E3);color:var(--pc-accent,#D02121)!important}
header.top #pcCatNav,header.top #pcCatNav a{display:inline-flex!important;align-items:center!important;line-height:1!important}
header.top #openSaved,header.top #pcLangBtn,header.top #pcUpdatesBtn,header.top #pcAccountBtn{display:inline-flex!important;align-items:center!important;justify-content:center!important;height:36px!important;min-height:36px!important;max-height:36px!important;box-sizing:border-box!important;line-height:1!important}
header.top #pcUpdatesBtn,header.top #pcAccountBtn{width:36px!important;min-width:36px!important;padding:0!important}
@media(max-width:980px){
  /* pc-chrome-mobile-header-v876 — logo left, hamburger right; sticky while scrolling */
  header.top{
    position:sticky!important;top:0!important;z-index:620!important;
    flex-wrap:nowrap!important;align-items:center!important;justify-content:space-between!important;
    gap:10px!important;row-gap:0!important;padding:10px 16px!important;overflow:visible!important;
    min-height:56px!important;background:var(--pc-tint,#FFE6E3)!important;
  }
  .top-brand{
    flex:0 1 auto!important;width:auto!important;max-width:none!important;min-width:0!important;
    align-items:flex-start!important;justify-content:flex-start!important;
  }
  .top-brand a{display:flex!important;justify-content:flex-start!important;align-items:center!important;width:auto!important}
  header.top .brand-logo,.top .brand-logo{
    max-width:min(168px,46vw)!important;height:44px!important;max-height:44px!important;
    margin:0!important;display:block!important;object-fit:contain!important;object-position:left center!important;
  }
  .top-head-main{
    flex:0 0 auto!important;width:auto!important;max-width:none!important;min-width:0!important;
    margin-left:auto!important;align-self:center!important;
    flex-wrap:nowrap!important;justify-content:flex-end!important;align-items:center!important;
    gap:6px!important;overflow:visible!important;
  }
  .pc-nav-toggle{
    display:inline-flex!important;align-items:center;justify-content:center;
    width:40px;height:40px;min-width:40px!important;min-height:40px!important;padding:0!important;border-radius:12px!important;
    order:20!important;margin-left:2px!important;
    border:1px solid var(--pc-border,#F0C8C4)!important;background:#fff!important;
    color:var(--pc-text,#2A1212)!important;flex:0 0 auto!important;box-shadow:none!important;
  }
  .pc-nav-toggle svg{width:20px;height:20px;stroke:currentColor;stroke-width:2;fill:none;stroke-linecap:round}
  /* Beat header.top #pcCatNav { display:inline-flex } so the hamburger menu can hide. */
  header.top #pcCatNav.top-nav-cats,
  header.top #pcCatNav.top-nav-cats--below-activity,
  .top-nav-cats.top-nav-cats--below-activity{display:none!important}
  header.top #pcCatNav.top-nav-cats.is-open,
  header.top #pcCatNav.top-nav-cats--below-activity.is-open,
  .top-nav-cats.top-nav-cats--below-activity.is-open,
  html body header.top #pcCatNav.is-open{
    display:flex!important;
    position:fixed!important;
    left:12px!important;right:12px!important;top:64px!important;
    flex-direction:column!important;align-items:stretch!important;
    max-height:calc(100vh - 88px)!important;overflow:auto!important;
    width:auto!important;height:auto!important;max-width:none!important;
    margin:0!important;padding:10px!important;
    background:#fff!important;opacity:1!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;
    border:1px solid #eadfde!important;border-radius:16px!important;
    box-shadow:0 16px 40px rgba(16,24,40,.22)!important;
    z-index:1200!important;isolation:isolate!important;
    color:#2A1212!important;
  }
  header.top #pcCatNav.is-open a,
  header.top #pcCatNav.is-open .pc-dev-link,
  header.top #pcCatNav.is-open .pc-all-props-btn{
    display:flex!important;width:100%!important;justify-content:flex-start!important;
    padding:12px 14px!important;border-radius:10px!important;
    color:#2A1212!important;background:transparent!important;font-weight:700!important;
    opacity:1!important;text-shadow:none!important;
  }
  header.top #pcCatNav.is-open a[aria-current="page"],
  header.top #pcCatNav.is-open a:hover{
    background:var(--pc-tint,#FFE6E3)!important;color:var(--pc-accent,#D02121)!important;
  }
  .top-nav-cats .nav-sep{display:none!important}
  /* Language lives inside the hamburger on phone */
  header.top #pcLang,
  header.top .pc-lang{display:none!important}
  header.top:has(#pcCatNav.is-open) .pc-account-menu,
  header.top:has(#pcCatNav.is-open) #homeActivity.home-activity--menu{
    display:none!important;visibility:hidden!important;
  }
  header.top #openSaved{padding:2px 10px!important;font-size:12px!important}
  #pcLangInNav.pc-lang-in-nav{
    display:block!important;width:100%!important;margin-top:8px!important;padding-top:10px!important;
    border-top:1px solid #f0e4e1!important;box-sizing:border-box!important;
  }
  #pcLangInNav .pc-lang-in-nav-label{
    margin:0 0 6px!important;padding:0 14px!important;font-size:11px!important;font-weight:800!important;
    letter-spacing:.06em!important;text-transform:uppercase!important;color:#8a5a4a!important;
  }
  #pcLangInNav .pc-lang-in-nav-list{display:flex!important;flex-direction:column!important;gap:2px!important;margin:0!important;padding:0!important;list-style:none!important}
  #pcLangInNav .pc-lang-in-nav-list button{
    display:flex!important;align-items:center!important;gap:12px!important;width:100%!important;
    min-height:44px!important;padding:8px 14px!important;border:0!important;border-radius:10px!important;
    background:transparent!important;color:#2A1212!important;font-size:15px!important;font-weight:700!important;
    text-align:left!important;cursor:pointer!important;
  }
  #pcLangInNav .pc-lang-in-nav-list button:hover,
  #pcLangInNav .pc-lang-in-nav-list button[aria-selected="true"]{
    background:var(--pc-tint,#FFE6E3)!important;color:var(--pc-accent,#D02121)!important;
  }
  #pcCatNav .pc-all-props{display:block!important;position:static!important;width:100%!important}
  #pcCatNav .pc-all-props-menu{position:static!important;width:100%!important;box-shadow:none!important;border:0!important;background:transparent!important}
  #pcCatNav .pc-all-props-menu a{text-align:left;white-space:normal!important;color:#2A1212!important}
  #pcCatNav .pc-dev-nav,
  header.top #pcCatNav.is-open .pc-dev-nav{
    display:flex!important;flex-wrap:wrap!important;align-items:center!important;width:100%!important;
  }
  header.top #pcCatNav.is-open .pc-dev-nav > .pc-dev-link{
    width:auto!important;flex:1 1 auto!important;max-width:calc(100% - 44px)!important;
  }
  header.top #pcCatNav.is-open .pc-dev-caret{
    margin-left:auto!important;flex:0 0 auto!important;padding:8px 12px!important;
  }
  header.top #pcCatNav.is-open .pc-dev-menu{flex:1 0 100%!important;width:100%!important}
}
@media(max-width:560px){
  header.top{padding:8px 14px!important;gap:8px!important;min-height:52px!important}
  header.top .brand-logo,.top .brand-logo{max-width:min(148px,42vw)!important;height:40px!important;max-height:40px!important}
  .top-head-main{gap:4px!important}
  header.top #openSaved{max-width:78px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:2px 8px!important;font-size:11px!important}
  .pc-nav-toggle{width:38px;height:38px;min-width:38px!important;min-height:38px!important;border-radius:10px!important}
}
@media(max-width:420px){
  header.top{padding-left:12px!important;padding-right:12px!important}
  header.top .brand-logo,.top .brand-logo{max-width:min(132px,38vw)!important;height:36px!important;max-height:36px!important}
  .top-head-main{gap:3px!important}
  header.top #openSaved{display:none!important}
}
@media(min-width:1400px){
  header.top,footer#siteFooter .footer-red-band{
    padding-left:max(24px,calc((100% - 1680px)/2))!important;
    padding-right:max(24px,calc((100% - 1680px)/2))!important;
  }
}

