/* Prime Store: panes of liquid glass over a living aurora sky. */
@font-face{font-family:"Space Grotesk";src:url(assets/fonts/space-grotesk.woff2) format("woff2");font-weight:300 700;font-display:swap}
@font-face{font-family:"Plus Jakarta Sans";src:url(assets/fonts/plus-jakarta-sans.woff2) format("woff2");font-weight:200 800;font-display:swap}

:root{
  --sky-top:#050a24;--sky-low:#0b1236;
  --ink:#f5f7ff;--soft:#ced6f2;--muted:#98a4cd;
  --glass:rgba(22,30,66,.42);--glass-thick:rgba(14,19,44,.78);--tile:rgba(255,255,255,.065);
  --edge:rgba(255,255,255,.15);--shine:rgba(255,255,255,.34);--hair:rgba(255,255,255,.11);
  --shade:rgba(1,3,16,.42);
  --dock:rgba(10,15,40,.34);
  --gold:#ffc93c;--gold-ink:#1d1400;--link:#93dcff;--bad:#ffb4b4;--good:#69f0c0;
  --pill:rgba(255,255,255,.14);--pill-ink:#fff;
  color-scheme:dark;
}
:root[data-theme="light"]{
  --sky-top:#cfe0ff;--sky-low:#f6efff;
  --ink:#0c1230;--soft:#283258;--muted:#515c85;
  --glass:rgba(255,255,255,.5);--glass-thick:rgba(247,249,255,.84);--tile:rgba(255,255,255,.56);
  --edge:rgba(255,255,255,.8);--shine:rgba(255,255,255,.95);--hair:rgba(18,28,70,.11);
  --shade:rgba(46,60,120,.16);
  --dock:rgba(255,255,255,.42);
  --gold:#ffbe18;--gold-ink:#231800;--link:#0856c4;--bad:#a30d0d;--good:#00704a;
  --pill:rgba(12,18,48,.09);--pill-ink:#0b3f9e;
  color-scheme:light;
}
@media (prefers-color-scheme:light){
  :root:not([data-theme="dark"]):not([data-theme="light"]){
    --sky-top:#cfe0ff;--sky-low:#f6efff;
    --ink:#0c1230;--soft:#283258;--muted:#515c85;
    --glass:rgba(255,255,255,.5);--glass-thick:rgba(247,249,255,.84);--tile:rgba(255,255,255,.56);
    --edge:rgba(255,255,255,.8);--shine:rgba(255,255,255,.95);--hair:rgba(18,28,70,.11);
    --shade:rgba(46,60,120,.16);
    --dock:rgba(255,255,255,.42);
  --gold:#ffbe18;--gold-ink:#231800;--link:#0856c4;--bad:#a30d0d;--good:#00704a;
    --pill:rgba(12,18,48,.09);--pill-ink:#0b3f9e;
    color-scheme:light;
  }
}

*,*::before,*::after{box-sizing:border-box}
[hidden]{display:none!important}
/* The page's own colour sits on the root, so the sky drawn behind the content shows. */
html{-webkit-text-size-adjust:100%;min-height:100%;background:linear-gradient(var(--sky-top),var(--sky-low) 70%) fixed var(--sky-low)}
body{margin:0;min-height:100vh;min-height:100dvh;color:var(--soft);font:400 1rem/1.6 "Plus Jakarta Sans",system-ui,sans-serif;-webkit-tap-highlight-color:transparent}
#sky{position:fixed;inset:0;width:100%;height:100%;z-index:-1;pointer-events:none}
h1,h2,h3,h4{font-family:"Space Grotesk",system-ui,sans-serif;color:var(--ink);margin:0;text-wrap:balance}
p,ul,ol,dl,dd,figure,fieldset{margin:0;padding:0;border:0}
ul,ol{list-style:none}
img{display:block;max-width:100%}
a{color:var(--link);text-underline-offset:.2em}
button,input,textarea,select{font:inherit;color:inherit}
button{cursor:pointer}
:focus-visible{outline:2.5px solid var(--gold);outline-offset:3px}
.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.symbols{position:absolute;width:0;height:0;overflow:hidden}
svg use{pointer-events:none}
.symbols symbol,.dock svg,.search svg,.ask h2 svg,.icon svg{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.skip{position:absolute;left:-999px;top:0}
.skip:focus{left:12px;top:12px;z-index:60;background:var(--gold);color:var(--gold-ink);padding:8px 14px;border-radius:12px}

/* The material: tinted, blurred, with light caught on its top edge. */
.glass,.rows,.library .empty,.block-glass{
  position:relative;background:var(--glass);border:1px solid var(--edge);
  -webkit-backdrop-filter:blur(26px) saturate(1.7);backdrop-filter:blur(26px) saturate(1.7);
  box-shadow:inset 0 1px 0 var(--shine),inset 0 -1px 1px rgba(255,255,255,.08),inset 0 0 28px rgba(255,255,255,.035),0 18px 46px var(--shade);
}
/* A glint that follows the finger or pointer. */
.glint{--mx:50%;--my:-40%}
.glint::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;background:radial-gradient(240px circle at var(--mx) var(--my),rgba(255,255,255,.2),transparent 62%);opacity:0;transition:opacity .3s}
.glint:hover::after,.glint:active::after{opacity:1}

.bar{display:flex;align-items:center;justify-content:space-between;gap:16px;width:calc(100% - 32px);max-width:1080px;width:min(1080px,100% - 32px);margin:0 auto;padding:calc(env(safe-area-inset-top) + 14px) 0 0}
.brand{display:flex;align-items:center;gap:10px;color:var(--ink);font:700 .95rem/1 "Space Grotesk",system-ui,sans-serif;letter-spacing:.02em;text-decoration:none}
.brand img{border-radius:9px}
.me{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;color:var(--ink);text-decoration:none;font:700 .9rem/1 "Space Grotesk",system-ui,sans-serif;flex:none}

main{display:block;width:calc(100% - 32px);max-width:1080px;width:min(1080px,100% - 32px);margin:0 auto;padding-bottom:36px}
.title{padding:22px 2px 18px}
.title h1{font-size:clamp(2.5rem,9vw,4rem);line-height:1.02;letter-spacing:-.035em;font-weight:700}
.title .date{color:var(--soft);text-shadow:0 1px 10px var(--sky-top);font-weight:600;font-size:.9rem;min-height:1.4em}
.title .greeting{margin-top:6px}
.js .view{display:none}
.js .view.on{display:block;animation:arrive .42s cubic-bezier(.2,.8,.2,1)}
@keyframes arrive{from{opacity:0;transform:translateY(10px)}}
h2.shelf-title{font-size:1.45rem;letter-spacing:-.015em;margin:34px 2px 12px}

/* Buttons */
.pill{display:inline-flex;align-items:center;justify-content:center;min-width:76px;min-height:36px;padding:6px 18px;border:1px solid var(--edge);border-radius:999px;background:var(--pill);color:var(--pill-ink);font-weight:800;font-size:.9rem;line-height:1.2;text-decoration:none;text-align:center;white-space:nowrap;box-shadow:inset 0 1px 0 rgba(255,255,255,.22);transition:transform .18s cubic-bezier(.3,1.6,.5,1)}
.pill:active{transform:scale(.92)}
.pill.gold,.btn{background:var(--gold);color:var(--gold-ink);border-color:transparent}
.pill[aria-disabled="true"],.btn[aria-disabled="true"]{opacity:.62;cursor:default;font-variant-numeric:tabular-nums}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:11px 24px;border-radius:999px;font-weight:800;text-decoration:none;text-align:center;box-shadow:inset 0 1px 0 rgba(255,255,255,.55),0 8px 22px rgba(255,190,24,.22)}
.me{overflow:hidden}
.me-mark{display:grid;place-items:center}
.me-mark img{width:46px;height:46px;border-radius:50%;object-fit:cover}
.account-box{display:grid;gap:12px;justify-items:start}
.account-box>*{margin:0}
.account-box .btn{border:0}
.account .problem{margin-top:10px}
.who{display:flex;align-items:center;gap:12px;justify-self:stretch}
.who .face{display:grid;place-items:center;width:52px;height:52px;flex:none;border-radius:50%;object-fit:cover;background:var(--tile);border:1px solid var(--edge);color:var(--ink);font-weight:800}
.who p{flex:1;min-width:0;margin:0;color:var(--muted);font-size:.86rem;overflow-wrap:anywhere}
.who strong{display:block;color:var(--ink);font-size:1rem}
.tick{display:inline-grid;place-items:center;width:17px;height:17px;margin-left:6px;border-radius:50%;background:#2f8cff;color:#fff;font-size:.68rem;vertical-align:1px}
.developer,.developer-form{justify-self:stretch}
.developer{display:grid;gap:10px;justify-items:start}
.developer p{margin:0}
.developer .note{padding:10px 14px;border-radius:16px;background:var(--tile);border:1px solid var(--edge);overflow-wrap:anywhere}
.state{padding:3px 12px;border-radius:999px;border:1px solid var(--gold);color:var(--ink);font-weight:800;font-size:.8rem}
.state.approved{border-color:#31e6b5}
.state.rejected{border-color:var(--bad)}
.developer .actions,.developer-form .actions{display:flex;flex-wrap:wrap;align-items:center;gap:16px}
.developer-form{margin-top:0}
.rules ul{margin:6px 0 0;padding-left:20px;font-size:.86rem;list-style:disc}
.rules li+li{margin-top:3px}
.agree{display:flex;align-items:center;gap:10px;min-height:40px;font-weight:700;color:var(--ink);font-size:.9rem}
.agree input{width:20px;height:20px;flex:none;accent-color:var(--gold)}
.send{display:grid;gap:14px;justify-items:start;justify-self:stretch}
.sent h4{margin:0 0 8px;font-size:.95rem}
.sent ul{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.sent li{display:grid;gap:6px;justify-items:start;padding:12px 14px;border-radius:18px;background:var(--tile);border:1px solid var(--edge);overflow-wrap:anywhere}
.sent li p{margin:0}
.field select{width:100%;background:var(--tile);border:1px solid var(--edge);border-radius:16px;padding:11px 14px;color:var(--ink);font-weight:400;min-width:0}
.field input[type=file]{padding:9px 12px;font-size:.86rem}
.send-form progress{width:100%;height:10px;accent-color:var(--gold)}
.developers{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin-top:26px;padding:18px 20px;border-radius:28px}
.developers h2{font-size:1.15rem}
.developers p{margin:2px 0 0;font-size:.9rem}
.me svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linejoin:round}
.round{display:grid;place-items:center;width:44px;height:44px;flex:none;border-radius:50%;border:1px solid var(--edge);background:var(--pill);color:var(--ink);box-shadow:inset 0 1px 0 rgba(255,255,255,.22)}
.round svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.round[aria-pressed="true"] svg{fill:#ff5c8a;stroke:#ff5c8a}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chip{min-height:38px;padding:7px 15px;border-radius:999px;border:1px solid var(--edge);background:var(--tile);color:var(--ink);font-weight:600;font-size:.88rem}
.chip[aria-pressed="true"]{background:var(--ink);border-color:var(--ink);color:var(--sky-low)}

/* The dock: the store's tabs, floating over everything */
/* A little more tint than other panes, so the labels read over anything. */
.dock.glass{position:fixed;background:linear-gradient(var(--dock),var(--dock))}
.dock{z-index:20;left:50%;bottom:calc(env(safe-area-inset-bottom) + 12px);translate:-50% 0;width:min(460px,100% - 20px);padding:6px;border-radius:999px}
html:not(.js) .dock{display:none}
.dock-tabs{position:relative;display:grid;grid-template-columns:repeat(5,1fr)}
.dock a{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;gap:1px;padding:7px 0 6px;border-radius:999px;color:var(--muted);text-decoration:none;font-size:.68rem;font-weight:700;line-height:1.3}
.dock a svg{width:23px;height:23px}
.dock a[aria-current="page"]{color:var(--ink)}
.dock-lens{position:absolute;top:0;bottom:0;left:0;width:20%;translate:calc(var(--tab,0) * 100%) 0;border-radius:999px;background:linear-gradient(180deg,rgba(255,255,255,.24),rgba(255,255,255,.09));border:1px solid var(--edge);box-shadow:inset 0 1px 0 var(--shine),0 6px 16px var(--shade);transition:translate .5s cubic-bezier(.34,1.45,.5,1),scale .5s}
:root[data-theme="light"] .dock-lens{background:linear-gradient(180deg,#fff,rgba(255,255,255,.6))}
.dock-lens.moving{scale:1.12 .9}
.badge{position:absolute;top:2px;left:calc(50% + 6px);min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:#ff3b6b;color:#fff;font:800 .66rem/18px "Plus Jakarta Sans",system-ui,sans-serif;text-align:center}
.js body{padding-bottom:calc(env(safe-area-inset-bottom) + 96px)}
/* Where the browser can bend what is behind the glass, the dock's rim does. */
.liquid .dock.bent{-webkit-backdrop-filter:url(#bend-dock) blur(9px) saturate(1.8);backdrop-filter:url(#bend-dock) blur(9px) saturate(1.8)}
.liquid .search.bent{-webkit-backdrop-filter:url(#bend-search) blur(12px) saturate(1.8);backdrop-filter:url(#bend-search) blur(12px) saturate(1.8)}

/* Today */
.today-top{display:grid;gap:16px}
.pick .hero{position:relative;display:flex;flex-direction:column;justify-content:flex-end;min-height:420px;overflow:hidden;border-radius:32px;border:1px solid var(--edge);color:#fff;text-decoration:none;background:linear-gradient(155deg,#3b2f96,#0f6f8f 55%,#12b886);box-shadow:inset 0 1px 0 var(--shine),0 24px 60px var(--shade);isolation:isolate}
.pick .screens{position:absolute;inset:0;z-index:-1}
.pick .screens img{position:absolute;right:-4%;top:30px;width:min(46%,210px);border-radius:24px;border:5px solid rgba(8,10,24,.9);box-shadow:0 26px 50px rgba(0,0,0,.45);rotate:8deg}
.pick .screens img+img{right:32%;top:70px;rotate:-6deg;opacity:.96}
.pick .screens img.wide{width:min(92%,520px);right:-8%;top:44px;rotate:-5deg}
.pick .screens img.wide+img.wide{right:14%;top:150px;rotate:4deg}
.pick .when{position:absolute;left:18px;top:16px;padding:5px 13px;border-radius:999px;background:rgba(7,10,28,.55);border:1px solid rgba(255,255,255,.28);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);font-weight:800;font-size:.82rem}
.pick .caption{display:flex;align-items:center;gap:14px;margin:10px;padding:14px;border-radius:24px;background:rgba(9,12,32,.54);border:1px solid rgba(255,255,255,.22);-webkit-backdrop-filter:blur(22px) saturate(1.6);backdrop-filter:blur(22px) saturate(1.6);box-shadow:inset 0 1px 0 rgba(255,255,255,.28)}
.pick .caption img{width:58px;height:58px;border-radius:15px;flex:none}
.pick .caption span{display:block;min-width:0;flex:1;font-size:.86rem;line-height:1.4;color:#dde4ff}
.pick .caption strong{display:block;font:700 1.25rem/1.2 "Space Grotesk",system-ui,sans-serif;color:#fff}
.pick .caption .pill{display:inline-flex;flex:none;background:#fff;color:#10163a}

.ask{border-radius:32px;padding:20px;display:flex;flex-direction:column;gap:12px}
.ask h2{display:flex;align-items:center;gap:9px;font-size:1.5rem}
.ask h2 svg{width:24px;height:24px;color:var(--gold)}
.ask input,.search input,.field input,.field textarea{width:100%;background:var(--tile);border:1px solid var(--edge);border-radius:16px;padding:11px 14px;color:var(--ink);min-width:0}
::placeholder{color:var(--muted);opacity:1}
.answers:empty{display:none}
.answers{display:grid;gap:8px}
.answers p{font-size:.92rem}
.answer{display:flex;align-items:center;gap:12px;padding:10px;border-radius:20px;background:var(--tile);border:1px solid var(--hair);color:var(--soft);text-decoration:none;font-size:.84rem;line-height:1.4;animation:arrive .35s backwards}
.answer img{width:46px;height:46px;border-radius:12px;flex:none}
.answer strong{display:block;color:var(--ink);font-size:.98rem}
html:not(.js) .js-only,html:not(.js) .me,html:not(.js) .today-top{display:none}

.feature{display:grid;grid-template-columns:1fr;overflow:hidden;margin-top:18px;border-radius:32px;border:1px solid var(--edge);background:var(--glass);-webkit-backdrop-filter:blur(26px) saturate(1.7);backdrop-filter:blur(26px) saturate(1.7);box-shadow:inset 0 1px 0 var(--shine),0 18px 46px var(--shade);color:var(--soft);text-decoration:none}
.feature-art{position:relative;aspect-ratio:1376/768}
.feature-art img{width:100%;height:100%;object-fit:cover}
.feature-art small{position:absolute;right:10px;bottom:8px;padding:2px 10px;border-radius:999px;background:rgba(6,7,20,.72);color:#e6eaff;font-size:.7rem}
.feature-copy{display:flex;align-items:center;gap:12px;padding:14px 16px}
.feature-copy>img{width:48px;height:48px;border-radius:13px;flex:none}
.feature-copy>span:nth-child(2){flex:1;min-width:0;font-size:.85rem;line-height:1.45}
.feature-copy strong{display:block;color:var(--ink);font:700 1.15rem/1.25 "Space Grotesk",system-ui,sans-serif}
.feature-copy .pill{flex:none}

.shelf{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(150px,42%);gap:12px;overflow-x:auto;padding:2px 2px 18px;margin:0 -2px -10px;scroll-snap-type:x mandatory;scrollbar-width:none}
.shelf::-webkit-scrollbar{display:none}
.tile{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:14px;border-radius:26px;scroll-snap-align:start;background:var(--tile);border:1px solid var(--edge);box-shadow:inset 0 1px 0 var(--shine)}
.tile>a{display:block;color:var(--muted);text-decoration:none;font-size:.78rem;line-height:1.4;flex:1}
.tile>a img{width:66px;height:66px;border-radius:17px;margin-bottom:10px;box-shadow:0 10px 22px var(--shade)}
.tile>a strong{display:block;color:var(--ink);font-size:.95rem;line-height:1.3}

/* Grouped lists */
.rows{border-radius:28px;padding:4px 14px}
.rows:empty{display:none}
.rows li{display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--hair);min-width:0}
.rows li:last-child,.rows li.last{border-bottom:0}
.rows li>a:first-child{display:flex;align-items:center;gap:13px;flex:1;min-width:0;padding:12px 0;color:var(--muted);text-decoration:none}
.app-icon{flex:none;width:58px;height:58px;overflow:hidden;border-radius:15px;background:rgba(255,255,255,.1);box-shadow:0 8px 18px var(--shade),inset 0 0 0 1px var(--edge)}
.app-icon img,.tile>a img,.answer img,.pick .caption img,.feature-copy>img,.product-head img,.stamp img{object-fit:cover;background:#0b1028}
.app-icon img{width:100%;height:100%}
.app-text{display:block;min-width:0;line-height:1.35}
.app-name{display:block;color:var(--ink);font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.app-kind,.app-stars{display:block;font-size:.8rem;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.app-kind.update{color:var(--gold);font-weight:800}
:root[data-theme="light"] .app-kind.update{color:#8a5a00}
.app-stars b{color:#ffb300;font-weight:700}
.rank{width:1.4em;flex:none;color:var(--ink);font:700 1.1rem/1 "Space Grotesk",system-ui,sans-serif;text-align:center}
.categories{margin-bottom:14px}
.note.app-only{margin:0 2px 14px;font-size:.9rem}
.app-only{display:none}
.in-app .app-only{display:block}
.in-app .brand.app-only{display:flex}
.in-app .web-only,.in-app footer,.in-app .downloads [data-os="windows"],.in-app .downloads [data-os="mac"],.in-app .downloads [data-os="ios"]{display:none}

.posters{display:grid;gap:16px;margin-bottom:16px}
.poster{position:relative;display:block;aspect-ratio:16/10;overflow:hidden;border-radius:30px;border:1px solid var(--edge);color:#fff;text-decoration:none;box-shadow:0 20px 48px var(--shade);isolation:isolate}
.poster>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:top;z-index:-1}
.poster>span{position:absolute;left:10px;right:10px;bottom:10px;display:block;padding:12px 16px;border-radius:22px;background:rgba(9,12,32,.62);border:1px solid rgba(255,255,255,.22);-webkit-backdrop-filter:blur(18px) saturate(1.6);backdrop-filter:blur(18px) saturate(1.6);font-size:.84rem;line-height:1.4;color:#dde4ff}
.poster strong{display:block;font:700 1.2rem/1.2 "Space Grotesk",system-ui,sans-serif;color:#fff}

.search{display:flex;align-items:center;gap:10px;border-radius:999px;padding:6px 8px 6px 18px}
.search svg{width:22px;height:22px;flex:none;color:var(--muted)}
.search input{border:0;background:transparent;box-shadow:none;outline-offset:0}
.suggest{margin-top:16px;display:grid;gap:14px}
.suggest h2{font-size:1.1rem}
.found{margin:14px 2px 8px;font-size:.9rem;color:var(--muted)}
.found:empty{margin:14px 0 0}

.library{display:grid;gap:6px}
.library .head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.library .empty{border-radius:28px;padding:22px}

.help{margin:40px 2px 0;font-size:.9rem;color:var(--muted)}
footer{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px 24px;width:calc(100% - 32px);max-width:1080px;width:min(1080px,100% - 32px);margin:0 auto;padding:20px 0 28px;border-top:1px solid var(--hair);font-size:.82rem;color:var(--muted)}
footer p:last-child{display:flex;flex-wrap:wrap;gap:6px 20px}
footer .app-links{display:flex;flex-wrap:wrap;gap:8px 20px;width:100%;padding-bottom:12px}
footer a{color:inherit}

/* An app's page: a thick pane that slides up over the store */
.sheet{width:100%;max-width:100%;height:calc(100% - 28px);max-height:calc(100dvh - 28px);margin:auto 0 0;padding:0;border:1px solid var(--edge);border-bottom:0;border-radius:36px 36px 0 0;background:var(--glass-thick);color:var(--soft);overflow:auto;overscroll-behavior:contain;-webkit-backdrop-filter:blur(44px) saturate(1.9);backdrop-filter:blur(44px) saturate(1.9);box-shadow:inset 0 1px 0 var(--shine),0 -20px 70px rgba(0,0,0,.4)}
.sheet[open]{animation:rise .5s cubic-bezier(.22,1.1,.36,1)}
@keyframes rise{from{transform:translateY(55%);opacity:0}}
.sheet::backdrop{background:rgba(3,5,20,.4);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.sheet-body{padding:0 clamp(16px,4vw,34px) calc(env(safe-area-inset-bottom) + 30px);max-width:760px;margin:0 auto}
.sheet-bar{position:sticky;top:0;z-index:3;display:flex;justify-content:flex-end;align-items:center;gap:8px;padding:14px 0 8px;pointer-events:none}
.sheet-bar>*{pointer-events:auto;-webkit-backdrop-filter:blur(18px) saturate(1.8);backdrop-filter:blur(18px) saturate(1.8)}
.close{min-height:44px;padding:8px 20px;border-radius:999px;border:1px solid var(--edge);background:var(--pill);color:var(--ink);font-weight:700;font-size:.9rem;box-shadow:inset 0 1px 0 rgba(255,255,255,.22)}
.sheet-bar .close{order:-1;margin-right:auto}
/* These float over text and pictures while a page scrolls, so they need a thicker pane to stay readable. */
.sheet-bar .close,.sheet-bar .round{background:var(--glass-thick)}
html:has(.sheet[open]){overflow:hidden}
.sheet:focus-visible{outline:none}
.product-head{display:flex;align-items:center;gap:18px;padding-top:8px}
.product-head img{width:104px;height:104px;border-radius:26px;flex:none;box-shadow:0 18px 40px var(--shade),inset 0 0 0 1px var(--edge)}
.product-head h2{font-size:clamp(1.6rem,6vw,2.4rem);line-height:1.1;letter-spacing:-.025em}
.tagline{font-size:.94rem;line-height:1.45;margin-top:4px}
.maker{font-size:.82rem;color:var(--link);font-weight:700;margin-top:4px}
.primary{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:18px}
.primary .btn{flex:1 1 220px;max-width:340px}
.primary .why{flex-basis:100%;font-size:.84rem;color:var(--muted)}
.primary .why:empty{display:none}
.qr{display:flex;align-items:center;gap:14px;margin-top:14px;font-size:.88rem}
.qr img{width:108px;height:108px;padding:6px;border-radius:16px;background:#fff}
.facts{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(104px,1fr);overflow-x:auto;margin-top:20px;border-block:1px solid var(--hair);scrollbar-width:none}
.facts div{padding:12px 10px;text-align:center;border-left:1px solid var(--hair)}
.facts div:first-child,.facts .rating-fact[hidden]+div{border-left:0}
.facts dt{font-size:.74rem;color:var(--muted);font-weight:600}
.facts dd{color:var(--ink);font:700 .98rem/1.3 "Space Grotesk",system-ui,sans-serif;margin-top:3px}
.shots{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;padding:20px 0 14px;scrollbar-width:thin;align-items:flex-start}
.shots img{height:min(460px,62vh);width:auto;max-width:none;border-radius:24px;border:1px solid var(--edge);scroll-snap-align:center;box-shadow:0 14px 34px var(--shade);background:#0b1028}
.shots img.wide{height:auto;width:min(520px,86vw)}
.block{margin-top:26px;padding-top:22px;border-top:1px solid var(--hair)}
.block h3{font-size:1.3rem;margin-bottom:10px;letter-spacing:-.01em}
.block h4{font-size:.95rem;margin:14px 0 6px}
.block p+p{margin-top:10px}
.downloads li{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 24px;padding:16px;margin-top:10px;border-radius:24px;background:var(--tile);border:1px solid var(--hair)}
.downloads li>div{flex:1 1 280px}
.downloads h3{font-size:1.08rem;margin:0 0 4px}
.downloads p{font-size:.9rem}
.downloads .meta{color:var(--muted);font-size:.82rem;margin-bottom:6px}
.downloads .btn{flex:1 1 200px;max-width:300px}
.downloads li:not(.mine):not(:only-child) .btn{background:var(--pill);color:var(--pill-ink);box-shadow:inset 0 1px 0 rgba(255,255,255,.22)}
.yours{display:inline-block;margin-left:10px;padding:1px 10px;border-radius:999px;border:1px solid var(--gold);color:var(--ink);font:700 .7rem/1.7 "Plus Jakarta Sans",system-ui,sans-serif;vertical-align:middle}
.latest{padding:8px 0;border:0;background:none;color:var(--link);font-weight:700;font-size:.9rem;text-decoration:underline}
.problem{color:var(--bad);font-weight:700}
.problem:empty{display:none}
.news li{padding:10px 0;border-bottom:1px solid var(--hair);font-size:.92rem}
.news li:last-child{border-bottom:0}
.news li p+p{margin-top:2px}
.news strong{color:var(--ink)}
.news time{color:var(--muted);font-size:.82rem;margin-left:8px}
.news li:nth-child(n+3){display:none}
.news.all li{display:list-item}
.more-news{margin-top:6px;padding:6px 0;border:0;background:none;color:var(--link);font-weight:700;font-size:.9rem}
.privacy ul li{position:relative;padding:3px 0 3px 22px;font-size:.92rem}
.privacy ul li::before{content:"";position:absolute;left:3px;top:.75em;width:8px;height:8px;border-radius:50%;background:var(--good)}
.privacy>p{font-size:.92rem}
.info dl div{display:flex;justify-content:space-between;gap:20px;padding:9px 0;border-bottom:1px solid var(--hair);font-size:.9rem}
.info dt{color:var(--muted)}
.info dd{color:var(--ink);text-align:right;font-weight:600}
.report{margin-top:14px;font-size:.9rem}
.more-apps .shelf{grid-auto-columns:minmax(140px,38%)}

/* Ratings and reviews */
.score{display:flex;align-items:center;gap:22px}
.score>p{text-align:center;font-size:.8rem;color:var(--muted)}
.score>p strong{display:block;color:var(--ink);font:700 3.4rem/1 "Space Grotesk",system-ui,sans-serif}
.bars{flex:1;display:grid;gap:4px;font-size:.74rem;color:var(--muted)}
.bars li{display:grid;grid-template-columns:2.4em 1fr 2.4em;align-items:center;gap:8px}
.bars li span:last-child{text-align:right}
.meter{height:7px;border-radius:99px;background:var(--pill);overflow:hidden}
.meter i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#ffb300,#ffd666)}
.stars{color:#ffb300;letter-spacing:.08em}
.stars i{font-style:normal;color:var(--muted);opacity:.45}
.review-list{display:grid;gap:10px;margin-top:16px}
.review{padding:14px 16px;border-radius:22px;background:var(--tile);border:1px solid var(--hair);font-size:.92rem;overflow-wrap:anywhere}
.review header{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 12px}
.review header strong{color:var(--ink)}
.review header time,.review small{color:var(--muted);font-size:.78rem}
.review .body{margin-top:6px;white-space:pre-line}
.review .acts{display:flex;gap:16px;margin-top:6px}
.link{padding:6px 0;border:0;background:none;color:var(--link);font-weight:700;font-size:.82rem}
.write{display:grid;gap:10px;margin-top:18px;padding:16px;border-radius:24px;background:var(--tile);border:1px solid var(--edge)}
.write h4{margin:0}
.rate{display:flex;flex-direction:row-reverse;justify-content:flex-end;gap:2px}
.rate input{position:absolute;opacity:0;width:1px;height:1px}
.rate label{cursor:pointer;font-size:2.1rem;line-height:1.1;color:var(--muted);padding:0 3px;border-radius:8px}
.rate input:checked~label,.rate label:hover,.rate label:hover~label{color:#ffb300}
.rate input:focus-visible+label{outline:2.5px solid var(--gold)}
.field{display:grid;gap:4px;font-size:.85rem;font-weight:600;color:var(--ink)}
.field textarea{min-height:92px;resize:vertical;font-weight:400}
.developer-form .field textarea{font:inherit;font-weight:400;border-radius:16px}
.field input{font-weight:400}
.write .btn{justify-self:start;border:0}
.write .small,.small{font-size:.8rem;color:var(--muted);font-weight:400}

/* Passport */
#passport h2{font-size:2rem;letter-spacing:-.025em}
.passport-card{position:relative;margin-top:16px;padding:20px;border-radius:30px;color:#fff;overflow:hidden;background:radial-gradient(120% 80% at 10% 0,#31e6b5 0,transparent 55%),radial-gradient(100% 90% at 100% 20%,#8b5cff 0,transparent 60%),linear-gradient(160deg,#112a63,#070b25);border:1px solid rgba(255,255,255,.3);box-shadow:inset 0 1px 0 rgba(255,255,255,.4),0 20px 46px rgba(0,0,0,.35)}
.passport-card h3{color:#fff;font-size:1.35rem}
.passport-card .count{color:#dbe4ff;font-size:.9rem}
.stamps{display:grid;grid-template-columns:repeat(auto-fill,minmax(68px,1fr));gap:9px;margin-top:16px}
.stamp{display:flex;flex-direction:column;align-items:center;gap:6px;height:100%;padding:11px 3px;border-radius:22px;border:1px dashed rgba(255,255,255,.36);color:#cdd6fb;text-decoration:none;font-size:.72rem;line-height:1.3;text-align:center}
.stamp img{width:50px;height:50px;border-radius:50%;filter:grayscale(1);opacity:.42}
.stamp.got{border-style:solid;background:rgba(255,255,255,.14);color:#fff}
.stamp.got img{filter:none;opacity:1;box-shadow:0 0 0 2px rgba(255,255,255,.7),0 8px 18px rgba(0,0,0,.35)}
.badges{display:grid;gap:8px;margin-top:16px}
.badges li{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:20px;background:var(--tile);border:1px solid var(--hair);font-size:.86rem;line-height:1.4}
.badges li::before{content:"";width:16px;height:16px;flex:none;border-radius:50%;border:2px solid var(--muted)}
.badges li.won::before{border-color:transparent;background:conic-gradient(#31e6b5,#7cc8ff,#a97bff,#ffc93c,#31e6b5);box-shadow:0 0 14px rgba(120,200,255,.65)}
.badges strong{display:block;color:var(--ink)}
.passport .actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}
.passport .field{margin-top:14px}
.choice{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:14px}
.choice legend{font-weight:700;color:var(--ink);margin-bottom:6px;padding:0}
.choice label{display:inline-flex;align-items:center;gap:7px;min-height:40px;padding:6px 14px;border-radius:999px;border:1px solid var(--edge);background:var(--tile);font-size:.88rem;font-weight:600;color:var(--ink)}
.choice label:has(:checked){background:var(--ink);border-color:var(--ink);color:var(--sky-low)}
.choice input{accent-color:var(--gold)}

.toast{position:fixed;z-index:40;left:50%;bottom:calc(env(safe-area-inset-bottom) + 96px);translate:-50% 0;width:max-content;max-width:calc(100% - 32px);margin:0;padding:11px 20px;border-radius:999px;background:var(--glass-thick);color:var(--ink);font-weight:700;font-size:.88rem;text-align:center;transition:opacity .25s,transform .25s}
.toast.glass{position:fixed;background:var(--glass-thick)}
.toast:empty{opacity:0;transform:translateY(10px);pointer-events:none}

/* Without JavaScript every app is simply listed in full. */
html:not(.js) .sheet{display:block;position:static;height:auto;max-height:none;width:auto;margin:24px 0 0;border-radius:32px;border-bottom:1px solid var(--edge);overflow:visible}
html:not(.js) .sheet#passport,html:not(.js) .close,html:not(.js) #sky{display:none}
html:not(.js) .news li{display:list-item}
.basic-only{display:none}
.basic .basic-only{display:block;margin-top:16px;padding:14px 16px;border-radius:18px;border:1px solid var(--edge);background:var(--tile);color:var(--ink)}

@media (min-width:720px){
  .shelf{grid-auto-columns:minmax(160px,1fr)}
  .posters{grid-template-columns:repeat(2,1fr)}
  .posters .poster:first-child{grid-column:1/-1;aspect-ratio:21/9}
  .rows.apps{display:grid;grid-template-columns:repeat(2,1fr);column-gap:30px}
  .feature{grid-template-columns:6fr 5fr;align-items:center}
  .feature-art{aspect-ratio:auto;align-self:stretch;min-height:240px}
  .feature-art img{position:absolute;inset:0}
  .feature-copy{padding:26px}
  .sheet{width:min(780px,100% - 48px);height:fit-content;max-height:min(900px,100dvh - 48px);margin:auto;border-bottom:1px solid var(--edge);border-radius:36px}
}
/* On a wide screen the side dock needs its own room. */
@media (min-width:1240px){
  main,.bar,footer{width:min(1080px,100% - 272px)}
}
@media (min-width:980px){
  .today-top{grid-template-columns:7fr 5fr;align-items:stretch}
  .pick .hero{height:100%;min-height:460px}
}
/* On a wide screen the dock stands at the side. */
@media (min-width:1240px){
  .dock{left:24px;top:50%;bottom:auto;translate:0 -50%;width:96px;border-radius:40px}
  .dock-tabs{grid-template-columns:1fr;grid-auto-rows:66px}
  .dock a{justify-content:center;font-size:.72rem}
  .dock-lens{width:100%;height:20%;bottom:auto;border-radius:32px;translate:0 calc(var(--tab,0) * 100%)}
  .badge{top:8px}
  .js body{padding-bottom:0}
  .toast{bottom:28px}
}
@media (max-width:380px){
  .pill{min-width:66px;padding-inline:12px}
  .rows{padding-inline:11px}
  .app-icon{width:52px;height:52px;border-radius:13px}
  .product-head img{width:80px;height:80px;border-radius:20px}
  .stamps{gap:6px}
}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}
@media (prefers-reduced-transparency:reduce){
  .glass,.rows,.sheet,.feature,.library .empty,.dock{background:var(--sky-low)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
}

/* ---------- Fit every screen, including Android's larger text sizes ---------- */
html,body{max-width:100%;overflow-x:clip}
.sheet{overflow-x:hidden}
.sheet-body,.sheet-body>*,.block,.view,.rows,.shelf,.more-apps,.downloads,.downloads li,.downloads li>div{min-width:0;max-width:100%}
.shelf,.shots{max-width:100%}
.facts{display:flex;flex-wrap:wrap;overflow-x:visible}
.facts>div{flex:1 1 0;min-width:min(100%,max-content);border-top:1px solid var(--hair);margin-top:-1px}
.facts dd,.facts dt{overflow-wrap:break-word;-webkit-hyphens:auto;hyphens:auto}
.facts dd{font-size:clamp(.8rem,3.2vw,.98rem)}
.product-head{min-width:0}
.product-head>div{min-width:0}
.product-head h2,.tagline,.downloads h3,.downloads p,.app-name{overflow-wrap:break-word;hyphens:auto}
.downloads li{flex-wrap:wrap}
.downloads .btn{max-width:100%;white-space:normal;text-align:center}
img,video{max-width:100%}
.shots img{max-width:none}
.shots img.wide{height:auto;width:min(86vw,640px)}
