/* v20.51 · Friends Games: the second chance and Do you know? cards, the domain picker, rooms of up to 10, the end card's table (fg-core.js, fg-quiz.js) */
.fg-qdn{font-size:13.5px;font-weight:700;color:var(--muted);padding:4px 10px;border:var(--l1);border-radius:99px}
.fg-qdl select{max-width:320px}.fg-qdl small{color:var(--muted);font-size:13.5px}
.fg-qdw{max-width:420px;margin:6px auto;text-align:start}.fg-qdw .fg-note{margin:0;text-align:center}
.fg-star{display:inline-block;color:#D9A520;font-size:17px;line-height:1;text-shadow:0 0 1px #0B102080}
.fg-star.fg-used{color:var(--muted);opacity:.35;text-shadow:none}
.bb-qz .fg-star{font-size:15px}
.fgp-n{display:flex;align-items:center;gap:5px;min-width:0}
/* the offer and the "using its second chance" line: a bar at the bottom of the screen, never a dialog */
.fg-qb{position:fixed;left:50%;bottom:max(14px,env(safe-area-inset-bottom));transform:translateX(-50%);z-index:140;width:min(560px,calc(100% - 24px));display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px 12px;padding:10px 14px;background:var(--surface);color:var(--text);border:2px solid var(--turq);border-radius:18px;box-shadow:var(--shadow-lg);text-align:center;animation:fgqin .25s}
.fg-qb-r{display:flex;align-items:center;justify-content:center;gap:10px 14px;width:100%}
.fg-qt{font-weight:600;font-size:15px;line-height:1.4}
.fg-qcd{display:inline-grid;place-items:center;min-width:30px;height:30px;padding:0 6px;border-radius:99px;background:var(--turq);color:#0B1020;font:800 16px/1 var(--f-head);vertical-align:middle}
.fg-qbtn{min-height:48px;padding:8px 20px;border:0;border-radius:99px;background:#1FB5B2;color:#0B1020;font-family:inherit;font-size:18px;font-weight:800;line-height:1.1;cursor:pointer;animation:fgqp 1.1s infinite}
.fg-qbtn:focus-visible,.fg-qa:focus-visible{outline:3px solid var(--heading);outline-offset:2px}
@keyframes fgqp{50%{box-shadow:0 0 0 8px #1FB5B240}}
@keyframes fgqin{from{opacity:0;transform:translate(-50%,12px)}}
/* the question card and the fact card */
.fg-qz{position:fixed;inset:0;z-index:150;display:flex;align-items:center;justify-content:center;padding:12px;background:color-mix(in srgb,#0B1020 55%,transparent)}
.fg-qz-in{position:relative;width:100%;max-width:540px;max-height:calc(100vh - 24px);overflow:auto;background:var(--surface);color:var(--text);border-radius:20px;padding:20px 16px 18px;box-shadow:var(--shadow-lg);text-align:center;animation:fgpop .3s}
.fg-qz .fg-qcd{position:absolute;top:12px;inset-inline-end:12px}
.fg-qq{font:800 clamp(21px,5.6vw,27px)/1.3 var(--f-head);color:var(--heading);margin:8px 6px 16px}
html[lang=ar] .fg-qq,html[lang=ar] .fg-qa,html[lang=ar] .fg-qf{font-family:var(--f-ar)}
.fg-qo{display:grid;gap:10px}
.fg-qa{min-height:54px;padding:10px 14px;border:2px solid var(--border-2);border-radius:14px;background:var(--surface-2);color:var(--heading);font-family:inherit;font-size:18px;font-weight:700;line-height:1.3;cursor:pointer;text-align:center}
.fg-qa:not(:disabled):hover{border-color:var(--turq)}
.fg-qa:disabled{cursor:default}
.fg-qa.fg-pick{border-color:var(--heading)}
.fg-qa.ok{border-color:#4CAE3F;background:color-mix(in srgb,#4CAE3F 22%,var(--surface))}.fg-qa.ok:after{content:" ✓"}
.fg-qa.no{border-color:#EC6C25;background:color-mix(in srgb,#EC6C25 18%,var(--surface))}.fg-qa.no:after{content:" ×"}
.fg-qw{min-height:1.3em;margin:14px 0 0;font-size:16.5px;line-height:1.5}.fg-qw b{color:var(--heading)}
.fg-qf{font:600 clamp(18px,4.6vw,21px)/1.55 var(--f-body);color:var(--heading);margin:0 4px}
.fg-qdyk .fg-qq{color:#1FB5B2}
.fg-qbar{position:absolute;left:0;bottom:0;height:5px;width:100%;background:var(--turq);transform-origin:left;animation:fgqb linear forwards}
html[dir=rtl] .fg-qbar{transform-origin:right}
@keyframes fgqb{to{transform:scaleX(0)}}
/* rooms of up to 10 */
.fg-seats.fg-many{grid-template-columns:repeat(2,minmax(0,1fr));max-width:560px}
@media(max-width:420px){.fg-seats.fg-many{grid-template-columns:1fr;gap:4px}}
.fg-many li{flex-wrap:wrap;padding:6px 8px;gap:2px 5px;font-size:14.5px}.fg-many li i{width:11px;height:11px}
.fg-seats bdi{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fg-many li bdi{flex:1 1 60%}
.fg .fg-ent-s{padding:8px 12px;gap:6px}
.fg-ents:has(.fg-ent-s){display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px}
/* the end card: a table for many players, See the champions */
.fg-tab{list-style:none;counter-reset:fgt;padding:0;margin:0 auto 12px;max-width:420px;display:grid;gap:4px;text-align:start;max-height:40vh;overflow:auto}
.fg-tab li{counter-increment:fgt;display:flex;align-items:center;gap:8px;padding:5px 10px;border:var(--l1);border-radius:10px}
.fg-tab li:before{content:counter(fgt);min-width:1.4em;font-weight:800;color:var(--muted)}
.fg-tab i{flex:none;width:12px;height:12px;border-radius:50%;background:var(--fgc)}
.fg-tab bdi{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:700;color:var(--heading)}
.fg-champ{margin:12px 0 0}
@media(prefers-reduced-motion:reduce){.fg-qb,.fg-qz-in,.fg-qbtn{animation:none}.fg-qbar{animation:none;display:none}}
