































#notice {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%) translateY(8px);
  z-index: 9500;              

  max-width: min(560px, calc(100vw - 40px));
  display: flex;



  flex-direction: row;
  align-items: flex-start;
  gap: 10px;

  padding: 11px 13px 11px 14px;

  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}

#notice.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}





#notice::before {
  content: '';
  flex: 0 0 3px;
  align-self: stretch;
  background: #ef4444;
}

#notice.info::before { background: var(--panel-accent-ai); }

#notice .notice-body { flex: 1 1 auto; min-width: 0; }

#notice .notice-msg {
  font-size: var(--panel-text-2);
  font-weight: 500;
  letter-spacing: .2px;
  line-height: 1.35;
}



#notice .notice-detail {
  margin-top: 4px;
  font-size: var(--panel-text);
  font-weight: 300;
  line-height: 1.35;
  color: var(--panel-ink-2);
  word-break: break-word;
  max-height: 4.4em;
  overflow: hidden;
}

#notice .notice-close {
  flex: 0 0 auto;
  margin: -2px -3px 0 0;
  padding: 2px 5px;
  border-radius: var(--panel-control-radius);
  font-size: var(--panel-text-2);
  line-height: 1;
  color: var(--panel-ink-2);
  cursor: pointer;
  user-select: none;
}
#notice .notice-close:hover { color: var(--panel-ink); background: var(--panel-fill-hover); }

@media (prefers-reduced-motion: reduce) {
  #notice       { transition: opacity .2s ease; transform: translateX(-50%); }
  #notice.show  { transform: translateX(-50%); }
}
