.fan-notice-lock {
  overflow: hidden !important;
}

.fan-notice-overlay {
  align-items: flex-start;
  background: rgba(0, 0, 0, 0.86);
  bottom: 0;
  color: #d9f8ff;
  display: flex;
  font-family: Genos, Arial, sans-serif;
  justify-content: center;
  left: 0;
  overflow: auto;
  padding: 24px;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 999999;
}

.fan-notice-dialog {
  background: rgba(3, 12, 22, 0.96);
  border: 2px solid #7ee7ff;
  box-shadow: 0 0 28px rgba(126, 231, 255, 0.35);
  box-sizing: border-box;
  margin: auto 0;
  max-width: 760px;
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 28px;
  width: min(760px, 100%);
}

.fan-notice-dialog h1 {
  color: #ffffff;
  font-size: 34px;
  letter-spacing: 0;
  margin: 0 0 14px;
}

.fan-notice-dialog p {
  font-size: 21px;
  line-height: 1.35;
  margin: 12px 0;
}

.fan-notice-dialog a {
  color: #91f1ff;
  text-decoration: underline;
}

.fan-notice-check {
  align-items: center;
  display: flex;
  font-size: 20px;
  gap: 12px;
  margin: 22px 0;
}

.fan-notice-check input {
  height: 22px;
  width: 22px;
}

.fan-notice-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}

.fan-notice-actions button {
  background: transparent;
  border: 2px solid #7ee7ff;
  color: #d9f8ff;
  cursor: pointer;
  font-family: inherit;
  font-size: 22px;
  padding: 8px 18px;
}

.fan-notice-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.4;
}

@media (max-width: 700px) {
  .fan-notice-overlay {
    padding: 12px;
  }

  .fan-notice-dialog {
    max-height: calc(100vh - 24px);
    padding: 18px;
  }

  .fan-notice-dialog h1 {
    font-size: 28px;
  }

  .fan-notice-dialog p,
  .fan-notice-check,
  .fan-notice-actions button {
    font-size: 18px;
  }
}

@media (max-height: 620px) {
  .fan-notice-dialog h1 {
    font-size: 24px;
    margin-bottom: 8px;
  }

  .fan-notice-dialog p {
    font-size: 16px;
    line-height: 1.25;
    margin: 8px 0;
  }

  .fan-notice-check {
    font-size: 16px;
    margin: 12px 0;
  }

  .fan-notice-actions button {
    font-size: 17px;
    padding: 6px 14px;
  }
}
