.adminUpdateNoticeRoot {
  position: relative;
  z-index: 2600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  pointer-events: auto;
}

.adminUpdateNoticeRoot.floating {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 2400;
}

.adminUpdateBellButton {
  position: relative;
  z-index: 1;
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.84);
  color: #60a5fa;
  cursor: pointer;
  touch-action: manipulation;
  user-select: none;
  box-shadow: none;
  transition:
    border-color 0.16s ease,
    background 0.16s ease,
    color 0.16s ease,
    transform 0.16s ease;
}

.adminUpdateBellButton:hover,
.adminUpdateBellButton:focus-visible,
.adminUpdateBellButton[aria-expanded="true"] {
  border-color: rgba(96, 165, 250, 0.78);
  background: rgba(22, 119, 255, 0.16);
  color: #93c5fd;
  outline: none;
  transform: translateY(-1px);
}

.adminUpdateBellButton svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.adminUpdateBellBadge {
  position: absolute;
  top: 7px;
  right: 8px;
  width: 8px;
  height: 8px;
  display: none;
  border: 2px solid #0f172a;
  border-radius: 999px;
  background: #ef4444;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.14);
}

.adminUpdateBellButton.hasUnread .adminUpdateBellBadge {
  display: block;
}

.adminUpdateNoticePanel {
  position: fixed;
  top: 64px;
  right: 0;
  z-index: 2700;
  width: min(372px, calc(100vw - 24px));
  max-height: min(520px, calc(100vh - 108px));
  display: grid;
  gap: 14px;
  padding: 16px;
  overflow: auto;
  border: 1px solid rgba(71, 85, 105, 0.72);
  border-radius: 8px;
  background: #111827;
  color: #e5e7eb;
  pointer-events: auto;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.32);
}

.adminUpdateNoticePanel.isBalanceAlert {
  border-color: rgba(239, 68, 68, 0.72);
  box-shadow: 0 18px 46px rgba(127, 29, 29, 0.28);
}

.adminUpdateNoticePanel.isBalanceAlert .adminUpdateNoticeHeader h2 {
  color: #fca5a5;
}

.adminUpdateNoticePanel.isBalanceAlert .adminUpdateNoticeItems li::before {
  background: #ef4444;
}

.adminUpdateNoticeHeader {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
}

.adminUpdateNoticeHeader h2 {
  margin: 0;
  color: #f8fafc;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
}

.adminUpdateNoticeHeader p {
  margin: 5px 0 0;
  color: #94a3b8;
  font-size: 12px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.adminUpdateNoticeClose {
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(148, 163, 184, 0.26);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.72);
  color: #cbd5e1;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.adminUpdateNoticeClose:hover,
.adminUpdateNoticeClose:focus-visible {
  border-color: rgba(96, 165, 250, 0.72);
  color: #93c5fd;
  outline: none;
}

.adminUpdateNoticeItems {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 12px 13px;
  border: 1px solid rgba(51, 65, 85, 0.92);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.78);
  list-style: none;
}

.adminUpdateNoticeItems li {
  position: relative;
  min-width: 0;
  padding-left: 15px;
  color: #dbeafe;
  font-size: 13px;
  line-height: 1.58;
  overflow-wrap: anywhere;
}

.adminUpdateNoticeItems li::before {
  content: "";
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #1677ff;
}

.adminUpdateNoticeActions {
  display: flex;
  justify-content: flex-end;
}

.adminUpdateNoticeActions button {
  min-width: 76px;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #1677ff;
  border-radius: 8px;
  background: #1677ff;
  color: #ffffff;
  font-size: 13px;
  font-weight: 760;
  cursor: pointer;
}

.adminUpdateNoticeActions button:hover,
.adminUpdateNoticeActions button:focus-visible {
  border-color: #0958d9;
  background: #0958d9;
  outline: none;
}

:root[data-ui-theme="light"] .adminUpdateBellButton {
  border-color: #d8dee8;
  background: #ffffff;
  color: #1677ff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

:root[data-ui-theme="light"] .adminUpdateBellButton:hover,
:root[data-ui-theme="light"] .adminUpdateBellButton:focus-visible,
:root[data-ui-theme="light"] .adminUpdateBellButton[aria-expanded="true"] {
  border-color: #1677ff;
  background: #eef6ff;
  color: #0958d9;
}

:root[data-ui-theme="light"] .adminUpdateBellBadge {
  border-color: #ffffff;
}

:root[data-ui-theme="light"] .adminUpdateNoticePanel {
  border-color: #d8dee8;
  background: #ffffff;
  color: #111827;
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.14);
}

:root[data-ui-theme="light"] .adminUpdateNoticePanel.isBalanceAlert {
  border-color: #fca5a5;
  box-shadow: 0 18px 46px rgba(153, 27, 27, 0.16);
}

:root[data-ui-theme="light"] .adminUpdateNoticePanel.isBalanceAlert .adminUpdateNoticeHeader h2 {
  color: #b91c1c;
}

:root[data-ui-theme="light"] .adminUpdateNoticeHeader h2 {
  color: #111827;
}

:root[data-ui-theme="light"] .adminUpdateNoticeHeader p {
  color: #64748b;
}

:root[data-ui-theme="light"] .adminUpdateNoticeClose {
  border-color: #d8dee8;
  background: #f8fafc;
  color: #475569;
}

:root[data-ui-theme="light"] .adminUpdateNoticeClose:hover,
:root[data-ui-theme="light"] .adminUpdateNoticeClose:focus-visible {
  border-color: #1677ff;
  color: #0958d9;
}

:root[data-ui-theme="light"] .adminUpdateNoticeItems {
  border-color: #dfe5ee;
  background: #f8fafc;
}

:root[data-ui-theme="light"] .adminUpdateNoticeItems li {
  color: #1f2937;
}

@media (max-width: 560px) {
  .adminUpdateNoticePanel {
    position: fixed;
    top: 68px;
    right: 12px;
    width: calc(100vw - 24px);
    max-height: calc(100vh - 88px);
  }
}
