/* Theme colors only: preserve table/rack geometry and player-selected nick colors. */
html[data-theme="light"] body{background:var(--body-gradient)!important;color:var(--text)!important}
html[data-theme="light"] body #root#root#root#root main.entertainmentLobby{background:linear-gradient(135deg,#e9f2ee,#f4f1fa)!important;color:#202c38!important}
html[data-theme="light"] body #root#root#root#root :is(.lobbyTopbar,.lobbyTablesBar,.lobbyChatFloorHead,.onlineUsersPanel,.mobileLobbyHeader,.mobileChatTitle){background:#e8eef5!important;color:#202c38!important;border-color:#c3d1dd!important}
html[data-theme="light"] body #root#root#root#root :is(.tablesArea,.lobbyChatFloor,.lobbyPeopleRail,.mobileLobbyChat,.mobileTableCard,.userSettingsModal,.createTableModal,.tableCreatePanel,.membershipPlanCard,.settingsGroup){background:#f8fafc!important;color:#202c38!important;border-color:#c3d1dd!important;box-shadow:0 8px 24px #34465a14!important}
html[data-theme="light"] body #root#root#root#root :is(.onlineUserRow,.funTableCard,.tableCard,.lobbyChatMessages,.chatMessages,.chatTabs,.lobbyChatComposer,.chatComposer,.onlineUserFilters,.onlineUserSearch,.settingsProfilePreview,.membershipCurrentCard){background:#edf2f7!important;color:#202c38!important;border-color:#ccd7e2!important}
html[data-theme="light"] body #root#root#root#root :is(.lobbyTablesTitle,.lobbyChatFloorHead,.lobbyPeopleRail,.onlineUserIdentity,.onlineUserPoints,.userSettingsHead,.settingsGroupTitle,.settingsPaneIntro,.membershipPlanCard,.mobileTableCard) :is(small,p,span:not(.styledName):not(.styledName span),h2,h3,b:not(.styledName b)){color:#405366!important}
html[data-theme="light"] body #root#root#root#root :is(.lobbyTablesTitle small,.lobbyTopCenter,.lobbyPeopleRail>small,.onlineUsersPanel>small,.emptyChat,.emptyState,.settingsInfo,.userSettingsHead>div>span){color:#506176!important}
html[data-theme="light"] body #root#root#root#root :is(.entertainmentLobby,.userSettingsModal,.createTableModal) input{background:#fff!important;color:#202c38!important;border-color:#becbd8!important}
html[data-theme="light"] body #root#root#root#root :is(.entertainmentLobby,.userSettingsModal,.createTableModal) button:not(.active):not(.primary):not(.joinFun):not(.onlineUserRow):not(.settingsSwitch):not(.colorSwatches button){background:#e3eaf3!important;color:#283a4e!important;border-color:#bccbdc!important}
html[data-theme="light"] body #root#root#root#root :is(.lobbyTablesActions,.lobbyChatQuickActions,.onlineUserFilters,.userSettingsNav,.settingsChoiceRow) button.active{background:#7544bc!important;color:#fff!important}
html[data-theme="light"] body #root#root#root#root .lobbySocialLayout .lobbyTablesTitle small{color:#506176!important}
html[data-theme="light"] body #root#root#root#root .onlineUserStatus{color:#286a50!important}
html[data-theme="light"] body #root#root#root#root .brand{color:#202c38!important}
html[data-theme="light"] body #root#root#root#root .brand span{color:#7544bc!important}

html[data-theme="light"] body #root#root#root#root :is(.onlineUsersHead,.onlineUserStats,.onlineListFilters,.onlineSearch,.chatPanel,.chatInputRow,.lobbyChatMain){background:#edf2f7!important;color:#405366!important;border-color:#ccd7e2!important}
html[data-theme="light"] body #root#root#root#root :is(.onlineUsersHead,.onlineUserStats,.chatEmpty,.lobbyEmpty,.lobbyEmpty b,.lobbyEmpty p,.onlineUsersHint){color:#405366!important}
html[data-theme="light"] body #root#root#root#root .lobbyEmpty{background:#edf2f7!important;border-color:#ccd7e2!important}
html[data-theme="light"] body #root#root#root#root .lobbySystemNotice{background:#f7eaf0!important;color:#5e4050!important;border-color:#e2c8d2!important}
html[data-theme="light"] body #root#root#root#root .lobbySystemNotice span{color:#5e4050!important}
html[data-theme="light"] body #root#root#root#root .onlineUserIdentity .styledName b{color:inherit!important}

/* Neutral gray light theme; dark backing keeps pastel/custom nick colors legible. */
html[data-theme="light"] body #root#root#root#root main.entertainmentLobby{background:linear-gradient(135deg,#dce1e6,#e8e9ed)!important}
html[data-theme="light"] body #root#root#root#root :is(.tablesArea,.lobbyChatFloor,.lobbyPeopleRail){background:#eceef1!important}
html[data-theme="light"] body #root#root#root#root :is(.onlineUserRow,.chatMessages,.lobbyTablesBar,.lobbyChatFloorHead,.onlineUsersHead,.onlineUsersPanel,.chatPanel,.lobbyEmpty){background:#e0e5eb!important}
html[data-theme="light"] body #root#root#root#root .styledName{background:#263346!important;border-radius:5px;box-shadow:0 0 0 3px #263346;text-shadow:0 1px 2px #0008!important}
html[data-theme="light"] body #root#root#root#root .styledName b{color:inherit!important}
html[data-theme="light"] body #root#root#root#root .onlineUserStats span{background:#d2dce6!important;color:#283b4d!important;border-color:#b6c5d3!important}
html[data-theme="light"] body #root#root#root#root .onlineUsersHead .onlineCount{background:#d2dce6!important;color:#283b4d!important}
html[data-theme="light"] body #root#root#root#root :is(.darkBrandBanner,.lobbyTopCenter) strong{color:#f3e8ff!important}
