.rls-widget{--rls-bg:#fff;--rls-fg:#14213d;--rls-muted:#6b7280;--rls-line:#e5e7eb;--rls-accent:#0a7d4f;--rls-live:#d62828;--rls-warn:#b45309;
  font-family:inherit;color:var(--rls-fg);max-width:720px;margin:0 auto}
.rls-widget *{box-sizing:border-box}
.rls-group h3{font-size:.8rem;letter-spacing:.08em;text-transform:uppercase;color:var(--rls-muted);margin:1.5rem 0 .5rem}
.rls-match{background:var(--rls-bg);border:1px solid var(--rls-line);border-radius:10px;padding:.75rem 1rem;margin:0 0 .6rem}
.rls-match.rls-live{border-color:var(--rls-live);box-shadow:0 0 0 1px var(--rls-live) inset}
.rls-match header{display:flex;justify-content:space-between;align-items:center;gap:.5rem;font-size:.8rem;color:var(--rls-muted);margin-bottom:.4rem}
.rls-badge{font-weight:600;font-size:.75rem;padding:.1rem .5rem;border-radius:999px;background:#f3f4f6;color:var(--rls-fg);white-space:nowrap}
.rls-badge-live{background:var(--rls-live);color:#fff;animation:rls-pulse 1.6s ease-in-out infinite}
.rls-badge-warn{background:#fef3c7;color:var(--rls-warn)}
.rls-player{display:flex;justify-content:space-between;align-items:center;padding:.3rem 0;font-size:1rem}
.rls-player+.rls-player{border-top:1px solid var(--rls-line)}
.rls-won .rls-name{font-weight:700}
.rls-country{color:var(--rls-muted);font-size:.7rem;margin-left:.25rem}
.rls-sets{display:flex;gap:.25rem}
.rls-set{min-width:1.8rem;text-align:center;font-variant-numeric:tabular-nums;font-weight:600}
.rls-serve{display:inline-block;width:.55rem;height:.55rem;border-radius:50%;background:#c6d800;border:1px solid #8a9600;margin-left:.35rem;vertical-align:middle}
.rls-note,.rls-updated,.rls-empty{font-size:.8rem;color:var(--rls-muted);text-align:center;margin:.75rem 0}
.rls-note-warn{color:var(--rls-warn)}
@keyframes rls-pulse{50%{opacity:.65}}
@media (prefers-reduced-motion:reduce){.rls-badge-live{animation:none}}
@media (max-width:480px){.rls-player{font-size:.95rem}}
.rls-point{min-width:2rem;text-align:center;font-weight:700;background:#f3f4f6;border-radius:6px;margin-left:.4rem;padding:0 .35rem}
.rls-set sup{font-size:.6em;margin-left:1px;color:var(--rls-muted)}
.rls-title{font-size:1.1rem;margin:0 0 .5rem}
.rls-cardnote{font-size:.8rem;color:var(--rls-warn);margin:.4rem 0 0}
/* --- vista risultati per turno (griglia) e vista live --- */
.rls-view-results{max-width:1100px}
.rls-round h3{display:flex;align-items:center;gap:.5rem;font-size:1.05rem;margin:1.75rem 0 .6rem;padding-bottom:.35rem;border-bottom:2px solid var(--rls-fg)}
.rls-round:first-child h3{margin-top:0}
.rls-count{font-size:.7rem;font-weight:600;background:#f3f4f6;color:var(--rls-muted);border-radius:999px;padding:.05rem .5rem}
.rls-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:.75rem}
.rls-grid .rls-match{margin:0}
.rls-livelist{display:grid;gap:.75rem}
.rls-view-live .rls-match{padding:1rem 1.15rem}
.rls-view-live .rls-player{font-size:1.1rem}
@media (max-width:480px){.rls-grid{grid-template-columns:1fr}}
/* --- vista scores: giorni + filtri + turni --- */
.rls-view-scores{max-width:1100px}
.rls-widget button{font:inherit;cursor:pointer}
.rls-days{display:flex;gap:.6rem;overflow-x:auto;padding:.25rem .1rem .75rem;margin-bottom:.5rem;-webkit-overflow-scrolling:touch}
.rls-day{position:relative;flex:0 0 auto;min-width:4.4rem;display:flex;flex-direction:column;align-items:center;gap:.25rem;background:none;border:0;padding:0;color:var(--rls-fg)}
.rls-daycode{width:2.9rem;height:2.9rem;border-radius:50%;border:2px solid var(--rls-line);display:flex;align-items:center;justify-content:center;font-weight:700;font-size:1.05rem;background:#fff}
.rls-daydate{font-size:.7rem;letter-spacing:.04em;color:var(--rls-muted)}
.rls-day.is-on .rls-daycode{background:var(--rls-fg);border-color:var(--rls-fg);color:#fff}
.rls-day.is-on .rls-daydate{color:var(--rls-fg);font-weight:700}
.rls-daylive{font-size:.6rem;font-weight:700;color:#fff;background:var(--rls-live);border-radius:999px;padding:0 .4rem;margin-top:-.2rem}
.rls-bar{display:flex;flex-wrap:wrap;justify-content:space-between;gap:.6rem;margin-bottom:.5rem}
.rls-tabs{display:inline-flex;background:#f3f4f6;border-radius:999px;padding:.2rem}
.rls-tab{border:0;background:none;border-radius:999px;padding:.4rem .95rem;font-size:.82rem;font-weight:600;letter-spacing:.03em;color:var(--rls-muted);display:inline-flex;align-items:center;gap:.35rem}
.rls-tab.is-on{background:var(--rls-fg);color:#fff}
.rls-tabcount{background:#c6d800;color:var(--rls-fg);border-radius:999px;font-size:.7rem;min-width:1.2rem;text-align:center;padding:0 .3rem}
.rls-day:focus-visible,.rls-tab:focus-visible{outline:2px solid var(--rls-accent);outline-offset:2px}
