/* Shared production feed presentation used by Home, Impeach & Oversight, and user profiles.
   Keep these selectors aligned with the API card DOM built by giphy-picker.js. */
.public-api-feed-list {
  width: min(100%, 420px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.public-api-feed-list > .feed-post-card-home {
  width: 100%;
}

.feed-post-card {
  display: none;
  width: min(100%, 760px);
  background: rgba(255, 255, 255, 0.94);
  border-radius: 28px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.9);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feed-post-card.feed-post-card-home {
  display: block;
  width: min(100%, 420px);
  margin-top: 4px;
}

.feed-post-card.feed-post-card-home:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 44px rgba(17, 24, 39, 0.12);
}

.feed-post-card.feed-post-card-home .feed-post-media {
  display: block;
}

.feed-post-oversight-panel {
  display: flex;
  flex-direction: column;
  margin-top: 10px;
  padding: 18px;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  background: var(--card);
}

.feed-post-oversight-panel .target-category-box {
  padding: 14px 16px;
  font-size: 0.95rem;
}

.feed-post-oversight-description {
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.5;
  margin: 0 0 16px;
}

.feed-post-inner {
  padding: 24px;
}

.feed-post-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}

.feed-post-author {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.feed-post-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, #e2e8f0, #f8fafc);
  flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(225, 48, 108, 0.14);
}

.feed-post-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feed-post-author-copy {
  min-width: 0;
}

.feed-post-author-copy strong {
  display: block;
  font-size: 1rem;
  color: #1e293b;
}

.feed-post-author-copy span {
  display: block;
  margin-top: 3px;
  font-size: 0.8rem;
  color: #64748b;
}

.feed-post-more {
  border: none;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.feed-post-title {
  margin: 0 0 10px;
  color: #1e293b;
  font-size: 1.25rem;
  line-height: 1.25;
  font-weight: 800;
}

.feed-post-caption + .feed-post-title {
  margin-top: 10px;
}

.feed-post-caption {
  color: #334155;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

.feed-post-caption strong {
  color: #1e293b;
}

.feed-post-content + .feed-post-media,
.feed-post-content + .feed-post-media-wrapper,
.feed-post-content + .giphy-post-slot {
  margin-top: 10px;
}

.feed-post-media-wrapper {
  margin-top: 10px;
  border-radius: 24px;
  overflow: hidden;
  background: #f1f5f9;
}

.feed-post-media {
  width: 100%;
  border: none;
  padding: 0;
  cursor: pointer;
  background:
    linear-gradient(135deg, rgba(225, 48, 108, 0.14), rgba(29, 161, 242, 0.14)),
    linear-gradient(135deg, #e2e8f0, #ffffff);
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 1 / 1;
  display: block;
}

.feed-post-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.5), transparent 22%),
    radial-gradient(circle at 82% 12%, rgba(255, 255, 255, 0.38), transparent 14%),
    linear-gradient(135deg, rgba(17, 24, 39, 0.12), rgba(17, 24, 39, 0.2));
  opacity: 0.7;
}

.feed-post-media-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  z-index: 1;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.32);
}

.feed-post-media-overlay i { font-size: 3.2rem; }

.feed-post-media-overlay span {
  font-size: 1rem;
  background: rgba(15, 23, 42, 0.28);
  padding: 8px 14px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.embedded-media-asset {
  display: block;
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
  background: #ffffff;
}

.feed-post-actions {
  margin-top: 10px;
  margin-bottom: 10px;
}

.feed-post-likes {
  font-size: 0.86rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 10px;
}

.view-all-comments-link {
  display: inline-flex;
  margin-top: 12px;
  color: #64748b;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  transition: color 0.2s ease;
}

.view-all-comments-link:hover { color: #0f172a; }

.feed-comment-preview {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
  min-width: 0;
}

.feed-comment-preview-row {
  display: flex;
  align-items: flex-start;
  position: relative;
  gap: 9px;
  min-width: 0;
  color: #334155;
  font-size: 0.86rem;
  line-height: 1.45;
}

.feed-comment-preview-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  overflow: hidden;
  flex: 0 0 28px;
  background: linear-gradient(135deg, #e2e8f0, #f8fafc);
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.05);
}

.feed-comment-preview-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feed-comment-preview-copy {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  min-width: 0;
  max-height: calc(1.45em * 2);
  overflow: hidden;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.feed-comment-preview-username {
  margin-right: 5px;
  color: #1e293b;
  font-weight: 800;
}

.feed-comment-preview-body {
  display: inline;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.feed-comment-options {
  position: absolute;
  left: -24px;
  top: 14px;
  transform: translateY(-50%);
  z-index: 1;
  width: 24px;
  height: 24px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #94a3b8;
  font: inherit;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}

.feed-comment-options:hover,
.feed-comment-options:focus-visible {
  background: #f1f5f9;
  color: #334155;
  outline: none;
}

.feed-post-poll {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: #f8fafc;
}

.feed-post-poll-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: #1e293b;
  font-size: 0.9rem;
  font-weight: 800;
}

.feed-post-poll-heading i { color: #10b981; }

.feed-post-poll-options {
  display: grid;
  gap: 8px;
}

.feed-post-poll-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 11px 13px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  background: #ffffff;
  color: #334155;
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.feed-post-poll-option:hover:not(:disabled) {
  border-color: #10b981;
  background: #ecfdf5;
  transform: translateY(-1px);
}

.feed-post-poll-option.is-selected {
  border-color: #10b981;
  background: #ecfdf5;
  color: #047857;
}

.feed-post-poll-option:disabled { cursor: default; }
.feed-post-poll-option-label { min-width: 0; overflow-wrap: anywhere; }
.feed-post-poll-option-count { flex: 0 0 auto; color: #64748b; font-size: 0.78rem; font-weight: 700; }
.feed-post-poll-note { margin: 10px 0 0; color: #64748b; font-size: 0.76rem; }

.feed-post-link-wrapper { margin-top: 14px; }

.feed-post-link-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid #dbe4f0;
  border-radius: 12px;
  background: #f8fbff;
  color: #1e3a8a;
  text-decoration: none;
}

.feed-post-link-card:hover { border-color: #93c5fd; background: #eff6ff; }
.feed-post-link-card > span { display: flex; align-items: center; gap: 10px; min-width: 0; }
.feed-post-link-card i:first-child { color: #2563eb; flex: 0 0 auto; }
.feed-post-link-card strong,
.feed-post-link-card small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feed-post-link-card strong { color: #1e3a8a; font-size: 0.84rem; }
.feed-post-link-card small { margin-top: 2px; color: #64748b; font-size: 0.75rem; }
.feed-post-link-card i:last-child { color: #64748b; flex: 0 0 auto; }

.target-category-box {
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  padding: 10px;
  text-align: center;
  font-size: 0.85rem;
  color: #475569;
  font-weight: 600;
  margin-bottom: 16px;
}

.target-category-box span { color: #0f172a; font-weight: 700; }

.progress-container { margin-bottom: 20px; }
.progress-meta-row { display: flex; justify-content: space-between; font-size: 0.82rem; font-weight: 600; color: #64748b; margin-bottom: 6px; }
.progress-track-bar { width: 100%; height: 12px; background: #f1f5f9; border-radius: 6px; overflow: hidden; position: relative; }
.progress-fill { width: 38%; height: 100%; background: linear-gradient(90deg, #34d399, #10b981); border-radius: 6px; transition: width 0.4s ease; }
.threshold-marker { position: absolute; left: 51%; top: 0; width: 2px; height: 100%; background-color: #ef4444; z-index: 2; }
.threshold-label { font-size: 0.72rem; color: #ef4444; font-weight: 700; margin-top: 4px; text-align: right; }

.vote-action-grid { display: flex; gap: 12px; margin-bottom: 16px; }

.vote-btn {
  flex: 1;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
}

.vote-btn-yes { color: #10b981; }
.vote-btn-no { color: #ef4444; }
.vote-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.05); }
.vote-btn-yes:hover { background: #ecfdf5; border-color: #a7f3d0; }
.vote-btn-no:hover { background: #fef2f2; border-color: #fecaca; }

.ig-actions-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-top: 22px;
  padding: 14px 0 10px 0;
  border-top: 1px solid #f1f5f9;
}

.actions-left-group { display: flex; align-items: center; gap: 18px; }
.action-item-wrapper { display: flex; align-items: center; gap: 5px; }

.ig-icon-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-size: 1.35rem;
  color: #000;
  transition: transform 0.1s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  min-width: 28px;
  height: 28px;
  transform-origin: center;
}

.ig-icon-btn:active { transform: scale(0.9); }
.ig-icon-btn.reaction-pop { animation: igReactionPop 0.34s cubic-bezier(0.2, 0.8, 0.2, 1); }
@keyframes igReactionPop { 0% { transform: scale(1); } 45% { transform: scale(1.22); } 75% { transform: scale(0.94); } 100% { transform: scale(1); } }
.ig-icon-btn:hover { color: #737373; }
.action-counter { font-size: 0.85rem; font-weight: 600; color: #1e293b; user-select: none; }
.ig-icon-btn.liked { color: #ed4956; }
.ig-icon-btn.reposted { color: #0095f6; }
.heartbreak-btn { color: #000000; transition: color 0.2s ease; }
.heartbreak-btn .fa-heart-crack { color: transparent !important; -webkit-text-stroke: 1.6px #000000; }
.heartbreak-btn.heartbroken-active { color: #ed4956; }
.heartbreak-btn.heartbroken-active .fa-heart-crack { color: #ed4956 !important; -webkit-text-stroke: 0px transparent !important; }

.feed-post-action-menu {
  position: fixed;
  z-index: 400;
  padding: 6px;
  min-width: 140px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.18);
}

.feed-post-action-menu-item {
  display: block;
  width: 100%;
  padding: 8px 12px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #334155;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.feed-post-action-menu-item:hover {
  background: #f1f5f9;
}

.feed-post-action-menu-item-delete {
  color: #b91c1c;
}

.feed-post-action-menu-item-delete:hover {
  background: #fef2f2;
}

.cv-overlay-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.hidden-overlay { display: none !important; opacity: 0; pointer-events: none; }
.tool-hidden { display: none !important; }

.cv-overlay-window {
  position: relative;
  width: 100%;
  max-width: 1020px;
  height: 85vh;
  background: #ffffff;
  border-radius: 32px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.close-overlay-x {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f1f5f9;
  border: none;
  color: #475569;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.close-overlay-x:hover { background: #e2e8f0; color: #0f172a; transform: scale(1.05); }
.cv-overlay-split-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); height: 100%; min-width: 0; min-height: 0; }
.cv-overlay-media-viewport { position: relative; background: #f8fafc; overflow: hidden; display: flex; flex-direction: column; }
.cv-carousel-slider-rail { display: flex; width: 200%; height: 100%; transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1); }
.cv-carousel-slide { width: 50%; height: 100%; display: flex; align-items: center; justify-content: center; padding: 40px; box-sizing: border-box; }
.slide-text-content { background: #ffffff; }
.slide-card-wrapper { max-width: 440px; }
.slide-super-heading { font-size: 0.75rem; font-weight: 800; color: #64748b; letter-spacing: 0.8px; }
.slide-card-wrapper h2 { font-size: 1.6rem; font-weight: 800; color: #0f172a; margin: 12px 0; line-height: 1.3; }
.slide-card-wrapper p { font-size: 0.98rem; color: #475569; line-height: 1.5; margin-bottom: 20px; }
.overlay-scope-pill { display: inline-block; padding: 6px 14px; background: #f1f5f9; border-radius: 8px; font-size: 0.82rem; font-weight: 700; color: #334155; }
.slide-media-render { background: #05070c; padding: 0; }
.slide-media-render img, .slide-media-render video { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border: none; }
.nav-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: transparent;
  border: 0 solid transparent;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(15, 23, 42, 0.45);
  cursor: pointer;
  z-index: 5;
  opacity: 1;
  box-shadow: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.nav-carousel-arrow:hover,
.nav-carousel-arrow:focus-visible {
  opacity: 1;
  background: #ffffff;
  border-color: #e2e8f0;
  color: #0f172a;
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}
.arrow-left-target { left: 16px; }
.arrow-right-target { right: 16px; }
.carousel-dot-indicator-row { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 5; }
.carousel-dot { width: 8px; height: 8px; background: #cbd5e1; border-radius: 50%; cursor: pointer; }
.carousel-dot.active-dot { background: #3b82f6; transform: scale(1.2); }

.cv-overlay-comments-sidebar { display: flex; flex-direction: column; height: 100%; min-width: 0; min-height: 0; border-left: 1px solid #e2e8f0; }
.sidebar-header-user-row { display: flex; align-items: center; gap: 12px; padding: 24px; border-bottom: 1px solid #f1f5f9; }
.sidebar-user-avatar { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.user-meta-stack { display: flex; flex-direction: column; }
.user-name-title { font-size: 0.95rem; font-weight: 800; color: #0f172a; }
.time-sub-label { font-size: 0.78rem; color: #64748b; }
.sidebar-scrollable-comments-feed { flex-grow: 1; min-width: 0; min-height: 0; overflow-y: auto; overflow-x: hidden; padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.cv-overlay-comment-item { display: flex; align-items: flex-start; position: relative; gap: 10px; min-width: 0; }
.cv-overlay-comment-status { color: #64748b; font-size: 0.9rem; text-align: center; padding: 12px 4px; }
.cv-overlay-comment-avatar { width: 32px; height: 32px; flex: 0 0 auto; border-radius: 50%; object-fit: cover; }
.cv-overlay-comment-copy { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; word-break: break-word; color: #475569; font-size: 0.88rem; line-height: 1.45; }
.cv-overlay-comment-copy strong { display: block; color: #0f172a; font-size: 0.82rem; margin-bottom: 2px; }
.cv-overlay-comment-options { position: absolute; left: -26px; top: 16px; transform: translateY(-50%); z-index: 1; width: 26px; height: 26px; margin: 0; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #94a3b8; font: inherit; font-size: 1rem; line-height: 1; cursor: pointer; }
.cv-overlay-comment-options:hover, .cv-overlay-comment-options:focus-visible { background: #f1f5f9; color: #334155; outline: none; }
.sidebar-composer-tray-footer { padding: 20px 24px; border-top: 1px solid #f1f5f9; display: flex; gap: 12px; background: #ffffff; }
.sidebar-input-field { width: 100%; min-width: 0; padding: 12px 18px; border-radius: 100px; border: 1px solid #e2e8f0; outline: none; font-size: 0.9rem; }
.sidebar-input-field:focus { border-color: #60a5fa; box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.15); }
.sidebar-submit-btn { width: 44px; height: 44px; flex: 0 0 auto; border-radius: 50%; background: #2563eb; color: #fff; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.2s, transform 0.2s; }
.sidebar-submit-btn:hover { background: #1d4ed8; transform: scale(1.05); }
.emoji-trigger-btn { background: none; border: none; font-size: 1.4rem; color: #262626; cursor: pointer; padding: 0; display: flex; align-items: center; flex-shrink: 0; }

/* Shared API comment-delete presentation. Home historically carried these rules in its inline
   shell; keeping them here gives the standalone profile the exact same menu, confirmation dialog,
   and result toast without creating a profile-only delete interaction. */
.feed-comment-action-menu {
  position: fixed;
  z-index: 10100;
  min-width: 148px;
  padding: 5px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.16);
}
.feed-comment-action-menu-item { display: block; width: 100%; padding: 8px 10px; border: 0; border-radius: 7px; background: transparent; color: #b91c1c; font: inherit; font-size: 0.82rem; font-weight: 750; text-align: left; cursor: pointer; }
.feed-comment-action-menu-item:hover, .feed-comment-action-menu-item:focus-visible { background: #fef2f2; outline: none; }
.giphy-report-overlay { position: fixed; inset: 0; z-index: 7000; display: grid; place-items: center; padding: 16px; box-sizing: border-box; background: rgba(15, 23, 42, 0.34); overscroll-behavior: contain; }
.giphy-report-dialog { width: min(430px, calc(100vw - 32px)); max-height: min(680px, calc(100vh - 32px)); overflow-y: auto; box-sizing: border-box; padding: 22px; border: 1px solid #ece8f4; border-radius: 22px; background: #ffffff; box-shadow: 0 24px 70px rgba(30, 41, 59, 0.24), 0 8px 24px rgba(124, 98, 245, 0.12); color: #1e293b; }
.giphy-report-header, .giphy-report-heading, .giphy-report-footer { display: flex; align-items: center; }
.giphy-report-header { justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.giphy-report-heading { min-width: 0; gap: 11px; }
.giphy-report-heading h2 { margin: 0; color: #172033; font-size: 1.12rem; line-height: 1.2; }
.giphy-report-footer { justify-content: flex-end; gap: 9px; margin-top: 18px; }
.giphy-report-cancel, .giphy-report-submit { min-height: 37px; padding: 8px 14px; border-radius: 10px; font: inherit; font-size: 0.78rem; font-weight: 800; cursor: pointer; }
.giphy-report-cancel { border: 1px solid #e2e8f0; color: #475569; background: #ffffff; }
.giphy-report-cancel:hover, .giphy-report-cancel:focus-visible { border-color: #cbd5e1; background: #f8fafc; }
.giphy-report-submit { border: 1px solid #6247e5; color: #ffffff; background: #6247e5; box-shadow: 0 7px 15px rgba(98, 71, 229, 0.2); }
.giphy-report-submit:hover:not(:disabled), .giphy-report-submit:focus-visible:not(:disabled) { background: #5338ce; }
.giphy-report-submit:disabled { border-color: #cbd5e1; color: #94a3b8; background: #e2e8f0; box-shadow: none; cursor: not-allowed; }
.giphy-report-cancel:focus-visible, .giphy-report-submit:focus-visible { outline: 2px solid rgba(99, 102, 241, 0.32); outline-offset: 2px; }
.delete-confirm-dialog { width: min(360px, calc(100vw - 32px)); }
.delete-confirm-overlay { z-index: 11000; }
.delete-confirm-message { margin: 0; color: #475569; font-size: 0.86rem; line-height: 1.5; }
.delete-confirm-destructive { border-color: #dc2626; color: #ffffff; background: #dc2626; box-shadow: 0 7px 15px rgba(220, 38, 38, 0.22); }
.delete-confirm-destructive:hover:not(:disabled), .delete-confirm-destructive:focus-visible { background: #b91c1c; outline: 2px solid rgba(220, 38, 38, 0.32); outline-offset: 2px; }
.post-edit-overlay { z-index: 11000; }
.post-edit-dialog { width: min(520px, calc(100vw - 32px)); }
.post-edit-field-label { display: grid; gap: 6px; margin-top: 14px; color: #334155; font-size: 0.8rem; font-weight: 800; }
.post-edit-title-input, .post-edit-caption-input { width: 100%; box-sizing: border-box; padding: 10px 12px; border: 1px solid #cbd5e1; border-radius: 10px; color: #1e293b; background: #ffffff; font: inherit; }
.post-edit-title-input:focus, .post-edit-caption-input:focus { outline: 2px solid rgba(99, 102, 241, 0.32); outline-offset: 2px; border-color: #6366f1; }
.post-edit-caption-input { resize: vertical; min-height: 110px; line-height: 1.45; }
.post-edit-error { margin: 12px 0 0; color: #b91c1c; font-size: 0.82rem; line-height: 1.4; }
.giphy-report-toast { position: fixed; left: 50%; bottom: 24px; z-index: 7100; max-width: calc(100vw - 32px); padding: 11px 15px; border: 1px solid rgba(167, 139, 250, 0.35); border-radius: 999px; color: #ffffff; background: #1e293b; box-shadow: 0 10px 26px rgba(30, 41, 59, 0.22); font-size: 0.78rem; font-weight: 800; transform: translateX(-50%); }

@media (max-width: 768px) {
  .cv-overlay-backdrop { padding: 12px; }
  .cv-overlay-window { height: 94vh; border-radius: 24px; }
  .cv-overlay-split-grid { grid-template-columns: 1fr; grid-template-rows: 40% 60%; }
  .cv-overlay-comments-sidebar { border-left: 0; border-top: 1px solid #e2e8f0; }
  .cv-overlay-media-viewport { min-height: 0; }
  .cv-carousel-slide { padding: 24px; }
  .cv-carousel-slide.slide-media-render { padding: 0; }
  .slide-card-wrapper h2 { font-size: 1.25rem; }
  .giphy-report-overlay { padding: 10px; }
  .giphy-report-dialog { width: calc(100vw - 20px); max-height: calc(100vh - 20px); padding: 18px; border-radius: 20px; }
}
