.history-page{max-width:1100px}.history-navigation,.history-heading{display:flex;justify-content:space-between;align-items:center;gap:1rem}.history-heading{flex-wrap:wrap}.history-heading h2{margin-bottom:.5rem}#history-player-id{font-size:.75rem;overflow-wrap:anywhere;color:var(--muted)}.history-filters{display:flex;flex-wrap:wrap;align-items:end;gap:.75rem;margin:1rem 0}.history-filters button{width:auto;min-width:0;flex:1 1 100px;margin:0}.history-filters label{display:grid;gap:.25rem;flex:1 1 120px;font-size:.85rem}.history-filters input,.history-filters select{width:100%;min-width:0;box-sizing:border-box}.history-match{display:grid;grid-template-columns:1fr auto;gap:.4rem 1rem;padding:1rem 0;border-bottom:1px solid var(--line,#53645c)}.history-match h3,.history-match p{margin:0}.history-match p,.history-match time{font-size:.85rem}.history-match .history-outcome{grid-column:2;grid-row:1/3;align-self:center;text-align:right}.history-rounds details,.history-rules{margin-top:1rem}.history-rounds .wm-screen-title{display:none}.history-rounds .wm-screen-actions,.history-rounds .wm-screen-note{display:none}.history-options{margin-top:1.5rem}.history-options .wm-actions{margin-top:1rem}.history-options label{cursor:pointer}.history-outcome,.history-match h3 a{overflow-wrap:anywhere}.history-facts{display:flex;gap:.5rem 1rem;flex-wrap:wrap;margin:.5rem 0 1rem;font-size:.85rem}.history-page table{width:100%}#history-more{margin-top:1rem}@media(max-width:540px){.history-heading{display:block}.history-filters label{flex-basis:calc(50% - 1rem)}.history-match{grid-template-columns:1fr}.history-match .history-outcome{grid-column:1;grid-row:auto;text-align:left}.history-options .wm-actions{display:flex;flex-wrap:wrap}.history-page .wm-level-results-table th:first-child{width:auto}}

.history-page .track-table{overflow-x:auto;max-width:100%}
.history-page .track-label-short{display:none}
.history-rounds table{font-size:.88rem}
.history-rounds th,.history-rounds td{white-space:nowrap}
.history-rounds td small{display:block;white-space:normal;max-width:26ch}
.history-key-actions{margin-top:1rem}
.history-confirm{color:inherit;background:#152b37;border:2px solid #476f80;max-width:min(30rem,calc(100vw - 2rem));box-sizing:border-box;padding:1.25rem}
.history-confirm::backdrop{background:rgba(0,0,0,.65)}
.history-confirm h2{margin-top:0}
.history-confirm .wm-actions{display:flex;gap:.5rem;flex-wrap:wrap}
.history-mine{width:auto;margin:.25rem 0 .75rem}
.history-heading{display:block}.history-heading h1.wm-page-title{margin-bottom:.5rem}.history-heading h1 a{color:inherit;text-decoration:none}.history-heading h1 a:hover,.history-heading h1 a:focus-visible{text-decoration:underline}

.history-match{grid-template-columns:minmax(0,1fr) auto;gap:.2rem 1rem;padding:.75rem 0;align-items:baseline}
.history-match-heading{grid-column:1/-1;display:flex;justify-content:space-between;align-items:baseline;gap:.5rem 1rem;min-width:0}
.history-match-heading h3{min-width:0;line-height:1.4}
.history-match-heading time{flex:none;text-align:right;color:var(--muted);white-space:nowrap}
.history-match-summary{grid-column:1;min-width:0;color:var(--muted);overflow-wrap:anywhere}
.history-match .history-outcome{grid-column:2;grid-row:2;align-self:baseline;text-align:right;white-space:nowrap}
.history-match .history-outcome span,.history-match .history-format{color:var(--blue);font-weight:700}
@media(max-width:540px){
  .history-match{grid-template-columns:minmax(0,1fr)}
  .history-match .history-outcome{grid-column:1;grid-row:3;text-align:left;white-space:normal}
  .history-match-heading time{font-size:.75rem}
}
