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

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
}

button,
input,
select {
  font: inherit;
}

.shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(84, 204, 150, 0.16), transparent 42%),
    linear-gradient(315deg, rgba(240, 190, 70, 0.14), transparent 48%),
    #131615;
}

.panel {
  width: min(100%, 560px);
  display: grid;
  gap: 18px;
  padding: 22px;
  border: 1px solid rgba(237, 243, 239, 0.14);
  border-radius: 8px;
  background: rgba(22, 26, 25, 0.92);
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.28);
}

.eyebrow {
  margin: 0 0 4px;
  font-size: 0.76rem;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #83d7ad;
}

h1 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  line-height: 1.02;
}

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

.track-settings {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

button,
input[type="text"],
select {
  min-height: 42px;
  border: 1px solid rgba(237, 243, 239, 0.18);
  border-radius: 6px;
  background: #edf3ef;
  color: #121614;
}

input[type="text"] {
  width: 100%;
  padding: 0 10px;
}

button:hover {
  background: #83d7ad;
}

label {
  display: grid;
  gap: 8px;
  font-size: 0.95rem;
  color: #c9d6cf;
}

.hint {
  margin: -8px 0 0;
  color: #aebbb4;
  font-size: 0.85rem;
}

input[type="range"] {
  width: 100%;
}

.status {
  min-height: 36px;
  padding: 8px 10px;
  border-radius: 6px;
  background: rgba(237, 243, 239, 0.08);
  color: #edf3ef;
}

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

.snapshot div {
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(237, 243, 239, 0.12);
  border-radius: 6px;
}

dt {
  font-size: 0.75rem;
  color: #83d7ad;
}

dd {
  margin: 4px 0 0;
  overflow-wrap: anywhere;
}

.footnote {
  margin: 0;
  text-align: center;
  font-size: 0.85rem;
}

.footnote a {
  color: #83d7ad;
}

@media (max-width: 560px) {
  .transport,
  .track-settings,
  .snapshot {
    grid-template-columns: 1fr 1fr;
  }
}
