.sd-prompt { font-weight:600; font-size:15px; color:var(--muted); margin:0 0 12px; text-align:center; }
.sd-grid { display:grid; grid-template-columns:repeat(5, minmax(0, 1fr)); gap:12px; margin:16px 0; }
.sd-card { position:relative; background:var(--surface); border:1.5px solid var(--border-strong); border-radius:var(--radius); padding:16px 10px 10px; cursor:pointer; display:flex; flex-direction:column; align-items:center; justify-content:center; min-height:136px; box-shadow:var(--shadow-xs); touch-action:manipulation; transition:border-color 0.12s ease, transform 0.08s ease, background-color 0.12s ease; }
.sd-card:hover { border-color:var(--ink); }
.sd-card:active { transform:scale(0.95); }
.sd-card.selected { border-color:var(--accent); background:var(--accent-soft); box-shadow:0 0 0 2.5px var(--accent); }
.sd-card.correct { border-color:var(--accent); background:var(--accent-soft); }
.sd-card.wrong { border-color:var(--danger); background:var(--warm-soft); animation:gapShake 0.22s ease; }
.sd-card svg { width:92px; height:92px; max-width:100%; }
.sd-keycap { position:absolute; top:7px; left:8px; font-family:var(--font-mono); font-size:12px; font-weight:700; color:var(--muted); }
.sd-actions { display:flex; gap:10px; flex-wrap:wrap; margin-top:16px; }
@media (max-width: 768px) {
  .sd-prompt { font-size:13.5px; margin-bottom:8px; }
  /* 3-top + 2-centered-bottom honeycomb: ALL 5 shapes visible simultaneously with zero scrolling */
  .sd-grid {
    grid-template-columns:repeat(6, minmax(0, 1fr));
    gap:10px;
    margin:auto 0;
    width:100%;
    max-width:420px;
    align-self:center;
  }
  .sd-card {
    grid-column:span 2;
    min-height:0;
    aspect-ratio:1 / 1.06;
    padding:8px;
    border-radius:14px;
  }
  .sd-card:nth-child(4) { grid-column:2 / span 2; }
  .sd-card:nth-child(5) { grid-column:4 / span 2; }
  .sd-card svg { width:100%; height:100%; max-width:96px; max-height:96px; }
}