body {
    font-family: Verdana, sans-serif;
    background: white;
    color: #602900;
    margin: 0;
    font-family: "Jacquard 24", system-ui;
    font-family: "MedievalSharp";
    font-weight: 400;
    font-style: normal;
    font-size: 20px;
}

a {
    color: #602900;
    text-decoration: none;
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 16px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th {
    padding: 3px 4px;
    text-align: center;
    border-bottom: 2px solid #602900;
}
.cutoff-line {
    border-bottom: 2px dashed #602900;
    height: 2px;
}
td {
    padding: 0px 4px 0px 0px;
    text-align: left;
}

table.departed tbody tr {
    opacity: 0.6;
}

@media (max-width: 600px) {
    th,
    td {
        padding: 4px 6px;
        font-size: 14px;
    }
}

ul {
    padding-left: 0px;
    list-style: none;
    margin-top: 0;
}

li {
    text-decoration: none;
}

span {
    background-color: #602900;
    color: white;
    padding: 3px;
    font-size: 12px;
    text-transform: uppercase;
    font-family: "MedievalSharp", system-ui;
    border-radius: 4px;
    padding-bottom: 1px;
    vertical-align: 3px;
}


form.button_to {
    display: inline;
}

.debug {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 14px;
    background: #f9f9f9;
    padding: 10px;
    border-radius: 4px;
    margin: 10px;
}
a {
    color: #602900;
    text-decoration: none;
}

.inactive a {
    color: #777;
}

.competition-active a {
    color: #602900;
}

.competition-finished a {
    color: #888;
}

.competition-upcoming a {
    color: #888;
}

.badge {
    font-size: 10px;
    padding: 2px 6px;
    vertical-align: middle;
}

.badge-active {
    background: #2d7d2d;
}

.badge-finished {
    background: #888;
}

.badge-upcoming {
    background: #b8860b;
}

.popup-menu {
    position: relative;
    display: inline-block;
}

.popup-menu__trigger {
    font-size: 14px;
    padding: 4px 8px;
    cursor: pointer;
    background: #602900;
    color: white;
    border: none;
    border-radius: 4px;
}

.popup-menu__dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 100;
    min-width: 200px;
    background: white;
    border: 1px solid #602900;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin-top: 4px;
}

.popup-menu--visible {
    display: block;
}

.popup-menu__dropdown form.button_to {
    display: block;
    width: 100%;
}

.popup-menu__dropdown form.button_to input[type="submit"] {
    display: block;
    width: 100%;
    padding: 8px 12px;
    background: none;
    border: none;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 14px;
    color: #602900;
    text-align: left;
    cursor: pointer;
}

.popup-menu__dropdown form.button_to input[type="submit"]:hover {
    background: #f0e6d3;
}

nav {
    font-size: 22px;
}

h5 {
    margin-bottom: 0px;
}

.fixture {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    align-items: center;
    column-gap: 12px;
    row-gap: 2px;
    padding: 4px 0;
}
.fixture__name--home { text-align: left; }
.fixture__name--away { text-align: right; }
.fixture__side--home { color: var(--home-color); }
.fixture__side--away { color: var(--away-color); }
.fixture__winpct { font-size: 14px; }
.fixture__winpct--home { text-align: left; }
.fixture__winpct--away { text-align: right; }
.fixture__odds { text-align: center; grid-column: 2; font-size: 14px; }
.fixture__slider { width: 100%; }

:root {
    --home-color: #602900;
    --away-color: #862EA6;
}

.fixture__slider {
    appearance: none;
    -webkit-appearance: none;
    height: 6px;
    border-radius: 3px;
    background: linear-gradient(to right, var(--away-color) var(--fill, 50%), var(--home-color) var(--fill, 50%));
    outline: none;
}
.fixture__slider::-webkit-slider-thumb {
    appearance: none;
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #602900;
    cursor: pointer;
}
.fixture__slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #602900;
    cursor: pointer;
}
.fixture__slider::-moz-range-track {
    background: linear-gradient(to right, var(--away-color) var(--fill, 50%), var(--home-color) var(--fill, 50%));
    height: 6px;
    border-radius: 3px;
}

.utility td {
    opacity: 0.45;
    font-size: 14px;
    font-style: italic;
    border-top: 1px solid #ccc;
}
