:root {
  --text: #f5efe7;
  --text-soft: rgba(234, 224, 211, 0.78);
  --line: rgba(214, 222, 255, 0.14);
  --line-strong: rgba(214, 222, 255, 0.24);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
  --radius-xl: 36px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --gold: #b89a63;
  --gold-soft: #d9c39a;
}

* {
  box-sizing: border-box;
}

*::selection {
  background: rgba(255, 255, 255, 0.18);
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(5, 10, 18, 0.88) 0, rgba(7, 13, 24, 0.72) 36%, rgba(11, 18, 33, 0.62) 68%, rgba(12, 16, 27, 0.84) 100%),
    #0a101a;
  color: var(--text);
  font-family: "Avenir Next", "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 16% 18%, rgba(122, 170, 255, 0.18), transparent 18%),
    radial-gradient(circle at 72% 30%, rgba(173, 132, 255, 0.12), transparent 18%),
    radial-gradient(circle at 50% 68%, rgba(255, 188, 155, 0.08), transparent 26%),
    url("https://unsplash.com/photos/cXrzyV_RQPM/download?force=true&w=1600") center center / cover no-repeat;
  filter: saturate(0.9) brightness(0.72);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 255, 255, 0.1), transparent 12%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.06), transparent 10%),
    linear-gradient(180deg, rgba(4, 8, 15, 0.08), rgba(4, 8, 15, 0.4));
}

a {
  color: inherit;
}

.page-shell {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 38px 0 72px;
}

.hero {
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(10, 18, 34, 0.42), rgba(10, 18, 34, 0.12)),
    radial-gradient(circle at 18% 30%, rgba(255, 255, 255, 0.04), transparent 22%);
  border: 1px solid rgba(210, 219, 255, 0.08);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 380px);
  gap: 32px;
  align-items: stretch;
  padding: 28px;
}

.hero-main {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 16px;
  padding: 8px 0;
}

.title-lockup {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  max-width: 720px;
  min-height: 108px;
}

.hero h1 {
  margin: 0;
  flex: 0 0 auto;
  font-family: "Cormorant Garamond", "Baskerville Old Face", "Palatino Linotype", serif;
  font-size: clamp(3.4rem, 6vw, 5.6rem);
  line-height: 0.9;
  font-style: italic;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-shadow:
    0 12px 28px rgba(0, 0, 0, 0.24),
    0 0 32px rgba(179, 200, 255, 0.08);
}

.title-trail {
  display: grid;
  grid-template-columns: 78px minmax(180px, 260px);
  align-items: center;
  justify-content: end;
  column-gap: 16px;
  flex: 1 1 auto;
  min-width: 0;
}

.title-avatar {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background:
    linear-gradient(145deg, rgba(244, 221, 174, 0.96), rgba(92, 71, 42, 0.9));
  box-shadow:
    0 0 0 1px rgba(246, 230, 190, 0.24),
    0 16px 34px rgba(0, 0, 0, 0.28),
    0 0 34px rgba(120, 186, 255, 0.18);
}

.title-avatar::after {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: inherit;
  border: 1px solid rgba(116, 194, 255, 0.24);
  box-shadow: inset 0 0 18px rgba(134, 103, 255, 0.16);
}

.title-avatar img {
  width: 70px;
  height: 70px;
  border-radius: inherit;
  object-fit: cover;
  object-position: 50% 68%;
  transform: scale(1.12);
  filter: contrast(1.04) saturate(0.92);
}

.title-strip {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 78px;
  overflow: hidden;
  border-radius: 999px;
  background:
    linear-gradient(145deg, rgba(246, 235, 212, 0.9), rgba(171, 149, 111, 0.42));
  box-shadow:
    inset 0 0 0 1px rgba(255, 244, 220, 0.18),
    0 18px 34px rgba(0, 0, 0, 0.18);
}

.title-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(8, 15, 27, 0.1), transparent 24%, transparent 76%, rgba(8, 15, 27, 0.16)),
    radial-gradient(circle at 20% 28%, rgba(113, 197, 255, 0.14), transparent 20%);
  pointer-events: none;
}

.title-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter:
    grayscale(0.12)
    sepia(0.16)
    contrast(1.08)
    brightness(0.92);
  mix-blend-mode: multiply;
}

.title-accent {
  display: inline-block;
  margin: 0 -0.03em;
  background-image:
    linear-gradient(180deg, #e5fbff 0%, #8ee7ff 18%, #4fc7ff 38%, #6c8fff 68%, #9b63ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1px rgba(104, 122, 255, 0.14);
  text-shadow:
    0 0 8px rgba(153, 230, 255, 0.34),
    0 0 16px rgba(97, 194, 255, 0.24),
    0 0 28px rgba(122, 118, 255, 0.22),
    0 0 44px rgba(155, 99, 255, 0.16);
  filter: saturate(1.24) brightness(1.06);
}

.hero-quote {
  margin: 0;
  display: inline-block;
  color: #d8b97f;
  font-size: clamp(1.08rem, 1.9vw, 1.34rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  background-image:
    linear-gradient(180deg, #f0e0b4 0%, #d8b97f 34%, #b18953 66%, #e7cf98 100%);
  background-size: 100% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow:
    0 0 10px rgba(184, 154, 99, 0.12),
    0 2px 10px rgba(0, 0, 0, 0.18);
}

.access-strip {
  display: grid;
  gap: 16px;
  max-width: 700px;
  padding-top: 2px;
}

.entry-actions {
  display: grid;
  gap: 14px;
}

.equal-actions {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.entry-button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  padding: 0 18px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  text-decoration: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 18px 34px rgba(7, 11, 18, 0.18);
  backdrop-filter: blur(16px);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.entry-button::after {
  content: "";
  position: absolute;
  inset: auto -16% -40% 42%;
  height: 62px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent 68%);
  pointer-events: none;
}

.primary-entry {
  background:
    linear-gradient(145deg, rgba(38, 63, 116, 0.72), rgba(19, 31, 57, 0.82));
}

.secondary-entry {
  background:
    linear-gradient(145deg, rgba(88, 101, 162, 0.62), rgba(43, 53, 92, 0.82));
}

.tertiary-entry {
  background:
    linear-gradient(145deg, rgba(72, 54, 123, 0.64), rgba(27, 34, 68, 0.84));
}

.entry-button:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 24px 40px rgba(7, 11, 18, 0.24);
}

.entry-button:focus-visible {
  outline: 3px solid rgba(240, 233, 223, 0.18);
  outline-offset: 3px;
}

.entry-name {
  position: relative;
  z-index: 1;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.search-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  max-width: 760px;
  margin-top: 8px;
  padding: 14px;
  border: 1px solid rgba(214, 222, 255, 0.1);
  border-radius: calc(var(--radius-lg) + 2px);
  background:
    linear-gradient(145deg, rgba(9, 18, 32, 0.62), rgba(16, 20, 35, 0.44));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 18px 32px rgba(7, 10, 16, 0.14);
  backdrop-filter: blur(16px);
}

.search-input,
.search-button {
  border: 0;
  outline: 0;
  font: inherit;
}

.search-input {
  min-width: 0;
  min-height: 54px;
  padding: 0 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.search-input::placeholder {
  color: rgba(226, 218, 208, 0.52);
}

.search-button {
  min-width: 118px;
  min-height: 54px;
  padding: 0 20px;
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(241, 231, 220, 0.96), rgba(214, 203, 192, 0.92));
  color: #171922;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.search-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.16);
}

.favorites-panel {
  display: grid;
  gap: 14px;
  max-width: 760px;
  margin-top: 4px;
  padding: 18px;
  border: 1px solid rgba(214, 222, 255, 0.1);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(12, 22, 39, 0.54), rgba(17, 21, 35, 0.38));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 18px 30px rgba(7, 10, 16, 0.12);
  backdrop-filter: blur(14px);
}

.favorites-tools {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.favorites-tool {
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(220, 228, 255, 0.12);
  border-radius: 999px;
  background:
    linear-gradient(145deg, rgba(17, 29, 52, 0.6), rgba(20, 21, 38, 0.42));
  color: rgba(236, 230, 220, 0.84);
  font: inherit;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.favorites-tool:hover {
  transform: translateY(-1px);
  border-color: rgba(233, 239, 255, 0.24);
}

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

.favorite-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 6px;
  min-height: 88px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(219, 226, 255, 0.12);
  text-decoration: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 14px 24px rgba(5, 10, 18, 0.16);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.favorite-card::after {
  content: "";
  position: absolute;
  inset: auto -8% -24% 44%;
  height: 54px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 70%);
  pointer-events: none;
}

.favorite-card:hover {
  transform: translateY(-2px);
  border-color: rgba(232, 238, 255, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 18px 28px rgba(5, 10, 18, 0.2);
}

.favorite-card.is-dragging {
  opacity: 0.42;
  transform: scale(0.98);
}

.favorite-card.drop-target {
  border-color: rgba(160, 199, 255, 0.54);
  box-shadow:
    inset 0 0 0 1px rgba(160, 199, 255, 0.22),
    0 18px 28px rgba(5, 10, 18, 0.22);
}

.favorite-title,
.favorite-url {
  position: relative;
  z-index: 1;
}

.favorite-title {
  color: rgba(246, 239, 231, 0.96);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.favorite-url {
  color: rgba(207, 200, 189, 0.72);
  font-size: 0.82rem;
}

.favorite-edit {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  min-width: 50px;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(230, 236, 255, 0.12);
  border-radius: 999px;
  background: rgba(9, 14, 24, 0.54);
  color: rgba(243, 237, 228, 0.9);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 180ms ease, transform 180ms ease, background 180ms ease;
}

.favorite-card:hover .favorite-edit,
.favorite-card:focus-within .favorite-edit {
  opacity: 1;
  transform: translateY(0);
}

.favorite-edit:hover {
  background: rgba(14, 22, 36, 0.76);
}

.favorite-blue {
  background:
    linear-gradient(145deg, rgba(32, 62, 120, 0.68), rgba(16, 29, 54, 0.84));
}

.favorite-violet {
  background:
    linear-gradient(145deg, rgba(68, 58, 124, 0.68), rgba(25, 28, 54, 0.84));
}

.favorite-gold {
  background:
    linear-gradient(145deg, rgba(105, 80, 39, 0.7), rgba(42, 30, 18, 0.88));
}

.favorite-steel {
  background:
    linear-gradient(145deg, rgba(62, 76, 96, 0.7), rgba(24, 29, 40, 0.88));
}

.favorite-add {
  display: grid;
  text-align: left;
  cursor: pointer;
  background:
    linear-gradient(145deg, rgba(16, 30, 54, 0.44), rgba(17, 21, 38, 0.28));
}

.favorite-add::before {
  content: "+";
  position: absolute;
  top: 14px;
  right: 16px;
  color: rgba(151, 188, 255, 0.72);
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1;
}

.hero-art {
  display: flex;
  align-items: stretch;
}

.turntable-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  flex: 1;
  min-height: 350px;
  padding: 20px;
  border-radius: 30px;
  border: 1px solid rgba(220, 194, 142, 0.24);
  background:
    radial-gradient(circle at 50% 24%, rgba(198, 168, 108, 0.16), transparent 28%),
    linear-gradient(160deg, rgba(50, 38, 22, 0.92), rgba(25, 22, 27, 0.96) 48%, rgba(9, 17, 33, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -10px 22px rgba(0, 0, 0, 0.22),
    0 24px 40px rgba(2, 5, 10, 0.28);
}

.turntable-card::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 24px;
  border: 1px solid rgba(217, 190, 137, 0.08);
  pointer-events: none;
}

.turntable-halo {
  position: absolute;
  inset: -10% auto auto 50%;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  transform: translateX(-50%);
  background:
    radial-gradient(circle, rgba(205, 174, 118, 0.18), rgba(137, 115, 78, 0.06) 42%, transparent 72%);
  filter: blur(4px);
  pointer-events: none;
}

.turntable-deck {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 352px;
  padding-top: 8px;
}

.turntable-platter {
  position: relative;
  display: grid;
  place-items: center;
  margin: 0 auto;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(219, 187, 130, 0.28), rgba(112, 86, 51, 0.12) 52%, rgba(37, 27, 14, 0.7) 72%, rgba(11, 10, 14, 0.94) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 16px 30px rgba(0, 0, 0, 0.28);
}

.turntable-platter::before {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 50%;
  border: 1px solid rgba(222, 194, 140, 0.12);
}

.vinyl-record {
  position: relative;
  width: 292px;
  height: 292px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 40% 32%, rgba(89, 123, 184, 0.16), transparent 18%),
    radial-gradient(circle at 64% 22%, rgba(255, 255, 255, 0.12), transparent 5%),
    linear-gradient(180deg, rgba(8, 13, 26, 0.94), rgba(6, 8, 15, 0.98));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.05),
    inset 0 0 38px rgba(0, 0, 0, 0.42);
}

.vinyl-record.is-spinning {
  animation: spin-record 4.4s linear infinite;
}

.vinyl-groove {
  position: absolute;
  inset: 50% auto auto 50%;
  border-radius: 50%;
  border: 1px solid rgba(217, 196, 167, 0.06);
  transform: translate(-50%, -50%);
}

.groove-1 {
  width: 242px;
  height: 242px;
}

.groove-2 {
  width: 194px;
  height: 194px;
}

.groove-3 {
  width: 146px;
  height: 146px;
}

.vinyl-label {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 244px;
  height: 244px;
  overflow: hidden;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  border: 4px solid rgba(213, 183, 124, 0.52);
  box-shadow:
    0 0 0 8px rgba(14, 13, 18, 0.58),
    0 0 18px rgba(184, 154, 99, 0.12);
}

.vinyl-label img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.2);
  filter: grayscale(0.06) contrast(1.04) brightness(1);
}

.vinyl-label::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 26%, rgba(255, 255, 255, 0.22), transparent 16%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0.12));
  pointer-events: none;
}

.vinyl-center {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(180deg, rgba(239, 223, 196, 0.92), rgba(156, 129, 89, 0.98));
  box-shadow: 0 0 0 2px rgba(33, 27, 18, 0.72);
}

.tonearm {
  position: absolute;
  right: 34px;
  top: 28px;
  width: 104px;
  height: 104px;
  transform: rotate(20deg);
  transform-origin: 84% 14%;
}

.tonearm::before {
  content: "";
  position: absolute;
  right: 10px;
  top: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(231, 214, 185, 0.96), rgba(129, 104, 66, 0.94));
  box-shadow: 0 0 0 4px rgba(38, 26, 15, 0.64);
}

.tonearm-bar {
  position: absolute;
  right: 18px;
  top: 14px;
  width: 86px;
  height: 8px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(217, 188, 129, 0.96), rgba(126, 99, 58, 0.92));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 4px 10px rgba(0, 0, 0, 0.24);
}

.tonearm-head {
  position: absolute;
  left: 0;
  top: 8px;
  width: 24px;
  height: 18px;
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(227, 202, 156, 0.94), rgba(132, 106, 68, 0.96));
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
}

.player-panel {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  width: 100%;
  padding: 12px 14px 10px;
  border-radius: 18px;
  border: 1px solid rgba(217, 190, 137, 0.12);
  background:
    linear-gradient(180deg, rgba(12, 18, 30, 0.74), rgba(15, 17, 24, 0.88));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 14px 24px rgba(0, 0, 0, 0.22);
}

.track-meta {
  display: grid;
  gap: 3px;
}

.track-kicker,
.track-title,
.track-subtitle,
.track-status {
  margin: 0;
}

.track-kicker {
  color: rgba(214, 199, 172, 0.72);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.track-title {
  color: rgba(244, 236, 225, 0.96);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

.track-subtitle {
  color: rgba(195, 180, 154, 0.78);
  font-size: 0.72rem;
}

.track-status {
  color: rgba(228, 214, 189, 0.88);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
}

.player-controls {
  display: grid;
  grid-template-columns: 0.72fr 1.1fr 0.72fr;
  gap: 8px;
}

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

.player-action {
  min-height: 32px;
  border: 0;
  border-radius: 999px;
  background:
    linear-gradient(145deg, rgba(68, 52, 35, 0.84), rgba(31, 27, 23, 0.92));
  color: rgba(247, 239, 228, 0.92);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 8px 18px rgba(0, 0, 0, 0.18);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.player-action:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 10px 20px rgba(0, 0, 0, 0.22);
}

.player-action:disabled {
  opacity: 0.48;
  cursor: not-allowed;
  transform: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 6px 14px rgba(0, 0, 0, 0.14);
}

.player-action-main {
  background:
    linear-gradient(145deg, rgba(212, 184, 126, 0.98), rgba(148, 118, 71, 0.98));
  color: #151515;
}

.player-mini-action {
  background:
    linear-gradient(145deg, rgba(42, 52, 68, 0.86), rgba(23, 28, 39, 0.94));
  color: rgba(231, 225, 214, 0.9);
}

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

.player-time {
  color: rgba(214, 199, 172, 0.78);
  font-size: 0.7rem;
  font-variant-numeric: tabular-nums;
}

.progress-slider {
  width: 100%;
  height: 3px;
  margin: 0;
  accent-color: var(--gold);
}

.lyrics-window {
  display: grid;
  gap: 2px;
  min-height: 74px;
  padding: 10px 12px;
  border: 1px solid rgba(217, 190, 137, 0.1);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(8, 12, 22, 0.64), rgba(11, 13, 20, 0.74));
  overflow: hidden;
}

.lyrics-window.is-empty {
  background:
    linear-gradient(180deg, rgba(9, 13, 22, 0.7), rgba(10, 12, 18, 0.82));
}

.lyrics-window.is-empty .lyric-current {
  color: rgba(216, 202, 177, 0.72);
  font-size: 0.78rem;
  font-weight: 600;
  text-shadow: none;
}

.lyrics-window.is-live .lyric-current {
  color: rgba(246, 224, 180, 0.98);
}

.lyric-line {
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
}

.lyric-prev,
.lyric-next {
  color: rgba(205, 195, 176, 0.48);
  font-size: 0.7rem;
}

.lyric-current {
  color: rgba(241, 219, 174, 0.96);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-shadow: 0 0 16px rgba(184, 154, 99, 0.14);
}

.playlist {
  display: grid;
  gap: 6px;
  max-height: 128px;
  overflow: auto;
  padding-right: 2px;
}

.playlist::-webkit-scrollbar {
  width: 5px;
}

.playlist::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(217, 190, 137, 0.24);
}

.playlist-item,
.playlist-empty {
  border: 1px solid rgba(217, 190, 137, 0.1);
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(31, 39, 58, 0.52), rgba(14, 18, 29, 0.52));
}

.playlist-item {
  display: grid;
  gap: 1px;
  width: 100%;
  min-height: 42px;
  padding: 8px 10px;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.playlist-item:hover,
.playlist-item.is-active {
  border-color: rgba(217, 190, 137, 0.28);
  background:
    linear-gradient(145deg, rgba(91, 73, 43, 0.58), rgba(18, 23, 37, 0.62));
}

.playlist-item.is-active {
  box-shadow:
    inset 0 0 0 1px rgba(224, 195, 140, 0.16),
    0 12px 22px rgba(0, 0, 0, 0.18);
}

.playlist-item:hover {
  transform: translateY(-1px);
}

.playlist-title,
.playlist-source {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.playlist-title {
  color: rgba(246, 239, 229, 0.94);
  font-size: 0.76rem;
  font-weight: 700;
}

.playlist-source {
  color: rgba(196, 183, 159, 0.64);
  font-size: 0.66rem;
}

.playlist-empty {
  margin: 0;
  padding: 10px 12px;
  color: rgba(205, 195, 176, 0.54);
  font-size: 0.74rem;
}

.favorite-card:focus-visible,
.favorite-add:focus-visible,
.favorite-edit:focus-visible,
.favorites-tool:focus-visible,
.playlist-item:focus-visible,
.player-action:focus-visible {
  outline: 3px solid rgba(235, 238, 255, 0.18);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@keyframes spin-record {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

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

  .equal-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-art {
    order: -1;
  }

  .turntable-card {
    min-height: 320px;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 20px, 1160px);
    padding-top: 24px;
  }

  .hero-grid {
    gap: 22px;
    padding: 18px;
  }

  .hero h1 {
    font-size: clamp(3rem, 15vw, 4.4rem);
    white-space: normal;
  }

  .title-lockup {
    display: grid;
    justify-content: start;
    min-height: 150px;
    gap: 12px;
  }

  .title-trail {
    grid-template-columns: 66px minmax(0, 270px);
    column-gap: 12px;
    justify-content: start;
  }

  .title-avatar {
    width: 66px;
    height: 66px;
  }

  .title-avatar img {
    width: 58px;
    height: 58px;
  }

  .title-strip {
    width: 100%;
    height: 64px;
  }

  .equal-actions {
    grid-template-columns: 1fr;
  }

  .entry-button {
    min-height: 64px;
  }

  .search-shell {
    grid-template-columns: 1fr;
  }

  .search-button {
    width: 100%;
  }

  .favorites-grid {
    grid-template-columns: 1fr;
  }

  .favorites-tools {
    justify-content: stretch;
    flex-wrap: wrap;
  }

  .favorites-tool {
    flex: 1 1 calc(33.333% - 6px);
    justify-content: center;
  }

  .turntable-card {
    padding: 18px;
  }

  .turntable-platter {
    width: 252px;
    height: 252px;
  }

  .vinyl-record {
    width: 220px;
    height: 220px;
  }

  .vinyl-label {
    width: 184px;
    height: 184px;
  }
}
