#main .inner {min-width:0} .cup-round {border:1px solid #d9dfe2;border-radius:8px;margin:1em 0;padding:0.8em;min-width:0} .cup-round summary {cursor:pointer;font-weight:bold;color:#3d4449;font-size:1.15em;overflow-wrap:anywhere} .cup-round[open] summary {margin-bottom:1em} .cup-nav {margin:1em 0} .cup-nav select {max-width:100%;width:30em} .cup-table {width:100%;table-layout:auto} .cup-table td.cup-winner {background:#e1f2df!important;color:#254c28;font-weight:bold} .cup-gold > * {background:#fff2ce!important;color:#604a16} .cup-champion {background:#fff2ce;color:#604a16;border:1px solid #dfc16b;border-radius:8px;padding:1em;margin:1em 0;overflow-wrap:anywhere} .cup-round img {max-width:100%;height:auto} .cup-round p {overflow-wrap:anywhere} .cup-history {width:100%;table-layout:auto} .cup-history th {overflow-wrap:anywhere} .cup-empty {color:#737b80} @media(max-width:700px){#main,#main>.inner {min-width:0;max-width:100%} #main>.inner {padding-left:12px;padding-right:12px} #main img {max-width:100%;height:auto} .cup-round {padding:8px} .cup-table,.cup-table tbody {display:block;width:100%;min-width:0} .cup-table thead {position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)} .cup-table tr.cup-match {display:grid;grid-template-columns:repeat(5,minmax(0,1fr)) minmax(48px,1fr);gap:3px;margin:0 0 10px;padding:8px;border:1px solid #d9dfe2;border-radius:7px;background:white} .cup-table tr.cup-match td {display:block;width:auto!important;min-width:0;padding:5px!important;border:0!important;overflow-wrap:anywhere;white-space:normal;text-align:center} .cup-table .cup-home,.cup-table .cup-away {grid-column:1/6;text-align:left!important} .cup-table .cup-home {grid-row:1} .cup-table .cup-away {grid-row:2} .cup-table .cup-score {grid-column:6;grid-row:1/3;align-self:center;font-weight:bold;font-size:1.1em} .cup-table .cup-set {grid-row:3;font-size:.85em} .cup-table .cup-set:empty {display:none} .cup-table .cup-other {display:block;overflow-wrap:anywhere} .cup-table .cup-other td {display:block;width:auto!important} .cup-history th,.cup-history td {width:auto!important;padding:5px;overflow-wrap:anywhere} .cup-round table:not(.cup-table) {width:100%;table-layout:auto} .cup-round table:not(.cup-table) td,.cup-round table:not(.cup-table) th {width:auto!important;overflow-wrap:anywhere;padding:5px} }

/* Mobile: Satzergebnisse immer in einer Zeile, bei wenig Platz ganze Ergebnisse umbrechen. */
@media (max-width:700px) {
  .cup-table tr.cup-match { grid-template-columns: repeat(5,minmax(0,1fr)) minmax(52px,1fr); }
  .cup-table tr.cup-match td.cup-set, .cup-table tr.cup-match td.cup-score { white-space: nowrap !important; overflow-wrap: normal !important; word-break: normal !important; padding: 5px 0 !important; font-variant-numeric: tabular-nums; }
  .cup-table tr.cup-match td.cup-set { font-size: .85em; letter-spacing: -0.02em; }
}
@media (max-width:360px) {
  .cup-table tr.cup-match td.cup-set { font-size: .76em; }
  .cup-table tr.cup-match { padding: 4px; gap: 1px; }
}

/* Mobile Platzierungen: Platzspalte kompakt, Mannschaft erhält Restbreite. */
@media (max-width:700px) {
  .cup-round table.cup-history:has(tr.cup-gold) { table-layout: auto; }
  .cup-round table.cup-history:has(tr.cup-gold) tr > :first-child { width: 3.5em !important; white-space: nowrap; }
  .cup-round table.cup-history:has(tr.cup-gold) tr > :nth-child(2) { width: auto !important; overflow-wrap: normal; word-break: normal; }
  .cup-round table.cup-history:has(tr.cup-gold) tr > :nth-child(2) b { overflow-wrap: normal; word-break: normal; }
  .cup-round table.cup-history:has(tr.cup-gold) tr > th[colspan="5"]:last-child { display: none; }
}
