/* Pages /shortcuts/, /what-is-snap-key/ et /setup/ : table des usages, cartes d'usage, façade vidéo. Le reste vient de style.css et oneplus.css */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.toc ul { list-style: none; margin: 1.4rem 0 1.6rem; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.toc a { display: inline-flex; align-items: center; gap: .5rem; padding: .35rem .85rem .35rem .4rem; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; font-size: .92rem; }
.toc a:hover { border-color: var(--accent); }
.toc .use-ico { width: 30px; height: 30px; border-radius: 9px; }
.toc .use-ico svg { width: 18px; height: 18px; }
.use-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 14px; }
.use { min-width: 0; padding: 1.3rem; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); scroll-margin-top: 5.5rem; }
.use-head { display: flex; align-items: center; gap: .8rem; margin-bottom: .7rem; }
.use-head h2 { margin: 0; font-size: 1.3rem; text-align: left; }
.use > p { margin: 0 0 .9rem; color: var(--muted); font-size: .96rem; }
.uf { list-style: none; margin: 0; padding: .8rem 0 0; border-top: 1px solid var(--line); display: grid; gap: .45rem; font-size: .93rem; }
.uf b { display: block; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.use-ico.ico-stack { position: relative; width: auto; min-width: 44px; padding: 0 .3rem; gap: 0; display: flex; justify-content: center; background: transparent; overflow: visible; }
.use-ico.ico-stack img { width: 36px; height: 36px; border-radius: 9px; margin-left: -10px; box-shadow: 0 0 0 2px var(--surface); }
.use-ico.ico-stack img:first-child { margin-left: 0; }
.toc .use-ico.ico-stack img { width: 24px; height: 24px; margin-left: -8px; }
/* Façade vidéo : vignette de la page, l'iframe youtube-nocookie ne se charge qu'au clic */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; background: #000; border: 1px solid var(--line); box-shadow: var(--shadow); }
.video > a, .video > iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.video img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-btn { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; background: rgb(10 15 13 / .78); box-shadow: 0 0 0 3px rgb(255 255 255 / .85); transition: transform .15s; }
.video-btn::before { content: ""; position: absolute; left: 28px; top: 21px; border-style: solid; border-width: 15px 0 15px 25px; border-color: transparent transparent transparent #fff; }
.video > a:hover .video-btn, .video > a:focus-visible .video-btn { transform: scale(1.08); }
.video > a:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.chapters { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.chapters a { display: inline-flex; gap: .5rem; padding: .35rem .8rem; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; font-size: .92rem; }
.chapters time { color: var(--accent); font-variant-numeric: tabular-nums; }
.needs { margin: 0 0 1.2rem; padding-left: 1.2rem; display: grid; gap: .5rem; }
.sc .use-head h2 { overflow-wrap: anywhere; }
@media (prefers-reduced-motion: reduce) { .video-btn { transition: none; } }
.op-hero .lead { margin-inline: auto; text-align: center; }
.su .op-hero, .sc .op-hero { padding-bottom: 1rem; min-height: 0; }
