/* A4 poster. On screen it looks like a sheet of paper; print gives one page. */

.poster-page { background: var(--paper-2); color-scheme: light; }
.toolbar { display: flex; justify-content: space-between; align-items: center; max-width: 210mm; margin: 0 auto; padding: 12px 16px; }

.sheet {
  /* the poster is always light, even in dark mode, because it is meant for paper */
  --paper: #ffffff; --paper-2: #f2eee6; --ink: #121a21; --ink-2: #4f5a64; --rule: #d6cfbf;
  --accent: #1d44a8; --go: #0f7f78; --limit: #a86a12; --stay: #b43f2b;
  background: var(--paper); color: var(--ink);
  width: min(210mm, 100%); min-height: 297mm; margin: 0 auto 32px; padding: 14mm 14mm 12mm;
  display: grid; grid-template-rows: auto auto auto auto auto 1fr auto; gap: 7mm;
  box-shadow: 0 2px 24px rgb(0 0 0 / 0.12);
}
.sheet-head { display: flex; justify-content: space-between; align-items: center; }
.sheet .wordmark { font-size: 1.6rem; }
.sheet-place { font-weight: 600; color: var(--ink-2); }
.sheet-title { margin: 0; font-size: 2.4rem; line-height: 1.05; }
.sheet-now { margin: -4mm 0 0; font-size: 1.15rem; color: var(--ink-2); font-weight: 500; }

.sheet-groups { list-style: none; margin: 0; padding: 0; display: grid; gap: 3mm; }
.sheet-groups li {
  display: grid; grid-template-columns: 14mm 1fr; grid-template-rows: auto auto auto; column-gap: 4mm;
  padding: 4mm 5mm; border: 2px solid var(--lv); border-radius: 14px;
}
.g-mark { grid-row: 1 / 4; font-size: 2.2rem; line-height: 1; color: var(--lv); align-self: center; text-align: center; }
.g-who { font-weight: 600; color: var(--ink-2); }
.g-verdict { font: 600 1.45rem/1.2 var(--display); }
.g-best { font-weight: 500; }

.sheet-walk {
  display: grid; grid-template-columns: 14mm 1fr; column-gap: 4mm; align-items: center;
  background: var(--paper-2); border-left: 6px solid var(--lv); border-radius: 10px; padding: 4mm 5mm;
}
.sheet-walk h2 { margin: 0; text-transform: none; font-size: 1rem; color: var(--ink-2); }
.sheet-walk p { margin: 1mm 0 0; }
.sheet-walk .w-line { font: 600 1.3rem var(--display); }

.sheet-clock h2 { margin: 0 0 2mm; }
.sheet-clock .insight { font-size: 1.05rem; }

.sheet-foot { display: grid; grid-template-columns: 34mm 1fr; gap: 6mm; align-items: center; border-top: 2px solid var(--ink); padding-top: 6mm; }
.qr svg { width: 34mm; height: 34mm; display: block; }
.scan { margin: 0; font: 600 1.15rem/1.25 var(--display); }
.url { margin: 2mm 0 0; font-weight: 600; color: var(--accent); }
.printed { margin: 2mm 0 0; font-size: 0.85rem; color: var(--ink-2); }

@page { size: A4; margin: 0; }
@media print {
  .poster-page { background: #fff; }
  .toolbar { display: none; }
  .sheet { box-shadow: none; margin: 0; width: 210mm; height: 297mm; min-height: 0; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
@media (max-width: 600px) {
  .sheet { padding: 20px 16px; min-height: 0; }
  .sheet-title { font-size: 1.8rem; }
}
