/* Permanent quick choices and real room cards. No game/waiting selectors. */
#landingLiveGrid { grid-template-columns:repeat(2,minmax(0,1fr)); }
#landingLiveGrid[hidden] { display:none; }
.room-quick-section { margin-bottom:0; min-width:0; }
.room-quick-heading { display:flex; align-items:center; flex-wrap:wrap; gap:10px; margin-bottom:14px; color:#edf6ef; font-weight:750; font-size:18px; }
.room-quick-title { display:inline-flex; align-items:center; gap:7px; }
#landingLiveSection { background:#102a21; border:1px solid #709b8054; box-shadow:none; }
#landingLiveSection .room-quick-heading { font-size:20px; }
.room-quick-title > span { display:inline-flex; justify-content:center; width:28px; flex-shrink:0; }
.room-payment-filter, .room-entry-filter { min-height:44px; max-width:100%; padding:6px 9px; border:1px solid #719b8066; border-radius:8px; background:#173d30; color:#ddf0e3; font-family:inherit; font-weight:600; font-size:13px; cursor:pointer; touch-action:manipulation; }
.room-payment-filter { margin-left:auto; }
.room-entry-label:not([hidden]) { display:flex; align-items:center; flex-wrap:wrap; gap:7px; margin-bottom:7px; color:#ead08b; font-size:12px; }
.room-entry-filter { color:#f1d27d; }
.room-payment-filter:focus-visible, .room-entry-filter:focus-visible { outline:2px solid #ead08b; outline-offset:2px; }
.room-quick-choice:disabled { opacity:.5; cursor:default; }
.is-coin-selection .room-quick-choice { background:#283b2b; border-color:#b69a4680; }
.is-coin-selection .room-quick-choice:hover:not(:disabled) { border-color:#e2c675; background:#344932; }
.room-quick-choices { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
@media(min-width:1100px) { #landingQuickChoices { grid-template-columns:repeat(6,minmax(0,1fr)); } }
.room-quick-choice {
  display:flex; align-items:center; gap:10px; min-width:0; min-height:84px; padding:12px 10px;
  text-align:left; color:#ecf5ee; background:#1b4233; border:1px solid #719b8080;
  border-radius:12px; font:inherit; cursor:pointer; touch-action:manipulation; transition:background .12s ease-out, border-color .12s ease-out, transform .12s ease-out;
}
.room-quick-choice:hover { background:#214f3c; border-color:#8bc5a0; }
.room-quick-choice:active { transform:scale(.97); }
.room-quick-choice:focus-visible { outline:2px solid #ead08b; outline-offset:2px; }
.room-quick-choice .landing-choice-icon {
  display:flex; align-items:center; justify-content:center; flex-shrink:0; width:30px; height:40px;
  border-radius:5px; border:1px solid #d5c69b; border-bottom-width:3px;
  background:#faf5df; color:#237fad; font-size:12px; font-weight:850;
}
.room-quick-choice .choice-classic { color:#cf6047; font-size:22px; }
.room-quick-choice .choice-katlamali { color:#b57a12; }
.room-quick-choice .landing-choice-body { min-width:0; }
.room-quick-choice .landing-choice-title { display:block; font-size:14px; font-weight:750; line-height:1.35; }
.room-quick-choice .landing-choice-detail { display:inline-flex; margin-top:6px; padding:3px 7px; border:1px solid #98bca03d; border-radius:6px; background:#0e2b2080; color:#d1e5d9; font-size:11px; line-height:1.3; }
.room-quick-note { margin:12px 0 0; color:#b0c7bb; font-size:12px; line-height:1.5; }
#directoryQuickChoices { grid-template-columns:repeat(2,minmax(0,1fr)); }
.landing-waiting-tables { margin: 24px 0; padding: 20px; min-width: 0; border: 1px solid #454545; border-radius: 18px; background: #000000; }
.landing-waiting-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 20px; flex-wrap: wrap; margin-bottom: 12px; }
.landing-waiting-heading h2 { display: flex; align-items: center; gap: 10px; margin: 0; color: #ffffff; font-size: 20px; }
.waiting-table-icon { flex-shrink: 0; width: 28px; height: 28px; fill: #252525; stroke: #eeeeee; stroke-width: 2.5; stroke-linecap: round; }
.waiting-table-icon .waiting-table-tile { fill: #f7eacf; stroke: none; }
#landingLiveHeadline { margin: 0; color: #c9c9c9; font-size: 12px; font-weight: 500; }
.landing-rooms-empty { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; padding: 14px 0; color: #d5d5d5; }
.landing-rooms-empty[hidden], .rooms-load-more[hidden] { display: none; }
.landing-rooms-empty p { margin: 0; font-size: 14px; }
#btnLandingCreate, #btnMoreRooms { padding: 10px 16px; min-height: 44px; border-radius: 9px; border: 1px solid #79b48d; background: #214c37; color: #e3f5e9; font: inherit; cursor: pointer; }
#btnMoreRooms:disabled { opacity: .65; cursor: wait; }
#btnLandingCreate:focus-visible, #btnMoreRooms:focus-visible { outline: 2px solid #ead08b; outline-offset: 2px; }
#landingLiveGrid, #publicRoomsList { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
#landingLiveGrid[hidden] { display: none; }
.landing-waiting-tables #landingLiveGrid { gap: 14px; }
#landingLiveGrid .room-card { background: #171717 !important; border: 1px solid #454545 !important; border-radius: 14px !important; box-shadow: 0 4px 12px #07041022 !important; }
#landingLiveGrid .room-card:hover { border-color: #777777 !important; }
#landingLiveGrid :is(.room-card-hostline, .room-card-rules) { color: #c9c9c9; }
#landingLiveGrid .room-card-hostline strong { color: #eeeeee; }
.landing-waiting-tables #btnLandingCreate { background: #252525; border-color: #555555; color: #ffffff; }
.landing-waiting-tables .landing-live-seeall { margin-top: 16px; color: #eeeeee; }
#publicRoomsList .empty-rooms { grid-column: 1 / -1; }
:is(#landingLiveGrid, #publicRoomsList) .room-card { min-width: 0; padding: 13px !important; display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
:is(#landingLiveGrid, #publicRoomsList) .room-card-main { gap: 5px; min-width: 0; }
:is(#landingLiveGrid, #publicRoomsList) .room-card-name { font-size: 15px; line-height: 1.3; }
.room-card-hostline { color: #b5cebe; font-size: 12px; overflow-wrap: anywhere; }
.room-card-hostline strong { color: #d3e6d9; font-weight: 600; }
.room-card-tags { display: flex; flex-wrap: wrap; gap: 5px; }
:is(#landingLiveGrid, #publicRoomsList) :is(.room-game-badge, .room-goal-badge) { white-space: normal; max-width: 100%; font-size: 11px; }
.room-card-rules { font-size: 11px; line-height: 1.4; color: #a5bcae; margin: 2px 0; overflow-wrap: anywhere; }
:is(#landingLiveGrid, #publicRoomsList) .room-status { display: inline-flex !important; align-self: flex-start; white-space: normal; line-height: 1.4; font-size: 12px; }
:is(#landingLiveGrid, #publicRoomsList) .room-card-side { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 8px; min-width: 0; }
:is(#landingLiveGrid, #publicRoomsList) .room-avatars { flex-shrink: 0; }
:is(#landingLiveGrid, #publicRoomsList) .room-avatar { width: 29px; height: 29px; margin-left: -8px; }
:is(#landingLiveGrid, #publicRoomsList) .room-avatar:first-child { margin-left: 0; }
:is(#landingLiveGrid, #publicRoomsList) .room-badge { font-size: 11px; white-space: nowrap; }
:is(#landingLiveGrid, #publicRoomsList) .room-card-join { margin-left: auto; min-height: 44px; min-width: 68px; padding: 8px 12px; font-size: 13px; touch-action: manipulation; transition: background .12s, transform .12s; }
:is(#landingLiveGrid, #publicRoomsList) .room-card-join:active:not(:disabled) { transform: scale(.97); }
.rooms-load-more { text-align: center; padding: 18px 4px; overflow-anchor: none; }
.rooms-load-more p { color: #b1cabb; font-size: 12px; margin: 0 0 10px; }
@media(max-width:768px), (orientation:landscape) and (max-height:540px) {
  #landingLiveGrid, #publicRoomsList { grid-template-columns: minmax(0, 1fr); }
  #landingLiveSection .room-quick-heading { font-size:18px; }
  .room-quick-heading { margin-bottom:12px; }
  .room-quick-choices { gap: 8px; }
  .room-quick-choice { gap: 8px; padding: 10px 8px; min-height:80px; }
  .room-quick-choice .landing-choice-title { font-size: 13px; }
  .landing-waiting-heading h2 { font-size: 17px; }
  .landing-waiting-tables { margin: 18px 0; padding: 12px; border-radius: 14px; }
  .landing-waiting-tables #landingLiveGrid { gap: 10px; }
  #lobbyScreen .room-nav-btn { white-space: normal; flex-wrap: wrap; min-height: 48px; padding: 7px 5px; line-height: 1.3; }
  #lobbyScreen .room-tab-badge { flex-shrink: 0; }
  :is(#landingLiveGrid, #publicRoomsList) .room-card { padding: 11px !important; gap: 8px; }
  :is(#landingLiveGrid, #publicRoomsList) .room-card-join:hover { transform: none; }
}
@media(max-width:320px) {
  .room-quick-choice { gap: 5px; padding: 8px 6px; min-height:76px; }
  .room-quick-choice .landing-choice-icon { width: 21px; height: 29px; font-size: 10px; }
  .room-quick-choice .choice-classic { font-size: 18px; }
  .room-quick-choice .landing-choice-title { font-size: 12px; overflow-wrap: anywhere; }
}
@media(prefers-reduced-motion:reduce) { .room-quick-choice, :is(#landingLiveGrid, #publicRoomsList) .room-card-join { transition: none; } }
