.wn-overlay {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: grid;
  place-items: center;
  overflow-y: auto;
  padding: 24px;
  background:
    radial-gradient(ellipse at 50% 44%, rgba(255,90,31, .22), transparent 58%),
    rgba(40,16,10, .78);
  -webkit-backdrop-filter: blur(12px) saturate(125%);
  backdrop-filter: blur(12px) saturate(125%);
  animation: wn-fade-in .2s ease-out both;
}

.wn-dialog {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(720px, 100%);
  max-height: min(88vh, 760px);
  max-height: min(88dvh, 760px);
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid rgba(255,176,138, .22);
  border-radius: 26px;
  background:
    radial-gradient(ellipse at 90% 15%, rgba(255,90,31, .12), transparent 42%),
    linear-gradient(145deg, #28100a 0%, #28100a 58%, #28100a 100%);
  color: #e4e7ed;
  box-shadow:
    0 36px 110px rgba(0, 0, 0, .62),
    0 0 0 1px rgba(255, 255, 255, .035),
    0 0 70px rgba(255,90,31, .16);
  animation: wn-rise-in .28s cubic-bezier(.2, .75, .25, 1) both;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,138,92, .42) transparent;
}

.wn-dialog:focus { outline: none; }
.wn-dialog [hidden] { display: none !important; }

.wn-close {
  position: absolute;
  z-index: 2;
  top: 16px;
  right: 16px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 50%;
  background: rgba(40,16,10, .62);
  color: #fff;
  font: 400 26px/1 Arial, sans-serif;
  cursor: pointer;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
}

.wn-visual {
  position: relative;
  flex: 0 0 226px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse at 78% 20%, rgba(244, 114, 182, .29), transparent 27%),
    radial-gradient(ellipse at 52% 88%, rgba(40,16,10, .7), transparent 47%),
    linear-gradient(118deg, #28100a 0%, #e8420f 40%, #e8420f 70%, #e8420f 100%);
}

.wn-visual::before,
.wn-visual::after {
  position: absolute;
  z-index: -1;
  display: block;
  border: 1px solid rgba(255, 255, 255, .19);
  border-radius: 50%;
  content: '';
  pointer-events: none;
}

.wn-visual::before {
  top: -166px;
  right: 9%;
  width: 420px;
  height: 420px;
  box-shadow:
    0 0 0 24px rgba(255, 255, 255, .025),
    0 0 0 58px rgba(255, 255, 255, .025),
    0 0 0 98px rgba(255, 255, 255, .02);
}

.wn-visual::after {
  right: 24%;
  bottom: -215px;
  width: 360px;
  height: 360px;
  border-color: rgba(255, 255, 255, .12);
  box-shadow: 0 0 70px rgba(255,138,92, .38);
}

.wn-visual-art {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse at 65% 48%, rgba(255, 255, 255, .16), transparent 2%, transparent 100%),
    linear-gradient(90deg, rgba(40,16,10, .15), transparent 55%, rgba(40,16,10, .12));
}

.wn-image {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wn-visual-label {
  position: absolute;
  z-index: 2;
  right: 26px;
  bottom: 22px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, .8);
  font: 700 10px/1.2 Space Grotesk, Arial, sans-serif;
  letter-spacing: 1.8px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .3);
}

.wn-visual-mark {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .46);
  border-radius: 8px;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  font: 800 13px/1 Space Grotesk, Arial, sans-serif;
  letter-spacing: 0;
}

.wn-content {
  padding: 30px 42px 34px;
}

.wn-eyebrow {
  display: flex;
  min-height: 24px;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.wn-eyebrow-label {
  color: #ffb08a;
  font: 800 10px/1.3 Space Grotesk, Arial, sans-serif;
  letter-spacing: 1.8px;
}

.wn-badge {
  display: inline-flex;
  align-items: center;
  min-height: 23px;
  padding: 4px 9px;
  border: 1px solid rgba(255,176,138, .34);
  border-radius: 999px;
  background: rgba(255,90,31, .15);
  color: #ffb08a;
  font: 750 9px/1.2 Space Grotesk, Arial, sans-serif;
  letter-spacing: .9px;
  text-transform: uppercase;
}

.wn-title {
  max-width: 590px;
  margin: 0;
  color: #fff;
  font: 750 clamp(27px, 4vw, 39px)/1.12 Space Grotesk, Arial, sans-serif;
  letter-spacing: -1.25px;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.wn-description {
  max-width: 570px;
  margin: 14px 0 0;
  color: #c4c5d4;
  font: 400 15px/1.75 Space Grotesk, Arial, sans-serif;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.wn-highlights {
  display: grid;
  gap: 9px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.wn-highlights li {
  position: relative;
  padding-left: 24px;
  color: #ffb08a;
  font: 500 13px/1.5 Space Grotesk, Arial, sans-serif;
  overflow-wrap: anywhere;
}

.wn-highlights li::before {
  position: absolute;
  top: 1px;
  left: 0;
  display: grid;
  width: 16px;
  height: 16px;
  place-items: center;
  border: 1px solid rgba(255,176,138, .3);
  border-radius: 50%;
  background: rgba(255,90,31, .18);
  color: #ffb08a;
  content: '✓';
  font: 700 10px/1 Space Grotesk, Arial, sans-serif;
}

.wn-status {
  min-height: 0;
  margin: 0;
  color: #fecaca;
  font: 500 13px/1.5 Space Grotesk, Arial, sans-serif;
}

.wn-status:not(:empty) { margin-top: 12px; }

.wn-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 25px;
  padding-top: 19px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.wn-counter {
  margin: 0;
  color: #9294a8;
  font: 600 11px/1.5 Space Grotesk, Arial, sans-serif;
  letter-spacing: .3px;
}

.wn-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
}

.wn-cta,
.wn-next,
.wn-dismiss {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 12px;
  font: 700 13px/1.2 Space Grotesk, Arial, sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color .18s ease,
    border-color .18s ease,
    box-shadow .18s ease,
    color .18s ease,
    transform .18s ease;
}

.wn-cta {
  gap: 10px;
  background: linear-gradient(115deg, #ff8a5c 0%, #e8420f 55%, #e8420f 100%);
  color: #fff;
  box-shadow: 0 8px 24px rgba(255,90,31, .32), inset 0 1px 0 rgba(255, 255, 255, .24);
}

.wn-cta::after {
  content: '↗';
  font-size: 15px;
  line-height: 1;
}

.wn-next {
  border-color: rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .055);
  color: #ffb08a;
}

.wn-dismiss {
  border-color: transparent;
  background: transparent;
  color: #b7b7c7;
}

.wn-close:hover { border-color: rgba(255, 255, 255, .46); background: rgba(40,16,10, .86); }
.wn-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(255,90,31, .44), inset 0 1px 0 rgba(255, 255, 255, .24); }
.wn-next:hover { border-color: rgba(255,176,138, .45); background: rgba(255,90,31, .14); }
.wn-dismiss:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.wn-close:active, .wn-cta:active, .wn-next:active, .wn-dismiss:active { transform: translateY(1px); }

.wn-close:focus-visible,
.wn-cta:focus-visible,
.wn-next:focus-visible,
.wn-dismiss:focus-visible {
  outline: 3px solid #ffb08a;
  outline-offset: 3px;
}

@keyframes wn-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes wn-rise-in {
  from { opacity: 0; transform: translateY(16px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 620px) {
  .wn-overlay { align-items: center; padding: 14px; }
  .wn-dialog {
    width: min(500px, 100%);
    max-height: 92vh;
    max-height: 92dvh;
    border-radius: 21px;
  }
  .wn-visual { flex-basis: 176px; }
  .wn-visual-label { right: 19px; bottom: 16px; }
  .wn-content { padding: 23px 22px 22px; }
  .wn-eyebrow { margin-bottom: 12px; }
  .wn-title { font-size: clamp(26px, 7vw, 33px); letter-spacing: -.8px; }
  .wn-description { margin-top: 11px; font-size: 14px; line-height: 1.65; }
  .wn-highlights { gap: 8px; margin-top: 15px; }
  .wn-footer { align-items: stretch; flex-direction: column-reverse; gap: 12px; margin-top: 20px; padding-top: 16px; }
  .wn-counter { text-align: center; }
  .wn-actions { align-items: stretch; flex-direction: column; }
  .wn-cta, .wn-next, .wn-dismiss { width: 100%; }
}

@media (max-width: 360px) {
  .wn-overlay { padding: 9px; }
  .wn-dialog { border-radius: 18px; }
  .wn-visual { flex-basis: 148px; }
  .wn-content { padding: 20px 17px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .wn-overlay, .wn-dialog { animation: none; }
  .wn-close, .wn-cta, .wn-next, .wn-dismiss { transition: none; }
}

.admin-whats-new-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.admin-whats-new-full { grid-column: 1 / -1; }
.admin-whats-new-actions,
.admin-whats-new-card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.admin-whats-new-list { display: grid; gap: 12px; }
.admin-whats-new-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-card);
}

.admin-whats-new-card h3 { margin: 0 0 6px; overflow-wrap: anywhere; }
.admin-whats-new-preview { z-index: 12500; }

@media (max-width: 640px) {
  .admin-whats-new-form-grid, .admin-whats-new-card { grid-template-columns: minmax(0, 1fr); }
  .admin-whats-new-card-actions { justify-content: flex-start; }
}
