/* Mainfeed — main stylesheet (v0) */

:root {
  --bg: #0b0b0e;
  --surface: #16161b;
  --surface-2: #1d1d23;
  --border: #2a2a30;
  --text: #fafafa;
  --text-mute: #9a9aa3;
  --text-dim: #6a6a73;
  /* 4-color brand gradient: deep navy -> ocean blue -> teal -> warm sand */
  --c1: #000b21;
  --c2: #003f82;
  --c3: #4ca2b5;
  --c4: #ffd27f;
  --accent: #4ca2b5;    /* teal middle — used for borders/highlights against dark bg */
  --accent-2: #ffd27f;  /* warm sand — secondary highlight */
  --accent-glow: 76, 162, 181;  /* RGB triplet for box-shadow / rgba() use */
  --accent-grad: linear-gradient(135deg, var(--c1) 0%, var(--c2) 33%, var(--c3) 66%, var(--c4) 100%);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-btn: 14px;
  --radius-pill: 999px;
  --container: 460px;
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }

html {
  background: var(--bg);
  color: var(--text);
  font: 16px/1.5 system-ui, -apple-system, "SF Pro Text", "Inter", "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--bg);
}

a { color: inherit; text-decoration: none; }
button { background: none; border: 0; color: inherit; font: inherit; cursor: pointer; }
input, textarea { font: inherit; color: inherit; }
img, svg { display: block; max-width: 100%; }

/* ============ LAYOUT ============ */

.mf-landing, .mf-auth, .mf-app {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
  padding-bottom: max(24px, env(safe-area-inset-bottom));
}

/* Home page: full-bleed video hero. Body inherits min-height:100dvh from base so PTR works. */
.mf-home {
  background: var(--bg);
}

/* ============ VIDEO HERO ============ */

.mf-vhero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: clip;
  isolation: isolate;
  background: var(--bg);
}

.mf-vhero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  pointer-events: none;
}

.mf-vhero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(11, 11, 14, 0.55) 0%,
    rgba(11, 11, 14, 0.25) 28%,
    rgba(11, 11, 14, 0.55) 68%,
    rgba(11, 11, 14, 0.95) 100%
  );
  z-index: -1;
  pointer-events: none;
}

.mf-vhero-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  padding-top: max(20px, env(safe-area-inset-top));
}

.mf-vhero-nav .mf-logo {
  font-size: 20px;
}

/* Brand logo lockup (icon + wordmark) */
.mf-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.mf-brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: block;
  flex-shrink: 0;
}

.mf-brand-mark {
  height: 20px;
  width: 92px;
  display: block;
  flex-shrink: 0;
  object-fit: contain;
}

/* Menu hamburger button — rounded-square, orange gradient */
.mf-menu-btn {
  width: 44px;
  height: 44px;
  min-width: 44px;
  flex-shrink: 0;
  background: var(--accent-grad);
  border: none;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(76, 162, 181, 0.32);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding: 0;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.mf-menu-btn:active {
  transform: scale(0.94);
  box-shadow: 0 3px 12px rgba(76, 162, 181, 0.25);
}

.mf-menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: white;
  border-radius: 1px;
}

/* Menu drawer (full-screen overlay) */
.mf-menu {
  position: fixed;
  inset: 0;
  background: rgba(11, 11, 14, 0.92);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  z-index: 100;
  display: flex;
  flex-direction: column;
  padding: 20px;
  padding-top: max(20px, env(safe-area-inset-top));
  padding-bottom: max(20px, env(safe-area-inset-bottom));
  animation: mf-menu-in 0.2s ease;
}

.mf-menu[hidden] {
  display: none;
}

@keyframes mf-menu-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.mf-menu-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mf-menu-head .mf-logo {
  font-size: 20px;
}

.mf-menu-close {
  width: 44px;
  height: 44px;
  min-width: 44px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

.mf-menu-close:active {
  transform: scale(0.94);
  background: rgba(255, 255, 255, 0.18);
}

.mf-menu-list {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.mf-menu-list li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mf-menu-list a {
  display: block;
  padding: 20px 0;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: white;
  transition: color 0.15s ease;
}

.mf-menu-list a:active {
  color: var(--accent);
}

.mf-vhero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px 24px;
  text-align: center;
}

.mf-vhero-h {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.04;
  margin-bottom: 16px;
  color: #fff;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.45);
}

.mf-vhero-p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.45;
  text-shadow: 0 1px 20px rgba(0, 0, 0, 0.5);
  max-width: 340px;
}

.mf-vhero-actions {
  padding: 20px;
  padding-bottom: max(20px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mf-vhero-secondary {
  display: block;
  text-align: center;
  padding: 16px 28px;
  background: linear-gradient(135deg, rgba(76, 162, 181, 0.22), rgba(255, 210, 127, 0.16));
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-btn);
  font-weight: 600;
  font-size: 17px;
  color: white;
  border: 1px solid rgba(255, 210, 127, 0.4);
  box-shadow: 0 4px 18px rgba(76, 162, 181, 0.15);
  transition: transform 0.15s ease, background 0.15s ease;
}

.mf-vhero-secondary:active {
  transform: scale(0.97);
  background: linear-gradient(135deg, rgba(76, 162, 181, 0.32), rgba(255, 210, 127, 0.24));
}

.mf-vhero-legal {
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 8px;
  line-height: 1.4;
}

.mf-vhero-legal a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: underline;
}


/* ============ NAV ============ */

.mf-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 0;
}

.mf-back {
  width: 36px;
  height: 36px;
  background: transparent;
  border: 0;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text);
  padding: 0;
  flex-shrink: 0;
  transition: transform 0.15s ease, background 0.15s ease;
}

.mf-back:active {
  transform: scale(0.94);
  background: rgba(255, 255, 255, 0.08);
}

.mf-logo {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.mf-link {
  font-size: 14px;
  color: var(--text-mute);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
}

/* ============ BUTTONS ============ */

.mf-cta {
  display: inline-block;
  background: var(--accent-grad);
  color: white;
  font-weight: 600;
  font-size: 17px;
  padding: 18px 28px;
  border-radius: var(--radius-btn);
  border: none;
  letter-spacing: -0.01em;
  box-shadow: 0 8px 32px rgba(76, 162, 181, 0.28);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  text-align: center;
}

.mf-cta:active {
  transform: scale(0.97);
  box-shadow: 0 4px 16px rgba(76, 162, 181, 0.22);
}

.mf-cta-block {
  display: block;
  width: 100%;
  margin-top: 16px;
}

.mf-cta-sm {
  padding: 12px 20px;
  font-size: 15px;
}

/* ============ LANDING ============ */

.mf-hero {
  padding: 56px 0 64px;
  text-align: center;
}

.mf-hero-title {
  font-size: 44px;
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin-bottom: 20px;
}

.mf-hero-sub {
  font-size: 17px;
  color: var(--text-mute);
  margin-bottom: 36px;
  line-height: 1.5;
}

.mf-hero-foot {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-dim);
}

.mf-how {
  padding: 32px 0;
  display: grid;
  gap: 16px;
}

.mf-how-step {
  background: var(--surface);
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.mf-how-num {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 12px;
}

.mf-how-step h2 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.mf-how-step p {
  font-size: 15px;
  color: var(--text-mute);
}

.mf-philosophy {
  padding: 64px 0 48px;
  text-align: center;
}

.mf-philosophy p {
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 16px;
}

.mf-philosophy p:last-of-type {
  margin-bottom: 32px;
}

.mf-foot {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 32px 0 16px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-dim);
}

.mf-foot-copy {
  margin-left: auto;
}

/* ============ AUTH / SIGNUP ============ */

.mf-form-wrap {
  padding: 16px 0 48px;
}

.mf-step h1 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 8px;
}

.mf-sub {
  color: var(--text-mute);
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 24px;
}

.mf-field {
  display: flex;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0 16px;
  margin-bottom: 12px;
  height: 56px;
  transition: border-color 0.15s ease;
}

.mf-field:focus-within {
  border-color: var(--accent);
}

.mf-field input {
  width: 100%;
  height: 100%;
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 16px;
}

.mf-field input::placeholder {
  color: var(--text-dim);
}

.mf-prefix {
  color: var(--text-mute);
  font-size: 14px;
  margin-right: 4px;
  white-space: nowrap;
}

/* Progress dots */
.mf-progress {
  display: flex;
  gap: 6px;
  margin-bottom: 32px;
}

.mf-progress span {
  flex: 1;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
}

.mf-progress[data-step="1"] span:nth-child(-n+1),
.mf-progress[data-step="2"] span:nth-child(-n+2),
.mf-progress[data-step="3"] span:nth-child(-n+3),
.mf-progress[data-step="4"] span:nth-child(-n+4),
.mf-progress[data-step="5"] span:nth-child(-n+5) {
  background: var(--accent-grad);
}

/* ============ ONBOARDING ============ */

.mf-ob-progress {
  font-size: 12px;
  color: var(--text-mute);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.mf-ob-q {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 20px;
}

.mf-ob-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mf-ob-opt {
  width: 100%;
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  padding: 16px 18px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: transform 0.12s ease, border-color 0.12s ease, background 0.12s ease;
}

.mf-ob-opt:active {
  transform: scale(0.985);
  background: rgba(76, 162, 181, 0.1);
  border-color: var(--accent);
}

.mf-ob-multi {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}

.mf-ob-chip {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  padding: 14px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  user-select: none;
  transition: background 0.12s ease, border-color 0.12s ease;
}

.mf-ob-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.mf-ob-chip:has(input:checked) {
  background: rgba(76, 162, 181, 0.16);
  border-color: var(--accent);
}

.mf-ob-hint {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 8px;
}

.mf-ob-text {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  padding: 16px 18px;
  font-size: 16px;
  color: var(--text);
  outline: 0;
  transition: border-color 0.15s ease;
}

.mf-ob-text:focus {
  border-color: var(--accent);
}

/* ============ CHECK-IN CARD (top of feed) ============ */

.mf-checkin-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin: 0 16px 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mf-checkin-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mf-checkin-head h3 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.mf-checkin-head .mf-checkin-close {
  width: 32px;
  height: 32px;
  background: transparent;
  border: 0;
  color: var(--text-mute);
  font-size: 20px;
  cursor: pointer;
  border-radius: 8px;
}

.mf-checkin-head .mf-checkin-close:active {
  background: var(--border);
}

.mf-checkin-q {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
}

.mf-checkin-opts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 4px;
}

.mf-checkin-opt {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: background 0.12s ease, border-color 0.12s ease;
}

.mf-checkin-opt[data-selected="true"] {
  background: rgba(76, 162, 181, 0.18);
  border-color: var(--accent);
}

.mf-checkin-text {
  width: 100%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--text);
  outline: 0;
}

.mf-checkin-text:focus {
  border-color: var(--accent);
}

/* Selfie upload grid */
.mf-selfie-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.mf-selfie-slot {
  position: relative;
  aspect-ratio: 1;
  background: var(--surface);
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
}

.mf-selfie-slot input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.mf-selfie-slot span {
  font-size: 32px;
  color: var(--text-dim);
  font-weight: 300;
}

.mf-selfie-slot--filled {
  border-style: solid;
  border-color: var(--accent);
}

.mf-selfie-slot--filled span {
  display: none;
}

/* Liveness stage */
.mf-liveness-stage {
  padding: 20px 0;
  text-align: center;
}

/* Checkbox */
.mf-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  font-size: 15px;
  color: var(--text-mute);
  line-height: 1.5;
  cursor: pointer;
}

.mf-check input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 2px;
  position: relative;
  transition: all 0.15s ease;
}

.mf-check input[type="checkbox"]:checked {
  background: var(--accent-grad);
  border-color: transparent;
}

.mf-check input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 7px;
  top: 3px;
  width: 6px;
  height: 11px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.mf-check a {
  color: var(--accent);
  text-decoration: underline;
}

.mf-foot-link {
  margin-top: 24px;
  text-align: center;
  font-size: 14px;
  color: var(--text-mute);
}

.mf-foot-link a {
  color: var(--accent);
  font-weight: 600;
}

/* ============ APP ============ */

.mf-app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 10;
  border-bottom: 1px solid var(--border);
}

.mf-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--text-mute);
}

.mf-app-main {
  padding: 20px 0 60px;
}

.mf-diary {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 24px;
}

.mf-diary-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.mf-diary-input {
  width: 100%;
  background: transparent;
  border: 0;
  outline: 0;
  resize: none;
  font-size: 16px;
  color: var(--text);
  margin-bottom: 12px;
}

.mf-diary-input::placeholder {
  color: var(--text-dim);
}

.mf-diary-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mf-diary-count {
  font-size: 12px;
  color: var(--text-dim);
}

/* Feed is full-bleed — break out of the container's 20px horizontal padding */
.mf-feed {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0 -20px;
}

.mf-feed-empty {
  text-align: center;
  padding: 48px 16px;
  color: var(--text-mute);
}

.mf-feed-empty h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.mf-feed-empty p {
  font-size: 15px;
}

.mf-piece {
  background: var(--bg);
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.mf-piece-stage {
  position: relative;
  width: 100%;
  background: var(--surface-2);
}

.mf-piece-media {
  width: 100%;
  height: auto;
  display: block;
}

/* Meme caption overlays — Impact-style, thick stroke, big and centered */
.mf-piece-overlay {
  position: absolute;
  left: 0;
  right: 0;
  padding: 0 6%;
  text-align: center;
  font-family: Impact, "Anton", "Arial Black", system-ui, sans-serif;
  font-weight: 900;
  font-size: clamp(22px, 6vw, 38px);
  line-height: 1.05;
  letter-spacing: 0.01em;
  color: #fff;
  text-transform: uppercase;
  -webkit-text-stroke: 2px #000;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.55);
  pointer-events: none;
  user-select: none;
}

.mf-piece-overlay--top {
  top: 4%;
}

.mf-piece-overlay--bottom {
  bottom: 4%;
}

.mf-piece-watermark {
  position: absolute;
  right: 8px;
  bottom: 8px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(0, 0, 0, 0.32);
  padding: 3px 8px;
  border-radius: 999px;
  pointer-events: none;
  user-select: none;
  letter-spacing: 0.02em;
}

.mf-piece-actions {
  display: flex;
  gap: 0;
  padding: 10px 16px 14px;
}

.mf-piece-action {
  flex: 1;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin: 0 4px;
}

.mf-piece-action:first-child { margin-left: 0; }
.mf-piece-action:last-child  { margin-right: 0; }

.mf-piece-action:active {
  background: var(--surface);
}

.mf-piece-action--active {
  background: linear-gradient(135deg, rgba(76, 162, 181, 0.22), rgba(255, 210, 127, 0.16));
  border-color: var(--accent);
}

/* ============ APP MENU DRAWER (logout, profile, etc) ============ */

.mf-app-header .mf-avatar {
  cursor: pointer;
  border: 0;
  background: var(--surface);
  font: inherit;
  padding: 0;
}

.mf-app-menu-user {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.mf-app-menu-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  color: white;
  flex-shrink: 0;
}

.mf-app-menu-handle {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mf-app-menu-email {
  font-size: 13px;
  color: var(--text-mute);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ============ PUBLIC PROFILE PAGE ============ */

.mf-profile {
  background: var(--bg);
}

.mf-profile .mf-app-header {
  padding-left: 20px;
  padding-right: 20px;
}

.mf-profile-cta-pill {
  font-size: 13px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--accent-grad);
  color: white;
  box-shadow: 0 4px 14px rgba(76, 162, 181, 0.28);
}

.mf-profile-main {
  padding-bottom: max(40px, env(safe-area-inset-bottom));
}

.mf-profile-hero {
  text-align: center;
  padding: 32px 20px 24px;
}

.mf-profile-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--accent-grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  font-weight: 800;
  color: white;
  margin: 0 auto 16px;
  box-shadow: 0 8px 28px rgba(76, 162, 181, 0.3);
}

.mf-profile-handle {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.mf-profile-tag {
  font-size: 14px;
  color: var(--text-mute);
}

.mf-profile-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-mute);
  font-size: 15px;
}

.mf-profile .mf-feed {
  margin: 0;
}

.mf-profile-footer {
  padding: 56px 24px 24px;
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
}

.mf-profile-cta-h {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 12px;
}

.mf-profile-cta-p {
  font-size: 15px;
  color: var(--text-mute);
  line-height: 1.5;
  margin-bottom: 24px;
}

/* ============ Signup: gender toggle (no fieldset/legend, clean grid) ============ */
.mf-gender-group {
  margin: 20px 0 4px;
}
.mf-gender-label {
  display: block;
  font-size: 13px;
  color: var(--text-mute);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}
.mf-gender-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.mf-gender-option {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.mf-gender-option input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  margin: 0;
}
.mf-gender-option:has(input:checked) {
  border-color: var(--accent);
  background: rgba(76, 162, 181, 0.10);
  box-shadow: 0 0 0 1px var(--accent), 0 6px 20px rgba(76, 162, 181, 0.18);
}
.mf-gender-option:hover {
  border-color: rgba(76, 162, 181, 0.45);
}
.mf-err {
  background: rgba(255, 68, 68, 0.12);
  color: #ff8a8a;
  border: 1px solid rgba(255, 68, 68, 0.25);
  padding: 12px 14px;
  border-radius: 12px;
  margin: 12px 0;
  font-size: 14px;
}

/* ============ Feed: processing placeholder for in-flight pod swaps ============ */
.mf-piece-stage--processing,
.mf-piece-stage--failed {
  background: linear-gradient(135deg, #16161b 0%, #1d1d23 100%);
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  position: relative;
}
.mf-piece-spinner {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 3px solid rgba(76, 162, 181, 0.18);
  border-top-color: var(--accent);
  animation: mf-spin 0.9s linear infinite;
}
@keyframes mf-spin { to { transform: rotate(360deg); } }
.mf-piece-processing-msg {
  color: var(--text-mute);
  font-size: 14px;
  text-align: center;
  padding: 0 24px;
  line-height: 1.5;
}
.mf-piece-stage--failed .mf-piece-processing-msg {
  color: #ff8a8a;
}

/* ============ Password show/hide ============ */
.mf-field-password {
  position: relative;
}
.mf-field-password input {
  padding-right: 56px;
}
.mf-eye-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: none;
  background: transparent;
  color: var(--text-mute);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mf-eye-btn:hover { color: var(--text); }
.mf-eye-btn:active { background: rgba(255,255,255,0.04); }

/* Single eye icon: slash line stays hidden when password is hidden (eye open),
   slash line shows when password is visible (eye crossed). One SVG always. */
.mf-eye-btn .mf-eye-slash {
  opacity: 0;
  transition: opacity 0.15s;
}
.mf-eye-btn[data-state="visible"] .mf-eye-slash {
  opacity: 1;
}

/* ============ Selfie grid: 2 slots side-by-side ============ */
.mf-selfie-grid--2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}
.mf-selfie-slot {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  border: 2px dashed var(--border);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
}
.mf-selfie-slot input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.mf-selfie-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-mute);
  font-size: 14px;
  pointer-events: none;
  width: 100%;
  height: 100%;
  justify-content: center;
  text-align: center;
  padding: 12px;
}
.mf-selfie-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}
.mf-selfie-slot--filled {
  border-style: solid;
  border-color: var(--accent);
}

/* ============ 5-sec video slot ============ */
.mf-video-slot {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  border: 2px dashed var(--border);
  background: var(--surface);
  cursor: pointer;
  overflow: hidden;
  margin-bottom: 20px;
}
.mf-video-slot input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.mf-video-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-mute);
  font-size: 14px;
  height: 100%;
  text-align: center;
  padding: 24px;
  pointer-events: none;
}
.mf-video-placeholder video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}
.mf-video-slot--filled {
  border-style: solid;
  border-color: var(--accent);
}

/* ============ Progress 4 dots ============ */
.mf-progress[data-step="1"] span:nth-child(-n+1),
.mf-progress[data-step="2"] span:nth-child(-n+2),
.mf-progress[data-step="3"] span:nth-child(-n+3),
.mf-progress[data-step="4"] span:nth-child(-n+4) {
  background: var(--accent);
}

/* ============ Bigger / always-visible back button (mobile PWA needs this) ============ */
.mf-nav .mf-back {
  display: inline-flex !important;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  color: var(--text);
  cursor: pointer;
}
.mf-nav .mf-back:hover { background: rgba(255,255,255,0.08); }
.mf-nav .mf-back:active { background: rgba(255,255,255,0.12); }

/* ============ Selfie slot — face-oval guide + dual action (camera / upload) ============ */
.mf-selfie-preview {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: 14px;
  border: 2px solid var(--border);
  background: linear-gradient(135deg, #16161b 0%, #1d1d23 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mf-selfie-preview img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mf-face-oval {
  position: absolute;
  inset: 8% 18%;
  width: 64%;
  height: 84%;
  pointer-events: none;
  z-index: 2;
}
.mf-selfie-slot--filled .mf-face-oval { display: none; }
.mf-selfie-num {
  position: absolute;
  top: 8px;
  left: 10px;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-mute);
  z-index: 3;
}
.mf-selfie-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
}
.mf-cta-soft {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  width: 100%;
}
.mf-cta-soft:hover { border-color: var(--accent); }
.mf-link-upload {
  text-align: center;
  font-size: 12px;
  color: var(--text-mute);
  cursor: pointer;
  padding: 4px;
}
.mf-link-upload:hover { color: var(--accent); text-decoration: underline; }

/* ============ Video slot ============ */
.mf-video-preview {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: 14px;
  border: 2px solid var(--border);
  background: linear-gradient(135deg, #16161b 0%, #1d1d23 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}
.mf-video-preview video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}
.mf-video-preview .mf-face-oval { z-index: 2; }
.mf-video-icon {
  position: relative;
  z-index: 3;
  font-size: 40px;
  opacity: 0.6;
}
.mf-video-slot--filled .mf-face-oval,
.mf-video-slot--filled .mf-video-icon { display: none; }
#mf-video-record-btn { width: 100%; }

/* ============ Camera modal (fullscreen, mirrored video + face oval) ============ */
.mf-camera-modal,
.mf-video-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.mf-camera-modal[hidden],
.mf-video-modal[hidden] { display: none !important; }
.mf-camera-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scaleX(-1);   /* mirror front camera */
  background: #000;
}
.mf-camera-oval {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.mf-camera-hint {
  position: absolute;
  top: env(safe-area-inset-top, 16px);
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 14px;
  pointer-events: none;
  z-index: 2;
}
.mf-camera-controls {
  position: absolute;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 24px);
  left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 24px;
  z-index: 3;
}
.mf-camera-cancel {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  color: #fff;
  border: none;
  font-size: 20px;
  cursor: pointer;
}
.mf-camera-shutter {
  width: 76px; height: 76px;
  border-radius: 50%;
  background: #fff;
  border: 5px solid rgba(255,255,255,0.4);
  box-shadow: 0 0 0 3px rgba(255,255,255,0.95);
  cursor: pointer;
}
.mf-camera-shutter:active { transform: scale(0.95); }
.mf-camera-shutter--record { background: #ff3b30; }
.mf-camera-shutter--recording {
  background: #ff3b30;
  animation: mf-pulse 1s ease-in-out infinite;
}
@keyframes mf-pulse { 50% { box-shadow: 0 0 0 8px rgba(255,59,48,0.6); } }
.mf-video-countdown {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 120px;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 4px 24px rgba(0,0,0,0.6);
  z-index: 3;
  pointer-events: none;
}

/* ============ v11: rebuilt selfie + video step + face oval + back button ============ */

/* Selfie cards: stacked, big tap targets, 2 buttons each, oval guide always present until photo replaces it */
.mf-selfie-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 20px;
}
.mf-selfie-card {
  background: var(--surface);
  border-radius: 16px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mf-selfie-preview {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 12px;
  background: linear-gradient(135deg, #1d1d23 0%, #16161b 100%);
  overflow: hidden;
}
.mf-selfie-preview img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mf-selfie-num {
  position: absolute;
  top: 10px;
  left: 12px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mute);
  background: rgba(11,11,14,0.7);
  padding: 4px 8px;
  border-radius: 6px;
  z-index: 3;
}
.mf-selfie-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mf-link-retake {
  background: none;
  border: none;
  color: var(--accent);
  font-size: 14px;
  text-decoration: underline;
  cursor: pointer;
  padding: 6px;
  align-self: center;
}

/* Properly proportioned face oval (NOT stretched). Uses border-radius:50% which
   makes a true ellipse based on the div's own w/h, so the ratio stays a
   face-like 4:5 regardless of the parent's aspect ratio. */
.mf-face-oval {
  position: absolute;
  top: 8%;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  aspect-ratio: 4 / 5;
  border: 3px dashed rgba(76,162,181,0.85);
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
}

/* Video card */
.mf-video-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--surface);
  border-radius: 16px;
  padding: 14px;
  margin-bottom: 20px;
}
.mf-video-preview {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 12px;
  background: linear-gradient(135deg, #1d1d23 0%, #16161b 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mf-video-preview video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mf-video-icon {
  position: relative;
  z-index: 3;
  font-size: 48px;
  opacity: 0.5;
}

/* Big action buttons — two of them per slot, both equally weighted */
.mf-btn-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1.5px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  width: 100%;
}
.mf-btn-action:active { transform: scale(0.98); }
.mf-btn-action--primary {
  border-color: var(--accent);
  background: rgba(76,162,181,0.10);
}
.mf-btn-action--primary:hover { background: rgba(76,162,181,0.18); }
.mf-red-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ff3b30;
  box-shadow: 0 0 0 0 rgba(255,59,48,0.6);
  animation: mf-redpulse 1.5s ease-in-out infinite;
}
@keyframes mf-redpulse { 50% { box-shadow: 0 0 0 8px rgba(255,59,48,0); } }

/* Back button under Continue */
.mf-back-bottom {
  display: block;
  margin: 14px auto 0;
  background: none;
  border: none;
  color: var(--text-mute);
  font-size: 14px;
  cursor: pointer;
  padding: 10px 16px;
}
.mf-back-bottom:hover { color: var(--text); }

/* ============ Camera modal (fullscreen) — v11 cleaned up ============ */
.mf-cam-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mf-cam-modal[hidden] { display: none !important; }
.mf-cam-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scaleX(-1);  /* mirror front camera */
  background: #000;
}
.mf-cam-oval {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(70%, 360px);
  aspect-ratio: 4 / 5;
  border: 3px dashed rgba(255,255,255,0.9);
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
}
.mf-cam-hint {
  position: absolute;
  top: calc(env(safe-area-inset-top, 16px) + 16px);
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  font-size: 14px;
  z-index: 3;
  pointer-events: none;
  white-space: nowrap;
}
.mf-cam-countdown {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 120px;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 4px 24px rgba(0,0,0,0.8);
  z-index: 4;
  pointer-events: none;
  line-height: 1;
}
.mf-cam-countdown--rec {
  color: #ff3b30;
  text-shadow: 0 0 30px rgba(255,59,48,0.7);
}
.mf-cam-rec-badge {
  position: absolute;
  top: calc(env(safe-area-inset-top, 16px) + 16px);
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 14px;
  border-radius: 999px;
  background: #ff3b30;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  z-index: 3;
  animation: mf-redpulse 1.5s ease-in-out infinite;
}
.mf-cam-controls {
  position: absolute;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 24px);
  left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 24px;
  z-index: 5;
}
.mf-cam-cancel {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  color: #fff;
  border: none;
  font-size: 20px;
  cursor: pointer;
}
.mf-cam-shutter {
  width: 76px; height: 76px;
  border-radius: 50%;
  background: #fff;
  border: 5px solid rgba(255,255,255,0.4);
  box-shadow: 0 0 0 3px rgba(255,255,255,0.95);
  cursor: pointer;
}
.mf-cam-shutter:active { transform: scale(0.95); }

/* ============ v12: side-by-side square cards + crop UI + proper face oval ============ */

/* Override v11: selfies go back to 2-up square grid */
.mf-selfie-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}
.mf-selfie-card {
  background: var(--surface);
  border-radius: 16px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mf-selfie-stage {
  position: relative;
  aspect-ratio: 1 / 1;       /* SQUARE, not 3:4 */
  border-radius: 12px;
  background: linear-gradient(135deg, #1d1d23, #16161b);
  overflow: hidden;
  touch-action: none;        /* pan/pinch managed in JS */
}
.mf-selfie-stage img.mf-saved-img,
.mf-selfie-stage video.mf-saved-img,
.mf-video-stage video.mf-saved-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mf-crop-img {
  position: absolute;
  top: 0; left: 0;
  transform-origin: 0 0;
  user-select: none;
  pointer-events: none;
  max-width: none;
  max-height: none;
}
.mf-selfie-stage--cropping {
  cursor: grab;
}
.mf-crop-hint {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0,0,0,0.65);
  color: #fff;
  font-size: 11px;
  pointer-events: none;
  z-index: 3;
  white-space: nowrap;
}
.mf-selfie-num {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mute);
  background: rgba(11,11,14,0.7);
  padding: 3px 7px;
  border-radius: 6px;
  z-index: 3;
}

/* Proper face-oval: 75% wide, 85% tall = realistic head shape */
.mf-face-oval {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 75%;
  height: 85%;
  border: 3px dashed rgba(76,162,181,0.85);
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
}

/* Video card stays full-width (1 column) */
.mf-video-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--surface);
  border-radius: 16px;
  padding: 14px;
  margin-bottom: 20px;
}
.mf-video-stage {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  background: linear-gradient(135deg, #1d1d23, #16161b);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mf-video-stage .mf-video-icon {
  position: relative;
  z-index: 3;
  font-size: 48px;
  opacity: 0.5;
}
.mf-video-stage--captured .mf-face-oval,
.mf-video-stage--captured .mf-video-icon { display: none; }

/* Crop-mode action buttons (Save / Retake) — sit below the stage when cropping */
.mf-crop-actions {
  display: flex;
  gap: 8px;
}
.mf-crop-actions .mf-btn-action {
  flex: 1;
  padding: 12px 10px;
  font-size: 14px;
}

/* ============ v13: simplified — no crop UI, no oval ============ */
.mf-stage-icon {
  position: relative;
  z-index: 2;
  font-size: 36px;
  opacity: 0.5;
}
.mf-busy {
  font-size: 13px;
  color: var(--text-mute);
  text-align: center;
  margin: 6px 0;
}
.mf-busy.mf-busy--ok {
  color: #4ade80;
  font-weight: 600;
  font-size: 14px;
}
.mf-cam-blocked {
  background: rgba(250, 204, 21, 0.08);
  border: 1px solid rgba(250, 204, 21, 0.45);
  border-radius: 14px;
  padding: 16px 18px;
  margin: 8px 0 16px;
  color: #fde68a;
}
.mf-cam-blocked-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fcd34d;
}
.mf-cam-blocked-body {
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 12px;
  color: #fef3c7;
}
.mf-cam-blocked ol {
  margin: 0 0 14px;
  padding-left: 22px;
  font-size: 14px;
  line-height: 1.6;
  color: #fef3c7;
}
.mf-cam-blocked ol li {
  margin-bottom: 6px;
}
.mf-cam-blocked ol li b {
  color: #ffffff;
  font-weight: 700;
}
#mf-cam-retry {
  background: #fcd34d;
  color: #1a1a1a;
  font-weight: 700;
}
.mf-selfie-stage,
.mf-video-stage {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Override v12 oval (kept the class but unused now) */
.mf-face-oval { display: none; }
