:root { color-scheme: light; --frame: #dfe2e7; --ctl-bg: rgba(255, 255, 255, 0.82); --ctl-ink: #3c434d; --ctl-on-bg: #181c21; --ctl-on-ink: #ffffff; --ctl-ring: rgba(24, 28, 33, 0.12); } @media (prefers-color-scheme: dark) { :root:not([data-theme='light']) { color-scheme: dark; --frame: #07090b; --ctl-bg: rgba(23, 27, 33, 0.85); --ctl-ink: #b8c0ca; --ctl-on-bg: #eef1f4; --ctl-on-ink: #0f1216; --ctl-ring: rgba(255, 255, 255, 0.12); } } :root[data-theme='dark'] { color-scheme: dark; --frame: #07090b; --ctl-bg: rgba(23, 27, 33, 0.85); --ctl-ink: #b8c0ca; --ctl-on-bg: #eef1f4; --ctl-on-ink: #0f1216; --ctl-ring: rgba(255, 255, 255, 0.12); } * { margin: 0; padding: 0; box-sizing: border-box; } html, body { height: 100%; overflow: hidden; overscroll-behavior: none; background: var(--frame); } hyperframes-slideshow { display: block; position: relative; width: 100vw; height: 100vh; outline: none; touch-action: none; } hyperframes-player { position: absolute; inset: 0; background: var(--frame) !important; } .theme-toggle { position: fixed; top: 16px; right: 16px; z-index: 50; display: flex; gap: 2px; padding: 4px; border-radius: 999px; background: var(--ctl-bg); box-shadow: 0 0 0 1px var(--ctl-ring), 0 8px 24px -10px rgba(0, 0, 0, 0.35); backdrop-filter: blur(10px); transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1); } .theme-toggle.idle { opacity: 0; pointer-events: none; } .theme-toggle:focus-within { opacity: 1; pointer-events: auto; } .theme-toggle button { display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 999px; background: transparent; color: var(--ctl-ink); cursor: pointer; transition: background 0.15s, color 0.15s; } .theme-toggle button:hover { background: var(--ctl-ring); } .theme-toggle button[aria-checked='true'] { background: var(--ctl-on-bg); color: var(--ctl-on-ink); } .theme-toggle button:focus-visible { outline: 2px solid #4ade80; outline-offset: 2px; } .theme-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; } /* the audience sees the slides, never the controls */ .audience .theme-toggle { display: none; } /* Hide the navigation pill, including the audience's fullscreen-only button. Override its inline pointer-events so hidden controls cannot catch clicks. Keyboard focus reveals controls without leaving a mouse-clicked button stuck. */ [data-hf-nav-cluster] { transition: opacity 0.3s ease; } .controls-idle [data-hf-nav-cluster] { opacity: 0; pointer-events: none !important; } .controls-idle [data-hf-nav-cluster]:has(:focus-visible) { opacity: 1; pointer-events: auto !important; }