:root {
  --melon: #00cd3c;
  --ink: #191919;
  --muted: #666;
  --line: #e5e5e5;
  --panel: #fff;
  --wash: #f6f8f4;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--wash);
  color: var(--ink);
  font-family: "Helvetica Neue", Arial, sans-serif;
}

.customizer-shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 32px 18px;
}

.customizer-panel {
  width: min(100%, 460px);
  padding: 34px 30px 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 18px 50px rgba(25, 25, 25, 0.08);
}

.brand-mark {
  width: fit-content;
  margin-bottom: 18px;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--melon);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
}

h1 {
  margin: 0 0 26px;
  font-size: 25px;
  line-height: 1.2;
}

.customizer-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 22px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f7f7;
}

.tab-button {
  min-height: 42px;
  margin: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.tab-button.active {
  background: var(--melon);
  color: #fff;
}

.profile-form {
  display: grid;
  gap: 17px;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: grid;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

input:focus {
  border-color: var(--melon);
  outline: 3px solid rgba(0, 205, 60, 0.16);
}

input[type="file"] {
  padding: 11px 14px;
}

.toggle-field {
  display: flex;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 9px;
  min-height: 24px;
}

.toggle-field input {
  width: 18px;
  min-height: 18px;
  margin: 0;
  accent-color: var(--melon);
}

.album-search {
  display: grid;
  gap: 7px;
}

.album-search-status {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.album-search-status:empty {
  display: none;
}

.album-results {
  max-height: 320px;
  margin: 0;
  padding: 4px;
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
  list-style: none;
}

.album-result {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 60px;
  margin: 0;
  padding: 6px 8px;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  font-weight: 400;
  text-align: left;
}

.album-result:hover,
.album-result:focus-visible {
  background: var(--wash);
}

.album-result.selected {
  background: rgba(0, 205, 60, 0.1);
}

.album-result img {
  width: 48px;
  height: 48px;
  border-radius: 4px;
  background: var(--line);
  object-fit: cover;
}

.album-result-text {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.album-result-name,
.album-result-artist {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.album-result-name {
  font-weight: 700;
}

.album-result-artist {
  color: var(--muted);
  font-size: 13px;
}

button {
  min-height: 52px;
  margin-top: 6px;
  border: 0;
  border-radius: 6px;
  background: var(--melon);
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  font-weight: 800;
}

button:hover {
  background: #00b835;
}

@media (max-width: 420px) {
  .customizer-panel {
    padding: 28px 22px 24px;
  }

  h1 {
    font-size: 22px;
  }
}
