.notice-badges .notice-badge {
  display: inline-flex;
  align-items: center;
  padding: 0 4px;
  min-width: 0;
  max-width: 100px;
  height: 36px;
  background-image: none !important;
  box-shadow: none !important;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

.notice-badge-wechat {
  background-color: #e8f0ff !important;
}

.notice-badge-wechat:hover,
.notice-badge-wechat:focus,
.notice-badge-wechat:active {
  background-color: #d2e2ff !important;
}

.notice-badge-qq {
  background-color: #fef4e5 !important;
}

.notice-badge-qq:hover,
.notice-badge-qq:focus,
.notice-badge-qq:active {
  background-color: #fde7cc !important;
}

.notice-badge-public {
  background-color: #e7f8ed !important;
}

.notice-badge-public:hover,
.notice-badge-public:focus,
.notice-badge-public:active {
  background-color: #d2f1dd !important;
}

.notice-badges .notice-badge::before,
.notice-badges .notice-badge::after {
  display: none !important;
  content: none !important;
}

.notice-badges .notice-badge .notice-badge-label {
  font-size: 13px;
  color: #000 !important;
  display: inline-flex;
  align-items: flex-start;
  gap: 18px;
  margin-left: 12px;
}

.notice-badges .notice-badge .notice-badge-action {
  font-size: 12px;
  color: #000 !important;
}

.notice-badge *,
.notice-badge::before,
.notice-badge::after {
  background-color: transparent !important;
  background-image: none !important;
  color: #000 !important;
}

.notice-badge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: 4px;
  margin-left: -20px;
}

.notice-badge-icon img {
  width: 27px !important;
  height: 27px !important;
  display: block;
}

.notice-badge-qq .notice-badge-icon img {
  width: 23px !important;
  height: 23px !important;
  margin-top: 0;
}

body,
.notice-root,
.notice-container,
.notice-section,
.notice-note,
.notice-note-highlight,
.notice-modal-content {
  background: transparent !important;
  box-shadow: none !important;
}

.notice-table,
.notice-table thead tr,
.notice-table tbody tr,
.notice-table th,
.notice-table td {
  background: transparent !important;
}

#wechat-modal {
  display: none;
}

#wechat-modal.notice-modal-backdrop {
  background: transparent !important;
}

.wechat-modal-card {
  background: #050505 !important;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 70px rgba(2, 6, 23, 0.7);
  border-radius: 20px;
  padding: 28px 22px 22px;
  max-width: 360px;
  width: 100%;
  text-align: center;
}

.wechat-modal-title {
  margin: 8px 0 4px;
  font-size: 20px;
  color: #f8fafc;
  font-weight: 700;
}

.wechat-modal-desc {
  margin: 0 0 12px;
  font-size: 14px;
  color: rgba(226, 232, 240, 0.85);
  line-height: 1.5;
}

.wechat-qrcode-card {
  background: rgba(0, 0, 0, 0.6);
  border-radius: 18px;
  padding: 18px;
  display: inline-flex;
  justify-content: center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.wechat-qrcode-card img {
  width: 185px;
  height: 185px;
  border-radius: 8px;
  background: #fff;
}

.wechat-modal-note {
  margin: 12px 0 0;
  font-size: 13px;
  color: rgba(226, 232, 240, 0.85);
}

.wechat-modal-actions {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
}

.wechat-copy-btn {
  width: 100%;
  max-width: 240px;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, #7c3aed, #2563eb);
  box-shadow: 0 14px 28px rgba(79, 70, 229, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wechat-copy-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(59, 130, 246, 0.45);
}

.wechat-copy-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.wechat-copy-status {
  min-height: 18px;
  font-size: 12px;
  color: #ffffff !important;
  text-align: center;
}

.wechat-copy-status a {
  color: #38bdf8;
  font-weight: 600;
  text-decoration: underline;
}

.wechat-modal-tips {
  margin: 12px 0 0;
  padding-left: 16px;
  text-align: left;
  color: rgba(148, 163, 184, 0.8);
  font-size: 12px;
  line-height: 1.5;
}

.wechat-modal-tips li {
  margin-bottom: 4px;
}
.notice-root {
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #0f172a;
  background: #fff;
  font-size: 0.88rem;
}

.notice-container {
  margin: 24px auto 30px;
  max-width: 760px;
  padding: 0 14px;
}

.notice-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.notice-section {
  padding: 10px 0 6px;
  border-top: 1px solid rgba(148, 163, 184, 0.4);
}

.notice-section:first-of-type {
  border-top: none;
  padding-top: 0;
}

.notice-title {
  margin: 0 0 10px;
  font-size: 1.15rem;
  color: #000;
  font-weight: 600;
}

.notice-badges {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  margin-top: 16px;
}

.notice-badge {
  display: inline-flex;
  align-items: stretch;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  min-width: 0;
  width: 100%;
}

.notice-badge:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.16);
}

.notice-badge-label,
.notice-badge-action {
  display: inline-flex;
  align-items: center;
  font-size: 0.74rem;
  font-weight: 500;
  white-space: nowrap;
  flex: 1 1 0;
  justify-content: center;
}

.notice-badge-label {
  padding: 3px 6px;
  background: #374151;
  color: #f9fafb;
  gap: 4px;
}

.notice-badge-action {
  padding: 3px 6px;
  color: #f9fafb;
}

.notice-badge-icon {
  display: inline-flex;
  width: 14px;
  height: 14px;
  overflow: visible;
}

.notice-badge-icon img {
  width: 14px;
  height: 14px;
  display: block;
}

.notice-badge-wechat .notice-badge-action {
  background: #22c55e;
}

.notice-badge-qq .notice-badge-action {
  background: #0ea5e9;
}

.notice-badge-public .notice-badge-action {
  background: #f59e0b;
}

.notice-note {
  margin-top: 6px;
  color: #1e293b;
  font-size: 0.84rem;
  line-height: 1.5;
}

.notice-note strong {
  color: #1d4ed8;
}

.notice-note-highlight {
  margin-top: 12px;
  color: #b91c1c;
  font-weight: 600;
}

.notice-list {
  margin: 0;
  padding-left: 18px;
  line-height: 1.7;
  list-style: disc;
  list-style-position: outside;
}

.notice-list li {
  margin-bottom: 4px;
}

.notice-table {
  width: 100%;
  border-collapse: collapse;
}

.notice-table th,
.notice-table td {
  text-align: left;
  padding: 6px 8px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.notice-table th {
  font-weight: 700;
}

.notice-runtime {
  font-size: 0.95rem;
  color: #1e293b;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  width: 100%;
}

.notice-runtime-icon {
  display: inline-flex;
  width: 22px;
  height: 22px;
}

.notice-runtime-icon img {
  width: 22px;
  height: 22px;
  display: block;
}

.notice-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 999;
}

.notice-modal-backdrop.show {
  display: flex;
}

.notice-modal-content {
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.35);
  max-width: 420px;
  width: 100%;
  padding: 20px 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.notice-modal-content img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  background: #f8fafc;
}

.notice-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 18px;
  color: #ffffff;
  display: grid;
  place-items: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.notice-modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}

@media screen and (max-width: 520px) {
  .notice-container {
    margin: 18px auto 24px;
    padding: 0 10px;
  }

  .notice-title {
    margin-bottom: 8px;
    font-size: 1.02rem;
  }

  .notice-badge {
    box-shadow: 0 3px 10px rgba(15, 23, 42, 0.12);
  }

  .notice-badge-label {
    padding: 2px 4px;
    font-size: 0.62rem;
    gap: 3px;
  }

  .notice-badge-action {
    padding: 2px 4px;
    font-size: 0.62rem;
  }

  .notice-badge-icon {
    width: 11px;
    height: 11px;
  }

  .notice-badge-icon img {
    width: 11px;
    height: 11px;
    transform: scale(1.12);
  }

  .notice-note {
    font-size: 0.76rem;
  }

  .notice-table th,
  .notice-table td {
    padding: 3px 4px;
    font-size: 0.58rem !important;
  }

  .notice-runtime {
    font-size: 0.8rem;
    gap: 5px;
  }

  .notice-runtime-icon {
    width: 16px;
    height: 16px;
  }
}

/* Override icon sizes (25% smaller) */
.notice-badge-icon img {
  width: 27px !important;
  height: 27px !important;
  display: block;
}

.notice-badge-qq .notice-badge-icon img {
  width: 23px !important;
  height: 23px !important;
  margin-top: 0;
}

