@import url('/css/mobile.css?v=20260810-2');
:root{--theme-bg:#f4f6f8;--theme-card:#ffffff;--theme-card-alt:#f8fafc;--theme-text:#1f2937;--theme-muted:#6b7280;--theme-border:#e5e7eb;--theme-header:#0a0e1a;--theme-header-text:#ffffff;--theme-accent:#c41e3a;--theme-accent-2:#9a1830;--theme-input-bg:#f8fafc;--theme-input-text:#1f2937;--theme-button-bg:#f8fafc;--theme-button-text:#1f2937;--theme-accent-text:#ffffff;--fire:#c41e3a;--fire-dk:#9a1830}
html,body{background-color:var(--theme-bg)!important;color:var(--theme-text)!important;font-family:system-ui,sans-serif}
body :where(.card,.panel,.content-card,.portal-card,.sidebar-card,.news-card,.tile,.modal,.modal-card,.modal-container,.modal-content,.dialog,.dialog-panel,.popup,.popup-card,[role="dialog"],[class$="-modal"],[class$="-modal-card"],[class$="-dialog"],[class$="-dialog-panel"],[class$="-popup"],[class$="-popup-card"],.form-card,.table-container,.admin-card,.settings-dialog,.registry-overview,.dept-section,.ranking-modal-panel,.dt-modal-card,.poll,.option,.status-card,.stat,.member-entry,.annual-item,.login-container){background-color:var(--theme-card)!important;color:var(--theme-text)!important;border-color:var(--theme-border)!important}
body :where(header,.app-header,.topbar,.page-header,.admin-header,.ff-header,.navbar,nav:not(.tabs),.modal-header,.modal-head,.dialog-header,.settings-dialog-head,.ranking-modal-head,.dt-modal-head){background-color:var(--theme-header)!important;background-image:none!important;color:var(--theme-header-text)!important;border-color:var(--theme-accent)!important}
body :where(header,.app-header,.topbar,.page-header,.admin-header,.ff-header,.navbar,.modal-header,.modal-head,.dialog-header,.settings-dialog-head,.ranking-modal-head,.dt-modal-head) :where(h1,h2,h3,h4,.title,.header-title,.page-title,.brand-title,.user-name,.ranking-modal-title){color:var(--theme-header-text)!important}
body :where([role="dialog"],[class$="-modal"],[class$="-dialog"],[class$="-popup"]) :where([class$="-header"],[class$="-head"]){background-color:var(--theme-header)!important;color:var(--theme-header-text)!important;border-color:var(--theme-accent)!important}
body :where([role="dialog"],[class$="-modal"],[class$="-dialog"],[class$="-popup"]) :where([class$="-header"],[class$="-head"]) :where(h1,h2,h3,h4,.title){color:var(--theme-header-text)!important}
body :where(.settings-overlay){background-color:rgba(2,6,23,.78)!important;background-image:none!important;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px)}
body :where(.app-install-modal){background-color:rgba(3,6,14,.84)!important;background-image:none!important;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
body :where(header,.app-header,.topbar,.page-header,.admin-header,.ff-header,.navbar) :where(a,button,.back,.logout-btn,.portal-back,#userNameDisplay,#userLGDisplay){color:var(--theme-header-text)!important}
body :where(h1,h2,h3,h4,.title,.card-title,.tile-title){color:var(--theme-text)}
body :where(input,select,textarea,.form-control){background-color:var(--theme-input-bg)!important;color:var(--theme-input-text)!important;border-color:var(--theme-border)!important}
body :where(button,.btn,.button){border-color:var(--theme-border)}
body :where(.btn-primary,.primary,.settings-action,.tab-button.active,.tab-btn.active){background-color:var(--theme-accent)!important;color:var(--theme-accent-text)!important}
body a{color:var(--theme-accent)}
body :where(table,th,td){border-color:var(--theme-border)!important}body th{background-color:var(--theme-card-alt)!important;color:var(--theme-text)!important}
.ranking-modal-body{background:var(--theme-bg)!important;color:var(--theme-text)!important}.ranking-preview{background:var(--theme-card-alt)!important;color:var(--theme-text)!important}
.app-footer{background:var(--theme-header)!important;border-top-color:var(--theme-border)!important}
