/* THE WOODSHED'S JAM HIVE MIND: js/woodshed-hive.js on Combat Center's MW2 page (the Leaderboard's). Words stand on the storm, no boxes, no underlines.
   He is colour-blind: a level is how many of three bars are solid, the meter's stops solid up to the level, a picked rating or instrument the bright word with
   a diamond -- lightness and shape, never hue alone. An upright phone never scrolls: the left list is cut into pages (listRows), a lineup shows four names an
   instrument and "+N". */
.hv-page .mw2-word{display:flex;align-items:center;gap:10px}
.hv-page .mw2-word .hv-title{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hv-tick{flex:none;width:12px;height:12px;box-sizing:border-box;border:2px solid currentColor;transform:rotate(45deg);opacity:.5}
.hv-page .mw2-word.is-on .hv-tick{background:currentColor;opacity:1}
.hv-page .mw2-word.is-dim:not(.is-lit) .hv-pic{opacity:.55}
.hv-page .mw2-word .hv-pic svg,.hv-page .mw2-word .hv-pic img,.hv-page .mw2-word .hv-pic canvas{width:30px;height:30px}
.hv-pic{display:inline-flex;flex:none}
.hv-pic svg,.hv-pic img,.hv-pic canvas{width:36px;height:36px;display:block}
/* an instrument turns on its canvas (js/woodshed-spin.js); the flat sticker only on a page with no WebGL */
html:not([data-spin=off]) .hv-pic .hv-flat{display:none}
html[data-spin=off] .hv-pic canvas{display:none}
.hv-pic img{object-fit:contain;user-select:none;-webkit-user-drag:none}

.hv-panel{width:min(640px,100%);display:flex;flex-direction:column;gap:clamp(6px,1.4vh,14px);font:600 clamp(16px,1.6vw,21px)/1.2 var(--face);color:#fff;text-shadow:0 1px 2px #05131f,0 0 6px #05131fcc}
.hv-big{margin:0;font:800 clamp(24px,3vw,38px)/1.05 var(--face);letter-spacing:.06em;text-transform:uppercase;color:#fff}
.hv-sub,.hv-ask{margin:0;letter-spacing:.1em;color:#dfe3e6}
.hv-ask{font-weight:800;font-size:clamp(20px,2.2vw,28px);color:#fff}
.hv-empty{margin:0;font:600 clamp(18px,2vw,24px)/1.3 var(--face);color:#ececec;letter-spacing:.06em}
.hv-link{margin:0;font:700 clamp(15px,1.5vw,19px)/1.3 var(--face);color:#ffc94a;word-break:break-all;letter-spacing:.02em;user-select:all}

/* three bars, solid to the level */
.hv-bars{display:inline-flex;gap:3px;flex:none;align-items:flex-end}
.hv-bars i{display:block;width:6px;height:14px;box-sizing:border-box;border:2px solid currentColor;opacity:.55}
.hv-bars i.on{background:currentColor;opacity:1}

/* the lit song's lineup: an instrument a row, its people beside it */
.hv-lineup{display:flex;flex-direction:column;gap:clamp(4px,1vh,10px)}
.hv-row{display:grid;grid-template-columns:40px 7.2em minmax(0,1fr);align-items:center;gap:10px}
.hv-inst{letter-spacing:.08em;font-weight:800}
.hv-who{display:flex;flex-wrap:wrap;gap:4px 16px;min-width:0}
.hv-person{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.hv-person.me{color:#ffc94a}
.hv-person.me .hv-name::before{content:'';display:inline-block;width:8px;height:8px;margin-right:6px;background:currentColor;transform:rotate(45deg) translateY(-2px)}
.hv-hard{font-size:.78em;letter-spacing:.1em;color:#c3c9cd}
.hv-more{color:#c3c9cd}
/* the CREW screen: who is in it, a name a line on a phone, side by side when there is room */
.hv-members{display:flex;flex-wrap:wrap;gap:6px 22px}

/* MY PART: an instrument you picked, the drag meter, the rating */
.hv-mine{display:flex;flex-direction:column;gap:clamp(8px,1.8vh,16px)}
.hv-part{display:grid;grid-template-columns:minmax(0,1fr);gap:4px}
.hv-parthead{display:flex;align-items:center;gap:10px}
.hv-level{margin-left:auto;font-weight:700;letter-spacing:.06em;color:#ffc94a}
/* HOW READY: three areas side by side, each a bar segment over its milestone words. The areas up to your level are solid, yours the brightest
   (bar and words); the rest hollow and dim. Solid against hollow and bright against dim, never hue */
.hv-toggle{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.hv-area{display:flex;flex-direction:column;align-items:stretch;gap:6px;padding:4px 0 6px;border:0;background:none;cursor:pointer;color:#a9b0b5;text-align:left;font:700 clamp(14px,1.4vw,18px)/1.1 var(--face);letter-spacing:.06em;text-shadow:0 1px 2px #05131f}
.hv-area:focus,.hv-area:focus-visible{outline:none;box-shadow:none}
.hv-areabar{display:block;height:12px;box-sizing:border-box;border:2px solid #ffffffb3;background:#05131f80}
.hv-area.on .hv-areabar{background:#dfe3e6;border-color:#dfe3e6}
.hv-area.on{color:#dfe3e6}
.hv-area.at{color:#fff}
.hv-area.at .hv-areabar{background:#fff;border-color:#fff;height:16px;margin-top:-2px;margin-bottom:-2px}
.hv-area.is-lit,.hv-area:hover{color:#ffc94a}
.hv-area.is-lit .hv-areabar,.hv-area:hover .hv-areabar{border-color:#ffc94a}
.hv-area.at.is-lit .hv-areabar{background:#ffc94a}
.hv-areaword{display:block;min-height:2.2em;text-wrap:balance}
.hv-area.on:not(.at){color:#b8bec3}
.hv-area.at .hv-areaword::before{content:'';display:inline-block;width:8px;height:8px;margin-right:7px;background:currentColor;transform:rotate(45deg) translateY(-2px)}
.hv-rateword:focus,.hv-rateword:focus-visible{outline:none;box-shadow:none}
.hv-rate{display:flex;gap:clamp(12px,2vw,26px)}
.hv-rateword{padding:4px 0;border:0;background:none;color:#a9b0b5;font:700 clamp(15px,1.5vw,19px)/1 var(--face);letter-spacing:.1em;cursor:pointer;text-shadow:0 1px 2px #05131f;display:inline-flex;align-items:center;gap:6px}
.hv-rateword.on{color:#fff}
.hv-rateword.on::before{content:'';width:8px;height:8px;background:currentColor;transform:rotate(45deg)}
.hv-rateword.is-lit,.hv-rateword:hover{color:#ffc94a}

/* a new crew's name: one faint line, lit while typing (no underline bars, README rule 2) */
.hv-form{display:flex}
.hv-field{flex:1 1 auto;min-width:0;box-sizing:border-box;margin:0;padding:6px 2px;background:none;border:0;border-bottom:1px solid #ffffff59;border-radius:0;outline:none;color:#fff;font:600 24px/1.2 var(--face);letter-spacing:.03em;caret-color:var(--key);text-shadow:0 1px 2px #000000d9}
.hv-field:focus{border-bottom-color:#fff}
.hv-field::placeholder{color:#dfe3e6b3}

@media (max-width:600px) and (orientation:portrait){
  .hv-row{grid-template-columns:32px minmax(0,1fr)}
  .hv-row .hv-inst{display:none}
  .hv-pic svg,.hv-pic img,.hv-pic canvas{width:30px;height:30px}
  .hv-panel{font-size:16px}
  .hv-area{font-size:13px;letter-spacing:.04em}
}
.hv-songhead{display:flex;align-items:center;gap:14px}
.hv-songwords{flex:0 1 auto;min-width:0;display:flex;flex-direction:column;gap:4px}
/* the play-on-Spotify mark: the round mark alone, no box; it grows a little under the pointer or a focus */
.hv-listen{flex:none;display:inline-flex;padding:4px;margin:0;background:none;border:0;border-radius:50%;cursor:pointer;outline:none;transition:transform .12s}
.hv-listen:hover,.hv-listen:focus-visible{transform:scale(1.15)}
.hv-listen .hv-pic svg,.hv-listen .hv-pic img{width:40px;height:40px}

/* THE LIST across the whole screen (2026-11-08: "use the full screen", "a liked for want to play and a bar for ready to play"; picked: it scrolls).
   A row: the song's name and artist, the READY bar (crew readiness: solid to how far along, read by length and lightness), the heart and its count
   (yours the bright heart, others' the dark one). The lit row's name turns gold with MW2's slash before it. Nothing is boxed.
   Room to read (owner, 2026-11-10: "easier to read there is too much going on not enough padding on many elements"): one column no wider than a
   reader's line, every word on the bar one size, the rows spaced apart, the READY bar short and thin, and RECENT a sort rather than a column. */
.hv-page .mw2-items{overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#ffffff59 transparent}
.hv-page[data-layout=grid] .mw2-items{width:min(1000px,100%)}
.hv-page[data-layout=grid] .mw2-panel{width:min(1000px,100%)}
.hv-page[data-layout=grid] .mw2-foot{width:min(1000px,100%)}
.hv-listbar{width:100%;display:flex;align-items:center;justify-content:space-between;gap:6px 32px;flex-wrap:wrap;margin:4px 0 22px}
.hv-sorts{display:flex;align-items:center;gap:6px 20px;flex-wrap:wrap}
.hv-sortlabel{font:700 13px/1 var(--face);letter-spacing:.18em;color:#dfe3e6b3}
.hv-sorts .hv-rateword{font-size:clamp(15px,1.4vw,18px)}
.hv-acts{display:flex;align-items:center;gap:0 6px;flex-wrap:wrap}
.hv-listbar .mw2-word{min-height:40px;padding:2px 18px 2px 8px;font-size:clamp(17px,1.6vw,21px)}
.hv-acts .mw2-word:first-child{margin-left:-8px}
/* the rest of the Woodshed (JAM, SCALES, LOG YOUR RANGE) on its own line under the crew's words, a step dimmer: places to go, not the list's */
.hv-also{flex:1 1 100%;justify-content:flex-end}
.hv-page .hv-also .mw2-word:not(.is-lit){color:#c9d0d6}
.hv-table{width:100%;display:flex;flex-direction:column}
.hv-thead,.hv-songrow{display:grid;grid-template-columns:minmax(0,1fr) clamp(110px,24%,250px) 80px;align-items:center;column-gap:clamp(16px,3vw,40px)}
.hv-thead{padding:0 0 8px 22px;font:700 13px/1 var(--face);letter-spacing:.18em;color:#dfe3e6b3;text-shadow:0 1px 2px #05131f}
.hv-thwant{text-align:center}
.hv-songrow{min-height:68px}
/* the song's button holds the first two columns: a grid of its own that lines up with the head's */
.hv-song{grid-column:1 / 3;display:grid;grid-template-columns:subgrid;align-items:center;min-width:0;margin:0;padding:10px 0 10px 22px;position:relative;background:none;border:0;
  color:#dfe3e6;text-align:left;cursor:pointer;font:700 clamp(18px,1.7vw,22px)/1.1 var(--face);letter-spacing:.04em;text-transform:uppercase;text-shadow:0 1px 2px #05131f,0 0 6px #05131fcc}
.hv-song::before{content:'';position:absolute;left:4px;top:50%;width:6px;height:22px;border-left:3px solid currentColor;border-right:3px solid currentColor;transform:translateY(-50%) skewX(-24deg);opacity:0}
.hv-song.is-lit,.hv-song:hover{color:#ffc94a}
.hv-song.is-lit::before{opacity:1}
.hv-song:focus,.hv-song:focus-visible,.hv-like:focus,.hv-like:focus-visible{outline:none;box-shadow:none}
.hv-songname{display:flex;flex-direction:column;gap:5px;min-width:0}
.hv-songname .hv-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hv-artist{font:600 clamp(12px,1.1vw,14px)/1.1 var(--face);letter-spacing:.1em;color:#c9d0d6;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hv-song.is-lit .hv-artist{color:#ffe2a3}
/* READY: an empty dark track, solid white to the crew's readiness */
.hv-ready{display:block;height:10px;background:#0b1d2bb3;box-shadow:0 0 0 2px #05131f}
.hv-readyfill{display:block;height:100%;background:#f4f7f9}
.hv-song.is-lit .hv-readyfill{background:#ffc94a}
.hv-like{display:inline-flex;align-items:center;justify-content:center;gap:8px;margin:0;padding:10px 0;background:none;border:0;cursor:pointer;color:#c9d0d6;
  font:800 clamp(17px,1.6vw,20px)/1 var(--face);text-shadow:0 1px 2px #05131f}
.hv-like .hv-pic svg,.hv-like .hv-pic img{width:28px;height:28px;transition:transform .12s}
.hv-like.on{color:#fff}
.hv-like.is-lit .hv-pic svg,.hv-like:hover .hv-pic svg,.hv-like.is-lit .hv-pic img,.hv-like:hover .hv-pic img{transform:scale(1.18)}
.hv-like.is-lit .hv-likes{color:#ffc94a}
@media (max-height:500px){
  .hv-songrow{min-height:52px}
  .hv-song{font-size:17px;padding:6px 0 6px 22px}
  .hv-songname{gap:3px}
  .hv-listbar{margin-bottom:10px;padding-right:48px;box-sizing:border-box}
  .hv-listbar .mw2-word{min-height:34px;font-size:16px}
}
@media (max-width:600px) and (orientation:portrait){
  .hv-thead,.hv-songrow{grid-template-columns:minmax(0,1fr) 66px 52px;column-gap:14px}
  .hv-thead{padding-left:16px}
  .hv-songrow{min-height:62px}
  .hv-song{padding:9px 0 9px 16px;font-size:17px}
  .hv-song::before{left:0}
  .hv-artist{font-size:12px}
  .hv-like .hv-pic svg,.hv-like .hv-pic img{width:24px;height:24px}
  .hv-like{gap:5px}
  .hv-listbar{gap:4px 12px;margin-bottom:16px}
  .hv-sortlabel{display:none}
  .hv-sorts{gap:4px 14px}
  .hv-sorts .hv-rateword{font-size:15px;letter-spacing:.06em}
  .hv-listbar .mw2-word{min-height:38px;font-size:18px;padding-right:14px}
  .hv-also{justify-content:flex-start}
}

/* THE OPEN ROW (2026-11-08: "one click should select and show the more info and another click should enter into changing the details"): the song's
   Spotify player, who is on what, your instruments as pictures and the meter for the one you touched, under the row, indented to its words. The open
   row's name stays gold. Nothing is boxed. */
.hv-songrow.open .hv-song{color:#ffc94a}
.hv-songrow.open .hv-song::before{opacity:1}
.hv-songrow.open .hv-artist{color:#ffe2a3}
/* side by side wherever there is width: down the left the instrument you are learning and its three ways (WARM UP, LISTEN, TEST), Spotify's player
   once LISTEN put it there, then who is on what; your HOW READY and rating at the right. A song with no pick yet asks WHAT DO YOU WANT TO LEARN? across
   the whole row (the upright phone stacks everything) */
.hv-open{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px clamp(16px,3vw,40px);align-items:start;padding:4px 0 14px 22px;
  font:600 clamp(16px,1.5vw,19px)/1.2 var(--face);color:#fff;text-shadow:0 1px 2px #05131f,0 0 6px #05131fcc}
.hv-embed{display:block;grid-column:1;width:min(560px,100%);height:80px;border:0;border-radius:12px;background:#0b1d2b}
.hv-openbody{display:contents}
.hv-open .hv-lineup{grid-column:1;gap:4px}
.hv-open .hv-mine{grid-column:2;grid-row:1 / span 3;gap:6px;min-width:0}
.hv-open .hv-row{grid-template-columns:32px 7.2em minmax(0,1fr)}
.hv-open .hv-pic svg,.hv-open .hv-pic img,.hv-open .hv-pic canvas{width:30px;height:30px}
.hv-open .hv-empty{font-size:clamp(15px,1.4vw,18px)}
.hv-open>.hv-ask,.hv-open .hv-openbody>.hv-ask{grid-column:1 / -1}
/* WHAT DO YOU WANT TO LEARN?: the eight instruments turning, their words under them; one you already picked is bright with a solid tick, the rest
   hollow (lightness and shape, never hue); the lit one gold and bigger */
.hv-learn{grid-column:1 / -1;display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:4px clamp(6px,1vw,14px);max-width:960px}
.hv-learnpick{display:flex;flex-direction:column;align-items:center;gap:4px;min-width:0;padding:4px 0;margin:0;background:none;border:0;cursor:pointer;color:#dfe3e6;
  font:800 clamp(13px,1.2vw,16px)/1 var(--face);letter-spacing:.08em;text-shadow:0 1px 2px #05131f}
.hv-learnpick:focus,.hv-learnpick:focus-visible,.hv-change:focus,.hv-change:focus-visible{outline:none;box-shadow:none}
.hv-open .hv-learnpick .hv-pic canvas,.hv-open .hv-learnpick .hv-pic img{width:clamp(56px,6.4vw,92px);height:clamp(56px,6.4vw,92px)}
.hv-learnpick .hv-pic{transition:transform .12s}
.hv-learnword{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hv-learnpick .hv-tick{width:10px;height:10px}
.hv-learnpick.on{color:#fff}
.hv-learnpick.on .hv-tick{background:currentColor;opacity:1}
.hv-learnpick.is-lit,.hv-learnpick:hover{color:#ffc94a}
.hv-learnpick.is-lit .hv-pic,.hv-learnpick:hover .hv-pic{transform:scale(1.12)}
/* the instrument you are learning, big and turning, with CHANGE beside its name; its three ways under it */
.hv-learning{grid-column:1;display:flex;flex-direction:column;gap:4px;min-width:0}
.hv-change{display:flex;align-items:center;gap:14px;margin:0;padding:0;background:none;border:0;cursor:pointer;color:#fff;text-align:left;
  font:800 clamp(22px,2.2vw,30px)/1 var(--face);letter-spacing:.08em;text-shadow:0 1px 2px #05131f,0 0 6px #05131fcc}
.hv-open .hv-change .hv-pic canvas,.hv-open .hv-change .hv-pic img{width:clamp(72px,7vw,104px);height:clamp(72px,7vw,104px)}
.hv-changeword{font-size:.55em;letter-spacing:.18em;color:#c3c9cd}
.hv-change.is-lit .hv-changeword,.hv-change:hover .hv-changeword{color:#ffc94a}
.hv-ways{display:flex;flex-wrap:wrap;align-items:center;gap:0 clamp(18px,2.6vw,40px)}
.hv-ways .mw2-word{padding-left:0;font-size:clamp(22px,2.2vw,30px)}
@media (max-width:600px) and (orientation:portrait){
  .hv-open{display:flex;flex-direction:column;align-items:stretch;padding-left:16px;gap:8px}
  .hv-openbody{display:flex;flex-direction:column;gap:8px}
  .hv-learn{grid-template-columns:repeat(4,minmax(0,1fr))}
  .hv-open .hv-learnpick .hv-pic canvas,.hv-open .hv-learnpick .hv-pic img{width:58px;height:58px}
  .hv-open .hv-change .hv-pic canvas,.hv-open .hv-change .hv-pic img{width:64px;height:64px}
  .hv-ways .mw2-word{font-size:22px}
  .hv-open .hv-pic svg,.hv-open .hv-pic img,.hv-open .hv-pic canvas{width:26px;height:26px}
  .hv-open .hv-row{grid-template-columns:28px minmax(0,1fr)}
}
@media (max-height:500px){
  .hv-open{padding-bottom:10px}
}
/* the list's last row fades into the foot rather than being cut through its words */
.hv-page[data-layout=grid] .mw2-items{-webkit-mask-image:linear-gradient(to bottom,#000 calc(100% - 24px),transparent);mask-image:linear-gradient(to bottom,#000 calc(100% - 24px),transparent);padding-bottom:20px;box-sizing:border-box}

/* THE RANGE BOARD (owner, 2026-11-10: "have the woodshed show everyones range progress in a leaderboard"): a row a singer, laid like the song list --
   place, name over its best range, the last checks as bars, the number it is sorted by. You are the diamond before your name; the lit row is gold with
   its best check's bar solid and the rest hollow-dim, read by lightness, never hue alone */
.hv-rhead,.hv-rangerow{display:grid;grid-template-columns:40px minmax(0,1fr) 120px 96px;align-items:center;column-gap:clamp(14px,2.4vw,32px)}
.hv-rhead{padding:0 0 8px 0;font:700 13px/1 var(--face);letter-spacing:.18em;color:#dfe3e6b3;text-shadow:0 1px 2px #05131f}
.hv-thnum{justify-self:end;text-align:right;white-space:nowrap}
.hv-rangerow{min-height:68px;margin:0;padding:8px 0;position:relative;background:none;border:0;color:#dfe3e6;text-align:left;cursor:pointer;
  font:700 clamp(18px,1.7vw,22px)/1.1 var(--face);letter-spacing:.04em;text-transform:uppercase;text-shadow:0 1px 2px #05131f,0 0 6px #05131fcc}
.hv-rangerow:focus,.hv-rangerow:focus-visible{outline:none;box-shadow:none}
.hv-rangerow.is-lit,.hv-rangerow:hover{color:#ffc94a}
/* the lit row also wears the song list's slanted double bar, so it is told by shape as well as gold */
.hv-rangerow::before{content:'';position:absolute;left:2px;top:50%;width:6px;height:22px;border-left:3px solid currentColor;border-right:3px solid currentColor;transform:translateY(-50%) skewX(-24deg);opacity:0}
.hv-rangerow.is-lit::before{opacity:1}
.hv-rangerow.is-lit .hv-artist,.hv-rangerow:hover .hv-artist{color:#ffe2a3}
.hv-rpos{text-align:right;font:italic 800 clamp(20px,2vw,26px)/1 var(--face);color:#c9d0d6}
.hv-rangerow.is-lit .hv-rpos{color:#ffc94a}
.hv-rangerow.me .hv-rname::before{content:'';display:inline-block;width:9px;height:9px;margin-right:8px;background:currentColor;transform:rotate(45deg) translateY(-2px)}
.hv-rangerow.me .hv-rname{color:#fff}
.hv-rangerow.me.is-lit .hv-rname{color:#ffc94a}
.hv-rnum{text-align:right;font:italic 800 clamp(24px,2.4vw,32px)/1 var(--face);color:#fff}
.hv-rangerow.is-lit .hv-rnum{color:#ffc94a}
.hv-trail{display:block;width:120px;height:36px;overflow:visible}
.hv-trail rect{fill:#dfe3e6;opacity:.55}
.hv-trail rect.best{opacity:1}
.hv-trailbase{stroke:#dfe3e64d;stroke-width:1}
.hv-rangerow.is-lit .hv-trail rect{fill:#ffc94a}
@media (max-height:500px){
  .hv-rangerow{min-height:52px;padding:4px 0;font-size:17px}
}
@media (max-width:600px) and (orientation:portrait){
  .hv-rhead,.hv-rangerow{grid-template-columns:24px minmax(0,1fr) 72px 46px;column-gap:10px}
  .hv-rhead{letter-spacing:.08em}
  .hv-rangerow{min-height:62px;font-size:17px}
  /* the best range, its half steps and checks wrap under the name rather than lose their end */
  .hv-rangerow .hv-artist{white-space:normal;line-height:1.3}
  .hv-rpos{font-size:18px}
  .hv-rnum{font-size:22px}
  .hv-trail{width:72px;height:32px}
  .hv-thtrail{visibility:hidden}
}

/* THE SIGN-IN DOOR (2026-11-10, a guest in the jam's chat: "I entered my name but didn't find a login"): the site's one account button
   (js/elgin-account-button.js) at the end of the list's bar, and under WHAT'S YOUR NAME? after an OR */
.hv-acct{display:inline-flex;align-items:center;margin-left:6px}
.hv-or{display:flex;align-items:center;gap:14px;margin-top:6px}
.hv-or .hv-acct{margin-left:0}
@media (max-width:600px) and (orientation:portrait){.hv-listbar .hv-acct{margin-left:-2px}}
