/* The dice toy, the replay's two endings and the transition's checklist. */
.dice .drops{width:100%;border-collapse:separate;border-spacing:0 .25rem;font-variant-numeric:tabular-nums}
.dice .drops th,.dice .drops td{text-align:left;padding:.3rem .5rem;font-weight:400}
.dice .drops thead th{font-size:.7rem;letter-spacing:.14em;text-transform:uppercase;color:var(--ash);font-weight:600;padding-bottom:0}
.dice .drops thead th.x{color:var(--torch)}
.dice .drops tbody th{color:var(--ash);white-space:nowrap;background:var(--ink);border-radius:2px 0 0 2px}
.dice .drops td{background:var(--ink);color:var(--bone)}
.dice .drops td:last-child{border-radius:0 2px 2px 0}
.dice .drops td.miss{color:var(--ash)}
.dice .drops td.dies{color:var(--torch);font-weight:600}
.dice .drops td.over{background:transparent}
.dice .drops td.differs{box-shadow:inset 3px 0 0 var(--ember)}
.dice .btns{display:flex;gap:.5rem;flex-wrap:wrap}
.dice button{font:inherit;font-size:.85rem;color:var(--bone);background:var(--stone-2);border:1px solid var(--stone-2);padding:.45em .9em;border-radius:3px;cursor:pointer}
.dice button.kill{background:var(--ember);border-color:var(--ember);color:#fff;font-weight:600}
.dice button:hover{border-color:var(--torch)}
.dice button:focus-visible{outline:2px solid var(--torch);outline-offset:2px}
.dice button:disabled{opacity:.45;cursor:default}
.ends{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem}
.ends .end{border:1px solid var(--stone-2);background:var(--stone);padding:.9rem 1rem;display:grid;gap:.35rem;font-family:var(--ui);font-size:.85rem}
.ends .end .who{font-size:.72rem;letter-spacing:.16em;text-transform:uppercase;color:var(--ash);font-weight:600}
.ends .end .where{font-family:var(--display);font-size:1.35rem;color:var(--bone)}
.ends .end .what{color:var(--ash)}
.ends .end.off{border-color:var(--ember)}
.ends .end.off .who{color:var(--torch)}
@media (max-width:560px){.ends{grid-template-columns:minmax(0,1fr)}.dice .drops th,.dice .drops td{padding:.3rem .35rem;font-size:.8rem}}
/* The H switch: the game's transition on the recording of both graphics. */
.hswitch canvas{display:block;width:100%;height:auto;aspect-ratio:4/3;background:var(--ink);cursor:pointer}
.hswitch video{position:absolute;width:2px;height:2px;opacity:0;pointer-events:none;left:0;top:0}
.hswitch .tag{transition:color .2s}
.hswitch .ctl{position:absolute;right:.6rem;top:.6rem;display:flex;gap:.45rem;align-items:stretch}
.hswitch .hkey{display:flex;align-items:center;gap:.55em;font:inherit;font-family:var(--ui);font-size:.8rem;letter-spacing:.12em;text-transform:uppercase;color:var(--bone);background:rgba(12,9,8,.78);border:1px solid var(--stone-2);border-radius:4px;padding:.4em .75em .4em .45em;cursor:pointer}
.hswitch .hkey kbd{font-family:var(--display);font-size:1.15rem;line-height:1;min-width:1.7em;padding:.22em .4em .28em;text-align:center;color:var(--bone);background:var(--stone-2);border:1px solid #5a4a40;border-bottom-width:3px;border-radius:4px;letter-spacing:0;text-transform:none}
.hswitch .hkey:hover{border-color:var(--torch)}
.hswitch .hkey:hover kbd{border-color:var(--torch)}
.hswitch .hkey:active kbd{border-bottom-width:1px;transform:translateY(2px)}
.hswitch .hkey:focus-visible{outline:2px solid var(--torch);outline-offset:2px}
@keyframes hkeypulse{0%,100%{box-shadow:0 0 0 0 rgba(232,140,60,0)}35%{box-shadow:0 0 0 4px rgba(232,140,60,.55)}70%{box-shadow:0 0 0 9px rgba(232,140,60,0)}}
.hswitch .hkey.pulse kbd{animation:hkeypulse 1.1s ease-out 2}
@media (max-width:560px){.hswitch .ctl{right:.4rem;top:.4rem;gap:.3rem}.hswitch .hkey{font-size:.66rem;padding:.3em}.hswitch .hkey kbd{font-size:1rem}.hswitch .hkey span{display:none}}
.hswitch .tag.bd{color:var(--torch)}
.checks{padding-left:1.1rem}
.checks li{margin:.5rem 0}
.checks li strong{color:var(--bone)}
/* A key named in the text, drawn as a key cap. */
/* Pictures of the game's captures: never larger than two device pixels a picture pixel. --w is the picture's width;
   these are the cap's values for common screens, before narrow.js makes it exact. */
:root{--k2:1}
@media (max-resolution:1dppx){:root{--k2:2}}
@media (min-resolution:2.01dppx){:root{--k2:.6667}}
.cap2{max-width:calc(var(--w,640) * var(--k2) * 1px);margin-inline:auto;width:100%}
figure.clip,figure.hsw{justify-items:center}
.noscript-poster{width:100%;height:auto;display:block}
/* The butterfly's two games stacked: each label over its own half. */
.frame.narrow .tag.r{left:.55rem;right:auto;top:calc(50% + .55rem)}
