/* tokens.css */
/* ============================================================
   TOKENS: one palette for the whole site, word for word.
   No page invents a palette of its own: it is the same house.
   ============================================================ */
/* ============================================================
   THE DISPLAY TYPEFACE
   ============================================================
   Gunship, by Daniel Zadorozny (Iconian Fonts). Squared, all caps in
   the way we use it: titles and headings, NEVER running text. Five
   thousand words of the safeguarding document set this way would not
   be readable.

   IT IS OURS AND IT LIVES IN HERE: no typeface comes from outside,
   just as no script and no map does. 37 KB that travel as 14, and they
   download only if something really uses them.

   THE LICENCE IS FOR NON COMMERCIAL USE and the club is a non profit
   ASD (confirmed by the club, 18 August 2026). The licence text
   travels next to the file, in assets/font/, because that is what the
   licence itself asks.

   swap: text shows AT ONCE in the system typeface and changes when the
   file arrives. The alternative is half a second of invisible titles
   on a slow connection in a gym. */
@font-face{
  font-family:"Gunship";
  /* The CONDENSED cut and not the round one: round, in caps and
     letterspaced, pulls words wide until they look stretched. This
     says the same thing in less room. */
  src:url("/font/gunship-cond.147f7ded.ttf") format("truetype");
  font-weight:400;
  font-style:normal;
  font-display:swap;
}

:root{
  /* The display typeface is named HERE and used by name: the day it
     changes, it changes in one place. The fallback is not "some sans
     or other" but the system stack the site already uses, so until the
     file arrives the page stays the same. */
  --titoli:"Gunship",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
  /* THE HEADER HEIGHT AND THE CREST HEIGHT, in one place only.
     The drawer MUST be as tall as the strip it covers, or opening the
     menu makes the mark jump. One number instead of several kept in
     agreement by hand, each one an occasion to get it wrong.
     The crest sits seven pixels below the top edge and seven above the
     bottom one, and that air is what makes it read as a mark rather
     than a plug forced between two edges. Seven and not fourteen: at
     fourteen the strip becomes a tall header, and a tall header takes
     a band of page away from every screen of every page.
     ONE MEASURE FOR BOTH SCREENS, with no phone exception: an
     exception that distinguishes nothing is just one more place to
     remember to look.
     The width comes from the height: 1.356 is the proportion of the
     file as the pipeline produces it, white rule included. */
  --testa:70px;
  --stemma:56px;
  /* --pad IS THE PAGE MARGIN, --gap THE STEP BETWEEN PANELS, and they
     are the same number. Equal, the page reads as filled instead of
     framed, and the width goes back to the content, which is what the
     dense pages need: home, calendar, results.
     TWO TOKENS AND NOT ONE because they say two different things: the
     day the page margin has to be wider than the step, this one
     changes and the other does not. */
  --pad:13px;
  --gap:13px;
  --ground:#D3E4EF;
  --head:#FFFFFF;
  --head-fg:#0B1A22;
  --head-dim:#54697A;
  --head-line:#C2D8E5;
  --menu-line:#E2ECF2;
  --chrome-btn:rgba(4,26,40,.06);
  --chrome-btn-h:rgba(4,26,40,.13);
  --brand-dim:#02629B;
  /* THE CHROME AMBER: the menu item that stands apart (safeguarding).
     Not a highlight. A bright colour at the end of the row would read
     as the main button, the opposite of what this is. It is picked as
     LIGHT as the other items (--head-dim) and differs only in tint: it
     shows as belonging to another group, not as shouting. */
  --head-nota:#7A5F1E;
  /* The veil of that same item when its page is open. It is the amber
     itself, barely laid on the ground: "you are here" said with the
     colour that item already has, instead of borrowing the blue of all
     the others, which would fold it back into the group it stays out
     of the rest of the time.
     In rgba and not in hex because there are two grounds, the white
     header and the black one, and one veil follows both. */
  --head-nota-fill:rgba(122,95,30,.15);
  --chrome-sel:#DCEDF7;
  --chrome-sel-fg:#0377BD;
  --panel:#FFFFFF;
  --bar:#E8F2F8;
  --bar-fg:#0B1A22;
  --bar-dim:#54697A;
  --bar-line:#CFE0EB;
  --zebra:#EBF2F7;
  --sunken:#DCE7EF;
  --line:#B7CBD9;
  /* THE COUNTDOWN BOXES, one tone for both screens. The phone sheet
     redefines --line and --zebra to something much softer: right for
     its own furniture, wrong here, since these four boxes are the same
     object on both and would come out outlined in fog on the phone and
     drawn on the desk. Declared here and NOT overridden in
     tel/tokens.css, which is what makes them match. */
  --cd-fill:#EBF2F7;
  --cd-line:#B7CBD9;
  --tratteggio:#B7CBD9;
  --line-2:#95B0C3;
  --edge:#8FADC0;
  --ink:#020909;
  --ink-2:#2B3C45;
  --muted:#475965;
  --faint:#647987;
  --brand:#0377BD;
  --brand-2:#02547F;
  --accent:#52B2D0;
  --on-brand:#FFFFFF;
  /* Won / lost: the only two "semantic" colours of the house. They do
     not flip between the two themes. Green and red hold on both
     grounds, and changing them would look like two different clubs. */
  --up:#12885A;
  --down:#C6412F;
  /* THE LIGHT GREEN AND RED. They are --up and --down thinned into the
     ground, and they serve where the outcome is a PATCH and not a thin
     word: the block of a calendar cell and the win/loss label in the
     match card. The saturated full shouts there. In a grid of forty
     cells it turns into a green and red chessboard, and next to two
     lines of text it pulls the eye off the names. Full --up or --down
     goes on top and stays the semantic colour of the house: the tone
     changes, the meaning does not.
     WRITTEN IN HEX AND NOT IN rgba(): a transparent veil leans on
     whatever is under it, and here there are three different grounds
     (panel, weekday cell, weekend cell). With a solid colour the
     contrast is a single number and can be measured, and tests/theme.js
     does measure it, in both themes: 3,4:1 green and 3,7:1 red in the
     light, 3,4:1 and 3,3:1 in the dark.
     A DRAW has no token of its own: it is neutral, and the neutral is
     already there (--line-2). A third colour for "neither one nor the
     other" would say something happened, and nothing did. */
  --up-fill:#C9E7D8;
  --down-fill:#F6D6D0;
  /* THE AMBER: neither won nor lost, but "look here". It serves in one
     place only: the list of warning signs in the safeguarding
     document, which neither forbids nor obliges but asks to notice.
     Like green and red it does not flip between the two themes. It is
     a semantic colour, and changing it in the dark would mean two
     meanings for the same sign. */
  --warn:#A8730A;
  /* The veil that marks Silea: in the table, in the match list row, in
     the chosen item of the selector. Always this one, never a solid
     brand fill: in the dark, white text over light cyan sits at 2,3:1
     and does not read. */
  --me-fill:rgba(164,210,230,.46);
  /* The neutral twin of --me-fill: where --me-fill says "this is
     ours", this one says "this is not". It grounds the left half of a
     calendar cell, which for an away match cannot be brand. Not a new
     colour but --muted veiled, so it follows the theme without chasing
     it, and it stays transparent: a solid ground would disappear over
     the weekend cell, which already has a ground of its own. */
  --via-fill:rgba(71,89,101,.14);
  --scrim:rgba(2,9,9,.55);
  /* Height of the result panel body: FIXED, the same for a played
     match, a countdown and a bye. One number, and one only: without
     it the panel changes size at every change of matchday and the
     whole column flickers. */
  --hero-h:270px;
  --shadow:0 16px 40px -18px rgba(6,30,46,.28);
  --bird-op:.40;
  /* THE SPARROW HAS TWO VERSIONS, one for light grounds and one for
     dark, and the choice happens HERE because it appears in three
     different sheets (the three shapes of the result card) and
     choosing in three places means forgetting in one.
     On light goes the DARK version and the other way round: the file
     name says what colour the drawing is, not what ground it goes on.
     Two files and not a filter computed on screen: the sparrow is made
     of thin strokes, the open wing is all feathers, and any tint
     inversion smears them. These two were drawn by whoever made the
     mark. */
  --passero:url("/icona-dark.1a2459a0.png");
  /* THE 5x1000 SHAPES, watermarked inside the panel.
     The file is white on nothing (three solid shapes, not a line
     drawing) and white as a watermark works only on the dark: on the
     light board the panel lets the pale blue of the page through, and
     on the phone it has the paper ground, where white on white is
     nothing. So the file is used not as an image but as a MASK: it
     gives the shape, this line gives the colour, and one single file
     tints the watermark as needed on any ground.
     The alpha sits inside the colour instead of in a separate opacity:
     one thing to tune, not two.
     Lower than the sparrow (--bird-op, .40) because these are solid
     surfaces and not feathers: at the same opacity they would not be a
     watermark, they would be an illustration behind the text. */
  --sagome:rgba(3,119,189,.11);
  /* THE VEIL. A ground that lightens what sits under it instead of
     covering it: for where a panel rests over a watermark and must not
     erase it. White and not a solid tone, because it has to work over
     whatever ends up behind it. */
  --velo:rgba(255,255,255,.34);
}
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]){
    --ground:#010506; --panel:#04090C; --bar:#0E1D26; --bar-fg:#E6F1F7;
    --bar-dim:#8CA3B0; --zebra:#0A141A; --sunken:#0F1E27; --line:#182831;
    --line-2:#2A404E; --tratteggio:#425768; --cd-fill:#0A141A; --cd-line:#22343E; --edge:#395666; --ink:#F4FAFC; --ink-2:#BFCFD8;
    --muted:#90A5B1; --faint:#6E8490; --brand:#52B2D0; --brand-2:#8AD0E4;
    --on-brand:#03151C;
    /* --up and --down never flip, but the ground they are thinned into
       does: in the dark "light" means a very dark green and red, or a
       light theme patch inside a black page turns into a lightbulb.
       Declared in all three states, or at night they would sit at the
       light value by accident and not by choice. */
    --up-fill:#0E2A20;
    --down-fill:#33170F;
    --me-fill:rgba(82,178,208,.16);
    --via-fill:rgba(144,165,177,.14);
    /* in the dark the scrim and the shadow go strong: on a dark ground
       the soft ones of the light theme would not show */
    --scrim:rgba(0,0,0,.66);
    --shadow:0 24px 60px -18px rgba(0,0,0,.6);
    --head:#020909; --head-fg:#FFFFFF; --head-dim:#9FB1BC; --head-line:#122029;
    --menu-line:#16232A;
    --chrome-btn:rgba(255,255,255,.10); --chrome-btn-h:rgba(255,255,255,.22);
    --chrome-sel:rgba(255,255,255,.14); --chrome-sel-fg:#FFFFFF;
    --brand-dim:#75C1D9;
    /* In the dark the amber lightens like everything else: dim gold,
       at the same lightness as --head-dim. */
    --head-nota:#BFA671;
    --head-nota-fill:rgba(191,166,113,.17);
    --bar-line:#16262F;
    --bird-op:.10;
    --passero:url("/icona.e2a83984.png");
    --sagome:rgba(255,255,255,.06);
    --velo:rgba(255,255,255,.04);
  }
}
:root[data-theme="dark"]{
  --ground:#010506; --panel:#04090C; --bar:#0E1D26; --bar-fg:#E6F1F7;
  --bar-dim:#8CA3B0; --zebra:#0A141A; --sunken:#0F1E27; --line:#182831;
  --line-2:#2A404E; --tratteggio:#425768; --cd-fill:#0A141A; --cd-line:#22343E; --edge:#395666; --ink:#F4FAFC; --ink-2:#BFCFD8;
  --muted:#90A5B1; --faint:#6E8490; --brand:#52B2D0; --brand-2:#8AD0E4;
  --on-brand:#03151C;
  --up-fill:#0E2A20;
  --down-fill:#33170F;
  --me-fill:rgba(82,178,208,.16);
  --via-fill:rgba(144,165,177,.14);
  --scrim:rgba(0,0,0,.66);
  --shadow:0 24px 60px -18px rgba(0,0,0,.6);
  --head:#020909; --head-fg:#FFFFFF; --head-dim:#9FB1BC; --head-line:#122029;
  --menu-line:#16232A;
  --chrome-btn:rgba(255,255,255,.10); --chrome-btn-h:rgba(255,255,255,.22);
  --chrome-sel:rgba(255,255,255,.14); --chrome-sel-fg:#FFFFFF;
  --brand-dim:#75C1D9;
    /* In the dark the amber lightens like everything else: dim gold,
       at the same lightness as --head-dim. */
    --head-nota:#BFA671;
    --head-nota-fill:rgba(191,166,113,.17);
  --bar-line:#16262F;
  --bird-op:.10;
  --passero:url("/icona.e2a83984.png");
  --sagome:rgba(255,255,255,.06);
  --velo:rgba(255,255,255,.04);
}

/* scorrimento.css */
/* ============================================================
   SCROLLBARS, ONCE AND FOR EVERYTHING
   ============================================================
   No selector list here: the bare pseudo-element covers everything
   that scrolls, the page included. A new panel has nothing to
   remember, which is the only way this stays consistent.

   The trap that rules a list out: with a LIST of selectors the
   pseudo-element attaches only to the last one.

   The phone wants it thinner (tel/base.css): 8 pixels instead of 10,
   because there the screen is 390 wide and a 10 pixel bar takes a
   hundredth of the usable width.
   ============================================================ */
*{scrollbar-width:thin;scrollbar-color:var(--line-2) transparent}

::-webkit-scrollbar{width:10px;height:10px}
::-webkit-scrollbar-track{background:transparent}
::-webkit-scrollbar-thumb{
  background:var(--line-2);border-radius:6px;
  border:3px solid transparent;background-clip:content-box;
}
::-webkit-scrollbar-thumb:hover{background:var(--muted);background-clip:content-box}
::-webkit-scrollbar-corner{background:transparent}

/* app/base.css */
@media (min-width:900px){
/* ============================================================
   THE GROUND OF THE BOARD
   This is not base.css: that one is the ground of the pages that
   SCROLL, where the body has automatic height and the focus ring is
   the brand one. Here the page does not scroll, it is a screen fixed
   inside the window, and the body is a flexible column. Two pages of
   two different natures: putting both things in the same stylesheet
   means switching scrolling off on the sponsor page too.
   ============================================================ */
*{box-sizing:border-box;margin:0;padding:0}

html,body{height:100%;overflow:hidden}

/* The container of the layout: the place where either the board or
   the phone screen is mounted. It has to be INVISIBLE to the
   geometry: it takes what is left over under the header and hands it
   to its children identical, so .shell behaves as if it were still a
   child of the body. */
#schermo{flex:1;min-height:0;display:flex;flex-direction:column}
body{
  display:flex;flex-direction:column;
  background:var(--ground);color:var(--ink);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  font-size:17px;line-height:1.5;font-weight:400;
  -webkit-font-smoothing:antialiased;-webkit-text-size-adjust:100%;
}
/* With the match list behind a button, the fixed-screen board holds
   down to much smaller windows. */


button,a{font:inherit;color:inherit;background:none;border:0;cursor:pointer;text-decoration:none}
:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:5px}
.u-num{font-variant-numeric:tabular-nums}

/* The scrollbars live in styles/scorrimento.css, with no lists of
   classes: they hold for everything that scrolls. */

}

/* header.css */
/* ============================================================
   HEADER: stitched to the top, full width, as on the other pages.
   The --gap/--pad rhythm starts here and runs downward.
   ============================================================ */
/* THE HEADER HEIGHT IS --testa, RULE INCLUDED, and it is written here
   because this is where the header is defined. A correction living in
   the sheet of an accessory component only covers the pages that have
   that component.
   box-sizing is already border-box from the reset: the height contains
   the rule instead of adding to it. */
.top{background:var(--head);border-bottom:1px solid var(--head-line);
  height:var(--testa);
  position:sticky;top:0;z-index:20}
.top-in{max-width:1840px;margin:0 auto;height:100%;padding:0 var(--pad);
  display:flex;align-items:center;gap:28px}
.brand{display:flex;align-items:center;gap:11px;flex:none;color:inherit;text-decoration:none}
/* THE WHOLE CREST, AND THE SAME ONE ON EVERY SCREEN.
   The crest settles the balance between bird and lettering inside
   itself, which is what makes a crest a crest. So there is ONE of it,
   identical everywhere, and only its size changes between board and
   phone. 48px tall inside a 64px header: the lettering inside the
   crest stays readable and there is air above and below, so it reads
   as a mark and not as a plug.
   Background and not <img>: see chrome.js. */
.brand .mark{display:block;flex:none;
  height:var(--stemma);width:calc(var(--stemma) * 1.356);
  background:url("/logo-volley-silea.ff7b3ca6.png") center/contain no-repeat}
/* The written name stays in the markup and off the screen: the crest
   already carries it, and the link aria-label says it to anyone who
   cannot see. */
.brand .wm{display:none}
/* Between 900 and ~1050px the eight items do not fit next to the mark:
   instead of breaking the page they scroll inside their own strip.
   min-width:0 because a flex container, left alone, will not be
   squeezed below its own content. */
.nav{display:flex;gap:3px;margin-left:auto;min-width:0;
  overflow-x:auto;scrollbar-width:none}
.nav::-webkit-scrollbar{display:none}
.nav a{padding:9px 15px;border-radius:8px;font-size:15px;font-weight:400;
  color:var(--head-dim);white-space:nowrap;transition:color .15s,background .15s}
.nav a:hover{color:var(--head-fg);background:var(--chrome-btn)}
.nav a.on{color:var(--chrome-sel-fg);font-weight:600;background:var(--chrome-sel)}
/* AN ITEM APART, NOT AN ITEM SINGLED OUT: safeguarding.
   A document the law requires to be published. It sits at the end and
   reads as "another thing", not as the most important one: whoever
   comes for the results does not need the eye pulled over there.

   NO FRAME. In a row of links a frame is an invitation to press, and
   it would make this look like the header main button.
   A RULE IN THE GAP instead: the mark a navigation bar has always used
   to say "from here on it is another group", and it asks nothing of
   anyone. It sits in the margin and not on the link, so the hover veil
   stays one whole shape.
   DIM AMBER, as light as the other items. The tint alone says another
   family; raising the brightness too would be shouting. In the dark it
   lightens along with everything else (--head-nota).

   THE RULE IS THE SAME AMBER and stays one pixel. The frame grey
   (--head-line) is made to detach from a white header and vanishes on
   a black one, while amber shows on both and says the same thing as
   the word it divides. One pixel because it is a mark of separation:
   thicker, it becomes a bar that calls. */
.nav a.bordata{position:relative;margin-left:20px;color:var(--head-nota)}
.nav a.bordata::before{content:"";position:absolute;left:-11px;top:50%;
  transform:translateY(-50%);width:1px;height:18px;
  background:var(--head-nota)}
.nav a.bordata:hover{color:var(--head-nota);background:var(--chrome-btn)}

/* ON ITS OWN PAGE IT STAYS AMBER. "You are here" is the same pill as
   every other item, tinted with the colour this item already has:
   borrowing the blue would fold it back into the group it stays out of
   the rest of the time, exactly while it is open.
   AND THE RULE STAYS. It divides two groups, and the two groups are
   there even from inside the second one. */
.nav a.bordata.on{background:var(--head-nota-fill);color:var(--head-nota);font-weight:600}
.tema{flex:none;width:38px;height:38px;border-radius:9px;border:0;cursor:pointer;
  display:grid;place-items:center;color:var(--head-dim);background:transparent;
  transition:color .15s,background .15s}
.tema:hover{color:var(--head-fg);background:var(--chrome-btn)}
.tema svg{grid-area:1/1;width:19px;height:19px;transition:opacity .2s,transform .2s}
.tema .ico-sole{opacity:0;transform:rotate(-60deg) scale(.7)}
.tema.scuro .ico-sole{opacity:1;transform:none}
.tema.scuro .ico-luna{opacity:0;transform:rotate(60deg) scale(.7)}

/* The hamburger exists only on the narrow layout */
.ham{display:none;width:44px;height:44px;place-items:center;border:0;cursor:pointer;
  background:transparent;color:var(--head-dim);transition:color .15s}
.ham:active{color:var(--head-fg)}
.ham svg{width:20px;height:20px;display:block}

/* Below 900px the header becomes the app one: hamburger on the left,
   mark in the middle, theme on the right. It is the same point where
   the phone shell drops its frame, so moving from page to page the top
   does NOT change under the fingers. */
@media (max-width:899px){
  .top-in{padding:0 4px;gap:0;
    display:grid;grid-template-columns:44px 1fr 44px;align-items:center}
  .ham{display:grid}
  .nav{display:none}
  /* On the phone the WHOLE crest and no lettering: the name is inside
     it, and in a 56px header between hamburger and theme button the
     bird alone with the lettering beside it does not fit without
     shrinking both below the size where they read.
     The crest is THE SAME as the board one, same size: here it just
     sits between two 44px buttons instead of left of a menu. --stemma
     states that size once for both.
     The last pixels at the top and bottom of the crest are the white
     rule the file carries with it (pipeline/tools/trasparenza.js). It
     is part of how the mark is made, and on the near black header it
     is also the only thing detaching its shape from the ground. */
  .brand{justify-content:center}
  .tema{width:44px;height:44px;border-radius:0}
}

/* drawer.css */
/* --- drawer menu, the same one on every page -----------------
   Same measures, weights and wording throughout. Two different menus
   would make moving from one page to another feel like changing
   site. */
.menu{position:fixed;inset:0;z-index:80;
  background:var(--head);color:var(--head-fg);
  display:flex;flex-direction:column;
  opacity:0;pointer-events:none;transition:opacity .2s;
  padding-bottom:env(safe-area-inset-bottom,0px)}
.menu.on{opacity:1;pointer-events:auto}
.menu-top{height:var(--testa);flex:none;display:flex;align-items:center;
  justify-content:space-between;padding:0 4px 0 16px}
/* The whole crest, as in the header this drawer covers: the menu
   opens and the mark stays where it was, at the same size. */
.menu-top .marchio{display:block;flex:none;
  height:var(--stemma);width:calc(var(--stemma) * 1.356);
  background:url("/logo-volley-silea.ff7b3ca6.png") center/contain no-repeat}
.menu .icon{width:44px;height:44px;display:grid;place-items:center;border:0;
  cursor:pointer;background:transparent;color:var(--head-dim)}
.menu .icon svg{width:20px;height:20px;display:block}
/* THE ITEMS ARE THE SCROLLING PART, and flex:1 with min-height:0 is
   what makes that true. Without them a child with overflow does not
   shrink inside a flex column: it grows and spills past its container,
   and on a short screen the footer rule cuts the last item in half. */
/* THE ITEMS SIT IN TWO COLUMNS. Eleven items fit in six rows and all
   land on screen together: the drawer opens and the whole site is
   there, with nothing to drag to reach Contatti.

   EVERY ITEM IS A CELL, all the same size. The grid makes them equally
   wide by construction, and align-items:stretch (the default, so it is
   not written) makes them as tall as the tallest of their row. The
   minimum is sixty-four pixels, above the forty-four a finger needs.

   THE TYPE IS 17. At half the screen width "Calendario" does not fit
   at 24 bold, and a word wrapping inside a cell undoes the grid the
   cell is there to build. */
.menu nav{flex:1;min-height:0;
  padding:18px;overflow-y:auto;
  display:grid;grid-template-columns:1fr 1fr;gap:10px;align-content:start}
.menu nav a{color:var(--head-fg);
  font-size:17px;font-weight:700;letter-spacing:-.02em;
  min-height:64px;padding:12px 14px;
  border:1px solid var(--menu-line);border-radius:12px;
  display:flex;align-items:center;gap:10px}
/* THE ITEM OF THE OPEN PAGE is tinted in three places: text, border
   and a veil of background. Among eleven identical cells one blue word
   between ten white ones is a detail that gets lost, while a tinted
   cell is found without looking for it. */
.menu nav a.on{color:var(--brand);border-color:var(--brand);
  background:color-mix(in srgb, var(--brand) 13%, transparent)}
.menu nav a small{font-size:9px;font-weight:700;letter-spacing:.09em;
  text-transform:uppercase;color:var(--head-dim);
  border:1px solid var(--menu-line);border-radius:4px;padding:2px 5px}
/* THE DRAWER FOOTER: who this club is.
   On the board it sits in a strip at the bottom of the screen. Here it
   cannot: below 900px the bottom belongs to the sponsor bar and the
   page does not scroll. So it sits where people look for what the
   screen does not show.

   TRULY AT THE BOTTOM: margin-top:auto pushes it to the last row of
   the column even when few items would leave it hanging halfway. The
   rule separates it from the items, which are large and made to be
   touched; this text is small and made to be read, and with no line
   between them it would read as the last menu item.
   The bottom safe margin already belongs to .menu. */
.menu-piede{
  margin-top:auto;flex:none;
  padding:10px 22px 12px;
  border-top:1px solid var(--menu-line);
  font-size:10.5px;line-height:1.45;color:var(--head-dim);
}
.menu-piede p{margin:0}
.menu-piede p + p{margin-top:3px}
.menu-piede .sep{margin:0 .5em;opacity:.5}

/* SHORT SCREENS. On a 360x640, still around, six rows plus header plus
   footer overflow by twenty pixels and the drawer starts scrolling.
   Everything tightens: shorter cells, less air between them, one pixel
   less type. Fifty-six pixels of cell remain, above the forty-four a
   finger needs. */
@media (max-height:700px){
  .menu nav{padding:14px;gap:8px}
  .menu nav a{min-height:56px;padding:10px 12px;font-size:16px}
}
/* One step further down for the shortest of all: a 360x560, or an
   ordinary phone turned sideways. Fifty pixels are still above the
   forty-four of a finger. It goes no lower: if more room is ever
   needed it scrolls, which by then is the right answer. */
@media (max-height:600px){
  .menu nav{padding:12px;gap:7px}
  .menu nav a{min-height:50px;padding:8px 12px;font-size:15.5px}
}

@media (min-width:900px){ .menu{display:none} }

.toast{position:fixed;left:50%;bottom:30px;z-index:90;
  transform:translate(-50%,10px);
  background:var(--ink);color:var(--panel);
  font-size:13px;font-weight:500;padding:10px 16px;border-radius:10px;
  opacity:0;pointer-events:none;transition:opacity .2s,transform .2s}
.toast.on{opacity:1;transform:translate(-50%,0)}

/* Safeguarding stands apart down here too, in the dim amber of the
   header. It takes the whole grid width, and its weight stays that of
   the other items: a different item, not a more important one.

   AMBER, not the grey of the chrome: that grey is made to detach from
   a light ground and disappears on the black drawer.
   ON ITS OWN PAGE IT STAYS AMBER: the other selected items turn brand,
   this one already has its colour. */
.menu nav a.bordata{grid-column:1 / -1;
  color:var(--head-nota);border-color:var(--head-nota)}
.menu nav a.bordata.on{color:var(--head-nota);border-color:var(--head-nota);
  background:color-mix(in srgb, var(--head-nota) 13%, transparent)}

/* piede.css */
/* ============================================================
   THE FOOTER: ONE LINE, AT THE BOTTOM OF THE SCREEN
   ============================================================
   Who this club is, by law and by manners: full name, registered
   office, tax code, VAT number and federation code. On one line, in
   small type, in a grey that does not call. This is not text to read,
   it is text to find when looked for: catching the eye would steal
   attention from what the page exists for.

   IT IS FIXED, and that is not an aesthetic choice. On the board most
   pages are window-tall screens that do not scroll (app/base.css:
   html,body{overflow:hidden}), so "the bottom of the page" is not a
   place there. The only page that really scrolls is sponsor, and a
   fixed bar is what that one needs anyway: the footer is not a reward
   for reaching the end of fifteen brands.

   THE BODY GIVES UP THE SPACE, not the footer. A fixed element leaves
   the flow and would pass OVER the content, so the body shortens by
   the same amount and both cases hold: the fixed screen tightens, the
   scrolling page ends higher up. The height lives in a token because
   the footer declares it and the body uses it. Written twice, a change
   to the type size would show up as a covered line or a finger of
   emptiness.

   ON THE PHONE IT IS NOT THERE. Down here the bottom of the screen
   already belongs to the sponsor bar, and a second strip under the
   first would eat screen from a view that has little. The phone footer
   is still to be decided: see the note at the end.
   ============================================================ */

:root{ --piede-h:30px; }

.piede{
  position:fixed;left:0;right:0;bottom:0;z-index:6;
  height:var(--piede-h);
  display:flex;align-items:center;justify-content:center;
  padding:0 16px;
  background:var(--bar);
  border-top:1px solid var(--bar-line);
  /* Not text to read: text to find. Small, in a grey that stays back,
     and never wrapping. One line that on a narrow window shortens with
     an ellipsis instead of becoming two and breaking the strip. */
  /* LINE HEIGHT CANNOT BE 1. At line height one the line is as tall as
     the type, and the descenders (the p of "Sportiva", the g, the q)
     fall OUTSIDE the line: with overflow:hidden above, they get cut in
     half. A comfortable line height keeps them in, and centring the
     line in the strip is the job of align-items, not of the text
     height. */
  font-size:11.5px;line-height:1.45;letter-spacing:.01em;
  color:var(--bar-dim);
  white-space:nowrap;overflow:hidden;
}
.piede p{
  max-width:100%;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
/* The separator dots: lighter than the text, because all they do is
   separate. The space around them comes from margins, not from two
   spaces written in the markup, which at the end of a line would add
   themselves to the ellipsis. */
.piede .sep{margin:0 .55em;opacity:.5}

/* The body shortens by the height of the footer.
   On fixed screens this tightens the column and nothing ends up under
   the strip; on the scrolling page it is the last piece of document
   that stops higher up. */
body{padding-bottom:var(--piede-h)}

/* ------------------------------------------------------------------
   ON THE PHONE, FOR NOW, NOTHING.
   The bottom of the screen belongs to the sponsor bar, and below 900px
   the page does not scroll (tel/base.css says so in words: "niente
   scorre a livello di pagina"), so there is no "bottom" to put a
   footer in flow. It would go at the end of the scrolling strip,
   inside .scroll, and that strip is mounted by the phone layouts one
   by one: a job to do calmly and in one pass.
   Meanwhile the footer does not show and steals no room: absent beats
   wrong. The natural exception is the sponsor page, a document that
   below 900 really scrolls, where a trailing footer would work on its
   own. Keeping it on one page and not the others would be the worst of
   the three.
   ------------------------------------------------------------------ */
@media (max-width:899px){
  .piede{display:none}
  body{padding-bottom:0}
}

/* THE ONLY ITEM THAT LEADS ANYWHERE. It sits among text nobody
   touches, so it must not shout but must still be recognisable: same
   colour as the rest, underlined on hover. */
.piede a{color:inherit;text-decoration:none}
.piede a:hover,.piede a:focus-visible{text-decoration:underline}

/* app/rail.css */
@media (min-width:900px){
/* ============================================================
   THE HEADER (the two corrections) + THE SPONSOR BAR
   ============================================================ */
/* The header is drawn by header.css, which belongs to every page. On
   this one, though, it has to behave in two ways different from
   there, and neither difference is a matter of taste:

   1. IT IS NOT STUCK. The board is a fixed screen: nothing scrolls
      and a sticky has nothing to follow. Below 960px, however, the
      page really does scroll again (flow mode, at the bottom of
      pages/risultati.css) and there a sticky shows: the header stays
      glued to the top while the rest scrolls away.

   2. IT IS --testa TALL IN FULL, border included. header.css puts the
      min-height on the CONTENT and the border adds to it: one pixel
      more across the whole width, which pushes down everything that
      comes after. With box-sizing:border-box the height on the band
      includes the hairline, and the content stays one pixel lower.
      The min-height has to go off along with it, otherwise it wins:
      half a pixel, but it is half a pixel on the mark, the entries
      and the theme button, that is on the whole top of the page.
      THE HEIGHT IS SPOKEN BY THE TOKEN and not by a number typed
      here. This sheet arrives after header.css, so a number typed
      here wins over the token: the crest is left with four pixels
      above and four below, wedged between the two borders. A second
      place where the same measure is written is a second place to
      remember.

   It sits here and no higher up because it has to arrive AFTER
   header.css. */
.top{position:static;flex:none;height:var(--testa)}
.top-in{height:100%;min-height:0}

/* THE BAR HANGS FROM THE HEADER, it does not float below it.
   The two do the same job (staying at the top and not scrolling)
   and set apart they read as two bands of navigation, one inside the
   other.
   So they touch: no gap above, the top border of the bar is the
   bottom border of the header, and the corners go square where the
   two meet. It is the same way a round's cards attach to the day bar
   on the phone (tel/gara.css): the piece above acts as the border of
   the piece below.
   Below, instead, the gap stays: that is where the content of the
   page begins, and that is another matter. */
.railwrap{flex:none;max-width:1840px;width:100%;margin:0 auto;
  padding:0 var(--pad)}
/* A padding of 5, and the ten pixels it spares all go to the plate:
   the bar stands 68px tall and the logo takes the largest share of
   it. Horizontal room is not scarce, so the gap stays 10. */
.rail{background:var(--panel);border:1px solid var(--edge);
  border-top:0;border-radius:0 0 14px 14px;
  padding:5px;display:grid;grid-template-columns:repeat(6,1fr);gap:10px;
  --h:48px}   /* usable height of the logo inside the plate */
/* The plate stays white at night too. The sponsors' files carry a
   white background baked in (none of them has an alpha channel): on a
   dark panel that shows as fifteen white rectangles. A plate fixed to
   white = the file's background disappears into the plate. */
.slot{height:56px;border-radius:9px;background:#fff;border:1px solid var(--line);
  display:grid;place-items:center;overflow:hidden;padding:0 12px;
  transition:border-color .16s,box-shadow .16s}
.slot:hover{border-color:var(--brand);box-shadow:0 1px 7px rgba(3,119,189,.18)}
/* --k evens out the AREA between logos of very different proportions:
   left alone, a 4:1 wordmark as tall as a square logo weighs three
   times as much. object-fit scales back when the logo is wider than
   the plate, so the proportion is never distorted. */
.slot img{display:block;width:100%;height:calc(var(--h) * var(--k,1));
  object-fit:contain;object-position:center;transition:opacity .42s ease}
.slot img.out{opacity:0}
.slot img.scuro{border-radius:3px}   /* logos with a dark plate keep clear of the corners */

}

/* app/griglia.css */
@media (min-width:900px){
/* ============================================================
   THE GRID
   ============================================================ */
.shell{
  flex:1;min-height:0;overflow:hidden;
  max-width:1840px;width:100%;margin:0 auto;
  /* above it is a gap between panels, below it is the frame of the
     page: this way the bottom margin matches the side ones */
  padding:var(--gap) var(--pad) var(--pad);
  display:grid;grid-template-columns:284px minmax(0,1fr) 400px;gap:var(--gap);
}
.side{min-height:0;min-width:0;display:flex;flex-direction:column}
.side .panel{flex:1}
/* the hero is as tall as its content (constant), the rest goes to the list */
.centre{display:grid;grid-template-rows:auto minmax(0,1fr);gap:20px;min-height:0;min-width:0}
.aside{display:grid;grid-template-rows:minmax(0,1fr);min-height:0;min-width:0}
/* Below 1400px the centre would drop under the ~594px the box score
   needs, and the names would break one letter at a time. Better to
   take the table away and call it back from a button in the bar. */
@media (max-width:1399px){
  .shell{grid-template-columns:284px minmax(0,1fr)}
  .aside{display:none}
  .side-links .side-tbl{display:flex}
}
@media (max-width:960px){
  .shell{grid-template-columns:minmax(0,1fr);padding-bottom:26px}
  .aside{display:grid}      /* in a single column there is room for it again */
  .side-links .side-tbl{display:none}
}

.panel{background:var(--panel);border:1px solid var(--edge);border-radius:14px;
  display:flex;flex-direction:column;min-height:0;overflow:hidden}
/* dark bar */
/* THE BAR IS 38 HIGH, everywhere. Every extra pixel of dark band is
   paid four times over on a board with four panels: sixteen more each
   are sixty pixels of screen spent on frame instead of on content.
   It is a MINIMUM, not a height: a bar with something taller inside
   (the matchday buttons, which are 38 round) grows by itself. */
.p-head{flex:none;background:var(--bar);color:var(--bar-fg);
  border-bottom:1px solid var(--bar-line);
  padding:0 20px;min-height:38px;display:flex;align-items:center;justify-content:space-between;gap:14px}
/* THE PANEL TITLE IS IN THE SAME FACE AS EVERYTHING ELSE. The brand
   face looks good on a sign, but at 13px in spaced uppercase its
   squared letters read one character at a time instead of one word at
   a time, and a panel title is read in passing: it is the thing that
   says WHERE YOU ARE, and if it costs attention it has already
   failed.
   The brand face, on this site, lives inside the crest. */
.p-head .t{font-size:13px;font-weight:600;letter-spacing:.1em;text-transform:uppercase}
.p-head .t.dim{color:var(--bar-dim);font-weight:400}

}

/* app/safeguarding.css */
@media (min-width:900px){
/* ============================================================
   SAFEGUARDING: the board
   ============================================================
   Two columns in one screen, like every page except the sponsor one:
   on the left the FIPAV mark and the index, on the right the
   document.

   WHAT SCROLLS IS THE PANEL, not the page. It is the same rule as
   /risultati/, /calendario/ and /squadre/: the frame stays still and
   what is inside gives way. Here, though, the content is genuinely
   long (five thousand words) so the right-hand panel is the only
   place on the site where one scrolls for minutes, and the left-hand
   column is there precisely so as not to get lost.

   THE LEFT-HAND COLUMN IS TWICE AS WIDE as on the other pages, and
   the why is written next to the rule: here it is not a list of
   choices, it is the index of a document.                          */
/* The wrapper takes no geometry away from anybody: it passes on to
   its children what it receives, so .shell behaves as if it were a
   child of the body. Without it the screen has no height to start
   from and the document panel grows to fifteen thousand pixels, that
   is, nothing scrolls, because nothing overflows.
   The phone's sponsor bar does not exist up here. */
.app{flex:1;min-height:0;display:flex;flex-direction:column}
.sponsors{display:none}

/* THE INDEX SHEET AND THE DARK SCRIM DO NOT EXIST UP HERE. The markup
   is a single one for both widths, so they are in the document too;
   but tel/fogli.css is bounded at max-width:899px, and without a rule
   here they stay as two ordinary blocks at the end of the body. They
   are not seen (they are empty) but they stand in the body's
   flexible column and take height, and the screen comes out squashed
   to ninety pixels. */
.scrim,.sheet{display:none}

/* THE COLUMN IS TWICE AS WIDE as on the other pages: 568 instead of
   284. Elsewhere on the left there is a list of choices (twelve
   teams, a handful of competitions) and 284 are enough; here there
   is the index of a document, that is twenty real titles, some of
   them fifty characters long and all in uppercase. Squeezed into 284
   they wrap three times per entry and the index becomes a wall as
   tall as the document.
   The right-hand panel gains from it too: the column of text has a
   fixed reading measure, so taking three hundred pixels from the left
   does not narrow the text: it takes away the emptiness left around
   it. */
.shell.sg{grid-template-columns:568px minmax(0,1fr)}
.sg-lato{min-height:0;display:flex;flex-direction:column;gap:var(--gap)}

/* The mark does not stretch: it is exactly as tall as it needs to be.
   The index takes what is left, being the piece that really needs
   height: twenty entries. */
.sg-marchio{flex:none;display:grid;place-items:center;padding:18px 20px}
.sg-indice{flex:1;min-height:0}

/* THE MARK ON A WHITE SLAB, in both themes. It is not a fancy: the
   words "FIPAV Federazione Italiana Pallavolo" are dark blue, and on
   a nearly black panel they would disappear. It is the same treatment
   as the sponsors' plates, for the same reason.
   The measure is dictated by the HEIGHT and not by the width: at 1:2,
   filling the column would mean a thousand pixels of height.

   IT IS SMALL. The mark says under which framework the document
   stands, and says it at a glance; the index instead is READ, entry
   by entry, and it is what serves not to get lost in five thousand
   words. As big as the index, the mark takes half the column to say
   nothing more than it says small. */
.sg-marchio img{
  display:block;height:min(170px,20vh);width:auto;
  background:#fff;border:1px solid var(--line);border-radius:11px;padding:10px 14px;
}

/* --- the index -------------------------------------------------------
   The same two-level entries as the tree of competitions: the part
   standing out, its sections indented and fainter. It is not a new
   grammar: it is the left-hand column the site already has. */
.sg-voci{flex:1;min-height:0;overflow-y:auto;padding:10px 12px 14px;
  display:flex;flex-direction:column}
.sg-voce{display:block;padding:7px 11px;border-radius:8px;
  font-size:13.5px;font-weight:400;line-height:1.4;color:var(--muted);
  text-decoration:none;transition:background .14s,color .14s}
.sg-voce:hover{background:var(--zebra);color:var(--ink)}
/* The focus ring shows: this is an index, and it is reached with the
   tab key more often than elsewhere. */
.sg-voce:focus-visible{outline:2px solid var(--brand);outline-offset:-2px}

/* ALL SECTIONS INDENT ALIKE, numbered or not.
   The sections are of two kinds: the articles, which in the document
   already carry a number written in the title ("Art. 3 – …"), and the
   headings of the annex, to which the site gives the number.
   What has to line up is the COLUMN OF THE NUMBER: the "1" plate
   begins where "Art." begins, so running down the index the left edge
   is a single one from top to bottom instead of two out of step.
   The text of the numbered ones starts after it, as it should: "1"
   and "Art. 3" take the same place and say the same thing.

   THE SELECTOR IS TIED TO THE INDEX and not to .sg-num alone: the
   same number appears at the head of every section too, where it is
   not a small number in the margin but a plate, and a generic rule
   would pull it out of the flow there as well. */
.sg-voce{position:relative;padding-left:26px}
.sg-voce.numerata{padding-left:48px}
.sg-voci .sg-num{position:absolute;left:26px;top:7px;
  font-size:11.5px;font-weight:600;color:var(--faint);font-variant-numeric:tabular-nums}
.sg-voce.qui .sg-num{color:var(--brand)}

/* The two parts of the document and the opening: larger, flush, and
   with the air above that sets them apart from the group before. */
.sg-voce.parte,.sg-voce.cima{padding-left:11px;
  font-size:13.5px;font-weight:600;color:var(--ink-2);margin-top:14px}
.sg-voce.cima{margin-top:0}

/* Where the reading is: a faint veil, a bar on the left, brand
   coloured text, the same sign the site uses to say "you are here"
   in the tree of competitions and in the list of teams. */
.sg-voce.qui{background-image:linear-gradient(var(--me-fill),var(--me-fill));
  box-shadow:inset 3px 0 0 var(--brand);color:var(--brand-2);font-weight:600}

/* --- the document ------------------------------------------------------ */
.sg-doc{min-height:0}
.sg-corpo{flex:1;min-height:0;overflow-y:auto;padding:26px 30px 40px;
  scroll-behavior:auto}
/* The text of the document, under a bar that says which document it
   is: the name in full, not "Documento" and no more. */
.sg-doc .p-head .t{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* The index button belongs to the phone: up here the index is always
   in view in the column. */
.sg-apri{display:none}

/* THE MEASURE OF THE LINE, and how much emptiness is left at its
   sides.
   A long text reads better in short lines: beyond a certain width,
   coming back to the left the eye struggles to find the next line.
   But on a wide screen a narrow column leaves two empty bands that
   read as a layout finished by halves: at 1920 that is two hundred
   and twenty pixels a side.
   The compromise has TWO limits instead of one: the characters
   command while the panel is narrow, the pixels once it widens. So
   the line grows with the window up to nine hundred pixels and stops
   there: the emptiness per side halves, and the line stays a line
   and not an expanse. */
.sg-corpo > *{max-width:min(96ch,900px);margin-left:auto;margin-right:auto}

.sg-intro h1{font-size:23px;font-weight:600;letter-spacing:-.01em;line-height:1.25;
  color:var(--ink);margin:0 0 6px}
.sg-legge{font-size:13px;font-style:italic;color:var(--muted);margin:0 0 18px}

/* Between the opening and the first document, and between the two
   documents, a hairline: they are three distinct things, not three
   chapters in a row. */
.sg-parte{border-top:1px solid var(--line);margin-top:34px;padding-top:26px}
.sg-cartellino{display:inline-block;margin-bottom:8px;
  padding:3px 10px;border-radius:999px;background:var(--sunken);
  font-size:10.5px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;
  color:var(--muted)}
.sg-parte h2{font-size:17px;font-weight:600;letter-spacing:.01em;line-height:1.3;
  color:var(--ink);margin:0 0 8px}
.sg-occhiello{font-size:13px;color:var(--muted);margin:0 0 4px}

/* --- the sections ----------------------------------------------------
   The title carries its number in a plate on the left, outside the
   text: in the document the headings of the annex are not numbered,
   and going down five thousand words they are ten uppercase titles
   indistinguishable from one another. The number is also the way to
   quote them ("il punto 4"), which a long title does not allow.
   The hairline above: the sections are long and close together, and
   without a line dividing them the next title looks like part of the
   text before it. */
.sg-sez{margin-top:30px;padding-top:22px;border-top:1px solid var(--line)}
.sg-sez:first-of-type{border-top:0;padding-top:0}
.sg-sez h3{display:flex;align-items:baseline;gap:11px;
  font-size:15.5px;font-weight:600;color:var(--brand-2);margin:0 0 10px;
  letter-spacing:-.005em;line-height:1.35;text-wrap:balance}
.sg-sez h3 .sg-num{position:static;flex:none;display:grid;place-items:center;
  min-width:24px;height:24px;padding:0 5px;border-radius:7px;
  background:var(--me-fill);color:var(--brand);
  font-size:12px;font-weight:700;font-variant-numeric:tabular-nums;
  transform:translateY(1px)}

.sg-corpo p{font-size:14.5px;line-height:1.75;color:var(--ink-2);margin:0 0 11px;
  text-wrap:pretty}

/* The source of the opening: a line of its own, not an address in
   full wedged at the end of a parenthesis. */
.sg-fonte{font-size:12.5px;color:var(--faint);margin-top:14px}
.sg-link{color:var(--brand);text-decoration:underline;text-underline-offset:2px;
  text-decoration-thickness:1px;text-decoration-color:var(--line-2)}
.sg-link:hover{text-decoration-color:var(--brand)}

/* ============================================================
   THE SCALE: heading, clause, item
   ============================================================
   Three levels, and they have to be seen as three levels.

     Art. 6 – Responsabile…                          the heading
       7.  Il Responsabile ha le seguenti…           the clause
             a.  Sorvegliare l'applicazione…         the item

   THE BODY INDENTS UNDER THE HEADING: paragraphs and lists belong to
   that title, and flush with it they read as starting over at every
   section.
   THE NUMBER SITS OUTSIDE THE TEXT, hung on the left, as in a
   printed document, so the lines of the paragraph line up with each
   other instead of only the first one being indented.
   AND THE ITEMS INDENT AS FAR AS THE TEXT OF THEIR CLAUSE, not as far
   as its number: "le seguenti responsabilita" is the sentence that
   announces them, and the column of text stays a single one from top
   to bottom. Flush with the clause they read as a second list
   starting over. */
.sg-dentro{padding-left:15px}
.sg-sez:not(:has(h3)) .sg-dentro{padding-left:0}

.sg-comma,.sg-elenco li{position:relative;padding-left:2.2em}
.sg-n{position:absolute;left:0;font-weight:600;color:var(--faint);
  font-variant-numeric:tabular-nums}

.sg-elenco{list-style:none;margin:0;padding:0;
  display:flex;flex-direction:column;gap:9px}
.sg-elenco li{font-size:14.5px;line-height:1.7;color:var(--ink-2);text-wrap:pretty}
/* The bulleted list: the mark is put there by the stylesheet, because
   in the document it is a character and here it is an element of the
   list. */
.sg-elenco.punti li::before{content:"";position:absolute;left:.6em;top:.68em;
  width:5px;height:5px;border-radius:50%;background:var(--brand)}

/* ============================================================
   EVERY LIST IS A BLOCK, not loose lines
   ============================================================
   Half the document is lists. Left flush with the text they blend
   into the paragraphs around them; inside a block one sees where they
   begin and where they end, and the hairline on the left says at a
   glance what kind they are.
   The NEUTRAL one is for the lists that explain (the lettered items
   of the articles) and takes the house colour: they are definitions,
   not orders. */
.sg-lista{margin:0 0 13px;padding:12px 15px 13px;border-radius:12px;
  border:1px solid var(--line);border-left:3px solid var(--line-2);
  background:var(--sunken)}
.sg-lista.lettere{border-left-color:var(--brand)}
.sg-lista.sotto{margin-left:2.2em}

/* The letter in a small plate: it is the mark of this list as the
   cross is of the prohibitions, and in a column of twelve items three
   lines each it is the only handhold for finding the place one was
   at. */
.sg-lista.lettere .sg-elenco li{padding-left:2.4em}
.sg-lista.lettere .sg-n{left:0;top:.15em;display:grid;place-items:center;
  min-width:20px;height:20px;border-radius:6px;
  background:var(--panel);border:1px solid var(--line-2);
  font-size:11.5px;font-weight:700;color:var(--brand)}

/* ============================================================
   WHAT IS FORBIDDEN AND WHAT IS DUE
   ============================================================
   Half the annex is lists, and with identical bullets the thirteen
   things that must never be done read like the ten that must always
   be done. They are the two lists whoever opens this page comes
   looking for, and they have to be told apart before they are read.

   THE SIGN BEFORE THE COLOUR. A cross and a tick are told apart even
   without seeing the red and the green (colour blindness, printing
   in black and white, a screen in the sun) and the colour doubles
   the sign instead of being the only difference. The label at the
   head says it in words, which is what whoever reads by voice
   hears. */
.sg-lista.vietato{border-left-color:var(--down)}
.sg-lista.dovuto {border-left-color:var(--up)}
.sg-lista.avviso {border-left-color:var(--warn)}

.sg-eti{display:flex;align-items:center;gap:7px;margin:0 0 10px;
  font-size:11px;font-weight:700;letter-spacing:.11em;text-transform:uppercase}
.sg-lista.vietato .sg-eti{color:var(--down)}
.sg-lista.dovuto  .sg-eti{color:var(--up)}
.sg-lista.avviso  .sg-eti{color:var(--warn)}
.sg-eti .sg-segno{font-size:12px;line-height:1}

/* The sign takes the place of the bullet, in the same column. */
.sg-lista .sg-elenco.punti li::before{content:none}
.sg-lista .sg-elenco li .sg-segno{position:absolute;left:.15em;top:.15em;
  font-size:12.5px;font-weight:700;line-height:1.7}
.sg-lista.vietato .sg-elenco li .sg-segno{color:var(--down)}
.sg-lista.dovuto  .sg-elenco li .sg-segno{color:var(--up)}
.sg-lista.avviso  .sg-elenco li .sg-segno{color:var(--warn)}

/* ============================================================
   THE CONTACTS
   ============================================================
   The only part of the document that is USED instead of read: two
   people to report to. As list items they are two rows among forty
   alike, with the mail address to be copied out by hand.
   Here they are two cards: above who they are, below how to reach
   them. */
.sg-contatti{list-style:none;margin:0 0 14px;padding:0;
  display:flex;flex-direction:column;gap:10px}
.sg-contatti li{display:flex;flex-direction:column;gap:3px;
  padding:12px 15px;border-radius:12px;
  border:1px solid var(--line-2);background:var(--panel)}
.sg-chi{font-size:14px;font-weight:600;line-height:1.45;color:var(--ink);text-wrap:pretty}
.sg-come{font-size:13.5px;color:var(--muted)}
.sg-come .sg-link{font-weight:600;color:var(--brand)}

/* ============================================================
   THE TABLES OF THE DOCUMENTS
   ============================================================
   The Garante's guidelines ask, for storage technologies, for an
   analytic table: name, purpose, duration. It lives here and not in
   the privacy notice's stylesheet because the draughtsman is shared,
   and a document that one day has a table finds it dressed already.

   IT SCROLLS BY ITSELF. Four columns of text do not fit in a narrow
   panel, and a table that overflows widens the whole page: inside its
   own container it scrolls sideways instead and drags nothing with
   it.                                                              */
.sg-tabella{margin:14px 0;overflow-x:auto;
  border:1px solid var(--line);border-radius:10px}
/* FOUR EQUAL COLUMNS. table-layout:fixed takes from the browser the
   freedom to give the width according to how much text is inside:
   without it the purpose column, which is the longest, takes half the
   table and the other three tighten until "Denominazione" wraps.
   Lined up equal they compare, and that is the only reason a table
   exists instead of a list. */
.sg-tabella table{width:100%;border-collapse:collapse;font-size:14px;
  min-width:34rem;table-layout:fixed}
.sg-tabella col{width:25%}
/* Long text wraps inside its own column instead of widening it, and
   the words that do not fit (the name of a cookie) break instead of
   breaking out. */
.sg-tabella th,.sg-tabella td{overflow-wrap:anywhere}
/* The caption is there for whoever reads with a synthetic voice: it
   says what the table is about before its cells are read. On screen
   it adds nothing the title of the article does not say already. */
.sg-tabella caption{position:absolute;width:1px;height:1px;overflow:hidden;
  clip-path:inset(50%);white-space:nowrap}
.sg-tabella th,.sg-tabella td{padding:9px 12px;text-align:left;
  vertical-align:top;border-bottom:1px solid var(--line-2)}
.sg-tabella thead th{font-weight:600;font-size:12.5px;color:var(--muted);
  text-transform:uppercase;letter-spacing:.04em;
  background:var(--velo);border-bottom:1px solid var(--line)}
/* THE FIRST COLUMN WRAPS LIKE THE OTHERS. A white-space:nowrap goes
   unnoticed on a short name and on "vs-iscrizione-minivolley,
   vs-iscrizione-agonistico" makes the cell spill over the column
   alongside: two texts printed one on top of the other. In a table
   with fixed columns no cell can refuse to wrap. */
.sg-tabella tbody th{font-weight:600;color:var(--ink)}
.sg-tabella tbody tr:last-child th,.sg-tabella tbody tr:last-child td{border-bottom:0}

}

/* app/privacy.css */
@media (min-width:900px){
/* ============================================================
   PRIVACY NOTICE: the tail of the board
   ============================================================
   The whole design comes from app/safeguarding.css: it is the same
   object, a document with the index alongside, and drawing it again
   here means two documents that a year from now no longer resemble
   each other.

   HERE THERE IS ONLY WHAT CHANGES: in the safeguarding policy the
   left column holds the federation crest above the index, because
   that document is born of a federal regulation and showing its
   source says something. A privacy notice has no source to show: the
   index moves up and takes the whole column.
   ============================================================ */

/* The index shares its height with nobody. */
.shell.sg.pv .sg-lato{display:flex;flex-direction:column}
.shell.sg.pv .sg-indice{flex:1;min-height:0;display:flex;flex-direction:column}
.shell.sg.pv .sg-voci{flex:1;min-height:0;overflow:auto}

}

/* tel/tokens.css */
@media (max-width:899px){
/* ============================================================
   THE PHONE PALETTE: the one for showing, not another house.
   ============================================================
   These values are NOT the ones in tokens.css. The two screens tune
   their greys differently: the board keeps rules and secondary text
   stronger (--line #B7CBD9) because it has to carry large panels and
   dense tables, while the phone keeps them much fainter
   (--line #E2ECF2) because at 390px a dark rule becomes a cage.
   Tipping one onto the other is not a tidy up, it is a redesign.

   The WAY the ground is named changes too. The board says --panel and
   --ground, the phone says --paper and --surface. Different names for
   the same idea, listed in docs/DIVERGENZE.md: until the club picks
   one, both stay.

   THREE STATES, as everywhere: bare :root is the light one, the block
   inside prefers-color-scheme is for whoever has a dark system and has
   not chosen, :root[data-theme="dark"] is for whoever has chosen. A
   token declared in the light and forgotten in one of the two darks
   stays light at night, which is the classic unreadable page defect:
   tests/css.js checks this sheet too.

   The (max-width:899px) band is not written here: build/build.js adds
   it, together with the order.                                       */

:root{
  --ink:      #020909;
  --ink-2:    #40525C;
  --brand:    #0377BD;
  --on-brand: #FFFFFF;
  --accent:   #52B2D0;

  --paper:    #FFFFFF;
  --surface:  #F4F8FB;
  --sunken:   #EAF1F6;
  --line:     #E2ECF2;
  --line-2:   #D3E1EA;
  /* THE TONE OF THE DOTTED RULE. A dotted rule does not show like a
     solid one: fewer than half its pixels are lit, so at equal colour
     it comes out lighter than it is. This tone is one step stronger
     than --line-2 in both themes, which is the amount that makes a
     dotted line weigh as much as a solid --line-2 one. */
  --tratteggio: #BACDDA;
  /* DARK ENOUGH TO READ: --faint stays above 4.5:1 and --muted above
     7:1, the two AA thresholds for text. A grey under 3:1 on light
     paper is not "readable with effort", it is not there at all, and
     the phone is the screen that needs more contrast and not less:
     outdoors, with the display dimming itself. */
  --muted:    #4C5E6A;
  --faint:    #5F7280;

  /* Header and drawer follow the theme like everything else. The rule
     under the header is lighter than on the board: there it separates
     two panels, here it only separates the top from the content. */
  --head:      #FFFFFF;
  --head-fg:   #0B1A22;
  --head-dim:  #54697A;
  --head-line: #DCE8F0;
  --menu-line: #E2ECF2;

  --up:       #12885A;
  --down:     #C6412F;
  /* The LIGHT green and red, for the win/loss label in the agenda
     card. Same idea as the board (styles/tokens.css), and in the light
     theme the same values too, because the starting green and red are
     the same here. In the dark they are not: there the phone lightens
     --up and --down and the patch under them has to follow. Solid and
     not veiled, since a veil leans on what is under it and here there
     are two different grounds (the paper and the day strip).
     Measured contrast of the text on top: 3,4:1 green and 3,7:1 red in
     the light, 5,4:1 and 4,7:1 in the dark, better in the dark because
     there the phone lightens --up and --down.
     CAREFUL: tests/theme.js resolves the tokens from the BOARD
     palette, so nothing measures these four lines on its own. They are
     computed by hand, and have to be redone by hand if anyone touches
     --up or --down above. */
  --up-fill:   #C9E7D8;
  --down-fill: #F6D6D0;

  --silea-fill: rgba(164,210,230,.16);
  --set-win:    rgba(164,210,230,.55);
  --bird-op:  .40;
  /* MINIMUM height of the Silea card: the same with a result, with a
     countdown and with a bye. Left to itself the card comes out ~206px
     with a result, ~187px waiting and ~150px on a bye, so changing
     matchday makes it dance and the whole list below with it. On the
     board the same number is 270px, because the five column box score
     fits in there as well. */
  --hero-h:   212px;
  --scrim:    rgba(2,9,9,.45);
  /* The ground the app rests on. It never shows, since the screen
     covers all of it, but if one day something did not reach the
     bottom, what lies under is this and not the white of the
     browser. */
  --stage:    #DCE7EE;
}

@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]){
    --ink:      #EFF6F9;
    --ink-2:    #BCCAD2;
    --brand:    #52B2D0;
    --on-brand: #03151C;
    --accent:   #52B2D0;

    --paper:    #0B1317;
    --surface:  #050C0F;
    --sunken:   #101B21;
    --line:     #182831;
    --line-2:   #22343E;
    --tratteggio: #3E525F;
    --muted:    #7F949F;
    --faint:    #5D717C;

    --head:      #020909;
    --head-fg:   #FFFFFF;
    --head-dim:  #7E939F;
    --head-line: #122029;
    --menu-line: #16232A;

    /* In the dark the green and red of the board would disappear into
       the ground: here they gain brightness. It is the only point
       where the two layouts disagree even on semantic colours. */
    --up:       #2AAE74;
    --down:     #E0604D;
    /* In the dark "light" means dark: the patch has to stay under the
       green and red lightened above, not over them. */
    --up-fill:   #0F2A21;
    --down-fill: #2E1A15;

    --silea-fill: rgba(82,178,208,.10);
    --set-win:    rgba(82,178,208,.20);
    --bird-op:  .10;
    --scrim:    rgba(0,0,0,.62);
    --stage:    #04090C;
  }
}

:root[data-theme="dark"]{
  --ink:      #EFF6F9;
  --ink-2:    #BCCAD2;
  --brand:    #52B2D0;
  --on-brand: #03151C;
  --accent:   #52B2D0;

  --paper:    #0B1317;
  --surface:  #050C0F;
  --sunken:   #101B21;
  --line:     #182831;
  --line-2:   #22343E;
  --tratteggio: #3E525F;
  --muted:    #7F949F;
  --faint:    #5D717C;

  --head:      #020909;
  --head-fg:   #FFFFFF;
  --head-dim:  #7E939F;
  --head-line: #122029;
  --menu-line: #16232A;

  --up:       #2AAE74;
  --down:     #E0604D;
  --up-fill:   #0F2A21;
  --down-fill: #2E1A15;

  --silea-fill: rgba(82,178,208,.10);
  --set-win:    rgba(82,178,208,.20);
  --bird-op:  .10;
  --scrim:    rgba(0,0,0,.62);
  --stage:    #04090C;
}

}

/* tel/base.css */
@media (max-width:899px){
/* ============================================================
   THE GROUND OF THE PHONE SCREEN
   ============================================================
   There is no frame around the screen: the ground and the clipping are
   shared between the body of the page and #schermo.

   NOTHING SCROLLS AT PAGE LEVEL. Only the middle strip scrolls, inside
   the app, and that is what makes the screen feel like an application
   and not a document. With a scrolling body the sheets rising from the
   bottom would drag the page along under them, and the sponsor bar at
   the foot would slide away.

   This sheet also redoes the reset (*, button, :focus-visible):
   app/base.css does it for the board and is bounded above 900px, so it
   does not reach down here. The four lines are not identical to the
   board ones: the type is 16px at line height 1,4, not 17 and 1,5. */

*{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%}
html,body{height:100%;overflow:hidden}

body{
  display:flex;flex-direction:column;
  background:var(--stage);
  color:var(--ink);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  font-size:16px;
  line-height:1.4;
  -webkit-font-smoothing:antialiased;
  -webkit-tap-highlight-color:transparent;
}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer}
:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:4px}
.u-num{font-variant-numeric:tabular-nums}
.lbl{
  font-size:10px;font-weight:700;letter-spacing:.09em;
  text-transform:uppercase;color:var(--muted);
}

/* #schermo takes whatever is left under the header and passes it on
   unchanged to the app. overflow:hidden: a panel that overflows
   overflows inside its own strip and does not lengthen the page. The
   sheets rising from the bottom are untouched, being fixed, so the
   clipping of an ancestor does not reach them. */
#schermo{flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden}

.app{flex:1;min-height:0;display:flex;flex-direction:column;background:var(--surface)}

.scroll{
  flex:1;min-height:0;
  overflow-y:auto;overflow-x:hidden;
  overscroll-behavior-y:contain;
  -webkit-overflow-scrolling:touch;
  scroll-behavior:smooth;
}
/* One pixel tall and at the top of the scrolling strip: when it leaves
   the view, the header recomposes. One pixel and not zero, because an
   element with no height never intersects anything. */
#sentinel{height:1px}

/* The scrollbar, thinner than on the board: here the screen is 390 and
   ten pixels are a fortieth of the usable width. The rest (colours,
   radius, transparent frame) comes from styles/scorrimento.css and is
   not repeated. */
::-webkit-scrollbar{width:8px;height:8px}
::-webkit-scrollbar-thumb{border-radius:5px;border-width:2px}

}

/* tel/testata.css */
@media (max-width:899px){
/* ============================================================
   THE HEADER, ON THE PHONE: corrections and the name that recomposes
   ============================================================
   The header is drawn by header.css, which belongs to every page, and
   below 900px it already draws it nearly as the phone wants: hammer on
   the left, brand in the middle, theme on the right, three columns
   44 · 1fr · 44. Four differences are left, and none of them is taste.

   1. --testa TALL IN ALL, hairline included, and with no padding.
      header.css puts min-height on the CONTENT and 4px of side
      padding: the hairline adds to it (one pixel across the width that
      pushes everything down) and the two icons slide 4px towards the
      middle. With box-sizing:border-box the height on the band takes
      in the hairline and the content stays a pixel lower. The
      min-height goes off with it, or it wins.
   2. NOT sticky. The page does not scroll here, only the middle strip
      does: a sticky would have nothing to follow.
   3. THE WEIGHTS. The shared chrome works on the board scale, where
      the highest declared is 600; the phone writes brand and watermark
      at 800. It is one of the catalogued divergences
      (docs/DIVERGENZE.md): it is not unified, it is reproduced.
   4. The theme button carries the 20px icon like the other two, not
      the 19 of the board. Half a pixel a side, but it is half a pixel
      in the top right corner of every screen.

   The colour is declared on .top so the children inherit it: the
   competition name below sets none of its own, and without this line
   it would inherit --ink, which on the light theme is darker than
   --head-fg.                                                         */
.top{position:static;flex:none;height:var(--testa);color:var(--head-fg);overflow:hidden}
.top-in{height:100%;min-height:0;padding:0;position:relative}
.tema svg{width:20px;height:20px}

/* HALF A PIXEL, AND IT SHOWS.
   THE LINK IS AS BIG AS THE CREST, not as the column. .brand leads to
   the home page and is the middle cell of a 44 · 1fr · 44 grid: as a
   grid item it stretches across the whole middle column and takes the
   full height of the band, so a finger landing anywhere at the top (to
   scroll, or by mistake) leaves the page. A brand is tapped where the
   brand is seen: justify-self tightens it onto the content and the
   height drops to that of the crest. That leaves 76 by 56 pixels of
   target, well over the 44 a tappable thing has to measure.
   The two measurements are EVEN and so is the band: the brand centres
   on a whole pixel and its edges keep their colour. With odd
   measurements it would redraw half a pixel higher, and that is the
   difference the test finds first. */
.brand{height:var(--stemma);justify-self:center}

/* ------------------------------------------------------------------
   THE HEADER THAT RECOMPOSES
   Scrolling, the competition bar leaves the stage and its name
   recomposes in the middle of the header: whoever looks never loses
   sight of what is being read, and the matchday stays stuck below.

   The middle column here is .brand, which comes from the shared
   chrome: wrapping it would change it for the sponsor page too, for a
   piece one page needs. So the second layer overlaps instead, and
   left/right at 44px are exactly the two edges of the middle column.

   The class "collapsed" sits on the BODY: the header is outside
   #schermo, and lighting both layers with a single class takes a
   common ancestor.
   ------------------------------------------------------------------ */
.hdr-comp{
  /* The full height and not "top to bottom": it is the same box, and
     it overruns the content of the band by a pixel. With bottom:0 the
     box would be a pixel shorter and the name would centre half a
     pixel above the brand it replaces. */
  position:absolute;left:44px;right:44px;top:0;height:var(--testa);
  display:flex;align-items:center;justify-content:center;gap:6px;
  opacity:0;transform:translateY(8px);pointer-events:none;
  font-size:13.5px;font-weight:600;letter-spacing:-.005em;
  max-width:100%;padding:0 4px;
  transition:opacity .22s ease, transform .22s ease;
}
/* NEVER wrapping and never wider than the column: the FIPAV names
   carry the sponsor inside, and "3ª Divisione U16 · 25/26" at 13,5px
   barely fits. */
.hdr-comp .txt{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hdr-comp .chev{color:var(--head-dim);font-size:11px}
.brand{transition:opacity .22s ease, transform .22s ease}
body.collapsed .brand{opacity:0;transform:translateY(-8px)}
body.collapsed .hdr-comp{opacity:1;transform:none;pointer-events:auto}

}

/* tel/piede.css */
@media (max-width:899px){
/* ============================================================
   AT THE BOTTOM: SWITCH AND SPONSOR BAR
   ============================================================
   The Results/Table switch sits at the bottom and not at the top
   because the thumb reaches the bottom. For the same reason it is not
   in the drawer: it is the most frequent gesture of the screen.     */
.tabs{
  flex:none;
  background:var(--paper);
  border-top:1px solid var(--line);
  padding:7px 12px;
}
.seg{
  display:grid;grid-template-columns:1fr 1fr;
  background:var(--sunken);border-radius:10px;padding:3px;
  position:relative;
}
/* The pill slides, the two words stay still: it reads as a switch and
   not as two buttons. It sits below (implicit z-index) with the
   buttons above, or it would cover the words. */
.seg .thumb{
  position:absolute;top:3px;left:3px;
  width:calc(50% - 3px);height:calc(100% - 6px);
  background:var(--paper);border-radius:8px;
  border:1px solid var(--line);
  transition:transform .22s cubic-bezier(.4,0,.2,1);
}
.seg button{
  position:relative;z-index:1;
  padding:9px 0;border-radius:8px;
  font-size:12.5px;font-weight:700;letter-spacing:.02em;
  color:var(--muted);transition:color .18s;
}
.seg button.on{color:var(--ink)}
.seg[data-tab="table"] .thumb{transform:translateX(100%)}

/* The sponsor bar: three plates, two below 340px. The layout decides
   the number (shells/phone.js) and writes the columns only when that
   number really changes: rewriting them at every jolt of the window
   would restart the rotation from the beginning. */
.sponsors{
  flex:none;
  background:var(--paper);
  border-top:1px solid var(--line);
  padding:9px 10px calc(9px + env(safe-area-inset-bottom,0px));
  display:grid;gap:8px;
  --h:34px;                /* usable height of the mark inside the plate */
}
/* Plate white at night too: the mark files have a white ground baked
   in (none of them has an alpha channel), and on a dark ground they
   would be fifteen white rectangles. Fixed white means the ground of
   the file disappears into the plate. */
.slot{
  height:40px;border-radius:7px;
  background:#fff;border:1px solid var(--line);
  display:grid;place-items:center;
  overflow:hidden;padding:0 7px;
}
/* --k evens out the AREA between marks of different proportions (here
   from 0.91 to 4.10): without it a long wordmark as tall as a square
   mark would weigh three times as much. object-fit rescales the marks
   wider than the plate, so the proportion never distorts. */
.slot img{
  display:block;width:100%;height:calc(var(--h) * var(--k,1));
  object-fit:contain;object-position:center;
  transition:opacity .42s ease;
}
.slot img.out{opacity:0}
.slot img.scuro{border-radius:3px}

}

/* tel/fogli.css */
@media (max-width:899px){
/* ============================================================
   THE SHEETS THAT RISE FROM THE BOTTOM
   ============================================================
   Competition, season and match detail are not pages: they are sheets
   that cover the screen for the length of a choice and then go. They
   rise from the bottom because that is where the thumb comes from, and
   they close by dragging down, by tapping the veil, or with Esc.

   FIXED POSITION, not absolute. Anchored to #schermo they would start
   BELOW the header and the veil would leave it uncovered. Fixed, they
   measure against the window, which is the box they need.            */
.scrim{
  position:fixed;inset:0;z-index:60;
  background:var(--scrim);
  opacity:0;pointer-events:none;transition:opacity .22s;
}
.scrim.on{opacity:1;pointer-events:auto}

.sheet{
  position:fixed;left:0;right:0;bottom:0;z-index:70;
  background:var(--paper);
  border-radius:18px 18px 0 0;
  transform:translateY(101%);
  transition:transform .28s cubic-bezier(.32,.72,0,1);
  max-height:82%;display:flex;flex-direction:column;
  padding-bottom:env(safe-area-inset-bottom,0px);
}
.sheet.on{transform:none}
/* drag zones: the browser must not read the gesture itself */
.grab,.md-fixed{touch-action:none}
.grab{padding:9px 0 4px;display:grid;place-items:center;flex:none}
.grab i{width:34px;height:4px;border-radius:2px;background:var(--line-2);display:block}
/* THE TITLE APART FROM THE HANDLE. A grip to pull and the name of
   what is on screen are two unrelated things, and stuck together they
   read as one piece. Twelve above and twelve below: the title floats
   in its own space and the bar goes back to being a grip. */
.sheet h3{
  flex:none;padding:12px 18px 12px;
  font-size:16px;font-weight:700;letter-spacing:-.015em;
}
/* position:relative for a sure reference: the measurements of the
   items are read against this box, not against some ancestor */
.sheet-body{position:relative;flex:1;min-height:0;overflow-y:auto;padding:0 10px 14px;overscroll-behavior:contain}
/* FIXED HEIGHT, not "as much as it takes".
   The match sheet is set on the tallest of the three tabs, the five
   set chart: 120 + 122 + 48 + 234 = 538. Changing tab (chart, photos,
   report) the sheet neither shortens nor wobbles.
   The competition one sits at 82% for the same reason: changing
   section the list gets shorter or longer, and with automatic height
   it wobbles under the fingers while choosing. */
#matchSheet{height:min(88%,538px)}
#compSheet{height:82%}
/* score, box score and tabs stay put at the top, only the panel below
   scrolls: the gallery does not carry the result away */
.md-fixed{flex:none;border-bottom:1px solid var(--line)}
.md-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;
  padding-bottom:calc(8px + env(safe-area-inset-bottom,0px))}
.md-scroll::-webkit-scrollbar{width:8px}
.md-scroll::-webkit-scrollbar-track{background:transparent}
.md-scroll::-webkit-scrollbar-thumb{background:var(--line-2);border-radius:5px;
  border:2px solid transparent;background-clip:content-box}
/* The scrollbars are in styles/scorrimento.css, and the phone size in
   tel/base.css. */
/* Three tabs at the top of the "Scegli la competizione" sheet. 1fr
   columns: the same width for all three, whatever the length of the
   word. minmax(0,1fr) or the content dictates the minimum. */
.ttabs{
  flex:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
  gap:6px;padding:4px 14px 10px;
}
.ttabs button{
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;
  padding:9px 4px;border-radius:10px;min-width:0;
  border:1px solid transparent;background:var(--sunken);
  font-size:9.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;
  color:var(--muted);
}
.ttabs button.on{background:var(--silea-fill);border-color:var(--brand);color:var(--brand)}
/* section with no data: switched off */
.ttabs button[disabled]{background:transparent;border-color:transparent;
  color:var(--faint);opacity:.45}
.ttabs svg{width:17px;height:17px;flex:none}
.ttabs .lbl{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}
.grp{padding:12px 8px 5px;font-size:9.5px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--faint)}
.opt{
  width:100%;display:flex;align-items:center;gap:11px;
  padding:11px 8px;border-radius:10px;text-align:left;
}
.opt:active{background:var(--sunken)}
.opt .badge{width:32px;height:32px;border-radius:8px;font-size:13px}
.opt .txt{flex:1;min-width:0}
.opt .txt b{display:block;font-size:14.5px;font-weight:600;letter-spacing:-.01em}
.opt .txt small{display:block;font-size:11.5px;color:var(--muted);margin-top:1px}
/* WHO PLAYS IT, between the tournament and the group: the same ladder
   as the board sidebar (app/lato.css .tree .txt .chi). "U16
   Provinciale / Girone C" does not say whether it is LagoVerde or MGI
   Tools, and those are two teams with two tables.
   Never wrapping: at 390px a twenty-eight character federation name
   would push the tick off to the right. */
.opt .txt .chi{display:block;font-size:12px;font-weight:500;color:var(--ink-2);
  margin-top:1px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.opt .tick{color:var(--brand);opacity:0;flex:none}
.opt.sel .tick{opacity:1}
/* More than one entry inside an item (ui/iscrizioni.js): every name
   with its leagues below, and a gap between the pairs. */
.opt .isc + .isc{display:block;margin-top:7px}
.opt.sel .txt b{font-weight:700}
.opt[disabled]{opacity:.42;cursor:default}
.opt[disabled] .badge{background:var(--sunken);color:var(--faint)}

/* season sheet: compact pills */
.pills{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:4px 8px 8px}
.pill{
  padding:14px 0;border-radius:10px;text-align:center;
  background:var(--sunken);
  font-size:14px;font-weight:700;letter-spacing:.01em;
}
.pill.sel{background:var(--ink);color:var(--paper)}
.pill[disabled]{opacity:.4;cursor:default}

/* match detail sheet */
/* APART FROM THE HANDLE like the titles of the other sheets. This one
   has no <h3>, its first line is the date, so the spacing of .sheet h3
   does not reach it and is written here. */
.md-head{padding:12px 18px 14px;display:flex;flex-direction:column;gap:12px}
/* it goes INSIDE .md-when: as a sibling it would take the 12px gap of
   .md-head and the 18px inset a second time. Inherited uppercase and
   bold are cancelled here. */
.md-dove{display:block;margin-top:6px;font-size:14.5px;font-weight:500;
  letter-spacing:0;text-transform:none;color:var(--ink-2);line-height:1.45}
/* WHEN AND WHERE ARE THE ANSWER, not a caption. They are the two
   things the card is opened to find out: what time on Saturday, and
   which gym. Larger size and the text colour, not the label dress the
   rest of the site gives to labels. */
.md-when{font-size:13.5px;font-weight:700;letter-spacing:.01em;
  text-transform:none;color:var(--ink)}
.md-rows{display:flex;flex-direction:column;gap:10px}
.md-note{padding:10px 18px 14px;font-size:12.5px;color:var(--muted);line-height:1.5}

/* THE DIRECTIONS BUTTON. As wide as the text and not as the sheet: it
   is an action, and an action is tapped where it is written. Forty
   four tall, like everything touched with a thumb. */
.md-mappa{display:inline-flex;align-items:center;gap:9px;
  margin:0 18px 18px;min-height:44px;padding:0 16px;box-sizing:border-box;
  border:1px solid var(--line);border-radius:11px;background:var(--velo);
  color:var(--brand);text-decoration:none;
  font-size:14.5px;font-weight:600}
.md-mappa svg{width:18px;height:18px;flex:none}
.md-mappa:active{background:var(--zebra)}

/* --- match tabs: chart · photos · report --------------------------- */
.mtabs{display:flex;gap:4px;padding:4px;margin:4px 14px 10px;
  background:var(--sunken);border-radius:10px}
.mtabs button{flex:1;padding:9px 0;border-radius:8px;font-size:11.5px;font-weight:700;
  letter-spacing:.04em;color:var(--muted);transition:background .15s,color .15s}
.mtabs button.on{background:var(--paper);color:var(--ink);box-shadow:0 0 0 1px var(--line)}

.vuoto{padding:34px 18px;display:flex;flex-direction:column;align-items:center;
  gap:6px;text-align:center}
.vuoto b{font-size:14.5px;font-weight:700;color:var(--ink-2)}
.vuoto span{font-size:12.5px;color:var(--faint)}

/* --- margin per set chart ------------------------------------------
   There is no point by point, so the bar tells by how much each set
   was won: it starts from the centre towards whoever took it.
   Proportional bars (25 against 21) would be unreadable: in volleyball
   every set is nearly 50/50 and the gap disappears.                 */
.chart{padding:10px 16px 16px;height:100%;display:flex;flex-direction:column}
.ch-head{
  flex:none;display:flex;align-items:center;justify-content:space-between;gap:10px;
  padding:2px 0 12px;
}
.ch-side{
  font-size:10px;font-weight:700;letter-spacing:.06em;color:var(--muted);
  white-space:nowrap;
}
/* The rows share the height: three sets or five, the chart fills the
   same box and the foot stays at the bottom. */
.ch-row{
  display:grid;grid-template-columns:18px 1fr 46px 34px;
  align-items:center;gap:9px;
  flex:1 1 0;min-height:28px;max-height:56px;
}
.ch-sc{font-size:11.5px;color:var(--faint);text-align:right;font-variant-numeric:tabular-nums}
.ch-n{font-size:10px;font-weight:700;color:var(--faint)}
.ch-track{position:relative;height:10px;border-radius:5px;background:var(--sunken)}
.ch-track::before{
  content:"";position:absolute;left:50%;top:-3px;bottom:-3px;
  width:1px;background:var(--line-2);
}
.ch-bar{
  position:absolute;top:0;bottom:0;display:block;
  background:var(--line-2);
  animation:chgrow .42s cubic-bezier(.2,.8,.2,1) both;
}
.ch-bar.me{background:var(--accent)}
.ch-bar.l{border-radius:5px 0 0 5px;transform-origin:right center}
.ch-bar.r{border-radius:0 5px 5px 0;transform-origin:left center}
@keyframes chgrow{from{transform:scaleX(0)}to{transform:scaleX(1)}}
.ch-d{
  font-size:11.5px;font-weight:700;text-align:right;color:var(--ink-2);
  font-variant-numeric:tabular-nums;
}
.ch-tot{
  flex:none;margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:10px;
  padding-top:12px;border-top:1px solid var(--line);
  font-size:12px;color:var(--muted);
}
.ch-tot b{font-size:15px;font-weight:700;color:var(--ink);letter-spacing:-.01em}

/* The season tag is a PLATE of its own, as on the desk. It sits below
   because the pill is narrow and putting it alongside would break the
   year. */
.pill .tag{
  display:block;margin-top:3px;
  font-size:9.5px;font-weight:500;letter-spacing:.08em;text-transform:uppercase;
  color:var(--faint);
}
.pill.sel .tag{color:var(--paper);opacity:.7}

}

/* tel/tendina.css */
@media (max-width:899px){
/* ============================================================
   DRAWER AND TOAST: the two corrections to the shared chrome
   ============================================================
   The drawer is drawn by drawer.css, which belongs to every page:
   measures, weights and wording come from there. Two differences
   remain, both of them measurable.

   1. THE CLOSE BUTTON SITS WHERE THE THEME BUTTON SITS. It is the same
      gesture in the same corner (the menu opens with the hamburger on
      the left and closes with the cross on the right) and the header
      already owns that place: 44px of target against the edge, with
      the icon falling twelve pixels inside. The header wins here,
      being the frame common to every page.
   2. THE UNDERLINE. On the board app/base.css takes it off with a
      reset on a, which does not reach down here (it is bounded above
      900px). Down here it comes off the item instead.              */
.menu-top{padding-right:0}
.menu .icon{width:44px;height:48px}
.menu nav a{text-decoration:none}

/* THE TOAST.
   120px from the bottom, which is above the sponsor bar and above the
   switch, where it covers nothing of what is being looked at. On the
   pages that scroll it sits at 30px, because down there is nothing.
   The colour: --paper is the white of the phone, --panel that of the
   board; at night the two are not the same black. */
.toast{
  position:fixed;bottom:120px;
  background:var(--ink);color:var(--paper);
  padding:10px 16px;border-radius:9px;
  font-size:12.5px;font-weight:600;
  max-width:78%;text-align:center;
}

/* The privacy line inside the drawer: it gets tapped, so it needs a
   target tall enough for a thumb. */
.menu-piede a{display:inline-block;padding:6px 0;color:inherit;text-decoration:underline}

}

/* tel/safeguarding.css */
@media (max-width:899px){
/* ============================================================
   SAFEGUARDING: the phone
   ============================================================
   DOWN HERE THE PAGE SCROLLS. It is the declared exception: the other
   phone screens have a strip scrolling inside a still wrapper, because
   they show a grid or a list to leaf through. This is a document of
   five thousand words, and a panel scrolling inside a scrolling page
   is two fingers arguing: whoever reads drags and cannot tell which of
   the two moved.

   THE INDEX IS A SHEET THAT RISES FROM THE BOTTOM, not a column: at
   390px a fixed column would eat half the screen for something touched
   once. It is the same grammar as the calendar filter and the team
   selector.

   THIS SHEET IS COMPLETE: app/safeguarding is bounded to
   min-width:900px, so nothing written in there reaches down here.
   ============================================================ */
.railwrap{display:none}
.app{flex:1;min-height:0;display:flex;flex-direction:column;background:var(--surface)}

.shell.sg{
  flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;
  -webkit-overflow-scrolling:touch;
  display:flex;flex-direction:column;gap:0;
  padding:0;margin:0;max-width:none;
}

/* The panels become blocks: paper ground and a hairline below, like
   the stack of the teams page. */
.sg-lato,.sg-doc{display:block;background:var(--paper);border:0;border-radius:0;
  min-height:0;max-height:none;flex:none}
.sg-indice{display:none}          /* down here the index lives in the sheet */

/* --- the mark --------------------------------------------------------
   Smaller than on the board and centred: it is a sign of guarantee,
   not the subject of the page. The white slab stays, for the same
   reason: the federation wording is dark blue. */
.sg-marchio{padding:16px 16px 18px;display:grid;place-items:center;
  border-bottom:1px solid var(--line)}
.sg-marchio img{display:block;height:150px;width:auto;
  background:#fff;border:1px solid var(--line);border-radius:10px;padding:9px 12px}

/* --- the document header ---------------------------------------------
   Stuck at the top while scrolling: it is the row that carries the
   index button, and in a long document that button has to stay within
   thumb reach instead of sitting above five thousand words.
   THE FULL NAME does not fit beside the button at 390px: the tracking
   tightens and it is accepted that it ends in an ellipsis. It is a
   service bar, not a title. The real title is the first line of the
   document, two centimetres below. */
.sg-doc .p-head{
  position:sticky;top:0;z-index:3;
  background:var(--paper);border-bottom:1px solid var(--line);
  padding:9px 14px;min-height:0;
  display:flex;align-items:center;justify-content:space-between;gap:10px;
}
.sg-doc .p-head .t{min-width:0;font-size:10px;font-weight:700;letter-spacing:.06em;
  text-transform:uppercase;color:var(--muted);
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sg-apri{display:flex;align-items:center;gap:5px;
  padding:6px 11px;border-radius:8px;background:var(--sunken);
  font-size:12px;font-weight:700;color:var(--brand)}
.sg-apri .chev{font-size:10px;color:var(--faint)}

/* --- the text --------------------------------------------------------- */
.sg-corpo{padding:18px 16px 26px}

.sg-intro h1{font-size:19px;font-weight:700;letter-spacing:-.01em;line-height:1.3;
  color:var(--ink);margin:0 0 5px}
.sg-legge{font-size:12px;font-style:italic;color:var(--muted);margin:0 0 14px}

.sg-parte{border-top:1px solid var(--line);margin-top:26px;padding-top:20px}
.sg-cartellino{display:inline-block;margin-bottom:7px;
  padding:3px 9px;border-radius:999px;background:var(--sunken);
  font-size:10px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;
  color:var(--muted)}
.sg-parte h2{font-size:15.5px;font-weight:700;line-height:1.35;color:var(--ink);margin:0 0 7px}
.sg-occhiello{font-size:12.5px;color:var(--muted);margin:0 0 4px}

/* --- the sections ----------------------------------------------------
   THE SMALL TITLE STICKS UNDER THE BAR. Scrolling a list of fourteen
   items of equal length, knowing which list it is makes half the
   reading: without it, after three screenfuls it is no longer clear
   whether the duties of the coaches or those of the athletes are being
   read.
   THE HEIGHT OF THE BAR IS NOT GUESSED. The module measures it and
   writes it in --sg-barra: one number, measured where it really
   exists, used here and in the jump of the index. The fallback serves
   the first frame, before the module arrives. */
.sg-sez{margin-top:24px;padding-top:18px;border-top:1px solid var(--line)}
.sg-sez:first-of-type{border-top:0;padding-top:0}
.sg-sez h3{
  position:sticky;top:var(--sg-barra,38px);z-index:2;
  display:flex;align-items:center;gap:9px;
  margin:0 -16px 10px;padding:9px 16px;
  background:var(--paper);border-bottom:1px solid var(--line);
  font-size:13px;font-weight:700;color:var(--brand);letter-spacing:-.005em;
  line-height:1.3;
}
.sg-sez h3 .sg-num{flex:none;display:grid;place-items:center;
  min-width:21px;height:21px;padding:0 5px;border-radius:6px;
  background:var(--silea-fill);color:var(--brand);
  font-size:11px;font-weight:700;font-variant-numeric:tabular-nums}
/* THE TITLE DOES NOT WRAP while it is stuck: a bar changing height
   during a scroll makes everything under it wobble, and the titles
   here reach fifty characters. */
.sg-sez h3{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}
.sg-sez h3 .sg-num{display:inline-grid;vertical-align:middle;margin-right:7px;
  transform:translateY(-1px)}

.sg-corpo p{font-size:14px;line-height:1.75;color:var(--ink-2);margin:0 0 10px;
  text-wrap:pretty}

/* THE LADDER, as on the board: small title, clause, item. The body
   indents under the title and the items indent to the TEXT of their
   clause. At 390px the indent is narrower, because on a column ten
   centimetres wide every indent is text lost. */
.sg-dentro{padding-left:9px}
.sg-sez:not(:has(h3)) .sg-dentro{padding-left:0}

.sg-comma,.sg-elenco li{position:relative;padding-left:2em}
.sg-n{position:absolute;left:0;font-weight:700;color:var(--faint);
  font-variant-numeric:tabular-nums}

.sg-elenco{list-style:none;margin:0;padding:0;
  display:flex;flex-direction:column;gap:9px}
.sg-elenco li{font-size:14px;line-height:1.7;color:var(--ink-2);text-wrap:pretty}
.sg-elenco.punti li::before{content:"";position:absolute;left:.55em;top:.66em;
  width:5px;height:5px;border-radius:50%;background:var(--brand)}

/* Every list is a block, and the rule on the left says which kind. */
.sg-lista{margin:0 0 12px;padding:11px 13px 12px;border-radius:11px;
  border:1px solid var(--line);border-left:3px solid var(--line-2);
  background:var(--sunken)}
.sg-lista.lettere{border-left-color:var(--brand)}
.sg-lista.sotto{margin-left:2em}
.sg-lista.lettere .sg-elenco li{padding-left:2.2em}
.sg-lista.lettere .sg-n{left:0;top:.15em;display:grid;place-items:center;
  min-width:19px;height:19px;border-radius:6px;
  background:var(--paper);border:1px solid var(--line-2);
  font-size:11px;font-weight:700;color:var(--brand)}

/* The source of the opening and the addresses inside the text. */
.sg-fonte{font-size:12px;color:var(--faint);margin-top:12px}
.sg-link{color:var(--brand);font-weight:600;
  text-decoration:underline;text-underline-offset:2px;text-decoration-thickness:1px}

/* ============================================================
   VIETATO E DOVUTO
   ============================================================
   As on the board: the mark before the colour, the label in words. At
   390px it counts double: half the annex is lists, and scrolling with
   a thumb one block shows at a time without the context of the page
   around it. */
.sg-lista.vietato{border-left-color:var(--down)}
.sg-lista.dovuto {border-left-color:var(--up)}
.sg-lista.avviso {border-left-color:var(--warn)}
.sg-eti{display:flex;align-items:center;gap:6px;margin:0 0 9px;
  font-size:10.5px;font-weight:700;letter-spacing:.1em;text-transform:uppercase}
.sg-lista.vietato .sg-eti{color:var(--down)}
.sg-lista.dovuto  .sg-eti{color:var(--up)}
.sg-lista.avviso  .sg-eti{color:var(--warn)}
.sg-eti .sg-segno{font-size:11px;line-height:1}
.sg-lista .sg-elenco.punti li::before{content:none}
.sg-lista .sg-elenco li .sg-segno{position:absolute;left:.1em;top:.1em;
  font-size:12px;font-weight:700;line-height:1.7}
.sg-lista.vietato .sg-elenco li .sg-segno{color:var(--down)}
.sg-lista.dovuto  .sg-elenco li .sg-segno{color:var(--up)}
.sg-lista.avviso  .sg-elenco li .sg-segno{color:var(--warn)}

/* --- the contacts ----------------------------------------------------
   Two cards instead of two list items: down here the mail address is
   tapped and the mail starts, which is exactly the gesture the page
   exists for. */
.sg-contatti{list-style:none;margin:0 0 13px;padding:0;
  display:flex;flex-direction:column;gap:9px}
.sg-contatti li{display:flex;flex-direction:column;gap:3px;
  padding:11px 13px;border-radius:11px;
  border:1px solid var(--line-2);background:var(--paper)}
.sg-chi{font-size:13.5px;font-weight:700;line-height:1.45;color:var(--ink);text-wrap:pretty}
.sg-come{font-size:13px;color:var(--muted)}

/* --- the index inside the sheet --------------------------------------
   Fixed height like the other sheets of the site: the items are twenty
   and with automatic height the sheet would reach nearly to the top. */
#sgSheet{height:min(80%,600px)}
#sgSheet .sg-voci{display:flex;flex-direction:column;padding:0 0 10px}
/* The items are FINGER TARGETS: 44px of minimum height, the measure
   below which the wrong row gets hit. In an index of twenty items
   hitting the wrong one means starting over. */
.sg-voce{position:relative;display:block;padding:11px 10px 11px 2.7em;
  min-height:44px;border-radius:9px;
  font-size:13.5px;line-height:1.4;color:var(--muted);text-decoration:none;
  -webkit-tap-highlight-color:transparent}
.sg-voce:active{background:var(--sunken)}
.sg-voci .sg-num{position:absolute;left:10px;top:12px;
  font-size:11.5px;font-weight:700;color:var(--faint);font-variant-numeric:tabular-nums}
.sg-voce.qui .sg-num{color:var(--brand)}
.sg-voce.parte,.sg-voce.cima{padding-left:10px;min-height:0;
  font-size:14px;font-weight:700;color:var(--ink-2);margin-top:12px}
.sg-voce.cima{margin-top:0}
.sg-voce.qui{background:var(--silea-fill);color:var(--brand);font-weight:700}

/* Down here the table stays a table and scrolls sideways: turning it
   into a list of cards would lose the alignment in columns, which is
   the only reason a table exists. The text tightens and it is left to
   scroll. */
/* THE TABLE IS DRESSED DOWN HERE TOO, WHOLE.
   ============================================================
   The build bounds app/safeguarding.css to (min-width:900px):
   everything written in there, borders included, does NOT exist on the
   phone. overflow-x is part of it: without it the table breaks out of
   the panel and comes out cut, with no way to scroll it.
   A phone tail that touches up without dressing is a tail assuming
   something arrives from above, and from above nothing arrives. */
.sg-tabella{margin:14px 0;overflow-x:auto;-webkit-overflow-scrolling:touch;
  border:1px solid var(--line);border-radius:10px}
.sg-tabella table{width:100%;border-collapse:collapse;font-size:13px;
  table-layout:fixed;
  /* FORTY-SIX, not thirty-two. Four readable columns do not fit in
     three hundred and ninety pixels: the table is wider than the
     screen and scrolls sideways. At thirty-two the four equal columns
     came to a hundred and twenty-eight pixels each, and at that width
     the text broke inside the words instead of between them. A few
     fingers more of scrolling, and it reads. */
  min-width:46rem}
.sg-tabella col{width:25%}
.sg-tabella caption{position:absolute;width:1px;height:1px;overflow:hidden;
  clip-path:inset(50%);white-space:nowrap}
.sg-tabella th,.sg-tabella td{padding:8px 10px;text-align:left;
  vertical-align:top;border-bottom:1px solid var(--line-2);
  /* Words break only when they do NOT fit on their own, not as soon
     as the line ends: "anywhere" cuts common words in half in the
     middle of a sentence, which is the fastest way to make a narrow
     column unreadable. */
  overflow-wrap:break-word}
/* The first column is the exception: it holds long identifiers with no
   spaces, which a break between words cannot help because there are no
   words. There it breaks wherever it lands, and that is right. */
.sg-tabella tbody th{overflow-wrap:anywhere}
.sg-tabella thead th{font-weight:600;font-size:11.5px;color:var(--muted);
  text-transform:uppercase;letter-spacing:.04em;
  background:var(--velo);border-bottom:1px solid var(--line)}
.sg-tabella tbody th{font-weight:600;color:var(--ink)}
.sg-tabella tbody tr:last-child th,.sg-tabella tbody tr:last-child td{border-bottom:0}

/* IT HAS TO SHOW THAT IT SCROLLS. A table cut clean by the edge of
   the panel looks finished: a fade on the right side says there is
   more, and it is the only invitation needed. It goes away at the end,
   because the shadow is attached to the scrolling container and not to
   the panel. */
.sg-tabella{
  background:
    linear-gradient(to right, var(--panel) 30%, transparent) left / 24px 100% no-repeat,
    linear-gradient(to left,  var(--panel) 30%, transparent) right / 24px 100% no-repeat,
    radial-gradient(farthest-side at 0 50%, rgba(0,0,0,.16), transparent) left / 12px 100% no-repeat,
    radial-gradient(farthest-side at 100% 50%, rgba(0,0,0,.16), transparent) right / 12px 100% no-repeat;
  background-attachment:local, local, scroll, scroll;
}

}

/* tel/privacy.css */
@media (max-width:899px){
/* ============================================================
   PRIVACY NOTICE: the phone
   ============================================================
   Down here safeguarding already hides the crest and its index is a
   sheet rising from the bottom, so there is nothing left to correct.
   The file exists all the same, on purpose: the page declares both its
   tails, board and phone, like all the others. A list of sheets with a
   hole in the middle is a list someone "tidies" the next day by taking
   out the wrong line.
   ============================================================ */

}

/* motion.css */
/* REDUCED MOTION.
   ================
   Always the last sheet of every page: it has to win over everything
   and media queries add no specificity, so position is its only
   weapon.

   Transitions go off, animations jump to their end. A .01ms duration
   lands the animation on its final state, which is where the content
   is meant to be read.                                               */
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{
    transition:none !important;
    animation-duration:.01ms !important;
  }
  .card:hover{transform:none}
  /* The phone strip jumps to the point instead of gliding there.
     Changing matchday scrolls back to the top, and that glide is
     exactly the unexpected motion to remove. */
  .scroll{scroll-behavior:auto}
  /* On the sparrow the generic rule makes things worse: an infinite
     animation cut to .01ms repeats the flight thousands of times a
     second and the bird flickers. Here it simply stops, still at
     mid flight. */
  .bird{animation:none !important;opacity:var(--bird-op);
        transform:translate3d(calc(50cqw - 50%),-50%,0)}
}
