/* Same-pool rematch: readable team totals beside each other, one way back. */
#phaseOverlay[data-phase='final'][data-comparison='true'] .phase-card{width:min(760px,94vw);max-width:760px;bottom:3%;padding:20px 28px;text-shadow:none;}
#phaseOverlay[data-comparison='true'] #phaseTitle{font-size:clamp(28px,3.2vw,44px);color:#f2dfb5;margin:8px 0;}
#phaseOverlay[data-comparison='true'] #phaseDetails{font-size:17px;margin:8px 0 16px;}
.round-comparison[hidden]{display:none;}
.round-table{width:100%;table-layout:fixed;border-collapse:collapse;color:#eee8d7;font:500 20px/1.3 system-ui,sans-serif;text-align:center;}
.round-table caption{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;}
.round-table th,.round-table td{padding:8px 12px;border:0;border-bottom:1px solid #b6baab22;}
.round-table thead th{color:#e2c992;font:600 18px/1.4 Georgia,serif;border-bottom:1px solid #c3aa7055;}
.round-table th:first-child{width:40%;text-align:left;font-weight:500;}
.round-table td{font-variant-numeric:tabular-nums;}
.round-table .round-team th{padding:12px 12px 4px;border:0;font:600 22px/1.3 Georgia,serif;}
.round-team img{width:28px;height:30px;object-fit:contain;vertical-align:middle;margin-right:10px;}
.round-team[data-team='A'] th{color:#bceafa;}.round-team[data-team='B'] th{color:#ffbea3;}
.round-total tr:first-child th,.round-total tr:first-child td{padding-top:14px;}
.round-footnote{color:#bdc6c3;font:13px/1.4 system-ui,sans-serif;margin:9px 0 0;text-align:left;}
.saved-comparison{border-top:1px solid #c3aa7044;margin-top:18px;padding-top:8px;}
.saved-comparison summary{cursor:pointer;min-height:48px;align-content:center;color:#e2c992;font:500 21px Georgia,serif;}
.class-save-status{color:#f3d6a3;font:16px/1.5 system-ui,sans-serif;}
@media(max-height:800px){#phaseOverlay[data-phase='final'][data-comparison='true'] .phase-card{padding:12px 24px;bottom:1%;}.round-table th,.round-table td{padding:5px 10px;}.round-table .round-team th{padding-top:8px;}}
@media(max-width:600px){#phaseOverlay[data-phase='final'][data-comparison='true'] .phase-card{padding:12px 14px;}.round-table{font-size:17px;}.round-table th,.round-table td{padding:6px 5px;}.round-table thead th{font-size:17px;}.round-table .round-team th{font-size:20px;}.round-table th:first-child{width:40%;}.round-total td{font-size:15px;}.round-footnote{font-size:12px;}#phaseOverlay[data-comparison='true'] #phaseDetails{font-size:15px;}}
