/* The lobby shares its header, tabs, tables, and action controls with admin.css. */
a { color: var(--green); }
.panel { padding: 28px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
h3 { margin: 0 0 16px; font-size: 18px; font-weight: 650; letter-spacing: -.3px; }
.field { margin-bottom: 20px; min-width: 0; }
.field label { display: block; margin-bottom: 7px; font-weight: 600; font-size: 13px; }
.field input { width: 100%; }
.field p { margin: 7px 0 0; }
.form-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.message { font-size: 13px; margin-top: 12px; overflow-wrap: anywhere; }
.message:empty { display: none; }
.message a { display: inline-block; margin-top: 8px; }
.heading-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.auth-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 80px; max-width: 1040px; margin: 32px auto; }
.auth-intro h2 { font-size: clamp(30px, 3.4vw, 48px); line-height: 1.2; margin-top: 14px; }
.auth-intro p { color: var(--muted); max-width: 340px; margin-top: 20px; font-size: 15px; }
.eyebrow { color: var(--green); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; font-weight: 650; }
.register-section { border-top: 1px solid var(--line); margin-top: 28px; padding-top: 20px; }
.register-section summary { cursor: pointer; color: var(--green); font-weight: 600; margin-bottom: 18px; }
.create-layout { display: grid; grid-template-columns: minmax(0, 760px) minmax(240px, 1fr); gap: 24px; align-items: start; margin-top: 24px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.wide { grid-column: 1 / -1; }
.create-note { background: linear-gradient(145deg, #1e3929, #17221d); }
.create-note h3 { margin-top: 18px; }
.create-note p { color: var(--muted); line-height: 1.7; }
.note-divider { height: 1px; background: var(--line); margin: 24px 0; }
.profile-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, 1fr); gap: 24px; margin-top: 24px; max-width: 1060px; align-items: start; }
.profile-side { display: grid; gap: 24px; }
.account-email { overflow-wrap: anywhere; color: var(--muted); padding: 10px 0; }
.credit-total { font-size: 32px; color: var(--green); font-weight: 650; }
.card-icon { float: right; display: grid; place-items: center; border: 1px solid #45624f; color: var(--green); border-radius: 9px; width: 36px; height: 36px; font-size: 22px; margin-left: 12px; }
.row-actions a { display: inline-flex; align-items: center; text-decoration: none; font-weight: 600; border: 1px solid #396347; border-radius: 8px; white-space: nowrap; }
#passwordDialog .field { margin-top: 20px; }
#logoutBtn { background: #ffffff08; border-color: #4c715b; }
#accountSummary { max-width: 280px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media(max-width:900px) {
  .auth-grid { gap: 32px; }
  .create-layout { grid-template-columns: 1fr; }
  .create-note { max-width: none; }
}
@media(max-width:700px) {
  .auth-grid, .profile-layout { grid-template-columns: 1fr; gap: 24px; }
  .auth-grid { margin-top: 4px; }
  .auth-intro h2 br { display: none; }
  .auth-intro p { max-width: none; }
  .panel { padding: 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .wide { grid-column: auto; }
  .heading-row { align-items: flex-start; }
  .heading-row .good { padding-inline: 10px; font-size: 12px; }
  .stats { gap: 12px; }
  .stat { min-width: 0; }
  .stat-value { font-size: 22px; }
  .stat-label { font-size: 10px; }
}

.tabs { flex-wrap: wrap; }
.welcome-intro { max-width: 660px; padding-block: 32px 40px; }
.welcome-intro h2 { font-size: clamp(32px, 4vw, 52px); line-height: 1.15; margin-top: 14px; }
.welcome-intro p, .rules-grid p { color: var(--muted); font-size: 15px; line-height: 1.75; }
.rules-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.rules-grid h3 { margin: 14px 0 12px; }
.auth-card { max-width: 480px; margin: 24px auto; }
.auth-card > p { margin-bottom: 24px; }
@media(max-width:900px) { .rules-grid { grid-template-columns: 1fr; } }
@media(max-width:700px) { .tabs button { padding-inline: 12px; } }

.site-showcase { margin-top: 56px; padding-top: 48px; border-top: 1px solid var(--line); }
.showcase-heading { max-width: 800px; margin-bottom: 36px; }
.showcase-heading h2 { margin-top: 14px; font-size: clamp(26px, 3vw, 38px); line-height: 1.2; }
.site-showcase p { color: var(--muted); font-size: 15px; line-height: 1.75; }
.showcase-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 24px 0 36px; }
.showcase-grid h4 { margin: 12px 0; font-size: 18px; line-height: 1.4; }
.showcase-grid p { margin-bottom: 0; }
.dealer-feature { margin-bottom: 40px; background: linear-gradient(130deg, #1e3929, #17221d); }
.dealer-feature h3 { margin-top: 12px; font-size: 24px; }
.dealer-feature p { max-width: 900px; margin-bottom: 0; }
.showcase-cta { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 28px; border: 1px solid #45624f; border-radius: 12px; background: #1d3225; }
.showcase-cta h3 { margin-bottom: 8px; }
.showcase-cta p { max-width: 720px; margin: 0; }
@media(max-width:900px) { .showcase-grid { grid-template-columns: 1fr; } }
@media(max-width:700px) { .site-showcase { margin-top: 36px; padding-top: 32px; } .showcase-cta { flex-direction: column; align-items: flex-start; padding: 22px; } }

.header { flex-wrap: wrap; }
.lobby-brand-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; }
.poker-emblem { display: block; width: 124px; height: auto; flex: 0 0 auto; }
#accountStats { flex: 1; }
@media(max-width:700px) { .poker-emblem { width: 96px; } }
@media(max-width:420px) { .poker-emblem { width: 76px; } .lobby-brand-row .mark { display: none; } .lobby-brand-row h1 { font-size: 21px; } .lobby-brand-row .subhead { font-size: 11px; } }

.expired-tables-list { display: grid; gap: 24px; }
.expired-table-card h3 { margin-bottom: 0; overflow-wrap: anywhere; }
.archive-totals { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 24px 0; }
.archive-totals dt { color: var(--muted); font-size: 12px; }
.archive-totals dd { margin: 6px 0 0; font-size: 18px; font-weight: 600; }
.archive-player-stats { margin-bottom: 22px; }
.archive-player-stats summary { cursor: pointer; color: var(--green); font-weight: 600; margin-bottom: 14px; }
.archive-download { display: inline-flex; align-items: center; min-height: 38px; padding: 8px 14px; border: 1px solid #45624f; border-radius: 8px; text-decoration: none; font-weight: 600; background: #24372c; }
.archive-download:hover { background: #304c3c; }
@media(max-width:700px) { .archive-totals { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
