/* The opened album (albums3d.js fillDetail, 2026-11-15): a liner-notes sheet on the section's own paper, the right half,
   square, black rules, no card and no tilt. Loaded last, so it wins over albums3d.css and r2/r2.css. */
.music .mu-detail { top: 52px !important; bottom: var(--fm, 46px) !important; right: 0; left: auto; width: min(560px, 46vw); max-height: none !important; box-sizing: border-box;
  padding: 26px var(--pad, 34px) 22px 30px !important; background: var(--r2-paper, #F25BA9) !important; color: #000; box-shadow: inset 2px 0 0 #000 !important; border-radius: 0 !important;
  display: flex; flex-direction: column; gap: 16px; --mute: rgba(0, 0, 0, .66); }
.music .mu-detail.on { transform: none !important; }
.mu-d-top { display: flex; align-items: center; justify-content: space-between; font: 600 14px/1 'Albert Sans', sans-serif; font-variant-numeric: tabular-nums; }
.music .mu-detail .mu-x { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; margin: 0; background: #000; color: var(--r2-paper, #F25BA9); font: 600 15px/1 'Albert Sans', sans-serif; }
.music .mu-detail .mu-x b { font-size: 20px; font-weight: 400; }
.music .mu-detail h3 { margin: 6px 0 0; font: 700 clamp(34px, 3.6vw, 60px)/1 'Albert Sans', 'IBM Plex Sans Hebrew', sans-serif; letter-spacing: -.02em; text-transform: none; /* the album's name in the caption's face, not Anton (Omer, 2026-11-15) */ text-wrap: balance; overflow-wrap: anywhere; }
.music .mu-detail h3:lang(he), .music .mu-detail h3[dir="rtl"] { text-transform: none; }
.mu-d-spec { margin: 0; border-top: 2px solid #000; }
.mu-d-spec > div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid rgba(0, 0, 0, .45); }
.mu-d-spec dt { font: 600 13px/1.35 'Albert Sans', sans-serif; color: var(--mute); }
.mu-d-spec dd { margin: 0; font: 600 17px/1.3 'Albert Sans', 'IBM Plex Sans Hebrew', sans-serif; }
.music .mu-d-about { margin: 0; font-size: 17px; line-height: 1.5; }
.music .mu-d-credits { margin: 0; font-size: 14px; }
.music .mu-d-act { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
/* filled, no frames (Omer, 2026-11-15: the black-framed buttons, the Apple logo in a box, were ugly) */
.music .mu-d-act > button, .music .mu-d-act > a { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; min-height: 48px; padding: 0 18px; background: rgba(255, 255, 255, .55); font: 600 15px/1 'Albert Sans', sans-serif; color: #000; }
@media (hover: hover) and (pointer: fine) { .music .mu-d-act > button:hover, .music .mu-d-act > a:hover, .mu-d-nav button:not([disabled]):hover { background: #000; color: var(--r2-paper, #F25BA9); } .music .mu-detail .mu-x:hover { background: #fff; color: #000; } }
.music .mu-d-k { margin: 4px 0 -8px; font-size: 13px; }
.mu-d-nav { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding-top: 10px; }
.mu-d-nav button { all: unset; box-sizing: border-box; cursor: pointer; min-height: 52px; padding: 0 16px; display: flex; align-items: center; background: rgba(255, 255, 255, .55); color: #000; font: 600 15px/1 'Albert Sans', sans-serif; }
.mu-d-nav button[data-go="1"] { justify-content: flex-end; background: #000; color: var(--r2-paper, #F25BA9); }
.mu-d-nav button[disabled] { opacity: .35; cursor: default; }
.mu-detail button:focus-visible, .mu-detail a:focus-visible { outline: 3px solid #2F5BFF; outline-offset: 2px; }
/* a phone: the sheet takes the lower part of the screen under the album, square, on the same paper */
@media (max-width: 760px) {
  /* the album stands almost the full width above, centred; the sheet takes the rest and scrolls (Omer, 2026-11-15) */
  .music .mu-detail { top: 0 !important; z-index: 3 !important; background: linear-gradient(to bottom, transparent calc(40svh - 36px), var(--r2-paper, #F25BA9) calc(40svh - 36px)) !important; pointer-events: none; border: 0 !important; left: 0; right: 0; width: auto; max-height: none !important; padding: calc(40svh + 14px) var(--pad, 16px) 14px !important; box-shadow: none !important; overflow-y: auto; gap: 12px; contain: none !important; transform: none !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
  .music .mu-detail h3 { font-size: 28px; margin-top: 0; }
  .music .mu-d-act > button, .music .mu-d-act > a { flex: 1 1 40%; justify-content: center; min-height: 46px; white-space: nowrap; } .mu-d-nav button { min-height: 48px; }
  .mu-d-spec > div { grid-template-columns: 76px 1fr; padding: 6px 0; } .mu-d-spec dd { font-size: 15px; }
  .mu-d-top { margin: 0; }
  .music .mu-detail .mu-x { position: fixed; top: 58px; right: 10px; z-index: 6; min-height: 44px; padding: 0 14px; }
}

/* the opened album's platforms: the same brand buttons as the caption (r2/likes.css .mu-pl) */
.music .mu-detail .mu-plat { margin-top: -10px; }
.music .mu-d-act:empty { display: none; }
/* a closed sheet must not sit over the albums and eat their swipes (display:flex above had overridden [hidden]) */
.music .mu-detail[hidden] { display: none !important; }
.music .mu-detail:not(.on) { pointer-events: none !important; } .music .mu-detail:not(.on) > * { pointer-events: none !important; }
@media (max-width: 760px) {
  .music .mu-detail > * { pointer-events: auto; }
  .music .mu-detail { background: none !important; } /* the sheet shares the section's paper, so the album can stand over its top and the canvas shows through */
}
@media (max-width: 760px) { .music .mu-detail { bottom: 0 !important; padding-bottom: calc(var(--fm, 66px) + 24px) !important; } }
/* the opened album on a phone, compact (Omer, 2026-11-15): Close and the count share the top row, the album stands under them as large as the screen allows, and the title, facts, buttons and Previous / Next sit tight at the bottom */
.mu-d-row { display: contents; }
@media (max-width: 760px) {
  .music .mu-detail { padding-top: 112px !important; padding-bottom: calc(var(--fm, 66px) + 10px) !important; gap: 8px !important; }
  .music .mu-detail::before { content: ''; flex: 1 0 62vw; pointer-events: none; }
  .music .mu-d-top { position: fixed; top: 58px; left: var(--pad, 16px); height: 44px; margin: 0; z-index: 6; }
  .music .mu-detail h3 { font-size: 26px; line-height: 1; margin: 0; }
  .music .mu-d-spec { display: grid; grid-template-columns: 1fr auto; column-gap: 18px; border-top-width: 2px; }
  .music .mu-d-spec > div { grid-template-columns: auto 1fr; gap: 8px; padding: 7px 0; align-items: baseline; }
  .mu-d-row { display: flex; gap: 6px; align-items: stretch; }
  .mu-d-row .mu-d-act { flex: none; margin: 0; } .mu-d-row .mu-d-act > button { flex: none; min-height: 46px; padding: 0 20px; }
  .music .mu-detail .mu-d-row .mu-plat { flex: 1; margin: 0 !important; }
  .music .mu-d-nav { margin-top: 0; padding-top: 0; } .music .mu-d-nav button { min-height: 46px; }
}
