/* An idle pinball readout framed by the same pink line as the cabinet. */
#lekhus-attract {
  width: min(94vw, 640px);
  max-height: calc(100svh - 24px);
  margin: auto;
  padding: clamp(10px, 3vw, 23px);
  overflow: hidden;
  border: 2px solid #f4b4ca;
  border-radius: 24px;
  color: #fff2e7;
  background: #402440;
  box-shadow: inset 0 0 0 3px #7c3b61, inset 0 0 0 5px #e78ca8, 0 14px 48px #1d101cbb;
}
#lekhus-attract[open] {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 10px;
}
#lekhus-attract::backdrop { background: #211326c9; }

.attract-heading { padding: 3px 4px 0; text-align: center; }
.attract-era {
  color: #ffc5d6;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .07em;
  text-transform: uppercase;
}
#lekhus-attract-title {
  margin: 2px 0;
  color: #ffe6b0;
  font: 650 clamp(28px, 7vw, 46px)/1 Fredoka, Nunito, ui-rounded, sans-serif;
  text-shadow: 0 2px #813f55;
}
#lekhus-attract .attract-style { margin-top:5px; color:#f3cfdd; font-size:13px; font-weight:750; }
.attract-readout {
  min-width: 0;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid #af6f78;
  border-radius: 11px;
  background: #25182a;
  box-shadow: inset 0 2px 4px #100d15;
}
.attract-status {
  padding: 15px 12px;
  color: #ffe0d7;
  font-size: 14px;
  text-align: center;
}
.attract-status:empty { position: absolute; padding: 0; }
.attract-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.attract-table[hidden] { display: none; }
.attract-table th, .attract-table td {
  padding: 5px 8px;
  border-bottom: 1px solid #58344f;
  font-size: 13px;
  line-height: 1.2;
  text-align: left;
}
.attract-table thead th {
  color: #f9b8ca;
  background: #3b263a;
  font-size: 11px;
  font-weight: 850;
}
.attract-table tr > :first-child {
  width: 43px;
  text-align: center;
}
.attract-table tr > :last-child {
  width: clamp(70px, 20vw, 124px);
  text-align: right;
}
.attract-table tbody tr:nth-child(even) { background: #302033; }
.attract-table tbody tr:first-child { background: #4a2c3f; }
.attract-table tbody tr:last-child > * { border-bottom: 0; }
.attract-table tbody th, .attract-table tbody td:last-child {
  color: #ffe0a3;
  font: 750 14px/1.2 ui-monospace, Menlo, Consolas, monospace;
  font-variant-numeric: tabular-nums;
}
.attract-table tbody td:nth-child(2) { overflow-wrap: anywhere; }
.attract-actions { display: flex; justify-content: center; }
.attract-resume {
  min-width: min(100%, 200px);
  min-height: 44px;
  padding: 8px 13px;
  border: 1px solid #ffd3b1;
  border-radius: 12px;
  color: #4b2140;
  background: linear-gradient(#ffe1ec, #f4a9cd);
  box-shadow: inset 0 1px #fff4ec, 0 2px #803b64;
  font: 800 15px/1.2 Nunito, ui-rounded, sans-serif;
  touch-action: manipulation;
}
.attract-resume:hover { background: #ffe0e7; }
.attract-resume:active { box-shadow: inset 0 2px 4px #a2557870; }
.attract-resume:focus-visible, .attract-readout:focus-visible {
  outline: 2px solid #ffe6a9;
  outline-offset: 2px;
}
