/* 首页横幅（2026-10-04 改版）：影院全幅 cin / 霓虹现场 neo，两套轮流出现，由 #hero2[data-v] 决定显示哪套。
   手机版用容器查询（按横幅自身宽度判断），不依赖屏幕宽度。回滚：删掉 index.html 里本文件的 link 并还原 *.bak.pre-hero2-* */
.hero2 { container-type: inline-size; position: relative; }
.hero2 > [data-variant] { display: none; }
.hero2[data-v="cin"] > .cin { display: block; }
.hero2[data-v="neo"] > .neo { display: grid; }
.hero2:not([data-v]) { height: 520px; }
.hero2.empty, main.is-searching .hero2 { display: none !important; }
.hero2 button { font-family: inherit; }
.hero2 svg { flex: none; }
/* 横幅滚出屏幕时停掉所有动画；播放器开着时进度条不走 */
.hero2.offscreen *, .hero2.offscreen *::before, .hero2.offscreen *::after,
.hero2.paused .cin-prog span.on i { animation-play-state: paused !important; }

@keyframes h2Rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes h2Pulse { 0% { box-shadow: 0 0 0 0 currentColor; } 70% { box-shadow: 0 0 0 8px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

/* ═════════ 影院全幅 ═════════ */
.cin { position: relative; height: 520px; border-radius: 24px; overflow: hidden; background: #050506; color: #fff; isolation: isolate; }
.cin-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.cin-bg img.on { opacity: 1; }
.cin-bg img.zoom { animation: cinZoom 10s ease-out forwards; }
@keyframes cinZoom { from { transform: scale(1.03); } to { transform: scale(1.13); } }
.cin-shade { position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(5,5,7,.95) 0%, rgba(5,5,7,.78) 28%, rgba(5,5,7,.2) 60%, transparent 78%),
              linear-gradient(0deg, rgba(5,5,7,.9) 0%, transparent 42%); }
.cin-body { position: absolute; z-index: 2; left: 60px; top: 0; bottom: 30px; width: min(50%, 640px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.cin-body.enter > * { animation: h2Rise .8s cubic-bezier(.2,.7,.2,1) both; }
.cin-body.enter > :nth-child(2) { animation-delay: .06s; }
.cin-body.enter > :nth-child(3) { animation-delay: .12s; }
.cin-body.enter > :nth-child(4) { animation-delay: .18s; }
.cin-body.enter > :nth-child(5) { animation-delay: .24s; }
.cin-kicker { font-size: 12px; letter-spacing: 3px; color: #ffffffb3; display: flex; align-items: center; gap: 10px; }
.cin-kicker b { color: #fff; font-weight: 700; }
.cin-kicker i { font-style: normal; opacity: .5; }
.cin-dot { width: 8px; height: 8px; border-radius: 50%; background: #ff4d5e; color: #ff4d5e88; animation: h2Pulse 2s infinite; }
.cin-song { font-family: var(--page-serif); font-size: clamp(36px, 5cqw, 72px); font-weight: 900; line-height: 1.12; margin: 18px 0 12px; letter-spacing: 2px; text-shadow: 0 4px 30px rgba(0,0,0,.45); }
.cin-artist { font-size: 17px; color: #ffffffd0; letter-spacing: .5px; min-height: 1.4em; }
.cin-artist em { font-style: normal; margin-left: 10px; font-size: 12px; padding: 3px 10px; border: 1px solid #ffffff45; border-radius: 99px; color: #ffffffb0; vertical-align: 2px; white-space: nowrap; }
.cin-slogan { margin: 26px 0 0; font-family: var(--page-serif); font-size: 15px; font-weight: 400; color: #ffffff8c; letter-spacing: 4px; }
.cin-actions { display: flex; gap: 14px; margin-top: 30px; align-items: center; flex-wrap: wrap; }
.cin-play { display: inline-flex; align-items: center; gap: 10px; background: #fff; color: #111; border: 0; border-radius: 99px; padding: 15px 30px; font-size: 15px; font-weight: 800; cursor: pointer; transition: transform .2s, box-shadow .2s; }
.cin-play:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 12px 40px rgba(255,255,255,.25); }
.cin-play svg, .neo-play svg { width: 16px; height: 16px; fill: currentColor; }
.cin-more { color: #fff; text-decoration: none; padding: 14px 24px; border-radius: 99px; background: #ffffff1c; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid #ffffff2e; font-size: 14px; font-weight: 600; }
.cin-more:hover { background: #ffffff30; }
.cin-next { position: absolute; z-index: 2; right: 36px; bottom: 48px; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.cin-next small { font-size: 11px; letter-spacing: 3px; color: #ffffff99; }
.cin-thumbs { display: flex; gap: 10px; }
.cin-next:has(.cin-thumbs:empty) { display: none; }
.cin-thumbs button { width: 138px; aspect-ratio: 16/9; border-radius: 10px; overflow: hidden; border: 1px solid #ffffff30; padding: 0; cursor: pointer; background: #222; opacity: .78; transition: .25s; position: relative; }
.cin-thumbs button:hover, .cin-thumbs button:focus-visible { opacity: 1; transform: translateY(-4px); border-color: #fff; }
.cin-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cin-thumbs span { position: absolute; left: 8px; bottom: 6px; right: 8px; font-size: 11px; color: #fff; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 1px 6px #000; }
.cin-prog { position: absolute; z-index: 2; left: 60px; right: 36px; bottom: 22px; display: flex; gap: 6px; }
.cin-prog span { flex: 1; height: 3px; border-radius: 3px; background: #ffffff2e; overflow: hidden; cursor: pointer; position: relative; }
.cin-prog span::before { content: ""; position: absolute; inset: -8px 0; }
.cin-prog span i { display: block; height: 100%; width: 0; background: #fff; }
.cin-prog span.done i { width: 100%; }
.cin-prog span.on i { animation: cinFill 7s linear forwards; }
@media (hover: hover) { .cin:hover .cin-prog span.on i { animation-play-state: paused; } }
@keyframes cinFill { to { width: 100%; } }
@container (max-width: 640px) {
  .cin { height: 560px; border-radius: 16px; }
  .cin-shade { background: linear-gradient(0deg, rgba(5,5,7,.97) 0%, rgba(5,5,7,.75) 45%, transparent 75%); }
  .cin-body { left: 22px; right: 22px; width: auto; top: auto; bottom: 46px; }
  .cin-song { font-size: 34px; margin: 14px 0 8px; }
  .cin-artist { font-size: 14px; }
  .cin-slogan { font-size: 13px; letter-spacing: 2px; margin-top: 16px; }
  .cin-actions { margin-top: 22px; gap: 10px; }
  .cin-play { padding: 13px 24px; font-size: 14px; }
  .cin-more { padding: 12px 20px; font-size: 13px; }
  .cin-next { display: none; }
  .cin-prog { left: 22px; right: 22px; bottom: 20px; gap: 4px; }
}

/* ═════════ 霓虹现场 ═════════ */
.neo { position: relative; height: 540px; border-radius: 24px; overflow: hidden; background: #07060d; color: #fff; isolation: isolate;
  grid-template-columns: .8fr 1.2fr; align-items: center; }
.neo-aurora, .neo-beams { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.neo-aurora i { position: absolute; width: 560px; height: 560px; border-radius: 50%; filter: blur(90px); opacity: .55; mix-blend-mode: screen; will-change: transform; }
.neo-aurora i:nth-child(1) { background: #ff2e93; left: -160px; top: -200px; animation: neoDrift1 16s ease-in-out infinite alternate; }
.neo-aurora i:nth-child(2) { background: #6d4dff; right: -120px; top: -160px; animation: neoDrift2 19s ease-in-out infinite alternate; }
.neo-aurora i:nth-child(3) { background: #10c8e8; left: 35%; bottom: -330px; opacity: .4; animation: neoDrift1 22s ease-in-out infinite alternate-reverse; }
@keyframes neoDrift1 { to { transform: translate(140px, 90px) scale(1.15); } }
@keyframes neoDrift2 { to { transform: translate(-160px, 120px) scale(.9); } }
.neo-beams i { position: absolute; top: -40px; width: 260px; height: 640px; transform-origin: 50% 0; opacity: .22;
  background: linear-gradient(180deg, #fff, transparent 85%); clip-path: polygon(46% 0, 54% 0, 100% 100%, 0 100%); filter: blur(6px); will-change: transform; }
.neo-beams i:nth-child(1) { left: 48%; animation: neoSway 7s ease-in-out infinite alternate; }
.neo-beams i:nth-child(2) { left: 68%; animation: neoSway 9s ease-in-out infinite alternate-reverse; opacity: .16; }
.neo-beams i:nth-child(3) { left: 84%; animation: neoSway 6s ease-in-out infinite alternate; opacity: .12; }
@keyframes neoSway { from { transform: rotate(-22deg); } to { transform: rotate(18deg); } }
.neo-floor { position: absolute; left: 0; right: 0; bottom: 0; height: 160px; z-index: -1; pointer-events: none;
  background: linear-gradient(0deg, #07060d, transparent), repeating-linear-gradient(90deg, #ffffff10 0 1px, transparent 1px 60px);
  transform: perspective(300px) rotateX(55deg); transform-origin: bottom; opacity: .7; }
.neo-copy { padding-left: 60px; position: relative; z-index: 3; min-width: 0; }
.neo-live { display: flex; align-items: center; gap: 12px; font-size: 12px; letter-spacing: 3px; color: #ffffffbb; }
.neo-live span { background: #ff2e63; color: #ff2e6388; padding: 3px 9px; border-radius: 5px; font-size: 11px; letter-spacing: 2px; animation: h2Pulse 1.8s infinite; }
.neo-live span b { color: #fff; font-weight: 800; }
.neo-title { font-family: var(--page-serif); font-weight: 900; font-size: clamp(36px, 4.4cqw, 66px); line-height: 1.16; margin: 20px 0 0; letter-spacing: 2px;
  background: linear-gradient(90deg, #fff 0%, #ffc2e6 30%, #b9a8ff 55%, #8ff3ff 80%, #fff 100%); background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: neoShimmer 9s linear infinite;
  filter: drop-shadow(0 0 24px rgba(255,80,180,.25)); }
@keyframes neoShimmer { to { background-position: -220% 0; } }
.neo-sub { color: #ffffff99; font-size: 14px; letter-spacing: 1px; margin: 18px 0 0; }
.neo-now { margin-top: 26px; display: flex; align-items: center; gap: 10px; font-size: 14px; color: #ffffffcc; min-height: 22px; min-width: 0; }
.neo-now .note { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #ff2e93, #6d4dff); font-size: 12px; flex: none; }
.neo-now b { font-weight: 700; color: #fff; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; flex: none; max-width: 60%; }
.neo-now span { color: #ffffff80; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.neo-now.enter { animation: h2Rise .6s both; }
.neo-actions { display: flex; align-items: center; gap: 14px; margin-top: 26px; flex-wrap: wrap; }
.neo-play { display: inline-flex; align-items: center; gap: 10px; border: 0; border-radius: 99px; padding: 15px 30px; font-size: 15px; font-weight: 800; color: #fff; cursor: pointer;
  background: linear-gradient(90deg, #ff2e93, #8b5cff); box-shadow: 0 10px 40px #ff2e9366, inset 0 1px 0 #ffffff55; transition: .2s; }
.neo-play:hover { transform: translateY(-2px); box-shadow: 0 14px 50px #ff2e9399, inset 0 1px 0 #ffffff55; }
.neo-more { color: #fff; text-decoration: none; font-size: 14px; font-weight: 600; padding: 14px 22px; border-radius: 99px; border: 1px solid #ffffff38; background: #ffffff0d; }
.neo-more:hover { background: #ffffff1f; }
.neo-flow { position: relative; z-index: 1; height: 100%; perspective: 1100px; min-width: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 16%); mask-image: linear-gradient(90deg, transparent, #000 16%); }
.neo-card { position: absolute; left: 50%; top: 46%; width: 360px; aspect-ratio: 16/9; margin: calc(-360px * 9 / 32) 0 0 -180px; border-radius: 14px; overflow: hidden;
  transition: transform .8s cubic-bezier(.2,.75,.2,1), opacity .8s, filter .8s; cursor: pointer; background: #111; outline: none;
  box-shadow: 0 20px 60px rgba(0,0,0,.6); -webkit-box-reflect: below 6px linear-gradient(transparent 62%, rgba(255,255,255,.22)); }
.neo-card img { width: 100%; height: 100%; object-fit: cover; display: block; -webkit-user-drag: none; }
.neo-card.center { box-shadow: 0 0 0 2px #ffffffcc, 0 0 50px #ff2e9377, 0 30px 70px rgba(0,0,0,.7); }
.neo-card:focus-visible { box-shadow: 0 0 0 3px #8ff3ff, 0 30px 70px rgba(0,0,0,.7); }
.neo-card .fab { position: absolute; right: 12px; bottom: 12px; width: 40px; height: 40px; border-radius: 50%; background: #fff; display: grid; place-items: center; opacity: 0; transition: .3s; }
.neo-card .fab svg { width: 16px; height: 16px; fill: #111; margin-left: 2px; }
.neo-card.center .fab { opacity: 1; }
@container (max-width: 900px) {
  .neo { height: 570px; grid-template-columns: 1fr; grid-template-rows: auto 1fr; border-radius: 16px; align-items: start; }
  .neo-copy { padding: 30px 22px 0; }
  .neo-title { font-size: 34px; margin-top: 14px; }
  .neo-sub { font-size: 13px; margin-top: 12px; }
  .neo-now { margin-top: 14px; font-size: 13px; }
  .neo-actions { margin-top: 18px; gap: 10px; }
  .neo-play { padding: 13px 24px; font-size: 14px; }
  .neo-more { padding: 12px 20px; font-size: 13px; }
  .neo-flow { -webkit-mask-image: none; mask-image: none; }
  .neo-card { width: 240px; margin: calc(-240px * 9 / 32) 0 0 -120px; top: 40%; }
  .neo-beams i { width: 160px; }
  .neo-aurora i { width: 380px; height: 380px; }
}

/* 2026-10-05：底栏平铺全部精选（原来只露后 3 首），当前曲高亮；左侧文字上移给底栏腾位。回滚删掉本段 */
.cin-body { bottom: 135px; }
.cin-next { left: 60px; align-items: stretch; }
.cin-next small { align-self: flex-end; }
.cin-thumbs { overflow-x: auto; scrollbar-width: none; padding-top: 6px; margin-top: -6px; }
.cin-thumbs::-webkit-scrollbar { display: none; }
.cin-thumbs button { flex: 0 0 138px; width: 138px; }
.cin-thumbs button:first-child { margin-left: auto; }
.cin-thumbs button.on { opacity: 1; border-color: #fff; box-shadow: 0 0 0 1px #fff; }
@container (max-width: 640px) { .cin-body { bottom: 46px; } }
