/* QR access for the report leader and the eleven individual scoreboards. */
body .report-page .report-hero:has(.report-fixture-qr) { display:grid; grid-template-columns:minmax(0,1fr) auto auto; }
.report-fixture-qr { padding:7px; border:1px solid #ccd9e9; border-radius:5px; background:#fff; color:#365a87; cursor:pointer; }
.report-fixture-qr [data-csb-qr] { display:block; width:86px; height:86px; padding:5px; background:#fff; }
.report-fixture-qr small { display:block; margin-top:4px; font:600 9px/1.3 var(--font-body); }
[data-csb-qr] img,[data-csb-qr] canvas,.report-qr-large img,.report-qr-large canvas { display:block; width:100%; height:100%; image-rendering:pixelated; }
.report-match-qr-button { display:inline-flex; align-items:center; gap:4px; flex-shrink:0; min-width:42px; min-height:36px; padding:6px; border:1px solid #b8cbe3; border-radius:4px; background:#fff; color:#365a87; font:600 10px var(--font-body); cursor:pointer; }
.report-match-qr-button svg { width:19px; height:19px; fill:currentColor; }
.report-qr-dialog { text-align:center; }
.report-qr-large { width:256px; height:256px; max-width:100%; aspect-ratio:1; box-sizing:content-box; margin:20px auto; padding:14px; background:#fff; }
.report-qr-dialog form { margin-top:14px; }
@media(max-width:560px) {
    body .report-page .report-hero:has(.report-fixture-qr) { grid-template-columns:minmax(0,1fr) auto; gap:14px; }
    .report-fixture-qr { grid-column:2; grid-row:1/3; }
    .report-fixture-qr [data-csb-qr] { width:66px; height:66px; padding:4px; }
    body .report-page .report-hero:has(.report-fixture-qr) .report-score { grid-column:1; min-width:0; justify-content:start; }
    .report-qr-large { width:min(232px,calc(100% - 24px)); height:auto; padding:12px; }
}
/* The existing report is also the printed report; only QR placement changes on paper. */
.report-toolbar { display:flex; justify-content:space-between; align-items:center; gap:16px; margin-bottom:16px; }
body .report-page .report-toolbar .report-breadcrumb { margin:0; }
.report-match-print-qr { display:none; }
@media print {
    .report-toolbar,.report-match-qr-button,.report-qr-dialog { display:none!important; }
    body .report-page :focus-visible { outline:none!important; box-shadow:none!important; }
    body .report-page .report-hero:has(.report-fixture-qr) { grid-template-columns:minmax(0,1fr) auto auto; gap:3mm; }
    .report-fixture-qr { display:block; grid-column:auto; grid-row:auto; padding:1mm; border:0; }
    .report-fixture-qr [data-csb-qr] { width:20mm; height:20mm; padding:1mm; }
    .report-fixture-qr small { margin-top:0; font-size:6pt; }
    body .report-page .report-match:has(>.report-match-print-qr) { display:grid; grid-template-columns:minmax(0,1fr) 22mm; gap:3mm; align-items:start; }
    body .report-page .report-match-print-qr { display:grid; justify-items:center; gap:1mm; align-self:start; padding:1mm; border:1px solid #d2dce9; border-radius:1mm; background:#fff; color:#365a87; text-decoration:none; }
    .report-match-print-qr [data-csb-qr] { display:block; width:18mm; height:18mm; padding:1mm; }
    .report-match-print-qr small { font-size:6pt; line-height:1.2; }
    body .report-page .game-section-heading .report-live-game-link { display:none; }
    body .report-page .report-print-player:empty { border-bottom:1px solid #a8b7ca; }
}
