:root {
  --bg: #050816;
  --bg-soft: #0d1428;
  --panel: rgba(11, 18, 36, 0.88);
  --panel-strong: rgba(16, 24, 43, 0.96);
  --text: #eef6ff;
  --muted: #93a4be;
  --cyan: #67e8f9;
  --mint: #2dd4bf;
  --gold: #fbbf24;
  --rose: #fb7185;
  --border: rgba(255, 255, 255, 0.1);
  --bubble: rgba(255, 255, 255, 0.05);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
  --cta-accent: #8b5cf6;
  --cta-end: #f59e0b;
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body.auth-flow-body {
  font-family: 'SF Pro Display', 'Pretendard', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(103, 232, 249, 0.18), transparent 30%),
    radial-gradient(circle at top right, rgba(251, 191, 36, 0.14), transparent 24%),
    radial-gradient(circle at bottom, rgba(45, 212, 191, 0.12), transparent 34%),
    linear-gradient(180deg, #040714 0%, #07101f 48%, #081120 100%);
}

.auth-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.auth-topbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  margin: 14px 16px 8px;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.auth-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
}

.auth-brand img {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(103, 232, 249, 0.15);
}

.auth-brand strong {
  display: block;
  font-size: 20px;
  letter-spacing: 0.01em;
}

.auth-brand span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.auth-topbar-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  min-width: 0;
}

.topbar-download-shell {
  position: relative;
  display: inline-flex;
  justify-content: center;
  z-index: 180;
  pointer-events: auto;
}

.topbar-download-overlay {
  position: fixed;
  inset: 0;
  z-index: 188;
  background: rgba(5, 10, 19, 0.2);
  backdrop-filter: blur(14px) saturate(82%);
  -webkit-backdrop-filter: blur(14px) saturate(82%);
  opacity: 0;
  transition: opacity 180ms ease;
}

.topbar-download-overlay[hidden],
.topbar-download-panel[hidden],
.topbar-download-modal[hidden] {
  display: none !important;
}

.topbar-download-trigger {
  --topbar-download-icon-gap: 0.27rem;
  position: relative;
  z-index: 191;
  min-height: 44px;
  padding: 0.7rem 0.96rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(114, 91, 184, 0.96) 0%, rgba(85, 59, 150, 0.98) 54%, rgba(132, 87, 25, 0.96) 100%);
  color: #f8fbff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.54rem;
  cursor: pointer;
  box-shadow: 0 12px 22px rgba(23, 13, 42, 0.34), inset 0 -2px 0 rgba(255, 255, 255, 0.08);
  transition: transform 160ms ease, filter 160ms ease, box-shadow 160ms ease;
}

.topbar-download-trigger:hover,
.topbar-download-trigger:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.05);
  outline: none;
  box-shadow: 0 16px 28px rgba(20, 12, 40, 0.38), inset 0 -2px 0 rgba(255, 255, 255, 0.1);
}

.topbar-download-trigger__label {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.topbar-download-trigger__icons,
.topbar-download-trigger__system,
.topbar-download-trigger__chevrons {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.topbar-download-trigger__icons {
  gap: var(--topbar-download-icon-gap);
}

.topbar-download-trigger__system-svg {
  width: 16px;
  height: 16px;
  display: block;
  color: currentColor;
}

.topbar-download-trigger__system-computer {
  background: url('/assets/plan_icon_computer.png') center / contain no-repeat;
  opacity: 0.9;
  transform: scale(1.3);
  transform-origin: center;
}

.topbar-download-trigger__chevrons-svg {
  width: 16px;
  height: 16px;
  display: block;
  stroke: currentColor;
  stroke-width: 2.15;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.topbar-download-shell.is-arming .topbar-download-trigger__chevrons {
  animation: topbar-download-stab 0.58s ease-in-out 1;
}

.topbar-download-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  z-index: 192;
  width: min(210px, calc(100vw - 32px));
  padding: 0;
  border-radius: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  opacity: 0;
  transform: translateY(-14px);
  transform-origin: top right;
  pointer-events: none;
  transition: opacity 180ms ease, transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.topbar-download-shell.is-open .topbar-download-overlay {
  opacity: 1;
}

.topbar-download-shell.is-closing .topbar-download-overlay,
.topbar-download-shell.is-modal-open .topbar-download-overlay,
.topbar-download-shell.is-modal-closing .topbar-download-overlay {
  opacity: 1;
}

.topbar-download-shell.is-open .topbar-download-panel {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.topbar-download-shell.is-closing .topbar-download-panel {
  opacity: 0;
  transform: translateY(-14px);
  pointer-events: none;
}

.topbar-download-modal {
  position: fixed;
  inset: 0;
  z-index: 193;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 20px;
  opacity: 0;
  transform: translateY(16px) scale(0.97);
  pointer-events: none;
  transition: opacity 180ms ease, transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.topbar-download-shell.is-modal-open .topbar-download-modal {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.topbar-download-shell.is-modal-closing .topbar-download-modal {
  opacity: 0;
  transform: translateY(12px) scale(0.975);
  pointer-events: none;
}

.topbar-download-modal-card {
  padding: clamp(1.2rem, 2.3vw, 1.65rem);
  border-radius: 26px;
  border: 1px solid rgba(184, 198, 239, 0.18);
  background: linear-gradient(180deg, rgba(15, 22, 37, 0.8), rgba(9, 14, 27, 0.84));
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.44), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px) saturate(135%);
  -webkit-backdrop-filter: blur(20px) saturate(135%);
  display: flex;
  flex-direction: column;
}

.topbar-download-modal-card--guide {
  position: relative;
  width: min(1020px, 100%);
  align-items: stretch;
  text-align: left;
}

.topbar-download-guide-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 999px;
  background: rgba(16, 25, 41, 0.45);
  color: rgba(220, 234, 255, 0.9);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.topbar-download-guide-close:hover,
.topbar-download-guide-close:focus-visible {
  border-color: rgba(139, 92, 246, 0.52);
  background: rgba(32, 43, 68, 0.72);
  color: #ffffff;
  outline: none;
}

.topbar-download-guide-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  text-align: center;
  margin-bottom: 0.95rem;
  padding-right: 2rem;
}

.topbar-download-guide-downloaded {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #34d399;
}

.topbar-download-guide-status-icon {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #34d399;
}

.topbar-download-guide-status-spinner {
  width: 1rem;
  height: 1rem;
}

.topbar-download-guide-status-check {
  width: 1rem;
  height: 1rem;
}

.topbar-download-guide-status-check circle,
.topbar-download-guide-status-check path {
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.topbar-download-guide-title {
  margin: 0;
  font-size: clamp(1.45rem, 2.2vw, 2.2rem);
  line-height: 1.2;
  font-weight: 700;
  color: #f8fbff;
}

.topbar-download-guide-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.topbar-download-guide-step {
  position: relative;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background:
    radial-gradient(120% 140% at 50% 0%, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 44%),
    linear-gradient(180deg, rgba(14, 20, 33, 0.82), rgba(9, 14, 24, 0.84));
  padding: 0.65rem;
  display: grid;
  gap: 0.62rem;
  align-content: start;
}

.topbar-download-guide-step-index {
  position: absolute;
  left: 0.55rem;
  top: 0.55rem;
  min-width: 1.55rem;
  height: 1.55rem;
  padding-inline: 0.3rem;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(106, 176, 255, 0.95), rgba(88, 147, 255, 0.95));
  color: #061125;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
}

.topbar-download-guide-step-media-wrap {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(2, 6, 14, 0.4);
}

.topbar-download-guide-step-media {
  width: 100%;
  display: block;
}

.topbar-download-guide-step-copy {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: #dbe8ff;
}

.topbar-download-guide-step-copy--with-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.46rem;
  text-align: center;
}

.topbar-download-guide-step-copy-icon {
  width: 1.05rem;
  height: 1.05rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: #8dc2ff;
}

.topbar-download-guide-step-copy-icon-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.topbar-download-guide-help-row {
  margin: 0.95rem 0 0;
  text-align: center;
  color: rgba(206, 219, 243, 0.84);
  font-size: 0.94rem;
  line-height: 1.45;
}

.topbar-download-guide-help-link {
  color: #8cb4ff;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 2px;
  transition: color 140ms ease;
}

.topbar-download-guide-help-link:hover,
.topbar-download-guide-help-link:focus-visible {
  color: #c9dbff;
  outline: none;
}

.topbar-download-guide-again-row {
  margin: 0.95rem 0 0;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  color: #b8c3db;
  font-size: 0.95rem;
}

.topbar-download-guide-again-link {
  color: #8cb4ff;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 2px;
  transition: color 140ms ease;
}

.topbar-download-guide-again-link:hover,
.topbar-download-guide-again-link:focus-visible {
  color: #c9dbff;
  outline: none;
}

.topbar-download-guide-again-link.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

.download-submit-spinner {
  animation: download-submit-spin 0.82s linear infinite;
  transform-origin: center;
}

.download-submit-spinner circle {
  opacity: 0.24;
}

@keyframes download-submit-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.topbar-download-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.42rem;
}

.topbar-download-option {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: #f3f7ff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  text-align: left;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 140ms ease, background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}

.topbar-download-option__label {
  flex: 1 1 auto;
  min-width: 0;
}

.topbar-download-option__version {
  flex: 0 0 auto;
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #8f4452;
}

.topbar-download-option__trailing-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.82);
}

.topbar-download-option__system-svg {
  width: 16px;
  height: 16px;
  display: block;
}

.topbar-download-option:hover,
.topbar-download-option:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(199, 210, 255, 0.22);
  background: rgba(130, 157, 255, 0.14);
  color: #ffffff;
  outline: none;
}

.topbar-download-option:hover .topbar-download-option__version,
.topbar-download-option:focus-visible .topbar-download-option__version {
  color: #a65061;
}

.topbar-download-option:hover .topbar-download-option__trailing-icon,
.topbar-download-option:focus-visible .topbar-download-option__trailing-icon {
  color: #ffffff;
}

@keyframes topbar-download-stab {
  0%,
  100% {
    transform: translateY(0);
  }

  18% {
    transform: translateY(5px);
  }

  32% {
    transform: translateY(-1px);
  }

  52% {
    transform: translateY(6px);
  }

  68% {
    transform: translateY(-1px);
  }

  86% {
    transform: translateY(4px);
  }
}

.page-language-shell {
  position: relative;
  display: inline-flex;
  justify-content: center;
  z-index: 170;
  pointer-events: auto;
}

.page-language-overlay {
  position: fixed;
  inset: 0;
  z-index: 172;
  background: rgba(6, 10, 18, 0.28);
  backdrop-filter: blur(10px) saturate(110%);
  -webkit-backdrop-filter: blur(10px) saturate(110%);
  pointer-events: auto;
}

.page-language-overlay[hidden],
.page-language-panel[hidden] {
  display: none !important;
}

.page-language-trigger {
  position: relative;
  z-index: 171;
  min-height: 40px;
  padding: 0.42rem 0.7rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  cursor: pointer;
  transition: color 140ms ease, opacity 140ms ease, filter 140ms ease;
}

.page-language-trigger:hover,
.page-language-trigger:focus-visible {
  opacity: 0.9;
  filter: brightness(1.05);
  outline: none;
}

.page-language-trigger__globe,
.page-language-trigger__globe-svg {
  width: 22px;
  height: 22px;
  display: block;
  flex-shrink: 0;
}

.page-language-trigger__globe-svg {
  stroke: currentColor;
  stroke-width: 4.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.page-language-trigger__label {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.96);
  max-width: 9rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-language-trigger__caret,
.page-language-trigger__caret svg {
  width: 16px;
  height: 16px;
  display: block;
}

.page-language-trigger__caret svg {
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.page-language-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  z-index: 173;
  border: 1px solid rgba(184, 198, 239, 0.18);
  border-radius: 22px;
  width: min(328px, 87vw);
  max-height: min(60vh, 430px);
  padding: 0.9rem;
  background: linear-gradient(180deg, rgba(15, 22, 37, 0.96), rgba(9, 14, 27, 0.97));
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.44), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px) saturate(135%);
  -webkit-backdrop-filter: blur(20px) saturate(135%);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 0.72rem;
  overflow: hidden;
}

.page-language-panel__head {
  display: grid;
  gap: 0.2rem;
}

.page-language-panel__title {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f4f7ff;
}

.page-language-panel__note {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.3;
  color: rgba(191, 204, 234, 0.8);
}

.page-language-list {
  list-style: none;
  margin: 0;
  padding: 0.12rem;
  display: grid;
  gap: 0.18rem;
  min-height: 0;
  max-height: 100%;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(148, 163, 255, 0.9) rgba(18, 25, 43, 0.94);
}

.page-language-list::-webkit-scrollbar {
  width: 6px;
}

.page-language-list::-webkit-scrollbar-track {
  background: rgba(18, 25, 43, 0.94);
  border-radius: 999px;
}

.page-language-list::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(184, 198, 255, 0.95), rgba(132, 150, 255, 0.88));
  border-radius: 999px;
  border: 2px solid rgba(18, 25, 43, 0.94);
}

.page-language-option {
  width: 100%;
  border: 1px solid transparent;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: #eef3ff;
  padding: 0.76rem 0.82rem;
  display: flex;
  align-items: center;
  gap: 0.72rem;
  text-align: left;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 140ms ease, border-color 140ms ease, background-color 140ms ease, color 140ms ease;
}

.page-language-option:hover {
  transform: translateX(2px);
  border-color: rgba(188, 206, 255, 0.24);
  background: rgba(137, 165, 255, 0.12);
  color: #ffffff;
}

.page-language-option:focus-visible {
  outline: 2px solid rgba(189, 214, 255, 0.9);
  outline-offset: 1px;
}

.page-language-option__copy {
  min-width: 0;
  flex: 1;
  display: inline-flex;
  align-items: baseline;
  gap: 0.34rem;
  flex-wrap: wrap;
}

.page-language-option__native {
  color: #eef3ff;
}

.page-language-option__english {
  font-size: 0.8rem;
  color: rgba(191, 204, 234, 0.74);
}

.page-language-option__status {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: rgba(195, 208, 255, 0.76);
}

.auth-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.auth-main--plain {
  padding: 24px;
  align-items: center;
  justify-content: center;
}

.auth-main--start {
  padding-bottom: 92px;
}

.auth-panel {
  width: min(100%, 1024px);
  min-height: min(760px, calc(100vh - 120px));
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.2fr);
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
}

.auth-panel--plain {
  width: min(100%, 860px);
  min-height: auto;
  display: flex;
  grid-template-columns: initial;
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  backdrop-filter: none;
}

.auth-side {
  position: relative;
  padding: 34px 28px;
  background:
    radial-gradient(circle at top, rgba(103, 232, 249, 0.22), transparent 35%),
    linear-gradient(180deg, rgba(17, 24, 39, 0.95) 0%, rgba(6, 11, 24, 0.98) 100%);
  border-right: 1px solid var(--border);
}

.auth-side::after {
  content: '';
  position: absolute;
  inset: auto 24px 24px 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
}

.auth-side-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(103, 232, 249, 0.1);
  color: var(--cyan);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 700;
}

.auth-side h1 {
  margin: 18px 0 14px;
  font-size: clamp(34px, 3.8vw, 52px);
  line-height: 0.96;
}

.auth-side p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  max-width: 320px;
}

.auth-side-orbit {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.auth-side-orbit span {
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
}

.auth-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 34px;
}

.auth-content--plain {
  width: min(100%, 860px);
  padding: 24px;
  background: transparent;
  border: none;
  border-radius: 0;
  align-items: center;
  text-align: center;
}

.auth-content--plain .auth-title {
  text-align: center;
}

.auth-content--plain .auth-subtitle {
  text-align: center;
  max-width: 620px;
}

.auth-content--plain .auth-stack,
.auth-content--plain .auth-actions {
  width: 100%;
  justify-content: center;
}

.auth-content--plain .auth-input {
  width: min(520px, 100%);
}

.auth-content--plain .auth-auth-grid {
  justify-content: center;
}

.auth-content--plain .auth-auth-card {
  width: min(460px, 100%);
}

.auth-content--open {
  align-items: center;
  text-align: center;
}

.auth-content--open .auth-subtitle {
  margin-bottom: 12px;
}

.auth-content--open .auth-success-actions {
  margin-top: 14px;
}

.auth-progress-boundary {
  width: min(100%, 908px);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 10;
}

.auth-progress {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
}

.auth-progress-track-wrap {
  position: relative;
  flex: 1;
  padding: 1px;
  border-radius: 999px;
  overflow: visible;
  isolation: isolate;
}

.auth-progress-track-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: linear-gradient(90deg,
      rgba(139, 92, 246, 0.7),
      rgba(103, 232, 249, 0.6),
      rgba(245, 158, 11, 0.7),
      rgba(139, 92, 246, 0.7));
  opacity: 0.48;
  filter: blur(8px);
  animation: auth-progress-glow 2.2s ease-in-out infinite;
  z-index: 0;
}

.auth-progress-track {
  position: relative;
  isolation: isolate;
  flex: 1;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  z-index: 1;
}

.auth-progress-track::before {
  content: none;
}

.auth-progress-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--progress, 0%);
  border-radius: 999px;
  background: linear-gradient(180deg, #a78cff 0%, var(--cta-accent) 42%, var(--cta-end) 100%);
  transition: width 280ms ease;
  z-index: 2;
  overflow: hidden;
  isolation: isolate;
}

.auth-progress-fill::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(180deg,
      rgba(255, 255, 255, 0.4) 0%,
      rgba(255, 255, 255, 0.12) 36%,
      rgba(255, 255, 255, 0.24) 100%);
  opacity: 0.8;
  filter: blur(6px);
  pointer-events: none;
  z-index: 3;
}

.auth-progress-fill::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(255, 255, 255, 0.74) 44%,
      rgba(255, 255, 255, 0.18) 62%,
      transparent 100%);
  transform: translateX(-115%);
  animation: auth-progress-shine 2.6s ease-in-out infinite;
  opacity: 0.72;
  pointer-events: none;
  z-index: 4;
}

@keyframes auth-progress-glow {

  0%,
  100% {
    opacity: 0.38;
    filter: blur(7px);
  }

  50% {
    opacity: 0.68;
    filter: blur(10px);
  }
}

@keyframes auth-progress-shine {
  0% {
    transform: translateX(-115%);
  }

  55%,
  100% {
    transform: translateX(115%);
  }
}

.auth-card {
  flex: 1;
  min-height: 0;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--panel-strong);
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.auth-kicker {
  color: var(--cyan);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
}

.auth-title {
  margin: 16px 0 10px;
  font-size: clamp(30px, 3vw, 48px);
  line-height: 1.02;
}

.auth-subtitle {
  margin: 0 0 24px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 520px;
}

.auth-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.auth-bubble-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-start;
}

.auth-bubble {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: var(--bubble);
  color: var(--text);
  border-radius: 999px;
  padding: 15px 18px;
  font: inherit;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.auth-bubble:hover,
.auth-bubble:focus-visible {
  transform: translateY(-1px) scale(1.01);
  border-color: rgba(103, 232, 249, 0.36);
  background: rgba(103, 232, 249, 0.09);
  outline: none;
}

.auth-bubble strong {
  display: block;
  font-size: 15px;
}

.auth-bubble small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.auth-bubble.is-accent {
  border-color: rgba(251, 191, 36, 0.22);
  background: rgba(251, 191, 36, 0.08);
}

.auth-input,
.auth-select {
  width: 100%;
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border-radius: 18px;
  padding: 18px 18px;
  font: inherit;
  font-size: 17px;
}

.auth-input:focus,
.auth-select:focus {
  outline: none;
  border-color: rgba(103, 232, 249, 0.36);
  box-shadow: 0 0 0 3px rgba(103, 232, 249, 0.12);
}

.auth-code-input {
  text-align: center;
  font-size: 30px;
  letter-spacing: 0.36em;
  font-weight: 800;
}

.auth-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 8px;
}

.auth-btn {
  appearance: none;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  border-radius: 999px;
  padding: 15px 20px;
  text-decoration: none;
  transition: transform 160ms ease, filter 160ms ease, opacity 160ms ease;
}

.auth-btn:hover,
.auth-btn:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.04);
  outline: none;
}

.auth-btn:disabled {
  opacity: 0.64;
  cursor: wait;
}

.auth-btn-primary {
  background: linear-gradient(135deg, var(--mint) 0%, var(--cyan) 55%, var(--gold) 100%);
  color: #04111d;
}

.auth-landing-cta {
  border-radius: 8px;
  min-width: 198px;
  padding: 0.96rem 1.6rem;
  width: auto;
  background: linear-gradient(180deg, #c4a2ff 0%, var(--cta-accent) 42%, var(--cta-end) 100%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 20px rgba(139, 92, 246, 0.34), inset 0 -2px 0 rgba(255, 255, 255, 0.15);
}

.auth-landing-cta::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.65) 50%, transparent 70%);
  transform: skewX(-20deg) translateX(-180%);
  opacity: 0;
  pointer-events: none;
  animation: auth-landing-shimmer 3.4s infinite;
}

.auth-landing-cta:hover,
.auth-landing-cta:focus-visible {
  transform: translateY(-1px);
  filter: none;
  box-shadow: 0 16px 24px rgba(139, 92, 246, 0.38), inset 0 -4px 0 rgba(255, 255, 255, 0.14);
}

.auth-btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
}

@keyframes auth-landing-shimmer {
  0% {
    opacity: 0;
    transform: skewX(-20deg) translateX(-180%);
  }

  8% {
    opacity: 0.72;
  }

  45% {
    opacity: 1;
    transform: skewX(-20deg) translateX(280%);
  }

  100% {
    opacity: 0;
    transform: skewX(-20deg) translateX(280%);
  }
}

.auth-btn-link {
  background: transparent;
  color: var(--muted);
  padding-inline: 0;
}

.auth-auth-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.auth-auth-card {
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.04);
  padding: 20px;
}

.auth-auth-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.auth-auth-card p {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
}

.auth-login-card {
  width: min(var(--auth-login-form-width, 352px), calc(100vw - 88px));
  margin: 0 auto;
}

.auth-login-card .auth-actions {
  margin-top: 12px;
}

.auth-login-methods {
  width: min(var(--auth-login-form-width, 352px), calc(100vw - 88px));
  margin: 0 auto;
}

.auth-content--login .auth-title,
.auth-content--login .auth-login-methods,
.auth-content--login .auth-login-methods h3 {
  text-align: center;
}

.auth-login-methods h3 {
  margin: 0 0 12px;
}

.auth-login-inline-row {
  width: 100%;
}

.auth-login-input-shell {
  position: relative;
  width: 100%;
}

.auth-login-input-shell .auth-input {
  width: 100%;
  min-width: 0;
  min-height: 60px;
  padding: 14px 98px 14px 18px;
}

.auth-login-inline-submit {
  position: absolute;
  top: 50%;
  right: 8px;
  width: auto;
  min-width: 82px;
  min-height: 36px;
  padding: 0 9px;
  border-radius: 10px;
  background: #ffffff;
  color: #20242d;
  line-height: 1;
  transform: translateY(-50%);
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.18));
  box-shadow: inset 0 -1px 0 rgba(13, 17, 23, 0.08);
}

.auth-login-inline-submit:hover,
.auth-login-inline-submit:focus-visible {
  transform: translateY(calc(-50% - 1px)) scale(1.02);
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.24));
}

.auth-enter-submit-copy {
  display: inline-flex;
  align-items: center;
  gap: 0.18rem;
  white-space: nowrap;
}

.auth-enter-submit-text {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.auth-enter-submit-arrow {
  width: 15px;
  height: 15px;
  display: block;
  flex-shrink: 0;
  stroke: currentColor;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.auth-login-openapp-btn {
  margin-top: 18px;
  min-width: auto;
  padding: 8px 0 0;
  color: rgba(255, 255, 255, 0.62);
  border: 0;
  background: transparent;
  box-shadow: none;
}

.auth-login-openapp-btn:hover,
.auth-login-openapp-btn:focus-visible {
  color: #ffffff;
  transform: translateY(-2px);
  filter: none;
}

.auth-login-openapp-copy {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
}

.auth-login-openapp-app {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
}

.auth-login-openapp-icon {
  width: 1.1rem;
  height: 1.1rem;
  display: inline-block;
  flex-shrink: 0;
  background: url('/assets/plan_icon_computer.png') center / contain no-repeat;
  opacity: 0.5;
  transition: opacity 160ms ease, transform 160ms ease;
}

.auth-login-openapp-btn:hover .auth-login-openapp-icon,
.auth-login-openapp-btn:focus-visible .auth-login-openapp-icon {
  opacity: 0.9;
  transform: translateY(-1px);
}

.auth-login-create-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(var(--auth-login-form-width, 352px), calc(100vw - 88px));
  min-height: 22px;
  margin-top: 34px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.97rem;
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none;
  transition: color 160ms ease, transform 160ms ease;
}

.auth-login-create-link__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  transition: opacity 160ms ease, transform 160ms ease;
}

.auth-login-create-link__label--default {
  opacity: 1;
  transform: translateY(0);
}

.auth-login-create-link__label--hover {
  position: absolute;
  left: 50%;
  top: 50%;
  opacity: 0;
  transform: translate(-50%, calc(-50% + 4px));
  pointer-events: none;
}

.auth-login-create-link:hover,
.auth-login-create-link:focus-visible {
  color: rgba(255, 255, 255, 0.9);
  transform: translateY(-1px);
  outline: none;
}

.auth-start-login-link {
  position: fixed;
  left: 50%;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  margin-top: 0;
  transform: translateX(-50%);
  z-index: 24;
}

.auth-start-login-link:hover,
.auth-start-login-link:focus-visible {
  transform: translateX(-50%) translateY(-1px);
}

.auth-login-create-link:hover .auth-login-create-link__label--default,
.auth-login-create-link:focus-visible .auth-login-create-link__label--default {
  opacity: 0;
  transform: translateY(-4px);
}

.auth-login-create-link:hover .auth-login-create-link__label--hover,
.auth-login-create-link:focus-visible .auth-login-create-link__label--hover {
  opacity: 1;
  transform: translate(-50%, -50%);
}

.auth-login-create-link.is-alerting,
.auth-login-create-link.is-alerting:hover,
.auth-login-create-link.is-alerting:focus-visible {
  color: #f3cb67;
  animation: auth-login-create-link-alert 0.92s ease-in-out infinite;
  outline: none;
}

.auth-google-btn {
  width: 100%;
  justify-content: center;
  gap: 10px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid rgba(218, 220, 224, 0.9);
  color: #202124;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 20px;
}

.auth-google-btn:hover,
.auth-google-btn:focus-visible {
  background: #f8f9fa;
  box-shadow: 0 10px 20px rgba(60, 64, 67, 0.2);
  filter: none;
}

.auth-google-logo {
  width: 18px;
  height: 18px;
  display: block;
  flex-shrink: 0;
}

.auth-login-separator {
  margin: 16px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
}

.auth-login-separator::before,
.auth-login-separator::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.auth-status,
.auth-error,
.auth-success {
  margin-top: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.6;
}

.auth-status {
  background: rgba(103, 232, 249, 0.08);
  border: 1px solid rgba(103, 232, 249, 0.18);
  color: #b8f3ff;
}

.auth-error {
  background: rgba(251, 113, 133, 0.12);
  border: 1px solid rgba(251, 113, 133, 0.26);
  color: #fecdd3;
}

.auth-error.auth-login-error--alert {
  margin-top: 20px;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #ff697f;
  text-shadow: 0 0 14px rgba(255, 72, 108, 0.34);
  animation: auth-login-error-alert 0.72s ease-in-out infinite;
}

.auth-success {
  background: rgba(45, 212, 191, 0.1);
  border: 1px solid rgba(45, 212, 191, 0.24);
  color: #b6fff3;
}

@keyframes auth-login-error-alert {
  0%,
  100% {
    color: #ff7b8f;
    text-shadow: 0 0 16px rgba(255, 77, 109, 0.38);
  }

  50% {
    color: #8f3144;
    text-shadow: 0 0 0 rgba(255, 77, 109, 0);
  }
}

@keyframes auth-login-create-link-alert {
  0%,
  100% {
    color: rgba(243, 203, 103, 0.58);
    text-shadow: 0 0 0 rgba(243, 203, 103, 0);
  }

  50% {
    color: #ffd86f;
    text-shadow: 0 0 14px rgba(243, 203, 103, 0.36);
  }
}

.auth-footnote {
  margin-top: auto;
  padding-top: 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.auth-inline-link {
  color: var(--cyan);
  text-decoration: none;
}

.auth-open-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.auth-open-card {
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  padding: 20px;
}

.auth-open-card h3 {
  margin: 0 0 12px;
}

.auth-open-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.auth-success-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.auth-success-shell {
  width: min(100%, 860px);
}

.auth-success-panel {
  position: relative;
  overflow: hidden;
  padding: 52px 44px 38px;
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at top left, rgba(103, 232, 249, 0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(251, 191, 36, 0.15), transparent 22%),
    linear-gradient(180deg, rgba(16, 24, 43, 0.96) 0%, rgba(8, 15, 29, 0.98) 100%);
  box-shadow: var(--shadow);
  text-align: center;
}

.auth-success-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.08), transparent 34%);
  pointer-events: none;
}

.auth-success-title {
  margin: 14px 0 12px;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.02;
}

.auth-success-copy {
  max-width: 640px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.auth-success-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 24px auto 0;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid rgba(103, 232, 249, 0.22);
  background: rgba(103, 232, 249, 0.08);
  color: #c8f7ff;
  font-size: 14px;
  line-height: 1.5;
}

.auth-success-pill.auth-success-pill--error {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #ff4d5f;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.01em;
  animation: auth-error-blink 0.9s steps(2, end) infinite;
}

.auth-success-pill--error strong {
  font-weight: inherit;
}

.auth-success-pill--mint {
  border-color: rgba(45, 212, 191, 0.24);
  background: rgba(45, 212, 191, 0.1);
  color: #c3fff3;
}

.auth-success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: center;
  margin-top: 28px;
}

.auth-success-btn {
  min-width: 198px;
  border-radius: 8px;
  padding: 0.86rem 1.45rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.1;
  transform: none;
  filter: none;
}

.auth-success-btn-openapp {
  width: 296px;
  min-width: 296px;
  min-height: 56px;
}

.auth-success-btn-copy {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
}

.auth-success-btn-app {
  display: inline-flex;
  align-items: center;
  gap: 0.36rem;
}

.auth-success-btn-icon {
  width: 1.05rem;
  height: 1.05rem;
  display: inline-block;
  flex-shrink: 0;
  background: url('/assets/plan_icon_computer.png') center / contain no-repeat;
  opacity: 0.92;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.14));
  transform: scale(1.3);
  transform-origin: center;
}

.auth-success-btn:hover,
.auth-success-btn:focus-visible {
  transform: translateY(-1px);
  filter: none;
}

.auth-success-btn-primary {
  background: linear-gradient(180deg, #a78cff 0%, var(--cta-accent) 42%, var(--cta-end) 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 12px 20px rgba(124, 58, 237, 0.32), inset 0 -3px 0 rgba(255, 255, 255, 0.12);
}

.auth-success-btn-secondary {
  background: transparent;
  border: 1px solid rgba(139, 92, 246, 0.32);
  color: #e8ecf5;
  box-shadow: none;
}

.auth-success-btn-secondary:hover,
.auth-success-btn-secondary:focus-visible {
  background: rgba(139, 92, 246, 0.08);
  border-color: rgba(139, 92, 246, 0.52);
}

.auth-success-secondary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
}

.auth-success-error {
  margin-top: 18px;
  text-align: left;
}

.auth-success-footer {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.auth-success-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.auth-success-footer-break {
  display: none;
}

.auth-openapp-subtitle-break {
  display: none;
}

.auth-openapp-logo {
  width: min(280px, 52vw);
  margin: 0 auto 20px;
  display: block;
  filter: drop-shadow(0 12px 24px rgba(139, 92, 246, 0.22));
  animation: auth-openapp-shake 2s ease-in-out infinite;
}

@keyframes auth-openapp-shake {

  0%,
  82%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }

  84% {
    transform: translate3d(-2px, 1px, 0) rotate(-1deg);
  }

  86% {
    transform: translate3d(2px, -1px, 0) rotate(1deg);
  }

  88% {
    transform: translate3d(-1px, 0px, 0) rotate(-0.6deg);
  }

  90% {
    transform: translate3d(1px, 1px, 0) rotate(0.6deg);
  }
}

@keyframes auth-error-blink {
  0%,
  49% {
    opacity: 1;
  }

  50%,
  100% {
    opacity: 0.2;
  }
}

@media (max-width: 980px) {
  .auth-panel {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .auth-panel--plain {
    width: min(100%, 860px);
  }

  .auth-side {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .auth-content {
    padding: 24px;
  }

  .auth-content--plain {
    padding: 24px 0;
  }

  .topbar-download-modal-card--guide {
    width: min(840px, 100%);
  }

  .topbar-download-guide-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .topbar-download-guide-step:last-child {
    grid-column: 1 / -1;
    max-width: 360px;
    width: 100%;
    justify-self: center;
  }
}

@media (max-width: 720px) {
  .auth-topbar {
    margin: 12px 12px 6px;
    padding: 12px 12px;
    border-radius: 0;
  }

  .auth-topbar-actions {
    gap: 8px;
  }

  .topbar-download-trigger {
    --topbar-download-icon-gap: 0.225rem;
    min-height: 40px;
    padding: 0.62rem 0.84rem;
    gap: 0.45rem;
  }

  .topbar-download-trigger__label {
    font-size: 0.84rem;
  }

  .topbar-download-trigger__system-svg,
  .topbar-download-trigger__chevrons-svg {
    width: 15px;
    height: 15px;
  }

  .topbar-download-modal {
    padding: 16px 10px;
  }

  .topbar-download-modal-card--guide {
    width: min(560px, 100%);
    padding: 1rem 0.9rem;
    border-radius: 22px;
  }

  .topbar-download-guide-top {
    padding-right: 1.7rem;
  }

  .topbar-download-guide-steps {
    grid-template-columns: 1fr;
    gap: 0.72rem;
  }

  .topbar-download-guide-step:last-child {
    grid-column: auto;
    max-width: none;
  }

  .topbar-download-guide-step-copy {
    font-size: 0.89rem;
  }

  .page-language-trigger__label {
    display: none;
  }

  .page-language-trigger {
    padding-inline: 0.62rem;
  }

  .auth-main {
    padding: 14px;
  }

  .auth-main--plain {
    padding: 14px;
  }

  .auth-main--start {
    padding-bottom: 84px;
  }

  .auth-panel {
    border-radius: 24px;
  }

  .auth-panel--plain {
    width: 100%;
  }

  .auth-content--plain .auth-actions,
  .auth-content--plain .auth-stack {
    justify-content: flex-start;
  }

  .auth-side,
  .auth-content,
  .auth-card {
    padding: 22px;
  }

  .auth-content--plain {
    text-align: left;
    align-items: stretch;
    padding: 22px 0;
  }

  .auth-content--plain.auth-content--open {
    text-align: center;
    align-items: center;
  }

  .auth-content--plain .auth-title,
  .auth-content--plain .auth-subtitle {
    text-align: left;
  }

  .auth-content--plain.auth-content--open .auth-title,
  .auth-content--plain.auth-content--open .auth-subtitle {
    text-align: center;
  }

  .auth-content--plain.auth-content--login {
    text-align: center;
    align-items: center;
  }

  .auth-content--plain.auth-content--login .auth-title,
  .auth-content--plain.auth-content--login .auth-login-methods,
  .auth-content--plain.auth-content--login .auth-login-methods h3 {
    text-align: center;
  }

  .auth-content--plain .auth-input {
    width: 100%;
  }

  .auth-content--plain .auth-auth-card {
    width: 100%;
  }

  .auth-auth-grid,
  .auth-open-grid {
    grid-template-columns: 1fr;
  }

  .auth-content--plain .auth-auth-grid {
    grid-template-columns: 1fr;
  }

  .auth-progress-boundary {
    padding: 0 14px;
  }

  .auth-start-login-link {
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  }

  .auth-success-main {
    padding: 14px;
  }

  .auth-success-panel {
    padding: 34px 22px 26px;
    border-radius: 24px;
  }

  .auth-success-actions,
  .auth-success-secondary {
    flex-direction: column;
  }

  .auth-success-actions .auth-btn,
  .auth-success-secondary .auth-btn {
    width: 100%;
    justify-content: center;
  }

  .auth-success-actions .auth-btn.auth-success-btn-openapp {
    width: 296px;
    min-width: 296px;
  }

  .auth-success-pill {
    border-radius: 22px;
  }

  .auth-success-footer-break {
    display: block;
  }

  .auth-openapp-subtitle-break {
    display: block;
  }

  .auth-landing-cta {
    width: 100%;
  }
}
