* { box-sizing: border-box; }
:root { color-scheme: light; font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif; color:#172A30; background:#f1f5f3; }
body { margin:0; line-height:1.7; }
header { background:#123c3b; color:white; padding: .8rem 1.2rem; font-weight:650; }
header div { max-width: 900px; margin:auto; display:flex; justify-content:space-between; gap:1rem; }
main { width:min(calc(100% - 1.5rem),900px); min-height:320px; margin:clamp(.75rem,4vw,2.5rem) auto 0; padding:clamp(1rem,4vw,2.25rem); background:white; border:1px solid #dce6e0; border-radius:14px; }
h1,h2 { line-height:1.35; margin:0 0 1rem; color:#173c38; }
h1 { font-size:clamp(1.45rem,4vw,2rem); }
h2 { font-size:1.25rem; }
p { margin:.3rem 0 1rem; }
article p { max-width:43em; }
.consent { white-space:pre-wrap; }
label { cursor:pointer; }
textarea,input[type=number],select { font:inherit; border:1px solid #78948c; border-radius:6px; padding:.45rem .65rem; }
textarea { width:100%; min-height:10rem; }
button { color:white; background:#176053; border:1px solid #176053; border-radius:7px; padding:.55rem 1.2rem; font:inherit; font-weight:650; cursor:pointer; }
button.secondary { background:white; color:#176053; }
button:disabled { color:#39524e; background:#e3ebe8; border-color:#dbe4e1; cursor:default; }
:focus-visible { outline:3px solid #b85610; outline-offset:3px; }
nav { display:flex; gap:.55rem; flex-wrap:wrap; margin-top:1rem; }
fieldset { border:0; border-block-end:1px solid #e0e8e4; margin:0 0 1rem; padding:.25rem 0 1rem; min-width:0; }
legend { padding:0; font-weight:600; }
.anchors { display:flex; justify-content:space-between; gap:.75rem; font-size:.83rem; color:#38514d; }
.options { display:flex; flex-wrap:wrap; gap:.3rem; margin:.45rem 0; }
.options label { position:relative; flex:1 1 2rem; text-align:center; min-height:2.6rem; }
.options input { opacity:0; position:absolute; }
.options span { display:grid; place-content:center; min-height:2.6rem; border:1px solid #91aaa2; border-radius:6px; padding:.15rem; }
.options input:checked + span { color:white; background:#176053; border-color:#176053; font-weight:700; }
.options input:focus-visible + span { outline:3px solid #b85610; outline-offset:2px; }
.options canvas { display:block; max-width:100%; height:auto; }
.ios label { flex-basis: min(4rem, 21%); }
.option-text { display:block; margin:.55rem 0; }
.notice { color:#355850; font-size:.94rem; }
.error { color:#982817; font-weight:650; }
.status { min-height:1.6rem; margin:.5rem 0; }
.timer { font-variant-numeric:tabular-nums; }
.stimulus { min-height:min(55vh,410px); display:grid; gap:.5rem; place-content:center; justify-items:center; background:#ededed; border-radius:8px; padding:.6rem; }
.stimulus img { display:block; max-width:100%; max-height:45vh; object-fit:contain; }
.fix { font-size:3.25rem; text-align:center; }
.sports { display:grid; grid-template-columns:1fr 1fr; gap:.8rem; align-items:start; margin:.5rem 0; }
.sports img,.sports video { display:block; width:100%; height:auto; object-fit:contain; }
.sports .flags { max-height:12rem; }
.sports .match-text { grid-row:1; grid-column:1 / -1; }
.stimulus .sentence { width: min(100%, 440px); }
footer { width:min(calc(100% - 2rem),900px); margin:.5rem auto 2rem; text-align:right; }
footer button { font-size:.9rem; }
@media (max-width:650px) { .sports { grid-template-columns:1fr; } }
