.horoscope-sticky-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: #2a292d;
}
.horoscope-sticky-header .zodiac-selector-wrap {
    position: static;
    margin-bottom: 0;
}
.zodiac-selector-wrap {
    position: sticky;
    top: 60px;
    z-index: 10;
    background: #2a292d;
}
.zodiac-selector-header {padding: 8px 12px 6px;}
.zodiac-selector-title {
    display: inline-block;
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.2;
}
.zodiac-selector-body {
    border-top: 2px solid #ff8515 !important;
    padding-top: 10px !important;
}
.zodiac-list {scrollbar-width: none;}
.zodiac-list::-webkit-scrollbar {display: none;}
.zodiac-item {
    position: relative;
    min-width: 72px;
    padding: 8px 12px;
    border: 1px solid transparent;
    color: #aaa;
    cursor: pointer;
}
.zodiac-item:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}
.zodiac-item.active {
    background: transparent;
    border-color: transparent;
    color: #ff8515;
}
.zodiac-item .zodiac-icon,
.zodiac-item .zodiac-name,
.zodiac-item .zodiac-date {
    position: relative;
    z-index: 1;
}
.zodiac-item .zodiac-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    margin-bottom: 6px;
    border-radius: 50% !important;
    padding: 0;
    background: transparent;
}
.zodiac-item .zodiac-name {font-size: 0.78rem; white-space: nowrap;}
.zodiac-item .zodiac-date {
    font-size: 0.6rem;
    white-space: nowrap;
    padding-bottom: 4px;
    border-bottom: 3px solid transparent;
}
.zodiac-item .zodiac-icon,
.zodiac-item .zodiac-name,
.zodiac-item .zodiac-date {
    position: relative;
    z-index: 1;
}
.zodiac-item.active .zodiac-icon {
    background: transparent;
    border: none;
    box-shadow: none;
    transform: scale(1.2);
    filter:
            drop-shadow(0 0 2px rgba(255,255,255,0.3))
            drop-shadow(0 0 4px rgba(255,255,255,0.2));
}
.zodiac-item.active .zodiac-name,
.zodiac-item.active .zodiac-date { color: #ff8515; }
.zodiac-item.active .zodiac-date {
    border-bottom-color: #ff8515;
}
.horoscope-sidebar-wrap {
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: #0c0c0c !important;
    box-shadow: none !important;
}
.horoscope-sidebar .nav-link {
    padding: 11px 18px;
    font-size: 0.88rem;
    color: #ccc;
    border-radius: 0;
    box-shadow: inset 10px 0 0 0 #0c0c0c, inset 13px 0 0 0 #0c0c0c !important;
    border-bottom: 2px solid #333 !important;
}
.horoscope-sidebar .nav-link:last-child {border-bottom: none !important;}
.horoscope-sidebar .nav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: none !important;
}
.horoscope-sidebar .nav-link.active {
    color: #ff8515;
    font-size: 0.92rem;
    font-weight: 600;
    border-left: none !important;
    background: rgba(255, 133, 21, 0.01);
    background-image: linear-gradient(to bottom, #ff8515, #ff8515) !important;
    background-size: 3px 50% !important;
    background-repeat: no-repeat !important;
    box-shadow: none !important;
    padding-left: 16px !important;
    background-position: 8px center !important;
}
.horoscope-content-section-title { font-size: 1.15rem; border-bottom: 2px solid #ff8515; }
.horoscope-card-icon {
    width: 72px;
    height: 72px;
    font-size: 2rem;
    border: 2px solid rgba(255, 133, 21, 0.3);
    background: rgba(255, 133, 21, 0.12);
}
.horoscope-card-overview {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.page-horoscope .text-secondary { color: #adb5bd !important; }
.page-horoscope .text-muted     { color: #9ba3ab !important; }
.horoscope-nav-sticky { position: sticky; top: 172px; }

@media (max-width: 575.98px) {
    .zodiac-item { min-width: 78px; padding: 10px 8px; flex: 0 0 auto }
    .zodiac-item .zodiac-icon { width: 50px; height: 50px; }
    .zodiac-item .zodiac-name { font-size: 0.82rem; }
    .zodiac-item .zodiac-date { font-size: 0.64rem; }
    .horoscope-sidebar .nav-link { font-size: 1rem !important; }
    .small.text-secondary iframe {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 16 / 9;
    }
}
@media (max-width: 991.98px) {
    .horoscope-nav-mobile {
        position: sticky;
        top: 85px;
        z-index: 9;
        background: #2a292d;
        padding-bottom: 4px;
        margin-bottom: 16px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    .horoscope-sticky-header .horoscope-nav-mobile {
        position: static;
        top: 0;
        z-index: auto;
        margin-bottom: 0;
        background: transparent;
    }
    .horoscope-nav-sticky { position: static; }
    .horoscope-sidebar {
        flex-direction: row !important;
        overflow-x: auto;
        flex-wrap: nowrap;
        scrollbar-width: none;
    }
    .horoscope-sidebar::-webkit-scrollbar { display: none; }
    .horoscope-sidebar .nav-link {
        white-space: nowrap;
        border-left: none !important;
        border-bottom: 3px solid transparent !important;
        padding: 10px 12px !important;
    }

    .horoscope-sidebar .nav-link.active {
        border-left-color: transparent !important;
        border-bottom-color: #ff8515 !important;
        background-color: rgba(255, 133, 21, 0.01) !important;
        background-image: none !important;
        box-shadow: none !important;
    }
    .horoscope-sidebar .nav-link.active { border-left-color: transparent; border-bottom-color: #ff8515; }
}

/* ---- Love page ---- */
.love-select {
    background-color: #1a1a1a !important;
    color: #fff !important;
    border: 1px solid rgba(255,255,255,0.2);
}
.love-select:focus {
    border-color: #ff8515;
    box-shadow: 0 0 0 2px rgba(255, 133, 21, 0.12);
}
.love-select option {
    background-color: #1a1a1a;
    font-size: 0.85rem;
}
.love-select option:checked {
    background-color: #1565c0;
    color: #fff;
}
.horoscope-input {
    background-color: #1a1a1a !important;
    color: #fff !important;
    border: 1px solid rgba(255,255,255,0.2);
}
.horoscope-input:focus {
    border-color: #ff8515;
    box-shadow: 0 0 0 2px rgba(255, 133, 21, 0.12);
}
.was-validated .horoscope-input:valid,
.was-validated .horoscope-input:valid:focus {
    border-color: rgba(255,255,255,0.2) !important;
    background-image: none !important;
    box-shadow: none !important;
}
.horoscope-input::-webkit-outer-spin-button,
.horoscope-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.horoscope-input[type=number] { -moz-appearance: textfield; }

.btn-horoscope-submit:hover {
    background-color: #ff8515 !important;
    color: #fff !important;
}

.article-content img { width: 100%; }
.article-content * { text-align: left; }
.btn-retry {
    display: inline-block;
    padding: 9px 28px;
    background-color: #fff;
    color: #1a1a1a;
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 6px;
    text-decoration: none;
}
.btn-retry:hover { background-color: #ff8515; color: #fff; }
