/* LeTube v2 — премиум минимализм
   Принципы: тонкие линии, угольная типографика, белая бумага,
   нулевые тени, нулевые градиенты, нулевые украшения.
   Светлая и тёмная темы. */

@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Inter:wght@400;450;500;600;700&display=swap');

/* === Темы === */
:root,
html[data-theme="light"] {
  --bg:       #fafaf8;
  --bg-2:     #f4f3ef;
  --surface:  #ffffff;
  --ink:      #0a0a0b;
  --ink-2:    #1a1a1c;
  --ink-soft: #5b5b60;
  --muted:    #9a9aa0;
  --line:     #e6e5e0;
  --line-strong: #d6d5d0;
  --accent:   #0a0a0b;
  --like:     #ff2d55;
  --danger:   #c8261b;
  --ok:       #2c8048;
}

html[data-theme="dark"] {
  --bg:       #0c0c0d;
  --bg-2:     #141416;
  --surface:  #121214;
  --ink:      #f5f5f3;
  --ink-2:    #e8e8e6;
  --ink-soft: #a4a4a8;
  --muted:    #6e6e74;
  --line:     #232326;
  --line-strong: #34343a;
  --accent:   #f5f5f3;
  --like:     #ff3b66;
  --danger:   #ff6b5e;
  --ok:       #45c47a;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'ss01', 'cv11';
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--ink); }
button { font: inherit; cursor: pointer; background: none; border: none; padding: 0; color: inherit; }
img, video { max-width: 100%; display: block; }
::selection { background: var(--ink); color: var(--bg); }

/* === Шапка === */
.lt-top {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.lt-top__inner {
  max-width: 1080px; margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 14px 24px;
}
.lt-logo {
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
  font-size: 26px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.lt-logo span { color: var(--ink); }
.lt-logo:hover { text-decoration: none; }

.lt-search {
  position: relative; display: flex; align-items: center;
  max-width: 380px; width: 100%;
}
.lt-search svg {
  position: absolute; left: 12px; color: var(--muted);
  pointer-events: none;
}
.lt-search input {
  width: 100%;
  padding: 9px 14px 9px 36px;
  background: var(--bg-2);
  border: 1px solid transparent;
  border-radius: 10px;
  font: inherit; font-size: 14px;
  color: var(--ink);
  outline: none;
  transition: border-color .15s, background .15s;
}
.lt-search input:focus {
  background: var(--surface);
  border-color: var(--line-strong);
}

.lt-nav { display: flex; align-items: center; gap: 4px; }
.lt-nav__ico {
  position: relative;
  display: grid; place-items: center;
  width: 38px; height: 38px;
  border-radius: 10px;
  color: var(--ink-soft);
  transition: color .12s, background .12s;
}
.lt-nav__ico:hover { color: var(--ink); background: var(--bg-2); }
.lt-nav__admin { color: var(--ink); }
.lt-nav__me img {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid var(--line);
  margin-left: 6px;
}
.lt-nav__txt {
  font-size: 14px; font-weight: 500;
  padding: 8px 12px;
  color: var(--ink-soft);
}
.lt-nav__txt:hover { color: var(--ink); }

.lt-badge {
  position: absolute; top: 4px; right: 4px;
  background: var(--like); color: #fff;
  font-size: 10px; font-weight: 600;
  min-width: 16px; height: 16px;
  border-radius: 8px;
  display: grid; place-items: center;
  padding: 0 4px;
}

/* === Кнопки === */
.lt-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  background: var(--ink);
  color: var(--bg);
  padding: 11px 18px;
  border: 1px solid var(--ink);
  border-radius: 10px;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: opacity .15s, transform .08s;
}
.lt-btn:hover { opacity: .88; color: var(--bg); text-decoration: none; }
.lt-btn:active { transform: scale(.98); }
.lt-btn--sm { padding: 8px 14px; font-size: 13px; border-radius: 8px; }
.lt-btn--block { width: 100%; }
.lt-btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.lt-btn--ghost:hover { background: var(--bg-2); color: var(--ink); opacity: 1; }
.lt-btn--danger {
  background: transparent;
  color: var(--danger);
  border-color: var(--danger);
}
.lt-btn--danger:hover { background: var(--danger); color: #fff; opacity: 1; }

/* === Layout === */
.lt-main {
  max-width: 680px;
  margin: 0 auto;
  padding: 32px 20px 80px;
}

/* === Tabs === */
.lt-tabs {
  display: flex;
  gap: 28px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
  margin-top: -8px;
}
.lt-tabs a {
  position: relative;
  padding: 12px 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}
.lt-tabs a:hover { color: var(--ink-soft); }
.lt-tabs a.is-active {
  color: var(--ink);
}
.lt-tabs a.is-active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px;
  height: 1px; background: var(--ink);
}
.lt-tabs--sub { margin-top: 0; }

/* === Auth === */
.lt-auth {
  max-width: 360px;
  margin: 40px auto;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.lt-auth h1 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
  font-size: 36px;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
  line-height: 1;
}
.lt-auth__alt {
  color: var(--muted); margin-top: 18px; font-size: 14px; text-align: center;
}
.lt-auth__alt a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

.lt-form { display: grid; gap: 14px; }
.lt-form label {
  display: grid; gap: 6px;
  font-size: 12px; font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.lt-form input, .lt-form textarea {
  font: inherit; color: var(--ink);
  font-size: 15px; letter-spacing: -0.005em;
  text-transform: none;
  padding: 11px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  outline: none;
  transition: border-color .15s;
}
.lt-form input:focus, .lt-form textarea:focus { border-color: var(--ink); }
.lt-form textarea { resize: vertical; min-height: 80px; font-family: inherit; }

.lt-err, .lt-ok {
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
  margin-bottom: 14px;
  border: 1px solid;
}
.lt-err { color: var(--danger); border-color: color-mix(in srgb, var(--danger) 30%, transparent); background: color-mix(in srgb, var(--danger) 8%, transparent); }
.lt-ok  { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 30%, transparent); background: color-mix(in srgb, var(--ok) 8%, transparent); }

/* === Feed & posts === */
.lt-feed { display: grid; gap: 56px; }

.lt-post {
  display: grid;
  gap: 14px;
}
.lt-post__head {
  display: flex; align-items: center; justify-content: space-between;
}
.lt-post__author {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--ink);
}
.lt-post__author:hover { text-decoration: none; }
.lt-post__author img {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
}
.lt-post__author strong {
  display: block; font-size: 14px; font-weight: 600;
  letter-spacing: -0.005em;
}
.lt-post__author em {
  display: block; font-style: normal;
  font-size: 12px; color: var(--muted);
  margin-top: 2px;
}
.lt-post__menu {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  color: var(--muted);
  border-radius: 8px;
}
.lt-post__menu:hover { color: var(--ink); background: var(--bg-2); }

.lt-post__media {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--line);
  position: relative;
}
.lt-post__media img, .lt-post__media video {
  width: 100%;
  max-height: 700px;
  object-fit: contain;
  background: var(--bg-2);
}

.lt-post__bar {
  display: flex; align-items: center; gap: 16px;
  flex-wrap: wrap;
}
.lt-act {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--ink);
  padding: 4px;
  border-radius: 8px;
  font-size: 13.5px; font-weight: 500;
  font-variant-numeric: tabular-nums;
  transition: color .12s, transform .15s;
}
.lt-act:hover { color: var(--ink); text-decoration: none; }
.lt-act:active { transform: scale(.94); }
.lt-act svg { color: var(--ink); transition: color .15s; }

.lt-like.is-on svg { color: var(--like); }
.lt-like.is-on .lt-act__path { fill: var(--like); stroke: var(--like); }
.lt-like.is-on .lt-act__n { color: var(--like); }
@keyframes lt-pop { 0%{transform:scale(.8)} 50%{transform:scale(1.3)} 100%{transform:scale(1)} }
.lt-like.is-bursting svg { animation: lt-pop .35s ease; }

.lt-save.is-on svg { color: var(--ink); }
.lt-save.is-on .lt-act__path { fill: var(--ink); }

.lt-post__cap {
  font-size: 14.5px; line-height: 1.55;
  color: var(--ink-2);
}
.lt-post__cap a:first-child {
  font-weight: 600; color: var(--ink); margin-right: 6px;
}
.lt-tag {
  color: var(--ink-soft);
  font-weight: 500;
}
.lt-tag:hover { color: var(--ink); text-decoration: none; }

.lt-mention {
  color: var(--like, #ff2d55);
  font-weight: 500;
  text-decoration: none;
}
.lt-mention:hover { text-decoration: underline; }

/* === Подгрузка/пусто === */
.lt-more { text-align: center; padding: 40px 0 12px; }
.lt-more button {
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  transition: background .12s, border-color .12s;
}
.lt-more button:hover { background: var(--bg-2); border-color: var(--ink-soft); }

.lt-empty {
  text-align: center; padding: 80px 20px;
  color: var(--muted);
}
.lt-empty h2 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400; font-size: 30px;
  margin: 0 0 8px;
  color: var(--ink); letter-spacing: -0.02em;
}
.lt-empty p { font-size: 15px; }
.lt-empty a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* === Профиль === */
.lt-profile__head {
  display: grid; grid-template-columns: 128px 1fr;
  gap: 32px; align-items: center;
  padding: 12px 0 32px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}
.lt-profile__avatar {
  width: 128px; height: 128px;
  border-radius: 50%;
  border: 1px solid var(--line);
  object-fit: cover;
}
.lt-profile__row {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
}
.lt-profile__row h1 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400; font-size: 36px;
  margin: 0; letter-spacing: -0.02em; line-height: 1;
}
.lt-profile__name { margin: 6px 0 2px; font-weight: 600; color: var(--ink); }
.lt-profile__bio { margin: 4px 0; color: var(--ink-soft); }
.lt-profile__stats {
  list-style: none; padding: 0; margin: 14px 0 0;
  display: flex; gap: 22px; font-size: 13.5px; color: var(--muted);
}
.lt-profile__stats strong {
  color: var(--ink); font-weight: 600;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 540px) {
  .lt-profile__head { grid-template-columns: 80px 1fr; gap: 16px; }
  .lt-profile__avatar { width: 80px; height: 80px; }
  .lt-profile__row h1 { font-size: 26px; }
  .lt-profile__stats { gap: 18px; font-size: 13px; }
}

/* === Grid в профиле === */
.lt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.lt-grid__cell {
  position: relative; aspect-ratio: 1 / 1; overflow: hidden;
  background: var(--bg-2);
  border-radius: 6px;
}
.lt-grid__cell img, .lt-grid__cell video {
  width: 100%; height: 100%; object-fit: cover;
}
.lt-grid__hover {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--ink) 70%, transparent);
  color: var(--bg); font-weight: 500; font-size: 13px;
  opacity: 0; transition: opacity .15s;
}
.lt-grid__cell:hover .lt-grid__hover { opacity: 1; }

/* === Upload / Settings / Single === */
.lt-upload, .lt-settings, .lt-search-page, .lt-single, .lt-notif-page, .lt-admin {
  display: grid; gap: 22px;
}
.lt-upload h1, .lt-settings h1, .lt-search-page h1, .lt-single h1, .lt-notif-page h1, .lt-admin h1 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400; font-size: 38px;
  margin: 0; letter-spacing: -0.02em; line-height: 1;
}

/* === Card (карточка-секция) === */
.lt-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  display: grid; gap: 16px;
}
.lt-card h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.005em;
}
.lt-card--danger { border-color: color-mix(in srgb, var(--danger) 30%, var(--line)); }
.lt-card--danger h2 { color: var(--danger); }

.lt-drop {
  position: relative; display: grid; place-items: center;
  min-height: 280px; padding: 24px;
  border: 1.5px dashed var(--line-strong);
  border-radius: 14px;
  background: var(--bg-2);
  cursor: pointer; text-align: center;
  transition: border-color .15s, background .15s;
}
.lt-drop:hover { border-color: var(--ink-soft); }
.lt-drop input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.lt-drop__hint {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 24px; color: var(--ink);
}
.lt-drop__sub { color: var(--muted); font-size: 13px; margin-top: 8px; }
.lt-drop__preview { margin-top: 18px; max-width: 380px; width: 100%; }
.lt-drop__preview img, .lt-drop__preview video {
  width: 100%; max-height: 320px; object-fit: contain;
  border-radius: 10px; background: #000;
}

.lt-settings__avatar { display: flex; align-items: center; gap: 16px; }
.lt-settings__avatar img {
  width: 72px; height: 72px;
  border-radius: 50%;
  border: 1px solid var(--line);
}

/* === Тема (превью) === */
.lt-theme { display: flex; gap: 14px; }
.lt-theme__opt {
  flex: 1;
  display: grid; gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  font-size: 13px; font-weight: 500;
  color: var(--ink-soft);
  text-transform: none; letter-spacing: 0;
  transition: border-color .15s;
}
.lt-theme__opt input { display: none; }
.lt-theme__opt.is-on { border-color: var(--ink); color: var(--ink); }
.lt-theme__preview {
  height: 56px;
  border-radius: 8px;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.lt-theme__preview--light { background: #fafaf8; }
.lt-theme__preview--light::before {
  content: ''; position: absolute; left: 8px; top: 8px;
  width: 36%; height: 4px; background: #0a0a0b; border-radius: 2px;
}
.lt-theme__preview--light::after {
  content: ''; position: absolute; left: 8px; top: 20px;
  width: 70%; height: 3px; background: #d6d5d0; border-radius: 2px;
  box-shadow: 0 8px 0 #d6d5d0, 0 16px 0 #d6d5d0;
}
.lt-theme__preview--dark { background: #0c0c0d; }
.lt-theme__preview--dark::before {
  content: ''; position: absolute; left: 8px; top: 8px;
  width: 36%; height: 4px; background: #f5f5f3; border-radius: 2px;
}
.lt-theme__preview--dark::after {
  content: ''; position: absolute; left: 8px; top: 20px;
  width: 70%; height: 3px; background: #34343a; border-radius: 2px;
  box-shadow: 0 8px 0 #34343a, 0 16px 0 #34343a;
}

/* === Поиск === */
.lt-search-page .lt-search input { padding: 12px 14px 12px 36px; max-width: 100%; }
.lt-search--inline input { max-width: 100%; }

.lt-tags-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.lt-userlist { list-style: none; padding: 0; display: grid; gap: 8px; margin: 0; }
.lt-userlist a {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
}
.lt-userlist a:hover { background: var(--bg-2); text-decoration: none; }
.lt-userlist img {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
}
.lt-userlist strong { display: block; font-weight: 600; }
.lt-userlist em { font-style: normal; font-size: 13px; color: var(--muted); }

/* === Комментарии === */
.lt-comments {
  margin-top: 12px; padding-top: 28px;
  border-top: 1px solid var(--line);
}
.lt-comments h2 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400; font-size: 22px;
  margin: 0 0 18px; letter-spacing: -0.01em;
}
.lt-comment-form {
  display: flex; gap: 8px; margin-bottom: 22px;
}
.lt-comment-form input {
  flex: 1;
  padding: 11px 14px;
  background: var(--bg-2);
  border: 1px solid transparent;
  border-radius: 10px;
  font: inherit; outline: none;
  color: var(--ink);
}
.lt-comment-form input:focus {
  background: var(--surface);
  border-color: var(--line-strong);
}

.lt-comments__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.lt-comment {
  display: grid; grid-template-columns: 36px 1fr;
  gap: 12px; position: relative;
}
.lt-comment img {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
}
.lt-comment__user { font-weight: 600; color: var(--ink); }
.lt-comment__time { color: var(--muted); font-size: 12px; margin-left: 8px; }
.lt-comment p { margin: 4px 0 0; color: var(--ink-2); }
.lt-comment__del {
  position: absolute; top: 0; right: 0;
  color: var(--muted); font-size: 18px;
  width: 24px; height: 24px;
  border-radius: 4px;
  opacity: 0; transition: opacity .15s, color .15s;
}
.lt-comment:hover .lt-comment__del { opacity: 1; }
.lt-comment__del:hover { color: var(--danger); }

/* === Уведомления === */
.lt-notifs { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.lt-notif {
  display: grid; grid-template-columns: 40px 1fr auto;
  gap: 12px; align-items: center;
  padding: 12px;
  border-radius: 12px;
}
.lt-notif:hover { background: var(--bg-2); }
.lt-notif img { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); }
.lt-notif__body { font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.lt-notif__body strong { color: var(--ink); font-weight: 600; }
.lt-notif__body em { display: block; font-style: normal; color: var(--muted); font-size: 12px; }
.lt-notif__thumb { width: 44px; height: 44px; overflow: hidden; border-radius: 8px; }
.lt-notif__thumb img, .lt-notif__thumb video { width: 100%; height: 100%; object-fit: cover; }

/* === Админка === */
.lt-admin { max-width: 100%; }
.lt-admin__head { margin-bottom: 4px; }
.lt-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.lt-stat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  display: grid; gap: 4px;
}
.lt-stat span {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 36px; line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.lt-stat em { font-style: normal; font-size: 12px; color: var(--muted); }

.lt-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.lt-table th, .lt-table td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}
.lt-table th {
  font-weight: 500; color: var(--muted);
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em;
}
.lt-table tr.is-banned { opacity: .55; }
.lt-tag-bad {
  display: inline-block; padding: 2px 8px; border-radius: 6px;
  background: color-mix(in srgb, var(--danger) 15%, transparent);
  color: var(--danger); font-size: 11px; font-weight: 500;
}
.lt-tag-ok {
  display: inline-block; padding: 2px 8px; border-radius: 6px;
  background: color-mix(in srgb, var(--ok) 15%, transparent);
  color: var(--ok); font-size: 11px; font-weight: 500;
}
.lt-row-actions { display: flex; gap: 6px; }

.lt-admin-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}
.lt-admin-cell {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.lt-admin-cell__media {
  display: block;
  aspect-ratio: 1; background: var(--bg-2);
}
.lt-admin-cell__media img, .lt-admin-cell__media video {
  width: 100%; height: 100%; object-fit: cover;
}
.lt-admin-cell__meta {
  padding: 10px;
  display: grid; gap: 6px;
  font-size: 12.5px;
}

/* === Меню поста (модалка/попап) === */
.lt-menu {
  position: fixed; inset: 0;
  background: color-mix(in srgb, var(--ink) 30%, transparent);
  display: grid; place-items: center;
  z-index: 100; padding: 20px;
}
.lt-menu__box {
  background: var(--surface);
  border-radius: 14px;
  width: 100%; max-width: 320px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.lt-menu__btn {
  display: block; width: 100%;
  padding: 14px 16px;
  text-align: center;
  font-size: 14px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  transition: background .12s;
}
.lt-menu__btn:hover { background: var(--bg-2); }
.lt-menu__btn:last-child { border-bottom: none; }
.lt-menu__btn--danger { color: var(--danger); font-weight: 500; }

/* === Прочее === */
.lt-muted { color: var(--muted); font-size: 13.5px; }
.lt-muted--center { text-align: center; padding: 12px 0; }
.lt-muted a { color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px; }

code {
  background: var(--bg-2);
  padding: 1px 6px;
  border-radius: 5px;
  font-family: ui-monospace, monospace;
  font-size: 13px;
}

main.lt-main + .lt-foot { display: none; }
.lt-foot { display: none; }

@media (max-width: 640px) {
  .lt-top__inner { grid-template-columns: auto 1fr; gap: 12px; padding: 12px 16px; }
  .lt-search { grid-column: 1 / -1; order: 3; max-width: 100%; }
  .lt-logo { font-size: 22px; }
  .lt-main { padding: 20px 16px 80px; }
  .lt-feed { gap: 40px; }
  .lt-stats { grid-template-columns: repeat(2, 1fr); }
  .lt-theme { flex-direction: column; }
  .lt-table { font-size: 12.5px; }
  .lt-table th, .lt-table td { padding: 8px 6px; }
}
/* === Верификация === */
.lt-verified {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: -0.12em;
  margin-left: 0.25em;
  color: #1d9bf0;
}
.lt-verified svg {
  display: block;
  width: 1em;
  height: 1em;
}

/* В крупных заголовках профиля — чуть меньше */
.lt-profile__row h1 .lt-verified svg {
  width: 0.7em;
  height: 0.7em;
}

/* Заявка-форма пользователя */
.lt-drop--sm {
  min-height: 120px;
  padding: 18px;
}
.lt-drop--sm .lt-drop__hint {
  font-size: 18px;
}
.lt-details {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
}
.lt-details summary {
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
}
.lt-details summary:hover { color: var(--ink); }
.lt-verify__reason {
  white-space: pre-wrap;
  background: var(--bg-2);
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--ink-2);
  margin: 12px 0;
}

/* Заявки в админке — компактная сетка */
.lt-verify-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}
.lt-verify-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
  display: flex;
  flex-direction: column;
}
.lt-verify-card__video {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #000;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid var(--line);
}
.lt-verify-card__body {
  padding: 12px 14px;
  display: grid;
  gap: 10px;
}
.lt-verify-card__head {
  display: flex; align-items: center; gap: 10px;
}
.lt-verify-card__head img {
  width: 32px; height: 32px;
  border-radius: 50%; border: 1px solid var(--line);
  flex-shrink: 0;
}
.lt-verify-card__head a {
  font-weight: 600; color: var(--ink); font-size: 14px;
}
.lt-verify-card__head em {
  display: block;
  font-style: normal;
  font-size: 11px;
  color: var(--muted);
  margin-top: 1px;
}
.lt-verify-card__reason {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.45;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  cursor: pointer;
}
.lt-verify-card__reason.is-expanded {
  display: block;
  overflow: visible;
}
.lt-verify-card__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: auto;
  padding: 0 14px 14px;
}
.lt-verify-card__actions form { display: contents; }
.lt-verify-card__actions .lt-btn {
  width: 100%;
  padding: 7px 10px;
  font-size: 12.5px;
}
.lt-verify-card__reject-input {
  grid-column: 1 / -1;
  padding: 7px 10px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit; font-size: 12px;
  color: var(--ink);
  outline: none;
  margin-bottom: 4px;
}
.lt-verify-card__reject-input:focus { border-color: var(--ink); }

/* Старые стили (legacy fallback, не используются больше, но не ломают) */
.lt-verify-list, .lt-verify-item { display: none; }

/* Видео-блок в посте: оверлей-ссылка + кнопка звука */
.lt-post__media--video {
  position: relative;
  display: block;
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--line);
}
.lt-post__media--video video {
  width: 100%;
  max-height: 700px;
  object-fit: contain;
  background: var(--bg-2);
  display: block;
}
/* Прозрачный слой-ссылка поверх видео — клик ведёт на пост */
.lt-post__media-link {
  position: absolute; inset: 0; z-index: 1;
  display: block;
}
/* Кнопка звука — поверх ссылки */
.lt-mute {
  position: absolute; right: 12px; bottom: 12px; z-index: 2;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(0, 0, 0, 0.55); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; border: 0; padding: 0;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background .15s, transform .15s;
}
.lt-mute:hover { background: rgba(0, 0, 0, 0.7); transform: scale(1.05); }
.lt-mute:active { transform: scale(0.95); }
.lt-mute svg { display: block; }

/* ===== Текстовые посты ===== */
.lt-post__text {
  display: block;
  padding: 4px 0 12px;
  background: transparent;
  border: none;
  color: var(--ink);
}
.lt-post__text:hover { text-decoration: none; }
.lt-post__text-body {
  display: block;
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 22px; line-height: 1.4;
  white-space: pre-wrap; word-break: break-word;
}

/* Текстовая плитка в сетке профиля */
.lt-grid__cell--text {
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-2); padding: 14px;
}
.lt-grid__text {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 14px; line-height: 1.4; color: var(--ink);
  text-align: center;
  overflow: hidden; display: -webkit-box;
  -webkit-line-clamp: 6; -webkit-box-orient: vertical;
}

@media (max-width: 640px) {
  .lt-post__text { padding: 4px 0 10px; }
  .lt-post__text-body { font-size: 18px; }
  .lt-grid__text { font-size: 11px; -webkit-line-clamp: 5; }
  .lt-grid__cell--text { padding: 8px; }
}

/* === Карусель в посте === */
.lt-post__carousel {
  position: relative;
  overflow: hidden;
  background: var(--bg-2);
}
.lt-post__carousel-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.lt-post__carousel-track::-webkit-scrollbar { display: none; }
.lt-post__carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  scroll-snap-align: start;
}
.lt-post__carousel-slide .lt-post__media {
  display: block;
  width: 100%;
}
.lt-post__carousel-slide img,
.lt-post__carousel-slide video {
  width: 100%;
  display: block;
  max-height: 80vh;
  object-fit: cover;
  background: var(--bg-2);
}

/* Точки-индикаторы */
.lt-post__dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
  padding: 4px 8px;
  background: rgba(0,0,0,0.25);
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.lt-post__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.6);
  transition: background .2s;
}
.lt-post__dot.is-active {
  background: #fff;
}

/* Счётчик 1/N */
.lt-post__counter {
  position: absolute;
  top: 10px; right: 10px;
  padding: 4px 10px;
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  border-radius: 999px;
  backdrop-filter: blur(4px);
  z-index: 2;
}

/* === Превью загрузки нескольких файлов === */
.lt-drop__preview {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 6px;
  margin-top: 10px;
}
.lt-drop__item {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 8px;
  background: var(--bg-2);
}
.lt-drop__item img,
.lt-drop__item video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

.lt-upload__info {
  font-size: 13px;
  color: var(--ink-soft);
  padding: 8px 12px;
  background: var(--bg-2);
  border-radius: 8px;
}
.lt-upload__info--over {
  background: rgba(255, 80, 80, 0.12);
  color: #c73030;
  font-weight: 500;
}

/* === Иконка "несколько" в сетке профиля === */
.lt-grid__multi {
  position: absolute;
  top: 6px; right: 6px;
  color: #fff;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.5));
  pointer-events: none;
  z-index: 1;
}
.lt-grid__cell {
  position: relative;
}

@media (max-width: 640px) {
  .lt-post__dots { bottom: 8px; }
  .lt-post__counter { top: 8px; right: 8px; font-size: 11px; padding: 3px 8px; }
}

/* === Табы (для уведомления/сообщения) === */
.lt-tabs {
  display: flex;
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
  gap: 4px;
}
.lt-tab {
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  position: relative;
}
.lt-tab.is-on {
  color: var(--ink);
  border-bottom-color: var(--ink);
}
.lt-tab__badge {
  display: inline-block;
  background: var(--like, #ff2d55);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 999px;
  margin-left: 4px;
  min-width: 18px;
  text-align: center;
}

/* === Список чатов === */
.lt-chats {
  list-style: none; padding: 0; margin: 0;
}
.lt-chat-item {
  border-bottom: 1px solid var(--line-soft, var(--line));
}
.lt-chat-item a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  color: var(--ink);
}
.lt-chat-item img {
  width: 48px; height: 48px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 1px solid var(--line);
}
.lt-chat-item__body { flex: 1; min-width: 0; }
.lt-chat-item__top {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 8px;
}
.lt-chat-item__top strong { font-weight: 600; font-size: 14.5px; }
.lt-chat-item__top em { font-size: 12px; color: var(--muted); font-style: normal; flex-shrink: 0; }
.lt-chat-item__preview {
  font-size: 13.5px;
  color: var(--ink-soft);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 2px;
}
.lt-chat-item__you { color: var(--muted); }
.lt-chat-item.is-unread .lt-chat-item__preview { color: var(--ink); font-weight: 500; }
.lt-chat-item__badge {
  background: var(--like, #ff2d55);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  min-width: 22px;
  text-align: center;
  flex-shrink: 0;
}

/* === Страница чата === */
.lt-chat {
  display: flex;
  flex-direction: column;
  height: 100dvh;
  max-height: 100dvh;
  background: var(--bg);
}
.lt-chat__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 5;
}
.lt-chat__back {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
}
.lt-chat__user {
  display: flex; align-items: center; gap: 10px;
  color: var(--ink); flex: 1; min-width: 0;
}
.lt-chat__user img {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--line);
}
.lt-chat__user strong { font-weight: 600; font-size: 14.5px; display: block; }
.lt-chat__user em { font-size: 12px; color: var(--muted); font-style: normal; }

.lt-chat__messages {
  list-style: none;
  padding: 14px 12px;
  margin: 0;
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  -webkit-overflow-scrolling: touch;
}
.lt-msg {
  max-width: 75%;
  padding: 8px 14px;
  border-radius: 18px;
  font-size: 14.5px;
  line-height: 1.4;
  word-break: break-word;
}
.lt-msg--mine {
  background: var(--ink);
  color: var(--bg);
  align-self: flex-end;
  border-bottom-right-radius: 6px;
}
.lt-msg--theirs {
  background: var(--bg-2);
  color: var(--ink);
  align-self: flex-start;
  border-bottom-left-radius: 6px;
}
.lt-msg__body { white-space: pre-wrap; }
.lt-msg__time {
  font-size: 10.5px;
  opacity: 0.6;
  margin-top: 2px;
}

.lt-chat__form {
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  border-top: 1px solid var(--line);
  background: var(--bg);
  position: sticky;
  bottom: 0;
}
.lt-chat__form input[type="text"] {
  flex: 1;
  padding: 11px 14px;
  background: var(--bg-2);
  border: 1px solid transparent;
  border-radius: 22px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  outline: none;
}
.lt-chat__form input[type="text"]:focus {
  background: var(--bg);
  border-color: var(--line);
}
.lt-chat__send {
  width: 42px; height: 42px;
  background: var(--ink);
  color: var(--bg);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.lt-chat__send:disabled { opacity: 0.5; cursor: default; }

@media (max-width: 640px) {
  .lt-tab { padding: 12px 14px; font-size: 13px; }
  .lt-chat-item a { padding: 10px 12px; }
  .lt-chat-item img { width: 44px; height: 44px; }
}

/* Блок с временным паролем в админке */
.lt-tmp-pwd { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.lt-tmp-pwd__code {
  font-family: 'Courier New', monospace;
  font-size: 16px;
  font-weight: 600;
  padding: 4px 10px;
  background: rgba(0,0,0,0.06);
  border-radius: 6px;
  user-select: all;
}
.lt-tmp-pwd small { color: var(--ink-soft); font-size: 12px; flex-basis: 100%; }

/* === Заблокированный профиль ("овощ") === */
.lt-profile--banned {
  min-height: 60vh;
}
.lt-profile__banned {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  gap: 14px;
}
.lt-profile__banned-avatar {
  width: 120px; height: 120px;
  border-radius: 50%;
  background: var(--bg-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  opacity: 0.6;
}
.lt-profile__banned-title {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 28px;
  font-weight: 400;
  margin: 0;
  color: var(--ink);
}
.lt-profile__banned-sub {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

@media (max-width: 640px) {
  .lt-profile__banned { padding: 40px 16px; }
  .lt-profile__banned-avatar { width: 96px; height: 96px; }
  .lt-profile__banned-avatar svg { width: 96px; height: 96px; }
  .lt-profile__banned-title { font-size: 22px; }
}

/* === Подписки: пин, цвет, бейдж, обводка === */
.lt-pin {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  margin-right: 3px;
  color: inherit;
}
.lt-pin svg {
  width: 14px;
  height: 14px;
}
.lt-edition-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 2px 7px;
  border-radius: 4px;
  color: #fff;
  margin-left: 4px;
  vertical-align: middle;
  text-transform: uppercase;
}

/* Аватар с обводкой подписки */
.lt-post__author img,
.lt-profile__avatar {
  transition: box-shadow .2s, border-color .2s;
}

/* === Страница /redeem === */
.lt-redeem {
  max-width: 520px;
  margin: 40px auto;
  padding: 0 16px;
}
.lt-redeem h1 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 32px;
  margin: 0 0 10px;
}
.lt-redeem__form input[type="text"] {
  text-align: center;
}
.lt-redeem__current,
.lt-redeem__success {
  background: var(--bg-2);
  padding: 24px;
  border-radius: 14px;
  margin-bottom: 20px;
  text-align: center;
}
.lt-redeem__success {
  background: linear-gradient(135deg, #fef9c3, #fde68a);
  color: #422006;
}
.lt-redeem__success-icon {
  font-size: 56px;
  margin-bottom: 4px;
}
.lt-redeem__success h2 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 26px;
  margin: 8px 0;
}
.lt-redeem__perks {
  list-style: none;
  padding: 14px 20px;
  margin: 14px 0;
  background: rgba(0,0,0,0.05);
  border-radius: 10px;
  text-align: left;
  font-size: 13.5px;
}
.lt-redeem__perks li { margin: 4px 0; }
.lt-redeem__perks code {
  background: rgba(0,0,0,0.1);
  padding: 1px 6px;
  border-radius: 4px;
  font-family: monospace;
}

/* === Админка: блок промокодов === */
.lt-promo-flash {
  margin-bottom: 14px;
}
.lt-promo-flash textarea {
  width: 100%;
  margin-top: 8px;
  padding: 10px;
  font-family: monospace;
  font-size: 14px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  resize: vertical;
  min-height: 100px;
}
.lt-promo-form { margin-top: 14px; }
.lt-promo-form__row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 10px;
}
.lt-promo-form__h {
  font-size: 14px;
  font-weight: 600;
  margin: 16px 0 8px;
  color: var(--ink-soft);
}
.lt-promo-form__perks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.lt-promo-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 14px;
  font-size: 13px;
}
.lt-promo-table th,
.lt-promo-table td {
  padding: 8px 6px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.lt-promo-table th {
  font-weight: 600;
  color: var(--ink-soft);
  font-size: 12px;
}
.lt-promo-table tr.is-used td { opacity: 0.55; }
.lt-promo-table code {
  font-family: monospace;
  font-size: 12.5px;
  background: var(--bg-2);
  padding: 2px 6px;
  border-radius: 4px;
}

@media (max-width: 640px) {
  .lt-promo-form__row { grid-template-columns: 1fr; }
  .lt-promo-form__perks { grid-template-columns: 1fr; }
  .lt-promo-table { font-size: 12px; }
}

/* === Пикер пина в админке === */
.lt-pin-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 16px;
}
.lt-pin-picker__item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 8px;
  min-width: 64px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color .15s, background .15s;
  background: var(--bg);
}
.lt-pin-picker__item:hover {
  border-color: var(--ink-soft);
}
.lt-pin-picker__item input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.lt-pin-picker__item:has(input:checked) {
  border-color: var(--ink);
  background: var(--bg-2);
}
.lt-pin-picker__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}
.lt-pin-picker__icon svg {
  width: 22px;
  height: 22px;
}
.lt-pin-picker__name {
  font-size: 10.5px;
  color: var(--ink-soft);
}
.lt-pin-picker__off {
  font-size: 12px;
  color: var(--muted);
  padding: 8px 4px;
}

/* === Страница /app — скачивание Android-приложения === */
.lt-app-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 20px 16px 60px;
}
.lt-app-page__hero {
  text-align: center;
  padding: 40px 0 30px;
}
.lt-app-page__icon {
  display: inline-block;
  margin-bottom: 18px;
}
.lt-app-page__icon svg {
  border-radius: 22px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.18);
}
.lt-app-page h1 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
  font-size: 42px;
  margin: 8px 0 6px;
  letter-spacing: -0.02em;
}
.lt-app-page__lead {
  color: var(--ink-soft);
  font-size: 16px;
  margin: 0 0 28px;
}

/* Большая кнопка скачивания */
.lt-btn--big {
  display: inline-block;
  padding: 16px 36px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 14px;
  background: var(--ink);
  color: var(--bg);
  border: none;
  cursor: pointer;
  transition: transform .15s, opacity .15s;
}
.lt-btn--big:hover { opacity: .85; transform: translateY(-1px); }

.lt-app-page__version {
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--muted);
}

/* Шаги установки */
.lt-app-page__how {
  margin-top: 50px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
}
.lt-app-page__how h2,
.lt-app-page__faq h2 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
  font-size: 26px;
  margin: 0 0 18px;
}
.lt-app-page__steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.lt-app-page__steps li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  background: var(--bg-2);
  border-radius: 10px;
}
.lt-app-page__steps strong {
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
}
.lt-app-page__steps span {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* FAQ */
.lt-app-page__faq {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.lt-app-page__faq details {
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
.lt-app-page__faq summary {
  cursor: pointer;
  font-weight: 500;
  font-size: 15px;
  list-style: none;
  position: relative;
  padding-right: 24px;
}
.lt-app-page__faq summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 20px;
  color: var(--muted);
  transition: transform .15s;
}
.lt-app-page__faq details[open] summary::after {
  content: '−';
}
.lt-app-page__faq p {
  margin: 10px 0 0;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.55;
}

.lt-app-page__contact {
  margin-top: 40px;
  text-align: center;
  font-size: 13px;
}

@media (max-width: 640px) {
  .lt-app-page h1 { font-size: 32px; }
  .lt-app-page__lead { font-size: 14px; }
  .lt-btn--big { padding: 14px 28px; font-size: 15px; }
}

/* === Прайс-лист /pricing === */
.lt-pricing { max-width: 1100px; margin: 0 auto; padding: 30px 16px 60px; }
.lt-pricing__head { text-align: center; margin-bottom: 40px; }
.lt-pricing__head h1 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
  font-size: 44px;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}
.lt-pricing__lead { color: var(--ink-soft); font-size: 16px; margin: 0; line-height: 1.5; }

.lt-pricing__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
  margin-bottom: 50px;
}

.lt-plan {
  position: relative;
  padding: 28px 22px;
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  transition: transform .15s, border-color .15s, box-shadow .15s;
}
.lt-plan:hover {
  border-color: var(--plan-color, var(--ink-soft));
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0,0,0,.06);
}
.lt-plan--highlight {
  border-color: var(--plan-color);
  border-width: 2px;
}
.lt-plan__badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--plan-color);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 999px;
  text-transform: uppercase;
}
.lt-plan__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--bg-2);
  color: var(--plan-color);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.lt-plan__icon svg { width: 26px; height: 26px; }
.lt-plan__name {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.lt-plan__tag { font-size: 13px; color: var(--muted); margin: 0 0 18px; }
.lt-plan__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.lt-plan__stars {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 30px;
  font-weight: 400;
  color: var(--ink);
}
.lt-plan__period { font-size: 13px; color: var(--muted); }
.lt-plan__features {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  flex: 1;
}
.lt-plan__features li {
  position: relative;
  padding: 6px 0 6px 22px;
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.4;
}
.lt-plan__features li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 6px;
  color: var(--plan-color);
  font-weight: 700;
}
.lt-plan__btn {
  display: block;
  text-align: center;
  padding: 12px 16px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  transition: background .15s, transform .15s;
}
.lt-plan__btn:hover {
  background: var(--plan-color);
  text-decoration: none;
  transform: translateY(-1px);
}
.lt-plan--highlight .lt-plan__btn { background: var(--plan-color); }
.lt-plan--highlight .lt-plan__btn:hover { opacity: 0.9; }

.lt-pricing__how,
.lt-pricing__faq {
  max-width: 720px;
  margin: 0 auto;
  padding: 30px 0;
  border-top: 1px solid var(--line);
}
.lt-pricing__how h2,
.lt-pricing__faq h2 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
  font-size: 26px;
  margin: 0 0 16px;
}
.lt-pricing__how ol { padding-left: 22px; line-height: 1.7; color: var(--ink-soft); }
.lt-pricing__how ol li { margin-bottom: 6px; }
.lt-pricing__how strong { color: var(--ink); }

.lt-pricing__faq details {
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
.lt-pricing__faq summary {
  cursor: pointer;
  font-weight: 500;
  font-size: 15px;
  list-style: none;
  position: relative;
  padding-right: 24px;
}
.lt-pricing__faq summary::after {
  content: '+';
  position: absolute; right: 0; top: 0;
  font-size: 20px;
  color: var(--muted);
}
.lt-pricing__faq details[open] summary::after { content: '−'; }
.lt-pricing__faq p {
  margin: 10px 0 0;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.55;
}

@media (max-width: 640px) {
  .lt-pricing__head h1 { font-size: 32px; }
  .lt-pricing__grid { grid-template-columns: 1fr; }
}

/* === Баннер «подтверди email» === */
.lt-email-banner {
  background: linear-gradient(90deg, #fef3c7, #fde68a);
  color: #422006;
  padding: 12px 16px;
  text-align: center;
  font-size: 14px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.lt-email-banner a {
  color: #422006;
  font-weight: 600;
  text-decoration: underline;
}

/* === Страница /verify_email === */
.lt-verify-email {
  max-width: 480px;
  margin: 40px auto;
  padding: 0 16px;
}
.lt-verify-email h1 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
  font-size: 32px;
  margin: 0 0 14px;
  text-align: center;
}
.lt-verify-form input[type="text"] {
  margin-top: 8px;
}

/* === Переключатель режима в /redeem/give === */
.lt-mode-switch {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
  padding: 4px;
  background: var(--bg-2);
  border-radius: 10px;
}
.lt-mode-switch__opt {
  flex: 1;
  padding: 10px 14px;
  text-align: center;
  cursor: pointer;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: background .15s, color .15s;
}
.lt-mode-switch__opt.is-on {
  background: var(--bg);
  color: var(--ink);
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.lt-mode-switch__opt input { display: none; }

.lt-mode-block { margin-top: 4px; }

/* === Чекбоксы в форме промокодов === */
.lt-promo-form__perks--checks {
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.lt-check {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: var(--bg-2);
  border-radius: 8px;
  cursor: pointer;
  font-size: 13.5px;
  color: var(--ink);
}
.lt-check input[type="checkbox"] {
  width: 16px; height: 16px;
  cursor: pointer;
}

/* === Страница /rules === */
.lt-rules {
  max-width: 720px;
  margin: 0 auto;
  padding: 30px 16px 60px;
}
.lt-rules__head {
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.lt-rules__head h1 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
  font-size: 44px;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}
.lt-rules__section {
  margin-bottom: 32px;
}
.lt-rules__section h2 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
  font-size: 22px;
  margin: 0 0 12px;
  color: var(--ink);
}
.lt-rules__section ul {
  padding-left: 22px;
  margin: 0;
}
.lt-rules__section li {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 6px;
}
.lt-rules__section li strong {
  color: var(--ink);
  font-weight: 600;
}
.lt-rules__footer {
  margin-top: 50px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  text-align: center;
}

/* === Футер с ссылками === */
.lt-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 24px 16px;
  font-size: 13px;
  color: var(--muted);
  flex-wrap: wrap;
}
.lt-foot a {
  color: var(--muted);
  text-decoration: none;
  transition: color .15s;
}
.lt-foot a:hover { color: var(--ink); }
.lt-foot__sep { opacity: 0.4; }

@media (max-width: 640px) {
  .lt-rules__head h1 { font-size: 32px; }
  .lt-rules__section h2 { font-size: 19px; }
}

/* === Страница /support === */
.lt-support {
  max-width: 720px;
  margin: 0 auto;
  padding: 30px 16px 60px;
}
.lt-support__head {
  text-align: center;
  margin-bottom: 36px;
}
.lt-support__head h1 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
  font-size: 42px;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}

/* Live-чат блок */
.lt-support__live {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  color: #422006;
  padding: 28px;
  border-radius: 14px;
  text-align: center;
  margin-bottom: 32px;
}
.lt-support__live-icon {
  font-size: 38px;
  margin-bottom: 8px;
}
.lt-support__live h2 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
  font-size: 26px;
  margin: 0 0 8px;
}
.lt-support__live p {
  margin: 0 0 16px;
  font-size: 14px;
  color: #6b4108;
}
.lt-support__live .lt-btn {
  background: #422006;
  color: #fff;
}
.lt-support__live .lt-btn:hover {
  background: #2a1404;
}

/* Форма заявки */
.lt-support__form-section,
.lt-support__contacts,
.lt-support__faq {
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.lt-support__form-section h2,
.lt-support__contacts h2,
.lt-support__faq h2 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
  font-size: 26px;
  margin: 0 0 10px;
}
.lt-support__form { margin-top: 14px; }
.lt-support__contact-list {
  list-style: none;
  padding: 0;
}
.lt-support__contact-list li {
  padding: 10px 0;
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.lt-support__contact-list strong { color: var(--ink); }

.lt-support__faq details {
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}
.lt-support__faq details:last-child { border-bottom: none; }
.lt-support__faq summary {
  cursor: pointer;
  font-weight: 500;
  font-size: 15px;
  list-style: none;
  position: relative;
  padding-right: 24px;
}
.lt-support__faq summary::after {
  content: '+';
  position: absolute; right: 0; top: 0;
  font-size: 20px;
  color: var(--muted);
}
.lt-support__faq details[open] summary::after { content: '−'; }
.lt-support__faq p {
  margin: 10px 0 0;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.55;
}

@media (max-width: 640px) {
  .lt-support__head h1 { font-size: 32px; }
}

/* === Репост (репост-баннер над постом) === */
.lt-post__repost-banner {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px 0;
  font-size: 12px;
  color: var(--muted);
}
.lt-post__repost-banner a {
  color: var(--ink);
  font-weight: 500;
}
.lt-post__repost-banner svg { color: #22c55e; }

.lt-post--deleted-repost {
  padding: 18px;
  text-align: center;
  background: var(--bg-2);
  border-radius: 12px;
  margin-bottom: 12px;
}

/* Кнопка репоста и поделиться */
.lt-act.lt-repost.is-on { color: #22c55e; }
.lt-act.lt-repost.is-on .lt-act__path { stroke: #22c55e; }
.lt-act.lt-share { padding-right: 10px; }

/* === Toast === */
.lt-toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink);
  color: var(--bg);
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  z-index: 9999;
  opacity: 0;
  transition: opacity .25s, transform .25s;
  pointer-events: none;
  box-shadow: 0 12px 32px rgba(0,0,0,.18);
}
.lt-toast.is-on {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* === Онлайн-точка === */
.lt-online-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: #22c55e;
  border-radius: 50%;
  border: 2px solid var(--bg);
  position: absolute;
  bottom: 0;
  right: 0;
}
.lt-online-dot--big {
  width: 18px;
  height: 18px;
  border: 3px solid var(--bg);
}
.lt-profile__avatar-wrap {
  position: relative;
  display: inline-block;
}
.lt-chat__avatar-wrap {
  position: relative;
  display: inline-block;
}

/* === Страница рефералов === */
.lt-referrals {
  max-width: 720px;
  margin: 0 auto;
  padding: 30px 16px 60px;
}
.lt-referrals__head {
  text-align: center;
  margin-bottom: 30px;
}
.lt-referrals__icon { font-size: 54px; margin-bottom: 10px; }
.lt-referrals__head h1 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
  font-size: 36px;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.lt-ref-link {
  display: flex;
  gap: 8px;
}
.lt-ref-link input {
  flex: 1;
  padding: 11px 14px;
  font-family: monospace;
  font-size: 14px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.lt-share-quick {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lt-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
}
.lt-stat {
  text-align: center;
  padding: 16px;
  background: var(--bg-2);
  border-radius: 10px;
}
.lt-stat__num {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 36px;
  font-weight: 400;
  margin-bottom: 4px;
}
.lt-stat__num--green { color: #22c55e; }
.lt-stat__num--orange { color: #d97706; }
.lt-stat__label {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.lt-invited-list {
  list-style: none;
  padding: 0;
}
.lt-invited-list li {
  border-bottom: 1px solid var(--line);
}
.lt-invited-list li:last-child { border-bottom: none; }
.lt-invited-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  color: inherit;
}
.lt-invited-row img {
  width: 36px; height: 36px; border-radius: 50%;
  object-fit: cover;
}
.lt-invited-row__name { flex: 1; display: flex; flex-direction: column; }
.lt-invited-row__name strong { font-size: 14px; }
.lt-invited-row__name em { font-style: normal; font-size: 12px; color: var(--muted); }

.lt-referrals__faq ol {
  padding-left: 22px;
  line-height: 1.7;
  font-size: 14.5px;
  color: var(--ink-soft);
}

/* Баннер реферала на регистрации */
.lt-auth__ref-banner {
  background: linear-gradient(90deg, #fef3c7, #fde68a);
  color: #422006;
  padding: 12px 16px;
  border-radius: 8px;
  text-align: center;
  font-size: 14px;
  margin-bottom: 16px;
}

@media (max-width: 640px) {
  .lt-referrals__head h1 { font-size: 28px; }
}
