body.review {
  overflow: auto;
}

body.review header {
  max-width: none;
  padding: 40px 28px 12px;
}

body.review header h1 {
  font-size: 36px;
}

body.review header a {
  color: #d8d4cc;
}

.demo-clip {
  margin-top: 18px;
}

.demo-transport {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
}

.clip-cycle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.clip-cycle button {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8, 10, 14, 0.72);
  color: #d8d4cc;
  font: inherit;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 12px;
  cursor: pointer;
}

.clip-cycle button:hover {
  border-color: rgba(255, 255, 255, 0.28);
  color: #f3efe6;
}

.clip-cycle button[hidden] {
  display: none;
}

.clip-scrub {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #8a867c;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.clip-scrub[hidden] {
  display: none;
}

.clip-scrub input[type="range"] {
  width: min(220px, 48vw);
  accent-color: #d8d4cc;
}

#shared-demo-mask {
  display: block;
  width: 220px;
  height: auto;
  background: #030406;
}

#music-toggle {
  appearance: none;
  margin-top: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8, 10, 14, 0.72);
  color: #d8d4cc;
  font: inherit;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 12px;
  cursor: pointer;
}

#music-toggle:hover,
#detail-music:hover {
  border-color: rgba(255, 255, 255, 0.28);
  color: #f3efe6;
}

#music-toggle[aria-pressed="true"],
#detail-music[aria-pressed="true"] {
  color: #f3efe6;
}

#grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding: 12px 28px 64px;
}

@media (min-width: 900px) {
  #grid {
    grid-template-columns: 1fr 1fr;
  }
}

.cell {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.cell .label {
  margin-bottom: 8px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8a867c;
}

.cell:hover iframe {
  border-color: rgba(255, 255, 255, 0.18);
}

.cell iframe {
  width: 100%;
  height: 340px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #030406;
}

.cell .hit {
  position: absolute;
  inset: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

body.detail-open {
  overflow: hidden;
}

#detail {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  background: #0b0b0c;
}

#detail[hidden] {
  display: none;
}

.detail-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  padding: 16px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.detail-bar button {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  color: #d8d4cc;
  font: inherit;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 12px;
  cursor: pointer;
}

.detail-bar button:hover {
  border-color: rgba(255, 255, 255, 0.28);
  color: #f3efe6;
}

.detail-bar button:disabled {
  opacity: 0.4;
  cursor: wait;
}

#detail-label {
  flex: 1 1 140px;
  min-width: 0;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8a867c;
}

.detail-actions {
  display: flex;
  flex: 1 1 320px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
}

.detail-actions .clip-cycle button {
  padding: 8px 10px;
}

.detail-actions .clip-scrub input[type="range"] {
  width: min(160px, 28vw);
}

#detail-drop {
  color: #e4b4a8;
  border-color: rgba(228, 180, 168, 0.28);
}

#detail-note {
  padding: 10px 22px 0;
  font-size: 13px;
  color: #9a968c;
}

#detail-frame {
  flex: 1 1 0;
  width: 100%;
  min-height: 0;
  border: 0;
  background: #030406;
}
