/* Layout: colonna unica da telefono (max 640px). Testata blu notte con anello lime come il logo,
   tab fissi in alto, barra punti fissa in basso nella scheda Calcola. Look unico scuro, volutamente. */
:root {
  --bg: #030a1f;
  --surface: #08153a;
  --surface-2: #0d1e4d;
  --line: #1e3468;
  --text: #f3f6ff;
  --muted: #9aaad2;
  --lime: #c6ea00;
  --lime-ink: #0a1300;
  --good: #3ddc97;
  --warn: #ffb84d;
  --bad: #ff7a7a;
  --font-display: 'Archivo', 'Arial Black', Impact, sans-serif;
  --font-body: 'Barlow', 'Segoe UI', system-ui, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 16px; line-height: 1.45;
  -webkit-text-size-adjust: 100%;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 30; background: var(--bg);
}
.wrap {
  width: 100%; max-width: 680px; margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }

/* testata */

.eyebrow { font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); margin: 0; }
h1 { font-family: var(--font-display); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: clamp(26px, 8vw, 36px); line-height: 1; margin: 4px 0 6px; letter-spacing: -.01em; text-wrap: balance; }

/* tab */

main { padding-block: 18px 8px; display: grid; gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 18px; display: grid; gap: 16px; min-width: 0; }
.card.plain { background: transparent; border-style: dashed; text-align: center; color: var(--muted); }
h2 { font-family: var(--font-display); font-style: italic; font-weight: 800; text-transform: uppercase; font-size: 20px; line-height: 1.1; margin: 0; letter-spacing: .01em; text-wrap: balance; }
.step { display: flex; align-items: center; gap: 10px; }
.step b { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--lime); color: var(--lime-ink); display: grid; place-items: center; font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 15px; }
.field { display: grid; gap: 8px; min-width: 0; }
label, .lab { font-weight: 700; font-size: 15px; }
.lab small, label small { color: var(--muted); font-weight: 500; }
.hint { color: var(--muted); font-size: 14px; margin: 0; }

input[type=text], input[type=date], input[type=number], select, textarea {
  width: 100%; min-height: 50px; background: var(--bg); border: 1.5px solid var(--line); border-radius: 14px;
  padding: 10px 14px; font-size: 16px; color: var(--text); min-width: 0;
}
textarea { min-height: 110px; font-family: ui-monospace, Menlo, monospace; font-size: 13px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #5f7099; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 22px) 55%, calc(100% - 16px) 55%; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
input[type=date] { text-align: left; }

.chip { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 4px 12px; font-size: 13px; font-weight: 700; background: var(--surface-2); color: var(--muted); border: 1px solid var(--line); }
.chip.lime { background: rgba(198,234,0,.14); color: var(--lime); border-color: rgba(198,234,0,.4); }
.chip.good { background: rgba(61,220,151,.12); color: var(--good); border-color: rgba(61,220,151,.4); }
.chip.warn { background: rgba(255,184,77,.12); color: var(--warn); border-color: rgba(255,184,77,.4); }
.chip.bad { background: rgba(255,122,122,.12); color: var(--bad); border-color: rgba(255,122,122,.4); }
.methodrow { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.methodrow select { width: auto; min-height: 40px; padding-block: 6px; }

.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }

.choice { min-height: 54px; text-align: left; background: var(--bg); border: 1.5px solid var(--line); border-radius: 14px; padding: 10px 14px; font-weight: 600; font-size: 15px; line-height: 1.2; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.choice[aria-pressed="true"] { background: var(--lime); border-color: var(--lime); color: var(--lime-ink); }
.choice .v { font-size: 13px; font-weight: 700; opacity: .7; font-variant-numeric: tabular-nums; flex: none; }

.stepper { display: grid; grid-template-columns: 56px minmax(0, 1fr) 56px; gap: 10px; }
.stepper button { min-height: 50px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--bg); font-size: 24px; font-weight: 700; }
.stepper input { text-align: center; font-weight: 700; font-size: 20px; }

.switchrow { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.switch { flex: none; width: 58px; height: 34px; border-radius: 999px; border: 0; background: #2a3b6b; position: relative; transition: background .15s; }
.switch::after { content: ""; position: absolute; top: 4px; left: 4px; width: 26px; height: 26px; border-radius: 50%; background: #fff; transition: transform .15s; }
.switch[aria-checked="true"] { background: var(--good); }
.switch[aria-checked="true"]::after { transform: translateX(24px); }

.btn { min-height: 52px; border-radius: 14px; border: 0; background: var(--lime); color: var(--lime-ink); font-weight: 800; font-size: 16px; padding: 12px 18px; width: 100%; }
.btn[disabled] { opacity: .4; cursor: not-allowed; }
.btn.ghost { background: transparent; color: var(--text); border: 1.5px solid var(--line); }
.btn.danger { background: transparent; color: var(--bad); border: 1.5px solid rgba(255,122,122,.5); }
.btn.sm { min-height: 40px; width: auto; padding: 8px 14px; font-size: 14px; border-radius: 12px; }
.btnrow { display: flex; flex-wrap: wrap; gap: 10px; }

/* barra punti */
.bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; padding-top: 14px; padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px)); padding-left: max(12px, env(safe-area-inset-left, 0px)); padding-right: max(12px, env(safe-area-inset-right, 0px)); background: linear-gradient(180deg, rgba(3,10,31,0), var(--bg) 28%); }
.bar-in { max-width: 680px; margin: 0 auto; background: var(--surface-2); border: 1.5px solid var(--lime); border-radius: 20px; padding: 12px 14px; display: grid; gap: 10px; box-shadow: 0 -8px 30px rgba(0,0,0,.45); }
.bar-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bar-label { font-size: 14px; color: var(--muted); font-weight: 600; }
.bar-pts { font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 34px; line-height: 1; color: var(--lime); font-variant-numeric: tabular-nums; }
.bar-pts.empty { color: var(--muted); }
.linkbtn { background: none; border: 0; color: var(--text); font-weight: 700; font-size: 14px; padding: 8px 4px; text-decoration: underline; text-underline-offset: 3px; }
.detail { display: grid; gap: 6px; font-size: 14px; border-top: 1px solid var(--line); padding-top: 10px; }
.detail div { display: flex; justify-content: space-between; gap: 12px; }
.detail .neg { color: var(--bad); }
.detail .tot { font-weight: 800; border-top: 1px dashed var(--line); padding-top: 6px; }
.num { font-variant-numeric: tabular-nums; }

/* tornei salvati */

.pts { font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 30px; line-height: 1; color: var(--lime); flex: none; font-variant-numeric: tabular-nums; text-align: right; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* classifica */
.big { font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: clamp(64px, 22vw, 92px); line-height: .95; color: var(--lime); font-variant-numeric: tabular-nums; }
.big small { font-size: 20px; color: var(--muted); font-weight: 800; margin-left: 8px; }
.formula { display: flex; flex-wrap: wrap; gap: 8px; }
.formula .chip b { color: var(--lime); font-variant-numeric: tabular-nums; }
.note { background: var(--surface-2); border-left: 4px solid var(--lime); border-radius: 12px; padding: 12px 14px; font-size: 15px; font-weight: 600; }
.list { display: grid; gap: 0; }
.li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.li:first-child { border-top: 0; }
.li .t { font-weight: 700; }
.li .m { color: var(--muted); font-size: 14px; grid-column: 1; }
.li .p { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-weight: 800; font-size: 18px; font-variant-numeric: tabular-nums; }
.li.out { opacity: .55; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
details { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; background: var(--bg); }
summary { cursor: pointer; font-weight: 700; }
details[open] summary { margin-bottom: 10px; }
details ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; color: var(--muted); font-size: 14px; }
details ul b { color: var(--text); }

.banner { background: rgba(255,184,77,.12); border: 1px solid rgba(255,184,77,.4); color: var(--warn); border-radius: 14px; padding: 10px 14px; font-size: 14px; font-weight: 600; }
.foot { padding-block: 8px 28px; text-align: center; color: var(--muted); font-size: 13px; display: grid; gap: 8px; }
.foot b { color: var(--text); }

.card.exp { border-color: rgba(255,122,122,.6); }
/* nuovo indirizzo dell'app (3/12/2026) */
.card.tras { border-color: var(--lime); background: linear-gradient(160deg, rgba(212,255,58,.10), transparent 60%), var(--surface); }
.card.tras.ok { border-color: rgba(61,220,151,.6); background: linear-gradient(160deg, rgba(61,220,151,.10), transparent 60%), var(--surface); }
.trash { margin: 0; font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 19px; color: var(--lime); word-break: break-all; }
.trasol { margin: 0; padding-left: 20px; display: grid; gap: 6px; color: var(--muted); font-size: 14px; }
.trasol b { color: var(--text); }
.card.exp2 { border-color: rgba(255,184,77,.45); }
.credits { display: grid; gap: 4px; justify-items: center; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.credits span b { font-family: var(--font-display); font-style: italic; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; font-size: 12px; color: var(--lime); margin-right: 6px; }
.credits strong { color: var(--text); font-weight: 700; }
.toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(150px + env(safe-area-inset-bottom, 0px)); z-index: 40; background: var(--lime); color: var(--lime-ink); font-weight: 800; padding: 12px 18px; border-radius: 999px; max-width: calc(100vw - 32px); box-shadow: 0 8px 24px rgba(0,0,0,.5); }

/* registrazione */
.reg { min-height: 100%; display: grid; align-content: center; justify-items: center; gap: 18px; padding-block: 36px; text-align: center; }
.reg img { width: 150px; height: 150px; border-radius: 50%; }
.reg .card { width: 100%; text-align: left; }
.av { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--lime); color: var(--lime-ink); display: inline-grid; place-items: center; font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 13px; object-fit: cover; overflow: hidden; }
.av.lg { width: 96px; height: 96px; font-size: 40px; border: 3px solid var(--lime); }

.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.who { display: flex; gap: 16px; align-items: center; }
.who-name { font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 22px; line-height: 1.1; text-transform: uppercase; overflow-wrap: anywhere; }
label.btn.ghost { display: inline-flex; align-items: center; justify-content: center; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
@media (max-width: 380px) { .choices { grid-template-columns: 1fr; } }

/* ricerca tornei PUC */
#pucbox { display: grid; gap: 16px; }
.banner.bad { background: rgba(255,122,122,.12); border-color: rgba(255,122,122,.55); color: #ffc2c2; }
.pucitem { display: grid; gap: 4px; text-align: left; width: 100%; background: var(--bg); border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 14px; cursor: pointer; margin-top: 10px; }
.pucitem b { text-transform: uppercase; font-size: 14px; line-height: 1.25; }
.pucitem span { color: var(--muted); font-size: 13px; }
.pucitem .chip { justify-self: start; }
.pucentry { display: grid; gap: 12px; border-top: 1px solid var(--line); padding-top: 14px; }
.pucentry .pe-t { font-size: 17px; line-height: 1.2; text-transform: uppercase; }
.pucentry a.btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.ptwrap { overflow-x: auto; }
.ptable { width: 100%; border-collapse: collapse; font-size: 14px; }
.ptable th { text-align: left; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; padding: 6px 8px; border-bottom: 1px solid var(--line); }
.ptable td { padding: 8px; border-top: 1px solid var(--line); vertical-align: top; }
.ptable .rk { color: var(--muted); width: 32px; }
.ptable .cb { white-space: nowrap; color: var(--muted); }
.ptable .pp { text-align: right; font-weight: 800; font-variant-numeric: tabular-nums; }
.ptable tr.mine td { background: rgba(198,234,0,.14); }
.ptable tr.miss td { opacity: .8; }
.ptable .q { color: var(--warn); }
body { margin: 0; }

.sponsor-wrap{margin:22px auto 8px;padding:0}
.sponsor{position:relative;display:block;padding-top:20px;border-radius:18px;overflow:hidden;border:1px solid rgba(198,234,0,.35);background:#06133a;box-shadow:0 10px 30px rgba(0,0,0,.35)}
.sponsor img{display:block;width:100%;height:auto}
.sponsor-tag{position:absolute;top:5px;left:12px;z-index:1;background:none;color:#c6ea00;font:700 10px/1 Inter,system-ui,sans-serif;letter-spacing:.14em;text-transform:uppercase;padding:0}

.pucrow{display:flex;gap:8px;align-items:stretch;margin-top:10px}
.pucrow .pucitem{margin-top:0;flex:1;min-width:0}
.star{flex:none;width:52px;border-radius:14px;border:1.5px solid var(--line);background:var(--bg);color:var(--muted);font-size:24px;line-height:1;cursor:pointer}
.star.on{color:#c6ea00;border-color:rgba(198,234,0,.65);background:rgba(198,234,0,.08)}
.favnews{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}

.li .ttl{display:block;width:100%;text-align:left;background:none;border:0;padding:0;margin:0;font:inherit;font-weight:700;color:var(--text);cursor:pointer;line-height:1.3}.li .ttl span{color:#c6ea00;font-weight:800;margin-left:4px}
.giorow{display:grid;grid-template-columns:48px 1fr;gap:12px;align-items:center;width:100%;text-align:left;background:var(--surface-2);border:1px solid var(--line);border-radius:14px;padding:10px 12px;color:var(--text);font:inherit;margin-top:8px}
button.giorow{cursor:pointer}.giorow.static{margin-top:0}
.gav{width:48px;height:48px;border-radius:50%;background:var(--lime);color:var(--lime-ink);display:grid;place-items:center;font-weight:800;font-size:17px}.gav.big{width:56px;height:56px;font-size:20px}
.gtx{display:grid;gap:3px;min-width:0}.gtx small{color:var(--muted);font-size:13px;overflow:hidden;text-overflow:ellipsis}.gchips{display:flex;flex-wrap:wrap;gap:6px}
.gcheck{display:flex;gap:10px;align-items:flex-start;font-size:15px;line-height:1.35}.gcheck input{width:22px;height:22px;flex:none;margin-top:1px}.gcheck a{color:var(--lime)}
#giobox{display:grid;gap:14px}a.btn{display:grid;place-items:center;text-decoration:none}

#gp-bio{min-height:70px;font-family:inherit;font-size:16px}
img.gav{object-fit:cover;background:var(--surface-2)}
.news{gap:10px}.newsimg{width:100%;max-height:240px;object-fit:cover;border-radius:12px}
#newsbox{display:grid;gap:14px}

.iglink{display:inline-flex;align-items:center;gap:6px;margin-top:8px;padding:6px 12px;border-radius:999px;border:1px solid var(--line);background:rgba(255,255,255,.06);color:var(--text);font-size:13px;font-weight:700;text-decoration:none}
.iglink svg{width:16px;height:16px;flex:none}
.notifbox{display:grid;gap:10px;padding:14px;border:1px solid var(--line);border-radius:16px;background:var(--surface-2)}
.tabov{position:fixed;inset:0;z-index:1000;background:#fff;display:flex;flex-direction:column;padding-top:env(safe-area-inset-top)}
.tabov-bar{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;padding:10px 12px;background:var(--bg);color:var(--text)}
.tabov-bar .btn{width:auto;min-height:44px;padding:8px 16px}.tabov-bar b{text-align:center}
.tabov-fr{flex:1;width:100%;border:0;background:#fff}
.tabov-list{flex:1;overflow:auto;padding:14px 16px 40px;background:var(--bg);display:grid;gap:14px;align-content:start}

.spstack{display:grid;gap:14px}.spstack .sponsor{margin:0}
.pucentry,.notifbox{grid-template-columns:minmax(0,1fr)}
.pucentry>*,.notifbox>*,.notifbox .two>*{min-width:0}
.notifbox input[type=number],.notifbox select{width:100%;min-width:0;max-width:100%}
.notifbox .two{grid-template-columns:repeat(2,minmax(0,1fr))}
.gcheck{align-items:flex-start}

.nbody p{margin:0 0 8px;line-height:1.5}.nbody h3{margin:14px 0 6px;font-size:16px;color:var(--lime,#c6ea00)}.nbody ul{margin:0 0 8px;padding-left:18px}.nbody li{margin:2px 0;line-height:1.45}.nbody a.nl{color:#c6ea00;font-weight:700;text-decoration:underline;word-break:break-word}
.nbody ul{list-style:none;padding-left:0}
.nbody .gal{display:flex;gap:8px;overflow-x:auto;scroll-snap-type:x mandatory;margin:8px 0 4px;-webkit-overflow-scrolling:touch}.nbody .gal a{flex:0 0 78%;scroll-snap-align:start}.nbody .gal img{display:block;width:100%;aspect-ratio:1/1;border-radius:12px;background:#0a1740;object-fit:cover}
.gtors{display:grid;gap:8px}.gtor{display:flex;justify-content:space-between;gap:10px;align-items:flex-start;padding:10px 12px;border:1px solid rgba(255,255,255,.1);border-radius:12px;background:rgba(255,255,255,.03)}.gtor.off{opacity:.65}.gtt{min-width:0;display:grid;gap:3px}.gtt b{overflow-wrap:anywhere}.gtt small{color:var(--muted,#9fb0dc)}.gtt .chip{justify-self:start}.gtp{font-weight:800;font-size:18px;color:#c6ea00;white-space:nowrap}
.tabov-pdf{flex:1;overflow:auto;background:#fff;-webkit-overflow-scrolling:touch}.tabov-pdf canvas{display:block;max-width:none;height:auto;margin:0 0 4px}.tabov-bar .zbtn{display:flex;gap:6px}.tabov-bar .zbtn .btn{min-width:44px;padding:8px 12px}
.pubcta{border:2px solid #c6ea00!important;box-shadow:0 0 0 4px rgba(198,234,0,.12)}.mystats{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}
.gcheck span{display:block}.gopts{display:grid;gap:8px;padding:10px 12px;border:1px solid rgba(255,255,255,.1);border-radius:12px}.gopts[hidden]{display:none}
.nlist{cursor:pointer}.nlist .newsimg{width:100%;border-radius:12px}.lime-link{color:var(--lime);font-weight:700;font-size:14px}
.newsimg{width:100%;max-width:100%;height:auto;display:block}
.card.news{grid-template-columns:minmax(0,1fr)}.card.news>*{min-width:0;max-width:100%}.newsimg{max-height:none}
.fcard{display:grid;gap:10px;margin-top:14px;padding:14px;border:1px solid var(--line);border-radius:16px;background:rgba(255,255,255,.02)}.fcard .giorow{margin-top:0}

.seg3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:4px;margin-bottom:10px}
.segb{border:0;background:transparent;color:var(--muted);border-radius:10px;padding:10px 4px;font:inherit;font-weight:700;font-size:13.5px;line-height:1.15;min-height:44px}.segb[aria-selected="true"]{background:rgba(198,234,0,.16);color:#c6ea00;box-shadow:inset 0 0 0 1.5px rgba(198,234,0,.6)}
.pucrow{flex-wrap:wrap}.pucrow .calcgo{flex:1 1 100%}
.bar.free [data-act=save]{display:none}
.seg2{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:8px}
.pucitem .chips{display:flex;flex-wrap:wrap;gap:6px}
.pucitem .explin{color:var(--text,#fff);font-size:13px;line-height:1.4}.pucitem .explin b{color:#c6ea00}.pucitem .explin small{color:var(--muted)}

.moreit{display:flex;align-items:center;gap:10px;border:0;background:transparent;color:var(--text);font:inherit;font-weight:700;font-size:15px;text-align:left;padding:12px;border-radius:10px;min-height:46px;position:relative}
.moreit[aria-current="true"]{background:rgba(198,234,0,.16);color:#c6ea00}.moreit .mi{width:22px;text-align:center}.moreit .dot{position:static;margin-left:auto}

details.pgioco{border:1px solid var(--line);border-radius:12px;padding:10px 12px}details.pgioco summary{font-weight:700;cursor:pointer}details.pgioco summary small{color:var(--muted);font-weight:500}details.pgioco[open]{display:grid;gap:12px}
.li.nearme{background:rgba(198,234,0,.10);border-radius:10px;box-shadow:inset 0 0 0 1.5px rgba(198,234,0,.45)}
.linkbtn{border:0;background:none;padding:0;color:#c6ea00;font:inherit;text-decoration:underline;cursor:pointer}
details.vsbox{border:1px solid var(--line);border-radius:12px;padding:10px 12px}details.vsbox summary{cursor:pointer;font-weight:600}details.vsbox[open]{display:grid;gap:10px}
.tips{display:grid;gap:10px}.tip{display:grid;grid-template-columns:28px 1fr;gap:8px;align-items:start}.tip .ti{font-size:20px;line-height:1.3}.tip p{margin:0;font-size:14.5px;line-height:1.45}
.aisugg{display:flex;flex-wrap:wrap;gap:6px}.aisugg .btn{white-space:normal;text-align:left;line-height:1.25}
.chat{display:grid;gap:8px}.bub{max-width:88%;padding:10px 12px;border-radius:14px;font-size:14.5px;line-height:1.45;word-wrap:break-word}.bub.me{justify-self:end;background:rgba(198,234,0,.16);color:#e9f7a6;border-bottom-right-radius:4px}.bub.ai{justify-self:start;background:var(--bg);border:1px solid var(--line);border-bottom-left-radius:4px}.bub.busy{color:var(--muted);font-style:italic}
#ai-q{width:100%;min-height:64px;resize:vertical;font:inherit;background:var(--bg);color:var(--text);border:1.5px solid var(--line);border-radius:12px;padding:10px 12px}

.li .p small.fz{display:block;font-size:11.5px;color:#c6ea00;font-weight:600;text-align:right}.ptable td.fz{color:#c6ea00;font-weight:700}
.li.ris .rm{display:grid;grid-template-columns:auto 1fr;gap:8px;font-size:13px;padding:6px 0;border-top:1px solid var(--line);color:var(--muted)}.li.ris .rm span:last-child{color:var(--text)}
/* ===== UI 2 · prototipo 1: testata compatta, barra in basso, schede pulite ===== */
body { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
.topbar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(3,10,31,.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.topbar .wrap { display: flex; align-items: center; gap: 10px; height: 58px; }
.topbar img { width: 36px; height: 36px; border-radius: 50%; flex: none; }
.topbar .tt { font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 15px; letter-spacing: .05em; text-transform: uppercase; line-height: 1; white-space: nowrap; }
.topbar .tt b { color: var(--lime); font-weight: 900; }
.topbar .src { font-size: 11px; font-weight: 800; color: var(--lime); letter-spacing: .06em; text-transform: uppercase; }
.topbar .av { margin-left: auto; width: 38px; height: 38px; flex: none; border-radius: 50%; background: var(--lime); color: var(--lime-ink); font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 17px; display: grid; place-items: center; border: 0; padding: 0; overflow: hidden; }
.topbar .av img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.pagehead { display: grid; gap: 2px; margin: 0 0 -2px; }
.pagehead h1 { font-size: 28px; margin: 0; }
.pagehead p { margin: 0; color: var(--muted); font-size: 13px; font-weight: 600; }

/* barra in basso */
.bnav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: rgba(5,14,40,.97); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom, 0px); }
.bnav .in { max-width: 680px; margin: 0 auto; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.bnav .bt { background: none; border: 0; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 9px 0 8px; font-size: 11px; font-weight: 700; position: relative; min-height: 60px; }
.bnav .bt svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.bnav .bt[aria-selected="true"] { color: var(--lime); }
.bnav .bt[aria-selected="true"]::before { content: ""; position: absolute; top: 0; left: 28%; right: 28%; height: 3px; border-radius: 0 0 3px 3px; background: var(--lime); }
.bnav .dot { position: absolute; top: 7px; left: calc(50% + 6px); width: 9px; height: 9px; border-radius: 50%; background: #ff4d6d; border: 2px solid #050e28; }
.sheetbg { position: fixed; inset: 0; z-index: 38; background: rgba(0,0,0,.55); }
.sheet { position: fixed; left: 0; right: 0; bottom: calc(60px + env(safe-area-inset-bottom, 0px)); z-index: 39; max-width: 680px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line); border-bottom: 0; border-radius: 22px 22px 0 0; padding: 12px; display: grid; gap: 8px; box-shadow: 0 -10px 40px rgba(0,0,0,.5); }
.sheet .sbar { width: 40px; height: 4px; border-radius: 4px; background: var(--line); margin: 0 auto 4px; }
.sheet .moreit { display: flex; align-items: center; gap: 14px; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 14px; font-weight: 700; font-size: 15px; color: var(--text); text-decoration: none; text-align: left; position: relative; width: 100%; }
.sheet .moreit[aria-current="true"] { border-color: var(--lime); color: var(--lime); }
.sheet .moreit .mi { font-size: 21px; width: 28px; text-align: center; }
.sheet .moreit .dot { position: static; margin-left: auto; width: 9px; height: 9px; border-radius: 50%; background: #ff4d6d; }

/* contenuti */
main { padding-block: 16px 10px; gap: 12px; }
.card { padding: 16px; gap: 12px; }
.card h2 { font-size: 17px; }
.hint { font-size: 13px; }
.eyb { font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); margin: 0; }
.hrow { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-width: 0; }
.kpi { font-family: var(--font-display); font-style: italic; font-weight: 900; color: var(--lime); font-size: 66px; line-height: .95; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.kpi small { font-size: 18px; color: var(--muted); margin-left: 8px; font-weight: 800; letter-spacing: 0; }
.kpi.md { font-size: 46px; }
.stats3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; border-top: 1px solid var(--line); padding-top: 12px; }
.stats3 b { display: block; font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 21px; line-height: 1.1; }
.stats3 span { display: block; font-size: 12px; color: var(--muted); line-height: 1.25; margin-top: 2px; }
.datechip { position: relative; display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: var(--bg); border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 700; color: var(--text); white-space: nowrap; cursor: pointer; }
.datechip input { position: absolute; inset: 0; opacity: 0; min-height: 0 !important; width: 100%; height: 100%; padding: 0; border: 0; cursor: pointer; }
.bar2 { height: 6px; border-radius: 6px; background: #1b2c5c; overflow: hidden; }
.bar2 i { display: block; height: 100%; background: var(--lime); border-radius: 6px; }
.bar2.warn i { background: var(--warn); }
.tlist { display: grid; }
.trow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.trow:first-child { border-top: 0; padding-top: 2px; }
.trow .n { font-weight: 700; min-width: 0; overflow-wrap: anywhere; }
.trow .p { grid-row: span 2; align-self: center; font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 25px; color: var(--lime); font-variant-numeric: tabular-nums; }
.trow .m { font-size: 12.5px; color: var(--muted); min-width: 0; }
.trow .bx { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; margin-top: 6px; font-size: 11.5px; color: var(--muted); }
.trow.out .p { color: var(--muted); }
details.acc { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 0 16px; min-width: 0; }
details.acc > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 15px 0; font-weight: 800; font-size: 15px; }
details.acc > summary::-webkit-details-marker { display: none; }
details.acc > summary::after { content: "›"; margin-left: auto; font-size: 22px; line-height: 1; color: var(--muted); transform: rotate(90deg); transition: transform .15s; }
details.acc[open] > summary::after { transform: rotate(-90deg); }
details.acc > summary small { margin-left: auto; color: var(--muted); font-weight: 600; font-size: 13px; }
details.acc > summary small + * { margin-left: 0; }
details.acc .accb { display: grid; gap: 12px; padding: 0 0 16px; min-width: 0; }
details.acc.warn { background: rgba(255,184,77,.08); border-color: rgba(255,184,77,.45); }
details.acc.warn > summary { font-weight: 600; }
details.acc.warn > summary b { color: var(--warn); }
.sic { font-size: 18px; flex: none; }
.foot { font-size: 12px; gap: 6px; padding-bottom: 8px; }

/* cerca torneo */
.sbox { display: grid; grid-template-columns: minmax(0, 1fr) 54px; gap: 8px; }
.sbox input { width: 100%; min-height: 50px; background: var(--bg); border: 1.5px solid var(--line); border-radius: 14px; padding: 10px 14px; font-size: 16px; color: var(--text); }
.sbox .sgo { min-height: 50px; padding: 0; display: grid; place-items: center; border-radius: 14px; }
.sbox .sgo svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2.4; stroke-linecap: round; }
.fl3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.fl3 select { min-height: 42px; font-size: 13.5px; padding: 6px 28px 6px 10px; border-radius: 12px; background-position: calc(100% - 16px) 55%, calc(100% - 11px) 55%; font-weight: 600; }
.resh { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--muted); font-weight: 600; }
.pucrow .calcgo { margin-top: 2px; }
.mini { display: grid; }
.mrow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; align-items: center; padding: 11px 0; border-top: 1px solid var(--line); }
.mrow:first-child { border-top: 0; padding-top: 0; }
.mrow .ttl { background: none; border: 0; padding: 0; text-align: left; font-weight: 700; color: var(--text); font-size: 15px; }
.mrow .m { grid-column: 1; font-size: 12.5px; color: var(--muted); }
.mrow .ix { grid-row: span 2; background: none; border: 1px solid var(--line); border-radius: 10px; color: var(--muted); width: 38px; height: 38px; font-size: 16px; }
.mrow .ix.on { color: var(--lime); border-color: rgba(198,234,0,.5); }
.mrow .favnews { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; }
.etabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 -2px; padding: 2px; }
.etabs::-webkit-scrollbar { display: none; }
.etabs button { flex: none; border: 1px solid var(--line); background: var(--bg); color: var(--muted); border-radius: 999px; padding: 8px 14px; font-size: 13.5px; font-weight: 700; }
.etabs button[aria-selected="true"] { background: var(--lime); border-color: var(--lime); color: var(--lime-ink); }
.ehead { display: grid; gap: 4px; }
.ehead .pe-t { font-family: var(--font-display); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: 19px; line-height: 1.1; }
.eacts { display: flex; gap: 8px; flex-wrap: wrap; }

/* tabellone di prova */

.pucentry { display: grid; gap: 12px; }
#pe-q { width: 100%; min-height: 44px; background: var(--bg); border: 1.5px solid var(--line); border-radius: 12px; padding: 8px 12px; font-size: 15px; color: var(--text); }
[hidden] { display: none !important; }
.fl3 { grid-template-columns: 1.15fr 1fr 1fr; }
.fl3 select { font-size: 13px; padding-left: 9px; padding-right: 24px; background-position: calc(100% - 14px) 55%, calc(100% - 9px) 55%; }

.eacts .btn.sm { flex: 1 1 auto; }
.chip.warn { white-space: nowrap; }
.bar { bottom: calc(60px + env(safe-area-inset-bottom, 0px)); padding-bottom: 8px; padding-top: 10px; }
body:has(.bar) { padding-bottom: calc(240px + env(safe-area-inset-bottom, 0px)); }
/* tabellone di prova a tutta pagina */
.brcta { display: grid; gap: 12px; background: rgba(198,234,0,.07); border: 1px solid rgba(198,234,0,.4); border-radius: 16px; padding: 14px; }
.brcta b { font-size: 15px; }
.brov { position: fixed; inset: 0; z-index: 80; background: var(--bg); display: flex; flex-direction: column; padding-top: env(safe-area-inset-top, 0px); }
.brtop { display: flex; align-items: center; gap: 10px; padding: 10px max(12px, env(safe-area-inset-left, 0px)) 10px; border-bottom: 1px solid var(--line); background: #050e28; }
.brtop .brx { flex: none; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--text); font-size: 18px; }
.brtop .brt { flex: 1; min-width: 0; display: grid; }
.brtop .brt b { font-family: var(--font-display); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: 16px; color: var(--lime); }
.brtop .brt span { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brtop .btn.sm { width: auto; flex: none; }
.brinfo { padding: 8px 14px; font-size: 12.5px; color: var(--muted); font-weight: 600; border-bottom: 1px solid var(--line); }
.brscroll { flex: 1; overflow: auto; -webkit-overflow-scrolling: touch; }
.brwrap { display: inline-block; min-width: 100%; padding: 0 16px 24px 12px; }
.brh { display: flex; position: sticky; top: 0; z-index: 2; background: var(--bg); padding: 10px 0 8px; }
.brh div { flex: none; width: 236px; font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--lime); padding-left: 2px; }
.brh div + div { padding-left: 20px; }
.brb { display: flex; }
.brc { flex: none; width: 236px; display: flex; flex-direction: column; }
.brc.nx { width: 256px; }
.brm { flex: 1; display: flex; align-items: center; position: relative; padding: 3px 18px 3px 0; }
.brc.nx .brm { padding-left: 20px; }
.brm .box { position: relative; width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.brm .box.win { border-color: rgba(198,234,0,.5); }
.brc:not(.last) .brm::after { content: ""; position: absolute; right: 0; top: 50%; width: 18px; border-top: 1.5px solid #34508f; }
.brc:not(.last) .brm:nth-child(odd)::before { content: ""; position: absolute; right: 0; top: 50%; height: 50%; border-right: 1.5px solid #34508f; }
.brc:not(.last) .brm:nth-child(even)::before { content: ""; position: absolute; right: 0; top: 0; height: 50%; border-right: 1.5px solid #34508f; }
.brc.nx .brm .box::before { content: ""; position: absolute; left: -21px; top: 50%; width: 20px; border-top: 1.5px solid #34508f; }
.brc.nx .brm .box { overflow: visible; }
.bl { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 6px; height: 26px; padding: 0 8px; font-size: 12px; }
.bl + .bl { border-top: 1px solid var(--line); }
.bl .sd { font-weight: 800; color: var(--lime); font-size: 11px; }
.bl .nm { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: .01em; }
.bl .fc { font-size: 11px; color: var(--muted); }
.bl.bye .nm { color: var(--muted); font-weight: 600; letter-spacing: .1em; }
.bl.me { background: rgba(198,234,0,.12); box-shadow: inset 3px 0 0 var(--lime); }
.bl.me .nm { color: var(--lime); }
.brnote { margin: 0; padding: 10px 14px calc(12px + env(safe-area-inset-bottom, 0px)); font-size: 12px; color: var(--muted); border-top: 1px solid var(--line); background: #050e28; }
.brh div, .brc { width: 256px; }
.brc.nx { width: 276px; }
.brh div + div { width: 276px; }
.brtabs { display: flex; gap: 6px; overflow-x: auto; padding: 8px 12px; border-bottom: 1px solid var(--line); scrollbar-width: none; }
.brtabs button { flex: none; border: 1px solid var(--line); background: var(--bg); color: var(--muted); border-radius: 999px; padding: 7px 13px; font-size: 13px; font-weight: 700; }
.brtabs button[aria-selected="true"] { background: var(--lime); border-color: var(--lime); color: var(--lime-ink); }
.brinfo b { color: var(--text); }
.brc.toq .brm::before { display: none !important; }
.bl.qin .sd, .bl.qout .sd { color: #7fd1ff; }
.bl.qin .nm { color: #bfe6ff; font-weight: 600; font-style: italic; }
.bl.qout .nm { color: var(--text); font-weight: 600; }
/* ---------- Cerca giocatore, scheda giocatore ---------- */
.plylist { display: grid; gap: 0; }
.giorow.plyrow { grid-template-columns: 48px minmax(0, 1fr) auto; }
.gpt { font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 22px; color: var(--lime); text-align: right; line-height: 1; font-variant-numeric: tabular-nums; }
.gpt small { display: block; font-family: var(--font-body); font-style: normal; font-weight: 600; font-size: 11.5px; color: var(--muted); margin-top: 3px; }
.linkbtn.plyname { color: var(--text); text-decoration-color: rgba(198,234,0,.6); text-align: left; font-weight: 700; }
.pager { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pager .btn[disabled] { opacity: .4; }
.risnew { border-color: rgba(198,234,0,.5); background: linear-gradient(180deg, rgba(198,234,0,.08), var(--surface)); }
.sharebtn { justify-self: start; }

/* ---------- Foglio "Aggiungi un risultato" ---------- */
.addsheet .moreit .ml { display: grid; gap: 2px; min-width: 0; }
.addsheet .moreit .ml small { color: var(--muted); font-weight: 500; font-size: 13px; }

/* ---------- Caricamento ---------- */
.skel { display: grid; gap: 10px; }
.skel i { display: block; height: 14px; border-radius: 7px; background: linear-gradient(90deg, var(--surface-2) 25%, #17306b 50%, var(--surface-2) 75%); background-size: 200% 100%; animation: skel 1.2s ease-in-out infinite; }
.skel i:nth-child(3n+2) { width: 82%; }
.skel i:nth-child(3n) { width: 64%; }
.skel i.b { height: 46px; width: 46%; border-radius: 12px; }
@keyframes skel { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }
@media (prefers-reduced-motion: reduce) { .skel i { animation: none; } }

/* ---------- Grafico andamento punti ---------- */
.pchart { position: relative; touch-action: pan-y; }
.pchart svg { display: block; width: 100%; height: auto; overflow: visible; }
.pchart .cg { stroke: var(--line); stroke-width: 1; }
.pchart .ct { fill: var(--muted); font: 600 11px var(--font-body); }
.pchart .cv { fill: var(--text); font: 700 13px var(--font-body); }
.pchart .cl { fill: none; stroke: var(--lime); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.pchart .cl.cf { stroke-dasharray: 5 5; opacity: .6; }
.pchart .ca { fill: var(--lime); opacity: .1; }
.pchart .cd { fill: var(--lime); stroke: var(--surface); stroke-width: 2; }
.pchart .cx { stroke: var(--muted); stroke-width: 1; }
.pchart .chit { fill: transparent; cursor: crosshair; }
.pchart .ctip { position: absolute; top: -6px; z-index: 2; pointer-events: none; background: var(--bg); color: var(--text); border: 1px solid var(--line); border-radius: 10px; padding: 5px 9px; font-size: 13px; font-weight: 600; white-space: nowrap; box-shadow: 0 6px 18px rgba(0,0,0,.35); }
.ck { display: inline-block; width: 18px; height: 0; border-top: 2px solid var(--lime); vertical-align: middle; margin-right: 4px; }
.ck.cf { border-top-style: dashed; opacity: .6; }

/* ---------- Immagine da condividere ---------- */
.shareov { position: fixed; inset: 0; z-index: 60; background: rgba(3,10,31,.92); display: grid; place-items: center; padding: 16px; overflow-y: auto; }
.shareov-in { width: min(420px, 100%); display: grid; gap: 12px; }
.shareov img { width: 100%; max-height: 64vh; object-fit: contain; border-radius: 16px; border: 1px solid var(--line); background: var(--bg); }

/* ===== Punti compatti (nov 2026) ===== */
.fdot { display: inline-block; flex: none; width: 10px; height: 10px; border-radius: 50%; vertical-align: middle; margin-right: 6px; box-shadow: 0 0 0 2px rgba(255,255,255,.06); }
.hero2 { gap: 14px; border-radius: 22px; }
.hero2 .hl { display: grid; gap: 8px; justify-items: start; min-width: 0; }
.hero2 .kpi { font-size: clamp(52px, 17vw, 72px); }
.dchip { font-size: 13px; font-weight: 700; color: var(--lime); background: rgba(198,234,0,.12); border: 1px solid rgba(198,234,0,.4); border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.spark { flex: none; overflow: visible; }
.spark .sl { fill: none; stroke: var(--lime); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.spark .sf { stroke-width: 2; stroke-dasharray: 3 3; opacity: .6; }
.spark .sd { fill: var(--lime); stroke: var(--surface); stroke-width: 2; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tile { background: var(--surface-2); border-radius: 14px; padding: 10px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tile span { font-size: 12px; color: var(--muted); line-height: 1.25; overflow-wrap: anywhere; }
.tile b { display: flex; align-items: center; font-size: 19px; font-weight: 800; line-height: 1.15; font-variant-numeric: tabular-nums; white-space: nowrap; }
.goal { gap: 10px; padding-top: 14px; padding-bottom: 14px; }
.goal .gt { display: flex; align-items: center; font-size: 15px; }
.bar2.lg { height: 8px; border-radius: 8px; }
.duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 8px; }
.duo .btn { width: 100%; min-height: 48px; font-size: 15px; padding: 10px 12px; }
.clist { gap: 0; padding-top: 12px; padding-bottom: 10px; }
.clist > .hrow { padding-bottom: 4px; }
.clist .eyb.sub { color: var(--muted); padding: 14px 0 2px; font-size: 11px; }
.crow { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); min-width: 0; }
.crow .ct { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.crow .ct b { font-size: 15px; font-weight: 700; overflow-wrap: anywhere; }
.crow .ct span { font-size: 13px; color: var(--muted); }
.crow .ct em { font-style: normal; color: var(--warn); font-weight: 700; }
.crow .cp { font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 22px; color: var(--lime); font-variant-numeric: tabular-nums; }
.crow.out .cp { color: var(--muted); }
.clist .more { justify-self: start; padding: 8px 0 2px; font-weight: 700; }
.accs { display: grid; gap: 8px; }
details.acc.warn > summary small { color: var(--warn); }
/* striscia podcast */
.sponsor.slim { display: flex; align-items: center; gap: 12px; padding: 8px 12px 8px 8px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); box-shadow: none; color: var(--text); text-decoration: none; }
.sponsor.slim .th { flex: none; width: 76px; height: 46px; border-radius: 8px; overflow: hidden; background: #222; position: relative; }
.sponsor.slim .th img { position: absolute; width: 128px; height: auto; max-width: none; left: -26px; top: -6px; }
.sponsor.slim .st { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.sponsor.slim small { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #f5a623; }
.sponsor.slim b { font-size: 14px; font-weight: 700; line-height: 1.25; }
.sponsor.slim svg { flex: none; color: var(--lime); }
.sponsor-wrap { margin-top: 18px; }
#root > .sponsor-wrap { padding-left: 16px; padding-right: 16px; }

/* ===== Scheda giocatore: figurina, schede, testa a testa ===== */
.plyhead { display: flex; }
.figu { --fc: #9aaad2; border-radius: 26px; border: 3px solid var(--fc); background: var(--surface); overflow: hidden; display: flex; flex-direction: column; min-width: 0; box-shadow: 0 10px 30px rgba(0,0,0,.3); }
.fband { display: flex; justify-content: space-between; align-items: center; gap: 8px; background: var(--fc); color: #030a1f; padding: 8px 16px; }
.fband b { font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 15px; letter-spacing: .06em; }
.fband span { font-weight: 700; font-size: 11px; letter-spacing: .08em; text-align: right; }
.fbody { display: flex; gap: 14px; padding: 16px 16px 12px; align-items: center; min-width: 0; }
.fph { width: 104px; height: 128px; flex: none; border-radius: 18px; background: var(--surface-2); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.fph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fph b { font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 36px; color: var(--fc); }
.finfo { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.fname { font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 25px; line-height: 1.02; text-transform: uppercase; overflow-wrap: anywhere; }
.fsub { font-size: 13px; color: var(--muted); }
.fforza { display: flex; align-items: baseline; gap: 6px; margin-top: 6px; color: var(--lime); }
.fforza b { font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 44px; line-height: 1; }
.fforza small { font-weight: 800; font-size: 12px; letter-spacing: .12em; }
.fstats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.fstats > div { padding: 10px 6px; display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; min-width: 0; }
.fstats > div + div { border-left: 1px solid var(--line); }
.fstats b { font-size: 18px; font-weight: 800; font-variant-numeric: tabular-nums; }
.fstats span { font-size: 12px; color: var(--muted); }
.fbest { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-top: 1px solid var(--line); background: var(--surface-2); font-size: 13px; color: var(--fc); }
.fbest > span { color: var(--text); min-width: 0; }
.fbest .m { color: var(--muted); }
details.acc.oggi > summary { padding: 12px 0; align-items: center; }
details.acc.oggi > summary::after { display: none; }
details.acc.oggi .ol { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
details.acc.oggi .ol .eyb { font-size: 11px; }
details.acc.oggi .ol small { margin: 0; font-weight: 500; color: var(--muted); font-size: 13px; }
details.acc.oggi .or { display: flex; flex-direction: column; align-items: flex-end; flex: none; }
details.acc.oggi .or b { font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 26px; color: var(--lime); line-height: 1.05; }
details.acc.oggi .or small { margin: 0; font-size: 12px; font-weight: 800; }
.h2who { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.h2who .vs { font-family: var(--font-display); font-style: italic; font-weight: 900; color: var(--muted); }
.h2score { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 10px; padding: 6px 0 0; }
.h2score > div { display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; min-width: 0; }
.h2score b { font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 54px; line-height: 1; color: var(--lime); }
.h2score > div:last-child b { color: var(--text); }
.h2score span { font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.h2score i { font-style: normal; font-size: 30px; color: var(--muted); }

/* ===== Classifica live ===== */
.ldot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); margin-right: 6px; vertical-align: middle; box-shadow: 0 0 0 0 rgba(198,234,0,.6); animation: lpulse 2s infinite; }
@keyframes lpulse { 0% { box-shadow: 0 0 0 0 rgba(198,234,0,.55); } 70% { box-shadow: 0 0 0 8px rgba(198,234,0,0); } 100% { box-shadow: 0 0 0 0 rgba(198,234,0,0); } }
@media (prefers-reduced-motion: reduce) { .ldot { animation: none; } }
.livecard { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 60px; padding: 12px 16px; border-radius: 18px; border: 1px solid rgba(198,234,0,.45); background: linear-gradient(90deg, rgba(198,234,0,.10), rgba(198,234,0,0) 70%), var(--surface); color: var(--text); text-align: left; font: inherit; cursor: pointer; }
.livecard .lc { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.livecard b { font-size: 16px; font-weight: 800; }
.livecard small { font-size: 13px; color: var(--muted); }
.livecard svg { flex: none; color: var(--lime); }
.ibtn { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface-2); color: var(--text); font: italic 900 18px/1 var(--font-display); cursor: pointer; }
.seg2 { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 0; }
.fchips { display: flex; gap: 8px; flex-wrap: wrap; }
.fchip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; }
.fchip[aria-pressed="true"] { border-color: var(--lime); background: #12285f; }
.lme { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 18px; background: rgba(198,234,0,.1); border: 2px solid var(--lime); }
.lme .lp { font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 28px; color: var(--lime); min-width: 48px; }
.lme .ln { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.lme .ln b { font-size: 16px; overflow-wrap: anywhere; }
.lme .ln small { font-size: 13px; color: var(--muted); font-weight: 700; }
.lme .lpt { font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 22px; }
.lhead, .lrow { display: grid; grid-template-columns: 38px 44px minmax(0, 1fr) auto; gap: 8px; align-items: center; }
.lhead { font-size: 11px; font-weight: 700; letter-spacing: .08em; color: var(--muted); padding: 0 2px; }
.llist { display: grid; }
.lrow { padding: 10px 2px; border-top: 1px solid var(--line); }
.lrow.me { background: rgba(198,234,0,.08); border-radius: 10px; }
.lrow .lp { font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 17px; font-variant-numeric: tabular-nums; }
.lrow .ln { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.lrow .ln .plyname { text-align: left; font-weight: 700; font-size: 15px; color: var(--text); text-decoration: none; padding: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.lrow .ln small { font-size: 12px; color: var(--muted); }
.lrow .lpt { display: flex; flex-direction: column; align-items: flex-end; gap: 1px; }
.lrow .lpt b { font-size: 16px; font-variant-numeric: tabular-nums; }
.lrow .lpt small, .lme small { font-size: 12px; color: var(--muted); }
.lpt small.good, .lme small.good { color: var(--good); }
.lpt small.bad, .lme small.bad { color: var(--bad); }
.lvar { display: inline-flex; align-items: center; gap: 3px; font-size: 13px; font-weight: 800; color: var(--muted); }
.lvar i { width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; }
.lvar.up { color: var(--good); } .lvar.up i { border-bottom: 8px solid var(--good); }
.lvar.dn { color: var(--bad); } .lvar.dn i { border-top: 8px solid var(--bad); }
.lvar.eq i { display: none; }
details.acc.warn > summary { font-weight: 800; }

/* ===== Notizie: Dall'Italia / Dal mondo ===== */
.newstabs { margin-bottom: 0; }
.newstabs .segb { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; font-size: 14.5px; }
.newstabs .nnew { flex-basis: 100%; font-size: 11px; font-weight: 800; color: var(--lime); letter-spacing: .02em; margin-top: -2px; }
.flag-it { display: inline-flex; width: 18px; height: 12px; border-radius: 2px; overflow: hidden; box-shadow: 0 0 0 1px rgba(255,255,255,.25); }
.flag-it i { flex: 1; }
.flag-it i:nth-child(1) { background: #009246; } .flag-it i:nth-child(2) { background: #fff; } .flag-it i:nth-child(3) { background: #ce2b37; }
/* ===== Punti semplificati (20 nov 2026): ufficiale + «se uscisse oggi» ===== */
.hero2 .fline { display: flex; align-items: center; flex-wrap: wrap; gap: 2px; font-size: 15px; color: var(--muted); }
.hero2 .fline b { color: var(--text); font-weight: 700; }
.dchip.neg { color: #ff8a8a; background: rgba(255,90,90,.1); border-color: rgba(255,90,90,.35); }
.oggi { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; text-align: left; font: inherit; color: var(--text); background: var(--surface-2); border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; cursor: pointer; }
.oggi .ot { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.oggi .ot small { font-size: 13px; color: var(--muted); }
.oggi .ot b { font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 30px; line-height: 1.05; color: var(--lime); font-variant-numeric: tabular-nums; }
.oggi .or { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex: none; }
.oggi .or em { font-style: normal; font-weight: 800; font-size: 16px; color: var(--muted); font-variant-numeric: tabular-nums; }
.oggi .or em.up { color: var(--good); }
.oggi .or em.dn { color: var(--bad); }
.oggi .chip { font-size: 12px; padding: 2px 9px; }
.tiles.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tiles.two .tile b { font-size: 17px; }
.figu .fvar { padding: 0 16px 12px; font-size: 13px; color: var(--muted); }
/* proiezione a una data scelta (Punti e scheda giocatore) */
.pdate{display:flex;align-items:center;gap:8px 12px;flex-wrap:wrap;margin-top:12px}
.pdate label{font-size:13px;font-weight:600;color:var(--muted);margin:0;text-transform:none;letter-spacing:0}
.pdate input[type=date]{width:auto;min-width:150px;min-height:38px;padding:6px 10px;font-size:15px}
.pdate .linkbtn{padding:0;font-size:14px}
.seg3.tview{grid-template-columns:1fr 1fr;margin-bottom:10px}
.tessline{padding:2px 4px}
.tesscard .gcheck{font-size:14px}

/* messaggi tra giocatori: finestra a tutto schermo, bolle, richiesta da accettare */
.chatov{position:fixed;inset:0;z-index:1000;background:var(--bg);display:flex;flex-direction:column;height:100vh;height:100dvh;padding-top:env(safe-area-inset-top)}
.chatov>*{width:100%;max-width:680px;margin-left:auto;margin-right:auto}
.chat-bar{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:center;padding:8px 12px;border-bottom:1px solid var(--line);background:var(--surface)}
.chat-bar .btn{width:auto;min-height:44px;min-width:44px;padding:6px 12px;font-size:18px}
.chat-bar>b{font-size:17px;text-align:center;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.chat-who{display:inline-flex;align-items:center;gap:10px;background:none;border:0;color:var(--text);font-weight:800;font-size:16px;max-width:100%;min-width:0;padding:4px}
.chat-who .gav{width:34px;height:34px;font-size:13px;flex:none}.chat-who span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.chat-scroll{flex:1;overflow:auto;padding:14px 16px 40px;display:grid;gap:14px;align-content:start;-webkit-overflow-scrolling:touch}
.chat-msgs{flex:1;overflow:auto;padding:12px 16px;display:flex;flex-direction:column;gap:6px;-webkit-overflow-scrolling:touch}
.bub{max-width:82%;align-self:flex-start;background:var(--surface-2);border:1px solid var(--line);border-radius:18px 18px 18px 6px;padding:8px 12px 6px;display:grid;gap:2px;overflow-wrap:anywhere;font-size:15px}
.bub.me{align-self:flex-end;background:rgba(198,234,0,.14);border-color:rgba(198,234,0,.35);border-radius:18px 18px 6px 18px}
.bub small{font-size:11px;color:var(--muted);justify-self:end}.bub.pend{opacity:.6}
.chat-day{align-self:center;font-size:12px;font-weight:700;color:var(--muted);padding:8px 10px 2px}
.chat-day::first-letter{text-transform:uppercase}
.chat-foot{border-top:1px solid var(--line);background:var(--surface);padding:10px 12px calc(10px + env(safe-area-inset-bottom,0px));display:grid;gap:8px}
.chat-foot:empty{display:none}
.chat-comp{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:end}
.chat-comp textarea{width:100%;resize:none;min-height:48px;max-height:140px;border-radius:14px;border:1.5px solid var(--line);background:var(--bg);padding:12px 14px;line-height:1.35;font-family:var(--font-body);font-size:16px}
.chat-send{width:52px;min-height:48px;padding:0;font-size:19px;border-radius:14px}
.chat-note{margin:0;font-size:14px;color:var(--muted)}.chat-msgs .chat-note{align-self:center;text-align:center;max-width:420px;padding:18px 8px}
.chat-err{margin:0;color:var(--bad);font-size:14px}.chat-ok{margin:0;color:var(--good);font-size:14px}
.chat-req{display:grid;gap:8px}.chat-req p{margin:0;font-size:14px}
.chatov>.chat-menu{position:absolute;right:12px;left:auto;top:calc(62px + env(safe-area-inset-top,0px));width:auto;margin:0;z-index:2;background:var(--surface);border:1px solid var(--line);border-radius:14px;display:grid;min-width:210px;box-shadow:0 10px 30px rgba(0,0,0,.55);overflow:hidden}
.chat-menu button{background:none;border:0;border-bottom:1px solid var(--line);color:var(--text);text-align:left;padding:14px 16px;font-weight:700;font-size:15px}.chat-menu button:last-child{border-bottom:0}
.chatov>.chat-ask{width:auto;margin:10px 12px 0;padding:12px;border:1px solid var(--line);border-radius:14px;background:var(--surface);display:grid;gap:8px}.chat-ask p{margin:0;font-size:14px}
.chat-ask select{min-height:46px;border-radius:12px;border:1.5px solid var(--line);background:var(--bg);padding:8px 10px}
.chatrow{display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:12px;align-items:center;width:100%;text-align:left;background:var(--surface-2);border:1px solid var(--line);border-radius:14px;padding:10px 12px;color:var(--text);margin-top:8px}
.chatrow .ct{display:grid;gap:2px;min-width:0}.chatrow .cl{display:flex;justify-content:space-between;gap:8px;min-width:0}
.chatrow .cl b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chatrow .cl small{color:var(--muted);flex:none;font-size:12px}
.chatrow .cp{color:var(--muted);font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chatrow.new .cp{color:var(--text);font-weight:600}
.chatrow .cd{width:10px;height:10px;border-radius:50%;background:var(--lime)}
.chat-rules{margin:0;padding-left:20px;display:grid;gap:6px;font-size:14px;color:var(--muted)}
.chat-older{align-self:center;color:var(--lime)}
.chatcard{padding:0;overflow:hidden}
.chatin{display:grid;grid-template-columns:40px minmax(0,1fr) auto;gap:12px;align-items:center;width:100%;background:none;border:0;color:var(--text);text-align:left;padding:14px 16px;min-height:64px}
.chatin .ci{font-size:26px;text-align:center}.chatin .ct{display:grid;gap:2px;min-width:0}.chatin b{font-size:17px}.chatin small{color:var(--muted);font-size:14px}
.chatin .cn{min-width:26px;height:26px;border-radius:13px;background:#ff4d6d;color:#fff;font-weight:800;font-size:14px;display:grid;place-items:center;padding:0 7px}
.chatin .cg{font-size:24px;color:var(--muted)}

/* scheda Notifiche nel Profilo */
.notifl{margin:0;padding:0;list-style:none;display:grid;gap:8px;font-size:14px;color:var(--muted)}
.notifl li{display:grid;grid-template-columns:24px minmax(0,1fr);gap:8px;align-items:start}.notifl b{color:var(--text)}

/* Giocatori: Cerca | Seguiti, righe dei seguiti con 💬 */
.giotabs{margin:0}
.seglist{display:grid;gap:8px}
.segrow{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center}.segrow .giorow{margin-top:0}
.segrow:has(.btn){grid-template-columns:minmax(0,1fr) auto}
.segchat{width:52px;height:52px;border-radius:14px;border:1.5px solid var(--line);background:var(--surface-2);font-size:22px;display:grid;place-items:center}
.plyrow .gchips{margin-top:4px}

/* Partite: vinte e perse, compagni più frequenti, avversari in comune */
.seg3.seg4{grid-template-columns:repeat(4,minmax(0,1fr))}
.seg3.seg4 .segb{font-size:13px;padding:8px 2px}
.ppart{display:grid;gap:12px}
.pstats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid var(--line);border-radius:14px;overflow:hidden;background:var(--surface-2)}
.pstats>div{padding:10px 4px;display:flex;flex-direction:column;align-items:center;gap:3px;min-width:0}
.pstats>div+div{border-left:1px solid var(--line)}
.pstats b{font-family:var(--font-display);font-style:italic;font-weight:900;font-size:26px;line-height:1;font-variant-numeric:tabular-nums}
.pstats .g b{color:var(--good)}.pstats .r b{color:var(--bad)}.pstats .y b{color:var(--lime)}
.pstats span{font-size:12px;color:var(--muted)}
.pbar{height:8px;border-radius:8px;background:rgba(255,122,122,.5);overflow:hidden;margin-top:-4px}.pbar i{display:block;height:100%;background:var(--good)}
.plist{display:grid;gap:10px}
.pgrp{border:1px solid var(--line);border-radius:14px;padding:10px 12px 2px;background:var(--surface-2)}
.pgh{display:grid;gap:2px;padding-bottom:8px;min-width:0}.pgh b{font-size:15px;overflow-wrap:anywhere}.pgh small{color:var(--muted);font-size:12.5px}
.pm{display:grid;grid-template-columns:28px minmax(0,1fr) auto;gap:10px;align-items:center;padding:8px 0;border-top:1px solid var(--line)}
.pm>i{font-style:normal;width:28px;height:28px;border-radius:8px;display:grid;place-items:center;font-weight:900;font-size:13px}
.pm.w>i{background:rgba(61,220,151,.16);color:var(--good)}.pm.l>i{background:rgba(255,122,122,.16);color:var(--bad)}.pm.n>i{background:rgba(255,255,255,.06);color:var(--muted)}
.pmt{display:grid;gap:2px;min-width:0}.pmt b{font-size:14px;font-weight:700;overflow-wrap:anywhere}.pmt small{color:var(--muted);font-size:12.5px;overflow-wrap:anywhere}
.psc{font-size:13px;font-weight:700;font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap}
.pm.n .psc{color:var(--muted);font-weight:600}
.pmate .gpt{font-size:24px}
.giorow.pmate{grid-template-columns:48px minmax(0,1fr) auto}
.pfil{display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:12px;align-items:center;padding:10px 12px;border-radius:14px;border:1px solid rgba(198,234,0,.45);background:rgba(198,234,0,.06)}
.pfil .linkbtn{font-size:18px;padding:6px 10px}
details.pcm{border:1px solid var(--line);border-radius:14px;padding:10px 12px;background:var(--surface-2)}
details.pcm>summary{cursor:pointer;list-style:none;display:grid;grid-template-columns:48px minmax(0,1fr);gap:12px;align-items:center}
details.pcm>summary::-webkit-details-marker{display:none}
details.pcm[open]>summary{padding-bottom:8px}
.pcmb{display:grid;gap:0}.pcmb .eyb.sub{padding:6px 0}
.li.ris.pfocus{box-shadow:inset 0 0 0 2px rgba(198,234,0,.65);border-radius:14px}
.livecard.pcard{border-color:rgba(61,220,151,.45);background:linear-gradient(90deg,rgba(61,220,151,.10),rgba(61,220,151,0) 70%),var(--surface)}
.livecard .lico{flex:none;width:28px;text-align:center;font-size:22px}
/* orari di gioco in elenco (29/11/2026) */
.odg-mine { display: grid; gap: 8px; padding: 10px; border-radius: 14px; background: rgba(198,234,0,.08); border: 1px solid rgba(198,234,0,.35); }
#odg-list { display: grid; gap: 8px; }
.odg-m { display: grid; gap: 3px; padding: 10px 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.odg-m.mine { border-color: var(--lime); box-shadow: 0 0 0 1px rgba(198,234,0,.35) inset; }
.odg-h { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 10px; font-size: 14px; }
.odg-h b { color: var(--lime); }
.odg-h span { color: var(--muted); font-size: 13px; font-weight: 600; }
.odg-cat { color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.odg-t { font-weight: 700; font-size: 15px; line-height: 1.3; overflow-wrap: anywhere; }
.odg-t.alt { font-weight: 600; font-size: 13px; }
.odg-t.muted { color: var(--muted); font-weight: 600; }
.odg-w { display: block; color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.odg-o { color: var(--muted); font-weight: 600; margin: 0 6px; font-size: 12px; }
.odg-vs { color: var(--muted); font-size: 12px; font-weight: 700; }
#odg-q { width: 100%; min-height: 44px; background: var(--bg); border: 1.5px solid var(--line); border-radius: 12px; padding: 8px 12px; font-size: 15px; color: var(--text); }
/* «Se ci iscriviamo noi?»: posizione proiettata nella lista iscritti */
.esim { display: grid; gap: 10px; background: rgba(198,234,0,.06); border: 1px solid rgba(198,234,0,.4); border-radius: 16px; padding: 14px; min-width: 0; }
.esim > * { min-width: 0; }
.esimh { display: grid; gap: 2px; }
.esimh b { font-size: 15px; }
.esimh small { color: var(--muted); font-size: 13px; line-height: 1.35; }
.simp { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; gap: 10px; align-items: center; background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px 8px 12px; }
.simw { font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--lime); }
.simn { display: grid; gap: 1px; min-width: 0; }
.simn b { font-size: 15px; overflow-wrap: anywhere; }
.simn small { color: var(--muted); font-size: 12.5px; }
.simp .linkbtn { padding: 6px 2px; font-size: 13px; }
.simq { display: grid; gap: 8px; }
.simq label { font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--lime); }
.simlist { display: grid; gap: 6px; }
.simrow { display: grid; gap: 1px; text-align: left; width: 100%; background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 9px 12px; color: var(--text); font: inherit; cursor: pointer; }
.simrow b { font-size: 15px; }
.simrow small { color: var(--muted); font-size: 12.5px; }
.simrow:hover, .simrow:focus-visible { border-color: rgba(198,234,0,.6); }
.simres { display: grid; gap: 10px; border-top: 1px solid rgba(198,234,0,.25); padding-top: 12px; min-width: 0; }
.simres > * { min-width: 0; }
.simbig { display: grid; gap: 2px; }
.simbig small { font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.simbig div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.simbig span { color: var(--muted); font-weight: 700; font-size: 15px; }
.simbig b { font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 44px; line-height: 1; color: var(--lime); font-variant-numeric: tabular-nums; }
.ptable tr.simme td { background: rgba(198,234,0,.16); }
.ptable.simtab td { padding: 7px 8px; }
@media (max-width: 380px) { .simp { grid-template-columns: minmax(0, 1fr) auto; } .simw { grid-column: 1 / -1; } }
/* tessera: scelta tra omonimi dei tabelloni FITP */
.candlist { display: grid; gap: 8px; }
.candrow { display: grid; gap: 4px; text-align: left; width: 100%; background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; color: var(--text); font: inherit; cursor: pointer; }
.candrow b { font-size: 15px; }
.candrow small { color: var(--muted); font-size: 12.5px; }
.candrow ul { margin: 2px 0 0; padding-left: 18px; color: var(--muted); font-size: 13px; line-height: 1.4; }
.candrow .candgo { justify-self: start; margin-top: 4px; font-weight: 800; font-size: 13px; color: var(--ink, #0a1400); background: var(--lime); border-radius: 999px; padding: 4px 14px; }
.candrow:hover, .candrow:focus-visible { border-color: rgba(198,234,0,.6); }
/* storico della classifica FITP (pagina Punti e scheda giocatore) */
.hchart svg { display: block; width: 100%; height: auto; overflow: visible; }
.hchart .cg { stroke: var(--line); stroke-width: 1; }
.hchart .ct { fill: var(--muted); font: 600 11px var(--font-body); }
.hchart .cv { fill: var(--text); font: 700 13px var(--font-body); }
.hchart .cl { fill: none; stroke: var(--lime); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.hchart .ca { fill: var(--lime); opacity: .1; }
.hchart .hd { stroke: var(--surface); stroke-width: 1.5; }
.hchart { position: relative; touch-action: pan-y; }
.hchart .pl { fill: none; stroke: #8fd3ff; stroke-width: 1.8; stroke-dasharray: 4 3; stroke-linejoin: round; stroke-linecap: round; }
.hchart .pd { fill: var(--surface); stroke: #8fd3ff; stroke-width: 2; }
.hchart .cpa { fill: #8fd3ff; }
.hchart .cvp { fill: #8fd3ff; }
.hchart .cx { stroke: var(--muted); stroke-width: 1; }
.hchart .chit { fill: transparent; cursor: crosshair; }
.hchart .ctip { position: absolute; top: -8px; z-index: 2; pointer-events: none; background: var(--bg); color: var(--text); border: 1px solid var(--line); border-radius: 10px; padding: 5px 9px; font-size: 13px; font-weight: 600; white-space: nowrap; box-shadow: 0 6px 18px rgba(0,0,0,.35); }
.ck.pos { border-top: 2px dashed #8fd3ff; }
.hsum { display: grid; grid-template-columns: 1fr auto 1fr; gap: 4px 10px; align-items: center; background: var(--surface-2); border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; }
.hsum > div:not(.hsa):not(.hsd) { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.hsum small { font-size: 12px; color: var(--muted); font-weight: 600; }
.hsum b { font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 22px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.hsum span { font-size: 12.5px; color: var(--muted); }
.hsum .hsa { color: var(--lime); font-weight: 800; font-size: 18px; }
.hsum .hsd { grid-column: 1 / -1; display: flex; gap: 10px; flex-wrap: wrap; font-size: 13.5px; border-top: 1px solid var(--line); padding-top: 6px; }
.hsum .hsd b { font-family: var(--font-body); font-style: normal; font-size: 13.5px; font-weight: 800; }
.hlist .li .m b { color: var(--text); font-weight: 700; }
.hleg { margin: -4px 0 0; }
.hlist .li .p { text-align: right; }
.hlist .li .m .fdot { margin-right: 4px; }
.hvs { display: flex; gap: 6px; justify-content: flex-end; flex-wrap: wrap; font-size: 12.5px; font-weight: 600; }
.hv { color: var(--muted); font-weight: 600; }
b.hv { font-weight: 800; }
.hv.up { color: var(--good); }
.hv.dn { color: var(--bad); }
.hcw { display: flex; flex-direction: column; gap: 8px; }
.hrg { display: inline-flex; align-self: flex-end; background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; padding: 3px; gap: 2px; }
.hrg button { appearance: none; border: 0; background: transparent; color: var(--muted); font: 700 12.5px var(--font-body); padding: 5px 11px; border-radius: 999px; cursor: pointer; min-height: 30px; }
.hrg button[aria-pressed="true"] { background: var(--lime); color: var(--lime-ink); }
.hsub { font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 6px 0 -2px; }
.hcat { display: inline-block; font-weight: 800; color: var(--text); background: var(--surface-2); border: 1px solid var(--line); border-radius: 8px; padding: 1px 7px; margin-right: 2px; font-variant-numeric: tabular-nums; }
/* pagina Punti: titoletti delle parti (i tuoi tornei, come stai andando, strumenti) */
.psec { font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 10px 2px -4px; display: flex; align-items: center; gap: 10px; }
.psec::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.accb .pdate { margin-top: 0; }
