#promotion-dialog {
  box-sizing: border-box;
  width: min(958px, calc(50vw - 12px));
  max-width: calc(100vw - 24px);
  max-height: calc(100vh - 24px);
  max-height: calc(100dvh - 24px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: #fff;
  color: #172033;
  box-shadow: 0 20px 80px #0008;
  overscroll-behavior: contain;
}
#promotion-dialog::backdrop { background: rgb(0 0 0 / 75%); }
#promotion-dialog .promotion-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  padding: 8px 12px;
}
#promotion-dialog .promotion-close {
  flex: 0 0 auto;
  min-width: 44px;
  min-height: 44px;
  padding: 8px;
  border: 0;
  border-radius: 6px;
  background: #eef1f6;
  color: #172033;
  font: 600 16px/1 system-ui, sans-serif;
  cursor: pointer;
}
#promotion-dialog .promotion-close:hover { background: #dfe5ef; }
#promotion-dialog .promotion-close:focus-visible { outline: 3px solid #005a9e; outline-offset: 2px; }
#promotion-dialog .promotion-banner {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(50vh - 46px);
  max-height: calc(50dvh - 46px);
  margin: 0 auto;
  object-fit: contain;
}
html.promotion-open { overflow: hidden; }
