@charset "UTF-8";

/* 心隅 XINYU · public author onboarding */

.start-page {
  min-height: 100svh;
}

.start-header {
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.start-header__links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.start-header__links a {
  transition: color 180ms ease;
}

.start-header__links a:hover {
  color: var(--ink);
}

.start-header__home {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.start-main {
  display: grid;
  min-height: calc(100svh - 152px);
  grid-template-columns: minmax(0, 1.03fr) minmax(460px, 0.97fr);
  gap: 15px;
  padding-bottom: 26px;
}

.start-story {
  position: relative;
  display: flex;
  min-height: 730px;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: clamp(30px, 4vw, 52px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 42px;
  background:
    radial-gradient(circle at 88% 13%, rgba(121, 104, 240, 0.4), transparent 33%),
    radial-gradient(circle at 2% 97%, rgba(230, 156, 132, 0.24), transparent 38%),
    linear-gradient(155deg, rgba(39, 40, 57, 0.97), rgba(20, 21, 31, 0.99));
  box-shadow: var(--shadow-float);
  color: #fff;
}

.start-story__halo {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  pointer-events: none;
}

.start-story__halo--one {
  top: -12%;
  right: -12%;
  width: 52%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(137, 120, 252, 0.35), transparent 66%);
}

.start-story__halo--two {
  bottom: -25%;
  left: -22%;
  width: 62%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(228, 151, 126, 0.18), transparent 67%);
}

.start-story__rings {
  position: absolute;
  top: 20%;
  right: -15%;
  width: 55%;
  aspect-ratio: 1;
  opacity: 0.34;
  pointer-events: none;
}

.start-story__rings span {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
}

.start-story__rings span:nth-child(2) {
  inset: 14%;
}

.start-story__rings span:nth-child(3) {
  inset: 29%;
}

.start-story__content {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.start-story .eyebrow {
  color: rgba(255, 255, 255, 0.55);
}

.start-story .eyebrow::before {
  background: rgba(255, 255, 255, 0.3);
}

.start-story h1 {
  margin-top: 24px;
  font-size: clamp(58px, 6.5vw, 92px);
  letter-spacing: -0.055em;
  line-height: 0.99;
}

.start-story h1 span {
  color: #b9afff;
  font-style: italic;
}

.start-story__lead {
  max-width: 550px;
  margin-top: 27px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  line-height: 1.95;
}

.start-story__steps {
  display: grid;
  margin-top: 42px;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
}

.start-story__steps li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.start-story__steps li > span {
  padding-top: 2px;
  color: rgba(255, 255, 255, 0.35);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.start-story__steps strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
}

.start-story__steps small {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.44);
  font-size: 10px;
  line-height: 1.65;
}

.start-story__preview {
  position: relative;
  z-index: 1;
  margin-top: 38px;
  padding: 15px;
  border-color: rgba(255, 255, 255, 0.13);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.start-preview__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: rgba(255, 255, 255, 0.44);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.start-preview__top .badge {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(118, 194, 161, 0.12);
  color: #a1d8c2;
}

.start-preview__link {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
  margin-top: 13px;
  padding: 12px 13px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 11px;
  background: rgba(9, 10, 17, 0.24);
}

.start-preview__link .dot {
  flex: 0 0 auto;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #8fd1b6;
  box-shadow: 0 0 10px rgba(143, 209, 182, 0.7);
}

.start-preview__link .mono {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.66);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.start-preview__people {
  display: flex;
  align-items: center;
  margin-top: 12px;
}

.start-preview__people > span {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  margin-left: -5px;
  border: 2px solid #282a3b;
  border-radius: 50%;
  background: linear-gradient(145deg, #d2caff, #f3e8ff);
  color: #51477a;
  font-family: var(--font-display);
  font-size: 10px;
}

.start-preview__people > span:first-child {
  margin-left: 0;
}

.start-preview__people p {
  margin-left: 10px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 9px;
}

.start-panel {
  display: flex;
  min-height: 730px;
  flex-direction: column;
  padding: clamp(28px, 3.5vw, 46px);
  border-radius: 42px;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.73), rgba(255, 255, 255, 0.37)),
    rgba(255, 255, 255, 0.22);
  box-shadow: var(--shadow-card);
}

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

.start-progress {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px 18px;
}

.start-progress li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted-soft);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.06em;
  transition: color 180ms ease;
}

.start-progress li span {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 7px;
}

.start-progress li.is-active,
.start-progress li.is-complete {
  color: var(--ink);
}

.start-progress li.is-active span {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.start-progress li.is-complete span {
  border-color: rgba(53, 116, 90, 0.22);
  background: var(--success-soft);
  color: var(--success);
}

.start-account-switch {
  padding: 6px 10px;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  background: transparent;
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
}

.start-account-switch:hover {
  color: var(--ink);
}

.start-notice {
  margin-top: 18px;
  padding: 10px 12px;
  border: 1px solid rgba(183, 70, 77, 0.14);
  border-radius: 10px;
  background: var(--danger-soft);
  color: var(--danger);
  font-size: 10px;
  line-height: 1.65;
}

.start-view {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding-top: clamp(44px, 6vh, 72px);
}

.start-view__head h2 {
  margin-top: 18px;
  font-size: clamp(43px, 4.5vw, 62px);
  letter-spacing: -0.045em;
  line-height: 1.01;
}

.start-view__head > p:last-child {
  max-width: 470px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.85;
}

.start-auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  margin-top: 27px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.start-auth-tabs button {
  min-height: 38px;
  padding: 8px 10px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease;
}

.start-auth-tabs button.is-active {
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 5px 16px rgba(31, 33, 48, 0.08);
  color: var(--ink);
}

.start-form {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.start-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.start-submit {
  width: 100%;
  margin-top: 4px;
}

.start-form__error {
  padding: 9px 11px;
  border: 1px solid rgba(183, 70, 77, 0.14);
  border-radius: 9px;
  background: var(--danger-soft);
  color: var(--danger);
  font-size: 10px;
  line-height: 1.6;
}

.start-form__note {
  color: var(--muted-soft);
  font-size: 9px;
  line-height: 1.75;
}

.start-slug-field {
  display: flex;
  align-items: center;
  gap: 7px;
  padding-left: 13px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.start-slug-field > span {
  flex: 0 0 auto;
  color: var(--muted-soft);
  font-size: 10px;
}

.start-slug-field .input {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.start-starter {
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0.2));
}

.start-starter__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 600;
}

.start-starter__top small {
  color: var(--muted-soft);
  font-size: 8px;
  font-weight: 500;
}

.start-starter ol {
  display: grid;
  gap: 7px;
  margin-top: 11px;
  counter-reset: starter;
}

.start-starter li {
  display: grid;
  grid-template-columns: 19px minmax(0, 1fr);
  gap: 7px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.6;
  counter-increment: starter;
}

.start-starter li::before {
  color: var(--accent);
  content: "0" counter(starter);
  font-family: var(--font-mono);
  font-size: 7px;
}

.start-view--success {
  justify-content: center;
  padding-top: 34px;
}

.start-success__mark {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border: 1px solid rgba(53, 116, 90, 0.14);
  border-radius: 50%;
  background: var(--success-soft);
  color: var(--success);
  box-shadow: 0 12px 34px rgba(53, 116, 90, 0.1);
}

.start-view--success .start-view__head h2 {
  margin-top: 19px;
}

.start-share-card {
  margin-top: 25px;
  padding: 17px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.38);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.start-share-card__label {
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
}

.start-share-card__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  margin-top: 9px;
}

.start-share-card__row .input {
  min-width: 0;
  font-size: 9px;
}

.start-share-card p {
  margin-top: 9px;
  color: var(--muted-soft);
  font-size: 8px;
  line-height: 1.65;
}

.start-poster-card {
  margin-top: 13px;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 18px;
  background:
    radial-gradient(circle at 95% 8%, rgba(121, 104, 240, 0.1), transparent 34%),
    rgba(255, 255, 255, 0.33);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.start-poster-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.start-poster-card__head > div {
  display: grid;
  gap: 3px;
}

.start-poster-card__kicker {
  color: var(--muted-soft);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.08em;
}

.start-poster-card__head strong {
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
}

.start-poster-card__format {
  flex: 0 0 auto;
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  color: var(--muted-soft);
  font-size: 7px;
}

.start-poster-card__body {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: 15px;
  margin-top: 13px;
}

.start-poster-preview {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 15px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.62), rgba(231, 233, 240, 0.48)),
    rgba(255, 255, 255, 0.36);
  box-shadow: 0 13px 34px rgba(45, 47, 68, 0.09);
}

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

.start-poster-preview.is-loading::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.64) 48%, transparent 61%)
      0 0 / 220% 100%;
  content: "";
  animation: sharePosterShimmer 1.8s ease-in-out infinite;
}

.start-poster-preview.is-error {
  background: var(--danger-soft);
}

.start-poster-preview__loading,
.start-poster-preview__error {
  position: absolute;
  inset: 0;
  display: grid;
  padding: 16px;
  place-items: center;
  color: var(--muted-soft);
  font-size: 8px;
  line-height: 1.7;
  text-align: center;
}

.start-poster-preview__error {
  color: var(--danger);
}

.start-poster-card__copy > p:first-child {
  color: var(--muted);
  font-size: 9px;
  line-height: 1.75;
}

.start-poster-card__copy ul {
  display: grid;
  gap: 5px;
  margin-top: 10px;
  list-style: none;
}

.start-poster-card__copy li {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted-soft);
  font-size: 8px;
  line-height: 1.55;
}

.start-poster-card__copy li::before {
  width: 5px;
  height: 5px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(121, 104, 240, 0.08);
  content: "";
}

.start-poster-card__actions {
  display: grid;
  gap: 7px;
  margin-top: 13px;
}

.start-poster-card__actions .btn {
  width: 100%;
}

.start-poster-card__hint {
  margin-top: 9px;
  color: var(--muted-soft);
  font-size: 7.5px;
  line-height: 1.65;
}

.start-poster-card__note {
  margin-top: 5px;
  color: var(--muted-soft);
  font-size: 7.5px;
  line-height: 1.65;
}

.start-poster-card__note.is-local {
  padding: 8px 9px;
  border: 1px solid rgba(159, 109, 42, 0.13);
  border-radius: 9px;
  background: rgba(255, 244, 223, 0.5);
  color: #87612f;
}

@keyframes sharePosterShimmer {
  from {
    background-position: 100% 0;
  }

  to {
    background-position: -120% 0;
  }
}

.start-success__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 13px;
}

.start-success__share {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  padding: 10px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
}

.start-success__share:hover {
  color: var(--ink);
}

.start-text-button {
  align-self: center;
  margin-top: 11px;
  padding: 4px 8px;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  background: transparent;
  color: var(--muted-soft);
  font-size: 9px;
}

.start-board-list {
  display: grid;
  gap: 9px;
  margin-top: 25px;
}

.start-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.36);
}

.start-board__copy {
  min-width: 0;
}

.start-board__copy strong {
  display: block;
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.start-board__copy span {
  display: block;
  overflow: hidden;
  margin-top: 4px;
  color: var(--muted-soft);
  font-family: var(--font-mono);
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.start-board__actions {
  display: flex;
  align-items: center;
  gap: 5px;
}

.start-board__actions a,
.start-board__actions button {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  color: var(--muted);
  transition:
    background 180ms ease,
    color 180ms ease;
}

.start-board__actions a:hover,
.start-board__actions button:hover {
  background: var(--ink);
  color: #fff;
}

.start-workspace__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.start-panel__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 18px;
  margin-top: auto;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  color: var(--muted-soft);
  font-size: 8px;
}

.start-panel__foot span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.start-footer {
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted-soft);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.start-footer div {
  display: flex;
  gap: 17px;
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0;
}

.start-footer a:hover {
  color: var(--ink);
}

@media (max-width: 1080px) {
  .start-main {
    grid-template-columns: minmax(0, 0.92fr) minmax(430px, 1.08fr);
  }

  .start-story {
    padding: 32px;
  }

  .start-story h1 {
    font-size: clamp(53px, 6.3vw, 74px);
  }

  .start-story__lead {
    font-size: 12px;
  }
}

@media (max-width: 900px) {
  .start-header {
    min-height: 80px;
  }

  .start-main {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .start-panel {
    order: -1;
  }

  .start-story {
    min-height: auto;
  }

  .start-story__content {
    max-width: 680px;
  }

  .start-story__preview {
    max-width: 620px;
  }

  .start-panel {
    min-height: 680px;
  }

  .start-view {
    padding-top: 48px;
  }
}

@media (max-width: 620px) {
  .start-header {
    min-height: 76px;
    padding-inline: 20px;
  }

  .start-header__links > a:first-child {
    display: none;
  }

  .start-header__home {
    padding: 8px 10px;
    font-size: 10px;
  }

  .start-main {
    padding-inline: 12px;
  }

  .start-story {
    min-height: 0;
    padding: 28px 24px;
    border-radius: 30px;
  }

  .start-story h1 {
    margin-top: 19px;
    font-size: clamp(47px, 13.8vw, 64px);
  }

  .start-story__lead {
    margin-top: 21px;
    font-size: 12px;
  }

  .start-story__steps {
    margin-top: 28px;
  }

  .start-story__steps li {
    grid-template-columns: 32px minmax(0, 1fr);
    padding: 13px 0;
  }

  .start-story__preview {
    margin-top: 25px;
  }

  .start-preview__top {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .start-preview__people {
    flex-wrap: wrap;
  }

  .start-preview__people p {
    width: 100%;
    margin: 7px 0 0;
  }

  .start-panel {
    min-height: 0;
    padding: 28px 22px;
    border-radius: 30px;
  }

  .start-panel__top {
    align-items: flex-start;
    flex-direction: column-reverse;
    gap: 10px;
  }

  .start-progress {
    width: 100%;
    justify-content: space-between;
    gap: 7px;
  }

  .start-view,
  .start-view--success {
    padding-top: 38px;
  }

  .start-view__head h2 {
    font-size: clamp(42px, 12vw, 54px);
  }

  .start-form__row,
  .start-success__actions {
    grid-template-columns: 1fr;
  }

  .start-share-card__row {
    grid-template-columns: 1fr;
  }

  .start-share-card__row .btn {
    width: 100%;
  }

  .start-poster-card__body {
    grid-template-columns: 1fr;
  }

  .start-poster-preview {
    width: min(100%, 280px);
    margin-inline: auto;
  }

  .start-poster-card__actions {
    grid-template-columns: 1fr;
  }

  .start-success__actions .btn {
    width: 100%;
  }

  .start-board {
    grid-template-columns: 1fr;
  }

  .start-board__actions {
    justify-content: flex-end;
  }

  .start-workspace__actions {
    display: grid;
  }

  .start-footer {
    min-height: 88px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-inline: 20px;
  }
}
