*{box-sizing:border-box}body{margin:0;background:linear-gradient(180deg,#eaf2fb 0,#f6f9fc 360px,#f6f9fc 100%);color:#132c48;font:16px Arial,sans-serif}main{max-width:1320px;margin:auto;padding:34px 36px 52px}header{display:flex;align-items:center;padding:2px 2px 21px;border-bottom:1px solid #cfdae7}.brand{font-size:24px;font-weight:800;letter-spacing:-1px;color:#163d68}.heading{margin:27px 0 25px;max-width:760px}h1{font-size:clamp(34px,5vw,46px);line-height:1.08;letter-spacing:-1.6px;margin:0 0 11px}p{color:#506178;line-height:1.55;margin:8px 0}button,select{font:inherit;color:inherit;min-height:46px;border:1px solid #bfccdc;border-radius:9px;background:white;padding:11px 15px;transition:background-color .16s,border-color .16s,box-shadow .16s,transform .16s}button{cursor:pointer}button:hover{background:#f3f7fb;border-color:#7c94af}button:active{transform:translateY(1px)}button:focus-visible,select:focus-visible{outline:3px solid #1265c6;outline-offset:3px}.topic-picker,.level-picker{display:flex;flex-wrap:wrap;gap:10px}.topic-picker button{min-width:180px;font-weight:600}.topic-picker span,.level-picker span{font-size:13px;font-weight:400;margin-left:12px;opacity:.8}.topic-picker button[aria-pressed=true]{background:#163d68;color:white;border-color:#163d68;box-shadow:0 4px 12px #163d6825}.level-picker{margin-top:13px}.level-picker button{min-width:140px;font-size:15px}.level-picker button[aria-pressed=true]{border-color:#b74712;color:#87360c;background:#fff5ed;box-shadow:inset 0 -2px #b74712}.question-picker{display:flex;align-items:center;gap:14px;font-size:15px;font-weight:600;margin:24px 0 20px}.question-picker select{width:min(650px,100%);font-weight:400}.game{background:white;border:1px solid #d4deea;border-radius:20px;padding:30px 32px 32px;box-shadow:0 16px 42px #17355312}.top{display:flex;justify-content:space-between;font-size:14px;font-weight:bold;gap:12px}.track{height:5px;background:#e9eef4;margin:17px 0 25px;border-radius:5px;overflow:hidden}#progress{height:100%;background:#c14b13;transition:width .2s}.family{font-size:13px;letter-spacing:.3px;color:#9b461b;margin-bottom:7px}h2{font-size:24px;line-height:1.3;margin:0 0 10px}.reaction-grid{display:grid;grid-template-columns:minmax(0,1fr) 48px minmax(0,1fr);gap:12px;align-items:start;margin-top:20px}.reaction-side{min-width:0}.reaction-side h3{font-size:15px;font-weight:600;color:#506178;margin:8px 0}.relation{width:48px;align-self:center;padding-bottom:45px}.relation svg{display:block;width:48px;height:30px}#drawing,#product-drawing{border:1px solid #dce5ef;border-radius:14px;background:#fff;overflow:hidden;margin:2px 0 16px}.chemistry{display:block;width:100%;height:auto;min-height:210px;user-select:none;-webkit-user-select:none}#board{touch-action:none}.atom-label{font:26px Arial,sans-serif;text-anchor:middle;dominant-baseline:central;fill:#172532}.formal-charge{font:18px Arial,sans-serif;text-anchor:middle;dominant-baseline:central;fill:#172532}.reaction-plus{font:24px Arial,sans-serif;text-anchor:middle;dominant-baseline:central;fill:#7c8793}.bond{stroke:#172532;stroke-width:1.8;stroke-linecap:butt}.lone-pair{fill:#172532}.curly{stroke:#b74712;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}.preview{stroke-dasharray:4 3}.hit{fill:none;stroke:none;pointer-events:all;cursor:crosshair}.hit:hover,.hit:focus-visible{fill:#f6b27510;stroke:#bd7747;stroke-width:1;stroke-dasharray:3 3;outline:none}.selected-ring{fill:none;stroke:#b74712;stroke-width:1;stroke-dasharray:2 2;pointer-events:none}.hint-ring{fill:none;stroke:#14719c;stroke-width:2;stroke-dasharray:4 3;pointer-events:none}#handle{fill:#f9ede3;fill-opacity:.65;stroke:#b74712;stroke-width:1;cursor:grab}.roles{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:2px 0 21px}.roles label{display:flex;flex-direction:column;gap:8px;font-size:15px;font-weight:600}.roles select{min-width:0;width:100%;font-size:14px;font-weight:400;padding:9px 8px}.roles select:disabled{opacity:1;background:#eef7f0;color:#24553a}.instruction{font-weight:600;margin-top:17px}.keyboard-help{font-size:14px;margin:11px 0 14px}.bottom{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:15px;padding-top:3px}.bottom button{font-size:15px}.quiet{border:0;background:transparent;color:#5b6a7e;padding-left:0}.primary{background:#163d68;color:white;border-color:#163d68}.primary:hover{background:#235385;color:white}#check,#next{margin-left:auto}#feedback{min-height:64px;padding:14px 16px;background:#f2f5f9;border:1px solid transparent;border-radius:10px;line-height:1.5;margin-top:18px}#feedback[data-state=correct]{background:#eaf7ef;border-color:#b9dfc6;color:#1e6038}#feedback[data-state=incorrect]{background:#fff0f0;border-color:#edc1c1;color:#9b2525}#feedback:empty{visibility:hidden}[hidden]{display:none!important}@media(max-width:800px){main{padding:22px 16px 38px}.game{padding:23px 16px}.reaction-grid{grid-template-columns:1fr;gap:0}.relation{transform:rotate(90deg);padding:0;margin:8px auto 12px;line-height:30px}.roles{margin-bottom:7px}.chemistry{min-height:0}.question-picker{flex-direction:column;align-items:stretch;gap:8px}.question-picker select{width:100%}}@media(max-width:520px){main{padding:18px 12px 30px}.heading{margin:23px 0 21px}.topic-picker button{min-width:0;flex:1}.level-picker button{min-width:0;flex:1;padding:10px 6px;font-size:14px}.level-picker span{margin-left:5px}.game{padding:20px 10px;border-radius:16px}h2{font-size:21px}.top{font-size:12px}.bottom{gap:8px}.bottom button{padding:10px;font-size:14px}.roles label{font-size:14px}}


#feedback[data-state=correct]{background:#e9f7ed;color:#166534;border:2px solid #228443;font-weight:600}#feedback[data-state=incorrect]{background:#fff0f0;color:#a51c26;border:2px solid #c8323e;font-weight:600}

/* Keep the chemistry workspace prominent and controls consistent. */
body{background:#f1f4f8}main{padding-top:22px}header{gap:16px}.brand{letter-spacing:-.6px}.heading{margin:22px 0 18px}h1{font-size:clamp(26px,4vw,34px);letter-spacing:-.8px}.game{border-radius:14px;box-shadow:0 6px 22px #122c4807}.topic-picker,.level-picker{flex-wrap:wrap}.topic-picker button,.level-picker button{transition:background .15s,border-color .15s}.family{font-size:14px}.question-picker{margin-bottom:18px}.roles label{line-height:1.4}.roles select{font-size:14px}#feedback{border:2px solid transparent;min-height:64px}.bottom{padding-top:4px}.note{max-width:850px;margin:20px auto 0}button:disabled{cursor:default}
@media(max-width:520px){header{flex-wrap:wrap;letter-spacing:.8px;font-size:12px}.brand{font-size:22px}.heading{margin-top:18px}.topic-picker button{flex-basis:45%}.level-picker span{display:inline-block}.question-picker{font-size:15px}.top{font-size:13px}.bottom button{font-size:14px}.roles{gap:8px}.instruction{line-height:1.5}}

.intro-options{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:22px 0}.intro-options button{text-align:left;padding:16px;line-height:1.5}.intro-origin{fill:none;stroke:#b74712;stroke-width:2;pointer-events:none}.intro-hit:focus-visible{stroke:#1265c6;stroke-width:2;fill:#1265c610}.intro-options button:disabled{opacity:.7}@media(max-width:600px){.intro-options{grid-template-columns:1fr}}

/* One continuous reaction, with no individual molecule cards. */
.reaction-grid{display:block;margin-top:24px;background:#fff}.reaction-labels{display:grid;grid-template-columns:1fr 1fr;gap:40px}.reaction-labels h3{font-size:14px;font-weight:400;color:#526174;margin:0 0 8px;text-align:center}#drawing{border:0;border-radius:0;margin:0;overflow-x:auto;padding:8px 0 18px}.reaction-canvas{display:block;width:100%;height:auto;min-width:640px;max-height:460px;user-select:none;-webkit-user-select:none}.reaction-roles{display:grid;grid-template-columns:1fr 1fr;gap:60px}.reaction-roles:has(.roles:empty){margin:0}.intro-correct{fill:#16833b10;stroke:#16833b;stroke-width:2.5;pointer-events:none}.bond{stroke:#111;stroke-width:2}.atom-label,.formal-charge{fill:#111}.lone-pair{fill:#111}#board{touch-action:none}.intro-origin{stroke-width:2}.reaction-labels{pointer-events:none}@media(max-width:800px){.reaction-grid{display:block}.reaction-roles{gap:20px}.reaction-canvas{min-width:640px}}@media(max-width:520px){.reaction-roles{grid-template-columns:1fr}.reaction-labels{gap:15px}.reaction-labels h3{font-size:13px}}

.answer-arrow{animation:answer-reveal .3s ease-out}@keyframes answer-reveal{from{opacity:0}to{opacity:1}}@media(prefers-reduced-motion:reduce){.answer-arrow{animation:none}}

.charge-symbol{pointer-events:none}.charge-symbol circle{fill:white;stroke:#111;stroke-width:1.5}.charge-symbol path{fill:none;stroke:#111;stroke-width:1.5;stroke-linecap:butt}.reaction-canvas{shape-rendering:geometricPrecision}.curly{stroke-width:2;stroke-linecap:butt}

.electron-arrowhead{fill:#b74712;stroke:none;pointer-events:none}.electron-arrow{pointer-events:none}

.curly{stroke:#111;stroke-width:2.35;stroke-linecap:round;stroke-linejoin:round}.electron-arrowhead{fill:#111}

.curly{stroke:#c62828}.electron-arrowhead{fill:#c62828}

/* Orgo 101 navigation and home */
header{justify-content:space-between}.brand{text-decoration:none}.site-nav{display:flex;gap:8px;flex-wrap:wrap}.site-nav a{color:#506178;text-decoration:none;font-weight:600;padding:9px 12px;border-radius:8px}.site-nav a:hover,.site-nav a.active{background:#e5edf6;color:#163d68}.practice-home{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:0 0 34px}.practice-choice{display:flex;flex-direction:column;gap:10px;min-height:210px;padding:28px;background:white;border:1px solid #d4deea;border-radius:14px;color:#132c48;text-decoration:none;box-shadow:0 7px 22px #1735530d}.practice-choice:hover{border-color:#7c94af;transform:translateY(-1px)}.practice-choice strong{font-size:25px;color:#163d68}.practice-choice span{font-weight:600}.practice-choice small{font-size:15px;color:#506178;line-height:1.5}footer{text-align:center;color:#718096;font-size:13px;line-height:1.5;margin:30px 0 0;padding:22px 12px 0;border-top:1px solid #d8e1eb}

/* Alkane naming practice */
.naming-heading{margin-bottom:18px}.mode-picker,.naming-levels{display:flex;gap:10px;flex-wrap:wrap}.mode-picker button{min-width:220px;font-weight:600}.mode-picker button[aria-pressed=true]{background:#163d68;color:white;border-color:#163d68}.naming-levels{margin-top:13px}.naming-levels button{min-width:140px}.naming-levels button[aria-pressed=true]{border-color:#b74712;color:#87360c;background:#fff5ed;box-shadow:inset 0 -2px #b74712}.mode-picker span,.naming-levels span{font-size:13px;font-weight:400;margin-left:10px;opacity:.8}.naming-game{padding-top:24px}.draw-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:8px 0 12px}.draw-tools button{min-height:40px;padding:8px 13px}.draw-tools span{margin-left:auto;color:#506178;font-size:14px}.alkane-canvas{border:1px solid #dce5ef;border-radius:10px;background:#fff;overflow:hidden}.alkane-canvas svg{display:block;width:100%;height:auto;max-height:330px;min-height:240px;touch-action:none}.dot-grid{fill:url(#dot-grid)}#dot-grid circle{fill:#c9d3de}.alkane-bond,.answer-bond{stroke:#111;stroke-width:3;stroke-linecap:round}.alkane-hit{stroke:transparent;stroke-width:22;cursor:pointer}.alkane-point{fill:#111;opacity:0}.alkane-point.near{opacity:.18}#bond-preview{stroke:#111;stroke-width:3;stroke-linecap:round;opacity:.45}#draw-prompt{fill:#718096;font:14px Arial;pointer-events:none}.answer-canvas{margin:8px 0 15px}.name-answer-label{display:block;font-weight:600;margin:14px 0 8px}#name-answer{width:100%;min-height:48px;border:1px solid #bfccdc;border-radius:9px;padding:11px 13px;font:16px Arial;color:#132c48}#name-feedback{min-height:54px;padding:13px 15px;background:#f2f5f9;border:2px solid transparent;border-radius:10px;line-height:1.5;margin-top:16px}#name-feedback[data-state=correct]{background:#e9f7ed;color:#166534;border-color:#228443;font-weight:600}#name-feedback[data-state=incorrect]{background:#fff0f0;color:#a51c26;border-color:#c8323e;font-weight:600}.naming-bottom{justify-content:flex-end}.naming-bottom #name-check{margin-left:0}
.naming-bottom #name-hint{margin-left:auto}
@media(max-width:700px){header{align-items:flex-start;gap:14px}.site-nav{width:100%}.practice-home{grid-template-columns:1fr}.practice-choice{min-height:0}.draw-tools span{width:100%;margin-left:0}.alkane-canvas svg{min-height:210px}}
@media(max-width:520px){.site-nav a{padding:8px 6px;font-size:14px}.mode-picker button{min-width:0;flex:1}.naming-levels button{min-width:0;flex:1;padding:9px 5px}.practice-choice{padding:22px}.naming-bottom button{flex:1}}

/* Accessibility preview */
.skip-link{position:fixed;z-index:1000;left:16px;top:12px;transform:translateY(-160%);background:#163d68;color:#fff;padding:11px 16px;border-radius:8px;font-weight:700}.skip-link:focus{transform:none}.site-nav a:focus-visible,.brand:focus-visible,.practice-choice:focus-visible{outline:3px solid #1265c6;outline-offset:3px}footer{color:#5b6a7e}.canvas-help{margin:4px 0 12px;padding:11px 14px;border-left:4px solid #b74712;background:#f7f9fc;color:#43566d;font-size:14px}.alkane-canvas svg:focus-visible,#name-answer:focus-visible{outline:3px solid #1265c6;outline-offset:3px}#draw-prompt{fill:#5b6a7e}#keyboard-cursor{fill:#fff;fill-opacity:.85;stroke:#1265c6;stroke-width:3;pointer-events:none}.tap-origin{fill:#fff5ed;stroke:#b74712;stroke-width:3;pointer-events:none}

/* Newman projection practice */
.practice-home{grid-template-columns:repeat(3,1fr)}.newman-game{padding-top:24px}.view-note{font-size:14px;margin:4px 0 18px}.projection-workspace{display:grid;grid-template-columns:1fr 1fr;gap:22px}.projection-panel{min-width:0}.projection-panel h3{font-size:15px;color:#506178;text-align:center;margin:0 0 7px}.projection-svg{display:block;width:100%;height:auto;max-height:350px;border:1px solid #dce5ef;border-radius:12px;background:#fff}.projection-bond{stroke:#111;stroke-width:3;stroke-linecap:round}.projection-bond.central{stroke-width:4}.newman-back{fill:#fff;stroke:#111;stroke-width:3}.newman-front{fill:#111}.projection-label{font:20px Arial,sans-serif;fill:#111}.carbon-tag{font:bold 15px Arial,sans-serif;fill:#506178}.np-slot{cursor:pointer}.np-slot circle{fill:#f7f9fc;stroke:#9aabbf;stroke-width:2;stroke-dasharray:4 3}.np-slot text{font:bold 16px Arial,sans-serif;fill:#506178}.np-slot:hover circle,.np-slot:focus-visible circle{fill:#edf5ff;stroke:#1265c6;stroke-width:3;stroke-dasharray:none}.np-slot:focus{outline:none}.np-slot.filled circle{fill:#fff5ed;stroke:#b74712;stroke-dasharray:none}.np-slot.filled text{fill:#132c48}.placement-help{font-size:14px;margin:14px 0 9px}.np-pieces{display:flex;flex-wrap:wrap;gap:9px;min-height:52px}.np-piece{min-height:42px;padding:8px 15px;font-weight:600}.np-piece[aria-pressed=true]{outline:3px solid #1265c6;outline-offset:2px;background:#edf5ff}.np-piece:disabled{opacity:.38}.newman-game #np-feedback{min-height:54px;padding:13px 15px;background:#f2f5f9;border:2px solid transparent;border-radius:10px;line-height:1.5;margin-top:16px}.newman-game #np-feedback[data-state=correct]{background:#e9f7ed;color:#166534;border-color:#228443;font-weight:600}.newman-game #np-feedback[data-state=incorrect]{background:#fff0f0;color:#a51c26;border-color:#c8323e;font-weight:600}#np-progress{height:100%;background:#c14b13;transition:width .2s}
@media(max-width:900px){.practice-home{grid-template-columns:1fr}.projection-workspace{grid-template-columns:1fr}.projection-svg{max-height:310px}.site-nav{gap:2px}}
@media(max-width:520px){.projection-panel h3{text-align:left}.projection-workspace{gap:16px}.projection-svg{min-width:0}.projection-label{font-size:18px}.np-piece{flex:1 1 28%}}

/* Refined Newman and sawhorse geometry */
.projection-label{font:19px Arial,sans-serif;fill:#111;paint-order:stroke;stroke:#fff;stroke-width:7px;stroke-linejoin:round}.carbon-tag{paint-order:stroke;stroke:#fff;stroke-width:5px}.np-slot rect{fill:#f7f9fc;stroke:#9aabbf;stroke-width:2;stroke-dasharray:4 3}.np-slot text{font-size:15px;pointer-events:none}.np-slot:hover rect,.np-slot:focus-visible rect{fill:#edf5ff;stroke:#1265c6;stroke-width:3;stroke-dasharray:none}.np-slot.filled rect{fill:transparent;stroke:transparent;stroke-dasharray:none}
.stereo-wedge{fill:#111}.stereo-hash{stroke:#111;stroke-width:2;stroke-linecap:butt}.view-arrow{stroke:#4169e1;stroke-width:1.8;stroke-linecap:round}.view-arrowhead{fill:#4169e1}

/* Match the chemical drawing style used throughout the rest of the site */
.projection-bond{stroke:#111;stroke-width:2;stroke-linecap:butt}
.projection-bond.central{stroke-width:2}
.newman-back{fill:#fff;stroke:#111;stroke-width:2}
.projection-label{font:26px Arial,sans-serif;fill:#111;paint-order:normal;stroke:none}
.view-arrow{stroke:#4169e1;stroke-width:1.8;stroke-linecap:round}
@media(max-width:520px){.projection-label{font-size:24px}}
.np-slot.filled text{font:20px Arial,sans-serif}
.np-newman-slot.filled circle{fill:transparent;stroke:transparent}
.np-newman-slot.filled .projection-label{font:26px Arial,sans-serif;fill:#111;pointer-events:all}
.np-newman-slot.filled:focus-visible circle{stroke:#1265c6;stroke-width:2;fill:none}

/* Four practice sections on the home page. */
@media(min-width:901px){.practice-home{grid-template-columns:repeat(2,1fr)}}
/* Functional group practice */
.functional-game{padding-top:24px}.functional-game #fg-progress{height:100%;background:#c14b13;transition:width .2s}.fg-identify-stage{max-width:760px;margin:15px auto}.fg-main-structure{display:block;width:100%;height:auto;max-height:310px;border:1px solid #dce5ef;border-radius:12px;background:#fff;shape-rendering:geometricPrecision}.fg-bond{stroke:#111;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter}.fg-atom{font:26px Arial,sans-serif;fill:#111;paint-order:stroke;stroke:#fff;stroke-width:4px;stroke-linejoin:round}.fg-highlight{fill:#4169e112;stroke:#4169e1;stroke-width:1.8;stroke-dasharray:5 4}.fg-charge circle{fill:#fff;stroke:#111;stroke-width:1.5}.fg-charge text{font:18px Arial,sans-serif;fill:#111}.fg-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-width:760px;margin:18px auto}.fg-option{text-align:left;font-weight:600}.fg-option[aria-pressed=true],.fg-structure-choice[aria-pressed=true]{border-color:#1265c6;background:#edf5ff;box-shadow:0 0 0 2px #1265c6}.fg-find-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:18px 0}.fg-structure-choice{padding:8px;background:#fff}.fg-structure-choice svg{display:block;width:100%;height:auto;max-height:220px}.fg-structure-choice span{display:block;padding:3px 6px 7px;font-weight:600;color:#506178}.functional-game #fg-feedback{min-height:54px;padding:13px 15px;background:#f2f5f9;border:2px solid transparent;border-radius:10px;line-height:1.5;margin-top:16px}.functional-game #fg-feedback[data-state=correct]{background:#e9f7ed;color:#166534;border-color:#228443;font-weight:600}.functional-game #fg-feedback[data-state=incorrect]{background:#fff0f0;color:#a51c26;border-color:#c8323e;font-weight:600}.functional-game #fg-hint{margin-left:auto}@media(max-width:700px){.fg-find-grid{grid-template-columns:1fr}.fg-options{grid-template-columns:1fr}.fg-atom{font-size:24px}.practice-home{grid-template-columns:1fr}}

/* Chirality and R/S practice */
.priority-row{display:grid;grid-template-columns:1fr 1fr;gap:24px;padding:18px 24px;background:#f7f9fc}.priority-row label{display:flex;flex-direction:column;gap:8px;min-width:0;font-size:14px;font-weight:600;color:#17324e}.priority-row select{width:100%;min-height:44px;padding:8px 12px;border:1px solid #b8c9df;border-radius:8px;background:#fff;color:#17324e;font:16px Arial,sans-serif}.priority-row select:focus-visible{outline:3px solid #4169e1;outline-offset:2px}.priority-row select:disabled{opacity:.8}.priority-row[hidden],.chirality-options[hidden]{display:none}@media(max-width:480px){.priority-row{gap:12px;padding:14px 12px}.priority-row select{padding:8px}}
.chirality-game{padding-top:24px}.chirality-game #chiral-progress{height:100%;background:#c14b13;transition:width .2s}.chirality-stage{max-width:760px;margin:16px auto 8px;border:1px solid #dce5ef;border-radius:12px;background:#fff;overflow:hidden}.chirality-stage svg{display:block;width:100%;height:auto;max-height:390px;shape-rendering:geometricPrecision}.chiral-bond,.chiral-hash{stroke:#111;stroke-width:2.4;stroke-linecap:butt}.chiral-wedge{fill:#111}.chiral-centre{fill:#111}.chiral-label{font:27px Arial,sans-serif;fill:#111;paint-order:stroke;stroke:#fff;stroke-width:7px;stroke-linejoin:round}.chiral-fischer-caption{font:600 16px Arial,sans-serif;fill:#526174}.chirality-options{display:grid;grid-template-columns:repeat(2,minmax(130px,220px));justify-content:center;gap:12px;margin:18px auto 4px}.chirality-options button{font-size:18px;font-weight:700}.chirality-options button[aria-pressed=true]{border-color:#1265c6;background:#edf5ff;box-shadow:0 0 0 2px #1265c6}.chirality-game #chiral-feedback{min-height:58px;padding:13px 15px;background:#f2f5f9;border:2px solid transparent;border-radius:10px;line-height:1.5;margin-top:16px}.chirality-game #chiral-feedback[data-state=correct]{background:#e9f7ed;color:#166534;border-color:#228443;font-weight:600}.chirality-game #chiral-feedback[data-state=incorrect]{background:#fff0f0;color:#a51c26;border-color:#c8323e;font-weight:600}.chirality-game #chiral-hint{margin-left:auto}@media(max-width:700px){.chirality-options{grid-template-columns:1fr 1fr}.chiral-label{font-size:24px}.site-nav{gap:2px}}@media(max-width:480px){.chirality-stage{margin-left:-4px;margin-right:-4px}.chirality-options{grid-template-columns:1fr}.chiral-label{font-size:22px}}
.fischer-answers{display:grid;grid-template-columns:repeat(3,minmax(120px,180px));justify-content:center;gap:12px;margin:16px auto 4px}.fischer-answers[hidden]{display:none}.fischer-answers label{display:flex;flex-direction:column;gap:7px;color:#17324e;font-size:14px;font-weight:600}.fischer-answers select{min-height:44px;border:1px solid #b8c9df;border-radius:8px;padding:8px 12px;background:#fff;color:#17324e;font:16px Arial,sans-serif}.fischer-answers select:focus-visible{outline:3px solid #4169e1;outline-offset:2px}@media(max-width:600px){.fischer-answers{grid-template-columns:repeat(auto-fit,minmax(140px,1fr))}}
.chiral-label.chiral-fischer-label{font-size:27px}
.chirality-app > .mode-picker{flex-wrap:nowrap;gap:6px;overflow-x:auto;scrollbar-width:thin}.chirality-app > .mode-picker button{flex:1 0 auto;min-width:0;white-space:nowrap;padding:10px 8px;font-size:15px}.chirality-app > .mode-picker span{margin-left:4px;font-size:12px}
.chiral-label.chiral-count-label{font-size:25px;stroke:none}.chiral-count-wedge{fill:#111}.chiral-count-dash{stroke:#111;stroke-width:2.2;stroke-linecap:butt}.chiral-count-hit{fill:transparent;cursor:pointer}.chiral-count-hit:hover,.chiral-count-hit:focus-visible{fill:#1265c615;stroke:#1265c6;stroke-width:2;outline:none}.chiral-count-selection{fill:#1265c61c;stroke:#1265c6;stroke-width:2.5;pointer-events:none}

.chiral-count-bond{stroke-linecap:round;stroke-linejoin:round}

/* Shared question footer: compact, right-aligned controls on every practice page. */
.game .bottom{justify-content:flex-end;gap:10px;margin-top:36px;padding-top:24px;border-top:1px solid #d8e2ee}
.game .bottom button{margin-left:0!important;flex:0 0 auto;font-size:15px}
.game .bottom .quiet{border:1px solid #bfccdc;background:white;color:#132c48;padding:11px 15px}
@media(max-width:520px){.game .bottom{gap:8px}.game .bottom button{padding:10px;font-size:14px}}

/* Keep acid–base bonds, labels and arrows at one display scale across questions. */
.reaction-canvas.practice-reaction{min-width:0;max-width:100%;height:auto!important;max-height:none;margin-inline:auto}
