html body > .footer-box {
  padding: 32px 0 28px;
  border-top: 1px solid #ffffff12;
  background: #161819;
}

html body .footer-outer.footer-outer--reference {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr) auto;
  width: var(--site-content) !important;
  max-width: none !important;
  zoom: 1;
  padding: 0;
  column-gap: 22px;
  row-gap: 22px;
}

html body .footer-outer--reference .footer-brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  grid-column: 1 / -1;
  gap: 14px 22px;
}

html body .footer-outer--reference .footer-brand .brand-logo { width: 150px; height: auto; }
html body .footer-outer--reference .footer-tagline { margin: 0; color: #a4a79f; font-size: 14px; line-height: 22px; }

html body .footer-outer--reference .footer-links {
  display: flex;
  grid-column: 1 / 3;
  grid-row: 2;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  min-width: 0;
  padding: 0 1px 1px;
  overflow-x: auto;
  color: #a4a7a1;
  font-size: 14px;
  line-height: 22px;
  scrollbar-width: thin;
}

html body .footer-outer--reference .footer-links > a {
  flex: none;
  padding: 0;
  border-right: 0;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
  text-decoration: none;
  white-space: nowrap;
}

html body .footer-outer--reference .footer-links > a + a { margin-left: 16px; padding-left: 16px; border-left: 1px solid #ffffff24; }
html body .footer-outer--reference .footer-links > a:is(:hover, :focus-visible) { background: transparent; color: var(--site-blue); }

html body .footer-outer--reference .footer-copy {
  grid-column: 1 / 3;
  grid-row: 3;
  margin: 0;
  color: #92978f;
  font-size: 12px;
  line-height: 24px;
}

html body .footer-outer--reference .footer-actions {
  grid-column: 3;
  grid-row: 2 / 4;
  align-self: center;
  padding-right: 58px;
}

html body .footer-outer--reference .footer-icons { display: flex; justify-content: flex-start; gap: 12px; }
html body .footer-outer--reference .footer-icon-link {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #ffffff09;
  color: #fff;
  transition: transform .2s, background .2s;
}

html body .footer-outer--reference .footer-icon-link :is(img, svg) { display: block; width: 19px; height: 19px; object-fit: contain; }
html body .footer-outer--reference .footer-icon-link:is(:hover, :focus-visible) {
  transform: translateY(-3px);
  background: #ffffff14;
  color: #fff;
  box-shadow: none;
}

html body .footer-outer--reference .footer-addresses { grid-column: 1 / -1; grid-row: 4; margin: 0; font-size: 12px; }
html body .footer-outer--reference .footer-addresses a:is(:hover, :focus-visible) { background: transparent; color: var(--site-blue); }
html body .footer-friends-inner {
  width: var(--site-content);
  max-width: none;
  padding-inline: 0;
  column-gap: 20px;
  zoom: 1;
}
html body .footer-friends-inner .friend-section { background: #202122; }
html body .footer-friends-inner .friend-section h3 { font-size: 15px; }
html body .friend-heading-icon {
  display: grid;
  place-items: center;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #1d9bf01a;
  color: var(--site-blue-text);
}
.friend-heading-icon svg { width: 18px; height: 18px; }
html body .friend-section--drama .friend-icon { width: min(64px, 100%); border-radius: 10px; }
html body .friend-list a:focus-visible { outline-color: var(--site-blue); }
html body .footer-friends .friend-list a:is(:hover, :focus-visible) { background: rgba(255,255,255,.05); color: var(--site-blue); }
html body .footer-friends .friend-section--drama .friend-list a:is(:hover, :focus-visible) { background: transparent; }
html body .footer-friends-inner .friend-section:not(.friend-section--drama) .friend-list { grid-template-columns: repeat(3, minmax(0, 172px)); }
html body .footer-friends-inner .friend-section--drama .friend-list { grid-template-columns: repeat(4, minmax(0, 136px)); }

@media (max-width: 760px) {
  html body > .footer-box { padding: 28px 0 32px; }
  html body .footer-outer.footer-outer--reference { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  html body .footer-outer--reference .footer-brand { gap: 12px 14px; }
  html body .footer-outer--reference .footer-brand .brand-logo { width: 128px; }
  html body .footer-outer--reference .footer-tagline { font-size: 12px; }
  html body .footer-outer--reference :is(.footer-links, .footer-copy, .footer-actions) { grid-column: 1; }
  html body .footer-outer--reference .footer-links { font-size: 12px; }
  html body .footer-outer--reference .footer-links > a + a { margin-left: 12px; padding-left: 12px; }
  html body .footer-outer--reference .footer-copy { font-size: 11px; }
  html body .footer-outer--reference .footer-actions { grid-row: 4; justify-self: start; padding-right: 0; }
  html body .footer-outer--reference .footer-icons { flex-wrap: wrap; }
  html body .footer-outer--reference .footer-addresses { grid-row: 5; }
  html body .footer-friends-inner .friend-section { flex-basis: 100%; }
  html body .footer-friends-inner .friend-section--drama .friend-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  html body .friend-section--drama .friend-icon { width: min(54px, 100%); }
  html body .footer-friends-inner .friend-section:not(.friend-section--drama) .friend-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  html body .footer-outer--reference .footer-icon-link { transition: none; }
  html body .footer-outer--reference .footer-icon-link:is(:hover, :focus-visible) { transform: none; }
}
