.ds {
  padding-top: 64px;
  padding-bottom: 64px;
}
.ds-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 40px;
}
.ds-heading h1 {
  font-size: clamp(40px, 5vw, 62px);
  line-height: 1.05;
  letter-spacing: -0.05em;
  font-weight: 560;
  margin: 12px 0 18px;
}
.ds-heading h1 span {
  color: var(--accent);
}
.ds-lede {
  color: var(--ink-2);
  font-size: 18px;
}
.ds button,
.ds input,
.ds select {
  font: inherit;
}
.ds button {
  cursor: pointer;
}
.ds button:disabled {
  opacity: 0.5;
  cursor: default;
}
.ds button:focus-visible,
.ds input:focus-visible,
.ds select:focus-visible,
.ds a:focus-visible,
.ds summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}
.ds-button,
.ds-icon {
  border: 1px solid var(--rule);
  background: var(--paper);
  color: var(--ink);
  border-radius: 7px;
  min-height: 44px;
  padding: 10px 16px;
  font-size: 13px !important;
}
.ds-primary {
  background: var(--dot-indigo);
  color: var(--dot-white);
  border-color: var(--dot-indigo);
  display: flex;
  gap: 28px;
  align-items: center;
}
.ds-button:hover {
  border-color: var(--accent);
}
.ds-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 238px;
  gap: 32px;
}
.ds-theatre {
  border: 1px solid var(--rule);
  border-radius: 12px;
  overflow: hidden;
}
.ds-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 20px;
  height: 56px;
  font-size: 12px;
  border-bottom: 1px solid var(--rule);
}
.ds-bar span:last-child {
  color: var(--ink-2);
  font-size: 11px;
}
.ds-stage {
  background: var(--paper-2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 480px;
  padding: 0 12px 28px;
}
.ds-art-wrap {
  width: min(100%, 400px);
  aspect-ratio: 1;
  position: relative;
}
.ds-art-wrap > svg {
  width: 100%;
  height: 100%;
  display: block;
}
#ds-touch {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 52.63%;
  aspect-ratio: 1;
  border: 0;
  border-radius: 50%;
  background: transparent;
  transform: translate(-50%, -50%);
  touch-action: none;
  min-width: 44px;
  min-height: 44px;
  cursor: grab;
}
#ds-touch:active {
  cursor: grabbing;
}
.ds-guide {
  position: absolute;
  inset: 10%;
  border: 1px dashed var(--graphite);
  border-radius: 50%;
  pointer-events: none;
}
.ds-caption {
  text-align: center;
}
.ds-caption h2 {
  font-size: 15px;
  margin: 0 0 12px;
}
.ds-caption p {
  font-size: 13px;
  color: var(--ink-2);
  margin: 0 0 22px;
}
.ds-caption small {
  font-size: 11px;
  color: var(--ink-2);
}
.ds-transport {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-top: 1px solid var(--rule);
}
.ds-icon {
  width: 44px;
  padding: 0;
  flex-shrink: 0;
  font-size: 18px !important;
}
#ds-play {
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  border: 0;
}
#ds-frame {
  height: 44px;
  min-width: 0;
  flex: 1;
  accent-color: var(--accent);
  cursor: pointer;
}
#ds-time {
  font: 11px var(--mono);
  color: var(--ink-2);
  white-space: nowrap;
}
.ds-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}
.ds-section-head h2 {
  font-size: 24px;
  letter-spacing: -0.035em;
  font-weight: 550;
  line-height: 1.2;
}
.ds-section-head p {
  font-size: 13px;
  color: var(--ink-2);
  margin-top: 10px;
}
.ds-section-head > span {
  font-size: 11px;
  color: var(--ink-2);
  white-space: nowrap;
}
.ds-moods .ds-section-head h2 {
  font-size: 13px;
  letter-spacing: -0.015em;
}
.ds-moods .ds-section-head {
  gap: 8px;
  margin: 0 0 12px;
}
.ds-moods .ds-section-head span {
  font-size: 10px;
}
#ds-filter {
  width: 100%;
  height: 44px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule);
  font-size: 12px;
  margin-bottom: 8px;
  color: var(--ink);
}
.ds-mood {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 44px;
  padding: 4px 7px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  text-align: left;
  color: var(--ink);
}
.ds-mood svg {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}
.ds-mood strong {
  display: block;
  font-size: 12px;
  font-weight: 500;
}
.ds-mood small {
  display: block;
  font-size: 10px;
  color: var(--ink-2);
  margin-top: 3px;
}
.ds-mood:hover {
  background: var(--paper-2);
}
.ds-mood[aria-pressed="true"] {
  background: var(--accent-soft);
  border-color: var(--accent-line);
}
.ds-selected {
  margin-left: auto;
  color: var(--accent);
  visibility: hidden;
}
.ds-mood[aria-pressed="true"] .ds-selected {
  visibility: visible;
}
.ds-aside-note {
  font-size: 11px;
  color: var(--ink-2);
  line-height: 1.7;
  margin-top: 24px;
}
.ds-moments,
.ds-film {
  margin-top: 56px;
}
.ds-performances {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}
.ds-performance {
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: var(--paper-2);
  padding: 12px;
  color: var(--ink);
  text-align: left;
  min-width: 0;
}
.ds-performance:hover,
.ds-performance[aria-pressed="true"] {
  border-color: var(--accent);
}
.ds-performance svg {
  display: block;
  width: 100%;
  height: auto;
}
.ds-performance > span {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  font-size: 11px;
  line-height: 1.4;
}
.ds-performance > span span {
  color: var(--ink-2);
}
.ds-inspector {
  margin-top: 40px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 18px 0;
}
.ds-inspector summary {
  cursor: pointer;
  min-height: 44px;
  align-content: center;
  font-size: 15px;
  font-weight: 550;
}
.ds-inspector summary span {
  font-size: 12px;
  font-weight: 400;
  color: var(--ink-2);
  margin-left: 24px;
}
.ds-inspector-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  padding: 28px 0;
}
.ds-inspector fieldset {
  border: 0;
  padding: 0;
  min-width: 0;
}
.ds-inspector legend {
  font-size: 13px;
  font-weight: 550;
  margin-bottom: 16px;
}
.ds-inspector label {
  display: block;
  font-size: 12px;
  color: var(--ink-2);
}
.ds-inspector select {
  display: block;
  width: 100%;
  margin: 6px 0 12px;
  min-height: 44px;
  border: 1px solid var(--rule);
  border-radius: 5px;
  background: var(--paper);
  color: var(--ink);
  padding: 8px;
}
.ds-check {
  display: flex !important;
  align-items: center;
  gap: 8px;
  min-height: 44px;
}
.ds-check input {
  accent-color: var(--accent);
}
.ds-row {
  display: flex;
  gap: 8px;
  align-items: end;
  margin-top: 12px;
}
.ds-row select {
  margin-bottom: 0;
}
.ds-row label {
  flex: 1;
}
.ds-link {
  border: 0;
  padding: 8px 0;
  min-height: 44px;
  background: transparent;
  color: var(--accent);
  font-size: 12px !important;
  text-align: left;
}
.ds-reactions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 12px;
  text-transform: capitalize;
}
.ds-reactions button {
  text-transform: capitalize;
}
.ds-inspector .ds-button {
  margin: 0 6px 10px 0;
}
#ds-count {
  font: 14px var(--mono);
}
#ds-export-status,
#ds-download,
#ds-empty {
  font-size: 12px;
  line-height: 1.6;
}
#ds-download {
  color: var(--accent);
  text-decoration: underline;
}
.ds-film video {
  display: block;
  width: 100%;
  max-height: 620px;
  object-fit: contain;
  background: var(--dot-film-paper);
  border: 1px solid var(--rule);
  border-radius: 12px;
}
.ds-downloads {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.ds-downloads a {
  display: block;
  padding: 24px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 14px;
  color: var(--ink);
}
.ds-downloads span {
  display: block;
  font-size: 12px;
  color: var(--ink-2);
  margin-top: 7px;
}
.ds [hidden] {
  display: none !important;
}
@media (max-width: 800px) {
  .ds-workspace {
    grid-template-columns: minmax(0, 1fr) 210px;
    gap: 20px;
  }
  .ds-bar span:last-child {
    display: none;
  }
  .ds-stage {
    min-height: 410px;
  }
  .ds-inspector-grid {
    grid-template-columns: 1fr 1fr;
  }
  .ds-performances {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .ds-performance svg {
    max-height: 150px;
  }
}
@media (max-width: 600px) {
  .ds {
    padding-top: 32px;
  }
  .ds-heading {
    display: block;
    margin-bottom: 28px;
  }
  .ds-heading .ds-primary {
    margin-top: 24px;
    width: 100%;
    justify-content: space-between;
  }
  .ds-workspace {
    display: block;
  }
  .ds-stage {
    min-height: 370px;
  }
  .ds-art-wrap {
    max-width: 300px;
  }
  .ds-caption p {
    margin-bottom: 16px;
  }
  .ds-moods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 10px;
    margin-top: 28px;
  }
  .ds-moods .ds-section-head,
  #ds-filter,
  #ds-empty,
  .ds-aside-note {
    grid-column: 1/-1;
  }
  .ds-mood {
    min-height: 51px;
  }
  .ds-section-head h2 {
    font-size: 21px;
  }
  .ds-section-head > span {
    white-space: normal;
    text-align: right;
  }
  .ds-aside-note {
    margin-top: 12px;
  }
  .ds-moments,
  .ds-film {
    margin-top: 40px;
  }
  .ds-inspector summary span {
    display: block;
    margin: 8px 0 0 18px;
    line-height: 1.5;
  }
  .ds-inspector-grid {
    gap: 24px 16px;
  }
  .ds-downloads {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .ds-transport {
    gap: 6px;
    padding: 8px;
  }
  .ds-performance {
    padding: 8px;
  }
  .ds-performance > span {
    font-size: 10px;
  }
  .ds-section-head {
    gap: 12px;
  }
}

.ds-story {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(0, 2fr);
  gap: 32px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--rule);
}
.ds-story h2 {
  font-size: 24px;
  font-weight: 550;
  line-height: 1.2;
  letter-spacing: -0.035em;
}
.ds-story p {
  max-width: 60ch;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 16px;
}
.ds-story .ds-story-lead {
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 24px;
}
.ds-story p:last-child {
  margin-bottom: 0;
}
@media (max-width: 600px) {
  .ds-story {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 40px;
    padding-top: 28px;
  }
  .ds-story h2 {
    font-size: 21px;
  }
}

.ds-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
