/* The search pages (theme_landing.html, name_sheet.html): built on site.css and make.css tokens. No pill labels. */
.sp { display: grid; gap: var(--sp-4); }
.sp__kicker { margin: 0; font-weight: 800; font-size: var(--s-small); letter-spacing: 0.06em; text-transform: uppercase; }
.sp__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--sp-3); align-items: end; }
.sp__head svg { width: 92px; height: auto; }
.sp__head .head { text-wrap: balance; }
.sp__lead { font-size: var(--s-large); font-weight: 700; max-width: 52ch; margin: 0; }
.sp__answer { max-width: 62ch; margin: var(--sp-1) 0 0; line-height: 1.55; }
.sp__body { display: grid; gap: var(--sp-2); min-width: 0; }
.sp__body h2, .sp__wide h2, .sp-next h2 { font-size: var(--s-large); margin: 0; text-wrap: balance; }
.sp__wide { display: grid; gap: var(--sp-2); }
.sp__text { max-width: 65ch; margin: 0; line-height: 1.55; }
.sp__actions { display: flex; flex-wrap: wrap; gap: var(--sp-2); align-items: center; margin: 0; }
.sp__fine { font-size: var(--s-small); font-weight: 600; max-width: 65ch; margin: 0; }
.sp-free { display: grid; grid-template-columns: minmax(0, 16rem) minmax(0, 1fr); gap: var(--sp-3); align-items: center; background: var(--sheet); padding: var(--sp-3); }
.sp-free img { width: 100%; height: auto; background: #fff; border: 2px solid var(--ink); }
.sp-level { display: grid; gap: var(--sp-2); }
.sp-level h3 { margin: 0; font-size: var(--s-body); }
.sp-level h3 span { font-weight: 600; }
.sp-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--sp-2); }
.sp-grid li { display: grid; gap: 0.3rem; font-size: var(--s-small); font-weight: 700; min-width: 0; }
.sp-grid img { width: 100%; max-width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: contain; background: #fff; border: 2px solid var(--ink); }
.sp-next { background: var(--sheet); padding: var(--sp-3); display: grid; gap: var(--sp-2); max-width: 46rem; }
.sp-next p { margin: 0; line-height: 1.55; }
.sp-form { background: var(--sheet); padding: var(--sp-3); display: grid; gap: var(--sp-2); max-width: 46rem; }
.sp-form .field-input { max-width: 22rem; font-size: 1.4rem; }
.sp-form__error { margin: 0; font-weight: 800; color: var(--red, #b3261e); }
.sp-pics, .sp-paper { border: 0; margin: 0; padding: 0; min-width: 0; }
.sp-pics__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(6.5rem, 1fr)); gap: var(--sp-2); margin-top: var(--sp-1); }
.sp-pics__grid label { display: grid; gap: 0.25rem; font-size: var(--s-small); font-weight: 700; cursor: pointer; }
.sp-pics__grid input { position: absolute; opacity: 0; }
.sp-pics__grid img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: contain; background: #fff; border: 2px solid var(--ink); border-radius: 6px; }
.sp-pics__grid input:checked + img { outline: 4px solid var(--ink); outline-offset: 2px; }
.sp-pics__grid input:focus-visible + img { outline: 4px dashed var(--ink); outline-offset: 2px; }
.sp-paper { display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: center; }
.sp-paper legend { margin-bottom: 0.4rem; }
.sp-paper label { display: inline-flex; gap: 0.4rem; align-items: center; font-weight: 700; min-height: 44px; }
@media (max-width: 699px) {
  .sp__head { grid-template-columns: 1fr; }
  .sp__head svg { width: 64px; }
  .sp-free { grid-template-columns: 1fr; }
  .sp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Scribble Club band (28 Oct): text beside two real play clips; one column on a phone. */
.sp-club { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: var(--sp-3); align-items: center;
  padding: var(--sp-3); margin-block: var(--sp-3); border-radius: 16px; background: var(--paper) var(--paper-tex); }
.sp-club h2 { margin: 0 0 var(--sp-1); }
.sp-club__text p { max-width: 46ch; }
.sp-club__clips { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-2); min-width: 0; }
.sp-club .clip { margin: 0; min-width: 0; }
.sp-club .clip video { width: 100%; height: auto; display: block; }
.sp-club figcaption { font-weight: 800; font-size: var(--s-small); margin-top: 0.4rem; }
@media (max-width: 799px) { .sp-club { grid-template-columns: 1fr; padding: var(--sp-2); } }
@media (max-width: 499px) { .sp-club__clips { grid-template-columns: 1fr; } }
