/* Collection / playlist — Mono 03 */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.collection-screen,
.playlist-screen {
  padding-top: 8px;
  min-height: 100%;
}
.collection-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 30px;
}
.collection-heading h1 {
  font-size: 39px;
  letter-spacing: -1.6px;
  margin: 0;
  font-weight: 750;
  line-height: 1.1;
}
.collection-description {
  font-size: 12px;
  color: #858585;
  margin: 13px 0 0;
}
.collection-heading .mono-overline {
  margin-bottom: 12px;
}
.collection-new {
  font-size: 11px;
  padding: 12px 16px;
}
.collection-quick-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 34px;
}
.collection-favorites-card,
.collection-local-card {
  position: relative;
  display: flex;
  align-items: center;
  text-align: left;
  border-radius: 16px;
  min-height: 132px;
  padding: 23px 25px;
  gap: 22px;
  overflow: hidden;
  border: 1px solid #ffffff10;
  transition:
    transform 0.25s var(--motion),
    border-color 0.2s,
    background 0.2s;
}
.collection-favorites-card {
  background: linear-gradient(115deg, #dedede, #b8b8b8);
  color: #171717;
  border-color: transparent;
}
.collection-favorites-card:after {
  content: "";
  position: absolute;
  width: 130px;
  height: 130px;
  right: 16px;
  top: -26px;
  border: 1px solid #0000000c;
  border-radius: 50%;
  box-shadow:
    0 0 0 20px #00000003,
    0 0 0 40px #00000003;
}
.collection-local-card {
  background: linear-gradient(120deg, #202020, #171717);
}
.collection-favorites-card:hover,
.collection-local-card:hover {
  transform: translateY(-3px);
  border-color: #ffffff25;
}
.collection-favorites-card:active,
.collection-local-card:active {
  transform: scale(0.985);
}
.collection-favorite-symbol {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border: 1px solid #00000012;
  border-radius: 50%;
  background: #ffffff17;
  flex-shrink: 0;
}
.collection-local-symbol {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  background: #ffffff08;
  border-radius: 50%;
  border: 1px solid #ffffff0c;
  flex-shrink: 0;
}
.collection-quick-copy {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
  position: relative;
  z-index: 1;
}
.collection-quick-copy strong {
  font-size: 20px;
  letter-spacing: -0.6px;
  font-weight: 700;
}
.collection-quick-copy > span:last-child {
  font-size: 10px;
  opacity: 0.62;
  line-height: 1.5;
}
.collection-quick-label {
  font-size: 7px;
  letter-spacing: 0.15em;
  opacity: 0.55;
}
.collection-quick-arrow {
  position: absolute;
  right: 18px;
  top: 15px;
  font-size: 16px;
  opacity: 0.5;
}
.collection-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #ffffff0d;
  gap: 20px;
  margin-bottom: 24px;
  min-height: 46px;
}
.collection-tabs {
  display: flex;
  gap: 28px;
  align-self: stretch;
}
.collection-tabs > button {
  position: relative;
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 0 0 16px;
  color: #858585;
  font-size: 13px;
  font-weight: 600;
  transition: color 0.2s;
  white-space: nowrap;
}
.collection-tabs > button > span {
  font-size: 9px;
  font-weight: 400;
  color: #777;
}
.collection-tabs > button.selected {
  color: #f5f5f5;
}
.collection-tabs > button.selected:after {
  content: "";
  height: 2px;
  background: #f5f5f5;
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  border-radius: 2px;
}
.collection-tabs > button:hover {
  color: #fff;
}
.collection-sort {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #808080;
  align-self: flex-start;
  padding-top: 3px;
}
.collection-sort select {
  background: transparent;
  border: 0;
  color: #999;
  font: inherit;
  font-size: 10px;
  max-width: 165px;
  outline-offset: 4px;
  cursor: pointer;
}
.collection-sort select option {
  background: #202020;
  color: #ddd;
}
.collection-panel {
  animation: mono-view-in 0.25s var(--motion) both;
  min-height: 280px;
}
.collection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(165px, 1fr));
  gap: 28px 20px;
}
.collection-playlist-card {
  text-align: left;
  min-width: 0;
  align-self: start;
  border-radius: 14px;
  transition: transform 0.25s var(--motion);
}
.collection-playlist-card:hover {
  transform: translateY(-4px);
}
.collection-playlist-card:active {
  transform: scale(0.98);
}
.collection-card-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 650;
  margin-top: 13px;
  overflow-wrap: anywhere;
}
.collection-card-title > span {
  font-size: 13px;
  color: #777;
  flex-shrink: 0;
}
.collection-card-sub {
  display: block;
  margin-top: 4px;
  color: #858585;
  font-size: 10px;
}
.collection-art {
  position: relative;
  aspect-ratio: 1;
  border: 1px solid #ffffff0d;
  border-radius: 13px;
  overflow: hidden;
  background: #292929;
  isolation: isolate;
  flex-shrink: 0;
  box-shadow: 0 12px 28px #0003;
}
.collection-art-shape {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: radial-gradient(ellipse at 30% 20%, #686868, #2b2b2b 70%);
  color: #f0f0f0;
}
.collection-art-shape > svg {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 3px 10px #0006);
}
.collection-art-shape i {
  position: absolute;
  width: 76%;
  height: 76%;
  border: 1px solid #ffffff35;
  border-radius: 50%;
  transform: rotate(-35deg) rotateY(30deg);
}
.collection-art-shape i:nth-child(2) {
  width: 59%;
  height: 59%;
  border-width: 5px;
  border-color: #ffffff16;
  box-shadow: inset 1px 1px 3px #fff3;
}
.collection-art-shape i:nth-child(3) {
  width: 43%;
  height: 43%;
}
.collection-art-shape i:nth-child(4) {
  width: 90%;
  height: 90%;
  border-color: #ffffff14;
}
.art-style-1 .collection-art-shape {
  background: linear-gradient(140deg, #b3b3b3, #696969);
  color: #202020;
}
.art-style-1 .collection-art-shape i {
  border-radius: 12%;
  transform: rotate(30deg);
  border-color: #1113;
}
.art-style-2 .collection-art-shape {
  background: repeating-linear-gradient(
    135deg,
    #444 0px,
    #444 1px,
    #272727 2px,
    #272727 9px
  );
}
.art-style-2 .collection-art-shape i {
  border-radius: 0;
  transform: rotate(45deg);
  border-color: #ffffff30;
}
.art-style-3 .collection-art-shape {
  background: radial-gradient(ellipse at 10% 10%, #777, #161616 85%);
}
.art-style-3 .collection-art-shape i {
  transform: rotate(-35deg) rotateY(60deg);
  border-width: 5px;
  border-color: #ffffff18;
}
.collection-art-mark {
  position: absolute;
  top: 12px;
  left: 13px;
  font-size: 7px;
  letter-spacing: 0.18em;
  color: #fff9;
  z-index: 2;
}
.collection-art-index {
  position: absolute;
  bottom: 10px;
  right: 12px;
  color: #fff7;
  font-size: 10px;
  letter-spacing: 0.1em;
  z-index: 2;
}
.collection-art-images {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #333;
}
.collection-art-images img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}
.images-1 {
  grid-template-columns: 1fr;
}
.images-2 img {
  height: 100%;
}
.images-3 img:first-child {
  grid-row: span 2;
}
.collection-art-images:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(#0003, transparent 40%, #0004);
}
.collection-create-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 0;
  aspect-ratio: 1;
  border: 1px dashed #ffffff20;
  border-radius: 13px;
  background: #111;
  transition:
    background 0.2s,
    border-color 0.2s;
  text-align: center;
  padding: 18px;
}
.collection-create-card > span {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  color: #999;
  background: #ffffff06;
  border-radius: 50%;
  margin-bottom: 2px;
}
.collection-create-card strong {
  font-size: 11px;
  font-weight: 500;
}
.collection-create-card small {
  font-size: 9px;
  line-height: 1.5;
  color: #777;
}
.collection-create-card:hover {
  background: #191919;
  border-color: #ffffff40;
}
.collection-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 20px 54px;
  border-radius: 17px;
  border: 1px dashed #ffffff10;
  background: radial-gradient(ellipse at 50% 5%, #ffffff04, transparent 65%);
}
.collection-empty-icon {
  width: 80px;
  height: 80px;
  display: grid;
  place-items: center;
  background: #202020;
  border: 1px solid #ffffff0b;
  border-radius: 20px;
  margin-bottom: 23px;
  box-shadow:
    -7px 6px #141414,
    -8px 7px #ffffff09;
  color: #aaa;
}
.collection-empty h2 {
  font-size: 21px;
  letter-spacing: -0.7px;
  font-weight: 650;
  margin: 0 0 11px;
}
.collection-empty p {
  max-width: 300px;
  font-size: 11px;
  line-height: 1.8;
  color: #888;
  margin: 0 0 24px;
}
.collection-empty .mono-primary,
.collection-empty .btn {
  font-size: 11px;
}
.collection-empty-note {
  font-size: 9px;
  color: #666;
}
.collection-artists {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 25px;
}
.collection-artist {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 10px;
  text-align: center;
}
.collection-artist-avatar {
  display: grid;
  place-items: center;
  width: min(140px, 100%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(ellipse at 20% 10%, #777, #242424);
  color: #eee;
  font-size: 45px;
  overflow: hidden;
  transition: transform 0.25s var(--motion);
}
.collection-artist:hover .collection-artist-avatar {
  transform: scale(1.04);
}
.collection-artist-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.collection-artist strong {
  font-size: 12px;
  overflow-wrap: anywhere;
}
.collection-artist > span:last-child {
  font-size: 10px;
  color: #888;
}
.collection-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border-top: 1px solid #ffffff0b;
  margin-top: 32px;
  padding-top: 17px;
  font-size: 9px;
  color: #666;
}
.collection-footer > span,
.collection-footer > button {
  display: flex;
  align-items: center;
  gap: 8px;
}
.collection-footer > button {
  color: #aaa;
  padding: 5px 0;
}
.collection-footer > button span {
  font-size: 8px;
  color: #666;
  padding: 2px 5px;
  border: 1px solid #ffffff10;
  border-radius: 4px;
}
.playlist-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #919191;
  font-size: 11px;
  padding: 5px 0;
  transition: color 0.2s;
}
.playlist-back:hover {
  color: #fff;
}
.playlist-hero {
  display: flex;
  align-items: flex-end;
  gap: 33px;
  padding: 27px 0 31px;
}
.playlist-hero > .collection-art {
  width: 216px;
  border-radius: 17px;
  box-shadow: 0 16px 45px #0005;
}
.playlist-hero-copy {
  min-width: 0;
  padding-bottom: 8px;
}
.playlist-eyebrow {
  font-size: 8px;
  letter-spacing: 0.16em;
  color: #888;
}
.playlist-hero h1 {
  font-size: clamp(30px, 3.7vw, 58px);
  font-weight: 750;
  letter-spacing: -2px;
  line-height: 1.07;
  margin: 17px 0 14px;
  overflow-wrap: anywhere;
}
.playlist-description {
  font-size: 12px;
  color: #888;
  line-height: 1.6;
  margin: 0 0 24px;
}
.playlist-owner {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #999;
  font-size: 10px;
  flex-wrap: wrap;
  line-height: 1.4;
}
.playlist-owner-logo {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  color: #111;
  background: #ddd;
}
.playlist-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid #ffffff0d;
  border-bottom: 1px solid #ffffff0d;
  padding: 18px 0;
}
.playlist-play {
  font-size: 12px;
  min-width: 123px;
}
.playlist-shuffle {
  font-size: 11px;
  padding: 12px 15px;
  background: #1a1a1a;
  border: 1px solid #ffffff0b;
}
.playlist-private {
  margin-left: auto;
  font-size: 9px;
  color: #6f6f6f;
}
.playlist-more {
  font-size: 24px;
  line-height: 1;
  width: 40px;
  letter-spacing: 1px;
  background: #1c1c1c;
  border: 1px solid #ffffff08;
}
.playlist-controls button:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: none;
}
.playlist-track-section {
  padding-top: 29px;
}
.playlist-track-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 17px;
}
.playlist-track-heading h2 {
  font-size: 20px;
  letter-spacing: -0.6px;
  margin: 0;
}
.playlist-track-heading > span {
  font-size: 10px;
  color: #777;
}
.playlist-empty {
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
  padding: 40px 22px 50px;
  border: 1px dashed #ffffff10;
  border-radius: 16px;
  background: radial-gradient(ellipse at 50% 0, #ffffff03, transparent 65%);
}
.playlist-empty-lines {
  display: flex;
  flex-direction: column;
  gap: 9px;
  width: 140px;
  transform: rotate(-7deg);
  margin: 2px 0 30px;
  opacity: 0.6;
}
.playlist-empty-lines i {
  height: 10px;
  border-radius: 4px;
  background: linear-gradient(90deg, #555, #262626 80%);
  border: 1px solid #ffffff08;
}
.playlist-empty-lines i:nth-child(2) {
  width: 87%;
  margin-left: 9px;
}
.playlist-empty-lines i:nth-child(3) {
  width: 72%;
  margin-left: 18px;
}
.playlist-empty h2 {
  font-size: 20px;
  letter-spacing: -0.7px;
  margin: 0 0 11px;
}
.playlist-empty p {
  max-width: 310px;
  font-size: 11px;
  color: #888;
  line-height: 1.85;
  margin: 0 0 22px;
}
.playlist-empty .btn {
  font-size: 10px;
  background: #1b1b1b;
  border: 1px solid #ffffff0c;
}
.playlist-endnote {
  font-size: 8px;
  text-align: center;
  color: #5d5d5d;
  padding: 27px 0 4px;
  letter-spacing: 0.015em;
}
.playlist-missing-note {
  font-size: 10px;
  line-height: 1.7;
  color: #aaa;
  border: 1px solid #ffffff14;
  background: #ffffff05;
  padding: 12px 15px;
  border-radius: 10px;
}
.playlist-action-sheet {
  padding-top: 2px;
}
.playlist-sheet-preview {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 18px;
  margin-bottom: 7px;
  border-bottom: 1px solid #ffffff0b;
}
.playlist-sheet-preview > .collection-art {
  width: 57px;
  border-radius: 8px;
}
.playlist-sheet-preview .collection-art-mark,
.playlist-sheet-preview .collection-art-index {
  display: none;
}
.playlist-sheet-preview > .collection-art svg {
  width: 22px;
  height: 22px;
}
.playlist-sheet-preview strong {
  font-size: 13px;
  overflow-wrap: anywhere;
}
.playlist-sheet-preview p {
  font-size: 10px;
  color: #888;
  margin: 6px 0 0;
}
.playlist-action-sheet > button {
  display: flex;
  align-items: center;
  gap: 13px;
  text-align: left;
  width: 100%;
  min-height: 49px;
  padding: 12px 4px;
  font-size: 12px;
  border-radius: 9px;
  transition: background 0.18s;
}
.playlist-action-sheet > button:hover {
  background: #ffffff06;
}
.playlist-action-sheet > button > span {
  margin-left: auto;
  color: #777;
  font-size: 12px;
}
.playlist-action-sheet > button:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.playlist-action-sheet .playlist-delete-action {
  color: #ccc;
}
.playlist-sheet-note {
  font-size: 10px;
  line-height: 1.7;
  color: #777;
  margin: 15px 0 0;
}
.playlist-form-label {
  font-size: 11px;
  color: #aaa;
}
.playlist-inline-error {
  font-size: 11px;
  color: #ffb3ba;
  line-height: 1.6;
}
.playlist-delete-copy {
  font-size: 13px;
  line-height: 1.8;
  color: #aaa;
  overflow-wrap: anywhere;
  margin: 0;
}
.playlist-confirm-delete {
  background: #e4e4e4 !important;
  color: #191919 !important;
}
.playlist-reorder-list {
  max-height: 45dvh;
  overflow: auto;
  margin: 17px 0;
}
.playlist-reorder-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid #ffffff08;
}
.playlist-order-number {
  font-size: 10px;
  width: 15px;
  color: #777;
}
.playlist-order-meta {
  flex: 1;
  min-width: 0;
}
.playlist-order-meta strong,
.playlist-order-meta small {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.playlist-order-meta strong {
  font-size: 12px;
  font-weight: 500;
}
.playlist-order-meta small {
  font-size: 10px;
  color: #888;
  margin-top: 5px;
}
.playlist-reorder-row .icon-btn {
  min-width: 35px;
  min-height: 35px;
  background: #ffffff05;
}
.playlist-reorder-row button:disabled {
  opacity: 0.25;
  cursor: not-allowed;
}
.modal-sheet {
  width: min(430px, calc(100vw - 32px));
}
.modal-sheet .modal-head h3 {
  font-size: 17px;
  letter-spacing: -0.4px;
}
.modal-sheet .modal-head {
  margin-bottom: 20px;
}
.modal-sheet .modal-actions {
  margin-top: 22px;
}
.modal-sheet .btn {
  font-size: 11px;
}
.modal-sheet .modal-actions .btn {
  padding: 11px 16px;
}
.modal-sheet .text-input {
  font-size: 14px;
  border-color: #ffffff14;
}
.modal-sheet .text-input:focus {
  border-color: #ffffff55;
}
.playlist-screen .row,
.collection-screen .row {
  animation-delay: calc(min(var(--i, 0), 9) * 10ms);
}
.playlist-screen .col-actions {
  opacity: 1;
}
.playlist-screen .col-actions .pl-remove {
  color: #777;
}
.playlist-screen .col-actions .pl-remove:hover {
  color: #fff;
  background: #ffffff0e;
}
@media (min-width: 1500px) {
  .collection-grid {
    grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
  }
  .collection-quick-grid {
    gap: 22px;
  }
}
@media (max-width: 1100px) and (min-width: 901px) {
  .collection-heading h1 {
    font-size: 34px;
  }
  .collection-quick-grid {
    gap: 12px;
  }
  .collection-favorites-card,
  .collection-local-card {
    padding: 20px 17px;
    gap: 14px;
  }
  .collection-favorite-symbol {
    width: 48px;
    height: 48px;
  }
  .collection-quick-copy strong {
    font-size: 17px;
  }
  .collection-tabs {
    gap: 18px;
  }
  .collection-tabs > button {
    font-size: 12px;
  }
  .collection-sort select {
    max-width: 140px;
    font-size: 9px;
  }
  .playlist-hero {
    gap: 25px;
  }
  .playlist-hero > .collection-art {
    width: 180px;
  }
  .playlist-hero h1 {
    font-size: 39px;
  }
}
@media (max-width: 900px) {
  .collection-heading h1 {
    font-size: 35px;
  }
  .playlist-hero > .collection-art {
    width: 190px;
  }
  .playlist-hero {
    gap: 26px;
  }
  .playlist-hero h1 {
    font-size: 40px;
  }
}
@media (max-width: 620px) {
  .collection-screen,
  .playlist-screen {
    padding-top: 5px;
  }
  .collection-heading {
    align-items: center;
    gap: 12px;
    margin: 5px 0 23px;
  }
  .collection-heading h1 {
    font-size: 30px;
    letter-spacing: -1.2px;
  }
  .collection-heading .mono-overline {
    font-size: 7px;
    margin-bottom: 8px;
  }
  .collection-description {
    font-size: 10px;
    margin-top: 10px;
    line-height: 1.6;
    max-width: 190px;
  }
  .collection-new {
    width: 37px;
    height: 37px;
    min-height: 37px;
    border-radius: 50%;
    padding: 0;
    flex-shrink: 0;
  }
  .collection-new span {
    display: none;
  }
  .collection-new svg {
    width: 17px;
    height: 17px;
  }
  .collection-quick-grid {
    grid-template-columns: 1fr;
    gap: 11px;
    margin-bottom: 26px;
  }
  .collection-favorites-card {
    padding: 20px;
    gap: 19px;
    min-height: 112px;
    border-radius: 14px;
  }
  .collection-favorite-symbol {
    width: 57px;
    height: 57px;
  }
  .collection-favorite-symbol svg {
    width: 31px;
    height: 31px;
  }
  .collection-quick-copy strong {
    font-size: 21px;
    letter-spacing: -0.6px;
  }
  .collection-quick-copy {
    gap: 6px;
  }
  .collection-quick-label {
    font-size: 6px;
    letter-spacing: 0.14em;
  }
  .collection-quick-copy > span:last-child {
    font-size: 9px;
  }
  .collection-local-card {
    padding: 16px 18px;
    min-height: 83px;
    gap: 15px;
    border-radius: 13px;
    background: #161616;
  }
  .collection-local-symbol {
    width: 37px;
    height: 37px;
  }
  .collection-local-card .collection-quick-label {
    display: none;
  }
  .collection-local-card .collection-quick-copy strong {
    font-size: 12px;
    letter-spacing: 0;
  }
  .collection-local-card .collection-quick-copy > span:last-child {
    font-size: 8px;
    max-width: 220px;
  }
  .collection-quick-arrow {
    right: 15px;
    top: 13px;
    font-size: 13px;
  }
  .collection-toolbar {
    gap: 0;
    flex-wrap: wrap;
    margin-bottom: 19px;
    min-height: 0;
    border: 0;
  }
  .collection-tabs {
    width: 100%;
    gap: 24px;
    justify-content: flex-start;
    border-bottom: 1px solid #ffffff10;
    min-height: 39px;
    margin-bottom: 14px;
  }
  .collection-tabs > button {
    font-size: 12px;
    gap: 7px;
    padding-bottom: 13px;
  }
  .collection-tabs > button > span {
    font-size: 8px;
  }
  .collection-sort {
    margin-left: auto;
    padding: 0;
    gap: 5px;
    min-height: 18px;
  }
  .collection-sort select {
    font-size: 9px;
    max-width: 158px;
  }
  .collection-sort svg {
    width: 12px;
  }
  .collection-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 23px 13px;
  }
  .collection-art {
    border-radius: 12px;
  }
  .collection-art-mark {
    font-size: 6px;
    top: 10px;
    left: 10px;
  }
  .collection-art-index {
    font-size: 8px;
    bottom: 9px;
    right: 10px;
  }
  .collection-card-title {
    font-size: 11px;
    gap: 6px;
    margin-top: 11px;
  }
  .collection-card-sub {
    font-size: 9px;
  }
  .collection-create-card {
    border-radius: 12px;
    padding: 15px;
    gap: 8px;
  }
  .collection-create-card > span {
    width: 35px;
    height: 35px;
  }
  .collection-create-card > span svg {
    width: 24px;
    height: 24px;
  }
  .collection-create-card strong {
    font-size: 9px;
  }
  .collection-create-card small {
    font-size: 8px;
  }
  .collection-empty {
    padding: 31px 17px 35px;
    border-radius: 14px;
  }
  .collection-empty-icon {
    width: 63px;
    height: 63px;
    border-radius: 16px;
    margin-bottom: 23px;
  }
  .collection-empty-icon svg {
    width: 26px;
    height: 26px;
  }
  .collection-empty h2 {
    font-size: 18px;
    line-height: 1.3;
    letter-spacing: -0.6px;
  }
  .collection-empty p {
    font-size: 10px;
    line-height: 1.8;
    max-width: 250px;
    margin-bottom: 22px;
  }
  .collection-empty .mono-primary,
  .collection-empty .btn {
    font-size: 10px;
    min-height: 39px;
  }
  .collection-empty-note {
    font-size: 8px;
  }
  .collection-panel {
    min-height: 230px;
  }
  .collection-footer {
    margin-top: 25px;
    font-size: 8px;
    padding-top: 14px;
  }
  .collection-footer svg {
    width: 11px;
    height: 11px;
  }
  .collection-footer > button {
    gap: 6px;
  }
  .collection-artists {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 18px;
  }
  .collection-artist-avatar {
    width: 118px;
    font-size: 35px;
  }
  .collection-artist strong {
    font-size: 11px;
  }
  .collection-artist > span:last-child {
    font-size: 9px;
  }
  .playlist-back {
    font-size: 10px;
    gap: 5px;
    padding: 2px 0 5px;
  }
  .playlist-hero {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    padding: 22px 0 24px;
  }
  .playlist-hero > .collection-art {
    width: min(60vw, 230px);
    border-radius: 16px;
    box-shadow: 0 15px 45px #0005;
  }
  .playlist-hero-copy {
    width: 100%;
    padding: 0;
  }
  .playlist-eyebrow {
    font-size: 6px;
    letter-spacing: 0.16em;
  }
  .playlist-hero h1 {
    font-size: 32px;
    letter-spacing: -1.15px;
    margin: 11px 0 10px;
    line-height: 1.12;
  }
  .playlist-description {
    font-size: 10px;
    margin-bottom: 14px;
  }
  .playlist-owner {
    justify-content: center;
    font-size: 8px;
    gap: 7px;
    line-height: 1.6;
  }
  .playlist-owner-logo {
    width: 17px;
    height: 17px;
  }
  .playlist-owner-logo svg {
    width: 10px;
  }
  .playlist-controls {
    padding: 16px 0;
    gap: 9px;
  }
  .playlist-play {
    min-width: 113px;
    padding: 12px 17px;
    font-size: 11px;
    min-height: 40px;
  }
  .playlist-play svg {
    width: 15px;
    height: 15px;
  }
  .playlist-shuffle {
    font-size: 10px;
    padding: 11px 12px;
    min-height: 40px;
  }
  .playlist-shuffle svg {
    width: 15px;
    height: 15px;
  }
  .playlist-private {
    display: none;
  }
  .playlist-more {
    margin-left: auto;
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
    border-radius: 50%;
    font-size: 24px;
    padding-bottom: 5px;
  }
  .playlist-track-section {
    padding-top: 25px;
  }
  .playlist-track-heading {
    margin-bottom: 15px;
  }
  .playlist-track-heading h2 {
    font-size: 18px;
  }
  .playlist-track-heading > span {
    font-size: 9px;
  }
  .playlist-empty {
    padding: 33px 17px 35px;
    border-radius: 14px;
  }
  .playlist-empty-lines {
    width: 116px;
    gap: 8px;
    margin: 3px 0 26px;
  }
  .playlist-empty-lines i {
    height: 9px;
  }
  .playlist-empty h2 {
    font-size: 17px;
    line-height: 1.35;
    letter-spacing: -0.5px;
  }
  .playlist-empty p {
    font-size: 10px;
    line-height: 1.8;
    margin-bottom: 21px;
    max-width: 255px;
  }
  .playlist-empty .btn {
    font-size: 9px;
    min-height: 38px;
  }
  .playlist-endnote {
    padding-top: 23px;
    font-size: 7px;
  }
  .playlist-missing-note {
    font-size: 9px;
    padding: 11px 12px;
  }
  .playlist-screen .tracklist.no-album .thead,
  .playlist-screen .tracklist.no-album .row {
    grid-template-columns: 36px minmax(0, 1fr) 60px 30px;
    gap: 9px;
  }
  .playlist-screen .col-num {
    display: none;
  }
  .playlist-screen .col-cover .cover {
    width: 36px !important;
    height: 36px !important;
  }
  .playlist-screen .row-title {
    font-size: 11px;
  }
  .playlist-screen .row-artist {
    font-size: 9px;
  }
  .playlist-screen .col-dur {
    font-size: 9px;
  }
  .playlist-screen .col-actions .icon-btn {
    width: 27px;
    height: 35px;
    padding: 5px;
  }
  .playlist-screen .thead > span:first-child {
    display: none;
  }
  .collection-screen .thead,
  .collection-screen .row {
    grid-template-columns: 18px 36px minmax(0, 1fr) 28px 29px;
    gap: 7px;
  }
  .collection-screen .col-actions .pl-add {
    display: none;
  }
  .collection-screen .col-actions .icon-btn {
    width: 27px;
  }
  .collection-screen .row-title {
    font-size: 11px;
  }
  .collection-screen .row-artist {
    font-size: 9px;
  }
  .variant-sheet.modal-backdrop {
    align-items: flex-end;
    padding: 0;
    background: #000a;
    backdrop-filter: blur(8px);
  }
  .modal.modal-sheet {
    width: 100%;
    max-width: none;
    max-height: calc(100dvh - 28px);
    overflow: auto;
    border-radius: 23px 23px 0 0;
    margin: 0;
    padding: 27px 22px calc(22px + env(safe-area-inset-bottom, 0px));
    animation: playlist-sheet-in 0.3s var(--motion) both;
    border: 1px solid #ffffff16;
    border-bottom: 0;
    background: #1a1a1a;
  }
  .modal-sheet:before {
    content: "";
    position: absolute;
    top: 10px;
    left: calc(50% - 16px);
    width: 32px;
    height: 3px;
    background: #ffffff25;
    border-radius: 3px;
  }
  .modal-sheet .modal-head {
    margin-bottom: 19px;
  }
  .modal-sheet .modal-head h3 {
    font-size: 18px;
    letter-spacing: -0.4px;
  }
  .modal-sheet .modal-head .icon-btn {
    min-width: 33px;
    min-height: 33px;
    width: 33px;
    height: 33px;
    background: #ffffff07;
    border-radius: 50%;
  }
  .modal-sheet .modal-actions {
    margin-top: 23px;
  }
  .modal-sheet .modal-actions .btn {
    flex: 1;
    min-height: 43px;
    font-size: 11px;
    padding: 12px;
  }
  .playlist-sheet-preview {
    gap: 13px;
    padding-bottom: 17px;
    margin-bottom: 7px;
  }
  .playlist-sheet-preview > .collection-art {
    width: 56px;
  }
  .playlist-action-sheet > button {
    min-height: 52px;
    font-size: 13px;
    padding: 13px 3px;
    gap: 14px;
  }
  .playlist-sheet-note {
    font-size: 10px;
    margin-top: 13px;
    line-height: 1.7;
  }
  .playlist-reorder-list {
    max-height: 42dvh;
  }
  .playlist-reorder-row {
    gap: 8px;
    padding: 12px 0;
  }
  .playlist-reorder-row .icon-btn {
    min-width: 37px;
    min-height: 37px;
  }
  .playlist-order-meta strong {
    font-size: 12px;
  }
  .playlist-order-meta small {
    font-size: 10px;
  }
  .playlist-delete-copy {
    font-size: 12px;
  }
  .playlist-form-label {
    font-size: 11px;
  }
  .modal-sheet .text-input {
    font-size: 16px;
    min-height: 47px;
  }
}
@media (max-width: 365px) {
  .collection-tabs {
    gap: 18px;
  }
  .collection-tabs > button {
    font-size: 11px;
  }
  .collection-new {
    width: 34px;
    height: 34px;
    min-height: 34px;
  }
  .collection-quick-copy strong {
    font-size: 19px;
  }
  .collection-favorites-card {
    gap: 14px;
    padding: 18px;
  }
  .playlist-shuffle span {
    display: none;
  }
  .playlist-shuffle {
    width: 41px;
    padding: 11px;
  }
  .playlist-hero h1 {
    font-size: 29px;
  }
  .collection-heading h1 {
    font-size: 28px;
  }
}
@keyframes playlist-sheet-in {
  from {
    opacity: 0;
    transform: translateY(35px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .collection-panel,
  .modal.modal-sheet {
    animation: none !important;
  }
  .collection-playlist-card,
  .collection-artist-avatar,
  .collection-favorites-card,
  .collection-local-card {
    transition: none !important;
  }
}
@media (max-width: 620px) {
  .collection-description {
    font-size: 11px;
  }
  .collection-card-title {
    font-size: 12px;
  }
  .collection-card-sub {
    font-size: 10px;
  }
  .collection-local-card .collection-quick-copy > span:last-child {
    font-size: 9px;
  }
  .collection-local-card .collection-quick-copy strong {
    font-size: 13px;
  }
  .playlist-hero {
    gap: 17px;
    padding-top: 19px;
    padding-bottom: 22px;
  }
  .playlist-hero > .collection-art {
    width: min(48vw, 190px);
  }
  .playlist-eyebrow {
    font-size: 8px;
  }
  .playlist-description {
    font-size: 11px;
  }
  .playlist-owner {
    font-size: 10px;
  }
  .playlist-hero h1 {
    font-size: 30px;
  }
}
