/* Shared public room presentation. Native renderers own all DOM updates. */
body[data-view=lobby][data-game] #lobby-view .public-room-panel176 {
  height:auto!important;
  min-height:0!important;
  align-self:start!important;
  flex:0 1 auto!important;
}
body[data-view=lobby][data-game] #lobby-view .public-room-panel176 > .room-colhead {display:none}
body[data-view=lobby][data-game] #lobby-view .public-room-panel176 > .rooms {
  flex:0 1 auto!important;
  min-height:0;
  max-height:none!important;
  width:100%;
}
body #room-list[data-empty=true] {display:none!important}
body[data-view=lobby][data-game] #lobby-view .public-room-panel176 :is(#empty-rooms,#lobby-filter-empty,.public-room-empty) {
  flex:none;
  min-height:116px;
  padding:24px 16px;
  font-size:13px;
  line-height:1.7;
}
body[data-view=lobby][data-game] #lobby-view .public-room-panel176 .public-room-row176 {
  display:block!important;
  width:100%;
  height:auto!important;
  min-height:0!important;
  padding:13px 16px!important;
  margin:0!important;
  box-sizing:border-box;
  overflow:hidden;
  text-align:left;
  border-radius:0;
  border:0;
  border-bottom:1px solid #35353b;
  background:#222226;
  color:#ededf1;
}
body[data-view=lobby][data-game] #lobby-view .public-room-panel176 .public-room-row176[hidden] {display:none!important}
/* Use the same quiet banding in both games, counting only visible rooms.
   Interaction states retain their own hover, press and selection feedback. */
body[data-view=lobby][data-game] #lobby-view :is(#room-list,#marble-rooms) > .public-room-row176:not(:hover,:focus-visible,:active,[aria-pressed=true],[data-joining=true]) {background:#222226}
body[data-view=lobby][data-game] #lobby-view :is(#room-list,#marble-rooms) > .public-room-row176:nth-child(2n of .public-room-row176:not([hidden])):not(:hover,:focus-visible,:active,[aria-pressed=true],[data-joining=true]) {background:#222224}
/* An all-tier list has no shared amount. Native panels own the selection. */
body[data-view=lobby][data-game] #lobby-view .public-room-panel176 > .public-room-meta[hidden],
body[data-view=lobby][data-game=holdem]:not(:has(#lobby-stakes .tier[aria-pressed=true])) #lobby-view .public-room-panel176 > .public-room-meta {display:none!important}
body .public-room-content176 {
  display:grid;
  grid-template-columns:minmax(0,1fr) 54px;
  align-items:center;
  column-gap:16px;
  width:100%;
  min-width:0;
}
body .public-room-main176 {display:flex;flex-direction:column;min-width:0}
body .public-room-names176 {
  display:flex;
  align-items:baseline;
  gap:5px;
  min-width:0;
  max-width:100%;
  color:#f0f0f3;
  font-size:15px;
  font-weight:500;
  line-height:1.4;
  white-space:nowrap;
}
body .public-room-name176 {
  flex:0 1 auto;
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
body .public-room-name176.is-short-name {
  flex-shrink:0;
  min-width:0;
  max-width:35%;
}
body .public-room-name-divider176 {flex:none;color:#8c8c98;font-size:12px;font-weight:400}
body .public-room-others176 {flex:none;color:#bdbdc7;font-size:12px;font-weight:400;white-space:nowrap}
body .public-room-code176 {
  display:block;
  margin-top:2px;
  color:#a3a3b0;
  font-size:10.5px;
  line-height:1.4;
  letter-spacing:.65px;
  font-variant-numeric:tabular-nums;
}
body .public-room-code-line176 {
  display:flex;
  align-items:center;
  gap:9px;
  min-width:0;
  margin-top:2px;
}
body .public-room-code-line176 > .public-room-code176 {margin-top:0}
body .public-room-seat-meter176 {
  display:inline-flex;
  flex:none;
  align-items:center;
  gap:3px;
  margin:0;
}
body .public-room-seat-meter176 > i {
  display:block;
  width:5px;
  height:5px;
  border:0;
  border-radius:50%;
  background:#444449;
}
body .public-room-seat-meter176 > i.occupied {background:#ac9870}
body .public-room-details176 {display:flex;flex-direction:column;gap:3px;min-width:0;margin-top:8px}
body[data-view=lobby][data-game=holdem]:has(#lobby-stakes .tier[aria-pressed=true]) .public-room-panel176 .public-room-details176 {display:none}
body .public-room-detail176 {display:flex;align-items:baseline;gap:6px;min-width:0;font-size:12px;font-weight:400;line-height:1.4;white-space:nowrap}
body .public-room-label176 {flex:none;color:#aaaab5;font-size:11px}
body .public-room-value176 {color:#e9d59c;font-size:12px;font-variant-numeric:tabular-nums}
body .public-room-mode176 {color:#c2c2cc;font-size:12px;line-height:1.4;white-space:nowrap}
body .public-room-value176.is-unset {color:#b7b7c2;font-size:12px}
body .public-room-status-divider176 {flex:none;color:#747481}
body .public-room-status176 {color:#c2c2cc;font-size:11px;white-space:nowrap}
body .public-room-status176.is-playing {color:#a9c6b6}
body .public-room-side176 {display:flex;flex-direction:column;align-items:flex-end;justify-content:center;gap:13px;min-width:0;white-space:nowrap}
body .public-room-occupancy176 {color:#aaaab7;font-size:11px;line-height:1.4;font-variant-numeric:tabular-nums}
body .public-room-occupancy176 strong {color:#ededf2;font-size:14px;font-weight:500}
body .public-room-action176 {display:flex;align-items:center;justify-content:flex-end;gap:7px;color:#d1d1da;font-size:12px;font-weight:400;line-height:1.4}
body .public-room-action176 > .is-spectating {color:#a9c6b6}
body .public-room-arrow176 {display:block;width:6px;height:6px;border-right:1px solid #8d8d9a;border-top:1px solid #8d8d9a;transform:rotate(45deg);margin-right:2px}
/* Keep the former two-line side height while aligning Hold'em's paired rows. */
body[data-game=holdem] .public-room-row176 .public-room-content176 {align-items:baseline;align-content:center;min-height:49.4px}
body[data-game=holdem] .public-room-row176 :is(.public-room-main176,.public-room-side176) {display:contents}
body[data-game=holdem] .public-room-row176 .public-room-names176 {grid-column:1;grid-row:1}
body[data-game=holdem] .public-room-row176 .public-room-code-line176 {grid-column:1;grid-row:2}
body[data-game=holdem] .public-room-row176 .public-room-details176 {grid-column:1;grid-row:3}
body[data-game=holdem] .public-room-row176 .public-room-occupancy176 {grid-column:2;grid-row:1;justify-self:end}
body[data-game=holdem] .public-room-row176 .public-room-action176 {grid-column:2;grid-row:2;justify-self:end}
/* Marble's count and destination share the actual first/last text baselines. */
body[data-game=marble] .public-room-row176 .public-room-content176 {align-items:baseline}
body[data-game=marble] .public-room-row176 :is(.public-room-main176,.public-room-side176,.public-room-details176) {display:contents}
body[data-game=marble] .public-room-row176 .public-room-names176 {grid-column:1;grid-row:1}
body[data-game=marble] .public-room-row176 .public-room-code-line176 {grid-column:1;grid-row:2}
body[data-game=marble] .public-room-row176 .public-room-mode176 {grid-column:1;grid-row:3;margin-top:8px}
body[data-game=marble] .public-room-row176 .public-room-detail176 {grid-column:1;grid-row:4;margin-top:3px}
body[data-game=marble] .public-room-row176 .public-room-occupancy176 {grid-column:2;grid-row:1;justify-self:end}
body[data-game=marble] .public-room-row176 .public-room-action176 {grid-column:2;grid-row:4;justify-self:end}
body[data-view=lobby][data-game] #lobby-view .public-room-panel176 .public-room-row176:is(:hover,:focus-visible) {background:#2a2a30}
body .public-room-row176:focus-visible {outline:1px solid #9292a3!important;outline-offset:-2px}
body .public-room-row176[aria-pressed=true] {background:#30262a!important;box-shadow:inset 3px 0 #ad535e!important}
@media(min-width:1200px) {
  /* Expose the original title and count as siblings to the native flex header. */
  body .public-room-heading-copy176 {display:contents}
  body[data-view=lobby][data-game] #lobby-view .public-room-panel176 {
    margin-top:14px;
    max-height:var(--public-room-panel-max176,calc(100dvh - 180px));
  }
  body[data-view=lobby][data-game] #lobby-view .public-room-panel176 > .rooms {overflow-y:auto!important;overscroll-behavior:contain}
}
@media(max-width:1199px) {
  body[data-view=lobby][data-game] #lobby-view .public-room-panel176 {
    flex:0 0 auto!important;
    height:auto!important;
    max-height:none!important;
  }
  body[data-view=lobby][data-game] #lobby-view .public-room-panel176 > .rooms {
    flex:0 0 auto!important;
    height:auto!important;
    overflow-x:visible!important;
    overflow-y:visible!important;
  }
  body[data-view=lobby][data-game] #lobby-view .public-room-panel176 .public-room-row176 {padding:12px 14px!important}
  body .public-room-content176 {column-gap:12px}
  body .public-room-details176 {margin-top:7px}
  body[data-game=marble] .public-room-row176 .public-room-mode176 {margin-top:7px}
  /* Grow both names equally up to their natural width, then give the longer
     name the unused share. The participant suffix always keeps its full width. */
  body .public-room-names176.has-two-names {display:grid;grid-template-columns:minmax(0,max-content) max-content minmax(0,max-content);justify-content:start}
  body .public-room-names176.has-two-names.has-others {grid-template-columns:minmax(0,max-content) max-content minmax(0,max-content) max-content}
  body .public-room-names176.has-two-names > .public-room-name176 {max-width:none}
  body .public-room-panel176 > .rooms-heading {display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:12px!important;align-items:center!important}
  body .public-room-heading-copy176 {display:inline-flex;align-items:baseline;gap:6px;min-width:0;white-space:nowrap}
  body .public-room-panel176 > .rooms-heading h2 {min-width:0;font-size:16px!important;white-space:nowrap}
  body .public-room-panel176 .public-room-count {font-size:13px!important;justify-self:start;white-space:nowrap;font-weight:400;line-height:1.4;color:#aaaab5}
  body .public-room-header-create176 {
    position:relative;
    display:inline-flex!important;
    align-items:center;
    justify-content:center;
    min-width:0!important;
    min-height:36px!important;
    height:36px!important;
    margin:0!important;
    padding:0 11px 0 27px!important;
    border:1px solid #98414a!important;
    border-radius:3px!important;
    background:#862d37!important;
    color:#fff1f2!important;
    box-shadow:none!important;
    font:inherit;
    font-size:12px!important;
    font-weight:500;
    line-height:1.4!important;
    white-space:nowrap;
    cursor:pointer;
  }
  body .public-room-header-create176::before {
    content:'';
    position:absolute;
    left:10px;
    top:50%;
    width:10px;
    height:10px;
    transform:translateY(-50%);
    background:linear-gradient(#f2cdd1,#f2cdd1) center/10px 1px no-repeat,linear-gradient(#f2cdd1,#f2cdd1) center/1px 10px no-repeat;
  }

  body .public-room-header-create176:disabled {opacity:.5;cursor:default}
  body .public-room-header-create176:hover {background:#9b3541!important;border-color:#ad505a!important}
  body .public-room-header-create176:active {background:#71232c!important;border-color:#98414a!important}
  body .has-header-create176 > .public-room-actions:not(:has(>button:not([hidden]))):not(:has(.marble-create-config:not([hidden]))) {display:none!important}
  body .public-room-panel176[data-room-count="0"] #quick-join:disabled {display:none!important}
  body .public-room-panel176[data-room-count="0"] #open-create {flex:1 1 100%!important;width:100%}
}
@media(max-width:350px) {
  body .public-room-content176 {grid-template-columns:minmax(0,1fr) 46px;column-gap:10px}
  body .public-room-names176 {gap:4px;font-size:14px}
  body .public-room-others176 {font-size:11px}
  body .public-room-header-create176 {padding-right:9px!important}
  body .public-room-seat-meter176 > i {width:4px;height:4px}
}

body .public-room-row176 [hidden] {display:none!important}
