body[data-page="sound"] {
  color: #111319;
  background: #fbfbfa;
}

body[data-page="sound"] .container {
  width: min(calc(100% - 120px), 1680px);
  max-width: none;
}

body[data-page="sound"] .site-header {
  border-bottom-color: #eceef1;
  background: rgba(255, 255, 255, 0.9);
}

body[data-page="sound"] .nav-shell {
  min-height: 52px;
}

body[data-page="sound"] .brand-icon {
  width: 28px;
  height: 28px;
}

body[data-page="sound"] .brand-copy strong {
  font-size: 13px;
}

body[data-page="sound"] .brand-copy small {
  font-size: 8px;
}

body[data-page="sound"] .desktop-nav {
  gap: clamp(12px, 1.9vw, 30px);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

body[data-page="sound"] .desktop-nav a {
  position: relative;
  padding: 18px 4px 17px;
  border-radius: 0;
  color: #69707a;
  font-size: 12px;
}

body[data-page="sound"] .desktop-nav a.is-active {
  color: #101216;
  background: transparent;
  box-shadow: none;
}

body[data-page="sound"] .desktop-nav a.is-active::after {
  position: absolute;
  right: 20%;
  bottom: -1px;
  left: 20%;
  height: 2px;
  content: "";
  background: #8aa7ff;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.sound-hero {
  padding: clamp(18px, 2vw, 32px) 0 clamp(16px, 1.6vw, 24px);
}

.sound-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 56px;
  align-items: center;
}

.sound-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(38px, 3vw, 52px);
  font-weight: 720;
  letter-spacing: -0.065em;
  line-height: 0.95;
}

.sound-kicker,
.sound-type,
.sound-cover-label span,
.sound-hero-meta span,
.sound-archive-foot {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.17em;
  line-height: 1.4;
  text-transform: uppercase;
}

.sound-kicker {
  display: block;
  color: #7997ef;
}

.sound-hero-copy p {
  margin: 8px 0 0;
  color: #69707b;
  font-size: 13px;
  font-weight: 520;
}

.sound-hero-meta {
  min-width: 150px;
  padding: 15px 0 15px 30px;
  border-left: 2px solid #b9c9fa;
}

.sound-hero-meta span {
  color: #757d89;
}

.sound-catalog {
  padding: 0 0 clamp(76px, 8vw, 116px);
}

.sound-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 9px 0;
  border-bottom: 1px solid #e3e6ea;
}

.sound-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.sound-filters button,
.sound-sort {
  min-height: 30px;
  border: 1px solid #dfe3e8;
  border-radius: 999px;
  padding: 0 16px;
  color: #626a75;
  background: transparent;
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.sound-filters button:hover,
.sound-filters button:focus-visible {
  border-color: #b8bec8;
  color: #111319;
}

.sound-filters button.is-active {
  border-color: #111319;
  color: #fff;
  background: #111319;
}

.sound-sort {
  display: inline-flex;
  min-width: max-content;
  align-items: center;
  gap: 9px;
  padding: 0 8px;
  border-color: transparent;
}

.sound-sort img {
  width: 15px;
  height: 15px;
}

.sound-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px 20px;
  padding-top: 16px;
}

.sound-card {
  display: flex;
  min-width: 0;
  aspect-ratio: 4 / 3;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e2e5e9;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(30, 35, 48, 0.045);
  transition: transform 190ms ease, box-shadow 190ms ease, border-color 190ms ease;
}

.sound-card:hover {
  transform: translateY(-3px);
  border-color: #d4d8de;
  box-shadow: 0 18px 42px rgba(30, 35, 48, 0.075);
}

.sound-card[hidden] {
  display: none;
}

.sound-cover {
  position: relative;
  min-height: 0;
  flex: 1;
  overflow: hidden;
  background: #1b1d21;
}

.sound-cover::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg, rgba(8, 10, 13, 0.38), transparent 45%), linear-gradient(0deg, rgba(8, 10, 13, 0.25), transparent 40%);
}

.sound-cover > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.sound-card:hover .sound-cover > img {
  transform: scale(1.025);
}

.sound-cover-label {
  position: absolute;
  top: 19px;
  left: 22px;
  z-index: 2;
  display: grid;
  gap: 2px;
  color: #fff;
}

.sound-cover-label strong {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1;
}

.sound-cover-label span {
  font-size: 9px;
  letter-spacing: 0.14em;
}

.sound-cover > time {
  position: absolute;
  right: 20px;
  bottom: 17px;
  z-index: 2;
  color: rgba(255, 255, 255, 0.94);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.sound-card-body {
  padding: 9px 12px 7px;
}

.sound-type {
  display: block;
  margin-bottom: 4px;
  color: #9aa3af;
  font-size: 7px;
}

.sound-card h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 680;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.sound-card-body > p {
  margin: 2px 0 5px;
  color: #858c97;
  font-size: 8px;
  line-height: 1.3;
}

.sound-player {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) 32px;
  gap: 8px;
  align-items: center;
}

.sound-play,
.sound-progress {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.sound-play {
  display: grid;
  width: 18px;
  height: 16px;
  place-items: center;
}

.sound-play img {
  width: 14px;
  height: 14px;
}

.sound-progress {
  position: relative;
  width: 100%;
  height: 18px;
}

.sound-progress::before,
.sound-progress span {
  position: absolute;
  top: 50%;
  left: 0;
  height: 2px;
  border-radius: 999px;
  content: "";
  transform: translateY(-50%);
}

.sound-progress::before {
  width: 100%;
  background: #d8dce1;
}

.sound-progress span {
  z-index: 1;
  width: 0;
  background: #8393a8;
}

.sound-current {
  color: #8a929e;
  font-size: 9px;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.sound-play:focus-visible,
.sound-progress:focus-visible,
.sound-sort:focus-visible {
  outline: 2px solid #7e9cf1;
  outline-offset: 3px;
}

.sound-archive-foot {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid #e3e6ea;
  color: #a4abb5;
  font-size: 8px;
}

@media (max-width: 1100px) {
  body[data-page="sound"] .container {
    width: min(calc(100% - 56px), 1680px);
  }

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

@media (max-width: 700px) {
  body[data-page="sound"] .container {
    width: min(calc(100% - 30px), 1680px);
  }

  .sound-hero {
    padding: 52px 0 32px;
  }

  .sound-hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .sound-hero h1 {
    font-size: clamp(48px, 15vw, 66px);
  }

  .sound-hero-meta {
    min-width: 0;
    padding: 0 0 0 18px;
  }

  .sound-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .sound-filters {
    flex-wrap: nowrap;
    width: calc(100vw - 15px);
    margin-right: -15px;
    padding-right: 15px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .sound-filters::-webkit-scrollbar {
    display: none;
  }

  .sound-filters button {
    min-width: max-content;
    padding: 0 18px;
  }

  .sound-sort {
    align-self: flex-end;
  }

  .sound-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 24px;
  }

  .sound-cover {
    flex: none;
    aspect-ratio: 2.05 / 1;
  }

  .sound-card {
    aspect-ratio: auto;
  }

  .sound-card-body {
    padding: 19px 20px 18px;
  }

  .sound-archive-foot {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sound-card,
  .sound-cover > img {
    transition: none;
  }
}
