.dr-lights { margin: 26px 0; padding: 24px; border: 1px solid #354958; border-radius: 12px; background: #0d1821; scroll-margin-top: 24px; }
.dr-lights-heading h5 { margin: 0 0 12px; color: #edf6fc; font-size: clamp(1.1rem, 2vw, 1.4rem); line-height: 1.5; }
.dr-lights-heading p, .dr-lights-model { color: #aebfcd; font-size: .8rem; line-height: 1.85; }
.dr-lights-playback { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.dr-lights-playback button { min-height: 44px; padding: 10px 13px; border: 1px solid #4d687a; border-radius: 6px; background: #172a38; color: #e0edf7; font: inherit; font-size: .76rem; cursor: pointer; }
.dr-lights button:focus-visible { outline: 2px solid #ffca67; outline-offset: 3px; }
.dr-lights-playback button:disabled { opacity: .5; cursor: default; }
.dr-lights-play-state { color: #a5dbe9; min-height: 1.8em; font-size: .74rem; line-height: 1.8; }
.dr-lights-row-heading { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px; margin: 22px 0 9px; font-size: .82rem; color: #d8e9f6; }
.dr-lights-row-heading span { font-size: .68rem; color: #9db2c2; }
.dr-lights-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.dr-light-tile { min-width: 0; margin: 0; overflow: hidden; border: 1px solid #2f4555; border-radius: 6px; background: #071019; color: #afc6d7; }
button.dr-light-tile { padding: 0; font: inherit; cursor: pointer; }
.dr-light-tile[aria-pressed="true"] { border-color: #ffca67; box-shadow: 0 0 0 1px #ffca67; }
.dr-light-tile canvas { display: block; width: 100%; height: auto; max-height: 110px; object-fit: contain; background: #070e15; }
.dr-light-tile figcaption, .dr-light-tile > span { display: block; padding: 7px 3px; text-align: center; font-size: .68rem; line-height: 1.5; }
.dr-light-tile > span b, .dr-light-tile > span small { display: block; }
.dr-light-tile > span b { color: #e2edf3; font-size: .78rem; }
.dr-light-tile > span small { margin-top: 4px; font-size: .65rem; }
.dr-light-tile[data-state="shadow"], .dr-light-tile[data-state="partial-shadow"] { border-color: #777996; }
.dr-light-tile[data-state="shadow"] figcaption, .dr-light-tile[data-state="partial-shadow"] figcaption { color: #c3bcf3; }
.dr-light-tile[data-state="near-floor"] figcaption { color: #c3bcf3; }
.dr-light-tile[data-state="below-quality"], .dr-light-tile[data-state="partial-quality"] { border-color: #9683bd; }
.dr-light-tile[data-state="below-quality"] figcaption, .dr-light-tile[data-state="partial-quality"] figcaption { color: #d5bdf6; }
.dr-light-tile[data-state="clipped"], .dr-light-tile[data-state="partial-clip"] { border-color: #b6814f; }
.dr-light-tile[data-state="clipped"] figcaption, .dr-light-tile[data-state="partial-clip"] figcaption { color: #f8bb7a; }
.dr-light-tile[data-state="usable"] figcaption { color: #8ee1c2; }
.dr-lights-detail { display: grid; grid-template-columns: minmax(0, 180px) minmax(0, 180px) minmax(0, 1fr); align-items: center; gap: 18px; margin: 24px 0 18px; padding: 18px; border: 1px solid #354c5b; border-radius: 8px; background: #0a131c; }
.dr-lights-detail figure { margin: 0; min-width: 0; }
.dr-lights-detail canvas { width: 100%; height: auto; display: block; image-rendering: pixelated; background: #070e15; }
.dr-lights-detail figcaption { margin-top: 7px; color: #9cb5c7; text-align: center; font-size: .72rem; line-height: 1.6; }
.dr-lights-detail p { margin: 0; color: #c5d8e7; font-size: .83rem; line-height: 1.9; }
.dr-lights-model { margin-bottom: 0; font-size: .72rem; }
.dr-light-marker { position: absolute; top: 77px; width: 7px; height: 12px; margin-left: -3.5px; background: #94d9f0; border: 1px solid #152531; transition: left 180ms ease; }
.dr-light-marker.is-selected { background: #ffd077; height: 19px; top: 73px; }
@media (max-width: 700px) {
  .dr-lights { padding: 16px 10px; }
  .dr-lights-grid { gap: 4px; }
  .dr-lights-detail { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 12px; }
  .dr-lights-detail p { grid-column: 1 / -1; }
  .dr-light-tile figcaption, .dr-light-tile > span { font-size: .61rem; padding-inline: 1px; }
  .dr-light-tile > span small { font-size: .59rem; }
}
@media (prefers-reduced-motion: reduce) { .dr-light-marker { transition: none; } }
