/* ═══════════════════════════════════════════════════════════════════════════
   SOCIAL FEED — tasks 2 + 3
   Rebuilt "Gallery" tab: list/grid views, reactions, VIP-gated 18+ tab,
   fullscreen viewer.
   ═══════════════════════════════════════════════════════════════════════════ */

.feed-root {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.feed {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

/* ── Top bar: [filter] [ mode switch ] [view toggle] ──────────────────── */
.feed-topbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
}

.feed-icon-btn {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.15s ease, color 0.15s ease;
}
.feed-icon-btn:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.feed-icon-btn:active { transform: scale(0.95); }

/* Segmented "Обычные | 18+" switch — the hero control of the feed.
   Uses a sliding thumb for smooth transitions between the two states.
   The NSFW state turns the entire thumb red with a glow; SFW uses the
   brand purple→pink gradient to stay consistent with the app. */
.feed-mode-switch {
  flex: 1 1 auto;
  max-width: 420px;
  margin: 0 auto;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  height: 38px;
  padding: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.feed-mode-switch__thumb {
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 3px;
  width: calc(50% - 3px);
  border-radius: 999px;
  background: linear-gradient(135deg, #a855f7, #ec4899);
  box-shadow: 0 6px 18px rgba(168, 85, 247, 0.4);
  transition: transform 0.22s cubic-bezier(.4, 0, .2, 1),
              background 0.22s ease,
              box-shadow 0.22s ease;
  z-index: 1;
}
.feed-mode-switch.is-nsfw .feed-mode-switch__thumb {
  transform: translateX(100%);
  background: linear-gradient(135deg, #ef4444 0%, #be123c 100%);
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.5);
}

.feed-mode-switch__opt {
  position: relative;
  z-index: 2;
  height: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0 14px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: color 0.18s ease;
}
.feed-mode-switch__opt.is-active { color: #fff; }
.feed-mode-switch__opt--nsfw {
  letter-spacing: 0.05em;
}
/* Idle state of the 18+ half: faint red tint so users notice it exists. */
.feed-mode-switch__opt--nsfw:not(.is-active) {
  color: #fca5a5;
  text-shadow: 0 0 6px rgba(239, 68, 68, 0.25);
}

.feed-view-toggle {
  display: inline-flex;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.feed-view-btn {
  width: 34px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.6);
  border: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.15s ease, color 0.15s ease;
}
.feed-view-btn:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.feed-view-btn.is-active { background: rgba(168, 85, 247, 0.25); color: #fff; }

/* ── Scroll viewport ──────────────────────────────────────────────────── */
.feed-scroll {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 0 14px calc(110px + env(safe-area-inset-bottom, 0));
}

.feed-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 560px;
  margin: 0 auto;
}

/* Grid view: compact square cells (task 2 — "коллаж" view). */
.feed-list.is-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  max-width: none;
}

.feed-empty {
  padding: 40px 20px;
  text-align: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
}
.feed-empty--error { color: #fca5a5; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.feed-retry-btn {
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

/* ── Card (feed view) ─────────────────────────────────────────────────── */
.feed-card {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.feed-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
}
.feed-card__author {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px 4px 4px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid transparent;
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.feed-card__author:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.08);
}
.feed-card__avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.75);
}
.feed-card__avatar svg { display: block; }
.feed-card__name {
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.feed-card__time {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
}

.feed-card__media {
  position: relative;
  background: #000;
  cursor: zoom-in;
  -webkit-tap-highlight-color: transparent;
}
.feed-card__img,
.feed-card__video {
  display: block;
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  background: #000;
}
.feed-card__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.85);
  pointer-events: none;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6));
}
.feed-card__nsfw-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ef4444, #be123c);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  box-shadow: 0 4px 10px rgba(239, 68, 68, 0.4);
}

.feed-card__prompt {
  margin: 0;
  padding: 10px 14px 0;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.75);
  word-break: break-word;
}

.feed-card__footer {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 12px;
}

.feed-react {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
}
.feed-react:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.feed-react:active { transform: scale(0.96); }
.feed-react--like.is-active {
  color: #86efac;
  border-color: rgba(134, 239, 172, 0.45);
  background: rgba(134, 239, 172, 0.14);
}
.feed-react--dislike.is-active {
  color: #fca5a5;
  border-color: rgba(252, 165, 165, 0.45);
  background: rgba(252, 165, 165, 0.14);
}
.feed-react__count { font-variant-numeric: tabular-nums; }

.feed-card__spacer { flex: 1; }
.feed-card__open {
  padding: 7px 12px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.feed-card__open:active { transform: scale(0.96); }

/* ── Grid cell ─────────────────────────────────────────────────────────── */
.feed-grid-cell {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 10px;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.feed-grid-cell img,
.feed-grid-cell video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.feed-grid-cell__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6));
  pointer-events: none;
}
.feed-grid-cell__stats {
  position: absolute;
  inset: auto 6px 6px 6px;
  display: flex;
  justify-content: space-between;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 8px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.6));
  color: rgba(255, 255, 255, 0.9);
  font-size: 10.5px;
  font-weight: 700;
  pointer-events: none;
}
.feed-grid-cell__nsfw {
  color: #fecaca;
  background: rgba(239, 68, 68, 0.3);
  border-radius: 999px;
  padding: 1px 6px;
}

/* ── Footer (load more / loading) ─────────────────────────────────────── */
.feed-footer {
  padding: 14px 0 20px;
  display: flex;
  justify-content: center;
}
.feed-footer__loading {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}
.feed-footer__error { color: #fca5a5; font-size: 12px; }
.feed-footer__more {
  padding: 10px 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.feed-footer__more:hover { background: rgba(255, 255, 255, 0.12); }

/* ── VIP gate (shown when 18+ tab opened without VIP) ─────────────────── */
.feed-vip-gate {
  max-width: 420px;
  margin: 40px auto 0;
  padding: 30px 24px;
  text-align: center;
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 0%, rgba(239, 68, 68, 0.25), transparent 60%),
    linear-gradient(180deg, rgba(239, 68, 68, 0.1), rgba(20, 8, 12, 0.6));
  border: 1px solid rgba(239, 68, 68, 0.35);
  box-shadow: 0 30px 60px rgba(239, 68, 68, 0.15);
}
.feed-vip-gate__icon {
  font-size: 44px;
  filter: drop-shadow(0 4px 14px rgba(239, 68, 68, 0.6));
  margin-bottom: 10px;
}
.feed-vip-gate__title {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.feed-vip-gate__body {
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 18px;
}
.feed-vip-gate__cta {
  padding: 12px 22px;
  border-radius: 14px;
  border: none;
  background: linear-gradient(135deg, #fcd34d, #f472b6, #a78bfa);
  color: #1a1024;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 14px 32px rgba(244, 114, 182, 0.4);
  transition: transform 0.15s ease, filter 0.15s ease;
}
.feed-vip-gate__cta:hover { filter: brightness(1.05); }
.feed-vip-gate__cta:active { transform: scale(0.98); }

/* ═══════════════════════════════════════════════════════════════════════
   FULLSCREEN VIEWER (feed-specific)
   ═══════════════════════════════════════════════════════════════════════ */
.feed-viewer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.2s ease;
  overflow-y: auto;
}
.feed-viewer-overlay.visible { opacity: 1; }

.feed-viewer {
  position: relative;
  max-width: 720px;
  width: 100%;
  padding-top: 44px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.feed-viewer__close {
  position: absolute;
  top: calc(80px + env(safe-area-inset-top, 0));
  right: 16px;
  z-index: 10002;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.feed-viewer__stage {
  position: relative;
  background: #000;
  border-radius: 14px;
  overflow: hidden;
}
.feed-viewer__img,
.feed-viewer__video {
  width: 100%;
  max-height: 75vh;
  display: block;
  object-fit: contain;
  background: #000;
}

.feed-viewer__icons {
  position: absolute;
  left: 10px;
  bottom: 10px;
  display: flex;
  gap: 8px;
  z-index: 2;
}
.feed-viewer__icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(15, 15, 22, 0.58);
  color: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
  -webkit-backdrop-filter: blur(10px) saturate(160%);
  backdrop-filter: blur(10px) saturate(160%);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  transition: background 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}
.feed-viewer__icon:hover { background: rgba(35, 35, 48, 0.78); }
.feed-viewer__icon:active { transform: scale(0.92); }

.feed-viewer__video-fab {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(15, 15, 22, 0.72);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  backdrop-filter: blur(12px) saturate(160%);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
  transition: background 0.15s ease, transform 0.15s ease;
}
.feed-viewer__video-fab svg { color: #c084fc; }
.feed-viewer__video-fab:hover { background: rgba(168, 85, 247, 0.85); }
.feed-viewer__video-fab:hover svg { color: #fff; }
.feed-viewer__video-fab:active { transform: scale(0.96); }

.feed-viewer__prompt-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: start;
  padding: 4px 2px 0;
}
.feed-viewer__prompt {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.5;
  max-height: 120px;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-word;
}
.feed-viewer__copy {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.75);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.feed-viewer__copy:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.feed-viewer__copy:active { transform: scale(0.92); }

.feed-viewer__meta {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
  padding-top: 6px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.55);
}
.feed-viewer__nsfw {
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(239, 68, 68, 0.25);
  color: #fecaca;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

/* ═══════════════════════════════════════════════════════════════════════
   PUBLIC PROFILE — FULLSCREEN PAGE
   Tapping an author in the feed pushes this in as a full-viewport overlay
   styled to look like a real route. Layout mirrors the own-profile page
   (ups-header → gallery grid) so self-view and public-view are consistent.
   ═══════════════════════════════════════════════════════════════════════ */
.feed-profile-overlay {
  position: fixed;
  inset: 0;
  background: #0a0712;
  z-index: 3100;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.22s ease;
}
.feed-profile-overlay.visible {
  opacity: 1;
  transform: translateY(0);
}

.feed-profile-page {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding-bottom: calc(24px + env(safe-area-inset-bottom, 0));
}

.feed-profile-page__topbar {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: calc(10px + env(safe-area-inset-top, 0)) 14px 10px;
  background: linear-gradient(180deg, rgba(10, 7, 18, 0.92), rgba(10, 7, 18, 0.72) 70%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.feed-profile-page__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.15s ease;
}
.feed-profile-page__back:hover { background: rgba(255, 255, 255, 0.08); }
.feed-profile-page__back:active { transform: scale(0.97); }

.feed-profile-page__body {
  flex: 1;
  padding: 6px 14px 0;
}

.feed-profile-page__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 18px 8px 22px;
  margin: 0 auto;
  max-width: 720px;
}
.feed-profile-page__avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  overflow: hidden;
}
.feed-profile-page__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.feed-profile-page__avatar svg { width: 38px; height: 38px; }

.feed-profile-page__name {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin-top: 10px;
  text-align: center;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.feed-profile-page__id {
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.45);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  margin-top: 2px;
}
.feed-profile-page__stats {
  margin-top: 14px;
  display: flex;
  gap: 22px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}
.feed-profile-page__stats b {
  color: #fff;
  font-weight: 800;
  margin-right: 5px;
  font-variant-numeric: tabular-nums;
}

.feed-profile-page__gallery {
  max-width: 1000px;
  margin: 0 auto;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.feed-profile-page__gallery-title {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  margin: 16px 4px 12px;
  letter-spacing: 0.01em;
}

/* Fallback helpers (loading / empty / error) */
.feed-profile__loading,
.feed-profile__error,
.feed-profile__empty {
  padding: 40px 16px;
  text-align: center;
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
}
.feed-profile__error { color: #fca5a5; }

/* Reused badge on profile tiles. */
.feed-profile__cell-nsfw {
  position: absolute;
  top: 6px;
  left: 6px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(239, 68, 68, 0.45);
  color: #fff;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  pointer-events: none;
  z-index: 2;
}

/* ═══════════════════════════════════════════════════════════════════════
   FILTER BOTTOM SHEET (sort options tucked behind the filter icon)
   ═══════════════════════════════════════════════════════════════════════ */
.feed-sheet-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 3050;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.18s ease;
}
.feed-sheet-overlay.visible { opacity: 1; }
.feed-sheet-overlay.visible .feed-sheet { transform: translateY(0); }
.feed-sheet {
  width: 100%;
  max-width: 560px;
  background: linear-gradient(180deg, #1a1520, #0c0910);
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 14px calc(22px + env(safe-area-inset-bottom, 0));
  transform: translateY(100%);
  transition: transform 0.22s cubic-bezier(.4, 0, .2, 1);
}
.feed-sheet__handle {
  width: 40px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.2);
  margin: 4px auto 14px;
}
.feed-sheet__title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  padding: 0 4px 6px;
}
.feed-sheet__options {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.feed-sheet__opt {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 14px;
  border-radius: 14px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.feed-sheet__opt:hover { background: rgba(255, 255, 255, 0.06); }
.feed-sheet__opt.is-active {
  background: rgba(168, 85, 247, 0.15);
  border-color: rgba(168, 85, 247, 0.35);
  color: #fff;
}
.feed-sheet__opt-icon { font-size: 16px; }
.feed-sheet__check {
  margin-left: auto;
  color: #a855f7;
  font-weight: 800;
}

/* ── Small screens fine-tuning ────────────────────────────────────────── */
@media (max-width: 420px) {
  .feed-list.is-grid { grid-template-columns: repeat(3, 1fr); }
  .feed-card__head { padding: 8px 12px; }
  .feed-card__footer { padding: 8px 12px 10px; gap: 8px; }
  .feed-react { padding: 6px 10px; font-size: 12px; }
  .feed-topbar { gap: 6px; padding: 10px 10px; }
  .feed-mode-switch { height: 36px; }
  .feed-mode-switch__opt { font-size: 12px; padding: 0 10px; }
}
