:root {
  color-scheme: dark;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: #0d6e97;
  color: #f4fbff;
}

* {
  box-sizing: border-box;
}

html,
body,
#app {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
}

#app {
  position: relative;
  background: linear-gradient(180deg, #0e789d 0%, #22a6dc 48%, #0b6388 100%);
}

#scene {
  display: block;
  width: 100%;
  height: 100%;
  cursor: grab;
}

#scene.is-dragging {
  cursor: grabbing;
}

.hud {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 10px 18px;
  border-top: 1px solid rgba(230, 248, 255, 0.18);
  background: rgba(5, 78, 112, 0.78);
  box-shadow: 0 -16px 34px rgba(0, 38, 57, 0.24);
  backdrop-filter: blur(12px);
}

.transport {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  gap: 14px;
  min-width: 0;
}

button,
select,
input {
  font: inherit;
}

button,
select {
  height: 36px;
  border: 0;
  background: transparent;
  color: #f7fbff;
}

.icon-button {
  display: grid;
  flex: 0 0 32px;
  width: 32px;
  min-width: 32px;
  padding: 0;
  cursor: pointer;
  place-items: center;
}

button:disabled,
select:disabled,
input:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

label {
  display: flex;
  align-items: center;
  color: #e8f7ff;
  font-size: 12px;
}

.timeline-label {
  flex: 1 1 auto;
  min-width: 80px;
}

.clip-label {
  flex: 0 1 auto;
}

select {
  max-width: min(260px, 26vw);
  padding: 0 24px 0 8px;
  color: #f7fbff;
  font-size: 16px;
  font-weight: 650;
}

select option {
  background: #34313b;
  color: #f7f5f8;
  font-weight: 650;
}

select option:checked {
  background: #55535c;
  color: #ffffff;
}

input[type="range"] {
  width: 100%;
  cursor: pointer;
  accent-color: #ffa65c;
}

.play-icon {
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 13px solid #f7fbff;
  transform: translateX(2px);
}

.pause-icon {
  width: 14px;
  height: 17px;
  border-right: 5px solid #f7fbff;
  border-left: 5px solid #f7fbff;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

@media (max-width: 720px) {
  .hud {
    padding: 10px 12px;
  }

  .transport {
    gap: 10px;
  }

  .clip-label {
    flex: 0 1 130px;
  }

  select {
    max-width: 130px;
    font-size: 14px;
  }
}
