/* ============================================================
   fyreglobalstyle.css — FindFyre Global Design Tokens & Utilities
   Site-wide primitives extracted from fyreprofile.css.
   Load before page-specific stylesheets.
   ============================================================ */

/* ── CSS Custom Properties ─────────────────────────────────── */
:root {
    /* Brand */
    --fyre-pink-500: #e0548d;
    --fyre-pink-600: #c9457c;
    --fyre-pink-700: #b33a6b;
    --fyre-purple-500: #9b5cff;

    /* Dark surfaces — deep slate page, slight step-ups for cards */
    --bg-page: #0d111a;
    --bg-shell: #0d111a;
    --bg-elevated: #111622;
    --bg-card: #111622;
    --bg-card-soft: #151b29;
    --bg-card-hover: #1a2130;

    /* Glass */
    --surface-glass: rgba(13, 17, 26, 0.72);
    --surface-glass-strong: rgba(10, 14, 22, 0.88);
    --surface-nav: rgba(10, 13, 20, 0.97);

    /* Borders */
    --border-subtle: rgba(255, 255, 255, 0.07);
    --border-soft: rgba(255, 255, 255, 0.10);
    --border-active: rgba(255, 47, 134, 0.70);

    /* Text */
    --text-primary: #f8fafc;
    --text-secondary: #c7cedd;
    --text-muted: #7f889a;
    --text-disabled: #505968;

    /* Accents */
    --accent-primary: #e0548d;
    --accent-primary-hover: #c9457c;
    --accent-primary-active: #b33a6b;
    --accent-secondary: #9b5cff;

    /* Status */
    --success: #56d93f;
    --warning: #f5b83d;
    --danger: #ff5d73;

    /* Typography */
    --font-family-base: "Inter", "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-xs: 12px;
    --font-sm: 13px;
    --font-md: 14px;
    --font-base: 16px;
    --font-lg: 18px;
    --font-xl: 22px;
    --font-2xl: 28px;
    --font-3xl: 36px;
    --weight-regular: 400;
    --weight-medium: 500;
    --weight-semibold: 600;
    --weight-bold: 700;

    /* Spacing */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-7: 32px;
    --space-8: 40px;
    --space-9: 48px;
    --space-10: 64px;

    /* Radius */
    --radius-xs: 6px;
    --radius-sm: 10px;
    --radius-md: 5px;
    --radius-lg: 18px;
    --radius-xl: 22px;
    --radius-2xl: 28px;
    --radius-pill: 999px;

    /* Shadows */
    --shadow-card: 0 12px 32px rgba(0, 0, 0, 0.28);
    --shadow-glow: 0 0 36px rgba(255, 47, 134, 0.18);

    /* Mobile chrome — used only inside max-width: 768px rules */
    --fp-mobile-gutter: 16px;
    --fp-bottom-nav-base: 52px;
    --fp-bottom-nav-height: calc(52px + env(safe-area-inset-bottom, 0px));
    --fp-page-bottom: calc(52px + env(safe-area-inset-bottom, 0px) + 16px);
}

/* ── Light Mode Variable Overrides ─────────────────────────── */
/* OnlyFans/Fansly-style flat light theme: everything white,
   separation via hairline borders — no tinted greys, no gradients. */
body.fp-light {
    /* Surfaces — flat white; soft/hover greys are barely-there */
    --bg-page:           #ffffff;
    --bg-shell:          #ffffff;
    --bg-elevated:       #ffffff;
    --bg-card:           #ffffff;
    --bg-card-soft:      #f7f8f9;
    --bg-card-hover:     #f2f3f5;

    /* Glass / nav */
    --surface-glass:       rgba(255, 255, 255, 0.95);
    --surface-glass-strong:rgba(255, 255, 255, 0.98);
    --surface-nav:         #ffffff;

    /* Borders — hairlines do the separating in light mode */
    --border-subtle: rgba(0, 0, 0, 0.07);
    --border-soft:   rgba(0, 0, 0, 0.10);
    --border-active: rgba(224, 84, 141, 0.70);

    /* Text — navy headers, slightly lifted supporting copy, readable helpers */
    --text-primary:   #0a3049;
    --text-secondary: #245870;
    --text-muted:     #3a6b82;
    --text-disabled:  #6b7280;

    /* Shadows — flat, minimal */
    --shadow-card: 0 1px 4px rgba(0, 0, 0, 0.05);
    --shadow-glow:  0 0 28px rgba(224, 84, 141, 0.10);

    /* FindFyre pink override for light mode */
    --accent-primary:       #e0548d;
    --accent-primary-hover: #c9457c;
    --accent-primary-active:#b33a6b;

    /* Page background — plain white, no ambient gradients */
    background: var(--bg-page);

    color: var(--text-primary);
}

/* ── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scrollbar-gutter: stable;
    background-color: var(--bg-page);
}

body {
    background-color: var(--bg-page);
    color: var(--text-primary);
}

body.fp-body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font-family-base);
    color: var(--text-primary);
    background: radial-gradient(circle at 80% 10%, rgba(255, 47, 134, 0.11), transparent 32%),
                radial-gradient(circle at 18% 75%, rgba(155, 92, 255, 0.08), transparent 38%),
                var(--bg-page);
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; font-family: var(--font-family-base); }
input, textarea { font-family: var(--font-family-base); }

/* ── Generic Card & Button Utilities ──────────────────────── */
.card-dark {
    background: rgba(13, 17, 26, 0.78);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    min-width: 138px;
    padding: 0 28px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--fyre-pink-500), var(--fyre-pink-600));
    color: #fff;
    font-weight: var(--weight-bold);
    font-size: 15px;
    box-shadow: 0 12px 26px rgba(255, 47, 134, 0.24);
    transition: opacity 0.18s, box-shadow 0.18s;
}
.btn-primary:hover { opacity: 0.88; box-shadow: 0 14px 32px rgba(255, 47, 134, 0.34); }

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    min-width: 150px;
    padding: 0 24px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(255, 255, 255, 0.035);
    color: var(--text-primary);
    font-weight: var(--weight-semibold);
    font-size: 14px;
    transition: background 0.18s, border-color 0.18s;
}
.btn-secondary:hover { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.16); }

.btn-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(255, 255, 255, 0.035);
    color: var(--text-primary);
    transition: background 0.18s;
}
.btn-icon:hover { background: rgba(255, 255, 255, 0.07); }

.tag-chip {
    display: inline-flex;
    align-items: center;
    height: 28px;
    padding: 0 12px;
    border-radius: var(--radius-pill);
    color: var(--accent-primary);
    background: rgba(255, 47, 134, 0.10);
    font-size: var(--font-sm);
    font-weight: var(--weight-semibold);
}

/* ── Tooltip system ──────────────────────────────────────────────────────────
   Usage: add data-tooltip="Label" to any element.
   CSS pseudo-element tooltip is a fallback; the JS tooltip engine (#fp-tooltip)
   is the primary tooltip and handles all [data-tooltip] elements with a delay.
   The CSS tooltip is disabled globally to prevent double-tooltip conflicts.
   ──────────────────────────────────────────────────────────────────────────── */
[data-tooltip] {
    position: relative;
}
[data-tooltip]::after {
    content: none;
}

/* ── Desktop / Mobile Shell Visibility ──────────────────────── */
.fp-desktop-only { display: grid; }
.fp-mobile-only  { display: none; }

@media (max-width: 768px) {
    .fp-desktop-only { display: none !important; }
    /* fp-mobile-shell uses display:flex; block fallback for other mobile-only elements */
    .fp-mobile-only  { display: block !important; }
    .fp-mobile-shell.fp-mobile-only { display: flex !important; }
}

/* ── Page-level Overlay Loader ──────────────────────────────── */
/* Page-level overlay loader */
.fp-page-overlay {
    position: fixed;
    inset: 0;
    background: var(--bg-page);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 200;
}

/* ── Spinner (sk-chase) ─────────────────────────────────────── */
.sk-chase {
    width: 40px;
    height: 40px;
    position: relative;
    animation: sk-chase 2.5s infinite linear both;
}

.sk-chase-dot {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    animation: sk-chase-dot 2.0s infinite ease-in-out both;
}

.sk-chase-dot::before {
    content: '';
    display: block;
    width: 25%;
    height: 25%;
    background-color: #e0336b;
    border-radius: 100%;
    animation: sk-chase-dot-before 2.0s infinite ease-in-out both;
}

.sk-chase-dot:nth-child(1)          { animation-delay: -1.1s; }
.sk-chase-dot:nth-child(2)          { animation-delay: -1.0s; }
.sk-chase-dot:nth-child(3)          { animation-delay: -0.9s; }
.sk-chase-dot:nth-child(4)          { animation-delay: -0.8s; }
.sk-chase-dot:nth-child(5)          { animation-delay: -0.7s; }
.sk-chase-dot:nth-child(6)          { animation-delay: -0.6s; }
.sk-chase-dot:nth-child(1)::before  { animation-delay: -1.1s; }
.sk-chase-dot:nth-child(2)::before  { animation-delay: -1.0s; }
.sk-chase-dot:nth-child(3)::before  { animation-delay: -0.9s; }
.sk-chase-dot:nth-child(4)::before  { animation-delay: -0.8s; }
.sk-chase-dot:nth-child(5)::before  { animation-delay: -0.7s; }
.sk-chase-dot:nth-child(6)::before  { animation-delay: -0.6s; }

@keyframes sk-chase {
    100% { transform: rotate(360deg); }
}

@keyframes sk-chase-dot {
    80%, 100% { transform: rotate(360deg); }
}

@keyframes sk-chase-dot-before {
    50%  { transform: scale(0.4); }
    100%, 0% { transform: scale(1.0); }
}

/* ── Pulse Keyframe ─────────────────────────────────────────── */
@keyframes fp-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* ── Online Dot Indicator (inline/text contexts only) ───────── */
.fp-online-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--success);
    margin-left: 6px;
    animation: fp-pulse 2s infinite;
}

/* Avatar badges override inline styles in fyreprofile.css */
.fp-avatar-wrap > .fp-online-dot,
.fp-mobile-avatar-wrap > .fp-online-dot {
    display: block;
    margin: 0;
    animation: none;
}

/* ── Modals / Popups ────────────────────────────────────────── */
.fp-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.72);
    z-index: 150;
    backdrop-filter: blur(4px);
}

.fp-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--bg-card-soft);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-2xl);
    padding: var(--space-7);
    z-index: 160;
    width: 90%;
    max-width: 420px;
    box-shadow: var(--shadow-card);
}

.fp-modal-title {
    font-size: var(--font-xl);
    font-weight: var(--weight-bold);
    margin-bottom: var(--space-5);
    color: var(--text-primary);
}

.fp-modal-close {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    border: none;
    color: var(--text-muted);
    display: grid;
    place-items: center;
    cursor: pointer;
    font-size: 18px;
    transition: background 0.15s;
}

.fp-modal-close:hover { background: rgba(255,255,255,0.10); color: var(--text-primary); }

.fp-modal-textarea {
    width: 100%;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    padding: var(--space-3) var(--space-4);
    font-size: var(--font-md);
    font-family: var(--font-family-base);
    outline: none;
    margin-top: var(--space-2);
    box-sizing: border-box;
    resize: vertical;
    min-height: 100px;
    transition: border-color 0.15s;
}

.fp-modal-textarea:focus {
    border-color: var(--border-active);
}

.fp-modal-textarea::placeholder {
    color: var(--text-muted);
}

.fp-modal-action-btn {
    width: 100%;
    padding: var(--space-4) var(--space-5);
    margin-top: var(--space-5);
    background: linear-gradient(135deg, var(--fyre-pink-500), var(--fyre-pink-600));
    color: #fff;
    border: none;
    border-radius: var(--radius-md);
    font-size: var(--font-base);
    font-weight: var(--weight-bold);
    cursor: pointer;
    transition: opacity 0.18s, transform 0.12s;
}

.fp-modal-action-btn:hover {
    opacity: 0.85;
}

.fp-modal-action-btn:active {
    transform: scale(0.98);
}

.fp-modal-actions {
    display: flex;
    gap: var(--space-3);
    margin-top: var(--space-6);
    justify-content: flex-end;
}

.fp-modal-note {
    font-size: var(--font-xs);
    color: var(--text-muted);
    text-align: center;
    line-height: 1.6;
    margin: 0;
}

/* ── Branded Alert / Confirm Modal ──────────────────────────── */
#fp-notify-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -48%) scale(0.96);
    background: var(--bg-card-soft);
    border: 1px solid var(--border-soft);
    border-top: 3px solid var(--accent-primary);
    border-radius: var(--radius-xl);
    padding: var(--space-5) var(--space-6) var(--space-5);
    z-index: 999999;
    width: 88%;
    max-width: 300px;
    box-shadow: 0 24px 64px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,47,134,0.08);
    opacity: 0;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

#fp-notify-modal.fp-notify-visible {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

#fp-notify-modal-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 47, 134, 0.12);
    display: grid;
    place-items: center;
    margin-bottom: var(--space-4);
    color: var(--accent-primary);
}

#fp-notify-modal-title {
    font-size: var(--font-lg);
    font-weight: var(--weight-bold);
    color: var(--text-primary);
    margin-bottom: var(--space-3);
    line-height: 1.3;
}

#fp-notify-modal-body {
    font-size: var(--font-md);
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-6);
}

#fp-notify-modal-body textarea {
    width: 100%;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    padding: var(--space-3) var(--space-4);
    font-size: var(--font-md);
    font-family: var(--font-family-base);
    outline: none;
    margin-top: var(--space-2);
    box-sizing: border-box;
    resize: vertical;
    min-height: 90px;
}

#fp-notify-modal-body textarea:focus {
    border-color: var(--border-active);
}

#fp-notify-modal-body h2 {
    font-size: var(--font-sm);
    font-weight: var(--weight-semibold);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: var(--space-4) 0 var(--space-1);
}

#fp-notify-modal-footer {
    display: flex;
    gap: var(--space-3);
    justify-content: flex-end;
}

.fp-notify-btn {
    padding: var(--space-2) var(--space-5);
    border-radius: var(--radius-md);
    font-size: var(--font-sm);
    font-weight: var(--weight-semibold);
    font-family: var(--font-family-base);
    border: none;
    cursor: pointer;
    transition: opacity 0.15s, transform 0.12s;
}

.fp-notify-btn:active { transform: scale(0.97); }

.fp-notify-btn-primary {
    background: var(--accent-primary);
    color: #fff;
}

.fp-notify-btn-primary:hover { background: var(--accent-primary-hover); }

.fp-notify-btn-danger {
    background: var(--danger);
    color: #fff;
}

.fp-notify-btn-danger:hover { opacity: 0.88; }

.fp-notify-btn-ghost {
    background: rgba(255,255,255,0.06);
    color: var(--text-secondary);
    border: 1px solid var(--border-subtle);
}

.fp-notify-btn-ghost:hover {
    background: rgba(255,255,255,0.10);
    color: var(--text-primary);
}

/* Pending-approval variant — not-available face + centred layout */
#fp-notify-modal.fp-notify-pending {
    max-width: 360px;
    padding: 28px 24px 22px;
    text-align: center;
}

#fp-notify-modal.fp-notify-pending #fp-notify-modal-icon {
    display: flex;
    justify-content: center;
    width: 100%;
    height: auto;
    border-radius: 0;
    background: transparent !important;
    margin: 0 auto 6px;
    color: #FF2F86;
    filter: drop-shadow(0 0 12px rgba(255, 47, 134, 0.42));
}

#fp-notify-modal.fp-notify-pending #fp-notify-modal-icon svg {
    display: block;
    width: 96px;
    height: 88px;
}

#fp-notify-modal.fp-notify-pending #fp-notify-modal-title {
    text-align: center;
    font-size: 20px;
    margin-bottom: 10px;
}

#fp-notify-modal.fp-notify-pending #fp-notify-modal-body {
    text-align: center;
    margin-bottom: 20px;
}

.fp-notify-pending-copy {
    margin: 0 0 14px;
    color: var(--text-secondary);
}

.fp-notify-pending-time {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    background: rgba(255, 47, 134, 0.12);
    color: #FF2F86;
    font-size: 12px;
    font-weight: var(--weight-semibold);
    letter-spacing: 0.02em;
}

.fp-notify-pending-hint {
    margin: 14px 0 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-muted);
}

.fp-notify-pending-hint a {
    color: #FF2F86;
    font-weight: var(--weight-semibold);
    text-decoration: none;
}

.fp-notify-pending-hint a:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
}

#fp-notify-modal.fp-notify-pending #fp-notify-modal-footer {
    justify-content: center;
}

#fp-notify-modal.fp-notify-pending .fp-notify-btn-primary {
    min-width: 128px;
    border-radius: var(--radius-pill);
    padding: 10px 22px;
}

body.fp-light #fp-notify-modal.fp-notify-pending #fp-notify-modal-icon {
    filter: drop-shadow(0 0 10px rgba(255, 47, 134, 0.22));
}

body.fp-light .fp-notify-pending-time {
    background: rgba(255, 47, 134, 0.10);
}

/* ── Report / notify modal select ──────────────────────────────── */
#fp-notify-modal-body select {
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    color-scheme: dark;
    background-color: var(--surface-2);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23ff2f86' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: var(--font-sm);
    font-family: var(--font-family-base);
    padding: 10px 36px 10px 12px;
    cursor: pointer;
    transition: border-color 0.18s;
    outline: none;
}

#fp-notify-modal-body select:focus {
    border-color: var(--border-active);
}

#fp-notify-modal-body select option {
    background: var(--surface-2);
    color: var(--text-primary);
}

#fp-notify-modal-body h2 {
    font-size: var(--font-xs);
    font-weight: var(--weight-semibold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin: var(--space-5) 0 var(--space-2) 0;
}

#fp-notify-modal-body h2:first-child {
    margin-top: 0;
}

#fp-notify-modal-body textarea {
    width: 100%;
    margin-top: var(--space-3);
    box-sizing: border-box;
}

.fp-msg-textarea {
    width: 100%;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border-subtle);
    border-radius: 0;
    color: var(--text-primary);
    padding: var(--space-4);
    font-size: var(--font-md);
    resize: vertical;
    min-height: 100px;
    outline: none;
}

.fp-msg-textarea:focus { border-color: var(--border-active); }

/* ── Custom dropdown ─────────────────────────────────── */
.fp-ddl-wrap {
    position: relative;
    width: 100%;
    margin-top: var(--space-2);
    box-sizing: border-box;
    user-select: none;
}

.fp-ddl-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    padding: var(--space-3) var(--space-4);
    font-size: var(--font-md);
    font-family: var(--font-family-base);
    cursor: pointer;
    text-align: left;
    box-sizing: border-box;
    transition: border-color 0.15s;
}

.fp-ddl-trigger:hover,
.fp-ddl-wrap.fp-ddl-open .fp-ddl-trigger {
    border-color: var(--border-active);
    outline: none;
}

.fp-ddl-chevron {
    flex-shrink: 0;
    margin-left: var(--space-3);
    transition: transform 0.2s ease;
}

.fp-ddl-wrap.fp-ddl-open .fp-ddl-chevron {
    transform: rotate(180deg);
}

.fp-ddl-list {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #1e1e2a;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    list-style: none;
    margin: 0;
    padding: 4px 0;
    z-index: 9999;
    display: none;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}

.fp-ddl-wrap.fp-ddl-open .fp-ddl-list {
    display: block;
}

.fp-ddl-option {
    padding: 10px var(--space-4);
    color: var(--text-primary);
    font-size: var(--font-md);
    font-family: var(--font-family-base);
    cursor: pointer;
    transition: background 0.12s, color 0.12s;
}

.fp-ddl-option:hover {
    background: rgba(255,47,134,0.12);
    color: #ff69b4;
}

.fp-ddl-option.fp-ddl-selected {
    color: #ff2f86;
    font-weight: var(--weight-semibold);
}

/* ── JS Tooltip ───────────────────────────────────────────────────────────── */
#fp-tooltip {
    position: fixed;
    z-index: 99999;
    pointer-events: none;
    background: rgba(22, 22, 28, 0.96);
    color: #e8e8e8;
    font-family: inherit;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.02em;
    padding: 5px 11px;
    border-radius: 5px;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 4px 14px rgba(0,0,0,0.55);
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.15s ease;
    top: -999px;
    left: -999px;
}
#fp-tooltip.fp-tooltip-visible {
    opacity: 1;
}

/* ── Site-wide warning callouts (.warning-wrap) ───────────────── */
body.fp-light .warning-wrap {
    background: rgba(224, 84, 141, 0.06);
    border-color: rgba(224, 84, 141, 0.18);
}

body.fp-light .warning-icon {
    background: rgba(224, 84, 141, 0.10);
}

body.fp-light .warning-txt {
    color: #4a5568;
}

/* ── Like-heart burst (over post photo) ───────────────────── */
.ff-like-burst {
    position: absolute;
    inset: 0;
    z-index: 12;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.ff-like-burst svg {
    width: min(48%, 200px);
    height: auto;
    aspect-ratio: 1;
    display: block;
    filter: drop-shadow(0 10px 28px rgba(224, 51, 107, 0.55));
    animation: ff-like-burst-pop 1.05s cubic-bezier(0.22, 1.35, 0.36, 1) forwards;
    transform-origin: center;
}

@keyframes ff-like-burst-pop {
    0%   { transform: scale(0.12) rotate(-12deg); opacity: 0; }
    16%  { transform: scale(1.22) rotate(8deg); opacity: 1; }
    30%  { transform: scale(0.9) rotate(-4deg); }
    44%  { transform: scale(1.08) rotate(2deg); }
    62%  { transform: scale(1) rotate(0deg); opacity: 1; }
    100% { transform: scale(1.12) translateY(-12px); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .ff-like-burst svg {
        animation: ff-like-burst-fade 0.7s ease forwards;
    }
}

@keyframes ff-like-burst-fade {
    0%   { transform: scale(0.85); opacity: 0; }
    30%  { transform: scale(1); opacity: 1; }
    100% { transform: scale(1); opacity: 0; }
}

/* ── Missing image fallback (Recommended / New Creators / posts) ─ */
img.ff-img-broken {
    display: none !important;
}

.ff-img-missing {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 180px;
    padding: 16px 12px 22px;
    background: #0d0d14;
    border-radius: 14px;
    pointer-events: none;
    user-select: none;
}

.ff-img-missing svg {
    display: block;
    width: 72px;
    height: auto;
    aspect-ratio: 240 / 220;
}

.ff-img-missing span {
    font-family: "Poppins", sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #FF2F86;
    line-height: 1.2;
    text-align: center;
}

/* Username + age sit on the dark card overlay in Recommended / New Creators */
.recommend-name,
.recommend-count {
    color: #ffffff;
}

body.fp-light .recommend-name,
body.fp-light .recommend-count {
    color: #ffffff !important;
}

.slider-images .ff-img-missing,
.recommend-images .ff-img-missing {
    height: clamp(210px, 28vh, 330px);
    min-height: 0;
}

.following-post > .ff-img-missing,
.individual-post > .ff-img-missing {
    min-height: 280px;
    aspect-ratio: 1;
    border-radius: 12px;
}

.following-post > .ff-img-missing svg,
.individual-post > .ff-img-missing svg {
    width: 108px;
}

body.fp-light .ff-img-missing {
    background: #111018;
}

/* Site-wide page loader: same colour as the page, never a white wall.
   Feed pages keep an opaque overlay via feed-redesign.css. */
html body .overlay,
html.ff-dark-preload .overlay,
body.ff-dark .overlay {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    background: #0d111a;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

html.ff-light-preload .overlay,
body.fp-light .overlay {
    background: #ffffff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

html body .overlay-seethrough,
html body .overlay-seethrough-payments,
body.ff-dark .overlay-seethrough,
body.ff-dark .overlay-seethrough-payments {
    background: rgba(13, 17, 26, 0.72);
}

body.fp-light .overlay-seethrough,
body.fp-light .overlay-seethrough-payments {
    background: rgba(255, 255, 255, 0.72);
}

/* Feed first-paint: overlay stays up until post media is in, then fades */
.overlay,
.overlay-posts,
.fp-mobile-post-loader {
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backface-visibility: hidden;
}

body.ff-feed-loading .overlay,
body.ff-feed-loading .overlay-posts,
body.ff-feed-loading .fp-mobile-post-loader {
    will-change: opacity;
}

/* Full-page loader: wordmark stacked over a thin arc spinner.
   Feed / post / message loaders keep .sk-chase only (no logo).
   html body prefix beats style.css which loads after this file. */
html body .ff-page-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: -8vh;
}

html body .ff-page-loader-logo {
    height: 64px;
    width: auto;
    max-width: 240px;
    display: block;
    object-fit: contain;
}

html.ff-light-preload .ff-page-loader-logo,
html body.fp-light .ff-page-loader-logo {
    content: url('/assets/images/FindFyreLogo-Pink.png');
    height: 54px;
}

html body .sk-chase {
    width: 28px !important;
    height: 28px !important;
    border-radius: 50% !important;
    border: 2.5px solid rgba(224, 84, 141, 0.22) !important;
    border-top-color: #e0548d !important;
    background: none !important;
    box-sizing: border-box;
    animation: ff-spin 0.7s linear infinite !important;
    position: relative !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    margin: 0 auto !important;
    z-index: 9999;
}

html.ff-light-preload .sk-chase,
html body.fp-light .sk-chase {
    border: 2.5px solid rgba(224, 84, 141, 0.2) !important;
    border-top-color: #e0548d !important;
}

html body .sk-chase-dot,
html body .sk-chase-dot::before,
html body .sk-chase-dot:before {
    display: none !important;
    animation: none !important;
}

html body .overlay-posts,
html body .overlay-media-posts {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    height: auto !important;
    min-height: 120px;
    padding: 36px 0 !important;
    left: auto;
    top: auto;
}

html body .overlay-posts .sk-chase,
html body .overlay-media-posts .sk-chase,
html body .overlay-messages .sk-chase,
html body .overlay-seethrough .sk-chase,
html body .overlay-seethrough-payments .sk-chase {
    position: relative !important;
    margin: 0 auto !important;
}

@media (min-width: 769px) {
    html body .ff-page-loader-logo {
        height: 80px;
        max-width: 280px;
    }

    html.ff-light-preload .ff-page-loader-logo,
    html body.fp-light .ff-page-loader-logo {
        height: 68px;
    }

    html body .ff-page-loader .sk-chase,
    html body .fp-page-overlay .ff-page-loader .sk-chase {
        width: 40px !important;
        height: 40px !important;
        border-width: 3px !important;
    }
}

@keyframes ff-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.overlay.ff-overlay-hiding,
.overlay-posts.ff-overlay-hiding,
.fp-mobile-post-loader.ff-overlay-hiding {
    opacity: 0 !important;
    pointer-events: none;
}

body.ff-feed-loading #posts,
body.ff-feed-loading #fp-posts,
body.ff-feed-loading #fp-posts-mobile {
    opacity: 0;
}

body.ff-feed-ready #posts,
body.ff-feed-ready #fp-posts,
body.ff-feed-ready #fp-posts-mobile {
    opacity: 1;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body.ff-feed-loading .following-post:empty {
    min-height: 240px;
    background: rgba(255, 255, 255, 0.035);
    border-radius: 12px;
}

.following-post > img {
    animation: ff-media-in 0.35s ease both;
}

/* Lock placeholders must stay invisible — fill-mode:both would
   otherwise pin them at opacity:1 over the new CSS lock marks. */
.following-post:has(+ .premium-btn) > img,
.following-post:has(+ .subscribe-btn) > img,
.following-post > img[src*="prempurchase"],
.following-post > img[src*="padlock"],
.following-post > img[src*="SubOnly"],
.following-post > img[src*="subonly"] {
    animation: none;
}

@keyframes ff-media-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .overlay,
    .overlay-posts,
    .fp-mobile-post-loader,
    body.ff-feed-ready #posts,
    body.ff-feed-ready #fp-posts,
    body.ff-feed-ready #fp-posts-mobile {
        transition: none;
    }

    .following-post > img {
        animation: none;
    }

    html body .sk-chase {
        animation: none !important;
        border-top-color: #e0548d !important;
        border-right-color: rgba(224, 84, 141, 0.22) !important;
    }
}

/* New-message toasts — compact, isolated from global/reset/page CSS.
   html { font-size: 10px } + later stylesheets were inflating vw/rem clamps
   (up to 520px). Sizes are px + !important so they cannot inherit. */
#fyre-msg-toast-stack.fyre-msg-toast-stack {
    position: fixed !important;
    left: 72px !important;
    right: auto !important;
    bottom: 20px !important;
    top: auto !important;
    z-index: 10050 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    align-items: stretch !important;
    gap: 8px !important;
    width: 268px !important;
    min-width: 268px !important;
    max-width: 268px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: none !important;
    pointer-events: none !important;
    box-sizing: border-box !important;
    font-family: "Poppins", sans-serif !important;
    font-size: 12px !important;
    line-height: 1.3 !important;
    transform: none !important;
}
body.fp-sidebar-open #fyre-msg-toast-stack.fyre-msg-toast-stack {
    left: 236px !important;
}
#fyre-msg-toast-stack .fyre-msg-toast {
    position: relative !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 10px 12px !important;
    background: rgba(12, 5, 20, 0.96) !important;
    border: 1px solid rgba(255, 47, 134, 0.5) !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45) !important;
    cursor: pointer !important;
    opacity: 0;
    transform: translateY(12px) scale(0.96);
    pointer-events: none;
    overflow: hidden !important;
    font-size: 12px !important;
    color: #fff !important;
}
#fyre-msg-toast-stack .fyre-msg-toast.is-visible {
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
    animation: fyre-toast-in 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
#fyre-msg-toast-stack .fyre-msg-toast.is-leaving {
    pointer-events: none !important;
    animation: fyre-toast-out 0.3s ease forwards;
}
#fyre-msg-toast-stack .fyre-msg-toast.is-pulse {
    animation: fyre-toast-pulse 0.35s ease;
}
#fyre-msg-toast-stack .fyre-msg-toast-icon {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    font-size: 16px !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: rgba(255, 47, 134, 0.14) !important;
}
#fyre-msg-toast-stack .fyre-msg-toast-text {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
    margin: 0 !important;
    padding: 0 !important;
}
#fyre-msg-toast-stack .fyre-msg-toast-row {
    display: flex !important;
    align-items: baseline !important;
    justify-content: space-between !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
}
#fyre-msg-toast-stack .fyre-msg-toast-kicker {
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    color: rgba(255, 47, 134, 0.95) !important;
    line-height: 1.2 !important;
    margin: 0 !important;
}
#fyre-msg-toast-stack .fyre-msg-toast-title {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: rgba(255, 255, 255, 0.96) !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1.25 !important;
    margin: 0 !important;
    padding: 0 !important;
}
#fyre-msg-toast-stack .fyre-msg-toast-title.is-empty {
    display: none !important;
}
#fyre-msg-toast-stack .fyre-msg-toast-body {
    font-size: 12px !important;
    font-weight: 400 !important;
    color: rgba(255, 255, 255, 0.55) !important;
    line-height: 1.35 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}
#fyre-msg-toast-stack .fyre-msg-toast-time {
    font-size: 10px !important;
    color: rgba(255, 47, 134, 0.95) !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
}
@keyframes fyre-toast-in {
    from { opacity: 0; transform: translateY(14px) scale(0.96); }
    to { opacity: 1; transform: none; }
}
@keyframes fyre-toast-out {
    to { opacity: 0; transform: translateX(-16px) scale(0.96); }
}
@keyframes fyre-toast-in-mobile {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: none; }
}
@keyframes fyre-toast-out-mobile {
    to { opacity: 0; transform: translateY(10px); }
}
@keyframes fyre-toast-pulse {
    0%, 100% { transform: none; border-color: rgba(255, 47, 134, 0.5); }
    45% { transform: scale(1.02); border-color: rgba(255, 47, 134, 0.95); }
}
@media (max-width: 768px) {
    #fyre-msg-toast-stack.fyre-msg-toast-stack,
    body.fp-sidebar-open #fyre-msg-toast-stack.fyre-msg-toast-stack {
        left: 12px !important;
        right: 12px !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        bottom: calc(64px + env(safe-area-inset-bottom, 0px) + 10px) !important;
    }
    #fyre-msg-toast-stack .fyre-msg-toast {
        padding: 12px !important;
        min-height: 0 !important;
    }
    #fyre-msg-toast-stack .fyre-msg-toast.is-visible {
        animation-name: fyre-toast-in-mobile;
    }
    #fyre-msg-toast-stack .fyre-msg-toast.is-leaving {
        animation-name: fyre-toast-out-mobile;
    }
    #fyre-msg-toast-stack .fyre-msg-toast-title {
        font-size: 15px !important;
    }
    #fyre-msg-toast-stack .fyre-msg-toast-body {
        font-size: 13px !important;
    }
}
@media (prefers-reduced-motion: reduce) {
    #fyre-msg-toast-stack .fyre-msg-toast,
    #fyre-msg-toast-stack .fyre-msg-toast.is-visible,
    #fyre-msg-toast-stack .fyre-msg-toast.is-leaving,
    #fyre-msg-toast-stack .fyre-msg-toast.is-pulse {
        animation: none !important;
        transition: opacity 0.2s ease;
        transform: none !important;
    }
    #fyre-msg-toast-stack .fyre-msg-toast.is-leaving {
        opacity: 0 !important;
    }
}

/* Background scroll lock while drawers / menus / popups are open.
   overlay-scroll-lock.js toggles html/body.ff-overlay-noscroll. */
html.ff-overlay-noscroll,
html.ff-overlay-noscroll body,
html.fc-findcreator-page.ff-overlay-noscroll,
html.fc-findcreator-page.ff-overlay-noscroll body,
html.ff-discover-page.ff-overlay-noscroll,
html.ff-discover-page.ff-overlay-noscroll body,
html.ff-overlay-noscroll:has(.bookmark-section),
html.ff-overlay-noscroll:has(.bookmark-section) body,
body.ff-overlay-noscroll,
body.no-scroll {
    overflow: hidden !important;
    overflow-x: hidden !important;
    overflow-y: hidden !important;
    overscroll-behavior: none !important;
}
