/* Printed sheets from the word game pages: charades cards (24 a page), riddle and hunt cards (8), drawing slips (40), a score
   sheet, an answer key and a hunt plan. US Letter or A4 per sheet through named pages; dashed cut lines share one grid. */
@page wgp-letter{size:8.5in 11in;margin:0}
@page wgp-a4{size:210mm 297mm;margin:0}
@media screen{.wg-printout{display:none}}
@media print{
 body.wg-printing{margin:0!important;padding:0!important;background:#fff!important}
 body.wg-printing>*:not(.wg-printout){display:none!important}
 body:not(.wg-printing) .wg-printout{display:none}
}
.wgp{page:wgp-letter;box-sizing:border-box;width:215.9mm;height:279mm;display:flex;flex-direction:column;justify-content:center;align-items:center;overflow:hidden;break-after:page;page-break-after:always;font-family:var(--body,DM),Arial,sans-serif;color:#201b38;background:#fff;-webkit-print-color-adjust:exact;print-color-adjust:exact}
.wgp[data-paper=a4]{page:wgp-a4;width:210mm;height:296.5mm}
.wgp:last-child{break-after:auto;page-break-after:auto}
.wgp *{box-sizing:border-box}
.wgp-head,.wgp-foot{width:182mm;display:flex;justify-content:space-between;align-items:baseline;gap:6mm;white-space:nowrap}
.wgp-head{height:9mm;margin-bottom:4mm;padding-bottom:2mm;border-bottom:.4mm solid #201b38;font-size:8.5pt;color:#5c5770}
.wgp-head b{font-family:var(--display,Manrope),Arial,sans-serif;font-weight:800;font-size:11pt;color:#201b38;overflow:hidden;text-overflow:ellipsis}
.wgp-foot{height:7mm;margin-top:4mm;padding-top:2mm;border-top:.2mm solid #d9d5e3;font-size:7.5pt;color:#6b6680}
.wgp-grid{width:182mm;height:228mm;display:grid;border-top:.25mm dashed #aaa4ba;border-left:.25mm dashed #aaa4ba;align-content:start}
.wgp--charades .wgp-grid{grid-template-columns:repeat(4,45.5mm);grid-auto-rows:38mm}
.wgp--riddles .wgp-grid,.wgp--hunt .wgp-grid{grid-template-columns:repeat(2,91mm);grid-auto-rows:57mm}
.wgp--drawing .wgp-grid{grid-template-columns:repeat(4,45.5mm);grid-auto-rows:22.8mm}
.wgp-card{border-right:.25mm dashed #aaa4ba;border-bottom:.25mm dashed #aaa4ba;overflow:hidden;position:relative}
/* Charades */
.wgp-cc{display:flex;flex-direction:column;padding:2.6mm 3mm 2.4mm;text-align:center}
.wgp-cc header{display:flex;justify-content:space-between;align-items:center;gap:2mm;font-size:6.6pt;font-weight:800;letter-spacing:.02em;color:var(--c,#201b38);text-align:left}
.wgp-cc header span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.wgp-cc p{flex:1;display:flex;align-items:center;justify-content:center;margin:0;font-family:var(--display,Manrope),Arial,sans-serif;font-weight:800;font-size:12pt;line-height:1.12;letter-spacing:-.01em;overflow-wrap:anywhere}
.wgp-cc footer{font-size:6pt;color:#8d87a0;letter-spacing:.04em}
.wgp-dots{display:inline-flex;gap:.7mm;flex:0 0 auto}
.wgp-dots i{width:1.9mm;height:1.9mm;border-radius:50%;border:.3mm solid var(--c,#8d87a0)}
.wgp-dots i.on{background:var(--c,#8d87a0)}
/* Riddle and hunt cards */
.wgp-rc{display:flex;flex-direction:column;padding:4mm 5mm}
.wgp-rc header{display:flex;justify-content:space-between;align-items:baseline;gap:3mm;font-size:7.5pt;color:#6b6680}
.wgp-rc header b{font-family:var(--display,Manrope),Arial,sans-serif;font-size:9.5pt;color:#2f4fb3}
.wgp-rc p{flex:1;display:flex;align-items:center;margin:0;font-size:10.8pt;line-height:1.38;font-weight:600}
.wgp-flip{border-bottom:.25mm dashed #d0cbdc;padding-bottom:2mm;font-size:8.2pt;color:#4a4560;transform:rotate(180deg);text-align:right}
.wgp-hunt header b{color:#1f6b45}
.wgp-hunt p{font-family:var(--display,Manrope),Arial,sans-serif;font-weight:800;font-size:12pt;line-height:1.3;justify-content:center;text-align:center}
.wgp-hunt footer{font-size:7.5pt;color:#6b6680;text-align:center}
/* Drawing slips */
.wgp-slip{display:flex;align-items:center;justify-content:center;gap:2mm;padding:1.5mm 2.5mm;text-align:center}
.wgp-slip p{margin:0;font-family:var(--display,Manrope),Arial,sans-serif;font-weight:800;font-size:11pt;line-height:1.1;overflow-wrap:anywhere}
.wgp-slip .wgp-dots{position:absolute;right:2mm;bottom:1.6mm}
/* Score sheet, answer key and hunt plan */
.wgp-score,.wgp-plan,.wgp-answers{width:182mm;height:228mm}
.wgp-score table{width:100%;min-width:0;border-collapse:collapse;font-size:11pt}
.wgp-score th,.wgp-score td{border:.3mm solid #cfcadb;padding:3.2mm 3mm;text-align:left}
.wgp-score thead th{background:#f4f1fa;font-size:10pt}
.wgp-score td{width:40%}
.wgp-total th,.wgp-total td{font-weight:800;background:#fbf7ee}
.wgp-rules{margin:8mm 0 0;padding-left:6mm;font-size:10pt;line-height:1.5;display:grid;gap:2mm}
.wgp-answers{margin:0;padding:2mm 0 0 8mm;columns:2;column-gap:10mm;font-size:10.5pt;line-height:1.5}
.wgp-answers li{break-inside:avoid;padding:.8mm 0}
.wgp-plan p{font-size:10.5pt;line-height:1.5;margin:0 0 5mm}
.wgp-plan ol{list-style:none;margin:0;padding:0;display:grid;gap:2.2mm}
.wgp-plan li{display:grid;grid-template-columns:28mm 1fr;gap:4mm;align-items:baseline;padding:2.6mm 3mm;border:.3mm solid #e1dcea;border-radius:2mm;font-size:10.5pt}
.wgp-plan li span{font-weight:800;color:#1f6b45}
.wgp-plan .wgp-treasure{background:#fdf6e3;border-color:#ecd9a6}
.wgp-plan .wgp-safe{margin-top:6mm;font-size:9pt;color:#5c5770}
