.fs-quick-match-popup {
  --qm-card: #fff;
  --qm-border: #d6deea;
  --qm-text: #1e293b;
  --qm-muted: #64748b;
  --qm-primary: #2563eb;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2147482500;
  box-sizing: border-box;
  width: min(360px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  overflow: auto;
  padding: 12px 14px;
  border: 1px solid var(--qm-border);
  border-radius: 14px;
  background: var(--qm-card);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .45);
  color: var(--qm-text);
  text-align: left;
  font: 15px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.fs-quick-match-popup[hidden],
.fs-quick-match-popup .fs-qm-guide[hidden],
.fs-quick-match-popup .fs-qm-waiters[hidden],
.fs-quick-match-popup .fs-qm-waiters:empty { display: none; }
.fs-quick-match-popup .fs-qm-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.fs-quick-match-popup .fs-qm-kind { display: inline-block; padding: 2px 9px; border-radius: 999px; background: rgba(127,127,127,.16); color: var(--qm-muted); font-size: 12px; font-weight: 700; }
.fs-quick-match-popup .fs-qm-waiters { color: var(--qm-muted); font-size: 12.5px; }
.fs-quick-match-popup .fs-qm-text { margin: 9px 0 12px; font-size: 15px; font-weight: 800; line-height: 1.35; }
.fs-quick-match-popup .fs-qm-guide { margin: -4px 0 12px; color: var(--qm-muted); font-size: 12px; line-height: 1.4; }
.fs-quick-match-popup .fs-qm-guide span { display: block; }
.fs-quick-match-popup .fs-qm-actions { display: flex; gap: 8px; }
.fs-quick-match-popup .fs-qm-actions[hidden] { display: none; }
.fs-quick-match-popup .fs-qm-actions > * { flex: 1 1 0; min-width: 0; min-height: 38px; padding: 8px; border: 1px solid var(--qm-primary); border-radius: 10px; background: transparent; color: var(--qm-text); text-align: center; text-decoration: none; font-family: inherit; font-size: 13px; font-weight: 700; line-height: 1.2; overflow-wrap: anywhere; cursor: pointer; }
.fs-quick-match-popup .fs-qm-actions > :last-child { background: var(--qm-primary); color: #fff; }
body.fs-landing .fs-quick-match-popup { --qm-card: var(--card); --qm-border: var(--bd); --qm-text: var(--fg); --qm-muted: var(--mut); --qm-primary: var(--pri); }
html.fs-app-theme-dark .fs-quick-match-popup { --qm-card: var(--fs-app-surface, #151d2a); --qm-border: var(--fs-app-border, #334155); --qm-text: var(--fs-app-text, #f1f5f9); --qm-muted: var(--fs-app-muted, #94a3b8); }
