/* Artists & Music, chapters version (inc/artists-chapters.php, assets/js/artists-chapters.js):
   the page (.amc), the menu panel's generations (.mega-gen) and the player bar (.amp-bar). */

/* ================================================================ shared: play buttons */
.editorial .amc .amc-play, .mega-gen__play { display: inline-flex; min-height: 0; align-items: center; justify-content: center; flex: none; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; background: #b84329; color: #fff; cursor: pointer; }
.editorial .amc .amc-play:hover, .mega-gen__play:hover { background: #22221f; }
.editorial .amc .amc-play--s { width: 26px; height: 26px; }
.editorial .amc .amc-play--s svg { width: 9px; height: 9px; }
.amc .am-play svg .s, .mega-gen svg .s, .amp-bar svg .s, [data-am-queue] svg .s { display: none; }
.amc .am-play.is-playing svg .p, .mega-gen .am-play.is-playing svg .p, .amp-bar.is-playing .amp-bar__toggle svg .p, [data-am-queue].is-playing svg .p { display: none; }
.amc .am-play.is-playing svg .s, .mega-gen .am-play.is-playing svg .s, .amp-bar.is-playing .amp-bar__toggle svg .s, [data-am-queue].is-playing svg .s { display: inline; }
.editorial .amc .amc-play.is-playing, .mega-gen .am-play.is-playing { background: #22221f; }
.amc-dot { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: #b84329; color: #fff; }
.am-play.is-playing .amc-dot { background: #22221f; }
.ab-band--ink .am-play.is-playing .amc-dot { background: #e8c26a; color: #22221f; }
.amc :focus-visible, .mega-gen :focus-visible, .amp-bar :focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
[dir="rtl"] .amc .am-play svg, [dir="rtl"] .mega-gen svg:not(.mega-arw), [dir="rtl"] .amp-bar svg, [dir="rtl"] [data-am-queue] svg { transform: none; } /* play triangles are not mirrored */

/* ================================================================ the page */
.editorial .entry-content .amc { --amc-red: #b84329; --amc-ink: #22221f; --amc-muted: #595955; --amc-line: #d6d3cb; --amc-tint: #fbebe4; line-height: 1.5; }
.editorial .entry-content .amc p { max-width: none; margin: 0; }
.editorial .entry-content .amc h2 { margin: 0; font-size: clamp(28px, 3vw, 40px); line-height: 1.05; font-weight: 800; letter-spacing: -.02em; }
.editorial .entry-content .amc h3 { margin: 0; }
.amc-kick { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #9a3720; margin-bottom: 8px !important; }
.lang-ar .amc-kick { letter-spacing: 0; font-size: 14px; }
.editorial .amc .amc-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 10px 18px; border: 1.5px solid var(--amc-red); background: var(--amc-red); color: #fff; font: 700 15px/1.3 var(--font); cursor: pointer; text-decoration: none; white-space: nowrap; }
.editorial.lang-ar .amc .amc-btn { font-family: var(--font-ar); }
.editorial .amc .amc-btn:hover { background: var(--amc-ink); border-color: var(--amc-ink); color: #fff; }
.editorial .amc a.amc-btn { color: #fff; text-decoration: none; }
.editorial .amc a.amc-btn--line-ink { color: var(--amc-ink); }
.editorial .amc a.amc-btn--line-ink:hover { color: #fff; }
.editorial .amc .amc-btn--ink { background: var(--amc-ink); border-color: var(--amc-ink); }
.editorial .amc .amc-btn--ink:hover { background: var(--amc-red); border-color: var(--amc-red); }
.editorial .amc .amc-btn--line { background: transparent; border-color: currentColor; color: inherit; }
.editorial .amc .amc-btn--line:hover { background: #fff; color: var(--amc-ink); border-color: #fff; }
.editorial .amc .amc-btn--line-ink { background: transparent; border-color: var(--amc-ink); color: var(--amc-ink) !important; }
.editorial .amc .amc-btn--line-ink:hover { background: var(--amc-ink); color: #fff !important; }
.amc-chip { display: inline-block; padding: 5px 12px; border: 1.5px solid currentColor; font-size: 13px; font-weight: 600; line-height: 1.4; text-decoration: none !important; }
.amc-chip:hover { background: var(--amc-ink); border-color: var(--amc-ink); color: #fff; }
.ab-band--ochre .amc-chip:hover { background: #1f1d16; }

/* opening */
.amc-open { display: grid; gap: 28px; padding: 8px 0 44px; }
.amc-open__copy { display: flex; flex-wrap: wrap; gap: 18px 48px; align-items: flex-end; justify-content: space-between; }
.amc-open__copy h2 { flex: 1 1 100%; max-width: 20ch; }
.amc-open__copy p { flex: 1 1 420px; max-width: 64ch !important; font-size: 18px; color: #3d3d39; }
.amc-frieze { display: flex !important; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.amc-frieze li { flex: 1 1 0; min-width: 64px; }
.amc-frieze a { position: relative; display: block; }
.amc-frieze img { aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(.15); transition: filter .2s; }
.amc-frieze a:hover img { filter: none; }
.amc-frieze span { position: absolute; inset-inline-start: 0; bottom: 0; background: var(--amc-ink); color: #fff; font-size: 11px; font-weight: 700; padding: 2px 6px; }

/* chapters */
.amc-ch { padding-block: 56px; scroll-margin-top: var(--head-b, 120px); }
.amc-ch--tint { background: var(--amc-tint); box-shadow: 0 0 0 100vmax var(--amc-tint); clip-path: inset(0 -100vmax); }
.amc-ch__head { display: flex; flex-wrap: wrap; gap: 14px 40px; align-items: flex-end; justify-content: space-between; padding-bottom: 18px; border-bottom: 2px solid var(--amc-ink); margin-bottom: 30px; }
.amc-count { font-size: 15px; color: var(--amc-muted); margin-top: 8px !important; }
.amc-ch__body { display: flex; flex-wrap: wrap; gap: 32px 40px; align-items: flex-start; }
.amc-lead { flex: 1 1 380px; max-width: 560px; display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; }
.amc-lead > img { flex: none; width: 210px !important; max-width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.amc-lead__copy { flex: 1 1 220px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.editorial .entry-content .amc-lead h3 { font-size: 28px; line-height: 1.08; font-weight: 800; }
.amc-lead h3 a { text-decoration: none; }
.amc-lead h3 a:hover { text-decoration: underline; }
.amc-lead__other { font-size: 19px; color: var(--amc-muted); text-align: end; }
.amc-lead__other[lang="ar"] { font-family: var(--font-ar); }
.amc-lead__facts { font-size: 14px; color: var(--amc-muted); }
.editorial .amc .amc-lead__play { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 14px 10px 10px; border: 0; background: var(--amc-ink); color: #fff; font: 700 14px/1.35 var(--font); text-align: start; cursor: pointer; }
.editorial.lang-ar .amc .amc-lead__play { font-family: var(--font-ar); padding: 10px 10px 10px 14px; }
.amc-lead__text { font-size: 15px; line-height: 1.6; color: #3d3d39; }
.amc-lead__more { font-size: 14px; font-weight: 700; }
.amc-ch__rest { flex: 999 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.amc-tiles { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 18px 14px; }
.amc-tile { display: flex; flex-direction: column; gap: 4px; }
.amc-tile__pic { position: relative; margin-bottom: 4px; }
.amc-tile__pic img { aspect-ratio: 4 / 5; object-fit: cover; }
.amc-tile__pic .amc-play { position: absolute; inset-inline-start: 6px; bottom: 6px; }
.amc-badge { position: absolute; inset-inline-end: 6px; top: 6px; background: #fff; color: var(--amc-ink); font-size: 11px; font-weight: 700; padding: 2px 6px; }
.amc-tile__name { font-size: 14px; font-weight: 700; line-height: 1.25; }
a.amc-tile__name { text-decoration: none; }
a.amc-tile__name:hover { text-decoration: underline; }
.amc-tile__meta { font-size: 12.5px; color: var(--amc-muted); }
.amc-also__h { font-size: 13px; font-weight: 700; margin-bottom: 8px !important; }
.amc-also ul { display: flex !important; flex-wrap: wrap; gap: 8px 22px; }
.amc-also li { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; }
.amc-also a { text-decoration: none; font-weight: 600; }
.amc-also a:hover { text-decoration: underline; }
.amc-also__y, .amc-az__y { font-size: 12.5px; color: var(--amc-muted); }
/* the card is in the other language only (as .rr-lang on the research cards) */
.amc-only { display: inline-block; margin-inline-start: 5px; padding: 0 5px; background: #111; color: #fff; font-size: 10.5px; font-weight: 700; line-height: 1.6; letter-spacing: .01em; vertical-align: 1px; white-space: nowrap; text-decoration: none; }
.lang-ar .amc-only { font-size: 12px; }
.amc-ch__foot { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding-top: 14px; border-top: 1px solid var(--amc-line); }
.amc-ch__fh { font-size: 13px; font-weight: 700; margin-inline-end: 4px; }
.amc-ch__tl { margin-inline-start: auto; font-size: 14px; font-weight: 700; }

/* one piece, many voices (ink band) */
.ab-page .amc-piece.ab-band, .ab-page .amc-time.ab-band, .ab-page .amc-more.ab-band { margin-top: 0; padding-block: 52px 56px; }
.amc-piece__head { display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: flex-end; justify-content: space-between; margin-bottom: 28px; }
.amc-piece__head > div { max-width: 640px; }
.amc-piece .amc-kick { color: #e8c26a; }
.amc-piece__head p:not(.amc-kick) { color: #d6d4cc; font-size: 16px; margin-top: 10px !important; }
.amc-piece__pick { display: flex; flex-wrap: wrap; gap: 8px; max-width: 620px; }
.editorial .amc .amc-piece__pick button { padding: 9px 14px; border: 1.5px solid #fff; background: none; color: #fff; font: 700 14px/1.3 var(--font); cursor: pointer; }
.editorial.lang-ar .amc .amc-piece__pick button { font-family: var(--font-ar); }
.editorial .amc .amc-piece__pick button[aria-pressed="true"] { background: #fff; color: var(--amc-ink); }
.amc-piece__title { font-size: 22px; font-weight: 800; margin-bottom: 18px !important; }
.amc-piece__span { color: #e8c26a; font-weight: 700; margin-inline-start: 8px; }
.amc-piece__line { position: relative; height: 54px; margin: 0 18px 22px; border-bottom: 2px solid #6b6a63; }
.amc-piece__dot { position: absolute; inset-inline-start: var(--x); bottom: -9px; width: 16px; height: 16px; margin-inline-start: -8px; border-radius: 50%; background: var(--amc-red); border: 3px solid var(--amc-ink); }
.amc-piece__dot b { position: absolute; bottom: 20px; inset-inline-start: 50%; width: 44px; margin-inline-start: -22px; text-align: center; font-size: 13px; color: #e8c26a; }
.amc-voices { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 22px !important; }
.amc-voices li { display: flex; flex-direction: column; gap: 4px; padding: 16px; background: #33332f; border-top: 3px solid #e8c26a; }
.amc-voices__y { font-size: 22px; font-weight: 800; color: #e8c26a; }
.amc-voices__by { font-size: 15px; font-weight: 700; line-height: 1.3; }
.amc-voices__by a { text-decoration: none; }
.amc-voices__by a:hover { text-decoration: underline; }
.amc-voices__i { font-size: 13px; color: #a9a79f; }
.editorial .amc .amc-voices__play { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding: 8px 0 0; border: 0; background: none; color: #fff; font: 600 14px/1.3 var(--font); cursor: pointer; text-align: start; }
.editorial.lang-ar .amc .amc-voices__play { font-family: var(--font-ar); }
.amc-voices__play .amc-dot { width: 30px; height: 30px; }

/* through time (ochre band): faces in circles by birth year */
.amc-time { scroll-margin-top: var(--head-b, 120px); }
.amc-time__head { display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: flex-end; justify-content: space-between; margin-bottom: 26px; }
.amc-time__head > div { max-width: 700px; }
.amc-time .amc-kick { color: #1f1d16; }
.amc-time__head p:not(.amc-kick) { font-size: 16px; margin-top: 10px !important; }
.amc-tl { overflow-x: auto; scrollbar-width: thin; }
.amc-tl__in { --face: 44px; --gap: 6px; position: relative; min-width: 880px; background: rgba(255, 255, 255, .28); }
.amc-tl__bands { position: absolute; inset: 0 0 34px; }
.amc-band { position: absolute; top: 0; bottom: 0; inset-inline-start: var(--a); width: var(--w); padding: 10px 10px 0; border-inline-start: 1px dashed rgba(31, 29, 22, .35); color: #1f1d16; text-decoration: none !important; }
.amc-band:nth-child(even) { background: rgba(255, 255, 255, .22); }
.amc-band:hover { background: rgba(255, 255, 255, .42); }
.amc-band span { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.lang-ar .amc-band span { font-family: var(--font-ar); letter-spacing: 0; font-size: 13px; text-transform: none; }
.amc-tl__faces { position: relative; height: calc(var(--rows) * (var(--face) + var(--gap)) + 52px); pointer-events: none; }
.amc-face { position: absolute; inset-inline-start: clamp(0px, calc(var(--x) - var(--face) / 2), calc(100% - var(--face))); /* end faces stay inside the band (responsive QA 2026-11-05) */ bottom: calc(var(--r) * (var(--face) + var(--gap)) + 12px); width: var(--face); height: var(--face); border-radius: 50%; border: 2px solid #fff; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .18); pointer-events: auto; transition: transform .15s; }
.amc-face img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
a.amc-face:hover, a.amc-face:focus-visible { transform: scale(1.35); z-index: 2; }
.amc-tl__axis { position: relative; height: 34px; border-top: 1.5px solid #1f1d16; background: var(--ab-ochre, #cba54c); }
.amc-tl__axis span { position: absolute; top: 7px; inset-inline-start: var(--x); width: 40px; margin-inline-start: -20px; text-align: center; font-size: 12px; font-weight: 700; }
.amc-tl__axis span:first-child { margin-inline-start: 0; text-align: start; }
.amc-tl__axis span:last-child { margin-inline-start: -40px; text-align: end; }
.amc-time__foot { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 18px; }
.amc-time__note { margin-inline-start: auto; font-size: 13px; }

/* the music, form by form */
.amc-sec__head { display: flex; flex-wrap: wrap; gap: 14px 40px; align-items: flex-end; justify-content: space-between; padding-bottom: 18px; border-bottom: 2px solid var(--amc-ink); margin-bottom: 24px; }
.amc-sec__head p { font-size: 16px; color: var(--amc-muted); margin-top: 8px !important; max-width: 64ch !important; }
.amc-music, .amc-az { padding-block: 56px 20px; scroll-margin-top: var(--head-b, 120px); }
.amc-forms { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 14px; }
.amc-form { display: flex; flex-direction: column; gap: 8px; padding: 20px; background: #fff; scroll-margin-top: var(--head-b, 120px); }
.editorial .entry-content .amc-form h3 { font-size: 22px; font-weight: 800; line-height: 1.15; }
.amc-form__gloss { font-size: 15px; }
.amc-form__n { font-size: 13px; color: var(--amc-muted); }
.editorial .amc .amc-form__play { display: flex; align-items: flex-start; gap: 10px; margin-top: auto; padding: 12px 0 0; border: 0; border-top: 1px solid #e3e1db; background: none; color: var(--amc-ink); font: 400 14px/1.4 var(--font); text-align: start; cursor: pointer; }
.editorial.lang-ar .amc .amc-form__play { font-family: var(--font-ar); }
.amc-form__play .amc-dot { width: 30px; height: 30px; }
.amc-form__play b { display: block; font-weight: 700; }
.amc-form__play span span { color: var(--amc-muted); }
.amc-form__gl { font-size: 14px; font-weight: 600; }
.amc-music__room { margin-top: 20px !important; }

/* every artist, A–Z */
.amc-az__q input { min-height: 44px; width: 260px; max-width: 100%; padding: 0 12px; border: 1.5px solid var(--amc-ink); background: #fff; font: inherit; font-size: 15px; }
.amc-az__letters { display: flex; flex-wrap: wrap; gap: 2px; margin-bottom: 18px; }
.amc-az__letters a { min-width: 34px; padding: 6px 8px; text-align: center; font-weight: 700; text-decoration: none; }
.amc-az__letters a:hover { background: var(--amc-ink); color: #fff; }
.amc-az__list { columns: 3 320px; column-gap: 32px; } /* 320px: two roomy columns at 1024 (responsive QA 2026-11-05) */
.amc-az__g { break-inside: avoid; margin-bottom: 18px; scroll-margin-top: var(--head-b, 120px); }
.amc-az__l { font-size: 20px; font-weight: 800; color: var(--amc-red); border-bottom: 1px solid var(--amc-line); margin-bottom: 6px !important; }
.amc-az__g li { display: flex; align-items: center; gap: 8px; padding: 3px 0; font-size: 15px; }
.amc-az__g a { text-decoration: none; font-weight: 600; }
.amc-az__g a:hover { text-decoration: underline; }
.amc-az__none { font-size: 15px; color: var(--amc-muted); }
.amc-az__list.is-short { max-height: 560px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.amc-az__more { margin-top: 8px !important; }
.amc-az__more[hidden] { display: none; }
@media (min-width: 1200px) { .amc-az__list { columns: 4 220px; } }
.amc-az__g li[hidden], .amc-az__letters a[hidden] { display: none; }
.amc-az__q { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.amc-az__show { display: inline-flex; }
.editorial .amc .amc-az__show button { min-height: 44px; padding: 0 14px; border: 1.5px solid var(--amc-ink); background: #fff; color: var(--amc-ink); font: 600 14px/1 var(--font); cursor: pointer; }
.editorial.lang-ar .amc .amc-az__show button { font-family: var(--font-ar); }
.editorial .amc .amc-az__show button + button { border-inline-start: 0; }
.editorial .amc .amc-az__show button[aria-pressed="true"] { background: var(--amc-ink); color: #fff; }
body.ed-htools .ed-strip__dock-in .amc-az__show { gap: 6px; }
.amc-az__nop { flex: none; width: 26px; height: 26px; }
.amc-az__g .amc-az__tape { flex: none; padding: 0 5px; border: 1px solid currentColor; font-size: 10.5px; font-weight: 700; line-height: 1.6; white-space: nowrap; }
.lang-ar .amc-az__g .amc-az__tape { font-size: 12px; }

/* keep listening (red band) */
.amc-more { margin-top: 36px !important; }
.editorial .entry-content .amc-more h2 { margin-bottom: 22px; }
.amc-more ul { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.amc-more a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 20px 22px; border: 1.5px solid #fff; color: #fff; text-decoration: none !important; }
.amc-more b { font-size: 19px; font-weight: 800; }
.amc-more span { font-size: 14px; }
.amc-more a.amc-more__ink { background: var(--amc-ink); border-color: var(--amc-ink); }
.amc-more a.amc-more__light { background: #fff; color: var(--amc-ink); }
.amc-more a:hover { background: #fff; color: var(--amc-ink); }

@media (max-width: 640px) {
	.amc-lead > img { width: 140px !important; }
	.amc-tiles { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); }
	.amc-ch__tl, .amc-time__note { margin-inline-start: 0; }
	.editorial .amc .amc-btn { white-space: normal; }
}

/* ================================================================ the menu panel's generations */
@media (min-width: 1024px) {
	.mega--gen .mega-gen { grid-column: 4 / span 9; display: flex; flex-direction: column; }
	.mega-style .mega--gen .mega-gen { padding: 0; }
}
.mega-gen__head { padding: 24px 26px 0; background: #fff; color: #241a16; }
.mega-style .mega--gen .mega-gen__head .mega-h { border-bottom: 0; margin-bottom: 12px !important; color: #9c3620; }
.mega-gen__head .mega-h a { color: #241a16; text-transform: none; letter-spacing: 0; font-size: 13px; }
.mega-gen__tabs { display: flex; gap: 4px; }
.mega-gen__tabs button { padding: 10px 12px; border: 0; background: #f4d7cb; color: #241a16; font: 700 14px/1.3 var(--font); cursor: pointer; white-space: nowrap; }
.mega-gen__tabs button span { font-weight: 500; opacity: .85; }
.mega-gen__tabs button:hover { background: #eec2b1; }
.mega-gen__tabs button[aria-selected="true"] { background: #b84329; color: #fff; }
.lang-ar .mega-gen__tabs button { font-family: var(--font-ar); }
.mega-gen__body { flex: 1; padding: 20px 26px 22px; }
.mega-gen__panel { display: block; }
.mega-gen__panel[hidden] { display: none; }
.mega-gen__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.mega-gen__grid li { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.mega-gen__pic { position: relative; margin-bottom: 4px; }
.mega-gen__pic img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.mega-gen__play { position: absolute; inset-inline-start: 6px; bottom: 6px; width: 30px; height: 30px; }
.mega-gen__play svg { width: 10px; height: 10px; }
.mega-gen__name { font-size: 13px; font-weight: 700; line-height: 1.25; }
a.mega-gen__name:hover { text-decoration: underline !important; }
.mega-gen__y { font-size: 12px; color: var(--mg-muted); }
.mega-gen__x { font-size: 12px; line-height: 1.35; color: #9c3620; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.mega-gen__more a { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px; aspect-ratio: 4 / 5; padding: 8px; border: 1.5px solid #b84329; color: #9c3620 !important; text-align: center; }
.mega-gen__more a:hover { background: #b84329; color: #fff !important; }
.mega-gen__more b { font-size: 24px; font-weight: 800; }
.mega-gen__more span { font-size: 12px; font-weight: 600; line-height: 1.3; }
.mega-gen__body { display: flex; flex-direction: column; gap: 16px; }
.mega-gen__queue { display: inline-flex; align-items: center; gap: 10px; min-height: 42px; padding: 0 16px; border: 0; background: #22221f; color: #fff; font: 700 14px/1.3 var(--font); cursor: pointer; }
.lang-ar .mega-gen__queue { font-family: var(--font-ar); }
.mega-gen__queue:hover { background: #b84329; }
/* the queue sits in the head line; the places are the bar of doors under the portraits (megamenu-v2.css) */
.mega-style .mega--gen .mega-gen__head .mega-h { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.mega-gen__head .mega-gen__queue { min-height: 32px; padding: 0 12px; gap: 8px; font-size: 13px; text-transform: none; letter-spacing: 0; }
.mega--gen .mv-door { --d-bg: #b84329; --d-sub: #f6dcd2; --d-hbg: #22221f; }
.mega--gen .mv-door--feat { --d-bg: #e8c26a; --d-fg: #161614; --d-sub: #4a3d1c; --d-hbg: #161614; --d-hfg: #fff; --d-hsub: #e8c26a; }
.mega-gen__whole { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; }
.mega-gen__whole:hover { text-decoration: underline !important; }
@media (min-width: 1024px) and (max-width: 1279px) {
	.mega-gen__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.mega-gen__grid li:nth-child(n + 4):not(.mega-gen__more) { display: none; }
	.mega-gen__queue { font-size: 13px; }
	.mega--gen .mv-dbar .mv-door { padding-block: 8px; }
	.mega--gen .mv-dbar .mv-door b { font-size: 13px; }
	.mega-gen__body { gap: 12px; }
	.mega-gen__tabs { gap: 3px; }
	.mega-gen__tabs button { padding: 9px 6px; font-size: 12.5px; }
	.mega-gen__x { display: none; }
}

/* ================================================================ the player bar */
.amp-bar { position: fixed; z-index: 120; inset-inline: 0; bottom: 0; background: #22221f; color: #fff; border-top: 3px solid #b84329; box-shadow: 0 -10px 30px rgba(0, 0, 0, .2); font-family: var(--font); }
.lang-ar .amp-bar { font-family: var(--font-ar); }
.amp-bar[hidden] { display: none; }
.amp-bar__in { max-width: 1324px; margin: 0 auto; padding: 8px 16px; display: flex; align-items: center; gap: 10px 16px; }
.amp-bar__pic img { display: block; width: 40px; height: 50px; object-fit: cover; }
.amp-bar__pic:empty { display: none; }
.amp-bar__toggle { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #b84329; color: #fff; cursor: pointer; }
.amp-bar__txt { flex: 1 1 200px; min-width: 0; display: flex; flex-direction: column; }
.amp-bar__n { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.amp-bar__t { font-size: 12.5px; color: #d6d4cc; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.amp-bar__pos { font-size: 12px; color: #d6d4cc; white-space: nowrap; }
.amp-bar__prog { flex: 0 1 220px; height: 4px; background: rgba(255, 255, 255, .2); }
.amp-bar__prog i { display: block; width: 0; height: 4px; background: #e8c26a; }
.amp-bar__next { flex: none; min-height: 40px; padding: 0 14px; border: 1.5px solid #fff; background: none; color: #fff; font: 700 13px/1 inherit; font-family: inherit; cursor: pointer; }
.amp-bar__next:hover { background: #fff; color: #22221f; }
.amp-bar__next[hidden] { display: none; }
.amp-bar__close { flex: none; width: 40px; height: 40px; border: 0; background: none; color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
html.has-amp-bar body { padding-bottom: 70px; }
/* the podcast player's bar (parent theme, also fixed at the bottom) stays visible: the extract bar sits on top of it */
body.has-podcast-bar:has(> .podcast-bar:not(.is-tucked):not([hidden])) .amp-bar { bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
html.has-amp-bar body.has-podcast-bar { padding-bottom: 140px; }
html.has-amp-bar .hg-rest.is-riding { bottom: 70px; }
@media (max-width: 640px) {
	.amp-bar__prog, .amp-bar__pos { display: none; }
	.amp-bar__in { gap: 8px 10px; padding: 8px 10px; }
}

/* "Known from their records" (artists without life years, by the decade of their recordings) */
.amc-rec__dec { padding-top: 22px; }
.amc-rec__dec + .amc-rec__dec { margin-top: 10px; border-top: 1px solid var(--amc-line); }
.editorial .entry-content .amc-rec__dec h3 { margin: 0 0 14px; font-size: 18px; font-weight: 800; }
.amc-rec__dec .amc-tiles { grid-template-columns: repeat(auto-fill, minmax(118px, 150px)); margin-bottom: 16px !important; }
.mega-gen__type { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 5; padding: 8px; background: #f4d7cb; color: #7a2c1a; font-family: var(--font-ar); font-size: 17px; line-height: 1.35; text-align: center; }
.mega-gen__tabs { flex-wrap: nowrap; } /* the periods on one line (user 2026-10-28) */

/* responsive QA 2026-11-05: phones: only the first and last years of "One piece, many voices" (the labels piled up) */
@media (max-width: 640px) { .amc-piece__dot b { display: none; } .amc-piece__dot:first-child b, .amc-piece__dot:last-child b { display: block; } }
@media (pointer: coarse) { .amc-az__q input { font-size: 16px; } } /* no iOS zoom on the A-Z search */

/* responsive QA 2026-11-05, polish */
@media (min-width: 560px) and (max-width: 1023px) { .amc-more ul:has(> li:nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .amc-more ul:has(> li:nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Through time with everyone on the timeline (2026-11-05): smaller faces, initials where there is no portrait */
.amc-tl__in { --face: 34px; --gap: 4px; }
.amc-face__n { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: #32365f; color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .02em; }
