/* Gift exchange printables printed from the browser (public/gift-print.js): stories, dice tables, a contents page and the
   helper's results. Hidden on screen. A4 and US Letter both fit: 12mm margins and fluid widths. Cue words always carry an arrow
   and capitals as well as a tint, so they survive black-and-white printers. */
@media screen{.gp-out{display:none!important}}
@media print{
 @page{margin:12mm 13mm}
 body.gp-printing>*:not(.gp-out){display:none!important}
 body.gp-printing{background:#fff!important;margin:0;padding:0}
 body:not(.gp-printing) .gp-out{display:none}
 .gp-out{display:block;color:#201b38;font-family:DM,Arial,sans-serif;font-size:10.5pt;line-height:1.45;-webkit-print-color-adjust:exact;print-color-adjust:exact}
 .gp-sheet{break-before:page;position:relative;padding-top:7mm}.gp-sheet:first-child{break-before:auto}
 .gp-sheet:before{content:'';position:absolute;left:0;right:0;top:0;height:3.2mm;background:#0d3328;border-bottom:1.2mm solid #e9b23f}
 .gp-head{display:flex;align-items:flex-end;justify-content:space-between;gap:6mm;margin:2mm 0 3mm}
 .gp-head h1{font-family:Bricolage,DM,Arial,sans-serif;font-size:25pt;line-height:1;letter-spacing:-.025em;margin:0;color:#0d3328}
 .gp-head p{margin:2mm 0 0;font-size:10pt;color:#4a4560}
 .gp-gifts{display:flex;align-items:flex-end;flex:0 0 auto}.gp-gift{display:block;margin-left:-3mm}
 .gp-line{margin:0 0 3mm;font-size:10.5pt;color:#3b3650;font-style:italic}
 .gp-how{background:#f3efe4;border-radius:3mm;padding:3mm 4mm;margin:0 0 4mm;break-inside:avoid}.gp-how p{margin:0;font-size:10pt;line-height:1.5}
 .gp-cue{display:inline-flex;align-items:center;gap:.6mm;padding:0 1.2mm;border-radius:1.2mm;border:.35mm solid #201b38;font-family:DM,Arial,sans-serif;font-size:.86em;letter-spacing:.03em;white-space:nowrap;vertical-align:.05em;line-height:1.3}
 .gp-cue svg{width:3.1mm;height:3.1mm;fill:none;stroke:#201b38;stroke-width:2.8;stroke-linecap:round;stroke-linejoin:round}.gp-cue b{font-weight:800}
 .gp-cue--left{background:#fde7b8}.gp-cue--right{background:#d6edfb}.gp-cue--across{background:#fbd9e7}
 .gp-text p{font-family:Georgia,'Times New Roman',serif;font-size:12.6pt;line-height:1.55;margin:0 0 2.2mm;break-inside:avoid;orphans:2;widows:2}
 .gp-end{margin-top:4mm;border:.4mm solid #0d3328;border-radius:3mm;padding:3mm 4mm;break-inside:avoid}.gp-end p{margin:0;font-size:10.5pt}
 .gp-foot{display:flex;justify-content:space-between;gap:6mm;margin-top:5mm;padding-top:2mm;border-top:.3mm solid #d9d2c4;font-size:8.5pt;color:#5b566b;break-inside:avoid}.gp-foot b{color:#201b38}
 .gp-round{border:.5mm solid #0d3328;border-radius:4mm;padding:3.5mm 5mm 2mm;margin:0 0 4mm;break-inside:avoid}
 .gp-round h2{font-family:Bricolage,DM,Arial,sans-serif;font-size:14pt;letter-spacing:-.02em;margin:0;color:#0d3328}
 .gp-round-how{margin:1mm 0 2mm;font-size:9.5pt;color:#4a4560}
 .gp-rows{list-style:none;margin:0;padding:0}.gp-rows li{display:grid;grid-template-columns:11mm 1fr;gap:4mm;align-items:center;padding:2mm 0;border-top:.25mm solid #e5dfd1;font-size:10.5pt;line-height:1.38}
 .gp-die{display:inline-grid;grid-template-columns:repeat(3,1fr);gap:.5mm;width:9.5mm;height:9.5mm;padding:1.3mm;border:.4mm solid #201b38;border-radius:1.8mm;background:#fff;box-sizing:border-box}.gp-die i{border-radius:50%}.gp-die i.on{background:#201b38}
 .gp-take{display:inline-block;font-size:7.8pt;font-weight:800;color:#145a37;border:.3mm solid #145a37;border-radius:2mm;padding:0 1.5mm;margin-left:1mm;letter-spacing:.02em}
 .gp-dice .gp-head{margin-bottom:2mm}.gp-dice .gp-head h1{font-size:22pt}.gp-dice .gp-round{padding:3mm 4.5mm 1.2mm;margin-bottom:3mm}
 .gp-dice .gp-rows li{padding:1.5mm 0;grid-template-columns:10mm 1fr;gap:3.5mm}.gp-dice .gp-die{width:8.6mm;height:8.6mm;padding:1.1mm}.gp-dice .gp-foot{margin-top:3mm}
 .gp-cover .gp-head h1{font-size:22pt}.gp-cover .gp-contents li{padding:.9mm 0}.gp-cover .gp-contents span{display:block;font-size:9pt;line-height:1.3}
 .gp-cover h2{font-family:Bricolage,DM,Arial,sans-serif;font-size:13pt;color:#0d3328;margin:5mm 0 1.5mm}
 .gp-contents,.gp-list{margin:0;padding:0 0 0 6mm}.gp-contents li,.gp-list li{padding:1.4mm 0;border-bottom:.25mm solid #e5dfd1}.gp-contents b,.gp-list b{display:block;font-size:10.5pt}.gp-contents span,.gp-list span{font-size:9.5pt;color:#4a4560}
 .gp-list li{display:grid;grid-template-columns:45mm 1fr;gap:4mm;align-items:baseline}.gp-list b{display:inline}
}
