/* ---------- başlangıç ekranı lobisi: şu an online uçanlar (src/lobby.js) */
.lb { container-type: inline-size; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.lb-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.lb-title {
  margin: 0; font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--muted); font-weight: 600;
}
.lb-total { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--muted); white-space: nowrap; }
.lb-total[hidden] { display: none; }
.lb-live { width: 7px; height: 7px; border-radius: 50%; background: rgba(244, 246, 248, 0.35); }
.lb-live.on { background: var(--ok); box-shadow: 0 0 6px var(--ok); }

.lb-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
@container (min-width: 620px) {
  .lb-body { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: start; gap: 18px; }
}

.lb-map {
  position: relative; aspect-ratio: 360 / 142; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--line);
  background: radial-gradient(ellipse at 50% 45%, rgba(47, 140, 255, 0.07), rgba(255, 255, 255, 0.015) 72%);
}
.lb-map canvas { display: block; width: 100%; height: 100%; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.lb-tip {
  position: absolute; z-index: 1; pointer-events: none; max-width: calc(100% - 8px);
  display: flex; flex-direction: column; gap: 6px;
  padding: 7px 10px; border-radius: 8px; border: 1px solid var(--line);
  background: rgba(14, 16, 20, 0.92); font-size: 12px; line-height: 1.3;
}
.lb-tip[hidden] { display: none; }
.lb-tip-row { display: flex; flex-direction: column; min-width: 0; }
.lb-tip-row b, .lb-tip-row span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb-tip-row b { font-weight: 600; }
.lb-tip-row span { color: var(--muted); }

.lb-side { display: flex; flex-direction: column; min-width: 0; }
.lb-state { padding: 10px 2px; color: var(--muted); font-size: 13px; }
.lb-state[hidden] { display: none; }
.lb-state p { margin: 0; }
.lb-state.is-ok p:first-child { color: var(--text); }
.lb-state .lb-hint { margin-top: 3px; font-size: 12px; color: var(--muted); }

/* satırlar ortak sütunlarda (subgrid): sayılar ve Katıl düğmeleri alt alta hizalı */
.lb-list {
  list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; column-gap: 10px;
}
.lb-list[hidden] { display: none; }
.lb-row {
  grid-column: 1 / -1; display: grid; align-items: center; column-gap: 10px;
  grid-template-columns: 8px minmax(0, 1fr) auto auto; grid-template-columns: subgrid;
  padding: 8px 6px; border-bottom: 1px solid var(--line); transition: background 0.15s;
}
.lb-row.is-preset { cursor: pointer; }
.lb-row.is-hot { background: rgba(47, 140, 255, 0.09); }
.lb-mark { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.lb-row.is-village .lb-mark { background: transparent; box-shadow: inset 0 0 0 1.5px var(--muted); }
.lb-row.is-arena .lb-mark { border-radius: 2px; } /* arena odası: kare işaret */
.lb-row.is-custom .lb-mark { background: rgba(244, 246, 248, 0.3); }
.lb-main { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.lb-place, .lb-meta { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb-place { font-size: 14px; font-weight: 600; }
.lb-row.is-custom .lb-place { font-weight: 500; color: var(--muted); }
.lb-meta { font-size: 12px; color: var(--muted); }
.lb-count {
  min-width: 2ch; text-align: right; font-family: var(--mono); font-size: 13px; font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.lb-row.is-custom .lb-count { color: var(--muted); }
.lb .lb-join {
  padding: 5px 11px; font-size: 13px; border-radius: 8px;
  background: transparent; border: 1px solid var(--line); color: var(--text);
}
.lb .lb-join:hover { background: rgba(47, 140, 255, 0.16); border-color: var(--accent); }
.lb .lb-join:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.lb .lb-more {
  align-self: flex-start; margin-top: 8px; padding: 2px 6px; font-size: 13px;
  background: none; border: 0; color: var(--accent);
}
.lb .lb-more:hover { background: none; text-decoration: underline; }
.lb .lb-more[hidden] { display: none; }

@media (hover: none) {
  .lb .lb-join { padding: 7px 12px; }
}
