.update-banner { position: sticky; top: 92px; z-index: 30; margin: 0 32px 8px; max-width: 1100px; display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: #eaf1ff; border: 1px solid #c7d6ed; border-radius: 13px; color: #172033; box-shadow: 0 1px 3px #121e340d; flex: none; }
.update-banner[hidden] { display: none; }
.update-symbol { width: 24px; height: 24px; flex: none; color: #3462a0; }
.update-symbol svg { display: block; width: 100%; height: 100%; }
.update-copy { flex: 1; min-width: 0; }
.update-copy strong { font-size: 14px; font-weight: 650; line-height: 1.4; }
.update-copy p { margin: 4px 0 0; font-size: 13px; line-height: 1.45; color: #3d4a5c; }
.update-action { min-height: 44px; flex: none; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; border-radius: 10px; font-family: inherit; font-size: 13px; font-weight: 650; padding: 10px 14px; color: #fff; background: #294f83; border: 1px solid #294f83; }
.update-action:hover { background: #203e67; }
.update-action:disabled { opacity: .6; cursor: wait; }
.update-action:focus-visible { outline: 3px solid #2563eb; outline-offset: 3px; }
.update-banner.is-loading .update-symbol { animation: update-spin 1s linear infinite; }
.update-banner.is-error { background: #fff8ee; border-color: #e5cfab; }
.update-banner.is-error .update-symbol { color: #8b5819; }
.update-guard { width: min(430px, calc(100% - 32px)); padding: 24px; border: 1px solid #d9e1eb; border-radius: 20px; background: #fff; color: #172033; box-shadow: 0 20px 70px #17203330; }
.update-guard::backdrop { background: #17203355; }
.update-guard h2 { margin: 0; font-size: 20px; }
.update-guard p { margin: 14px 0 22px; font-size: 15px; line-height: 1.55; color: #3d4a5c; }
.update-guard button { width: 100%; min-height: 44px; }
@keyframes update-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .update-banner.is-loading .update-symbol { animation: none; } }
@media (min-width: 721px) {
  .has-common-shell .main-content:has(> .team-page) { height: calc(100dvh - 92px - var(--update-banner-space, 0px)); }
}
html:has(#updateBanner:not([hidden])) { scroll-padding-top: calc(100px + var(--update-banner-space, 0px)); }
@media (max-width: 720px) {
  .update-banner { top: calc(66px + env(safe-area-inset-top)); margin: 12px 16px 0; gap: 6px; padding: 8px 10px; min-height: 62px; }
  .update-symbol { width: 20px; height: 20px; }
  .update-copy strong { display: block; font-size: 13px; line-height: 1.4; white-space: nowrap; }
  .update-copy p { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
  .update-action { padding: 10px 12px; white-space: nowrap; }
  .update-banner.is-error .update-symbol { display: none; }
  .update-banner:not([hidden]) + .main-content { padding-top: 20px; }
  .update-guard { padding: 22px; }
  html:has(#updateBanner:not([hidden])) { scroll-padding-top: calc(74px + env(safe-area-inset-top) + var(--update-banner-space, 0px)); }
}
@media (max-width: 360px) {
  .update-banner { margin-inline: 12px; padding-inline: 8px; }
  .update-symbol { display: none; }
  .update-action { padding-inline: 9px; }
}
