:root {
  --bg-start: #f6f8fc;
  --bg-end: #eef4ff;
  --card-bg: rgba(255, 255, 255, 0.94);
  --card-border: rgba(96, 138, 196, 0.18);
  --primary: #2f86ff;
  --primary-deep: #1667d9;
  --primary-soft: rgba(47, 134, 255, 0.14);
  --text-main: #1b2430;
  --text-sub: #66758a;
  --danger: #d64545;
  --shadow: 0 18px 48px rgba(26, 71, 140, 0.14);
  --line: #dbe4f0;
  --table-line: #aebdce;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

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

body {
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  color: var(--text-main);
  background: #ffffff;
}

img {
  display: block;
  max-width: 100%;
}

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

.entry-body,
.profile-body {
  display: flex;
}

.entry-shell,
.profile-shell {
  width: min(100%, 1080px);
  margin: 0 auto;
  padding: 24px 18px 40px;
}

.verify-card,
.profile-panel {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.verify-card {
  width: min(100%, 360px);
  margin: min(15vh, 110px) auto 0;
  padding: 0 14px 18px;
  border-radius: 0;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--primary-deep);
}

.verify-title,
.profile-title {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 600;
  text-align: center;
}

.verify-desc,
.profile-subtitle {
  margin: 12px 0 0;
  color: var(--text-sub);
  line-height: 1.7;
  font-size: 14px;
}

.verify-form {
  margin-top: 54px;
}

.captcha-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 108px;
  gap: 8px;
  align-items: center;
}

.captcha-input {
  width: 100%;
  height: 42px;
  border: 1px solid #2f2f2f;
  border-radius: 4px;
  padding: 0 10px;
  background: #fff;
  color: #333333;
  font-size: 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.captcha-input:focus {
  outline: none;
  border-color: #f0ab24;
  border-width: 2px;
  box-shadow: none;
}

.captcha-input::placeholder {
  color: #b7b7b7;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.captcha-box {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  border: 2px solid #476cf4;
  border-radius: 0;
  background: #fff;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
}

.captcha-box canvas {
  width: 100%;
  height: 100%;
}

.captcha-message {
  min-height: 22px;
  margin: 10px 2px 0;
  font-size: 13px;
  color: var(--danger);
  text-align: center;
}

.captcha-message.is-success {
  color: #1f8a53;
}

.confirm-button {
  width: 255px;
  display: block;
  margin: 56px auto 0;
  border: none;
  border-radius: 999px;
  padding: 13px 20px;
  background: #456df1;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

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

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

.profile-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--primary-deep);
  text-decoration: none;
  white-space: nowrap;
}

.profile-panel {
  overflow: hidden;
  border-radius: 0;
}

.profile-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  background: #fff;
}

.profile-table td {
  border: 1px solid var(--table-line);
  padding: 10px 8px;
  font-size: 13px;
  vertical-align: middle;
  line-height: 1.45;
}

.profile-table .label-cell {
  width: 44%;
  text-align: right;
  color: #1d2330;
  background: #ffffff;
  white-space: nowrap;
}

.profile-table .value-cell {
  width: 56%;
  word-break: break-all;
  color: #111111;
}

.profile-table .photo-label-cell {
  width: 44%;
  text-align: right;
  background: #ffffff;
}

.profile-table .photo-cell {
  background: #fff;
}

.table-photo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 0;
}

.table-photo {
  width: 100px;
  aspect-ratio: 173 / 243;
  object-fit: cover;
  border: 1px solid #8b97a8;
  background: #fff;
}

@media (max-width: 420px) {
  .entry-shell,
  .profile-shell {
    padding-left: 18px;
    padding-right: 18px;
  }

  .verify-card {
    width: min(100%, 330px);
    margin-top: 86px;
    padding: 0;
  }

  .captcha-row {
    grid-template-columns: minmax(0, 1fr) 102px;
    gap: 6px;
  }

  .captcha-box {
    width: 102px;
    min-width: 102px;
  }

  .captcha-input {
    height: 40px;
    padding: 0 8px;
    min-width: 0;
  }

  .confirm-button {
    width: 255px;
    margin-top: 58px;
    font-size: 16px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .profile-shell {
    padding-top: 10px;
    padding-bottom: 16px;
  }

  .profile-header {
    display: none;
  }

  .profile-panel {
    border-radius: 0;
    background: #ffffff;
    box-shadow: none;
    backdrop-filter: none;
  }

  .profile-table td {
    padding: 8px 6px;
    font-size: 12px;
  }

  .profile-table .label-cell,
  .profile-table .photo-label-cell {
    width: 45%;
  }

  .profile-table .value-cell,
  .profile-table .photo-cell {
    width: 55%;
  }

  .table-photo {
    width: 92px;
  }
}

@media (min-width: 768px) {
  .profile-shell {
    padding-top: 40px;
    padding-bottom: 56px;
  }

  .profile-panel {
    border-radius: 24px;
  }

  .profile-table td {
    padding: 16px 18px;
    font-size: 16px;
    line-height: 1.6;
  }

  .profile-table .label-cell,
  .profile-table .photo-label-cell {
    width: 30%;
    background: #f8fbff;
  }

  .profile-table .value-cell,
  .profile-table .photo-cell {
    width: 70%;
  }

  .table-photo-wrap {
    justify-content: flex-start;
    padding: 8px 0;
  }

  .table-photo {
    width: 173px;
    border: 1px solid rgba(47, 134, 255, 0.18);
  }
}
