@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

html, body {
margin: 0;
padding: 0;
background-color: rgb(30, 30, 30);
font-family:  Inter, sans-serif;
font-size: 16px;
color: white;
}

button,
input,
select,
textarea {
  font-family: Inter, sans-serif;
}

:root {
  --shadow-s: inset 0 1px 2px #ffffff30, /* top highlight */ 0 1px 2px #00000030,
    /* dark shadow */ 0 2px 4px #00000015; /* soft shadow */
  --shadow-m: inset 0 1px 2px #ffffff50, /* top highlight */ 0 2px 4px #00000030,
    /* dark shadow */ 0 4px 8px #00000015; /* soft shadow */
  --shadow-l: inset 0 1px 2px #ffffff70, /* top highlight */ 0 4px 6px #00000030,
    /* dark shadow */ 0 6px 10px #00000015; /* soft shadow */

  --mi-surface-1: #252525;
  --mi-surface-2: #1a1a1a;
  --mi-border: #3a3a3a;
  --mi-border-strong: #434343;
  --mi-text-primary: #f0f0f0;
  --mi-text-secondary: #b8b8b8;
  --mi-title-size: 1.25rem;
  --mi-shell-radius: 14px;
  --mi-shell-padding: 18px;
  --mi-shell-gap: 12px;
  --mi-shell-bg: linear-gradient(180deg, #2b2b2b, #252525);
}

.mi-shell {
  background: var(--mi-shell-bg);
  border: 1px solid var(--mi-border);
  border-radius: var(--mi-shell-radius);
  padding: var(--mi-shell-padding);
  box-sizing: border-box;
}

.mi-shell-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--mi-shell-gap);
  flex-wrap: wrap;
  margin: 0 0 var(--mi-shell-gap);
}

.mi-shell-title {
  margin: 0;
  font-size: var(--mi-title-size);
  font-weight: 600;
  color: var(--mi-text-primary);
  letter-spacing: 0.01em;
}

.mi-shell-actions {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.mi-state {
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  border: 1px dashed #4a4a4a;
  border-radius: 10px;
  color: #adadad;
  background: rgba(16, 16, 16, 0.45);
  padding: 16px 14px;
  font-size: 0.95rem;
}

.mi-state--error {
  border-color: #a66060;
  color: #e4b7b7;
  background: rgba(64, 23, 23, 0.35);
}

.mi-skeleton {
  position: relative;
  overflow: hidden;
}

.mi-skeleton::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.08) 50%, transparent 100%);
  transform: translateX(-100%);
  animation: mi-skeleton-sweep 1.15s ease-in-out infinite;
}

@keyframes mi-skeleton-sweep {
  to {
    transform: translateX(100%);
  }
}

.mi-skeleton-block {
  height: 12px;
  border-radius: 8px;
  background: #323232;
}

.mi-skeleton-block.is-short {
  width: 54%;
}

.mi-skeleton-block.is-mid {
  width: 72%;
}

.mi-skeleton-block.is-full {
  width: 100%;
}
.nav-bar{
  justify-content: center;
  align-items: center;
  display: flex;
  width: 100%;
  height: 65px;
  box-sizing: border-box;
  padding: 0 12px;
  background-color: rgb(20, 20, 20);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  top: 0;
}

.nav-bar a{
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  
}


.svg-logo {
  display: flex;
  width: 65px;
  height: 65px;
  align-items: center;
  justify-content: center;
}
.name-logo {
  color: #E6E6E6;
  font-size: 2.25rem;
  font-weight: bold;
  color: E6E6E6;
  line-height: 65px;
  margin-left: -7px;
  align-items: center;
  justify-content: center;
}

.about-us-but {
  color: #E6E6E6;
  display: flex;
  width: 40px;
  height: 36px;
  cursor: pointer;
  background-color: #282828;
  border-radius: 10px;
  margin-top: 4.5px;
  margin-left: 15px;
  border: #1E1E1E 1px solid ;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s, border-color 0.3s;;

}

.about-us-but:hover {
  background-color: #E1E1E1;
  border: #969696 1px solid ;
}

.search-bar {
  display: flex;
  position: relative;
  width: 398px;
  height: 38px;
  cursor: pointer;
  background-color: #282828;
  border-radius: 10px;
  margin-top: 4.5px;
  margin-left: 15px;
  border: #1E1E1E 1px solid ;
  align-items: center;
  justify-content: left; 
  
}



.search-icon {
  width: 40px;         
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s;
  border-radius: 10px;
}

.search-icon:hover {
  background-color: #E1E1E1;
  
}

.search-input {
  flex: 1; 
  border: none;
  outline: none;
  background: transparent;
  color: #969696;
  font-size: 1rem;
  padding-left: 5px;
}

.sing-in-but {
  color: #E6E6E6;
  font-size: 1.25rem;
  display: flex;
  width: 85px;
  height: 38px;
  cursor: pointer;
  background-color: #282828;
  border-radius: 10px;
  margin-top: 4.5px;
  margin-left: 15px;
  border: #1E1E1E 1px solid ;
  align-items: center;
  justify-content: center;
  transition: color 0.3s,background-color 0.3s, border-color 0.3s;
 
}

.sing-in-but:hover {
  background-color: #E1E1E1;
  color: #969696;
  border: #969696 1px solid ;
}

.sing-up-but {
  font-size: 1.25rem;
  
  display: flex;
  width: 156px;
  height: 38px;
  cursor: pointer;
  background-color: #C8C8C8;
  border-radius: 10px;
  margin-top: 4.5px;
  margin-left: 15px;
  border: #969696 1px solid ;
  align-items: center;
  justify-content: center;
  transition: color 0.3s,background-color 0.3s, border-color 0.3s;
  color: #1E1E1E;
}

.sing-up-but:hover {
  background-color: #282828;
  color: #C8C8C8;
  border: #1E1E1E 1px solid ;
}

/* Profile section */
.profile-section {
  display: flex;
  align-items: center;
  margin-left: 15px;
  gap: 10px;
}

.profile-nickname {
  color: #E6E6E6;
  font-size: 1.25rem;
  font-weight: 500;
}

.profile-avatar-link {
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 2px solid #1E1E1E;
}

.profile-avatar:hover {
  transform: scale(1.05);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.nav-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border: 1px solid #1e1e1e;
  border-radius: 10px;
  background: #282828;
  color: #e6e6e6;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  background: #d9d9d9;
  border-radius: 999px;
}

.nav-mobile-panel {
  display: flex;
  align-items: center;
}



.container {
  display: flex;
  min-height: calc(100dvh - 65px);
  height: auto;
  justify-content: center;
}

.home-page .container {
  min-height: calc(100vh - 65px);
  height: auto;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 180px),
    #1e1e1e;
}

.home-page .main-content {
  width: 1122px;
  max-width: 100%;
  padding: 18px 20px 42px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.home-page .text-h1 {
  font-size: 2.35rem;
  margin-bottom: 12px;
  color: #f1f1f1;
  letter-spacing: 0.01em;
}

.home-page .text-p {
  margin: 0 auto;
  max-width: 780px;
  color: #b7b7b7;
  font-size: 1.02rem;
  line-height: 1.55;
  text-align: center;
}

.home-page .song-class {
  margin-top: 18px;
  margin-bottom: 8px;
}

.home-page .singl-class,
.home-page .album-class {
  background: #2a2a2a;
  border: 1px solid #3a3a3a;
  border-radius: 999px;
  padding: 6px 12px;
}

.home-page .last-added-tracks-main,
.home-page .reviews-wrapper {
  background: var(--mi-shell-bg);
  border: 1px solid var(--mi-border);
  border-radius: var(--mi-shell-radius);
}

.home-page .last-added-tracks-main,
.home-page .reviews-wrapper,
.home-page .monthly-releases {
  width: min(100%, 1082px);
  box-sizing: border-box;
  margin-left: auto;
  margin-right: auto;
}

.home-page .last-added-tracks-main {
  margin-top: 18px;
}

.home-page .last-added-tracks-main .nav-last-added-text {
  position: sticky;
  top: 0;
  z-index: 3;
  margin-top: 0;
  padding-top: 4px;
  padding-bottom: 10px;
  background: transparent;
  border-bottom: none;
}

.home-page .reviews-wrapper {
  padding: var(--mi-shell-padding);
  box-sizing: border-box;
}

.home-page .monthly-releases-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

.home-page .monthly-releases-grid .release-card-link,
.home-page .monthly-releases-grid .release-card {
  width: 100%;
  min-width: 0;
}

.home-page .monthly-releases-grid .release-card {
  max-width: none;
}

.home-page .monthly-releases-grid .release-cover-wrapper {
  width: 100%;
  max-width: 150px;
  height: auto;
  aspect-ratio: 1 / 1;
}

@media (max-width: 1120px) {
  .home-page .last-added-tracks-main,
  .home-page .reviews-wrapper,
  .home-page .monthly-releases {
    width: 100%;
  }
}

.main-content {
  margin-top: 1.25rem;
  color: white;
  text-align: center;
  width: 1122px;
  max-width: 100%;
}
.text-h1 {
  font-size: 2.25rem;
  font-weight: bold;
  margin-bottom: 10px;
}
.song-class {
  margin: 7px;
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 20px; /* adjust to align tooltip with track image */

}

.song-class svg{
  fill: white;
  width: 16px;
  height: 16px;
  margin-right: 3px;
  padding: 4px;
  background-color: rgb(15, 15, 15);
  border-radius: 180px;
  font-weight: light;
}

.singl-class, .album-class {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  line-height: 1.5;
}


[data-tooltip] {
  position: relative;
  cursor: pointer;
}

[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: -125%; 
  left: 50%;
  transform: translateX(-50%);
  background: #333;
  color: #E1E1E1;
  padding: 5px 10px;
  border-radius: 10px;
  font-size: 0.8rem;
  white-space: nowrap;
  
  pointer-events: none;
  transition: 0.2s;
  opacity: 0;
}

[data-tooltip]:hover::after {
  opacity: 1;
}


/* New styles for last added tracks section */

.last-added-tracks-main {
  display: flex;
  flex-direction: column;
  margin: 20px auto;
  padding: var(--mi-shell-padding);
  background-color: #333333;
  border-radius: var(--mi-shell-radius);
  width: 100%;
  max-width: 1082px;
  box-sizing: border-box;
  box-shadow: var(--shadow-s);
  
}

.nav-last-added-text {
  display: flex;
  align-items: center;
  justify-content: space-between; /* название слева, кнопки справа */
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-left: auto;
  max-width: 100%;
}

.but-prev-last-added-tracks,
.but-next-last-added-tracks {
  cursor: pointer;
  padding: 6px 10px;
  background-color: #282828;
  border-radius: 180px;
  color: white;
  user-select: none;
  border: 1px solid #1e1e1e;
  transition: color 0.3s,background-color 0.3s, border-color 0.3s;

}
.but-last-added-all{
text-decoration: none;
}
.but-prev-last-added-tracks:hover,
.but-next-last-added-tracks:hover,
.but-last-added-all:hover {
  background-color: #E1E1E1;
  color: #969696;
  border: #969696 1px solid ;

}

.but-prev-last-added-tracks.is-disabled,
.but-next-last-added-tracks.is-disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}




.last-added-tracks-wrapper {
  width: 100%;
  overflow: hidden;
  padding-right: 0;
  box-sizing: border-box;
}

.last-added-tracks {
  display: flex;
  gap: 16px;
  padding-top: 4px;
  padding-right: 18px;
  padding-bottom: 2px;
  overflow-x: hidden;
  overflow-y: hidden;
  scroll-behavior: smooth;
}

.but-last-added-all{
  border: 1px solid #1e1e1e;
  cursor: pointer;
  padding: 8px 10px;
  background-color: #282828;
  border-radius: 10px;
  color: white;
  user-select: none;
  transition: color 0.3s,background-color 0.3s, border-color 0.3s;
}

/* Add Release button styling */
.add-release-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  background-color: #C8C8C8;
  border: #969696 1px solid;
  border-radius: 10px;
  color: #1E1E1E;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  user-select: none;
  transition: color 0.3s, background-color 0.3s, border-color 0.3s;
}

.add-release-btn:hover {
  background-color: #282828;
  color: #C8C8C8;
  border: #1E1E1E 1px solid;
}

.add-release-btn.is-hidden {
  display: none;
}

.nav-last-added-text-text{
  font-size: var(--mi-title-size);
  font-weight: 600;
  color: var(--mi-text-primary);
}

.nav-last-added-text-text a {
  text-decoration: none;
  color: inherit;
}

.track-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  width: 161px;
  height: 255px;
  padding: 5px;
  background-color: #141414;
  border-radius: 12px;
  cursor: pointer;
  flex: 0 0 auto;
  box-sizing: border-box;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.track-main-link {
  width: 100%;
  color: inherit;
  text-decoration: none;
}

.track-card a,
.track-card a:hover,
.track-card a:visited,
.track-card a:active {
  text-decoration: none;
  color: inherit;
}

.track-card:hover {
  transform: translateY(-6px);
}

.track-card-home {
  height: 255px;
}

.track-creator-link {
  display: none !important;
}

.track-creator-link:hover {
  color: #f0f0f0;
}

.track-creator-link.is-static {
  display: none !important;
}

.track-creator-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #3a3a3a;
  flex-shrink: 0;
}

.track-creator-name {
  font-size: 0.82rem;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.track-cover {
  width: 150px !important;
  height: 150px !important;
  max-width: 150px;
  max-height: 150px;
  border-radius: 8px;
  object-fit: cover;
  margin: 0 auto;
  display: block;
}

.track-cover-wrapper {
  position: relative;
  display: inline-block;
  width: 150px;
  height: 150px;
}

.track-badge {
  position: absolute;
  bottom: 6px;
  right: 2px;
  background: rgba(15, 15, 15, 0.8);
  border-radius: 50%;
  padding: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.track-badge svg {
  width: 16px;
  height: 16px;
  fill: white;
}



.track-info {
  width: 100%;
  text-align: left;
  padding-left: 5px;
  font-weight: bold;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.track-title {
  font-size: 0.9rem;
  color: #fff;
}

.track-artist {
  font-size: 0.9rem;
  color: #aaa;
}

.rewiews-badges {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-top: auto;      /* прижимаем к низу */
  align-self: flex-end;   /* прижимаем к правому краю */
}

.rewiews-badge-people, .rewiews-badge-MI {
  color: #fff;
  font-size: 0.9rem;
  padding: 2px 10px;
  border-radius: 10px;
  text-align: center;
  font-weight: bold;
  
}

.rewiews-badge-people {
  border: #3B82F6 2px solid;
}

.rewiews-badge-MI {
  padding: 4px 10px;
  background-color: #3B82F6;
}

.reviews-wrapper {
  width: 100%;
  max-width: 1082px;
  background: transparent;
  color: var(--mi-text-primary);
  font-family: inherit;
  box-sizing: border-box;
}

.reviews-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--mi-shell-gap);
}

.reviews-title {
  font-size: var(--mi-title-size);
  font-weight: 600;
  color: var(--mi-text-primary);
}

.reviews-open-all {
  border: 1px solid #1e1e1e;
  cursor: pointer;
  padding: 8px 10px;
  background-color: #282828;
  border-radius: 10px;
  color: white;
  user-select: none;
  transition: color 0.3s, background-color 0.3s, border-color 0.3s;
  font-size: 1rem;
}

.reviews-open-all:hover {
  background-color: #E1E1E1;
  color: #969696;
  border: #969696 1px solid;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.review-card {
  background: #1b1b1b;
  border-radius: 10px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  transition: transform 0.2s ease;
}

.review-card.expanded .review-text {
  max-height: none;
  transition: max-height 0.3s ease;
}

.review-card:not(.expanded) .review-text {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: opacity 0.2s ease;
}


.review-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #2a2a2a;
  padding: 8px 12px;
  border-radius: 8px;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.review-author-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}

.review-author-link:hover .review-author-name {
  color: #ffffff;
}

.review-author-link.is-static {
  pointer-events: none;
}

.review-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid #1E1E1E;
}

.review-author-name {
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.mi-badge {
  background: linear-gradient(90deg, #ffd700, #ffb700);
  color: #000;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}

.review-right {
  display: flex;
  align-items: center; /* вертикальное выравнивание по середине */
  justify-content: flex-end; /* прижать к правому краю */
  gap: 10px; /* расстояние между оценками и картинкой */
}

.review-scores {
  display: flex;
  flex-direction: column;
  align-items: flex-end; /* выравниваем числа справа */
}

.review-score {
  font-size: 1.3rem;
  font-weight: 700;
}

.review-subscores {
  font-size: 0.8rem;
  color: #aaa;
}

.review-cover {
  width: 50px;
  height: 50px;
  border-radius: 6px;
  border: 2px solid #1E1E1E;
}

.review-cover-link {
  display: block;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.review-cover-link:hover {
  transform: scale(1.1);
}

.review-cover-link .review-cover {
  display: block;
}


.review-body {
  margin-top: 10px;
}

.review-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 6px;
  text-align: left;
}

.review-text {
  font-size: 0.95rem;
  line-height: 1.4;
  color: #ccc;
  text-align: left;
}

.review-footer {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  margin-top: 8px;
}

.review-footer:empty {
  display: none;
}

.review-btn {
  background-color: #282828;
  border: 1px solid #1e1e1e;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  font-size: 1rem;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: color 0.3s, background-color 0.3s, border-color 0.3s;
}
.review-btn:hover {
  background-color: #E1E1E1;
  color: #969696;
  border: #969696 1px solid;
}

@media (max-width: 1100px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }
}

/* Monthly releases styles */
.monthly-releases {
  margin-top: 20px;
}

.monthly-releases-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 16px;
}

/* Old monthly-releases-grid removed - using unified version below */

.ап {
  background: #1b1b1b;
  border-radius: 10px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  width: 250px;
  transition: transform 0.2s ease;
}

.release-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Prevent inner elements from animating on hover */
.release-card .release-cover,
.release-card .release-title,
.release-card .album-title,
.release-card .release-info {
  transition: none;
  transform: none;
}

.release-cover-wrapper {
  position: relative;
  width: 100%;
  height: 200px;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 10px;
}

.release-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.release-info {
  text-align: center;
}

.release-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.release-artist {
  font-size: 0.9rem;
  color: #ccc;
  margin-bottom: 4px;
}

.release-date {
  font-size: 0.8rem;
  color: #aaa;
  margin-bottom: 8px;
}

.release-description {
  font-size: 0.85rem;
  color: #ddd;
  line-height: 1.4;
}

/* Expand animation */
.review-card.expanded .review-text {
  max-height: none;
  transition: max-height 0.3s ease;
}

.review-card:not(.expanded) .review-text {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: opacity 0.2s ease;
}

/* Review full page styles */
.review-full {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.review-full .review-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 20px;
  text-align: center;
}

.review-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.review-cover-full {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 10px;
  margin: 20px auto;
  display: block;
}

.review-text-full {
  font-size: 1.2rem;
  line-height: 1.6;
  text-align: justify;
  margin-top: 20px;
}

/* Releases page styles */
.releases-page {
  --release-card-width: 161px;
  --releases-gap: 16px;
  --releases-columns: 6;
  --releases-grid-width: calc(var(--releases-columns) * var(--release-card-width) + (var(--releases-columns) - 1) * var(--releases-gap));
}

.releases-page .container {
  min-height: calc(100vh - 65px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 160px),
    #1e1e1e;
}

.releases-page .main-content {
  width: 1122px;
  padding: 18px 20px 28px;
  box-sizing: border-box;
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 12px;
  margin: 18px auto 28px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
}

.releases-headline {
  font-size: 1.9rem;
  font-weight: 700;
  text-align: left;
  margin-bottom: 14px;
  color: #ececec;
}

.sort-section {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.releases-search-section {
  display: none;
  margin-bottom: 12px;
}

.releases-search-input {
  width: 100%;
  height: 38px;
  box-sizing: border-box;
  border: 1px solid #2f2f2f;
  border-radius: 10px;
  background: #222;
  color: #e1e1e1;
  font-size: 0.95rem;
  padding: 0 12px;
}

.releases-search-input:focus {
  outline: none;
  border-color: #5a5a5a;
}

.releases-headline,
.releases-search-section,
.sort-section,
.releases-grid {
  width: min(100%, var(--releases-grid-width));
  margin-left: auto;
  margin-right: auto;
}

.sort-btn {
  min-width: 188px;
  height: 38px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #282828;
  border: 1px solid #1e1e1e;
  border-radius: 10px;
  color: white;
  cursor: pointer;
  user-select: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.3s, background-color 0.3s, border-color 0.3s;
}

.sort-btn:hover {
  background-color: #E1E1E1;
  color: #969696;
  border: #969696 1px solid;
}

.sort-btn.is-active {
  background-color: #E1E1E1;
  color: #969696;
  border: #969696 1px solid;
}

.releases-page .search-bar {
  position: relative;
}

.nav-search-suggestions {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #1f1f1f;
  border: 1px solid #3a3a3a;
  border-radius: 10px;
  z-index: 50;
  max-height: 280px;
  overflow-y: auto;
  display: none;
}

.nav-search-suggestion {
  width: 100%;
  border: none;
  border-bottom: 1px solid #2d2d2d;
  background: transparent;
  color: #e1e1e1;
  text-align: left;
  padding: 9px 11px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.nav-search-suggestion-main {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.nav-search-suggestion-icon {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid #353535;
  background: #1a1a1a;
}

.nav-search-suggestion-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-search-suggestion:last-child {
  border-bottom: none;
}

.nav-search-suggestion:hover {
  background: #2a2a2a;
}

.nav-search-suggestion.is-active {
  background: #2a2a2a;
}

.nav-search-suggestion-type {
  color: #969696;
  font-size: 0.82rem;
  white-space: nowrap;
}

.releases-grid {
  display: grid;
  grid-template-columns: repeat(var(--releases-columns), var(--release-card-width));
  gap: var(--releases-gap);
  justify-content: start;
  align-items: start;
}

@media (max-width: 1120px) {
  .releases-page {
    --releases-columns: 5;
  }
}

@media (max-width: 960px) {
  .releases-page {
    --releases-columns: 4;
  }
}

@media (max-width: 780px) {
  .releases-page {
    --releases-columns: 3;
  }
}

@media (max-width: 768px) {
  .releases-search-section {
    display: block;
  }

  .home-page .monthly-releases-grid > *:nth-child(n + 4) {
    display: none;
  }
}

@media (max-width: 600px) {
  .releases-page {
    --releases-columns: 2;
  }
}

.releases-page .releases-grid .track-card {
  border: 1px solid #2f2f2f;
  background: linear-gradient(180deg, #181818, #121212);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.releases-page .releases-grid .track-card:hover {
  transform: translateY(-4px);
  border-color: #4f4f4f;
}

.releases-empty {
  grid-column: 1 / -1;
  padding: 28px;
  border-radius: 10px;
  text-align: center;
  color: #b5b5b5;
  background: #232323;
  border: 1px solid #3a3a3a;
}

/* Tier badges for releases */
/* Auth forms */
.auth-form {
  max-width: 500px;
  margin: 50px auto;
  background: #1b1b1b;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.auth-form h2 {
  text-align: center;
  margin-bottom: 20px;
}

.auth-form input {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #333;
  border-radius: 5px;
  background: #2a2a2a;
  color: white;
}

.auth-form button {
  width: 100%;
  padding: 10px;
  background: #007bff;
  border: none;
  border-radius: 5px;
  color: white;
  cursor: pointer;
  margin-top: 10px;
}

.auth-form button:hover {
  background: #0056b3;
}

.auth-form button:disabled {
  background: #666;
  cursor: not-allowed;
}

/* Monthly releases styles - match last-added-tracks-main */
.monthly-releases-container {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-bottom: 60px;
}

.monthly-releases {
  display: flex;
  flex-direction: column;
  margin: 20px auto;
  padding: var(--mi-shell-padding);
  background: var(--mi-shell-bg);
  border: 1px solid var(--mi-border);
  border-radius: var(--mi-shell-radius);
  width: 100%;
  max-width: 1082px;
  box-sizing: border-box;
}

.monthly-releases-title {
  font-size: var(--mi-title-size);
  font-weight: 600;
  color: var(--mi-text-primary);
  margin-bottom: 12px;
}

.monthly-releases-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  overflow: visible;
  justify-content: flex-start;
  min-width: 0;
  padding-bottom: 20px;
}

.release-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 166px;
  min-height: 255px;
  max-height: none;
  padding: 5.5px;
  background: transparent;
  border-radius: 12px;
  will-change: transform;
  transform: translateZ(0);
  cursor: pointer;
  flex: 0 0 auto;
  box-sizing: border-box;
  position: relative;
  will-change: transform;
  transform-style: preserve-3d;
  transition: box-shadow 0.3s ease;
  overflow: visible;
}

.release-card[data-tier="gold"] {
  --tier-color: #E3D323;
  background: linear-gradient(to bottom, #E3D323, #0F0F0F);
  border: 2px solid var(--tier-color);
}

.release-card[data-tier="silver"] {
  --tier-color: #C0C0C0;
  background: linear-gradient(to bottom, #C0C0C0, #0F0F0F);
  border: 2px solid var(--tier-color);
}

.release-card[data-tier="bronze"] {
  --tier-color: #CD7F32;
  background: linear-gradient(to bottom, #CD7F32, #0F0F0F);
  border: 2px solid var(--tier-color);
}

.release-card:not([data-tier="gold"]):not([data-tier="silver"]):not([data-tier="bronze"]) {
  border: 1px solid #444;
}

/* Placeholder cards - look like real cards but dimmed */
.release-card-placeholder,
.track-card-placeholder {
  opacity: 0.85;
  filter: brightness(0.88);
  pointer-events: none;
  cursor: default;
  position: relative;
}

.release-card-placeholder::after,
.track-card-placeholder::after {
  content: "placeholder";
  position: absolute;
  top: 4px;
  right: 4px;
  font-size: 0.6rem;
  color: #666;
  background: rgba(0, 0, 0, 0.5);
  padding: 2px 4px;
  border-radius: 4px;
  opacity: 0.7;
}

.release-card-placeholder .placeholder-cover,
.track-card-placeholder .placeholder-cover {
  width: 150px !important;
  height: 150px !important;
  min-width: 150px;
  min-height: 150px;
  max-width: 150px;
  max-height: 150px;
  background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-sizing: border-box;
}

.release-cover-wrapper {
  position: relative;
  display: inline-block;
  width: 150px;
  height: 150px;
  border-radius: 8px;
  overflow: hidden;
  margin: 0 auto;
  flex-shrink: 0;
}

.release-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.release-card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  width: 166px;
  flex: 0 0 auto;
}

/* Hide empty release card links */
.release-card-link:empty {
  display: none;
}

.track-card-link {
  text-decoration: none;
  color: inherit;
  display: inline-flex;
  flex: 0 0 auto;
}

.track-card-link.track-card {
  text-decoration: none;
  color: inherit;
}

.track-card-link.track-card:focus-visible,
.release-card-link:focus-visible,
.artist-releases-section .track-card-link:focus-visible {
  outline: 2px solid #7d9cff;
  outline-offset: 2px;
  border-radius: 12px;
}

.track-card-link > .track-card {
  margin: 0;
}

.release-info {
  width: 100%;
  text-align: center;
  padding: 0;
  font-weight: bold;
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: center;
  flex: 1 1 auto;
  min-height: 0;
}

.release-title,
.album-title {
  font-size: 0.9rem;
  color: #fff;
  text-align: center;
}

.release-artist,
.album-artist {
  font-size: 0.9rem;
  color: #aaa;
  text-align: center;
}

.release-date {
  font-size: 0.8rem;
  color: #ccc;
  margin-bottom: 8px;
}

.release-description {
  font-size: 0.85rem;
  color: #ddd;
  line-height: 1.4;
}

.monthly-release-score,
.album-score {
  font-size: 1.1rem;
  font-weight: bold;
  padding: 6px 10px;
  border-radius: 10px;
  background: transparent;
  text-align: center;
  margin-top: auto;
  border: 2px solid var(--tier-color, #666);
  color: var(--tier-color, #fff);
}

.release-card:not([data-tier="gold"]):not([data-tier="silver"]):not([data-tier="bronze"]) .monthly-release-score {
  border-color: #666;
  color: #fff;
}

/* Auth form styles */
.auth-page {
  background: #1e1e1e;
}

.auth-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 65px);
  padding: 28px 20px;
}

.auth-form {
  max-width: 400px;
  width: 100%;
  background: linear-gradient(180deg, #232323, #181818);
  border: 1px solid #353535;
  border-radius: 16px;
  padding: 28px;
  box-shadow: none;
}

.auth-form h2 {
  text-align: center;
  margin-bottom: 8px;
  font-size: 1.7rem;
}

.auth-subtitle {
  margin: 0 0 20px;
  text-align: center;
  color: #b7b7b7;
  font-size: 0.95rem;
  line-height: 1.45;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 7px;
  font-weight: 600;
  color: #d6d6d6;
}

.form-group input {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid #444;
  border-radius: 10px;
  background: #222;
  color: #fff;
  font-size: 1rem;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #7e94ff;
  box-shadow: none;
  background: #242424;
}

.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #444;
  border-radius: 6px;
  background: #2a2a2a;
  color: #fff;
  font-size: 1rem;
  font-family: inherit;
  resize: vertical;
}

.form-group select {
  width: 100%;
  padding: 10px;
  border: 1px solid #444;
  border-radius: 6px;
  background: #2a2a2a;
  color: #fff;
  font-size: 1rem;
}

.form-section {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid #444;
}

.form-section h2 {
  margin-bottom: 10px;
  color: #E6E6E6;
}

.form-section h3 {
  margin-bottom: 20px;
  color: #C8C8C8;
  font-size: 1.1rem;
}

.form-hint {
  color: #969696;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.ratings-section {
  margin-top: 20px;
}

.rating-group {
  margin-bottom: 20px;
}

.rating-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #E6E6E6;
}

.slider-container {
  display: flex;
  align-items: center;
  gap: 15px;
}

.rating-slider {
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: #2a2a2a;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.rating-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #C8C8C8;
  cursor: pointer;
  transition: background 0.2s;
}

.rating-slider::-webkit-slider-thumb:hover {
  background: #E6E6E6;
}

.rating-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #C8C8C8;
  cursor: pointer;
  border: none;
  transition: background 0.2s;
}

.rating-slider::-moz-range-thumb:hover {
  background: #E6E6E6;
}

.slider-value {
  min-width: 40px;
  text-align: center;
  font-weight: bold;
  color: #C8C8C8;
  font-size: 1.1rem;
}

.error-message {
  color: #ff6b6b;
  font-size: 0.875rem;
  margin-top: 5px;
  display: block;
}

.form-message {
  margin-top: 15px;
  padding: 10px;
  border-radius: 6px;
  text-align: center;
}

.form-message.success {
  background: #2d5a2d;
  color: #90ee90;
}

.form-message.error {
  background: #5a2d2d;
  color: #ff6b6b;
}

/* Submit release page */
.submit-release-content {
  text-align: left;
  padding: 24px 20px 36px;
  box-sizing: border-box;
}

.submit-release-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
  align-items: start;
}

.release-form-card {
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 12px;
  padding: 18px;
}

.release-form-card .form-group {
  margin-bottom: 14px;
}

.release-form-card .form-group input,
.release-form-card .form-group select,
.release-form-card .form-group textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #3d3d3d;
  background: #242424;
  color: #f0f0f0;
}

.release-form-card .form-group input:focus,
.release-form-card .form-group select:focus,
.release-form-card .form-group textarea:focus {
  outline: none;
  border-color: #6b86ff;
}

.release-form-card .form-group label {
  display: block;
  margin-bottom: 7px;
  color: #d6d6d6;
  font-weight: 600;
}

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

.cover-preview {
  margin-top: 8px;
}

.cover-preview img {
  display: block;
  border-radius: 10px;
  border: 1px solid #343434;
  width: 180px;
  height: 180px;
  object-fit: cover;
}

.create-artist-btn,
.submit-btn {
  border: 1px solid #1e1e1e;
  cursor: pointer;
  padding: 8px 10px;
  background-color: #282828;
  border-radius: 10px;
  color: white;
  user-select: none;
  transition: color 0.3s, background-color 0.3s, border-color 0.3s;
}

.create-artist-btn:hover,
.submit-btn:hover {
  background-color: #E1E1E1;
  color: #969696;
  border: #969696 1px solid;
}

.submit-btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

.release-preview-card {
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 12px;
  padding: 14px;
  position: sticky;
  top: 80px;
}

.release-preview-cover-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #2e2e2e;
  margin-bottom: 12px;
}

.release-preview-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.release-preview-meta h3 {
  margin: 4px 0;
  font-size: 1.1rem;
}

.release-preview-meta p {
  margin: 4px 0;
  color: #b8b8b8;
}

.release-preview-type {
  display: inline-flex;
  padding: 3px 10px;
  border: 1px solid #3b82f6;
  border-radius: 999px;
  font-size: 0.85rem;
}

.release-preview-date {
  font-size: 0.9rem;
}

.release-preview-scores {
  margin-top: 12px;
  background: #242424;
  border: 1px solid #333;
  border-radius: 10px;
  padding: 8px 10px;
}

.ratings-mixer .mixer-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.ratings-mixer .mixer-channel {
  background: #232323;
  border: 1px solid #333;
  border-radius: 10px;
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-height: 220px;
}

.ratings-mixer .mixer-channel label {
  text-align: center;
  font-size: 0.8rem;
  min-height: 36px;
}

.ratings-mixer .mixer-slider-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: 1;
}

.ratings-mixer .mixer-slider {
  writing-mode: vertical-lr;
  direction: rtl;
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 130px;
  padding: 0;
}

.ratings-mixer .slider-value {
  min-width: auto;
}

@media (max-width: 1100px) {
  .submit-release-layout {
    grid-template-columns: 1fr;
  }

  .release-preview-card {
    position: static;
  }
}

@media (max-width: 700px) {
  .form-row.two-columns {
    grid-template-columns: 1fr;
  }

  .ratings-mixer .mixer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.auth-form button {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, #5572f0, #4b62d0);
  border: 1px solid #5f78f6;
  border-radius: 10px;
  color: #f3f6ff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
}

.auth-form button:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: none;
}

.auth-form p {
  text-align: center;
  margin-top: 20px;
}

.auth-form a {
  color: #9bb0ff;
  text-decoration: none;
}

.auth-form a:hover {
  text-decoration: underline;
}

@media (max-width: 520px) {
  .auth-container {
    padding: 16px;
  }

  .auth-form {
    padding: 22px 18px;
  }
}

/* Expand animation */
.review-card.expanded .review-text {
  max-height: none;
  transition: max-height 0.3s ease;
}

.review-card:not(.expanded) .review-text {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: opacity 0.2s ease;
}

/* Release Page Layout - Single Vertical Column */
.release-page {
  max-width: 1082px;
  width: 100%;
  margin: 0 auto;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Release Header Block */
.release-header-block {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.release-cover-large {
  flex-shrink: 0;
  width: 300px;
  height: 300px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.release-cover-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.release-header-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}

.release-ratings-badge {
  display: flex;
  gap: 12px;
  align-self: flex-end;
  margin-bottom: 10px;
}

.rating-badge-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 16px;
  background: #282828;
  border: 2px solid #444;
  border-radius: 8px;
  gap: 4px;
}

#people-rating-badge {
  border-color: #3B82F6;
  background: transparent;
}

#mi-rating-badge {
  border-color: #3B82F6;
  background: #3B82F6;
}

#mi-rating-badge .rating-label,
#mi-rating-badge .rating-value {
  color: #fff;
}

.rating-label {
  font-size: 0.75rem;
  color: #969696;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.rating-value {
  font-size: 1.5rem;
  font-weight: bold;
  color: #E6E6E6;
}

.release-title-large {
  font-size: 2.5rem;
  font-weight: bold;
  color: #E6E6E6;
  margin: 0;
  line-height: 1.2;
}

.release-artist-section {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}

.artist-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s;
}

.artist-link:hover {
  opacity: 0.8;
}

.artist-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #444;
}

.artist-name {
  font-size: 1.25rem;
  color: #C8C8C8;
  font-weight: 500;
}

.release-date-large {
  margin-top: 6px;
  font-size: 0.95rem;
  color: #9f9f9f;
}

/* Reviews Section */
.release-reviews-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: var(--mi-shell-bg);
  border: 1px solid var(--mi-border);
  border-radius: var(--mi-shell-radius);
  padding: var(--mi-shell-padding);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.release-reviews-section .reviews-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  gap: 12px;
  flex-wrap: wrap;
}

.release-reviews-section .reviews-header h2 {
  font-size: 1.75rem;
  font-weight: bold;
  color: var(--mi-text-primary);
  margin: 0;
}

.reviews-header-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-left: auto;
}

.review-sort-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.review-sort-btn {
  width: 170px;
  height: 38px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #1e1e1e;
  border-radius: 10px;
  background: #282828;
  color: #fff;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.3s, background-color 0.3s, border-color 0.3s;
}

.review-sort-btn:hover {
  background-color: #E1E1E1;
  color: #969696;
  border: #969696 1px solid;
}

.add-review-button {
  width: 190px;
  height: 38px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #C8C8C8;
  border: #969696 1px solid;
  border-radius: 10px;
  color: #1E1E1E;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  transition: color 0.3s, background-color 0.3s, border-color 0.3s;
}

.add-review-button:hover {
  background-color: #282828;
  color: #C8C8C8;
  border: #1E1E1E 1px solid;
}

/* Add Review Form */
.add-review-form-container {
  background: linear-gradient(180deg, #2a2a2a 0%, #1f1f1f 100%);
  border: 1px solid #3a3a3a;
  border-radius: 14px;
  padding: 24px 22px;
  margin-bottom: 20px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.26);
}

.add-review-form-intro {
  background: rgba(14, 14, 14, 0.45);
  border: 1px solid #424242;
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 16px;
}

.add-review-form-intro h3 {
  margin: 0 0 6px;
  color: #f0f0f0;
  font-size: 1.05rem;
}

.add-review-form-intro p {
  margin: 0;
  color: #bebebe;
  font-size: 0.93rem;
  line-height: 1.4;
}

.add-review-form-container .ratings-section {
  margin-top: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.add-review-form-container .rating-group {
  margin-bottom: 0;
  background: rgba(20, 20, 20, 0.75);
  border: 1px solid #3b3b3b;
  border-radius: 10px;
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 220px;
}

.add-review-form-container .rating-group label {
  margin-bottom: 10px;
  text-align: center;
  font-size: 0.9rem;
  min-height: 34px;
  color: #e4e4e4;
}

.add-review-form-container .slider-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: 1;
}

.add-review-form-container .rating-slider {
  flex: 0 0 auto;
  width: 18px;
  height: 128px;
  padding: 0;
  writing-mode: vertical-lr;
  direction: rtl;
  -webkit-appearance: none;
  appearance: none;
  background: #303030;
  border-radius: 8px;
}

.add-review-form-container .slider-value {
  min-width: auto;
  font-size: 1.1rem;
  color: #f0f0f0;
  background: #292929;
  border: 1px solid #4a4a4a;
  border-radius: 7px;
  padding: 2px 8px;
}

.review-scores-input {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.score-input {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.score-input label {
  font-size: 0.9rem;
  color: #C8C8C8;
  font-weight: 500;
}

.score-input input {
  padding: 8px 12px;
  background: #2a2a2a;
  border: 1px solid #444;
  border-radius: 6px;
  color: #E6E6E6;
  font-size: 1rem;
}

.score-input input:focus {
  outline: none;
  border-color: #666;
}

.add-review-form-container textarea {
  width: 100%;
  min-height: 120px;
  padding: 12px;
  background: #1e1e1e;
  border: 1px solid #3e3e3e;
  border-radius: 6px;
  color: #E6E6E6;
  font-size: 1rem;
  font-family: inherit;
  resize: vertical;
  margin-bottom: 16px;
}

.add-review-form-container textarea:focus {
  outline: none;
  border-color: #969696;
}

.form-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.form-actions button {
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}

.form-actions button[type="submit"] {
  background-color: #282828;
  border: 1px solid #1e1e1e;
  color: #fff;
}

.form-actions button[type="submit"]:hover {
  background-color: #E1E1E1;
  color: #969696;
  border: #969696 1px solid;
}

.form-actions button[type="button"] {
  background: #282828;
  color: #fff;
  border: 1px solid #1e1e1e;
}

.form-actions button[type="button"]:hover {
  background-color: #E1E1E1;
  color: #969696;
  border: #969696 1px solid;
}

/* Reviews List */
.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.no-reviews {
  text-align: center;
  color: #969696;
  font-size: 1.1rem;
  padding: 40px 20px;
}

/* Review Card on Track Page */
.review-card-track {
  background: #1b1b1b;
  border: 1px solid #444;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.review-header-track {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.review-author-track {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.review-author-link-track {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.review-author-link-track:hover .review-author-name-track {
  color: #ffffff;
}

.review-author-link-track.is-static {
  pointer-events: none;
}

.review-avatar-track {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.review-avatar-track img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-author-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.review-author-name-track {
  font-size: 1rem;
  font-weight: 600;
  color: #E6E6E6;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mi-badge {
  display: inline-block;
  padding: 2px 8px;
  background: #E3D323;
  color: #1E1E1E;
  font-size: 0.75rem;
  font-weight: bold;
  border-radius: 4px;
  text-transform: uppercase;
}

.review-date-track {
  font-size: 0.85rem;
  color: #969696;
}

.review-score-track {
  font-size: 1.5rem;
  font-weight: bold;
  color: #C8C8C8;
  flex-shrink: 0;
}

.review-scores-track {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px;
  background: #282828;
  border-radius: 8px;
}

.score-item-track {
  font-size: 0.9rem;
  color: #C8C8C8;
}

.review-text-track {
  font-size: 1rem;
  color: #E6E6E6;
  line-height: 1.6;
  white-space: pre-wrap;
}

.review-helpful-track {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 8px;
  border-top: 1px solid #333;
}

.review-helpful-title {
  font-size: 0.9rem;
  color: #a8a8a8;
}

.review-helpful-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.helpful-vote-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 8px;
  border: 1px solid #3a3a3a;
  background: #262626;
  color: #d7d7d7;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.helpful-vote-btn:hover {
  background: #323232;
  border-color: #4a4a4a;
}

.helpful-vote-btn:disabled {
  opacity: 0.65;
  cursor: wait;
}

.helpful-vote-btn.up.is-active {
  background: #1f3a2c;
  border-color: #2f8f58;
  color: #a4efc6;
}

.helpful-vote-btn.down.is-active {
  background: #3a1f1f;
  border-color: #a05353;
  color: #ffb1b1;
}

.helpful-count {
  font-weight: 600;
}

.helpful-score-track {
  min-width: 34px;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 700;
  color: #c8c8c8;
}

.reviews-subsection {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.reviews-subsection-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #c8c8c8;
  margin: 4px 0;
}

.reviews-subsection.empty .no-reviews {
  padding: 16px 10px;
  text-align: left;
  font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .release-header-block {
    flex-direction: column;
    align-items: center;
  }

  .release-cover-large {
    width: 250px;
    height: 250px;
  }

  .release-header-info {
    width: 100%;
    text-align: center;
  }

  .release-ratings-badge {
    align-self: center;
  }

  .release-title-large {
    font-size: 2rem;
  }

  .review-scores-input {
    grid-template-columns: 1fr;
  }

  .add-review-form-container .ratings-section {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .add-review-form-container .rating-group {
    min-height: 200px;
  }
}

@media (max-width: 520px) {
  .add-review-form-container .ratings-section {
    grid-template-columns: 1fr;
  }

  .add-review-form-container .rating-group {
    min-height: 190px;
  }
}

/* Release Artist Link in Cards */
.release-artist-link {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s;
}

.release-artist-link:hover {
  opacity: 0.8;
}

/* Artist Page Layout */
.artist-page {
  max-width: 1082px;
  width: 100%;
  margin: 0 auto;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  border-radius: 18px;
}

.artist-header {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 0;
}

.artist-image-large {
  flex-shrink: 0;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border: 3px solid #444;
}

.artist-image-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.artist-info-large {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.artist-name-large {
  font-size: 2.5rem;
  font-weight: bold;
  color: #E6E6E6;
  margin: 0;
  line-height: 1.2;
}

.artist-bio {
  font-size: 1.1rem;
  color: #C8C8C8;
  line-height: 1.6;
  margin-top: 10px;
}

.artist-highlights {
  display: grid;
  grid-template-columns: minmax(320px, 1.1fr) minmax(250px, 0.9fr);
  gap: 18px;
}

.artist-block {
  box-shadow: var(--shadow-s);
}

.artist-block h3 {
  margin: 0 0 12px;
  font-size: 1.12rem;
  color: #e6e6e6;
}

.artist-best-release-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.artist-best-block {
  text-align: center;
}

.artist-best-block .artist-best-release-meta {
  justify-content: center;
}

.artist-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid #3a3a3a;
  background: #232323;
  color: #d6d6d6;
  font-size: 0.82rem;
}

.artist-chip strong {
  color: #f0f0f0;
}

.artist-best-release-card {
  display: flex;
  justify-content: center;
}

.artist-best-release-card .track-card-link {
  display: inline-flex;
  width: auto;
}

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

.artist-summary-item {
  border: 1px solid #343434;
  border-radius: 10px;
  background: #232323;
  padding: 10px 12px;
}

.artist-summary-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: #f0f0f0;
}

.artist-summary-label {
  font-size: 0.78rem;
  margin-top: 2px;
  color: #9f9f9f;
}

.artist-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.artist-stats .stat-item {
  background: #1f1f1f;
  border: 1px solid #353535;
  border-radius: 12px;
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.artist-stats .stat-value {
  font-size: 1.35rem;
  font-weight: bold;
  color: #E6E6E6;
}

.artist-stats .stat-label {
  font-size: 0.78rem;
  color: #b2b2b2;
  text-transform: uppercase;
  letter-spacing: 0.65px;
}

.artist-stats .stat-item.stat-people {
  border-color: #353535;
  background: #1f1f1f;
}

.artist-stats .stat-item.stat-mi {
  border-color: #353535;
  background: #1f1f1f;
}

.artist-stats .stat-item.stat-releases {
  border-color: #353535;
  background: #1f1f1f;
}

.artist-stats .stat-item.stat-reviews {
  border-color: #353535;
  background: #1f1f1f;
}

.artist-releases-section {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  width: 100%;
}

.artist-releases-section h2 {
  font-size: 1.75rem;
  font-weight: bold;
  color: #E6E6E6;
  margin: 0 0 6px;
  padding: 0;
}

.artist-releases-section .releases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(166px, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  position: relative;
  width: 100%;
}

.artist-releases-timeline {
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 2px;
  scrollbar-width: thin;
  scrollbar-color: #4c4c4c transparent;
}

.artist-releases-timeline::-webkit-scrollbar {
  height: 8px;
}

.artist-releases-timeline::-webkit-scrollbar-thumb {
  background: #4c4c4c;
  border-radius: 999px;
}

.artist-releases-stream {
  display: inline-flex;
  flex-wrap: nowrap;
  gap: 14px;
  align-items: flex-start;
  min-width: max-content;
}

.artist-stream-item {
  position: relative;
  flex: 0 0 auto;
  padding-top: 20px;
  width: 166px;
}

.artist-stream-item .track-card-link,
.artist-stream-item .track-card {
  width: 100%;
}

.artist-stream-year {
  position: absolute;
  top: 0;
  left: 0;
  font-size: 0.82rem;
  font-weight: 700;
  color: #bcbcbc;
  letter-spacing: 0.4px;
}

.artist-releases-section .track-card-link {
  display: inline-flex;
  width: auto;
  justify-self: start;
}

.no-releases {
  text-align: center;
  color: #969696;
  font-size: 1.1rem;
  padding: 40px 20px;
}

@media (max-width: 768px) {
  .artist-page {
    gap: 24px;
    padding: 22px 12px;
    border-radius: 14px;
  }

  .artist-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 18px;
  }

  .artist-image-large {
    width: 150px;
    height: 150px;
  }

  .artist-name-large {
    font-size: 2rem;
  }

  .artist-stats {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
    width: 100%;
  }

  .artist-highlights {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .artist-reviews-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .artist-releases-stream {
    gap: 12px;
  }

  .artist-stream-item {
    padding-top: 18px;
    width: 154px;
  }
}

@media (max-width: 520px) {
  .artist-reviews-summary {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .nav-bar.nav-mobile-ready {
    position: relative;
    height: 65px;
    min-height: 65px;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 8px;
    padding: 0 10px;
  }

  .nav-bar.nav-mobile-ready .nav-toggle {
    display: inline-flex;
    margin-left: auto;
    margin-top: 0;
  }

  .nav-bar.nav-mobile-ready .nav-mobile-panel {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 10px;
    right: 10px;
    width: auto;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    background: #181818;
    border: 1px solid #333;
    border-radius: 12px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
    gap: 8px;
    padding: 10px;
    z-index: 50;
  }

  .nav-bar.nav-mobile-ready.mobile-open .nav-mobile-panel {
    display: flex;
  }

  .nav-bar.nav-mobile-ready .nav-mobile-panel > a {
    justify-content: center;
  }

  .svg-logo {
    width: 42px;
    height: 42px;
  }

  .name-logo {
    font-size: 1.6rem;
    line-height: 1.2;
    margin-left: 0;
  }

  .nav-bar.nav-mobile-ready .name-logo {
    font-size: 1.5rem;
    line-height: 1.2;
    margin-left: 0;
    white-space: nowrap;
  }

  .nav-bar.nav-mobile-ready .nav-mobile-panel .about-us-but,
  .nav-bar.nav-mobile-ready .nav-mobile-panel .sing-in-but,
  .nav-bar.nav-mobile-ready .nav-mobile-panel .sing-up-but {
    margin-top: 0;
    margin-left: 0;
    height: 36px;
  }

  .nav-bar.nav-mobile-ready .nav-mobile-panel .sing-in-but,
  .nav-bar.nav-mobile-ready .nav-mobile-panel .sing-up-but {
    font-size: 1rem;
    width: auto;
    padding: 0 12px;
  }

  .nav-bar.nav-mobile-ready .nav-mobile-panel .search-bar {
    display: none;
  }

  .nav-bar.nav-mobile-ready .nav-mobile-panel .sing-up-but {
    display: none;
  }

  .nav-bar.nav-mobile-ready .nav-mobile-panel .profile-section {
    margin-left: 0;
    width: auto;
    justify-content: center;
    flex-wrap: nowrap;
    max-width: 100%;
  }

  .nav-bar.nav-mobile-ready .nav-mobile-panel .profile-nickname {
    max-width: 130px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .main-content,
  .home-page .main-content,
  .releases-page .main-content {
    width: 100%;
    box-sizing: border-box;
    padding-left: 12px;
    padding-right: 12px;
  }

  .home-page .text-h1,
  .text-h1 {
    font-size: 1.8rem;
  }

  .home-page .text-p,
  .text-p {
    font-size: 0.95rem;
  }

  .last-added-tracks-main,
  .reviews-wrapper,
  .monthly-releases {
    padding: 14px;
  }

  .mi-shell {
    padding: 14px;
  }

  .home-page .last-added-tracks-main {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    border-radius: 14px;
    border-right: 1px solid #3a3a3a;
    overflow: hidden;
  }

  .home-page .last-added-tracks-main::after {
    content: none;
  }

  .home-page .last-added-tracks-main .nav-last-added-text {
    position: sticky;
    top: 0;
    z-index: 2;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    background: transparent;
    border-bottom: none;
    padding-bottom: 10px;
    margin: 0;
  }

  .home-page .last-added-tracks-main .nav-controls {
    margin-left: 0;
    justify-content: flex-end;
  }

  .home-page .last-added-tracks-main .but-prev-last-added-tracks,
  .home-page .last-added-tracks-main .but-next-last-added-tracks {
    display: none;
  }

  .home-page .last-added-tracks-wrapper {
    overflow: hidden;
    padding-right: 0;
  }

  .home-page .last-added-tracks {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x proximity;
    padding: 4px 14px 6px 14px;
    padding-right: 22px;
    width: 100%;
    min-width: 0;
    transition: none;
  }

  .home-page .last-added-tracks::-webkit-scrollbar {
    display: none;
  }

  .home-page .last-added-tracks > * {
    scroll-snap-align: start;
    flex: 0 0 auto;
  }

  .home-page .last-added-tracks .track-info {
    text-align: center;
    padding-left: 0;
    align-items: center;
  }

  .monthly-releases-title {
    text-align: center;
  }

  .home-page .monthly-releases-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-content: center;
    gap: 8px;
  }

  .home-page .monthly-releases-grid .release-card-link,
  .home-page .monthly-releases-grid .release-card {
    width: 100%;
    min-width: 0;
  }

  .home-page .monthly-releases-grid .release-card {
    height: 218px;
    min-height: 218px;
    padding: 4px;
  }

  .home-page .monthly-releases-grid .release-cover-wrapper {
    width: 100%;
    max-width: 96px;
    height: auto;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
  }

  .home-page .monthly-releases-grid .release-info {
    width: 100%;
    min-height: 44px;
    gap: 2px;
  }

  .home-page .monthly-releases-grid .release-title,
  .home-page .monthly-releases-grid .album-title {
    font-size: 0.78rem;
    line-height: 1.12;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: calc(1.12em * 2);
  }

  .home-page .monthly-releases-grid .release-artist,
  .home-page .monthly-releases-grid .album-artist {
    font-size: 0.78rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .home-page .monthly-releases-grid .monthly-release-score,
  .home-page .monthly-releases-grid .album-score {
    font-size: 0.92rem;
    padding: 4px 8px;
  }

  .release-header-block {
    align-items: center;
  }

  .release-artist-section {
    justify-content: center;
  }

  .release-artist-section .artist-link {
    justify-content: center;
  }

  .release-reviews-section .reviews-header {
    justify-content: center;
    text-align: center;
  }

  .release-reviews-section .reviews-header h2 {
    width: 100%;
    text-align: center;
  }

  .reviews-header-controls {
    width: 100%;
    justify-content: center;
    margin-left: 0;
  }

  .review-sort-controls {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    width: min(100%, 430px);
  }

  .review-sort-btn,
  .add-review-button {
    width: calc(50% - 6px);
    min-width: 140px;
  }

  .releases-page .main-content {
    width: calc(100% - 8px);
    max-width: 680px;
    margin: 12px auto 20px;
    padding: 14px 12px;
  }

  .releases-headline,
  .sort-section {
    text-align: center;
    justify-content: center;
  }

  .releases-page .releases-grid {
    justify-content: center;
  }

  .sort-section {
    gap: 8px;
  }

  .sort-btn {
    flex: 0 1 calc(50% - 8px);
    min-width: 0;
  }

  .release-page,
  .artist-page {
    padding: 20px 12px;
    box-sizing: border-box;
    gap: 24px;
  }

  .release-cover-large {
    width: 220px;
    height: 220px;
  }

  .release-title-large {
    font-size: 1.7rem;
  }

  .reviews-header {
    flex-wrap: wrap;
    gap: 10px;
  }

  .profile-layout {
    flex-direction: column-reverse !important;
    gap: 16px !important;
  }

  .profile-right {
    width: 100% !important;
  }
}

@media (max-width: 560px) {
  .name-logo {
    font-size: 1.35rem;
  }

  .search-bar {
    height: 38px;
  }

  .releases-page {
    --release-card-width: min(43vw, 160px);
    --releases-gap: 10px;
    --releases-columns: 2;
  }

  .releases-headline {
    font-size: 1.45rem;
  }

  .sort-btn {
    font-size: 0.85rem;
    padding: 7px 9px;
    flex-basis: calc(50% - 8px);
  }

  .release-cover-large {
    width: min(78vw, 260px);
    height: min(78vw, 260px);
  }

  .artist-avatar {
    width: 34px;
    height: 34px;
  }

  .rating-badge-item {
    padding: 6px 10px;
  }

  .review-card-track {
    padding: 12px;
  }

  .release-reviews-section {
    padding: 12px;
    gap: 12px;
  }

  .reviews-header-controls {
    justify-content: stretch;
  }

  .review-sort-controls {
    width: 100%;
  }

  .review-sort-btn,
  .add-review-button {
    width: 100%;
    min-width: 0;
  }

  .artist-releases-stream {
    gap: 10px;
  }

  .artist-stream-item {
    width: 146px;
  }

  .submit-release-content {
    padding: 14px 10px 20px;
  }

  .release-form-card {
    padding: 12px;
  }

  .ratings-mixer .mixer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ratings-mixer .mixer-channel {
    min-height: 190px;
  }
}
