/* PB Content: print references styles. */

@media print {
  .lcard {
    outline: none !important;
  }

  .refs-hint,
  .lb,
  .playbadge,
  .lcard .more,
  .lcard .count {
    display: none !important;
  }

  .rpanel:not(.is-print) {
    display: none !important;
  }

  .rpanel.is-print {
    display: block !important;
  }

  .bento,
  .pstrip {
    gap: 2.5mm;
  }

  .bento {
    width: 228mm;
  }

  .bento .rinfo {
    padding: 0 0 1mm 4mm;
  }

  .vlabel {
    left: 2.5mm;
    top: 2.5mm;
    padding: 1.2mm 2.5mm;
    font-size: 6pt;
  }

  .vlabel small {
    font-size: 5.5pt;
  }

  .bento .mf iframe,
  .bento .mf video {
    display: none;
  }

  .rinfo {
    margin-top: 4mm;
    gap: 1mm 6mm;
  }

  .rinfo h3 {
    font-size: 14pt;
  }

  .rinfo .tags,
  .lcard .tags {
    font-size: 7pt;
  }

  .rinfo p {
    font-size: 9.5pt;
  }

  .qrbox {
    display: flex;
    position: absolute;
    right: 3mm;
    bottom: 3mm;
    background: var(--paper);
    color: var(--black);
    padding: 2mm 3mm 2mm 2mm;
    gap: 2.5mm;
    align-items: center;
    font-size: 7pt;
    line-height: 1.3;
    z-index: 2;
  }

  .qrbox .qr {
    width: 16mm;
    height: 16mm;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed #999;
    font-size: 6pt;
    text-align: center;
  }

  .qrbox .qr.has {
    border: 0;
  }

  .qrbox .qr img,
  .qrbox .qr canvas {
    width: 16mm !important;
    height: 16mm !important;
    display: block;
  }

  .ph {
    font-size: 6.5pt;
  }

  .lcard {
    gap: 2.5mm;
  }

  .lcard .mf {
    aspect-ratio: 4 / 3;
  }

  .lcard h3 {
    font-size: 13pt;
  }

  .lstrip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2mm;
  }

  .lstrip .mf {
    aspect-ratio: 1 / 1;
  }
}

@media print {
  .refs-sec {
    height: 210mm;
    break-after: page;
    page-break-after: always;
  }

  .refs {
    gap: 6mm;
  }

  .ref .print-only .qr img,
  .ref .print-only .qr canvas {
    width: 16mm !important;
    height: 16mm !important;
    display: block;
  }
}

@media print {
  .sc-prog {
    display: none;
  }
}

@media print {
  .sc-panel {
    --pp: 6mm;
    border-radius: 4mm;
    margin-inline: 0;
  }

  .refs-sec .section-head {
    margin-left: 0;
  }

  .rv,
  .rv-group > * {
    opacity: 1 !important;
    transform: none !important;
  }

  .sc:not(.is-print) {
    display: none !important;
  }

  .sc.is-print {
    display: block !important;
  }

  .sc-tabs,
  .sc-nav,
  .sc-play,
  .lbx,
  .sc-tile > video {
    display: none !important;
  }

  .sc-stage {
    width: 168mm;
    gap: 3mm;
  }

  .sc-info {
    right: 6mm;
    left: 5mm;
    bottom: 4mm;
    gap: 1mm;
  }

  .sc-info h3 {
    font-size: 15pt;
  }

  .sc-info p {
    font-size: 8.5pt;
  }

  .sc-info .tags {
    font-size: 6.5pt;
  }

  .sc-chip {
    left: 3mm;
    top: 3mm;
    padding: 1.2mm 2.5mm;
    font-size: 6pt;
    max-width: calc(100% - 6mm);
    gap: 1mm;
    letter-spacing: .04em;
  }

  .sc-chip small { font-size: 6pt; }

  .sc-chip i {
    animation: none;
  }

  .sc-gal {
    margin-top: 3mm;
  }

  .sc-track {
    overflow: visible;
    margin: 0;
    padding: 0;
    gap: 3mm;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    width: 100%;
  }

  .sc-img {
    flex: none;
    opacity: 1 !important;
    filter: none !important;
  }

  .sc-img .num {
    display: none;
  }

  .sc-img:not(.pr) {
    display: none !important;
  }

  .sc-img.wide {
    aspect-ratio: 2 / 3;
  }

  .sc-stage {
    position: relative;
  }

  .sc-qr {
    display: flex;
    position: absolute;
    left: calc(100% + 3mm);
    top: 0;
    bottom: 0;
    width: 74mm;
    box-sizing: border-box;
    flex-direction: column;
    justify-content: space-between;
    padding: 4.5mm 4.5mm 4mm;
    border: 0.3mm solid #222;
    background: #0a0a0a;
    color: #fff;
  }

  .sc-qr .q-eyebrow {
    font: 600 6.5pt/1 var(--font-head);
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #8c8c8c;
  }

  .sc-qr .q-title {
    font: 400 10pt/1.25 var(--font-head);
    margin-top: 0;
    color: #cfcfcf;
  }

  .sc-qr .q-code {
    width: 20mm;
    height: 20mm;
    opacity: .9;
  }

  .sc-qr .q-code img,
  .sc-qr .q-code canvas {
    width: 20mm !important;
    height: 20mm !important;
    display: block;
  }

  .sc-qr .q-url {
    font-size: 6.5pt;
    color: #777;
    letter-spacing: .02em;
  }

  .sc-tile,
  .sc-img {
    border-radius: 0;
    outline: none !important;
  }
}
