/* 歌單 LP 版面（畫法在 records.js）。底色：A 黑、B 青、C 淺灰 */
.stage.stage-records { container-type: size; padding: 0; align-items: stretch; background: #0b0b0b; overflow: hidden; }
/* --k = SVG 裡 1 單位在畫面上的大小；寬 400k、高 573k。下面那塊寬 368k，跟 SVG 裡 16～384 的邊線同一條 */
.lp { --pad: clamp(16px, 4.5vh, 36px); --k: min(100cqw / 400, (100cqh - 126px - var(--pad)) / 573); }
.lp { position: absolute; inset: 0; display: flex; flex-direction: column; background: var(--lp-bg); overflow: hidden; }
.lp-a { --lp-bg: #0b0b0b; --lp-fg: #cfcfcf; }
.lp-b { --lp-bg: #5199b1; --lp-fg: #000; }
.lp-c { --lp-bg: #dfe3e2; --lp-fg: #000; }
/* 材質：紙板的摺痕刮痕 + 顆粒 + 掃描線（跟菜單同一套底片感） */
.lp-tex, .lp-grain, .lp-scan { position: absolute; inset: 0; pointer-events: none; }
.lp-tex { background: url(../assets/records/board.webp) center / cover; opacity: 0.8; }
.lp-grain { z-index: 3; background: url(../assets/records/grain.webp) 0 0 / 180px; mix-blend-mode: overlay; opacity: 0.42; }
.lp-scan { z-index: 3; opacity: 0.1; background: repeating-linear-gradient(0deg, rgba(0,0,0,.6) 0 1px, transparent 1px 3px); }
.lp-svg { position: relative; flex: none; width: calc(400 * var(--k)); height: calc(573 * var(--k)); margin: 0 auto; display: block; overflow: visible; }
/* 中文一律 Medium（500）；英文 Chivo Mono 只有 400，關掉 synthesis 才不會被硬加粗 */
.lp-svg text { white-space: pre; font-synthesis: none; }
.lp-disc { transform: translate(var(--fx), var(--fy)); transition: transform 1.1s cubic-bezier(0.3, 0.8, 0.3, 1); }
.lp.out .lp-disc { transform: none; }
.lp-spin { animation: spin 9s linear infinite; }
.lp-foot { position: relative; z-index: 4; flex: none; width: calc(368 * var(--k)); margin: auto auto 0; padding: 0 0 var(--pad); color: var(--lp-fg); }
.lp-foot iframe { display: block; width: 100%; height: 80px; border: 0; border-radius: 12px; }
.lp-tabs { display: flex; align-items: center; gap: 0; height: 44px; margin: -8px 0 10px; /* 往上離播放器遠一點 */ font: 500 11px/1 "Chivo Mono", var(--serif-tc); font-synthesis: none; }
.lp-tabs button { min-width: 44px; height: 44px; text-align: left; font: 700 20px/1 Antonio, sans-serif; opacity: 0.45; }
.lp-tabs button.on { opacity: 1; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
/* 按鈕本體 30px 高，點擊範圍用 ::before 補到 44px；顏色 = 該頁的前景 / 底色反過來 */
.lp-tabs a { position: relative; margin-left: auto; display: flex; align-items: center; height: 30px; padding: 0 10px; border-radius: 8px; white-space: nowrap; background: var(--lp-fg); color: var(--lp-bg); text-decoration: none; }
.lp-tabs a::before { content: ""; position: absolute; inset: -7px 0; }
.lp-tabs a:active { opacity: 0.7; }
.lp-tabs a[aria-disabled] { opacity: 0.45; pointer-events: none; }
