/* Lobby tournament presentation only. Existing room actions and table geometry
 * remain in app.js and the table styles. Load after lobby-shell.css. */
body.holdem-lobby-active.lobby-shell-ready[data-lobby-shell-section="holdem"] #lobby #tournamentList {
  padding: 8px 14px 18px;
}
body.holdem-lobby-active.lobby-shell-ready[data-lobby-shell-section="holdem"] #lobby #tournamentList .tcard {
  --lt-accent: #dabb7c;
  --lt-tint: #393022;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  padding: 13px 14px 12px !important;
  margin-bottom: 10px !important;
  border: 1px solid #75603e !important;
  border-radius: 14px !important;
  background: linear-gradient(115deg, var(--lt-tint), #211d18 78%) !important;
  box-shadow: inset 3px 0 0 var(--lt-accent), 0 5px 14px #0002 !important;
}
body.holdem-lobby-active.lobby-shell-ready[data-lobby-shell-section="holdem"] #lobby #tournamentList .tcard.lobby-type-turbo { --lt-accent: #e5a47c; --lt-tint: #3a2b24; }
body.holdem-lobby-active.lobby-shell-ready[data-lobby-shell-section="holdem"] #lobby #tournamentList .tcard.lobby-type-hyper { --lt-accent: #e9958d; --lt-tint: #3b2828; }
body.holdem-lobby-active.lobby-shell-ready[data-lobby-shell-section="holdem"] #lobby #tournamentList .tcard.lobby-type-bounty { --lt-accent: #dea1b2; --lt-tint: #392936; }
body.holdem-lobby-active.lobby-shell-ready[data-lobby-shell-section="holdem"] #lobby #tournamentList .tcard.lobby-type-mystery { --lt-accent: #82c4c0; --lt-tint: #243735; }
body.holdem-lobby-active.lobby-shell-ready[data-lobby-shell-section="holdem"] #lobby #tournamentList .tcard.lobby-type-satellite { --lt-accent: #baa3e6; --lt-tint: #302a40; }
body.holdem-lobby-active.lobby-shell-ready[data-lobby-shell-section="holdem"] #lobby #tournamentList .tcard.lobby-type-deep { --lt-accent: #a2b7db; --lt-tint: #28323f; }
body.holdem-lobby-active.lobby-shell-ready[data-lobby-shell-section="holdem"] #lobby #tournamentList .tcard.is-mine { border-color: #9caf78 !important; }
body.holdem-lobby-active.lobby-shell-ready[data-lobby-shell-section="holdem"] #lobby #tournamentList .tcard-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  row-gap: 7px;
  min-width: 0;
  padding-right: 38px;
  margin-bottom: 0;
}
/* Keep whole words and balance title lines instead of leaving a short final
 * word alone. Long unspaced names can still wrap without clipping. */
body.holdem-lobby-active.lobby-shell-ready[data-lobby-shell-section="holdem"] #lobby #tournamentList .tcard h3,
body.holdem-lobby-active.lobby-shell-ready[data-lobby-shell-section="holdem"] #lobby #tournamentList .tcard .tcard-title-marquee {
  font-family: "Pretendard Variable", Pretendard, system-ui, sans-serif !important;
  font-size: 16px !important;
  line-height: 1.4 !important;
  font-weight: 750;
  letter-spacing: -.35px;
  color: #f4e6ca !important;
  white-space: normal !important;
  text-overflow: clip !important;
  overflow: visible !important;
  overflow-wrap: anywhere;
  word-break: keep-all;
  text-wrap: balance;
}
body.holdem-lobby-active.lobby-shell-ready[data-lobby-shell-section="holdem"] #lobby #tournamentList .tcard .tcard-head h3 {
  flex: 1 0 100%;
  min-width: 0;
  max-width: 100%;
  margin: 0;
}
body.holdem-lobby-active.lobby-shell-ready[data-lobby-shell-section="holdem"] #lobby #tournamentList .tcard .tcard-title-marquee {
  display: block;
  -webkit-mask-image: none !important;
  mask-image: none !important;
}
body.holdem-lobby-active.lobby-shell-ready[data-lobby-shell-section="holdem"] #lobby #tournamentList .tcard .tcard-title-marquee .overflow-marquee-text__inner {
  display: block;
  max-width: 100% !important;
  padding-right: 0 !important;
  white-space: normal !important;
  text-overflow: clip !important;
  overflow: visible !important;
  overflow-wrap: anywhere;
  word-break: keep-all;
  text-wrap: balance;
  animation: none !important;
  transform: none !important;
}
body.holdem-lobby-active.lobby-shell-ready[data-lobby-shell-section="holdem"] #lobby #tournamentList .tcard .tcard-fav {
  top: 9px;
  right: 8px;
}
body.holdem-lobby-active.lobby-shell-ready[data-lobby-shell-section="holdem"] #lobby #tournamentList .tcard .tcard-type-badge {
  border-color: #a28b6655;
  background: #15171577;
  color: var(--lt-accent);
  font: 650 10px/1.25 "Pretendard Variable", Pretendard, system-ui, sans-serif;
  padding: 3px 7px;
  min-height: 21px;
}
body.holdem-lobby-active.lobby-shell-ready[data-lobby-shell-section="holdem"] #lobby #tournamentList .tcard .status-pill,
body.holdem-lobby-active.lobby-shell-ready[data-lobby-shell-section="holdem"] #lobby #tournamentList .tcard .struct-badge,
body.holdem-lobby-active.lobby-shell-ready[data-lobby-shell-section="holdem"] #lobby #tournamentList .tcard .ticket-badge,
body.holdem-lobby-active.lobby-shell-ready[data-lobby-shell-section="holdem"] #lobby #tournamentList .tcard .private-badge {
  font-size: 9px !important;
  line-height: 1.3;
  min-height: 20px;
}
body.holdem-lobby-active.lobby-shell-ready[data-lobby-shell-section="holdem"] #lobby #tournamentList .tcard .status-pill.s-reg { background: #254733 !important; border-color: #588765 !important; color: #c2e7c7 !important; }
body.holdem-lobby-active.lobby-shell-ready[data-lobby-shell-section="holdem"] #lobby #tournamentList .tcard .status-pill.s-late { background: #543f25 !important; border-color: #9e7942 !important; color: #f0d39b !important; }
body.holdem-lobby-active.lobby-shell-ready[data-lobby-shell-section="holdem"] #lobby #tournamentList .tcard .status-pill.s-play { background: #28483b !important; border-color: #608b73 !important; color: #c2e2ca !important; }
body.holdem-lobby-active.lobby-shell-ready[data-lobby-shell-section="holdem"] #lobby #tournamentList .tcard .status-pill.s-sched { background: #2c3e50 !important; border-color: #647e9a !important; color: #c8d9ed !important; }
body.holdem-lobby-active.lobby-shell-ready[data-lobby-shell-section="holdem"] #lobby #tournamentList .tcard .tcard-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: 8px;
  padding: 11px 0 10px;
  margin-top: 0;
}
body.holdem-lobby-active.lobby-shell-ready[data-lobby-shell-section="holdem"] #lobby #tournamentList .tcard .stat {
  gap: 3px;
  min-width: 0;
}
body.holdem-lobby-active.lobby-shell-ready[data-lobby-shell-section="holdem"] #lobby #tournamentList .tcard .stat .lbl {
  font-size: 9px !important;
  line-height: 1.3;
  letter-spacing: 0;
  color: #b3a48d !important;
}
body.holdem-lobby-active.lobby-shell-ready[data-lobby-shell-section="holdem"] #lobby #tournamentList .tcard .stat .val {
  font-size: 13px !important;
  font-weight: 750;
  line-height: 1.35;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  overflow-wrap: anywhere;
  word-break: keep-all;
  color: #e4d5ba !important;
}
body.holdem-lobby-active.lobby-shell-ready[data-lobby-shell-section="holdem"] #lobby #tournamentList .tcard .stat.prize .val { color: var(--lt-accent) !important; }
body.holdem-lobby-active.lobby-shell-ready[data-lobby-shell-section="holdem"] #lobby #tournamentList .tcard .stat.players .val { color: #b5d6c4 !important; }
body.holdem-lobby-active.lobby-shell-ready[data-lobby-shell-section="holdem"] #lobby #tournamentList .tcard .tcard-progress {
  margin: 0 0 7px;
  background: #131b18 !important;
}
body.holdem-lobby-active.lobby-shell-ready[data-lobby-shell-section="holdem"] #lobby #tournamentList .tcard .tcard-progress .fill { background: linear-gradient(90deg, #71957c, #d6bd81) !important; }
body.holdem-lobby-active.lobby-shell-ready[data-lobby-shell-section="holdem"] #lobby #tournamentList .tcard .tcard-foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 6px 9px;
  padding-top: 8px;
  margin-top: 0;
  border-color: #89754f44;
}
body.holdem-lobby-active.lobby-shell-ready[data-lobby-shell-section="holdem"] #lobby #tournamentList .tcard .tcard-foot-left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  overflow: visible;
}
body.holdem-lobby-active.lobby-shell-ready[data-lobby-shell-section="holdem"] #lobby #tournamentList .tcard .tcard-foot-left:empty { display: none; }
body.holdem-lobby-active.lobby-shell-ready[data-lobby-shell-section="holdem"] #lobby #tournamentList .tcard .tcard-foot-right {
  max-width: 170px;
  align-self: start;
}
body.holdem-lobby-active.lobby-shell-ready[data-lobby-shell-section="holdem"] #lobby #tournamentList .tcard .tcard-foot-text {
  white-space: normal;
  text-overflow: clip;
  overflow: visible;
  overflow-wrap: anywhere;
}
body.holdem-lobby-active.lobby-shell-ready[data-lobby-shell-section="holdem"] #lobby #tournamentList .tcard .countdown {
  font-size: 10px !important;
  line-height: 1.45;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: keep-all;
  color: #e7c78b !important;
}
body.holdem-lobby-active.lobby-shell-ready[data-lobby-shell-section="holdem"] #lobby #tournamentList .tcard .tcard-bounty { max-width: 100%; }
body.holdem-lobby-active.lobby-shell-ready[data-lobby-shell-section="holdem"] #lobby #tournamentList .tcard .tcard-deposit-note {
  font-size: 10px;
  line-height: 1.5;
  overflow-wrap: anywhere;
  white-space: normal;
}
@media (max-width: 360px) {
  body.holdem-lobby-active.lobby-shell-ready[data-lobby-shell-section="holdem"] #lobby #tournamentList { padding-inline: 11px; }
  body.holdem-lobby-active.lobby-shell-ready[data-lobby-shell-section="holdem"] #lobby #tournamentList .tcard { padding: 12px !important; }
  body.holdem-lobby-active.lobby-shell-ready[data-lobby-shell-section="holdem"] #lobby #tournamentList .tcard h3,
  body.holdem-lobby-active.lobby-shell-ready[data-lobby-shell-section="holdem"] #lobby #tournamentList .tcard .tcard-title-marquee { font-size: 14.5px !important; }
  body.holdem-lobby-active.lobby-shell-ready[data-lobby-shell-section="holdem"] #lobby #tournamentList .tcard .tcard-stats { gap: 6px; }
  body.holdem-lobby-active.lobby-shell-ready[data-lobby-shell-section="holdem"] #lobby #tournamentList .tcard .stat .val { font-size: 12px !important; }
  body.holdem-lobby-active.lobby-shell-ready[data-lobby-shell-section="holdem"] #lobby #tournamentList .tcard .tcard-foot-right { max-width: 145px; }
}
