/* The public playbook (simcore/src/books/playsite.ts), on the shared look (site/kit/web.css): plays on chalkboards,
   jobs on taped paper, Coach Larry's Crew beside each job. */
.pb-two { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 1.4rem; align-items: start; }
.pb-left { display: grid; gap: 1rem; position: sticky; top: 1rem; }
@media (max-width: 900px) { .pb-two { grid-template-columns: 1fr; } .pb-left { position: static; } }
.pb-jobs-head { margin: 0 0 0.4rem; }
.pb-jobs-head h2 { margin: 0; }
.fw-job .fw-face:empty { display: block; width: 3.4rem; height: 3.4rem; border-radius: 50%; background: oklch(0.86 0.03 88); grid-row: span 2; }
.fw-job .fw-face .fw-facewrap { width: 3.4rem; height: 3.4rem; }
.pb-nextprev { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2rem; padding-top: 1rem; border-top: 1px solid oklch(0.95 0.015 85 / 0.18); }
.pb-nextprev a { color: var(--fhk-chalk); font-weight: 700; text-decoration: none; padding: 0.5rem 0; }
.pb-nextprev a:hover { text-decoration: underline; }
.pb-filters-row { margin: 0 0 1.2rem; }
.pb-card { text-decoration: none; color: var(--fhk-chalk); }
.pb-card[hidden] { display: none; }
.pb-more { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin-top: 2.6rem; align-items: start; }
.pb-more p { margin: 0.2rem 0 0.8rem; }
@media (max-width: 860px) { .pb-more { grid-template-columns: 1fr; } }

/* the share bar: quiet buttons; the phone's own share sheet first when there is one */
.share { display: flex; flex-wrap: wrap; gap: 0.45rem; align-items: center; }
.share-label { width: 100%; font-size: 0.8125rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fhk-chalk-dim); }
.fhk-paper .share-label { color: var(--fhk-ink-dim); }
.share-btn {
  display: inline-flex; align-items: center; gap: 0.4rem; min-height: 2.6rem; padding: 0.45rem 1.25rem; border: 0; cursor: pointer;
  clip-path: polygon(0.6em 0, calc(100% - 0.6em) 0, 100% 50%, calc(100% - 0.6em) 100%, 0.6em 100%, 0 50%); text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.8125rem !important;
  font: 700 0.875rem var(--fhk-body); text-decoration: none; color: var(--fhk-chalk); background: oklch(0.3 0.018 250); box-shadow: inset 0 -0.2em 0 oklch(0.2 0.014 250);
  transition: background 0.2s, transform 0.2s;
}
.share-btn:hover { background: oklch(0.36 0.022 250); transform: translateY(-1px); }
.fhk-paper .share-btn { color: var(--fhk-ink); background: oklch(0.86 0.025 88); box-shadow: inset 0 -0.2em 0 oklch(0.74 0.03 85); }
.share-btn svg { width: 1.1rem; height: 1.1rem; }

/* the index on a phone: two plays a row, smaller frames, and a search (the review: 65 boards in one column was a wall) */
.pb-search { display: flex; align-items: center; gap: 0.5rem; padding: 0 0.8rem; min-height: 2.75rem; border-radius: 0.625rem; background: oklch(0.2 0.016 250); border: 1px solid oklch(0.36 0.022 250); color: var(--fhk-chalk-dim); }
.pb-search:focus-within { border-color: var(--fhk-chalk); }
.pb-search input { background: none; border: 0; outline: none; color: var(--fhk-chalk); font: 600 1rem var(--fhk-body); width: 13rem; max-width: 60vw; }
.pb-filters-row { position: sticky; top: 0; z-index: 5; padding: 0.4rem 0; background: linear-gradient(oklch(0.10 0.016 250 / 0.96), oklch(0.10 0.016 250 / 0.85)); }
@media (max-width: 560px) {
  .pb-grid { grid-template-columns: 1fr 1fr; gap: 0.6rem; }
  .pb-card.fhk-chalk { border-width: 0.6rem; padding: 0.35rem 0.4rem 0.5rem; }
  .pb-card .fhk-tape { font-size: 0.875rem; }
  .pb-card .fw-meta { font-size: 0.75rem; }
}

/* Tap a kid, see the job (page.js tapKids): a ring on the kid, a note pinned on the board, the row lit. */
.fw-board { position: relative; }
.fw-board .hits [data-slot] { cursor: pointer; }
.fw-board .hits [data-slot]:focus { outline: none; }
.fw-board .hits [data-slot]:hover, .fw-board .hits [data-slot]:focus-visible { fill: rgb(235 180 50 / 0.18); }
.pb-ring { fill: none; stroke: #ebb432; stroke-width: 0.16; pointer-events: none; }
.pb-tap { margin: 0.4rem 0 0; text-align: center; font-family: var(--fhk-handwriting); color: var(--fhk-chalk-dim); font-size: 0.9375rem; }
.pb-note { position: absolute; top: 1.4rem; right: 1.4rem; width: min(19rem, calc(100% - 2.8rem)); padding: 0.8rem 0.9rem 0.7rem; background: #f3eee3; color: var(--fhk-ink); border-radius: 0.2rem; box-shadow: 0 0.4rem 0 rgb(0 0 0 / 0.35); transform: rotate(0.6deg); z-index: 3; }
.pb-note.left { right: auto; left: 1.4rem; transform: rotate(-0.6deg); }
.pb-note::before { content: ''; position: absolute; top: -0.45rem; left: 50%; width: 4.5rem; height: 1rem; margin-left: -2.25rem; background: rgb(235 225 190 / 0.85); transform: rotate(-2deg); }
.pb-note-top { display: flex; align-items: center; gap: 0.6rem; }
.pb-note-top b { flex: 1; font-size: 1.05rem; }
.pb-note-top .fw-facewrap { width: 2.6rem; height: 2.6rem; flex: 0 0 auto; }
.pb-note-top .fw-facewrap img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.pb-note p { margin: 0.5rem 0 0.4rem; font-size: 0.9375rem; line-height: 1.45; }
.pb-note-x { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border: 0; border-radius: 50%; background: transparent; color: var(--fhk-ink); cursor: pointer; transition: background 0.2s; }
.pb-note-x:hover { background: rgb(26 32 39 / 0.08); }
.pb-note-more { min-height: 2.5rem; padding: 0; border: 0; background: none; color: var(--fhk-ink); font: 700 0.875rem var(--fhk-body); text-decoration: underline; text-decoration-color: var(--fhk-marker); text-underline-offset: 3px; cursor: pointer; }
.pb-who { cursor: pointer; text-decoration: underline dotted; text-underline-offset: 3px; }
.fw-job.lit { box-shadow: inset 0.3rem 0 0 #ebb432; background: rgb(235 180 50 / 0.12); }
@media (max-width: 600px) { .pb-note, .pb-note.left { position: static; width: auto; margin: 0.6rem 0.2rem 0.2rem; transform: none; } }
