:root {
  --verify-ink: #b8503e;
  --verify-button: #a94734;
  --verify-button-hover: #923626;
  --verify-card: rgba(255, 255, 255, 0.2);
  --verify-shadow: rgba(130, 68, 52, 0.18);
  --green: #10a982;
  --green-dark: #07946f;
  --green-soft: #4fb894;
  --white: #ffffff;
  --text: #3b3f43;
  --muted: #858d93;
  --danger: #c95b5b;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  color: var(--text);
}

button,
input {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.verify-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 72% 52%, rgba(255, 219, 178, 0.7), transparent 34rem),
    linear-gradient(115deg, #f7a2bc 0%, #f7aaa7 47%, #ffd2a4 100%);
}

.verify-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.verify-panel {
  width: min(320px, 88vw);
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 20px 18px 12px;
  border-radius: 18px;
  background: var(--verify-card);
  box-shadow: 0 26px 68px var(--verify-shadow);
  backdrop-filter: blur(2px);
  animation: rise-in 480ms ease both;
}

.verify-title {
  margin: 0;
  color: var(--verify-ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}

.verify-hint {
  margin: 0 0 4px;
  color: var(--verify-ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.verify-form {
  width: 100%;
  display: grid;
  justify-items: center;
  gap: 12px;
}

.verify-input {
  width: min(220px, 100%);
  height: 38px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  outline: none;
  background: rgba(255, 255, 255, 0.95);
  color: #5b4d4a;
  box-shadow: 0 12px 28px rgba(122, 78, 68, 0.16);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.verify-input:focus {
  border-color: rgba(169, 71, 52, 0.72);
  box-shadow: 0 14px 30px rgba(122, 78, 68, 0.2), 0 0 0 4px rgba(169, 71, 52, 0.13);
}

.verify-input.is-error {
  border-color: rgba(201, 91, 91, 0.88);
  box-shadow: 0 14px 30px rgba(122, 78, 68, 0.2), 0 0 0 4px rgba(201, 91, 91, 0.16);
}

.verify-button {
  min-width: 72px;
  min-height: 42px;
  border: 0;
  border-radius: 10px;
  padding: 9px 18px;
  color: var(--white);
  background: linear-gradient(180deg, #b95842, var(--verify-button));
  box-shadow: 0 12px 28px rgba(121, 52, 34, 0.26);
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.verify-button:hover {
  background: linear-gradient(180deg, #ad4b36, var(--verify-button-hover));
  box-shadow: 0 14px 34px rgba(121, 52, 34, 0.32);
  transform: translateY(-1px);
}

.verify-button:active {
  transform: translateY(0);
}

.verify-error {
  min-height: 18px;
  margin: -4px 0 0;
  color: var(--danger);
  font-size: 12px;
  line-height: 1.5;
}

.welcome-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 100% 100%, rgba(128, 183, 117, 0.62), transparent 28rem),
    linear-gradient(115deg, var(--green) 0%, #20ad88 46%, #6cb887 100%);
}

.welcome-shell {
  min-height: 100vh;
  display: grid;
  align-content: start;
  justify-items: center;
  padding: 24px 18px;
}

.site-title {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.15;
}

.link-card {
  width: min(420px, calc(100vw - 36px));
  display: grid;
  gap: 14px;
  padding: 24px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 46px rgba(0, 104, 78, 0.18);
  animation: rise-in 520ms ease both;
}

.bookmark-banner,
.primary-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  border-radius: 6px;
  color: var(--white);
  background: var(--green);
  font-size: clamp(17px, 4.5vw, 22px);
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
}

.ad-note {
  margin: 0;
  color: var(--danger);
  font-size: clamp(14px, 3.6vw, 17px);
  font-style: italic;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

.primary-link {
  text-decoration: none;
  background: linear-gradient(180deg, #12b38b, var(--green-dark));
  box-shadow: 0 12px 24px rgba(4, 142, 105, 0.18);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.primary-link:hover {
  filter: brightness(1.03);
  box-shadow: 0 15px 30px rgba(4, 142, 105, 0.25);
  transform: translateY(-1px);
}

.primary-link:active {
  transform: translateY(0);
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 560px) {
  .verify-panel {
    padding-inline: 16px;
  }

  .welcome-shell {
    padding-top: 18px;
  }

  .link-card {
    gap: 12px;
    padding: 18px;
  }
}
