/* ═══════════════════════════════════════════════════════════════
   FACECALCULATORS.COM — CALCULATOR STYLESHEET
   Brand System v1.0 | Mobile-First | Production-Ready
   ═══════════════════════════════════════════════════════════════ */

/* ── 01. DESIGN TOKENS ──────────────────────────────────────── */
:root {
  /* Ink system */
  --ink:       #1A1612;
  --ink-2:     #3A342E;
  --ink-3:     #7A746E;
  --ink-4:     #B0A99F;

  /* Gold system — primary brand accent */
  --gold:      #C49A6C;
  --gold-d:    #A67C52;
  --gold-dd:   #7A5A38;
  --gold-l:    #DCBE97;
  --gold-ll:   #EDD9BC;
  --gold-f:    #FAF5EE;

  /* Cream system — backgrounds */
  --cream:     #F5F0E8;
  --cream-2:   #EDE7DC;
  --surface:   #FEFCF9;
  --surface-2: #F8F3EC;

  /* Borders */
  --border:    rgba(26,22,18,0.10);
  --border-2:  rgba(26,22,18,0.06);

  /* CTA — coral, reserved for primary action buttons only */
  --cta:       #C84B3C;
  --cta-d:     #A8362A;
  --cta-l:     #F2D5D2;

  /* Semantic */
  --ok:        #1D6A47;
  --ok-bg:     #D8F3E7;
  --warn:      #8A5800;
  --warn-bg:   #FEF3C7;

  /* Typography */
  --f-d:       'Playfair Display', Georgia, serif;
  --f-b:       'DM Sans', system-ui, -apple-system, sans-serif;
  --f-m:       'IBM Plex Mono', 'Courier New', monospace;

  /* Radii */
  --r-sm:      6px;
  --r-md:      12px;
  --r-lg:      20px;
  --r-xl:      28px;
  --r-2xl:     40px;
  --r-pill:    999px;

  /* Shadows */
  --sh-sm:     0 1px 4px rgba(26,22,18,0.06);
  --sh-md:     0 4px 16px rgba(26,22,18,0.08);
  --sh-lg:     0 12px 40px rgba(26,22,18,0.10);
  --sh-xl:     0 24px 64px rgba(26,22,18,0.13);

  /* Layout */
  --max-w:     1120px;
  --pg:        clamp(20px, 4vw, 40px);
}

/* ── 02. RESET & BASE ───────────────────────────────────────── */
.fc-page *, .fc-page *::before, .fc-page *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.fc-page {
  font-family: var(--f-b);
  font-weight: 300;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* When camera overlay is open, lock body scroll */
.fc-page.camera-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

.fc-page img  { max-width: 100%; height: auto; display: block; }
.fc-page a    { color: inherit; text-decoration: none; }
.fc-page button { font-family: var(--f-b); cursor: pointer; border: none; background: none; }
.fc-page input,
.fc-page textarea { font-family: var(--f-b); }

/* ── 03. SCROLL PROGRESS BAR ────────────────────────────────── */
#fc-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: var(--gold);
  z-index: 9999;
  transition: width 0.1s linear;
  pointer-events: none;
}

/* ── 04. NAVIGATION ─────────────────────────────────────────── */
#fc-nav {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(254,252,249,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.fc-nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pg);
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
.fc-logo {
  display: inline-flex;
  align-items: baseline;
  text-decoration: none;
  flex-shrink: 0;
  line-height: 1;
}
.fc-logo-face {
  font-family: var(--f-d);
  font-style: italic;
  font-weight: 600;
  font-size: 1.375rem;
  color: var(--gold-d);
}
.fc-logo-rest {
  font-family: var(--f-b);
  font-weight: 300;
  font-size: 1.25rem;
  color: var(--ink-3);
}

/* Desktop nav links */
.fc-nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.fc-nav-links a {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--ink-3);
  transition: color 0.2s;
  white-space: nowrap;
}
.fc-nav-links a:hover { color: var(--ink); }

/* CTA button */
.fc-nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 9px 20px;
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--r-md);
  font-size: 0.8125rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s;
  flex-shrink: 0;
  text-decoration: none;
}
.fc-nav-cta:hover {
  background: var(--ink-2);
  transform: translateY(-1px);
}

/* Hamburger */
.fc-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  border-radius: var(--r-sm);
  background: none;
  border: none;
}
.fc-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition: all 0.25s ease;
  transform-origin: center;
}
.fc-hamburger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.fc-hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.fc-hamburger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile drawer */
#fc-drawer {
  position: fixed;
  inset: 64px 0 0 0;
  background: var(--surface);
  z-index: 800;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}
#fc-drawer.is-open { transform: translateX(0); }

.fc-drawer-links {
  list-style: none;
  padding: 20px 28px;
  flex: 1;
}
.fc-drawer-links li { border-bottom: 1px solid var(--border-2); }
.fc-drawer-links a {
  display: block;
  padding: 16px 0;
  font-size: 1.0625rem;
  font-weight: 400;
  color: var(--ink-2);
  text-decoration: none;
}

.fc-drawer-footer {
  padding: 20px 28px;
  padding-bottom: max(28px, env(safe-area-inset-bottom, 28px));
}
.fc-drawer-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 52px;
  background: var(--cta);
  color: #fff;
  border-radius: var(--r-lg);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.fc-drawer-cta:hover { background: var(--cta-d); }

/* ── 05. HERO ───────────────────────────────────────────────── */
#fc-hero {
  background: var(--ink);
  padding: clamp(72px, 12vw, 128px) var(--pg) clamp(64px, 10vw, 112px);
  position: relative;
  overflow: hidden;
}

/* Subtle grid texture */
.fc-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(196,154,108,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196,154,108,0.04) 1px, transparent 1px);
  background-size: 52px 52px;
  pointer-events: none;
}

.fc-hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
  z-index: 1;
  text-align: center;
}

/* Kicker */
.fc-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-m);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
}
.fc-hero-kicker-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  animation: fc-pulse-dot 2.4s ease-in-out infinite;
}
@keyframes fc-pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.45; transform: scale(1.5); }
}

/* H1 */
.fc-hero-h1 {
  font-family: var(--f-d);
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: var(--cream);
  margin-bottom: 0;
}
.fc-hero-h1 em {
  display: block;
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
}

.fc-hero-sub {
  font-size: clamp(1rem, 2.2vw, 1.1875rem);
  font-weight: 300;
  color: rgba(245,240,232,0.48);
  max-width: 540px;
  margin: 24px auto 48px;
  line-height: 1.78;
}

/* Hero action buttons */
.fc-hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.fc-btn-detect {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 60px;
  padding: 0 40px;
  background: var(--cta);
  color: #fff;
  border-radius: var(--r-lg);
  font-family: var(--f-b);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 8px 32px rgba(200,75,60,0.35);
  min-width: 260px;
  position: relative;
  overflow: hidden;
}
.fc-btn-detect:hover {
  background: var(--cta-d);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(200,75,60,0.42);
}
.fc-btn-detect:active { transform: translateY(0); }

.fc-hero-alt {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.875rem;
}
.fc-hero-alt-btn {
  background: none;
  border: none;
  color: rgba(245,240,232,0.45);
  font-size: 0.875rem;
  font-family: var(--f-b);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(245,240,232,0.2);
  transition: color 0.2s;
  padding: 0;
}
.fc-hero-alt-btn:hover { color: rgba(245,240,232,0.78); }
.fc-hero-alt-sep { color: rgba(245,240,232,0.18); }

/* Trust strip below buttons */
.fc-hero-trust {
  margin-top: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}
.fc-hero-trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--f-m);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  color: rgba(245,240,232,0.28);
}

/* ── 06. CAMERA OVERLAY ─────────────────────────────────────── */
#fc-camera-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
#fc-camera-overlay.is-visible {
  opacity: 1;
  pointer-events: all;
}

/* ── Consent panel (bottom sheet) ── */
#fc-consent-panel {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  z-index: 10;
}
#fc-consent-panel.is-hidden { display: none; }

.fc-consent-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26,22,18,0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.fc-consent-sheet {
  position: relative;
  z-index: 1;
  width: 100%;
  background: var(--surface);
  border-radius: var(--r-2xl) var(--r-2xl) 0 0;
  padding: 32px 28px;
  padding-bottom: max(32px, env(safe-area-inset-bottom, 32px));
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 88dvh;
  overflow-y: auto;
}
.fc-consent-sheet.is-open { transform: translateY(0); }

.fc-consent-pill {
  width: 40px;
  height: 4px;
  background: var(--cream-2);
  border-radius: 2px;
  margin: 0 auto 28px;
}

.fc-consent-title {
  font-family: var(--f-d);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.fc-consent-sub {
  font-size: 0.9375rem;
  color: var(--ink-3);
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 24px;
}

.fc-consent-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.fc-consent-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--ink-2);
  line-height: 1.6;
}
.fc-consent-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--ok-bg);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  color: var(--ok);
}

.fc-consent-confirm {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: var(--cream);
  border-radius: var(--r-md);
  cursor: pointer;
  margin-bottom: 20px;
  border: 1.5px solid transparent;
  transition: border-color 0.2s, background 0.2s;
}
.fc-consent-confirm.is-checked {
  border-color: var(--gold-l);
  background: var(--gold-f);
}
.fc-consent-checkbox {
  width: 20px;
  height: 20px;
  accent-color: var(--gold-d);
  flex-shrink: 0;
  margin-top: 1px;
  cursor: pointer;
}
.fc-consent-confirm-label {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  line-height: 1.5;
}

.fc-btn-start-camera {
  width: 100%;
  height: 56px;
  background: var(--cta);
  color: #fff;
  border-radius: var(--r-lg);
  font-family: var(--f-b);
  font-size: 1.0625rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s;
  letter-spacing: 0.01em;
}
.fc-btn-start-camera:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.fc-btn-start-camera:not(:disabled):hover { background: var(--cta-d); }

/* ── Camera viewfinder ── */
#fc-viewfinder {
  position: absolute;
  inset: 0;
  background: #000;
  display: none;
  flex-direction: column;
}
#fc-viewfinder.is-active { display: flex; }

#fc-webcam {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scaleX(-1);
}

#fc-cam-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  transform: scaleX(-1);
}

/* Camera close button */
.fc-cam-close {
  position: absolute;
  top: max(20px, env(safe-area-inset-top, 20px));
  right: 20px;
  z-index: 20;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(26,22,18,0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: rgba(255,255,255,0.8);
  transition: background 0.2s;
  font-family: var(--f-b);
}
.fc-cam-close:hover { background: rgba(26,22,18,0.9); }

/* Accuracy indicator */
.fc-cam-accuracy {
  position: absolute;
  top: max(20px, env(safe-area-inset-top, 20px));
  left: 20px;
  z-index: 20;
  background: rgba(26,22,18,0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--r-md);
  padding: 8px 12px;
  min-width: 100px;
  pointer-events: none;
}
.fc-cam-acc-label {
  font-family: var(--f-m);
  font-size: 0.5rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 5px;
}
.fc-cam-acc-track {
  height: 3px;
  background: rgba(255,255,255,0.12);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 5px;
}
.fc-cam-acc-fill {
  height: 100%;
  border-radius: 2px;
  width: 0%;
  transition: width 0.3s ease, background 0.5s ease;
  background: var(--gold);
}
.fc-cam-acc-fill.is-good { background: #4ADE80; }
.fc-cam-acc-pct {
  font-family: var(--f-m);
  font-size: 0.6875rem;
  color: rgba(255,255,255,0.65);
}

/* Guidance toast */
.fc-cam-guidance {
  position: absolute;
  top: max(80px, calc(env(safe-area-inset-top, 0px) + 76px));
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  background: rgba(26,22,18,0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--r-pill);
  padding: 9px 20px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255,255,255,0.88);
  white-space: nowrap;
  pointer-events: none;
  border: 1px solid rgba(255,255,255,0.08);
  transition: opacity 0.3s;
}
.fc-cam-guidance.is-hidden { opacity: 0; }

/* Shutter button */
.fc-cam-shutter-area {
  position: absolute;
  bottom: max(44px, env(safe-area-inset-bottom, 44px));
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.fc-cam-shutter-hint {
  font-family: var(--f-m);
  font-size: 0.5625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
}
.fc-cam-shutter {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 3px solid rgba(255,255,255,0.4);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  font-family: var(--f-b);
}
.fc-cam-shutter::after {
  content: '';
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  transition: all 0.3s;
}
.fc-cam-shutter:disabled {
  opacity: 0.28;
  cursor: not-allowed;
}
.fc-cam-shutter.is-ready {
  background: rgba(200,75,60,0.22);
  border-color: var(--cta);
  box-shadow: 0 0 0 8px rgba(200,75,60,0.14), 0 0 32px rgba(200,75,60,0.28);
  animation: fc-shutter-pulse 1.6s ease-in-out infinite;
}
.fc-cam-shutter.is-ready::after { background: var(--cta); }
@keyframes fc-shutter-pulse {
  0%, 100% { box-shadow: 0 0 0 8px rgba(200,75,60,0.14), 0 0 32px rgba(200,75,60,0.28); }
  50%       { box-shadow: 0 0 0 16px rgba(200,75,60,0.07), 0 0 48px rgba(200,75,60,0.18); }
}
.fc-cam-shutter:not(:disabled).is-ready:active { transform: scale(0.91); }

/* Camera flash effect */
#fc-cam-flash {
  position: absolute;
  inset: 0;
  background: #fff;
  z-index: 30;
  opacity: 0;
  pointer-events: none;
}
#fc-cam-flash.is-flashing {
  animation: fc-flash 0.5s ease-out forwards;
}
@keyframes fc-flash {
  0%   { opacity: 1; }
  100% { opacity: 0; }
}

/* ── Camera loading state ── */
#fc-cam-loading {
  position: absolute;
  inset: 0;
  background: var(--ink);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  z-index: 15;
}
#fc-cam-loading.is-active { display: flex; }

.fc-loading-ring {
  width: 48px;
  height: 48px;
  border: 2px solid rgba(196,154,108,0.18);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: fc-spin 0.8s linear infinite;
}
@keyframes fc-spin { to { transform: rotate(360deg); } }

.fc-loading-text {
  font-family: var(--f-m);
  font-size: 0.8125rem;
  color: rgba(245,240,232,0.42);
  letter-spacing: 0.06em;
  text-align: center;
  line-height: 1.65;
  max-width: 240px;
}

/* ── Processing sequence ── */
#fc-processing {
  position: absolute;
  inset: 0;
  z-index: 25;
  background: rgba(26,22,18,0.94);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 40px 28px;
}
#fc-processing.is-active { display: flex; }

.fc-processing-preview {
  width: 152px;
  height: 200px;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid rgba(196,154,108,0.25);
  position: relative;
  background: var(--ink);
}
.fc-processing-preview canvas {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fc-processing-preview::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,22,18,0.65) 0%, transparent 55%);
}

.fc-processing-text {
  text-align: center;
}
.fc-processing-step {
  font-family: var(--f-m);
  font-size: 0.875rem;
  color: var(--gold);
  letter-spacing: 0.04em;
  min-height: 1.4em;
  transition: opacity 0.25s;
}
.fc-processing-bar-track {
  width: 200px;
  height: 2px;
  background: rgba(255,255,255,0.08);
  border-radius: 1px;
  margin: 16px auto 0;
  overflow: hidden;
}
.fc-processing-bar-fill {
  height: 100%;
  background: var(--gold);
  border-radius: 1px;
  width: 0%;
  transition: width 0.4s ease;
}

/* ── Quick result after capture ── */
#fc-quick-result {
  position: absolute;
  inset: 0;
  z-index: 25;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: max(48px, env(safe-area-inset-bottom, 48px));
}
#fc-quick-result.is-active { display: flex; }

.fc-quick-result-sheet {
  width: 100%;
  background: rgba(26,22,18,0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(196,154,108,0.18);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.fc-quick-result-label {
  font-family: var(--f-m);
  font-size: 0.5625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}
.fc-quick-result-name {
  font-family: var(--f-d);
  font-size: 2.75rem;
  font-weight: 700;
  font-style: italic;
  color: var(--cream);
  letter-spacing: -0.02em;
  line-height: 1;
}
.fc-quick-result-conf {
  font-family: var(--f-m);
  font-size: 0.8125rem;
  color: var(--gold);
  margin-top: 4px;
}
.fc-quick-result-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.fc-btn-share-cam {
  height: 48px;
  border: 1.5px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.75);
  border-radius: var(--r-md);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: all 0.2s;
  background: rgba(255,255,255,0.05);
  font-family: var(--f-b);
}
.fc-btn-share-cam:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.32); }

.fc-btn-view-guide {
  height: 48px;
  background: var(--cta);
  color: #fff;
  border-radius: var(--r-md);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: background 0.2s;
  border: none;
  font-family: var(--f-b);
}
.fc-btn-view-guide:hover { background: var(--cta-d); }

/* ── 07. TOOLS SECTION ──────────────────────────────────────── */
#fc-tools {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(64px, 10vw, 112px) var(--pg);
}

.fc-tools-header {
  text-align: center;
  margin-bottom: 48px;
}

.fc-section-kicker {
  font-family: var(--f-m);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.fc-section-h2 {
  font-family: var(--f-d);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 12px;
}
.fc-section-h2 em { font-style: italic; font-weight: 400; color: var(--gold-d); }

.fc-section-sub {
  font-size: 1.0625rem;
  color: var(--ink-3);
  font-weight: 300;
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.76;
}

/* Mode tabs */
.fc-tool-tabs {
  display: flex;
  background: var(--cream-2);
  border-radius: var(--r-lg);
  padding: 5px;
  margin-bottom: 32px;
  gap: 4px;
}
.fc-tool-tab {
  flex: 1;
  height: 44px;
  border: none;
  background: transparent;
  border-radius: var(--r-md);
  font-family: var(--f-b);
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--ink-3);
  cursor: pointer;
  transition: all 0.2s;
}
.fc-tool-tab.is-active {
  background: var(--surface);
  color: var(--ink);
  font-weight: 500;
  box-shadow: var(--sh-sm);
}

.fc-tool-panel { display: none; }
.fc-tool-panel.is-active { display: block; }

/* ── Photo upload ── */
.fc-upload-zone {
  border: 2px dashed var(--gold-ll);
  border-radius: var(--r-xl);
  padding: 56px 28px;
  text-align: center;
  cursor: pointer;
  background: var(--gold-f);
  transition: all 0.25s ease;
}
.fc-upload-zone:hover,
.fc-upload-zone.is-dragover {
  border-color: var(--gold);
  background: var(--cream);
  transform: scale(1.01);
}
.fc-upload-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-lg);
  background: var(--cream-2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.fc-upload-title {
  font-family: var(--f-d);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.fc-upload-sub {
  font-size: 0.875rem;
  color: var(--ink-3);
  font-weight: 300;
  margin-bottom: 20px;
}
.fc-btn-choose {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 44px;
  padding: 0 24px;
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--r-md);
  font-family: var(--f-b);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: background 0.2s;
}
.fc-btn-choose:hover { background: var(--ink-2); }

.fc-photo-preview-wrap {
  display: none;
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--ink);
  margin-bottom: 16px;
}
.fc-photo-preview-wrap.is-active { display: block; }

#fc-photo-preview {
  width: 100%;
  max-height: 480px;
  object-fit: contain;
  display: block;
}
#fc-photo-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.fc-btn-analyze {
  width: 100%;
  height: 52px;
  background: var(--gold);
  color: var(--ink);
  border-radius: var(--r-lg);
  font-family: var(--f-b);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  display: none;
  position: relative;
}
.fc-btn-analyze.is-visible { display: block; }
.fc-btn-analyze:hover { background: var(--gold-d); transform: translateY(-1px); box-shadow: var(--sh-md); }
.fc-btn-analyze.is-loading { color: transparent; }
.fc-btn-analyze.is-loading::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  top: 50%;
  left: 50%;
  margin: -10px 0 0 -10px;
  border: 2px solid rgba(26,22,18,0.25);
  border-top-color: var(--ink);
  border-radius: 50%;
  animation: fc-spin 0.7s linear infinite;
}

/* ── Manual calculator ── */
.fc-unit-selector {
  display: flex;
  background: var(--cream-2);
  border-radius: var(--r-md);
  padding: 4px;
  margin-bottom: 28px;
  width: fit-content;
  gap: 3px;
}
.fc-unit-radio { display: none; }
.fc-unit-label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 36px;
  border-radius: var(--r-sm);
  cursor: pointer;
  font-family: var(--f-m);
  font-size: 0.8125rem;
  color: var(--ink-3);
  transition: all 0.2s;
  user-select: none;
}
.fc-unit-radio:checked + .fc-unit-label {
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--sh-sm);
}

.fc-calc-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 20px;
}
.fc-calc-field { display: flex; flex-direction: column; gap: 5px; }
.fc-calc-field.fc-full { grid-column: 1 / -1; }

.fc-field-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.fc-badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--f-m);
  font-size: 0.5rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 3px;
  white-space: nowrap;
}
.fc-badge-req  { background: var(--cta-l);  color: var(--cta-d); }
.fc-badge-opt  { background: var(--cream-2); color: var(--ink-4); }
.fc-badge-conf { background: var(--gold-f);  color: var(--gold-d); }

.fc-field-sci {
  font-family: var(--f-m);
  font-size: 0.5625rem;
  letter-spacing: 0.05em;
  color: var(--ink-4);
  line-height: 1.45;
}
.fc-field-help {
  font-size: 0.75rem;
  color: var(--ink-4);
  font-weight: 300;
  line-height: 1.55;
}

.fc-input-wrap { position: relative; }
.fc-input {
  width: 100%;
  height: 48px;
  padding: 0 52px 0 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  font-family: var(--f-b);
  font-size: 1rem;
  color: var(--ink);
  background: var(--surface);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.fc-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(196,154,108,0.12);
}
.fc-input::placeholder { color: var(--ink-4); }
.fc-input-unit {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--f-m);
  font-size: 0.8125rem;
  color: var(--ink-4);
  pointer-events: none;
  transition: color 0.2s;
}
.fc-input:focus ~ .fc-input-unit { color: var(--gold-d); }

/* Live confidence display */
.fc-conf-live {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  background: var(--gold-f);
  border: 1px solid var(--gold-ll);
  border-radius: var(--r-md);
  margin-bottom: 20px;
}
.fc-conf-live-label {
  font-size: 0.875rem;
  color: var(--ink-3);
  font-weight: 300;
}
.fc-conf-live-value {
  font-family: var(--f-m);
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--gold-d);
  white-space: nowrap;
}

/* Optional fields toggle */
.fc-optional-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--gold-d);
  font-weight: 500;
  margin-bottom: 20px;
  background: none;
  border: none;
  padding: 0;
  font-family: var(--f-b);
  transition: color 0.2s;
}
.fc-optional-toggle:hover { color: var(--gold-dd); }
.fc-optional-toggle svg { transition: transform 0.22s; }
.fc-optional-toggle.is-open svg { transform: rotate(180deg); }

.fc-optional-fields { display: none; }
.fc-optional-fields.is-open { display: contents; }

/* Calculate button */
.fc-btn-calculate {
  width: 100%;
  height: 54px;
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--r-lg);
  font-family: var(--f-b);
  font-size: 1.0625rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
  margin-top: 24px;
}
.fc-btn-calculate:hover {
  background: var(--ink-2);
  transform: translateY(-1px);
  box-shadow: var(--sh-lg);
}
.fc-btn-calculate:active { transform: translateY(0); }
.fc-btn-calculate.is-loading { color: transparent; }
.fc-btn-calculate.is-loading::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  top: 50%;
  left: 50%;
  margin: -10px 0 0 -10px;
  border: 2px solid rgba(245,240,232,0.25);
  border-top-color: var(--cream);
  border-radius: 50%;
  animation: fc-spin 0.7s linear infinite;
}

/* ── 08. RESULTS ────────────────────────────────────────────── */
#fc-results {
  background: var(--ink);
  padding: clamp(64px, 10vw, 112px) var(--pg);
  display: none;
}
#fc-results.is-active { display: block; }

.fc-results-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

/* Results entrance animations */
#fc-results.is-active .fc-results-header   { animation: fc-fade-up 0.5s ease both; }
#fc-results.is-active .fc-conf-block       { animation: fc-fade-up 0.5s 0.08s ease both; }
#fc-results.is-active .fc-shape-bars       { animation: fc-fade-up 0.5s 0.14s ease both; }
#fc-results.is-active .fc-ratios-block     { animation: fc-fade-up 0.5s 0.20s ease both; }
#fc-results.is-active .fc-recs-block       { animation: fc-fade-up 0.5s 0.26s ease both; }
#fc-results.is-active .fc-celeb-block      { animation: fc-fade-up 0.5s 0.32s ease both; }
#fc-results.is-active .fc-result-actions   { animation: fc-fade-up 0.5s 0.38s ease both; }

@keyframes fc-fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Header: shape name + metrics */
.fc-results-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.fc-results-kicker {
  font-family: var(--f-m);
  font-size: 0.5625rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.fc-results-shape-name {
  font-family: var(--f-d);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 700;
  font-style: italic;
  color: var(--cream);
  letter-spacing: -0.03em;
  line-height: 0.9;
  margin-bottom: 14px;
}
.fc-results-desc {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(245,240,232,0.45);
  max-width: 440px;
  line-height: 1.78;
}

.fc-result-metrics {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 190px;
}
.fc-metric-box {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--r-md);
  padding: 12px 16px;
}
.fc-metric-label {
  font-family: var(--f-m);
  font-size: 0.5rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.28);
  margin-bottom: 4px;
}
.fc-metric-value {
  font-family: var(--f-m);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--gold);
}

/* Confidence block */
.fc-conf-block {
  margin-bottom: 44px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.fc-conf-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
}
.fc-conf-label {
  font-family: var(--f-m);
  font-size: 0.5625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.3);
}
.fc-conf-score {
  font-family: var(--f-m);
  font-size: 1.375rem;
  font-weight: 500;
  color: var(--gold);
}
.fc-conf-track {
  height: 4px;
  background: rgba(255,255,255,0.07);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 10px;
}
.fc-conf-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dd), var(--gold));
  border-radius: 2px;
  width: 0%;
  transition: width 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.fc-conf-note {
  font-size: 0.8125rem;
  color: rgba(245,240,232,0.22);
  font-weight: 300;
  line-height: 1.6;
}

/* Shape probability bars */
.fc-shape-bars {
  margin-bottom: 44px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.fc-shape-bars-label {
  font-family: var(--f-m);
  font-size: 0.5625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.28);
  margin-bottom: 20px;
}
.fc-shape-bar-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fc-shape-bar-item {}
.fc-shape-bar-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 5px;
}
.fc-shape-bar-name {
  font-size: 0.9375rem;
  font-weight: 400;
  color: rgba(245,240,232,0.5);
}
.fc-shape-bar-name.is-primary {
  color: var(--cream);
  font-weight: 500;
}
.fc-shape-bar-pct {
  font-family: var(--f-m);
  font-size: 0.8125rem;
  color: var(--gold);
}
.fc-shape-bar-track {
  height: 3px;
  background: rgba(255,255,255,0.05);
  border-radius: 2px;
  overflow: hidden;
}
.fc-shape-bar-fill {
  height: 100%;
  background: rgba(196,154,108,0.35);
  border-radius: 2px;
  width: 0%;
  transition: width 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.fc-shape-bar-item.is-primary .fc-shape-bar-fill {
  background: var(--gold);
}

/* Ratios block */
.fc-ratios-block {
  margin-bottom: 44px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.fc-ratios-label {
  font-family: var(--f-m);
  font-size: 0.5625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.28);
  margin-bottom: 16px;
}
.fc-ratios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(152px, 1fr));
  gap: 10px;
}
.fc-ratio-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--r-md);
  padding: 14px;
}
.fc-ratio-card-id {
  font-family: var(--f-m);
  font-size: 0.5rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.22);
  margin-bottom: 3px;
}
.fc-ratio-card-name {
  font-size: 0.8125rem;
  color: rgba(245,240,232,0.4);
  margin-bottom: 7px;
  line-height: 1.4;
}
.fc-ratio-card-val {
  font-family: var(--f-m);
  font-size: 1.1875rem;
  font-weight: 500;
  color: var(--gold);
}
.fc-ratio-card-note {
  font-size: 0.75rem;
  color: rgba(245,240,232,0.25);
  margin-top: 4px;
  line-height: 1.4;
}

/* Recommendations block */
.fc-recs-block { margin-bottom: 40px; }
.fc-recs-label {
  font-family: var(--f-m);
  font-size: 0.5625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.28);
  margin-bottom: 16px;
}
.fc-rec-tabs {
  display: flex;
  gap: 4px;
  background: rgba(255,255,255,0.04);
  border-radius: var(--r-md);
  padding: 4px;
  margin-bottom: 24px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.fc-rec-tabs::-webkit-scrollbar { display: none; }
.fc-rec-tab {
  flex-shrink: 0;
  height: 36px;
  padding: 0 16px;
  border: none;
  background: transparent;
  border-radius: var(--r-sm);
  font-family: var(--f-b);
  font-size: 0.8125rem;
  font-weight: 400;
  color: rgba(245,240,232,0.38);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.fc-rec-tab.is-active {
  background: rgba(255,255,255,0.08);
  color: var(--cream);
  font-weight: 500;
}
.fc-rec-panel { display: none; }
.fc-rec-panel.is-active { display: block; }

.fc-rec-list {
  list-style: none;
  display: flex;
  flex-direction: column;
}
.fc-rec-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.fc-rec-item:last-child { border-bottom: none; }
.fc-rec-num {
  font-family: var(--f-m);
  font-size: 0.6875rem;
  color: var(--gold-dd);
  min-width: 18px;
  padding-top: 2px;
  opacity: 0.65;
}
.fc-rec-text {
  font-size: 0.9375rem;
  color: rgba(245,240,232,0.6);
  font-weight: 300;
  line-height: 1.68;
}

/* Celebrity block */
.fc-celeb-block {
  margin-bottom: 40px;
  padding: 22px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--r-xl);
}
.fc-celeb-label {
  font-family: var(--f-m);
  font-size: 0.5625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.28);
  margin-bottom: 6px;
}
.fc-celeb-desc {
  font-size: 0.9375rem;
  color: rgba(245,240,232,0.45);
  font-weight: 300;
  line-height: 1.65;
  margin-bottom: 14px;
}
.fc-celeb-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.fc-celeb-tag {
  padding: 5px 12px;
  background: rgba(196,154,108,0.1);
  border: 1px solid rgba(196,154,108,0.18);
  border-radius: var(--r-pill);
  font-size: 0.8125rem;
  color: var(--gold-l);
}

/* Result actions */
.fc-result-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.fc-btn-full-guide {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  background: var(--gold);
  color: var(--ink);
  border-radius: var(--r-lg);
  font-family: var(--f-b);
  font-size: 0.9375rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.fc-btn-full-guide:hover {
  background: var(--gold-d);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(196,154,108,0.22);
}

.fc-btn-share-results {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  background: rgba(255,255,255,0.05);
  color: rgba(245,240,232,0.65);
  border-radius: var(--r-lg);
  font-family: var(--f-b);
  font-size: 0.9375rem;
  font-weight: 500;
  border: 1px solid rgba(255,255,255,0.09);
  cursor: pointer;
  transition: all 0.2s;
}
.fc-btn-share-results:hover {
  background: rgba(255,255,255,0.09);
  color: var(--cream);
}

/* Recommendations capture (coming soon) */
.fc-reco-capture {
  border: 1px solid rgba(196,154,108,0.14);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.fc-reco-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  background: rgba(196,154,108,0.05);
  cursor: pointer;
  border: none;
  width: 100%;
  font-family: var(--f-b);
  transition: background 0.2s;
  text-align: left;
}
.fc-reco-trigger:hover { background: rgba(196,154,108,0.09); }
.fc-reco-trigger-text {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--gold-l);
}
.fc-reco-trigger-icon {
  color: var(--gold);
  transition: transform 0.25s;
  flex-shrink: 0;
}
.fc-reco-capture.is-open .fc-reco-trigger-icon { transform: rotate(180deg); }
.fc-reco-body {
  display: none;
  padding: 0 20px 20px;
  background: rgba(255,255,255,0.02);
}
.fc-reco-capture.is-open .fc-reco-body { display: block; }
.fc-reco-badge {
  font-family: var(--f-m);
  font-size: 0.5625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 16px 0 12px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  margin-bottom: 14px;
}
.fc-reco-sub {
  font-size: 0.875rem;
  color: rgba(245,240,232,0.4);
  font-weight: 300;
  line-height: 1.68;
  margin-bottom: 16px;
}
.fc-reco-input,
.fc-reco-textarea {
  width: 100%;
  border: 1.5px solid rgba(255,255,255,0.08);
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.04);
  color: var(--cream);
  font-family: var(--f-b);
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}
.fc-reco-input {
  height: 48px;
  padding: 0 14px;
  font-size: 1rem;
  margin-bottom: 10px;
  display: block;
}
.fc-reco-textarea {
  height: 96px;
  padding: 12px 14px;
  font-size: 0.9375rem;
  font-weight: 300;
  resize: none;
  margin-bottom: 12px;
  display: block;
  line-height: 1.6;
}
.fc-reco-input:focus,
.fc-reco-textarea:focus { border-color: var(--gold); }
.fc-reco-input::placeholder,
.fc-reco-textarea::placeholder { color: rgba(245,240,232,0.2); font-size: 0.875rem; }
.fc-btn-reco-send {
  width: 100%;
  height: 48px;
  background: var(--gold);
  color: var(--ink);
  border-radius: var(--r-md);
  font-family: var(--f-b);
  font-size: 0.9375rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.fc-btn-reco-send:hover { background: var(--gold-d); }
.fc-reco-success {
  display: none;
  padding: 20px 0 8px;
  font-size: 0.9375rem;
  color: var(--gold-l);
  font-weight: 300;
  line-height: 1.6;
}
.fc-reco-capture.is-sent .fc-reco-form-els { display: none; }
.fc-reco-capture.is-sent .fc-reco-success { display: block; }

/* Reset */
.fc-btn-reset {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  height: 44px;
  border: none;
  background: none;
  color: rgba(245,240,232,0.25);
  font-family: var(--f-b);
  font-size: 0.875rem;
  cursor: pointer;
  transition: color 0.2s;
  margin-top: 4px;
}
.fc-btn-reset:hover { color: rgba(245,240,232,0.55); }

/* ── 09. CONTENT SECTIONS ───────────────────────────────────── */
#fc-learn {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(80px, 12vw, 128px) var(--pg);
}
.fc-learn-grid {
  display: flex;
  flex-direction: column;
  gap: 80px;
}
.fc-content-kicker {
  font-family: var(--f-m);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.fc-content-h2 {
  font-family: var(--f-d);
  font-size: clamp(1.625rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 20px;
}
.fc-content-h2 em { font-style: italic; font-weight: 400; color: var(--gold-d); }
.fc-content-h3 {
  font-family: var(--f-d);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
  margin-top: 32px;
}
.fc-content-p {
  font-size: 1rem;
  font-weight: 300;
  color: var(--ink-2);
  line-height: 1.82;
  margin-bottom: 16px;
}
.fc-content-p strong { font-weight: 600; color: var(--ink); }
.fc-content-p a { color: var(--gold-d); text-decoration: underline; text-underline-offset: 3px; }

/* Tool callout */
.fc-tool-callout {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--gold-f);
  border: 1px solid var(--gold-ll);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  margin: 28px 0;
}
.fc-tool-callout-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: var(--r-sm);
  background: var(--gold-ll);
  display: flex;
  align-items: center;
  justify-content: center;
}
.fc-tool-callout-text {
  font-size: 0.9375rem;
  color: var(--ink-2);
  font-weight: 300;
  line-height: 1.65;
}
.fc-tool-callout-text a { color: var(--gold-d); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }

/* Shapes grid */
.fc-shapes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(196px, 1fr));
  gap: 12px;
  margin: 24px 0;
}
.fc-shape-card {
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
}
.fc-shape-card-name {
  font-family: var(--f-d);
  font-size: 1.125rem;
  font-weight: 600;
  font-style: italic;
  color: var(--ink);
  margin-bottom: 5px;
}
.fc-shape-card-ratio {
  font-family: var(--f-m);
  font-size: 0.625rem;
  letter-spacing: 0.06em;
  color: var(--gold-d);
  margin-bottom: 8px;
}
.fc-shape-card-desc {
  font-size: 0.875rem;
  color: var(--ink-3);
  font-weight: 300;
  line-height: 1.62;
}

/* Measure steps */
.fc-measure-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 24px 0;
}
.fc-measure-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.fc-step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gold-f);
  border: 1.5px solid var(--gold-ll);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-m);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--gold-d);
  flex-shrink: 0;
  margin-top: 2px;
}
.fc-step-title {
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 4px;
}
.fc-step-desc {
  font-size: 0.9375rem;
  color: var(--ink-3);
  font-weight: 300;
  line-height: 1.68;
}
.fc-step-sci {
  font-family: var(--f-m);
  font-size: 0.5625rem;
  letter-spacing: 0.06em;
  color: var(--gold-d);
  margin-top: 5px;
}

/* ── 10. FAQ ─────────────────────────────────────────────────── */
#fc-faq {
  background: var(--cream-2);
  padding: clamp(64px, 10vw, 112px) var(--pg);
}
.fc-faq-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.fc-faq-header {
  text-align: center;
  margin-bottom: 48px;
}
.fc-faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 820px;
  margin: 0 auto;
}
.fc-faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.fc-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  cursor: pointer;
  list-style: none;
  font-weight: 500;
  font-size: 1rem;
  color: var(--ink);
  line-height: 1.4;
  transition: background 0.2s;
}
.fc-faq-question::-webkit-details-marker { display: none; }
.fc-faq-question:hover { background: var(--cream); }
.fc-faq-icon {
  flex-shrink: 0;
  color: var(--gold);
  font-size: 1.375rem;
  font-weight: 300;
  line-height: 1;
  transition: transform 0.25s;
}
.fc-faq-item[open] .fc-faq-icon { transform: rotate(45deg); }
.fc-faq-answer {
  padding: 0 22px 20px;
  font-size: 0.9375rem;
  color: var(--ink-3);
  font-weight: 300;
  line-height: 1.78;
}
.fc-faq-answer p + p { margin-top: 12px; }

/* ── 11. SHARE MODAL ────────────────────────────────────────── */
#fc-share-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26,22,18,0.72);
  z-index: 9500;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
#fc-share-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}
.fc-share-sheet {
  width: 100%;
  max-width: 520px;
  background: var(--surface);
  border-radius: var(--r-2xl) var(--r-2xl) 0 0;
  padding: 28px 24px;
  padding-bottom: max(28px, env(safe-area-inset-bottom, 28px));
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
#fc-share-overlay.is-open .fc-share-sheet { transform: translateY(0); }
.fc-share-pill {
  width: 36px;
  height: 4px;
  background: var(--cream-2);
  border-radius: 2px;
  margin: 0 auto 24px;
}
.fc-share-title {
  font-family: var(--f-d);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 5px;
}
.fc-share-sub {
  font-size: 0.875rem;
  color: var(--ink-3);
  font-weight: 300;
  margin-bottom: 18px;
}
.fc-share-preview {
  background: var(--gold-f);
  border: 1px solid var(--gold-ll);
  border-radius: var(--r-md);
  padding: 14px 16px;
  font-size: 0.875rem;
  color: var(--ink-2);
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 18px;
}
.fc-share-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 10px;
}
.fc-share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  border-radius: var(--r-md);
  font-family: var(--f-b);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}
.fc-share-btn:hover { transform: translateY(-1px); filter: brightness(1.07); }
.fc-share-x   { background: #000;     color: #fff; }
.fc-share-fb  { background: #1877F2;  color: #fff; }
.fc-share-wa  { background: #25D366;  color: #fff; }
.fc-share-pin { background: #E60023;  color: #fff; }
.fc-share-copy {
  grid-column: 1 / -1;
  background: var(--cream);
  color: var(--ink);
  border: 1.5px solid var(--border);
}
.fc-share-copy.is-copied {
  background: var(--ok-bg);
  color: var(--ok);
  border-color: var(--ok);
}
.fc-share-close {
  width: 100%;
  height: 44px;
  background: none;
  border: none;
  color: var(--ink-3);
  font-family: var(--f-b);
  font-size: 0.875rem;
  cursor: pointer;
  transition: color 0.2s;
}
.fc-share-close:hover { color: var(--ink); }

/* ── 12. FOOTER ─────────────────────────────────────────────── */
#fc-footer { background: var(--ink); }

.fc-trust-strip {
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 20px var(--pg);
}
.fc-trust-strip-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}
.fc-trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
}
.fc-trust-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
.fc-trust-text {
  font-family: var(--f-m);
  font-size: 0.6875rem;
  letter-spacing: 0.05em;
  color: rgba(245,240,232,0.3);
  white-space: nowrap;
}

.fc-footer-main {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 60px var(--pg) 44px;
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px;
}
.fc-footer-logo {
  display: inline-flex;
  align-items: baseline;
  margin-bottom: 12px;
  text-decoration: none;
}
.fc-footer-logo .fc-logo-face { font-size: 1.375rem; }
.fc-footer-logo .fc-logo-rest { color: rgba(245,240,232,0.45); }
.fc-footer-brand-desc {
  font-size: 0.875rem;
  color: rgba(245,240,232,0.32);
  font-weight: 300;
  line-height: 1.78;
  max-width: 270px;
  margin-bottom: 18px;
}
.fc-footer-rating {
  font-family: var(--f-m);
  font-size: 0.625rem;
  letter-spacing: 0.06em;
  color: rgba(245,240,232,0.22);
}
.fc-footer-rating strong { color: var(--gold); }
.fc-footer-col-title {
  font-family: var(--f-m);
  font-size: 0.5625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.3);
  margin-bottom: 16px;
}
.fc-footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.fc-footer-links a {
  font-size: 0.875rem;
  color: rgba(245,240,232,0.45);
  font-weight: 300;
  transition: color 0.2s;
  text-decoration: none;
}
.fc-footer-links a:hover { color: rgba(245,240,232,0.82); }

.fc-footer-legal {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 18px var(--pg);
  padding-bottom: max(18px, env(safe-area-inset-bottom, 18px));
}
.fc-footer-legal-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.fc-footer-legal-copy {
  font-family: var(--f-m);
  font-size: 0.5625rem;
  letter-spacing: 0.05em;
  color: rgba(245,240,232,0.18);
}
.fc-footer-legal-links {
  display: flex;
  gap: 18px;
  list-style: none;
}
.fc-footer-legal-links a {
  font-family: var(--f-m);
  font-size: 0.5625rem;
  letter-spacing: 0.05em;
  color: rgba(245,240,232,0.18);
  text-decoration: none;
  transition: color 0.2s;
}
.fc-footer-legal-links a:hover { color: rgba(245,240,232,0.48); }

/* ── 13. BACK TO TOP ────────────────────────────────────────── */
#fc-back-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
  border: 1px solid rgba(255,255,255,0.1);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 500;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.3s, transform 0.3s;
  box-shadow: var(--sh-md);
}
#fc-back-top.is-visible {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
#fc-back-top:hover { background: var(--ink-2); transform: translateY(-2px); }

/* ── 14. UTILITY ────────────────────────────────────────────── */
.fc-sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
.fc-overflow-x {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* ── 15. RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .fc-nav-links,
  .fc-nav-cta { display: none; }
  .fc-hamburger { display: flex; }

  .fc-footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .fc-footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .fc-hero-trust-item:nth-child(n+4) { display: none; }

  .fc-calc-fields { grid-template-columns: 1fr; }

  .fc-results-header { flex-direction: column; }
  .fc-result-metrics {
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
  }
  .fc-metric-box { flex: 1; min-width: 140px; }

  .fc-ratios-grid { grid-template-columns: 1fr 1fr; }
  .fc-shapes-grid { grid-template-columns: 1fr 1fr; }

  .fc-footer-main { grid-template-columns: 1fr; gap: 28px; }
  .fc-footer-brand { grid-column: 1; }
  .fc-trust-strip-inner { gap: 14px; }

  .fc-quick-result-btns { grid-template-columns: 1fr; }
  .fc-share-btns { grid-template-columns: 1fr; }
}

@media (max-width: 380px) {
  .fc-hero-h1 { font-size: 2.25rem; }
  .fc-btn-detect { padding: 0 28px; min-width: 220px; }
}

/* ─────────────────────────────────────────────────────────────
   SPECIFICITY FIX — Hello Elementor resets button backgrounds
   to transparent. These !important rules restore correct colors
   without changing any design or layout.
   ───────────────────────────────────────────────────────────── */
.fc-btn-start-camera          { background: var(--cta) !important; color: #fff !important; }
.fc-btn-start-camera:disabled { background: var(--cta) !important; opacity: 0.35; }

.fc-btn-analyze               { background: var(--gold) !important; color: var(--ink) !important; }
.fc-btn-calculate             { background: var(--ink)  !important; color: var(--cream) !important; }
.fc-btn-choose                { background: var(--ink)  !important; color: var(--cream) !important; }
.fc-btn-view-guide            { background: var(--cta)  !important; color: #fff !important; }
.fc-btn-full-guide            { background: var(--gold) !important; color: var(--ink) !important; }
.fc-btn-reco-send             { background: var(--gold) !important; color: var(--ink) !important; }
.fc-drawer-cta                { background: var(--cta)  !important; color: #fff !important; }
.fc-btn-detect                { background: var(--cta)  !important; color: #fff !important; }

.fc-btn-share-cam             { background: transparent !important; color: rgba(255,255,255,0.75) !important; }
.fc-btn-share-results         { background: rgba(255,255,255,0.05) !important; color: rgba(245,240,232,0.65) !important; }
.fc-btn-reset                 { background: none !important; }

/* ── 16. OVAL GUIDE & POLAROID ADDITIONS ────────────────────── */

#fc-oval-guide {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 12;
  display: flex;
  align-items: center;
  justify-content: center;
}
#fc-oval-guide svg { width: min(75vw, 340px); height: auto; }
.fc-oval-path {
  fill: none;
  stroke: rgba(255,255,255,0.55);
  stroke-width: 2;
  stroke-dasharray: 8 6;
  transition: stroke 0.4s ease, stroke-dasharray 0.4s ease, filter 0.4s ease;
}
.fc-oval-path.is-locked {
  stroke: #4ADE80;
  stroke-dasharray: none;
  filter: drop-shadow(0 0 8px rgba(74,222,128,0.6));
}

.fc-cam-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 58% 68% at 50% 46%, transparent 60%, rgba(0,0,0,0.42) 100%);
  pointer-events: none;
  z-index: 11;
}

/* Polaroid result screen */
#fc-polaroid-screen {
  position: absolute;
  inset: 0;
  z-index: 26;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  padding: 28px 24px;
  padding-top: max(40px, env(safe-area-inset-top, 40px));
  padding-bottom: max(40px, env(safe-area-inset-bottom, 40px));
  overflow-y: auto;
}
#fc-polaroid-screen.is-active { display: flex; }

.fc-polaroid-card {
  width: min(300px, 82vw);
  background: #fff;
  border-radius: 4px;
  padding: 16px 16px 28px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  margin-bottom: 32px;
  flex-shrink: 0;
}
.fc-polaroid-photo {
  width: 100%;
  aspect-ratio: 4/5;
  background: var(--ink);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 14px;
  position: relative;
}
.fc-polaroid-photo canvas { width: 100%; height: 100%; object-fit: cover; display: block; }
.fc-polaroid-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 55%);
}
.fc-polaroid-shape-name-overlay {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  font-family: var(--f-d);
  font-size: 1.75rem;
  font-weight: 700;
  font-style: italic;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1;
}
.fc-polaroid-shape-label {
  font-family: var(--f-d);
  font-size: 1.75rem;
  font-weight: 700;
  font-style: italic;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 4px;
}
.fc-polaroid-conf {
  font-family: var(--f-m);
  font-size: 0.6875rem;
  color: var(--ink-3);
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.fc-polaroid-brand {
  font-family: var(--f-m);
  font-size: 0.5625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-4);
}
.fc-polaroid-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: min(300px, 82vw);
}
.fc-btn-polaroid-share {
  height: 50px;
  border: 1.5px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.82) !important;
  border-radius: var(--r-md);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: rgba(255,255,255,0.06) !important;
  font-family: var(--f-b);
  transition: all 0.2s;
}
.fc-btn-polaroid-analysis {
  height: 50px;
  background: var(--cta) !important;
  color: #fff !important;
  border-radius: var(--r-md);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: none;
  font-family: var(--f-b);
  transition: background 0.2s;
}
.fc-btn-polaroid-redo {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: none !important;
  border: none;
  color: rgba(245,240,232,0.28);
  font-family: var(--f-b);
  font-size: 0.8125rem;
  cursor: pointer;
  transition: color 0.2s;
  flex-shrink: 0;
}

/* ── 17. GOLDEN RATIO BAR & CARD CANVAS FIXES ───────────────── */

/* Golden ratio alignment bar (same style as confidence) */
.fc-gr-block {
  margin-bottom: 44px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.fc-gr-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dd), var(--gold-l));
  border-radius: 2px;
  width: 0%;
  transition: width 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Polaroid canvas: fills the card, no aspect-ratio constraint needed
   since JS sets width/height explicitly */
#fc-polaroid-canvas {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 3px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.35);
}

/* Polaroid card: clean white frame around canvas */
.fc-polaroid-card {
  width: min(300px, 84vw);
  background: #fff;
  border-radius: 4px;
  padding: 12px 12px 24px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.55), 0 4px 12px rgba(0,0,0,0.3);
  margin-bottom: 28px;
  flex-shrink: 0;
}

/* Share button - make it feel native and premium */
.fc-btn-polaroid-share {
  height: 52px !important;
  border: 1.5px solid rgba(255,255,255,0.2) !important;
  border-radius: var(--r-lg) !important;
  font-size: 0.9375rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em;
  transition: all 0.2s !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.fc-btn-polaroid-share:active { transform: scale(0.97); }

.fc-btn-polaroid-analysis {
  height: 52px !important;
  font-size: 0.9375rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em;
  transition: all 0.2s !important;
}
.fc-btn-polaroid-analysis:active { transform: scale(0.97); }

/* Polaroid screen: ensure it fills full overlay space */
#fc-polaroid-screen {
  gap: 0 !important;
}
