/* The artist page's styles (web/templates/artist.html). Everything sits under .av, the view's root, which carries the page's
   lang and dir; the theme is on <html> (data-theme). */
.av [hidden]{display:none!important}   /* hidden hides, whatever display a rule gives the element */
/* Layout: archive register — header with decade bars, filter rail, one long ledger of works; rows open to their dated evidence. */
.av{
  --bg:#f5f6f3; --panel:#ffffff; --ink:#1b1f24; --muted:#5d6670; --line:#dde1dc;
  --accent:#1f4f7a; --accent-soft:#e3ecf4; --brass:#7d5f1e; --warn:#a2471f; --warn-soft:#f6e6dd;
  --f-display:"Noto Naskh Arabic",serif; --f-ar:"Noto Sans Arabic",sans-serif;
  --f-body:"Noto Sans","Noto Sans Hebrew","Noto Sans Arabic",sans-serif; --f-mono:"Noto Sans Mono","Noto Sans","Noto Sans Hebrew","Noto Sans Arabic",monospace;
}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]) .av{
  --bg:#0e191f; --panel:#13232b; --ink:#f3efe6; --muted:#9fb0b6; --line:#24363f;
  --accent:#8db8e0; --accent-soft:#1a2f3b; --brass:#d8b46a; --warn:#e59a73; --warn-soft:#3a2419; color-scheme:dark}}
:root[data-theme="dark"] .av{
  --bg:#0e191f; --panel:#13232b; --ink:#f3efe6; --muted:#9fb0b6; --line:#24363f;
  --accent:#8db8e0; --accent-soft:#1a2f3b; --brass:#d8b46a; --warn:#e59a73; --warn-soft:#3a2419; color-scheme:dark}
.av,.av *{box-sizing:border-box}
.av{background:var(--bg);color:var(--ink);font-family:var(--f-body);font-size:15px;line-height:1.5;
  padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px));padding-block:20px 48px}
.av .wrap{max-width:1180px;margin:0 auto;display:flex;flex-direction:column;gap:20px}
.av header{display:grid;grid-template-columns:1fr auto;gap:8px 24px;align-items:end}
.av h1{margin:0;font-family:var(--f-display);font-weight:700;font-size:clamp(30px,5vw,46px);line-height:1.1;text-wrap:balance}
.av h1 .lat{display:block;font-family:var(--f-body);font-size:15px;font-weight:500;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin-top:6px}
.av .lede{grid-column:1/-1;max-width:72ch;color:var(--muted);margin:0}
.av .counts{display:flex;gap:18px;flex-wrap:wrap;font-variant-numeric:tabular-nums}
.av .counts div{display:flex;flex-direction:column}
.av .counts b{font-family:var(--f-mono);font-size:22px;font-weight:500}
.av .counts span{font-size:12px;color:var(--muted);letter-spacing:.04em;text-transform:uppercase}
.av .decades{background:var(--panel);border:1px solid var(--line);border-radius:8px;padding:14px 16px 10px;overflow-x:auto}
.av .decades h2{margin:0 0 8px;font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);font-weight:600}
.av .bars{display:grid;grid-template-columns:repeat(var(--n),minmax(44px,1fr));gap:6px;align-items:end;height:120px;min-width:520px}
.av .bar{display:flex;flex-direction:column;justify-content:flex-end;height:100%;border:0;background:none;padding:0;cursor:pointer;font:inherit;color:inherit}
.av .stack{display:flex;flex-direction:column-reverse;border-radius:3px 3px 0 0;overflow:hidden}
.av .stack i{display:block}
.av .bar small{font-family:var(--f-mono);font-size:11px;color:var(--muted);margin-top:4px}
.av .bar.on small{color:var(--accent);font-weight:600}
.av .bar:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.av .legend{display:flex;gap:14px;flex-wrap:wrap;font-size:12px;color:var(--muted);margin-top:8px}
.av .legend span::before{content:"";display:inline-block;width:10px;height:10px;border-radius:2px;margin-right:5px;vertical-align:-1px;background:var(--c)}
.av .filters{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.av .filters input,.av .filters select{font:inherit;color:var(--ink);background:var(--panel);border:1px solid var(--line);border-radius:6px;padding:7px 10px;min-width:0}
.av .filters input[type=search]{flex:1 1 260px}
.av .chip{font:inherit;font-size:13px;border:1px solid var(--line);background:var(--panel);color:var(--ink);border-radius:999px;padding:5px 12px;cursor:pointer}
.av .chip[aria-pressed="true"]{background:var(--accent);border-color:var(--accent);color:var(--bg)}
.av .chip:focus-visible,.av .filters input:focus-visible,.av .filters select:focus-visible{outline:2px solid var(--accent);outline-offset:1px}
.av .status{font-size:13px;color:var(--muted);font-variant-numeric:tabular-nums}
.av .ledger{display:flex;flex-direction:column;border-top:1px solid var(--line)}
.av details.w{border-bottom:1px solid var(--line)}
.av details.w>summary{list-style:none;display:grid;grid-template-columns:28px 24px 150px minmax(0,1.1fr) minmax(0,1.1fr) minmax(0,.6fr);gap:14px;padding:10px 4px;cursor:pointer;align-items:baseline}   /* the lyricist's column, mostly a short name, gives the width the date's picture took (9 Nov 2026) */
.av .ledger{counter-reset:row}
.av details.w:not([hidden]){counter-increment:row}   /* the rows shown are numbered in their order; a hidden row (a filter) is not counted */
.av details.w>summary .n::before{content:counter(row)}
.av .n{font-family:var(--f-mono);font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums;line-height:25px;text-align:end}   /* the row's number, beside the heart in the first column (9 Nov 2026) */
.av details.w>summary>.n{grid-area:1/1}   /* the number first, its own 28 px column; the heart and the control under it in the 24 px after it; the width they take comes off the title's share, so the people's columns keep their width (the owner, 9 Nov 2026: «STILL WRONG!», the names wrapping; «make numbers first in line. currently colliding with icons») */
.av summary .th{width:64px;height:36px;border-radius:4px;object-fit:cover;background:#000;display:block;flex:none;margin-bottom:-20px}
.av summary .th-p{background:var(--panel);opacity:.85}   /* the artist's portrait where no recording gives a picture */
.av summary .th-none{background:var(--panel)}   /* nothing to show: a quiet frame, not a black one */   /* the first recording's picture, as every list (9 Nov 2026); its margin box 16 px tall, so it adds nothing to a row's height: it lies within the heart's and the control's 43 px (the owner: «the added image should not add height to the rows») */
.av details.w>summary::-webkit-details-marker{display:none}
.av details.w>summary:hover{background:var(--accent-soft)}
.av details.w>summary:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}
.av .d{font-family:var(--f-mono);font-size:13px;font-variant-numeric:tabular-nums;display:flex;align-items:flex-start;gap:6px}   /* the date cell, 150 px: the date over its label at the start, never broken, the picture at the end (the owner, 9 Nov 2026: «lines are breaking (hence increasing height) while black space is visible») */
.av .d .dt{display:flex;flex-direction:column;gap:2px;flex:1 1 auto;min-width:0;white-space:nowrap}
.av .t .ar{font-family:var(--f-ar);font-size:16px;font-weight:600}
/* Arabic inside a line is isolated; the line keeps the page's direction */
.av span.ar,.av bdi.ar{unicode-bidi:plaintext}
.av .t .la{font-size:13px;color:var(--muted);display:block}
.av .p{font-size:14px}
.av .p .cat{display:inline-block;font-size:11px;letter-spacing:.04em;text-transform:uppercase;border-radius:4px;padding:1px 6px;margin-bottom:3px;background:var(--cbg);color:var(--cfg)}
.av .m{font-size:13px;color:var(--muted)}
.av .m .ar{font-family:var(--f-ar)}
.av .plink{color:inherit;text-decoration:underline dotted;text-decoration-color:color-mix(in srgb,var(--accent) 55%,transparent);text-underline-offset:2px}
.av .plink:hover{color:var(--accent);text-decoration-style:solid}
.av .role{display:block;font-size:13.5px;line-height:1.35}
.av .role em{font-style:normal;font-size:10.5px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);display:inline-block;min-width:6.6em;margin-inline-end:6px}
.av[dir=rtl] .role em{letter-spacing:0;text-transform:none;font-size:11.5px;min-width:3.4em}
.av .p{border-inline-start:3px solid var(--cfg);padding-inline-start:8px}
.av .what{display:block;font-size:13px}
.av .where{display:block;font-size:12px;color:var(--muted)}
.av .qbtns{display:inline-flex;gap:6px;margin-inline-start:10px;vertical-align:middle}
.av .qn{font:inherit;font-size:11px;border:1px solid var(--line);background:var(--panel);color:var(--accent);border-radius:999px;padding:1px 9px;cursor:pointer}
.av .qn:hover{border-color:var(--accent)}
.av .flag{font-size:11px;color:var(--warn);background:var(--warn-soft);border-radius:4px;padding:0 5px;margin-left:4px}
.av .body{padding:4px 4px 16px 132px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px 28px;font-size:13.5px}
.av .body dl{margin:0;display:grid;grid-template-columns:max-content minmax(0,1fr);gap:4px 12px}
.av .body dt{color:var(--muted)}
.av .body dd{margin:0;font-family:var(--f-mono);font-size:12.5px;overflow-wrap:anywhere}
.av .body dd .ar{font-family:var(--f-ar);font-size:14px}
.av .body h3{margin:0 0 6px;font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);font-weight:600}
.av .notes{grid-column:1/-1;color:var(--ink);overflow-wrap:anywhere}
.av .notes p{margin:0 0 6px}
.av .srcs{grid-column:1/-1;display:flex;flex-direction:column;gap:3px;overflow-wrap:anywhere}
.av .srcs a{color:var(--accent)}
.av .srcs span{color:var(--muted)}
.av .empty{padding:28px 4px;color:var(--muted)}
.av footer{font-size:13px;color:var(--muted);max-width:80ch}
.av footer a{color:var(--accent)}
@media (max-width:760px){
  .av details.w>summary{grid-template-columns:28px 24px 94px minmax(0,1fr)}
  .av .p,.av .m,.av .rc{grid-column:4}
  .av .lhead{display:none}
  .av .rc:empty{display:none}
  .av .rc[data-l]::before,.av .pc .cmp::before,.av .pc .sng::before{content:attr(data-l) " · ";color:var(--muted);font-size:10.5px;letter-spacing:.06em;text-transform:uppercase}
  .av[dir=rtl] .rc[data-l]::before,.av[dir=rtl] .pc .cmp::before,.av[dir=rtl] .pc .sng::before{letter-spacing:0;text-transform:none}
  .av .body{padding-left:4px;grid-template-columns:minmax(0,1fr)}
  .av header{grid-template-columns:1fr}
}
/* ---- listening interface ---- */
.av header{grid-template-columns:minmax(0,1fr) clamp(300px,34%,420px);align-items:start;gap:8px 28px}
.av header .lede{font-size:14px;line-height:1.45}
.av .decades{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;column-gap:16px;padding:10px 14px 8px}
.av .decades .chead{grid-column:1;grid-row:1}
.av .decades .legend{grid-column:2;grid-row:1;justify-content:flex-end;margin:0 0 6px}
.av .decades .bars{grid-column:1/-1;height:82px}
.av .filters{gap:8px}
.av .filters select{max-width:230px}
.av .filters .status{margin-left:auto}
.av header h1{grid-column:1;grid-row:1;align-self:end}
.av header .counts{grid-column:2;grid-row:1;align-self:end;justify-content:space-between;flex-wrap:nowrap;gap:10px}
.av header .lede{grid-column:1;grid-row:2}
.av #ytp{grid-column:2;grid-row:2;background:var(--panel);border:1px solid var(--line);border-radius:8px;overflow:hidden}
.av .ytbar{display:flex;align-items:center;gap:10px;padding:6px 12px;min-height:34px;border-bottom:1px solid var(--line);font-size:12.5px}
.av .ytbar b{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:600;font-family:var(--f-ar)}
.av .ytbar em{font-style:normal;font-size:11px;color:var(--warn);background:var(--warn-soft);border-radius:4px;padding:0 5px;white-space:nowrap}
.av .ytbar a{color:var(--accent);white-space:nowrap}
.av .screen{position:relative;aspect-ratio:16/9;background:#000}
.av .screen iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.av .idle{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;text-align:center;padding:18px;color:var(--muted);font-size:13px;background:var(--accent-soft)}
.av #ytp:not(.on) iframe,.av #ytp.on .idle,.av #ytp:not(.on) #ytm{display:none}
.av details.w>summary,.av .lhead{grid-template-columns:var(--lcols,28px 24px 150px minmax(0,1.1fr) minmax(0,1.1fr) minmax(0,.6fr) auto);align-items:start;padding:10px 8px 10px 12px}
.av .lhead{display:grid;gap:14px;padding:6px 8px 6px 12px;position:sticky;top:0;z-index:2;background:var(--bg);border-bottom:1px solid var(--line);font-size:10.5px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.av[dir=rtl] .lhead{letter-spacing:0;text-transform:none;font-size:12px}
.av .rc{font-size:13.5px;line-height:25px;min-width:0;overflow-wrap:anywhere}
.av summary .plink{padding-block:3px}   /* with the 25px lines: each name in a row is a 24px tap target that does not overlap the next */
.av .pc .cmp,.av .pc .sng{display:block}
.av .pc .cmp,.av .lhead .cmp{color:var(--accent)}
.av .pc .sng,.av .lhead .sng{color:var(--brass)}
.av .lhead i{font-style:normal}
.av details.w>summary:hover{background:color-mix(in srgb,var(--accent-soft) 55%,transparent)}
.av details.w.sel>summary{background:var(--accent-soft);box-shadow:inset 3px 0 0 var(--accent)}
.av .t{display:block}
.av .t .yr,.av .t .yl{display:none}   /* the year, a phone's row only (below) */
.av .t .la{display:block;margin-top:2px}
.av .more{font:inherit;font-size:12px;color:var(--accent);background:var(--panel);border:1px solid var(--line);border-radius:6px;padding:1px 8px;cursor:pointer;white-space:nowrap;min-width:24px;min-height:24px}   /* 24x24 at least: a touch target */
.av .more::after{content:"";display:inline-block;width:.34em;height:.34em;border:solid currentColor;border-width:0 1.5px 1.5px 0;margin-left:7px;vertical-align:.25em;transform:rotate(45deg);transition:transform .15s}   /* a chevron drawn with borders: no font involved */
.av details[open] .more::after{transform:translateY(.2em) rotate(225deg)}
.av .more:focus-visible{outline:2px solid var(--accent);outline-offset:1px}
.av .listen{grid-column:1/-1;display:flex;flex-direction:column;gap:3px;overflow-wrap:anywhere}
.av .listen a{color:var(--accent)}
.av .listen a.cur{font-weight:600}
.av .listen span{color:var(--muted)}
.av .gen{font-size:12px;color:var(--muted);margin-left:6px;white-space:nowrap}
.av .gen .ar{font-family:var(--f-ar);font-size:13px;color:var(--ink)}
.av .chead{display:flex;align-items:center;gap:12px;margin:0 0 6px;min-width:0}
.av .chead h2{margin:0!important}
.av .seg{display:inline-flex;border:1px solid var(--line);border-radius:6px;overflow:hidden;flex:none}
.av .seg button{font:inherit;font-size:12px;border:0;background:var(--panel);color:var(--muted);padding:2px 10px;cursor:pointer}
.av .seg button+button{border-left:1px solid var(--line)}
.av .seg button[aria-pressed="true"]{background:var(--accent);color:var(--bg)}
.av .seg button:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}
.av .bar small .ar{font-family:var(--f-ar);font-size:12px}
/* only the list scrolls; everything above it stays in place */
@media (min-width:761px) and (min-height:700px){
  .av{height:100%;overflow:hidden;padding-block:18px 0}
  .av .wrap{height:100%;gap:14px}
  .av .wrap>*{flex:none}
  .av .wrap>.scroll{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;border-top:1px solid var(--line);scroll-padding-block:4px}
  .av .scroll .ledger{border-top:0}
  .av .scroll footer{margin:20px 0 24px}
}
.av header{position:relative}
.av[lang="he"]{--f-body:"Noto Sans Hebrew","Noto Sans","Noto Sans Arabic",sans-serif;--f-ar:"Noto Sans Arabic","Noto Sans Hebrew",sans-serif;--f-mono:"Noto Sans Mono","Noto Sans Hebrew","Noto Sans","Noto Sans Arabic",monospace}
.av[lang="he"] h1 .lat,.av[lang="he"] .counts span,.av[lang="he"] .decades h2,.av[lang="he"] .body h3,.av[lang="he"] .p .cat{letter-spacing:0}
.av .m .ar.sub{font-size:12.5px;color:var(--muted)}
.av .t .la.he{font-family:"Noto Sans Hebrew",var(--f-body);font-size:14.5px;color:var(--ink)}
.av[dir="rtl"] .bar small{font-family:var(--f-body)}
.av[dir="rtl"] details.w>summary{padding:10px 12px 10px 8px}
.av[dir="rtl"] details.w.sel>summary{box-shadow:inset -3px 0 0 var(--accent)}
.av[dir="rtl"] .body{padding:4px 132px 16px 4px}
.av[dir="rtl"] .flag{margin-left:0;margin-right:4px}
.av[dir="rtl"] .gen{margin-left:0;margin-right:6px}
.av[dir="rtl"] .filters .status{margin-left:0;margin-right:auto}
.av[dir="rtl"] .more::after{margin-left:0;margin-right:7px}
.av[dir="rtl"] .seg button+button{border-left:0;border-right:1px solid var(--line)}
.av[dir="rtl"] .legend span::before{margin-right:0;margin-left:5px}
@media (max-width:760px){
  .av[dir="rtl"] .body{padding:4px 4px 16px 4px}
  .av header{grid-template-columns:1fr}
  .av header h1,.av header .counts,.av header .lede,.av #ytp{grid-column:1;grid-row:auto}
  .av header .counts{justify-content:space-between}
  .av details.w>summary .more{grid-column:2;justify-self:start}
  .av .decades{display:block}
  .av .decades .legend{justify-content:flex-start;margin:8px 0 0}
  .av .t{grid-template-columns:1fr}
  .av .t .la,.av .t .ar{grid-column:1;grid-row:auto}
}
/* ---- player controls, sheets, phone layout ---- */
.av .hctl{position:absolute;top:0;inset-inline-end:0;display:flex;align-items:center;gap:6px;z-index:2}
.av .mob{display:none!important}
.av .ytbar{gap:6px}
.av .ytbar b.flash{color:var(--accent)}
.av .ytctl{display:flex;align-items:center;gap:1px;flex:none}
.av .ic{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border:0;background:none;color:var(--muted);border-radius:5px;cursor:pointer;padding:0;font:inherit}
.av .ic:hover,.av #ytl:hover{background:var(--accent-soft);color:var(--accent)}
.av .ic:focus-visible,.av #ytl:focus-visible,.av .pill:focus-visible,.av .fbtn:focus-visible{outline:2px solid var(--accent);outline-offset:-1px}
.av .ic svg,.av #ytl svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.av[dir="rtl"] .ic.flip svg{transform:scaleX(-1)}
.av #ytl{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:5px;color:var(--muted)}
.av .pill{font:inherit;font-size:11.5px;border:1px solid var(--line);background:var(--panel);color:var(--muted);border-radius:999px;padding:1px 8px;margin:0 3px;cursor:pointer;white-space:nowrap}
.av .pill[aria-pressed="true"]{background:var(--accent-soft);color:var(--accent);border-color:var(--accent)}
.av footer .copy{margin:10px 0 0;padding-top:8px;border-top:1px solid var(--line);font-size:12px;color:var(--muted)}
.av .fbtn{align-items:center;gap:6px;font:inherit;font-size:13.5px;border:1px solid var(--line);background:var(--panel);color:var(--ink);border-radius:6px;padding:7px 12px;cursor:pointer;white-space:nowrap}
.av .fbtn b{background:var(--accent);color:var(--bg);border-radius:999px;font-size:11px;min-width:18px;height:18px;display:inline-flex;align-items:center;justify-content:center;padding:0 5px}
.av .fbtn b[hidden]{display:none}
.av .sheet{position:fixed;inset:0;z-index:40;background:rgba(0,0,0,.38);display:flex;align-items:flex-end;justify-content:center}
.av .sheet[hidden]{display:none}
.av .sheet-in{background:var(--bg);width:100%;max-width:760px;max-height:86vh;max-height:86dvh;overflow-y:auto;border-radius:14px 14px 0 0;padding:0 14px 20px;box-shadow:0 -6px 24px rgba(0,0,0,.2)}
.av .shead{position:sticky;top:0;z-index:1;background:var(--bg);display:flex;align-items:center;gap:8px;padding:12px 0 10px;border-bottom:1px solid var(--line);margin-bottom:12px}
.av .shead b{flex:1;font-size:15px}
.av .shead button{font:inherit;font-size:13px;border:1px solid var(--line);background:var(--panel);color:var(--ink);border-radius:6px;padding:5px 12px;cursor:pointer}
.av .shead button.primary{background:var(--accent);color:var(--bg);border-color:var(--accent)}
.av .sbody{display:flex;flex-direction:column;gap:12px}
.av .sbody select{font:inherit;color:var(--ink);background:var(--panel);border:1px solid var(--line);border-radius:6px;padding:9px 10px;width:100%;max-width:none}
.av .sbody #cats{gap:6px}
.av .sbody .lede{max-width:none;margin:0}
.av .sbody .counts{justify-content:space-between;flex-wrap:nowrap}
.av .sbody footer{margin:4px 0 0;font-size:12.5px}
@media (max-width:760px){
  .av .mob{display:inline-flex!important}
  .av{height:100%;overflow:hidden;padding:10px 12px 0}
  .av .wrap{height:100%;gap:8px}
  .av .wrap>*{flex:none}
  .av .wrap>.scroll{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;border-top:1px solid var(--line)}
  .av .scroll .ledger{border-top:0}
  .av header{grid-template-columns:minmax(0,1fr) auto!important;gap:8px 10px;align-items:center}
  .av header h1{grid-column:1!important;grid-row:1!important;font-size:25px;align-self:center}
  .av header h1 .lat{font-size:10.5px;margin-top:2px}
  .av .hctl{position:static;grid-column:2;grid-row:1;justify-self:end}
  .av #ytp{grid-column:1/-1!important;grid-row:2!important}
  .av #ytp.mini{display:flex;align-items:stretch}
  .av #ytp.mini .screen{order:-1;width:120px;flex:none}
  .av #ytp.mini .ytbar{flex:1;min-width:0;border-bottom:0;flex-wrap:wrap;align-content:center;row-gap:2px;padding:4px 8px}
  .av #ytp.mini .ytbar b{flex-basis:100%}
  .av .filters{flex-wrap:wrap;gap:6px}
  .av .filters input[type=search]{flex:1 1 0;min-width:0}
  .av .filters .status{flex-basis:100%;margin:0!important;font-size:12px}
  .av details.w>summary{grid-template-columns:22px 24px 56px minmax(0,1fr) auto!important;gap:2px 8px;padding:9px 6px!important}   /* a phone's row: number | heart, «Add to list» under it | picture | the title, its line with the year | Details; the date's column, its label and the full date left to Details (the owner, 9 Nov 2026: «let's think what we can omit to make the screen appealing, elegant and informative»; «LGTM. go») */
  .av details.w>summary .n{grid-column:1;grid-row:1;font-size:11px}
  .av details.w>summary .fav-row{grid-column:2;grid-row:1}   /* the heart (6 Nov 2026) */
  .av details.w>summary .addto-row{grid-column:2;grid-row:2;margin:2px 0 0}   /* «Add to list» under it (8 Nov 2026) */
  .av details.w>summary .d{display:contents}
  .av details.w>summary .d .dt{display:none}
  .av details.w>summary .d .th{grid-column:3;grid-row:1/span 2;align-self:start;width:56px;height:32px;margin:2px 0 0}
  .av details.w>summary .t{grid-column:4;grid-row:1/span 2}
  .av details.w>summary .t .yr{display:inline;color:var(--muted);white-space:nowrap}
  .av details.w>summary .t .la .yr::before{content:"\00a0·\00a0"}   /* «· 1923» kept together: it never breaks away from its dot */
  .av details.w>summary .t .yl{display:block;font-size:13px;margin-top:2px}
  .av details.w>summary .p{grid-column:4!important;grid-row:3;font-size:12.5px}
  .av details.w>summary .p br{display:none}
  .av details.w>summary .m{display:none!important}
  .av details.w>summary .rc{display:none!important}   /* no composer, singer or lyricist in a phone's row: the title alone, as the app's row (the owner, 9 Nov 2026: «singer composer lyrics are not needed in mobile web view»); Details has them */
  .av details.w>summary .more{grid-column:5!important;grid-row:1;justify-self:end!important;font-size:0;padding:3px 7px}
  .av details.w>summary .more::after{font-size:13px;margin:0!important}
  .av .body,.av[dir="rtl"] .body{padding:2px 6px 14px!important}
  .av header h1{font-size:clamp(17px,5.2vw,22px)!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
  .av header h1 .lat{overflow:hidden;text-overflow:ellipsis}
  .av .sbody .bars{min-width:0;height:100px;grid-template-columns:repeat(var(--n),minmax(0,1fr));gap:3px}
  .av .sbody .bar small{font-size:9.5px;line-height:1.25;white-space:normal;text-align:center;word-break:break-word}
  .av .sbody .legend{margin-top:10px}
  .av .sbody .chead{flex-wrap:wrap}
  .av .sbody .bars.h,.av[dir="rtl"] .sbody .bars.h{display:flex;flex-direction:column;gap:4px;height:auto}
  .av .bar.hb{display:grid;grid-template-columns:minmax(0,44%) minmax(0,1fr) 30px;align-items:center;gap:8px;height:auto;width:100%;text-align:start}
  .av .sbody .bar.hb small{margin:0;font-size:12.5px;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:start;font-family:var(--f-body)}
  .av .bar.hb small .ar{font-family:var(--f-ar)}
  .av .hstack{display:flex;height:12px;border-radius:0 3px 3px 0;overflow:hidden}
  .av[dir="rtl"] .hstack{border-radius:3px 0 0 3px}
  .av .hstack i{display:block;height:100%}
  .av .bar.hb b{font-family:var(--f-mono);font-size:11.5px;font-weight:400;color:var(--muted);text-align:end}
  .av .bar.hb.on small{color:var(--accent);font-weight:600}
}

@media (prefers-reduced-motion:reduce){.av,.av *{transition:none!important}}
@media (max-width:760px){.av .lhead{display:none!important}}
.av header .lede{grid-column:1/-1;max-width:80ch}
/* ---- top section: counts at the top left; portrait and Arabic name at the top right, the other language beneath; the explanation behind the i button ---- */
.av header{grid-template-columns:minmax(0,1fr) auto!important;grid-template-rows:auto auto;align-items:start;gap:6px 24px;position:relative}
.av header .hctl{position:static;grid-column:1;grid-row:1;justify-self:start;display:flex;align-items:center;gap:6px}
.av header .counts{grid-column:1;grid-row:2;align-self:end;justify-content:flex-start;flex-wrap:wrap;gap:12px 26px;margin-top:6px}
.av header .who{grid-column:2;grid-row:1/3;display:flex;align-items:center;gap:16px;justify-self:end;max-width:min(100%,600px)}
.av header .who h1{margin:0;text-align:right;min-width:0;align-self:center}
.av header .who h1 .when{display:block;margin-top:4px;font:500 13px/1.3 var(--f-body);color:var(--muted);letter-spacing:.02em}   /* an occasion's dates */
/* Hebrew: the portrait and name stay at the top right, the controls at the left */
.av[dir=rtl] header{grid-template-columns:auto minmax(0,1fr)!important}
.av[dir=rtl] header .who{grid-column:1;justify-self:start;flex-direction:row-reverse}
.av[dir=rtl] header .hctl{grid-column:2;justify-self:end}
.av[dir=rtl] header .counts{grid-column:2;justify-content:flex-end}
.av header .who img{width:76px;height:76px;border-radius:50%;object-fit:cover;flex:none;border:1px solid var(--line)}
.av header .who .pw{position:relative;flex:none;display:block;border-radius:50%;overflow:hidden}
.av header .who .pw img{display:block}
.av header .who .pw.noimg{width:76px;height:76px;background:var(--panel);border:1px solid var(--line)}   /* no portrait yet */
.av header .who .pw.noimg .sil{display:block;width:100%;height:100%;fill:var(--muted);opacity:.3}
@media (max-width:760px){.av header .who .pw.noimg{width:44px;height:44px}}
.av header .who .pw .city{position:absolute;left:0;right:0;bottom:0;padding:3px 2px 6px;background:rgba(12,12,12,.55);color:#f2efe8;text-align:center;font:500 7.5px/1.25 var(--f-mono);letter-spacing:.1em;text-transform:uppercase;white-space:nowrap;overflow:hidden}
.av header .who .pw .city span{display:block}
.av header .who .pw .city span+span{opacity:.75}
.av[dir=rtl] header .who .pw .city{letter-spacing:0;text-transform:none;font:500 9.5px/1.2 var(--f-body)}
@media (max-width:760px){.av header .who .pw .city{display:none}}   /* a 44px portrait has no room: the city stays on the home card */
/* the biography sheet: sections, bracketed source numbers and the numbered source list */
.av .bio{color:var(--ink);line-height:1.55;font-size:14.5px}
.av .bio h3{margin:16px 0 6px;font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.av .bio h3:first-child{margin-top:0}
.av .bio[dir=rtl] h3{letter-spacing:0;text-transform:none;font-size:13px}
.av .bio ul,.av .bio ol{margin:0;padding-inline-start:20px}
.av .bio li{margin:3px 0}
.av .bio sup{color:var(--muted);font-size:10px}
.av .bio a{color:var(--accent)}
.av .bio p{margin:6px 0}
.av .about{color:var(--ink);line-height:1.55;font-size:14.5px}
.av .about p{margin:0 0 10px}
.av .about p:last-child{margin-bottom:0}
.av .about .ar{margin-top:12px;padding-top:12px;border-top:1px solid var(--line);font-family:var(--f-ar);font-size:15px}
.av footer{max-width:none}
@media (max-width:760px){
  .av header{gap:6px 10px}
  .av header .who{gap:10px}
  .av header .who img{width:44px;height:44px}
  .av header .who h1{font-size:clamp(17px,5.2vw,22px)!important}
  .av header>.counts{display:none}
  /* two lines: the controls on top, the portrait and name beneath at full width, so the buttons never sit on the title */
.av header{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto auto}
  .av header .hctl{grid-column:1;grid-row:1;min-width:0;max-width:100%}   /* the bar never wider than the phone: its icons give way a little, as on the other pages (web/nav.js :host max-width) */
  .av header .who{grid-column:1;grid-row:2;justify-self:end;max-width:100%;min-width:0}
  .av header .who h1,.av header .who h1 .lat{white-space:normal}
  .av[dir=rtl] header{grid-template-columns:minmax(0,1fr)!important}
  .av[dir=rtl] header .hctl{grid-column:1;justify-self:end}
  .av[dir=rtl] header .who{grid-column:1;justify-self:start}
}
/* the sheets (About, Filters) open in the upper third of the viewport, above the player bar */
.av .sheet{align-items:flex-start;justify-content:center;padding:max(10vh,24px) 12px 0;z-index:60}
.av .sheet-in{border-radius:14px;max-height:72vh;max-height:72dvh;padding:0 18px 20px}
.av .ic svg.fa{fill:currentColor;stroke:none}
.av .wlink{grid-column:1/-1;font-size:13px}.av .wlink a{color:var(--accent)}
/* phones: the controls web/artist.js moves into the Filters sheet are not shown in their wide-screen places, so the list
   does not move when they go */
@media (max-width:760px){.av .wrap>.decades,.av .filters>select,.av .filters>#cats,.av .filters>#conf{display:none!important}}
/* a work's details are laid out only when its row is open: closed, the browser would still lay out all of them (most of
   the page's first-load time on a phone); the text stays in the page */
.av details.w:not([open])>.body{display:none}
.av .lvdiv{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:22px 16px 8px;border-bottom:1px solid var(--line,#ddd);font-size:13px;letter-spacing:.04em;color:var(--muted,#777)}
.av .lvdiv b{font-weight:600;text-transform:none}
.av .lvdiv[data-lv="0"]{padding-top:10px}
.av .bprose .ar{font-family:var(--f-ar,inherit);margin-bottom:14px}
.av .bprose p{margin:0 0 10px;line-height:1.7}
.av .bprose .bfacts{margin-top:26px}
.av .w .d .dl{display:block;margin-top:3px;font:500 10px/1.2 var(--f-body);color:var(--muted);letter-spacing:.02em;white-space:nowrap}   /* what the date is (api/dating.py) */   /* what the date is (api/dating.py) */

.av details.w>summary>.fav-row{margin:3px 0 0}   /* the heart: the row's first column (the owner, 6 Nov 2026: «at the beginning») */
.av details.w>summary>.fav-row,.av details.w>summary>.addto-row{grid-area:1/2}   /* the heart and «Add to list» (8 Nov 2026) share the first column: the heart, the control under it (the column's width comes from the page, api/ssr_artist.py lcols) */
.av details.w>summary>.addto-row{margin:27px 0 0}
