/* Clickable window: a real window capture with transparent buttons over its own
 * toolbar, plus tab chips above it. The page draws no window chrome; the
 * capture already carries the macOS title bar. Uses the site's theme variables. */
.cw{max-width:1200px;margin:0 auto}
.cw-stage,.cw-static{position:relative;width:100%;aspect-ratio:1280/800;border-radius:var(--radius,12px);overflow:hidden;background:var(--bg);border:1px solid var(--border);box-shadow:0 30px 80px -30px rgba(0,0,0,.7),0 0 0 1px rgba(124,156,255,.06)}
.cw-pane{position:absolute;inset:0}.cw-pane[hidden]{display:none}
.cw-shot{position:relative;width:100%}
.cw-state{position:absolute;inset:0;z-index:5;background:var(--bg)}.cw-state[hidden]{display:none}
.cw-state picture,.cw-state img{display:block;width:100%;height:auto}
.cw-state-close{position:absolute;inset:0;width:100%;height:100%;margin:0;padding:0;border:0;background:transparent;cursor:pointer}
.cw-state-close:focus-visible{outline:3px solid var(--accent);outline-offset:-3px}
.cw-shot picture,.cw-shot img,.cw-static picture,.cw-static img{display:block;width:100%;height:auto}
.cw-hot{position:absolute;appearance:none;margin:0;padding:0;border:0;border-radius:7px;background:transparent;cursor:pointer}
.cw-hot:hover{outline:2px solid color-mix(in srgb,var(--accent) 80%,transparent);outline-offset:0}
.cw-hot:focus-visible{outline:3px solid var(--accent);outline-offset:1px;background:color-mix(in srgb,var(--accent) 16%,transparent)}
.cw-picker{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:0 0 20px}
.cw-pick{appearance:none;font:inherit;font-size:15px;font-weight:600;min-height:44px;padding:8px 18px;border-radius:999px;border:1px solid var(--border);background:var(--card);color:var(--muted);cursor:pointer;transition:background-color .16s,color .16s,border-color .16s}
.cw-pick:hover{color:var(--fg);border-color:color-mix(in srgb,var(--accent) 50%,var(--border))}
.cw-pick[aria-pressed=true]{background:color-mix(in srgb,var(--accent) 18%,var(--card));border-color:var(--accent);color:var(--fg)}
.cw-pick:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.cw-caption{margin:14px 0 0;text-align:center;color:var(--muted);font-size:14px}
.cw-sr{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
@media(prefers-reduced-motion:no-preference){.cw-pane:not([hidden]){animation:cw-in .18s ease-out}@keyframes cw-in{from{opacity:0}to{opacity:1}}}
@media(max-width:780px){
  .cw-hot{display:none}
  .cw-picker{gap:6px}
  .cw-pick{padding:8px 14px;font-size:14px}
  .cw-stage,.cw-static{border-radius:8px}
}
