/* /download/ (Saul 2026-11-27: no oversized tiles, no dead space). Under the title and the gameplay
   image, two compact cards side by side: "On your phone" (App Store, Google Play) and "On your computer"
   (Mac, Windows, Linux). Every button has the same height; the visitor's own platform gets an amber
   ring and the "Your device" chip. Phones: title, the two cards, then the image. */
.download-hero-inner{grid-template-areas:"copy media" "options options";row-gap:44px}
.download-hero-options{grid-area:options;min-width:0}
.download-groups{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,3fr);gap:18px}
.download-group{display:grid;align-content:start;gap:16px;padding:20px 22px 22px;border-radius:18px;background:var(--tile);border:1px solid rgba(94,224,255,.10);border-top:1px solid rgba(94,224,255,.30)}
.download-group-title{display:flex;align-items:center;gap:8px;margin:0;color:var(--muted);font-family:var(--body);font-size:12px;font-weight:700;letter-spacing:.2em;text-transform:uppercase}
.download-group-title svg{width:16px;height:16px;color:var(--cyan)}
.download-hero-inner .download-groups .download-options{display:flex;flex-wrap:wrap;gap:12px;margin:0;padding:0;list-style:none}
.download-groups .download-option{--store-badge-h:48px;position:relative;display:block;padding:0;border:0;border-radius:12px;background:none;box-shadow:none}
.download-groups .download-option-label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.download-groups .download-option.is-recommended .download-recommended{display:none}
.download-groups .download-option.is-recommended{border:0;background:none;box-shadow:none}
.download-groups .download-option.is-recommended>a{box-shadow:0 0 0 2px var(--amber),0 0 18px rgba(255,170,60,.35)}
.download-groups .mac-download{--h:48px}
.download-group-hint{margin:0;color:var(--muted);font-size:13.5px;line-height:1.4}
.download-linux-hint{display:inline-flex;flex-wrap:wrap;align-items:center;gap:8px 10px;justify-self:start;color:var(--muted);font-size:13.5px;line-height:1.4}
.download-linux-hint:hover{color:var(--ink)}
.download-linux-distros{display:flex;gap:4px}
.download-linux-distros img{width:26px;height:26px;padding:4px;border-radius:50%;background:rgba(3,8,13,.6);box-shadow:inset 0 0 0 1px rgba(94,224,255,.16)}
.download-hero-options .download-note{margin-top:16px}
@media (max-width:1000px){.download-hero-inner{grid-template-areas:"copy" "options" "media";row-gap:28px}.download-groups{grid-template-columns:1fr}}
@media (max-width:560px){
  .download-group{padding:18px 16px 20px}
  .download-hero-inner .download-groups .download-options-desktop{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
  .download-groups .download-options-desktop .mac-download{--h:44px;width:100%;justify-content:center;padding:0 8px;gap:6px}
  .download-groups .download-options-desktop .mac-badge-small{display:none}
  .download-groups .download-options-desktop .mac-badge-big{font-size:17px}
  .download-groups .download-options-desktop .mac-badge-icon{width:18px;height:18px}
  .download-groups .download-options-mobile .download-option{--store-badge-h:44px}
}
/* Linux download pages (/linux/, /linux-test/): distro tiles with each distribution's logo, then the
   package for the chosen one. Same HOLO tiles as /download/ (assets/launch.css .download-option). */
.linux-hero .lead{max-width:640px}
.linux-pick-head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:6px 24px;margin:0 0 18px}
.linux-pick-head h2{margin:0;font-family:var(--display);font-size:clamp(20px,2.4vw,26px);letter-spacing:.04em}
.linux-pick-head p{margin:0;color:var(--muted);font-size:15px}
.linux-distros{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:14px;margin:0 0 30px;padding:0;list-style:none}
.linux-distros li{margin:0;padding:0}
.linux-distro{display:grid;grid-template-rows:auto 1fr auto;justify-items:center;align-items:center;gap:10px;width:100%;height:100%;min-height:150px;padding:20px 12px 14px;border-radius:18px;background:var(--tile);border:1px solid rgba(94,224,255,.10);border-top:1px solid rgba(94,224,255,.30);color:var(--ink);font:inherit;text-align:center;cursor:pointer;transition:border-color .2s ease,background .2s ease,transform .2s ease,box-shadow .2s ease}
.linux-distro:hover{background:var(--tile-lit);border-color:rgba(94,224,255,.30);transform:translateY(-2px)}
.linux-distro-logo{display:grid;place-items:center;width:64px;height:64px;border-radius:50%;background:radial-gradient(circle at 50% 40%,rgba(94,224,255,.10),rgba(3,8,13,.55) 70%);box-shadow:inset 0 0 0 1px rgba(94,224,255,.16)}
.linux-distro-logo img{width:40px;height:40px}
.linux-distro-name{font-size:15px;font-weight:700;line-height:1.25}
.linux-distro-kind{padding:2px 10px;border-radius:999px;background:rgba(13,46,69,.65);box-shadow:inset 0 0 0 1px rgba(94,224,255,.2);color:var(--cyan);font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase}
.linux-distro[aria-pressed="true"]{border-top:2px solid var(--amber);background:linear-gradient(180deg,rgba(70,48,20,.40),rgba(10,32,48,.36));box-shadow:0 0 18px rgba(255,170,60,.14)}
.linux-distro[aria-pressed="true"] .linux-distro-kind{background:rgba(255,181,71,.14);box-shadow:inset 0 0 0 1px rgba(255,181,71,.45);color:var(--amber)}
.linux-distro[aria-pressed="true"] .linux-distro-logo{box-shadow:inset 0 0 0 1px rgba(255,181,71,.45),0 0 16px rgba(255,170,60,.18)}
.linux-kinds{display:grid;gap:18px}
/* Chosen package: a summary column with one clear amber download button, and the install steps beside it. */
.linux-kind{display:grid;grid-template-columns:minmax(260px,5fr) minmax(0,7fr);gap:0;border-radius:20px;overflow:hidden;background:var(--tile);border:1px solid var(--line-soft);border-top:2px solid rgba(94,224,255,.45);box-shadow:0 14px 40px rgba(0,0,0,.35);outline:none}
.linux-kind[hidden]{display:none}
.linux-kind-main{display:grid;align-content:start;justify-items:start;gap:10px;padding:28px 28px 30px;background:radial-gradient(120% 90% at 0% 0%,rgba(94,224,255,.10),transparent 60%),rgba(3,10,16,.35);border-right:1px solid var(--line-soft)}
.linux-kind-main h2{margin:6px 0 0;font-size:clamp(20px,2vw,24px);line-height:1.25}
.linux-kind-for{margin:0;color:var(--muted);font-size:15px;line-height:1.45}
.linux-kind-logos{display:flex}
.linux-kind-logos span{display:grid;place-items:center;width:46px;height:46px;margin-left:-10px;border-radius:50%;background:#071520;box-shadow:0 0 0 2px #0a1f2d,inset 0 0 0 1px rgba(94,224,255,.2)}
.linux-kind-logos span:first-child{margin-left:0}
.linux-kind-logos img{width:26px;height:26px}
.linux-cta{display:inline-flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:58px;margin-top:10px;padding:0 24px;border-radius:16px;background:linear-gradient(180deg,#ffc86a,#ffa13a 55%,var(--amber-deep));color:var(--amber-ink);font-family:var(--display);font-size:15px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;box-shadow:0 0 22px rgba(255,140,40,.35),inset 0 2px 0 rgba(255,240,200,.65);transition:transform .2s ease,box-shadow .2s ease}
.linux-cta:hover{transform:translateY(-2px);box-shadow:0 0 30px rgba(255,140,40,.5),inset 0 2px 0 rgba(255,240,200,.65)}
.linux-cta .mac-badge-icon{width:22px;height:22px;flex:0 0 22px}
.linux-kind-size{margin:0;justify-self:center;color:var(--muted);font-size:13px;letter-spacing:.04em}
.linux-kind-note{margin:8px 0 0;padding:10px 14px;border-left:3px solid var(--amber);border-radius:0 10px 10px 0;background:rgba(255,181,71,.08);color:#ffe9c7;font-size:14.5px;line-height:1.5}
.linux-kind-howto{padding:28px 30px 30px}
.linux-kind-howto h3{margin:0 0 16px;color:var(--muted);font-family:var(--body);font-size:12px;font-weight:700;letter-spacing:.2em;text-transform:uppercase}
.linux-steps{display:grid;gap:14px;margin:0;padding:0;list-style:none}
.linux-steps li{display:grid;grid-template-columns:auto 1fr;align-items:start;gap:14px;margin:0;padding:0}
.linux-steps li::before{content:none}
.linux-steps .index{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;box-shadow:inset 0 0 0 2px rgba(94,224,255,.25);background:rgba(13,46,69,.65);color:var(--cyan);font-family:var(--display);font-size:12px}
.linux-steps p{margin:3px 0 0;color:var(--soft);font-size:15.5px;line-height:1.55}
.linux-steps code{padding:1px 6px;border-radius:6px;background:rgba(3,8,13,.7);color:var(--cyan);font-size:13.5px;word-break:break-all}
.linux-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:22px 0 0}
.linux-fact{padding:18px 20px;border-radius:16px;background:rgba(3,10,16,.35);border:1px solid var(--line-soft)}
.linux-fact h3{margin:0 0 8px;color:var(--cyan);font-family:var(--body);font-size:11.5px;font-weight:700;letter-spacing:.2em;text-transform:uppercase}
.linux-fact p{margin:0;color:var(--muted);font-size:14.5px;line-height:1.55}
.linux-fact p+p{margin-top:8px}
.linux-fact a{color:var(--cyan)}
.linux-fact a:hover{text-decoration:underline}
@media (max-width:860px){.linux-facts{grid-template-columns:1fr}}
.linux-legal{margin-top:22px}
@media (max-width:860px){.linux-kind{grid-template-columns:1fr}.linux-kind-main{border-right:0;border-bottom:1px solid var(--line-soft)}}
@media (max-width:640px){
  .linux-distros{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .linux-distro{min-height:128px;padding:16px 8px 12px;gap:8px}
  .linux-distro-logo{width:54px;height:54px}
  .linux-distro-logo img{width:34px;height:34px}
  .linux-distro-name{font-size:14px}
  .linux-kind{grid-template-columns:1fr;border-radius:18px}
  .linux-kind-main{padding:22px 18px 22px;border-right:0;border-bottom:1px solid var(--line-soft)}
  .linux-kind-howto{padding:22px 18px 24px}
}
@media (prefers-reduced-motion:reduce){.linux-distro,.linux-cta{transition:none}.linux-distro:hover,.linux-cta:hover{transform:none}}
