/* The dock (2026-11-09, the leap): on a phone, a live app's page keeps its store button near the thumb.
   Once the hero's badge has scrolled away a slim bar rises at the bottom: the app's icon, its name, its price
   word and one button, Get. It leaves again while any store button of the page itself is on screen
   (the hero's, the close's) and while the footer is. Added by 3d/build/build.py to the pages of apps that are
   live on the App Store; the page underneath is untouched. Phones only: from 760 px the page's own badges and
   QR codes do the job. It wears each page's own colours (--bg, --ink, --soft, --border from the page's tokens).
   No badge artwork here: Apple asks for one App Store badge per layout, and the page's hero has it. */
.svl-dock{display:none}
@media (max-width:759px){
  .svl-dock{position:fixed;left:0;right:0;bottom:0;z-index:850;display:flex;align-items:center;gap:12px;
    padding:10px max(16px,env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));
    background:color-mix(in srgb,var(--bg,#0B0A1F) 90%,transparent);
    -webkit-backdrop-filter:blur(14px) saturate(150%);backdrop-filter:blur(14px) saturate(150%);
    border-top:1px solid var(--border,rgba(255,255,255,.14));
    box-shadow:0 -12px 32px -18px rgba(0,0,0,.55);
    transform:translateY(105%);visibility:hidden;
    transition:transform .32s cubic-bezier(.16,1,.3,1),visibility 0s linear .32s}
  .svl-dock.on{transform:none;visibility:visible;transition:transform .32s cubic-bezier(.16,1,.3,1),visibility 0s}
  .svl-dock-icon{flex:none;width:44px;height:44px;border-radius:22.5%;display:block;box-shadow:0 0 0 1px var(--border,rgba(255,255,255,.14))}
  .svl-dock-name{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;justify-content:center;line-height:1.15}
  .svl-dock-name b{font:600 16px/1.15 var(--fd,Georgia,serif);color:var(--ink,#F3F1FF);letter-spacing:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .svl-dock-name span{font:600 12.5px/1.3 var(--f,system-ui,sans-serif);color:var(--soft,#C3C0E3);white-space:nowrap}
  /* the action: one plain button in the page's own button colour. The official App Store badge stays the hero's
     alone (Apple: one badge per layout), so this is a word, with its full name for screen readers. build.py writes
     --dock-btn and --dock-ink on the bar from the page's tokens, checked for 4.5:1 (dock_colors) */
  .svl-dock-get{flex:none;display:inline-flex;align-items:center;justify-content:center;min-width:88px;min-height:44px;padding:0 24px;border-radius:999px;
    background:var(--dock-btn,var(--accent,#3EE7E0));color:var(--dock-ink,var(--on-accent,#0B0A1F));font:700 16px/1 var(--f,system-ui,sans-serif);letter-spacing:.01em;text-decoration:none;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.22);-webkit-tap-highlight-color:transparent;transition:transform .12s ease}
  .svl-dock-get:active{transform:scale(.96)}
  .svl-dock-get[hidden]{display:none}
  .svl-dock-get:focus-visible{outline:2px solid var(--ink,#F3F1FF);outline-offset:3px}
  @media (prefers-reduced-transparency:reduce){.svl-dock{background:var(--bg,#0B0A1F);-webkit-backdrop-filter:none;backdrop-filter:none}}
  @media (prefers-reduced-motion:reduce){.svl-dock,.svl-dock.on,.svl-dock-get{transition:none}}
  /* a narrow phone or large text: the name gives way before the badge does */
  @media (max-width:359px){.svl-dock-name span{display:none}.svl-dock{gap:10px}}
  /* a keyboard never lands under the bar: the page scrolls a focused link clear of it (review, 11/10) */
  html:has(.svl-dock){scroll-padding-bottom:calc(76px + env(safe-area-inset-bottom))}
}
@media print{.svl-dock{display:none!important}}
