/* Main broadcast */
.broadcast {
    display: grid;
    grid-template-columns: 305px minmax(0, 1fr);
    gap: 12px;
    align-items: stretch
}

.match-box,
.viewer {
    min-width: 0;
    background: #141a20;
    border: 1px solid #ffffff16;
    border-radius: 13px;
    overflow: hidden
}

.match-box {
    min-height: 440px;
    display: flex;
    flex-direction: column
}

.match-tabs {
    height: 51px;
    display: grid;
    grid-template-columns: 1.13fr .84fr .89fr .89fr;
    background: #171b20;
    border-bottom: 1px solid var(--line)
}

.match-tab {
    background: transparent;
    color: #9aa5ad;
    border: 0;
    border-right: 1px solid #ffffff12;
    font-size: 9px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    position: relative
}

.match-tab:last-child {
    border-right: 0
}

.match-tab[aria-selected="true"] {
    color: white;
    background: #ffffff05
}

.match-tab[aria-selected="true"]:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 13%;
    right: 13%;
    height: 2px;
    background: var(--lime);
    border-radius: 2px
}

.match-tab svg {
    width: 13px;
    height: 13px
}

.match-tools {
    padding: 10px 10px 8px;
    display: flex;
    align-items: center;
    gap: 7px
}

.search {
    min-width: 0;
    width: 100%;
    height: 35px;
    border-radius: 7px;
    padding: 0 11px;
    background: #0c1014;
    border: 1px solid #ffffff12;
    color: #eff5f7;
    outline: 0;
    font-size: 11px
}

.search:focus {
    border-color: #b4ff4863
}

.match-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #9eabb3;
    font-size: 10px;
    padding: 0 12px 8px
}

.match-meta span:first-child {
    font-weight: 900;
    color: #d7e2e5
}

.live-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #ff5970;
    border-radius: 50%;
    box-shadow: 0 0 0 3px #ff597019;
    margin-right: 5px
}

/* Geniş isimli takımlar için çift satırlı, kesilmeyen maç listesi. */
.match-scroll {
    overflow-y: auto;
    flex: 1 1 365px;
    height: 365px;
    padding: 0 6px 9px;
    scrollbar-width: thin;
    scrollbar-color: #425152 transparent
}

.match-item {
    display: block;
    background: #0f141a;
    border: 1px solid #173528;
    margin-bottom: 6px;
    padding: 0;
    border-radius: 10px;
    width: 100%;
    text-align: left;
    color: inherit;
    transition: background .15s, border-color .15s;
    box-shadow: inset 0 1px 0 #ffffff06
}

.match-item:hover {
    border-color: #28513e;
    background: #111920
}

.match-item.active {
    background: linear-gradient(90deg, #1c341f, #111920 68%);
    border-color: #4c8c48;
    box-shadow: 0 0 0 1px #274b2d
}

.match-item.is-live {
    border-left: 3px solid var(--lime)
}

.match-line {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    grid-template-areas: "meta league action" "teams teams teams";
    align-items: center;
    column-gap: 8px;
    row-gap: 7px;
    padding: 8px 10px
}

.match-timebox {
    grid-area: meta;
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0
}

.match-timebox b {
    color: var(--lime);
    font-size: 13px;
    line-height: 1;
    font-weight: 950;
    flex: none
}

.match-league {
    grid-area: league;
    font-size: 10px;
    line-height: 1.2;
    font-weight: 850;
    color: #9aaab3;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 140px;
    letter-spacing: .02em;
    justify-self: center
}

.match-item:hover .match-league {
    color: #dbe7ec
}

.match-teams {
    grid-area: teams;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 26px minmax(0, 1fr);
    align-items: center;
    column-gap: 7px;
    min-width: 0
}

.match-teams.is-single {
    display: flex
}

.match-teams.is-single.is-tv-row {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 3px 0 2px 0 !important;
}

.match-teams.is-single.is-tv-row .team,
.match-teams.is-single.is-tv-row .team:first-child,
.match-teams.is-single.is-tv-row .team:last-child,
.team.is-tv-team {
    display: grid !important;
    grid-template-columns: 64px 1fr 64px !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 0 !important;
}

.match-teams.is-single.is-tv-row .team::after,
.team.is-tv-team::after {
    content: "" !important;
    display: block !important;
    width: 64px !important;
    height: 1px !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.match-teams.is-single.is-tv-row .crest,
.crest.is-tv-logo {
    grid-column: 1 !important;
    width: 64px !important;
    height: 44px !important;
    min-width: 64px !important;
    max-width: 64px !important;
    max-height: 44px !important;
    border-radius: 8px !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    background: #090e13 !important;
    padding: 3px 6px !important;
    object-fit: contain !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: none !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35) !important;
}

.match-teams.is-single.is-tv-row .crest-img,
.crest-img.is-tv-logo {
    background: #090e13 !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    padding: 3px 6px !important;
}

.match-teams.is-single.is-tv-row .team-name,
.team-name.is-tv-name {
    grid-column: 2 !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    letter-spacing: .02em !important;
    text-align: center !important;
    justify-self: center !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1.25 !important;
    width: 100% !important;
    padding: 0 6px !important;
}

.match-item:hover .match-teams.is-single.is-tv-row .crest,
.match-item:hover .crest.is-tv-logo {
    border-color: rgba(188, 255, 54, 0.45) !important;
}

.match-item.active .match-teams.is-single.is-tv-row .crest,
.match-item.active .crest.is-tv-logo {
    border-color: var(--lime) !important;
    box-shadow: 0 0 10px rgba(188, 255, 54, 0.25) !important;
}

.versus {
    color: #70808a;
    text-align: center;
    font-size: 10px;
    letter-spacing: .08em;
    font-weight: 950;
    line-height: 1
}

.team {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0
}

.team:last-child {
    justify-content: flex-end;
    text-align: right
}

.team-name {
    display: block;
    min-width: 0;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.22;
    color: #f1f6f8;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    overflow-wrap: break-word;
    word-break: normal
}

.team .crest {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #ffffff45;
    background: linear-gradient(145deg, var(--c1, #4ba7c2), var(--c2, #143e5d));
    font-size: 10px;
    font-weight: 950;
    display: grid;
    place-items: center;
    color: #fff;
    flex: none;
    object-fit: contain;
    box-shadow: 0 2px 8px #00000033
}

.team .crest-img {
    background: #0e1419;
    border: 1px solid #ffffff24;
    padding: 2px
}

.match-side {
    grid-area: action;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    min-width: 40px
}

.live-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 17px;
    padding: 0 6px;
    border-radius: 999px;
    background: #214628;
    color: #d4ff8b;
    font-size: 9px;
    font-weight: 950;
    letter-spacing: .04em
}

.match-star {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 13px;
    font-size: 15px;
    line-height: 1;
    color: #8193a0
}

.match-star.is-favorite,
.match-item.active .match-star {
    color: #ffd94a
}

.match-empty {
    display: none;
    padding: 24px 12px;
    text-align: center;
    color: #8b9ba4;
    font-size: 11px
}

.mini-slot {
    flex: none;
    margin: auto 8px 8px;
    min-height: 42px;
    border: 1px solid #a2fa2d2d;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg, #0f291a, #204028, #0e251a);
    font-size: 15px;
    letter-spacing: -.5px;
    font-weight: 1000
}

.mini-slot em {
    color: var(--lime);
    font-style: normal
}

.mini-slot small {
    font-size: 8px;
    color: #b9e5bb;
    margin-left: 8px;
    letter-spacing: 0
}

.mini-slot .tag {
    position: absolute;
    top: 2px;
    right: 3px;
    font-size: 7px;
    opacity: .7
}

.viewer {
    display: flex;
    flex-direction: column;
    height: 100%
}

.viewer-head {
    height: 51px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 13px;
    background: #171b20;
    border-bottom: 1px solid var(--line);
    gap: 10px
}

.viewer-head b {
    font-size: 12px;
    max-width: 60%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.viewer-actions {
    display: flex;
    align-items: center;
    gap: 5px
}

.player-pill {
    font-size: 9px;
    border-radius: 6px;
    padding: 5px 6px;
    background: #d6ff2414;
    color: #c5ff69;
    font-weight: 1000
}

.player-pill i {
    display: inline-block;
    width: 5px;
    height: 5px;
    background: #baff39;
    border-radius: 50%;
    margin-right: 4px
}

.player-head-btn {
    width: 28px;
    height: 28px;
    background: #21292e;
    border: 1px solid #ffffff11;
    border-radius: 7px;
    color: #c3d0d5;
    display: grid;
    place-items: center
}

.player-head-btn svg {
    width: 14px;
    height: 14px
}

.video {
    position: relative;
    aspect-ratio: 16/9;
    flex: 1 1 0;
    min-height: 0;
    overflow: hidden;
    background: #071117
}

.video>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
    filter: brightness(.71) saturate(1.17);
    transition: transform .5s
}

.video::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, #06101635 0%, transparent 50%, #04101680)
}

.video-top {
    position: absolute;
    z-index: 2;
    top: 14px;
    left: 14px;
    display: flex;
    gap: 7px;
    align-items: center;
    font-size: 10px;
    font-weight: 950
}

.video-top .onair {
    background: #b6f42a;
    color: #000000;
    border-radius: 6px;
    padding: 5px 9px;
    letter-spacing: .05em;
    font-weight: 950;
    line-height: 1.2;
    box-shadow: 0 2px 8px rgba(182, 244, 42, 0.25);
}

.video-top .preview {
    padding: 5px 9px;
    border-radius: 6px;
    background: rgba(8, 20, 29, 0.75);
    backdrop-filter: blur(4px);
    color: #cde0e8;
    letter-spacing: .05em;
    font-weight: 900;
    line-height: 1.2;
}

.video-play {
    position: absolute;
    z-index: 3;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    height: 78px;
    width: 78px;
    border-radius: 50%;
    border: 2px solid #ffffff7a;
    background: #eafffbec;
    display: grid;
    place-items: center;
    box-shadow: 0 8px 50px #000c;
    transition: .2s
}

.video-play[hidden] {
    display: none !important
}

.video-play:hover {
    transform: translate(-50%, -50%) scale(1.08);
    background: #fff
}

.video-play svg {
    width: 35px;
    height: 35px;
    /*margin-left:5px;*/
    color: #111c25
}

.video-overlay-title {
    position: absolute;
    z-index: 3;
    left: 18px;
    bottom: 18px;
    max-width: calc(100% - 36px);
    font-size: 14px;
    font-weight: 1000;
    text-shadow: 0 2px 14px #000;
    letter-spacing: -.3px
}

.video-overlay-title small {
    display: block;
    font-size: 10px;
    font-weight: 750;
    color: #d0dce2;
    margin-bottom: 4px
}

.video video,
.video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    z-index: 5;
    background: #000
}

.viewer-foot {
    min-height: 54px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: #11181d;
    border-top: 1px solid var(--line);
    margin-top: auto;
    flex-shrink: 0
}

.viewer-foot .now b {
    font-size: 11px;
    display: block
}

.viewer-foot .now small {
    font-size: 9px;
    color: #8695a0;
    display: block;
    margin-top: 4px
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 5px
}

.ctrl {
    width: 31px;
    height: 30px;
    display: grid;
    place-items: center;
    background: #1a252b;
    border: 1px solid #ffffff12;
    border-radius: 7px;
    color: #c5d6dc
}

.ctrl svg {
    height: 15px;
    width: 15px
}

.ctrl:hover,
.ctrl.selected {
    color: var(--lime);
    border-color: #c6ff5330
}

/* below the player */
.ad-duo {
    margin: 13px 0 0
}

.ad-duo .ad-slot {
    min-height: 60px;
    height: 60px;
}

.below {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 12px;
    margin-top: 15px
}

.info-panel {
    border: 1px solid var(--line);
    background: #11181d;
    border-radius: 13px;
    padding: 15px 16px
}

.info-panel h3 {
    margin: 0 0 7px;
    font-size: 13px;
    letter-spacing: -.2px
}

.info-panel p {
    font-size: 11px;
    line-height: 1.7;
    color: #8e9da7;
    margin: 0
}

.league-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 9px
}

.league-chip {
    border: 1px solid #ffffff16;
    background: #19232a;
    color: #c9d5da;
    padding: 8px 9px;
    border-radius: 7px;
    font-weight: 800;
    font-size: 10px
}

.league-chip:hover {
    color: var(--lime);
    border-color: #bfff4230
}


@media(max-width:560px) {
    .match-line {
        padding: 8px 10px
    }

    .team {
        gap: 7px
    }

    .team .crest {
        width: 32px;
        height: 32px
    }

    .team-name {
        font-size: 11px
    }

    .match-timebox b {
        font-size: 13px
    }
}

@media(max-width:350px) {
    .match-teams {
        grid-template-columns: minmax(0, 1fr) 20px minmax(0, 1fr);
        column-gap: 5px
    }

    .match-league {
        max-width: 90px;
        font-size: 8px;
    }

    .team {
        gap: 5px
    }

    .team .crest {
        width: 21px;
        height: 21px
    }

    .team-name {
        font-size: 10.5px
    }

    .match-line {
        padding: 8px
    }
}

/* ==========================================================================
   CANLI YAYIN ÖZEL SES PİLL ROZETİ (STREAM AUDIO OVERRIDE PILL)
   ========================================================================== */
.stream-audio-live-pill {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 30;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(8, 12, 16, 0.92);
    border: 1px solid rgba(188, 255, 54, 0.45);
    box-shadow: 0 4px 20px rgba(0,0,0,0.7), 0 0 14px rgba(188, 255, 54, 0.25);
    color: #fff;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.03em;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    pointer-events: auto;
    user-select: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.stream-audio-live-pill:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(0,0,0,0.8), 0 0 18px rgba(188, 255, 54, 0.35);
}
.stream-audio-live-pill.is-actionable {
    cursor: pointer;
    background: rgba(188, 255, 54, 0.16);
    border-color: var(--lime, #bcff36);
    color: var(--lime, #bcff36);
    animation: audioPulseAction 1.8s ease-in-out infinite;
}
@keyframes audioPulseAction {
    0%, 100% { transform: scale(1); box-shadow: 0 0 10px rgba(188, 255, 54, 0.2); }
    50% { transform: scale(1.03); box-shadow: 0 0 20px rgba(188, 255, 54, 0.5); }
}
.audio-pill-wave {
    display: inline-flex;
    align-items: center;
    gap: 2.5px;
    height: 12px;
}
.audio-pill-wave i {
    display: inline-block;
    width: 2.5px;
    height: 100%;
    background: var(--lime, #bcff36);
    border-radius: 2px;
    animation: waveBar 0.9s ease-in-out infinite;
    transform-origin: bottom center;
}
.audio-pill-wave i:nth-child(2) { animation-delay: 0.18s; }
.audio-pill-wave i:nth-child(3) { animation-delay: 0.36s; }
.audio-pill-wave i:nth-child(4) { animation-delay: 0.54s; }
@keyframes waveBar {
    0%, 100% { transform: scaleY(0.25); opacity: 0.6; }
    50% { transform: scaleY(1); opacity: 1; }
}