.uf-advertisement-notice {
  position: fixed;
  inset: 0;
  margin: auto;
  width: fit-content;
  max-width: min(640px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  max-height: calc(100svh - 32px);
  padding: 0;
  border: 1px solid #776142;
  border-radius: 15px;
  overflow: auto;
  background: #191510;
  color: #ffedca;
  box-shadow: 0 20px 64px #0009;
}

.uf-advertisement-notice::backdrop { background: #080604cc; }

.uf-advertisement-notice--transparent {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.uf-advertisement-notice__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 8px;
  box-sizing: border-box;
}

.uf-advertisement-notice__actions button {
  min-height: 44px;
  min-width: 74px;
  padding: 0 14px;
  border: 1px solid #9b7a47;
  border-radius: 30px;
  background: #262019;
  color: #ffedca;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.uf-advertisement-notice__actions .uf-advertisement-notice__close {
  min-width: 92px;
  border: 0;
  background: radial-gradient(100% 100% at 50% 0, #ffedaf 23.27%, #a9852b 100%);
  color: #333;
  font-weight: 400;
}

.uf-advertisement-notice__actions button:focus-visible { outline: 2px solid #f3c678; outline-offset: 2px; }

.uf-advertisement-notice img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100vh - 100px);
  max-height: calc(100svh - 100px);
  margin: 0 auto;
  object-fit: contain;
}
