/* The studio is quiet; the performance provides the color and movement. */
:root {
  --bg: #171a1b;
  --surface: #1f2324;
  --surface-2: #292e2f;
  --line: #393e3e;
  --text: #eeeee7;
  --muted: #a2aba8;
  --accent: #dfbe7d;
  --rh: #e7bd73;
  --lh: #80c5b8;
  --white-key: #eae9df;
  --black-key: #222627;
  --focus-ring: 0 0 0 3px #80c5b880;
  --radius-control: 6px;
}
.studio {
  font:
    15px/1.5 'DM Sans',
    sans-serif;
}
.studio [hidden] {
  display: none !important;
}
.studio button,
.studio summary,
.studio a,
.studio select {
  -webkit-tap-highlight-color: transparent;
}
.studio button:focus-visible,
.studio summary:focus-visible,
.studio a:focus-visible,
.studio select:focus-visible,
.studio input:focus-visible,
.studio textarea:focus-visible,
.piano-viewport:focus-visible {
  outline: 2px solid var(--lh);
  outline-offset: 4px;
  box-shadow: none;
}
.studio button:disabled {
  cursor: not-allowed;
}
.skip-link {
  position: fixed;
  top: -80px;
  left: 20px;
  z-index: 100;
  background: var(--text);
  color: var(--bg);
  padding: 12px;
}
.skip-link:focus {
  top: 12px;
}
.studio-header {
  max-width: 1400px;
  margin: auto;
  padding: 27px 40px;
  display: flex;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}
.wordmark {
  display: flex;
  align-items: center;
  color: var(--text);
  text-decoration: none;
  font:
    34px/1 'Instrument Serif',
    Georgia,
    serif;
  letter-spacing: -0.8px;
}
.wordmark-period {
  color: var(--accent);
}
.piano-mark {
  display: flex;
  gap: 3px;
  margin-right: 12px;
  height: 24px;
  align-items: flex-start;
}
.piano-mark i {
  display: block;
  width: 5px;
  height: 24px;
  background: var(--text);
  border-radius: 0 0 2px 2px;
}
.piano-mark i:nth-child(2) {
  height: 17px;
  background: var(--accent);
}
.studio-caption {
  font-size: 12px;
  color: var(--muted);
  border-left: 1px solid var(--line);
  padding-left: 24px;
}
.header-note {
  margin-left: auto;
  font-size: 12px;
  color: var(--muted);
}
.studio-main {
  max-width: 1400px;
  padding: 42px 40px 24px;
  gap: 0;
}
.piece-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 30px;
}
.session-label {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 12px;
}
.session-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--muted);
  border-radius: 50%;
}
.studio[data-state='playing'] .session-dot {
  background: var(--lh);
  box-shadow: 0 0 0 4px #80c5b81a;
}
.studio[data-state='loading'] .session-dot {
  background: var(--accent);
}
.studio[data-state='error'] .session-dot {
  background: #eda591;
}
.piece-heading h1 {
  font:
    52px/1.08 'Instrument Serif',
    Georgia,
    serif;
  letter-spacing: -0.8px;
}
.piece-heading p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  max-width: 65ch;
}
.piece-facts {
  display: flex;
  gap: 28px;
  padding-bottom: 4px;
  flex-shrink: 0;
}
.piece-facts div {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 70px;
}
.piece-facts span {
  color: var(--muted);
  font-size: 12px;
}
.piece-facts strong {
  font-size: 15px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.transport {
  position: sticky;
  top: 0;
  z-index: 10;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 10px 10px 0 0;
}
.transport-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
}
.studio .play {
  height: 44px;
  min-width: 108px;
  padding: 0 22px;
  background: var(--accent);
  color: #292419;
  border: 1px solid var(--accent);
  font-size: 14px;
  border-radius: 5px;
}
.studio .play:hover:not(:disabled) {
  background: #eed09a;
}
.studio .play.stop {
  color: var(--text);
  background: transparent;
  border-color: #626964;
}
.studio .play.stop:hover {
  background: var(--surface-2);
}
.studio .jev-like {
  height: 44px;
  padding: 0 15px;
  color: var(--text);
  background: transparent;
  border: 1px solid #626964;
  border-radius: 5px;
  font-size: 13px;
}
.studio .jev-like:hover:not(:disabled) {
  color: var(--accent);
  border-color: var(--accent);
}
.studio .jev-like:disabled {
  opacity: 0.45;
}
.studio .jev-like.sent {
  animation: studio-liked 0.45s ease;
  color: var(--accent);
}
.studio kbd {
  margin-left: 10px;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 1px 5px;
  color: var(--muted);
  font:
    10px 'DM Sans',
    sans-serif;
}
.transport-message {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  padding-left: 10px;
}
#status {
  font-size: 12px;
  color: var(--text);
  overflow-wrap: anywhere;
}
#like-feedback {
  font-size: 11px;
  color: var(--muted);
}
.settings-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: 0;
  padding: 10px 0 10px 15px;
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
  white-space: nowrap;
}
.settings-toggle:hover {
  color: var(--text);
}
.settings-chevron {
  font-size: 16px;
  margin-left: 4px;
}
.settings-toggle[aria-expanded='false'] .settings-chevron {
  transform: rotate(180deg);
}
.sound-settings {
  border-top: 1px solid var(--line);
  padding: 20px 22px;
  display: grid;
  grid-template-columns: minmax(360px, 1.8fr) minmax(110px, 0.5fr) minmax(130px, 0.6fr);
  gap: 16px 28px;
  align-items: start;
}
.setting-label {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 9px;
}
.studio .segments {
  display: flex;
  width: 100%;
  padding: 0;
  gap: 10px;
  border: none;
  background: none;
}
.studio .segment {
  flex: 1;
  height: auto;
  min-height: 62px;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  white-space: normal;
  gap: 4px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 5px;
  position: relative;
}
.studio .segment strong {
  font-size: 13px;
  color: var(--text);
  font-weight: 500;
  padding-right: 12px;
}
.studio .segment small {
  font-size: 11px;
  color: var(--muted);
}
.studio .segment[aria-checked='true'] {
  border-color: #a89164;
  background: #dfbe7d0c;
}
.studio .segment[aria-checked='true']::after {
  content: '';
  position: absolute;
  top: 15px;
  right: 12px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}
.studio .segment[aria-checked='true'] strong {
  color: var(--accent);
}
.studio .segment:hover {
  background: #ffffff07;
}
.studio select {
  height: 44px;
  background-color: var(--surface);
  border-color: #515853;
  color: var(--text);
  font-size: 13px;
}
.key-control select {
  width: 100%;
}
.tempo-mode {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 44px;
  cursor: pointer;
  font-size: 13px;
}
.tempo-mode input {
  appearance: none;
  width: 30px;
  height: 18px;
  border-radius: 12px;
  background: #444b47;
  position: relative;
  margin: 0;
  flex-shrink: 0;
}
.tempo-mode input::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--text);
}
.tempo-mode input:checked {
  background: var(--accent);
}
.tempo-mode input:checked::after {
  left: 15px;
  background: #292419;
}
#manual-tempo {
  padding-top: 5px;
  font-size: 12px;
}
#manual-tempo label {
  display: block;
}
#bpm {
  width: 100%;
  accent-color: var(--accent);
  margin: 12px 0 4px;
}
.settings-help {
  grid-column: 1 / -1;
  font-size: 11px;
  color: var(--muted);
  margin: -2px 0 0;
}
.performance {
  scroll-margin-top: 80px;
  border: 1px solid var(--line);
  border-top: none;
  border-radius: 0 0 10px 10px;
  background: #111516;
  position: relative;
  overflow: hidden;
}
.stage-topline {
  display: flex;
  justify-content: space-between;
  padding: 16px 22px;
  font-size: 11px;
  color: var(--muted);
  border-bottom: 1px solid #ffffff06;
}
.stage-signature {
  color: #89928e;
}
.piano-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  scrollbar-color: #626964 #111516;
  overscroll-behavior-x: contain;
}
.piano-surface {
  margin: 0 20px;
}
.studio #roll {
  height: clamp(230px, 29vh, 370px);
  background: #111516;
  border-radius: 0;
}
.studio .keyboard {
  height: 102px;
  border-top: 2px solid #bda168;
}
.studio .key.white {
  border-color: #b0b1a7;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(180deg, #d7d9cf, var(--white-key) 18%, #f6f5ed 94%, #bcbeb4 95%);
}
.studio .key.black {
  background: linear-gradient(90deg, #161a1b, #2c3031 75%, #111516);
  border-radius: 0 0 3px 3px;
  box-shadow: 1px 3px 2px #0005;
}
.studio .key.white.on-rh,
.studio .key.black.on-rh {
  background: var(--rh);
}
.studio .key.white.on-lh,
.studio .key.black.on-lh {
  background: var(--lh);
}
.studio .key .lbl {
  font:
    9px 'DM Sans',
    sans-serif;
  color: #62675d;
  bottom: 9px;
}
.stage-bottomline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 17px 22px;
  font-size: 11px;
  color: var(--muted);
}
.hand-legend {
  display: flex;
  gap: 18px;
}
.hand-legend .sw {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  vertical-align: 1px;
}
.mobile-piano-hint {
  display: none;
}
.stage-invitation {
  position: absolute;
  inset: 49px 0 auto;
  height: clamp(230px, 29vh, 370px);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  pointer-events: none;
  background: radial-gradient(ellipse, #111516fa 0%, #111516db 38%, transparent 76%);
  padding: 12px 20px;
}
.stage-invitation h2 {
  font:
    32px/1.15 'Instrument Serif',
    Georgia,
    serif;
  color: var(--text);
  margin: 17px 0 10px;
}
.stage-invitation p {
  color: var(--muted);
  text-align: center;
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
}
.invitation-notes {
  display: flex;
  height: 40px;
  gap: 6px;
  align-items: center;
}
.invitation-notes i {
  width: 5px;
  height: 27px;
  background: var(--lh);
  border-radius: 3px;
  opacity: 0.7;
}
.invitation-notes i:nth-child(2) {
  height: 16px;
  align-self: flex-end;
}
.invitation-notes i:nth-child(3) {
  height: 38px;
  background: var(--accent);
}
.invitation-notes i:nth-child(4) {
  height: 22px;
  background: var(--accent);
  align-self: flex-start;
}
.invitation-notes i:nth-child(5) {
  height: 13px;
  background: var(--accent);
}
.loading-progress {
  margin-top: 18px;
  width: 140px;
  height: 2px;
  overflow: hidden;
  background: var(--line);
}
.loading-progress span {
  display: block;
  width: 45%;
  height: 100%;
  background: var(--accent);
  animation: studio-loading 1.5s ease-in-out infinite alternate;
}
.musical-story {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  padding: 34px 4px 32px;
}
.story-label {
  color: var(--muted);
  font-size: 12px;
}
.now-playing h2 {
  margin: 9px 0;
  font:
    28px/1.2 'Instrument Serif',
    Georgia,
    serif;
  color: var(--text);
}
.now-playing p {
  color: var(--muted);
  font-size: 13px;
  max-width: 58ch;
  margin: 0 0 13px;
}
.text-button {
  background: none;
  border: 0;
  padding: 5px 0;
  color: var(--accent);
  font-size: 12px;
  cursor: pointer;
}
.text-button span {
  margin-left: 6px;
}
.text-button:hover {
  text-decoration: underline;
}
.journey {
  padding-left: 32px;
  border-left: 1px solid var(--line);
}
.journey-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
#story-bar {
  color: var(--muted);
  font-size: 11px;
}
.section-path {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 0;
  list-style: none;
  padding: 0;
  margin: 18px 0;
}
.section-path li {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  align-items: center;
}
.section-path li:not(:last-child)::after {
  content: '';
  width: 18px;
  height: 1px;
  margin: 0 10px;
  background: #59615b;
}
.section-path li[aria-current='step'] {
  color: var(--lh);
}
.section-path li[aria-current='step']::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--lh);
  border-radius: 50%;
  margin-right: 7px;
}
.section-path .path-empty {
  color: #a2aba8;
}
.influence-note {
  font-size: 12px;
  color: var(--accent);
  margin: 12px 0 0;
}
.inspector {
  scroll-margin-top: 90px;
  border-top: 1px solid var(--line);
}
.inspector > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  padding: 22px 4px;
  list-style: none;
}
.inspector > summary::-webkit-details-marker {
  display: none;
}
.inspector summary strong {
  font-size: 13px;
  font-weight: 500;
}
.inspector-subtitle {
  color: var(--muted);
  margin-left: 18px;
  font-size: 12px;
}
.inspector-icon {
  color: var(--muted);
  font-size: 22px;
  font-weight: 400;
}
.inspector[open] .inspector-icon {
  transform: rotate(45deg);
}
.inspector-content {
  padding: 0 0 24px;
}
.inspector-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding: 16px 0 24px;
}
.studio .toggle {
  border-radius: 5px;
  background: transparent;
  font-size: 12px;
  white-space: normal;
  min-height: 40px;
  height: auto;
}
.studio .toggle:has(input:checked) {
  border-color: #626964;
}
.studio .meters dt {
  font-size: 12px;
}
.studio .meters dd {
  font:
    14px 'DM Sans',
    sans-serif;
  margin-top: 4px;
}
.probability-view {
  background: #111516;
  padding: 18px;
  border-radius: 6px;
  margin-bottom: 20px;
}
.probability-view h2 {
  font-size: 13px;
  font-weight: 500;
}
.studio #probs {
  height: 90px;
  border: 0;
  background: #111516;
}
.probability-view p {
  font-size: 11px;
  margin: 10px 0 0;
}
.studio .panels {
  gap: 22px;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
}
.studio .panel {
  background: var(--surface);
  border-color: var(--line);
  border-radius: 6px;
  padding: 20px;
}
.studio .panel h2 {
  font-size: 14px;
}
.studio .decision {
  display: flex;
  flex-direction: column;
  max-height: 560px;
  overflow: auto;
}
.studio .jev-feed {
  height: auto;
  max-height: 520px;
}
.studio .jev-feed:empty {
  min-height: 64px;
}
.studio .context {
  background: #171b1c;
  border-color: var(--line);
  color: var(--muted);
  font-size: 12px;
}
.studio .jev-recipe {
  background: #24292a;
  border-color: var(--line);
}
.studio .jev-recipe-name,
.studio .jev-recipe-ms {
  font-size: 11px;
}
.studio .jev-recipe strong {
  font-size: 13px;
}
.studio .jev-alternative {
  height: auto;
  min-height: 26px;
  background: #191e1f;
}
.studio .jev-alternative span {
  font:
    11px/1.5 'DM Sans',
    sans-serif;
  white-space: normal;
  color: var(--muted);
  padding: 4px 6px;
}
.studio .jevthoven-design {
  background: #292e2f;
  border-color: var(--line);
}
.studio .jevthoven-design-title {
  font-size: 15px;
}
.studio .jevthoven-cell,
.studio .jevthoven-conductor {
  background: #1a1f20;
}
.studio .jevthoven-expression {
  font:
    12px/1.5 'DM Sans',
    sans-serif;
}
.studio .jev-finger {
  background: #222728;
  border-color: var(--line);
}
.studio .jevthoven-bar {
  background: #222728;
  border-color: var(--line);
  font-size: 12px;
}
.studio .jev-decision,
.studio .jev-feed-entry,
.studio .log li {
  animation: none;
}
.studio .jev-queue-item {
  background: #222728;
  font-size: 11px;
}
.studio .jev-queue-items {
  height: auto;
  max-height: 190px;
}
.studio .jev-song-log-actions select {
  max-width: 100%;
}
.studio .jev-song-log-preview {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.studio .account,
.studio > .notice {
  max-width: 1320px;
  margin: 16px auto 0;
  padding: 12px 18px;
  background: var(--surface);
  border-color: var(--line);
}
.studio .account-email {
  overflow-wrap: anywhere;
}
.studio .account-link {
  color: var(--lh);
}
.studio .account-minutes {
  color: var(--accent);
}
.studio .account-plan {
  text-transform: none;
  font:
    11px 'DM Sans',
    sans-serif;
  letter-spacing: 0;
}
.studio .recording {
  margin: 0 0 20px;
  padding: 26px;
  border: 1px solid #586155;
  border-radius: 7px;
  background: #232a26;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}
.recording-description {
  flex: 1;
  min-width: 200px;
}
.recording-description h2 {
  font:
    27px 'Instrument Serif',
    Georgia,
    serif;
  color: var(--text);
  margin: 5px 0 7px;
}
.recording-description p {
  color: var(--muted);
  font-size: 12px;
  margin: 0;
}
.recording-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.studio .jev-download {
  background: var(--accent);
  color: #292419;
  border-radius: 5px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  font-size: 13px;
  border: 0;
  cursor: pointer;
}
.studio .jev-download:hover {
  background: #eed09a;
}
.secondary-button {
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 5px;
  border: 1px solid #626964;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-size: 13px;
}
.recording audio {
  width: 100%;
  height: 36px;
  margin-top: 14px;
  color-scheme: dark;
}
.feedback-panel {
  margin: 0 0 24px;
}
.feedback-panel > summary {
  font-size: 12px;
  color: var(--muted);
  cursor: pointer;
  padding: 4px;
}
.studio .jev-survey {
  margin-top: 12px;
  background: var(--surface);
  border-color: var(--line);
  max-width: 680px;
  padding: 20px;
  font-size: 13px;
}
.studio .jev-survey textarea {
  background: var(--bg);
  border-color: var(--line);
  min-height: 68px;
}
.studio-footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 24px 4px 0;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: var(--muted);
}
.studio-footer a {
  color: var(--muted);
  text-decoration: none;
}
.studio-footer a:hover {
  color: var(--text);
  text-decoration: underline;
}
@keyframes studio-loading {
  to {
    transform: translateX(125%);
  }
}
@keyframes studio-liked {
  50% {
    background: #dfbe7d20;
  }
}
@media (max-width: 1100px) {
  .studio-header {
    padding: 23px 28px;
  }
  .studio-main {
    padding: 32px 28px 24px;
  }
  .piece-heading h1 {
    font-size: 44px;
  }
  .piece-facts {
    gap: 18px;
  }
  .piece-facts div {
    min-width: 60px;
  }
  .transport-message {
    padding-left: 0;
  }
  .settings-toggle {
    padding-left: 6px;
  }
  .settings-toggle > span:not(.settings-chevron) {
    display: none;
  }
  .sound-settings {
    gap: 16px;
    grid-template-columns: minmax(310px, 1.8fr) minmax(105px, 0.6fr) minmax(120px, 0.6fr);
  }
  .studio .panels {
    grid-template-columns: 1fr;
  }
  .header-note {
    display: none;
  }
  .studio-caption {
    margin-left: auto;
    border: 0;
    padding: 0;
  }
  .studio .account,
  .studio > .notice {
    margin-left: 28px;
    margin-right: 28px;
  }
}
@media (max-width: 700px) {
  .studio-header {
    padding: 21px 20px;
  }
  .wordmark {
    font-size: 30px;
  }
  .studio-caption {
    font-size: 11px;
  }
  .studio-main {
    padding: 26px 16px 24px;
  }
  .piece-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 23px;
    padding: 0 4px;
  }
  .piece-heading h1 {
    font-size: 40px;
  }
  .piece-heading p {
    font-size: 13px;
    margin-top: 10px;
    max-width: 36ch;
  }
  .piece-facts {
    width: 100%;
    justify-content: space-between;
    padding: 0;
    gap: 12px;
  }
  .piece-facts div {
    flex-direction: row;
    align-items: baseline;
    gap: 8px;
    min-width: 0;
  }
  .piece-facts span {
    font-size: 11px;
  }
  .piece-facts strong {
    font-size: 12px;
  }
  .transport {
    top: 0;
    border-radius: 8px 8px 0 0;
  }
  .transport-row {
    padding: 10px;
    gap: 9px;
    flex-wrap: wrap;
  }
  .studio .play {
    min-width: 98px;
    padding: 0 18px;
  }
  .studio .jev-like {
    padding: 0 13px;
  }
  .studio kbd {
    display: none;
  }
  .settings-toggle {
    margin-left: auto;
    padding: 10px 4px;
  }
  .transport-message {
    order: 4;
    flex-basis: 100%;
    padding: 0 3px;
  }
  #status {
    font-size: 11px;
  }
  #like-feedback {
    font-size: 11px;
  }
  .sound-settings {
    grid-template-columns: 1fr 1fr;
    padding: 16px;
    max-height: 50vh;
    overflow: auto;
    gap: 16px;
  }
  .style-control {
    grid-column: 1 / -1;
  }
  .studio .segment {
    min-height: 72px;
    padding: 10px;
  }
  .studio .segment strong {
    font-size: 12px;
  }
  .studio .segment small {
    font-size: 10px;
  }
  .settings-help {
    font-size: 11px;
  }
  .stage-topline {
    padding: 14px;
    font-size: 10px;
  }
  .stage-signature {
    display: none;
  }
  .piano-surface {
    min-width: 760px;
    margin: 0 12px;
  }
  .studio #roll {
    height: 220px;
  }
  .studio .keyboard {
    height: 84px;
  }
  .studio .key .lbl {
    display: block;
    font-size: 8px;
  }
  .stage-invitation {
    top: 44px;
    height: 220px;
  }
  .stage-invitation h2 {
    font-size: 28px;
  }
  .stage-invitation p {
    font-size: 12px;
  }
  .stage-bottomline {
    padding: 14px;
    font-size: 10px;
  }
  .hand-legend {
    gap: 12px;
  }
  .piano-hint {
    display: none;
  }
  .mobile-piano-hint {
    display: inline;
  }
  .musical-story {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 27px 4px;
  }
  .journey {
    padding: 22px 0 0;
    border-left: none;
    border-top: 1px solid var(--line);
  }
  .now-playing h2 {
    font-size: 27px;
  }
  .inspector > summary {
    padding: 20px 4px;
  }
  .inspector-subtitle {
    display: block;
    margin: 4px 0 0;
    font-size: 11px;
  }
  .studio .panel {
    padding: 15px;
  }
  .studio .meters {
    gap: 20px;
  }
  .studio .meters dt {
    font-size: 11px;
  }
  .studio .jev-recipe-strip {
    grid-template-columns: 1fr;
  }
  .studio .account,
  .studio > .notice {
    margin-left: 16px;
    margin-right: 16px;
  }
  .studio .recording {
    padding: 20px;
  }
  .recording-actions {
    width: 100%;
  }
  .studio-footer {
    flex-direction: column;
    gap: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .studio *,
  .studio *::before,
  .studio *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .loading-progress span {
    width: 100%;
    opacity: 0.65;
  }
}

.studio .jev-like.sent:disabled {
  opacity: 1;
}
@media (max-width: 700px) {
  .inspector {
    scroll-margin-top: 130px;
  }
}

@media (max-width: 700px) {
  .performance {
    scroll-margin-top: 120px;
  }
}

.studio .settings-toggle {
  min-height: 44px;
  min-width: 44px;
}
.studio .text-button {
  min-height: 44px;
}
.studio .toggle:has(input:disabled) {
  opacity: 0.6;
  cursor: default;
}
.studio .jev-survey-rating {
  flex-wrap: wrap;
}
.studio .jev-stars label {
  min-width: 36px;
  min-height: 44px;
  display: grid;
  place-items: center;
}
