/* Common game navigation. The selection line stays inside the button box. */
body[data-view=lobby] .lobby-header-logo.wordmark { filter:none; }
body[data-view=lobby] .lobby-header-logo.wordmark{width:160px;height:50px;object-fit:contain;flex:none}
@media(max-width:899px){body[data-view=lobby] .lobby-header-logo.wordmark{width:110px;height:42px}}
@media(max-width:350px){body[data-view=lobby] .lobby-header-logo.wordmark{width:90px;height:42px}}
body[data-view=lobby][data-game=holdem] #lobby-records-open { margin-top:14px; }
.marble-room-config{display:grid;grid-template-columns:1fr 1.4fr;gap:12px;margin:12px 0 16px;padding:0 12px}
.marble-room-config label,.marble-team-control label{display:flex;flex-direction:column;gap:7px;font-size:11px;color:#aaa}
.marble-room-config select,.marble-team-control select{width:100%;min-height:42px;padding:9px 12px;border:1px solid #48484b;border-radius:0;background:#202023;color:#e5e1d6;font:inherit;font-size:14px}
.marble-team-control{max-width:360px;margin:0 auto 16px}
body[data-view=lobby] #lobby-view .game-tab {
  align-items:stretch;
  overflow:visible;
}
body[data-view=lobby] #lobby-view .game-tab>button {
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  height:100%;
  min-width:82px;
  padding:0 0 3px;
  border:0;
  border-bottom:3px solid transparent;
  background:none;
  box-shadow:none;
  flex:none;
  font-size:21px;
  color:#6e6e71;
}
body[data-view=lobby] #lobby-view .game-tab>button::after { content:none; }
body[data-view=lobby] #lobby-view .game-tab>button.selected {
  color:#00a9ec;
  border-bottom-color:#00aeef;
}
body[data-view=lobby] #lobby-view .game-tab>.game-rule {
  margin-left:auto;
  text-align:right;
  white-space:nowrap;
  align-self:center;
  flex:0 1 auto;
  min-width:0;
}
/* An empty table list is a full-width state with one clear text block. */
body[data-view=lobby] #lobby-view .rooms-panel :is(#empty-rooms,#lobby-filter-empty) {
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:180px;
  margin:0;
  padding:28px 24px;
  text-align:center;
  color:#9d9da1;
  font-size:13px;
  line-height:1.85;
  white-space:pre-line;
  word-break:keep-all;
  overflow-wrap:break-word;
}
body[data-view=lobby] #lobby-view .rooms-panel :is(#empty-rooms,#lobby-filter-empty)[hidden] { display:none!important; }
body[data-view=lobby][data-game=holdem] #room-list[data-empty=true]~:is(.table-preview,.join-bar) { display:none; }
@media(max-width:899px) {
  body[data-view=lobby] #lobby-view .game-tab { height:44px; }
  body[data-view=lobby] #lobby-view .game-tab>button { min-width:0; font-size:18px; }
  body[data-view=lobby] #lobby-view .game-tab>.game-rule { font-size:11px; }
}
