/* Viadana Volley · stagione 2026/27
   Foglio di stile unico del sito. I colori delle squadre sono anche in data/squadre.json. */

:root {
  --ink: #0B1F4D;
  --muted: #4E5A7A;
  --line: #E3E8F2;
  --line-soft: #EEF1F7;
  --soft: #F2F5FA;
  --white: #FFFFFF;
  --blue: #273DB5;
  --green: #50C105;
  --green-dark: #3E9A04;
  --navy-footer: #0B1F4D;

  --c-b2: #8DC63F;   --c-1div: #1E9BD7; --c-u17: #273DB5; --c-u15: #D1006F;
  --c-u13: #F7941D;  --c-u12: #6C3FD1;  --c-s3: #FFC20E;

  --radius: 22px;
  --shadow: 0 18px 40px rgba(11, 31, 77, .14);
  --font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body: 'Barlow', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--white); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--blue); }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.d { font-family: var(--font-display); text-transform: uppercase; font-weight: 800; font-style: italic; line-height: .92; letter-spacing: .005em; }
.d-up { font-style: normal; }
.eyebrow { font-weight: 700; font-size: 14px; letter-spacing: .2em; text-transform: uppercase; color: var(--blue); }
.lead { font-size: 19px; line-height: 1.55; color: var(--muted); }
.muted { color: var(--muted); }
.c-blue { color: var(--blue); } .c-green { color: var(--green); } .c-lime { color: var(--c-b2); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.section { padding: 96px 0; }
.section--soft { background: var(--soft); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 36px; }
.section-head > div:not(.kpis) { display: flex; flex-direction: column; gap: 10px; }
.h1 { font-size: clamp(60px, 8vw, 108px); }
.h2 { font-size: clamp(44px, 5.4vw, 76px); }

/* Banda a sette colori */
.stripe { display: grid; grid-template-columns: repeat(7, 1fr); height: 6px; }
.stripe span:nth-child(1) { background: var(--c-s3); } .stripe span:nth-child(2) { background: var(--c-u12); }
.stripe span:nth-child(3) { background: var(--c-u13); } .stripe span:nth-child(4) { background: var(--c-u15); }
.stripe span:nth-child(5) { background: var(--c-u17); } .stripe span:nth-child(6) { background: var(--c-1div); }
.stripe span:nth-child(7) { background: var(--c-b2); }

/* Pulsanti e pillole */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 24px; border-radius: 999px; border: 2px solid transparent; font-family: var(--font-display); font-weight: 800; font-size: 20px; text-transform: uppercase; letter-spacing: .02em; cursor: pointer; transition: filter .15s, transform .15s; }
.btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn--blue { background: var(--blue); color: var(--white); } .btn--blue:hover { color: var(--white); }
.btn--green { background: var(--green); color: var(--ink); } .btn--green:hover { color: var(--ink); }
.btn--dark { background: var(--ink); color: var(--white); } .btn--dark:hover { color: var(--white); }
.btn--outline { border-color: var(--ink); background: transparent; }
.btn--sm { min-height: 44px; padding: 0 18px; font-family: var(--font-body); font-size: 15px; font-weight: 700; text-transform: none; letter-spacing: 0; }
.pill { display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { width: 62px; height: 62px; }
.brand-name { font-size: 30px; line-height: .85; color: var(--blue); }
.brand-name span { color: var(--green); }
.nav { display: flex; align-items: center; gap: 4px; font-family: var(--font-display); font-weight: 700; font-size: 19px; text-transform: uppercase; letter-spacing: .03em; }
.nav a { padding: 10px 12px; }
.nav a[aria-current="page"] { color: var(--blue); box-shadow: inset 0 -3px 0 var(--green); }
.nav .btn { margin-left: 8px; font-size: 19px; min-height: 46px; padding: 0 22px; }
.nav-toggle { display: none; background: none; border: 2px solid var(--ink); border-radius: 12px; width: 48px; height: 48px; cursor: pointer; color: var(--ink); }
.dropdown { position: relative; }
.dropdown-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 230px; background: var(--white); border-radius: 16px; box-shadow: var(--shadow); padding: 8px; flex-direction: column; }
.dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu { display: flex; }
.dropdown-menu a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; font-family: var(--font-body); font-size: 15px; font-weight: 600; text-transform: none; letter-spacing: 0; }
.dropdown-menu a:hover { background: var(--soft); }

/* Hero home */
.hero { background: var(--soft); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 500px), 1fr)); gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 96px; }
.hero-text { display: flex; flex-direction: column; gap: 26px; }
.badge-soft { align-self: flex-start; padding: 8px 14px; border-radius: 999px; background: var(--white); font-weight: 700; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); box-shadow: 0 2px 10px rgba(11,31,77,.06); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.collage { position: relative; min-height: 520px; }
.collage figure { margin: 0; position: absolute; border-radius: 24px; overflow: hidden; border: 6px solid; box-shadow: 0 22px 46px rgba(11,31,77,.18); }
.collage img { width: 100%; height: 100%; object-fit: cover; }
.collage .f1 { top: 0; right: 0; width: 88%; height: 330px; transform: rotate(-2deg); border-color: var(--c-b2); }
.collage .f2 { left: 0; bottom: 0; width: 52%; height: 220px; transform: rotate(3deg); border-color: var(--c-u17); }
.collage .f3 { right: 4%; bottom: 20px; width: 44%; height: 190px; transform: rotate(-4deg); border-color: var(--c-u15); }
.collage .tag { position: absolute; top: 18px; right: 22px; transform: rotate(-2deg); background: var(--c-b2); z-index: 2; }

/* Riquadri match + risultati */
.overlap { margin-top: -48px; position: relative; padding-bottom: 72px; }
.overlap .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 24px; }
.next-match { background: var(--blue); color: var(--white); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 20px; box-shadow: 0 20px 50px rgba(39,61,181,.28); }
.next-match a { color: var(--white); }
.next-match .row-between { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.versus { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; text-align: center; }
.versus .team { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 24px; }
.team-logo { width: 70px; height: 70px; border-radius: 50%; background: rgba(255,255,255,.14); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; letter-spacing: .1em; font-family: var(--font-body); font-style: normal; }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; text-align: center; }
.countdown div { background: rgba(255,255,255,.12); border-radius: 14px; padding: 10px 4px; }
.countdown b { display: block; font-family: var(--font-display); font-size: 34px; font-weight: 800; line-height: 1; }
.countdown small { font-size: 11px; font-weight: 700; letter-spacing: .12em; color: #DCE3FF; }
.btn-white { background: var(--white); color: var(--blue) !important; }
.btn-ghost { border-color: rgba(255,255,255,.6); color: var(--white); }

.panel { background: var(--white); border-radius: 24px; padding: 26px 28px; box-shadow: 0 20px 50px rgba(11,31,77,.10); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.panel-head { display: flex; justify-content: space-between; align-items: baseline; }
.result-row { display: grid; grid-template-columns: 100px 1fr auto 28px; gap: 12px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line-soft); }
.result-row .score { font-size: 26px; font-style: normal; }
.esito { width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; background: var(--line); color: var(--ink); }
.esito.v { background: var(--green); }

/* Card squadre */
.grid-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px; }
.card { transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.squad-card { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--white); border: 1px solid var(--line); }
.squad-card .media { position: relative; height: 190px; }
.squad-card .media img { width: 100%; height: 100%; object-fit: cover; }
.squad-card .name { position: absolute; left: 16px; bottom: -22px; padding: 8px 16px 6px; border-radius: 12px; font-size: 32px; box-shadow: 0 8px 20px rgba(11,31,77,.18); }
.squad-card .body { padding: 38px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.squad-card .body p { color: var(--muted); font-size: 15px; flex: 1; }
.squad-card .meta { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; font-weight: 600; color: var(--muted); border-top: 1px solid var(--line-soft); padding-top: 12px; }
.cta-card { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; border-radius: var(--radius); padding: 26px; background: var(--ink); color: var(--white); min-height: 320px; }
.cta-card:hover { color: var(--white); }
.cta-card p { color: #D5DBEE; }
.placeholder { display: flex; align-items: center; justify-content: center; height: 100%; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; text-align: center; background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.3) 0 12px, rgba(255,255,255,.12) 12px 24px); }

/* Card partite settimana */
.match-card { background: var(--white); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; }
.match-card .top { padding: 14px 18px; display: flex; justify-content: space-between; align-items: center; }
.match-card .top .d { font-size: 24px; }
.match-card .top small { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.match-card .mid { padding: 18px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.match-card .when { display: flex; align-items: baseline; gap: 10px; }
.match-card .when .d { font-size: 44px; font-style: normal; }
.match-card .teams { display: flex; flex-direction: column; gap: 2px; flex: 1; font-weight: 700; font-size: 17px; }
.match-card .teams small { font-weight: 500; font-size: 13px; color: var(--muted); }
.match-card .venue { font-size: 14px; color: var(--muted); border-top: 1px solid var(--line-soft); padding-top: 12px; }

/* Blocco foto con cornice */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 56px; align-items: center; }
.framed { position: relative; }
.framed::before { content: ""; position: absolute; inset: 24px -16px -16px 24px; border-radius: 28px; background: var(--c-b2); transform: rotate(2deg); }
.framed img { position: relative; border-radius: 28px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stat { background: var(--soft); border-radius: 18px; padding: 16px; }
.stat b { display: block; font-family: var(--font-display); font-size: 50px; font-weight: 800; color: var(--blue); line-height: 1; }
.stat span { font-size: 13px; font-weight: 700; color: var(--muted); }

/* Vieni a provare */
.prova { background: var(--green); position: relative; overflow: hidden; }
.prova::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(255,255,255,.18); pointer-events: none; }
.prova .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 48px; align-items: center; padding-top: 80px; padding-bottom: 80px; }
.prova .eyebrow { color: var(--ink); }
.form { background: var(--white); border-radius: 26px; padding: 30px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; box-shadow: 0 24px 60px rgba(11,31,77,.2); }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 700; }
.form input, .form select, .form textarea { min-height: 48px; border: 1.5px solid #CBD3E6; border-radius: 12px; padding: 0 14px; font: 500 16px var(--font-body); color: var(--ink); background: var(--white); }
.form textarea { padding: 12px 14px; min-height: 96px; resize: vertical; }
.form .full { grid-column: 1 / -1; }
.form .note { font-size: 13px; color: var(--muted); }
.form-ok { grid-column: 1 / -1; padding: 14px; border-radius: 12px; background: #EBF8E2; font-weight: 600; }

/* Famiglie */
.tile { display: flex; gap: 16px; align-items: flex-start; border-radius: 20px; padding: 22px; }
.tile .ico { flex: none; width: 52px; height: 52px; border-radius: 16px; display: flex; align-items: center; justify-content: center; }
.tile .d { font-size: 26px; display: block; margin-bottom: 6px; }
.tile p { font-size: 15px; color: var(--muted); }

/* Società */
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.values div { background: var(--white); border-radius: 18px; padding: 16px 18px; }
.values .d { font-size: 26px; }
.values span { font-size: 14px; color: var(--muted); }
.gym { background: var(--white); border-radius: var(--radius); overflow: hidden; }
.gym iframe, .gym .map { width: 100%; height: 170px; border: 0; display: block; }
.gym .info { padding: 18px 22px; display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; }
.gym .info .d { font-size: 28px; }

/* Sponsor */
.sponsor-main { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 14px; margin-bottom: 14px; }
.sponsor-main > * { height: 150px; border-radius: 20px; border: 2px solid var(--line); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: var(--muted); font-weight: 700; letter-spacing: .12em; }
.sponsor-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); gap: 12px; }
.sponsor-grid > * { height: 92px; border-radius: 16px; background: var(--soft); color: var(--muted); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; letter-spacing: .14em; }

/* Footer */
.site-footer { background: var(--navy-footer); color: #D5DBEE; }
.site-footer a { color: #D5DBEE; } .site-footer a:hover { color: var(--white); }
.footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 36px; padding-top: 60px; padding-bottom: 36px; font-size: 15px; }
.footer-cols > div { display: flex; flex-direction: column; gap: 10px; }
.footer-cols h3 { font-size: 13px; font-weight: 700; letter-spacing: .16em; color: var(--white); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 18px; padding-bottom: 24px; border-top: 1px solid #22356B; font-size: 13px; color: #B7C0DD; }

/* Pagina squadra */
.page-hero { background: var(--soft); overflow: hidden; }
.page-hero .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 48px; align-items: center; padding-top: 56px; padding-bottom: 64px; }
.page-hero .framed img { aspect-ratio: 16 / 10; }
.crumbs { font-size: 14px; font-weight: 600; color: var(--muted); }
.crumbs a { color: var(--muted); }
.subnav { position: sticky; top: 0; z-index: 10; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 4px 16px rgba(11,31,77,.05); }
.subnav .wrap { display: flex; gap: 8px; overflow-x: auto; padding-top: 12px; padding-bottom: 12px; }
.subnav a { flex: none; padding: 0 18px; min-height: 44px; border-radius: 999px; background: var(--soft); display: inline-flex; align-items: center; font-weight: 700; }
.subnav a.active { background: var(--blue); color: var(--white); }

.role-group { margin-bottom: 40px; }
.role-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.role-head .d { font-size: 34px; }
.role-head .count { padding: 2px 10px; border-radius: 999px; background: var(--soft); font-weight: 800; }
.players { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 16px; }
.player { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--soft); }
.player .num { position: absolute; top: 10px; left: 16px; font-size: 64px; color: var(--white); z-index: 1; text-shadow: 0 2px 10px rgba(11,31,77,.25); }
.player .cap { position: absolute; top: 16px; right: 14px; z-index: 1; background: var(--c-s3); }
.player .photo { aspect-ratio: 4 / 5; overflow: hidden; }
.player .photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .35s; }
.player:hover .photo img { transform: scale(1.04); }
.staff .avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }
.player .info { padding: 16px 18px 18px; }
.player .info .d { font-size: 26px; display: block; margin-bottom: 6px; }
.player .info div { display: flex; justify-content: space-between; font-size: 14px; font-weight: 600; color: var(--muted); }

.staff-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; }
.staff { display: flex; align-items: center; gap: 16px; background: var(--white); border-radius: 20px; padding: 16px; }
.staff .avatar { flex: none; width: 76px; height: 76px; border-radius: 50%; background: var(--blue); color: var(--white); overflow: hidden; }
.staff .avatar .placeholder { font-size: 9px; }
.staff small { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.staff .d { font-size: 24px; display: block; }

.legend { display: flex; gap: 18px; flex-wrap: wrap; font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 24px; }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.legs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr)); gap: 28px; }
.leg { display: flex; flex-direction: column; gap: 8px; background: var(--soft); border-radius: 24px; padding: 20px; }
.leg > .d { font-size: 30px; padding: 4px 6px 8px; }
.cal-row { display: grid; grid-template-columns: 46px 70px 1fr auto; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 14px; background: var(--white); border-left: 6px solid; }
.cal-row.next { box-shadow: 0 0 0 2px var(--blue); }
.cal-row b { font-weight: 800; color: var(--muted); }
.cal-row .dt { display: flex; flex-direction: column; font-size: 14px; font-weight: 700; }
.cal-row .dt span { font-weight: 500; color: var(--muted); }
.cal-row .opp { display: flex; flex-direction: column; min-width: 0; }
.cal-row .opp strong { font-size: 16px; }
.cal-row .opp span { font-size: 13px; color: var(--muted); }
.cal-row .res { font-size: 24px; font-style: normal; color: var(--blue); text-align: right; min-width: 40px; }

.table-wrap { background: var(--white); border-radius: 24px; overflow-x: auto; }
.standings { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 480px; }
.standings th { padding: 14px 16px; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border-bottom: 2px solid var(--line); text-align: center; }
.standings th:nth-child(-n+2), .standings td:nth-child(-n+2) { text-align: left; }
.standings td { padding: 13px 16px; border-bottom: 1px solid var(--line-soft); text-align: center; }
.standings tr.me { background: #E6F3D4; font-weight: 800; }
.empty { padding: 32px; text-align: center; color: var(--muted); }

.jersey { display: flex; flex-direction: column; gap: 12px; }
.jersey .placeholder { height: 360px; border-radius: 24px; }
.jersey .d { font-size: 24px; }

/* Pagina partite */
.filters { position: sticky; top: 0; z-index: 10; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 4px 16px rgba(11,31,77,.05); }
.filters .wrap { display: flex; flex-direction: column; gap: 12px; padding-top: 16px; padding-bottom: 16px; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 2px solid var(--line); background: var(--white); color: var(--ink); font: 800 17px var(--font-display); text-transform: uppercase; letter-spacing: .03em; cursor: pointer; }
.chip[aria-pressed="true"] { border-color: var(--chip, var(--ink)); background: var(--chip, var(--ink)); color: var(--chip-fg, var(--white)); }
.chip[aria-pressed="true"] .dot { background: var(--chip-fg, var(--white)) !important; }
.segmented { display: flex; gap: 4px; flex-wrap: wrap; background: var(--soft); border-radius: 999px; padding: 4px; }
.segmented button { min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; color: var(--ink); font: 500 15px var(--font-body); cursor: pointer; }
.segmented button[aria-pressed="true"] { background: var(--white); font-weight: 700; box-shadow: 0 2px 8px rgba(11,31,77,.12); }
.filters-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: center; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; min-width: min(100%, 440px); }
.kpis div { background: var(--white); border-radius: 18px; padding: 16px 18px; }
.kpis b { display: block; font-family: var(--font-display); font-size: 46px; font-weight: 800; line-height: 1; }
.kpis span { font-size: 13px; font-weight: 700; color: var(--muted); }
.month { display: flex; flex-direction: column; gap: 10px; margin-bottom: 36px; }
.month-head { display: flex; align-items: baseline; justify-content: space-between; padding: 0 4px 6px; }
.month-head .d { font-size: 40px; }
.month-head span { font-size: 14px; font-weight: 700; color: var(--muted); }
.game { display: grid; grid-template-columns: 84px 160px minmax(0, 1fr) 100px; gap: 18px; align-items: center; padding: 14px 18px; border-radius: 18px; background: var(--white); transition: box-shadow .2s; }
.game:hover { box-shadow: 0 10px 26px rgba(11,31,77,.10); }
.game .day { display: flex; flex-direction: column; align-items: center; padding: 8px 0; border-radius: 14px; }
.game .day small { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.game .day .d { font-size: 32px; font-style: normal; }
.game .day span { font-size: 13px; font-weight: 700; color: var(--muted); }
.game .cat { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.game .cat small { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.game .vs { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.game .vs strong { font-size: 17px; }
.game .vs strong em { font-style: normal; font-weight: 500; color: var(--muted); }
.game .vs span { font-size: 14px; color: var(--muted); }
.game .out { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.game .out .d { font-size: 28px; font-style: normal; }

/* Responsive */
@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); flex-direction: column; align-items: stretch; padding: 12px 16px 20px; box-shadow: 0 20px 30px rgba(11,31,77,.12); }
  .nav.open { display: flex; }
  .nav .btn { margin: 8px 0 0; }
  .dropdown-menu { position: static; display: flex; box-shadow: none; padding: 0 0 0 12px; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .section { padding: 64px 0; }
  .collage { min-height: 380px; }
  .collage .f1 { height: 230px; } .collage .f2 { height: 150px; } .collage .f3 { height: 140px; }
  .form { grid-template-columns: 1fr; padding: 22px; }
  .result-row { grid-template-columns: 80px 1fr auto 28px; }
  .game { grid-template-columns: 70px 1fr; }
  .game .vs { grid-column: 1 / -1; }
  .game .out { grid-column: 1 / -1; justify-content: flex-start; }
  .cal-row { grid-template-columns: 38px 62px 1fr; }
  .cal-row .res { grid-column: 3; text-align: left; }
  .values { grid-template-columns: 1fr; }
  .players { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .player .num { font-size: 44px; }
  .player .info .d { font-size: 20px; }
  .framed::before { inset: 14px -6px -10px 14px; }
  .kpis { min-width: 0; width: 100%; }
}
