/* Kids' zone size comparer (kids/how-big.html, site/js/how-big.js). Plain shapes, big buttons, no pictures added. */
.hb-modes { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 10px; }
.hb-figure { margin: 0 0 8px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(#eef3fb, #fffaf3 62%); overflow: hidden; }
.hb-stage { max-width: 760px; margin: 0 auto; padding-top: 8px; }
.hb-svg { display: block; width: 100%; height: auto; }
.hb-svg .hb-here { font: 600 15px Outfit, system-ui, sans-serif; fill: #c2410c; }
.hb-labels { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 6px 8px 0; text-align: center; }
.hb-label { display: flex; flex-direction: column; gap: 2px; }
.hb-name { font-weight: 600; font-size: 1.08rem; line-height: 1.25; }
.hb-size { font-size: .95rem; color: var(--mist); line-height: 1.3; }
.hb-figure figcaption { padding: 4px 18px 14px; }
.hb-say { font-size: 1.3rem; font-weight: 600; line-height: 1.4; margin: 6px 0 4px; }
.hb-picture { margin: 4px 0; font-size: 1.05rem; line-height: 1.5; }
.hb-more { margin: 8px 0 0; }
.hb-pickers h2 { font-size: 1.25rem; margin: 22px 0 10px; }
.hb-picks { display: grid; grid-template-columns: repeat(auto-fill, minmax(138px, 1fr)); gap: 10px; }
.hb-pick { display: flex; flex-direction: column; align-items: center; gap: 4px; min-height: 44px; padding: 10px 8px 12px; border-radius: 16px; border: 2px solid var(--line); background: #fff; color: var(--paper); font: inherit; text-align: center; cursor: pointer; }
.hb-pick:hover { border-color: var(--rock); }
.hb-pick:focus-visible { outline: 3px solid var(--rock); outline-offset: 2px; }
.hb-pick[aria-pressed="true"] { border-color: #c2410c; background: #fff1e6; box-shadow: inset 0 0 0 1px #c2410c; }
.hb-pick-name { font-weight: 600; font-size: 1.02rem; line-height: 1.25; }
.hb-pick-note { font-size: .88rem; line-height: 1.3; color: var(--mist); }
.hb-icon { display: block; width: 48px; height: 48px; }
.hb-things { grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); }
.hb-note { margin: 12px 0 0; font-size: .95rem; }
/* Without the script the buttons cannot work, so they are hidden and the list below gives every size. */
.hb:not(.hb-live) .hb-pickers, .hb:not(.hb-live) .hb-modes { display: none; }
.hb-list { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 10px; }
.hb-list li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); line-height: 1.55; }
.hb-list-icon { flex: none; }
@media (max-width: 600px) {
  .hb-picks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hb-things { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hb-pick-note { font-size: .82rem; }
  .hb-say { font-size: 1.15rem; }
}
/* A short "grow" as a new pair appears, only for people who have not asked for less motion. */
@media (prefers-reduced-motion: no-preference) {
  .hb-live .hb-item { transform-box: fill-box; transform-origin: 50% 100%; animation: hb-grow .35s ease-out; }
  .hb-pick { transition: border-color .15s, background-color .15s; }
}
@keyframes hb-grow { from { transform: scale(.7); opacity: .2; } to { transform: none; opacity: 1; } }
