:root {
  color-scheme: light;
  --bg: #f8f9fa;
  --panel: #ffffff;
  --panel-2: #f2f3f5;
  --text: #1f2328;
  --muted: #667085;
  --accent: #4caf50;
  --accent-2: #e9ecef;
  --danger: #ff6b6b;
  --blue: #3357ff;
  --red: #ff3434;
  --green: #33aa57;
  --orange: #cc7a12;
  --yellow: #666666;
  --pink: #ff33a1;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
}

button,
input,
select {
  font: inherit;
}

.shell {
  width: min(100%, 720px);
  margin: 0 auto;
  min-height: 100vh;
  padding: 0 18px 96px;
}

.screen {
  min-height: calc(100vh - 40px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
}

@supports (height: 100dvh) {
  .shell {
    min-height: 100dvh;
  }

  .screen {
    min-height: calc(100dvh - 40px);
  }
}

#joinScreen {
  justify-content: flex-start;
  padding-top: clamp(28px, 10dvh, 88px);
  padding-bottom: 32px;
}

.hidden {
  display: none !important;
}

.brand {
  font-size: 32px;
  font-weight: 800;
  text-align: center;
}

.app-version {
  position: fixed;
  right: 10px;
  bottom: 8px;
  z-index: 20;
  color: var(--muted);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  opacity: 0.8;
  pointer-events: none;
}

.join-form {
  display: grid;
  gap: 16px;
}

.recent-rooms {
  display: grid;
  gap: 10px;
}

.recent-room-list {
  display: grid;
  gap: 8px;
}

.recent-room-list button {
  background: var(--panel-2);
  color: var(--text);
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 650;
}

input,
select {
  width: 100%;
  border: 1px solid #d7dce2;
  border-radius: 8px;
  background: var(--panel);
  color: var(--text);
  padding: 15px 14px;
  font-size: 20px;
}

.song-search-form select {
  min-width: 112px;
}

input[type="range"] {
  accent-color: var(--accent);
  padding: 0;
}

#codeInput {
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 0;
  font-size: 34px;
  font-weight: 800;
}

button {
  position: relative;
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 800;
  padding: 12px 14px;
  cursor: pointer;
  transition: transform 80ms ease, filter 120ms ease, box-shadow 120ms ease, background-color 120ms ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

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

button:active:not(:disabled) {
  transform: scale(0.97);
  filter: brightness(0.93);
}

button.feedback-sent,
button.feedback-pending {
  background: #2563eb !important;
  color: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.22);
}

button.feedback-pending {
  animation: command-pending-pulse 760ms ease-in-out infinite alternate;
}

button.feedback-ok {
  background: #16a34a !important;
  color: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.24);
}

button.feedback-error {
  background: #e53e3e !important;
  color: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.24);
}

button.state-paused {
  background: #f59e0b;
  color: #111827;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.24);
}

@keyframes command-pending-pulse {
  from {
    filter: brightness(1);
  }
  to {
    filter: brightness(1.13);
  }
}

.error {
  min-height: 24px;
  color: var(--danger);
  text-align: center;
}

#appScreen {
  justify-content: flex-start;
  padding-top: 70px;
}

.panel {
  background: var(--panel);
  border: 1px solid #e2e5e9;
  border-radius: 8px;
  padding: 14px;
}

.muted,
.fine {
  color: var(--muted);
}

.tabs {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  height: 56px;
  background: #f4f4f4;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.tab {
  background: transparent;
  color: var(--text);
  border-radius: 0;
  font-size: clamp(12px, 3vw, 20px);
  min-height: 56px;
  padding: 8px 4px;
}

.tab.active {
  background: #ffffff;
  color: #111111;
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.08);
}

.panel {
  display: grid;
  gap: 14px;
}

.remote-lyrics {
  min-height: 3.4em;
  padding: 12px 10px;
  border-radius: 8px;
  background: #14171f;
  color: #ffffff;
  font-size: clamp(23px, 7vw, 42px);
  line-height: 1.3;
  font-weight: 850;
  text-align: center;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.lyric-syllable {
  display: inline-block;
  transform-origin: center bottom;
  transition: color 90ms linear, opacity 90ms linear, transform 120ms ease, text-shadow 120ms ease;
}

.lyric-syllable.upcoming {
  color: #8d96a8;
  opacity: 0.72;
}

.lyric-syllable.past {
  color: #41d976;
  opacity: 0.95;
}

.lyric-syllable.current {
  color: transparent;
  opacity: 1;
  transform: scale(1.18);
  background: linear-gradient(90deg, #41d976 0 var(--lyric-progress, 0%), #ffffff var(--lyric-progress, 0%) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  text-shadow: 0 0 16px rgba(65, 217, 118, 0.9), 0 2px 0 #18a64a;
}

.game-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e2e5e9;
}

.game-card span,
.game-card strong {
  display: block;
}

.player-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.player-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid #e2e5e9;
  border-radius: 8px;
  background: #ffffff;
}

.player-list .inline-actions {
  grid-row: 1 / span 2;
  grid-column: 2;
}

.player-list li > span:not(.badge) {
  color: var(--muted);
  font-size: 13px;
}

.player-list .empty-player {
  display: block;
  color: var(--muted);
}

.compact-list {
  margin-top: -4px;
}

.room-settings-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.slot-picker {
  display: grid;
  gap: 8px;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--text);
  font-weight: 700;
}

.check-row input {
  width: 22px;
  height: 22px;
  accent-color: var(--accent);
}

.input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px;
  gap: 10px;
  align-items: center;
  min-height: 44px;
  color: var(--text);
  font-weight: 700;
}

.input-row input {
  text-align: center;
}

.delay-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 56px;
  gap: 8px;
}

.delay-row input {
  text-align: center;
  font-size: 20px;
  padding: 10px;
}

.mic-room-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

#micPanel {
  position: relative;
}

#micPanel.mic-entry-locked .section-head,
#micPanel.mic-entry-locked .mic-room-list,
#micPanel.mic-entry-locked .meter,
#micPanel.mic-entry-locked .metrics {
  opacity: 0.42;
  pointer-events: none;
}

#micPanel.mic-entry-locked #micButton {
  position: absolute;
  z-index: 6;
  top: 88px;
  left: 50%;
  width: min(82%, 360px);
  min-height: 68px;
  transform: translateX(-50%);
  background: rgba(28, 113, 216, 0.76);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(8px);
}

#micPanel.mic-entry-locked #micButton:active:not(:disabled) {
  transform: translateX(-50%) scale(0.97);
}

.mic-room-list button {
  display: grid;
  gap: 8px;
  min-height: 110px;
  align-content: center;
  justify-items: center;
  text-align: center;
  border: 2px solid #e0e0e0;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  background: var(--room-light);
  color: var(--room-text);
  font-size: 20px;
}

.room-avatar,
.avatar-preview {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.65);
}

.avatar-placeholder {
  display: grid;
  place-items: center;
  font-size: 26px;
  font-weight: 900;
}

.mic-room-list .room-avatar {
  width: 52px;
  height: 52px;
}

.room-meta {
  display: grid;
  gap: 2px;
}

.room-meta small {
  color: inherit;
  font-size: 13px;
  font-weight: 700;
  opacity: 0.82;
}

.mic-room-list button.active-room {
  outline: 4px solid rgba(0, 0, 0, 0.16);
}

.mic-room-list button.occupied {
  background: var(--room-color);
  color: var(--occupied-text, #ffffff);
  box-shadow: 0 6px 22px rgba(0,0,0,0.18);
}

.mic-room-list .lobby-room {
  grid-column: span 2;
  min-height: 132px;
}

.mic-room-list span {
  color: inherit;
  font-size: 18px;
  font-weight: 800;
}

.mic-room-list .lobby-names {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 14px;
  width: min(100%, 520px);
  justify-self: center;
  align-items: center;
}

.mic-room-list .lobby-names span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mic-room-list .lobby-empty {
  font-size: 16px;
}

.mic-room-list button.active-room span {
  color: inherit;
}

.search-form,
.song-search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
}

.search-form input,
.song-search-form input,
.song-search-form select {
  font-size: 16px;
  padding: 12px;
}

.song-search-form:not(.compact) {
  grid-template-columns: minmax(108px, auto) minmax(0, 1fr) 48px;
}

.song-search-form:not(.compact) button {
  width: min(220px, 40vw);
}

.song-search-form .clear-search-button {
  width: 48px;
  min-width: 48px;
  height: 44px;
  padding: 0;
  border-color: #d7dce2;
  background: #f2f4f7;
  color: #8a929d;
  font-size: 20px;
  font-weight: 900;
}

.song-search-form .clear-search-button.active-filter {
  border-color: #c92a2a;
  background: #fff1f1;
  color: #c92a2a;
}

.song-search-form .clear-search-button:disabled {
  opacity: 0.45;
  cursor: default;
}

.remote-list {
  display: grid;
  gap: 8px;
}

.song-library-summary {
  margin: -4px 0 0;
}

.song-library-progress {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  margin: -2px 0 2px;
}

.song-library-progress span {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #37b26c 0 var(--song-library-progress, 0%), rgba(35, 44, 58, 0.16) var(--song-library-progress, 0%) 100%);
  border: 1px solid rgba(35, 44, 58, 0.12);
}

.song-library-progress strong {
  min-width: 4ch;
  text-align: right;
  font-size: 0.78rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.song-result-list,
.playlist-list,
.playlist-item-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.song-result-list li,
.playlist-list li,
.playlist-item-list li {
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid #e2e5e9;
  border-radius: 8px;
  background: #ffffff;
}

.song-result-list li.active,
.playlist-list li.active,
.playlist-item-list li.active {
  border-color: var(--accent-2);
}

.song-result-list span,
.playlist-list span,
.playlist-item-list span {
  color: var(--muted);
  font-size: 13px;
}

.song-result-list li,
.playlist-list li,
.playlist-item-list li {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.song-command-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(104px, 1fr));
  gap: 8px;
}

.song-command-row .active-filter {
  border-color: #c2185b;
  color: #c2185b;
}

.party-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 8px;
}

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

.avatar-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.avatar-actions {
  display: grid;
  gap: 8px;
}

.file-button {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  min-height: 44px;
  border-radius: 8px;
  background: var(--panel-2);
  color: var(--text);
  font-weight: 800;
  cursor: pointer;
}

.file-button input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
  pointer-events: none;
}

.song-pager {
  display: grid;
  grid-template-columns: minmax(82px, auto) 1fr minmax(82px, auto);
  gap: 8px;
  align-items: center;
  text-align: center;
}

.song-pager button {
  min-height: 36px;
  padding: 8px;
}

.song-pager span {
  color: var(--muted);
  font-size: 13px;
}

.inline-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.inline-actions button {
  min-height: 36px;
  padding: 8px;
  background: var(--panel-2);
  color: var(--text);
  font-size: 13px;
}

.inline-actions .heart-button {
  min-width: 42px;
  color: #c02656;
  font-size: 22px;
  line-height: 1;
}

.inline-actions .heart-button[title="Liked"] {
  background: #ffe8ef;
  color: #be123c;
}

.preview-control {
  display: flex;
  align-items: center;
  gap: 6px;
}

.preview-slider {
  width: 96px;
}

.control-topline {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  text-align: center;
}

.danger,
.danger-soft {
  background: #e53e3e;
  color: #ffffff;
}

.danger-soft {
  background: #fff0f0;
  color: #a71919;
  border: 1px solid #efb6b6;
}

.secondary {
  background: #dedede;
  color: #333333;
}

.control-player-list {
  display: grid;
  gap: 8px;
}

.control-player {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #e2e5e9;
  background: var(--room-light);
  color: var(--room-text);
}

.control-player span {
  display: block;
  color: inherit;
  font-size: 13px;
  opacity: 0.78;
}

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

.slot-buttons button {
  min-height: 42px;
  background: var(--room-light);
  color: var(--room-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.slot-buttons button.active-slot {
  background: var(--room-color);
  color: var(--occupied-text, #ffffff);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.42);
}

.modal {
  width: min(520px, 100%);
  display: grid;
  gap: 14px;
  padding: 16px;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.modal .section-head > div span {
  display: block;
}

.party-turn-card {
  text-align: center;
}

.party-turn-card strong {
  font-size: 26px;
}

.party-turn-card p {
  margin: 0;
  color: var(--text);
  font-size: 18px;
  line-height: 1.35;
}

.playlist-choice-list {
  display: grid;
  gap: 8px;
  max-height: 50vh;
  overflow: auto;
}

.playlist-choice {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-height: 52px;
  padding: 10px;
  background: #f5f7fa;
  color: var(--text);
  text-align: left;
}

.playlist-choice span {
  color: var(--muted);
  font-size: 13px;
}

.badge {
  grid-row: 1 / span 2;
  grid-column: 2;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--room-light);
  color: var(--room-text);
  font-size: 12px;
  font-weight: 800;
}

.badge.offline {
  background: rgba(255, 107, 107, 0.14);
  color: var(--danger);
}

.mic-blue {
  --room-color: #3357ff;
  --room-light: rgba(51, 87, 255, 0.18);
  --room-text: #3357ff;
}

.mic-lobby {
  --room-color: #6b7280;
  --room-light: #eef1f4;
  --room-text: #333842;
}

.mic-red {
  --room-color: #ff3434;
  --room-light: rgba(255, 52, 52, 0.18);
  --room-text: #ff3434;
}

.mic-green {
  --room-color: #33ff57;
  --room-light: rgba(51, 255, 87, 0.18);
  --room-text: #33aa57;
}

.mic-orange {
  --room-color: #ffa133;
  --room-light: rgba(255, 161, 51, 0.18);
  --room-text: #cc7a12;
}

.mic-yellow {
  --room-color: #ffff33;
  --room-light: rgba(255, 255, 51, 0.2);
  --room-text: #666666;
  --occupied-text: #333333;
}

.mic-pink {
  --room-color: #ff33a1;
  --room-light: rgba(255, 51, 161, 0.18);
  --room-text: #ff33a1;
}

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

.dpad button,
.actions button,
.song-actions button {
  background: var(--accent);
  color: #ffffff;
}

.dpad .select {
  background: var(--accent);
  color: #ffffff;
}

.dpad .arrow {
  font-size: 28px;
  line-height: 1;
}

.ghost {
  visibility: hidden;
}

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

.song-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.meter {
  height: 18px;
  border-radius: 999px;
  background: #2b3440;
  overflow: hidden;
}

.meter span {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width 80ms linear;
}

.metrics {
  display: grid;
  gap: 8px;
  margin: 0;
}

.metrics div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #e2e5e9;
}

.device-music-diagnostics {
  margin-top: 8px;
}

#deviceMusicStatus.state-playing {
  color: #0f7a3b;
}

#deviceMusicStatus.state-buffering {
  color: #916400;
}

#deviceMusicStatus.state-error {
  color: #b3261e;
}

dt {
  color: var(--muted);
}

dd {
  margin: 0;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

#eventLog {
  min-height: 160px;
  max-height: 280px;
  overflow: auto;
  margin: 0;
  padding: 12px;
  background: #0c0f13;
  border-radius: 8px;
  color: #d8e1ec;
  white-space: pre-wrap;
}

.lock-bar {
  position: fixed;
  left: 22px;
  right: 22px;
  bottom: 20px;
  width: calc(100% - 44px);
  z-index: 9;
  display: grid;
  place-items: center;
  min-height: 64px;
  border-radius: 24px;
  background: #000000;
  color: #ffffff;
  font-size: 24px;
  font-weight: 800;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);
  border: 0;
  cursor: pointer;
}

.lock-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  background: #050505;
  color: #fff;
  touch-action: none;
}

.lock-panel {
  display: grid;
  gap: 14px;
  width: min(680px, 100%);
  justify-items: center;
}

.lock-title {
  font-size: 28px;
  font-weight: 800;
}

.lock-meta {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.lock-score {
  font-size: clamp(72px, 24vw, 180px);
  line-height: 0.9;
  font-weight: 900;
  color: var(--room-color, #ffffff);
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 36px color-mix(in srgb, var(--room-color, #ffffff) 40%, transparent);
}

.lock-progress {
  width: min(560px, 90vw);
  height: 20px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.lock-progress span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--room-color, #ffffff);
  transition: width 180ms linear;
}

.lock-lyrics {
  width: min(620px, 92vw);
  min-height: 2.6em;
  color: #ffffff;
  font-size: clamp(20px, 6vw, 38px);
  line-height: 1.2;
  font-weight: 850;
  text-align: center;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.lock-level {
  width: min(460px, 90vw);
  height: 18px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.lock-level span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: #4caf50;
}

.unlock-track {
  position: relative;
  display: grid;
  place-items: center;
  width: min(520px, 88vw);
  height: 56px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
}

.unlock-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: rgba(76, 175, 80, 0.36);
}

.unlock-handle {
  position: absolute;
  left: 6px;
  top: 6px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,0.45);
  cursor: grab;
}

@media (max-width: 600px) {
  .shell {
    padding-left: 0;
    padding-right: 0;
  }

  .panel {
    margin-left: 0;
    margin-right: 0;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
  }

  .mic-room-list button {
    min-height: 86px;
    font-size: 18px;
  }

  .mic-room-list .lobby-room {
    min-height: 112px;
  }

  .song-command-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .song-search-form:not(.compact) {
    grid-template-columns: minmax(0, 1fr) 48px;
  }

  .song-search-form:not(.compact) select {
    grid-column: 1 / -1;
  }

  .profile-grid,
  .avatar-row {
    grid-template-columns: 1fr;
  }
}
