/* The universe lobby: landing/lib/pages/universes-lobby.php. */
.lobby { display: grid; gap: 56px; padding: 56px 0 88px; }
.lobby-head { position: relative; display: grid; gap: 12px; padding: 40px 32px; border-radius: var(--radius-card); background: linear-gradient(135deg, rgba(77, 212, 255, 0.16), rgba(0, 0, 0, 0.3)) center / cover; box-shadow: var(--shadow-card); overflow: hidden; }
/* Darkens the left side of the header art so the eyebrow, title and lede stay readable while the art stays visible on the right. */
.lobby-head::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg-deep) 0%, rgba(5, 8, 16, 0.78) 35%, rgba(5, 8, 16, 0.25) 70%, transparent 100%); pointer-events: none; }
.lobby-head > * { position: relative; z-index: 1; }
.lobby-head h1 { font-family: var(--font-display); font-size: 36px; }
.lobby-hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px; align-items: center; padding: 28px; border-radius: var(--radius-card); background: var(--surface); box-shadow: var(--shadow-card); overflow: hidden; }
.lobby-art { min-height: 220px; border-radius: var(--radius-control); background: linear-gradient(160deg, rgba(77, 212, 255, 0.28), rgba(10, 14, 30, 0.9)) center / cover; }
.lobby-hero .lobby-art { min-height: 300px; }
.lobby-numbers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 16px 0; }
.lobby-numbers div { padding: 12px; border-radius: var(--radius-control); background: rgba(0, 0, 0, 0.26); }
.lobby-numbers strong { display: block; font-family: var(--font-display); font-size: 22px; }
.lobby-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.lobby-card { display: grid; gap: 14px; align-content: start; padding: 0 0 22px; border-radius: var(--radius-card); background: var(--surface); box-shadow: var(--shadow-card); overflow: hidden; }
.lobby-card > :not(.lobby-art) { margin-inline: 22px; }
.lobby-card .lobby-art { min-height: 150px; border-radius: 0; }
.lobby-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.lobby-badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; background: rgba(77, 212, 255, 0.14); color: var(--accent); font-size: 12px; font-weight: 600; }
.lobby-badge img { display: block; width: 18px; height: 18px; border-radius: 50%; }
.lobby-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 14px; margin: 0; font-size: 14px; }
.lobby-facts dt { color: var(--text-dim); font-size: 12px; }
.lobby-facts dd { margin: 0; }
.lobby-choose { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.lobby-type { display: grid; gap: 10px; align-content: start; padding: 0 0 18px; border-radius: var(--radius-card); background: var(--surface); box-shadow: var(--shadow-card); overflow: hidden; }
.lobby-type > :not(.lobby-art) { margin-inline: 18px; }
.lobby-type .lobby-art { min-height: 120px; border-radius: 0; }
.lobby-match { display: grid; gap: 6px; padding: 10px 12px; border-radius: var(--radius-control); background: rgba(0, 0, 0, 0.26); font-size: 14px; }

@media (max-width: 760px) {
    .lobby { padding-top: 24px; gap: 40px; }
    .lobby-hero { grid-template-columns: minmax(0, 1fr); padding: 18px; }
    .lobby-head { padding: 28px 18px; }
}
