.ofs-header {
    background-color: var(--offside-black);
    color: var(--base-white);
    font-family: var(--ofs-font);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ofs-nav a:hover {
    color: #D94646;
}

.ofs-nav-active {
    color: var(--primary-color) !important;
}

.ofs-nav ul {
    list-style: none;
    display: flex;
    gap: 32px;
    margin: 0;
    padding: 0;
}

.ofs-nav li a {
    color: var(--base-white);
    text-decoration: none;
    font-family: "Barlow", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 20px;
}

.ofs-logo img {
    height: 30px;
}

#offside-nav-bar li a:hover {
    color: #D94646;
}

#offside-nav-bar li a {
    color: var(--base-white);
    text-decoration: none;
    font-family: "Barlow", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: clamp(0.9375rem, 1.2vw, 1.0625rem);
    line-height: 1.2;
}

.ofs-match-filter-btn {
    background: var(--secondary-line) 0% 0% no-repeat padding-box;
    background: #EFEFEF 0% 0% no-repeat padding-box;
    border-radius: 5px !important;
    opacity: 1;
    color: var(--true-black);
    text-align: left;
    font: normal normal 600 clamp(0.75rem, 2vw, 0.8125rem) Barlow;
    letter-spacing: 0px;
    color: #000000;
    transition: background-color 0.3s ease;
}

    .ofs-match-filter-btn:hover {
        background-color: var(--passive-tab);
    }

.bet-box {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 54px;
    height: 48px;
    border-radius: 3px;
    background: var(--base-white);
    border: 1px solid var(--passive-tab);
    cursor: pointer;
    font-family: "Barlow", sans-serif;
    transition: background 0.2s ease;
    overflow: hidden;
}

.bet-name {
    flex: 1;
    display: flex;
    justify-content: center;
    font: normal normal 600 12px/17px Open Sans;
    color: #8C8C8C;
    margin-top: 3px;
}

.bet-odd {
    position: absolute;
    height: 50%;
    width: 100%;
    bottom: 0;
    left: 0;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font: normal normal bold 14px/19px Open Sans;
    color: #2B2630;
    background: var(--passive-gray);
    border-radius: 2px;
}

.bet-count {
    position: absolute;
    height: 50%;
    width: 100%;
    bottom: 0;
    left: 0;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font: normal normal bold 14px/19px Open Sans;
    color: #FFFFFF;
    background: #2AA059;
    border-radius: 2px;
}

.live-match-score {
    color: var(--primary-color) !important;
}

.ofs-match-team-logo {
    max-height: 18px;
    max-width: 18px;
}

.btn-group-toggle input[type="radio"] {
    display: none;
}

.ofs-navbar-logo {
    width: 0.8rem;
}

.ofs-display-time {
    font-weight: 400 !important;
    min-width: 20px !important;
}

    .ofs-display-time:hover {
        text-decoration: underline;
    }

.red-card {
    position: relative;
    width: 0.7rem;
    height: 0.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.red-card-img {
    width: 10px;
    /*height: 100%;*/
}

.red-card-number {
    position: absolute;
    color: white;
    font-size: 12px;
    font-family: Open Sans;
    font-weight: 500;
    line-height: 1;
    text-align: center;
    left: 0.16rem;
    top: 0rem;
}

.left-time {
    flex: 0 0 40px;
    max-width: 40px;
    min-width: 40px;
    text-align: center;
}

.ofs-sportbar {
    background-color: var(--offside-black);
    min-height: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ofs-sportbar-sport-type {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
    justify-content: flex-start;
    margin: 0;
}

    .ofs-sportbar-sport-type li {
        display: flex;
        align-items: center;
        gap: 8px;
        color: var(--reading-gray);
        font-family: 'Barlow', sans-serif;
        font-weight: 600;
        font-style: normal;
        font-size: clamp(0.75rem, 2vw, 0.875rem);
        cursor: pointer;
        position: relative;
        transition: color 0.2s ease;
    }

        .ofs-sportbar-sport-type li img,
        .ofs-sportbar-sport-type li i {
            width: 18px;
            height: 18px;
            color: #D94646;
        }

        .ofs-sportbar-sport-type li .ofs-count {
            background-color: #000;
            color: #fff;
            border-radius: 50%;
            font-size: 0.85rem;
            font-weight: 500;
            padding: 2px 6px;
            line-height: 1;
        }

        .ofs-sportbar-sport-type li.active-sport {
            color: #fff;
        }

            .ofs-sportbar-sport-type li.active-sport::after {
                content: "";
                position: absolute;
                bottom: -0.85rem;
                left: 0;
                right: 0;
                width: 95%;
                height: 3px;
                background-color: #D94646;
                border-radius: 10px 10px 0px 0px;
            }

        .ofs-sportbar-sport-type li:hover {
            color: #fff;
        }

    .ofs-sportbar-sport-type::-webkit-scrollbar {
        display: none;
    }

    .ofs-sportbar-sport-type::-webkit-scrollbar-thumb {
        display: none;
    }

.ofs-sportbar-tab {
    background-color: var(--sof-dark);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    min-height: 51px;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    margin-top: 10px;
}

    .ofs-sportbar-tab.show {
        display: flex;
        opacity: 1;
        transform: translateY(0);
    }

.ofs-sportbar-tab-list {
    display: flex;
    align-items: center;
    gap: 28px;
    margin: 0;
}

.ofs-sportbar-tab li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--reading-gray);
    font-family: 'Barlow', sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: clamp(0.75rem, 2vw, 0.875rem);
    cursor: pointer;
    position: relative;
    transition: color 0.2s ease;
}

    .ofs-sportbar-tab li a {
        text-decoration: none;
        color: var(--reading-gray);
        transition: color 0.2s ease;
    }

    .ofs-sportbar-tab li.active-tab a {
        color: var(--base-white);
    }

.ofs-sportbar-tab-list li.active-tab::after {
    content: "";
    position: absolute;
    bottom: -1rem;
    left: 0;
    right: 0;
    width: 100%;
    height: 4px;
    background-color: #D94646;
    border-radius: 10px 10px 0px 0px;
}

.ofs-sportbar-tab-list li a:hover {
    color: #fff;
}

.ofs-matches {
    align-items: center;
    display: flex;
    margin-top: 0.5rem;
    flex-direction: column;
    gap: 0.7rem;
}

.ofs-matches-filter {
    font-family: "Barlow", sans-serif;
    font-weight: 600;
    font-style: normal;
    color: var(--true-black);
    box-shadow: 0px 2px 2px #00000012;
    border-radius: 10px;
    background: var(--base-white);
    display: flex;
    flex: none;
    min-height: 40px;
    width: 100%;
    max-width: 964px;
}

.ofs-matches-filter-left {
    display: flex;
    align-items: center;
    flex: 1;
    margin-left: 8px;
}

.ofs-matches-filter-right {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: 8px;
}

.ofs-matches-filter-list {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0 !important;
}

    .ofs-matches-filter-list li {
        padding: 10px;
        background: var(--secondary-line);
        border-radius: 6px;
        opacity: 1;
        max-height: 40px;
        align-items: center;
        display: flex;
        cursor: pointer;
    }

        .ofs-matches-filter-list li:hover {
            border: 1px solid #D94646;
        }

.active-filter {
    background-color: #D94646 !important;
    color: #FFFFFF !important;
    border-radius: 4px;
}

.ofs-matches-settings {
    display: flex;
    gap: 15px;
    padding: 10px;
    background: var(--secondary-line);
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

    .ofs-matches-settings:hover {
        background-color: var(--passive-tab);
    }

    .ofs-matches-settings.active {
        background: var(--primary-color) !important;
    }

.ofs-matches-date-filter {
    display: flex;
    gap: 15px;
    padding: 10px;
    background: var(--secondary-line);
    border-radius: 5px;
    position: relative;
    justify-content: center;
}

.comp-match-item-status-text {
    font: normal normal 500 13px Barlow;
    color: #959297;
}

.ofs-matches-comp {
    font-family: "Barlow", sans-serif;
    font-size: 14px;
    font-weight: 500;
    font-style: normal;
    color: var(--true-black);
    box-shadow: 0px 2px 2px #00000012;
    border-radius: 10px;
    background: var(--base-white);
    display: flex;
    flex: 1;
    flex-direction: column;
    /*min-height: 56px;*/
    width: 100%;
    max-width: 964px;
}

.ofs-matches-comp-title {
    margin: 0.5rem;
    display: flex;
    flex: 1;
}

.ofs-comp-match-count {
    display: none;
    align-items: center;
    justify-content: center;
    border-radius: 25%;
    background: var(--secondary-line);
    margin-left: 6px;
    width: 1.8rem;
    height: 1rem;
    color: #686868;
}

    .ofs-comp-match-count.show-count {
        display: flex !important;
    }

.ofs-matches-comp-title-left {
    display: flex;
    align-items: center;
    flex: 1;
}

.comp-name {
    color: #686868;
    margin-left: 5px;
    text-decoration: none;
}

    .comp-name:hover,
    .comp-name:focus,
    .comp-name:active {
        color: inherit !important;
        text-decoration: none;
    }

.ofs-matches-comp-title-right {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: 15px;
}

.ofs-matches-comp-list {
    list-style: none;
    margin-bottom: 5px;
    padding: 0;
    overflow: hidden;
    max-height: 9999px;
    transition: max-height 200ms ease, opacity 150ms ease;
    opacity: 1;
}

.ofs-matches-comp-list.ofs-collapsed,
.ofs-popular-sport-divider.ofs-collapsed {
    max-height: 0 !important;
    opacity: 0;
}

.ofs-popular-sport-divider {
    overflow: hidden;
    max-height: 9999px;
    transition: max-height 200ms ease, opacity 150ms ease;
    opacity: 1;
}

/* .ofs-matches-comp-list li {
		display: grid;
		grid-template-columns: 1fr auto 1fr 30px;
		align-items: center;
		column-gap: 16px;
		padding: 10px 16px;
		position: relative;
		font-weight: 500;
		font-style: normal;
	} */

.comp-logo {
    width: 1.2rem;
}

.team-left,
.team-right {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.team-left {
    justify-content: flex-end;
}

.team-right {
    justify-content: flex-start;
}

.match-score-wrapper {
    position: relative;
    max-height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.match-time-primary {
    text-align: center;
    font-weight: 600;
    color: var(--true-black);
    min-width: 20px;
    line-height: 1;
    font-family: Open Sans;
}

    .match-time-primary:hover {
        text-decoration: underline;
    }

.match-halftime-score {
    font-family: "Barlow", sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: clamp(0.6rem, 2.2vw, 0.6875rem);
    color: #242129;
    position: absolute;
    bottom: -10px;
    line-height: 1;
    white-space: nowrap;
}

.match-time-secondary {
    font-family: "Barlow", sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: clamp(0.52rem, 2.2vw, 0.6875rem);
    color: #2DCD32;
}

.voleyball-secondary {
    position: absolute;
    bottom: -10px;
    line-height: 1;
    white-space: nowrap;
}

.fav-icon {
    justify-self: end;
    width: clamp(1.0625rem, 2.2vw, 1.265625rem);
    cursor: pointer;
    vertical-align: initial;
}

.team-left img,
.team-right img {
    height: 20px;
    width: 20px;
    object-fit: contain;
}

.dropdown {
    position: relative;
}

/*.dropdown-toggle {
    background: transparent;
    color: white;
    padding: 10px 16px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-weight: 600;
    min-width: 120px;
}*/

.dropdown-arrow {
    width: 12px;
    height: 12px;
    transition: transform 0.2s ease;
}

.dropdown-panel {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #C04A44;
    border-radius: 0 0 6px 6px;
    margin-top: 2px;
    overflow: hidden;
    display: none;
    flex-direction: column;
    z-index: 20;
    align-items: center;
}

/*.dropdown-item {
    background: #fff;
    padding: 6px 10px;
    text-align: center;
    border-radius: 6px;
    margin: 6px 8px;
    cursor: pointer;
}

    .dropdown-item img {
        height: 22px;
        object-fit: contain;
    }

    .dropdown-item:hover {
        background: #f3f3f3;
    }*/

.dropdown-clear {
    background: #7B2D29;
    color: #fff;
    text-align: center;
    font-weight: 600;
    padding: 8px;
    cursor: pointer;
    transition: background 0.2s ease;
}

    .dropdown-clear:hover {
        background: #912f2b;
    }

.dropdown.open > .dropdown-panel {
    display: flex;
}

.dropdown.open > .dropdown-toggle {
    border-radius: 6px 6px 0 0;
}

.dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
}

.ofs-matches-container {
    gap: 0.7rem;
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
    padding: 0;
}

#ofsTabContent {
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 400px;
}

.barlow-medium-black-14px {
    font-family: "Barlow", sans-serif;
    font-weight: 500 !important;
    font-style: normal;
    font-size: clamp(0.7rem, 2vw, 0.9375rem);
    color: var(--true-black);
}

.barlow-medium-gray-14px {
    font-family: "Barlow", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: clamp(0.7rem, 2vw, 0.9375rem);
    color: var(--reading-gray);
}

.barlow-medium-black-16px {
    font-family: "Barlow", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: clamp(0.8125rem, 2vw, 1.0625rem);
    color: var(--true-black);
}

.barlow-medium-black-18px {
    font-family: "Barlow", sans-serif;
    font-weight: 500 !important;
    font-style: normal;
    font-size: clamp(0.9375rem, 2vw, 1.1875rem);
    color: var(--true-black);
}

.barlow-medium-gray-16px {
    font-family: "Barlow", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: clamp(0.85rem, 2vw, 1.0625rem);
    color: var(--reading-gray);
}

.barlow-medium-darkgray-16px {
    font-family: "Barlow", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: clamp(0.85rem, 2vw, 1.0625rem);
    color: #686868;
}

.barlow-medium-white-16px {
    font-family: "Barlow", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: clamp(0.85rem, 2vw, 1.0625rem);
    color: #fff;
}

.barlow-semibold-black-16px {
    font-family: "Barlow", sans-serif !important;
    font-weight: 600 !important;
    font-style: normal !important;
    font-size: clamp(0.8rem, 2vw, 1rem) !important;
    color: var(--true-black) !important;
}

.barlow-bold-black-16px {
    font-family: "Barlow", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: clamp(0.875rem, 2vw, 1.0625rem);
    color: var(--true-black) !important;
}

.barlow-bold-red-16px {
    font-family: "Barlow", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: clamp(0.875rem, 2vw, 1.0625rem);
    color: var(--primary-color) !important;
}

.open-sans-semibold-gray-14px {
    font: normal normal 600 clamp(0.65rem, 2vw, 0.875rem)/19px Open Sans;
    color: var(--reading-gray);
}

.open-sans-semibold-black-16px {
    font: normal normal 600 clamp(0.75rem, 2vw, 1rem) / 22px Open Sans;
    color: var(--true-black);
}

.open-sans-semibold-gray-12px {
    font: normal normal 600 clamp(0.5rem, 2vw, 0.75rem)/17px Open Sans;
    color: #8C8C8C;
}

.open-sans-bold-black-14px {
    font: normal normal bold clamp(0.65rem, 2vw, 0.8rem) / 19px Open Sans;
    color: #2B2630;
}

.open-sans-black-10px {
    font: normal normal clamp(0.6875rem, 2.5cqw, 0.75rem) / 1.42 Open Sans;
    color: #2B2630 !important;
}

.home-team, .away-team {
    min-width: 0 !important;
}

    .home-team a, .away-team a {
        min-width: 0;
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        max-width: 100px;
    }

.double-row-team a {
    overflow: visible !important;
    max-width: 100% !important;
}

.match-team-hover {
    display: inline; /* Keep as inline so it stays inside the link flow */
    white-space: nowrap;
}

.performance-container {
    position: absolute;
    right: 25%;
}

@media (max-width: 450px) {
    .ofs-sportbar-tab-list li.active-tab::after {
        content: "";
        position: absolute;
        bottom: -0.56rem;
        left: 0;
        right: 0;
        width: 95%;
        height: 4px;
        background-color: #D94646;
        border-radius: 10px 10px 0px 0px;
    }

    .ofs-sportbar-sport-type li.active-sport::after {
        content: "";
        position: absolute;
        bottom: -0.90rem;
        left: 0;
        right: 0;
        width: 95%;
        height: 3px;
        background-color: #D94646;
        border-radius: 10px 10px 0px 0px;
    }

    .match-team-hover {
        display: block;
        max-width: 100%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .home-team,
    .away-team {
        flex: 1 1 0;
        min-width: 0;
    }

    .performance-container {
        right: 12%;
    }
}

.match-team-hover:hover {
    text-decoration: underline;
}

.match-item:hover {
    cursor: pointer;
    background-color: var(--base-gray, #f5f5f5);
    border-radius: 6px;
    transition: background-color 0.15s ease;
}

.bet-box-wrapper {
    border: 1px solid #E3E3E3;
    border-radius: 3px;
}

.bet-name2 {
    background-color: transparent;
}

.bet-odd2 {
    background-color: #D9D9D9;
    border-radius: 2px;
}

.bet-count2 {
    background-color: #2AA059;
    border-radius: 2px;
    color: white;
}

.no-select {
    -webkit-user-select: none; /* Chrome, Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* eski Edge */
    user-select: none;
}


.max-w-1440 {
    max-width: 1440px;
}

.max-w-1280 {
    max-width: 1280px;
}

.ofs-popular-matches-card-header {
    text-align: left;
    font: normal normal bold clamp(0.8125rem, 2.5vw, 0.875rem) Barlow;
    letter-spacing: 0px;
    color: #000000;
    opacity: 1;
    line-height: 1.21;
}

.ofs-popular-matches-card-go-to-detail {
    text-align: center;
    font: normal normal bold clamp(0.6875rem, 2.5vw, 0.75rem) Barlow;
    letter-spacing: 0px;
    color: #242129;
    opacity: 1;
    line-height: 1.17;
}

.ofs-go-to-detail-container {
    background: #EFEFEF 0% 0% no-repeat padding-box;
    border-radius: 3px;
    opacity: 1;
    width: 125px;
    height: 28px;
}

.ofs-popular-matches-team {
    font: normal normal clamp(0.9375rem, 2.5vw, 1rem) Barlow;
    letter-spacing: 0px;
    color: #242129;
    opacity: 1;
    line-height: 1.19;
    font-weight: 500;
}

.ofs-popular-matches-manager {
    font: normal normal clamp(0.6875rem, 2.5vw, 0.75rem) Barlow;
    letter-spacing: 0px;
    color: #959297;
    opacity: 1;
    font-weight: 500;
    line-height: 1.17;
}

.ofs-popular-matches-team-logo {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px;
    min-height: 36px;
    object-fit: contain;
    display: block;
}

#left-arrow,
#right-arrow, #left-detail-arrow, #right-detail-arrow {
    cursor: pointer;
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popular-matches .slick-dots,
.h2h-comp .slick-dots,
.h2h-match-detail-comp .slick-dots,
.h2h-basket-match-detail-comp .slick-dots {
    bottom: -25px;
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex !important;
    justify-content: center;
    gap: 6px;
    position: relative !important;
    top: -15px !important
}

    .popular-matches .slick-dots li,
    .h2h-comp .slick-dots li,
    .h2h-match-detail-comp .slick-dots li,
    .h2h-basket-match-detail-comp .slick-dots li {
        width: 8px !important;
        height: 8px !important;
        margin: 0 !important;
        padding: 0 !important;
    }

        .popular-matches .slick-dots li button,
        .h2h-comp .slick-dots li button,
        .h2h-match-detail-comp .slick-dots li button,
        .h2h-basket-match-detail-comp .slick-dots li button {
            width: 8px !important;
            height: 8px !important;
            padding: 0 !important;
            background-color: #FFFFFF !important;
            border: 1px solid #D94646 !important;
            border-radius: 50% !important;
            display: block !important;
            font-size: 0 !important;
            line-height: 0 !important;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .popular-matches .slick-dots li.slick-active button,
        .h2h-comp .slick-dots li.slick-active button,
        .h2h-match-detail-comp .slick-dots li.slick-active button,
        .h2h-basket-match-detail-comp .slick-dots li.slick-active button {
            background-color: #D94646 !important;
        }

        .popular-matches .slick-dots li button:before,
        .h2h-comp .slick-dots li button:before,
        .h2h-match-detail-comp .slick-dots li button:before,
        .h2h-basket-match-detail-comp .slick-dots li button:before {
            display: none !important;
        }

.slick-dotted.slick-slider {
    margin-bottom: 5px !important;
}

.ofs-detail-view {
    background: #D94646 0% 0% no-repeat padding-box;
    border-radius: 3px;
    opacity: 1;
    height: clamp(1.25rem, 2.5cqw, 1.5rem);
    max-width: 96px;
}

.ofs-detail-view-span {
    text-align: center;
    font: normal normal bold clamp(0.5625rem, 2.5cqw, 0.625rem)/1.2 Barlow;
    letter-spacing: 0px;
    color: #FFFFFF;
    opacity: 1;
}

.ofs-match-detail-team {
    text-align: center;
    font: normal normal clamp(0.8125rem, 2.5cqw, 0.875rem)/1.21 Barlow;
    letter-spacing: 0px;
    color: #242129;
    opacity: 1;
    font-weight: 400;
}

.ofs-match-detail-team-logo {
    width: clamp(1.5rem, 7cqw, 3rem) !important;
    height: clamp(1.5rem, 7cqw, 3rem) !important;
    max-width: clamp(1.5rem, 7cqw, 3rem);
    max-height: clamp(1.5rem, 7cqw, 3rem);
    object-fit: contain;
    display: block;
}

.ofs-match-detail-manager {
    text-align: center;
    font: normal normal clamp(0.6875rem, 2.5cqw, 0.875rem)/1.17 Barlow;
    letter-spacing: 0px;
    color: #959297;
    opacity: 1;
    font-weight: 500;
}

.grid-left-arrows {
    grid-column: 1;
    grid-row: 2 / 4;
    display: flex;
    justify-content: center;
    justify-self: start;
}

.grid-right-arrows {
    grid-column: 9;
    grid-row: 2 / 4;
    display: flex;
    justify-content: center;
    justify-self: end;
}

.grid-score {
    grid-column: 5;
    grid-row: 2 / 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.grid-home {
    grid-column: 3 / 5;
    grid-row: 2 / 4;
}

.grid-away {
    grid-column: 6 / 8;
    grid-row: 2 / 4;
}

.tab-scroll-container {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    background: #fff;
    overflow: hidden;
}

#match-detail-tabs, #match-detail-odd-tabs, #team-detail-tabs, #team-detail-matches-tabs,
#mini-team-detail-tabs, #mini-team-sort-tabs, #mini-basket-team-detail-tabs, #mini-basket-sort-tabs, #mini-comp-detail-tabs,
#player-detail-tabs, #competition-detail-tabs, #mini-volley-sort-tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    border-bottom: none !important;
    gap: 3px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
    user-select: none;
}

    #match-detail-tabs:active, #team-detail-tabs:active, #team-detail-matches-tabs:active,
    #mini-team-detail-tabs:active, #mini-team-sort-tabs:active, #mini-basket-team-detail-tabs:active, #mini-basket-sort-tabs:active,
    #mini-comp-detail-tabs:active, #player-detail-tabs:active, #competition-detail-tabs:active {
        cursor: grabbing;
    }

    #match-detail-odd-tabs:active {
        cursor: grabbing;
    }

    #match-detail-tabs::-webkit-scrollbar, #team-detail-tabs::-webkit-scrollbar, #team-detail-matches-tabs::-webkit-scrollbar,
    #mini-team-detail-tabs::-webkit-scrollbar, #mini-team-sort-tabs::-webkit-scrollbar, #mini-basket-team-detail-tabs::-webkit-scrollbar, #mini-basket-sort-tabs::-webkit-scrollbar,
    #mini-comp-detail-tabs::-webkit-scrollbar, #player-detail-tabs::-webkit-scrollbar, #competition-detail-tabs::-webkit-scrollbar {
        display: none;
    }

    #match-detail-odd-tabs::-webkit-scrollbar {
        display: none;
    }

    #match-detail-tabs .nav-item, #team-detail-tabs .nav-item, #team-detail-matches-tabs .nav-item,
    #mini-team-detail-tabs .nav-item, #mini-team-sort-tabs .nav-item, #mini-basket-team-detail-tabs .nav-item, #mini-basket-sort-tabs .nav-item,
    #mini-comp-detail-tabs .nav-item, #player-detail-tabs .nav-item, #competition-detail-tabs .nav-item {
        flex: 0 0 auto;
    }

    #match-detail-odd-tabs .nav-item {
        flex: 0 0 auto;
    }

    #match-detail-tabs .nav-link, #team-detail-tabs .nav-link, #team-detail-matches-tabs .nav-link,
    #mini-team-detail-tabs .nav-link, #mini-team-sort-tabs .nav-link, #mini-basket-team-detail-tabs .nav-link, #mini-basket-sort-tabs .nav-link,
    #mini-comp-detail-tabs .nav-link, #player-detail-tabs .nav-link, #competition-detail-tabs .nav-link,
    #volley-detail-tabs .nav-link,
    #vt-matches-tabs .nav-link, #mini-volley-team-detail-tabs .nav-link, #mini-volley-sort-tabs  .nav-link{
        white-space: nowrap;
        text-align: left;
        font: normal normal clamp(0.6875rem, 2.5cqw, 0.9125rem)/1.23 Barlow;
        letter-spacing: 0px;
        color: #959297;
        font-weight: 500;
        position: relative;
        background: transparent;
        border: none !important;
        transition: color 0.3s ease;
    }

    #match-detail-odd-tabs .nav-link {
        white-space: nowrap;
        text-align: left;
        font: normal normal clamp(0.6875rem, 2.5cqw, 0.8125rem)/1.23 Barlow;
        letter-spacing: 0px;
        color: #959297;
        font-weight: 500;
        position: relative;
        background: transparent;
        border: none !important;
        transition: color 0.3s ease;
    }

    #match-detail-tabs .nav-link:hover, #team-detail-tabs .nav-link:hover, #team-detail-matches-tabs .nav-link:hover,
    #mini-team-detail-tabs .nav-link:hover, #mini-team-sort-tabs .nav-link:hover, #mini-basket-team-detail-tabs .nav-link:hover, #mini-basket-sort-tabs .nav-link:hover,
    #mini-comp-detail-tabs .nav-link:hover, #player-detail-tabs .nav-link:hover, #competition-detail-tabs .nav-link:hover,
    #volley-detail-tabs .nav-link:hover,
    #vt-matches-tabs .nav-link:hover {
        color: #242129;
    }

    #match-detail-odd-tabs .nav-link:hover {
        color: #242129;
    }

    #match-detail-tabs .nav-link.active, #team-detail-tabs .nav-link.active, #team-detail-matches-tabs .nav-link.active,
    #mini-team-detail-tabs .nav-link.active, #mini-team-sort-tabs .nav-link.active, #mini-basket-team-detail-tabs .nav-link.active, #mini-basket-sort-tabs .nav-link.active,
    #mini-comp-detail-tabs .nav-link.active, #player-detail-tabs .nav-link.active, #competition-detail-tabs .nav-link.active,
    #volley-detail-tabs .nav-link.active,
    #vt-matches-tabs .nav-link.active, #mini-volley-team-detail-tabs .nav-link.active, #mini-volley-sort-tabs .nav-link.active {
        color: #242129;
        font-weight: 600;
    }

    #match-detail-odd-tabs .nav-link.active {
        color: #242129;
        font-weight: 600;
    }

    #match-detail-tabs .nav-link.active::after, #team-detail-matches-tabs .nav-link.active::after,
    #mini-team-detail-tabs .nav-link.active::after, #mini-team-sort-tabs .nav-link.active::after,
    #mini-basket-team-detail-tabs .nav-link.active::after, #mini-basket-sort-tabs .nav-link.active::after,
    #mini-comp-detail-tabs .nav-link.active::after, #vt-matches-tabs .nav-link.active::after, #mini-volley-team-detail-tabs .nav-link.active::after,
    #mini-volley-sort-tabs .nav-link.active::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 15px;
        right: 15px;
        height: 3px;
        background-color: var(--primary-color);
        border-radius: 2px 2px 0 0;
        z-index: 1;
    }

    #team-detail-tabs .nav-link.active::after,
    #player-detail-tabs .nav-link.active::after,
    #competition-detail-tabs .nav-link.active::after,
    #volley-detail-tabs .nav-link.active::after {
        content: "";
        position: absolute;
        bottom: 1px;
        left: 15px;
        right: 15px;
        height: 3px;
        background-color: var(--primary-color);
        border-radius: 2px 2px 0 0;
        z-index: 1;
    }

    #match-detail-odd-tabs .nav-link.active::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 15px;
        right: 15px;
        height: 3px;
        background-color: #ff0000;
        border-radius: 2px 2px 0 0;
        z-index: 1;
    }

#odds-tab-left-arrow {
    display: none;
}

#odds-tab-right-arrow {
    display: none;
}

.tab-arrow {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    cursor: pointer;
    background: #fff;
}

.left-arrow {
    left: 0;
    background: linear-gradient(to right, white 80%, rgba(255, 255, 255, 0));
}

.right-arrow {
    right: 0;
    background: linear-gradient(to left, white 80%, rgba(255, 255, 255, 0));
}

.tab-arrow img {
    width: 60px;
    height: 40px;
    opacity: 1;
    background: transparent;
}

.border-bottom-0 {
    border-bottom: 0 !important;
}

.ofs-match-detail-info {
    font: normal normal normal 13px/17px Barlow;
    letter-spacing: 0px;
    color: #000000;
    opacity: 1;
    font-weight: 400;
}

.ofs-match-detail-info-flow {
    font: normal normal normal 14px/20px Barlow;
    letter-spacing: 0px;
    color: #000000;
    opacity: 1;
    font-weight: 400;
}

.ofs-match-detail-info.fw-semibold {
    font-weight: 600 !important;
}

.ofs-match-detail-info-logo {
    width: 20px;
    height: 20px;
    object-fit: contain;
    display: block;
}

.ofs-match-detail-odd-header {
    font: normal normal 500 13px/17px Barlow;
    letter-spacing: 0px;
    color: #242129;
    opacity: 1;
}

.ofs-bg-passive {
    background: #E3E3E3 0% 0% no-repeat padding-box !important;
    box-shadow: 0px 2px 2px #00000012 !important;
    border-radius: 10px;
    opacity: 1 !important;
}

.ofs-match-detail-odd-box {
    background: transparent 0% 0% no-repeat padding-box;
    border-radius: 2px;
    opacity: 1;
    background-color: #D94646;
    width: clamp(0.5rem, 5cqw, 0.925rem);
    height: clamp(0.5rem, 5cqw, 0.925rem);
}

.ofs-match-detail-odd-mbs {
    text-align: center;
    font: normal normal bold clamp(0.5rem, 2vw, 0.625rem)/1.17 Barlow;
    letter-spacing: 0px;
    color: #FFFFFF;
    opacity: 1;
}

.ofs-match-detail-odd-id {
    font: normal normal clamp(0.625rem, 1.9cqw, 0.875rem)/1.4 Open Sans;
    letter-spacing: 0px;
    color: #000000;
    opacity: 1;
    font-weight: 400;
}

.ofs-match-detail-odd-value {
    font: normal normal 600 clamp(8px, 2.5vw, 10px)/1.4 Open Sans;
    letter-spacing: 0px;
    color: #8C8C8C;
    opacity: 1;
    font-size-adjust: 0.5;
}

.odd-square {
    width: 50px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    border-radius: 3px;
    overflow: hidden;
}

.odd-square-wrapper {
    display: flex;
    flex-direction: column;
}

.ofs-match-detail-form-date {
    font: normal normal 600 clamp(0.625rem, 2.5vw, 0.75rem)/1.42 Open Sans;
    letter-spacing: 0px;
    color: #959297;
    opacity: 1;
}

.logo-container {
    flex-shrink: 0;
}

.ofs-match-detail-minute {
    font: normal normal clamp(1.375rem, 2.5vw, 1.5rem)/1.21 Barlow;
    letter-spacing: 0px;
    color: #242129;
    opacity: 1;
    font-weight: 500;
}

.ofs-match-detail-filter-btn {
    background: #EFEFEF 0% 0% no-repeat padding-box;
    border-radius: 6px !important;
    opacity: 1;
    color: var(--true-black);
    font: normal normal clamp(0.6875rem, 2.5vw, 0.75rem)/1.17 Barlow;
    letter-spacing: 0px;
    color: #000000;
    font-weight: 500;
}

.ofs-match-detail-squad-team-logo {
    width: 24px !important;
    height: 24px !important;
    min-width: 24px;
    min-height: 24px;
    object-fit: contain;
    display: block;
}

.ofs-mini-match-detail-field {
    position: relative;
    display: flex;
    flex-direction: column;
}

.ofs-mini-match-detail-player-container {
    width: 2rem;
}

.ofs-match-detail-field .ofs-mini-match-detail-field-player-photo {
    border-radius: 50%;
    background: transparent 0% 0% no-repeat padding-box;
    opacity: 1;
    background-color: #499B5F;
    width: 3rem;
    height: 3rem;
    overflow: hidden;
    object-fit: contain;
}

.ofs-mini-match-detail-field-player-photo {
    border-radius: 50%;
    background: transparent 0% 0% no-repeat padding-box;
    opacity: 1;
    background-color: #499B5F;
    width: 2rem;
    height: 2rem;
    overflow: hidden;
    object-fit: contain;
}

.ofs-mini-match-squad-player-name {
    font: normal normal clamp(0.6875rem, 2.5vw, 0.75rem)/1.17 Barlow;
    letter-spacing: 0px;
    color: #fff;
    opacity: 1;
    font-weight: 400;
}

.ofs-mini-match-detail-field-player-market-value {
    background-color: #000000;
    border-radius: 3px;
    text-align: center;
    font: normal normal clamp(0.6875rem, 2.5vw, 0.75rem) / 1.17 Barlow;
    letter-spacing: 0px;
    color: #FFFFFF;
    opacity: 1;
    font-weight: 700;
    width: auto;
    height: clamp(1rem, 2.5vw, 1.15rem);
}

.ofs-mini-match-detail-field-player-age {
    background: transparent url('/img/black_age.svg') 0% 0% no-repeat padding-box;
    border-radius: 3px;
    opacity: 1;
    text-align: center;
    font: normal normal clamp(0.6875rem, 2.5vw, 0.75rem) / 1.17 Barlow;
    letter-spacing: 0px;
    color: #FFFFFF;
    font-weight: 700;
    width: clamp(1rem, 2.5vw, 1.15rem);
    height: clamp(1rem, 2.5vw, 1.15rem);
}

.ofs-mini-match-detail-squad-player-logo {
    width: 3rem;
    height: 3rem;
    max-width: 3rem;
    max-height: 3rem;
    object-fit: contain;
    display: block;
}

.ofs-mini-match-detail-squad-manager-title {
    font: normal normal clamp(0.6875rem, 2.5vw, 0.75rem)/1.17 Barlow;
    letter-spacing: 0px;
    color: #959297;
    opacity: 1;
    font-weight: 500;
}

.ofs-mini-match-detail-field-rating {
    text-align: center;
    font: normal normal bold clamp(0.6875rem, 2.5vw, 0.75rem)/1.1875rem Open Sans;
    letter-spacing: 0px;
    color: #FFFFFF;
    opacity: 1;
    vertical-align: middle;
}

.ofs-mini-match-detail-field-subs-out-div {
    position: absolute;
    top: 0;
    left: 11%;
    width: 55px;
    text-align: center;
    z-index: 10;
}

.ofs-mini-match-detail-field-subs-out {
    width: clamp(0.8rem, 3vw, 1.25rem);
    height: clamp(1rem, 2.5vw, 1rem);
}

.ofs-mini-match-detail-field-card {
    width: clamp(0.8rem, 3vw, 1.25rem);
    height: clamp(1rem, 2.5vw, 1rem);
}

.ofs-mini-match-detail-squad-player-card {
    position: absolute;
    left: 25%;
}

.ofs-mini-match-detail-field-goal-div {
    background: var(--primary-color) 0% 0% no-repeat padding-box;
    background: #D94646 0% 0% no-repeat padding-box;
    opacity: 1;
    width: clamp(0.5rem, 2vw, 0.6rem);
    height: clamp(0.5rem, 2vw, 0.6rem);
    border-radius: 50%;
}

.ofs-mini-match-detail-field-goal-score {
    color: var(--base-white);
    text-align: center;
    font: normal normal bold clamp(0.4375rem, 2vw, 0.625rem)/1.1875rem "Open Sans", sans-serif;
    letter-spacing: 0px;
    color: #FFFFFF;
    opacity: 1;
    font-weight: 700;
}

.ofs-mini-match-detail-field-assist-div {
    position: absolute;
    bottom: 15%;
    left: 23%;
    text-align: center;
    z-index: 10;
}

.field-wrapper {
    position: relative;
    width: 100%;
    /* Görselin büyük hali */
    margin: 0 auto;
}

#football-field-vertical {
    width: 100%;
    height: auto;
    display: block;
}

#ofs-match-detail-field {
    position: absolute;
    inset: 0;
}

.ofs-mini-match-detail-missing-player-div {
    background: #F6F6F6 0% 0% no-repeat padding-box;
    border-radius: 10px;
    opacity: 1;
    height: clamp(2rem, 10cqw, 2.6rem);
}

.ofs-mini-match-detail-player-rating-div {
    background: 0% 0% no-repeat padding-box;
    border-radius: 5px 5px 5px 5px;
    opacity: 1;
    justify-content: center;
    height: clamp(1rem, 3vw, 1.5rem);
    text-align: center;
    vertical-align: middle;
    align-items: center;
    width: clamp(1.4rem, 3vw, 1.5rem);
}

.ofs-mini-match-detail-player-rating {
    text-align: center;
    font: normal normal clamp(0.7375rem, 2.5cqw, 0.875rem) / 1.4375rem Open Sans;
    letter-spacing: 0px;
    color: #FFFFFF;
    opacity: 1;
    font-weight: 700;
}

.ofs-mini-match-squad-sub-out {
    object-fit: contain;
    display: block;
    aspect-ratio: 11/9;
    width: 1rem;
}

.container-query {
    container-type: inline-size;
}

.ofs-match-detail-card .ofs-mini-match-detail-event-img {
    opacity: 1;
    /*width: 1.25rem;*/
    object-fit: contain;
    display: block;
}

.ofs-mini-match-detail-event-img {
    opacity: 1;
    width: clamp(0.715rem, 2cqw, 1rem);
    object-fit: contain;
    display: block;
}

.ofs-mini-match-detail-missing-player-reason {
    font: normal normal clamp(0.6875rem, 2.5cqw, 0.875rem)/1.17 Barlow;
    letter-spacing: 0px;
    color: #E47676;
    opacity: 1;
    font-weight: 500;
}

.ofs-max-width-1440 {
    max-width: 1440px;
    width: 100vw;
}

.content-container {
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    /* Mobilde kenarlara yapışmaması için padding */
    padding-left: 15px;
    padding-right: 15px;
}

.ofs-mini-match-detail-sub-filter {
    font: normal normal clamp(0.6875rem, 2.5vw, 0.75rem)/1.17 Barlow;
    letter-spacing: 0px;
    font-weight: 500;
    opacity: 1;
}

    .ofs-mini-match-detail-sub-filter a {
        color: unset !important;
    }

.ofs-mini-match-detail-statistics-team-bar {
    background: var(--secondary-line);
    opacity: 1;
}

@media (min-width: 992px) {
    .ofs-main-container {
        max-width: calc(100% - 312px);
        width: calc(100% - 312px);
    }
}

.ofs-match-detail-statistics-season-background .active {
    background-color: #D94646 !important;
    color: #FFFFFF !important;
    border-radius: 4px;
    padding: .25rem !important;
}

.ofs-match-detail-statistics-season-background .active2 {
    background-color: #554F60 !important;
    color: #FFFFFF !important;
    border-radius: 4px;
    padding: .25rem !important;
}

.match-tabs-container {
    border-radius: 12px 12px 0 0;
    overflow: hidden;
}

.nav-tabs .nav-link {
    border-radius: 0;
}

    .nav-tabs .nav-link.active {
        color: #212529 !important;
        background-color: #ffffff !important;
        border-radius: 12px 12px 0 0 !important;
    }

    .nav-tabs .nav-link:hover:not(.active) {
        background-color: #dee2e6;
    }
/* Tablonun kaydırılabilir gövdesini seç */
.dt-scroll-body {
    cursor: grab !important;
    /* Normalde açık el */
}

    /* Tıklandığı anda (sürükleme başlarken) */
    .dt-scroll-body:active {
        cursor: grabbing !important;
        /* Yumruk yapmış el */
    }

    /* Metinlerin sürükleme sırasında maviye boyanıp (seçilip) görüntüyü bozmasını engelle */
    .dt-scroll-body td,
    .dt-scroll-body th {
        user-select: none;
        -webkit-user-select: none;
    }

.dt-column-order::before,
.dt-column-order::after {
    display: none !important;
}

.dataTable thead th {
    position: relative;
    padding-right: 30px !important;
    /* İkon için boşluk */
    cursor: pointer;
}

    /* Ortak ikon yapısı (Bootstrap Caret görünümü) */
    .dataTable thead th::after {
        display: inline-block !important;
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        font-family: "bootstrap-icons";
        content: "";
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
    }

    /* 1. DURUM: Sıralama Yokken (Opsiyonel: Silik bir aşağı ok gösterilebilir) */
    .dataTable thead th:not(.dt-ordering-asc):not(.dt-ordering-desc)::after {
        border-top: 5px solid #ccc;
    }

    /* 2. DURUM: Küçükten Büyüğe (ASC) - Yukarı Ok */
    .dataTable thead th.dt-ordering-asc::after {
        content: "";
        border-bottom: 5px solid #000;
        /* Yukarı bakan ok */
        border-top: 0;
    }

    /* 3. DURUM: Büyükten Küçüğe (DESC) - Aşağı Ok */
    .dataTable thead th.dt-ordering-desc::after {
        content: "";
        border-top: 5px solid #000;
        /* Aşağı bakan ok */
        border-bottom: 0;
    }

.dtfc-fixed-left::after {
    display: inline-block !important;
    position: absolute;
    right: 10px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-family: "bootstrap-icons";
    content: "";
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    bottom: unset !important;
}

table.dataTable tbody th,
table.dataTable tbody td {
    padding: 0px
}

.ofs-mini-match-detail-comp-item-row {
    background: #FFFFFF 0% 0% no-repeat padding-box;
    border-radius: 10px;
    opacity: 1;
}

.collapse-btn {
    transform: rotate(180deg);
    transition: transform 0.2s ease;
}

    .collapse-btn.collapsed {
        transform: rotate(0deg);
    }
/*
.is-live::after {
    content: "'";
    animation: live-blink 1s step-start infinite;
    color: inherit;
}*/

.ofs-matches-date-filter {
    position: relative;
    display: flex;
    justify-content: center;
}

#liveScoreDateInput {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    padding: 0;
    margin: 0;
    border: none;
}

.flatpickr-calendar.static {
    position: absolute;
    top: 100% !important;
    left: 50% !important;
    transform: translateX(-50%);
    z-index: 999;
}

.flatpickr-calendar {
    margin-top: 14px;
    margin-right: 30px;
}

.flatpickr-wrapper {
    display: contents;
}

@keyframes live-blink {

    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.forum-container-wrapper {
    max-height: 820px;
    overflow-y: auto;
    position: relative;
}

    .forum-container-wrapper::-webkit-scrollbar {
        display: none;
    }

#sportMatchesList {
    position: relative;
    min-height: 200px;
}

.ui-blocker {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.6);
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: wait;
}

.custom-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#ofs-match-detail-widget,
#ofs-team-detail-widget,
#ofs-comp-detail-widget {
    position: relative;
    min-height: 80px;
}

.img-spinner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1050;
    pointer-events: none;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.img-spinner-inner {
    position: sticky;
    top: calc(50vh - 32px);
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: hue-rotate(80deg) saturate(1.4);
    animation: loader-frames 1s step-start infinite;
}

.img-spinner-blocking {
    pointer-events: auto;
    background: rgba(255, 255, 255, 0.6);
    cursor: wait;
}

@keyframes loader-frames {
    0%      { background-image: url('/img/loader/loader-1.png'); }
    2.941%  { background-image: url('/img/loader/loader-2.png'); }
    5.882%  { background-image: url('/img/loader/loader-3.png'); }
    8.824%  { background-image: url('/img/loader/loader-4.png'); }
    11.765% { background-image: url('/img/loader/loader-5.png'); }
    14.706% { background-image: url('/img/loader/loader-6.png'); }
    17.647% { background-image: url('/img/loader/loader-7.png'); }
    20.588% { background-image: url('/img/loader/loader-8.png'); }
    23.529% { background-image: url('/img/loader/loader-9.png'); }
    26.471% { background-image: url('/img/loader/loader-10.png'); }
    29.412% { background-image: url('/img/loader/loader-11.png'); }
    32.353% { background-image: url('/img/loader/loader-12.png'); }
    35.294% { background-image: url('/img/loader/loader-13.png'); }
    38.235% { background-image: url('/img/loader/loader-14.png'); }
    41.176% { background-image: url('/img/loader/loader-15.png'); }
    44.118% { background-image: url('/img/loader/loader-16.png'); }
    47.059% { background-image: url('/img/loader/loader-17.png'); }
    50%     { background-image: url('/img/loader/loader-18.png'); }
    52.941% { background-image: url('/img/loader/loader-19.png'); }
    55.882% { background-image: url('/img/loader/loader-20.png'); }
    58.824% { background-image: url('/img/loader/loader-21.png'); }
    61.765% { background-image: url('/img/loader/loader-22.png'); }
    64.706% { background-image: url('/img/loader/loader-23.png'); }
    67.647% { background-image: url('/img/loader/loader-24.png'); }
    70.588% { background-image: url('/img/loader/loader-25.png'); }
    73.529% { background-image: url('/img/loader/loader-26.png'); }
    76.471% { background-image: url('/img/loader/loader-27.png'); }
    79.412% { background-image: url('/img/loader/loader-28.png'); }
    82.353% { background-image: url('/img/loader/loader-29.png'); }
    85.294% { background-image: url('/img/loader/loader-30.png'); }
    88.235% { background-image: url('/img/loader/loader-31.png'); }
    91.176% { background-image: url('/img/loader/loader-32.png'); }
    94.118% { background-image: url('/img/loader/loader-33.png'); }
    97.059% { background-image: url('/img/loader/loader-34.png'); }
}

.ofs-bg-gray {
    background: #F6F6F6 0% 0% no-repeat padding-box;
    border-radius: 5px;
    opacity: 1;
}

.live-toggle-wrapper {
    display: inline-flex;
}

/* Switch */
.live-switch {
    position: relative;
    width: 80px;
    height: 26px;
    background: #999;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    padding: 0;
    overflow: hidden;
    font-size: 11px;
    font-weight: 600;
    color: #fff;
}

/* CANLI yazıları */
.live-text {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s ease;
}

    .live-text.left {
        left: 10px;
    }

    .live-text.right {
        right: 10px;
    }

/* Knob */
.knob {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 30px;
    height: 22px;
    background: #fff;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d94646;
    transition: transform 0.2s ease;
    z-index: 2;
    font-size: 11px;
}

.live-count {
    font-size: 13px;
    font-weight: 700;
}

/* ON (knob sağda, CANLI solda) */
.live-toggle-wrapper.is-live-switch .live-switch {
    background: #d94646;
}

.live-toggle-wrapper.is-live-switch .knob {
    transform: translateX(46px);
}

.live-toggle-wrapper.is-live-switch .live-text.left {
    opacity: 1;
}

/* OFF (knob solda, CANLI sağda) */
.live-toggle-wrapper:not(.is-live-switch) .live-text.right {
    opacity: 1;
}

.live-toggle-wrapper:not(.is-live-switch) .knob {
    transform: translateX(0);
}

.cur-year {
    font-family: "Barlow", sans-serif !important;
    font-weight: 600 !important;
    font-style: normal !important;
    font-size: clamp(0.875rem, 1vw, 0.9375rem) !important;
    line-height: 1.2 !important;
    color: var(--true-black) !important;
}

.numInputWrapper {
    font-family: "Barlow", sans-serif !important;
    font-weight: 600 !important;
    font-style: normal !important;
    font-size: clamp(0.875rem, 1vw, 0.9375rem) !important;
    line-height: 1.2 !important;
    color: var(--true-black) !important;
}

.flow-container-wrapper {
    max-height: 1420px;
    /*overflow-y: auto;*/
    position: relative;
}

    .flow-container-wrapper::-webkit-scrollbar {
        display: none;
    }
/* Flow Kategori Filtre Pill'leri */
#flow-category-filter {
    flex-wrap: wrap;
}

.flow-cat-btn {
    font-family: "Barlow", sans-serif;
    font-weight: 600;
    font-size: 0.8125rem;
    line-height: 1;
    color: var(--true-black);
    background: transparent;
    border: 1.5px solid #e0e0e0;
    border-radius: 5px;
    padding: 6px 5px;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
    white-space: nowrap;
}

    .flow-cat-btn:hover {
        border-color: #D94646;
        color: #D94646;
    }

    .flow-cat-btn.active {
        background: #D94646;
        border-color: #D94646;
        color: #fff;
    }


/* MagnificPopup z-index override — post detail overlay (z:9500) üzerinde açılsın */
.mfp-bg {
    z-index: 9600 !important;
}

.mfp-wrap {
    z-index: 9700 !important;
}

/* === Mobile Bottom Nav Bar === */
.ofs-mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    background-color: var(--offside-black);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    /* height = nav içerik alanı (60px) + home indicator safe area */
    height: calc(60px + constant(safe-area-inset-bottom));
    height: calc(60px + env(safe-area-inset-bottom));
    /* padding-bottom: nav itemları 60px alanda tutar, safe area arka plan ile dolar */
    padding: 0 0 constant(safe-area-inset-bottom) 0;
    padding: 0 0 env(safe-area-inset-bottom) 0;
    box-sizing: border-box;
    justify-content: space-around;
    align-items: stretch;
    margin: 0;
    /* iOS Chrome scroll sırasında position:fixed kaymasını engeller (GPU layer) */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

/* Chrome iOS: home indicator zone'u arka plan rengiyle kapla */
.ofs-mobile-bottom-nav::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 50px;
    background-color: var(--offside-black);
    pointer-events: none;
}

.ofs-mobile-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: var(--reading-gray);
    text-decoration: none;
    font-family: 'Barlow', sans-serif;
    font-size: clamp(9px, 2.8vw, 11px);
    font-weight: 600;
    transition: color 0.2s ease;
    position: relative;
    padding: 0 2px;
    margin: 0;
    overflow: hidden;
}

.ofs-mobile-nav-item span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    text-align: center;
}

    .ofs-mobile-nav-item i {
        width: 20px;
        height: 20px;
        font-size: 21px;
        line-height: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--reading-gray);
        flex-shrink: 0;
    }

    .ofs-mobile-nav-item.active-tab i {
        color: #fff;
    }

.ofs-bottom-nav-svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    filter: brightness(0) invert(0.5);
}

.ofs-mobile-nav-item.active-tab .ofs-bottom-nav-svg {
    filter: brightness(0) invert(1);
}

.ofs-mobile-nav-item.active-tab {
    color: #fff;
}

    .ofs-mobile-nav-item.active-tab::after {
        content: "";
        position: absolute;
        top: 0;
        left: 10%;
        right: 10%;
        height: 3px;
        background-color: #D94646;
        border-radius: 0 0 4px 4px;
    }

/* === Mobil Arama Overlay === */
@media (max-width: 767px) {
    .ofs-search {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1300;
        background-color: var(--offside-black);
        padding: 10px 12px;
        gap: 8px;
        align-items: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

        .ofs-search.mobile-active {
            display: flex;
        }

        .ofs-search input {
            flex: 1;
            padding-right: 16px;
        }

        .ofs-search #ofs-search-btn {
            position: static;
            transform: none;
            flex-shrink: 0;
        }

        /* Panel mobilde tam genişlik, search bar'ın hemen altına */
        .ofs-search .ofs-search-panel {
            left: 0 !important;
            right: 0 !important;
            width: 100% !important;
            max-width: 100% !important;
            min-width: unset !important;
            border-radius: 0 0 12px 12px;
            max-height: 70vh;
        }
}

/* === Mobil Spor Tipi Dropdown (Header) === */
.ofs-mobile-sport-dropdown {
    position: relative;
}

.ofs-mobile-sport-btn {
    background: none;
    border: none;
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    padding: 6px;
}

.ofs-mobile-sport-active-icon {
    width: 18px;
    height: 18px;
}

.ofs-sport-arrow {
    width: 10px;
    height: 10px;
    filter: brightness(0) invert(1);
    transition: transform 0.2s ease;
}

    .ofs-sport-arrow.rotated {
        transform: rotate(180deg);
    }

.ofs-mobile-sport-menu {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background-color: var(--offside-black);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 8px 6px;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 1200;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    min-width: 48px;
}

    .ofs-mobile-sport-menu.show {
        display: flex;
    }

.ofs-mobile-sport-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    transition: background-color 0.15s ease;
}

    .ofs-mobile-sport-item img {
        width: 18px;
        height: 18px;
    }

    .ofs-mobile-sport-item.active-sport-item {
        background-color: rgba(217, 70, 70, 0.2);
    }

    .ofs-mobile-sport-item:hover {
        background-color: rgba(255, 255, 255, 0.08);
    }

@media (max-width: 767px) {
    body.has-bottom-nav {
        padding-bottom: calc(60px + env(safe-area-inset-bottom));
    }
}

.ofs-footer-nav { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 8px; }
.ofs-footer-nav a { font-size: 0.75rem; color: var(--true-black); text-decoration: none; opacity: 0.7; }
.ofs-footer-nav a:hover { opacity: 1; }
