/* 光的折射特有样式（通用样式见 ../shared/base.css） */

#ray { position: absolute; inset: 0; touch-action: none; }
#ray.grab { cursor: grab; }
#ray.grabbing { cursor: grabbing; }
[hidden] { display: none !important; }

.ok { color: #7ee081; }
.bad { color: #ff7a59; }

.readout .big { font-size: 18px; }
.readout .tip { font-size: 12px; color: var(--accent); margin-top: 4px; min-height: 18px; }
.readout dd { font-variant-numeric: tabular-nums; }

.presets { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.presets button { font: inherit; font-size: 13px; color: var(--text); background: var(--panel-2); border: 1px solid var(--line);
  border-radius: 8px; padding: 7px 0; cursor: pointer; }
.presets button:hover { border-color: var(--accent); }
.presets button.on { border-color: var(--accent); background: rgba(255,201,74,.14); }

.seg.wide { display: flex; width: 100%; }
.seg.wide button { flex: 1; font-size: 13px; padding: 5px 0; }
#panel .row { grid-template-columns: 40px 1fr; margin: 8px 0; }
.btns { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }

.raykey { list-style: none; padding: 0; margin: 10px 0 0; font-size: 12px; color: var(--muted); }
.raykey li { margin: 3px 0; }
.raykey i { display: inline-block; width: 18px; height: 3px; border-radius: 2px; vertical-align: middle; margin-right: 6px; }
.raykey i.dash { background: repeating-linear-gradient(90deg, #ffd166 0 4px, transparent 4px 7px); }
.raykey i.dots { height: 5px; background: radial-gradient(circle, #fff3c4 0 2px, transparent 2.5px) 0 0 / 6px 5px repeat-x; }
