/* Batman Pay skin: shared shell for all six panels, sign-in and error pages.
   Black ground, graphite surfaces, signal yellow. Loaded last everywhere. */
:root {
    --mi-hall: 9, 9, 10; --mi-seat: 20, 20, 22; --mi-seat-hi: 28, 28, 31; --mi-velvet: 14, 14, 15;
    --mi-terracotta: 255, 138, 0; --mi-brass: 255, 208, 0; --mi-champagne: 255, 226, 64; --mi-cream: 250, 250, 250;
    --mi-muted: 160, 160, 164; --mi-line: 255, 255, 255; --mi-malachite: 61, 220, 132; --mi-wine-red: 255, 107, 94;
    --mn-primary: 255, 208, 0; --mn-primary-2: 255, 226, 64; --mn-accent: 255, 138, 0; --mn-accent-bright: 61, 220, 132;
    --mn-concrete-950: 9, 9, 10; --mn-concrete-900: 16, 16, 18; --mn-concrete-800: 26, 26, 29; --mn-concrete-700: 40, 40, 44;
    --mn-ink-on-primary: 10, 10, 10; --mn-chrome: 255, 226, 64; --mn-chrome-hi: 255, 236, 120; --mn-chrome-mid: 255, 208, 0; --mn-chrome-lo: 255, 190, 0;
    --mn-hairline: rgba(255, 255, 255, .08); --mn-hairline-strong: rgba(255, 255, 255, .16);
    --bp-r: 14px; --bp-cut: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}
html, body, .fi-body { background-color: rgb(var(--mi-hall)) !important; }
.mn-room {
    background:
        radial-gradient(760px 420px at 85% -12%, rgba(255, 208, 0, .11), transparent 65%),
        repeating-linear-gradient(115deg, rgba(255, 255, 255, .014) 0 1px, transparent 1px 26px) !important;
}
.mn-room > * { display: none !important; }
::selection { background: #ffd000; color: #0a0a0a; }

/* ---- Shell ---- */
.fi-sidebar.fi-sidebar {
    background: #0d0d0e !important; border: 0 !important; border-inline-end: 1px solid rgba(255, 255, 255, .07) !important;
    border-radius: 0 !important; box-shadow: none !important;
}
.fi-sidebar-header.fi-sidebar-header {
    height: 7rem !important; justify-content: center; background: radial-gradient(closest-side, rgba(255, 208, 0, .13), transparent) !important;
    border: 0 !important; box-shadow: none !important; --tw-ring-shadow: 0 0 #0000;
}
.fi-sidebar-header .fi-logo, .fi-sidebar-header .mn-lockup { height: auto !important; width: auto !important; }
.fi-sidebar-header .mn-logo { height: 5.1rem !important; width: auto !important; max-height: none !important; }
.fi-sidebar-nav { padding: .75rem .85rem 1.5rem !important; gap: 1rem !important; }
.fi-sidebar-nav-groups { gap: 1.1rem !important; margin: 0 !important; }
.fi-sidebar-group-label { font: 700 .68rem/1 'Manrope', sans-serif !important; font-style: normal !important; letter-spacing: .14em !important; text-transform: uppercase; color: #77777c !important; }
.fi-sidebar-group-label::before, .fi-sidebar-group-label::after,
.fi-sidebar-group-button::before, .fi-sidebar-group-button::after { content: none !important; }
.fi-sidebar-item-button.fi-sidebar-item-button { padding: .6rem .8rem !important; border-radius: 10px !important; gap: .75rem !important; border: 0 !important; }
.fi-sidebar-item-button::before, .fi-sidebar-item-button::after { content: none !important; }
.fi-sidebar-item-icon.fi-sidebar-item-icon { width: 1.25rem !important; height: 1.25rem !important; padding: 0 !important; color: #8b8b91 !important; background: none !important; border: 0 !important; box-shadow: none !important; }
.fi-sidebar-item-label.fi-sidebar-item-label { font: 600 .9rem/1.2 'Manrope', sans-serif !important; color: #c9c9cd !important; }
.fi-sidebar-item-button:hover { background: rgba(255, 255, 255, .05) !important; }
.fi-sidebar-item.fi-active > .fi-sidebar-item-button, .fi-sidebar-item.op-nav-pending > .fi-sidebar-item-button { background: #ffd000 !important; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%); }
.fi-sidebar-item.fi-active .fi-sidebar-item-label, .fi-sidebar-item.op-nav-pending .fi-sidebar-item-label { color: #0a0a0a !important; font-weight: 800 !important; }
.fi-sidebar-item.fi-active .fi-sidebar-item-icon, .fi-sidebar-item.op-nav-pending .fi-sidebar-item-icon { color: #0a0a0a !important; }
.fi-sidebar-item-button .fi-badge { border-radius: 6px !important; background: rgba(255, 208, 0, .14) !important; color: #ffd000 !important; }
.fi-sidebar-item.fi-active .fi-badge { background: #0a0a0a !important; color: #ffd000 !important; }
.fi-topbar.fi-topbar, body .fi-topbar.fi-topbar > nav {
    background: rgba(9, 9, 10, .88) !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; margin: 0 !important;
}
.fi-topbar.fi-topbar { border-bottom: 1px solid rgba(255, 255, 255, .07) !important; padding: 0 !important; }
.fi-topbar.fi-topbar::before, .fi-topbar.fi-topbar::after, .fi-topbar > nav::before, .fi-topbar > nav::after { content: none !important; }
body .fi-topbar.fi-topbar > nav { height: 4rem !important; max-width: none !important; padding-inline: 1.75rem !important; }
.fi-topbar .mn-logo { height: 2.7rem !important; }
.fi-topbar .fi-user-avatar { background: #ffd000 !important; color: #0a0a0a !important; border-radius: 10px !important; }
.fi-topbar .fi-topbar-database-notifications-btn, .fi-topbar .fi-user-menu .fi-dropdown-trigger > button { border-radius: 10px !important; border: 1px solid rgba(255, 255, 255, .12) !important; }
@media (min-width: 1024px) {
    body:is(.fi-panel-trader, .fi-panel-teamlead) .fi-sidebar { display: flex !important; }
    body:is(.fi-panel-trader, .fi-panel-teamlead) .mi-drawer-foot { padding: .85rem; }
    .mi-strip-inner { max-width: none !important; padding-inline: 1.75rem !important; }
    body:is(.fi-panel-trader, .fi-panel-teamlead) .fi-main { max-width: 92rem !important; padding-inline: 1.75rem !important; }
    body .fi-main-ctn { margin-inline-start: 0 !important; }
}
.mi-strip { background: #101012 !important; border-bottom: 1px solid rgba(255, 255, 255, .06) !important; }
.mi-strip :is(.td-status, .td-counter, .td-balance, .mn-hud, .mn-lang), .mh-stub, .mh-bench, .mn-lang { border-radius: 10px !important; }
.mi-strip .td-status-label, .mi-strip .td-counter-num, .mi-strip .td-balance-value { font-family: 'Manrope', sans-serif !important; font-weight: 800 !important; }
.mi-strip .td-status.is-on .td-status-switch { background: #ffd000 !important; border-color: #ffd000 !important; overflow: hidden; }
.mi-strip .td-status.is-on .td-status-switch i { background: #0a0a0a !important; box-shadow: none !important; left: auto !important; right: 2px !important; transform: none !important; }
.mn-lang-opt { border-radius: 8px !important; }
.mn-lang-thumb { border-radius: 8px !important; background: #ffd000 !important; }
.mn-lang[data-active] .mn-lang-opt[aria-current] { color: #0a0a0a !important; }

/* ---- Surfaces ---- */
.fi-section, .fi-ta-ctn, .fi-wi-stats-overview-stat, .fi-fo-section, .op-panel, .mx-card, .mh-card, .pc-card, .fi-modal-window {
    background: #141416 !important; border: 1px solid rgba(255, 255, 255, .08) !important; border-radius: var(--bp-r) !important; box-shadow: none !important;
}
.fi-dropdown-panel { background: #1a1a1d !important; border: 1px solid rgba(255, 255, 255, .12) !important; border-radius: 12px !important; }
.mx-session, .mx-balance, .mh-hero { background: linear-gradient(140deg, #1d1b10, #141416 55%) !important; }
.mx-session::before, .mx-session::after, .mx-card::before, .mx-card::after { box-shadow: none !important; }
.mh-admin-card { background: #161618 !important; border: 1px solid rgba(255, 255, 255, .08) !important; border-radius: 12px !important; box-shadow: none !important; }
.mh-admin-btn { border-radius: 8px !important; }
.op-eyebrow, .mx-eyebrow { font: 700 .72rem/1.2 'Manrope', sans-serif !important; letter-spacing: .08em !important; color: #8b8b91 !important; }
.fi-header-heading, .mx-session-title, .mx-title, .op-big { font-family: 'Exo 2', sans-serif !important; font-weight: 800 !important; letter-spacing: -.015em !important; }
.fi-header-heading { font-style: italic; }
.fi-header-heading::before, .fi-header-heading::after { content: none !important; }

/* ---- Controls ---- */
.fi-btn, .fi-ac-btn-action, .mn-btn, .mx-btn, .pc-btn { border-radius: 10px !important; font-weight: 700 !important; letter-spacing: 0 !important; }
.fi-btn.fi-color-primary, .fi-ac-btn-action.fi-color-primary, .mn-btn, .mx-btn--brass {
    background: #ffd000 !important; color: #0a0a0a !important; border: 0 !important; box-shadow: none !important;
}
.mx-btn--brass::before, .mx-btn--brass::after, .mn-btn::before, .mn-btn::after { content: none !important; }
.fi-btn.fi-color-primary:hover, .mn-btn:hover, .mx-btn--brass:hover { background: #ffe240 !important; }
.fi-btn.fi-color-gray, .mx-btn--ghost { border: 1px solid rgba(255, 255, 255, .18) !important; background: rgba(255, 255, 255, .03) !important; }
.fi-btn.fi-color-success { background: #1f8f54 !important; box-shadow: none !important; }
.fi-btn.fi-color-warning { background: #ff8a00 !important; color: #0a0a0a !important; }
.fi-icon-btn { border-radius: 10px !important; }
.fi-input-wrp { background: #0d0d0e !important; border-radius: 10px !important; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12) !important; }
.fi-input-wrp:focus-within { box-shadow: 0 0 0 2px #ffd000 !important; }
.fi-fo-field-wrp-label, .fi-fo-field-wrp-label span { color: #c9c9cd !important; }
.fi-badge { border-radius: 6px !important; }
.fi-ta-header-cell-label { color: #8b8b91 !important; letter-spacing: .06em !important; }
.fi-ta-row:hover { background: rgba(255, 208, 0, .05) !important; }
:focus-visible { outline: 2px solid #ffd000; outline-offset: 2px; }

/* ---- Trader power switch ---- */
.bp-power { display: grid; place-items: center; width: 6rem; height: 6rem; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .2); color: #8b8b91; transition: .2s; }
.bp-power svg { width: 2.4rem; height: 2.4rem; }
.mx-session.is-on .bp-power { background: #ffd000; color: #0a0a0a; border-color: #ffd000; box-shadow: 0 0 0 8px rgba(255, 208, 0, .12), 0 0 50px rgba(255, 208, 0, .3); }
.bp-power-btn { display: flex !important; flex-direction: column; align-items: center; gap: 1rem; }
.mx-load-seats i { border-radius: 3px !important; height: .55rem !important; }

/* ---- Phone dock ---- */
.mx-dock-medallion { background: #0a0a0a !important; border: 2px solid #ffd000 !important; box-shadow: 0 6px 24px rgba(255, 208, 0, .25) !important; }
.mx-dock { background: #121214 !important; border: 1px solid rgba(255, 255, 255, .1) !important; }

/* ---- Sign-in ---- */
.mn-login { background: #030303; }
.mn-login-form.mn-login-form { position: relative; flex: 0 0 46% !important; background: #050505 !important; border: 0 !important; }
.mn-login-form::after { content: ''; position: absolute; inset: 0 0 0 auto; width: 1px; background: linear-gradient(transparent 12%, rgba(255, 200, 40, .25) 25%, #ffc93c 44%, rgba(255, 200, 40, .25) 60%, transparent 80%), rgba(255, 255, 255, .08); box-shadow: 0 0 14px rgba(255, 190, 0, .35); }
.mn-login-heading.mn-login-heading { font: 600 1.9rem/1.2 'Exo 2', sans-serif !important; color: #fff; }
.mn-login .mn-hint { color: #a9a9ad; }
.mn-login .mn-label { color: #c9c9cd; }
.mn-input-wrap { position: relative; }
.bp-ico { position: absolute; inset-inline-start: 1rem; top: 50%; width: 1.35rem; height: 1.35rem; transform: translateY(-50%); color: #ffd75e; pointer-events: none; z-index: 1; }
.mn-input { background: #0b0b0b !important; border-radius: 12px !important; border: 1px solid rgba(255, 255, 255, .15) !important; }
.bp-ico + .mn-input { padding-inline-start: 3.1rem !important; min-height: 3.2rem; }
.mn-input:focus { border-color: #ffc21a !important; box-shadow: 0 0 18px rgba(255, 190, 0, .28) !important; background: #0d0b04 !important; }
.mn-input:-webkit-autofill { -webkit-text-fill-color: #fff; box-shadow: 0 0 0 99px #0d0b04 inset !important; caret-color: #fff; }
.mn-check input { accent-color: #ffc21a; width: 1.05rem; height: 1.05rem; }
.mn-login .mn-btn { min-height: 3.2rem; border-radius: 12px !important; font-size: 1.1rem !important; background: linear-gradient(180deg, #f5d774, #d8a92c 55%, #f0bf3a) !important; border: 1px solid #ffe08a !important; box-shadow: 0 6px 26px rgba(255, 184, 0, .35) !important; }
.mn-login .mn-btn:hover { filter: brightness(1.08); }
.mn-login-sea.mn-login-sea { position: relative; overflow: hidden; background: radial-gradient(closest-side at 50% 46%, rgba(255, 184, 0, .13), transparent 80%), #060606 !important; }
.bp-waves { position: absolute; inset: 0; width: 100%; height: 100%; filter: drop-shadow(0 0 7px rgba(255, 184, 0, .7)); }
.mn-hero { position: relative; }
.mi-hero-logo { display: block; width: min(30rem, 74%) !important; height: auto !important; max-width: none; margin-inline: auto; filter: drop-shadow(0 0 26px rgba(255, 184, 0, .4)) !important; opacity: 1 !important; animation: none !important; }
.bp-flare { display: block; width: min(34rem, 84%); height: 2px; margin: 1.1rem auto 0; background: radial-gradient(closest-side, #fff3c4, #ffc21a 18%, transparent); box-shadow: 0 0 18px 1px rgba(255, 184, 0, .18); }
.mi-login-logo { height: 9rem !important; margin-inline: auto; }

/* ---- Second pass ---- */
.fi-topbar .ms-auto, body:is(.fi-panel-trader) .fi-topbar > nav > div:last-child { margin-inline-start: auto !important; }
body.fi-panel-trader .fi-topbar.fi-topbar > nav, body.fi-panel-trader .fi-topbar.fi-topbar { background: #09090a !important; }
.fi-header-heading.fi-header-heading { font-weight: 800 !important; font-style: italic; padding-inline-start: 0 !important; }
@media (min-width: 1024px) { .fi-sidebar.fi-sidebar { margin: 0 !important; height: 100vh !important; top: 0 !important; } }
body.fi-panel-provider .fi-sidebar-item.fi-active .fi-sidebar-item-label { color: #0a0a0a !important; }
body.fi-panel-provider .fi-sidebar-item.fi-active > .fi-sidebar-item-button { background: #ffd000 !important; box-shadow: none !important; }
.fi-panel-support .op-big, .op-panel .op-big { font-size: clamp(1.3rem, 2.1vw, 2.2rem) !important; white-space: nowrap; }
.mi-strip .mn-hud { border-radius: 10px !important; }
@media (max-width: 640px) { .mh-hello { flex-wrap: nowrap !important; height: auto !important; } .mh-hello > * { max-width: 100%; } }
.mx-vault, .mx-vault::before, .mx-vault::after, .mh-salon-arch { border-radius: var(--bp-r) !important; }
.mx-vault { text-align: start; align-items: flex-start !important; clip-path: var(--bp-cut); background: #141416 !important; border-color: rgba(255, 255, 255, .08) !important; box-shadow: none !important; }
.mx-vault--main { background: linear-gradient(140deg, #2a2407, #141416 60%) !important; border-color: rgba(255, 208, 0, .4) !important; }
.mx-vault-value { font-weight: 800 !important; font-size: 2rem !important; }
body.fi-panel-trader .fi-topbar.fi-topbar > nav > .ms-auto { flex: 0 0 auto !important; }
.fi-sidebar-header .mn-logo { height: 6rem !important; }
.bp-waves { filter: none; }
.bp-waves g { filter: drop-shadow(0 0 7px rgba(255, 184, 0, .75)); }
@media (max-width: 960px) {
    .mn-login-form.mn-login-form { flex: 1 1 100% !important; background: radial-gradient(90% 40% at 50% 12%, rgba(255, 184, 0, .12), transparent), #050505 !important; }
    .mn-login-form::after { content: none; }
}
.mn-btn.mn-btn--ghost { background: transparent !important; color: #e8e8ea !important; border: 1px solid rgba(255, 255, 255, .2) !important; box-shadow: none !important; }
