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;
  text-wrap: pretty;
}

.subtitle-promo {
  display: inline-block;
  position: relative;
  white-space: nowrap;
  color: #087f9c;
  background-image: linear-gradient(100deg, #087f9c 28%, #20c7da 43%, #effeff 50%, #69dfea 57%, #087f9c 72%);
  background-size: 250% 100%;
  background-position: 100% 50%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
  font-weight: 700;
  text-shadow: 0 0 9px rgba(20, 183, 205, 0.22);
  animation: subtitlePromoLight 3.2s ease-in-out infinite;
}

.subtitle-promo:hover,
.subtitle-promo:focus-visible {
  text-decoration: underline;
  text-decoration-color: rgba(8, 127, 156, 0.55);
  text-underline-offset: 4px;
}

@keyframes subtitlePromoLight {
  0%, 18% { background-position: 100% 50%; text-shadow: 0 0 6px rgba(20, 183, 205, 0.16); }
  52% { background-position: 0% 50%; text-shadow: 0 0 13px rgba(20, 183, 205, 0.4); }
  100% { background-position: 0% 50%; text-shadow: 0 0 6px rgba(20, 183, 205, 0.16); }
}

@media (prefers-reduced-motion: reduce) {
  .subtitle-promo {
    animation: none;
    background-position: 50% 50%;
  }
}

.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-promo-text {
  color: var(--promo-base, #087f9c);
  background-image: linear-gradient(
    100deg,
    var(--promo-base, #087f9c) 18%,
    var(--promo-mid, #5aa6b8) 35%,
    var(--promo-highlight, #effeff) 50%,
    var(--promo-bright, #a0ced8) 58%,
    var(--promo-base, #087f9c) 76%
  );
  background-size: 260% 100%;
  background-position: 100% 50%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
  text-shadow: 0 0 7px rgba(var(--promo-shadow-rgb, 8, 127, 156), 0.18);
}

.panel-promo-text.is-animated {
  animation: panelPromoGlow var(--promo-duration, 3.4s) ease-in-out infinite;
}

@keyframes panelPromoGlow {
  0%,
  18% {
    background-position: 100% 50%;
    text-shadow: 0 0 5px rgba(var(--promo-shadow-rgb, 8, 127, 156), 0.14);
  }

  54% {
    background-position: 0% 50%;
    text-shadow: 0 0 11px rgba(var(--promo-shadow-rgb, 8, 127, 156), 0.42);
  }

  100% {
    background-position: 0% 50%;
    text-shadow: 0 0 5px rgba(var(--promo-shadow-rgb, 8, 127, 156), 0.14);
  }
}

.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);
}

.query-action-status {
  background: linear-gradient(135deg, #079b88, #20bfa8);
}

.query-action-2fa {
  background: linear-gradient(135deg, #0b8fa3, #36c3d1);
}

.query-action-placeholder {
  background: linear-gradient(135deg, #8b95a5, #aeb7c3);
}

.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;
}

.contact-widget {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 50;
  width: 282px;
  height: 372px;
  pointer-events: none;
}

.contact-card {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100%;
  box-sizing: border-box;
  padding: 16px;
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 22px 54px rgba(17, 24, 39, 0.2);
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  transform-origin: right bottom;
  pointer-events: auto;
  transition:
    opacity 180ms ease,
    transform 300ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 0s;
}

.contact-card-header {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 32px;
  align-items: center;
  gap: 10px;
}

.contact-avatar {
  display: block;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: cover;
}

.contact-heading {
  min-width: 0;
  display: grid;
  gap: 2px;
  text-align: left;
}

.contact-heading strong {
  overflow: hidden;
  color: #111111;
  font-size: 16px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-heading span {
  overflow: hidden;
  color: #667085;
  font-size: 12px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-close {
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  color: #667085;
  background: #f2f4f7;
  font: inherit;
  font-size: 23px;
  line-height: 1;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.contact-close:hover,
.contact-close:focus-visible {
  color: #111111;
  background: #e8ebef;
  transform: scale(1.04);
  outline: none;
}

.contact-qr-frame {
  width: 224px;
  aspect-ratio: 1;
  box-sizing: border-box;
  margin: 14px auto 0;
  padding: 8px;
  overflow: hidden;
  border: 1px solid #eaecf0;
  border-radius: 16px;
  background: #ffffff;
}

.contact-qr {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  object-fit: contain;
}

.contact-tip {
  margin: 12px 0 0;
  color: #344054;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 600;
  text-align: center;
}

.contact-launcher {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 60px;
  height: 60px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 17px;
  background: transparent;
  box-shadow: 0 12px 28px rgba(20, 184, 197, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.72);
  pointer-events: none;
  cursor: pointer;
  transition:
    opacity 160ms ease,
    transform 280ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 220ms,
    box-shadow 220ms ease,
    filter 220ms ease;
}

.contact-launcher img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.contact-launcher::after {
  content: "";
  position: absolute;
  inset: -25% auto -25% -55%;
  width: 38%;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.72), transparent);
  opacity: 0;
  transform: translateX(-160%) rotate(10deg);
  pointer-events: none;
}

.contact-widget.is-collapsed .contact-card {
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px) scale(0.82);
  pointer-events: none;
  transition:
    opacity 160ms ease,
    transform 240ms cubic-bezier(0.4, 0, 1, 1),
    visibility 0s linear 240ms;
}

.contact-widget.is-collapsed .contact-launcher {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  transition:
    opacity 180ms ease 90ms,
    transform 300ms cubic-bezier(0.22, 1, 0.36, 1) 70ms,
    visibility 0s linear 0s,
    box-shadow 220ms ease,
    filter 220ms ease;
}

.contact-widget.is-collapsed .contact-launcher:hover,
.contact-widget.is-collapsed .contact-launcher:focus-visible {
  transform: translateY(-3px) scale(1.07);
  box-shadow: 0 18px 38px rgba(13, 180, 202, 0.34), 0 0 24px rgba(88, 225, 235, 0.28);
  filter: saturate(1.08) brightness(1.04);
  outline: none;
}

.contact-widget.is-collapsed .contact-launcher:hover::after,
.contact-widget.is-collapsed .contact-launcher:focus-visible::after {
  animation-duration: 1.15s;
}

.contact-widget.is-collapsed .contact-launcher::after {
  animation: contactLauncherLight 2.8s ease-in-out infinite;
}

@keyframes contactLauncherLight {
  0% {
    opacity: 0;
    transform: translateX(-160%) rotate(10deg);
  }

  25% {
    opacity: 0.72;
  }

  100% {
    opacity: 0;
    transform: translateX(560%) rotate(10deg);
  }
}

@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: repeat(2, minmax(0, 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;
  }

  .contact-widget {
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    width: min(258px, calc(100vw - 24px));
    height: 350px;
  }

  .contact-card {
    padding: 14px;
    border-radius: 18px;
  }

  .contact-qr-frame {
    width: min(210px, calc(100% - 12px));
    margin-top: 12px;
  }

  .contact-tip {
    margin-top: 10px;
    font-size: 12px;
  }

  @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);
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-card,
  .contact-launcher,
  .contact-close {
    transition: none;
  }

  .contact-launcher::after {
    animation: none !important;
  }

  .panel-promo-text.is-animated {
    animation: none;
    background-position: 50% 50%;
  }
}
