/*
 * Verna Dream Radio — visual refinement layer
 * This file intentionally changes presentation only. All original HTML
 * controls, song data and JavaScript behavior remain untouched.
 */

:root {
  color-scheme: light;
  --ink: #35152a;
  --ink-soft: #76576c;
  --blue: #6c4fb4;
  --iris: #9b3f87;
  --iris-soft: #f8eaf5;
  --coral: #db2777;
  --mint: #2d806d;
  --line: #efd8e7;
  --paper: rgba(255, 252, 255, 0.94);
  --shadow: 0 28px 72px rgba(91, 44, 84, 0.16);

  --color-primary: #db2777;
  --color-primary-dark: #a91659;
  --color-secondary: #7c5bc7;
  --color-accent: #a16207;
  --color-surface: rgba(255, 253, 255, 0.92);
  --color-surface-solid: #fffafd;
  --color-border: rgba(145, 68, 122, 0.18);
  --color-focus: rgba(219, 39, 119, 0.24);

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-xl: 36px;

  --ease-ui: cubic-bezier(0.22, 0.8, 0.22, 1);
  --duration-fast: 160ms;
  --duration-ui: 240ms;
}

* {
  scrollbar-width: thin;
  scrollbar-color: rgba(155, 63, 135, 0.34) transparent;
}

*::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}

*::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 999px;
  background: rgba(155, 63, 135, 0.34);
  background-clip: padding-box;
}

html {
  scroll-padding-top: var(--space-4);
  scrollbar-width: none;
}

body {
  position: relative;
  min-height: 100dvh;
  overflow-x: hidden;
  color: var(--ink);
  font-size: 16px;
  background-color: #fdf2f8;
  background-position: center top;
  background-attachment: fixed;
  scrollbar-width: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  filter: blur(72px);
  pointer-events: none;
}

body::before {
  top: -16vw;
  left: -11vw;
  width: 42vw;
  aspect-ratio: 1;
  background: rgba(132, 163, 255, 0.22);
}

body::after {
  right: -13vw;
  bottom: -20vw;
  width: 48vw;
  aspect-ratio: 1;
  background: rgba(244, 114, 182, 0.2);
}

::selection {
  color: #fff;
  background: var(--color-primary);
}

button,
input {
  touch-action: manipulation;
}

button:focus-visible,
input:focus-visible,
a:focus-visible,
.filter-trigger:focus-visible,
.filter-option:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 3px;
}

.site {
  position: relative;
  isolation: isolate;
  padding: var(--space-5) clamp(14px, 4vw, 64px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(253, 242, 248, 0.22)),
    radial-gradient(circle at 50% 0, rgba(255, 255, 255, 0.5), transparent 36%);
}

.site::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(rgba(93, 55, 114, 0.1) 0.65px, transparent 0.65px);
  background-size: 24px 24px;
  mask-image: linear-gradient(to bottom, #000, transparent 55%);
  opacity: 0.35;
}

.hero {
  min-height: 350px;
  grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
  border-color: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(118deg, rgba(255, 255, 255, 0.92), rgba(255, 248, 253, 0.8) 56%, rgba(244, 237, 255, 0.78)),
    rgba(255, 255, 255, 0.74);
  box-shadow:
    var(--shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(24px) saturate(120%);
  animation: refinedHeroEnter 720ms var(--ease-ui) both;
}

.hero::before {
  display: none;
}

.portrait-stage {
  min-height: 350px;
  overflow: hidden;
  border-right-color: rgba(128, 83, 135, 0.15);
  background:
    radial-gradient(circle at 50% 46%, rgba(255, 255, 255, 0.82), transparent 48%),
    linear-gradient(145deg, rgba(137, 174, 235, 0.22), rgba(248, 178, 206, 0.2));
}

.portrait-stage::before {
  top: var(--space-5);
  left: var(--space-5);
  min-height: 27px;
  padding: 0 var(--space-3);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  letter-spacing: 0.14em;
  background: linear-gradient(135deg, #e6347d, #c92269);
  box-shadow: 0 8px 20px rgba(219, 39, 119, 0.25);
}

.portrait-stage::after {
  content: "DREAM VOICE · LIVE MUSIC";
  position: absolute;
  right: 0;
  bottom: 27px;
  left: 0;
  color: rgba(74, 50, 91, 0.52);
  font: 800 9px/1 ui-monospace, "Cascadia Mono", monospace;
  letter-spacing: 0.2em;
  text-align: center;
}

.avatar-ring {
  width: 238px;
  height: 238px;
  padding: 7px;
  background: linear-gradient(135deg, #fff, #d9d7ff 38%, #ffd4e5 72%, #fff);
  box-shadow:
    0 28px 62px rgba(73, 50, 113, 0.2),
    0 0 0 10px rgba(255, 255, 255, 0.3);
  animation: refinedPortraitEnter 820ms 100ms var(--ease-ui) both;
}

.avatar-ring:hover {
  transform: translateY(-4px);
  box-shadow:
    0 34px 68px rgba(73, 50, 113, 0.23),
    0 0 0 10px rgba(255, 255, 255, 0.38);
}

.avatar-ring::after {
  width: 20px;
  height: 20px;
  border-width: 4px;
  background: #30a481;
}

.hero-copy {
  padding: var(--space-7) clamp(34px, 5vw, 68px) 42px;
}

.eyebrow {
  width: max-content;
  margin-bottom: var(--space-2);
  padding: 6px 11px;
  border: 1px solid rgba(155, 63, 135, 0.18);
  border-radius: 999px;
  color: var(--color-primary-dark);
  background: rgba(255, 255, 255, 0.62);
  letter-spacing: 0.18em;
}

.hero h1 {
  margin-bottom: var(--space-3);
  color: #3b1832;
  font-size: clamp(42px, 5vw, 70px);
  font-weight: 800;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.hero h1 span {
  color: var(--color-primary);
  background: linear-gradient(95deg, #b61d68, #7c5bc7);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.intro {
  max-width: 780px;
  margin: 0 0 var(--space-5);
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #6b4e62;
  background: transparent;
  font-size: 14px;
  line-height: 1.75;
}

.meta {
  gap: var(--space-2);
}

.meta-item {
  min-height: 44px;
  border-color: var(--color-border);
  border-radius: var(--radius-sm);
  color: #68405f;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 7px 18px rgba(90, 46, 84, 0.06);
  transition:
    color var(--duration-fast) ease,
    border-color var(--duration-fast) ease,
    background var(--duration-fast) ease,
    box-shadow var(--duration-ui) var(--ease-ui),
    transform var(--duration-ui) var(--ease-ui);
}

.meta-item:hover {
  border-color: rgba(219, 39, 119, 0.3);
  color: var(--color-primary-dark);
  box-shadow: 0 12px 24px rgba(90, 46, 84, 0.1);
}

.meta-item.live {
  color: #b11960;
  background: #fff3f8;
}

.line-icon,
.meta-item.live .line-icon {
  color: var(--color-primary);
}

.soundline {
  display: flex;
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  animation: refinedSoundReveal 980ms 560ms var(--ease-ui) forwards;
  will-change: opacity, clip-path, transform;
}

.soundline i {
  transform-origin: center;
  background: linear-gradient(#7c5bc7, #db2777);
  animation: refinedWavePulse var(--speed, 1.8s) ease-in-out infinite alternate;
  animation-delay: var(--d);
}

.catalog {
  margin-bottom: 0;
  border-color: rgba(255, 255, 255, 0.94);
  border-radius: var(--radius-xl);
  background: var(--color-surface);
  box-shadow:
    var(--shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(26px) saturate(118%);
  animation: refinedCatalogEnter 700ms 120ms var(--ease-ui) both;
}

.catalog-head {
  position: relative;
  align-items: center;
  min-height: 94px;
  padding: var(--space-5) var(--space-6);
  border-bottom-color: var(--color-border);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.48), rgba(250, 237, 247, 0.55));
}

.catalog-head::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 18px;
  width: 4px;
  height: 44px;
  border-radius: 999px;
  background: linear-gradient(var(--color-primary), var(--color-secondary));
  transform: translateY(-50%);
}

.catalog-title small {
  margin-bottom: var(--space-1);
  color: var(--color-primary-dark);
}

.catalog-title h2 {
  color: #43203a;
  font-size: clamp(24px, 2.3vw, 30px);
  letter-spacing: -0.025em;
}

.song-count {
  min-width: 154px;
  padding: 11px var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: #76576c;
  background: rgba(255, 255, 255, 0.68);
  text-align: center;
}

.song-count strong {
  color: var(--color-primary);
}

.controls {
  padding: var(--space-5) var(--space-6);
  border-bottom-color: var(--color-border);
  background: rgba(255, 250, 253, 0.58);
}

.search input,
.filter-trigger,
.jump input {
  border-color: rgba(136, 77, 119, 0.21);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition:
    border-color var(--duration-fast) ease,
    box-shadow var(--duration-fast) ease,
    background var(--duration-fast) ease;
}

.search input {
  height: 48px;
  font-size: 15px;
}

.search input::placeholder {
  color: #9b7f93;
}

.search input:hover,
.filter-trigger:hover {
  border-color: rgba(155, 63, 135, 0.38);
}

.search input:focus,
.filter-trigger:focus-visible,
.select-box.open .filter-trigger,
.jump input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px var(--color-focus);
}

.filter-icon {
  color: var(--color-secondary);
}

.filter-menu {
  z-index: 40;
  border-color: rgba(155, 63, 135, 0.2);
  background: rgba(255, 252, 255, 0.98);
  box-shadow: 0 22px 46px rgba(72, 32, 67, 0.17);
}

.filter-option {
  min-height: 38px;
  color: #674a5e;
}

.filter-option:hover,
.filter-option:focus-visible {
  color: var(--color-primary-dark);
  background: #fce9f3;
}

.filter-option.selected {
  color: #fff;
  background: linear-gradient(135deg, var(--color-primary), #a4398a);
  box-shadow: 0 7px 16px rgba(219, 39, 119, 0.24);
}

.random {
  min-width: 132px;
  height: 46px;
  background: linear-gradient(135deg, #e83a82, #c91f68);
  box-shadow: 0 10px 22px rgba(219, 39, 119, 0.25);
  transition:
    box-shadow var(--duration-ui) var(--ease-ui),
    transform var(--duration-ui) var(--ease-ui),
    filter var(--duration-fast) ease;
}

.random:hover {
  box-shadow: 0 15px 29px rgba(219, 39, 119, 0.31);
}

.notice {
  min-height: 34px;
  padding: var(--space-2) var(--space-6) 0;
  color: #27715f;
}

.table-shell {
  margin: 0 var(--space-6);
  border-color: var(--color-border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 36px rgba(78, 37, 72, 0.06);
}

th,
td {
  border-bottom-color: rgba(145, 68, 122, 0.11);
}

th {
  height: 48px;
  color: #765b70;
  background: #fbf4f9;
  font-size: 12px;
  font-weight: 800;
}

tbody tr:nth-child(even) td {
  background: rgba(252, 247, 251, 0.56);
}

tbody tr:hover {
  transform: none;
}

tbody tr:hover td {
  border-bottom-color: rgba(145, 68, 122, 0.08);
  background: #faeaf4;
}

tbody tr:hover td:first-child {
  border-radius: 0;
  box-shadow: none;
}

tbody tr:hover td:last-child {
  border-radius: 0;
}

.table-shell tbody tr td:first-child,
.table-shell tbody tr td:last-child {
  border-radius: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

.table-shell tbody tr:hover td:first-child {
  border-radius: 999px 0 0 999px !important;
  outline: 0 !important;
  box-shadow: none !important;
}

.table-shell tbody tr:hover td:last-child {
  border-radius: 0 999px 999px 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

tbody tr:hover .empty,
.empty {
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

tbody.reveal tr {
  animation: refinedSongRowEnter 430ms var(--ease-ui) both;
  animation-delay: calc(var(--i) * 42ms);
}

.number {
  color: #98778f;
  font-variant-numeric: tabular-nums;
}

.title {
  color: #4b2340;
}

.muted {
  color: #987e91;
}

.tag {
  min-width: 60px;
  min-height: 27px;
  padding: 4px 10px;
  border: 1px solid transparent;
}

.free {
  border-color: #cddcf7;
  color: #345d9e;
  background: #edf4ff;
}

.sc {
  border-color: #f2c9dc;
  color: #b51f63;
  background: #fff0f6;
}

.ship {
  border-color: #efd5ad;
  color: #8d5a12;
  background: #fff7e8;
}

.copy {
  min-width: 84px;
  min-height: 36px;
  border-color: rgba(219, 39, 119, 0.42);
  color: var(--color-primary-dark);
  background: #fff;
  transition:
    color var(--duration-fast) ease,
    border-color var(--duration-fast) ease,
    background var(--duration-fast) ease,
    box-shadow var(--duration-ui) var(--ease-ui),
    transform var(--duration-fast) ease;
}

.copy:hover {
  color: #fff;
  background: var(--color-primary);
  box-shadow: 0 8px 17px rgba(219, 39, 119, 0.22);
}

.copy.copied {
  border-color: #b52b72;
  color: #fff;
  background: linear-gradient(135deg, #a33a86, #db2777);
  box-shadow: 0 8px 18px rgba(219, 39, 119, 0.24);
}

.empty {
  color: #86697e;
}

.pager {
  padding: var(--space-5) var(--space-6) var(--space-6);
}

.page-btn,
.jump button,
.jump input {
  min-width: 40px;
  height: 40px;
  border-color: rgba(136, 77, 119, 0.2);
  color: #69485f;
}

.page-btn:not(:disabled):hover,
.jump button:hover {
  border-color: rgba(219, 39, 119, 0.42);
  color: var(--color-primary-dark);
  box-shadow: 0 8px 17px rgba(91, 44, 84, 0.1);
}

.page-btn.active {
  border-color: var(--color-primary);
  background: linear-gradient(145deg, var(--color-primary), #a91c5d);
  box-shadow: 0 8px 18px rgba(219, 39, 119, 0.23);
}

.toast {
  position: absolute;
  top: 50%;
  right: auto;
  bottom: auto;
  left: 50%;
  z-index: 100;
  width: max-content;
  max-width: calc(100% - 40px);
  min-height: 50px;
  padding: 9px 18px 9px 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  border: 1px solid rgba(219, 39, 119, 0.24);
  border-radius: 999px;
  color: #6f2452;
  background: rgba(255, 249, 253, 0.96);
  box-shadow:
    0 18px 42px rgba(130, 46, 101, 0.19),
    0 0 0 5px rgba(255, 255, 255, 0.32);
  font-weight: 800;
  backdrop-filter: blur(18px) saturate(130%);
  opacity: 0;
  transform: translate(-50%, calc(-50% + 12px)) scale(0.96);
  pointer-events: none;
}

.toast-icon {
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(219, 39, 119, 0.24);
  border-radius: 10px;
  color: #c2266b;
  background: linear-gradient(145deg, rgba(255, 236, 246, 0.96), rgba(255, 249, 253, 0.96));
}

.toast-icon svg {
  width: 22px;
  height: 22px;
  overflow: visible;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.toast-copy-back {
  opacity: 0.45;
}

.toast-check {
  stroke-width: 2.2;
}

.toast-message {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.toast.show {
  animation: refinedToastEnter 320ms var(--ease-ui) both;
}

@keyframes refinedHeroEnter {
  from {
    opacity: 0;
    transform: translateY(-18px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes refinedCatalogEnter {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes refinedPortraitEnter {
  from {
    opacity: 0;
    transform: scale(0.82) rotate(-4deg);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes refinedSoundReveal {
  from {
    opacity: 0;
    clip-path: inset(0 100% 0 0);
    transform: translateY(7px);
  }
  to {
    opacity: 0.46;
    clip-path: inset(0 0 0 0);
    transform: none;
  }
}

@keyframes refinedWavePulse {
  0% {
    opacity: 0.36;
    transform: scaleY(0.34);
  }
  55% {
    opacity: 0.82;
    transform: scaleY(0.76);
  }
  100% {
    opacity: 1;
    transform: scaleY(1);
  }
}

@keyframes refinedSongRowEnter {
  from {
    opacity: 0;
    transform: translateX(var(--page-shift, 0px)) translateY(10px);
    filter: blur(3px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: blur(0);
  }
}

@keyframes refinedToastEnter {
  from {
    opacity: 0;
    transform: translate(-50%, calc(-50% + 12px)) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@media (max-width: 1050px) {
  .hero {
    grid-template-columns: 240px minmax(0, 1fr);
  }

  .hero-copy {
    padding: 36px;
  }

  .controls {
    grid-template-columns: minmax(220px, 1fr) repeat(3, minmax(130px, 150px));
  }
}

@media (max-width: 720px) {
  body {
    min-width: 0;
    background-attachment: scroll;
  }

  .site {
    padding: 10px;
  }

  .hero {
    grid-template-columns: 104px minmax(0, 1fr);
    border-radius: var(--radius-lg);
  }

  .soundline {
    display: none;
  }

  .hero::before {
    width: 64%;
    border-radius: 0 var(--radius-lg) 0 999px;
  }

  .portrait-stage {
    min-height: 168px;
  }

  .portrait-stage::before {
    top: 12px;
    left: 50%;
    min-height: 22px;
    padding: 0 8px;
    font-size: 7px;
    letter-spacing: 0.1em;
    white-space: nowrap;
    transform: translateX(-50%);
  }

  .portrait-stage::after {
    display: none;
  }

  .avatar-ring {
    width: 86px;
    height: 86px;
    padding: 4px;
    box-shadow:
      0 16px 32px rgba(73, 50, 113, 0.18),
      0 0 0 5px rgba(255, 255, 255, 0.28);
  }

  .avatar-ring::after {
    right: 0;
    bottom: 6px;
    width: 12px;
    height: 12px;
    border-width: 3px;
  }

  .hero-copy {
    padding: 20px 15px;
  }

  .eyebrow {
    padding: 4px 7px;
    font-size: 8px;
  }

  .hero h1 {
    font-size: clamp(28px, 9vw, 38px);
  }

  .intro {
    margin: 10px 0 12px;
    padding: 0;
    border: 0;
    background: transparent;
    font-size: 12px;
    line-height: 1.65;
  }

  .meta {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
  }

  .meta-item {
    width: 100%;
    min-width: 0;
    min-height: 40px;
    padding: 0 8px;
    justify-content: center;
    font-size: 11px;
  }

  .meta-item:first-child {
    grid-column: 1 / -1;
  }

  .catalog {
    margin-bottom: 0;
    border-radius: var(--radius-lg);
  }

  .catalog-head {
    min-height: 80px;
    padding: 18px 16px;
    gap: 8px;
  }

  .catalog-head::before {
    left: 7px;
    height: 34px;
  }

  .catalog-title {
    min-width: 0;
  }

  .catalog-title h2 {
    font-size: clamp(19px, 5.5vw, 22px);
    white-space: nowrap;
  }

  .song-count {
    min-width: max-content;
    max-width: none;
    padding: 8px 10px;
    display: inline-flex;
    align-items: baseline;
    gap: 3px;
    font-size: 11px;
    white-space: nowrap;
  }

  .song-count strong {
    font-size: 18px;
  }

  .controls {
    padding: 14px 12px;
    grid-template-columns: 1fr 1fr;
  }

  .search input,
  .filter-trigger {
    min-height: 46px;
    font-size: 16px;
  }

  .random {
    min-width: 0;
    min-height: 46px;
  }

  .notice {
    min-height: 32px;
    padding-left: 16px;
    font-size: 13px;
  }

  .table-shell {
    margin: 0 10px;
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  table,
  tbody {
    display: block;
    width: 100%;
    min-width: 0;
  }

  thead {
    display: none;
  }

  tbody {
    padding: 0;
  }

  tbody tr,
  tbody.reveal tr {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0 12px;
    margin-bottom: 10px;
    padding: 12px;
    overflow: hidden;
    border: 1px solid rgba(145, 68, 122, 0.16);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 24px rgba(78, 37, 72, 0.07);
  }

  tbody tr::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 3px;
    background: linear-gradient(var(--color-primary), var(--color-secondary));
  }

  tbody tr:hover {
    transform: none;
  }

  tbody td,
  tbody tr:hover td,
  tbody tr:nth-child(even) td {
    width: auto !important;
    min-width: 0;
    height: auto;
    min-height: 38px;
    padding: 7px 5px;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border: 0;
    border-bottom: 1px solid rgba(145, 68, 122, 0.09);
    border-radius: 0 !important;
    color: #62465a;
    background: transparent;
    box-shadow: none !important;
    text-align: right;
    white-space: normal;
  }

  tbody td::before {
    flex: 0 0 auto;
    color: #9a7c91;
    font-size: 11px;
    font-weight: 700;
    text-align: left;
  }

  tbody td:nth-child(1)::before { content: "编号"; }
  tbody td:nth-child(2)::before { content: "歌曲"; }
  tbody td:nth-child(3)::before { content: "歌手"; }
  tbody td:nth-child(4)::before { content: "语言"; }
  tbody td:nth-child(5)::before { content: "曲风"; }
  tbody td:nth-child(6)::before { content: "类型"; }

  tbody td:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
  }

  tbody td:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
  }

  tbody td:nth-child(3) {
    grid-column: 1;
    grid-row: 3;
  }

  tbody td:nth-child(5) {
    grid-column: 2;
    grid-row: 1;
  }

  tbody td:nth-child(4) {
    grid-column: 2;
    grid-row: 2;
  }

  tbody td:nth-child(6) {
    grid-column: 2;
    grid-row: 3;
  }

  tbody td:nth-child(7) {
    grid-column: 1 / -1;
    grid-row: 4;
  }

  tbody td:nth-child(2) {
    min-height: 46px;
    color: #452038;
    font-size: 17px;
    text-align: right;
  }

  tbody td:nth-child(2),
  tbody td:nth-child(3),
  tbody td:nth-child(5) {
    overflow-wrap: anywhere;
  }

  tbody td:nth-child(7) {
    padding: 10px 4px 2px;
    border-bottom: 0;
  }

  tbody td:nth-child(7)::before {
    content: none;
  }

  .tag {
    min-height: 28px;
  }

  .copy {
    width: 100%;
    min-height: 44px;
  }

  .empty {
    min-height: 128px;
    grid-column: 1 / -1 !important;
    justify-content: center;
    text-align: center;
  }

  .empty::before {
    content: none !important;
  }

  .pager {
    padding: 16px 12px 22px;
  }

  .page-btn,
  .jump button,
  .jump input {
    min-width: 44px;
    height: 44px;
  }
}

@media (max-width: 420px) {
  .hero {
    grid-template-columns: 90px minmax(0, 1fr);
  }

  .avatar-ring {
    width: 74px;
    height: 74px;
  }

  .catalog-title small {
    font-size: 8px;
  }

  tbody tr {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0 8px;
    padding: 10px;
  }
}

@media (max-width: 360px) {
  .catalog-head {
    padding-right: 12px;
    padding-left: 12px;
  }

  .catalog-title h2 {
    font-size: 17px;
  }

  .song-count {
    padding: 7px 8px;
    font-size: 10px;
  }

  .song-count strong {
    font-size: 16px;
  }
}

@media (orientation: landscape) and (max-height: 520px) {
  .hero {
    min-height: 280px;
  }

  .portrait-stage {
    min-height: 280px;
  }

  .hero-copy {
    padding-top: 28px;
    padding-bottom: 28px;
  }
}

.table-shell tbody tr::before,
.table-shell tbody tr::after {
  display: none !important;
  content: none !important;
}
