@import url("https://fonts.googleapis.com/css2?family=Archivo+Black&family=Noto+Sans+JP:wght@500;700;800;900&display=swap");

:root {
  --paper: #eef2eb;
  --paper-warm: #f8f4eb;
  --card: #fffdf8;
  --ink: #17201d;
  --muted: #68736e;
  --line: #d7d9d0;
  --green: #10a77e;
  --green-soft: #dff5ec;
  --blue: #3e79ff;
  --blue-soft: #e5edff;
  --violet: #6f48ff;
  --violet-soft: #eee9ff;
  --coral: #f77359;
  --yellow: #f4c64f;
  --shadow: 0 24px 60px rgb(28 40 35 / 10%);
  font-family: "Noto Sans JP", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background:
    radial-gradient(circle at 8% 7%, rgb(62 121 255 / 9%), transparent 26rem),
    radial-gradient(circle at 94% 0%, rgb(247 115 89 / 13%), transparent 30rem),
    var(--paper);
}

body {
  min-width: 320px;
  margin: 0;
  background: transparent;
}

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

button,
input[type="range"],
input[type="checkbox"] {
  cursor: pointer;
}

code,
pre {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.page {
  width: min(1540px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 42px;
}

.hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  padding: 0 4px 24px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
  color: #087c5e;
  font-family: "Archivo Black", sans-serif;
  font-size: 11px;
  letter-spacing: .15em;
}

.eyebrow i {
  position: relative;
  width: 18px;
  height: 18px;
  border: 2px solid var(--green);
  border-radius: 50%;
}

.eyebrow i::before,
.eyebrow i::after {
  position: absolute;
  content: "";
}

.eyebrow i::before {
  top: 7px;
  left: -3px;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--green);
  transform: rotate(-18deg);
}

.eyebrow i::after {
  top: 3px;
  right: 1px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--paper-warm);
  box-shadow: 0 0 0 2px var(--green);
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-family: "Archivo Black", "Noto Sans JP", sans-serif;
  font-size: clamp(46px, 5.4vw, 86px);
  line-height: .98;
}

.lead {
  margin-top: 16px;
  color: var(--muted);
  font-size: clamp(15px, 1.6vw, 22px);
  font-weight: 900;
}

.lead code {
  color: var(--green);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 5px;
}

.support-chip,
.button,
.mini-button,
.text-button {
  border-radius: 13px;
  font-size: 11px;
  font-weight: 900;
}

.support-chip {
  padding: 14px 16px;
  border: 1px solid #a8dacb;
  color: #087c5e;
  background: var(--green-soft);
}

.button,
.mini-button {
  min-height: 44px;
  padding: 0 17px;
  border: 1px solid var(--line);
  background: white;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.button:hover,
.mini-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgb(23 32 29 / 10%);
}

.button--quiet {
  background: rgb(255 255 255 / 75%);
}

.button--dark {
  border-color: var(--ink);
  color: white;
  background: var(--ink);
}

.button--coral {
  border-color: var(--coral);
  color: white;
  background: var(--coral);
}

.studio {
  display: grid;
  grid-template-columns: minmax(420px, 530px) minmax(650px, 1fr);
  align-items: start;
  gap: 18px;
}

.control-panel,
.preview-card,
.output-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgb(255 253 248 / 94%);
  box-shadow: var(--shadow);
}

.control-panel {
  position: sticky;
  top: 16px;
}

.panel-head {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 78px;
  padding: 17px 20px;
  border-bottom: 1px solid var(--line);
}

.section-mark {
  display: grid;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
  color: white;
  background: var(--green);
  font-family: "Archivo Black", sans-serif;
  font-size: 11px;
}

.section-mark--blue {
  background: var(--blue);
}

.section-mark--coral {
  background: var(--coral);
}

.panel-head p,
.control-title span,
.live-value > span,
.metric-grid span {
  color: #087c5e;
  font-family: "Archivo Black", sans-serif;
  font-size: 8px;
  letter-spacing: .13em;
}

.panel-head h2 {
  margin-top: 2px;
  font-size: 18px;
  line-height: 1.25;
}

.control-section {
  padding: 21px 20px;
  border-bottom: 1px solid var(--line);
}

.control-section:last-child {
  border-bottom: 0;
}

.control-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.control-title h3 {
  margin-top: 4px;
  font-size: 15px;
}

.control-title output {
  color: #087c5e;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  font-weight: 900;
}

.text-button {
  padding: 3px 0;
  border: 0;
  color: var(--green);
  background: transparent;
}

.preset-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}

.preset-grid button {
  display: grid;
  min-width: 0;
  min-height: 78px;
  place-items: center;
  padding: 10px 3px 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.preset-grid button:hover {
  transform: translateY(-2px);
}

.preset-grid button[aria-pressed="true"] {
  border-color: var(--green);
  background: var(--green-soft);
}

.preset-grid span {
  margin-top: 7px;
  font-size: 9px;
  font-weight: 900;
}

.preset-icon {
  position: relative;
  display: block;
  width: 50px;
  height: 31px;
}

.preset-icon::before {
  position: absolute;
  inset: 4px 2px;
  border-top: 2px solid var(--ink);
  content: "";
}

.preset-icon b {
  position: absolute;
  right: 1px;
  width: 7px;
  height: 7px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
}

.preset-icon--arc::before {
  height: 24px;
  border: 2px solid transparent;
  border-top-color: var(--ink);
  border-radius: 50%;
  transform: rotate(-7deg);
}

.preset-icon--arc b {
  top: 3px;
}

.preset-icon--wave::before {
  inset: 10px 2px 0;
  border: 0;
  background:
    radial-gradient(22px 12px at 25% 100%, transparent 80%, var(--ink) 83% 89%, transparent 92%),
    radial-gradient(22px 12px at 75% 0, transparent 80%, var(--ink) 83% 89%, transparent 92%);
}

.preset-icon--wave b {
  right: 0;
  bottom: 5px;
}

.preset-icon--loop::before {
  inset: 1px 9px;
  border: 2px solid var(--ink);
  border-radius: 50%;
}

.preset-icon--loop b {
  top: 8px;
  right: 5px;
}

.preset-icon--jump::before {
  inset: 3px 2px;
  height: 25px;
  border: 2px solid transparent;
  border-top-color: var(--ink);
  border-radius: 50%;
}

.preset-icon--jump b {
  right: 0;
  bottom: 0;
}

.path-input {
  display: grid;
  gap: 6px;
}

.path-input span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 900;
}

.path-input textarea {
  width: 100%;
  resize: vertical;
  min-height: 72px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 13px;
  outline: none;
  color: var(--ink);
  background: white;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  line-height: 1.5;
}

.path-input textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgb(16 167 126 / 12%);
}

.import-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 9px;
}

.import-row p {
  max-width: 300px;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.55;
}

.import-row code {
  color: var(--green);
}

.mini-button {
  min-height: 34px;
  padding: 0 12px;
  white-space: nowrap;
  border-color: #a8dacb;
  color: #087c5e;
  background: var(--green-soft);
  font-size: 9px;
}

.mini-button--danger {
  border-color: #efc7bf;
  color: #a44432;
  background: #fff3f0;
}

.mini-button:disabled {
  cursor: not-allowed;
  opacity: .42;
  transform: none;
  box-shadow: none;
}

.point-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
}

.point-toolbar p {
  display: grid;
  gap: 3px;
}

.point-toolbar p span {
  color: #087c5e;
  font-family: "Archivo Black", sans-serif;
  font-size: 7px;
  letter-spacing: .12em;
}

.point-toolbar p strong {
  font-family: "Archivo Black", sans-serif;
  font-size: 14px;
}

.point-toolbar p small {
  color: var(--muted);
  font-size: 7px;
  font-weight: 800;
}

.point-toolbar > div {
  display: flex;
  gap: 6px;
}

.segmented,
.speed-switch {
  position: relative;
  isolation: isolate;
  display: grid;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #f0efe9;
}

.segmented {
  grid-template-columns: repeat(3, 1fr);
}

.segmented::before,
.speed-switch::before {
  position: absolute;
  z-index: -1;
  border-radius: 9px;
  background: white;
  box-shadow: 0 3px 10px rgb(23 32 29 / 8%);
  content: "";
  transition: left 220ms cubic-bezier(.22, 1, .36, 1), width 220ms cubic-bezier(.22, 1, .36, 1);
}

.segmented::before {
  top: 4px;
  bottom: 4px;
  left: calc(4px + (100% - 8px) / 3 * var(--active-index, 0));
  width: calc((100% - 8px) / 3);
}

.segmented button,
.speed-switch button {
  min-height: 34px;
  border: 0;
  border-radius: 9px;
  color: var(--muted);
  background: transparent;
  font-size: 9px;
  font-weight: 900;
}

.segmented button[aria-pressed="true"],
.speed-switch button[aria-pressed="true"] {
  color: var(--ink);
}

@supports (left: anchor(left)) {
  .rotate-switch button[aria-pressed="true"] {
    anchor-name: --rotate-active;
  }

  .easing-switch button[aria-pressed="true"] {
    anchor-name: --easing-active;
  }

  .speed-switch button[aria-pressed="true"] {
    anchor-name: --speed-active;
  }

  .rotate-switch::before {
    position-anchor: --rotate-active;
    top: anchor(top);
    left: anchor(left);
    width: anchor-size(width);
    height: anchor-size(height);
  }

  .easing-switch::before {
    position-anchor: --easing-active;
    top: anchor(top);
    left: anchor(left);
    width: anchor-size(width);
    height: anchor-size(height);
  }

  .speed-switch::before {
    position-anchor: --speed-active;
    top: anchor(top);
    left: anchor(left);
    width: anchor-size(width);
    height: anchor-size(height);
  }
}

.range-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 17px;
}

.range-block {
  margin-top: 16px;
}

.range-block[hidden] {
  display: none;
}

.range-block > div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.range-block label,
.range-block output {
  font-size: 9px;
  font-weight: 900;
}

.range-block output {
  color: var(--green);
  font-family: "SFMono-Regular", Consolas, monospace;
}

input[type="range"] {
  width: 100%;
  height: 4px;
  margin: 0;
  border-radius: 999px;
  appearance: none;
  background: linear-gradient(90deg, var(--green) var(--fill, 50%), #deded8 var(--fill, 50%));
}

input[type="range"]::-webkit-slider-thumb {
  width: 15px;
  height: 15px;
  border: 3px solid white;
  border-radius: 50%;
  appearance: none;
  background: var(--green);
  box-shadow: 0 1px 6px rgb(23 32 29 / 24%);
}

.toggle-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}

.toggle-list label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  padding: 10px 11px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: white;
}

.toggle-list span {
  display: grid;
  min-width: 0;
}

.toggle-list b {
  font-size: 9px;
}

.toggle-list small {
  overflow: hidden;
  margin-top: 2px;
  color: var(--muted);
  font-size: 6px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.toggle-list input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.toggle-list i {
  position: relative;
  flex: 0 0 auto;
  width: 37px;
  height: 22px;
  border-radius: 999px;
  background: #cfd3ce;
  transition: background-color 180ms ease;
}

.toggle-list i::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 2px 6px rgb(23 32 29 / 18%);
  content: "";
  transition: translate 220ms cubic-bezier(.22, 1, .36, 1);
}

.toggle-list input:checked + i {
  background: var(--green);
}

.toggle-list input:checked + i::after {
  translate: 15px 0;
}

.workspace {
  display: grid;
  gap: 18px;
}

.preview-head {
  min-height: 78px;
}

.preview-head > div:nth-child(2),
.output-head > div:nth-child(2) {
  min-width: 0;
}

.playback {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.speed-switch {
  grid-template-columns: 1fr 1fr;
  width: 102px;
}

.speed-switch::before {
  top: 4px;
  bottom: 4px;
  left: calc(4px + (100% - 8px) / 2 * var(--active-index, 0));
  width: calc((100% - 8px) / 2);
}

.path-stage {
  position: relative;
  height: clamp(360px, 35vw, 520px);
  overflow: hidden;
  margin: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(rgb(23 32 29 / 5%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(23 32 29 / 5%) 1px, transparent 1px),
    radial-gradient(circle at 55% 45%, rgb(16 167 126 / 8%), transparent 40%),
    #fff;
  background-size: 25px 25px, 25px 25px, auto, auto;
}

.path-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  touch-action: none;
}

.path-glow,
.motion-path {
  fill: none;
  vector-effect: non-scaling-stroke;
}

.path-glow {
  stroke: rgb(16 167 126 / 35%);
  stroke-width: 18;
  filter: url("#softGlow");
}

.motion-path {
  stroke: url("#pathGradient");
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 9 10;
}

.handle-lines line {
  stroke: rgb(111 72 255 / 42%);
  stroke-width: 2;
  stroke-dasharray: 6 7;
  vector-effect: non-scaling-stroke;
}

.handle {
  vector-effect: non-scaling-stroke;
  cursor: grab;
  transition: r 140ms ease;
}

.handle:hover,
.handle:focus-visible {
  r: 18;
  outline: none;
}

.handle:active {
  cursor: grabbing;
}

.handle--anchor {
  fill: white;
  stroke: var(--green);
  stroke-width: 6;
}

.handle--anchor.is-selected {
  fill: var(--yellow);
  stroke: var(--ink);
  stroke-width: 7;
}

.handle--control {
  fill: var(--violet-soft);
  stroke: var(--violet);
  stroke-width: 5;
}

.handle--control.is-linked {
  fill: #fff;
  stroke: var(--blue);
}

.motion-object,
.trail i {
  position: absolute;
  top: 0;
  left: 0;
  width: 64px;
  height: 42px;
  offset-distance: 0%;
  offset-rotate: auto;
  translate: -50% -50%;
}

.motion-object {
  z-index: 5;
  display: grid;
  place-items: center;
  border: 3px solid var(--ink);
  border-radius: 50% 52% 52% 50%;
  color: white;
  background: var(--coral);
  box-shadow: 8px 10px 0 rgb(23 32 29 / 13%);
}

.motion-object::after {
  position: absolute;
  right: -17px;
  width: 21px;
  height: 18px;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  background: var(--ink);
  content: "";
}

.motion-object i {
  position: absolute;
  left: -13px;
  width: 19px;
  height: 12px;
  border-radius: 50% 0 0 50%;
  background: var(--yellow);
}

.motion-object span {
  font-family: "Archivo Black", sans-serif;
  font-size: 8px;
}

.motion-object.is-running {
  animation: travel var(--motion-duration) var(--motion-easing) var(--motion-delay) 1 both;
}

@keyframes travel {
  from { offset-distance: 0%; }
  to { offset-distance: 100%; }
}

.trail {
  opacity: 1;
  transition: opacity 180ms ease;
}

.trail[hidden] {
  display: block;
  opacity: 0;
}

.trail i {
  z-index: 2;
  width: 34px;
  height: 22px;
  border: 2px solid var(--green);
  border-radius: 50%;
  background: rgb(223 245 236 / 65%);
  opacity: calc(var(--trail-opacity, .5));
}

.trail i:nth-child(1) { --trail-opacity: .18; }
.trail i:nth-child(2) { --trail-opacity: .25; }
.trail i:nth-child(3) { --trail-opacity: .34; }
.trail i:nth-child(4) { --trail-opacity: .44; }
.trail i:nth-child(5) { --trail-opacity: .55; }

.stage-label {
  position: absolute;
  bottom: 14px;
  color: var(--muted);
  font-family: "Archivo Black", sans-serif;
  font-size: 8px;
  letter-spacing: .12em;
}

.stage-label--start {
  left: 17px;
}

.stage-label--end {
  right: 17px;
}

.drag-note {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgb(255 255 255 / 82%);
  font-size: 8px;
  font-weight: 900;
  backdrop-filter: blur(8px);
}

.drag-note i {
  width: 8px;
  height: 8px;
  border: 2px solid var(--violet);
  border-radius: 50%;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 0 18px 18px;
}

.metric-grid > div {
  min-width: 0;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
}

.metric-grid strong {
  display: block;
  overflow: hidden;
  margin-top: 5px;
  font-family: "Archivo Black", sans-serif;
  font-size: 20px;
  text-overflow: ellipsis;
}

.metric-grid small {
  display: block;
  margin-top: 1px;
  color: var(--muted);
  font-size: 7px;
}

.output-card {
  color: white;
  border-color: var(--ink);
  background: #101714;
}

.output-head {
  border-bottom-color: rgb(255 255 255 / 12%);
}

.output-head .panel-head {
  border-bottom-color: rgb(255 255 255 / 12%);
}

.output-head .panel-head p,
.output-head p {
  color: var(--coral);
}

.output-head .button {
  margin-left: auto;
}

.output-body {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(210px, .7fr);
  gap: 12px;
  padding: 14px;
}

.output-body pre {
  height: 265px;
  overflow: auto;
  margin: 0;
  padding: 18px;
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 15px;
  color: #e7f2ed;
  background: #070b09;
  font-size: 11px;
  line-height: 1.65;
  white-space: pre-wrap;
}

.live-value {
  min-width: 0;
  padding: 18px;
  border: 1px solid rgb(111 72 255 / 50%);
  border-radius: 15px;
  background: rgb(111 72 255 / 13%);
}

.live-value > span {
  color: #a990ff;
}

.live-value strong {
  display: block;
  margin-top: 18px;
  font-family: "Archivo Black", sans-serif;
  font-size: 17px;
}

.live-value code {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 11px;
  color: #dcd4ff;
  font-size: 10px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
}

.live-value p {
  margin-top: 18px;
  color: #a8b2ad;
  font-size: 9px;
  line-height: 1.7;
}

.toast {
  position: fixed;
  z-index: 20;
  right: 24px;
  bottom: 24px;
  translate: 0 18px;
  padding: 12px 16px;
  border-radius: 12px;
  color: white;
  background: var(--ink);
  box-shadow: 0 14px 30px rgb(23 32 29 / 23%);
  font-size: 11px;
  font-weight: 900;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, translate 180ms ease;
}

.toast.is-visible {
  translate: 0;
  opacity: 1;
}

@media (max-width: 1150px) {
  .page {
    width: min(960px, calc(100% - 28px));
  }

  .hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .studio {
    grid-template-columns: 1fr;
  }

  .control-panel {
    position: static;
  }
}

@media (max-width: 700px) {
  .page {
    width: min(100% - 18px, 620px);
    padding-top: 18px;
  }

  .hero {
    gap: 18px;
    padding-inline: 4px;
  }

  h1 {
    font-size: clamp(38px, 12vw, 58px);
  }

  .lead {
    font-size: 14px;
  }

  .hero-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .support-chip {
    width: 100%;
    text-align: center;
  }

  .hero-actions .button {
    flex: 1;
  }

  .control-panel,
  .preview-card,
  .output-card {
    border-radius: 19px;
  }

  .panel-head {
    min-height: 70px;
    padding: 14px;
  }

  .panel-head h2 {
    font-size: 15px;
  }

  .section-mark {
    width: 38px;
    height: 38px;
  }

  .control-section {
    padding: 18px 14px;
  }

  .preset-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .import-row {
    align-items: stretch;
    flex-direction: column;
  }

  .point-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .point-toolbar > div {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .mini-button {
    width: 100%;
  }

  .range-pair,
  .toggle-list {
    grid-template-columns: 1fr;
  }

  .preview-head {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .playback {
    width: 100%;
    margin-left: 50px;
  }

  .playback .button {
    flex: 1;
  }

  .path-stage {
    height: 330px;
    margin: 10px;
  }

  .motion-object {
    width: 54px;
    height: 36px;
  }

  .metric-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 10px 10px;
  }

  .output-head {
    flex-wrap: wrap;
  }

  .output-head .button {
    width: 100%;
    margin-left: 50px;
  }

  .output-body {
    grid-template-columns: 1fr;
  }

  .output-body pre {
    height: 235px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
