/* TEST ONLY | high-contrast chat readability in classic/light themes.
   Anthracite/Ceviz table design and gameplay are intentionally untouched. */
html:is([data-lobby-theme="classic"],[data-lobby-theme="light"]) body #root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root main.entertainmentLobby .lobbyChatFloor .chatMessages .chatMessage .chatTextStyled,
html:is([data-lobby-theme="classic"],[data-lobby-theme="light"]) body #root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root main.entertainmentLobby .lobbyChatFloor .chatMessages .chatMessage .chatTextStyled :is(span,b,strong,p){
  color:#253148!important; opacity:1!important; text-shadow:none!important;
}
html:is([data-lobby-theme="classic"],[data-lobby-theme="light"]) body #root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root main.entertainmentLobby .lobbyChatFloor .chatMessages .chatMessage .chatTextStyled{
  font-size:14px!important;line-height:1.48!important;font-weight:550!important;
}
html:is([data-lobby-theme="classic"],[data-lobby-theme="light"]) body #root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root main.entertainmentLobby .lobbyChatFloor .chatMessages .chatMessage .chatNameButton,
html:is([data-lobby-theme="classic"],[data-lobby-theme="light"]) body #root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root main.entertainmentLobby .lobbyChatFloor .chatMessages .chatMessage>div:first-child>small{
  opacity:1!important;filter:none!important;
}
html:is([data-lobby-theme="classic"],[data-lobby-theme="light"]) body #root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root main.entertainmentLobby .lobbyChatFloor .chatMessages .chatMessage .arrivalTapHint{
  color:#405777!important;opacity:1!important;
}
html:is([data-lobby-theme="classic"],[data-lobby-theme="light"]) body #root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root main.entertainmentLobby .lobbyChatFloor .chatMessages .chatEmpty{
  color:#3c4960!important; opacity:1!important;
  font-size:14px!important; font-weight:550!important;
}
html:is([data-lobby-theme="classic"],[data-lobby-theme="light"]) body #root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root main.entertainmentLobby .lobbyChatFloor .lobbySystemNotice,
html:is([data-lobby-theme="classic"],[data-lobby-theme="light"]) body #root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root main.entertainmentLobby .lobbyChatFloor .lobbySystemNotice .darkSystemTickerViewport,
html:is([data-lobby-theme="classic"],[data-lobby-theme="light"]) body #root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root main.entertainmentLobby .lobbyChatFloor .lobbySystemNotice .darkSystemTickerText{
  color:#38485e!important;opacity:1!important;
  text-shadow:none!important;
}
html:is([data-lobby-theme="classic"],[data-lobby-theme="light"]) body #root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root main.entertainmentLobby .lobbyChatFloor .chatComposer :is(input[type="text"],input:not([type]),textarea),
html:is([data-lobby-theme="classic"],[data-lobby-theme="light"]) body #root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root main.entertainmentLobby .lobbyChatFloor .chatComposer .chatSend>input{
  color:#24334a!important;background:#fff!important;
  caret-color:#253148!important; opacity:1!important;
}
html:is([data-lobby-theme="classic"],[data-lobby-theme="light"]) body #root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root main.entertainmentLobby .lobbyChatFloor .chatComposer :is(input,textarea)::placeholder{
  color:#66748b!important;opacity:1!important;
}
/* Keep the table header readable without changing card/seat geometry. */
html:is([data-lobby-theme="classic"],[data-lobby-theme="light"]) body #root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root#root main.entertainmentLobby .tablesArea .lobbyTablesTitle h2{
  color:#29384d!important;opacity:1!important;text-shadow:none!important;
}

/* Central menu readability applies to the actual menu/dialog, not game tables. */
html:not([data-theme="dark"]) body dialog.darkCentralMenu{
  background:#f7faf4!important;color:#243d2e!important;
}
html:not([data-theme="dark"]) body .darkCentralMenu .darkMenuHead h2,
html:not([data-theme="dark"]) body .darkCentralMenu .darkMenuGroup h3{
  color:#2d5039!important;opacity:1!important;text-shadow:none!important;
}
html:not([data-theme="dark"]) body .darkCentralMenu .darkMenuItem{
  background:#fffef9!important;color:#263e2e!important;
  border-color:#c6d8bd!important;
}
html:not([data-theme="dark"]) body .darkCentralMenu .darkMenuItem .darkMenuLabel{
  color:#263e2e!important;opacity:1!important;
  text-shadow:none!important;font-weight:700!important;
}
html:not([data-theme="dark"]) body .darkCentralMenu :is(p,label,small,.darkMenuArrow){
  color:#395b43!important;opacity:1!important;
}
html:not([data-theme="dark"]) body .darkCentralMenu .darkMenuContent :is(input,textarea,select){
  color:#24382b!important;background:#fff!important;
  border:1px solid #aebfae!important;opacity:1!important;
  color-scheme:light!important;
}
html:not([data-theme="dark"]) body .darkCentralMenu .darkMenuContent :is(input,textarea)::placeholder{
  color:#66776a!important;opacity:1!important;
}
html[data-theme="dark"] body dialog.darkCentralMenu{
  background:#1c3022!important;color:#edf7e8!important;
}
html[data-theme="dark"] body .darkCentralMenu :is(.darkMenuHead h2,.darkMenuGroup h3){
  color:#f1f7e9!important;opacity:1!important;
}
html[data-theme="dark"] body .darkCentralMenu .darkMenuItem,
html[data-theme="dark"] body .darkCentralMenu .darkMenuItem .darkMenuLabel{
  color:#f1f8ee!important;opacity:1!important;
}
html[data-theme="dark"] body .darkCentralMenu :is(p,label,small,.darkMenuArrow){
  color:#d1e6cd!important;opacity:1!important;
}
html[data-theme="dark"] body .darkCentralMenu .darkMenuContent :is(input,textarea,select){
  color:#f5f9f4!important;background:#15261a!important;
  border:1px solid #668669!important;opacity:1!important;color-scheme:dark!important;
}
html[data-theme="dark"] body .darkCentralMenu .darkMenuContent :is(input,textarea)::placeholder{
  color:#b3cdb8!important;opacity:1!important;
}
/* Founder settings are deliberately light in all site themes. */
html body #darkSiteDialog.darkSiteDialog{
  color:#263e2e!important;
}
html body #darkSiteDialog.darkSiteDialog :is(.darkSettingsPanel,.darkSiteFields,label,p,small,.darkSettingsPanelWrap){
  color:#304a38!important;opacity:1!important;
}
html body #darkSiteDialog.darkSiteDialog .darkSettingsPanel{
  background:#fffef9!important;border-color:#c5d9bd!important;
}
html body #darkSiteDialog.darkFocusedSettings .darkSiteActions{
  background:#f7faf4!important;color:#294531!important;
  border-top:1px solid #d2e2c9!important;
}
html body #darkSiteDialog.darkSiteDialog .darkSiteActions button{
  color:#274630!important;font-weight:700!important;
}
html body #darkSiteDialog.darkSiteDialog .darkSiteActions button[type="submit"]{
  background:#d5e8ce!important;color:#244d31!important;
  border-color:#85ae86!important;
}
html body #darkSiteDialog.darkSiteDialog :is(input:not([type="checkbox"]),textarea,select){
  background:#fff!important;color:#243b2b!important;
  opacity:1!important;color-scheme:light!important;
}
html body #darkSiteDialog.darkSiteDialog :is(input,textarea)::placeholder{
  color:#637769!important;opacity:1!important;
}
html body #darkSiteDialog.darkSiteDialog :is(.darkSettingsPanel h3,.darkSettingsPanel h2,.darkSiteFields label,.darkSitePermissionPanel strong){
  color:#294734!important;opacity:1!important;
}
