html.announce-lock,
html.announce-lock body {
  overflow: hidden;
  overscroll-behavior: none;
}

.announce {
  width: min(960px, calc(100vw - 24px));
  max-height: calc(100vh - 24px);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 16px;
  background: #fff;
  color: #0e3a57;
  font-family: Onest, sans-serif;
  box-shadow: 0 14px 28px rgba(14, 58, 87, 0.1);
}

.announce-photo {
  height: 460px;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
  background: #d7e4ec;
}

.announce-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.announce-body {
  padding: 22px 28px 26px;
}

.announce-timer,
.announce-x {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  background: #0e3a57;
  color: #fff;
  font: 700 12px/28px Onest, sans-serif;
  text-align: center;
}

.announce-timer { margin: 0; }

.announce-x {
  cursor: pointer;
  font-size: 18px;
  line-height: 26px;
}

.announce-x[hidden],
.announce-timer[hidden] { display: none; }

.announce::backdrop {
  background: rgba(14, 58, 87, 0.62);
}

.announce-kicker {
  margin: 0 0 6px;
  color: #2b93c9;
  font-size: 14px;
  font-weight: 700;
}

.announce h2 {
  margin: 0 0 8px;
  color: #0e3a57;
  font-family: Onest, sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.15;
}

.announce-text {
  margin: 0 0 18px;
  color: #3e596b;
  font-size: 17px;
  line-height: 1.45;
}

.announce-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
  flex-wrap: wrap;
}

.announce-price {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 8px;
  color: #f08a1c;
  font-weight: 700;
  line-height: 1.1;
}

.announce-price-before,
.announce-price-suffix {
  font-size: 17px;
  font-weight: 600;
  color: #c97412;
}

.announce-price-value {
  font-size: 34px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  color: #f08a1c;
}

@media (max-width: 700px) {
  .announce-price-value { font-size: 28px; }
}

.announce .btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 12px;
  background: #f08a1c;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.announce[open] {
  animation: announce-in 280ms cubic-bezier(0.23, 1, 0.32, 1) both;
}

.announce.is-out {
  animation: announce-out 200ms cubic-bezier(0.23, 1, 0.32, 1) both;
}

@keyframes announce-in {
  from { opacity: 0; transform: translateY(-18%) scale(0.98); }
  to { opacity: 1; transform: none; }
}

@keyframes announce-out {
  to { opacity: 0; transform: translateY(-16%) scale(0.98); }
}

@media (prefers-reduced-motion: reduce) {
  .announce[open] { animation: announce-fade 180ms ease both; }
  .announce.is-out { animation: announce-fade 180ms ease reverse both; }
}

@keyframes announce-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 700px) {
  .announce { width: calc(100vw - 16px); }
  .announce-photo { height: 280px; }
  .announce-body { padding: 18px 16px 20px; }
  .announce h2 { font-size: 26px; }
}

.ann-stage {
  position: relative;
  min-height: 860px;
  display: grid;
  place-items: center;
  padding: 72px 16px 28px;
  border-radius: 16px;
  background: #d5e3ec;
  overflow: hidden;
}

.ann-stage .announce {
  position: relative;
  max-height: none;
  overflow: hidden;
}

.ann-stage .announce-timer,
.ann-stage .announce-x {
  position: absolute;
}

.ann-demo.is-in { animation: announce-in 280ms cubic-bezier(0.23, 1, 0.32, 1) both; }
.ann-demo.is-out { animation: announce-out 200ms cubic-bezier(0.23, 1, 0.32, 1) both; }
.ann-demo.is-gone { visibility: hidden; }
