/* FansFlex v9.1 — reference-locked profile, settings and finance refinement.
   Existing Laravel forms, routes, data, dialogs and payment actions are preserved.
   Light = satin silver / pearl. Night = brushed navy steel / chrome. */

body.fansflex-app.ff-route-profile,
body.fansflex-app.ff-route-my-settings,
body.fansflex-app.ff-route-earnings,
body.fansflex-app.ff-route-analytics,
body.fansflex-app.ff-route-promotions {
  --ff91-ink:#153652;
  --ff91-muted:#617f98;
  --ff91-canvas:#eaf2fb;
  --ff91-panel:#f8fbff;
  --ff91-panel-raised:#ffffff;
  --ff91-panel-soft:#eaf3fc;
  --ff91-control:#f4f8fd;
  --ff91-edge:rgba(91,139,180,.38);
  --ff91-edge-strong:rgba(61,119,169,.62);
  --ff91-glint:rgba(255,255,255,.98);
  --ff91-blue:#145b98;
  --ff91-blue-strong:#0b3e70;
  --ff91-gold:#c8994b;
  --ff91-gold-light:#f8dfa6;
  --ff91-metal:linear-gradient(137deg,#ffffff 0%,#edf5fd 23%,#d8e8f6 45%,#fbfdff 63%,#e1edf8 100%);
  --ff91-metal-soft:linear-gradient(145deg,#fbfdff 0%,#eaf3fb 52%,#f8fbff 100%);
  --ff91-shadow:0 2px 5px rgba(18,55,92,.08),0 11px 28px rgba(28,76,125,.12),inset 0 1px 0 rgba(255,255,255,.98);
  --ff91-shadow-raised:0 6px 14px rgba(18,55,92,.11),0 20px 44px rgba(28,76,125,.15),inset 0 1px 0 rgba(255,255,255,.98);
  --ff91-focus:0 0 0 3px rgba(50,139,207,.22);
  --ff91-radius:16px;
}

html[data-bs-theme="dark"] body.fansflex-app.ff-route-profile,
html[data-bs-theme="dark"] body.fansflex-app.ff-route-my-settings,
html[data-bs-theme="dark"] body.fansflex-app.ff-route-earnings,
html[data-bs-theme="dark"] body.fansflex-app.ff-route-analytics,
html[data-bs-theme="dark"] body.fansflex-app.ff-route-promotions,
html[data-theme="dark"] body.fansflex-app.ff-route-profile,
html[data-theme="dark"] body.fansflex-app.ff-route-my-settings,
html[data-theme="dark"] body.fansflex-app.ff-route-earnings,
html[data-theme="dark"] body.fansflex-app.ff-route-analytics,
html[data-theme="dark"] body.fansflex-app.ff-route-promotions {
  --ff91-ink:#edf6ff;
  --ff91-muted:#a7c1d6;
  --ff91-canvas:#071725;
  --ff91-panel:#102a40;
  --ff91-panel-raised:#16354e;
  --ff91-panel-soft:#0c2236;
  --ff91-control:#0b2033;
  --ff91-edge:rgba(137,184,220,.40);
  --ff91-edge-strong:rgba(151,211,250,.68);
  --ff91-glint:rgba(233,247,255,.19);
  --ff91-blue:#79c4f4;
  --ff91-blue-strong:#b8e1ff;
  --ff91-metal:linear-gradient(137deg,#29475f 0%,#10283d 25%,#1b3b55 47%,#0d2337 70%,#18364e 100%);
  --ff91-metal-soft:linear-gradient(145deg,#18364e 0%,#0d2438 54%,#17354d 100%);
  --ff91-shadow:0 2px 6px rgba(0,6,16,.43),0 13px 32px rgba(0,7,18,.33),inset 0 1px 0 rgba(233,247,255,.13);
  --ff91-shadow-raised:0 7px 17px rgba(0,5,15,.40),0 23px 48px rgba(0,5,16,.38),inset 0 1px 0 rgba(233,247,255,.18);
  --ff91-focus:0 0 0 3px rgba(68,171,241,.30);
}

/* Shared page canvas and content width. */
body.fansflex-app:is(.ff-route-profile,.ff-route-my-settings,.ff-route-earnings,.ff-route-analytics,.ff-route-promotions) .content-wrapper {
  min-width:0;
  color:var(--ff91-ink);
  background-color:var(--ff91-canvas)!important;
  background-image:radial-gradient(ellipse 78% 420px at 108% -4%,rgba(67,145,210,.13),transparent 72%),linear-gradient(180deg,rgba(255,255,255,.17),transparent 58%)!important;
}
html[data-bs-theme="dark"] body.fansflex-app:is(.ff-route-profile,.ff-route-my-settings,.ff-route-earnings,.ff-route-analytics,.ff-route-promotions) .content-wrapper,
html[data-theme="dark"] body.fansflex-app:is(.ff-route-profile,.ff-route-my-settings,.ff-route-earnings,.ff-route-analytics,.ff-route-promotions) .content-wrapper {
  background-image:radial-gradient(ellipse 78% 450px at 108% -5%,rgba(38,129,196,.23),transparent 70%),linear-gradient(145deg,#071827,#0b2236 58%,#071725)!important;
}

/* Public creator profile: preserve the existing cover, avatar, social links and actions. */
body.fansflex-app.ff-route-profile .content-wrapper > .d-flex.flex-wrap {
  align-items:flex-start;
  row-gap:14px;
}
body.fansflex-app.ff-route-profile .profile-cover-bg {
  position:relative;
  isolation:isolate;
  border:1px solid var(--ff91-edge-strong)!important;
  border-radius:18px!important;
  overflow:hidden;
  background:var(--ff91-metal-soft)!important;
  box-shadow:var(--ff91-shadow-raised)!important;
}
body.fansflex-app.ff-route-profile .profile-cover-bg:after {
  content:"";
  position:absolute;
  inset:45% 0 0;
  z-index:1;
  pointer-events:none;
  background:linear-gradient(180deg,transparent,rgba(4,20,35,.32));
}
body.fansflex-app.ff-route-profile .profile-cover-bg>img {
  width:100%;height:100%;object-fit:cover;object-position:center 42%;
  filter:saturate(1.035) contrast(1.025);
}
body.fansflex-app.ff-route-profile .avatar-holder {
  min-width:0;
  align-items:flex-end;
  margin-top:-3px;
}
body.fansflex-app.ff-route-profile .profile-avatar-wrap {
  position:relative;
  padding:3px;
  border-radius:50%;
  background:linear-gradient(145deg,#fff,#9fc2df 34%,#f7fbff 56%,#6c9fc7 100%);
  box-shadow:0 7px 18px rgba(4,27,48,.22),0 0 0 1px rgba(255,255,255,.76);
}
body.fansflex-app.ff-route-profile .profile-avatar-img {
  display:block;
  border:3px solid var(--ff91-panel-raised)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.75);
}
body.fansflex-app.ff-route-profile .profile-actions {gap:7px;flex-wrap:wrap;}
body.fansflex-app.ff-route-profile .profile-actions .p-pill {
  min-width:40px;min-height:40px;
  display:inline-flex;align-items:center;justify-content:center;gap:6px;
  border:1px solid var(--ff91-edge-strong)!important;
  border-radius:12px!important;
  color:var(--ff91-ink)!important;
  background:var(--ff91-metal)!important;
  box-shadow:inset 0 1px 0 var(--ff91-glint),0 4px 12px rgba(14,48,78,.12)!important;
  transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;
}
body.fansflex-app.ff-route-profile .profile-actions .p-pill:hover {
  transform:translateY(-1px);
  border-color:var(--ff91-edge-strong)!important;
  box-shadow:var(--ff91-shadow-raised)!important;
}
body.fansflex-app.ff-route-profile .profile-actions .p-pill.p-pill-text {
  padding-inline:13px;
  background:linear-gradient(180deg,#f7dfa8,#c49343)!important;
  color:#172b3c!important;
  border-color:#e6c27b!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.85),0 5px 13px rgba(113,75,19,.2)!important;
}
body.fansflex-app.ff-route-profile .content-wrapper .container.pt-2.ps-0.pe-0 {
  border:1px solid var(--ff91-edge)!important;
  border-radius:17px!important;
  overflow:hidden;
  background:var(--ff91-panel)!important;
  box-shadow:var(--ff91-shadow)!important;
}
body.fansflex-app.ff-route-profile .content-wrapper .container.pt-2.ps-0.pe-0 .bg-separator {
  height:1px;
  background:linear-gradient(90deg,transparent,var(--ff91-edge-strong),transparent)!important;
  border:0!important;
}
body.fansflex-app.ff-route-profile .profile-description-holder,
body.fansflex-app.ff-route-profile .profile-highlights {
  color:var(--ff91-ink);
}
body.fansflex-app.ff-route-profile .profile-description-holder {
  line-height:1.65;
  overflow-wrap:anywhere;
}
body.fansflex-app.ff-route-profile .profile-description-holder a,
body.fansflex-app.ff-route-profile .profile-social-links a {color:var(--ff91-blue-strong)!important;}
body.fansflex-app.ff-route-profile .profile-highlights .swiper-slide,
body.fansflex-app.ff-route-profile .profile-widgets-area :is(.card,.widget,.profile-widget,.latest-media-widget,.subscribe-widget) {
  border:1px solid var(--ff91-edge)!important;
  border-radius:14px!important;
  background:var(--ff91-panel-raised)!important;
  box-shadow:var(--ff91-shadow)!important;
  overflow:hidden;
}
body.fansflex-app.ff-route-profile .subscription-holder {
  margin:12px 0;
  border:1px solid var(--ff91-edge-strong)!important;
  border-radius:16px!important;
  background:var(--ff91-metal-soft)!important;
  box-shadow:var(--ff91-shadow)!important;
}
body.fansflex-app.ff-route-profile .subscription-holder h6 {
  color:var(--ff91-muted)!important;
  letter-spacing:.11em;
  font-size:.72rem;
}
body.fansflex-app.ff-route-profile .subscription-holder :is(.btn-primary,.btn-round) {
  min-height:46px;
  border:1px solid #8eb9db!important;
  border-radius:12px!important;
  color:#fff!important;
  background:linear-gradient(180deg,#2676b6,#0b477e)!important;
  box-shadow:inset 0 1px rgba(255,255,255,.28),0 6px 16px rgba(9,55,97,.23)!important;
  font-weight:750;
}
body.fansflex-app.ff-route-profile .subscription-holder .ff75-bundle-toggle {color:var(--ff91-blue-strong)!important;}
body.fansflex-app.ff-route-profile .profile-widgets-area {display:grid;gap:12px;align-content:start;}
body.fansflex-app.ff-route-profile .profile-widgets-area>* {min-width:0;margin-top:0!important;}

/* Settings workspace: steel navigation rail, raised work surface and unified controls. */
body.fansflex-app.ff-route-my-settings .settings-menu-wrapper {
  padding:12px;
  border:1px solid var(--ff91-edge)!important;
  border-radius:16px!important;
  background:var(--ff91-metal-soft)!important;
  box-shadow:var(--ff91-shadow)!important;
}
body.fansflex-app.ff-route-my-settings .settings-menu hr {
  border-color:var(--ff91-edge)!important;
  opacity:1;
}
body.fansflex-app.ff-route-my-settings .settings-nav .list-group {
  display:grid;
  gap:5px;
  background:transparent;
  border:0;
}
body.fansflex-app.ff-route-my-settings .settings-nav .list-group-item {
  min-height:43px;
  display:flex;align-items:center;gap:10px;
  border:1px solid transparent!important;
  border-radius:11px!important;
  color:var(--ff91-muted)!important;
  background:transparent!important;
  font-weight:650;
  transition:background .16s ease,border-color .16s ease,box-shadow .16s ease,transform .16s ease;
}
body.fansflex-app.ff-route-my-settings .settings-nav .list-group-item:not(.active):is(:hover,:focus-visible) {
  color:var(--ff91-ink)!important;
  border-color:var(--ff91-edge)!important;
  background:var(--ff91-panel-raised)!important;
  box-shadow:inset 0 1px 0 var(--ff91-glint),0 4px 12px rgba(18,55,92,.09)!important;
  transform:translateX(2px);
}
body.fansflex-app.ff-route-my-settings .settings-nav .list-group-item.active,
body.fansflex-app.ff-route-my-settings .settings-nav .list-group-item.active:hover,
body.fansflex-app.ff-route-my-settings .settings-nav .list-group-item.active:focus {
  color:#fff!important;
  border:1px solid #7eb6e2!important;
  background:linear-gradient(115deg,#143c62 0%,#1b5b91 58%,#287db8 100%)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 5px 14px rgba(7,45,82,.23),0 0 0 1px rgba(123,190,239,.18)!important;
}
body.fansflex-app.ff-route-my-settings .settings-content {padding-inline:12px;}
body.fansflex-app.ff-route-my-settings .ff21-settings-shell {min-width:0;}
body.fansflex-app.ff-route-my-settings .ff21-settings-content {
  color:var(--ff91-ink);
}
body.fansflex-app.ff-route-my-settings .ff21-settings-content>form,
body.fansflex-app.ff-route-my-settings .ff21-settings-content>.account-email-panel,
body.fansflex-app.ff-route-my-settings .ff21-settings-content>.account-danger-panel,
body.fansflex-app.ff-route-my-settings .ff21-settings-content>.settings-data-page,
body.fansflex-app.ff-route-my-settings .ff21-settings-content>.settings-payments-page,
body.fansflex-app.ff-route-my-settings .ff21-settings-content>.onboarding-page,
body.fansflex-app.ff-route-my-settings .fansflex-wallet-panel {
  border:1px solid var(--ff91-edge)!important;
  border-radius:16px!important;
  background:var(--ff91-panel)!important;
  box-shadow:var(--ff91-shadow)!important;
  min-width:0;
}
body.fansflex-app.ff-route-my-settings .ff21-settings-content>form {padding:18px!important;}
body.fansflex-app.ff-route-my-settings .ff21-settings-hero,
body.fansflex-app.ff-route-my-settings .ff17-settings-hero {
  position:relative;
  overflow:hidden;
  border:1px solid var(--ff91-edge-strong)!important;
  border-radius:17px!important;
  background:var(--ff91-metal)!important;
  color:var(--ff91-ink)!important;
  box-shadow:var(--ff91-shadow-raised)!important;
}
body.fansflex-app.ff-route-my-settings .ff21-settings-hero:after,
body.fansflex-app.ff-route-my-settings .ff17-settings-hero:after {
  content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(115deg,rgba(255,255,255,.22),transparent 38%,rgba(73,137,188,.08));
}
body.fansflex-app.ff-route-my-settings :is(.ff21-settings-title,.ff17-settings-hero h2) {color:var(--ff91-ink)!important;}
body.fansflex-app.ff-route-my-settings :is(.ff21-settings-subtitle,.ff17-settings-hero p) {color:var(--ff91-muted)!important;}
body.fansflex-app.ff-route-my-settings .ff21-settings-eyebrow,
body.fansflex-app.ff-route-my-settings .ff17-settings-kicker {color:var(--ff91-blue-strong)!important;letter-spacing:.13em;}

/* Wallet: balance is the visual anchor; provider buttons remain the real forms. */
body.fansflex-app.ff-route-my-settings .fansflex-wallet-balance-card {
  position:relative;
  overflow:hidden;
  border:1px solid var(--ff91-edge-strong)!important;
  border-radius:16px!important;
  padding:22px!important;
  background:linear-gradient(118deg,#0b2b49 0%,#155b91 48%,#2c83bd 100%)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.28),0 12px 28px rgba(10,55,94,.24)!important;
}
body.fansflex-app.ff-route-my-settings .fansflex-wallet-balance-card:after {
  content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(130deg,rgba(255,255,255,.14),transparent 42%,rgba(255,255,255,.07));
}
body.fansflex-app.ff-route-my-settings .fansflex-wallet-balance-card .wallet-total-amount {
  position:relative;z-index:1;font-size:clamp(1.8rem,3vw,2.65rem)!important;
  letter-spacing:-.035em;font-variant-numeric:tabular-nums;
}
body.fansflex-app.ff-route-my-settings .fansflex-wallet-balance-card p {position:relative;z-index:1;color:rgba(255,255,255,.86)!important;}
body.fansflex-app.ff-route-my-settings .inline-border-tabs {
  padding:5px;
  border:1px solid var(--ff91-edge)!important;
  border-radius:14px!important;
  background:var(--ff91-metal-soft)!important;
  box-shadow:inset 0 1px 0 var(--ff91-glint),0 5px 14px rgba(15,54,88,.08)!important;
}
body.fansflex-app.ff-route-my-settings .inline-border-tabs .nav-link {
  min-height:43px;border:1px solid transparent!important;border-radius:10px!important;
  color:var(--ff91-muted)!important;font-weight:750;
}
body.fansflex-app.ff-route-my-settings .inline-border-tabs .nav-link.active {
  color:#fff!important;border-color:#7db5df!important;
  background:linear-gradient(115deg,#123b62,#1c6298 62%,#287eb9)!important;
  box-shadow:inset 0 1px rgba(255,255,255,.23),0 4px 12px rgba(8,48,83,.2)!important;
}

/* Finance tables and summary cards: precision spacing, steel edges, clear statuses. */
body.fansflex-app.ff-route-my-settings :is(.settings-data-stat-card,.settings-payments-stat-card) {
  border:1px solid var(--ff91-edge)!important;border-radius:14px!important;
  background:var(--ff91-metal-soft)!important;box-shadow:var(--ff91-shadow)!important;
  padding:13px 15px!important;
}
body.fansflex-app.ff-route-my-settings :is(.settings-data-stat-label,.settings-payments-stat-label) {color:var(--ff91-muted)!important;font-weight:650;}
body.fansflex-app.ff-route-my-settings :is(.settings-data-stat-value,.settings-payments-stat-value) {color:var(--ff91-ink)!important;font-size:clamp(1.05rem,1.5vw,1.35rem)!important;}
body.fansflex-app.ff-route-my-settings :is(.settings-data-table,.settings-payments-table) {
  overflow:hidden;border:1px solid var(--ff91-edge)!important;border-radius:15px!important;
  background:var(--ff91-panel)!important;box-shadow:var(--ff91-shadow)!important;
}
body.fansflex-app.ff-route-my-settings :is(.settings-data-table-head,.settings-payments-table-head) {
  background:var(--ff91-metal)!important;color:var(--ff91-ink)!important;
}
body.fansflex-app.ff-route-my-settings :is(.settings-data-header-row,.settings-payments-header-row) {
  color:var(--ff91-muted)!important;border-color:var(--ff91-edge)!important;font-size:.78rem;text-transform:uppercase;letter-spacing:.055em;
}
body.fansflex-app.ff-route-my-settings :is(.settings-data-row,.settings-payments-row) {
  border-color:var(--ff91-edge)!important;color:var(--ff91-ink)!important;
  transition:background .15s ease,box-shadow .15s ease;
}
body.fansflex-app.ff-route-my-settings :is(.settings-data-row,.settings-payments-row):hover {
  background:rgba(74,145,203,.09)!important;box-shadow:inset 3px 0 0 var(--ff91-blue)!important;
}
body.fansflex-app.ff-route-my-settings :is(.settings-data-cell-main,.settings-data-amount,.settings-payments-cell-main,.settings-payments-amount,.settings-data-party-link,.settings-payments-party-link) {color:var(--ff91-ink)!important;}
body.fansflex-app.ff-route-my-settings :is(.settings-data-meta,.settings-payments-meta) {color:var(--ff91-muted)!important;}

/* All settings controls use one steel input contract. */
body.fansflex-app.ff-route-my-settings .ff21-settings-content :is(input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]):not([type=submit]):not([type=button]):not([type=reset]):not([type=range]),textarea,select,.form-control,.form-select,.selectize-input),
body.fansflex-app.ff-route-my-settings .ff21-settings-content .input-group-text {
  min-height:42px;
  border:1px solid var(--ff91-edge-strong)!important;
  border-radius:10px!important;
  color:var(--ff91-ink)!important;
  background:var(--ff91-control,var(--ff91-panel-raised))!important;
  box-shadow:inset 0 1px 0 var(--ff91-glint),0 2px 6px rgba(14,48,78,.05)!important;
}
body.fansflex-app.ff-route-my-settings .ff21-settings-content textarea {min-height:110px;}
body.fansflex-app.ff-route-my-settings .ff21-settings-content :is(input,textarea,select,.form-control,.form-select):focus {
  border-color:var(--ff91-blue)!important;box-shadow:var(--ff91-focus)!important;outline:0!important;
}
body.fansflex-app.ff-route-my-settings .ff21-settings-content label {color:var(--ff91-ink);font-weight:650;}
body.fansflex-app.ff-route-my-settings .ff21-settings-content .form-text,
body.fansflex-app.ff-route-my-settings .ff21-settings-content .text-muted {color:var(--ff91-muted)!important;}
body.fansflex-app.ff-route-my-settings .ff21-settings-content :is(.btn-primary,.btn-round) {
  min-height:42px;border:1px solid #79add5!important;border-radius:11px!important;
  color:#fff!important;background:linear-gradient(180deg,#287ab8,#0c477e)!important;
  box-shadow:inset 0 1px rgba(255,255,255,.25),0 5px 13px rgba(9,54,94,.18)!important;font-weight:750;
}
body.fansflex-app.ff-route-my-settings .ff21-settings-content :is(.btn-outline-primary,.btn-outline-secondary) {
  min-height:40px;border-radius:10px!important;border-color:var(--ff91-edge-strong)!important;color:var(--ff91-blue-strong)!important;background:var(--ff91-metal-soft)!important;
}
body.fansflex-app.ff-route-my-settings :is(.settings-nav a,.settings-content a,.profile-actions a,.profile-actions button):focus-visible,
body.fansflex-app.ff-route-profile :is(a,button):focus-visible {
  outline:2px solid var(--ff91-blue)!important;outline-offset:3px!important;
}

/* Context headers for Profile and Wallet tabs, which do not have an existing hero. */
body.fansflex-app.ff-route-my-settings .ff91-context-hero {
  display:flex;align-items:center;justify-content:space-between;gap:18px;
  position:relative;overflow:hidden;margin:0 0 16px;padding:20px 22px;
  border:1px solid var(--ff91-edge-strong);border-radius:17px;
  color:var(--ff91-ink);background:var(--ff91-metal);box-shadow:var(--ff91-shadow-raised);
}
body.fansflex-app.ff-route-my-settings .ff91-context-hero:after {
  content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(115deg,rgba(255,255,255,.2),transparent 48%,rgba(62,132,190,.1));
}
body.fansflex-app.ff-route-my-settings .ff91-context-hero-copy,
body.fansflex-app.ff-route-my-settings .ff91-context-hero-actions {position:relative;z-index:1;}
body.fansflex-app.ff-route-my-settings .ff91-context-hero h2 {margin:2px 0 4px;color:var(--ff91-ink);font-size:clamp(1.25rem,2.2vw,1.8rem);font-weight:850;letter-spacing:-.035em;}
body.fansflex-app.ff-route-my-settings .ff91-context-hero p {margin:0;color:var(--ff91-muted);max-width:720px;line-height:1.5;}
body.fansflex-app.ff-route-my-settings .ff91-context-kicker {font-size:.68rem;font-weight:850;letter-spacing:.15em;text-transform:uppercase;color:var(--ff91-blue-strong);}
body.fansflex-app.ff-route-my-settings .ff91-context-hero-actions a {
  display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:8px 13px;
  border:1px solid #d8b36e;border-radius:10px;color:#1b2c3d!important;
  background:linear-gradient(180deg,#f9e5b4,#c99a4e);font-weight:800;text-decoration:none;
  box-shadow:inset 0 1px rgba(255,255,255,.86),0 5px 13px rgba(104,72,22,.17);
}

/* Existing business overview pages inherit the same stronger panel and hero finish. */
body.fansflex-app:is(.ff-route-earnings,.ff-route-analytics,.ff-route-promotions) .ff19-hero,
body.fansflex-app:is(.ff-route-earnings,.ff-route-analytics,.ff-route-promotions) .ff19-panel,
body.fansflex-app:is(.ff-route-earnings,.ff-route-analytics,.ff-route-promotions) .ff19-stat {
  border:1px solid var(--ff91-edge)!important;border-radius:16px!important;
  box-shadow:var(--ff91-shadow)!important;background-color:var(--ff91-panel)!important;
}
body.fansflex-app:is(.ff-route-earnings,.ff-route-analytics,.ff-route-promotions) .ff19-hero {
  border-color:var(--ff91-edge-strong)!important;background:var(--ff91-metal)!important;color:var(--ff91-ink)!important;
}
body.fansflex-app:is(.ff-route-earnings,.ff-route-analytics,.ff-route-promotions) .ff19-hero :is(h1,p,.ff19-kicker) {color:var(--ff91-ink)!important;}
body.fansflex-app:is(.ff-route-earnings,.ff-route-analytics,.ff-route-promotions) .ff19-panel-head h2 {color:var(--ff91-ink)!important;}
body.fansflex-app:is(.ff-route-earnings,.ff-route-analytics,.ff-route-promotions) .ff19-panel-head p {color:var(--ff91-muted)!important;}

@media(max-width:767.98px){
  body.fansflex-app.ff-route-profile .content-wrapper>.d-flex.flex-wrap {padding:10px 9px 24px;}
  body.fansflex-app.ff-route-profile .profile-cover-bg {border-radius:14px!important;}
  body.fansflex-app.ff-route-profile .profile-actions {gap:5px;}
  body.fansflex-app.ff-route-profile .profile-actions .p-pill {min-width:38px;min-height:38px;margin:0!important;}
  body.fansflex-app.ff-route-my-settings .settings-menu-wrapper {padding:9px;border-radius:13px!important;}
  body.fansflex-app.ff-route-my-settings .settings-content {padding-inline:8px;}
  body.fansflex-app.ff-route-my-settings .ff21-settings-content>form {padding:13px!important;}
  body.fansflex-app.ff-route-my-settings .ff91-context-hero {align-items:flex-start;flex-direction:column;padding:16px;}
  body.fansflex-app.ff-route-my-settings .ff91-context-hero-actions {width:100%;}
  body.fansflex-app.ff-route-my-settings .ff91-context-hero-actions a {width:100%;}
  body.fansflex-app.ff-route-my-settings .fansflex-wallet-balance-card {padding:17px!important;}
}
@media(prefers-reduced-motion:reduce){
  body.fansflex-app.ff-route-profile .profile-actions .p-pill,
  body.fansflex-app.ff-route-my-settings .settings-nav .list-group-item {transition:none!important;}
}

/* The legacy Light settings rule had equal specificity and forced navy text on
   the blue active row. Keep the target rail's white-on-blue contrast explicit. */
html[data-bs-theme="light"] body.fansflex-app.ff-route-my-settings .settings-nav .list-group-item.active,
html[data-theme="light"] body.fansflex-app.ff-route-my-settings .settings-nav .list-group-item.active {
  color:#ffffff!important;
}

@media(max-width:767.98px){
  body.fansflex-app.ff-route-profile .content-wrapper .container.d-flex.justify-content-between.align-items-center {
    flex-wrap:wrap;
    align-items:flex-end!important;
    row-gap:7px;
  }
  body.fansflex-app.ff-route-profile .content-wrapper .container.d-flex.justify-content-between.align-items-center .avatar-holder {
    flex:1 1 100%;
    width:100%;
    min-height:88px;
    align-items:flex-end;
  }
  body.fansflex-app.ff-route-profile .content-wrapper .container.d-flex.justify-content-between.align-items-center .profile-actions {
    flex:1 1 100%;
    width:100%;
    justify-content:flex-end;
    margin-top:0;
    padding-inline:2px;
  }
}
