/* Combat lobby styles */

.combat-body {
  min-height: 100vh;
  overflow-x: hidden;
}

.combat-hub {
  max-width: 960px;
  margin: 0 auto;
  padding: 24px 20px 60px;
}

.hub-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stack-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stack-form label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.stack-form input,
.stack-form select,
.stack-form textarea {
  padding: 7px 9px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-panel);
  color: var(--text);
  font-size: 0.9rem;
  max-width: 100%;
}

.stack-form input:focus,
.stack-form select:focus,
.stack-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.check-row {
  flex-direction: row !important;
  align-items: center;
  gap: 8px !important;
}

.hint,
.optional {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin: 0;
}

.form-error {
  color: var(--let);
  font-size: 0.85rem;
  margin: 0;
}

.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  font-weight: 600;
  justify-content: center;
  padding: 10px 14px;
}

.btn-primary:hover {
  background: var(--accent-soft);
  color: #fff;
}

.muted {
  color: var(--text-dim);
  font-size: 0.8rem;
}

.you-name {
  margin-left: 8px;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 400;
}

.lobby-subhead {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  background: var(--bg-panel);
  border-bottom: 1px solid var(--border-soft);
  font-size: 0.95rem;
}

/* Reuse for PC import list */
.choice-card {
  text-align: left;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-deep);
  color: var(--text);
  cursor: pointer;
}

.choice-card:hover {
  border-color: var(--accent-soft);
}

.choice-card strong {
  display: block;
  color: var(--gold);
  margin-bottom: 4px;
}

.choice-card small {
  display: block;
  color: var(--text-muted);
  font-size: 0.78rem;
}

.lobby-subhead strong {
  color: var(--gold);
}

/* ── 3-column lobby layout ── */
.lobby-app {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) 360px;
  min-height: calc(100vh - var(--header-h));
  max-width: 1800px;
  margin: 0 auto;
  align-items: stretch;
}

.lobby-main {
  padding: 16px 18px 40px;
  overflow-x: hidden;
  min-width: 0;
}

/* Left: presence + chat */
.lobby-left {
  border-right: 1px solid var(--border-soft);
  background: var(--bg-panel);
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - var(--header-h));
  max-height: calc(100vh - var(--header-h));
  position: sticky;
  top: var(--header-h);
  overflow: hidden;
  padding: 10px;
  gap: 10px;
}

.presence-panel {
  flex: 0 0 auto;
  max-height: 40%;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.presence-list {
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  font-size: 0.85rem;
}

.presence-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 6px;
  border-radius: 4px;
  color: var(--text);
}

.presence-list li:hover {
  background: var(--bg-hover);
}

.presence-list li.has-import-grant {
  background: rgba(106, 168, 120, 0.1);
}

.presence-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sup);
  flex-shrink: 0;
}

.presence-list .is-gm .presence-dot {
  background: var(--gold);
}

.presence-name-btn {
  background: none;
  border: none;
  color: var(--link);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  text-align: left;
}

.presence-name-btn:hover {
  color: var(--gold);
  text-decoration: underline;
}

.import-badge {
  font-size: 0.65rem;
  font-weight: 700;
  color: #1a1208;
  background: var(--sup);
  border-radius: 4px;
  padding: 1px 5px;
  margin-left: 4px;
}

.presence-hint {
  font-size: 0.72rem;
  margin: 0 0 6px;
  padding: 0 4px;
}

.player-import-cta {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border-soft);
}

.chat-msg .who-clickable {
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: transparent;
}

.chat-msg .who-clickable:hover {
  color: var(--gold);
  text-decoration-color: var(--gold);
}

.chat-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

.chat-list {
  flex: 1;
  overflow-y: auto;
  font-size: 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 4px 2px;
  min-height: 120px;
}

.chat-msg {
  padding: 6px 8px;
  background: var(--bg-deep);
  border-radius: 6px;
  border: 1px solid var(--border-soft);
  word-break: break-word;
  color: var(--text);
}

.chat-msg .who {
  font-weight: 700;
  color: var(--gold-soft);
  font-size: 0.72rem;
  margin-right: 6px;
}

.chat-msg .when {
  font-size: 0.65rem;
  color: var(--text-dim);
  float: right;
}

.chat-form {
  display: flex;
  gap: 6px;
  margin-top: 8px;
  flex-shrink: 0;
}

.chat-form input {
  flex: 1;
  min-width: 0;
  padding: 7px 9px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-deep);
  color: var(--text);
  font-size: 0.85rem;
}

.chat-form .btn {
  flex-shrink: 0;
}

/* Right: attack + log — fully scrollable */
.lobby-side {
  border-left: 1px solid var(--border-soft);
  background: var(--bg-panel);
  min-height: calc(100vh - var(--header-h));
  max-height: calc(100vh - var(--header-h));
  position: sticky;
  top: var(--header-h);
  overflow: hidden;
  min-width: 0;
}

.side-scroll {
  height: 100%;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
  overflow-x: hidden;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-sizing: border-box;
}

.side-scroll .panel {
  flex-shrink: 0;
}

.phase-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 14px;
  padding: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
}

.phase-chip {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-size: 0.72rem;
  cursor: pointer;
  white-space: nowrap;
}

.phase-chip.current {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  font-weight: 700;
}

.phase-chip.done {
  opacity: 0.45;
}

.round-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.round-badge {
  font-family: var(--mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  padding: 6px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.declarations-panel {
  margin-bottom: 14px;
}

.declarations-list {
  font-size: 0.85rem;
  margin-bottom: 8px;
  max-height: 120px;
  overflow-y: auto;
}

.decl-item {
  padding: 4px 0;
  border-bottom: 1px solid var(--border-soft);
  color: var(--text);
}

.decl-item strong {
  color: var(--link);
}

.declare-form {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.declare-form select,
.declare-form input {
  padding: 6px 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-panel);
  color: var(--text);
  font-size: 0.85rem;
}

.declare-form input {
  flex: 1;
  min-width: 140px;
}

.roster {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}

.combatant-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 12px 14px;
  position: relative;
  min-width: 0;
}

/* Same footprint as combatant cards — empty “add” slot */
.add-combatant-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 168px;
  cursor: pointer;
  border-style: dashed;
  border-color: var(--border);
  background: transparent;
  color: var(--text-muted);
  font: inherit;
  text-align: center;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.add-combatant-card:hover {
  border-color: var(--accent);
  background: rgba(196, 92, 62, 0.08);
  color: var(--text);
}

.add-combatant-plus {
  font-size: 2rem;
  line-height: 1;
  color: var(--gold);
  font-weight: 300;
}

.add-combatant-label {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
}

.add-combatant-hint {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.combatant-card.side-pc { border-left: 3px solid #4a8fd4; }
.combatant-card.side-ally { border-left: 3px solid #5a9e6f; }
.combatant-card.side-enemy { border-left: 3px solid var(--let); }
.combatant-card.side-neutral { border-left: 3px solid var(--text-dim); }
.combatant-card.inactive { opacity: 0.45; }

.combatant-card h4 {
  margin: 0 0 6px;
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: baseline;
}

.card-title-row {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  flex: 1;
}

.card-title-row .cname {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg-panel);
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.95rem;
  flex-shrink: 0;
  line-height: 1;
}

.icon-btn:hover {
  border-color: var(--accent);
  color: var(--text);
  background: var(--bg-hover);
}

.card-meta-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 8px;
}

.meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 0.68rem;
  padding: 2px 7px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-panel);
  color: var(--text-muted);
  cursor: pointer;
}

.meta-chip:hover {
  border-color: var(--gold);
  color: var(--text);
}

.meta-chip.has-crits {
  border-color: var(--gri);
  color: var(--gri);
  background: rgba(212, 120, 60, 0.12);
}

.meta-chip.has-abs {
  border-color: #6a8;
  color: #8cb;
}

.combatant-card .side-tag {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-weight: 600;
}

.hp-bar {
  height: 8px;
  background: #2a2230;
  border-radius: 4px;
  overflow: hidden;
  margin: 6px 0 4px;
}

.hp-bar > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--let), var(--mod), var(--sup));
  transition: width 0.25s ease;
}

.hp-bar.bruised > span {
  background: linear-gradient(90deg, #8b3030, var(--gri));
}

.hp-text {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--text);
}

.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.stat-row strong {
  color: var(--text);
  font-family: var(--mono);
  font-weight: 600;
}

.declared {
  margin-top: 6px;
  font-size: 0.78rem;
  color: var(--gold-soft);
  font-style: italic;
}

.cond-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 8px;
}

.cond-tag {
  font-size: 0.68rem;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(196, 92, 62, 0.15);
  border: 1px solid var(--accent-soft);
  color: var(--link);
}

.cond-tag.bleed {
  background: rgba(180, 40, 40, 0.2);
  border-color: var(--let);
  color: #e88;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 10px;
}

.card-actions .btn {
  font-size: 0.72rem;
  padding: 4px 8px;
}

/* Attack panel */
.panel {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 12px;
  min-width: 0;
}

.panel h3 {
  margin: 0 0 10px;
  font-size: 0.95rem;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 8px;
}

.panel .badge {
  font-size: 0.7rem;
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--bg-deep);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-weight: 600;
}

.inline-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  min-width: 0;
}

.inline-row > label {
  min-width: 0;
}

/* Attack panel: keep pairs / number fields inside the side column */
.attack-form-compact .inline-row-pair {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 6px;
}

.attack-form-compact .inline-row-nums {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.attack-form-compact .field-shrink select,
.attack-form-compact .field-shrink input {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  font-size: 0.78rem;
  padding: 5px 6px;
}

.attack-form-compact .field-num {
  font-size: 0.72rem;
}

.attack-form-compact .input-narrow {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 5px 4px;
  font-size: 0.8rem;
  font-family: var(--mono);
  text-align: center;
}

.attack-form-compact select {
  text-overflow: ellipsis;
}

#attack-panel {
  overflow-x: hidden;
}

#attack-panel .stack-form {
  min-width: 0;
}

@media (max-width: 1100px) {
  .attack-form-compact .inline-row-nums {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.result-box {
  margin-top: 10px;
  padding: 12px;
  background: var(--bg-deep);
  border-radius: 6px;
  border: 1px solid var(--border);
  font-size: 0.84rem;
  line-height: 1.45;
  max-height: none;
  min-height: 80px;
  overflow: visible;
  white-space: normal;
  word-break: break-word;
  color: var(--text);
}

/* Attack result confirm modal */
.modal-attack-result {
  max-width: 560px;
  max-height: min(90vh, 720px);
  overflow-y: auto;
}

.arm-body {
  font-size: 0.92rem;
  line-height: 1.5;
  margin-bottom: 12px;
}

.arm-headline {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold);
  margin: 0 0 10px;
}

.arm-table-result {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 8px 0;
}

.arm-table-result.hit {
  color: var(--gri);
}

.arm-table-result.miss {
  color: var(--text-dim);
}

.arm-table-result.fumble {
  color: var(--let);
}

.arm-table-result.crit-flag {
  color: var(--let);
}

.arm-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0 0 6px;
}

.arm-crit-block {
  margin-top: 12px;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid var(--gri);
  background: rgba(212, 120, 60, 0.08);
}

.arm-crit-block h4 {
  margin: 0 0 8px;
  color: var(--gri);
  font-size: 0.95rem;
}

.arm-crit-full {
  font-size: 0.88rem;
  line-height: 1.45;
  margin: 0 0 10px;
  font-style: italic;
  color: var(--text);
}

.arm-crit-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 10px;
}

.arm-outcome {
  display: block;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-deep);
  cursor: pointer;
  transition: border-color 0.12s, background 0.12s;
}

.arm-outcome:hover {
  border-color: var(--gold-soft);
}

.arm-outcome.selected {
  border-color: var(--accent);
  background: rgba(196, 92, 62, 0.12);
  box-shadow: 0 0 0 1px var(--accent);
}

.arm-outcome input {
  margin-right: 8px;
  vertical-align: top;
  margin-top: 3px;
}

.arm-outcome-label {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text);
}

.arm-outcome-text {
  display: block;
  margin-top: 4px;
  margin-left: 22px;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.arm-outcome-fx {
  display: block;
  margin-top: 4px;
  margin-left: 22px;
  font-size: 0.78rem;
  color: var(--gold);
  font-family: var(--mono);
}

.arm-effects {
  font-size: 0.85rem;
  padding: 8px 10px;
  background: var(--bg-panel);
  border-radius: 6px;
  border: 1px solid var(--border-soft);
  margin-bottom: 8px;
}

.arm-crit-actions {
  margin-top: 8px;
}

.arm-footer {
  margin-top: 16px;
  flex-wrap: wrap;
}

.result-box.crit {
  border-color: var(--gri);
}

.result-box.fumble {
  border-color: var(--let);
  background: rgba(180, 40, 40, 0.12);
}

/* Log */
.log-panel {
  display: flex;
  flex-direction: column;
  min-height: 220px;
}

.log-list {
  overflow: visible;
  font-size: 0.78rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.log-entry {
  padding: 8px 10px;
  background: var(--bg-deep);
  border-radius: 4px;
  border-left: 3px solid var(--border);
  color: var(--text-muted);
  word-break: break-word;
  white-space: pre-wrap;
  line-height: 1.4;
}

.log-entry.attack { border-left-color: var(--accent); color: var(--text); }
.log-entry.crit { border-left-color: var(--gri); color: var(--text); }
.log-entry.bleed { border-left-color: var(--let); }
.log-entry.death { border-left-color: #000; background: #1a0a0a; color: #c88; }
.log-entry.phase { border-left-color: var(--gold); color: var(--gold-soft); }
.log-entry.fumble { border-left-color: #f44; }
.log-entry.declare { border-left-color: #6af; color: var(--text); }

.log-entry .meta {
  font-size: 0.68rem;
  color: var(--text-dim);
  margin-bottom: 3px;
}

.gm-badge {
  display: inline-block;
  font-size: 0.68rem;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--gold);
  color: #1a1208;
  font-weight: 700;
  margin-left: 8px;
}

.spectate-badge {
  display: inline-block;
  font-size: 0.68rem;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--bg-hover);
  border: 1px solid var(--border);
  color: var(--text-muted);
  margin-left: 8px;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow-y: auto;
}

.modal-backdrop[hidden] {
  display: none !important;
}

.modal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  width: min(480px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow);
}

.modal-wide {
  width: min(560px, 100%);
}

.modal h3 {
  margin: 0 0 12px;
  color: var(--gold);
}

.modal-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 14px;
}

.template-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 10px;
  background: var(--bg-deep);
  border-radius: 6px;
  border: 1px solid var(--border-soft);
  margin-bottom: 4px;
}

/* Detail sheet */
.modal-detail {
  width: min(640px, 100%);
}

.detail-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.detail-header h3 {
  margin: 0;
}

.detail-body {
  font-size: 0.9rem;
  color: var(--text);
}

.detail-section {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border-soft);
}

.detail-section h4 {
  margin: 0 0 8px;
  font-size: 0.85rem;
  color: var(--gold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 8px;
}

.detail-stat {
  background: var(--bg-deep);
  border: 1px solid var(--border-soft);
  border-radius: 6px;
  padding: 8px 10px;
}

.detail-stat .lbl {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.detail-stat .val {
  font-family: var(--mono);
  font-size: 1.05rem;
  font-weight: 600;
}

.ability-card {
  background: var(--bg-deep);
  border: 1px solid var(--border-soft);
  border-left: 3px solid #6a8;
  border-radius: 6px;
  padding: 10px 12px;
  margin-bottom: 8px;
}

.ability-card .aname {
  font-weight: 700;
  color: var(--link);
  margin-bottom: 4px;
}

.ability-card .adesc {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.crit-card {
  background: var(--bg-deep);
  border: 1px solid var(--border-soft);
  border-left: 3px solid var(--gri);
  border-radius: 6px;
  padding: 10px 12px;
  margin-bottom: 8px;
}

.crit-card .crit-meta {
  font-size: 0.72rem;
  color: var(--text-dim);
  margin-bottom: 4px;
}

.crit-card .crit-sev {
  font-weight: 700;
  margin-right: 6px;
}

.crit-card .crit-sev.sup { color: var(--sup); }
.crit-card .crit-sev.lig { color: var(--lig); }
.crit-card .crit-sev.mod { color: var(--mod); }
.crit-card .crit-sev.gri { color: var(--gri); }
.crit-card .crit-sev.let { color: var(--let); }

.crit-card .crit-text {
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--text);
}

.crit-card .crit-effects {
  margin-top: 6px;
  font-size: 0.78rem;
  color: var(--gold-soft);
}

@media (max-width: 1100px) {
  .lobby-app {
    grid-template-columns: 1fr;
  }

  .lobby-left,
  .lobby-side {
    position: relative;
    top: 0;
    max-height: none;
    min-height: 0;
    border: none;
  }

  .lobby-left {
    border-bottom: 1px solid var(--border-soft);
    max-height: 320px;
  }

  .lobby-side {
    border-top: 1px solid var(--border-soft);
  }

  .side-scroll {
    max-height: none;
    height: auto;
  }

  .hub-grid {
    grid-template-columns: 1fr;
  }
}
