/* Light theme: clear neutral surfaces, readable text; game table felt and tile artwork stay untouched. */
html[data-theme="light"]{color-scheme:light;--body-gradient:linear-gradient(135deg,#e5e9ee,#f2f4f6);--text:#1d2b3d}
html[data-theme="light"] body{background:var(--body-gradient)!important;color:#1d2b3d!important}
html[data-theme="light"] body #root main.entertainmentLobby,
html[data-theme="light"] body #root main.mobileLobbyShell{background:linear-gradient(145deg,#e4e9ee,#eef1f4)!important;color:#1d2b3d!important}
html[data-theme="light"] body #root :is(.lobbyTopbar,.lobbyTablesBar,.lobbyChatFloorHead,.onlineUsersPanel,.mobileLobbyTopbar,.mobileTablesPanel,.mobileChatTitle,.mobilePeopleStrip,.onlineUsersHead,.onlineUserStats,.onlineListFilters,.onlineSearch,.chatPanel,.chatInputRow,.lobbyChatMain){background:#f7f9fb!important;color:#1d2b3d!important;border-color:#c7d1dc!important}
html[data-theme="light"] body #root :is(.tablesArea,.lobbyChatFloor,.lobbyPeopleRail,.mobileLobbyChat,.richChat,.chatMessages,.lobbyChatMessages,.mobileTableCard,.mobileEmptyTable,.funTableCard,.tableCard,.userSettingsModal,.createTableModal,.tableCreatePanel,.settingsGroup,.membershipPlanCard,.membershipCurrentCard,.settingsProfilePreview,.mobilePeopleScroller){background:#fff!important;color:#1d2b3d!important;border-color:#cbd5df!important;box-shadow:0 5px 18px #25374a12!important}
html[data-theme="light"] body #root :is(.onlineUserRow,.mobilePerson,.mobilePerson.me,.lobbyEmpty,.chatTabs,.lobbyChatComposer,.chatComposer,.onlineUserFilters,.onlineUserSearch,.chatSend,.settingsChoiceRow){background:#eef2f6!important;color:#24364b!important;border-color:#cbd5df!important}
html[data-theme="light"] body #root :is(.lobbyTablesTitle,.lobbyChatFloorHead,.lobbyPeopleRail,.onlineUserIdentity,.onlineUserPoints,.userSettingsHead,.settingsGroupTitle,.settingsPaneIntro,.mobileSectionTitle,.mobileLobbyBrand,.mobileTablesHead,.mobileChatTitle b,.onlineUsersHint,.emptyChat,.emptyState,.chatEmpty,.lobbyEmpty,.lobbyEmpty b,.lobbyEmpty p,.settingsInfo,.userSettingsHead>div>span,.mobileLobbyOnline,.mobileTablesHead small){color:#40546b!important}
html[data-theme="light"] body #root :is(.lobbyTablesTitle small,.lobbyTopCenter,.lobbyPeopleRail>small,.onlineUsersPanel>small,.onlineUserStats span,.onlineUsersHead .onlineCount){color:#4c6076!important}
html[data-theme="light"] body #root :is(.entertainmentLobby,.mobileLobbyShell,.userSettingsModal,.createTableModal,.darkPublicProfileCard) :is(input:not([type="checkbox"]),textarea,select){background:#fff!important;color:#1d2b3d!important;border-color:#b9c7d5!important}
html[data-theme="light"] body #root :is(.entertainmentLobby,.mobileLobbyShell,.userSettingsModal,.createTableModal) button:not(.active):not(.primary):not(.joinFun):not(.onlineUserRow):not(.mobilePerson):not(.settingsSwitch):not(.colorSwatches button){color:#293d54!important}
html[data-theme="light"] body #root :is(.lobbyTablesActions,.lobbyChatQuickActions,.onlineUserFilters,.userSettingsNav,.settingsChoiceRow) button.active{background:#7049b8!important;color:#fff!important}
html[data-theme="light"] body #root :is(.onlineUserStatus,.mobilePerson small){color:#207657!important}
html[data-theme="light"] body #root .lobbySystemNotice{background:#f7eaf0!important;color:#634555!important;border-color:#dfc5d1!important}
html[data-theme="light"] body #root .lobbySystemNotice span{color:#634555!important}
html[data-theme="light"] body #root .brand{color:#202f42!important}
html[data-theme="light"] body #root .brand span{color:#7049b8!important}
html[data-theme="light"] body #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 .styledName b{color:inherit!important}
html[data-theme="light"] body #root .darkMobileTools>summary,
html[data-theme="light"] body #root .darkMobileToolsItems{background:#f7f9fb!important;color:#20334a!important;border-color:#c5d0dd!important}
html[data-theme="light"] body #root .darkMobileToolsItems button{background:#edf2f7!important;color:#24384e!important;border-color:#c1cedb!important}
html[data-theme="light"] body #root .chatMessage,
html[data-theme="light"] body #root .chatMessageText{color:#1b2d43!important}
html[data-theme="light"] body #root .chatSend button{background:#117e67!important;color:#fff!important}
html[data-theme="light"] body #root :is(.onlineUserRow,.mobilePerson):focus-visible,
html[data-theme="light"] body #root button:focus-visible{outline:3px solid #7954c4!important;outline-offset:2px}
@media(max-width:900px){
 html[data-theme="light"] body #root :is(.mobileLobbyShell,.mobileLobbyTopbar,.mobileTablesPanel,.mobileChatTitle,.mobilePeopleStrip){background:#f7f9fb!important;color:#1d2b3d!important;border-color:#c7d1dc!important}
 html[data-theme="light"] body #root :is(.mobileLobbyChat,.richChat,.chatMessages,.chatTabs,.chatSend,.mobilePeopleScroller){background:#fff!important;color:#1d2b3d!important;border-color:#cbd5df!important}
 html[data-theme="light"] body #root :is(.mobilePerson,.mobilePerson.me,.mobileEmptyTable,.mobileTableCard){background:#edf2f6!important;color:#1d2b3d!important;border-color:#c3ceda!important;opacity:1!important}
 html[data-theme="light"] body #root .mobilePeopleStrip{filter:none!important}
}