/* ============================================================
   help-center.css — FindFyre Help Centre (/help)
   Requires: fyreglobalstyle.css + theme.css loaded first
   ============================================================ */

.ffhelp {
    min-height: 100vh;
    min-width: 0;
    background: var(--bg-page, var(--ff-bg, #0d111a));
    color: var(--text-primary, var(--ff-text-primary, #f8fafc));
    font-family: "Poppins", var(--font-family-base, system-ui, sans-serif);
    padding-bottom: 48px;
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-x: clip;
    -webkit-text-size-adjust: 100%;
}

@media (min-width: 769px) {
    .ffhelp {
        margin-left: var(--sidebar-w, 56px);
        width: calc(100% - var(--sidebar-w, 56px));
        padding-top: 56px;
        transition: margin-left 0.28s cubic-bezier(0.4, 0, 0.2, 1), width 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    }
}

@media (max-width: 768px) {
    .ffhelp {
        padding-top: 56px;
        padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px) + 20px);
    }
}

.ffhelp-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.ffhelp-mode-home .ffhelp-browse,
.ffhelp-mode-home .ffhelp-results,
.ffhelp-mode-browse .ffhelp-home,
.ffhelp-mode-browse .ffhelp-results,
.ffhelp-mode-search .ffhelp-home,
.ffhelp-mode-search .ffhelp-browse {
    display: none;
}

.ffhelp-mode-search .ffhelp-popular {
    display: none;
}

/* ── Hero ─────────────────────────────────────────────────── */

.ffhelp-hero {
    position: relative;
    padding: 48px 20px 36px;
    border-bottom: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.07));
    background:
        radial-gradient(ellipse 80% 60% at 20% 0%, rgba(224, 84, 141, 0.18) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 90% 20%, rgba(155, 92, 255, 0.12) 0%, transparent 55%),
        var(--bg-elevated, #111622);
}

body.fp-light .ffhelp-hero {
    background:
        radial-gradient(ellipse 80% 60% at 20% 0%, rgba(224, 84, 141, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 90% 20%, rgba(155, 92, 255, 0.05) 0%, transparent 55%),
        #ffffff;
}

.ffhelp-hero-inner {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.ffhelp-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #FF2F86 !important;
    margin-bottom: 12px;
}

.ffhelp-title {
    font-size: clamp(26px, 6.4vw, 42px);
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 10px;
    display: block;
    background: linear-gradient(90deg, #ff3b30 0%, #e8408a 42%, #a855f7 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.ffhelp-subtitle {
    font-size: 15px;
    color: var(--text-secondary, #c7cedd);
    margin: 0 0 24px;
    line-height: 1.5;
    padding: 0 8px;
}

body.fp-light .ffhelp-subtitle {
    color: var(--text-muted, #6b7280);
}

.ffhelp-search-wrap {
    position: relative;
    max-width: 640px;
    margin: 0 auto;
    z-index: 5;
}

.ffhelp-search-icon {
    position: absolute;
    left: 16px;
    top: 18px;
    color: var(--text-muted, #7f889a);
    pointer-events: none;
}

.ffhelp-search {
    width: 100%;
    box-sizing: border-box;
    padding: 16px 48px 16px 48px;
    font-size: 16px;
    font-family: inherit;
    color: var(--text-primary);
    background: var(--bg-card, #111622);
    border: 1px solid var(--border-soft, rgba(255, 255, 255, 0.10));
    border-radius: 16px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
}

body.fp-light .ffhelp-search {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.12);
}

.ffhelp-search:focus {
    border-color: var(--accent-primary, #e0548d);
    box-shadow: 0 0 0 4px rgba(224, 84, 141, 0.18);
}

.ffhelp-search::-webkit-search-cancel-button {
    -webkit-appearance: none;
}

.ffhelp-search-clear {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: var(--bg-card-hover, #1a2130);
    color: var(--text-secondary);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.15s ease;
}

body.fp-light .ffhelp-search-clear {
    background: #f2f3f5;
}

.ffhelp-search-clear:hover {
    background: rgba(224, 84, 141, 0.15);
    color: var(--accent-primary);
}

/* ── Typeahead ─────────────────────────────────────────────── */

.ffhelp-suggest {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    margin: 0;
    padding: 8px;
    list-style: none;
    background: var(--bg-card, #111622);
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    box-shadow: var(--shadow-card, 0 16px 40px rgba(0, 0, 0, 0.35));
    text-align: left;
    max-height: min(360px, 50vh);
    overflow-y: auto;
    z-index: 8;
}

body.fp-light .ffhelp-suggest {
    background: #ffffff;
}

.ffhelp-suggest-item {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    cursor: pointer;
}

.ffhelp-suggest-item:hover,
.ffhelp-suggest-item.is-active {
    background: rgba(224, 84, 141, 0.12);
}

.ffhelp-suggest-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    min-width: 0;
}

.ffhelp-suggest-cat {
    flex-shrink: 0;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .ffhelp-suggest {
        display: none !important;
    }
}

/* ── Popular chips ─────────────────────────────────────────── */

.ffhelp-popular {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
}

.ffhelp-popular-label {
    width: 100%;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.ffhelp-chip {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid var(--border-soft);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

body.fp-light .ffhelp-chip {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.1);
}

.ffhelp-chip:hover,
.ffhelp-chip:focus-visible {
    border-color: rgba(224, 84, 141, 0.45);
    color: var(--text-primary);
    background: rgba(224, 84, 141, 0.1);
}

/* ── Category cards ────────────────────────────────────────── */

.ffhelp-home {
    max-width: 1100px;
    margin: 0 auto;
    padding: 28px 16px 0;
}

.ffhelp-cats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

@media (min-width: 900px) {
    .ffhelp-cats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
    }
}

.ffhelp-cat {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    width: 100%;
    text-align: left;
    padding: 18px 16px;
    min-height: 88px;
    background: var(--bg-card, #111622);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    color: inherit;
    font-family: inherit;
    cursor: pointer;
    transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

body.fp-light .ffhelp-cat {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
}

.ffhelp-cat:hover,
.ffhelp-cat:focus-visible {
    border-color: rgba(224, 84, 141, 0.4);
    background: var(--bg-card-hover, #1a2130);
    transform: translateY(-1px);
}

body.fp-light .ffhelp-cat:hover,
body.fp-light .ffhelp-cat:focus-visible {
    background: #fff7fa;
}

.ffhelp-cat-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: #FF2F86;
    background: rgba(224, 84, 141, 0.12);
}

.ffhelp-cat-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.ffhelp-cat-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.ffhelp-cat-desc {
    font-size: 13px;
    line-height: 1.4;
    color: var(--text-secondary);
}

.ffhelp-cat-count {
    font-size: 12px;
    font-weight: 600;
    color: #FF2F86;
    margin-top: 2px;
}

@media (max-width: 420px) {
    .ffhelp-cats {
        grid-template-columns: 1fr;
    }
}

/* ── Search results ───────────────────────────────────────── */

.ffhelp-results {
    max-width: 760px;
    margin: 0 auto;
    padding: 24px 16px 0;
}

.ffhelp-results-meta {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0 0 16px;
}

.ffhelp-results-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ffhelp-result {
    background: var(--bg-card, #111622);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    overflow: hidden;
    transition: border-color 0.2s ease;
}

body.fp-light .ffhelp-result {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
}

.ffhelp-result.is-open,
.ffhelp-result:hover,
.ffhelp-result.is-active {
    border-color: rgba(224, 84, 141, 0.35);
}

.ffhelp-result-head {
    display: block;
    width: 100%;
    text-align: left;
    padding: 16px 18px 12px;
    background: transparent;
    border: none;
    color: inherit;
    font-family: inherit;
    cursor: pointer;
}

.ffhelp-result-best {
    display: inline-block;
    margin-bottom: 8px;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(90deg, #ff3b30, #e8408a);
}

.ffhelp-result-cat {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #FF2F86;
    margin-bottom: 6px;
}

.ffhelp-result h3 {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.ffhelp-result-snippet {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-secondary);
}

.ffhelp-result mark,
.ffhelp-suggest-title mark {
    background: rgba(255, 47, 134, 0.22);
    color: inherit;
    padding: 0 2px;
    border-radius: 3px;
}

.ffhelp-result-body {
    padding: 0 18px 8px;
}

.ffhelp-result-foot {
    padding: 0 18px 14px;
}

.ffhelp-result-open {
    background: none;
    border: none;
    padding: 0;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    color: var(--accent-primary, #e0548d);
    cursor: pointer;
}

.ffhelp-result-open:hover {
    text-decoration: underline;
}

.ffhelp-empty {
    text-align: center;
    padding: 28px 12px 8px;
}

.ffhelp-empty h2 {
    font-size: 20px;
    margin: 0 0 8px;
    color: var(--text-primary);
}

.ffhelp-empty p {
    color: var(--text-secondary);
    margin: 0 0 18px;
}

.ffhelp-empty a {
    color: var(--accent-primary);
}

.ffhelp-empty-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.ffhelp-didyoumean {
    margin-top: 28px;
}

.ffhelp-didyoumean p {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 10px;
}

/* ── Browse layout ────────────────────────────────────────── */

.ffhelp-shell {
    max-width: 1100px;
    margin: 0 auto;
    padding: 28px 16px 0;
    display: grid;
    grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
    gap: 32px;
    align-items: start;
}

.ffhelp-main {
    min-width: 0;
}

.ffhelp-back {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 14px;
    padding: 8px 4px;
    min-height: 40px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
}

.ffhelp-back:hover {
    color: #FF2F86;
}

.ffhelp-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    position: sticky;
    top: 72px;
}

.ffhelp-nav-btn {
    display: block;
    width: 100%;
    text-align: left;
    padding: 10px 14px;
    margin-bottom: 4px;
    min-height: 42px;
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
    color: var(--text-secondary);
    background: transparent;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.ffhelp-nav-btn:hover {
    background: var(--bg-card-hover, rgba(224, 84, 141, 0.08));
    color: var(--text-primary);
}

.ffhelp-nav-btn.ffhelp-active {
    background: linear-gradient(135deg, rgba(224, 84, 141, 0.22) 0%, rgba(140, 48, 176, 0.15) 100%);
    color: var(--accent-primary, #e0548d);
    border-color: rgba(224, 84, 141, 0.28);
}

body.fp-light .ffhelp-nav-btn.ffhelp-active {
    background: rgba(224, 84, 141, 0.10);
}

@media (max-width: 860px) {
    .ffhelp-shell {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .ffhelp-nav {
        position: sticky;
        top: 56px;
        z-index: 4;
        padding: 8px 0 10px;
        background: var(--bg-page, #0d111a);
        margin: 0 -16px;
        padding-left: 16px;
        padding-right: 16px;
    }

    body.fp-light .ffhelp-nav {
        background: #ffffff;
    }

    .ffhelp-nav-list {
        position: static;
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .ffhelp-nav-btn {
        width: auto;
        flex: 1 1 auto;
        min-width: calc(50% - 8px);
        margin-bottom: 0;
        border: 1px solid var(--border-subtle);
        border-radius: 999px;
        padding: 8px 14px;
        text-align: center;
        white-space: nowrap;
    }
}

@media (max-width: 420px) {
    .ffhelp-nav-btn {
        min-width: 100%;
    }
}

/* ── FAQ sections ───────────────────────────────────────────── */

.ffhelp-section {
    display: none;
}

.ffhelp-section.ffhelp-visible {
    display: block;
}

.ffhelp-section-title {
    font-size: clamp(20px, 4vw, 22px);
    font-weight: 600;
    margin: 0 0 16px;
    color: #FF2F86 !important;
}

.ffhelp-item {
    background: var(--bg-card, #111622);
    border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.07));
    border-radius: 14px;
    margin-bottom: 10px;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.3s ease;
    scroll-margin-top: 84px;
}

body.fp-light .ffhelp-item {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
}

.ffhelp-item[open],
.ffhelp-item.ffhelp-flash {
    border-color: rgba(224, 84, 141, 0.45);
}

.ffhelp-item.ffhelp-flash {
    box-shadow: 0 0 0 4px rgba(224, 84, 141, 0.18);
}

.ffhelp-item summary {
    list-style: none;
    cursor: pointer;
    position: relative;
    padding: 16px 48px 16px 18px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
    user-select: none;
    line-height: 1.4;
    min-height: 52px;
}

.ffhelp-item summary::-webkit-details-marker {
    display: none;
}

.ffhelp-item summary::after {
    content: "";
    position: absolute;
    right: 20px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--text-muted);
    border-bottom: 2px solid var(--text-muted);
    transform: translateY(-60%) rotate(45deg);
    transition: transform 0.2s ease;
}

.ffhelp-item[open] summary::after {
    transform: translateY(-30%) rotate(225deg);
}

.ffhelp-answer {
    padding: 0 18px 18px 18px;
    font-size: 14px;
    line-height: 1.65;
    color: var(--text-secondary);
}

body.fp-light .ffhelp-answer {
    color: #245870;
}

.ffhelp-answer p {
    margin: 0 0 12px;
}

.ffhelp-answer p:last-child {
    margin-bottom: 0;
}

.ffhelp-answer ul,
.ffhelp-answer ol {
    margin: 0 0 12px;
    padding-left: 1.25rem;
}

.ffhelp-answer li {
    margin-bottom: 6px;
}

.ffhelp-answer a {
    color: var(--accent-primary, #e0548d);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.ffhelp-answer a:hover {
    color: var(--accent-primary-hover, #c9457c);
}

.ffhelp-answer strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* ── Contact strip ────────────────────────────────────────── */

.ffhelp-contact {
    max-width: 1100px;
    margin: 40px auto 0;
    padding: 0 16px;
}

.ffhelp-contact-inner {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.ffhelp-contact-card {
    background: var(--bg-card, #111622);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

body.fp-light .ffhelp-contact-card {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
}

.ffhelp-contact-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    color: #FF2F86 !important;
}

.ffhelp-contact-card p {
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-secondary);
    margin: 0 0 8px;
    flex: 1;
}

.ffhelp-contact-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--accent-primary);
    text-decoration: none;
    word-break: break-word;
}

.ffhelp-contact-link:hover {
    text-decoration: underline;
}

.ffhelp-contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    min-height: 42px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    color: #ffffff;
    background: var(--accent-primary, #e0548d);
    border: none;
    border-radius: 999px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.15s ease;
    align-self: flex-start;
}

.ffhelp-contact-btn:hover {
    background: var(--accent-primary-hover, #c9457c);
    color: #ffffff;
    transform: translateY(-1px);
}

.ffhelp-contact-btn--ghost {
    background: transparent;
    color: var(--accent-primary);
    border: 1px solid rgba(224, 84, 141, 0.4);
}

.ffhelp-contact-btn--ghost:hover {
    background: rgba(224, 84, 141, 0.10);
    color: var(--accent-primary);
}

@media (max-width: 768px) {
    .ffhelp-hero {
        padding: 28px 16px 24px;
    }

    .ffhelp-mode-search .ffhelp-subtitle {
        display: none;
    }

    .ffhelp-mode-search .ffhelp-hero {
        padding: 20px 16px 16px;
    }

    .ffhelp-title {
        font-size: clamp(24px, 8vw, 32px);
    }

    .ffhelp-subtitle {
        font-size: 14px;
        margin-bottom: 18px;
    }

    .ffhelp-contact-inner {
        grid-template-columns: 1fr;
    }

    .ffhelp-contact-btn,
    .ffhelp-contact-btn--ghost {
        width: 100%;
        align-self: stretch;
    }
}

@media (max-width: 360px) {
    .ffhelp-cat {
        padding: 14px 12px;
    }

    .ffhelp-cat-icon {
        width: 36px;
        height: 36px;
    }
}

/* ============================================================
   Shared shell — help subpages + docs/policy pages
   ============================================================ */

.ffhelp-page {
    min-height: 100vh;
    min-width: 0;
    background: var(--bg-page, #0d111a);
    color: var(--text-primary, #f8fafc);
    font-family: "Poppins", var(--font-family-base, system-ui, sans-serif);
    padding-bottom: 48px;
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-x: clip;
}

@media (min-width: 769px) {
    .ffhelp-page {
        margin-left: var(--sidebar-w, 56px);
        width: calc(100% - var(--sidebar-w, 56px));
        padding-top: 56px;
        transition: margin-left 0.28s cubic-bezier(0.4, 0, 0.2, 1), width 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    }
}

@media (max-width: 768px) {
    .ffhelp-page {
        padding-top: 56px;
        padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px) + 20px);
    }
}

.ffhelp-page-header {
    padding: 40px 20px 36px;
    text-align: center;
    border-bottom: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.07));
    background:
        radial-gradient(ellipse 80% 60% at 20% 0%, rgba(224, 84, 141, 0.18) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 90% 20%, rgba(155, 92, 255, 0.12) 0%, transparent 55%),
        var(--bg-elevated, #111622);
}

body.fp-light .ffhelp-page-header {
    background:
        radial-gradient(ellipse 80% 60% at 20% 0%, rgba(224, 84, 141, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 90% 20%, rgba(155, 92, 255, 0.05) 0%, transparent 55%),
        #ffffff;
}

.ffhelp-page-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary, #c7cedd);
    text-decoration: none;
    margin-bottom: 16px;
    transition: color 0.15s ease;
}

.ffhelp-page-back:hover {
    color: #FF2F86 !important;
}

.ffhelp-page-eyebrow {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #FF2F86 !important;
    margin: 0 0 12px;
}

.ffhelp-page-title {
    font-size: clamp(28px, 6vw, 42px);
    font-weight: 700;
    line-height: 1.15;
    margin: 0;
    color: #ffffff !important;
}

body.fp-light .ffhelp-page-title {
    color: #0a3049 !important;
}

.ffhelp-page-sub {
    font-size: 15px;
    line-height: 1.5;
    color: var(--text-secondary, #c7cedd);
    margin: 10px auto 0;
    max-width: 560px;
}

body.fp-light .ffhelp-page-sub {
    color: var(--text-muted, #6b7280);
}

.ffdoc-hero-art {
    display: block;
    width: min(148px, 42vw);
    height: auto;
    margin: 0 auto 14px;
}

.ffhelp-page .policy-container,
.ffhelp-page .ffhelp-doc {
    max-width: 900px;
    margin: 0 auto;
    padding: 32px 20px 0;
    background: transparent;
    border-radius: 0;
}

.ffhelp-page .policy-title,
.ffhelp-page h1.policy-title {
    text-align: left;
    color: #FF2F86 !important;
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 700;
    margin: 0 0 24px;
}

.ffhelp-page .policy-title[style] {
    margin: 0 0 24px !important;
    text-align: left;
}

.ffhelp-page .policy-section-title,
.ffhelp-page .policy-section-link {
    color: #FF2F86 !important;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 28px 0 12px;
}

.ffhelp-page .policy-subsection-title {
    color: var(--text-primary, #f8fafc);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 20px 0 10px;
}

body.fp-light .ffhelp-page .policy-subsection-title {
    color: #0f1117;
}

.ffhelp-page .policy-text,
.ffhelp-page .policy-list-item {
    color: var(--text-secondary, #c7cedd);
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: 14px;
}

body.fp-light .ffhelp-page .policy-text,
body.fp-light .ffhelp-page .policy-list-item {
    color: #245870;
}

.ffhelp-page .policy-highlight {
    color: var(--text-primary, #f8fafc);
}

.ffhelp-page .policy-links,
.ffhelp-page .policy-text a {
    color: #FF2F86 !important;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.ffhelp-page .policy-list {
    padding-left: 1.25rem;
    margin-bottom: 16px;
}

.ffhelp-page .help-logo,
.ffhelp-page .following > .help-logo {
    display: none;
}

.ffhelp-page:has(.ffhelp-page-header) .policy-container > .policy-title:first-child {
    display: none;
}

.ffhelp-page .fyfaq {
    color: var(--text-primary);
    font-family: inherit;
}

.ffhelp-page .fyfaq-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 32px 20px 0;
    gap: 32px;
}

.ffhelp-page .fyfaq-categories a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: 10px;
    padding: 10px 14px;
}

.ffhelp-page .fyfaq-categories a:hover,
.ffhelp-page .fyfaq-categories a:focus {
    background: var(--bg-card-hover, rgba(255, 47, 134, 0.08));
    color: var(--text-primary);
}

.ffhelp-page .fyfaq-categories a.fyfaq-active {
    background: linear-gradient(135deg, rgba(255, 47, 134, 0.22) 0%, rgba(140, 48, 176, 0.15) 100%);
    color: #FF2F86 !important;
}

.ffhelp-page .fyfaq-section h2 {
    font-size: 22px;
    font-weight: 600;
    color: #FF2F86 !important;
    margin-bottom: 20px;
}

.ffhelp-page .fyfaq-section details {
    background: var(--bg-card, #111622);
    border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.07));
    border-radius: 14px;
    margin-bottom: 10px;
}

body.fp-light .ffhelp-page .fyfaq-section details {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
}

.ffhelp-page .fyfaq-section summary {
    color: var(--text-primary);
    font-size: 15px;
    padding: 16px 48px 16px 18px;
}

.ffhelp-page .fyfaq-content {
    font-size: 14px;
    color: var(--text-secondary);
    padding: 0 18px 18px 18px;
}

.ffhelp-page .fyfaq-content a {
    color: #FF2F86 !important;
}

.ffhelp-page--auth .login,
.ffhelp-page--auth .login-sec {
    background: transparent;
    min-height: auto;
    padding: 32px 20px;
}

.ffhelp-page--auth .container {
    max-width: 440px;
    margin: 0 auto;
}

.ffhelp-page--auth .login-logo {
    display: block;
    text-align: center;
    margin: 0 0 24px !important;
}

.ffhelp-page--auth .form-wrap,
.ffhelp-page--auth .form-content,
.ffhelp-page--auth .grouper {
    background: var(--bg-card, #111622);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 28px 24px;
    width: 100% !important;
    box-sizing: border-box;
}

body.fp-light .ffhelp-page--auth .form-wrap,
body.fp-light .ffhelp-page--auth .form-content,
body.fp-light .ffhelp-page--auth .grouper {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
}

.ffhelp-page--auth h4 {
    color: #FF2F86 !important;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}

.ffhelp-page--auth .form-control,
.ffhelp-page--auth .afyre-inputs,
.ffhelp-page--auth .forgotpw {
    background: var(--bg-card-soft, #151b29);
    border: 1px solid var(--border-soft);
    color: var(--text-primary);
    border-radius: 10px;
}

body.fp-light .ffhelp-page--auth .form-control,
body.fp-light .ffhelp-page--auth .afyre-inputs,
body.fp-light .ffhelp-page--auth .forgotpw {
    background: #f7f8f9;
    color: #0f1117;
}

.ffhelp-page--auth .register-label,
.ffhelp-page--auth .login-spans {
    color: var(--text-secondary);
}

.ffhelp-page .footer-section {
    display: none;
}

.ffhelp-page .following {
    background: transparent;
    margin: 0;
    padding: 0;
}

.ffhelp-page .container.docs,
.ffhelp-page .b-list-sections {
    max-width: 900px;
    margin: 0 auto;
    padding: 32px 20px 0;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.65;
}

.ffhelp-page:has(.ffhelp-page-header) .b-list-sections h1 {
    display: none;
}

.ffhelp-page .b-list-sections a {
    color: #FF2F86 !important;
}

/* ============================================================
   notavailable.aspx — open page, no card
   ============================================================ */

.ffna {
    min-height: 100vh;
    min-width: 0;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 20px 48px;
    background: transparent;
}

@media (min-width: 769px) {
    .ffna {
        margin-left: var(--sidebar-w, 56px);
        width: calc(100% - var(--sidebar-w, 56px));
        padding-top: 56px;
    }
}

@media (max-width: 768px) {
    .ffna {
        padding-top: 56px;
        padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px) + 24px);
    }
}

.ffna-inner {
    width: min(560px, 100%);
    text-align: center;
    background: none;
    border: 0;
    box-shadow: none;
    padding: 0;
}

.ffna-hero {
    display: block;
    width: min(280px, 72vw);
    height: auto;
    margin: 0 auto 8px;
}

.ffna-title {
    margin: 0 0 10px;
    font-size: clamp(28px, 7vw, 42px);
    font-weight: 700;
    line-height: 1.15;
    color: #ffffff !important;
}

.ffna-copy {
    margin: 0 0 28px;
    font-size: 16px;
    line-height: 1.5;
    color: #ffffff !important;
}

body.fp-light .ffna-title,
body.fp-light .ffna-copy {
    color: #0a3049 !important;
}

.ffna-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

.ffna-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 22px;
    border-radius: 999px;
    background: #FF2F86;
    color: #fff !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    font-family: inherit;
    border: 0;
}

.ffna-btn:hover {
    background: #e02578;
    color: #fff !important;
}

.ffna-link {
    color: #FF2F86 !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.ffna-link:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
    color: #FF2F86 !important;
}

/* ============================================================
   Contact, policies hub, and legal document pages
   ============================================================ */

.ffdoc-wrap {
    max-width: 920px;
    margin: 0 auto;
    padding: 28px 20px 0;
}

.ffdoc-wrap--narrow {
    max-width: 760px;
}

.ffdoc-methods,
.ffdoc-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.ffdoc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ffdoc-method,
.ffdoc-card,
.ffdoc-paper,
.ffdoc-note,
.ffdoc-step {
    background: var(--bg-card, #111622);
    border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.07));
    border-radius: 18px;
    min-width: 0;
}

body.fp-light .ffdoc-method,
body.fp-light .ffdoc-card,
body.fp-light .ffdoc-paper,
body.fp-light .ffdoc-note,
body.fp-light .ffdoc-step {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
}

.ffdoc-method,
.ffdoc-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 22px 20px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

a.ffdoc-card:hover,
a.ffdoc-card:focus-visible {
    border-color: rgba(224, 84, 141, 0.4);
    background: var(--bg-card-hover, #1a2130);
    transform: translateY(-1px);
    color: inherit;
}

body.fp-light a.ffdoc-card:hover,
body.fp-light a.ffdoc-card:focus-visible {
    background: #fff7fa;
}

.ffdoc-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: #FF2F86;
    background: rgba(224, 84, 141, 0.12);
    margin-bottom: 4px;
}

.ffdoc-method h2,
.ffdoc-card h2 {
    margin: 0;
    font-size: 17px;
    font-weight: 600;
    color: #ffffff !important;
}

body.fp-light .ffdoc-method h2,
body.fp-light .ffdoc-card h2 {
    color: #0f1117 !important;
}

.ffdoc-method p,
.ffdoc-card p {
    margin: 0 0 8px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-secondary, #c7cedd);
    flex: 1;
}

.ffdoc-card-go {
    font-size: 13px;
    font-weight: 600;
    color: #FF2F86;
}

.ffdoc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 18px;
    border-radius: 999px;
    background: #FF2F86;
    color: #fff !important;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    text-decoration: none;
    border: 0;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.15s ease;
}

.ffdoc-btn:hover {
    background: #e02578;
    color: #fff !important;
    transform: translateY(-1px);
}

.ffdoc-btn--ghost {
    background: transparent;
    color: #FF2F86 !important;
    border: 1px solid rgba(224, 84, 141, 0.4);
}

.ffdoc-btn--ghost:hover {
    background: rgba(224, 84, 141, 0.1);
    color: #FF2F86 !important;
}

.ffdoc-paper {
    padding: 28px 26px;
    margin-top: 8px;
}

.ffdoc-paper .policy-title,
.ffdoc-paper h1.policy-title {
    display: none;
}

.ffdoc-paper .policy-section-title,
.ffdoc-paper .policy-section-link,
.ffdoc-paper h2 {
    color: #FF2F86 !important;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 28px 0 12px;
    line-height: 1.35;
    scroll-margin-top: 84px;
}

.ffdoc-paper .policy-section-title:first-child,
.ffdoc-paper h2:first-child {
    margin-top: 0;
}

.ffdoc-paper .policy-subsection-title,
.ffdoc-paper h3 {
    color: var(--text-primary, #f8fafc);
    font-size: 1.05rem;
    font-weight: 600;
    margin: 20px 0 10px;
}

body.fp-light .ffdoc-paper .policy-subsection-title,
body.fp-light .ffdoc-paper h3 {
    color: #0f1117;
}

.ffdoc-paper .policy-text,
.ffdoc-paper .policy-list-item,
.ffdoc-paper p,
.ffdoc-note p {
    color: var(--text-secondary, #c7cedd);
    font-size: 15px;
    line-height: 1.7;
    margin: 0 0 14px;
}

body.fp-light .ffdoc-paper .policy-text,
body.fp-light .ffdoc-paper .policy-list-item,
body.fp-light .ffdoc-paper p,
body.fp-light .ffdoc-note p {
    color: #245870;
}

.ffdoc-paper .policy-text:last-child,
.ffdoc-paper p:last-child,
.ffdoc-note p:last-child {
    margin-bottom: 0;
}

.ffdoc-paper a,
.ffdoc-note a,
.ffdoc-paper .policy-links {
    color: #FF2F86 !important;
    text-decoration: none;
    font-weight: 600;
}

.ffdoc-paper a:hover,
.ffdoc-note a:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.ffdoc-paper .policy-list,
.ffdoc-paper ul,
.ffdoc-paper ol {
    margin: 0 0 16px;
    padding-left: 1.25rem;
}

.ffdoc-paper .policy-highlight,
.ffdoc-paper strong {
    color: var(--text-primary, #f8fafc);
    font-weight: 600;
}

body.fp-light .ffdoc-paper .policy-highlight,
body.fp-light .ffdoc-paper strong {
    color: #0f1117;
}

.ffdoc-note {
    padding: 22px 22px 20px;
    margin-top: 16px;
}

.ffdoc-note h2 {
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: 600;
    color: #FF2F86;
}

.ffdoc-steps {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ffdoc-step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 18px;
}

.ffdoc-step-num {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 14px;
    font-weight: 700;
    color: #FF2F86;
    border: 2px solid #FF2F86;
}

.ffdoc-step h2 {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff !important;
}

.ffdoc-step p {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: var(--text-secondary, #c7cedd);
}

.ffdoc-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 22px;
}

.ffdoc-more {
    margin-top: 28px;
    padding-top: 8px;
}

.ffdoc-more-label {
    margin: 0 0 12px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted, #7f889a);
}

.ffdoc-more-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ffdoc-more-links a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid var(--border-soft, rgba(255, 255, 255, 0.1));
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-secondary, #c7cedd);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

body.fp-light .ffdoc-more-links a {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.1);
}

.ffdoc-more-links a:hover,
.ffdoc-more-links a:focus-visible {
    border-color: rgba(224, 84, 141, 0.45);
    color: var(--text-primary, #f8fafc);
    background: rgba(224, 84, 141, 0.1);
}

.ffhelp-page .policy-container.ffdoc-paper {
    max-width: none;
    margin: 0;
    padding: 28px 26px;
    background: var(--bg-card, #111622);
    border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.07));
    border-radius: 18px;
}

body.fp-light .ffhelp-page .policy-container.ffdoc-paper {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
}

.ffhelp-page .fyfaq-container {
    max-width: 920px;
}

@media (max-width: 860px) {
    .ffdoc-methods,
    .ffdoc-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .ffdoc-btn {
        width: 100%;
    }

    .ffdoc-paper,
    .ffhelp-page .policy-container.ffdoc-paper {
        padding: 22px 18px;
    }

    .ffdoc-method,
    .ffdoc-card {
        padding: 20px 16px;
    }
}

