/* Videoteca only: no book, landing or other interest styles are overridden. */
.music-videotheque { margin-top: 30px; }
.has-music-videotheque .library-page { padding-top: 24px; }
.has-music-videotheque .music-videotheque { margin-top: 0; }
.has-music-videotheque .library-topic-hero[hidden], .has-music-videotheque .library-back[hidden] { display: none; }
.music-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.music-videotheque[hidden], .music-dvd-back[hidden] { display: none; }
.music-tv { width: min(850px, 100%); margin: 0 auto 56px; padding: 16px; border: 1px solid #625550; border-radius: 18px; background: linear-gradient(140deg,#49403b,#1e1b1b 55%,#332c29); box-shadow: 0 18px 36px #0006, inset 0 1px #fff2; scroll-margin-top: 85px; }
.music-tv-screen { position: relative; aspect-ratio: 16/9; overflow: hidden; background: #090909; border: 5px solid #111; border-radius: 7px; }
.music-tv-screen iframe { display: block; width: 100%; height: 100%; border: 0; }
.music-tv-standby { margin: 0; padding: 24px; position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: #c8b9ad; }
.music-tv-controls { display: flex; align-items: center; gap: 10px; padding: 14px 4px 0; color: #d6b9a5; }
.music-tv-controls > span { font-size: .65rem; letter-spacing: .12em; }
.music-tv-controls button { width: 40px; height: 40px; border: 1px solid #7e6f61; border-radius: 50%; background: #191615; color: #eddbce; font: 26px Georgia,serif; cursor: pointer; }
.music-tv-title { font-size: .85rem; font-weight: 500; overflow-wrap: anywhere; }
.music-dvd-shelves { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 28px 24px; }
.music-dvd-shelf, .music-dvd-shelf .media-shelf-rows { display: contents; }
.music-dvd-shelf .media-shelf-frame { flex: 0 0 auto; width: max-content; max-width: 100%; min-width: 0; }
.music-dvd-shelf .media-shelf-continuation { font: 400 .7rem system-ui,sans-serif; color: var(--library-muted); }
.music-dvd-shelf .music-dvd-row { width: max-content; max-width: 100%; overflow-x: hidden; }
.music-dvd-shelf h2 { color: var(--library-accent); font: 500 1.35rem Georgia,serif; margin: 0 0 6px 14px; }
.music-dvd-row { display: flex; align-items: end; gap: 9px; padding: 18px 20px 23px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: #91765f #261d1a; border: 1px solid var(--library-border); border-bottom: 16px solid #684536; border-radius: 8px 8px 3px 3px; background: linear-gradient(#100d0dbb,#2d2019), repeating-linear-gradient(2deg,#35251e 0 4px,#312019 5px 7px); box-shadow: inset 0 14px 26px #0005, 0 12px 13px #0004; }
.music-dvd { position: relative; flex: 0 0 64px; height: 242px; padding: 11px 8px; border: 3px solid #171717; border-left: 5px solid #383536; border-right: 4px solid #090909; border-radius: 3px; background: #352c2b; color: #fff; box-shadow: 5px 4px 7px #0009, inset 1px 0 #fff5; cursor: pointer; isolation: isolate; scroll-snap-align: start; transition: transform 160ms ease, box-shadow 160ms ease; }
.music-dvd-spine-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .9; }
.music-dvd::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,#0008,#0004 55%,#000a),linear-gradient(#0007,transparent 25%,#0008); }
.music-dvd-spine-title { display: block; writing-mode: vertical-rl; text-orientation: mixed; width: 100%; height: calc(100% - 27px); overflow: hidden; text-align: left; font: 600 13px/1.3 system-ui,sans-serif; text-shadow: 1px 1px 3px #000; }
.music-dvd-spine-label { display: block; position: absolute; bottom: 7px; left: 0; width: 100%; font: 800 9px system-ui; letter-spacing: .1em; }
.music-dvd.is-current { border-color: #bb916c; }
@media (hover: hover) { .music-dvd:hover { transform: translateY(-9px) scale(1.025); box-shadow: 8px 13px 15px #000a; } }
.music-videotheque button:focus-visible, .music-videotheque [tabindex]:focus-visible, .music-dvd-modal :focus-visible { outline: 3px solid #efc78d; outline-offset: 4px; }
.music-dvd-modal { width: min(850px,calc(100% - 32px)); max-height: calc(100dvh - 40px); padding: 32px; border: 1px solid #65524a; border-radius: 12px; color: var(--library-text); background: #201b1c; overflow-y: auto; box-shadow: 0 30px 90px #0009; }
.music-dvd-modal::backdrop { background: #090607c9; }
.music-dvd-close { position: absolute; z-index: 2; right: 9px; top: 7px; width: 38px; height: 38px; border: 0; background: transparent; color: #e6cbb6; font-size: 28px; cursor: pointer; }
.music-dvd-case { text-align: center; transform-origin: center bottom; transition: transform 240ms ease, opacity 240ms ease; animation: music-dvd-out 260ms ease; }
.music-dvd-modal.is-returning .music-dvd-case { transform: scale(.8) translateY(24px); opacity: 0; }
.music-dvd-interior { display: flex; justify-content: center; align-items: stretch; gap: 12px; }
.music-dvd-front { position: relative; display: block; flex: 0 0 240px; height: 344px; overflow: hidden; isolation: isolate; padding: 18px; border: 7px solid #121213; border-left: 12px solid #383335; border-radius: 5px; color: white; background: #35292b; cursor: pointer; box-shadow: 5px 9px 16px #0007; transition: transform 260ms ease; }
.music-dvd-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.music-dvd-front::before { content: ''; position: absolute; inset: 0; background: linear-gradient(#0008,transparent 35%,#000d); z-index: -1; }
.music-dvd-format { display: block; text-align: left; letter-spacing: .12em; font-size: 9px; }
.music-dvd-cover-title { position: absolute; bottom: 55px; left: 14px; right: 14px; font: 700 21px/1.25 Georgia,serif; text-shadow: 0 2px 4px #000; }
.music-dvd-open-hint { position: absolute; left: 12px; right: 12px; bottom: 14px; font-size: 10px; }
.music-dvd-disc { display: none; position: absolute; width: 176px; height: 176px; inset: 72px auto auto 17px; border-radius: 50%; border: 8px solid #b5aaa3; background: conic-gradient(#eee,#797a86,#eee,#d0bdb0,#888,#eee); overflow: hidden; box-shadow: 0 6px 16px #0007; }
.music-dvd-disc img { width: 100%; height: 100%; object-fit: cover; opacity: .7; }
.music-dvd-disc::after { content: ''; position: absolute; left: calc(50% - 12px); top: calc(50% - 12px); width: 24px; height: 24px; border: 4px solid #ddd; border-radius: 50%; background: #272020; }
.music-dvd-disc span { position: absolute; left: 0; bottom: 21px; width: 100%; font: 700 12px system-ui; text-shadow: 0 1px 3px #000; }
.music-dvd-modal.is-open .music-dvd-disc { display: block; }
.music-dvd-modal.is-open .music-dvd-front { transform: perspective(900px) rotateY(-8deg); }
.music-dvd-back { flex: 1 1 320px; min-width: 0; padding: 20px; border: 6px solid #171516; border-radius: 5px; background: #342d2a; text-align: left; overflow-wrap: anywhere; }
.music-dvd-back h3 { margin: 0 0 12px; font-size: .85rem; color: #d6b9a5; }
.music-dvd-back p { font-size: .9rem; line-height: 1.65; }
.music-dvd-description { white-space: pre-wrap; }
.music-dvd-back dl { font-size: .85rem; margin-bottom: 20px; }
.music-dvd-back dt { font-weight: 700; color: #d6b9a5; }
.music-dvd-back dd { margin: 0 0 10px; }
.music-dvd-back blockquote { margin: 18px 0; padding: 12px; border-left: 2px solid #af8e77; }
.music-dvd-back blockquote p { font-family: Georgia,serif; font-size: 1.05rem; margin: 0 0 8px; }
.music-dvd-back cite { font: normal 10px system-ui; text-transform: uppercase; letter-spacing: .08em; }
.music-dvd-case > h2 { margin: 20px 0 8px; font: 500 1.35rem/1.3 Georgia,serif; overflow-wrap: anywhere; }
.music-dvd-case > time { display: block; color: var(--library-muted); font-size: .85rem; }
.music-dvd-play { display: block; margin: 18px auto 12px; border: 1px solid #b7977e; border-radius: 6px; padding: 12px 24px; background: #5c3c30; color: #fff6ef; font: 600 .9rem system-ui; cursor: pointer; }
.music-dvd-play:disabled { opacity: .45; cursor: default; }
.music-dvd-publication { color: #d6b9a5; font-size: .8rem; }
@keyframes music-dvd-out { from { opacity: 0; transform: translateY(18px) scale(.92); } to { opacity: 1; transform: none; } }
@media (max-width: 620px) { .music-tv { padding: 8px; margin-bottom: 36px; } .music-tv-controls { gap: 7px; flex-wrap: wrap; } .music-tv-title { flex-basis: 100%; padding: 4px; } .music-dvd-modal { padding: 42px 14px 22px; } .music-dvd-interior { flex-direction: column; align-items: center; } .music-dvd-front { flex: none; width: 220px; height: 315px; } .music-dvd-back { width: 100%; flex: none; padding: 16px; } .music-dvd-disc { left: 8px; } .music-dvd-row { padding-left: 14px; } }
@media (prefers-reduced-motion: reduce) { .music-videotheque *, .music-dvd-modal * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
@media (prefers-reduced-motion: reduce) { .music-search-panel { transition: none; animation: none; } }
.music-dvd { min-width: 64px; max-width: 64px; }
/* Shared compact metadata for CD booklets and DVD cases; wrap only when needed. */
.media-detail-header { min-width: 0; margin-bottom: 10px; text-align: center; overflow-wrap: anywhere; }
.media-detail-header > h2, .media-detail-header > h3 { margin: 0 0 6px; text-align: center; }
.media-detail-header > .media-detail-meta { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 3px 8px; margin: 0; font-size: 12px; line-height: 1.5; }
.media-detail-meta > * { min-width: 0; }
.media-detail-meta > * + *::before { content: '·'; margin-right: 8px; opacity: .7; }
.media-detail-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 14px; margin-top: 6px; }
.media-detail-links > a { min-width: 0; overflow-wrap: anywhere; margin: 0; }
.booklet-page .media-detail-header > h2 { margin-bottom: 6px; }
.booklet-page .media-detail-meta, .booklet-page .media-detail-links > a { margin: 0; }
.music-dvd-heading { margin-top: 16px; }
.music-dvd-heading > h2 { font: 500 1.35rem/1.3 Georgia,serif; }
.music-dvd-actions > .music-dvd-play { margin: 0; }
@media (max-width: 700px) { .music-dvd-row { padding-left: 20px; } }
