.award-notice {
  margin: auto;
  border: 1px solid #b99f72;
  padding: 0;
  width: min(460px, calc(100vw - 24px), calc(70.72vh - 86px));
  width: min(460px, calc(100vw - 24px), calc(70.72dvh - 86px));
  min-width: min(280px, calc(100vw - 24px));
  max-height: calc(100vh - 16px);
  max-height: calc(100dvh - 16px);
  background: #433142;
  color: #fff7e8;
  box-shadow: 0 18px 70px #22162166;
}

.award-notice:not([open]) { display: none; }
.award-notice::backdrop { background: rgb(30 21 30 / 65%); }
html:has(.award-notice[open]) { overflow: hidden; }

.award-notice-poster,
.award-notice-poster img {
  display: block;
  width: 100%;
}

.award-notice-poster img {
  height: auto;
  max-height: calc(100vh - 118px);
  max-height: calc(100dvh - 118px);
  object-fit: contain;
}

.award-notice-links,
.award-notice-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-top: 1px solid #b99f72;
}

.award-notice-links a,
.award-notice-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  margin: 0;
  border: 0;
  padding: 0 8px;
  font: 500 13px/1.3 Pretendard, sans-serif;
  letter-spacing: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.award-notice-links a {
  flex: 1;
  color: #f2dca6;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.award-notice-links a + a { border-left: 1px solid #877382; }
.award-notice-actions { justify-content: flex-end; }
.award-notice-actions [data-dismiss-today] { margin-right: auto; }

.award-notice :focus-visible { outline: 2px solid #f2dca6; outline-offset: -3px; }
