.notice-popup {
  width: min(520px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 1px solid #e9dfd3;
  border-radius: 28px;
  background: #fffaf2;
  color: #30261e;
  box-shadow: 0 24px 96px rgb(35 26 16 / 22%);
}
.notice-popup::backdrop {
  background: rgb(25 29 25 / 48%);
}
.notice-popup[open] {
  animation: notice-popup-enter 180ms ease-out;
}
.notice-popup-card {
  display: block;
  padding: 40px 36px 36px;
  color: inherit;
}
.notice-popup-eyebrow {
  display: inline-block;
  margin: 0 0 24px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #ffeadf;
  color: #a43d20;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.025em;
}
.notice-popup h2 {
  margin: 0 0 20px;
  color: #30261e;
  font-size: clamp(24px, 4.5vw, 30px);
  line-height: 1.45;
  letter-spacing: -0.045em;
}
.notice-popup #notice-popup-description {
  margin: 0 0 28px;
  color: #68584b;
  font-size: 16px;
  line-height: 1.8;
}
.notice-popup-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  border-radius: 14px;
  background: #c74522;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}
.notice-popup-card:hover .notice-popup-link {
  background: #ad3819;
}
.notice-popup-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(80px, 0.5fr);
  border-top: 1px solid #e9dfd3;
  background: #fffdf9;
}
.notice-popup-actions button {
  min-height: 56px;
  padding: 12px 16px;
  border: 0;
  background: transparent;
  color: #68584b;
  font-size: 14px;
  font-weight: 500;
}
.notice-popup-actions [data-notice-popup-close] {
  border-left: 1px solid #e9dfd3;
  color: #30261e;
  font-weight: 700;
}
.notice-popup-actions button:hover {
  background: #f4eee5;
}
.notice-popup a:focus-visible,
.notice-popup button:focus-visible {
  outline: 3px solid #a43d20;
  outline-offset: -5px;
}
@keyframes notice-popup-enter {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 480px) {
  .notice-popup { border-radius: 22px; }
  .notice-popup-card { padding: 32px 24px 28px; }
  .notice-popup #notice-popup-description { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .notice-popup[open] { animation: none; }
}
