/* ═══════════════════════════════════════════════════════════
   COMMUNITY FEED — Modern social-style redesign
═══════════════════════════════════════════════════════════ */

/* ── Root wrapper — break out of any parent padding/width constraints ── */
.cf-root {
  /* Full-bleed: expand to true viewport width regardless of parent container */
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  /* Prevent horizontal scrollbar */
  overflow-x: clip;
  background: #f6f7fb;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

/* ════════════════════════════════════════════════
   HERO HEADER
════════════════════════════════════════════════ */
.cf-hero {
  position: relative;
  padding: 2.75rem 0 3rem;
  overflow: hidden;
  background: #d9609a;
  width: 100%;
}

/* Background image layer */
.cf-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    url('/assets/images/landing/pink_3d_flowing_abstract.png') center / cover no-repeat;
  opacity: 0.18;
  z-index: 0;
}

/* Gradient overlay for readability */
.cf-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(185, 40, 100, 0.72) 0%,
    rgba(230, 100, 160, 0.55) 50%,
    rgba(175, 55, 115, 0.68) 100%
  );
  z-index: 0;
}

.cf-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 3rem);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cf-hero-title {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  color: #fff;
  margin: 0 0 0.55rem;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.cf-hero-sub {
  font-size: 0.97rem;
  color: rgba(255,255,255,0.88);
  line-height: 1.55;
  margin: 0;
  max-width: 540px;
}

.cf-hero-br { display: none; }
@media (min-width: 640px) { .cf-hero-br { display: inline; } }

.cf-create-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1.4rem;
  background: #fff;
  color: #cf2f84;
  border: none;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.93rem;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.cf-create-btn:hover {
  background: #fef0f8;
  box-shadow: 0 4px 16px rgba(207,47,132,0.22);
  transform: translateY(-1px);
}

.cf-create-plus {
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1;
  color: #cf2f84;
}

/* ════════════════════════════════════════════════
   FILTER / SORT TOOLBAR
════════════════════════════════════════════════ */
.cf-toolbar {
  background: #fff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  width: 100%;
}

.cf-toolbar-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0.65rem clamp(1rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.cf-filter-pills,
.cf-sort-pills {
  display: flex;
  gap: 0.3rem;
  flex-wrap: wrap;
  background: #f3f4f6;
  border-radius: 999px;
  padding: 4px;
}

.cf-pill {
  padding: 0.3rem 0.85rem;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: #6b7280;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.cf-pill:hover { color: #cf2f84; }

.cf-pill.active {
  background: #cf2f84;
  color: #fff;
  box-shadow: 0 2px 8px rgba(207,47,132,0.25);
}

/* ════════════════════════════════════════════════
   FEED
════════════════════════════════════════════════ */
.cf-feed-wrap {
  max-width: 860px;
  margin: 0 auto;
  width: 100%;
  padding: 1.5rem clamp(1rem, 4vw, 3rem) 3rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cf-loading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  justify-content: center;
  padding: 3rem;
  color: #9b8a9e;
  font-size: 0.9rem;
}

.cf-spinner {
  width: 22px; height: 22px;
  border: 2.5px solid #ead7e8;
  border-top-color: #cf2f84;
  border-radius: 50%;
  animation: cf-spin 0.7s linear infinite;
}
@keyframes cf-spin { to { transform: rotate(360deg); } }

.cf-empty {
  text-align: center;
  padding: 3.5rem 2rem;
  background: #fff;
  border: 1.5px dashed #e5d3e8;
  border-radius: 18px;
  color: #9b8a9e;
  font-size: 0.93rem;
}

.cf-empty-icon { font-size: 2.4rem; margin-bottom: 0.75rem; }

/* ════════════════════════════════════════════════
   POST CARD
════════════════════════════════════════════════ */
.cf-card {
  background: #fff;
  border: 1.5px solid #f0eaf4;
  border-radius: 18px;
  box-shadow: 0 2px 10px rgba(73,20,52,0.05);
  display: flex;
  gap: 0;
  overflow: visible;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.cf-card:hover {
  box-shadow: 0 6px 22px rgba(73,20,52,0.1);
  border-color: #e4c8e4;
}

/* Highlighted state — applied when navigating here from a notification */
@keyframes cf-highlight-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(207, 47, 132, 0.5), 0 2px 10px rgba(73,20,52,0.05); border-color: #cf2f84; }
  50%  { box-shadow: 0 0 0 8px rgba(207, 47, 132, 0), 0 6px 24px rgba(207,47,132,0.2); border-color: #e88fc0; }
  100% { box-shadow: 0 2px 10px rgba(73,20,52,0.05); border-color: #f0eaf4; }
}

.cf-card-highlighted {
  border-color: #cf2f84 !important;
  animation: cf-highlight-pulse 2.8s ease-out forwards;
}

/* Vote strip */
.cf-vote-strip {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.2rem;
  padding: 1.2rem 0.65rem 1.2rem 0.8rem;
  min-width: 44px;
  border-right: 1px solid #f5eef8;
  background: #fdfafd;
  border-radius: 18px 0 0 18px;
}

.cf-vote-btn {
  width: 28px; height: 28px;
  border: none;
  background: none;
  color: #b0a0b8;
  cursor: pointer;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.cf-vote-btn:hover { background: #fef0f8; color: #cf2f84; }
.cf-vote-btn.up.voted { color: #cf2f84; }

.cf-vote-count {
  font-size: 0.82rem;
  font-weight: 800;
  color: #6b5b6d;
  line-height: 1;
}

/* Card body */
.cf-card-body {
  flex: 1;
  padding: 1.2rem 1.4rem 1rem;
  min-width: 0;
}

/* Author row */
.cf-author-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  margin-bottom: 0.8rem;
}

.cf-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #cf2f84 0%, #a71f68 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.82rem;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}

.cf-author-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: #2d2333;
}

.cf-role-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.cf-timestamp {
  font-size: 0.78rem;
  color: #a89ab0;
  margin-left: auto;
}

/* Post title & content */
.cf-post-title {
  font-size: 1rem;
  font-weight: 800;
  color: #1f1628;
  margin: 0 0 0.45rem;
  line-height: 1.35;
}

.cf-post-content {
  font-size: 0.93rem;
  color: #3b2e43;
  line-height: 1.68;
  margin: 0 0 0.9rem;
  word-break: break-word;
  white-space: pre-wrap;
}

/* Post image — clickable */
.cf-post-img-wrap {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 0.9rem;
  border: 1px solid #f0eaf4;
  position: relative;
  cursor: zoom-in;
}

.cf-post-img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  display: block;
  transition: transform 0.2s ease;
}

.cf-post-img-wrap:hover .cf-post-img {
  transform: scale(1.01);
}

/* Expand hint icon — top-right on hover */
.cf-img-expand-hint {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0,0,0,0.45);
  color: #fff;
  border-radius: 8px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.cf-post-img-wrap:hover .cf-img-expand-hint {
  opacity: 1;
}

/* ════════════════════════════════════════════════
   LIGHTBOX
════════════════════════════════════════════════ */
.cf-lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 5, 15, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  animation: cf-lb-fade 0.2s ease;
  cursor: zoom-out;
}

@keyframes cf-lb-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.cf-lightbox-close {
  position: fixed;
  top: 1.2rem;
  right: 1.4rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.12);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background 0.18s;
  backdrop-filter: blur(4px);
}

.cf-lightbox-close:hover {
  background: rgba(255,255,255,0.22);
}

.cf-lightbox-content {
  max-width: min(90vw, 1100px);
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
  animation: cf-lb-pop 0.22s cubic-bezier(0.34,1.4,0.64,1);
}

@keyframes cf-lb-pop {
  from { transform: scale(0.92); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}

.cf-lightbox-img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
  display: block;
}

/* Action bar */
.cf-action-bar {
  display: flex;
  gap: 0.5rem;
  padding-top: 0.7rem;
  border-top: 1px solid #f5eef8;
  flex-wrap: wrap;
}

.cf-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.42rem 0.9rem;
  border: 1.5px solid #ead7e8;
  border-radius: 999px;
  background: transparent;
  color: #7a6b80;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.cf-action-btn:hover {
  background: #fef0f8;
  color: #cf2f84;
  border-color: #cf2f84;
}

.cf-action-btn.like.active {
  background: #fef0f8;
  color: #cf2f84;
  border-color: #cf2f84;
}

/* ════════════════════════════════════════════════
   COMMENTS PANEL
════════════════════════════════════════════════ */
.cf-comments-panel {
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid #f5eef8;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.cf-comment-input-row {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.cf-comment-input {
  flex: 1;
  padding: 0.55rem 0.9rem;
  border: 1.5px solid #e8ddf0;
  border-radius: 999px;
  font-size: 0.85rem;
  color: #3b2e43;
  background: #faf7fd;
  outline: none;
  transition: border-color 0.18s, box-shadow 0.18s;
}

.cf-comment-input:focus {
  border-color: #cf2f84;
  box-shadow: 0 0 0 3px rgba(207,47,132,0.1);
  background: #fff;
}

.cf-comment-submit {
  padding: 0.5rem 1rem;
  background: #cf2f84;
  color: #fff;
  border: none;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s;
  white-space: nowrap;
}

.cf-comment-submit:hover:not(:disabled) { background: #a71f68; }
.cf-comment-submit:disabled { opacity: 0.45; cursor: not-allowed; }

.cf-comments-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  max-height: 360px;
  overflow-y: auto;
  padding-right: 2px;
}

.cf-comments-list::-webkit-scrollbar { width: 3px; }
.cf-comments-list::-webkit-scrollbar-thumb { background: #e4d4ec; border-radius: 2px; }

.cf-no-comments {
  font-size: 0.82rem;
  color: #b0a0b8;
  text-align: center;
  padding: 0.5rem;
}

.cf-comment {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}

.cf-comment-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #cf2f84, #a71f68);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 800;
  flex-shrink: 0;
}

.cf-comment-bubble {
  background: #f9f4fc;
  border-radius: 12px;
  padding: 0.55rem 0.85rem;
  flex: 1;
  min-width: 0;
}

.cf-comment-author {
  font-size: 0.82rem;
  font-weight: 700;
  color: #2d2333;
  margin-right: 0.5rem;
}

.cf-comment-time {
  font-size: 0.72rem;
  color: #b0a0b8;
}

.cf-comment-text {
  font-size: 0.85rem;
  color: #3b2e43;
  line-height: 1.55;
  margin: 0.25rem 0 0;
  word-break: break-word;
}

/* ════════════════════════════════════════════════
   CREATE POST MODAL
════════════════════════════════════════════════ */
.cf-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(30,18,36,0.5);
  backdrop-filter: blur(6px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: cf-fade-in 0.2s ease;
}

@keyframes cf-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.cf-modal {
  background: #fff;
  border-radius: 20px;
  width: 100%;
  max-width: 620px;
  /* Constrain modal height so it never exceeds the viewport */
  max-height: calc(100vh - 2rem);
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 60px rgba(30,18,36,0.22);
  overflow: hidden;
  animation: cf-pop-in 0.25s cubic-bezier(0.34,1.56,0.64,1);
}

@keyframes cf-pop-in {
  from { transform: scale(0.94) translateY(16px); opacity: 0; }
  to   { transform: scale(1) translateY(0);       opacity: 1; }
}

.cf-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.35rem 1.6rem;
  border-bottom: 1px solid #f0eaf4;
}

.cf-modal-title {
  font-size: 1.15rem;
  font-weight: 800 !important;
  color: #1f1628;
  letter-spacing: -0.01em;
}

.cf-modal-close {
  width: 32px;
  height: 32px;
  border: none;
  background: #f5eef8;
  border-radius: 50%;
  font-size: 0.9rem;
  color: #6b5b6d;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.18s;
}

.cf-modal-close:hover { background: #fef0f8; color: #cf2f84; }

/* Scrollable body — everything below the sticky header scrolls here */
.cf-modal-body {
  overflow-y: auto;
  flex: 1;
  overscroll-behavior: contain;
}

.cf-modal-body::-webkit-scrollbar { width: 4px; }
.cf-modal-body::-webkit-scrollbar-thumb { background: #e4d4ec; border-radius: 2px; }

.cf-modal-field {
  padding: 0.7rem 1.6rem 0;
  position: relative;
}

/* Custom category select */
.cf-custom-select {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.72rem 1rem;
  border: 1.5px solid #e0d5e8;
  border-radius: 12px;
  cursor: pointer;
  font-size: 0.93rem;
  color: #3b2e43;
  background: #fff;
  user-select: none;
  transition: border-color 0.18s;
}

.cf-custom-select:hover { border-color: #cf2f84; }

.cf-select-arrow {
  font-size: 1rem;
  color: #6b5b6d;
  line-height: 1;
}

.cf-select-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 1.6rem;
  right: 1.6rem;
  background: #fff;
  border: 1.5px solid #e0d5e8;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(30,18,36,0.12);
  z-index: 100;
  overflow: hidden;
  animation: cf-fade-in 0.15s ease;
}

.cf-select-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1rem;
  font-size: 0.93rem;
  color: #3b2e43;
  cursor: pointer;
  transition: background 0.15s;
  border-bottom: 1px solid #f5eef8;
}

.cf-select-option:last-child { border-bottom: none; }
.cf-select-option:hover { background: #fef0f8; }
.cf-select-option.selected { background: #fef0f8; color: #cf2f84; font-weight: 700; }

.cf-select-check { color: #cf2f84; font-size: 1rem; font-weight: 700; }

/* Modal inputs */
.cf-modal-input {
  width: 100%;
  padding: 0.72rem 1rem;
  border: 1.5px solid #e0d5e8;
  border-radius: 12px;
  font-size: 0.93rem;
  color: #3b2e43;
  background: #fff;
  outline: none;
  transition: border-color 0.18s, box-shadow 0.18s;
}

.cf-modal-input::placeholder { color: #b0a0b8; }
.cf-modal-input:focus { border-color: #cf2f84; box-shadow: 0 0 0 3px rgba(207,47,132,0.1); }

.cf-modal-textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid #e0d5e8;
  border-radius: 12px;
  font-size: 0.93rem;
  color: #3b2e43;
  background: #fff;
  outline: none;
  resize: none;
  font-family: inherit;
  line-height: 1.6;
  transition: border-color 0.18s, box-shadow 0.18s;
}

.cf-modal-textarea::placeholder { color: #b0a0b8; }
.cf-modal-textarea:focus { border-color: #cf2f84; box-shadow: 0 0 0 3px rgba(207,47,132,0.1); }

/* Image preview in modal */
.cf-modal-preview {
  margin: 0.5rem 1.6rem 0;
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: #fdf5fb;
  border: 1px solid #f3daf0;
  border-radius: 12px;
  padding: 0.65rem 0.8rem;
}

.cf-modal-preview img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.cf-modal-remove-img {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: none;
  background: #cf2f84;
  color: #fff;
  font-size: 0.75rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background 0.18s;
}
.cf-modal-remove-img:hover { background: #a71f68; }

.cf-modal-img-name {
  font-size: 0.8rem;
  color: #cf2f84;
  font-weight: 500;
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Modal footer */
.cf-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.6rem 1.3rem;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.cf-add-photo-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.1rem;
  border: 2px dashed #cf2f84;
  border-radius: 12px;
  background: transparent;
  color: #cf2f84;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
}

.cf-add-photo-btn:hover { background: #fef0f8; }

.cf-publish-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 1.5rem;
  background: rgba(207,47,132,0.12);
  color: #cf2f84;
  border: none;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s ease;
}

.cf-publish-btn:hover:not(:disabled) {
  background: #cf2f84;
  color: #fff;
  box-shadow: 0 4px 14px rgba(207,47,132,0.28);
}

.cf-publish-btn:disabled { opacity: 0.45; cursor: not-allowed; }

/* Modal user row */
.cf-modal-user-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.6rem 1rem;
  border-top: 1px solid #f5eef8;
  background: #fdf9fd;
}

.cf-modal-user-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: #2d2333;
  margin-right: 0.4rem;
}

/* ── Topic badge on post card ── */
.cf-topic-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.6rem;
  background: rgba(207,47,132,0.1);
  color: #cf2f84;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border: 1px solid rgba(207,47,132,0.2);
}

/* ════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════ */
@media (max-width: 640px) {
  .cf-hero-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
  }

  .cf-toolbar-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .cf-feed-wrap { padding: 1rem 1rem 2.5rem; }

  .cf-vote-strip { padding: 0.9rem 0.5rem 0.9rem 0.6rem; min-width: 36px; }

  .cf-card-body { padding: 0.9rem 1rem 0.8rem; }

  .cf-post-img { max-height: 300px; }

  .cf-action-bar { gap: 0.4rem; }

  .cf-action-btn { padding: 0.38rem 0.75rem; font-size: 0.78rem; }

  .cf-modal-field { padding: 0.6rem 1.1rem 0; }
  .cf-modal-head  { padding: 1.1rem 1.1rem; }
  .cf-modal-footer { padding: 0.85rem 1.1rem 1.1rem; }
  .cf-modal-user-row { padding: 0.6rem 1.1rem 0.85rem; }
}

@media (max-width: 420px) {
  .cf-modal-footer { flex-direction: column; }
  .cf-add-photo-btn, .cf-publish-btn { width: 100%; justify-content: center; }
}
