.relay-overview {
  margin:8px;
  padding:9px 11px;
  border:1px solid #568c87;
  border-radius:7px 2px;
  background:linear-gradient(135deg,#1a3b40,#10282f);
}
.relay-overview p { margin:0; }
.relay-overview p strong { color:#ffe1a9; }
.relay-overview dl {
  display:flex;
  flex-wrap:wrap;
  gap:8px 14px;
  margin:7px 0 0;
}
.relay-overview dt,.final-district-report dt {
  color:#b7d4d3;
  font-size:12px;
}
.relay-overview dd,.final-district-report dd {
  margin:2px 0 0;
  color:#f1f8f5;
  font-size:15px;
  font-weight:700;
  font-variant-numeric:tabular-nums;
}
.relay-overview .relay-overview-leader {
  margin-top:7px;
  color:#b7d4d3;
  font-size:13px;
}
.relay-overview-leader time { color:#9ef0ce; white-space:nowrap; }
.relay-summary-empty { color:#b7d4d3; }
.hall-ranking tr.hall-ranking-own { background:#20535755; }
.hall-ranking tr.hall-ranking-own th:first-child,
.hall-ranking tr.hall-ranking-own td:first-child { box-shadow:inset 2px 0 #81d6c8; }
.relay-report-narrow { display:none; }

.relay-stage-result,.final-district-report {
  border:1px solid #4c7776;
  border-radius:7px 2px;
  background:#10292f;
}
.relay-stage-result>summary,.final-district-report>summary {
  padding:9px 11px;
  color:#ffe1a9;
  cursor:pointer;
  line-height:1.35;
}
.relay-stage-result>summary strong {
  display:inline-block;
  margin-inline-start:6px;
  color:#a6ebd6;
  font-size:13px;
  font-variant-numeric:tabular-nums;
}
.relay-stage-result[open]>summary,.final-district-report[open]>summary { border-bottom:1px solid #41666a; }
.relay-stage-result ul,.final-district-report ul {
  display:grid;
  gap:6px;
  padding:0;
  margin:8px;
  list-style:none;
}
.relay-stage-result li {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(100px,auto);
  gap:3px 7px;
  padding:6px 8px;
  border:1px solid #36565c;
  overflow-wrap:anywhere;
}
.relay-stage-result li.hall-ranking-own { border-color:#81d6c8; }
.relay-stage-result li span {
  display:block;
  margin-top:2px;
  color:#b7d4d3;
  font-size:12px;
}
.relay-stage-result li>small {
  color:#b7d4d3;
  grid-column:1/-1;
}
.relay-stage-result li>div:nth-child(2) {
  text-align:right;
  font-variant-numeric:tabular-nums;
}

.final-district-report { margin:8px; }
.final-district-report p { margin:10px; line-height:1.4; }
.final-district-report ul {
  grid-template-columns:repeat(auto-fit,minmax(min(100%,245px),1fr));
}
.final-district-report li {
  padding:8px 10px;
  border:1px solid #4c7776;
  overflow-wrap:anywhere;
}
.final-district-report li>strong { color:#ffe1a9; }
.final-district-report li>strong span { color:#a6ebd6; }
.final-district-report dl {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:7px 10px;
  margin:7px 0 0;
}
@media(max-width:720px) {
  .relay-report-full { display:none; }
  .relay-report-narrow { display:grid; gap:5px; margin:8px; }
}
