#btn-tournament-lobby{white-space:nowrap;color:#ffdc62;border:1px solid #6a5a30;border-radius:7px;padding:8px 12px;min-height:38px;background:#242219;font:700 12px Inter,system-ui;cursor:pointer}#btn-tournament-lobby[hidden]{display:none!important}.tl-dialog{box-sizing:border-box;width:min(920px,calc(100vw - 24px));max-height:85dvh;border:1px solid #645b3c;border-radius:14px;background:#141a16;color:#f4f1e5;padding:24px;font:14px Inter,system-ui;overflow:auto}.tl-dialog::backdrop{background:#0009}.tl-dialog>header{display:flex;gap:16px;align-items:center;justify-content:space-between;position:sticky;top:-24px;background:#141a16;padding:12px 0;z-index:1}.tl-dialog h2{font-size:24px;margin:0}.tl-dialog h3{color:inherit}.tl-back{background:#ffdc62;border:0;border-radius:7px;padding:12px 16px;font:700 13px Inter,system-ui;cursor:pointer;flex-shrink:0}.tl-notice{color:#ffdc62}.tl-error{color:#ffa69c}.tl-dialog p{line-height:1.6}.tl-dialog table{width:100%;border-collapse:collapse}.tl-dialog th,.tl-dialog td{text-align:left;padding:12px 8px;border-bottom:1px solid #354036;overflow-wrap:anywhere}.tl-dialog th:last-child,.tl-dialog td:last-child{text-align:right}.tl-tables{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.tl-dialog :focus-visible,#btn-tournament-lobby:focus-visible{outline:2px solid #ffdc62;outline-offset:3px}@media(max-width:719px){#btn-tournament-lobby{font-size:10px;padding:6px;min-height:36px}.tl-dialog{padding:16px}.tl-dialog>header{top:-16px}.tl-dialog h2{font-size:19px}.tl-tables{grid-template-columns:1fr}.tl-back{padding:10px;font-size:12px}}
#btn-tournament-lobby{position:absolute;right:28px;top:6px;width:auto;justify-self:end}.tl-dialog{position:fixed;inset:0;margin:auto;height:fit-content}@media(max-width:719px){#btn-tournament-lobby{right:58px;top:calc(6px + env(safe-area-inset-top))}}
#table-screen #btn-tournament-lobby{pointer-events:auto}

/* A secondary table control, sized to its label rather than the header grid. */
#table-screen .table-header #btn-tournament-lobby{position:absolute;inset:8px 28px auto auto;display:inline-flex;align-items:center;justify-content:center;gap:6px;width:max-content;max-width:max-content;min-width:0;height:32px;min-height:32px;margin:0;padding:0 10px;border:1px solid #ffffff26;border-radius:6px;background:#141a16cc;color:#d4d8d3;font:600 12px Inter,system-ui;box-shadow:none;line-height:1;pointer-events:auto}
#table-screen .table-header #btn-tournament-lobby .material-symbols-rounded{font-size:17px;color:#e5c777}
#table-screen .table-header #btn-tournament-lobby:hover{background:#283029;border-color:#bba76b80;color:#fff}
#table-screen .table-header #btn-tournament-lobby[hidden]{display:none!important}
@media(max-width:719px){body:not(.desktop-game-active) #table-screen .table-header #btn-tournament-lobby{top:calc(6px + env(safe-area-inset-top));right:58px;height:36px;min-height:36px}}
/* Phones: icon only, so it clears the blinds and level-timer pills (the label ran over the timer at 375px). */
/* Icon-only in the phone header bar; in the avatar menu (.header-nav-info) it keeps its label and width (2026-10-10: it was squeezed to 36px there, its text over the next chip). */
@media(max-width:719px){body:not(.desktop-game-active) #table-screen .table-header #btn-tournament-lobby:not(.header-nav-info *){width:36px;min-width:36px;max-width:36px;padding:0}body:not(.desktop-game-active) #table-screen .table-header #btn-tournament-lobby:not(.header-nav-info *)>span:not(.material-symbols-rounded){display:none}}

.tl-dialog tbody tr:nth-child(even){background:rgba(255,255,255,.045)}

/* The lobby at the table looks like the app's tournament lobby (Shaun, 2026-10-05): the same cards
   (assets/freeroll.js renderInto, styled by freeroll.css), on the app's background, with a page-style heading.
   Wide on desktop, the whole screen on phones. */
.tl-dialog{width:min(1240px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:0 24px 24px;border:1px solid var(--muck-line-strong);border-radius:var(--muck-radius-lg,14px);background:var(--muck-bg);color:var(--muck-text);font:14px var(--muck-font,Inter,system-ui)}
.tl-dialog::backdrop{background:#000b;backdrop-filter:blur(3px)}
.tl-dialog>header{top:0;margin:0 -24px;padding:20px 24px 16px;background:var(--muck-bg);border-bottom:1px solid var(--muck-line)}
.tl-heading{min-width:0}
.tl-eyebrow{display:block;margin-bottom:4px;color:var(--muck-gold);font:700 10.5px var(--muck-font,Inter,system-ui);letter-spacing:.14em;text-transform:uppercase}
.tl-dialog h2{font-size:28px;font-weight:700;letter-spacing:-.04em;line-height:1.1;color:var(--muck-text)}
.tl-sub{margin:4px 0 0;color:var(--muck-text-2);font-size:13px;line-height:1.4!important}
.tl-back.fr-btn{flex-shrink:0;min-height:40px;padding:0 16px;border:0;border-radius:10px;background:var(--muck-gold-cta);color:var(--muck-gold-ink);font:800 13px var(--muck-font,Inter,system-ui)}
.tl-notice{margin:14px 0 0;padding:9px 12px;border-radius:10px;background:color-mix(in srgb,var(--muck-gold) 9%,transparent);color:var(--muck-gold);font-size:12.5px}
.tl-error:empty{display:none}
.tl-content{margin-top:16px}
.tl-content .frx{margin:0}
.tl-content>.frx-card{max-width:640px}
.tl-foot{color:var(--muck-text-3);font-size:12px}
@media(max-width:719px){
  .tl-dialog{width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;inset:0;padding:0 12px calc(16px + env(safe-area-inset-bottom));border:0;border-radius:0}
  .tl-dialog>header{margin:0 -12px;padding:calc(12px + env(safe-area-inset-top)) 12px 12px}
  .tl-dialog h2{font-size:22px}
  .tl-back.fr-btn{min-height:38px;padding:0 12px}
}
