/* TeeReveal player, Magazine look: fonts, colours, sizes and fades. Loaded only when a course's player.json says
   "look": "magazine" (lib/settings.mjs). Shared by the overview now and the hole screens later.
   Sizes are in cqw (1cqw = 1% of the player's width, 16px on the 1600-wide stage), taken from the approved mock-ups:
   desktop design-studies/player-type-bump-v2, phone design-studies/player-mobile-v2 (drawn 1.6x larger). */
@font-face{font-family:'Playfair Display';font-style:normal;font-weight:400 800;font-display:swap;src:url(fonts/playfair-display.woff2) format('woff2')}
@font-face{font-family:'Playfair Display';font-style:italic;font-weight:400;font-display:swap;src:url(fonts/playfair-display-italic.woff) format('woff')}
@font-face{font-family:Inter;font-style:normal;font-weight:400 600;font-display:swap;src:url(fonts/inter.woff2) format('woff2')}
:root{
 /* type */
 --mz-serif:'Playfair Display',Didot,Georgia,serif;
 --mz-sans:Inter,Arial,sans-serif;
 /* colour */
 --mz-accent:#d9c07a;      /* gold: selected tee, progress, small dots */
 --mz-ink:#111a14;
 --mz-cream:#f4efe6;       /* solid buttons */
 --mz-cream-ink:#17130f;   /* text on cream */
 --mz-marker:#f7f4ee;      /* playable hole circles */
 --mz-marker-ink:#111;
 --mz-pulse:#f5f0d7;       /* ring on the highlighted hole */
 --mz-line:rgba(255,255,255,.55);        /* hairlines and outlined buttons */
 --mz-line-soft:rgba(255,255,255,.3);
 --mz-line-faint:rgba(255,255,255,.18);
 --mz-glass:rgba(10,9,8,.22);            /* fill of outlined buttons */
 --mz-shadow:0 0 1.1cqw rgba(0,0,0,.55),0 .06cqw .22cqw rgba(0,0,0,.55);   /* text over the picture */
 /* sizes, desktop */
 --mz-kicker:.78cqw;       /* small caps lines */
 --mz-name:5.3cqw;         /* course name on the overview */
 --mz-stop-name:4.6cqw;    /* stop title on course notes */
 --mz-numeral:12.4cqw;     /* hole number on the tee */
 --mz-dek:1.85cqw;         /* italic line */
 --mz-body:1.15cqw;        /* paragraph */
 --mz-tee-dek:1.6cqw;
 --mz-tee-body:1.08cqw;
 --mz-tee-name:.7cqw;      /* tee names in the strip */
 --mz-tee-yards:1.38cqw;   /* tee yardages in the strip */
 --mz-facts:.78cqw;
 --mz-switch:.76cqw;
 --mz-pin-label:.76cqw;
 --mz-link:.84cqw;
 --mz-button:.86cqw;
 --mz-pill:.78cqw;
 --mz-powered:.72cqw;
 --mz-carry-label:.4cqw;   /* carry pill: kept at its earlier, smaller size (Theo, 2026-11-15) */
 --mz-carry-number:1.1cqw;
 /* hole circles */
 --mz-hole-highlight:2.3cqw;
 --mz-hole-playable:1.85cqw;
 --mz-hole-inactive:1.5cqw;
 /* Fades (scrims). Live layers, never baked into video. A strength of 1 is the design's gradient, 0 is none,
    above 1 is darker. The build sets these from player.json "fades": the player default, then the course's value,
    then a hole's (lib/settings.mjs fadeStrength). */
 --mz-fade-overview:.75;   /* a quarter lighter, 2026-11-16 */
 --mz-fade-tee:1;
 --mz-fade-notes:1;   /* course notes side fade: the overview's gradient, on the side the stop's note sits */
 --mz-fade-top:0;      /* hole page: the band under the header. Off unless a course sets fades.top */
 --mz-fade-bottom:0;   /* hole page: the band under the timeline. Off unless a course sets fades.bottom */
 /* overview side fade: direction and stops follow the copy placement */
 --mz-fade-dir:270deg;--mz-fade-a:.6;--mz-fade-b:.46;--mz-fade-mid:24%;--mz-fade-end:44%;   /* reach cut by a fifth, 2026-11-16 (was 30% and 55%) */
}
/* Phone (the mobile shell draws the 1600-wide stage scaled to the screen): everything 1.6x, as player-mobile-v2. */
html.mobile-shell{
 --mz-kicker:1.312cqw;
 --mz-name:4.72cqw;
 --mz-stop-name:4.48cqw;
 --mz-numeral:13.12cqw;
 --mz-dek:2.24cqw;
 --mz-body:1.632cqw;
 --mz-tee-dek:2.08cqw;
 --mz-tee-body:1.632cqw;
 --mz-tee-name:1.12cqw;
 --mz-tee-yards:1.84cqw;
 --mz-facts:1.28cqw;
 --mz-switch:1.28cqw;
 --mz-pin-label:1.28cqw;
 --mz-link:1.344cqw;
 --mz-button:1.248cqw;
 --mz-pill:1.184cqw;
 --mz-powered:1.184cqw;
 --mz-hole-highlight:3.68cqw;
 --mz-hole-playable:2.96cqw;
 --mz-hole-inactive:2.4cqw;
 --mz-shadow:0 0 1.76cqw rgba(0,0,0,.55),0 .1cqw .35cqw rgba(0,0,0,.55);
 --mz-fade-a:.66;--mz-fade-b:.5;--mz-fade-mid:25.6%;--mz-fade-end:48%;   /* reach cut by a fifth, 2026-11-16 (was 32% and 60%) */
}
/* The two default fades, ready to use on any layer.
   Overview side fade at strength 1: linear-gradient(270deg,rgba(10,9,8,.6) 0%,rgba(10,9,8,.46) 30%,rgba(10,9,8,0) 55%).
   Tee bottom fade at strength 1:    linear-gradient(0deg,rgba(8,8,7,.74),rgba(8,8,7,.5) 24%,rgba(8,8,7,0) 52%). */
.mz-fade-overview{background:linear-gradient(var(--mz-fade-dir),rgba(10,9,8,calc(var(--mz-fade-a)*var(--mz-fade-overview))) 0%,rgba(10,9,8,calc(var(--mz-fade-b)*var(--mz-fade-overview))) var(--mz-fade-mid),rgba(10,9,8,0) var(--mz-fade-end))}
.mz-fade-tee{background:linear-gradient(0deg,rgba(8,8,7,calc(.74*var(--mz-fade-tee))),rgba(8,8,7,calc(.5*var(--mz-fade-tee))) 24%,rgba(8,8,7,0) 52%)}
