* { box-sizing: border-box }
body { margin: 0; font: 16px/1.4 system-ui, sans-serif; background: #111; color: #eee }
main { max-width: 480px; margin: 0 auto; padding: 12px; padding-bottom: env(safe-area-inset-bottom) }
h1 { font-size: 1.1rem; margin: 4px 0 10px }
.stage { position: relative; aspect-ratio: 9 / 16; max-height: 70dvh; margin: 0 auto; background: #000; overflow: hidden }
.stage video { width: 100%; height: 100%; object-fit: contain; background: #000 }
.stage.pseudo-fs { position: fixed; inset: 0; z-index: 10; max-height: none; width: 100vw; height: 100dvh; aspect-ratio: auto }
.watermark { position: absolute; pointer-events: none; color: #fff; opacity: .35; font-weight: 700; font-size: 1.1rem; text-shadow: 0 0 4px #000; transition: top 1.2s, left 1.2s; white-space: nowrap }
.status { position: absolute; left: 0; right: 0; bottom: 0; padding: 6px 8px; background: rgba(0,0,0,.6); font-size: .85rem; pointer-events: none }
.row { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; align-items: center }
button, select { font: inherit; padding: 10px 12px; border-radius: 8px; border: 1px solid #555; background: #222; color: #eee; min-height: 44px }
table { width: 100%; border-collapse: collapse; font-size: .85rem }
caption { text-align: left; font-weight: 700 }
td { border-top: 1px solid #333; padding: 4px }
.pass { color: #6fdc8c } .fail { color: #ff7b72 } .info { color: #9ab }
.diag { font-size: .75rem; word-break: break-all; display: grid; grid-template-columns: auto 1fr; gap: 2px 8px }
.diag dt { color: #9ab } .diag dd { margin: 0 }
