/* YU047 Accounts V1.2: home header and return-to-top */
.site-header {
  min-height: 104px;
  display: flex;
  align-items: center;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  border-radius: 18px;
}
.brand-mark {
  width: 50px;
  height: 50px;

  position: relative;
  display: grid;
  place-items: center;

  flex: 0 0 auto;

  color: white;
  background: linear-gradient(145deg, #6276f2, #3c50cc);
  border-radius: 50%;

  box-shadow:
    0 9px 24px rgba(71, 89, 208, 0.25),
    inset 0 1px rgba(255, 255, 255, 0.35);
}
.brand-core {
  position: relative;
  z-index: 2;

  font-size: 21px;
  line-height: 1;
  font-weight: 950;
}
.brand-orbit {
  position: absolute;
  width: 62px;
  height: 21px;

  border: 2px solid rgba(80, 203, 232, 0.9);
  border-radius: 50%;

  transform: rotate(-18deg);
}
.brand-orbit::after {
  content: "";
  width: 7px;
  height: 7px;

  position: absolute;
  top: -4px;
  right: 9px;

  background: var(--yellow);
  border-radius: 50%;
}
.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.brand-text strong {
  font-size: 18px;
  line-height: 1.1;
  font-weight: 900;
}
.brand-text small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}
@media (max-width: 650px){.site-header {
    min-height: 88px;
  }
.brand-mark {
    width: 44px;
    height: 44px;
  }
.brand-orbit {
    width: 55px;
  }
.brand-text strong {
    font-size: 16px;
  }
.brand-text small {
    font-size: 11px;
  }}
@media (max-width: 390px){.brand-text small {
    display: none;
  }}
.site-header {
  justify-content: space-between;
  gap: 28px;
}
@media (max-width: 650px){.site-header {
    min-height: 84px;
  }}
@media (max-width: 650px){.site-header { gap: 8px; }
.brand { flex: 0 1 auto; min-width: 0; }}
@media (max-width: 520px){.site-header .brand-text { display: none; }
.site-header .brand-mark { flex: 0 0 auto; }}
@media (max-width: 340px){.site-header { gap: 4px; }}
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(246, 248, 255, .98);
  border-radius: 0 0 18px 18px;
  transition: box-shadow .18s ease;
}
.site-header.is-scrolled { box-shadow: 0 8px 25px rgba(35, 48, 105, .11); }
.back-to-top {
  position: fixed;
  z-index: 100;
  right: max(18px, env(safe-area-inset-right));
  bottom: calc(20px + env(safe-area-inset-bottom));
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  color: white;
  background: #5267e8;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 50%;
  box-shadow: 0 9px 25px rgba(40,55,130,.25);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.back-to-top[hidden] { display: none !important; }
.back-to-top svg { width: 24px; height: 24px; }
.back-to-top:hover { background: #3548bf; }
.back-to-top:focus-visible { outline: 3px solid #17213b; outline-offset: 3px; }
@media (max-width: 650px){.site-header { min-height: 76px; }
.back-to-top { width: 46px; height: 46px; right: max(12px, env(safe-area-inset-right)); }}
@media (prefers-reduced-motion: reduce){.site-header { transition: none; }}
.site-header {
  display: block;
  width: 100%;
  border-radius: 0;
  background: #f6f8ff;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(100% - 28px, 1220px);
  min-height: 104px;
  margin: 0 auto;
}
@media (max-width: 650px){.header-inner { min-height: 76px; gap: 8px; }}
@media (max-width: 340px){.header-inner { gap: 4px; }}
.brand-numbers {
  position: absolute;
  z-index: 3;
  right: 6px;
  bottom: 7px;
  color: #ffe59b;
  font-size: 9px;
  font-weight: 850;
  line-height: 1;
  letter-spacing: -0.035em;
  text-shadow: 0 1px 3px rgba(22, 31, 90, .62);
  pointer-events: none;
}
.header-inner > .main-nav { margin-left: auto; }
@media (max-width: 900px){.header-inner > .main-nav {
    margin-left: auto;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 4px;
  }
.header-inner .main-nav .nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 12px;
  }
.header-inner .main-nav .nav-icon { display: block; }
.header-inner .main-nav .nav-label { display: none; }}
@media (max-width: 340px){.header-inner .main-nav .nav-link {
    width: 36px;
    height: 38px;
    flex-basis: 36px;
  }}
.site-header {
  background: rgba(246, 248, 255, 0.96);
  border-bottom: 1px solid rgba(163, 177, 213, 0.22);
}
@supports ((backdrop-filter: blur(8px)) or
           (-webkit-backdrop-filter: blur(8px))){.site-header {
    background: rgba(246, 248, 255, 0.94);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
  }}
.site-header .brand-text strong {
  white-space: nowrap;
}
@media (max-width: 520px){.site-header .brand-text {
    display: block;
    min-width: 0;
  }
.site-header .brand {
    gap: 7px;
    min-width: 0;
  }
.site-header .brand-text strong {
    font-size: clamp(11px, 3.3vw, 16px);
    letter-spacing: -0.025em;
    white-space: nowrap;
  }
.site-header .main-nav {
    flex-shrink: 0;
  }}
@media (max-width: 360px){.site-header .brand-mark {
    width: 40px;
    height: 40px;
  }
.site-header .brand {
    gap: 5px;
  }}
/* Adapt only the account page container; preserve the home button dimensions/colors. */
:root{--text:#17213b;--yellow:#ffd868}
.site-header .brand{color:var(--text);font-weight:normal}
.site-header .home{margin-left:auto;white-space:nowrap;color:#3548bf;flex-shrink:0}
.site-header .home:focus-visible,.site-header .brand:focus-visible{outline:3px solid #5368e9;outline-offset:3px}
html{scroll-padding-top:110px}
button.back-to-top:hover{filter:none}
button.back-to-top:focus-visible{outline:3px solid #17213b;outline-offset:3px}
@media(max-width:650px){html{scroll-padding-top:92px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
