@font-face {
  font-family: Roboto;
  src: url("../fonts/Roboto-VariableFont_wdth,wght.ttf") format("truetype");
  font-weight: 100 900;
  font-stretch: 75% 100%;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  /* color/color_theme.ase — My Color Theme */
  --lavender: #b29ec9;
  --mint: #6fc98a;
  --sand: #78cc4e;
  --purple: #3f0f75;
  --forest: #0d4a1f;
  --bg: #ffffff;
  --panel: #ffffff;
  --text: var(--purple);
  --muted: var(--forest);
  --line: var(--lavender);
  --surface-soft: color-mix(in srgb, var(--sand) 34%, white);
  --surface-hover: color-mix(in srgb, var(--lavender) 34%, white);
  --primary-hover: color-mix(in srgb, var(--purple) 80%, var(--mint));
  --strong-hover: color-mix(in srgb, var(--forest) 75%, var(--mint));
  --shadow: 0 14px 38px color-mix(in srgb, var(--purple) 12%, transparent);
}

* {
  box-sizing: border-box;
}

html {
  overflow-y: auto;
  scrollbar-gutter: stable;
  background: #fff;
}

html.is-editing #view {
  display: none;
}

html.is-editing #editor {
  display: block;
}

body {
  margin: 0;
  min-height: 100vh;
  position: relative;
  z-index: 0;
  font-family: Roboto, system-ui, sans-serif;
  background: transparent;
  color: var(--text);
}

body::before {
  content: "";
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to bottom, rgb(255 255 255 / 1) 0%, rgb(255 255 255 / 0) 50%),
    url("../images/gras.jpg");
  background-repeat: no-repeat;
  background-size: 100% 100%, cover;
  background-position: center top, center;
}

.taskbar {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 65px;
  box-sizing: border-box;
  background: rgb(255 255 255 / var(--taskbar-wash, 0));
  border-bottom: 1px solid var(--lavender);
}

.taskbar-row {
  max-width: 1180px;
  height: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
}

.taskbar-end {
  margin-left: auto;
}

.taskbar-group {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
}

.taskbar-sep {
  width: 1px;
  height: 24px;
  align-self: center;
  margin: 0 2px;
  background: var(--lavender);
}

.taskbar button,
.taskbar a.btn {
  height: 40px;
  padding: 0 12px;
  white-space: nowrap;
}

html.is-editing .taskbar-view,
html:not(.is-editing) .taskbar-editor {
  display: none;
}

main {
  max-width: 1180px;
  margin: auto;
  padding: 24px;
}

.logo-bar {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 20px 8px;
}

.lang-switch {
  position: absolute;
  top: 8px;
  right: 16px;
  display: flex;
  gap: 4px;
}

.lang-switch button {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  padding: 0;
  border-radius: 50%;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}

.lang-switch button[aria-pressed="true"],
.lang-switch button[aria-pressed="true"]:hover {
  background: var(--purple);
  border-color: var(--purple);
  color: white;
}

.logo {
  display: block;
  width: min(189px, 100%);
  height: auto;
  aspect-ratio: 727.4 / 153.9;
}

#view > header,
#editor > header {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

#editorKickerLine:empty {
  display: none;
}

h1 {
  margin: 0 0 8px;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  line-height: 1.1;
  font-weight: 900;
  text-transform: uppercase;
}

p {
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

.formation {
  border: none;
  border-radius: 12px;
  padding: 10px 14px;
  color: var(--purple);
  background: #fff;
  white-space: nowrap;
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 18px;
  align-items: start;
}

#view .layout {
  align-items: stretch;
}

#view .pitch-card {
  align-self: start;
}

#view .layout.is-full-width {
  grid-template-columns: minmax(0, 1fr);
}

.pitch-card,
.side-card {
  background: var(--panel);
  border: none;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.pitch-card {
  position: relative;
  overflow: hidden;
}

.sketch {
  position: absolute;
  pointer-events: none;
  touch-action: none;
}

.sketch.is-active {
  pointer-events: auto;
  cursor: crosshair;
}

#sketchToggle[aria-pressed="true"] {
  background: var(--purple);
  border-color: var(--purple);
  color: white;
}

.taskbar-group > * {
  flex-shrink: 0;
}

.sketch-color {
  position: relative;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  display: block;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--lavender);
}

.sketch-color::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--sketch-swatch, #ffd500);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.sketch-color input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-width: 0;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  cursor: pointer;
}

.sketch-color input:focus-visible {
  outline: none;
}

.sketch-color:focus-within {
  outline: 2px solid var(--purple);
  outline-offset: 2px;
}

.side-card {
  overflow: auto;
}

#view .side-card {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  overflow: visible;
}

.side-notes {
  margin-top: auto;
}

.pitch-wrap {
  padding: 12px;
  user-select: none;
}

a.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  border: 1px solid var(--lavender);
  background: white;
  color: var(--purple);
  padding: 10px 14px;
  border-radius: 999px;
  font: inherit;
  cursor: pointer;
}

a.btn:hover {
  background: var(--surface-hover);
}

a.btn.primary {
  background: var(--purple);
  border-color: var(--purple);
  color: white;
}

a.btn.primary:hover {
  background: var(--primary-hover);
}

svg {
  display: block;
}

#pitch {
  width: 100%;
  height: auto;
  border-radius: 10px;
  background: #267b3d;
}

.icon,
.icon-sprite {
  background: transparent;
  border-radius: 0;
}

.controls {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  padding: 14px;
  border-top: 1px solid var(--lavender);
}

.speed {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--forest);
  font-size: 0.85rem;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--lavender);
  background: white;
  color: var(--purple);
  padding: 10px 14px;
  border-radius: 999px;
  font: inherit;
  cursor: pointer;
}

button:hover {
  background: var(--surface-hover);
}

button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

#play {
  width: 148px;
  flex: 0 0 148px;
  white-space: nowrap;
}

#play .icon-pause,
#play.is-playing .icon-play {
  display: none;
}

#play.is-playing .icon-pause {
  display: block;
}

.primary {
  background: var(--purple);
  border-color: var(--purple);
  color: white;
}

.primary:hover {
  background: var(--primary-hover);
  color: white;
}

.danger {
  background: var(--forest);
  border-color: var(--forest);
  color: white;
}

.danger:hover {
  background: var(--strong-hover);
  color: white;
}

.step-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
}

.step-transport {
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

#viewFullWidth {
  grid-column: 3;
  justify-self: end;
}

.full-width-toggle .icon-scale-in,
.full-width-toggle[aria-pressed="true"] .icon-scale-out {
  display: none;
}

.full-width-toggle[aria-pressed="true"] .icon-scale-in {
  display: block;
}

.step-row .icon-button {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  padding: 0;
  border-radius: 50%;
}

#pitchPlay .icon-pause,
#pitchPlay.is-playing .icon-play {
  display: none;
}

#pitchPlay.is-playing .icon-pause {
  display: block;
}

.step-count {
  margin: 0;
  color: var(--forest);
  font-variant-numeric: tabular-nums;
  text-align: center;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--mint);
}

.side-card {
  padding: 18px;
}

.kicker {
  text-transform: uppercase;
  color: var(--forest);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  font-weight: 800;
}

h2 {
  font-size: 1.25rem;
  margin: 8px 0 10px;
}

.description {
  min-height: 105px;
  color: var(--purple);
  line-height: 1.55;
}

.legend {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 14px;
}

.pitch-card .legend {
  justify-content: center;
  flex-wrap: wrap;
  margin: 0;
  padding: 0 14px 14px;
}

.dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: -1px;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--purple) 28%, transparent);
}

.note {
  margin-top: 16px;
  padding: 12px;
  background: var(--surface-soft);
  border-radius: 10px;
  color: var(--purple);
  font-size: 0.9rem;
  line-height: 1.5;
}

.key {
  display: inline-block;
  border: 1px solid var(--lavender);
  border-radius: 5px;
  padding: 1px 6px;
  font-size: 0.8rem;
  color: var(--purple);
  background: white;
}

.editor-layout {
  grid-template-columns: minmax(0, 1fr) 380px;
}

.editor-layout.is-full-width {
  grid-template-columns: minmax(0, 1fr);
}

.editor-layout.is-full-width .editor-form {
  max-height: none;
}

.editor-form {
  max-height: calc(100vh - 150px);
  overflow-anchor: none;
}

.editor-form details:not([open]) > :not(summary) {
  display: none;
}

.editor-form .fold + .fold {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--lavender);
}

.editor-form summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 8px 0;
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.editor-form summary::-webkit-details-marker {
  display: none;
}

.editor-form summary::after {
  content: "";
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--forest);
  border-bottom: 2px solid var(--forest);
  transform: translateY(-2px) rotate(45deg);
  flex: none;
}

.editor-form details[open] summary::after {
  transform: translateY(2px) rotate(-135deg);
}

.editor-form summary:focus-visible {
  outline: 2px solid var(--mint);
  border-radius: 6px;
}

.fold-status {
  margin: 0;
  color: var(--forest);
  font-size: 0.85rem;
  font-weight: 700;
}

.editor-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.85rem;
}

.editor-form input,
.editor-form textarea {
  width: 100%;
  border: 1px solid var(--lavender);
  background: white;
  color: var(--purple);
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  resize: vertical;
}

.player-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.player-group {
  flex: 1 0 100%;
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.player-list button {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  padding: 0;
  border-radius: 50%;
  border-width: 3px;
  font-size: 0.8rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: white;
  line-height: 1;
  background: var(--player-fill);
}

.player-list button.active {
  outline: 2px solid var(--purple);
  outline-offset: 2px;
}

.player-list button.is-hidden {
  position: relative;
  overflow: hidden;
  background: color-mix(in srgb, var(--player-fill) 60%, transparent);
}

.player-list button.is-hidden::after {
  content: "";
  position: absolute;
  inset: -3px;
  transform: rotate(45deg);
  background:
    linear-gradient(#fff, #fff) center / 2px 100% no-repeat,
    linear-gradient(#fff, #fff) center / 100% 2px no-repeat;
  pointer-events: none;
}

.team-colors {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.team-colors label {
  margin-top: 8px;
}

.editor-form input[type="color"] {
  height: 42px;
  padding: 4px;
  cursor: pointer;
}

.editor-form input[type="range"] {
  padding: 0;
  border: 0;
  background: transparent;
  height: auto;
}

.label-row {
  display: flex;
  justify-content: space-between;
}

.speed-graph {
  margin-top: 12px;
}

.speed-graph .label-row {
  color: var(--muted);
  font-size: 0.85rem;
}

.speed-graph svg {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 6px;
  touch-action: none;
  user-select: none;
}

.speed-plot {
  fill: #fff;
  stroke: var(--lavender);
  stroke-width: 1.5;
}

.speed-linear {
  stroke: var(--lavender);
  stroke-width: 1.5;
  stroke-dasharray: 5 4;
  pointer-events: none;
}

.speed-arm {
  stroke: var(--mint);
  stroke-width: 1.5;
  pointer-events: none;
}

.speed-curve {
  fill: none;
  stroke: var(--purple);
  stroke-width: 2.5;
  stroke-linecap: round;
  pointer-events: none;
}

.speed-end {
  fill: var(--forest);
  pointer-events: none;
}

.speed-tick {
  fill: var(--forest);
  font-family: Roboto, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  pointer-events: none;
}

.speed-handle {
  fill: #fff;
  stroke: var(--purple);
  stroke-width: 2;
  cursor: grab;
}

.speed-handle.is-active,
.speed-handle:active {
  cursor: grabbing;
  fill: var(--mint);
}

.speed-graph.is-disabled .label-row,
.speed-graph.is-disabled svg,
.speed-graph.is-disabled .hint {
  opacity: 0.5;
}

.speed-graph.is-disabled svg {
  pointer-events: none;
}

.speed-graph.is-disabled .speed-handle {
  cursor: default;
}

.speed-graph .hint {
  margin: 8px 0 0;
}

.reset-colors {
  width: 100%;
  margin-top: 12px;
}

.editor-form input:focus,
.editor-form textarea:focus {
  outline: 2px solid var(--mint);
  border-color: var(--mint);
}

.editor-form .check {
  flex-direction: row;
  align-items: center;
  color: var(--text);
  font-size: 0.95rem;
}

.editor-form .section-line {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--lavender);
}

.editor-form .section-line > .reset-colors {
  margin-top: 0;
}

.editor-form .check input {
  width: auto;
  padding: 0;
  accent-color: var(--mint);
}

.pulse-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}

.pulse-row .check,
.editor-form .pulse-speed {
  margin-top: 0;
}

.editor-form .pulse-speed {
  flex: 1;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: var(--text);
}

.pulse-speed input[type="range"] {
  flex: 1;
  width: auto;
  min-width: 0;
}

.pulse-speed span {
  font-variant-numeric: tabular-nums;
  min-width: 3.2em;
  text-align: right;
}

.field-part {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--lavender);
}

.field-part > .check,
.field-part > .row-actions {
  margin-top: 0;
}

.field-part > .hint {
  margin: 8px 0 0;
}

.pylon-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.pylon-row .check,
.pylon-row .pylon-color {
  margin-top: 0;
}

.pylon-row .pylon-color {
  flex-direction: row;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding-left: 14px;
  border-left: 1px solid var(--lavender);
  white-space: nowrap;
}

.pylon-row .pylon-color input {
  width: 48px;
  height: 36px;
  padding: 3px;
}

.hint {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.row-actions button {
  flex: 1 1 auto;
}

.step-switcher {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  padding: 14px;
  border-top: 1px solid var(--lavender);
}

.step-knob {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex: 0 0 auto;
}

.step-link {
  position: relative;
  width: 64px;
  height: 44px;
  flex: 0 0 64px;
}

.step-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  margin-top: -0.5px;
  background: var(--lavender);
}

.step-progress {
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 3px;
  margin-top: -1.5px;
  border-radius: 1.5px;
  background: var(--purple);
  transform: scaleX(0);
  transform-origin: left center;
  pointer-events: none;
}

.step-tab {
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  flex: 0 0 44px;
  overflow: hidden;
  touch-action: none;
  user-select: none;
}

.step-knob-index {
  position: relative;
  z-index: 1;
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}

.step-knob-mark {
  position: absolute;
  left: 50%;
  top: 4px;
  width: 3px;
  height: 7px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: currentColor;
  transform-origin: 50% 18px;
  pointer-events: none;
}

.step-tab.is-locked .step-knob-mark {
  opacity: 0.4;
}

.step-tab.is-dragging {
  cursor: ns-resize;
}

.step-tab[aria-pressed="true"] {
  background: var(--purple);
  border-color: var(--purple);
  color: white;
}

.step-duration {
  position: absolute;
  left: 50%;
  bottom: calc(50% + 6px);
  transform: translateX(-50%);
  color: var(--forest);
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
}

.editor-playback {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  padding: 14px;
  border-top: 1px solid var(--lavender);
}

.playback-controls {
  grid-column: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

#editorFullWidth {
  grid-column: 3;
  justify-self: end;
  width: 40px;
  padding: 0;
  border-radius: 50%;
}

.editor-playback button {
  height: 40px;
  padding: 0 12px;
  white-space: nowrap;
}

#editorRewind {
  width: 40px;
  flex: 0 0 40px;
  padding: 0;
  border-radius: 50%;
}

#editorPlay {
  width: 148px;
  flex: 0 0 148px;
  white-space: nowrap;
}

#editorPlay .icon-pause,
#editorPlay.is-playing .icon-play {
  display: none;
}

#editorPlay.is-playing .icon-pause {
  display: block;
}

.arrow-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.arrow-list li:not(.hint) {
  display: flex;
  align-items: center;
  gap: 8px;
}

.arrow-list .arrow-select {
  flex: 1;
  text-align: left;
}

.arrow-list .arrow-select.active {
  background: var(--purple);
  border-color: var(--purple);
  color: white;
}

.arrow-list .arrow-delete {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  padding: 0;
}

html.is-editing svg {
  touch-action: none;
}

html.is-editing #players g,
html.is-editing #ball,
html.is-editing #pylons .pylon,
html.is-editing #pylons .pylon-hit,
html.is-editing #zones rect,
html.is-editing #handles circle,
html.is-editing #handles rect,
html.is-editing #paths line,
html.is-editing #miniGoals .mini-goal,
html.is-editing #miniGoals .mini-goal-hit {
  cursor: grab;
}

html.is-editing #miniGoals .mini-goal-rotate,
html.is-editing #miniGoals .mini-goal-rotate * {
  cursor: pointer;
}

@media (max-width: 800px) {
  .logo {
    width: min(132px, 100%);
  }

  main {
    padding: 14px;
  }

  .layout,
  .editor-layout {
    grid-template-columns: 1fr;
  }

  .description {
    min-height: 0;
  }

  .taskbar-row {
    padding: 0 8px;
    gap: 4px;
    overflow: hidden;
  }

  .taskbar-group {
    display: contents;
  }

  .taskbar-end {
    margin-left: 0;
  }

  .taskbar-group > * {
    flex-shrink: 1;
  }

  .taskbar button,
  .taskbar a.btn,
  .taskbar .sketch-color {
    flex: 1 1 0;
    min-width: 0;
    max-width: 40px;
    width: auto;
    height: auto;
    aspect-ratio: 1;
    max-height: 40px;
    padding: 0;
  }

  #play {
    width: auto;
    flex: 1 1 0;
  }

  .taskbar .icon {
    width: clamp(14px, 4.2vw, 18px);
    height: clamp(14px, 4.2vw, 18px);
  }

  .taskbar-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .taskbar .sketch-color input {
    width: 100%;
    height: 100%;
    min-width: 0;
    max-width: none;
  }

  .editor-form {
    max-height: none;
  }

  .editor-playback .playback-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .editor-playback {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .playback-controls {
    grid-column: auto;
  }

  #editorFullWidth,
  #viewFullWidth {
    display: none;
  }

  #view .step-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .step-transport {
    grid-column: auto;
  }

  .playback-controls button,
  #editorPlay {
    flex: 0 0 40px;
    width: 40px;
    max-width: 40px;
    height: 40px;
    max-height: 40px;
    aspect-ratio: 1;
    padding: 0;
  }

  .editor-playback .icon {
    width: clamp(14px, 4.2vw, 18px);
    height: clamp(14px, 4.2vw, 18px);
  }
}
