/* The sticker-book family's shared base: fonts, resets, focus, the memory list and copy buttons. Each variant adds
   its own palette, layout and motion on top. */
@font-face { font-family: "Baloo 2"; src: url("fonts/baloo2-var-latin.woff2") format("woff2"); font-weight: 500 800; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("fonts/figtree-var-latin.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font: 500 17.5px/1.55 "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; } button { font: inherit; color: inherit; }
img { max-width: 100%; }
.wrap { width: min(1220px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; padding: 8px 12px; border-radius: 8px; z-index: 50; background: #fff; color: #2a1d16; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid #ff7a33; outline-offset: 3px; border-radius: 10px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.symploc-mark { width: 20px; height: 12px; }
.memory-ui { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 6px; }
.fact { display: flex; align-items: center; gap: 10px; padding: 7px 7px 7px 12px; border-radius: 12px; background: rgba(127, 127, 127, .12); font-size: 14.5px; transition: opacity .3s, transform .3s; }
.fact-k { flex: none; font-size: 11.5px; font-weight: 800; opacity: .7; }
.fact-t { flex: 1; min-width: 0; }
.fact-x { flex: none; border: 0; background: none; font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; padding: 4px 8px; border-radius: 8px; opacity: .8; }
.fact-x:hover { background: rgba(127, 127, 127, .18); opacity: 1; }
.fact.is-new { box-shadow: 0 0 0 2px #ff8a3d inset; }
@media (prefers-reduced-motion: no-preference) { .fact.is-new { animation: fact-in .5s ease-out; } }
@keyframes fact-in { from { opacity: 0; transform: translateY(-6px); } }
.fact.is-gone { opacity: 0; transform: translateX(16px); }
.memory-ui[data-empty]::after { content: "Nothing here. It starts again from what you tell it."; font-size: 13.5px; opacity: .75; }
.undo { border: 0; background: none; font: inherit; font-weight: 800; cursor: pointer; padding: 0 0 0 6px; text-decoration: underline; text-underline-offset: 3px; color: inherit; }
.steps code { -webkit-mask: linear-gradient(90deg, #000 90%, transparent); mask: linear-gradient(90deg, #000 90%, transparent); }
.inl { max-width: none; }
