/* Page Reader's web page: the few rules it adds to the Options design. */
.nav{flex-basis:226px}
.nav h1{white-space:normal;text-wrap:balance}
.prose .card h3{font-size:16px;font-weight:600;margin:24px 0 10px;padding-top:22px;border-top:1px solid var(--line);scroll-margin-top:24px}
.prose .card .section-heading{margin-bottom:6px}
/* The video tour, 16:9 and full card width. */
.video{aspect-ratio:16/9;border-radius:12px;overflow:hidden;background:#000}
.video iframe{display:block;width:100%;height:100%;border:0}
/* Screenshots: stacked, one shown at a time, with a dot for each underneath. */
.slides{position:relative;aspect-ratio:1280/800;border-radius:12px;overflow:hidden;border:1px solid var(--line);cursor:pointer}
.slides img{position:absolute;inset:0;width:100%;height:100%;display:block;opacity:0;transition:opacity .6s}
.slides img.on{opacity:1}
.dots{display:flex;justify-content:center;gap:2px;margin-top:8px}
.dots button{width:24px;height:24px;border:0;padding:0;background:none;cursor:pointer;display:grid;place-items:center}
.dots button::before{content:"";width:9px;height:9px;border-radius:50%;background:var(--line)}
.dots button[aria-current="true"]::before{background:var(--accent)}
.dots button:focus-visible{outline:2px solid var(--accent);outline-offset:-2px;border-radius:50%}
/* Arrows at each side, shown when the pointer is over the screenshots (always on touch screens). */
.arrow{position:absolute;top:50%;width:40px;height:40px;margin-top:-20px;border:0;border-radius:50%;padding:0;display:grid;place-items:center;cursor:pointer;
 background:rgba(255,255,255,.82);color:var(--ink);box-shadow:0 1px 6px rgba(0,0,0,.18);opacity:0;transition:opacity .2s}
.arrow.prev{left:12px}.arrow.next{right:12px}
.arrow svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.slides:hover .arrow,.arrow:focus-visible{opacity:1}
.arrow:hover{background:#fff}
.arrow:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
@media (hover:none){.arrow{opacity:.85}}
/* Install: the stores' official badges, resized only, each linking to its listing. In the card and under the heading. */
.badges{display:flex;flex-wrap:wrap;align-items:center;gap:12px 16px;margin:4px 0 14px}
.badges img{display:block;height:52px;width:auto}
.prose .card p.note{font-size:14px;color:var(--muted)}
.nav-badges{display:flex;flex-direction:column;align-items:flex-start;gap:10px;margin:0 0 20px 10px}
.nav .nav-badges a{padding:0;border-radius:6px;background:none}
.nav-badges img{display:block;height:40px;width:auto}
/* The Chrome badge has more white space inside it, so it is shown a little taller to match the Firefox one. */
.badges img.cws{height:60px}.nav-badges img.cws{height:46px}
.badges a,.nav-badges a{display:inline-block;border-radius:6px;transition:opacity .15s}
.badges a:hover,.nav .nav-badges a:hover{opacity:.85;background:none}
.badges a:focus-visible,.nav-badges a:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
@media (max-width:700px){.nav-badges{flex-basis:100%;flex-direction:row;flex-wrap:wrap;margin:0 0 8px}}
@media (prefers-reduced-motion:reduce){.slides img,.arrow{transition:none}}
