.team-tie { margin-top: 10px; border-top: 1px solid #e1e1e1; font-family: Inter, sans-serif; font-size: 13px; text-align: left; }
.team-tie summary { display: flex; align-items: center; gap: 6px; list-style: none; cursor: pointer; padding: 10px 0; font-weight: 700; color: #555; }
.team-tie summary::-webkit-details-marker { display: none; }
.team-tie-chevron { width: 16px; height: 16px; flex: 0 0 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.team-tie[open] > summary .team-tie-chevron { transform: rotate(90deg); }
.team-tie summary:hover, .team-tie summary:focus-visible { color: #c52026; }
.team-tie-count { margin-left: 7px; font-size: 11px; color: #777; }
.team-rubbers { list-style: none; padding: 0; margin: 0; }
.team-rubber { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto minmax(0, 1fr); gap: 7px 10px; padding: 10px 0; border-top: 1px solid #eee; align-items: center; }
.team-rubber-player { min-width: 0; overflow-wrap: anywhere; }
.team-rubber > .team-rubber-player:nth-child(2) { text-align: right; }
.team-rubber-score { text-align: center; }
.team-rubber-player a { color: inherit; text-decoration: none; }
.team-rubber-player a:hover { text-decoration: underline; }
.team-rubber-order { color: #777; font-size: 11px; }
.team-rubber-score { font-weight: 700; white-space: nowrap; }
.team-rubber-detail { grid-column: 2 / -1; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; color: #666; font-size: 11px; text-align: center; }
.team-lineup-pending { padding-bottom: 10px; color: #777; }
.event-match-card:has(> .team-tie) { flex-wrap: wrap; }
.event-match-card > .team-tie { flex-basis: 100%; width: 100%; }
.team-appearance-context { display: block; margin-top: 8px; color: #777; font-size: 11px; }
.team-group-standings { width: 100%; border-collapse: collapse; font-size: 13px; margin-bottom: 14px; }
.team-group-standings th, .team-group-standings td { padding: 9px; text-align: left; border-bottom: 1px solid #ddd; }
.team-group-standings th { background: #f3f3f3; }
.event-draw-card .team-tie { position: relative; z-index: 2; margin: 0; padding: 0 12px; background: white; }
.event-draw-card .team-tie summary { padding: 12px 0; font-size: 11px; line-height: 1.4; }
.event-draw-card .team-lineup-pending { margin: 0; padding: 0 0 12px; font-size: 11px; line-height: 1.5; }
.event-draw-scroll .team-draw-card { display: grid; grid-template-rows: repeat(2, minmax(42px, 1fr)) auto; }
.event-draw-scroll .team-draw-card > .event-node-player { min-height: 42px; height: 100%; box-sizing: border-box; }
.event-draw-card .team-rubber { grid-template-columns: 14px minmax(0, 1fr) auto; gap: 6px; font-size: 11px; }
.event-draw-card .team-rubber > .team-rubber-player:nth-child(2) { text-align: left; }
.event-draw-card .team-rubber-player:nth-of-type(4) { grid-column: 2; }
.event-draw-card .team-rubber-score { grid-column: 3; grid-row: span 2; align-self: center; }
.event-draw-card .team-rubber-detail { justify-content: flex-start; text-align: left; }
.event-draw-card:has(.team-tie[open]) { z-index: 5; }
@media (max-width: 680px) {
  .team-rubber { grid-template-columns: 14px minmax(0, 1fr) auto; gap: 6px; font-size: 12px; }
  .team-rubber > .team-rubber-order { grid-column: 1; grid-row: 1 / span 2; }
  .team-rubber > .team-rubber-player:nth-child(2) { grid-column: 2; grid-row: 1; text-align: left; }
  .team-rubber > .team-rubber-player:nth-child(4) { grid-column: 2; grid-row: 2; text-align: left; }
  .team-rubber > .team-rubber-score { grid-column: 3; grid-row: 1 / span 2; }
  .team-rubber-detail { grid-row: 3; }
}
