/* ============ Портфолио Арти — тёмная серо-синяя тема ============ */
:root {
  --bg: #0f1420;
  --bg-2: #161c2c;
  --card: #1c2438;
  --card-hover: #222c44;
  --border: #2a3550;
  --text: #dde4f0;
  --muted: #8b96ad;
  --accent: #4f7cff;
  --accent-2: #6f9aff;
  --danger: #ff5f6d;
  --ok: #3ecf8e;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(0, 0, 0, .35);
  --shadow-lg: 0 14px 40px rgba(20, 40, 120, .45);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 60px;  /* якоря не прячутся под шапкой */
}
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
}
a { color: var(--accent-2); text-decoration: none; }
.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.accent { color: var(--accent); }

/* ---------- шапка ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15, 20, 32, .85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 60px; position: relative; }
.logo { font-size: 1.35rem; font-weight: 700; color: var(--text); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.burger {
  background: none; border: 1px solid var(--border); color: var(--muted);
  width: 38px; height: 34px; border-radius: 9px; cursor: pointer;
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; transition: all .2s;
}
.burger span { display: block; width: 16px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s, opacity .25s; }
.burger:hover { color: var(--accent-2); border-color: var(--accent); }
.burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.nav-menu {
  position: absolute; top: 54px; right: 0; z-index: 60;
  background: var(--card); border: 1px solid var(--border); border-radius: 12px;
  padding: 7px; min-width: 180px; display: none; flex-direction: column;
  box-shadow: var(--shadow-lg);
}
.nav-menu.open { display: flex; animation: fadeIn .18s ease; }
.nav-menu a { padding: 10px 14px; border-radius: 8px; color: var(--muted); transition: all .15s; }
.nav-menu a:hover { background: var(--bg-2); color: var(--text); }
.menu-sep { height: 1px; background: var(--border); margin: 6px 4px; }
.menu-user {
  padding: 6px 14px 2px; font-size: .8rem; color: var(--accent-2);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 220px;
}
.btn-admin {
  background: none; border: 1px solid var(--border); color: var(--muted);
  width: 34px; height: 34px; border-radius: 9px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: all .2s;
}
.btn-admin:hover { color: var(--accent-2); border-color: var(--accent); }

/* ---------- кнопки ---------- */
.btn {
  display: inline-block; padding: 11px 24px; border-radius: 10px;
  border: none; cursor: pointer; font-size: .95rem; font-weight: 600;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-2); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-support { background: linear-gradient(135deg, #7b5cff, #b04fff); color: #fff; }
.btn-support:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(150, 80, 255, .4); }
.btn-contact { background: linear-gradient(135deg, #2f9ed8, #4f7cff); color: #fff; position: relative; }
.btn-contact:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(60, 140, 230, .4); }
.btn-social { background: linear-gradient(135deg, #1fbf8f, #12a3b8); color: #fff; }
.btn-social:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(30, 180, 160, .4); }
.btn-badge {
  position: absolute; top: -7px; right: -7px;
  background: var(--danger); color: #fff;
  min-width: 21px; height: 21px; border-radius: 11px;
  font-size: .72rem; font-weight: 700; line-height: 21px;
  padding: 0 5px; text-align: center;
  border: 2px solid var(--bg);
  animation: fadeIn .3s ease;
}
.btn-outline { background: transparent; border: 1px solid var(--border); color: var(--text); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent-2); }
.btn-small { padding: 7px 14px; font-size: .85rem; }
.btn-block { width: 100%; }
.btn-danger { background: transparent; border: 1px solid var(--danger); color: var(--danger); }
.btn-danger:hover { background: var(--danger); color: #fff; }

/* ---------- hero ---------- */
.hero {
  padding: 38px 0 32px; text-align: center;
  background: radial-gradient(ellipse at 50% -20%, rgba(79, 124, 255, .18), transparent 60%);
}
.hero-photo {
  width: 96px; height: 96px; border-radius: 50%; object-fit: cover;
  border: 3px solid var(--accent); margin-bottom: 16px; box-shadow: var(--shadow-lg);
}
.hero-photo-placeholder {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 3rem; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--accent), #7b5cff);
}
.hero h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); margin-bottom: 6px; }
.hero-subtitle { color: var(--muted); font-size: 1.02rem; margin-bottom: 22px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- секции ---------- */
.section { padding: 22px 0; }
.section-title { font-size: 1.45rem; margin-bottom: 15px; text-align: center; }
.section-title::after {
  content: ''; display: block; width: 42px; height: 3px; margin: 9px auto 0;
  background: var(--accent); border-radius: 2px;
}
.about-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px 24px; box-shadow: var(--shadow);
  max-width: 700px; margin: 0 auto; white-space: pre-wrap; font-size: .95rem;
}

/* ---------- проекты: горизонтальная карусель ---------- */
.carousel-wrap { position: relative; }
.projects-grid {
  display: flex; gap: 12px;
  overflow-x: auto; scroll-snap-type: x proximity;
  padding: 8px 2px 10px;
  scrollbar-width: thin; scrollbar-color: var(--border) transparent;
  -webkit-overflow-scrolling: touch;
}
.projects-grid::-webkit-scrollbar { height: 6px; }
.projects-grid::-webkit-scrollbar-track { background: transparent; }
.projects-grid::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
.car-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--border); background: rgba(23, 30, 49, .92);
  color: var(--text); cursor: pointer; font-size: 1.25rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s;
}
.car-btn.prev { left: -12px; }
.car-btn.next { right: -12px; }
.car-btn:hover { border-color: var(--accent); color: var(--accent-2); }
.project-card {
  position: relative; cursor: pointer;
  flex: 0 0 212px; scroll-snap-align: start;
  background: linear-gradient(165deg, #232e4a 0%, #1a2338 60%, #182034 100%);
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .3);
  transition: transform .35s cubic-bezier(.2, .7, .3, 1.2), box-shadow .35s ease, border-color .35s ease;
  display: flex; flex-direction: column;
}
.project-card::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(111, 154, 255, .5), transparent);
  opacity: 0; transition: opacity .35s;
}
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px -14px rgba(79, 124, 255, .38), 0 8px 24px rgba(0, 0, 0, .4);
  border-color: rgba(111, 154, 255, .4);
}
.project-card:hover::before { opacity: 1; }

.project-thumb {
  position: relative; aspect-ratio: 2 / 1; overflow: hidden;
  background: #10162a;
}
.project-img {
  width: 100%; height: 100%; object-fit: contain; display: block;
  transition: transform .5s ease;
}
.project-card:hover .project-img { transform: scale(1.07); }
.project-img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(circle at 30% 25%, rgba(79, 124, 255, .28), transparent 55%),
    radial-gradient(circle at 75% 80%, rgba(123, 92, 255, .22), transparent 55%),
    linear-gradient(150deg, #1d2740, #161e32);
}
.project-img-placeholder span {
  font-size: 2.6rem; font-weight: 800; line-height: 1;
  background: linear-gradient(135deg, var(--accent-2), #a58bff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: .9;
  transition: transform .5s ease;
}
.project-card:hover .project-img-placeholder span { transform: scale(1.15); }

.project-body { padding: 10px 12px 12px; display: flex; flex-direction: column; flex: 1; }
.project-body h3 { margin-bottom: 3px; font-size: .95rem; letter-spacing: .01em; }
.project-body p { color: var(--muted); font-size: .8rem; flex: 1; line-height: 1.45; }
.project-actions { display: flex; gap: 8px; margin-top: 9px; }

.btn-card {
  flex: 1; padding: 7px 10px; border-radius: 9px; font-size: .8rem; font-weight: 600;
  text-align: center; cursor: pointer; font-family: inherit; line-height: 1.2;
  border: 1px solid transparent;
  background: rgba(79, 124, 255, .14); color: var(--accent-2);
  transition: background .25s, color .25s, border-color .25s;
}
.btn-card:hover { background: var(--accent); color: #fff; }
.btn-card-ghost {
  background: transparent; border-color: var(--border); color: var(--muted);
  display: inline-flex; align-items: center; justify-content: center; gap: 5px;
}
.btn-card-ghost:hover { background: transparent; border-color: var(--accent); color: var(--accent-2); }
.btn-card-ghost .arrow { transition: transform .25s; display: inline-block; }
.btn-card-ghost:hover .arrow { transform: translate(2px, -2px); }

/* ---------- bottom sheet «Поддержать» ---------- */
.sheet-overlay {
  position: fixed; inset: 0; z-index: 120;
  background: rgba(8, 12, 22, .65); backdrop-filter: blur(3px);
  opacity: 0; pointer-events: none; transition: opacity .25s ease;
}
.sheet-overlay.open { opacity: 1; pointer-events: auto; }
.sheet {
  position: absolute; left: 0; right: 0; bottom: 0;
  max-width: 520px; margin: 0 auto;
  background: linear-gradient(180deg, #212b45, #182034);
  border: 1px solid var(--border); border-bottom: none;
  border-radius: 20px 20px 0 0;
  padding: 12px 20px calc(24px + env(safe-area-inset-bottom));
  text-align: center;
  transform: translateY(100%);
  transition: transform .3s cubic-bezier(.2, .7, .3, 1);
  box-shadow: 0 -14px 44px rgba(0, 0, 0, .45);
}
.sheet-overlay.open .sheet { transform: none; }
.sheet-handle {
  width: 40px; height: 4px; border-radius: 2px;
  background: var(--border); margin: 0 auto 14px;
}
.sheet h3 { font-size: 1.15rem; margin-bottom: 4px; }
.sheet-sub { font-size: .87rem; margin-bottom: 16px; }
.sheet-list { display: flex; flex-direction: column; gap: 10px; }
.sheet-btn {
  display: flex; align-items: center; gap: 14px;
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: 13px; padding: 13px 16px;
  color: var(--text); text-align: left;
  transition: border-color .2s, background .2s, transform .15s;
}
.sheet-btn:hover { border-color: var(--accent); background: #1b2440; transform: translateY(-1px); }
.sheet-flag { font-size: 1.5rem; line-height: 1; }
.social-ic {
  width: 40px; height: 40px; border-radius: 11px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: .92rem;
}
.social-ic svg { width: 22px; height: 22px; fill: currentColor; }
.social-ic.tg { background: #29a9eb; }
.social-ic.vk { background: #0077ff; }
.social-ic.gh { background: #2b3137; }
.social-ic.yt { background: #e62117; }
.sheet-label { flex: 1; font-weight: 700; font-size: .98rem; display: flex; flex-direction: column; }
.sheet-label small { font-weight: 400; font-size: .78rem; color: var(--muted); }
.sheet-arrow { color: var(--muted); font-size: 1.05rem; }
.sheet-btn:hover .sheet-arrow { color: var(--accent-2); }

/* ---------- вход/регистрация ---------- */
.auth-form { display: flex; flex-direction: column; gap: 12px; }
.auth-switch { text-align: center; font-size: .87rem; color: var(--muted); margin-top: 14px; }
.auth-or {
  display: flex; align-items: center; gap: 12px; margin: 14px 0;
  color: var(--muted); font-size: .8rem;
}
.auth-or::before, .auth-or::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.btn-tg { background: #29a9eb; color: #fff; }
.btn-tg:hover { background: #3db5f2; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(41, 169, 235, .35); }

/* ---------- чат ---------- */
.chat-sheet {
  max-width: 480px; height: min(74vh, 580px);
  display: flex; flex-direction: column; text-align: left;
  padding-top: 14px;
}
.chat-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 8px; }
.chat-head h3 { margin: 0; font-size: 1.1rem; }
.chat-me { font-size: .8rem; }
.chat-head-btns { display: flex; align-items: center; gap: 10px; }
.chat-close { position: static; font-size: 1.6rem; }
.chat-msgs {
  flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 8px;
  padding: 10px 2px; scrollbar-width: thin; scrollbar-color: var(--border) transparent;
}
.chat-empty { color: var(--muted); text-align: center; margin: auto; font-size: .9rem; }
.bubble {
  max-width: 82%; padding: 8px 12px 5px; border-radius: 14px;
  font-size: .92rem; line-height: 1.4; white-space: pre-wrap; word-break: break-word;
}
.bubble.user { align-self: flex-end; background: var(--accent); color: #fff; border-bottom-right-radius: 4px; }
.bubble.admin { align-self: flex-start; background: var(--bg-2); border: 1px solid var(--border); border-bottom-left-radius: 4px; }
.bubble time { display: block; font-size: .66rem; opacity: .65; margin-top: 2px; text-align: right; }
.chat-inputrow { display: flex; gap: 8px; margin-top: 4px; }
.chat-inputrow .btn { padding: 10px 16px; flex-shrink: 0; }

/* ---------- страница «Спасибо» ---------- */
.thanks-wrap {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 20px;
  background: radial-gradient(ellipse at 50% 0%, rgba(123, 92, 255, .15), transparent 60%);
}
.thanks-card {
  background: linear-gradient(165deg, #232e4a, #182034);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 20px; padding: 46px 40px; text-align: center; max-width: 460px;
  box-shadow: var(--shadow-lg); animation: slideUp .5s ease;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.thanks-icon { font-size: 3.4rem; line-height: 1; animation: fadeIn 1s ease; }
.thanks-card h1 { font-size: 1.7rem; }
.thanks-timer { font-size: .85rem; }

/* ---------- поля ввода (общие) ---------- */
input, textarea, select {
  width: 100%; padding: 12px 14px; border-radius: 10px;
  border: 1px solid var(--border); background: var(--bg-2);
  color: var(--text); font-size: .95rem; font-family: inherit;
  transition: border-color .2s;
}
input:focus, textarea:focus { outline: none; border-color: var(--accent); }
.form-status { font-size: .9rem; min-height: 1.2em; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--danger); }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 18px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; }
.socials { display: flex; gap: 18px; }

/* ---------- модалки ---------- */
.modal {
  position: fixed; inset: 0; z-index: 100; display: none;
  background: rgba(8, 12, 22, .75); backdrop-filter: blur(4px);
  align-items: center; justify-content: center; padding: 20px;
}
.modal.open { display: flex; animation: fadeIn .25s ease; }
.modal-box {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px; max-width: 620px; width: 100%;
  max-height: 88vh; overflow-y: auto; position: relative;
  box-shadow: var(--shadow-lg); animation: slideUp .3s ease;
}
.modal-small { max-width: 380px; }
.modal-close {
  position: absolute; top: 10px; right: 14px; background: none; border: none;
  color: var(--muted); font-size: 1.7rem; cursor: pointer; line-height: 1;
}
.modal-close:hover { color: var(--text); }
.modal-img { width: 100%; border-radius: 10px; margin-bottom: 16px; max-height: 320px; object-fit: contain; background: #10162a; }
.modal-desc { color: var(--muted); margin: 12px 0 20px; white-space: pre-wrap; }
.modal-box h3 { margin-bottom: 14px; }
.modal-box form { display: flex; flex-direction: column; gap: 12px; }

/* ---------- анимации ---------- */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- админка ---------- */
.admin-body { background: var(--bg); }
.login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 20px; }
.admin-container { padding: 30px 20px 60px; }
.tabs { display: flex; gap: 8px; margin-bottom: 26px; flex-wrap: wrap; }
.tab {
  padding: 10px 20px; border-radius: 10px; border: 1px solid var(--border);
  background: transparent; color: var(--muted); cursor: pointer; font-size: .95rem;
  transition: all .2s;
}
.tab:hover { color: var(--text); }
.tab.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.badge {
  background: var(--danger); color: #fff; border-radius: 20px;
  font-size: .72rem; padding: 1px 7px; margin-left: 4px;
}
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeIn .25s; }
.tab-panel h2 { margin-bottom: 14px; }
.full { width: 100%; }
#tab-about textarea { margin: 12px 0; }

.admin-list { margin-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.admin-item {
  background: var(--card); border: 1px solid var(--border); border-radius: 12px;
  padding: 14px 16px; display: flex; align-items: center; gap: 14px;
}
.admin-item img.thumb { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; }
.admin-item .thumb-ph {
  width: 56px; height: 56px; border-radius: 8px; background: var(--bg-2);
  display: flex; align-items: center; justify-content: center;
}
.admin-item .info { flex: 1; min-width: 0; }
.admin-item .info p { color: var(--muted); font-size: .85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-item .actions { display: flex; gap: 6px; flex-wrap: wrap; }
.icon-btn {
  background: var(--bg-2); border: 1px solid var(--border); color: var(--text);
  width: 32px; height: 32px; border-radius: 8px; cursor: pointer; transition: all .2s;
}
.icon-btn:hover { border-color: var(--accent); color: var(--accent-2); }
.icon-btn.danger:hover { border-color: var(--danger); color: var(--danger); }

/* --- админ: чаты --- */
.chats-wrap { display: grid; grid-template-columns: 270px 1fr; gap: 16px; min-height: 420px; }
.chats-list { display: flex; flex-direction: column; gap: 8px; overflow-y: auto; max-height: 560px; }
.chat-item {
  background: var(--card); border: 1px solid var(--border); border-radius: 11px;
  padding: 10px 12px; cursor: pointer; transition: border-color .2s, background .2s;
}
.chat-item:hover { border-color: var(--accent); }
.chat-item.active { border-color: var(--accent); background: var(--card-hover); }
.chat-item-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.chat-item .muted { font-size: .78rem; }
.chat-item-last {
  color: var(--muted); font-size: .8rem; margin-top: 3px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.chat-pane {
  background: var(--card); border: 1px solid var(--border); border-radius: 12px;
  padding: 14px; display: flex; flex-direction: column; min-height: 420px;
}
.chat-pane-hint { margin: auto; }
.chat-pane .chat-msgs { max-height: 420px; }
.chat-pane-head {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  flex-wrap: wrap; padding-bottom: 10px; border-bottom: 1px solid var(--border);
}
.stats-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.stat-chip {
  background: var(--card); border: 1px solid var(--border); border-radius: 10px;
  padding: 8px 14px; font-size: .9rem; color: var(--muted);
}
.stat-chip b { color: var(--text); }
.status-active { background: rgba(62, 207, 142, .15); color: var(--ok); }
.status-blocked { background: rgba(255, 95, 109, .15); color: var(--danger); }
@media (max-width: 720px) {
  .chats-wrap { grid-template-columns: 1fr; }
  .chats-list { max-height: 220px; }
}

.table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.admin-table th, .admin-table td {
  padding: 10px 12px; border-bottom: 1px solid var(--border); text-align: left;
  vertical-align: top;
}
.admin-table th { color: var(--muted); font-weight: 600; }
.admin-table td.msg-text { max-width: 340px; white-space: pre-wrap; }
.status-pill { padding: 3px 10px; border-radius: 20px; font-size: .78rem; white-space: nowrap; }
.status-new { background: rgba(79, 124, 255, .18); color: var(--accent-2); }
.status-read { background: rgba(139, 150, 173, .18); color: var(--muted); }
.status-replied { background: rgba(62, 207, 142, .15); color: var(--ok); }

.settings-form { max-width: 620px; display: flex; flex-direction: column; gap: 14px; }
.settings-form label, .settings-form .field { display: flex; flex-direction: column; gap: 6px; font-size: .9rem; color: var(--muted); }
.settings-form label.upload-label, .modal-box form label.upload-label {
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--text); white-space: nowrap; cursor: pointer; flex-direction: row;
}
.settings-form h3 { margin-top: 10px; color: var(--text); }
.settings-form .row { display: flex; gap: 8px; align-items: center; border-radius: 10px; }
.settings-form .row.dragover { outline: 2px dashed var(--accent); outline-offset: 3px; }
.settings-form .hint { font-size: .78rem; color: var(--muted); opacity: .8; }
.reply-original {
  background: var(--bg-2); border-radius: 10px; padding: 12px 14px;
  margin-bottom: 14px; font-size: .9rem; white-space: pre-wrap;
}

/* ---------- адаптив ---------- */
@media (max-width: 640px) {
  .nav-links { gap: 14px; font-size: .9rem; }
  .hero { padding: 60px 0 50px; }
  .section { padding: 50px 0; }
  .footer-inner { justify-content: center; text-align: center; }
  .admin-item { flex-wrap: wrap; }
}
