/* きょうの色あわせの見た目 */
.stage { display: flex; flex-direction: column; align-items: stretch; gap: 14px;
  aspect-ratio: auto; max-height: none; padding: 14px 16px 18px; }
.hud { display: flex; justify-content: space-between; align-items: baseline; color: var(--muted); font-size: 0.9rem; }
.hud b { color: var(--text); font-variant-numeric: tabular-nums; }
#dots { letter-spacing: 0.2em; color: var(--text); }
.swatches { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.swatches figure { margin: 0; display: grid; gap: 4px; text-align: center; }
.swatches figcaption { color: var(--muted); font-size: 0.85rem; }
.swatch { aspect-ratio: 1; max-height: 34dvh; width: 100%; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: #888; box-shadow: 0 6px 18px oklch(0% 0 0 / 0.35); }
#target { border-radius: var(--radius-sm) 4px 4px var(--radius-sm); }
#mine { border-radius: 4px var(--radius-sm) var(--radius-sm) 4px; }
.score-pop { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%); margin: 0;
  padding: 6px 16px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line);
  font-size: 1.6rem; font-weight: 900; font-variant-numeric: tabular-nums; opacity: 0; pointer-events: none; }
.score-pop.show { animation: popin 1.1s var(--ease) forwards; }
.knobs { display: grid; gap: 12px; }
.knobs.locked { pointer-events: none; opacity: 0.5; }
.knob { display: grid; gap: 4px; }
.knob-label { font-size: 0.85rem; color: var(--muted); }
.track { position: relative; height: 34px; border-radius: 99px; border: 1px solid var(--line);
  cursor: pointer; touch-action: none; outline: none; }
.track:focus-visible { box-shadow: 0 0 0 3px color-mix(in oklch, var(--accent) 60%, transparent); }
.thumb { position: absolute; top: 50%; width: 30px; height: 30px; margin-left: -15px; transform: translateY(-50%);
  border-radius: 50%; border: 3px solid white; box-shadow: 0 2px 8px oklch(0% 0 0 / 0.5); pointer-events: none; }
#decide { align-self: center; min-width: 60%; }
.cover { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 12px;
  padding: 20px; text-align: center; background: color-mix(in oklch, var(--surface) 92%, transparent); }
.cover[hidden] { display: none; }
.cover p { margin: 0; color: var(--muted); }
.cover .sample { font-size: 2.4rem; letter-spacing: 0.15em; }
.best { text-align: center; color: var(--muted); }
@keyframes popin { 0% { opacity: 0; transform: translate(-50%, -30%) scale(0.8); } 20% { opacity: 1; transform: translate(-50%, -50%) scale(1); } 80% { opacity: 1; } 100% { opacity: 0; } }
