/* =========================================================
 *  Printables (/printables/): the page, the sheets, printing.
 *  A sheet is drawn in container units (cqw): 100cqw is the
 *  sheet's width (portrait) or long side (landscape), so the
 *  same sheet is a card on screen and 190 x 257 mm on paper,
 *  which fits A4 and US Letter with 10 mm margins.
 * ========================================================= */

/* ---------- the page ---------- */
.pt-body { background: #FFF8F1 linear-gradient(180deg, #FFF4E6 0%, #F5F0FF 120vh) no-repeat; }
.pt { max-width: 1120px; margin: 0 auto; padding: 18px clamp(16px, 4vw, 32px) 64px; overflow-x: clip; }
.pt-body h1, .pt-body h2, .pt-body h3 { color: #3D3389; }

.pt-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(20px, 4vw, 48px); align-items: center; padding: 18px 0 8px; }
.pt-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 6px 14px 6px 10px; border-radius: 99px; background: #FFE3D3; color: #A4401F; font-weight: 800; font-size: .95rem; }
.pt-eyebrow svg, .pt-print-one svg, .pt-pack svg, .print-badge svg { width: 1.25em; height: 1.25em; flex: none; }
.pt-hero h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); margin: .3em 0 .25em; }
.pt-line { font-size: 1.12rem; color: #4F4A5E; margin: 0 0 14px; max-width: 34em; }
.pt-trust { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; margin: 0; padding: 0; }
.pt-trust li { font-weight: 800; font-size: .95rem; color: #2C7A4B; display: flex; align-items: center; gap: 6px; }
.pt-trust li::before { content: ''; width: 18px; height: 18px; border-radius: 50%; background: #2FA866 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.6 8.3 7 10.6l4.4-4.9' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }

/* three sheets fanned out like paper on a table */
.pt-fan { position: relative; height: clamp(250px, 34vw, 380px); }
.pt-fan-sheet { position: absolute; top: 4%; left: 50%; width: 46%; transform-origin: 50% 110%; filter: drop-shadow(0 10px 18px rgba(60, 40, 90, .18)); }
.pt-fan-sheet .ps-sheet { border-radius: 6px; }
.pt-fan-sheet:nth-child(1) { transform: translateX(-112%) rotate(-11deg); }
.pt-fan-sheet:nth-child(2) { transform: translateX(-50%) translateY(-4%) rotate(1deg); z-index: 2; width: 58%; }
.pt-fan-sheet:nth-child(2) .ps-sheet .ps-in { aspect-ratio: 257 / 190; }
.pt-fan-sheet:nth-child(3) { transform: translateX(12%) rotate(10deg); }

.pt-tools { position: sticky; top: 8px; z-index: 20; margin: 22px 0 10px; padding: 12px 14px; border-radius: 22px; background: rgba(255, 255, 255, .86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 6px 24px rgba(60, 40, 90, .08); display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; }
.pt-name { display: flex; align-items: center; gap: 10px; flex: 1 1 340px; font-weight: 800; color: #3D3389; }
.pt-name span { line-height: 1.2; }
.pt-name small { display: block; font-weight: 600; color: var(--color-text-muted); font-size: .8rem; }
.pt-name input, .pt-dlg input { flex: 1; min-width: 0; max-width: 220px; font: 700 1.1rem 'Nunito', sans-serif; padding: 9px 14px; border-radius: 14px; border: 2px solid #DCD3F5; background: #fff; color: #2D2D2D; }
.pt-name input:focus, .pt-dlg input:focus { outline: 3px solid var(--color-focus); outline-offset: 1px; border-color: transparent; }
.pt-jump { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; flex: 1 1 420px; }
.pt-jump::-webkit-scrollbar { display: none; }
.pt-body .pt-jump a { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 99px; background: #F2EEFF; color: #3D3389; text-decoration: none; font-weight: 800; font-size: .9rem; }
.pt-jump a:hover { background: #E6DEFF; }
.pt-jump img { width: 1.2em; height: 1.2em; }

.pt-set { scroll-margin-top: 110px; margin-top: 34px; }
.pt-set-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.pt-set-head > div { flex: 1 1 300px; }
.pt-set-head h2 { margin: 0 0 2px; font-size: clamp(1.4rem, 3vw, 1.8rem); }
.pt-set-head p { margin: 0; color: #5A5468; font-size: 1rem; }
.pt-body img.pt-set-ico { width: 52px; height: 52px; flex: none; }
.pt-set-calm .pt-set-head h2 { color: #18756C; }

.pt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); gap: 18px; }
.pt-card { position: relative; display: flex; flex-direction: column; gap: 8px; }
.pt-card-land { grid-column: span 2; }
.pt-open { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 10px; transition: transform .2s cubic-bezier(.34, 1.56, .64, 1); }
.pt-open .ps-sheet { border-radius: 8px; box-shadow: 0 1px 2px rgba(0, 0, 0, .08), 0 8px 22px rgba(60, 40, 90, .12); }
.pt-open:hover { transform: translateY(-4px) rotate(-.6deg); }
.pt-open:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 4px; }
.pt-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; padding-right: 86px; min-height: 2.6em; }
.pt-meta h3 { margin: 0; font-size: 1.02rem; color: #2D2D2D; }
.pt-age, .pt-more { font-size: .82rem; font-weight: 800; color: var(--color-text-muted); }
.pt-more { color: #6C5BB0; }
.pt-print-one, .pt-pack { display: inline-flex; align-items: center; gap: 6px; border: 0; cursor: pointer; font: 800 .9rem 'Nunito', sans-serif; border-radius: 99px; }
.pt-print-one { position: absolute; right: 0; bottom: 4px; padding: 7px 12px; background: #3D3389; color: #fff; }
.pt-print-one:hover { background: #2D2570; }
.pt-pack { padding: 10px 16px; background: #18756C; color: #fff; }
.pt-pack:hover { background: #105A53; }

.pt-how { margin: 48px 0 0; padding: 22px clamp(18px, 4vw, 30px); border-radius: 26px; background: #fff; box-shadow: 0 4px 20px rgba(60, 40, 90, .06); }
.pt-how h2 { margin: 0 0 10px; }
.pt-how ul { margin: 0 0 12px; padding-left: 1.2em; }
.pt-how li + li { margin-top: 6px; }
.pt-back { margin: 0; font-weight: 700; color: var(--color-text-muted); }

@media (max-width: 760px) {
  .pt-hero { grid-template-columns: 1fr; }
  .pt-fan { height: 62vw; max-height: 330px; order: -1; }
  .pt-tools { position: static; border-radius: 18px; }
  .pt-name { flex-direction: column; align-items: stretch; gap: 6px; }
  .pt-name input { max-width: none; }
  .pt-fan { margin: 0 6%; }
}
@media (max-width: 420px) {
  .pt-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .pt-meta { padding-right: 0; padding-bottom: 38px; }
  .pt-print-one { left: 0; right: auto; }
}

/* ---------- the sheet viewer ---------- */
.pt-dlg { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(32, 24, 60, .55); }
.pt-dlg[hidden] { display: none; }
.pt-dlg-box { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 22px; width: min(1000px, 100%); max-height: calc(100dvh - 32px); padding: 22px; border-radius: 26px; background: #FFFBF7; box-shadow: 0 20px 60px rgba(0, 0, 0, .3); overflow: auto; }
.pt-dlg-sheet { display: flex; align-items: center; justify-content: center; min-height: 0; }
.pt-dlg-sheet .ps-sheet { width: min(100%, calc((100dvh - 80px) * 190 / 257)); box-shadow: 0 6px 26px rgba(60, 40, 90, .18); border-radius: 6px; }
.pt-dlg-sheet .ps-land { width: 100%; }
.pt-dlg-side { display: flex; flex-direction: column; gap: 14px; }
.pt-dlg-side h2 { margin: 6px 40px 0 0; font-size: 1.5rem; }
.pt-dlg-side .pt-age { margin-top: -10px; }
.pt-dlg-close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #EFE9FF; color: #3D3389; font: 700 1.6rem/1 'Nunito', sans-serif; cursor: pointer; z-index: 2; }
.pt-opt b { display: block; font-size: .9rem; color: #3D3389; margin-bottom: 6px; }
.pt-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pt-chips button { border: 2px solid #DCD3F5; background: #fff; color: #3D3389; border-radius: 12px; padding: 6px 11px; min-width: 44px; min-height: 40px; font: 800 .95rem 'Nunito', sans-serif; cursor: pointer; }
.pt-chips button[aria-pressed="true"] { background: #3D3389; border-color: #3D3389; color: #fff; }
.pt-dlg label { display: flex; flex-direction: column; gap: 6px; font-weight: 800; color: #3D3389; font-size: .9rem; }
.pt-dlg label input { max-width: none; }
.pt-big { display: flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 18px; padding: 14px 18px; font: 800 1.1rem 'Nunito', sans-serif; cursor: pointer; background: var(--color-cta); color: #fff; box-shadow: 0 6px 16px rgba(196, 83, 46, .3); }
.pt-big:hover { background: var(--color-cta-hover); }
.pt-big svg { width: 1.4em; height: 1.4em; }
.pt-alt { border: 2px solid #DCD3F5; background: #fff; color: #3D3389; border-radius: 16px; padding: 11px 16px; font: 800 1rem 'Nunito', sans-serif; cursor: pointer; }
.pt-alt:hover { background: #F4F0FF; }
.pt-note { margin: 0; font-size: .88rem; color: var(--color-text-muted); }
.pt-note-ok { padding: 8px 12px; border-radius: 12px; background: #E6F6EC; color: #1F6B3E; font-weight: 800; font-size: .95rem; }
@media (max-width: 760px) {
  .pt-dlg { padding: 0; align-items: stretch; }
  .pt-dlg-box { grid-template-columns: 1fr; border-radius: 0; max-height: 100dvh; height: 100dvh; padding: 60px 16px 24px; gap: 16px; align-content: start; }
  .pt-dlg-sheet .ps-sheet { width: min(100%, 420px); }
  .pt-dlg-sheet { min-height: auto; }
  .pt-dlg-box { grid-auto-rows: max-content; }
}

/* ---------- a sheet ---------- */
.ps-sheet { background: #fff; color: #111; font-family: 'Nunito', system-ui, sans-serif; line-height: 1.2; -webkit-print-color-adjust: exact; print-color-adjust: exact; text-align: left; overflow: hidden; }
.ps-in { container-type: inline-size; position: relative; width: 100%; aspect-ratio: 190 / 257; overflow: hidden; }
.ps-sheet.ps-land .ps-in { aspect-ratio: 257 / 190; }
.ps-sheet img { display: block; max-width: none; }
.ps-sheet .ps-pad { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 4.5cqw 4.5cqw 3cqw; }
.ps-sheet.ps-land .ps-pad { padding: 2.6cqw 3.2cqw 1.8cqw; }
.ps-sheet .ps-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 3cqw; margin-bottom: 2.6cqw; }
.ps-sheet .ps-head-mini { justify-content: flex-end; }
.ps-sheet .ps-head .ps-title { flex: 1 1 0; min-width: 0; }
.ps-sheet .ps-head > :not(.ps-title) { flex: none; }
.ps-sheet .ps-title { margin: 0; font: 600 6.6cqw/1.05 'Fredoka', 'Nunito', sans-serif; color: #111; }
.ps-sheet.ps-land .ps-title { font-size: 4.2cqw; }
.ps-sheet .ps-name { display: flex; align-items: flex-end; gap: 1.5cqw; white-space: nowrap; font: 800 3cqw 'Nunito', sans-serif; color: #333; }
.ps-sheet .ps-name i { display: inline-block; width: 30cqw; height: 1em; border-bottom: .35cqw solid #333; }
.ps-sheet.ps-land .ps-name { font-size: 2.1cqw; }
.ps-sheet.ps-land .ps-name i { width: 22cqw; border-bottom-width: .25cqw; }
.ps-sheet .ps-name-set { font: 600 5.4cqw/1 'Fredoka', 'Nunito', sans-serif; color: #111; }
.ps-sheet.ps-land .ps-name-set { font-size: 3.6cqw; }
.ps-sheet .ps-foot { margin-top: auto; padding-top: 1.6cqw; display: flex; justify-content: space-between; align-items: center; gap: 2cqw; font: 700 1.9cqw 'Nunito', sans-serif; color: #77706A; }
.ps-sheet.ps-land .ps-foot { font-size: 1.35cqw; padding-top: 1.1cqw; }
.ps-sheet .ps-brand { display: flex; align-items: center; gap: .8cqw; white-space: nowrap; }
.ps-sheet .ps-logo { width: 2.8cqw; height: 2.8cqw; }
.ps-sheet.ps-land .ps-logo { width: 2cqw; height: 2cqw; }
.ps-sheet .ps-hollow { display: block; width: 100%; height: auto; overflow: visible; }

/* colouring scenes (landscape) */
.ps-sheet .ps-frame { position: relative; align-self: center; height: 58.5cqw; aspect-ratio: 3 / 2; border: .3cqw solid #111; border-radius: 1.6cqw; overflow: hidden; }
.ps-sheet .ps-scene { position: absolute; inset: 0; }
.ps-sheet .ps-scene .ps-bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ps-sheet .ps-scene .ps-thing { position: absolute; width: auto; }

/* our friends */
.ps-sheet .ps-friend-art { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; }
.ps-sheet .ps-friend-art img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }

/* big and simple */
.ps-sheet .ps-big { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; }
.ps-sheet .ps-big img { max-width: 88cqw; max-height: 92cqw; width: auto; height: auto; object-fit: contain; }
.ps-sheet .ps-word { width: 92cqw; align-self: center; }

/* calm corner posters */
.ps-sheet .ps-calm { background: #F2FAF6; }
.ps-sheet .ps-calm::before { content: ''; position: absolute; inset: 2cqw; border: .5cqw solid #CDE9DF; border-radius: 4cqw; pointer-events: none; }
.ps-sheet .ps-calm > * { position: relative; }
.ps-sheet .ps-poster-title { margin: 2cqw 0 1.5cqw; text-align: center; font: 600 7.2cqw/1.08 'Fredoka', 'Nunito', sans-serif; color: #18756C; text-wrap: balance; }
.ps-sheet .ps-poster-sub { margin: 0 0 3.4cqw; text-align: center; font: 800 3.3cqw/1.3 'Nunito', sans-serif; color: #3F5F59; }
.ps-sheet .ps-grid3 { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: minmax(0, 1fr); gap: 2.6cqw; }
.ps-sheet .ps-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1cqw; padding: 1.6cqw; border-radius: 3.4cqw; background: #fff; border: .4cqw solid #D3ECE3; text-align: center; }
.ps-sheet .ps-tile img { width: 18cqw; height: 18cqw; object-fit: contain; }
.ps-sheet .ps-grid-feel { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.2cqw 3cqw; }
.ps-sheet .ps-grid-feel .ps-tile { gap: .4cqw; padding: 1cqw 2cqw; }
.ps-sheet .ps-grid-feel .ps-tile img { width: 17cqw; height: 17cqw; }
.ps-sheet .ps-grid-feel .ps-tile b { font-size: 4.8cqw; }
.ps-sheet .ps-tile b { font: 600 3.8cqw/1.05 'Fredoka', 'Nunito', sans-serif; color: #24453F; overflow-wrap: anywhere; hyphens: auto; }
.ps-sheet .ps-calm-sign { align-items: center; text-align: center; background: #F2FAF6; }
.ps-sheet .ps-kicker { margin: 5cqw 0 -1cqw; font: 600 8cqw/1 'Fredoka', 'Nunito', sans-serif; color: #18756C; }
.ps-sheet .ps-calm-sign .ps-hollow { width: 96cqw; }
.ps-sheet .ps-sign-art { flex: 1; min-height: 0; display: flex; align-items: center; }
.ps-sheet .ps-sign-art img { width: 66cqw; height: 66cqw; object-fit: contain; }
.ps-sheet .ps-sign-line { margin: 0; font: 600 5.4cqw/1.25 'Fredoka', 'Nunito', sans-serif; color: #24453F; }
.ps-sheet .ps-sign-small { margin: 2.4cqw 0 1cqw; font: 800 3.6cqw 'Nunito', sans-serif; color: #18756C; }
.ps-sheet .ps-dots { position: absolute !important; inset: 5cqw; background: radial-gradient(circle, #F7C7A8 0 .9cqw, transparent 1cqw) 0 0 / 9cqw 9cqw; -webkit-mask: linear-gradient(#000 0 0) top / 100% 7cqw no-repeat, linear-gradient(#000 0 0) bottom / 100% 7cqw no-repeat; mask: linear-gradient(#000 0 0) top / 100% 7cqw no-repeat, linear-gradient(#000 0 0) bottom / 100% 7cqw no-repeat; opacity: .8; }
.ps-sheet .ps-steps { flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: minmax(0, 1fr); gap: 3cqw; margin-top: 2cqw; }
.ps-sheet .ps-step { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .8cqw; padding: 2cqw; border-radius: 4cqw; background: #fff; border: .4cqw solid #D3ECE3; text-align: center; }
.ps-sheet .ps-step img { width: 21cqw; height: 21cqw; object-fit: contain; }
.ps-sheet .ps-step b { font: 600 4.2cqw/1.05 'Fredoka', 'Nunito', sans-serif; color: #18756C; }
.ps-sheet .ps-step span { font: 700 2.8cqw/1.2 'Nunito', sans-serif; color: #3F5F59; }
.ps-sheet .ps-num { position: absolute !important; top: 2cqw; left: 2cqw; display: flex; align-items: center; justify-content: center; width: 8cqw; height: 8cqw; border-radius: 50%; background: #18756C; color: #fff !important; font: 600 5cqw/1 'Fredoka', sans-serif !important; }
.ps-sheet .ps-tip { margin: 2.6cqw 1cqw 0; padding: 2cqw 3cqw; text-align: left; border-radius: 3cqw; background: #FFF6E5; font: 700 2.7cqw/1.35 'Nunito', sans-serif; color: #6A4A1A; }
.ps-sheet .ps-breathe .ps-br-row { flex: 1; min-height: 0; display: flex; align-items: center; gap: 3cqw; margin-bottom: 2.6cqw; padding: 2.6cqw; border-radius: 4cqw; background: #fff; border: .4cqw solid #D3ECE3; }
.ps-sheet .ps-br-art { flex: none; width: 22cqw; }
.ps-sheet .ps-br-art img { width: 15cqw; height: 15cqw; object-fit: contain; margin: 0 auto; }
.ps-sheet .ps-br-label { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .6cqw; }
.ps-sheet .ps-br-label b { font: 600 4.2cqw/1.1 'Fredoka', sans-serif; color: #B07D0F; }
.ps-sheet .ps-br-label span { font: 700 2.5cqw/1.25 'Nunito', sans-serif; color: #77706A; }
.ps-sheet .ps-br-svg { flex: 1; min-width: 0; height: 100%; max-height: 100%; }
.ps-sheet .ps-br-star { height: 92%; }
.ps-sheet .ps-br-flower { justify-content: space-around; }
.ps-sheet .ps-br-pair { display: flex; flex-direction: column; align-items: center; text-align: center; }
.ps-sheet .ps-br-pair img { width: 20cqw; height: 20cqw; object-fit: contain; }
.ps-sheet .ps-br-pair b { font: 600 4cqw/1.1 'Fredoka', sans-serif; color: #24453F; }
.ps-sheet .ps-br-pair span { font: 800 3.2cqw 'Nunito', sans-serif; color: #18756C; }
.ps-sheet .ps-br-arrow { font: 700 9cqw/1 'Nunito', sans-serif; color: #9BC9BC; }
.ps-sheet .ps-senses { flex: 1; display: flex; flex-direction: column; gap: 2.6cqw; }
.ps-sheet .ps-sense { flex: 1; display: flex; align-items: center; gap: 3cqw; padding: 1.6cqw 3cqw; border-radius: 4cqw; background: #fff; border: .4cqw solid #D3ECE3; }
.ps-sheet .ps-sense img { width: 13cqw; height: 13cqw; object-fit: contain; flex: none; }
.ps-sheet .ps-sense b { flex: 1; font: 600 4.6cqw/1.1 'Fredoka', sans-serif; color: #24453F; }
.ps-sheet .ps-sense b span { display: inline-block; min-width: 1.2em; font-size: 1.4em; color: var(--sc); }
.ps-sheet .ps-sense-0 { --sc: #2E7DBA; } .ps-sense-1 { --sc: #D9A21B; } .ps-sense-2 { --sc: #C86A4A; } .ps-sense-3 { --sc: #9A5BC9; } .ps-sense-4 { --sc: #18756C; }
.ps-sheet .ps-boxes { display: flex; gap: 1.4cqw; }
.ps-sheet .ps-boxes i { width: 5.6cqw; height: 5.6cqw; border: .45cqw solid var(--sc); border-radius: 1.2cqw; }

/* mazes */
.ps-sheet .ps-maze-box { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 13cqw 0 11cqw; }
.ps-sheet .ps-maze-wrap { position: relative; height: 100%; max-width: 88cqw; }
.ps-sheet .ps-maze-svg { display: block; width: 100%; height: 100%; }
.ps-sheet .ps-maze-start { position: absolute; left: -3cqw; bottom: 100%; display: flex; align-items: flex-end; gap: 1cqw; }
.ps-sheet .ps-maze-start img { width: 14cqw; height: 14cqw; object-fit: contain; }
.ps-sheet .ps-maze-start span { font: 800 3cqw 'Nunito', sans-serif; color: #444; margin-bottom: 1cqw; }
.ps-sheet .ps-maze-end { position: absolute; right: -2cqw; top: 100%; }
.ps-sheet .ps-maze-end img { width: 11cqw; height: 11cqw; object-fit: contain; }

/* tracing, letters, numbers, counting */
.ps-sheet .ps-trace { display: block; width: 100%; height: auto; margin: .6cqw 0; }
.ps-sheet .ps-head-pic { width: 15cqw; height: 15cqw; object-fit: contain; margin-bottom: -1cqw; }
.ps-sheet .ps-letter-top, .ps-sheet .ps-number-top { display: flex; align-items: center; gap: 4cqw; margin-bottom: 2cqw; }
.ps-sheet .ps-letter-big { width: 54cqw; flex: none; }
.ps-sheet .ps-letter-pics { flex: 1; display: flex; flex-direction: column; gap: 1.6cqw; }
.ps-sheet .ps-letter-pics div { display: flex; align-items: center; gap: 2.4cqw; }
.ps-sheet .ps-letter-pics img { width: 11cqw; height: 11cqw; object-fit: contain; }
.ps-sheet .ps-letter-pics span { font: 700 5cqw/1 'Nunito', sans-serif; color: #444; }
.ps-sheet .ps-number-big { width: 34cqw; flex: none; text-align: center; }
.ps-sheet .ps-number-big p { margin: -1cqw 0 0; font: 600 6cqw 'Fredoka', sans-serif; color: #2E7DBA; }
.ps-sheet .ps-number-count { flex: 1; display: flex; flex-wrap: wrap; gap: 1.6cqw; justify-content: center; align-content: center; padding: 2cqw; border-radius: 4cqw; border: .4cqw dashed #B9D7EE; min-height: 30cqw; }
.ps-sheet .ps-number-count img { width: 10cqw; height: 10cqw; object-fit: contain; }
.ps-sheet .ps-do { margin: 1cqw 0 2cqw; font: 800 3.6cqw 'Nunito', sans-serif; color: #333; }
.ps-sheet .ps-circles { display: flex; justify-content: space-between; margin-bottom: 3cqw; }
.ps-sheet .ps-circles i { width: 7.6cqw; height: 7.6cqw; border-radius: 50%; border: .45cqw solid #333; }
.ps-sheet .ps-count-row { flex: 1; display: flex; align-items: center; gap: 3cqw; padding: 1.4cqw 0; border-bottom: .3cqw dashed #CFC9C3; }
.ps-sheet .ps-count-row:last-of-type { border-bottom: 0; }
.ps-sheet .ps-count-pics { flex: 1; display: flex; flex-wrap: wrap; gap: 1.2cqw; }
.ps-sheet .ps-count-pics img { width: 8.4cqw; height: 8.4cqw; object-fit: contain; }
.ps-sheet .ps-count-nums { display: flex; gap: 2cqw; }
.ps-sheet .ps-count-nums span { display: flex; align-items: center; justify-content: center; width: 8cqw; height: 8cqw; font: 600 5.4cqw/1 'Fredoka', sans-serif; color: #222; }

/* move cards and dice */
.ps-sheet .ps-cut { font: 800 2.6cqw/1.25 'Nunito', sans-serif; color: #555; text-align: right; max-width: 50cqw; }
.ps-sheet .ps-cards { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: minmax(0, 1fr); border-top: .3cqw dashed #999; border-left: .3cqw dashed #999; }
.ps-sheet .ps-mcard { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6cqw; padding: 1.4cqw; border-right: .3cqw dashed #999; border-bottom: .3cqw dashed #999; text-align: center; }
.ps-sheet .ps-mcard img { width: 16cqw; height: 16cqw; object-fit: contain; flex: none; }
.ps-sheet .ps-mcard b { font: 600 3.3cqw/1.05 'Fredoka', sans-serif; color: #5A3214; overflow-wrap: anywhere; }
.ps-sheet .ps-net-box { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; }
.ps-sheet .ps-net { position: relative; height: 100%; aspect-ratio: 336 / 418; }
.ps-sheet .ps-net svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ps-sheet .ps-face { position: absolute; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .4cqw; text-align: center; padding: 1cqw; }
.ps-sheet .ps-face img { width: 72%; height: 66%; object-fit: contain; }
.ps-sheet .ps-face b { font: 600 2.9cqw/1.05 'Fredoka', sans-serif; color: #5A3214; }

/* awards */
.ps-sheet .ps-award-in { flex: 1; min-height: 0; display: flex; align-items: center; gap: 2cqw; padding: 2.4cqw 4cqw; border: 1cqw solid var(--ac); border-radius: 3cqw; background: radial-gradient(circle, color-mix(in srgb, var(--ac) 22%, #fff) 0 .5cqw, transparent .55cqw) 0 0 / 4cqw 4cqw, #fff; box-shadow: inset 0 0 0 .8cqw #fff, inset 0 0 0 1.1cqw color-mix(in srgb, var(--ac) 45%, #fff); }
.ps-sheet .ps-award-art { width: 34cqw; flex: none; margin: 0 -2cqw 0 -3cqw; }
.ps-sheet .ps-award-art img { width: 34cqw; height: 34cqw; object-fit: contain; transform: scale(1.25); }
.ps-sheet .ps-award-words { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; background: #fff; border-radius: 3cqw; padding: 1.6cqw 2cqw; }
.ps-sheet .ps-award-kicker { margin: 0; font: 800 2.6cqw 'Nunito', sans-serif; color: #555; text-transform: uppercase; letter-spacing: .12em; }
.ps-sheet .ps-award-name { margin: 1cqw 0 0; min-height: 6cqw; width: 80%; font: 600 6cqw/1.1 'Fredoka', sans-serif; color: #111; border-bottom: .25cqw solid #333; }
.ps-sheet .ps-award-name i, .ps-sheet .ps-award-for i, .ps-sheet .ps-award-sign i { display: inline-block; }
.ps-sheet .ps-award-words .ps-hollow { width: 90%; margin: 1.4cqw 0 .6cqw; }
.ps-sheet .ps-award-for { margin: 0; width: 80%; display: flex; gap: 1.4cqw; align-items: flex-end; font: 800 2.6cqw 'Nunito', sans-serif; color: #555; }
.ps-sheet .ps-award-for i { flex: 1; height: 1em; border-bottom: .25cqw solid #333; }
.ps-sheet .ps-award-sign { margin: 3cqw 0 0; width: 80%; display: flex; gap: 4cqw; font: 800 2cqw 'Nunito', sans-serif; color: #555; }
.ps-sheet .ps-award-sign span { flex: 1; display: flex; gap: 1cqw; align-items: flex-end; }
.ps-sheet .ps-award-sign i { flex: 1; height: 1em; border-bottom: .2cqw solid #333; }

/* ---------- printing ---------- */
.pt-print-root { display: none; }
.pt-print-empty { display: none; }
@media print {
  @page { size: auto; margin: 10mm; }
  html, body.pt-body { background: #fff !important; }
  body.pt-body > :not(.pt-print-root) { display: none !important; }
  .pt-print-root { display: block !important; }
  .pt-print-root .ps-sheet { width: 190mm; height: 257mm; margin: 0 auto; break-after: page; page-break-after: always; break-inside: avoid; border-radius: 0; box-shadow: none; }
  .pt-print-root .ps-sheet:last-child { break-after: auto; page-break-after: auto; }
  .pt-print-root .ps-in { width: 190mm; height: 257mm; aspect-ratio: auto; }
  /* a landscape sheet is turned a quarter, so every page prints the same way up */
  .pt-print-root .ps-land .ps-in { width: 257mm; height: 190mm; transform-origin: 0 0; transform: translateX(190mm) rotate(90deg); }
  .pt-print-empty { display: block; font: 700 14pt 'Nunito', sans-serif; text-align: center; padding-top: 40mm; }
}
