body.st-shared-page {
  --st-bg: #fafbfd;
  --st-surface: #ffffff;
  --st-text: #1d2b41;
  --st-text-2: #56657a;
  --st-text-3: #6b788b;
  --st-border: #e4e9f1;
  --st-primary: #1668d5;
  --st-text-on-primary: #ffffff;
  --st-shared-icon: #426da8;
  --st-shared-header: rgb(255 255 255 / 82%);
  --st-shared-controls: #f3f5f9;
  --st-shared-shadow: 0 2px 5px rgb(30 50 80 / 2%), 0 16px 48px rgb(30 50 80 / 5%);
  margin: 0;
  min-height: 100dvh;
  background: var(--st-bg);
  color: var(--st-text);
  -webkit-font-smoothing: antialiased;
}
html[data-theme='dark'] body.st-shared-page {
  --st-bg: #13171e;
  --st-surface: #1c222c;
  --st-text: #eef3fb;
  --st-text-2: #b8c3d3;
  --st-text-3: #9aa8bb;
  --st-border: #303947;
  --st-primary: #a4c7ff;
  --st-text-on-primary: #142f54;
  --st-shared-icon: #aac5ed;
  --st-shared-header: rgb(19 23 30 / 86%);
  --st-shared-controls: #202630;
  --st-shared-shadow: 0 2px 5px rgb(0 0 0 / 4%), 0 16px 48px rgb(0 0 0 / 12%);
}
body.st-shared-page::before { display: none; }
.st-shared-header {
  --st-surface: #ffffff;
  --st-text: #1d2b41;
  --st-text-2: #56657a;
  --st-border: #e4e9f1;
  --st-primary: #1668d5;
  --st-shared-header: rgb(255 255 255 / 82%);
  --st-shared-controls: #f3f5f9;
  color: var(--st-text);
  background: var(--st-shared-header);
  border-bottom: 1px solid color-mix(in srgb, var(--st-border) 75%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
html[data-theme='dark'] .st-shared-header {
  --st-surface: #1c222c;
  --st-text: #eef3fb;
  --st-text-2: #b8c3d3;
  --st-border: #303947;
  --st-primary: #a4c7ff;
  --st-shared-header: rgb(19 23 30 / 86%);
  --st-shared-controls: #202630;
}
.st-shared-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1160px;
  min-height: 80px;
  margin-inline: auto;
  padding-inline: 32px;
}
.st-shared-brand { display: inline-flex; align-items: center; gap: 11px; color: inherit; text-decoration: none; border-radius: 12px; }
.st-shared-brand img { border-radius: 11px; }
.st-shared-wordmark { display: flex; align-items: baseline; gap: 9px; }
.st-shared-wordmark strong { font-size: 21px; line-height: 1.2; font-weight: 750; letter-spacing: -.035em; }
.st-shared-wordmark > span { color: var(--st-text-2); font-size: 13px; }
.st-shared-settings { display: flex; gap: 3px; padding: 4px; border-radius: 16px; background: var(--st-shared-controls); }
.st-shared-theme, .st-shared-language {
  display: grid; place-items: center; position: relative;
  width: 40px; height: 40px; border: 0; border-radius: 12px;
  background: transparent; color: var(--st-text-2); cursor: pointer;
}
.st-shared-language select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.st-shared-language > span, .st-shared-theme > span { width: 20px; height: 20px; background: currentColor; }
.st-shared-language > span { mask: url('../img/android/language.svg') center / contain no-repeat; }
.st-shared-theme > span { mask: url('../img/android/dark_mode.svg') center / contain no-repeat; }
.st-shared-theme[aria-pressed='true'] > span { mask: url('../img/light-mode.svg') center / contain no-repeat; }
.st-shared-theme:hover, .st-shared-language:hover { background: var(--st-surface); color: var(--st-text); }
.st-shared-theme:focus-visible, .st-shared-brand:focus-visible { outline: 2px solid var(--st-primary); outline-offset: 3px; }
.st-shared-language:focus-within { outline: 2px solid #888; outline-offset: 3px; }
html[data-header-focus='pointer'] .st-shared-language:focus-within { outline: none; }
.st-shared-main {
  display: flex; flex-direction: column; align-items: center;
  gap: 64px; max-width: 880px; margin: auto;
  padding: clamp(80px, 14vh, 144px) 32px 64px;
  box-sizing: border-box;
}
.st-shared-intro { width: 100%; min-width: 0; text-align: center; }
.st-shared-intro h1 {
  max-width: 760px; margin: 0 auto 20px;
  font-size: clamp(40px, 4.8vw, 58px); line-height: 1.12;
  letter-spacing: -.045em; font-weight: 750; text-wrap: balance;
}
.st-shared-description { max-width: 540px; margin: 0 auto 36px; color: var(--st-text-2); line-height: 1.65; font-size: 18px; text-wrap: balance; }
.st-shared-form {
  display: flex; align-items: center; gap: 10px; padding: 10px;
  border: 1px solid var(--st-border); border-radius: 22px;
  background: var(--st-surface); box-shadow: var(--st-shared-shadow);
}
.st-shared-form:focus-within { border-color: color-mix(in srgb, var(--st-primary) 50%, var(--st-border)); box-shadow: 0 0 0 4px color-mix(in srgb, var(--st-primary) 9%, transparent), var(--st-shared-shadow); }
.st-shared-form:has([aria-invalid='true']) { border-color: var(--st-danger); }
.st-shared-link-icon { display: grid; place-items: center; flex: 0 0 40px; width: 40px; height: 44px; background: transparent; color: var(--st-shared-icon); margin-inline-start: 2px; }
.st-shared-link-icon::before { content: ''; width: 23px; height: 23px; background: currentColor; mask: url('../img/android/link_24px.svg') center / contain no-repeat; }
.st-shared-form input { box-sizing: border-box; flex: 1 1 auto; width: 100%; min-width: 0; min-height: 48px; padding: 12px 8px; border: 0; border-radius: 8px; color: var(--st-text); background: transparent; font: inherit; font-size: 16px; }
.st-shared-form input::placeholder { color: var(--st-text-3); }
.st-shared-form input:focus { outline: none; }
.st-shared-open { display: inline-flex; align-items: center; justify-content: center; gap: 12px; flex-shrink: 0; min-height: 50px; padding: 14px 22px; border: 0; border-radius: 14px; background: var(--st-primary); color: var(--st-text-on-primary); cursor: pointer; font: inherit; font-size: 14px; font-weight: 650; }
.st-shared-open:hover { filter: brightness(.96); }
.st-shared-open:active { transform: translateY(1px); }
.st-shared-open:focus-visible, .st-shared-download-link:focus-visible { outline: 2px solid var(--st-primary); outline-offset: 4px; }
.st-shared-arrow { width: 18px; height: 18px; background: currentColor; mask: url('../img/android/chevron_right.svg') center / contain no-repeat; }
html[dir='rtl'] .st-shared-arrow { transform: scaleX(-1); }
.st-shared-hint { max-width: 540px; margin: 18px auto 0; color: var(--st-text-3); line-height: 1.65; font-size: 13px; text-wrap: balance; }
.st-shared-error { margin: 14px 0 0; color: var(--st-danger); font-size: 14px; line-height: 1.5; }
.st-shared-error[hidden] { display: none; }
.st-shared-app {
  display: flex; align-items: center; gap: 18px; width: 100%; box-sizing: border-box;
  padding: 24px; border: 1px solid var(--st-border); border-radius: 22px;
  background: var(--st-surface);
}
.st-shared-app-icon { flex-shrink: 0; border-radius: 14px; }
.st-shared-app-copy { min-width: 0; flex: 1; }
.st-shared-app h2 { margin: 0 0 6px; font-size: 16px; line-height: 1.4; letter-spacing: -.01em; font-weight: 650; }
.st-shared-app p { max-width: 420px; margin: 0; color: var(--st-text-2); line-height: 1.65; font-size: 14px; }
.st-shared-download-link { display: inline-flex; align-items: center; justify-content: center; gap: 9px; flex-shrink: 0; min-height: 44px; padding: 0 15px; border: 1px solid var(--st-border); border-radius: 12px; color: var(--st-text); background: var(--st-surface); text-decoration: none; font-size: 14px; font-weight: 600; }
.st-shared-download-link:hover { border-color: var(--st-primary); color: var(--st-primary); }
.st-shared-download { width: 19px; height: 19px; background: currentColor; mask: url('../img/android/download.svg') center / contain no-repeat; }
@media (prefers-reduced-motion: no-preference) {
  .st-shared-form, .st-shared-download-link, .st-shared-theme, .st-shared-language { transition: border-color 180ms ease, box-shadow 180ms ease, color 180ms ease, background-color 180ms ease; }
  .st-shared-open { transition: filter 180ms ease, transform 180ms ease; }
}
@media (max-width: 600px) {
  .st-shared-header-inner { min-height: 72px; padding-inline: 20px; gap: 12px; }
  .st-shared-brand { gap: 9px; }
  .st-shared-brand img { width: 34px; height: 34px; }
  .st-shared-wordmark { flex-direction: column; gap: 1px; }
  .st-shared-wordmark strong { font-size: 19px; }
  .st-shared-wordmark > span { font-size: 11px; line-height: 1.3; }
  .st-shared-main { padding: 64px 22px 40px; gap: 40px; }
  .st-shared-intro h1 { max-width: 340px; font-size: 38px; margin-bottom: 18px; }
  .st-shared-description { font-size: 16px; margin-bottom: 28px; }
  .st-shared-form { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px 8px; border-radius: 20px; padding: 10px; }
  .st-shared-link-icon { width: 30px; height: 38px; flex-basis: 30px; margin: 0; }
  .st-shared-link-icon::before { width: 21px; height: 21px; }
  .st-shared-form input { padding-inline: 4px; }
  .st-shared-open { width: 100%; grid-column: 1 / -1; }
  .st-shared-app { display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: start; gap: 18px 14px; padding: 20px; border-radius: 20px; }
  .st-shared-app-icon { width: 40px; height: 40px; border-radius: 12px; }
  .st-shared-download-link { grid-column: 1 / -1; width: 100%; box-sizing: border-box; }
}
