.wide-page { max-width: 900px; }
.opts { border: 1px solid var(--line); border-radius: 10px; margin: 10px 0; padding: 8px 12px; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.opts legend { color: var(--muted); font-size: 13px; padding: 0 4px; }
.opts label { display: flex; gap: 6px; align-items: center; }
#qimg { display: block; width: 100%; max-height: 60vh; object-fit: contain; background: #000; border-radius: 10px; border: 1px solid var(--line); }
.q-main { font-weight: 600; margin: 14px 0 6px; }
.choice[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); }
.row-btns { display: flex; gap: 8px; margin-top: 10px; }
.row-btns .btn { width: auto; flex: 1; text-align: center; }
#hud { margin-left: auto; font-variant-numeric: tabular-nums; }
#hud.low { color: var(--bad); font-weight: 700; }
.topic { display: flex; align-items: center; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.topic .name { flex: 1; }
.bar { width: 120px; height: 8px; background: var(--panel-2); border-radius: 4px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--ok); }
.ans { padding: 10px 0; border-bottom: 1px solid var(--line); }
.ans .tag { font-weight: 700; }
.ans.ok .tag { color: var(--ok); } .ans.bad .tag { color: var(--bad); } .ans.skip .tag { color: #ffcf5b; }
.ans img { max-width: 160px; float: right; margin: 0 0 6px 10px; border-radius: 6px; }
.ans::after { content: ""; display: block; clear: both; }
.hist { font-size: 13px; color: var(--muted); }
