/* =============================================================
   Synergy Ephemeris Ticker v2
   ============================================================= */

#syeph-ticker,
.syeph-ticker-shortcode {
    position: sticky;
    top: 0;
    width: 100%;
    display: flex;
    align-items: stretch;
    height: 38px;
    font-size: 13px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1;
    z-index: 9999;
    box-sizing: border-box;
    overflow: hidden;
    /*background: #0c354d;*/
    background: #0000BD;
    color: #f9deb2;
}

.admin-bar #syeph-ticker { top: 0px; }

@media screen and (max-width: 782px) {
    .admin-bar #syeph-ticker { top: 2px; }
}

/* ---------------------------------------------------------------
   DATE / TIME LABEL — static on the left
--------------------------------------------------------------- */

.syeph-datetime {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    padding: 0 14px 0 12px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    white-space: nowrap;
    border-right: 1px solid rgba(255,255,255,0.15);
    z-index: 1;
    /* Slight fade-out on right edge to blend with track */
    position: relative;
}

.syeph-datetime::after {
    content: '';
    position: absolute;
    right: -1px;
    top: 0;
    bottom: 0;
    width: 18px;
    pointer-events: none;
}

#syeph-clock,
.syeph-clock-sc {
    font-style: normal;
    line-height: 1.4;
}

/* ---------------------------------------------------------------
   SCROLLING TRACK
--------------------------------------------------------------- */

.syeph-track {
    flex: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-width: 0;
}

.syeph-inner {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    animation: syeph-scroll linear infinite;
    will-change: transform;
}

/* Pause on hover */
#syeph-ticker:hover .syeph-inner,
.syeph-ticker-shortcode:hover .syeph-inner {
    animation-play-state: paused;
}

@keyframes syeph-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ---------------------------------------------------------------
   PLANET ITEMS
--------------------------------------------------------------- */

.syeph-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0 4px;
}

.syeph-planet {
    font-size: 15px;
    line-height: 1;
}

.syeph-name {
    font-weight: 600;
    letter-spacing: 0.02em;
}

.syeph-degree {
    font-variant-numeric: tabular-nums;
    opacity: 0.9;
}

.syeph-sign {
    font-size: 14px;
    line-height: 1;
}

.syeph-sign-name {
    opacity: 0.85;
}

.syeph-retro {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0;
}

.syeph-no-loc {
    font-size: 11px;
    opacity: 0.65;
    font-style: italic;
}

.syeph-sep {
    font-size: 8px;
    opacity: 0.45;
    padding: 0 5px;
}

/* ---------------------------------------------------------------
   RESPONSIVE
--------------------------------------------------------------- */

@media (max-width: 600px) {
    #syeph-ticker,
    .syeph-ticker-shortcode {
        font-size: 12px;
        height: 34px;
    }

    .syeph-sign-name {
        display: none;
    }

    .syeph-datetime {
        font-size: 11px;
        padding: 0 8px;
    }
}

@media (max-width: 380px) {
    .syeph-name {
        display: none;
    }
}
