.guide-entry{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem}
.guide-entry button{pointer-events:auto;min-height:44px;padding:.3em .7em;font-size:1rem}
.controller-shell .guide-entry{justify-content:space-between}
#howToPlay{width:min(38rem,94vw);max-height:min(88vh,46rem);max-height:min(88dvh,46rem);
  padding:0;border:2px solid #cb9b61;border-radius:5px;background:#2b202e;color:#fff3db;
  box-shadow:5px 6px #18111c;overflow:hidden;font:normal clamp(1rem,1.25vw,1.35rem)/1.45 Arial,sans-serif}
#howToPlay[open]{display:flex;flex-direction:column}
#howToPlay::backdrop{background:#160f1ada}
#howToPlay .guide-bar{display:flex;align-items:center;justify-content:space-between;gap:1rem;
  padding:.65em 1.1em;background:#392b39;border-bottom:1px solid #806473}
#howToPlay h2{margin:0;color:#ffdc9e;font:bold 1.7em/1.1 Georgia,serif}
#howToPlay .guide-bar button{min-height:44px;padding:.35em .85em;color:#261b23;background:#f5c77c;
  border:1px solid #ffdb9b;border-radius:3px;font-weight:bold;cursor:pointer}
#howToPlay .guide-body{overflow:auto;overscroll-behavior:contain;min-height:0;padding:.8em 1.1em 1em}
#howToPlay .guide-goal{color:#b3f1db;font-weight:bold;margin:0}
#howToPlay .guide-turn{margin:.6em 0 .85em;padding-left:1.5em}
#howToPlay li{margin:.35em 0;padding-left:.15em}
#howToPlay details{border-top:1px solid #715c69}
#howToPlay summary{padding:.65em 0;min-height:44px;color:#ffdc9e;cursor:pointer;font-weight:bold}
#howToPlay p{margin:.45em 0 .75em}
#howToPlay dl{margin:.4em 0 .65em}
#howToPlay .pose-values{display:grid;grid-template-columns:1fr auto;max-width:20em}
#howToPlay .pose-values :is(dt,dd){margin:0;padding:.12em .5em;border-bottom:1px solid #554451}
#howToPlay .pose-values dd{font-weight:bold;color:#b3f1db}
#howToPlay .guide-example{display:grid;grid-template-columns:1fr 1fr;gap:.5em;min-width:0;
  margin:.7em 0;padding:.6em .75em;border:1px solid #a28468}
#howToPlay legend{padding:0 .3em;font-weight:bold;color:#ffdc9e}
#howToPlay label{display:grid;gap:.15em;margin:0;padding:0;background:transparent;color:#fff3db;font-size:.95em}
#howToPlay select{width:100%;min-width:0;min-height:44px;margin:0;padding:.3em;color:#211723;background:#f2dfbd;
  border:1px solid #d9ab79;border-radius:3px;font:inherit}
#howToPlay output{grid-column:1/-1;color:#b3f1db;font-weight:bold}
#howToPlay output[data-scratch=true]{color:#ffb0a5}
#howToPlay .guide-items dt{font-weight:bold;color:#b3f1db}
#howToPlay .guide-items dd{margin:0 0 .65em}
#howToPlay .guide-ticket{display:flex;align-items:center;gap:1em;width:fit-content;max-width:100%;
  padding:.45em .9em .45em .45em;background:#f1ddaf;color:#281c26}
#howToPlay .guide-ticket svg{display:block;width:clamp(100px,14vw,180px);height:auto;background:white}
#howToPlay .guide-ticket strong{display:block;font-size:1.5em;letter-spacing:.1em}
#howToPlay :focus-visible{outline:3px solid #a3f0dc;outline-offset:2px}
#howToPlay [hidden]{display:none}
