.preview-notice {
  width: min(390px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  margin: auto;
  padding: 32px 24px 24px;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 0;
  border-radius: 24px;
  color: var(--color-text, #191f28);
  background: #fff;
  box-shadow: 0 20px 70px rgb(0 0 0 / 20%);
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.preview-notice::backdrop {
  background: rgb(0 0 0 / 56%);
}

.preview-notice form {
  margin: 0;
}

.preview-notice__label {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 6px;
  color: #333d4b;
  background: #fee500;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.4;
}

.preview-notice h1 {
  margin: 18px 0 12px;
  font-size: 1.5rem;
  line-height: 1.4;
  letter-spacing: -0.04em;
}

.preview-notice h1:focus {
  outline: none;
}

.preview-notice__description {
  margin: 0;
  color: #6b7684;
  font-size: 1rem;
  line-height: 1.6;
  letter-spacing: -0.025em;
}

.preview-notice__acknowledge {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 68px;
  margin-top: 24px;
  margin-bottom: 12px;
  padding: 14px 4px;
  border-radius: 14px;
  color: #333d4b;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -0.025em;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.preview-notice__acknowledge input {
  appearance: none;
  -webkit-appearance: none;
  display: grid;
  place-items: center;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #e5e8eb;
  cursor: pointer;
}

.preview-notice__acknowledge input::after {
  content: '';
  width: 14px;
  height: 8px;
  margin-top: -3px;
  border-left: 3px solid #8b95a1;
  border-bottom: 3px solid #8b95a1;
  transform: rotate(-45deg);
}

.preview-notice__acknowledge input:checked {
  background: #fee500;
}

.preview-notice__acknowledge input:checked::after {
  border-color: #191f28;
}

.preview-notice__acknowledge:active {
  background: #f7f8fa;
}

.preview-notice__acknowledge input:focus-visible {
  outline: 2px solid #1265e9;
  outline-offset: 3px;
}

.preview-notice__continue {
  width: 100%;
  min-height: 54px;
  padding: 15px 10px;
  border: 0;
  border-radius: 12px;
  color: #191f28;
  background: #fee500;
  font-size: 1rem;
  line-height: 1.5;
  letter-spacing: -0.035em;
  cursor: pointer;
}

.preview-notice__continue:active:not(:disabled) {
  background: #f2d700;
}

.preview-notice__continue:disabled {
  color: #8b95a1;
  background: #f2f4f6;
  cursor: not-allowed;
}

@media (max-width: 360px) {
  .preview-notice {
    padding: 28px 20px 20px;
  }

  .preview-notice h1 {
    font-size: 1.3125rem;
  }

}
