/* Deliberately quiet: the table is for play, these panels are for setup and recall. */
.pp-record-profile {
  display:grid; grid-template-columns:repeat(auto-fit, minmax(min(100%, 12rem),1fr));
  gap:.25rem .6rem; min-width:0; margin:.55rem 0; padding:.25rem .65rem .5rem;
  border:1px solid #554962; border-radius:10px; background:#241d31;
}
.pp-record-profile legend { padding-inline:.26rem; color:#dfd0f2; font-size:.82rem; font-weight:700; }
.pp-record-profile > small { grid-column:1/-1; }
.pp-record-profile select { width:100%; }
.pp-record-history, .pp-record-result { min-width:0; }
.pp-record-standings { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,15rem),1fr)); gap:.6rem; margin:.65rem 0; }
.pp-record-standings > section, .pp-record-result {
  min-width:0; padding:.63rem .74rem; border:1px solid #57465e;
  border-radius:12px; background:#242033;
}
.pp-record-history h4 { margin:.18rem 0 .55rem; font-size:.95rem; }
.pp-record-history h4 > span { font-size:.76rem; color:#c7b6e3; margin-inline-start:.2rem; }
.pp-record-scroll { overflow:auto; }
.pp-record-scroll table {
  width:100%; border-collapse:collapse; font-size:.78rem; font-variant-numeric:tabular-nums;
}
.pp-record-scroll th, .pp-record-scroll td {
  padding:.36rem .26rem; text-align:end; vertical-align:top;
  border-bottom:1px solid #504560; overflow-wrap:anywhere;
}
.pp-record-scroll th:first-child { text-align:start; }
.pp-record-scroll tr:last-child td, .pp-record-scroll tbody tr:last-child th { border-bottom:0; }
.pp-record-scroll th { color:#e4d8f7; }
.pp-record-scroll tr th > small { display:block; margin:.2rem 0 0; font-weight:400; }
.pp-record-timeline { display:grid; gap:.35rem; }
.pp-record-timeline > details { min-width:0; border:1px solid #55465e; border-radius:9px; padding:.35rem .55rem; background:#251e31; }
.pp-record-timeline > details > summary { cursor:pointer; font-size:.81rem; overflow-wrap:anywhere; }
.pp-record-timeline > details > summary b { margin-inline:.32rem; }
.pp-record-timeline time { color:#bfaed0; }
.pp-record-timeline .pp-record-result { margin-top:.45rem; }
.pp-record-result-head {
  display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:.55rem; align-items:center;
  margin-bottom:.55rem; padding:.45rem .5rem; border-radius:9px;
  background:linear-gradient(120deg,#524028,#292237 69%); border:1px solid #756347;
}
.pp-record-result-head > span { margin-block:auto; font-size:1.34rem; }
.pp-record-result-head h4 { color:#ffe4ab; margin:.14rem 0; font-size:1.08rem; overflow-wrap:anywhere; }
.pp-record-result-head :is(small,p) { display:block; margin:.1rem 0; }
.pp-record-duration { text-align:end; white-space:nowrap; }
.pp-record-duration > b { font-variant-numeric:tabular-nums; font-size:.94rem; }
.pp-record-result > details { margin-top:.62rem; }
.pp-record-result > details summary { cursor:pointer; font-size:.87rem; font-weight:650; color:#dfc9ff; }
.pp-record-result textarea { width:100%; margin-top:.4rem; user-select:text; font-size:.8rem; resize:vertical; }
.pp-record-empty { padding:.55rem .67rem; background:#282039; border-radius:9px; }
.pp-record-filters {
  display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,11rem),1fr)); gap:.2rem .6rem;
  margin-bottom:.4rem; min-width:0;
}
.pp-record-filters select { width:100%; }
