#chatverseToastHost {
  position: fixed !important;
  top: max(14px, calc(env(safe-area-inset-top) + 10px)) !important;
  bottom: auto !important;
  left: 50% !important;
  width: min(440px, calc(100vw - 24px)) !important;
  transform: translateX(-50%) !important;
  z-index: 11000 !important;
  pointer-events: none;
}
.chayt-notice, #appUpdateBanner, #appLoadingModal .app-loading-card {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif !important;
  font-size: 14px;
  letter-spacing: normal !important;
  line-height: 1.45;
  font-weight: 400;
  color: #efeff3;
  background: #25252c;
  border: 1px solid #3e3e49;
  border-radius: 12px;
  box-shadow: 0 8px 24px #0004;
}
.chayt-notice { display: flex; align-items: center; gap: 12px; padding: 13px 14px; pointer-events: auto; }
.chayt-notice-icon, .app-update-icon { flex: 0 0 22px; width: 22px; height: 22px; color: #aaa3f2; }
.chayt-notice-icon svg, .app-update-icon svg { width: 100%; height: 100%; }
.chayt-notice-success .chayt-notice-icon { color: #a7d5b5; }
.chayt-notice-error .chayt-notice-icon { color: #f0a3aa; }
.chayt-notice-copy { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.chayt-notice-dismiss { flex: 0 0 24px; width: 24px; height: 28px; padding: 3px; background: none; border: none; color: #aaaab6; cursor: pointer; }
.chayt-notice-dismiss svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
#appUpdateBanner { top: max(14px, calc(env(safe-area-inset-top) + 10px)) !important; bottom: auto !important; left: 50% !important; right: auto !important; width: min(580px, calc(100vw - 24px)); transform: translateX(-50%); padding: 14px !important; gap: 12px !important; backdrop-filter: none !important; box-sizing: border-box; }
.app-update-copy { flex: 1; min-width: 0; }
.app-update-title { font-size: 14px; font-weight: 600; }
.app-update-detail { font-size: 13px; color: #b9b9c4; margin-top: 2px; }
.app-update-actions { display: flex; gap: 8px; flex-shrink: 0; }
#appUpdateBanner button { font: 500 13px/1.2 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; padding: 8px 10px; border-radius: 7px; cursor: pointer; border: 1px solid #52515e; background: none; color: inherit; }
#appUpdateBanner #appUpdateRefreshBtn { background: #8b7cf5; border-color: #8b7cf5; color: white; }
#appLoadingModal { align-items: flex-start; padding-top: max(14px, calc(env(safe-area-inset-top) + 10px)); background: none !important; backdrop-filter: none !important; pointer-events: none; }
#appLoadingModal .app-loading-card { padding: 14px; width: min(420px, calc(100vw - 24px)); }
#appLoadingModal .app-loading-title { font-family: inherit; font-size: 14px; font-weight: 600; }
#appLoadingModal .app-loading-copy { font-family: inherit; font-size: 13px; font-weight: 400; }
html[data-theme="white"] .chayt-notice, html[data-theme="white"] #appUpdateBanner { background: #fff; color: #252532; border-color: #dddde5; }
html[data-theme="white"] .app-update-detail { color: #686874; }
@media (max-width: 480px) { #appUpdateBanner { flex-wrap: wrap; } .app-update-actions { margin-left: 34px; } }
