/* ============================================================
   Nays × Sport Lite — orange theme + mockup chrome
   Loaded after /slite/assets/user.css on sports pages
   ============================================================ */

body.page-nays.page-sports {
    --gold: #FF8C00;
    --gold-2: #ff9e26;
    --gold-text: #111111;
    --lime: #FF8C00;
    --live: #ff3b3b;
    --bg: #0f0f0f;
    --bg-2: #0a0a0a;
    --panel: #151515;
    --panel-2: #1a1a1a;
    --panel-solid: #151515;
    --line: #2a2a2a;
    --line-2: #3a3a3a;
    --text: #ffffff;
    --muted: #8a8a8a;
    --odd: #1f1f1f;
    --odd-hover: #2a2a2a;
}

body.page-nays.page-desktop.page-sports .nays-main {
    padding: 0;
    max-width: none;
}
body.page-nays.page-desktop.page-sports .nays-footer,
body.page-nays.page-mobile.page-sports .nays-footer {
    display: none;
}
body.page-nays.page-mobile.page-sports .nays-m-main {
    padding: 0;
    padding-bottom: 0;
}

.nays-slite.gb-layout {
    display: grid;
    grid-template-columns: 248px minmax(0, 1fr) 300px;
    gap: 0;
    min-height: calc(100vh - var(--nays-header-h, 68px));
    max-width: none;
    margin: 0;
    background: var(--bg);
    border-top: 1px solid var(--line);
}

.nays-slite .gb-left,
.nays-slite .gb-slip {
    position: sticky;
    top: var(--nays-header-h, 68px);
    max-height: calc(100vh - var(--nays-header-h, 68px));
    height: calc(100vh - var(--nays-header-h, 68px));
}
.nays-slite .gb-left {
    overflow-y: auto;
}

.nays-slite .gb-left {
    background: #121212;
    border-right: 1px solid var(--line);
}
.nays-slite .gb-main {
    background: #0f0f0f;
    overflow-y: auto;
    max-height: calc(100vh - var(--nays-header-h, 68px));
    padding: 12px 14px 28px;
}
.nays-slite .gb-slip {
    background: #121212;
    border-left: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    overflow: hidden; /* menu shell — only list scrolls inside */
}

/* Mode toggle */
.nays-slite .gb-mode-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    padding: 10px;
}
.nays-slite .gb-mode {
    height: 36px;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: #171717;
    color: var(--muted);
    font-weight: 700;
    font-size: 0.78rem;
}
.nays-slite .gb-mode.active {
    color: #fff;
    border-color: var(--gold);
    background: rgba(255, 140, 0, 0.12);
    box-shadow: 0 0 0 1px rgba(255, 140, 0, 0.2);
}

.nays-slite .gb-search {
    padding: 0 10px 10px;
}
.nays-slite .gb-search input {
    width: 100%;
    height: 36px;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: #171717;
    color: #fff;
    padding: 0 12px;
}

.nays-slite .nav-sec-h {
    color: var(--muted);
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 700;
}

.nays-slite .kt-sport-item,
.nays-slite .nav-item {
    border-radius: 8px;
    border-left: 3px solid transparent;
}
.nays-slite .kt-sport-item.active,
.nays-slite .kt-sport-item.is-active,
.nays-slite .nav-item.active {
    background: rgba(255, 140, 0, 0.1);
    border-left-color: var(--gold);
    color: #fff;
}

.nays-pop-leagues__list {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 0 6px 8px;
}
.nays-pop-league {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 9px 10px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #cfcfcf;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
}
.nays-pop-league:hover {
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
}
.nays-pop-league img {
    width: 18px;
    height: 12px;
    object-fit: cover;
    border-radius: 2px;
}
.nays-pop-league i {
    margin-left: auto;
    font-size: 0.6rem;
    color: #555;
}

/* Hero */
.nays-sports-hero {
    position: relative;
    min-height: 168px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 12px;
    border: 1px solid var(--line);
    background:
        linear-gradient(100deg, rgba(8, 8, 8, 0.92) 0%, rgba(8, 8, 8, 0.45) 55%, rgba(8, 8, 8, 0.2) 100%),
        var(--sports-hero) center / cover no-repeat,
        #151515;
    padding: 28px 28px;
    display: flex;
    align-items: center;
}
.nays-sports-hero__copy h1 {
    margin: 0 0 8px;
    font-size: clamp(1.35rem, 2.2vw, 1.9rem);
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1.15;
}
.nays-sports-hero__copy h1 em {
    font-style: normal;
    color: var(--gold);
}
.nays-sports-hero__copy p {
    margin: 0 0 14px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.82rem;
    line-height: 1.45;
    font-weight: 600;
    letter-spacing: 0.04em;
}

/* Odds / chips / tables — orange accents */
.nays-slite .gb-chip.active,
.nays-slite .gb-odd.selected,
.nays-slite .gb-odd.active,
.nays-slite .gb-odd.is-selected {
    border-color: var(--gold) !important;
    background: var(--gold) !important;
    color: #111 !important;
}
.nays-slite .gb-odd:hover {
    border-color: rgba(255, 140, 0, 0.55);
}
.nays-slite .gb-place,
.nays-slite #ktPlaceBet {
    background: var(--gold) !important;
    color: #111 !important;
    border: 0 !important;
    border-radius: 8px !important;
    font-weight: 800 !important;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.nays-slite .gb-place:disabled {
    opacity: 0.45;
}
.nays-slite .gb-slip-tab.active {
    color: var(--gold);
    border-bottom-color: var(--gold);
}
.nays-slite .gb-section-title {
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.04em;
}

/* Slip head matching mockup */
.nays-slip-head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 12px 8px;
    flex-shrink: 0;
}
.nays-slip-head h3 {
    margin: 0;
    flex: 1;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.05em;
}
.nays-slip-head .nays-ozel__bar {
    width: 4px;
    height: 16px;
    border-radius: 2px;
    background: var(--gold);
}
.nays-slip-head .nays-slip__count {
    min-width: 22px;
    height: 22px;
    border-radius: 999px;
    background: var(--gold);
    color: #111;
    font-size: 0.72rem;
    font-weight: 800;
    display: grid;
    place-items: center;
}
.nays-slip-head .nays-slip__gear {
    border: 0;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
}
#naysSlipSheetClose {
    display: none;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}
#naysSlipSheetClose:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.nays-slite .gb-slip-tabs {
    flex-shrink: 0;
}
.nays-slite .gb-slip-list {
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding: 10px 10px 6px;
}
.nays-slite .gb-slip-foot {
    flex-shrink: 0;
}
.nays-slite .nays-sports-promo {
    flex-shrink: 0;
}

.nays-sports-promo {
    margin: 10px 10px 0;
    padding: 16px;
    border-radius: 10px;
    border: 1px solid rgba(255, 140, 0, 0.3);
    background:
        radial-gradient(circle at 90% 10%, rgba(255, 200, 80, 0.22), transparent 45%),
        linear-gradient(150deg, #2a1a08, #12100c 60%);
}
.nays-sports-promo__ico {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 140, 0, 0.15);
    color: #ffd27a;
    margin-bottom: 8px;
}
.nays-sports-promo h4 {
    margin: 0 0 12px;
    font-size: 0.88rem;
    font-weight: 800;
    line-height: 1.25;
}
.nays-sports-promo--live {
    margin-bottom: 14px;
    background:
        linear-gradient(120deg, rgba(8, 8, 8, 0.35), rgba(8, 8, 8, 0.75)),
        radial-gradient(circle at 80% 40%, rgba(255, 60, 60, 0.25), transparent 50%),
        #1a1210;
    border-color: rgba(255, 80, 80, 0.25);
}

.nays-slite .kt-toast {
    z-index: 4000;
}
.nays-slite .kt-modal {
    z-index: 5000;
}

/* Hide duplicate iframe leftovers */
#crSportsFrameWrap { display: none !important; }

/* Mobile coupon FAB */
.nays-sports-slip-fab {
    display: none;
}

@media (max-width: 1180px) {
    .nays-slite.gb-layout {
        grid-template-columns: 1fr;
        min-height: 0;
    }
    .nays-slite .gb-left {
        position: static;
        max-height: none;
        height: auto;
        overflow: visible;
    }
    .nays-slite .gb-main {
        position: static;
        max-height: none;
        overflow: visible;
    }

    /* Coupon as bottom sheet menu (not nested page scroll) */
    .nays-sports-slip-fab {
        display: inline-flex;
        position: fixed;
        right: 14px;
        bottom: calc(16px + env(safe-area-inset-bottom, 0px));
        z-index: 90;
        align-items: center;
        gap: 8px;
        min-height: 48px;
        padding: 0 16px 0 14px;
        border: 0;
        border-radius: 999px;
        background: var(--gold, #FF8C00);
        color: #111;
        font: inherit;
        font-size: 0.84rem;
        font-weight: 800;
        box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
        cursor: pointer;
    }
    body.page-nays.page-mobile.page-sports .nays-sports-slip-fab {
        bottom: calc(72px + env(safe-area-inset-bottom, 0px));
    }
    .nays-sports-slip-fab em {
        min-width: 22px;
        height: 22px;
        border-radius: 999px;
        background: #111;
        color: #fff;
        font-style: normal;
        font-size: 0.72rem;
        font-weight: 800;
        display: inline-grid;
        place-items: center;
    }
    .nays-sports-slip-fab[hidden] {
        display: none !important;
    }

    .nays-slite .gb-slip {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        top: auto;
        z-index: 120;
        width: 100%;
        max-width: none;
        height: min(78vh, 640px);
        max-height: min(78vh, 640px);
        border-left: 0;
        border-top: 1px solid var(--line);
        border-radius: 16px 16px 0 0;
        transform: translateY(110%);
        transition: transform 0.28s ease;
        box-shadow: 0 -16px 48px rgba(0, 0, 0, 0.45);
        overflow: hidden;
        order: unset;
    }
    .nays-slite .gb-slip.is-open {
        transform: translateY(0);
    }
    .nays-sports-slip-backdrop {
        display: none;
        position: fixed;
        inset: 0;
        z-index: 110;
        background: rgba(0, 0, 0, 0.55);
    }
    .nays-sports-slip-backdrop.is-open {
        display: block;
    }
    body.nays-sports-slip-open {
        overflow: hidden;
    }
    body.page-nays.page-mobile.page-sports .nays-slite {
        padding-bottom: 88px;
    }
    .nays-slite .nays-sports-promo {
        display: none;
    }
    #naysSlipSheetClose {
        display: inline-flex;
    }
}
