:where(.og-poople) :where(*:not(svg, svg *)) { all: revert; }
/* Poople: playful, family-friendly. Cream paper, navy ink, sunshine yellow, toffee goal. No web fonts. */
.og-poople {
  --bg: #fff3d4;
  --bg2: #ffe9b0;
  --card: #ffffff;
  --ink: #1d2947;
  --muted: #55607e;
  --line: #e6d3a1;
  --sun: #ffc83d;
  --sun-d: #e3a60f;
  --coral: #e5493a;
  --teal: #0f8f7a;
  --sky: #2f86f0;
  --toffee: #7d4a2a;
  --toffee-d: #5a3219;
  --wood: #d9a066;
  --good: #1f9d55;
  --side: #e8a90c;
  --bad: #e5493a;
  --t: clamp(42px, 12.4vw, 54px);
  --r: 14px;
  font-family: ui-rounded, "SF Pro Rounded", "Nunito", "Trebuchet MS", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  color-scheme: light;
}
.og-poople * {
  box-sizing: border-box;
}
.og-poople {
  -webkit-text-size-adjust: 100%;
}
.og-poople [hidden] {
  display: none !important;
}
.og-poople {
  margin: 0;
  padding-bottom: 18px;
  background: radial-gradient(circle at 12% -10%, #fff9e6 0, transparent 45%), radial-gradient(circle at 100% 0, var(--bg2) 0, transparent 40%), var(--bg);
  line-height: 1.55;
  font-size: 17px;
}
.og-poople a {
  color: #0b57c5;
  text-underline-offset: 3px;
}
.og-poople a:hover {
  color: #08408f;
}
.og-poople :focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 2px;
  border-radius: 6px;
}
.og-poople button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  touch-action: manipulation;
}
.og-poople h1,
.og-poople h2,
.og-poople h3 {
  line-height: 1.15;
  margin: 0;
}
.og-poople .skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--ink);
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 50;
}
.og-poople .skip:focus {
  left: 8px;
}

/* ---------- header / footer ---------- */
.og-poople .top {
  max-width: 880px;
  margin: 0 auto;
  padding: 10px 14px 6px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.og-poople .brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 900;
  font-size: 26px;
  letter-spacing: -0.5px;
}
.og-poople .brand svg {
  width: 34px;
  height: 34px;
  flex: none;
}
.og-poople .brand:hover {
  color: var(--ink);
}
.og-poople .nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
  flex-wrap: wrap;
  align-items: center;
}
.og-poople .nav a,
.og-poople .icon-btn {
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 15px;
  padding: 7px 11px;
  border-radius: 999px;
}
.og-poople .nav a:hover {
  background: rgba(29, 41, 71, 0.08);
}
.og-poople .nav a[aria-current="page"] {
  background: var(--ink);
  color: #fff;
}
.og-poople .icon-btn {
  border: 2px solid var(--ink);
  background: var(--card);
  width: 40px;
  height: 40px;
  padding: 0;
  display: inline-grid;
  place-items: center;
  box-shadow: 0 2px 0 var(--ink);
}
.og-poople .icon-btn:active {
  transform: translateY(2px);
  box-shadow: none;
}
.og-poople .icon-btn svg {
  width: 20px;
  height: 20px;
}
.og-poople .foot {
  max-width: 880px;
  margin: 40px auto 0;
  padding: 22px 16px 36px;
  border-top: 2px dashed var(--line);
  color: var(--muted);
  font-size: 15px;
  text-align: center;
}
.og-poople .foot p {
  margin: 6px 0;
}
.og-poople .foot a {
  color: var(--muted);
}

/* ---------- game ---------- */
.og-poople .stage {
  max-width: 560px;
  margin: 0 auto;
  padding: 0 14px;
}
.og-poople .page-h1 {
  font-size: clamp(19px, 5.2vw, 27px);
  font-weight: 900;
  letter-spacing: -0.4px;
  text-align: center;
  margin: 4px 0 2px;
}
.og-poople .tagline {
  margin: 0 0 6px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}
.og-poople .game {
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: 22px;
  box-shadow: 0 5px 0 var(--ink);
  padding: 12px 12px 14px;
}
.og-poople .game-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  min-height: 34px;
}
.og-poople .dayline {
  font-weight: 800;
  font-size: 15px;
}
.og-poople .chips {
  display: flex;
  gap: 6px;
}
.og-poople .chip {
  background: var(--bg);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}
.og-poople .chip b {
  font-weight: 900;
  margin-left: 2px;
}
.og-poople .note {
  margin: 8px 0 0;
  padding: 6px 10px;
  background: #e9f3ff;
  border-radius: 10px;
  font-size: 14px;
}
.og-poople .levels {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 0 0 8px;
}
.og-poople .levels button {
  flex: 1 1 auto;
  border: 2px solid var(--ink);
  background: var(--card);
  border-radius: 999px;
  padding: 5px 10px;
  font-weight: 800;
  font-size: 14px;
}
.og-poople .levels button.on {
  background: var(--ink);
  color: #fff;
}

.og-poople .ladder-wrap {
  margin-top: 8px;
}
.og-poople .ladder {
  list-style: none;
  margin: 0;
  padding: 6px 4px;
  height: clamp(150px, 29dvh, 320px);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: repeating-linear-gradient(0deg, transparent 0 11px, rgba(125, 74, 42, 0.05) 11px 12px), #fffaf0;
  border-radius: 14px;
  border: 2px solid var(--line);
  scroll-behavior: smooth;
}
.og-poople .rung {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 4px 0;
}
.og-poople .rung-label {
  width: 46px;
  text-align: right;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.8px;
  color: var(--muted);
}
.og-poople .word {
  position: relative;
  display: flex;
  gap: 5px;
}
.og-poople .word::before,
.og-poople .word::after {
  content: "";
  position: absolute;
  top: -5px;
  bottom: -5px;
  width: 6px;
  border-radius: 3px;
  background: var(--wood);
  opacity: 0.55;
}
.og-poople .word::before {
  left: -11px;
}
.og-poople .word::after {
  right: -11px;
}
.og-poople .tile {
  appearance: none;
  width: var(--t);
  height: var(--t);
  display: inline-grid;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 3px 0 var(--ink);
  font-weight: 900;
  font-size: calc(var(--t) * 0.56);
  text-transform: uppercase;
  line-height: 1;
  padding: 0;
  color: var(--ink);
  position: relative;
}
.og-poople .tile.hit::after {
  content: "";
  position: absolute;
  left: 22%;
  right: 22%;
  bottom: 5px;
  height: 4px;
  border-radius: 2px;
  background: var(--good);
}
.og-poople .start .tile {
  background: #d9f4ea;
}
.og-poople .tile.chg {
  background: var(--sun);
}
.og-poople .tile.k-good {
  background: #b9efcf;
}
.og-poople .tile.k-side {
  background: #ffe28a;
}
.og-poople .tile.k-bad {
  background: #ffb8ae;
}
.og-poople .tile.k-hinted {
  background: #cfe3ff;
}
.og-poople .rung.hinted .rung-label::after {
  content: " 💡";
}
.og-poople .active .tile {
  cursor: pointer;
}
.og-poople .active.idle .tile.ghost {
  background: #fff;
  color: #8b93aa;
  border-style: dashed;
  box-shadow: none;
}
.og-poople .active.free .tile.empty {
  border-style: dashed;
  box-shadow: none;
  background: #fff;
}
.og-poople .active .tile.sel {
  outline: 4px solid var(--sky);
  outline-offset: 1px;
  transform: translateY(-2px);
}
.og-poople .active .rung-label {
  color: var(--ink);
}
.og-poople .rung:not(.start):last-child {
  animation: rise 0.18s ease-out;
}
@keyframes rise {
  from {
    transform: translateY(8px);
    opacity: 0.3;
  }
}
.og-poople .shake {
  animation: shake 0.36s;
}
@keyframes shake {
  20% {
    transform: translateX(-7px);
  }
  40% {
    transform: translateX(7px);
  }
  60% {
    transform: translateX(-5px);
  }
  80% {
    transform: translateX(4px);
  }
}
.og-poople .goal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 8px 0 2px;
}
.og-poople .goal .tile {
  background: var(--toffee);
  border-color: var(--toffee-d);
  box-shadow: 0 3px 0 var(--toffee-d);
  color: #fff3d4;
}
.og-poople .ladder-demo .goalrow .tile {
  background: var(--toffee);
  border-color: var(--toffee-d);
  box-shadow: 0 3px 0 var(--toffee-d);
  color: #fff3d4;
}
.og-poople .goal .word::before,
.og-poople .goal .word::after {
  display: none;
}
.og-poople .goal .rung-label {
  color: var(--toffee);
}
.og-poople .msg {
  min-height: 40px;
  margin: 4px 0 2px;
  padding: 0 4px;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.og-poople .msg.bad {
  color: var(--coral);
}
.og-poople .msg.warn {
  color: #9a5b00;
}
.og-poople .msg.info {
  color: var(--muted);
}
.og-poople .msg.hint {
  color: #0b57c5;
}
.og-poople .controls {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 8px;
}
.og-poople .btn,
.og-poople .controls button,
.og-poople a.btn {
  border: 2px solid var(--ink);
  background: var(--card);
  color: var(--ink);
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 800;
  font-size: 15px;
  box-shadow: 0 3px 0 var(--ink);
  text-decoration: none;
  display: inline-block;
  min-height: 42px;
}
.og-poople .btn:active,
.og-poople .controls button:active {
  transform: translateY(3px);
  box-shadow: none;
}
.og-poople .btn:hover,
.og-poople a.btn:hover {
  color: var(--ink);
  background: #fff7e0;
}
.og-poople .btn.primary,
.og-poople a.btn.primary {
  background: var(--ink);
  color: #fff;
}
.og-poople .btn.primary:hover,
.og-poople a.btn.primary:hover {
  background: #2b3b66;
  color: #fff;
}
.og-poople .btn.sun {
  background: var(--sun);
}
.og-poople .controls button:disabled {
  opacity: 0.45;
  cursor: default;
}
.og-poople .controls #giveup.confirm {
  background: #ffe0dc;
  border-color: var(--coral);
  box-shadow: 0 3px 0 var(--coral);
}
.og-poople .kbd {
  display: grid;
  gap: 6px;
  max-width: 500px;
  margin: 0 auto;
}
.og-poople .kbd-row {
  display: flex;
  gap: 5px;
  justify-content: center;
}
.og-poople .key {
  flex: 1 1 0;
  min-width: 0;
  height: 46px;
  border: 2px solid var(--ink);
  background: #fff;
  border-radius: 10px;
  font-weight: 800;
  font-size: 18px;
  text-transform: uppercase;
  box-shadow: 0 3px 0 var(--ink);
  padding: 0;
  user-select: none;
}
.og-poople .key:active {
  transform: translateY(3px);
  box-shadow: none;
  background: var(--sun);
}
.og-poople .key.enter {
  flex: 1.9 1 0;
  font-size: 13px;
  background: var(--sun);
}
.og-poople .key.back {
  flex: 1.5 1 0;
  background: #ffe0dc;
}

/* ---------- result ---------- */
.og-poople .result {
  text-align: center;
  padding-top: 6px;
}
.og-poople .res-emoji {
  font-size: 40px;
  line-height: 1;
}
.og-poople .result h2 {
  font-size: 28px;
  font-weight: 900;
  margin: 4px 0;
}
.og-poople .res-sub {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 16px;
}
.og-poople .res-grid {
  display: inline-block;
  margin: 6px auto 10px;
  padding: 8px 14px;
  background: var(--bg);
  border: 2px solid var(--line);
  border-radius: 12px;
  line-height: 1.25;
  font-size: 22px;
  letter-spacing: 1px;
  white-space: pre;
  font-family: inherit;
}
.og-poople .res-actions {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 4px 0 12px;
}
.og-poople .next-in {
  margin: 8px 0;
  font-weight: 800;
}
.og-poople .next-in b {
  font-variant-numeric: tabular-nums;
  font-size: 22px;
  display: block;
  letter-spacing: 1px;
}
.og-poople .res-routes {
  text-align: left;
  margin-top: 12px;
}
.og-poople .res-routes h3,
.og-poople .dist h3 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--muted);
  margin: 10px 0 4px;
}
.og-poople .chain {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 3px;
  align-items: center;
}
.og-poople .chip-word {
  background: var(--bg);
  border: 2px solid var(--line);
  border-radius: 8px;
  padding: 0 7px;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.5px;
}
.og-poople .chip-word.goal {
  background: var(--toffee);
  color: #fff3d4;
  border-color: var(--toffee-d);
}
.og-poople .chip-word.hl {
  background: #cfe3ff;
  border-color: #8fb8f2;
}
.og-poople .arrow {
  color: var(--muted);
  font-size: 13px;
}
.og-poople .fine {
  font-size: 14px;
  color: var(--muted);
  margin: 6px 0;
}
.og-poople .stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin: 10px 0 6px;
}
.og-poople .stat {
  background: var(--bg);
  border-radius: 12px;
  padding: 6px 2px;
}
.og-poople .stat b {
  display: block;
  font-size: 24px;
  line-height: 1.1;
  font-weight: 900;
}
.og-poople .stat span {
  font-size: 12px;
  color: var(--muted);
  font-weight: 700;
}
.og-poople .dist {
  text-align: left;
}
.og-poople .dist-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 3px 0;
}
.og-poople .dist-label {
  width: 78px;
  font-size: 13px;
  font-weight: 700;
  text-align: right;
}
.og-poople .dist-bar {
  flex: 1;
}
.og-poople .dist-fill {
  display: block;
  background: #cfd5e6;
  border-radius: 6px;
  padding: 0 8px;
  font-size: 13px;
  font-weight: 800;
  text-align: right;
  min-width: 26px;
}
.og-poople .dist-fill.has {
  background: var(--teal);
  color: #fff;
}

/* ---------- dialogs ---------- */
.og-poople dialog {
  border: 2px solid var(--ink);
  border-radius: 20px;
  padding: 0;
  max-width: min(94vw, 500px);
  width: 100%;
  background: var(--card);
  color: var(--ink);
  box-shadow: 0 6px 0 var(--ink);
}
.og-poople dialog::backdrop {
  background: rgba(29, 41, 71, 0.55);
}
.og-poople .dlg {
  padding: 18px 18px 16px;
  max-height: 86dvh;
  overflow: auto;
}
.og-poople .dlg h2 {
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 6px;
}
.og-poople .dlg ol,
.og-poople .dlg ul {
  padding-left: 22px;
  margin: 8px 0;
}
.og-poople .dlg li {
  margin: 5px 0;
}
.og-poople .dlg .btn {
  margin-top: 8px;
}
.og-poople .demo {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  margin: 6px 0;
}

/* ---------- text pages ---------- */
.og-poople .doc-main,
.og-poople .below {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 16px;
}
.og-poople .below {
  margin-top: 34px;
}
.og-poople .doc-main {
  margin-top: 14px;
}
.og-poople .text h1 {
  font-size: clamp(28px, 7vw, 38px);
  font-weight: 900;
  letter-spacing: -0.6px;
  margin-bottom: 8px;
}
.og-poople .text h2 {
  font-size: clamp(22px, 5.5vw, 28px);
  font-weight: 900;
  margin: 30px 0 8px;
  letter-spacing: -0.3px;
}
.og-poople .text h3 {
  font-size: 18px;
  font-weight: 800;
  margin: 18px 0 4px;
}
.og-poople .text p,
.og-poople .text li {
  max-width: 68ch;
}
.og-poople .text .lede {
  font-size: 19px;
  color: var(--muted);
}
.og-poople .text ul,
.og-poople .text ol {
  padding-left: 22px;
}
.og-poople .text li {
  margin: 6px 0;
}
.og-poople .text code,
.og-poople .mono {
  background: var(--bg2);
  border-radius: 6px;
  padding: 1px 6px;
  font-weight: 700;
  font-size: 0.92em;
}
.og-poople .panel {
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: 18px;
  box-shadow: 0 4px 0 var(--ink);
  padding: 4px 18px 14px;
  margin: 18px 0;
}
.og-poople .ladder-demo {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 10px 0;
}
.og-poople .ladder-demo .rung {
  justify-content: flex-start;
}
.og-poople .cta-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 14px 0;
}
.og-poople .faq h3 {
  margin-top: 16px;
}
.og-poople .arch-grid {
  list-style: none;
  padding: 0;
  margin: 14px 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px;
}
.og-poople .arch-grid a {
  display: block;
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: 14px;
  padding: 8px 10px;
  text-decoration: none;
  color: var(--ink);
  box-shadow: 0 3px 0 var(--ink);
  font-weight: 800;
}
.og-poople .arch-grid a:hover {
  background: #fff7e0;
}
.og-poople .arch-grid small {
  display: block;
  font-weight: 600;
  color: var(--muted);
}
.og-poople .arch-grid .par {
  float: right;
  font-weight: 800;
  color: var(--toffee);
}
.og-poople .pager {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin: 18px 0;
}
.og-poople .fb-row {
  display: grid;
  gap: 12px;
}
.og-poople .fb-field {
  margin: 10px 0;
}
.og-poople .fb-field label {
  display: block;
  font-weight: 800;
  margin-bottom: 4px;
}
.og-poople .fb-field input,
.og-poople .fb-field textarea {
  width: 100%;
  font: inherit;
  padding: 10px 12px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
}
.og-poople .fb-field textarea {
  min-height: 140px;
}
.og-poople .fb-hint {
  font-weight: 500;
  color: var(--muted);
}
.og-poople [data-feedback-form] button[type="submit"] {
  border: 2px solid var(--ink);
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  padding: 10px 24px;
  font-weight: 800;
  box-shadow: 0 3px 0 #000;
}

@media (min-width: 640px) {
  .og-poople .fb-row {
    grid-template-columns: 1fr 1fr;
  }
  .og-poople .brand {
    font-size: 30px;
  }
}
@media (max-width: 420px) {
  .og-poople {
    font-size: 16px;
  }
  .og-poople .top {
    padding-top: 8px;
  }
  .og-poople .brand {
    font-size: 24px;
  }
  .og-poople .nav a {
    padding: 6px 8px;
    font-size: 14px;
  }
  .og-poople .game {
    padding: 10px 8px 12px;
  }
  .og-poople .rung {
    gap: 10px;
  }
  .og-poople .rung-label {
    width: 40px;
    font-size: 10px;
  }
  .og-poople .key {
    height: 44px;
    font-size: 17px;
  }
  .og-poople .stat b {
    font-size: 20px;
  }
}
@media (max-height: 640px) {
  .og-poople .ladder {
    height: clamp(150px, 30dvh, 220px);
  }
  .og-poople .key {
    height: 40px;
  }
  .og-poople .msg {
    min-height: 36px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .og-poople *,
.og-poople *::before,
.og-poople *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
