.game-record-card {
  padding: 12px 16px;
  margin: 12px 0;
  border: 1px solid #69848c;
  border-radius: 12px;
  background: #132b34;
  color: #edf7f3;
  font:
    14px/1.5 system-ui,
    sans-serif;
  text-align: left;
}
.game-record-card p {
  margin: 4px 0;
}
.game-record-card p:first-child {
  color: #ffe098;
  font-weight: 700;
}
.game-record-card small,
.game-record-card .record-status {
  color: #bed3d4;
}
.game-record-card a {
  display: inline-block;
  color: #ffe098;
  padding: 6px 0;
}
.game-record-card[hidden] {
  display: none;
}
@media (pointer: coarse) {
  .loco-records {
    position: absolute;
    top: 6px;
    right: 8px;
    z-index: 11;
    margin: 0;
    max-width: 46vw;
    font-size: 12px;
    padding: 6px 10px;
  }
  .loco-records .record-status {
    display: none;
  }
}
.records-page {
  margin: 0;
  background: #0e1b24;
  color: #ecf2f1;
  font:
    16px/1.5 system-ui,
    sans-serif;
}
.records-page main {
  width: min(720px, 92%);
  margin: 24px auto;
}
.records-page a {
  color: #ffe098;
}
.records-page label {
  display: block;
  margin: 12px 0;
}
.records-page input,
.records-page select {
  display: block;
  box-sizing: border-box;
  width: 100%;
  margin: 6px 0;
}
.records-page input,
.records-page select,
.records-page button {
  font: inherit;
  color: inherit;
  background: #243a48;
  border: 1px solid #76929b;
  border-radius: 8px;
  padding: 10px 12px;
}
.records-page button {
  cursor: pointer;
  margin: 4px 4px 4px 0;
}
.records-page button:disabled {
  opacity: 0.6;
}
.records-page dialog {
  color: inherit;
  background: #142934;
  border: 1px solid #76929b;
  border-radius: 16px;
  width: min(620px, 88vw);
  max-height: 85dvh;
  overflow-y: auto;
}
.records-page dialog::backdrop {
  background: #000a;
}
.records-page dialog .close {
  float: right;
}
.records-page .error {
  color: #ffc1bf;
}
.records-page [hidden] {
  display: none !important;
}
