@font-face {
    font-family: Inter;
    src: url('../card/inter-latin.woff2?v=c940764593d0') format('woff2');
    font-weight: 100 900;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: Inter;
    src: url('../card/inter-cyrillic.woff2?v=aebf2ab4a4ce') format('woff2');
    font-weight: 100 900;
    font-display: swap;
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: Spectral;
    src: url('../card/spectral-latin-700.woff2?v=1125ec621f11') format('woff2');
    font-weight: 700;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: Spectral;
    src: url('../card/spectral-cyrillic-700.woff2?v=4ee603d108f6') format('woff2');
    font-weight: 700;
    font-display: swap;
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
:root {
    --background: 43 33% 93%;
    --foreground: 30 21% 7%;
    --card: 43 38% 97%;
    --surface: 43 30% 95%;
    --surface-2: 47 22% 92%;
    --border: 36 16% 80%;
    --muted: 38 11% 42%;
    --primary: 5 53% 32%;
    --success: 147 56% 28%;
    --danger: 2 62% 46%;
    --live: 2 68% 46%;
    --comparison-away: 29 52% 47%;
    --display: Spectral, Georgia, serif;
}
* {
    box-sizing: border-box;
}
html {
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
body {
    margin: 0;
    background: hsl(var(--background));
    color: hsl(var(--foreground));
    font: 400 14px/20px Inter, sans-serif;
    font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
    font-variation-settings: 'opsz' 32;
}
a {
    color: inherit;
    text-decoration: none;
}
button {
    font: inherit;
}
button, summary {
    color: inherit;
    cursor: pointer;
}
:focus-visible {
    outline: 2px solid hsl(var(--primary));
    outline-offset: 2px;
}
abbr {
    text-decoration: none;
    color: hsl(var(--muted) / .72);
}
[hidden] {
    display: none !important;
}
.visually-hidden, .skip:not(:focus) {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
.skip:focus {
    position: fixed;
    z-index: 4;
    inset: 4px auto auto 4px;
    background: hsl(var(--card));
    padding: 8px 12px;
}
.symbols {
    position: absolute;
    width: 0;
    height: 0;
}
.icon {
    width: 1em;
    height: 1em;
    flex: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}
.container {
    width: min(1136px, calc(100% - 48px));
    margin-inline: auto;
}
.site-header {
    position: sticky;
    top: 0;
    z-index: 2;
    background: hsl(var(--surface));
    border-bottom: 1px solid hsl(var(--border) / .6);
}
.header-row, .header-actions, .main-nav {
    display: flex;
    align-items: center;
}
.header-row {
    height: 64px;
    justify-content: space-between;
}
.brand {
    font: 700 20px/24px var(--display);
    letter-spacing: -.025em;
}
.brand span {
    color: hsl(var(--primary));
}
.main-nav {
    gap: 4px;
}
.main-nav a {
    position: relative;
    padding: 8px 12px;
    font-weight: 500;
    white-space: nowrap;
    color: hsl(var(--muted));
}
.main-nav .current {
    color: hsl(var(--foreground));
}
.main-nav .current::after {
    position: absolute;
    inset: auto 0 0;
    height: 2px;
    background: hsl(var(--primary));
    content: '';
}
.live-link::before {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 5px;
    background: hsl(var(--danger));
    content: '';
}
.header-actions {
    gap: 16px;
}
.icon-button {
    display: grid;
    font-size: 16px;
    width: 32px;
    height: 36px;
    place-items: center;
    color: hsl(var(--muted));
}
.sign-in {
    padding-inline: 8px;
    color: hsl(var(--muted));
    font-weight: 500;
}
.primary, .secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 9px 19px;
    font-weight: 600;
}
.primary {
    background: hsl(var(--primary));
    color: hsl(var(--card));
}
.secondary {
    width: 100%;
    background: transparent;
    border-color: hsl(var(--border));
    color: hsl(var(--muted));
    font-weight: 500;
}
.mobile-nav {
    display: none;
    position: relative;
}
.mobile-nav summary {
    list-style: none;
    font-size: 18px;
}
.mobile-nav nav {
    position: absolute;
    right: 0;
    width: 180px;
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: 8px;
    padding: 8px;
}
.mobile-nav a {
    display: block;
    padding: 6px 8px;
}
main {
    padding: 24px 0 48px;
}
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: hsl(var(--muted));
    margin-bottom: 17px;
}
.panel {
    border: 1px solid hsl(var(--border));
    border-radius: 12px;
    background: hsl(var(--card));
}
.team-form, .form-pills {
    display: inline-flex;
    align-items: center;
}
.team-form {
    gap: 8px;
    font-size: 11px;
    font-weight: 600;
    color: hsl(var(--muted));
}
.form-pills {
    gap: 4px;
}
.pill {
    display: inline-grid;
    width: 19px;
    height: 19px;
    place-items: center;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    color: hsl(var(--background));
}
.team-form .form-pills {
    gap: 2px;
}
.team-form .pill {
    width: 14px;
    height: 14px;
    border-radius: 3px;
    font-size: 9px;
}
.pill-w, .home-marker {
    background: hsl(var(--success));
}
.pill-l, .away-marker {
    background: hsl(var(--danger));
}
.pill-d, .draw-marker {
    background: hsl(var(--muted) / .4);
}
.team-form .pill-d {
    color: hsl(var(--foreground));
    background: hsl(var(--muted) / .2);
}

.site-feed-ad {
    margin-block: 16px;
}
.site-feed-ad a {
    display: inline-block;
    max-width: 100%;
}
.site-feed-ad img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

@media (max-width: 1023px) {
    .main-nav {
        display: none;
    }
    .mobile-nav {
        display: block;
    }
    .header-actions {
        gap: 8px;
    }
}

@media (max-width: 639px) {
    .sign-in, .register {
        display: none;
    }
    .container {
        width: calc(100% - 32px);
    }
}
