.result-label{font-size:14px;font-weight:800;white-space:nowrap;color:#536374}.result-label.win,.match-resolution.win{color:#167438}.result-label.loss,.match-resolution.loss{color:#c32a32}.result-label.disputed,.match-resolution.disputed{color:#b95b00}.recent-row{gap:14px;align-items:center}.recent-row>div{flex:1;min-width:0}.recent-row small{display:block;color:#617080;font-size:13px;margin-top:5px}.match-details-link{border:1px solid #cdd7df;background:#fff;border-radius:4px;padding:8px 10px;color:#006bb5;cursor:pointer;font-size:13px}.live-entries{margin-top:24px}.live-entries table{width:100%}.match-timing{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:14px;background:#f0f4f7;border:1px solid #dbe2e8;border-radius:6px;margin:14px 0}.match-timing span{font-size:13px;color:#596d7d}.match-timing strong{display:block;color:#243746;font-size:15px;margin-top:4px}.match-side-label{display:block;font-size:12px;font-weight:800;color:#006fb9;letter-spacing:.04em}.assigned-nba{font-size:16px!important;font-weight:600;color:#243746!important}.report-receipt{font-size:13px;color:#617080}.match-resolution,.report-wait{border:1px solid #d8e0e7;background:#f5f8fa;border-radius:6px;padding:16px;margin:16px 0}.match-resolution p,.report-wait p{font-size:14px;line-height:1.5;margin:6px 0 0;color:#516271}#report-form{border-top:1px solid #d7e0e7;padding-top:18px;margin-top:18px}#room-dialog .team-draw{margin:18px 0}#room-dialog .nba-team{min-width:0}#room-dialog .nba-team h3{overflow-wrap:anywhere;font-size:20px}.my-team-button{margin-top:10px;width:100%}@media(max-width:600px){.recent-row{flex-wrap:wrap}.recent-row>div{flex-basis:65%}.match-details-link{margin-left:auto}.match-timing{grid-template-columns:1fr}.result-label{white-space:normal}}

.history-footer{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:14px 12px;border-top:1px solid #d8e0e7;background:#f5f7f9;font-size:14px;color:#617080}.history-note{font-size:13px;color:#617080;margin:0;padding:10px 12px;border-bottom:1px solid #d8e0e7}

.profile-recent:has(.history-scroll){padding:4px;min-height:0}
.history-scroll{height:204px;overflow:auto;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:#999 #f1f1f1;background:#f1f1f1}
.history-scroll.history-all{height:auto;max-height:520px}
.history-table{width:100%;border-collapse:collapse;table-layout:fixed;font-family:Arial,sans-serif;font-size:12px;line-height:1.25;color:#10212e;text-align:left}
.history-table td{height:25px;padding:4px 5px;border:0;vertical-align:middle;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.history-table tr:nth-child(odd){background:#f1f1f1}.history-table tr:nth-child(even){background:#f6f6f6}
.history-table td:nth-child(1){width:17%}.history-table td:nth-child(2){width:20%}.history-table td:nth-child(3){width:30%}.history-table td:nth-child(4){width:15%}.history-table td:nth-child(5){width:18%}
.history-head{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.history-link{font:inherit;color:#005bb7;background:none;border:0;padding:0;cursor:pointer;text-align:left;max-width:100%;overflow:hidden;text-overflow:ellipsis;vertical-align:middle}
.history-link:hover{text-decoration:underline}.history-link:focus-visible{outline:2px solid #0078cc;outline-offset:2px}
.history-table .result-label{font:700 12px Arial,sans-serif;white-space:nowrap}.history-table .win{color:#008000!important}.history-table .loss{color:#ed0000!important}.history-table .disputed{color:#b65b00!important}
.history-footer{padding:8px 5px;font-size:12px;background:#fff;border-top:0}.history-footer .inline-link{font-size:12px}
@media(max-width:600px){.history-table{min-width:560px}.history-scroll{height:204px}}

/* Keep the format heading aligned with its wider, single-line difficulty label. */
#finder-view .list-labels,#finder-view .match-row{grid-template-columns:minmax(120px,1fr) 145px 90px 110px}
#finder-view .match-difficulty{white-space:nowrap}
.cancellation-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.cancellation-actions .button{flex:1;min-width:0;padding:8px;font-size:13px}
.match-panel-body .cancellation-note{font-size:12px;margin-top:12px}
@media(max-width:960px){
 #finder-view .list-labels,#finder-view .match-row{grid-template-columns:minmax(120px,1fr) 135px 78px 92px}
}
@media(max-width:620px){
 #finder-view .match-row{grid-template-columns:minmax(0,1fr) 115px 77px}
 #finder-view .opponent,#finder-view .opponent>div{min-width:0}
 #finder-view .cancel-post{grid-column:3;grid-row:1/3}
}
