* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif;
  background: #f3f6fb;
  color: #111827;
}

[hidden] {
  display: none !important;
}

.shell {
  max-width: 1220px;
  margin: 0 auto;
  padding: 34px 22px 56px;
}

.hero,
.panel,
.result,
.steps {
  background: #fff;
  border: 1px solid #dfe7f0;
  border-radius: 22px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .06);
}

.hero {
  padding: 28px;
  margin-bottom: 22px;
}

.hero-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
}

.eyebrow {
  margin: 0 0 10px;
  color: #2563eb;
  font-weight: 900;
  font-size: 15px;
}

.brand-link {
  color: #2563eb;
  text-decoration: none;
}

.brand-link:hover,
.help-link a:hover,
.credit a:hover {
  text-decoration: underline;
}

h1 {
  margin: 0;
  font-size: 40px;
  line-height: 1.15;
  letter-spacing: 0;
}

.lead {
  max-width: 760px;
  margin: 14px 0 0;
  color: #4b5563;
  font-size: 17px;
  line-height: 1.8;
}

.credit {
  min-width: 310px;
  max-width: 370px;
  border: 2px solid #b7791f;
  border-radius: 10px;
  background: #fffaf0;
  padding: 18px 22px 16px;
  color: #4a3412;
  box-shadow: inset 0 0 0 5px #fff4cf, inset 0 0 0 7px #d6a93d, 0 10px 24px rgba(120, 80, 20, .08);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.credit::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(183, 121, 31, .35);
  border-radius: 6px;
  pointer-events: none;
}

.credit::after {
  content: "谢";
  position: absolute;
  right: 18px;
  bottom: 14px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 2px solid #dc2626;
  border-radius: 50%;
  color: #dc2626;
  font-size: 22px;
  font-weight: 900;
  opacity: .82;
  transform: rotate(-12deg);
}

.cert-title {
  display: inline-block;
  margin: 0 0 8px;
  padding: 0 22px 8px;
  border-bottom: 1px solid rgba(183, 121, 31, .55);
  color: #8a4f08;
  font-size: 20px;
  font-weight: 900;
}

.credit strong {
  display: block;
  font-size: 22px;
  margin: 3px 0 7px;
  color: #5b3b08;
}

.credit span {
  display: block;
  color: #7c5b1d;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.55;
  margin-bottom: 9px;
}

.credit a {
  color: #92400e;
  text-decoration: none;
  font-weight: 900;
  word-break: break-all;
  font-size: 12px;
  display: inline-block;
  max-width: 230px;
}

.guide-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.guide-item {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 14px;
}

.guide-item strong {
  display: block;
  margin-bottom: 6px;
  color: #111827;
  font-size: 14px;
}

.guide-item span {
  color: #64748b;
  font-size: 13px;
  line-height: 1.55;
}

.layout {
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.panel,
.result,
.steps {
  padding: 24px;
}

.panel h2,
.result h2,
.steps h2 {
  margin: 0 0 18px;
  font-size: 22px;
}

label {
  display: block;
  margin: 14px 0 7px;
  color: #374151;
  font-weight: 800;
  font-size: 14px;
}

input,
textarea {
  width: 100%;
  border: 1px solid #d1d9e6;
  border-radius: 13px;
  background: #fff;
  color: #111827;
  font-size: 15px;
}

input {
  height: 46px;
  padding: 0 13px;
}

textarea {
  min-height: 138px;
  padding: 12px 13px;
  resize: vertical;
  line-height: 1.5;
  font-family: "SFMono-Regular", Consolas, monospace;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 5px;
  background: #eef2f7;
  border-radius: 15px;
  margin-top: 8px;
}

.auth-tabs button {
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #475569;
  font-weight: 900;
  cursor: pointer;
}

.auth-tabs button.active {
  background: #fff;
  color: #1d4ed8;
  box-shadow: 0 6px 16px rgba(15, 23, 42, .08);
}

.primary {
  width: 100%;
  height: 48px;
  margin-top: 18px;
  border: 0;
  border-radius: 14px;
  background: #2563eb;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
}

.primary:hover {
  background: #1d4ed8;
}

.primary:disabled {
  opacity: .55;
  cursor: not-allowed;
}

.note {
  margin: 14px 0 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.7;
}

.status-panel {
  min-width: 0;
}

.status-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.status-head h2 {
  margin: 0;
}

.copy {
  height: 42px;
  border: 0;
  border-radius: 13px;
  padding: 0 16px;
  background: #eef2ff;
  color: #1e3a8a;
  font-weight: 900;
  cursor: pointer;
}

.terminal {
  height: 518px;
  margin: 0;
  overflow: auto;
  border-radius: 16px;
  padding: 18px;
  background: #020617;
  color: #d1fae5;
  white-space: pre-wrap;
  word-break: break-word;
  line-height: 1.65;
  font-size: 14px;
  font-family: "SFMono-Regular", Consolas, monospace;
}

.result {
  margin-top: 22px;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.result-grid div {
  position: relative;
  min-width: 0;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 14px;
}

.result-grid strong {
  display: block;
  color: #64748b;
  font-size: 13px;
  margin-bottom: 8px;
}

.result-grid span,
.result-grid a {
  color: #111827;
  font-weight: 900;
  word-break: break-all;
}

.mini-copy {
  position: absolute;
  top: 10px;
  right: 10px;
  height: 30px;
  border: 0;
  border-radius: 10px;
  padding: 0 10px;
  background: #e0e7ff;
  color: #1e3a8a;
  font-weight: 900;
  font-size: 12px;
  cursor: pointer;
}

.warning {
  margin-top: 14px;
  border-radius: 15px;
  border-left: 5px solid #f59e0b;
  background: #fffbeb;
  color: #92400e;
  padding: 13px 15px;
  font-weight: 700;
  line-height: 1.7;
}

.steps {
  margin-top: 22px;
}

.steps ol {
  margin: 0;
  padding-left: 22px;
  color: #374151;
  line-height: 1.9;
}

.help-link {
  margin: 14px 0 0;
  color: #475569;
  font-weight: 700;
}

.help-link a {
  color: #2563eb;
  text-decoration: none;
  word-break: break-all;
}

@media (max-width: 980px) {
  .hero-top {
    display: block;
  }

  .credit {
    margin-top: 18px;
    min-width: 0;
    max-width: none;
  }

  .guide-row {
    grid-template-columns: 1fr 1fr;
  }

  .layout {
    grid-template-columns: 1fr;
  }

  .terminal {
    height: 420px;
  }

  .result-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .shell {
    padding: 16px 14px 38px;
  }

  h1 {
    font-size: 31px;
  }

  .guide-row,
  .result-grid {
    grid-template-columns: 1fr;
  }
}


.project-link {
  margin: 10px 0 0;
  color: #475569;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.5;
}

.project-link a {
  color: #2563eb;
  text-decoration: none;
  word-break: break-all;
}

.project-link a:hover {
  text-decoration: underline;
}























@media (max-width: 560px) {
  
}




.security-note {
  width: 100%;
  margin: 24px 0 0;
  border: 2px solid #bfdbfe;
  border-radius: 16px;
  background: #eff6ff;
  padding: 14px 16px;
  color: #1e3a8a;
}

.security-note p {
  margin: 0;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.65;
}

.support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.support-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 15px;
  border-radius: 999px;
  background: #2563eb;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.support-actions a:last-child {
  background: #111827;
}

.support-actions a:hover {
  filter: brightness(.95);
}
