/* TB-170A viewer on the shared Build chrome. Greyscale, same box and type as /build/property/. */
.lamp-stage { position: relative; background: #e6e6e6; border-bottom: 1.5px solid var(--line); overflow: hidden; }
.lamp-stage model-viewer {
  display: block; width: 100%; height: min(70vh, 560px); min-height: 280px;
  --poster-color: #e6e6e6; background: #e6e6e6;
}
.lamp-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: transparent; pointer-events: none; }
.lamp-progress > div { height: 100%; width: 0; background: var(--ink); transition: width .2s; }
.lamp-progress.done { opacity: 0; transition: opacity .6s .2s; }
.lamp-hint { position: absolute; left: 12px; bottom: 10px; margin: 0; font: 16px/1 var(--font-lcd); color: #636363; pointer-events: none; }

.lamp-ar {
  position: absolute; right: 10px; bottom: 10px;
  background: #fff; color: var(--ink); border: 1.5px solid var(--ink); border-radius: 8px;
  padding: 7px 12px; font: 700 16px/1 var(--font-ui); cursor: pointer;
  box-shadow: 2px 2px 0 var(--ink);
}
.lamp-ar:active { transform: translate(1px, 1px); box-shadow: 1px 1px 0 var(--ink); }

.lamp-hs {
  position: relative; width: 22px; height: 22px; padding: 0; cursor: pointer;
  background: #fff; color: var(--ink); border: 1.5px solid var(--ink); border-radius: 999px;
  font: 16px/1 var(--font-lcd);
}
.lamp-hs:hover, .lamp-hs:focus-visible, .lamp-hs.on { background: var(--ink); color: #fff; }
.lamp-hs .label {
  position: absolute; left: 28px; top: 50%; transform: translateY(-50%);
  background: #fff; color: var(--ink); border: 1.5px solid var(--ink); border-radius: 6px;
  padding: 4px 8px; font: 13px/1.2 var(--font-body); white-space: nowrap;
  opacity: 0; pointer-events: none;
}
.lamp-hs[data-flip] .label { left: auto; right: 28px; }
.lamp-hs:hover .label, .lamp-hs:focus-visible .label, .lamp-hs.on .label { opacity: 1; }

.lamp-note { margin-top: .8em; color: #525252; font-size: 13.5px; }
.lamp-views { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.lamp-views button {
  font: 700 15px/1 var(--font-ui); letter-spacing: .03em;
  background: #fff; color: var(--ink); border: 1.5px solid var(--ink);
  border-radius: 999px; padding: 6px 12px; cursor: pointer;
}
.lamp-views button:hover, .lamp-views button[aria-pressed="true"] { background: var(--ink); color: #fff; }

.lamp-sec { padding: 14px 16px 16px; border-top: 1.5px solid var(--line); }
.lamp-spec { width: 100%; border-collapse: collapse; }
.lamp-spec th, .lamp-spec td { padding: 8px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.lamp-spec th { width: 36%; font-weight: 600; padding-right: 12px; }
.lamp-spec td small { display: block; color: #525252; font-size: 12.5px; }
.lamp-sec ol { margin: 0; padding-left: 1.2em; }
.lamp-sec li { margin: 0 0 .45em; }
.lamp-swatches { display: flex; flex-wrap: wrap; gap: 10px 14px; margin: 0 0 10px; }
.lamp-sw { display: flex; align-items: center; gap: 8px; font-size: 13.5px; }
.lamp-sw i { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--ink); display: inline-block; }
.lamp-sw--nickel { background: #c5c5c5; }
.lamp-sw--white { background: #fff; }
.lamp-sw--black { background: #101010; }
.lamp-credit { color: #525252; font-size: 13px; }
.lamp-credit + .lamp-credit { margin-top: .8em; }
.lamp-credit a { color: inherit; }
