/* 首页分类专辑，对照 hifi361-新首页.html 的 .rel。全部同一张卡片，一行 5 个。 */

.hires-home-picks {
  --red: #C9002B;
  --red-d: #A00025;
  --gold: #F6B800;
  --bg: #FFFFFF;
  --warm: #FFF9F1;
  --ink: #161616;
  --ink2: #64615E;
  --line: #E7E0D8;
  --sans: system-ui, -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "Segoe UI Mono", Consolas, monospace;
  --r-card: 6px;
  --shadow-red: 0 26px 48px -30px rgba(160, 0, 37, .42);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --w: 1488px;
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  min-width: 0;
  padding: 64px 0 80px;
  background: var(--warm);
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--sans);
  scroll-margin-top: 68px;
}
.hires-home-picks,
.hires-home-picks * { box-sizing: border-box; }
.hires-home-picks h2,
.hires-home-picks h3,
.hires-home-picks p,
.hires-home-picks ul { margin: 0; padding: 0; }
.hires-home-picks ul { list-style: none; }
.hires-home-picks a { color: inherit; text-decoration: none; }
.hires-home-picks button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.hires-home-picks img { display: block; max-width: none; }
.hires-home-picks svg { display: block; flex: none; max-width: none; }
.hires-home-picks .wrap { width: 100%; max-width: var(--w); margin: 0 auto; padding-left: 24px; padding-right: 24px; }

.hires-home-picks .sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; }
.hires-home-picks .sec-eyebrow { display: flex; align-items: center; gap: 10px; font: 700 12px/1.5 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--red); }
.hires-home-picks .sec-eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--red); flex: none; }
.hires-home-picks .sec-title { margin-top: 10px; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.2; font-weight: 800; color: var(--ink); text-wrap: balance; }
.hires-home-picks .sec-more { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; white-space: nowrap; color: var(--ink2); transition: color .2s; }
.hires-home-picks .sec-more svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.hires-home-picks .sec-more:hover { color: var(--red); }
.hires-home-picks .sec-more:hover svg { transform: translateX(3px); }

.hires-home-picks .tabs-row { margin-top: 28px; display: flex; align-items: center; gap: 24px; border-bottom: 1px solid var(--line); }
.hires-home-picks .tabs { flex: 1; min-width: 0; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.hires-home-picks .tabs::-webkit-scrollbar { display: none; }
.hires-home-picks .tab { position: relative; flex: none; padding: 12px 16px; font-size: 15px; font-weight: 600; color: var(--ink2); white-space: nowrap; transition: color .2s; }
.hires-home-picks .tab:first-child { padding-left: 0; }
.hires-home-picks .tab::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 0; height: 2px; background: var(--red); transform: scaleX(0); transition: transform .3s var(--ease); }
.hires-home-picks .tab:first-child::after { left: 0; }
.hires-home-picks .tab:hover { color: var(--ink); }
.hires-home-picks .tab[aria-selected="true"] { color: var(--ink); font-weight: 700; }
.hires-home-picks .tab[aria-selected="true"]::after { transform: scaleX(1); }
.hires-home-picks .tabs-note { flex: none; font-size: 14px; color: var(--ink2); white-space: nowrap; }

.hires-home-picks .pick-grid { transition: opacity .3s; }
.hires-home-picks .pick-grid.is-dim { opacity: 0; }
.hires-home-picks .rel-grid { --cols: 5; --gap: 20px; margin-top: 28px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px var(--gap); }
.hires-home-picks .rel-grid[hidden] { display: none; }
.hires-home-picks .rel-grid > li { display: flex; min-width: 0; }
.hires-home-picks .rel-grid.swap > li { animation: hiresPickPop .5s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 40ms); }
@keyframes hiresPickPop { from { opacity: 0; transform: translateY(12px); } }
.hires-home-picks .pick-empty { grid-column: 1 / -1; color: var(--ink2); }

.hires-home-picks .alb { position: relative; flex: 1; min-width: 0; display: flex; flex-direction: column; }
.hires-home-picks .alb-art { position: relative; }
.hires-home-picks .cover { position: relative; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--bg); color: var(--ink2); font: 600 12px/1.5 var(--mono); letter-spacing: .12em; transition: border-color .2s, box-shadow .3s; }
.hires-home-picks .cover:not(:has(img))::before { content: ""; position: absolute; inset: 10px; border: 1px dashed var(--line); border-radius: 3px; }
.hires-home-picks .cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hires-home-picks .alb:hover .cover { border-color: var(--ink); box-shadow: var(--shadow-red); }
.hires-home-picks .badge { position: absolute; top: 8px; left: 8px; z-index: 1; max-width: calc(100% - 16px); padding: 4px 6px; border: 1px solid transparent; border-radius: 3px; font: 700 12px/1 var(--mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hires-home-picks .b-hr { background: var(--red); color: var(--bg); }
.hires-home-picks .b-dsd { background: var(--ink); color: var(--gold); }
.hires-home-picks .b-cd { background: var(--bg); color: var(--ink); border-color: var(--ink); }

.hires-home-picks .alb-title a::after { z-index: 1; }
.hires-home-picks .alb-play { position: absolute; right: 10px; bottom: 10px; z-index: 3; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--bg); box-shadow: 0 10px 22px -10px rgba(22, 22, 22, .7); opacity: 0; transform: translateY(6px); pointer-events: none; transition: opacity .2s, transform .25s var(--ease), background .2s, box-shadow .2s; }
.hires-home-picks .alb:hover .alb-play,
.hires-home-picks .alb:focus-within .alb-play { opacity: 1; transform: none; pointer-events: auto; }
.hires-home-picks .alb-play:hover { background: #2a2a2a; }
.hires-home-picks .alb-play.is-playing,
.hires-home-picks .alb-play[aria-pressed="true"] { opacity: 1; transform: none; pointer-events: auto; background: var(--red); box-shadow: 0 0 0 3px rgba(255, 255, 255, .92), 0 10px 22px -8px rgba(160, 0, 37, .75); }
.hires-home-picks .alb-play.is-playing:hover,
.hires-home-picks .alb-play[aria-pressed="true"]:hover { background: var(--red-d); }
.hires-home-picks .alb-play .ic-play,
.hires-home-picks .alb-play .ic-pause { width: 18px; height: 18px; }
.hires-home-picks .alb-play .ic-play { display: block; margin-left: 2px; }
.hires-home-picks .alb-play .ic-pause { display: none; }
.hires-home-picks .alb-play.is-playing .ic-play,
.hires-home-picks .alb-play[aria-pressed="true"] .ic-play { display: none; }
.hires-home-picks .alb-play.is-playing .ic-pause,
.hires-home-picks .alb-play[aria-pressed="true"] .ic-pause { display: block; margin-left: 0; }

.hires-home-picks .alb-info { display: flex; flex-direction: column; min-width: 0; padding-top: 12px; }
.hires-home-picks .alb-title { font-size: 15px; line-height: 1.45; font-weight: 700; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .2s; }
.hires-home-picks .alb-title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-card); }
.hires-home-picks .alb-title a:focus-visible { outline: none; }
.hires-home-picks .alb-title a:focus-visible::after { outline: 2px solid var(--red); outline-offset: 4px; }
.hires-home-picks .alb:hover .alb-title { color: var(--red); }
.hires-home-picks .alb-artist { font-size: 14px; line-height: 1.5; color: var(--ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hires-home-picks .alb-meta { margin-top: 4px; display: flex; justify-content: space-between; gap: 8px; font-size: 13px; line-height: 1.5; color: var(--ink2); white-space: nowrap; }
.hires-home-picks .alb-meta span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.hires-home-picks .alb-meta time { flex: none; font-family: var(--mono); font-variant-numeric: tabular-nums; }

@media (max-width: 900px) {
  .hires-home-picks { padding: 48px 0 64px; }
  .hires-home-picks .rel-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 599px) {
  .hires-home-picks { padding: 40px 0 56px; }
  .hires-home-picks .wrap { padding-left: 16px; padding-right: 16px; }
  .hires-home-picks .tabs-row { margin-top: 20px; }
  .hires-home-picks .tabs-note { display: none; }
  .hires-home-picks .rel-grid { --gap: 12px; margin-top: 20px; row-gap: 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hires-home-picks .alb-play { opacity: 1; transform: none; width: 44px; height: 44px; pointer-events: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .hires-home-picks .sec-more,
  .hires-home-picks .sec-more svg,
  .hires-home-picks .tab,
  .hires-home-picks .tab::after,
  .hires-home-picks .cover,
  .hires-home-picks .alb-play,
  .hires-home-picks .alb-title,
  .hires-home-picks .pick-grid { transition: none; }
  .hires-home-picks .rel-grid.swap > li { animation: none; }
}
