.options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;text-align:left;max-width:560px;margin:auto}
.options label{display:grid;gap:5px;min-width:0}
.options select{width:100%;padding-inline:8px}
details{margin-top:16px}
summary{cursor:pointer;width:fit-content;margin:auto;padding:8px}
:focus-visible{outline:3px solid var(--white);outline-offset:3px}
.hud .target{background:var(--purple);border:2px solid var(--gold)}
.hud .target strong{color:var(--cyan);font-size:clamp(2rem,7vw,3.5rem)}
.hud .warning strong{color:var(--amber)}
.cards.tiles{grid-template-columns:repeat(4,minmax(0,1fr));max-width:none;margin:10px 0}
.low.tiles{grid-template-columns:repeat(6,minmax(0,1fr))}
.cards .tile{aspect-ratio:auto;min-height:52px;padding:4px;color:var(--cyan);font-family:Rajdhani,Arial,sans-serif}
.high .tile{background:linear-gradient(var(--electric),var(--purple));border-color:var(--gold)}
.low .tile{background:linear-gradient(var(--purple),var(--black))}
.cards .tile.used{opacity:.55;text-decoration:line-through}
#symbols{margin:16px 0 12px}
#symbols button{min-width:44px;padding-inline:8px}
#equation{display:block;width:100%;min-height:52px;margin:6px 0 10px;padding:8px;border:2px dashed var(--cyan);border-radius:var(--radius);background:var(--black);color:var(--white);font:700 1.15rem Inter,Arial,sans-serif}
#equation.drop{border-style:solid;background:var(--purple)}
#feedback{min-height:1.4em}
#solution{font-size:1.25rem;line-height:1.6;overflow-wrap:anywhere;color:var(--cyan)}
body.contrast .cards .tile,body.contrast .hud>div,body.contrast #equation{background:var(--black);border-color:var(--white);color:var(--white)}
@media(max-width:480px){.options{grid-template-columns:1fr}.cards.tiles{gap:5px}.cards .tile{min-height:46px}.hud>*{min-width:70px;padding:6px}}

