/* Play In Verona — foglio di stile (versione 2)
   Club house del tennis: verde profondo, bianco caldo, righe del campo,
   serif da stemma (Bodoni Moda) e numeri da tabellone (Barlow Condensed). */

@font-face { font-family: "Bodoni Moda"; src: url("../assets/fonts/bodoni-moda-latin-opsz.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../assets/fonts/barlow-latin-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../assets/fonts/barlow-latin-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../assets/fonts/barlow-latin-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../assets/fonts/barlow-condensed-latin-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../assets/fonts/barlow-condensed-latin-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --g-950: #061c14;
  --g-900: #0a291e;
  --g-800: #0d3527;
  --g-700: #1d4a38;
  --g-500: #3f6b57;
  --sage: #c8d3c1;
  --sage-soft: #e3e9dc;
  --white: #f7f4ec;
  --paper: #fbf9f3;
  --ink: #12251d;
  --ink-soft: #3b4f45;
  --ball: #d8df5a;
  --ball-ink: #0a291e;
  --ok: #8fd18b;
  --ok-dark: #2b7f37;
  --line-d: rgba(13, 53, 39, .2);
  --line-l: rgba(247, 244, 236, .26);

  --serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --cond: "Barlow Condensed", "Arial Narrow", sans-serif;

  --t-xs: .8125rem;
  --t-sm: .9375rem;
  --t-base: 1.0625rem;
  --t-md: 1.3125rem;
  --t-lg: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem);
  --t-xl: clamp(2.3rem, 1.3rem + 3.6vw, 4rem);
  --t-hero: clamp(3rem, 1.2rem + 7.4vw, 8.2rem);

  --gutter: clamp(1rem, .4rem + 2.6vw, 2.75rem);
  --sec: clamp(4.5rem, 3rem + 7vw, 9.5rem);
  --max: 1320px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --hd: 64px;
}
/* temi per la demo: ?tema=... */
[data-tema="wimbledon"] { --g-950: #12081f; --g-900: #1d0f30; --g-800: #2b1747; --g-700: #46306a; --g-500: #6d5a8c; --ball: #b9e07a; --sage: #d6cfe4; --sage-soft: #ebe6f2; }
[data-tema="cemento"] { --g-950: #07142a; --g-900: #0c1f3d; --g-800: #13294b; --g-700: #284368; --g-500: #4b6588; --ball: #e7ea5c; --sage: #c9d4e3; --sage-soft: #e4ebf3; }
[data-tema="terra"] { --g-950: #230b05; --g-900: #33130a; --g-800: #4a1d12; --g-700: #6d3424; --g-500: #93584a; --ball: #f2b46a; --sage: #e4cfc3; --sage-soft: #f1e5dc; --white: #faf3ea; --paper: #fcf8f2; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hd) + 1rem); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: var(--t-base); line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p, dl, dd, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ball); outline-offset: 3px; box-shadow: 0 0 0 5px var(--g-900); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 200; background: var(--white); color: var(--g-900); padding: .75rem 1rem; }
.skip:focus { top: 1rem; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- tipografia comune ---------- */
.h2 { font-family: var(--serif); font-size: var(--t-xl); line-height: 1; letter-spacing: -.02em; font-variation-settings: "opsz" 96; font-weight: 500; text-wrap: balance; }
.lead { font-size: var(--t-md); line-height: 1.55; max-width: 40rem; }
.hl { font-style: normal; white-space: nowrap; background: linear-gradient(var(--ball), var(--ball)) 0 88% / 100% .1em no-repeat; padding-inline: .03em; }
.link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; text-decoration: underline; }
.link:hover { text-decoration-thickness: 2px; }
.link-btn { background: none; border: 0; padding: 0; min-height: 44px; cursor: pointer; text-decoration: underline; text-underline-offset: .2em; font-weight: 500; }

/* ---------- pulsanti (arrotondati come palline, il resto ha spigoli) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  min-height: 48px; padding: .7rem 1.4rem; border-radius: 999px; border: 1.5px solid transparent;
  font-family: var(--sans); font-size: var(--t-sm); font-weight: 600; line-height: 1.15; letter-spacing: .01em;
  text-decoration: none; text-align: center; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 56px; padding: .9rem 1.75rem; font-size: var(--t-base); }
.btn-ball { background: var(--ball); color: var(--ball-ink); }
.btn-ball:hover { background: var(--white); }
.btn-line-light { border-color: var(--line-l); color: var(--white); background: transparent; }
.btn-line-light:hover { border-color: var(--white); background: rgba(247, 244, 236, .08); }
.btn-green, .btn-dark { background: var(--g-800); color: var(--white); }
.btn-green:hover, .btn-dark:hover { background: var(--g-950); }
.btn-line, .btn-outline-dark { border-color: var(--g-800); color: var(--g-800); background: transparent; }
.btn-line:hover, .btn-outline-dark:hover { background: var(--g-800); color: var(--white); }

/* ---------- barra annuncio ---------- */
.announce { background: var(--ball); color: var(--ball-ink); font-size: var(--t-xs); font-weight: 600; }
.announce p { min-height: 36px; display: flex; align-items: center; justify-content: center; text-align: center; padding-block: .35rem; }
.announce a { text-decoration: none; display: inline-flex; align-items: center; min-height: 32px; }
.announce a:hover { text-decoration: underline; }

/* ---------- header ---------- */
.hd { position: sticky; top: 0; z-index: 70; background: var(--g-900); color: var(--white); border-bottom: 1px solid var(--line-l); }
.hd-in { display: flex; align-items: center; gap: clamp(.75rem, 2vw, 2rem); min-height: var(--hd); }
.hd-logo { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; min-height: 44px; }
.hd-logo img { width: 40px; height: auto; }
.hd-name { font-family: var(--serif); font-size: 1.15rem; font-weight: 500; letter-spacing: -.01em; white-space: nowrap; }
.status { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; font-family: var(--cond); font-weight: 500; font-size: var(--t-sm); letter-spacing: .02em; text-decoration: none; color: var(--sage); white-space: nowrap; }
.status-dot { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid currentColor; flex: none; }
.status.is-open .status-dot { background: var(--ok); border-color: var(--ok); box-shadow: 0 0 0 4px rgba(143, 209, 139, .18); }
.hd-nav { display: none; margin-left: auto; gap: clamp(1rem, 1.8vw, 2rem); }
.hd-nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--t-sm); font-weight: 500; text-decoration: none; background: linear-gradient(var(--ball), var(--ball)) 0 calc(100% - 9px) / 0 2px no-repeat; transition: background-size .25s var(--ease); }
.hd-nav a:hover { background-size: 100% 2px; }
.hd-call { display: none; min-height: 40px; padding: .5rem 1.1rem; }
.hd-menu { margin-left: auto; display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; min-width: 44px; padding: .4rem 0 .4rem .6rem; background: none; border: 0; cursor: pointer; font-weight: 600; font-size: var(--t-sm); }
.hd-menu-bars, .hd-menu-bars::before { display: block; width: 22px; height: 1.5px; background: currentColor; position: relative; }
.hd-menu-bars::before { content: ""; position: absolute; top: 6px; width: 14px; }
.hd-menu-bars { transform: translateY(-3px); }
@media (max-width: 560px) { .hd-name { display: none; } }
@media (max-width: 340px) { .status { font-size: var(--t-xs); } }
@media (min-width: 1040px) {
  .hd-nav { display: flex; }
  .hd-call { display: inline-flex; }
  .hd-menu { display: none; }
  .status { margin-left: .5rem; }
}

/* ---------- menu a tutto schermo ---------- */
.menu { position: fixed; inset: 0; z-index: 120; background: var(--g-950); color: var(--white); overflow-y: auto; }
.menu[hidden] { display: none; }
.menu-in { min-height: 100%; display: flex; flex-direction: column; padding: 0 var(--gutter) calc(1.5rem + env(safe-area-inset-bottom, 0px)); }
.menu-top { display: flex; align-items: center; justify-content: space-between; min-height: var(--hd); border-bottom: 1px solid var(--line-l); }
.menu-title { font-family: var(--serif); font-size: 1.15rem; }
.menu-close { min-height: 44px; padding: 0 .2rem; background: none; border: 0; cursor: pointer; font-weight: 600; text-decoration: underline; text-underline-offset: .2em; }
.menu-grid { flex: 1; display: grid; gap: 2rem; align-content: center; padding-block: 2rem; }
.menu-list a { display: flex; align-items: baseline; gap: 1rem; padding: .5rem 0; min-height: 56px; text-decoration: none; font-family: var(--serif); font-size: clamp(2rem, 1.2rem + 4vw, 4.2rem); line-height: 1.05; letter-spacing: -.02em; border-bottom: 1px solid var(--line-l); }
.menu-n { font-family: var(--cond); font-size: var(--t-sm); color: var(--ball); letter-spacing: .04em; transform: translateY(-.6em); }
.menu-list a:hover, .menu-list a:focus-visible { color: var(--ball); }
.menu-preview { display: none; }
.menu-foot { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; padding-top: 1.5rem; border-top: 1px solid var(--line-l); }
.menu-addr { width: 100%; color: var(--sage); font-size: var(--t-sm); }
@media (min-width: 900px) {
  .menu-grid { grid-template-columns: 1.3fr .7fr; align-items: center; gap: 4rem; }
  .menu-preview { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--g-800); }
  .menu-preview img { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s var(--ease); }
  .menu-preview img.is-swap { opacity: 0; }
}

/* ---------- apertura ---------- */
.hero { position: relative; min-height: calc(100svh - var(--hd) - 36px); display: flex; align-items: flex-end; background: var(--g-800); color: var(--white); overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; background: #070b09 url("../assets/img/hero-poster-480.webp") center / cover no-repeat; }
.hero-video { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 12, 9, 0) 0%, rgba(6, 12, 9, .1) 30%, rgba(8, 26, 19, .82) 58%, var(--g-900) 100%); }
.video-toggle { position: absolute; z-index: 2; right: var(--gutter); top: 1rem; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; background: rgba(10, 41, 30, .7); color: var(--white); }
.video-toggle-icon { width: 12px; height: 14px; border-inline: 4px solid currentColor; }
.video-toggle[aria-pressed="true"] .video-toggle-icon { width: 0; height: 0; border: 0; margin-left: 4px; border-left: 12px solid currentColor; border-block: 7px solid transparent; }
.hero-court { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; fill: none; stroke: rgba(247, 244, 236, .22); stroke-width: 1.5; pointer-events: none; }
.hero-court * { vector-effect: non-scaling-stroke; }
.hero-in { position: relative; padding-top: 34svh; padding-bottom: clamp(2rem, 6vw, 4.5rem); }
.hero-kicker { font-family: var(--cond); font-weight: 500; font-size: var(--t-base); letter-spacing: .04em; color: var(--sage); margin-bottom: 1rem; }
.hero-title { font-family: var(--serif); font-size: var(--t-hero); line-height: .94; letter-spacing: -.025em; font-weight: 500; font-variation-settings: "opsz" 96; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero-title .line > span { display: inline-block; }
.hero-lead { margin-top: 1.5rem; max-width: 34rem; font-size: var(--t-md); line-height: 1.5; color: rgba(247, 244, 236, .9); }
.hero-cta { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-facts { margin-top: 1.25rem; display: flex; flex-wrap: wrap; gap: 0 1.75rem; font-size: var(--t-sm); }
.hero-facts a { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; color: var(--sage); }
.hero-facts strong { font-family: var(--cond); font-size: 1.25rem; font-weight: 600; color: var(--white); }
@media (max-width: 520px) { .hero-cta .btn { width: 100%; } }
@media (min-width: 900px) {
  .hero { align-items: center; }
  .hero-media { left: auto; width: min(40vw, 620px); }
  .hero-media::after { background: linear-gradient(90deg, var(--g-800) 0%, rgba(13, 53, 39, .55) 14%, rgba(13, 53, 39, 0) 40%); }
  .hero-in { padding-top: clamp(3rem, 8vh, 6rem); padding-bottom: clamp(3rem, 8vh, 6rem); }
  .hero-title { max-width: 11.5ch; }
  .hero-court line:first-child { display: none; }
}
@media (orientation: landscape) and (max-height: 520px) {
  .hero { min-height: auto; align-items: center; }
  .hero-in { padding-top: 2.5rem; padding-bottom: 2.5rem; }
  .hero-media { left: auto; width: 34vw; }
  .hero-media::after { background: linear-gradient(90deg, var(--g-800), rgba(13, 53, 39, .1) 45%); }
  .hero-title { font-size: clamp(2.4rem, 7vw, 3.6rem); max-width: 12ch; }
  .hero-lead { max-width: 52vw; font-size: var(--t-base); }
  .hero-cta .btn { width: auto; }
}

/* ---------- nastro marchi ---------- */
.ticker { background: var(--g-950); color: var(--white); overflow: hidden; border-block: 1px solid var(--line-l); }
.ticker-track { display: flex; width: max-content; }
.ticker-group { display: flex; align-items: center; flex: none; }
.ticker-item { display: inline-flex; align-items: center; gap: 1.6rem; padding: 1.05rem 0 1.05rem 1.6rem; font-family: var(--cond); font-weight: 600; font-size: clamp(1.15rem, .9rem + 1vw, 1.6rem); letter-spacing: .03em; white-space: nowrap; }
.ticker-item::after { content: ""; width: 11px; height: 11px; border-radius: 50%; background: var(--ball); flex: none; }
@media (prefers-reduced-motion: no-preference) {
  .ticker-track.is-running { animation: tick 46s linear infinite; }
  .ticker:hover .ticker-track { animation-play-state: paused; }
}
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- presentazione ---------- */
.intro { padding-block: var(--sec); }
.intro-grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
.intro .h2 { color: var(--g-800); max-width: 13ch; }
.intro .lead { margin-top: 1.5rem; color: var(--ink-soft); }
.intro-copy > p:last-child { margin-top: 1.25rem; max-width: 40rem; color: var(--ink-soft); }
.intro-copy a { color: var(--g-800); font-weight: 600; }
.board { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 2px solid var(--g-800); }
.board > div { padding: 1.1rem 0 1.25rem; border-bottom: 1px solid var(--line-d); display: flex; flex-direction: column-reverse; justify-content: flex-end; }
.board > div:nth-child(odd) { border-right: 1px solid var(--line-d); padding-right: 1rem; }
.board > div:nth-child(even) { padding-left: 1.25rem; }
.board dd { font-family: var(--cond); font-weight: 600; font-size: clamp(3.2rem, 2rem + 4vw, 5.5rem); line-height: .9; color: var(--g-800); font-variant-numeric: tabular-nums; }
.board dt { margin-top: .4rem; font-size: var(--t-sm); color: var(--ink-soft); }
.intro-photos { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); }
.ph { overflow: hidden; background: var(--g-800); }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph-a { grid-column: 1 / 10; grid-row: 1; aspect-ratio: 4 / 5; }
.ph-b { grid-column: 7 / 13; grid-row: 1; align-self: end; aspect-ratio: 4 / 5; transform: translateY(18%); outline: 10px solid var(--paper); }
@media (min-width: 960px) {
  .intro-grid { grid-template-columns: repeat(12, 1fr); align-items: start; row-gap: 3.5rem; }
  .intro-copy { grid-column: 1 / 7; }
  .board { grid-column: 1 / 7; }
  .intro-photos { grid-column: 8 / 13; grid-row: 1 / span 2; margin-top: 1rem; }
}
@media (max-width: 959px) { .intro-photos { margin-bottom: 18%; max-width: 620px; } }

/* ---------- prepara la borsa ---------- */
.bag { background: var(--g-900); color: var(--white); padding-block: var(--sec); position: relative; overflow: clip; }
.bag::before { content: ""; position: absolute; inset: 1.25rem; border: 1.5px solid var(--line-l); pointer-events: none; }
@media (max-width: 899px) { .bag::before { display: none; } }
.bag .wrap { position: relative; z-index: 1; }
.bag .h2 { max-width: 12ch; }
.bag .lead { margin-top: 1.25rem; color: rgba(247, 244, 236, .86); }
.bag-grid { margin-top: clamp(2.5rem, 5vw, 4rem); display: grid; gap: 2rem; }
.bag-steps { min-width: 0; }
.stepper { display: flex; gap: .4rem; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter); }
.stepper::-webkit-scrollbar { display: none; }
.stepper button { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .35rem .9rem .35rem .4rem; border-radius: 999px; border: 1.5px solid var(--line-l); background: transparent; cursor: pointer; white-space: nowrap; font-size: var(--t-sm); color: var(--sage); }
.stepper button[disabled] { cursor: default; opacity: .5; }
.stepper .n { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid currentColor; font-family: var(--cond); font-weight: 600; }
.stepper button[aria-current="step"] { background: var(--white); color: var(--g-900); border-color: var(--white); }
.stepper button.is-done .n { background: var(--ball); color: var(--ball-ink); border-color: var(--ball); }
.bag-panels { margin-top: 1.75rem; min-height: 22rem; }
.panel[hidden] { display: none; }
.panel:focus { outline: none; }
.panel-title { font-family: var(--serif); font-size: var(--t-lg); line-height: 1.15; font-weight: 500; }
.panel-sub { margin-top: .5rem; color: var(--sage); max-width: 36rem; }
.sport-pick { margin-top: 1.5rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: .9rem; max-width: 640px; }
.sport { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border: 0; padding: 0; cursor: pointer; background: var(--g-800); color: var(--white); text-align: left; }
.sport img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.sport span { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem 1rem 1rem; background: linear-gradient(transparent, rgba(6, 28, 20, .92)); font-family: var(--serif); font-weight: 500; font-size: clamp(1.6rem, 1.2rem + 2vw, 2.6rem); line-height: 1; }
.sport[aria-checked="true"] { outline: 3px solid var(--ball); outline-offset: 3px; }
@media (hover: hover) { .sport:hover img { transform: scale(1.04); } }
.opts { margin-top: 1.5rem; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 44%); gap: .9rem; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; padding: 4px var(--gutter) .75rem; margin-inline: calc(var(--gutter) * -1); scroll-padding-inline: var(--gutter); scrollbar-width: thin; scrollbar-color: var(--g-500) transparent; }
.opt { scroll-snap-align: start; display: flex; flex-direction: column; text-align: left; padding: 0; border: 0; background: none; cursor: pointer; color: var(--white); min-width: 0; }
.opt-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--g-800); outline: 1.5px solid var(--line-l); outline-offset: -1.5px; }
.opt-media img { width: 100%; height: 100%; object-fit: cover; }
.opt-media .tile b { font-size: 1.1rem; }
.opt-check { position: absolute; z-index: 1; top: .6rem; right: .6rem; width: 30px; height: 30px; border-radius: 50%; background: rgba(6, 28, 20, .65); border: 1.5px solid var(--white); }
.opt[aria-checked="true"] .opt-media, .opt[aria-pressed="true"] .opt-media { outline: 3px solid var(--ball); outline-offset: -3px; }
.opt[aria-checked="true"] .opt-check, .opt[aria-pressed="true"] .opt-check { background: var(--ball); border-color: var(--ball); }
.opt[aria-checked="true"] .opt-check::after, .opt[aria-pressed="true"] .opt-check::after { content: ""; position: absolute; left: 9px; top: 4px; width: 8px; height: 14px; border: solid var(--ball-ink); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.opt-meta { margin-top: .6rem; font-family: var(--cond); font-weight: 500; font-size: var(--t-sm); letter-spacing: .03em; color: var(--sage); }
.opt-name { font-family: var(--serif); font-size: 1.05rem; line-height: 1.25; font-weight: 500; }
.opt-advice .opt-media { background: transparent; outline-style: dashed; }
.opt-advice .tile { background: transparent; }
.bag-nav { margin-top: 1.75rem; display: flex; justify-content: space-between; gap: .75rem; }
.bag-nav .is-hidden { visibility: hidden; }
.summary-list { margin-top: 1.25rem; border-top: 1px solid var(--line-l); max-width: 40rem; }
.summary-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--line-l); }
.summary-list span:first-child { color: var(--sage); font-family: var(--cond); font-weight: 500; letter-spacing: .03em; flex: none; }
.summary-list span:last-child { text-align: right; font-family: var(--serif); }
.summary-actions { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: .75rem; }

/* borsa (riepilogo) */
.case { position: relative; padding: 1.25rem; border: 1.5px solid var(--line-l); border-radius: 32px; background: rgba(6, 28, 20, .45); }
.case::before { content: ""; position: absolute; left: 50%; top: -11px; width: 38%; height: 20px; transform: translateX(-50%); border: 1.5px solid var(--line-l); border-bottom: 0; border-radius: 14px 14px 0 0; }
.case-title { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-family: var(--serif); font-size: 1.35rem; font-weight: 500; }
.case-count { font-family: var(--cond); font-size: var(--t-sm); letter-spacing: .03em; color: var(--ball); white-space: nowrap; }
.case-slots { margin-top: 1rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; }
.slot { position: relative; aspect-ratio: 4 / 5; border: 1.5px dashed var(--line-l); display: grid; place-items: center; text-align: center; padding: .25rem; font-family: var(--cond); font-size: var(--t-xs); letter-spacing: .03em; color: var(--sage); overflow: hidden; }
.slot.is-full { border-style: solid; border-color: var(--ball); color: var(--white); }
.slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slot-text { position: relative; z-index: 1; font-family: var(--serif); font-size: .9rem; line-height: 1.15; padding: .2rem; }
.slot-label { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: .2rem .25rem; background: rgba(6, 28, 20, .85); color: var(--white); font-size: .75rem; line-height: 1.2; }
.case-actions { margin-top: 1rem; display: grid; gap: .6rem; }
.fly { position: fixed; z-index: 150; pointer-events: none; object-fit: cover; transform-origin: 0 0; will-change: transform, opacity; }
@media (min-width: 960px) {
  .bag-grid { grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(2rem, 4vw, 4rem); align-items: start; }
  .bag-case { position: sticky; top: calc(var(--hd) + 2rem); }
  .case-slots { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
  .opts { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; margin-inline: 0; padding-inline: 0; }
}
@media (min-width: 1240px) { .opts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* piatto corde */
.strings { margin-top: 1.5rem; display: grid; gap: 1.5rem; align-items: center; }
.racquet { width: min(100%, 280px); margin-inline: auto; overflow: visible; touch-action: pan-y; cursor: crosshair; }
.racquet-frame, .racquet-frame-in { fill: none; stroke: var(--white); vector-effect: non-scaling-stroke; }
.racquet-frame { stroke-width: 3; stroke-linecap: round; }
.racquet-frame-in { stroke-width: 1; stroke: rgba(247, 244, 236, .45); }
.racquet-strings path { fill: none; stroke: rgba(247, 244, 236, .78); stroke-width: 1.3; vector-effect: non-scaling-stroke; }
.racquet-strings path.is-live { stroke: var(--ball); }
.tension { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: .25rem 1rem; max-width: 30rem; }
.tension label { font-weight: 600; color: var(--sage); }
.tension output { font-family: var(--cond); font-weight: 600; font-size: clamp(2.6rem, 2rem + 2vw, 3.6rem); line-height: 1; font-variant-numeric: tabular-nums; }
.tension input { grid-column: 1 / -1; width: 100%; height: 44px; margin: 0; accent-color: var(--ball); cursor: pointer; background: transparent; }
.tension-scale { grid-column: 1 / -1; display: flex; justify-content: space-between; font-family: var(--cond); font-size: var(--t-xs); color: var(--sage); }
.tension-effect { margin-top: 1rem; font-family: var(--serif); font-size: 1.2rem; line-height: 1.4; min-height: 4.2em; max-width: 32rem; }
.tension-note { margin-top: .5rem; font-size: var(--t-sm); color: var(--sage); max-width: 32rem; }
.choice-row { margin-top: 1.25rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.pill { min-height: 44px; padding: .5rem 1rem; border-radius: 999px; border: 1.5px solid var(--line-l); background: transparent; cursor: pointer; font-size: var(--t-sm); color: var(--white); }
.pill[aria-checked="true"] { background: var(--ball); color: var(--ball-ink); border-color: var(--ball); }
@media (min-width: 720px) { .strings { grid-template-columns: 260px 1fr; } .racquet { margin: 0; } }

/* riquadro grafico per voci senza foto */
.tile { position: absolute; inset: 0; display: grid; place-items: center; color: var(--white); background: var(--g-800); }
.tile svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: rgba(247, 244, 236, .3); stroke-width: 1; }
.tile svg * { vector-effect: non-scaling-stroke; }
.tile b { position: relative; padding: .3rem .7rem; max-width: 84%; background: var(--g-800); text-align: center; font-family: var(--serif); font-weight: 500; font-size: clamp(1.05rem, .85rem + 1vw, 1.45rem); line-height: 1.15; }

/* ---------- reparti ---------- */
.depts { padding-block: var(--sec); }
.depts .h2 { color: var(--g-800); max-width: 14ch; }
.depts .lead { margin-top: 1.25rem; color: var(--ink-soft); }
.depts-grid { margin-top: clamp(2.5rem, 5vw, 4rem); display: grid; gap: 2.5rem 1.5rem; counter-reset: d; }
.dept { display: flex; flex-direction: column; min-width: 0; }
.dept-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--g-800); }
.dept-media img { width: 100%; height: 100%; object-fit: cover; }
.dept-media::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1.5px rgba(247, 244, 236, .35); outline: 0; pointer-events: none; }
.dept-body { position: relative; display: flex; flex-direction: column; flex: 1; padding-top: 1.1rem; border-top: 2px solid var(--g-800); margin-top: 1rem; }
.dept-n { font-family: var(--cond); font-weight: 600; font-size: var(--t-base); color: var(--g-500); letter-spacing: .04em; }
.dept-name { margin-top: .15rem; font-family: var(--serif); font-weight: 500; font-size: var(--t-lg); line-height: 1.1; color: var(--g-800); }
.dept-text { margin-top: .6rem; color: var(--ink-soft); max-width: 30rem; }
.dept-brands { margin-top: .75rem; font-family: var(--cond); font-weight: 500; font-size: var(--t-base); letter-spacing: .03em; color: var(--g-800); }
.dept-cta { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding-top: .75rem; font-size: var(--t-sm); font-weight: 600; color: var(--g-800); text-decoration: underline; }
.dept-cta::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok-dark); flex: none; }
.dept-cta:hover { text-decoration-thickness: 2px; }
@media (hover: hover) {
  .dept-media img { transition: transform .9s var(--ease); }
  .dept:hover .dept-media img { transform: scale(1.04); }
}
@media (min-width: 700px) { .depts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) {
  .depts-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3.5rem 2rem; }
  .dept:nth-child(3n + 2) { margin-top: 4rem; }
}

/* ---------- marchi ---------- */
.brands { background: var(--g-800); color: var(--white); padding-block: clamp(3.5rem, 2rem + 5vw, 6.5rem); }
.brands-in { display: grid; gap: 2rem; }
.brands-title { font-family: var(--serif); font-weight: 500; font-size: var(--t-lg); line-height: 1.1; }
.brands-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line-l); border-left: 1px solid var(--line-l); }
.brands-grid li { display: grid; place-items: center; min-height: 84px; padding: 1rem .5rem; text-align: center; border-right: 1px solid var(--line-l); border-bottom: 1px solid var(--line-l); font-family: var(--cond); font-weight: 600; font-size: clamp(1.15rem, .9rem + 1vw, 1.7rem); letter-spacing: .04em; }
.brands-note { color: var(--sage); font-size: var(--t-sm); }
.brands-note a { color: var(--white); font-weight: 600; }
@media (min-width: 600px) { .brands-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 960px) {
  .brands-in { grid-template-columns: 1fr 3fr; align-items: start; column-gap: 3rem; }
  .brands-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); grid-column: 2; grid-row: 1 / span 2; }
  .brands-grid li { min-height: 110px; }
}

/* ---------- servizi ---------- */
.services { padding-block: var(--sec); }
.services-grid { display: grid; gap: 2rem; }
.services .h2 { color: var(--g-800); }
.services .lead { margin-top: 1rem; color: var(--ink-soft); }
.svc-list { border-top: 2px solid var(--g-800); }
.svc { display: grid; grid-template-columns: 2.5rem 1fr auto; gap: .25rem 1rem; align-items: center; padding: 1.25rem 0; border-bottom: 1px solid var(--line-d); }
.svc-n { font-family: var(--cond); font-weight: 600; font-size: var(--t-base); color: var(--g-500); align-self: start; padding-top: .2rem; }
.svc-name { font-family: var(--serif); font-weight: 500; font-size: var(--t-md); line-height: 1.25; color: var(--g-800); }
.svc-text { margin-top: .25rem; color: var(--ink-soft); font-size: var(--t-sm); max-width: 34rem; }
.svc-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .4rem 1.1rem; border-radius: 999px; border: 1.5px solid var(--g-800); color: var(--g-800); font-size: var(--t-sm); font-weight: 600; text-decoration: none; }
.svc-cta:hover { background: var(--g-800); color: var(--white); }
@media (max-width: 480px) { .svc { grid-template-columns: 2rem 1fr; } .svc-cta { grid-column: 2; justify-self: start; margin-top: .5rem; } }
@media (min-width: 900px) { .services-grid { grid-template-columns: .8fr 1.2fr; gap: 4rem; align-items: start; } }

/* ---------- laboratorio ---------- */
.lab { background: var(--white); }
.lab-banner { position: relative; height: clamp(320px, 58vw, 700px); overflow: hidden; background: var(--sage); display: grid; place-items: center; }
.lab-banner picture, .lab-banner img { position: absolute; inset: 0; width: 100%; height: 100%; }
.lab-banner img { object-fit: cover; object-position: center 40%; }
.lab-banner::after { content: ""; position: absolute; inset: 0; background: rgba(10, 41, 30, .42); }
.lab-word { position: relative; z-index: 1; color: var(--white); text-align: center; font-family: var(--serif); font-weight: 500; font-variation-settings: "opsz" 96; line-height: .86; letter-spacing: -.03em; font-size: clamp(3rem, .6rem + 11vw, 11.5rem); padding-inline: var(--gutter); }
.lab-word span { display: block; }
.lab-word span:last-child { font-family: var(--cond); font-weight: 600; letter-spacing: .1em; font-size: .6em; color: var(--ball); margin-top: .1em; }
.lab-grid { padding-block: clamp(3rem, 6vw, 5.5rem) var(--sec); }
.lab-lead { color: var(--ink-soft); }
.lab-steps { margin-top: clamp(2.5rem, 5vw, 4rem); display: grid; grid-auto-flow: column; grid-auto-columns: 70%; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 1rem; scroll-padding-inline: var(--gutter); counter-reset: s; }
.lab-steps li { scroll-snap-align: start; counter-increment: s; }
.lab-steps picture { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--sage); }
.lab-steps img { width: 100%; height: 100%; object-fit: cover; }
.lab-steps h3 { margin-top: 1rem; display: flex; gap: .7rem; align-items: baseline; font-family: var(--serif); font-size: var(--t-md); font-weight: 500; line-height: 1.25; color: var(--g-800); }
.lab-steps h3::before { content: counter(s, decimal-leading-zero); font-family: var(--cond); font-weight: 600; font-size: var(--t-base); color: var(--g-500); }
.lab-steps p { margin-top: .4rem; color: var(--ink-soft); font-size: var(--t-sm); }
.lab-cta { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: .75rem; }
@media (min-width: 760px) { .lab-steps { grid-auto-flow: row; grid-template-columns: repeat(2, 1fr); overflow: visible; margin-inline: 0; padding-inline: 0; gap: 2.5rem 1.5rem; } }
@media (min-width: 1100px) {
  .lab-steps { grid-template-columns: repeat(4, 1fr); }
  .lab-steps li:nth-child(even) { margin-top: 4rem; }
}

/* ---------- recensioni ---------- */
.reviews { background: var(--sage-soft); padding-block: var(--sec); }
.reviews-grid { display: grid; gap: 3rem; }
.score-n { font-family: var(--cond); font-weight: 600; font-size: clamp(7rem, 4rem + 14vw, 15rem); line-height: .8; letter-spacing: -.02em; color: var(--g-800); }
.score-t { margin-top: 2rem; font-family: var(--serif); font-size: var(--t-lg); line-height: 1.2; color: var(--g-800); max-width: 16ch; font-weight: 500; }
.score .link { margin-top: .75rem; color: var(--g-800); }
.reviews-intro { font-size: var(--t-md); color: var(--ink-soft); }
.themes { margin-top: 1.25rem; border-top: 2px solid var(--g-800); }
.themes li { display: flex; gap: 1rem; align-items: baseline; padding: 1.1rem 0; border-bottom: 1px solid var(--line-d); font-family: var(--serif); font-size: var(--t-md); line-height: 1.35; color: var(--g-800); }
.themes li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--g-800); flex: none; transform: translateY(-.1rem); }
.reviews-src { margin-top: 1.25rem; font-size: var(--t-xs); color: var(--ink-soft); }
@media (min-width: 900px) { .reviews-grid { grid-template-columns: .9fr 1.1fr; gap: clamp(3rem, 7vw, 7rem); align-items: end; } }

/* ---------- domande ---------- */
.faq { padding-block: var(--sec); }
.faq-grid { display: grid; gap: 2rem; }
.faq .h2 { color: var(--g-800); }
.faq-list { border-top: 2px solid var(--g-800); }
.faq-list details { border-bottom: 1px solid var(--line-d); }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 60px; padding: 1rem 0; cursor: pointer; list-style: none; font-family: var(--serif); font-size: var(--t-md); line-height: 1.3; color: var(--g-800); font-weight: 500; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; flex: none; width: 12px; height: 12px; margin-right: .3rem; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); transition: transform .25s var(--ease); }
.faq-list details[open] summary::after { transform: translateY(3px) rotate(-135deg); }
.faq-list details p { padding: 0 0 1.25rem; max-width: 44rem; color: var(--ink-soft); }
@media (min-width: 900px) { .faq-grid { grid-template-columns: .8fr 1.2fr; gap: 4rem; align-items: start; } }

/* ---------- orari: tabellone ---------- */
.hours { background: var(--g-950); color: var(--white); padding-block: var(--sec); }
.hours-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem 2rem; }
.hours .h2 { max-width: 12ch; }
.status-big { font-size: var(--t-md); color: var(--white); }
.status-big .status-dot { width: 12px; height: 12px; }
.status-big.is-open .status-dot { background: var(--ok); border-color: var(--ok); }
.week { margin-top: clamp(2rem, 5vw, 3.5rem); border-top: 2px solid var(--line-l); font-variant-numeric: tabular-nums; }
.day { display: grid; grid-template-columns: 4.25rem 1fr; gap: .3rem 1rem; align-items: center; padding: .9rem .5rem; border-bottom: 1px solid var(--line-l); }
.day-name { font-family: var(--cond); font-weight: 600; font-size: 1.25rem; letter-spacing: .03em; }
.day-track { position: relative; height: 18px; background-image: repeating-linear-gradient(90deg, rgba(247, 244, 236, .16) 0 1px, transparent 1px 100%); background-size: calc(100% / 11) 100%; }
.day-span { position: absolute; top: 0; bottom: 0; background: var(--white); }
.day.is-today .day-span { background: var(--ball); }
.day-now { position: absolute; top: -7px; bottom: -7px; width: 2px; margin-left: -1px; background: var(--ok); }
.day-times { grid-column: 2; font-family: var(--cond); font-weight: 500; font-size: var(--t-sm); color: var(--sage); letter-spacing: .02em; }
.day.is-today { background: rgba(247, 244, 236, .06); }
.day.is-today .day-name { color: var(--ball); }
.week-scale { display: grid; grid-template-columns: 4.25rem 1fr; gap: 1rem; padding: .5rem .5rem 0; font-family: var(--cond); font-size: var(--t-xs); color: var(--sage); }
.week-scale div { display: flex; justify-content: space-between; }
.hours-note { margin-top: 1.5rem; font-size: var(--t-sm); color: var(--sage); }
@media (min-width: 760px) {
  .day { grid-template-columns: 7rem 1fr 13rem; }
  .day-times { grid-column: 3; text-align: right; }
  .week-scale { grid-template-columns: 7rem 1fr 13rem; }
}

/* ---------- dove siamo ---------- */
.where { padding-block: var(--sec); }
.where-grid { display: grid; gap: 2.5rem; }
.where .h2 { color: var(--g-800); }
.where-addr { margin-top: 1.5rem; font-family: var(--serif); font-size: var(--t-lg); line-height: 1.3; color: var(--g-800); }
.where .link { margin-top: .75rem; color: var(--g-800); }
.map { position: relative; min-height: 380px; background: var(--g-800); color: var(--white); overflow: hidden; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-ph { position: relative; min-height: 380px; height: 100%; display: grid; align-content: end; gap: 1.25rem; padding: clamp(1.5rem, 4vw, 2.5rem); }
.map-ph p { position: relative; max-width: 30rem; font-size: var(--t-sm); color: rgba(247, 244, 236, .88); }
.map-court { position: absolute; top: 1.5rem; left: 1.5rem; width: calc(100% - 3rem); height: calc(100% - 13rem); fill: none; stroke: rgba(247, 244, 236, .25); stroke-width: 1.5; }
.map-court circle { fill: var(--ball); stroke: none; }
.map-actions { position: relative; display: flex; flex-wrap: wrap; gap: .75rem; }
@media (min-width: 900px) { .where-grid { grid-template-columns: .8fr 1.2fr; align-items: stretch; } .map, .map-ph { min-height: 440px; } }

/* ---------- finale ---------- */
.final { background: var(--g-800); color: var(--white); padding-block: var(--sec); position: relative; overflow: hidden; }
.final .wrap { position: relative; }
.final-title { font-family: var(--serif); font-weight: 500; font-variation-settings: "opsz" 96; font-size: clamp(3rem, 1rem + 8.5vw, 9.5rem); line-height: .94; letter-spacing: -.03em; }
.final-cta { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- footer ---------- */
.ft, .site-footer { background: var(--g-950); color: var(--sage); padding: 4rem 0 2.5rem; font-size: var(--t-sm); }
.ft-grid, .footer-grid { display: grid; gap: 2rem; align-items: start; }
.ft-logo, .footer-logo { width: 84px; }
.ft-info a, .footer-info a { color: var(--white); }
.ft-legal { margin-top: .75rem; }
.ft-credit { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line-l); font-size: var(--t-xs); color: var(--sage); }
.ft-links, .footer-links { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; }
.ft-links a, .ft-links .link-btn, .footer-links a, .linklike { display: inline-flex; align-items: center; min-height: 44px; color: var(--white); background: none; border: 0; padding: 0; cursor: pointer; font-size: inherit; text-decoration: underline; text-underline-offset: .2em; }
@media (min-width: 760px) { .ft-grid, .footer-grid { grid-template-columns: auto 1fr auto; gap: 3rem; } }

/* ---------- barra azioni mobile ---------- */
.action-bar { display: none; }
@media (max-width: 1039px) {
  .action-bar { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(4, 1fr); background: var(--g-950); color: var(--white); padding-bottom: env(safe-area-inset-bottom, 0px); box-shadow: 0 -1px 0 var(--line-l); }
  .action-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .2rem; min-height: 60px; padding: .4rem .2rem; text-decoration: none; font-size: var(--t-xs); font-weight: 600; }
  .action-bar a + a { border-left: 1px solid var(--line-l); }
  .action-bar a:active { background: var(--g-800); }
  .action-bar svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
  .action-bar svg .fill { fill: currentColor; stroke: none; }
  body.has-action-bar { padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- movimento ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .hero-title .line > span { animation: up 1s var(--ease) both; }
  .js .hero-title .line:nth-child(2) > span { animation-delay: .12s; }
  .js .hero-lead, .js .hero-cta, .js .hero-facts { animation: fade .9s var(--ease) .35s both; }
  .js .hero .hl { animation: grow .7s var(--ease) .8s both; }
  .js .rv { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
  .js .rv.is-in { opacity: 1; transform: none; }
}
@keyframes up { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes grow { from { background-size: 0 .1em; } to { background-size: 100% .1em; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------- banner cookie ---------- */
.cc { position: fixed; z-index: 90; left: var(--gutter); right: var(--gutter); bottom: 1rem; max-width: 44rem; margin-inline: auto; background: var(--paper); color: var(--ink); border: 1px solid var(--line-d); box-shadow: 0 24px 60px -20px rgba(6, 28, 20, .5); padding: 1.5rem; font-size: var(--t-sm); }
.cc[hidden] { display: none; }
.cc-title { font-family: var(--serif); font-size: var(--t-md); color: var(--g-800); font-weight: 500; }
.cc-title:focus { outline: none; box-shadow: none; }
.cc-text { margin-top: .5rem; color: var(--ink-soft); }
.cc-text a { color: var(--g-800); font-weight: 600; }
.cc-actions { margin-top: 1.25rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.cc-actions .btn { width: 100%; padding-inline: .6rem; }
.cc-prefs { margin-top: 1.25rem; border-top: 1px solid var(--line-d); }
.cc-prefs[hidden] { display: none; }
.cc-pref { display: grid; grid-template-columns: 1fr auto; gap: .25rem 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line-d); }
.cc-pref-name { font-weight: 600; color: var(--g-800); }
.cc-pref-desc { grid-column: 1; color: var(--ink-soft); font-size: var(--t-xs); }
.cc-switch { grid-column: 2; grid-row: 1 / span 2; align-self: center; display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; cursor: pointer; }
.cc-switch input { width: 22px; height: 22px; accent-color: var(--g-800); cursor: pointer; }
.cc-save { margin-top: 1rem; }
@media (max-width: 480px) { .cc { padding: 1.25rem 1rem; } .cc-actions .btn { font-size: var(--t-xs); padding-inline: .3rem; } }
@media (max-width: 340px) { .cc-actions { grid-template-columns: 1fr; } }
@media (max-width: 1039px) { .has-action-bar .cc { bottom: calc(68px + env(safe-area-inset-bottom, 0px)); max-height: calc(100svh - 160px); overflow-y: auto; } }

/* ---------- pagine legali e 404 ---------- */
.legal-header { background: var(--g-900); color: var(--white); padding: 1rem 0; }
.legal-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.legal-header a { color: var(--white); }
.legal-header .brand-logo { width: 46px; }
.legal-back { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--t-sm); font-weight: 600; }
.legal { padding-block: clamp(3rem, 6vw, 5rem); }
.legal .wrap { max-width: 50rem; }
.legal h1 { font-family: var(--serif); font-size: var(--t-xl); line-height: 1.05; color: var(--g-800); font-weight: 500; }
.legal h2 { margin-top: 2.75rem; font-family: var(--serif); font-size: var(--t-lg); line-height: 1.2; color: var(--g-800); font-weight: 500; }
.legal h3 { margin-top: 1.75rem; font-weight: 600; font-size: var(--t-base); color: var(--g-800); }
.legal p, .legal ul, .legal table { margin-top: 1rem; }
.legal ul { list-style: disc; padding-left: 1.25rem; }
.legal li + li { margin-top: .4rem; }
.legal a { color: var(--g-800); font-weight: 600; }
.legal-updated { margin-top: 1rem; color: var(--ink-soft); font-size: var(--t-sm); }
.legal-table-wrap { overflow-x: auto; margin-top: 1rem; }
.legal table { width: 100%; border-collapse: collapse; font-size: var(--t-sm); min-width: 34rem; }
.legal th, .legal td { text-align: left; padding: .7rem .6rem .7rem 0; border-bottom: 1px solid var(--line-d); vertical-align: top; }
.legal th { color: var(--g-800); border-bottom: 2px solid var(--g-800); }
.legal .btn { margin-top: 1.25rem; }
.notfound { min-height: 70svh; display: grid; align-content: center; justify-items: start; gap: 1.5rem; padding-block: 4rem; }
.notfound .h2 { color: var(--g-800); max-width: 14ch; }

/* ---------- aggiunte: borsa compatta su mobile, scala del tabellone ---------- */
@media (max-width: 959px) {
  .bag-case { order: -1; position: sticky; top: calc(var(--hd) + .5rem); z-index: 5; }
  .bag-grid { gap: 1.5rem; }
  .case { padding: .8rem 1rem; border-radius: 22px; background: rgba(6, 28, 20, .92); backdrop-filter: blur(6px); }
  .case::before { display: none; }
  .case-title { font-size: 1.05rem; }
  .case-slots { margin-top: .6rem; gap: .4rem; }
  .slot { aspect-ratio: 1; }
  .slot-label { font-size: .75rem; }
  .case-actions { display: none; }
}
.week-scale div { position: relative; display: block; height: 1.2em; }
.week-scale div span { position: absolute; transform: translateX(-50%); }
.week-scale div span:last-child { transform: translateX(-100%); }
.week-scale div span:first-child { transform: none; }
