/* "Play a friend" lobby sheet for the table games (platform/table.js, gamefactory-96). A gg-modal, so every game shares it. */
.tb-lobby__card { display: grid; gap: 14px; text-align: center; justify-items: center; max-width: 440px; }
.tb-lobby__title { font-size: var(--gg-text-2xl); line-height: 1.1; }
.tb-lobby__codebox { display: grid; gap: 12px; width: 100%; justify-items: center; }
.tb-lobby__codebox[hidden], .tb-lobby__msg[hidden], .tb-lobby__wait[hidden] { display: none; }
.tb-lobby__hint { color: var(--gg-ink-2); font-weight: 600; line-height: 1.35; max-width: 320px; }
.tb-code {
  font-family: var(--gg-font-display); font-weight: 800; font-size: clamp(34px, 11vw, 52px); line-height: 1; letter-spacing: .14em;
  padding: 12px 10px 12px calc(10px + .14em); width: 100%; max-width: 300px; border: var(--gg-border); border-radius: var(--gg-r-md);
  background: var(--gg-butter-100); box-shadow: var(--gg-shadow); user-select: all; -webkit-user-select: all;
}
.tb-lobby__btns { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; width: 100%; max-width: 320px; }
.tb-lobby__btns .gg-btn[hidden], .tb-lobby__foot .gg-btn[hidden] { display: none; }
.tb-lobby__wait { font-weight: 700; color: var(--gg-ink-2); min-height: 1.4em; }
.tb-lobby__msg { font-weight: 700; color: var(--gg-ink); background: var(--gg-pink-100); border: 2px solid var(--gg-ink); border-radius: var(--gg-r-md); padding: 10px 12px; width: 100%; max-width: 340px; line-height: 1.35; }
.tb-lobby__foot { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.tb-lobby__how { font-size: var(--gg-text-sm); color: var(--gg-ink-3); font-weight: 600; line-height: 1.4; }
.tb-dots { display: inline-flex; gap: 3px; margin-left: 4px; vertical-align: middle; }
.tb-dots i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; animation: tb-dot calc(1050ms * var(--gg-time, 1)) ease-in-out infinite; }
.tb-dots i:nth-child(2) { animation-delay: calc(150ms * var(--gg-time, 1)); }
.tb-dots i:nth-child(3) { animation-delay: calc(300ms * var(--gg-time, 1)); }
@keyframes tb-dot { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
@media (prefers-reduced-motion: reduce) { .tb-dots i { animation: none; opacity: .7; } }
