/* The "limits first" toy on the landing page. Colours come from the page; two are added here. */
.limits{--pink:#ff00aa;--yel:#ffd84a;margin-top:1.2rem}
.lim-hint{margin:0 0 .55rem;color:var(--dim);font-size:.98rem}
.lim-scene{position:relative;border:2px solid var(--rule);border-radius:14px;overflow:hidden;background:#2a1470}
.lim-scene svg{display:block;width:100%;height:auto;user-select:none;-webkit-user-select:none;-webkit-tap-highlight-color:transparent}
.lim-t{font-family:"Plex Sans",system-ui,sans-serif}
/* a dark edge keeps the labels readable over the coloured discs and the hatching */
.lim-art text{paint-order:stroke;stroke:#0d021b;stroke-width:2.2px;stroke-opacity:.4;stroke-linejoin:round}
.lim-hit{fill:#fff;fill-opacity:0;stroke:none;cursor:pointer;outline:none}
.lim-hit[data-drag]{cursor:grab;touch-action:none}
.lim-dragging .lim-hit[data-drag]{cursor:grabbing}
.lim-hit:focus-visible{stroke:var(--paper);stroke-width:2;stroke-dasharray:4 3}
.lim-lang{position:absolute;left:.5rem;top:.5rem;padding:.3rem .55rem;border:1.5px solid var(--mint);border-radius:999px;background:var(--ink);color:var(--mint);font:400 .7rem/1 "Plex Mono",ui-monospace,monospace;letter-spacing:.06em;cursor:pointer}
.lim-lang:hover,.lim-lang:focus-visible{background:var(--mint);color:var(--ink);outline:none}
.lim-legend{display:flex;flex-wrap:wrap;gap:.2rem .9rem;margin:.55rem 0 0;font-size:.8rem;color:var(--dim)}
.lim-legend span{display:inline-flex;align-items:center;gap:.35rem}
.lim-legend i{width:.62rem;height:.62rem;border-radius:50%}
.lim-who{display:grid;grid-template-columns:repeat(6,1fr);gap:.15rem;margin-top:1.1rem;text-align:center}
.lim-p svg{display:block;width:100%;max-width:3.3rem;margin:0 auto}
.lim-p b{display:block;margin-top:.2rem;font-weight:400;font-size:.8rem;line-height:1.2}
.lim-p span{display:inline-block;margin-top:.25rem;padding:.2rem .32rem;border-radius:.5rem;font:400 .58rem/1 "Plex Mono",ui-monospace,monospace;letter-spacing:.02em;white-space:nowrap}
.lim-p.ok span{border:1px solid var(--mint);color:var(--mint)}
.lim-p.meh span{border:1px solid var(--yel);color:var(--yel)}
.lim-p.no b,.lim-p.x b{color:var(--dim);text-decoration:line-through}
.lim-p.no span{background:var(--pink);color:var(--paper)}
.lim-p.x span{background:var(--rule);color:#c9c3e0}
.lim-say{margin:1.1rem 0 0;min-height:2.5em;font-weight:300;font-size:clamp(1.3rem,6vw,1.75rem);line-height:1.2;text-align:center}
.lim-foot{margin:.8rem 0 0;font-size:.74rem;line-height:1.4;color:var(--dim);text-align:center}
@media (prefers-reduced-motion:no-preference){.lim-p svg{transition:transform .18s}.lim-p.ok svg{transform:translateY(-2px)}}
/* a wide screen: the scene on the left, the verdict next to it, wider than the column of text */
@media (min-width:64rem){
  .limits{position:relative;left:50%;width:min(94vw,68rem);margin-left:calc(min(94vw,68rem) / -2);display:grid;grid-template-columns:1.3fr 1fr;column-gap:2.4rem;align-items:center}
  .lim-hint{grid-column:1 / -1}
  .lim-say{font-size:2.1rem;text-align:left}.lim-foot{text-align:left}
}
