.start-dialog {
  box-sizing: border-box;
  width: min(440px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  overflow: auto;
  border: 1px solid #ffffff36;
  border-radius: 28px;
  padding: 36px;
  color: #f8f8f5;
  background: #171b19;
  font-family: Figtree, system-ui, sans-serif;
  box-shadow: 0 28px 100px #0009;
  position: fixed;
  margin: auto;
}
.start-dialog::backdrop {
  background: #06100bc4;
  backdrop-filter: blur(12px);
}
.start-dialog * {
  box-sizing: border-box;
}
.start-close {
  position: absolute;
  right: 16px;
  top: 12px;
  border: 0;
  background: transparent;
  color: #c7cdc8;
  font-size: 30px;
  width: 40px;
  height: 40px;
  cursor: pointer;
}
.start-mark {
  font-size: 44px;
  letter-spacing: -4px;
  font-weight: 800;
  line-height: 1;
}
.start-mark span {
  color: #ccff8b;
}
.start-eyebrow {
  font-size: 9px;
  letter-spacing: 1.8px;
  color: #b9c3bc;
  margin: 26px 0 10px;
}
.start-dialog h2 {
  font-size: 34px;
  line-height: 1.08;
  letter-spacing: -1.2px;
  margin: 0 0 12px;
  font-weight: 650;
}
.start-intro,
#start-status {
  color: #c4ccc6;
  font-size: 15px;
  line-height: 1.5;
  margin: 0 0 27px;
}
.start-dialog label {
  display: block;
  color: #e3e8e4;
  font-size: 13px;
  margin: 0 0 9px;
}
.phone-field {
  display: flex;
  align-items: center;
  border: 1px solid #58665d;
  border-radius: 13px;
  background: #ffffff06;
  overflow: hidden;
}
.phone-field:focus-within {
  outline: 2px solid #ccff8b;
  outline-offset: 3px;
}
.phone-field select {
  width: 116px;
  padding: 16px 6px 16px 12px;
  color: #f4f7f4;
  background: #222a25;
  border: 0;
  border-right: 1px solid #58665d;
  border-radius: 0;
  font: inherit;
  font-size: 13px;
}
.phone-field input {
  min-width: 0;
  flex: 1;
  padding: 16px 12px;
  border: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 16px;
  outline: none;
}
.phone-field input::placeholder {
  color: #a9b5ac;
}
.start-error {
  min-height: 18px;
  font-size: 13px;
  color: #ffb4aa;
  margin: 8px 0 12px;
}
.start-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 13px;
  background: #d2ffa4;
  color: #15200f;
  text-decoration: none;
  font: inherit;
  font-size: 16px;
  font-weight: 650;
  cursor: pointer;
}
.start-submit:hover {
  background: #dfffbd;
}
.start-submit:disabled {
  opacity: 0.7;
  cursor: wait;
}
.start-consent {
  font-size: 11px;
  line-height: 1.6;
  color: #b9c3bc;
  margin: 16px 0 0;
}
.start-consent a {
  color: #d9e2db;
  text-underline-offset: 3px;
}
.start-dialog :focus-visible {
  outline: 2px solid #d2ffa4;
  outline-offset: 4px;
}
.start-personal-qr {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
}
.start-personal-qr img {
  border-radius: 12px;
  background: white;
  padding: 5px;
}
.start-personal-qr p {
  font-size: 13px;
  line-height: 1.5;
  color: #bbc5be;
}
.start-change {
  display: block;
  margin: 24px auto 0;
  background: none;
  border: 0;
  color: #d2dad4;
  text-decoration: underline;
  text-underline-offset: 4px;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}
.start-dialog [hidden] {
  display: none !important;
}
@media (max-width: 480px) {
  .start-dialog {
    padding: 30px 24px;
  }
  .start-dialog h2 {
    font-size: 32px;
  }
  .start-personal-qr {
    display: none;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .start-dialog[open] {
    animation: modal-enter 0.18s ease-out;
  }
  @keyframes modal-enter {
    from {
      opacity: 0;
      transform: translateY(8px) scale(0.98);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}

.start-submit span {
  font-size: 0;
  display: block;
  width: 9px;
  height: 9px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
}
