/* Local same-page registration form and download dialog. */
[hidden] { display: none !important; }
.ds-entry { margin-top: 19px; }
.ds-signup { padding: 21px; border: 1px solid #e3d9ef; border-radius: 17px; background: #fff; box-shadow: 0 8px 26px #522c7c06; }
.ds-form-heading { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 20px; color: #756387; font-size: 8px; font-weight: 650; letter-spacing: 1.15px; }
.ds-form-heading > span:last-child { color: #8753bd; font-size: 8px; letter-spacing: .7px; white-space: nowrap; }
.ds-form-field + .ds-form-field { margin-top: 15px; }
.ds-form-label { display: block; margin: 0 0 8px; color: #4b365e; font-size: 13px; line-height: 1.4; font-weight: 600; letter-spacing: -.15px; }
.ds-form-input { display: block; width: 100%; height: 47px; padding: 0 14px; border: 1px solid #ddd2eb; border-radius: 10px; background: #faf8fd; color: #30213e; font: inherit; font-size: 16px; outline: none; transition: border-color .15s, box-shadow .15s; }
.ds-form-input::placeholder { color: #9b8da8; font-size: 13px; opacity: 1; }
.ds-form-input:focus { border-color: #9e61de; box-shadow: 0 0 0 3px #8e42dc15; background: #fff; }
.ds-form-input[aria-invalid="true"] { border-color: #b64168; background: #fff9fb; }
.ds-form-error { margin: 5px 0 0; color: #a63159; font-size: 11px; line-height: 1.5; }
.ds-form-error:empty { display: none; }
.ds-form-actions { display: flex; margin-top: 19px; }
.ds-form-next { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 49px; padding: 11px 16px; border: 1px solid #7021e3; border-radius: 11px; color: #fff; background: #742ae8; box-shadow: 0 4px 12px #7729e51a; font-size: 13px; font-weight: 650; cursor: pointer; transition: background .18s, transform .18s; }
.ds-form-next > svg { width: 18px; height: 18px; }
.ds-form-next:hover { background: #6320ce; }
.ds-form-next:active { transform: translateY(1px); }
.ds-form-next:disabled { opacity: .65; cursor: default; }
.ds-no-script { color: #756e83; font-size: 12px; line-height: 1.6; margin: 12px 0 0; }
.ds-download-dialog { width: min(390px, calc(100% - 32px)); max-height: calc(100dvh - 32px); margin: auto; padding: 24px 21px 21px; border: 1px solid #e4d8ef; border-radius: 23px; color: #20172f; background: #fdfbff; box-shadow: 0 24px 90px #24103345; overflow-y: auto; }
.ds-download-dialog::backdrop { background: #21132f88; backdrop-filter: blur(4px); }
.ds-dialog-close { position: absolute; right: 12px; top: 12px; display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 50%; color: #786589; background: #f0eaf6; cursor: pointer; }
.ds-dialog-close svg { width: 18px; height: 18px; }
.ds-dialog-brand { display: flex; align-items: center; gap: 8px; color: #8a6c9f; font-size: 9px; font-weight: 650; letter-spacing: 1.3px; }
.ds-dialog-brand img { width: 42px; height: 42px; border-radius: 12px; }
.ds-dialog-ready > h2 { margin: 19px 0 10px; color: #30213e; font-size: 25px; line-height: 1.15; letter-spacing: -.9px; font-weight: 700; }
.ds-dialog-loading { padding: 22px 0 25px; text-align: center; outline: none; }
.ds-loading-circle { position: relative; display: grid; place-items: center; width: 78px; height: 78px; margin: 0 auto 24px; border-radius: 50%; color: #7a2de5; background: #f2eafb; }
.ds-loading-circle > span { position: absolute; inset: 0; border: 3px solid #e8d9f8; border-top-color: #7b2ce8; border-right-color: #c744d1; border-radius: 50%; animation: ds-loading-spin .8s linear infinite; }
.ds-loading-circle > svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ds-dialog-loading h2 { margin: 0 0 9px; color: #30213e; font-size: 23px; line-height: 1.25; letter-spacing: -.7px; }
.ds-dialog-loading p { margin: 0; color: #756881; font-size: 13px; line-height: 1.65; }
@keyframes ds-loading-spin { to { transform: rotate(360deg); } }
.ds-dialog-description { margin: 0; color: #756881; font-size: 13px; line-height: 1.65; }
.ds-download-dialog .ds-download { display: grid; grid-template-columns: 20px minmax(0, 1fr) 20px; margin-top: 20px; gap: 8px; padding: 0 13px; font-size: 13px; }
.ds-download-dialog .ds-download > span { margin: 0; text-align: center; }
.ds-download-dialog .ds-download .ds-arrow { margin: 0; }
.ds-download-dialog .ds-download-info { margin-top: 15px; padding: 13px 12px; gap: 8px; }
.ds-download-dialog .ds-download-info p { font-size: 11px; line-height: 1.7; }
body.ds-dialog-open { overflow: hidden; }
@media (max-width: 760px) {
  .ds-entry { margin-top: 17px; }
  .ds-signup { padding: 18px; border-radius: 15px; }
  .ds-form-heading { margin-bottom: 18px; }
  .ds-form-label { font-size: 12px; }
}
@media (max-width: 350px) {
  .ds-download-dialog { padding: 21px 16px 17px; border-radius: 19px; }
  .ds-dialog-ready > h2 { font-size: 23px; }
  .ds-dialog-loading h2 { font-size: 21px; }
  .ds-download-dialog .ds-download { grid-template-columns: 17px minmax(0, 1fr) 17px; font-size: 11px; padding: 0 10px; }
  .ds-download-dialog .ds-download-icon, .ds-download-dialog .ds-arrow { width: 17px; height: 17px; }
  .ds-dialog-description { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .ds-form-input, .ds-form-next { transition: none; }
  .ds-loading-circle > span { animation: none; }
}
