/* Who's here (js/who.js), look C "Night road" (docs/site-journey/direction.md). The greeting is dialog.who: the page's
   own .who spans (the hero's name, the note's "reader") are not ours to style. */
dialog.who{--lime:#d2f783;--mono:"Courier New",ui-monospace,Menlo,monospace;box-sizing:border-box;width:calc(100% - 32px);max-width:520px;max-height:calc(100% - 32px);overflow:auto;margin:auto;background:#0b0b0c;color:#f3f2ea;border-radius:18px;padding:26px 24px 22px;border:1px solid #2f2a28;box-shadow:0 0 0 1px rgba(210,247,131,.15),0 30px 60px -20px rgba(0,0,0,.8)}
dialog.who::backdrop{background:rgba(11,11,12,.62)}
dialog.who *{box-sizing:border-box}
.who-hi{font:900 clamp(30px,5vw,42px)/1.04 "Archivo",system-ui,sans-serif;font-stretch:118%;margin:0 0 20px;color:#f3f2ea;text-transform:none;letter-spacing:normal;overflow-wrap:anywhere}
.who-hi em{font-style:normal;background:none;padding:0;color:var(--lime);text-shadow:0 0 18px rgba(210,247,131,.45)}
dialog.who button{cursor:pointer;-webkit-tap-highlight-color:transparent}
dialog.who button:focus-visible,.who-done:focus-visible{outline:2px solid var(--lime);outline-offset:2px}
.who-btn{display:flex;justify-content:space-between;align-items:center;width:100%;min-height:44px;margin:10px 0 0;padding:15px 18px;border-radius:12px;border:1px solid #3a3230;background:#171312;color:#f3f2ea;font:800 18px/1.2 "Archivo",system-ui,sans-serif;font-stretch:110%;text-align:left}
.who-btn.go{margin-top:0;background:var(--lime);color:#0b0b0c;border-color:var(--lime);box-shadow:0 0 26px rgba(210,247,131,.35)}
dialog.who .fine,.who-done{font:500 12px/1.45 var(--mono);color:#a5a59c;margin:9px 2px 0}
.who-forget{display:block;min-height:44px;margin:4px auto 0;padding:0 4px;background:none;border:0;color:#a5a59c;font:500 11px/1.3 var(--mono);text-decoration:underline;text-underline-offset:3px}
.who-hi + .who-done{margin:-8px 2px 14px}
.who-pick{display:flex;flex-wrap:wrap;align-items:center;gap:0 14px;margin:0}
.who-pick .who-btn{flex:1 1 220px;width:auto}
.who-top{min-height:44px;padding:0 4px;background:none;border:0;color:#f3f2ea;font:700 13px/1.3 var(--mono);text-decoration:underline;text-underline-offset:3px}
dialog.who .players{display:grid;grid-template-columns:repeat(auto-fit,minmax(118px,1fr));gap:10px;margin-top:4px}
.who-p,.who-new{border:1px solid #3a3230;border-radius:12px;padding:14px 10px 4px;text-align:center;background:#141110;color:#f3f2ea}
.who-p::before,.who-new::before{content:"";display:block;width:34px;height:34px;margin:0 auto 6px;border-radius:50%;background:linear-gradient(135deg,#c9bdf6,#a3e7f4)}
.who-p:nth-child(2n)::before{background:linear-gradient(135deg,#ffaeb4,#f6f08a)}
.who-name{display:block;width:100%;min-height:44px;padding:4px;background:none;border:0;color:#f3f2ea;font:800 17px/1.15 "Archivo",system-ui,sans-serif;font-stretch:110%;overflow-wrap:anywhere}
.who-new{min-height:44px;padding-bottom:14px;font:800 17px/1.15 "Archivo",system-ui,sans-serif;font-stretch:110%;border-style:dashed;border-color:#55554f}
.who-new::before{background:none;border:2px dashed #55554f}
.who-p .who-done{margin:6px 0 10px}
.who-toast{position:fixed;left:50%;bottom:24px;z-index:2147483000;max-width:calc(100% - 32px);margin:0;transform:translateX(-50%);padding:10px 16px;border-radius:999px;border:1px solid #3a3230;background:#0b0b0c;color:#f3f2ea;font:700 13px/1.4 "Courier New",ui-monospace,Menlo,monospace;text-align:center;pointer-events:none;opacity:0;transition:opacity .3s}
.who-toast:empty{padding:0;border:0}
.who-toast.on{opacity:1}
@media (prefers-reduced-motion:reduce){
  .who-hi em{text-shadow:none}
  .who-btn.go{box-shadow:none}
  .who-toast{transition:none}
}
