/* /link/* — карточка и кнопки в стиле bot-t.com/posting */

.link-page {
  min-height: 100vh;
}

.link-page__toolbar {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 20;
}

.link-page__toolbar .landing-header__theme {
  color: var(--landing-muted);
  background: var(--landing-header-glass);
  border: 1px solid var(--landing-header-glass-border);
  box-shadow: var(--landing-header-glass-shadow);
  backdrop-filter: blur(12px);
}

.link-page__toolbar .landing-header__theme:hover,
.link-page__toolbar .landing-header__theme:focus-visible {
  color: var(--landing-text);
  background: var(--landing-card);
}

.link-page__main {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  padding: 72px 20px 40px;
  box-sizing: border-box;
}

.link-page__card {
  width: 100%;
  max-width: 400px;
  padding: 28px 24px 24px;
  border-radius: 20px;
  background: var(--landing-card);
  border: 1px solid var(--landing-border);
  box-shadow: var(--landing-shadow), 0 16px 40px rgba(15, 23, 42, 0.08);
  text-align: center;
}

.link-page__brand {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--landing-lang-active-color, #2563eb);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
}

.link-page__brand:hover {
  text-decoration: underline;
}

.link-page__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.link-page__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 18px;
  border: 0;
  box-sizing: border-box;
  color: #fff;
  background-image: linear-gradient(145deg, #3b82f6 0%, #2563eb 100%);
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: filter 0.16s, transform 0.16s;
}

.link-page__btn:hover {
  filter: brightness(1.06);
  color: #fff;
  text-decoration: none;
}

.link-page__btn:focus-visible {
  outline: 2px solid #1d4ed8;
  outline-offset: 2px;
}

.link-page__btn--secondary {
  color: var(--landing-text);
  background-image: none;
  background-color: transparent;
  border: 1px solid var(--landing-border);
}

.link-page__btn--secondary:hover {
  color: var(--landing-text);
  background-color: var(--landing-menu-hover);
  filter: none;
}

.link-page__icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.link-page__fallback {
  display: inline-block;
  margin-top: 18px;
  color: var(--landing-muted);
  font-size: 13px;
  text-decoration: none;
}

.link-page__fallback:hover {
  color: var(--landing-lang-active-color, #2563eb);
  text-decoration: underline;
}

.link-page__title {
  margin: 0 0 8px;
  color: var(--landing-text);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}

.link-page__hint {
  margin: 0 0 20px;
  color: var(--landing-muted);
  font-size: 14px;
  line-height: 1.45;
}

.link-page__field {
  width: 100%;
  margin-bottom: 12px;
  padding: 12px 14px;
  border: 1px solid var(--landing-border);
  border-radius: 12px;
  background: var(--landing-page-end, #f8fafc);
  color: var(--landing-text);
  font-family: inherit;
  font-size: 15px;
  box-sizing: border-box;
}

.link-page__field:focus {
  outline: 2px solid #2563eb;
  outline-offset: 1px;
}

.link-page__note {
  display: block;
  margin-top: 14px;
  color: var(--landing-subtle);
  font-size: 12px;
  line-height: 1.4;
}

.link-page__note a {
  color: var(--landing-lang-active-color, #2563eb);
  text-decoration: none;
}

.link-page__note a:hover {
  text-decoration: underline;
}

.link-page__copy {
  margin-top: 20px;
  color: var(--landing-caption);
  font-size: 12px;
}
