/* v21 (../2026-11-24-x-v21-uwagi: "Wgraj tez na strone moduleone.ai/os zeby mozna bylo sobie prosto sciagnac na macOS" and
   "chcialbym zeby ten przycisk byl taki" + wzor-przycisku.png). Loaded last. One component, .dl ("Download for Mac"), in two places:
   the opening (dark on the paper, as the model) and the black closing (light, where "Request access" stood). Colours are the page's
   tokens: dark = --btn / --btn-tx (the primary button on the page, the ink of the page), light = --tx / --screen (as .zk-go); the
   only new values are the shadows. Nothing else on the page changes. */

/* ── 1. the button ── */
.dl{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:12px;height:56px;padding:0 26px 0 22px;border-radius:14px;
  background:var(--btn);color:var(--btn-tx);font:500 17px/1 var(--sans);letter-spacing:-.006em;text-decoration:none;white-space:nowrap;cursor:pointer;
  box-shadow:0 18px 40px -12px rgba(0,0,0,.28),0 2px 6px rgba(0,0,0,.12);-webkit-tap-highlight-color:transparent;
  transition:transform var(--t-ui) ease-out,box-shadow var(--t-ui) ease-out,filter var(--t-ui) ease-out,background-color var(--t-ui) ease-out}
.dl-i{flex:none;display:block;width:20px;height:24px;margin-top:-3px;fill:currentColor}   /* optically a little above the axis of the words, as in the model */
.dl:hover{transform:translateY(-1px);filter:brightness(1.2);box-shadow:0 22px 44px -12px rgba(0,0,0,.3),0 3px 8px rgba(0,0,0,.12)}
.dl:active{transform:none;filter:none;box-shadow:0 18px 40px -12px rgba(0,0,0,.28),0 2px 6px rgba(0,0,0,.12)}
.dl:focus-visible{outline:2px solid var(--ink);outline-offset:3px;border-radius:14px}   /* site.css gives every focus ring 4 px corners: the button keeps its own */
/* light, on the black closing: cream ground, dark words and apple, no heavy shadow; hover as .zk-go (v11.css) */
.dl-light{background:var(--tx);color:var(--screen);box-shadow:none}
.dl-light:hover{background:#fff;filter:none;box-shadow:none}
.dl-light:active{background:var(--tx);box-shadow:none}
.zk .dl-light:focus-visible{outline-color:var(--tx)}
@media (prefers-reduced-motion:reduce){.dl,.dl:hover,.dl:active{transition:none;transform:none}}

/* ── 2. the opening: between the sentence and "Works with", centred; it appears with "Works with" (v9.css §the same rule), so the
   sowy, the headline, "multiplayer" and the sentence keep their places and only "Works with" and what follows move down ── */
.title .dl-at{margin-top:28px}
.title .dl-at+.uk-works{margin-top:36px}
.title .dl{pointer-events:auto}                                   /* .title lets the clicks through (hero.css); the button takes them */
html.mo:not(.page-open) .title .dl-at{opacity:0;visibility:hidden}   /* while the opening plays: not seen, not clickable, not focusable */
.title .dl-at{transition:opacity .5s ease-out .15s,visibility 0s linear .15s}
html.restored .title .dl-at{transition:none}
@media (prefers-reduced-motion:reduce){.title .dl-at{transition:none}}
@media (max-width:640px){.dl{height:52px}}
/* without JS v9.js cannot measure the title: the fallback start of the page under it grows by the button and its air (28 + 56 + 36 - 26 = 94 px) */
:root{--hero-h:calc(max(250px,50svh - 115px) + 430px)}
@media (min-width:900px){:root{--hero-h:calc(max(250px,50svh - 23px) + 390px + var(--v9-hero-pad))}}
@media (max-width:640px){:root{--hero-h:calc(max(250px,50svh - 150px) + 419px)}}

/* ── 3. the closing: the pair stands straight, so the button takes the star's height and corners (60 px, --r-field) next to it; on a
   phone both are 52 px and fill the column, one under the other, as "Request access" did ── */
.zk .dl{height:60px;border-radius:var(--r-field)}
.zk .dl:focus-visible{border-radius:var(--r-field)}
@media (max-width:699px){.zk .dl{width:100%;height:52px}}
/* on a phone the signet hangs from the bottom of the section (zakonczenie.css: bottom -70px under a padding of 196 px), so how high
   it climbs depends on the height of the words. The two new sentences take one line each where v20's took two, so the closing was
   47 px lower (962 -> 915 px at 390, 969 -> 922 at 320) and the signet climbed onto the button (and at 320 onto the requirements).
   The padding under the text grows by 85 px: the 47 px given back, 17 px so the signet also clears the one line of the requirements
   (v20's two-line sentence stood on the signet's top; this line must not), and 21 px for 410-452 px, where the sentence about
   modular-context under it takes one line less and the signet would still touch the end of the requirements. From 453 px the
   signet stands right of the words. Result: >= 12 px of ground between the last words and the signet's box at every phone width;
   the closing is 38 px taller than v20's at 320-400. Wider than 699 px nothing changes. */
@media (max-width:699px){.zk-in{padding-bottom:calc(196px + 85px)}}
