/* Speedruns */

.speedrun-table--personal-bests tbody tr:nth-child(odd) { --run-band-game: var(--run-game-odd); --run-band-category: var(--run-category-odd); --run-band-platform: var(--run-platform-odd); --run-band-date: #b6d7a8; --run-band-time: var(--run-time-odd); --run-band-rank: #ffe599; }

.speedrun-table--personal-bests tbody tr:nth-child(even) { --run-band-game: var(--run-game-even); --run-band-category: var(--run-category-even); --run-band-platform: var(--run-platform-even); --run-band-date: #d9ead3; --run-band-time: var(--run-time-even); --run-band-rank: #fff2cc; }

.speedrun-table--personal-bests tbody tr > :nth-child(7).run-sheet-style-9 { background-color: var(--run-band-rank); }

.speedrun-table--personal-bests tbody tr > :nth-child(7).run-sheet-style-29 { background-color: var(--run-band-rank); }

.speedrun-table--personal-bests tbody tr > :nth-child(7).run-sheet-style-30 { background-color: var(--run-band-rank); }

.speedrun-table-scroll { max-width: 100%;
 overflow-x: auto;
 margin-bottom: 24px;
 border-radius: var(--heading-radius, 16px); }

.speedrun-table { width: max-content;
 min-width: 100%;
 border-collapse: collapse;
 font-size: .85em;
 line-height: 1.4;
 background-color: var(--bg-color); }

.speedrun-table th,
.speedrun-table td { padding: 8px;
 white-space: nowrap;
 border-right: 1px solid var(--button-color);
 border-bottom: 1px solid var(--button-color); }

.speedrun-table thead th { background-color: var(--favorite-color); font-weight: bold; }

.speedrun-table tr > :last-child { border-right: 0; }

.speedrun-table tbody tr:last-child > * { border-bottom: 0; }

.speedrun-table span { font-family: inherit; font-weight: inherit; font-style: inherit; color: inherit; }

.speedrun-table .run-sheet-style-0 { font-weight: bold; font-style: normal; text-decoration: none; color: #FFFFFF; background-color: #000000; }

.speedrun-table .run-sheet-style-1 { font-weight: normal; font-style: normal; text-decoration: none; color: #000000; background-color: #ffffff; }

.speedrun-table .run-sheet-style-2 { font-weight: bold; font-style: normal; text-decoration: none; color: #000000; background-color: #B4A7D6; }

.speedrun-table .run-sheet-style-3 { font-weight: bold; font-style: normal; text-decoration: none; color: #000000; background-color: #D5A6BD; }

.speedrun-table .run-sheet-style-4 { font-weight: bold; }

.speedrun-table .run-sheet-style-5 { font-weight: normal; }

.speedrun-table .run-sheet-style-6 { font-weight: bold; font-style: normal; text-decoration: none; color: #000000; background-color: #B6D7A8; }

.speedrun-table .run-sheet-style-7 { font-weight: bold; font-style: normal; text-decoration: none; color: #000000; background-color: #F9CB9C; }

.speedrun-table .run-sheet-style-8 { font-weight: bold; font-style: normal; text-decoration: underline; color: #1155CC; background-color: #F9CB9C; }

.speedrun-table .run-sheet-style-10 { font-weight: bold; font-style: normal; text-decoration: none; color: #000000; background-color: #CFE2F3; }

.speedrun-table .run-sheet-style-11 { font-weight: bold; font-style: normal; text-decoration: none; color: #000000; background-color: #FCE5CD; }

.speedrun-table .run-sheet-style-12 { font-weight: bold; font-style: normal; text-decoration: underline; color: #1155CC; background-color: #FCE5CD; }

.speedrun-table .run-sheet-style-15 { font-weight: normal; font-style: normal; text-decoration: none; color: #000000; background-color: #D5A6BD; }

.speedrun-table .run-sheet-style-16 { font-weight: bold; font-style: normal; text-decoration: none; color: #000000; background-color: #EAD1DC; }

.speedrun-table .run-sheet-style-18 { font-weight: bold; font-style: normal; text-decoration: none; color: #000000; background-color: #D9D2E9; }

.speedrun-table .run-sheet-style-19 { font-weight: normal; font-style: normal; text-decoration: none; color: #000000; background-color: #EAD1DC; }

.speedrun-table .run-sheet-style-20 { font-weight: bold; font-style: normal; text-decoration: none; color: #000000; background-color: #D9EAD3; }

.speedrun-table .run-sheet-style-21 { font-weight: bold; font-style: normal; text-decoration: underline; color: #0000FF; background-color: #F9CB9C; }

.speedrun-table .run-sheet-style-22 { font-weight: bold; font-style: normal; text-decoration: underline; color: #0000FF; background-color: #FCE5CD; }

.speedrun-table .run-sheet-style-23 { font-weight: bold; font-style: normal; text-decoration: none; color: #000000; background-color: #ffffff; }

.speedrun-table .run-sheet-style-25 { font-weight: bold; font-style: normal; text-decoration: none; color: #000000; background-color: #9FC5E8; }

.speedrun-table .run-sheet-style-26 { font-weight: normal; font-style: normal; text-decoration: none; color: #000000; background-color: #9FC5E8; }

.speedrun-table .run-sheet-style-28 { font-weight: normal; font-style: normal; text-decoration: none; color: #000000; background-color: #CFE2F3; }

#content main .speedrun-table a { color: inherit !important;
 font-style: inherit;
 text-decoration: inherit; }

.speedrun-table [class^="run-sheet-style-"] { background-image: none; }

.speedrun-table thead th[class] { background-color: #000;
 color: #fff;
 font-weight: bold; }

.speedrun-table--personal-bests tbody tr > :nth-child(1) { background-color: var(--run-band-game); }

.speedrun-table--personal-bests tbody tr > :nth-child(2) { background-color: var(--run-band-category); }

.speedrun-table--personal-bests tbody tr > :nth-child(3) { background-color: var(--run-band-platform); }

.speedrun-table--personal-bests tbody tr > :nth-child(4) { background-color: var(--run-band-date); }

.speedrun-table--personal-bests tbody tr > :nth-child(5),
.speedrun-table--personal-bests tbody tr > :nth-child(6) { background-color: var(--run-band-time); }

.speedrun-table-scroll { border: 3px solid #000; }

.speedrun-table th,
.speedrun-table td { border-color: #000;
 text-align: center;
 vertical-align: middle; }

.speedrun-table thead th[class] { border-color: #fff; }

#content main .speedrun-table a { font-weight: bold; }

#content main .speedrun-table tbody tr > td:last-child,
#content main .speedrun-table tbody tr > td:last-child a,
#content main .speedrun-table tbody tr > td:last-child a * { font-weight: 700 !important;
 font-synthesis: weight; }

#content main .speedrun-table tbody tr > td:last-child a,
#content main .speedrun-table tbody tr > td:last-child a:visited,
#content main .speedrun-table tbody tr > td:last-child a * { color: #1155cc !important; }

.speedrun-table .speedrun-recording-separator { color: #000;
 font-weight: normal;
 text-decoration: none; }

#content main .speedrun-table tbody tr > td:last-child { text-decoration: none; }

#content main .speedrun-table tbody tr > td:last-child a { text-decoration: underline; }

#content main .speedrun-table tbody tr > td:last-child a[href*="youtube.com"],
#content main .speedrun-table tbody tr > td:last-child a[href*="youtu.be"] { color: #c00000 !important; }

#content main .speedrun-table tbody tr > td:last-child a[href*="twitch.tv"] { color: #6441a5 !important; }

.speedrun-table tbody tr:nth-child(odd) > td:nth-child(5) { background-color: var(--run-time-odd); }

.speedrun-table tbody tr:nth-child(even) > td:nth-child(5) { background-color: var(--run-time-even); }

.speedrun-table tbody tr:nth-child(odd) > td:last-child { background-color: #ffe599; }

.speedrun-table tbody tr:nth-child(even) > td:last-child { background-color: #fff2cc; }

.speedrun-table-frame { position: relative;
 max-width: 100%;
 min-width: 0;
 margin-bottom: 24px;
 border: 3px solid #000;
 border-radius: var(--heading-radius, 16px);
 overflow: hidden;
 isolation: isolate;
 background: var(--sb-track-color); }

.speedrun-table-frame.has-horizontal-scrollbar { padding-bottom: var(--sb-size); }

.speedrun-table-frame > .speedrun-table-scroll { margin: 0;
 border: 0;
 border-radius: 0;
 scroll-behavior: auto; }

.custom-scrollbar--speedrun { position: absolute;
 left: 0;
 bottom: 0;
 width: 100%;
 z-index: 1; }
