:root { --ink: #16201b; --navy: #1d3b53; --paper: #f4f1e8; }
* { box-sizing: border-box; border-radius: 0; }
html, body { margin: 0; height: 100%; background: #10161a; color: #eef0ec; font-family: -apple-system, "SF Pro Text", "Inter", system-ui, sans-serif; }
body { display: flex; flex-direction: column; }
header { display: flex; align-items: center; height: 44px; padding: 0 14px; background: #0b1013; flex: none; }
.brand { display: flex; align-items: center; gap: 8px; color: #eef0ec; text-decoration: none; font-weight: 700; font-size: 15px; }
.brand b { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; background: var(--navy); font-size: 11px; font-weight: 850; letter-spacing: -.02em; }
.bar { background: #f2c94c; color: var(--ink); padding: 10px 14px; font-size: 14px; font-weight: 600; flex: none; }
.bar a { color: var(--ink); }
main { flex: 1; min-height: 0; min-width: 0; overflow: hidden; display: flex; align-items: center; justify-content: center; padding: 12px; }
main.still img { width: 100%; height: 100%; min-width: 0; min-height: 0; object-fit: contain; display: block; }
main.livefill { padding: 0; } main.livefill iframe { border: 0; width: 100%; height: 100%; }
.tools { display: flex; gap: 8px; align-items: center; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: #0b1013; flex: none; }
.btn { color: #eef0ec; text-decoration: none; border: 1px solid #3a4650; padding: 8px 14px; font-weight: 650; font-size: 14px; }
.btn:first-child { background: var(--navy); border-color: var(--navy); }
.code { margin-left: auto; font: 600 13px ui-monospace, "SF Mono", monospace; letter-spacing: .12em; color: #8d99a1; }
.msg { margin: auto; padding: 24px; text-align: center; max-width: 420px; }
.msg h1 { font-size: 22px; margin: 0 0 8px; } .msg p { color: #aab4ba; margin: 0 0 16px; }
form { display: flex; gap: 8px; justify-content: center; }
input { font: 600 18px ui-monospace, "SF Mono", monospace; letter-spacing: .15em; padding: 10px; width: 170px; text-transform: uppercase; border: 1px solid #3a4650; background: #0b1013; color: #eef0ec; }
button { font: 650 15px -apple-system, sans-serif; padding: 10px 16px; border: 0; background: var(--navy); color: #fff; }
