/* Rubber counter mat and the paper pickup slip along its front edge. */
.main-table .device,
.main-table .table-frame {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}
.main-table .device::before,
.main-table .device::after { content: none; }

.main-table .playmat {
  --mat-inset: clamp(17px, 2.05vw, 31px);
  height: clamp(376px, 50svh, 480px);
  border-radius: 3px 3px 0 0;
  background-color: #152945;
  background-image:
    linear-gradient(158deg, transparent 0 66%, #7290a512 66% 74%, transparent 74% 75.2%, #566e8817 75.2% 76.4%, transparent 76.4%),
    radial-gradient(ellipse at 36% 25%, #314a63 0%, #1d344e 50%, #112540 100%);
  box-shadow: inset 0 1px #a8b7bf56, inset 0 -3px #0e1d33;
}
.main-table .playmat::before {
  background: url('assets/felt.webp') repeat 0 0 / 277px;
  mix-blend-mode: soft-light;
  opacity: .41;
}
.main-table .mat-edge { display: none; }
.main-table .counter-title,
.main-table .counter-series {
  position: absolute;
  top: var(--mat-inset);
  z-index: 1;
  pointer-events: none;
}
.main-table .counter-title {
  left: var(--mat-inset);
  margin: 0;
  color: #ecebdb;
  font: italic 900 clamp(1.7rem, 2.65vw, 2.65rem)/.9 var(--brand);
  letter-spacing: -.065em;
}
.main-table .counter-series {
  right: var(--mat-inset);
  margin-top: 2px;
  color: #d1d6d6;
  font: 700 .66rem/1.22 var(--mono);
  letter-spacing: .075em;
  text-transform: uppercase;
}
.main-table .counter-series b { margin-inline: .2em; color: #f3cb45; }
.main-table .mat-footer {
  right: var(--mat-inset);
  bottom: clamp(12px, 1.55vw, 24px);
  left: var(--mat-inset);
  gap: 7px;
}
.main-table .stack-counter,
.main-table #finish-chip:not(:empty) {
  color: #eef0e1;
  font: 700 .73rem/1.2 var(--mono);
  letter-spacing: .035em;
  text-shadow: none;
}
.main-table .stack-counter svg { width: 15px; height: 15px; }
.main-table #finish-chip:not(:empty) {
  padding: 0;
  border: 0;
  background: none;
  text-align: right;
}
.main-table .mat-footer #flip-cartridge {
  min-height: 40px;
  border: 1px solid #a6b4b9;
  border-radius: 1px;
  background: #223951;
  box-shadow: none;
  color: #fff8dd;
}
.main-table .mat-footer #flip-cartridge:hover { background: #314a61; }
.main-table .transport {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.1fr) auto;
  gap: clamp(12px, 1.7vw, 25px);
  align-items: center;
  margin: 0;
  padding: 17px clamp(16px, 2vw, 29px) 18px;
  border: 0;
  border-radius: 0;
  background: #eee9d9;
  box-shadow: inset 0 -1px #a7a799, 0 2px 2px -2px #2735437d;
}
.main-table .transport::before {
  content: "";
  position: absolute;
  inset: 4px 0 auto;
  height: 1px;
  pointer-events: none;
  background: repeating-linear-gradient(to right, #7c829290 0 5px, transparent 5px 9px);
}
.main-table .recipient { padding: 0; border: 0; }
.main-table .recipient .eyebrow {
  color: #455365;
  font: 700 .68rem/1.2 var(--mono);
  letter-spacing: .09em;
}
.main-table .recipient h2 {
  margin: 3px 0 1px;
  color: #152b49;
  font: 850 clamp(1.5rem, 2.1vw, 2rem)/1.03 var(--sans);
  letter-spacing: -.045em;
}
.main-table #credit-line { color: #415064; overflow-wrap: anywhere; }
.main-table .desk-hint {
  max-width: 310px;
  gap: 6px;
  color: #32465a;
}
.main-table #progress-steps { gap: 2px; }
.main-table #progress-steps span {
  width: 8px;
  height: 3px;
  background: #bdc0b8;
  border-radius: 0;
  box-shadow: none;
}
.main-table #progress-steps .complete { background: #75828b; }
.main-table #progress-steps .active { background: #1a304e; }
.main-table #main-action {
  position: relative;
  min-height: 48px;
  padding: 10px 18px;
  border: 1px solid #142b47;
  border-radius: 2px;
  background: #f7cb33;
  color: #102645;
  box-shadow: none;
  font: 800 .97rem/1.2 var(--sans);
}
.main-table #main-action:hover { background: #ffdb55; transform: none; }
.main-table #main-action:active { transform: translateY(1px); }
.main-table #main-action:focus-visible { outline: 2px solid #152d4c; outline-offset: 3px; }
@media (min-width: 1001px) {
  .main-table #main-action::before {
    content: "";
    position: absolute;
    top: -9px;
    bottom: -9px;
    left: -14px;
    width: 1px;
    pointer-events: none;
    background: repeating-linear-gradient(to bottom, #8a908d 0 3px, transparent 3px 6px);
  }
}
.main-table #reveal-source:not([hidden]) { margin-top: 10px; }
.main-table .archive-source {
  background: #f7f3e7;
  border: 0;
  border-top: 1px solid #a7acaa;
  border-radius: 0;
  box-shadow: none;
}
.main-table .archive-watch {
  min-height: 44px;
  border: 0;
  background: transparent;
  color: #162f50;
  box-shadow: none;
  text-decoration: underline;
  text-underline-offset: .2em;
}
.main-table .archive-watch:hover { color: #365a78; }

@media (min-width: 736px) and (max-width: 1000px) {
  .main-table .counter-series { font-size: .6rem; }
  .main-table .transport { grid-template-columns: minmax(0, 1fr) auto; row-gap: 9px; }
  .main-table .desk-hint { grid-row: 2; grid-column: 1/-1; display: flex; align-items: center; max-width: none; }
  .main-table #main-action { grid-column: 2; grid-row: 1; }
}
@media (max-width: 735px) {
  .desk-grid > .main-table { display: contents; }
  .main-table > .device { grid-area: counter; }
  .main-table #reveal-source:not([hidden]) { grid-column: 1; grid-row: 4; margin-top: 0; }
  .main-table .playmat { --mat-inset: 15px; height: clamp(310px, 44svh, 425px); }
  .main-table .counter-title { font-size: clamp(1.45rem, 5.8vw, 1.9rem); }
  .main-table .counter-series { font-size: .6rem; letter-spacing: .035em; }
  .main-table .mat-footer { bottom: 12px; }
  .main-table .stack-counter,
  .main-table #finish-chip:not(:empty) { font-size: .65rem; }
  .main-table .mat-footer #flip-cartridge { min-height: 36px; padding-inline: 8px; font-size: .78rem; }
  .main-table .transport {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px 8px;
    padding: 15px 14px 13px;
  }
  .main-table .desk-hint { grid-row: 2; grid-column: 1/-1; display: flex; align-items: center; max-width: none; }
  .main-table #main-action { grid-column: 2; grid-row: 1; min-height: 44px; padding-inline: 11px; font-size: .89rem; }
  .main-table .recipient h2 { font-size: 1.5rem; }
}
@media (max-width: 375px) {
  .main-table .counter-series {
    top: calc(var(--mat-inset) + 26px);
    left: var(--mat-inset);
    right: auto;
  }
}
@media (min-width: 736px) and (max-height: 700px) {
  .main-table .playmat { height: clamp(310px, 48svh, 380px); }
}
