/*
 * Moje molitve — base + mobile layout (0–767px)
 * Izolacija: body.wm-is-my-prayers .wm-my-prayers
 * NE dira tablet/desktop blokove drugih stranica, NE dira bottom bar
 *
 * Base: minimalni stilovi za tablet/desktop (nova HTML struktura)
 * Mobile: full layout s headerom, sticky search, glass cards
 */

body.wm-is-my-prayers {
    --wm-mp-gold: #c8a04d;
}

body.wm-is-my-prayers .wm-my-prayers__header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

body.wm-is-my-prayers .wm-my-prayers__sort {
    display: none;
}

body.wm-is-my-prayers .wm-my-prayers__search-wrap {
    display: none;
}

body.wm-is-my-prayers .wm-my-prayers__title {
    margin: 0;
    font-family: "EB Garamond", "Lora", serif;
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 600;
    color: #3f2f20;
    flex: 1;
}

body.wm-is-my-prayers .wm-my-prayers-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

body.wm-is-my-prayers .wm-my-prayers-card {
    display: flex;
    align-items: center;
    gap: 0.225rem;
    padding: 0.39rem 0.6rem 0.39rem 0.05rem;
    border-radius: 17px;
    border: 1px solid rgba(255, 255, 255, 0.85);
    background: rgba(255, 250, 242, 0.08);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.5) inset, 0 8px 20px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    color: inherit;
    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        border-color 180ms ease;
}

body.wm-is-my-prayers .wm-my-prayers-card:active,
body.wm-is-my-prayers .wm-my-prayers-card:focus-within {
    border-color: rgba(255, 255, 255, 0.95);
}

body.wm-is-my-prayers .wm-my-prayers-card__fav {
    flex-shrink: 0;
    align-self: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    min-height: 24px;
    width: 24px;
    height: 24px;
    margin-left: 0;
    padding: 0;
    border: none !important;
    background: transparent !important;
    cursor: pointer;
    border-radius: 50%;
    box-shadow: none !important;
}

body.wm-is-my-prayers .wm-my-prayers-card__fav:hover,
body.wm-is-my-prayers .wm-my-prayers-card__fav:focus-visible {
    background: transparent !important;
}

body.wm-is-my-prayers .wm-my-prayers-card__fav .wm-fav__icon {
    width: 22px;
    height: 22px;
}

body.wm-is-my-prayers .wm-my-prayers-card__fav .wm-fav__icon svg {
    width: 22px;
    height: 22px;
}

body.wm-is-my-prayers .wm-my-prayers-card__fav:not(.is-active) .wm-fav__icon {
    transform: scale(0.88);
}

body.wm-is-my-prayers .wm-my-prayers-card__fav .wm-fav__heart-outline {
    fill: none;
    stroke: #dec077;
    stroke-width: 1.8;
}

body.wm-is-my-prayers .wm-my-prayers-card__fav:not(.is-active) .wm-fav__heart-fill {
    opacity: 0;
}

body.wm-is-my-prayers .wm-my-prayers-card__fav.is-active .wm-fav__heart-outline {
    opacity: 0;
}

body.wm-is-my-prayers .wm-my-prayers-card__fav.is-active .wm-fav__heart-fill {
    fill: #e8c968;
    fill: url(#wm-heart-gold-gradient);
    opacity: 1;
    filter: drop-shadow(0 0 3px rgba(232, 205, 107, 0.5));
}

body.wm-is-my-prayers .wm-myprayers__card {
    list-style: none;
    position: relative;
    overflow: hidden;
    border-radius: 17px;
}

body.wm-is-my-prayers .wm-myprayers__card .wm-my-prayers-card {
    display: flex;
    width: 100%;
    box-sizing: border-box;
}

body.wm-is-my-prayers .wm-my-prayers-list {
    overflow-x: clip;
}

body.wm-is-my-prayers .wm-myprayers__swipeRow {
    position: relative;
    border-radius: inherit;
    overflow: hidden;
}

body.wm-is-my-prayers .wm-myprayers__actions {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: flex-end;
    align-items: stretch;
    z-index: 0;
    pointer-events: none;
    background: transparent;
}

body.wm-is-my-prayers .wm-myprayers__card.is-swipe-open .wm-myprayers__actions,
body.wm-is-my-prayers .wm-myprayers__card.is-swipe-active .wm-myprayers__actions {
    pointer-events: auto;
}

body.wm-is-my-prayers .wm-myprayers__actionBtn {
    width: clamp(4.6rem, 20vw, 5.4rem);
    min-width: clamp(4.6rem, 20vw, 5.4rem);
    padding: 0.6rem 0.55rem;
    border: 0;
    border-left: 1px solid transparent;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.34rem;
    font: inherit;
    color: transparent;
    background: transparent;
    cursor: pointer;
    transition: background 160ms ease, color 160ms ease, opacity 160ms ease, border-color 160ms ease;
}

body.wm-is-my-prayers .wm-myprayers__actionBtn:hover,
body.wm-is-my-prayers .wm-myprayers__actionBtn:focus-visible {
    outline: none;
}

body.wm-is-my-prayers .wm-myprayers__actionBtn--share {
    color: #6f4f24;
}

body.wm-is-my-prayers .wm-myprayers__actionBtn--remove {
    color: transparent;
    background: transparent;
}

body.wm-is-my-prayers .wm-myprayers__actionBtn--remove:hover,
body.wm-is-my-prayers .wm-myprayers__actionBtn--remove:focus-visible {
    background: transparent;
}

body.wm-is-my-prayers .wm-myprayers__actionBtn:disabled {
    cursor: wait;
    opacity: 0.72;
}

body.wm-is-my-prayers .wm-myprayers__actionIcon {
    width: 1.2rem;
    height: 1.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 160ms ease, transform 160ms ease;
}

body.wm-is-my-prayers .wm-myprayers__actionIcon svg {
    width: 100%;
    height: 100%;
    display: block;
}

body.wm-is-my-prayers .wm-myprayers__actionText {
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.1;
    text-align: center;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 160ms ease, transform 160ms ease;
}

body.wm-is-my-prayers .wm-myprayers__swipePanel {
    position: relative;
    z-index: 1;
    will-change: transform;
    touch-action: pan-y;
}

body.wm-is-my-prayers .wm-myprayers__card.is-swipe-active .wm-myprayers__swipePanel,
body.wm-is-my-prayers .wm-myprayers__card.is-swipe-open .wm-myprayers__swipePanel {
    box-shadow: 0 10px 22px rgba(46, 31, 15, 0.08);
}

body.wm-is-my-prayers .wm-myprayers__card.is-swipe-active .wm-myprayers__actionBtn,
body.wm-is-my-prayers .wm-myprayers__card.is-swipe-open .wm-myprayers__actionBtn {
    border-left-color: rgba(140, 104, 56, 0.1);
}

body.wm-is-my-prayers .wm-myprayers__card.is-swipe-active .wm-myprayers__actionBtn--share,
body.wm-is-my-prayers .wm-myprayers__card.is-swipe-open .wm-myprayers__actionBtn--share {
    color: #6f4f24;
    background: rgba(248, 242, 230, 0.94);
}

body.wm-is-my-prayers .wm-myprayers__card.is-swipe-active .wm-myprayers__actionBtn--share:hover,
body.wm-is-my-prayers .wm-myprayers__card.is-swipe-active .wm-myprayers__actionBtn--share:focus-visible,
body.wm-is-my-prayers .wm-myprayers__card.is-swipe-open .wm-myprayers__actionBtn--share:hover,
body.wm-is-my-prayers .wm-myprayers__card.is-swipe-open .wm-myprayers__actionBtn--share:focus-visible {
    background: rgba(243, 233, 214, 0.98);
}

body.wm-is-my-prayers .wm-myprayers__card.is-swipe-active .wm-myprayers__actionBtn--remove,
body.wm-is-my-prayers .wm-myprayers__card.is-swipe-open .wm-myprayers__actionBtn--remove {
    color: #fff7f5;
    background: linear-gradient(180deg, #d76e61 0%, #bf4034 100%);
}

body.wm-is-my-prayers .wm-myprayers__card.is-swipe-active .wm-myprayers__actionBtn--remove:hover,
body.wm-is-my-prayers .wm-myprayers__card.is-swipe-active .wm-myprayers__actionBtn--remove:focus-visible,
body.wm-is-my-prayers .wm-myprayers__card.is-swipe-open .wm-myprayers__actionBtn--remove:hover,
body.wm-is-my-prayers .wm-myprayers__card.is-swipe-open .wm-myprayers__actionBtn--remove:focus-visible {
    background: linear-gradient(180deg, #cf5f53 0%, #ad3329 100%);
}

body.wm-is-my-prayers .wm-myprayers__card.is-swipe-active .wm-myprayers__actionBtn--remove .wm-myprayers__actionIcon,
body.wm-is-my-prayers .wm-myprayers__card.is-swipe-active .wm-myprayers__actionBtn--remove .wm-myprayers__actionText,
body.wm-is-my-prayers .wm-myprayers__card.is-swipe-open .wm-myprayers__actionBtn--remove .wm-myprayers__actionIcon,
body.wm-is-my-prayers .wm-myprayers__card.is-swipe-open .wm-myprayers__actionBtn--remove .wm-myprayers__actionText {
    opacity: 1;
    transform: translateY(0);
}

body.wm-is-my-prayers .wm-myprayers__card.is-swipe-active .wm-myprayers__actionBtn--share .wm-myprayers__actionIcon,
body.wm-is-my-prayers .wm-myprayers__card.is-swipe-active .wm-myprayers__actionBtn--share .wm-myprayers__actionText,
body.wm-is-my-prayers .wm-myprayers__card.is-swipe-open .wm-myprayers__actionBtn--share .wm-myprayers__actionIcon,
body.wm-is-my-prayers .wm-myprayers__card.is-swipe-open .wm-myprayers__actionBtn--share .wm-myprayers__actionText {
    opacity: 1;
    transform: translateY(0);
}

body.wm-is-my-prayers .wm-myprayers__card.is-action-busy .wm-myprayers__swipePanel {
    opacity: 0.92;
}

body.wm-is-my-prayers .wm-myprayers__status {
    position: fixed;
    left: 50%;
    bottom: calc(1rem + env(safe-area-inset-bottom));
    z-index: 10030;
    width: min(calc(100vw - 2rem), 24rem);
    margin: 0;
    padding: 0.78rem 0.95rem;
    min-height: 0;
    font-size: 0.88rem;
    line-height: 1.35;
    text-align: center;
    color: rgba(73, 54, 31, 0.96);
    background: rgba(255, 250, 242, 0.96);
    border: 1px solid rgba(200, 160, 77, 0.22);
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(35, 24, 13, 0.16);
    transform: translateX(-50%);
    pointer-events: none;
}

body.wm-is-my-prayers .wm-myprayers__status.is-success {
    color: #2f6d2c;
}

body.wm-is-my-prayers .wm-myprayers__status.is-error {
    color: #a33a2f;
}

body.wm-is-my-prayers .wm-myprayers__card.is-hidden,
body.wm-is-my-prayers .wm-my-prayers-card.is-hidden {
    display: none !important;
}

body.wm-is-my-prayers .wm-myprayers__card--series-inactive {
    display: block;
}

body.wm-is-my-prayers .wm-myprayers__card--series-inactive .wm-my-prayers-card {
    cursor: pointer;
}

body.wm-is-my-prayers .wm-myprayers__card--series-inactive .wm-my-prayers-card__main {
    min-width: 0;
}

body.wm-is-my-prayers .wm-myprayers__card--series-inactive .wm-my-prayers-card__title {
    display: block;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body.wm-is-my-prayers .wm-myprayers__card--series-inactive .wm-my-prayers-card__right {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 0.65rem;
}

body.wm-is-my-prayers .wm-myprayers__card--series-inactive .wm-my-prayers-card__action {
    display: none;
}

body.wm-is-my-prayers .wm-series-start-label {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    min-height: 0;
    position: relative;
    font-size: clamp(0.72rem, 2.35vw, 0.84rem);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: 0.06em;
    color: rgba(109, 79, 44, 0.92);
    white-space: nowrap;
    transition: color 180ms ease;
}

body.wm-is-my-prayers .wm-series-start-label::after {
    content: "";
    display: block;
    width: 100%;
    margin-top: 0.08rem;
    height: 1px;
    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(200, 160, 77, 0.18) 16%,
        rgba(200, 160, 77, 0.6) 36%,
        transparent 46%,
        transparent 54%,
        rgba(200, 160, 77, 0.6) 64%,
        rgba(200, 160, 77, 0.18) 84%,
        transparent
    );
    transform-origin: center;
    transition: background 180ms ease;
    z-index: 1;
}

body.wm-is-my-prayers .wm-series-start-label::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 2px;
    height: 2px;
    border-radius: 50%;
    transform: translate(-50%, 50%);
    background: radial-gradient(
        circle at 35% 35%,
        rgba(255, 248, 230, 0.95) 0%,
        rgba(230, 200, 130, 0.88) 40%,
        rgba(195, 160, 85, 0.75) 100%
    );
    border: 0.5px solid rgba(200, 160, 77, 0.75);
    box-shadow:
        inset 0.5px 0.5px 0.5px 0 rgba(255, 255, 255, 0.45),
        0 0 3px rgba(200, 160, 77, 0.28),
        0 1px 3px rgba(200, 160, 77, 0.22);
    pointer-events: none;
    z-index: 2;
}

body.wm-is-my-prayers .wm-my-prayers-card[data-wm-series-start="1"]:active .wm-series-start-label,
body.wm-is-my-prayers .wm-my-prayers-card[data-wm-series-start="1"].is-pressing .wm-series-start-label {
    color: var(--wm-mp-gold, var(--wm-gold, #c8a04d));
}

body.wm-is-my-prayers .wm-series-start-label.is-auto-shimmer {
    animation: wm-series-start-auto-fallback 780ms ease-out 1;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
    body.wm-is-my-prayers .wm-series-start-label.is-auto-shimmer {
        background-image: linear-gradient(
            102deg,
            rgba(109, 79, 44, 0.95) 0%,
            rgba(109, 79, 44, 0.95) 38%,
            rgba(198, 153, 74, 0.98) 48%,
            rgba(245, 232, 203, 0.98) 50%,
            rgba(198, 153, 74, 0.98) 52%,
            rgba(109, 79, 44, 0.95) 62%,
            rgba(109, 79, 44, 0.95) 100%
        );
        background-size: 220% 100%;
        background-position: 120% 50%;
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        animation: wm-series-start-auto 780ms ease-out 1;
    }

    body.wm-is-my-prayers .wm-my-prayers-card[data-wm-series-start="1"]:active .wm-series-start-label,
    body.wm-is-my-prayers .wm-my-prayers-card[data-wm-series-start="1"].is-pressing .wm-series-start-label {
        background-image: linear-gradient(
            102deg,
            rgba(109, 79, 44, 0.95) 0%,
            rgba(198, 153, 74, 0.98) 42%,
            rgba(245, 232, 203, 0.98) 52%,
            rgba(198, 153, 74, 0.98) 62%,
            rgba(109, 79, 44, 0.95) 100%
        );
        background-size: 220% 100%;
        background-position: 0% 50%;
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        animation: wm-series-start-shimmer 220ms ease-out 1;
    }
}

@keyframes wm-series-start-auto-fallback {
    0%,
    100% {
        color: rgba(109, 79, 44, 0.92);
    }
    62% {
        color: var(--wm-mp-gold, var(--wm-gold, #c8a04d));
    }
}

@keyframes wm-series-start-auto {
    0%,
    18% {
        background-position: 120% 50%;
    }
    58% {
        background-position: -20% 50%;
    }
    59%,
    78% {
        background-image: linear-gradient(
            102deg,
            rgba(198, 153, 74, 0.98) 0%,
            rgba(245, 232, 203, 0.98) 50%,
            rgba(198, 153, 74, 0.98) 100%
        );
        background-position: 50% 50%;
    }
    79%,
    100% {
        background-image: linear-gradient(
            102deg,
            rgba(109, 79, 44, 0.95) 0%,
            rgba(109, 79, 44, 0.95) 38%,
            rgba(198, 153, 74, 0.98) 48%,
            rgba(245, 232, 203, 0.98) 50%,
            rgba(198, 153, 74, 0.98) 52%,
            rgba(109, 79, 44, 0.95) 62%,
            rgba(109, 79, 44, 0.95) 100%
        );
        background-position: 120% 50%;
    }
}

@keyframes wm-series-start-shimmer {
    from {
        background-position: 0% 50%;
    }
    to {
        background-position: 100% 50%;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.wm-is-my-prayers .wm-series-start-label {
        transition: color 140ms ease;
    }

    body.wm-is-my-prayers .wm-series-start-label.is-auto-shimmer,
    body.wm-is-my-prayers .wm-my-prayers-card[data-wm-series-start="1"]:active .wm-series-start-label,
    body.wm-is-my-prayers .wm-my-prayers-card[data-wm-series-start="1"].is-pressing .wm-series-start-label {
        animation: none;
    }
}

body.wm-is-my-prayers .wm-my-prayers-card__main {
    flex: 1;
    min-width: 0;
}

body.wm-is-my-prayers .wm-my-prayers-card__title {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: #3b2e1f;
}

body.wm-is-my-prayers .wm-my-prayers-card__action {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.4rem;
    color: #c8a04d;
    border-radius: 50%;
    background: transparent;
    text-decoration: none;
}

body.wm-is-my-prayers .wm-my-prayers-card__action--done {
    color: var(--wm-mp-gold, var(--wm-gold, #c8a04d));
}

body.wm-is-my-prayers .wm-my-prayers-card__statusIcon {
    width: 1.55rem;
    height: 1.55rem;
    flex: 0 0 1.55rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

body.wm-is-my-prayers .wm-my-prayers-card__statusIcon svg {
    width: 100%;
    height: 100%;
    display: block;
}

body.wm-is-my-prayers .wm-my-prayers-card__statusIcon--done .wm-series-statusIcon__outline {
    opacity: 0;
}

body.wm-is-my-prayers .wm-my-prayers-card__statusIcon--done .wm-series-statusIcon__fill {
    fill: url(#wm-heart-gold-gradient);
    stroke: none;
    opacity: 1;
    filter: drop-shadow(0 0 2px rgba(232, 205, 107, 0.4));
}

body.wm-is-my-prayers .wm-my-prayers-separator {
    height: 1px;
    margin: 12px 0;
    background: rgba(200, 160, 77, 0.35);
}

@media (max-width: 767px) {
    body.wm-is-my-prayers .wm-my-prayers__sort {
        display: flex;
    }

    body.wm-is-my-prayers .wm-my-prayers__search-wrap {
        display: block;
    }

    body.wm-is-my-prayers .wm-my-prayers {
        --wm-mp-pad-inline: clamp(1rem, 4vw, 1.5rem);
        --wm-mp-pad-block: clamp(1rem, 3vh, 1.25rem);
        --wm-mp-gold: #C8A04D;
        --wm-mp-gold-hover: #A88434;
        --wm-mp-gold-border: rgba(200, 160, 77, 0.35);
        --wm-mp-ivory: rgba(246, 241, 232, 0.98);
        padding: calc(var(--wm-mp-pad-block) + env(safe-area-inset-top)) var(--wm-mp-pad-inline) calc(var(--wm-mp-pad-block) + env(safe-area-inset-bottom));
        min-height: 100dvh;
        box-sizing: border-box;
    }

    /* Header */
    body.wm-is-my-prayers .wm-my-prayers__header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
        margin-bottom: 0.75rem;
    }

    body.wm-is-my-prayers .wm-my-prayers__title {
        margin: 0;
        font-family: "EB Garamond", "Lora", "Cormorant Garamond", "Cinzel", "Playfair Display", "Georgia", "Times New Roman", serif;
        font-size: clamp(1.5rem, 5.5vw, 1.9rem);
        font-weight: 600;
        letter-spacing: 0.03em;
        line-height: 1.12;
        color: #3f2f20;
        flex: 1;
    }

    body.wm-is-my-prayers .wm-my-prayers__sort {
        flex-shrink: 0;
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        border: none;
        background: transparent;
        color: var(--wm-mp-gold);
        cursor: pointer;
        border-radius: 10px;
        transition: color 160ms ease, background 160ms ease;
    }

    body.wm-is-my-prayers .wm-my-prayers__sort:hover,
    body.wm-is-my-prayers .wm-my-prayers__sort:focus-visible {
        color: var(--wm-mp-gold-hover);
        background: rgba(200, 160, 77, 0.12);
    }

    body.wm-is-my-prayers .wm-my-prayers__sort svg {
        width: 22px;
        height: 22px;
    }

    /* Sticky Search */
    body.wm-is-my-prayers .wm-my-prayers__search-wrap {
        position: sticky;
        top: 0;
        z-index: 10;
        margin: 0 calc(-1 * var(--wm-mp-pad-inline)) 1rem;
        padding: 0 var(--wm-mp-pad-inline) 0.5rem;
        background: var(--wm-mp-ivory);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
    }

    body.wm-is-my-prayers .wm-my-prayers__search {
        width: 100%;
        height: 44px;
        padding: 0 1rem 0 1rem;
        border-radius: 16px;
        border: 1px solid rgba(200, 160, 77, 0.35);
        background: rgba(255, 255, 255, 0.72);
        color: #2d2419;
        font-size: 0.95rem;
        font-family: inherit;
        -webkit-backdrop-filter: blur(6px);
        backdrop-filter: blur(6px);
        box-sizing: border-box;
    }

    body.wm-is-my-prayers .wm-my-prayers__search::placeholder {
        color: rgba(66, 52, 33, 0.55);
    }

    body.wm-is-my-prayers .wm-my-prayers__search:focus {
        outline: none;
        border-color: var(--wm-mp-gold);
        box-shadow: 0 0 0 2px rgba(200, 160, 77, 0.25);
    }

    /* Content area */
    body.wm-is-my-prayers .wm-my-prayers__content {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    body.wm-is-my-prayers .wm-my-prayers__empty {
        margin: 1.5rem 0 0;
        text-align: center;
        color: rgba(66, 52, 33, 0.88);
        font-size: 0.98rem;
    }

    /* Separator (fade) */
    body.wm-is-my-prayers .wm-my-prayers-separator {
        height: 1px;
        margin: 14px 0 14px;
        background: linear-gradient(
            to right,
            transparent,
            rgba(200, 160, 77, 0.6),
            transparent
        );
    }

    /* Lists */
    body.wm-is-my-prayers .wm-my-prayers-list {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 0.65rem;
    }

    /* Glass card – Mobile (0–767px) */
    body.wm-is-my-prayers .wm-my-prayers-card {
        gap: 0.225rem;
        padding: 7px 12px 7px 2px;
        background: rgba(255, 250, 242, 0.08);
    }

    body.wm-is-my-prayers .wm-my-prayers-card:active,
    body.wm-is-my-prayers .wm-my-prayers-card:focus-visible {
        transform: translateY(0);
        border-color: rgba(255, 255, 255, 0.95);
        box-shadow:
            inset 0 2px 4px rgba(255, 255, 255, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.4),
            0 6px 16px rgba(0, 0, 0, 0.08);
    }

    body.wm-is-my-prayers .wm-my-prayers-card__main {
        flex: 1;
        min-width: 0;
    }

    body.wm-is-my-prayers .wm-my-prayers-card__title {
        margin: 0;
        font-size: 0.98rem;
        font-weight: 600;
        line-height: 1.35;
        color: #2d2419;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }

body.wm-is-my-prayers .wm-my-prayers-card__action {
        flex-shrink: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0.4rem;
        border-radius: 50%;
        color: var(--wm-mp-gold);
        background: transparent;
        border: none;
    }
}

/*
 * My Prayers header/search (scoped, mobile-first)
 * Layers: base (0+), tablet (768+), desktop (1024+)
 */
body.wm-is-my-prayers {
    --wm-filter-btn-size: clamp(1.98rem, 5.4vw, 2.136rem);
    --wm-search-h: calc(var(--wm-filter-btn-size) * 1.181);
}

body.wm-is-my-prayers .wm-my-prayers,
body.wm-is-my-prayers .wm-myprayers__toprow,
body.wm-is-my-prayers .wm-myprayers__searchRow,
body.wm-is-my-prayers .wm-myprayers__content {
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
    overflow: visible;
}

body.wm-is-my-prayers .wm-myprayers__toprow {
    position: relative;
    display: block;
}

body.wm-is-my-prayers .wm-myprayers__toprow .wm-myprayers__title {
    margin: 0;
    text-align: center;
}

body.wm-is-my-prayers .wm-myprayers__searchRow {
    --wm-search-glass-bg: rgba(255, 255, 255, 0.16);
    --wm-search-glass-border: rgba(255, 255, 255, 0.66);
    margin-top: 0.7rem;
    margin-bottom: 0.85rem;
    position: relative;
    z-index: 100;
}

body.wm-is-my-prayers .wm-my-prayers .wm-prayers-sep {
    --wm-sep-gold: var(--wm-gold, var(--wm-gold-2, #c8a04d));
    --wm-sep-line-peak: rgba(225, 195, 125, 0.74);
    --wm-sep-line-strong: rgba(218, 188, 120, 0.58);
    --wm-sep-line-mid: rgba(215, 195, 150, 0.26);
    --wm-sep-line-faint: rgba(218, 208, 178, 0.06);
    --wm-sep-glow-core: rgba(200, 160, 77, 0.12);
    --wm-sep-glow-soft: rgba(200, 160, 77, 0.06);
    position: relative;
    width: 100%;
    height: 24px;
    margin: 14px 0 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    overflow: visible;
    z-index: 1;
}

/* Dvije linije – sjajna zlatna sredina, mali razmak od kugle u centru, fade prema krajevima */
body.wm-is-my-prayers .wm-my-prayers .wm-prayers-sep::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 2px;
    background:
        linear-gradient(
            to right,
            transparent 0%,
            var(--wm-sep-line-faint) 5%,
            var(--wm-sep-line-mid) 18%,
            var(--wm-sep-line-strong) 36%,
            var(--wm-sep-line-peak) 43%,
            transparent 47%,
            transparent 53%,
            var(--wm-sep-line-peak) 57%,
            var(--wm-sep-line-strong) 64%,
            var(--wm-sep-line-mid) 82%,
            var(--wm-sep-line-faint) 95%,
            transparent 100%
        ) center 0 / 100% 1px no-repeat,
        linear-gradient(
            to right,
            transparent 0%,
            var(--wm-sep-line-faint) 5%,
            var(--wm-sep-line-mid) 18%,
            var(--wm-sep-line-strong) 36%,
            var(--wm-sep-line-peak) 43%,
            transparent 47%,
            transparent 53%,
            var(--wm-sep-line-peak) 57%,
            var(--wm-sep-line-strong) 64%,
            var(--wm-sep-line-mid) 82%,
            var(--wm-sep-line-faint) 95%,
            transparent 100%
        ) center 1px / 100% 1px no-repeat;
    opacity: 1;
    z-index: 1;
}

/* Sjaj kao od Sunca u centru – 100% intenzivniji, prelijeva se u zlatnu prema linijama */
body.wm-is-my-prayers .wm-my-prayers .wm-prayers-sep::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: min(70px, 18%);
    height: 10px;
    transform: translate(-50%, -50%);
    background: radial-gradient(
        ellipse 130% 45% at 50% 50%,
        rgba(255, 255, 250, 1) 0%,
        rgba(255, 254, 230, 0.98) 6%,
        rgba(255, 248, 200, 0.85) 18%,
        rgba(248, 228, 165, 0.62) 32%,
        rgba(228, 195, 110, 0.38) 48%,
        rgba(210, 172, 85, 0.14) 65%,
        rgba(200, 165, 78, 0.04) 82%,
        transparent 100%
    );
    filter: blur(5px);
    opacity: 1;
    z-index: 0;
}

/* Mala zlatna kugla – 20% manja, 3D sjaj, glow dolje u box-shadow */
body.wm-is-my-prayers .wm-my-prayers .wm-prayers-sep__diamond {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: radial-gradient(
        circle at 35% 35%,
        rgba(255, 248, 230, 0.95) 0%,
        rgba(230, 200, 130, 0.88) 40%,
        rgba(195, 160, 85, 0.75) 100%
    );
    border: 1px solid rgba(200, 160, 77, 0.75);
    box-shadow:
        inset 1px 1px 1px 0 rgba(255, 255, 255, 0.5),
        0 0 8px rgba(200, 160, 77, 0.35),
        0 2px 10px rgba(200, 160, 77, 0.28);
    position: relative;
    z-index: 2;
}

body.wm-is-my-prayers .wm-myprayers__search {
    position: relative;
    width: 100%;
    height: var(--wm-search-h);
    overflow: visible;
    display: flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0 0.12rem 0 0.55rem;
    border-radius: calc(var(--wm-filter-btn-size) / 2);
    box-sizing: border-box;
    border: 1px solid var(--wm-search-glass-border);
    background: var(--wm-search-glass-bg);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 0.18rem 0.65rem rgba(45, 34, 19, 0.08);
    transition: border-color 150ms ease, box-shadow 150ms ease;
}

body.wm-is-my-prayers .wm-myprayers__search:focus-within {
    border-color: rgba(208, 171, 95, 0.76);
    box-shadow:
        0 0 0 2px rgba(200, 160, 77, 0.2),
        0 0.32rem 1rem rgba(45, 34, 19, 0.12);
}

body.wm-is-my-prayers .wm-myprayers__searchLabel {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

body.wm-is-my-prayers .wm-myprayers__searchIcon {
    width: 1.08rem;
    height: 1.08rem;
    flex-shrink: 0;
    color: rgba(171, 132, 59, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
}

body.wm-is-my-prayers .wm-myprayers__searchIcon svg {
    width: 100%;
    height: 100%;
    display: block;
    vertical-align: middle;
}

body.wm-is-my-prayers:not(.wp-admin):not(.login) .wm-myprayers__search .wm-myprayers__searchInput {
    flex: 1;
    min-width: 0;
    height: var(--wm-search-h);
    line-height: var(--wm-search-h);
    border: 0;
    background: transparent;
    color: #4f3d24;
    font: inherit;
    font-size: clamp(0.984rem, 3.36vw, 1.056rem);
    padding: 0;
    padding-inline: 0;
    padding-block: 0;
    margin: 0;
    appearance: none;
    -webkit-appearance: none;
    box-sizing: border-box;
}

body.wm-is-my-prayers:not(.wp-admin):not(.login) .wm-myprayers__search .wm-myprayers__searchInput:focus,
body.wm-is-my-prayers:not(.wp-admin):not(.login) .wm-myprayers__search .wm-myprayers__searchInput:focus-visible {
    outline: none;
}

body.wm-is-my-prayers:not(.wp-admin):not(.login) .wm-myprayers__search .wm-myprayers__searchInput::placeholder {
    color: rgba(83, 66, 37, 0.52);
}

body.wm-is-my-prayers:not(.wp-admin):not(.login) .wm-myprayers__search .wm-myprayers__searchInput::-webkit-search-cancel-button,
body.wm-is-my-prayers .wm-my-prayers__search::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
    width: 0.72rem;
    height: 0.72rem;
    margin-right: 0.82rem;
    cursor: pointer;
    background:
        linear-gradient(45deg, transparent 43%, #c8a04d 43%, #c8a04d 57%, transparent 57%),
        linear-gradient(-45deg, transparent 43%, #c8a04d 43%, #c8a04d 57%, transparent 57%);
    opacity: 1;
}

body.wm-is-my-prayers:not(.wp-admin):not(.login) .wm-myprayers__filterToggle {
    flex-shrink: 0;
    width: var(--wm-filter-btn-size);
    min-width: var(--wm-filter-btn-size);
    height: var(--wm-filter-btn-size);
    min-height: var(--wm-filter-btn-size);
    max-height: var(--wm-filter-btn-size);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    padding-inline: 0;
    padding-block: 0;
    border-radius: 999px;
    border: 1px solid rgba(200, 160, 77, 0.44);
    background: rgba(255, 255, 255, 0.26);
    color: #987136;
    cursor: pointer;
    transition: transform 150ms ease, border-color 150ms ease, background-color 150ms ease;
}

body.wm-is-my-prayers .wm-myprayers__filterToggle svg {
    width: 1.08rem;
    height: 1.08rem;
}

body.wm-is-my-prayers:not(.wp-admin):not(.login) .wm-myprayers__filterToggle:focus-visible {
    outline: 2px solid rgba(200, 160, 77, 0.9);
    outline-offset: 2px;
}

body.wm-is-my-prayers .wm-myprayers__filterMenu,
body.wm-is-my-prayers .wm-myprayers__filterPopover {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    z-index: 220;
    width: max-content;
    min-width: max-content;
    max-width: min(280px, calc(100vw - 1.5rem));
    max-height: 40vh;
    overflow-x: hidden;
    overflow-y: auto;
    display: grid;
    gap: 0.3rem;
    justify-items: stretch;
    padding: 0.55rem;
    border-radius: 20px;
    border: 1px solid rgba(200, 160, 77, 0.45);
    background: rgba(246, 241, 232, 0.88);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 12px 30px rgba(45, 33, 18, 0.15), 0 3px 10px rgba(45, 33, 18, 0.08);
    opacity: 0;
    transform: translateY(-4px);
    transform-origin: calc(100% - 24px) 0;
    pointer-events: none;
    transition: opacity 140ms ease, transform 140ms ease;
}

body.wm-is-my-prayers .wm-myprayers__filterMenu::before,
body.wm-is-my-prayers .wm-myprayers__filterPopover::before {
    content: "";
    position: absolute;
    top: -7px;
    right: 22px;
    width: 12px;
    height: 12px;
    border-top: 1px solid rgba(200, 160, 77, 0.45);
    border-left: 1px solid rgba(200, 160, 77, 0.45);
    background: rgba(246, 241, 232, 0.94);
    transform: rotate(45deg);
}

body.wm-is-my-prayers .wm-my-prayers.is-filter-open .wm-myprayers__filterMenu,
body.wm-is-my-prayers .wm-myprayers__search.is-filter-open .wm-myprayers__filterMenu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

body.wm-is-my-prayers .wm-myprayers__search.is-filter-flipped .wm-myprayers__filterMenu {
    top: auto;
    bottom: calc(100% + 8px);
    transform: translateY(4px);
    transform-origin: calc(100% - 24px) 100%;
}

body.wm-is-my-prayers .wm-myprayers__search.is-filter-flipped .wm-myprayers__filterMenu::before {
    top: auto;
    bottom: -7px;
    border-top: 0;
    border-left: 0;
    border-right: 1px solid rgba(200, 160, 77, 0.45);
    border-bottom: 1px solid rgba(200, 160, 77, 0.45);
}

body.wm-is-my-prayers .wm-myprayers__search.is-filter-flipped.is-filter-open .wm-myprayers__filterMenu {
    transform: translateY(0);
}

body.wm-is-my-prayers .wm-myprayers__filterOption {
    width: 100%;
    height: 26px !important;
    min-height: 26px !important;
    max-height: 26px !important;
    margin: 0;
    padding: 0 0.6rem;
    padding-block: 0;
    border: 1px solid rgba(200, 160, 77, 0.26);
    background: rgba(255, 255, 255, 0.48);
    color: #4f3a1f;
    border-radius: 10px;
    font: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    text-align: left;
    white-space: nowrap;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

body.wm-is-my-prayers .wm-myprayers__filterOption.is-active {
    border-color: rgba(200, 160, 77, 0.56);
    background: rgba(200, 160, 77, 0.14);
    color: #5f441a;
    box-shadow: inset 0 0 0 1px rgba(200, 160, 77, 0.22);
}

body.wm-is-my-prayers .wm-myprayers__filterOption:focus-visible {
    outline: 2px solid rgba(200, 160, 77, 0.9);
    outline-offset: 1px;
}

body.wm-is-my-prayers .wm-myprayers__empty {
    margin: 1.15rem auto 0;
    text-align: center;
    color: rgba(74, 56, 31, 0.9);
    font-size: 0.98rem;
}

body.wm-is-my-prayers .wm-myprayers__emptyCta {
    margin-top: 0.9rem;
    display: flex;
    justify-content: center;
}

body.wm-is-my-prayers .wm-myprayers__emptyCta .wm-button,
body.wm-is-my-prayers .wm-myprayers__emptyCta .wm-button:link,
body.wm-is-my-prayers .wm-myprayers__emptyCta .wm-button:visited {
    padding: 0.875rem 1.25rem;
    min-width: clamp(12rem, 56vw, 17.5rem);
    max-width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    border-radius: 0.875rem;
    border: 1px solid #d7ba82;
    background: linear-gradient(160deg, #f6f1e8 0%, #dec077 16%, #c8a04d 56%, #a88434 100%);
    color: #fffcf4;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-shadow: 0 1px 0 rgba(87, 63, 20, 0.35);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.56),
        inset 0 -1px 0 rgba(102, 73, 23, 0.34),
        0 9px 18px rgba(0, 0, 0, 0.18);
    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        background 220ms ease,
        color 220ms ease;
    -webkit-tap-highlight-color: rgba(200, 160, 77, 0.25);
}

body.wm-is-my-prayers .wm-myprayers__emptyCta .wm-button::after {
    content: "";
    position: absolute;
    inset: -60% -52%;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(
        118deg,
        transparent 38%,
        rgba(246, 241, 232, 0.1) 45%,
        rgba(255, 255, 255, 0.42) 50%,
        rgba(246, 241, 232, 0.12) 56%,
        transparent 64%
    );
    transform: translateX(-145%) rotate(30deg);
    transition: transform 620ms cubic-bezier(0.2, 0.6, 0.2, 1);
}

body.wm-is-my-prayers .wm-myprayers__emptyCta .wm-button:focus {
    outline: none;
}

body.wm-is-my-prayers .wm-myprayers__emptyCta .wm-button:hover,
body.wm-is-my-prayers .wm-myprayers__emptyCta .wm-button:focus-visible {
    color: #ffffff;
    transform: translateY(-1px);
    border-color: #e1c68f;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.62),
        inset 0 -1px 0 rgba(102, 73, 23, 0.36),
        0 12px 22px rgba(0, 0, 0, 0.22);
}

body.wm-is-my-prayers .wm-myprayers__emptyCta .wm-button:hover::after,
body.wm-is-my-prayers .wm-myprayers__emptyCta .wm-button:focus-visible::after,
body.wm-is-my-prayers .wm-myprayers__emptyCta .wm-button:active::after {
    transform: translateX(145%) rotate(30deg);
}

body.wm-is-my-prayers .wm-myprayers__emptyCta .wm-button:focus-visible {
    box-shadow:
        0 0 0 3px rgba(200, 160, 77, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.62),
        inset 0 -1px 0 rgba(102, 73, 23, 0.36),
        0 12px 22px rgba(0, 0, 0, 0.22);
}

body.wm-is-my-prayers .wm-myprayers__emptyCta .wm-button:active {
    transform: translateY(0);
    border-color: #c8a04d;
    background: linear-gradient(160deg, #ecdcae 0%, #c8a04d 42%, #a88434 100%);
    box-shadow:
        inset 0 2px 4px rgba(95, 67, 21, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.34),
        0 6px 12px rgba(0, 0, 0, 0.18);
}

body.wm-is-my-prayers .wm-myprayers__emptyState[hidden] + .wm-myprayers__emptyCta {
    display: none;
}

@media (prefers-reduced-motion: reduce) {
    body.wm-is-my-prayers .wm-myprayers__emptyCta .wm-button {
        transition:
            box-shadow 120ms ease,
            background 120ms ease,
            color 120ms ease;
    }

    body.wm-is-my-prayers .wm-myprayers__emptyCta .wm-button:hover,
    body.wm-is-my-prayers .wm-myprayers__emptyCta .wm-button:focus-visible,
    body.wm-is-my-prayers .wm-myprayers__emptyCta .wm-button:active {
        transform: none;
    }

    body.wm-is-my-prayers .wm-myprayers__emptyCta .wm-button::after {
        transition: none;
    }
}

@media (min-width: 768px) {
    body.wm-is-my-prayers {
        --wm-filter-btn-size: 2.1rem;
        --wm-search-h: 2.481rem;
    }

    /* Tablet: kartica – ista prozirnost, razmaci */
    body.wm-is-my-prayers .wm-my-prayers-card {
        gap: 0.225rem;
        padding: 0.42rem 0.65rem 0.42rem 0.05rem;
        background: rgba(255, 250, 242, 0.08);
    }

    body.wm-is-my-prayers .wm-series-start-label {
        font-size: 0.78rem;
    }

    body.wm-is-my-prayers .wm-my-prayers-card__main--series {
        gap: 0.42rem;
    }

    body.wm-is-my-prayers .wm-series-statusIcon {
        width: 1.6rem;
        height: 1.6rem;
        flex-basis: 1.6rem;
    }

    body.wm-is-my-prayers .wm-myprayers__toprow,
    body.wm-is-my-prayers .wm-myprayers__searchRow,
    body.wm-is-my-prayers .wm-myprayers__content {
        max-width: 38rem;
    }

    body.wm-is-my-prayers .wm-my-prayers .wm-prayers-sep {
        margin: 16px 0 16px;
        height: 24px;
    }

    body.wm-is-my-prayers .wm-my-prayers .wm-prayers-sep::after {
        left: 6%;
        right: 6%;
    }

    body.wm-is-my-prayers .wm-myprayers__search {
        padding: 0 0.24rem 0 0.9rem;
    }

    body.wm-is-my-prayers:not(.wp-admin):not(.login) .wm-myprayers__search .wm-myprayers__searchInput {
        font-size: 1.14rem;
    }

    body.wm-is-my-prayers .wm-myprayers__filterOption {
        height: 26px !important;
        min-height: 26px !important;
        max-height: 26px !important;
    }
}

@media (min-width: 1024px) {
    body.wm-is-my-prayers {
        --wm-filter-btn-size: 2.136rem;
        --wm-search-h: 2.522rem;
    }

    /* Desktop: kartica – mikro korekcije */
    body.wm-is-my-prayers .wm-my-prayers-card {
        padding: 0.45rem 0.7rem 0.45rem 0.0625rem;
    }

    body.wm-is-my-prayers .wm-series-start-label {
        font-size: 0.8rem;
    }

    body.wm-is-my-prayers .wm-my-prayers-card__main--series {
        gap: 0.45rem;
    }

    body.wm-is-my-prayers .wm-series-statusIcon {
        width: 1.66rem;
        height: 1.66rem;
        flex-basis: 1.66rem;
    }

    body.wm-is-my-prayers .wm-myprayers__toprow,
    body.wm-is-my-prayers .wm-myprayers__searchRow,
    body.wm-is-my-prayers .wm-myprayers__content {
        max-width: 42rem;
    }

    body.wm-is-my-prayers .wm-my-prayers .wm-prayers-sep {
        margin: 18px 0 18px;
    }

    body.wm-is-my-prayers .wm-my-prayers .wm-prayers-sep::after {
        left: 8%;
        right: 8%;
        filter: blur(8px);
    }

    body.wm-is-my-prayers .wm-myprayers__filterToggle:hover {
        transform: translateY(-1px);
        border-color: rgba(200, 160, 77, 0.62);
        background: rgba(255, 255, 255, 0.35);
    }

    body.wm-is-my-prayers .wm-myprayers__filterOption {
        height: 26px !important;
        min-height: 26px !important;
        max-height: 26px !important;
    }

    body.wm-is-my-prayers .wm-myprayers__filterOption:hover {
        border-color: rgba(255, 255, 255, 0.78);
        background: rgba(255, 255, 255, 0.4);
    }
}

/*
 * Phase 2: background + title ornament (Moje molitve only).
 * Breakpoints: base, 768+, 1024+.
 */
body.wm-has-app.wm-is-my-prayers {
    --wm-myprayers-bg-pos: center 30%;
    --wm-myprayers-bg-size: cover;
    --wm-myprayers-bg-repeat: no-repeat;
    --wm-myprayers-bg-attach: scroll;
    --wm-myprayers-bg-color: #f6f1e8;
    --wm-myprayers-ornament: rgba(200, 160, 77, 0.55);
    background-color: var(--wm-myprayers-bg-color);
    background-image: var(--wm-myprayers-bg, var(--wm-bg-url));
    background-repeat: var(--wm-myprayers-bg-repeat);
    background-size: var(--wm-myprayers-bg-size);
    background-position: var(--wm-myprayers-bg-pos);
    background-attachment: var(--wm-myprayers-bg-attach);
}

body.wm-has-app.wm-is-my-prayers:not(.wp-admin):not(.login) > .wp-site-blocks,
body.wm-has-app.wm-is-my-prayers:not(.wp-admin):not(.login) > #page {
    min-height: calc(100dvh - var(--wm-admin-offset, 0px));
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    background-color: var(--wm-myprayers-bg-color) !important;
    background-image: var(--wm-myprayers-bg, var(--wm-bg-url)) !important;
    background-repeat: var(--wm-myprayers-bg-repeat) !important;
    background-size: var(--wm-myprayers-bg-size) !important;
    background-position: var(--wm-myprayers-bg-pos) !important;
    background-attachment: var(--wm-myprayers-bg-attach) !important;
}

body.wm-is-my-prayers .wm-my-prayers {
    --wm-myprayers-title-offset-y: 5.5dvh;
    min-height: 100dvh;
    box-sizing: border-box;
}

body.wm-is-my-prayers .wm-myprayers__hero {
    margin: 0 0 1rem;
    padding-top: calc(0.9rem + var(--wm-myprayers-title-offset-y));
    padding-inline: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    isolation: isolate;
}

body.wm-is-my-prayers .wm-myprayers__hero::before {
    content: "";
    position: absolute;
    left: 50%;
    top: calc(-0.35rem + var(--wm-myprayers-title-offset-y) * 0.1);
    width: min(95vw, 27rem);
    height: clamp(5.8rem, 22vw, 7.2rem);
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 0;
    background: radial-gradient(
        ellipse at center,
        rgba(255, 255, 255, 0.46) 0%,
        rgba(255, 255, 255, 0.28) 34%,
        rgba(255, 255, 255, 0.12) 58%,
        rgba(255, 255, 255, 0) 82%
    );
    filter: blur(16px);
}

body.wm-is-my-prayers .wm-myprayers__title {
    margin: 0;
    font-family: "EB Garamond", "Lora", "Cormorant Garamond", "Cinzel", "Playfair Display", "Georgia", "Times New Roman", serif;
    font-size: clamp(1.24rem, 4.55vw, 1.56rem);
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.12;
    text-align: center;
    color: #5b4529;
    position: relative;
    z-index: 1;
}

/* Title ornament – jedna linija s malim razmakom od romba */
body.wm-is-my-prayers .wm-myprayers__titleOrnament {
    --wm-orn-line-peak: rgba(225, 195, 125, 0.74);
    --wm-orn-line-strong: rgba(218, 188, 120, 0.58);
    --wm-orn-line-mid: rgba(215, 195, 150, 0.26);
    --wm-orn-line-faint: rgba(218, 208, 178, 0.06);
    position: relative;
    display: block;
    width: 62%;
    height: 1.2px;
    margin-top: 0.6rem;
    margin-left: auto;
    margin-right: auto;
    background: linear-gradient(
        to right,
        transparent 0%,
        var(--wm-orn-line-faint) 5%,
        var(--wm-orn-line-mid) 18%,
        var(--wm-orn-line-strong) 36%,
        var(--wm-orn-line-peak) 43%,
        transparent 47%,
        transparent 53%,
        var(--wm-orn-line-peak) 57%,
        var(--wm-orn-line-strong) 64%,
        var(--wm-orn-line-mid) 82%,
        var(--wm-orn-line-faint) 95%,
        transparent 100%
    ) center center / 100% 1.2px no-repeat;
    z-index: 1;
}

body.wm-is-my-prayers .wm-myprayers__titleOrnament::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 2.88px;
    height: 2.88px;
    transform: translate(-50%, -50%) rotate(45deg);
    background: rgba(248, 244, 235, 0.52);
    border: 0.5px solid rgba(200, 160, 77, 0.75);
    border-radius: 0;
    box-shadow: inset 0.5px 0.5px 0 0 rgba(255, 255, 255, 0.42);
    z-index: 2;
}

@media (max-width: 767px) {
    body.wm-is-my-prayers.wm-has-bottom-nav .wm-my-prayers {
        padding-bottom: max(
            calc(var(--wm-mp-pad-block) + env(safe-area-inset-bottom, 0px)),
            calc(var(--wm-bottom-bar-h, 60px) + env(safe-area-inset-bottom, 0px) + 16px)
        );
    }

    body.wm-is-my-prayers.wm-has-bottom-nav #wm-myprayers-list {
        padding-bottom: 1rem;
    }

    body.wm-is-my-prayers .wm-my-prayers {
        --wm-myprayers-title-offset-y: -0.5dvh;
    }

    body.wm-is-my-prayers .wm-myprayers__hero {
        padding-top: calc(4.4rem + var(--wm-myprayers-title-offset-y));
        gap: 0.6rem;
        margin-bottom: 0.6rem;
    }

    body.wm-is-my-prayers .wm-myprayers__title {
        font-size: clamp(1.598454rem, 5.901984vw, 2.008314rem) !important;
        transform: none;
    }

    body.wm-is-my-prayers .wm-myprayers__titleOrnament {
        margin-top: 0;
        transform: none;
    }

    body.wm-is-my-prayers .wm-myprayers__hero::before {
        background: radial-gradient(
            ellipse at center,
            rgba(255, 255, 255, 0.86) 0%,
            rgba(255, 255, 255, 0.52) 34%,
            rgba(255, 255, 255, 0.23) 58%,
            rgba(255, 255, 255, 0) 82%
        );
        filter: blur(30px);
    }
}

@media (min-width: 768px) {
    body.wm-has-app.wm-is-my-prayers {
        --wm-myprayers-bg-pos: center 35%;
    }

    body.wm-is-my-prayers.wm-has-bottom-nav .wm-my-prayers {
        padding-bottom: max(1.25rem, calc(var(--wm-bottom-bar-h, 60px) + env(safe-area-inset-bottom, 0px) + 16px));
    }

    body.wm-is-my-prayers .wm-my-prayers {
        --wm-myprayers-title-offset-y: 7.5dvh;
    }

    body.wm-is-my-prayers .wm-myprayers__hero {
        padding-top: calc(0.9rem + var(--wm-myprayers-title-offset-y));
    }

    body.wm-is-my-prayers .wm-myprayers__hero::before {
        display: none;
    }

    body.wm-is-my-prayers .wm-myprayers__title {
        font-size: clamp(2.1rem, 4vw, 2.6rem);
    }

    body.wm-is-my-prayers .wm-myprayers__titleOrnament {
        width: 54%;
    }
}

@media (min-width: 1024px) {
    body.wm-has-app.wm-is-my-prayers {
        --wm-myprayers-bg-pos: center 38%;
        --wm-myprayers-bg-attach: scroll;
    }

    body.wm-is-my-prayers .wm-my-prayers {
        --wm-myprayers-title-offset-y: 7.5dvh;
    }

    body.wm-is-my-prayers .wm-myprayers__hero {
        padding-top: calc(1rem + var(--wm-myprayers-title-offset-y));
    }

    body.wm-is-my-prayers .wm-myprayers__title {
        font-size: clamp(2.2rem, 3vw, 2.8rem);
    }

    body.wm-is-my-prayers .wm-myprayers__titleOrnament {
        width: 46%;
    }
}

@media (max-width: 767px) {
    body.page-id-6.wm-has-app.wm-is-my-prayers {
        --wm-myprayers-bg: url('/wp-content/themes/twentytwentyfive-child/images/landing-bg-molitvenik-2-mobile.png') !important;
        --wm-myprayers-bg-size: cover !important;
        --wm-myprayers-bg-pos: center 32% !important;
    }

    body.page-id-6.wm-has-app.wm-is-my-prayers:not(.wp-admin):not(.login) > .wp-site-blocks,
    body.page-id-6.wm-has-app.wm-is-my-prayers:not(.wp-admin):not(.login) > #page {
        background-image: var(--wm-myprayers-bg, var(--wm-bg-url)) !important;
        background-size: var(--wm-myprayers-bg-size) !important;
        background-position: var(--wm-myprayers-bg-pos) !important;
    }
}

body.wm-is-my-prayers .wm-myprayers__sectionRow {
    list-style: none;
    margin: 0;
    padding-top: 0.28rem;
}

body.wm-is-my-prayers .wm-my-prayers .wm-prayers-sep + .wm-my-prayers-list .wm-myprayers__sectionRow:first-child {
    padding-top: 0.61rem;
}

body.wm-is-my-prayers .wm-myprayers__card + .wm-myprayers__sectionRow {
    padding-top: 0.61rem;
}

body.wm-is-my-prayers .wm-myprayers__section-title {
    position: relative;
    margin: 0;
    padding: 0 0 0.5rem;
    font-family: "EB Garamond", "Lora", "Cormorant Garamond", "Cinzel", "Playfair Display", "Georgia", "Times New Roman", serif;
    font-size: clamp(0.9rem, 3.6vw, 1.04rem);
    font-weight: 650;
    letter-spacing: 0.015em;
    line-height: 1.22;
    color: #5b4325;
    text-wrap: balance;
    text-align: center;
}

body.wm-is-my-prayers .wm-myprayers__section-title::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0.28rem;
    transform: translateX(-50%);
    width: min(100%, 24rem);
    height: 1px;
    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(200, 160, 77, 0.62) 50%,
        transparent 100%
    );
    pointer-events: none;
}

body.wm-is-my-prayers .wm-myprayers__section-title::after {
    content: none;
}

@media (max-width: 767px) {
    body.wm-is-my-prayers .wm-myprayers__section-title {
        font-size: clamp(0.98rem, 3.58vw, 1.22rem) !important;
        font-weight: 550;
        letter-spacing: 0.08em;
        color: rgba(70, 52, 36, 0.78);
        text-transform: small-caps;
    }
}

@media (min-width: 768px) {
    body.wm-is-my-prayers .wm-my-prayers .wm-prayers-sep + .wm-my-prayers-list .wm-myprayers__sectionRow:first-child {
        padding-top: 0.77rem;
    }

    body.wm-is-my-prayers .wm-myprayers__card + .wm-myprayers__sectionRow {
        padding-top: 0.91rem;
    }

    body.wm-is-my-prayers .wm-myprayers__section-title {
        font-size: clamp(0.98rem, 1.75vw, 1.12rem) !important;
        font-weight: 550;
        letter-spacing: 0.08em;
        color: rgba(70, 52, 36, 0.78);
        text-transform: small-caps;
        padding-bottom: 0.54rem;
    }
}

@media (min-width: 1024px) {
    body.wm-is-my-prayers .wm-my-prayers .wm-prayers-sep + .wm-my-prayers-list .wm-myprayers__sectionRow:first-child {
        padding-top: 0.85rem;
    }

    body.wm-is-my-prayers .wm-myprayers__card + .wm-myprayers__sectionRow {
        padding-top: 1.05rem;
    }

    body.wm-is-my-prayers .wm-myprayers__section-title {
        font-size: clamp(1.04rem, 1.18vw, 1.18rem) !important;
        font-weight: 550;
        letter-spacing: 0.08em;
        color: rgba(70, 52, 36, 0.78);
        text-transform: small-caps;
        padding-bottom: 0.58rem;
    }
}

body.wm-is-my-prayers .wm-myprayers__card--series .wm-my-prayers-card {
    align-items: flex-start;
}

body.wm-is-my-prayers .wm-my-prayers-card--series {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    width: 100%;
}

body.wm-is-my-prayers .wm-my-prayers-card__main--series {
    width: 100%;
    min-width: 0;
    display: grid;
    gap: 0.4rem;
}

body.wm-is-my-prayers .wm-series-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.65rem;
    width: 100%;
}

body.wm-is-my-prayers .wm-my-prayers-card__main--series .wm-my-prayers-card__title {
    margin: 0;
    flex: 1;
    min-width: 0;
    line-height: 1.3;
}

body.wm-is-my-prayers .wm-series-day {
    display: inline-flex;
    width: fit-content;
    color: rgba(90, 66, 38, 0.86);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-size: 0.79rem;
    line-height: 1.1;
}

body.wm-is-my-prayers .wm-goal-widget {
    display: grid;
    gap: 0.26rem;
    margin-top: 0.38rem;
}

body.wm-is-my-prayers .wm-goal-widget__text {
    color: rgba(86, 63, 34, 0.88);
    font-size: 0.76rem;
    line-height: 1.25;
}

body.wm-is-my-prayers .wm-goal-widget__progress {
    position: relative;
    width: 100%;
    height: 6px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(188, 149, 86, 0.24);
}

body.wm-is-my-prayers .wm-goal-widget__progressFill {
    position: absolute;
    inset: 0 auto 0 0;
    display: block;
    border-radius: 999px;
    background: linear-gradient(90deg, #e8c968 0%, #d4a84a 55%, #ecd48c 85%, #f5e8b8 100%);
}

body.wm-is-my-prayers .wm-goal-widget--completed .wm-goal-widget__text {
    color: #2f6d2c;
}

body.wm-is-my-prayers .wm-goal-widget--completed .wm-goal-widget__progress {
    background: rgba(123, 179, 101, 0.24);
}

body.wm-is-my-prayers .wm-goal-widget--failed .wm-goal-widget__text,
body.wm-is-my-prayers .wm-goal-widget--expired .wm-goal-widget__text {
    color: #8a3f31;
}

body.wm-is-my-prayers .wm-goal-widget--failed .wm-goal-widget__progress,
body.wm-is-my-prayers .wm-goal-widget--expired .wm-goal-widget__progress {
    background: rgba(188, 112, 91, 0.3);
}

body.wm-is-my-prayers .wm-series-progress {
    position: relative;
    width: 100%;
    height: 6px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(188, 149, 86, 0.24);
}

body.wm-is-my-prayers .wm-series-progress__fill {
    position: absolute;
    inset: 0 auto 0 0;
    display: block;
    border-radius: 999px;
    background: linear-gradient(90deg, #e8c968 0%, #d4a84a 55%, #ecd48c 85%, #f5e8b8 100%);
}

body.wm-is-my-prayers .wm-series-statusIcon {
    width: 1.55rem;
    height: 1.55rem;
    flex: 0 0 1.55rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    cursor: default;
}

body.wm-is-my-prayers .wm-series-statusIcon svg {
    width: 100%;
    height: 100%;
    display: block;
}

body.wm-is-my-prayers .wm-series-statusIcon .wm-series-statusIcon__outline,
body.wm-is-my-prayers .wm-series-statusIcon .wm-series-statusIcon__fill {
    transition: fill 180ms ease, stroke 180ms ease, opacity 180ms ease;
}

body.wm-is-my-prayers .wm-series-statusIcon.is-not-done .wm-series-statusIcon__outline {
    fill: none;
    stroke: rgba(126, 94, 48, 0.4);
    stroke-width: 0.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}

body.wm-is-my-prayers .wm-series-statusIcon.is-not-done .wm-series-statusIcon__fill {
    opacity: 0;
}

body.wm-is-my-prayers .wm-series-statusIcon.is-done .wm-series-statusIcon__outline {
    opacity: 0;
}

body.wm-is-my-prayers .wm-series-statusIcon.is-done .wm-series-statusIcon__fill {
    fill: url(#wm-heart-gold-gradient);
    stroke: none;
    opacity: 1;
    filter: drop-shadow(0 0 2px rgba(232, 205, 107, 0.4));
}

.wm-series-days-modal {
    position: fixed;
    inset: 0;
    z-index: 10010;
}

.wm-series-days-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(25, 17, 9, 0.56);
}

.wm-series-days-modal__panel {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(92vw, 410px);
    max-height: 82vh;
    overflow: auto;
    background: #fffdf8;
    border-radius: 14px;
    border: 1px solid rgba(176, 139, 79, 0.3);
    padding: 0.95rem;
}

.wm-series-days-modal__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.8rem;
}

.wm-series-days-modal__head h3 {
    margin: 0;
}

.wm-series-days-modal__close {
    border: 0;
    background: transparent;
    font-size: 1.5rem;
    line-height: 1;
    color: rgba(89, 58, 29, 0.86);
    cursor: pointer;
}

.wm-series-days-modal__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.52rem;
}

.wm-series-days-modal__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    border-radius: 9px;
    border: 1px solid rgba(175, 134, 71, 0.28);
    background: rgba(255, 249, 236, 0.7);
    color: #70461c;
    text-decoration: none;
}

.wm-series-days-modal__item.is-today {
    font-weight: 600;
    border-color: rgba(166, 119, 55, 0.62);
}

body.wm-series-days-modal-open {
    overflow: hidden;
}

/*
 * Pokreni seriju sheet: My-Prayers card adapter (scoped only).
 * Breakpoints: base, 768+, 1024+.
 */
body.wm-is-my-prayers .wm-series-sheet {
    position: fixed;
    inset: 0;
    z-index: 10000;
}

body.wm-is-my-prayers.wm-series-sheet-open::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 240px;
    z-index: 9999;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        rgba(200, 160, 77, 0.053) 0px,
        rgba(200, 160, 77, 0.037) 140px,
        rgba(200, 160, 77, 0) 240px
    );
}

body.wm-is-my-prayers .wm-series-sheet[hidden] {
    display: none !important;
}

body.wm-is-my-prayers .wm-series-sheet__backdrop {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: rgba(246, 241, 232, 0.14);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    pointer-events: auto;
}

body.wm-is-my-prayers .wm-series-sheet__panel {
    position: absolute;
    left: 50%;
    bottom: 10%;
    z-index: 1;
    pointer-events: auto;
    width: min(calc(100% - 20%), 38rem);
    transform: translateX(-50%);
    max-height: calc(100dvh - 11%);
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding: 0.95rem 0.95rem calc(1rem + env(safe-area-inset-bottom));
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.85);
    background: rgba(246, 241, 232, 0.23);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    isolation: isolate;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.5) inset,
        0 8px 20px rgba(0, 0, 0, 0.08);
}

body.wm-is-my-prayers .wm-series-sheet__panel::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: inherit;
    background: linear-gradient(
        132deg,
        rgba(200, 160, 77, 0.34),
        rgba(255, 255, 255, 0.22) 44%,
        rgba(200, 160, 77, 0.28)
    );
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.16;
    filter: blur(1px);
    pointer-events: none;
}

body.wm-is-my-prayers .wm-series-sheet__title {
    display: none;
}

body.wm-is-my-prayers .wm-series-sheet__subtitle {
    margin: 0 0 0.88rem;
    color: #2d2419;
    font-size: clamp(1rem, 4.2vw, 1.12rem);
    font-weight: 600;
    line-height: 1.35;
    text-transform: none;
    letter-spacing: 0;
}

body.wm-is-my-prayers .wm-series-sheet__label {
    display: block;
    margin: 0.62rem 0 0.34rem;
    font-size: 0.74rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(70, 52, 36, 0.78);
}

body.wm-is-my-prayers .wm-series-sheet__input {
    width: 100%;
    min-height: 44px;
    padding: 0.55rem 0.75rem;
    border-radius: 10px;
    border: 1px solid rgba(200, 160, 77, 0.12);
    background: rgba(255, 255, 255, 0.48);
    color: #2d2419;
    font: inherit;
    box-sizing: border-box;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

body.wm-is-my-prayers .wm-series-sheet__input:focus,
body.wm-is-my-prayers .wm-series-sheet__input:focus-visible {
    outline: none;
    border-color: var(--wm-mp-gold, var(--wm-gold-2, #c8a04d));
    box-shadow:
        0 0 0 1px rgba(200, 160, 77, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

body.wm-is-my-prayers .wm-series-sheet__check {
    margin-top: 0.72rem;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 44px;
    padding: 0.25rem 0.75rem;
    border-radius: 10px;
    border: 1px solid rgba(200, 160, 77, 0.12);
    background: rgba(255, 255, 255, 0.48);
    color: #4f3a1f;
    font-size: 0.9rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

body.wm-is-my-prayers .wm-series-sheet__check input[type="checkbox"] {
    margin: 0;
    accent-color: var(--wm-mp-gold, var(--wm-gold-2, #c8a04d));
}

body.wm-is-my-prayers .wm-series-sheet__error {
    margin: 0.72rem 0 0;
    color: #ad2a2a;
    font-size: 0.86rem;
}

body.wm-is-my-prayers .wm-series-sheet__actions {
    margin-top: 0.95rem;
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.55rem;
    position: relative;
    z-index: 2;
    pointer-events: auto;
}

body.wm-is-my-prayers .wm-series-sheet #wm-series-sheet-cancel,
body.wm-is-my-prayers .wm-series-sheet #wm-series-sheet-confirm {
    min-height: 44px;
    border-radius: 999px;
    pointer-events: auto;
}

body.wm-is-my-prayers .wm-series-sheet #wm-series-sheet-cancel {
    border-color: rgba(200, 160, 77, 0.6);
    background: rgba(255, 255, 255, 0.78);
    color: #6f4f24;
    box-shadow: 0 8px 18px rgba(27, 20, 13, 0.12);
}

body.wm-is-my-prayers .wm-series-sheet #wm-series-sheet-confirm {
    border-color: rgba(176, 133, 59, 0.58);
    background: linear-gradient(160deg, var(--wm-gold-0, #f6f1e8) 0%, var(--wm-gold-1, #dec077) 16%, var(--wm-gold-2, #c8a04d) 56%, var(--wm-gold-3, #a88434) 100%);
    color: #3b2813;
    box-shadow: 0 12px 26px rgba(160, 119, 48, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.58);
}

@media (min-width: 768px) {
    body.wm-is-my-prayers .wm-series-sheet__panel {
        bottom: clamp(1.1rem, 14vh, 8rem);
        width: min(calc(100% - 2.2rem), 38rem);
        max-height: calc(100dvh - 3rem);
        border-radius: 20px;
        padding: 1rem 1.02rem 1.04rem;
    }
}

@media (min-width: 1024px) {
    body.wm-is-my-prayers .wm-series-sheet__panel {
        top: 50%;
        bottom: auto;
        width: min(calc(100% - 3rem), 42rem);
        max-height: 82vh;
        transform: translate(-50%, -50%);
        border-radius: 20px;
        padding: 1.04rem 1.08rem 1.08rem;
    }
}

/* =========================================================
 * Moje molitve: compact card overrides (scoped only)
 * Base 0+, tablet 768+, desktop 1024+
 * ========================================================= */
body.wm-is-my-prayers .wm-app.wm-my-prayers {
    --wm-myprayers-card-py: 5px;
    --wm-myprayers-card-title-size: calc(0.98rem * 0.9);
    --wm-myprayers-series-row-gap: 0.32rem;
}

/* Isti vertikalni razmak za sve kartice (series + regular) */
body.wm-is-my-prayers .wm-app.wm-my-prayers .wm-my-prayers-card {
    padding-top: var(--wm-myprayers-card-py);
    padding-bottom: var(--wm-myprayers-card-py);
    min-height: unset;
}

body.wm-is-my-prayers .wm-app.wm-my-prayers .wm-my-prayers-card__title,
body.wm-is-my-prayers .wm-app.wm-my-prayers .wm-my-prayers-card__main--series .wm-my-prayers-card__title {
    font-size: var(--wm-myprayers-card-title-size);
}

body.wm-is-my-prayers .wm-app.wm-my-prayers .wm-my-prayers-card__main--series {
    row-gap: var(--wm-myprayers-series-row-gap);
}

@media (min-width: 768px) {
    body.wm-is-my-prayers .wm-app.wm-my-prayers {
        --wm-myprayers-card-py: 5.25px;
        --wm-myprayers-card-title-size: calc(0.95rem * 0.9);
        --wm-myprayers-series-row-gap: 0.34rem;
    }
}

@media (min-width: 1024px) {
    body.wm-is-my-prayers .wm-app.wm-my-prayers {
        --wm-myprayers-card-py: 5.5px;
        --wm-myprayers-series-row-gap: 0.36rem;
    }
}

/* =========================================================
 * Moje molitve: drag-to-reorder (long press)
 * Base 0+, tablet 768+, desktop 1024+
 * ========================================================= */
body.wm-is-my-prayers .wm-my-prayers-list .wm-my-prayers-card {
    -webkit-touch-callout: none;
}

@media (max-width: 767px) {
    body.wm-is-my-prayers .wm-my-prayers-list .wm-my-prayers-card {
        -webkit-user-select: none;
        user-select: none;
    }
}

body.wm-is-my-prayers .wm-my-prayers-list.is-reorder-active {
    touch-action: none;
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

body.wm-is-my-prayers .wm-my-prayers-list.is-reorder-active a,
body.wm-is-my-prayers .wm-my-prayers-list.is-reorder-active img {
    -webkit-user-drag: none;
    user-drag: none;
    pointer-events: none;
}

body.wm-is-my-prayers .wm-myprayers__card.is-drag-pending .wm-my-prayers-card {
    border-color: #c8a94e;
    outline: none;
    box-shadow: 0 0 0 1px rgba(200, 169, 78, 0.4) inset, 0 8px 20px rgba(0, 0, 0, 0.08);
}

body.wm-is-my-prayers .wm-myprayers__card.is-drag-placeholder .wm-my-prayers-card {
    opacity: 0.25;
    transform: scale(0.97);
    transition: opacity 150ms ease, transform 150ms ease;
}

body.wm-is-my-prayers .wm-myprayers__drag-ghost {
    position: fixed;
    z-index: 10020;
    pointer-events: none;
    list-style: none;
    margin: 0;
    padding: 0;
    opacity: 0.92;
    will-change: top;
}

body.wm-is-my-prayers .wm-myprayers__drag-ghost .wm-my-prayers-card {
    transform: scale(1.03);
    border: 2px solid #c8a94e;
    box-shadow:
        0 0 0 1px rgba(200, 169, 78, 0.4) inset,
        0 16px 40px rgba(0, 0, 0, 0.22),
        0 4px 12px rgba(0, 0, 0, 0.12);
}

@media (prefers-reduced-motion: reduce) {
    body.wm-is-my-prayers .wm-myprayers__card.is-drag-placeholder .wm-my-prayers-card {
        transition: none;
    }

    body.wm-is-my-prayers .wm-myprayers__drag-ghost .wm-my-prayers-card {
        transform: none;
    }
}
