:root { --bg: #fff8ef; --ink: #222; --accent: #e85d04; --ok: #2b9348; --ng: #d00000; --line: #e6dccf; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif; -webkit-text-size-adjust: 100%; }
header { position: sticky; top: 0; z-index: 2; background: #222; color: #fff; padding: 10px 16px;
  display: flex; justify-content: space-between; align-items: center; gap: 8px; }
header:empty { display: none; }
.team { font-weight: 700; font-size: 17px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.role { font-size: 12px; padding: 3px 8px; border-radius: 99px; background: #555; white-space: nowrap; }
.role.rep { background: var(--accent); }
main { padding: 16px; max-width: 560px; margin: 0 auto; }
.card { background: #fff; border-radius: 14px; padding: 20px; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.center { text-align: center; }
.qno { font-size: 14px; color: #777; }
.timer { float: right; font-weight: 800; font-size: 20px; color: var(--accent); }
.timer.hurry { color: var(--ng); }
.qtext { font-size: 20px; font-weight: 700; line-height: 1.5; margin: 8px 0 12px; clear: both; }
.qimg { width: 100%; border-radius: 10px; margin-bottom: 12px; }
.choices { display: grid; gap: 10px; }
.choice { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 12px 14px;
  font-size: 17px; text-align: left; border: 2px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); }
.choice .lbl { flex: 0 0 34px; height: 34px; border-radius: 50%; background: #222; color: #fff;
  display: grid; place-items: center; font-weight: 800; }
.choice:disabled { opacity: .75; }
.choice.picked { border-color: var(--accent); background: #fff1e6; opacity: 1; }
.choice.mine { border-color: var(--accent); background: #ffe8d6; opacity: 1; }
.choice.correct { border-color: var(--ok); background: #e7f6ec; opacity: 1; }
.status { margin: 14px 0 0; font-size: 16px; text-align: center; }
.status.ok { color: var(--ok); font-weight: 700; }
.status.err { color: var(--ng); font-weight: 700; }
.confirm { margin-top: 14px; text-align: center; }
.btn { display: block; width: 100%; min-height: 54px; margin-top: 10px; font-size: 18px; font-weight: 700;
  border-radius: 12px; border: 2px solid #222; background: #fff; color: #222; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn:disabled { opacity: .5; }
.result { font-size: 44px; font-weight: 900; text-align: center; margin-top: 12px; }
.result.good { color: var(--ok); }
.result.bad { color: var(--ng); }
.banner { background: #fff3bf; border: 1px solid #f0c000; border-radius: 12px; padding: 12px; margin-bottom: 14px; text-align: center; }
.net { position: fixed; left: 0; right: 0; bottom: 0; z-index: 5; background: var(--ng); color: #fff; text-align: center; padding: 8px; }
.hidden { display: none; }
