.update-notice {
  position: fixed;
  z-index: 80;
  left: 22px;
  bottom: 22px;
  width: min(430px, calc(100% - 44px));
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 15px;
  border: 1px solid #587347;
  border-radius: 14px;
  background: color-mix(in srgb, var(--panel) 96%, transparent);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .5);
  backdrop-filter: blur(18px);
}

.update-notice[hidden] { display: none; }
.update-notice div { min-width: 0; flex: 1; }
.update-notice strong { display: block; font: 800 14px Manrope; }
.update-notice small { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; line-height: 1.4; }
.update-notice button { flex: 0 0 auto; border: 0; border-radius: 9px; background: var(--accent); color: #142015; padding: 10px 12px; font-size: 11px; font-weight: 800; cursor: pointer; }
.update-notice button:hover { filter: brightness(1.06); }

@media (max-width: 520px) {
  .update-notice { left: 12px; bottom: 12px; width: calc(100% - 24px); align-items: stretch; flex-direction: column; }
  .update-notice button { width: 100%; }
}
