/* chain-reaction · progress, undo and owner tint. Cosmetic layer; hd.css still wins under html.hd-on. */
.goalbar{display:flex;flex-direction:column;align-items:center;gap:.15rem;margin:.35rem 0 .6rem;font-size:.8rem;line-height:1.35;color:#475569;text-align:center}
.goalbar .rk{font-weight:800;color:#b91c1c}
.goalbar .gl.done{color:#15803d;font-weight:700}
#undo[hidden]{display:none}
#undo:disabled{opacity:.45;cursor:default}
.hud .hud-btns{display:flex;gap:.5rem}
#card-grid button.cell:where([data-p="1"]){background:radial-gradient(circle at 50% 40%,#ef444433,#0f172a 75%)}
#card-grid button.cell:where([data-p="2"]){background:radial-gradient(circle at 50% 40%,#3b82f633,#0f172a 75%)}
#card-grid button.cell:where([data-p="3"]){background:radial-gradient(circle at 50% 40%,#22c55e33,#0f172a 75%)}
#card-grid button.cell:where([data-p="4"]){background:radial-gradient(circle at 50% 40%,#eab30833,#0f172a 75%)}
#card-grid button.cell.hint{animation:hintp 1.1s ease-in-out infinite;border-color:#fbbf24;box-shadow:0 0 0 3px #fbbf2466}
@keyframes hintp{0%,100%{transform:scale(1)}50%{transform:scale(1.07)}}
@media (prefers-reduced-motion:reduce){#card-grid button.cell.hint{animation:none}}
