/* A kind guide (/printables/{kind}) and a book's colouring set (/colouring/{book}): the Guides
   board's own parts (design/printables-2026-11/guides.html, PR #2009) on top of the World page's
   (printables-world.css). Tokens only (web/app/styles/design.css). */

/* the hero's three sheets, levels 1 to 3, fanned beside the words */
.pg-collage { position: relative; height: 440px; }
.pg-sheet { position: absolute; background: var(--artwell); border: 1px solid var(--artwell-line); border-radius: var(--radius-8); box-shadow: var(--shadow-book); overflow: hidden;
  display: flex; align-items: center; justify-content: center; width: 260px; height: 340px; }
.pg-sheet img { width: 78%; height: 78%; object-fit: contain; }
.pg-s0 { left: 40px; top: 40px; transform: rotate(-6deg); }
.pg-s1 { left: 130px; top: 20px; transform: rotate(2deg); }
.pg-s2 { left: 200px; top: 70px; width: 240px; height: 320px; transform: rotate(7deg); }
.pg-lv { position: absolute; left: 12px; top: 12px; font: 700 var(--text-12) var(--font-ui); color: var(--muted); }

/* "{Kind} by world": seven cards in a row; the last says how many more */
.pg-worlds { display: grid; grid-template-columns: repeat(7, 1fr); gap: 16px; margin-top: 24px; }
.pw-world .pic > span { font: 400 var(--text-44) var(--font-display); color: var(--ink); }

/* the book band in one column (the guides have no art beside it) */
.pg-band { grid-template-columns: 1fr; }

/* a book's colouring set: each sheet's place in the book and its words, the book's card, the cover over a page */
.pg-kind { font: 700 var(--text-12) var(--font-ui); color: var(--accent-dark); text-transform: uppercase; letter-spacing: .06em; }
.pg-words { font: italic 400 var(--text-16)/1.4 var(--font-display); color: var(--ink); margin: 6px 0 0;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.pg-page > a { display: block; color: var(--ink); text-decoration: none; }
.pg-page .tick { display: flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px 10px; font: 400 var(--text-13) var(--font-ui); color: var(--muted); cursor: pointer; }
.pg-page .tick input { width: 18px; height: 18px; accent-color: var(--ink); }
.pg-set .cg-bar { margin-top: 24px; }
.pg-books { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.pg-book { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-20); padding: 20px; display: grid; grid-template-columns: 120px 1fr; gap: 18px;
  text-decoration: none; color: var(--ink); }
.pg-book:hover { border-color: var(--line-strong); box-shadow: var(--shadow-rest); }
.pg-book > img { width: 120px; height: 160px; object-fit: contain; background: var(--bloom-mint); border-radius: var(--radius-8); box-shadow: var(--shadow-book); }
.pg-book .pg-pages { display: flex; gap: 6px; margin: 10px 0 14px; }
.pg-book .pg-pages img { width: 44px; height: 56px; border: 1px solid var(--artwell-line); background: var(--artwell); border-radius: var(--radius-8); object-fit: contain; }
.pg-book b { display: block; font: 400 var(--text-22) var(--font-display); margin: 4px 0; }
.pg-book small { display: block; font: 400 var(--text-13) var(--font-ui); color: var(--muted); }
.pg-art { position: relative; height: 440px; }
.pg-art .pg-sheet { left: 180px; top: 30px; width: 240px; height: 320px; transform: rotate(6deg); }
.pg-art .pg-cover { position: absolute; left: 40px; top: 50px; width: 280px; height: 340px; background: var(--bloom-mint); border-radius: var(--radius-8); transform: rotate(-4deg);
  box-shadow: var(--shadow-book); overflow: hidden; }
.pg-art .pg-cover img { position: absolute; inset: 20px; width: calc(100% - 40px); height: calc(100% - 40px); object-fit: contain; }

@media (max-width: 720px) {
  .pg-collage, .pg-art { height: 320px; max-width: 440px; width: 100%; margin: 0 auto; }
  .pg-sheet { width: 190px; height: 250px; }
  .pg-s0 { left: 4%; top: 30px; }
  .pg-s1 { left: 24%; top: 10px; }
  .pg-s2 { left: 42%; top: 50px; width: 180px; height: 240px; }
  .pg-art .pg-sheet { left: 40%; top: 20px; width: 180px; height: 240px; }
  .pg-art .pg-cover { left: 6%; top: 40px; width: 200px; height: 243px; }
  .pg-books { grid-template-columns: 1fr; }
  .pg-worlds { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .pw-world .pic { width: 84px; height: 84px; }
  .pw-world .pic > span { font-size: var(--text-30); }
  .pg-book { grid-template-columns: 88px 1fr; }
  .pg-book > img { width: 88px; height: 117px; }
}
