/* ═══ the sort menu on a phone: the page opens (Sha, Nov 24, 2026: "let's design a menu that is more unique so that we
   don't have to rely on the default like Apple menu"; menu.js). Under "sort" the page opens to one blank entry, set as
   every album under it is: each part's name stands where that part stands, in that part's own dress, and is the sort by
   it, as the column heads are on a computer. The chosen one in ink, the rest in the heads' faint grey. No box, no rule,
   no tick ═══ */
.sm-src{display:none!important}                 /* the page's own select, still the one source of truth */
.sm{white-space:nowrap}
.smb{position:relative;text-align:left;color:var(--faint);transition:color .3s var(--ease)}
.smb[aria-expanded="true"]{color:var(--ink)}
.smb::before{content:"";position:absolute;left:-.5rem;right:-.5rem;top:50%;height:44px;translate:0 -50%}   /* a thumb's 44 px */
.smb:focus-visible{outline:none}
:root.sm-keys .smb:focus-visible{outline:1.5px solid var(--rule);outline-offset:5px}   /* the ring's grey, as the pictures wear it (.vp), and for the keyboard alone */
/* the site's caret on the fold's name, worn as the genres page wears it (sheets.css #genres .car): pointing on while the
   page is shut, turned to what it opens, down at the tools and up in the dock */
.smc{display:inline-block;vertical-align:baseline;width:1.05em;height:1.05em;margin:-.3em .02em 0 .1em;background:currentColor;
  -webkit-mask:var(--site-caret) center/contain no-repeat;mask:var(--site-caret) center/contain no-repeat;
  transform:translateY(.266em) rotate(-90deg);transition:transform .45s var(--ease)}
.smb[aria-expanded="true"] .smc{transform:translateY(.266em)}
.dock .smb[aria-expanded="true"] .smc{transform:translateY(.266em) rotate(-180deg)}
.smv{display:inline-block;color:var(--ink)}   /* the line's own size: 16 px was the select's, for Safari's zoom */
.smv.out{visibility:hidden}
.smv .sma{transition:opacity .3s var(--ease)}
.sma .tri{margin:0;opacity:1}
/* the tools' lines stand on one baseline, the sort with the find (it stood 4 px under it, open on the Duo) */
.tools:has(.sm){position:relative;align-items:baseline}
/* where the sort stood beside the find in some years and under it in most (the Duo folded on its side), it is under it in
   them all. Open, the Duo has room for both on one line in every year, and keeps them there */
@media (max-width:639.98px){:is(#sheet,.pgo>.view)>.tools:has(.sm)>.find{margin-right:calc(100% - min(22rem,100%))}}
@media (min-width:640px) and (max-width:719.98px){:is(#sheet,.pgo>.view)>.tools:has(.sm){margin-bottom:.6rem}}   /* the shut page's own line has the rows' gap */

/* a sort's name, in the dress its part wears in a row: the title's italic, the score's pill, a critic's logo */
.smw{display:inline-block;white-space:nowrap;line-height:1}
.smv .smw{margin:-.3em 0}                       /* no dress makes the line taller, so the dock keeps one height */
.smw-title{font-family:var(--serif);font-style:italic}
.smv .smw-title{font-size:1.078em}
.smw .logo{display:inline-block;width:1.0174em;height:1.0174em;border-radius:50%;vertical-align:calc(.36em - .5087em)}   /* 14 px in the row's 13.76 */
/* the pill is the sheet's: blank, as an album's with no score (.sco), and scored once it is chosen, in the green the top
   of the sheet then wears (sheets.js SCALE, 9.0 and above) */
.smw-score{position:relative;isolation:isolate;border-radius:999px;padding:.36em .62em .4em;font-weight:620;letter-spacing:-.01em}
.smw-score::before,.smw-score::after{content:"";position:absolute;z-index:-1;inset:0;border-radius:999px;background:rgba(17,17,17,.07)}
.smw-score::after{background:rgb(147,196,125);transition:opacity .3s var(--ease)}
.smo:not([aria-selected="true"]):not(:active) .smw-score::after{opacity:0}
/* on the line at rest it is its word alone, for a pill there read as a button: the pill comes as it leaves for the entry and
   goes as it comes home, filled as it is chosen; by its opacity, which the rows being made can't stall */
.smv .smw-score{margin:-.5em -.62em}
.smv .smw-score::before,.smv .smw-score::after{opacity:0}
.sm-ghost.smw-score::before,.sm-ghost.smw-score::after{animation:sm-in .3s var(--ease)}
.sm-ghost.sm-home.smw-score::before,.sm-ghost.sm-home.smw-score::after{animation:sm-out .42s var(--ease) both}
.sm-ghost.sm-home.sm-pick.smw-score::after{animation-name:sm-pass}
@keyframes sm-in{from{opacity:0}}
@keyframes sm-out{to{opacity:0}}
@keyframes sm-pass{0%,100%{opacity:0}30%{opacity:1}}

/* the opened entry: the sheet's phone row (sheets.css "a phone"), its lines 44 px for a thumb */
.smi{display:grid;grid-template-columns:1fr auto;column-gap:1rem}
.sml{grid-column:1 / -1;display:flex;flex-wrap:wrap;margin:0 -.5rem}
.sml-title,.sml-artist{grid-column:1}
.sml-right{grid-column:2;grid-row:1 / span 2;flex-direction:column;justify-content:center;align-items:flex-end;padding-top:8px}
.sml-title{font-size:17.25px}
.sml-artist{font-size:15px}
.sml-right{font-size:15px}
.sml-meta,.sml-crit{font-size:13.76px}
.sml-score{font-size:15px}
.smg{display:flex}
.smo{position:relative;display:block;height:32px;min-width:44px;padding:5px .5rem;text-align:left;color:var(--faint);line-height:22px;font-size:inherit;transition:color .3s var(--ease)}
.smo[aria-selected="true"],.smg.on .smw,.smo:active{color:var(--ink)}
.smg .smw{transition:color .3s var(--ease)}
.smo:has(.sma){font-size:15px}
/* every line is 32 px, a third less than the 44 it was (Sha, Nov 27, 2026: "it's a lot of white space ... esp vertically
   feels like a lot of unused vertical space between everything"), and title over artist, the one pair, 26, as a row has
   them; each still as wide as its words and more */
.sml-title .smo,.sml-right .smg:first-child:not(:last-child) .smo{padding-top:9px;padding-bottom:1px}
.sml-right:has(.smg){padding-top:0}
/* to hear's parts run both ways: up and down in one pair of columns beside the words, the words on the row's edges */
.smo .sma{display:inline-block;width:1em;text-align:center}
.smg .smo{display:flex;align-items:baseline}
.sml-title .smg .smw{font-size:17.25px}
.smg .smo:not(.smo-a){min-width:4.9rem;padding-right:.2rem;justify-content:space-between}
.smg .smo-a{padding-left:.2rem}
.sml-right .smg .smo:not(.smo-a){min-width:4.3rem;padding-inline:.2rem .5rem}
.sml-right .smg .smo-a{padding-inline:.5rem .2rem;justify-content:flex-end}
@media (hover:hover){.smo:hover{color:var(--ink)}}
.smo .logo{opacity:.72;transition:opacity .3s var(--ease)}   /* as a column's head wears it (th:not([aria-sort]) .logo) */
.smo[aria-selected="true"] .logo,.smo:active .logo{opacity:1}
.smo:focus-visible{outline:none}
:root.sm-keys .smo:focus :is(.smw,.sma:only-child){outline:1.5px solid var(--rule);outline-offset:3px}
.smw.gone{visibility:hidden}

/* at the tools the albums under it move down and back, as the families' fold opens (.fpick). The lines come once the word
   has gone past them, and go before the page shuts on them, so neither the word nor the edge is ever drawn across one */
.smp .sml{opacity:0;transition:opacity .1s linear}
.smp.open .sml{opacity:1;transition:opacity .3s ease var(--d,0s)}
.tools .smp{order:9;flex:0 0 100%;width:100%;min-width:0;display:grid;grid-template-rows:0fr;visibility:hidden;margin:-.6rem 0 0;
  transition:grid-template-rows .45s var(--ease) .06s,visibility 0s .51s}
.tools .smp.open{grid-template-rows:1fr;visibility:visible;transition:grid-template-rows .45s var(--ease),visibility 0s}
.tools .smp.now,.smp.now :is(.smx,.sml){transition:none}   /* out of sight, or the page left: at once */
.smx{min-height:0}
.tools .smx{overflow:hidden;margin:0 calc(-1 * var(--g));padding:0 var(--g)}
.tools:has(+ .filt:not(:empty)) .smi{padding-bottom:1.6rem}   /* a genre's own line is no line of the entry's */
.fli .smp{margin-top:0}

/* in the dock, the dock rises further, by the motion it rose with: its wall and its edge, over the same find and sort,
   which stay under the thumb. It hangs over the dock, not in it, so the dock's own height, and the page's foot with it,
   never change */
.dock .smp{position:absolute;left:0;right:0;bottom:100%;overflow:hidden;padding-top:var(--edge-h);visibility:hidden;pointer-events:none;
  transition:visibility 0s .6s}
.dock .smp.open{visibility:visible;pointer-events:auto;transition:visibility 0s}
.dock .smx{position:relative;background:var(--wall);pointer-events:auto;transform:translateY(calc(100% + var(--edge-h)));transition:transform .5s var(--ease) .1s;
  padding:0 max(var(--g),env(safe-area-inset-right)) 0 max(var(--g),env(safe-area-inset-left))}
.dock .smp.open .smx{transform:none;transition-delay:0s}
/* the word on its way passes behind the find, whose ground thins at its top so nothing is cut there */
.dock:has(.sm) .find{position:relative;z-index:4;background:linear-gradient(to top,var(--wall) 60%,rgba(255,255,255,0))}
.dock .smx::before{content:"";position:absolute;left:0;right:0;bottom:100%;height:var(--edge-h);
  background:linear-gradient(to top,rgba(17,17,17,.07),rgba(17,17,17,0));pointer-events:none}
.dock .smi{max-height:var(--sm-max,100vh);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none;margin:0 calc(-1 * var(--g));padding:0 var(--g)}
.dock .smi::-webkit-scrollbar{display:none}
.sm-anchor{font-style:normal;position:absolute;left:0;top:0;width:0;height:0;z-index:3;pointer-events:none}
.dock .sm-anchor{top:auto;bottom:0}
.sm-ghost{position:absolute;left:0;top:0;margin:0;white-space:nowrap;color:var(--ink);transform-origin:0 0;will-change:transform}

/* a short screen (the Duo folded on its side): a row's title, artist and score on one line */
@media (max-height:430px){
  .smi{grid-template-columns:auto 1fr auto}
  .smi:not(.two) :is(.sml-title,.sml-artist) .smo{padding-top:11px;padding-bottom:11px}
  .smi:not(.two) .sml-right{padding-top:0}
  .sml-title{grid-column:1}.sml-artist{grid-column:2}.sml-right{grid-column:3;grid-row:1}
  .smi.two{grid-template-columns:1fr auto}
  .two .sml-title,.two .sml-artist{grid-column:1}.two .sml-right{grid-column:2;grid-row:1 / span 2}
}
#sheet .dock .sm{margin-top:.15rem}   /* the pill clears the find's rule as at the tools */
@media (max-width:719.98px){.th .dock .dfilt:has(.smb){padding-block:.5rem;margin-block:calc(.2rem - .5rem) -.5rem}}   /* to hear's line keeps a thumb's height in its own box */
@media (min-width:720px){.smp{display:none!important}}
@media (prefers-reduced-motion:reduce){
  .smc{transition:none}
  /* the old word goes, and then the lines come */
  .smv{transition:opacity .1s linear}
  .smp.open .sml{transition:opacity .2s linear .1s}
  .tools .smp,.tools .smp.open{transition:none}
  .dock .smx{transition:opacity .2s linear;transform:none;opacity:0}
  .dock .smp{transition:visibility 0s .2s}.dock .smp.open .smx{opacity:1}
}
