/* ============================================================
   Username claim — reuses the shape of the blue request sheet so the
   two read as the same family, which they are: one proves who you
   are, the other uses that to ask for a name.
   ============================================================ */
.hc-overlay {
  position: fixed; inset: 0; z-index: 700;
  display: grid; place-items: center; padding: 18px;
  background: rgba(3,5,10,.78); overflow-y: auto;
}
.hc-sheet {
  width: 100%; max-width: 460px; max-height: 92vh;
  display: flex; flex-direction: column;
  border-radius: 20px;
  border: 1px solid var(--line, rgba(255,255,255,.12));
  background: var(--panel, #0e131d);
  color: var(--text, #f5f7fb);
  box-shadow: 0 24px 60px rgba(0,0,0,.5);
}
.hc-head {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 20px 20px 12px;
  border-bottom: 1px solid var(--line, rgba(255,255,255,.1));
}
.hc-head h2 {
  flex: 1 1 auto; margin: 0 0 4px;
  font-family: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  font-size: 1.2rem; font-weight: 600; letter-spacing: -.015em;
}
.hc-head p { margin: 0; line-height: 1.5; }
.hc-close {
  flex: 0 0 auto; width: 30px; height: 30px;
  display: grid; place-items: center; border: 0; border-radius: 9px;
  cursor: pointer; background: rgba(255,255,255,.07); color: var(--text, #f5f7fb);
}
.hc-close svg { width: 16px; height: 16px; }

.hc-body-wrap { overflow-y: auto; padding: 16px 20px 22px; -webkit-overflow-scrolling: touch; }
.hc-body { padding: 0 20px; margin: 14px 0; line-height: 1.6; }
.hc-intro { margin: 0 0 16px; font-size: 13.5px; line-height: 1.6; color: var(--muted, #98a2b8); }

.hc-field { display: block; margin-bottom: 12px; }
.hc-field > span { display: block; margin-bottom: 5px; }
.hc-field .field-input { width: 100%; box-sizing: border-box; }
.hc-field textarea.field-input { resize: vertical; font: inherit; line-height: 1.5; }

.hc-step { margin: 18px 0 8px; }
.hc-step h3 { margin: 0 0 4px; font-size: 14.5px; font-weight: 650; }
.hc-step p { margin: 0; line-height: 1.55; }

.hc-evidence {
  margin: 10px 0 14px; padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--line, rgba(255,255,255,.1));
  background: rgba(255,255,255,.025);
}
.hc-evidence-num {
  font-size: 12px; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: var(--muted, #98a2b8); margin-bottom: 8px;
}

.hc-errors:empty { display: none; }
.hc-errors {
  margin: 14px 0; padding: 12px 14px;
  border-radius: 12px; border-left: 3px solid #e5484d;
  background: rgba(229,72,77,.1); font-size: 13px; line-height: 1.55;
}
.hc-err-title { font-weight: 650; }
.hc-errors ul { margin: 4px 0 0; padding-left: 18px; }

.hc-primary, .hc-ghost {
  border: 0; cursor: pointer; font: inherit;
  font-size: 14.5px; font-weight: 650; padding: 12px 18px; border-radius: 12px;
}
.hc-primary { width: 100%; margin-top: 6px; background: #1a7fe0; color: #fff; }
.hc-primary:disabled { opacity: .55; cursor: default; }
.hc-ghost { background: rgba(255,255,255,.07); color: var(--text, #f5f7fb); }
.hc-actions { display: flex; gap: 10px; padding: 0 20px 20px; }
.hc-actions .hc-primary, .hc-actions .hc-ghost { flex: 1 1 auto; width: auto; margin: 0; }

.hc-foot { margin: 14px 0 0; line-height: 1.55; }

.hc-status { text-align: center; padding: 24px 10px; }
.hc-status-icon {
  width: 46px; height: 46px; margin: 0 auto 12px;
  display: grid; place-items: center; border-radius: 50%;
  background: rgba(26,127,224,.14); color: #1a7fe0;
}
.hc-status-icon svg { width: 24px; height: 24px; }
.hc-status h3 { margin: 0 0 6px; font-size: 16px; font-weight: 650; }
.hc-status p { margin: 0 0 14px; line-height: 1.6; }
.hc-status .hc-primary { max-width: 260px; margin: 0 auto; }

[data-theme="light"] .hc-overlay { background: rgba(20,23,40,.55); }
[data-theme="light"] .hc-ghost { background: rgba(0,0,0,.06); }

@media (max-width: 380px) {
  .hc-head { padding: 16px 16px 10px; }
  .hc-body-wrap { padding: 14px 16px 18px; }
  .hc-actions { padding: 0 16px 16px; flex-direction: column-reverse; }
}
