/* Screen 12: Respect & Safety
   Calm, private, serious. Same dark system, much less glow than the
   nightlife screens. Shared by the safety sheets opened from any screen. */

.sf-scroll {
  position: absolute;
  top: 0; left: 0; right: 0;
  bottom: var(--nav-h);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}
.sf-scroll::-webkit-scrollbar { display: none; }
.sf-content {
  display: flex; flex-direction: column; gap: 18px;
  padding-top: 4px;
  padding-bottom: 40px;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}

/* ---------- Hero ---------- */
.sf-hero {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px;
  border-radius: 22px;
  background: linear-gradient(135deg, #17122a, #100d18);
  border: 1px solid #2c2540;
}
.sf-hero-shield {
  flex: none;
  width: 52px; height: 52px; border-radius: 18px;
  display: grid; place-items: center;
  background: rgba(157, 92, 255, 0.14);
  color: var(--accent-light);
}
.sf-hero-shield svg { width: 28px; height: 28px; }
.sf-hero p { margin: 0; font-size: 14px; line-height: 1.5; color: #d9d5e3; }

/* ---------- Cards and tools ---------- */
.sf-cards, .sf-tools { display: flex; flex-direction: column; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.sf-card, .sf-tool { display: flex; align-items: center; gap: 12px; padding: 14px; text-align: left; }
.sf-card + .sf-card, .sf-tool + .sf-tool { border-top: 1px solid var(--line); }
.sf-card-icon {
  flex: none;
  width: 36px; height: 36px; border-radius: 12px;
  display: grid; place-items: center;
  background: #1c1828;
  color: var(--accent-light);
}
.sf-card-icon svg { width: 18px; height: 18px; }
.sf-card-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.sf-card-text b, .sf-tool b { font-size: 15px; font-weight: 800; }
.sf-card-text span { font-size: 13px; color: var(--muted); line-height: 1.4; }
.sf-card > svg:last-child, .sf-tool > svg:last-child { flex: none; width: 16px; height: 16px; color: var(--muted); }
.sf-tool b { flex: 1; }
.sf-count { font-size: 12px; font-weight: 700; color: var(--muted); }

/* ---------- Respect status (qualitative, never a number) ---------- */
.sf-status { display: flex; flex-direction: column; gap: 12px; }
.sf-status-row { display: flex; align-items: center; gap: 14px; }
.sf-status-badge {
  flex: none;
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(157, 92, 255, 0.16);
  border: 1px solid rgba(185, 139, 255, 0.4);
  color: var(--accent-light);
}
.sf-status-badge svg { width: 24px; height: 24px; }
.sf-status-row div { display: flex; flex-direction: column; gap: 2px; }
.sf-status-row b { font-size: 18px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.sf-status-row span { font-size: 13px; color: var(--muted); }
.sf-link { display: inline-flex; align-items: center; gap: 2px; align-self: flex-start; }
.sf-link svg { width: 14px; height: 14px; }

/* ---------- Respect check card ---------- */
.sf-check-card { display: grid; grid-template-columns: 48px 1fr; gap: 12px; align-items: center; }
.sf-check-card img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.sf-check-text { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.sf-check-text b { font-size: 14px; font-weight: 800; line-height: 1.35; }
.sf-check-text > span { font-size: 12px; color: var(--muted); }
.sf-check-card .rw-btn { grid-column: 1 / -1; justify-self: stretch; text-align: center; min-height: 40px; }
.sf-private { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--muted); }
.sf-private svg { width: 13px; height: 13px; color: var(--accent-light); }
.sf-none { padding: 0 2px; }
.pp-section .sf-check-card + .sf-check-card { margin-top: 8px; }

/* ---------- Activity ---------- */
.sf-activity { list-style: none; margin: 0; padding: 0; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.sf-activity li { display: flex; justify-content: space-between; gap: 10px; padding: 11px 14px; font-size: 13px; color: #d9d5e3; }
.sf-activity li + li { border-top: 1px solid var(--line); }
.sf-activity em { font-style: normal; font-size: 12px; color: var(--muted); white-space: nowrap; }
.sf-footer { margin: 0; text-align: center; font-size: 11px; color: var(--muted); }

/* ---------- Shared safety sheets ---------- */
.sf-sheet { display: flex; flex-direction: column; gap: 12px; padding-top: 8px; }
.sf-sheet .fs-sub { margin: -4px 0 2px; }
.sf-center { align-items: center; text-align: center; padding-top: 14px; }
.sf-center .cp-sheet-actions { width: 100%; margin-top: 6px; }
.sf-title { margin: 0; font-family: var(--font-display); font-size: 19px; font-weight: 800; line-height: 1.3; max-width: 24ch; }
.sf-note { margin: 0; font-size: 13px; color: var(--muted); max-width: 34ch; }
.sf-check {
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(157, 92, 255, 0.18);
  border: 1px solid rgba(185, 139, 255, 0.5);
  color: var(--accent-light);
  margin-bottom: 4px;
  animation: sf-in 0.45s ease;
}
.sf-check.calm { background: #1c1828; border-color: var(--line); }
.sf-check svg { width: 28px; height: 28px; }
@keyframes sf-in { from { transform: scale(0.7); opacity: 0; } }

.sf-options { display: flex; flex-direction: column; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.sf-option { display: flex; align-items: center; gap: 12px; padding: 12px 14px; font-size: 14px; font-weight: 700; color: #d9d5e3; text-align: left; }
.sf-option + .sf-option { border-top: 1px solid var(--line); }
.sf-option i { flex: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #3a3350; }
.sf-option.on { color: var(--fg); }
.sf-option.on i { border-color: var(--accent-light); background: radial-gradient(circle, var(--accent-light) 40%, transparent 45%); }
.sf-emergency { margin: 0; font-size: 12px; color: var(--muted); }
.sf-sheet .btn[aria-disabled="true"] { opacity: 0.45; box-shadow: none; }

.sf-list { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: #d9d5e3; line-height: 1.45; }
.sf-stack { display: flex; flex-direction: column; gap: 8px; }
.sf-stack .btn { min-height: 46px; }
.cp-privacy .sf-stack { align-self: stretch; }

.sf-who { display: flex; align-items: center; gap: 12px; }
.sf-who img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.sf-who div { display: flex; flex-direction: column; gap: 2px; }
.sf-who b { font-size: 17px; font-weight: 800; }
.sf-who span { font-size: 13px; color: var(--muted); }
.sf-q { display: flex; flex-direction: column; gap: 8px; padding-top: 4px; }
.sf-q p { margin: 0; font-size: 14px; font-weight: 700; }
.sf-answers { display: flex; flex-wrap: wrap; gap: 8px; }
.sf-answers .chip.on::before { display: none; }

.sf-blocked { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.sf-blocked li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.sf-blocked li:last-child { border-bottom: 0; }
.sf-blocked img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; filter: grayscale(0.6); }
.sf-blocked b { flex: 1; font-size: 15px; font-weight: 800; }

.sf-info p { margin: 0 0 8px; }
.sf-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 10px; }
.sf-col-title { margin: 0 0 6px !important; font-size: 11px !important; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted) !important; }
.sf-col-title.ok { color: var(--accent-light) !important; }
.sf-columns .sf-list { font-size: 13px; gap: 4px; }
.sf-list.no { color: var(--muted); }

/* ---------- Person Profile blocked state ---------- */
.pp-blocked { display: flex; flex-direction: column; gap: 8px; }
.pp-blocked .vd-label svg { width: 14px; height: 14px; }
.pp-blocked p:last-child { margin: 0; font-size: 14px; color: #d9d5e3; line-height: 1.5; }
.pp-blocked-tag { opacity: 0.6; }
.pf-safety-link { margin-top: -6px; }

@media (prefers-reduced-motion: reduce) {
  .sf-check { animation: none; }
}
.sf-check-photo { display: block; width: 48px; height: 48px; border-radius: 50%; }
