:root {
    --prayer-strip-height: 74px;
    --prayer-red: #d33e43;
    --prayer-black: #0b0b0c;
}

.prayer-strip {
    position: fixed !important;
    z-index: 1060;
    top: 0 !important;
    right: 0;
    left: 0;
    height: var(--prayer-strip-height);
    color: #f7f7f7;
    background: #0b0b0c;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    font-family: "Open Sans", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.prayer-strip__inner {
    position: relative;
    display: grid;
    grid-template-columns: 188px minmax(470px, 1fr) 216px;
    gap: 24px;
    align-items: start;
    width: min(1180px, calc(100% - 40px));
    height: 100%;
    margin: 0 auto;
    padding: 10px 0 18px;
}

.prayer-strip__summary,
.prayer-strip__next {
    min-width: 0;
}

.prayer-strip__summary {
    padding-top: 1px;
    line-height: 1.15;
}

.prayer-strip__summary strong {
    display: block;
    overflow: hidden;
    color: #f7f7f7;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.prayer-strip__summary span {
    display: block;
    margin-top: 4px;
    overflow: hidden;
    color: rgba(255,255,255,.45);
    font-size: 9px;
    letter-spacing: .05em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.prayer-strip__times {
    display: grid;
    grid-template-columns: repeat(6, minmax(58px, 1fr));
    align-items: start;
    min-width: 0;
}

.prayer-time {
    position: relative;
    min-width: 0;
    padding: 0 6px;
    text-align: center;
    transition: opacity .35s ease, color .35s ease;
}

.prayer-time span,
.prayer-time strong {
    display: block;
}

.prayer-time span {
    color: rgba(255,255,255,.58);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.prayer-time strong {
    margin-top: 3px;
    color: #fff;
    font-size: 12px;
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    letter-spacing: .035em;
}

.prayer-time.is-past {
    opacity: .27;
}

.prayer-time.is-next span,
.prayer-time.is-next strong {
    color: #fff;
}

.prayer-time.is-next::after {
    content: "";
    position: absolute;
    right: 32%;
    bottom: -8px;
    left: 32%;
    height: 1px;
    background: rgba(255,255,255,.72);
}

.prayer-strip__next {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 8px;
    align-items: baseline;
    padding-top: 0;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.prayer-strip__next-label {
    grid-row: 1 / 3;
    align-self: center;
    color: rgba(255,255,255,.34);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.prayer-strip__next strong {
    overflow: hidden;
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.prayer-strip__next [data-next-countdown] {
    margin-top: 2px;
    color: rgba(255,255,255,.55);
    font-size: 10px;
    letter-spacing: .06em;
}

.prayer-strip__next [data-next-countdown]::before {
    content: "KALAN SÜRE";
    display: block;
    margin-bottom: 1px;
    color: rgba(255,255,255,.30);
    font-size: 7px;
    font-weight: 700;
    letter-spacing: .13em;
    line-height: 1;
}

.prayer-strip__timeline {
    position: absolute;
    right: 0;
    bottom: 7px;
    left: 0;
    height: 13px;
}

.prayer-strip__track {
    position: absolute;
    top: 7px;
    right: 0;
    left: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(255,255,255,.10), rgba(255,255,255,.28), rgba(255,255,255,.10));
}

.prayer-strip__dot {
    position: absolute;
    top: 4px;
    width: 6px;
    height: 6px;
    margin-left: -3px;
    border: 1px solid rgba(255,255,255,.65);
    border-radius: 50%;
    background: #0b0b0c;
    opacity: .68;
    transform: scale(.8);
    transition: opacity .35s ease;
}

.prayer-strip__dot.is-past {
    opacity: .18;
}

.prayer-strip__dot.is-next {
    border-color: #fff;
    background: #fff;
    opacity: .9;
}

.prayer-strip__now {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 13px;
    transition: left .8s linear;
}

.prayer-strip__now-line {
    position: absolute;
    top: 0;
    left: -1px;
    width: 2px;
    height: 13px;
    background: var(--prayer-red);
    box-shadow: 0 0 8px rgba(211,62,67,.5);
}

.prayer-strip__now-clock {
    position: absolute;
    top: -4px;
    left: 7px;
    color: var(--prayer-red);
    font-size: 9px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    letter-spacing: .05em;
    white-space: nowrap;
}

body.prayer-strip-enabled header.navbar-fixed-top {
    top: var(--prayer-strip-height);
}

@media (max-width: 980px) {
    :root { --prayer-strip-height: 82px; }

    .prayer-strip__inner {
        grid-template-columns: 145px minmax(390px, 1fr) 175px;
        gap: 12px;
        width: calc(100% - 24px);
        padding-top: 9px;
    }

    .prayer-strip__summary span { font-size: 8px; }
    .prayer-time { padding: 0 3px; }
    .prayer-time span { font-size: 8px; }
    .prayer-time strong { font-size: 11px; }
    .prayer-strip__next-label { display: none; }
    .prayer-strip__next { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
    :root { --prayer-strip-height: 108px; }

    .prayer-strip__inner {
        grid-template-columns: 1fr auto;
        grid-template-rows: 30px 42px;
        gap: 4px 12px;
        width: calc(100% - 22px);
        padding: 7px 0 18px;
    }

    .prayer-strip__summary {
        grid-column: 1;
        grid-row: 1;
    }

    .prayer-strip__summary strong { font-size: 10px; }
    .prayer-strip__summary span { margin-top: 2px; }

    .prayer-strip__next {
        grid-column: 2;
        grid-row: 1;
        min-width: 112px;
    }

    .prayer-strip__times {
        grid-column: 1 / -1;
        grid-row: 2;
        align-self: center;
        width: 100%;
    }

    .prayer-time span { font-size: 7px; }
    .prayer-time strong { font-size: 10px; }
    .prayer-time.is-next::after { bottom: -5px; }
    .prayer-strip__timeline { bottom: 6px; }
}

@media (max-width: 420px) {
    .prayer-strip__inner {
        width: calc(100% - 14px);
        gap: 3px 6px;
    }

    .prayer-strip__summary span {
        max-width: 145px;
    }

    .prayer-strip__next {
        min-width: 104px;
    }

    .prayer-strip__next strong,
    .prayer-strip__next [data-next-countdown] {
        font-size: 9px;
    }

    .prayer-time { padding: 0 1px; }
    .prayer-time span { letter-spacing: 0; }
    .prayer-time strong { font-size: 9px; }
}
