/* Base styles and slide viewer */
* { margin: 0; }
html, body { height: 100%; background: #000; overflow: hidden; }
body { font: 32px/1.2 sans-serif; }
h1 { font-size: 96px; font-weight: 600; }
h2 { font-size: 64px; font-weight: 600; }
h3 { font-size: 44px; font-weight: 600; }
p, li, h1, h2, h3, td, th { overflow-wrap: break-word; text-wrap: pretty; }
table { width: 100%; border-collapse: separate; border-spacing: 0; }

#stage { position: absolute; left: 50%; top: 50%; width: 1920px; height: 1080px; transform-origin: 0 0; }
#stage > section { position: absolute; inset: 0; width: 1920px; height: 1080px; overflow: hidden; box-sizing: border-box; isolation: isolate; display: none !important; }
#stage > section.current { display: flex !important; }

x-connector { display: block; border-top-style: solid; border-color: currentColor; position: relative; flex-shrink: 0; }
x-connector[head="end"]::after { content: ""; position: absolute; right: -2px; top: 50%; transform: translateY(-50%) translateY(-1.5px); border: 10px solid transparent; border-left: 16px solid currentColor; border-right: 0; }

#ui { position: fixed; right: 20px; bottom: 16px; display: flex; align-items: center; gap: 12px; font: 500 14px/1 'DM Sans', Arial, sans-serif; color: #AEBBBD; opacity: .35; transition: opacity .2s; z-index: 10; }
#ui:hover, body.touch #ui { opacity: .9; }
#ui button { background: rgba(255,255,255,.08); color: #EEE8DD; border: 0; border-radius: 6px; width: 34px; height: 30px; font-size: 16px; cursor: pointer; }
#ui button:hover { background: rgba(255,255,255,.18); }
@media print { #ui { display: none; } }
