:root {
  --accent: #3d4f5c;
  --hover: #2f3d48;
  --ink: #111;
  --muted: #888;
  --bg: #fff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
  overflow: hidden;
}

body {
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.banner {
  width: 100%;
  height: 160px;
  background: var(--accent);
  position: relative;
  display: flex;
  justify-content: center;
  flex-shrink: 0;
}

.avatar {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -100px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 6px solid #fff;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
  background: var(--accent);
  overflow: hidden;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.profile-info {
  margin-top: 115px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0 24px;
  text-align: center;
}

.name-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

h1 {
  font-size: 24px;
  font-weight: 700;
}

.verified {
  color: #3897f0;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.subtitle {
  font-size: 14px;
  color: var(--muted);
}

.btn-area,
.verify-area {
  margin-top: 24px;
  width: 100%;
  max-width: 360px;
  padding: 0 16px;
}

.verify-area {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.btn {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--accent);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  padding: 16px;
  border-radius: 18px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  user-select: none;
  transition: background 0.15s, opacity 0.15s;
}

.btn:hover {
  background: var(--hover);
}

.btn:active {
  opacity: 0.8;
}

#status,
.verify-msg {
  margin-top: 12px;
  font-size: 13px;
  color: #999;
  text-align: center;
  padding: 0 16px;
  min-height: 18px;
}

.verify-msg {
  margin-top: 0;
  font-size: 15px;
  color: #666;
}

.error-msg {
  font-size: 14px;
  color: #c62828;
  text-align: center;
}

.btn-retry {
  padding: 12px 40px;
  background: var(--accent);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: 14px;
  cursor: pointer;
}

@media (max-height: 520px) {
  .banner {
    height: 120px;
  }

  .avatar {
    width: 160px;
    height: 160px;
    bottom: -80px;
  }

  .profile-info {
    margin-top: 90px;
  }

  h1 {
    font-size: 20px;
  }

  .btn {
    padding: 13px;
    font-size: 16px;
  }
}
