/* AILA · round 53 · “Her box” — a chapter like the others: it uses site.css's own .chap, .chap-head, .kick, .h2, .lede,
   .live-stage, .live-badge, .toolbar, .tb and .hintbar. Only the box's own parts are here. Plan: _plan/BOX.md, Rounds 53 and 54. */
/* the label: the chapters' label, with her blue still dot (the box is a drawing, not a live file) */
#c-box .live-badge:before{background:#8F9BE0;animation:none;box-shadow:none}
#c-box .bx-fig{position:relative}
#c-box .bx-cv{display:block;position:absolute;left:0;top:0;width:100%;height:100%;-webkit-tap-highlight-color:transparent}
/* the nine names; without script they are a plain list in the panel */
#c-box .bx-list{list-style:none;margin:0;padding:64px 24px 28px;display:grid;gap:12px}
#c-box .bx-n{display:block;margin:0;padding:0;border:0;background:none;color:inherit;font:inherit;text-align:left;cursor:pointer;-webkit-tap-highlight-color:transparent}
#c-box .bx-n b{display:block;font-family:var(--mono);font-weight:500;font-size:14px;line-height:18px;letter-spacing:.08em;color:#8F9BE0;transition:color .2s,opacity .2s}
#c-box .bx-l{display:none}
#c-box .bx-say{display:none;margin:5px 0 0;font-family:var(--serif);font-size:18px;line-height:1.2;color:var(--paper);text-wrap:pretty}
#c-box .bx-read{display:none}
html.no-js #c-box .bx-cv,html.no-js #c-box .hintbar{display:none}
/* with script: the names beside their plates */
#c-box.bx-js .bx-list{position:absolute;left:0;top:0;right:0;bottom:0;padding:0;display:block;pointer-events:none}
#c-box.bx-js .bx-list li{position:absolute;left:0;top:0;visibility:hidden;opacity:0;pointer-events:auto}
#c-box.bx-js .bx-l{display:block;position:absolute;height:1px;background:#8F9BE0;transform-origin:0 50%;pointer-events:none}
#c-box.bx-js .bx-n{position:relative;width:100%}
#c-box.bx-js .bx-say{display:block;position:absolute;top:-3px;margin:0;line-height:1.25;visibility:hidden;opacity:0;transition:opacity .2s,visibility .2s}
#c-box.bx-js li.on .bx-say{visibility:visible;opacity:1}
#c-box.bx-js li.on .bx-n b{color:var(--paper)}
/* round 54: when one layer is tapped the others stay readable, only a little quieter */
#c-box.bx-js .bx-list.has-on li:not(.on) .bx-n b{opacity:.8}
#c-box .bx-n:focus{outline:none}
#c-box .bx-n:focus-visible b{outline:1px solid #8F9BE0;outline-offset:5px;border-radius:2px}
/* the line a screen reader hears (on a desktop the eye reads it under the name) */
#c-box.bx-js .bx-read{display:block;position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}
/* round 54: on a desktop the hint stands in the column where the tapped layer's line shows; the bar under the drawing is for the
   screen reader only there */
/* the hint fills its column as the tapped line will: an arrow at the names, a hairline, the words ending where the widest line ends */
#c-box .bx-hint.bx-cue{position:absolute;display:flex;align-items:center;justify-content:flex-end;gap:14px;white-space:nowrap;margin:-3px 0 0;font-family:var(--serif);font-size:18px;line-height:1.25;color:var(--dim);pointer-events:none;opacity:0;transition:opacity .3s}
#c-box .bx-hint.bx-cue:before{content:"\2190";flex:1 1 auto;min-width:48px;background:linear-gradient(var(--hair),var(--hair)) no-repeat 22px 55%/calc(100% - 22px) 1px}
#c-box .bx-open .bx-hint.bx-cue{opacity:1;transition:opacity .4s .35s}
#c-box .bx-open.bx-reading .bx-hint.bx-cue{opacity:0;transition:opacity .15s}
#c-box.bx-js .bx-stage:not(.bx-phone)>.hintbar{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%)}
/* the phone: the names stay beside their plates; the tapped layer's line shows under the drawing, where the hint is */
#c-box .bx-phone .bx-n b{font-size:11.5px;line-height:15px;letter-spacing:.07em}
#c-box .bx-phone .bx-say{display:none!important}
@media (max-width:700px){
  #c-box .bx-list{padding:16px 16px 20px}
  #c-box.bx-js .bx-list{padding:0}
  #c-box .live-stage>.hintbar{flex-direction:column;justify-content:flex-start;gap:0}
  #c-box.bx-js .bx-phone .bx-read{position:static;width:auto;height:auto;overflow:visible;clip:auto;clip-path:none;white-space:normal}
  #c-box .bx-phone.bx-reading .bx-hint{display:none}
  #c-box .bx-phone .bx-read b{display:block;font-family:var(--mono);font-weight:500;font-size:11.5px;letter-spacing:.07em;color:#8F9BE0}
  #c-box .bx-phone .bx-read span{display:block;margin-top:5px;font-family:var(--serif);font-size:17px;line-height:1.3;color:var(--paper);text-wrap:pretty}
}
