/* FIVE PK - AMICI (17/10/2026). Hidden unless the admin switch "friends" is ON (friends-ui.js mounts nothing otherwise). */
.fr-chip{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:999px;border:1px solid rgba(94,234,212,.45);background:rgba(94,234,212,.10);color:#b9fff2;font-weight:700;cursor:pointer;position:relative}
.fr-chip[hidden],.fr-table-btn[hidden]{display:none!important}
.fr-online-n{min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:#2de2e6;color:#0b0f1e;font-size:.72rem;display:inline-grid;place-items:center}
.fr-badge{position:absolute;top:-4px;right:-4px;min-width:16px;height:16px;padding:0 4px;border-radius:8px;background:#ff5a5a;color:#fff;font-size:.68rem;font-style:normal;display:grid;place-items:center;box-shadow:0 0 0 2px rgba(0,0,0,.45)}
.fr-tab .fr-badge{position:static;display:inline-grid;margin-left:4px}
.fr-table-btn{position:relative}
.fr-dialog{max-width:560px;width:calc(100vw - 24px);border:1px solid rgba(255,255,255,.12);border-radius:16px;background:#121a24;color:#e9eef5;padding:0}
.fr-dialog::backdrop{background:rgba(0,0,0,.6)}
.fr-head{display:flex;justify-content:space-between;align-items:center;padding:14px 18px;border-bottom:1px solid rgba(255,255,255,.08)}
.fr-head h2{margin:0;font-size:1.15rem}
.fr-close{background:none;border:0;color:inherit;font-size:1.1rem;cursor:pointer}
.fr-add,.fr-blockform{display:flex;gap:8px;padding:12px 18px 4px}
.fr-add input,.fr-blockform input{flex:1;min-width:0;padding:10px 12px;border-radius:10px;border:1px solid rgba(255,255,255,.16);background:#0b1118;color:inherit;font-size:1rem}
.fr-tabs{display:flex;gap:4px;padding:10px 18px 0;overflow-x:auto}
.fr-tab{background:none;border:0;border-bottom:2px solid transparent;color:#9fb0c3;padding:8px 10px;font-weight:700;cursor:pointer;white-space:nowrap}
.fr-tab.is-active{color:#5eead4;border-bottom-color:#5eead4}
.fr-body{padding:10px 18px 4px;max-height:60vh;overflow:auto}
.fr-list{list-style:none;margin:0 0 10px;padding:0;display:grid;gap:8px}
.fr-row,.fr-invite{display:flex;flex-wrap:wrap;align-items:center;gap:10px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);border-radius:12px;padding:10px 12px}
.fr-invite{border-color:rgba(94,234,212,.45);background:rgba(94,234,212,.08);justify-content:space-between}
.fr-av{position:relative;width:38px;height:38px;flex:0 0 38px;border-radius:50%;background:#26354a;display:grid;place-items:center;font-weight:800;font-size:.85rem;color:#dbe7f5}
.fr-dot{position:absolute;right:-1px;bottom:-1px;width:12px;height:12px;border-radius:50%;background:#64748b;border:2px solid #121a24}
.fr-row.is-online .fr-dot{background:#2de2e6}
.fr-who{display:grid;flex:1;min-width:120px}
.fr-who small{color:#9fb0c3}
.fr-row.is-online .fr-who small{color:#2de2e6}
.fr-acts{display:flex;gap:6px;flex-wrap:wrap}
.fr-more{display:flex;gap:6px;width:100%;justify-content:flex-end}
.fr-more[hidden]{display:none}
.fr-btn{padding:7px 12px;border-radius:9px;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.06);color:inherit;font-weight:700;cursor:pointer}
.fr-primary{background:#14b8a6;border-color:#14b8a6;color:#04211d}
.fr-add .fr-primary{padding:10px 16px;border-radius:10px;font-weight:800;border:0;cursor:pointer}
.fr-ghost{background:none}
.fr-danger{color:#fca5a5;border-color:rgba(252,165,165,.45)}
.fr-btn:disabled{opacity:.5;cursor:default}
.fr-h3{margin:8px 0 6px;font-size:.92rem;color:#9fb0c3;text-transform:uppercase;letter-spacing:.04em}
.fr-empty,.fr-note{color:#9fb0c3;margin:6px 0 10px}
.fr-msg{min-height:1.2em;margin:0;padding:4px 18px 14px;color:#2de2e6}
.fr-msg.is-bad{color:#fca5a5}
.fr-toggle{display:flex;gap:12px;align-items:flex-start;padding:12px;border-radius:12px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);margin-bottom:8px;cursor:pointer}
.fr-toggle input{width:20px;height:20px;margin-top:2px;accent-color:#14b8a6}
.fr-toggle span{display:grid}
.fr-toggle small{color:#9fb0c3}
.fr-pop{position:fixed;z-index:2147483000;right:16px;bottom:16px;max-width:420px;width:calc(100vw - 32px);display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:12px 14px;border-radius:14px;
  background:#0f1f26;border:1px solid rgba(94,234,212,.6);color:#e9eef5;box-shadow:0 12px 40px rgba(0,0,0,.55);animation:fr-in .25s ease-out}
.fr-pop .fr-acts{margin-left:auto}
@keyframes fr-in{from{transform:translateY(20px);opacity:0}to{transform:none;opacity:1}}
.fr-toast{position:fixed;z-index:2147483001;left:50%;bottom:24px;transform:translateX(-50%);background:#0b1118;border:1px solid rgba(255,255,255,.2);color:#fff;padding:10px 16px;border-radius:10px}
@media (max-width:1700px){.fr-chip .fr-label{display:none}.fr-chip{padding:6px 10px}}
@media (max-width:700px){
  .fr-tab{padding:8px 7px}
  .fr-chip .fr-label{display:none}
  .fr-chip{padding:6px 9px}
  .fr-dialog{width:100vw;max-width:100vw;max-height:100dvh;height:100dvh;border-radius:0;margin:0}
  .fr-body{max-height:none;flex:1}
  .fr-pop{left:8px;right:8px;bottom:8px;width:auto;max-width:none}
  .fr-acts .fr-btn{padding:8px 12px}
}
