﻿/* Family site selector shares a bottom edge with the footer logo. */
.footer-brainall .footer-main{row-gap:0}
.footer-brainall .footer-top{grid-column:1/-1;display:flex;align-items:flex-end;justify-content:space-between;gap:24px}
.footer-brainall .footer-family{position:relative;flex:none;width:240px;max-width:100%}
.footer-family select{display:block;width:100%;height:46px;appearance:none;-webkit-appearance:none;background:#101010;border:1px solid #626262;border-radius:6px;padding:0 44px 0 18px;color:#fff;font:500 14px/1.5 var(--font-sans);letter-spacing:.025em;cursor:pointer;color-scheme:dark}
.footer-family select:focus-visible{outline:2px solid #fff;outline-offset:4px}
.footer-family:after{content:"";position:absolute;right:19px;top:18px;width:8px;height:8px;border-right:1.5px solid #fff;border-bottom:1.5px solid #fff;transform:rotate(45deg);pointer-events:none}
.footer-family option{background:#181818;color:#fff;letter-spacing:0}
.footer-family option:disabled{color:#909090}
@media(max-width:1250px){.footer-brainall .footer-utility{margin-top:28px}}
@media(max-width:600px){.footer-brainall .footer-top{align-items:flex-start;flex-direction:column;gap:24px}.footer-brainall .footer-family{align-self:flex-end;width:min(100%,260px)}.footer-brainall .footer-utility{margin-top:26px}}

/* Keep copyright on the last company-information baseline. */
.footer-brainall .footer-main{grid-template-columns:minmax(0,1fr) auto;column-gap:32px}
.footer-brainall .footer-content{display:contents}
.footer-brainall .footer-links{grid-column:1;grid-row:2;flex-wrap:wrap}
.footer-brainall .footer-info{grid-column:1;grid-row:3;align-self:last baseline}
.footer-brainall .copyright{grid-column:2;grid-row:3;align-self:last baseline;margin:0;text-align:right}
.footer-brainall .footer-utility{grid-column:2;grid-row:2;align-self:end;margin:34px 0 0}
@media(max-width:1100px){
  .footer-brainall .footer-main{grid-template-columns:minmax(0,1fr)}
  .footer-brainall .footer-links{grid-column:1;grid-row:2}
  .footer-brainall .footer-info{grid-column:1;grid-row:3}
  .footer-brainall .copyright{grid-column:1;grid-row:4;margin-top:24px;justify-self:end}
  .footer-brainall .footer-utility{grid-column:1;grid-row:5;margin-top:24px;justify-self:end}
}

/* Floating top shortcut shared by Korean pages. */
.back-top{left:auto;right:22px;border-radius:12px;transition:background-color .2s,border-color .2s,color .2s}
.back-top:focus-visible{background:var(--brand);border-color:var(--brand);color:#fff;outline:2px solid var(--brand);outline-offset:4px}
@media(hover:hover) and (pointer:fine){
  .back-top:hover{background:var(--brand);border-color:var(--brand);color:#fff}
}
@media(max-width:760px){
  .back-top{left:auto;right:14px;background:var(--brand);border-color:var(--brand);color:#fff}
}
@media(hover:none){
  .back-top{background:var(--brand);border-color:var(--brand);color:#fff}
}
@media(prefers-reduced-motion:reduce){.back-top{transition:none}}
