/*
|--------------------------------------------------------------------------
| LUTHERBET - SITE RESPONSIVE
|--------------------------------------------------------------------------
| Site shell iÃƒÂ§in tablet / mobil dÃƒÂ¼zeltmeleri.
| Backend, API ve JS iÃ…Å¸ mantÃ„Â±Ã„Å¸Ã„Â± iÃƒÂ§ermez.
|--------------------------------------------------------------------------
*/


/* =========================================================
   LARGE DESKTOP
========================================================= */

@media (max-width: 1380px) {

    body.site-shell-v2 .top-header-inner {
        padding-left: 14px;
        padding-right: 14px;
    }


    body.site-shell-v2 .header-shortcut {
        padding-left: 9px;
        padding-right: 9px;

        font-size: .56rem;
    }


    body.site-shell-v2 .header-search {
        flex-basis: 190px;
        width: 190px;
    }


    body.site-shell-v2 .main-content {
        padding-left: 20px;
        padding-right: 20px;
    }

}



/* =========================================================
   DESKTOP COMPACT
========================================================= */

@media (max-width: 1240px) {

    body.site-shell-v2 .header-shortcut:nth-child(3),
    body.site-shell-v2 .header-shortcut:nth-child(4) {
        display: none;
    }


    body.site-shell-v2 .header-search {
        flex-basis: 180px;
        width: 180px;
    }


    body.site-shell-v2 .header-right {
        gap: 5px;
    }


    body.site-shell-v2 .lang-btn {
        padding-left: 8px;
        padding-right: 8px;
    }


    body.site-shell-v2 .btn-login,
    body.site-shell-v2 .btn-register {
        padding-left: 11px;
        padding-right: 11px;
    }

}



/* =========================================================
   SMALL DESKTOP / TABLET LANDSCAPE
========================================================= */

@media (max-width: 1120px) {

    body.site-shell-v2 .header-shortcuts {
        display: none;
    }


    body.site-shell-v2 .header-search {
        margin-left: auto;

        flex-basis: min(280px, 28vw);
        width: min(280px, 28vw);
    }


    body.site-shell-v2 .footer-columns-reference {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

}



/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1024px) {

    :root {
        --shell-sidebar-width: 0px;
    }


    /*
     * Desktop sidebar tamamen kalkar.
     * Mobil sidebar mevcut JS hook'larÃ„Â±yla ÃƒÂ§alÃ„Â±Ã…Å¸maya devam eder.
     */
    body.site-shell-v2 .sidebar {
        display: none;
    }


    body.site-shell-v2 .mobile-header-menu {
        display: flex;
    }


    body.site-shell-v2 .header-logo {
        display: inline-flex;
    }


    body.site-shell-v2 .sidebar-expand-btn {
        display: none !important;
    }


    body.site-shell-v2 .top-header-inner {
        gap: 9px;

        padding-left: 12px;
        padding-right: 12px;
    }


    body.site-shell-v2 .header-search {
        margin-left: auto;

        flex-basis: min(300px, 34vw);
        width: min(300px, 34vw);
    }


    body.site-shell-v2 .main-content {
        max-width: 100%;

        padding-left: 16px;
        padding-right: 16px;
    }


    body.site-shell-v2 .site-footer {
        margin-left: 0;
    }


    body.site-shell-v2 .footer-payment-panel .footer-pay-row {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

}



/* =========================================================
   TABLET PORTRAIT
========================================================= */

@media (max-width: 900px) {

    body.site-shell-v2 .header-select-text {
        display: none;
    }


    body.site-shell-v2 .lang-btn {
        width: 36px;
        height: 36px;

        justify-content: center;

        padding: 0;
    }


    body.site-shell-v2 .lang-btn > i {
        display: none;
    }


    body.site-shell-v2 .header-search {
        flex-basis: min(230px, 29vw);
        width: min(230px, 29vw);
    }


    body.site-shell-v2 .footer-responsible-bar {
        grid-template-columns:
            auto
            1fr;
    }


    body.site-shell-v2 .footer-responsible-links {
        grid-column: 1 / -1;

        justify-content: flex-start;
    }

}



/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 780px) {

    /*
     * Mobil header daha kompakt.
     */
    body.site-shell-v2 .top-header {
        box-shadow:
            0 7px 20px
            rgba(0,0,0,.24);
    }


    body.site-shell-v2 .top-header-inner {
        gap: 6px;

        padding-left: 9px;
        padding-right: 9px;
    }


    body.site-shell-v2 .header-logo {
        flex: 0 1 auto;
        flex-shrink: 1;

        min-width: 0;
        max-width: 180px;

        margin-right: 0;

        font-size: .95rem;
    }


    /*
     * Arama mobilde sadece ikon.
     */
    body.site-shell-v2 .header-search {
        flex:
            0 0
            34px;

        width: 34px;

        margin-left: 0;
    }


    body.site-shell-v2 .header-search-trigger {
        width: 34px;
        height: 34px;

        justify-content: center;

        padding: 0;

        border-radius: 9px;
    }


    body.site-shell-v2 .header-search-trigger .cmdp-trigger-text,
    body.site-shell-v2 .header-search-trigger kbd {
        display: none;
    }


    body.site-shell-v2 .header-search-trigger > i {
        font-size: 1.05rem;
    }


    /*
     * Para birimi / dil mobil header'da yer kaplamaz.
     */
    body.site-shell-v2 .cur-switch,
    body.site-shell-v2 .header-language {
        display: none;
    }


    body.site-shell-v2 .btn-login {
        min-height: 33px;

        padding-left: 10px;
        padding-right: 10px;
    }


    body.site-shell-v2 .btn-login i,
    body.site-shell-v2 .btn-register i {
        display: inline-block;
        flex-shrink: 0;
    }


    /*
     * KayÃ„Â±t butonu dar ekranda gizlenir.
     * Login modal/API ID'si DOM'da kalÃ„Â±r.
     */
    body.site-shell-v2 .btn-login,
    body.site-shell-v2 .btn-register,
    body.site-shell-v2 #openLogin:not([hidden]),
    body.site-shell-v2 #openRegister:not([hidden]) {
        display: inline-flex !important;
        flex: 0 0 auto;
        flex-shrink: 0;
        white-space: nowrap;
        gap: 6px;
    }


    /*
     * Login sonrasÃ„Â± API tarafÃ„Â±ndan oluÃ…Å¸turulan
     * hesap alanÃ„Â± kompakt gÃƒÂ¶rÃƒÂ¼nÃƒÂ¼r.
     */
    body.site-shell-v2 .lutherbet-account {
        gap: 4px;
    }


    body.site-shell-v2 .lutherbet-account-link {
        max-width: 118px;

        min-height: 33px;

        grid-template-columns:
            25px
            minmax(0, 1fr);

        grid-template-rows:
            1fr;

        padding:
            3px
            7px
            3px
            4px
            !important;
    }


    body.site-shell-v2 .lutherbet-account-link::before {
        grid-column: 1;
        grid-row: 1;

        width: 25px;
        height: 25px;
    }


    body.site-shell-v2 .lutherbet-account-link b,
    body.site-shell-v2 .lutherbet-account-link small {
        display: none;
    }


    body.site-shell-v2 .lutherbet-account-link span {
        grid-column: 2;
        grid-row: 1;

        min-width: 0;
        max-width: 78px;

        overflow: hidden;

        font-size: .59rem !important;

        text-overflow: ellipsis;
        white-space: nowrap;
    }


    body.site-shell-v2 .lutherbet-balance-action,
    body.site-shell-v2 #lutherbetLogout {
        display: none !important;
    }


    /*
     * Ã„Â°ÃƒÂ§erik kenarlara daha yakÃ„Â±n.
     */
    body.site-shell-v2 .main-content {
        padding:
            10px
            10px
            80px;
    }


    /*
     * Mobil sidebar.
     */
    body.site-shell-v2 .mobile-sidebar {
        width: min(86vw, 310px);
    }


    body.site-shell-v2 .mobile-sidebar .sidebar-nav {
        padding:
            12px
            11px
            30px;
    }


    body.site-shell-v2 .mobile-sidebar .nav-item {
        min-height: 42px;

        font-size: .76rem;
    }


    body.site-shell-v2 .mobile-sidebar .nav-icon {
        width: 28px;
        height: 28px;

        flex-basis: 28px;

        font-size: 1rem;
    }


    /*
     * Mobil alt navigation.
     */
    body.site-shell-v2 .mobile-bottom-nav {
        position: fixed;

        left: 0;
        right: 0;
        bottom: 0;

        z-index: 600;

        display: grid;

        grid-template-columns:
            1fr
            1fr
            96px
            1fr
            1fr;

        align-items: end;

        height:
            calc(
                62px +
                env(safe-area-inset-bottom)
            );

        padding:
            4px
            6px
            env(safe-area-inset-bottom);

        border-top:
            1px solid
            rgba(var(--primary-rgb),.12);

        background:
            rgba(7,11,16,.97);

        box-shadow:
            0 -10px 30px
            rgba(0,0,0,.35);

        backdrop-filter:
            blur(16px);
    }


    body.site-shell-v2 .mobile-nav-item {
        min-width: 0;
        height: 52px;

        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

        gap: 3px;

        border-radius: 10px;

        color: var(--text-dim);

        background: transparent;

        font-size: .56rem;
        font-weight: 700;

        transition:
            color .18s ease,
            background .18s ease;
    }


    body.site-shell-v2 .mobile-nav-item:hover,
    body.site-shell-v2 .mobile-nav-item.active {
        color: var(--shell-gold-light);

        background:
            rgba(var(--primary-rgb),.055);
    }


    body.site-shell-v2 .mobile-nav-icon {
        height: 22px;

        display: grid;
        place-items: center;

        font-size: 1.18rem;
    }


    body.site-shell-v2 .mobile-nav-label {
        display: block;

        line-height: 1;
        white-space: nowrap;
    }

    body.site-shell-v2 .mobile-nav-item.is-guest .mobile-nav-label {
        font-size: .5rem;
    }


    /*
     * Center chip button.
     */
    body.site-shell-v2 .mobile-bottom-nav {
        overflow: visible;
    }

    body.site-shell-v2 .mobile-nav-brand-wrap {
        position: relative;
        align-self: end;
        display: flex;
        justify-content: center;
        width: 96px;
        height: 52px;
        margin-top: 0;
        overflow: visible;
    }

    body.site-shell-v2 .mobile-nav-brand {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        width: 96px;
        height: 52px;
        padding: 0;
        margin: 0;
        border: 0;
        border-radius: 10px;
        background: transparent;
        color: var(--text-dim);
        text-decoration: none;
        box-shadow: none;
        cursor: pointer;
        font-size: .56rem;
        font-weight: 700;
        -webkit-tap-highlight-color: transparent;
    }

    body.site-shell-v2 a.mobile-nav-brand.active,
    body.site-shell-v2 a.mobile-nav-brand.active .mobile-nav-brand-label {
        color: var(--shell-gold-light);
    }

    body.site-shell-v2 .mobile-nav-brand-icon {
        position: relative;
        display: block;
        width: 80px;
        height: 22px;
        overflow: visible;
    }

    body.site-shell-v2 .mobile-nav-brand-mark {
        position: absolute;
        left: 50%;
        bottom: 0;
        display: block;
        width: 80px;
        height: 80px;
        object-fit: contain;
        border-radius: 50%;
        pointer-events: none;
        transform: translateX(-50%);
        filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .45));
    }

    body.site-shell-v2 .mobile-nav-brand:active .mobile-nav-brand-mark {
        transform: translateX(-50%) scale(.96);
    }

    body.site-shell-v2 .mobile-nav-brand-label {
        display: block;
        margin-top: 0;
        font-size: .5rem;
        font-weight: 700;
        line-height: 1;
        letter-spacing: -.02em;
        white-space: nowrap;
    }

    /*
     * Quick actions panel.
     */

    body.site-shell-v2 .mobile-quick-panel {
        position: absolute;
        bottom: calc(100% + 14px);
        left: 50%;
        transform: translateX(-50%);
        z-index: 700;
        width: max-content;
        min-width: 280px;
        padding: 10px;
        border-radius: 16px;
        background: rgba(12, 16, 24, .97);
        border: 1px solid rgba(var(--primary-rgb), .15);
        box-shadow: 0 12px 40px rgba(0,0,0,.55);
        backdrop-filter: blur(20px);
        opacity: 0;
        visibility: hidden;
        transform: translateX(-50%) translateY(8px) scale(.95);
        transition: opacity .22s ease, transform .22s ease, visibility .22s;
    }

    body.site-shell-v2 .mobile-quick-panel[hidden] {
        display: block !important;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateX(-50%) translateY(8px) scale(.95);
    }

    body.site-shell-v2 .mobile-quick-panel.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(-50%) translateY(0) scale(1);
    }

    body.site-shell-v2 .mobile-quick-panel-inner {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }

    body.site-shell-v2 .mobile-quick-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 5px;
        padding: 12px 8px;
        border-radius: 12px;
        color: var(--text-dim);
        text-decoration: none;
        font-size: .62rem;
        font-weight: 700;
        transition: background .15s, color .15s;
    }

    body.site-shell-v2 .mobile-quick-item:hover,
    body.site-shell-v2 .mobile-quick-item:active {
        color: var(--shell-gold-light);
        background: rgba(var(--primary-rgb), .1);
    }

    body.site-shell-v2 .mobile-quick-icon {
        width: 38px;
        height: 38px;
        display: grid;
        place-items: center;
        border-radius: 10px;
        background: rgba(var(--primary-rgb), .08);
        font-size: 1.1rem;
    }

    body.site-shell-v2 .mobile-quick-item:hover .mobile-quick-icon {
        background: rgba(var(--primary-rgb), .18);
    }

    body.site-shell-v2 .mobile-quick-label {
        line-height: 1;
    }


    /*
     * Footer mobil.
     */
    body.site-shell-v2 .site-footer {
        padding:
            25px
            12px
            96px;
    }


    body.site-shell-v2 .footer-provider-row {
        margin-left: -2px;
        margin-right: -2px;
    }


    body.site-shell-v2 .footer-license-copy p {
        font-size: .59rem;
    }

}



/* =========================================================
   MOBILE 600
========================================================= */

@media (max-width: 600px) {

    body.site-shell-v2 .top-announcement-track {
        animation-duration: 28s;
    }


    body.site-shell-v2 .header-logo {
        font-size: .89rem;
    }


    body.site-shell-v2 .mobile-header-menu {
        width: 31px;
        height: 31px;

        flex-basis: 31px;
    }


    body.site-shell-v2 .header-search {
        flex-basis: 32px;
        width: 32px;
    }


    body.site-shell-v2 .header-search-trigger {
        width: 32px;
        height: 32px;
    }


    body.site-shell-v2 .btn-login {
        min-height: 31px;

        padding-left: 8px;
        padding-right: 8px;

        font-size: .56rem;
    }


    body.site-shell-v2 .lutherbet-account-link {
        max-width: 105px;
    }


    body.site-shell-v2 .lutherbet-account-link span {
        max-width: 66px;
    }


    body.site-shell-v2 .footer-payment-panel .footer-pay-row {
        grid-template-columns:
            repeat(3, minmax(0, 1fr)) !important;
    }

}



/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    body.site-shell-v2 .header-logo {
        font-size: .82rem;
    }


    body.site-shell-v2 .top-header-inner {
        padding-left: 7px;
        padding-right: 7px;
    }


    body.site-shell-v2 .mobile-header-menu {
        width: 30px;
        height: 30px;

        flex-basis: 30px;

        font-size: 1rem;
    }


    body.site-shell-v2 .header-search {
        display: none;
    }


    body.site-shell-v2 .btn-login {
        min-height: 30px;

        padding-left: 7px;
        padding-right: 7px;

        font-size: .53rem;
    }


    body.site-shell-v2 .lutherbet-account-link {
        max-width: 96px;
    }


    body.site-shell-v2 .lutherbet-account-link span {
        max-width: 58px;

        font-size: .55rem !important;
    }


    body.site-shell-v2 .main-content {
        padding-left: 8px;
        padding-right: 8px;
    }


    body.site-shell-v2 .mobile-sidebar {
        width: 89vw;
    }


    body.site-shell-v2 .mobile-nav-item {
        font-size: .52rem;
    }


    body.site-shell-v2 .mobile-nav-icon {
        font-size: 1.12rem;
    }


    body.site-shell-v2 .mobile-nav-brand-mark {
        width: 74px;
        height: 74px;
    }


    body.site-shell-v2 .footer-social {
        flex-wrap: wrap;
    }


    body.site-shell-v2 .footer-social a {
        width: 34px;
        height: 34px;
    }

}



/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 360px) {

    body.site-shell-v2 .header-logo {
        font-size: .75rem;
    }


    body.site-shell-v2 .btn-login {
        padding-left: 6px;
        padding-right: 6px;

        font-size: .5rem;
    }


    body.site-shell-v2 .lutherbet-account-link {
        max-width: 88px;
    }


    body.site-shell-v2 .lutherbet-account-link span {
        max-width: 50px;
    }


    body.site-shell-v2 .mobile-bottom-nav {
        grid-template-columns:
            1fr
            1fr
            88px
            1fr
            1fr;
    }


    body.site-shell-v2 .mobile-nav-brand-wrap,
    body.site-shell-v2 .mobile-nav-brand {
        width: 88px;
    }

    body.site-shell-v2 .mobile-nav-brand-icon {
        width: 70px;
    }

    body.site-shell-v2 .mobile-nav-brand-mark {
        width: 70px;
        height: 70px;
    }

    body.site-shell-v2 .mobile-nav-brand-label {
        font-size: .44rem;
    }

}



/* =========================================================
   LANDSCAPE MOBILE
========================================================= */

@media
(max-width: 900px)
and
(orientation: landscape)
and
(max-height: 520px) {

    body.site-shell-v2 .mobile-sidebar {
        max-width: 290px;
    }


    body.site-shell-v2 .sidebar-promo-card {
        display: none;
    }


    body.site-shell-v2 .mobile-sidebar .sidebar-nav {
        padding-top: 8px;
    }


    body.site-shell-v2 .mobile-sidebar .nav-group {
        margin-top: 7px;
        padding-bottom: 8px;
    }


    body.site-shell-v2 .mobile-sidebar .nav-item {
        min-height: 35px;
    }

}



/* =========================================================
   TOUCH DEVICES
========================================================= */

@media (hover: none) {

    body.site-shell-v2 .nav-item:hover,
    body.site-shell-v2 .header-shortcut:hover,
    body.site-shell-v2 .footer-social a:hover,
    body.site-shell-v2 .footer-provider-item:hover,
    body.site-shell-v2 .footer-payment-panel .footer-pay-item:hover {
        transform: none;
    }

}



/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    body.site-shell-v2 .sidebar,
    body.site-shell-v2 .mobile-sidebar,
    body.site-shell-v2 .nav-item,
    body.site-shell-v2 .header-shortcut,
    body.site-shell-v2 .mobile-nav-item {
        transition-duration: .01ms !important;
    }


    body.site-shell-v2 .top-announcement-track {
        animation: none !important;
    }

}

/* =========================================================
   HEADER GUEST ROW LOCK
   Logo left (capped), GIRIS / KAYIT right, no overlap.
========================================================= */

body.site-shell-v2 .top-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 0;
}

body.site-shell-v2 .header-logo,
body.site-shell-v2 .header-logo-ref {
    flex: 0 1 auto;
    flex-shrink: 1;
    min-width: 0;
    max-width: 180px;
}

body.site-shell-v2 .header-logo-image {
    height: var(--header-logo-height, 32px);
    max-height: var(--header-logo-height, 32px);
    width: auto;
    max-width: min(42vw, 180px);
    min-width: 0;
    flex-shrink: 1;
    object-fit: contain;
}

body.site-shell-v2 .header-right,
body.site-shell-v2 .header-right-ref {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 0 0 auto;
    flex-shrink: 0;
    flex-wrap: nowrap;
    gap: 8px;
    min-width: min-content;
}

body.site-shell-v2 #openLogin:not([hidden]),
body.site-shell-v2 #openRegister:not([hidden]) {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    flex-shrink: 0;
    white-space: nowrap;
    gap: 6px;
}

@media (max-width: 400px) {
    body.site-shell-v2 .header-logo,
    body.site-shell-v2 .header-logo-ref {
        max-width: 160px;
    }

    body.site-shell-v2 .header-logo-image {
        max-width: min(38vw, 160px);
    }
}

@media (max-width: 1099px) {
    body.site-shell-v2 .footer-payment-panel .footer-pay-row {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

    body.site-shell-v2 .footer-payment-panel .footer-pay-item img {
        max-width: 100%;
        object-fit: contain;
    }
}
