.ssl-item.watched {
    opacity: 0.8; 
     background: #4f553c !important; 
      }

.ssl-item.watched::after {
  content: "";
  position: absolute;
  top: 5px;
  right: 5px;
  color: #4CAF50; /* Green checkmark */
  font-size: 12px;
}

/* Keep active episode fully visible even if watched */
.ssl-item.active, 
.ssl-item.watched.active {
  opacity: 1;
  background-color: var(--color-primary);
}

/* Add this CSS to your existing styles */
.pc-toggle .tb-result {
    display: inline-block; /* Ensure the result is inline */
    margin-left: 5px; /* Add some space between the label and the result */
    font-weight: bold; /* Make the text bold for better visibility */
    white-space: nowrap; /* Prevent text wrapping */
}

.pc-toggle .tb-result span {
    margin-left: 5px; /* Add space between On/Off states */
}

.tick-age {
    background-color: #FF5700;
    /* Red color */
    color: #fff;
    padding: 2px 5px;
    border-radius: 3px;
    font-size: 12px;

    top: 0;
    left: 0;
}

.dropdown-menu {
   background: rgba(206, 211, 205, 0.568);
   backdrop-filter: blur(8px);
   border: 1px solid rgba(255, 255, 255, 0.1);
   min-width: 160px;
   padding: 8px 0;
   box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
   border-radius: 8px;
   
}

.dropdown-menu .dropdown-item {
   color: rgba(0, 0, 0, 0.9);
   padding: 8px 15px;
   font-size: 14px;
   transition: all 0.2s ease;
}

.dropdown-menu .dropdown-item:hover {
   background: rgba(56, 56, 56, 0.5);
   color: #ffbade;
}

.dropdown-menu-model {
   margin-top: 5px;
}

.dropdown-menu.show {
   display: block;
   position: absolute;
   transform: translate3d(0px, 38px, 0px);
   top: 0px;
   left: 0px;
   will-change: transform;
   z-index: 1000;
   animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
   from {
      opacity: 0;
      transform: translate3d(0px, 30px, 0px);
   }
   to {
      opacity: 1;
      transform: translate3d(0px, 38px, 0px);
   }
}





.episode-container {
    width: 100%;
    padding: 5px;
    background-color: #1e1e24;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.filter {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
}

#episode-range {

    padding: 8px 12px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid #444;
    border-radius: 5px;
    background-color: #2c2c34;
    color: #ddd;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

#episode-range:hover {
    background-color: #3b3b44;
    color: #fff;
    border-color: #67686f;
}

.episodes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));
    gap: 12px;
}

.episode-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    font-size: 13.5px;
    font-weight: 500;
    border-radius: 3px;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease-in-out;
    background-color: #35373d;
    color: #9ca3af;
}

.episode-item:hover {
    background-color: #67686f;
    color: #fff;
}


.episode-item.filler-highlight {
    color: #d1d5db;
    background: #35373d;
    background-image: linear-gradient(to right, #5a4944, #645a4b);
    transition: all 0.3s ease-in-out;
}

.episode-item.filler-highlight:hover {
    background: #9a6700;
    color: #fff;
}

.episode-item.active {
    background: #ff007f;
    color: #fff;
    font-weight: 600;
}

.episodes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(40px, 1fr));
    gap: 8px;
}

.tick-age {
    background-color: #FF5700;
    /* Red color */
    color: #fff;
    padding: 2px 5px;
    border-radius: 3px;
    font-size: 12px;
}

.tick-item.tick-sub {
    background: #b0e3af;
    /* Blue color for sub */
    font-weight: 600;
    color: #111 !important;

}

.tick-item.tick-dub {
    background: #B9E7FF;
    /* Yellow color for dub */
    font-weight: 600;
    color: #111 !important;

}

.anime-qtip {
    position: absolute;
    z-index: 9999;
    width: 300px;
    background: #2b2b2b;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    padding: 15px;
}

.qtip-content {
    color: #fff;
}

.qtip-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.qtip-detail {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.rating {
    color: #ffd700;
}

.quality-info {
    display: flex;
    gap: 5px;
}

.qtip-description {
    font-size: 14px;
    margin-bottom: 10px;
    color: #ccc;
}

.qtip-meta > div {
    font-size: 13px;
    margin-bottom: 5px;
    color: #ccc;
}

.qtip-buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.btn-watch {
    flex: 1;
    background: #7676ff;
    color: white;
    padding: 8px;
    text-align: center;
    border-radius: 4px;
    text-decoration: none;
}

.btn-add {
    width: 40px;
    background: #3a3a3a;
    border: none;
    border-radius: 4px;
    color: white;
}

/* Spotlight Navigation Buttons Fix (Vertical Stack without overlap, single icon like Zoro) */
.deslide-wrap .swiper-navigation {
    position: absolute !important;
    bottom: 20px !important;
    right: 0 !important;
    width: 40px !important;
    height: auto !important;
    z-index: 10 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
}

.deslide-wrap .swiper-navigation .swiper-button {
    position: static !important;
    width: 38px !important;
    height: 38px !important;
    background: rgba(255, 255, 255, 0.12) !important;
    color: #fff !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    margin: 0 !important;
    padding: 0 !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    box-shadow: none !important;
    transition: all 0.2s ease !important;
}

.deslide-wrap .swiper-navigation .swiper-button i {
    font-size: 15px !important;
    color: #fff !important;
    line-height: 1 !important;
    display: inline-block !important;
}

.deslide-wrap .swiper-navigation .swiper-button:after,
.deslide-wrap .swiper-navigation .swiper-button:before,
.deslide-wrap .swiper-navigation .swiper-navigation-icon,
.deslide-wrap .swiper-navigation svg {
    display: none !important;
    content: none !important;
}

.deslide-wrap .swiper-navigation .swiper-button:hover {
    background: #cae962 !important;
    color: #111 !important;
}

.deslide-wrap .swiper-navigation .swiper-button:hover i {
    color: #111 !important;
}


/* ==========================================================================
   HIANIME COMMENTS SECTION STYLES
   ========================================================================== */

.hianime-comments-block {
    margin-bottom: 30px;
    position: relative;
}

.hianime-comments-header {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.hianime-comments-title {
    font-size: 26px;
    font-weight: 700;
    color: #cae962;
    margin: 0;
    line-height: 1;
    letter-spacing: -0.3px;
}

.hianime-guidelines-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 11px;
    color: #e2e1e9;
    font-weight: 600;
    margin-left: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.hianime-guidelines-badge:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.hianime-guidelines-badge .badge-new {
    background: #fff;
    color: #12101e;
    font-size: 9px;
    font-weight: 800;
    border-radius: 8px;
    padding: 1px 5px;
    margin-left: 6px;
    line-height: 1.2;
}

.hianime-comments-box {
    background: #141320;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 24px;
}

.hianime-cb-top {
    display: flex;
    align-items: center;
    margin-bottom: 22px;
    padding-bottom: 14px;
}

.hianime-ep-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.hianime-ep-btn {
    background: none;
    border: none;
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    padding: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hianime-ep-btn:hover {
    color: #cae962;
}

.hianime-ep-divider {
    color: rgba(255, 255, 255, 0.2);
    margin: 0 14px;
    font-weight: 300;
}

.hianime-count-stat {
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hianime-cb-input {
    margin-bottom: 26px;
}

.hianime-input-user {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: #7b798e;
    margin-bottom: 8px;
}

.hianime-user-circle {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #2a2838;
    color: #7b798e;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    margin-right: 8px;
}

.hianime-user-guest {
    color: #cae962;
    font-weight: 700;
    margin-left: 4px;
}

.hianime-input-textarea {
    width: 100%;
    min-height: 82px;
    background: #0f0e18;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 12px 14px;
    color: #fff;
    font-size: 13.5px;
    resize: vertical;
    outline: none;
    transition: border-color 0.2s ease;
}

.hianime-input-textarea:focus {
    border-color: rgba(202, 233, 98, 0.4);
}

.hianime-input-textarea::placeholder {
    color: #5c5a70;
}

.hianime-input-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.hianime-spoil-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #a19fb5;
    font-size: 13px;
    cursor: pointer;
    user-select: none;
    margin: 0;
}

.hianime-spoil-label input[type="checkbox"] {
    accent-color: #cae962;
    cursor: pointer;
    width: 14px;
    height: 14px;
}

.hianime-post-btn {
    background: #cae962;
    color: #12101e;
    border: none;
    border-radius: 20px;
    padding: 5px 16px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.hianime-post-btn:hover {
    opacity: 0.9;
}

.hianime-comments-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.hianime-comment-item {
    display: flex;
    gap: 14px;
    position: relative;
}

.hianime-ci-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    flex-shrink: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    color: #fff;
}

.hianime-ci-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hianime-ci-content {
    flex: 1;
    min-width: 0;
}

.hianime-ci-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 4px;
}

.hianime-ci-name {
    font-weight: 700;
    color: #fff;
    font-size: 14px;
    line-height: 1.2;
}

.hianime-ci-badge {
    background: rgba(202, 233, 98, 0.12);
    border: 1px solid rgba(202, 233, 98, 0.35);
    color: #cae962;
    font-size: 11px;
    font-weight: 600;
    padding: 1px 8px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    line-height: 1.4;
}

.hianime-ci-time {
    color: #6c6a82;
    font-size: 12px;
    font-weight: 400;
}

.hianime-ci-body {
    color: #d1d0db;
    font-size: 13.5px;
    line-height: 1.55;
    margin-bottom: 8px;
    word-break: break-word;
}

.hianime-ci-body.is-spoil {
    filter: blur(4px);
    cursor: pointer;
    user-select: none;
    transition: filter 0.2s ease;
}

.hianime-ci-body.is-spoil.revealed {
    filter: none;
}

.hianime-ci-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hianime-action-btn {
    background: none;
    border: none;
    color: #7b798e;
    font-size: 12px;
    font-weight: 600;
    padding: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.15s ease;
}

.hianime-action-btn:hover {
    color: #cae962;
}

.hianime-action-btn.active {
    color: #cae962;
}


/* HiAnime More Dropdown */
.hianime-more-wrap {
    position: relative;
    display: inline-block;
}

.hianime-action-btn.hianime-more-btn.active {
    border: 1px solid #fff !important;
    border-radius: 12px !important;
    padding: 2px 8px !important;
    color: #fff !important;
    background: rgba(255, 255, 255, 0.08) !important;
}

.hianime-more-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    background: #0b0a12;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
    padding: 6px 0;
    min-width: 140px;
    z-index: 50;
    animation: fadeInMenu 0.15s ease-out;
}

@keyframes fadeInMenu {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hianime-more-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 8px 14px;
    background: none;
    border: none;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    transition: all 0.15s ease;
}

.hianime-more-item i {
    font-size: 13px;
    width: 14px;
    text-align: center;
    color: #fff;
    transition: color 0.15s ease;
}

.hianime-more-item:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #cae962;
}

.hianime-more-item:hover i {
    color: #cae962;
}

.hianime-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #141320;
    color: #fff;
    border: 1px solid #cae962;
    padding: 10px 18px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
    z-index: 99999;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: fadeInMenu 0.2s ease-out;
}


/* ==========================================================================
   ANIME CARD HOVER TOOLTIP & POSTER BLUR (HIANIME STYLE WITH ZORO THEME)
   ========================================================================== */

.flw-item {
    position: relative;
}

.flw-item .film-poster {
    overflow: hidden;
    position: relative;
    border-radius: 8px !important;
}

.flw-item .film-poster img {
    transition: filter 0.25s ease, transform 0.25s ease !important;
}

.flw-item:hover .film-poster img {
    filter: blur(6px) brightness(0.85) !important;
    transform: scale(1.06) !important;
}

.flw-item .film-poster .film-poster-ahref .play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 34px !important;
    color: #fff !important;
    opacity: 0;
    transition: opacity 0.25s ease;
    z-index: 3;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.6));
}

.flw-item:hover .film-poster .film-poster-ahref .play-icon {
    opacity: 1 !important;
}

/* Tooltip Popover */
.film-hover-tooltip {
    position: absolute;
    top: 0;
    width: 300px;
    background: rgba(20, 18, 32, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 16px 18px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7);
    z-index: 9999;
    pointer-events: auto;
    animation: tooltipFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.film-hover-tooltip.tooltip-right {
    left: calc(100% + 14px);
    right: auto;
}

.film-hover-tooltip.tooltip-left {
    right: calc(100% + 14px);
    left: auto;
}

@keyframes tooltipFadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fht-title {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 10px 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fht-stats {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
    font-size: 11.5px;
}

.fht-score {
    color: #fff;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-right: 4px;
}

.fht-score i {
    color: #ffb526;
    font-size: 12px;
}

.fht-badge {
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 11px;
    line-height: 1.3;
}

.fht-badge-quality {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.fht-badge-sub {
    background: rgba(202, 233, 98, 0.15);
    color: #cae962;
    border: 1px solid rgba(202, 233, 98, 0.3);
}

.fht-badge-cc {
    background: #2b4532;
    color: #8bf09a;
}

.fht-badge-type {
    background: rgba(255, 255, 255, 0.08);
    color: #e2e1e9;
    margin-left: auto;
}

.fht-description {
    font-size: 12px;
    line-height: 1.5;
    color: #b3b2c2;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fht-meta {
    font-size: 11.5px;
    line-height: 1.6;
    color: #807e94;
    margin-bottom: 16px;
}

.fht-meta-row {
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fht-meta-row strong {
    color: #d1d0df;
    font-weight: 600;
    margin-left: 5px;
}

.fht-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.fht-btn-watch {
    flex: 1;
    background: #cae962;
    color: #111 !important;
    font-weight: 700;
    font-size: 13px;
    border-radius: 24px;
    padding: 8px 16px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none !important;
    border: none;
    transition: opacity 0.2s ease, transform 0.15s ease;
}

.fht-btn-watch:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}

.fht-btn-watch i {
    font-size: 11px;
}

.fht-btn-plus {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    color: #111;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color 0.2s ease, transform 0.15s ease;
}

.fht-btn-plus:hover {
    background: #eee;
    transform: translateY(-1px);
}


/* ==========================================================================
   SEASONS SIDEBAR WIDGET STYLES (CONSISTENT WITH GENRES & ZORO THEME)
   ========================================================================== */

.block_area-seasons {
    margin-bottom: 2rem;
    position: relative;
}

.block_area-seasons .block_area-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.block_area-seasons .bah-heading {
    margin-right: 0 !important;
}

.seasons-tabs-track {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 3px;
    gap: 2px;
}

.seasons-tab-btn {
    background: none;
    border: none;
    color: #a8a7b8;
    font-size: 11.5px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1.2;
}

.seasons-tab-btn:hover {
    color: #fff;
}

.seasons-tab-btn.active {
    background: #cae962;
    color: #111;
    font-weight: 700;
}

.cbox.cbox-seasons {
    background: rgba(255, 255, 255, 0.1) !important;
    border-radius: 0.4rem !important;
    border: none !important;
    padding: 15px !important;
}

.seasons-years-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px 10px;
    text-align: center;
    margin-bottom: 12px;
}

.season-year-link {
    font-size: 14.5px;
    font-weight: 700;
    text-decoration: none !important;
    display: block;
    padding: 6px 0;
    border-radius: 4px;
    transition: transform 0.15s ease, background-color 0.15s ease, filter 0.15s ease;
}

.season-year-link:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: scale(1.08);
    filter: brightness(1.2);
}
