.site-main { min-height: 64vh; padding-top: 25px; padding-bottom: 48px }
.site-main h1 { margin: 12px 0 8px; font: 700 clamp(28px, 4vw, 36px)/1.12 var(--display); letter-spacing: -.028em }
.site-main h2 { margin: 28px 0 12px; font: 700 19px/1.3 var(--display) }
.site-lede { max-width: 66ch; color: hsl(var(--muted)); margin: 0 0 18px }
.site-crumb, .site-chips, .site-search { display: flex; align-items: center; flex-wrap: wrap; gap: 8px }
.site-crumb { color: hsl(var(--muted)); font-size: 13px; margin-bottom: 13px }
.site-crumb a:hover, .site-footer a:hover { color: hsl(var(--primary)) }
.site-search { margin: 18px 0; align-items: stretch }
.site-search input, .site-account input, .site-account textarea, .site-account select { min-width: 0; padding: 10px 12px; border: 1px solid hsl(var(--border)); border-radius: 8px; background: hsl(var(--card)); font: inherit; color: inherit }
.site-search input[type=search] { width: min(100%, 448px) }
.site-search .primary, .site-account .primary { padding: 10px 16px }
.site-grid, .site-fixtures { list-style: none; padding: 0; margin: 0 }
.site-grid { display: grid; gap: 8px; grid-template-columns: repeat(3, minmax(0, 1fr)) }
.site-grid li { min-width: 0 }
.site-card { display: flex; align-items: center; gap: 12px; height: 100%; min-height: 58px; padding: 12px; border-radius: 8px; border: 1px solid hsl(var(--border)); background: hsl(var(--card)) }
.site-card:hover { border-color: hsl(var(--primary)); color: hsl(var(--primary)) }
.site-card img, .fixture-team img, .site-entity img { object-fit: contain; flex: none }
.site-card small { display: block; color: hsl(var(--muted)); margin-top: 2px }
.site-empty { color: hsl(var(--muted)); padding: 16px 0 }
.site-chips { margin: 16px 0 }
.profile-link-list { list-style: none; padding: 0; align-items: baseline; row-gap: 12px }
.profile-link-list a { display: inline-block }
.site-chips a { padding: 7px 12px; border-radius: 8px; background: hsl(var(--card)); color: hsl(var(--muted)); border: 1px solid hsl(var(--border)) }
.site-chips [aria-current=page] { color: hsl(var(--card)); background: hsl(var(--primary)); border-color: hsl(var(--primary)) }
.site-entity { display: flex; align-items: center; gap: 16px; margin-block: 12px 20px }
.site-entity h1, .site-entity .site-lede { margin-bottom: 4px }
.site-table-wrap { overflow: auto; border: 1px solid hsl(var(--border)); border-radius: 8px }
.site-table { width: 100%; border-collapse: collapse; background: hsl(var(--card)); text-align: left }
.site-table td, .site-table th { padding: 9px; border-bottom: 1px solid hsl(var(--border)); white-space: nowrap }
.site-table tr:last-child td, .site-table tbody tr:last-child th { border-bottom: 0 }
.site-facts { display: flex; flex-wrap: wrap; gap: 20px; margin: 12px 0 }
.site-facts dd { margin: 4px 0; font-weight: 700 }
.fixture-group { border: 1px solid hsl(var(--border)); background: hsl(var(--card)); border-radius: 8px; overflow: hidden; margin-bottom: 12px }
.fixture-group h2 { margin: 0; padding: 8px 12px; background: hsl(var(--surface-2)); font-size: 16px }
.site-account { max-width: 448px; margin: clamp(30px, 8vh, 75px) auto }
.site-account h1, .site-account .account-intro { text-align: center }
.site-account .account-intro { margin-bottom: 26px }
.site-account form, .site-account label { display: grid; gap: 7px }
.site-account form { gap: 15px }
.site-account input, .site-account textarea, .site-account select { width: 100%; background: hsl(var(--surface-2)) }
.site-account .account-pair { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px }
.site-account .account-help { display: flex; justify-content: space-between; gap: 8px }
.site-account a, .site-prose a { color: hsl(var(--primary)); text-decoration: underline }
.site-error { color: hsl(var(--danger)); padding-left: 18px }
.site-prose { max-width: 75ch; line-height: 1.65 }
@media (max-width: 900px) { .site-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) } }
@media (max-width: 560px) { .site-main { padding-top: 18px } .site-grid { grid-template-columns: minmax(0,1fr) } }
.site-forecast { margin: 12px 0; padding: 12px 16px; background: hsl(var(--card)); border: 1px solid hsl(var(--border)); border-radius: 8px }
.site-forecast h2 { margin: 0 0 5px }
.site-forecast p { margin: 4px 0 }
.site-card[aria-current=true] { border-color: hsl(var(--primary)); color: hsl(var(--primary)) }
.site-main:has(.account-form) { min-height: calc(100svh - 65px); padding-top: 0 }
.account-form { margin: 0 auto; padding-top: min(15.1vh, 151px) }
.account-form h1 { font-size: 24px; letter-spacing: -.01em; margin: 0 0 9px }
.account-form .account-intro { color: hsl(var(--muted)); margin: 0 0 30px }
.account-form a { text-decoration: none }
.account-form a:hover { text-decoration: underline }
.account-form .account-help a { color: hsl(var(--muted)); font-size: 12px }
.account-form input, .account-form .primary, .account-provider { min-height: 44px }
.account-alternative { display: flex; align-items: center; gap: 12px; margin: 22px 0 15px; color: hsl(var(--muted)); font-size: 12px }
.account-alternative::before, .account-alternative::after { content: ''; height: 1px; flex: 1; background: hsl(var(--border)) }
.account-provider { justify-content: center; margin-bottom: 10px }

.site-main [hidden] { display: none !important }
.site-main.site-match-pages { padding-top: 24px }
.site-match-pages h1 { margin: 0; font-size: 30px; line-height: 36px }
.site-match-pages .site-crumb { margin-bottom: 16px; font-size: 14px }
.site-match-pages .site-crumb [aria-current] { color: hsl(var(--foreground)); font-weight: 500 }
.home-intro {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 4px 16px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid hsl(var(--border) / .6);
}
.home-intro p, .matches-intro p { margin: 0; color: hsl(var(--muted)) }
.home-live-count, .matches-filters [data-match-filter=live]:not([aria-pressed=true]) { color: hsl(var(--live)) }
.home-hub { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px 24px }
.home-leagues { display: none }
.home-leagues nav { position: sticky; top: 80px }
.home-leagues h2 { margin: 0 4px 8px; color: hsl(var(--muted)); font-size: 11px; line-height: 16px; letter-spacing: .12em; text-transform: uppercase }
.home-leagues ul, .home-cappers, .site-footer ul { list-style: none; padding: 0; margin: 0 }
.home-leagues li + li { margin-top: 2px }
.home-leagues a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; color: hsl(var(--muted)) }
.home-leagues a:hover { background: hsl(var(--surface)); color: hsl(var(--foreground)) }
.home-more, .home-leagues a.home-more { color: hsl(var(--primary)); font-weight: 500 }
.home-leagues .home-more { margin-top: 6px }
.home-more:hover { text-decoration: underline }

.home-board-controls { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 12px }
.home-board-controls .home-more, .home-lower-heading .home-more { display: inline-flex; align-items: center; gap: 4px }
.home-board-controls .icon, .home-lower-heading .icon { width: 14px; height: 14px }
.home-board-tabs { display: flex; flex-wrap: wrap; gap: 6px }
.home-board-tabs button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 0;
    border-radius: 99px;
    padding: 6px 14px;
    background: hsl(var(--surface-2));
    color: hsl(var(--muted));
    font-weight: 600;
    cursor: pointer;
}
.home-board-tabs button i { width: 6px; height: 6px; border-radius: 50%; background: hsl(var(--live)) }
.home-board-tabs button span { opacity: .75; font-variant-numeric: tabular-nums }
.home-board-tabs button:disabled { cursor: default; background: transparent; color: hsl(var(--muted) / .5) }
.home-board-tabs button[aria-selected=true], .matches-dates [aria-current=page], .matches-filters [aria-pressed=true] {
    background: hsl(var(--primary));
    color: hsl(var(--card));
}
.home-board-tabs button[aria-selected=true] i { background: currentColor }
.home-board-panel { overflow: hidden; border: 1px solid hsl(var(--border)); border-radius: 12px; background: hsl(var(--card)) }
.home-board-panel .match-list-group { margin: 0 }
.home-board-panel .match-list-group + .match-list-group { border-top: 1px solid hsl(var(--border)) }
.home-board-panel .match-list-league { padding: 6px 12px; background: hsl(var(--surface) / .72); border-bottom: 1px solid hsl(var(--border) / .6) }
.home-board-panel .match-list-league h2 { font: 700 11px/16px Inter, sans-serif; letter-spacing: .04em; text-transform: uppercase }
.home-board-panel .match-list-country::before { content: '· '; }
.home-board-panel .site-fixtures { border: 0; border-radius: 0 }
.home-board-empty { display: grid; justify-items: center; gap: 12px; padding: 48px 16px; text-align: center }
.home-board-empty p { margin: 0; font-weight: 600 }

.match-list-group { margin-bottom: 16px }
.match-list-league { display: flex; align-items: center; gap: 8px; min-height: 30px; padding: 0 4px 5px }
.match-list-league h2 { min-width: 0; margin: 0; overflow: hidden; color: hsl(var(--foreground)); font: 700 13px/18px var(--display); text-overflow: ellipsis; white-space: nowrap }
.match-list-league img, .match-list-team img, .home-mini-table img { flex: none; object-fit: contain }
.match-list-logo-empty { flex: none; width: 16px; height: 16px; border-radius: 4px; background: hsl(var(--border) / .42) }
.match-list-star { color: #a7651a; fill: currentColor }
.match-list-country, .match-list-count { color: hsl(var(--muted)); font-size: 12px }
.match-list-count { margin-left: auto }
.match-browser .site-fixtures, .site-entity ~ .site-fixtures { overflow: hidden; border: 1px solid hsl(var(--border)); border-radius: 12px }
.site-fixtures li + li { border-top: 1px solid hsl(var(--border) / .55) }
.match-list-link {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) 36px;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 6px 12px;
}
.match-list-link:hover { background: hsl(var(--surface)) }
.match-list-status { color: hsl(var(--muted)); font-size: 12px; font-weight: 600; text-align: center; font-variant-numeric: tabular-nums }
.match-list-participants { display: grid; grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr); align-items: center; gap: 8px }
.match-list-team { display: flex; align-items: center; gap: 7px; min-width: 0 }
.match-list-team > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.match-list-home { flex-direction: row-reverse }
.match-list-result { display: flex; justify-content: center; white-space: nowrap; font-variant-numeric: tabular-nums }
.match-list-unplayed { color: hsl(var(--muted) / .55) }
.match-list-live .match-list-result, .match-list-live .match-list-status { color: hsl(var(--live)) }
.match-list-picks { display: flex; justify-content: flex-end; align-items: center; gap: 4px; color: hsl(var(--muted)); font-size: 11px; font-variant-numeric: tabular-nums }
.match-list-picks .icon { width: 13px; height: 13px }
.home-board .match-list-link { grid-template-columns: 40px minmax(0, 1fr) auto; min-height: 54px; gap: 10px }
.home-board .match-list-status { font-size: 11px }
.home-board .match-list-no-picks { display: none }

.home-rail { display: grid; gap: 32px; align-content: start }
.home-rail-heading, .home-lower-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 8px 16px }
.home-rail-heading { margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid hsl(var(--foreground)) }
.home-rail-heading h2, .home-lower-heading h2 { margin: 0 }
.home-rail-heading h2 { font-size: 16px; line-height: 24px }
.home-rail-heading a { font-size: 12px }
.home-cappers li + li, .home-mini-table tr + tr { border-top: 1px solid hsl(var(--border) / .6) }
.home-cappers a { display: flex; align-items: center; gap: 12px; min-height: 55px; padding: 8px 0 }
.home-capper-rank { width: 16px; text-align: center; font-size: 12px; font-weight: 700; color: hsl(var(--muted)) }
.home-capper-avatar { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: #576941; color: hsl(var(--card)); font-family: var(--display); object-fit: cover }
.home-cappers li:nth-child(3n+2) .home-capper-avatar { background-color: #305e59 }
.home-cappers li:nth-child(3n+3) .home-capper-avatar { background-color: #633a30 }
.home-capper-copy { display: grid; min-width: 0; flex: 1 }
.home-capper-copy strong { overflow: hidden; white-space: nowrap; text-overflow: ellipsis }
.home-capper-copy small { color: hsl(var(--muted)); font-size: 12px; line-height: 17px }
.home-capper-roi { flex: none; font-variant-numeric: tabular-nums }
.home-roi-up { color: hsl(var(--success)) }
.home-roi-down { color: hsl(var(--danger)) }
.home-mini-table { width: 100%; border-collapse: collapse; text-align: left }
.home-mini-table td, .home-mini-table th { padding: 8px 0; font-variant-numeric: tabular-nums }
.home-mini-table th { width: 78%; font-weight: 400 }
.home-mini-table th a { display: flex; align-items: center; gap: 6px }
.home-mini-table td { padding-right: 8px; color: hsl(var(--muted)) }
.home-mini-table td:last-child { padding-right: 0; color: hsl(var(--foreground)); text-align: right }
.home-lower-section { margin-top: 48px; padding-top: 32px; border-top: 1px solid hsl(var(--border) / .6) }
.home-lower-heading { margin-bottom: 20px }
.home-news { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px }
.home-news-lead { grid-column: 1 / -1 }
.home-news-cover { position: relative; display: block }
.home-news-cover img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px }
.home-news-cover span { position: absolute; left: 8px; top: 8px; padding: 2px 8px; border-radius: 4px; color: hsl(var(--card)); background: hsl(var(--primary)); font-size: 10px; font-weight: 700; text-transform: uppercase }
.home-news-card h3 { margin: 8px 0 6px; font: 700 16px/1.35 var(--display) }
.home-news-card p, .home-news-card time { margin: 0; color: hsl(var(--muted)) }
.home-news-card time { display: block; margin-top: 6px; font-size: 12px }
.home-news-card:hover h3, .home-mini-table a:hover, .home-cappers a:hover .home-capper-copy strong { color: hsl(var(--primary)) }

.matches-intro { margin-bottom: 20px }
.matches-intro p { margin-top: 4px }
.matches-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px }
.matches-dates { display: flex; gap: 4px; max-width: 100%; overflow-x: auto; scrollbar-width: none }
.matches-dates a, .matches-filters button { padding: 8px 14px; border-radius: 8px; color: hsl(var(--muted)); font-weight: 500; white-space: nowrap }
.matches-search { display: flex; flex: 0 0 208px; align-items: center; gap: 8px; min-height: 36px; padding: 0 12px; border: 1px solid hsl(var(--border)); border-radius: 8px; background: hsl(var(--card)) }
.matches-search:focus-within { outline: 2px solid hsl(var(--primary)); outline-offset: 1px }
.matches-search .icon { color: hsl(var(--muted)); flex: none }
.matches-search input { width: 100%; border: 0; outline: none; background: transparent; color: inherit; font: inherit }
.matches-timezone { display: flex; gap: 4px; align-items: center; margin-bottom: 12px; color: hsl(var(--muted)); font-size: 12px }
.matches-timezone div { display: flex; border: 1px solid hsl(var(--border)); border-radius: 8px; padding: 2px }
.matches-timezone button { border: 0; border-radius: 5px; padding: 0 8px; background: transparent; color: inherit; font: inherit; cursor: pointer }
.matches-timezone button[aria-pressed=true] { background: hsl(var(--primary)); color: hsl(var(--card)) }
.matches-filters { display: flex; gap: 6px; margin-bottom: 16px }
.matches-filters button { display: flex; gap: 6px; align-items: center; border: 0; background: transparent; cursor: pointer }
.matches-filters button span { opacity: .68; font-size: 12px }
.matches-filters .icon, .match-list-star { width: 13px; height: 13px }
.matches-dates a:not([aria-current=page]):hover, .matches-filters button:not([aria-pressed=true]):hover { background: hsl(var(--surface-2)); color: hsl(var(--foreground)) }

.home-board .match-list-participants {
    grid-template: repeat(2, minmax(20px, auto)) / minmax(0, 1fr) auto;
    gap: 2px 8px;
    padding-left: 10px;
    border-left: 1px solid hsl(var(--border) / .6);
}
.home-board .match-list-home { grid-area: 1 / 1; flex-direction: row }
.home-board .match-list-away { grid-area: 2 / 1 }
.home-board .match-list-result { grid-area: 1 / 2 / 3; display: grid; grid-template-rows: 1fr 1fr; align-items: center; row-gap: 2px }
.home-board .match-list-score-divider, .home-board .match-list-unplayed { display: none }

.site-footer { background: hsl(var(--surface)); border-top: 1px solid hsl(var(--border)); color: hsl(var(--muted)); margin-top: 16px }
.site-footer-columns { display: grid; gap: 40px 32px; padding-block: 48px }
.site-footer-brand .brand { color: hsl(var(--foreground)); font-size: 24px }
.site-footer-brand p { max-width: 32ch; margin-top: 12px }
.site-footer-columns nav p { margin: 0 0 14px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase }
.site-footer-columns li + li { margin-top: 10px }
.site-footer-bottom { border-top: 1px solid hsl(var(--border) / .6); font-size: 12px }
.site-footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-block: 20px }
.site-footer-bottom p { margin: 0 }

.account-password { display: grid; gap: 7px }
.account-password-input { position: relative }
.account-password-input input { padding-right: 42px }
.account-password-input .icon-button { position: absolute; inset: 4px 2px 4px auto; width: 36px; height: auto; border: 0; background: transparent; cursor: pointer }

@media (min-width: 640px) {
    .site-footer-columns { grid-template-columns: repeat(2, minmax(0, 1fr)) }
    .site-footer-brand { grid-column: 1 / -1 }
}
@media (min-width: 1024px) {
    .home-hub { grid-template-columns: 180px minmax(0, 1fr) }
    .home-leagues { display: block }
    .home-rail { grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)) }
    .home-news { grid-template-columns: 1.4fr 1fr 1fr; grid-auto-flow: dense }
    .home-news-lead { grid-column: auto; grid-row: span 2 }
    .site-footer-columns { grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr)) }
    .site-footer-brand { grid-column: auto }
}
@media (min-width: 1024px) and (max-width: 1279px) {
    .site-header .main-nav a { padding-inline: 8px }
    .site-header .header-actions { gap: 8px }
}
@media (min-width: 1280px) {
    .home-hub { grid-template-columns: 180px minmax(0, 1fr) 300px }
    .home-rail { grid-column: auto; grid-template-columns: minmax(0, 1fr); position: sticky; top: 80px; align-self: start }
}
@media (max-width: 1023px) {
    .site-header .mobile-nav { position: static }
    .site-header .mobile-nav nav {
        inset: 64px 0 auto;
        width: auto;
        max-height: calc(100dvh - 64px);
        overflow: auto;
        border-radius: 0;
        padding: 12px max(16px, calc((100vw - 1136px) / 2));
        background: hsl(var(--surface));
    }
    .mobile-nav nav a { padding: 12px }
    .mobile-nav-account { display: flex; gap: 8px; border-top: 1px solid hsl(var(--border) / .6); padding-top: 12px }
    .mobile-nav-account a { flex: 1; display: flex }
}
@media (max-width: 639px) {
    .site-match-pages h1 { font-size: 24px; line-height: 32px }
    .home-intro { flex-direction: column }
    .home-board .match-list-picks, .match-browser .match-list-picks { display: none }
    .matches-toolbar { flex-direction: column; align-items: stretch }
    .matches-search { flex: none }
    .match-browser .match-list-link { grid-template-columns: 58px minmax(0, 1fr); gap: 10px; padding: 8px 12px; min-height: 62px }
    .match-browser .match-list-participants { grid-template: repeat(2, minmax(20px, auto)) / minmax(0, 1fr) auto; gap: 2px 8px }
    .match-browser .match-list-home { grid-area: 1 / 1; flex-direction: row }
    .match-browser .match-list-away { grid-area: 2 / 1 }
    .match-browser .match-list-result { grid-area: 1 / 2 / 3; display: grid; grid-template-rows: 1fr 1fr; align-items: center; row-gap: 2px }
    .match-browser .match-list-score-divider, .match-browser .match-list-unplayed { display: none }
    .site-fixtures .match-list-team { font-size: 13px }
    .home-board .match-list-team, .match-browser .match-list-team { font-size: 14px }
}

.site-main:has(.directory-page) { padding-top: 24px }
.directory-page .site-crumb { margin-bottom: 16px; font-size: 14px }
.directory-page .site-crumb [aria-current] { color: hsl(var(--foreground)); font-weight: 500 }
.directory-intro { margin-bottom: 24px }
.directory-intro h1 { margin: 0; font-size: 30px; line-height: 36px }
.directory-intro p { margin: 4px 0 0; max-width: none }
.directory-intro a { color: hsl(var(--primary)) }
.directory-search { width: min(100%, 448px); min-height: 42px; margin-bottom: 24px }
.directory-section + .directory-section { margin-top: 32px }
.directory-section h2 { margin: 0 0 14px; font-size: 18px; line-height: 24px }
.directory-section h2 a:hover { color: hsl(var(--primary)) }
.directory-section h3 { margin: 16px 0 10px; color: hsl(var(--muted)); font: 700 13px/18px var(--display); text-transform: uppercase; letter-spacing: .14em }
.directory-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin: 0; padding: 0; list-style: none }
.directory-grid li { min-width: 0 }
.directory-card { display: flex; height: 100%; min-width: 0; align-items: center; gap: 12px; min-height: 58px; padding: 12px 14px; border: 1px solid hsl(var(--border)); border-radius: 12px; background: hsl(var(--card)) }
.directory-card:hover { border-color: hsl(var(--primary) / .45) }
.directory-picture { display: grid; place-items: center; width: 32px; height: 32px; flex: none; color: hsl(var(--muted)) }
.directory-picture:has(svg) { border-radius: 50%; background: hsl(var(--surface)); }
.directory-picture img { width: 100%; height: 100%; object-fit: contain }
.directory-picture-round { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; background: hsl(var(--surface)) }
.directory-picture-round img { object-fit: cover }
.directory-card-copy { display: block; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis }
.directory-card-copy strong { font-weight: 500 }
.directory-card small { color: hsl(var(--muted)); font-size: 12px }
.directory-card-copy small, .directory-count { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; line-height: 16px }
.directory-stat { flex: none; text-align: right; font-variant-numeric: tabular-nums }
.directory-stat .directory-count { font-size: 11px }
.directory-injury { display: inline-block; width: 6px; height: 6px; margin-left: 3px; border-radius: 50%; background: hsl(var(--danger)) }
.directory-chevron { flex: none; color: hsl(var(--muted) / .5) }
.directory-countries .directory-card { border-radius: 8px; min-height: 42px; padding-block: 10px }
.directory-countries .directory-picture { width: 26px; height: 18px; border-radius: 4px; background: hsl(var(--surface-2)) }
.directory-countries .directory-picture img { object-fit: cover }
.directory-list-header { display: flex; align-items: baseline; justify-content: space-between; gap: 8px }
.directory-list-header > span { color: hsl(var(--muted)); font-variant-numeric: tabular-nums }
.directory-pager { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; justify-content: center; margin: 24px 0 0 }
.directory-pager a { display: inline-flex; min-width: 36px; min-height: 36px; align-items: center; justify-content: center; padding: 6px 10px; color: hsl(var(--muted)); border-radius: 8px }
.directory-pager a:hover { background: hsl(var(--surface-2)) }
.directory-pager [aria-current=page] { background: hsl(var(--primary)); color: hsl(var(--card)) }

@media (max-width: 639px) {
    .directory-intro h1 { font-size: 24px; line-height: 32px }
    .directory-list-header { flex-wrap: wrap; row-gap: 0 }
}
@media (min-width: 640px) {
    .directory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) }
    .directory-card-copy strong { display: inline; white-space: nowrap }
}
@media (min-width: 1024px) {
    .directory-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) }
}

.site-legal, .site-about { width: min(100%, 768px); margin-inline: auto; padding-top: 20px }
.site-legal h1, .site-about h1 { margin-top: 0 }
.site-legal { font-size: 16px; line-height: 1.65 }
.site-legal h2 { margin-top: 32px; font-size: 22px }
.site-legal li + li { margin-top: 6px }
.site-about-lead { margin: 16px 0 0; color: hsl(var(--muted)); font-size: 18px; line-height: 1.65 }
.site-about-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 40px }
.site-about-card, .site-about-contacts { border: 1px solid hsl(var(--border)); border-radius: 12px; padding: 20px; background: hsl(var(--card)) }
.site-about-card .icon { width: 24px; height: 24px; margin-bottom: 10px; color: hsl(var(--primary)) }
.site-about-card h2 { margin: 0; font: 600 14px/20px Inter, sans-serif }
.site-about-card p, .site-about-contacts p { margin: 7px 0 0; color: hsl(var(--muted)); line-height: 1.6 }
.site-about-contacts { margin-top: 40px; padding: 24px; background: hsl(var(--surface)) }
.site-about-contacts h2 { margin: 0 }
.site-about-contacts a { color: hsl(var(--primary)) }
.site-about-note { margin: 32px 0 0; color: hsl(var(--muted)); font-size: 12px }
@media (min-width: 640px) {
    .site-about-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) }
}

.site-main:has(.entity-profile) { padding-top: 24px }
.entity-profile .site-crumb { margin-bottom: 16px; font-size: 14px }
.entity-profile .site-crumb [aria-current] { color: hsl(var(--foreground)); font-weight: 500 }
.profile-heading { display: flex; align-items: center; gap: 16px; min-height: 90px; margin-bottom: 20px; padding: 16px 20px; border: 1px solid hsl(var(--border)); border-radius: 16px; background: hsl(var(--card)) }
.profile-emblem { display: grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: 12px; overflow: hidden; color: hsl(var(--muted)); }
.profile-emblem:not(:has(img)) { background: hsl(var(--surface)) }
.profile-emblem .icon { width: 28px; height: 28px }
.profile-emblem img { width: 100%; height: 100%; object-fit: contain }
.profile-title { flex: 1; min-width: 0 }
.profile-title h1 { margin: 0; font-size: 26px; line-height: 1.16 }
.profile-title p { margin: 7px 0 0; color: hsl(var(--muted)); font-size: 12px }
.profile-team-link { display: inline-block; margin-top: 8px; font-weight: 500 }
.profile-team-link:hover { color: hsl(var(--primary)) }
.profile-season { display: flex; flex: none; align-items: center; gap: 8px; color: hsl(var(--muted)); }
.profile-season > span { text-transform: uppercase; font-size: 12px }
.profile-season details { position: relative }
.profile-season summary { display: flex; gap: 6px; align-items: center; min-height: 38px; justify-content: center; padding: 6px 10px 6px 12px; border: 1px solid hsl(var(--border)); border-radius: 8px; background: hsl(var(--card)); color: hsl(var(--foreground)); cursor: pointer; list-style: none }
.profile-season summary::-webkit-details-marker { display: none }
.profile-season summary .icon { width: 14px; height: 14px; color: hsl(var(--muted)); transform: rotate(90deg) }
.profile-season details nav { position: absolute; inset: calc(100% + 4px) 0 auto auto; min-width: 112px; max-height: 55vh; overflow: auto; z-index: 1; padding: 4px; border: 1px solid hsl(var(--border)); border-radius: 8px; background: hsl(var(--card)) }
.profile-season a { display: block; padding: 6px 8px; border-radius: 5px; white-space: nowrap }
.profile-season a:hover, .profile-season a[aria-current] { background: hsl(var(--surface-2)); color: hsl(var(--foreground)) }
.profile-tablist { display: flex; flex-wrap: wrap; gap: 0 4px; border-bottom: 1px solid hsl(var(--border)) }
.profile-tablist button { min-height: 40px; padding: 9px 14px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: hsl(var(--muted)); font-weight: 600; cursor: pointer }
.profile-tablist button:hover { color: hsl(var(--foreground)) }
.profile-tablist [aria-selected=true] { color: hsl(var(--foreground)); border-color: hsl(var(--primary)); }
.profile-panel { padding: 20px 0 }
.profile-panel h2 { margin: 0 0 12px }
.profile-overview { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px }
.profile-team-calendar { order: -1 }
.profile-fixtures, .profile-leaders, .profile-competitions, .profile-stat-strip { border: 1px solid hsl(var(--border)); border-radius: 12px; background: hsl(var(--card)); overflow: hidden }
.profile-fixtures .match-list-link { grid-template-columns: 60px minmax(0, 1fr) }
.profile-fixtures .match-list-status { font-size: 11px; font-weight: 400 }
.profile-leaders, .profile-competitions { list-style: none; margin: 0; padding: 0 }
.profile-leaders li, .profile-competitions li { display: flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 14px }
.profile-leaders li + li, .profile-competitions li + li { border-top: 1px solid hsl(var(--border) / .55) }
.profile-leaders li > strong, .profile-competitions li > span { margin-left: auto; color: hsl(var(--primary)); font-variant-numeric: tabular-nums }
.profile-rank { flex: none; min-width: 14px; color: hsl(var(--muted)); text-align: center; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums }
.profile-player-placeholder, .profile-leaders img { flex: none; width: 24px; height: 24px; border-radius: 50%; object-fit: cover; background: hsl(var(--surface-2)) }
.profile-leaders a:hover, .profile-competitions a:hover, .profile-table a:hover { color: hsl(var(--primary)); text-decoration: underline }
.entity-player .profile-heading { align-items: flex-start; border: 0; margin: 0 0 16px; padding: 0; background: transparent }
.entity-player .profile-emblem { width: 80px; height: 80px }
.entity-player .profile-title p { font-size: 13px }
.profile-injury { border-radius: 8px; margin: 0 0 16px; padding: 9px 12px; background: hsl(var(--danger) / .1); color: hsl(var(--danger)); }
.entity-profile .profile-season-heading { color: hsl(var(--muted)); font: 700 12px/18px Inter, sans-serif; text-transform: uppercase }
.profile-stat-strip { display: flex; margin: 0 }
.profile-stat-strip > div { display: flex; flex: 1; flex-direction: column-reverse; align-items: center; gap: 4px; min-width: 0; padding: 12px 4px }
.profile-stat-strip > div + div { border-left: 1px solid hsl(var(--border)); }
.profile-stat-strip dt { color: hsl(var(--muted)); font-size: 10px; text-transform: uppercase }
.profile-stat-strip dd { margin: 0; font: 700 20px/24px var(--display) }
.profile-player-season { display: flex; justify-content: end; margin-top: 24px; padding-top: 24px; border-top: 1px solid hsl(var(--border)); }
.entity-profile .profile-section-label { margin: 20px 0 12px; color: hsl(var(--primary)); font: 700 11px/16px Inter, sans-serif; text-transform: uppercase; letter-spacing: .15em }
.profile-section-label::before { content: ''; display: inline-block; width: 20px; height: 1px; vertical-align: middle; margin-right: 8px; background: currentColor }
.profile-table th { font-weight: 500 }
.profile-table td a { display: inline-block; max-width: 15ch; overflow: hidden; text-overflow: ellipsis; vertical-align: bottom }
.profile-table .profile-current-season { background: hsl(var(--surface-2)); }
@media (min-width: 900px) {
    .profile-league-overview { grid-template-columns: repeat(2, minmax(0, 1fr)) }
}
@media (max-width: 639px) {
    .profile-heading { gap: 12px; padding: 14px 12px }
    .profile-title h1 { font-size: 24px }
    .profile-season > span { display: none }
    .entity-player .profile-season > span { display: inline; }
    .profile-tablist { column-gap: 0 }
    .profile-tablist button { padding-inline: 14px }
    .profile-fixtures .match-list-link { grid-template-columns: 48px minmax(0, 1fr); min-height: 61px; padding-left: 8px }
    .profile-fixtures .match-list-participants { grid-template: repeat(2, minmax(20px, auto)) / minmax(0, 1fr) auto; gap: 2px 8px }
    .profile-fixtures .match-list-home { grid-area: 1 / 1; flex-direction: row }
    .profile-fixtures .match-list-away { grid-area: 2 / 1 }
    .profile-fixtures .match-list-result { grid-area: 1 / 2 / 3; display: grid; grid-template-rows: 1fr 1fr; align-items: center }
    .profile-fixtures .match-list-score-divider, .profile-fixtures .match-list-unplayed { display: none }
}

.site-action { display: inline-flex; min-height: 40px; align-items: center; justify-content: center; gap: 8px; padding: 8px 20px; border: 1px solid transparent; border-radius: 8px; background: hsl(var(--primary)); color: hsl(var(--card)); cursor: pointer; font-weight: 600 }
.site-action:hover { background: hsl(var(--primary) / .86); color: hsl(var(--card)) }
.live-intro { display: flex; align-items: center; gap: 12px }
.live-intro h1 { margin: 0 }
.live-indicator { width: 12px; height: 12px; border-radius: 50%; background: hsl(var(--danger)) }
.live-count { padding: 1px 9px; border-radius: 16px; background: hsl(var(--surface-2)); color: hsl(var(--muted)); font-variant-numeric: tabular-nums }
.live-intro > a { display: grid; margin-left: auto; min-width: 34px; min-height: 34px; place-items: center; color: hsl(var(--muted)) }
.live-intro > a:hover { color: hsl(var(--primary)) }
.live-filters { margin-bottom: 24px }
.live-empty { display: grid; justify-items: center; align-content: center; min-height: 286px; padding: 24px 12px; border: 1px dashed hsl(var(--border)); border-radius: 12px; text-align: center }
.live-empty .icon { width: 38px; height: 38px; margin-bottom: 16px; color: hsl(var(--muted) / .45) }
.live-empty strong { font-size: 16px }
.live-empty p { margin: 4px 0 16px; color: hsl(var(--muted)) }

.ranking-header { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin: 0 0 24px }
.ranking-header h1, .forecast-page h1 { margin: 0 0 4px }
.ranking-page, .forecast-page, .prediction-leagues-page, .world-cup-heading { padding-top: 7px }
.ranking-header p, .forecast-page > .site-lede { margin: 0 }
.ranking-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 12px }
.ranking-controls .matches-search { width: 208px; max-width: 100% }
.ranking-sort { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px }
.ranking-sort a { padding: 7px 12px; border-radius: 8px; color: hsl(var(--muted)); font-weight: 500 }
.ranking-sort a:hover { background: hsl(var(--surface-2)); color: hsl(var(--foreground)) }
.ranking-sort [aria-current=page] { background: hsl(var(--primary)); color: hsl(var(--card)) }
.ranking-list { list-style: none; display: grid; gap: 6px; margin: 0; padding: 0 }
.ranking-table-heading, .ranking-list a { display: grid; grid-template-columns: 30px minmax(0, 3fr) repeat(5, minmax(56px, 1fr)); gap: 12px; align-items: center; padding-inline: 16px; text-align: right }
.ranking-table-heading { padding-block: 8px; color: hsl(var(--muted)); font-size: 12px; font-weight: 600 }
.ranking-table-heading > :nth-child(2) { text-align: left }
.ranking-list a { min-height: 70px; border: 1px solid hsl(var(--border)); border-radius: 12px; background: hsl(var(--card)); font-variant-numeric: tabular-nums }
.ranking-list a:hover { border-color: hsl(var(--primary) / .5); color: hsl(var(--foreground)) }
.ranking-place { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; color: hsl(var(--muted)); font-size: 12px; font-weight: 700 }
.ranking-list li:nth-child(-n+3) .ranking-place { background: hsl(var(--comparison-away) / .14); color: hsl(var(--comparison-away)) }
.ranking-member { display: flex; min-width: 0; align-items: center; gap: 12px; text-align: left }
.ranking-name { min-width: 0 }
.ranking-name > * { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.ranking-name small, .ranking-mobile-stat small, .forecast-copy header small, .forecast-match small { color: hsl(var(--muted)); font-size: 12px }
.ranking-mobile-stat small { display: none }
.site-person-avatar { display: grid; flex: none; width: 40px; height: 40px; place-items: center; border-radius: 50%; object-fit: cover; background: hsl(var(--border) / .55); font-weight: 700 }
.forecast-page > .ranking-sort { margin: 16px 0 24px }
.forecast-page > .profile-stat-strip { margin: 20px 0 }
.forecast-list { max-width: 720px; display: grid; gap: 8px }
.forecast-card { display: flex; align-items: start; gap: 16px; padding: 16px; border: 1px solid hsl(var(--border)); border-radius: 12px; background: hsl(var(--card)); }
.forecast-copy { min-width: 0; flex: 1; overflow-wrap: anywhere }
.forecast-copy header { display: flex; flex-wrap: wrap; gap: 6px; align-items: baseline; margin-bottom: 8px }
.forecast-status { margin-left: auto; border-radius: 14px; padding: 1px 8px; font-size: 12px; font-weight: 600; background: hsl(var(--surface-2)); color: hsl(var(--muted)); white-space: nowrap }
.forecast-status-won { background: hsl(var(--success) / .12); color: hsl(var(--success)) }
.forecast-status-lost { background: hsl(var(--danger) / .12); color: hsl(var(--danger)) }
.forecast-match { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 8px; background: hsl(var(--surface-2)) }
.forecast-match strong { font-weight: 500 }
.forecast-match > :last-child { text-align: right }
.forecast-match small, .forecast-match b { display: block }
.forecast-match b { color: hsl(var(--primary)); font-size: 12px }
.forecast-copy > p { margin: 8px 0 0; font-size: 13px; white-space: pre-line }

.pricing-page { max-width: 896px; margin-inline: auto; padding-top: 12px }
.pricing-intro { margin-bottom: 36px; text-align: center }
.pricing-intro h1 { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 30px }
.pricing-intro .icon { width: 23px; height: 23px; color: hsl(var(--comparison-away)) }
.pricing-intro .site-lede { font-size: 16px; margin: 8px 0 0 }
.pricing-benefits, .pricing-plan { padding: 20px; border: 1px solid hsl(var(--border) / .5); border-radius: 12px; background: hsl(var(--card)) }
.pricing-benefits { margin: 0 0 32px }
.pricing-benefits h2 { margin: 0 0 12px; font-size: 14px }
.pricing-benefits ul { display: grid; gap: 8px; list-style: none; margin: 0; padding: 0; color: hsl(var(--muted)) }
.pricing-benefits li::before { content: '✓'; color: hsl(var(--primary)); margin-right: 9px }
.pricing-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px }
.pricing-plan { position: relative; text-align: center }
.pricing-plan-accent { border-color: hsl(var(--primary)); background: hsl(var(--primary) / .06) }
.pricing-plan h2 { margin: 0 0 6px; color: hsl(var(--muted)); font: 500 14px/20px Inter, sans-serif }
.pricing-plan strong { display: block; font-size: 30px; font-weight: 800; line-height: 36px }
.pricing-plan p { margin: 0 0 14px; color: hsl(var(--muted)); font-size: 12px }
.pricing-plan .site-action { width: 100% }
.pricing-plan .pricing-note { margin: 8px 0 0 }
.pricing-badge { position: absolute; inset: 0 auto auto 50%; transform: translate(-50%, -50%); padding: 1px 12px; white-space: nowrap; border-radius: 12px; background: hsl(var(--primary)); color: hsl(var(--card)); font-size: 12px; font-weight: 700 }
@media (max-width: 700px) {
    .ranking-table-heading, .ranking-extra { display: none }
    .ranking-list a { grid-template-columns: 32px minmax(0, 1fr) auto }
    .ranking-mobile-stat small { display: block; white-space: nowrap }
    .pricing-plans { grid-template-columns: minmax(0, 1fr) }
}

.public-hub-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 24px }
.public-hub-heading > span { display: grid; flex: none; width: 40px; height: 40px; place-items: center; border-radius: 12px; background: hsl(var(--primary) / .11); color: hsl(var(--primary)) }
.public-hub-heading > span .icon { width: 20px; height: 20px }
.public-hub-heading h1, .public-hub-heading h2, .public-hub-heading p { margin: 0 }
.public-hub-heading p { margin-top: 3px }
.prediction-leagues-page .ranking-sort { margin-bottom: 24px }
.prediction-league-cards { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)) }
.prediction-league-card { display: block; padding: 20px; border: 1px solid hsl(var(--border)); border-radius: 12px; background: hsl(var(--card)) }
.prediction-league-card:hover { border-color: hsl(var(--primary) / .55); color: hsl(var(--foreground)) }
.prediction-league-card header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px }
.prediction-league-card h2 { margin: 0; font-size: 16px; line-height: 20px }
.prediction-league-card p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 0; color: hsl(var(--muted)); font-size: 12px; line-height: 16px }
.prediction-league-card dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 12px 0 0; padding-top: 12px; border-top: 1px solid hsl(var(--border)); text-align: center }
.prediction-league-card dl div { display: flex; flex-direction: column-reverse }
.prediction-league-card dd { margin: 0; font-size: 12px; font-weight: 700 }
.prediction-league-card dt { color: hsl(var(--muted)); font-size: 11px }
.world-cup-heading { margin-bottom: 16px }
.world-cup-heading h1, .world-cup-heading p { margin: 0 0 4px }
.world-cup-nav { display: flex; flex-wrap: wrap; gap: 0 4px; border-bottom: 1px solid hsl(var(--border)); margin-bottom: 24px }
.world-cup-nav a { margin-bottom: -1px; padding: 8px 14px; border-bottom: 2px solid transparent; color: hsl(var(--muted)); font-weight: 500 }
.world-cup-nav a:hover { color: hsl(var(--foreground)) }
.world-cup-nav a[aria-current] { border-color: hsl(var(--primary)); color: hsl(var(--primary)) }
.world-cup-content { display: grid; gap: 32px }
.world-cup-content h2 { margin-top: 0; font-size: 20px; line-height: 1.4 }
.world-cup-section-title { display: flex; gap: 8px; align-items: center; justify-content: space-between; margin-bottom: 12px }
.world-cup-section-title h2 { margin: 0 }
.world-cup-section-title a { display: inline-flex; align-items: center; gap: 5px; color: hsl(var(--primary)); white-space: nowrap }
.world-cup-section-title .icon { width: 15px; height: 15px }
.world-cup-content .fixture-group { margin: 0 }
.world-cup-empty { display: grid; justify-items: center; align-content: center; min-height: 206px; padding: 20px 6px; border: 1px solid hsl(var(--border)); border-radius: 12px; background: hsl(var(--surface-2)); text-align: center }
.world-cup-empty .icon { width: 38px; height: 38px; margin-bottom: 12px; color: hsl(var(--muted) / .45) }
.world-cup-empty strong { font-size: 18px }
.world-cup-empty p { max-width: 420px; margin: 8px 0 0; color: hsl(var(--muted)) }
.world-cup-showcase { padding: 20px; border: 1px solid hsl(var(--primary) / .3); border-radius: 12px; background: hsl(var(--primary) / .05) }
.world-cup-showcase .public-hub-heading { align-items: start; margin-bottom: 16px }
.world-cup-showcase .public-hub-heading > span { border-radius: 50% }
.world-cup-showcase ol { display: grid; list-style: none; gap: 4px; padding: 0; margin: 0 0 16px }
.world-cup-showcase li { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-radius: 8px; background: hsl(var(--surface-2)) }
.world-cup-showcase li > strong { margin-left: auto }
.world-cup-showcase .world-cup-leader-empty { justify-content: center; min-height: 66px; color: hsl(var(--muted)) }
.world-cup-showcase .site-person-avatar { width: 28px; height: 28px; font-size: 12px }
.world-cup-showcase .site-action { width: 100% }
.world-cup-groups { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)) }
.world-cup-groups > div { padding: 12px; border: 1px solid hsl(var(--border)); border-radius: 12px; background: hsl(var(--surface-2)) }
.world-cup-groups h3 { margin: 0 0 8px }
.world-cup-groups .site-table { font-size: 11px }
.world-cup-groups .site-table :is(th, td) { padding: 6px }
.world-cup-faq details + details { border-top: 1px solid hsl(var(--border)) }
.world-cup-faq summary { padding: 12px 0; cursor: pointer; font-weight: 600 }
.world-cup-faq details p { margin: 0 0 12px; color: hsl(var(--muted)) }
.fantasy-hero { padding: clamp(24px, 4vw, 48px); margin: 0 0 36px; border-radius: 16px; background: hsl(var(--primary) / .09) }
.fantasy-hero h1, .fantasy-hero .site-lede { margin: 0 0 4px }
.fantasy-hero p { max-width: 550px; color: hsl(var(--muted)) }
.fantasy-hero .site-chips { margin-bottom: 0 }

@media (max-width: 640px) {
    .ranking-header h1, .forecast-page h1, .world-cup-heading h1, .public-hub-heading h1 { font-size: 24px }
    .ranking-controls .matches-search { display: none }
}
