#startupPopup:not([hidden]) {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background: rgba(0, 0, 0, 0.6);
  overflow-y: auto;
  padding-block: 14px;
}

.startup-popup-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  width: 100%;
  padding-inline: 16px;
  box-sizing: border-box;
}

.su-popup {
  position: relative;
  background: var(--g09);
  border-radius: 14px;
  border: 1px solid var(--g08);
  width: 1040px;
  max-width: calc(100vw - 32px);
  height: 90vh;
  padding: 24px 24px 32px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.su-progress {
  height: 2px;
  background: var(--g08);
  border-radius: 2px;
  margin-bottom: 24px;
  overflow: hidden;
}

.su-progress-bar {
  height: 100%;
  background: var(--g02);
  border-radius: 2px;
  transition: width 0.25s ease;
}

.su-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}

.su-back {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: transparent;
  border: none;
  color: var(--g05);
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.su-back i {
  font-size: 20px;
  line-height: 1;
}
.su-back:hover {
  color: var(--g02);
}

.su-title {
  font-size: 16px;
  line-height: 26px;
  font-weight: 600;
  color: var(--g02);
  flex: 1;
  margin: 0;
}

.su-step-label {
  font-size: 14px;
  line-height: 24px;
  font-weight: 400;
  color: var(--g05);
  flex-shrink: 0;
  margin: 0;
}

.su-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  margin-bottom: 24px;
}

.su-subtitle {
  font-size: 14px;
  line-height: 24px;
  font-weight: 400;
  color: var(--g05);
  margin: 0 0 16px;
}

.su-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}
.su-field label {
  font-size: 14px;
  line-height: 24px;
  font-weight: 400;
  color: var(--g05);
  margin-bottom: 8px;
}
.su-field input {
  background: var(--g08);
  border: 1.5px solid var(--g08);
  border-radius: 10px;
  height: 50px;
  padding: 0 16px;
  font-size: 14px;
  line-height: 24px;
  font-weight: 400;
  color: var(--g02);
  outline: none;
  transition: border-color 0.15s ease;
  box-sizing: border-box;
  width: 100%;
}
.su-field input::placeholder {
  color: var(--g05);
}
.su-field input:focus {
  border-color: var(--g05);
}
.su-field input.is-error {
  border-color: #e60024;
}

.su-input-at-wrapper {
  display: flex;
  align-items: center;
  background: var(--g08);
  border: 1.5px solid var(--g08);
  border-radius: 100px;
  height: 54px;
  padding: 0 16px;
  gap: 6px;
  transition: border-color 0.15s ease;
  box-sizing: border-box;
}
.su-input-at-wrapper:focus-within {
  border-color: var(--g05);
}
.su-input-at-wrapper .su-at-prefix {
  display: inline-flex;
  align-items: center;
  color: var(--g05);
  flex-shrink: 0;
}
.su-input-at-wrapper .su-at-prefix i {
  font-size: 28px;
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.su-input-at-wrapper input {
  flex: 1;
  background: transparent;
  border: none !important;
  height: 100%;
  padding: 0;
  font-size: 14px;
  line-height: 24px;
  font-weight: 400;
  color: var(--g02);
  outline: none;
}
.su-input-at-wrapper input::placeholder {
  color: var(--g05);
}
.su-input-at-wrapper input.is-error {
  color: #e60024;
}

:root[data-theme=light] .su-input-at-wrapper {
  background: var(--g10, var(--g09));
  border-color: var(--g10, var(--g09));
}

.su-note {
  font-size: 14px;
  line-height: 24px;
  font-weight: 400;
  color: var(--g05);
  margin: 8px 0 0;
  display: flex;
  align-items: flex-start;
  gap: 4px;
}
.su-note i {
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

.su-identity-row {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
}

.su-identity-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  height: 52px;
  padding: 0 16px;
  background: transparent;
  border: 1.5px solid var(--g06);
  border-radius: 10px;
  font-size: 14px;
  line-height: 24px;
  font-weight: 400;
  color: var(--g02);
  cursor: pointer;
  transition: border-color 0.15s ease;
}
.su-identity-btn i {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 28px;
  width: 16px;
  height: 16px;
  line-height: 1;
}
.su-identity-btn:hover {
  border-color: var(--g05);
}
.su-identity-btn.is-selected {
  border-color: var(--g02);
}

.su-pref-label {
  font-size: 14px;
  line-height: 24px;
  font-weight: 400;
  color: var(--g05);
  margin-bottom: 12px;
  text-align: center;
}

.su-pref-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.su-pref-btn {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
  height: 52px;
  padding: 0 16px;
  background: transparent;
  border: 1.5px solid var(--g06);
  border-radius: 10px;
  font-size: 14px;
  line-height: 24px;
  font-weight: 400;
  color: var(--g02);
  cursor: pointer;
  transition: border-color 0.15s ease;
}
.su-pref-btn:hover {
  border-color: var(--g05);
}
.su-pref-btn.is-selected {
  border-color: var(--g02);
}
.su-pref-btn.is-selected .su-pref-dot {
  background: var(--g02);
}
.su-pref-btn.is-selected .su-pref-dot i {
  opacity: 1;
}

.su-pref-dot {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--g06);
  transition: background 0.15s ease;
}
.su-pref-dot i {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 30px;
  width: 16px;
  height: 16px;
  line-height: 1;
  color: var(--g01);
  opacity: 0;
  transition: opacity 0.15s ease;
}

.su-textarea-wrapper {
  margin-bottom: 0;
}
.su-textarea-wrapper textarea {
  width: 100%;
  min-height: 140px;
  background: var(--g08);
  border: 1.5px solid var(--g08);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 14px;
  line-height: 24px;
  font-weight: 400;
  color: var(--g02);
  resize: vertical;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.15s ease;
}
.su-textarea-wrapper textarea::placeholder {
  color: var(--g05);
}
.su-textarea-wrapper textarea:focus {
  border-color: var(--g05);
}

.su-body.su-summary {
  align-items: center;
  justify-content: center;
  min-height: 120px;
}

.su-summary-text {
  font-size: 16px;
  line-height: 26px;
  font-weight: 400;
  color: var(--g05);
  text-align: center;
  margin: 0;
}

.su-s1-layout {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 0;
}

.su-s1-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10%;
  gap: 10px;
}

.su-s1-title {
  font-size: 18px;
  line-height: 28px;
  font-weight: 600;
  font-size: 22px;
  line-height: 24px;
  color: var(--g02);
  text-align: center;
  margin: 0;
}

.su-s1-subtitle {
  font-size: 14px;
  line-height: 24px;
  font-weight: 400;
  color: var(--g05);
  text-align: center;
  margin: 0;
}

.su-s1-input-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.su-s1-input-area .su-input-at-wrapper {
  max-width: 380px;
  width: 100%;
}

.su-s1-char-count {
  font-size: 14px;
  line-height: 24px;
  font-weight: 400;
  color: var(--g05);
  text-align: center;
  margin: 0;
  transition: color 0.15s ease;
}
.su-s1-char-count.is-error {
  color: var(--g02);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.su-s1-char-count.is-error i {
  font-size: 24px;
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.su-s1-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.su-s1-progress {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.su-s1-step-label {
  font-size: 14px;
  line-height: 24px;
  font-weight: 400;
  color: var(--g05);
}

.su-s1-prog-track {
  width: 100%;
  max-width: 380px;
  height: 4px;
  background: var(--g08);
  border-radius: 2px;
  overflow: hidden;
}

.su-s1-prog-fill {
  height: 100%;
  background: var(--g02);
  border-radius: 4px;
  transition: width 0.35s ease;
}

.su-close {
  position: absolute;
  top: 20px;
  right: 20px;
  height: 40px;
  padding: 0 20px;
  background: var(--g08);
  border: none;
  border-radius: 100px;
  font-size: 14px;
  line-height: 24px;
  font-weight: 400;
  color: var(--g05);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.su-close:hover {
  background: var(--g06);
  color: var(--g02);
}

:root[data-theme=light] .su-close {
  background: var(--g10, var(--g09));
}
:root[data-theme=light] .su-close:hover {
  background: var(--g06);
}

.su-btn-pill {
  height: 46px;
  padding: 0 40px;
  background: transparent;
  border: 1.5px solid var(--g06);
  border-radius: 100px;
  font-size: 14px;
  line-height: 24px;
  font-weight: 400;
  color: var(--g02);
  cursor: pointer;
  transition: border-color 0.15s ease;
}
.su-btn-pill:hover {
  border-color: var(--g05);
}

.su-btn-primary {
  width: 100%;
  height: 52px;
  background: var(--g02);
  border: none;
  border-radius: 10px;
  font-size: 16px;
  line-height: 26px;
  font-weight: 600;
  color: var(--g01);
  cursor: pointer;
  transition: opacity 0.15s ease;
}
.su-btn-primary:hover {
  opacity: 0.9;
}

.su-s3-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  flex: 1;
  min-height: 0;
  margin-top: 30px;
}

.su-s3-identity-row {
  position: relative;
  display: flex;
  gap: 4px;
  background: var(--g08);
  border-radius: 100px;
  padding: 4px;
}

:root[data-theme=light] .su-s3-identity-row {
  background: var(--g10, var(--g09));
}

.su-s3-slider {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 130px;
  height: 46px;
  border: 1.5px solid var(--g02);
  border-radius: 100px;
  pointer-events: none;
  transition: transform 0.25s ease;
}
.su-s3-identity-row[data-active=expert] .su-s3-slider {
  transform: translateX(134px);
}

.su-s3-identity-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 130px;
  height: 46px;
  padding: 0;
  background: transparent;
  border: 1.5px solid transparent;
  border-radius: 100px;
  font-size: 14px;
  line-height: 24px;
  font-weight: 400;
  color: var(--g02);
  cursor: pointer;
  transition: border-color 0.15s ease;
}
.su-s3-identity-btn i {
  font-size: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.su-s3-pref-label {
  font-size: 14px;
  line-height: 24px;
  font-weight: 400;
  color: var(--g05);
  text-align: center;
  margin: 0;
}

.su-s3-tags-box {
  position: relative;
  width: 100%;
  max-width: 560px;
  flex: 1;
  min-height: 180px;
  border: 1.5px solid transparent;
  border-radius: 14px;
  background: linear-gradient(var(--g09), var(--g09)) padding-box, linear-gradient(to bottom, var(--g06) 40%, transparent 100%) border-box;
}

.su-s4-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  flex: 1;
  min-height: 0;
  margin-top: 30px;
}
.su-s4-body .su-input-at-wrapper .su-at-prefix i {
  font-size: 24px;
}
.su-s4-body .su-input-at-wrapper {
  width: 100%;
  max-width: 560px;
}

.su-s4-char-counter {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 14px;
  line-height: 24px;
  font-weight: 400;
  color: var(--g05);
  pointer-events: none;
}

.su-s4-textarea-box {
  position: relative;
  width: 100%;
  max-width: 560px;
  flex: 1;
  min-height: 0;
  border: 1.5px solid transparent;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(var(--g09), var(--g09)) padding-box, linear-gradient(to bottom, var(--g06) 40%, transparent 100%) border-box;
}
.su-s4-textarea-box::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent 0%, var(--g09) 60%);
  pointer-events: none;
  z-index: 1;
}
.su-s4-textarea-box textarea {
  width: 100%;
  height: 100%;
  background: transparent;
  border: none;
  outline: none;
  padding: 16px 100px 60px 16px;
  font-size: 14px;
  line-height: 24px;
  font-weight: 400;
  color: var(--g02);
  resize: none;
  box-sizing: border-box;
}
.su-s4-textarea-box textarea::placeholder {
  color: var(--g05);
}

.su-s4-upload-box {
  width: 100%;
  max-width: 560px;
  flex: 1;
  min-height: 0;
  border: 1.5px solid transparent;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  background: linear-gradient(var(--g09), var(--g09)) padding-box, linear-gradient(to bottom, var(--g06) 40%, transparent 100%) border-box;
}

.su-s4-upload-empty {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
}
.su-s4-upload-empty .su-s4-upload-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 14px;
}
.su-s4-upload-empty .su-s4-upload-content .su-s4-upload-icon i {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 70px;
  height: 70px;
  font-size: 60px;
  color: var(--g02);
  line-height: 1;
}
.su-s4-upload-empty .su-s4-upload-content .su-s4-upload-text {
  font-size: 16px;
  line-height: 26px;
  font-weight: 600;
  color: var(--g02);
}
.su-s4-upload-empty .su-s4-upload-content .su-s4-upload-text .su-s4-upload-note {
  display: block;
  font-size: 14px;
  line-height: 24px;
  font-weight: 400;
  color: var(--g05);
  margin-top: 4px;
}
.su-s4-upload-empty .su-s4-upload-content .su-s4-upload-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 70px;
  height: 36px;
  background: var(--g05);
  border: none;
  border-radius: 50px;
  font-size: 14px;
  line-height: 24px;
  font-weight: 600;
  color: var(--g01);
  opacity: 0.5;
  margin: 10px 0 0 0;
  cursor: pointer;
  transition: background 0.1s ease, opacity 0.1s ease;
}
.su-s4-upload-empty .su-s4-upload-content .su-s4-upload-btn:hover {
  background: var(--g02);
  color: var(--g01);
  opacity: 1;
}

.su-s3-tags-counter {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 14px;
  line-height: 24px;
  font-weight: 400;
  color: var(--g05);
  pointer-events: none;
}

.su-s3-tags-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px;
}

.su-s3-tag {
  height: 44px;
  padding: 0 20px;
  background: transparent;
  border: 1.5px solid var(--g06);
  border-radius: 100px;
  font-size: 14px;
  line-height: 24px;
  font-weight: 400;
  color: var(--g02);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.su-s3-tag:hover {
  border-color: var(--g05);
}
.su-s3-tag.is-selected {
  background: color-mix(in srgb, var(--tag-color) 40%, transparent);
  border-color: var(--tag-color);
  color: var(--g02);
}

@media (max-width: 520px) {
  .startup-popup-container {
    align-items: flex-end;
    padding-inline: 0;
    padding-block: 0;
  }
  #startupPopup:not([hidden]) {
    align-items: flex-end;
    padding-block: 0;
  }
  .su-popup {
    border-radius: 20px 20px 0 0;
    max-width: 100%;
    width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    justify-content: space-between;
  }
  .su-body {
    flex: 0 0 auto;
  }
}
