/* A compact, shared friends dialog for all Würfel Extrem game modes. */
.fx-dialog{color-scheme:light;box-sizing:border-box;padding:0;border:1px solid #cad7ed;border-radius:19px;width:min(95vw,520px);max-height:min(90dvh,850px);background:#f8faff;color:#182943;box-shadow:0 20px 70px #06112b88}
.fx-dialog::backdrop{background:#080e21b8;backdrop-filter:blur(3px)}
.fx-dialog .fx-shell{box-sizing:border-box;padding:18px;max-height:min(90dvh,850px);overflow-y:auto;overscroll-behavior:contain}
.fx-dialog .fx-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.fx-dialog .fx-heading small{display:block;font-size:.67rem;font-weight:850;letter-spacing:.09em;color:#526b96}
.fx-dialog .fx-heading h2{font-size:1.28rem;margin:3px 0 4px;color:#152743}
.fx-dialog #friendsCounts{font-size:.8rem;margin:0;color:#576d8d}
.fx-dialog button.fx-close{width:auto!important;min-height:36px;padding:5px 10px;background:#e9f0fb;color:#263c60;border:1px solid #d0dcef;border-radius:10px}
.fx-dialog .fx-section{border-top:1px solid #d8e1ef;margin-top:14px;padding-top:13px}
.fx-dialog .fx-section h3{font-size:.98rem;color:#253959;margin:0 0 9px}
.fx-dialog .fx-list{display:flex;flex-direction:column;gap:7px}
.fx-dialog .fx-person{border:1px solid #d2dff0;background:#fff;border-radius:11px;padding:10px;display:flex;gap:10px;align-items:center;justify-content:space-between}
.fx-dialog .fx-person-info{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}
.fx-dialog .fx-person-info strong{font-size:.9rem;color:#1d3454;overflow-wrap:anywhere}
.fx-dialog .fx-person-info small{font-size:.76rem;color:#617693;line-height:1.3}
.fx-dialog .fx-actions{display:flex;gap:5px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.fx-dialog button.fx-button{width:auto!important;min-height:35px!important;min-width:0!important;padding:7px 10px!important;border-radius:9px;font-size:.78rem!important;font-weight:750;white-space:normal;line-height:1.2;border:1px solid #b6c9e6;background:#eff3fa;color:#24446c}
.fx-dialog button.fx-button.primary{border-color:#315bcd;background:#3568e1;color:#fff}
.fx-dialog button.fx-button.minor{background:#f0f4fa;color:#395473}
.fx-dialog .fx-empty{margin:4px 0;color:#60718c;font-size:.81rem;line-height:1.4}
.fx-dialog .fx-section label{display:block;font-weight:750;font-size:.8rem;color:#334b70;margin-bottom:6px}
.fx-dialog #friendsFind{box-sizing:border-box;display:block;width:100%;font-size:16px;min-height:42px;border-radius:10px;background:#fff;border:1px solid #b9cbe5;color:#15243d;padding:9px 11px;margin-bottom:10px}
.fx-dialog .fx-status{font-size:.8rem;color:#26624e;margin:10px 0 0;min-height:0;line-height:1.4}
.fx-dialog .fx-status:empty{display:none}
.fx-dialog .fx-status[data-error="true"]{color:#b02748}
.fx-dialog .fx-footer{font-size:.73rem;color:#65758e;margin:13px 0 0;line-height:1.4}
button[data-open-friends]{min-height:38px}
button[data-open-friends][data-request-count]:not([data-request-count="0"])::after{content:attr(data-request-count);font-size:.68rem;background:#f8c85d;color:#20314d;border-radius:99px;margin-left:6px;padding:2px 6px}
@media(max-width:390px){.fx-dialog .fx-shell{padding:12px}.fx-dialog .fx-person{padding:8px}.fx-dialog button.fx-button{font-size:.72rem!important;padding:6px 8px!important}}
