/* ══════════════════════════════════════════
   Mosaik — Cinematic Dark Theme
   Fonts: Cormorant Garamond + Outfit
══════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* ══════════════════════════════════════════
   NUCLEAR THEME RESET
   Applied only on .sf-body / .msk-page so
   we don't break the WP admin.
══════════════════════════════════════════ */
body.sf-body,
body.msk-page {
    margin: 0 !important;
    padding: 0 !important;
    background: #0A0A0A !important;
    color: #d4c8b8 !important;
    font-family: 'Outfit', sans-serif !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    overflow-x: hidden !important;
    min-height: 100vh !important;
    /* Kill theme backgrounds */
    background-image: none !important;
}

/* Kill every theme wrapper that could add chrome */
body.sf-body .site-header,
body.sf-body #masthead,
body.sf-body .site-footer,
body.sf-body #colophon,
body.sf-body .site-branding,
body.sf-body .main-navigation,
body.sf-body .wp-block-template-part,
body.sf-body header.site-header,
body.sf-body footer.site-footer,
body.sf-body .entry-header,
body.sf-body .entry-footer,
body.sf-body .post-navigation,
body.sf-body .comments-area,
body.sf-body #secondary,
body.sf-body .widget-area,
body.msk-page .site-header,
body.msk-page #masthead,
body.msk-page .site-footer,
body.msk-page #colophon,
body.msk-page .main-navigation,
body.msk-page .wp-block-template-part,
body.msk-page header[class*="site"],
body.msk-page footer[class*="site"],
body.msk-page .navigation,
body.msk-page #secondary {
    display: none !important;
}

/* Kill theme-injected padding/margin on page wrappers */
body.sf-body #page,
body.sf-body .site,
body.sf-body #content,
body.sf-body .site-content,
body.sf-body .content-area,
body.sf-body #primary,
body.msk-page #page,
body.msk-page .site,
body.msk-page #content,
body.msk-page .content-area,
body.msk-page #primary {
    padding: 0 !important;
    margin: 0 !important;
    max-width: none !important;
    float: none !important;
    width: 100% !important;
    background: transparent !important;
}

/* Ensure our main is always true black, full width */
body.sf-body #sf-main,
body.msk-page #sf-main {
    background: #0A0A0A !important;
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-bottom: 0 !important;
    /* padding-top is intentionally NOT forced to 0 here so .sf-main-inner can clear the fixed nav */
    width: 100% !important;
    max-width: none !important;
    min-height: 80vh;
}

/* Reset link colours across the board on our pages */
body.sf-body a,
body.msk-page a {
    color: inherit;
    text-decoration: none;
}

/* Reset headings */
body.sf-body h1, body.sf-body h2, body.sf-body h3,
body.sf-body h4, body.sf-body h5, body.sf-body h6,
body.msk-page h1, body.msk-page h2, body.msk-page h3,
body.msk-page h4, body.msk-page h5, body.msk-page h6 {
    font-family: 'Outfit', sans-serif;
    color: #F1E8DA;
    margin: 0;
    padding: 0;
}

/* Reset p margin */
body.sf-body p, body.msk-page p { margin: 0; }

/* Reset button */
body.sf-body button, body.msk-page button {
    font-family: 'Outfit', sans-serif;
    cursor: pointer;
}

/* Reset img */
body.sf-body img, body.msk-page img { max-width: 100%; height: auto; display: block; }

/* Reset input/select/textarea */
body.sf-body input, body.sf-body select, body.sf-body textarea,
body.msk-page input, body.msk-page select, body.msk-page textarea {
    font-family: 'Outfit', sans-serif;
    box-sizing: border-box;
}

/* *, box-sizing */
body.sf-body *, body.msk-page * { box-sizing: border-box; }

/* Hide WordPress admin bar spacing on our pages */
body.sf-body.admin-bar #sf-nav,
body.msk-page.admin-bar #sf-nav {
    top: 32px !important;
}
@media screen and (max-width: 782px) {
    body.sf-body.admin-bar #sf-nav,
    body.msk-page.admin-bar #sf-nav {
        top: 46px !important;
    }
}

/* ══ sf-main wrapper: no padding on home, standard on inner pages ══ */
.sf-main-inner > .entry-content,
.sf-main-inner > .wp-block-post-content {
    padding: 0 !important; margin: 0 !important;
    max-width: none !important;
}



/* ── Variables ── */
:root {
  /* ── Mosaik Brand Palette — Design System v2 ── */
  /* Core brand — exact spec values */
  --gold:      #D9A441;   /* Gold Accent — primary CTA, highlights   */
  --gold2:     #e8b655;   /* Gold hover / lighter                     */
  --gold3:     #f0c96a;   /* Gold brightest / glow                    */
  --orange:    #C85A24;   /* Burnt Orange — awards, badges, alerts    */
  --orange2:   #d96830;   /* Burnt Orange hover                       */
  --teal:      #2D6E73;   /* Deep Teal — secondary accent, creators   */
  --teal2:     #3d8a90;   /* Teal lighter                             */
  /* Surfaces */
  --black:     #0A0A0A;   /* True black background                    */
  --dark:      #111111;   /* Secondary surface (cards, sections)      */
  --card:      #141414;   /* Card / input background                  */
  --card2:     #1E1E1E;   /* Elevated card                            */
  --card3:     #262626;   /* Hover surface                            */
  /* Typography */
  --cream:     #F1E8DA;   /* Ivory — primary text on dark             */
  --text:      #F1E8DA;   /* Body text (ivory)                        */
  --muted:     #888888;   /* Muted / secondary text                   */
  --sub:       #888888;   /* Alias for muted                          */
  /* Borders */
  --border:    rgba(255,255,255,0.08);   /* Subtle border              */
  --border2:   rgba(217,164,65,0.18);    /* Gold-tinted border         */
  /* Semantic aliases */
  --rust:      #C85A24;
  --rust2:     #d96830;
  --sand:      #D9A441;
  /* Layout */
  --radius:    6px;
  --ease:      cubic-bezier(.4,0,.2,1);
  --bg:        #0A0A0A;
  /* Derived */
  --gold-lt:   var(--gold2);
}

/* ── Base reset ── */
.sf-body { margin:0; padding:0; background:var(--black); color:var(--cream); font-family:'Outfit',sans-serif; min-height:100vh; }
.sf-body *, .sf-body *::before, .sf-body *::after { box-sizing:border-box; }
.sf-body a { color:var(--gold); text-decoration:none; }
.sf-body a:hover { color:var(--gold-lt); }
.sf-body img { max-width:100%; }
.sf-body h1,.sf-body h2,.sf-body h3 { margin:0; font-family:'Cormorant Garamond',serif; line-height:1.15; color:var(--cream); }
.sf-body p { margin:0; }

/* ── Layout ── */
.sf-main { min-height:80vh; }
.sf-main-home { padding-top:0; }       /* hero is full-bleed, nav overlays */
.sf-main-inner { padding-top:104px; }   /* inner pages clear the fixed nav (nav is 96px tall) */
.sf-container { max-width:1220px; margin:0 auto; padding:0 32px; }
/* Admin bar offset */
html.admin-bar .sf-nav { top:32px; }
@media screen and (max-width:782px) { html.admin-bar .sf-nav { top:46px; } }
.sf-page-wrap { padding-bottom:80px; }

/* ══ NAV ══════════════════════════════════ */
.sf-nav {
  position:fixed; top:0; left:0; right:0; z-index:1000;
  background:transparent;
  border-bottom:1px solid transparent;
  transition:background .3s var(--ease), border-color .3s;
}
.sf-nav.sf-nav-scrolled {
  background:rgba(10,10,10,0.96);
  backdrop-filter:blur(20px);
  -webkit-backdrop-filter:blur(20px);
  border-bottom-color:rgba(241,232,218,0.1);
}
/* On inner (non-hero) pages keep solid immediately */
.sf-main-inner ~ * .sf-nav,
body:not(.msk-home-page) .sf-nav {
  background:rgba(10,10,10,0.96);
  border-bottom-color:rgba(241,232,218,0.1);
}
/* Subtle gradient so nav links stay readable over hero image */
.sf-nav::before {
  content:'';
  position:absolute; inset:0;
  background:linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, transparent 100%);
  pointer-events:none; z-index:-1;
  transition:opacity .3s;
}
.sf-nav.sf-nav-scrolled::before { opacity:0; }
.sf-nav-inner {
  max-width:1220px; margin:0 auto; padding:0 48px;
  height:96px; display:flex; align-items:center; gap:32px;
}
.sf-logo {
  display:flex; align-items:center;
  text-decoration:none !important;
  flex-shrink:0;
}
.sf-logo span { display:none; }
.sf-logo-img {
  height:84px !important;
  width:auto !important;
  max-width:none !important;
  object-fit:contain;
  display:block !important;
  transition:opacity .2s, transform .2s;
}
.sf-logo:hover .sf-logo-img { opacity:.85; transform:scale(1.01); }
/* Hard cap: no img inside the nav can ever exceed logo height,
   regardless of what theme CSS does with global img resets.
   (Icon-button svgs and avatars set their own explicit sizes and
   are excluded so this cap only ever governs the wordmark.) */
#sf-nav img.sf-logo-img, .sf-nav img.sf-logo-img {
  height: 84px !important;
  width: auto !important;
  max-width: none !important;
  display: block !important;
}
@media screen and (max-width:640px) {
  .sf-nav-inner { height:76px; }
  .sf-logo-img, #sf-nav img.sf-logo-img, .sf-nav img.sf-logo-img { height:60px !important; }
}
.sf-nav-links { display:flex; align-items:center; gap:2px; flex:1; }
.sf-nav-link {
  padding:7px 13px; border-radius:6px;
  font-size:0.875rem; font-weight:500; color:rgba(241,232,218,0.55);
  transition:color .2s, background .2s;
  letter-spacing:.01em;
}
.sf-nav-link:hover { color:#F1E8DA; background:rgba(241,232,218,0.05); }
.sf-nav-link.active { color:#F1E8DA; background:rgba(241,232,218,0.06); }
.sf-nav-right { display:flex; align-items:center; gap:10px; margin-left:auto; }

/* ══ NAV SEARCH ══════════════════════════════════ */
.sf-nav-search { position:relative; display:flex; align-items:center; }
.sf-nav-search-toggle {
  background:none; border:none; color:#fff; cursor:pointer;
  width:36px; height:36px; display:flex; align-items:center; justify-content:center;
  border-radius:50%; flex-shrink:0; transition:background .2s;
}
.sf-nav-search-toggle:hover { background:rgba(255,255,255,.08); }
.sf-nav-search-toggle svg { width:19px; height:19px; }
.sf-nav-search-form {
  position:absolute; right:0; top:50%; transform:translateY(-50%);
  display:flex; align-items:center;
  width:0; overflow:hidden; opacity:0; pointer-events:none;
  background:#151310; border:1px solid rgba(255,255,255,.12); border-radius:22px;
  transition:width .25s var(--ease,ease), opacity .2s;
}
.sf-nav-search-open .sf-nav-search-form {
  width:min(340px,60vw); opacity:1; pointer-events:auto;
}
.sf-nav-search-open .sf-nav-search-toggle { background:rgba(255,255,255,.08); }
.sf-nav-search-form input {
  flex:1; background:transparent; border:none; outline:none;
  color:#fff; font-size:.875rem; padding:9px 6px 9px 16px; min-width:0;
}
.sf-nav-search-form input::placeholder { color:rgba(255,255,255,.4); }
.sf-nav-search-close {
  background:none; border:none; color:rgba(255,255,255,.5); cursor:pointer;
  font-size:1.1rem; line-height:1; padding:0 12px; flex-shrink:0;
}
.sf-nav-search-close:hover { color:#fff; }
.sf-nav-search-dropdown {
  position:absolute; top:calc(100% + 8px); right:0; width:min(360px,88vw);
  background:#151310; border:1px solid rgba(255,255,255,.1); border-radius:12px;
  box-shadow:0 12px 32px rgba(0,0,0,.5);
  max-height:70vh; overflow-y:auto; display:none;
}
/* Scope chips show as soon as the search is opened, so the person can
   pick "Filmmakers" before typing anything; the results list itself
   only appears once there's a query with matches. */
.sf-nav-search-open .sf-nav-search-dropdown,
.sf-nav-search-dropdown.sf-nav-search-has-results { display:block; }
.sf-nav-search-scopes {
  display:flex; gap:6px; padding:10px 10px 8px; border-bottom:1px solid rgba(255,255,255,.08);
}
.sf-nav-search-scope {
  background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.1); color:rgba(255,255,255,.65);
  font-size:.72rem; font-weight:600; padding:5px 12px; border-radius:20px; cursor:pointer;
  transition:background .2s, color .2s, border-color .2s;
}
.sf-nav-search-scope:hover { color:#fff; border-color:rgba(255,255,255,.25); }
.sf-nav-search-scope.active { background:var(--gold); border-color:var(--gold); color:#0A0A0A; }
.sf-nav-search-group-label {
  font-size:.68rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase;
  color:rgba(255,255,255,.4); padding:12px 14px 4px;
}
.sf-nav-search-item {
  display:flex; align-items:center; gap:10px; padding:8px 14px;
  text-decoration:none; color:#fff;
}
.sf-nav-search-item:hover { background:rgba(255,255,255,.06); }
.sf-nav-search-item img {
  width:36px; height:48px; object-fit:cover; border-radius:4px; flex-shrink:0; background:#000;
}
.sf-nav-search-item img.sf-nav-search-item-avatar { height:36px; border-radius:50%; }
.sf-nav-search-item-noposter {
  width:36px; height:48px; border-radius:4px; background:rgba(255,255,255,.08);
  display:flex; align-items:center; justify-content:center; font-size:.9rem; flex-shrink:0;
}
.sf-nav-search-item-info { display:flex; flex-direction:column; min-width:0; }
.sf-nav-search-item-info strong { font-size:.85rem; font-weight:600; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.sf-nav-search-item-meta { font-size:.72rem; color:rgba(255,255,255,.45); }
.sf-nav-search-empty { padding:16px 14px; font-size:.82rem; color:rgba(255,255,255,.5); }
.sf-nav-search-seeall {
  display:block; text-align:center; padding:12px 14px; margin-top:4px;
  font-size:.8rem; font-weight:600; color:var(--gold); text-decoration:none;
  border-top:1px solid rgba(255,255,255,.08);
}
.sf-nav-search-seeall:hover { background:rgba(255,255,255,.05); }
.sf-nav-search-genres { display:flex; flex-wrap:wrap; gap:6px; padding:12px 14px 4px; }
.sf-nav-search-genre-chip {
  display:inline-flex; align-items:center; gap:4px; background:rgba(217,164,65,.1);
  border:1px solid rgba(217,164,65,.3); color:var(--gold); font-size:.75rem; font-weight:600;
  padding:4px 10px; border-radius:14px; text-decoration:none; transition:background .2s;
}
.sf-nav-search-genre-chip:hover { background:rgba(217,164,65,.2); }
.sf-nav-search-genre-chip span { color:rgba(217,164,65,.7); font-weight:400; }
.sf-nav-search-verified { color:var(--gold); font-size:.75rem; }
@media screen and (max-width:640px) {
  .sf-nav-search-open .sf-nav-search-form { width:min(260px,72vw); }
  .sf-nav-search.sf-nav-search-open ~ * { display:none; }
}

/* ══ SEARCH RESULTS PAGE: All / Films / Filmmakers scope tabs ══ */
.sf-scope-tabs { display:flex; gap:8px; margin:0 0 22px; }
.sf-scope-tab {
  font-size:.8rem; font-weight:600; color:rgba(255,255,255,.6);
  background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.1);
  border-radius:20px; padding:6px 16px; text-decoration:none !important;
  transition:background .2s, color .2s, border-color .2s;
}
.sf-scope-tab:hover { color:#fff; border-color:rgba(255,255,255,.25); }
.sf-scope-tab.on { background:var(--gold); border-color:var(--gold); color:#0A0A0A; }

/* ══ SEARCH RESULTS PAGE: matching filmmakers row ══════════════ */
.sf-search-creators { margin:0 0 28px; }
.sf-search-creators-title { font-size:.9rem; font-weight:700; color:rgba(255,255,255,.6); margin:0 0 12px; }
.sf-search-creators-empty { font-size:.85rem; color:rgba(255,255,255,.5); }
.sf-search-creators-row { display:flex; gap:12px; overflow-x:auto; padding-bottom:4px; }
.sf-search-creators-row-grid { flex-wrap:wrap; overflow-x:visible; }
.sf-search-creator-chip {
  display:flex; align-items:center; gap:10px; flex-shrink:0;
  background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.08);
  border-radius:30px; padding:6px 16px 6px 6px; text-decoration:none; color:#fff;
  transition:background .2s;
}
.sf-search-creator-chip:hover { background:rgba(255,255,255,.1); }
.sf-search-creator-chip img { width:32px; height:32px; border-radius:50%; object-fit:cover; }
.sf-search-creator-fallback {
  width:32px; height:32px; border-radius:50%; background:linear-gradient(135deg,var(--gold),var(--teal));
  color:#0A0A0A; font-weight:700; font-size:.85rem; display:flex; align-items:center; justify-content:center;
}
.sf-search-creator-name { font-size:.85rem; font-weight:600; }
.sf-search-creator-count { font-size:.72rem; color:rgba(255,255,255,.45); margin-left:2px; }

.sf-nav-premium-badge {
  font-size:0.72rem; font-weight:700; letter-spacing:.05em;
  background:rgba(217,164,65,.12); color:var(--gold);
  border:1px solid rgba(217,164,65,.3); border-radius:20px;
  padding:3px 10px;
}
.sf-nav-badges { display:flex; align-items:center; gap:8px; }
/* Icon-style status badges (Premium / Supporter / Verified) — sized
   to match the 36px search-toggle, notification-bell and avatar
   circles so the whole nav-right icon row reads as one family. */
.sf-nav-icon-badge {
  width:36px; height:36px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-size:15px; line-height:1; flex-shrink:0; cursor:default;
  background:rgba(217,164,65,.1); border:1px solid rgba(217,164,65,.3);
  transition:transform .2s, box-shadow .2s;
}
.sf-nav-icon-badge:hover { transform:scale(1.06); }
.sf-nav-icon-badge-premium { color:var(--gold); }
.sf-nav-icon-badge-supporter { background:rgba(255,255,255,.06); border-color:rgba(255,255,255,.15); }
.sf-nav-icon-badge-verified { background:rgba(45,110,115,.15); border-color:rgba(45,110,115,.4); color:var(--teal); font-weight:700; }
.sf-nav-avatar {
  width:36px; height:36px; border-radius:50%;
  background:linear-gradient(135deg,var(--gold),var(--teal));
  color:#0A0A0A; font-weight:700; font-size:0.875rem;
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0; cursor:pointer;
  transition:transform .2s, box-shadow .2s;
}
.sf-nav-avatar:hover { transform:scale(1.06); box-shadow:0 0 0 2px rgba(217,164,65,.4); }
.sf-btn-nav {
  padding:7px 16px; border-radius:6px; font-size:0.8rem;
  font-weight:600; cursor:pointer; border:1px solid rgba(241,232,218,.15);
  color:#F1E8DA; background:transparent;
  font-family:'Outfit',sans-serif;
  transition:all .2s var(--ease);
}
.sf-btn-nav:hover { border-color:var(--gold); color:var(--gold); }
.sf-btn-nav-gold { background:var(--gold) !important; color:#0A0A0A !important; border-color:var(--gold) !important; }
.sf-btn-nav-gold:hover { background:var(--gold2) !important; border-color:var(--gold2) !important; transform:translateY(-1px); box-shadow:0 6px 20px rgba(217,164,65,.25); }
.sf-hamburger { display:none; flex-direction:column; gap:5px; background:none; border:none; cursor:pointer; padding:4px; }
.sf-hamburger span { display:block; width:22px; height:1.5px; background:#F1E8DA; border-radius:2px; transition:.2s; }


/* ══════════════════════════════════════════
   DESIGN SYSTEM v2 — Homepage-Driven Overrides
   Colour tokens: #0A0A0A · #F1E8DA · #C85A24 · #2D6E73 · #D9A441
══════════════════════════════════════════ */

/* ── Global surface tokens ── */
.sf-body { background: #0A0A0A !important; }

/* ── Shared page header (browse, submit, about) ── */
.sf-page-header {
  padding: 60px 0 40px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
}
.sf-page-header h1 {
  font-size: clamp(2rem,3.5vw,3.2rem);
  color: #fff; margin-bottom: 10px; font-weight: 600;
}
.sf-page-header p { color: var(--muted); font-size: 1rem; line-height: 1.65; }

/* ── Section heading accent rule ── */
.sf-sec-head { padding-bottom: 18px; border-bottom: 1px solid var(--border); margin-bottom: 28px; }
.sf-sec-head h2 { color: #F1E8DA; }

/* ── Film card — crisper on new palette ── */
.sf-card { background: var(--card); border-color: var(--border); }
.sf-card:hover { box-shadow: 0 16px 48px rgba(0,0,0,.8), 0 0 0 1px rgba(217,164,65,.22); }
.sf-card-title { color: #F1E8DA; }

/* ── Burnt orange award badges ── */
.sf-award {
  background: rgba(200,90,36,.1) !important;
  border: 1px solid rgba(200,90,36,.3) !important;
  color: #C85A24 !important;
}

/* ── BROWSE page toolbar ── */
.sf-browse-toolbar {
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.sf-type-tabs .sf-tab { border-color: var(--border); color: var(--muted); }
.sf-type-tabs .sf-tab.on,
.sf-type-tabs .sf-tab:hover { background: var(--gold); color: #0A0A0A; border-color: var(--gold); }

/* ── PREMIUM PAGE ── */
.sf-prem-hero { background: #0A0A0A; }
.sf-prem-hero-bg {
  background: radial-gradient(ellipse at 50% -20%, rgba(45,110,115,.18) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 100%, rgba(217,164,65,.08) 0%, transparent 50%) !important;
}
.sf-prem-hero h1 { color: #F1E8DA; }
.sf-orig-badge {
  background: rgba(217,164,65,.1) !important;
  border: 1px solid rgba(217,164,65,.3) !important;
  color: var(--gold) !important;
}
.sf-pricing-card {
  border: 1px solid rgba(217,164,65,.22) !important;
  background: var(--dark) !important;
  box-shadow: 0 0 80px rgba(45,110,115,.08) !important;
}
.sf-pricing-top {
  background: linear-gradient(160deg, #141a1a 0%, #0f0f0f 100%) !important;
  border-bottom: 1px solid var(--border) !important;
}
.sf-pricing-badge {
  background: var(--gold) !important;
  color: #0A0A0A !important;
}
.sf-price-big { color: var(--gold) !important; }
.sf-pay-secure { color: var(--muted); }

/* ── ABOUT PAGE ── */
.sf-about-hero { background: #0A0A0A; padding: 88px 0 64px; }
.sf-about-hero h1 { color: #F1E8DA; }
.sf-about-tagline { color: var(--gold) !important; }
.sf-about-block { background: var(--dark); border: 1px solid var(--border); }
.sf-about-block:hover { background: var(--card2) !important; border-color: var(--border2); }
.sf-about-block h3 { color: var(--teal2) !important; }

/* ── SUBMIT PAGE ── */
.sf-submit-guidelines ul li::before { color: var(--gold) !important; }
.sf-submit-contact { background: var(--dark) !important; border-color: var(--border) !important; }
.sf-form-field input:focus,
.sf-form-field textarea:focus,
.sf-form-field select:focus { border-color: var(--gold) !important; box-shadow: 0 0 0 3px rgba(217,164,65,.08); }

/* ── AUTH PAGES ── */
.sf-auth-page {
  background:
    radial-gradient(ellipse 70% 50% at 30% 0%, rgba(45,110,115,.1) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(200,90,36,.06) 0%, transparent 55%),
    #0A0A0A !important;
}
.sf-auth-box {
  background: rgba(14,14,14,.98) !important;
  border: 1px solid var(--border) !important;
  box-shadow: 0 32px 80px rgba(0,0,0,.7) !important;
}
.sf-auth-btn {
  background: var(--gold) !important;
  color: #0A0A0A !important;
}
.sf-auth-btn:hover {
  background: var(--gold2) !important;
  box-shadow: 0 8px 24px rgba(217,164,65,.3) !important;
}

/* ── VALUE PROPS section ── */
.sf-props { background: var(--dark) !important; }
.sf-prop { background: var(--card) !important; }
.sf-prop h3 { color: #F1E8DA !important; }
.sf-prop:hover { border-color: rgba(217,164,65,.2) !important; }

/* ── JOIN CTA ── */
.sf-join-cta {
  background: radial-gradient(ellipse at center, #121a1a 0%, #0A0A0A 70%) !important;
}
.sf-join-cta h2 { color: #F1E8DA; }
.sf-price-amount { color: var(--gold) !important; }

/* ── WAITLIST ── */
.sf-waitlist { background: var(--dark) !important; }
.sf-waitlist-row input:focus { border-color: var(--gold) !important; }

/* ── FILMMAKER DASHBOARD ── */
.sf-filmmaker-dash,
.sf-dash-wrap { background: #0A0A0A !important; }

/* ── NAV: slight teal shimmer on hover ── */
.sf-nav-link:hover,
.sf-nav-link.active { color: #F1E8DA !important; background: rgba(255,255,255,.05) !important; }

/* ── FOOTER: pure black base ── */
.sf-footer { background: #0A0A0A !important; border-top-color: var(--border) !important; }
.sf-footer-col a:hover { color: var(--gold) !important; }

/* ── GENRE CHIP on film pages ── */
.sf-chip { border-color: var(--border); color: var(--muted); }

/* ── BANNER film page: update overlay gradient ── */
.sf-banner-overlay {
  background: linear-gradient(
    to top,
    rgba(10,10,10,.98) 0%,
    rgba(10,10,10,.65) 40%,
    rgba(10,10,10,.1) 80%,
    transparent 100%
  ) !important;
}

/* ── Like / star widgets ── */
.sf-like-btn.sf-liked {
  color: #C85A24 !important;
  border-color: rgba(200,90,36,.4) !important;
  background: rgba(200,90,36,.08) !important;
}
.sf-film-like-count { color: #C85A24 !important; }
.sf-star.sf-star-on svg polygon { fill: var(--gold) !important; stroke: var(--gold) !important; }

/* ── Creator-specific teal accents ── */
.sf-anav-active { color: var(--gold) !important; background: rgba(217,164,65,.07) !important; }
.sf-anav-active em { color: var(--gold) !important; background: rgba(217,164,65,.15) !important; }

/* ══ HOMEPAGE SPEC HERO REFRESH ══
   Override the old brown hero tones to sit cleanly on #0A0A0A */
.sf-hero-genre { color: var(--gold) !important; }
.sf-hero-title { color: #F1E8DA !important; }
.sf-hero-desc { color: var(--muted) !important; }

/* content row gold label */
.sf-sec-head .sf-sub { color: var(--gold) !important; }
.sf-see-all { color: var(--gold) !important; }

/* section dark panels */
.sf-section-dark { background: var(--dark) !important; border-color: var(--border) !important; }

/* ══ ACCOUNT — avatar ring teal-gold gradient ══ */
.sf-acct-avatar-ring {
  background: linear-gradient(135deg, var(--gold), var(--teal)) !important;
}
.sf-acct-eyebrow { color: var(--gold) !important; }

/* ══ Film gate (premium lock wall) ══ */
.sf-gate-box h2 { color: #F1E8DA; }

/* ══ Collab section ══ */
.sf-collab-section {
  background: rgba(217,164,65,.02) !important;
  border-color: rgba(217,164,65,.14) !important;
}

/* ══ Payout section ══ */
.sf-payout-section .sf-form-field input:focus { border-color: var(--gold) !important; }

@import url('https://api.fontshare.com/v2/css?f[]=cabinet-grotesk@800,700,500,400&display=swap');
/* ══ END DESIGN SYSTEM v2 ══ */

.sf-btn {
  display:inline-flex; align-items:center; gap:8px;
  padding:10px 22px; border-radius:var(--radius);
  font-family:'Outfit',sans-serif; font-size:0.875rem;
  font-weight:600; cursor:pointer; border:none;
  text-decoration:none !important; transition:all .2s var(--ease);
  white-space:nowrap; letter-spacing:.02em;
}
.sf-btn svg { flex-shrink:0; fill:currentColor; stroke:none; }
.sf-btn-sm {
  padding:7px 14px; font-size:.78rem;
}
.sf-btn-gold {
  background:var(--gold); color:#0A0A0A !important;
}
.sf-btn-gold:hover {
  background:var(--gold2); transform:translateY(-2px);
  box-shadow:0 8px 28px rgba(217,164,65,.35);
  color:#0A0A0A !important;
}
.sf-btn-ghost {
  background:rgba(241,232,218,.08); color:#F1E8DA !important;
  border:1px solid rgba(241,232,218,.18);
}
.sf-btn-ghost:hover {
  background:rgba(241,232,218,.14); color:#F1E8DA !important;
  border-color:rgba(241,232,218,.3);
}
.sf-btn-outline {
  background:transparent; color:#F1E8DA !important;
  border:1px solid rgba(241,232,218,.2);
}
.sf-btn-outline:hover {
  border-color:var(--gold); color:var(--gold) !important;
  background:rgba(217,164,65,.06);
}
.sf-btn-teal {
  background:var(--teal); color:#F1E8DA !important; border:none;
}
.sf-btn-teal:hover {
  background:var(--teal2); transform:translateY(-1px);
  box-shadow:0 6px 20px rgba(45,110,115,.3);
}
.sf-btn-orange {
  background:var(--orange); color:#fff !important; border:none;
}
.sf-btn-orange:hover {
  background:var(--orange2); transform:translateY(-1px);
  box-shadow:0 6px 20px rgba(200,90,36,.3);
}
.sf-btn-large { padding:14px 32px; font-size:1rem; }


/* ══ HERO ══════════════════════════════════ */
.sf-hero {
  position:relative; min-height:88vh;
  display:flex; align-items:flex-end;
  overflow:hidden;
}
.sf-hero-bg {
  position:absolute; inset:0;
  background-size:cover; background-position:center 20%;
  transition:transform 8s ease;
}
.sf-hero:hover .sf-hero-bg { transform:scale(1.03); }
.sf-hero-overlay {
  position:absolute; inset:0;
  background:linear-gradient(
    to top,
    rgba(10,10,10,.98) 0%,
    rgba(10,10,10,.7)  40%,
    rgba(10,10,10,.15) 75%,
    rgba(10,10,10,.05) 100%
  );
}
.sf-hero-content {
  position:relative; z-index:2;
  max-width:660px; padding:0 0 80px 60px;
  animation:sfFadeUp .8s var(--ease) both;
}
.sf-hero-genre {
  font-size:.72rem; font-weight:700; letter-spacing:.14em;
  text-transform:uppercase; color:var(--gold); margin-bottom:12px;
}
.sf-hero-title {
  font-size:clamp(2.4rem,5.5vw,4.5rem);
  font-weight:700; color:#fff; margin-bottom:18px;
  line-height:1.08; letter-spacing:-.01em;
}
.sf-hero-desc { font-size:1rem; color:var(--sub); line-height:1.7; margin-bottom:28px; max-width:520px; }
.sf-hero-btns { display:flex; gap:14px; flex-wrap:wrap; }
.sf-hero-dots { position:absolute; bottom:28px; left:50%; transform:translateX(-50%); display:flex; gap:8px; z-index:2; }
.sf-dot { width:6px; height:6px; border-radius:3px; background:rgba(255,255,255,.3); transition:.3s; cursor:pointer; }
.sf-dot-active { width:24px; background:var(--gold); }

/* ══ VALUE PROPS ══════════════════════════ */
.sf-props { background:var(--dark); padding:80px 32px; border-top:1px solid var(--border); border-bottom:1px solid var(--border); }
.sf-props-inner { max-width:1220px; margin:0 auto; }
.sf-prop-head { text-align:center; margin-bottom:52px; }
.sf-prop-head h2 { font-size:clamp(1.8rem,3.5vw,2.6rem); color:#fff; margin-bottom:8px; }
.sf-prop-head p { font-size:.85rem; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--gold); }
.sf-props-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:2px; }
.sf-prop {
  padding:36px 32px; background:var(--card);
  border:1px solid var(--border); text-align:center;
  transition:border-color .3s; position:relative; overflow:hidden;
}
.sf-prop::before { content:''; position:absolute; inset:0; background:radial-gradient(ellipse at top,rgba(217,164,65,.05),transparent 70%); opacity:0; transition:.3s; }
.sf-prop:hover::before { opacity:1; }
.sf-prop:hover { border-color:rgba(217,164,65,.25); }
.sf-prop-icon { font-size:2.2rem; margin-bottom:16px; }
.sf-prop h3 { font-family:'Outfit',sans-serif; font-size:1rem; font-weight:700; color:#fff; margin-bottom:10px; letter-spacing:.02em; }
.sf-prop p { font-size:.875rem; color:var(--muted); line-height:1.65; }

/* ══ SECTIONS ══════════════════════════════ */
.sf-section { padding:64px 0; }
.sf-section-dark { background:var(--dark); border-top:1px solid var(--border); border-bottom:1px solid var(--border); }
.sf-sec-head { display:flex; align-items:baseline; justify-content:space-between; margin-bottom:24px; }
.sf-sec-head h2 { font-size:clamp(1.4rem,2.5vw,2rem); color:#fff; }
.sf-sec-head .sf-sub { font-size:.8rem; color:var(--gold); font-weight:700; text-transform:uppercase; letter-spacing:.08em; margin-top:4px; }
.sf-see-all { font-size:.78rem; font-weight:700; letter-spacing:.05em; text-transform:uppercase; color:var(--gold); }
.sf-see-all:hover { color:var(--gold-lt); }

/* ══ FILM ROW (horizontal scroll) ══ */
.sf-film-row { display:flex; gap:14px; overflow-x:auto; padding-bottom:10px; cursor:grab; }
.sf-film-row:active { cursor:grabbing; }
.sf-film-row::-webkit-scrollbar { height:3px; }
.sf-film-row::-webkit-scrollbar-track { background:transparent; }
.sf-film-row::-webkit-scrollbar-thumb { background:var(--border); border-radius:2px; }

/* ══ FILM GRID ══ */
.sf-film-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(210px,1fr)); gap:16px; }
.sf-film-grid-lg { grid-template-columns:repeat(auto-fill,minmax(240px,1fr)); }

/* ══ FILM CARD ══ */
.sf-card {
  display:flex; flex-direction:column; border-radius:var(--radius);
  overflow:visible; /* allow popup to overflow */ background:var(--card);
  flex-shrink:0; cursor:pointer;
  transition:transform .25s var(--ease), box-shadow .25s var(--ease);
  border:1px solid var(--border);
  position: relative;
}
.sf-card-inner {
  display:flex; flex-direction:column; text-decoration:none !important;
  color:inherit; border-radius:var(--radius); overflow:hidden;
}
.sf-card:hover { transform:translateY(-5px); box-shadow:0 16px 40px rgba(0,0,0,.7), 0 0 0 1px rgba(217,164,65,.2); }
.sf-card-sm { width:185px; }
.sf-card-lg { width:100%; }

.sf-card-img {
  position:relative; width:100%; aspect-ratio:16/9;
  background-size:cover; background-position:center;
  background-color:#1a1916;
  overflow:hidden;
}
.sf-card-img::after { content:''; position:absolute; inset:0; background:linear-gradient(to top,rgba(0,0,0,.5) 0%,transparent 60%); opacity:.6; transition:.25s; }
.sf-card:hover .sf-card-img::after { opacity:.3; }

.sf-card-play {
  position:absolute; inset:0; display:flex; align-items:center; justify-content:center; z-index:2;
  opacity:0; transition:opacity .2s;
}
.sf-card-play svg { width:40px; height:40px; fill:#fff; filter:drop-shadow(0 2px 8px rgba(0,0,0,.8)); stroke:none; }
.sf-card:hover .sf-card-play { opacity:1; }

.sf-card-body { padding:10px 12px 14px; flex:1; }
.sf-card-title { display:flex; align-items:center; gap:6px; font-size:.875rem; font-weight:600; color:var(--text); line-height:1.35; margin-bottom:4px; }
.sf-card-title-text { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; flex:1; min-width:0; }
.sf-card-meta { font-size:.72rem; color:var(--muted); }
.sf-card-locked { cursor:default; }
.sf-card-locked:hover { transform:none; box-shadow:none; }
.sf-lock-overlay { position:absolute; inset:0; background:rgba(0,0,0,.55); display:flex; align-items:center; justify-content:center; z-index:3; color:rgba(255,255,255,.7); }

/* Small add-to-watchlist icon, inline in front of the card title */
.sf-card-wl-icon {
  flex-shrink:0; display:inline-flex; align-items:center; justify-content:center;
  width:16px; height:16px; padding:5px; margin:0;
  background:none; border:none; color:var(--gold);
  cursor:pointer; text-decoration:none !important;
  border-radius:50%;
  transition:color .2s, background .2s, transform .15s;
}
.sf-card-wl-icon:hover { background:rgba(217,164,65,.15); transform:scale(1.12); }
.sf-card-wl-icon.sf-wled { color:var(--gold); }
.sf-card-wl-icon:disabled { opacity:.5; cursor:default; transform:none; }

/* ══ BADGES ══ */
.sf-badge {
  position:absolute; top:8px; left:8px; z-index:4;
  padding:2px 8px; border-radius:3px; font-size:.62rem;
  font-weight:800; letter-spacing:.08em; text-transform:uppercase;
}
.sf-badge-inline { position:static; display:inline-block; margin-left:4px; vertical-align:middle; }
.sf-free { background:rgba(45,110,115,.2); color:var(--teal2); border:1px solid rgba(45,110,115,.3); }
.sf-prem { background:rgba(217,164,65,.15); color:var(--gold); border:1px solid rgba(217,164,65,.3); }
.sf-chip {
  display:inline-block; padding:3px 10px;
  border:1px solid var(--border); border-radius:20px;
  font-size:.75rem; color:var(--sub); margin-right:6px;
}

/* ══ SINGLE FILM PAGE ══ */
.sf-film-page { padding-bottom:80px; }
.sf-player-wrap {
    background: #000;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}
.sf-player { width:100%; aspect-ratio:16/9; display:block; border:none; background:#000; }

.sf-gate { position:relative; width:100%; min-height:400px; display:flex; align-items:center; justify-content:center; overflow:hidden; }
.sf-gate-thumb { position:absolute; inset:0; background-size:cover; background-position:center; }
.sf-gate-overlay { position:absolute; inset:0; background:rgba(0,0,0,.75); backdrop-filter:blur(8px); }
.sf-gate-box { position:relative; z-index:2; text-align:center; padding:48px 32px; }
.sf-gate-lock { font-size:3rem; margin-bottom:16px; display:block; }
.sf-gate-box h2 { font-family:'Cormorant Garamond',serif; font-size:2rem; color:#fff; margin-bottom:10px; }
.sf-gate-box p { color:var(--sub); margin-bottom:24px; }

.sf-film-info { max-width:800px; padding:36px 60px; }
.sf-film-chips { display:flex; flex-wrap:wrap; gap:6px; align-items:center; margin-bottom:14px; }
.sf-film-title { font-size:clamp(1.8rem,3.5vw,3rem); color:#fff; margin-bottom:8px; }
.sf-film-dir { font-size:.9rem; color:var(--muted); margin-bottom:20px; }
.sf-film-dir strong { color:var(--text); }
.sf-film-body { font-size:.95rem; color:#a09580; line-height:1.8; margin-bottom:24px; }
.sf-awards-row { display:flex; flex-wrap:wrap; gap:10px; margin-bottom:28px; }
.sf-award { background:rgba(200,90,36,.1); border:1px solid rgba(200,90,36,.25); color:var(--gold); padding:5px 14px; border-radius:20px; font-size:.8rem; font-weight:600; }
.sf-film-actions { display:flex; gap:12px; flex-wrap:wrap; }
.sf-wl-btn.sf-wled { border-color:var(--gold); color:var(--gold) !important; }
.sf-related { padding:40px 0 0; border-top:1px solid var(--border); }

/* ══ JOIN CTA ══ */
.sf-join-cta {
  padding:100px 32px; text-align:center;
  background:radial-gradient(ellipse at center, #1a1008 0%, var(--black) 70%);
  border-top:1px solid var(--border);
}
.sf-join-inner { max-width:560px; margin:0 auto; }
.sf-join-cta h2 { font-size:clamp(1.8rem,3vw,2.8rem); color:#fff; margin-bottom:12px; }
.sf-join-cta p { color:var(--sub); line-height:1.75; margin-bottom:28px; }
.sf-join-price { display:flex; align-items:baseline; justify-content:center; gap:4px; margin-bottom:28px; }
.sf-price-amount { font-family:'Cormorant Garamond',serif; font-size:3rem; font-weight:700; color:var(--gold); }
.sf-price-period { font-size:1rem; color:var(--muted); }

/* ══ PREMIUM PAGE ══ */
.sf-prem-hero {
  position:relative; padding:100px 32px; text-align:center; overflow:hidden;
  border-bottom:1px solid var(--border);
}
.sf-prem-hero-bg {
  position:absolute; inset:0;
  background:radial-gradient(ellipse at 50% 0%, #1e1408 0%, var(--black) 65%);
}
.sf-prem-hero-content { position:relative; z-index:2; max-width:680px; margin:0 auto; }
.sf-prem-hero h1 { font-size:clamp(2rem,4vw,3.5rem); color:#fff; margin-bottom:16px; }
.sf-prem-hero p { color:var(--sub); line-height:1.75; margin-bottom:32px; }
.sf-orig-badges { display:flex; justify-content:center; gap:14px; flex-wrap:wrap; margin-bottom:32px; }
.sf-orig-badge {
  background:rgba(217,164,65,.12); border:1px solid rgba(217,164,65,.3);
  color:var(--gold); padding:10px 20px; border-radius:var(--radius);
  font-size:.85rem; font-weight:700;
}
.sf-prem-active-badge {
  display:inline-block; background:rgba(217,164,65,.12);
  border:1px solid var(--gold); color:var(--gold);
  padding:10px 24px; border-radius:20px; font-weight:700; font-size:1.05rem;
}

.sf-pricing-section { padding:64px 0; }
.sf-pricing-card {
  max-width:440px; margin:0 auto;
  background:var(--card); border:1px solid var(--border2);
  border-radius:16px; overflow:hidden;
  box-shadow:0 0 60px rgba(217,164,65,.1);
}
.sf-pricing-top {
  padding:40px 40px 32px;
  background:linear-gradient(135deg,#181008,#121010);
  border-bottom:1px solid var(--border); position:relative;
}
.sf-pricing-badge {
  display:inline-block; background:var(--gold); color:#000;
  font-size:.7rem; font-weight:800; letter-spacing:.06em;
  padding:4px 12px; border-radius:20px; text-transform:uppercase;
  margin-bottom:16px;
}
.sf-pricing-top h3 { font-family:'Outfit',sans-serif; font-size:1.3rem; font-weight:700; color:#fff; margin-bottom:20px; }
.sf-pricing-price { display:flex; align-items:baseline; gap:4px; }
.sf-price-big { font-family:'Cormorant Garamond',serif; font-size:3.5rem; font-weight:700; color:var(--gold); line-height:1; }
.sf-price-per { font-size:.9rem; color:var(--muted); }
.sf-pricing-perks { list-style:none; margin:0; padding:28px 40px; border-bottom:1px solid var(--border); }
.sf-pricing-perks li { padding:8px 0; font-size:.9rem; color:var(--text); border-bottom:1px solid var(--border); }
.sf-pricing-perks li:last-child { border:none; }
.sf-pay-btn,.sf-pricing-card .sf-btn { display:block; width:calc(100% - 80px); margin:28px 40px; text-align:center; }
.sf-pay-secure { text-align:center; font-size:.75rem; color:var(--muted); padding:0 40px 28px; }

/* ── Monthly/Annual billing toggle ── */
.sf-billing-toggle {
  display:flex; justify-content:center; gap:4px; margin:0 auto 40px;
  background:var(--card); border:1px solid var(--border); border-radius:100px;
  padding:5px; width:max-content;
}
.sf-bt-opt {
  background:none; border:none; cursor:pointer; font-family:'Outfit',sans-serif;
  font-size:.85rem; font-weight:600; color:var(--muted); padding:9px 20px;
  border-radius:100px; transition:all .2s var(--ease,ease);
}
.sf-bt-opt.sf-bt-on { background:var(--gold); color:#0A0A0A; }
.sf-bt-save {
  font-size:.68rem; font-weight:700; color:var(--teal2); margin-left:5px;
}
.sf-bt-opt.sf-bt-on .sf-bt-save { color:#0A0A0A; opacity:.75; }

/* ── 3-tier plan grid ── */
.sf-plans-grid {
  display:grid; grid-template-columns:repeat(3,1fr); gap:24px;
  max-width:1080px; margin:0 auto; align-items:stretch;
}
.sf-plan-card {
  display:flex; flex-direction:column;
  background:var(--card); border:1px solid var(--border);
  border-radius:16px; overflow:hidden;
}
.sf-plan-card-feat {
  border-color:var(--border2); box-shadow:0 0 60px rgba(217,164,65,.12);
  transform:translateY(-8px);
}
.sf-plan-card-supporter { border-color:rgba(200,90,36,.3); }
.sf-plan-top {
  padding:32px 28px 24px;
  background:linear-gradient(135deg,#181008,#121010);
  border-bottom:1px solid var(--border);
}
.sf-plan-card-feat .sf-plan-top { background:linear-gradient(135deg,#1d1409,#141008); }
.sf-plan-card-supporter .sf-plan-top { background:linear-gradient(135deg,#1d130c,#140d08); }
.sf-plan-top h3 { font-family:'Outfit',sans-serif; font-size:1.15rem; font-weight:700; color:#fff; margin-bottom:14px; }
.sf-plan-price { display:flex; align-items:baseline; gap:5px; }
.sf-plan-tagline { font-size:.8rem; color:var(--muted); line-height:1.5; margin-top:10px; }
.sf-pricing-badge-supporter { background:var(--orange); color:#fff; }
.sf-plan-card .sf-pricing-perks { flex:1; padding:24px 28px; }
.sf-plan-card .sf-pricing-perks li { font-size:.84rem; }
.sf-perk-no { color:rgba(241,232,218,.35) !important; }
.sf-plan-card .sf-pay-btn { width:calc(100% - 56px); margin:0 28px 28px; }
.sf-plan-card .sf-pay-secure { padding:0 28px 24px; }
.sf-btn-orange {
  background:var(--orange); color:#fff; border:none;
}
.sf-btn-orange:hover { background:var(--orange2); }

/* ── Comparison table ── */
.sf-compare-wrap { max-width:900px; margin:0 auto 64px; }
.sf-compare-table { width:100%; border-collapse:collapse; font-size:.85rem; }
.sf-compare-table th, .sf-compare-table td {
  padding:13px 16px; text-align:center; border-bottom:1px solid var(--border);
}
.sf-compare-table .sf-compare-feat-col, .sf-compare-table td:first-child { text-align:left; color:var(--text); }
.sf-compare-table thead th { color:var(--muted); font-size:.72rem; text-transform:uppercase; letter-spacing:.06em; font-weight:700; }
.sf-compare-table thead th.sf-compare-feat { color:var(--gold); }
.sf-compare-table thead th.sf-compare-supp { color:var(--orange); }
.sf-compare-table tbody tr:hover { background:rgba(241,232,218,.02); }

/* ── Shared badge component (sf_render_badge / sf_user_badges_html) ── */
.sf-badge-pill {
  display:inline-flex; align-items:center; gap:4px;
  font-size:.7rem; font-weight:700; padding:4px 10px; border-radius:100px;
  letter-spacing:.02em; white-space:nowrap;
}
.sf-badge-pill-ic { font-size:.8em; line-height:1; }
.sf-badge-premium   { background:rgba(217,164,65,.14); color:var(--gold); border:1px solid rgba(217,164,65,.3); }
.sf-badge-supporter { background:rgba(200,90,36,.14);  color:var(--orange); border:1px solid rgba(200,90,36,.3); }
.sf-badge-verified  { background:rgba(45,110,115,.18);  color:var(--teal2); border:1px solid rgba(45,110,115,.4); }
.sf-badge-free      { background:rgba(241,232,218,.06); color:var(--muted); border:1px solid var(--border); }
.sf-badge-sm { font-size:.62rem; padding:2px 7px; }
.sf-badge-lg { font-size:.8rem; padding:6px 14px; }

@media (max-width:900px) {
  .sf-plans-grid { grid-template-columns:1fr; max-width:440px; }
  .sf-plan-card-feat { transform:none; }
  .sf-compare-table { font-size:.76rem; }
  .sf-compare-table th, .sf-compare-table td { padding:10px 8px; }
}

/* ══ SUBMIT PAGE ══ */
.sf-page-header { padding:52px 0 36px; }
.sf-page-header h1 { font-size:clamp(2rem,3.5vw,3rem); color:#fff; margin-bottom:10px; }
.sf-page-header p { color:var(--sub); font-size:1rem; line-height:1.65; }

.sf-submit-layout { display:grid; grid-template-columns:320px 1fr; gap:60px; }
.sf-submit-guidelines h3 { font-family:'Outfit',sans-serif; font-size:1rem; font-weight:700; color:#fff; text-transform:uppercase; letter-spacing:.05em; margin-bottom:16px; }
.sf-submit-guidelines ul { list-style:none; margin:0; padding:0; }
.sf-submit-guidelines ul li { padding:10px 0; border-bottom:1px solid var(--border); font-size:.875rem; color:var(--muted); line-height:1.55; }
.sf-submit-guidelines ul li::before { content:'→ '; color:var(--gold); }
.sf-submit-contact { margin-top:28px; padding:20px; background:var(--card); border:1px solid var(--border); border-radius:var(--radius); }
.sf-submit-contact p { font-size:.85rem; color:var(--muted); line-height:1.6; }

.sf-form-grid { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.sf-form-full { grid-column:span 2; }
.sf-form-field label { display:block; font-size:.72rem; font-weight:700; text-transform:uppercase; letter-spacing:.06em; color:var(--muted); margin-bottom:7px; }
.sf-label-hint { font-weight:400; text-transform:none; letter-spacing:0; color:#3a3028; }
.sf-form-field input,
.sf-form-field textarea,
.sf-form-field select {
  width:100%; background:var(--card); border:1px solid var(--border);
  color:var(--text); padding:11px 14px; border-radius:var(--radius);
  font-family:'Outfit',sans-serif; font-size:.9rem;
  transition:border-color .2s;
}
.sf-form-field input:focus,
.sf-form-field textarea:focus,
.sf-form-field select:focus { outline:none; border-color:var(--gold); }
.sf-form-field textarea { resize:vertical; min-height:110px; }
.sf-form-field select option { background:var(--dark); }
.sf-legal { font-size:.75rem; color:var(--muted); line-height:1.65; margin-bottom:20px; }

/* ══ ACCOUNT PAGE ══ */
.sf-acct-header {
  display:flex; align-items:center; gap:20px;
  padding:48px 0 36px; flex-wrap:wrap;
  border-bottom:1px solid var(--border); margin-bottom:40px;
}
.sf-acct-avatar {
  width:60px; height:60px; border-radius:50%;
  background:linear-gradient(135deg,var(--gold),#8a5c00);
  font-size:1.5rem; font-weight:700; color:#000;
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.sf-acct-header h1 { font-size:clamp(1.5rem,3vw,2.4rem); color:#fff; margin-bottom:4px; }
.sf-acct-email { font-size:.875rem; color:var(--muted); }
.sf-acct-plan {
  margin-left:auto; padding:14px 20px;
  background:var(--card); border:1px solid var(--border); border-radius:var(--radius);
  display:flex; align-items:center; gap:12px;
}
.sf-acct-plan.is-prem { border-color:rgba(217,164,65,.35); background:rgba(217,164,65,.06); }
.sf-acct-plan strong { display:block; font-size:.9rem; color:#fff; }
.sf-acct-plan small { font-size:.75rem; color:var(--muted); }
.sf-acct-plan a { font-size:.8rem; font-weight:700; color:var(--gold); }
.sf-plan-star { font-size:1.4rem; }
.sf-upgrade-cta {
  display:flex; align-items:center; justify-content:space-between;
  padding:24px 28px; background:linear-gradient(135deg,#141414,#0f0f0f);
  border:1px solid var(--border2); border-radius:var(--radius);
  margin-bottom:40px; gap:20px; flex-wrap:wrap;
}
.sf-upgrade-cta h3 { font-family:'Outfit',sans-serif; font-size:1rem; font-weight:700; color:#fff; margin-bottom:4px; }
.sf-upgrade-cta p { font-size:.85rem; color:var(--muted); }
.sf-acct-section { margin-bottom:52px; }
.sf-acct-empty { padding:20px 0; color:var(--muted); font-size:.875rem; }
.sf-settings-grid { display:grid; grid-template-columns:1fr 1fr; gap:0; margin-bottom:24px; }
.sf-setting-item { padding:16px 0; border-bottom:1px solid var(--border); }
.sf-setting-item label { font-size:.7rem; text-transform:uppercase; letter-spacing:.06em; font-weight:700; color:var(--muted); display:block; margin-bottom:4px; }
.sf-setting-item p { font-size:.9rem; color:var(--text); }
.sf-acct-links { display:flex; gap:24px; flex-wrap:wrap; margin-top:8px; }
.sf-acct-links a { font-size:.875rem; color:var(--sub); transition:.2s; }
.sf-acct-links a:hover { color:var(--gold); }

/* ══════════════════════════════════════════
   ACCOUNT PAGE — REDESIGN v2
══════════════════════════════════════════ */

/* Login wall */
.sf-acct-login-wall {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
    position: relative;
    overflow: hidden;
}
.sf-alw-film-strip {
    position: absolute; inset: 0;
    display: flex; gap: 0;
    pointer-events: none;
    opacity: .04;
}
.sf-alw-film-strip span {
    flex: 1; border-right: 1px solid var(--gold);
}
.sf-alw-inner { position: relative; z-index: 1; max-width: 400px; }
.sf-alw-logo { margin-bottom: 28px; }
.sf-alw-inner h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: #fff; margin-bottom: 12px; font-weight: 600;
}
.sf-alw-inner p { color: var(--muted); font-size: .95rem; margin-bottom: 28px; }
.sf-alw-sub { margin-top: 16px !important; font-size: .82rem !important; color: var(--muted) !important; }
.sf-alw-sub a { color: var(--gold); }

/* Hero banner */
.sf-acct-hero {
    position: relative;
    background: linear-gradient(180deg, #0f0f0f 0%, #0A0A0A 100%);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    padding: 90px 0 48px; /* top clears the fixed 90px nav */
}
.sf-acct-hero-bg {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 80% 60% at 60% 100%, rgba(45,110,115,.08) 0%, transparent 70%);
    pointer-events: none;
}
.sf-acct-hero-inner {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}
.sf-acct-avatar-ring {
    width: 76px; height: 76px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--teal));
    padding: 2px; flex-shrink: 0;
}
.sf-acct-avatar {
    width: 100%; height: 100%;
    border-radius: 50%;
    background: #0f0f0f;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem; font-weight: 700; color: var(--gold);
}
.sf-acct-identity { flex: 1; min-width: 200px; }
.sf-acct-eyebrow {
    font-size: .7rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .12em;
    color: var(--gold); margin-bottom: 6px;
}
.sf-acct-identity h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    color: #fff; font-weight: 600; margin-bottom: 4px;
}
.sf-acct-since { font-size: .78rem; color: var(--muted); }

.sf-acct-stats-row {
    display: flex; align-items: center; gap: 0;
    margin-left: auto;
    background: rgba(255,255,255,.03);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}
.sf-acct-stat {
    display: flex; flex-direction: column;
    align-items: center;
    padding: 16px 24px;
    gap: 3px;
}
.sf-acct-stat-n {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem; font-weight: 700;
    color: #fff; line-height: 1;
}
.sf-acct-stat-l {
    font-size: .65rem; text-transform: uppercase;
    letter-spacing: .08em; color: var(--muted);
}
.sf-acct-stat-div {
    width: 1px; height: 40px;
    background: var(--border); flex-shrink: 0;
}

/* Upgrade strip */
.sf-acct-upgrade-strip {
    background: linear-gradient(90deg, rgba(217,164,65,.08) 0%, rgba(217,164,65,.02) 100%);
    border-bottom: 1px solid rgba(217,164,65,.18);
    padding: 14px 0;
}
.sf-acct-upgrade-inner {
    display: flex; align-items: center;
    justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.sf-acu-left { display: flex; align-items: center; gap: 12px; }
.sf-acu-pill {
    font-size: .65rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: .12em;
    color: #000; background: var(--gold);
    padding: 3px 8px; border-radius: 4px; flex-shrink: 0;
}
.sf-acu-left p { font-size: .85rem; color: var(--text); }

/* Body layout: horizontal tab bar + content, stacked */
.sf-acct-body {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    min-height: 70vh;
    align-items: start;
    padding-top: 0; padding-bottom: 80px;
}

/* Tab bar nav */
.sf-acct-nav {
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
    position: sticky; top: 80px;
    display: flex; flex-direction: row; flex-wrap: wrap; gap: 4px;
    margin-bottom: 32px;
    background: var(--bg, #080806);
    z-index: 5;
}
.sf-anav-btn {
    display: flex; align-items: center; gap: 10px;
    padding: 11px 20px;
    background: none; border: none;
    color: var(--muted); font-size: .83rem;
    font-family: 'Outfit', sans-serif; font-weight: 500;
    cursor: pointer; border-radius: 8px;
    transition: color .15s, background .15s;
    text-align: left; text-decoration: none;
    white-space: nowrap;
}
.sf-anav-btn svg { flex-shrink: 0; opacity: .6; transition: opacity .15s; }
.sf-anav-btn span { flex: 1; }
.sf-anav-btn em {
    font-style: normal;
    font-size: .68rem; font-weight: 700;
    background: rgba(255,255,255,.06);
    color: var(--muted);
    border-radius: 10px; padding: 1px 7px;
    min-width: 22px; text-align: center;
}
.sf-anav-btn:hover {
    color: var(--text); background: rgba(255,255,255,.04);
}
.sf-anav-btn:hover svg { opacity: 1; }
.sf-anav-active {
    color: var(--gold) !important;
    background: rgba(200,146,26,.08) !important;
}
.sf-anav-active svg { opacity: 1 !important; color: var(--gold); }
.sf-anav-active em {
    background: rgba(200,146,26,.15) !important;
    color: var(--gold) !important;
}
.sf-anav-divider {
    width: 1px; align-self: stretch; background: var(--border);
    margin: 4px 6px;
}
.sf-anav-logout { color: var(--muted) !important; }
.sf-anav-logout:hover { color: #e05050 !important; background: rgba(224,80,80,.06) !important; }

/* Content area */
.sf-acct-content {
    padding: 40px 0 0 48px;
    min-width: 0;
}

/* Panels */
.sf-apanel { display: none; }
.sf-apanel-active { display: block; animation: sfFadeUp .22s ease; }

.sf-apanel-head {
    display: flex; align-items: flex-start;
    justify-content: space-between; gap: 16px;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
}
.sf-apanel-head h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.7rem; font-weight: 600;
    color: #fff; margin-bottom: 3px;
}
.sf-apanel-head p { font-size: .82rem; color: var(--muted); }
.sf-apanel-action {
    font-size: .78rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .06em;
    color: var(--gold); white-space: nowrap;
    background: none; border: none; cursor: pointer;
    font-family: 'Outfit', sans-serif;
    text-decoration: none; align-self: center;
    transition: color .15s;
}
.sf-apanel-action:hover { color: var(--gold2); }
.sf-apanel-danger { color: var(--muted) !important; }
.sf-apanel-danger:hover { color: #e05050 !important; }

/* Card grid */
.sf-apanel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 20px;
}
.sf-acard {
    position: relative;
    transition: transform .2s;
}
.sf-acard:hover { transform: translateY(-2px); }
.sf-acard .sf-card { width: 100%; }

/* Remove X button */
.sf-acard-x {
    position: absolute; top: 7px; right: 7px; z-index: 5;
    width: 26px; height: 26px;
    background: rgba(10,8,4,.8);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 50%; color: #fff;
    cursor: pointer; display: none;
    align-items: center; justify-content: center;
    transition: background .15s, border-color .15s;
    backdrop-filter: blur(4px);
    padding: 0;
}
.sf-acard:hover .sf-acard-x { display: flex; }
.sf-acard-x:hover { background: rgba(224,80,80,.7); border-color: rgba(224,80,80,.5); }

/* Progress bar */
.sf-acard-prog {
    height: 3px; background: rgba(255,255,255,.08);
    border-radius: 0 0 6px 6px; overflow: hidden;
    margin-top: 3px;
}
.sf-acard-prog > div {
    height: 100%; background: var(--gold);
    border-radius: 0 2px 2px 0;
}
.sf-acard-prog > div.sf-prog-done { background: #4caf78; }
.sf-acard-prog-label {
    display: block; font-size: .65rem;
    color: var(--muted); margin-top: 4px; padding-left: 1px;
}

/* Heart badge on liked cards */
.sf-acard-heart {
    position: absolute; top: 8px; left: 8px;
    font-size: .75rem; color: #e85c7a;
    background: rgba(0,0,0,.6); border-radius: 20px;
    padding: 2px 6px; backdrop-filter: blur(4px);
    pointer-events: none;
}

/* Star row on rated cards */
.sf-acard-stars {
    display: flex; gap: 2px; padding: 5px 2px 2px;
}
.sf-astar polygon { fill: rgba(255,255,255,.15); }
.sf-astar.on polygon { fill: var(--gold); }

/* Empty state inside panels */
.sf-apanel-empty {
    text-align: center; padding: 72px 20px;
}
.sf-ape-icon {
    display: flex; align-items: center;
    justify-content: center; margin-bottom: 20px;
    opacity: .7;
}
.sf-apanel-empty h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem; color: #fff;
    margin-bottom: 8px; font-weight: 600;
}
.sf-apanel-empty p { font-size: .875rem; color: var(--muted); }

/* Settings */
.sf-asettings {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 0; margin-bottom: 32px;
}
.sf-aset-group {
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
}
.sf-aset-group label {
    display: block; font-size: .68rem;
    font-weight: 700; text-transform: uppercase;
    letter-spacing: .08em; color: var(--muted); margin-bottom: 5px;
}
.sf-aset-group p { font-size: .9rem; color: var(--text); }
.sf-aset-actions {
    display: flex; gap: 20px; flex-wrap: wrap; margin-top: 8px;
}
.sf-aset-link {
    font-size: .85rem; color: var(--sub);
    transition: color .15s; text-decoration: none;
}
.sf-aset-link:hover { color: var(--gold); }
.sf-aset-link-danger:hover { color: #e05050 !important; }

/* ── Nav "has active billing" dot ── */
em.sf-anav-dot,
.sf-anav-active em.sf-anav-dot {
    width: 7px !important; height: 7px; min-width: 0 !important;
    padding: 0 !important; border-radius: 50%;
    background: var(--gold) !important;
}

/* ── Billing tab ── */
.sf-bill-plans {
    display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
    margin-bottom: 32px;
}
.sf-bill-plan-card {
    background: var(--card); border: 1px solid var(--border);
    border-radius: 12px; padding: 22px;
}
.sf-bill-plan-active { border-color: rgba(217,164,65,.35); }
.sf-bill-plan-active-supp { border-color: rgba(200,90,36,.35); }
.sf-bill-plan-head {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 12px; gap: 10px; flex-wrap: wrap;
}
.sf-bill-status-on {
    font-size: .72rem; font-weight: 700; color: var(--teal2);
    background: rgba(45,110,115,.15); padding: 3px 10px; border-radius: 100px;
}
.sf-bill-status-off {
    font-size: .72rem; font-weight: 600; color: var(--muted);
}
.sf-bill-plan-detail { font-size: .85rem; color: var(--text); margin-bottom: 6px; }
.sf-bill-plan-note { font-size: .76rem; color: var(--muted); line-height: 1.55; margin-top: 8px; }
.sf-bill-renew-toggle {
    display: flex; align-items: center; gap: 8px;
    font-size: .8rem; color: var(--text); margin-top: 14px; cursor: pointer;
}
.sf-bill-renew-toggle input { accent-color: var(--gold); width: 16px; height: 16px; cursor: pointer; }
.sf-btn-sm { padding: 8px 16px; font-size: .78rem; }

.sf-bill-section { margin-bottom: 28px; }
.sf-bill-section-title {
    font-size: .78rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .06em; color: var(--muted); margin-bottom: 14px;
}
.sf-bill-list { display: flex; flex-direction: column; gap: 0; }
.sf-bill-row {
    display: flex; align-items: center; justify-content: space-between;
    padding: 13px 0; border-bottom: 1px solid var(--border);
    gap: 12px;
}
.sf-bill-row:last-child { border-bottom: none; }
.sf-bill-row-title { font-size: .85rem; color: var(--text); font-weight: 600; display: block; text-decoration: none; }
.sf-bill-row-title:hover { color: var(--gold); }
.sf-bill-row-sub { font-size: .74rem; color: var(--muted); display: block; margin-top: 2px; }
.sf-bill-row-amount { font-size: .85rem; color: var(--text); font-weight: 600; white-space: nowrap; display: flex; align-items: center; gap: 10px; }
.sf-apanel-empty-inline { font-size: .85rem; color: var(--muted); padding: 16px 0; }

/* ── Billing tab additions: inline upgrade, cancel, coupons, benefits, payment methods ── */
.sf-bill-inline-form { margin-top: 12px; }
.sf-bill-cancel-link {
    display: block; margin-top: 12px; background: none; border: none; padding: 0;
    font-size: .76rem; color: var(--muted); text-decoration: underline; cursor: pointer;
}
.sf-bill-cancel-link:hover { color: #e05050; }
.sf-bill-coupon-box { display: flex; gap: 8px; margin-top: 14px; }
.sf-coupon-input {
    flex: 1; min-width: 0; padding: 9px 12px; border-radius: 8px;
    border: 1px solid var(--border); background: var(--card2); color: var(--text); font-size: .82rem;
}
.sf-coupon-msg { font-size: .76rem; margin-top: 8px; padding: 8px 12px; }

.sf-bill-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sf-bill-benefit-col {
    background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 16px;
}
.sf-bill-benefit-col h4 { margin: 0 0 10px; font-size: .85rem; color: var(--text); }
.sf-bill-benefit-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.sf-bill-benefit-col li { font-size: .78rem; line-height: 1.5; }
.sf-bill-benefit-col li.sf-benefit-yes { color: var(--text); }
.sf-bill-benefit-col li.sf-benefit-no { color: var(--muted); }

.sf-bill-pm-list { display: flex; flex-wrap: wrap; gap: 10px; }
.sf-bill-pm-chip {
    display: flex; align-items: center; gap: 8px; padding: 10px 14px;
    background: var(--card); border: 1px solid var(--border); border-radius: 10px; font-size: .8rem; color: var(--text);
}
.sf-bill-pm-ic { font-size: 1rem; }
.sf-bill-pm-last { color: var(--muted); font-size: .72rem; }
.sf-bill-invoice-link {
    font-size: .72rem; color: var(--gold); text-decoration: none; border: 1px solid var(--border);
    padding: 3px 9px; border-radius: 100px; white-space: nowrap;
}
.sf-bill-invoice-link:hover { border-color: var(--gold); }

@media (max-width: 700px) {
    .sf-bill-plans { grid-template-columns: 1fr; }
    .sf-bill-benefits { grid-template-columns: 1fr; }
    .sf-bill-row-amount { flex-direction: column; align-items: flex-end; gap: 4px; }
}

/* Responsive */
@media (max-width: 900px) {
    .sf-anav-btn { padding: 9px 14px; font-size: .78rem; }
    .sf-anav-btn em { display: none; }
    .sf-acct-content { padding: 0; }
    .sf-acct-stats-row { width: 100%; justify-content: stretch; }
    .sf-acct-stat { flex: 1; padding: 14px 12px; }
}
@media (max-width: 580px) {
    .sf-acct-hero { padding: 36px 0 32px; }
    .sf-acct-avatar-ring { width: 60px; height: 60px; }
    .sf-acct-avatar { font-size: 1.5rem; }
    .sf-anav-btn span { display: none; }
    .sf-anav-btn { padding: 10px 14px; }
    .sf-anav-btn svg { margin: 0; }
    .sf-apanel-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px; }
    .sf-asettings { grid-template-columns: 1fr; }
}

/* ══ ABOUT PAGE ══ */
.sf-about-hero { padding:80px 0 60px; border-bottom:1px solid var(--border); background:#0A0A0A; }
.sf-about-hero h1 { font-size:clamp(2.2rem,4vw,3.5rem); color:#F1E8DA; margin-bottom:12px; }
.sf-about-tagline { font-style:italic; color:var(--gold); font-size:1.2rem; font-family:'Cormorant Garamond',serif; }
.sf-about-grid { display:grid; grid-template-columns:1fr 1fr; gap:1px; background:var(--border); border:1px solid var(--border); border-radius:var(--radius); overflow:hidden; }
.sf-about-block { padding:40px; background:var(--dark); transition:background .2s, border-color .2s; border:1px solid transparent; }
.sf-about-block:hover { background:var(--card2); border-color:rgba(217,164,65,.15); }
.sf-about-icon { font-size:1.8rem; margin-bottom:14px; }
.sf-about-block h3 { font-family:'Outfit',sans-serif; font-size:1rem; font-weight:700; color:var(--teal2); text-transform:uppercase; letter-spacing:.05em; margin-bottom:12px; }
.sf-about-block p { font-size:.875rem; color:var(--muted); line-height:1.75; }

/* ══ WAITLIST STRIP ══ */
.sf-waitlist {
  padding:72px 32px; text-align:center;
  border-top:1px solid var(--border); background:var(--dark);
}
.sf-waitlist-inner { max-width:540px; margin:0 auto; }
.sf-waitlist p { color:var(--sub); margin-bottom:20px; font-size:1rem; line-height:1.7; }
.sf-waitlist strong { color:var(--gold); }
.sf-waitlist-row { display:flex; gap:10px; justify-content:center; flex-wrap:wrap; margin-bottom:12px; }
.sf-waitlist-row input {
  flex:1; min-width:240px; background:var(--card); border:1px solid var(--border);
  color:var(--text); padding:12px 16px; border-radius:var(--radius);
  font-family:'Outfit',sans-serif; font-size:.9rem;
}
.sf-waitlist-row input:focus { outline:none; border-color:var(--gold); box-shadow:0 0 0 3px rgba(217,164,65,.08); }
.sf-waitlist-note { font-size:.75rem; color:var(--muted); }

/* ══ EMPTY STATE ══ */
.sf-empty-state { text-align:center; padding:80px 20px; }
.sf-empty-icon { font-size:3.5rem; margin-bottom:16px; display:block; }
.sf-empty-state h3 { font-family:'Cormorant Garamond',serif; font-size:1.8rem; color:#F1E8DA; margin-bottom:8px; }
.sf-empty-state p { color:var(--muted); margin-bottom:24px; }

/* ══ BROWSE TOOLBAR ══ */
.sf-browse-toolbar { display:flex; align-items:center; gap:12px; flex-wrap:wrap; margin-bottom:36px; padding:16px 20px; background:var(--dark); border:1px solid var(--border); border-radius:var(--radius); }
.sf-search-wrap { position:relative; flex:1; min-width:200px; }
.sf-search-icon { position:absolute; left:12px; top:50%; transform:translateY(-50%); width:16px; height:16px; stroke:var(--muted); fill:none; stroke-width:2; }
.sf-search-wrap input { width:100%; background:var(--card); border:1px solid var(--border); color:#F1E8DA; padding:9px 14px 9px 36px; border-radius:var(--radius); font-family:'Outfit',sans-serif; font-size:.875rem; }
.sf-search-wrap input:focus { outline:none; border-color:var(--gold); box-shadow:0 0 0 3px rgba(217,164,65,.08); }
.sf-type-tabs { display:flex; gap:4px; }
.sf-tab { padding:7px 16px; border-radius:var(--radius); font-size:.8rem; font-weight:600; color:var(--muted); border:1px solid var(--border); text-decoration:none; transition:.2s; background:transparent; cursor:pointer; font-family:'Outfit',sans-serif; }
.sf-tab.on,.sf-tab:hover { background:var(--gold); color:#0A0A0A; border-color:var(--gold); }
.sf-genre-sel { background:var(--card); border:1px solid var(--border); color:#F1E8DA; padding:9px 14px; border-radius:var(--radius); font-family:'Outfit',sans-serif; font-size:.875rem; cursor:pointer; }
.sf-genre-sel:focus { outline:none; border-color:var(--gold); }

/* ══ FEEDBACK MESSAGES ══ */
.sf-msg { padding:12px 16px; border-radius:var(--radius); font-size:.875rem; }
.sf-ok  { background:rgba(45,110,115,.2); border:1px solid rgba(45,110,115,.4); color:var(--teal2); }
.sf-err { background:rgba(200,90,36,.12); border:1px solid rgba(200,90,36,.3); color:var(--orange2); }

/* ══ FOOTER ══ */
.sf-footer { background:#0A0A0A; border-top:1px solid rgba(241,232,218,.08); padding:64px 0 0; }
.sf-footer-inner { max-width:1220px; margin:0 auto; padding:0 32px; display:grid; grid-template-columns:1.4fr auto; gap:80px; align-items:start; margin-bottom:48px; }
.sf-footer-brand .sf-logo { display:inline-flex; margin-bottom:16px; }
.sf-footer-brand .sf-logo-img { height:40px; opacity:.9; }
.sf-footer-brand p { font-size:.85rem; color:var(--muted); line-height:1.7; max-width:260px; }
.sf-footer-brand .sf-footer-social { display:flex; gap:10px; margin-top:20px; }
.sf-footer-social a {
  width:32px; height:32px; border-radius:50%;
  border:1px solid rgba(241,232,218,.12);
  display:flex; align-items:center; justify-content:center;
  color:var(--muted); font-size:.75rem; transition:.2s;
  text-decoration:none;
}
.sf-footer-social a:hover { border-color:var(--gold); color:var(--gold); }
.sf-footer-links { display:flex; gap:56px; }
.sf-footer-col { display:flex; flex-direction:column; gap:10px; }
.sf-footer-col h4 { font-family:'Outfit',sans-serif; font-size:.68rem; font-weight:700; text-transform:uppercase; letter-spacing:.12em; color:rgba(241,232,218,.3); margin-bottom:6px; }
.sf-footer-col a { font-size:.85rem; color:var(--muted); transition:color .2s; text-decoration:none; }
.sf-footer-col a:hover { color:#F1E8DA; }
.sf-footer-bottom {
  border-top:1px solid rgba(241,232,218,.06);
  padding:18px 32px; max-width:1220px; margin:0 auto;
  display:flex; justify-content:space-between; align-items:center;
  font-size:.72rem; color:rgba(241,232,218,.25);
}
.sf-footer-bottom a { color:rgba(241,232,218,.25); text-decoration:none; transition:.2s; }
.sf-footer-bottom a:hover { color:var(--gold); }


/* ══ ANIMATION ══ */
@keyframes sfFadeUp { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }

/* ══ RESPONSIVE ══ */
@media(max-width:1024px) {
  .sf-props-grid { grid-template-columns:1fr; gap:1px; }
  .sf-submit-layout { grid-template-columns:1fr; gap:36px; }
  .sf-about-grid { grid-template-columns:1fr; }
  .sf-footer-inner { grid-template-columns:1fr; gap:36px; }
}
@media(max-width:768px) {
  .sf-nav-links { display:none; position:absolute; top:64px; left:0; right:0; flex-direction:column; background:rgba(8,8,7,.98); padding:16px; border-bottom:1px solid var(--border); gap:4px; }
  .sf-nav-links.open { display:flex; }
  .sf-hamburger { display:flex; }
  .sf-nav-inner { padding:0 20px; }
  .sf-hero-content { padding:0 20px 60px; }
  .sf-hero { min-height:70vh; }
  .sf-container { padding:0 20px; }
  .sf-film-info { padding:24px 20px; }
  .sf-related { padding:28px 0 0; }
  .sf-film-grid { grid-template-columns:repeat(auto-fill,minmax(160px,1fr)); gap:10px; }
  .sf-acct-header { flex-direction:column; align-items:flex-start; }
  .sf-acct-plan { margin-left:0; width:100%; }
  .sf-settings-grid { grid-template-columns:1fr; }
  .sf-form-grid { grid-template-columns:1fr; }
  .sf-form-full { grid-column:span 1; }
  .sf-pricing-card { margin:0 16px; }
  .sf-pay-btn,.sf-pricing-card .sf-btn { width:calc(100% - 40px); margin:20px; }
  .sf-pricing-perks { padding:20px; }
  .sf-pricing-top { padding:28px 20px; }
  .sf-acct-links { flex-direction:column; gap:12px; }
  .sf-footer-links { flex-direction:column; gap:28px; }
  .sf-footer-bottom { flex-direction:column; gap:8px; }
  .sf-browse-toolbar { flex-direction:column; }
  .sf-search-wrap { width:100%; }
}


/* ══════════════════════════════════════════
   Mosaik — Upload / Dropzone styles
══════════════════════════════════════════ */

/* Required / optional labels */
.sf-req   { color: var(--gold, #c9941a); font-size: .85em; }
.sf-label-hint { font-size: .75rem; font-weight: 400; text-transform: none; letter-spacing: 0; color: rgba(122,112,96,.7); }

/* ── Dropzone base ── */
.sf-dropzone {
    border: 2px dashed rgba(255,255,255,.14);
    border-radius: 8px;
    cursor: pointer;
    overflow: hidden;
    transition: border-color .2s, background .2s;
    user-select: none;
}
.sf-dropzone:hover { border-color: rgba(201,148,26,.5); background: rgba(201,148,26,.03); }
.sf-dropzone.sf-dz-over {
    border-color: var(--gold, #c9941a);
    background: rgba(201,148,26,.07);
}
.sf-dropzone.sf-dz-has-file {
    border-style: solid;
    border-color: rgba(201,148,26,.35);
}

/* Idle state */
.sf-dz-idle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 32px 20px;
    pointer-events: none;
    text-align: center;
}
.sf-dropzone-sm .sf-dz-idle { padding: 20px 16px; }
.sf-dz-icon   { font-size: 2rem; line-height: 1; }
.sf-dz-text   { font-size: .9rem; color: var(--text, #d4ccb8); }
.sf-dz-link   { color: var(--gold, #c9941a); text-decoration: underline; font-weight: 600; pointer-events: all; }
.sf-dz-sub    { font-size: .75rem; color: var(--muted, #7a7060); }

/* Info state (file selected) */
.sf-dz-info {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
}
.sf-dz-info-icon { font-size: 1.4rem; flex-shrink: 0; }
.sf-dz-info-name {
    flex: 1;
    font-size: .85rem;
    font-weight: 600;
    color: var(--text, #d4ccb8);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.sf-dz-info-size { font-size: .75rem; color: var(--muted, #7a7060); flex-shrink: 0; }
.sf-dz-remove {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    color: var(--muted, #7a7060);
    border-radius: 4px;
    cursor: pointer;
    padding: 4px 10px;
    font-size: .78rem;
    flex-shrink: 0;
    transition: background .15s, color .15s;
}
.sf-dz-remove:hover { background: rgba(180,40,40,.25); color: #ff9999; border-color: #8b2020; }

/* Inline upload progress bar (inside video dropzone) */
.sf-dz-prog {
    height: 4px;
    background: rgba(255,255,255,.07);
}
.sf-dz-prog-fill {
    height: 100%;
    background: var(--gold, #c9941a);
    width: 0%;
    transition: width .3s ease;
}

/* Overall submit progress bar */
#sf-submit-prog { margin-top: 10px; }
#sf-submit-prog > div { height: 6px; background: rgba(255,255,255,.1); border-radius: 3px; overflow: hidden; }
#sf-submit-prog-fill { height: 100%; background: var(--gold, #c9941a); width: 0%; transition: width .3s; }
#sf-submit-prog-label { font-size: .78rem; color: var(--muted, #7a7060); margin: 4px 0 0; }



/* ══════════════════════════════════════════════
   Mosaik — Auth Pages
══════════════════════════════════════════════ */

/* Full-page shell */
.sf-auth-page {
    min-height: 100vh;
    background:
        radial-gradient(ellipse 80% 60% at 60% 20%, rgba(45,110,115,.12) 0%, transparent 65%),
        var(--black, #080806);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 20px;
    font-family: 'DM Sans', sans-serif;
}

.sf-auth-center {
    width: 100%;
    max-width: 560px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Logo */
.sf-auth-logo {
    display: inline-flex;
    text-decoration: none;
    margin-bottom: 4px;
}
.sf-auth-logo span { display: none; }
.sf-auth-logo-img {
    height: 64px;
    width: auto;
    object-fit: contain;
    /* transparent PNG — no mix-blend needed */
}
.sf-auth-tagline {
    font-size: .72rem; color: var(--muted, #7a7060);
    letter-spacing: .12em; text-transform: uppercase; margin-bottom: 28px;
}

/* Box */
.sf-auth-box {
    width: 100%;
    background: rgba(18,18,18,.98);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 36px 40px 32px;
    box-shadow: 0 24px 60px rgba(0,0,0,.6);
}

/* Header */
.sf-auth-header { margin-bottom: 24px; }
.sf-auth-header h1 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.75rem; font-weight: 700; color: #fff;
    margin: 0 0 5px; line-height: 1.15;
}
.sf-auth-header p { font-size: .85rem; color: var(--muted, #7a7060); margin: 0; }

/* Alerts */
.sf-auth-error {
    display: flex; align-items: flex-start; gap: 8px;
    background: rgba(180,40,40,.18); border: 1px solid rgba(139,32,32,.6);
    color: #ff9999; padding: 12px 14px; border-radius: 8px;
    font-size: .875rem; line-height: 1.5; margin-bottom: 20px;
}
.sf-auth-error a { color: var(--gold, #c9941a); }
.sf-auth-error-icon { font-size: 1rem; flex-shrink: 0; margin-top: 1px; }
.sf-auth-success {
    display: flex; align-items: center; gap: 8px;
    background: rgba(42,110,63,.2); border: 1px solid rgba(42,110,63,.5);
    color: #7fffb0; padding: 12px 14px; border-radius: 8px;
    font-size: .875rem; margin-bottom: 20px;
}

/* Form */
.sf-auth-form { display: flex; flex-direction: column; gap: 16px; }

/* Two column row */
.sf-auth-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* Field */
.sf-auth-field { display: flex; flex-direction: column; gap: 5px; }
.sf-auth-field label {
    font-size: .71rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .06em;
    color: var(--muted, #7a7060);
}
.sf-auth-label-row {
    display: flex; align-items: center; justify-content: space-between;
}
.sf-auth-forgot { font-size: .75rem; color: var(--gold, #c9941a); text-decoration: none; }
.sf-auth-forgot:hover { color: var(--gold2, #e0ae4a); text-decoration: underline; }

/* Input wrap */
.sf-auth-input-wrap {
    position: relative; display: flex; align-items: center;
}
.sf-auth-input-wrap input {
    width: 100%;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.1);
    color: var(--cream, #e8dfc8);
    padding: 11px 40px 11px 38px;
    border-radius: 8px;
    font-family: 'DM Sans', sans-serif; font-size: .9rem;
    transition: border-color .2s, background .2s;
}
.sf-auth-input-wrap input:focus {
    outline: none;
    border-color: var(--gold, #c9941a);
    background: rgba(201,148,26,.04);
}
.sf-auth-input-wrap input::placeholder { color: rgba(122,112,96,.55); }

/* Icon inside input */
.sf-auth-input-icon {
    position: absolute; left: 11px; top: 50%; transform: translateY(-50%);
    width: 16px; height: 16px; color: var(--muted, #7a7060);
    pointer-events: none;
}

/* Show/hide password button */
.sf-auth-toggle-pass {
    position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
    background: none; border: none; cursor: pointer;
    color: var(--muted, #7a7060); padding: 2px;
    display: flex; align-items: center; justify-content: center;
    transition: color .2s;
}
.sf-auth-toggle-pass svg { width: 16px; height: 16px; }
.sf-auth-toggle-pass:hover, .sf-auth-toggle-pass.active { color: var(--gold, #c9941a); }

/* Field status (available/taken/match) */
.sf-auth-field-status {
    position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
    font-size: .78rem; font-weight: 700; pointer-events: none;
}
/* When there's also a toggle button, shift status */
.sf-auth-input-wrap .sf-auth-toggle-pass + .sf-auth-field-status { display: none; }
.sf-status-ok  { color: #2ecc71; }
.sf-status-err { color: #e74c3c; }
.sf-status-warn{ color: #f39c12; }

/* Hint */
.sf-auth-hint { font-size: .72rem; color: var(--muted, #7a7060); margin-top: 2px; }

/* Password strength */
.sf-password-strength { margin-top: 6px; display: flex; align-items: center; gap: 8px; }
.sf-pw-bar { flex: 1; height: 4px; background: rgba(255,255,255,.1); border-radius: 2px; overflow: hidden; }
.sf-pw-fill { height: 100%; width: 0%; background: var(--gold, #c9941a); border-radius: 2px; transition: width .3s, background .3s; }
.sf-pw-label { font-size: .72rem; font-weight: 600; white-space: nowrap; min-width: 70px; }

/* Remember me */
.sf-auth-remember {
    display: flex; align-items: center; gap: 8px;
    font-size: .82rem; color: var(--muted, #7a7060); cursor: pointer;
}
.sf-auth-remember input { width: 15px; height: 15px; accent-color: var(--gold, #c9941a); }

/* Terms */
.sf-auth-terms {
    display: flex; align-items: flex-start; gap: 8px;
    font-size: .82rem; color: var(--muted, #7a7060); cursor: pointer; line-height: 1.5;
}
.sf-auth-terms input { width: 15px; height: 15px; accent-color: var(--gold, #c9941a); flex-shrink: 0; margin-top: 2px; }
.sf-auth-terms a { color: var(--gold, #c9941a); }

/* Submit button */
.sf-auth-btn {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    width: 100%; padding: 13px 20px;
    background: var(--gold, #c9941a); color: #fff;
    border: none; border-radius: 8px;
    font-family: 'DM Sans', sans-serif; font-size: .95rem; font-weight: 700;
    cursor: pointer; text-decoration: none;
    transition: background .2s, transform .15s, box-shadow .2s;
}
.sf-auth-btn:hover {
    background: var(--gold2, #e0ae4a); color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(201,148,26,.35);
}
.sf-auth-btn svg { width: 17px; height: 17px; }

/* Divider */
.sf-auth-divider {
    display: flex; align-items: center; gap: 14px;
    margin: 20px 0 10px;
}
.sf-auth-divider::before, .sf-auth-divider::after {
    content: ''; flex: 1; height: 1px;
    background: rgba(255,255,255,.07);
}
.sf-auth-divider span { font-size: .75rem; color: var(--muted, #7a7060); white-space: nowrap; }

/* Alt button (outline style) */
.sf-auth-alt-btn {
    display: flex; align-items: center; justify-content: center;
    width: 100%; padding: 12px 20px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.12);
    color: var(--cream, #e8dfc8); border-radius: 8px;
    font-family: 'DM Sans', sans-serif; font-size: .9rem; font-weight: 600;
    text-decoration: none; transition: background .2s, border-color .2s;
}
.sf-auth-alt-btn:hover {
    background: rgba(255,255,255,.09);
    border-color: rgba(255,255,255,.22);
    color: #fff;
}

/* Perks strip */
.sf-auth-perks {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 8px; margin-top: 18px; padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,.07);
}
.sf-auth-perk {
    display: flex; align-items: center; gap: 8px;
    font-size: .78rem; color: var(--muted, #7a7060);
}
.sf-auth-perk span:first-child { font-size: .9rem; }

/* Required star */
.sf-req { color: var(--gold, #c9941a); font-size: .85em; }

/* Responsive */
@media (max-width: 540px) {
    .sf-auth-box     { padding: 24px 18px 20px; }
    .sf-auth-row-2   { grid-template-columns: 1fr; }
    .sf-auth-perks   { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════
   FILM BANNER (film page + browse page)
══════════════════════════════════════════════════════════ */
.sf-film-banner {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    min-height: 70vh;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    background: #0A0A0A;
}
.sf-browse-banner { min-height: 55vh; max-height: 70vh; }

.sf-banner-poster {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center top;
    transition: opacity .8s ease;
    z-index: 0;
}
.sf-banner-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0;
    transition: opacity .8s ease;
}
.sf-banner-video.sf-banner-playing { opacity: 1; }

.sf-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(10,10,10,.98) 0%,
        rgba(10,10,10,.72) 38%,
        rgba(10,10,10,.22) 65%,
        rgba(10,10,10,.04) 100%
    ),
    linear-gradient(
        to right,
        rgba(10,10,10,.55) 0%,
        transparent 60%
    );
    z-index: 2;
}
.sf-banner-content {
    position: relative;
    z-index: 3;
    padding: 0 5% 56px;
    width: 100%;
    max-width: 760px;
}
.sf-banner-eyebrow {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.sf-banner-eyebrow::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 1.5px;
    background: var(--gold);
    flex-shrink: 0;
}
.sf-banner-title {
    font-size: clamp(2rem, 5vw, 3.8rem);
    font-weight: 700;
    line-height: 1.08;
    color: #F1E8DA;
    margin: 0 0 10px;
    letter-spacing: -.01em;
}
.sf-banner-dir {
    font-size: .875rem;
    color: rgba(241,232,218,.55);
    margin-bottom: 10px;
}
.sf-banner-dir strong { color: rgba(241,232,218,.8); }
.sf-banner-desc {
    font-size: .95rem;
    color: rgba(241,232,218,.6);
    line-height: 1.65;
    margin-bottom: 24px;
    max-width: 520px;
}
.sf-banner-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}
.sf-banner-mute {
    background: rgba(241,232,218,.08);
    border: 1px solid rgba(241,232,218,.18);
    color: #F1E8DA;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s, border-color .2s;
    flex-shrink: 0;
}
.sf-banner-mute:hover { background: rgba(241,232,218,.16); border-color: rgba(241,232,218,.3); }


/* ── Player shell + toolbar ── */
.sf-player-shell {
    position: relative;
    width: 100%;
    background: #000;
}
.sf-player-toolbar {
    position: absolute;
    top: 12px;
    right: 14px;
    display: flex;
    gap: 8px;
    z-index: 10;
}
.sf-cc-btn {
    background: rgba(0,0,0,.65);
    border: 1px solid rgba(255,255,255,.25);
    color: #fff;
    border-radius: 5px;
    padding: 4px 10px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .06em;
    cursor: pointer;
    transition: background .2s, border-color .2s;
}
.sf-cc-btn:hover    { background: rgba(0,0,0,.85); }
.sf-cc-on           { border-color: var(--gold, #c9941a); color: var(--gold, #c9941a); }
.sf-cc-off          { opacity: .55; }

/* ── Scrollbar nudge so banner sits flush ── */
.sf-film-page .sf-player-wrap { margin-top: 0; }

@media (max-width: 600px) {
    .sf-film-banner  { min-height: 56vh; }
    .sf-browse-banner{ min-height: 44vh; }
    .sf-banner-content { padding: 0 20px 36px; }
    .sf-banner-title { font-size: clamp(1.5rem, 7vw, 2.4rem); }
}

/* ══════════════════════════════════════════════════════════
   CUSTOM NETFLIX-STYLE PLAYER (sfp-shell)
══════════════════════════════════════════════════════════ */

.sfp-shell {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    /* aspect-ratio fallback for older browsers */
    aspect-ratio: 16 / 9;
    background: #000;
    overflow: hidden;
    cursor: pointer;
    font-family: inherit;
    user-select: none;
    -webkit-user-select: none;
    /* Fallback height when aspect-ratio unsupported */
    min-height: 240px;
}
/* Padding-top trick fallback for browsers without aspect-ratio */
@supports not (aspect-ratio: 16/9) {
    .sfp-shell { padding-top: 56.25%; height: 0; }
    .sfp-shell > * { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
}
/* Block save-video drag */
.sfp-shell video { pointer-events: none; }

#sfp-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* ── Subtitle overlay ── */
.sfp-sub-display {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    text-align: center;
    z-index: 20;
    pointer-events: none;
}
.sfp-sub-display span {
    display: inline-block;
    background: rgba(0,0,0,.78);
    color: #fff;
    font-size: clamp(.85rem, 2.2vw, 1.15rem);
    line-height: 1.5;
    padding: 4px 12px;
    border-radius: 4px;
    font-weight: 500;
    letter-spacing: .01em;
}

/* ── Centre play button ── */
.sfp-centre-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 15;
    transition: opacity .2s;
    pointer-events: auto;
}
.sfp-centre-play svg { width: 80px; height: 80px; filter: drop-shadow(0 2px 8px rgba(0,0,0,.5)); }

/* ── Controls bar ── */
.sfp-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 25;
    background: linear-gradient(transparent, rgba(0,0,0,.85) 60%);
    padding: 32px 16px 12px;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .25s, transform .25s;
    pointer-events: none;
}
.sfp-ctrl-visible .sfp-controls,
.sfp-controls.sfp-ctrl-visible,
.sfp-shell:hover .sfp-controls {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
/* Always show when shell has focus (keyboard users) */
.sfp-shell:focus-within .sfp-controls { opacity: 1; transform: translateY(0); pointer-events: auto; }

/* ── Progress ── */
.sfp-progress-wrap {
    position: relative;
    padding: 8px 0 4px;
    cursor: pointer;
    margin-bottom: 6px;
}
.sfp-progress-bg {
    height: 4px;
    background: rgba(255,255,255,.2);
    border-radius: 2px;
    position: relative;
    overflow: visible;
    transition: height .15s;
}
.sfp-progress-wrap:hover .sfp-progress-bg { height: 6px; }
.sfp-progress-buf {
    position: absolute;
    top: 0; left: 0; height: 100%;
    background: rgba(255,255,255,.3);
    border-radius: 2px;
    pointer-events: none;
    transition: width .4s linear;
}
.sfp-progress-fill {
    position: absolute;
    top: 0; left: 0; height: 100%;
    background: var(--gold, #c9941a);
    border-radius: 2px;
    pointer-events: none;
}
.sfp-progress-thumb {
    position: absolute;
    top: 50%;
    transform: translate(-50%,-50%) scale(0);
    width: 14px; height: 14px;
    background: var(--gold, #c9941a);
    border-radius: 50%;
    pointer-events: none;
    transition: transform .15s;
}
.sfp-progress-wrap:hover .sfp-progress-thumb { transform: translate(-50%,-50%) scale(1); }
.sfp-tooltip {
    position: absolute;
    bottom: 18px;
    background: rgba(0,0,0,.8);
    color: #fff;
    font-size: .72rem;
    padding: 3px 7px;
    border-radius: 4px;
    transform: translateX(-50%);
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity .15s;
    z-index: 5;
}

/* ── Control row ── */
.sfp-ctrl-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}
.sfp-ctrl-left, .sfp-ctrl-right {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ── Buttons ── */
.sfp-btn {
    background: none;
    border: none;
    color: rgba(255,255,255,.85);
    cursor: pointer;
    padding: 6px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color .15s, background .15s;
    flex-shrink: 0;
}
.sfp-btn:hover { color: #fff; background: rgba(255,255,255,.12); }
.sfp-btn svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* Play icon uses fill not stroke */
#sfp-play-icon { stroke: none; fill: currentColor; }

/* ── Volume slider ── */
.sfp-vol-wrap { display: flex; align-items: center; gap: 2px; }
.sfp-vol-slider {
    -webkit-appearance: none;
    width: 72px; height: 4px;
    background: rgba(255,255,255,.3);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
}
.sfp-vol-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px; height: 12px;
    background: #fff;
    border-radius: 50%;
}

/* ── Time label ── */
.sfp-time {
    font-size: .75rem;
    color: rgba(255,255,255,.7);
    white-space: nowrap;
    padding-left: 4px;
    font-variant-numeric: tabular-nums;
}

/* ── CC button ── */
.sfp-cc-btn {
    font-size: .7rem !important;
    font-weight: 800;
    letter-spacing: .06em;
    padding: 4px 8px !important;
    border: 1px solid rgba(255,255,255,.3) !important;
    border-radius: 4px;
}
.sfp-cc-on {
    border-color: var(--gold, #c9941a) !important;
    color: var(--gold, #c9941a) !important;
}

/* ── Shortcut hint ── */
.sfp-hint {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    background: rgba(0,0,0,.65);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: 8px;
    pointer-events: none;
    opacity: 0;
    transition: opacity .2s;
    z-index: 30;
    white-space: nowrap;
}
.sfp-hint.sfp-hint-show { opacity: 1; }

/* ── Mobile ── */
@media (max-width: 600px) {
    .sfp-vol-slider { width: 50px; }
    .sfp-time       { display: none; }
    .sfp-btn svg    { width: 18px; height: 18px; }
    .sfp-sub-display { bottom: 70px; }
    .sfp-sub-display span { font-size: .82rem; padding: 3px 8px; }
}

/* ══ Full-bleed overrides — break out of WP entry-content wrapper ══ */
.entry-content .sf-film-banner,
.post-content .sf-film-banner,
.wp-block-post-content .sf-film-banner,
.entry-content .sf-player-wrap,
.post-content .sf-player-wrap { max-width: none !important; margin-left: -50vw !important; margin-right: -50vw !important; width: 100vw !important; left: 50% !important; }

/* Prevent WP theme from adding padding/margin to our player container */
.entry-content .sfp-shell,
.post-content .sfp-shell { max-width: none !important; }

/* Fix: sfp-shell inside sf-player-wrap shouldn't double the breakout */
.sf-player-wrap .sfp-shell {
    width: 100% !important;
    left: auto !important;
    right: auto !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .sf-film-banner, .sf-browse-banner { min-height: 52vh; max-height: 60vh; }
    .sfp-vol-wrap { display: none; } /* hide volume on mobile — use system volume */
    .sfp-time { font-size: .68rem; }
    .sfp-cc-btn { padding: 3px 6px !important; }
}
@media (max-width: 480px) {
    .sf-banner-content { padding: 0 16px 28px; }
    .sf-banner-title { font-size: 1.6rem; }
    .sfp-sub-display { bottom: 65px; }
    .sfp-sub-display span { font-size: .78rem; }
    .sfp-btn svg { width: 17px; height: 17px; }
}

/* ══════════════════════════════════════════════════════════
   PLAYER MODAL — Netflix-style centered overlay
══════════════════════════════════════════════════════════ */
.sf-player-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999990;
    background: #0a0a0a;
    align-items: stretch;
    justify-content: stretch;
    padding: 0;
    box-sizing: border-box;
    animation: sfModalIn .18s ease-out;
}
@keyframes sfModalIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Inner box — full screen */
.sf-player-modal-inner {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    background: #0a0a0a;
    border-radius: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: none;
    animation: none;
}

/* Close button */
.sf-player-modal-close {
    position: fixed;
    top: 16px;
    right: 20px;
    z-index: 9999999;
    background: rgba(0,0,0,.7);
    border: 1px solid rgba(255,255,255,.25);
    color: #fff;
    font-size: 1.15rem;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s, transform .2s;
}
.sf-player-modal-close:focus { outline: none; }
.sf-player-modal-close:hover { background: rgba(200,40,40,.75); border-color: transparent; }

/* Body: player left, sidebar right — fills entire screen */
.sf-player-modal-body {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* Main player column — fills all available height */
.sf-player-modal-main {
    flex: 1 1 auto;
    min-width: 0;
    background: #000;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Player wrap inside modal */
.sf-player-modal .sf-player-wrap {
    position: static !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    left: auto !important;
    right: auto !important;
    background: #000;
}

/* Shell — fills available space, centred, 16:9 ratio preserved */
.sf-player-modal .sfp-shell {
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: unset !important;
    min-height: unset !important;
    margin: 0 !important;
    left: auto !important;
    right: auto !important;
    max-height: 100%;
}
.sf-player-modal #sfp-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
@supports not (aspect-ratio: 16/9) {
    .sf-player-modal .sfp-shell { padding-top: 0; height: 100% !important; }
}

/* Subtitle position */
.sf-player-modal .sfp-sub-display { bottom: 76px; }

/* ══ Playing Next sidebar ══ */
.sf-playing-next {
    width: 320px;
    height: 100%;
    flex-shrink: 0;
    background: #141414;
    border-left: 1px solid rgba(255,255,255,.07);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.sf-pn-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px 10px;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255,255,255,.5);
    border-bottom: 1px solid rgba(255,255,255,.06);
    flex-shrink: 0;
}

.sf-pn-countdown {
    display: none;
    align-items: center;
    gap: 6px;
    font-size: .72rem;
    font-weight: 400;
    color: var(--gold, #c9941a);
    text-transform: none;
    letter-spacing: 0;
}
.sf-pn-countdown strong { font-size: .88rem; }
.sf-pn-countdown button {
    background: none;
    border: none;
    color: rgba(255,255,255,.4);
    cursor: pointer;
    font-size: .8rem;
    padding: 0 2px;
}
.sf-pn-countdown button:hover { color: #fff; }

.sf-pn-list {
    overflow-y: auto;
    flex: 1 1 auto;
    padding: 8px 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,.1) transparent;
}

.sf-pn-item {
    display: flex;
    gap: 10px;
    padding: 8px 14px;
    cursor: pointer;
    transition: background .18s;
    border-radius: 6px;
    margin: 2px 8px;
}
.sf-pn-item:hover { background: rgba(255,255,255,.06); }
.sf-pn-item.sf-pn-ticking { background: rgba(201,148,26,.08); }

.sf-pn-thumb {
    position: relative;
    width: 90px;
    height: 56px;
    border-radius: 5px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
    overflow: hidden;
    background-color: #111;
}
.sf-pn-thumb video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity .3s;
    pointer-events: none;
}
.sf-pn-item:hover .sf-pn-thumb video { opacity: 1; }
.sf-pn-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: rgba(255,255,255,.9);
    opacity: 0;
    transition: opacity .2s;
    background: rgba(0,0,0,.35);
    border-radius: 5px;
}
.sf-pn-item:hover .sf-pn-play { opacity: 1; }

.sf-pn-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-top: 2px;
}
.sf-pn-label {
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--gold, #c9941a);
}
.sf-pn-title {
    font-size: .82rem;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
}
.sf-pn-dir {
    font-size: .72rem;
    color: rgba(255,255,255,.45);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sf-pn-dur {
    font-size: .7rem;
    color: rgba(255,255,255,.35);
    margin: 0;
}

/* ══ Responsive ══ */
@media (max-width: 860px) {
    .sf-player-modal-body   { flex-direction: column; }
    .sf-playing-next        { width: 100%; height: auto; max-height: 200px; border-left: none; border-top: 1px solid rgba(255,255,255,.07); }
    .sf-pn-list             { display: flex; flex-direction: row; gap: 0; padding: 8px; overflow-x: auto; overflow-y: hidden; }
    .sf-pn-item             { flex-direction: column; width: 110px; flex-shrink: 0; margin: 0 4px; padding: 6px 4px; }
    .sf-pn-thumb            { width: 100%; height: 62px; }
    .sf-pn-dir, .sf-pn-dur  { display: none; }
    .sf-player-modal-main   { flex: 0 0 auto; }
}
@media (max-width: 540px) {
    .sf-player-modal        { padding: 0; }
    .sf-player-modal-inner  { border-radius: 0; }
    .sf-playing-next        { max-height: 150px; }
    .sf-pn-item             { width: 95px; }
    .sf-pn-thumb            { height: 54px; }
    .sf-player-modal-close  { top: 10px; right: 12px; width: 34px; height: 34px; font-size: 1rem; }
}

/* ══════════════════════════════════════════════════════════
   CARD HOVER PREVIEW POPUP  (.sf-card-popup)
══════════════════════════════════════════════════════════ */
.sf-card-popup {
    position: absolute;
    z-index: 88888;
    width: 320px;
    background: #181818;
    border-radius: 10px;
    box-shadow: 0 16px 64px rgba(0,0,0,.85), 0 0 0 1px rgba(255,255,255,.07);
    overflow: hidden;
    pointer-events: auto;
    opacity: 0;
    transform: scale(.92) translateY(8px);
    transition: opacity .22s ease, transform .22s ease;
    /* Hidden by default */
    visibility: hidden;
}
.sf-card-popup.sf-cp-visible {
    opacity: 1;
    transform: scale(1) translateY(0);
    visibility: visible;
}

/* ── Media area (16:9) ── */
.sf-cp-media {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background: #000;
    overflow: hidden;
}
.sf-cp-poster {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: opacity .5s;
}
.sf-cp-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity .6s ease;
}
/* Fade in video once it starts playing */
.sf-cp-video:not([src=""]):not([src]) { opacity: 0; }
.sf-card-popup.sf-cp-video-playing .sf-cp-video { opacity: 1; }
.sf-card-popup.sf-cp-video-playing .sf-cp-poster { opacity: 0; }
.sf-cp-gradient {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 55%;
    background: linear-gradient(to top, #181818, transparent);
    pointer-events: none;
}

/* ── Body ── */
.sf-cp-body {
    padding: 12px 14px 14px;
}
.sf-cp-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 10px;
}
.sf-cp-play {
    font-size: .8rem !important;
    padding: 7px 16px !important;
    border-radius: 5px !important;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 700;
}
.sf-cp-wl {
    width: 32px;
    height: 32px;
    border-radius: 50% !important;
    font-size: 1.2rem !important;
    padding: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    flex-shrink: 0;
    border: 2px solid rgba(255,255,255,.5) !important;
    transition: border-color .2s, background .2s;
}
.sf-cp-wl.sf-wled {
    border-color: var(--gold, #c9941a) !important;
    color: var(--gold, #c9941a) !important;
}
.sf-cp-title {
    font-size: .92rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 6px;
    line-height: 1.25;
}
.sf-cp-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 8px;
}
.sf-cp-chips .sf-chip {
    font-size: .68rem;
    padding: 2px 7px;
    border-radius: 3px;
    background: rgba(255,255,255,.1);
    color: rgba(255,255,255,.7);
}
.sf-cp-synopsis {
    font-size: .76rem;
    color: rgba(255,255,255,.58);
    line-height: 1.55;
    margin: 0 0 5px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.sf-cp-dir {
    font-size: .7rem;
    color: rgba(255,255,255,.38);
    margin: 0;
    font-style: italic;
}

/* ── Card inner link ── */
.sf-card-inner {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

/* ── Mobile: disable popup entirely, keep card tap ── */
@media (hover: none), (max-width: 600px) {
    .sf-card-popup { display: none !important; }
}

/* ══════════════════════════════════════════════════════════
   ROLE SELECTOR (signup page)
══════════════════════════════════════════════════════════ */
.sf-role-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
}
.sf-role-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 16px 12px;
    background: rgba(255,255,255,.05);
    border: 2px solid rgba(255,255,255,.1);
    border-radius: 10px;
    color: rgba(255,255,255,.65);
    cursor: pointer;
    transition: all .2s;
    text-align: center;
}
.sf-role-btn:hover { border-color: rgba(201,148,26,.5); background: rgba(201,148,26,.07); }
.sf-role-btn.sf-role-active {
    border-color: var(--gold, #c9941a);
    background: rgba(201,148,26,.12);
    color: #fff;
}
.sf-role-icon { font-size: 1.6rem; line-height: 1; }
.sf-role-label { font-weight: 700; font-size: .9rem; }
.sf-role-sub { font-size: .72rem; color: rgba(255,255,255,.45); }
.sf-role-active .sf-role-sub { color: rgba(255,255,255,.65); }


/* ══════════════════════════════════════════════════════════
   FILMMAKER CHECKBOX
══════════════════════════════════════════════════════════ */
.sf-filmmaker-check {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 16px;
    background: rgba(200,146,26,.05);
    border: 1.5px solid rgba(200,146,26,.18);
    border-radius: 8px;
    cursor: pointer;
    margin-bottom: 20px;
    transition: background .18s, border-color .18s;
    user-select: none;
    -webkit-user-select: none;
}
.sf-filmmaker-check:hover {
    background: rgba(200,146,26,.1);
    border-color: rgba(200,146,26,.38);
}
.sf-fc-box {
    width: 20px; height: 20px;
    border-radius: 4px;
    border: 2px solid rgba(200,146,26,.45);
    background: transparent;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    transition: background .15s, border-color .15s;
}
.sf-fc-box svg { width: 11px; height: 9px; display: none; }
.sf-fc-box.sf-fc-checked {
    background: var(--gold, #c8921a);
    border-color: var(--gold, #c8921a);
}
.sf-fc-box.sf-fc-checked svg { display: block; }
.sf-fc-main {
    font-size: .9rem;
    font-weight: 600;
    color: var(--cream, #f0e6d0);
    font-family: 'DM Sans', sans-serif;
    letter-spacing: .01em;
}
.sf-filmmaker-check:has(.sf-fc-checked) { border-color: var(--gold); background: rgba(200,146,26,.1); }
.sf-filmmaker-check:has(.sf-fc-checked) .sf-fc-main { color: var(--gold2, #e0a830); }

/* Country select */
.sf-country-wrap { position: relative; }
.sf-country-select {
    width: 100%;
    background: rgba(200,146,26,.04) !important;
    border: 1px solid rgba(200,146,26,.15) !important;
    border-radius: 8px;
    color: var(--cream, #f0e6d0) !important;
    padding: 11px 36px 11px 38px !important;
    font-family: 'DM Sans', sans-serif;
    font-size: .9rem;
    appearance: none; -webkit-appearance: none;
    cursor: pointer;
    transition: border-color .2s;
}
.sf-country-select:focus { outline: none; border-color: var(--gold) !important; }
.sf-country-select option { background: #0f0f0f; color: #f0e6d0; }
.sf-country-arrow {
    position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
    width: 12px; height: 8px; color: var(--muted); pointer-events: none;
}

/* ══════════════════════════════════════════════════════════
   FILMMAKER DASHBOARD — IMDb-style
══════════════════════════════════════════════════════════ */
.sf-fmd-wrap { background: var(--bg, #080806); min-height: 100vh; }

/* ── Hero ── */
.sf-fmd-hero {
    position: relative;
    padding: 90px 0 48px;  /* top: matches fixed nav height so hero content isn't hidden behind nav */
    overflow: hidden;
}
.sf-fmd-hero-bg {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, #0c0902 0%, #1c1408 60%, #0c0902 100%);
    z-index: 0;
}
.sf-fmd-hero::after {
    content: '';
    position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(200,146,26,.3), transparent);
}
.sf-fmd-hero-inner {
    position: relative; z-index: 1;
    display: flex; gap: 32px; align-items: flex-start;
}
.sf-fmd-hero-info { flex: 1; min-width: 0; }
.sf-fmd-hero-eyebrow {
    display: flex; align-items: center; gap: 14px;
    flex-wrap: wrap; margin-bottom: 10px;
}
.sf-fmd-badge-filmmaker {
    font-size: .68rem; font-weight: 700; letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--gold, #c8921a);
    border: 1px solid rgba(200,146,26,.35);
    padding: 3px 10px; border-radius: 20px;
    background: rgba(200,146,26,.08);
}
.sf-fmd-hero-loc, .sf-fmd-hero-since {
    font-size: .78rem; color: var(--muted, #8a7a5a);
}
.sf-fmd-hero-name {
    font-size: clamp(1.8rem,4vw,3rem); font-weight: 800;
    margin: 0 0 10px; line-height: 1.1;
    font-family: 'Cormorant Garamond', serif;
    color: var(--cream, #f0e6d0);
}
.sf-fmd-hero-bio {
    font-size: .9rem; color: rgba(240,230,208,.65);
    line-height: 1.7; max-width: 560px; margin: 0 0 14px;
}
.sf-fmd-hero-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.sf-fmd-tag {
    font-size: .72rem; font-weight: 600; letter-spacing: .05em;
    padding: 3px 10px; border-radius: 4px;
    background: rgba(200,146,26,.1);
    border: 1px solid rgba(200,146,26,.2);
    color: var(--sand, #d0b080);
}
.sf-fmd-hero-actions { display: flex; flex-direction: column; gap: 8px; flex-shrink: 0; }
.sf-fmd-hero-stats-col { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; flex-shrink: 0; }
.sf-fmd-pub-stat { text-align: right; }
.sf-fmd-pub-val { display: block; font-size: 1.5rem; font-weight: 800; color: var(--cream); font-variant-numeric: tabular-nums; }
.sf-fmd-pub-lbl { font-size: .68rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }

/* ── Hero avatar ── */
.sf-fmd-hero-avatar-wrap {
    flex-shrink: 0;
    display: flex;
    align-items: flex-start;
    padding-top: 4px;
}
.sf-fmd-hero-avatar {
    width: 96px; height: 96px;
    max-width: 96px !important; max-height: 96px !important;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(200,146,26,.45);
    box-shadow: 0 0 0 1px rgba(200,146,26,.15), 0 4px 20px rgba(0,0,0,.5);
    background: #1a1a1a;
    display: block !important;
    flex-shrink: 0;
}
.sf-fmd-hero-avatar-initials {
    width: 96px; height: 96px;
    max-width: 96px; max-height: 96px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, rgba(200,146,26,.25) 0%, rgba(200,146,26,.1) 100%);
    color: var(--gold, #c8921a);
    font-size: 1.7rem; font-weight: 800;
    font-family: 'Cormorant Garamond', serif;
    letter-spacing: .02em;
    user-select: none;
    border: 3px solid rgba(200,146,26,.45);
    flex-shrink: 0;
}
@media (max-width: 600px) {
    .sf-fmd-hero-avatar { width: 72px; height: 72px; font-size: 1.3rem; }
}

/* ── Profile picture upload (Edit Profile tab) ── */
.sf-fmd-pp-section {
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(200,146,26,.1);
}
.sf-fmd-pp-label {
    display: block;
    font-size: .72rem;
    color: var(--muted, #8a7a5a);
    text-transform: uppercase;
    letter-spacing: .07em;
    margin-bottom: 14px;
    font-weight: 700;
}
.sf-fmd-pp-row {
    display: flex;
    gap: 20px;
    align-items: center;
}
.sf-fmd-pp-preview-wrap { flex-shrink: 0; }
.sf-fmd-pp-preview {
    width: 80px; height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(200,146,26,.35);
    box-shadow: 0 2px 10px rgba(0,0,0,.4);
    display: flex; align-items: center; justify-content: center;
}
.sf-fmd-pp-placeholder {
    background: rgba(200,146,26,.07);
}
.sf-fmd-pp-placeholder svg {
    width: 36px; height: 36px;
    color: rgba(200,146,26,.4);
    stroke: rgba(200,146,26,.4);
}
.sf-fmd-pp-controls { flex: 1; min-width: 0; }
.sf-fmd-pp-hint {
    font-size: .75rem; color: var(--muted); margin: 0 0 10px; line-height: 1.5;
}
.sf-fmd-pp-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.sf-btn-danger { color: #f87171 !important; border-color: rgba(248,113,113,.35) !important; }
.sf-btn-danger:hover { background: rgba(248,113,113,.08) !important; border-color: #f87171 !important; }
.sf-fmd-pp-progress-bar {
    width: 100%; height: 4px;
    background: rgba(255,255,255,.08);
    border-radius: 2px; overflow: hidden;
}
.sf-fmd-pp-progress-bar > div {
    height: 100%; width: 0;
    background: var(--gold, #c8921a);
    border-radius: 2px;
    transition: width .2s ease;
}

/* ── Cover image upload (Edit Profile tab) ── */
.sf-fmd-cover-preview-wrap { margin-bottom: 14px; }
.sf-fmd-cover-preview {
    width: 100%;
    height: 160px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid rgba(200,146,26,.2);
    display: flex; align-items: center; justify-content: center;
    background: rgba(200,146,26,.05);
}
.sf-fmd-cover-placeholder { background: rgba(200,146,26,.07); }
.sf-fmd-cover-placeholder svg {
    width: 40px; height: 40px;
    color: rgba(200,146,26,.4);
    stroke: rgba(200,146,26,.4);
}

/* ── Stat bar ── */
.sf-fmd-statbar {
    background: rgba(255,255,255,.02);
    border-bottom: 1px solid rgba(200,146,26,.1);
}
.sf-fmd-statbar-inner {
    display: flex; align-items: center; gap: 0;
    padding-top: 20px; padding-bottom: 20px;
    flex-wrap: wrap;
}
.sf-fmd-sb-stat { padding: 0 28px; text-align: center; }
.sf-fmd-sb-val {
    display: block; font-size: 1.3rem; font-weight: 800;
    color: var(--cream); font-variant-numeric: tabular-nums;
}
.sf-fmd-sb-earn .sf-fmd-sb-val, .sf-fmd-sb-balance .sf-fmd-sb-val { color: var(--gold, #c8921a); }
.sf-fmd-sb-lbl { font-size: .68rem; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; }
.sf-fmd-sb-divider { width: 1px; height: 36px; background: rgba(200,146,26,.12); flex-shrink: 0; }

/* ── Withdraw panel ── */
.sf-fmd-withdraw-panel {
    background: rgba(200,146,26,.04);
    border-bottom: 1px solid rgba(200,146,26,.12);
    padding: 28px 0;
}
.sf-fmd-wp-inner { max-width: 720px; }
.sf-fmd-wp-inner h3 { margin: 0 0 20px; font-size: 1rem; color: var(--gold); font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; }
.sf-fmd-wp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.sf-fmd-wp-full { grid-column: 1 / -1; }
.sf-fmd-wp-field label { display: block; font-size: .75rem; color: var(--muted); margin-bottom: 5px; letter-spacing: .04em; text-transform: uppercase; }
.sf-fmd-wp-field input,
.sf-fmd-wp-field select,
.sf-fmd-wp-field textarea {
    width: 100%; padding: 10px 12px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(200,146,26,.15);
    border-radius: 6px; color: var(--cream); font-size: .875rem;
    outline: none; box-sizing: border-box;
    font-family: 'DM Sans', sans-serif;
    transition: border-color .2s;
}
.sf-fmd-wp-field input:focus,
.sf-fmd-wp-field select:focus,
.sf-fmd-wp-field textarea:focus { border-color: var(--gold); }
.sf-fmd-wp-field select { appearance: none; cursor: pointer; }
.sf-fmd-wp-field select option { background: #0f0f0f; }
.sf-fmd-wp-btns { display: flex; gap: 10px; margin-top: 16px; }

/* ── Disabled button state ── */
.sf-btn-disabled {
    opacity: .4 !important;
    cursor: not-allowed !important;
    pointer-events: none;
}

/* ══ Payout section (upload form) ══ */
/* ══════════════════════════════
   COLLABORATOR / REVENUE SPLIT
══════════════════════════════ */
.sf-collab-section {
    background: rgba(200,146,26,.03);
    border: 1px solid rgba(200,146,26,.14);
    border-radius: 14px;
    padding: 20px 22px 22px;
}
.sf-collab-header {
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.sf-collab-title {
    font-size: .8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--cream, #f0e6d0);
}
.sf-collab-subtitle {
    font-size: .74rem;
    color: var(--muted, #8a7a5a);
    line-height: 1.5;
}

/* Individual collaborator row */
.sf-collab-row {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    padding: 14px 14px 14px 14px;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 10px;
    margin-bottom: 10px;
    animation: sfCollabIn .18s ease;
}
@keyframes sfCollabIn {
    from { opacity:0; transform:translateY(-6px); }
    to   { opacity:1; transform:translateY(0); }
}
.sf-collab-fields {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 10px;
    flex: 1;
    align-items: end;
}
.sf-collab-field label {
    display: block;
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: var(--muted);
    margin-bottom: 5px;
}
.sf-collab-field input,
.sf-collab-field select {
    width: 100%;
    padding: 9px 12px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(200,146,26,.14);
    border-radius: 8px;
    color: var(--cream, #f0e6d0);
    font-size: .85rem;
    font-family: 'DM Sans', sans-serif;
    outline: none;
    box-sizing: border-box;
    transition: border-color .18s, box-shadow .18s;
    appearance: none; -webkit-appearance: none;
}
.sf-collab-field input:focus,
.sf-collab-field select:focus {
    border-color: var(--gold, #c8921a);
    box-shadow: 0 0 0 3px rgba(200,146,26,.1);
}
.sf-collab-field select option { background: #0f0f0f; color: #f0e6d0; }
.sf-collab-pct-wrap {
    position: relative;
}
.sf-collab-pct-wrap input {
    padding-right: 28px;
}
.sf-collab-pct-sym {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: .8rem;
    color: var(--muted);
    pointer-events: none;
}
.sf-collab-pct input { text-align: right; }

/* Remove button */
.sf-collab-remove {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 8px;
    background: rgba(255,255,255,.04);
    color: var(--muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s, color .15s, border-color .15s;
    padding: 0;
    margin-bottom: 1px;
}
.sf-collab-remove:hover {
    background: rgba(224,80,80,.15);
    border-color: rgba(224,80,80,.4);
    color: #e05050;
}

/* Summary bar */
.sf-collab-summary {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(255,255,255,.02);
    border-radius: 8px;
    margin-bottom: 12px;
    font-size: .78rem;
    flex-wrap: wrap;
}
.sf-collab-summary-label {
    color: var(--muted);
    flex-shrink: 0;
}
.sf-collab-summary-bar-wrap {
    flex: 1;
    height: 6px;
    background: rgba(255,255,255,.08);
    border-radius: 3px;
    overflow: hidden;
    min-width: 60px;
}
.sf-collab-summary-bar {
    display: block;
    height: 100%;
    border-radius: 3px;
    background: var(--gold, #c8921a);
    transition: width .25s, background .25s;
    width: 0%;
}
.sf-collab-summary-pct {
    font-weight: 700;
    color: var(--gold, #c8921a);
    flex-shrink: 0;
    min-width: 36px;
    text-align: right;
}
.sf-collab-summary-you {
    color: var(--muted);
    flex-shrink: 0;
    border-left: 1px solid rgba(255,255,255,.08);
    padding-left: 10px;
}
.sf-collab-summary-you strong {
    color: var(--cream, #f0e6d0);
}

/* Error */
.sf-collab-error {
    font-size: .78rem;
    color: #e05050;
    background: rgba(224,80,80,.08);
    border: 1px solid rgba(224,80,80,.2);
    border-radius: 7px;
    padding: 8px 12px;
    margin-bottom: 10px;
}

/* Add button */
.sf-collab-add-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 16px;
    background: transparent;
    border: 1px dashed rgba(200,146,26,.35);
    border-radius: 8px;
    color: var(--gold, #c8921a);
    font-size: .8rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s, border-color .15s;
    font-family: 'DM Sans', sans-serif;
    letter-spacing: .03em;
    margin-top: 4px;
}
.sf-collab-add-btn:hover {
    background: rgba(200,146,26,.07);
    border-color: rgba(200,146,26,.55);
}
.sf-collab-add-btn:disabled {
    opacity: .35;
    cursor: not-allowed;
    pointer-events: none;
}

/* Responsive */
@media (max-width: 700px) {
    .sf-collab-fields {
        grid-template-columns: 1fr 1fr;
    }
    .sf-collab-name,
    .sf-collab-email {
        grid-column: span 2;
    }
}
@media (max-width: 480px) {
    .sf-collab-row { flex-direction: column; align-items: stretch; }
    .sf-collab-fields { grid-template-columns: 1fr; }
    .sf-collab-name, .sf-collab-email { grid-column: span 1; }
    .sf-collab-remove { align-self: flex-end; }
}

.sf-payout-section {
    background: rgba(200,146,26,.03);
    border: 1px solid rgba(200,146,26,.14);
    border-radius: 14px;
    padding: 20px 22px 22px;
}
.sf-payout-header {
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.sf-payout-title {
    font-size: .8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--cream, #f0e6d0);
}
.sf-payout-subtitle {
    font-size: .74rem;
    color: var(--muted, #8a7a5a);
}
.sf-payout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.sf-payout-full { grid-column: 1 / -1; }
.sf-payout-field label {
    display: block;
    font-size: .72rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .07em;
    margin-bottom: 6px;
    font-weight: 700;
}
.sf-payout-field select,
.sf-payout-field textarea {
    width: 100%;
    padding: 10px 14px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(200,146,26,.14);
    border-radius: 8px;
    color: var(--cream, #f0e6d0);
    font-size: .875rem;
    font-family: 'DM Sans', sans-serif;
    outline: none;
    resize: vertical;
    box-sizing: border-box;
    transition: border-color .18s, box-shadow .18s;
    appearance: none; -webkit-appearance: none;
}
.sf-payout-field select { cursor: pointer; }
.sf-payout-field select option,
.sf-payout-field select optgroup { background: #0f0f0f; color: #f0e6d0; }
.sf-payout-field select:focus,
.sf-payout-field textarea:focus {
    border-color: var(--gold, #c8921a);
    box-shadow: 0 0 0 3px rgba(200,146,26,.1);
}
.sf-payout-hint {
    display: block;
    font-size: .72rem;
    color: var(--muted);
    margin-top: 5px;
    line-height: 1.5;
}
@media (max-width: 600px) {
    .sf-payout-grid { grid-template-columns: 1fr; }
    .sf-payout-full { grid-column: 1; }
}

/* ── Body ── */
.sf-fmd-body { padding: 40px 0 80px; }

/* ── Tabs ── */
.sf-fmd-tabs {
    display: flex; gap: 0;
    border-bottom: 1px solid rgba(200,146,26,.12);
    margin-bottom: 36px;
    overflow-x: auto;
}
.sf-fmd-tab {
    background: none; border: none;
    padding: 12px 22px;
    font-size: .85rem; font-weight: 600;
    color: var(--muted); cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: color .2s, border-color .2s;
    white-space: nowrap;
    font-family: 'DM Sans', sans-serif;
}
.sf-fmd-tab:hover { color: var(--cream); }
.sf-fmd-tab-active { color: var(--gold) !important; border-bottom-color: var(--gold) !important; }
.sf-fmd-tab-upgrade { color: var(--gold2) !important; margin-left: auto; }

/* ── Portfolio grid ── */
.sf-fmd-portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}
.sf-fmd-pf-card {
    background: var(--card, #16140a);
    border: 1px solid rgba(200,146,26,.12);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color .2s, transform .2s, box-shadow .2s;
}
.sf-fmd-pf-card:hover {
    border-color: rgba(200,146,26,.35);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0,0,0,.5);
}
.sf-fmd-pf-thumb {
    display: block;
    width: 100%; aspect-ratio: 16/9;
    background: #0c0902 center/cover no-repeat;
    position: relative; overflow: hidden;
    text-decoration: none;
}
@supports not (aspect-ratio: 16/9) {
    .sf-fmd-pf-thumb { padding-top: 56.25%; height: 0; }
    .sf-fmd-pf-thumb > * { position: absolute; top: 0; left: 0; }
}
.sf-fmd-pf-thumb:hover .sf-fmd-pf-play { opacity: 1; }
.sf-fmd-pf-play {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity .2s;
    background: rgba(0,0,0,.25);
}
.sf-fmd-pf-play svg { width: 52px; height: 52px; }
.sf-fmd-pf-dur {
    position: absolute; bottom: 8px; right: 8px;
    background: rgba(0,0,0,.75); color: #fff;
    font-size: .68rem; font-weight: 700;
    padding: 2px 7px; border-radius: 4px;
    font-family: 'DM Sans', sans-serif; letter-spacing: .04em;
}
.sf-fmd-pf-body { padding: 16px 18px 18px; }
.sf-fmd-pf-badges { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.sf-fmd-pf-genre {
    font-size: .65rem; font-weight: 700; letter-spacing: .08em;
    text-transform: uppercase; padding: 2px 8px; border-radius: 3px;
    background: rgba(200,146,26,.12); color: var(--gold);
    border: 1px solid rgba(200,146,26,.2);
}
.sf-fmd-pf-year  { font-size: .7rem; color: var(--muted); padding: 2px 0; }
.sf-fmd-pf-prem  { font-size: .65rem; font-weight: 700; letter-spacing: .07em; padding: 2px 8px; border-radius: 3px; background: rgba(200,146,26,.18); color: var(--gold2); border: 1px solid rgba(200,146,26,.3); }
.sf-fmd-pf-free  { font-size: .65rem; font-weight: 700; letter-spacing: .07em; padding: 2px 8px; border-radius: 3px; background: rgba(40,160,90,.12); color: #4ade80; border: 1px solid rgba(40,160,90,.25); }
.sf-fmd-pf-title { margin: 0 0 6px; font-size: 1rem; font-weight: 700; font-family: 'Cormorant Garamond', serif; line-height: 1.25; }
.sf-fmd-pf-title a { color: var(--cream); text-decoration: none; }
.sf-fmd-pf-title a:hover { color: var(--gold); }
.sf-fmd-pf-excerpt { font-size: .78rem; color: var(--muted); line-height: 1.55; margin: 0 0 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sf-fmd-pf-meta { display: flex; justify-content: space-between; font-size: .72rem; color: var(--muted); margin-bottom: 6px; }
.sf-fmd-pf-earn { color: var(--gold); font-weight: 600; }
.sf-fmd-pf-actions { display: flex; gap: 8px; margin-top: 10px; }

/* ── Empty state ── */
.sf-fmd-empty { text-align: center; padding: 80px 20px; }
.sf-fmd-empty-icon { font-size: 3rem; margin-bottom: 16px; }
.sf-fmd-empty h3 { margin: 0 0 8px; font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; }
.sf-fmd-empty p { color: var(--muted); }

/* ── Earnings tab ── */
.sf-fmd-earn-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-bottom: 32px; }
.sf-fmd-earn-card {
    display: flex; gap: 16px; align-items: center;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(200,146,26,.12);
    border-radius: 10px; padding: 20px;
}
.sf-fmd-earn-card-hi { background: rgba(200,146,26,.06); border-color: rgba(200,146,26,.25); }
.sf-fmd-earn-icon { font-size: 1.6rem; }
.sf-fmd-earn-val { display: block; font-size: 1.3rem; font-weight: 800; color: var(--cream); font-variant-numeric: tabular-nums; }
.sf-fmd-earn-card-hi .sf-fmd-earn-val { color: var(--gold); }
.sf-fmd-earn-lbl { font-size: .7rem; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; }

.sf-fmd-earn-table { background: rgba(255,255,255,.02); border: 1px solid rgba(200,146,26,.1); border-radius: 10px; overflow: hidden; }
.sf-fmd-et-head { display: grid; grid-template-columns: 1fr 100px 130px; padding: 12px 18px; background: rgba(200,146,26,.06); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); border-bottom: 1px solid rgba(200,146,26,.1); }
.sf-fmd-et-row { display: grid; grid-template-columns: 1fr 100px 130px; padding: 13px 18px; border-bottom: 1px solid rgba(255,255,255,.04); transition: background .15s; }
.sf-fmd-et-row:last-child { border-bottom: none; }
.sf-fmd-et-row:hover { background: rgba(200,146,26,.04); }
.sf-fmd-et-title { color: var(--cream); font-size: .875rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sf-fmd-et-views { color: var(--muted); font-size: .875rem; font-variant-numeric: tabular-nums; }
.sf-fmd-et-earn { color: var(--gold); font-weight: 700; font-size: .875rem; font-variant-numeric: tabular-nums; }

/* ── Edit profile tab ── */
.sf-fmd-edit-form { max-width: 680px; }

/* Edit profile form fields */
.sf-fmd-ef-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sf-fmd-ef-full { grid-column: 1 / -1; }
.sf-fmd-ef-field label {
    display: block;
    font-size: .72rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .07em;
    margin-bottom: 7px;
    font-weight: 700;
}
.sf-fmd-ef-field input,
.sf-fmd-ef-field textarea {
    width: 100%;
    padding: 11px 14px;
    background: rgba(200,146,26,.04);
    border: 1px solid rgba(200,146,26,.15);
    border-radius: 7px;
    color: var(--cream);
    font-size: .9rem;
    font-family: 'DM Sans', sans-serif;
    outline: none;
    box-sizing: border-box;
    transition: border-color .2s, box-shadow .2s;
}
.sf-fmd-ef-field input:focus,
.sf-fmd-ef-field textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(200,146,26,.1);
}
.sf-fmd-ef-select-wrap { position: relative; }
.sf-fmd-ef-select-wrap select {
    width: 100%;
    padding: 11px 36px 11px 14px;
    background: rgba(200,146,26,.04);
    border: 1px solid rgba(200,146,26,.15);
    border-radius: 7px;
    color: var(--cream);
    font-size: .9rem;
    font-family: 'DM Sans', sans-serif;
    appearance: none; -webkit-appearance: none; cursor: pointer;
    outline: none; box-sizing: border-box;
    transition: border-color .2s;
}
.sf-fmd-ef-select-wrap select:focus { border-color: var(--gold); }
.sf-fmd-ef-select-wrap select option { background: #0f0f0f; }
.sf-fmd-ef-arrow {
    position: absolute; right: 13px; top: 50%;
    transform: translateY(-50%);
    width: 12px; height: 8px;
    color: var(--muted); pointer-events: none;
}

/* ══════════════════════════════════════════════════════════
   COLLABORATOR SYSTEM — polished
══════════════════════════════════════════════════════════ */



/* ══ Responsive ══ */
@media (max-width: 480px) {
    .sf-film-crew-grid   { grid-template-columns: 1fr 1fr; }
}

/* ═══════════════════════════════════════════════════════════
   FILMMAKER PUBLIC PROFILE  (sf-fp-*)
   Added by filmmaker-profile-page.php
═══════════════════════════════════════════════════════════ */

/* ── Wrapper ── */
.sf-fp-wrap {
    background: var(--bg, #080806);
    min-height: 100vh;
    color: var(--text, #d8c8a0);
    font-family: 'Outfit', sans-serif;
}

/* ── Hero ── */
.sf-fp-hero {
    position: relative;
    padding: 56px 0 40px;
    border-bottom: 1px solid var(--border, rgba(200,146,26,.18));
    overflow: hidden;
}
.sf-fp-hero-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 60% at 30% 0%, rgba(200,146,26,.08) 0%, transparent 70%);
    pointer-events: none;
}
.sf-fp-hero-inner {
    display: flex;
    align-items: flex-start;
    gap: 32px;
    position: relative;
    z-index: 1;
}

/* ── Info ── */
.sf-fp-hero-info { flex: 1; min-width: 0; }
.sf-fp-eyebrow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}
.sf-fp-badge {
    background: rgba(200,146,26,.15);
    color: var(--gold, #c8921a);
    border: 1px solid rgba(200,146,26,.3);
    border-radius: 100px;
    padding: 2px 10px;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.sf-fp-role-title {
    font-size: .78rem;
    color: var(--gold, #c8921a);
    font-weight: 600;
    letter-spacing: .03em;
}
.sf-fp-loc, .sf-fp-since {
    font-size: .72rem;
    color: var(--muted, #8a7a5a);
}
.sf-fp-name {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--cream, #f0e6d0);
    margin: 0 0 4px;
    line-height: 1.1;
}
.sf-fp-handle {
    font-size: .85rem;
    color: var(--muted, #8a7a5a);
    margin: 0 0 10px;
    font-family: 'Outfit', sans-serif;
}
.sf-fp-genre-spec {
    font-size: .8rem;
    color: var(--muted, #8a7a5a);
    margin: 0 0 10px;
    font-style: italic;
    letter-spacing: .02em;
}
.sf-fp-bio {
    font-size: .9rem;
    color: var(--text, #d8c8a0);
    line-height: 1.65;
    margin: 0 0 12px;
    max-width: 560px;
}
.sf-fp-quote {
    border-left: 3px solid var(--gold, #c8921a);
    margin: 0 0 14px;
    padding: 8px 0 8px 16px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.05rem;
    font-style: italic;
    color: var(--cream, #f0e6d0);
    opacity: .85;
    max-width: 480px;
}
.sf-fp-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.sf-fp-tag {
    background: rgba(200,146,26,.1);
    border: 1px solid rgba(200,146,26,.2);
    color: var(--text, #d8c8a0);
    padding: 2px 10px;
    border-radius: 100px;
    font-size: .72rem;
    letter-spacing: .04em;
}

/* ── Social icons ── */
.sf-fp-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}
.sf-fp-social {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,.05);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted, #8a7a5a);
    transition: all .2s;
    text-decoration: none;
}
.sf-fp-social svg { width: 16px; height: 16px; }
.sf-fp-social:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.sf-fp-social-ig:hover { color: #e1306c; border-color: #e1306c; }
.sf-fp-social-x:hover  { color: #fff;    border-color: #555; }
.sf-fp-social-yt:hover { color: #ff0000; border-color: #ff0000; }
.sf-fp-social-tt:hover { color: #69c9d0; border-color: #69c9d0; }
.sf-fp-social-li:hover { color: #0077b5; border-color: #0077b5; }

/* ── Stats + follow ── */
.sf-fp-hero-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    flex-shrink: 0;
    gap: 0;
}
.sf-fp-stats-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-end;
}
.sf-fp-stat { text-align: right; }
.sf-fp-stat-val {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--cream, #f0e6d0);
    font-variant-numeric: tabular-nums;
    line-height: 1;
}
.sf-fp-stat-lbl {
    display: block;
    font-size: .65rem;
    color: var(--muted, #8a7a5a);
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-top: 2px;
}
.sf-fp-btn-following {
    color: var(--gold) !important;
    border-color: rgba(200,146,26,.4) !important;
}

/* ── Awards bar ── */
.sf-fp-awards-bar {
    background: rgba(200,146,26,.05);
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
}
.sf-fp-awards-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.sf-fp-awards-label {
    font-size: .72rem;
    font-weight: 700;
    color: var(--gold, #c8921a);
    text-transform: uppercase;
    letter-spacing: .08em;
    flex-shrink: 0;
}
.sf-fp-awards-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.sf-fp-award-item {
    font-size: .75rem;
    color: var(--text, #d8c8a0);
    background: rgba(200,146,26,.08);
    border: 1px solid rgba(200,146,26,.2);
    border-radius: 4px;
    padding: 3px 10px;
}

/* ── Body / Filmography ── */
.sf-fp-body { padding: 48px 0 80px; }
.sf-fp-section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--cream, #f0e6d0);
    margin: 0 0 28px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}
.sf-fp-empty {
    color: var(--muted, #8a7a5a);
    font-size: .9rem;
    padding: 32px 0;
}

/* ── Film grid ── */
.sf-fp-films-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}
.sf-fp-film-card {
    background: var(--card, #16140a);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color .2s, transform .2s;
}
.sf-fp-film-card:hover {
    border-color: rgba(200,146,26,.45);
    transform: translateY(-3px);
}
.sf-fp-film-thumb-link { display: block; }
.sf-fp-film-thumb {
    position: relative;
    aspect-ratio: 2/3;
    overflow: hidden;
    background: #0f0f0f;
}
.sf-fp-film-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s;
}
.sf-fp-film-card:hover .sf-fp-film-thumb img { transform: scale(1.04); }
.sf-fp-film-thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    opacity: .3;
}
.sf-fp-film-badge-prem {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--gold, #c8921a);
    color: #000;
    font-size: .6rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 100px;
}
.sf-fp-film-dur {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0,0,0,.7);
    color: #fff;
    font-size: .68rem;
    padding: 2px 7px;
    border-radius: 4px;
}
.sf-fp-film-info { padding: 14px 14px 16px; }
.sf-fp-film-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 6px;
    line-height: 1.25;
}
.sf-fp-film-title a {
    color: var(--cream, #f0e6d0);
    text-decoration: none;
}
.sf-fp-film-title a:hover { color: var(--gold, #c8921a); }
.sf-fp-film-meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}
.sf-fp-film-year {
    font-size: .7rem;
    color: var(--muted, #8a7a5a);
}
.sf-fp-film-genre {
    font-size: .67rem;
    background: rgba(200,146,26,.1);
    color: var(--gold, #c8921a);
    border-radius: 100px;
    padding: 1px 8px;
    border: 1px solid rgba(200,146,26,.2);
}
.sf-fp-film-views {
    font-size: .68rem;
    color: var(--muted, #8a7a5a);
    margin-left: auto;
}
.sf-fp-film-excerpt {
    font-size: .8rem;
    color: var(--muted, #8a7a5a);
    line-height: 1.5;
    margin: 0 0 10px;
}

/* ── Credits accordion ── */
.sf-fp-credits-toggle {
    background: none;
    border: 1px solid var(--border);
    color: var(--muted, #8a7a5a);
    font-size: .75rem;
    padding: 5px 12px;
    border-radius: 100px;
    cursor: pointer;
    width: 100%;
    text-align: left;
    transition: border-color .2s, color .2s;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.sf-fp-credits-toggle:hover { border-color: var(--gold); color: var(--gold); }
.sf-fp-credits-chevron { font-size: .85rem; }
.sf-fp-credits-panel {
    margin-top: 10px;
    padding: 10px 0 2px;
    border-top: 1px solid var(--border);
}
.sf-fp-credit-rows { display: flex; flex-direction: column; gap: 8px; }
.sf-fp-credit-row {
    display: flex;
    align-items: center;
    gap: 10px;
}
.sf-fp-credit-name,
.sf-fp-credit-name-link {
    display: block;
    font-size: .8rem;
    color: var(--text, #d8c8a0);
    font-weight: 600;
    text-decoration: none;
    line-height: 1.2;
}
.sf-fp-credit-name-link:hover { color: var(--gold); }
.sf-fp-credit-role {
    display: block;
    font-size: .7rem;
    color: var(--muted, #8a7a5a);
    line-height: 1.2;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .sf-fp-hero-right {
        gap: 20px;
        flex-wrap: wrap;
    }
    .sf-fp-stats-col {
        flex-direction: row;
        gap: 20px;
        align-items: flex-start;
    }
    .sf-fp-stat { text-align: left; }
    .sf-fp-films-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 16px;
    }
    .sf-fp-name { font-size: 1.8rem; }
}
@media (max-width: 480px) {
    .sf-fp-films-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .sf-fp-film-info { padding: 10px 10px 12px; }
}

/* ═══════════════════════════════════════════════════════════
   POST-AVATAR LAYOUT FIXES
   Hero, directory cards, public profile — no avatar variant
═══════════════════════════════════════════════════════════ */

/* ── Dashboard hero with avatar ── */
.sf-fmd-hero-inner {
    align-items: flex-start;
    gap: 24px;
}
.sf-fmd-hero-info {
    flex: 1;
    min-width: 0;
}
.sf-fmd-hero-name {
    font-size: clamp(1.6rem, 3.5vw, 2.6rem);
}
@media (max-width: 520px) {
    .sf-fmd-hero-inner { flex-wrap: wrap; }
    .sf-fmd-hero-avatar-wrap { margin-bottom: 4px; }
    .sf-fmd-pp-row { flex-direction: column; align-items: flex-start; }
}

/* ── Public profile hero: avatar sits left, info fills the rest ── */
.sf-fp-hero-inner {
    gap: 28px;
    flex-direction: column;
    align-items: flex-start;
}
.sf-fp-hero-top {
    display: flex;
    gap: 24px;
    align-items: flex-end;
    width: 100%;
}
.sf-fp-hero-info {
    width: 100%;
    max-width: 680px;
}
/* Stats + follow now sit below the bio in a horizontal strip */
.sf-fp-hero-right {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 32px;
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid var(--border, rgba(200,146,26,.18));
    flex-wrap: wrap;
}
.sf-fp-stats-col {
    flex-direction: row;
    gap: 32px;
    align-items: flex-start;
}
.sf-fp-stat { text-align: left; }
.sf-fp-stat-val {
    font-size: 1.6rem;
}
/* action row (share + follow) sits at the end of the strip */
.sf-fp-action-row {
    margin-top: 0;
    margin-left: auto;
    display: flex;
    gap: 10px;
}

/* ═══════════════════════════════════════════════════════════
   CREATOR PROFILE — cover, avatar, verified badge,
   sidebar/tabs layout, support & tip card, community tab
   Added by creator-profile.php integration
═══════════════════════════════════════════════════════════ */

/* ── Cover image ── */
.sf-fp-cover {
    height: 220px;
    position: relative;
    background-color: #0d0d0d;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.sf-fp-cover::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8,8,6,0) 40%, rgba(8,8,6,.95) 100%);
}
.sf-fp-cover-edit {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    background: rgba(8,8,6,.6);
    border: 1px solid rgba(216,200,160,.25);
    color: var(--cream, #f0e6d0);
    font-size: .72rem;
    font-weight: 600;
    padding: 7px 13px;
    border-radius: 6px;
    backdrop-filter: blur(6px);
    text-decoration: none;
}
.sf-fp-cover-edit:hover { border-color: var(--gold, #c8921a); color: var(--gold, #c8921a); }

/* ── Edit Profile button (shown in action row for profile owner) ── */
.sf-fp-edit-profile-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .02em;
}
.sf-fp-edit-profile-btn:hover {
    opacity: .88;
    text-decoration: none;
}

/* Pull the hero up over the cover, matching mosaik's overlap convention */
.sf-fp-hero { margin-top: -64px; padding-top: 0; }
.sf-fp-hero-glow { z-index: 0; }

/* ── Avatar + verified badge ── */
.sf-fp-hero-top { display: flex; align-items: flex-end; gap: 22px; width: 100%; }
.sf-fp-avatar-wrap { position: relative; flex-shrink: 0; }
.sf-fp-avatar {
    width: 116px;
    height: 116px;
    border-radius: 16px;
    border: 4px solid var(--bg, #080806);
    object-fit: cover;
    background: linear-gradient(135deg, #3d2f1a, #1c2e2e);
    display: block;
}
.sf-fp-verified-badge {
    position: absolute;
    bottom: 2px;
    right: -6px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--teal, #2D6E73);
    border: 3px solid var(--bg, #080806);
    display: flex;
    align-items: center;
    justify-content: center;
}
.sf-fp-verified-badge svg { width: 13px; height: 13px; }

/* ── Body grid: sidebar + main ── */
.sf-fp-body-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    align-items: start;
}
.sf-fp-side { display: flex; flex-direction: column; gap: 28px; }
.sf-fp-side-block { }
.sf-fp-side-title {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted, #8a7a5a);
    margin: 0 0 12px;
}
.sf-fp-bio-side {
    font-size: .85rem;
    color: var(--text, #d8c8a0);
    line-height: 1.65;
    margin: 0;
}
.sf-fp-awards-list-side { display: flex; flex-direction: column; gap: 8px; }
.sf-fp-award-item-side {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .78rem;
    color: var(--text, #d8c8a0);
    background: rgba(200,90,36,.08);
    border: 1px solid rgba(200,90,36,.25);
    border-radius: 6px;
    padding: 8px 12px;
}
.sf-fp-award-ic { color: var(--orange, #C85A24); flex-shrink: 0; }

/* ── Support / Tip card ── */
.sf-fp-support-card {
    background: linear-gradient(135deg, rgba(217,164,65,.1), rgba(45,110,115,.07));
    border: 1px solid rgba(217,164,65,.2);
    border-radius: 10px;
    padding: 20px;
}
.sf-fp-support-copy {
    font-size: .78rem;
    color: var(--muted, #8a7a5a);
    line-height: 1.5;
    margin: 0 0 14px;
}
.sf-fp-tip-amounts { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.sf-fp-tip-amt {
    flex: 1;
    min-width: 0;
    padding: 8px 10px;
    border-radius: 6px;
    border: 1px solid var(--border, rgba(200,146,26,.18));
    background: transparent;
    font-size: .76rem;
    font-weight: 600;
    color: var(--text, #d8c8a0);
    cursor: pointer;
    transition: border-color .2s, color .2s, background .2s;
}
.sf-fp-tip-amt:hover { border-color: var(--gold, #c8921a); }
.sf-fp-tip-amt-on {
    border-color: var(--gold, #c8921a);
    background: rgba(217,164,65,.12);
    color: var(--gold, #c8921a);
}

/* ── Tabs ── */
.sf-fp-tabbar {
    display: flex;
    gap: 28px;
    border-bottom: 1px solid var(--border, rgba(200,146,26,.18));
    margin-bottom: 22px;
}
.sf-fp-tab {
    padding: 10px 2px;
    font-size: .9rem;
    font-weight: 600;
    color: var(--muted, #8a7a5a);
    text-decoration: none;
    position: relative;
    margin-bottom: -1px;
}
.sf-fp-tab:hover { color: var(--text, #d8c8a0); }
.sf-fp-tab-active { color: var(--cream, #f0e6d0); }
.sf-fp-tab-active::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -1px;
    height: 2px;
    background: var(--gold, #c8921a);
}

/* ── Filmography toolbar (sort) ── */
.sf-fp-toolbar-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    flex-wrap: wrap;
    gap: 10px;
}
.sf-fp-sort-pills { display: flex; gap: 6px; }
.sf-fp-sort-pill {
    font-size: .72rem;
    font-weight: 600;
    padding: 6px 13px;
    border-radius: 100px;
    border: 1px solid var(--border, rgba(200,146,26,.18));
    background: transparent;
    color: var(--muted, #8a7a5a);
    cursor: pointer;
    transition: all .2s;
}
.sf-fp-sort-pill:hover { border-color: var(--gold, #c8921a); color: var(--gold, #c8921a); }
.sf-fp-sort-on {
    background: var(--gold, #c8921a);
    border-color: var(--gold, #c8921a);
    color: #0A0A0A;
}

/* ── Community tab: ratings + reviews ── */
.sf-fp-rating-summary {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 22px;
    flex-wrap: wrap;
}
.sf-fp-rating-avg {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--cream, #f0e6d0);
}
.sf-fp-rating-stars { color: var(--gold, #c8921a); font-size: .85rem; letter-spacing: 1px; }
.sf-fp-rating-count { font-size: .78rem; color: var(--muted, #8a7a5a); }
.sf-fp-reviews-list { display: flex; flex-direction: column; gap: 12px; }
.sf-fp-review-card {
    background: var(--card, #16140a);
    border: 1px solid var(--border, rgba(200,146,26,.18));
    border-radius: 8px;
    padding: 16px;
}
.sf-fp-review-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}
.sf-fp-review-author { font-size: .82rem; font-weight: 600; color: var(--cream, #f0e6d0); margin-right: 8px; }
.sf-fp-review-film { font-size: .7rem; color: var(--muted, #8a7a5a); }
.sf-fp-review-stars { color: var(--gold, #c8921a); font-size: .8rem; letter-spacing: 1px; flex-shrink: 0; }
.sf-fp-review-text { font-size: .8rem; color: rgba(216,200,160,.85); line-height: 1.55; margin: 0; }

/* ── Responsive: stack sidebar under main on tablet/mobile ── */
@media (max-width: 900px) {
    .sf-fp-body-grid { grid-template-columns: 1fr; }
    .sf-fp-side { order: 2; }
    .sf-fp-main { order: 1; }
    /* Support card stays visible early — move it back above the main column */
    .sf-fp-side > .sf-fp-side-block:has(.sf-fp-support-card) { order: -1; }
}
@media (max-width: 768px) {
    .sf-fp-hero { margin-top: -48px; }
    .sf-fp-cover { height: 140px; }
    .sf-fp-hero-top { gap: 14px; }
    .sf-fp-avatar { width: 84px; height: 84px; border-radius: 14px; }
    .sf-fp-verified-badge { width: 22px; height: 22px; }
    .sf-fp-verified-badge svg { width: 10px; height: 10px; }
    .sf-fp-tabbar { gap: 20px; overflow-x: auto; }
}

/* ── Filmmaker directory cards (was missing entirely) ── */
.sf-fmd-dir-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 8px;
}
.sf-fm-card {
    display: block;
    text-decoration: none;
    background: var(--card, #16140a);
    border: 1px solid var(--border, rgba(200,146,26,.18));
    border-radius: 10px;
    padding: 20px;
    transition: border-color .2s, transform .2s, box-shadow .2s;
}
.sf-fm-card:hover {
    border-color: rgba(200,146,26,.45);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0,0,0,.35);
}
.sf-fm-info { display: flex; flex-direction: column; gap: 4px; }
.sf-fm-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--cream, #f0e6d0);
    margin: 0;
    line-height: 1.2;
}
.sf-fm-country {
    font-size: .75rem;
    color: var(--muted, #8a7a5a);
    margin: 0;
}
.sf-fm-bio {
    font-size: .8rem;
    color: rgba(240,230,208,.6);
    line-height: 1.5;
    margin: 4px 0 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.sf-fm-films {
    font-size: .72rem;
    color: var(--gold, #c8921a);
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin: 6px 0 0;
}

/* ── Responsive adjustments ── */
@media (max-width: 768px) {
    .sf-fp-hero-right {
        gap: 20px;
        flex-wrap: wrap;
    }
    .sf-fp-stats-col {
        gap: 20px;
    }
    #sf-fp-follow-btn {
        margin-left: 0;
    }
    .sf-fmd-dir-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 12px;
    }
}
@media (max-width: 480px) {
    .sf-fp-stats-col {
        gap: 16px;
    }
    .sf-fmd-dir-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .sf-fm-card {
        padding: 14px;
    }
    .sf-fm-name {
        font-size: 1rem;
    }
}

/* ═══════════════════════════════════════════════════════
   MOSAIK HOMEPAGE — Exact spec implementation
   #0A0A0A · #F1E8DA · #C85A24 · #2D6E73 · #D9A441
═══════════════════════════════════════════════════════ */

/* ── HERO ── */
.msk-hero {
    position: relative;
    width: 100%;
    min-height: 88vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: #0A0A0A;
}
.msk-hero-poster {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center 20%;
    z-index: 0;
    transition: transform 12s ease, opacity .8s ease;
}
.msk-hero:hover .msk-hero-poster { transform: scale(1.03); }
.msk-hero-poster-default {
    background: linear-gradient(160deg, var(--dark) 0%, var(--teal) 60%, var(--black) 100%);
}
.msk-hero-filmstrip {
    position: absolute; right: 0; top: 0; bottom: 0; width: 28px;
    display: flex; flex-direction: column; justify-content: space-evenly;
    padding: 4px 0; opacity: .18; z-index: 1; pointer-events: none;
}
.msk-filmstrip-hole {
    width: 14px; height: 10px; margin: 0 auto;
    border: 1.5px solid var(--gold); border-radius: 2px; flex-shrink: 0;
}
.msk-hero-video {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 1; opacity: 0;
    transition: opacity 1s ease;
}
.msk-hero-video.mskhv-playing { opacity: 1; }
.msk-hero-overlay {
    position: absolute; inset: 0; z-index: 2;
    background:
        linear-gradient(to top,  rgba(10,10,10,.98) 0%, rgba(10,10,10,.6) 40%, rgba(10,10,10,.1) 75%, transparent 100%),
        linear-gradient(to right, rgba(10,10,10,.7) 0%, rgba(10,10,10,.2) 50%, transparent 100%);
}
.msk-hero-content {
    position: relative; z-index: 3;
    max-width: 680px;
    padding: 0 60px 72px;
    animation: sfFadeUp .8s cubic-bezier(.4,0,.2,1) both;
}
.msk-hero-eyebrow {
    display: flex; align-items: center; gap: 10px;
    flex-wrap: wrap; margin-bottom: 14px;
}
.msk-hero-genre {
    font-size: .72rem; font-weight: 700;
    letter-spacing: .14em; text-transform: uppercase;
    color: var(--gold);
}
.msk-hero-dur {
    font-size: .72rem; color: rgba(241,232,218,.5);
    letter-spacing: .04em;
}
.msk-badge-prem {
    font-size: .62rem; font-weight: 800;
    letter-spacing: .1em; text-transform: uppercase;
    background: rgba(217,164,65,.15);
    border: 1px solid rgba(217,164,65,.35);
    color: var(--gold);
    padding: 2px 8px; border-radius: 3px;
}
.msk-hero-title {
    font-size: clamp(2.4rem, 5.5vw, 4.8rem);
    font-weight: 700; color: #F1E8DA;
    line-height: 1.05; letter-spacing: -.02em;
    margin: 0 0 12px;
}
.msk-hero-dir {
    font-size: .9rem; color: rgba(241,232,218,.5);
    margin-bottom: 12px;
}
.msk-hero-dir strong { color: rgba(241,232,218,.8); font-weight: 500; }
.msk-hero-awards {
    display: flex; gap: 8px; flex-wrap: wrap;
    margin-bottom: 14px;
}
.msk-hero-award {
    font-size: .75rem; font-weight: 600;
    background: rgba(200,90,36,.1);
    border: 1px solid rgba(200,90,36,.3);
    color: #C85A24;
    padding: 4px 12px; border-radius: 20px;
}
.msk-hero-desc {
    font-size: .975rem; color: rgba(241,232,218,.6);
    line-height: 1.7; margin-bottom: 28px;
    max-width: 500px;
}
.msk-hero-actions {
    display: flex; gap: 10px; flex-wrap: wrap;
    align-items: center;
}
.mskhero-mute {
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(241,232,218,.08);
    border: 1px solid rgba(241,232,218,.18);
    color: #F1E8DA; font-size: 1rem;
    cursor: pointer; display: flex;
    align-items: center; justify-content: center;
    transition: background .2s, border-color .2s;
    flex-shrink: 0;
}
.mskhero-mute:hover { background: rgba(241,232,218,.16); }
.msk-dots {
    display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px;
}
.msk-dot {
    width: 6px; height: 6px; border-radius: 3px;
    background: rgba(241,232,218,.25);
    transition: width .3s, background .3s; cursor: pointer;
}
.msk-dot-on { width: 24px; background: var(--gold); }

/* ── BUTTONS ── */
.msk-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 24px; border-radius: 7px;
    font-family: 'Outfit', sans-serif;
    font-size: .9rem; font-weight: 600;
    cursor: pointer; border: none;
    text-decoration: none !important;
    transition: all .2s cubic-bezier(.4,0,.2,1);
    white-space: nowrap; letter-spacing: .01em;
}
.msk-btn-gold {
    background: var(--gold); color: #0A0A0A !important;
}
.msk-btn-gold:hover {
    background: var(--gold2); transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(217,164,65,.35);
    color: #0A0A0A !important;
}
.msk-btn-ghost {
    background: rgba(241,232,218,.08);
    color: #F1E8DA !important;
    border: 1px solid rgba(241,232,218,.2);
}
.msk-btn-ghost:hover {
    background: rgba(241,232,218,.15);
    border-color: rgba(241,232,218,.35);
    color: #F1E8DA !important;
}
.msk-btn-lg { padding: 14px 32px; font-size: 1rem; }

/* ── SHELVES ── */
.msk-shelves { background: #0A0A0A; display: flex; flex-direction: column; }
.msk-shelf {
    padding: 44px 60px;
    border-bottom: 1px solid rgba(241,232,218,.05);
}
.msk-shelf-dark { background: #111111; }
.msk-shelf-head {
    display: flex; align-items: flex-end;
    justify-content: space-between; gap: 16px;
    margin-bottom: 22px;
}
.msk-shelf-title {
    font-size: 1.25rem; font-weight: 600;
    color: #F1E8DA; margin: 0;
    letter-spacing: -.01em;
}
.msk-shelf-title-gold { color: var(--gold) !important; }
.msk-shelf-sub {
    font-size: .78rem; color: var(--muted);
    margin: 3px 0 0; font-weight: 400;
}
.msk-shelf-sub a { color: var(--teal2); }
.msk-shelf-see {
    font-size: .75rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .07em;
    color: var(--gold); white-space: nowrap;
    text-decoration: none; transition: color .15s;
    flex-shrink: 0;
}
.msk-shelf-see:hover { color: var(--gold2); }
.msk-shelf-row {
    display: flex; gap: 14px;
    overflow-x: auto; padding-bottom: 8px;
    scrollbar-width: thin;
    scrollbar-color: rgba(217,164,65,.2) transparent;
    cursor: grab;
}
.msk-shelf-row:active { cursor: grabbing; }
.msk-shelf-row::-webkit-scrollbar { height: 3px; }
.msk-shelf-row::-webkit-scrollbar-thumb { background: rgba(217,164,65,.2); border-radius:2px; }
.msk-shelf-row::-webkit-scrollbar-track { background: transparent; }

/* Cards in shelves override — ensure correct width */
.msk-shelf-row .sf-card { flex-shrink: 0; width: 195px; }
.msk-shelf-row .sf-card-sm { width: 195px; }
.msk-shelf-row .sf-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0,0,0,.8), 0 0 0 1px rgba(217,164,65,.25);
}

/* Continue watching progress bar on shelf */
.msk-cont-wrap { position: relative; flex-shrink: 0; width: 195px; }
.msk-cont-wrap .sf-card { width: 100%; }
.msk-cont-bar {
    height: 3px; background: rgba(255,255,255,.08);
    border-radius: 0 0 7px 7px; overflow: hidden;
    margin-top: 2px;
}
.msk-cont-bar > div {
    height: 100%; background: var(--gold);
    border-radius: 0 2px 2px 0;
}

/* ── CREATOR SECTION ── */
.msk-creators {
    background: #0A0A0A;
    padding: 64px 0;
    border-top: 1px solid rgba(241,232,218,.06);
}
.msk-container {
    max-width: 1220px; margin: 0 auto; padding: 0 60px;
}
.msk-creator-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}
.msk-ccard {
    background: #141414;
    border: 1px solid rgba(241,232,218,.08);
    border-radius: 12px;
    padding: 20px;
    transition: border-color .2s, transform .2s, box-shadow .2s;
}
.msk-ccard:hover {
    border-color: rgba(217,164,65,.25);
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(0,0,0,.6);
}
.msk-ccard-top {
    display: flex; align-items: center; gap: 12px;
    margin-bottom: 12px;
}
.msk-ccard-avatar-ring {
    display: block;
    width: 52px; height: 52px; border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--teal));
    padding: 2px; flex-shrink: 0;
}
.msk-ccard-name-link {
    color: inherit; text-decoration: none;
}
.msk-ccard-name-link:hover {
    color: var(--gold); text-decoration: underline;
}
.msk-ccard-avatar-ring .msk-ccard-avatar {
    width: 100%; height: 100%;
    border-radius: 50%; object-fit: cover;
    background: #1a1a1a; display: block;
}
.msk-ccard-info { min-width: 0; }
.msk-ccard-name {
    font-size: .95rem; font-weight: 600;
    color: #F1E8DA; margin: 0 0 3px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.msk-ccard-meta {
    font-size: .75rem; color: var(--muted); margin: 0;
}
.msk-ccard-films {
    font-size: .7rem; color: var(--teal2); margin: 3px 0 0;
}
.msk-ccard-bio {
    font-size: .8rem; color: var(--muted);
    line-height: 1.55; margin: 0 0 14px;
}
.msk-ccard-actions {
    display: flex; gap: 8px; align-items: center;
}
.msk-ccard-view {
    font-size: .78rem; color: var(--muted);
    text-decoration: none; transition: color .15s;
    flex: 1;
}
.msk-ccard-view:hover { color: #F1E8DA; }
.msk-ccard-follow {
    font-size: .75rem; font-weight: 600;
    padding: 5px 14px; border-radius: 20px;
    border: 1px solid rgba(217,164,65,.4);
    background: transparent; color: var(--gold);
    cursor: pointer; transition: all .18s;
    font-family: 'Outfit', sans-serif;
    white-space: nowrap;
}
.msk-ccard-follow:hover,
.msk-ccard-follow.msk-following {
    background: rgba(217,164,65,.12);
    border-color: var(--gold);
}
.msk-ccard-follow.msk-following {
    color: var(--teal2); border-color: rgba(45,110,115,.4);
    background: rgba(45,110,115,.1);
}

/* ── PREMIUM CTA STRIP ── */
.msk-cta-strip {
    background: linear-gradient(135deg, #0f1a1a 0%, #0A0A0A 60%, #150f08 100%);
    border-top: 1px solid rgba(45,110,115,.2);
    border-bottom: 1px solid rgba(45,110,115,.2);
    padding: 72px 0;
}
.msk-cta-inner {
    display: flex; align-items: center;
    justify-content: space-between;
    gap: 40px; flex-wrap: wrap;
}
.msk-cta-left { max-width: 520px; }
.msk-cta-eyebrow {
    font-size: .7rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .14em;
    color: var(--teal2); margin-bottom: 10px;
}
.msk-cta-title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 600; color: #F1E8DA;
    margin: 0 0 10px; letter-spacing: -.01em;
}
.msk-cta-desc {
    font-size: .9rem; color: var(--muted); line-height: 1.65;
}
.msk-cta-right { text-align: center; }
.msk-cta-price {
    display: flex; align-items: baseline;
    justify-content: center; gap: 4px;
    margin-bottom: 16px;
}
.msk-cta-amount {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.2rem; font-weight: 700;
    color: var(--gold); line-height: 1;
}
.msk-cta-per { font-size: .9rem; color: var(--muted); }
.msk-cta-note {
    font-size: .75rem; color: var(--muted);
    margin: 10px 0 0;
}

/* ── WAITLIST ── */
.msk-waitlist {
    background: #111111;
    border-top: 1px solid rgba(241,232,218,.06);
    padding: 80px 0;
    text-align: center;
}
.msk-waitlist-inner {
    max-width: 520px; margin: 0 auto;
    padding: 0 24px;
}
.msk-waitlist-icon {
    font-size: 2rem; margin-bottom: 16px;
    opacity: .5;
}
.msk-waitlist-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600; color: #F1E8DA;
    margin: 0 0 10px;
}
.msk-waitlist-desc {
    font-size: .9rem; color: var(--muted);
    line-height: 1.7; margin-bottom: 24px;
}
.msk-waitlist-form {
    display: flex; gap: 10px;
    justify-content: center; flex-wrap: wrap;
    margin-bottom: 12px;
}
.msk-waitlist-input {
    flex: 1; min-width: 240px;
    background: rgba(241,232,218,.05);
    border: 1px solid rgba(241,232,218,.15);
    color: #F1E8DA; padding: 12px 18px;
    border-radius: 7px;
    font-family: 'Outfit', sans-serif; font-size: .9rem;
}
.msk-waitlist-input::placeholder { color: var(--muted); }
.msk-waitlist-input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(217,164,65,.08);
}
.msk-waitlist-note { font-size: .75rem; color: var(--muted); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .msk-shelf { padding: 36px 32px; }
    .msk-hero-content { padding: 0 32px 56px; }
    .msk-container { padding: 0 32px; }
    .msk-cta-inner { flex-direction: column; text-align: center; }
    .msk-cta-left { max-width: 100%; }
}
@media (max-width: 640px) {
    .msk-hero { min-height: 80vh; }
    .msk-hero-content { padding: 0 20px 48px; }
    .msk-hero-title { font-size: clamp(1.9rem, 8vw, 2.8rem); }
    .msk-hero-desc { font-size: .875rem; }
    .msk-hero-actions { gap: 8px; }
    .msk-shelf { padding: 28px 20px; }
    .msk-shelf-row .sf-card,
    .msk-shelf-row .sf-card-sm,
    .msk-cont-wrap { width: 150px; }
    .msk-container { padding: 0 20px; }
    .msk-creator-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .msk-ccard { padding: 14px; }
}
/* ═══════════════════════ END HOMEPAGE SPEC ═══════════════════════ */

/* ═══════════════════════════════════════════════════════════
   FILM DETAIL — intentionally has no rules here. The page owns
   a complete, self-contained <style> block directly inside
   includes/film-detail.php (search for ".mfd {" in that file) —
   that's the single source of truth for every .mfd-* class,
   including the Premiere-tier badge/button modifiers. A partial
   duplicate set used to live here too; because this stylesheet
   loads in <head> and the template's own <style> block prints
   later in the document, the duplicate always lost the cascade —
   dead CSS that also masked the Premiere badge/button ever
   rendering in their intended distinct orange. Removed rather
   than fixed in place, so there's exactly one place to edit
   film-detail styling going forward.
═══════════════════════════════════════════════════════════ */

/* ============================================================
   MOBILE BOTTOM NAV BAR (site-wide)
   ============================================================ */
.sf-bottom-nav {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 300;
  background: #0d0d0d; border-top: 0.5px solid rgba(255,255,255,0.06);
  justify-content: space-around; padding: 8px 0 max(8px, env(safe-area-inset-bottom));
}
.sf-bottom-nav-item {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  color: rgba(255,255,255,0.35); text-decoration: none;
  font-size: .6rem; font-weight: 500; padding: 2px 16px;
  transition: color .22s ease;
}
.sf-bottom-nav-item svg { width: 20px; height: 20px; }
.sf-bottom-nav-item.active { color: var(--gold); }
.sf-bottom-nav-item span { font-size: .6rem; }
.sf-bottom-nav-item.tapped svg { animation: sfIconBounce 150ms ease; }
@keyframes sfIconBounce { 0%{transform:scale(1)} 50%{transform:scale(1.2)} 100%{transform:scale(1)} }

@media (max-width: 768px) {
  .sf-bottom-nav { display: flex; }
  html.admin-bar .sf-bottom-nav { padding-bottom: max(8px, env(safe-area-inset-bottom)); }
  body.sf-body { padding-bottom: 60px; }
}

/* ============================================================
   404 (ported from theme, plugin-rendered)
   ============================================================ */
.msk-404 {
  min-height: 80vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center; padding: 60px 24px;
}
.msk-404-num {
  font-size: clamp(6rem, 15vw, 12rem); font-weight: 700;
  color: rgba(200,90,36,0.15); line-height: 1;
}
.msk-404-title { font-size: 2rem; color: var(--cream); margin-bottom: 14px; }
.msk-404-desc  { color: var(--muted); max-width: 420px; margin-bottom: 32px; line-height: 1.7; }

/* ============================================================
   GHOST / SKELETON PLACEHOLDER CARDS
   Shown in shelves and creator grid when no content exists yet
   ============================================================ */
.msk-card-ghost {
  width: 195px;
  pointer-events: none;
}
.msk-ghost-thumb {
  width: 100%; aspect-ratio: 16/9; border-radius: var(--radius);
  background: var(--card2); animation: mskShimmer 1.8s infinite;
}
.msk-ghost-bar {
  height: 10px; width: 65%; border-radius: 3px;
  background: var(--card2); margin-top: 10px; animation: mskShimmer 1.8s infinite;
}
@keyframes mskShimmer { 0%,100%{opacity:.35} 50%{opacity:.8} }

.msk-ccard-ghost { pointer-events: none; }
.msk-ghost-avatar {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--card2); flex-shrink: 0; animation: mskShimmer 1.8s infinite;
}
.msk-ccard-ghost .msk-ghost-bar { margin-top: 0; }

/* ============================================================
   RECOMMENDATION SHELF VARIANTS
   ============================================================ */
.msk-shelf-rec { border-left: 2px solid rgba(217,164,65,.25); padding-left: 0; }
.msk-shelf-rec .msk-shelf-head { padding-left: 32px; }
.msk-shelf-credit {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: 13px; color: #7a7060; margin: 2px 0 0; letter-spacing: .01em;
}
.msk-title-accent { color: var(--gold); }
.msk-ccard-why {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: 12px; color: #2D6E73; margin-top: 3px;
}

/* ══ Notification bell ══════════════════════════════ */
.sf-notif-wrap { position:relative; }
.sf-notif-bell {
  position:relative; width:36px; height:36px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background:transparent; border:1px solid rgba(241,232,218,.12);
  color:rgba(241,232,218,.75); cursor:pointer; transition:border-color .2s, color .2s, background .2s;
  flex-shrink:0; padding:0;
}
.sf-notif-bell:hover { border-color:var(--gold); color:var(--gold); background:rgba(217,164,65,.06); }
.sf-notif-dot {
  position:absolute; top:-4px; right:-4px; min-width:16px; height:16px; padding:0 3px;
  border-radius:9px; background:var(--orange); color:#fff; font-size:9.5px; font-weight:800;
  display:flex; align-items:center; justify-content:center; line-height:1;
  border:2px solid var(--black);
}
.sf-notif-dropdown {
  position:absolute; top:calc(100% + 12px); right:0; width:320px; max-width:88vw;
  background:#141414; border:1px solid rgba(255,255,255,.08); border-radius:10px;
  box-shadow:0 16px 40px rgba(0,0,0,.5); z-index:1200; overflow:hidden;
  animation:sfNotifDdIn .16s var(--ease);
}
@keyframes sfNotifDdIn { from{ opacity:0; transform:translateY(-6px); } to{ opacity:1; transform:translateY(0); } }
.sf-notif-dd-head {
  padding:14px 16px; font-size:.8rem; font-weight:700; letter-spacing:.03em; text-transform:uppercase;
  color:var(--cream); border-bottom:1px solid rgba(255,255,255,.07);
}
.sf-notif-dd-list { max-height:380px; overflow-y:auto; }
.sf-notif-dd-empty { padding:28px 16px; text-align:center; font-size:.82rem; color:var(--muted); margin:0; }
.sf-notif-item {
  display:flex; gap:12px; padding:12px 16px; text-decoration:none !important;
  border-bottom:1px solid rgba(255,255,255,.05); transition:background .15s;
}
.sf-notif-item:last-child { border-bottom:none; }
.sf-notif-item:hover { background:rgba(255,255,255,.03); }
.sf-notif-item-unread { background:rgba(217,164,65,.05); }
.sf-notif-item-icon { font-size:16px; flex-shrink:0; line-height:1.3; }
.sf-notif-item-body { display:flex; flex-direction:column; gap:3px; min-width:0; }
.sf-notif-item-text { font-size:.82rem; color:rgba(241,232,218,.85); line-height:1.4; }
.sf-notif-item-time { font-size:.72rem; color:var(--muted); }
@media (max-width:480px) {
  .sf-notif-dropdown { position:fixed; top:66px; right:10px; left:10px; width:auto; }
}

/* ── Following tab: followed-creator rows ── */
.sf-follow-list { display: flex; flex-direction: column; gap: 2px; }
.sf-follow-row {
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    padding: 12px 4px; border-bottom: 1px solid rgba(255,255,255,.06);
}
.sf-follow-row:last-child { border-bottom: none; }
.sf-follow-row-link { display: flex; align-items: center; gap: 12px; text-decoration: none !important; min-width: 0; flex: 1; }
.sf-follow-row-av {
    width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
    border: 1px solid rgba(255,255,255,.1);
}
.sf-follow-row-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sf-follow-row-name {
    font-size: .9rem; font-weight: 600; color: var(--cream, #F1E8DA);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sf-follow-row-sub { font-size: .76rem; color: var(--muted, #8a7a5a); }
.sf-follow-row-btn { flex-shrink: 0; font-size: .78rem; padding: 7px 16px; }

/* ── Creator profile: Recent Uploads / Popular Films / Activity feed ── */
.sf-fp-mini-list { display: flex; flex-direction: column; gap: 10px; }
.sf-fp-mini-item {
    display: flex; align-items: center; gap: 10px;
    text-decoration: none !important; border-radius: 8px;
    padding: 4px; margin: -4px; transition: background .15s;
}
.sf-fp-mini-item:hover { background: rgba(255,255,255,.04); }
.sf-fp-mini-thumb {
    width: 52px; height: 52px; border-radius: 6px; overflow: hidden; flex-shrink: 0;
    background: rgba(255,255,255,.05);
    display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.sf-fp-mini-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sf-fp-mini-thumb-round { border-radius: 50%; }
.sf-fp-mini-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sf-fp-mini-title {
    font-size: .82rem; font-weight: 600; color: var(--cream, #F1E8DA);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sf-fp-mini-sub { font-size: .72rem; color: var(--muted, #8a7a5a); }
.sf-fp-activity-list { display: flex; flex-direction: column; gap: 2px; }
.sf-fp-activity-item {
    display: flex; align-items: flex-start; gap: 10px;
    padding: 9px 4px; border-bottom: 1px solid rgba(255,255,255,.05);
    text-decoration: none !important;
}
.sf-fp-activity-item:last-child { border-bottom: none; }
a.sf-fp-activity-item:hover { background: rgba(255,255,255,.03); border-radius: 6px; }
.sf-fp-activity-icon { font-size: 14px; flex-shrink: 0; margin-top: 1px; }
.sf-fp-activity-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sf-fp-activity-text { font-size: .8rem; color: var(--text, #d8c8a0); line-height: 1.4; }
.sf-fp-activity-time { font-size: .7rem; color: var(--muted, #8a7a5a); }

/* ══════════════════════════════════════════════════════════════
   Blog / generic content styling
   Merged from the Mosaik theme (index.php / single.php / page.php)
   so plain WordPress posts and pages render inside the same shell
   as the rest of the plugin, without needing a separate theme.
   ══════════════════════════════════════════════════════════════ */
.msk-wrap { max-width: 1220px; margin: 0 auto; padding: 140px 60px 100px; }

/* Generic post / page article */
.msk-article-wrap { display: flex; gap: 48px; align-items: flex-start; }
.msk-article { flex: 1; min-width: 0; }
.msk-article-meta { font-size: .85rem; color: var(--muted); margin-bottom: 12px; }
.msk-article-meta a { color: var(--gold); text-decoration: none; }
.msk-article-title {
    font-family: 'Cormorant Garamond', serif; font-weight: 700;
    font-size: clamp(2rem, 4vw, 3rem); color: var(--cream); line-height: 1.15; margin: 0 0 24px;
}
.msk-article-thumb { border-radius: 12px; overflow: hidden; margin-bottom: 32px; }
.msk-article-thumb img { width: 100%; height: auto; display: block; }
.msk-article-body { color: var(--text); line-height: 1.8; font-size: 1.05rem; }
.msk-article-body p { margin: 0 0 1.4em; }
.msk-article-body a { color: var(--gold); }
.msk-article-body img { max-width: 100%; height: auto; border-radius: 8px; }
.msk-article-body h2, .msk-article-body h3 { color: var(--cream); font-family: 'Cormorant Garamond', serif; }
.msk-article-nav { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; gap: 16px; }
.msk-article-nav a { color: var(--gold); text-decoration: none; font-weight: 600; }
.msk-article-sidebar { width: 300px; flex-shrink: 0; }
@media (max-width: 900px) { .msk-article-wrap { flex-direction: column; } .msk-article-sidebar { width: 100%; } }

/* Blog listing / archive / search */
.msk-blog-title {
    font-family: 'Cormorant Garamond', serif; font-weight: 700;
    font-size: clamp(1.8rem, 3.4vw, 2.6rem); color: var(--cream); margin: 0 0 36px;
}
.msk-blog-title span { color: var(--gold); }
.msk-blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
.msk-post-card { background: var(--card); border-radius: 12px; overflow: hidden; border: 1px solid rgba(255,255,255,.06); transition: transform .25s ease, border-color .25s ease; }
.msk-post-card:hover { transform: translateY(-4px); border-color: rgba(217,164,65,.3); }
.msk-post-card-thumb { display: block; aspect-ratio: 16/9; overflow: hidden; }
.msk-post-card-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.msk-post-card-body { padding: 20px 22px 24px; }
.msk-post-card-meta { font-size: .78rem; color: var(--muted); margin-bottom: 8px; }
.msk-post-card-title { font-size: 1.15rem; margin: 0 0 10px; line-height: 1.35; }
.msk-post-card-title a { color: var(--cream); text-decoration: none; }
.msk-post-card-title a:hover { color: var(--gold); }
.msk-post-card-excerpt { color: var(--muted); font-size: .92rem; line-height: 1.6; margin-bottom: 16px; }
.msk-blog-pagination { margin-top: 48px; display: flex; justify-content: center; gap: 12px; }
.msk-blog-pagination .page-numbers { color: var(--muted); text-decoration: none; padding: 8px 14px; border-radius: 6px; }
.msk-blog-pagination .page-numbers.current { background: var(--gold); color: #000; }
.msk-blog-empty { color: var(--muted); text-align: center; padding: 60px 0; }

/* Widget areas (footer + blog sidebar) */
.msk-widget, .msk-footer-widget { margin-bottom: 28px; color: var(--muted); font-size: .9rem; }
.msk-widget-title, .msk-footer-widget h4 { color: var(--cream); font-size: 1rem; margin: 0 0 12px; }
.msk-widget a, .msk-footer-widget a { color: var(--text); }

@media (max-width: 640px) {
    .msk-wrap { padding: 110px 20px 60px; }
}

/* ── Sponsored video card placements (local ad campaigns) ── */
.sf-lac-card {
    border: 1px solid rgba(200,146,26,.25);
    border-radius: 10px;
    overflow: hidden;
    background: rgba(217,164,65,.05);
    transition: border-color .2s ease;
}
.sf-lac-card:hover { border-color: rgba(200,146,26,.55); }
.sf-lac-card-link { display: block; text-decoration: none; color: inherit; }
.sf-lac-card-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.sf-lac-card-body { padding: 10px 12px; }
.sf-lac-card-sponsored {
    display: inline-block; font-size: 10px; letter-spacing: .06em; text-transform: uppercase;
    color: #c8921a; font-weight: 700; margin-bottom: 4px;
}
.sf-lac-card-headline { font-size: 14px; font-weight: 600; color: var(--text, #fff); }
.sf-lac-card-subtext { font-size: 12px; color: #8a7a5a; margin-top: 2px; }
.sf-lac-card-cta {
    display: inline-block; margin-top: 8px; font-size: 12px; font-weight: 600;
    color: #c8921a; border: 1px solid rgba(200,146,26,.4); border-radius: 6px; padding: 4px 10px;
}

/* ══════════════════════════════════════════════════════════════════
   FILMMAKER FILM EDITOR — snippets / banners / languages modal
   (includes/filmmaker-film-editor.php, opened from the Creator Studio
   Films tab — see includes/filmmaker-dashboard.php)
   ══════════════════════════════════════════════════════════════════ */
.sf-ffe-overlay {
    position: fixed; inset: 0; z-index: 9999;
    background: rgba(0,0,0,.75);
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
}
.sf-ffe-modal {
    width: 100%; max-width: 720px; max-height: 88vh;
    background: var(--dark); border: 1px solid var(--border);
    border-radius: 10px; display: flex; flex-direction: column;
    overflow: hidden;
}
.sf-ffe-modal-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 24px; border-bottom: 1px solid var(--border);
}
.sf-ffe-modal-head h3 { margin: 0; font-size: 1.05rem; color: var(--cream); }
.sf-ffe-x {
    background: none; border: none; color: var(--muted); font-size: 18px;
    cursor: pointer; line-height: 1; padding: 4px 6px;
}
.sf-ffe-x:hover { color: var(--cream); }

.sf-ffe-tabs {
    display: flex; gap: 4px; padding: 0 24px; border-bottom: 1px solid var(--border);
    overflow-x: auto;
}
.sf-ffe-tab {
    background: none; border: none; color: var(--muted); font-family: 'Outfit', sans-serif;
    font-size: .82rem; font-weight: 600; padding: 12px 14px; cursor: pointer;
    white-space: nowrap; border-bottom: 2px solid transparent; transition: color .12s, border-color .12s;
}
.sf-ffe-tab:hover { color: var(--cream); }
.sf-ffe-tab-active { color: var(--gold); border-bottom-color: var(--gold); }

.sf-ffe-panel { display: none; }
.sf-ffe-panel-active { display: block; }

.sf-ffe-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.sf-ffe-field { display: flex; flex-direction: column; gap: 5px; }
.sf-ffe-field-full { grid-column: 1 / -1; }
.sf-ffe-field label { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .3px; color: var(--muted); }
.sf-ffe-input {
    background: var(--card2); border: 1px solid var(--border); border-radius: 5px;
    color: var(--cream); padding: 9px 10px; font-size: .85rem; font-family: 'Outfit', sans-serif;
    width: 100%; box-sizing: border-box;
}
.sf-ffe-input:focus { outline: none; border-color: var(--gold); }
textarea.sf-ffe-input { resize: vertical; }

.sf-ffe-filebtn {
    position: relative; display: inline-flex; align-items: center; justify-content: center;
    background: var(--card2); border: 1px solid var(--border2); border-radius: 5px;
    color: var(--sand); font-size: .72rem; font-weight: 600; padding: 7px 12px; cursor: pointer;
    transition: border-color .12s, color .12s;
}
.sf-ffe-filebtn:hover { border-color: var(--gold); color: var(--gold); }
.sf-ffe-filebtn input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.sf-ffe-media-name { font-size: .85rem; color: var(--cream); font-weight: 600; }
.sf-ffe-modal-body { padding: 20px 24px; overflow-y: auto; flex: 1; }
.sf-ffe-modal-actions {
    display: flex; gap: 12px; padding: 16px 24px;
    border-top: 1px solid var(--border);
}
.sf-ffe-msg-ok  { background: rgba(76,175,80,.12); color: #4ade80; }
.sf-ffe-msg-err { background: rgba(229,115,115,.12); color: #e57373; }

.sf-ffe-section { margin-bottom: 26px; }
.sf-ffe-section h4 {
    margin: 0 0 12px; font-size: .9rem; color: var(--sand);
    display: flex; flex-direction: column; gap: 3px;
}
.sf-ffe-hint { font-size: .75rem; font-weight: 400; color: var(--muted); }

.sf-ffe-lang-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(200px,1fr)); gap: 10px; }
.sf-ffe-lang-chip {
    grid-column: 1 / -1; padding: 10px 12px; border-radius: 6px;
    background: rgba(217,164,65,.08); border: 1px solid var(--border2);
    color: var(--cream); font-size: .85rem; display: flex; align-items: center; gap: 8px;
}
.sf-ffe-lang-item {
    background: var(--card); border: 1px solid var(--border); border-radius: 6px; padding: 10px;
}
.sf-ffe-lang-name { font-size: .82rem; color: var(--cream); margin-bottom: 6px; }
.sf-ffe-req { color: #4ade80; font-size: .72rem; font-weight: 600; }

.sf-ffe-slots { display: grid; grid-template-columns: repeat(auto-fill,minmax(220px,1fr)); gap: 12px; }
.sf-ffe-slot {
    background: var(--card); border: 1px solid var(--border); border-radius: 6px;
    overflow: hidden; display: flex; flex-direction: column;
}
.sf-ffe-slot-preview { background: #000; aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center; }
.sf-ffe-preview-img, .sf-ffe-preview-vid { width: 100%; height: 100%; object-fit: cover; display: block; }
.sf-ffe-slot-empty { color: var(--muted); font-size: .75rem; }
.sf-ffe-slot-fields { padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.sf-ffe-label-input {
    background: var(--card2); border: 1px solid var(--border); border-radius: 4px;
    color: var(--cream); padding: 6px 8px; font-size: .78rem; font-family: 'Outfit', sans-serif;
}
.sf-ffe-slot-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.sf-ffe-slot-row input[type="file"] { color: var(--muted); font-size: .72rem; max-width: 100%; }
.sf-ffe-status { font-size: .72rem; color: var(--gold); min-height: 14px; display: block; }

@media (max-width: 640px) {
    .sf-ffe-modal { max-height: 94vh; }
    .sf-ffe-modal-body { padding: 16px; }
    /* On phones the 5 tabs (Details / Poster & Trailer / Languages / Snippets /
       Banners) don't fit on one line — they used to just overflow sideways with
       no scroll hint, so "Snippets" and "Banners" were effectively invisible
       and unreachable. Wrap onto multiple rows instead so every tab stays
       visible and tappable. */
    .sf-ffe-tabs { flex-wrap: wrap; overflow-x: visible; padding: 8px 16px 0; }
    .sf-ffe-tab { padding: 8px 10px; font-size: .78rem; }
    .sf-ffe-grid { grid-template-columns: 1fr; }
}

/* ── Watch-page: promotional clips row + banner gallery
   (includes/film-detail.php) ── */
.mfd-clip-card { cursor: pointer; }
.mfd-clip-thumb {
    width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,.06);
    border: 1px solid var(--border2); display: flex; align-items: center; justify-content: center;
    color: var(--gold); font-size: 20px; transition: background .15s, border-color .15s;
}
.mfd-clip-card:hover .mfd-clip-thumb { background: rgba(217,164,65,.12); border-color: var(--gold); }
.mfd-banner-row { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; }
.mfd-banner-img {
    width: 220px; height: 124px; object-fit: cover; border-radius: 6px; flex-shrink: 0;
    border: 1px solid var(--border);
}
.mfd-clip-modal {
    position: fixed; inset: 0; z-index: 9999; background: rgba(0,0,0,.9);
    display: flex; align-items: center; justify-content: center; padding: 24px;
}
.mfd-clip-modal video { width: 100%; max-width: 900px; max-height: 80vh; border-radius: 8px; background: #000; }
.mfd-clip-modal-close {
    position: absolute; top: 20px; right: 24px; background: none; border: none;
    color: #fff; font-size: 24px; cursor: pointer;
}

/* ══════════════════════════════════════════════
   FILM FUNDING — campaign cards, progress bars, single campaign page
   ══════════════════════════════════════════════ */
.msk-campaign-card {
    display: block; flex-shrink: 0; width: 260px; text-decoration: none; color: inherit;
    border: 1px solid var(--border, rgba(255,255,255,.08)); border-radius: 10px; overflow: hidden;
    background: rgba(255,255,255,.02); transition: transform .15s, border-color .15s;
}
.msk-campaign-card:hover { transform: translateY(-3px); border-color: var(--gold); }
.msk-campaign-card-grid { width: 100%; }
.msk-campaign-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 18px; padding: 20px 4vw 40px;
}
.msk-campaign-grid-row {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 240px;
    overflow-x: auto; padding: 0 0 4px;
}
.msk-campaign-grid-row .msk-campaign-card { flex-shrink: 0; }
.msk-campaign-cover {
    height: 140px; background-size: cover; background-position: center; position: relative;
}
.msk-campaign-badge {
    position: absolute; top: 8px; left: 8px; background: rgba(217,164,65,.92); color: #1a1208;
    font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 4px; text-transform: uppercase;
}
.msk-campaign-body { padding: 12px 14px 16px; }
.msk-campaign-title { font-size: 15px; font-weight: 700; margin: 0 0 2px; color: var(--cream, #f1e8da); }
.msk-campaign-by { font-size: 12px; color: var(--muted, #9a9186); margin: 0 0 10px; }
.msk-campaign-bar {
    height: 6px; border-radius: 3px; background: rgba(255,255,255,.08); overflow: hidden; margin-bottom: 8px;
}
.msk-campaign-bar-fill { height: 100%; background: linear-gradient(90deg, var(--gold, #d9a441), #f0c674); }
.msk-campaign-stats { display: flex; justify-content: space-between; font-size: 12px; margin-bottom: 4px; }
.msk-campaign-raised { color: var(--cream, #f1e8da); font-weight: 600; }
.msk-campaign-percent { color: var(--gold, #d9a441); font-weight: 700; }
.msk-campaign-meta { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted, #9a9186); }

/* Single campaign page */
.msk-campaign-hero { height: 320px; background-size: cover; background-position: center; }
.msk-campaign-layout { display: grid; grid-template-columns: 1fr 320px; gap: 40px; padding: 32px 4vw 60px; max-width: 1200px; margin: 0 auto; }
.msk-campaign-h1 { font-size: 28px; margin: 0 0 6px; }
.msk-campaign-author { color: var(--muted, #9a9186); font-size: 13px; margin-bottom: 6px; }
.msk-campaign-author a { color: var(--gold, #d9a441); text-decoration: none; }
.msk-campaign-linked-film { font-size: 13px; color: var(--muted, #9a9186); margin-bottom: 20px; }
.msk-campaign-linked-film a { color: var(--gold, #d9a441); }
.msk-campaign-story { line-height: 1.7; margin-bottom: 32px; }
.msk-campaign-updates, .msk-campaign-supporters { margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); }
.msk-campaign-update { margin-bottom: 20px; }
.msk-campaign-update h3 { font-size: 15px; margin: 0 0 4px; }
.msk-campaign-update-date { font-size: 11px; color: var(--muted, #9a9186); margin: 0 0 6px; }
.msk-campaign-supporter-row { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.05); }
.msk-campaign-supporter-row:last-child { border-bottom: none; }
.msk-campaign-supporter-name { font-weight: 600; font-size: 13px; }
.msk-campaign-supporter-amt { float: right; color: var(--gold, #d9a441); font-size: 13px; font-weight: 700; }
.msk-campaign-supporter-msg { font-size: 12px; color: var(--muted, #9a9186); margin: 4px 0 0; }
.msk-campaign-investor-tag {
    font-size: 9px; background: rgba(217,164,65,.15); color: var(--gold, #d9a441);
    padding: 2px 6px; border-radius: 3px; text-transform: uppercase; font-weight: 700; margin-left: 4px;
}
.msk-campaign-sidebar {
    background: rgba(255,255,255,.02); border: 1px solid rgba(255,255,255,.08); border-radius: 10px;
    padding: 20px; height: fit-content; position: sticky; top: 20px;
}
.msk-campaign-raised-big { font-size: 20px; font-weight: 700; margin: 10px 0 16px; }
.msk-campaign-raised-big span { display: block; font-size: 12px; font-weight: 400; color: var(--muted, #9a9186); }
.msk-campaign-sidebar-stats { display: flex; justify-content: space-between; margin-bottom: 18px; }
.msk-campaign-sidebar-stats div { text-align: center; flex: 1; }
.msk-campaign-sidebar-stats strong { display: block; font-size: 16px; }
.msk-campaign-sidebar-stats span { font-size: 10px; color: var(--muted, #9a9186); text-transform: uppercase; }
.msk-campaign-investor-note { font-size: 11px; color: var(--gold, #d9a441); margin-bottom: 14px; }
.msk-campaign-pledge-form { display: flex; flex-direction: column; gap: 10px; }
.msk-campaign-closed { font-size: 13px; color: var(--muted, #9a9186); text-align: center; }
.msk-form-checkbox { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted, #9a9186); }

@media (max-width: 860px) {
    .msk-campaign-layout { grid-template-columns: 1fr; }
    .msk-campaign-sidebar { position: static; }
}

.msk-btn-outline {
    background: none; color: var(--cream, #f1e8da) !important;
    border: 1px solid rgba(255,255,255,.18) !important;
}
.msk-btn-outline:hover { border-color: var(--gold, #d9a441) !important; color: var(--gold, #d9a441) !important; }

/* Shared dashboard-style components, needed globally now that
   Investor Profile/Wallet are standalone public pages rather than
   panels inside Creator Studio (which defines its own scoped copies
   of these same classes — harmless duplication, last-defined wins
   and both versions match). */
.msk-sec { background: #111; border: 1px solid rgba(255,255,255,.07); border-radius: 10px; padding: 18px; margin-bottom: 16px; }
.msk-sec-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.msk-sec-title { font-size: 13px; font-weight: 500; color: var(--cream, #f1e8da); }
.msk-rev-summary { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; margin-bottom: 18px; }
.msk-rev-card { background: #0f0f0f; border: 1px solid rgba(255,255,255,.08); border-radius: 8px; padding: 14px; }
.msk-rev-card-label { font-size: 11px; color: var(--muted, #9a9186); margin-bottom: 6px; }
.msk-rev-card-val { font-size: 22px; font-weight: 600; color: var(--cream, #f1e8da); }
.msk-rev-card-sub { font-size: 11px; color: var(--muted, #9a9186); margin-top: 4px; }
.msk-form-label { font-size: 11px; color: var(--muted, #9a9186); letter-spacing: .5px; display: block; margin-bottom: 4px; }
.msk-form-input { width: 100%; padding: 8px 10px; border: 1px solid rgba(255,255,255,.1); border-radius: 6px; background: #1a1a1a; color: var(--cream, #f1e8da); font-size: 13px; font-family: 'Outfit', sans-serif; outline: none; }
.msk-notice { background: rgba(217,164,65,.08); border: 1px solid rgba(217,164,65,.2); border-radius: 8px; padding: 12px 16px; font-size: 13px; color: rgba(241,232,218,.7); display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.msk-msg { padding: 10px 14px; border-radius: 6px; font-size: 13px; margin-top: 8px; }
@media (max-width: 700px) { .msk-rev-summary { grid-template-columns: 1fr 1fr; } }

/* Investor profile + wallet pages */
.msk-investor-profile { max-width: 1100px; margin: 0 auto; padding: 40px 4vw 60px; }
.msk-investor-hero { text-align: center; margin-bottom: 36px; }
.msk-investor-avatar {
    width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 14px; overflow: hidden;
    background: rgba(255,255,255,.05); display: flex; align-items: center; justify-content: center; font-size: 34px;
}
.msk-investor-avatar img { width: 100%; height: 100%; object-fit: cover; }
.msk-investor-name { font-size: 24px; margin: 0 0 8px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.msk-investor-bio { color: var(--muted, #9a9186); font-size: 14px; max-width: 480px; margin: 0 auto 6px; }
.msk-investor-joined { color: var(--muted, #9a9186); font-size: 12px; }
.msk-investor-body { display: grid; grid-template-columns: 1fr 300px; gap: 36px; }
.msk-investor-section-title { font-size: 16px; margin: 0 0 14px; }
@media (max-width: 860px) { .msk-investor-body { grid-template-columns: 1fr; } }
.msk-investor-wallet { max-width: 720px; margin: 0 auto; padding: 40px 4vw 60px; }
.msk-investor-wallet-title { font-size: 24px; margin: 0 0 4px; }

.msk-campaign-tier-option {
    display: flex; gap: 8px; align-items: flex-start; padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,.06); font-size: 12px; cursor: pointer;
}
.msk-campaign-tier-option input[type=radio] { margin-top: 3px; flex-shrink: 0; }
.msk-campaign-tier-option:last-of-type { border-bottom: none; margin-bottom: 12px; }
.msk-campaign-tier-soldout { opacity: .45; cursor: not-allowed; }
.msk-campaign-tier-desc { color: var(--muted, #9a9186); }
.msk-campaign-tier-remaining { color: var(--gold, #d9a441); font-weight: 600; }
.msk-campaign-supporter-tier { font-size: 12px; color: var(--gold, #d9a441); margin: 4px 0 0; }

.msk-ff-modal {
    position: fixed; inset: 0; background: rgba(0,0,0,.75); z-index: 9999;
    display: flex; align-items: center; justify-content: center; padding: 20px;
}
.msk-ff-modal-inner {
    background: #17140e; border: 1px solid rgba(255,255,255,.1); border-radius: 10px;
    padding: 22px; width: 100%; max-width: 480px; max-height: 80vh; overflow-y: auto;
}
