.campaign-notice {
  position: fixed;
  inset: 0;
  width: min(520px, calc(100% - 40px));
  max-height: calc(100vh - 40px);
  max-height: calc(100dvh - 40px);
  margin: auto;
  padding: clamp(26px, 5vw, 42px);
  overflow: auto;
  border: 1px solid #353d49;
  border-radius: 8px;
  background: #080a0e;
  color: var(--white, #f4f6f8);
  font-family: inherit;
  box-shadow: 0 28px 100px #0009, 0 0 0 1px #ffffff05 inset;
}

.campaign-notice::backdrop {
  background: #02040bb8;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.campaign-notice[open] { animation: campaign-notice-enter 180ms ease-out; }
html.campaign-notice-open { overflow: hidden; }

.campaign-notice-label {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 22px;
  color: #adb8c8;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.campaign-notice-label > span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8eb7ff;
  box-shadow: 0 0 12px #2878ff70;
}

.campaign-notice h2 {
  margin: 0;
  font-size: clamp(26px, 5vw, 34px);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -.03em;
  text-wrap: balance;
}

.campaign-notice-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 32px;
}

.campaign-notice-actions a {
  color: #b7c8e1;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.campaign-notice-actions a:hover { color: white; }
.campaign-notice-actions form { margin: 0; }

.campaign-notice-actions button {
  min-width: 80px;
  min-height: 44px;
  padding: 10px 22px;
  border: 1px solid #f4f6f8;
  border-radius: 3px;
  background: #f4f6f8;
  color: #080a0e;
  font: inherit;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.4;
  cursor: pointer;
}

.campaign-notice-actions button:hover { background: #dce4ef; }
.campaign-notice :focus-visible { outline: 2px solid #8eb7ff; outline-offset: 5px; }

@keyframes campaign-notice-enter {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .campaign-notice[open] { animation: none; }
}

@media (max-width: 350px) {
  .campaign-notice-actions { align-items: stretch; flex-direction: column; }
  .campaign-notice-actions button { width: 100%; }
}
