:root {
    --fh-bg: #f4edd1;
    --fh-surface: #fff9e8;
    --fh-surface-strong: #ffffff;
    --fh-surface-vivid: rgba(255, 255, 255, 0.84);
    --fh-glow-gold: rgba(255, 205, 88, 0.32);
    --fh-glow-ice: rgba(129, 179, 255, 0.16);
    --fh-glow-mint: rgba(111, 212, 181, 0.14);
    --fh-text: #17130b;
    --fh-muted: #615543;
    --fh-accent: #d6a107;
    --fh-accent-strong: #ab7a00;
    --fh-accent-soft: #ffe48f;
    --fh-ink-soft: #362d1d;
    --fh-line: rgba(64, 51, 22, 0.12);
    --fh-shadow: 0 20px 50px rgba(84, 60, 0, 0.12);
    --fh-radius-lg: 28px;
    --fh-radius-md: 18px;
    --fh-radius-sm: 12px;
    --fh-width: 1180px;
    --fh-sidebar-width: 296px;
    --fh-header-height: 72px;
    --fh-band-height: 56px;
    --fh-ui-font: "Segoe UI", Arial, sans-serif;
    --fh-copy-font: "Segoe UI", Arial, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    height: 100%;
    scroll-behavior: smooth;
}

body {
    min-height: 100%;
    margin: 0;
    font-family: var(--fh-copy-font);
    color: var(--fh-text);
    background:
        radial-gradient(circle at 12% 8%, rgba(255, 220, 111, 0.58), transparent 24%),
        radial-gradient(circle at 86% 12%, rgba(142, 182, 255, 0.22), transparent 22%),
        radial-gradient(circle at 78% 76%, rgba(111, 212, 181, 0.16), transparent 21%),
        radial-gradient(circle at 24% 82%, rgba(255, 191, 74, 0.16), transparent 19%),
        linear-gradient(180deg, #fff7cf 0%, #fdf2cc 28%, #f4edd1 100%);
    background-attachment: fixed;
}

body.fh-next {
    overflow: hidden;
}

body.fh-next.fh-nav-loading .fh-content,
body.fh-next.fh-nav-loading .fh-sidebar {
    opacity: 0.72;
    transition: opacity 0.16s ease;
}

a {
    color: inherit;
    text-decoration: none;
}

.fh-site-shell {
    min-height: 100vh;
    position: relative;
    isolation: isolate;
}

.fh-site-shell::before,
.fh-site-shell::after {
    content: "";
    position: fixed;
    inset: auto;
    pointer-events: none;
    z-index: 0;
    filter: blur(8px);
    opacity: 0.9;
}

.fh-site-shell::before {
    top: 124px;
    right: -48px;
    width: 320px;
    height: 320px;
    border-radius: 42% 58% 61% 39% / 38% 42% 58% 62%;
    background:
        radial-gradient(circle at 32% 30%, rgba(255, 250, 229, 0.86), rgba(255, 214, 91, 0.36) 48%, rgba(255, 214, 91, 0) 72%);
}

.fh-site-shell::after {
    left: -70px;
    bottom: 48px;
    width: 360px;
    height: 360px;
    border-radius: 54% 46% 35% 65% / 44% 32% 68% 56%;
    background:
        radial-gradient(circle at 56% 42%, rgba(234, 242, 255, 0.8), rgba(144, 185, 255, 0.18) 46%, rgba(144, 185, 255, 0) 72%);
}

.fh-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    backdrop-filter: blur(12px);
    background: linear-gradient(90deg, rgba(255, 229, 118, 0.95), rgba(255, 198, 0, 0.93));
    border-bottom: 1px solid rgba(108, 80, 0, 0.12);
    box-shadow: 0 10px 24px rgba(102, 77, 0, 0.12);
}

.fh-lower-grid,
.fh-footer__inner,
.fh-simple-page__inner,
.fh-content__inner {
    width: min(calc(100% - 32px), var(--fh-width));
    margin: 0 auto;
}

.fh-header__inner,
.fh-top-band__inner {
    width: calc(100% - 32px);
    max-width: none;
    margin: 0 auto;
}

.fh-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 72px;
    padding: 6px 0;
}

.fh-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
}

.fh-brand__mark {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    align-self: flex-end;
}

.fh-brand__mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: transparent;
    mix-blend-mode: multiply;
}

.fh-brand__mark span {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    border-radius: 14px;
    background: linear-gradient(155deg, #fff8d4, #f7c000);
    color: #201700;
    font-family: var(--fh-ui-font);
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 0.03em;
    box-shadow: 0 12px 24px rgba(194, 141, 0, 0.22);
}

.fh-brand__title {
    color: #1c1404;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    font-family: var(--fh-ui-font);
    white-space: nowrap;
    line-height: 1;
}

.fh-nav-toggle {
    display: none;
    border: 1px solid rgba(85, 61, 0, 0.12);
    border-radius: 999px;
    background: rgba(255, 252, 240, 0.88);
    color: var(--fh-text);
    padding: 10px 14px;
    font: inherit;
    font-weight: 700;
}

.fh-nav {
    display: flex;
    align-items: center;
    min-width: 0;
}

.fh-nav__list {
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
    white-space: nowrap;
}

.fh-nav ul,
.fh-nav .menu {
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
    white-space: nowrap;
}

.fh-nav__list a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 11px;
    border-radius: 999px;
    transition: background-color 0.2s ease, color 0.2s ease;
    font-family: var(--fh-ui-font);
    font-weight: 600;
    letter-spacing: 0;
    font-size: 0.93rem;
}

.fh-nav ul a,
.fh-nav .menu a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 11px;
    border-radius: 999px;
    font-family: var(--fh-ui-font);
    font-weight: 600;
    font-size: 0.93rem;
}

.fh-nav__list a:hover,
.fh-nav__list .current-menu-item > a,
.fh-nav ul a:hover,
.fh-nav .current_page_item > a,
.fh-nav .current-menu-item > a {
    background: rgba(255, 249, 225, 0.42);
    color: #5f4100;
}

.fh-header__cta-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255, 254, 245, 0.94), rgba(255, 240, 188, 0.96));
    color: #352707;
    font-family: var(--fh-ui-font);
    font-weight: 700;
    letter-spacing: 0;
    font-size: 0.86rem;
    border: 1px solid rgba(118, 84, 4, 0.16);
    box-shadow: 0 8px 18px rgba(62, 46, 2, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.74);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease, background 0.18s ease;
}

.fh-header__cta-link::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #fff6c4, #efbc24 62%, #b07500 100%);
    box-shadow: 0 0 0 2px rgba(255, 227, 122, 0.14);
    flex-shrink: 0;
}

.fh-header__cta-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(62, 46, 2, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.82);
    filter: saturate(1.06);
}

.fh-header__cta-link-text {
    line-height: 1;
}

.fh-header__cta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.fh-header__cta-link--secondary {
    background: rgba(255, 251, 236, 0.48);
    color: #4a380d;
    border-color: rgba(124, 90, 10, 0.14);
    box-shadow: 0 6px 16px rgba(62, 46, 2, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.56);
}

.fh-header__cta-link--secondary::before {
    background: radial-gradient(circle at 30% 30%, #fff5b3, #d59c0f 68%, #8c5d00 100%);
}

.fh-main {
    margin-top: calc(var(--fh-header-height) + var(--fh-band-height));
    height: calc(100vh - var(--fh-header-height) - var(--fh-band-height));
    padding: 0;
    position: relative;
    z-index: 1;
}

.fh-top-band {
    position: fixed;
    top: var(--fh-header-height);
    left: 0;
    width: 100%;
    z-index: 90;
    background: rgba(255, 247, 203, 0.94);
    border-bottom: 1px solid rgba(136, 106, 29, 0.12);
    box-shadow: 0 10px 18px rgba(102, 77, 0, 0.08);
}

.fh-top-band__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    min-height: 56px;
}

.fh-countdown-bar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 0 0 auto;
    white-space: nowrap;
    color: #6d5300;
    font-size: 0.92rem;
    font-weight: 600;
}

.fh-countdown-label {
    color: #9d7a00;
    font-size: 0.86rem;
}

.fh-countdown {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #392900;
}

.fh-countdown__unit {
    display: inline-flex;
    align-items: baseline;
    gap: 1px;
}

.fh-countdown__unit strong {
    font-family: var(--fh-ui-font);
    font-size: 0.98rem;
    line-height: 1;
    color: #2e2100;
}

.fh-countdown.is-placeholder .fh-countdown__unit strong {
    color: #8b7440;
}

.fh-team-strip {
    min-width: 0;
    flex: 0 1 auto;
    width: auto;
    max-width: calc(100% - 220px);
    overflow: hidden;
}

.fh-team-strip__track {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    overflow-x: auto;
    height: 100%;
    padding: 6px 0;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.fh-team-pill {
    flex: 0 0 auto;
    width: 68px;
    height: 68px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    background: transparent;
    border: 0;
    color: #6d4d00;
    box-shadow: none;
    text-decoration: none;
    transition: transform 0.16s ease, filter 0.16s ease;
}

.fh-team-pill:hover {
    transform: translateY(-1px) scale(1.04);
    filter: drop-shadow(0 8px 14px rgba(132, 101, 24, 0.16));
}

.fh-team-pill.is-active {
    filter: drop-shadow(0 8px 16px rgba(173, 130, 18, 0.22));
}

.fh-team-pill__logo-wrap {
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    background: transparent;
    isolation: isolate;
    padding: 2px;
    box-sizing: border-box;
}

.fh-team-pill__logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: transparent;
    mix-blend-mode: multiply;
    transform: scale(1);
    transform-origin: center center;
    filter: contrast(1.03) saturate(1.02);
}

.fh-team-pill__badge {
    color: #8c6a0b;
    font-family: var(--fh-ui-font);
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 0.04em;
}

.fh-screen-shell {
    display: grid;
    grid-template-columns: minmax(258px, var(--fh-sidebar-width)) minmax(0, 1fr);
    gap: 0;
    height: 100%;
    min-height: 0;
}

.fh-sidebar {
    display: grid;
    align-content: start;
    gap: 10px;
    height: 100%;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 12px 10px 16px 12px;
    border-right: 1px solid rgba(116, 86, 18, 0.12);
    box-shadow: 6px 0 24px -6px rgba(100, 80, 0, 0.12);
    background:
        linear-gradient(180deg, rgba(255, 252, 242, 0.36), rgba(255, 247, 220, 0.18));
}

.fh-content {
    height: 100%;
    min-height: 0;
    overflow-y: auto;
    padding: 28px 28px 42px;
    background:
        linear-gradient(180deg, rgba(255, 251, 238, 0.14), rgba(255, 247, 223, 0.04));
}

.fh-content__inner {
    display: grid;
    gap: 22px;
}

.fh-side-card,
.fh-hero-card,
.fh-panel,
.fh-entry {
    background:
        radial-gradient(circle at top right, var(--fh-glow-gold), transparent 32%),
        radial-gradient(circle at bottom left, var(--fh-glow-ice), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 249, 231, 0.84));
    border: 1px solid rgba(112, 91, 31, 0.1);
    border-radius: var(--fh-radius-lg);
    box-shadow:
        0 22px 50px rgba(84, 60, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.46);
}

.fh-side-card {
    min-width: 0;
    padding: 13px 12px 11px;
}

.fh-side-card--gold {
    background:
        radial-gradient(circle at 82% 20%, rgba(255, 210, 93, 0.34), transparent 28%),
        radial-gradient(circle at 12% 84%, rgba(151, 194, 255, 0.16), transparent 24%),
        linear-gradient(145deg, rgba(255, 251, 232, 0.95), rgba(255, 230, 149, 0.8)),
        rgba(255, 255, 255, 0.76);
}

.fh-side-card__eyebrow,
.fh-hero-card__eyebrow,
.fh-panel__eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.72rem;
    color: #7d6400;
    font-weight: 700;
    font-family: var(--fh-ui-font);
}

.fh-side-card__title {
    margin: 6px 0 10px;
    font-size: clamp(1.2rem, 2vw, 1.7rem);
    line-height: 1.15;
    letter-spacing: -0.01em;
    font-family: var(--fh-ui-font);
}

.fh-side-card p {
    margin: 0;
    color: var(--fh-muted);
    line-height: 1.68;
}

.fh-link-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.fh-link-list a {
    display: block;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255, 247, 212, 0.78);
    border: 1px solid rgba(122, 93, 18, 0.1);
    color: var(--fh-ink-soft);
    font-weight: 600;
    font-family: var(--fh-ui-font);
}

.fh-mini-list {
    display: grid;
    gap: 10px;
    margin: 0 0 14px;
}

.fh-mini-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255, 248, 220, 0.72);
    border: 1px solid rgba(126, 94, 16, 0.08);
    color: var(--fh-muted);
    font-size: 0.93rem;
}

.fh-mini-row strong {
    color: var(--fh-text);
    font-size: 0.92rem;
}

.fh-side-link {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255, 235, 170, 0.82);
    color: #624500;
    font-weight: 600;
    font-size: 0.93rem;
}

.fh-side-card--calendar {
    background:
        radial-gradient(circle at 88% 14%, rgba(255, 197, 77, 0.34), transparent 26%),
        radial-gradient(circle at 14% 100%, rgba(113, 212, 181, 0.16), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 245, 219, 0.88));
}

.fh-side-card--fantasy {
    background:
        radial-gradient(circle at 84% 18%, rgba(255, 220, 127, 0.22), transparent 25%),
        radial-gradient(circle at 10% 84%, rgba(145, 179, 255, 0.18), transparent 26%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.93), rgba(247, 250, 255, 0.86));
}

.fh-side-card--standings {
    background:
        radial-gradient(circle at 88% 18%, rgba(255, 208, 97, 0.2), transparent 24%),
        radial-gradient(circle at 8% 86%, rgba(146, 214, 180, 0.15), transparent 26%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 248, 231, 0.9));
}

.fh-side-card__headerline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px 8px;
    margin: 4px 0 8px;
}

.fh-side-card__headerline--top {
    align-items: center;
    margin: 0 0 10px;
}

.fh-side-card__title--compact {
    margin: 0;
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    min-height: 24px;
    padding: 0 8px;
    border-radius: 999px;
    background: rgba(255, 250, 231, 0.96);
    border: 1px solid rgba(134, 103, 26, 0.12);
    color: #6d5300;
    font-size: 0.68rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
}

.fh-side-chip {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    min-height: 24px;
    padding: 0 8px;
    border-radius: 999px;
    background: rgba(255, 250, 231, 0.96);
    border: 1px solid rgba(134, 103, 26, 0.12);
    color: #6d5300;
    font-size: 0.68rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
}

.fh-side-chip--soft {
    background: rgba(250, 246, 235, 0.92);
    color: #66502c;
}

.fh-side-fixtures {
    display: grid;
    gap: 4px;
    margin: 0 0 6px;
}

.fh-side-fixture {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    align-items: center;
    gap: 6px;
    padding: 5px 7px;
    border-radius: 12px;
    background: rgba(255, 253, 244, 0.84);
    border: 1px solid rgba(132, 101, 24, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.fh-side-fixture--lna {
    grid-template-columns: minmax(82px, auto) minmax(0, 1fr);
    gap: 5px;
}

.fh-side-fixture__schedule {
    color: #6f550c;
    font-size: 0.66rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.fh-side-fixture__timebox {
    display: grid;
    gap: 2px;
    justify-items: center;
}

.fh-side-fixture__round {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 16px;
    padding: 0 6px;
    border-radius: 999px;
    background: rgba(255, 249, 225, 0.98);
    border: 1px solid rgba(134, 103, 26, 0.1);
    color: #7a5b08;
    font-size: 0.58rem;
    font-weight: 900;
    letter-spacing: 0.06em;
}

.fh-side-fixture__time {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 22px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255, 244, 198, 0.96), rgba(247, 217, 120, 0.96));
    color: #5e4300;
    font-size: 0.71rem;
    font-weight: 900;
    letter-spacing: 0.05em;
}

.fh-side-fixture__teams {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 4px;
    color: #3b301d;
    font-size: 0.74rem;
}

.fh-side-fixture__teams--compact {
    gap: 4px;
}

.fh-side-fixture--lna .fh-side-fixture__logo {
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
}

.fh-side-fixture--lna .fh-side-fixture__side {
    gap: 2px;
}

.fh-side-fixture__side {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 4px;
    border-radius: 999px;
}

.fh-side-fixture__team-link {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.16s ease, transform 0.16s ease;
}

.fh-side-fixture__side.is-current-team {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 245, 205, 0.96));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.84),
        0 0 0 1px rgba(196, 151, 27, 0.26),
        0 10px 22px rgba(100, 72, 0, 0.18),
        0 0 16px rgba(220, 182, 70, 0.12);
}

.fh-side-fixture__side.is-current-team strong {
    color: #21170b;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.34);
}

.fh-side-fixture__team-link:hover {
    opacity: 0.82;
    transform: translateY(-1px);
}

.fh-side-fixture__side--home {
    text-align: left;
    justify-content: flex-start;
}

.fh-side-fixture__side--away {
    text-align: right;
    justify-content: flex-end;
}

.fh-side-fixture__logo {
    width: 16px;
    height: 16px;
    object-fit: contain;
    flex: 0 0 16px;
    background: transparent;
}

.fh-side-fixture__teams strong {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.1;
}

.fh-side-fixture__middle {
    color: #8b6a16;
    font-weight: 800;
}

.fh-side-fixtures--fantasy .fh-side-fixture {
    grid-template-columns: 1fr;
}

.fh-side-fixtures--fantasy .fh-side-fixture__teams {
    font-size: 0.74rem;
}

.fh-side-standings {
    display: grid;
    gap: 3px;
    margin: 0 0 6px;
}

.fh-side-standing {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 5px;
    padding: 4px 6px;
    border-radius: 11px;
    background: rgba(255, 253, 244, 0.84);
    border: 1px solid rgba(132, 101, 24, 0.08);
    color: var(--fh-ink-soft);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.fh-side-standing.is-current-team {
    background:
        linear-gradient(180deg, rgba(255, 252, 241, 0.99), rgba(255, 240, 188, 0.95));
    border-color: rgba(184, 141, 17, 0.28);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.82),
        0 12px 24px rgba(96, 70, 0, 0.18),
        0 0 18px rgba(220, 182, 70, 0.1);
}

.fh-side-standing__rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(180deg, rgba(255, 244, 198, 0.96), rgba(247, 217, 120, 0.96));
    color: #5e4300;
    font-size: 0.68rem;
    font-weight: 900;
}

.fh-side-standing__team {
    min-width: 0;
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    align-items: center;
    gap: 5px;
}

.fh-side-standing__logo,
.fh-side-standing__badge {
    width: 22px;
    height: 22px;
    border-radius: 50%;
}

.fh-side-standing__logo {
    object-fit: contain;
    background: transparent;
}

.fh-side-standing__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 251, 236, 0.94);
    border: 1px solid rgba(132, 101, 24, 0.1);
    color: #77580b;
    font-size: 0.58rem;
    font-weight: 900;
    letter-spacing: 0.05em;
}

.fh-side-standing__name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.7rem;
    font-weight: 800;
    line-height: 1.08;
}

.fh-side-standing__meta {
    color: #7c6950;
    font-size: 0.58rem;
    font-weight: 700;
}

.fh-side-standing__points {
    min-width: 22px;
    text-align: right;
    color: #332600;
    font-size: 0.8rem;
    font-weight: 900;
}

.fh-home-main {
    display: grid;
    gap: 22px;
}

.fh-hero-card {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(240px, 0.72fr);
    gap: 18px;
    overflow: hidden;
    position: relative;
}

.fh-hero-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 12% 18%, rgba(255, 211, 101, 0.22), transparent 26%),
        radial-gradient(circle at 72% 14%, rgba(144, 183, 250, 0.14), transparent 22%),
        linear-gradient(125deg, rgba(255, 255, 255, 0.1), transparent 42%);
    z-index: 0;
}

.fh-hero-card > * {
    position: relative;
    z-index: 1;
}

.fh-hero-card__content {
    padding: 34px 34px 32px;
}

.fh-hero-card__title {
    margin: 12px 0 14px;
    font-size: clamp(1.9rem, 3.2vw, 3.2rem);
    line-height: 1;
    letter-spacing: -0.02em;
    max-width: 12ch;
    font-family: var(--fh-ui-font);
}

.fh-hero-card__lead {
    max-width: 58ch;
    color: var(--fh-muted);
    line-height: 1.65;
    font-size: 0.98rem;
}

.fh-hero-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.fh-hero-card__scoreboard {
    background:
        linear-gradient(180deg, rgba(37, 29, 11, 0.95), rgba(55, 43, 16, 0.92)),
        #221a09;
    color: #fff6d8;
    padding: 22px;
    display: flex;
    align-items: stretch;
}

.fh-scoreboard {
    width: 100%;
    border-radius: 24px;
    border: 1px solid rgba(255, 229, 138, 0.18);
    padding: 18px;
    background:
        linear-gradient(180deg, rgba(255, 206, 53, 0.08), rgba(255, 206, 53, 0.02)),
        rgba(255, 255, 255, 0.02);
}

.fh-scoreboard__header {
    color: rgba(255, 233, 162, 0.72);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.72rem;
    font-weight: 700;
    font-family: var(--fh-ui-font);
}

.fh-scoreboard__row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 224, 132, 0.12);
    font-family: var(--fh-ui-font);
    font-size: 0.95rem;
}

.fh-scoreboard__row:last-child {
    border-bottom: 0;
}

.fh-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 999px;
    font-family: var(--fh-ui-font);
    font-weight: 600;
    letter-spacing: 0;
}

.fh-button--primary {
    background: linear-gradient(145deg, #efbc20, #c28a00);
    color: #1c1400;
}

.fh-button--secondary {
    border: 1px solid var(--fh-line);
    background: var(--fh-surface-strong);
}

.fh-module-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.fh-module-card {
    padding: 24px;
    border-radius: 24px;
    background:
        radial-gradient(circle at top right, rgba(255, 211, 101, 0.26), transparent 30%),
        radial-gradient(circle at bottom left, rgba(132, 183, 255, 0.12), transparent 26%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 249, 232, 0.84));
    border: 1px solid rgba(112, 91, 31, 0.1);
    box-shadow:
        0 18px 36px rgba(99, 75, 16, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.48);
}

.fh-module-card__eyebrow {
    color: #8a6a00;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.72rem;
    font-weight: 700;
    font-family: var(--fh-ui-font);
}

.fh-module-card h3 {
    margin: 12px 0 10px;
    font-size: 1.3rem;
    line-height: 1.12;
    letter-spacing: -0.01em;
    font-family: var(--fh-ui-font);
}

.fh-module-card p {
    margin: 0 0 16px;
    color: var(--fh-muted);
    line-height: 1.66;
}

.fh-module-card a,
.fh-module-card__tag {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255, 235, 170, 0.82);
    color: #624500;
    font-weight: 600;
    font-family: var(--fh-ui-font);
}

.fh-lower-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.fh-panel {
    padding: 26px;
    position: relative;
    overflow: hidden;
}

.fh-panel::after,
.fh-module-card::after,
.fh-side-card::after {
    content: "";
    position: absolute;
    inset: auto -24px -24px auto;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 217, 118, 0.22), rgba(255, 217, 118, 0) 68%);
    pointer-events: none;
    z-index: 0;
}

.fh-panel > *,
.fh-module-card > *,
.fh-side-card > * {
    position: relative;
    z-index: 1;
}

.fh-panel__title {
    margin: 10px 0 14px;
    font-size: 1.28rem;
    line-height: 1.12;
    letter-spacing: -0.01em;
    font-family: var(--fh-ui-font);
}

.fh-panel__content {
    color: var(--fh-muted);
    line-height: 1.65;
}

.fh-platform-status ul {
    margin: 14px 0 0;
    padding-left: 18px;
}

.fh-platform-status p {
    margin: 12px 0 0;
}

.fh-simple-page {
    padding-top: 24px;
}

.fh-entry {
    padding: 34px;
}

.fh-entry__title {
    margin: 0 0 18px;
    font-size: clamp(1.6rem, 2.6vw, 2.2rem);
    letter-spacing: -0.01em;
    font-family: var(--fh-ui-font);
}

.fh-entry__content {
    color: var(--fh-muted);
    line-height: 1.72;
}

.fh-footer {
    display: none;
    padding: 36px 0 48px;
}

.fh-footer__inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    color: var(--fh-muted);
    padding: 24px 30px;
    border-radius: 26px;
    background: rgba(255, 250, 234, 0.86);
    border: 1px solid rgba(116, 86, 18, 0.1);
    box-shadow: 0 18px 36px rgba(99, 75, 16, 0.08);
}

body.admin-bar .fh-header {
    top: 32px;
}

body.admin-bar .fh-top-band {
    top: calc(32px + var(--fh-header-height));
}

body.admin-bar .fh-main {
    margin-top: calc(32px + var(--fh-header-height) + var(--fh-band-height));
    height: calc(100vh - 32px - var(--fh-header-height) - var(--fh-band-height));
}

@media (max-width: 960px) {
    body.fh-next {
        overflow-y: auto;
    }

    .fh-screen-shell,
    .fh-hero-card,
    .fh-module-grid,
    .fh-lower-grid,
    .fh-footer__inner {
        grid-template-columns: 1fr;
    }

    .fh-main {
        height: auto;
        min-height: calc(100vh - var(--fh-header-height) - var(--fh-band-height));
    }

    .fh-top-band__inner {
        flex-wrap: wrap;
        gap: 10px;
        padding: 8px 0;
        min-height: auto;
    }

    .fh-countdown-bar {
        width: 100%;
        justify-content: center;
    }

    .fh-team-strip {
        width: 100%;
        max-width: none;
    }

    .fh-screen-shell {
        height: auto;
        min-height: 0;
    }

    .fh-sidebar,
    .fh-content {
        height: auto;
        overflow: visible;
    }

    .fh-sidebar {
        padding: 18px 16px 14px;
        border-right: 0;
        border-bottom: 1px solid rgba(116, 86, 18, 0.12);
        box-shadow: none;
    }

    .fh-content {
        padding-top: 20px;
    }

    .fh-footer {
        display: block;
    }

    .fh-hero-card__title {
        max-width: none;
    }
}

@media (max-width: 760px) {
    .fh-nav-toggle {
        display: inline-flex;
    }

    .fh-nav {
        width: 100%;
        display: none;
        grid-column: 1 / -1;
    }

    .fh-nav.is-open {
        display: block;
    }

    .fh-nav__list {
        flex-direction: column;
        align-items: stretch;
        padding-top: 10px;
    }

    .fh-nav ul,
    .fh-nav .menu {
        flex-direction: column;
        align-items: stretch;
        padding-top: 10px;
    }

    .fh-nav__list a {
        justify-content: center;
        border-radius: var(--fh-radius-sm);
        background: rgba(255, 255, 255, 0.72);
    }

    .fh-nav ul a,
    .fh-nav .menu a {
        justify-content: center;
        border-radius: var(--fh-radius-sm);
        background: rgba(255, 255, 255, 0.72);
    }

    .fh-header__inner {
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
        padding: 14px 0;
        min-height: auto;
    }

    .fh-brand__mark {
        width: 52px;
        height: 52px;
    }

    .fh-brand__title {
        font-size: 0.94rem;
    }

    .fh-header__cta {
        display: none;
    }

    .fh-countdown {
        gap: 6px;
    }

    .fh-countdown-bar {
        font-size: 0.86rem;
    }

    .fh-countdown-label {
        font-size: 0.8rem;
    }

    .fh-content {
        order: 1;
    }

    .fh-sidebar {
        order: 2;
        border-bottom: 0;
        border-top: 1px solid rgba(116, 86, 18, 0.12);
        padding-top: 18px;
    }

    .fh-team-strip__track {
        gap: 10px;
    }

    .fh-sidebar,
    .fh-content {
        padding-left: 12px;
        padding-right: 12px;
    }

    .fh-side-card,
    .fh-hero-card__content,
    .fh-hero-card__scoreboard,
    .fh-panel,
    .fh-module-card,
    .fh-entry {
        padding: 22px;
        border-radius: 22px;
    }

    .fh-side-card__headerline {
        flex-wrap: wrap;
    }

    .fh-side-fixture,
    .fh-side-standing {
        padding-left: 10px;
        padding-right: 10px;
    }

    .fh-lower-grid,
    .fh-footer__inner,
    .fh-simple-page__inner,
    .fh-content__inner {
        width: min(calc(100% - 20px), var(--fh-width));
    }

    .fh-header__inner,
    .fh-top-band__inner {
        width: calc(100% - 20px);
        max-width: none;
    }

    .fh-team-pill {
        width: 60px;
        height: 60px;
    }

    .fh-team-pill__logo-wrap {
        width: 48px;
        height: 48px;
    }
}

@media (max-width: 782px) {
    body.admin-bar .fh-header {
        top: 46px;
    }

    body.admin-bar .fh-top-band {
        top: calc(46px + var(--fh-header-height));
    }

    body.admin-bar .fh-main {
        margin-top: calc(46px + var(--fh-header-height) + var(--fh-band-height));
        height: auto;
        min-height: calc(100vh - 46px - var(--fh-header-height) - var(--fh-band-height));
    }
}
