:root{--fm-bg:#f6f7fb;--fm-card:#fff;--fm-border:#e5e7eb;--fm-text:#111827;--fm-muted:#6b7280;--fm-accent:#111827;--fm-radius:18px;--fm-shadow:0 10px 30px rgba(17,24,39,.08)}
.fm-wrap,.fm-app{color:var(--fm-text)}
.fm-wrap h1,.fm-app h2{font-weight:800;letter-spacing:-.03em}.fm-app{max-width:1180px;margin:24px auto;padding:0 14px}.fm-hero,.fm-panel,.fm-box,.fm-tile,.fm-card{background:var(--fm-card);border:1px solid var(--fm-border);border-radius:var(--fm-radius);box-shadow:var(--fm-shadow)}
.fm-hero{padding:32px;margin-bottom:18px;background:linear-gradient(135deg,#ffffff,#f3f4f6)}.fm-hero h2{margin:0 0 6px;font-size:34px}.fm-hero p{margin:0;color:var(--fm-muted)}
.fm-grid{display:grid;gap:16px}.fm-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.fm-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.fm-grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}.fm-cards{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));margin:18px 0}.fm-card{padding:22px}.fm-card span{display:block;color:var(--fm-muted);font-size:13px}.fm-card strong{font-size:34px;line-height:1.1}.fm-panel{padding:20px;margin:18px 0}.fm-form label{display:block;font-weight:700;font-size:13px;margin-bottom:12px}.fm-form input,.fm-form select,.fm-form textarea{width:100%;max-width:100%;margin-top:6px;border:1px solid var(--fm-border);border-radius:12px;padding:10px 12px;background:#fff}.fm-form textarea{font-family:ui-monospace,Consolas,monospace}.fm-tile{display:flex;align-items:center;justify-content:center;text-decoration:none;color:var(--fm-text);min-height:110px;font-weight:800;font-size:18px;transition:.15s}.fm-tile:hover{transform:translateY(-2px);border-color:var(--fm-accent);color:var(--fm-accent)}.fm-roster{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.fm-roster section{background:#fff;border:1px solid var(--fm-border);border-radius:18px;padding:16px}.fm-roster h3{margin:0 0 12px}.fm-player{display:flex;flex-direction:column;gap:2px;padding:10px 0;border-bottom:1px solid #f1f1f1}.fm-player:last-child{border-bottom:0}.fm-player strong{font-size:14px}.fm-player span{font-size:12px;color:var(--fm-muted)}.fm-player.small{padding:7px 0}.fm-countdown{display:inline-flex;gap:8px;align-items:center;background:var(--fm-accent);color:#fff;border-radius:999px;padding:10px 14px;margin:0 0 16px;font-weight:700}.fm-submit,.button.button-primary{border:0!important;border-radius:12px!important;background:var(--fm-accent)!important;color:#fff!important;padding:10px 18px!important;font-weight:800!important;cursor:pointer}.fm-box{padding:18px;margin:18px 0}.fm-box.danger{border-color:#fecaca;background:#fff1f2;color:#991b1b}.fm-versus{display:flex;align-items:center;justify-content:center;gap:18px;background:var(--fm-accent);color:#fff;border-radius:20px;padding:20px;font-size:22px;margin:18px 0}.fm-versus span{font-size:13px;color:#d1d5db}.widefat th{font-weight:800!important}
@media(max-width:900px){.fm-grid.two,.fm-grid.three,.fm-grid.four,.fm-roster{grid-template-columns:1fr}.fm-hero h2{font-size:26px}.fm-versus{font-size:18px;flex-direction:column;gap:8px}}

.fm-front-nav{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 22px;padding:10px;background:#fff;border:1px solid var(--fm-border);border-radius:18px;box-shadow:var(--fm-shadow)}
.fm-front-nav .fm-nav-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none!important;color:var(--fm-text)!important;background:#f9fafb;border:1px solid var(--fm-border);border-radius:999px;padding:10px 16px;font-weight:800;line-height:1.1;transition:.15s}
.fm-front-nav .fm-nav-btn:hover{transform:translateY(-1px);border-color:var(--fm-accent);background:#fff}
.fm-front-nav .fm-nav-btn.active{background:var(--fm-accent);color:#fff!important;border-color:var(--fm-accent)}
.fm-block-card{width:100%;text-align:left;background:#f9fafb;border:1px solid var(--fm-border);border-radius:14px;padding:12px 13px;margin:0 0 10px;cursor:pointer;display:flex;flex-direction:column;gap:3px;transition:.15s;color:var(--fm-text)}
.fm-block-card:hover{background:#fff;transform:translateY(-1px);border-color:var(--fm-accent)}
.fm-block-card strong{font-size:14px}.fm-block-card span{font-size:12px;color:var(--fm-muted)}.fm-block-card em{font-style:normal;font-size:11px;font-weight:800;color:var(--fm-accent);margin-top:3px}
.fm-modal{display:none;position:fixed;inset:0;z-index:99999;align-items:center;justify-content:center;padding:20px}.fm-modal.is-open{display:flex}.fm-modal-backdrop{position:absolute;inset:0;background:rgba(17,24,39,.55);backdrop-filter:blur(2px)}.fm-modal-dialog{position:relative;z-index:1;width:min(560px,94vw);max-height:82vh;overflow:auto;background:#fff;border-radius:22px;border:1px solid var(--fm-border);box-shadow:0 24px 70px rgba(17,24,39,.24);padding:24px}.fm-modal-dialog h3{margin:0 38px 6px 0;font-size:26px;letter-spacing:-.03em}.fm-modal-dialog p{margin:0 0 14px;color:var(--fm-muted)}.fm-modal-close{position:absolute;right:16px;top:14px;width:34px;height:34px;border:0;border-radius:999px;background:#f3f4f6;color:var(--fm-accent);font-size:24px;line-height:1;cursor:pointer}.fm-modal-list{border-top:1px solid var(--fm-border);padding-top:6px}
@media(max-width:700px){.fm-front-nav{gap:8px}.fm-front-nav .fm-nav-btn{width:100%;justify-content:center}.fm-modal-dialog{padding:20px}.fm-modal-dialog h3{font-size:22px}}

.fm-admin-head{display:flex;align-items:center;justify-content:space-between;gap:16px;background:linear-gradient(135deg,#fff,#f8fafc);border:1px solid var(--fm-border);border-radius:20px;box-shadow:var(--fm-shadow);padding:22px 24px;margin:16px 0 18px}
.fm-admin-head h2{margin:0;font-size:26px;letter-spacing:-.03em}.fm-admin-head p{margin:6px 0 0;color:var(--fm-muted)}
.fm-team-form h2,.fm-table-title h2{margin-top:0}.fm-table-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.fm-table-title span{display:inline-flex;align-items:center;border:1px solid var(--fm-border);background:#f9fafb;border-radius:999px;padding:7px 12px;color:var(--fm-muted);font-weight:800;font-size:12px}
.fm-pro-table{border-radius:14px;overflow:hidden;border:1px solid var(--fm-border)!important}.fm-pro-table th{background:#f9fafb!important;color:var(--fm-accent)!important;padding:14px 12px!important}.fm-pro-table td{vertical-align:middle!important;padding:13px 12px!important}.fm-badge{display:inline-flex;align-items:center;border-radius:999px;background:#eef2ff;color:var(--fm-accent);font-weight:800;font-size:12px;padding:6px 10px}.fm-actions{white-space:nowrap}.fm-danger-btn{border-color:#fecaca!important;color:#991b1b!important;background:#fff1f2!important}.fm-danger-btn:hover{background:#ffe4e6!important;color:#7f1d1d!important}
@media(max-width:900px){.fm-admin-head{align-items:flex-start;flex-direction:column}.fm-pro-table{display:block;overflow-x:auto}.fm-table-title{align-items:flex-start;flex-direction:column}}
.fm-team-link{font-weight:800;text-decoration:none!important;color:var(--fm-accent)!important}.fm-team-link:hover{text-decoration:underline!important}.fm-pro-table .button{border-radius:10px!important;font-weight:800!important}.fm-modal .fm-player.small strong{font-size:14px}.fm-modal .fm-player.small span{line-height:1.35}
.fm-grid.five{grid-template-columns:repeat(5,minmax(0,1fr))}
.fm-modal-dialog.fm-modal-wide{width:min(980px,96vw)}
.fm-modal-dialog h4{margin:18px 0 8px;font-size:16px;letter-spacing:-.01em}
.fm-modal-wide .fm-modal-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px;border-top:1px solid var(--fm-border);padding-top:10px}
.fm-modal-wide .fm-block-card{cursor:default;margin:0}.fm-modal-wide .fm-block-card span{display:block;padding-top:3px}
@media(max-width:1100px){.fm-grid.five{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.fm-grid.five{grid-template-columns:1fr}}

.fm-actions-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:12px}.fm-auction-hero{display:flex;align-items:center;justify-content:space-between;gap:18px;background:linear-gradient(135deg,var(--fm-accent),#1f2937);color:#fff;border-radius:22px;padding:24px;margin:22px 0;box-shadow:0 18px 45px rgba(15,23,42,.2)}.fm-auction-hero h3{color:#fff;margin:0 0 8px;font-size:28px}.fm-auction-hero p{margin:0;line-height:1.5;color:#e5e7eb}.fm-draw-btn{border:0;border-radius:18px;background:#fff;color:var(--fm-accent);font-weight:800;font-size:18px;padding:18px 26px;cursor:pointer;box-shadow:0 12px 28px rgba(0,0,0,.22)}.fm-draw-board{border:2px solid var(--fm-accent);border-radius:24px;background:#fff;padding:30px;margin:20px 0;text-align:center;box-shadow:0 18px 50px rgba(15,23,42,.12)}.fm-draw-board span{display:inline-block;text-transform:uppercase;letter-spacing:.08em;font-size:12px;font-weight:800;color:#6b7280;margin-bottom:10px}.fm-draw-board strong{display:block;font-size:34px;line-height:1.15;color:var(--fm-accent);margin:6px 0}.fm-draw-board em{display:block;font-style:normal;color:#374151;font-weight:700}.fm-auction-assign{border:2px solid #e5e7eb}.fm-box.success{border-color:#bbf7d0;background:#f0fdf4;color:#166534}@media(max-width:780px){.fm-auction-hero{display:block}.fm-draw-btn{width:100%;margin-top:18px}.fm-draw-board strong{font-size:24px}}

/* v1.0.16 - FantaAsta Live */
.fm-auction-counter{margin-top:10px;padding:8px 12px;border-radius:12px;background:rgba(255,255,255,.12);display:inline-block}
.fm-live-draw-card{margin:22px 0;padding:28px;border:2px solid var(--fm-accent);border-radius:22px;background:#fff;text-align:center;box-shadow:0 16px 35px rgba(15,23,42,.08)}
.fm-live-draw-card span{display:block;text-transform:uppercase;letter-spacing:.08em;color:#64748b;font-weight:800;font-size:12px;margin-bottom:10px}
.fm-live-draw-card strong{display:block;font-size:clamp(28px,4vw,48px);line-height:1.1;color:#0f172a;margin-bottom:10px}
.fm-live-draw-card em{font-style:normal;font-weight:800;color:var(--fm-accent)}
.fm-submit.secondary{background:#334155;color:#fff}
.fm-badges{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 12px}
.fm-badges span{background:#eef2ff;color:#1e293b;border:1px solid #c7d2fe;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:800}
.fm-link-button{border:0;background:transparent;color:var(--fm-accent);font:inherit;font-weight:800;cursor:pointer;padding:0;text-align:left;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}.fm-link-button:hover{color:#2563eb}.fm-auction-team-modal-total{margin-top:14px}

/* v1.0.22 - FantaAsta proiezione e refresh fluido */
.fm-auction-live-app{scroll-margin-top:24px}
.fm-auction-updating .fm-live-draw-card{opacity:.88;filter:saturate(.92)}
.fm-auction-updating .fm-submit,.fm-auction-updating .fm-draw-btn{cursor:wait;opacity:.72}
.fm-live-draw-stage{padding:44px 28px;border-width:3px;border-radius:28px;background:linear-gradient(180deg,#ffffff,#f8fafc)}
.fm-live-draw-stage span{font-size:clamp(18px,1.8vw,28px);letter-spacing:.08em;margin-bottom:16px;color:#475569;font-weight:900;text-transform:uppercase}
.fm-live-draw-stage strong{font-size:clamp(72px,9vw,128px);line-height:.95;letter-spacing:-.06em;color:#0b1220;text-wrap:balance;max-width:1100px;margin:0 auto 8px;text-transform:uppercase}
.fm-live-draw-stage b{display:block;font-size:clamp(34px,4vw,64px);line-height:1.05;color:#1e293b;margin:0 auto 18px;font-weight:900;text-transform:uppercase}
.fm-live-draw-stage em{display:block;font-size:clamp(18px,2.1vw,30px);color:var(--fm-accent);margin-top:8px}
.fm-live-draw-pulse{animation:fmDrawPulse .38s ease-out}
@keyframes fmDrawPulse{0%{transform:scale(.985);box-shadow:0 0 0 rgba(15,23,42,0)}60%{transform:scale(1.006);box-shadow:0 24px 70px rgba(15,23,42,.20)}100%{transform:scale(1);box-shadow:0 16px 35px rgba(15,23,42,.08)}}
.fm-draw-btn.is-loading,.fm-submit.is-loading{position:relative;pointer-events:none}
.fm-auction-inline-error{position:relative;z-index:2}
@media(min-width:1200px){.fm-live-draw-stage{min-height:260px;display:flex;flex-direction:column;align-items:center;justify-content:center}}
@media(max-width:780px){.fm-live-draw-stage strong{font-size:clamp(40px,12vw,72px)}.fm-live-draw-stage b{font-size:clamp(22px,7vw,40px)}.fm-live-draw-stage{padding:32px 18px}}

/* v1.0.28 - FantaAsta live action layout */
.fm-auction-action-panel{padding:24px;margin-top:22px}
.fm-auction-action-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:16px}
.fm-auction-action-head h3{margin:0;font-size:clamp(24px,2.2vw,34px)}
.fm-auction-action-head p{margin:0;color:var(--fm-muted);max-width:560px;font-size:14px;line-height:1.45}
.fm-auction-action-grid{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:18px;align-items:end}
.fm-auction-assign-form{display:grid;grid-template-columns:minmax(420px,1.9fr) minmax(150px,.55fr) auto;gap:14px;align-items:end}
.fm-auction-team-field select{min-height:52px;font-size:16px;font-weight:800;white-space:normal}
.fm-auction-credit-field input{min-height:52px;font-size:20px;font-weight:900}
.fm-auction-action-buttons{display:flex;align-items:end}
.fm-auction-action-buttons .fm-submit,.fm-auction-unsold-inline .fm-submit{min-height:52px;white-space:nowrap}
.fm-auction-unsold-inline{display:flex;flex-direction:column;gap:8px;align-items:flex-start;justify-content:flex-end;border-left:1px solid var(--fm-border);padding-left:18px}
.fm-auction-unsold-inline small{display:block;color:var(--fm-muted);line-height:1.35;font-weight:600}
@media(max-width:980px){.fm-auction-action-grid,.fm-auction-assign-form{grid-template-columns:1fr}.fm-auction-unsold-inline{border-left:0;border-top:1px solid var(--fm-border);padding-left:0;padding-top:14px}.fm-auction-action-head{display:block}.fm-auction-action-head p{margin-top:8px}.fm-auction-team-field select{min-height:48px}}




.fm-table-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch}
.fm-auction-credit-table{width:100%;min-width:1080px;table-layout:auto;font-size:14px}
.fm-auction-credit-table th,.fm-auction-credit-table td{vertical-align:middle!important;text-align:center;padding:12px 10px!important;white-space:nowrap}
.fm-auction-credit-table thead th{font-size:13px;text-transform:uppercase;letter-spacing:.04em}
.fm-auction-credit-table th[rowspan="2"]{background:#f8fafc!important}
.fm-auction-credit-table td:first-child,.fm-auction-credit-table th:first-child{text-align:left}
.fm-auction-credit-table td:nth-child(2),.fm-auction-credit-table th:nth-child(2){text-align:left;min-width:240px}
.fm-auction-credit-table td:nth-child(1),.fm-auction-credit-table th:nth-child(1){min-width:160px}
.fm-auction-credit-table td:nth-child(3),.fm-auction-credit-table th:nth-child(3){min-width:150px}
.fm-auction-credit-table td:nth-child(4),.fm-auction-credit-table td:nth-child(5),.fm-auction-credit-table td:nth-child(6),.fm-auction-credit-table td:nth-child(7),.fm-auction-credit-table th:nth-child(4),.fm-auction-credit-table th:nth-child(5),.fm-auction-credit-table th:nth-child(6),.fm-auction-credit-table th:nth-child(7){min-width:110px}
.fm-auction-credit-table td:nth-child(8),.fm-auction-credit-table td:nth-child(9),.fm-auction-credit-table th:nth-child(8),.fm-auction-credit-table th:nth-child(9){min-width:86px}
.fm-team-name{font-size:18px;font-weight:800;color:#0f172a}
.fm-summary-link{display:inline-flex;align-items:center;justify-content:flex-start;max-width:100%;white-space:normal;line-height:1.35;padding:9px 12px;border:1px solid #dbe4ef;border-radius:12px;background:#f8fafc;text-decoration:none!important;color:#0f172a!important;font-weight:800;text-align:left}
.fm-slot-chip{display:inline-flex;align-items:center;justify-content:center;min-width:90px;min-height:38px;padding:8px 14px;border:1px solid #dbe4ef;border-radius:999px;background:#fff;text-decoration:none!important;color:#0f172a!important;font-weight:800;line-height:1.15;white-space:nowrap}
.fm-slot-chip:hover,.fm-summary-link:hover{border-color:var(--fm-accent);box-shadow:0 0 0 3px rgba(37,99,235,.08)}
.fm-slot-chip.is-empty{color:#94a3b8!important;background:#f8fafc}
.fm-money-pill{display:inline-flex;align-items:center;justify-content:center;min-width:62px;padding:7px 10px;border-radius:999px;background:#eff6ff;color:#1d4ed8;font-weight:900}
.fm-money-pill.is-residual{background:#ecfdf5;color:#047857}
@media(max-width:1100px){.fm-auction-credit-table{font-size:13px}.fm-auction-credit-table th,.fm-auction-credit-table td{padding:10px 8px!important}.fm-team-name{font-size:16px}}


/* v1.0.32 - FantaAsta: crediti live a tutta pagina, più compatto */
.fm-auction-credit-panel{
  width:calc(100vw - 40px);
  max-width:none;
  margin-left:calc(50% - 50vw + 20px);
  margin-right:calc(50% - 50vw + 20px);
}
.fm-auction-credit-panel .fm-table-title{
  padding:0 4px 12px;
}
.fm-auction-credit-panel .fm-table-scroll{
  overflow-x:auto;
  width:100%;
}
.fm-auction-credit-panel .fm-auction-credit-table{
  min-width:1040px;
  font-size:13px;
}
.fm-auction-credit-panel .fm-auction-credit-table th,
.fm-auction-credit-panel .fm-auction-credit-table td{
  padding:9px 8px!important;
}
.fm-auction-credit-panel .fm-team-name{
  font-size:15px;
}
.fm-auction-credit-panel .fm-summary-link{
  font-size:13px;
  padding:7px 9px;
  border-radius:10px;
}
.fm-auction-credit-panel .fm-slot-chip{
  min-width:76px;
  min-height:32px;
  padding:6px 10px;
  font-size:13px;
}
.fm-auction-credit-panel .fm-money-pill{
  min-width:54px;
  padding:6px 8px;
  font-size:13px;
}
@media(max-width:900px){
  .fm-auction-credit-panel{
    width:calc(100vw - 20px);
    margin-left:calc(50% - 50vw + 10px);
    margin-right:calc(50% - 50vw + 10px);
  }
  .fm-auction-credit-panel .fm-auction-credit-table{
    font-size:12px;
  }
}


/* v1.0.33 - asta action panel allineato + alert inline */
.fm-inline-alert{margin:0 0 14px!important;padding:14px 16px!important;font-weight:800}
.fm-inline-alert.success{border-color:#bbf7d0;background:#f0fdf4;color:#166534}
.fm-auction-action-panel{padding:22px 24px}
.fm-auction-action-head{display:block!important;margin-bottom:12px}
.fm-auction-action-head h3{margin:0;font-size:clamp(24px,2.2vw,34px)}
.fm-auction-action-grid{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:18px;align-items:stretch}
.fm-auction-assign-form{display:grid;grid-template-columns:minmax(0,1.6fr) 150px 170px;gap:14px;align-items:end}
.fm-auction-team-field,.fm-auction-credit-field,.fm-auction-action-buttons{margin:0!important}
.fm-auction-action-buttons{display:flex;align-items:end}
.fm-auction-action-buttons .fm-submit{width:100%;min-height:54px}
.fm-auction-team-field select{min-height:54px}
.fm-auction-credit-field input{min-height:54px}
.fm-auction-unsold-inline{display:flex;flex-direction:column;justify-content:center;align-items:stretch;border-left:1px solid var(--fm-border);padding-left:18px;gap:10px;height:100%}
.fm-auction-unsold-inline .fm-submit{min-height:54px;width:100%}
.fm-auction-unsold-inline small{display:block;color:var(--fm-muted);line-height:1.35;font-weight:700;margin:0}
@media(max-width:1080px){
  .fm-auction-action-grid{grid-template-columns:1fr}
  .fm-auction-assign-form{grid-template-columns:1fr 150px 170px}
  .fm-auction-unsold-inline{border-left:0;border-top:1px solid var(--fm-border);padding-left:0;padding-top:14px}
}
@media(max-width:760px){
  .fm-auction-assign-form{grid-template-columns:1fr}
}

/* v1.0.34 - Rose backend schema + role colors */
.fm-roster-schema-panel{padding:24px!important}
.fm-role-legend{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0 22px}
.fm-legend{display:inline-flex;align-items:center;border-radius:999px;padding:7px 12px;font-size:12px;font-weight:900;border:1px solid rgba(15,23,42,.08)}
.fm-roster-schema-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(360px,1fr));gap:18px;align-items:start}
.fm-roster-schema-card{background:#fff;border:1px solid #e2e8f0;border-radius:22px;box-shadow:0 12px 34px rgba(15,23,42,.07);overflow:hidden}
.fm-roster-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:18px 18px 14px;background:linear-gradient(135deg,#0f172a,#1e293b);color:#fff}
.fm-roster-card-head h3{margin:0!important;color:#fff!important;font-size:23px;line-height:1.1;font-weight:900;text-transform:uppercase;letter-spacing:-.02em}
.fm-roster-card-head p{margin:6px 0 0;color:#cbd5e1;font-size:12px;font-weight:700}
.fm-roster-card-head span{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.18);border-radius:999px;padding:6px 10px;font-size:12px;font-weight:800;color:#fff;max-width:140px;text-align:right}
.fm-roster-section{padding:14px 16px;border-top:1px solid #eef2f7}
.fm-roster-section h4{margin:0 0 10px!important;font-size:14px;text-transform:uppercase;letter-spacing:.08em;color:#334155;font-weight:900}
.fm-empty{margin:0;color:#94a3b8;font-size:13px;font-weight:700}
.fm-roster-token{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;margin:7px 0;padding:10px 38px 10px 12px;border-radius:14px;border:1px solid #e2e8f0;background:#f8fafc;transition:.14s ease;overflow:hidden}
.fm-roster-token:before{content:'';position:absolute;left:0;top:0;bottom:0;width:6px;background:#94a3b8}
.fm-roster-token:hover{transform:translateY(-1px);box-shadow:0 10px 22px rgba(15,23,42,.08);border-color:#cbd5e1}
.fm-roster-token strong{display:block;color:#0f172a;font-weight:900;font-size:14px;line-height:1.15;text-transform:uppercase;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fm-roster-token span{display:block;color:#64748b;font-size:12px;font-weight:700;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fm-roster-block{border-style:dashed;background:#fff}
.fm-token-price{display:inline-flex;align-items:center;justify-content:center;min-width:30px;height:30px;border-radius:999px;background:#0f172a;color:#fff;font-style:normal;font-size:12px;font-weight:900}
.fm-token-delete{position:absolute;right:8px;top:50%;transform:translateY(-50%);opacity:0;pointer-events:none;transition:.12s ease;margin:0!important}
.fm-roster-token:hover .fm-token-delete{opacity:1;pointer-events:auto}
.fm-token-delete button{width:26px;height:26px;border:0;border-radius:999px;background:#ef4444;color:#fff;font-weight:900;cursor:pointer;line-height:1;font-size:16px}
.fm-token-delete button:hover{background:#b91c1c}
.fm-role-P{background:#fff7ed!important;border-color:#fed7aa!important}.fm-role-P:before,.fm-legend.fm-role-P{background:#f97316!important;color:#7c2d12!important;border-color:#fdba74!important}
.fm-role-D{background:#eff6ff!important;border-color:#bfdbfe!important}.fm-role-D:before,.fm-legend.fm-role-D{background:#2563eb!important;color:#fff!important;border-color:#2563eb!important}
.fm-role-C{background:#f0fdf4!important;border-color:#bbf7d0!important}.fm-role-C:before,.fm-legend.fm-role-C{background:#16a34a!important;color:#fff!important;border-color:#16a34a!important}
.fm-role-A{background:#fff1f2!important;border-color:#fecdd3!important}.fm-role-A:before,.fm-legend.fm-role-A{background:#e11d48!important;color:#fff!important;border-color:#e11d48!important}
.fm-block-b{box-shadow:inset 0 0 0 2px rgba(124,58,237,.16)}.fm-legend.fm-block-b{background:#ede9fe!important;color:#5b21b6!important;border-color:#c4b5fd!important}
@media(max-width:780px){.fm-roster-schema-grid{grid-template-columns:1fr}.fm-roster-card-head{display:block}.fm-roster-card-head span{display:inline-flex;margin-top:10px;max-width:none}.fm-roster-token strong{white-space:normal}}


/* v1.0.42 - FantaAsta Live: colori lievi per ruolo/blocco */
.fm-live-draw-stage{
  position:relative;
  overflow:hidden;
  border-color:var(--fm-draw-border, var(--fm-accent))!important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.92), rgba(248,250,252,.96)),
    var(--fm-draw-bg, #fff)!important;
}
.fm-live-draw-stage:before{
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:10px;
  background:var(--fm-draw-border, var(--fm-accent));
  opacity:.9;
}
.fm-live-draw-stage span{
  color:var(--fm-draw-text, #475569)!important;
}
.fm-live-draw-stage strong{
  color:#0b1220!important;
}
.fm-live-draw-stage b,
.fm-live-draw-stage em{
  color:#fff!important;
}
.fm-live-draw-stage.fm-role-p{
  --fm-draw-border:#f59e0b;
  --fm-draw-bg:linear-gradient(135deg,#fff7ed,#ffffff);
  --fm-draw-text:#b45309;
}
.fm-live-draw-stage.fm-role-d{
  --fm-draw-border:#2563eb;
  --fm-draw-bg:linear-gradient(135deg,#eff6ff,#ffffff);
  --fm-draw-text:#1d4ed8;
}
.fm-live-draw-stage.fm-role-c{
  --fm-draw-border:#16a34a;
  --fm-draw-bg:linear-gradient(135deg,#ecfdf5,#ffffff);
  --fm-draw-text:#047857;
}
.fm-live-draw-stage.fm-role-a{
  --fm-draw-border:#dc2626;
  --fm-draw-bg:linear-gradient(135deg,#fef2f2,#ffffff);
  --fm-draw-text:#b91c1c;
}
.fm-live-draw-stage.fm-block-b{
  box-shadow:0 18px 45px rgba(15,23,42,.10), inset 0 0 0 1px rgba(15,23,42,.02);
}
.fm-live-draw-stage.fm-block-b:after{
  content:"SERIE B";
  position:absolute;
  top:18px;
  right:22px;
  border:1px solid var(--fm-draw-border, var(--fm-accent));
  color:var(--fm-draw-text, var(--fm-accent));
  background:#fff;
  border-radius:999px;
  padding:6px 10px;
  font-size:12px;
  font-weight:900;
  letter-spacing:.08em;
}
@media(max-width:780px){
  .fm-live-draw-stage.fm-block-b:after{
    top:10px;
    right:12px;
    font-size:10px;
    padding:5px 8px;
  }
}


/* v1.0.43 - hook visivi espliciti per calciatore singolo/blocco nella FantaAsta Live */
.fm-live-draw-stage.fm-draw-player{
  border-style:solid!important;
}
.fm-live-draw-stage.fm-draw-block{
  border-style:dashed!important;
}


/* v1.0.44 - badge BLOCCO emesso in HTML, non via ::before */
.fm-draw-type-badge{
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  width:max-content;
  margin:0 auto 12px!important;
  padding:6px 12px;
  border-radius:999px;
  border:1px solid var(--fm-draw-border, var(--fm-accent));
  background:#fff;
  color:var(--fm-draw-text, var(--fm-accent))!important;
  font-size:12px!important;
  line-height:1!important;
  letter-spacing:.08em!important;
  font-weight:900!important;
}


/* v1.0.47 - Controllo rose definitive */
.fm-final-check-panel{margin-top:22px}
.fm-final-check-table{min-width:1180px}
.fm-final-check-table th,.fm-final-check-table td{vertical-align:middle!important;text-align:center;padding:11px 9px!important}
.fm-final-check-table th:first-child,.fm-final-check-table td:first-child{text-align:left;min-width:180px}
.fm-check-badge{display:inline-flex;align-items:center;justify-content:center;min-width:74px;padding:7px 10px;border-radius:999px;font-weight:900;font-size:12px;line-height:1.1}
.fm-check-badge.ok{background:#ecfdf5;color:#047857;border:1px solid #bbf7d0}
.fm-check-badge.warn{background:#fff7ed;color:#c2410c;border:1px solid #fed7aa}
.fm-final-state{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:8px 12px;font-weight:900;font-size:12px;letter-spacing:.04em}
.fm-final-state.ok{background:#dcfce7;color:#166534}
.fm-final-state.warn{background:#fee2e2;color:#991b1b}
.fm-money-pill.is-danger{background:#fee2e2;color:#991b1b}

/* v1.0.50 - reset sicuro rose/calendari */
.fm-danger-zone{border-color:#fecaca!important;background:#fff7f7!important}
.fm-danger-zone h2{color:#991b1b}
.fm-danger-zone .description{color:#7f1d1d}


/* v1.0.53 - UX impostazioni ASTA */
.fm-auction-rules-summary{display:flex;justify-content:space-between;gap:18px;align-items:flex-start}
.fm-auction-rules-summary h2{margin-top:0}
.fm-rule-chips,.fm-session-rule-row{display:flex;flex-wrap:wrap;gap:8px}
.fm-rule-chips span,.fm-session-rule-row span{display:inline-flex;align-items:center;gap:5px;border:1px solid #e5e7eb;background:#f9fafb;border-radius:999px;padding:8px 12px;font-size:13px}
.fm-rule-chips strong,.fm-session-rule-row strong{color:#111827}
.fm-compact-selector{border-left:4px solid var(--fm-accent,#111827)}
@media (max-width: 900px){.fm-auction-rules-summary{display:block}.fm-rule-chips{margin-top:12px}}


/* v1.0.54 - FantaAsta spettatore e rosa personale live */
.fm-spectator-note{border-left:4px solid var(--fm-accent,#111827)}
.fm-personal-live-roster .fm-table-title h3{margin:0}
.fm-personal-credit-row{display:flex;gap:10px;flex-wrap:wrap;margin:10px 0 16px}
.fm-personal-credit-row span{display:inline-flex;gap:6px;align-items:center;background:#f9fafb;border:1px solid #e5e7eb;border-radius:999px;padding:8px 12px}
.fm-live-roster-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.fm-live-roster-grid section{background:#f9fafb;border:1px solid #e5e7eb;border-radius:16px;padding:12px}
.fm-live-roster-grid h4{margin:0 0 10px;font-size:13px;text-transform:uppercase;letter-spacing:.04em}
.fm-live-roster-wide{grid-column:1/-1}
.fm-live-roster-token{position:relative;display:flex;align-items:center;justify-content:space-between;gap:10px;border-radius:14px;border:1px solid var(--fm-draw-border,#d1d5db);background:#fff;padding:9px 10px;margin:7px 0;color:var(--fm-draw-text,#111827)}
.fm-live-roster-token strong{font-size:13px}
.fm-live-roster-token span{font-size:12px;color:#6b7280}
.fm-live-roster-token em{font-style:normal;font-weight:900;background:#111827;color:#fff;border-radius:999px;padding:3px 7px;font-size:11px}
@media (max-width:800px){.fm-live-roster-grid{grid-template-columns:1fr}}


/* v1.0.56 - layout spettatore live */
.fm-spectator-side-grid{align-items:start;margin-bottom:16px}
.fm-spectator-roster-panel{margin-top:0}
.fm-spectator-roster-header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:8px}
.fm-spectator-roster-header h3{margin:0}
.fm-spectator-roster-meta{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:16px}
.fm-spectator-roster-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.fm-spectator-role-card{background:#f8fafc;border:1px solid #e5e7eb;border-radius:18px;padding:14px;min-width:0}
.fm-spectator-role-head{margin-bottom:10px}
.fm-spectator-role-head h4{margin:0 0 2px;font-size:14px;letter-spacing:.06em;text-transform:uppercase}
.fm-spectator-role-head p{margin:0;font-size:12px;color:#64748b}
.fm-live-roster-token{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;margin:8px 0;padding:10px 12px;border:1px solid var(--fm-draw-border,#dbe3ef);background:var(--fm-draw-bg,#fff);color:var(--fm-draw-text,#111827);border-radius:14px;box-sizing:border-box;text-align:left}
button.fm-live-roster-token{cursor:pointer}
button.fm-live-roster-token:hover{transform:translateY(-1px);box-shadow:0 8px 18px rgba(15,23,42,.08)}
.fm-live-roster-token .fm-token-main{display:flex;flex-direction:column;min-width:0;flex:1}
.fm-live-roster-token strong{font-size:13px;line-height:1.25;white-space:normal;word-break:break-word}
.fm-live-roster-token .fm-token-meta{font-size:11px;color:#64748b;white-space:normal;word-break:break-word}
.fm-live-roster-token .fm-token-chip{font-style:normal;font-weight:800;background:#0f172a;color:#fff;border-radius:999px;padding:4px 8px;font-size:11px;line-height:1;flex:0 0 auto}
.fm-modal-list--compact{display:flex;flex-direction:column;gap:8px}
.fm-modal-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 10px;border:1px solid #e5e7eb;border-radius:12px;background:#f8fafc}
.fm-modal-row strong{font-size:13px}
.fm-modal-row span{font-size:12px;color:#64748b}
@media (max-width: 1180px){
  .fm-spectator-roster-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width: 720px){
  .fm-spectator-roster-grid{grid-template-columns:1fr}
}


/* v1.0.57 - fix spettatore live */
.fm-role-d{--fm-draw-border:#2563eb;--fm-draw-bg:#eff6ff;--fm-draw-text:#1d4ed8}
.fm-role-c{--fm-draw-border:#16a34a;--fm-draw-bg:#ecfdf5;--fm-draw-text:#047857}
.fm-role-a{--fm-draw-border:#dc2626;--fm-draw-bg:#fef2f2;--fm-draw-text:#b91c1c}
.fm-table-wrap{width:100%;overflow:auto}
.fm-table{width:100%;border-collapse:collapse;border:1px solid #e5e7eb;border-radius:14px;overflow:hidden}
.fm-table th{background:#f8fafc;color:#0f172a;font-weight:900}
.fm-table th,.fm-table td{padding:11px 12px;border-bottom:1px solid #e5e7eb;text-align:left;vertical-align:top}
.fm-table tr:last-child td{border-bottom:0}


/* v1.0.58 - spettatore live con slot numerati e layout full width */
.fm-auction-live-app{max-width:1480px}
.fm-spectator-roster-panel--wide{padding:22px 22px 24px}
.fm-spectator-roster-sub{margin:6px 0 0;color:#64748b;font-size:13px;font-weight:700}
.fm-spectator-roster-grid--slots{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.fm-spectator-role-card{display:flex;flex-direction:column;min-width:0}
.fm-spectator-role-card.fm-role-p{background:#fff7ed;border-color:#fed7aa}
.fm-spectator-role-card.fm-role-d{background:#eff6ff;border-color:#bfdbfe}
.fm-spectator-role-card.fm-role-c{background:#f0fdf4;border-color:#bbf7d0}
.fm-spectator-role-card.fm-role-a{background:#fff1f2;border-color:#fecdd3}
.fm-spectator-role-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding-bottom:8px;border-bottom:1px solid rgba(15,23,42,.08)}
.fm-spectator-role-head h4{margin:0;font-size:16px;letter-spacing:.08em;font-weight:900}
.fm-spectator-role-head p{margin:0;text-align:right;font-size:12px;line-height:1.35;color:#334155;font-weight:700}
.fm-spectator-role-head p strong{font-weight:900;color:#0f172a}
.fm-spectator-slots{display:flex;flex-direction:column;gap:8px;padding-top:10px}
.fm-spectator-slot{display:grid;grid-template-columns:34px minmax(0,1fr);gap:8px;align-items:stretch}
.fm-spectator-slot.is-required .fm-spectator-slot-index{background:#0f172a;color:#fff}
.fm-spectator-slot-index{display:flex;align-items:center;justify-content:center;border-radius:12px;border:1px solid #cbd5e1;background:#fff;color:#0f172a;font-size:12px;font-weight:900;line-height:1;min-height:66px}
.fm-spectator-slot-body{min-width:0}
.fm-live-roster-token{margin:0!important;min-height:66px}
.fm-live-roster-token.is-empty{border-style:dashed!important;border-color:#cbd5e1!important;background:rgba(255,255,255,.72)!important;color:#64748b!important}
.fm-live-roster-token.is-empty .fm-slot-type{background:#e2e8f0;color:#475569}
.fm-slot-type{display:inline-flex;align-items:center;justify-content:center;align-self:flex-start;padding:4px 8px;border-radius:999px;background:rgba(15,23,42,.08);font-size:10px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:inherit;flex:0 0 auto}
.fm-slot-empty-title{color:#94a3b8!important}
.fm-live-roster-token.is-block .fm-slot-type{background:rgba(124,58,237,.12);color:#6d28d9}
.fm-live-roster-token.fm-role-p .fm-slot-type{background:#ffedd5;color:#9a3412}
.fm-live-roster-token.fm-role-d .fm-slot-type{background:#dbeafe;color:#1d4ed8}
.fm-live-roster-token.fm-role-c .fm-slot-type{background:#dcfce7;color:#047857}
.fm-live-roster-token.fm-role-a .fm-slot-type{background:#ffe4e6;color:#be123c}
@media (max-width: 1320px){
  .fm-auction-live-app{max-width:100%;padding:0 12px}
  .fm-spectator-roster-grid--slots{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width: 760px){
  .fm-spectator-roster-grid--slots{grid-template-columns:1fr}
  .fm-spectator-role-head{display:block}
  .fm-spectator-role-head p{text-align:left;margin-top:6px}
}


/* v1.0.59 - raffinamento UX spettatore ASTA live */
.fm-spectator-roster-panel--wide{padding:18px 18px 20px}
.fm-spectator-roster-grid--slots{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;align-items:start}
.fm-spectator-role-card{padding:12px;border-radius:16px;min-width:0}
.fm-spectator-role-card.fm-role-p{background:#fff8f1;border-color:#fed7aa}
.fm-spectator-role-card.fm-role-d{background:#f5f9ff;border-color:#bfd7ff}
.fm-spectator-role-card.fm-role-c{background:#f3fcf6;border-color:#b7e9c6}
.fm-spectator-role-card.fm-role-a{background:#fff5f7;border-color:#ffc9d2}
.fm-spectator-role-head{padding-bottom:6px;gap:8px;align-items:flex-start}
.fm-spectator-role-title-wrap{min-width:0}
.fm-spectator-role-head h4{font-size:15px;line-height:1;margin:0 0 3px 0}
.fm-spectator-role-req{margin:0;font-size:11px;line-height:1.3;color:#475569;font-weight:700}
.fm-spectator-role-req strong{font-size:12px;font-weight:900;color:#0f172a}
.fm-spectator-role-stats{display:flex;align-items:center;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.fm-spectator-role-stats span{display:inline-flex;align-items:center;justify-content:center;padding:5px 8px;border-radius:999px;background:rgba(255,255,255,.85);border:1px solid rgba(15,23,42,.08);font-size:11px;line-height:1;font-weight:800;color:#0f172a;white-space:nowrap}
.fm-spectator-role-stats strong{font-weight:900}
.fm-spectator-slots{gap:6px;padding-top:8px}
.fm-spectator-slot{grid-template-columns:34px minmax(0,1fr);gap:8px}
.fm-spectator-slot-index{min-height:50px;border-radius:12px;font-size:11px;font-weight:900}
.fm-spectator-slot-index.is-marker{background:#0f172a;color:#fff;border-color:#0f172a;letter-spacing:.06em}
.fm-live-roster-token{min-height:50px!important;padding:7px 10px!important;border-radius:12px;gap:8px}
.fm-live-roster-token strong{font-size:12px!important;line-height:1.2}
.fm-live-roster-token .fm-token-meta{font-size:10.5px!important;line-height:1.2}
.fm-live-roster-token .fm-token-main{gap:2px}
.fm-slot-type{padding:3px 7px;font-size:9px;letter-spacing:.08em;margin-bottom:1px}
.fm-token-price{display:inline-flex;align-items:center;justify-content:center;min-width:30px;height:30px;border-radius:999px;background:#0f172a;color:#fff;font-size:12px;font-weight:900;line-height:1;flex:0 0 auto}
button.fm-live-roster-token .fm-token-price{pointer-events:none}
.fm-live-roster-token.is-empty .fm-token-price{display:none}
.fm-live-roster-token.is-empty strong{font-size:11px!important}
.fm-spectator-roster-sub{font-size:12px;font-weight:700}
@media (max-width: 1400px){
  .fm-spectator-roster-grid--slots{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width: 760px){
  .fm-spectator-roster-grid--slots{grid-template-columns:1fr}
  .fm-spectator-role-head{flex-direction:column}
  .fm-spectator-role-stats{justify-content:flex-start}
}


/* v1.0.60 - compattazione card rosa live spettatore */
.fm-spectator-role-head h4{font-size:14px}
.fm-spectator-role-req{font-size:10.5px;line-height:1.15;display:flex;align-items:center;gap:5px;flex-wrap:wrap}
.fm-spectator-role-req strong{font-size:11px}
.fm-min-badge,.fm-req-note{display:inline-flex;align-items:center;justify-content:center;padding:3px 7px;border-radius:999px;white-space:nowrap}
.fm-req-note{background:rgba(255,255,255,.7);border:1px solid rgba(15,23,42,.08);color:#334155;font-weight:800}
.fm-spectator-role-card.fm-role-p .fm-min-badge{background:#ffedd5;color:#9a3412;border:1px solid #fdba74}
.fm-spectator-role-card.fm-role-d .fm-min-badge{background:#dbeafe;color:#1d4ed8;border:1px solid #93c5fd}
.fm-spectator-role-card.fm-role-c .fm-min-badge{background:#dcfce7;color:#047857;border:1px solid #86efac}
.fm-spectator-role-card.fm-role-a .fm-min-badge{background:#ffe4e6;color:#be123c;border:1px solid #fda4af}
.fm-spectator-slot-index{min-height:44px;font-size:10.5px}
.fm-spectator-slot-index.is-marker{font-size:12px}
.fm-live-roster-token{min-height:44px!important;padding:6px 9px!important;border-radius:11px;gap:7px}
.fm-live-roster-token.is-filled:not(.is-block) .fm-token-main{display:flex!important;flex-direction:row!important;align-items:center;gap:7px;min-width:0;flex:1}
.fm-live-roster-token.is-filled:not(.is-block) .fm-slot-type{margin-bottom:0;flex:0 0 auto}
.fm-live-roster-token.is-filled:not(.is-block) strong{font-size:12px!important;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1 1 auto;min-width:0}
.fm-live-roster-token.is-filled:not(.is-block) .fm-token-meta{font-size:11px!important;line-height:1;white-space:nowrap;color:#64748b;flex:0 0 auto;max-width:34%}
.fm-live-roster-token.is-filled:not(.is-block) .fm-token-price{min-width:28px;height:28px;font-size:11px}
.fm-live-roster-token.is-block{min-height:48px!important}
.fm-live-roster-token.is-block strong{font-size:11.5px!important}
.fm-live-roster-token.is-block .fm-token-meta{font-size:10px!important}
.fm-live-roster-token.is-empty strong{font-size:10.5px!important}
.fm-slot-type{padding:2px 6px;font-size:8.5px}
.fm-token-price{min-width:28px;height:28px;font-size:11px}


/* v1.0.61 - dashboard/proiettore refinement spettatore ASTA live */
.fm-auction-live-app{max-width:1760px}
.fm-spectator-roster-panel--wide{padding:16px 16px 18px;border:1px solid #e2e8f0;box-shadow:0 12px 30px rgba(15,23,42,.05)}
.fm-spectator-roster-grid--slots{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;align-items:start}
.fm-spectator-role-card{padding:12px;border-radius:18px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.45),0 8px 22px rgba(15,23,42,.04)}
.fm-spectator-role-head{align-items:center;gap:10px}
.fm-spectator-role-title-wrap{display:flex;flex-direction:column;gap:4px;min-width:0}
.fm-spectator-role-head h4{font-size:13px;letter-spacing:.08em}
.fm-spectator-role-req{font-size:10px;gap:4px}
.fm-spectator-role-stats{gap:5px;align-self:flex-start}
.fm-spectator-role-stats span{padding:4px 8px;font-size:10.5px;min-width:58px;font-variant-numeric:tabular-nums}
.fm-spectator-slots{gap:5px;padding-top:8px}
.fm-spectator-slot{grid-template-columns:32px minmax(0,1fr);gap:6px}
.fm-spectator-slot-index{min-height:40px;border-radius:10px;font-size:10px;font-weight:900;font-variant-numeric:tabular-nums}
.fm-spectator-slot-index.is-marker{font-size:11px;letter-spacing:.08em}
.fm-spectator-role-card.fm-role-d .fm-spectator-slot.is-required .fm-spectator-slot-index{background:#2563eb;color:#fff;border-color:#2563eb}
.fm-spectator-role-card.fm-role-c .fm-spectator-slot.is-required .fm-spectator-slot-index{background:#16a34a;color:#fff;border-color:#16a34a}
.fm-spectator-role-card.fm-role-a .fm-spectator-slot.is-required .fm-spectator-slot-index{background:#e11d48;color:#fff;border-color:#e11d48}
.fm-spectator-role-card.fm-role-p .fm-spectator-slot-index.is-marker{background:#9a3412;color:#fff;border-color:#9a3412}
.fm-live-roster-token{min-height:40px!important;padding:5px 8px!important;border-radius:10px;gap:8px;box-shadow:none}
.fm-live-roster-token.is-filled{display:flex;align-items:center;justify-content:space-between}
.fm-live-roster-token .fm-token-main{min-width:0;flex:1}
.fm-live-roster-token.is-filled:not(.is-block) .fm-token-main{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:'tag name team';align-items:center;column-gap:7px;row-gap:0}
.fm-live-roster-token.is-filled:not(.is-block) .fm-slot-type{grid-area:tag;margin:0}
.fm-live-roster-token.is-filled:not(.is-block) strong{grid-area:name;font-size:11.5px!important;line-height:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.fm-live-roster-token.is-filled:not(.is-block) .fm-token-meta{grid-area:team;font-size:10.5px!important;line-height:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:none;color:#475569;justify-self:start}
.fm-live-roster-token.is-block .fm-token-main{display:grid!important;grid-template-columns:auto minmax(0,1fr);grid-template-areas:'tag name' 'meta meta';align-items:center;column-gap:7px;row-gap:2px}
.fm-live-roster-token.is-block .fm-slot-type{grid-area:tag;margin:0}
.fm-live-roster-token.is-block strong{grid-area:name;font-size:11px!important;line-height:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fm-live-roster-token.is-block .fm-token-meta{grid-area:meta;font-size:9.5px!important;line-height:1.1;color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fm-live-roster-token.is-empty .fm-token-main{display:grid!important;grid-template-columns:auto minmax(0,1fr);grid-template-areas:'tag name' 'meta meta';align-items:center;column-gap:7px;row-gap:1px}
.fm-live-roster-token.is-empty .fm-slot-type{grid-area:tag;margin:0}
.fm-live-roster-token.is-empty strong{grid-area:name;font-size:10px!important;line-height:1}
.fm-live-roster-token.is-empty .fm-token-meta{grid-area:meta;font-size:9.5px!important;line-height:1.1}
.fm-slot-type{padding:2px 6px;font-size:8px;letter-spacing:.08em}
.fm-token-price{min-width:26px;height:26px;font-size:10.5px;font-variant-numeric:tabular-nums;box-shadow:0 2px 6px rgba(15,23,42,.14)}
@media (min-width: 1600px){
  .fm-auction-live-app{max-width:1880px}
  .fm-spectator-roster-grid--slots{grid-template-columns:300px 1fr 1fr 1fr;gap:14px}
}
@media (max-width: 1480px){
  .fm-spectator-roster-grid--slots{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width: 760px){
  .fm-spectator-roster-grid--slots{grid-template-columns:1fr}
  .fm-spectator-role-head{flex-direction:column;align-items:flex-start}
  .fm-spectator-role-stats{justify-content:flex-start}
}

/* v1.0.62 - premium refinement header/animazioni/modal spettatore */
.fm-auction-live-head{margin:4px 0 14px}
.fm-auction-live-title{margin:0;font-size:clamp(32px,4vw,54px);line-height:.96;letter-spacing:-.04em;color:#0b1220}
.fm-auction-live-subtitle{margin:8px 0 0;color:#526076;font-size:14px;font-weight:700}
.fm-auction-hero{position:relative;overflow:hidden;border:1px solid rgba(255,255,255,.08);background:
  radial-gradient(circle at top right, rgba(96,165,250,.20), transparent 34%),
  radial-gradient(circle at bottom left, rgba(59,130,246,.18), transparent 30%),
  linear-gradient(135deg,#081225 0%,#13213d 52%,#0f172a 100%)!important}
.fm-auction-hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,255,255,.06),transparent 26%,transparent 74%,rgba(255,255,255,.04));pointer-events:none}
.fm-auction-live-kicker{display:inline-flex;align-items:center;gap:8px;margin:0 0 10px;padding:8px 12px;border-radius:999px;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.12);color:#eff6ff;font-size:12px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}
.fm-auction-live-kicker:before{content:"";width:9px;height:9px;border-radius:999px;background:#22c55e;box-shadow:0 0 0 0 rgba(34,197,94,.55);animation:fm-livePulse 1.7s infinite}
.fm-auction-hero h3{font-size:clamp(28px,3vw,42px);text-shadow:0 3px 12px rgba(0,0,0,.18)}
.fm-auction-hero p{max-width:980px;font-size:15px}
.fm-auction-counter{display:inline-flex;align-items:center;gap:10px;padding:10px 14px;border-radius:14px;background:rgba(255,255,255,.11)!important;border:1px solid rgba(255,255,255,.10);backdrop-filter:blur(6px)}
.fm-auction-counter strong{display:inline-flex;align-items:center;gap:8px}
.fm-auction-counter strong:before{content:"◉";font-size:11px;color:#93c5fd}
.fm-draw-btn{border:1px solid rgba(255,255,255,.28)!important;background:linear-gradient(180deg,#ffffff,#e9eef7)!important;color:#0f172a!important;min-width:220px}
.fm-draw-btn:hover{transform:translateY(-1px);box-shadow:0 14px 34px rgba(0,0,0,.24)}

.fm-live-draw-card{position:relative;overflow:hidden;animation:fm-cardReveal .55s ease both}
.fm-live-draw-card:after{content:"";position:absolute;inset:-30% auto auto -10%;width:34%;height:180%;background:linear-gradient(90deg,rgba(255,255,255,.36),rgba(255,255,255,0));transform:rotate(14deg);pointer-events:none;opacity:.7}
.fm-live-draw-stage strong{animation:fm-drawPop .5s ease both}

.fm-spectator-side-grid .fm-panel,.fm-spectator-roster-panel--wide{background:linear-gradient(180deg,#ffffff,#fbfdff)}
.fm-spectator-side-grid .fm-panel{border-radius:20px;box-shadow:0 16px 34px rgba(15,23,42,.05)}
.fm-table-panel h3,.fm-spectator-roster-header h3{font-size:clamp(20px,2vw,30px);letter-spacing:-.03em}

.fm-pill.fm-pill-stat{display:inline-flex;align-items:center;gap:10px;padding:8px 12px 8px 10px}
.fm-pill.fm-pill-stat small{display:inline-block;font-size:10.5px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#64748b}
.fm-pill.fm-pill-stat strong{display:inline-block;padding-left:4px;font-size:18px;line-height:1;color:#0f172a;font-variant-numeric:tabular-nums}

.fm-spectator-role-stats{gap:8px!important}
.fm-spectator-role-stats .fm-role-stat{display:grid;grid-template-columns:auto auto;align-items:center;column-gap:8px;min-width:76px;padding:5px 9px!important}
.fm-spectator-role-stats .fm-role-stat small{font-size:9px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#64748b}
.fm-spectator-role-stats .fm-role-stat strong{font-size:12.5px;font-weight:900;color:#0f172a;font-variant-numeric:tabular-nums}

.fm-live-roster-token{transition:transform .16s ease, box-shadow .16s ease, border-color .16s ease;background-clip:padding-box}
.fm-live-roster-token.is-filled:not(.is-block){display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-items:center}
.fm-live-roster-token.is-filled:not(.is-block) .fm-token-main{grid-template-columns:auto minmax(0,1fr) auto!important;column-gap:8px!important;align-items:center!important}
.fm-live-roster-token.is-filled:not(.is-block) .fm-slot-type{justify-self:start}
.fm-live-roster-token.is-filled:not(.is-block) strong{font-size:12px!important;letter-spacing:-.01em}
.fm-live-roster-token.is-filled:not(.is-block) .fm-token-meta{justify-self:end;text-align:right;font-size:10.5px!important;color:#64748b;font-weight:700;min-width:52px}
.fm-live-roster-token .fm-token-price{margin-left:10px;background:linear-gradient(180deg,#0f172a,#1e293b)!important;box-shadow:0 4px 10px rgba(15,23,42,.16)!important}
.fm-live-roster-token.is-block .fm-token-main{column-gap:8px!important}
.fm-live-roster-token.is-block strong{font-size:11.5px!important}
.fm-live-roster-token.is-block .fm-token-meta{font-size:10px!important}

.fm-modal-dialog,.fm-modal-dialog.fm-modal-wide{background:linear-gradient(180deg,#ffffff,#f8fbff);border:1px solid #dbe5f1;box-shadow:0 26px 70px rgba(15,23,42,.24)}
.fm-modal-dialog h3{font-size:28px}
.fm-modal-dialog p{font-size:13px;line-height:1.5}
.fm-modal-list--compact{padding-top:4px}
.fm-modal-row{padding:11px 12px;border-radius:14px;background:linear-gradient(180deg,#ffffff,#f8fafc);box-shadow:inset 0 0 0 1px rgba(255,255,255,.6)}
.fm-modal-row strong{font-size:13.5px}
.fm-modal-row span{font-size:11.5px;font-weight:700}
.fm-table{border-radius:16px;overflow:hidden;box-shadow:inset 0 0 0 1px #e5e7eb}
.fm-table th{font-size:11.5px;letter-spacing:.06em;text-transform:uppercase}
.fm-table td{font-size:13px}

@keyframes fm-livePulse{0%{box-shadow:0 0 0 0 rgba(34,197,94,.55)}70%{box-shadow:0 0 0 10px rgba(34,197,94,0)}100%{box-shadow:0 0 0 0 rgba(34,197,94,0)}}
@keyframes fm-cardReveal{0%{opacity:0;transform:translateY(10px) scale(.986)}100%{opacity:1;transform:translateY(0) scale(1)}}
@keyframes fm-drawPop{0%{opacity:0;transform:translateY(10px) scale(.975)}100%{opacity:1;transform:translateY(0) scale(1)}}

@media (min-width:1600px){
  .fm-auction-live-head{margin-bottom:18px}
  .fm-auction-live-subtitle{font-size:15px}
  .fm-auction-hero{padding:28px 30px}
  .fm-live-draw-card{padding:34px 38px}
  .fm-live-draw-card strong{font-size:clamp(42px,4.2vw,74px)}
  .fm-live-draw-card b{font-size:clamp(18px,1.6vw,24px)}
}
@media (max-width:900px){
  .fm-auction-live-title{font-size:34px}
  .fm-auction-live-subtitle{font-size:13px}
  .fm-auction-hero p{font-size:14px}
  .fm-pill.fm-pill-stat strong{font-size:16px}
}


/* v1.0.63 - maxi schermo, tema scuro, ultimo acquisto, rosa frontend unificata */
.fm-live-view-switch{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:flex-end}
.fm-live-view-switch a{display:inline-flex;align-items:center;justify-content:center;text-decoration:none!important;border:1px solid #dbe5f1;background:#fff;color:#0f172a;border-radius:999px;padding:8px 11px;font-size:11px;font-weight:900;letter-spacing:.04em;text-transform:uppercase;box-shadow:0 8px 18px rgba(15,23,42,.05)}
.fm-live-view-switch a:hover{transform:translateY(-1px);border-color:#94a3b8}
.fm-auction-live-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px}

.fm-live-maxi{max-width:1920px!important;width:calc(100vw - 28px);margin:14px auto!important;padding:0 8px!important}
.fm-live-maxi .fm-front-nav{transform:scale(.96);transform-origin:left top;margin-bottom:10px}
.fm-live-maxi .fm-auction-live-title{font-size:clamp(44px,4.8vw,82px)}
.fm-live-maxi .fm-auction-hero{padding:24px 30px;margin:16px 0}
.fm-live-maxi .fm-live-draw-card{padding:30px 42px;margin:16px 0}
.fm-live-maxi .fm-live-draw-card strong{font-size:clamp(54px,5.2vw,92px)}
.fm-live-maxi .fm-live-draw-card span{font-size:14px}
.fm-live-maxi .fm-live-draw-card b{font-size:clamp(20px,1.8vw,30px)}
.fm-live-maxi .fm-spectator-side-grid{grid-template-columns:1.2fr .8fr;gap:12px}
.fm-live-maxi .fm-spectator-roster-grid--slots{grid-template-columns:300px repeat(3,minmax(0,1fr));gap:12px}
.fm-live-maxi .fm-spectator-roster-panel--wide{padding:14px}
.fm-live-maxi .fm-spectator-role-card{padding:10px}
.fm-live-maxi .fm-spectator-slot{grid-template-columns:30px minmax(0,1fr);gap:6px}
.fm-live-maxi .fm-spectator-slot-index,.fm-live-maxi .fm-live-roster-token{min-height:38px!important}
.fm-live-maxi .fm-live-roster-token{padding:5px 8px!important}
.fm-live-maxi .fm-table th,.fm-live-maxi .fm-table td{padding:8px 10px}

.fm-live-dark{--fm-card:#0f172a;--fm-border:#27344a;--fm-text:#e5e7eb;--fm-muted:#94a3b8;background:#020617;color:#e5e7eb;border-radius:0}
.fm-live-dark .fm-front-nav,.fm-live-dark .fm-panel,.fm-live-dark .fm-box,.fm-live-dark .fm-spectator-role-card,.fm-live-dark .fm-table-panel{background:linear-gradient(180deg,#101827,#0b1220)!important;border-color:#27344a!important;color:#e5e7eb!important;box-shadow:0 16px 40px rgba(0,0,0,.24)}
.fm-live-dark .fm-auction-live-title,.fm-live-dark h2,.fm-live-dark h3,.fm-live-dark h4{color:#f8fafc!important}
.fm-live-dark .fm-auction-live-subtitle,.fm-live-dark .fm-spectator-roster-sub,.fm-live-dark .fm-token-meta,.fm-live-dark .fm-empty{color:#94a3b8!important}
.fm-live-dark .fm-front-nav .fm-nav-btn{background:#111827;color:#e5e7eb!important;border-color:#27344a}
.fm-live-dark .fm-front-nav .fm-nav-btn.active{background:#2563eb!important;border-color:#2563eb!important;color:#fff!important}
.fm-live-dark .fm-live-view-switch a{background:#111827;color:#dbeafe;border-color:#27344a}
.fm-live-dark .fm-live-draw-card{background:linear-gradient(180deg,#0f172a,#0b1220)!important;border-color:#334155!important;color:#e5e7eb!important}
.fm-live-dark .fm-live-draw-stage strong{color:#fff!important}
.fm-live-dark .fm-live-roster-token{background:#111827!important;color:#e5e7eb!important;border-color:#334155!important}
.fm-live-dark .fm-live-roster-token.is-empty{background:#0b1220!important;border-color:#334155!important;color:#64748b!important}
.fm-live-dark .fm-spectator-role-stats .fm-role-stat,.fm-live-dark .fm-req-note,.fm-live-dark .fm-pill,.fm-live-dark .fm-table th{background:#0b1220!important;border-color:#334155!important;color:#e5e7eb!important}
.fm-live-dark .fm-table{border-color:#27344a;box-shadow:inset 0 0 0 1px #27344a}
.fm-live-dark .fm-table td{border-color:#27344a;color:#dbeafe}
.fm-live-dark .fm-modal-dialog,.fm-live-dark .fm-modal-dialog.fm-modal-wide{background:linear-gradient(180deg,#111827,#0b1220)!important;border-color:#334155;color:#e5e7eb}
.fm-live-dark .fm-modal-row{background:#0f172a;border-color:#334155}
.fm-live-dark .fm-modal-row strong{color:#f8fafc}
.fm-live-dark .fm-modal-close{background:#1e293b;color:#fff}

.fm-latest-purchase{animation:fmLatestPulse 1.6s ease-in-out 3;background:linear-gradient(90deg,#fef9c3,#ffffff)!important}
.fm-live-dark .fm-latest-purchase{background:linear-gradient(90deg,rgba(234,179,8,.22),rgba(15,23,42,.7))!important}
.fm-latest-purchase td:first-child:before{content:'NEW';display:inline-flex;margin-right:7px;padding:3px 6px;border-radius:999px;background:#facc15;color:#713f12;font-size:9px;font-weight:900;letter-spacing:.06em;vertical-align:middle}

.fm-roster-live-view{max-width:1760px}
.fm-roster-live-view .fm-spectator-roster-panel--wide{margin-top:14px}

@keyframes fmLatestPulse{0%{box-shadow:0 0 0 0 rgba(250,204,21,.45)}50%{box-shadow:0 0 0 8px rgba(250,204,21,.0)}100%{box-shadow:0 0 0 0 rgba(250,204,21,0)}}

@media (max-width:900px){
  .fm-auction-live-head{display:block}
  .fm-live-view-switch{justify-content:flex-start;margin-top:12px}
  .fm-live-maxi{width:auto;margin:18px auto!important;padding:0 12px!important}
  .fm-live-maxi .fm-spectator-roster-grid--slots{grid-template-columns:1fr}
}


/* v1.0.64 - header asta compatto con hero scenografico */
.fm-auction-live-head{margin:0 0 10px!important;align-items:flex-start!important}
.fm-auction-live-title{font-size:clamp(28px,3.2vw,44px)!important;line-height:.94!important}
.fm-auction-live-subtitle{margin-top:6px!important;font-size:13px!important}
.fm-auction-hero{position:relative;display:grid;grid-template-columns:minmax(0,1.25fr) minmax(160px,.55fr) auto;align-items:start;gap:18px;padding:16px 18px!important;margin:12px 0 16px!important;border-radius:20px!important;min-height:auto!important}
.fm-auction-hero:before{background:linear-gradient(90deg,rgba(255,255,255,.06),transparent 22%,transparent 72%,rgba(255,255,255,.04))!important}
.fm-auction-hero:after{content:"";position:absolute;right:18px;bottom:8px;width:300px;height:126px;opacity:.24;background-repeat:no-repeat;background-size:contain;background-position:center;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 520 220'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 182C62 120 114 92 170 92s108 28 148 90' opacity='.72'/%3E%3Cpath d='M122 181c26-35 60-54 99-54s73 19 99 54' opacity='.84'/%3E%3Cpath d='M205 56h110' opacity='.65'/%3E%3Cpath d='M230 40h60' opacity='.65'/%3E%3Cpath d='M98 180h324' opacity='.55'/%3E%3Ccircle cx='260' cy='150' r='25' opacity='.78'/%3E%3Cpath d='M260 124v52M234 150h52' opacity='.78'/%3E%3Cpath d='M52 198h416' opacity='.4'/%3E%3C/g%3E%3C/svg%3E");pointer-events:none}
.fm-auction-hero-copy{position:relative;z-index:1;padding-right:8px}
.fm-auction-live-kicker{margin-bottom:8px!important;padding:6px 10px!important;font-size:11px!important}
.fm-auction-hero h3{margin:0 0 6px!important;font-size:clamp(24px,2.4vw,36px)!important;line-height:1.02!important}
.fm-auction-hero p{margin:0!important;max-width:860px!important;font-size:13.5px!important;line-height:1.45!important;color:#dbe6f6!important}
.fm-auction-counter{margin-top:12px;display:inline-flex!important;padding:8px 12px!important;font-size:13px!important}
.fm-auction-counter strong{font-size:13px!important}
.fm-auction-hero-visual{position:relative;z-index:1;align-self:stretch;min-height:108px;border-radius:18px;border:1px solid rgba(255,255,255,.12);background:linear-gradient(180deg,rgba(255,255,255,.14),rgba(255,255,255,.04));backdrop-filter:blur(8px);overflow:hidden;display:flex;align-items:flex-start;justify-content:flex-end;padding:12px}
.fm-auction-hero-visual:before{content:"";position:absolute;inset:12px;background:radial-gradient(circle at 22% 34%,rgba(255,255,255,.22),transparent 26%),radial-gradient(circle at 74% 38%,rgba(96,165,250,.28),transparent 30%),linear-gradient(135deg,rgba(255,255,255,.06),rgba(255,255,255,0));border-radius:14px}
.fm-auction-hero-visual:after{content:"";position:absolute;left:16px;right:16px;bottom:12px;height:56px;border-radius:999px;background:linear-gradient(180deg,rgba(255,255,255,.10),rgba(255,255,255,.02));box-shadow:inset 0 0 0 1px rgba(255,255,255,.08)}
.fm-auction-hero-tag{position:relative;z-index:1;display:inline-flex;align-items:center;gap:7px;padding:8px 10px;border-radius:999px;background:rgba(15,23,42,.45);border:1px solid rgba(255,255,255,.14);color:#f8fafc;font-size:11px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}
.fm-auction-hero-tag:before{content:"";width:8px;height:8px;border-radius:999px;background:#38bdf8;box-shadow:0 0 0 0 rgba(56,189,248,.42);animation:fm-livePulse 1.9s infinite}
.fm-auction-hero-action{position:relative;z-index:1;align-self:center;justify-self:end}
.fm-draw-btn{min-width:190px!important;padding:15px 22px!important;border-radius:16px!important;font-size:16px!important}
.fm-live-maxi .fm-auction-hero{grid-template-columns:minmax(0,1.4fr) minmax(220px,.7fr) auto;padding:18px 20px!important}
.fm-live-maxi .fm-auction-hero-visual{min-height:116px}
.fm-live-maxi .fm-auction-hero h3{font-size:clamp(28px,2.5vw,40px)!important}
.fm-live-dark .fm-auction-hero-visual{background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.03));border-color:rgba(148,163,184,.26)}
.fm-live-dark .fm-auction-hero-tag{background:rgba(2,6,23,.58);border-color:rgba(148,163,184,.28)}
@media (max-width:1180px){
  .fm-auction-hero{grid-template-columns:1fr auto;gap:14px}
  .fm-auction-hero-visual{display:none}
}
@media (max-width:780px){
  .fm-auction-hero{display:block!important;padding:14px 14px 16px!important}
  .fm-auction-hero-copy{padding-right:0}
  .fm-auction-counter{margin-top:10px}
  .fm-auction-hero-action{margin-top:14px;justify-self:stretch}
  .fm-draw-btn{width:100%!important}
}


/* v1.0.65 - hero premium + non acquistati cliccabili */
.fm-auction-hero{
  background:
    linear-gradient(90deg,rgba(8,18,37,.92),rgba(15,23,42,.78)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 900 320'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' x2='1' y1='0' y2='1'%3E%3Cstop stop-color='%231e3a8a'/%3E%3Cstop offset='1' stop-color='%230f172a'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='900' height='320' fill='url(%23g)'/%3E%3Cg opacity='.34' fill='none' stroke='%23ffffff' stroke-width='3'%3E%3Cpath d='M60 280C170 120 315 68 450 68s280 52 390 212'/%3E%3Cpath d='M160 280c70-92 168-134 290-134s220 42 290 134'/%3E%3Cpath d='M90 250h720M150 210h600M220 172h460'/%3E%3Ccircle cx='450' cy='220' r='38'/%3E%3Cpath d='M450 182v76M412 220h76'/%3E%3C/g%3E%3Cg opacity='.18' fill='%23ffffff'%3E%3Ccircle cx='120' cy='88' r='4'/%3E%3Ccircle cx='185' cy='72' r='3'/%3E%3Ccircle cx='740' cy='82' r='4'/%3E%3Ccircle cx='790' cy='110' r='3'/%3E%3C/g%3E%3C/svg%3E") center/cover!important;
}
.fm-auction-league-brand{display:flex;align-items:center;gap:10px;margin:0 0 8px}
.fm-auction-league-logo{width:36px;height:36px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;background:linear-gradient(180deg,#ffffff,#dbeafe);color:#0f172a;font-weight:1000;font-size:18px;box-shadow:0 8px 20px rgba(0,0,0,.18)}
.fm-auction-league-name{display:inline-flex;align-items:center;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.09);border-radius:999px;color:#e5f0ff;padding:7px 11px;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}
.fm-auction-hero-visual{background:linear-gradient(180deg,rgba(255,255,255,.16),rgba(255,255,255,.04)),radial-gradient(circle at 45% 54%,rgba(255,255,255,.26),transparent 32%)!important}
.fm-auction-hero-visual:before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 150'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' opacity='.82'%3E%3Cpath d='M22 126C57 78 93 56 130 56s73 22 108 70'/%3E%3Cpath d='M58 126c20-28 44-42 72-42s52 14 72 42'/%3E%3Cpath d='M40 134h180'/%3E%3Ccircle cx='130' cy='105' r='18'/%3E%3Cpath d='M130 87v36M112 105h36'/%3E%3C/g%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:center!important;background-size:92%!important}
.fm-auction-hero-tag{max-width:180px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fm-unsold-card-panel .fm-submit.secondary{margin-top:12px}
.fm-unsold-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px;margin:12px 0}
.fm-unsold-card{width:100%;border:1px solid #dbe5f1;background:linear-gradient(180deg,#ffffff,#f8fbff);border-radius:16px;padding:13px 14px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 10px;text-align:left;cursor:pointer;box-shadow:0 10px 22px rgba(15,23,42,.05);transition:.14s ease}
.fm-unsold-card:hover{transform:translateY(-1px);border-color:#94a3b8;box-shadow:0 14px 30px rgba(15,23,42,.08)}
.fm-unsold-card span{font-size:12px;font-weight:900;color:#334155;line-height:1.2}
.fm-unsold-card strong{grid-row:1 / span 2;grid-column:2;align-self:center;justify-self:end;display:inline-flex;align-items:center;justify-content:center;min-width:42px;height:42px;border-radius:999px;background:#0f172a;color:#fff;font-size:18px;font-weight:1000}
.fm-unsold-card em{font-style:normal;font-size:11px;font-weight:800;color:#64748b}
.fm-unsold-modal-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:10px;margin-top:12px}
.fm-unsold-modal-card{border:1px solid #dbe5f1;background:linear-gradient(180deg,#fff,#f8fafc);border-radius:14px;padding:11px 12px}
.fm-unsold-modal-card strong{display:block;font-size:13px;line-height:1.25;color:#0f172a}
.fm-unsold-modal-card span{display:block;margin-top:4px;font-size:11px;font-weight:800;color:#64748b}
.fm-live-dark .fm-unsold-card{background:linear-gradient(180deg,#111827,#0b1220);border-color:#334155}
.fm-live-dark .fm-unsold-card span{color:#dbeafe}
.fm-live-dark .fm-unsold-card strong{background:#2563eb;color:#fff}
.fm-live-dark .fm-unsold-card em{color:#94a3b8}
.fm-live-dark .fm-unsold-modal-card{background:#0f172a;border-color:#334155}
.fm-live-dark .fm-unsold-modal-card strong{color:#f8fafc}
.fm-live-dark .fm-unsold-modal-card span{color:#94a3b8}


/* v1.0.67 - colori ruoli e ricerca non acquistati */
.fm-modal-search{width:100%;min-height:44px;border:1px solid #dbe5f1;border-radius:14px;padding:0 14px;margin:10px 0 14px;font-weight:800;background:#fff;color:#0f172a}
.fm-modal-search:focus{outline:2px solid rgba(37,99,235,.18);border-color:#93c5fd}
.fm-unsold-modal-card{position:relative;overflow:hidden}
.fm-unsold-modal-card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:5px;background:#94a3b8}
.fm-unsold-modal-card.fm-unsold-role-p{background:#fff7ed;border-color:#fed7aa}
.fm-unsold-modal-card.fm-unsold-role-p:before{background:#f97316}
.fm-unsold-modal-card.fm-unsold-role-d{background:#eff6ff;border-color:#bfdbfe}
.fm-unsold-modal-card.fm-unsold-role-d:before{background:#2563eb}
.fm-unsold-modal-card.fm-unsold-role-c{background:#ecfdf5;border-color:#bbf7d0}
.fm-unsold-modal-card.fm-unsold-role-c:before{background:#16a34a}
.fm-unsold-modal-card.fm-unsold-role-a{background:#fff1f2;border-color:#fecdd3}
.fm-unsold-modal-card.fm-unsold-role-a:before{background:#e11d48}
.fm-unsold-modal-card.fm-unsold-role-p strong{color:#9a3412}
.fm-unsold-modal-card.fm-unsold-role-d strong{color:#1d4ed8}
.fm-unsold-modal-card.fm-unsold-role-c strong{color:#047857}
.fm-unsold-modal-card.fm-unsold-role-a strong{color:#be123c}
tr.fm-unsold-role-p td:first-child{border-left:5px solid #f97316}
tr.fm-unsold-role-d td:first-child{border-left:5px solid #2563eb}
tr.fm-unsold-role-c td:first-child{border-left:5px solid #16a34a}
tr.fm-unsold-role-a td:first-child{border-left:5px solid #e11d48}
.fm-live-dark .fm-modal-search{background:#0b1220;border-color:#334155;color:#e5e7eb}
.fm-live-dark .fm-unsold-modal-card.fm-unsold-role-p{background:rgba(249,115,22,.12);border-color:rgba(249,115,22,.35)}
.fm-live-dark .fm-unsold-modal-card.fm-unsold-role-d{background:rgba(37,99,235,.14);border-color:rgba(37,99,235,.38)}
.fm-live-dark .fm-unsold-modal-card.fm-unsold-role-c{background:rgba(22,163,74,.14);border-color:rgba(22,163,74,.38)}
.fm-live-dark .fm-unsold-modal-card.fm-unsold-role-a{background:rgba(225,29,72,.14);border-color:rgba(225,29,72,.38)}
.fm-live-dark .fm-unsold-modal-card strong{color:#f8fafc!important}


/* v1.0.69 - fix posizione Quadro Rose live nel frontend gestore */
.fm-auction-live-app .fm-auction-credit-panel{
  width:100%!important;
  max-width:100%!important;
  margin-left:0!important;
  margin-right:0!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
  clear:both;
}
.fm-auction-live-app .fm-auction-credit-panel .fm-table-title{
  padding:0 0 12px!important;
}
.fm-auction-live-app .fm-auction-credit-panel .fm-table-scroll{
  width:100%!important;
  max-width:100%!important;
  overflow-x:auto!important;
  overflow-y:hidden;
  -webkit-overflow-scrolling:touch;
  border-radius:16px;
}
.fm-auction-live-app .fm-auction-credit-panel .fm-auction-credit-table{
  width:100%!important;
  min-width:1080px!important;
  margin:0!important;
}
.fm-auction-live-app .fm-auction-credit-panel .fm-auction-credit-table th,
.fm-auction-live-app .fm-auction-credit-panel .fm-auction-credit-table td{
  box-sizing:border-box;
}
.fm-live-maxi .fm-auction-credit-panel{
  width:100%!important;
  max-width:100%!important;
  margin-left:0!important;
  margin-right:0!important;
}
@media(max-width:900px){
  .fm-auction-live-app .fm-auction-credit-panel{
    width:100%!important;
    margin-left:0!important;
    margin-right:0!important;
  }
  .fm-auction-live-app .fm-auction-credit-panel .fm-auction-credit-table{
    min-width:980px!important;
  }
}


/* v1.0.70 - Quadro Rose live fuori dalla griglia gestione */
.fm-auction-live-app > .fm-auction-credit-panel{
  grid-column:1 / -1!important;
  display:block!important;
  align-self:stretch!important;
}
.fm-auction-live-app .fm-grid.two + .fm-auction-credit-panel{
  margin-top:18px!important;
}
.fm-auction-live-app .fm-auction-credit-panel{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
}
.fm-auction-live-app .fm-auction-credit-panel .fm-table-scroll{
  max-width:100%!important;
}


/* v1.0.71 - Quadro Rose live a pagina piena senza scroll orizzontale */
.fm-auction-live-app .fm-auction-credit-panel{
  width:calc(100vw - 28px)!important;
  max-width:none!important;
  margin-left:calc(50% - 50vw + 14px)!important;
  margin-right:calc(50% - 50vw + 14px)!important;
  padding:18px 18px 20px!important;
  box-sizing:border-box!important;
  overflow:visible!important;
}
.fm-auction-live-app .fm-auction-credit-panel .fm-table-scroll{
  overflow-x:visible!important;
  overflow-y:visible!important;
  width:100%!important;
  max-width:100%!important;
}
.fm-auction-live-app .fm-auction-credit-panel .fm-auction-credit-table{
  width:100%!important;
  min-width:0!important;
  table-layout:fixed!important;
  font-size:11px!important;
}
.fm-auction-live-app .fm-auction-credit-panel .fm-auction-credit-table th,
.fm-auction-live-app .fm-auction-credit-panel .fm-auction-credit-table td{
  padding:7px 5px!important;
  white-space:normal!important;
  line-height:1.18!important;
  word-break:normal!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.fm-auction-live-app .fm-auction-credit-panel .fm-auction-credit-table th:nth-child(1),
.fm-auction-live-app .fm-auction-credit-panel .fm-auction-credit-table td:nth-child(1){
  width:13%!important;
  min-width:0!important;
}
.fm-auction-live-app .fm-auction-credit-panel .fm-auction-credit-table th:nth-child(2),
.fm-auction-live-app .fm-auction-credit-panel .fm-auction-credit-table td:nth-child(2){
  width:20%!important;
  min-width:0!important;
}
.fm-auction-live-app .fm-auction-credit-panel .fm-auction-credit-table th:nth-child(3),
.fm-auction-live-app .fm-auction-credit-panel .fm-auction-credit-table td:nth-child(3){
  width:12%!important;
  min-width:0!important;
}
.fm-auction-live-app .fm-auction-credit-panel .fm-auction-credit-table th:nth-child(4),
.fm-auction-live-app .fm-auction-credit-panel .fm-auction-credit-table td:nth-child(4),
.fm-auction-live-app .fm-auction-credit-panel .fm-auction-credit-table th:nth-child(5),
.fm-auction-live-app .fm-auction-credit-panel .fm-auction-credit-table td:nth-child(5),
.fm-auction-live-app .fm-auction-credit-panel .fm-auction-credit-table th:nth-child(6),
.fm-auction-live-app .fm-auction-credit-panel .fm-auction-credit-table td:nth-child(6),
.fm-auction-live-app .fm-auction-credit-panel .fm-auction-credit-table th:nth-child(7),
.fm-auction-live-app .fm-auction-credit-panel .fm-auction-credit-table td:nth-child(7){
  width:10%!important;
  min-width:0!important;
}
.fm-auction-live-app .fm-auction-credit-panel .fm-auction-credit-table th:nth-child(8),
.fm-auction-live-app .fm-auction-credit-panel .fm-auction-credit-table td:nth-child(8),
.fm-auction-live-app .fm-auction-credit-panel .fm-auction-credit-table th:nth-child(9),
.fm-auction-live-app .fm-auction-credit-panel .fm-auction-credit-table td:nth-child(9){
  width:7.5%!important;
  min-width:0!important;
}
.fm-auction-live-app .fm-auction-credit-panel .fm-team-name{
  font-size:12px!important;
  line-height:1.15!important;
  display:block;
  white-space:normal!important;
}
.fm-auction-live-app .fm-auction-credit-panel .fm-summary-link{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
  padding:6px 7px!important;
  font-size:10.5px!important;
  line-height:1.18!important;
  justify-content:center!important;
  text-align:center!important;
}
.fm-auction-live-app .fm-auction-credit-panel .fm-slot-chip{
  min-width:0!important;
  width:100%!important;
  max-width:100%!important;
  min-height:26px!important;
  padding:5px 6px!important;
  font-size:10.5px!important;
  line-height:1!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
.fm-auction-live-app .fm-auction-credit-panel .fm-money-pill{
  min-width:0!important;
  width:100%!important;
  max-width:64px!important;
  padding:5px 6px!important;
  font-size:11px!important;
  box-sizing:border-box!important;
}
.fm-live-maxi .fm-auction-credit-panel{
  width:calc(100vw - 24px)!important;
  margin-left:calc(50% - 50vw + 12px)!important;
  margin-right:calc(50% - 50vw + 12px)!important;
}
@media(max-width:1100px){
  .fm-auction-live-app .fm-auction-credit-panel{
    width:100%!important;
    margin-left:0!important;
    margin-right:0!important;
  }
  .fm-auction-live-app .fm-auction-credit-panel .fm-table-scroll{
    overflow-x:auto!important;
  }
  .fm-auction-live-app .fm-auction-credit-panel .fm-auction-credit-table{
    min-width:980px!important;
  }
}

/* v1.0.72 - Quadro Rose live leggibile senza scroll orizzontale */
.fm-auction-live-app .fm-auction-credit-panel{
  width:calc(100vw - 18px)!important;
  max-width:none!important;
  margin-left:calc(50% - 50vw + 9px)!important;
  margin-right:calc(50% - 50vw + 9px)!important;
  padding:16px 18px 18px!important;
}
.fm-auction-live-app .fm-auction-credit-panel .fm-table-scroll{
  overflow-x:visible!important;
  overflow-y:visible!important;
}
.fm-auction-live-app .fm-auction-credit-panel .fm-auction-credit-table{
  width:100%!important;
  min-width:0!important;
  table-layout:fixed!important;
  border-collapse:separate!important;
  border-spacing:0!important;
  font-size:11.5px!important;
}
.fm-auction-credit-table col.fm-col-team{width:14%}
.fm-auction-credit-table col.fm-col-move{width:20%}
.fm-auction-credit-table col.fm-col-porta{width:10%}
.fm-auction-credit-table col.fm-col-b{width:11.25%}
.fm-auction-credit-table col.fm-col-money{width:5.5%}
.fm-auction-live-app .fm-auction-credit-panel .fm-auction-credit-table th,
.fm-auction-live-app .fm-auction-credit-panel .fm-auction-credit-table td{
  padding:8px 6px!important;
  white-space:normal!important;
  line-height:1.16!important;
  overflow:visible!important;
  text-overflow:clip!important;
  vertical-align:middle!important;
}
.fm-auction-live-app .fm-auction-credit-panel .fm-auction-credit-table th{
  font-size:11px!important;
  letter-spacing:.06em!important;
}
.fm-auction-live-app .fm-auction-credit-panel .fm-team-name{
  font-size:12px!important;
  line-height:1.12!important;
  white-space:normal!important;
  word-break:normal!important;
}
.fm-auction-live-app .fm-auction-credit-panel .fm-summary-link{
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  padding:7px 8px!important;
  font-size:11px!important;
  line-height:1.12!important;
  justify-content:center!important;
  text-align:center!important;
  white-space:normal!important;
  word-break:normal!important;
}
.fm-auction-live-app .fm-auction-credit-panel .fm-slot-chip{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  min-height:31px!important;
  height:auto!important;
  padding:6px 7px!important;
  font-size:11px!important;
  line-height:1.08!important;
  border-radius:12px!important;
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
}
.fm-auction-live-app .fm-auction-credit-panel .fm-slot-chip:not(.is-empty){
  font-weight:900!important;
}
.fm-auction-live-app .fm-auction-credit-panel .fm-money-pill{
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  padding:6px 5px!important;
  font-size:11px!important;
  line-height:1!important;
  border-radius:999px!important;
}
.fm-live-maxi .fm-auction-credit-table col.fm-col-team{width:13%}
.fm-live-maxi .fm-auction-credit-table col.fm-col-move{width:18%}
.fm-live-maxi .fm-auction-credit-table col.fm-col-porta{width:10%}
.fm-live-maxi .fm-auction-credit-table col.fm-col-b{width:12%}
.fm-live-maxi .fm-auction-credit-table col.fm-col-money{width:4.5%}
@media(max-width:1200px){
  .fm-auction-live-app .fm-auction-credit-panel{width:100%!important;margin-left:0!important;margin-right:0!important}
  .fm-auction-live-app .fm-auction-credit-panel .fm-table-scroll{overflow-x:auto!important}
  .fm-auction-live-app .fm-auction-credit-panel .fm-auction-credit-table{min-width:1080px!important}
}

/* v1.0.73-test - Quadro Rose live stile foglio asta */
.fm-auction-board-panel{
  width:calc(100vw - 28px)!important;
  max-width:none!important;
  margin-left:calc(50% - 50vw + 14px)!important;
  margin-right:calc(50% - 50vw + 14px)!important;
  padding:18px!important;
  box-sizing:border-box!important;
}
.fm-auction-board-panel .fm-table-title h3{margin:0;font-size:28px;letter-spacing:-.035em}
.fm-test-badge{display:inline-flex;align-items:center;vertical-align:middle;margin-left:8px;padding:4px 8px;border-radius:999px;background:#fef3c7;color:#92400e;font-size:11px;font-weight:1000;letter-spacing:.06em}
.fm-board-note{margin:0 0 14px;color:#64748b;font-weight:700}
.fm-auction-board-grid{display:grid;grid-template-columns:repeat(6,minmax(190px,1fr));gap:12px;align-items:start}
.fm-board-team{border:1px solid #cbd5e1;background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 12px 28px rgba(15,23,42,.06);min-width:0}
.fm-board-team-head{display:flex;width:100%;border:0;border-bottom:2px solid rgba(15,23,42,.16);align-items:center;justify-content:space-between;gap:8px;padding:9px 10px;color:#0f172a;cursor:pointer;text-align:left}
.fm-board-team-head strong{font-size:13px;line-height:1.05;text-transform:uppercase;letter-spacing:.04em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fm-board-team-head span{font-size:10px;line-height:1.1;font-weight:900;white-space:nowrap;opacity:.82}
.fm-board-color-1 .fm-board-team-head{background:#ef4444;color:#fff}.fm-board-color-2 .fm-board-team-head{background:#eab308;color:#111827}.fm-board-color-3 .fm-board-team-head{background:#84cc16;color:#111827}.fm-board-color-4 .fm-board-team-head{background:#06b6d4;color:#06202a}.fm-board-color-5 .fm-board-team-head{background:#7c3aed;color:#fff}.fm-board-color-6 .fm-board-team-head{background:#8b5cf6;color:#fff}.fm-board-color-7 .fm-board-team-head{background:#22c55e;color:#052e16}.fm-board-color-8 .fm-board-team-head{background:#db2777;color:#fff}.fm-board-color-9 .fm-board-team-head{background:#475569;color:#fff}.fm-board-color-10 .fm-board-team-head{background:#f97316;color:#111827}.fm-board-color-11 .fm-board-team-head{background:#1d4ed8;color:#fff}.fm-board-color-12 .fm-board-team-head{background:#14532d;color:#fff}
.fm-board-role{border-bottom:1px solid #dbe5ef;background:#f8fafc}
.fm-board-role:last-of-type{border-bottom:0}
.fm-board-role h4{margin:0;padding:4px 8px;color:#fff;text-align:center;font-size:10.5px;font-weight:1000;letter-spacing:.08em;text-transform:uppercase;line-height:1.15}
.fm-board-role-p h4{background:#0f2742}.fm-board-role-d h4{background:#dc2626}.fm-board-role-c h4{background:#16803a}.fm-board-role-a h4{background:#1e3a8a}
.fm-board-lines{display:flex;flex-direction:column}
.fm-board-line{display:grid;grid-template-columns:minmax(0,1fr) 30px;gap:4px;align-items:center;min-height:21px;padding:3px 6px;border-bottom:1px solid #dbe5ef;background:#ffffff}
.fm-board-line:nth-child(even){background:#f1f5f9}
.fm-board-line:last-child{border-bottom:0}
.fm-board-line span{min-width:0;display:flex;align-items:baseline;gap:4px;overflow:hidden}
.fm-board-line strong{font-size:10.5px;line-height:1.1;color:#0f172a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.fm-board-line em{font-style:normal;font-size:8.5px;font-weight:800;color:#64748b;white-space:nowrap;flex:0 0 auto}
.fm-board-line b{display:inline-flex;align-items:center;justify-content:center;min-width:24px;min-height:17px;border-radius:999px;background:#eef2ff;color:#1d4ed8;font-size:9.5px;font-weight:1000;line-height:1}
.fm-board-line.is-block{background:#fff7ed!important}
.fm-board-line.is-block strong{color:#9a3412}
.fm-board-line.is-block b{background:#ffedd5;color:#9a3412}
.fm-board-line.is-empty{color:#94a3b8;background:#f8fafc!important}
.fm-board-line.is-empty span{justify-content:center;font-weight:800;color:#94a3b8}
.fm-board-team-foot{display:grid;grid-template-columns:1fr auto 1fr auto;gap:6px;align-items:center;padding:7px 8px;background:#ffffff;border-top:2px solid #0f172a}
.fm-board-team-foot span{font-size:9px;font-weight:900;color:#64748b;text-transform:uppercase;letter-spacing:.05em}
.fm-board-team-foot strong{font-size:12px;font-weight:1000;color:#0f172a}
.fm-live-dark .fm-auction-board-panel,.fm-live-dark .fm-board-team{background:#0b1220!important;border-color:#334155!important;color:#e5e7eb}.fm-live-dark .fm-board-role{background:#111827;border-color:#334155}.fm-live-dark .fm-board-line{background:#101827;border-color:#334155}.fm-live-dark .fm-board-line:nth-child(even){background:#0f172a}.fm-live-dark .fm-board-line strong{color:#f8fafc}.fm-live-dark .fm-board-team-foot{background:#0f172a;border-color:#334155}.fm-live-dark .fm-board-team-foot strong{color:#f8fafc}
@media(max-width:1500px){.fm-auction-board-grid{grid-template-columns:repeat(4,minmax(190px,1fr))}}
@media(max-width:1050px){.fm-auction-board-panel{width:100%!important;margin-left:0!important;margin-right:0!important}.fm-auction-board-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.fm-auction-board-grid{grid-template-columns:1fr}.fm-board-team-head strong{white-space:normal}}


/* v1.0.74-test - slot fissi nel Quadro Rose foglio asta */
.fm-auction-board-grid{align-items:start}
.fm-board-role{display:block}
.fm-board-lines{display:grid;grid-auto-rows:22px}
.fm-board-line{
  display:grid!important;
  grid-template-columns:20px minmax(0,1fr) 26px!important;
  min-height:22px!important;
  height:22px!important;
  padding:2px 5px!important;
  gap:4px!important;
}
.fm-board-line i{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:18px;
  height:18px;
  border-radius:6px;
  background:#eef2f7;
  color:#0f172a;
  font-size:9px;
  font-weight:1000;
  font-style:normal;
  line-height:1;
}
.fm-board-line.is-block i,
.fm-board-line.is-block-slot i{
  background:#0f172a;
  color:#fff;
  letter-spacing:.04em;
}
.fm-board-role-p .fm-board-line i{background:#ffedd5;color:#9a3412}
.fm-board-role-d .fm-board-line i{background:#dbeafe;color:#1d4ed8}
.fm-board-role-c .fm-board-line i{background:#dcfce7;color:#047857}
.fm-board-role-a .fm-board-line i{background:#ffe4e6;color:#be123c}
.fm-board-role-p .fm-board-line.is-block i,
.fm-board-role-p .fm-board-line.is-block-slot i{background:#9a3412;color:#fff}
.fm-board-role-d .fm-board-line.is-block i,
.fm-board-role-d .fm-board-line.is-block-slot i{background:#1d4ed8;color:#fff}
.fm-board-role-c .fm-board-line.is-block i,
.fm-board-role-c .fm-board-line.is-block-slot i{background:#047857;color:#fff}
.fm-board-role-a .fm-board-line.is-block i,
.fm-board-role-a .fm-board-line.is-block-slot i{background:#be123c;color:#fff}
.fm-board-line span{
  align-items:center!important;
  gap:4px!important;
}
.fm-board-line strong{
  font-size:9.5px!important;
  max-width:100%;
}
.fm-board-line em{
  font-size:7.8px!important;
}
.fm-board-line b{
  min-width:22px!important;
  min-height:16px!important;
  font-size:8.8px!important;
}
.fm-board-line.is-empty strong{font-weight:700;color:#94a3b8}
.fm-board-line.is-block-slot{background:#fff7ed!important}
.fm-board-line.is-block-slot strong{color:#9a3412}
.fm-board-role h4{
  height:21px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0 8px!important;
}
.fm-board-team-foot{min-height:34px}
.fm-live-dark .fm-board-line i{background:#1e293b;color:#e5e7eb}
.fm-live-dark .fm-board-line.is-block i,
.fm-live-dark .fm-board-line.is-block-slot i{background:#2563eb;color:#fff}


/* v1.0.75-test - colori ruoli coerenti e blocchi invertiti */
.fm-board-role-p h4{background:#f97316!important;color:#fff!important}
.fm-board-role-d h4{background:#2563eb!important;color:#fff!important}
.fm-board-role-c h4{background:#16a34a!important;color:#fff!important}
.fm-board-role-a h4{background:#dc2626!important;color:#fff!important}

.fm-board-role-p .fm-board-line.is-player{background:#fff7ed!important;border-color:#fed7aa!important}
.fm-board-role-d .fm-board-line.is-player{background:#eff6ff!important;border-color:#bfdbfe!important}
.fm-board-role-c .fm-board-line.is-player{background:#ecfdf5!important;border-color:#bbf7d0!important}
.fm-board-role-a .fm-board-line.is-player{background:#fff1f2!important;border-color:#fecdd3!important}

.fm-board-role-p .fm-board-line.is-player strong{color:#9a3412!important}
.fm-board-role-d .fm-board-line.is-player strong{color:#1d4ed8!important}
.fm-board-role-c .fm-board-line.is-player strong{color:#047857!important}
.fm-board-role-a .fm-board-line.is-player strong{color:#be123c!important}

.fm-board-role-p .fm-board-line.is-block,
.fm-board-role-p .fm-board-line.is-block-slot{background:#fff7ed!important;border-color:#fed7aa!important}
.fm-board-role-d .fm-board-line.is-block,
.fm-board-role-d .fm-board-line.is-block-slot{background:#eff6ff!important;border-color:#bfdbfe!important}
.fm-board-role-c .fm-board-line.is-block,
.fm-board-role-c .fm-board-line.is-block-slot{background:#ecfdf5!important;border-color:#bbf7d0!important}
.fm-board-role-a .fm-board-line.is-block,
.fm-board-role-a .fm-board-line.is-block-slot{background:#fff1f2!important;border-color:#fecdd3!important}

.fm-board-role-p .fm-board-line.is-block strong{color:#9a3412!important}
.fm-board-role-d .fm-board-line.is-block strong{color:#1d4ed8!important}
.fm-board-role-c .fm-board-line.is-block strong{color:#047857!important}
.fm-board-role-a .fm-board-line.is-block strong{color:#be123c!important}

.fm-board-role-p .fm-board-line.is-block b{background:#ffedd5!important;color:#9a3412!important}
.fm-board-role-d .fm-board-line.is-block b{background:#dbeafe!important;color:#1d4ed8!important}
.fm-board-role-c .fm-board-line.is-block b{background:#dcfce7!important;color:#047857!important}
.fm-board-role-a .fm-board-line.is-block b{background:#ffe4e6!important;color:#be123c!important}

.fm-board-line.is-block em{font-size:8.4px!important;font-weight:1000!important;letter-spacing:.04em;text-transform:uppercase}
.fm-board-line.is-block strong{font-size:9.8px!important}
.fm-board-line.is-empty strong{color:#94a3b8!important}
.fm-board-line.is-block-slot strong{font-size:8.8px!important;text-transform:uppercase}

.fm-live-dark .fm-board-role-p h4{background:#ea580c!important}
.fm-live-dark .fm-board-role-d h4{background:#1d4ed8!important}
.fm-live-dark .fm-board-role-c h4{background:#15803d!important}
.fm-live-dark .fm-board-role-a h4{background:#be123c!important}


/* v1.0.76-test - nomi calciatori e blocchi maiuscoli */
.fm-auction-board-panel .fm-board-line strong,
.fm-spectator-roster-panel .fm-live-roster-token strong{
  text-transform:uppercase!important;
}
.fm-auction-board-panel .fm-board-line em,
.fm-spectator-roster-panel .fm-token-meta{
  text-transform:uppercase!important;
}
.fm-modal .fm-unsold-modal-card strong,
.fm-modal .fm-modal-row strong{
  text-transform:uppercase!important;
}


/* v1.0.77-test - totali ruolo, blocchi cliccabili, export PDF */
.fm-board-role h4{
  justify-content:space-between!important;
  gap:6px!important;
  padding:0 7px!important;
}
.fm-board-role h4 span,
.fm-board-role h4 small{
  font-size:10.5px!important;
  line-height:1!important;
  font-family:inherit!important;
  font-weight:1000!important;
}
.fm-board-role h4 small{
  opacity:.92;
}
button.fm-board-line{
  width:100%;
  border:0;
  cursor:pointer;
  text-align:left;
  font-family:inherit;
}
button.fm-board-line:hover{
  filter:brightness(.985);
  box-shadow:inset 0 0 0 1px rgba(15,23,42,.12);
}
.fm-board-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.fm-board-actions > span{display:inline-flex;align-items:center;border:1px solid var(--fm-border);background:#f9fafb;border-radius:999px;padding:7px 12px;color:var(--fm-muted);font-weight:800;font-size:12px}
.fm-board-pdf-btn{padding:8px 12px!important;font-size:12px!important;border-radius:999px!important}
.fm-board-block-modal .fm-modal-dialog{max-width:900px}
.fm-board-block-modal .fm-unsold-modal-grid{grid-template-columns:repeat(auto-fill,minmax(210px,1fr))}
.fm-auction-board-panel .fm-box,
.fm-auction-board-panel .fm-board-note{display:none!important}




/* v1.0.78-test - PDF a colori */
.fm-board-pdf-btn{
  background:#111827!important;
  color:#ffffff!important;
  border-color:#111827!important;
}



/* v1.0.79-test - PDF A4 orizzontale 6 squadre per pagina */
.fm-auction-board-pages,
.fm-auction-board-page{
  display:contents;
}




/* v1.0.80-test - correzione PDF: solo 2 A4 orizzontali, 6 squadre per foglio */



/* v1.0.81-test - stampa pulita: PDF colori in 2 sole pagine A4 orizzontali */
.fm-board-pdf-btn{
  background:#111827!important;
  color:#ffffff!important;
  border-color:#111827!important;
}




/* v1.0.82-test - estrazione PDF rimossa */
.fm-board-pdf-btn,
[data-fm-print-board]{
  display:none!important;
}


/* v1.0.83 - stabilizzazione Quadro Rose Live */
.fm-test-badge{
  display:none!important;
}
.fm-auction-board-panel .fm-table-title h3{
  display:flex;
  align-items:center;
  gap:8px;
}


/* v1.0.84 - Recupero blocchi non acquistati */
.fm-recovery-panel .description{
  margin:0 0 14px;
  color:#64748b;
  font-weight:700;
}
.fm-recovery-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}
.fm-recovery-group{
  border:1px solid var(--fm-border);
  border-radius:16px;
  background:#ffffff;
  overflow:hidden;
}
.fm-recovery-group h4{
  margin:0;
  padding:10px 12px;
  background:#0f172a;
  color:#fff;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.05em;
}
.fm-recovery-group p{
  margin:12px;
  color:#64748b;
  font-weight:800;
}
.fm-recovery-item{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1.2fr) auto;
  gap:8px;
  align-items:center;
  padding:9px 10px;
  border-top:1px solid #e5e7eb;
  background:#f8fafc;
}
.fm-recovery-item strong{
  font-size:12px;
  text-transform:uppercase;
  color:#0f172a;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.fm-recovery-item span{
  font-size:11px;
  font-weight:900;
  color:#475569;
  text-transform:uppercase;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.fm-recovery-item em{
  font-style:normal;
  font-size:11px;
  font-weight:1000;
  padding:5px 8px;
  border-radius:999px;
  background:#ffedd5;
  color:#9a3412;
  white-space:nowrap;
}
.fm-live-dark .fm-recovery-panel,
.fm-live-dark .fm-recovery-group{
  background:#0f172a!important;
  border-color:#334155!important;
}
.fm-live-dark .fm-recovery-item{
  background:#111827!important;
  border-color:#334155!important;
}
.fm-live-dark .fm-recovery-item strong{color:#f8fafc!important}
.fm-live-dark .fm-recovery-item span{color:#cbd5e1!important}
@media(max-width:900px){
  .fm-recovery-grid{grid-template-columns:1fr}
  .fm-recovery-item{grid-template-columns:1fr}
}


/* v1.0.85 - Pannello Correzioni ASTA Live */
.fm-auction-corrections-panel{
  border:1px solid #f59e0b!important;
  background:linear-gradient(180deg,#fffbeb 0%,#ffffff 60%)!important;
}
.fm-correction-intro{
  margin:0 0 14px;
  font-size:13px;
  font-weight:800;
  color:#92400e;
}
.fm-corrections-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
}
.fm-correction-card{
  display:flex;
  flex-direction:column;
  gap:9px;
  padding:13px;
  border:1px solid #fed7aa;
  border-radius:16px;
  background:#fff;
  box-shadow:0 10px 24px rgba(15,23,42,.06);
}
.fm-correction-card h4{
  margin:0 0 2px;
  font-size:13px;
  text-transform:uppercase;
  letter-spacing:.04em;
  color:#111827;
}
.fm-correction-card label{
  display:flex;
  flex-direction:column;
  gap:5px;
  font-size:11px;
  font-weight:1000;
  color:#475569;
  text-transform:uppercase;
}
.fm-correction-card select,
.fm-correction-card input{
  width:100%;
  min-height:38px;
  border-radius:11px;
  border:1px solid #cbd5e1;
  padding:7px 9px;
  background:#fff;
  color:#0f172a;
  font-size:12px;
  font-weight:800;
}
.fm-live-dark .fm-auction-corrections-panel{
  background:linear-gradient(180deg,#451a03 0%,#0f172a 70%)!important;
  border-color:#f59e0b!important;
}
.fm-live-dark .fm-correction-intro{color:#fde68a!important}
.fm-live-dark .fm-correction-card{
  background:#111827!important;
  border-color:#78350f!important;
}
.fm-live-dark .fm-correction-card h4{color:#f8fafc!important}
.fm-live-dark .fm-correction-card label{color:#cbd5e1!important}
.fm-live-dark .fm-correction-card select,
.fm-live-dark .fm-correction-card input{
  background:#020617!important;
  color:#f8fafc!important;
  border-color:#334155!important;
}
@media(max-width:1200px){
  .fm-corrections-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
  .fm-corrections-grid{grid-template-columns:1fr}
}


/* v1.0.86 - Correzioni ASTA più pratiche */
.fm-auction-corrections-panel .fm-table-title p{
  margin:4px 0 0;
  color:#92400e;
  font-weight:800;
  font-size:12px;
}
.fm-correction-quickbar{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:0 0 14px;
  padding:8px;
  border-radius:16px;
  background:#fff7ed;
  border:1px solid #fed7aa;
}
.fm-correction-tab{
  appearance:none;
  border:1px solid #fed7aa;
  background:#ffffff;
  color:#7c2d12;
  border-radius:999px;
  padding:8px 12px;
  font-size:12px;
  font-weight:1000;
  cursor:pointer;
}
.fm-correction-tab.is-active{
  background:#f97316;
  color:#ffffff;
  border-color:#f97316;
  box-shadow:0 8px 18px rgba(249,115,22,.22);
}
.fm-corrections-grid{
  grid-template-columns:1fr!important;
}
.fm-correction-card{
  display:none!important;
}
.fm-correction-card.is-active{
  display:flex!important;
}
.fm-smart-select{
  display:flex;
  flex-direction:column;
  gap:6px;
}
.fm-correction-search{
  width:100%;
  min-height:40px;
  border-radius:12px;
  border:2px solid #f59e0b!important;
  background:#fff!important;
  padding:8px 11px;
  font-size:13px;
  font-weight:900;
  color:#0f172a!important;
}
.fm-smart-select select{
  min-height:172px!important;
  height:172px!important;
  padding:6px!important;
  border-radius:12px!important;
  font-size:12px!important;
}
.fm-smart-select select option{
  padding:7px 8px;
  font-weight:850;
}
.fm-smart-select small{
  color:#64748b;
  font-weight:800;
  font-size:11px;
}
.fm-smart-select::after{
  content:attr(data-results) " risultati visibili";
  display:none;
  align-self:flex-start;
  font-size:11px;
  font-weight:1000;
  color:#9a3412;
  background:#ffedd5;
  border-radius:999px;
  padding:4px 8px;
}
.fm-smart-select[data-results]::after{
  display:inline-flex;
}
.fm-correction-row{
  display:grid;
  grid-template-columns:1fr 160px;
  gap:10px;
  align-items:end;
}
.fm-correction-row.one{
  grid-template-columns:180px;
}
.fm-correction-card h4{
  font-size:15px!important;
}
.fm-live-dark .fm-correction-quickbar{
  background:#111827!important;
  border-color:#334155!important;
}
.fm-live-dark .fm-correction-tab{
  background:#020617!important;
  color:#fde68a!important;
  border-color:#78350f!important;
}
.fm-live-dark .fm-correction-tab.is-active{
  background:#f97316!important;
  color:#fff!important;
  border-color:#f97316!important;
}
.fm-live-dark .fm-correction-search{
  background:#020617!important;
  color:#f8fafc!important;
  border-color:#f59e0b!important;
}
.fm-live-dark .fm-smart-select small{color:#cbd5e1!important}
@media(max-width:760px){
  .fm-correction-row,
  .fm-correction-row.one{
    grid-template-columns:1fr;
  }
  .fm-smart-select select{
    min-height:210px!important;
    height:210px!important;
  }
}


/* v1.0.87 - Pannello correzioni collassato */
.fm-auction-corrections-panel{
  padding:14px!important;
}
.fm-correction-closed-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}
.fm-correction-closed-head h3{
  margin:0;
  font-size:18px;
  color:#111827;
}
.fm-correction-closed-head p{
  margin:4px 0 0;
  font-size:12px;
  font-weight:800;
  color:#92400e;
}
.fm-correction-toggle{
  white-space:nowrap;
}
.fm-correction-body{
  margin-top:14px;
  border-top:1px solid #fed7aa;
  padding-top:14px;
}
.fm-auction-corrections-panel.is-collapsed .fm-correction-body{
  display:none!important;
}
.fm-auction-corrections-panel.is-collapsed{
  background:linear-gradient(90deg,#fffbeb 0%,#ffffff 65%)!important;
}
.fm-auction-corrections-panel.is-open{
  background:linear-gradient(180deg,#fffbeb 0%,#ffffff 50%)!important;
}
.fm-correction-close-link{
  margin-left:auto;
  appearance:none;
  border:0;
  background:transparent;
  color:#92400e;
  font-size:12px;
  font-weight:1000;
  text-decoration:underline;
  cursor:pointer;
}
.fm-live-dark .fm-correction-closed-head h3{color:#f8fafc!important}
.fm-live-dark .fm-correction-closed-head p{color:#fde68a!important}
.fm-live-dark .fm-auction-corrections-panel.is-collapsed,
.fm-live-dark .fm-auction-corrections-panel.is-open{
  background:linear-gradient(180deg,#451a03 0%,#0f172a 70%)!important;
}
.fm-live-dark .fm-correction-body{
  border-top-color:#78350f!important;
}
.fm-live-dark .fm-correction-close-link{color:#fde68a!important}
@media(max-width:760px){
  .fm-correction-closed-head{
    align-items:stretch;
    flex-direction:column;
  }
  .fm-correction-toggle{
    width:100%;
  }
}


/* v1.0.88 - Rifinitura grafica ASTA Live gestore */
.fm-auction-live-app .fm-auction-hero{
  border:1px solid rgba(15,23,42,.08);
  box-shadow:0 18px 48px rgba(15,23,42,.10);
}
.fm-auction-live-app .fm-auction-counter{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-top:10px;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.88);
  color:#0f172a;
  font-weight:900;
  box-shadow:0 8px 22px rgba(15,23,42,.10);
}
.fm-manager-draw-stage{
  position:relative;
  overflow:hidden;
  border:1px solid rgba(15,23,42,.10)!important;
  box-shadow:0 24px 60px rgba(15,23,42,.13)!important;
}
.fm-manager-draw-stage::before{
  content:"NOME ESTRATTO";
  position:absolute;
  top:12px;
  right:14px;
  padding:6px 9px;
  border-radius:999px;
  background:rgba(15,23,42,.08);
  color:#475569;
  font-size:10px;
  font-weight:1000;
  letter-spacing:.08em;
}
.fm-manager-draw-stage > span{
  font-size:14px!important;
  font-weight:1000!important;
  text-transform:uppercase;
  letter-spacing:.06em;
}
.fm-manager-draw-stage > strong{
  font-size:clamp(34px,4.6vw,68px)!important;
  line-height:.96!important;
  letter-spacing:-.04em;
  text-transform:uppercase;
}
.fm-manager-draw-stage > b{
  display:inline-flex!important;
  align-self:center;
  margin-top:8px;
  padding:7px 13px;
  border-radius:999px;
  background:#0f172a;
  color:#fff;
  font-size:14px!important;
  font-weight:1000;
  text-transform:uppercase;
}
.fm-manager-draw-stage > em{
  margin-top:10px!important;
  color:#475569!important;
  font-weight:1000!important;
}
.fm-manager-action-panel{
  border:1px solid #c7d2fe!important;
  background:linear-gradient(180deg,#eef2ff 0%,#ffffff 62%)!important;
  box-shadow:0 18px 44px rgba(30,64,175,.10)!important;
}
.fm-manager-action-panel .fm-auction-action-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:12px;
}
.fm-manager-action-panel .fm-auction-action-head h3{
  margin:0;
  font-size:20px;
  color:#1e1b4b;
}
.fm-manager-action-panel .fm-auction-action-head p{
  margin:5px 0 0;
  color:#475569;
  font-size:12px;
  font-weight:850;
}
.fm-auction-action-grid{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(270px,.36fr)!important;
  gap:14px!important;
  align-items:stretch!important;
}
.fm-manager-assign-form,
.fm-auction-unsold-inline{
  border-radius:18px;
  border:1px solid #dbeafe;
  background:#ffffff;
  padding:14px;
  box-shadow:0 10px 28px rgba(15,23,42,.06);
}
.fm-manager-assign-form{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 160px auto!important;
  gap:12px!important;
  align-items:end!important;
}
.fm-manager-assign-form label,
.fm-auction-unsold-inline small{
  font-weight:900;
}
.fm-manager-assign-form select,
.fm-manager-assign-form input{
  min-height:44px!important;
  border-radius:13px!important;
  border:1px solid #cbd5e1!important;
  background:#f8fafc!important;
  font-weight:900!important;
}
.fm-auction-action-buttons .fm-submit,
.fm-manager-assign-form .fm-submit{
  min-height:44px!important;
  border-radius:13px!important;
  font-size:13px!important;
  font-weight:1000!important;
  box-shadow:0 12px 24px rgba(37,99,235,.20)!important;
}
.fm-auction-unsold-inline{
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  gap:8px!important;
  border-color:#fed7aa!important;
  background:linear-gradient(180deg,#fff7ed 0%,#ffffff 100%)!important;
}
.fm-auction-unsold-inline .fm-submit{
  background:#fff!important;
  color:#9a3412!important;
  border:1px solid #fdba74!important;
  min-height:44px!important;
  border-radius:13px!important;
  font-weight:1000!important;
}
.fm-auction-unsold-inline small{
  color:#9a3412!important;
  line-height:1.25;
}
.fm-auction-live-app > .fm-grid.two{
  align-items:start;
}
.fm-auction-live-app > .fm-grid.two > .fm-panel{
  border:1px solid rgba(15,23,42,.08);
  box-shadow:0 14px 34px rgba(15,23,42,.07);
}
.fm-auction-live-app > .fm-grid.two > .fm-panel h3,
.fm-unsold-card-panel h3{
  margin-top:0;
  padding-bottom:8px;
  border-bottom:1px solid #e5e7eb;
  color:#0f172a;
  font-size:17px;
}
.fm-auction-live-app .widefat.striped tr.fm-latest-purchase td,
.fm-auction-live-app .fm-table tr.fm-latest-purchase td{
  background:#ecfdf5!important;
  font-weight:900;
}
.fm-unsold-card-grid{
  gap:10px!important;
}
.fm-unsold-card{
  border-radius:16px!important;
  border:1px solid #e5e7eb!important;
  background:linear-gradient(180deg,#ffffff 0%,#f8fafc 100%)!important;
  box-shadow:0 10px 22px rgba(15,23,42,.06)!important;
}
.fm-unsold-card span{
  font-weight:900!important;
  color:#475569!important;
}
.fm-unsold-card strong{
  color:#0f172a!important;
}
.fm-unsold-card em{
  color:#2563eb!important;
  font-weight:900!important;
}
.fm-auction-corrections-panel{
  margin-top:16px!important;
  margin-bottom:16px!important;
}
.fm-auction-board-panel{
  margin-top:18px!important;
}
.fm-live-dark .fm-manager-action-panel{
  background:linear-gradient(180deg,#111827 0%,#020617 100%)!important;
  border-color:#334155!important;
}
.fm-live-dark .fm-manager-action-panel .fm-auction-action-head h3{color:#f8fafc!important}
.fm-live-dark .fm-manager-action-panel .fm-auction-action-head p{color:#cbd5e1!important}
.fm-live-dark .fm-manager-assign-form,
.fm-live-dark .fm-auction-unsold-inline{
  background:#0f172a!important;
  border-color:#334155!important;
}
.fm-live-dark .fm-manager-assign-form select,
.fm-live-dark .fm-manager-assign-form input{
  background:#020617!important;
  color:#f8fafc!important;
  border-color:#334155!important;
}
.fm-live-dark .fm-auction-unsold-inline small{color:#fde68a!important}
.fm-live-dark .fm-auction-live-app > .fm-grid.two > .fm-panel h3,
.fm-live-dark .fm-unsold-card-panel h3{color:#f8fafc!important;border-color:#334155!important}
.fm-live-dark .fm-unsold-card{
  background:#111827!important;
  border-color:#334155!important;
}
.fm-live-dark .fm-unsold-card span{color:#cbd5e1!important}
.fm-live-dark .fm-unsold-card strong{color:#f8fafc!important}
@media(max-width:980px){
  .fm-auction-action-grid{
    grid-template-columns:1fr!important;
  }
  .fm-manager-assign-form{
    grid-template-columns:1fr!important;
  }
}


/* v1.0.89 - hotfix grafico ASTA Live gestore */
.fm-manager-draw-stage{
  padding:34px 34px 30px!important;
  min-height:310px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  background:
    radial-gradient(circle at 16% 22%, rgba(255,255,255,.92), rgba(255,255,255,0) 24%),
    radial-gradient(circle at 86% 20%, rgba(255,255,255,.52), rgba(255,255,255,0) 18%),
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(248,250,252,.98)),
    var(--fm-draw-bg, #fff)!important;
}
.fm-manager-draw-stage::before{
  content:"NOME ESTRATTO"!important;
  inset:auto 18px auto auto!important;
  left:auto!important;
  right:18px!important;
  top:16px!important;
  bottom:auto!important;
  width:auto!important;
  height:auto!important;
  min-width:0!important;
  padding:7px 11px!important;
  background:rgba(255,255,255,.92)!important;
  border:1px solid rgba(15,23,42,.08)!important;
  border-radius:999px!important;
  color:#475569!important;
  font-size:10px!important;
  line-height:1!important;
  font-weight:1000!important;
  letter-spacing:.08em!important;
  opacity:1!important;
  box-shadow:0 8px 20px rgba(15,23,42,.08)!important;
  z-index:2!important;
}
.fm-manager-draw-stage::after{
  opacity:.22!important;
}
.fm-manager-draw-stage > span,
.fm-manager-draw-stage > strong,
.fm-manager-draw-stage > b,
.fm-manager-draw-stage > em{
  position:relative;
  z-index:1;
}
.fm-manager-draw-stage > span{
  margin:0 0 2px!important;
}
.fm-manager-draw-stage > strong{
  max-width:1000px!important;
  margin:0 auto!important;
}
.fm-manager-draw-stage > b{
  margin-top:4px!important;
}
.fm-manager-draw-stage > em{
  margin-top:6px!important;
}
.fm-manager-action-panel{
  padding:18px 22px!important;
}
.fm-manager-action-panel .fm-box.success{
  margin:0 0 14px!important;
  border-radius:16px!important;
  font-weight:900!important;
}
.fm-manager-assign-form,
.fm-auction-unsold-inline{
  min-height:118px;
}
.fm-unsold-card-panel .fm-panel,
.fm-unsold-card-panel{
  overflow:visible!important;
}
.fm-unsold-card-grid{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:12px!important;
}
.fm-unsold-card{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 48px!important;
  align-items:center!important;
  gap:6px 12px!important;
  min-height:92px!important;
  padding:14px 14px!important;
}
.fm-unsold-card span{
  grid-column:1!important;
  grid-row:1!important;
  font-size:13px!important;
  line-height:1.25!important;
  color:#334155!important;
}
.fm-unsold-card strong{
  grid-column:2!important;
  grid-row:1 / span 2!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:44px!important;
  height:44px!important;
  border-radius:999px!important;
  background:#0f172a!important;
  color:#ffffff!important;
  font-size:17px!important;
  font-weight:1000!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.06)!important;
}
.fm-unsold-card em{
  grid-column:1!important;
  grid-row:2!important;
  font-style:normal!important;
  font-size:11px!important;
  font-weight:900!important;
  color:#2563eb!important;
}
.fm-auction-live-app > .fm-grid.two{
  grid-template-columns:minmax(0,1fr) minmax(360px,.92fr)!important;
  gap:18px!important;
}
.fm-auction-live-app .fm-table-wrap{
  overflow:auto hidden!important;
}
@media(max-width:1200px){
  .fm-unsold-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:980px){
  .fm-auction-live-app > .fm-grid.two{grid-template-columns:1fr!important}
}
@media(max-width:760px){
  .fm-manager-draw-stage{min-height:240px!important;padding:26px 18px 22px!important}
  .fm-manager-draw-stage::before{top:10px!important;right:10px!important;padding:6px 9px!important}
  .fm-unsold-card-grid{grid-template-columns:1fr!important}
  .fm-unsold-card{grid-template-columns:minmax(0,1fr) 44px!important}
}


/* v1.0.90 - micro rifiniture gestore ASTA Live */
.fm-manager-draw-stage > b{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:38px!important;
  padding:8px 18px!important;
  border-radius:999px!important;
  background:rgba(15,23,42,.96)!important;
  border:1px solid rgba(255,255,255,.08)!important;
  box-shadow:0 10px 24px rgba(15,23,42,.10)!important;
  color:#fff!important;
  font-size:18px!important;
  font-weight:1000!important;
  letter-spacing:.02em!important;
  line-height:1!important;
}
.fm-manager-action-panel .fm-auction-action-head h3{
  margin-bottom:4px!important;
}
.fm-manager-action-panel .fm-auction-action-head p{
  margin-bottom:14px!important;
}
.fm-auction-unsold-inline .fm-submit.secondary{
  min-width:220px!important;
  font-weight:1000!important;
  letter-spacing:.03em!important;
}
.fm-auction-board-panel .fm-table-title h3{
  letter-spacing:-.02em!important;
}
@media(max-width:760px){
  .fm-manager-draw-stage > b{
    font-size:15px!important;
    min-height:34px!important;
    padding:7px 14px!important;
  }
  .fm-auction-unsold-inline .fm-submit.secondary{min-width:0!important;width:100%!important}
}


/* v1.0.93 - Rifinitura grafica ASTA Live partecipanti */
.fm-spectator-note{
  border-left:0!important;
  border:1px solid #bfdbfe!important;
  background:linear-gradient(90deg,#eff6ff 0%,#ffffff 74%)!important;
  color:#1e3a8a!important;
  border-radius:18px!important;
  font-weight:850!important;
  box-shadow:0 10px 24px rgba(30,64,175,.07)!important;
}
.fm-spectator-side-grid{
  gap:18px!important;
  margin-top:18px!important;
}
.fm-spectator-side-grid > .fm-panel,
.fm-spectator-roster-panel{
  border:1px solid rgba(15,23,42,.08)!important;
  box-shadow:0 14px 34px rgba(15,23,42,.07)!important;
}
.fm-spectator-side-grid h3,
.fm-spectator-roster-header h3{
  margin-top:0!important;
  color:#0f172a!important;
  font-size:20px!important;
  letter-spacing:-.02em!important;
}
.fm-spectator-roster-panel{
  background:linear-gradient(180deg,#ffffff 0%,#f8fafc 100%)!important;
  border-radius:24px!important;
  padding:22px!important;
}
.fm-spectator-roster-header{
  padding-bottom:14px!important;
  border-bottom:1px solid #e5e7eb!important;
  margin-bottom:14px!important;
}
.fm-spectator-roster-sub{
  color:#64748b!important;
  font-size:13px!important;
  font-weight:800!important;
}
.fm-spectator-roster-meta{
  margin:0 0 16px!important;
}
.fm-spectator-roster-meta .fm-pill,
.fm-personal-credit-row span{
  min-height:40px!important;
  padding:8px 13px!important;
  border-radius:999px!important;
  border:1px solid #dbeafe!important;
  background:#ffffff!important;
  box-shadow:0 8px 18px rgba(15,23,42,.04)!important;
  font-weight:900!important;
}
.fm-spectator-role-card{
  border-radius:20px!important;
  padding:13px!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.55), 0 10px 24px rgba(15,23,42,.04)!important;
}
.fm-spectator-role-head{
  min-height:54px!important;
  align-items:center!important;
}
.fm-spectator-role-head h4{
  font-size:15px!important;
  letter-spacing:.08em!important;
}
.fm-spectator-role-head p{
  font-size:11px!important;
  font-weight:900!important;
}
.fm-spectator-role-stats{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:7px!important;
  margin:10px 0 2px!important;
}
.fm-spectator-role-stats .fm-role-stat{
  padding:7px 8px!important;
  border-radius:12px!important;
  background:rgba(255,255,255,.72)!important;
  border:1px solid rgba(15,23,42,.06)!important;
  font-size:11px!important;
  font-weight:900!important;
}
.fm-spectator-slot{
  grid-template-columns:30px minmax(0,1fr)!important;
  gap:7px!important;
}
.fm-spectator-slot-index{
  min-height:56px!important;
  border-radius:11px!important;
  font-size:11px!important;
}
.fm-live-roster-token{
  min-height:56px!important;
  padding:8px 10px!important;
  border-radius:13px!important;
}
.fm-live-roster-token .fm-token-main{
  gap:2px!important;
}
.fm-live-roster-token strong{
  font-size:12.5px!important;
  line-height:1.15!important;
  letter-spacing:-.01em!important;
}
.fm-live-roster-token .fm-token-meta{
  font-size:10.5px!important;
  font-weight:800!important;
}
.fm-slot-type{
  min-width:24px!important;
  height:22px!important;
  border-radius:999px!important;
  font-size:10px!important;
  font-weight:1000!important;
}
.fm-token-price,
.fm-live-roster-token .fm-token-chip{
  min-width:28px!important;
  height:28px!important;
  padding:0 7px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:999px!important;
  background:#0f172a!important;
  color:#fff!important;
  font-size:11px!important;
  font-weight:1000!important;
}
.fm-live-roster-token.is-block{
  min-height:62px!important;
  border-width:2px!important;
}
.fm-live-roster-token.is-block strong{
  font-size:13px!important;
}
.fm-live-roster-token.is-empty{
  opacity:.62!important;
  background:rgba(255,255,255,.55)!important;
}
.fm-live-roster-token.is-empty strong,
.fm-live-roster-token.is-empty .fm-token-meta{
  color:#94a3b8!important;
}
.fm-spectator-side-grid .fm-table,
.fm-spectator-side-grid .widefat{
  font-size:13px!important;
}
.fm-spectator-side-grid .fm-table th,
.fm-spectator-side-grid .fm-table td,
.fm-spectator-side-grid .widefat th,
.fm-spectator-side-grid .widefat td{
  padding:10px 11px!important;
}
.fm-spectator-side-grid .fm-latest-purchase td,
.fm-spectator-side-grid tr.fm-latest-purchase td{
  background:#ecfdf5!important;
  color:#065f46!important;
  font-weight:950!important;
}
.fm-live-dark .fm-spectator-note{
  background:linear-gradient(90deg,#111827 0%,#020617 100%)!important;
  border-color:#334155!important;
  color:#c7d2fe!important;
}
.fm-live-dark .fm-spectator-roster-panel,
.fm-live-dark .fm-spectator-side-grid > .fm-panel{
  background:#0f172a!important;
  border-color:#334155!important;
}
.fm-live-dark .fm-spectator-side-grid h3,
.fm-live-dark .fm-spectator-roster-header h3{
  color:#f8fafc!important;
}
.fm-live-dark .fm-spectator-roster-header{
  border-color:#334155!important;
}
.fm-live-dark .fm-spectator-roster-meta .fm-pill,
.fm-live-dark .fm-personal-credit-row span,
.fm-live-dark .fm-spectator-role-stats .fm-role-stat{
  background:#020617!important;
  border-color:#334155!important;
  color:#e5e7eb!important;
}
.fm-live-dark .fm-live-roster-token.is-empty{
  background:#020617!important;
  opacity:.7!important;
}
@media(max-width:1180px){
  .fm-spectator-roster-grid--slots,
  .fm-spectator-roster-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}
@media(max-width:720px){
  .fm-spectator-roster-panel{
    padding:16px!important;
  }
  .fm-spectator-roster-grid--slots,
  .fm-spectator-roster-grid{
    grid-template-columns:1fr!important;
  }
  .fm-spectator-role-head{
    min-height:0!important;
  }
}


/* v1.0.94 - Stabilizzazione finale Modulo ASTA */
.fm-auction-live-app .fm-auction-live-title::after{
  content:"Modulo ASTA stabile";
  display:inline-flex;
  align-items:center;
  margin-left:10px;
  padding:5px 9px;
  border-radius:999px;
  background:#ecfdf5;
  color:#047857;
  border:1px solid #bbf7d0;
  font-size:10px;
  font-weight:1000;
  letter-spacing:.04em;
  text-transform:uppercase;
  vertical-align:middle;
}
.fm-live-dark .fm-auction-live-title::after{
  background:#064e3b;
  color:#bbf7d0;
  border-color:#047857;
}
@media(max-width:760px){
  .fm-auction-live-app .fm-auction-live-title::after{
    display:flex;
    width:max-content;
    margin:8px 0 0;
  }
}


/* v1.1.0 - separazione Lega / Sotto-lega */
.fm-auction-league-name{
  max-width:none!important;
}
.fm-scope-hint{
  display:inline-flex;
  align-items:center;
  gap:6px;
  border:1px solid #dbeafe;
  background:#eff6ff;
  color:#1d4ed8;
  border-radius:999px;
  padding:6px 10px;
  font-size:11px;
  font-weight:1000;
  text-transform:uppercase;
}


/* v1.1.2 - sicurezza mercato e blackout */
.fm-market-safe-panel{
  border:1px solid #bbf7d0!important;
  background:linear-gradient(90deg,#ecfdf5 0%,#ffffff 74%)!important;
  box-shadow:0 12px 28px rgba(4,120,87,.08)!important;
}
.fm-market-safe-panel h2{
  color:#065f46!important;
  margin-top:0!important;
}
.fm-market-safe-panel p{
  color:#064e3b!important;
  font-weight:800!important;
  line-height:1.45!important;
}
.fm-market-safe-panel .fm-rule-chips span{
  background:#ffffff!important;
  border-color:#bbf7d0!important;
  color:#065f46!important;
}


/* v1.1.4 - Impostazioni Regolamento per Lega */
.fm-rules-selector,
.fm-league-rules-form,
.fm-rules-info-panel{
  border:1px solid #dbeafe!important;
  box-shadow:0 12px 28px rgba(15,23,42,.06)!important;
}
.fm-league-rules-form h2{
  margin-top:24px!important;
  padding-top:18px!important;
  border-top:1px solid #e5e7eb!important;
  color:#0f172a!important;
}
.fm-league-rules-form h2:first-of-type{
  margin-top:0!important;
  padding-top:0!important;
  border-top:0!important;
}
.fm-inline-two{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
}
.fm-checkline{
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  gap:10px!important;
  min-height:42px;
  padding:12px!important;
  border:1px solid #e5e7eb!important;
  border-radius:14px!important;
  background:#f8fafc!important;
  font-weight:900!important;
}
.fm-checkline input{
  margin:0!important;
}
.fm-rules-info-panel{
  background:linear-gradient(90deg,#eff6ff 0%,#ffffff 78%)!important;
}
.fm-rules-info-panel h2{
  color:#1d4ed8!important;
}


/* v1.2.0 - Generatore Regular Season */
.fm-calendar-generator-panel{
  border:1px solid #bbf7d0!important;
  background:linear-gradient(90deg,#ecfdf5 0%,#ffffff 74%)!important;
  box-shadow:0 12px 28px rgba(4,120,87,.08)!important;
}
.fm-calendar-generator-panel h2{
  color:#065f46!important;
}


/* v1.2.1 - Calendario Backend e Frontend */
.fm-front-page-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin:18px 0;
  padding:18px 20px;
  border-radius:24px;
  background:linear-gradient(135deg,#0f172a 0%,#1e293b 100%);
  color:#fff;
}
.fm-front-page-head h2{margin:0;color:#fff;font-size:28px}
.fm-front-page-head p{margin:4px 0 0;color:#cbd5e1;font-weight:800}
.fm-front-mini-link{
  display:inline-flex;
  align-items:center;
  padding:9px 13px;
  border-radius:999px;
  background:#fff;
  color:#0f172a!important;
  text-decoration:none;
  font-weight:1000;
}
.fm-phase-tabs{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:0 0 16px;
}
.fm-phase-tabs a{
  display:inline-flex;
  padding:9px 13px;
  border:1px solid #dbeafe;
  background:#fff;
  color:#1d4ed8;
  border-radius:999px;
  text-decoration:none;
  font-weight:1000;
}
.fm-phase-tabs a.active{
  background:#1d4ed8;
  color:#fff;
}
.fm-calendar-day-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}
.fm-calendar-day-card{
  border:1px solid #e5e7eb;
  border-radius:22px;
  background:#fff;
  box-shadow:0 12px 28px rgba(15,23,42,.06);
  overflow:hidden;
}
.fm-calendar-day-card header{
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding:14px 16px;
  background:#f8fafc;
  border-bottom:1px solid #e5e7eb;
}
.fm-calendar-day-card header span{
  display:block;
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.06em;
  color:#2563eb;
  font-weight:1000;
}
.fm-calendar-day-card h3{
  margin:3px 0 0;
  font-size:17px;
  color:#0f172a;
}
.fm-calendar-day-card header em{
  font-style:normal;
  color:#64748b;
  font-weight:1000;
  white-space:nowrap;
}
.fm-calendar-match-list{
  padding:12px;
  display:grid;
  gap:8px;
}
.fm-calendar-match{
  display:grid;
  grid-template-columns:minmax(0,1fr) 48px minmax(0,1fr);
  align-items:center;
  gap:8px;
  padding:10px;
  border:1px solid #e5e7eb;
  border-radius:14px;
  background:#fff;
}
.fm-calendar-match span{
  display:inline-flex;
  justify-content:center;
  font-weight:1000;
  color:#0f172a;
}
.fm-calendar-match strong:last-child{text-align:right}
.fm-calendar-match .is-my-team{
  color:#047857;
  background:#ecfdf5;
  border-radius:9px;
  padding:4px 6px;
}
.fm-calendar-match.is-neutral{
  background:#fffbeb;
  border-color:#fde68a;
}
.fm-front-table{
  width:100%;
  border-collapse:separate;
  border-spacing:0 7px;
}
.fm-front-table th{
  text-align:left;
  color:#64748b;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.05em;
}
.fm-front-table td{
  background:#fff;
  border-top:1px solid #e5e7eb;
  border-bottom:1px solid #e5e7eb;
  padding:10px;
}
.fm-front-table td:first-child{border-left:1px solid #e5e7eb;border-radius:12px 0 0 12px}
.fm-front-table td:last-child{border-right:1px solid #e5e7eb;border-radius:0 12px 12px 0}
.fm-front-table small{
  display:block;
  color:#64748b;
  font-size:11px;
}
.fm-front-table tr.is-my-row td{
  background:#ecfdf5;
  border-color:#bbf7d0;
}
.fm-calendar-filter-panel,
.fm-calendar-admin-panel{
  border:1px solid #dbeafe!important;
  box-shadow:0 12px 28px rgba(15,23,42,.06)!important;
}
.fm-calendar-kpi-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  margin:14px 0;
}
.fm-calendar-kpi-grid div{
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:18px;
  padding:14px;
  box-shadow:0 10px 22px rgba(15,23,42,.05);
}
.fm-calendar-kpi-grid strong{
  display:block;
  font-size:26px;
  color:#0f172a;
}
.fm-calendar-kpi-grid span{
  color:#64748b;
  font-weight:900;
}
.fm-admin-calendar-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}
.fm-admin-calendar-card{
  border:1px solid #e5e7eb;
  border-radius:20px;
  background:#fff;
  overflow:hidden;
}
.fm-admin-calendar-card header{
  padding:12px 14px;
  background:#f8fafc;
  border-bottom:1px solid #e5e7eb;
}
.fm-admin-calendar-card header span{
  display:block;
  color:#64748b;
  font-size:11px;
  font-weight:900;
}
.fm-admin-calendar-card header strong{
  color:#0f172a;
  font-size:17px;
}
.fm-admin-calendar-meta{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  padding:10px 14px 0;
}
.fm-admin-calendar-meta em{
  font-style:normal;
  border:1px solid #dbeafe;
  background:#eff6ff;
  color:#1d4ed8;
  border-radius:999px;
  padding:4px 8px;
  font-size:11px;
  font-weight:1000;
}
.fm-admin-calendar-form{
  padding:12px 14px 14px;
  display:grid;
  gap:8px;
}
.fm-admin-calendar-form label{
  font-weight:900;
}
.fm-admin-calendar-form input,
.fm-admin-calendar-form select{
  width:100%;
}
@media(max-width:1100px){
  .fm-admin-calendar-grid,
  .fm-calendar-day-grid{grid-template-columns:1fr}
  .fm-calendar-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:680px){
  .fm-front-page-head{display:block}
  .fm-front-mini-link{margin-top:12px}
  .fm-calendar-kpi-grid{grid-template-columns:1fr}
  .fm-calendar-match{grid-template-columns:1fr; text-align:center}
  .fm-calendar-match strong:last-child{text-align:center}
}


/* v1.2.4 - Shortcode pubblici per menu WordPress */
.fm-public-site{
  width:100%;
}
.fm-public-head{
  margin-top:0;
}
.fm-public-home-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
}
.fm-public-home-card{
  min-height:96px;
  padding:18px;
  border-radius:22px;
  background:#fff;
  border:1px solid #e5e7eb;
  box-shadow:0 12px 28px rgba(15,23,42,.06);
  color:#0f172a;
  font-size:17px;
  font-weight:1000;
}
.fm-public-home-card small{
  display:block;
  margin-top:8px;
  color:#64748b;
  font-size:12px;
  font-weight:800;
}
.fm-public-rosters-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}
.fm-public-roster-card{
  border:1px solid #e5e7eb;
  border-radius:24px;
  background:#fff;
  box-shadow:0 12px 28px rgba(15,23,42,.06);
  overflow:hidden;
}
.fm-public-roster-card header{
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding:16px;
  background:#f8fafc;
  border-bottom:1px solid #e5e7eb;
}
.fm-public-roster-card h3{
  margin:0;
  color:#0f172a;
}
.fm-public-roster-card p{
  margin:4px 0 0;
  color:#64748b;
  font-weight:800;
}
.fm-public-roster-card header span{
  align-self:flex-start;
  padding:6px 9px;
  border-radius:999px;
  background:#0f172a;
  color:#fff;
  font-size:11px;
  font-weight:1000;
  white-space:nowrap;
}
.fm-public-blocks{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  padding:12px 14px 0;
}
.fm-public-blocks em{
  font-style:normal;
  padding:5px 8px;
  border-radius:999px;
  background:#fffbeb;
  border:1px solid #fde68a;
  color:#92400e;
  font-size:11px;
  font-weight:1000;
}
.fm-public-player-list{
  padding:14px;
  display:grid;
  gap:7px;
}
.fm-public-role-title{
  margin-top:6px;
  color:#1d4ed8;
  font-size:12px;
  letter-spacing:.08em;
}
.fm-public-player-list div{
  display:flex;
  justify-content:space-between;
  gap:10px;
  border-bottom:1px dashed #e5e7eb;
  padding-bottom:6px;
}
.fm-public-player-list span{
  font-weight:900;
  color:#0f172a;
}
.fm-public-player-list small{
  color:#64748b;
  font-weight:800;
}
.fm-public-placeholder{
  min-height:180px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.fm-public-placeholder h3{
  margin-top:0;
  color:#0f172a;
}
@media(max-width:1100px){
  .fm-public-home-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .fm-public-rosters-grid{grid-template-columns:1fr}
}
@media(max-width:680px){
  .fm-public-home-grid{grid-template-columns:1fr}
}


/* v1.3.0 - Risultati e classifiche */
.fm-results-filter-panel,
.fm-results-panel,
.fm-results-standings-panel{
  border:1px solid #dbeafe!important;
  box-shadow:0 12px 28px rgba(15,23,42,.06)!important;
}
.fm-results-panel .fm-table-title{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-bottom:14px;
}
.fm-results-panel .fm-table-title h2{
  margin:0!important;
}
.fm-results-panel .fm-table-title span{
  display:inline-flex;
  padding:6px 10px;
  border-radius:999px;
  background:#eff6ff;
  color:#1d4ed8;
  font-weight:1000;
}
.fm-results-match-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}
.fm-result-match-card{
  border:1px solid #e5e7eb;
  border-radius:18px;
  background:#fff;
  padding:14px;
}
.fm-result-teams{
  display:grid;
  grid-template-columns:minmax(0,1fr) 46px minmax(0,1fr);
  align-items:center;
  gap:8px;
  margin-bottom:12px;
}
.fm-result-teams strong:last-child{
  text-align:right;
}
.fm-result-teams span{
  text-align:center;
  font-weight:1000;
  color:#64748b;
}
.fm-result-score-inputs{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}
.fm-result-score-inputs input{
  width:100%;
  font-size:18px;
  font-weight:1000;
  text-align:center;
}
.fm-public-result-day .fm-calendar-match span{
  background:#0f172a;
  color:#fff;
  border-radius:999px;
  padding:5px 8px;
}
@media(max-width:900px){
  .fm-results-match-grid{grid-template-columns:1fr}
}


/* v1.3.1 - Miglioramento risultati e classifiche */
.fm-results-kpi-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  margin:14px 0;
}
.fm-results-kpi-grid div{
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:18px;
  padding:14px;
  box-shadow:0 10px 22px rgba(15,23,42,.05);
}
.fm-results-kpi-grid strong{
  display:block;
  font-size:26px;
  color:#0f172a;
}
.fm-results-kpi-grid span{
  color:#64748b;
  font-weight:900;
}
.fm-results-toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:10px 12px;
  margin-bottom:12px;
  background:#f8fafc;
  border:1px solid #e5e7eb;
  border-radius:16px;
}
.fm-results-toolbar span{
  color:#64748b;
  font-weight:900;
}
.fm-result-match-card.is-complete{
  border-color:#bbf7d0;
  background:linear-gradient(180deg,#ecfdf5 0%,#fff 68%);
}
.fm-result-match-card.is-empty{
  border-color:#fed7aa;
  background:linear-gradient(180deg,#fff7ed 0%,#fff 68%);
}
.fm-result-match-card em{
  display:inline-flex;
  margin-top:10px;
  padding:4px 8px;
  border-radius:999px;
  background:#f1f5f9;
  color:#475569;
  font-size:11px;
  font-style:normal;
  font-weight:1000;
}
.fm-zone-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:4px 8px;
  border-radius:999px;
  font-size:11px;
  font-weight:1000;
  white-space:nowrap;
  background:#f1f5f9;
  color:#334155;
}
.fm-zone-champion{
  background:#fef3c7;
  color:#92400e;
}
.fm-zone-promotion{
  background:#dcfce7;
  color:#166534;
}
.fm-zone-playoff{
  background:#dbeafe;
  color:#1d4ed8;
}
.fm-zone-playout{
  background:#ffedd5;
  color:#9a3412;
}
.fm-zone-relegation{
  background:#fee2e2;
  color:#991b1b;
}
.fm-results-legend{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:12px;
}
.fm-front-table .fm-zone-badge{
  font-size:10px;
}
@media(max-width:900px){
  .fm-results-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .fm-results-toolbar{display:block}
  .fm-results-toolbar .button{margin-bottom:8px}
}
@media(max-width:620px){
  .fm-results-kpi-grid{grid-template-columns:1fr}
}


/* v1.3.3 - Fasce gol */
.fm-score-bands-preview{
  margin:14px 0 20px;
  padding:16px;
  border:1px solid #dbeafe;
  border-radius:18px;
  background:linear-gradient(90deg,#eff6ff 0%,#ffffff 80%);
}
.fm-score-bands-preview h3{
  margin:0 0 12px;
  color:#1d4ed8;
}
.fm-score-bands-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
}
.fm-score-bands-grid div{
  border:1px solid #e5e7eb;
  border-radius:14px;
  background:#fff;
  padding:10px;
}
.fm-score-bands-grid strong{
  display:block;
  color:#0f172a;
  font-size:16px;
}
.fm-score-bands-grid span{
  display:block;
  margin-top:4px;
  color:#64748b;
  font-weight:900;
}
@media(max-width:1000px){
  .fm-score-bands-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:560px){
  .fm-score-bands-grid{grid-template-columns:1fr}
}


/* v1.3.5 - Calcolo giornata */
.fm-calc-filter-panel,
.fm-calc-panel,
.fm-calc-next-panel{
  border:1px solid #dbeafe!important;
  box-shadow:0 12px 28px rgba(15,23,42,.06)!important;
}
.fm-calc-kpi-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  margin:14px 0;
}
.fm-calc-kpi-grid div{
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:18px;
  padding:14px;
  box-shadow:0 10px 22px rgba(15,23,42,.05);
}
.fm-calc-kpi-grid strong{
  display:block;
  font-size:26px;
  color:#0f172a;
}
.fm-calc-kpi-grid span{
  color:#64748b;
  font-weight:900;
}
.fm-calc-match-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}
.fm-calc-match-card{
  border:1px solid #e5e7eb;
  border-radius:18px;
  background:#fff;
  padding:14px;
}
.fm-calc-score-row{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
.fm-calc-score-row input{
  width:100%;
  font-size:18px;
  font-weight:1000;
  text-align:center;
}
.fm-calc-score-row em{
  display:inline-flex;
  margin-top:7px;
  padding:4px 8px;
  border-radius:999px;
  background:#0f172a;
  color:#fff;
  font-size:11px;
  font-style:normal;
  font-weight:1000;
}
.fm-calc-next-panel{
  background:linear-gradient(90deg,#eff6ff 0%,#fff 75%)!important;
}
@media(max-width:900px){
  .fm-calc-match-grid{grid-template-columns:1fr}
  .fm-calc-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:620px){
  .fm-calc-kpi-grid,
  .fm-calc-score-row{grid-template-columns:1fr}
}


/* v1.3.7 - Dettaglio voti calciatori */
.fm-detail-votes-btn{
  margin-top:8px!important;
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
}
.fm-player-scores-panel{
  border:1px solid #c7d2fe!important;
  box-shadow:0 14px 34px rgba(30,64,175,.10)!important;
}
.fm-player-scores-panel .fm-table-title span{
  background:#eef2ff;
  color:#3730a3;
}
.fm-player-scores-table input[type="number"]{
  width:90px;
  max-width:100%;
  font-weight:900;
  text-align:center;
}
.fm-player-scores-table th,
.fm-player-scores-table td{
  vertical-align:middle;
}
.fm-inline-check{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-weight:900;
}
@media(max-width:900px){
  .fm-player-scores-table{
    display:block;
    overflow-x:auto;
  }
}


/* v1.3.9 - Consolidamento Rose */
.fm-roster-status-filter,
.fm-roster-status-panel,
.fm-roster-status-next{
  border:1px solid #dbeafe!important;
  box-shadow:0 12px 28px rgba(15,23,42,.06)!important;
}
.fm-roster-kpi-grid{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:12px;
  margin:14px 0;
}
.fm-roster-kpi-grid div{
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:18px;
  padding:14px;
  box-shadow:0 10px 22px rgba(15,23,42,.05);
}
.fm-roster-kpi-grid strong{
  display:block;
  font-size:26px;
  color:#0f172a;
}
.fm-roster-kpi-grid span{
  color:#64748b;
  font-weight:900;
}
.fm-roster-status-table small{
  display:block;
  color:#64748b;
  margin-top:3px;
}
.fm-roster-status-badge{
  display:inline-flex;
  padding:5px 9px;
  border-radius:999px;
  font-size:11px;
  font-weight:1000;
  white-space:nowrap;
}
.fm-roster-status-complete{
  background:#dcfce7;
  color:#166534;
}
.fm-roster-status-incomplete{
  background:#ffedd5;
  color:#9a3412;
}
.fm-roster-status-empty{
  background:#fee2e2;
  color:#991b1b;
}
.fm-role-count{
  display:inline-flex;
  padding:4px 8px;
  border-radius:999px;
  font-weight:1000;
  background:#f1f5f9;
  color:#334155;
}
.fm-role-count.is-ok{
  background:#dcfce7;
  color:#166534;
}
.fm-role-count.is-missing{
  background:#fee2e2;
  color:#991b1b;
}
.fm-roster-status-next{
  background:linear-gradient(90deg,#eff6ff 0%,#fff 75%)!important;
}
@media(max-width:1100px){
  .fm-roster-kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .fm-roster-status-table{display:block; overflow-x:auto}
}
@media(max-width:640px){
  .fm-roster-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}


/* v1.3.10 - Pulizia duplicazione Rose/Stato Rose */
.fm-rosters-cleanup-note{
  border:1px solid #dbeafe!important;
  background:linear-gradient(90deg,#eff6ff 0%,#ffffff 75%)!important;
}
.fm-rosters-cleanup-note h2{
  margin-top:0!important;
}


/* v1.4.0 - Formazioni collegate alle rose */
.fm-lineups-filter-panel,
.fm-lineups-status-panel,
.fm-lineups-next-panel{
  border:1px solid #dbeafe!important;
  box-shadow:0 12px 28px rgba(15,23,42,.06)!important;
}
.fm-lineups-kpi-grid{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:12px;
  margin:14px 0;
}
.fm-lineups-kpi-grid div{
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:18px;
  padding:14px;
  box-shadow:0 10px 22px rgba(15,23,42,.05);
}
.fm-lineups-kpi-grid strong{
  display:block;
  font-size:22px;
  color:#0f172a;
}
.fm-lineups-kpi-grid span{
  color:#64748b;
  font-weight:900;
}
.fm-lineups-status-table small{
  display:block;
  color:#64748b;
  margin-top:3px;
}
.fm-lineup-status-badge{
  display:inline-flex;
  padding:5px 9px;
  border-radius:999px;
  font-size:11px;
  font-weight:1000;
  white-space:nowrap;
}
.fm-lineup-status-submitted{
  background:#dcfce7;
  color:#166534;
}
.fm-lineup-status-missing{
  background:#ffedd5;
  color:#9a3412;
}
.fm-lineup-status-partial{
  background:#dbeafe;
  color:#1d4ed8;
}
.fm-lineup-status-noroster{
  background:#fee2e2;
  color:#991b1b;
}
.fm-lineups-next-panel{
  background:linear-gradient(90deg,#eff6ff 0%,#fff 75%)!important;
}
.fm-lineup-roster-summary{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  margin:10px 0 14px;
  padding:12px 14px;
  border:1px solid #dbeafe;
  border-radius:16px;
  background:#eff6ff;
}
.fm-lineup-roster-summary span{
  font-weight:1000;
  color:#1d4ed8;
}
.fm-lineup-roster-summary strong{
  font-size:22px;
  color:#0f172a;
}
.fm-lineup-roster-summary em{
  font-style:normal;
  font-weight:900;
  color:#475569;
}
@media(max-width:1100px){
  .fm-lineups-kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .fm-lineups-status-table{display:block; overflow-x:auto}
}
@media(max-width:640px){
  .fm-lineups-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}


/* v1.4.1 - Import rapido rose */
.fm-import-rosters-panel{
  border:1px solid #dbeafe!important;
  box-shadow:0 12px 28px rgba(15,23,42,.06)!important;
}
.fm-import-rosters-panel code{
  font-size:12px;
}


/* v1.4.2 - Origine calciatori da blocchi */
.fm-player-origin-badge{
  display:inline-flex;
  padding:4px 8px;
  border-radius:999px;
  font-size:11px;
  font-weight:1000;
  white-space:nowrap;
  background:#f1f5f9;
  color:#334155;
}
.fm-player-origin-badge.is-block{
  background:#dbeafe;
  color:#1d4ed8;
}
.fm-player-origin-badge.is-single{
  background:#dcfce7;
  color:#166534;
}


/* v1.4.3 - Frontend formazione moderna */
.fm-lineup-modern-app{
  max-width:1180px;
  margin:0 auto;
}
.fm-lineup-hero{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:18px;
  margin:18px 0;
  padding:22px;
  border-radius:24px;
  background:linear-gradient(135deg,#0f172a 0%,#1e3a8a 100%);
  color:#fff;
  box-shadow:0 20px 45px rgba(15,23,42,.18);
}
.fm-lineup-hero span{
  display:block;
  font-size:12px;
  font-weight:1000;
  letter-spacing:.08em;
  text-transform:uppercase;
  opacity:.8;
}
.fm-lineup-hero h2{
  margin:4px 0;
  color:#fff!important;
  font-size:30px;
}
.fm-lineup-hero p{
  margin:0;
  opacity:.85;
}
.fm-lineup-hero-badge{
  min-width:96px;
  text-align:center;
  padding:14px 18px;
  border-radius:20px;
  background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.24);
  font-size:24px;
  font-weight:1000;
}
.fm-lineup-modern-form{
  padding:22px!important;
  border-radius:24px!important;
}
.fm-lineup-module-card{
  display:grid;
  grid-template-columns:minmax(220px,320px) 1fr;
  gap:18px;
  align-items:end;
  padding:16px;
  border-radius:20px;
  background:#f8fafc;
  border:1px solid #e2e8f0;
  margin-bottom:14px;
}
.fm-lineup-module-card p{
  margin:0 0 8px;
  color:#64748b;
  font-weight:800;
}
.fm-lineup-rule-box{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  align-items:center;
  padding:14px;
  margin:14px 0 22px;
  border-radius:18px;
  background:#eff6ff;
  border:1px solid #dbeafe;
}
.fm-lineup-rule-box strong{
  color:#1d4ed8;
  margin-right:4px;
}
.fm-lineup-rule-box span{
  display:inline-flex;
  padding:5px 9px;
  border-radius:999px;
  background:#fff;
  color:#334155;
  font-weight:900;
  font-size:12px;
}
.fm-lineup-section{
  margin-top:24px;
}
.fm-lineup-section-title{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:12px;
}
.fm-lineup-section-title h3{
  margin:0!important;
  font-size:24px;
}
.fm-lineup-section-title span{
  padding:6px 10px;
  border-radius:999px;
  background:#0f172a;
  color:#fff;
  font-weight:1000;
}
.fm-lineup-slots-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}
.fm-lineup-slot{
  display:block;
  padding:13px;
  border-radius:18px;
  background:#fff;
  border:1px solid #e5e7eb;
  box-shadow:0 10px 24px rgba(15,23,42,.05);
}
.fm-lineup-slot > span{
  display:flex;
  align-items:center;
  gap:8px;
  margin-bottom:8px;
  color:#0f172a;
  font-weight:1000;
}
.fm-lineup-slot select{
  width:100%;
  min-height:42px;
  border-radius:12px!important;
}
.fm-lineup-role-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:28px;
  height:28px;
  border-radius:999px;
  font-style:normal;
  font-size:12px;
  font-weight:1000;
  color:#fff;
}
.fm-lineup-role-pill.fm-role-P{background:#0284c7}
.fm-lineup-role-pill.fm-role-D{background:#16a34a}
.fm-lineup-role-pill.fm-role-C{background:#ca8a04}
.fm-lineup-role-pill.fm-role-A{background:#dc2626}
.fm-lineup-slot-P{border-color:#bae6fd}
.fm-lineup-slot-D{border-color:#bbf7d0}
.fm-lineup-slot-C{border-color:#fde68a}
.fm-lineup-slot-A{border-color:#fecaca}
.fm-lineup-actions{
  display:flex;
  gap:14px;
  align-items:center;
  margin-top:24px;
  padding-top:18px;
  border-top:1px solid #e5e7eb;
}
.fm-lineup-actions p{
  margin:0;
  color:#64748b;
  font-weight:800;
}
.fm-lineup-modern-form select.has-duplicate{
  border-color:#ef4444!important;
  box-shadow:0 0 0 3px rgba(239,68,68,.14)!important;
}
@media(max-width:1000px){
  .fm-lineup-slots-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .fm-lineup-module-card{grid-template-columns:1fr}
}
@media(max-width:640px){
  .fm-lineup-hero{display:block}
  .fm-lineup-hero-badge{margin-top:14px}
  .fm-lineup-slots-grid{grid-template-columns:1fr}
  .fm-lineup-actions{display:block}
}


/* v1.4.4 - Formazione stile campo e panchina regolamentare */
.fm-lineup-pitch-app{
  max-width:1240px;
  margin:0 auto;
}
.fm-lineup-topbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  margin:18px 0;
  padding:20px 22px;
  border-radius:26px;
  background:linear-gradient(135deg,#07111f 0%,#123b2b 55%,#14532d 100%);
  color:#fff;
  box-shadow:0 22px 50px rgba(15,23,42,.18);
}
.fm-lineup-topbar span{
  display:block;
  text-transform:uppercase;
  letter-spacing:.08em;
  font-size:12px;
  font-weight:1000;
  opacity:.82;
}
.fm-lineup-topbar h2{
  margin:3px 0!important;
  color:#fff!important;
  font-size:30px!important;
}
.fm-lineup-topbar p{
  margin:0;
  opacity:.86;
}
.fm-lineup-module-big{
  min-width:108px;
  padding:16px 20px;
  border-radius:22px;
  background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.25);
  text-align:center;
  font-size:28px;
  font-weight:1000;
}
.fm-lineup-pitch-form{
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:28px;
  padding:18px;
  box-shadow:0 20px 50px rgba(15,23,42,.08);
}
.fm-lineup-control-strip{
  display:grid;
  grid-template-columns:280px 1fr;
  gap:16px;
  align-items:end;
  padding:15px;
  margin-bottom:18px;
  border-radius:20px;
  background:#f8fafc;
  border:1px solid #e2e8f0;
}
.fm-lineup-control-strip strong{
  display:block;
  color:#0f172a;
  font-size:16px;
}
.fm-lineup-control-strip span{
  color:#64748b;
  font-weight:800;
}
.fm-lineup-pitch{
  position:relative;
  overflow:hidden;
  min-height:760px;
  padding:28px 22px;
  border-radius:30px;
  background:
    linear-gradient(90deg,rgba(255,255,255,.06) 50%,rgba(255,255,255,.02) 50%),
    radial-gradient(circle at center, rgba(255,255,255,.10) 0 10%, transparent 10.5%),
    linear-gradient(180deg,#187a3d 0%,#106631 100%);
  background-size:80px 80px,100% 100%,100% 100%;
  border:8px solid #fff;
  box-shadow:inset 0 0 0 2px rgba(255,255,255,.35), 0 18px 45px rgba(15,23,42,.14);
}
.fm-pitch-lines:before{
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  width:160px;
  height:160px;
  border:3px solid rgba(255,255,255,.45);
  border-radius:999px;
}
.fm-pitch-lines:after{
  content:"";
  position:absolute;
  left:30px;
  right:30px;
  top:50%;
  height:3px;
  background:rgba(255,255,255,.35);
}
.fm-pitch-row{
  position:relative;
  z-index:2;
  display:flex;
  justify-content:center;
  gap:14px;
  flex-wrap:wrap;
  min-height:120px;
  margin:18px 0;
}
.fm-pitch-row-A{margin-top:10px}
.fm-pitch-row-C{margin-top:36px}
.fm-pitch-row-D{margin-top:38px}
.fm-pitch-row-P{margin-top:44px}
.fm-lineup-player-card{
  display:block;
  width:min(245px, 31%);
  min-width:210px;
  padding:12px;
  border-radius:18px;
  background:rgba(255,255,255,.95);
  border:1px solid rgba(255,255,255,.65);
  box-shadow:0 15px 28px rgba(15,23,42,.18);
}
.fm-lineup-player-card > span,
.fm-lineup-slot > span{
  display:flex;
  align-items:center;
  gap:8px;
  margin-bottom:7px;
  color:#0f172a;
  font-weight:1000;
  text-transform:uppercase;
  font-size:12px;
}
.fm-lineup-player-card select,
.fm-lineup-slot select{
  width:100%;
  min-height:42px;
  border-radius:12px!important;
  font-weight:900!important;
  text-transform:uppercase;
  color:#0f172a!important;
}
.fm-lineup-player-card option,
.fm-lineup-slot option{
  font-weight:900;
  text-transform:uppercase;
  color:#0f172a;
}
.fm-bench-modern{
  margin-top:22px;
  padding:18px;
  border-radius:24px;
  background:#f8fafc;
  border:1px solid #e2e8f0;
}
.fm-bench-note{
  margin:-4px 0 14px;
  color:#475569;
  font-weight:800;
}
.fm-extra-b-wrap{
  margin-top:18px;
  padding-top:14px;
  border-top:1px dashed #cbd5e1;
}
.fm-lineup-slot-B{
  border-color:#c4b5fd!important;
  background:#f5f3ff!important;
}
.fm-lineup-role-pill.fm-role-B{background:#7c3aed}
.fm-role-B{background:#7c3aed!important}
@media(max-width:980px){
  .fm-lineup-control-strip{grid-template-columns:1fr}
  .fm-lineup-player-card{width:min(310px,45%)}
  .fm-lineup-pitch{min-height:820px}
}
@media(max-width:640px){
  .fm-lineup-topbar{display:block}
  .fm-lineup-module-big{margin-top:12px}
  .fm-lineup-player-card{width:100%;min-width:0}
  .fm-lineup-pitch{padding:16px 10px;min-height:auto}
  .fm-pitch-row{display:grid;grid-template-columns:1fr;gap:10px;min-height:0;margin:14px 0}
}


/* v1.4.5 - schema formazione stile foglio */
.fm-lineup-sheet-app{max-width:1320px;margin:0 auto;}
.fm-lineup-sheet-hero{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:22px 24px;margin:18px 0;border-radius:28px;background:linear-gradient(135deg,#0f172a 0%,#12243f 55%,#0b6b3a 100%);color:#fff;box-shadow:0 24px 60px rgba(15,23,42,.16)}
.fm-lineup-sheet-hero span{display:block;font-size:12px;font-weight:1000;letter-spacing:.08em;opacity:.82}
.fm-lineup-sheet-hero h2{margin:4px 0!important;color:#fff!important;font-size:30px!important}
.fm-lineup-sheet-hero p{margin:0;opacity:.86}
.fm-lineup-sheet-module{min-width:108px;text-align:center;padding:16px 18px;border-radius:20px;background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.2);font-size:28px;font-weight:1000;color:#fff}
.fm-lineup-sheet-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:14px}
.fm-lineup-sheet-summary>div{padding:14px 16px;border-radius:18px;background:#fff;border:1px solid #e2e8f0;box-shadow:0 10px 30px rgba(15,23,42,.05)}
.fm-lineup-sheet-summary strong{display:block;color:#0f172a;font-size:14px;text-transform:uppercase;letter-spacing:.04em}
.fm-lineup-sheet-summary span{display:block;color:#475569;font-weight:900;margin-top:4px}
.fm-lineup-sheet-controls{display:grid;grid-template-columns:260px 1fr;gap:16px;align-items:end;margin-bottom:16px;padding:16px;border:1px solid #e2e8f0;border-radius:22px;background:#fff}
.fm-lineup-sheet-hint strong{display:block;color:#0f172a;font-size:16px}
.fm-lineup-sheet-hint span{color:#64748b;font-weight:800}
.fm-lineup-sheet-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.12fr);gap:18px;align-items:start}
.fm-lineup-sheet-card{background:#fff;border:1px solid #dbe4ef;border-radius:26px;box-shadow:0 18px 45px rgba(15,23,42,.06);overflow:hidden}
.fm-sheet-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;background:#0f172a;color:#fff}
.fm-sheet-card-head span{display:block;font-size:11px;letter-spacing:.08em;opacity:.82;text-transform:uppercase;font-weight:1000}
.fm-sheet-card-head strong{display:block;color:#fff;font-size:20px;line-height:1.1}
.fm-sheet-card-label{padding:8px 14px;border-radius:999px;background:rgba(255,255,255,.12);font-weight:1000;letter-spacing:.05em}
.fm-sheet-card-body{padding:14px}
.fm-sheet-row{display:grid;grid-template-columns:56px 190px minmax(0,1fr);gap:12px;align-items:center;padding:7px 0;border-bottom:1px solid #eef2f7}
.fm-sheet-row:last-child{border-bottom:none}
.fm-sheet-row-no{display:flex;align-items:center;justify-content:center;height:42px;border-radius:12px;background:#0f172a;color:#fff;font-size:18px;font-weight:1000}
.fm-sheet-row-label{display:flex;align-items:center;gap:10px;min-width:0}
.fm-sheet-row-label strong{font-size:13px;text-transform:uppercase;letter-spacing:.04em;color:#0f172a;line-height:1.15}
.fm-sheet-row-field select{width:100%;min-height:42px;border-radius:12px!important;font-weight:900!important;text-transform:uppercase;color:#0f172a!important;background:#fff}
.fm-sheet-row-field option,.fm-sheet-row-field optgroup{font-weight:900;text-transform:uppercase}
.fm-sheet-row.is-extra-b{background:#fff9c4;border:1px solid #fde68a;border-radius:14px;padding:8px;margin:4px 0}
.fm-sheet-row.is-extra-b .fm-sheet-row-no{background:#92400e}
.fm-sheet-row.is-extra-b .fm-sheet-row-label strong{color:#92400e}
.fm-sheet-row-P .fm-sheet-row-no{background:#0f172a}
.fm-sheet-row-D .fm-sheet-row-no{background:#2563eb}
.fm-sheet-row-C .fm-sheet-row-no{background:#059669}
.fm-sheet-row-A .fm-sheet-row-no{background:#dc2626}
.fm-lineup-actions{margin-top:18px}
@media(max-width:1100px){.fm-lineup-sheet-grid{grid-template-columns:1fr}.fm-lineup-sheet-controls{grid-template-columns:1fr}}
@media(max-width:640px){.fm-lineup-sheet-hero{display:block}.fm-lineup-sheet-module{margin-top:12px}.fm-lineup-sheet-summary{grid-template-columns:1fr}.fm-sheet-row{grid-template-columns:46px 1fr}.fm-sheet-row-field{grid-column:1 / -1}.fm-sheet-row-label{min-width:0}}


/* v1.4.6 - opzioni panchina filtrate */
.fm-sheet-row select option[hidden]{
  display:none!important;
}
.fm-sheet-row select option:disabled{
  color:#94a3b8!important;
}
.fm-sheet-row.is-extra-b{
  transition:opacity .18s ease, transform .18s ease;
}


/* v1.4.9 - formazione inline no-cache */
.fm-lineup-sheet-form select option[hidden]{
  display:none!important;
}
.fm-lineup-sheet-form select option:disabled{
  color:#94a3b8!important;
}


/* v1.4.11 - select ricostruite dopo ogni scelta */
.fm-lineup-sheet-form select{
  transition:border-color .15s ease, box-shadow .15s ease;
}
.fm-lineup-sheet-form select:focus{
  border-color:#2563eb!important;
  box-shadow:0 0 0 3px rgba(37,99,235,.15)!important;
}


/* v1.4.12 - Regola 3 Serie B titolari */
.fm-serie-b-rule-box{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px;
  padding:12px 14px;
  margin:0 0 16px;
  border-radius:18px;
  border:1px solid #fde68a;
  background:#fffbeb;
  color:#92400e;
}
.fm-serie-b-rule-box strong{
  font-weight:1000;
}
.fm-serie-b-rule-box span{
  font-weight:800;
}
.fm-serie-b-rule-box em{
  margin-left:auto;
  font-style:normal;
  font-weight:1000;
  padding:5px 9px;
  border-radius:999px;
  background:#fff;
}
.fm-serie-b-rule-box.is-ok{
  border-color:#bbf7d0;
  background:#f0fdf4;
  color:#166534;
}
.fm-serie-b-rule-box.is-error{
  border-color:#fecaca;
  background:#fef2f2;
  color:#991b1b;
}


/* v1.4.13 - Azioni admin formazioni */
.fm-lineup-actions-cell{
  white-space:nowrap;
}
.fm-lineup-actions-cell .button{
  margin:0 4px 4px 0!important;
}


/* v1.4.14 - Pagina formazione più ordinata + svuota tutto + metadata giornata */
.fm-lineup-sheet-form{
  background:#f8fafc!important;
  border-radius:30px!important;
}
.fm-lineup-sheet-grid{
  align-items:start;
}
.fm-lineup-sheet-card{
  border-radius:24px!important;
}
.fm-sheet-card-body{
  background:#fff;
}
.fm-sheet-row{
  min-height:58px;
}
.fm-lineup-sheet-controls{
  position:relative;
  margin-bottom:12px!important;
}
.fm-lineup-clear-strip{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  margin:0 0 16px;
  padding:13px 15px;
  border-radius:18px;
  background:#fff7ed;
  border:1px solid #fed7aa;
  color:#9a3412;
}
.fm-lineup-clear-strip strong{
  display:block;
  font-weight:1000;
}
.fm-lineup-clear-strip span{
  display:block;
  color:#9a3412;
  font-weight:800;
  margin-top:2px;
}
.fm-clear-lineup-btn{
  border-color:#fb923c!important;
  color:#9a3412!important;
  background:#fff!important;
  font-weight:1000!important;
}
.fm-hidden-clear-form{
  display:none!important;
}
.fm-lineup-public-card{
  border-radius:22px!important;
}
.fm-lineup-public-meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px 12px;
  align-items:center;
  margin:8px 0 12px;
  padding:10px 12px;
  border-radius:14px;
  background:#f8fafc;
  border:1px solid #e2e8f0;
}
.fm-lineup-public-meta strong{
  color:#0f172a;
}
.fm-lineup-public-meta span{
  color:#64748b;
  font-weight:800;
}
.fm-lineup-missing{
  padding:10px 12px;
  border-radius:14px;
  background:#fff7ed;
  border:1px solid #fed7aa;
  color:#9a3412;
  font-weight:900;
}
.fm-public-player-row{
  display:flex!important;
  justify-content:space-between;
  gap:10px;
  align-items:center;
}
@media(max-width:760px){
  .fm-lineup-clear-strip{
    display:block;
  }
  .fm-clear-lineup-btn{
    margin-top:10px!important;
  }
}


/* v1.4.15 - Pagina Giornata in formato scheda voti */
.fm-lineup-sheet-view{
  padding:0!important;
  overflow:hidden;
  border-radius:24px!important;
}
.fm-lineup-sheet-view > h3{
  margin:0!important;
  padding:14px 16px!important;
  background:#0f172a;
  color:#fff!important;
  font-size:18px!important;
}
.fm-lineup-last-edit{
  margin:12px 14px!important;
}
.fm-public-score-sheet{
  margin:0 14px 14px;
  border:1px solid #cbd5e1;
  border-radius:16px;
  overflow:hidden;
  background:#fff;
}
.fm-score-head{
  display:grid;
  grid-template-columns:44px minmax(180px,1fr) 82px 112px 92px;
  background:#020617;
  color:#fff;
  font-weight:1000;
  text-transform:uppercase;
  letter-spacing:.03em;
}
.fm-score-head span{
  grid-column:1 / 3;
  padding:9px 10px;
  text-align:center;
}
.fm-score-head em{
  padding:9px 6px;
  text-align:center;
  font-style:normal;
  border-left:1px solid rgba(255,255,255,.18);
}
.fm-score-row{
  display:grid;
  grid-template-columns:44px minmax(180px,1fr) 82px 112px 92px;
  min-height:31px;
  border-top:1px solid #e2e8f0;
  align-items:center;
}
.fm-score-row b{
  display:flex;
  align-items:center;
  justify-content:center;
  height:100%;
  background:#f8fafc;
  color:#0f172a;
  font-weight:900;
  border-right:1px solid #e2e8f0;
}
.fm-score-row strong{
  padding:6px 8px;
  font-size:12px;
  color:#0f172a;
  text-transform:uppercase;
}
.fm-score-row strong small{
  margin-left:5px;
  color:#64748b;
  font-size:10px;
}
.fm-score-row span{
  height:100%;
  padding:6px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-left:1px solid #e2e8f0;
  font-size:12px;
  font-weight:800;
}
.fm-score-row.is-extra-b{
  background:#fef9c3;
}
.fm-score-row.is-extra-b b{
  background:#facc15;
  color:#713f12;
}
.fm-score-section{
  background:#020617;
  color:#fff;
  text-align:center;
  font-weight:1000;
  padding:8px;
  text-transform:uppercase;
  border-top:2px solid #020617;
}
.fm-score-total-grid{
  display:grid;
  grid-template-columns:120px repeat(3,1fr);
  border-top:2px solid #020617;
}
.fm-score-big{
  display:flex;
  align-items:center;
  justify-content:center;
  grid-row:1 / 4;
  font-size:34px;
  font-weight:1000;
  color:#020617;
  border-right:1px solid #cbd5e1;
}
.fm-score-total-grid > div:not(.fm-score-big){
  display:grid;
  grid-template-columns:1fr 80px;
  border-bottom:1px solid #e2e8f0;
}
.fm-score-total-grid span{
  padding:7px;
  text-align:right;
  font-size:12px;
  color:#334155;
}
.fm-score-total-grid strong{
  padding:7px;
  text-align:center;
  border-left:1px solid #e2e8f0;
}
@media(max-width:900px){
  .fm-score-head,
  .fm-score-row{
    grid-template-columns:36px minmax(140px,1fr) 60px 82px 72px;
  }
  .fm-score-head em,
  .fm-score-row span{
    font-size:10px;
  }
  .fm-score-row strong{
    font-size:11px;
  }
}
@media(max-width:640px){
  .fm-public-score-sheet{
    overflow-x:auto;
  }
  .fm-score-head,
  .fm-score-row,
  .fm-score-total-grid{
    min-width:620px;
  }
}


/* v1.4.16 - Card Giornata con nome/squadra separati e colori ruolo/blocchi */
.fm-score-player-cell{
  display:grid!important;
  grid-template-columns:30px minmax(0,1fr);
  grid-template-rows:auto auto;
  gap:1px 8px;
  align-items:center;
  padding:6px 8px!important;
  line-height:1.15;
}
.fm-score-role-pill{
  grid-row:1 / 3;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:26px;
  height:26px;
  border-radius:999px;
  color:#fff;
  font-size:12px;
  font-style:normal;
  font-weight:1000;
}
.fm-score-role-P{background:#020617;}
.fm-score-role-D{background:#2563eb;}
.fm-score-role-C{background:#059669;}
.fm-score-role-A{background:#dc2626;}
.fm-score-player-name{
  display:block;
  color:#0f172a;
  font-size:12px;
  font-weight:1000;
  text-transform:uppercase;
  letter-spacing:.01em;
  white-space:normal;
}
.fm-score-player-team{
  display:block!important;
  margin:1px 0 0!important;
  color:#64748b!important;
  font-size:10px!important;
  font-weight:1000!important;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.fm-score-row.is-serie-b{
  background:#fff7c2;
}
.fm-score-row.is-serie-b .fm-score-player-cell{
  border-left:4px solid #facc15;
}
.fm-score-row.is-serie-b .fm-score-player-team{
  color:#92400e!important;
}
.fm-score-row.is-extra-b{
  background:#fef08a!important;
}
.fm-score-row.is-extra-b .fm-score-player-cell{
  border-left:4px solid #ca8a04;
}
.fm-score-row.is-role-P b{background:#020617;color:#fff;}
.fm-score-row.is-role-D b{background:#2563eb;color:#fff;}
.fm-score-row.is-role-C b{background:#059669;color:#fff;}
.fm-score-row.is-role-A b{background:#dc2626;color:#fff;}
.fm-score-row.is-extra-b b{
  background:#92400e!important;
  color:#fff!important;
}
@media(max-width:900px){
  .fm-score-player-name{font-size:11px;}
  .fm-score-player-team{font-size:9px!important;}
}


/* v1.4.17 - Allineamento sinistra calciatore/squadra */
.fm-score-player-cell{
  text-align:left!important;
}
.fm-score-player-name{
  text-align:left!important;
  justify-self:start!important;
}
.fm-score-player-team{
  text-align:left!important;
  justify-self:start!important;
}
.fm-score-row strong.fm-score-player-cell{
  justify-items:start!important;
}


/* v1.4.18 - Inserisci formazione più ordinata */
.fm-lineup-sheet-form{
  background:#f8fafc!important;
}
.fm-lineup-sheet-controls{
  margin-bottom:10px!important;
}
.fm-lineup-sheet-hint span{
  line-height:1.35;
}
.fm-sheet-row-label strong{
  font-size:12px!important;
  letter-spacing:.02em!important;
}
.fm-sheet-row-field select{
  font-size:13px!important;
  text-align:left!important;
}
.fm-selected-preview{
  margin-top:6px;
  padding:7px 9px;
  border-radius:12px;
  background:#f8fafc;
  border:1px solid #e2e8f0;
  text-align:left;
}
.fm-selected-preview strong{
  display:block;
  color:#0f172a;
  font-size:12px;
  line-height:1.1;
  font-weight:1000;
  text-transform:uppercase;
  letter-spacing:.01em;
}
.fm-selected-preview small{
  display:block;
  margin-top:3px;
  color:#64748b;
  font-size:10px;
  font-weight:1000;
  text-transform:uppercase;
  letter-spacing:.05em;
}
.fm-selected-preview.is-block{
  background:#fffbeb;
  border-color:#fde68a;
}
.fm-selected-preview.is-block strong{
  color:#92400e;
}
.fm-selected-preview.is-block small{
  color:#92400e;
}
.fm-serie-b-rule-box{
  margin-bottom:12px!important;
  padding:10px 12px!important;
}
.fm-serie-b-rule-box span{
  font-size:12px!important;
}
.fm-serie-b-rule-box em{
  font-size:12px!important;
}
.fm-lineup-clear-strip{
  margin-bottom:12px!important;
}


/* v1.4.19 - Inserisci Formazione: pagina più pulita */
.fm-lineup-sheet-hero-compact{
  margin-bottom:12px!important;
}
.fm-lineup-sheet-hero-compact p{
  font-size:13px!important;
  font-weight:800!important;
}
.fm-lineup-sheet-summary{
  display:none!important;
}
.fm-selected-preview{
  display:none!important;
}
.fm-lineup-sheet-controls{
  margin-top:0!important;
}
.fm-lineup-sheet-controls label{
  margin-bottom:0!important;
}
.fm-serie-b-rule-box{
  border-radius:14px!important;
}
.fm-sheet-row{
  min-height:48px!important;
}
.fm-sheet-row-field select{
  min-height:36px!important;
}
.fm-lineup-sheet-grid{
  margin-top:10px!important;
}
.fm-lineup-clear-strip{
  padding:10px 12px!important;
}


/* v1.4.20 - Inserisci Formazione compatta */
.fm-lineup-hero-side{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:8px;
}
.fm-lineup-header-countdown{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:7px 11px;
  border-radius:999px;
  background:#fff;
  color:#0f172a;
  font-size:12px;
  font-weight:1000;
  box-shadow:0 6px 18px rgba(15,23,42,.12);
}
.fm-lineup-sheet-controls-compact{
  grid-template-columns:210px 1fr!important;
  padding:10px 12px!important;
}
.fm-lineup-sheet-controls-compact .fm-lineup-sheet-hint strong{
  font-size:13px!important;
}
.fm-lineup-sheet-controls-compact .fm-lineup-sheet-hint span{
  font-size:12px!important;
  color:#64748b!important;
}
.fm-serie-b-rule-box{
  display:none!important;
}
.fm-sheet-row{
  grid-template-columns:46px 42px minmax(0,1fr)!important;
  min-height:44px!important;
}
.fm-sheet-row-label{
  justify-content:center!important;
}
.fm-sheet-row-label strong{
  display:none!important;
}
.fm-lineup-role-pill{
  width:26px!important;
  height:26px!important;
  min-width:26px!important;
}
.fm-lineup-clear-strip-compact{
  padding:9px 12px!important;
  margin-bottom:10px!important;
}
.fm-lineup-clear-strip-compact strong{
  font-size:13px!important;
}
.fm-lineup-clear-strip-compact span{
  font-size:12px!important;
}
.fm-frontend-toast{
  position:sticky;
  top:12px;
  z-index:30;
  margin:8px 0 12px;
  padding:11px 14px;
  border-radius:16px;
  background:#ecfdf5;
  border:1px solid #bbf7d0;
  color:#166534;
  font-weight:1000;
  box-shadow:0 12px 30px rgba(15,23,42,.08);
}
@media(max-width:700px){
  .fm-lineup-sheet-controls-compact{
    grid-template-columns:1fr!important;
  }
  .fm-lineup-hero-side{
    align-items:flex-start;
    margin-top:12px;
  }
}


/* v1.4.21 - Comandi formazione compatti in alto */
.fm-lineup-command-bar{
  display:flex!important;
  align-items:end!important;
  justify-content:space-between!important;
  gap:14px!important;
  grid-template-columns:none!important;
}
.fm-module-control{
  width:210px!important;
  margin:0!important;
}
.fm-lineup-command-actions{
  display:flex;
  align-items:center;
  gap:10px;
  margin-left:auto;
}
.fm-inline-save-btn{
  min-height:38px!important;
  padding:8px 16px!important;
  border-radius:12px!important;
  font-weight:1000!important;
}
.fm-lineup-command-actions .fm-clear-lineup-btn{
  min-height:38px!important;
  padding:7px 14px!important;
  border-radius:12px!important;
}
.fm-lineup-clear-strip,
.fm-lineup-actions{
  display:none!important;
}
@media(max-width:720px){
  .fm-lineup-command-bar{
    display:block!important;
  }
  .fm-module-control{
    width:100%!important;
  }
  .fm-lineup-command-actions{
    margin-top:10px;
    justify-content:flex-start;
    flex-wrap:wrap;
  }
}


/* v1.4.22 - Header Titolari/Panchina centrali */
.fm-sheet-card-head-centered{
  justify-content:center!important;
  text-align:center!important;
}
.fm-sheet-card-head-centered .fm-sheet-card-label{
  margin:0 auto!important;
  min-width:150px;
  text-align:center;
  background:rgba(255,255,255,.16)!important;
}
.fm-sheet-card-head-centered > div:not(.fm-sheet-card-label){
  display:none!important;
}


/* v1.5.0 - Calcolo giornata da formazione inserita */
.fm-player-scores-lineup-panel .fm-score-info-box{
  border-left:4px solid #16a34a;
}
.fm-score-table-wrap{
  overflow-x:auto;
}
.fm-lineup-score-input-table th,
.fm-lineup-score-input-table td{
  vertical-align:middle!important;
}
.fm-lineup-score-input-table input[type="number"]{
  width:82px;
}
.fm-score-slot-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:46px;
  padding:5px 8px;
  border-radius:999px;
  background:#0f172a;
  color:#fff;
  font-size:12px;
  font-weight:1000;
}
.fm-lineup-score-input-table tr.is-score-bench .fm-score-slot-pill{
  background:#64748b;
}
.fm-lineup-score-input-table tr.is-score-block{
  background:#fffbeb;
}
.fm-lineup-score-input-table tr.is-score-block .fm-score-slot-pill{
  background:#ca8a04;
}
.fm-lineup-score-input-table tr.is-score-starter td{
  font-weight:700;
}
.fm-lineup-score-input-table .fm-lineup-role-pill{
  width:26px!important;
  height:26px!important;
  min-width:26px!important;
}


/* v1.5.1 - Sostituzioni automatiche */
.fm-score-note{
  display:inline-flex;
  align-items:center;
  padding:5px 8px;
  border-radius:999px;
  font-size:11px;
  font-weight:900;
  background:#f1f5f9;
  color:#334155;
  white-space:nowrap;
}
.fm-score-note.is-sub{
  background:#dcfce7;
  color:#166534;
}
.fm-score-note.is-counted{
  background:#e0f2fe;
  color:#075985;
}
.fm-score-note.is-out{
  background:#f8fafc;
  color:#64748b;
}
.fm-lineup-score-input-table td:last-child{
  min-width:150px;
}


/* v1.5.2 - Frontend Giornata solo conteggiati + S.V. */
.fm-public-counted-sheet .fm-score-head-counted span{
  grid-column:1 / 3;
}
.fm-lineup-counted-view .fm-score-section{
  display:none!important;
}
.fm-score-public-note{
  display:block!important;
  grid-column:2;
  margin-top:3px!important;
  color:#64748b!important;
  font-size:10px!important;
  font-weight:900!important;
  text-transform:none!important;
  letter-spacing:0!important;
}
.fm-score-row.is-sv-row{
  background:#f8fafc;
  opacity:.92;
}
.fm-score-row.is-sv-row .fm-score-public-note{
  color:#92400e!important;
}
.fm-score-row.is-sub-row{
  background:#ecfdf5;
}
.fm-score-row.is-sub-row .fm-score-public-note{
  color:#166534!important;
}
.fm-counted-empty{
  margin:12px;
}


/* v1.5.3 - Frontend Giornata: formazione completa, voti solo conteggiati */
.fm-public-full-sheet .fm-score-section{
  display:block!important;
}
.fm-score-row.is-not-counted-row{
  background:#f8fafc!important;
  opacity:.46;
}
.fm-score-row.is-not-counted-row b{
  background:#e2e8f0!important;
  color:#64748b!important;
}
.fm-score-row.is-not-counted-row .fm-score-player-name,
.fm-score-row.is-not-counted-row .fm-score-player-team{
  color:#94a3b8!important;
}
.fm-score-row.is-not-counted-row span:not(.fm-score-player-name){
  color:#cbd5e1!important;
}
.fm-score-row.is-sv-row{
  background:#fff7ed!important;
  opacity:.88;
}
.fm-score-row.is-sv-row b{
  background:#fdba74!important;
  color:#7c2d12!important;
}
.fm-score-row.is-sub-row{
  background:#ecfdf5!important;
  opacity:1!important;
}
.fm-score-row.is-sub-row b{
  background:#16a34a!important;
  color:#fff!important;
}


/* v1.5.4 - Tipo formazione giornata */
.fm-calendar-rounds label select[name="lineup_mode"],
.fm-form select[name="lineup_mode"]{
  min-width:160px;
}


/* v1.5.5 - Evidenza slot mancanti in formazione */
.fm-sheet-row.is-missing-slot{
  outline:2px solid #ef4444!important;
  outline-offset:-2px;
  background:#fef2f2!important;
}
.fm-sheet-row.is-missing-slot .fm-sheet-row-field select{
  border-color:#ef4444!important;
}


/* v1.5.15 - Dettaglio voti più leggibile + riepilogo sostituzioni */
.fm-score-summary-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  margin:14px 0 16px;
}
.fm-score-summary-grid div{
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:18px;
  padding:14px;
  box-shadow:0 10px 22px rgba(15,23,42,.05);
}
.fm-score-summary-grid strong{
  display:block;
  font-size:26px;
  color:#0f172a;
  line-height:1.1;
}
.fm-score-summary-grid span{
  display:block;
  margin-top:4px;
  color:#64748b;
  font-weight:900;
}
.fm-score-sub-summary{
  margin:14px 0;
  padding:14px 16px;
  border:1px solid #bbf7d0;
  border-left:5px solid #22c55e;
  border-radius:18px;
  background:#f0fdf4;
}
.fm-score-sub-summary.is-empty{
  border-color:#e2e8f0;
  border-left-color:#94a3b8;
  background:#f8fafc;
}
.fm-score-sub-summary h3{
  margin:0 0 8px;
  font-size:14px;
  color:#0f172a;
}
.fm-score-sub-summary ul{
  margin:0;
  padding-left:20px;
}
.fm-score-sub-summary li{
  margin:5px 0;
  color:#334155;
}
.fm-score-sub-summary li span{
  color:#166534;
  font-weight:800;
}
.fm-score-warning-box{
  border-left:4px solid #f59e0b!important;
  background:#fffbeb!important;
}
.fm-score-section-divider td{
  background:#0f172a!important;
  color:#fff!important;
  padding:9px 12px!important;
  font-weight:1000;
  letter-spacing:.08em;
  text-transform:uppercase;
  border-top:12px solid #fff!important;
}
.fm-score-section-divider span{
  display:inline-flex;
  align-items:center;
  padding:3px 10px;
  border-radius:999px;
  background:rgba(255,255,255,.14);
}
.fm-lineup-score-input-table tr.is-score-sv{
  background:#fff7ed!important;
}
.fm-score-note.is-sv{
  background:#ffedd5;
  color:#9a3412;
}
.fm-score-save-actions{
  position:sticky;
  bottom:12px;
  z-index:2;
  margin-top:14px!important;
  padding:10px;
  border:1px solid #dbeafe;
  border-radius:16px;
  background:rgba(255,255,255,.94);
  box-shadow:0 10px 24px rgba(15,23,42,.10);
}
@media(max-width:900px){
  .fm-score-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:560px){
  .fm-score-summary-grid{grid-template-columns:1fr}
}


/* v1.5.16 - Giornata frontend più chiara dopo i voti */
.fm-public-match-summary{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:8px;
  margin:10px 0 12px;
}
.fm-public-match-summary div{
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:14px;
  padding:10px;
  box-shadow:0 8px 18px rgba(15,23,42,.05);
  text-align:center;
}
.fm-public-match-summary strong{
  display:block;
  font-size:20px;
  color:#0f172a;
  line-height:1;
}
.fm-public-match-summary span{
  display:block;
  margin-top:5px;
  color:#64748b;
  font-size:10px;
  font-weight:1000;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.fm-public-sub-summary{
  margin:10px 0 12px;
  padding:10px 12px;
  border:1px solid #bbf7d0;
  border-left:5px solid #22c55e;
  border-radius:14px;
  background:#f0fdf4;
}
.fm-public-sub-summary > strong{
  display:block;
  margin-bottom:6px;
  color:#166534;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.fm-public-sub-summary ul{
  margin:0;
  padding-left:18px;
}
.fm-public-sub-summary li{
  margin:4px 0;
  color:#334155;
  font-size:12px;
  font-weight:800;
}
.fm-public-sub-summary li span{
  display:block;
  color:#166534;
  font-size:11px;
  font-weight:900;
}
.fm-public-full-sheet .fm-score-row.is-sv-row{
  background:#fff7ed!important;
  opacity:1!important;
}
.fm-public-full-sheet .fm-score-row.is-sub-row{
  background:#ecfdf5!important;
  opacity:1!important;
}
.fm-public-full-sheet .fm-score-row.is-not-counted-row{
  background:#f8fafc!important;
  opacity:.52;
}
.fm-score-public-note.is-sv-note{
  color:#9a3412!important;
  font-weight:1000!important;
}
.fm-score-public-note.is-sub-note{
  color:#166534!important;
  font-weight:1000!important;
}
.fm-public-full-sheet .fm-score-row.is-sv-row b{
  background:#fb923c!important;
  color:#fff!important;
}
.fm-public-full-sheet .fm-score-row.is-sub-row b{
  background:#22c55e!important;
  color:#fff!important;
}
@media(max-width:900px){
  .fm-public-match-summary{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:560px){
  .fm-public-match-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
}


/* v1.5.17 - Restyling pagine pubbliche */
.fm-public-site{
  max-width:1280px;
  margin:0 auto;
  padding:0 10px 28px;
}
.fm-public-site .fm-panel,
.fm-public-site .fm-box{
  border-radius:24px!important;
  border:1px solid #e5e7eb!important;
  box-shadow:0 12px 28px rgba(15,23,42,.06)!important;
}
.fm-public-head,
.fm-public-site .fm-front-page-head{
  position:relative;
  overflow:hidden;
  min-height:150px;
  margin:0 0 22px!important;
  padding:32px 34px!important;
  border-radius:30px!important;
  background:
    radial-gradient(circle at 92% 8%, rgba(245,158,11,.32), transparent 28%),
    linear-gradient(135deg,#020617 0%,#0f172a 48%,#1e3a8a 100%)!important;
  box-shadow:0 22px 55px rgba(15,23,42,.25)!important;
}
.fm-public-head:before,
.fm-public-site .fm-front-page-head:before{
  content:"Fantacalcio BoraBora";
  display:inline-flex;
  position:absolute;
  top:22px;
  right:24px;
  padding:7px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.12);
  color:#fde68a;
  font-size:11px;
  font-weight:1000;
  text-transform:uppercase;
  letter-spacing:.06em;
}
.fm-public-head h2,
.fm-public-site .fm-front-page-head h2{
  margin:0!important;
  color:#fff!important;
  font-size:clamp(30px,4vw,48px)!important;
  letter-spacing:-.05em;
  line-height:1!important;
}
.fm-public-head p,
.fm-public-site .fm-front-page-head p{
  max-width:720px;
  margin:12px 0 0!important;
  color:#dbeafe!important;
  font-size:16px;
  font-weight:800!important;
}
.fm-public-home-grid{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:16px!important;
}
.fm-public-home-card{
  position:relative;
  min-height:138px!important;
  display:flex!important;
  flex-direction:column;
  justify-content:space-between;
  padding:20px!important;
  border-radius:24px!important;
  background:linear-gradient(180deg,#ffffff 0%,#f8fafc 100%)!important;
  border:1px solid #e2e8f0!important;
  box-shadow:0 14px 32px rgba(15,23,42,.07)!important;
  overflow:hidden;
}
.fm-public-home-card:before{
  content:"";
  position:absolute;
  right:-38px;
  top:-38px;
  width:110px;
  height:110px;
  border-radius:50%;
  background:rgba(29,78,216,.08);
}
.fm-public-home-card-kicker{
  display:inline-flex;
  width:max-content;
  padding:5px 9px;
  border-radius:999px;
  background:#eff6ff;
  color:#1d4ed8;
  font-size:11px;
  font-weight:1000;
  text-transform:uppercase;
  letter-spacing:.05em;
}
.fm-public-home-card strong{
  display:block;
  margin-top:14px;
  color:#0f172a;
  font-size:21px;
  line-height:1.05;
  letter-spacing:-.03em;
}
.fm-public-home-card small{
  margin-top:10px!important;
  color:#64748b!important;
  font-size:12px!important;
  line-height:1.35;
}
.fm-public-rosters-grid{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:18px!important;
}
.fm-public-roster-card{
  border-radius:28px!important;
  border:1px solid #e2e8f0!important;
  background:#fff!important;
  box-shadow:0 16px 36px rgba(15,23,42,.07)!important;
}
.fm-public-roster-card header{
  align-items:flex-start;
  padding:18px 20px!important;
  background:linear-gradient(135deg,#0f172a 0%,#1e293b 100%)!important;
  border-bottom:0!important;
}
.fm-public-roster-card h3{
  color:#fff!important;
  font-size:23px;
  letter-spacing:-.035em;
}
.fm-public-roster-card p{
  color:#cbd5e1!important;
}
.fm-public-roster-card header span{
  background:#f59e0b!important;
  color:#111827!important;
  box-shadow:0 6px 14px rgba(245,158,11,.24);
}
.fm-public-blocks{
  padding:14px 16px 0!important;
}
.fm-public-blocks em{
  background:#fffbeb!important;
  border-color:#facc15!important;
  color:#92400e!important;
  box-shadow:0 5px 12px rgba(245,158,11,.10);
}
.fm-public-player-list{
  gap:8px!important;
}
.fm-public-role-title{
  display:inline-flex!important;
  width:max-content;
  margin:12px 0 2px!important;
  padding:5px 10px;
  border-radius:999px;
  background:#eff6ff;
  color:#1d4ed8!important;
  font-size:11px!important;
  font-weight:1000;
}
.fm-public-player-list div{
  align-items:center;
  padding:9px 10px!important;
  border:1px solid #e5e7eb!important;
  border-bottom:1px solid #e5e7eb!important;
  border-radius:14px;
  background:#f8fafc;
}
.fm-public-player-list span{
  font-size:13px;
}
.fm-public-player-list small{
  padding:3px 8px;
  border-radius:999px;
  background:#fff;
  border:1px solid #e5e7eb;
}
.fm-phase-tabs{
  margin:0 0 18px!important;
  padding:8px;
  border:1px solid #e5e7eb;
  border-radius:18px;
  background:#fff;
  box-shadow:0 10px 24px rgba(15,23,42,.04);
}
.fm-phase-tabs a{
  border:0!important;
  background:#f8fafc!important;
  color:#334155!important;
}
.fm-phase-tabs a.active{
  background:#1d4ed8!important;
  color:#fff!important;
  box-shadow:0 8px 18px rgba(29,78,216,.22);
}
.fm-calendar-day-grid{
  gap:18px!important;
}
.fm-calendar-day-card{
  border-radius:26px!important;
  border-color:#e2e8f0!important;
  box-shadow:0 16px 36px rgba(15,23,42,.07)!important;
}
.fm-calendar-day-card header{
  padding:17px 18px!important;
  background:linear-gradient(180deg,#ffffff 0%,#f8fafc 100%)!important;
}
.fm-calendar-day-card header span{
  color:#1d4ed8!important;
}
.fm-calendar-day-card h3{
  font-size:20px!important;
  letter-spacing:-.03em;
}
.fm-calendar-match{
  grid-template-columns:minmax(0,1fr) 62px minmax(0,1fr)!important;
  padding:12px!important;
  border-radius:16px!important;
  background:#f8fafc!important;
}
.fm-calendar-match span{
  min-height:34px;
  align-items:center;
  border-radius:999px;
  background:#0f172a;
  color:#fff!important;
  padding:5px 8px;
}
.fm-calendar-match.is-neutral{
  background:#fffbeb!important;
  border-color:#fde68a!important;
}
.fm-public-result-day .fm-calendar-match span{
  background:#1d4ed8!important;
}
.fm-standings-panel{
  overflow-x:auto;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  padding:0!important;
}
.fm-front-table{
  min-width:880px;
  border-spacing:0 9px!important;
}
.fm-front-table th{
  padding:0 10px 4px!important;
  color:#64748b!important;
}
.fm-front-table td{
  padding:13px 11px!important;
  background:#fff!important;
  box-shadow:0 8px 18px rgba(15,23,42,.045);
}
.fm-front-table td:first-child{
  font-weight:1000;
  color:#1d4ed8;
}
.fm-front-table td:nth-child(2) strong{
  color:#0f172a;
  font-size:15px;
}
.fm-front-table td b{
  display:inline-flex;
  min-width:34px;
  justify-content:center;
  padding:5px 9px;
  border-radius:999px;
  background:#0f172a;
  color:#fff;
}
.fm-front-table tr.fm-row-zone-champion td{
  background:#fffbeb!important;
  border-color:#fde68a!important;
}
.fm-front-table tr.fm-row-zone-promotion td{
  background:#f0fdf4!important;
  border-color:#bbf7d0!important;
}
.fm-front-table tr.fm-row-zone-playoff td{
  background:#eff6ff!important;
  border-color:#bfdbfe!important;
}
.fm-front-table tr.fm-row-zone-playout td{
  background:#fff7ed!important;
  border-color:#fed7aa!important;
}
.fm-front-table tr.fm-row-zone-relegation td{
  background:#fef2f2!important;
  border-color:#fecaca!important;
}
.fm-public-placeholder{
  min-height:230px!important;
  align-items:flex-start;
  padding:28px!important;
  border-radius:28px!important;
  background:
    radial-gradient(circle at top right,rgba(245,158,11,.16),transparent 35%),
    linear-gradient(180deg,#ffffff 0%,#f8fafc 100%)!important;
}
.fm-public-placeholder h3{
  font-size:30px;
  letter-spacing:-.04em;
}
.fm-public-placeholder p{
  max-width:680px;
  color:#64748b;
  font-weight:800;
}
@media(max-width:1100px){
  .fm-public-home-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .fm-public-rosters-grid{grid-template-columns:1fr!important}
}
@media(max-width:760px){
  .fm-public-head:before,
  .fm-public-site .fm-front-page-head:before{
    position:static;
    margin-bottom:14px;
  }
  .fm-public-head,
  .fm-public-site .fm-front-page-head{
    display:block!important;
    padding:28px 20px!important;
  }
  .fm-public-home-grid{grid-template-columns:1fr!important}
  .fm-calendar-match{
    grid-template-columns:1fr!important;
    text-align:center!important;
  }
  .fm-calendar-match strong:last-child{text-align:center!important}
}


/* v1.5.18 - Rose pubbliche stile FantaRose LIVE */
.fm-public-board-panel{
  width:calc(100vw - 28px)!important;
  max-width:none!important;
  margin-left:calc(50% - 50vw + 14px)!important;
  margin-right:calc(50% - 50vw + 14px)!important;
  padding:18px!important;
  border-radius:26px!important;
  background:#f8fafc!important;
}
.fm-public-board-panel .fm-table-title{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-bottom:8px;
}
.fm-public-board-panel .fm-table-title h3{
  margin:0;
  font-size:30px;
  letter-spacing:-.04em;
  color:#0f172a;
}
.fm-public-board-panel .fm-table-title span{
  display:inline-flex;
  padding:7px 12px;
  border-radius:999px;
  background:#0f172a;
  color:#fff;
  font-weight:1000;
  font-size:12px;
}
.fm-public-board-grid{
  grid-template-columns:repeat(6,minmax(190px,1fr))!important;
}
.fm-public-board-team .fm-board-team-head{
  min-height:44px;
}
.fm-public-board-team .fm-board-team-head strong{
  font-size:12.5px!important;
}
.fm-public-board-team .fm-board-team-foot{
  grid-template-columns:1fr auto 1fr auto;
}
.fm-public-board-team .fm-board-line b{
  font-size:8px!important;
}
.fm-public-board-team button.fm-board-line b{
  background:#0f172a!important;
  color:#fff!important;
}
.fm-public-roster-modal .fm-modal-dialog,
.fm-public-board-modal .fm-modal-dialog{
  max-width:980px;
}
.fm-public-roster-modal .fm-unsold-modal-card strong,
.fm-public-board-modal .fm-unsold-modal-card strong{
  text-transform:uppercase;
}
@media(max-width:1500px){
  .fm-public-board-grid{grid-template-columns:repeat(4,minmax(190px,1fr))!important}
}
@media(max-width:1050px){
  .fm-public-board-panel{
    width:100%!important;
    margin-left:0!important;
    margin-right:0!important;
  }
  .fm-public-board-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:680px){
  .fm-public-board-grid{grid-template-columns:1fr!important}
}

/* v1.5.21 - Bonus casa automatico */
.fm-calc-score-row small{
  display:block;
  margin-top:6px;
  color:#475569;
  font-size:11px;
  font-weight:900;
}
.fm-score-summary-grid{
  grid-template-columns:repeat(6,minmax(0,1fr));
}
.fm-public-match-summary{
  grid-template-columns:repeat(7,minmax(0,1fr));
}
@media(max-width:1200px){
  .fm-score-summary-grid,
  .fm-public-match-summary{grid-template-columns:repeat(3,minmax(0,1fr));}
}
@media(max-width:720px){
  .fm-score-summary-grid,
  .fm-public-match-summary{grid-template-columns:repeat(2,minmax(0,1fr));}
}

/* v1.5.24 - Alert WhatsApp formazione */
.fm-lineups-whatsapp-panel{border-left:4px solid var(--fm-accent,#111827)}
.fm-lineups-alert-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:14px 0 16px}
.fm-lineups-alert-grid>div{background:#f8fafc;border:1px solid #e5e7eb;border-radius:14px;padding:14px;min-height:64px}
.fm-lineups-alert-grid strong{display:block;font-size:16px;line-height:1.25;color:#111827;margin-bottom:4px}
.fm-lineups-alert-grid span{display:block;font-size:12px;color:#64748b;text-transform:uppercase;letter-spacing:.04em}
.fm-whatsapp-alert-textarea{font-size:13px;line-height:1.45;background:#fff;border-radius:12px;min-height:220px;white-space:pre-wrap}
.fm-alert-status-active{border-left-color:#f59e0b}
.fm-alert-status-closed{border-left-color:#ef4444}
.fm-alert-status-scheduled{border-left-color:#2563eb}
.fm-alert-status-no_deadline{border-left-color:#94a3b8}
@media(max-width:900px){.fm-lineups-alert-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.fm-lineups-alert-grid{grid-template-columns:1fr}}


.fm-lineup-user-alert{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:center;margin:16px 0 18px;padding:18px;border-radius:22px;border:1px solid rgba(15,23,42,.10);background:linear-gradient(135deg,#fff 0%,#f8fafc 100%);box-shadow:0 14px 34px rgba(15,23,42,.08)}
.fm-lineup-user-alert-kicker{display:inline-flex;width:max-content;border-radius:999px;padding:5px 10px;background:#eef2ff;color:#3730a3;font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;margin-bottom:8px}
.fm-lineup-user-alert h3{margin:0 0 6px;font-size:22px;line-height:1.15}.fm-lineup-user-alert p{margin:0;color:var(--fm-muted);font-weight:600}.fm-lineup-user-alert-meta{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.fm-lineup-user-alert-meta span{display:inline-flex;border-radius:999px;background:#f1f5f9;color:#334155;padding:6px 10px;font-size:12px;font-weight:800}.fm-lineup-user-alert-side{display:flex;flex-direction:column;align-items:flex-end;gap:8px;min-width:190px}.fm-lineup-user-alert-status{border-radius:999px;padding:7px 12px;background:#e2e8f0;color:#0f172a;font-size:12px;font-weight:900;text-transform:uppercase}.fm-lineup-user-alert-clock{font-size:18px;font-weight:950;color:#0f172a}.fm-lineup-user-alert-cta{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;border-radius:999px;background:var(--fm-accent);color:#fff!important;padding:9px 13px;font-weight:900;font-size:13px}.fm-lineup-user-alert.is-active{border-color:#fdba74;background:linear-gradient(135deg,#fff7ed 0%,#fff 100%)}.fm-lineup-user-alert.is-active .fm-lineup-user-alert-kicker{background:#fed7aa;color:#9a3412}.fm-lineup-user-alert.is-active .fm-lineup-user-alert-status{background:#ffedd5;color:#9a3412}.fm-lineup-user-alert.is-closed{border-color:#fecaca;background:linear-gradient(135deg,#fff1f2 0%,#fff 100%)}.fm-lineup-user-alert.is-closed .fm-lineup-user-alert-kicker{background:#fee2e2;color:#991b1b}.fm-lineup-user-alert.is-closed .fm-lineup-user-alert-status{background:#fee2e2;color:#991b1b}.fm-lineup-user-alert.is-lineup-submitted{border-color:#bbf7d0;background:linear-gradient(135deg,#f0fdf4 0%,#fff 100%)}.fm-lineup-user-alert.is-lineup-submitted .fm-lineup-user-alert-status{background:#dcfce7;color:#166534}.fm-lineup-user-alert.is-lineup-partial .fm-lineup-user-alert-status,.fm-lineup-user-alert.is-lineup-missing .fm-lineup-user-alert-status{background:#fef3c7;color:#92400e}@media(max-width:720px){.fm-lineup-user-alert{grid-template-columns:1fr}.fm-lineup-user-alert-side{align-items:flex-start;min-width:0}.fm-lineup-user-alert-clock{font-size:16px}}

/* v1.5.26 - Controllo Pre-Giornata */
.fm-lineups-pregame-panel{border-left:4px solid #94a3b8!important}
.fm-pregame-status-ready{border-left-color:#16a34a!important}
.fm-pregame-status-warning{border-left-color:#f59e0b!important}
.fm-pregame-status-blocked{border-left-color:#ef4444!important}
.fm-pregame-list{border-radius:14px;padding:13px 15px;margin:12px 0;border:1px solid #e5e7eb;background:#f8fafc}
.fm-pregame-list strong{display:block;margin-bottom:6px;color:#0f172a}
.fm-pregame-list ul{margin:8px 0 0 18px}
.fm-pregame-list li{margin:4px 0}
.fm-pregame-list.is-critical{background:#fff1f2;border-color:#fecaca;color:#991b1b}
.fm-pregame-list.is-warning{background:#fffbeb;border-color:#fde68a;color:#92400e}
.fm-pregame-report-textarea{font-size:13px;line-height:1.45;background:#fff;border-radius:12px;min-height:190px;white-space:pre-wrap}

/* v1.5.42 - Import voti: card report cliccabili + popup ricercabile */
.fm-score-summary-grid.fm-score-summary-grid--clickable{
  grid-template-columns:repeat(5,minmax(0,1fr));
}
.fm-score-summary-card{
  appearance:none;
  width:100%;
  text-align:left;
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:18px;
  padding:14px;
  box-shadow:0 10px 22px rgba(15,23,42,.05);
  cursor:pointer;
  transition:transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.fm-score-summary-card:hover{
  transform:translateY(-1px);
  border-color:#93c5fd;
  box-shadow:0 14px 28px rgba(15,23,42,.09);
}
.fm-score-summary-card strong{
  display:block;
  font-size:26px;
  color:#0f172a;
  line-height:1.1;
}
.fm-score-summary-card span{
  display:block;
  margin-top:4px;
  color:#64748b;
  font-weight:900;
}
.fm-score-summary-card em{
  display:inline-block;
  margin-top:8px;
  font-size:11px;
  font-style:normal;
  font-weight:900;
  color:#2563eb;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.fm-score-import-modal .fm-modal-dialog.fm-modal-wide{
  width:min(1180px,96vw);
}
.fm-score-modal-table-wrap{
  max-height:62vh;
  overflow:auto;
  border:1px solid #e5e7eb;
  border-radius:16px;
  background:#fff;
}
.fm-score-modal-table{
  margin:0!important;
}
.fm-score-modal-table thead th{
  position:sticky;
  top:0;
  z-index:2;
  background:#f8fafc!important;
}
.fm-score-modal-table td,
.fm-score-modal-table th{
  white-space:nowrap;
}
.fm-score-modal-table td:last-child,
.fm-score-modal-table th:last-child{
  white-space:normal;
  min-width:260px;
}
.fm-score-import-report .is-score-import-ko td{
  color:#991b1b;
}
.fm-score-import-report .is-score-import-ok td{
  color:#0f172a;
}
@media(max-width:1200px){
  .fm-score-summary-grid.fm-score-summary-grid--clickable{grid-template-columns:repeat(3,minmax(0,1fr));}
}
@media(max-width:720px){
  .fm-score-summary-grid.fm-score-summary-grid--clickable{grid-template-columns:1fr;}
  .fm-score-modal-table td,
  .fm-score-modal-table th{font-size:12px;}
}

/* v1.5.61 - Proprietà mantenuta A→B */
.fm-atob-badge{
  display:inline-flex;
  align-items:center;
  gap:4px;
  padding:2px 7px;
  border-radius:999px;
  font-size:11px;
  font-weight:800;
  line-height:1.2;
  background:#fff7d6;
  color:#7a4b00;
  border:1px solid rgba(122,75,0,.18);
  vertical-align:middle;
}
.fm-atob-token,
.fm-board-line.is-atob-player{
  box-shadow:inset 0 0 0 1px rgba(122,75,0,.18);
}
.fm-board-line.is-atob-player strong{
  letter-spacing:.01em;
}

/* v1.5.62 - A→B più leggibile nelle Rose pubbliche */
.fm-public-board-panel .fm-board-lines{
  grid-auto-rows:auto!important;
}
.fm-public-board-panel .fm-board-line.is-atob-player{
  min-height:42px!important;
  height:auto!important;
  align-items:center!important;
  background:#f0fdf4!important;
  border-color:#bbf7d0!important;
}
.fm-public-board-panel .fm-board-line.is-atob-player span{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:center!important;
  gap:2px!important;
  overflow:hidden!important;
  min-width:0!important;
}
.fm-public-board-panel .fm-board-line.is-atob-player strong{
  display:block!important;
  width:100%!important;
  font-size:10.5px!important;
  line-height:1.05!important;
}
.fm-public-board-panel .fm-board-line.is-atob-player em{
  display:block!important;
  max-width:100%!important;
  font-size:8px!important;
  line-height:1.1!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  text-transform:none!important;
  color:#475569!important;
}
.fm-public-board-panel .fm-board-line.is-atob-player .fm-atob-public-badge{
  display:inline-flex!important;
  width:auto!important;
  max-width:100%!important;
  font-size:8px!important;
  line-height:1!important;
  padding:1px 6px!important;
  border-radius:999px!important;
  background:#fff7d6!important;
  color:#7a4b00!important;
  border:1px solid rgba(122,75,0,.22)!important;
}
.fm-public-roster-modal .fm-unsold-modal-card.is-atob-player{
  background:#f0fdf4!important;
  border-color:#bbf7d0!important;
}
.fm-public-roster-modal .fm-unsold-modal-card.is-atob-player .fm-atob-badge{
  margin-left:6px;
}

/* v1.5.64 - Svincolo A→B verso Blocco B */
.fm-token-release-atob button{
  background:#fff7d6!important;
  color:#7a4b00!important;
  border-color:rgba(122,75,0,.28)!important;
  font-weight:900!important;
}


/* v1.5.67 - Svincoli ordinari Mercato Riparazione */
.fm-repair-release-note{margin:10px 0 12px!important;font-size:12px!important}
.fm-token-release-ordinary{right:40px!important}
.fm-token-release-ordinary button{background:#2563eb!important;color:#fff!important;border-color:#1d4ed8!important;font-weight:900!important}
.fm-token-release-ordinary button:hover{background:#1d4ed8!important}
.fm-token-delete-manual{right:8px!important}


/* v1.5.68 - checkbox impostazioni mercato + S visibile */
.fm-form .fm-checkline{display:flex!important;align-items:flex-start!important;gap:10px!important;background:#f8fafc;border:1px solid var(--fm-border);border-radius:14px;padding:12px 14px;margin:0 0 10px!important;font-weight:800!important;line-height:1.35}
.fm-form .fm-checkline input[type="checkbox"]{width:auto!important;max-width:none!important;min-width:18px!important;height:18px!important;margin:2px 0 0!important;padding:0!important;border-radius:4px!important;flex:0 0 auto!important}
.fm-form .fm-checkline span{display:block!important}
.fm-form .fm-checkline small{display:block;color:var(--fm-muted);font-weight:700;margin-top:3px}
.fm-form .fm-checkline-important{border-color:#bfdbfe;background:#eff6ff}
.fm-repair-release-note{line-height:1.45!important}
.fm-repair-release-note-on{border-color:#bfdbfe!important;background:#eff6ff!important;color:#1e3a8a!important}
.fm-repair-release-note-off{border-color:#fed7aa!important;background:#fff7ed!important;color:#9a3412!important}
.fm-token-release-ordinary{right:42px!important;opacity:1!important;pointer-events:auto!important;z-index:5!important}
.fm-token-release-ordinary button{width:28px!important;height:28px!important;background:#2563eb!important;color:#fff!important;border:2px solid #fff!important;box-shadow:0 6px 15px rgba(37,99,235,.28)!important;font-size:14px!important}
.fm-token-release-ordinary button:hover{background:#1d4ed8!important}
.fm-roster-token{padding-right:72px!important}

/* v1.5.72 - Mercato Rip. più leggibile + crediti svincoli */
.fm-repair-market-details{
  display:block!important;
  margin:14px 0!important;
  padding:0!important;
  border:1px solid var(--fm-border)!important;
  border-radius:18px!important;
  background:#fff!important;
  box-shadow:0 10px 24px rgba(15,23,42,.05)!important;
  overflow:hidden!important;
}
.fm-repair-market-details summary{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:16px!important;
  cursor:pointer!important;
  padding:16px 18px!important;
  list-style:none!important;
  background:#f8fafc!important;
  border-bottom:1px solid transparent!important;
}
.fm-repair-market-details[open] summary{border-bottom-color:var(--fm-border)!important}
.fm-repair-market-details summary::-webkit-details-marker{display:none!important}
.fm-repair-market-details summary span{display:flex!important;flex-direction:column!important;gap:4px!important;min-width:0!important}
.fm-repair-market-details summary strong{font-size:17px!important;color:var(--fm-ink)!important;line-height:1.2!important}
.fm-repair-market-details summary em{font-size:12px!important;color:var(--fm-muted)!important;font-style:normal!important;font-weight:700!important;line-height:1.35!important;max-width:920px!important}
.fm-repair-market-details summary b{flex:0 0 auto!important;border:1px solid var(--fm-border)!important;background:#fff!important;border-radius:999px!important;padding:8px 12px!important;font-size:12px!important;color:#64748b!important;white-space:nowrap!important}
.fm-repair-empty{padding:16px 18px;color:#64748b;font-weight:700}
.fm-repair-table-wrap{max-height:440px!important;overflow:auto!important;margin:0!important;border-top:0!important}
.fm-repair-table th{white-space:nowrap!important;position:sticky!important;top:0!important;background:#fff!important;z-index:1!important}
.fm-repair-credit-cell{white-space:nowrap!important;min-width:82px!important}
.fm-repair-credit-cell span{display:block!important;font-size:12px!important;line-height:1.25!important;color:#334155!important;font-weight:800!important}
.fm-repair-credit-cell b{display:inline-block!important;min-width:28px!important;color:#64748b!important;font-weight:900!important;text-transform:uppercase!important;font-size:10px!important;letter-spacing:.02em!important}
.fm-repair-credits-th{width:90px!important}
.fm-repair-note-cell{font-size:12px!important;line-height:1.35!important;min-width:260px!important}
.fm-repair-limit-note{padding:0 18px 14px!important;margin:10px 0 0!important}
.fm-repair-quick-guide{line-height:1.5!important}
@media (max-width: 900px){
  .fm-repair-market-details summary{align-items:flex-start!important;flex-direction:column!important}
  .fm-repair-table-wrap{max-height:360px!important}
}

/* v1.5.73 — Svincoli ordinari frontend dalla rosa utente */
.fm-live-roster-release-wrap{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;align-items:center;width:100%}
.fm-live-roster-release-wrap>.fm-live-roster-token{width:100%;min-width:0;margin:0!important}
.fm-live-roster-release-wrap>button.fm-live-roster-token{width:100%}
.fm-sv-module{margin:0 0 20px!important;border:1px solid rgba(148,163,184,.22)!important;border-radius:14px!important;overflow:hidden!important;background:#fff!important}
.fm-sv-header{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;padding:14px 18px 12px!important;border-bottom:1px solid rgba(148,163,184,.15)!important;flex-wrap:wrap!important}
.fm-sv-kicker{display:block!important;font-size:10px!important;font-weight:700!important;letter-spacing:.1em!important;text-transform:uppercase!important;color:#94a3b8!important;margin-bottom:3px!important}
.fm-sv-title{font-size:16px!important;font-weight:700!important;color:#0f172a!important;margin:0!important}
.fm-sv-status-pill{font-size:11px!important;font-weight:700!important;padding:4px 10px!important;border-radius:999px!important;border:1.5px solid currentColor!important;opacity:.9!important;white-space:nowrap!important}
.fm-sv-notice{padding:14px 18px!important;font-size:13px!important;color:#64748b!important;margin:0!important}
.fm-sv-counters{display:grid!important;grid-template-columns:repeat(4,1fr)!important;border-bottom:1px solid rgba(148,163,184,.15)!important}
.fm-sv-ctr{padding:9px 12px!important;text-align:center!important;border-right:1px solid rgba(148,163,184,.12)!important}
.fm-sv-ctr:last-child{border-right:none!important}
.fm-sv-ctr small{display:block!important;font-size:9px!important;font-weight:700!important;letter-spacing:.08em!important;text-transform:uppercase!important;color:#94a3b8!important;margin-bottom:2px!important}
.fm-sv-ctr span{font-size:13px!important;font-weight:700!important;color:#0f172a!important}
.fm-sv-ctr span em{font-style:normal!important;color:#94a3b8!important;font-size:11px!important}
.fm-sv-ctr.is-full span{color:#dc2626!important}
.fm-sv-confirm-panel{border-bottom:1px solid rgba(148,163,184,.2)!important;background:#f8fafc!important;animation:svSlideIn .18s ease!important}
@keyframes svSlideIn{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}
.fm-sv-confirm-bar{height:3px!important}
.fm-sv-confirm-body{padding:14px 18px!important;display:flex!important;align-items:center!important;gap:16px!important;flex-wrap:wrap!important}
.fm-sv-confirm-info{flex:1!important;min-width:160px!important}
.fm-sv-confirm-role{font-size:9px!important;font-weight:700!important;letter-spacing:.1em!important;text-transform:uppercase!important;color:#94a3b8!important;margin-bottom:2px!important}
.fm-sv-confirm-name{font-size:15px!important;font-weight:700!important;color:#0f172a!important;text-transform:uppercase!important;letter-spacing:.02em!important;line-height:1.15!important}
.fm-sv-confirm-meta{font-size:11px!important;color:#64748b!important;margin-top:2px!important}
.fm-sv-confirm-creds{display:flex!important;align-items:center!important;gap:8px!important;flex-shrink:0!important}
.fm-sv-confirm-cred{text-align:center!important;min-width:52px!important}
.fm-sv-confirm-cred span{display:block!important;font-size:9px!important;font-weight:700!important;letter-spacing:.06em!important;text-transform:uppercase!important;color:#94a3b8!important;margin-bottom:2px!important}
.fm-sv-confirm-cred b{font-size:16px!important;font-weight:700!important;color:#0f172a!important}
.fm-sv-confirm-cred.is-rec b{color:#15803d!important}
.fm-sv-confirm-cred.is-loss b{color:#dc2626!important}
.fm-sv-loss-arrow{color:#94a3b8!important;font-size:16px!important;margin:0 2px!important}
.fm-sv-confirm-actions{display:flex!important;gap:8px!important;flex-shrink:0!important}
.fm-sv-cancel-btn{padding:7px 14px!important;border:1.5px solid #e2e8f0!important;border-radius:8px!important;background:#fff!important;color:#64748b!important;font-size:12px!important;font-weight:700!important;cursor:pointer!important;transition:background .1s!important}
.fm-sv-cancel-btn:hover{background:#f1f5f9!important}
.fm-sv-go-btn{padding:7px 16px!important;border:none!important;border-radius:8px!important;background:#0f172a!important;color:#fff!important;font-size:12px!important;font-weight:700!important;cursor:pointer!important;letter-spacing:.02em!important;transition:opacity .1s!important}
.fm-sv-go-btn:hover{opacity:.82!important}
.fm-sv-confirm-note{font-size:10px!important;color:#94a3b8!important;margin:6px 0 0!important;width:100%!important;text-align:center!important}
.fm-sv-list{} 
.fm-sv-section-lbl{font-size:9px!important;font-weight:700!important;letter-spacing:.1em!important;text-transform:uppercase!important;color:#94a3b8!important;padding:8px 18px 4px!important;background:#f8fafc!important;border-top:1px solid rgba(148,163,184,.12)!important;border-bottom:1px solid rgba(148,163,184,.1)!important}
.fm-sv-row{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;padding:10px 18px!important;border-bottom:1px solid rgba(148,163,184,.1)!important;background:#fff!important;transition:background .1s!important}
.fm-sv-row:last-child{border-bottom:none!important}
.fm-sv-row.is-picking{background:#eff6ff!important}
.fm-sv-row.is-disabled{opacity:.4!important}
.fm-sv-row-left{display:flex!important;align-items:center!important;gap:10px!important;min-width:0!important;flex:1!important}
.fm-sv-badge{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:26px!important;height:26px!important;border-radius:6px!important;font-size:9px!important;font-weight:700!important;letter-spacing:.04em!important;flex-shrink:0!important}
.fm-sv-rp-d .fm-sv-badge{background:#dbeafe!important;color:#1e40af!important}
.fm-sv-rp-c .fm-sv-badge{background:#dcfce7!important;color:#166534!important}
.fm-sv-rp-a .fm-sv-badge{background:#fee2e2!important;color:#991b1b!important}
.fm-sv-badge.is-blk{background:#f1f5f9!important;color:#475569!important}
.fm-sv-row-info{min-width:0!important;flex:1!important}
.fm-sv-row-info strong{display:block!important;font-size:13px!important;font-weight:700!important;color:#0f172a!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;text-transform:uppercase!important;letter-spacing:.02em!important}
.fm-sv-row-info small{display:block!important;font-size:11px!important;color:#64748b!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.fm-sv-reason{display:block!important;font-size:10px!important;color:#dc2626!important;font-weight:700!important;margin-top:1px!important}
.fm-sv-row-right{display:flex!important;align-items:center!important;gap:8px!important;flex-shrink:0!important}
.fm-sv-chip{display:flex!important;flex-direction:column!important;align-items:center!important;min-width:40px!important}
.fm-sv-chip span{font-size:8px!important;font-weight:700!important;letter-spacing:.06em!important;text-transform:uppercase!important;color:#94a3b8!important;line-height:1!important;margin-bottom:2px!important}
.fm-sv-chip b{font-size:13px!important;font-weight:700!important;color:#0f172a!important;line-height:1!important}
.fm-sv-chip.is-rec b{color:#15803d!important}
.fm-sv-pick-btn{padding:6px 12px!important;border:none!important;border-radius:7px!important;background:#0f172a!important;color:#fff!important;font-size:11px!important;font-weight:700!important;cursor:pointer!important;white-space:nowrap!important;transition:opacity .1s,transform .1s!important;letter-spacing:.02em!important}
.fm-sv-pick-btn:hover{opacity:.8!important;transform:translateY(-1px)!important}
.fm-sv-footer-note{font-size:11px!important;color:#94a3b8!important;padding:10px 18px!important;border-top:1px solid rgba(148,163,184,.12)!important;margin:0!important;line-height:1.5!important}
@media(max-width:640px){.fm-sv-counters{grid-template-columns:repeat(2,1fr)!important}.fm-sv-ctr:nth-child(2){border-right:none!important}.fm-sv-confirm-body{gap:10px!important}.fm-sv-confirm-creds{gap:6px!important}.fm-sv-chip:first-child{display:none!important}}

/* v1.5.78 — Svincoli FantaAsta: due colonne per ruolo */
.fm-sv-section-lbl{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important}
.fm-sv-section-lbl span{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:22px!important;height:22px!important;padding:0 7px!important;border-radius:999px!important;background:#e2e8f0!important;color:#334155!important;font-size:10px!important;font-weight:900!important;letter-spacing:0!important}
.fm-sv-role-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;padding:10px 18px 12px!important;border-bottom:1px solid rgba(148,163,184,.12)!important;background:#fff!important}
.fm-sv-role-grid .fm-sv-row{border:1px solid rgba(148,163,184,.18)!important;border-radius:12px!important;padding:9px 10px!important;box-shadow:0 6px 14px rgba(15,23,42,.04)!important}
.fm-sv-role-grid .fm-sv-row:last-child{border-bottom:1px solid rgba(148,163,184,.18)!important}
.fm-sv-role-grid-blocks{grid-template-columns:repeat(2,minmax(0,1fr))!important}
@media(max-width:980px){.fm-sv-role-grid{grid-template-columns:1fr!important}.fm-sv-role-grid-blocks{grid-template-columns:1fr!important}}
@media(max-width:640px){.fm-sv-role-grid{padding:8px 10px 10px!important}.fm-sv-role-grid .fm-sv-row{padding:9px 8px!important}.fm-sv-row-right{gap:5px!important}.fm-sv-pick-btn{padding:6px 8px!important;font-size:10px!important}}

.fm-sv-warning{display:flex!important;align-items:flex-start!important;gap:12px!important;padding:12px 18px!important;background:#fff8f0!important;border-top:1px solid rgba(234,179,8,.25)!important;border-bottom:1px solid rgba(234,179,8,.25)!important;color:#92400e!important}
.fm-sv-warning i{font-size:18px!important;flex-shrink:0!important;margin-top:1px!important;color:#d97706!important}
.fm-sv-warning strong{display:block!important;font-size:12px!important;font-weight:700!important;margin-bottom:3px!important;color:#78350f!important}
.fm-sv-warning span{font-size:11px!important;line-height:1.5!important;color:#92400e!important}
.fm-sv-recap{border-top:1px solid rgba(148,163,184,.15)!important;padding:0!important}
.fm-sv-recap-header{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;padding:10px 18px!important;background:#f8fafc!important;border-bottom:1px solid rgba(148,163,184,.12)!important;flex-wrap:wrap!important;gap:8px!important}
.fm-sv-recap-header>span{font-size:10px!important;font-weight:700!important;letter-spacing:.1em!important;text-transform:uppercase!important;color:#64748b!important}
.fm-sv-recap-totals{display:flex!important;gap:14px!important;flex-wrap:wrap!important}
.fm-sv-recap-totals span{font-size:11px!important;font-weight:700!important;color:#0f172a!important;display:flex!important;align-items:baseline!important;gap:4px!important}
.fm-sv-recap-totals small{font-size:9px!important;font-weight:700!important;letter-spacing:.06em!important;text-transform:uppercase!important;color:#94a3b8!important;margin-right:2px!important}
.fm-sv-recap-totals .is-rec{color:#15803d!important}
.fm-sv-recap-totals .is-loss{color:#dc2626!important}
.fm-sv-recap-cols{display:grid!important;grid-template-columns:minmax(0,1fr) 52px 52px 52px!important;gap:8px!important;padding:6px 18px!important;background:#f1f5f9!important;border-bottom:1px solid rgba(148,163,184,.12)!important}
.fm-sv-recap-cols span{font-size:9px!important;font-weight:700!important;letter-spacing:.08em!important;text-transform:uppercase!important;color:#94a3b8!important;text-align:right!important}
.fm-sv-recap-cols span:first-child{text-align:left!important}
.fm-sv-recap-row{display:grid!important;grid-template-columns:26px minmax(0,1fr) 52px 52px 52px!important;align-items:center!important;gap:8px!important;padding:8px 18px!important;border-bottom:1px solid rgba(148,163,184,.08)!important;background:#fff!important}
.fm-sv-recap-row:last-child{border-bottom:none!important}
.fm-sv-recap-name{font-size:12px!important;font-weight:700!important;color:#0f172a!important;text-transform:uppercase!important;letter-spacing:.02em!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.fm-sv-recap-name small{display:block!important;font-size:10px!important;color:#64748b!important;font-weight:400!important;text-transform:none!important;letter-spacing:0!important}
.fm-sv-recap-num{font-size:12px!important;font-weight:700!important;color:#94a3b8!important;text-align:right!important}
.fm-sv-recap-num.is-rec{color:#15803d!important}
.fm-sv-recap-num.is-loss{color:#dc2626!important}
.fm-sv-badge-sm{width:22px!important;height:22px!important;font-size:7px!important}
@media(max-width:640px){.fm-sv-recap-cols{grid-template-columns:minmax(0,1fr) 44px 44px!important}.fm-sv-recap-cols span:nth-child(2){display:none!important}.fm-sv-recap-row{grid-template-columns:22px minmax(0,1fr) 44px 44px!important}.fm-sv-recap-num:nth-child(3){display:none!important}}

/* v1.5.80 — Timer svincoli frontend FantaAsta */
.fm-repair-window-box{border-color:#dbeafe!important;background:#f8fbff!important}
.fm-sv-timer{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;padding:12px 18px!important;border-top:1px solid rgba(148,163,184,.15)!important;border-bottom:1px solid rgba(148,163,184,.15)!important;background:#f8fafc!important;flex-wrap:wrap!important}
.fm-sv-timer div{display:flex!important;flex-direction:column!important;gap:2px!important;min-width:0!important}
.fm-sv-timer span{font-size:9px!important;font-weight:800!important;text-transform:uppercase!important;letter-spacing:.12em!important;color:#94a3b8!important}
.fm-sv-timer strong{font-size:13px!important;font-weight:800!important;color:#0f172a!important}
.fm-sv-timer small{font-size:11px!important;color:#64748b!important;line-height:1.35!important}
.fm-sv-timer b{display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:8px 12px!important;border-radius:999px!important;font-size:12px!important;font-weight:900!important;white-space:nowrap!important;background:#e2e8f0!important;color:#334155!important}
.fm-sv-timer-open{background:#f0fdf4!important;border-color:#bbf7d0!important}
.fm-sv-timer-open b{background:#dcfce7!important;color:#166534!important}
.fm-sv-timer-scheduled{background:#eff6ff!important;border-color:#bfdbfe!important}
.fm-sv-timer-scheduled b{background:#dbeafe!important;color:#1e40af!important}
.fm-sv-timer-closed{background:#fef2f2!important;border-color:#fecaca!important}
.fm-sv-timer-closed b{background:#fee2e2!important;color:#991b1b!important}
@media(max-width:640px){.fm-sv-timer{align-items:flex-start!important}.fm-sv-timer b{width:100%!important}}
.fm-repair-window-box{grid-column:1/-1!important}

/* v1.5.82 — Svincoli Comitato backend più pratici */
.fm-repair-committee-picker{border-color:#dbeafe!important;background:#fbfdff!important}
.fm-committee-toolbar{display:grid!important;grid-template-columns:1.15fr 1.15fr .9fr 1fr!important;gap:12px!important;align-items:end!important;margin:14px 0 12px!important}
.fm-committee-toolbar label{margin:0!important}
.fm-committee-toolbar select,.fm-committee-toolbar input{width:100%!important;max-width:none!important}
.fm-committee-count{display:flex!important;align-items:center!important;gap:6px!important;margin:6px 0 12px!important;padding:10px 12px!important;border:1px solid #dbeafe!important;border-radius:12px!important;background:#eff6ff!important;color:#1e3a8a!important;font-weight:800!important;font-size:12px!important}
.fm-committee-player-list{display:flex!important;flex-direction:column!important;gap:12px!important;max-height:540px!important;overflow:auto!important;padding:2px 2px 6px!important}
.fm-committee-team-section{border:1px solid var(--fm-border)!important;border-radius:16px!important;background:#fff!important;overflow:hidden!important;box-shadow:0 8px 18px rgba(15,23,42,.04)!important}
.fm-committee-team-section h3{display:flex!important;align-items:baseline!important;justify-content:space-between!important;gap:10px!important;margin:0!important;padding:11px 14px!important;background:#f8fafc!important;border-bottom:1px solid var(--fm-border)!important;font-size:15px!important;color:#0f172a!important}
.fm-committee-team-section h3 small{font-size:11px!important;color:#64748b!important;font-weight:800!important}
.fm-committee-card-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;padding:10px!important}
.fm-committee-card{display:grid!important;grid-template-columns:34px minmax(0,1fr) 42px 42px 42px!important;gap:8px!important;align-items:center!important;border:1px solid rgba(148,163,184,.22)!important;border-radius:12px!important;padding:9px 10px!important;background:#fff!important;margin:0!important;cursor:pointer!important;transition:border-color .12s, box-shadow .12s, background .12s!important}
.fm-committee-card:hover{border-color:#93c5fd!important;box-shadow:0 8px 18px rgba(37,99,235,.08)!important;background:#f8fbff!important}
.fm-committee-card input{position:absolute!important;opacity:0!important;pointer-events:none!important}
.fm-committee-card:has(input:checked){border-color:#2563eb!important;background:#eff6ff!important;box-shadow:0 0 0 2px rgba(37,99,235,.12)!important}
.fm-committee-role{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:28px!important;height:28px!important;border-radius:999px!important;background:#0f172a!important;color:#fff!important;font-weight:900!important;font-size:12px!important}
.fm-committee-main{min-width:0!important;display:block!important}
.fm-committee-main strong{display:block!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;font-size:13px!important;color:#0f172a!important;text-transform:uppercase!important;letter-spacing:.01em!important}
.fm-committee-main small{display:block!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;font-size:11px!important;color:#64748b!important;font-weight:700!important;margin-top:2px!important}
.fm-committee-credits{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:1px!important;min-width:38px!important}
.fm-committee-credits em{font-size:8px!important;font-style:normal!important;text-transform:uppercase!important;letter-spacing:.08em!important;color:#94a3b8!important;font-weight:900!important;line-height:1!important}
.fm-committee-credits b{font-size:12px!important;color:#0f172a!important;line-height:1.1!important;font-weight:900!important;white-space:nowrap!important}
.fm-committee-credits.is-rec b{color:#15803d!important}
.fm-committee-credits.is-loss b{color:#dc2626!important}
.fm-committee-credits.is-manual b{font-size:10px!important;color:#92400e!important}
.fm-committee-actions{display:flex!important;align-items:center!important;gap:12px!important;flex-wrap:wrap!important;margin:14px 0 0!important}
.fm-committee-actions span{font-size:12px!important;color:#64748b!important;font-weight:700!important}
.fm-committee-hidden{display:none!important}
@media(max-width:1100px){.fm-committee-toolbar{grid-template-columns:1fr 1fr!important}.fm-committee-card-grid{grid-template-columns:1fr!important}}
@media(max-width:700px){.fm-committee-toolbar{grid-template-columns:1fr!important}.fm-committee-card{grid-template-columns:30px minmax(0,1fr) 38px 38px!important}.fm-committee-card .fm-committee-credits.is-loss{display:none!important}.fm-committee-player-list{max-height:460px!important}}

/* v1.5.84 — Fix troncamento Svincoli Comitato con fantasquadra selezionata */
.fm-repair-committee-picker.fm-committee-team-selected .fm-committee-player-list{
  max-height:none!important;
  overflow:visible!important;
  padding-bottom:10px!important;
}
.fm-repair-committee-picker.fm-committee-team-selected .fm-committee-team-section{
  overflow:visible!important;
}
.fm-repair-committee-picker.fm-committee-team-selected .fm-committee-actions{
  position:static!important;
  clear:both!important;
  margin-top:18px!important;
  border-top:1px solid #e2e8f0!important;
  padding-top:14px!important;
}
.fm-repair-committee-picker:not(.fm-committee-team-selected) .fm-committee-player-list{
  max-height:540px!important;
  overflow:auto!important;
}
@media(max-width:700px){
  .fm-repair-committee-picker:not(.fm-committee-team-selected) .fm-committee-player-list{max-height:460px!important}
}


/* v1.5.85 — UI Comitato stabile: filtri allineati e risultati non mozzati */
.fm-repair-committee-picker .fm-committee-toolbar{
  grid-template-columns:minmax(220px,1fr) minmax(220px,1fr) minmax(180px,.8fr) minmax(220px,1fr)!important;
  align-items:start!important;
}
.fm-repair-committee-picker .fm-committee-toolbar label{
  display:flex!important;
  flex-direction:column!important;
  gap:6px!important;
  min-width:0!important;
}
.fm-repair-committee-picker .fm-committee-toolbar select,
.fm-repair-committee-picker .fm-committee-toolbar input{
  height:44px!important;
  min-height:44px!important;
  box-sizing:border-box!important;
  line-height:1.2!important;
}
.fm-repair-committee-picker .fm-committee-player-list{
  overflow-x:hidden!important;
}
.fm-repair-committee-picker .fm-committee-team-section,
.fm-repair-committee-picker .fm-committee-card-grid{
  overflow:visible!important;
}
.fm-repair-committee-picker .fm-committee-team-section{
  margin:0 0 12px!important;
}
.fm-repair-committee-picker .fm-committee-card-grid{
  align-items:stretch!important;
}
.fm-repair-committee-picker .fm-committee-card{
  min-height:58px!important;
  height:auto!important;
  position:relative!important;
  z-index:1!important;
}
.fm-repair-committee-picker .fm-committee-filter-active .fm-committee-player-list,
.fm-repair-committee-picker.fm-committee-filter-active .fm-committee-player-list{
  max-height:none!important;
  overflow:visible!important;
}
.fm-repair-committee-picker.fm-committee-filter-active .fm-committee-actions{
  position:static!important;
  clear:both!important;
  margin-top:18px!important;
  border-top:1px solid #e2e8f0!important;
  padding-top:14px!important;
}
.fm-repair-committee-picker .fm-committee-team-section.fm-committee-hidden{
  display:none!important;
}
@media(max-width:1200px){
  .fm-repair-committee-picker .fm-committee-toolbar{grid-template-columns:1fr 1fr!important}
}
@media(max-width:760px){
  .fm-repair-committee-picker .fm-committee-toolbar{grid-template-columns:1fr!important}
}

/* v1.5.88 — Bacino Mercato Riparazione pulito */
.fm-repair-clean-preview{border:1px solid #dbe7ff!important;background:#f8fbff!important}
.fm-repair-clean-preview summary{cursor:pointer;padding:14px 16px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;background:#eef5ff!important;border-radius:12px!important}
.fm-repair-clean-preview summary strong{font-size:16px!important;color:#0f172a!important}
.fm-repair-clean-preview summary span{font-size:12px!important;background:#fff!important;border:1px solid #c7d2fe!important;border-radius:999px!important;padding:4px 9px!important;color:#1e3a8a!important}
.fm-repair-clean-intro{padding:14px 16px 4px!important}
.fm-repair-clean-intro p{margin:0 0 10px!important;color:#334155!important}
.fm-repair-clean-kpis{display:grid!important;grid-template-columns:repeat(4,minmax(120px,1fr))!important;gap:10px!important;padding:10px 16px!important}
.fm-repair-clean-kpis span{background:#fff!important;border:1px solid #dbe7ff!important;border-radius:12px!important;padding:12px!important;box-shadow:0 4px 12px rgba(15,23,42,.04)!important}
.fm-repair-clean-kpis b{display:block!important;font-size:24px!important;line-height:1!important;color:#0f172a!important}
.fm-repair-clean-kpis em{display:block!important;font-size:12px!important;color:#64748b!important;font-style:normal!important;margin-top:6px!important}
.fm-repair-clean-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important;padding:10px 16px 16px!important}
.fm-repair-clean-grid.compact{padding-top:0!important}
.fm-repair-clean-list{background:#fff!important;border:1px solid #e2e8f0!important;border-radius:14px!important;overflow:hidden!important}
.fm-repair-clean-list h4{margin:0!important;padding:12px 14px!important;background:#f8fafc!important;border-bottom:1px solid #e2e8f0!important;display:flex!important;justify-content:space-between!important;align-items:center!important;gap:10px!important;font-size:14px!important;color:#0f172a!important}
.fm-repair-clean-list h4 span{min-width:30px!important;text-align:center!important;background:#e0f2fe!important;color:#075985!important;border-radius:999px!important;padding:3px 8px!important;font-size:12px!important}
.fm-repair-clean-list ul{list-style:none!important;margin:0!important;padding:0!important;max-height:420px!important;overflow:auto!important}
.fm-repair-clean-list li{display:grid!important;grid-template-columns:1fr auto!important;gap:2px 10px!important;padding:10px 12px!important;border-bottom:1px solid #f1f5f9!important;align-items:center!important}
.fm-repair-clean-list li:last-child{border-bottom:0!important}
.fm-repair-clean-list li strong{font-size:13px!important;color:#111827!important;min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.fm-repair-clean-list li small{font-size:11px!important;color:#64748b!important;grid-column:1/2!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.fm-repair-clean-list li em{font-style:normal!important;font-size:11px!important;color:#475569!important;background:#f1f5f9!important;border-radius:999px!important;padding:3px 7px!important;grid-column:2/3!important;grid-row:1/3!important;align-self:center!important;white-space:nowrap!important}
.fm-repair-clean-credits{grid-column:1/3!important;font-size:11px!important;color:#334155!important;background:#f8fafc!important;border-radius:8px!important;padding:4px 6px!important;margin-top:2px!important;display:inline-block!important;width:max-content!important;max-width:100%!important}
.fm-repair-clean-credits b{font-size:10px!important;color:#64748b!important;margin-right:2px!important}
@media(max-width:1100px){.fm-repair-clean-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}.fm-repair-clean-grid{grid-template-columns:1fr!important}}
@media(max-width:640px){.fm-repair-clean-kpis{grid-template-columns:1fr!important}.fm-repair-clean-preview summary{align-items:flex-start!important;flex-direction:column!important}.fm-repair-clean-list li{grid-template-columns:1fr!important}.fm-repair-clean-list li em{grid-column:1!important;grid-row:auto!important;width:max-content!important}.fm-repair-clean-credits{grid-column:1!important}}


/* v1.5.90 - Listone Riparazione tecnico */
.fm-repair-generated-listone{border:1px solid #bbf7d0!important;background:#f7fee7!important}
.fm-repair-generated-listone summary{cursor:pointer;padding:14px 16px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;background:#ecfccb!important;border-radius:12px!important}
.fm-repair-generated-listone summary strong{font-size:16px!important;color:#14532d!important}
.fm-repair-generated-listone summary span{font-size:12px!important;background:#fff!important;border:1px solid #bbf7d0!important;border-radius:999px!important;padding:4px 9px!important;color:#166534!important;font-weight:800!important}
.fm-repair-generated-intro{padding:14px 16px 4px!important;color:#365314!important}
.fm-repair-generated-intro p{margin:0 0 10px!important;line-height:1.45!important}
.fm-repair-generated-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important;padding:12px 16px 16px!important}
.fm-repair-generated-group{background:#fff!important;border:1px solid #d9f99d!important;border-radius:14px!important;overflow:hidden!important;box-shadow:0 6px 18px rgba(20,83,45,.05)!important}
.fm-repair-generated-group h4{margin:0!important;padding:12px 14px!important;background:#f7fee7!important;border-bottom:1px solid #d9f99d!important;display:flex!important;justify-content:space-between!important;align-items:center!important;gap:10px!important;color:#14532d!important;font-size:14px!important}
.fm-repair-generated-group h4 span{min-width:30px!important;text-align:center!important;background:#dcfce7!important;color:#166534!important;border-radius:999px!important;padding:3px 8px!important;font-size:12px!important}
.fm-repair-generated-list{max-height:360px!important;overflow:auto!important}
.fm-repair-generated-row{display:grid!important;grid-template-columns:54px minmax(0,1fr) auto auto!important;gap:8px!important;align-items:center!important;padding:10px 12px!important;border-bottom:1px solid #f1f5f9!important}
.fm-repair-generated-row:last-child{border-bottom:0!important}
.fm-repair-generated-code{font-size:11px!important;font-weight:900!important;color:#166534!important;background:#dcfce7!important;border-radius:999px!important;padding:5px 7px!important;text-align:center!important;white-space:nowrap!important}
.fm-repair-generated-main{min-width:0!important;display:flex!important;flex-direction:column!important;gap:2px!important}
.fm-repair-generated-main strong{font-size:13px!important;color:#111827!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.fm-repair-generated-main small{font-size:11px!important;color:#64748b!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.fm-repair-generated-main em{font-size:11px!important;color:#475569!important;font-style:normal!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.fm-repair-generated-origin{font-size:11px!important;color:#365314!important;background:#f7fee7!important;border:1px solid #d9f99d!important;border-radius:999px!important;padding:4px 8px!important;white-space:nowrap!important;max-width:180px!important;overflow:hidden!important;text-overflow:ellipsis!important}
.fm-repair-generated-credit{font-size:11px!important;line-height:1.25!important;background:#f8fafc!important;border:1px solid #e2e8f0!important;border-radius:10px!important;padding:5px 8px!important;color:#334155!important;white-space:nowrap!important}
.fm-repair-generated-credit b{font-size:10px!important;color:#64748b!important;margin-right:2px!important}
.fm-repair-generated-note{margin:0 16px 16px!important;border-color:#bbf7d0!important;background:#f0fdf4!important;color:#14532d!important;line-height:1.45!important}
@media(max-width:1180px){.fm-repair-generated-grid{grid-template-columns:1fr!important}.fm-repair-generated-row{grid-template-columns:50px minmax(0,1fr) auto!important}.fm-repair-generated-credit{grid-column:2/4!important;width:max-content!important;max-width:100%!important}.fm-repair-generated-origin{max-width:160px!important}}
@media(max-width:680px){.fm-repair-generated-listone summary{align-items:flex-start!important;flex-direction:column!important}.fm-repair-generated-row{grid-template-columns:1fr!important}.fm-repair-generated-code,.fm-repair-generated-origin,.fm-repair-generated-credit{width:max-content!important;max-width:100%!important}.fm-repair-generated-credit{grid-column:1!important}}

/* v1.5.104 - Mercato dashboard utenti: fasi, filtri e ricerca */
.fm-market-user-view .fm-hero{margin-bottom:18px}
.fm-market-user-note{margin:0 0 18px;padding:14px 16px;border-radius:16px;background:#f8fafc;border:1px solid #e5e7eb;color:#334155}
.fm-market-user-panel{margin-bottom:22px}
.fm-market-user-head{display:flex;gap:18px;justify-content:space-between;align-items:flex-start;margin-bottom:18px}
.fm-market-user-head h3{margin:.2rem 0 .35rem;font-size:1.35rem}
.fm-market-user-head p{margin:.15rem 0;color:#475569}
.fm-market-user-head small{display:block;color:#64748b;margin-top:6px}
.fm-market-kicker{display:inline-flex;align-items:center;padding:4px 10px;border-radius:999px;background:#111827;color:#fff;font-size:.72rem;text-transform:uppercase;letter-spacing:.08em}
.fm-market-user-kpis{display:grid;grid-template-columns:repeat(4,minmax(80px,1fr));gap:8px;min-width:360px}
.fm-market-user-kpis span{display:flex;flex-direction:column;gap:2px;border:1px solid #e5e7eb;border-radius:14px;padding:10px 12px;background:#fff;text-align:center}
.fm-market-user-kpis b{font-size:1.25rem;line-height:1;color:#111827}
.fm-market-user-kpis em{font-style:normal;font-size:.75rem;color:#64748b}
.fm-market-user-groups{display:grid;gap:12px}
.fm-market-user-group{border:1px solid #e5e7eb;border-radius:16px;background:#fff;overflow:hidden}
.fm-market-user-group summary{cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;background:#f8fafc}
.fm-market-user-group summary span{display:inline-flex;align-items:center;justify-content:center;min-width:34px;height:28px;border-radius:999px;background:#111827;color:#fff;font-weight:700}
.fm-market-listone-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:10px;padding:14px}
.fm-market-listone-item{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;border:1px solid #e5e7eb;border-radius:14px;padding:11px 12px;background:#fff}
.fm-market-listone-item strong{display:block;font-size:.92rem;color:#111827;line-height:1.25}
.fm-market-listone-item small,.fm-market-listone-item em,.fm-market-listone-item span{display:block;margin-top:4px;font-size:.78rem;color:#64748b;font-style:normal;line-height:1.25}
.fm-market-listone-item>b{flex:0 0 auto;display:inline-flex;align-items:center;border-radius:999px;padding:4px 8px;font-size:.7rem;background:#f1f5f9;color:#334155;white-space:nowrap}
.fm-market-listone-item.is-pending>b{background:#ecfdf5;color:#047857}
.fm-market-listone-item.is-assigned>b{background:#eff6ff;color:#1d4ed8}
.fm-market-listone-item.is-unsold>b{background:#fff7ed;color:#c2410c}
.fm-market-listone-item.is-drawn>b{background:#fef2f2;color:#b91c1c}
@media (max-width: 760px){.fm-market-user-head{display:block}.fm-market-user-kpis{grid-template-columns:repeat(2,1fr);min-width:0;margin-top:14px}.fm-market-listone-grid{grid-template-columns:1fr}}


/* v1.5.104 - Mercato dashboard utenti: fasi, filtri e ricerca */
.fm-market-user-tools{display:grid;grid-template-columns:2fr repeat(3,minmax(150px,1fr));gap:10px;margin:0 0 16px;padding:14px;border:1px solid #e5e7eb;border-radius:18px;background:#f8fafc}
.fm-market-user-tools label{display:flex;flex-direction:column;gap:6px;margin:0;font-size:.78rem;font-weight:800;color:#334155;text-transform:uppercase;letter-spacing:.04em}
.fm-market-user-tools input,.fm-market-user-tools select{width:100%;height:42px;border:1px solid #dbe3ef;border-radius:12px;background:#fff;color:#0f172a;padding:0 12px;font-size:.94rem;font-weight:600;text-transform:none;letter-spacing:0;box-shadow:none}
.fm-market-user-tools input:focus,.fm-market-user-tools select:focus{outline:2px solid rgba(15,23,42,.12);border-color:#94a3b8}
.fm-market-empty-filter{margin:12px 0;padding:14px 16px;border:1px dashed #cbd5e1;border-radius:14px;background:#f8fafc;color:#475569;font-weight:700;text-align:center}
.fm-market-user-empty{padding:24px}
.fm-market-user-empty .fm-market-user-head{margin:0}
.fm-market-listone-grid{grid-template-columns:1fr}
.fm-market-listone-item{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(160px,.9fr) auto;align-items:center;padding:13px 14px;border-radius:16px;box-shadow:0 1px 2px rgba(15,23,42,.04)}
.fm-market-row-main strong{font-size:.96rem}
.fm-market-row-main small,.fm-market-row-main span{display:block;margin-top:5px;font-size:.8rem;color:#64748b;line-height:1.28}
.fm-market-row-extra{display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-start}
.fm-market-row-extra em{display:inline-flex;align-items:center;border-radius:999px;background:#f1f5f9;border:1px solid #e2e8f0;padding:4px 8px;margin:0;font-size:.72rem;font-weight:700;color:#475569;font-style:normal;line-height:1}
.fm-market-listone-item>b{justify-self:end;font-weight:800}
@media (max-width: 900px){.fm-market-user-tools{grid-template-columns:1fr 1fr}.fm-market-listone-item{grid-template-columns:1fr;gap:10px}.fm-market-listone-item>b{justify-self:start}.fm-market-row-extra{justify-content:flex-start}}
@media (max-width: 560px){.fm-market-user-tools{grid-template-columns:1fr}}

/* ===== v1.5.108 - Mercato Smart: compatto + colori ruolo + mobile card ===== */

/* Panel */
.fm-market-smart-panel{padding:18px;border-radius:20px;background:#fff;border:1.5px solid #e2e8f0;box-shadow:0 8px 28px rgba(15,23,42,.06)}
.fm-market-smart-head{padding-bottom:12px;border-bottom:1px solid #e5e7eb;margin-bottom:12px}
.fm-market-smart-head p{display:none}

/* Toolbar */
.fm-market-smart-toolbar{margin:0 0 12px;padding:11px 12px;border:1.5px solid #e2e8f0;border-radius:16px;background:#f8fafc}
.fm-market-search-wrap{display:flex;flex-direction:column;gap:5px;margin:0 0 9px;font-size:.68rem;font-weight:900;text-transform:uppercase;letter-spacing:.07em;color:#94a3b8}
.fm-market-search-wrap input{width:100%;height:40px;border:1.5px solid #cbd5e1;border-radius:11px;background:#fff;color:#0f172a;padding:0 13px;font-size:.92rem;font-weight:600;box-shadow:none}
.fm-market-search-wrap input:focus{outline:none;border-color:#7c3aed;box-shadow:0 0 0 3px rgba(124,58,237,.1)}

/* Filtri a tendina */
.fm-market-filter-drawer{border:1.5px solid #e2e8f0;border-radius:12px;background:#fff;overflow:hidden}
.fm-market-filter-drawer summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 11px;cursor:pointer;color:#334155;font-size:.8rem;font-weight:800;user-select:none}
.fm-market-filter-drawer summary::-webkit-details-marker{display:none}
.fm-market-filter-drawer summary span{display:inline-flex;align-items:center;gap:6px}
.fm-market-filter-drawer summary span::before{content:'▾';display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:999px;background:#0f172a;color:#fff;font-size:.66rem;transition:transform .18s ease}
.fm-market-filter-drawer[open] summary span::before{transform:rotate(180deg)}
.fm-market-filter-drawer summary em{font-style:normal;color:#94a3b8;font-size:.74rem;font-weight:700}
.fm-market-smart-tools-row{display:grid;grid-template-columns:1.2fr .7fr 1fr;gap:10px;padding:10px 11px;border-top:1px solid #f1f5f9}
.fm-market-filter-block{display:flex;flex-direction:column;gap:5px;min-width:0}
.fm-market-filter-block>span{font-size:.66rem;font-weight:900;text-transform:uppercase;letter-spacing:.07em;color:#94a3b8}

/* Chip filtro */
.fm-market-chipset{display:flex;flex-wrap:wrap;gap:5px}
.fm-market-chipset button{appearance:none;border:1.5px solid #e2e8f0;border-radius:999px;background:#fff;color:#475569;min-height:28px;padding:4px 9px;font-size:.72rem;font-weight:800;cursor:pointer;transition:all .12s ease;line-height:1}
.fm-market-chipset button:hover{border-color:#94a3b8;color:#0f172a}
.fm-market-chipset button.is-active{background:#0f172a;border-color:#0f172a;color:#fff;box-shadow:0 3px 8px rgba(15,23,42,.18)}
.fm-market-chipset button em{font-style:normal;display:inline-flex;align-items:center;justify-content:center;min-width:16px;height:15px;margin-left:3px;border-radius:999px;background:rgba(0,0,0,.09);padding:0 3px;font-size:.66rem}
.fm-market-chipset button.is-active em{background:rgba(255,255,255,.2)}

/* Chip ruolo colorati */
.fm-market-chipset button[data-fm-market-role-btn="P"]{border-color:#ddd6fe;background:#f5f3ff;color:#6d28d9}
.fm-market-chipset button[data-fm-market-role-btn="D"]{border-color:#bfdbfe;background:#eff6ff;color:#1d4ed8}
.fm-market-chipset button[data-fm-market-role-btn="C"]{border-color:#bbf7d0;background:#f0fdf4;color:#15803d}
.fm-market-chipset button[data-fm-market-role-btn="A"]{border-color:#fed7aa;background:#fff7ed;color:#c2410c}
.fm-market-chipset button[data-fm-market-role-btn="P"].is-active{background:#7c3aed;border-color:#7c3aed;color:#fff;box-shadow:0 3px 8px rgba(124,58,237,.28)}
.fm-market-chipset button[data-fm-market-role-btn="D"].is-active{background:#2563eb;border-color:#2563eb;color:#fff;box-shadow:0 3px 8px rgba(37,99,235,.28)}
.fm-market-chipset button[data-fm-market-role-btn="C"].is-active{background:#16a34a;border-color:#16a34a;color:#fff;box-shadow:0 3px 8px rgba(22,163,74,.28)}
.fm-market-chipset button[data-fm-market-role-btn="A"].is-active{background:#f97316;border-color:#f97316;color:#fff;box-shadow:0 3px 8px rgba(249,115,22,.28)}

/* Result bar */
.fm-market-smart-resultbar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:9px;padding-top:9px;border-top:1px dashed #e2e8f0;color:#64748b;font-size:.8rem;font-weight:700}
.fm-market-smart-resultbar strong{color:#0f172a;font-size:.96rem}
.fm-market-smart-resultbar button{appearance:none;border:1.5px solid #e2e8f0;border-radius:999px;background:#fff;color:#475569;padding:5px 11px;font-size:.72rem;font-weight:800;cursor:pointer}
.fm-market-smart-resultbar button:hover{border-color:#94a3b8;color:#0f172a}

/* Lista gruppi */
.fm-market-smart-list{display:grid;gap:12px}
.fm-market-smart-group{border:1.5px solid #e2e8f0;border-radius:16px;overflow:hidden;box-shadow:0 3px 12px rgba(15,23,42,.04)}
.fm-market-smart-group-title{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 15px;background:linear-gradient(90deg,#0f172a,#1e293b);color:#fff}
.fm-market-smart-group-title h4{margin:0;font-size:.82rem;font-weight:900;letter-spacing:.04em;color:#fff;text-transform:uppercase}
.fm-market-smart-group-title span{display:inline-flex;align-items:center;justify-content:center;min-width:28px;height:22px;border-radius:999px;background:rgba(255,255,255,.14);font-size:.76rem;font-weight:900;padding:0 7px}

/* Header colonne — sticky dentro il panel */
.fm-market-smart-table-head{
  display:grid;
  grid-template-columns:40px 68px minmax(200px,1.6fr) minmax(120px,.8fr) 96px 72px 128px;
  gap:9px;align-items:center;
  padding:7px 14px;
  background:#f8fafc;border-bottom:2px solid #e2e8f0;
  color:#94a3b8;font-size:.64rem;font-weight:900;text-transform:uppercase;letter-spacing:.07em;
}

/* Riga dati */
.fm-market-smart-row{
  display:grid;
  grid-template-columns:40px 68px minmax(200px,1.6fr) minmax(120px,.8fr) 96px 72px 128px;
  gap:9px;align-items:center;
  padding:8px 14px;
  border-bottom:1px solid #f1f5f9;
  background:#fff;
  border-left:3px solid transparent;
  transition:background .1s,border-color .1s;
}
.fm-market-smart-row:last-child{border-bottom:0}
.fm-market-smart-row:hover{background:#f8fafc}

/* Numero */
.fm-market-smart-num span{display:inline-flex;align-items:center;justify-content:center;width:34px;height:24px;border-radius:7px;background:#f1f5f9;color:#94a3b8;font-weight:900;font-size:.7rem;font-variant-numeric:tabular-nums}

/* Badge ruolo — base grigio, poi override per colore */
.fm-market-smart-role b{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:9px;background:#64748b;color:#fff;font-weight:900;font-size:.82rem}
.fm-market-smart-role small{display:block;margin-top:3px;color:#94a3b8;font-size:.62rem;font-weight:700;line-height:1.2}

/* Colori badge per ruolo: P=viola, D=blu, C=verde, A=arancio */
.fm-unsold-role-p .fm-market-smart-role b{background:#7c3aed}
.fm-unsold-role-d .fm-market-smart-role b{background:#2563eb}
.fm-unsold-role-c .fm-market-smart-role b{background:#16a34a}
.fm-unsold-role-a .fm-market-smart-role b{background:#f97316}

/* Accento sinistra */
.fm-unsold-role-p{border-left-color:#7c3aed}
.fm-unsold-role-d{border-left-color:#2563eb}
.fm-unsold-role-c{border-left-color:#16a34a}
.fm-unsold-role-a{border-left-color:#f97316}
.fm-unsold-role-bl{border-left-color:#64748b}

/* Hover tintato per ruolo */
.fm-unsold-role-p:hover{background:#faf5ff}
.fm-unsold-role-d:hover{background:#eff6ff}
.fm-unsold-role-c:hover{background:#f0fdf4}
.fm-unsold-role-a:hover{background:#fff7ed}

/* Celle testo */
.fm-market-smart-name strong{display:block;color:#0f172a;font-size:.88rem;font-weight:800;line-height:1.2}
.fm-market-smart-name small{display:block;margin-top:2px;color:#94a3b8;font-size:.7rem;font-weight:700}
.fm-market-smart-team strong{display:block;color:#334155;font-size:.82rem;font-weight:700;line-height:1.2}
.fm-market-smart-team small{display:block;margin-top:2px;color:#94a3b8;font-size:.68rem;font-weight:700}
.fm-market-smart-type strong{display:block;color:#475569;font-size:.8rem;font-weight:700}
.fm-market-smart-type small{display:block;margin-top:2px;color:#94a3b8;font-size:.68rem;font-weight:700}
.fm-market-smart-row.is-block .fm-market-smart-type strong{color:#92400e}
.fm-market-smart-price strong{display:block;color:#0f172a;font-size:.96rem;font-weight:900;font-variant-numeric:tabular-nums;line-height:1}
.fm-market-smart-price small{display:block;margin-top:2px;color:#94a3b8;font-size:.66rem;font-weight:700}

/* Badge stato */
.fm-market-smart-status b{display:inline-flex;align-items:center;border-radius:999px;padding:4px 8px;background:#f1f5f9;color:#475569;font-size:.68rem;font-weight:900;line-height:1;white-space:nowrap}
.fm-market-smart-status small{display:block;margin-top:3px;color:#64748b;font-size:.68rem;font-weight:700;line-height:1.2}
.fm-market-smart-row.is-pending .fm-market-smart-status b{background:#ecfdf5;color:#047857}
.fm-market-smart-row.is-assigned .fm-market-smart-status b{background:#eff6ff;color:#1d4ed8}
.fm-market-smart-row.is-unsold .fm-market-smart-status b{background:#fff7ed;color:#c2410c}
.fm-market-smart-row.is-drawn .fm-market-smart-status b{background:#fef2f2;color:#b91c1c}
.fm-market-smart-row.is-skipped .fm-market-smart-status b{background:#f8fafc;color:#94a3b8}

/* Empty */
.fm-market-empty-filter{margin:10px 0;padding:14px;border:1.5px dashed #cbd5e1;border-radius:14px;background:#f8fafc;color:#64748b;font-weight:800;text-align:center;font-size:.84rem}

/* ===== RESPONSIVE ===== */

/* 1200px */
@media (max-width:1200px){
  .fm-market-smart-table-head,.fm-market-smart-row{grid-template-columns:36px 60px minmax(170px,1.4fr) minmax(110px,.7fr) 84px 66px 116px;gap:7px}
  .fm-market-smart-tools-row{grid-template-columns:1fr}
}

/* 900px: nascondi Tipo */
@media (max-width:900px){
  .fm-market-smart-table-head,.fm-market-smart-row{grid-template-columns:36px 58px minmax(160px,1.4fr) minmax(100px,.7fr) 66px 120px;gap:7px}
  .fm-market-smart-type{display:none}
}

/* 640px: card stack */
@media (max-width:640px){
  .fm-market-smart-table-head{display:none}
  .fm-market-smart-row{
    display:grid;
    grid-template-columns:52px 1fr auto;
    grid-template-rows:auto auto;
    gap:5px 8px;
    padding:10px 11px;
    align-items:start;
  }
  .fm-market-smart-num{display:none}
  .fm-market-smart-role{grid-column:1;grid-row:1/3;display:flex;flex-direction:column;align-items:center;gap:4px}
  .fm-market-smart-role b{width:36px;height:36px;border-radius:10px;font-size:.88rem}
  .fm-market-smart-role small{font-size:.62rem;text-align:center}
  .fm-market-smart-name{grid-column:2;grid-row:1;align-self:center}
  .fm-market-smart-name strong{font-size:.86rem}
  .fm-market-smart-status{grid-column:3;grid-row:1;align-self:start;text-align:right}
  .fm-market-smart-status b{font-size:.66rem;padding:3px 7px}
  .fm-market-smart-status small{display:none}
  .fm-market-smart-team{grid-column:2;grid-row:2;display:block!important}
  .fm-market-smart-team strong{font-size:.76rem;color:#475569}
  .fm-market-smart-team small{display:inline;font-size:.68rem}
  .fm-market-smart-team small::before{content:' · '}
  .fm-market-smart-price{grid-column:3;grid-row:2;text-align:right}
  .fm-market-smart-price strong{font-size:.88rem}
  .fm-market-smart-price small{font-size:.64rem}
  .fm-market-smart-type{display:none!important}
}

/* 420px */
@media (max-width:420px){
  .fm-market-smart-panel{padding:12px;border-radius:16px}
  .fm-market-smart-toolbar{padding:9px}
  .fm-market-smart-group-title{padding:9px 12px}
  .fm-market-smart-row{padding:9px 10px;grid-template-columns:46px 1fr auto}
  .fm-market-smart-role b{width:32px;height:32px;border-radius:8px;font-size:.8rem}
  .fm-market-chipset{gap:4px}
  .fm-market-chipset button{font-size:.7rem;padding:4px 8px}
}

/* ===== v1.5.110 — Mercato Dashboard: mappa a griglia ===== */
.fm-market-map-panel{overflow:hidden}
.fm-market-map-toolbar{display:grid;gap:10px}
.fm-market-map-legend{display:flex;flex-wrap:wrap;gap:8px;align-items:center;font-size:.78rem;font-weight:800;color:#475569}
.fm-market-map-legend span{display:inline-flex;align-items:center;gap:6px;border:1px solid #e2e8f0;border-radius:999px;background:#fff;padding:5px 10px}
.fm-market-map-legend i{display:inline-block;width:12px;height:12px;border-radius:999px}
.fm-market-map-legend i.is-available{background:#22c55e}
.fm-market-map-legend i.is-unavailable{background:#ef4444}
.fm-market-map-layout{display:grid;gap:16px}
.fm-market-map-section{border:1.5px solid #e2e8f0;border-radius:18px;background:#fff;box-shadow:0 3px 14px rgba(15,23,42,.04);overflow:hidden}
.fm-market-map-title{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 15px;background:linear-gradient(90deg,#0f172a,#1e293b);color:#fff}
.fm-market-map-title span{display:block;margin-bottom:2px;color:#cbd5e1;font-size:.68rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase}
.fm-market-map-title h4{margin:0;color:#fff;font-size:.95rem;font-weight:900}
.fm-market-map-title>b{display:inline-flex;align-items:center;justify-content:center;min-width:34px;height:28px;border-radius:999px;background:rgba(255,255,255,.14);font-size:.82rem;font-weight:900}
.fm-market-map-empty{padding:16px;color:#64748b;font-weight:800;background:#f8fafc}
.fm-market-b-scroll{overflow-x:auto;padding:12px;background:#f8fafc;border-top:1px solid #e2e8f0}
.fm-market-b-scroll+.fm-market-b-scroll{border-top:0;padding-top:0}
.fm-market-b-grid{width:100%;min-width:860px;border-collapse:separate;border-spacing:0;background:#fff;border:1px solid #dbe3ef;border-radius:14px;overflow:hidden}
.fm-market-b-grid th,.fm-market-b-grid td{border-right:1px solid #e5e7eb;border-bottom:1px solid #e5e7eb;text-align:center;vertical-align:middle;padding:7px;min-width:78px}
.fm-market-b-grid th:last-child,.fm-market-b-grid td:last-child{border-right:0}
.fm-market-b-grid tr:last-child th,.fm-market-b-grid tr:last-child td{border-bottom:0}
.fm-market-b-grid thead th{background:#f1f5f9;color:#0f172a;font-size:.72rem;font-weight:900;text-transform:uppercase;letter-spacing:.04em}
.fm-market-b-grid tbody th{background:#fff;color:#334155;text-align:left;font-size:.78rem;font-weight:900;min-width:116px}
.fm-market-map-cell{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:42px;border-radius:10px;color:#fff;font-weight:900;line-height:1.05;box-shadow:inset 0 -1px 0 rgba(0,0,0,.08)}
.fm-market-map-cell b{font-size:.76rem;letter-spacing:.03em}
.fm-market-map-cell small{display:block;max-width:72px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.58rem;font-weight:800;opacity:.9}
.fm-market-map-cell.is-available{background:#22c55e}
.fm-market-map-cell.is-unavailable{background:#ef4444}
.fm-market-a-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px;padding:12px;background:#f8fafc}
.fm-market-a-card{border:1.5px solid #dbe3ef;border-radius:16px;background:#fff;overflow:hidden;box-shadow:0 3px 12px rgba(15,23,42,.04)}
.fm-market-a-card header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;background:#fff;border-bottom:1px solid #e5e7eb}
.fm-market-a-card h5{margin:0;color:#0f172a;font-size:.94rem;font-weight:950;text-transform:uppercase;letter-spacing:.03em}
.fm-market-a-porta{display:flex;align-items:center;gap:7px}
.fm-market-a-porta>span{display:inline-flex;align-items:center;justify-content:center;height:24px;border-radius:999px;background:#0f172a;color:#fff;padding:0 9px;font-size:.66rem;font-weight:950;letter-spacing:.06em}
.fm-market-a-porta .fm-market-map-cell{min-height:30px;min-width:56px;border-radius:9px;padding:2px 6px}
.fm-market-a-porta .fm-market-map-cell small{display:none}
.fm-market-a-role{display:grid;grid-template-columns:124px 1fr;gap:8px;padding:9px 12px;border-bottom:1px solid #f1f5f9;border-left:4px solid #94a3b8;align-items:start}
.fm-market-a-role:last-child{border-bottom:0}
.fm-market-a-role strong{font-size:.72rem;font-weight:950;text-transform:uppercase;letter-spacing:.05em;color:#334155;padding-top:3px}
.fm-market-a-role em{font-style:normal;color:#cbd5e1;font-weight:900}
.fm-market-a-role ul{list-style:none;margin:0;padding:0;display:grid;gap:5px}
.fm-market-a-role li{display:flex;align-items:center;justify-content:space-between;gap:8px;border:1px solid #e5e7eb;border-radius:10px;background:#fff;padding:6px 8px;color:#0f172a;font-size:.8rem;font-weight:800;line-height:1.15}
.fm-market-a-role li b{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:20px;border-radius:999px;background:#f1f5f9;color:#475569;font-size:.66rem;font-weight:950}
.fm-market-a-role.fm-role-d{border-left-color:#2563eb;background:#eff6ff}
.fm-market-a-role.fm-role-c{border-left-color:#16a34a;background:#f0fdf4}
.fm-market-a-role.fm-role-a{border-left-color:#f97316;background:#fff7ed}
.fm-market-a-role.fm-role-d strong{color:#1d4ed8}
.fm-market-a-role.fm-role-c strong{color:#15803d}
.fm-market-a-role.fm-role-a strong{color:#c2410c}
@media (max-width:760px){.fm-market-a-grid{grid-template-columns:1fr}.fm-market-a-role{grid-template-columns:1fr;gap:5px}.fm-market-map-title{padding:11px 12px}.fm-market-b-scroll{padding:10px}.fm-market-b-grid{min-width:760px}}
@media (max-width:420px){.fm-market-a-card header{display:block}.fm-market-a-porta{margin-top:8px;justify-content:space-between}.fm-market-a-role li{font-size:.76rem}}

/* ===== v1.5.111 — Mercato Dashboard: griglia 10+10 e Serie A smart ===== */
.fm-market-map-panel .fm-market-map-layout{gap:18px}
.fm-market-b-group{background:#f8fafc;border-top:1px solid #e2e8f0}
.fm-market-b-group+.fm-market-b-group{border-top:1px solid #dbe3ef}
.fm-market-b-group-title{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 14px;background:#ffffff;color:#0f172a;font-weight:950;border-bottom:1px solid #e2e8f0}
.fm-market-b-group-title span{font-size:.82rem;letter-spacing:.03em;text-transform:uppercase}
.fm-market-b-group-title em{font-style:normal;font-size:.72rem;color:#64748b;font-weight:900}
.fm-market-b-scroll{border-top:0;padding:12px 14px;background:#f8fafc}
.fm-market-b-scroll+.fm-market-b-scroll{padding-top:12px;border-top:0}
.fm-market-b-grid{min-width:920px;border-radius:16px;box-shadow:0 6px 18px rgba(15,23,42,.05)}
.fm-market-b-grid thead th{height:38px;background:#0f172a;color:#fff;border-color:#1e293b;font-size:.7rem}
.fm-market-b-grid tbody th{background:#f8fafc;color:#0f172a;font-size:.82rem}
.fm-market-b-grid td{background:#fff}
.fm-market-map-cell{min-height:34px;border-radius:9px;font-weight:950;box-shadow:0 3px 9px rgba(15,23,42,.08);text-transform:none}
.fm-market-map-cell b{font-size:.82rem;letter-spacing:0;text-transform:none}
.fm-market-a-grid{grid-template-columns:repeat(auto-fit,minmax(390px,1fr));gap:14px;padding:14px;background:#f8fafc}
.fm-market-a-card{border-radius:18px;border:1px solid #d8e1ef;box-shadow:0 8px 22px rgba(15,23,42,.06)}
.fm-market-a-card header{padding:13px 14px;background:linear-gradient(135deg,#ffffff,#f8fafc);border-bottom:1px solid #e2e8f0}
.fm-market-a-kicker{display:block;margin-bottom:2px;font-size:.62rem;font-weight:950;letter-spacing:.1em;text-transform:uppercase;color:#64748b}
.fm-market-a-card h5{font-size:1.05rem;line-height:1.1}
.fm-market-a-porta{gap:8px}
.fm-market-a-porta>span{height:28px;background:#111827;box-shadow:0 4px 10px rgba(15,23,42,.16)}
.fm-market-a-porta .fm-market-map-cell{min-width:46px;min-height:28px;padding:0 8px}
.fm-market-a-roles-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:12px;background:#fff}
.fm-market-a-role{display:block;padding:0;border:1px solid #e2e8f0;border-radius:14px;overflow:hidden;background:#fff;border-left-width:1px}
.fm-market-a-role-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 10px;border-bottom:1px solid rgba(226,232,240,.9)}
.fm-market-a-role-head strong{padding:0;font-size:.68rem;letter-spacing:.06em}
.fm-market-a-role-head b{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:22px;border-radius:999px;background:#fff;color:#0f172a;border:1px solid rgba(15,23,42,.08);font-size:.72rem;font-weight:950}
.fm-market-a-role ul{padding:8px;gap:6px;max-height:none;overflow:visible}
.fm-market-a-role li{padding:7px 8px;border-radius:9px;font-size:.78rem;background:rgba(255,255,255,.82);justify-content:flex-start}
.fm-market-a-role em{display:block;padding:14px 10px;color:#94a3b8;text-align:center;font-size:.78rem;font-weight:900}
.fm-market-a-role.fm-role-d{border-color:#bfdbfe;background:#eff6ff}
.fm-market-a-role.fm-role-c{border-color:#bbf7d0;background:#f0fdf4}
.fm-market-a-role.fm-role-a{border-color:#fed7aa;background:#fff7ed}
.fm-market-a-role.fm-role-d .fm-market-a-role-head{background:#dbeafe}
.fm-market-a-role.fm-role-c .fm-market-a-role-head{background:#dcfce7}
.fm-market-a-role.fm-role-a .fm-market-a-role-head{background:#ffedd5}
@media (max-width:980px){.fm-market-a-grid{grid-template-columns:1fr}.fm-market-a-roles-grid{grid-template-columns:1fr}}
@media (max-width:760px){.fm-market-b-group-title{display:block}.fm-market-b-group-title em{display:block;margin-top:4px}.fm-market-b-grid{min-width:820px}.fm-market-a-card header{display:flex}.fm-market-a-roles-grid{padding:10px}}
@media (max-width:420px){.fm-market-a-card header{display:block}.fm-market-a-porta{margin-top:8px;justify-content:space-between}.fm-market-a-grid{padding:10px}.fm-market-a-role ul{max-height:none}}

/* ===== v1.5.113 — Chiusura mercato / congelamento rose ===== */
.fm-freeze-status-on,
.fm-freeze-status-off{display:inline-flex;align-items:center;justify-content:center;padding:7px 12px;border-radius:999px;font-weight:950;letter-spacing:.08em;font-size:.72rem;text-transform:uppercase}
.fm-freeze-status-on{background:#dc2626;color:#fff;box-shadow:0 8px 18px rgba(220,38,38,.22)}
.fm-freeze-status-off{background:#16a34a;color:#fff;box-shadow:0 8px 18px rgba(22,163,74,.20)}
.fm-freeze-panel .fm-kpi-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px;margin:14px 0}
.fm-freeze-panel .fm-kpi-row>div{background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:12px;text-align:center;box-shadow:0 6px 18px rgba(15,23,42,.05)}
.fm-freeze-panel .fm-kpi-row strong{display:block;font-size:1.35rem;color:#0f172a;line-height:1}
.fm-freeze-panel .fm-kpi-row span{display:block;margin-top:5px;color:#64748b;font-size:.75rem;font-weight:800}
.fm-panel-danger{border-color:#fecaca!important;background:#fff1f2!important}

/* v1.5.118 Coppa Italia knockout */
.fm-coppa-bracket-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;margin-top:12px}
.fm-coppa-bracket-card{display:flex;flex-direction:column;gap:4px;border-left:4px solid #111827}
.fm-coppa-bracket-card strong{font-size:14px;letter-spacing:.04em;text-transform:uppercase;color:#111827}
.fm-coppa-bracket-card span{font-weight:700}
.fm-coppa-bracket-card em{font-style:normal;color:#6b7280;font-size:12px;text-transform:uppercase}
.fm-coppa-bracket-card small{color:#92400e;background:#fffbeb;border-radius:999px;padding:3px 8px;width:max-content}
.fm-coppa-next-panel .fm-rule-chips{gap:8px;align-items:center;flex-wrap:wrap}
.fm-coppa-next-panel .fm-inline-form,.fm-coppa-qual-panel .fm-inline-form{display:inline-block;margin:0}

/* v1.5.121 - Coppa Italia test tecnico e tabellone rifinito */
.fm-coppa-test-grid{margin-top:12px}
.fm-coppa-test-card{border-left:4px solid #9ca3af;display:flex;flex-direction:column;gap:6px}
.fm-coppa-test-card span{font-weight:800;width:max-content;border-radius:999px;padding:3px 8px;background:#f3f4f6;color:#374151}
.fm-coppa-test-card small{color:#4b5563;line-height:1.35}
.fm-coppa-test-card.is-ok{border-left-color:#16a34a;background:#f0fdf4}
.fm-coppa-test-card.is-ok span{background:#dcfce7;color:#166534}
.fm-coppa-test-card.is-warn{border-left-color:#f59e0b;background:#fffbeb}
.fm-coppa-test-card.is-warn span{background:#fef3c7;color:#92400e}
.fm-coppa-test-card.is-wait{border-left-color:#64748b;background:#f8fafc}
.fm-coppa-test-card.is-wait span{background:#e2e8f0;color:#334155}
.fm-coppa-bracket-card .fm-coppa-matchline{background:#f3f4f6;color:#374151;border-radius:10px;width:auto;max-width:100%;line-height:1.35;white-space:normal}
.fm-coppa-bracket-card .fm-coppa-winner-line{background:#ecfdf5;color:#166534;border-radius:10px;width:auto;max-width:100%;line-height:1.35;white-space:normal}
.fm-coppa-bracket-card .fm-coppa-winner-line.fm-muted{background:#fff7ed;color:#9a3412}

/* v1.5.122 - PlayOff / PlayOut */
.fm-playoff-bracket-panel .fm-table-title{align-items:center}
.fm-playoff-bracket-grid{margin-bottom:16px}
.fm-playoff-pair-card{border-left-color:#7c3aed;background:linear-gradient(135deg,#ffffff,#faf5ff)}
.fm-playoff-pair-card small{white-space:normal;width:auto;max-width:100%;line-height:1.35}
.fm-playoff-standings-preview .fm-mini-card{border-left:4px solid #0f172a}
.fm-compact-list{margin:8px 0 0 18px;padding:0;display:flex;flex-direction:column;gap:6px}
.fm-compact-list li{line-height:1.25}
.fm-compact-list small{display:block;color:#64748b;font-weight:700}

/* v1.5.123 - PlayOff / PlayOut test tecnico */
.fm-playoff-test-panel table{margin-top:10px}
.fm-playoff-test-panel th{font-weight:900;color:#0f172a}
.fm-playoff-test-panel td{vertical-align:top}
.fm-playoff-test-panel strong{font-weight:950;color:#111827}

/* v1.5.124 - Miglior punteggio ultime 11 giornate */
.fm-best-score-panel{overflow:hidden}
.fm-best-score-panel .fm-table-title{align-items:center}
.fm-best-score-hero{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:16px;border-radius:18px;background:linear-gradient(135deg,#111827,#1f2937);color:#fff;margin:12px 0}
.fm-best-score-hero span{display:block;text-transform:uppercase;letter-spacing:.08em;font-size:11px;color:#cbd5e1;font-weight:800}
.fm-best-score-hero strong{display:block;font-size:24px;line-height:1.05;margin-top:4px}
.fm-best-score-hero small{display:block;color:#e5e7eb;margin-top:4px;font-weight:700}
.fm-best-score-hero b{font-size:32px;line-height:1;white-space:nowrap}
.fm-best-score-meta{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}
.fm-best-score-meta span{background:#f3f4f6;color:#374151;border-radius:999px;padding:5px 10px;font-size:12px;font-weight:800}
.fm-best-score-table tr.is-leader td{background:#fffbeb}
.fm-best-score-table tr.is-leader td:first-child{font-weight:900;color:#92400e}
.fm-best-score-table td strong{display:block}
.fm-best-score-table td small{display:block;color:#64748b;font-size:11px;font-weight:700}
.fm-best-score-panel.is-compact{margin-bottom:18px;border-left:4px solid #f59e0b;background:linear-gradient(135deg,#fff,#fffbeb)}
.fm-best-score-panel.is-compact .fm-best-score-table tbody tr:nth-child(n+6){display:none}
@media(max-width:720px){.fm-best-score-hero{align-items:flex-start;flex-direction:column}.fm-best-score-hero b{font-size:26px}.fm-best-score-table th:nth-child(6),.fm-best-score-table td:nth-child(6),.fm-best-score-table th:nth-child(7),.fm-best-score-table td:nth-child(7){display:none}}

/* v1.5.126 - Backend Smart Impostazioni */
.fm-smart-head .fm-pill{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:var(--fm-accent);color:#fff;font-weight:900;padding:8px 14px;white-space:nowrap}
.fm-smart-status{margin:18px 0}.fm-smart-status .fm-card{padding:18px 20px}.fm-smart-status .fm-card strong{font-size:30px}
.fm-settings-hub h2{margin-top:0}.fm-settings-hub-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:14px}
.fm-settings-link{display:flex;flex-direction:column;gap:8px;text-decoration:none!important;color:var(--fm-text)!important;background:#f8fafc;border:1px solid var(--fm-border);border-radius:18px;padding:18px;min-height:142px;transition:.15s ease}
.fm-settings-link:hover{transform:translateY(-2px);background:#fff;border-color:var(--fm-accent);box-shadow:0 14px 34px rgba(15,23,42,.10)}
.fm-settings-link strong{font-size:18px;line-height:1.15;letter-spacing:-.02em}.fm-settings-link span{color:var(--fm-muted);line-height:1.4;font-weight:600}.fm-settings-link em{margin-top:auto;font-style:normal;font-weight:900;color:var(--fm-accent)}
.fm-smart-settings-form{padding:0!important;overflow:hidden}.fm-smart-settings-form>.fm-table-title{padding:20px 22px 0}.fm-smart-section{border-top:1px solid var(--fm-border);background:#fff}
.fm-smart-section summary{list-style:none;cursor:pointer;display:grid;grid-template-columns:40px minmax(0,1fr) minmax(160px,.75fr);gap:14px;align-items:center;padding:18px 22px;font-weight:900}.fm-smart-section summary::-webkit-details-marker{display:none}
.fm-smart-section summary span{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:999px;background:var(--fm-accent);color:#fff;font-size:13px}.fm-smart-section summary strong{font-size:18px;letter-spacing:-.02em}.fm-smart-section summary em{font-style:normal;color:var(--fm-muted);font-weight:700;text-align:right}
.fm-smart-section[open] summary{background:linear-gradient(135deg,#fff,#f8fafc)}.fm-smart-section-body{padding:0 22px 22px}.fm-smart-section-body h3{margin:18px 0 10px;font-size:15px;text-transform:uppercase;letter-spacing:.07em;color:#334155}.fm-smart-section-body .fm-box{box-shadow:none}
.fm-smart-savebar{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;border-top:1px solid var(--fm-border);background:#f8fafc;padding:18px 22px}.fm-smart-savebar span{color:var(--fm-muted);font-weight:700}
@media(max-width:860px){.fm-smart-section summary{grid-template-columns:34px 1fr}.fm-smart-section summary em{grid-column:2;text-align:left}.fm-settings-link{min-height:auto}}

/* v1.5.127 — Backend Smart Menu */
.fm-hub-head{align-items:flex-start}.fm-hub-panel{padding:18px}.fm-hub-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(245px,1fr));gap:14px}.fm-hub-card{display:flex;flex-direction:column;gap:9px;min-height:138px;padding:18px;border:1px solid var(--fm-border);border-radius:18px;background:#f8fafc;color:var(--fm-text)!important;text-decoration:none!important;transition:.15s ease;box-shadow:0 6px 18px rgba(15,23,42,.04)}.fm-hub-card:hover{transform:translateY(-2px);background:#fff;border-color:var(--fm-accent);box-shadow:0 16px 40px rgba(15,23,42,.10)}.fm-hub-card strong{font-size:18px;line-height:1.15;letter-spacing:-.02em}.fm-hub-card span{color:var(--fm-muted);font-weight:650;line-height:1.38}.fm-hub-card em{margin-top:auto;font-style:normal;font-weight:900;color:var(--fm-accent)}.fm-hub-card-primary{border-color:rgba(37,99,235,.26);background:linear-gradient(180deg,#eff6ff,#fff)}.fm-hub-card-warning{border-color:rgba(245,158,11,.35);background:linear-gradient(180deg,#fffbeb,#fff)}.fm-hub-card-danger{border-color:rgba(239,68,68,.32);background:linear-gradient(180deg,#fef2f2,#fff)}.fm-hub-note{margin-bottom:14px}.fm-shortcode-panel{padding:18px}.fm-shortcode-list{display:grid;gap:10px}.fm-shortcode-row{display:grid;grid-template-columns:minmax(170px,.8fr) minmax(190px,.8fr) 1fr;gap:12px;align-items:center;border:1px solid var(--fm-border);border-radius:14px;background:#fff;padding:12px 14px}.fm-shortcode-row strong{font-size:14px}.fm-shortcode-row code{display:inline-block;background:#0f172a;color:#fff;border-radius:999px;padding:7px 10px;font-weight:900;text-align:center}.fm-shortcode-row span{color:var(--fm-muted);font-weight:650}@media(max-width:760px){.fm-shortcode-row{grid-template-columns:1fr}.fm-shortcode-row code{text-align:left;border-radius:12px}.fm-hub-card{min-height:auto}}

/* v1.5.128 — Manuale Operativo A-Z */
.fm-manual-index{border-left:4px solid var(--fm-accent,#111827)}
.fm-manual-flow{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px;margin:16px 0 0;padding:0;counter-reset:fmmanual}
.fm-manual-flow li{list-style:none;background:#f8fafc;border:1px solid #e5e7eb;border-radius:14px;padding:12px 14px;font-weight:700;color:#111827;position:relative;padding-left:42px}
.fm-manual-flow li:before{counter-increment:fmmanual;content:counter(fmmanual);position:absolute;left:12px;top:10px;width:22px;height:22px;border-radius:999px;background:var(--fm-accent,#111827);color:#fff;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:800}
.fm-manual-panel .fm-smart-section-body ol{margin:0 0 0 20px}
.fm-manual-panel .fm-smart-section-body li{margin:8px 0;line-height:1.45}

/* v1.5.129 - risultato cliccabile e popup voti partita */
.fm-calendar-match .fm-score-pill{
  display:inline-flex;
  justify-content:center;
  align-items:center;
  min-height:34px;
  border-radius:999px;
  background:#0f172a;
  color:#fff!important;
  padding:5px 8px;
  font-weight:1000;
  border:0;
  font-family:inherit;
  line-height:1;
}
.fm-calendar-match .fm-score-click{
  cursor:pointer;
  box-shadow:0 8px 18px rgba(15,23,42,.14);
  transition:transform .14s ease, box-shadow .14s ease, filter .14s ease;
}
.fm-calendar-match .fm-score-click:hover{
  transform:translateY(-1px);
  filter:brightness(1.08);
  box-shadow:0 12px 24px rgba(15,23,42,.2);
}
.fm-public-result-day .fm-calendar-match .fm-score-pill{background:#1d4ed8!important}
.fm-match-votes-modal .fm-modal-dialog{width:min(1120px,96vw)}
.fm-match-votes-modal h3 span{display:inline-flex;align-items:center;justify-content:center;margin:0 8px;padding:5px 12px;border-radius:999px;background:#0f172a;color:#fff;font-size:.85em}
.fm-match-votes-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:14px}

.fm-match-lineups-grid .fm-lineup-public-card{margin:0!important;box-shadow:none!important;border:1px solid #dbe5f1!important;background:#fff!important}
.fm-match-lineups-grid .fm-lineup-public-card h3{padding:16px 18px;margin:0;border-bottom:1px solid #e5e7eb;background:#f8fafc;color:#0f172a;font-size:18px}
.fm-match-lineups-grid .fm-public-score-sheet{border-radius:0 0 18px 18px}
.fm-match-votes-modal .fm-modal-dialog{max-height:92vh;overflow:auto}
.fm-team-votes-card{border:1px solid #dbe5f1;border-radius:18px;background:linear-gradient(180deg,#fff,#f8fafc);overflow:hidden}
.fm-team-votes-card header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border-bottom:1px solid #e5e7eb;background:#f8fafc}
.fm-team-votes-card header small{display:block;text-transform:uppercase;font-size:11px;font-weight:1000;color:#64748b;letter-spacing:.08em}
.fm-team-votes-card header strong{display:block;font-size:18px;color:#0f172a;letter-spacing:-.02em}
.fm-team-votes-total{display:grid;gap:2px;text-align:right;min-width:84px}
.fm-team-votes-total span,.fm-team-votes-total em{font-style:normal;font-size:11px;font-weight:900;color:#64748b}
.fm-team-votes-total b{font-size:22px;color:#0f172a;line-height:1}
.fm-votes-table-wrap{overflow-x:auto}
.fm-votes-table{width:100%;border-collapse:collapse;font-size:13px}
.fm-votes-table th{padding:9px 8px;background:#eef4ff;color:#334155;text-align:left;font-size:11px;text-transform:uppercase;letter-spacing:.06em}
.fm-votes-table td{padding:9px 8px;border-top:1px solid #edf2f7;color:#0f172a;vertical-align:middle}
.fm-votes-table td:nth-child(n+3),.fm-votes-table th:nth-child(n+3){text-align:center;white-space:nowrap}
.fm-votes-table td strong{display:block;font-size:13px;line-height:1.2}
.fm-votes-table td small{display:block;margin-top:2px;color:#64748b;font-size:11px;font-weight:800}
.fm-vote-role{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:999px;background:#e5e7eb;color:#0f172a;font-weight:1000}
.fm-vote-row.fm-role-p .fm-vote-role{background:#ffedd5;color:#9a3412}
.fm-vote-row.fm-role-d .fm-vote-role{background:#dbeafe;color:#1d4ed8}
.fm-vote-row.fm-role-c .fm-vote-role{background:#dcfce7;color:#047857}
.fm-vote-row.fm-role-a .fm-vote-role{background:#ffe4e6;color:#be123c}
@media(max-width:860px){.fm-match-votes-grid{grid-template-columns:1fr}.fm-match-votes-modal .fm-modal-dialog{width:96vw}.fm-votes-table{font-size:12px}.fm-team-votes-card header{align-items:flex-start}}

/* v1.5.132 - Popup risultato più bello, ordinato e responsive */
.fm-match-votes-modal-pro .fm-match-pro-dialog{
  width:min(1180px,96vw)!important;
  max-height:92vh!important;
  padding:0!important;
  overflow:hidden!important;
  border-radius:28px!important;
  background:#f8fafc!important;
  box-shadow:0 30px 90px rgba(2,6,23,.34)!important;
}
.fm-match-votes-modal-pro .fm-modal-close{
  top:18px!important;
  right:18px!important;
  z-index:5!important;
  background:#fff!important;
  border:1px solid #e2e8f0!important;
  box-shadow:0 10px 24px rgba(15,23,42,.12)!important;
}
.fm-match-pro-head{
  position:sticky;
  top:0;
  z-index:3;
  padding:22px 56px 18px 24px;
  background:linear-gradient(135deg,#020617 0%,#0f172a 54%,#1d4ed8 120%);
  color:#fff;
  border-bottom:1px solid rgba(255,255,255,.12);
}
.fm-match-pro-title{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:12px;
  font-size:clamp(22px,3vw,34px);
  line-height:1.05;
  letter-spacing:-.04em;
  font-weight:1000;
}
.fm-match-pro-title strong{
  color:#fff;
  max-width:42%;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.fm-match-pro-title span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:86px;
  padding:8px 15px;
  border-radius:999px;
  background:#fff;
  color:#020617;
  font-size:.78em;
  box-shadow:0 14px 34px rgba(0,0,0,.2);
}
.fm-match-pro-head p{
  margin:9px 0 0!important;
  color:#cbd5e1!important;
  font-size:13px!important;
  font-weight:800!important;
  letter-spacing:0!important;
}
.fm-match-pro-body{
  max-height:calc(92vh - 112px);
  overflow:auto;
  padding:18px;
}
.fm-match-votes-modal-pro .fm-match-votes-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  align-items:start!important;
  gap:18px!important;
  margin-top:0!important;
}
.fm-match-votes-modal-pro .fm-lineup-public-card{
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  border:1px solid #dbe5f1!important;
  border-radius:24px!important;
  background:#fff!important;
  box-shadow:0 16px 40px rgba(15,23,42,.08)!important;
}
.fm-match-votes-modal-pro .fm-lineup-public-card > h3{
  margin:0!important;
  padding:16px 18px!important;
  color:#fff!important;
  background:linear-gradient(135deg,#0f172a,#1e293b)!important;
  font-size:18px!important;
  line-height:1.15!important;
  letter-spacing:-.02em!important;
  border:0!important;
}
.fm-match-votes-modal-pro .fm-lineup-missing{
  margin:16px!important;
  padding:14px 16px!important;
  border-radius:18px!important;
  background:#fff7ed!important;
  border:1px solid #fed7aa!important;
  color:#9a3412!important;
  font-size:14px!important;
}
.fm-match-votes-modal-pro .fm-lineup-last-edit{
  margin:14px!important;
  padding:13px 14px!important;
  display:grid!important;
  gap:5px!important;
  background:#f8fafc!important;
  border-radius:18px!important;
}
.fm-match-votes-modal-pro .fm-lineup-last-edit strong{
  font-size:16px!important;
  color:#0f172a!important;
}
.fm-match-votes-modal-pro .fm-lineup-last-edit span{
  font-size:12px!important;
  color:#64748b!important;
}
.fm-match-votes-modal-pro .fm-public-match-summary{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:8px!important;
  margin:0 14px 14px!important;
}
.fm-match-votes-modal-pro .fm-public-match-summary > div{
  min-width:0!important;
  padding:10px 8px!important;
  border-radius:16px!important;
  background:#f8fafc!important;
  border:1px solid #e2e8f0!important;
  text-align:center!important;
}
.fm-match-votes-modal-pro .fm-public-match-summary strong{
  display:block!important;
  color:#020617!important;
  font-size:20px!important;
  line-height:1!important;
  word-break:break-word;
}
.fm-match-votes-modal-pro .fm-public-match-summary span{
  display:block!important;
  margin-top:5px!important;
  color:#64748b!important;
  font-size:10px!important;
  font-weight:1000!important;
  text-transform:uppercase!important;
  letter-spacing:.05em!important;
}
.fm-match-votes-modal-pro .fm-public-sub-summary{
  margin:0 14px 14px!important;
  padding:13px 15px!important;
  border-radius:18px!important;
  background:#ecfdf5!important;
  border:1px solid #bbf7d0!important;
}
.fm-match-votes-modal-pro .fm-public-score-sheet{
  margin:0 14px 14px!important;
  border-radius:18px!important;
  border:1px solid #cbd5e1!important;
  box-shadow:none!important;
}
.fm-match-votes-modal-pro .fm-score-head,
.fm-match-votes-modal-pro .fm-score-row{
  grid-template-columns:38px minmax(150px,1fr) 64px 82px 74px!important;
}
.fm-match-votes-modal-pro .fm-score-head{
  font-size:11px!important;
  letter-spacing:.02em!important;
}
.fm-match-votes-modal-pro .fm-score-head span,
.fm-match-votes-modal-pro .fm-score-head em{
  padding:9px 5px!important;
}
.fm-match-votes-modal-pro .fm-score-row{
  min-height:34px!important;
}
.fm-match-votes-modal-pro .fm-score-row b{
  font-size:12px!important;
}
.fm-match-votes-modal-pro .fm-score-player-cell{
  grid-template-columns:26px minmax(0,1fr)!important;
  gap:1px 7px!important;
  padding:6px 7px!important;
}
.fm-match-votes-modal-pro .fm-score-role-pill{
  width:24px!important;
  height:24px!important;
  font-size:10px!important;
}
.fm-match-votes-modal-pro .fm-score-player-name{
  font-size:11px!important;
  line-height:1.12!important;
}
.fm-match-votes-modal-pro .fm-score-player-team,
.fm-match-votes-modal-pro .fm-score-public-note{
  font-size:9px!important;
  line-height:1.15!important;
}
.fm-match-votes-modal-pro .fm-score-row span{
  font-size:11px!important;
  padding:6px 4px!important;
}
.fm-match-votes-modal-pro .fm-score-total-grid{
  grid-template-columns:86px repeat(3,1fr)!important;
}
.fm-match-votes-modal-pro .fm-score-big{
  font-size:30px!important;
}
.fm-match-votes-modal-pro .fm-score-total-grid span,
.fm-match-votes-modal-pro .fm-score-total-grid strong{
  font-size:11px!important;
  padding:7px 5px!important;
}
@media(max-width:980px){
  .fm-match-votes-modal-pro .fm-match-votes-grid{
    grid-template-columns:1fr!important;
  }
  .fm-match-pro-body{
    max-height:calc(92vh - 120px);
  }
}
@media(max-width:640px){
  .fm-match-votes-modal-pro .fm-match-pro-dialog{
    width:98vw!important;
    max-height:94vh!important;
    border-radius:20px!important;
  }
  .fm-match-pro-head{
    padding:18px 52px 15px 16px!important;
  }
  .fm-match-pro-title{
    gap:8px!important;
  }
  .fm-match-pro-title strong{
    max-width:100%;
    flex:1 1 100%;
  }
  .fm-match-pro-title span{
    order:3;
    min-width:72px;
    padding:7px 12px;
  }
  .fm-match-pro-body{
    padding:12px!important;
    max-height:calc(94vh - 150px)!important;
  }
  .fm-match-votes-modal-pro .fm-public-match-summary{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .fm-match-votes-modal-pro .fm-public-score-sheet{
    overflow-x:auto!important;
  }
  .fm-match-votes-modal-pro .fm-score-head,
  .fm-match-votes-modal-pro .fm-score-row,
  .fm-match-votes-modal-pro .fm-score-total-grid{
    min-width:560px!important;
  }
}

/* v1.5.133 — Area Ricreativa / Quote Ludiche */
.fm-fun-disclaimer{
  border-left:4px solid var(--fm-accent,#111827);
  background:linear-gradient(135deg,rgba(17,24,39,.06),rgba(17,24,39,.015));
}
.fm-fun-admin-form .fm-box,
.fm-fun-disclaimer{
  line-height:1.55;
}
.fm-fun-hero-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
  margin:12px 0 18px;
}
.fm-fun-card{
  position:relative;
  overflow:hidden;
  border:1px solid rgba(17,24,39,.10);
  border-radius:18px;
  padding:18px;
  background:linear-gradient(135deg,#fff,rgba(17,24,39,.045));
  box-shadow:0 10px 28px rgba(15,23,42,.07);
}
.fm-fun-card:after{
  content:"";
  position:absolute;
  width:120px;
  height:120px;
  right:-42px;
  top:-42px;
  border-radius:999px;
  background:rgba(17,24,39,.055);
}
.fm-fun-card > span{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:5px 10px;
  border-radius:999px;
  background:rgba(17,24,39,.08);
  color:#111827;
  font-size:12px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.fm-fun-card h4{
  margin:14px 0 4px;
  font-size:22px;
  line-height:1.1;
}
.fm-fun-card p{
  margin:0 0 14px;
  color:#64748b;
}
.fm-fun-card div{
  display:flex;
  align-items:flex-end;
  gap:10px;
  margin:8px 0;
}
.fm-fun-card div strong{
  font-size:36px;
  line-height:1;
}
.fm-fun-card div em{
  font-style:normal;
  color:#64748b;
  font-weight:700;
  padding-bottom:4px;
}
.fm-fun-card small{
  display:block;
  color:#334155;
  font-weight:700;
}
.fm-fun-table-wrap{
  overflow-x:auto;
}
.fm-fun-table td,
.fm-fun-table th{
  vertical-align:middle;
}
.fm-fun-table td small{
  display:block;
  color:#64748b;
  margin-top:2px;
}
.fm-fun-odd{
  display:inline-flex;
  min-width:58px;
  justify-content:center;
  padding:6px 10px;
  border-radius:999px;
  background:#111827;
  color:#fff;
  font-weight:900;
  letter-spacing:.02em;
}
.fm-fun-league-block{
  margin-top:18px;
}
@media (max-width: 900px){
  .fm-fun-hero-grid{grid-template-columns:1fr;}
  .fm-fun-card h4{font-size:20px;}
  .fm-fun-card div strong{font-size:30px;}
}

/* v1.5.134 — Quote Giornata 1/X/2 Ludiche */
.fm-fun-match-block{
  margin-top:18px;
}
.fm-fun-match-admin{
  margin-top:20px;
  padding-top:18px;
  border-top:1px solid rgba(15,23,42,.08);
}
.fm-fun-match-table-wrap{
  overflow-x:auto;
}
.fm-fun-match-table td,
.fm-fun-match-table th{
  vertical-align:middle;
}
.fm-fun-match-table td:first-child strong{
  display:inline-block;
}
.fm-fun-match-table td small{
  display:block;
  color:#64748b;
  margin-top:4px;
}
.fm-fun-vs{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin:0 8px;
  color:#64748b;
  font-weight:800;
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.fm-fun-odd.is-draw{
  background:#334155;
}
@media (max-width: 900px){
  .fm-fun-match-table{
    min-width:820px;
  }
}

/* v1.5.135 — Restyling frontend Area Ricreativa stile bookmaker ludico */
.fm-bet-page{
  --fm-bet-bg:#07111f;
  --fm-bet-bg2:#0d1b2e;
  --fm-bet-card:#0f2138;
  --fm-bet-card2:#132943;
  --fm-bet-line:rgba(255,255,255,.12);
  --fm-bet-text:#eef6ff;
  --fm-bet-muted:#a9b8cb;
  --fm-bet-accent:#ffd21a;
  --fm-bet-green:#15d27d;
  --fm-bet-red:#ff5666;
  color:var(--fm-bet-text);
  background:
    radial-gradient(circle at top left,rgba(255,210,26,.20),transparent 30%),
    radial-gradient(circle at bottom right,rgba(21,210,125,.16),transparent 28%),
    linear-gradient(135deg,var(--fm-bet-bg),var(--fm-bet-bg2));
  border-radius:28px;
  padding:18px;
  box-shadow:0 28px 80px rgba(2,6,23,.28);
}
.fm-bet-page *{box-sizing:border-box;}
.fm-bet-page .fm-panel{
  background:rgba(7,17,31,.78)!important;
  border:1px solid var(--fm-bet-line)!important;
  color:var(--fm-bet-text)!important;
  box-shadow:0 18px 45px rgba(0,0,0,.22)!important;
}
.fm-bet-page .fm-box{
  background:rgba(255,255,255,.08)!important;
  border-color:var(--fm-bet-line)!important;
  color:var(--fm-bet-text)!important;
}
.fm-bet-hero{
  display:grid;
  grid-template-columns:minmax(0,1fr) 280px;
  gap:18px;
  align-items:stretch;
  margin:0 0 16px;
  padding:22px;
  border-radius:24px;
  border:1px solid rgba(255,255,255,.14);
  background:
    linear-gradient(135deg,rgba(15,33,56,.96),rgba(7,17,31,.88)),
    repeating-linear-gradient(45deg,rgba(255,255,255,.08) 0 1px,transparent 1px 12px);
  overflow:hidden;
  position:relative;
}
.fm-bet-hero:before{
  content:"";
  position:absolute;
  inset:auto -70px -110px auto;
  width:260px;
  height:260px;
  border-radius:999px;
  background:rgba(255,210,26,.12);
  pointer-events:none;
}
.fm-bet-kicker,
.fm-bet-label{
  display:inline-flex;
  align-items:center;
  width:max-content;
  max-width:100%;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(255,210,26,.14);
  color:var(--fm-bet-accent);
  font-size:11px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.11em;
}
.fm-bet-hero h2{
  margin:10px 0 6px!important;
  color:#fff!important;
  font-size:clamp(30px,5vw,56px)!important;
  line-height:.96!important;
  letter-spacing:-.05em!important;
}
.fm-bet-hero p{
  margin:0!important;
  max-width:720px;
  color:var(--fm-bet-muted)!important;
  font-size:16px!important;
  line-height:1.5!important;
}
.fm-bet-hero-ticket{
  position:relative;
  z-index:1;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:12px;
  padding:18px;
  border-radius:20px;
  background:linear-gradient(180deg,rgba(255,210,26,.96),rgba(255,178,0,.96));
  color:#141414;
  box-shadow:0 18px 42px rgba(0,0,0,.28);
}
.fm-bet-hero-ticket > span{
  font-size:12px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.fm-bet-hero-ticket div{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:8px;
}
.fm-bet-hero-ticket strong{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:52px;
  border-radius:14px;
  background:#121212;
  color:#fff;
  font-size:26px;
  line-height:1;
}
.fm-bet-hero-ticket small{
  color:#3c2a00;
  font-weight:800;
}
.fm-bet-disclaimer{
  margin:0 0 16px!important;
  padding:12px 14px!important;
  border-left:4px solid var(--fm-bet-accent)!important;
  background:rgba(255,210,26,.10)!important;
  color:#f8fbff!important;
}
.fm-bet-disclaimer strong{color:var(--fm-bet-accent)!important;}
.fm-bet-league-block{
  padding:16px!important;
  border-radius:24px!important;
}
.fm-bet-section-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin:0 0 14px;
  padding:14px;
  border:1px solid var(--fm-bet-line);
  border-radius:18px;
  background:linear-gradient(135deg,rgba(19,41,67,.9),rgba(8,18,32,.9));
}
.fm-bet-section-head.is-sub{margin-top:18px;}
.fm-bet-section-head h3{
  margin:7px 0 0!important;
  color:#fff!important;
  font-size:24px!important;
  line-height:1.05!important;
}
.fm-bet-section-head > strong{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:9px 12px;
  border-radius:999px;
  background:var(--fm-bet-accent);
  color:#111;
  font-size:13px;
  font-weight:950;
  text-transform:uppercase;
  letter-spacing:.06em;
}
.fm-bet-page .fm-fun-hero-grid{
  grid-template-columns:1.25fr 1fr 1fr;
  gap:12px;
  margin:0 0 14px;
}
.fm-bet-top-card{
  background:linear-gradient(145deg,rgba(255,255,255,.08),rgba(255,255,255,.035))!important;
  border:1px solid var(--fm-bet-line)!important;
  border-radius:20px!important;
  color:var(--fm-bet-text)!important;
  box-shadow:0 16px 38px rgba(0,0,0,.20)!important;
}
.fm-bet-top-card:first-child{
  background:linear-gradient(145deg,rgba(255,210,26,.22),rgba(255,255,255,.045))!important;
}
.fm-bet-top-card:after{
  background:rgba(255,210,26,.10)!important;
}
.fm-bet-top-card-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  position:relative;
  z-index:1;
}
.fm-bet-top-card-head > span{
  display:inline-flex;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(255,210,26,.16);
  color:var(--fm-bet-accent);
  font-size:11px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.fm-bet-top-card-head i{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:38px;
  height:38px;
  border-radius:14px;
  background:var(--fm-bet-accent);
  color:#111;
  font-style:normal;
  font-weight:950;
}
.fm-bet-page .fm-fun-card h4{
  color:#fff!important;
  font-size:24px;
  margin-top:14px;
}
.fm-bet-page .fm-fun-card p,
.fm-bet-page .fm-fun-card small{
  color:var(--fm-bet-muted)!important;
}
.fm-bet-quote-big{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  margin:14px 0 10px!important;
  padding:10px!important;
  border-radius:16px;
  background:#fff;
  color:#111;
}
.fm-bet-quote-big em{
  padding:0!important;
  color:#3b3b3b!important;
  font-size:12px;
  font-weight:950;
  text-transform:uppercase;
  letter-spacing:.06em;
}
.fm-bet-quote-big strong{
  color:#111!important;
  font-size:36px!important;
}
.fm-bet-market-list{
  display:grid;
  gap:10px;
}
.fm-bet-market-title{
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border-radius:16px;
  background:rgba(0,0,0,.24);
  border:1px solid var(--fm-bet-line);
}
.fm-bet-market-title span{
  padding:5px 8px;
  border-radius:999px;
  background:rgba(21,210,125,.16);
  color:var(--fm-bet-green);
  font-size:11px;
  font-weight:950;
  text-transform:uppercase;
}
.fm-bet-market-title strong{color:#fff;font-size:15px;}
.fm-bet-market-title em{color:var(--fm-bet-muted);font-style:normal;font-size:12px;font-weight:800;}
.fm-bet-runner{
  display:grid;
  grid-template-columns:46px minmax(0,1fr) 120px 112px;
  gap:12px;
  align-items:center;
  padding:12px;
  border:1px solid var(--fm-bet-line);
  border-radius:18px;
  background:linear-gradient(135deg,rgba(19,41,67,.84),rgba(15,33,56,.58));
}
.fm-bet-runner-rank{
  display:flex;
  align-items:center;
  justify-content:center;
  width:42px;
  height:42px;
  border-radius:15px;
  background:rgba(255,255,255,.08);
  color:var(--fm-bet-accent);
  font-weight:950;
  font-size:18px;
}
.fm-bet-runner-main > strong{
  display:block;
  color:#fff;
  font-size:17px;
  line-height:1.1;
}
.fm-bet-runner-main > small{
  display:block;
  margin-top:2px;
  color:var(--fm-bet-muted);
}
.fm-bet-runner-main ul{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin:8px 0 0!important;
  padding:0!important;
  list-style:none!important;
}
.fm-bet-runner-main li{
  margin:0!important;
  padding:4px 7px!important;
  border-radius:999px;
  background:rgba(255,255,255,.08);
  color:#dbeafe;
  font-size:11px;
  font-weight:800;
}
.fm-bet-meter{
  height:7px;
  margin-top:9px;
  border-radius:999px;
  background:rgba(255,255,255,.10);
  overflow:hidden;
}
.fm-bet-meter span{
  display:block;
  height:100%;
  max-width:100%;
  border-radius:inherit;
  background:linear-gradient(90deg,var(--fm-bet-green),var(--fm-bet-accent));
}
.fm-bet-runner-prob{
  text-align:right;
  color:var(--fm-bet-muted);
}
.fm-bet-runner-prob span,
.fm-bet-odd-tile span{
  display:block;
  font-size:11px;
  font-weight:950;
  text-transform:uppercase;
  letter-spacing:.06em;
  color:inherit;
}
.fm-bet-runner-prob strong{
  display:block;
  color:#fff;
  font-size:22px;
  line-height:1.05;
}
.fm-bet-runner-prob small{color:var(--fm-bet-muted);font-weight:800;}
.fm-bet-odd-tile{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  min-height:72px;
  padding:10px;
  border-radius:16px;
  border:1px solid rgba(255,210,26,.42);
  background:linear-gradient(180deg,#fff,#f4f7fb);
  color:#111;
  text-align:center;
  box-shadow:0 12px 24px rgba(0,0,0,.18);
}
.fm-bet-odd-tile strong{
  display:block;
  margin:3px 0;
  color:#111;
  font-size:25px;
  line-height:1;
  font-weight:950;
}
.fm-bet-odd-tile small{color:#4b5563;font-weight:850;}
.fm-bet-odd-tile.is-draw{background:linear-gradient(180deg,#ffd21a,#ffb800);}
.fm-bet-coupon-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
.fm-bet-event-card{
  padding:14px;
  border:1px solid var(--fm-bet-line);
  border-radius:20px;
  background:linear-gradient(145deg,rgba(19,41,67,.90),rgba(7,17,31,.74));
  box-shadow:0 16px 34px rgba(0,0,0,.20);
}
.fm-bet-event-top,
.fm-bet-event-info,
.fm-bet-event-note{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  flex-wrap:wrap;
}
.fm-bet-event-top span{
  color:var(--fm-bet-accent);
  font-size:12px;
  font-weight:950;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.fm-bet-event-top small,
.fm-bet-event-note small{color:var(--fm-bet-muted);font-weight:800;}
.fm-bet-event-teams{
  display:grid;
  grid-template-columns:1fr auto 1fr;
  gap:10px;
  align-items:center;
  margin:13px 0;
}
.fm-bet-event-teams strong{
  color:#fff;
  font-size:18px;
  line-height:1.08;
}
.fm-bet-event-teams strong:last-child{text-align:right;}
.fm-bet-event-teams em{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:42px;
  height:34px;
  border-radius:999px;
  background:rgba(255,255,255,.08);
  color:var(--fm-bet-muted);
  font-style:normal;
  font-size:11px;
  font-weight:950;
  text-transform:uppercase;
}
.fm-bet-odds-row{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
}
.fm-bet-event-info{
  margin-top:12px;
  padding-top:10px;
  border-top:1px solid var(--fm-bet-line);
}
.fm-bet-event-info span{
  color:#dbeafe;
  font-size:12px;
  font-weight:850;
}
.fm-bet-event-info b{color:#fff;}
.fm-bet-event-note{
  margin-top:8px;
}
.fm-bet-page .description{color:var(--fm-bet-muted)!important;}
@media (max-width: 980px){
  .fm-bet-hero{grid-template-columns:1fr;}
  .fm-bet-page .fm-fun-hero-grid{grid-template-columns:1fr;}
  .fm-bet-runner{grid-template-columns:42px minmax(0,1fr) 96px;}
  .fm-bet-runner .fm-bet-odd-tile{grid-column:1 / -1;min-height:64px;}
  .fm-bet-coupon-grid{grid-template-columns:1fr;}
}
@media (max-width: 640px){
  .fm-bet-page{padding:10px;border-radius:20px;}
  .fm-bet-hero{padding:16px;border-radius:20px;}
  .fm-bet-section-head{align-items:flex-start;flex-direction:column;}
  .fm-bet-section-head > strong{width:100%;}
  .fm-bet-market-title{grid-template-columns:1fr;align-items:flex-start;}
  .fm-bet-runner{grid-template-columns:36px minmax(0,1fr);gap:10px;}
  .fm-bet-runner-prob{grid-column:1 / -1;text-align:left;display:flex;align-items:center;justify-content:space-between;gap:10px;}
  .fm-bet-runner-main ul{gap:5px;}
  .fm-bet-event-teams{grid-template-columns:1fr;text-align:left;}
  .fm-bet-event-teams strong:last-child{text-align:left;}
  .fm-bet-event-teams em{width:max-content;}
  .fm-bet-odd-tile strong{font-size:22px;}
}

/* v1.5.136 - Control Room Comitato frontend */
.fm-committee-app{--c-bg:#07111f;--c-panel:#fff;--c-border:#dbe3ef;--c-accent:#facc15;--c-blue:#2563eb;--c-text:#0f172a;display:block!important;max-width:1280px!important;margin:0 auto!important;padding:10px 0 24px!important;color:var(--c-text)!important}
.fm-committee-hero{position:relative!important;overflow:hidden!important;border-radius:24px!important;padding:26px!important;margin:0 0 14px!important;background:radial-gradient(circle at top right,rgba(250,204,21,.24),transparent 30%),linear-gradient(135deg,#06101f,#111827 52%,#020617)!important;color:#fff!important;box-shadow:0 22px 46px rgba(2,6,23,.24)!important}
.fm-committee-hero:after{content:"";position:absolute;right:-54px;bottom:-76px;width:230px;height:230px;border-radius:999px;border:30px solid rgba(250,204,21,.12)}
.fm-committee-hero span{display:inline-flex!important;align-items:center!important;border:1px solid rgba(250,204,21,.42)!important;background:rgba(250,204,21,.12)!important;color:#fde68a!important;border-radius:999px!important;padding:6px 10px!important;font-size:11px!important;font-weight:900!important;text-transform:uppercase!important;letter-spacing:.12em!important}
.fm-committee-hero h2{margin:12px 0 6px!important;color:#fff!important;font-size:clamp(28px,4vw,48px)!important;line-height:1!important;font-weight:1000!important;letter-spacing:-.04em!important}
.fm-committee-hero p{max-width:820px!important;margin:0!important;color:#cbd5e1!important;font-size:15px!important;font-weight:650!important;line-height:1.5!important}
.fm-committee-nav{display:flex!important;gap:8px!important;overflow:auto!important;white-space:nowrap!important;padding:8px!important;margin:0 0 14px!important;border:1px solid var(--c-border)!important;border-radius:18px!important;background:#fff!important;box-shadow:0 10px 24px rgba(15,23,42,.06)!important}
.fm-committee-nav a{display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:10px 14px!important;border-radius:13px!important;text-decoration:none!important;font-size:13px!important;font-weight:950!important;color:#334155!important;background:#f8fafc!important;border:1px solid transparent!important}
.fm-committee-nav a.active,.fm-committee-nav a:hover{background:#111827!important;color:#facc15!important;border-color:rgba(250,204,21,.35)!important}
.fm-committee-notice{margin:0 0 12px!important;border-radius:16px!important;padding:12px 14px!important;font-weight:900!important;border:1px solid #bbf7d0!important;background:#f0fdf4!important;color:#166534!important}
.fm-committee-notice.is-error{border-color:#fecaca!important;background:#fef2f2!important;color:#991b1b!important}
.fm-committee-kpi-grid{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:10px!important;margin:0 0 14px!important}
.fm-committee-kpi-grid.compact{grid-template-columns:repeat(5,minmax(0,1fr))!important;margin:0!important}
.fm-committee-kpi-grid div{border:1px solid var(--c-border)!important;border-radius:18px!important;padding:16px!important;background:#fff!important;box-shadow:0 10px 24px rgba(15,23,42,.055)!important}
.fm-committee-kpi-grid strong{display:block!important;font-size:28px!important;line-height:1!important;color:#0f172a!important;font-weight:1000!important;letter-spacing:-.04em!important}
.fm-committee-kpi-grid span{display:block!important;margin-top:6px!important;color:#64748b!important;font-size:11px!important;text-transform:uppercase!important;letter-spacing:.08em!important;font-weight:950!important}
.fm-committee-panel{border:1px solid var(--c-border)!important;border-radius:20px!important;background:#fff!important;box-shadow:0 12px 28px rgba(15,23,42,.07)!important;overflow:hidden!important}
.fm-committee-panel .fm-table-title{background:#f8fafc!important;border-bottom:1px solid var(--c-border)!important;padding:14px 16px!important;margin:-16px -16px 16px!important}
.fm-committee-action-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
.fm-committee-action-grid a{display:block!important;text-decoration:none!important;border:1px solid #e2e8f0!important;border-radius:16px!important;padding:15px!important;background:linear-gradient(180deg,#fff,#f8fafc)!important;color:#0f172a!important;transition:transform .12s,box-shadow .12s,border-color .12s!important}
.fm-committee-action-grid a:hover{transform:translateY(-1px)!important;box-shadow:0 12px 24px rgba(37,99,235,.1)!important;border-color:#bfdbfe!important}
.fm-committee-action-grid strong{display:block!important;font-size:15px!important;font-weight:1000!important;color:#0f172a!important}
.fm-committee-action-grid span{display:block!important;margin-top:5px!important;font-size:12px!important;font-weight:750!important;color:#64748b!important;line-height:1.35!important}
.fm-committee-list{display:flex!important;flex-direction:column!important;gap:8px!important}
.fm-committee-list article{display:grid!important;grid-template-columns:minmax(0,1.25fr) minmax(120px,.45fr) minmax(0,1.2fr)!important;gap:10px!important;align-items:center!important;padding:11px 12px!important;border:1px solid #e2e8f0!important;border-radius:14px!important;background:#fff!important}
.fm-committee-list article strong{font-size:13px!important;font-weight:1000!important;color:#0f172a!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.fm-committee-list article span{font-size:12px!important;font-weight:900!important;color:#1d4ed8!important;text-transform:uppercase!important;letter-spacing:.04em!important}
.fm-committee-list article em{font-size:12px!important;font-style:normal!important;color:#64748b!important;font-weight:750!important;line-height:1.35!important}
.fm-committee-list article.is-error{border-color:#fecaca!important;background:#fff7f7!important}.fm-committee-list article.is-warning{border-color:#fed7aa!important;background:#fffaf0!important}.fm-committee-list article.is-ok{border-color:#bbf7d0!important;background:#f7fff9!important}
.fm-committee-matchday-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
.fm-committee-md-card{border:1px solid #e2e8f0!important;border-radius:18px!important;background:#fff!important;padding:12px!important;box-shadow:0 10px 20px rgba(15,23,42,.045)!important}
.fm-committee-md-card header{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;margin:0 0 6px!important}
.fm-committee-md-card header strong{font-size:14px!important;color:#0f172a!important;font-weight:1000!important}.fm-committee-md-card header span{display:inline-flex!important;border-radius:999px!important;padding:5px 8px!important;background:#e0f2fe!important;color:#0369a1!important;font-size:10px!important;font-weight:1000!important}
.fm-committee-md-card.is-closed header span{background:#fee2e2!important;color:#991b1b!important}.fm-committee-md-card p{margin:0 0 10px!important;color:#64748b!important;font-size:12px!important;font-weight:800!important}
.fm-committee-mini-form{display:grid!important;grid-template-columns:1.2fr 1fr .8fr .7fr auto!important;gap:8px!important;align-items:end!important;margin:0!important}.fm-committee-mini-form label{margin:0!important;font-size:11px!important;font-weight:900!important;color:#475569!important}.fm-committee-mini-form input,.fm-committee-mini-form select{width:100%!important;min-height:36px!important}
.fm-committee-inline-form{display:flex!important;align-items:center!important;gap:8px!important;margin:10px 0 0!important;flex-wrap:wrap!important}.fm-committee-calc-form{margin-top:12px!important}.fm-committee-calc-form .fm-calc-match-grid{margin-top:0!important}
.fm-committee-app .button.button-primary{background:#111827!important;border-color:#111827!important;color:#facc15!important;font-weight:950!important}.fm-committee-app .button.button-primary:hover{background:#020617!important;border-color:#020617!important;color:#fde68a!important}.fm-committee-app .fm-danger-btn,.fm-committee-app .button-link-delete{font-weight:950!important}
@media(max-width:1050px){.fm-committee-kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.fm-committee-matchday-grid{grid-template-columns:1fr!important}.fm-committee-mini-form{grid-template-columns:1fr 1fr!important}.fm-committee-list article{grid-template-columns:1fr!important}}
@media(max-width:720px){.fm-committee-app{padding:4px 0 18px!important}.fm-committee-hero{border-radius:18px!important;padding:20px!important}.fm-committee-nav{border-radius:14px!important}.fm-committee-kpi-grid,.fm-committee-kpi-grid.compact{grid-template-columns:repeat(2,minmax(0,1fr))!important}.fm-committee-action-grid{grid-template-columns:1fr!important}.fm-committee-mini-form{grid-template-columns:1fr!important}.fm-committee-md-card{border-radius:15px!important}.fm-committee-panel .fm-table-title{margin:-14px -14px 14px!important}.fm-committee-kpi-grid strong{font-size:24px!important}}

/* v1.5.137 - Control Room Comitato: layout compatto e card più pratiche */
.fm-committee-app{
  max-width:1440px!important;
  padding:6px 10px 22px!important;
}
.fm-committee-hero{
  border-radius:20px!important;
  padding:18px 22px!important;
  margin:0 0 10px!important;
  box-shadow:0 14px 30px rgba(2,6,23,.18)!important;
}
.fm-committee-hero:after{
  right:-70px!important;
  bottom:-100px!important;
  width:190px!important;
  height:190px!important;
  border-width:24px!important;
}
.fm-committee-hero span{
  padding:4px 9px!important;
  font-size:10px!important;
}
.fm-committee-hero h2{
  margin:8px 0 4px!important;
  font-size:clamp(24px,3.1vw,38px)!important;
  letter-spacing:-.035em!important;
}
.fm-committee-hero p{
  max-width:920px!important;
  font-size:13px!important;
  line-height:1.35!important;
}
.fm-committee-nav{
  position:sticky!important;
  top:8px!important;
  z-index:20!important;
  gap:6px!important;
  padding:6px!important;
  margin:0 0 10px!important;
  border-radius:15px!important;
  box-shadow:0 8px 18px rgba(15,23,42,.06)!important;
}
body.admin-bar .fm-committee-nav{top:42px!important;}
.fm-committee-nav a{
  padding:8px 11px!important;
  border-radius:11px!important;
  font-size:12px!important;
}
.fm-committee-notice{
  margin:0 0 10px!important;
  border-radius:13px!important;
  padding:10px 12px!important;
  font-size:13px!important;
}
.fm-committee-app > .fm-grid.two,
.fm-committee-app .fm-grid.two{
  gap:12px!important;
}
.fm-committee-app > .fm-grid.two{
  grid-template-columns:repeat(auto-fit,minmax(390px,1fr))!important;
}
.fm-committee-panel{
  border-radius:16px!important;
  padding:14px!important;
  margin:10px 0!important;
  box-shadow:0 8px 18px rgba(15,23,42,.055)!important;
}
.fm-committee-panel .fm-table-title{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
  padding:10px 12px!important;
  margin:-14px -14px 12px!important;
}
.fm-committee-panel .fm-table-title h2{
  margin:0!important;
  font-size:18px!important;
  line-height:1.15!important;
  letter-spacing:-.025em!important;
}
.fm-committee-panel .fm-table-title span{
  flex:0 0 auto!important;
  font-size:10px!important;
  padding:4px 8px!important;
  border-radius:999px!important;
  background:#eef2ff!important;
  color:#3730a3!important;
  text-transform:uppercase!important;
  letter-spacing:.06em!important;
  font-weight:950!important;
}
.fm-committee-app .fm-box{
  border-radius:13px!important;
  padding:10px 12px!important;
  margin:8px 0!important;
  font-size:12px!important;
  line-height:1.35!important;
}
.fm-committee-app code{
  max-width:100%!important;
  display:inline-block!important;
  vertical-align:bottom!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  font-size:11px!important;
}
.fm-committee-app .fm-form label{
  margin-bottom:8px!important;
  font-size:12px!important;
  line-height:1.25!important;
}
.fm-committee-app .fm-form input,
.fm-committee-app .fm-form select,
.fm-committee-app .fm-form textarea{
  min-height:36px!important;
  padding:7px 10px!important;
  margin-top:4px!important;
  border-radius:10px!important;
  font-size:13px!important;
}
.fm-committee-app .fm-form textarea{
  min-height:72px!important;
}
.fm-committee-app .fm-form p{
  margin:8px 0 0!important;
}
.fm-committee-app .description,
.fm-committee-app small{
  font-size:11px!important;
  line-height:1.3!important;
}
.fm-committee-app .button,
.fm-committee-app .fm-submit{
  min-height:34px!important;
  padding:7px 13px!important;
  border-radius:10px!important;
  font-size:12px!important;
  line-height:1.1!important;
}
.fm-committee-kpi-grid{
  grid-template-columns:repeat(auto-fit,minmax(136px,1fr))!important;
  gap:8px!important;
  margin:0 0 10px!important;
}
.fm-committee-kpi-grid.compact{
  grid-template-columns:repeat(auto-fit,minmax(112px,1fr))!important;
  gap:8px!important;
}
.fm-committee-kpi-grid div{
  border-radius:14px!important;
  padding:10px 12px!important;
  box-shadow:0 6px 14px rgba(15,23,42,.045)!important;
}
.fm-committee-kpi-grid strong{
  font-size:22px!important;
}
.fm-committee-kpi-grid span{
  margin-top:4px!important;
  font-size:9.5px!important;
  letter-spacing:.06em!important;
}
.fm-committee-action-grid{
  grid-template-columns:repeat(auto-fit,minmax(190px,1fr))!important;
  gap:8px!important;
}
.fm-committee-action-grid a{
  border-radius:13px!important;
  padding:11px 12px!important;
}
.fm-committee-action-grid strong{
  font-size:13px!important;
}
.fm-committee-action-grid span{
  margin-top:3px!important;
  font-size:11px!important;
  line-height:1.25!important;
}
.fm-committee-list{
  gap:6px!important;
}
.fm-committee-list article{
  grid-template-columns:minmax(0,1.15fr) minmax(110px,.35fr) minmax(0,1.25fr)!important;
  gap:8px!important;
  padding:9px 10px!important;
  border-radius:12px!important;
}
.fm-committee-list article strong{
  font-size:12px!important;
}
.fm-committee-list article span{
  font-size:10px!important;
}
.fm-committee-list article em{
  font-size:11px!important;
  line-height:1.25!important;
}
.fm-committee-matchday-grid{
  grid-template-columns:repeat(auto-fit,minmax(420px,1fr))!important;
  gap:10px!important;
}
.fm-committee-md-card{
  border-radius:14px!important;
  padding:10px!important;
  box-shadow:0 6px 14px rgba(15,23,42,.04)!important;
}
.fm-committee-md-card header{
  margin:0 0 5px!important;
}
.fm-committee-md-card header strong{
  font-size:13px!important;
}
.fm-committee-md-card header span{
  padding:4px 7px!important;
  font-size:9px!important;
}
.fm-committee-md-card p{
  margin:0 0 7px!important;
  font-size:11px!important;
  line-height:1.25!important;
}
.fm-committee-mini-form{
  grid-template-columns:1.15fr 1fr .78fr .68fr auto!important;
  gap:6px!important;
}
.fm-committee-mini-form label{
  font-size:10px!important;
}
.fm-committee-mini-form input,
.fm-committee-mini-form select{
  min-height:32px!important;
  padding:6px 8px!important;
}
.fm-committee-inline-form{
  margin:6px 0 0!important;
}
.fm-committee-calc-form{
  margin-top:8px!important;
}
.fm-committee-calc-form .fm-calc-match-grid{
  grid-template-columns:repeat(auto-fit,minmax(330px,1fr))!important;
  gap:10px!important;
}
.fm-committee-calc-form .fm-calc-match-card{
  padding:10px!important;
  border-radius:14px!important;
}
.fm-committee-calc-form .fm-result-teams{
  gap:8px!important;
  padding:8px 10px!important;
  border-radius:12px!important;
  font-size:13px!important;
}
.fm-committee-calc-form .fm-calc-score-row{
  gap:8px!important;
}
.fm-committee-calc-form .fm-calc-score-row input{
  min-height:34px!important;
}
.fm-committee-app .fm-checkline{
  padding:8px 10px!important;
  margin:0 0 7px!important;
  border-radius:11px!important;
}
.fm-committee-app .fm-checkline input[type="checkbox"]{
  min-width:16px!important;
  width:16px!important;
  height:16px!important;
}
@media(max-width:1050px){
  .fm-committee-app > .fm-grid.two{grid-template-columns:1fr!important;}
  .fm-committee-matchday-grid{grid-template-columns:1fr!important;}
  .fm-committee-mini-form{grid-template-columns:1fr 1fr!important;}
  .fm-committee-list article{grid-template-columns:1fr!important;}
}
@media(max-width:720px){
  .fm-committee-app{padding:4px 6px 18px!important;}
  .fm-committee-hero{padding:15px!important;border-radius:16px!important;}
  .fm-committee-hero h2{font-size:26px!important;}
  .fm-committee-hero p{font-size:12px!important;}
  .fm-committee-nav{position:relative!important;top:auto!important;border-radius:13px!important;}
  body.admin-bar .fm-committee-nav{top:auto!important;}
  .fm-committee-nav a{padding:8px 10px!important;font-size:11px!important;}
  .fm-committee-app .fm-grid.two{grid-template-columns:1fr!important;}
  .fm-committee-panel{padding:12px!important;border-radius:14px!important;}
  .fm-committee-panel .fm-table-title{margin:-12px -12px 10px!important;padding:9px 10px!important;}
  .fm-committee-panel .fm-table-title h2{font-size:16px!important;}
  .fm-committee-kpi-grid,.fm-committee-kpi-grid.compact{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  .fm-committee-action-grid{grid-template-columns:1fr!important;}
  .fm-committee-mini-form{grid-template-columns:1fr!important;}
  .fm-committee-calc-form .fm-calc-match-grid{grid-template-columns:1fr!important;}
  .fm-committee-matchday-grid{grid-template-columns:1fr!important;}
}
@media(max-width:420px){
  .fm-committee-kpi-grid,.fm-committee-kpi-grid.compact{grid-template-columns:1fr 1fr!important;}
  .fm-committee-panel .fm-table-title{align-items:flex-start!important;flex-direction:column!important;gap:5px!important;}
}

/* v1.5.138 - Control Room Comitato: Aste & Rose frontend */
.fm-committee-division-filter{display:grid!important;grid-template-columns:minmax(260px,1fr) auto!important;align-items:end!important;gap:10px!important}
.fm-committee-division-filter p{margin:0!important}
.fm-committee-auction-grid{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(360px,1fr))!important;gap:12px!important}
.fm-committee-auction-card{border:1px solid #dbe3ef!important;border-radius:16px!important;background:#fff!important;padding:12px!important;box-shadow:0 8px 18px rgba(15,23,42,.05)!important;display:flex!important;flex-direction:column!important;gap:10px!important}
.fm-committee-auction-card.has-open-session{border-color:#bbf7d0!important;background:linear-gradient(180deg,#f7fff9,#fff)!important}
.fm-committee-auction-card header{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:10px!important;border-bottom:1px solid #eef2f7!important;padding-bottom:9px!important}
.fm-committee-auction-card header strong{display:block!important;color:#0f172a!important;font-size:14px!important;font-weight:1000!important;line-height:1.15!important}
.fm-committee-auction-card header span{display:block!important;margin-top:3px!important;color:#64748b!important;font-size:11px!important;font-weight:800!important;line-height:1.25!important}
.fm-committee-auction-card header em{display:inline-flex!important;align-items:center!important;justify-content:center!important;white-space:nowrap!important;border-radius:999px!important;background:#f8fafc!important;border:1px solid #e2e8f0!important;color:#334155!important;padding:5px 8px!important;font-style:normal!important;font-size:10px!important;font-weight:950!important}
.fm-committee-status-row{display:flex!important;flex-wrap:wrap!important;gap:6px!important}
.fm-committee-status-pill{display:inline-flex!important;align-items:center!important;border-radius:999px!important;padding:5px 8px!important;font-size:10px!important;font-weight:1000!important;text-transform:uppercase!important;letter-spacing:.045em!important;border:1px solid transparent!important}
.fm-committee-status-pill.is-ok{background:#ecfdf5!important;border-color:#bbf7d0!important;color:#166534!important}
.fm-committee-status-pill.is-bad{background:#fef2f2!important;border-color:#fecaca!important;color:#991b1b!important}
.fm-committee-open-session{border:1px solid #bbf7d0!important;background:#f0fdf4!important;border-radius:13px!important;padding:9px 10px!important}
.fm-committee-open-session strong{display:block!important;color:#14532d!important;font-size:13px!important;font-weight:1000!important;line-height:1.15!important}
.fm-committee-open-session span{display:block!important;margin-top:3px!important;color:#166534!important;font-size:11px!important;font-weight:800!important;line-height:1.25!important}
.fm-committee-blocked{border:1px solid #fed7aa!important;background:#fffbeb!important;border-radius:13px!important;padding:9px 10px!important}
.fm-committee-blocked strong{display:block!important;color:#92400e!important;font-size:13px!important;font-weight:1000!important}
.fm-committee-blocked span{display:block!important;color:#b45309!important;font-size:11px!important;font-weight:800!important;line-height:1.3!important;margin-top:2px!important}
.fm-committee-auction-create{margin:0!important;display:flex!important;flex-direction:column!important;gap:8px!important}
.fm-committee-auction-create .fm-grid.two{gap:8px!important}
.fm-committee-auction-create label{margin:0!important}
.fm-committee-auction-create input,.fm-committee-auction-create select{min-height:34px!important}
.fm-committee-auction-create p{margin:0!important}
.fm-committee-auction-create button[disabled]{opacity:.45!important;cursor:not-allowed!important;filter:grayscale(1)!important}
.fm-committee-auction-actions{display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:wrap!important}
.fm-committee-auction-actions .fm-committee-inline-form{margin:0!important}
.fm-committee-live-wrap .fm-app{max-width:none!important;margin:0!important;padding:0!important}
.fm-committee-live-wrap .fm-nav{display:none!important}
@media(max-width:720px){.fm-committee-division-filter{grid-template-columns:1fr!important}.fm-committee-auction-grid{grid-template-columns:1fr!important}.fm-committee-auction-card{border-radius:14px!important;padding:10px!important}.fm-committee-auction-card header{flex-direction:column!important}.fm-committee-auction-card header em{align-self:flex-start!important}.fm-committee-auction-create .fm-grid.two{grid-template-columns:1fr!important}}

/* v1.5.139 - Control Room Formazioni Comitato */
.fm-committee-lineup-filter .fm-table-title{margin:-16px -16px 16px!important}
.fm-committee-lineup-summary .fm-box{margin:0 0 12px!important}
.fm-committee-lineup-card-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important}
.fm-committee-lineup-card{border:1px solid #e2e8f0!important;border-radius:18px!important;background:#fff!important;padding:12px!important;box-shadow:0 10px 22px rgba(15,23,42,.055)!important;display:flex!important;flex-direction:column!important;gap:10px!important;min-width:0!important}
.fm-committee-lineup-card.is-selected{border-color:#111827!important;box-shadow:0 0 0 2px rgba(250,204,21,.55),0 14px 28px rgba(15,23,42,.10)!important}
.fm-committee-lineup-card.is-submitted{background:linear-gradient(180deg,#fff,#f7fff9)!important;border-color:#bbf7d0!important}
.fm-committee-lineup-card.is-missing{background:linear-gradient(180deg,#fff,#fff7ed)!important;border-color:#fed7aa!important}
.fm-committee-lineup-card.is-partial{background:linear-gradient(180deg,#fff,#fefce8)!important;border-color:#fde68a!important}
.fm-committee-lineup-card.is-noroster{background:linear-gradient(180deg,#fff,#fef2f2)!important;border-color:#fecaca!important}
.fm-committee-lineup-card header{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:10px!important;margin:0!important}
.fm-committee-lineup-card header strong{display:block!important;font-size:15px!important;line-height:1.15!important;color:#0f172a!important;font-weight:1000!important;letter-spacing:-.02em!important}
.fm-committee-lineup-card header small{display:block!important;margin-top:3px!important;color:#64748b!important;font-size:11px!important;font-weight:800!important;line-height:1.2!important}
.fm-committee-lineup-card header span{display:inline-flex!important;align-items:center!important;justify-content:center!important;white-space:nowrap!important;border-radius:999px!important;padding:6px 9px!important;background:#111827!important;color:#facc15!important;font-size:10px!important;font-weight:1000!important;text-transform:uppercase!important;letter-spacing:.05em!important}
.fm-committee-lineup-card.is-submitted header span{background:#166534!important;color:#dcfce7!important}.fm-committee-lineup-card.is-missing header span{background:#9a3412!important;color:#ffedd5!important}.fm-committee-lineup-card.is-partial header span{background:#854d0e!important;color:#fef9c3!important}.fm-committee-lineup-card.is-noroster header span{background:#991b1b!important;color:#fee2e2!important}
.fm-committee-lineup-meta{display:grid!important;grid-template-columns:92px minmax(0,1fr)!important;gap:5px 8px!important;padding:9px!important;border:1px solid rgba(148,163,184,.25)!important;border-radius:12px!important;background:rgba(248,250,252,.92)!important}
.fm-committee-lineup-meta b{font-size:10px!important;text-transform:uppercase!important;letter-spacing:.08em!important;color:#64748b!important;font-weight:1000!important;line-height:1.25!important}
.fm-committee-lineup-meta em{font-size:12px!important;color:#0f172a!important;font-weight:800!important;font-style:normal!important;line-height:1.25!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.fm-committee-lineup-card p{margin:0!important;font-size:12px!important;color:#475569!important;font-weight:750!important;line-height:1.35!important}
.fm-committee-lineup-actions{display:flex!important;align-items:center!important;gap:8px!important;margin-top:auto!important;flex-wrap:wrap!important}
.fm-committee-lineup-actions .button{min-height:34px!important;font-size:12px!important;font-weight:950!important}.fm-committee-lineup-actions .fm-committee-inline-form{margin:0!important}
.fm-committee-lineup-editor{margin-top:14px!important;padding:0!important;overflow:visible!important}.fm-committee-lineup-editor .fm-lineup-sheet-app{max-width:none!important;margin:0!important}.fm-committee-lineup-editor .fm-lineup-sheet-hero{margin:0 0 12px!important;border-radius:18px!important}.fm-committee-lineup-editor .fm-lineup-sheet-form{margin:0!important}.fm-committee-lineup-editor .fm-lineup-sheet-grid{margin-top:12px!important}
.fm-lineup-sheet-app-committee .fm-submit{background:#111827!important;color:#facc15!important;border-color:#111827!important}.fm-lineup-sheet-app-committee .fm-submit:hover{background:#020617!important;color:#fde68a!important}
@media(max-width:1180px){.fm-committee-lineup-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:760px){.fm-committee-lineup-card-grid{grid-template-columns:1fr!important}.fm-committee-lineup-meta{grid-template-columns:78px minmax(0,1fr)!important}.fm-committee-lineup-card{border-radius:15px!important;padding:11px!important}.fm-committee-lineup-editor .fm-lineup-sheet-hero{border-radius:15px!important}}

/* v1.5.140 - Nota regola Serie B titolari */
.fm-serie-b-rule-note{margin:10px 0 14px;}

/* v1.5.141 — Contabilità Control Room */
.fm-accounting-kpi-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:14px 0 18px}
.fm-accounting-kpi-grid>div{background:linear-gradient(135deg,#0f172a,#1f2937);color:#fff;border-radius:16px;padding:14px 16px;box-shadow:0 10px 24px rgba(15,23,42,.12)}
.fm-accounting-kpi-grid strong{display:block;font-size:22px;line-height:1.1;font-weight:900;letter-spacing:-.03em}
.fm-accounting-kpi-grid span{display:block;margin-top:5px;font-size:12px;opacity:.78;text-transform:uppercase;letter-spacing:.06em}
.fm-accounting-team-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.fm-accounting-team-card{border:1px solid #e5e7eb;background:#fff;border-radius:18px;padding:14px;box-shadow:0 8px 22px rgba(15,23,42,.06)}
.fm-accounting-team-card header{display:flex;justify-content:space-between;gap:10px;align-items:flex-start;border-bottom:1px solid #eef2f7;padding-bottom:10px;margin-bottom:10px}
.fm-accounting-team-card header strong{display:block;font-size:15px;color:#0f172a}
.fm-accounting-team-card header span{display:block;font-size:12px;color:#64748b;margin-top:3px}
.fm-accounting-team-card header em{font-style:normal;font-size:11px;font-weight:800;border-radius:999px;padding:5px 9px;background:#f1f5f9;color:#334155;white-space:nowrap}
.fm-accounting-team-card.is-paid header em,.fm-accounting-user-card.is-paid strong{background:#dcfce7;color:#166534}
.fm-accounting-team-card.is-partial header em,.fm-accounting-user-card.is-partial strong{background:#fef3c7;color:#92400e}
.fm-accounting-team-card.is-due header em,.fm-accounting-user-card.is-due strong{background:#fee2e2;color:#991b1b}
.fm-accounting-mini-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.fm-accounting-mini-grid div{background:#f8fafc;border-radius:12px;padding:9px;text-align:center}
.fm-accounting-mini-grid b{display:block;font-size:13px;color:#0f172a;white-space:nowrap}
.fm-accounting-mini-grid small{display:block;font-size:10px;color:#64748b;text-transform:uppercase;letter-spacing:.04em;margin-top:3px}
.fm-accounting-credit-note{margin:10px 0 0;padding:8px 10px;border-radius:12px;background:#ecfeff;color:#155e75;font-size:12px;font-weight:700}
.fm-accounting-table td{vertical-align:middle}.fm-accounting-table input[name="confirm"]{max-width:90px;height:30px;font-size:12px}.fm-accounting-table .fm-committee-inline-form{display:flex;gap:6px;align-items:center;justify-content:flex-end}.fm-accounting-table .button{min-height:30px;height:30px;line-height:28px;padding:0 9px;font-size:12px}
.fm-accounting-user-card{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:14px 0;padding:14px 16px;border-radius:18px;background:#fff;border:1px solid #e5e7eb;box-shadow:0 8px 20px rgba(15,23,42,.06)}
.fm-accounting-user-card span{display:block;font-size:11px;font-weight:800;color:#64748b;text-transform:uppercase;letter-spacing:.08em}.fm-accounting-user-card h3{margin:2px 0 4px;font-size:18px;color:#0f172a}.fm-accounting-user-card p{margin:0;color:#64748b;font-size:13px}.fm-accounting-user-card>strong{border-radius:999px;padding:8px 12px;font-size:13px;white-space:nowrap}
@media(max-width:980px){.fm-accounting-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.fm-accounting-team-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.fm-accounting-kpi-grid,.fm-accounting-team-grid{grid-template-columns:1fr}.fm-accounting-mini-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.fm-accounting-user-card{align-items:flex-start;flex-direction:column}.fm-accounting-user-card>strong{width:100%;text-align:center}.fm-accounting-table .fm-committee-inline-form{justify-content:flex-start;flex-wrap:wrap}}

.fm-accounting-user-card.is-empty{background:#f8fafc;border-style:dashed;color:#334155}
.fm-accounting-user-card.is-empty>strong{background:#e2e8f0;color:#334155}
.fm-accounting-user-card.is-empty h3{color:#334155}


/* v1.5.144 - Card contabilità sempre visibile nella dashboard fantallenatore */
.fm-accounting-injected{max-width:1128px;margin:16px auto 18px;padding:0 18px;box-sizing:border-box;position:relative;z-index:2}
.fm-app>.fm-accounting-injected{max-width:none;margin:12px 0 18px;padding:0}
.fm-accounting-injected .fm-accounting-user-card,.fm-accounting-user-card{box-sizing:border-box}
.fm-accounting-injected .fm-accounting-user-card{background:linear-gradient(135deg,rgba(16,24,39,.96),rgba(39,48,64,.94));border:1px solid rgba(255,255,255,.13);box-shadow:0 14px 34px rgba(0,0,0,.22);color:#e5edf8}
.fm-accounting-injected .fm-accounting-user-card span{color:#94b9ff}
.fm-accounting-injected .fm-accounting-user-card h3{color:#fff}
.fm-accounting-injected .fm-accounting-user-card p{color:#cbd7ea}
.fm-accounting-injected .fm-accounting-user-card.is-empty{background:linear-gradient(135deg,rgba(17,24,39,.92),rgba(31,41,55,.9));border-style:dashed}
.fm-accounting-injected .fm-accounting-user-card>strong{box-shadow:inset 0 0 0 1px rgba(255,255,255,.08)}
.fm-nav-accounting{white-space:nowrap}
@media(max-width:768px){.fm-accounting-injected{padding:0 12px;margin:12px auto}.fm-accounting-injected .fm-accounting-user-card{border-radius:16px}}


/* v1.5.145 — Penalizzazioni classifica Control Room */
.fm-penalty-kpi-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0 18px}
.fm-penalty-kpi-grid>div{background:linear-gradient(135deg,#7f1d1d,#111827);color:#fff;border-radius:16px;padding:14px 16px;box-shadow:0 10px 24px rgba(15,23,42,.12)}
.fm-penalty-kpi-grid strong{display:block;font-size:23px;line-height:1.1;font-weight:1000;letter-spacing:-.03em}.fm-penalty-kpi-grid span{display:block;margin-top:5px;font-size:12px;opacity:.82;text-transform:uppercase;letter-spacing:.06em}
.fm-penalty-form input[name="confirm"]{text-transform:uppercase;font-weight:900;letter-spacing:.05em}.fm-penalty-standings-table tr.has-penalty{background:#fff7ed}.fm-penalty-standings-table td b,.fm-penalty-history-table td b{color:#991b1b}.fm-penalty-history-table tr.is-revoked{opacity:.62}.fm-penalty-status{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:5px 9px;font-size:11px;font-weight:1000;text-transform:uppercase;letter-spacing:.05em;white-space:nowrap}.fm-penalty-status.active{background:#fee2e2;color:#991b1b}.fm-penalty-status.revoked{background:#e2e8f0;color:#475569}.fm-penalty-history-table .fm-committee-inline-form{display:flex;gap:6px;align-items:center;justify-content:flex-end}.fm-penalty-history-table input[name="confirm"]{max-width:92px;min-height:30px;font-size:12px;font-weight:900;text-transform:uppercase}.fm-penalty-history-table .button{min-height:30px;height:30px;line-height:28px;padding:0 9px;font-size:12px}
@media(max-width:760px){.fm-penalty-kpi-grid{grid-template-columns:1fr}.fm-penalty-history-table .fm-committee-inline-form{justify-content:flex-start;flex-wrap:wrap}}

/* v1.5.146 - Control Room Presidenti / Gruppi Societari */
.fm-president-kpi-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:12px 0 16px}.fm-president-kpi-grid>div{background:#fff;border:1px solid rgba(15,23,42,.10);border-radius:16px;padding:14px 16px;box-shadow:0 8px 22px rgba(15,23,42,.06)}.fm-president-kpi-grid strong{display:block;font-size:24px;line-height:1;color:#111827}.fm-president-kpi-grid span{display:block;margin-top:6px;color:#64748b;font-size:12px;text-transform:uppercase;letter-spacing:.05em}.fm-president-group-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}.fm-president-group-list article{border:1px solid rgba(15,23,42,.10);border-radius:16px;padding:14px;background:linear-gradient(180deg,#ffffff,#f8fafc)}.fm-president-group-list h3{margin:0 0 10px;font-size:16px}.fm-president-group-list ul{margin:0;padding:0;list-style:none;display:grid;gap:8px}.fm-president-group-list li{display:flex;flex-direction:column;padding:9px 10px;border-radius:12px;background:#fff;border:1px solid rgba(15,23,42,.07)}.fm-president-group-list small{color:#64748b;margin-top:2px}.fm-president-table .fm-president-badge{display:inline-flex;align-items:center;border-radius:999px;padding:5px 9px;font-size:12px;font-weight:800}.fm-president-table .fm-president-badge.manual{background:#dcfce7;color:#166534}.fm-president-table .fm-president-badge.auto{background:#eef2ff;color:#3730a3}.fm-president-table tr.is-mapped td{background:rgba(22,163,74,.035)}.fm-president-table tr.is-auto td{background:rgba(79,70,229,.025)}@media(max-width:760px){.fm-president-kpi-grid{grid-template-columns:1fr}.fm-president-table th:nth-child(3),.fm-president-table td:nth-child(3){display:none}.fm-president-group-list{grid-template-columns:1fr}}


/* v1.5.147 - Fine stagione / Albo d'Oro */
.fm-season-wizard-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;align-items:start}.fm-honour-row{padding:10px 0;border-bottom:1px solid rgba(148,163,184,.22)}.fm-honour-row:last-child{border-bottom:0}.fm-honour-row small{display:block;margin-top:4px;color:#64748b}.fm-season-reset-form{border:1px solid rgba(220,38,38,.28)!important}.fm-danger-box{background:#fff1f2!important;border-color:#fecdd3!important;color:#7f1d1d!important}.fm-honours-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px}.fm-honours-grid article{border:1px solid rgba(148,163,184,.25);border-radius:16px;padding:14px;background:#fff;box-shadow:0 8px 20px rgba(15,23,42,.06)}.fm-honours-grid article span{display:block;font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:#64748b;font-weight:800}.fm-honours-grid article strong{display:block;font-size:18px;margin-top:4px;color:#111827}.fm-honours-grid article small,.fm-honours-grid article em{display:block;color:#64748b;margin-top:4px;font-style:normal}@media(max-width:900px){.fm-season-wizard-grid{grid-template-columns:1fr}}

/* v1.5.149 - Card contabilità compatta e non invasiva nella dashboard fantallenatore */
.fm-dashboard-utility-row{display:flex;justify-content:flex-end;align-items:center;margin:10px 0 14px}
.fm-accounting-user-card-compact{display:block;width:min(360px,100%);margin:0;border-radius:16px;padding:0;overflow:hidden;background:linear-gradient(135deg,#111827,#243244);border:1px solid rgba(255,255,255,.14);box-shadow:0 12px 28px rgba(0,0,0,.18)}
.fm-accounting-user-card-compact a{display:grid;grid-template-columns:1fr auto;gap:2px 12px;align-items:center;padding:12px 14px;text-decoration:none;color:#e5edf8}
.fm-accounting-user-card-compact span{grid-column:1/-1;margin:0;color:#9ec7ff;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}
.fm-accounting-user-card-compact strong{grid-column:2;grid-row:2/4;align-self:center;border-radius:999px;padding:7px 10px;font-size:12px;white-space:nowrap;background:rgba(255,255,255,.12);color:#fff;box-shadow:inset 0 0 0 1px rgba(255,255,255,.08)}
.fm-accounting-user-card-compact small{grid-column:1;grid-row:2/4;color:#d7e3f4;font-size:12px;line-height:1.35;font-weight:700;min-width:0}
.fm-accounting-user-card-compact.is-paid strong{background:#dcfce7;color:#166534}.fm-accounting-user-card-compact.is-partial strong{background:#fef3c7;color:#92400e}.fm-accounting-user-card-compact.is-due strong{background:#fee2e2;color:#991b1b}.fm-accounting-user-card-compact.is-empty{border-style:dashed;background:linear-gradient(135deg,#1f2937,#334155)}.fm-accounting-user-card-compact.is-empty strong{background:#e2e8f0;color:#334155}
.fm-accounting-floating-wrap{position:fixed;right:18px;bottom:18px;z-index:9990;max-width:min(380px,calc(100vw - 36px));pointer-events:auto}.fm-accounting-floating-wrap .fm-accounting-user-card-compact{box-shadow:0 18px 46px rgba(0,0,0,.32)}
body.admin-bar .fm-accounting-floating-wrap{bottom:18px}
@media(max-width:768px){.fm-dashboard-utility-row{justify-content:stretch;margin:8px 0 12px}.fm-accounting-user-card-compact{width:100%}.fm-accounting-floating-wrap{left:12px;right:12px;bottom:12px;max-width:none}.fm-accounting-user-card-compact a{grid-template-columns:1fr;gap:4px}.fm-accounting-user-card-compact strong{grid-column:1;grid-row:auto;justify-self:start}.fm-accounting-user-card-compact small{grid-column:1;grid-row:auto}}

/* v1.5.150 - Card contabilità visibile nella dashboard principale senza contaminare le Notizie */
.fm-accounting-main-injected{
  width:min(1150px,calc(100% - 32px));
  margin:0 auto 10px;
  display:flex;
  justify-content:flex-end;
  align-items:center;
  position:relative;
  z-index:5;
  box-sizing:border-box;
}
.fm-accounting-main-injected .fm-accounting-user-card-compact{
  width:min(360px,100%);
}
@media(max-width:768px){
  .fm-accounting-main-injected{
    width:calc(100% - 20px);
    margin:0 auto 10px;
    justify-content:stretch;
  }
  .fm-accounting-main-injected .fm-accounting-user-card-compact{
    width:100%;
  }
}

/* v1.5.151 - Card contabilità solo nella dashboard principale utente */
.fm-dashboard-accounting-zone{
  display:block;
  margin:10px 0 18px;
}
.fm-dashboard-accounting-zone:empty{display:none}
.fm-accounting-user-card-dashboard{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:14px;
  margin:0;
  padding:14px 16px;
  border-radius:20px;
  background:linear-gradient(135deg,rgba(15,23,42,.98),rgba(31,48,68,.95));
  border:1px solid rgba(255,255,255,.14);
  box-shadow:0 14px 34px rgba(0,0,0,.20);
  color:#e5edf8;
}
.fm-accounting-user-card-dashboard span{
  display:block;
  margin:0 0 4px;
  color:#9ec7ff;
  font-size:11px;
  font-weight:1000;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.fm-accounting-user-card-dashboard h3{
  margin:0 0 4px;
  color:#fff;
  font-size:18px;
  line-height:1.15;
}
.fm-accounting-user-card-dashboard p{
  margin:0;
  color:#cbd7ea;
  font-size:13px;
  line-height:1.35;
  font-weight:700;
}
.fm-accounting-dashboard-amount{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:38px;
  border-radius:999px;
  padding:9px 14px;
  background:rgba(255,255,255,.12);
  color:#fff;
  text-decoration:none;
  font-size:13px;
  font-weight:1000;
  white-space:nowrap;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.10);
}
.fm-accounting-user-card-dashboard.is-paid .fm-accounting-dashboard-amount{background:#dcfce7;color:#166534}
.fm-accounting-user-card-dashboard.is-partial .fm-accounting-dashboard-amount{background:#fef3c7;color:#92400e}
.fm-accounting-user-card-dashboard.is-due .fm-accounting-dashboard-amount{background:#fee2e2;color:#991b1b}
.fm-accounting-user-card-dashboard.is-empty{border-style:dashed;background:linear-gradient(135deg,#1f2937,#334155)}
.fm-accounting-user-card-dashboard.is-empty .fm-accounting-dashboard-amount{background:#e2e8f0;color:#334155}
@media(max-width:768px){
  .fm-accounting-user-card-dashboard{grid-template-columns:1fr;align-items:start;border-radius:16px;padding:13px}
  .fm-accounting-dashboard-amount{justify-self:start;white-space:normal;text-align:center}
}


/* v1.5.157 - Admin frontend / Control Room: layout pulito e stabile */
.bb-dash-admin-shell.bb-dash-control-room-shell{max-width:min(1760px,calc(100vw - 18px))!important;padding:18px 8px 42px!important;}
.bb-dash-admin-shell.bb-dash-control-room-shell .bb-dash-pro{border-radius:30px!important;background:radial-gradient(circle at top left,rgba(18,168,255,.20),transparent 30%),radial-gradient(circle at top right,rgba(255,209,102,.15),transparent 28%),linear-gradient(135deg,#020817,#06101f 58%,#071b36)!important;border:1px solid rgba(255,255,255,.11)!important;box-shadow:0 24px 70px rgba(0,0,0,.36)!important;overflow:hidden!important;}
.bb-dash-admin-shell.bb-dash-control-room-shell .bb-dash-admin-nav{margin:16px auto 20px!important;width:max-content!important;max-width:calc(100% - 32px)!important;padding:8px!important;border-radius:24px!important;background:rgba(1,7,18,.82)!important;border:1px solid rgba(255,255,255,.09)!important;box-shadow:none!important;}
.bb-dash-admin-shell.bb-dash-control-room-shell .bb-dash-admin-nav a{padding:11px 18px!important;border-radius:999px!important;}
.bb-dash-admin-shell.bb-dash-control-room-shell .bb-native-view-content{padding:0 22px 32px!important;}
.bb-dash-admin-shell.bb-dash-control-room-shell .fm-committee-app{max-width:100%!important;padding:0!important;margin:0!important;}
.bb-dash-admin-shell.bb-dash-control-room-shell .fm-committee-hero{margin:0 0 18px!important;border-radius:26px!important;padding:24px 28px!important;box-shadow:0 18px 42px rgba(0,0,0,.22)!important;}
.bb-dash-admin-shell.bb-dash-control-room-shell .fm-committee-hero h2{font-size:clamp(30px,3vw,46px)!important;}
.bb-dash-admin-shell.bb-dash-control-room-shell .fm-committee-nav{position:relative!important;top:auto!important;z-index:15!important;margin:0 0 18px!important;padding:9px!important;border-radius:20px!important;background:rgba(255,255,255,.96)!important;box-shadow:0 14px 34px rgba(0,0,0,.18)!important;}
.bb-dash-admin-shell.bb-dash-control-room-shell .fm-committee-nav a{min-height:38px!important;padding:9px 13px!important;}
.bb-dash-admin-shell.bb-dash-control-room-shell .fm-committee-kpi-grid{margin:0 0 18px!important;gap:12px!important;}
.bb-dash-admin-shell.bb-dash-control-room-shell .fm-committee-kpi-grid div{min-height:76px!important;display:flex!important;flex-direction:column!important;justify-content:center!important;}
.bb-dash-admin-shell.bb-dash-control-room-shell .fm-grid.two{gap:16px!important;}
.bb-dash-admin-shell.bb-dash-control-room-shell .fm-committee-panel{margin:0!important;border-radius:20px!important;}
.bb-dash-admin-shell.bb-dash-control-room-shell .fm-committee-action-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))!important;}
.bb-dash-admin-shell.bb-dash-control-room-shell .fm-committee-action-grid a{min-height:74px!important;}
@media(max-width:900px){.bb-dash-admin-shell.bb-dash-control-room-shell{max-width:100%!important;padding:10px 6px 32px!important;}.bb-dash-admin-shell.bb-dash-control-room-shell .bb-dash-admin-nav{width:auto!important;max-width:100%!important;margin:10px 10px 14px!important;justify-content:flex-start!important;overflow:auto!important;}.bb-dash-admin-shell.bb-dash-control-room-shell .bb-native-view-content{padding:0 10px 24px!important;}.bb-dash-admin-shell.bb-dash-control-room-shell .fm-committee-hero{padding:20px!important;border-radius:20px!important;}.bb-dash-admin-shell.bb-dash-control-room-shell .fm-committee-nav{overflow:auto!important;white-space:nowrap!important;}}


/* v1.5.158 - Restyling Admin frontend: Control Room + FantaAsta Live
   Patch solo grafica: compatta header, tab, KPI e area live senza toccare logiche operative. */
.bb-dash-admin-shell.bb-dash-control-room-shell,
.bb-dash-admin-shell.bb-dash-live-shell{
  max-width:min(1860px,calc(100vw - 8px))!important;
  padding:8px 4px 34px!important;
}
.bb-dash-admin-shell.bb-dash-control-room-shell .bb-dash-pro,
.bb-dash-admin-shell.bb-dash-live-shell .bb-dash-pro{
  border-radius:24px!important;
  overflow:visible!important;
}
.bb-dash-admin-shell .bb-dash-admin-nav,
.bb-dash-admin-shell.bb-dash-control-room-shell .bb-dash-admin-nav,
.bb-dash-admin-shell.bb-dash-live-shell .bb-dash-admin-nav{
  width:max-content!important;
  max-width:calc(100% - 24px)!important;
  margin:8px auto 12px!important;
  padding:6px!important;
  min-height:0!important;
  gap:6px!important;
  border-radius:22px!important;
  justify-content:center!important;
  background:rgba(1,7,18,.88)!important;
}
.bb-dash-admin-shell .bb-dash-admin-nav a,
.bb-dash-admin-shell.bb-dash-control-room-shell .bb-dash-admin-nav a,
.bb-dash-admin-shell.bb-dash-live-shell .bb-dash-admin-nav a{
  min-height:34px!important;
  padding:8px 16px!important;
  font-size:12px!important;
  line-height:1!important;
  white-space:nowrap!important;
}
.bb-dash-admin-shell.bb-dash-control-room-shell .bb-native-view-content{
  padding:0 18px 24px!important;
}
.bb-dash-admin-shell.bb-dash-control-room-shell .fm-committee-hero{
  margin:0 0 12px!important;
  padding:18px 24px!important;
  border-radius:22px!important;
  min-height:0!important;
}
.bb-dash-admin-shell.bb-dash-control-room-shell .fm-committee-hero span{
  padding:5px 9px!important;
  font-size:10px!important;
  letter-spacing:.10em!important;
}
.bb-dash-admin-shell.bb-dash-control-room-shell .fm-committee-hero h2{
  margin:8px 0 4px!important;
  font-size:clamp(28px,2.4vw,40px)!important;
  line-height:1!important;
}
.bb-dash-admin-shell.bb-dash-control-room-shell .fm-committee-hero p{
  max-width:980px!important;
  font-size:13px!important;
  line-height:1.32!important;
}
.bb-dash-admin-shell.bb-dash-control-room-shell .fm-committee-nav{
  margin:0 0 12px!important;
  padding:7px!important;
  gap:6px!important;
  border-radius:18px!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  white-space:nowrap!important;
  box-shadow:0 10px 24px rgba(0,0,0,.12)!important;
}
.bb-dash-admin-shell.bb-dash-control-room-shell .fm-committee-nav a{
  min-height:32px!important;
  padding:7px 11px!important;
  font-size:11px!important;
  line-height:1!important;
  border-radius:12px!important;
}
.bb-dash-admin-shell.bb-dash-control-room-shell .fm-committee-kpi-grid,
.bb-dash-admin-shell.bb-dash-control-room-shell .fm-committee-kpi-grid.compact{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(145px,1fr))!important;
  gap:8px!important;
  margin:0 0 12px!important;
  align-items:stretch!important;
}
.bb-dash-admin-shell.bb-dash-control-room-shell .fm-committee-kpi-grid div,
.bb-dash-admin-shell.bb-dash-control-room-shell .fm-committee-kpi-grid.compact div{
  min-width:0!important;
  min-height:58px!important;
  padding:10px 12px!important;
  border-radius:15px!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  overflow:hidden!important;
}
.bb-dash-admin-shell.bb-dash-control-room-shell .fm-committee-kpi-grid strong{
  font-size:22px!important;
  line-height:1!important;
  white-space:nowrap!important;
  letter-spacing:-.035em!important;
}
.bb-dash-admin-shell.bb-dash-control-room-shell .fm-committee-kpi-grid span{
  margin-top:5px!important;
  font-size:9.5px!important;
  line-height:1.15!important;
  letter-spacing:.075em!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.bb-dash-admin-shell.bb-dash-control-room-shell .fm-grid.two,
.bb-dash-admin-shell.bb-dash-control-room-shell .fm-committee-matchday-grid{
  gap:12px!important;
}
.bb-dash-admin-shell.bb-dash-control-room-shell .fm-committee-panel,
.bb-dash-admin-shell.bb-dash-control-room-shell .fm-panel{
  border-radius:18px!important;
}
.bb-dash-admin-shell.bb-dash-control-room-shell .fm-committee-panel .fm-table-title,
.bb-dash-admin-shell.bb-dash-control-room-shell .fm-panel .fm-table-title{
  padding-top:10px!important;
  padding-bottom:10px!important;
}
.bb-dash-admin-shell.bb-dash-live-shell{
  max-width:min(1910px,calc(100vw - 6px))!important;
}
.bb-dash-admin-shell.bb-dash-live-shell .bb-dash-content,
.bb-dash-admin-shell.bb-dash-live-shell .bb-native-view-content{
  padding:0 6px 24px!important;
}
.bb-dash-admin-shell.bb-dash-live-shell .fm-auction-live-app{
  width:100%!important;
  max-width:100%!important;
  margin:0 auto!important;
  padding:0 0 28px!important;
}
.bb-dash-admin-shell.bb-dash-live-shell .fm-auction-live-head{
  margin:0 0 10px!important;
  padding:12px 16px!important;
  border-radius:18px!important;
  align-items:center!important;
}
.bb-dash-admin-shell.bb-dash-live-shell .fm-auction-live-title{
  font-size:clamp(25px,2.6vw,38px)!important;
  line-height:1!important;
}
.bb-dash-admin-shell.bb-dash-live-shell .fm-auction-live-subtitle{
  margin-top:4px!important;
  font-size:12px!important;
  line-height:1.25!important;
}
.bb-dash-admin-shell.bb-dash-live-shell .fm-live-view-switch a{
  padding:8px 12px!important;
  font-size:11px!important;
}
.bb-dash-admin-shell.bb-dash-live-shell .fm-auction-hero{
  margin:0 0 12px!important;
  border-radius:20px!important;
  padding:18px 22px!important;
}
.bb-dash-admin-shell.bb-dash-live-shell .fm-live-draw-stage{
  margin:12px 0!important;
}
.bb-dash-admin-shell.bb-dash-live-shell .fm-live-draw-stage .fm-draw-name,
.bb-dash-admin-shell.bb-dash-live-shell .fm-draw-name{
  font-size:clamp(32px,4.4vw,64px)!important;
  line-height:.96!important;
}
.bb-dash-admin-shell.bb-dash-live-shell .fm-grid,
.bb-dash-admin-shell.bb-dash-live-shell .fm-grid.two{
  gap:12px!important;
}
@media(max-width:1100px){
  .bb-dash-admin-shell .bb-dash-admin-nav,
  .bb-dash-admin-shell.bb-dash-control-room-shell .bb-dash-admin-nav,
  .bb-dash-admin-shell.bb-dash-live-shell .bb-dash-admin-nav{
    width:auto!important;
    max-width:100%!important;
    justify-content:flex-start!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    margin:6px 6px 10px!important;
  }
  .bb-dash-admin-shell.bb-dash-control-room-shell .bb-native-view-content,
  .bb-dash-admin-shell.bb-dash-live-shell .bb-native-view-content{padding-left:8px!important;padding-right:8px!important;}
}
@media(max-width:720px){
  .bb-dash-admin-shell.bb-dash-control-room-shell,
  .bb-dash-admin-shell.bb-dash-live-shell{padding:6px 4px 24px!important;}
  .bb-dash-admin-shell.bb-dash-control-room-shell .fm-committee-hero{padding:15px!important;border-radius:18px!important;}
  .bb-dash-admin-shell.bb-dash-control-room-shell .fm-committee-kpi-grid,
  .bb-dash-admin-shell.bb-dash-control-room-shell .fm-committee-kpi-grid.compact{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}


/* v1.5.162 - Mappa Mercato: popup calciatori contenuti nei blocchi */
.fm-market-map-cell.is-clickable{
  width:100%;
  border:0;
  cursor:pointer;
  appearance:none;
  -webkit-appearance:none;
  font-family:inherit;
  padding:7px 9px;
  transition:transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.fm-market-map-cell.is-clickable:hover{
  transform:translateY(-1px);
  filter:brightness(1.04);
  box-shadow:0 7px 16px rgba(15,23,42,.16);
}
.fm-market-map-cell.is-clickable:focus{
  outline:3px solid rgba(37,99,235,.24);
  outline-offset:2px;
}
.fm-market-map-cell.is-disabled{
  opacity:.72;
  cursor:not-allowed;
  box-shadow:none;
}
.fm-market-block-modal .fm-modal-dialog.fm-modal-wide{
  width:min(980px,96vw);
}
.fm-market-block-modal-head{
  padding-right:44px;
}
.fm-market-block-modal-head span{
  display:inline-flex;
  align-items:center;
  margin-bottom:8px;
  padding:6px 10px;
  border-radius:999px;
  background:#0f172a;
  color:#fff;
  font-size:11px;
  font-weight:950;
  text-transform:uppercase;
  letter-spacing:.06em;
}
.fm-market-block-modal-head h3{
  margin-bottom:4px!important;
}
.fm-market-block-modal-meta{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(130px,1fr));
  gap:10px;
  margin:14px 0 16px;
}
.fm-market-block-modal-meta span{
  display:block;
  border:1px solid #dbe5f1;
  border-radius:15px;
  background:linear-gradient(180deg,#ffffff,#f8fafc);
  padding:11px 12px;
}
.fm-market-block-modal-meta b{
  display:block;
  color:#0f172a;
  font-size:15px;
  font-weight:950;
  line-height:1.15;
}
.fm-market-block-modal-meta em{
  display:block;
  margin-top:4px;
  color:#64748b;
  font-size:10px;
  font-style:normal;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.05em;
}
.fm-market-block-player-grid{
  margin-top:8px;
}
.fm-live-dark .fm-market-block-modal-head span{
  background:#e5e7eb;
  color:#0f172a;
}
.fm-live-dark .fm-market-block-modal-meta span{
  background:#0f172a;
  border-color:#334155;
}
.fm-live-dark .fm-market-block-modal-meta b{
  color:#f8fafc;
}
.fm-live-dark .fm-market-block-modal-meta em{
  color:#94a3b8;
}


/* v1.5.165 — Rosa page readability */
.bb-dash-native-shell .fm-roster-live-view .fm-auction-live-title{
  color:#f8fafc!important;
  text-shadow:0 10px 30px rgba(2,6,23,.35)!important;
}
.bb-dash-native-shell .fm-roster-live-view .fm-auction-live-subtitle{
  color:#cbd5e1!important;
  font-size:14px!important;
}
.fm-spectator-roster-team{
  display:flex;
  align-items:center;
  gap:12px;
}
.fm-spectator-team-identity{
  display:flex;
  align-items:center;
  gap:12px;
  padding:8px 12px;
  border-radius:18px;
  background:linear-gradient(135deg,#f8fafc 0%,#eef6ff 100%);
  border:1px solid #dbeafe;
}
.fm-spectator-team-logo{
  width:58px;
  height:58px;
  border-radius:16px;
  object-fit:cover;
  border:2px solid rgba(234,179,8,.55);
  box-shadow:0 8px 18px rgba(15,23,42,.10);
  background:#fff;
}
.fm-spectator-team-copy{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:2px;
  text-align:right;
}
.fm-spectator-team-kicker{
  font-size:11px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:#64748b;
}
.fm-spectator-team-copy strong{
  display:block;
  font-size:clamp(22px,2.4vw,34px);
  line-height:1;
  letter-spacing:-.03em;
  color:#0f172a;
}
@media(max-width:900px){
  .fm-spectator-team-logo{
    width:48px;
    height:48px;
    border-radius:14px;
  }
  .fm-spectator-team-copy strong{
    font-size:22px;
  }
}
@media(max-width:680px){
  .fm-spectator-roster-team,
  .fm-spectator-team-identity{
    width:100%;
  }
  .fm-spectator-team-copy{
    align-items:flex-start;
    text-align:left;
  }
}

/* v1.5.168 — Calendario: VS cliccabile per formazioni giornata attiva */
.fm-calendar-match.is-active-matchday .fm-score-lineup-click{
  cursor:pointer!important;
  box-shadow:0 10px 24px rgba(18,168,255,.18)!important;
}
.fm-calendar-match.is-active-matchday .fm-score-lineup-click:hover{
  transform:translateY(-1px);
  filter:brightness(1.06);
}
.fm-match-lineups-modal-pro .fm-match-pro-title span{
  background:#0b1220;
  color:#fff;
  border-radius:999px;
  padding:8px 18px;
  font-weight:1000;
  text-transform:uppercase;
}


/* v1.5.170 — Rinvii multipli Control Room */
.fm-postponed-team-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(190px,1fr));
  gap:10px;
  margin:12px 0 16px;
}
.fm-postponed-team-choice{
  display:flex!important;
  align-items:center;
  gap:10px;
  min-height:58px;
  padding:10px 12px;
  border:1px solid #dbe3ef;
  border-radius:16px;
  background:#fff;
  box-shadow:0 8px 20px rgba(15,23,42,.04);
  cursor:pointer;
}
.fm-postponed-team-choice input{
  width:18px;
  height:18px;
  flex:0 0 auto;
}
.fm-postponed-team-choice span{
  display:flex;
  flex-direction:column;
  gap:2px;
  min-width:0;
}
.fm-postponed-team-choice strong{
  color:#0f172a;
  font-size:13px;
  line-height:1.1;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.fm-postponed-team-choice small{
  color:#64748b;
  font-weight:800;
  font-size:11px;
}
.fm-postponed-team-choice:has(input:checked){
  border-color:#2563eb;
  background:#eff6ff;
  box-shadow:0 10px 24px rgba(37,99,235,.10);
}

/* v1.5.182 — Scadenze progressive formazione: UI di spessore */
.fm-lineup-real-lock-box{
  border-color:#f59e0b!important;
  background:linear-gradient(135deg,rgba(245,158,11,.12),rgba(255,255,255,.95))!important;
}
.fm-lineup-lock-center{
  position:relative;
  overflow:hidden;
  margin:18px 0;
  padding:0;
  border:1px solid rgba(148,163,184,.22);
  border-radius:24px;
  background:linear-gradient(145deg,#0b172b 0%,#11233d 62%,#15355a 100%);
  box-shadow:0 22px 52px rgba(2,6,23,.22);
  color:#fff;
}
.fm-lineup-lock-center:before{
  content:"";
  position:absolute;
  width:330px;
  height:330px;
  right:-130px;
  top:-180px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(245,158,11,.30) 0%,rgba(245,158,11,0) 68%);
  pointer-events:none;
}
.fm-lineup-lock-center-head{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:22px;
  align-items:start;
  padding:24px 26px 20px;
}
.fm-lineup-lock-kicker{
  display:inline-flex;
  align-items:center;
  width:max-content;
  margin-bottom:8px;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(245,158,11,.17);
  border:1px solid rgba(251,191,36,.30);
  color:#fde68a;
  font-size:11px;
  font-weight:1000;
  letter-spacing:.09em;
}
.fm-lineup-lock-center h3{
  margin:0 0 8px!important;
  color:#fff!important;
  font-size:25px!important;
  line-height:1.15!important;
}
.fm-lineup-lock-center-head p{
  max-width:900px;
  margin:0;
  color:#cbd5e1;
  font-size:14px;
  line-height:1.65;
  font-weight:650;
}
.fm-lineup-lock-center-head p strong{color:#fff}
.fm-lineup-lock-summary{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  min-width:218px;
}
.fm-lineup-lock-summary span{
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-height:72px;
  padding:10px 12px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:16px;
  background:rgba(255,255,255,.07);
  color:#cbd5e1;
  text-align:center;
  font-size:11px;
  font-weight:850;
  text-transform:uppercase;
}
.fm-lineup-lock-summary b{
  display:block;
  margin-bottom:2px;
  color:#fff;
  font-size:24px;
  line-height:1;
}
.fm-lineup-next-lock{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:16px;
  align-items:center;
  margin:0 18px;
  padding:18px 20px;
  border:1px solid rgba(251,191,36,.35);
  border-radius:18px;
  background:linear-gradient(135deg,rgba(245,158,11,.16),rgba(255,255,255,.07));
}
.fm-lineup-next-lock-main{display:flex;flex-direction:column;min-width:0}
.fm-lineup-next-lock-main span{
  color:#fcd34d;
  font-size:10px;
  font-weight:1000;
  letter-spacing:.10em;
}
.fm-lineup-next-lock-main strong{
  margin:3px 0 2px;
  color:#fff;
  font-size:24px;
  line-height:1.15;
  text-transform:uppercase;
}
.fm-lineup-next-lock-main small{color:#cbd5e1;font-size:12px;font-weight:800}
.fm-lineup-next-lock-clock{
  min-width:210px;
  padding:12px 15px;
  border-radius:14px;
  background:#fff;
  color:#0f172a;
  text-align:center;
  font-size:14px;
  font-weight:1000;
  box-shadow:0 10px 30px rgba(0,0,0,.15);
}
.fm-lineup-next-lock-clock.is-expired{
  background:#fee2e2;
  color:#991b1b;
}
.fm-lineup-lock-rule{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:34px minmax(0,1fr);
  gap:10px;
  align-items:start;
  margin:12px 18px 0;
  padding:13px 15px;
  border-radius:15px;
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.09);
}
.fm-lineup-lock-rule>span{
  display:flex;
  align-items:center;
  justify-content:center;
  width:30px;
  height:30px;
  border-radius:50%;
  background:#f59e0b;
  color:#111827;
  font-size:16px;
  font-weight:1000;
}
.fm-lineup-lock-rule p{margin:1px 0 0;color:#dbeafe;font-size:13px;line-height:1.55;font-weight:700}
.fm-lineup-lock-rule p strong{color:#fff}
.fm-lineup-lock-rule.is-done>span{background:#22c55e;color:#052e16}
.fm-lineup-lock-list{
  position:relative;
  z-index:1;
  margin:16px 18px 18px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.09);
  border-radius:16px;
  background:rgba(2,6,23,.24);
}
.fm-lineup-lock-list+.fm-lineup-lock-list{margin-top:-6px}
.fm-lineup-lock-list-title{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:center;
  padding:10px 14px;
  border-bottom:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.05);
}
.fm-lineup-lock-list-title span{color:#f8fafc;font-size:11px;font-weight:1000;letter-spacing:.08em}
.fm-lineup-lock-list-title em{color:#94a3b8;font-size:11px;font-style:normal;font-weight:800}
.fm-lineup-lock-match{
  display:grid;
  grid-template-columns:14px minmax(180px,1fr) minmax(180px,.8fr) auto;
  gap:10px;
  align-items:center;
  padding:11px 14px;
  border-bottom:1px solid rgba(255,255,255,.06);
}
.fm-lineup-lock-match:last-child{border-bottom:0}
.fm-lineup-lock-match strong{color:#f8fafc;font-size:13px;text-transform:uppercase}
.fm-lineup-lock-match small{color:#94a3b8;font-size:11px;font-weight:800}
.fm-lineup-lock-match>b{
  min-width:82px;
  padding:5px 8px;
  border-radius:999px;
  text-align:center;
  font-size:10px;
  letter-spacing:.06em;
}
.fm-lineup-lock-match.is-open>b{background:rgba(34,197,94,.14);color:#86efac;border:1px solid rgba(34,197,94,.24)}
.fm-lineup-lock-match.is-locked>b{background:rgba(239,68,68,.14);color:#fca5a5;border:1px solid rgba(239,68,68,.24)}
.fm-lineup-lock-dot{width:9px;height:9px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 4px rgba(34,197,94,.10)}
.fm-lineup-lock-match.is-locked .fm-lineup-lock-dot{background:#ef4444;box-shadow:0 0 0 4px rgba(239,68,68,.10)}
.fm-sheet-row.is-real-locked{
  position:relative;
  border-color:#f59e0b!important;
  box-shadow:0 0 0 2px rgba(245,158,11,.12)!important;
}
.fm-sheet-row.is-real-locked select{
  border-color:#f59e0b!important;
  background:#fff7ed!important;
  pointer-events:none!important;
  cursor:not-allowed!important;
  user-select:none!important;
  padding-right:92px!important;
}
.fm-sheet-row.is-real-locked .fm-sheet-row-field{position:relative}
.fm-sheet-row.is-real-locked .fm-sheet-row-field::after{
  content:"BLOCCATO";
  position:absolute;
  right:12px;
  top:50%;
  transform:translateY(-50%);
  z-index:3;
  padding:4px 8px;
  border-radius:999px;
  background:#b45309;
  color:#fff;
  font-size:9px;
  font-weight:950;
  letter-spacing:.06em;
  pointer-events:none;
}
.fm-lineup-sheet-form.is-final-locked select{
  pointer-events:none!important;
  cursor:not-allowed!important;
  user-select:none!important;
  opacity:.78;
}
.fm-lineup-sheet-form.is-final-locked .fm-sheet-row{background:#f8fafc!important}
.fm-lineup-sheet-form.is-final-locked .fm-submit,
.fm-lineup-sheet-form.is-final-locked .fm-clear-lineup-btn{
  opacity:.5!important;
  cursor:not-allowed!important;
}
.fm-final-lock-ui-note{
  margin:10px 0 14px;
  padding:10px 14px;
  border:1px solid #fecaca;
  border-radius:12px;
  background:#fff1f2;
  color:#9f1239;
  font-size:12px;
  font-weight:900;
  text-align:center;
  letter-spacing:.03em;
}
.fm-real-lock-note{
  grid-column:1/-1;
  margin:6px 0 0 54px;
  font-size:11px;
  font-weight:900;
  color:#b45309;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.fm-lineup-sheet-form option[data-fm-real-started="1"],
.fm-lineup-sheet-form option:disabled{color:#94a3b8}

/* Banner superiore: chiarisce la differenza tra chiusura generale e blocchi parziali. */
.fm-lineup-user-alert.is-context-formazione{
  border-color:rgba(59,130,246,.22);
  background:linear-gradient(135deg,#f8fbff 0%,#fff 58%,#fffbeb 100%);
  box-shadow:0 18px 42px rgba(15,23,42,.10);
}
.fm-lineup-user-alert.is-context-formazione .fm-lineup-user-alert-kicker{
  background:#dbeafe;
  color:#1d4ed8;
}
.fm-lineup-user-alert.is-context-formazione .fm-lineup-user-alert-meta span{
  border:1px solid rgba(148,163,184,.18);
  background:#fff;
}
.fm-lineup-user-alert.is-context-formazione .fm-lineup-user-alert-clock{
  padding:9px 12px;
  border-radius:12px;
  background:#0f172a;
  color:#fff;
  font-size:15px;
}

@media(max-width:760px){
  .fm-lineup-lock-center{border-radius:18px}
  .fm-lineup-lock-center-head{grid-template-columns:1fr;padding:20px 16px 15px}
  .fm-lineup-lock-center h3{font-size:21px!important}
  .fm-lineup-lock-summary{grid-template-columns:1fr 1fr;min-width:0}
  .fm-lineup-lock-summary span{min-height:62px}
  .fm-lineup-next-lock{grid-template-columns:1fr;margin:0 12px;padding:15px}
  .fm-lineup-next-lock-main strong{font-size:20px}
  .fm-lineup-next-lock-clock{min-width:0;width:100%;box-sizing:border-box}
  .fm-lineup-lock-rule{margin:10px 12px 0}
  .fm-lineup-lock-list{margin:14px 12px}
  .fm-lineup-lock-list+.fm-lineup-lock-list{margin-top:-4px}
  .fm-lineup-lock-list-title{display:block}
  .fm-lineup-lock-list-title em{display:block;margin-top:3px}
  .fm-lineup-lock-match{grid-template-columns:12px minmax(0,1fr) auto;gap:8px}
  .fm-lineup-lock-match small{grid-column:2/4}
  .fm-lineup-lock-match>b{grid-column:3;grid-row:1;min-width:70px}
  .fm-real-lock-note{margin-left:0}
}


/* v1.5.173 — Classifica responsive dashboard utente */
@media (max-width: 760px){
  .bb-dash-integrated-view .bb-native-view-content .fm-standings-panel{
    overflow:visible!important;
    padding:0!important;
  }
  .bb-dash-integrated-view .bb-native-view-content .fm-standings-panel .fm-front-table{
    width:100%!important;
    min-width:0!important;
    border-spacing:0!important;
    display:block!important;
  }
  .bb-dash-integrated-view .bb-native-view-content .fm-standings-panel .fm-front-table thead{
    display:none!important;
  }
  .bb-dash-integrated-view .bb-native-view-content .fm-standings-panel .fm-front-table tbody{
    display:grid!important;
    gap:12px!important;
    width:100%!important;
  }
  .bb-dash-integrated-view .bb-native-view-content .fm-standings-panel .fm-front-table tr{
    display:flex!important;
    flex-wrap:wrap!important;
    align-items:stretch!important;
    width:100%!important;
    border-radius:22px!important;
    overflow:hidden!important;
    background:#ffffff!important;
    border:1px solid #dbe4ef!important;
    box-shadow:0 12px 28px rgba(15,23,42,.12)!important;
  }
  .bb-dash-integrated-view .bb-native-view-content .fm-standings-panel .fm-front-table tr.is-my-row{
    border-color:#86efac!important;
    box-shadow:0 12px 28px rgba(22,163,74,.14), inset 0 0 0 1px rgba(34,197,94,.28)!important;
  }
  .bb-dash-integrated-view .bb-native-view-content .fm-standings-panel .fm-front-table td{
    display:flex!important;
    align-items:center!important;
    min-width:0!important;
    padding:14px 12px!important;
    background:#ffffff!important;
    color:#06101f!important;
    border:0!important;
    box-shadow:none!important;
    font-size:14px!important;
    font-weight:900!important;
  }
  .bb-dash-integrated-view .bb-native-view-content .fm-standings-panel .fm-front-table td:nth-child(1){
    order:1!important;
    flex:0 0 52px!important;
    width:52px!important;
    justify-content:center!important;
    font-size:24px!important;
    color:#1d4ed8!important;
    border-right:1px solid #e2e8f0!important;
  }
  .bb-dash-integrated-view .bb-native-view-content .fm-standings-panel .fm-front-table td:nth-child(2){
    order:2!important;
    flex:1 1 calc(100% - 116px)!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    justify-content:center!important;
    padding:16px 14px!important;
  }
  .bb-dash-integrated-view .bb-native-view-content .fm-standings-panel .fm-front-table td:nth-child(2) strong{
    max-width:100%!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:normal!important;
    color:#020817!important;
    font-size:20px!important;
    line-height:1.08!important;
    letter-spacing:-.02em!important;
  }
  .bb-dash-integrated-view .bb-native-view-content .fm-standings-panel .fm-front-table td:nth-child(2) small{
    color:#475569!important;
    font-size:13px!important;
    line-height:1.15!important;
    margin-top:7px!important;
  }
  .bb-dash-integrated-view .bb-native-view-content .fm-standings-panel .fm-front-table td:nth-child(11){
    order:3!important;
    flex:0 0 64px!important;
    width:64px!important;
    justify-content:center!important;
    border-left:1px solid #e2e8f0!important;
  }
  .bb-dash-integrated-view .bb-native-view-content .fm-standings-panel .fm-front-table td:nth-child(11)::before{
    content:"PT";
    display:block;
    margin-right:6px;
    color:#64748b;
    font-size:10px;
    font-weight:1000;
    letter-spacing:.08em;
  }
  .bb-dash-integrated-view .bb-native-view-content .fm-standings-panel .fm-front-table td:nth-child(11) b{
    min-width:42px!important;
    min-height:42px!important;
    align-items:center!important;
    justify-content:center!important;
    border-radius:999px!important;
    background:#0f172a!important;
    color:#fff!important;
    font-size:18px!important;
  }
  .bb-dash-integrated-view .bb-native-view-content .fm-standings-panel .fm-front-table td:nth-child(n+3):nth-child(-n+10){
    order:4!important;
    flex:0 1 auto!important;
    width:auto!important;
    padding:8px 10px!important;
    margin:0 0 12px 8px!important;
    border-radius:999px!important;
    background:#f1f5f9!important;
    color:#0f172a!important;
    font-size:12px!important;
    line-height:1!important;
    white-space:nowrap!important;
  }
  .bb-dash-integrated-view .bb-native-view-content .fm-standings-panel .fm-front-table td:nth-child(3){margin-left:12px!important;}
  .bb-dash-integrated-view .bb-native-view-content .fm-standings-panel .fm-front-table td:nth-child(3)::before{content:"G ";color:#64748b;margin-right:4px;}
  .bb-dash-integrated-view .bb-native-view-content .fm-standings-panel .fm-front-table td:nth-child(4)::before{content:"V ";color:#64748b;margin-right:4px;}
  .bb-dash-integrated-view .bb-native-view-content .fm-standings-panel .fm-front-table td:nth-child(5)::before{content:"N ";color:#64748b;margin-right:4px;}
  .bb-dash-integrated-view .bb-native-view-content .fm-standings-panel .fm-front-table td:nth-child(6)::before{content:"P ";color:#64748b;margin-right:4px;}
  .bb-dash-integrated-view .bb-native-view-content .fm-standings-panel .fm-front-table td:nth-child(7)::before{content:"GF ";color:#64748b;margin-right:4px;}
  .bb-dash-integrated-view .bb-native-view-content .fm-standings-panel .fm-front-table td:nth-child(8)::before{content:"GS ";color:#64748b;margin-right:4px;}
  .bb-dash-integrated-view .bb-native-view-content .fm-standings-panel .fm-front-table td:nth-child(9)::before{content:"DR ";color:#64748b;margin-right:4px;}
  .bb-dash-integrated-view .bb-native-view-content .fm-standings-panel .fm-front-table td:nth-child(10)::before{content:"Pen. ";color:#64748b;margin-right:4px;}
}


/* v1.5.176 - crediti ASTA Live riservati al footer delle rose */
.fm-board-team-head{
  justify-content:center!important;
  min-height:36px;
  padding:9px 10px!important;
}
.fm-board-team-head strong{
  width:100%;
  text-align:center;
  font-size:12.5px!important;
  white-space:nowrap!important;
  overflow:hidden;
  text-overflow:ellipsis;
}
.fm-board-team-head > span{display:none!important}

.fm-board-team-foot{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:5px!important;
  min-height:0!important;
  padding:7px!important;
  background:#f8fafc!important;
  border-top:2px solid #0f172a!important;
}
.fm-board-credit-stat{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  min-width:0;
  min-height:40px;
  padding:5px 4px;
  border:1px solid #dbe5ef;
  border-radius:8px;
  background:#fff;
  text-align:center;
}
.fm-board-credit-stat span{
  display:block;
  margin:0 0 2px;
  font-size:7.8px!important;
  line-height:1!important;
  font-weight:1000!important;
  color:#64748b!important;
  text-transform:uppercase;
  letter-spacing:.055em;
}
.fm-board-credit-stat strong{
  display:block;
  font-size:15px!important;
  line-height:1!important;
  font-weight:1000!important;
  color:#0f172a!important;
}
.fm-board-credit-stat.is-reserve{background:#fff7ed;border-color:#fed7aa}
.fm-board-credit-stat.is-reserve strong{color:#9a3412!important}
.fm-board-credit-stat.is-free{background:#ecfdf5;border-color:#bbf7d0}
.fm-board-credit-stat.is-free strong{color:#047857!important}
.fm-live-dark .fm-board-team-foot{background:#0f172a!important;border-color:#334155!important}
.fm-live-dark .fm-board-credit-stat{background:#111827;border-color:#334155}
.fm-live-dark .fm-board-credit-stat span{color:#94a3b8!important}
.fm-live-dark .fm-board-credit-stat strong{color:#f8fafc!important}
.fm-live-dark .fm-board-credit-stat.is-reserve{background:#431407;border-color:#9a3412}
.fm-live-dark .fm-board-credit-stat.is-free{background:#052e16;border-color:#047857}

/* v1.5.183 — Inserisci Formazione: mobile più rapido e scadenze sintetiche */
.fm-lineup-lock-center-compact{
  margin:12px 0 14px;
  border-radius:20px;
}
.fm-lineup-lock-center-compact .fm-lineup-lock-center-head{
  grid-template-columns:minmax(0,1fr) auto;
  gap:14px;
  padding:16px 18px 12px;
}
.fm-lineup-lock-center-compact .fm-lineup-lock-kicker{margin-bottom:5px}
.fm-lineup-lock-center-compact h3{font-size:19px!important;margin:0 0 4px!important}
.fm-lineup-lock-center-compact .fm-lineup-lock-center-head p{
  max-width:760px;
  font-size:12.5px;
  line-height:1.4;
}
.fm-lineup-lock-mini-summary{
  display:flex;
  gap:7px;
  align-items:center;
  align-self:center;
}
.fm-lineup-lock-mini-summary span{
  display:flex;
  align-items:center;
  gap:5px;
  min-height:36px;
  padding:6px 10px;
  border-radius:12px;
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.08);
  color:#cbd5e1;
  font-size:10px;
  font-weight:900;
  white-space:nowrap;
  text-transform:uppercase;
}
.fm-lineup-lock-mini-summary b{color:#fff;font-size:16px;line-height:1}
.fm-lineup-lock-center-compact .fm-lineup-next-lock{
  grid-template-columns:minmax(0,1fr) auto auto;
  gap:12px;
  align-items:center;
  margin:0 14px;
  padding:13px 14px;
  border-radius:15px;
}
.fm-lineup-lock-center-compact .fm-lineup-next-lock-main span{font-size:9px}
.fm-lineup-lock-center-compact .fm-lineup-next-lock-main strong{font-size:17px;line-height:1.1}
.fm-lineup-lock-center-compact .fm-lineup-next-lock-main small{margin-top:3px;font-size:10.5px}
.fm-lineup-lock-center-compact .fm-lineup-next-lock-clock{
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  min-width:116px;
  padding:8px 11px;
  border-radius:12px;
  background:#fff;
  color:#0f172a;
  box-shadow:none;
}
.fm-lineup-lock-center-compact .fm-lineup-next-lock-clock span{
  color:#64748b;
  font-size:8.5px;
  font-weight:1000;
  letter-spacing:.08em;
}
.fm-lineup-lock-center-compact .fm-lineup-next-lock-clock strong{
  margin-top:1px;
  color:#0f172a;
  font-size:14px;
  font-weight:1000;
  white-space:nowrap;
}
.fm-lineup-next-lock-state{
  min-width:66px;
  padding:5px 8px;
  border-radius:999px;
  background:rgba(34,197,94,.14);
  color:#86efac;
  border:1px solid rgba(34,197,94,.24);
  text-align:center;
  font-size:9px;
  letter-spacing:.06em;
}
.fm-lineup-next-lock.is-locked .fm-lineup-next-lock-state{
  background:rgba(239,68,68,.14);
  color:#fca5a5;
  border-color:rgba(239,68,68,.24);
}
.fm-lineup-lock-rule-compact{
  grid-template-columns:25px minmax(0,1fr);
  gap:8px;
  margin:8px 14px 12px;
  padding:9px 11px;
  border-radius:12px;
}
.fm-lineup-lock-rule-compact>span{width:23px;height:23px;font-size:12px}
.fm-lineup-lock-rule-compact p{font-size:11.5px;line-height:1.35}
.fm-lineup-lock-details{
  position:relative;
  z-index:1;
  margin:0 14px 12px;
  border-top:1px solid rgba(255,255,255,.08);
}
.fm-lineup-lock-details summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  cursor:pointer;
  list-style:none;
  padding:10px 2px 2px;
  color:#cbd5e1;
  font-size:11px;
  font-weight:900;
}
.fm-lineup-lock-details summary::-webkit-details-marker{display:none}
.fm-lineup-lock-details summary em{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:23px;
  height:23px;
  padding:0 6px;
  border-radius:999px;
  background:rgba(255,255,255,.08);
  color:#fff;
  font-style:normal;
}
.fm-lineup-lock-details-body{padding-top:6px}
.fm-lineup-lock-details .fm-lineup-lock-list{margin:6px 0 0;border-radius:12px}
.fm-lineup-lock-details .fm-lineup-lock-list+.fm-lineup-lock-list{margin-top:7px}
.fm-lineup-lock-details .fm-lineup-lock-list-title{padding:7px 10px}
.fm-lineup-lock-details .fm-lineup-lock-match{padding:8px 10px}

/* Alert sopra la formazione: solo informazioni operative, niente duplicazioni. */
.fm-lineup-user-alert.is-context-formazione{
  margin:10px 0 12px;
  padding:14px 15px;
  gap:12px;
  border-radius:18px;
}
.fm-lineup-user-alert.is-context-formazione .fm-lineup-user-alert-kicker{margin-bottom:5px;padding:4px 8px;font-size:9.5px}
.fm-lineup-user-alert.is-context-formazione h3{font-size:18px;line-height:1.1;margin-bottom:4px}
.fm-lineup-user-alert.is-context-formazione p{font-size:12px;line-height:1.35}
.fm-lineup-user-alert.is-context-formazione .fm-lineup-user-alert-meta{margin-top:8px;gap:5px}
.fm-lineup-user-alert.is-context-formazione .fm-lineup-user-alert-meta span{padding:4px 7px;font-size:10px}
.fm-lineup-user-alert.is-context-formazione .fm-lineup-user-alert-side{gap:5px;min-width:145px}
.fm-lineup-user-alert.is-context-formazione .fm-lineup-user-alert-status{padding:5px 8px;font-size:9.5px}
.fm-lineup-user-alert.is-context-formazione .fm-lineup-user-alert-clock{padding:7px 9px;font-size:12px}

@media(max-width:760px){
  .fm-lineup-user-alert.is-context-formazione{
    grid-template-columns:1fr;
    padding:12px 13px;
    gap:8px;
    margin:8px 0 10px;
  }
  .fm-lineup-user-alert.is-context-formazione h3{font-size:17px}
  .fm-lineup-user-alert.is-context-formazione p{font-size:11.5px}
  .fm-lineup-user-alert.is-context-formazione .fm-lineup-user-alert-meta{display:grid;grid-template-columns:1fr;gap:4px;margin-top:7px}
  .fm-lineup-user-alert.is-context-formazione .fm-lineup-user-alert-meta span{width:100%;box-sizing:border-box}
  .fm-lineup-user-alert.is-context-formazione .fm-lineup-user-alert-side{
    flex-direction:row;
    align-items:center;
    justify-content:space-between;
    min-width:0;
  }

  .fm-lineup-sheet-hero-compact{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto;
    gap:10px!important;
    align-items:end!important;
    padding:15px 16px!important;
    margin:10px 0!important;
    border-radius:20px!important;
  }
  .fm-lineup-sheet-hero-compact span{font-size:9px!important}
  .fm-lineup-sheet-hero-compact h2{font-size:23px!important;margin:2px 0!important;line-height:1.05!important}
  .fm-lineup-sheet-hero-compact p{font-size:10.5px!important;line-height:1.25!important}
  .fm-lineup-sheet-hero-compact .fm-lineup-hero-side{align-items:flex-end;gap:5px}
  .fm-lineup-sheet-hero-compact .fm-lineup-header-countdown{font-size:9.5px;padding:5px 7px;white-space:nowrap}
  .fm-lineup-sheet-hero-compact .fm-lineup-sheet-module{margin-top:0!important;min-width:70px;padding:9px 10px!important;font-size:22px!important}

  .fm-serie-b-rule-note{margin:8px 0!important;padding:9px 11px!important;border-radius:12px!important;font-size:11px!important;line-height:1.35!important}

  .fm-lineup-lock-center-compact{margin:8px 0 10px;border-radius:16px}
  .fm-lineup-lock-center-compact .fm-lineup-lock-center-head{
    display:block;
    padding:13px 12px 9px;
  }
  .fm-lineup-lock-center-compact .fm-lineup-lock-kicker{font-size:8.5px;padding:4px 7px}
  .fm-lineup-lock-center-compact h3{font-size:16px!important;margin-bottom:3px!important}
  .fm-lineup-lock-center-compact .fm-lineup-lock-center-head p{font-size:10.8px;line-height:1.35}
  .fm-lineup-lock-mini-summary{margin-top:8px;gap:5px}
  .fm-lineup-lock-mini-summary span{min-height:29px;padding:4px 7px;font-size:8.5px;border-radius:9px}
  .fm-lineup-lock-mini-summary b{font-size:13px}
  .fm-lineup-lock-center-compact .fm-lineup-next-lock{
    grid-template-columns:minmax(0,1fr) auto;
    gap:8px;
    margin:0 9px;
    padding:10px 11px;
    border-radius:12px;
  }
  .fm-lineup-lock-center-compact .fm-lineup-next-lock-main span{font-size:8px}
  .fm-lineup-lock-center-compact .fm-lineup-next-lock-main strong{font-size:14px}
  .fm-lineup-lock-center-compact .fm-lineup-next-lock-main small{font-size:9px}
  .fm-lineup-lock-center-compact .fm-lineup-next-lock-clock{min-width:88px;padding:6px 7px;border-radius:10px}
  .fm-lineup-lock-center-compact .fm-lineup-next-lock-clock span{font-size:7.5px}
  .fm-lineup-lock-center-compact .fm-lineup-next-lock-clock strong{font-size:11.5px}
  .fm-lineup-next-lock-state{display:none}
  .fm-lineup-lock-rule-compact{margin:6px 9px 9px;padding:7px 8px;grid-template-columns:21px minmax(0,1fr);gap:7px}
  .fm-lineup-lock-rule-compact>span{width:19px;height:19px;font-size:10px}
  .fm-lineup-lock-rule-compact p{font-size:10px;line-height:1.3}
  .fm-lineup-lock-details{margin:0 9px 8px}
  .fm-lineup-lock-details summary{padding-top:8px;font-size:10px}
  .fm-lineup-lock-details .fm-lineup-lock-match{grid-template-columns:10px minmax(0,1fr) auto;gap:6px;padding:7px 8px}
  .fm-lineup-lock-details .fm-lineup-lock-match strong{font-size:10.5px}
  .fm-lineup-lock-details .fm-lineup-lock-match small{font-size:9px}
  .fm-lineup-lock-details .fm-lineup-lock-match>b{min-width:58px;font-size:8px;padding:4px 6px}
}
@media(max-width:760px){
  /* Il countdown generale è già nell'alert superiore: niente duplicazioni nella hero. */
  .fm-lineup-sheet-app:not(.fm-lineup-sheet-app-committee) .fm-lineup-sheet-hero-compact .fm-lineup-header-countdown{display:none!important}
}

/* v1.5.184 - Backend Import Voti: report ordinato, filtri stato e controllo Listone */
.fm-score-import-report,
.fm-score-import-report *{
  box-sizing:border-box;
}
.fm-score-import-report .fm-table-title{
  align-items:center;
}
.fm-score-report-section{
  margin:18px 0 20px;
  padding:16px;
  border:1px solid #e2e8f0;
  border-radius:20px;
  background:#f8fafc;
}
.fm-score-report-section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
  margin-bottom:12px;
}
.fm-score-report-section-head strong{
  display:block;
  color:#0f172a;
  font-size:15px;
  line-height:1.2;
}
.fm-score-report-section-head span{
  display:block;
  margin-top:3px;
  color:#64748b;
  font-size:12px;
  font-weight:700;
}
.fm-score-import-report .fm-score-summary-grid{
  margin:0;
}
.fm-score-import-report .fm-score-summary-grid--clickable,
.fm-score-import-report .fm-score-status-grid{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:12px;
}
.fm-score-import-report .fm-score-summary-card{
  min-width:0;
  width:100%;
  min-height:112px;
  padding:15px 16px;
  overflow:hidden;
}
.fm-score-import-report .fm-score-summary-card span{
  overflow-wrap:anywhere;
}
.fm-score-status-card{
  position:relative;
  border-top:4px solid #cbd5e1!important;
}
.fm-score-status-card.is-ok{border-top-color:#16a34a!important;}
.fm-score-status-card.is-not-linked{border-top-color:#dc2626!important;}
.fm-score-status-card.is-role{border-top-color:#f59e0b!important;}
.fm-score-status-card.is-ambiguous{border-top-color:#7c3aed!important;}
.fm-score-status-card.is-duplicate{border-top-color:#be123c!important;}
.fm-score-status-card[aria-pressed="true"]{
  outline:3px solid rgba(37,99,235,.18);
  border-color:#2563eb!important;
  background:#eff6ff;
}
.fm-score-import-message{
  margin:16px 0!important;
}
.fm-score-report-tools{
  position:sticky;
  top:32px;
  z-index:8;
  display:grid;
  grid-template-columns:auto minmax(260px,1fr) auto;
  align-items:end;
  gap:12px;
  margin:18px 0 12px;
  padding:12px;
  border:1px solid #dbe3ef;
  border-radius:16px;
  background:rgba(255,255,255,.96);
  box-shadow:0 10px 28px rgba(15,23,42,.08);
  backdrop-filter:blur(8px);
}
.fm-score-report-quickfilters{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.fm-score-report-quickfilters .button{
  display:inline-flex;
  align-items:center;
  gap:7px;
  min-height:38px;
  border-radius:999px;
  font-weight:800;
}
.fm-score-report-quickfilters .button strong{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:24px;
  height:24px;
  padding:0 7px;
  border-radius:999px;
  background:#e2e8f0;
  color:#0f172a;
  font-size:11px;
}
.fm-score-report-quickfilters .button.is-active,
.fm-score-report-quickfilters .button[aria-pressed="true"]{
  border-color:#2563eb;
  background:#2563eb;
  color:#fff;
}
.fm-score-report-quickfilters .button.is-active strong,
.fm-score-report-quickfilters .button[aria-pressed="true"] strong{
  background:rgba(255,255,255,.2);
  color:#fff;
}
.fm-score-report-search{
  display:grid;
  gap:5px;
  margin:0;
}
.fm-score-report-search span{
  color:#475569;
  font-size:11px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.05em;
}
.fm-score-report-search input{
  width:100%;
  min-height:40px;
  margin:0;
  border-radius:10px;
}
.fm-score-report-visible{
  min-width:118px;
  padding:9px 12px;
  border-radius:12px;
  background:#f1f5f9;
  color:#475569;
  text-align:center;
  font-size:12px;
  font-weight:800;
}
.fm-score-report-visible strong{
  color:#0f172a;
  font-size:16px;
}
.fm-score-import-table-wrap{
  max-height:66vh;
  overflow:auto;
  border:1px solid #dbe3ef;
  border-radius:16px;
  background:#fff;
}
.fm-score-import-table{
  margin:0!important;
  min-width:1240px;
}
.fm-score-import-table thead th{
  position:sticky;
  top:0;
  z-index:3;
  background:#f8fafc!important;
  box-shadow:0 1px 0 #dbe3ef;
  white-space:nowrap;
}
.fm-score-import-table td{
  vertical-align:middle;
}
.fm-score-status-pill{
  display:inline-flex;
  align-items:center;
  min-height:26px;
  padding:4px 9px;
  border-radius:999px;
  background:#e2e8f0;
  color:#334155;
  font-size:10px;
  font-weight:1000;
  line-height:1.1;
  letter-spacing:.03em;
  text-transform:uppercase;
}
.fm-score-status-pill.is-ok{background:#dcfce7;color:#166534;}
.fm-score-status-pill.is-not-linked{background:#fee2e2;color:#991b1b;}
.fm-score-status-pill.is-role{background:#fef3c7;color:#92400e;}
.fm-score-status-pill.is-ambiguous{background:#ede9fe;color:#5b21b6;}
.fm-score-status-pill.is-duplicate{background:#ffe4e6;color:#9f1239;}
.fm-score-status-detail{
  display:block;
  margin-top:6px;
  color:#64748b!important;
  font-size:11px;
  line-height:1.35;
  font-weight:650;
}
.fm-score-action-cell .button{
  white-space:nowrap;
}
.fm-score-filter-empty{
  padding:24px;
  color:#64748b;
  text-align:center;
  font-weight:800;
}
.fm-score-report-note{
  margin-top:10px!important;
}
.fm-score-import-report tr[hidden]{
  display:none!important;
}
@media(max-width:1180px){
  .fm-score-import-report .fm-score-summary-grid--clickable,
  .fm-score-import-report .fm-score-status-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
  .fm-score-report-tools{
    grid-template-columns:1fr 1fr;
  }
  .fm-score-report-visible{
    grid-column:1/-1;
    justify-self:start;
  }
}
@media(max-width:782px){
  .fm-score-import-report .fm-score-summary-grid--clickable,
  .fm-score-import-report .fm-score-status-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .fm-score-report-tools{
    position:static;
    grid-template-columns:1fr;
  }
  .fm-score-report-visible{
    grid-column:auto;
  }
}
@media(max-width:520px){
  .fm-score-import-report .fm-score-summary-grid--clickable,
  .fm-score-import-report .fm-score-status-grid{
    grid-template-columns:1fr;
  }
}

/* v1.5.185 — coordinamento operativo giornate Serie A / Serie B */
.fm-score-coordinated-note{margin:14px 0!important;}
.fm-score-coordinated-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  margin:0 0 16px;
}
.fm-score-coordinated-card{
  display:grid;
  gap:4px;
  padding:14px 16px;
  border:1px solid #dbe3ef;
  border-radius:14px;
  background:#f8fafc;
}
.fm-score-coordinated-card strong{font-size:15px;color:#0f172a;}
.fm-score-coordinated-card span{font-size:12px;font-weight:800;color:#334155;}
.fm-score-coordinated-card em{font-size:11px;font-style:normal;color:#64748b;}
.fm-sync-deadline{
  padding:10px 12px;
  border:1px solid #dbe3ef;
  border-radius:12px;
  background:#f8fafc;
}
.fm-sync-deadline>span{display:flex;align-items:center;gap:8px;font-weight:800;}
.fm-sync-deadline input[type="checkbox"]{margin:0;}
.fm-sync-deadline small{display:block;margin-top:5px;color:#64748b;font-weight:600;line-height:1.35;}
.fm-score-import-table td:nth-last-child(2){min-width:260px;}
.fm-score-import-table td:last-child{min-width:132px;white-space:nowrap;}
@media(max-width:782px){
  .fm-score-coordinated-grid{grid-template-columns:1fr;}
}
.fm-score-coordinated-card{
  width:100%;
  appearance:none;
  font:inherit;
  text-align:left;
  cursor:pointer;
}
.fm-score-coordinated-card small{font-size:10px;color:#2563eb;font-weight:800;}
.fm-score-coordinated-card:hover{border-color:#93c5fd;background:#eff6ff;}
.fm-score-coordinated-card.is-active,
.fm-score-coordinated-card[aria-pressed="true"]{border-color:#2563eb;background:#eff6ff;box-shadow:0 0 0 2px rgba(37,99,235,.08);}

/* v1.5.188 — Control Room > Calendari: Gestione giornate, restyling compatto */
.fm-committee-matchday-grid{
  grid-template-columns:repeat(auto-fit,minmax(390px,1fr))!important;
  gap:14px!important;
}
.fm-committee-md-card.fm-md-card-v188{
  position:relative!important;
  overflow:hidden!important;
  padding:0!important;
  border:1px solid #dbe3ef!important;
  border-radius:18px!important;
  background:#fff!important;
  box-shadow:0 8px 22px rgba(15,23,42,.055)!important;
}
.fm-committee-md-card.fm-md-card-v188:before{
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:4px;
  background:#22c55e;
}
.fm-committee-md-card.fm-md-card-v188.is-closed:before{background:#94a3b8;}
.fm-md-card-head{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  margin:0!important;
  padding:14px 16px 10px 18px!important;
  border-bottom:0!important;
}
.fm-md-card-head>div{
  min-width:0;
  display:flex;
  align-items:center;
  gap:8px;
}
.fm-md-card-head strong{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:14px!important;
  line-height:1.2!important;
  color:#0f172a!important;
}
.fm-md-round{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:34px;
  height:24px;
  padding:0 8px;
  border-radius:999px;
  background:#eef2ff;
  color:#3730a3;
  font-size:10px;
  font-weight:1000;
}
.fm-md-status{
  flex:0 0 auto;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:54px;
  padding:5px 9px!important;
  border-radius:999px!important;
  background:#dcfce7!important;
  color:#166534!important;
  font-size:9px!important;
  font-weight:1000!important;
  letter-spacing:.06em!important;
}
.fm-committee-md-card.is-closed .fm-md-status{
  background:#f1f5f9!important;
  color:#64748b!important;
}
.fm-md-meta{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:6px;
  padding:0 16px 12px 18px;
  border-bottom:1px solid #eef2f7;
}
.fm-md-meta strong{
  margin-right:auto;
  color:#334155;
  font-size:12px;
  font-weight:900;
}
.fm-md-meta span{
  display:inline-flex;
  align-items:center;
  min-height:22px;
  padding:3px 8px;
  border-radius:999px;
  background:#f8fafc;
  border:1px solid #e2e8f0;
  color:#64748b;
  font-size:9.5px;
  font-weight:850;
  white-space:nowrap;
}
.fm-committee-mini-form.fm-md-edit-form{
  display:block!important;
  margin:0!important;
  padding:13px 16px 10px 18px!important;
}
.fm-md-main-fields{
  display:grid;
  grid-template-columns:minmax(0,.9fr) minmax(210px,1.1fr);
  gap:10px;
}
.fm-md-secondary-fields{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin-top:9px;
}
.fm-md-edit-form label{
  display:block!important;
  margin:0!important;
  color:#475569!important;
  font-size:9.5px!important;
  font-weight:900!important;
}
.fm-md-edit-form label>span:not(.screen-reader-text){
  display:block;
  margin:0 0 5px;
  color:#64748b;
  font-size:9px;
  font-weight:1000;
  letter-spacing:.055em;
  text-transform:uppercase;
}
.fm-md-edit-form input:not([type="checkbox"]),
.fm-md-edit-form select{
  width:100%!important;
  min-width:0!important;
  min-height:38px!important;
  height:38px!important;
  padding:7px 10px!important;
  border:1px solid #d7dfeb!important;
  border-radius:10px!important;
  background:#fff!important;
  color:#0f172a!important;
  font-size:12px!important;
  font-weight:750!important;
  box-shadow:none!important;
}
.fm-md-edit-form input:focus,
.fm-md-edit-form select:focus{
  border-color:#2563eb!important;
  box-shadow:0 0 0 3px rgba(37,99,235,.10)!important;
  outline:0!important;
}
.fm-sync-deadline.fm-md-sync{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  margin:10px 0 0!important;
  padding:9px 10px!important;
  border:1px solid #dbeafe!important;
  border-radius:11px!important;
  background:#f8fbff!important;
  cursor:pointer!important;
}
.fm-sync-deadline.fm-md-sync>span{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  margin:0!important;
  color:#1e3a8a!important;
  font-size:10.5px!important;
  font-weight:900!important;
  text-transform:none!important;
  letter-spacing:0!important;
}
.fm-sync-deadline.fm-md-sync input[type="checkbox"]{
  width:16px!important;
  height:16px!important;
  min-width:16px!important;
  margin:0!important;
}
.fm-sync-deadline.fm-md-sync small{
  margin:0!important;
  color:#64748b!important;
  font-size:9px!important;
  font-weight:700!important;
  line-height:1.2!important;
  text-align:right!important;
}
.fm-md-save-row{
  display:flex;
  justify-content:flex-end;
  margin-top:10px;
}
.fm-md-save-row .button{
  min-height:36px!important;
  padding:0 15px!important;
  border-radius:10px!important;
  font-size:11px!important;
  font-weight:900!important;
}
.fm-committee-inline-form.fm-md-close-form{
  margin:0!important;
  padding:0 16px 14px 18px!important;
}
.fm-md-close-form .button{
  width:100%!important;
  min-height:35px!important;
  border:1px solid #dbe3ef!important;
  border-radius:10px!important;
  background:#f8fafc!important;
  color:#334155!important;
  font-size:10.5px!important;
  font-weight:900!important;
  box-shadow:none!important;
}
.fm-md-close-form .button:hover{
  border-color:#bfdbfe!important;
  background:#eff6ff!important;
  color:#1d4ed8!important;
}
@media(max-width:1180px){
  .fm-committee-matchday-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}
@media(max-width:820px){
  .fm-committee-matchday-grid{grid-template-columns:1fr!important;}
  .fm-md-main-fields{grid-template-columns:1fr!important;}
}
@media(max-width:520px){
  .fm-md-card-head{padding:12px 12px 9px 14px!important;}
  .fm-md-meta{padding:0 12px 10px 14px!important;}
  .fm-committee-mini-form.fm-md-edit-form{padding:11px 12px 9px 14px!important;}
  .fm-md-secondary-fields{grid-template-columns:1fr 1fr!important;gap:8px!important;}
  .fm-sync-deadline.fm-md-sync{align-items:flex-start!important;flex-direction:column!important;gap:4px!important;}
  .fm-sync-deadline.fm-md-sync small{text-align:left!important;padding-left:24px!important;}
  .fm-committee-inline-form.fm-md-close-form{padding:0 12px 12px 14px!important;}
  .fm-md-save-row .button{width:100%!important;}
}

/* v1.5.191 - Export PDF Rose */
.fm-roster-pdf-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:12px 0 18px;padding:12px 14px;border:1px solid #dbe4f0;border-radius:14px;background:#f8fbff}
.fm-roster-pdf-toolbar .fm-roster-pdf-btn{background:#0f172a!important;border-color:#0f172a!important;color:#fff!important;font-weight:800}
.fm-roster-pdf-toolbar span{font-size:12px;color:#64748b;font-weight:600}
.fm-roster-pdf-actions{margin-top:10px}
@media (max-width:700px){.fm-roster-pdf-toolbar{align-items:stretch}.fm-roster-pdf-toolbar .button{width:100%;text-align:center}}

/* v1.5.197 — Dettaglio risultato mobile: niente scroll orizzontale, Bonus/Malus separati */
.fm-score-head,
.fm-score-row{
  grid-template-columns:44px minmax(180px,1fr) 64px 64px 64px 74px;
}
.fm-match-votes-modal-pro .fm-score-head,
.fm-match-votes-modal-pro .fm-score-row{
  grid-template-columns:38px minmax(150px,1fr) 54px 54px 54px 62px!important;
}
.fm-match-team-pane{min-width:0}
.fm-match-mobile-team-switch{display:none}

@media(max-width:900px){
  .fm-score-head,
  .fm-score-row{
    grid-template-columns:36px minmax(140px,1fr) 54px 54px 54px 64px;
  }
}

@media(max-width:640px){
  /* Testata partita molto più compatta su smartphone. */
  .fm-match-votes-modal-pro .fm-match-pro-dialog{
    width:100vw!important;
    max-height:100dvh!important;
    height:100dvh!important;
    border-radius:0!important;
  }
  .fm-match-votes-modal-pro .fm-modal-close{
    top:9px!important;
    right:9px!important;
    width:36px!important;
    height:36px!important;
    line-height:32px!important;
  }
  .fm-match-pro-head{
    padding:12px 50px 11px 12px!important;
  }
  .fm-match-pro-title{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)!important;
    align-items:center!important;
    gap:7px!important;
    font-size:14px!important;
    line-height:1.05!important;
    letter-spacing:-.02em!important;
  }
  .fm-match-pro-title strong{
    max-width:none!important;
    min-width:0!important;
    flex:none!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    text-align:center!important;
  }
  .fm-match-pro-title span{
    order:initial!important;
    min-width:58px!important;
    padding:6px 8px!important;
    font-size:14px!important;
  }
  .fm-match-pro-head p{
    display:none!important;
  }
  .fm-match-pro-body{
    padding:10px!important;
    max-height:calc(100dvh - 59px)!important;
  }

  /* Su mobile una squadra alla volta: Casa / Trasferta. */
  .fm-match-mobile-team-switch{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:7px;
    margin:0 0 10px;
  }
  .fm-match-mobile-team-switch button{
    min-width:0;
    border:1px solid #dbe5f1;
    border-radius:13px;
    padding:9px 8px;
    background:#fff;
    color:#475569;
    font-size:11px;
    font-weight:1000;
    line-height:1.15;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    cursor:pointer;
  }
  .fm-match-mobile-team-switch button.is-active{
    background:#0f172a;
    border-color:#0f172a;
    color:#fff;
    box-shadow:0 8px 18px rgba(15,23,42,.16);
  }
  .fm-match-votes-modal-pro .fm-match-team-pane{
    display:none!important;
  }
  .fm-match-votes-modal-pro .fm-match-team-pane.is-active{
    display:block!important;
  }
  .fm-match-votes-modal-pro .fm-match-votes-grid{
    display:block!important;
  }

  /* Card squadra più compatta. */
  .fm-match-votes-modal-pro .fm-lineup-public-card{
    border-radius:18px!important;
  }
  .fm-match-votes-modal-pro .fm-lineup-public-card > h3{
    padding:12px 13px!important;
    font-size:15px!important;
  }
  .fm-match-votes-modal-pro .fm-lineup-last-edit{
    margin:10px!important;
    padding:10px 11px!important;
    grid-template-columns:1fr!important;
  }
  .fm-match-votes-modal-pro .fm-lineup-last-edit strong{font-size:14px!important}
  .fm-match-votes-modal-pro .fm-lineup-last-edit span{font-size:10px!important}
  .fm-match-votes-modal-pro .fm-public-match-summary{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:5px!important;
    margin:0 10px 10px!important;
  }
  .fm-match-votes-modal-pro .fm-public-match-summary > div{
    padding:8px 4px!important;
    border-radius:12px!important;
  }
  .fm-match-votes-modal-pro .fm-public-match-summary strong{
    font-size:16px!important;
  }
  .fm-match-votes-modal-pro .fm-public-match-summary span{
    font-size:8px!important;
    letter-spacing:.02em!important;
  }

  /* La tabella diventa una scheda a due righe: nessuna traslazione orizzontale. */
  .fm-match-votes-modal-pro .fm-public-score-sheet{
    margin:0 10px 10px!important;
    overflow:visible!important;
    border-radius:14px!important;
  }
  .fm-match-votes-modal-pro .fm-score-head{
    min-width:0!important;
    display:block!important;
  }
  .fm-match-votes-modal-pro .fm-score-head span{
    display:block!important;
    padding:9px 10px!important;
    text-align:center!important;
  }
  .fm-match-votes-modal-pro .fm-score-head em{
    display:none!important;
  }
  .fm-match-votes-modal-pro .fm-score-row{
    min-width:0!important;
    display:grid!important;
    grid-template-columns:38px repeat(4,minmax(0,1fr))!important;
    grid-template-areas:
      "slot player player player player"
      "slot vote bonus malus final"!important;
    gap:0!important;
    min-height:58px!important;
    align-items:stretch!important;
  }
  .fm-match-votes-modal-pro .fm-score-row > b{
    grid-area:slot!important;
    min-height:58px!important;
    border-right:1px solid #e2e8f0!important;
  }
  .fm-match-votes-modal-pro .fm-score-player-cell{
    grid-area:player!important;
    min-width:0!important;
    padding:7px 9px 5px!important;
    border:0!important;
  }
  .fm-match-votes-modal-pro .fm-score-value{
    min-width:0!important;
    height:auto!important;
    min-height:31px!important;
    padding:4px 2px 5px!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:1px!important;
    border-left:1px solid #e2e8f0!important;
    border-top:1px solid #eef2f7!important;
    background:#f8fafc!important;
    color:#0f172a!important;
    font-size:11px!important;
    font-weight:1000!important;
    line-height:1!important;
  }
  .fm-match-votes-modal-pro .fm-score-value::before{
    content:attr(data-label);
    display:block;
    color:#64748b;
    font-size:7px;
    font-weight:1000;
    text-transform:uppercase;
    letter-spacing:.04em;
  }
  .fm-match-votes-modal-pro .fm-score-value-vote{grid-area:vote!important}
  .fm-match-votes-modal-pro .fm-score-value-bonus{grid-area:bonus!important;color:#047857!important}
  .fm-match-votes-modal-pro .fm-score-value-malus{grid-area:malus!important;color:#b91c1c!important}
  .fm-match-votes-modal-pro .fm-score-value-final{grid-area:final!important;background:#eef2ff!important;color:#1e3a8a!important}
  .fm-match-votes-modal-pro .fm-score-player-name{
    font-size:12px!important;
  }
  .fm-match-votes-modal-pro .fm-score-player-team,
  .fm-match-votes-modal-pro .fm-score-public-note{
    font-size:9px!important;
  }

  /* Totali finali: tutti visibili nello schermo, senza scrollbar. */
  .fm-match-votes-modal-pro .fm-score-total-grid{
    min-width:0!important;
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
  .fm-match-votes-modal-pro .fm-score-big{
    grid-column:1 / -1!important;
    grid-row:auto!important;
    min-height:52px!important;
    flex-direction:column!important;
    border-right:0!important;
    border-bottom:1px solid #cbd5e1!important;
    font-size:26px!important;
  }
  .fm-match-votes-modal-pro .fm-score-big::before{
    content:'GOL';
    color:#64748b;
    font-size:8px;
    font-weight:1000;
    letter-spacing:.08em;
  }
  .fm-match-votes-modal-pro .fm-score-total-grid > div:not(.fm-score-big){
    display:block!important;
    min-width:0!important;
    text-align:center!important;
    border-bottom:0!important;
    border-right:1px solid #e2e8f0!important;
  }
  .fm-match-votes-modal-pro .fm-score-total-grid > div:last-child{border-right:0!important}
  .fm-match-votes-modal-pro .fm-score-total-grid span{
    display:block!important;
    padding:7px 3px 2px!important;
    text-align:center!important;
    font-size:8px!important;
    line-height:1.1!important;
  }
  .fm-match-votes-modal-pro .fm-score-total-grid strong{
    display:block!important;
    padding:3px 3px 8px!important;
    border-left:0!important;
    font-size:13px!important;
  }
}

/* v1.5.198 — Dashboard Utente > Vedi Giornata: stesso risultato responsive della v1.5.197 */
.fm-current-matchday-view .fm-current-matchday-lineups > .fm-match-team-pane{min-width:0}
.fm-current-matchday-view .fm-current-matchday-team-switch{display:none}

@media(max-width:640px){
  .fm-current-matchday-view .fm-my-matchday-panel{
    padding:10px!important;
    overflow:hidden!important;
  }
  .fm-current-matchday-view .fm-current-matchday-versus{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)!important;
    gap:7px!important;
    align-items:center!important;
    margin:0 0 10px!important;
    padding:10px!important;
  }
  .fm-current-matchday-view .fm-current-matchday-versus strong{
    min-width:0!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    text-align:center!important;
    font-size:13px!important;
  }
  .fm-current-matchday-view .fm-current-matchday-versus span{
    min-width:58px!important;
    padding:6px 8px!important;
    border-radius:999px!important;
    font-size:14px!important;
    text-align:center!important;
  }
  .fm-current-matchday-view .fm-current-matchday-team-switch{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:7px!important;
    margin:0 0 10px!important;
  }
  .fm-current-matchday-view .fm-current-matchday-team-switch button{
    min-width:0!important;
    border:1px solid #dbe5f1!important;
    border-radius:13px!important;
    padding:9px 8px!important;
    background:#fff!important;
    color:#475569!important;
    font-size:11px!important;
    font-weight:1000!important;
    line-height:1.15!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    cursor:pointer!important;
  }
  .fm-current-matchday-view .fm-current-matchday-team-switch button.is-active{
    background:#0f172a!important;
    border-color:#0f172a!important;
    color:#fff!important;
    box-shadow:0 8px 18px rgba(15,23,42,.16)!important;
  }
  .fm-current-matchday-view .fm-current-matchday-lineups{
    display:block!important;
    grid-template-columns:1fr!important;
  }
  .fm-current-matchday-view .fm-current-matchday-lineups > .fm-match-team-pane{
    display:none!important;
  }
  .fm-current-matchday-view .fm-current-matchday-lineups > .fm-match-team-pane.is-active{
    display:block!important;
  }
  .fm-current-matchday-view .fm-lineup-public-card{
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
    border-radius:18px!important;
  }
  .fm-current-matchday-view .fm-lineup-public-card > h3{
    margin:0!important;
    padding:12px 13px!important;
    font-size:15px!important;
  }
  .fm-current-matchday-view .fm-lineup-last-edit{
    margin:10px!important;
    padding:10px 11px!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:4px!important;
  }
  .fm-current-matchday-view .fm-lineup-last-edit strong{font-size:14px!important}
  .fm-current-matchday-view .fm-lineup-last-edit span{font-size:10px!important}
  .fm-current-matchday-view .fm-public-match-summary{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:5px!important;
    margin:0 10px 10px!important;
  }
  .fm-current-matchday-view .fm-public-match-summary > div{
    min-width:0!important;
    padding:8px 4px!important;
    border-radius:12px!important;
  }
  .fm-current-matchday-view .fm-public-match-summary strong{font-size:16px!important}
  .fm-current-matchday-view .fm-public-match-summary span{
    font-size:8px!important;
    letter-spacing:.02em!important;
  }
  .fm-current-matchday-view .fm-public-sub-summary{
    margin:0 10px 10px!important;
  }
  .fm-current-matchday-view .fm-public-score-sheet{
    margin:0 10px 10px!important;
    overflow:visible!important;
    border-radius:14px!important;
  }
  .fm-current-matchday-view .fm-score-head{
    min-width:0!important;
    display:block!important;
  }
  .fm-current-matchday-view .fm-score-head span{
    display:block!important;
    padding:9px 10px!important;
    text-align:center!important;
  }
  .fm-current-matchday-view .fm-score-head em{display:none!important}
  .fm-current-matchday-view .fm-score-row{
    min-width:0!important;
    display:grid!important;
    grid-template-columns:38px repeat(4,minmax(0,1fr))!important;
    grid-template-areas:
      "slot player player player player"
      "slot vote bonus malus final"!important;
    gap:0!important;
    min-height:58px!important;
    align-items:stretch!important;
  }
  .fm-current-matchday-view .fm-score-row > b{
    grid-area:slot!important;
    min-height:58px!important;
    border-right:1px solid #e2e8f0!important;
  }
  .fm-current-matchday-view .fm-score-player-cell{
    grid-area:player!important;
    min-width:0!important;
    padding:7px 9px 5px!important;
    border:0!important;
  }
  .fm-current-matchday-view .fm-score-value{
    min-width:0!important;
    height:auto!important;
    min-height:31px!important;
    padding:4px 2px 5px!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:1px!important;
    border-left:1px solid #e2e8f0!important;
    border-top:1px solid #eef2f7!important;
    background:#f8fafc!important;
    color:#0f172a!important;
    font-size:11px!important;
    font-weight:1000!important;
    line-height:1!important;
  }
  .fm-current-matchday-view .fm-score-value::before{
    content:attr(data-label)!important;
    display:block!important;
    color:#64748b!important;
    font-size:7px!important;
    font-weight:1000!important;
    text-transform:uppercase!important;
    letter-spacing:.04em!important;
  }
  .fm-current-matchday-view .fm-score-value-vote{grid-area:vote!important}
  .fm-current-matchday-view .fm-score-value-bonus{grid-area:bonus!important;color:#047857!important}
  .fm-current-matchday-view .fm-score-value-malus{grid-area:malus!important;color:#b91c1c!important}
  .fm-current-matchday-view .fm-score-value-final{grid-area:final!important;background:#eef2ff!important;color:#1e3a8a!important}
  .fm-current-matchday-view .fm-score-player-name{font-size:12px!important}
  .fm-current-matchday-view .fm-score-player-team,
  .fm-current-matchday-view .fm-score-public-note{font-size:9px!important}
  .fm-current-matchday-view .fm-score-total-grid{
    min-width:0!important;
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
  .fm-current-matchday-view .fm-score-big{
    grid-column:1 / -1!important;
    grid-row:auto!important;
    min-height:52px!important;
    flex-direction:column!important;
    border-right:0!important;
    border-bottom:1px solid #cbd5e1!important;
    font-size:26px!important;
  }
  .fm-current-matchday-view .fm-score-big::before{
    content:'GOL';
    color:#64748b;
    font-size:8px;
    font-weight:1000;
    letter-spacing:.08em;
  }
  .fm-current-matchday-view .fm-score-total-grid > div:not(.fm-score-big){
    display:block!important;
    min-width:0!important;
    text-align:center!important;
    border-bottom:0!important;
    border-right:1px solid #e2e8f0!important;
  }
  .fm-current-matchday-view .fm-score-total-grid > div:last-child{border-right:0!important}
  .fm-current-matchday-view .fm-score-total-grid span{
    display:block!important;
    padding:7px 3px 2px!important;
    text-align:center!important;
    font-size:8px!important;
    line-height:1.1!important;
  }
  .fm-current-matchday-view .fm-score-total-grid strong{
    display:block!important;
    padding:3px 3px 8px!important;
    border-left:0!important;
    font-size:13px!important;
  }
}

/* v1.5.199 — calendario reale, stato LIVE e partita del calciatore */
.fm-player-fixture{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:5px 0 0 0;padding:4px 8px;border-radius:10px;background:#f3f6fb;font-size:11px;font-weight:700;line-height:1.2;color:#334155}
.fm-player-fixture strong{font-weight:900;color:#0f172a}
.fm-player-fixture em{font-style:normal;font-size:9px;letter-spacing:.04em;padding:3px 6px;border-radius:999px;background:#e2e8f0;color:#475569}
.fm-player-fixture em.is-scheduled{background:#dbeafe;color:#1d4ed8}
.fm-player-fixture em.is-in_progress{background:#fef3c7;color:#92400e}
.fm-player-fixture em.is-finished{background:#ede9fe;color:#6d28d9}
.fm-player-fixture em.is-votes_loaded{background:#dcfce7;color:#166534}
.fm-live-state{display:inline-flex;align-items:center;padding:5px 9px;border-radius:999px;font-size:10px;font-weight:900;letter-spacing:.03em}
.fm-live-state.is-live{background:#fef3c7;color:#92400e}
.fm-live-state.is-final{background:#dcfce7;color:#166534}
.fm-live-finalize-panel .fm-stat{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:12px}
.fm-live-finalize-panel .fm-stat strong{display:block;font-size:22px;line-height:1;color:#0f172a}
.fm-live-finalize-panel .fm-stat span{display:block;margin-top:5px;font-size:11px;color:#64748b;font-weight:700}
@media (max-width:700px){
  .fm-player-fixture{font-size:10px;gap:5px;padding:4px 7px;margin-top:4px}
  .fm-player-fixture em{font-size:8px;padding:2px 5px}
  .fm-lineup-public-meta .fm-live-state{order:3;width:max-content}
}

/* ============================================================
 * v1.5.206 - Testata partita centrata con loghi + chiarezza panchina
 * ============================================================ */
.fm-match-votes-modal-pro .fm-match-pro-head,
.fm-match-lineups-modal-pro .fm-match-pro-head{
  text-align:center;
}
.fm-match-pro-title.fm-match-pro-title-centered{
  width:100%;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
  align-items:center;
  justify-content:center;
  gap:18px;
  text-align:center;
}
.fm-match-pro-title-centered .fm-match-pro-team{
  min-width:0;
  display:flex;
  align-items:center;
  gap:12px;
}
.fm-match-pro-title-centered .fm-match-pro-team.is-home{justify-content:flex-end;}
.fm-match-pro-title-centered .fm-match-pro-team.is-away{justify-content:flex-start;}
.fm-match-pro-title-centered .fm-match-pro-team strong{
  max-width:100%!important;
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.fm-match-team-logo{
  width:48px;
  height:48px;
  flex:0 0 48px;
  border-radius:14px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  background:rgba(255,255,255,.96);
  border:1px solid rgba(255,255,255,.35);
  box-shadow:0 8px 24px rgba(0,0,0,.18);
  color:#0f172a;
  font-size:14px;
  font-weight:1000;
  letter-spacing:-.02em;
}
.fm-match-team-logo img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
  padding:4px;
  box-sizing:border-box;
}
.fm-match-team-logo.is-fallback{
  background:#fff;
}
.fm-match-pro-title-centered .fm-match-pro-score{
  margin:0 auto;
}
.fm-score-section.fm-score-bench-section{
  display:flex!important;
  align-items:center;
  justify-content:center;
  gap:10px;
  flex-wrap:wrap;
  text-align:center;
}
.fm-score-section.fm-score-bench-section span{
  font:inherit;
}
.fm-score-section.fm-score-bench-section small{
  font-size:9px;
  font-weight:800;
  letter-spacing:.01em;
  opacity:.72;
  text-transform:none;
}

@media (max-width: 760px){
  .fm-match-pro-title.fm-match-pro-title-centered{
    grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)!important;
    gap:7px!important;
  }
  .fm-match-pro-title-centered .fm-match-pro-team{
    gap:5px!important;
  }
  .fm-match-team-logo{
    width:30px!important;
    height:30px!important;
    flex-basis:30px!important;
    border-radius:9px!important;
    font-size:9px!important;
  }
  .fm-match-pro-title-centered .fm-match-pro-team strong{
    font-size:13px!important;
    line-height:1.05!important;
  }
  .fm-match-pro-title-centered .fm-match-pro-score{
    min-width:52px!important;
    padding:6px 7px!important;
    font-size:13px!important;
  }
  .fm-score-section.fm-score-bench-section{
    gap:3px!important;
    padding:8px 6px!important;
  }
  .fm-score-section.fm-score-bench-section small{
    width:100%;
    font-size:8px!important;
  }
}

/* ============================================================
 * v1.5.208 — partecipazione reale: S.V. entrato vs NON ENTRATO
 * ============================================================ */
.fm-score-row.is-dnp-row{
  background:linear-gradient(90deg,rgba(148,163,184,.10),rgba(248,250,252,.72));
}
.fm-score-row.is-dnp-row .fm-score-player-name,
.fm-score-row.is-dnp-row .fm-score-player-team{
  opacity:.72;
}
.fm-score-row.is-dnp-row .fm-score-public-note{
  color:#64748b!important;
  font-weight:800;
  letter-spacing:.02em;
}
.fm-dnp-icon{
  width:30px;
  height:30px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  vertical-align:middle;
  flex:0 0 30px;
  line-height:0;
  border-radius:9px;
  background:linear-gradient(145deg,#ffffff,#f1f5f9);
  border:1px solid #e2e8f0;
  box-shadow:0 2px 7px rgba(15,23,42,.10),inset 0 1px 0 rgba(255,255,255,.9);
  box-sizing:border-box;
}
.fm-dnp-icon-svg{
  width:25px;
  height:25px;
  display:block;
  overflow:visible;
}
.fm-dnp-icon-svg .fm-dnp-bg{
  fill:#f8fafc;
}
.fm-dnp-icon-svg .fm-dnp-ball circle{
  fill:#ffffff;
  stroke:#334155;
  stroke-width:1.35;
}
.fm-dnp-icon-svg .fm-dnp-ball path:first-of-type{
  fill:#334155;
  stroke:none;
}
.fm-dnp-icon-svg .fm-dnp-ball path:last-of-type{
  fill:none;
  stroke:#334155;
  stroke-width:1.15;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.fm-dnp-icon-svg .fm-dnp-ban-ring{
  fill:none;
  stroke:#ef4444;
  stroke-width:2.45;
}
.fm-dnp-icon-svg .fm-dnp-ban-slash{
  fill:none;
  stroke:#ef4444;
  stroke-width:3.05;
  stroke-linecap:round;
  filter:drop-shadow(0 0 1px rgba(255,255,255,.9));
}
.fm-score-row.is-dnp-row .fm-score-value-vote{
  display:flex;
  align-items:center;
  justify-content:center;
}
@media (max-width:1024px){
  .fm-dnp-icon{
    width:28px;
    height:28px;
    flex-basis:28px;
    border-radius:8px;
  }
  .fm-dnp-icon-svg{width:23px;height:23px}
}
@media (max-width:680px){
  .fm-dnp-icon{
    width:25px;
    height:25px;
    flex-basis:25px;
    border-radius:7px;
    box-shadow:0 1px 4px rgba(15,23,42,.10);
  }
  .fm-dnp-icon-svg{width:21px;height:21px}
}
.fm-player-scores-table tr.is-score-dnp td{
  background:rgba(148,163,184,.07);
}
.fm-score-note.is-dnp{
  color:#64748b!important;
  font-weight:800;
}

/* =========================================================
 * v2.0.1 - Control Room / Partite Reali semplificate
 * ======================================================= */
.fm-real-top-filter{padding:14px!important}
.fm-real-filter-grid{display:grid!important;grid-template-columns:minmax(240px,1.5fr) minmax(170px,.8fr) minmax(170px,.8fr) auto!important;gap:10px!important;align-items:end!important}
.fm-real-filter-grid label{margin:0!important}
.fm-real-filter-grid p{margin:0!important;display:flex!important;align-items:flex-end!important}
.fm-real-filter-grid .button{min-height:40px!important;white-space:nowrap!important}
.fm-real-matches-panel .fm-table-title>div{min-width:0!important}
.fm-real-subtitle{margin:4px 0 0!important;color:#64748b!important;font-size:12px!important;font-weight:750!important;line-height:1.4!important}
.fm-real-days{display:flex!important;flex-direction:column!important;gap:14px!important}
.fm-real-day{border:1px solid #dbe3ef!important;border-radius:18px!important;overflow:visible!important;background:#fff!important}
.fm-real-day-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;padding:14px 16px!important;background:#f8fafc!important;border-bottom:1px solid #e2e8f0!important;border-radius:18px 18px 0 0!important}
.fm-real-day-head h3{margin:0!important;color:#0f172a!important;font-size:15px!important;font-weight:1000!important;letter-spacing:.015em!important}
.fm-real-day-head p{margin:4px 0 0!important;color:#64748b!important;font-size:11px!important;font-weight:850!important;line-height:1.35!important}
.fm-real-day-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:8px!important;flex-wrap:wrap!important}
.fm-real-day-actions form{margin:0!important}
.fm-real-day-list{display:flex!important;flex-direction:column!important}
.fm-real-match-row{display:grid!important;grid-template-columns:92px minmax(220px,1.5fr) minmax(210px,.85fr) 48px!important;gap:12px!important;align-items:center!important;padding:13px 15px!important;border-bottom:1px solid #eef2f7!important;background:#fff!important;min-width:0!important}
.fm-real-match-row:last-child{border-bottom:0!important;border-radius:0 0 18px 18px!important}
.fm-real-match-row.is-votes_loaded{background:#fbfffc!important}
.fm-real-match-row.is-finished{background:#fffdf8!important}
.fm-real-match-row.is-cancelled{background:#fafafa!important;opacity:.78!important}
.fm-real-time{display:flex!important;flex-direction:column!important;gap:3px!important;min-width:0!important}
.fm-real-time strong{font-size:18px!important;line-height:1!important;color:#0f172a!important;font-weight:1000!important;letter-spacing:-.02em!important}
.fm-real-time span{font-size:10px!important;color:#64748b!important;font-weight:950!important;text-transform:uppercase!important;letter-spacing:.06em!important}
.fm-real-match-name{min-width:0!important}
.fm-real-match-name strong{display:block!important;color:#0f172a!important;font-size:14px!important;font-weight:1000!important;text-transform:uppercase!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.fm-real-match-name small{display:block!important;margin-top:4px!important;color:#64748b!important;font-size:10px!important;font-weight:800!important}
.fm-real-status{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:4px!important;min-width:0!important}
.fm-real-state-badge{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:28px!important;border-radius:999px!important;padding:5px 10px!important;font-size:10px!important;font-weight:1000!important;letter-spacing:.04em!important;white-space:nowrap!important;border:1px solid transparent!important}
.fm-real-state-badge.is-scheduled{background:#f1f5f9!important;color:#475569!important;border-color:#e2e8f0!important}
.fm-real-state-badge.is-in_progress{background:#eff6ff!important;color:#1d4ed8!important;border-color:#bfdbfe!important}
.fm-real-state-badge.is-finished{background:#fff7ed!important;color:#c2410c!important;border-color:#fed7aa!important}
.fm-real-state-badge.is-votes_loaded{background:#f0fdf4!important;color:#15803d!important;border-color:#bbf7d0!important}
.fm-real-state-badge.is-cancelled{background:#f8fafc!important;color:#64748b!important;border-color:#cbd5e1!important}
.fm-real-status small{color:#64748b!important;font-size:10px!important;font-weight:750!important;line-height:1.3!important}
.fm-real-row-actions{display:flex!important;justify-content:flex-end!important;position:relative!important}
.fm-real-menu{position:relative!important}
.fm-real-menu>summary{list-style:none!important;display:flex!important;align-items:center!important;justify-content:center!important;width:38px!important;height:38px!important;border-radius:10px!important;border:1px solid #dbe3ef!important;background:#f8fafc!important;color:#334155!important;font-size:15px!important;font-weight:1000!important;cursor:pointer!important;user-select:none!important}
.fm-real-menu>summary::-webkit-details-marker{display:none!important}
.fm-real-menu[open]>summary{background:#111827!important;color:#facc15!important;border-color:#111827!important}
.fm-real-menu-pop{position:absolute!important;right:0!important;top:44px!important;z-index:30!important;min-width:220px!important;padding:10px!important;border:1px solid #dbe3ef!important;border-radius:14px!important;background:#fff!important;box-shadow:0 18px 38px rgba(15,23,42,.16)!important}
.fm-real-menu-pop form{display:block!important;margin:0 0 8px!important}
.fm-real-menu-pop form:last-child{margin-bottom:0!important}
.fm-real-menu-pop .button{width:100%!important;text-align:center!important;justify-content:center!important}
.fm-real-menu-note{margin:0 0 9px!important;padding:8px 9px!important;border-radius:10px!important;background:#f8fafc!important;color:#475569!important;font-size:11px!important;font-weight:700!important;line-height:1.35!important}
@media(max-width:900px){
  .fm-real-filter-grid{grid-template-columns:1fr 1fr!important}
  .fm-real-match-row{grid-template-columns:74px minmax(0,1fr) 48px!important;gap:10px!important}
  .fm-real-status{grid-column:2/3!important}
  .fm-real-row-actions{grid-column:3/4!important;grid-row:1/3!important;align-self:center!important}
}
@media(max-width:620px){
  .fm-real-filter-grid{grid-template-columns:1fr!important}
  .fm-real-day-head{align-items:flex-start!important;flex-direction:column!important;padding:12px!important}
  .fm-real-day-actions{width:100%!important;justify-content:flex-start!important}
  .fm-real-match-row{grid-template-columns:62px minmax(0,1fr) 42px!important;padding:12px!important}
  .fm-real-time strong{font-size:16px!important}
  .fm-real-match-name strong{white-space:normal!important;font-size:13px!important;line-height:1.25!important}
  .fm-real-menu-pop{right:0!important;min-width:min(250px,72vw)!important}
}
.fm-real-matches-panel{overflow:visible!important}
