body {
  background: transparent;
  margin: 0;
  min-height: 100vh;
  color: #e8eefc;
  font-family: "Times New Roman", Times, serif;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: #06038d;
  z-index: -10;
}

.starship-divider {
  position: fixed;
  top: 95px;
  left: 0;
  right: 0;
  height: 3px;
  background: #00e5ff;
  box-shadow: 0 0 10px #00e5ff, 0 0 20px rgba(0, 229, 255, 0.5);
  z-index: 100;
}

.template-header {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
}

.template-title {
  margin: 0;
  color: #ffd700;
  font-family: "Times New Roman", Times, serif;
  font-size: 48px;
  font-style: italic;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
}

.content-area {
  margin-top: 120px;
  padding: 24px;
}

.template-copy {
  max-width: 760px;
  font-size: 18px;
  line-height: 1.5;
}

.starship-clock {
  position: fixed;
  top: 22px;
  left: 17px; /* clock home: 92px then 75px left (VGhost msg2319); propagates to all pages */
  min-width: 0;
  padding: 0;
  z-index: 1001;
}

.starship-clock-time {
  color: #ffd700;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
}

.starship-clock-date {
  display: none;
}

.starship-clock-zone {
  display: none;
}

.starship-clock-status {
  display: none;
}

.starship-tools {
  position: fixed;
  top: 12px;
  right: 12px;
  display: flex;
  gap: 10px;
  z-index: 1002;
}

.starship-tool {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.3);
  color: #ffffff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.starship-tool:disabled {
  cursor: wait;
  opacity: 0.7;
}

.starship-tool-led {
  display: flex;
  align-items: center;
  justify-content: center;
}

.starship-account {
  position: fixed;
  top: 12px;
  right: 112px;
  z-index: 1002;
}

.starship-account-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(255, 215, 0, 0.35);
  border-radius: 999px;
  background: rgba(7, 15, 61, 0.72);
  color: #ffd700;
  text-decoration: none;
  font-size: 16px;
  font-style: italic;
  letter-spacing: 0.04em;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.starship-account-link:hover {
  background: rgba(11, 22, 79, 0.88);
}

.starship-auth-page {
  min-height: 100vh;
}

.starship-auth-shell {
  max-width: 1080px;
  margin: 132px auto 48px;
  padding: 0 24px 32px;
}

.starship-auth-grid {
  display: grid;
  grid-template-columns: minmax(320px, 420px) minmax(320px, 1fr);
  gap: 24px;
  align-items: start;
}

.starship-auth-card,
.starship-account-card {
  background:
    linear-gradient(180deg, rgba(6, 10, 58, 0.9), rgba(5, 8, 39, 0.92)),
    radial-gradient(circle at top right, rgba(255, 215, 0, 0.14), transparent 32%);
  border: 1px solid rgba(255, 215, 0, 0.24);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.starship-auth-card {
  padding: 28px;
}

.starship-account-card {
  padding: 30px;
}

.starship-auth-title,
.starship-account-title {
  margin: 0 0 10px;
  color: #ffd700;
  font-size: 34px;
  font-style: italic;
}

.starship-auth-copy,
.starship-account-copy {
  margin: 0 0 24px;
  color: rgba(232, 238, 252, 0.82);
  line-height: 1.5;
}

.starship-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.starship-form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.starship-form-label {
  color: #ffd700;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.starship-form-input,
.starship-form-textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(255, 215, 0, 0.24);
  border-radius: 10px;
  background: rgba(4, 10, 44, 0.88);
  color: #f6f2cf;
  font: inherit;
  padding: 14px 16px;
}

.starship-form-input:focus,
.starship-form-textarea:focus {
  outline: none;
  border-color: rgba(0, 229, 255, 0.82);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.12);
}

.starship-form-textarea {
  min-height: 160px;
  resize: vertical;
}

.starship-form-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.starship-button {
  border: 0;
  border-radius: 999px;
  padding: 12px 22px;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.starship-button-primary {
  background: linear-gradient(135deg, #ffd700, #c79b12);
  color: #091340;
}

.starship-button-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #e8eefc;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.starship-auth-status {
  min-height: 20px;
  font-size: 14px;
}

.starship-auth-status.is-error {
  color: #ff9898;
}

.starship-auth-status.is-success {
  color: #8ef0c7;
}

.starship-auth-note {
  margin: 0;
  color: rgba(232, 238, 252, 0.74);
  line-height: 1.6;
}

.starship-account-hero {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  align-items: center;
  margin-bottom: 26px;
}

.starship-account-badge {
  width: 120px;
  height: 120px;
  border-radius: 28px;
  border: 1px solid rgba(255, 215, 0, 0.28);
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.16), rgba(0, 229, 255, 0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffd700;
  font-size: 42px;
  font-style: italic;
}

.starship-account-name {
  margin: 0;
  color: #ffd700;
  font-size: 42px;
  font-style: italic;
}

.starship-account-email {
  margin: 6px 0 0;
  color: rgba(232, 238, 252, 0.86);
  font-size: 18px;
}

.starship-account-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 22px;
}

.starship-account-stat {
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.starship-account-stat-label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(232, 238, 252, 0.58);
}

.starship-account-stat-value {
  display: block;
  margin-top: 8px;
  color: #f4e79d;
  font-size: 18px;
}

@media (max-width: 900px) {
  .starship-auth-grid {
    grid-template-columns: 1fr;
  }

  .starship-account-hero {
    grid-template-columns: 1fr;
  }

  .starship-account-strip {
    grid-template-columns: 1fr;
  }

  .starship-account {
    right: 66px;
  }

  .starship-account-link {
    min-height: 36px;
    padding: 0 12px;
    font-size: 14px;
  }
}
