/* /entrance-tape, "The Entrance Tape" (Wave 116, Nov 22). Hand-written; loaded only by entrance-tape.html.
   The boombox from /this-week (glam.css: .boombox, .bb-*) holds one cassette with every lady's entrance music, the
   track list written on its insert card. player.js plays it: one at a time, the same key again or STOP stops it, and
   when a track ends the tape stops. While a track plays, her label shows in the cassette window.
   Phone first: the deck sits on top and its readout and STOP (.et-ctl) stay in view under the header while the list
   scrolls. From 960px the deck is a column of its own beside the list and stays in view whole. */
.et-sec{padding:44px 16px 84px;border-bottom:6px solid #000;
  background:repeating-linear-gradient(-45deg,transparent 0 28px,rgba(255,46,147,.16) 28px 36px),var(--navy2)}
.et-sec .sec-head{margin-bottom:0}
.et-sec .sec-head .kicker{margin-bottom:18px}
.et-sec .sec-head .h2{font-size:clamp(46px,7vw,84px)}

.et-box{max-width:1140px;margin-top:66px}
.et-window{margin-top:4px}
/* her label swaps in while she plays; two lines tall at every width, so nothing below it moves */
.et-window .bb-label{display:flex;align-items:center;justify-content:center;min-height:2.7em;line-height:1.2;text-wrap:balance}
.et-ctl{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;margin-top:14px;padding:8px;background:#2b2b2b;border:3px solid #000;border-radius:10px}
.et-ctl .bb-stop{gap:3px;min-width:66px;min-height:60px;padding:4px 10px;font-size:12px;box-shadow:0 5px 0 #000}
.et-ctl .bb-stop:disabled{box-shadow:0 5px 0 #000}
/* the readout is one fixed height (three lines at most), so nothing moves when a name plays or the tape stops */
.et-ctl .bb-lcd{height:68px;min-height:0;padding:6px 12px;overflow:hidden}
.et-ctl .bb-now{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;font-size:12.5px;line-height:1.25}
.et-spks{display:none}

/* the insert card: every lady in roster order, a key and her name on each ruled line */
.et-list{list-style:none;margin:18px 0 0;padding:6px 16px 8px;background:#FFF6DC;color:#000;border:4px solid #000;border-radius:6px;
  box-shadow:inset 0 0 0 3px #fff;columns:3 250px;column-gap:30px;column-rule:2px dashed rgba(0,0,0,.22)}
.et-row{display:flex;align-items:center;gap:12px;padding:6px 6px 6px 0;border-bottom:1px solid rgba(60,112,190,.42);break-inside:avoid}
.et-key{flex:0 0 auto;flex-direction:row;gap:7px;min-width:88px;min-height:46px;padding:4px 10px;border-width:3px;box-shadow:0 5px 0 #000;font-size:15px}
.et-key small{font-size:14px;color:#000}
.et-key:active,.et-key[aria-pressed="true"]{transform:translateY(3px);box-shadow:0 2px 0 #000}
.et-s{display:none}
.et-key[aria-pressed="true"] .et-p{display:none}
.et-key[aria-pressed="true"] .et-s{display:inline}
.et-row:has(.et-key[aria-pressed="true"]){background:linear-gradient(90deg,rgba(255,212,0,.6),rgba(255,212,0,0) 85%)}
.et-name{display:flex;align-items:center;flex:1 1 auto;min-width:0;min-height:46px;font-family:'Permanent Marker','Permanent Marker fb',cursive;
  font-size:19px;line-height:1.15;color:#000;text-decoration:underline;text-decoration-color:var(--pink);text-decoration-thickness:2px;text-underline-offset:4px}
.et-name:hover{color:var(--pink-dk)}

/* up to 959px the deck lays out in the box itself, so its readout can stay in view under the header all down the list */
@media (max-width:959px){
  .et-deck{display:contents}
  .et-ctl{position:sticky;top:calc(var(--hdr,12px) - 12px);z-index:5;box-shadow:0 6px 0 rgba(0,0,0,.25)}
}
@media (max-width:700px){
  .et-sec{padding:26px 12px 60px}
  .et-sec .sec-head .kicker{margin-bottom:12px;font-size:13px;padding:7px 14px}
  .et-sec .sec-head p{font-size:17px}
  .et-box{margin-top:52px;padding:12px 10px 14px}
  .et-box .bb-top{margin-bottom:12px;padding-bottom:10px}
  .et-window{padding:10px 12px 12px}
  .et-window .bb-label{font-size:16px}
  .et-window .bb-reels{margin-top:8px}
  .et-window .bb-reels i{width:38px;height:38px}
  .et-ctl{margin-top:12px;padding:6px;gap:8px}
  .et-ctl .bb-lcd{gap:9px;padding:6px 10px}
  .et-ctl .bb-count{font-size:16px;letter-spacing:1px}
  .et-ctl .bb-now{font-size:12px}
  .et-ctl .bb-stop{min-width:60px;padding:4px 8px}
  .et-list{margin-top:14px;padding:2px 10px 4px}
  .et-name{font-size:18px}
}
@media (max-width:359px){
  .et-ctl .bb-lcd{height:78px}
  .et-ctl .bb-now{-webkit-line-clamp:4;font-size:11.5px}
  .et-key{min-width:80px;padding:4px 8px}
  .et-name{font-size:17px}
}

/* from 960px: the deck on the left, held in view under the header, the insert card on the right */
@media (min-width:960px){
  .et-box{display:grid;grid-template-columns:360px minmax(0,1fr);gap:0 26px;align-items:start;padding:18px 22px 24px}
  .et-box .bb-handle{left:60px;width:240px}
  .et-deck{position:sticky;top:calc(var(--hdr,12px) + 6px)}
  .et-spks{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:18px}
  .et-spks .bb-spk{width:84%;justify-self:center}
  .et-list{margin-top:0;columns:2 250px}
}
@media (prefers-reduced-motion:reduce){.et-key{transition:none}}
