.scores-site {
    width: 750px;
    max-width: 100%;
    margin: 0 auto;
}
.scores-header, .scores-nav {
    display: flex;
    align-items: stretch;
}
.scores-header > img { width: 20.133333%; }
.scores-header > img:last-child { width: 21.466667%; }
.scores-header > a { width: 58.4%; }
.scores-header img { display: block; height: auto; max-width: 100%; }
.scores-nav { background: url("media/navbar/nav_background.gif"); height: 30px; }
.scores-nav > img, .scores-nav > a { min-width: 0; flex-shrink: 1; }
.scores-nav img { display: block; max-width: 100%; height: 30px; }
.scores-content {
    background: #473923;
    color: #ffcc66;
    text-align: center;
    padding-bottom: 25px;
    font-family: "Trebuchet MS", Verdana, sans-serif;
    font-size: 13px;
}
.scores-title { margin: 0; line-height: 0; }
.scores-title img { max-width: 100%; height: auto; }
.scores-lineup { max-width: 100%; height: auto; }
.scores-links a { display: block; margin: 5px 0; }
.scores-source { margin-top: 16px; overflow-wrap: anywhere; }
.scores-source button { margin-left: 8px; }
.scores-content button, #custom-server button {
    font: inherit;
    color: #ffefb0;
    background: #6c5630;
    border: 1px solid #a38345;
    padding: 4px 8px;
    cursor: pointer;
}
.scores-content button:hover, #custom-server button:hover { background: #80673c; }
.scores-content button:disabled { opacity: 0.5; cursor: default; }
.scores-content :focus-visible, #custom-server :focus-visible { outline: 2px solid #ffcc66; outline-offset: 2px; }
#scores-status { margin: 12px 10px; }
.scoreboards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 12px; padding: 10px; }
.scoreboards.scores-detail { grid-template-columns: minmax(0, 1fr); }
.score-board { min-width: 0; }
.score-board h2 { font: inherit; line-height: 1.5; margin: 0 0 5px; }
.score-segments { display: flex; flex-wrap: wrap; justify-content: center; gap: 3px; margin-bottom: 5px; }
.score-segments button { padding: 3px; font-size: 11px; background: transparent; border-color: transparent; text-decoration: underline; }
.score-segments button[aria-pressed="true"] { color: #ffcc66; border-bottom-color: #ffcc66; text-decoration: none; }
.score-board table { width: 100%; border-spacing: 2px; table-layout: fixed; font-size: 12px; }
.score-board th, .score-board td { text-align: left; padding: 5px 3px; overflow-wrap: anywhere; }
.score-board th { background: #6c5630; }
.score-board th:first-child { width: 30px; }
.score-board th:last-child { width: 66px; }
.score-board td:last-child, .score-board th:last-child { text-align: right; }
.score-board .score-empty { text-align: center; }
.score-full, .score-back { display: inline-block; margin-top: 14px; }
.score-search { display: block; margin: 12px auto; width: 220px; max-width: 90%; }
.score-paging { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 12px; }
#custom-server {
    box-sizing: border-box;
    width: 390px;
    max-width: calc(100% - 32px);
    border: 2px solid #a38345;
    border-radius: 0;
    background: #473923;
    color: #ffcc66;
    font: 13px "Trebuchet MS", Verdana, sans-serif;
    padding: 22px;
}
#custom-server::backdrop { background: rgb(0 0 0 / 65%); }
#custom-server h2 { font-size: 18px; margin: 0 0 18px; }
#custom-server label { display: block; margin-bottom: 8px; }
#custom-server input, .score-search { box-sizing: border-box; font: inherit; padding: 7px; }
#custom-server input { width: 100%; }
#custom-server-error { color: #ffcc66; overflow-wrap: anywhere; }
.scores-dialog-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }
@media (max-width: 600px) {
    .scoreboards { grid-template-columns: minmax(0, 1fr); }
}