/* Lab activities (light): mirrors coin (site/js/science/lab-light.js). */

/* ---- Mirrors: a torch, a grid, mirrors, glass, cardboard and a target ---- */

.mr-room { fill: #1d2540; }
.mr-cell { fill: rgb(255 255 255 / 0.04); stroke: rgb(255 255 255 / 0.12); stroke-width: 2; }
.mr-beam { fill: none; stroke: #fff3a0; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.mr-beam-glow { fill: none; stroke: #ffd23a; stroke-width: 22; stroke-linecap: round; stroke-linejoin: round; opacity: 0.32; pointer-events: none; }
.mr-torch-body { fill: #4a5568; }
.mr-torch-button { fill: #f2b01e; }
.mr-torch-head { fill: #6b7a90; }
.mr-torch-lens { fill: #fff8c8; }
.mr-mirror { cursor: pointer; }
.mr-hit { fill: transparent; }
.mr-turn { fill: rgb(255 255 255 / 0.07); stroke: rgb(255 255 255 / 0.4); stroke-width: 2; stroke-dasharray: 5 6; }
.mr-mirror:hover .mr-turn, .mr-mirror:active .mr-turn { fill: rgb(255 255 255 / 0.16); }
.mr-silver { fill: #e6f6ff; stroke: #9fd3ff; stroke-width: 2; }
.mr-back { fill: #56657d; }
.mr-glass rect { fill: rgb(170 220 255 / 0.45); stroke: #c8ecff; stroke-width: 3; }
.mr-shine { stroke: #fff; stroke-width: 3; stroke-linecap: round; opacity: 0.8; }
.mr-card rect { fill: #c08a4e; stroke: #8d6235; stroke-width: 3; }
.mr-tape { fill: none; stroke: #e9cf9a; stroke-width: 6; }
.mr-ring.a { fill: #e0453a; }
.mr-ring.b { fill: #fff; }
.mr-ring.c { fill: #e0453a; }
.mr-target.lit .mr-ring.a, .mr-target.lit .mr-ring.c { fill: #ffd23a; }
.mr-target.lit { filter: drop-shadow(0 0 12px #ffd23a); }

/* ---- Coin: a cup, a coin, an eye and a jug of water ---- */

.cn-room { fill: #f6f0e2; }
.cn-table { fill: #c89b6d; }
.cn-cup { fill: none; stroke: #6a7c94; stroke-width: 9; stroke-linejoin: round; stroke-linecap: round; }
.cn-water { fill: rgb(90 170 240 / 0.42); }
.cn-surface { stroke: #3a86d8; stroke-width: 3; }
.cn-coin { fill: #e7b93a; stroke: #b3881d; stroke-width: 2.5; }
.cn-ray { fill: none; stroke: #e0453a; stroke-width: 3; stroke-dasharray: 7 7; stroke-linejoin: round; }
.cn-ray.seen { stroke: #f2a400; stroke-width: 4.5; stroke-dasharray: none; filter: drop-shadow(0 0 4px #ffd23a); }
.cn-ghost { fill: rgb(231 185 58 / 0.25); stroke: #c99a1d; stroke-width: 2; stroke-dasharray: 4 4; opacity: 0; }
.cn-ghost-line { stroke: #8a94a6; stroke-width: 2; stroke-dasharray: 3 6; opacity: 0; }
.lab-coin.seen .cn-ghost, .lab-coin.seen .cn-ghost-line { opacity: 1; }
.cn-eye-white { fill: #fff; stroke: #1d2433; stroke-width: 3; }
.cn-iris { fill: #3a86d8; }
.cn-pupil { fill: #1d2433; }
.cn-jug-body { fill: #cfe9ff; stroke: #5a8fb8; stroke-width: 3; stroke-linejoin: round; }
.cn-stream { fill: #5aa9f0; opacity: 0.8; }
.cn-mark line { stroke: #8a94a6; stroke-width: 4; stroke-linecap: round; }
.cn-mark.passed line { stroke: var(--right); }
.cn-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.2cqmin 2.4cqmin; }
.cn-bubble { margin: 0; padding: 0.3em 0.8em; border-radius: 999px; background: #fff; box-shadow: var(--shadow); font: 600 clamp(16px, 3.2cqmin, 22px)/1.2 var(--book); }
.lab-coin.seen .cn-bubble { background: var(--right-soft); color: #13643a; }
.cn-pour.held { transform: scale(0.96); }
