/* All selectors are scoped: video and mixed collections keep their theme styling. */
.article-video.lyaa-shell {
    --lyaa-bg: #fbfcfa; --lyaa-ink: #193c36; --lyaa-muted: #6b7c76;
    --lyaa-accent: #26715e; --lyaa-line: #e4ebe5; --lyaa-tint: #edf3ec;
    background: var(--lyaa-bg); color: var(--lyaa-ink); font-size: 14px;
    border: 1px solid var(--lyaa-line); border-radius: 18px; text-align: left;
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;
}
.lyaa-shell *, .lyaa-shell *::before, .lyaa-shell *::after { box-sizing: border-box; }
.lyaa-shell [hidden] { display: none !important; }
.lyaa-player { padding: 32px 34px 18px; }
.lyaa-heading { display: flex; align-items: center; gap: 22px; position: relative; }
.lyaa-art { width: 104px; height: 104px; flex: 0 0 104px; border-radius: 16px; background: var(--lyaa-tint); display: grid; place-items: center; overflow: hidden; }
.lyaa-art img { width: 100%; height: 100%; object-fit: cover; margin: 0; border-radius: 0; }
.lyaa-disc { position: relative; width: 76px; height: 76px; border-radius: 50%; background: repeating-radial-gradient(circle at center,#254e43 0,#254e43 2px,#1b4037 3px,#1b4037 4px); display: grid; place-items: center; overflow: hidden; animation: lyaa-spin 12s linear infinite paused; }
.lyaa-player.is-playing .lyaa-disc { animation-play-state: running; }
.lyaa-disc::after { content: ""; position: absolute; top: 14%; left: 43%; width: 14%; height: 5%; border-radius: 4px; background: #d8e8c3; transform: rotate(-12deg); }
.lyaa-disc>.lyaa-disc-label { width: 26px; height: 26px; border-radius: 50%; background: #cbd9b8; border: 10px solid #a8bf99; }
.lyaa-disc-cover { width: 100%; height: 100%; }
.lyaa-disc-cover::after { top: 45%; left: 45%; width: 10%; height: 10%; border-radius: 50%; background: var(--lyaa-bg); border: 2px solid #ffffff80; transform: none; }
.lyaa-heading-text { min-width: 0; flex: 1; }
.lyaa-eyebrow { color: var(--lyaa-muted); font-size: 10px; letter-spacing: 2.5px; line-height: 2; }
.lyaa-shell h2.lyaa-title { margin: 7px 0 8px !important; padding: 0 !important; border: 0 !important; background: transparent !important; color: var(--lyaa-ink); font-size: clamp(18px,2.4vw,25px); font-weight: 600; line-height: 1.45; overflow-wrap: anywhere; }
.lyaa-shell h2.lyaa-title::before, .lyaa-shell h2.lyaa-title::after { display: none; }
.lyaa-shell p.lyaa-subtitle { color: var(--lyaa-muted); font-size: 12px; line-height: 1.8; margin: 0 !important; overflow-wrap: anywhere; }
.lyaa-subtitle span { white-space: nowrap; }
.lyaa-format { align-self: flex-start; border: 1px solid var(--lyaa-line); border-radius: 20px; padding: 3px 10px; font-size: 11px; white-space: nowrap; color: var(--lyaa-muted); }
.lyaa-player audio { width: 100%; margin-top: 24px; }
.lyaa-player audio.lyaa-audio-enhanced { display: none; }
.lyaa-controls { display: flex; align-items: center; gap: 22px; margin-top: 28px; }
.lyaa-shell button { font: inherit; cursor: pointer; touch-action: manipulation; border: 0; box-shadow: none; }
.lyaa-shell button:focus-visible, .lyaa-shell a:focus-visible, .lyaa-shell input:focus-visible, .lyaa-shell select:focus-visible, .lyaa-shell summary:focus-visible { outline: 2px solid var(--lyaa-accent); outline-offset: 4px; }
.lyaa-transport { display: flex; align-items: center; gap: 12px; }
.lyaa-shell .lyaa-play { background: var(--lyaa-accent); color: #fff; border-radius: 50%; width: 50px; height: 50px; font-size: 20px; display: grid; place-items: center; padding: 0; }
.lyaa-play:hover { filter: brightness(1.1); }
.lyaa-shell .lyaa-icon { display: block; flex-shrink: 0; width: 24px; height: 24px; }
.lyaa-shell .lyaa-play .lyaa-icon-pause { display: none; }
.lyaa-shell .has-playback .lyaa-play .lyaa-icon-play { display: none; }
.lyaa-shell .has-playback .lyaa-play .lyaa-icon-pause { display: block; }
.lyaa-shell .lyaa-skip { position: relative; display: grid; place-items: center; color: var(--lyaa-muted); background: transparent; width: 30px; height: 42px; padding: 0; line-height: 1; }
.lyaa-shell .lyaa-skip .lyaa-icon { width: 28px; height: 28px; }
.lyaa-skip small { font-size: 8px; position: absolute; top: 19px; left: 0; width: 100%; text-align: center; font-weight: 600; }
.lyaa-timeline { min-width: 70px; flex: 1; padding-top: 19px; }
.lyaa-shell input[type=range] { appearance: none; -webkit-appearance: none; border: 0; box-shadow: none; padding: 0; height: 4px; border-radius: 8px; min-width: 0; cursor: pointer; accent-color: var(--lyaa-accent); }
.lyaa-shell .lyaa-seek { display: block; width: 100%; margin: 0; background: linear-gradient(to right,var(--lyaa-accent) var(--lyaa-progress,0%),var(--lyaa-line) var(--lyaa-progress,0%)); }
.lyaa-shell input[type=range]::-webkit-slider-thumb { appearance: none; width: 12px; height: 12px; background: var(--lyaa-accent); border-radius: 50%; border: 2px solid var(--lyaa-bg); }
.lyaa-shell input[type=range]::-moz-range-thumb { width: 10px; height: 10px; background: var(--lyaa-accent); border: 2px solid var(--lyaa-bg); border-radius: 50%; }
.lyaa-seek:disabled { opacity: .5; cursor: default; }
.lyaa-times { display: flex; justify-content: space-between; padding-top: 9px; color: var(--lyaa-muted); font-size: 10px; font-variant-numeric: tabular-nums; }
.lyaa-tools { display: flex; align-items: center; gap: 10px; }
.lyaa-shell .lyaa-speed { appearance: auto; border: 0; background: transparent; font-size: 12px; width: 62px; color: var(--lyaa-ink); padding: 6px 0; height: auto; }
.lyaa-shell .lyaa-mute { padding: 6px 0; background: transparent; color: var(--lyaa-muted); font-size: 11px; min-width: 35px; }
.lyaa-shell .lyaa-volume { width: 48px; background: var(--lyaa-line); }
.lyaa-footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--lyaa-line); }
.lyaa-shell p.lyaa-status { font-size: 11px; color: var(--lyaa-muted); margin: 0 !important; line-height: 1.6; }
.lyaa-auto, .lyaa-note { font-size: 11px; color: var(--lyaa-muted); white-space: nowrap; }
.lyaa-auto { display: flex; align-items: center; gap: 6px; margin: 0; cursor: pointer; }
.lyaa-auto input { accent-color: var(--lyaa-accent); margin: 0; }
.lyaa-collection { border-top: 1px solid var(--lyaa-line); }
.lyaa-steps { display: flex; gap: 20px; align-items: center; padding: 13px 34px; font-size: 12px; }
.lyaa-steps a { color: var(--lyaa-accent) !important; text-decoration: none !important; }
.lyaa-steps [aria-disabled] { color: var(--lyaa-muted); opacity: .5; }
.lyaa-total { margin-left: auto; color: var(--lyaa-muted); font-size: 11px; }
.lyaa-tracklist { border-top: 1px solid var(--lyaa-line); }
.lyaa-tracklist summary { padding: 15px 34px; font-size: 13px; cursor: pointer; color: var(--lyaa-ink); }
.lyaa-tracklist summary>span { font-size: 11px; color: var(--lyaa-muted); margin-left: 8px; }
.lyaa-shell .lyaa-tracklist ol { list-style: none; margin: 0 !important; padding: 0 16px 16px !important; max-height: 330px; overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.lyaa-shell .lyaa-tracklist li { list-style: none; padding: 0; margin: 3px 0; line-height: 1.5; }
.lyaa-tracklist li a { display: flex; align-items: center; gap: 16px; padding: 13px 18px; border-radius: 8px; color: var(--lyaa-ink) !important; text-decoration: none !important; font-size: 13px; min-height: 48px; }
.lyaa-tracklist a:hover, .lyaa-tracklist a[aria-current] { background: var(--lyaa-tint); }
.lyaa-tracklist a[aria-current] { font-weight: 600; }
.lyaa-trackno { width: 22px; flex-shrink: 0; color: var(--lyaa-muted); font-size: 11px; font-variant-numeric: tabular-nums; }
.lyaa-shell .lyaa-trackno .lyaa-icon { width: 17px; height: 17px; }
.lyaa-trackname { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.lyaa-tracktime { color: var(--lyaa-muted); font-size: 11px; white-space: nowrap; }
.lyaa-free { color: var(--lyaa-accent); font-size: 10px; white-space: nowrap; }
.lyaa-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
/* Keep every original purchase/login/quota element and original preview handler. */
.lyaa-locked>.lyaa-heading { padding: 28px 34px 18px; }
.lyaa-locked>.modown-erphpdown-video:not(.lanying-previewing) { background-image: none !important; background: transparent !important; color: var(--lyaa-ink); height: auto !important; min-height: 100px; padding: 0 34px 20px; }
.lyaa-locked>.modown-erphpdown-video:not(.lanying-previewing)>.erphpdown { position: static !important; color: var(--lyaa-ink); margin: 0 !important; padding: 12px 0 !important; font-size: 13px; line-height: 2.2; }
.lyaa-locked>.modown-erphpdown-video:not(.lanying-previewing)>.playicon { display: none; }
.lyaa-locked>.modown-erphpdown-video:not(.lanying-previewing)>.playicon.pre { display: block; position: relative; width: 110px; height: 38px; left: auto; top: auto; background: var(--lyaa-tint); border-radius: 20px; }
.lyaa-locked .playicon.pre>i { display: none; }
.lyaa-locked>.modown-erphpdown-video:not(.lanying-previewing)>.playicon.pre:after { content: "点击试听"; position: static; display: block; color: var(--lyaa-accent); font-size: 12px; line-height: 38px; }
.lyaa-locked .lanying-previewing { min-height: 240px; }
body.night .lyaa-shell, body.dark .lyaa-shell, body.theme-dark .lyaa-shell, .lyaa-shell[data-theme=dark] { --lyaa-bg: #18231f; --lyaa-ink: #e0eae2; --lyaa-muted: #9aafa2; --lyaa-accent: #79b99a; --lyaa-line: #304137; --lyaa-tint: #26392e; }
@keyframes lyaa-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .lyaa-disc { animation: none; } }
@media (max-width: 680px) {
    .lyaa-player { padding: 22px 20px 16px; }
    .lyaa-heading { gap: 15px; }
    .lyaa-art { width: 78px; height: 78px; flex-basis: 78px; border-radius: 12px; }
    .lyaa-disc { width: 60px; height: 60px; }
    .lyaa-disc-cover { width: 100%; height: 100%; }
    .lyaa-eyebrow { font-size: 8px; letter-spacing: 1.8px; }
    .lyaa-format { display: none; }
    .lyaa-controls { flex-wrap: wrap; gap: 14px; margin-top: 22px; }
    .lyaa-tools { width: 100%; justify-content: flex-end; }
    .lyaa-shell .lyaa-volume { width: 70px; }
    .lyaa-footer { margin-top: 12px; }
    .lyaa-steps { padding: 13px 20px; }
    .lyaa-tracklist summary { padding: 15px 20px; }
    .lyaa-shell .lyaa-tracklist ol { padding: 0 8px 10px !important; max-height: 265px; }
    .lyaa-tracklist li a { gap: 10px; padding: 12px; }
    .lyaa-locked>.lyaa-heading { padding: 22px 20px 16px; }
    .lyaa-locked>.modown-erphpdown-video:not(.lanying-previewing) { padding: 0 20px 16px; }
}
