/* Dual task: a canvas scene, an instruction card between blocks, and touch
   pads under the stage (held for steering, tapped for signs). */
.dt-legend { list-style: none; padding: 0; margin: 0 0 10px; display: grid; gap: 6px; }
.dt-legend li { display: flex; align-items: center; gap: 10px; }
.dt-swatch { width: 22px; height: 22px; flex: none; }
.dt-swatch-wide { width: 66px; }
.dt-origin { color: var(--text-soft); font-size: 14.5px; }
.dt-stage { padding: 12px; }
.dt-canvas { display: block; width: 100%; max-width: 560px; aspect-ratio: 4 / 3; border-radius: 8px; }
.odak-stage[data-odak-state="running"] .odak-stage-msg { display: none; }
.odak-stage:not([data-odak-state="running"]) .dt-canvas { opacity: 0.5; }
.dt-card { position: absolute; inset: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 20px; border-radius: 8px; background: color-mix(in srgb, var(--surface) 94%, transparent); text-align: center; }
.dt-card[hidden] { display: none; }
.dt-card p { max-width: 32em; margin: 0; }
.dt-card-title { font-weight: 700; font-size: 17px; }
.dt-pads { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 10px; margin-top: 10px; }
.dt-pad { display: grid; place-items: center; min-height: 64px; border: 1.5px solid var(--border); border-radius: 12px; background: var(--surface-2); font-size: 22px; font-weight: 700; user-select: none; -webkit-user-select: none; touch-action: none; cursor: pointer; }
.dt-pad-tap { font-size: 17px; }
