html,
body {
  margin: 0;
  min-height: 100%;
  background: #ffffff;
}

body {
  color: #000000;
  font-family: Arial, "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
}

.hero {
  padding: 114px 24px 42px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.kicker {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 58px;
  margin-bottom: 48px;
  font-size: 18px;
  line-height: 1;
  font-weight: 700;
}

.word {
  display: inline-flex;
}

.glyph {
  display: inline-block;
  color: #000000;
  will-change: color;
}

.word-left {
  animation: driftLeft 5.2s ease-in-out infinite;
}

.word-right {
  animation: driftRight 5.2s ease-in-out infinite;
}

.word-center {
  animation: none;
}

h1 {
  margin: 0;
  font-size: clamp(46px, 5.9vw, 76px);
  line-height: 1.02;
  font-weight: 500;
  letter-spacing: 0;
}

.subtitle {
  max-width: 430px;
  margin: 24px 0 0;
  font-size: 20px;
  line-height: 1.45;
  font-weight: 500;
}

.hero-panel {
  width: min(660px, calc(100% - 96px));
  min-height: 560px;
  margin: 64px auto 0;
  border-radius: 36px;
  background: #ffffff;
  box-shadow: 0 34px 78px rgba(0, 0, 0, 0.16);
  box-sizing: border-box;
  padding: 44px 44px 58px;
  display: grid;
  gap: 14px;
  text-align: left;
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.hero-panel.is-invalid {
  box-shadow: 0 34px 82px rgba(0, 0, 0, 0.16), 0 0 34px rgba(255, 76, 76, 0.42);
}

.hero-panel.is-checking {
  box-shadow: 0 34px 82px rgba(0, 0, 0, 0.16), 0 0 38px rgba(47, 125, 255, 0.46);
  animation: checkingGlow 1.15s ease-in-out infinite;
}

.hero-panel.is-valid {
  box-shadow: 0 34px 82px rgba(0, 0, 0, 0.16), 0 0 34px rgba(30, 186, 99, 0.42);
}

.panel-section {
  box-sizing: border-box;
  border: 2px solid #f3f3f3;
  border-radius: 12px;
  background: #ffffff;
}

.panel-announcement {
  min-height: 46px;
  padding: 12px 16px;
}

.panel-empty {
  visibility: hidden;
}

.panel-announcement p {
  margin: 0;
  color: #111111;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 600;
}

.panel-message {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 16px;
  margin: 0;
  color: #111111;
  font-size: 21px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-align: center;
  opacity: 1;
  transform: translateY(0) scale(1);
  transition:
    opacity 240ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 280ms cubic-bezier(0.22, 1, 0.36, 1),
    color 220ms ease,
    filter 220ms ease;
  will-change: opacity, transform, color, filter;
}

.panel-message-text {
  min-width: 0;
  text-align: center;
  white-space: normal;
}

.panel-message-emoji {
  flex: 0 0 auto;
  font-size: 18px;
  line-height: 1;
  transform: translateY(-1px);
  filter: saturate(1.05);
  user-select: none;
}

.panel-message.is-error {
  color: #d93434;
}

.panel-message.is-hint {
  color: #111111;
}

.panel-info {
  display: grid;
  padding: 16px;
}

.panel-account {
  min-height: 70px;
  display: grid;
  padding: 14px 16px;
}

.panel-account input,
.panel-info-text {
  width: 100%;
  box-sizing: border-box;
  border: 0;
  outline: 0;
  padding: 0;
  color: #111111;
  background: transparent;
  font: inherit;
  line-height: 1.5;
}

.panel-account input {
  min-height: 30px;
  font-size: 17px;
  font-weight: 600;
}

.panel-info-text {
  min-height: 96px;
  color: #111111;
  font-size: 15px;
  font-weight: 600;
  white-space: pre-wrap;
  cursor: default;
  user-select: text;
}

.panel-account input::placeholder {
  color: #9a9a9a;
}

.enter-button {
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: #111111;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.18);
  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.enter-button:hover {
  transform: translateY(-1px);
}

.enter-button.is-invalid {
  background: #e64040;
  box-shadow: 0 16px 30px rgba(230, 64, 64, 0.28), 0 0 24px rgba(230, 64, 64, 0.34);
}

.enter-button.is-checking {
  background: linear-gradient(90deg, #1454d6, #2f7dff, #8ebcff, #1454d6);
  background-size: 240% 100%;
  box-shadow: 0 16px 30px rgba(47, 125, 255, 0.28), 0 0 26px rgba(47, 125, 255, 0.38);
  animation: checkingFlow 1.05s linear infinite;
}

.enter-button.is-valid {
  background: #17a35b;
  box-shadow: 0 16px 30px rgba(23, 163, 91, 0.26), 0 0 24px rgba(23, 163, 91, 0.34);
}

.query-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 2px;
}

.query-action {
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 12px 22px rgba(17, 17, 17, 0.14);
  transition: transform 180ms ease, filter 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.query-action:hover:not(:disabled) {
  transform: translateY(-1px);
  filter: saturate(1.08) brightness(1.03);
  box-shadow: 0 15px 26px rgba(17, 17, 17, 0.18);
}

.query-action:active:not(:disabled) {
  transform: translateY(0) scale(0.985);
}

.query-action:disabled {
  cursor: wait;
  opacity: 0.68;
}

.query-action-batch {
  background: linear-gradient(135deg, #ff7a1a, #ff9f43);
}

.query-action-banned {
  background: linear-gradient(135deg, #2f7dff, #5b9bff);
}

.query-action-refund {
  background: linear-gradient(135deg, #8a5cf6, #a978ff);
}

.account-feedback {
  min-height: 20px;
  margin: -6px 2px 0;
  color: #666666;
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
}

.account-feedback.is-checking {
  color: #1454d6;
  font-weight: 700;
}

.account-feedback.is-valid {
  color: #13864d;
  font-weight: 700;
}

.account-feedback.is-invalid {
  color: #d93434;
  font-weight: 700;
}

@keyframes checkingFlow {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 240% 50%;
  }
}

@keyframes checkingGlow {
  0%,
  100% {
    transform: translateY(0);
    box-shadow: 0 34px 82px rgba(0, 0, 0, 0.16), 0 0 24px rgba(47, 125, 255, 0.26);
  }

  50% {
    transform: translateY(-1px);
    box-shadow: 0 34px 82px rgba(0, 0, 0, 0.16), 0 0 44px rgba(47, 125, 255, 0.54);
  }
}



@keyframes driftLeft {
  0%,
  100% {
    transform: translateX(0);
  }

  28% {
    transform: translateX(-18px);
  }

  40% {
    transform: translateX(-52px);
  }

  58% {
    transform: translateX(-60px);
  }

  76% {
    transform: translateX(-28px);
  }
}

@keyframes driftRight {
  0%,
  100% {
    transform: translateX(0);
  }

  28% {
    transform: translateX(18px);
  }

  40% {
    transform: translateX(52px);
  }

  58% {
    transform: translateX(60px);
  }

  76% {
    transform: translateX(28px);
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 92px 20px 34px;
  }

  .kicker {
    gap: 28px;
    margin-bottom: 44px;
    font-size: 16px;
  }

  h1 {
    font-size: clamp(38px, 12vw, 54px);
  }

  .subtitle {
    max-width: 340px;
    font-size: 17px;
  }

  .hero-panel {
    width: min(100%, calc(100% - 32px));
    min-height: 460px;
    margin-top: 44px;
    border-radius: 28px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.14);
    padding: 28px 22px 40px;
    gap: 16px;
  }

  .panel-announcement,
  .panel-account,
  .panel-info {
    padding: 14px;
  }

  .query-actions {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .query-action {
    min-height: 42px;
    font-size: 13px;
  }

  .panel-message {
    min-height: 40px;
    padding: 0 14px;
    gap: 8px;
    font-size: 18px;
  }

  .panel-message-emoji {
    font-size: 16px;
  }

  .panel-account {
    min-height: 66px;
  }

  .panel-info-text {
    min-height: 76px;
  }

  @keyframes driftLeft {
    0%,
    100% {
      transform: translateX(0);
    }

    28% {
      transform: translateX(-10px);
    }

    40% {
      transform: translateX(-24px);
    }

    58% {
      transform: translateX(-30px);
    }

    76% {
      transform: translateX(-14px);
    }
  }

  @keyframes driftRight {
    0%,
    100% {
      transform: translateX(0);
    }

    28% {
      transform: translateX(10px);
    }

    40% {
      transform: translateX(24px);
    }

    58% {
      transform: translateX(30px);
    }

    76% {
      transform: translateX(14px);
    }
  }
}
