.kk-announcement {
  box-sizing: border-box;
  position: fixed;
  inset: 0;
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 12px;
  max-width: min(calc(100vw - 24px), 660px);
  max-height: calc(100dvh - 24px);
  overflow: hidden;
  color: #172f25;
  background: #f9f2df;
  box-shadow: 0 16px 70px #0006;
}
.kk-announcement::backdrop { background: #0e1712bb; }
.kk-announcement-panel { position: relative; }
.kk-announcement img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(calc(100vw - 24px), 660px);
  max-height: calc(100vh - 24px);
  max-height: calc(100dvh - 24px);
  object-fit: contain;
}
.kk-announcement-close {
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #fff9;
  border-radius: 50%;
  padding: 0;
  font: 30px/1 system-ui, sans-serif;
  color: #fff;
  background: #172f25;
  cursor: pointer;
}
.kk-announcement-close:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
html:has(.kk-announcement[open]) { overflow: hidden; }
