/* 注册页：说明区块 + 步骤卡 */

.page-register .home-logo {
  font-size: clamp(2.2rem, 8vw, 3rem);
  letter-spacing: 0.02em;
}

.page-register .home-msg {
  min-height: 0;
  margin: 0;
}

.page-register .home-msg:not(:empty) {
  margin-top: 12px;
  min-height: 1.2rem;
}

.page-register .home-msg:empty {
  display: none;
}

.page-register .register-panel .home-actions {
  margin-top: 0;
}

.page-register .register-wrap {
  max-width: 480px;
}

.page-register .home-block {
  gap: 14px;
}

.register-guide {
  text-align: left;
}

.guide-title {
  margin: 0 0 12px;
  font-size: 1rem;
  font-weight: 600;
  color: rgba(243, 235, 224, 0.92);
  letter-spacing: 0.02em;
}

.guide-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.guide-list li {
  position: relative;
  padding: 10px 12px 10px 36px;
  border-radius: 10px;
  background: rgba(255, 252, 247, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
  font-size: 0.86rem;
  line-height: 1.55;
  color: #3d3934;
}

.guide-list li::before {
  counter-increment: guide;
  content: counter(guide);
  position: absolute;
  left: 10px;
  top: 10px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(180deg, #e07a3a, #c45f24);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.register-guide {
  counter-reset: guide;
}

.guide-list li strong {
  display: block;
  margin-bottom: 2px;
  color: #2a2622;
  font-weight: 600;
}

.guide-list code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.8em;
  padding: 0.05em 0.35em;
  border-radius: 4px;
  background: rgba(182, 163, 107, 0.28);
  color: #3d3934;
}

.guide-note {
  margin: 12px 0 0;
  font-size: 0.8rem;
  line-height: 1.5;
  color: rgba(243, 235, 224, 0.62);
  opacity: 1;
}

.register-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
}

.register-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-start;
  flex: 1;
  min-width: 0;
}

.register-back {
  flex-shrink: 0;
  padding: 0.35rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(61, 57, 52, 0.14);
  background: rgba(255, 255, 255, 0.55);
  color: var(--muted, #5c5349);
  font-size: 0.82rem;
  text-decoration: none;
  line-height: 1.3;
  white-space: nowrap;
}

.register-back:hover {
  color: var(--ink, #23232b);
  border-color: rgba(182, 163, 107, 0.55);
  background: #fff;
}

.register-steps .step {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(61, 57, 52, 0.12);
  background: rgba(250, 247, 241, 0.8);
  color: var(--muted, #5c5349);
  font-size: 0.82rem;
}

.register-steps .step.is-active {
  color: var(--ink, #23232b);
  border-color: rgba(182, 163, 107, 0.5);
  background: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.register-steps .step.is-done {
  color: var(--ok, #3d7a5c);
  border-color: rgba(61, 122, 92, 0.28);
}

.page-register .register-panel[hidden] {
  display: none !important;
}

.page-register .code-box {
  margin: 0 0 14px;
  padding: 14px 14px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(224, 122, 58, 0.18), rgba(255, 255, 255, 0.06));
  border: 1px dashed rgba(224, 122, 58, 0.45);
}

.page-register .code-label {
  margin: 0;
  font-size: 0.84rem;
  color: rgba(243, 235, 224, 0.72);
}

.page-register .code-value {
  display: block;
  width: 100%;
  margin: 8px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(1.4rem, 5vw, 1.85rem);
  letter-spacing: 0.08em;
  font-weight: 600;
  color: #f8e6d4;
  text-align: left;
  user-select: all;
  word-break: break-all;
  cursor: pointer;
  transition: color 0.15s ease, transform 0.15s ease;
}

.page-register .code-value:hover {
  color: #e07a3a;
}

.page-register .code-value:active {
  transform: scale(0.98);
}

.page-register .code-meta {
  margin: 8px 0 0;
  font-size: 0.8rem;
  color: rgba(243, 235, 224, 0.62);
}

.page-register .verify-pass {
  margin: 0 0 14px;
  text-align: left;
}

.page-register .verify-user {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: rgba(243, 235, 224, 0.95);
  line-height: 1.4;
}

.page-register .verify-hint {
  margin: 4px 0 0;
  font-size: 0.86rem;
  line-height: 1.45;
  color: rgba(243, 235, 224, 0.68);
}

.verify-pass {
  margin: 0 0 0.9rem;
  text-align: left;
}

.verify-user {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: rgba(243, 235, 224, 0.95);
  line-height: 1.4;
}

.verify-hint {
  margin: 0.3rem 0 0;
  font-size: 0.86rem;
  line-height: 1.45;
  color: rgba(243, 235, 224, 0.72);
}

/* 次按钮勿被 button.home-btn 橙色规则盖住 */
.page-register button.home-btn.home-btn-secondary {
  background: rgba(122, 148, 196, 0.55);
  color: #f8f6f2;
  border: 1px solid rgba(186, 206, 235, 0.45);
  box-shadow: none;
  filter: none;
}

.page-register button.home-btn.home-btn-secondary:hover {
  color: #fff;
  border-color: rgba(224, 122, 58, 0.45);
  background: rgba(122, 148, 196, 0.72);
  filter: none;
}
